@font-face{font-family:'IBM Plex Sans';src:url('assets/plex-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'IBM Plex Sans';src:url('assets/plex-medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:'IBM Plex Sans';src:url('assets/plex-semibold.ttf') format('truetype');font-weight:600;font-display:swap}
:root{--ground:#f4f7f7;--surface:#fff;--raised:#f4f6f8;--active:#e7eded;--border:#e8eaec;--rule:#f0f1f2;--control:#b8c0c3;--text:#131416;--muted:#5d5f60;--accent:#1b6c80;--positive:#1e7b4f;--negative:#c4242a;--warning:#92400e;--radius:8px;--gap:24px;--pad:32px;--font:'IBM Plex Sans',system-ui,sans-serif;--ease:cubic-bezier(.23,1,.32,1)}
*{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--text);font:400 16px/1.5 var(--font);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-underline-offset:4px}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:26px;font-weight:600;line-height:1.2;letter-spacing:-.025em}h2{font-size:19px;font-weight:600;line-height:1.3;letter-spacing:-.015em}h3{font-size:16px;font-weight:600}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}button .icon{width:18px;height:18px}.boot{padding:40px}.skip-link{position:fixed;left:16px;top:-100px;background:var(--text);color:white;padding:12px 20px;z-index:20}.skip-link:focus{top:12px}
/* 228px navigation + fluid sheet; 8px final inset. Content: (available - 2×32px), 24px gutter. */
.shell{display:grid;grid-template-columns:228px minmax(0,1fr);grid-template-rows:56px 1fr;min-height:100dvh;padding-right:8px;padding-bottom:8px}.brand{grid-column:1;grid-row:1;display:flex;gap:10px;align-items:center;padding:15px 20px;text-decoration:none}.brand img{width:33px;height:33px}.brand-name{font-size:16px;line-height:1.1;font-weight:600;letter-spacing:-.5px}.brand-name span{display:block}.sidebar{grid-row:2;grid-column:1;display:flex;flex-direction:column;padding:24px 14px 16px;gap:26px}.sidebar nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;text-decoration:none;padding:11px 13px;border-radius:7px;font-size:15px;color:var(--muted);min-height:44px}.nav-link.active{background:var(--active);color:var(--text);font-weight:500}.nav-link .count{margin-left:auto;font-variant-numeric:tabular-nums;font-size:12px}.sidebar-new{margin:0 5px}.sidebar-bottom{margin-top:auto;padding:28px 12px 0;font-size:13px;color:var(--muted)}.sidebar-bottom p{margin:10px 0 14px}.sidebar-bottom .small-link{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:13px}.civil{display:flex;align-items:center;gap:8px;font-weight:500;color:var(--text)}.civil .icon{width:17px;height:17px}.topbar{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:space-between;padding:0 28px;font-size:13px;color:var(--muted);gap:16px}.topbar-right{display:flex;align-items:center;gap:20px}.saved{display:flex;align-items:center;gap:6px}.saved .icon{width:15px;height:15px}.mobile-menu{display:none}.workspace{grid-row:2;grid-column:2;background:var(--surface);border:1px solid var(--border);border-radius:16px;min-width:0;overflow:hidden;display:flex;flex-direction:column}.prototype{padding:10px var(--pad);background:#f7f9fa;color:var(--muted);font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:16px}.prototype a{white-space:nowrap}.content{padding:34px var(--pad) 40px;max-width:1280px;width:100%;margin:0 auto;flex:1;outline:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);margin-top:8px;font-size:15px}.page-heading .actions{flex:none}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.section-heading .small-link{font-size:13px}.muted{color:var(--muted)}.small{font-size:13px}.text-link,.small-link{font-weight:500;text-underline-offset:4px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;background:var(--text);color:#fff;min-height:44px;padding:10px 17px;border-radius:6px;text-decoration:none;line-height:1.3;font-size:14px;font-weight:500;white-space:normal;transition:transform 150ms var(--ease),background-color 150ms ease}.button.secondary{background:#fff;border-color:var(--control);color:var(--text)}.button.quiet{background:var(--raised);color:var(--text)}.button.ghost{background:transparent;color:var(--text);padding:8px}.button.danger{color:var(--negative);background:#fff;border-color:#edc8cb}.button.wide{width:100%}.button.small-button{min-height:36px;padding:7px 12px;font-size:13px}.button:active{transform:scale(.98)}.icon-button{width:44px;min-height:44px;padding:10px;border:0;border-radius:6px;background:transparent;display:inline-grid;place-items:center}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.chevron{margin-left:auto}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;min-width:0}.well{background:var(--raised);border-radius:8px;padding:20px}.stack{display:grid;gap:20px}.two-col{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:var(--gap);align-items:start}.two-col.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.space-top{margin-top:32px}.badge{display:inline-flex;align-items:center;gap:6px;background:#edf0f1;color:#353736;font-size:12px;font-weight:500;line-height:1.4;padding:4px 8px;border-radius:4px;white-space:nowrap;flex:none}.badge.positive{background:#e6f3ec;color:#1b5b3b}.badge.warning{background:#fff5e3;color:#805015}.badge.teal{background:#e9f2f4;color:#185469}.status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}.start-panel{padding:26px;background:#f5f8f8;border:0}.start-panel h2{font-size:24px;line-height:1.2;max-width:400px}.start-panel>p{font-size:15px;margin:12px 0 22px;color:var(--muted);max-width:440px}.start-panel textarea{margin-bottom:16px;background:white;min-height:120px}.start-panel label{margin-bottom:8px;font-size:14px}.start-panel .under{font-size:12px;margin:13px 0 0;display:flex;gap:7px;align-items:center}.under .icon{width:14px;height:14px}.example-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.example-link{border:0;background:transparent;color:var(--muted);padding:0;font-size:13px;text-decoration:underline;text-underline-offset:4px}.home-dossier{border:1px solid var(--border);border-radius:8px;padding:24px;display:flex;flex-direction:column;gap:20px;min-height:380px;position:relative}.home-dossier .dossier-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.home-dossier .case-id{font-size:12px;color:var(--muted)}.home-dossier h3{font-size:20px;line-height:1.25;letter-spacing:-.4px}.document-preview{background:#f7f8f9;border-radius:4px;padding:20px;font-size:13px;line-height:1.7}.document-preview strong{display:block;margin-bottom:12px;font-weight:500}.document-preview p+p{margin-top:12px}.document-preview .signature{margin-top:16px;color:var(--muted)}.dossier-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px}.guide-rows{display:grid;gap:0}.guide-row{display:grid;grid-template-columns:30px 1fr;column-gap:12px;padding:16px 0;border-bottom:1px solid var(--rule)}.guide-row:first-child{padding-top:4px}.guide-row:last-child{border-bottom:0;padding-bottom:0}.guide-row>.icon{color:var(--muted);margin-top:2px}.guide-row p{font-size:14px;color:var(--muted);margin-top:5px}.home-bottom{margin-top:30px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:var(--gap)}.plain-note{display:flex;gap:12px;align-items:flex-start;font-size:14px}.plain-note .icon{margin-top:3px;color:var(--muted)}.plain-note p{margin-top:6px;color:var(--muted)}.page-footer{margin-top:36px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted);border-top:1px solid var(--rule)}.page-footer a{text-decoration:none}.case-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;padding:20px 0;border-bottom:1px solid var(--rule);text-decoration:none;align-items:center}.case-row:first-child{padding-top:0}.case-row:last-child{border-bottom:0;padding-bottom:0}.case-row h3{font-size:16px;font-weight:500;overflow-wrap:anywhere}.case-row p{font-size:13px;color:var(--muted);margin-top:6px}.row-actions{display:flex;gap:18px;align-items:center}.case-row .badge{margin-right:12px}.filter-bar{display:flex;gap:12px;margin-bottom:24px}.filter-bar input{max-width:420px}.filter-bar select{width:auto;min-width:150px}.empty{padding:32px;text-align:center;background:var(--raised);border-radius:8px}.empty h2{margin-bottom:10px}.empty p{color:var(--muted);max-width:420px;margin:0 auto 20px}.case-title{overflow-wrap:anywhere}.breadcrumb{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:20px}.breadcrumb a{text-decoration:none}.breadcrumb .icon{width:14px;height:14px}.case-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:13px;color:var(--muted)}.tabs{display:flex;gap:25px;overflow:auto;border-bottom:1px solid var(--border);margin-bottom:28px;scrollbar-width:thin}.tab{position:relative;min-height:48px;display:flex;align-items:center;gap:8px;text-decoration:none;white-space:nowrap;font-size:14px;color:var(--muted);flex:none;padding:0 2px}.tab.active{color:var(--text);font-weight:500;border-bottom:2px solid var(--accent)}.tab .icon{width:16px;height:16px}.next-card{padding:25px;background:#f4f8f9;border:0}.next-card .step-label{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:13px;margin-bottom:15px;font-weight:500}.next-card h2{font-size:23px;line-height:1.3;max-width:520px}.next-card p{margin-top:12px;color:var(--muted);font-size:15px}.next-card .actions{margin-top:23px}.key-values{display:grid;gap:14px;font-size:14px;margin-top:20px}.key-value{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.key-value span:first-child{color:var(--muted);flex:1}.key-value span:last-child{text-align:right;max-width:65%;overflow-wrap:anywhere}.description{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:16px}.checklist{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:13px}.checklist li{display:flex;gap:9px;font-size:14px;align-items:flex-start}.checklist .icon{width:16px;height:16px;margin-top:3px;color:var(--muted)}.checklist .checked{color:var(--positive)}.note{padding:16px 18px;border-radius:6px;background:#f3f6f7;font-size:13px;line-height:1.6}.note p+p{margin-top:8px}.note.warning{background:#fff7e8;color:#805015}.note.error{background:#fff1f1;color:#8e252d}.note a{font-weight:500}.letter-box textarea{min-height:430px;resize:vertical;line-height:1.7;font-size:15px}.letter-box .actions{margin-top:16px}.field{display:grid;gap:8px;margin-bottom:19px}.field:last-child{margin-bottom:0}.field label,.field-label{font-size:14px;font-weight:500}.field small{font-size:12px;color:var(--muted)}input,select,textarea{width:100%;background:white;border:1px solid var(--control);border-radius:6px;padding:10px 12px;min-height:44px;font-size:16px;line-height:1.4}textarea{resize:vertical;min-height:120px}input::placeholder,textarea::placeholder{color:#6e7274;opacity:1}input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--text);margin:3px 0 0;flex:none}input[type=file]{padding:14px;font-size:14px}input[type=date]{min-width:0}.fields-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.check-label{display:flex;gap:10px;font-size:14px;align-items:flex-start}.check-label span{padding-top:0}.help-text{font-size:13px;color:var(--muted);margin-top:8px}.outcome-options{display:grid;gap:9px;margin-top:8px}.radio-option{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--border);padding:14px;border-radius:6px;font-size:14px;cursor:pointer}.radio-option input{width:17px;min-height:17px;height:17px;flex:none;margin:3px 0 0;accent-color:var(--text)}.radio-option strong{display:block;font-weight:500}.radio-option small{display:block;margin-top:3px;color:var(--muted);font-size:12px}.response-card{padding:18px 0;border-bottom:1px solid var(--rule)}.response-card:last-child{border-bottom:0}.response-card .response-heading{display:flex;gap:15px;justify-content:space-between;font-size:13px}.response-card .response-text{white-space:pre-wrap;font-size:14px;margin-top:12px;overflow-wrap:anywhere}.timeline{list-style:none;padding:0;margin:0}.timeline li{position:relative;padding:0 0 27px 28px;border-left:1px solid var(--border);margin-left:5px;font-size:14px}.timeline li:last-child{padding-bottom:0;border:0}.timeline li:before{content:'';width:9px;height:9px;position:absolute;left:-5px;top:6px;border-radius:50%;background:#d5dfe2}.timeline li:first-child:before{background:var(--accent)}.timeline time{display:block;color:var(--muted);font-size:12px;margin-top:5px}.file-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--rule);padding:15px 0;font-size:14px;min-width:0}.file-row:last-child{border-bottom:0}.file-row .file-info{flex:1;min-width:0}.file-row .filename{overflow-wrap:anywhere;font-weight:500}.file-row .file-meta{font-size:12px;color:var(--muted);margin-top:3px}.file-row>.icon{color:var(--muted)}.file-row .icon-button{flex:none}.upload-area{padding:22px;background:var(--raised);border-radius:8px;margin-bottom:16px}.upload-area p{font-size:13px;color:var(--muted);margin-top:10px}.route-list{display:grid;gap:12px}.route{padding:18px 0;border-top:1px solid var(--rule);font-size:14px}.route h3{margin-bottom:8px}.route p{color:var(--muted);margin-bottom:10px}.route ol{padding-left:20px;margin:12px 0 18px;display:grid;gap:10px}.source-card{padding:22px 0;border-bottom:1px solid var(--border)}.source-card:first-child{padding-top:0}.source-card h2{font-size:17px;margin-bottom:10px}.source-card p{font-size:14px;color:var(--muted);margin-bottom:10px}.source-meta{font-size:12px;color:var(--muted);margin-top:8px}.library-intro{margin-bottom:28px;max-width:780px;font-size:15px}.faq{padding:20px 0;border-bottom:1px solid var(--border)}.faq summary{font-size:16px;font-weight:500;cursor:pointer;padding:4px 0}.faq p{font-size:14px;color:var(--muted);margin-top:15px;max-width:760px}.error-global{margin:0 var(--pad) 16px}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:23px}.dialog-header h2{font-size:23px;line-height:1.25}.dialog-header p{color:var(--muted);font-size:14px;margin-top:8px}.dialog-header .icon-button{margin-top:-8px;margin-right:-8px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:25px;padding-top:21px;border-top:1px solid var(--border)}dialog{border:1px solid var(--border);border-radius:12px;padding:28px;width:600px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);color:var(--text);background:white;box-shadow:0 20px 80px #0000001f}dialog::backdrop{background:#151c255c}dialog[open]{animation:dialog-in 160ms var(--ease)}.wizard-progress{display:flex;gap:6px;margin-bottom:22px}.wizard-progress span{height:3px;flex:1;border-radius:4px;background:var(--border)}.wizard-progress span.done{background:var(--accent)}.wizard-step{color:var(--muted);font-size:12px;margin-bottom:10px}.inline-error{color:#99232c;font-size:14px;margin-bottom:16px}.dialog-summary{display:grid;gap:15px;margin:20px 0}.dialog-summary dt{font-size:12px;color:var(--muted);margin-bottom:4px}.dialog-summary dd{margin:0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.close-row{display:flex;gap:15px;align-items:center;justify-content:space-between}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:var(--text);color:white;border-radius:8px;font-size:14px;padding:13px 19px;z-index:50;max-width:calc(100% - 32px);transition:opacity 150ms ease,transform 150ms var(--ease)}#toast.visible{opacity:1;transform:translate(-50%,0)}.mobile-brand{display:none}.menu-backdrop{display:none}.import-file{display:none}.privacy-grid{display:grid;gap:28px;max-width:790px}.privacy-grid h2{margin-bottom:12px}.privacy-grid p{font-size:15px;color:var(--muted);margin-top:9px}.privacy-grid .actions{margin-top:20px}.letter-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.preserve-whitespace{white-space:pre-wrap;overflow-wrap:anywhere}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(hover:hover) and (pointer:fine){.nav-link:hover{background:var(--active);color:var(--text)}.button:hover{background:#303438}.button.secondary:hover{background:var(--raised)}.button.quiet:hover{background:#e8ecee}.button.ghost:hover,.icon-button:hover{background:var(--raised)}.case-row:hover h3,.text-link:hover,.small-link:hover{color:var(--accent)}.example-link:hover{color:var(--text)}}
@keyframes dialog-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){:root{--pad:48px}.content{padding-top:42px}.start-panel{padding:32px}}
@media(max-width:1100px){.shell{display:flex;flex-direction:column;padding:0;min-height:100dvh}.brand{display:none}.topbar{height:60px;padding:0 22px;flex:none}.mobile-brand{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--text);text-decoration:none;font-weight:600}.mobile-brand img{width:28px;height:28px}.topbar-label{display:none}.mobile-menu{display:inline-grid}.topbar-right{gap:8px}.topbar-right .topdate{display:none}.sidebar{display:none;position:fixed;inset:60px auto 0 0;width:280px;background:var(--ground);z-index:12;padding-top:20px}.sidebar.open{display:flex}.menu-backdrop.open{display:block;position:fixed;inset:60px 0 0;background:#1b252a44;z-index:11}.workspace{border-radius:0;border-left:0;border-right:0;flex:1}.two-col,.home-bottom{grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr)}.content{padding-top:28px}.home-dossier{padding:20px}.dossier-footer{flex-wrap:wrap}}
@media(max-width:760px){:root{--pad:20px;--gap:20px}.two-col,.two-col.equal,.home-bottom{grid-template-columns:1fr}.home-bottom{margin-top:24px}.content{padding:26px var(--pad) 30px}.page-heading{align-items:flex-start;margin-bottom:24px;gap:14px}.page-heading h1{font-size:24px}.page-heading p{font-size:14px}.page-heading>.actions .button{padding:10px;font-size:13px}.prototype{font-size:11px;align-items:flex-start;gap:10px;padding:9px var(--pad)}.prototype a{font-size:11px}.topbar{padding:0 14px}.topbar-right .saved{font-size:11px}.start-panel{padding:23px}.start-panel h2{font-size:22px}.home-dossier{min-height:0;gap:18px}.home-dossier .document-preview{padding:18px}.panel{padding:20px}.home-bottom>.panel{order:1}.home-bottom>.stack{order:2}.page-footer{align-items:flex-start;flex-direction:column;gap:10px}.case-row{gap:12px;align-items:flex-start}.row-actions{gap:5px}.row-actions>.icon{display:none}.case-row .badge{margin-right:0;font-size:11px}.filter-bar{flex-wrap:wrap}.filter-bar input{max-width:100%}.filter-bar select{width:100%}.case-meta{gap:8px}.case-title{font-size:22px}.tabs{gap:22px;margin-left:-2px;margin-right:-2px}.tab{font-size:13px}.tab .icon{display:none}.next-card h2{font-size:21px}.next-card p{font-size:14px}.next-card .actions{gap:9px}.next-card .button{font-size:13px}.fields-row{grid-template-columns:1fr;gap:0}dialog{padding:23px 20px;width:600px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.dialog-header h2{font-size:22px}.dialog-footer{gap:10px}.dialog-footer .button{font-size:13px;padding:10px 13px}.letter-box textarea{min-height:390px;font-size:16px}.letter-box .actions .button{flex:1}.source-card h2{font-size:16px}.dialog-header .icon-button{margin-top:-7px;margin-right:-5px}.page-heading .actions .button .icon{display:none}.page-heading .actions{gap:7px}.file-row{gap:8px}.file-row>.icon{display:none}.file-row .filename{font-size:13px}.file-row .icon-button{width:36px}.letter-heading{align-items:flex-start;flex-direction:column}.key-values{font-size:13px}.saved .icon{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.button:active{transform:none}}
@media print{body{background:white}.sidebar,.topbar,.prototype,.brand,.page-footer,.tabs,.actions,.skip-link,#toast{display:none!important}.shell,.workspace,.content{display:block;border:0;padding:0}.two-col{display:block}.panel{break-inside:avoid}textarea{border:0;min-height:0}}

.icon-button.mobile-menu{display:none}
@media(max-width:1100px){.icon-button.mobile-menu{display:inline-grid}}
@media(max-width:900px){.two-col,.two-col.equal,.home-bottom{grid-template-columns:1fr}}
@media(max-width:360px){.topbar-right .saved{display:none}.mobile-brand{font-size:14px}}
