/* Wordstat semantic collector */
.wordstat-collector{display:grid;gap:14px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff}.wordstat-collector__head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.wordstat-collector__head h3{margin:0;font-size:18px}.wordstat-collector__head p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.wordstat-collector__head .integration-state{min-width:260px;padding:10px 12px}.wordstat-collector__settings{display:grid;grid-template-columns:minmax(180px,1fr) minmax(200px,1.25fr) minmax(130px,.55fr);gap:10px}.wordstat-collector__settings label,.wordstat-masks{margin:0}.wordstat-masks>span{display:block;margin-bottom:6px}.wordstat-masks textarea{width:100%;min-height:200px;padding:12px;border:1px solid var(--line);border-radius:10px;resize:vertical;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;outline:0}.wordstat-masks textarea:focus{border-color:#7fa84c;box-shadow:0 0 0 3px rgba(121,170,45,.12)}.wordstat-collector__footer{display:flex;align-items:center;gap:16px}.wordstat-collector__footer>span{margin-left:auto;color:var(--muted);font-size:11px}.wordstat-existing-tool{border:1px solid var(--line);border-radius:12px;background:#fff}.wordstat-existing-tool>summary{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;cursor:pointer;list-style:none}.wordstat-existing-tool>summary::-webkit-details-marker{display:none}.wordstat-existing-tool>summary span,.wordstat-existing-tool>summary small{display:block}.wordstat-existing-tool>summary small{margin-top:2px;color:var(--muted);font-size:10px;font-weight:400}.wordstat-existing-tool>summary i{font-style:normal;font-size:18px;transition:transform .16s ease}.wordstat-existing-tool[open]>summary i{transform:rotate(180deg)}.wordstat-existing-tool__body{display:grid;gap:14px;padding:4px 16px 16px}.integration-provider-label{display:flex;align-items:baseline;gap:10px}.integration-provider-label b{font-size:14px}.integration-provider-label span{color:var(--muted);font-size:10px}.integration-divider{height:1px;margin:4px 0;background:var(--line)}.integration-form--xmlstock{grid-template-columns:minmax(280px,1fr) auto}.integration-help a{color:#4f7f13;text-decoration:underline;text-underline-offset:2px}
@media(max-width:900px){.wordstat-collector__head{flex-direction:column}.wordstat-collector__head .integration-state{width:100%;min-width:0}.wordstat-collector__settings{grid-template-columns:1fr}.wordstat-collector__footer{flex-wrap:wrap}.wordstat-collector__footer>span{margin-left:0}.integration-form--xmlstock{grid-template-columns:1fr}}
:root{--ink:#171a1f;--muted:#687079;--paper:#f4f2ec;--surface:#fff;--line:#d9d6ce;--accent:#b6ff3b;--accent-dark:#527d00;--blue:#5e5bff;--danger:#b83e39;--shadow:0 20px 70px rgba(25,28,31,.12);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--paper);color:var(--ink)}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}.muted{color:var(--muted)}[hidden]{display:none!important}.eyebrow{margin:0 0 10px;font-size:11px;line-height:1.2;letter-spacing:.16em;font-weight:800;color:#6b7465}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid var(--line);border-radius:10px;background:#fff;text-decoration:none;font-size:13px;font-weight:750;white-space:nowrap}.button:hover{border-color:#93978f}.button--primary{background:var(--accent);border-color:#9fe324;color:#172006}.button--dark{background:var(--ink);border-color:var(--ink);color:#fff}.button--ghost{background:rgba(255,255,255,.68)}.icon-button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:22px;line-height:1}.text-button{padding:0;border:0;background:transparent;color:#596151;font-size:12px;text-decoration:underline;text-underline-offset:3px}.form-error{color:var(--danger);font-size:13px}
.hero{max-width:1400px;margin:0 auto;padding:72px 38px 62px;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(420px,.94fr);gap:70px;align-items:center}.hero h1{margin:0;font-size:clamp(58px,7vw,106px);line-height:.88;letter-spacing:-.07em;font-weight:850}.hero h1 em{font-family:Georgia,serif;font-weight:400;color:#5a6158}.hero__copy>p:not(.eyebrow){max-width:700px;margin:30px 0 0;font-size:18px;line-height:1.6;color:#525960}.hero__actions{display:flex;align-items:center;gap:18px;margin-top:30px}.hero__actions span{font-size:12px;color:var(--muted)}.hero__visual{position:relative;min-height:420px;padding:28px;border:1px solid #20231f;border-radius:18px;background:#20231f;color:#fff;box-shadow:var(--shadow);overflow:hidden}.hero__visual:before{content:"";position:absolute;inset:-15% 25% 50% -10%;background:radial-gradient(circle,var(--blue),transparent 62%);opacity:.8;filter:blur(12px)}.visual__top,.visual__clusters,.visual__stats{position:relative}.visual__top{display:flex;justify-content:space-between;align-items:center;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.visual__top b{padding:5px 9px;border-radius:999px;background:var(--accent);color:#172006}.visual__clusters{display:grid;gap:15px;margin:82px 0 70px}.visual__clusters i{display:block;width:var(--w);height:22px;border:1px solid rgba(255,255,255,.3);border-radius:5px;background:linear-gradient(90deg,var(--accent),rgba(182,255,59,.12))}.visual__clusters i:nth-child(even){margin-left:auto;background:linear-gradient(90deg,#7774ff,rgba(119,116,255,.15))}.visual__stats{display:grid;grid-template-columns:1fr 1fr;gap:16px}.visual__stats span{padding:15px;border-top:1px solid rgba(255,255,255,.2);font-size:11px;color:#aeb3ad}.visual__stats b{display:block;margin-bottom:3px;color:#fff;font-size:17px}
.principles{max-width:1400px;margin:0 auto 90px;padding:0 38px;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.principles article{padding:30px;background:#fff}.principles span{font-family:Georgia,serif;font-size:24px;color:#9aa092}.principles h2{margin:26px 0 9px;font-size:18px}.principles p{margin:0;color:var(--muted);line-height:1.55;font-size:14px}
.workspace{height:calc(100vh - 67px);min-height:680px;border-top:1px solid var(--line);display:grid;grid-template-columns:260px minmax(0,1fr);background:#eeece6}.sidebar{min-height:0;padding:24px 18px 18px;border-right:1px solid var(--line);background:#e8e5dd;display:flex;flex-direction:column}.sidebar__head{display:flex;justify-content:space-between;align-items:center;padding:0 4px 14px}.sidebar__head h2{margin:0;font-size:22px}.project-list{min-height:0;overflow:auto;display:grid;align-content:start;gap:7px}.project-card{width:100%;padding:13px 12px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left}.project-card:hover{background:rgba(255,255,255,.6)}.project-card.is-active{background:#fff;border-color:#cac8c0;box-shadow:0 6px 20px rgba(30,31,29,.05)}.project-card b,.project-card span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card b{font-size:13px}.project-card span{margin-top:4px;color:var(--muted);font-size:11px}.sidebar__footer{margin-top:auto;padding:16px 4px 0;display:flex;align-items:center;gap:8px;color:var(--muted)}.worker-dot{width:8px;height:8px;border-radius:50%;background:#9ca29a}.worker-dot.is-ok{background:#70a91c;box-shadow:0 0 0 4px rgba(112,169,28,.12)}
.main-panel{min-width:0;min-height:0;overflow:auto}.welcome{max-width:640px;margin:12vh auto;padding:56px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.welcome h2{margin:0 0 15px;font-size:36px;letter-spacing:-.035em}.welcome>p:not(.eyebrow){color:var(--muted);line-height:1.65}.welcome .button{margin-top:15px}.project-workspace{padding:24px;min-width:980px}.project-header{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:18px}.project-header h2{margin:0;font-size:30px;letter-spacing:-.035em}.project-header p{margin-bottom:0}.project-header__actions{display:flex;gap:8px}.file-button input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-bottom:12px}.stats-grid article{padding:17px 18px;border:1px solid var(--line);border-radius:10px;background:#fff}.stats-grid span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.07em}.stats-grid strong{display:block;margin-top:6px;font-size:24px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.job-panel{margin-bottom:12px;padding:14px 16px;border:1px solid #a8c774;border-radius:10px;background:#f4ffe4}.job-panel__head{display:flex;justify-content:space-between;gap:20px}.job-panel__head b,.job-panel__head span{display:block}.job-panel__head span{margin-top:2px;color:#5e6951;font-size:12px}.progress{height:6px;margin:12px 0 5px;border-radius:999px;background:#dce7c9;overflow:hidden}.progress i{display:block;width:0;height:100%;background:#72a91f;transition:width .25s}.job-panel small{color:#5e6951;font-variant-numeric:tabular-nums}
.data-shell{height:calc(100vh - 300px);min-height:440px;display:grid;grid-template-columns:240px minmax(740px,1fr);border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.cluster-panel{min-height:0;padding:17px 12px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#f8f7f3}.cluster-panel__head{display:flex;align-items:flex-start;justify-content:space-between;padding:0 4px 10px}.cluster-panel h3{margin:0}.cluster-panel input,.filters input,.filters select,.cluster-panel select,.bulk-bar select{height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 10px;color:var(--ink);outline:none}.cluster-panel input:focus,.filters input:focus,.filters select:focus{border-color:#7975ff;box-shadow:0 0 0 3px rgba(94,91,255,.1)}.cluster-list{min-height:0;margin-top:9px;overflow:auto;display:grid;align-content:start;gap:3px}.cluster-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;padding:9px 8px;border:0;border-radius:7px;background:transparent;text-align:left}.cluster-item:hover,.cluster-item.is-active{background:#fff}.cluster-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.cluster-item b{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.keyword-panel{min-width:0;min-height:0;display:flex;flex-direction:column}.filters{padding:11px;display:grid;grid-template-columns:minmax(240px,1fr) repeat(3,auto);gap:8px;border-bottom:1px solid var(--line)}.search-field{position:relative}.search-field span{position:absolute;left:12px;top:7px;color:#777}.filters .search-field input{width:100%;padding-left:32px}.bulk-bar{min-height:44px;padding:7px 12px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #cbd9af;background:#f4ffe4;font-size:12px}.bulk-bar button{height:30px;padding:0 10px;border:1px solid #bbc9a2;border-radius:7px;background:#fff}.bulk-bar select{height:30px}.table-wrap{min-height:0;overflow:auto;flex:1;overscroll-behavior:contain}table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}thead{position:sticky;top:0;z-index:2}th{padding:10px 9px;background:#f3f2ee;color:#666e64;border-bottom:1px solid var(--line);text-align:left;font-size:10px;letter-spacing:.06em;text-transform:uppercase}td{height:43px;padding:7px 9px;border-bottom:1px solid #eceae4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}tbody tr:hover td{background:#fafbf7}tbody tr.is-excluded td{color:#999;text-decoration-color:#bbb;background:#faf8f6}.check{width:38px;text-align:center}th:nth-child(3),td:nth-child(3){width:110px;text-align:right;font-variant-numeric:tabular-nums}th:nth-child(4),td:nth-child(4){width:130px}th:nth-child(5),td:nth-child(5){width:220px}th:nth-child(6),td:nth-child(6){width:105px}.intent,.status-pill{display:inline-flex;max-width:100%;padding:4px 7px;border-radius:999px;background:#efeee9;font-size:10px;text-overflow:ellipsis;overflow:hidden}.intent--transactional{background:#efffd9;color:#426a00}.intent--commercial{background:#e9e8ff;color:#4b47a6}.intent--informational{background:#e6f5ff;color:#23627e}.status-pill--excluded{background:#f7e9e8;color:#9a3c37}.empty-cell{height:180px;text-align:center!important;color:var(--muted);font-size:13px}.pagination{min-height:48px;padding:8px 12px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.pagination>div{display:flex;align-items:center;gap:8px}.pagination button{width:30px;height:30px;border:1px solid var(--line);border-radius:7px;background:#fff}.pagination input{width:60px;height:30px;border:1px solid var(--line);border-radius:7px;text-align:center}.pagination>label{justify-self:end}.pagination select{height:30px;border:1px solid var(--line);border-radius:7px;background:#fff}
dialog{width:min(560px,calc(100vw - 30px));padding:0;border:0;border-radius:16px;background:#fff;box-shadow:var(--shadow)}dialog::backdrop{background:rgba(21,23,26,.45);backdrop-filter:blur(3px)}dialog form{padding:25px}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start}.dialog-head h2{margin:0 0 22px;font-size:28px}.dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}dialog label{display:grid;gap:6px;margin-bottom:13px;color:#5d655d;font-size:12px}dialog input,dialog select{width:100%;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.toast{position:fixed;right:22px;bottom:22px;z-index:20;max-width:420px;padding:13px 16px;border-radius:10px;background:#20231f;color:#fff;box-shadow:var(--shadow);font-size:13px}
@media(max-width:1000px){.hero{grid-template-columns:1fr;padding:50px 22px}.hero__visual{min-height:340px}.principles{grid-template-columns:1fr;padding:0 22px}.workspace{grid-template-columns:210px}.project-workspace{padding:18px}.sidebar{padding-left:12px;padding-right:12px}}
@media(max-width:720px){.hero h1{font-size:52px}.hero__actions{align-items:flex-start;flex-direction:column}.workspace{height:auto;min-height:calc(100vh - 60px);display:block}.sidebar{min-height:auto;border-right:0;border-bottom:1px solid var(--line)}.project-list{grid-auto-flow:column;grid-auto-columns:190px;overflow-x:auto}.sidebar__footer{margin-top:10px}.main-panel{overflow-x:auto}.project-workspace{min-width:900px}.welcome{margin:40px 16px;padding:30px}.principles{margin-bottom:50px}.dialog-grid{grid-template-columns:1fr}}
.keyword-panel__heading{min-height:58px;padding:11px 14px 9px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.keyword-panel__heading .eyebrow{margin-bottom:3px}.keyword-panel__heading h3{margin:0;font-size:17px}.keyword-panel__heading>span{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
@media(min-width:721px){body.workspace-active{overflow:hidden}body.workspace-active .workspace{min-height:0}body.workspace-active .main-panel{overflow:hidden}body.workspace-active .project-workspace{height:100%;min-width:0;min-height:0;display:flex;flex-direction:column}body.workspace-active .project-header,body.workspace-active .stats-grid,body.workspace-active .job-panel{flex:0 0 auto}body.workspace-active .data-shell{height:auto;min-height:0;flex:1}}
@media(min-width:721px){body.workspace-active .project-workspace{padding:8px 10px 10px}body.workspace-active .project-header{min-height:54px;margin:0 0 7px;display:grid;grid-template-columns:minmax(150px,1fr) minmax(300px,.9fr) auto;align-items:center;gap:12px}body.workspace-active .project-header__identity{min-width:0}body.workspace-active .project-header__identity .eyebrow{margin-bottom:2px;font-size:9px}body.workspace-active .project-header__identity h2{overflow:hidden;margin:0;font-size:21px;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}body.workspace-active .project-header__identity [data-project-domain]{overflow:hidden;margin:3px 0 0;font-size:10px;line-height:1;text-overflow:ellipsis;white-space:nowrap}body.workspace-active .stats-grid{min-width:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(68px,1fr));gap:0}body.workspace-active .stats-grid article{min-width:0;padding:1px 8px;border:0;border-left:1px solid var(--line);border-radius:0;background:transparent}body.workspace-active .stats-grid span{overflow:hidden;font-size:9px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}body.workspace-active .stats-grid strong{margin-top:3px;font-size:18px;line-height:1}body.workspace-active .project-header__actions{gap:5px}body.workspace-active .project-header__actions .button{min-height:34px;padding:0 10px;border-radius:8px;font-size:12px}body.workspace-active .job-panel{margin:0 0 7px;padding:7px 10px 8px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}body.workspace-active .job-panel__head{grid-column:1/-1}body.workspace-active .job-panel__head span{margin-top:0}body.workspace-active .job-panel .progress{margin:5px 0 0;height:4px}body.workspace-active .job-panel small{align-self:center}body.workspace-active .data-shell{grid-template-columns:210px minmax(740px,1fr);border-radius:8px}body.workspace-active .cluster-panel{padding:10px 8px}body.workspace-active .cluster-panel__head{padding:0 3px 7px}body.workspace-active .cluster-panel__head .eyebrow{margin-bottom:3px;font-size:9px}body.workspace-active .cluster-panel h3{font-size:15px}body.workspace-active .cluster-panel input{height:33px}body.workspace-active .cluster-list{margin-top:6px}body.workspace-active .cluster-item{padding:7px 6px}body.workspace-active .keyword-panel__heading{min-height:38px;padding:5px 10px}body.workspace-active .keyword-panel__heading .eyebrow{display:none}body.workspace-active .keyword-panel__heading h3{font-size:15px}body.workspace-active .filters{padding:6px 8px;gap:6px;grid-template-columns:minmax(220px,1fr) repeat(3,auto)}body.workspace-active .filters input,body.workspace-active .filters select{height:34px}body.workspace-active .bulk-bar{min-height:38px;padding:4px 9px}body.workspace-active th{padding:8px 8px}body.workspace-active td{height:37px;padding:5px 8px}body.workspace-active .pagination{min-height:40px;padding:5px 9px}body.workspace-active .pagination button,body.workspace-active .pagination input,body.workspace-active .pagination select{height:27px}body.workspace-active .pagination button{width:27px}}
.icon-button--compact{width:28px;height:28px;border-radius:7px;font-size:18px}.sidebar{padding:16px 12px 12px}.sidebar__head{padding:0 2px 8px}.sidebar__head h2{font-size:17px}.project-list{gap:2px}.project-card{padding:8px 9px;border-radius:7px}.project-card b{font-size:12px}.project-card span{margin-top:2px;font-size:10px}.sidebar__footer{padding-top:10px}
.cluster-panel__actions{display:flex;align-items:center;gap:8px}.cluster-panel__head{align-items:center}
.keyword-panel{position:relative}.bulk-bar{position:absolute;z-index:5;top:0;right:0;left:0;height:61px;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .12s}.bulk-bar.is-active{visibility:visible;opacity:1;pointer-events:auto}
th:nth-child(6),td:nth-child(6){width:128px}.status-cell__inner{display:flex;align-items:center;justify-content:space-between;gap:6px}.row-menu-button{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;padding:0;border:0;border-radius:6px;background:transparent;color:#676d65;font-size:18px;line-height:1;opacity:.45}.row-menu-button:hover,.row-menu-button:focus{background:#ebece6;color:#171a1f;opacity:1}
.keyword-context{position:fixed;z-index:60;width:min(286px,calc(100vw - 16px));padding:6px;border:1px solid #cbc9c1;border-radius:10px;background:#fff;box-shadow:0 18px 55px rgba(25,28,31,.22);font-size:12px}.keyword-context__head{padding:9px 10px 8px;border-bottom:1px solid #eceae4}.keyword-context__head b,.keyword-context__head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.keyword-context__head small{margin-top:3px;color:var(--muted);font-size:10px}.keyword-context>button{width:100%;padding:9px 10px;border:0;border-radius:7px;background:transparent;text-align:left}.keyword-context>button:hover,.keyword-context>button:focus{background:#f1f2ed}.keyword-context>label{display:grid;gap:5px;padding:8px 10px 6px;color:var(--muted);font-size:10px}.keyword-context select{width:100%;height:34px;padding:0 8px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:12px}
@media(min-width:721px){body.workspace-active .bulk-bar{height:47px}body.workspace-active .cluster-panel__actions{gap:6px}}
.bulk-bar__all{border-color:#9bcf42!important;background:#eaffc8!important}.cluster-row{display:grid;grid-template-columns:minmax(0,1fr) 25px;align-items:center;border-radius:7px}.cluster-row:hover,.cluster-row.is-active{background:#fff}.cluster-row .cluster-item{min-width:0}.cluster-menu-button{display:grid;place-items:center;width:25px;height:25px;padding:0;border:0;border-radius:6px;background:transparent;color:#777;font-size:17px;opacity:.45}.cluster-menu-button:hover,.cluster-menu-button:focus{background:#e9eae4;color:#171a1f;opacity:1}
.cluster-context{position:fixed;z-index:61;width:min(286px,calc(100vw - 16px));padding:6px;border:1px solid #cbc9c1;border-radius:10px;background:#fff;box-shadow:0 18px 55px rgba(25,28,31,.22);font-size:12px}.cluster-context>button{width:100%;padding:9px 10px;border:0;border-radius:7px;background:transparent;text-align:left}.cluster-context>button:hover,.cluster-context>button:focus{background:#f1f2ed}.cluster-context>label{display:grid;gap:5px;padding:8px 10px 6px;color:var(--muted);font-size:10px}.cluster-context select{width:100%;height:34px;padding:0 8px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:12px}.cluster-context .context-danger{color:var(--danger)}.cluster-context button:disabled{cursor:not-allowed;opacity:.4}
.bulk-bar{overflow:hidden}.bulk-bar b{flex:0 0 auto}.bulk-bar select{min-width:160px;max-width:260px}
.workspace{grid-template-columns:210px minmax(0,1fr)}
.icon-button--add{display:inline-grid;place-items:center;padding:0;font-size:0;line-height:0}.icon-button--add::before{content:"+";display:block;font-size:20px;font-weight:500;line-height:1;transform:translateY(-1px)}
.project-title-line{display:flex;min-width:0;align-items:flex-start;gap:5px}.project-title-line h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-title-line sup{flex:0 0 auto;max-width:180px;overflow:hidden;color:var(--muted);font-size:9px;font-weight:600;line-height:1;text-overflow:ellipsis;white-space:nowrap}
.project-summary{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.project-search-context{display:flex;align-items:center;gap:6px;min-width:0;padding-right:4px;color:#596151;font-size:11px;white-space:nowrap}.search-engine-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:800}.search-engine-icon.is-yandex{color:#e12727}.search-engine-icon.is-google{background:linear-gradient(135deg,#4285f4 20%,#34a853 40%,#fbbc05 64%,#ea4335 82%);background-clip:text;-webkit-background-clip:text;color:transparent}
.data-shell{grid-template-columns:280px minmax(0,1fr);border:0;border-radius:0;background:transparent}.cluster-panel{padding:0 12px 0 0;background:transparent}.keyword-panel{background:#fff}.cluster-list__empty{padding:6px 8px}.cluster-row--system{grid-template-columns:minmax(0,1fr)}.cluster-row--system .cluster-item span{font-weight:700}
.keyword-context>button:first-child,.cluster-context>button:first-child{margin-top:0}
@media(min-width:721px){body.workspace-active .project-header{grid-template-columns:minmax(170px,.7fr) minmax(470px,1.45fr) auto}body.workspace-active .project-summary{gap:5px}body.workspace-active .data-shell{grid-template-columns:270px minmax(0,1fr)}body.workspace-active .cluster-panel{padding:0 10px 0 0}body.workspace-active .project-title-line sup{margin-top:0}}
@media(max-width:1000px) and (min-width:721px){.workspace{grid-template-columns:190px minmax(0,1fr)}body.workspace-active .project-header{grid-template-columns:minmax(150px,.65fr) minmax(430px,1.35fr) auto}body.workspace-active .data-shell{grid-template-columns:250px minmax(0,1fr)}}
.keyword-context .context-danger,.bulk-bar .context-danger{color:var(--danger)}.keyword-context .context-danger:hover,.keyword-context .context-danger:focus,.bulk-bar .context-danger:hover,.bulk-bar .context-danger:focus{background:#fff0ed}
@media(min-width:721px){body.workspace-active .project-workspace{padding:8px 0 0 10px}body.workspace-active .project-header,body.workspace-active .job-panel{margin-right:10px}}
body.is-checkbox-dragging,body.is-checkbox-dragging *{user-select:none!important}input[data-keyword-id]{cursor:cell;touch-action:none}
.frequency-heading{padding:0!important}.frequency-heading>button{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title icon" "value icon";align-items:center;width:100%;height:100%;min-height:45px;padding:5px 9px;border:0;background:transparent;color:inherit;text-align:right;text-transform:inherit;letter-spacing:inherit}.frequency-heading>button span{grid-area:title;font-size:9px}.frequency-heading>button small{grid-area:value;margin-top:2px;color:#242923;font-size:10px;font-weight:750;letter-spacing:0;text-transform:none}.frequency-heading>button i{grid-area:icon;margin-left:5px;font-style:normal;font-size:13px}.frequency-heading>button:hover,.frequency-heading>button[aria-expanded="true"]{background:#e9e8e2;color:#343832}
.frequency-menu{position:fixed;z-index:65;width:min(290px,calc(100vw - 16px));padding:6px;border:1px solid #cbc9c1;border-radius:11px;background:#fff;box-shadow:0 18px 55px rgba(25,28,31,.22)}.frequency-menu button{display:grid;grid-template-columns:minmax(0,1fr) 18px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;text-align:left}.frequency-menu button:hover,.frequency-menu button:focus{background:#f1f2ed}.frequency-menu span,.frequency-menu small{grid-column:1}.frequency-menu span{font-size:12px;font-weight:750}.frequency-menu small{margin-top:2px;color:var(--muted);font-size:10px}.frequency-menu i{grid-column:2;grid-row:1/3;align-self:center;color:#648f20;font-style:normal;font-weight:800}
.confirm-dialog{width:min(455px,calc(100vw - 30px));overflow:hidden}.confirm-dialog form{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 14px;padding:24px}.confirm-dialog__icon{display:grid;place-items:center;grid-row:1;width:42px;height:42px;border-radius:13px;background:#eefbd9;color:#527c15;font-size:20px;font-weight:850}.confirm-dialog__icon.is-danger{background:#fff0ed;color:#a33d35}.confirm-dialog__copy h2{margin:1px 0 7px;font-size:20px;letter-spacing:-.025em}.confirm-dialog__copy p{margin:0;color:#62685f;line-height:1.55;font-size:13px}.confirm-dialog .dialog-actions{grid-column:1/-1;margin-top:17px}.confirm-dialog .button.is-danger{border-color:#a33d35;background:#a33d35;color:#fff}.confirm-dialog .button.is-danger:hover{background:#8f302c}
@media(min-width:721px){body.workspace-active .frequency-heading>button{min-height:37px}}
.stats-line{display:flex;min-width:0;align-items:baseline;gap:6px;white-space:nowrap;font-variant-numeric:tabular-nums}.stats-line__excluded{display:inline-flex;align-items:baseline;gap:6px}.stats-line__excluded[hidden]{display:none}.stats-line__slash{color:#aaaca6;font-size:16px;font-weight:400}.stat-figure{position:relative;display:inline-flex;align-items:center;border-radius:5px;font-size:18px;font-weight:850;line-height:1;letter-spacing:-.035em;cursor:help;outline:none}.stat-figure--active{color:#588c16}.stat-figure--excluded{color:#c3453e}.stat-figure--total{color:#20231f}.stats-line__caption{color:#656c63;font-size:11px}.stats-line__caption b{color:#20231f;font-size:12px}
.stat-figure::before,.stat-figure::after{position:absolute;left:50%;z-index:80;pointer-events:none;opacity:0;transition:opacity .12s ease,transform .12s ease}.stat-figure::before{content:"";top:calc(100% + 4px);width:8px;height:8px;background:#20231f;transform:translate(-50%,3px) rotate(45deg)}.stat-figure::after{content:attr(data-tooltip);top:calc(100% + 8px);padding:7px 9px;border-radius:7px;background:#20231f;color:#fff;box-shadow:0 8px 24px rgba(25,28,31,.2);font-size:11px;font-weight:600;line-height:1.2;letter-spacing:0;white-space:nowrap;transform:translate(-50%,3px)}.stat-figure:hover::before,.stat-figure:hover::after,.stat-figure:focus-visible::before,.stat-figure:focus-visible::after{opacity:1;transform:translate(-50%,0) rotate(45deg)}.stat-figure:hover::after,.stat-figure:focus-visible::after{transform:translate(-50%,0)}
@media(max-width:1100px) and (min-width:721px){.stats-line__caption{font-size:10px}.stat-figure{font-size:16px}.stats-line{gap:4px}.stats-line__excluded{gap:4px}}

/* Aligned filters, sortable headings and custom selectors */
.filters{position:relative;z-index:10;grid-template-columns:38px minmax(0,1fr) 110px 130px 220px 128px;gap:0;padding:0;background:#f8f7f3}.filter-slot{min-width:0;min-height:46px;padding:5px 6px;display:flex;align-items:center;border-right:1px solid #eceae4}.filter-slot:last-child{border-right:0}.filter-slot--check,.filter-slot--frequency{padding:0}.filter-slot--query{padding-left:9px}.search-field{display:block;width:100%}.search-field svg,.cluster-search-field svg{position:absolute;left:10px;top:50%;width:16px;height:16px;transform:translateY(-50%);fill:none;stroke:#757b72;stroke-width:1.7;stroke-linecap:round}.filters .search-field input{width:100%;height:34px;padding:0 10px 0 33px;border-color:transparent;background:#eeede8}.filters .search-field input:hover{background:#e9e8e2}.filters .search-field input:focus{border-color:#7975ff;background:#fff}.bulk-bar{z-index:20;overflow:visible}
.column-sort{display:flex;align-items:center;gap:6px;width:100%;min-height:24px;padding:0;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;text-transform:inherit}.column-sort:hover,.column-sort:focus-visible{color:#272b26}.column-sort.is-sorted{color:#343832}.sort-indicator{display:grid;place-items:center;flex:0 0 17px;width:17px;height:17px;border-radius:5px;background:#dedfd8;color:#3e443b;font-size:12px;font-style:normal;font-weight:900;line-height:1}.frequency-heading{padding:0 5px!important}.frequency-heading__inner{display:flex;align-items:center;width:100%;height:100%;min-height:45px}.frequency-heading .column-sort{justify-content:flex-end;min-width:0;padding:0 3px;text-align:right}.header-menu-button{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#747a70}.header-menu-button:hover,.header-menu-button:focus-visible,.header-menu-button[aria-expanded="true"]{border-color:#cfcec7;background:#fff;color:#262a25;box-shadow:0 2px 8px rgba(30,34,29,.08)}.menu-glyph{display:block;width:3px;height:3px;border-radius:50%;background:currentColor;box-shadow:6px 0 currentColor,0 6px currentColor,6px 6px currentColor;transform:translate(-3px,-3px);transition:transform .16s ease}.custom-select.is-open .menu-glyph,.header-menu-button[aria-expanded="true"] .menu-glyph{transform:translate(-3px,-3px) rotate(45deg)}
.custom-select{position:relative;width:100%;min-width:0}.custom-select__native{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}.custom-select__trigger{display:grid;grid-template-columns:minmax(0,1fr) 14px;align-items:center;gap:7px;width:100%;height:34px;padding:0 10px;border:1px solid transparent;border-radius:8px;background:#eeede8;color:#353a34;font-size:11px;text-align:left}.custom-select__trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-select__trigger:hover{background:#e9e8e2}.custom-select__trigger:focus-visible,.custom-select.is-open .custom-select__trigger{border-color:#7975ff;background:#fff;box-shadow:0 0 0 3px rgba(94,91,255,.1);outline:0}.custom-select__trigger:disabled{cursor:not-allowed;opacity:.45}.custom-select__menu{position:absolute;top:calc(100% + 5px);right:0;left:0;z-index:75;display:none;max-height:280px;min-width:max(100%,150px);padding:5px;overflow:auto;border:1px solid #cbc9c1;border-radius:10px;background:#fff;box-shadow:0 16px 44px rgba(25,28,31,.2)}.custom-select.is-open .custom-select__menu{display:block}.custom-select.opens-up .custom-select__menu{top:auto;bottom:calc(100% + 5px)}.custom-select__menu button{display:grid;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:34px;padding:6px 8px;border:0;border-radius:7px;background:transparent;color:#30352f;font-size:11px;text-align:left}.custom-select__menu button:hover,.custom-select__menu button:focus-visible{background:#f1f2ed;outline:0}.custom-select__menu button[aria-selected="true"]{background:#eef8df;color:#365d08;font-weight:750}.custom-select__menu button:disabled{opacity:.45}.custom-option__marker,.frequency-option__marker{display:block;width:8px;height:8px;border:1px solid #b7bbb2;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px #fff}.custom-select__menu button[aria-selected="true"] .custom-option__marker,.frequency-menu button[aria-checked="true"] .frequency-option__marker{border-color:#6f9f25;background:#79aa2d}.bulk-bar .custom-select{min-width:170px;max-width:260px}.bulk-bar .custom-select__trigger{height:30px;border-color:#bbc9a2;background:#fff}.pagination>label{display:flex;align-items:center;gap:6px}.pagination .custom-select{display:inline-block;width:76px}.pagination .custom-select__trigger{height:30px;border-color:var(--line);background:#fff}.pagination .custom-select__menu{right:0;left:auto;width:92px}.dialog-grid .custom-select__trigger{height:42px;border-color:var(--line);background:#fff}.keyword-context .custom-select__trigger,.cluster-context .custom-select__trigger{height:34px;border-color:var(--line);background:#fff}.keyword-context .custom-select__menu,.cluster-context .custom-select__menu{min-width:100%}
.frequency-menu button{grid-template-columns:16px minmax(0,1fr);gap:9px;align-items:center}.frequency-menu button>span{grid-column:2;display:grid;font-size:12px;font-weight:750}.frequency-menu button>span small{grid-column:auto;margin-top:2px;color:var(--muted);font-size:10px;font-weight:500}.frequency-menu .frequency-option__marker{grid-column:1;grid-row:1;align-self:center}.frequency-menu button[aria-checked="true"]{background:#eef8df;color:#365d08}
.cluster-panel__title{display:flex;align-items:center;gap:5px}.cluster-search-toggle{display:grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#6c7269}.cluster-search-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.cluster-search-toggle:hover,.cluster-search-toggle:focus-visible,.cluster-search-toggle.is-active{border-color:#d2d1ca;background:#fff;color:#292d28;box-shadow:0 2px 8px rgba(30,34,29,.08)}.cluster-search-reveal{display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-7px);transition:grid-template-rows .2s ease,opacity .16s ease,transform .2s ease}.cluster-search-reveal.is-open{grid-template-rows:1fr;opacity:1;transform:none}.cluster-search-reveal__inner{min-height:0;overflow:hidden}.cluster-search-field{position:relative;display:block;padding:2px 0}.cluster-search-field input{width:100%;padding:0 31px 0 31px!important}.cluster-search-field>button{position:absolute;right:5px;top:50%;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#7b8078;font-size:17px;line-height:1;transform:translateY(-50%)}.cluster-search-field>button:hover,.cluster-search-field>button:focus-visible{background:#e8e8e2;color:#292d28}.cluster-menu-button{border:1px solid transparent}.cluster-menu-button:hover,.cluster-menu-button:focus-visible{border-color:#cbc9c1;background:#fff;color:#171a1f;box-shadow:0 2px 8px rgba(30,34,29,.12);opacity:1;outline:0}
@media(min-width:721px){body.workspace-active .filters{grid-template-columns:38px minmax(0,1fr) 110px 130px 220px 128px;gap:0;padding:0}body.workspace-active .filter-slot{min-height:38px;padding-top:2px;padding-bottom:2px}body.workspace-active .filters input,body.workspace-active .custom-select__trigger{height:34px}body.workspace-active .frequency-heading__inner{min-height:37px}}

/* Unified table controls */
.column-heading-row th{height:68px;padding:5px 6px;vertical-align:middle;background:#f3f2ee}.column-heading-row .check{padding:0}.column-head-control{display:grid;grid-template-rows:21px 30px;align-content:center;gap:3px;min-width:0}.column-head-control--solo{display:flex;height:54px;align-items:center}.column-sort{min-height:20px;gap:5px;border-radius:4px;transition:color .14s ease}.column-sort:hover,.column-sort:focus-visible{color:#171b17;outline:0}.column-sort.is-sorted{color:#477317}.column-sort.is-sorted>span{font-weight:850}.sort-indicator{display:inline;flex:0 0 auto;width:auto;height:auto;border-radius:0;background:transparent;color:#63971c;font-size:12px;font-weight:900;line-height:1}.column-heading-row th[aria-sort="ascending"],.column-heading-row th[aria-sort="descending"]{background:linear-gradient(180deg,#eef3e7 0,#f3f2ee 72%)}
.column-head-control .search-field{position:relative;display:block}.column-head-control .search-field svg{left:8px;width:14px;height:14px}.column-head-control .search-field input{width:100%;height:30px;padding:0 8px 0 28px;border:1px solid transparent;border-radius:7px;background:#e9e8e2;color:var(--ink);font-size:11px;letter-spacing:0;text-transform:none;outline:0}.column-head-control .search-field input:hover{background:#e4e3dd}.column-head-control .search-field input:focus{border-color:#7975ff;background:#fff;box-shadow:0 0 0 3px rgba(94,91,255,.09)}.column-head-control .custom-select__trigger{height:30px;padding:0 8px;background:#e9e8e2}.column-head-control .custom-select__trigger:hover{background:#e4e3dd}
.frequency-heading{padding:5px 6px!important}.frequency-control{justify-content:flex-end!important;height:34px;padding:0 5px!important}.frequency-chevron{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;margin-left:1px;border-radius:6px;color:#6f756c;transition:background .14s ease,color .14s ease}.frequency-chevron:hover{background:#dedfd8;color:#222722}.frequency-chevron svg,.select-chevron{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}.frequency-control[aria-expanded="true"] .frequency-chevron{background:#fff;color:#4f7f13}.frequency-control[aria-expanded="true"] .frequency-chevron svg,.custom-select.is-open .select-chevron{transform:rotate(180deg)}.menu-glyph,.header-menu-button{display:none!important}
.custom-select__trigger{grid-template-columns:minmax(0,1fr) 14px}.custom-option__marker,.frequency-option__marker{width:3px;height:16px;border:0;border-radius:99px;background:transparent;box-shadow:none}.custom-select__menu button[aria-selected="true"] .custom-option__marker,.frequency-menu button[aria-checked="true"] .frequency-option__marker{border:0;background:#79aa2d}.frequency-menu button{grid-template-columns:7px minmax(0,1fr)}
.bulk-bar{height:68px}.cluster-row,.cluster-row--system{grid-template-columns:minmax(0,1fr) 30px;padding-right:5px}.cluster-menu-button{margin-right:2px}.cluster-context__primary{margin-bottom:3px;color:#4f741a;font-weight:800}.context-divider{height:1px;margin:4px 7px;background:#e5e3dd}.cluster-context [hidden]{display:none!important}
@media(min-width:721px){body.workspace-active .column-head-control .custom-select__trigger{height:30px}body.workspace-active .bulk-bar{height:68px}}
.column-head-control .custom-select__trigger,.column-head-control .custom-select__menu button{text-transform:none;letter-spacing:0}

/* Release 1 toolbox */
.phrase-cell{display:flex;min-width:0;align-items:center;gap:7px}.phrase-cell>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.phrase-signals{display:flex;gap:3px;flex:0 0 auto;font-style:normal}.phrase-signals b{display:grid;place-items:center;width:16px;height:16px;border-radius:5px;background:#eef4e5;color:#4c7718;font-size:9px}.phrase-signals b.is-warning{background:#fff0d9;color:#a36000}
.toolbox-dialog{width:min(1180px,calc(100vw - 28px));height:min(780px,calc(100vh - 28px));max-width:none;overflow:hidden}.toolbox-shell{height:100%;display:grid;grid-template-columns:210px minmax(0,1fr)}.toolbox-nav{padding:22px 12px;background:#20231f;color:#fff}.toolbox-nav__brand{padding:0 10px 24px}.toolbox-nav__brand .eyebrow{color:#9ca695}.toolbox-nav__brand h2{margin:0;font-size:24px}.toolbox-nav>button{display:grid;grid-template-columns:4px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:11px 10px;border:0;border-radius:8px;background:transparent;color:#b8bdb7;text-align:left;font-size:12px}.toolbox-nav>button i{width:4px;height:16px;border-radius:99px;background:transparent}.toolbox-nav>button:hover{background:#2c302c;color:#fff}.toolbox-nav>button.is-active{background:#30352f;color:#fff;font-weight:750}.toolbox-nav>button.is-active i{background:var(--accent)}.toolbox-main{position:relative;min-width:0;overflow:auto;padding:22px 26px 28px;background:#f7f6f2}.toolbox-head{position:sticky;top:-22px;z-index:4;display:flex;justify-content:space-between;align-items:flex-start;margin:-22px -26px 22px;padding:20px 26px 16px;border-bottom:1px solid var(--line);background:rgba(247,246,242,.96);backdrop-filter:blur(8px)}.toolbox-head .eyebrow{margin-bottom:4px}.toolbox-head h2{margin:0;font-size:26px}.toolbox-loading{padding:22px;border-radius:12px;background:#fff;color:var(--muted)}.tool-panel{display:grid;gap:18px}.quality-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quality-grid article{padding:15px;border:1px solid var(--line);border-radius:10px;background:#fff}.quality-grid strong,.quality-grid span{display:block}.quality-grid strong{font-size:24px;letter-spacing:-.04em}.quality-grid span{margin-top:3px;color:var(--muted);font-size:10px}.quality-grid article.is-green strong{color:#568817}.quality-grid article.is-orange strong{color:#ad6900}.quality-grid article.is-violet strong{color:#625ed4}.tool-callout,.version-create,.page-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;border:1px solid #b9d68d;border-radius:12px;background:#f1fadc}.tool-callout b,.tool-callout p{display:block}.tool-callout p,.settings-form__head p,.tool-intro p,.version-create p,.page-map-toolbar p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.settings-form{padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}.settings-form__head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.settings-form h3,.tool-intro h3,.version-create h3,.page-map-toolbar h3{margin:0;font-size:17px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settings-grid label{margin:0}.settings-grid textarea,.page-editor-dialog textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;resize:vertical;font:inherit}.integration-state{display:flex;align-items:center;gap:11px;padding:13px 15px;border-radius:10px}.integration-state>i{width:10px;height:10px;border-radius:50%}.integration-state b,.integration-state span{display:block}.integration-state span{margin-top:2px;font-size:11px}.integration-state.is-connected{background:#eef9dd;color:#426b0c}.integration-state.is-connected>i{background:#72aa29}.integration-state.is-missing{background:#fff0e7;color:#8c4b18}.integration-state.is-missing>i{background:#dd7a2b}.tool-intro{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;padding:22px;border:1px solid var(--line);border-radius:12px;background:#fff}.tool-number{font-family:Georgia,serif;font-size:30px;color:#8f968c}.estimate-card{display:grid;grid-template-columns:1fr auto;gap:8px 20px;min-height:100px;padding:18px 20px;border:1px dashed #bbbdb6;border-radius:12px;background:#fff}.estimate-card:empty:before{content:"Сначала рассчитайте объём текущего отфильтрованного представления.";grid-column:1/-1;color:var(--muted);font-size:12px}.estimate-card span{color:var(--muted);font-size:11px}.estimate-card strong{text-align:right}.estimate-card small{grid-column:1/-1;color:var(--muted)}.tool-actions{display:flex;justify-content:flex-end;gap:8px}.serp-settings{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.serp-settings label{margin:0;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff}.page-map-toolbar>div:last-child{display:flex;gap:8px}.page-map-table{max-height:520px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.page-map-table table{table-layout:auto}.page-map-table td:first-child{min-width:190px}.page-map-table td:nth-child(4){min-width:180px}.page-map-table td:nth-child(5){min-width:220px}.page-map-table td small,.page-map-table td b{display:block}.page-map-table td small{margin-top:2px;color:var(--muted);font-size:10px}.page-map-table tr{cursor:pointer}.map-color{display:inline-block;width:7px;height:18px;margin-right:8px;border-radius:99px;vertical-align:middle;background:#9da39b}.map-color--green{background:#78aa2d}.map-color--violet{background:#7772e8}.map-color--orange{background:#e49a35}.map-color--red{background:#d35f58}.page-map-footer{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.page-map-footer div{display:flex;align-items:center;gap:9px}.page-map-footer button{width:30px;height:30px;border:1px solid var(--line);border-radius:7px;background:#fff}.version-create{background:#fff}.version-create form{display:flex;gap:8px}.version-create input{width:260px}.version-list{display:grid;gap:7px}.version-list article{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border:1px solid var(--line);border-radius:10px;background:#fff}.version-list b,.version-list span{display:block}.version-list span{margin-top:3px;color:var(--muted);font-size:10px}.page-editor-dialog{width:min(720px,calc(100vw - 30px))}.check-label{display:flex!important;align-items:center;gap:8px;padding-top:27px}.check-label input{width:18px;height:18px}.page-editor-dialog textarea{height:auto}.toolbox-dialog .custom-select__trigger{height:42px;border-color:var(--line);background:#fff}
@media(max-width:800px){.toolbox-shell{grid-template-columns:150px minmax(620px,1fr)}.toolbox-main{padding-left:18px;padding-right:18px}.quality-grid{grid-template-columns:repeat(2,1fr)}}
.quality-grid{grid-template-columns:repeat(5,1fr)}.import-dialog{width:min(980px,calc(100vw - 30px));max-width:none}.import-file-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding:12px 14px;border-radius:10px;background:#f2f5ed}.import-file-summary b,.import-file-summary span{display:block}.import-file-summary span{margin-top:2px;color:var(--muted);font-size:10px}.switch-label{display:flex!important;align-items:center;gap:8px;margin:0!important}.switch-label input{width:18px;height:18px}.import-mapping-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.import-mapping-grid label{margin:0}.import-preview{max-height:260px;margin-top:16px;overflow:auto;border:1px solid var(--line);border-radius:10px}.import-preview table{table-layout:auto}.import-preview th{min-width:150px}.import-preview td{height:35px}.import-note{margin:10px 0 0;color:var(--muted);font-size:11px}.import-dialog .custom-select__trigger{height:42px;border-color:var(--line);background:#fff}
@media(max-width:800px){.quality-grid{grid-template-columns:repeat(2,1fr)}.import-mapping-grid{grid-template-columns:repeat(2,1fr)}}
.paste-dialog{width:min(720px,calc(100vw - 30px))}.paste-dialog textarea{width:100%;min-height:320px;padding:12px;border:1px solid var(--line);border-radius:10px;resize:vertical;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}

/* Project workspace tabs and embedded release tools */
.workspace-tabs{display:flex;flex:0 0 auto;gap:2px;padding:0 12px;border-bottom:1px solid var(--line);background:#f7f6f2;overflow-x:auto;scrollbar-width:none}.workspace-tabs::-webkit-scrollbar{display:none}.workspace-tab{position:relative;flex:0 0 auto;min-height:42px;padding:0 13px;border:0;background:transparent;color:#737970;font-size:11px;font-weight:700;white-space:nowrap}.workspace-tab:hover,.workspace-tab:focus-visible{color:#20251f;outline:0}.workspace-tab.is-active{color:#315b08}.workspace-tab.is-active:after{content:"";position:absolute;right:10px;bottom:-1px;left:10px;height:3px;border-radius:3px 3px 0 0;background:var(--accent)}
.workspace-tools-host{flex:1;min-height:0;overflow:hidden}.workspace-tools{height:100%;min-height:0;overflow:hidden;background:#f7f6f2}.workspace-tools .toolbox-shell{height:100%;display:block}.workspace-tools .toolbox-main{height:100%;padding:18px 22px 26px}.workspace-tools .toolbox-head{top:-18px;margin:-18px -22px 18px;padding:17px 22px 13px}.workspace-tools .toolbox-head h2{font-size:22px}.workspace-tools .custom-select__trigger{height:42px;border-color:var(--line);background:#fff}
.integration-connect-card{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}.integration-connect-card>div:first-child{max-width:660px}.integration-connect-card h3{margin:3px 0 5px;font-size:18px}.integration-connect-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.integration-connect-card .integration-state{min-width:270px}.integration-form{display:grid;grid-template-columns:minmax(240px,1.4fr) minmax(180px,1fr) 120px auto;align-items:end;gap:10px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff}.integration-form label{margin:0}.integration-form input{width:100%}.integration-form__actions{display:flex;gap:7px}.worker-readiness{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 15px;border-radius:10px}.worker-readiness b,.worker-readiness span{display:block}.worker-readiness span{margin-top:2px;font-size:11px}.worker-readiness.is-ready{background:#eef9dd;color:#426b0c}.worker-readiness.is-waiting{background:#f0efeb;color:#6c7169}.integration-help{margin:0;color:var(--muted);font-size:11px;line-height:1.55}
.pagination .custom-select__trigger{line-height:1}.pagination .custom-select__trigger .select-chevron{display:block;width:12px;height:12px;transform-origin:50% 50%}.pagination .custom-select.is-open .select-chevron{transform:rotate(180deg)}
[data-workspace-view][hidden],.workspace-tools-host[hidden],.workspace-tools[hidden]{display:none!important}
@media(max-width:1100px){.integration-form{grid-template-columns:1fr 1fr}.integration-form__actions{justify-content:flex-end}.integration-connect-card{align-items:flex-start;flex-direction:column}.integration-connect-card .integration-state{min-width:0;width:100%}}

/* Compact workspace composition */
@media(min-width:721px){body.workspace-active .project-workspace{padding:16px 0 0}body.workspace-active .project-header{min-height:38px;margin:0 10px 4px 0;padding:0 0 0 12px;align-items:center}body.workspace-active .project-header__actions{align-items:center}body.workspace-active .project-header__actions .button{height:30px;min-height:30px;padding:0 9px}body.workspace-active .job-panel{margin-left:10px}body.workspace-active .cluster-panel{padding:8px 10px 0 12px}}

/* Single-line sortable table head with per-column filters */
.column-heading-row th{height:42px;padding:4px 6px;overflow:visible;vertical-align:middle}.column-heading-row .check{padding:0}.column-head-control,.column-head-control--solo{position:relative;display:flex;height:34px;min-width:0;align-items:center;gap:3px}.column-head-control .column-sort{min-width:0;flex:1;height:30px}.column-sort>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-filter{position:relative;flex:0 0 auto}.column-filter__toggle{position:relative;display:grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#737970}.column-filter__toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linejoin:round}.column-filter__toggle:hover,.column-filter__toggle:focus-visible,.column-filter.is-open .column-filter__toggle{border-color:#cfcec7;background:#fff;color:#252a24;box-shadow:0 2px 8px rgba(30,34,29,.09);outline:0}.column-filter.has-value .column-filter__toggle{border-color:#b5cf8a;background:#eef8df;color:#4f7f13}.column-filter.has-value .column-filter__toggle:after{content:"";position:absolute;right:3px;top:3px;width:4px;height:4px;border-radius:50%;background:#74a72c}.column-filter__panel{position:absolute;top:calc(100% + 7px);right:0;z-index:90;display:none;width:220px;padding:8px;border:1px solid #cbc9c1;border-radius:10px;background:#fff;box-shadow:0 16px 44px rgba(25,28,31,.2);letter-spacing:0;text-align:left;text-transform:none}.column-filter.is-open .column-filter__panel{display:block}.column-filter--query .column-filter__panel{width:min(330px,calc(100vw - 40px))}.column-filter--cluster .column-filter__panel{width:270px}.column-filter__panel .search-field input,.column-filter__panel .custom-select__trigger{height:34px;border:1px solid #d6d4cd;background:#fff}.column-filter__panel .search-field input{width:100%;padding:0 10px 0 32px;border-radius:8px;outline:0}.column-filter__panel .search-field input:focus{border-color:#7975ff;box-shadow:0 0 0 3px rgba(94,91,255,.09)}.column-filter__panel .custom-select__menu{min-width:100%}.frequency-control{height:30px;padding:0 2px!important}.column-heading-row th[aria-sort="ascending"],.column-heading-row th[aria-sort="descending"]{background:linear-gradient(180deg,#eef3e7 0,#f3f2ee 100%)}

/* Compact contextual hints */
.workspace-heading-tooltip,.integration-info-button,.column-filter__toggle{--tip-shift:4px}.workspace-heading-tooltip:before,.workspace-heading-tooltip:after,.integration-info-button:before,.integration-info-button:after,.column-filter__toggle:before{position:absolute;z-index:110;pointer-events:none;opacity:0;transition:opacity .14s ease,transform .14s ease}.workspace-heading-tooltip:before,.integration-info-button:before,.column-filter__toggle:before{content:"";left:50%;top:calc(100% + 5px);width:8px;height:8px;background:#20231f;transform:translate(-50%,var(--tip-shift)) rotate(45deg)}.workspace-heading-tooltip:after,.integration-info-button:after,.column-filter__toggle:before{color:#fff}.workspace-heading-tooltip:after,.integration-info-button:after{content:attr(data-tooltip);position:absolute;left:0;top:calc(100% + 9px);z-index:111;padding:8px 10px;border-radius:8px;background:#20231f;color:#fff;box-shadow:0 12px 34px rgba(25,28,31,.24);font-size:11px;font-weight:600;line-height:1.4;letter-spacing:0;white-space:nowrap;pointer-events:none;opacity:0;transform:translateY(var(--tip-shift));transition:opacity .14s ease,transform .14s ease}.workspace-heading-tooltip:hover:before,.workspace-heading-tooltip:hover:after,.workspace-heading-tooltip:focus-visible:before,.workspace-heading-tooltip:focus-visible:after,.integration-info-button:hover:before,.integration-info-button:hover:after,.integration-info-button:focus-visible:before,.integration-info-button:focus-visible:after{opacity:1;transform:translateY(0)}.workspace-heading-tooltip:hover:before,.workspace-heading-tooltip:focus-visible:before,.integration-info-button:hover:before,.integration-info-button:focus-visible:before{transform:translate(-50%,0) rotate(45deg)}.workspace-heading-tooltip{position:relative;cursor:help;outline:none}.column-filter__toggle:before{display:none}.column-filter__toggle[data-tooltip]:hover:before{display:block}.column-filter__toggle[data-tooltip]:hover{z-index:112}.column-filter__toggle[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;right:0;top:calc(100% + 7px);z-index:113;width:max-content;max-width:260px;padding:6px 8px;border-radius:7px;background:#20231f;color:#fff;font-size:10px;font-weight:650;line-height:1.3;letter-spacing:0;text-transform:none;white-space:nowrap;box-shadow:0 8px 24px rgba(25,28,31,.2)}

/* Cluster list and release tabs */
.cluster-row,.cluster-row--system{padding-right:2px}.cluster-menu-button{margin-right:0}.toolbox-head .eyebrow{display:none}.workspace-tools .toolbox-head{margin-bottom:12px;padding-top:13px;padding-bottom:10px}.workspace-tools .toolbox-head h2{font-size:20px}

/* Page map */
.page-map-cluster{display:flex;min-width:0;align-items:center;gap:8px}.page-map-cluster .map-color{flex:0 0 auto;margin-right:0}.page-map-cluster b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-map-table td:first-child>small{margin-left:15px}

/* Integration info */
.integration-connect-card{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;padding:0;border:0;background:transparent}.integration-connect-card .integration-state{width:auto;min-width:0;flex:0 1 370px}.integration-info-button{position:relative;display:grid;place-items:center;flex:0 0 auto;width:30px;height:30px;padding:0;border:1px solid #cbc9c1;border-radius:50%;background:#fff;color:#596151;font-size:14px;font-weight:850}.integration-info-button:hover,.integration-info-button:focus-visible{border-color:#8eae5d;background:#f1f9e4;color:#416b0e;outline:0}.integration-info-button:after{width:350px;max-width:calc(100vw - 80px);white-space:normal}.integration-info-button:before{left:15px}.integration-info-button:hover:before,.integration-info-button:focus-visible:before{transform:translate(-50%,0) rotate(45deg)}

/* Quality metrics in one compact row */
.quality-grid{grid-template-columns:repeat(10,minmax(82px,1fr));gap:6px;overflow-x:auto;padding-bottom:2px}.quality-grid article{min-width:82px;padding:9px 10px;border-radius:8px}.quality-grid strong{font-size:18px;line-height:1.05}.quality-grid span{margin-top:2px;font-size:9px;line-height:1.25}

.column-filter__toggle[data-tooltip]:hover:before{opacity:1}.column-filter.is-open .column-filter__toggle:before,.column-filter.is-open .column-filter__toggle:after{display:none}
