:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253331;background:#fcfcfa;font-size:16px;--ink:#253331;--muted:#61706b;--line:#dce2dd;--accent:#215e4b}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button{min-height:40px;padding:9px 14px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);cursor:pointer;font-weight:550;line-height:1.4}button:hover:enabled{background:#edf2ec;border-color:#b7c7bd}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #98670e;outline-offset:3px}a{color:#215e4b;text-underline-offset:3px}h1,h2,h3{font-weight:600;letter-spacing:-.03em;line-height:1.25}h1{font-size:36px}h2{font-size:23px}h3{font-size:17px}p{line-height:1.75;margin:12px 0}.muted,small{color:var(--muted);font-size:13px;line-height:1.65}.primary,.send{background:var(--accent);color:white;border-color:var(--accent)}.primary:hover:enabled,.send:hover:enabled{background:#174a39}.quiet{background:transparent;border-color:transparent;font-size:13px}.text-button{padding:0;min-height:30px;font-size:inherit;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px}.secondary{background:#fff;color:#315a48;font-size:12px}header{height:70px;display:flex;align-items:center;gap:14px;padding:0 28px;border-bottom:1px solid #edf0ea}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:16px;text-decoration:none}.brand strong{font-weight:450;color:#657269}.mark{height:31px;width:31px;border-radius:9px;background:var(--accent);color:#fff;font-size:24px;display:grid;place-items:center;font-family:Georgia,serif;font-style:italic}.private{font-size:11px;color:#66766c;margin-left:auto}#workspace{height:calc(100dvh - 70px);display:flex;flex-direction:column;align-items:center;padding:0 24px}#welcome{flex:1;width:100%;max-width:770px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:32px 0 24px}.welcome-mark{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:#e9f0e8;color:#2c6047;font:italic 42px Georgia,serif;margin-bottom:20px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.7px;color:#738175;margin:0}#welcome h1{font-weight:500;letter-spacing:-1.2px;font-size:clamp(28px,3.5vw,40px);margin:14px 0 5px}#welcome>p:not(.eyebrow){color:#667369;font-size:14px;margin-top:8px}.suggestions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:100%;margin-top:30px}.suggestions button{padding:17px 14px;text-align:left;background:#f6f7f2;border:1px solid #e4e8df;border-radius:13px}.suggestions strong{display:block;font-size:12px;font-weight:600}.suggestions span{display:block;font-size:11px;color:#69766a;margin-top:9px;font-weight:400;line-height:1.6}#conversation{flex:1;width:100%;max-width:820px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 22px 28px;scrollbar-width:thin;scrollbar-color:#c6cfc5 transparent}#conversation:empty{display:none}.message{margin:0 0 28px}.message-label{font-size:11px;letter-spacing:.2px;font-weight:650;color:#69776c;margin-bottom:10px}.user{display:flex;flex-direction:column;align-items:flex-end}.user .message-label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.user .message-body{max-width:85%;background:#eef1e9;border-radius:18px 18px 5px 18px;padding:12px 18px}.user p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.assistant .message-body{font-size:15px;line-height:1.8}.assistant .message-body>p:first-child{margin-top:0}.answer-text{white-space:pre-wrap;overflow-wrap:anywhere}.composer-dock{width:100%;max-width:800px;flex-shrink:0;padding:10px 0 12px;background:#fcfcfa}.composer{background:white;border:1px solid #d4dcd2;border-radius:20px;padding:14px 16px 10px;box-shadow:0 3px 16px #1b341c08}.composer:focus-within{border-color:#94aa99;box-shadow:0 0 0 2px #e9efe8}textarea{width:100%;border:0;background:transparent;resize:vertical;min-height:56px;max-height:160px;line-height:1.7;font-size:15px;color:var(--ink);padding:2px 0 8px}.composer textarea:focus{outline:none}textarea::placeholder{color:#778476;opacity:1}.composer-bottom{display:flex;gap:10px;align-items:center;min-height:40px}.send{border-radius:50%;font-size:24px;width:38px;min-height:38px;padding:0;font-weight:400;margin-left:auto}.footnote{font-size:10px;color:#6b796e;text-align:center;line-height:1.5;margin:8px 0 0}.footnote button{color:inherit}.composer details{border:0;padding:0;margin:0;background:transparent;position:relative}.composer summary{font-size:12px;list-style:none;padding:8px;border-radius:8px;color:#52664f;font-weight:500;cursor:pointer}.composer summary::-webkit-details-marker{display:none}.composer summary:hover{background:#f0f3ed}.tool-menu{position:absolute;bottom:calc(100% + 10px);left:0;width:225px;padding:7px;border:1px solid var(--line);background:white;box-shadow:0 10px 40px #233c2818;border-radius:12px;z-index:5;display:flex;flex-direction:column}.tool-menu button{border:0;text-align:left;font-size:13px;font-weight:450;border-radius:6px}#context-line{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:12px;color:#425e46;background:#edf3e9;border-radius:20px;width:max-content;padding:0 4px 0 12px;max-width:100%}#context-line button{min-height:28px;padding:3px 8px;font-size:18px}#send-status{font-size:11px;color:#69796c}.thinking{color:#6d7c6d;font-size:14px;display:flex;gap:10px;align-items:center}.thinking:before{content:'';width:7px;height:7px;border-radius:50%;background:#407653;animation:pulse 1.3s infinite}@keyframes pulse{50%{opacity:.3}}details{background:#fff;border:1px solid #e0e6dc;border-radius:10px;padding:12px 15px;margin:12px 0}summary{font-size:13px;line-height:1.7;font-weight:550;cursor:pointer}pre{font:13px/1.75 ui-sans-serif,system-ui;white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;padding:10px;background:#f7f8f3}blockquote{margin:16px 0;padding:4px 14px;border-left:2px solid #8da58b;white-space:pre-wrap;font-size:13px;line-height:1.8}.result-card{border:1px solid var(--line);border-radius:10px;padding:15px;margin:12px 0}.result-card h3{margin:0 0 8px}.followups{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.followups button{border-radius:20px;min-height:34px;font-size:11px;padding:7px 12px}.trace a,.trace button{margin-left:10px;font-size:12px}.message-body>button,details>button{margin:8px 8px 8px 0}dialog{border:1px solid #d2dbd1;border-radius:18px;width:480px;max-width:calc(100vw - 28px);max-height:85dvh;overflow:auto;padding:24px;color:var(--ink);background:#fcfcfa;box-shadow:0 20px 80px #172c2430}dialog::backdrop{background:#1c322a55}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-heading h2{margin:0}.dialog-heading button{font-size:24px;min-width:40px}.dialog-heading+.view{margin:0}#rates-dialog{width:1150px}label{display:block;font-size:13px;font-weight:600;margin:12px 0 7px}input,select{width:100%;padding:11px 12px;border:1px solid #b5c4b4;border-radius:8px;background:white;color:var(--ink);font-size:15px}.login{max-width:410px;margin:70px auto;padding:20px}.login h1{font-size:29px}.login>p{color:var(--muted);font-size:14px}.login button{width:100%;margin-top:18px}.login .welcome-mark{margin-bottom:26px}#loginerror{color:#9a3631}.skip-link{position:absolute;left:10px;top:-80px;background:white;padding:12px;z-index:10}.skip-link:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:10px;background:white;margin:18px 0}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #e2e9df;white-space:nowrap}th{background:#eef3eb;color:#435b44;font-size:12px;font-weight:650}td button{font-size:12px;padding:8px 10px}.basis-note{background:#eef3e9;padding:13px 16px;border-radius:8px;font-size:12px;line-height:1.8;color:#466048}.explorer-heading{display:flex;align-items:flex-start;gap:20px;justify-content:space-between}.explorer-heading h2{font-size:25px}.explorer-heading p{font-size:14px;max-width:650px}.pilot-label{white-space:nowrap;font-size:11px;border-radius:20px;padding:7px 10px;background:#e9f0e3;color:#4b6142}.service-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin-top:20px}.service-presets{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.service-presets button{font-size:12px;border-radius:20px}.service-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.service-toolbar p{margin-right:auto;font-size:13px}.service-toolbar button{font-size:12px}.service-table td{white-space:normal;min-width:110px}.service-table td:first-child{min-width:130px}.service-table .service-description{min-width:265px;max-width:360px}.service-table td p{font-size:12px;margin:7px 0}.service-table details{padding:10px}.service-table button[aria-pressed=true]{background:#e2ecdc;color:#31522a}.source-page{display:inline-block;margin:5px 8px 5px 0;font-size:12px}.comparison-table td{white-space:pre-wrap;min-width:235px;max-width:390px;line-height:1.7}.comparison-table th{white-space:normal;min-width:135px}.field-difference{background:#fff4df}.difference-label{display:block;font-size:11px;color:#775016;font-weight:650;margin-top:7px}.selection-tray{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.selection-tray:not(:empty){background:#eff5e9;border:1px solid #b6c4a8;border-radius:10px;padding:12px}.selection-chip{font-size:11px}#service-status{font-size:13px;color:#775016}
@media(max-width:700px){header{height:60px;padding:0 15px;gap:5px}.brand{font-size:14px}.private{display:none}#new-chat{margin-left:auto}header .quiet{font-size:11px;padding:7px}#workspace{height:calc(100dvh - 60px);padding:0 12px}.suggestions{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:18px}.suggestions button{padding:12px}#welcome{padding:20px 10px;overflow:auto;min-height:0}#welcome h1{font-size:27px}.welcome-mark{width:44px;height:44px;font-size:32px;margin-bottom:14px}#welcome>p:not(.eyebrow){font-size:12px}.eyebrow{font-size:9px}#conversation{padding:20px 5px}.user .message-body{max-width:93%}.assistant .message-body{font-size:14px}.composer-dock{padding-top:5px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.composer{padding:11px 12px 8px;border-radius:16px}textarea{font-size:16px;min-height:46px}.footnote{font-size:9px}.service-filters{grid-template-columns:1fr}.explorer-heading{display:block}dialog{padding:18px}#send-status{max-width:120px}.login{margin:30px auto;padding:24px}.brand .mark{width:28px;height:28px;font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}
/* Rotostat Assistant: calm chat surface, details available on demand. */
:root{--accent:#214e78;--ink:#1d2d3b;--muted:#617080;--line:#dce3e9}.brand .mark,.send,.primary{background:#214e78;border-color:#214e78}.welcome-mark{color:#214e78;background:#eaf0f7}.user .message-body{background:#edf2f8}#context-line{color:#294c6e;background:#eaf0f7}.answer-actions{display:flex;gap:12px;margin:12px 0}.answer-actions button{background:transparent;border:0;padding:4px 0;color:#67788a;font-size:11px;min-height:32px}#source-dialog{width:1000px}#source-content iframe{width:100%;height:65vh;border:1px solid var(--line);border-radius:8px}#source-content td{white-space:pre-wrap}#library-dialog{width:600px}#chat-list input{margin-top:10px}#library-form button,#library-unlocked>button{margin:12px 8px 12px 0}#feedback-note{border:1px solid var(--line);padding:10px}.footnote{display:flex;justify-content:center;align-items:center;gap:4px;flex-wrap:wrap}.service-table td{max-width:360px;overflow-wrap:anywhere}@media(max-width:700px){header{flex-wrap:wrap;height:auto;min-height:60px;padding:8px 12px}#workspace{height:calc(100dvh - 76px)}#saved-chats{font-size:11px}.brand{margin-right:auto}#new-chat{margin-left:0}#source-content iframe{height:55vh}}
/* Modal headers never leave the viewport; only their bodies scroll. */
dialog{padding:0;overflow:hidden;max-height:85dvh}dialog[open]{display:flex;flex-direction:column}.dialog-heading{flex:none;margin:0;padding:16px 20px;background:#fcfcfa;border-bottom:1px solid var(--line)}.dialog-heading button{font-size:14px;white-space:nowrap}.dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px}.service-sticky{position:sticky;top:-20px;z-index:2;background:#fcfcfa;padding:8px 0;border-bottom:1px solid var(--line)}.service-sticky .selection-tray{max-height:100px;overflow:auto}.service-sticky p{margin:4px 0}#service-paging{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:16px}#service-page{font-size:13px}#request-notice:empty{display:none}#request-notice{font-size:12px;padding:8px;border:1px solid var(--line);border-radius:10px;margin-bottom:8px}#request-notice button{font-size:12px;margin-left:8px}.service-table details{max-width:300px}.service-table pre{max-height:220px}.comparison-table details{max-width:360px}#previous-answer-dialog{width:900px}
@media(max-width:700px){.dialog-heading{padding:12px 14px}.dialog-body{padding:14px}.service-sticky{top:-14px}#service-results{border:0;background:transparent;overflow:visible}#service-results table,#service-results tbody,#service-results tr,#service-results td{display:block;width:100%;min-width:0;max-width:none}#service-results thead{display:none}#service-results tr{border:1px solid var(--line);background:white;border-radius:12px;margin-bottom:12px;padding:10px}#service-results td{border:0;padding:7px;white-space:normal}#service-results td::before{content:attr(data-label);display:block;color:#617080;font-size:11px;margin-bottom:4px}#service-results details{max-width:none}.dialog-heading h2{font-size:19px}}
