:root{--ink:#233e5d;--muted:#5b718b;--blue:#2f5d92;--line:#d9e4f2;--soft:#edf4fd;--qa-ink:var(--ink);--qa-muted:var(--muted);--qa-blue:var(--blue);font-family:"Segoe UI",system-ui,sans-serif;color:var(--ink);background:#f6f9fd;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:15px}button,input,textarea,select{font:inherit}button,a,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--blue);text-underline-offset:4px}button:disabled{cursor:default;opacity:.5}button,a,textarea,select,input{outline-offset:4px}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #4b81c5}::selection{background:#d7e7fd;color:#19395b}[hidden]{display:none!important}button{color:inherit}img{max-width:100%}.icon{width:19px;height:19px;flex:none;vertical-align:middle}.primary .icon{filter:brightness(0) invert(1)}.button{min-height:46px;display:inline-flex;gap:12px;align-items:center;justify-content:center;padding:12px 20px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--blue);text-decoration:none;font-weight:600;line-height:1.35}.primary{background:linear-gradient(120deg,#315f97,#2b5686);color:#fff;border:1px solid #315c8d;box-shadow:0 3px 7px #21466512}.button:hover{background:#edf4fd}.primary:hover{background:#244d7b}.icon-button{border:0;background:transparent;width:36px;height:36px;border-radius:9px;display:grid;place-items:center}.icon-button:hover{background:#e8f0fb}.skip-link{position:absolute;top:-80px;left:24px;z-index:10;padding:14px;background:white}.skip-link:focus{top:8px}
.site-header{position:relative;z-index:2;display:flex;align-items:center;gap:24px;min-height:96px;margin:4px 24px 0;padding:12px 24px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 24px #244a7410}.brand{flex:none;display:flex;align-items:center}.brand img{width:240px;height:60px;object-fit:contain}.site-header nav{display:flex;align-items:center;justify-content:center;gap:3px;margin-left:auto}.site-header nav a{padding:14px 13px;white-space:nowrap;border-radius:12px;font-size:14px;font-weight:600;text-decoration:none;color:#3f5977}.site-header nav a:hover{background:#f3f7fc}.site-header nav a[aria-current]{background:#e9f1ff;color:#24558e;box-shadow:inset 0 0 0 1px #d2e2fc}.contact{flex:none;text-align:center}.contact small{display:block;font-size:11px;margin-bottom:7px;color:var(--muted)}.contact .button{min-width:205px;padding:11px 20px}
.workspace{height:calc(calc(100dvh / var(--rmi-zoom, 1)) - 100px);min-height:570px;display:grid;grid-template-columns:clamp(178px,calc(16vw / var(--rmi-zoom, 1)),240px) minmax(390px,1.08fr) minmax(400px,1fr);grid-template-rows:minmax(0,1fr)}.history-rail{padding:24px 14px 22px 28px;border-right:1px solid #edf2f9;display:flex;flex-direction:column;min-width:0;background:#f9fbfe}.rail-heading{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:14px;font-weight:600}.history-item{padding:14px 12px;background:transparent;display:block;text-align:left;width:100%;border:0;border-radius:12px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}.history-item strong{font-size:14px}.history-item small{display:block;margin:4px 0 0;color:var(--muted);font-size:12px}.history-item[aria-current]{background:#eaf2fe}.history-item:hover{background:#eef3fa}.rail-note{margin-top:auto;padding-top:26px;font-size:12px;color:var(--muted);line-height:1.7}.test-badge{display:inline-flex;align-items:center;padding:6px 11px;background:#e8eff8;border-radius:9px;font-size:12px;white-space:nowrap;color:#44617f}
.chat-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:linear-gradient(100deg,#fbfcff,#fff)}.transcript{min-height:0;flex:1;overflow:auto;padding:40px 26px 28px;scrollbar-gutter:stable;scroll-behavior:smooth;overscroll-behavior:contain}.welcome{max-width:540px;margin:clamp(35px,calc(10vh / var(--rmi-zoom, 1)),120px) auto 20px}.welcome h1{font-size:clamp(29px,calc(2.7vw / var(--rmi-zoom, 1)),40px);line-height:1.18;letter-spacing:-.025em;margin:26px 0 20px}.welcome p{color:var(--muted);line-height:1.75;max-width:47ch}.welcome small{display:block;color:var(--muted);font-size:12px;line-height:1.7;margin-top:24px}.example{display:inline-flex;align-items:center;gap:14px;padding:13px 15px;border:1px solid #cdddf0;border-radius:11px;background:#edf4fe;margin-top:15px;color:#2d5583;font-size:14px}.user-message{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin:0 0 36px}.user-message p{margin:0;padding:18px 24px;border-radius:20px 5px 20px 20px;background:#e4eeff;line-height:1.6;max-width:85%;overflow-wrap:anywhere}.user-message .icon{width:23px;height:23px}.assistant-intro{display:flex;align-items:center;gap:18px;margin:0 0 26px;line-height:1.6;font-size:16px}.assistant-intro img{width:38px;height:38px;flex:none}.result-card{border:1px solid var(--line);border-radius:17px;padding:24px;margin:0 0 28px;background:#fff}.result-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}.match{display:inline-flex;align-items:center;gap:7px;color:#24664c;background:#e9f5ef;border-radius:20px;padding:8px 11px;font-weight:600}.match .icon{width:16px;height:16px}.result-top a{text-decoration:none}.result-card h2{font-size:clamp(21px,calc(1.75vw / var(--rmi-zoom, 1)),27px);line-height:1.4;letter-spacing:-.015em;margin:23px 0}.record-meta{margin:0 0 20px;color:var(--muted);font-size:13px;line-height:1.7}.producer{margin:0 0 24px;line-height:1.7;font-size:14px}.producer strong{display:block;color:var(--ink);font-size:20px}.result-actions{display:flex;gap:12px;padding-top:22px;border-top:1px solid var(--line);flex-wrap:wrap}.result-actions .button{flex:1;min-width:150px;font-size:14px}.section-label{font-size:16px;margin:0 0 16px}.doc-summary{display:flex;align-items:center;gap:17px;padding:0 0 25px;border-bottom:1px solid var(--line);margin-bottom:24px}.doc-summary .large-icon{background:#f1f5fc;border:1px solid #e7edf6;border-radius:12px;padding:13px;width:55px;height:55px}.doc-summary p{margin:0;line-height:1.6;overflow-wrap:anywhere}.doc-summary small{display:block;color:var(--muted);margin-top:4px}.guidance{font-size:14px;line-height:1.75;color:var(--muted)}.question-chips{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 6px}.question-chips button{border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px 11px;font-size:13px}.question-chips button:hover{background:#edf4fd}.checked-at{font-size:11px;color:var(--muted);margin:18px 0 0;line-height:1.6}.archive-note{padding:12px;background:#fff7e6;border-radius:8px;color:#6c5125;font-size:13px;line-height:1.5}.message{padding:18px 20px;background:#eff5fc;border:1px solid var(--line);border-radius:13px;line-height:1.7;margin-bottom:18px}.message h2{font-size:20px;margin:0 0 12px}.message p{margin:0 0 10px}.message.error{color:#763e36;background:#fff7f4;border-color:#edcdc5}.message button{margin-top:8px}.search-choice{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:12px;padding:16px;background:white;margin:10px 0;color:var(--ink)}.search-choice:hover{background:#f0f6ff}.search-choice span{display:block;margin-top:6px;font-size:14px;line-height:1.5}.search-choice small{display:block;margin-top:8px;color:var(--muted)}
.composer{flex:none;margin:0 22px 24px;padding:13px;background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:0 9px 30px #3157810a}.composer-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 3px 9px;font-size:12px;color:var(--muted)}.composer-context button{font-size:12px;padding:3px 0;background:none;border:0;color:var(--blue)}.composer-input{display:flex;align-items:center;gap:12px;padding:6px 6px 6px 15px;border:1px solid #d4e1f2;border-radius:13px}.composer-input:focus-within{border-color:#709ad0;box-shadow:0 0 0 3px #e8f1fc}.composer textarea{flex:1;resize:none;min-width:0;max-height:110px;height:38px;border:0;background:transparent;outline:none;padding:8px 0;font-size:16px;line-height:22px;color:var(--ink)}.composer textarea::placeholder{color:#627a96;opacity:1}.composer .send{height:48px;width:54px;display:grid;place-items:center;flex:none;border-radius:11px}.composer .send .icon{width:23px;height:23px}#live-status{font-size:12px;color:var(--muted);line-height:1.6}#live-status:not(:empty){padding:8px 3px 0}.composer[data-busy=true] .send .icon{animation:pending 1s ease-in-out infinite alternate}@keyframes pending{to{opacity:.35}}
.document-pane{padding:30px 28px 26px 24px;display:flex;flex-direction:column;min-width:0;min-height:0;background:linear-gradient(120deg,#edf4fd,#f4f8fe);border-left:1px solid var(--line)}.document-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.document-heading h2{font-size:19px;line-height:1.4;margin:0;letter-spacing:-.015em}.document-empty{margin:auto;text-align:center;max-width:310px;color:var(--muted);line-height:1.8}.document-empty .large-icon{width:55px;height:55px;opacity:.65}.document-empty h3{color:var(--ink);font-size:20px;margin-bottom:12px}.document-empty p{font-size:14px}.document-picker{font-size:12px;color:var(--muted);margin-bottom:12px}.document-picker select{width:100%;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:10px;margin-top:6px;min-width:0}.document-footer{display:flex;align-items:center;gap:14px;margin-top:22px;flex:none}.document-footer>div{flex:1;min-width:0}.document-footer strong{display:block;font-size:14px;line-height:1.55;overflow-wrap:anywhere}.document-footer small{display:block;margin-top:5px;color:var(--muted);font-size:13px}.document-footer .file-icon{width:31px;height:38px;opacity:.7}.document-footer .button{font-size:13px;padding:12px;white-space:nowrap}
.qa-document-viewer{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden;border:1px solid #d7e4f3;border-radius:16px;background:#f9fbff}.qa-pdf-toolbar{padding:10px 12px;background:#f9fbff;flex:none}.qa-pdf-title{display:none}.qa-pdf-original{display:none!important}.qa-pdf-controls{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.qa-pdf-control-group{display:flex;align-items:center;gap:3px}.qa-pdf-controls button{display:grid;place-items:center;border:0;border-radius:7px;min-width:32px;height:32px;padding:4px;background:transparent;font-size:17px;color:#365c86}.qa-pdf-controls button:hover:not(:disabled){background:#e5eefb}.qa-pdf-controls button .icon{width:17px;height:17px}.qa-pdf-page-label{display:flex;align-items:center;gap:6px;font-size:13px}.qa-pdf-page-caption{display:none}.qa-pdf-controls input{width:46px;height:30px;background:#fff;border:1px solid var(--line);border-radius:6px;text-align:center;font-size:13px;color:var(--ink);appearance:textfield}.qa-pdf-controls input::-webkit-inner-spin-button{appearance:none}.qa-pdf-zoom-value{font-size:12px;min-width:36px;text-align:center}.qa-pdf-controls button[aria-label="Подогнать PDF по ширине"],.qa-pdf-controls button[aria-label="Показать страницу PDF целиком"]{font-size:11px;padding:5px 7px}.qa-pdf-scroll{position:relative;flex:1;min-height:0;min-width:0;padding:14px;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;background:#e8eef6;scrollbar-gutter:stable}.qa-pdf-stack{display:flex;flex-direction:column;gap:22px;min-width:100%;width:max-content;align-items:center}.qa-pdf-slot{position:relative;flex:none;background:#fff;box-shadow:0 3px 12px #23476516;box-sizing:content-box;overflow:hidden}.qa-pdf-slot:empty:before{content:attr(aria-label);position:absolute;inset:40% 12px auto;text-align:center;font-size:15px;color:var(--muted)}.qa-pdf-paper{position:relative;width:max-content;margin:0 auto;background:#fff}.qa-pdf-page{display:block;max-width:none;background:#fff}.qa-viewer-state{padding:8px 12px;font-size:12px;line-height:1.6;color:var(--muted);flex:none;background:#f4f8fd}.qa-viewer-state.is-error{color:#854331;background:#fff3ec}.qa-viewer-state button{margin-left:8px}.qa-pdf-text-layer{--min-font-size:1;--text-scale-factor:calc(var(--total-scale-factor) * var(--min-font-size));--min-font-size-inv:calc(1 / var(--min-font-size));position:absolute;inset:0;overflow:clip;text-align:initial;line-height:1;opacity:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.qa-pdf-text-layer :is(span,br){position:absolute;color:transparent;white-space:pre;cursor:text;transform-origin:0 0}.qa-pdf-text-layer :is(span,br):not(.markedContent){--scale-x:1;--rotate:0deg;font-size:calc(var(--text-scale-factor) * var(--font-height));transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.qa-pdf-text-layer> :not(.markedContent),.qa-pdf-text-layer .markedContent span:not(.markedContent){z-index:1}.qa-pdf-text-layer span.markedContent{display:contents}.qa-pdf-text-layer ::selection{color:transparent;background:#77a9d970}.qa-pdf-highlights{position:absolute;inset:0;pointer-events:none;z-index:3}.qa-pdf-highlight{position:absolute;border:1px solid #d5a845;background:#f7d46950;border-radius:2px}.answer{padding:22px;border:1px solid var(--line);background:white;border-radius:15px;margin:0 0 28px;line-height:1.7}.answer h3{font-size:19px;margin:0 0 16px}.answer dl{margin:12px 0}.answer dt{font-size:13px;color:var(--muted);margin:12px 0 3px}.answer dd{margin:0;font-size:15px}.answer blockquote{font-size:14px;white-space:pre-line;margin:12px 0;color:#415972}.answer details{border-top:1px solid var(--line);padding-top:12px;margin-top:18px}.answer summary{cursor:pointer;font-size:13px}.citation{padding:6px 9px;background:#edf4ff;color:#295887;border:1px solid #d5e4f5;border-radius:7px;font-size:12px;margin:8px 8px 0 0;min-height:32px}.answer small{display:block;color:var(--muted);font-size:12px;margin-top:12px}.mobile-tabs{display:none}*{scrollbar-width:thin;scrollbar-color:#afbed1 transparent}
@media(min-width:1650px){.workspace{grid-template-columns:250px minmax(500px,1.1fr) minmax(500px,1fr)}.transcript{padding:42px 38px}.document-pane{padding:30px 36px}.site-header{margin-left:28px;margin-right:28px}.composer{margin-left:32px;margin-right:32px}}
@media(max-width:1250px){.site-header{gap:15px;margin:8px 16px 0;padding:12px 18px;min-height:80px}.brand img{width:190px;height:48px}.site-header nav a{padding:12px 10px;font-size:12px}.contact small{display:none}.contact .button{min-width:0;font-size:12px}.workspace{height:calc(calc(100dvh / var(--rmi-zoom, 1)) - 88px);grid-template-columns:175px minmax(330px,1fr) minmax(350px,1fr)}.history-rail{padding:22px 10px 20px 16px}.document-pane{padding:24px 16px}.transcript{padding:30px 20px}.result-card{padding:20px}.result-actions{gap:8px}.result-actions .button{min-width:0;font-size:12px;padding:12px}.document-footer .file-icon{display:none}.document-footer .button{font-size:12px}.composer{margin:0 15px 18px}.document-heading h2{font-size:17px}}
@media(max-width:1000px){.history-rail{display:none}.workspace{grid-template-columns:minmax(350px,1fr) minmax(340px,1fr)}.site-header nav a[href="/localization.html"],.site-header nav a[href="/about.html"]{display:none}.site-header{gap:12px}.contact{margin-left:auto}.contact .button{min-height:40px}.site-header nav{margin-left:auto}.result-card h2{font-size:22px}}
@media(max-width:730px){.site-header{margin:8px 10px 0;padding:9px 13px;border-radius:16px;min-height:63px;flex-wrap:wrap;gap:5px 12px}.brand img{width:170px;height:42px}.contact{display:none}.site-header nav{gap:0}.site-header nav a{padding:10px;font-size:12px}.site-header nav a[href="/laboratories.html"]{display:none}.workspace{height:calc(calc(100dvh / var(--rmi-zoom, 1)) - 79px);min-height:440px;display:flex;flex-direction:column}.mobile-tabs{display:flex;flex:none;gap:5px;margin:12px 16px 0;padding:4px;background:#e7eef8;border-radius:11px}.mobile-tabs button{flex:1;border:0;border-radius:8px;background:transparent;color:var(--muted);min-height:36px;font-size:13px}.mobile-tabs button[aria-pressed=true]{background:#fff;color:#285487;box-shadow:0 2px 5px #223e6210}.chat-pane{flex:1}.transcript{padding:24px 20px 15px}.workspace[data-pane=document] .chat-pane{display:none}.workspace[data-pane=chat] .document-pane{display:none}.document-pane{flex:1;padding:18px 16px;border:0}.welcome{margin:30px auto 20px}.welcome h1{font-size:33px}.welcome p{font-size:14px}.welcome small{font-size:12px}.composer{margin:0 12px 12px;padding:10px;border-radius:16px}.composer textarea{font-size:16px}.composer-context{font-size:11px}.composer-context button{font-size:11px}.user-message{margin-bottom:25px;gap:12px}.user-message p{padding:13px 16px;font-size:14px}.result-card{padding:18px;border-radius:14px}.result-card h2{font-size:21px;margin:20px 0}.result-top{font-size:11px}.match{padding:7px 9px}.result-actions .button{font-size:12px;min-height:46px}.producer strong{font-size:19px}.record-meta{font-size:12px}.assistant-intro{font-size:14px;gap:13px;margin-bottom:20px}.assistant-intro img{width:34px;height:34px}.document-footer{margin-top:15px}.document-footer strong{font-size:12px}.document-footer .button{min-height:42px}.question-chips button{min-height:40px}.document-heading h2{font-size:17px}.answer{padding:17px}.qa-pdf-toolbar{padding:8px}.qa-pdf-controls{gap:4px}}
.icon,.large-icon,.file-icon{filter:brightness(0) saturate(100%) invert(31%) sepia(21%) saturate(1300%) hue-rotate(170deg) brightness(95%) contrast(90%)}.primary .icon{filter:brightness(0) invert(1)}.doc-glyph{width:55px;height:55px;flex:none;display:grid;place-items:center;background:#f1f5fc;border:1px solid #e7edf6;border-radius:12px}.doc-glyph .icon{width:25px;height:25px}
.record-details{margin:0 0 21px;color:var(--muted);font-size:13px;line-height:1.7}.record-details summary{cursor:pointer;min-height:24px}.record-details p{margin:12px 0 0;color:var(--ink)}.answer-feedback{display:flex;align-items:center;gap:8px;margin-top:20px;padding-top:13px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.answer-feedback .citation{margin:0;min-width:45px}
@media(min-width:731px){.workspace{grid-template-rows:minmax(0,1fr) auto}.chat-pane{display:contents}.transcript{grid-column:2;grid-row:1;background:linear-gradient(100deg,#fbfcff,#fff)}.history-rail{grid-column:1;grid-row:1}.document-pane{grid-column:3;grid-row:1/3}.composer{grid-column:1/3;grid-row:2;margin:0 22px 24px 28px}.rail-note{padding-bottom:10px}.result-card h2{font-size:25px;line-height:1.35;margin:22px 0 18px}.result-card{padding:24px}.producer{margin-bottom:20px}.result-actions{padding-top:20px}}
@media(min-width:731px) and (max-width:1000px){.transcript{grid-column:1}.document-pane{grid-column:2}.composer{grid-column:1;margin:0 16px 18px}.result-card h2{font-size:23px}.result-card{padding:20px}}
@media(max-width:730px){.composer textarea{height:40px;font-size:16px;line-height:24px;padding:8px 0}.result-card h2{line-height:1.35}.record-details{font-size:12px;margin-bottom:17px}.result-actions .button{gap:7px}.result-actions .button .icon{width:16px;height:16px}}
body{height:calc(100dvh / var(--rmi-zoom, 1));display:flex;flex-direction:column}.site-header{flex:none}.workspace{flex:1;min-height:0;height:auto}
@media(max-width:370px){.brand img{width:140px;height:40px}.site-header{gap:5px 8px;padding:9px 10px}.site-header nav a{font-size:11px;padding:10px 8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* One entry point. The document workspace appears only when requested. */
.workspace{width:100%;max-width:1680px;margin:0 auto;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
.workspace .transcript{grid-column:1;grid-row:1;width:100%;max-width:900px;margin:0 auto;padding:30px 26px 24px;background:transparent;scroll-behavior:auto}
.workspace .composer{grid-column:1;grid-row:2;width:calc(100% - 52px);max-width:848px;margin:0 auto 24px;box-shadow:0 6px 28px #3157810c}
.workspace:not([data-stage=document]) .document-pane,.workspace:not([data-stage=document]) .mobile-tabs{display:none}
.workspace[data-stage=empty]{display:block;overflow:auto;padding:clamp(36px,calc(9vh / var(--rmi-zoom, 1)),100px) 26px 36px}
.workspace[data-stage=empty] .chat-pane{display:flex;max-width:820px;margin:0 auto;background:transparent}
.workspace[data-stage=empty] .transcript{flex:none;overflow:visible;padding:0;scrollbar-gutter:auto}
.workspace[data-stage=empty] .welcome{max-width:none;margin:0 0 30px}
.welcome h1{font-size:clamp(32px,calc(3.2vw / var(--rmi-zoom, 1)),46px);font-weight:600;line-height:1.18;margin:22px 0 18px;letter-spacing:-.035em}
.welcome h1 span{color:#527aa6}
.welcome p{max-width:62ch;font-size:16px;line-height:1.75;margin:0;color:#526c87}
.workspace[data-stage=empty] .composer{margin:0;width:100%;max-width:none;padding:18px;border-radius:20px;box-shadow:0 14px 40px #274a7410}
.workspace[data-stage=empty] .composer-input{min-height:70px;background:#fbfdff}
.start-examples{display:none;align-items:center;gap:14px;margin-top:18px;padding-top:16px;border-top:1px solid #e6edf6;font-size:12px;color:var(--muted)}
.workspace[data-stage=empty] .start-examples{display:flex}
.start-examples .example{margin:0;background:#f4f8fe;border-color:#e1eaf5;font-size:13px;padding:10px 12px;min-height:42px}
.start-examples .example .icon{width:15px;height:15px}
.input-hint{font-size:12px;color:var(--muted);line-height:1.5;margin:11px 3px 0}
.composer-context{font-size:13px;line-height:1.45;padding-bottom:10px}
.composer-context button{min-height:28px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.user-message{margin-bottom:20px}.user-message p{padding:12px 18px;font-size:14px}.assistant-intro{margin-bottom:20px;font-size:15px}.assistant-intro img{width:30px;height:30px}
.result-card{box-shadow:0 4px 18px #24476507;margin-bottom:22px}
.record-facts{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr);gap:18px;margin:22px 0;line-height:1.55}
.record-facts dt{color:var(--muted);font-size:12px;margin-bottom:6px}.record-facts dd{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.purpose-details{font-size:14px;line-height:1.7;margin:0 0 22px}.purpose-details summary{cursor:pointer;color:var(--blue)}.purpose-details p{margin-bottom:0;white-space:pre-line}
.record-details summary{color:var(--blue);font-weight:600}.result-actions .button{flex:initial}.result-actions .primary{min-width:220px}
.instruction-summary{padding:0 4px 14px}.instruction-summary .section-label{font-size:18px;margin-bottom:14px}
.doc-summary{margin:0 0 12px;padding:0;border:0;gap:12px}.doc-summary p{font-size:13px}.doc-summary small{font-size:12px}.doc-glyph{width:42px;height:46px;border-radius:10px}.doc-glyph .icon{width:22px;height:22px}
.instruction-summary .guidance{margin:10px 0;font-size:13px;line-height:1.7}.instruction-summary .checked-at{margin-top:12px}
.question-chips{margin-top:12px}.question-chips button{min-height:38px}
.workspace[data-stage=document]{grid-template-columns:minmax(400px,.95fr) minmax(420px,1.05fr)}
.workspace[data-stage=document] .transcript{max-width:none}.workspace[data-stage=document] .composer{max-width:none}
.workspace[data-stage=document] .document-pane{grid-column:2;grid-row:1/3;padding:26px 24px}
.document-heading small{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.document-heading .icon-button{width:40px;height:40px;border:1px solid #cfdeef;background:#f9fcff;flex:none}
.workspace[data-stage=document] .record-facts{grid-template-columns:1fr 1fr}.workspace[data-stage=document] .record-facts>div:first-child{grid-column:1/-1}
.workspace[data-stage=document] .result-actions .button{flex:1;min-width:150px}
.button:active:not(:disabled),.example:active,.question-chips button:active{transform:scale(.985)}
.search-caption{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 16px;overflow-wrap:anywhere}.search-caption .icon{width:16px;height:16px}.workspace .result-card h2{margin:17px 0 14px;font-size:24px;line-height:1.35}.workspace .record-details{margin-bottom:16px}.workspace .record-facts{margin:16px 0}.workspace .purpose-details{margin-bottom:16px}.workspace .result-actions{padding-top:16px}.workspace .checked-at{margin-top:14px}
@media(max-width:1000px) and (min-width:731px){.workspace[data-stage=document]{grid-template-columns:minmax(330px,1fr) minmax(340px,1fr)}.workspace[data-stage=document] .transcript{padding:24px 16px}.workspace[data-stage=document] .document-pane{padding:24px 16px}.workspace[data-stage=document] .composer{width:calc(100% - 32px)}.workspace[data-stage=document] .composer-context{font-size:12px;flex-wrap:wrap}}
@media(max-width:730px){
 .workspace{display:flex;flex-direction:column}.workspace .chat-pane{display:flex;flex-direction:column;min-height:0;flex:1;background:transparent}
 .workspace .transcript{padding:22px 16px;flex:1}.workspace .composer{width:calc(100% - 24px);margin:0 12px 12px;padding:11px;flex:none}
 .workspace[data-stage=empty]{padding:38px 20px 28px}.workspace[data-stage=empty] .chat-pane{display:block}.workspace[data-stage=empty] .composer{padding:13px;border-radius:16px}
 .workspace[data-stage=empty] .welcome{margin-bottom:25px}.welcome h1{font-size:32px;line-height:1.2;margin:20px 0 16px}.welcome p{font-size:14px;line-height:1.7}
 .workspace[data-stage=empty] .composer-input{min-height:62px;padding-left:11px;gap:8px}.composer-context{font-size:12px;flex-wrap:wrap;gap:4px 10px}.composer .send{width:44px;height:44px}
 .input-hint{font-size:11px;line-height:1.6}.start-examples{gap:10px;flex-wrap:wrap}.start-examples .example{font-size:12px}
 .record-facts{grid-template-columns:1fr 1fr;gap:14px}.record-facts>div:first-child{grid-column:1/-1}.record-facts dd{font-size:14px}
 .result-actions .button{flex:1;min-width:130px!important}.result-actions .primary{min-width:0}.result-card h2{font-size:22px}
 .workspace[data-stage=document] .document-pane{padding:18px 14px}.workspace[data-stage=document][data-pane=chat] .document-pane{display:none}.workspace[data-stage=document][data-pane=document] .chat-pane{display:none}
 .workspace[data-stage=document] .mobile-tabs{display:flex}.workspace[data-stage=document] .composer{width:calc(100% - 24px)}.document-heading h2{font-size:16px}
}

/* Contextual workspace: the search remains the only primary action on entry. */
.workspace-toolbar{width:100%;max-width:1680px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 32px 0;flex:none}
.model-badge{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.model-badge>span{width:6px;height:6px;border-radius:50%;background:#5b8c78}
.text-action{background:transparent;border:0;color:var(--blue);min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:8px 4px;text-align:left;line-height:1.5;cursor:pointer;text-decoration:none}
.text-action:hover{text-decoration:underline;text-underline-offset:4px}.text-action.muted{color:var(--muted);font-size:12px}
.workspace-toolbar .text-action{font-size:13px;font-weight:600}.workspace-toolbar .icon{width:17px;height:17px}
.workbench{border-top:1px solid var(--line);padding:22px 0 10px;margin:4px 0 24px;min-width:0}
.save-record{font-size:13px;min-height:40px;padding:9px 14px;margin:0}
.model-context{padding:16px 18px;background:#edf3fa;border-radius:12px;margin-bottom:18px;display:block}
.model-context .work-note{font-size:12px;margin:10px 0 0;line-height:1.6}
.model-fields{display:flex;gap:12px}.model-fields>.work-field{flex:1.7}.model-fields>.work-field:first-child:not(:last-child){flex:1}
.selected-model{margin-top:10px;font-size:13px;line-height:1.6}.selected-model summary{cursor:pointer;color:var(--blue)}.selected-model p{margin-bottom:0}
.work-field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:600;color:var(--ink)}
.work-field select,.work-field input{font-size:14px;line-height:1.5;font-weight:400;min-height:46px;width:100%;min-width:0;border:1px solid #c4d5e8;background:white;color:var(--ink);border-radius:9px;padding:10px 12px;box-shadow:0 1px 2px #223f5a04}
.work-field select{text-overflow:ellipsis;padding-right:30px}.work-field select:disabled{background:#f7f9fc;color:var(--muted)}
.work-tabs{display:flex;gap:20px;overflow-x:auto;border-bottom:1px solid var(--line);margin-bottom:22px;scrollbar-width:thin;background:#f6f9fd;position:sticky;top:-30px;z-index:1}
.workspace .transcript{scroll-padding-top:56px}
.work-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted);padding:12px 0;min-height:48px;white-space:nowrap;font-size:14px;font-weight:600}
.work-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}
.work-tabs button:hover{color:var(--ink)}.work-tabs button:focus-visible{outline-offset:-4px;border-radius:6px}
.work-panel{min-width:0}.work-panel h3{font-size:18px;line-height:1.4;letter-spacing:-.01em;margin:0 0 10px;font-weight:600}
.work-note{font-size:13px;line-height:1.7;color:var(--muted);margin:10px 0 16px;overflow-wrap:anywhere}
.work-form{display:flex;align-items:flex-end;gap:12px;margin:18px 0 22px}.work-form .work-field{flex:1}.work-form .button{font-size:13px;padding:11px 14px;white-space:nowrap;min-height:46px}
.work-panel>.work-field{margin:18px 0}.work-panel>.button{margin:0 8px 16px 0}
.work-table-scroll{overflow:auto;max-width:100%;margin:18px 0 16px;border:1px solid var(--line);border-radius:10px;background:#fff;scrollbar-width:thin}
.work-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;line-height:1.6;min-width:520px}
.work-table th{font-size:12px;font-weight:600;background:#edf3fa;padding:12px 14px;color:#3d5a78;border-bottom:1px solid var(--line);vertical-align:top}
.work-table td{padding:13px 14px;vertical-align:top;border-bottom:1px solid #e6edf6;min-width:100px;max-width:380px;overflow-wrap:anywhere}
.work-table tr:last-child td{border-bottom:0}.work-table td:first-child{font-weight:600;color:#35516e}.work-table p{margin:0 0 6px}.work-table td .text-action{font-size:12px;min-height:32px;padding:3px 0;white-space:nowrap}
.comparison-source-label{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-bottom:6px}
.facts-output:not(:empty){margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.outline{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.outline>.button{font-size:13px;min-height:42px;padding:9px 14px}
.section-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.section-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:12px 14px;border:1px solid var(--line);background:#fff;color:var(--blue);border-radius:10px;text-align:left}
.section-link:hover{background:#eff5fd}.section-link strong{font-size:13px;font-weight:600}.section-link small{font-size:12px;white-space:nowrap;color:var(--muted)}
.change-list{list-style:none;padding:0;margin:22px 0 28px}.change-list li{border-left:2px solid #bdcfe4;padding:0 0 20px 18px;line-height:1.65}.change-list li:last-child{padding-bottom:0}.change-list time{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.change-list strong{font-size:14px;font-weight:600}.change-list p{font-size:13px;margin:6px 0 0}
.work-panel details>summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--blue);font-size:14px}
.search-interpretation{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;line-height:1.65;background:#eef4fc;padding:10px 16px;border-radius:10px;margin-bottom:20px;color:#375777}
.search-interpretation .text-action{flex:none;font-size:12px}.search-interpretation span{overflow-wrap:anywhere}
.collection-dialog{width:min(760px,calc(calc(100vw / var(--rmi-zoom, 1)) - 32px));max-height:calc(calc(100dvh / var(--rmi-zoom, 1)) - 48px);border:1px solid #c5d6e9;border-radius:18px;padding:28px;background:#fff;color:var(--ink);box-shadow:0 24px 100px #19395730}
.collection-dialog::backdrop{background:#1f385a69;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-heading h2{font-size:24px;letter-spacing:-.025em;margin:0;font-weight:600}.dialog-heading .text-action{font-size:13px}
.collection{border-top:1px solid var(--line);padding:18px 0;margin-top:18px}.collection-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.collection-heading h3{margin:0;font-size:17px;font-weight:600}.collection-heading span{font-size:12px;color:var(--muted)}.collection-heading .button{margin-left:auto;font-size:12px;min-height:38px;padding:8px 12px}.collection-record{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid #ecf1f7;padding:5px 0}.collection-record .text-action{font-size:13px}.collection-record>.text-action:first-child{flex:1}.collection-record>.muted{flex:none}
.workbench .instruction-summary{padding:0}.instruction-summary .checked-at{font-size:12px}.instruction-summary .question-chips button{min-height:42px;padding:10px 12px}
.workspace:not([data-stage=empty]) .input-hint{display:none}
.workspace:not([data-stage=empty]) .composer{padding:10px 12px;margin-bottom:18px}
.workspace:not([data-stage=empty]) .composer-context{padding-bottom:6px}
.workspace:not([data-stage=empty]) .composer-input{padding:4px 4px 4px 13px}
.workspace:not([data-stage=empty]) .composer .send{width:48px;height:44px}
@media(min-width:731px){.workspace[data-stage=document] .work-form{flex-wrap:wrap}.workspace[data-stage=document] .work-form .work-field{flex-basis:100%}.workspace[data-stage=document] .model-context{grid-template-columns:1fr}.workspace[data-stage=document] .model-context .work-note{margin-top:0}.workspace[data-stage=document] .work-tabs{gap:16px}.workspace[data-stage=document] .work-tabs button{font-size:13px}}
@media(min-width:731px) and (max-width:1000px){.workspace[data-stage=document] .work-tabs{top:-24px}}
@media(max-width:730px){
 .workspace-toolbar{padding:7px 18px 0;gap:8px}.model-badge{font-size:11px}.workspace-toolbar .text-action{font-size:12px;min-height:38px}
 .workspace[data-stage=empty]{padding-top:22px}.workspace[data-stage=empty] .welcome h1{font-size:30px}
 .model-context{padding:14px}.model-fields{flex-direction:column}.model-context .work-note{margin:6px 0 0;font-size:12px}.work-field input,.work-field select{font-size:16px}
 .work-tabs{gap:18px;margin-bottom:18px;top:-22px}.work-tabs button{font-size:13px;min-height:48px}.workbench{padding-top:16px}.work-panel h3{font-size:17px}
 .work-form{flex-direction:column;align-items:stretch;gap:12px}.work-form .button{align-self:flex-start}.section-links{grid-template-columns:1fr}.search-interpretation{flex-wrap:wrap;gap:0}
 .collection-dialog{padding:20px;border-radius:16px}.dialog-heading h2{font-size:21px}.collection-heading .button{margin-left:0}.work-table{min-width:510px}
}

/* Registry result workspace: source facts, filters, questions, records. */
body:has(.search-dialogue:not([hidden])){background:#edf2f7}
.search-dialogue,.registry-answer{--muted:#526780;--result-border:#c5d2e2;--result-divider:#dbe4ef}
.search-dialogue{padding:4px 0 24px}
.workspace:not([data-stage=document]) .transcript:has(.search-dialogue:not([hidden])){max-width:1680px;width:100%;padding-top:20px}
.workspace:not([data-stage=document]):has(.search-dialogue:not([hidden])) .composer{max-width:1628px}
.workspace:has(.search-dialogue:not([hidden])) .composer{border-color:#b6c8dd;background:#fff;box-shadow:0 8px 24px #244a7410}
.workspace:has(.search-dialogue:not([hidden])) .composer-input{border-color:#b1c4db;background:#f7f9fc}
.workspace:has(.search-dialogue:not([hidden])) .composer-context{color:#365574}
.workspace:has(.search-dialogue:not([hidden])) .transcript{scrollbar-color:#8fa8c3 #e9f0f8}
.transcript:has(.search-dialogue:not([hidden]))>.search-caption{display:none}
.analysis-heading{display:flex;align-items:center;gap:12px;margin:0 0 20px;flex-wrap:wrap}
.analysis-heading img{width:30px;height:30px}
.analysis-heading h2{font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.02em;margin:0}
.analysis-source{font-size:12px;line-height:1.5;color:#425f7e;margin-left:auto;padding:5px 10px;border:1px solid #afc2d9;border-radius:7px;background:#f8fbff}
.registry-analysis{padding:2px 0 18px;margin-bottom:20px;border-bottom:1px solid #bdcede}
.analysis-overview{display:flex;justify-content:space-between;align-items:center;gap:16px}
.analysis-total{display:flex;align-items:baseline;gap:8px 18px;flex-wrap:wrap;align-self:center;min-width:0}
.analysis-total h2{font-size:30px;line-height:1.25;font-weight:600;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere;text-wrap:balance}
.registry-analysis .analysis-query{font-size:17px;line-height:1.5;color:#385a7e;overflow-wrap:anywhere;margin:0}
.registry-analysis .analysis-source{margin:0;flex:none;font-size:13px;line-height:1.5;background:transparent;border:0;padding:0;color:var(--muted)}
.analysis-overview-footer{padding-top:10px}
.analysis-scope,.registry-answer .analysis-scope{font-size:13px;line-height:1.6;color:var(--muted);margin:0;max-width:75ch}
.registry-analysis .archive-note{font-size:13px;line-height:1.6;margin:12px 0 0;padding:10px 14px;background:#fff8ee;color:#77552d;border-radius:8px}
.results-layout{display:grid;grid-template-columns:254px minmax(0,1fr);gap:28px;align-items:start}
.results-main{min-width:0}
.results-sidebar{padding:18px 14px;background:#fff;border:1px solid #c8d6e5;border-radius:14px;min-width:0}
.results-sidebar-title{font-size:16px;font-weight:600;line-height:1.4;margin:0 10px 18px}
.results-filter-toggle{display:none}
.results-filter-facts>.rail-filter{margin-bottom:6px}
.analysis-roles,.analysis-statuses,.results-sidebar .analysis-progress{display:block;padding-top:18px;margin-top:14px;border-top:1px solid #dbe4ef}
.analysis-label{font-size:13px;line-height:1.5;font-weight:600;color:#3c5672;margin:0 10px 8px}
.rail-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;width:100%;border:0;border-radius:8px;background:transparent;color:#3b536d;text-align:left;font-size:14px;line-height:1.4;padding:9px 10px}
.rail-filter>span:first-child{min-width:0;overflow-wrap:anywhere}
.rail-filter .filter-count{flex:none;min-width:26px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums;background:#edf2f8;color:#516984;border-radius:5px;padding:2px 5px}
.rail-filter[aria-pressed=true]{background:#e4eefb;color:#234f80;font-weight:600}
.rail-filter[aria-pressed=true] .filter-count{background:#fff;color:#234f80}
.results-sidebar .analysis-themes{display:grid;gap:2px;margin:0}
.results-sidebar .themes-hint{font-size:12px;line-height:1.5;margin:0 10px 8px}
.results-sidebar .guidance{padding:0 10px;font-size:13px;line-height:1.6}
.results-sidebar .text-action{padding:8px 10px;min-height:44px;font-size:13px}
.record-status::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}
.analysis-progress h3,.registry-answer h3{font-size:17px;font-weight:600;line-height:1.45;margin:0 0 7px}
.analysis-progress p,.registry-answer p{font-size:15px;line-height:1.7;max-width:75ch;margin:0 0 12px;overflow-wrap:anywhere}
.analysis-progress .themes-hint{color:var(--muted);font-size:13px;margin-bottom:14px;line-height:1.6}
.analysis-progress[aria-busy=true]{min-height:70px;color:var(--muted)}
.analysis-progress[aria-busy=true] .guidance{font-size:13px;padding:14px 0;margin:0}
.analysis-themes{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.theme-button{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid #9cb3ce;color:#2e4f71;border-radius:9px;padding:9px 12px;min-height:44px;font-size:13px;line-height:1.4;text-align:left;max-width:100%}
.theme-button>span:first-child{overflow-wrap:anywhere}
.theme-button .filter-count{background:#edf3fa;color:#526981;border-radius:5px;padding:2px 6px;font-size:12px;line-height:1.5;min-width:24px;text-align:center;font-variant-numeric:tabular-nums}
.theme-button[aria-pressed=true]{background:#355f8b;border-color:#355f8b;color:#fff}
.theme-button[aria-pressed=true] .filter-count{background:#fff;color:#244e80}
.analysis-suggestions{padding:16px 18px;margin:0 0 28px;background:#e3e9f6;border:1px solid #abb9d3;border-radius:12px}
.suggestion-intro{display:flex;align-items:center;gap:8px;margin-bottom:11px}
.suggestion-intro>.icon{width:17px;height:17px}
.analysis-suggestions .suggestions-label{font-size:14px;font-weight:600;color:#3c5279;margin:0}
.suggestion-actions{display:flex;flex-wrap:wrap;gap:8px}
.suggestion-button{display:inline-flex;justify-content:space-between;align-items:center;gap:12px;min-height:42px;border:1px solid #a7b8d1;border-radius:8px;background:#fff;color:#304f79;padding:8px 12px;text-align:left;font-size:13px;line-height:1.5;flex:1 1 auto}
.suggestion-button .icon{width:14px;height:14px}
.registry-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;flex-wrap:wrap}
.registry-list-title{display:flex;gap:10px;align-items:center;min-width:0}
.registry-list-heading h3{font-size:17px;font-weight:600;line-height:1.4;margin:0}
.list-count{font-size:12px;line-height:1.5;padding:2px 7px;background:#d4e2f3;color:#284c73;border-radius:5px;font-variant-numeric:tabular-nums}
.list-coverage{font-size:13px;color:var(--muted)}
.registry-list-heading .clear-result-filter{min-height:32px;font-size:13px;padding:2px 0}
.registry-record{width:100%;display:block;text-align:left;background:#fff;border:1px solid var(--result-border);border-radius:14px;padding:20px 24px;margin:0 0 14px;color:var(--ink);overflow-wrap:anywhere;overflow:hidden}
.registry-record-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;line-height:1.5}
.registry-record-top strong{font-weight:600;color:#365d87;font-variant-numeric:tabular-nums}
.registry-record-number{display:flex;gap:9px;align-items:center;min-width:0}
.registry-record-number .icon{width:17px;height:17px;flex:none}
.record-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#405a75;line-height:1.5;padding:3px 8px;border-radius:6px;background:#e2ebf4}
.record-status.is-active{color:#2b614a;background:#deeee5}.record-status.is-other{color:#765125;background:#f7ead7}
.registry-record-name{display:block;font-size:20px;font-weight:600;line-height:1.4;letter-spacing:-.01em;margin:12px 0 10px;text-wrap:pretty;max-width:72ch}
.registry-record-producer{display:block;font-size:14px;line-height:1.6;color:#405b77}
.registry-record-producer small{display:inline;font-size:13px;color:var(--muted);margin-right:8px}
.registry-record-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:14px}
.registry-record-footer>small{font-size:12px;color:var(--muted);line-height:1.5;font-variant-numeric:tabular-nums}
.registry-record-open{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:#285989;padding:4px 0}
.registry-record-open .icon{width:16px;height:16px}
.results-more{display:flex;justify-content:flex-start;width:100%;margin-top:4px;gap:12px;padding:12px 16px;min-height:48px;border-color:#9eb5d0;background:#f5f9ff;font-size:13px;font-weight:600}
.results-more small{margin-left:auto;font-size:12px;font-weight:400;color:var(--muted)}
.results-more .icon{width:16px;height:16px}
.registry-answer{margin:24px 0;padding:20px 22px;background:#fff;border:1px solid var(--result-border);border-radius:14px}
.registry-answer>.registry-record{border:0;border-radius:0;padding:16px 0;margin:0;border-top:1px solid var(--line)}
.registry-answer>.registry-record .registry-record-top{margin:0;padding:0;border:0;background:transparent}
.registry-answer>.registry-record .registry-record-footer{margin:12px 0 0;padding:0;border:0;background:transparent}
.registry-answer .analysis-scope{font-size:12px;margin:16px 0 0}
.analysis-finding{padding:16px 0;border-bottom:1px solid #e4ebf4}.analysis-finding:last-of-type{border-bottom:0}
.analysis-finding p{font-size:14px;font-weight:600;margin-bottom:5px}.analysis-finding small{font-size:12px;color:var(--muted)}
.analysis-refs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.source-ref{background:#eef4fc;border:1px solid #9eb5d0;color:#31577e;border-radius:8px;padding:9px 11px;font-size:12px;min-height:40px;overflow-wrap:anywhere;text-align:left}
.results-back{margin:0 0 20px;min-height:40px}.registry-choices{scroll-margin-top:12px}
.registry-choices:focus{outline:0}.registry-choices:focus-visible{outline:2px solid #4b81c5;outline-offset:5px;border-radius:8px}
.result-tabs{display:flex;gap:24px;border-bottom:1px solid #bdcede;margin:0 0 20px}
.result-tab{min-height:46px;padding:0 0 13px;color:#526780;border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;font-size:16px;font-weight:600;line-height:1.45}
.result-tab[aria-selected=true]{color:#234f80;border-bottom-color:#355f8b}
.result-panel{outline-offset:5px}.result-panel:focus-visible{outline:2px solid #4b81c5}
.product-filters{margin:0 0 14px;border:1px solid #a8bed8;border-radius:10px;background:#f6f9fe;overflow:hidden}
.product-filters>summary{display:flex;gap:12px;align-items:center;list-style:none;cursor:pointer;padding:12px 16px;min-height:48px;font-size:13px;font-weight:600;color:#345675}
.product-filters>summary::-webkit-details-marker{display:none}
.product-filters>summary small{font-size:12px;font-weight:400;color:var(--muted);margin-left:auto;white-space:nowrap}
.product-filters>summary .icon{width:15px;height:15px}
.product-filters[open]>summary{border-bottom:1px solid #c4d3e5;background:#eaf1fb}
.product-filters[open]>summary .icon{transform:rotate(90deg)}
.product-filters .themes-hint{margin:12px 16px}
.product-filters .analysis-themes{margin:0;padding:0 16px 16px}
.product-filters>summary:focus-visible,.analytics-extra>summary:focus-visible{outline:2px solid #4b81c5;outline-offset:-4px;border-radius:8px}
.selection-intro{margin:6px 0 20px}
.selection-intro h3{font-size:19px;line-height:1.4;font-weight:600;margin:0 0 6px}
.selection-intro p{font-size:13px;color:var(--muted);line-height:1.7;margin:0;max-width:85ch}
.analytics-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:18px;margin-bottom:18px}
.analytics-section{padding:18px 20px;border:1px solid #9eb5d0;border-radius:12px;background:#fff;min-width:0}
.analytics-secondary{display:grid;gap:18px;min-width:0}
.analytics-section-heading{display:flex;gap:12px;justify-content:space-between;align-items:center}
.analytics-section h4,.procurement-preview h4{font-size:15px;line-height:1.5;font-weight:600;margin:0}
.analytics-section-heading>span{font-size:11px;color:var(--muted)}
.analytics-note{font-size:12px;line-height:1.7;color:var(--muted);margin:6px 0 12px}
.analytics-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;align-items:start;width:100%;min-height:46px;padding:12px 0;background:transparent;border:0;border-top:1px solid #dbe4ef;text-align:left;color:#294663;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.analytics-row>.filter-count{font-size:13px;line-height:1.5;font-weight:600;font-variant-numeric:tabular-nums;color:#315e8a}
.analytics-track{grid-column:1/-1;background:#e5edf6;border-radius:4px;height:5px;overflow:hidden}
.analytics-track>span{display:block;height:100%;background:#6d90b8;border-radius:4px}
.analytics-row[aria-pressed=true]{color:#244d7c;background:#edf4fc}
.analytics-extra>summary{padding:12px 0;font-size:12px;color:#315b86;cursor:pointer;min-height:42px}
.procurement-preview{display:flex;align-items:center;gap:20px;padding:18px 20px;margin-bottom:18px;border:1px solid #aab9cd;border-radius:12px;background:#e0e9f4}
.procurement-preview>div{flex:1;min-width:0}.procurement-preview p{font-size:12px;line-height:1.7;margin:6px 0 0;color:#47617e;max-width:65ch}
.procurement-link{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;font-size:12px;background:#fff;border:1px solid #9fb5d0;border-radius:8px;text-decoration:none;color:#31567e}
.selection-analytics>.analysis-suggestions{margin-bottom:0}
@media(hover:hover) and (pointer:fine){
 .rail-filter:hover{background:#f0f5fb}.rail-filter[aria-pressed=true]:hover{background:#dbe8f8}.theme-button:hover{background:#eef4fc;border-color:#6d91bc}.theme-button[aria-pressed=true]:hover{background:#2c527c;border-color:#2c527c}
 .registry-record:hover{border-color:#7d9bbf}.registry-record:hover .registry-record-open{color:#183e6c;text-decoration:underline;text-underline-offset:4px}
 .suggestion-button:hover{background:#f6faff;border-color:#748fb4}.source-ref:hover{background:#dfeafb}
 .result-tab:hover{color:#244d7c;background:#f4f8fd}.product-filters>summary:hover{background:#eaf1fb}.analytics-row:hover{background:#f0f5fc}.analytics-row:hover .analytics-track>span{background:#426d9c}.procurement-link:hover{border-color:#6388b4;background:#f5f9ff}
}
@media(max-width:1000px){
 .results-layout{grid-template-columns:1fr;gap:20px}
 .results-sidebar{padding:0}
 .results-sidebar-title{display:none}
 .results-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:14px 18px;border:0;border-radius:14px;background:transparent;color:#2d4d70;min-height:48px;text-align:left;font-size:15px;font-weight:600}
 .results-filter-toggle .icon{width:16px;height:16px}
 .results-filter-toggle[aria-expanded=true] .icon{transform:rotate(90deg)}
 .results-filter-content{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:0 14px 18px}
 .results-sidebar .analysis-progress{border:0;padding:0;margin:0}
 .result-tabs{gap:24px}
 .analysis-overview{align-items:flex-start}
}
@media(max-width:730px){
 .analysis-heading{gap:10px;margin-bottom:16px}.analysis-heading h2{font-size:21px}.analysis-heading img{width:27px;height:27px}
 .registry-analysis{margin-bottom:20px;padding-bottom:18px}.analysis-overview{flex-wrap:wrap;gap:10px}
 .analysis-total h2{font-size:26px}.analysis-total .analysis-query{font-size:16px}.registry-analysis .analysis-source{font-size:12px}
 .analysis-overview-footer{padding-top:10px}.analysis-overview-footer .analysis-scope{font-size:13px}
 .results-filter-content{grid-template-columns:1fr;gap:18px}.results-sidebar .analysis-progress{padding-top:18px;border-top:1px solid #dbe4ef}
 .analysis-progress h3,.registry-list-heading h3,.registry-answer h3{font-size:16px}
 .analysis-progress .themes-hint{font-size:12px}.theme-button{font-size:12px;gap:8px;padding:9px 11px}
 .analysis-suggestions{margin-bottom:24px;padding:14px}.suggestion-actions{gap:7px}.suggestion-button{font-size:12px;min-height:44px;padding:9px 10px;flex:1 1 100%}
 .registry-record{padding:18px}.registry-record-top{font-size:12px;gap:8px}.record-status{font-size:12px}.registry-record-name{font-size:18px;margin:12px 0}
 .registry-record-footer{padding-top:14px}.registry-record-footer>small{font-size:12px}
 .registry-record-open{font-size:14px}.registry-record-producer{font-size:14px}.registry-record-producer small{font-size:12px}
 .results-more{padding:11px 13px;flex-wrap:wrap;gap:4px 10px}.results-more small{font-size:11px}.results-more .icon{margin-left:auto}
 .registry-answer{padding:18px 16px}.registry-answer p{font-size:14px}
 .result-tabs{gap:18px;margin-bottom:18px}.result-tab{padding:0 0 12px;font-size:14px;min-height:46px}
 .product-filters{margin-bottom:16px}.product-filters>summary{padding:11px 12px;gap:8px;font-size:12px}.product-filters>summary small{font-size:11px}.product-filters .analysis-themes{padding:0 12px 12px}.product-filters .themes-hint{margin:12px}
 .analytics-grid{grid-template-columns:1fr;gap:14px}.analytics-section{padding:16px}.analytics-secondary{gap:14px}.selection-intro h3{font-size:17px}
 .procurement-preview{align-items:stretch;flex-direction:column;gap:12px;padding:16px}.procurement-link{align-self:start}.analytics-row{font-size:12px}
}
.site-header nav .demo-nav-badge{display:inline-block;margin-left:5px;font-size:10px;line-height:1.4;font-weight:600;background:#eef1f8;color:#52647f;border-radius:4px;padding:2px 5px}
