/* StudyDesk Seva reference UI — consolidated 2026-09-11
   Visual source: the four supplied homepage, RTI, complaint and document-tools demos.
   This block replaces iterative visual-correction overrides. */
:root{--ref-bg:#fbfaf4;--ref-paper:#fffefa;--ref-ink:#09252d;--ref-muted:#52646a;--ref-green:#07584c;--ref-green-2:#0b6a59;--ref-pale:#eef6dc;--ref-pale-2:#f4f8ea;--ref-lime:#cafa4f;--ref-line:#d7ddd8;--ref-shadow:0 10px 28px rgba(20,48,41,.08);--ref-radius:12px;--max:1480px}
.seva-wordmark{display:flex;flex-direction:column;gap:1px}
.reference-header-actions{margin-left:auto}
.workspace-header-nav{display:flex;gap:28px;margin-left:20px;align-self:stretch}
.workspace-header-nav a.active{border-color:var(--ref-green)}
.reference-footer-row span{margin:auto}
.reference-footer-row nav{display:flex;gap:18px}
.bottom-nav{display:none}
.reference-home{padding-top:0;background:radial-gradient(circle at 52% 13%,rgba(238,244,217,.55),transparent 30%),var(--ref-bg)}
.reference-notice span{color:#166b4e;font-size:13px}
.reference-notice p{margin:0}
.home-hero-copy h1 em{font-style:normal;color:#347f4e}
.reference-search>span{font-size:25px;line-height:1}
.popular-chips strong{color:#195a4a}
.ai-example-question b{font-size:25px}
.ai-next-steps a:last-child{border-bottom:0}
.ai-next-steps strong,.ai-next-steps small{display:block}
.home-ai-panel .home-icon{color:white}
.explore-service:last-child{border-right:0}
.explore-service strong,.explore-service small{display:block}
.drafting-card.complaint-card{background:linear-gradient(115deg,#fffdf5,#fff6df)}
.complaint-card .draft-card-icon{background:white;border-color:#e2dcc8}
.home-tool-links{display:grid;grid-template-columns:repeat(3,1fr)}
.home-tool-links>a:last-child{border:0}
.home-tool-links strong,.home-tool-links small{display:block}
.home-tool-links b{font-size:21px;font-weight:400}
.workspace-mobile-title{display:none}
.reference-progress .done{color:#103c34;font-weight:750}
.reference-progress .done b{background:#07594c;color:#fff;border-color:#07594c}
.reference-progress .active{color:#102f28;font-weight:750}
.reference-progress .active b{background:#0c604f;color:#fff;border:3px solid #d4ed67;box-shadow:0 0 0 1px #5c7849}
.reference-mobile-tabs{display:none}
.workspace-column label em{color:#a53b35;font-style:normal}
.workspace-column input:focus,.workspace-column select:focus,.workspace-column textarea:focus{border-color:#4d877a;box-shadow:0 0 0 3px rgba(9,92,76,.09)}
.language-radios{display:flex;gap:24px;padding:5px 0}
.language-radios input{width:16px;height:16px;accent-color:#0c604f}
.record-options{border-top:1px solid #e1e5e1;border-bottom:1px solid #e1e5e1;padding:8px 0;margin:10px 0}
.record-options summary span{float:right;color:#7a8782;font-weight:500}
.record-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:8px}
.record-option-grid input{width:13px;height:13px}
.workspace-primary:disabled{opacity:.55;cursor:not-allowed}
.request-column .workspace-primary{width:100%;margin-top:6px}
.applicant-details{border:1px solid #d9dfdb;border-radius:7px;margin-top:12px}
.applicant-details summary{list-style:none;cursor:pointer;padding:10px 11px;display:flex;align-items:center;justify-content:space-between}
.applicant-details summary::-webkit-details-marker{display:none}
.applicant-details summary b,.applicant-details summary small{display:block}
.applicant-details summary b{font-size:13px}
.applicant-details summary small{font-size:13px;color:#6b7775;font-weight:400}
.ai-consent-row{display:flex!important;gap:7px;align-items:flex-start;font-size:13px!important;font-weight:500!important}
.ai-consent-row input{width:15px;height:15px;margin-top:1px;accent-color:#0a5e50}
.privacy-note{font-size:13px;color:#6f7b78;background:#f2f7e8;border-radius:6px;padding:7px}
.reference-question-card.selected .question-body{border-color:#8fb49f;box-shadow:0 0 0 2px rgba(58,113,86,.08)}
.add-question-button:disabled{opacity:.45}
.empty-draft-state{border:1px dashed #d3d8d4;background:#fafbf8;border-radius:7px;padding:15px;text-align:center;font-size:13px;color:#76817e}
.paper-brand{display:flex;justify-content:space-between;border-bottom:1px solid #bdc9c5;padding-bottom:6px;margin-bottom:8px;color:#0a5145}
.paper-brand strong{font-size:13px}
.paper-brand span{text-align:right;font-size:13px;color:#17272b}
.reference-a4 h2,.reference-a4 h3{text-align:center;font-size:13px;margin:8px}
.reference-a4 p{margin:5px 0}
.reference-a4 ol,.reference-a4 ul{padding-left:19px}
.reference-a4 footer{position:absolute;bottom:10px;left:17px;right:17px;border-top:1px solid #d2d9d5;padding-top:4px;text-align:center;font-size:13px;color:#285148}
.paper-applicant{margin-top:10px}
.pdf-page-toolbar .spacer{flex:1}
.draft-utility-actions{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}
.portal-context p{margin:2px 0}
.portal-context a{color:#07594c;font-weight:800}
.ai-message>span{width:22px;height:22px;border-radius:50%;background:#07584c;color:#fff;display:grid;place-items:center;font-size:13px;flex:none;margin-top:3px}
.download-warning p{margin:0}
.mobile-review-button{display:none}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.complaint-reference-editor .refine-inline button{white-space:nowrap}
.inline-refine{margin-top:4px}
.complaint-a4{margin-top:10px}
.complaint-a4>footer{display:flex;justify-content:space-between;text-align:left}
.complaint-pdf-toolbar{justify-content:center}
.complaint-upload-box input{position:absolute;inset:0;opacity:0;cursor:pointer}
.complaint-file-list{display:grid;gap:4px}
.draft-header-row{display:flex;justify-content:space-between;align-items:flex-start}
.draft-header-row>button{border:0;background:transparent;color:#176050;font-size:13px;cursor:pointer}
.ai-small-note{font-size:13px;color:#6b7975;margin:5px 0}
.document-tools-page{padding:0 0 28px;background:linear-gradient(180deg,#fffefa,#faf9f3)}
.document-tools-head h1 em{font-style:normal;background:#e4f5cf;border-radius:6px;padding:0 8px}
.document-tool-card>label{display:block;font-size:13px;color:#163b34;margin:10px 0}
.document-tool-card input:focus,.document-tool-card select:focus,.document-tool-card textarea:focus{border-color:#4e8a7b;box-shadow:0 0 0 3px rgba(10,94,79,.08)}
.resize-file-summary img{width:165px;height:120px;object-fit:cover;border-radius:3px}
.resize-file-summary strong,.resize-file-summary small{display:block}
.tool-file-drop.compact{min-height:48px}
.tool-file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
.drop-icon{font-size:28px;color:#07584c}
.tool-two-fields,.tool-three-fields{display:grid;gap:9px}
.tool-three-fields{grid-template-columns:1.2fr .85fr .85fr}
.tool-two-fields label,.tool-three-fields label{font-size:13px;margin:6px 0}
.tool-toggle-row{display:flex!important;justify-content:space-between;align-items:center}
.tool-toggle-row>span small{display:block}
.tool-toggle-row input{display:none}
.tool-toggle-row i{width:39px;height:22px;border-radius:999px;background:#d9dfdc;position:relative}
.tool-toggle-row i:after{content:"";position:absolute;width:18px;height:18px;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);transition:.2s}
.tool-toggle-row input:checked+i{background:#07584c}
.tool-toggle-row input:checked+i:after{left:19px}
.inline-input{display:grid;grid-template-columns:1fr 34px;align-items:center}
.inline-input b{font-size:13px;text-align:right}
.document-tool-card input[type=range]{padding:0;border:0;accent-color:#07584c}
.document-tool-card label>strong{float:right}
.tool-primary{border:0;background:linear-gradient(135deg,#0a6152,#005044);color:#fff}
.tool-secondary{border:1px solid #176153;background:#fff;color:#0b5145;margin-top:10px}
.tool-primary.compact{margin:0}
.tool-primary:disabled,.tool-secondary:disabled{opacity:.5;cursor:not-allowed}
.pdf-image-list{min-height:120px;margin:8px 0}
.empty-tool-state{font-size:13px;color:#7a8682;text-align:center;padding:12px;margin:0}
.pdf-image-row img{width:66px;height:44px;object-fit:cover;border-radius:3px}
.pdf-image-row strong,.pdf-image-row small{display:block}
.drag-handle{color:#526660;cursor:grab}
.image-row-actions{display:flex;gap:2px}
.brand-checkbox{display:flex!important;gap:8px;align-items:center}
.brand-checkbox input{width:18px;height:18px;accent-color:#07584c}
.tool-button-pair{display:grid;grid-template-columns:1fr 1.35fr;gap:8px}
.tool-button-pair .tool-secondary{margin:0}
.text-format-toolbar button.active{background:#dce3e0}
.text-format-toolbar span{flex:1}
.text-controls{grid-template-columns:.65fr 1.2fr 1fr}
.pdf-preview-dialog::backdrop{background:rgba(6,29,31,.5)}
.pdf-preview-shell{padding:15px}
.pdf-preview-header{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;text-align:center}
.pdf-preview-header strong,.pdf-preview-header small{display:block}
.pdf-preview-header strong{font-size:16px}
.pdf-preview-header small{font-size:13px;color:#65757a}
.pdf-pages-stage{height:510px;overflow:auto;padding:14px 4px;display:flex;flex-direction:column;align-items:center;gap:12px}
.pdf-page-image{display:block;max-width:100%;height:auto;box-shadow:0 4px 14px rgba(0,0,0,.12);transition:.2s}
.pdf-preview-controls{display:flex;justify-content:space-between;align-items:center;padding:6px 3px;font-size:13px}
.pdf-preview-controls>div{display:flex;align-items:center;gap:8px}
.pdf-preview-controls button{width:30px;height:30px;border:1px solid #c4d0cc;border-radius:7px;background:#fff;font-size:16px}
.pdf-preview-note{display:flex;gap:9px;align-items:flex-start;background:#e8efee;border:1px solid #d5dfdc;border-radius:7px;padding:9px;font-size:13px}
.pdf-preview-note p{margin:0}
.pdf-preview-note span{color:#07584c}
.pdf-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.pdf-preview-actions #pdf-preview-download{grid-column:1/3;background:#07584c;color:white}
@media (max-width:1100px){.reference-workspace-grid{grid-template-columns:minmax(260px,.9fr) minmax(350px,1.1fr) minmax(260px,.85fr)}
.reference-progress i{width:72px}
.document-tools-head h1{font-size:36px}
.reference-main-nav{gap:22px}
.home-hero-grid{gap:25px}
.home-hero-copy h1{font-size:42px}}
@media (max-width:860px){.desktop-nav,.language-switch,.ask-seva-header,.workspace-header-nav,.workspace-independent-pill{display:none}
.mobile-menu{display:block;margin-left:auto}
.reference-main-nav{display:none}
.seva-reference-header .header-inner{height:58px}
.seva-wordmark strong{font-size:20px}
.seva-wordmark small{font-size:13px}
.reference-footer{display:none}
.bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:85;background:#fffefa;border-top:1px solid #d8ded8;padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));justify-content:space-around}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:56px;color:#173c35}
.bottom-nav span{font-size:18px}
.bottom-nav b{font-size:13px}
.reference-home,.document-tools-page{padding-bottom:68px}
.reference-notice{margin-left:11px;margin-right:11px;width:auto}
.home-hero-grid{grid-template-columns:1fr;padding:9px 11px 8px;gap:12px}
.home-hero-copy h1{font-size:34px;letter-spacing:-1.5px;margin:3px 0 8px}
.home-hero-copy>p{font-size:13px;line-height:1.35;margin-bottom:8px}
.reference-search{height:41px;padding-left:10px}
.reference-search>span{font-size:19px}
.reference-search input{font-size:13px}
.reference-search button{display:none}
.popular-chips{font-size:13px;gap:5px}
.popular-chips a{padding:4px 8px}
.home-ai-panel{padding:12px;border-radius:8px}
.home-ai-panel h2{font-size:17px}
.home-ai-panel>p{font-size:13px}
.ai-example-question{height:31px;font-size:13px}
.ai-next-steps a{padding:7px 3px;grid-template-columns:27px 1fr}
.home-ai-panel .home-icon{width:25px;height:25px;font-size:15px}
.ai-next-steps strong{font-size:13px}
.ai-next-steps small{font-size:13px}
.lime-button{height:30px;font-size:13px}
.home-section{padding:10px 11px;width:100%;border-top:0}
.home-section-head{margin-bottom:7px}
.home-section-head h2{font-size:13px}
.home-section-head p{font-size:13px}
.home-section-head>a{font-size:13px}
.explore-services{grid-template-columns:1fr 1fr;gap:5px}
.explore-service{grid-template-columns:29px 1fr;border:1px solid #d9dfd9!important;border-radius:7px;padding:7px;min-height:55px}
.explore-service .large{width:27px;height:27px;font-size:18px}
.explore-service strong{font-size:13px}
.explore-service small{font-size:13px}
.explore-service:nth-child(n/**/+5){display:none}
.drafting-pair{gap:5px}
.drafting-card{grid-template-columns:28px 1fr;gap:6px;padding:7px;min-height:67px;border-radius:7px}
.draft-card-icon{width:28px;height:28px;font-size:14px}
.drafting-card h3{font-size:13px}
.drafting-card p{display:none}
.drafting-card a{font-size:13px;padding:5px 7px}
.home-tool-links{gap:5px}
.home-tool-links>a{display:flex;flex-direction:column;text-align:center;border:1px solid #d9dfd9!important;border-radius:7px;padding:7px 3px;gap:2px}
.home-tool-links .home-icon{width:28px;height:28px;font-size:17px}
.home-tool-links strong{font-size:13px}
.home-tool-links small{display:none}
.home-tool-links b{font-size:14px}
.workspace-mobile-title{display:flex;justify-content:space-between;align-items:start;padding-top:7px}
.workspace-mobile-title h1{font-size:23px;margin:0}
.workspace-mobile-title p{font-size:13px;margin:1px 0;color:#5b6a6b}
.workspace-mobile-title>a{font-size:13px;color:#0a574b}
.workspace-heading,.reference-progress{display:none}
.reference-workspace{padding-top:0}
.reference-mobile-tabs{display:flex;border-bottom:1px solid #d9ded9;padding:0;margin-top:8px;position:sticky;top:58px;z-index:40;background:#fffdfa}
.reference-mobile-tabs button{flex:1;border:0;background:transparent;padding:10px 4px 8px;font-size:13px;color:#22483e;border-bottom:3px solid transparent}
.reference-mobile-tabs button.active{border-color:#07584c;font-weight:800}
.reference-workspace-grid{display:block;width:100%;padding:8px 11px}
.workspace-column{border:0;border-radius:0;background:transparent;padding:0;min-height:0}
.reference-workspace[data-mobile-tab="edit"] [data-mobile-panel]:not([data-mobile-panel="edit"]),.reference-workspace[data-mobile-tab="preview"] [data-mobile-panel]:not([data-mobile-panel="preview"]),.reference-workspace[data-mobile-tab="ai"] [data-mobile-panel]:not([data-mobile-panel="ai"]){display:none}
.workspace-column>header{margin-top:3px}
.request-column form,.draft-column,.ai-column{border:0}
.applicant-details{background:#fff}
.draft-column>.draft-preview-block{margin-top:10px}
.reference-a4{min-height:430px}
.ai-column{min-height:calc(100vh - 145px);padding:0}
.ai-conversation{max-height:none;flex:1}
.ai-composer{position:sticky;bottom:10px;background:#fffdfa;padding-top:8px}
.download-warning{margin-top:8px}
.mobile-review-button{display:block;width:100%;margin-top:8px}
.document-tools-head{display:block;padding:13px 11px;width:100%}
.document-tools-head h1{font-size:31px}
.document-tools-head p{font-size:13px}
.tools-independence{display:none}
.document-tools-grid{display:block;width:100%;padding:9px 11px}
.document-tool-card{margin-bottom:10px}
.resize-file-summary{grid-template-columns:105px 1fr}
.resize-file-summary img{width:105px;height:80px}
.tool-three-fields{grid-template-columns:1fr 1fr}
.tool-three-fields label:last-child{grid-column:1/3}
.pdf-preview-dialog{width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0;margin:0}
.pdf-preview-shell{min-height:100dvh;display:flex;flex-direction:column;padding:14px 12px calc(14px + env(safe-area-inset-bottom))}
.pdf-pages-stage{flex:1;height:auto;min-height:0}
.pdf-preview-actions{margin-top:8px}}
@media (max-width:390px){.home-hero-copy h1{font-size:31px}
.seva-reference-header .header-inner{width:calc(100% - 22px)}
.document-tools-head h1{font-size:29px}
.workspace-mobile-title h1{font-size:21px}
.tool-two-fields{grid-template-columns:1fr 1fr}
.drafting-card{padding:6px}
.pdf-pages-stage{padding-inline:0}}
@media (max-width:360px){.home-hero-copy h1{font-size:29px}
.popular-chips a{font-size:13px}
.explore-service{padding:6px}
.workspace-column input,.workspace-column select,.workspace-column textarea{font-size:13px}
.document-tool-card{padding:11px}
.tool-three-fields{grid-template-columns:1fr}
.tool-three-fields label:last-child{grid-column:auto}}
@media print{body.printing-workspace-pdf *{visibility:hidden!important}
body.printing-workspace-pdf .reference-a4,body.printing-workspace-pdf .reference-a4 *{visibility:visible!important}
body.printing-workspace-pdf .reference-a4{position:absolute!important;inset:0!important;width:210mm!important;min-height:297mm!important;margin:0!important;border:0!important;box-shadow:none!important;padding:18mm!important;font-size:10pt!important;background:#fff!important}
body.printing-pdf *{visibility:hidden!important}
body.printing-pdf #pdf-preview-dialog,body.printing-pdf #pdf-pages-stage,body.printing-pdf #pdf-pages-stage *{visibility:visible!important}
body.printing-pdf #pdf-preview-dialog{position:static!important;display:block!important;width:auto!important;height:auto!important;background:#fff!important}
body.printing-pdf .pdf-preview-header,body.printing-pdf .pdf-preview-controls,body.printing-pdf .pdf-preview-note,body.printing-pdf .pdf-preview-actions{display:none!important}
body.printing-pdf .pdf-pages-stage{height:auto!important;overflow:visible!important;padding:0!important}
body.printing-pdf .pdf-page-image{width:100%!important;page-break-after:always;box-shadow:none!important}}
.explore-section.premium-trust-band>.home-section-head{display:flex!important;align-items:flex-end!important;gap:0!important;padding:0!important;border:0!important}
.explore-section.premium-trust-band>.explore-services{display:grid!important;width:100%!important;padding:0!important;border:0!important}
[hidden]{display:none!important}
.page-home .seva-ai-launcher,.page-tools .seva-ai-launcher{display:none!important}
@media (max-width:860px){.explore-section.premium-trust-band{display:block!important}
.explore-section.premium-trust-band>.home-section-head{display:flex!important;border-right:0!important;padding:0!important}
.explore-section.premium-trust-band>.explore-services{display:grid!important;width:100%!important;border-right:0!important;padding:0!important}}
.reference-a4,.complaint-a4{position:relative;overflow:hidden;aspect-ratio:210/297;min-height:0!important;background:#fff}
.workspace-pdf-page{position:absolute;inset:0;z-index:6;display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.pdf-page-toolbar>button:disabled{opacity:.42;cursor:not-allowed}
@media (max-width:860px){.reference-a4,.complaint-a4{aspect-ratio:210/297;min-height:0!important}
.pdf-preview-shell{height:100dvh;min-height:0;overflow:hidden}
.pdf-pages-stage{min-height:0;overflow:auto}}
.sd-icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.sd-icon{width:1.25em;height:1.25em;display:inline-block;vertical-align:-.18em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
body{background:#fbfaf4;color:#09252d;font-family:Arial,"Helvetica Neue",sans-serif;font-size:14px;line-height:1.45}
.seva-reference-header,.reference-home,.reference-workspace,.document-tools-page,.reference-footer{--blue:#07584c;--blue2:#0b6a59;--line:#d7ddd8;--ink:#09252d;--muted:#52646a}
.seva-reference-header{position:relative;top:auto;background:#fffefa;border-color:#dfe3dd;backdrop-filter:none;border-bottom:1px solid #d9dfda;box-shadow:none}
.seva-reference-header .header-inner{height:68px;gap:34px}
.seva-wordmark strong{font-size:25px;line-height:1;font-weight:850;letter-spacing:-1px;color:#09252d}
.seva-wordmark em{color:#176b52;font-style:normal}
.seva-wordmark small{font-size:13px;color:#49635d;margin-top:3px}
.reference-main-nav{margin-left:auto;gap:34px}
.reference-main-nav a{color:#09252d;font-size:13px;font-weight:650;padding:24px 0 21px}
.reference-main-nav a:hover{color:#07584c}
.reference-main-nav a.active{border-bottom:2px solid #07584c}
.reference-main-nav span{font-size:13px;display:inline-flex;margin-left:3px}
.reference-main-nav span .sd-icon{width:12px;height:12px}
.language-switch{font-size:13px;color:#20333a;padding-right:18px;border-right:1px solid #aab3af}
.ask-seva-header{background:linear-gradient(135deg,#0b5d50,#00483e);color:white;border-radius:8px;padding:10px 15px;font-size:13px;font-weight:800;box-shadow:none;display:inline-flex;align-items:center;gap:8px}
.ask-seva-header .sd-icon{width:16px;height:16px}
.workspace-header-nav a{display:flex;align-items:center;font-size:14px;font-weight:700;border-bottom:3px solid transparent}
.workspace-independent-pill{margin-left:auto;background:#eef7e4;border-radius:10px;padding:8px 14px;font-size:13px;color:#1a473d}
.mobile-menu summary{border:0;background:transparent;border-radius:0;width:34px;height:34px}
.mobile-menu summary .sd-icon{width:23px;height:23px}
.mobile-menu nav{border-radius:9px;box-shadow:0 12px 30px rgba(20,48,41,.12)}
.reference-home.premium-hero-scene{min-height:0;border:0;border-radius:0;box-shadow:none;overflow:visible;background:radial-gradient(circle at 52% 13%,rgba(238,244,217,.55),transparent 30%),#fbfaf4}
.reference-notice{display:flex;align-items:center;gap:9px;background:#edf5d7;border-radius:9px;padding:7px 11px;margin-top:0;font-size:13px;min-height:32px}
.reference-notice .sd-icon{width:16px;height:16px;color:#176b52}
.home-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.82fr);gap:32px;padding:18px 2px 18px;align-items:center}
.home-hero-copy h1{font-size:52px;line-height:.98;letter-spacing:-2.3px;margin:4px 0 14px}
.home-hero-copy>p{font-size:17px;max-width:610px;color:#2d3d42;margin:0 0 17px;line-height:1.35;margin-bottom:17px}
.reference-search{height:55px;display:flex;align-items:center;border:1px solid #bbc6c0;background:#fff;border-radius:9px;padding:5px 6px 5px 14px;box-shadow:0 4px 12px rgba(25,48,40,.03);max-width:690px;padding-left:14px}
.reference-search>.sd-icon{width:23px;height:23px}
.reference-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:0 12px;color:#1d3036;font-size:14px}
.reference-search button{border:0;background:linear-gradient(135deg,#0b5d50,#005044);color:#fff;font-weight:800;border-radius:8px;height:42px;min-width:112px;cursor:pointer;font-size:13px}
.popular-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;font-size:13px}
.popular-chips a{border:1px solid #bfcdbd;background:#edf5e7;border-radius:999px;padding:5px 12px;font-size:13px}
.home-ai-panel{background:radial-gradient(circle at 100% 0,rgba(28,125,91,.45),transparent 34%),linear-gradient(145deg,#0b604f,#004a3f);color:#fff;border-radius:11px;padding:20px 23px 17px;box-shadow:none}
.home-ai-panel h2{font-size:25px;line-height:1.05;margin:0 0 6px;color:#fff;margin-bottom:5px}
.home-ai-panel>p{margin:0 0 12px;font-size:13px;line-height:1.35;color:#e4f1ec}
.ai-example-question{height:42px;display:flex;justify-content:space-between;align-items:center;background:#fff;color:#172b31;border-radius:7px;padding:0 14px;font-size:13px;margin-bottom:6px}
.ai-example-question .sd-icon{width:18px;height:18px}
.ai-next-steps a{display:grid;grid-template-columns:36px 1fr;gap:9px;align-items:center;padding:9px 4px;border-bottom:1px solid rgba(255,255,255,.16)}
.home-icon{width:34px;height:34px;display:grid;place-items:center;color:#07584c;font-weight:900;font-size:20px;flex:none}
.home-icon .sd-icon{width:25px;height:25px}
.ai-next-steps strong{font-size:13px}
.ai-next-steps small{font-size:13px;color:#d1e7e0}
.lime-button{height:40px;margin-top:6px;border-radius:7px;background:linear-gradient(90deg,#c8f83f,#d9ff70);color:#10352b;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:850;font-size:13px}
.lime-button .sd-icon{width:18px;height:18px}
.home-section{padding:13px 0;border-top:1px solid #dfe2dc}
.explore-section.premium-trust-band{display:block!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:13px 0!important;margin-top:0!important;gap:0!important}
.home-section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:11px}
.home-section-head h2{font-size:20px;margin:0;letter-spacing:-.3px}
.home-section-head p{font-size:13px;color:#5b6869;margin:2px 0 0}
.home-section-head>a{font-size:13px;font-weight:700}
.explore-services{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0}
.explore-service{display:grid;grid-template-columns:42px 1fr;gap:9px;padding:9px 14px;border-right:1px solid #d9dfd9;min-height:80px;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.explore-service .large{width:39px;height:39px;font-size:24px}
.explore-service .large .sd-icon{width:28px;height:28px}
.explore-service strong{font-size:13px;line-height:1.2}
.explore-service small{font-size:13px;color:#546167;line-height:1.35;margin-top:4px}
.drafting-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.drafting-card{border:1px solid #d9decf;border-radius:10px;padding:14px 20px;display:grid;grid-template-columns:58px 1fr;gap:16px;align-items:center;min-height:112px;background:linear-gradient(115deg,#eff8d8,#f7f7e8);box-shadow:none}
.draft-card-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#d7ef99;border:1px solid #b7d66b;font-size:0}
.draft-card-icon .sd-icon{width:29px;height:29px}
.drafting-card h3{font-size:16px;margin:0 0 2px}
.drafting-card p{font-size:13px;margin:0 0 8px;max-width:410px;line-height:1.35}
.drafting-card a{display:inline-flex;background:#086052;color:#fff;border-radius:6px;padding:8px 15px;font-size:13px;font-weight:800}
.home-tool-links>a{display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:10px;padding:10px 18px;border-right:1px solid #cfd6cf;border-radius:0!important;background:transparent!important}
.home-tool-links .home-icon{width:38px;height:38px}
.home-tool-links .home-icon .sd-icon{width:27px;height:27px}
.home-tool-links strong{font-size:13px}
.home-tool-links small{font-size:13px;color:#59676b}
.tool-link-arrow .sd-icon{width:17px;height:17px}
.reference-footer{background:#fffef9;border-top:1px solid #d8ded8;padding:13px 0}
.reference-footer-row{display:flex;align-items:center;gap:30px;font-size:13px;color:#53645f}
.reference-footer-row strong{font-size:14px;color:#0a3d35}
.reference-workspace{padding:9px 0 28px;background:radial-gradient(circle at 50% 10%,rgba(248,245,231,.72),transparent 36%),#fffdfa;min-height:calc(100vh - 70px)}
.workspace-heading{text-align:center;padding:4px 0 3px}
.workspace-heading h1{font-size:32px;letter-spacing:-1.15px;margin:0 0 2px}
.workspace-heading p{margin:0;color:#52646b;font-size:13px}
.reference-progress{display:flex;justify-content:center;align-items:center;gap:13px;margin:11px auto 14px}
.reference-progress span{display:flex;align-items:center;gap:8px;font-size:13px;color:#59656a;white-space:nowrap}
.reference-progress b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid #9faaa5;background:#fff;font-weight:700}
.reference-progress i{height:1px;background:#82938c;width:110px}
.reference-workspace-grid{display:grid;grid-template-columns:minmax(250px,.92fr) minmax(360px,1.12fr) minmax(250px,.8fr);gap:10px;align-items:start}
.workspace-column{border:1px solid #d5dcd7;border-radius:8px;background:rgba(255,255,255,.73);padding:15px;min-width:0;box-shadow:none;min-height:0}
.workspace-column>header h2{font-size:18px;margin:0;line-height:1.2}
.workspace-column>header p{font-size:13px;color:#627077;margin:3px 0 11px;line-height:1.35}
.workspace-column label{display:block;font-size:13px;font-weight:700;color:#12352f;margin:10px 0}
.workspace-column input,.workspace-column select,.workspace-column textarea{width:100%;border:1px solid #c8d0cc;background:#fff;border-radius:5px;padding:9px 10px;color:#183039;font:inherit;font-size:13px;outline:none;resize:vertical;line-height:1.35;border-color:#c4ceca}
.workspace-column textarea{min-height:0}
.workspace-column label>small{font-weight:500;color:#77817e;font-size:13px}
.field-counter{display:block;text-align:right;margin-top:2px;font-size:13px!important}
.tool-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.workspace-primary{border:0;background:linear-gradient(135deg,#0b6455,#005144);color:#fff;border-radius:5px;padding:9px 13px;font-weight:800;font-size:13px;cursor:pointer;min-height:40px}
.workspace-primary.small{padding:8px 12px;min-height:36px}
.workspace-primary .sd-icon,.outline .sd-icon{width:16px;height:16px}
.workspace-message{font-size:13px;color:#65726f;margin:6px 0 0}
.language-radios label{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:500}
.record-options summary{cursor:pointer;font-size:13px;font-weight:800}
.record-option-grid label{margin:0;display:flex;align-items:flex-start;gap:5px;font-size:13px!important;font-weight:500}
.applicant-details,.additional-details{border:1px solid #d9dfdb;border-radius:6px;margin-top:10px;background:#fff}
.applicant-details summary,.additional-details summary{list-style:none;cursor:pointer;padding:10px 11px;display:flex;align-items:center;justify-content:space-between}
.applicant-details summary::-webkit-details-marker,.additional-details summary::-webkit-details-marker{display:none}
.applicant-details summary b,.additional-details summary b{font-size:13px}
.applicant-details summary small,.additional-details summary small{display:block;font-size:13px;color:#6b7775;font-weight:400;margin-top:2px}
.details-chevron{display:flex}
.details-chevron .sd-icon{width:16px;height:16px}
.applicant-details[open] .details-chevron,.additional-details[open] .details-chevron{transform:rotate(180deg)}
.details-body{border-top:1px solid #e1e5e1;padding:2px 11px 11px}
.reference-draft-editor>label:first-child{margin-top:3px}
.reference-question-list{display:grid;gap:9px}
.reference-question-card{display:grid;grid-template-columns:22px 1fr;gap:7px}
.question-number{font-size:13px;padding-top:7px}
.question-body{border:1px solid #d6dcd8;border-radius:5px;background:white;padding:5px 8px}
.question-body textarea{border:0!important;box-shadow:none!important;padding:3px 0!important;min-height:56px;font-size:13px!important;line-height:1.35}
.question-controls{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0ed;padding-top:5px}
.question-controls button,.inline-refine,.refine-inline button{border:1px solid #a7c990;background:#eff8dd;border-radius:5px;padding:5px 8px;color:#174d3e;font-size:13px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.question-controls button .sd-icon,.inline-refine .sd-icon,.refine-inline button .sd-icon{width:13px;height:13px}
.question-controls small{font-size:13px;color:#7a8581}
.add-question-button{display:flex;margin:10px auto 5px;border:1px solid #b5d39b;background:#eff8df;border-radius:6px;padding:7px 12px;color:#184c3e;font-size:13px!important;font-weight:700;align-items:center;justify-content:center;gap:6px}
.add-question-button .sd-icon{width:14px;height:14px}
.draft-preview-block{border-top:1px solid #e0e4df;margin-top:11px;padding-top:9px}
.draft-preview-block>header h3{font-size:16px;margin:0 0 6px}
.reference-a4{background:#fff;border:1px solid #d8ddda;box-shadow:0 4px 11px rgba(24,46,40,.08);min-height:365px;padding:15px 17px 32px;position:relative;font-family:Arial,sans-serif;color:#101820;font-size:13px;line-height:1.35}
.pdf-page-toolbar{display:flex;align-items:center;gap:7px;margin-top:8px}
.pdf-page-toolbar button{border:1px solid #b9cbc4;background:#fff;border-radius:5px;padding:7px 10px;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px}
.pdf-page-toolbar button>.sd-icon{width:15px;height:15px}
.pdf-page-toolbar span{font-size:13px;color:#65736f}
.draft-utility-actions button{border:0;background:transparent;color:#536b65;font-size:13px;text-decoration:underline;cursor:pointer}
.portal-context{background:#f0f6ec!important;border:1px solid #dbe8c7;border-radius:7px;padding:8px;font-size:13px;border-color:#d2ded5!important;color:#183b33!important}
.ai-column{background:linear-gradient(180deg,#f2f8e7,#f6f8ef);min-height:650px;display:flex!important;flex-direction:column!important;padding:15px}
.ai-column>header{display:block}
.ai-conversation{display:flex;flex-direction:column;gap:10px;max-height:405px;overflow:auto;padding:4px 0}
.ai-message{display:flex;gap:8px;align-items:flex-start}
.ai-message>.ai-avatar,.ai-message>span.ai-avatar{width:25px;height:25px;border-radius:50%;background:#07584c;color:#fff;display:grid;place-items:center;flex:none;margin-top:3px}
.ai-avatar .sd-icon{width:14px;height:14px}
.ai-message>div{background:#eef0ee;border-radius:11px;padding:9px 11px;font-size:13px;line-height:1.45;max-width:86%}
.ai-message.user{justify-content:flex-end}
.ai-message.user>div{background:#e8f4d6;max-width:76%}
.ai-message strong{font-size:13px}
.ai-message p{margin:2px 0}
.quick-suggestions{margin:11px 0}
.quick-suggestions>span{font-size:13px;font-weight:800}
.quick-suggestions>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}
.quick-suggestions button{border:1px solid #9eb6ad;background:#fff;border-radius:999px;padding:6px 10px;font-size:13px;color:#17473d;cursor:pointer;border-color:#9eb6ad}
.ai-suggestion-card strong{font-size:13px}
.ai-composer{margin-top:auto;position:relative;width:100%}
.ai-composer textarea{padding-right:40px!important;min-height:74px!important;width:100%;padding:10px 43px 10px 11px!important;font-size:13px!important}
.ai-composer button{position:absolute;right:8px;top:10px;border:0;background:#eaf0e8;width:30px;height:30px;border-radius:50%;color:#07584c;cursor:pointer;display:grid;place-items:center}
.ai-composer button .sd-icon{width:16px;height:16px}
.ai-composer small{position:absolute;right:4px;bottom:-14px;font-size:13px;color:#7a8782}
.download-warning{display:flex;gap:8px;background:#e6f3d6;border-radius:7px;padding:9px;margin-top:18px;font-size:13px}
.download-warning>.sd-icon{width:17px;height:17px;color:#07584c}
.mobile-summary-card{display:none}
.outline{border:1px solid #719b90!important;background:#fff!important;color:#123f36!important;border-radius:5px;padding:8px 10px;font-size:13px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-color:#719b90!important}
.complaint-reference-editor .refine-inline{display:grid;grid-template-columns:1fr auto;gap:6px}
.points-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 5px;font-size:13px}
.points-heading button{border:0;background:transparent;color:#12604f;font-size:13px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:4px}
.complaint-upload-box{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #a9bab4;border-radius:5px;background:#f7faf8;padding:10px;margin-top:4px;position:relative;min-height:70px}
.complaint-upload-box b{font-size:13px;border:1px solid #c5d2cd;background:#fff;padding:5px 8px;border-radius:5px}
.complaint-upload-box small{font-size:13px;margin-top:4px}
.complaint-file-row{display:grid;grid-template-columns:20px 1fr auto 24px;align-items:center;gap:5px;border:1px solid #dce2de;border-radius:5px;padding:5px 7px;font-size:13px}
.complaint-file-row strong{font-size:13px}
.complaint-file-row small{color:#6c7875;font-size:13px}
.file-row-icon{display:flex;color:#07584c}
.file-row-icon .sd-icon,.complaint-file-row button .sd-icon{width:14px;height:14px}
.complaint-file-row button{border:0;background:transparent;cursor:pointer;display:grid;place-items:center}
.page-tools .reference-header-actions{margin-left:auto}
.tools-header-note{font-size:13px;color:#40575b;margin-left:auto}
.page-tools .document-tools-page{background:#fffefa}
.document-tools-head{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #d9dfda;padding:20px 0 18px}
.document-tools-head h1{font-size:49px;line-height:1;letter-spacing:-2px;margin:0 0 6px;margin-bottom:7px}
.document-tools-head p{font-size:19px;margin:0;color:#28505a}
.tools-independence{font-size:13px;color:#4e6268;margin-top:6px}
.document-tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:18px}
.document-tool-card{border:1px solid #cbd3cf;border-radius:9px;background:#fffefb;padding:15px;min-width:0}
.tool-card-title{display:flex;gap:11px;align-items:center;margin-bottom:13px}
.tool-card-icon{width:45px;height:45px;border-radius:6px;background:#e5f7cf;display:grid;place-items:center;font-size:0;color:#07584c}
.tool-card-icon .sd-icon{width:28px;height:28px}
.tool-card-title h2{font-size:20px;margin:0}
.tool-card-title p{font-size:13px;color:#52646c;margin:0}
.document-tool-card>label,.tool-two-fields label,.tool-three-fields label{font-size:13px}
.document-tool-card input,.document-tool-card select,.document-tool-card textarea{width:100%;border:1px solid #bdcac5;border-radius:5px;background:#fff;padding:9px 10px;font-size:13px;color:#1b3036;outline:none}
.document-tool-card label>small{display:block;color:#61716f;font-size:13px;margin-top:3px}
.resize-file-summary{display:grid;grid-template-columns:165px 1fr;gap:15px;align-items:center;margin:4px 0 10px}
.resize-file-summary strong{font-size:13px}
.resize-file-summary small{font-size:13px;color:#5b6b6e}
.tool-file-drop{border:1px dashed #91aaa1!important;border-radius:5px;min-height:108px;display:flex!important;align-items:center;justify-content:center;flex-direction:column;text-align:center;position:relative;background:#fff!important;padding:12px}
.tool-file-drop strong{font-size:13px}
.tool-file-drop small{font-size:13px}
.drop-icon .sd-icon{width:30px;height:30px}
.pdf-image-row{display:grid;grid-template-columns:22px 68px 1fr auto;align-items:center;gap:9px;border-bottom:1px solid #e1e5e2;padding:7px 0}
.pdf-image-row strong{font-size:13px}
.pdf-image-row small{font-size:13px;color:#61706f}
.drag-handle .sd-icon{width:18px;height:18px}
.image-row-actions button{width:27px;height:27px;border:0;background:transparent;cursor:pointer;display:grid;place-items:center}
.image-row-actions button .sd-icon{width:16px;height:16px}
.tool-primary,.tool-secondary{width:100%;border-radius:5px;padding:10px 12px;font-size:13px;font-weight:800;cursor:pointer;min-height:42px;display:flex;align-items:center;justify-content:center;gap:7px}
.tool-primary .sd-icon,.tool-secondary .sd-icon{width:16px;height:16px}
.tool-output{display:flex;justify-content:space-between;background:#eef9e2;border-radius:6px;padding:9px 10px;margin-top:10px;font-size:13px}
.tool-output strong{font-size:13px}
.tool-preview-summary{display:flex;justify-content:space-between;align-items:center;padding:8px 2px;font-size:13px}
.tool-inline-preview{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:center;padding:8px 2px 10px}
.tool-inline-preview img{width:120px;aspect-ratio:210/297;object-fit:cover;border:1px solid #d2d9d5;background:#fff;box-shadow:0 3px 8px rgba(20,48,41,.08)}
.tool-inline-preview strong,.tool-inline-preview small{display:block}
.tool-inline-preview strong{font-size:13px}
.tool-inline-preview small{font-size:13px;color:#52646a;line-height:1.5;margin-top:5px}
.text-format-toolbar{display:flex;background:#f0f2f1;border-radius:5px;margin:5px 0;padding:4px;gap:2px}
.text-format-toolbar button{width:32px;height:28px;border:0;background:transparent;border-radius:4px;cursor:pointer;font-size:15px}
.pdf-preview-dialog{width:min(430px,100% - 20px);max-height:95vh;border:0;border-radius:14px;padding:0;background:#eef3f3;box-shadow:0 25px 70px rgba(0,0,0,.28)}
.pdf-preview-header button{border:0;background:transparent;font-size:0;display:grid;place-items:center}
.pdf-preview-header button .sd-icon{width:24px;height:24px}
.pdf-preview-note>.sd-icon{width:18px;height:18px}
.pdf-preview-actions button{border:1px solid #0b594d;background:#fff;color:#0a4b41;border-radius:7px;padding:10px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px}
.pdf-preview-actions button .sd-icon{width:17px;height:17px}
.reference-home a:focus-visible,.reference-workspace button:focus-visible,.reference-workspace input:focus,.reference-workspace textarea:focus,.reference-workspace select:focus,.document-tools-page button:focus-visible,.document-tools-page input:focus,.document-tools-page textarea:focus,.document-tools-page select:focus{outline-color:#07584c!important;border-color:#4d877a!important;box-shadow:0 0 0 3px rgba(9,92,76,.10)!important}
.reference-workspace a,.document-tools-page a{color:#07584c}
.page-tools #toast,.is-workspace-page #toast{background:#0a5146}
@media (max-width:860px){.container{width:calc(100% - 22px)}
.seva-reference-header .header-inner{height:59px}
.seva-wordmark strong{font-size:20px}
.seva-wordmark small{font-size:13px}
.workspace-mobile-menu,.mobile-menu{margin-left:auto}
.bottom-nav{display:flex!important;height:auto;background:#fffefa;backdrop-filter:none;box-shadow:none;border-top:1px solid #d8ded8;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));justify-content:space-around}
.bottom-nav a{color:#173c35;gap:3px;min-width:58px}
.bottom-nav a.bottom-nav-link{color:#173c35}
.bottom-nav a.active{color:#07584c;font-weight:700}
.bottom-nav .sd-icon{width:20px;height:20px}
.bottom-nav b{font-size:13px;font-weight:700}
.reference-home{padding-bottom:70px}
.reference-notice{margin:0 11px;width:auto;min-height:34px;font-size:13px;line-height:1.25;padding:7px 10px}
.reference-notice .sd-icon{width:15px;height:15px}
.home-hero-grid{display:grid;grid-template-columns:1fr;padding:9px 11px 9px;gap:12px}
.home-hero-copy h1{font-size:32px;letter-spacing:-1.55px;line-height:1.02;margin:3px 0 8px}
.home-hero-copy>p{font-size:13px;line-height:1.35;margin-bottom:9px}
.reference-search{height:44px;padding-left:10px}
.reference-search>.sd-icon{width:18px;height:18px}
.reference-search input{font-size:13px;padding:0 9px}
.reference-search button{display:none}
.popular-chips{font-size:13px;gap:5px;margin-top:8px}
.popular-chips a{font-size:13px;padding:4px 8px}
.home-ai-panel{padding:12px;border-radius:8px}
.home-ai-panel h2{font-size:18px}
.home-ai-panel>p{font-size:13px;margin-bottom:8px}
.ai-example-question{height:34px;font-size:13px;padding:0 10px}
.ai-next-steps a{padding:7px 2px;grid-template-columns:29px 1fr}
.home-ai-panel .home-icon{width:27px;height:27px}
.home-ai-panel .home-icon .sd-icon{width:20px;height:20px}
.ai-next-steps strong{font-size:13px}
.ai-next-steps small{font-size:13px}
.lime-button{height:34px;font-size:13px;margin-top:5px}
.home-section,.explore-section.premium-trust-band{padding:10px 11px!important;width:100%!important}
.home-section-head{margin-bottom:8px}
.home-section-head h2{font-size:15px}
.home-section-head p{font-size:13px;line-height:1.3}
.home-section-head>a{font-size:13px}
.explore-services{grid-template-columns:1fr 1fr;gap:5px}
.explore-service{grid-template-columns:33px 1fr;border:1px solid #d9dfd9!important;border-radius:7px!important;padding:8px;min-height:68px}
.explore-service .large{width:31px;height:31px}
.explore-service .large .sd-icon{width:22px;height:22px}
.explore-service strong{font-size:13px}
.explore-service small{font-size:13px;line-height:1.3}
.explore-service:nth-child(n/**/+5){display:none}
.drafting-pair{gap:6px}
.drafting-card{grid-template-columns:34px 1fr;gap:7px;padding:8px;min-height:76px;border-radius:7px}
.draft-card-icon{width:32px;height:32px}
.draft-card-icon .sd-icon{width:19px;height:19px}
.drafting-card h3{font-size:13px;line-height:1.2}
.drafting-card p{display:none}
.drafting-card a{font-size:13px;padding:6px 8px;margin-top:4px}
.home-tool-links{gap:6px}
.home-tool-links>a{display:flex;flex-direction:column;text-align:center;border:1px solid #d9dfd9!important;border-radius:7px!important;padding:8px 4px;gap:3px}
.home-tool-links .home-icon{width:31px;height:31px}
.home-tool-links .home-icon .sd-icon{width:21px;height:21px}
.home-tool-links strong{font-size:13px}
.home-tool-links small{display:none}
.tool-link-arrow .sd-icon{width:14px;height:14px}
.workspace-mobile-title{display:flex;padding-top:10px}
.workspace-mobile-title h1{font-size:24px;line-height:1.1}
.workspace-mobile-title p{font-size:13px;line-height:1.3;margin-top:4px}
.workspace-mobile-title>a{font-size:13px}
.workspace-heading,.reference-progress{display:none}
.reference-workspace{padding-top:0}
.reference-mobile-tabs{display:flex;position:sticky;top:59px;z-index:40;margin-top:10px;background:#fffdfa;border-bottom:1px solid #d9ded9}
.reference-mobile-tabs button{font-size:13px;padding:11px 4px 9px;border-bottom-width:3px}
.reference-workspace-grid{display:block;width:100%;padding:10px 11px 18px}
.workspace-column{border:0;border-radius:0;background:transparent;padding:0}
.reference-workspace[data-mobile-tab="edit"] [data-mobile-panel]:not([data-mobile-panel="edit"]),.reference-workspace[data-mobile-tab="preview"] [data-mobile-panel]:not([data-mobile-panel="preview"]),.reference-workspace[data-mobile-tab="ai"] [data-mobile-panel]:not([data-mobile-panel="ai"]){display:none}
.workspace-column>header h2{font-size:17px}
.workspace-column>header p{font-size:13px}
.workspace-column label{font-size:13px}
.workspace-column input,.workspace-column select,.workspace-column textarea{font-size:13px}
.request-column .workspace-primary{min-height:44px;font-size:13px}
.applicant-details summary b,.additional-details summary b{font-size:13px}
.applicant-details summary small,.additional-details summary small{font-size:13px}
.ai-column{min-height:calc(100dvh - 162px);padding:0;display:flex!important}
.ai-column>header{display:none}
.mobile-summary-card{display:block;background:#fff;border:1px solid #d8ded9;border-radius:7px;padding:11px;margin:0 0 12px}
.mobile-summary-card>div{display:flex;justify-content:space-between;align-items:center}
.mobile-summary-card strong{font-size:13px}
.mobile-summary-card button{border:0;background:transparent;color:#07584c;font-size:13px;cursor:pointer}
.mobile-summary-card h3{font-size:14px;margin:4px 0 3px}
.mobile-summary-card p{font-size:13px;line-height:1.42;margin:7px 0}
.mobile-summary-card small{font-size:13px;color:#52646a}
.mobile-summary-card small span:after{content:"|";margin:0 7px;color:#a0aaa6}
.ai-conversation{max-height:none;overflow:visible;gap:10px}
.ai-message>div{font-size:13px;max-width:84%;padding:10px 11px}
.ai-message.user>div{max-width:70%}
.ai-message strong{font-size:13px}
.quick-suggestions{margin:11px 0}
.quick-suggestions button{font-size:13px}
.ai-suggestion-card{padding:10px}
.ai-suggestion-card strong{font-size:13px}
.ai-suggestion-card textarea{font-size:13px!important}
.ai-composer{position:sticky;bottom:58px;background:#fffdfa;padding:8px 0 4px;z-index:15}
.ai-composer textarea{min-height:62px!important;font-size:13px!important}
.download-warning{font-size:13px;margin-top:16px}
.mobile-review-button{display:block;width:100%;min-height:44px;margin-top:10px;font-size:13px;position:sticky;bottom:7px;z-index:16}
.draft-preview-block{margin-top:12px}
.reference-a4{font-size:13px}
.pdf-page-toolbar{flex-wrap:wrap}
.pdf-page-toolbar .spacer{display:none}
.pdf-page-toolbar .outline,.pdf-page-toolbar .workspace-primary{flex:1}
.draft-utility-actions{display:none}
.document-tools-page{padding-bottom:70px}
.document-tools-head{display:block;padding:15px 11px;width:100%}
.document-tools-head h1{font-size:32px;line-height:1.02;letter-spacing:-1.4px}
.document-tools-head p{font-size:13px;line-height:1.35}
.tools-independence{display:none}
.document-tools-grid{display:block;width:100%;padding:10px 11px}
.document-tool-card{padding:13px;margin-bottom:10px}
.tool-card-title h2{font-size:18px}
.tool-card-title p{font-size:13px}
.document-tool-card>label,.tool-two-fields label,.tool-three-fields label{font-size:13px}
.document-tool-card input,.document-tool-card select,.document-tool-card textarea{font-size:13px}
.tool-inline-preview{grid-template-columns:105px 1fr}
.tool-inline-preview img{width:105px}
.pdf-preview-dialog{width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0;margin:0}
.pdf-preview-shell{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:14px 12px calc(14px + env(safe-area-inset-bottom))}
.pdf-preview-header,.pdf-preview-controls,.pdf-preview-note,.pdf-preview-actions{flex:0 0 auto}
.pdf-pages-stage{flex:1 1 auto;height:auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:13px 3px}
.pdf-preview-header{min-height:50px}
.pdf-preview-controls{padding:7px 3px}
.pdf-preview-note{font-size:13px;padding:10px}
.pdf-preview-actions{margin-top:9px}
.pdf-preview-actions button{min-height:42px}}
@media (max-width:390px){.home-hero-copy h1{font-size:30px}
.document-tools-head h1{font-size:30px}
.workspace-mobile-title h1{font-size:23px}
.tool-two-fields{grid-template-columns:1fr 1fr}}
@media (max-width:360px){.home-hero-copy h1{font-size:28px}
.popular-chips a{font-size:13px}
.workspace-column input,.workspace-column select,.workspace-column textarea{font-size:13px}
.document-tool-card{padding:11px}
.tool-three-fields{grid-template-columns:1fr}
.tool-three-fields label:last-child{grid-column:auto}}
@media (max-width:860px){.page-home .ask-seva-header{display:none!important}
.ai-column .ai-composer{position:relative!important;bottom:auto!important;padding:0!important;margin-top:10px;background:transparent!important}
.ai-column .mobile-review-button{position:relative!important;bottom:auto!important;margin-top:10px}}
.page-tools .tools-independence{display:none!important}
.draft-extra-details{border:1px solid #d8ded9;border-radius:7px;background:#fff;margin:10px 0}
.draft-extra-details summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:10px 11px}
.draft-extra-details summary::-webkit-details-marker{display:none}
.draft-extra-details summary span:first-child{display:grid;gap:2px}
.draft-extra-details summary b{font-size:13px;color:#173a33}
.draft-extra-details summary small{font-size:13px;color:#697874;font-weight:400}
.draft-extra-details .details-chevron .sd-icon{width:15px;height:15px;transition:.2s}
.draft-extra-details[open] .details-chevron .sd-icon{transform:rotate(180deg)}
.draft-extra-details .details-body{padding:0 10px 10px;border-top:1px solid #e2e6e3}
.reference-relief-list .reference-question-card{grid-template-columns:1fr!important}
.reference-relief-list .question-number{display:none}
.reference-relief-list .question-body textarea{min-height:70px}
.page-complaint-new .ai-message.assistant>div{background:#eef7e5}
.page-complaint-new .ai-message.user>div{background:#e7f3f8;color:#173a33}
.page-complaint-new .ai-message.assistant .ai-avatar{background:#69b64b;color:white}
.complaint-inline-suggestions{grid-column:1/-1;margin:2px 0 4px 34px!important}
.complaint-inline-suggestions>div{display:flex;flex-wrap:wrap;gap:6px}
.complaint-inline-suggestions button{font-size:13px!important}
.ai-suggestion-card{background:#f1f4f2!important;border-radius:9px!important;padding:10px;margin:5px 0 9px;border:0!important}
.page-complaint-new .ai-suggestion-card{background:#eef7e5!important}
.ai-suggestion-card textarea{margin:5px 0;font-size:13px!important;background:#fff!important;border-color:#cbd5d0!important}
.ai-suggestion-card>div{display:grid!important;gap:8px;grid-template-columns:minmax(0,1fr) auto}
.ai-suggestion-card .workspace-primary{width:100%}
@media (max-width:860px){.draft-extra-details{margin:9px 0}
.complaint-inline-suggestions{margin-left:0!important}
.complaint-inline-suggestions button{font-size:13px!important}
.ai-suggestion-card{margin:9px 0!important}
.ai-suggestion-card>div{grid-template-columns:minmax(0,1fr) auto}}
.rti-mobile-help{display:none;color:#123f36;font-size:13px;font-weight:600;margin-left:auto}
.complaint-reference-nav{margin-left:auto!important}
.complaint-reference-nav a{font-weight:500!important;border-bottom:0!important}
.complaint-reference-slogan{line-height:1.25;text-align:center;background:#e8f5d5!important;padding:8px 14px!important;border-radius:6px!important;color:#20483d!important}
.page-tools .reference-main-nav a>span{display:none}
.text-format-toolbar button .sd-icon{width:17px;height:17px;stroke-width:1.8}
.workspace-mobile-title>a{display:none!important}
@media (max-width:860px){.rti-mobile-help{display:block}
.rti-mobile-menu{display:none!important}
.complaint-mobile-menu{display:block!important}
.page-complaint-new .seva-reference-header .seva-wordmark small{display:block}}
@media (max-width:860px){.is-workspace-page .download-warning,.page-complaint-new .ai-small-note{display:flex!important}}
@media (max-width:860px){.is-workspace-page .ai-conversation{flex:0 0 auto!important}}

/* Final release: icon-only controls use the shared outlined SVG sprite. */
.seva-ai-launcher-icon .sd-icon{width:18px;height:18px}
.seva-chat-header #seva-ai-close{width:34px;height:34px;display:grid;place-items:center}
.seva-chat-header #seva-ai-close .sd-icon{width:20px;height:20px}

/* Draft validity and accessible form components. */
.draft-stale-notice{padding:12px;border:1px solid #d4bb70;border-radius:6px;background:#fff8df;color:#53430e;font-size:14px;line-height:1.5}
.brand-checkbox{display:flex!important;align-items:center;justify-content:flex-start;gap:10px!important;font-size:14px!important;margin:18px 0!important}
.brand-checkbox input[type=checkbox]{width:18px!important;height:18px!important;flex:0 0 18px;margin:0!important}
.brand-checkbox span{flex:1;text-align:left}
.workspace-column{min-width:0}.workspace-column input,.workspace-column textarea,.workspace-column select{font-size:15px;line-height:1.5}
.ai-message>div{font-size:14px;line-height:1.55}.ai-conversation{max-height:460px}.question-body textarea{min-height:100px!important;resize:vertical}
.document-tool-card input,.document-tool-card select,.document-tool-card textarea{font-size:15px;line-height:1.5}
.document-tool-card .tool-actions{gap:10px;margin-top:12px}
.rti-hero{background:#f5f8ec;border-color:#d7ddd8}.rti-hero .button,.rti-hub .button{background:#07584c}.rti-hero .button.secondary{background:#fff;color:#07584c;border-color:#9bb3a8}
.rti-hero .eyebrow,.rti-hero .text-link,.rti-hero .kicker{color:#07584c}.rti-explain-card{border-color:#d7ddd8;box-shadow:none}
@media(max-width:1100px){.reference-workspace-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr)}}
@media(max-width:860px){.workspace-column input,.workspace-column textarea,.workspace-column select,.ai-composer textarea,.document-tool-card input,.document-tool-card select,.document-tool-card textarea{font-size:16px!important}.ai-message>div{font-size:15px}.reference-workspace-grid{display:block}.home-hero-copy h1{font-size:34px}.reference-main-nav{gap:16px}}
