:root{--bg:#f6f7f9;--card:#fff;--text:#1d2733;--muted:#697386;--border:#d9dee7;--link:#1557a8;--accent:#17324d;--used:#eaf7ea;--flag:#eef4ff}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px}.topbar{height:58px;background:var(--accent);color:#fff;display:flex;align-items:center;gap:28px;padding:0 24px;position:sticky;top:0;z-index:10}.brand a{color:#fff;text-decoration:none;font-weight:700;font-size:18px}.topbar nav{display:flex;gap:8px}.topbar nav a{color:#dce7f7;text-decoration:none;padding:9px 12px;border-radius:8px}.topbar nav a.active,.topbar nav a:hover{background:rgba(255,255,255,.13);color:#fff}.container{max-width:1500px;margin:0 auto;padding:22px}h1{margin:0 0 16px;font-size:26px}h2{font-size:19px;margin:0 0 6px}a{color:var(--link)}.filters,.toolbar{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:12px;margin-bottom:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.filters label{display:flex;align-items:center;gap:6px}.filters input,.filters select{height:34px;border:1px solid var(--border);border-radius:8px;padding:0 8px;background:#fff}.filters input[type=text]{min-width:220px}.filters input.small{width:78px}.filters label.check{gap:5px}.button,button{border:0;border-radius:9px;background:#1e5b9e;color:#fff;text-decoration:none;padding:9px 13px;display:inline-flex;align-items:center;cursor:pointer}.button.secondary{background:#e9edf4;color:#24364a}.button.disabled{background:#d8dde7;color:#6c7788;cursor:not-allowed}.toolbar{justify-content:space-between}.data-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:18px}.data-table th,.data-table td{border-bottom:1px solid var(--border);padding:8px 9px;vertical-align:top}.data-table th{background:#f0f3f8;text-align:left;font-size:12px;text-transform:uppercase;color:#566273;letter-spacing:.02em}.data-table tr:last-child td{border-bottom:0}.data-table tr:hover td{background:#fafcff}.used-row td{background:var(--used)!important}.checkbox-col{width:38px}.headline{min-width:300px;max-width:520px}.cluster-name{max-width:280px}.terms{max-width:300px}.nowrap{white-space:nowrap}.num{text-align:right}.muted{color:var(--muted)}.empty{text-align:center;color:var(--muted);padding:28px!important}.pill{display:inline-block;border:1px solid #d8e3f5;background:#f7faff;border-radius:999px;padding:2px 7px;margin:1px 2px;text-decoration:none;color:#2a5b95;font-size:12px}.cluster-card,.cluster-detail,.singleton-topics,.article-view{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:16px}.cluster-card-header{display:flex;justify-content:space-between;gap:10px}.meta{color:var(--muted);font-size:13px}.summary{font-size:15px;line-height:1.45;margin:10px 0}.editor-note{background:#fff7df;border:1px solid #f1dda5;padding:10px;border-radius:10px}.flags,.chips{display:flex;gap:6px;flex-wrap:wrap}.flag{display:inline-block;background:var(--flag);border:1px solid #cbdaf4;border-radius:999px;padding:4px 9px;font-size:12px;color:#24508b}.topic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.topic-card{display:flex;flex-direction:column;gap:5px;text-decoration:none;background:#fafcff;border:1px solid var(--border);border-radius:12px;padding:12px}.topic-card:hover{border-color:#9bb8dc;background:#f3f8ff}.pagination{display:flex;align-items:center;gap:10px;justify-content:center;margin:20px 0}.article-body{white-space:pre-wrap;background:#fbfcff;border:1px solid var(--border);border-radius:12px;padding:14px;font-family:inherit;line-height:1.5}.article-preview{max-width:520px;color:#4b5565}.sources-list li{margin-bottom:8px}@media(max-width:900px){.container{padding:12px}.topbar{height:auto;align-items:flex-start;flex-direction:column;padding:12px}.topbar nav{flex-wrap:wrap}.data-table{font-size:12px}.headline{min-width:220px}.filters input[type=text]{min-width:150px}}
.flash{border-radius:12px;padding:12px 14px;margin:0 0 14px;border:1px solid var(--border);background:#f7faff}.flash.success{background:#e9f8ee;border-color:#bde5c8;color:#145d2a}.flash.error{background:#fff0f0;border-color:#f0c4c4;color:#8b1e1e}.action-panel{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:12px;margin-bottom:14px}.action-main{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.action-panel select,.action-panel input,.action-panel textarea{border:1px solid var(--border);border-radius:8px;padding:8px;background:#fff}.action-panel select{min-height:36px}.action-panel input[type=text]{min-width:280px}.action-panel textarea{width:100%;min-width:460px;font-family:inherit}.action-extra{margin-top:10px}.action-extra.hidden,.hidden{display:none!important}.small-note{font-size:12px;margin:8px 0 0}.action-panel label.wide{display:block;width:100%}button:disabled,.button:disabled{opacity:.55;cursor:not-allowed}

.hidden-row td{background:#fff3df!important}.hidden-row:hover td{background:#ffedcf!important}.used-row.hidden-row td{background:linear-gradient(90deg,var(--used),#fff3df)!important}.status-badge{display:inline-block;border-radius:999px;padding:2px 7px;font-size:12px;border:1px solid transparent;white-space:nowrap}.used-badge{background:#dff2df;border-color:#b9dfb9;color:#246b2a}.hidden-badge{background:#ffe6bf;border-color:#f0bd70;color:#8a5200}
.content-cell{min-width:88px}.content-ok{background:#e8f4ff;border-color:#b7d8f5;color:#1f5f93}.content-suspicious{background:#fff4d8;border-color:#e8c66a;color:#7a5200}.content-failed{background:#fff0f0;border-color:#f0c4c4;color:#8b1e1e}.content-pending{background:#f1f3f7;border-color:#d5dae4;color:#4f5d70}
.content-link{text-decoration:none}.content-link:hover{text-decoration:underline}.source-content-view{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:18px;margin-bottom:18px}.source-content-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:12px}.source-content-header h1{margin:0 0 6px;font-size:24px}.source-content-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;background:#f7f9fc;border:1px solid var(--border);border-radius:12px;padding:10px;margin:12px 0}.source-text{white-space:pre-wrap;background:#fbfcff;border:1px solid var(--border);border-radius:12px;padding:16px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.55;font-size:15px;max-height:70vh;overflow:auto}.content-long{background:#fff7df;border-color:#e8cf7f;color:#755300}

/* v3.1.4 UI polish */
html{scroll-behavior:smooth}.action-panel{position:sticky;top:68px;z-index:9;box-shadow:0 8px 22px rgba(21,39,59,.08)}.action-panel:focus-within{border-color:#9bb8dc}.flags{align-items:flex-start;justify-content:flex-end}.flag{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:999px;padding:4px 10px;font-size:12px;line-height:1.2;white-space:nowrap;font-weight:600}.flag-deep{background:#fff2d8;border-color:#e7bd68;color:#7a4f00}.flag-revision{background:#f3eaff;border-color:#d0b8f4;color:#5c2d91}.flag-summary{background:#eaf7ff;border-color:#b9ddf4;color:#1e5b83}.story-index{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:16px}.story-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.story-card{display:flex;flex-direction:column;gap:5px;text-decoration:none;background:#fafcff;border:1px solid var(--border);border-radius:12px;padding:12px;color:var(--text)}.story-card:hover{border-color:#9bb8dc;background:#f3f8ff}.story-card strong{color:#1557a8}.story-card span{font-size:12px;color:#566273}.story-card small{color:#697386;line-height:1.35}.cluster-card{scroll-margin-top:132px}.profile-layout{display:grid;grid-template-columns:minmax(320px,45%) 1fr;gap:16px;align-items:start}.profile-list,.profile-form-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:14px}.compact-table th,.compact-table td{font-size:13px;padding:7px}.profile-form{display:flex;flex-direction:column;gap:10px}.profile-form label{display:flex;flex-direction:column;gap:5px}.profile-form input,.profile-form textarea{border:1px solid var(--border);border-radius:8px;padding:8px;font:inherit;background:#fff}.profile-form textarea{min-height:70px}.profile-form label.check{display:flex;flex-direction:row;align-items:center}.profile-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-test-result{margin-top:14px}.soft-hr{border:0;border-top:1px solid var(--border);margin:18px 0}.topbar nav a[href="source-profiles.php"]{white-space:nowrap}@media(max-width:1000px){.profile-layout{grid-template-columns:1fr}.action-panel{top:92px}}


/* STRYMO v3.1.5 UI hotfix: reliable sticky action panel and compact story jump list */
html{scroll-behavior:smooth}body{overflow-x:hidden}.container{overflow:visible}.topbar{z-index:1000}.action-panel{position:-webkit-sticky!important;position:sticky!important;top:66px!important;z-index:950!important;background:#fff;box-shadow:0 10px 28px rgba(21,39,59,.14);border-color:#c8d4e2}.action-panel .action-main{gap:12px}.action-panel select{max-width:360px}.story-index-compact{position:relative}.story-index-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}.story-index-head h2{margin-bottom:3px}.story-index-count{white-space:nowrap;padding-top:3px}.story-jump-list{list-style:none;margin:0;padding:0;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}.story-card-item{margin:0;padding:0;min-width:0}.story-jump-card{display:flex!important;flex-direction:column;gap:4px;min-height:74px;text-decoration:none;background:#fbfdff;border:1px solid var(--border);border-radius:12px;padding:10px 11px;color:var(--text);box-shadow:0 1px 0 rgba(21,39,59,.03)}.story-jump-card:hover{border-color:#8eb0d7;background:#f2f7ff;transform:translateY(-1px)}.story-jump-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#1557a8;font-size:13px;line-height:1.25}.story-jump-card span{font-size:12px;color:#566273;line-height:1.2}.cluster-card{scroll-margin-top:138px}@media(max-width:900px){.action-panel{top:84px!important}.story-jump-list{grid-template-columns:1fr}.story-index-head{flex-direction:column}.action-panel input[type=text],.action-panel textarea{min-width:100%;width:100%}}

/* STRYMO v3.2.0 Sources Admin */
.source-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.source-type-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:600;border:1px solid var(--border);background:#f8fafc}.source-type-rss{background:#eaf7ff;border-color:#b9ddf4;color:#1e5b83}.source-type-telegram{background:#f3eaff;border-color:#d0b8f4;color:#5c2d91}.source-type-web,.source-type-manual,.source-type-api{background:#f7f7ef;border-color:#e2dca5;color:#6b5b00}.source-status-on{background:#e9f8ee;border-color:#bde5c8;color:#145d2a}.source-status-off{background:#fff0f0;border-color:#f0c4c4;color:#8b1e1e}.source-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:16px}.source-stat{background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px}.source-stat strong{display:block;font-size:22px}.source-stat span{color:var(--muted);font-size:12px}.source-layout{display:grid;grid-template-columns:minmax(360px,42%) 1fr;gap:16px;align-items:start}.source-card,.source-side-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:16px}.source-form{display:flex;flex-direction:column;gap:11px}.source-form label{display:flex;flex-direction:column;gap:5px}.source-form label.check{flex-direction:row;align-items:center}.source-form input,.source-form select,.source-form textarea{border:1px solid var(--border);border-radius:8px;padding:8px;font:inherit;background:#fff}.source-form textarea{min-height:72px}.source-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.source-three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.button-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.source-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.source-tab{border:1px solid var(--border);background:#f7faff;border-radius:999px;padding:5px 10px;color:#28415f;text-decoration:none}.source-tab.active{background:#1e5b9e;color:#fff;border-color:#1e5b9e}.warning-box{border:1px solid #e6c66d;background:#fff8df;border-radius:12px;padding:10px;margin:10px 0}.profile-test-result .source-text,.source-text{max-height:420px;overflow:auto}.source-recent-title{max-width:520px}.source-profile-link{white-space:nowrap}.source-muted-note{font-size:12px;color:var(--muted);line-height:1.4}@media(max-width:1050px){.source-layout{grid-template-columns:1fr}.source-two-cols,.source-three-cols{grid-template-columns:1fr}}

/* STRYMO v3.2.1 Story/Headline editorial actions */
.action-extra strong{color:#24364a}.cluster-id-hint{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#f3f6fa;border:1px solid var(--border);border-radius:6px;padding:1px 5px}.action-panel input[type=number]{min-width:180px}.story-jump-card span{font-variant-numeric:tabular-nums}.cluster-card .meta{font-variant-numeric:tabular-nums}


/* STRYMO v3.2.1.2 editor action hotfix */
.action-panel .wide input[list]{min-width:420px;max-width:720px;width:100%}.action-panel input[name=target_cluster_query]{font-size:14px}.action-extra .small-note{max-width:980px}

/* v3.2.1.3 — target story picker */
.cluster-picker{margin:8px 0 4px;padding:10px;border:1px solid #d9e2ef;border-radius:12px;background:#f8fbff;max-width:980px}
.cluster-picker[hidden]{display:none!important}.cluster-picker-status{font-size:13px;margin-bottom:8px}.cluster-picker-results{display:grid;gap:8px}
.cluster-picker-item{display:block;text-align:left;width:100%;padding:10px 12px;border:1px solid #d8e1ef;border-radius:10px;background:#fff;cursor:pointer;color:#162033}
.cluster-picker-item:hover{border-color:#2f6fed;background:#f3f7ff}.cluster-picker-item strong{display:block;font-size:14px;margin-bottom:4px}.cluster-picker-item span{display:block;color:#667085;font-size:12px}.cluster-picker-item small{display:block;color:#475467;font-size:12px;margin-top:5px;line-height:1.35}.selected-target-cluster{margin:6px 0 0;font-size:13px}.current-story-options{margin:8px 0;max-width:980px}.current-story-options summary{cursor:pointer;color:#2f6fed}.current-story-options-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px;margin-top:8px}.mini-cluster-option{text-align:left;border:1px solid #e1e7f0;border-radius:9px;background:#fff;padding:7px 9px;cursor:pointer;font-size:12px}.mini-cluster-option:hover{background:#f3f7ff;border-color:#2f6fed}.mini-cluster-option span{color:#667085}


/* v3.2.1.5 — scrollable target story picker */
.cluster-picker{
  max-height:min(520px,58vh);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.cluster-picker-status{
  flex:0 0 auto;
}
.cluster-picker-results{
  max-height:min(430px,46vh);
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding-right:4px;
  scrollbar-gutter:stable;
}
.cluster-picker-results::-webkit-scrollbar{width:10px}
.cluster-picker-results::-webkit-scrollbar-track{background:#eef3f8;border-radius:999px}
.cluster-picker-results::-webkit-scrollbar-thumb{background:#aab8cc;border-radius:999px;border:2px solid #eef3f8}
.cluster-picker-results::-webkit-scrollbar-thumb:hover{background:#8395ad}
.cluster-picker-item{
  flex:0 0 auto;
}
@media(max-height:720px){
  .cluster-picker{max-height:50vh}
  .cluster-picker-results{max-height:38vh}
}

/* v3.2.1.6 — story map and cleaner target-story picker */
.current-story-options{display:none!important}
.story-map{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.story-map .story-index-head h2{font-size:20px}
.story-map-list{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;align-items:stretch}
.story-map-list .story-card-item{grid-column:span 3;min-width:0}
.story-map-list .story-size-xl{grid-column:span 12}
.story-map-list .story-size-lg{grid-column:span 6}
.story-map-list .story-size-md{grid-column:span 4}
.story-map-list .story-size-sm{grid-column:span 3}
.story-map-list .story-size-xs{grid-column:span 3}
.story-map-list .story-jump-card{height:100%;min-height:88px;justify-content:space-between;border-color:#d6e0ec;background:#fff;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease}
.story-map-list .story-jump-card:hover{box-shadow:0 8px 20px rgba(21,39,59,.10)}
.story-map-list .story-jump-card strong{display:block!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;overflow:visible!important;white-space:normal!important;color:#1557a8;font-size:14px;line-height:1.28}
.story-map-list .story-size-xl .story-jump-card strong{font-size:18px;line-height:1.25}
.story-map-list .story-size-lg .story-jump-card strong{font-size:16px}
.story-map-list .story-size-xl .story-jump-card{min-height:106px;border-left:6px solid #1e5b9e;background:#f7fbff}
.story-map-list .story-size-lg .story-jump-card{min-height:102px;border-left:5px solid #4f80bd;background:#fbfdff}
.story-map-list .story-size-md .story-jump-card{border-left:4px solid #8aa7c8}
.story-map-list .story-size-sm .story-jump-card,.story-map-list .story-size-xs .story-jump-card{min-height:82px}
.story-map-legend{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:12px}.story-map-legend span{border:1px solid var(--border);border-radius:999px;padding:4px 8px;background:#fff}.legend-xl{border-left:6px solid #1e5b9e!important}.legend-lg{border-left:5px solid #4f80bd!important}.legend-md{border-left:4px solid #8aa7c8!important}
@media(max-width:1100px){.story-map-list .story-size-xl,.story-map-list .story-size-lg{grid-column:span 12}.story-map-list .story-size-md,.story-map-list .story-size-sm,.story-map-list .story-size-xs{grid-column:span 6}}
@media(max-width:700px){.story-map-list{grid-template-columns:1fr}.story-map-list .story-card-item{grid-column:span 1!important}}

/* STRYMO v3.2.2 Story Merge / Lock UI */
.story-card-item{position:relative}.story-select{position:absolute;top:8px;right:8px;z-index:3;display:inline-flex;gap:4px;align-items:center;font-size:11px;color:#46566a;background:rgba(255,255,255,.92);border:1px solid #d7e1ef;border-radius:999px;padding:3px 7px;box-shadow:0 1px 4px rgba(21,39,59,.08)}
.story-select input{margin:0}.story-card-item:has(input[data-cluster-checkbox]:checked) .story-jump-card{border-color:#2f6fed;box-shadow:0 0 0 2px rgba(47,111,237,.14),0 8px 20px rgba(21,39,59,.10)}
.cluster-title-block{min-width:0}.cluster-select{display:inline-flex;gap:6px;align-items:center;font-size:12px;color:#46566a;background:#f7fbff;border:1px solid #d7e1ef;border-radius:999px;padding:4px 9px;margin-bottom:6px}.cluster-select input{margin:0}.cluster-card:has(input[data-cluster-checkbox]:checked){border-color:#2f6fed;box-shadow:0 0 0 2px rgba(47,111,237,.10)}
.action-extra[data-action-extra="merge_clusters"] .cluster-picker,.action-extra[data-action-extra="move_to_cluster"] .cluster-picker{max-width:980px}.action-extra[data-action-extra="merge_clusters"] input[name="merged_cluster_name"]{min-width:460px}.action-extra[data-action-extra="mark_duplicate_clusters"] textarea{min-height:78px}.status-locked{background:#f3eaff;border-color:#d0b8f4;color:#5c2d91}.status-archived{background:#f1f3f5;border-color:#d5dbe3;color:#46566a}
@media(max-width:700px){.story-select{position:static;margin-bottom:6px}.action-extra[data-action-extra="merge_clusters"] input[name="merged_cluster_name"]{min-width:100%;width:100%}}

/* v3.2.2.2 — archived stories visible after singleton block */
.archived-stories{background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;margin:18px 0 26px;border-left:5px solid #9aa4b2}
.archived-stories h2{margin-bottom:4px}.archived-story-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px;margin-top:12px}.archived-story-card{display:flex;gap:10px;align-items:flex-start;background:#f7f8fa;border:1px solid #d9dee7;border-radius:12px;padding:10px}.archived-story-card .cluster-select{flex:0 0 auto;margin:0}.archived-story-body{min-width:0}.archived-story-body h3{margin:0 0 4px;font-size:15px;line-height:1.25}.archived-story-body h3 a{color:#3d4b5c}.archived-story-body .compact-summary{font-size:13px;margin:6px 0 0;color:#566273;line-height:1.35}.cluster-detail .cluster-card-header{margin-bottom:8px}

/* STRYMO v3.2.3 — Source Content Editorial Control */
.content-verified{background:#e8f7ee;border-color:#bfe8cf;color:#17663a}.content-unsuitable{background:#fff1f0;border-color:#ffc9c2;color:#a23a31}.source-content-status-stack{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.content-editor-actions,.content-manual-edit,.source-text-preview{margin-top:18px;border:1px solid var(--border);border-radius:14px;background:#fff;padding:14px}.content-editor-actions h2,.content-manual-edit h2,.source-text-preview h2{margin:0 0 12px}.content-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.content-action-card{border:1px solid #dbe4ef;border-radius:12px;background:#f9fbfd;padding:12px;display:flex;flex-direction:column;gap:8px}.content-action-card h3{font-size:15px;margin:0}.content-action-card p{margin:0}.content-action-card label,.content-manual-edit label{display:flex;flex-direction:column;gap:5px;font-size:13px}.content-action-card input[type=text],.content-manual-edit input[type=text]{width:100%;box-sizing:border-box}.button.danger{background:#b42318;border-color:#b42318;color:#fff}.button.danger:hover{background:#912018;border-color:#912018}.manual-textarea{width:100%;box-sizing:border-box;margin-top:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.5;border:1px solid var(--border);border-radius:12px;padding:12px;background:#fbfdff}.checkbox-line{flex-direction:row!important;align-items:center!important;gap:8px!important;margin-top:8px}.manual-edit-footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px}.source-text-preview .source-text{max-height:700px}.small-note{font-size:12px;color:#667085}.flash{border-radius:10px;padding:10px 12px;margin:10px 0 14px;border:1px solid var(--border)}.flash.success{background:#ecfdf3;border-color:#abefc6;color:#067647}.flash.error{background:#fef3f2;border-color:#fecdca;color:#b42318}.flash.info{background:#eef4ff;border-color:#c7d7fe;color:#3538cd}
@media(max-width:700px){.source-content-status-stack{align-items:flex-start}.content-action-grid{grid-template-columns:1fr}.manual-edit-footer{align-items:flex-start;flex-direction:column}}

/* STRYMO v3.3.1 — Editorial Materials Basket + Manual Prompt */
.editorial-actions-panel{margin:12px 0 16px;border:1px solid #cfe0f5;border-radius:14px;background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);padding:14px;border-left:5px solid #2f6fed}
.editorial-actions-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.editorial-actions-head h3{margin:0 0 4px;font-size:17px}.editorial-actions-head p{margin:0}.editorial-actions-grid{display:flex;flex-wrap:wrap;gap:8px}.editorial-basket-shortcuts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.content-basket-action{margin-top:14px}.inline-form{display:inline-flex;gap:8px;flex-wrap:wrap;align-items:center}.toolbar-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.material-workspace-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;margin:14px 0}.material-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.material-card-head h2{margin:0 0 4px}.basket-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.basket-stats span{background:#f5f8fc;border:1px solid #dce6f2;border-radius:999px;padding:5px 9px;font-size:13px}.basket-row-excluded{background:#fff7f6}.basket-row-excluded .headline{opacity:.78}.material-options-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:10px}.material-options-form label,.material-draft-form label,.article-edit-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;margin:9px 0}.material-options-form textarea,.material-draft-form textarea,.article-edit-form textarea,.article-edit-form input[type=text],.material-draft-form input[type=text],.material-options-form select,.article-edit-form select{width:100%;box-sizing:border-box}.soft-divider{border:0;border-top:1px solid var(--border);margin:18px 0}.article-edit-form .manual-textarea,.material-draft-form .manual-textarea{min-height:180px}.basket-table .meta{font-size:12px;color:#667085;margin-top:4px}.article-preview{max-width:520px;white-space:normal;color:#475467;font-size:13px}.button.disabled{opacity:.45;pointer-events:none}.button.danger{background:#b42318;border-color:#b42318;color:#fff}.button.danger:hover{background:#912018;border-color:#912018}.used-badge[href]{text-decoration:none}.material-workspace-card details summary{cursor:pointer;font-weight:600;margin-bottom:8px}
@media(max-width:800px){.editorial-actions-head,.material-card-head{flex-direction:column}.editorial-basket-shortcuts,.toolbar-actions{width:100%}.editorial-actions-grid .button,.editorial-basket-shortcuts .button{width:100%;text-align:center}.material-options-grid{grid-template-columns:1fr}}

/* STRYMO v3.3.1.1 — editorial workflow hotfix */
.editorial-actions-panel{
  position:-webkit-sticky!important;
  position:sticky!important;
  top:var(--editorial-actions-sticky-top,158px)!important;
  z-index:940!important;
  box-shadow:0 10px 24px rgba(21,39,59,.10);
}
.editorial-route-note{display:inline-flex;align-items:center;padding:7px 9px;border:1px dashed #c7d7fe;border-radius:9px;background:#f8fbff;margin:0!important}
.basket-action-toolbar .toolbar-actions label{display:inline-flex;align-items:center;gap:6px}.basket-action-select{min-height:36px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:0 8px;min-width:260px}.basket-row-actions{min-width:190px}.basket-row-actions .inline-form{margin-top:6px}.compact-button{font-size:12px;padding:6px 9px;border-radius:8px}.basket-row-refetch-form{display:flex;gap:6px}.basket-table th:last-child,.basket-table td:last-child{width:210px}
@media(max-width:900px){.editorial-actions-panel{top:var(--editorial-actions-sticky-top,190px)!important}.basket-action-toolbar{align-items:flex-start}.basket-action-toolbar .toolbar-actions{flex-direction:column;align-items:stretch}.basket-action-select{width:100%;min-width:0}.basket-row-actions{min-width:0}.basket-table th:last-child,.basket-table td:last-child{width:auto}}

/* v3.4.1 Telegram ingestion UI */
.source-origin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  border: 1px solid rgba(0,0,0,.08);
}
.source-origin-badge.origin-telegram {
  background: #e8f3ff;
  color: #155b9f;
}
.source-origin-badge.origin-www {
  background: #f2f4f7;
  color: #344054;
}
.origin-cell { white-space: nowrap; text-align: center; }
.telegram-settings-box {
  border: 1px solid #d7e7f7;
  background: #f6fbff;
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
}
.telegram-settings-box h3 { margin: 0 0 10px; }
.source-type-badge.source-type-telegram { background: #e8f3ff; color: #155b9f; }


/* STRYMO v3.4.1.1 — Source Pipeline Gates */
.pipeline-settings-box {
  border: 1px solid #d7e7f7;
  background: #fbfdff;
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
}
.pipeline-settings-box h3 { margin: 0 0 10px; }
.pipeline-checkbox-grid label.check { align-items: flex-start; }
.pipeline-cell { min-width: 190px; }
.pipeline-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 7px;
  margin: 1px 2px 1px 0;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,.08);
}
.pipeline-badge.pipeline-on { background: #ecfdf3; color: #067647; }
.pipeline-badge.pipeline-off { background: #fff1f3; color: #b42318; }
@media(max-width:900px){.pipeline-cell{min-width:0}}


/* STRYMO v3.4.1.2 — compact main feed table after WWW/TG origin column */
.feed-table-main {
  table-layout: fixed;
  max-width: 100%;
  font-size: 13px;
}
.feed-table-main th,
.feed-table-main td {
  padding: 7px 6px;
}
.feed-table-main .checkbox-col,
.feed-table-main th:first-child,
.feed-table-main td:first-child {
  width: 34px;
}
.feed-table-main th:nth-child(2),
.feed-table-main td:nth-child(2) {
  width: 76px;
}
.feed-table-main th:nth-child(3),
.feed-table-main td:nth-child(3) {
  width: auto;
}
.feed-table-main th:nth-child(4),
.feed-table-main td:nth-child(4) {
  width: 50px;
}
.feed-table-main th:nth-child(5),
.feed-table-main td:nth-child(5) {
  width: 112px;
}
.feed-table-main th:nth-child(6),
.feed-table-main td:nth-child(6) {
  width: 185px;
}
.feed-table-main th:nth-child(7),
.feed-table-main td:nth-child(7) {
  width: 52px;
}
.feed-table-main th:nth-child(8),
.feed-table-main td:nth-child(8) {
  width: 105px;
}
.feed-table-main th:nth-child(9),
.feed-table-main td:nth-child(9),
.feed-table-main th:nth-child(10),
.feed-table-main td:nth-child(10) {
  width: 145px;
}
.feed-table-main th:nth-child(11),
.feed-table-main td:nth-child(11) {
  width: 90px;
}
.feed-table-main th:nth-child(12),
.feed-table-main td:nth-child(12) {
  width: 84px;
}
.feed-table-main .headline,
.feed-table-main .cluster-name,
.feed-table-main .terms,
.feed-table-main td:nth-child(5) {
  min-width: 0;
  max-width: none;
  overflow-wrap: anywhere;
}
.feed-table-main .source-origin-badge {
  min-width: 30px;
  padding: 2px 5px;
  font-size: 10px;
}
.feed-table-main .terms .pill {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.feed-table-main .status-badge {
  padding-left: 5px;
  padding-right: 5px;
}
@media (max-width: 1100px) {
  .feed-table-main {
    font-size: 12px;
  }
  .feed-table-main th,
  .feed-table-main td {
    padding: 6px 5px;
  }
  .feed-table-main th:nth-child(6),
  .feed-table-main td:nth-child(6) {
    width: 155px;
  }
  .feed-table-main th:nth-child(9),
  .feed-table-main td:nth-child(9),
  .feed-table-main th:nth-child(10),
  .feed-table-main td:nth-child(10) {
    width: 120px;
  }
}

/* STRYMO v3.4.1.3 — compact time/date and used column */
.feed-table-main th:nth-child(2),
.feed-table-main td:nth-child(2) { width: 76px; }
.feed-table-main th:nth-child(12),
.feed-table-main td:nth-child(12) { width: 84px; }
.feed-table-main th:nth-child(12) { font-size: 10.5px; letter-spacing: 0; white-space: normal; line-height: 1.15; }
.feed-table-main .status-badge { padding: 2px 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.feed-table-main .used-cell { overflow-wrap: anywhere; }
.feed-date-cell { white-space: normal; text-align: center; font-variant-numeric: tabular-nums; line-height: 1.15; }
.feed-date-cell .feed-time { display: block; font-weight: 700; color: #1d2733; }
.feed-date-cell .feed-date { display: block; margin-top: 3px; font-size: 11px; color: #667085; }


/* STRYMO v3.4.1.4 — polish main feed table after origin column */
.feed-table-main {
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
}
.feed-table-main th {
  font-size: 12px;
  letter-spacing: .02em;
  line-height: 1.15;
  white-space: normal;
}
.feed-table-main th:nth-child(1),
.feed-table-main td:nth-child(1) { width: 32px; }
.feed-table-main th:nth-child(2),
.feed-table-main td:nth-child(2) { width: 72px; }
.feed-table-main th:nth-child(3),
.feed-table-main td:nth-child(3) { width: auto; }
.feed-table-main th:nth-child(4),
.feed-table-main td:nth-child(4) { width: 42px; text-align: center; }
.feed-table-main th:nth-child(5),
.feed-table-main td:nth-child(5) { width: 104px; }
.feed-table-main th:nth-child(6),
.feed-table-main td:nth-child(6) { width: 160px; }
.feed-table-main th:nth-child(7),
.feed-table-main td:nth-child(7) { width: 44px; text-align: center; }
.feed-table-main th:nth-child(8),
.feed-table-main td:nth-child(8) { width: 90px; }
.feed-table-main th:nth-child(9),
.feed-table-main td:nth-child(9),
.feed-table-main th:nth-child(10),
.feed-table-main td:nth-child(10) { width: 118px; }
.feed-table-main th:nth-child(11),
.feed-table-main td:nth-child(11) { width: 72px; text-align: center; }
.feed-table-main th:nth-child(12),
.feed-table-main td:nth-child(12) { width: 66px; text-align: center; }
.feed-table-main th.used-head {
  font-size: 12px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.feed-table-main .used-cell {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
.feed-table-main .used-cell .muted {
  display: inline-block;
  width: 100%;
  text-align: center;
}
.feed-table-main .used-cell .status-badge {
  display: inline-block;
  max-width: 58px;
  padding: 2px 4px;
  font-size: 11px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-table-main .headline,
.feed-table-main .cluster-name,
.feed-table-main .source-cell,
.feed-table-main .topic-cell,
.feed-table-main .terms {
  min-width: 0;
  overflow-wrap: anywhere;
}
.feed-table-main .source-origin-badge {
  min-width: 28px;
  padding: 2px 4px;
  font-size: 10px;
}
.feed-date-cell {
  white-space: normal;
  text-align: center;
  font-variant-numeric: tabular-nums;
  line-height: 1.12;
}
.feed-date-cell .feed-time {
  display: block;
  font-weight: 700;
  color: #1d2733;
}
.feed-date-cell .feed-date {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: #667085;
}
@media (max-width: 1250px) {
  .feed-table-main { font-size: 12px; }
  .feed-table-main th,
  .feed-table-main td { padding: 6px 4px; }
  .feed-table-main th:nth-child(5),
  .feed-table-main td:nth-child(5) { width: 92px; }
  .feed-table-main th:nth-child(6),
  .feed-table-main td:nth-child(6) { width: 138px; }
  .feed-table-main th:nth-child(9),
  .feed-table-main td:nth-child(9),
  .feed-table-main th:nth-child(10),
  .feed-table-main td:nth-child(10) { width: 98px; }
}

/* STRYMO v3.4.1.5 — rebalance main feed table: narrower headline, wider tags/entities */
.feed-table-main {
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
}
.feed-table-main th,
.feed-table-main td {
  padding-left: 5px;
  padding-right: 5px;
}
.feed-table-main th:nth-child(1),
.feed-table-main td:nth-child(1) { width: 30px; }
.feed-table-main th:nth-child(2),
.feed-table-main td:nth-child(2) { width: 70px; }
.feed-table-main th:nth-child(3),
.feed-table-main td:nth-child(3) { width: 310px; }
.feed-table-main th:nth-child(4),
.feed-table-main td:nth-child(4) { width: 40px; text-align:center; }
.feed-table-main th:nth-child(5),
.feed-table-main td:nth-child(5) { width: 96px; }
.feed-table-main th:nth-child(6),
.feed-table-main td:nth-child(6) { width: 138px; }
.feed-table-main th:nth-child(7),
.feed-table-main td:nth-child(7) { width: 40px; text-align:center; }
.feed-table-main th:nth-child(8),
.feed-table-main td:nth-child(8) { width: 82px; }
.feed-table-main th:nth-child(9),
.feed-table-main td:nth-child(9),
.feed-table-main th:nth-child(10),
.feed-table-main td:nth-child(10) { width: 205px; }
.feed-table-main th:nth-child(11),
.feed-table-main td:nth-child(11) { width: 66px; text-align:center; }
.feed-table-main th:nth-child(12),
.feed-table-main td:nth-child(12) { width: 58px; text-align:center; }
.feed-table-main .headline {
  max-width: none;
  line-height: 1.25;
}
.feed-table-main .headline a {
  overflow-wrap: anywhere;
}
.feed-table-main .terms {
  max-width: none;
  min-width: 0;
  overflow-wrap: normal;
}
.feed-table-main .terms .pill {
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.2;
  margin: 1px 1px 2px 0;
}
.feed-table-main .source-cell,
.feed-table-main .cluster-name,
.feed-table-main .topic-cell {
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.feed-table-main .used-cell .status-badge {
  max-width: 52px;
}
@media (max-width: 1250px) {
  .feed-table-main th:nth-child(3),
  .feed-table-main td:nth-child(3) { width: 250px; }
  .feed-table-main th:nth-child(5),
  .feed-table-main td:nth-child(5) { width: 84px; }
  .feed-table-main th:nth-child(6),
  .feed-table-main td:nth-child(6) { width: 112px; }
  .feed-table-main th:nth-child(8),
  .feed-table-main td:nth-child(8) { width: 72px; }
  .feed-table-main th:nth-child(9),
  .feed-table-main td:nth-child(9),
  .feed-table-main th:nth-child(10),
  .feed-table-main td:nth-child(10) { width: 165px; }
  .feed-table-main th:nth-child(11),
  .feed-table-main td:nth-child(11) { width: 60px; }
  .feed-table-main th:nth-child(12),
  .feed-table-main td:nth-child(12) { width: 52px; }
}

/* STRYMO v3.4.2 — workspace layout + feed/source polish */
.topbar{position:relative!important;top:auto!important;z-index:1000!important}.container{padding-top:14px}h1{margin:0 0 8px;font-size:24px}.workspace-filter-anchor{display:none}.workspace-meta-row{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:8px 11px;margin:0 0 8px;color:#384454}.workspace-control-row{position:sticky;top:0;z-index:980;display:grid;grid-template-columns:minmax(360px,1.15fr) minmax(300px,.9fr) minmax(330px,.95fr);gap:10px;align-items:start;margin:0 0 12px}.workspace-control-row-no-search{grid-template-columns:minmax(180px,.45fr) minmax(330px,1fr) minmax(360px,1fr)}.workspace-control-card,.workspace-control-row .action-panel,.workspace-control-row .editorial-actions-panel{background:#fff;border:1px solid var(--border);border-radius:14px;padding:10px;margin:0;box-shadow:0 10px 24px rgba(21,39,59,.10)}.workspace-control-row .action-panel,.workspace-control-row .editorial-actions-panel{position:relative!important;top:auto!important;z-index:auto!important}.workspace-search-card{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.workspace-card-title{width:100%;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.02em;color:#566273;margin-bottom:1px}.workspace-search-card label{display:inline-flex;align-items:center;gap:5px;font-size:12px}.workspace-search-card input,.workspace-search-card select{height:31px;border:1px solid var(--border);border-radius:8px;padding:0 7px;background:#fff;max-width:190px}.workspace-search-card input[type=text]{min-width:145px}.workspace-search-card .check{gap:4px}.workspace-search-card button,.workspace-search-card .button{padding:7px 10px;border-radius:8px}.workspace-control-row .action-main{gap:7px}.workspace-control-row .action-main label{font-size:12px}.workspace-control-row .action-panel select{min-height:31px;max-width:100%;width:100%}.workspace-control-row .action-panel button{padding:7px 10px}.workspace-control-row .action-extra{margin-top:7px}.workspace-control-row .editorial-actions-head{display:block;margin-bottom:7px}.workspace-control-row .editorial-actions-head h3{font-size:14px;margin:0}.workspace-control-row .editorial-actions-head p{display:none}.workspace-control-row .editorial-basket-shortcuts{margin-top:6px}.workspace-control-row .editorial-actions-grid{gap:7px}.workspace-control-row .editorial-actions-grid .button,.workspace-control-row .editorial-basket-shortcuts .button{padding:7px 10px;border-radius:8px;font-size:12px}.workspace-control-row .editorial-route-note{font-size:11px;padding:5px 7px}.workspace-technical-card{font-size:13px;color:#384454}

.feed-table-main{font-size:14px}.feed-table-main th{font-size:11px;letter-spacing:.01em}.feed-table-main td{font-size:13px}.feed-table-main .headline a{font-size:14px;line-height:1.28}.feed-table-main .source-cell,.feed-table-main .cluster-name,.feed-table-main .topic-cell{font-size:13px}.feed-table-main th:nth-child(3),.feed-table-main td:nth-child(3){width:270px}.feed-table-main th:nth-child(5),.feed-table-main td:nth-child(5){width:105px}.feed-table-main th:nth-child(6),.feed-table-main td:nth-child(6){width:145px}.feed-table-main th:nth-child(7),.feed-table-main td:nth-child(7){width:54px}.feed-table-main th:nth-child(8),.feed-table-main td:nth-child(8){width:100px}.feed-table-main th:nth-child(9),.feed-table-main td:nth-child(9),.feed-table-main th:nth-child(10),.feed-table-main td:nth-child(10){width:200px}.feed-date-cell .feed-time{font-weight:400!important;color:#344054}.feed-date-cell .feed-date{font-weight:400!important}.content-cell .status-badge{min-width:42px;text-align:center}.small-button{padding:5px 8px;border-radius:8px;font-size:12px}.source-recent-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}.source-recent-table th,.source-recent-table td{font-size:12px}.source-recent-table .source-recent-title{max-width:360px}.topic-admin-intro,.topic-admin-form{margin-bottom:12px}.topic-admin-table code{font-size:12px;background:#f6f7f9;border:1px solid var(--border);border-radius:6px;padding:2px 5px}.topic-admin-table td:nth-child(2){min-width:220px}
@media(max-width:1250px){.workspace-control-row{grid-template-columns:1fr}.workspace-control-row-no-search{grid-template-columns:1fr}.workspace-control-row{position:relative;top:auto}.feed-table-main th:nth-child(3),.feed-table-main td:nth-child(3){width:240px}.feed-table-main th:nth-child(9),.feed-table-main td:nth-child(9),.feed-table-main th:nth-child(10),.feed-table-main td:nth-child(10){width:170px}}

/* v3.4.2.1 topic admin polish */
.topic-admin-table .topic-admin-desc,
.topic-admin-table .topic-admin-keywords {
    max-width: 280px;
    white-space: normal;
    line-height: 1.35;
    color: #334155;
}
.topic-admin-form textarea {
    width: 100%;
    min-height: 78px;
    resize: vertical;
}

/* v3.4.2.3 workspace control panels polish */
.workspace-control-row{
    align-items:stretch;
}
.workspace-control-card,
.workspace-control-row .action-panel,
.workspace-control-row .editorial-actions-panel{
    min-height:124px;
    height:100%;
    box-sizing:border-box;
}
.workspace-control-row .action-panel,
.workspace-control-row .editorial-actions-panel,
.workspace-control-card{
    display:flex;
    flex-direction:column;
}
.workspace-panel-title,
.workspace-control-row .editorial-actions-head h3.workspace-panel-title{
    margin:0 0 8px;
    font-size:14px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:0;
    text-transform:none;
    color:#1f2937;
}
.workspace-search-card .workspace-panel-title{
    width:100%;
    flex:0 0 100%;
}
.workspace-control-row .action-panel .workspace-panel-title{
    flex:0 0 auto;
}
.workspace-control-row .action-main{
    margin-top:0;
}
.workspace-control-row .action-select-label{
    flex:1 1 220px;
    min-width:0;
}
.workspace-control-row .action-select-label select{
    width:100%;
}
.workspace-control-row .editorial-actions-head{
    margin-bottom:8px;
}
.workspace-control-row .editorial-actions-head h3.workspace-panel-title{
    display:block;
}
.workspace-control-row .editorial-actions-grid{
    margin-top:auto;
}
.sr-only{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}
.workspace-card-title{
    font-size:14px;
    line-height:1.2;
    font-weight:700;
    text-transform:none;
    letter-spacing:0;
    color:#1f2937;
}
@media(max-width:1250px){
    .workspace-control-card,
    .workspace-control-row .action-panel,
    .workspace-control-row .editorial-actions-panel{
        min-height:auto;
        height:auto;
    }
}

/* v3.4.2.4 — compact workspace panels rollback/fix
   Fixes oversized cards and restores visible search/filter controls. */
.workspace-control-row{
    align-items:start!important;
    gap:10px!important;
}
.workspace-control-card,
.workspace-control-row .action-panel,
.workspace-control-row .editorial-actions-panel{
    min-height:0!important;
    height:auto!important;
    box-sizing:border-box!important;
    padding:9px 10px!important;
}
.workspace-control-card{
    display:flex!important;
}
.workspace-search-card{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    align-content:flex-start!important;
    gap:7px!important;
}
.workspace-search-card .workspace-panel-title,
.workspace-search-card .workspace-card-title{
    display:block!important;
    width:100%!important;
    flex:0 0 100%!important;
    margin:0 0 5px!important;
}
.workspace-control-row .action-panel,
.workspace-control-row .editorial-actions-panel{
    display:block!important;
}
.workspace-control-row .action-main{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:7px!important;
}
.workspace-control-row .action-select-label{
    flex:1 1 210px!important;
    min-width:180px!important;
    margin:0!important;
}
.workspace-control-row .action-select-label select{
    width:100%!important;
}
.workspace-control-row .editorial-actions-head{
    display:block!important;
    margin:0 0 6px!important;
}
.workspace-control-row .editorial-actions-grid,
.workspace-control-row .editorial-basket-shortcuts{
    margin-top:0!important;
}
.workspace-panel-title,
.workspace-card-title,
.workspace-control-row .editorial-actions-head h3.workspace-panel-title{
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:700!important;
    letter-spacing:0!important;
    text-transform:none!important;
    color:#1f2937!important;
    margin:0 0 5px!important;
}
.workspace-control-row .editorial-route-note{
    margin-top:6px!important;
}
@media(min-width:1251px){
    .workspace-control-row{
        grid-template-columns:minmax(360px,1.05fr) minmax(320px,.95fr) minmax(330px,1fr)!important;
    }
}

/* v3.4.2.5 — action card overflow fix
   Keeps conditional merge/duplicate fields inside the actions card. */
.workspace-control-row .action-panel,
.workspace-control-row .action-panel *{
    box-sizing:border-box!important;
}
.workspace-control-row .action-extra{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
}
.workspace-control-row .action-extra label,
.workspace-control-row .action-extra label.wide{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}
.workspace-control-row .action-extra input,
.workspace-control-row .action-extra textarea,
.workspace-control-row .action-extra select,
.workspace-control-row .action-panel input[type=text],
.workspace-control-row .action-panel input[type=number],
.workspace-control-row .action-panel textarea{
    max-width:100%!important;
    min-width:0!important;
}
.workspace-control-row .action-extra input[type=text],
.workspace-control-row .action-extra input[list],
.workspace-control-row .action-extra textarea,
.workspace-control-row .action-extra select{
    width:100%!important;
}
.workspace-control-row .action-extra[data-action-extra="merge_clusters"] input[name="merged_cluster_name"],
.workspace-control-row .action-extra[data-action-extra="mark_duplicate_clusters"] textarea{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}
.workspace-control-row .action-extra .small-note{
    max-width:100%!important;
}


/* STRYMO v0.3.0.2 — compact source content original preview */
.source-original-preview{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  background:#f7f9fc;
  border:1px solid var(--border);
  border-radius:10px;
  padding:7px 10px;
  margin:8px 0 10px;
  font-size:13px;
  line-height:1.25;
}
.source-original-preview-label{
  flex:0 0 auto;
  font-weight:700;
  color:#344256;
  white-space:nowrap;
}
.source-original-preview-text{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#536174;
}
.source-content-meta-compact{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:6px 8px;
  padding:8px 10px;
  margin:8px 0 10px;
  font-size:12px;
}
@media(max-width:700px){
  .source-original-preview{align-items:flex-start;flex-direction:column;gap:3px}
  .source-original-preview-text{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}

/* STRYMO v0.3.1 — Telegram prepare audit on content page */
.tg-prepare-audit{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  border:1px solid var(--border);
  border-radius:10px;
  padding:7px 10px;
  margin:8px 0 10px;
  font-size:13px;
  line-height:1.25;
  background:#f7f9fc;
  color:#344256;
  flex-wrap:wrap;
}
.tg-prepare-audit.tg-audit-ready{background:#f3fbf6;border-color:#bfe7cd}
.tg-prepare-audit.tg-audit-not-ready{background:#fff8f1;border-color:#f3d4ad}
.tg-audit-pill{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:2px 7px;
  font-size:11px;
  font-weight:700;
  background:#e8f3ff;
  color:#155b9f;
  white-space:nowrap;
}
.tg-audit-reason{
  min-width:0;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media(max-width:700px){
  .tg-prepare-audit{align-items:flex-start;flex-direction:column;gap:4px}
  .tg-audit-reason{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}


/* STRYMO v0.3.1.1 — robust spacing for TG audit chips */
.tg-prepare-audit > span{margin-right:0}
.tg-audit-item{white-space:nowrap}
.tg-audit-sep{color:#9aa7b5;font-weight:700;line-height:1}
@supports not (gap: 8px){
  .tg-prepare-audit > span{margin-right:8px}
}
@media(max-width:700px){
  .tg-audit-sep{display:none}
  .tg-audit-item{white-space:normal}
}

/* STRYMO v0.3.1.2 — restore Jobs / Cron admin layout after content CSS hotfix */
.job-admin-note{
  background:#f7f9fc;
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
  margin:10px 0 12px;
  color:#344256;
  font-size:14px;
  line-height:1.45;
}
.job-quick-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  margin:10px 0 12px;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.job-quick-card h2{
  margin:0 0 10px;
  font-size:17px;
}
.job-settings-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:8px;
  align-items:end;
}
.job-settings-grid label,
.job-edit-form label{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:12px;
  color:#536174;
}
.job-settings-grid input,
.job-edit-form input,
.job-edit-form select,
.job-edit-form textarea{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
.job-quick-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:10px;
}
.job-quick-actions form{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:end;
  margin:0;
}
.job-quick-actions label{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:12px;
  color:#536174;
}
.jobs-table{
  table-layout:auto;
}
.jobs-table td{
  vertical-align:top;
}
.jobs-table td:first-child,
.jobs-table th:first-child{
  width:34px;
}
.job-schedule{
  display:inline-block;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:12px;
  background:#f5f7fb;
  border:1px solid var(--border);
  border-radius:999px;
  padding:3px 8px;
  white-space:nowrap;
}
.job-status-success{background:#e8f7ee;color:#166534;border-color:#bbf7d0}
.job-status-failed,.job-status-timed_out,.job-status-stale_failed{background:#fff1f2;color:#9f1239;border-color:#fecdd3}
.job-status-running,.job-status-queued{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.job-status-idle{background:#f8fafc;color:#475569;border-color:#e2e8f0}
.job-status-partial,.job-status-skipped_locked{background:#fff7ed;color:#9a3412;border-color:#fed7aa}
.job-actions{
  min-width:220px;
}
.job-edit-details{
  margin-top:6px;
}
.job-edit-details summary{
  cursor:pointer;
  color:#0d6efd;
  font-weight:600;
  font-size:13px;
}
.job-edit-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(120px,1fr));
  gap:8px;
  margin-top:8px;
  padding:10px;
  background:#f7f9fc;
  border:1px solid var(--border);
  border-radius:12px;
}
.job-edit-form .wide{
  grid-column:1 / -1;
}
.job-edit-form .check{
  justify-content:center;
  flex-direction:row;
  align-items:center;
}
.job-error-preview{
  margin-top:8px;
  padding:8px;
  background:#fff1f2;
  border:1px solid #fecdd3;
  border-radius:10px;
  color:#9f1239;
  font-size:12px;
  max-width:520px;
}
.job-bulk-actions{
  margin-top:10px;
}
.job-help-box{
  background:#fff;
  border:1px solid #d8e0ea;
  border-radius:12px;
  padding:10px 12px;
  margin:12px 0;
}
.job-help-box summary{
  cursor:pointer;
  font-weight:700;
}
.job-help-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:10px;
  margin-top:10px;
}
.job-help-grid > div{
  border:1px solid #e1e7ef;
  border-radius:10px;
  padding:9px 10px;
  background:#f8fafc;
  line-height:1.35;
}
@media(max-width:900px){
  .job-edit-form{grid-template-columns:1fr}
  .job-actions{min-width:0}
  .job-settings-grid{grid-template-columns:1fr}
}


/* STRYMO v0.3.1.3 — Jobs/Sources wide table containment */
.wide-table-scroll{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:visible;
  border-radius:12px;
  margin:0 0 18px;
  -webkit-overflow-scrolling:touch;
}
.wide-table-scroll .data-table{
  margin-bottom:0;
  width:100%;
}
.jobs-table-scroll .jobs-table{
  min-width:1320px;
}
.sources-table-scroll .sources-table{
  min-width:1260px;
}
.jobs-table th,
.jobs-table td,
.sources-table th,
.sources-table td{
  overflow-wrap:break-word;
  word-break:normal;
}
.jobs-table td:nth-child(2){
  min-width:260px;
  max-width:360px;
}
.jobs-table td:nth-child(4){
  min-width:130px;
}
.jobs-table td:nth-child(5){
  max-width:160px;
}
.jobs-table .job-actions{
  min-width:230px;
  max-width:320px;
}
.job-edit-form input,
.job-edit-form select,
.job-edit-form textarea,
.job-settings-grid input,
.job-settings-grid select{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.sources-table td:nth-child(2){
  min-width:180px;
  max-width:260px;
}
.sources-table .pipeline-cell{
  min-width:165px;
  max-width:230px;
}
.sources-table .source-recent-title{
  min-width:230px;
  max-width:330px;
  overflow-wrap:anywhere;
}
.sources-table td:nth-child(9){
  min-width:95px;
  white-space:nowrap;
}
.sources-table td:last-child{
  min-width:170px;
}
.source-bulk-actions,
.job-bulk-actions,
.filters{
  max-width:100%;
}
@media(max-width:900px){
  .jobs-table-scroll .jobs-table{min-width:1120px}
  .sources-table-scroll .sources-table{min-width:1080px}
  .wide-table-scroll{border:1px solid var(--border);background:#fff}
}

/* STRYMO v0.3.1.4 — Jobs edit form viewport-safe modal */
.jobs-table .job-actions{
  overflow:visible;
}
.job-edit-details[open] .job-edit-form{
  position:fixed;
  top:72px;
  right:24px;
  left:auto;
  width:min(760px, calc(100vw - 48px));
  max-width:calc(100vw - 48px);
  max-height:calc(100vh - 110px);
  overflow:auto;
  z-index:10050;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0;
  padding:14px;
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:14px;
  box-shadow:0 18px 50px rgba(15,23,42,.22);
}
.job-edit-details[open] .job-edit-form::before{
  content:'Редагування job';
  grid-column:1 / -1;
  display:block;
  font-weight:700;
  color:#17324d;
  padding-bottom:6px;
  border-bottom:1px solid #e2e8f0;
  margin-bottom:2px;
}
.job-edit-details[open] .job-edit-form label{
  min-width:0;
}
.job-edit-details[open] .job-edit-form input,
.job-edit-details[open] .job-edit-form select,
.job-edit-details[open] .job-edit-form textarea{
  width:100%;
  min-width:0;
  max-width:100%;
}
.job-edit-details[open] .job-edit-form .wide,
.job-edit-details[open] .job-edit-form textarea[name="config_json"]{
  grid-column:1 / -1;
}
.job-edit-details[open] .job-edit-form button[type="submit"]{
  grid-column:1 / -1;
  justify-self:start;
}
.job-edit-details[open] summary{
  color:#0a58ca;
}
@media(max-width:760px){
  .job-edit-details[open] .job-edit-form{
    top:56px;
    right:10px;
    width:calc(100vw - 20px);
    max-width:calc(100vw - 20px);
    grid-template-columns:1fr;
  }
}


/* STRYMO v0.3.1.5 — Jobs table no horizontal scroll + close edit popup */
.wide-table-scroll.jobs-table-scroll{
  overflow-x:visible!important;
  overflow-y:visible!important;
  border-radius:12px;
}
.jobs-table-scroll .jobs-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
.jobs-table th,
.jobs-table td{
  min-width:0!important;
  max-width:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  vertical-align:top;
}
.jobs-table th:nth-child(1),
.jobs-table td:nth-child(1){width:34px!important;white-space:nowrap!important;overflow-wrap:normal!important;}
.jobs-table th:nth-child(2),
.jobs-table td:nth-child(2){width:28%!important;}
.jobs-table th:nth-child(3),
.jobs-table td:nth-child(3){width:58px!important;}
.jobs-table th:nth-child(4),
.jobs-table td:nth-child(4){width:105px!important;}
.jobs-table th:nth-child(5),
.jobs-table td:nth-child(5){width:92px!important;}
.jobs-table th:nth-child(6),
.jobs-table td:nth-child(6){width:58px!important;}
.jobs-table th:nth-child(7),
.jobs-table td:nth-child(7){width:120px!important;}
.jobs-table th:nth-child(8),
.jobs-table td:nth-child(8){width:122px!important;}
.jobs-table th:nth-child(9),
.jobs-table td:nth-child(9){width:118px!important;}
.jobs-table th:nth-child(10),
.jobs-table td:nth-child(10){width:112px!important;}
.jobs-table .job-actions{
  width:112px!important;
  min-width:0!important;
  max-width:112px!important;
}
.jobs-table .job-actions form[style]{
  display:block!important;
  margin-bottom:6px;
}
.jobs-table .job-actions .button,
.jobs-table .job-actions button{
  max-width:100%;
  white-space:normal;
  line-height:1.2;
}
.job-edit-actions{
  grid-column:1 / -1;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  padding-top:4px;
}
.job-edit-details[open] .job-edit-form button[type="submit"]{
  grid-column:auto;
  justify-self:auto;
}
.job-edit-details[open] .job-edit-actions button{
  width:auto;
}
@media(max-width:980px){
  .jobs-table-scroll{overflow-x:auto!important;}
  .jobs-table-scroll .jobs-table{min-width:920px!important;table-layout:fixed!important;}
}

/* STRYMO v0.3.1.6 — Jobs schedule column wrap fix */
.jobs-table th:nth-child(4),
.jobs-table td:nth-child(4){
  width:118px!important;
  max-width:118px!important;
  overflow:hidden!important;
}
.jobs-table th:nth-child(5),
.jobs-table td:nth-child(5){
  width:100px!important;
  max-width:100px!important;
  overflow:hidden!important;
}
.jobs-table td:nth-child(4) .job-schedule{
  display:block!important;
  box-sizing:border-box!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  line-height:1.25!important;
  border-radius:8px!important;
  padding:4px 6px!important;
}
.jobs-table td:nth-child(5){
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.jobs-table th:nth-child(7),
.jobs-table td:nth-child(7){width:112px!important;}
.jobs-table th:nth-child(8),
.jobs-table td:nth-child(8){width:112px!important;}
.jobs-table th:nth-child(9),
.jobs-table td:nth-child(9){width:108px!important;}
.jobs-table th:nth-child(10),
.jobs-table td:nth-child(10){width:106px!important;}
.jobs-table .job-actions{
  width:106px!important;
  max-width:106px!important;
}


/* STRYMO v0.3.1.8 — Telegram AI Prepare block polish */
.tg-prepare-card{
  padding:14px 14px 12px;
}
.tg-prepare-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.tg-prepare-head h2{
  margin:0 0 4px;
}
.tg-prepare-head p{
  margin:0;
}
.help-dot{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  border-radius:999px;
  background:#eef3f8;
  color:#52657a;
  font-size:11px;
  line-height:1;
  font-weight:700;
  vertical-align:middle;
  cursor:help;
  margin-left:3px;
}
.tg-prepare-settings{
  grid-template-columns:repeat(4,minmax(130px,1fr)) auto;
  gap:10px;
  align-items:end;
}
.tg-prepare-settings label > span{
  display:flex;
  align-items:center;
  gap:3px;
  min-height:18px;
}
.tg-prepare-settings input{
  height:36px;
}
.tg-prepare-submit{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:150px;
}
.tg-prepare-submit button,
.tg-prepare-actions button{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  white-space:nowrap;
  line-height:1.2;
}
.tg-prepare-actions{
  display:flex;
  align-items:stretch;
  gap:10px;
  margin-top:12px;
}
.tg-prepare-actions form{
  display:flex;
  align-items:end;
  gap:8px;
  margin:0;
}
.tg-prepare-actions label{
  min-width:118px;
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:12px;
  color:#536174;
}
.tg-prepare-actions input[type="number"]{
  height:38px;
  width:110px;
}
.tg-prepare-enable-form{
  padding:8px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#f8fafc;
}
.tg-prepare-note{
  margin:10px 0 0;
}
@media(max-width:1100px){
  .tg-prepare-settings{grid-template-columns:repeat(2,minmax(160px,1fr));}
  .tg-prepare-submit{min-width:0;}
  .tg-prepare-actions{align-items:flex-start;}
}
@media(max-width:720px){
  .tg-prepare-head{flex-direction:column;}
  .tg-prepare-settings{grid-template-columns:1fr;}
  .tg-prepare-actions,
  .tg-prepare-actions form{flex-direction:column;align-items:stretch;}
  .tg-prepare-actions input[type="number"]{width:100%;}
  .tg-prepare-submit button,
  .tg-prepare-actions button{width:100%;white-space:normal;}
}

/* v0.3.2 urgent controls */
.source-type-editor .source-type-form,
.source-type-inline-form {
  gap: 10px;
}
.source-types-table td { vertical-align: top; }
.source-type-edit summary { cursor: pointer; }
.source-type-inline-form {
  min-width: min(720px, 92vw);
  max-width: 92vw;
}
.source-type-inline-form label { display: block; margin: 6px 0; }
.source-recent-filter {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 8px 0 12px;
  flex-wrap: wrap;
}
.source-recent-filter label { margin: 0; }
.small-note { font-size: 12px; }
.tg-prepare-submit .muted { display: none !important; }
.tg-prepare-submit button { min-height: 34px; }
.source-list-head .button-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.feed-stage-hint { font-size: 12px; color: #6b7280; }


/* STRYMO v0.3.2.1 — source type overflow + compact headline stage dots */
.source-form label,
.source-two-cols > *,
.source-three-cols > * {
  min-width: 0;
}
.source-two-cols,
.source-three-cols {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}
.source-form input,
.source-form select,
.source-form textarea,
.source-type-field select,
select[name="source_type"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.source-type-field select,
select[name="source_type"] {
  text-overflow: ellipsis;
}
.stage-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  white-space: nowrap;
}
.headline-stage-dots {
  margin-right: 6px;
}
.stage-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset;
  flex: 0 0 auto;
}
.stage-dot-ingested { background: #d92d20; }
.stage-dot-prepared { background: #fdb022; }
.stage-dot-ready { background: #f97316; }
.stage-dot-clustered { background: #12b76a; }
.feed-table-main .headline .stage-dots,
.source-recent-title .stage-dots {
  position: relative;
  top: -1px;
}
.source-recent-title {
  min-width: 0;
  overflow-wrap: anywhere;
}
.source-recent-title a {
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .stage-dot { width: 8px; height: 8px; }
  .headline-stage-dots { margin-right: 4px; }
}


/* STRYMO v0.3.2.2 — stage dots moved to time column + stricter compact layout */
.feed-date-cell,
.source-recent-time {
  text-align: center;
  white-space: normal;
  line-height: 1.12;
  vertical-align: middle;
}
.source-recent-time .feed-time,
.source-recent-time .feed-date {
  display: block;
}
.source-recent-time .feed-time {
  font-weight: 700;
  color: #1d2733;
  font-variant-numeric: tabular-nums;
}
.source-recent-time .feed-date {
  margin-top: 3px;
  font-size: 11px;
  color: #667085;
}
.time-stage-dots {
  display: inline-flex;
  justify-content: center;
  margin-top: 5px;
  gap: 3px;
}
.feed-date-cell .stage-dot,
.source-recent-time .stage-dot {
  width: 8px;
  height: 8px;
}
.feed-table-main .headline .stage-dots,
.source-recent-title .stage-dots {
  display: none;
}
.source-recent-table th:nth-child(2),
.source-recent-table td:nth-child(2) {
  width: 78px;
}
@media (max-width: 1100px) {
  .time-stage-dots { gap: 2px; }
  .feed-date-cell .stage-dot,
  .source-recent-time .stage-dot { width: 7px; height: 7px; }
}

/* STRYMO v0.3.3.2a — source.php compact checkbox/label alignment fix */
.source-form label.check,
.source-form .source-two-cols label.check,
.source-form .source-three-cols label.check,
.source-form .pipeline-checkbox-grid label.check,
.source-form .telegram-language-box label.check {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100%;
  line-height: 1.35;
  cursor: pointer;
}
.source-form label.check input[type="checkbox"],
.source-form .source-two-cols label.check input[type="checkbox"],
.source-form .source-three-cols label.check input[type="checkbox"],
.source-form .pipeline-checkbox-grid label.check input[type="checkbox"],
.source-form .telegram-language-box label.check input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  flex: 0 0 16px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
}
.source-form .pipeline-checkbox-grid,
.source-form .telegram-language-box .source-three-cols {
  align-items: start;
}

/* v0.3.3.8 — LLM Token Audit */
.llm-filter-card,
.llm-section,
.llm-kpi,
.empty-state {
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.llm-filter-card {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px;
  margin: 0 0 14px;
}
.llm-filter-card label { display: grid; gap: 4px; font-size: 13px; color: #475569; }
.llm-filter-card input { width: 110px; }
.llm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.llm-kpi { padding: 14px; }
.llm-kpi-label { color: #64748b; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.llm-kpi-value { font-size: 26px; font-weight: 800; color: #0f172a; margin: 4px 0; }
.llm-section { padding: 14px; margin: 14px 0; }
.llm-section h2 { margin: 0 0 10px; font-size: 18px; }
.llm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.llm-table th { text-align: left; color: #64748b; font-size: 12px; border-bottom: 1px solid #e2e8f0; padding: 8px; white-space: nowrap; }
.llm-table td { border-bottom: 1px solid #edf2f7; padding: 8px; vertical-align: top; }
.llm-table tr:hover td { background: #f8fafc; }
.llm-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.llm-status-ok { background: #dcfce7; color: #166534; }
.llm-status-bad { background: #fee2e2; color: #991b1b; }
.llm-error-cell { max-width: 320px; color: #991b1b; font-size: 12px; }
.empty-state { padding: 18px; margin: 14px 0; }
@media (max-width: 1000px) { .llm-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .llm-kpi-grid { grid-template-columns: 1fr; } }

/* STRYMO v0.3.3.6 — Publication Map Preview UI */
.pm-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0}.pm-kpi{background:#fff;border:1px solid var(--border);border-radius:13px;padding:12px}.pm-kpi-label{font-size:12px;color:#667085;text-transform:uppercase;letter-spacing:.04em}.pm-kpi-value{font-size:26px;font-weight:750;margin:4px 0;color:#17324d}.pm-kpi-hint{font-size:12px;color:#667085}.pm-state-row{display:flex;flex-wrap:wrap;gap:10px;background:#f8fbff;border:1px solid #d7e7f7;border-radius:12px;padding:10px 12px;margin:12px 0 16px}.pm-state-row>div{background:#fff;border:1px solid #e4e9f2;border-radius:10px;padding:8px 10px}.pm-dashboard-grid{display:grid;grid-template-columns:minmax(320px,1fr) minmax(320px,1fr);gap:14px;margin:14px 0}.pm-panel{background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px;margin:14px 0}.pm-panel h2{margin:0 0 10px}.pm-small-table,.pm-link-table{width:100%;border-collapse:collapse}.pm-small-table th,.pm-small-table td,.pm-link-table th,.pm-link-table td{border-bottom:1px solid #edf0f5;padding:7px 8px;vertical-align:top;text-align:left}.pm-small-table th,.pm-link-table th{font-size:12px;color:#667085;text-transform:uppercase;letter-spacing:.03em;background:#f8fafc}.pm-publication-card{border:1px solid #dce6f2;border-radius:14px;background:#fbfdff;padding:14px;margin:12px 0}.pm-publication-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.pm-publication-head h3{margin:4px 0 4px;font-size:17px;line-height:1.28}.pm-publication-meta{font-size:12px;color:#667085}.pm-score-box{min-width:88px;text-align:center;border:1px solid #cfe0f5;background:#fff;border-radius:12px;padding:8px}.pm-score-box strong{display:block;font-size:24px;color:#1557a8}.pm-score-box span{font-size:12px;color:#667085}.pm-counts{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.pm-counts span{font-size:12px;background:#eef4ff;border:1px solid #c7d7fe;color:#344054;border-radius:999px;padding:4px 8px}.pm-domain{font-size:12px;font-weight:700;color:#344054;margin-bottom:3px}.pm-context{font-size:12px;color:#667085;line-height:1.35;margin-top:3px}.pm-role-badge{display:inline-flex;align-items:center;border-radius:999px;border:1px solid #d0d5dd;background:#f2f4f7;color:#344054;padding:3px 7px;font-size:11px;font-weight:700;white-space:nowrap}.pm-role-source_reference{background:#ecfdf3;border-color:#abefc6;color:#067647}.pm-role-external_reference{background:#eef4ff;border-color:#c7d7fe;color:#3538cd}.pm-role-telegram_reference{background:#e8f3ff;border-color:#b7dbff;color:#155b9f}.pm-role-internal_related{background:#f9fafb;border-color:#e4e7ec;color:#475467}.pm-role-social_profile,.pm-role-social_link{background:#fff7ed;border-color:#fed7aa;color:#b45309}.pm-role-self_homepage{background:#f4f3ff;border-color:#d9d6fe;color:#5925dc}.pm-role-shortener{background:#fdf2fa;border-color:#fbcfe8;color:#be185d}.pm-role-media_reference{background:#f0f9ff;border-color:#bae6fd;color:#0369a1}.pm-boilerplate{opacity:.62}.publication-map-filters select[name=source_id]{max-width:260px}.publication-map-filters input[name=q]{min-width:260px}.pm-map-list{border-left:5px solid #2f6fed}
@media(max-width:980px){.pm-dashboard-grid{grid-template-columns:1fr}.pm-publication-head{flex-direction:column}.pm-score-box{text-align:left}.pm-link-table{font-size:12px}.pm-link-table th:nth-child(3),.pm-link-table td:nth-child(3){display:none}}


/* STRYMO v0.3.3.6a — Publication Map Human UI */
.pm-hero-card{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.75fr);gap:18px;align-items:stretch;background:linear-gradient(135deg,#102a43,#2563eb);color:#fff;border-radius:20px;padding:22px;margin:16px 0 14px;box-shadow:0 14px 40px rgba(16,42,67,.18)}
.pm-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;opacity:.82;font-weight:800}.pm-hero-card h1{margin:5px 0 8px;font-size:30px;line-height:1.08}.pm-hero-card p{margin:0;color:rgba(255,255,255,.86);max-width:860px;line-height:1.45}.pm-hero-help{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px}.pm-hero-help small{color:rgba(255,255,255,.78);line-height:1.35}.pm-mini-arrow{display:inline-flex;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:5px 9px;font-weight:700}.pm-arrow{font-weight:900;margin:0 4px}
.pm-preset-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0}.pm-preset{background:#fff;border:1px solid #dbe5f2;border-radius:14px;padding:11px 12px;text-decoration:none;color:#243b53;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:.14s ease}.pm-preset:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(16,24,40,.08);text-decoration:none}.pm-preset strong{display:block;font-size:14px}.pm-preset span{display:block;font-size:12px;color:#667085;margin-top:2px}.pm-preset.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.pm-filter-details{background:#fff;border:1px solid #dbe5f2;border-radius:14px;margin:12px 0;padding:0}.pm-filter-details summary{cursor:pointer;padding:13px 15px;font-weight:800;color:#344054}.pm-human-filters{border-top:1px solid #edf2f7;margin:0;padding:12px 15px;display:flex;flex-wrap:wrap;gap:10px;align-items:end}.pm-human-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#667085;font-weight:700}.pm-human-filters label.check{flex-direction:row;align-items:center;color:#344054;margin-bottom:7px}.pm-human-filters input,.pm-human-filters select{min-height:35px}.pm-human-filters .pm-wide-field input{min-width:310px}.pm-view-switch{display:flex;gap:8px;margin:14px 0}.pm-view-switch a{display:inline-flex;align-items:center;border:1px solid #d0d5dd;background:#fff;color:#344054;padding:8px 12px;border-radius:999px;text-decoration:none;font-weight:700;font-size:13px}.pm-view-switch a.active{background:#111827;color:#fff;border-color:#111827}.pm-human-kpis{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.pm-human-kpis .pm-kpi{border:0;border-radius:16px;box-shadow:0 1px 3px rgba(16,24,40,.08);position:relative;overflow:hidden}.pm-human-kpis .pm-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px}.pm-kpi-blue:before{background:#2563eb}.pm-kpi-green:before{background:#16a34a}.pm-kpi-purple:before{background:#7c3aed}.pm-kpi-amber:before{background:#d97706}.pm-kpi-slate:before{background:#64748b}.pm-human-state{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));background:transparent;border:0;padding:0}.pm-human-state>div{display:flex;justify-content:space-between;gap:10px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0}.pm-human-state span{font-size:13px;color:#475467}.pm-human-dashboard{grid-template-columns:minmax(320px,1fr) minmax(320px,1fr)}.pm-role-cloud{display:flex;flex-wrap:wrap;gap:8px}.pm-role-chip{display:inline-flex;gap:7px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:4px;text-decoration:none}.pm-chip-count{background:#fff;border:1px solid #e4e7ec;border-radius:999px;padding:2px 7px;font-size:12px;color:#475467;font-weight:800}.pm-domain-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.pm-domain-pill{display:flex;flex-direction:column;gap:2px;padding:9px 10px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;text-decoration:none;color:#344054}.pm-domain-pill strong{font-size:13px}.pm-domain-pill span{font-size:12px;color:#667085}.pm-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:12px}.pm-section-head h2{margin-bottom:4px}.pm-section-head p{margin:0;color:#667085;line-height:1.35}.pm-human-map-list{background:#f8fafc;border-left:0;padding:16px}.pm-human-card{background:#fff;border:1px solid #dbe5f2;border-radius:18px;padding:0;box-shadow:0 1px 3px rgba(16,24,40,.06);overflow:hidden}.pm-human-card+.pm-human-card{margin-top:16px}.pm-human-card .pm-publication-head{padding:16px 16px 8px}.pm-card-title-block{min-width:0}.pm-publication-meta{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;color:#667085}.pm-publication-meta span{font-size:12px}.pm-card-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}.pm-card-actions a,.pm-card-actions span{font-size:12px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:999px;padding:4px 8px;text-decoration:none;color:#344054}.pm-score-box{border-radius:14px}.pm-score-box em{display:block;font-style:normal;font-size:11px;color:#667085;margin-top:3px}.pm-score-box.pm-q-strong{background:#ecfdf3;border-color:#86efac}.pm-score-box.pm-q-good{background:#eff6ff;border-color:#bfdbfe}.pm-score-box.pm-q-mid{background:#fffbeb;border-color:#fde68a}.pm-score-box.pm-q-low{background:#f8fafc;border-color:#e2e8f0}.pm-human-counts{padding:0 16px 12px;margin:0}.pm-human-counts span{background:#f8fafc;border-color:#e2e8f0;color:#344054}.pm-human-counts span strong{color:#111827}.pm-link-flow{border-top:1px solid #eef2f7}.pm-link-flow-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:0;border-top:1px solid #f1f5f9;background:#fff}.pm-link-flow-row:first-child{border-top:0}.pm-link-flow-row.pm-q-strong{background:#fcfffd}.pm-link-flow-row.pm-q-good{background:#fbfdff}.pm-link-flow-row.pm-q-mid{background:#fffdf7}.pm-link-flow-row.pm-is-noise{opacity:.66}.pm-flow-arrow{display:flex;align-items:center;justify-content:center;color:#94a3b8;font-weight:900;font-size:18px;background:#f8fafc}.pm-flow-main{padding:11px 14px;min-width:0}.pm-flow-top{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:5px}.pm-source-tag{display:inline-flex;align-items:center;border-radius:999px;background:#f1f5f9;color:#475467;padding:3px 7px;font-size:11px;font-weight:800}.pm-target-url{display:block;font-size:14px;font-weight:700;overflow-wrap:anywhere}.pm-anchor-context{margin-top:7px;border-left:3px solid #e2e8f0;padding-left:9px;color:#475467;font-size:12px;line-height:1.42}.pm-anchor-context p{margin:4px 0 0;color:#667085}.pm-more-note{font-size:12px;color:#667085;background:#f8fafc;border-top:1px solid #eef2f7;padding:9px 14px}.pm-audit-panel{background:#f8fafc}.pm-audit-list{display:grid;gap:10px}.pm-audit-item{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;background:#fff;border:1px solid #dbe5f2;border-radius:16px;padding:12px;box-shadow:0 1px 2px rgba(16,24,40,.04)}.pm-audit-item.pm-q-strong{border-left:5px solid #16a34a}.pm-audit-item.pm-q-good{border-left:5px solid #2563eb}.pm-audit-item.pm-q-mid{border-left:5px solid #d97706}.pm-audit-item.pm-is-noise{opacity:.68}.pm-audit-left{display:flex;flex-direction:column;gap:7px;align-items:flex-start}.pm-audit-title{font-weight:800;display:block;margin:4px 0 8px}.pm-audit-target{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}.pm-domain{display:inline-flex;font-size:12px;font-weight:800;color:#344054;background:#f1f5f9;border-radius:999px;padding:3px 7px}.pm-human-pagination{margin:16px 0 24px;justify-content:center}.pm-role-badge{box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
@media(max-width:980px){.pm-hero-card{grid-template-columns:1fr}.pm-human-dashboard{grid-template-columns:1fr}.pm-section-head{flex-direction:column}.pm-audit-item{grid-template-columns:1fr}.pm-human-filters .pm-wide-field input{min-width:220px}.pm-publication-head{flex-direction:column}.pm-score-box{width:100%;text-align:left}.pm-score-box strong,.pm-score-box span,.pm-score-box em{display:inline;margin-right:6px}.pm-link-flow-row{grid-template-columns:28px minmax(0,1fr)}}


/* STRYMO v0.3.3.7 — Publication Map Target Registry UI */

/* v0.3.3.7 — target registry / link matching UI */
.pm-target-overview {
  border-left: 4px solid #2563eb;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(255,255,255,.92));
}
.pm-target-kpis { margin-top: 12px; }
.pm-target-dashboard {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
}
.pm-target-list, .pm-edge-list {
  display: grid;
  gap: 10px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}
.pm-target-row, .pm-edge-row {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 11px 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.pm-target-row.pm-is-noise {
  opacity: .65;
  background: #f8fafc;
}
.pm-target-row-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.pm-target-row-head strong { color: #111827; }
.pm-target-row-head span:last-child { color: #64748b; font-size: 12px; }
.pm-target-row > a {
  display: block;
  color: #2563eb;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.35;
}
.pm-target-note, .pm-match-note {
  margin-top: 6px;
  font-size: 12px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 6px 8px;
}
.pm-candidate-note {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}
.pm-target-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #334155;
  background: #e2e8f0;
  border: 1px solid rgba(148,163,184,.45);
  white-space: nowrap;
}
.pm-target-ingestable { background: #fef3c7; color: #92400e; border-color: #f59e0b55; }
.pm-target-known_publication { background: #dcfce7; color: #166534; border-color: #22c55e55; }
.pm-target-source_reference_target,
.pm-target-known_source_external_article { background: #dbeafe; color: #1d4ed8; border-color: #3b82f655; }
.pm-target-telegram_post,
.pm-target-telegram_channel { background: #e0f2fe; color: #0369a1; border-color: #38bdf855; }
.pm-target-social_profile,
.pm-target-self_homepage { background: #f1f5f9; color: #64748b; border-color: #cbd5e1; }
.pm-target-media_asset,
.pm-target-document_asset { background: #f3e8ff; color: #7e22ce; border-color: #a855f755; }
.pm-edge-sources {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}
.pm-edge-sources strong {
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 999px;
}
.pm-edge-titles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.pm-edge-titles a {
  color: #111827;
  font-weight: 600;
  line-height: 1.3;
}
.pm-edge-titles span { color: #94a3b8; font-weight: 800; }
.pm-flow-top .pm-target-badge,
.pm-audit-target .pm-target-badge { margin-left: 4px; }
@media (max-width: 980px) {
  .pm-target-dashboard { grid-template-columns: 1fr; }
  .pm-edge-titles { grid-template-columns: 1fr; }
  .pm-edge-titles span { display: none; }
}


/* STRYMO v0.3.3.7c — Target Registry Review UI */
.pm-target-review-panel{border-left:4px solid #f59e0b;background:linear-gradient(135deg,rgba(245,158,11,.08),rgba(255,255,255,.96))}.pm-target-review-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px;margin:12px 0}.pm-target-review-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#667085;font-weight:700}.pm-target-review-filters label.check{flex-direction:row;align-items:center;color:#344054;margin-bottom:7px}.pm-target-review-filters input,.pm-target-review-filters select{min-height:35px}.pm-target-review-filters .pm-wide-field input{min-width:320px}.pm-target-scope-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:10px 0 12px}.pm-target-scope{display:flex;justify-content:center;align-items:center;text-align:center;text-decoration:none;background:#fff;border:1px solid #dbe5f2;color:#344054;border-radius:999px;padding:8px 10px;font-size:13px}.pm-target-scope.active{background:#111827;color:#fff;border-color:#111827}.pm-review-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:10px 0 14px}.pm-review-kpi{display:flex;align-items:center;justify-content:space-between;gap:8px;text-decoration:none;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:9px 10px;color:#344054}.pm-review-kpi strong{font-size:18px;color:#111827}.pm-review-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;white-space:nowrap;background:#e2e8f0;color:#334155;border:1px solid #cbd5e1}.pm-review-unreviewed{background:#f8fafc;color:#64748b}.pm-review-watch{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.pm-review-source_candidate{background:#fffbeb;color:#92400e;border-color:#fde68a}.pm-review-approved{background:#ecfdf3;color:#166534;border-color:#bbf7d0}.pm-review-ignore{background:#fef2f2;color:#991b1b;border-color:#fecaca}.pm-target-review-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:12px 0}.pm-target-kind-cloud{display:flex;flex-wrap:wrap;gap:8px}.pm-target-kind-chip{display:flex;flex-direction:column;gap:4px;text-decoration:none;background:#f8fafc;border:1px solid #e2e8f0;border-radius:13px;padding:8px;color:#344054}.pm-target-kind-chip span{font-size:12px;color:#64748b}.pm-target-review-list{display:grid;gap:12px}.pm-target-review-card{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:14px;background:#fff;border:1px solid #dbe5f2;border-radius:18px;padding:14px;box-shadow:0 1px 3px rgba(16,24,40,.05)}.pm-target-review-card.pm-is-noise{opacity:.72;background:#f8fafc}.pm-target-review-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:7px}.pm-target-review-head strong{font-size:15px;color:#111827}.pm-target-review-head span:last-child{font-size:12px;color:#64748b}.pm-target-review-url{display:block;font-weight:800;color:#2563eb;overflow-wrap:anywhere;line-height:1.35;margin-bottom:8px}.pm-target-review-metrics{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.pm-target-review-metrics span{display:inline-flex;gap:4px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:4px 8px;font-size:12px;color:#475569}.pm-target-review-metrics strong{color:#111827}.pm-target-review-note{margin-top:7px;border:1px solid #fde68a;background:#fffbeb;color:#78350f;border-radius:10px;padding:7px 9px;font-size:12px}.pm-target-review-actions{display:flex;flex-direction:column;gap:7px;align-self:start;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px}.pm-target-review-actions input[type=text]{width:100%;min-height:34px;border:1px solid #cbd5e1;border-radius:10px;padding:6px 8px;font-size:12px}.pm-review-btn{border:1px solid #cbd5e1;background:#fff;color:#344054;border-radius:10px;padding:7px 9px;font-size:12px;font-weight:800;cursor:pointer}.pm-review-btn-watch{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.pm-review-btn-source_candidate{border-color:#fde68a;background:#fffbeb;color:#92400e}.pm-review-btn-approved{border-color:#bbf7d0;background:#ecfdf3;color:#166534}.pm-review-btn-ignore{border-color:#fecaca;background:#fef2f2;color:#991b1b}.pm-review-btn-unreviewed{background:#fff;color:#64748b}.pm-target-review-list-panel .pm-section-head{margin-bottom:10px}
@media(max-width:980px){.pm-target-review-grid{grid-template-columns:1fr}.pm-target-review-card{grid-template-columns:1fr}.pm-target-review-actions{display:grid;grid-template-columns:1fr 1fr}.pm-target-review-actions input[type=text]{grid-column:1/-1}.pm-target-review-filters .pm-wide-field input{min-width:220px}}
