:root{color:#18202b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#fff;--surface:#f7f8fa;--surface-strong:#edf1f5;--text:#111827;--muted:#667085;--line:#d9e0e8;--green:#0f7a5b;--green-bg:#e7f4ee;--amber:#946200;--amber-bg:#fff4d8;--red:#b42331;--red-bg:#ffe8ec;--blue:#2459a6;--ink:#101820;--ink-soft:#1d2a35;--shadow:0 18px 44px #10182012;--panel-shadow:0 1px 2px #1018200a;background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,textarea,input,select{font:inherit}button{cursor:pointer}.app-shell{background:#f5f7fa;grid-template-columns:252px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:linear-gradient(180deg, var(--ink), #13212b);color:#f7fbfb;border-right:1px solid #ffffff14;flex-direction:column;gap:24px;min-height:100vh;padding:24px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;display:flex}.brand-mark{width:40px;height:40px;color:var(--green);background:#f7fbfb;border-radius:8px;place-items:center;display:grid;box-shadow:0 12px 28px #0000003d}.brand strong,.brand span{display:block}.brand strong{font-size:17px;line-height:1.2}.brand span{color:#a9b6c2;margin-top:3px;font-size:12px;line-height:1.35}.nav-list{gap:4px;display:grid}.nav-item{color:#d4dde6;border-radius:8px;align-items:center;gap:10px;min-height:40px;padding:0 12px;font-size:14px;font-weight:650;text-decoration:none;display:flex}.sidebar-note{color:#dff7ee;background:#0f7a5b29;border:1px solid #a2e5cf47;border-radius:8px;grid-template-columns:18px 1fr;gap:10px;margin-top:auto;padding:14px;display:grid}.sidebar-note p{margin:0;font-size:12px;line-height:1.45}.workspace{width:min(100%,1510px);min-width:0;margin:0 auto;padding:30px 34px 46px}.topbar{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px;display:flex}h1,h2,h3,p{margin-top:0}.topbar h1{letter-spacing:0;margin-bottom:8px;font-size:32px;font-weight:780;line-height:1.08}.topbar p{max-width:720px;color:var(--muted);margin-bottom:0;font-size:15px;line-height:1.55}.ghost-button,.primary-button,.copy-button{white-space:nowrap;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 15px;font-size:14px;font-weight:720;display:inline-flex}button:disabled,textarea:disabled{cursor:not-allowed;opacity:.62}.ghost-button{color:var(--text);border:1px solid var(--line);background:#fff}.export-action{justify-items:end;gap:6px;display:grid}.export-action span{min-height:16px;color:var(--green);font-size:12px;font-weight:760;line-height:1.2}.primary-button{background:var(--green);color:#fff;min-width:132px}.copy-button{color:#fff;background:#13281f}.result-scope{position:relative}.result-scope-content{display:contents}.result-scope-content.muted{filter:blur(2px);opacity:.44;pointer-events:none;-webkit-user-select:none;user-select:none;display:block}.result-overlay{z-index:5;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);min-height:120px;color:var(--text);text-align:center;background:#f8fbffe0;border:1px solid #cfe0ef;border-radius:8px;align-content:start;place-items:center;gap:8px;padding:clamp(18px,5vh,52px) 18px 18px;display:grid;position:absolute;inset:0}.result-overlay.compact{min-height:100%;padding:18px 14px 14px}.result-overlay strong{font-size:15px;line-height:1.25}.result-overlay span,.result-overlay small{max-width:420px;color:var(--muted);font-size:12px;line-height:1.35}.result-overlay small{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.overlay-action{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:8px;min-height:38px;padding:0 16px;font-size:13px;font-weight:780;box-shadow:0 10px 22px #127d5d2e}.overlay-action:focus-visible{outline-offset:2px;outline:3px solid #127d5d42}.loading-spinner{border:3px solid #d8e5f0;border-top-color:var(--green);border-radius:50%;width:26px;height:26px;animation:.85s linear infinite spin}.result-state-icon{color:var(--amber)}.progress-steps{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:2px;display:flex}.progress-steps span{color:#526072;background:#fff;border:1px solid #dce6ef;border-radius:999px;width:auto;padding:5px 8px;font-size:11px;font-weight:760}@keyframes spin{to{transform:rotate(360deg)}}.checker-grid{grid-template-columns:minmax(700px,1fr) minmax(360px,420px);align-items:start;gap:18px;display:grid}.analysis-panel,.evidence-panel,.roadmap,.action-panel{border:1px solid var(--line);box-shadow:var(--panel-shadow);background:#fff;border-radius:8px}.evidence-panel{gap:12px;max-height:calc(100vh - 40px);padding:14px;display:grid;position:sticky;top:20px;overflow:auto}.panel-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.panel-heading.compact{margin-bottom:0}.panel-heading h2{margin-bottom:5px;font-size:18px;line-height:1.2}.panel-heading p{color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.45}.scope-picker{z-index:8;flex:none;position:relative}.scope-trigger{border:1px solid var(--line);color:#3a4656;background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-width:164px;max-width:214px;height:36px;padding:0 9px 0 12px;font-size:13px;font-weight:700;display:inline-flex}.scope-trigger:hover,.scope-trigger.open{background:#fff;border-color:#cfd7e1}.scope-trigger svg{color:var(--muted);transition:transform .16s}.scope-trigger.open svg{transform:rotate(180deg)}.scope-menu{border:1px solid var(--line);background:#fff;border-radius:8px;width:218px;padding:5px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 28px #1018201f}.scope-option{color:#384252;text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:32px;padding:0 8px 0 10px;font-size:13px;font-weight:640;display:flex}.scope-option:hover{background:#f7f7f5}.scope-option.active{color:var(--green);background:var(--green-bg)}.mode-switch{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:repeat(2,minmax(110px,1fr));gap:4px;width:fit-content;margin-bottom:14px;padding:4px;display:inline-grid}.mode-switch button{color:#536176;background:0 0;border:0;border-radius:6px;min-height:32px;padding:0 12px;font-size:13px;font-weight:760}.mode-switch button.active{color:var(--green);background:#fff;box-shadow:0 1px 4px #18202b17}.input-wrap{background:#f2f5f8;border:1px solid #cdd6e1;border-radius:8px;grid-template-columns:1fr auto;align-items:stretch;gap:12px;padding:12px;display:grid;position:relative}.input-icon{color:var(--muted);position:absolute;top:24px;left:24px}textarea{resize:none;width:100%;height:76px;color:var(--text);background:#fff;border:0;border-radius:8px;outline:0;padding:18px 18px 18px 44px;font-size:18px;font-weight:650;line-height:1.35;box-shadow:inset 0 0 0 1px #dfe6ee}.sample-row{flex-wrap:wrap;gap:8px;margin:14px 0 18px;display:flex}.sample-chip{border:1px solid var(--line);color:#4c586b;background:#fff;border-radius:8px;height:32px;padding:0 10px;font-size:12px;font-weight:700}.sample-chip.active,.sample-chip:hover{color:var(--green);background:#eff8f4;border-color:#9fd3c2}.summary-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.status-card,.score-card{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:12px;min-height:72px;padding:13px;display:flex}.status-card strong,.score-card strong{font-size:22px;line-height:1;display:block}.status-card span,.score-card span{color:var(--muted);margin-top:5px;font-size:12px;font-weight:700;line-height:1.25;display:block}.status-card.green{background:var(--green-bg);color:var(--green);border-color:#bfe6d9}.status-card.amber{background:var(--amber-bg);color:var(--amber);border-color:#f3d39c}.status-card.red{background:var(--red-bg);color:var(--red);border-color:#f4bdc4}.score-card{color:#254167;background:#eef5ff;border-color:#ccdcf5}.recommendation{color:#fff;background:#13281f;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;margin-top:18px;padding:17px;display:flex}.section-label{color:#5c6a7c;text-transform:uppercase;font-size:12px;font-weight:780;line-height:1.2;display:block}.final-phrase-input{color:#fff;width:min(620px,100%);height:auto;min-height:92px;box-shadow:none;resize:none;background:0 0;border:0;outline:0;margin-top:7px;padding:0;font-size:23px;font-weight:780;line-height:1.18;overflow:hidden}.final-phrase-input::selection{background:#aee5d159}.suggestion-strip,.highlight-panel{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:14px;padding:14px}.highlight-legend{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.legend-item{border-radius:8px;padding:6px 8px;font-size:12px;font-weight:760;line-height:1}.legend-item.green{background:var(--green-bg);color:var(--green)}.legend-item.amber{background:var(--amber-bg);color:var(--amber)}.legend-item.red{background:var(--red-bg);color:var(--red)}.highlighted-text{background:var(--surface);color:#2e3a4c;white-space:pre-wrap;border-radius:8px;min-height:116px;padding:16px;font-size:17px;line-height:1.85}.highlight-word{font:inherit;vertical-align:baseline;white-space:normal;border:0;border-radius:6px;margin:0 1px;padding:2px 5px;font-weight:730;line-height:1.35}.highlight-word.green{color:#2e3a4c;background:0 0;font-weight:620}.highlight-word.amber{background:var(--amber-bg);color:var(--amber);box-shadow:inset 0 0 0 1px #f3d39c}.highlight-word.red{background:var(--red-bg);color:var(--red);box-shadow:inset 0 0 0 1px #f4bdc4}.highlight-word:hover{filter:brightness(.98)}.strip-heading{color:#263246;align-items:center;gap:8px;margin-bottom:10px;font-size:14px;display:flex}.phrase-options{gap:8px;display:grid}.phrase-option{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;padding:11px 12px}.phrase-option span,.phrase-option small{display:block}.phrase-option span{color:var(--text);font-size:14px;font-weight:760;line-height:1.25}.phrase-option small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.result-group-list{gap:10px;display:grid}.result-group{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.result-group.green{border-color:#bfe6d9}.result-group.amber{border-color:#efd9a9}.result-group.red{border-color:#f1bdc5}.result-group.blue{border-color:#c8dcf7}.result-group-header{background:#f8fafc;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:62px;padding:12px 14px;display:grid}.result-group.green .result-group-header{background:var(--green-bg)}.result-group.amber .result-group-header{background:var(--amber-bg)}.result-group.red .result-group-header{background:var(--red-bg)}.result-group.blue .result-group-header{background:#eef5ff}.result-group-icon{color:#fff;background:#627086;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.result-group.green .result-group-icon{background:var(--green)}.result-group.amber .result-group-icon{background:var(--amber)}.result-group.red .result-group-icon{background:var(--red)}.result-group.blue .result-group-icon{background:#2f67b2}.result-group-header strong,.result-group-header small{min-width:0;display:block}.result-group-header strong{color:var(--text);font-size:15px;line-height:1.2}.result-group-header small{color:var(--muted);margin-top:3px;font-size:12px;line-height:1.35}.result-group-header b{min-width:34px;min-height:30px;color:var(--text);background:#ffffffbd;border-radius:8px;place-items:center;padding:0 8px;font-size:16px;display:grid}.result-group-table .table-head{border-top:1px solid var(--line)}.result-group-table .token-row{cursor:pointer}.result-group-empty{border-top:1px solid var(--line);color:var(--muted);margin:0;padding:13px 14px;font-size:13px;line-height:1.35}.result-table{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:18px;overflow:hidden}.table-head,.token-row{grid-template-columns:minmax(130px,.92fr) minmax(145px,.75fr) minmax(260px,1.65fr) minmax(180px,1fr);align-items:center;gap:12px;display:grid}.table-head>*,.token-row>*{min-width:0}.table-head{color:#5a6678;text-transform:uppercase;background:#f0f3f7;min-height:40px;padding:0 14px;font-size:11px;font-weight:780}.token-row{border-top:1px solid var(--line);cursor:pointer;background:#fff;min-height:76px;padding:13px 14px}.token-row.active{box-shadow:inset 3px 0 0 var(--green);background:#f8fbff}.token-row strong,.token-row span{overflow-wrap:anywhere;display:block}.token-row strong{font-size:14px;line-height:1.25}.token-row span{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.dictionary-source-line{color:#526072;overflow-wrap:anywhere;margin-top:6px;font-size:11px;font-weight:700;line-height:1.35;display:block}.status-pill{white-space:normal;overflow-wrap:anywhere;border-radius:8px;align-items:center;gap:7px;width:100%;max-width:100%;min-height:30px;padding:7px 10px;font-size:12px;font-weight:780;line-height:1.2;display:inline-flex}.status-pill svg{flex:none}.status-pill.green{color:var(--green);background:var(--green-bg)}.status-pill.amber{color:var(--amber);background:var(--amber-bg)}.status-pill.red{color:var(--red);background:var(--red-bg)}.quick-replacements{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.quick-replacements button{color:#24598c;overflow-wrap:anywhere;background:#f8fbff;border:1px solid #cfe0ef;border-radius:8px;height:auto;min-height:26px;padding:5px 8px;font-size:12px;font-weight:720;line-height:1.15}.evidence-dots{flex-wrap:wrap;gap:5px;margin-top:7px;display:flex}.evidence-dot{background:var(--surface-strong);color:#5e6a7c;border-radius:8px;padding:4px 6px;font-size:11px;font-weight:740;line-height:1}.evidence-dot.passed{background:var(--green-bg);color:var(--green)}.evidence-dot.pending{background:var(--amber-bg);color:var(--amber)}.evidence-dot.failed{background:var(--red-bg);color:var(--red)}.toggle-list{gap:9px;display:grid}.toggle-line{border:1px solid var(--line);text-align:left;background:#fff;border-radius:8px;grid-template-columns:34px 1fr 34px;align-items:center;gap:10px;padding:12px;display:grid}.toggle-line.active{background:#f4fbf8;border-color:#b9e3d5}.toggle-icon{background:var(--surface-strong);color:#536176;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.toggle-line.active .toggle-icon{background:var(--green-bg);color:var(--green)}.toggle-line strong,.toggle-line small{display:block}.toggle-line strong{color:var(--text);font-size:13px;line-height:1.2}.toggle-line small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.toggle-switch{background:#c5cedb;border-radius:999px;width:32px;height:18px;position:relative}.toggle-switch:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .16s;position:absolute;top:2px;left:2px}.toggle-line.active .toggle-switch:after{transform:translate(14px)}.source-card,.audit-card,.replacement-card,.database-card,.legal-card{border:1px solid var(--line);background:#fff;border-radius:8px;padding:14px}.source-card{margin-top:18px;padding:20px}.audit-card h3,.replacement-card h3,.database-card h3,.legal-card h3{margin-bottom:10px;font-size:15px;line-height:1.2}.source-card-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.source-card-header h2{color:var(--text);margin:5px 0 7px;font-size:24px;font-weight:780;line-height:1.16}.source-card-header p{max-width:780px;color:var(--muted);margin-bottom:0;font-size:14px;line-height:1.5}.source-count{min-width:30px;height:30px;color:var(--green);background:#eaf4ef;border-radius:8px;place-items:center;font-size:13px;font-weight:850;display:grid}.replacement-card p,.database-card p{color:var(--muted);margin-bottom:12px;font-size:12px;line-height:1.45}.source-id-list{flex-wrap:wrap;gap:6px;margin:-2px 0 12px;display:flex}.dictionary-match-list{gap:7px;margin-bottom:12px;display:grid}.dictionary-match-list a{color:var(--green);background:#f4fbf8;border:1px solid #b9e3d5;border-radius:8px;gap:3px;padding:9px 10px;text-decoration:none;display:grid}.dictionary-match-list strong{font-size:13px;line-height:1.2}.dictionary-match-list span{color:#356257;font-size:11px;line-height:1.35}.spelling-suggestion-list{border-top:1px solid var(--line);gap:8px;margin:0 0 12px;padding-top:10px;display:grid}.spelling-suggestion-list>strong{color:var(--text);font-size:12px;line-height:1.25}.spelling-suggestion-list button{color:#72500c;text-align:left;background:#fff9ed;border:1px solid #f1d8a7;border-radius:8px;gap:3px;padding:9px 10px;display:grid}.spelling-suggestion-list button:hover{background:#fff3d8;border-color:#d7ab55}.spelling-suggestion-list span,.spelling-suggestion-list small{overflow-wrap:anywhere;display:block}.spelling-suggestion-list span{color:#503b0c;font-size:13px;font-weight:800;line-height:1.2}.spelling-suggestion-list small{color:#745817;font-size:11px;font-weight:700;line-height:1.35}.source-id-list span,.database-meta span{background:var(--surface-strong);color:#536176;overflow-wrap:anywhere;border-radius:8px;padding:5px 7px;font-size:11px;font-weight:740;line-height:1.15}.database-card{background:linear-gradient(#f8fbff,#fff)}.legal-card{background:#fff}.legal-check-list{gap:7px;display:grid}.legal-check{background:#fbfcfe;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:26px minmax(0,1fr);align-items:flex-start;gap:9px;padding:9px;display:grid}.legal-check.passed{background:#f5fbf8;border-color:#cce9de}.legal-check.pending{background:#fffaf0;border-color:#f1d8a7}.legal-check.failed{background:#fff5f6;border-color:#f1bdc5}.legal-check-state{color:#475467;background:#eef2f6;border-radius:8px;place-items:center;width:26px;height:26px;font-size:10px;font-weight:900;line-height:1;display:grid}.legal-check.passed .legal-check-state{background:var(--green-bg);color:var(--green)}.legal-check.pending .legal-check-state{background:var(--amber-bg);color:var(--amber)}.legal-check.failed .legal-check-state{background:var(--red-bg);color:var(--red)}.legal-check strong,.legal-check small{overflow-wrap:anywhere;display:block}.legal-check strong{color:#1d2939;font-size:12px;font-weight:820;line-height:1.25}.legal-check small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.35}.database-meta{flex-wrap:wrap;gap:6px;display:flex}.candidate-list{gap:8px;display:grid}.candidate-list button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:10px;display:grid}.candidate-list button:hover{background:#f4fbf8;border-color:#9fd3c2}.candidate-list strong{color:var(--text);overflow-wrap:anywhere;font-size:13px;line-height:1.2}.candidate-list span{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.35}.candidate-list small{color:var(--green);grid-area:1/2/span 2;align-self:center;font-size:12px;font-weight:800}.source-registry{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.source-link{min-height:86px;color:var(--text);background:#fbfcfe;border:1px solid #e1e7ef;border-radius:8px;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px;text-decoration:none;transition:border-color .15s,background-color .15s,transform .15s;display:grid}.source-link:hover{background:#f5fbf8;border-color:#a6cfc1;transform:translateY(-1px)}.source-type{color:#344054;text-transform:uppercase;background:#eef2f6;border-radius:8px;justify-content:center;align-items:center;min-height:26px;padding:0 8px;font-size:10px;font-weight:850;line-height:1;display:inline-flex}.source-type.law{color:var(--green);background:#e7f4ee}.source-type.dictionaryIndex{color:#2459a6;background:#eaf1ff}.source-type.trademarkRegister,.source-type.openData{color:#8a5a00;background:#fff4d8}.source-type.service{color:#475467;background:#eef2f6}.source-main,.source-meta,.source-link strong,.source-link small{overflow-wrap:anywhere;min-width:0;display:block}.source-main strong{color:#1d2939;font-size:12px;font-weight:820;line-height:1.25}.source-main small{color:var(--muted);margin-top:4px;font-size:11px;font-weight:560;line-height:1.35}.source-meta{color:var(--blue);justify-items:end;gap:8px;display:grid}.source-meta small{color:#667085;white-space:nowrap;font-size:10px;font-weight:800;line-height:1}.audit-item{color:#5b6677;align-items:center;gap:9px;min-height:32px;font-size:13px;line-height:1.35;display:flex}.audit-item.done{color:var(--green)}.roadmap{grid-template-columns:.85fr 1.4fr;align-items:start;gap:26px;margin-top:20px;padding:24px;display:grid}.action-panel{grid-template-columns:.9fr 1.1fr;align-items:start;gap:24px;margin-top:20px;padding:20px 24px;display:grid}.action-panel h2{margin:8px 0 0;font-size:23px;line-height:1.18}.action-list{gap:6px;display:grid}.roadmap-copy h2{margin:8px 0 10px;font-size:27px;line-height:1.12}.roadmap-copy p{color:var(--muted);margin-bottom:0;font-size:14px;line-height:1.55}.roadmap-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.roadmap-step{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:16px}.roadmap-step span{color:var(--green);font-size:12px;font-weight:800}.roadmap-step h3{margin:8px 0 7px;font-size:16px;line-height:1.2}.roadmap-step p{color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.45}.account-pill{border:1px solid var(--line);color:#405065;text-overflow:ellipsis;white-space:nowrap;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:7px;max-width:220px;min-height:32px;padding:0 10px;font-size:12px;font-weight:760;text-decoration:none;display:inline-flex;overflow:hidden}.account-section{border:1px solid var(--line);box-shadow:var(--panel-shadow);background:#fff;border-radius:8px;margin-top:20px;padding:24px}.account-hero{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.account-hero h2{margin:8px 0;font-size:26px;line-height:1.14}.account-hero p{max-width:760px;color:var(--muted);margin-bottom:0;font-size:14px;line-height:1.55}.account-hero-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.account-notice{background:var(--green-bg);color:var(--green);border:1px solid #bfe6d9;border-radius:8px;margin-bottom:12px;padding:10px 12px;font-size:13px;font-weight:720;line-height:1.35}.account-notice.warning{background:var(--amber-bg);color:var(--amber);border-color:#f3d39c}.account-grid{grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);align-items:start;gap:14px;display:grid}.account-grid.guest{grid-template-columns:minmax(300px,420px) minmax(0,1fr)}.account-card,.auth-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:16px}.account-card h3,.auth-card h3{margin:0 0 6px;font-size:17px;line-height:1.2}.account-card p,.auth-card p{color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.45}.auth-card{background:#fff;gap:12px;display:grid}.auth-card-heading,.plan-card-header,.profile-head{align-items:center;gap:12px;display:flex}.auth-card-heading svg,.plan-card-header svg{color:var(--green);flex:none}.auth-tabs{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.auth-tabs button{color:#536176;background:0 0;border:0;border-radius:6px;min-height:32px;font-size:13px;font-weight:760}.auth-tabs button.active{color:var(--green);background:#fff;box-shadow:0 1px 4px #18202b17}.field-label{color:#536176;gap:6px;font-size:12px;font-weight:780;line-height:1.2;display:grid}.field-label input,.field-label select{border:1px solid var(--line);min-height:42px;color:var(--text);background:#fff;border-radius:8px;outline:0;padding:0 12px;font-size:14px;font-weight:650}.field-label select{appearance:none;cursor:pointer}.field-label input:focus,.field-label select:focus{border-color:#9fd3c2;box-shadow:0 0 0 3px #0f7a5b1f}.account-submit,.oauth-button{width:100%}.cabinet-feature-list,.team-grid{gap:10px;margin-top:12px;display:grid}.cabinet-feature{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:34px 1fr;align-items:start;gap:10px;padding:10px;display:grid}.cabinet-feature>span{background:var(--green-bg);width:34px;height:34px;color:var(--green);border-radius:8px;place-items:center;display:grid}.cabinet-feature strong,.cabinet-feature small{display:block}.cabinet-feature strong{color:var(--text);font-size:13px;line-height:1.25}.cabinet-feature small{color:var(--muted);margin-top:3px;font-size:12px;line-height:1.35}.profile-card,.plan-card{gap:14px;display:grid}.avatar-circle{color:#fff;background:#13281f;border-radius:8px;place-items:center;width:46px;height:46px;font-size:18px;font-weight:820;display:grid}.profile-head p{word-break:break-word}.profile-fields{gap:10px;display:grid}.usage-bar{background:#e3e9ef;border-radius:999px;height:10px;overflow:hidden}.usage-bar span{border-radius:inherit;background:var(--green);height:100%;display:block}.plan-actions{gap:8px;display:grid}.plan-actions small{color:var(--muted);font-size:12px;line-height:1.35}.history-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.history-head span{background:var(--surface-strong);color:#405065;border-radius:8px;place-items:center;min-width:34px;height:34px;font-weight:820;display:grid}.history-list{gap:8px;display:grid}.history-item{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px;display:grid}.history-item strong,.history-item small,.history-item p{display:block}.history-item strong{color:var(--text);overflow-wrap:anywhere;font-size:14px;line-height:1.25}.history-item small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.history-item p{color:#405065;overflow-wrap:anywhere;margin:7px 0 0;font-size:13px;line-height:1.4}.history-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.text-button{color:#405065;background:0 0;border:0;min-height:34px;padding:0 8px;font-size:13px;font-weight:760}.text-button.danger{color:var(--red)}.empty-history{min-height:90px;color:var(--muted);text-align:center;background:#fff;border:1px dashed #cdd6e1;border-radius:8px;place-items:center;gap:8px;padding:16px;font-size:13px;line-height:1.4;display:grid}@media (width<=1120px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line);min-height:auto;position:static}.nav-list{grid-template-columns:repeat(4,minmax(0,1fr))}.checker-grid,.account-grid,.account-grid.guest,.roadmap,.action-panel{grid-template-columns:1fr}.evidence-panel{max-height:none;position:static;overflow:visible}}@media (width<=780px){.workspace{padding:18px}.topbar,.account-hero,.panel-heading,.recommendation,.action-panel{flex-direction:column;align-items:stretch}.export-action{justify-items:stretch}.topbar h1{font-size:28px}.nav-list{grid-template-columns:repeat(2,minmax(0,1fr))}.input-wrap{grid-template-columns:1fr}.summary-row,.history-item,.roadmap-steps,.source-registry{grid-template-columns:repeat(2,minmax(0,1fr))}.history-item{grid-template-columns:1fr}.history-actions{justify-content:flex-start}.source-card-header{flex-direction:column;align-items:stretch}.table-head{display:none}.token-row{grid-template-columns:1fr;gap:10px}.result-overlay{place-items:start center;padding:16px 12px}.progress-steps{gap:5px}}@media (width<=520px){.sidebar{padding:18px}.brand{align-items:flex-start}.nav-list,.account-grid,.account-grid.guest,.summary-row,.history-item,.roadmap-steps,.source-registry{grid-template-columns:1fr}.source-link{grid-template-columns:1fr auto}.source-type{width:fit-content}.source-main{grid-area:2/1/auto/-1}.source-meta{grid-area:1/2}textarea{font-size:16px}.final-phrase-input{font-size:21px}}:root{--bg:#fff;--surface:#fbfbfa;--surface-strong:#f1f1ef;--text:#1f1f1f;--muted:#6f6f6b;--line:#e6e4df;--green:#0f7a5b;--green-bg:#edf7f2;--amber:#9a6700;--amber-bg:#fff7e6;--red:#c7372f;--red-bg:#fff0ef;--blue:#3468a8;--ink:#fff;--ink-soft:#f7f7f5;--shadow:none;--panel-shadow:none}body{background:#fff}.app-shell{background:#fff;grid-template-columns:232px minmax(0,1fr)}.sidebar{min-height:100vh;color:var(--text);border-right:1px solid var(--line);background:#fbfbfa;gap:18px;padding:18px 10px 14px}.brand{padding:4px 8px}.brand-mark{color:#fff;width:28px;height:28px;box-shadow:none;background:#202020;border-radius:6px}.brand strong{font-size:14px;font-weight:720}.brand span{color:var(--muted);font-size:11px}.nav-list{gap:2px}.nav-item{color:#3f3f3c;border-radius:6px;min-height:34px;padding:0 10px;font-size:13px;font-weight:560}.nav-item svg{color:#6f6f6b;width:16px;height:16px}.nav-item.active,.nav-item:hover{color:#1f1f1f;background:#efefed}.sidebar-note{display:none}.workspace{width:min(100%,1320px);padding:28px 32px 54px}.topbar{align-items:center;margin-bottom:22px}.topbar h1{margin-bottom:5px;font-size:30px;font-weight:720;line-height:1.12}.topbar p{max-width:760px;color:var(--muted);font-size:14px;line-height:1.45}.export-action{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.export-action span{min-height:14px;color:var(--muted);text-align:right;flex-basis:100%;font-size:11px;font-weight:560}.ghost-button,.primary-button,.copy-button,.account-pill{min-height:34px;box-shadow:none;border-radius:6px;padding:0 11px;font-size:13px;font-weight:620}.ghost-button,.account-pill{border:1px solid var(--line);color:#2f2f2d;background:#fff}.primary-button,.copy-button{color:#fff;background:#202020;min-width:auto}.analysis-panel,.evidence-panel,.source-card,.account-section,.roadmap,.action-panel{box-shadow:none;background:0 0;border:0;border-radius:0}.evidence-panel{border-left:1px solid var(--line);background:#fff;min-height:calc(100vh - 1px);max-height:none;padding:22px 0 0 22px;top:0}.panel-heading{margin-bottom:14px}.panel-heading h2{font-size:17px;font-weight:690}.panel-heading p{font-size:13px}.scope-trigger,.scope-menu,.mode-switch,.input-wrap,.suggestion-strip,.highlight-panel,.result-group,.result-table,.database-card,.legal-card,.replacement-card,.audit-card,.source-card,.account-section,.account-card,.auth-card,.roadmap-step{border-color:var(--line);box-shadow:none;border-radius:6px}.mode-switch{background:#f7f7f5;margin-bottom:10px}.mode-switch button,.auth-tabs button{min-height:30px;color:var(--muted);border-radius:5px}.mode-switch button.active,.auth-tabs button.active{color:#202020;box-shadow:inset 0 0 0 1px var(--line);background:#fff}.input-wrap{border:1px solid var(--line);background:#fff;grid-template-columns:1fr auto;gap:10px;padding:0}.input-icon{color:#9b9b96;top:20px;left:16px}textarea{height:192px;box-shadow:none;color:#202020;border-radius:6px;padding:17px 16px 17px 42px;font-size:15px;font-weight:520;line-height:1.55}.text-input-wrap textarea{height:230px;font-size:15px;font-weight:520}.input-wrap .primary-button{align-self:end;margin:10px}.sample-row{margin:10px 0 16px}.sample-chip{height:28px;color:var(--muted);background:#fff;border-radius:6px;font-size:12px;font-weight:560}.sample-chip.active,.sample-chip:hover{border-color:var(--line);color:#202020;background:#f5f5f3}.summary-row{grid-template-columns:repeat(4,minmax(118px,max-content));align-items:stretch;gap:8px;margin:18px 0 8px}.status-card,.score-card{border:1px solid var(--line);border-radius:6px;gap:8px;min-height:42px;padding:8px 10px;color:#2f2f2d!important;background:#fbfbfa!important}.status-card strong,.score-card strong{font-size:15px;font-weight:720}.status-card span,.score-card span{color:var(--muted);margin-top:2px;font-size:12px;font-weight:520}.status-card svg,.score-card svg{color:#8d8d88;width:16px;height:16px}.recommendation{border:1px solid var(--line);color:var(--text);background:#fbfbfa;border-radius:6px;margin-top:16px;padding:14px}.recommendation .section-label{color:var(--muted)}.final-phrase-input{min-height:62px;color:var(--text);font-size:20px;font-weight:680;line-height:1.25}.suggestion-strip,.highlight-panel{background:#fff}.phrase-option{background:#fbfbfa;border:0;border-radius:6px}.phrase-option:hover{background:#f1f1ef;border-color:#0000}.result-groups{margin-top:18px}.result-group{background:#fff;overflow:visible}.result-group+.result-group{margin-top:8px}.result-group.green,.result-group.amber,.result-group.red,.result-group.blue{border-color:var(--line)}.result-group-header,.result-group.green .result-group-header,.result-group.amber .result-group-header,.result-group.red .result-group-header,.result-group.blue .result-group-header{background:#fbfbfa;min-height:48px;padding:10px 12px}.result-group-icon{color:#8d8d88!important;background:0 0!important}.result-group-header strong{font-size:13px;font-weight:680}.result-group-header small{color:var(--muted);font-size:12px}.table-head{color:var(--muted);border-bottom:1px solid var(--line);background:0 0}.token-row{border-bottom:1px solid var(--line);background:#fff}.token-row:hover,.token-row.active{background:#fbfbfa}.status-pill,.evidence-dot,.source-id-list span,.database-meta span{box-shadow:none;border-radius:5px;font-size:11px;font-weight:560}.status-pill.green,.evidence-dot.passed{background:var(--green-bg);color:var(--green)}.status-pill.amber,.evidence-dot.pending{background:var(--amber-bg);color:var(--amber)}.status-pill.red,.evidence-dot.failed{background:var(--red-bg);color:var(--red)}.quick-replacements button,.candidate-list button,.spelling-suggestion-list button{border-color:var(--line);color:#2f2f2d;background:#f7f7f5;border-radius:5px}.database-card,.legal-card,.replacement-card,.audit-card{border:0;border-bottom:1px solid var(--line);background:#fff;padding:0 0 14px}.database-card h3,.legal-card h3,.replacement-card h3,.audit-card h3{font-size:14px;font-weight:690}.database-card p,.legal-check small,.replacement-card p{color:var(--muted);font-size:12px;line-height:1.45}.toggle-list{gap:6px}.toggle-line{background:0 0;border:1px solid #0000;border-radius:6px;min-height:48px;padding:8px}.toggle-line:hover,.toggle-line.active{border-color:var(--line);background:#fbfbfa}.toggle-icon{color:#8d8d88;background:0 0}.toggle-switch{background:#d8d8d3;width:28px;height:16px}.toggle-line.active .toggle-switch{background:var(--green)}.toggle-switch:after{width:12px;height:12px}.source-card,.account-section,.action-panel,.roadmap{border-top:1px solid var(--line);margin-top:34px;padding-top:22px}.source-card-header,.account-hero{margin-bottom:14px}.source-card-header h2,.account-hero h2,.roadmap-copy h2,.action-panel h2{font-size:22px;font-weight:700}.source-registry,.account-grid,.account-grid.guest{gap:8px}.source-link,.account-card,.auth-card,.cabinet-feature,.history-item,.empty-history{background:#fff;border-radius:6px}.history-card,.team-card{grid-column:1/-1}.avatar-circle{background:#202020;border-radius:6px}.usage-bar{height:6px}.roadmap{display:none}@media (width<=1120px){.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto}.checker-grid{border-top:1px solid var(--line);grid-template-columns:1fr}.analysis-panel{padding-right:0}.evidence-panel{border-left:0;border-top:1px solid var(--line);min-height:auto;padding:22px 0 0}.nav-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=780px){.workspace{padding:18px 16px 34px}.topbar,.export-action,.recommendation,.account-hero{align-items:stretch}.export-action{justify-content:stretch}.export-action>*{width:100%}.input-wrap{grid-template-columns:1fr}.input-wrap .primary-button{margin:0 10px 10px}.summary-row{grid-template-columns:repeat(2,minmax(0,1fr))}.source-registry,.account-grid,.account-grid.guest{grid-template-columns:1fr}}@media (width<=520px){.sidebar{padding:14px 10px}.nav-list,.summary-row{grid-template-columns:1fr}.topbar h1{font-size:26px}textarea{height:170px}}@media (width<=780px){.app-shell{max-width:100vw;min-height:100vh;overflow-x:hidden}.sidebar{gap:10px;min-width:0;max-width:100vw;padding:12px 14px}.brand{margin-bottom:2px}.brand span,.sidebar-note,.topbar p{display:none}.nav-list{scrollbar-width:none;grid-template-columns:none;gap:6px;width:100%;min-width:0;max-width:calc(100vw - 28px);margin:0 -2px;padding:0 2px 2px;display:flex;overflow-x:auto}.nav-list::-webkit-scrollbar{display:none}.nav-item{white-space:nowrap;flex:none;min-height:32px;padding:7px 10px}.workspace{width:100%;min-width:0;max-width:100vw;padding:16px}.topbar{gap:8px;min-width:0;margin-bottom:14px}.topbar>div{min-width:0}.topbar h1{font-size:24px}.export-action{align-items:flex-start;gap:6px}.export-action .ghost-button{display:none}.export-action>*{width:auto}.account-pill{min-height:32px;padding:7px 10px}.analysis-panel,.evidence-panel{min-width:0}.panel-heading{margin-bottom:10px}.panel-heading p{display:none}.mode-tabs{margin-bottom:10px}textarea{height:120px}}@media (width<=520px){.workspace{padding:14px}.topbar h1{font-size:23px}textarea{height:112px}}.auth-drawer{border:1px solid var(--line);background:#fff;border-radius:6px;margin:-4px 0 16px;padding:14px}.auth-drawer-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.auth-drawer h2{margin:0 0 4px;font-size:17px;line-height:1.2}.auth-drawer p{color:var(--muted);margin:0;font-size:13px;line-height:1.4}.icon-button{border:1px solid var(--line);width:30px;height:30px;color:var(--muted);background:#fff;border-radius:6px;place-items:center;padding:0;display:inline-grid}.auth-inline-form{grid-template-columns:180px repeat(2,minmax(180px,1fr)) auto;align-items:end;gap:10px;display:grid}.auth-inline-form .field-label{min-width:0}.auth-inline-form .account-submit{width:auto;min-height:42px;padding-inline:16px}.auth-inline-form:has(.field-label:nth-of-type(3)){grid-template-columns:180px repeat(3,minmax(150px,1fr)) auto}.account-pill{cursor:pointer;font-family:inherit}.check-status-line{min-height:26px;color:var(--muted);align-items:center;gap:8px;padding:7px 2px 0;font-size:12px;line-height:1.35;display:flex}.check-status-line.loading{color:#202020}.input-wrap:not(.text-input-wrap) textarea{height:96px;min-height:96px}.text-input-wrap textarea{height:190px}.tiny-skeleton-dot{background:#202020;border-radius:99px;width:7px;height:7px;animation:1.1s ease-in-out infinite skeletonPulse}.result-scope.locked,.result-scope.locked.compact{min-height:auto}.result-scope-content.muted,.result-overlay{display:none}.result-skeleton{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:minmax(180px,.42fr) minmax(0,1fr);align-items:center;gap:18px;min-height:154px;padding:16px;display:grid}.result-skeleton.compact{grid-template-columns:1fr;gap:12px;min-height:118px;padding:14px}.skeleton-copy{gap:5px;display:grid}.skeleton-copy span{color:var(--muted);font-size:12px;line-height:1.35}.skeleton-copy .skeleton-title{color:#202020;font-size:14px;font-weight:700}.skeleton-lines{gap:9px;display:grid}.skeleton-lines span{background:linear-gradient(90deg,#eeeeeb 0%,#fafafa 42%,#eeeeeb 80%) 0 0/220% 100%;border-radius:99px;height:12px;animation:1.3s ease-in-out infinite skeletonSweep}.skeleton-lines span:nth-child(2){width:76%}.skeleton-lines span:nth-child(3){width:54%}.result-state-card{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:82px;padding:14px;display:grid}.result-state-card strong,.result-state-card span,.result-state-card small{display:block}.result-state-card strong{font-size:14px;line-height:1.25}.result-state-card span,.result-state-card small{color:var(--muted);font-size:12px;line-height:1.35}.result-state-card small{max-height:34px;margin-top:4px;overflow:hidden}.overlay-action{min-height:32px;box-shadow:none;border-radius:6px}.source-card,.action-panel,.account-section{margin-top:24px;padding-top:18px}.source-card-header h2,.account-hero h2,.action-panel h2{font-size:18px;line-height:1.25}.source-card-header p,.account-hero p{max-width:680px;font-size:13px}.source-registry{max-height:360px;padding-right:4px;overflow:auto}.account-section{padding-bottom:0}.account-empty{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.account-empty h3{margin:0 0 4px;font-size:15px;line-height:1.25}.account-empty p{color:var(--muted);margin:0;font-size:12px;line-height:1.4}.account-grid{grid-template-columns:minmax(260px,.62fr) minmax(0,1fr)}.account-card,.auth-card{padding:14px}.team-card{display:none}@keyframes skeletonPulse{0%,to{opacity:.35}50%{opacity:1}}@keyframes skeletonSweep{0%{background-position:100% 0}to{background-position:-120% 0}}@media (width<=1180px){:is(.auth-inline-form,.auth-inline-form:has(.field-label:nth-of-type(3))){grid-template-columns:1fr 1fr}.auth-inline-form .auth-tabs,.auth-inline-form .account-submit{grid-column:1/-1}}@media (width<=780px){.auth-drawer{margin-top:0}:is(.auth-inline-form,.auth-inline-form:has(.field-label:nth-of-type(3)),.result-skeleton,.result-state-card,.account-empty){grid-template-columns:1fr}.result-skeleton{gap:12px;min-height:132px}.input-wrap:not(.text-input-wrap) textarea{height:92px;min-height:92px}.text-input-wrap textarea{height:180px}.source-registry{max-height:300px}}.checker-grid{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr);gap:0}.analysis-panel{padding:22px 0 0}.evidence-panel{display:none}.layer-strip{flex-wrap:wrap;gap:6px;margin:-2px 0 12px;display:flex}.layer-strip .toggle-line{border-color:var(--line);background:#fff;grid-template-columns:18px minmax(0,auto) 24px;gap:7px;width:auto;min-height:32px;padding:5px 7px}.layer-strip .toggle-icon{width:18px;height:18px}.layer-strip .toggle-icon svg{width:15px;height:15px}.layer-strip .toggle-line strong{font-size:12px;line-height:1.1}.layer-strip .toggle-line small{margin-top:1px;font-size:10.5px;line-height:1.1}.layer-strip .toggle-switch{width:22px;height:13px}.layer-strip .toggle-switch:after{width:9px;height:9px}.layer-strip .toggle-line.active .toggle-switch:after{transform:translate(9px)}.inline-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.inline-checks:empty{display:none}.inline-checks .legal-card{border:1px solid var(--line);background:#fff;border-radius:6px;padding:12px}.inline-checks .legal-card:empty{display:none}.word-result-list{background:0 0;border:0;overflow:visible}.word-result-list .table-head{display:none}.word-result-list .token-row{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:minmax(120px,.8fr) minmax(145px,.75fr) minmax(260px,1.8fr) minmax(160px,.9fr);align-items:start;gap:12px;min-height:auto;margin-top:8px;padding:12px;display:grid}.word-result-list .token-row:hover,.word-result-list .token-row.active{background:#fbfbfa;box-shadow:inset 2px 0 #202020}.token-main-cell,.token-advice-cell,.token-evidence-cell{min-width:0}.token-detail{border-top:1px solid var(--line);grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:2px;padding-top:12px;display:grid}.token-detail-block{border:1px solid var(--line);background:#fff;border-radius:6px;min-width:0;padding:10px}.token-detail-block p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.45}.token-detail-label{color:#8d8d88;text-transform:uppercase;font-size:10.5px;font-weight:700;line-height:1.1;display:block}.source-id-list.compact{margin-top:8px}.dictionary-match-list.inline{gap:6px;margin-top:8px;display:grid}.dictionary-match-list.inline a{border:1px solid var(--line);color:var(--text);background:#fbfbfa;border-radius:5px;gap:2px;padding:8px;text-decoration:none;display:grid}.dictionary-match-list.inline a:hover{background:#f1f1ef}.dictionary-match-list.inline strong{font-size:12px;line-height:1.2}.dictionary-match-list.inline span{color:var(--muted);margin:0;font-size:11px;line-height:1.35}.database-card{display:none}.source-card:before{content:"База проверки: 12 PDF из официального перечня, словарный индекс, Роспатент и ФЗ-168 подключены к проверочному API.";color:var(--muted);margin-bottom:12px;font-size:12px;line-height:1.4;display:block}@media (width<=960px){.inline-checks,.token-detail{grid-template-columns:1fr}.word-result-list .token-row{grid-template-columns:minmax(0,1fr)}}@media (width<=780px){.analysis-panel{padding-top:16px}.layer-strip{grid-template-columns:1fr;display:grid}.layer-strip .toggle-line{width:100%}}.workspace{width:min(100%,1360px);margin:0 auto;padding:28px clamp(20px,3vw,34px) 48px}.topbar{align-items:flex-start;gap:18px;max-width:none}.topbar>div:first-child,.topbar p{max-width:560px}.export-action{flex:none}.analysis-panel{max-width:none}.panel-heading{justify-content:space-between;gap:18px;max-width:none}.panel-heading>div:first-child{flex:auto;min-width:0}.scope-picker{margin-left:0}.scope-menu{left:0;right:auto}.mode-switch,.layer-strip,.input-wrap,.check-status-line,.sample-row,.summary-row,.inline-checks,.recommendation,.suggestion-strip,.highlight-panel{max-width:none}.summary-row{grid-template-columns:repeat(4,minmax(0,1fr))}.word-result-list{max-width:none}.word-result-list .token-row{grid-template-columns:minmax(108px,.7fr) minmax(138px,.72fr) minmax(220px,1.45fr) minmax(136px,.72fr)}.token-detail{grid-template-columns:repeat(2,minmax(0,1fr))}.inline-checks{grid-template-columns:1fr}.recommendation{min-height:92px}.final-phrase-input{min-height:54px}.source-card:before{content:none}.compact-source-card{border:1px solid var(--line);background:#fff;border-radius:6px;max-width:none;margin-top:24px;padding:0}.compact-source-card summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:58px;padding:13px 14px;list-style:none;display:grid}.compact-source-card summary::-webkit-details-marker{display:none}.compact-source-card summary strong,.compact-source-card summary small{min-width:0;display:block}.compact-source-card summary strong{color:var(--text);margin-top:4px;font-size:15px;line-height:1.25}.compact-source-card summary small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.compact-source-card .source-count{position:static}.compact-source-card .source-registry{grid-template-columns:1fr;max-height:none;padding:0 14px 14px;overflow:visible}.action-panel{display:none}@media (width>=1480px){.workspace{padding-left:38px}}@media (width<=960px){.workspace,.topbar,.analysis-panel,.panel-heading,.mode-switch,.layer-strip,.input-wrap,.check-status-line,.sample-row,.summary-row,.word-result-list,.inline-checks,.recommendation,.suggestion-strip,.highlight-panel,.compact-source-card{max-width:none}.panel-heading{flex-direction:column}}@media (width<=780px){.workspace{width:100%;padding:16px}.topbar{max-width:none}.summary-row{grid-template-columns:repeat(2,minmax(0,1fr))}.recommendation{min-height:0}}@media (width<=960px){.word-result-list .token-row,.token-detail{grid-template-columns:minmax(0,1fr)}.token-detail-block,.token-main-cell,.token-advice-cell,.token-evidence-cell{min-width:0}}
