:root{--bg:#f5f6f2;--paper:#fff;--ink:#22332e;--muted:#69736b;--green:#214e46;--green-dark:#173e36;--leaf:#dfeacb;--mint:#edf4ee;--line:#e4e8df;--amber:#8a5a19;--sand:#fbf2df;--lavender:#f1eef9;--danger:#934538;--radius:19px;--shadow:0 8px 35px #233d2910;--font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);font-size:15px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #52948a;outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1.1px;font-weight:650;margin-bottom:12px}h2{font-size:20px;line-height:1.35;letter-spacing:-.4px;font-weight:650;margin-bottom:10px}h3{font-size:16px;line-height:1.45;font-weight:650;margin-bottom:7px}h4{font-size:15px}p{margin-bottom:15px}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:10px;font-weight:750;color:var(--muted)}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}.icon-lg{width:25px;height:25px}.brand{font-size:25px;font-weight:750;letter-spacing:-1px;display:flex;align-items:center;gap:10px;color:var(--green)}.brand span{font-weight:400;letter-spacing:-1.5px;margin-left:-9px}.brand img{width:35px;height:35px;margin-right:2px}.btn{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:10px 16px;background:#fff;color:var(--ink);font-weight:570;line-height:1.35;text-decoration:none;transition:background .15s,transform .15s}.btn:hover{background:#f1f4ec;text-decoration:none}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.primary:hover{background:var(--green-dark)}.btn.soft{background:var(--mint);border-color:transparent;color:var(--green)}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.danger{color:var(--danger);border-color:#e5c5bf}.btn.small{font-size:12px;min-height:36px;padding:8px 11px}.icon-btn{padding:10px;min-width:42px}.inline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.spaced{display:flex;align-items:center;justify-content:space-between;gap:16px}.stack{display:grid;gap:16px}.gap-sm{gap:8px}.section-gap{margin-top:28px}.full{width:100%}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:6px;background:#eff2ec;color:#5c6a5d;font-size:10px;letter-spacing:.15px;padding:4px 7px;font-weight:600}.pill.green{background:#eaf2e7;color:#36624b}.pill.amber{background:var(--sand);color:var(--amber)}.pill.purple{background:var(--lavender);color:#6c5a82}.pill.blue{background:#eaf1f9;color:#4c657c}.pill .icon{width:12px;height:12px}.icon-tile{width:41px;height:41px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--mint);color:var(--green);flex-shrink:0}.icon-tile.amber{background:var(--sand);color:var(--amber)}.icon-tile.purple{background:var(--lavender);color:#796297}.icon-tile.blue{background:#edf1f9;color:#66769a}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:23px}.card.mint{background:var(--mint)}.card.sand{background:var(--sand)}.card-title{display:flex;align-items:center;gap:11px;margin-bottom:16px}.card-title h2,.card-title h3{margin:0}.card-title .muted{margin-top:3px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 24px}.page-head p{margin:0;max-width:680px;color:var(--muted)}.page-head .eyebrow{margin-bottom:9px}.notice{padding:13px 16px;border:1px solid var(--line);border-radius:12px;font-size:13px;background:var(--mint);color:#3e5b4e;line-height:1.6}.notice.warning{background:var(--sand);color:#785626;border-color:#eadfbc}.notice.danger{background:#faf0ed;color:var(--danger);border-color:#eecfc5}.notice p:last-child{margin:0}.empty{text-align:center;padding:34px 18px;color:var(--muted)}.empty .icon-tile{margin:0 auto 15px;width:54px;height:54px;border-radius:17px}.empty h3{color:var(--ink)}.skip-link{position:fixed;left:12px;top:-80px;background:white;padding:12px;z-index:200}.skip-link:focus{top:12px}.boot{min-height:100vh;display:grid;align-content:center;justify-content:center;gap:20px}.large-text{font-size:18px}.large-text small,.large-text .small{font-size:14px}
/* Responsive application shell */
.sidebar{position:fixed;inset:0 auto 0 0;width:228px;padding:28px 18px 16px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.sidebar .brand{margin:0 14px 33px}.sidebar .nav-label{font-size:9px;letter-spacing:1.6px;font-weight:700;color:#8b9288;margin:19px 14px 10px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:10px;color:#6c776e;font-size:13px;font-weight:520;margin-bottom:4px;min-height:42px}.nav-item:hover{background:var(--bg);text-decoration:none}.nav-item.active{background:#eaf1e7;color:#2f5544;font-weight:650}.nav-item.active:after{content:'';width:5px;height:5px;background:#467758;border-radius:50%;margin-left:auto}.nav-item .icon{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding-top:20px}.sidebar-profile{border-top:1px solid var(--line);padding:18px 10px 0;display:flex;align-items:center;gap:11px;font-size:12px}.avatar{width:34px;height:34px;background:#efeada;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#697454}.sidebar-profile strong{display:block;font-size:12px}.sidebar-profile small{font-size:10px;color:var(--muted)}.shell{margin-left:228px}.topbar{height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 38px;border-bottom:1px solid var(--line);background:#fafbf8;gap:20px}.topbar .breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.topbar-actions{display:flex;gap:9px;align-items:center}.topbar .trust{font-size:10px;color:#657865;display:flex;gap:6px;align-items:center;margin-right:13px}.topbar .trust .icon{height:13px;width:13px}.mobile-brand{display:none}.content{max-width:1370px;margin:0 auto;padding:34px 38px 44px}.demo-banner{background:#f4eddb;padding:8px 22px;color:#766538;font-size:11px;text-align:center}.demo-banner button{color:#51431d;background:none;border:none;text-decoration:underline;font:inherit;margin-left:12px;font-weight:650}.offline-banner{padding:8px;text-align:center;font-size:12px;background:#eaeef3;color:#405970}.bottom-nav{display:none}.page-footer{margin-top:30px;display:flex;justify-content:space-between;gap:10px;color:#8b9286;font-size:10px}.page-footer a{color:inherit}.page-footer .icon{width:12px;height:12px}
/* Dashboard */
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:23px;align-items:start}.dashboard-main{min-width:0}.hero-card{padding:25px 28px;background:#e8efdf;border:1px solid #e0e7d5;border-radius:var(--radius);display:grid;grid-template-columns:1fr auto;gap:25px;overflow:hidden;position:relative}.hero-card h2{font-size:25px;line-height:1.3;max-width:390px;margin-bottom:9px}.hero-card p{font-size:12px;color:#64725e;max-width:370px;margin-bottom:17px}.hero-card .eyebrow{color:#7b8769;margin-bottom:12px}.hero-card .btn{background:#fff9;border-color:#d9e1cf;color:#385241;font-size:11px;min-height:34px;padding:8px 12px}.hero-count{border:6px solid #cedcba;border-radius:50%;width:125px;height:125px;display:grid;align-content:center;text-align:center;align-self:center;position:relative}.hero-count:after{content:'';position:absolute;width:12px;height:12px;background:#647b49;border:3px solid #e8efdf;border-radius:50%;right:-2px;top:11px}.hero-count strong{font-size:38px;line-height:1.1;font-weight:550;color:#3f5939;letter-spacing:-2px}.hero-count span{font-size:9px;color:#758266;max-width:80px;justify-self:center;margin-top:7px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:17px 0 25px}.metric{padding:17px 18px;border-radius:13px;background:#fff;border:1px solid var(--line)}.metric-top{font-size:10px;display:flex;justify-content:space-between;color:var(--muted);margin-bottom:6px}.metric-top .icon{width:14px;height:14px}.metric strong{font-size:25px;font-weight:550;letter-spacing:-.8px}.metric span.small{font-size:10px;margin-left:5px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px}.section-heading h2{font-size:17px;margin:0}.section-heading .sub{font-size:11px;color:var(--muted);margin-top:4px}.section-heading a,.section-heading button{font-size:11px}.focus-list{border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden}.focus-row{display:flex;align-items:center;gap:13px;padding:17px 18px;border-bottom:1px solid #edf0e8}.focus-row:last-child{border:0}.focus-row .grow{flex:1;min-width:0}.focus-row h3{font-size:12px;margin-bottom:4px}.focus-row p{font-size:10px;color:var(--muted);margin:0}.focus-row .icon-tile{width:34px;height:34px;border-radius:10px}.focus-row .icon{width:17px;height:17px}.focus-row .btn{font-size:10px;padding:7px 10px;min-height:32px}.area-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.area-card{padding:17px 18px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:15px;color:var(--ink)}.area-card:hover{border-color:#b8c7b2}.area-card .spaced{margin-bottom:13px}.area-card .icon-tile{width:32px;height:32px;border-radius:9px}.area-card .icon{width:17px;height:17px}.area-card h3{font-size:12px;margin:0 0 6px}.area-card p{font-size:10px;color:var(--muted);margin:0}.area-card progress{margin-top:12px}.area-card .pill{font-size:9px}.right-rail{display:grid;gap:17px}.right-rail .card{padding:20px}.right-rail .eyebrow{font-size:9px}.right-rail h3{font-size:15px}.right-rail p{font-size:11px;color:var(--muted)}.chance-highlight{position:relative;overflow:hidden}.chance-highlight .spark-badge{background:#eef1d9;color:#879151;padding:9px;border-radius:11px;width:38px;height:38px;margin-bottom:16px}.chance-highlight h3{max-width:220px}.chance-highlight .source-note{font-size:9px;display:flex;align-items:center;gap:4px;margin:16px 0 12px;color:#7a8471}.chance-highlight .source-note .icon{width:12px;height:12px}.chance-highlight .btn{font-size:10px;min-height:35px}.agenda-item{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-bottom:1px solid var(--line)}.agenda-item:last-child{border:0;padding-bottom:0}.date-badge{width:36px;flex-shrink:0;border:1px solid var(--line);border-radius:9px;text-align:center;padding:5px;background:#f7f8f4}.date-badge strong{display:block;font-size:14px;line-height:1.2;font-weight:600}.date-badge small{font-size:8px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}.agenda-item h4{font-size:11px;margin:1px 0 4px}.agenda-item p{font-size:9px;margin:0}.quiet-card{background:#eef1e9!important;border-color:#e0e5d8!important}.quiet-card .icon{margin-bottom:9px;color:#718261}.quiet-card p{margin:0}.mini-nudge{padding:15px;border:1px dashed #cdd7c4;border-radius:13px;background:#f5f8f0}.mini-nudge p{font-size:11px;color:#687460;margin-bottom:8px}progress{width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;appearance:none;background:#edf0e8;display:block}progress::-webkit-progress-bar{background:#edf0e8}progress::-webkit-progress-value{background:#94ad77;border-radius:5px}progress::-moz-progress-bar{background:#94ad77;border-radius:5px}
/* Lists, forms and detailed views */
.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.three-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.list{display:grid;gap:12px}.list-row{display:flex;gap:15px;align-items:center;padding:17px;border:1px solid var(--line);border-radius:13px;background:white}.list-row .grow{flex:1;min-width:0}.list-row h3{font-size:14px;margin:0 0 3px}.list-row p{font-size:12px;color:var(--muted);margin:0}.list-row .amount{font-size:17px;font-weight:600;text-align:right;white-space:nowrap}.list-row .amount small{display:block;font-weight:400;font-size:10px;color:var(--muted)}.contract-summary{padding:25px;border-radius:18px;background:var(--green);color:white;display:flex;gap:25px;justify-content:space-between;margin-bottom:22px}.contract-summary .number{font-size:37px;letter-spacing:-1.5px;font-weight:500;line-height:1.3}.contract-summary p{color:#c4d8ca;font-size:12px;margin:0}.contract-summary .eyebrow{color:#b2cbbd}.filterbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:18px 0}.filterbar select{width:auto;min-width:160px}.tag-button{border:1px solid var(--line);border-radius:99px;padding:8px 14px;background:#fff;font-size:12px;min-height:38px;color:var(--muted)}.tag-button.active{background:var(--green);color:white;border-color:var(--green)}.topic-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;margin-bottom:15px;scrollbar-width:thin}.topic-tabs .tag-button{white-space:nowrap}.check-line{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:11px;margin:9px 0;background:white}.check-line input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin-top:3px;accent-color:var(--green)}.check-line span{font-size:13px}.check-line small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.check-line.done span{text-decoration:line-through;color:var(--muted)}.goal-card{display:flex;flex-direction:column}.goal-card .inline-actions{margin-top:auto;padding-top:17px}.goal-card progress{margin:15px 0 8px}.goal-card p{font-size:13px}.module-card{display:grid;grid-template-columns:42px 1fr auto;gap:14px;align-items:center}.module-card h3{margin-bottom:3px}.module-card p{font-size:12px;margin:0;color:var(--muted)}.module-toggle{appearance:none;width:40px;height:23px;min-height:23px;background:#d9e0d5;border-radius:20px;border:none;position:relative;cursor:pointer}.module-toggle:before{content:'';position:absolute;width:17px;height:17px;background:white;border-radius:50%;top:3px;left:3px;transition:left .15s}.module-toggle:checked{background:var(--green)}.module-toggle:checked:before{left:20px}.module-toggle:disabled{cursor:not-allowed;opacity:.5}.module-card.disabled{opacity:.65}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .span2{grid-column:1/-1}.field{display:block;margin-bottom:17px}.field:last-child{margin-bottom:0}.field>span{display:block;font-size:12px;font-weight:600;margin-bottom:6px}.field .hint{display:block;font-size:11px;color:var(--muted);margin-top:5px;font-weight:400}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;min-height:45px;padding:11px 13px;background:#fff;border:1px solid #d9dfd3;border-radius:10px;color:var(--ink);font-size:14px}textarea{resize:vertical;min-height:95px}input::placeholder,textarea::placeholder{color:#9ca499}input[type=file]{font-size:12px;padding:9px}.file-drop{display:block;border:1px dashed #b7cbb0;border-radius:13px;background:#f5f8f0;padding:20px;text-align:center}.file-drop input{background:#fff;margin-top:15px}details{border:1px solid var(--line);border-radius:12px;padding:13px 16px;margin:15px 0}summary{cursor:pointer;font-weight:600;font-size:13px}details[open] summary{margin-bottom:15px}.definition{display:grid;grid-template-columns:155px 1fr;gap:12px;font-size:13px}.definition dt{color:var(--muted)}.definition dd{margin:0;overflow-wrap:anywhere}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.source-box{padding:13px 15px;background:#f5f7f1;border:1px solid var(--line);border-radius:11px;font-size:12px;margin:10px 0}.source-box a{font-weight:600;display:block;margin-bottom:3px}.source-box small{font-size:10px;display:block;color:var(--muted)}.steps{padding-left:23px;font-size:13px;line-height:1.75}.steps li{padding:5px 0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{font-weight:600;font-size:10px;color:var(--muted)}code{overflow-wrap:anywhere;font-size:12px;background:#f0f3eb;padding:3px 6px;border-radius:4px}.secret{display:block;white-space:pre-wrap;padding:15px;font-size:15px;word-break:break-all;background:#eff2e8}.search-box{position:relative}.search-box input{padding-left:43px}.search-box .icon{position:absolute;left:14px;top:12px;color:var(--muted)}.chip-group{display:flex;gap:9px;flex-wrap:wrap}.choice-chip{cursor:pointer;border:1px solid var(--line);padding:11px 15px;border-radius:10px;background:white;font-size:12px;display:flex;gap:8px;align-items:center}.choice-chip:has(input:checked){background:#e8f0df;border-color:#9cb48c;color:#38513a}.choice-chip input{accent-color:var(--green);width:14px;height:14px;min-height:14px}.chip-group .icon{width:16px;height:16px}.close-btn{border:0;background:#f2f4ee;border-radius:50%;padding:8px;display:flex;align-items:center;justify-content:center;color:var(--muted);width:34px;height:34px}.pill-row{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.deemphasized{opacity:.6}.print-only{display:none}.wider{max-width:950px}.balance{text-wrap:balance}
/* Dialogs and onboarding */
dialog{border:1px solid var(--line);border-radius:21px;padding:0;max-height:90dvh;width:620px;max-width:calc(100vw - 26px);color:var(--ink);background:#fff;box-shadow:0 20px 100px #182d3533}dialog.wide{width:800px}dialog::backdrop{background:#1f342d70;backdrop-filter:blur(4px)}.modal-head{padding:23px 26px 17px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.modal-head h2{margin:0;font-size:21px}.modal-head .eyebrow{margin-bottom:7px}.modal-body{padding:24px 26px}.modal-foot{padding:17px 26px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fafbf8}.modal-body .notice{margin-bottom:18px}.modal-body>p{font-size:14px;color:var(--muted)}#toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%) translateY(100px);background:#263e34;color:#fff;padding:14px 22px;border-radius:12px;font-size:13px;max-width:min(620px,90vw);z-index:200;box-shadow:var(--shadow);opacity:0;transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}#toast.error{background:#803e34}.onboarding-wrap{min-height:100dvh;max-width:1120px;margin:auto;padding:30px 35px}.onboarding-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:60px}.onboarding-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:80px;align-items:start}.onboarding-story h1{font-size:40px;max-width:350px}.onboarding-story .eyebrow{margin-bottom:16px}.onboarding-story p{color:var(--muted);font-size:15px}.onboarding-story .notice{margin-top:27px;font-size:12px}.wizard-card{padding:29px;border:1px solid var(--line);border-radius:21px;background:white;box-shadow:var(--shadow)}.wizard-card h2{font-size:23px}.wizard-card>p{color:var(--muted);font-size:13px}.stepper{display:flex;gap:7px;margin-bottom:25px}.stepper span{height:4px;background:#e6ebdf;flex:1;border-radius:4px}.stepper span.active{background:#69855b}.wizard-foot{display:flex;justify-content:space-between;gap:15px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.welcome{max-width:1180px;margin:auto;padding:25px 35px 40px}.welcome-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.welcome-main{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding:85px 0 50px}.welcome h1{font-size:55px;letter-spacing:-2.3px;line-height:1.08;max-width:520px}.welcome h1 em{font-family:Georgia,serif;font-weight:400;font-style:italic;color:#718559;letter-spacing:-1.5px}.welcome-main>div>p{font-size:16px;max-width:450px;color:var(--muted);margin:23px 0}.welcome-main .eyebrow{margin-bottom:24px}.welcome-bullets{display:flex;gap:18px;font-size:11px;margin-top:18px;color:var(--muted)}.welcome-bullets .icon{width:12px;height:12px;margin-right:4px}.preview-window{background:#fff;border:1px solid var(--line);box-shadow:0 20px 70px #213b2d13;border-radius:24px;padding:25px;transform:rotate(1.5deg)}.preview-top{display:flex;align-items:center;gap:6px;font-size:10px;color:#858c81;margin-bottom:20px}.preview-top .dot{height:6px;width:6px;border-radius:50%;background:#d5dbc9}.preview-window .hero-card{padding:23px;display:block}.preview-window .hero-card h2{font-size:23px}.preview-window .hero-card p{margin:0}.preview-check{display:flex;align-items:center;gap:10px;padding:17px 0;border-bottom:1px solid var(--line);font-size:12px}.preview-check>.icon{background:var(--mint);color:#6e8859;border-radius:50%;padding:3px}.preview-check .pill{margin-left:auto}.welcome-features{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;border-top:1px solid var(--line);padding-top:30px}.welcome-features h3{font-size:14px}.welcome-features p{font-size:12px;color:var(--muted)}.welcome-features .icon-tile{margin-bottom:14px}.landing-footer{margin-top:30px;font-size:10px;color:var(--muted);display:flex;justify-content:space-between}.locked-wrap{min-height:100dvh;display:grid;place-items:center;padding:30px}.locked-card{width:440px;max-width:100%;padding:30px}.locked-card .brand{justify-content:center;margin-bottom:30px}.locked-card h1{font-size:27px;text-align:center}.locked-card>p{text-align:center;font-size:13px;color:var(--muted)}.locked-card .icon-tile{margin:0 auto 20px;width:54px;height:54px}
@media(min-width:1500px){.content{padding-top:42px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 320px;gap:28px}.hero-card{padding:31px}.hero-card h2{font-size:29px}.focus-row h3{font-size:14px}.focus-row p{font-size:12px}.area-card h3{font-size:14px}.area-card p{font-size:12px}.right-rail p{font-size:12px}.right-rail h3{font-size:17px}.metric-top{font-size:12px}.metric strong{font-size:28px}}
@media(max-width:1180px){.sidebar{width:204px;padding-left:12px;padding-right:12px}.shell{margin-left:204px}.content{padding:27px}.topbar{padding:0 27px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 260px;gap:17px}.hero-card{padding:23px}.hero-count{width:94px;height:94px}.hero-count strong{font-size:29px}.hero-count span{font-size:8px}.hero-card h2{font-size:21px}.three-columns{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.dashboard-columns{grid-template-columns:1fr}.right-rail{grid-template-columns:1fr 1fr}.right-rail .quiet-card{grid-column:1/-1}.hero-card h2{font-size:25px}.hero-count{width:115px;height:115px}.hero-count strong{font-size:35px}.onboarding-layout{gap:35px}.welcome-main{gap:35px}.welcome h1{font-size:44px}.welcome-main{padding-top:65px}.welcome-bullets{gap:9px}.two-columns{gap:15px}.topbar .trust{display:none}}
@media(max-width:760px){h1{font-size:28px}.sidebar{display:none}.shell{margin-left:0}.topbar{height:66px;padding:0 19px;position:sticky;top:0;z-index:20;background:#fafbf8f5;backdrop-filter:blur(8px)}.topbar .breadcrumb{display:none}.mobile-brand{display:flex}.mobile-brand.brand{font-size:23px}.brand img{width:30px;height:30px}.topbar-actions .top-add-label{display:none}.topbar-actions .btn{padding:9px;min-height:38px}.topbar-actions{gap:5px}.content{padding:26px 18px 110px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);z-index:30;background:#fffffff5;backdrop-filter:blur(8px);border-top:1px solid var(--line);padding:9px 8px max(9px,env(safe-area-inset-bottom))}.bottom-nav a{text-align:center;font-size:9px;color:var(--muted);display:flex;align-items:center;flex-direction:column;gap:4px;padding:4px;text-decoration:none}.bottom-nav .icon{width:21px;height:21px}.bottom-nav a.active{color:var(--green);font-weight:750}.page-head{align-items:flex-start;margin-bottom:21px;gap:12px}.page-head p{font-size:12px}.page-head h1{font-size:27px}.page-head .btn{font-size:11px;padding:8px 10px;min-height:35px;white-space:nowrap}.page-head .eyebrow{font-size:9px}.hero-card{padding:23px 20px;gap:15px}.hero-card h2{font-size:23px}.hero-card p{font-size:11px}.hero-count{width:91px;height:91px;border-width:5px}.hero-count strong{font-size:30px}.hero-count span{font-size:8px;margin-top:4px;max-width:65px}.hero-card .eyebrow{font-size:8px}.metric-grid{gap:8px}.metric{padding:14px 11px}.metric-top{font-size:9px;margin-bottom:8px}.metric-top .icon{width:12px}.metric strong{font-size:24px}.metric span.small{font-size:9px;margin-left:3px}.dashboard-columns{gap:24px}.right-rail{grid-template-columns:1fr 1fr;gap:12px}.right-rail .card{padding:17px}.right-rail .card h3{font-size:14px}.focus-row{padding:15px 12px;gap:10px}.focus-row h3{font-size:12px}.focus-row p{font-size:10px}.focus-row .btn{padding:7px;white-space:nowrap}.area-grid{gap:10px}.area-card{padding:15px}.area-card .pill{font-size:8px}.area-card h3{font-size:12px}.page-footer{flex-direction:column;gap:5px}.two-columns,.three-columns{grid-template-columns:1fr}.contract-summary{padding:21px;gap:15px}.contract-summary .number{font-size:30px}.contract-summary p{font-size:10px}.list-row{padding:14px;gap:10px;flex-wrap:wrap}.list-row .grow{min-width:130px}.list-row .amount{font-size:15px}.list-row .btn{font-size:11px;min-height:34px;padding:7px}.form-grid{gap:12px}.card{padding:20px}.definition{grid-template-columns:125px 1fr}.module-card{grid-template-columns:36px 1fr 40px;gap:12px}.module-card .icon-tile{height:36px;width:36px}.module-card h3{font-size:14px}.module-card p{font-size:11px}.module-toggle{min-height:23px}.modal-head{padding:20px}.modal-head h2{font-size:19px}.modal-body{padding:20px}.modal-foot{padding:15px 20px}.welcome{padding:20px}.welcome-header .btn{font-size:11px;padding:8px 11px;min-height:35px}.welcome-main{grid-template-columns:1fr;padding:50px 0 30px;gap:40px}.welcome h1{font-size:45px;max-width:430px}.welcome-main>div>p{font-size:14px;margin:20px 0}.welcome-main .eyebrow{font-size:9px;margin-bottom:20px}.preview-window{transform:none;padding:20px}.welcome-features{grid-template-columns:1fr;gap:16px;padding-top:25px}.welcome-features>div{display:grid;grid-template-columns:42px 1fr;column-gap:15px}.welcome-features .icon-tile{grid-row:1/3}.welcome-features h3{margin-bottom:5px}.welcome-features p{margin:0}.landing-footer{gap:15px;flex-wrap:wrap}.onboarding-wrap{padding:22px 18px}.onboarding-top{margin-bottom:35px}.onboarding-layout{grid-template-columns:1fr;gap:22px}.onboarding-story h1{font-size:31px;max-width:none}.onboarding-story p{font-size:13px}.onboarding-story .notice{display:none}.wizard-card{padding:22px}.onboarding-story .eyebrow{margin-bottom:10px}.onboarding-top .btn{font-size:11px}.onboarding-top .brand{font-size:23px}.choice-chip{font-size:11px;padding:9px 12px}.locked-wrap{padding:18px}.locked-card{padding:25px}.demo-banner{font-size:10px;padding:8px 12px}.demo-banner button{margin-left:5px}#toast{bottom:90px;font-size:12px}.filterbar{gap:6px}.tag-button{font-size:11px;padding:8px 11px}.search-box input{font-size:13px}}
@media(max-width:390px){.hero-card{grid-template-columns:1fr}.hero-count{display:none}.right-rail{grid-template-columns:1fr}.metric-top{font-size:8px}.metric-top .icon{display:none}.area-card .pill{max-width:95px}.form-grid{grid-template-columns:1fr}.form-grid .span2{grid-column:auto}.inline-actions .btn{font-size:12px}.welcome h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white;color:black}.sidebar,.topbar,.bottom-nav,.demo-banner,.page-footer,.btn,.filterbar,.topic-tabs,#toast{display:none!important}.shell{margin:0}.content{padding:0;max-width:none}.card,.list-row{break-inside:avoid;box-shadow:none}.print-only{display:block}.dashboard-columns,.two-columns,.three-columns{display:block}.right-rail{display:none}dialog{position:static;max-height:none;box-shadow:none;width:100%;max-width:100%;border:0}.modal-head .close-btn{display:none}body:has(dialog[open]) #app{display:none}}
/* Safe content containment for user text, recovery keys and narrow screens. */
.secret{display:block;overflow-wrap:anywhere;user-select:all;font-size:15px;line-height:1.8}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}code{overflow-wrap:anywhere}.source-box{overflow-wrap:anywhere}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:14px 10px;border-bottom:1px solid var(--line);vertical-align:top}td .btn{margin:3px}#analysis-output:empty{display:none}.stack{display:grid;gap:12px}body:has(dialog[open]){overflow:hidden}
@media(max-width:760px){.page-head{flex-wrap:wrap}.page-head>div{min-width:0}}
