:root{--navy:#101f32;--ink:#20344b;--muted:#8391a3;--blue:#1878d3;--line:#e5eaf1;--bg:#f6f8fb;--teal:#429e92;--purple:#8b75c5;--amber:#c39b54}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8cc5ff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:31px;letter-spacing:-1.2px;line-height:1.25}h2{font-size:19px;letter-spacing:-.5px}h3{font-size:15px}p{color:var(--muted)}svg{height:20px;width:20px;flex-shrink:0;pointer-events:none}[hidden]{display:none!important}.skip{position:fixed;top:-100px;background:white;padding:12px;z-index:200}.skip:focus{top:0}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:var(--navy);color:white;padding:27px 20px;z-index:30;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:white;font-size:18px;font-weight:700;letter-spacing:-.5px;margin:0 6px 29px}.brand small{display:block;color:#617b99;font-size:11px;font-weight:400;letter-spacing:1.2px;margin-top:4px}.brand-symbol{display:grid;place-items:center;background:#197dd9;width:36px;height:36px;border-radius:10px;font-size:27px;font-weight:400}.workspace-switch{border:1px solid #ffffff14;background:#ffffff04;border-radius:10px;padding:12px 9px;color:#b5c3d6;display:flex;align-items:center;gap:9px;text-align:left;width:100%;font-size:13px;margin-bottom:30px}.workspace-switch>span:last-child{margin-left:auto}.workspace-switch small{display:block;font-size:12px;color:#667e9c}.avatar,.profile-button{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#315579;color:#c6def4;font-size:13px;flex-shrink:0}.nav-group{font-size:12px;letter-spacing:1.5px;color:#5d7796;margin:23px 12px 10px}.nav-item{display:flex;align-items:center;gap:11px;border:0;border-radius:8px;background:none;width:100%;text-align:left;color:#8da3bc;font-size:13.5px;padding:11px 12px;margin-bottom:3px}.nav-item svg{width:17px;height:17px}.nav-item[aria-current=page]{background:#1c3651;color:white}.nav-item[aria-current=page] svg{color:#67b4fb}.nav-badge{margin-left:auto;background:#ffffff0d;border-radius:5px;padding:0 5px;font-size:12px;color:#9cbedf}.sidebar-end{margin-top:auto;padding:22px 10px 0;color:#617c9a;border-top:1px solid #ffffff0c;font-size:13px}.sidebar-end p{font-size:12px;color:#536c89;margin:5px 0 13px}.prototype-dot{color:#a3bbd3}.prototype-dot:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#5cb5a1;margin-right:7px}.sidebar-backup{border:0;padding:0;background:none;color:#7397bb;font-size:13px}.application{margin-left:244px}.topbar{height:73px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px;font-size:13px;color:#6e8197}.topbar #breadcrumb span{margin:0 12px;color:#c6cfd9}.top-right{display:flex;align-items:center;gap:18px}.top-right>span{font-size:13px;color:#8da29c}.icon-button{width:31px;height:31px;display:grid;place-items:center;background:white;border:1px solid var(--line);border-radius:8px;color:#738da8}.icon-button svg{width:16px;height:16px}.profile-button{border:0;width:30px;height:30px;border-radius:50%;background:#ebf2fa;color:#567c9e}.test-notice{padding:7px 36px;font-size:13px;color:#6883a0;background:#eef4fb;border-bottom:1px solid #e3ecf6;display:flex;gap:9px;align-items:center}.dot{width:5px;height:5px;background:#7aa6d4;border-radius:50%;flex-shrink:0}main{padding:32px 36px 12px;max-width:1460px;margin:auto;outline:none}.eyebrow{color:#8c9caf;font-size:12px;letter-spacing:1.8px;text-transform:uppercase;font-weight:700;display:block;margin-bottom:8px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.page-heading p{font-size:13.5px;margin-top:9px;max-width:660px}.heading-actions,.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:8px;background:var(--blue);color:white;border:1px solid var(--blue);padding:10px 14px;min-height:38px;font-size:13px;font-weight:700;white-space:nowrap}.button svg{width:15px;height:15px}.button.secondary{background:white;color:#68829e;border-color:#dfe7f1}.button.danger{background:#ba665f;border-color:#ba665f}.button.dark{background:#173450;border-color:#173450}.text-button{background:none;border:0;padding:4px;color:#5c89b1;font-size:13px}.text-button.danger{color:#ae716b}.pill{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:5px;color:#7d96b0;background:#eef4fb;font-size:12px;line-height:1.4;white-space:nowrap}.pill.amber{color:#b0915e;background:#fff7e9}.pill.green{color:#559786;background:#edf8f2}.welcome-row{display:flex;justify-content:space-between;font-size:13.5px;margin-bottom:23px;color:#7b8da3}.welcome-row strong{color:#344e6a;font-weight:700}.welcome-row .date{font-size:13px}.hero{position:relative;background:#132b46;color:white;border:1px solid #132b46;border-radius:15px;overflow:hidden;padding:30px 32px;display:flex;align-items:center;justify-content:space-between;min-height:219px;margin-bottom:22px}.hero .eyebrow{color:#739dc7;font-size:12px}.hero h1{font-size:32px;letter-spacing:-.9px;line-height:1.35}.hero p{font-size:13.5px;max-width:420px;color:#7b9abb;margin:11px 0 18px;line-height:1.8}.hero .button{min-height:33px;padding:7px 12px;font-size:13px}.hero-art{position:relative;width:230px;height:174px;margin-right:17px;flex-shrink:0}.orbit{position:absolute;border:1px solid #ffffff0a;border-radius:50%;width:200px;height:200px;left:0;top:-10px}.orbit:after{content:'';position:absolute;inset:22px;border:1px solid #ffffff0a;border-radius:50%}.art-sheet{position:absolute;top:11px;left:50px;background:#fbfdff;border:5px solid #37506d;border-radius:13px;width:118px;height:153px;transform:rotate(-8deg);padding:19px 13px;box-shadow:10px 15px 30px #04132355}.art-sheet span{display:block;background:#e5eef7;border-radius:3px;height:5px;margin-bottom:9px}.art-sheet span:nth-child(2){width:60%}.mini-bars{display:flex;align-items:end;gap:7px;height:60px;margin-top:15px}.mini-bars i{width:17px;background:#a8cef2;border-radius:3px 3px 0 0;height:30px}.mini-bars i:nth-child(2){height:45px;background:#599ee1}.mini-bars i:nth-child(3){height:58px;background:#1878d3}.art-check{position:absolute;bottom:9px;right:18px;background:#2f937e;border:5px solid #1b3a51;border-radius:50%;width:46px;height:46px;display:grid;place-items:center}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:0 0 27px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:17px 19px;min-width:0}.metric-label{font-size:13px;display:flex;align-items:center;gap:6px;color:#93a1b3}.metric-label svg{width:13px;height:13px;color:#9db4cb}.metric strong{display:block;font-size:25px;letter-spacing:-.7px;font-weight:700;line-height:1.3;margin:9px 0 4px}.metric small{display:block;font-size:12px;color:#9eacbd}.metric.dark{background:#15314e;border-color:#15314e;color:white}.metric.dark .metric-label{color:#94acc5}.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-top h2{font-size:17px}.section-top p{font-size:13px;margin-top:3px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tool-card{background:white;border:1px solid var(--line);border-radius:12px;padding:19px;min-width:0;transition:box-shadow .15s,border-color .15s}.tool-card:hover{border-color:#c6dbef;box-shadow:0 7px 20px #16304b05}.card-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:17px;gap:8px}.tool-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#edf4fd;color:#5590c7;flex-shrink:0}.tool-icon svg{width:19px;height:19px}.tool-icon.teal{background:#edf7f4;color:#559b8e}.tool-icon.purple{background:#f2effb;color:#9480bd}.tool-icon.amber{background:#fbf5e9;color:#baa06e}.favorite{padding:0;background:none;border:0;color:#c2cedb}.favorite svg{width:14px;height:14px}.favorite[aria-pressed=true]{color:#438bc9}.tool-card h3{font-size:14px;letter-spacing:-.2px;line-height:1.5}.tool-card p{font-size:13px;line-height:1.8;margin-top:7px;min-height:53px}.card-bottom{border-top:1px solid #f0f3f7;margin-top:16px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#9bacbe}.open-link{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:#4f88b8}.open-link svg{width:12px;height:12px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:17px}.panel-inner{padding:21px}.panel-title{padding:17px 20px;border-bottom:1px solid #eef2f7;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-title h2{font-size:14px}.panel-title .text-button{font-size:13px}.quick-list{display:flex;flex-direction:column}.quick-action{display:flex;align-items:center;gap:11px;padding:14px 19px;border:0;border-bottom:1px solid #f0f3f7;background:white;text-align:left;color:#566f8c;width:100%}.quick-action:last-child{border-bottom:0}.quick-action>svg{margin-left:auto;width:12px;color:#b5c6d8}.quick-action .tool-icon{width:29px;height:29px;border-radius:8px}.quick-action .tool-icon svg{width:14px}.quick-action strong{display:block;font-size:13px;font-weight:400}.quick-action small{display:block;color:#a2afbe;font-size:12px;margin-top:2px}.activity{padding:16px 20px}.activity-item{display:flex;gap:10px;margin-bottom:17px;align-items:start;font-size:13px;color:#7b8fa6}.activity-item:last-child{margin:0}.activity-item:before{content:'';width:5px;height:5px;background:#90b3d5;border-radius:50%;margin-top:5px;flex-shrink:0}.activity-item small{display:block;font-size:12px;color:#adbac9;margin-top:4px}.tip-card{padding:20px;background:#eaf2fb;border:1px solid #dae8f7;border-radius:12px}.tip-card h3{font-size:13.5px;color:#5c81a5}.tip-card p{font-size:13px;color:#84a0bc;line-height:1.85;margin-top:8px}.search-bar{display:flex;align-items:center;gap:9px;padding:11px 14px;background:white;border:1px solid var(--line);border-radius:9px;max-width:490px;margin-bottom:19px}.search-bar svg{width:16px;color:#9eb0c6}.search-bar input{width:100%;border:0;outline:0;color:#4f6c8b;font-size:13.5px;background:transparent}.filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:21px}.filter{padding:7px 12px;border:1px solid #dfe7f1;background:white;border-radius:7px;color:#7c91aa;font-size:13px}.filter[aria-pressed=true]{color:#3b7eb8;background:#edf4fd;border-color:#cee1f5}.row-list{display:flex;flex-direction:column}.record-row{padding:18px 20px;border-bottom:1px solid #edf2f7;display:flex;align-items:center;gap:13px;min-width:0}.record-row:last-child{border:0}.record-main{min-width:0;flex:1}.record-row h3{font-size:13.5px;overflow-wrap:anywhere}.record-row p{font-size:13px;margin-top:4px}.record-amount{font-size:14px;font-weight:700;white-space:nowrap}.record-actions{display:flex;gap:7px;align-items:center}.record-actions button{font-size:13px}.empty{background:white;border:1px solid var(--line);border-radius:13px;text-align:center;padding:45px 25px;min-height:240px}.empty>.tool-icon{margin:0 auto 18px;width:48px;height:48px}.empty h2{font-size:22px}.empty p{font-size:13.5px;max-width:480px;line-height:1.8;margin:12px auto 22px}.empty .actions{justify-content:center}.content-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:21px;align-items:start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#5f7894;font-weight:700;min-width:0}.field input,.field select,.field textarea{width:100%;min-width:0;padding:10px;border:1px solid #dbe5f0;border-radius:7px;background:white;color:#36536f;font-size:13.5px;min-height:39px}.field textarea{min-height:85px;resize:vertical}.field small{font-size:13px;color:#99a8ba;font-weight:400;line-height:1.7}.full{grid-column:1/-1}.form-section{font-size:14px;border-top:1px solid var(--line);padding-top:19px;margin-top:20px;margin-bottom:16px;color:#526f91}.form-section:first-child{border:0;padding-top:0;margin-top:0}.form-hint{font-size:13px;color:#839ab3;line-height:1.85;padding:13px 15px;background:#f2f7fd;border-radius:8px}.result-card{background:#142f4c;color:white;border-radius:13px;padding:24px}.result-card .eyebrow{color:#8aabca}.result-card .big-number{font-size:35px;letter-spacing:-1px;font-weight:700;margin:12px 0 3px}.result-card p{font-size:13px;color:#8eacca}.result-lines{margin-top:22px;border-top:1px solid #ffffff14}.result-line{display:flex;justify-content:space-between;gap:13px;padding:10px 0;border-bottom:1px solid #ffffff0d;font-size:13px;color:#91afcd}.result-line strong{color:#d9e8f6;font-weight:400}.result-card .button{margin-top:20px;width:100%}.chart-bar{height:10px;display:flex;border-radius:4px;overflow:hidden;margin:16px 0}.chart-bar span{height:100%}.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#8da0b6}.legend i{display:inline-block;width:6px;height:6px;border-radius:2px;margin-right:4px}.detail-table{width:100%;border-collapse:collapse;font-size:13px}.detail-table th{color:#849bb4;background:#f3f7fb;text-align:left;font-size:13px;padding:11px 16px;font-weight:400}.detail-table td{padding:12px 16px;border-bottom:1px solid #edf2f7}.detail-table th:last-child,.detail-table td:last-child{text-align:right}.table-scroll{overflow:auto}.detail-table tr.total{font-weight:700;background:#f3f8fd}.notes-list{font-size:13px;color:#8b9eb5;line-height:1.9;margin:0;padding-left:17px}.notes-list li{margin-bottom:6px}.notice-card{padding:15px 18px;border:1px solid #e3eaf4;background:#f1f6fc;color:#7a95b1;font-size:13px;line-height:1.8;border-radius:9px;margin-bottom:20px}.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.document-card{background:white;border:1px solid var(--line);border-radius:12px;padding:17px;min-width:0}.doc-preview{height:110px;background:#f4f7fb;border:1px solid #e8eef6;border-radius:7px;display:flex;align-items:center;justify-content:center;margin-bottom:15px;overflow:hidden}.doc-preview img{height:100%;width:100%;object-fit:contain}.doc-preview svg{width:32px;height:32px;color:#adc0d3}.document-card h3{font-size:13.5px;overflow-wrap:anywhere}.document-card p{font-size:13px;margin:5px 0 12px}.document-card .actions{gap:7px}.drop-area{padding:27px;border:1px dashed #bad1e8;background:#f1f7fd;border-radius:12px;text-align:center;margin-bottom:23px}.drop-area p{font-size:13px;margin:8px auto 16px;max-width:460px}.drop-area h2{font-size:17px}.report-banner{background:#eaf3fc;border:1px solid #d6e8f9;padding:18px 21px;border-radius:11px;display:flex;align-items:center;gap:13px;margin-bottom:20px}.report-banner p{font-size:13px}.report-banner h3{font-size:14px;margin-bottom:4px}.legacy-frame{width:100%;border:0;min-height:400px;display:block;background:white;border-radius:12px}.legacy-loading{font-size:13px;padding:15px;color:#8fa5bd}.context-strip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:19px;padding:13px 16px;background:#eef5fd;border:1px solid #dbe9f8;border-radius:10px;font-size:13px;color:#7b97b3}.context-strip strong{color:#557b9e}.context-strip button{font-size:13px}.scope-list{display:grid;grid-template-columns:1fr 1fr;gap:17px}.scope-list .panel{margin:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.check-row{display:flex;align-items:start;gap:8px;font-size:13px;color:#7f95ae;margin:12px 0}.check-row input{margin-top:3px}.footer{max-width:1460px;margin:auto;padding:25px 36px;display:flex;gap:17px;align-items:center;font-size:12px;color:#a2afbf}.footer .text-button{margin-left:auto;font-size:12px}.footer a{color:#8ca5bf}.sample-tag{font-size:12px;display:inline-block;padding:3px 6px;background:#fff5e4;color:#b39260;border-radius:4px;margin-left:8px;letter-spacing:0;vertical-align:middle;font-weight:400}dialog{border:0;border-radius:16px;padding:0;width:calc(100% - 32px);max-width:770px;max-height:92dvh;color:var(--ink);box-shadow:0 20px 100px #00183433}dialog::backdrop{background:#091d3588;backdrop-filter:blur(3px)}.modal-head{position:sticky;top:0;background:white;padding:23px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;z-index:5}.modal-head h2{font-size:20px}.modal-head p{font-size:13px;margin-top:6px;max-width:600px}.modal-body{padding:23px 26px}.modal-footer{position:sticky;bottom:0;background:#fbfcfe;border-top:1px solid var(--line);padding:15px 26px;display:flex;gap:8px;justify-content:end;z-index:5}.modal-close{border:0;background:#f1f5fa;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;color:#8098b3}.modal-close svg{width:15px}.form-error{padding:12px;background:#fff3ef;color:#b27361;border-radius:7px;font-size:13.5px;margin-bottom:15px}.file-attachments{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.file-chip{font-size:13px;background:#f1f6fc;padding:6px 9px;border:1px solid #e0eaf5;border-radius:6px;color:#6b8cae;max-width:100%;overflow-wrap:anywhere}.value-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.value-card{padding:15px;border:1px solid var(--line);border-radius:9px;background:#fafcfe}.value-card small{color:#95a6b9;font-size:13px}.value-card strong{display:block;margin-top:6px;font-size:22px}#confirm{max-width:430px;padding:28px}#confirm h2{font-size:21px}#confirm p{font-size:13.5px;line-height:1.85;margin:13px 0 24px}#confirm .actions{justify-content:end}#toast{position:fixed;bottom:25px;left:calc(50% + 90px);transform:translateX(-50%);background:#193450;color:white;padding:12px 20px;border-radius:9px;font-size:13.5px;max-width:85vw;z-index:100;box-shadow:0 5px 25px #0002}.progress{height:6px;border-radius:3px;background:#e2edf8;overflow:hidden;margin:13px 0}.progress>span{height:100%;background:#358bd4;display:block}.muted{font-size:13px;color:#99aabd}.currency{white-space:nowrap}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:20px}.receipt-text{white-space:pre-wrap;font-family:monospace;font-size:13px;line-height:1.8;background:#f5f8fc;padding:15px;border-radius:7px;max-height:220px;overflow:auto}.source-links{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin-top:12px}.new-label{font-size:11px;background:#edf7f1;color:#68a08b;padding:2px 5px;border-radius:4px;font-weight:400}
@media(min-width:1600px){.hero{min-height:230px}.tool-grid{gap:18px}.tool-card{padding:23px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:1300px){.dashboard-columns{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.dashboard-columns .tool-grid{grid-template-columns:1fr 1fr}.tool-card{padding:17px}.sidebar{width:220px;padding:25px 16px}.application{margin-left:220px}main{padding:28px}.topbar{padding:0 28px}.test-notice{padding:7px 28px}.content-columns{grid-template-columns:minmax(0,1fr) 280px}.hero-art{margin-right:0}}
@media(max-width:1050px){.dashboard-columns{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:17px}.dashboard-aside .tip-card{display:none}.dashboard-columns .tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content-columns{grid-template-columns:1fr}.content-columns>aside{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:start}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{width:170px;transform:scale(.85);transform-origin:right center}.hero{padding:27px}.metric{padding:15px}.document-grid{grid-template-columns:1fr 1fr}.record-row{flex-wrap:wrap}.settings-grid{grid-template-columns:1fr}}
@media(max-width:850px){.sidebar{width:76px;padding:25px 12px}.brand{margin:0 auto 30px}.brand>span:last-child,.workspace-switch,.nav-item span,.nav-group,.sidebar-end{display:none}.nav-item{justify-content:center;padding:13px 7px;margin-bottom:9px}.nav-item svg{width:21px;height:21px}.application{margin-left:76px}.topbar{height:64px}.top-right>span{display:none}.dashboard-columns .tool-grid{grid-template-columns:1fr 1fr}.hero h1{font-size:29px}.hero-art{display:none}.hero p{max-width:100%}.metric-grid{grid-template-columns:1fr 1fr}.page-heading{align-items:start}.heading-actions{justify-content:end}.scope-list{grid-template-columns:1fr}.test-notice{font-size:12px}#toast{left:calc(50% + 25px)}}
@media(max-width:600px){body{font-size:14px}.sidebar{inset:auto 0 0;width:auto;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid #dce6f1;backdrop-filter:blur(10px);min-height:65px}.sidebar .brand{display:none}.sidebar nav{display:flex;justify-content:space-around}.nav-item{display:none;margin:0;padding:6px 7px;min-width:53px;border-radius:7px;flex-direction:column;gap:4px;color:#93a4b9;font-size:11px;min-height:48px}.nav-item[data-mobile]{display:flex}.nav-item span{display:inline}.nav-item .nav-badge{display:none}.nav-item svg{width:17px;height:17px}.nav-item[aria-current=page]{background:#edf5fe;color:#2c7dbf}.application{margin:0}.topbar{height:58px;padding:0 18px;font-size:13px}.top-right{gap:9px}.test-notice{padding:8px 18px;display:block;line-height:1.9}.test-notice .dot{display:inline-block;margin-right:5px}main{padding:23px 17px 10px}h1{font-size:27px}.page-heading{display:block;margin-bottom:21px}.page-heading p{font-size:13px}.heading-actions{justify-content:start;margin-top:16px}.welcome-row{font-size:13px}.welcome-row .date{display:none}.hero{padding:23px;min-height:220px;margin-bottom:17px}.hero h1{font-size:28px}.hero p{font-size:13px}.metric-grid{gap:10px;margin-bottom:23px}.metric strong{font-size:23px}.metric small{font-size:12px}.metric-label{font-size:12px}.dashboard-aside{grid-template-columns:1fr}.tool-grid,.dashboard-columns .tool-grid{grid-template-columns:1fr 1fr;gap:10px}.tool-card{padding:15px}.tool-card h3{font-size:13.5px}.tool-card p{font-size:13px;min-height:64px}.tool-card .tool-icon{width:31px;height:31px}.card-top{margin-bottom:14px}.card-bottom{display:block;padding-top:10px}.card-bottom .open-link{margin-top:7px;display:flex}.card-bottom .new-label{display:none}.content-columns>aside{display:block}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.panel-inner{padding:19px}.panel-title{padding:16px 18px}.document-grid{grid-template-columns:1fr 1fr;gap:10px}.document-card{padding:12px}.document-card .button{font-size:12px;padding:7px 8px;min-height:30px}.doc-preview{height:95px}.record-row{padding:16px;gap:10px}.record-actions{width:100%;justify-content:end}.detail-table td,.detail-table th{padding:10px;font-size:13px}.modal-head{padding:21px 19px}.modal-head h2{font-size:18px}.modal-body{padding:21px 19px}.modal-footer{padding:14px 19px}.modal-footer .button{flex:1}.footer{padding:20px 18px 96px;flex-wrap:wrap;gap:8px}.footer .text-button{margin-left:0}.footer a{margin-left:auto}#toast{left:50%;bottom:90px;max-width:90vw;font-size:13px}.two-column{grid-template-columns:1fr}.drop-area{padding:23px}.empty{padding:32px 20px}.scope-list{gap:12px}.value-grid{gap:10px}.heading-actions .button{font-size:13px}.report-banner{padding:16px}.button{font-size:13px}.legend{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.email-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.email-address{padding:17px;border:1px dashed #c7ddef;border-radius:9px;background:#f5f9fe;color:#527fa9;font-family:monospace;font-size:14px;overflow-wrap:anywhere;line-height:1.8}.email-layout .notes-list li{margin-bottom:10px}@media(max-width:1050px){.email-layout{grid-template-columns:1fr}.email-layout>aside{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:start}}@media(max-width:600px){.email-layout>aside{display:block}.email-address{font-size:13.5px;padding:14px}.report-banner{flex-wrap:wrap}.email-layout .record-row .pill{font-size:12px}}
.wallet-switcher{max-width:1460px;margin:auto;padding:20px 36px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.wallet-tab-group{display:flex;background:#e9eff6;padding:4px;border:1px solid #dfe7f0;border-radius:10px;gap:3px}.wallet-tab{display:flex;align-items:center;gap:8px;border:0;background:none;color:#7a91ac;padding:10px 15px;border-radius:7px;font-size:13.5px;font-weight:600}.wallet-tab svg{width:16px;height:16px}.wallet-tab[aria-pressed=true]{color:#2d6fa8;background:white;box-shadow:0 2px 8px #1634500a}.wallet-context{display:flex;gap:13px;align-items:center;font-size:13px;color:#97a7ba}.wallet-context .filter{margin:0}.savings-card{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 28px;background:linear-gradient(120deg,#edf7f5,#f3f8fe);border:1px solid #d5e8e7;border-radius:13px;margin-bottom:22px}.savings-card h2{font-size:16px;color:#477a7b;letter-spacing:-.2px}.savings-values{display:flex;align-items:center;gap:25px;margin:12px 0}.savings-values>strong{font-size:30px;line-height:1.2;font-weight:700;letter-spacing:-1px;color:#2b645f}.savings-values>span{font-size:21px;color:#64888b;border-left:1px solid #d0e2df;padding-left:24px;white-space:nowrap}.savings-values small{display:block;font-size:13px;letter-spacing:0;color:#8fa7ad;margin-top:3px}.savings-card p{font-size:13px;line-height:1.9;max-width:700px;color:#7d9b9d}.savings-card .muted{font-size:13px;margin-top:6px}.savings-card .actions{flex-shrink:0;max-width:180px;justify-content:end}@media(max-width:1050px){.wallet-switcher{padding:20px 28px 0}.savings-card{align-items:start;flex-direction:column}.savings-card .actions{max-width:none;justify-content:start}}@media(max-width:600px){.wallet-switcher{padding:16px 17px 0;display:block}.wallet-tab-group{width:100%}.wallet-tab{flex:1;justify-content:center;font-size:13px;padding:9px 6px;gap:5px}.wallet-context{margin-top:10px;justify-content:space-between;font-size:12px}.savings-card{padding:21px}.savings-values>strong{font-size:26px}.savings-values>span{font-size:19px;padding-left:17px}.savings-values{gap:17px}.savings-card p{font-size:13px}.savings-card .actions{width:100%}.savings-card .button{flex:1}}

/* v0.4.1 layout cleanup */
.brand small{font-size:9.5px;letter-spacing:.7px;white-space:nowrap}
@media(max-width:600px){.nav-item{min-width:0;flex:1;padding:6px 2px;font-size:9.5px;text-align:center;line-height:1.25}.nav-item span{white-space:normal}.report-banner>div{flex-basis:calc(100% - 60px)}.report-banner>.button{width:100%}}

/* v0.5.0 AI receipt reading */
.ai-line{font-size:13px;line-height:1.6;color:#557b9e;margin-top:8px;padding:8px 10px;background:#f1f6fc;border-radius:7px}
.ai-line strong{color:#2c5f8d}

/* v0.6.0 tax profile and tax picture */
.tax-picture{background:white;border:1px solid var(--line);border-radius:13px;padding:24px 26px;margin-bottom:22px}
.tax-picture-empty{display:flex;align-items:center;justify-content:space-between;gap:22px;background:#f1f6fc;border-color:#d6e8f9}
.tax-picture-empty p{font-size:14px;max-width:560px;margin-top:6px}
.tax-picture h2{margin-top:6px}
.tp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.tp-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:20px}
.tp-number{background:var(--bg);border-radius:10px;padding:15px 17px;min-width:0}
.tp-number small{display:block;font-size:13px;color:#6b849f}
.tp-number strong{display:block;font-size:27px;letter-spacing:-.8px;line-height:1.3;color:var(--navy)}
.tp-number strong.good{color:#2f7d6f}.tp-number strong.owe{color:#a4524b}
.tp-number span{display:block;font-size:13px;color:var(--muted);line-height:1.5}
.tp-bar{display:grid;grid-template-columns:190px 1fr 90px;align-items:center;gap:12px;font-size:13.5px;color:#5f7894;margin:7px 0}
.tp-bar div{height:10px;background:var(--bg);border-radius:6px;overflow:hidden}
.tp-bar i{display:block;height:100%;background:#9db4cc;border-radius:6px}.tp-bar i.good{background:var(--teal)}
.tp-bar b{text-align:right;color:var(--ink);font-variant-numeric:tabular-nums}
.tp-notes{margin:14px 0 0;padding-left:18px;font-size:13px;color:#6b849f;line-height:1.7}
.tp-foot{font-size:13px;margin-top:12px}
@media(max-width:850px){.tp-numbers{grid-template-columns:1fr}.tax-picture-empty{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){.tax-picture{padding:18px}.tp-head{flex-direction:column}.tp-bar{grid-template-columns:1fr 76px}.tp-bar span{grid-column:1/-1}.tp-number strong{font-size:24px}}
.tp-lines-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin-top:16px;border-radius:6px;background:linear-gradient(to right,#fff 30%,#fff0) left/28px 100% no-repeat local,linear-gradient(to left,#fff 30%,#fff0) right/28px 100% no-repeat local,radial-gradient(farthest-side at 0 50%,#101f3224,#101f3200) left/10px 100% no-repeat scroll,radial-gradient(farthest-side at 100% 50%,#101f3224,#101f3200) right/10px 100% no-repeat scroll}.tp-lines-wrap:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.tp-lines{width:100%;border-collapse:collapse;font-size:13.5px}
.tp-lines th{text-align:left;font-weight:600;color:#6b849f;font-size:13px;padding:7px 8px;border-bottom:1px solid var(--line)}
.tp-lines td{padding:8px;border-bottom:1px solid #f0f4f9;color:var(--ink);font-variant-numeric:tabular-nums}
.tp-lines th:not(:first-child),.tp-lines td:not(:first-child){text-align:right}
.tp-up{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:5px;background:#e7f4f1;color:#2f7d6f;font-size:12px}
.tp-added{font-size:13.5px;color:#2f7d6f;margin-top:10px}
@media(max-width:600px){.tp-lines{font-size:13px}.tp-lines th,.tp-lines td{padding:6px 4px}.tp-lines th{font-size:11.5px;line-height:1.3}.tp-lines td:first-child{overflow-wrap:break-word}.tp-up{display:block;margin:2px 0 0;white-space:normal}}

/* v0.7.0 email receipt intake */
.intake-list{display:flex;flex-direction:column}
.intake-row{display:flex;justify-content:space-between;gap:16px;padding:15px 20px;border-top:1px solid var(--line)}
.intake-main{min-width:0}.intake-main h3{font-size:14px;overflow-wrap:anywhere}.intake-main p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.intake-reason{color:#8a6a2f!important}
.intake-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}
.intake-side .actions{flex-direction:column;align-items:stretch;gap:6px}.intake-side .button{margin:0;min-height:30px;font-size:13px;width:auto}
#intake-address{user-select:all;overflow-wrap:anywhere}
@media(max-width:850px){.intake-row{flex-direction:column}.intake-side{align-items:flex-start}}

/* v0.7.1 calmer dashboard below the tax picture */
.dash-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.dash-action{display:flex;align-items:center;gap:14px;padding:18px 20px;background:white;border:1px solid var(--line);border-radius:14px;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.dash-action:hover,.tool-tile:hover{border-color:#bfd8f2;box-shadow:0 8px 24px #1878d314;transform:translateY(-1px)}
.dash-action .tool-icon,.tool-tile .tool-icon{width:48px;height:48px;border-radius:13px;margin:0}
.dash-action .tool-icon svg,.tool-tile .tool-icon svg{width:24px;height:24px}
.dash-action strong{font-size:15px;font-weight:600;line-height:1.3}
.dash-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:14px;margin-bottom:30px;overflow:hidden}
.dash-stat{display:flex;align-items:baseline;gap:9px;padding:15px 20px;background:none;border:0;border-left:1px solid #eef2f7;text-align:left;cursor:pointer;min-width:0}
.dash-stat:first-child{border-left:0}.dash-stat:hover{background:#f8fafd}
.dash-stat strong{font-size:20px;letter-spacing:-.5px;color:var(--navy);font-variant-numeric:tabular-nums}
.dash-stat span{font-size:13.5px;color:#7b8da3}
.tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:30px}
.tool-tile{position:relative;background:white;border:1px solid var(--line);border-radius:14px;transition:border-color .15s,box-shadow .15s,transform .15s}
.tool-tile a{display:flex;align-items:center;gap:15px;padding:18px 44px 18px 20px;color:var(--ink);text-decoration:none;min-height:86px}
.tool-tile strong{font-size:15px;font-weight:600;line-height:1.35}
.tool-tile .favorite{position:absolute;top:14px;right:14px;padding:4px;cursor:pointer}
.tool-tile .favorite svg{width:16px;height:16px}
.dash-bottom{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;align-items:start}
.dash-bottom .panel{margin:0}
.dash-bottom .activity-item{font-size:13.5px}
@media(max-width:1050px){.dash-actions{grid-template-columns:1fr 1fr}.tile-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.dash-stats{grid-template-columns:1fr 1fr}.dash-stat:nth-child(3){border-left:0}.dash-stat:nth-child(n+3){border-top:1px solid #eef2f7}.tile-grid{grid-template-columns:1fr}.dash-action{padding:14px;gap:10px}.dash-action .tool-icon,.tool-tile .tool-icon{width:40px;height:40px}}
/* v0.7.2 larger text: keep the sidebar backup link on one line */
.sidebar .sidebar-backup{font-size:12px;white-space:nowrap}
/* v0.8.0 paystub upload in the tax profile */
.stub-box{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px dashed #c7ddef;border-radius:10px;background:#f6fafe;margin-bottom:14px}
.stub-box strong{display:block;font-size:14px;color:var(--ink)}.stub-box span{display:block;font-size:13px;color:#6b849f;line-height:1.5;margin-top:2px}
.stub-box .button{flex-shrink:0;margin:0}
.stub-status{font-size:13px;line-height:1.55;padding:10px 13px;border-radius:8px;background:#f2f7fd;color:#526f91;margin:0 0 14px}
.stub-status.good{background:#e9f5f2;color:#2f7d6f}.stub-status.warn{background:#fbf5e9;color:#8a6a2b}
.stub-row{display:flex;align-items:center;gap:16px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;margin-bottom:10px;background:white}
.stub-main{flex:1;min-width:0}.stub-main strong{display:block;font-size:14px;color:var(--ink);overflow-wrap:anywhere}
.stub-row small{display:block;font-size:12px;color:#7b8da3;line-height:1.45}
.stub-num b{display:block;font-size:15px;color:var(--navy);font-variant-numeric:tabular-nums}
.stub-row select{width:auto;min-height:34px;padding:4px 26px 4px 9px;font-size:13px}
#paystub-list:not(:empty){margin-bottom:14px}
@media(max-width:700px){.stub-box{flex-direction:column;align-items:flex-start}.stub-row{flex-wrap:wrap;gap:10px}.stub-main{flex-basis:100%}}
/* v0.8.2 several paystubs: whose, and a combined line */
.stub-controls{display:flex;flex-direction:column;gap:8px;flex-shrink:0;align-items:stretch}
.stub-controls select{min-height:36px;font-size:13px;padding:5px 28px 5px 10px}
.stub-summary{font-size:13px;color:#526f91;margin:-2px 0 12px;padding:0 2px}
@media(max-width:700px){.stub-controls{flex-direction:row;flex-wrap:wrap;width:100%}}
/* v0.9.0 donation receipts read by AI */
.dscan-status{font-size:13px;color:#526f91;margin:10px 0 0;min-height:1em}
span.dscan-status{display:inline-block;margin:0 0 0 12px}
.dscan-choice{max-width:300px;margin:14px 0}
.dscan-card{border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin-bottom:14px;background:white}
.dscan-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.dscan-head strong{font-size:15px;color:var(--navy)}.dscan-head small{font-weight:400;color:#7b8da3;font-size:12px;margin-left:4px}
.dscan-skip{margin:0 0 0 auto}
.dscan-slip{font-size:13px;color:#5f7894;line-height:1.55;margin:10px 0}
.dscan-warn{color:#8a6a2b!important}
.dscan-items{width:100%;border-collapse:collapse;margin:12px 0 6px;font-size:13px}
.dscan-items th{text-align:left;font-weight:600;color:#6b849f;font-size:12px;padding:6px 6px 6px 0;border-bottom:1px solid var(--line)}
.dscan-items td{padding:6px 6px 6px 0;vertical-align:middle}
.dscan-items input{width:100%;min-height:36px;padding:6px 9px;border:1px solid #d6e0ec;border-radius:8px;font:inherit;font-size:13px;color:var(--ink)}
.dscan-items td:nth-child(2){width:74px}.dscan-items td:nth-child(3){width:96px;white-space:nowrap;color:#526f91;font-variant-numeric:tabular-nums}.dscan-items td:nth-child(4){width:112px}.dscan-items td:nth-child(5){width:66px;text-align:right}
.dscan-total{font-size:13px;color:#526f91;margin:4px 0 12px;text-align:right}
.dscan-card textarea{width:100%;font:inherit;font-size:14px;padding:9px 11px;border:1px solid #d6e0ec;border-radius:8px;color:var(--ink);resize:vertical}
@media(max-width:600px){.dscan-items thead{display:none}.dscan-items tr{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;padding:8px 0;border-bottom:1px solid #f0f4f9}.dscan-items td{padding:0;width:auto!important}.dscan-items td:first-child{grid-column:1/-1}.dscan-items td:nth-child(5){grid-column:1/-1;text-align:left}}
/* v0.10.0 notification bell */
#inbox-icon{position:relative;cursor:pointer}
.bell-badge{position:absolute;top:-6px;right:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#d9534f;color:white;font-size:10.5px;font-weight:700;line-height:17px;text-align:center;box-shadow:0 0 0 2px white}
.bell-panel{position:fixed;z-index:300;width:340px;max-width:calc(100vw - 16px);background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 60px #0018342e;overflow:hidden}
.bell-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eef2f7}
.bell-head strong{font-size:15px;color:var(--navy)}.bell-head .text-button{margin:0;font-size:13px}
.bell-list{max-height:min(60vh,420px);overflow:auto}
.bell-item{display:block;width:100%;text-align:left;padding:12px 16px 12px 26px;background:white;border:0;border-bottom:1px solid #f2f5f9;cursor:pointer;position:relative;color:var(--ink)}
.bell-item:last-child{border-bottom:0}.bell-item:hover{background:#f8fafd}
.bell-item span{display:block;font-size:13.5px;line-height:1.45}.bell-item small{display:block;font-size:12px;color:#8a9bb0;margin-top:3px}
.bell-item.new:before{content:'';position:absolute;left:12px;top:19px;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.bell-empty{font-size:13.5px;color:#7b8da3;padding:18px 16px;margin:0;line-height:1.5}
/* v0.11.0 duplicate receipts */
.document-card.is-duplicate{border-color:#ecd9b0;background:#fffdf8}
.dupe-line{font-size:13px;color:#8a6a2b;background:#fbf5e9;border-radius:8px;padding:9px 11px;margin:8px 0;line-height:1.5}
/* v0.12.0 compact receipt inbox */
.doc-panel{padding:0;overflow:visible}
.doc-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--line)}
.doc-search{display:flex;align-items:center;gap:8px;flex:1;min-width:200px;max-width:340px;padding:0 11px;border:1px solid #d6e0ec;border-radius:9px;background:white;color:#8a9bb0}
.doc-search svg{width:15px;height:15px;flex-shrink:0}
.doc-search input{border:0;outline:0;background:none;font:inherit;font-size:13.5px;color:var(--ink);padding:8px 0;width:100%;min-height:0}
.doc-filters{display:flex;gap:6px;flex-wrap:wrap}
.doc-filter{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid var(--line);border-radius:8px;background:white;color:#5f7894;font-size:13px;cursor:pointer}
.doc-filter span{font-size:11.5px;color:#8a9bb0;background:#f1f5fa;border-radius:10px;padding:0 6px;line-height:18px}
.doc-filter[aria-pressed=true]{background:#edf4fd;border-color:#cfe2f7;color:#1f5e9e;font-weight:600}
.doc-count{margin-left:auto;font-size:13px;color:#7b8da3}
.doc-table{width:100%;border-collapse:collapse;font-size:13.5px}
.doc-table th{text-align:left;font-size:11.5px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#7b8da3;padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
.doc-table td{padding:9px 12px;border-bottom:1px solid #f0f4f9;vertical-align:middle;color:var(--ink)}
.doc-table tr:last-child td{border-bottom:0}
.doc-table tbody tr:hover{background:#fafcfe}.doc-table tr.is-duplicate{background:#fffdf8}
.doc-table th:first-child,.doc-table td:first-child{padding-left:16px}
.doc-name{display:flex;align-items:center;gap:11px;min-width:0;max-width:440px}
.doc-name div{min-width:0}
.doc-name strong{display:block;font-weight:600;color:#1f5e9e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.doc-name small{display:block;font-size:12px;color:#8a9bb0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.doc-warn{color:#8a6a2b}
.doc-badge{flex-shrink:0;width:38px;height:38px;border-radius:9px;display:grid;place-items:center;font-size:10px;font-weight:700;letter-spacing:.3px;color:white;background:#3d7fc4}
.doc-badge.teal{background:#3e9a8c}.doc-badge.purple{background:#8672c0}.doc-badge.amber{background:#b9914a}
.doc-table td:nth-child(2){max-width:170px}.doc-table td:nth-child(3),.doc-table td:nth-child(4){white-space:nowrap;color:#5f7894}
.doc-actions{white-space:nowrap;text-align:right}
.doc-actions .button{margin:0;min-height:32px;padding:5px 12px;font-size:13px}
.doc-none{text-align:center;color:#7b8da3;padding:22px!important}
.row-menu{display:inline-block;position:relative;margin-left:6px;vertical-align:middle}
.row-menu summary{list-style:none;cursor:pointer;font-size:13px;color:#5f7894;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:white}
.row-menu summary::-webkit-details-marker{display:none}
.row-menu[open] summary{background:#f3f7fc}
.row-menu div{position:absolute;right:0;top:calc(100% + 5px);z-index:40;min-width:210px;background:white;border:1px solid var(--line);border-radius:11px;box-shadow:0 14px 40px #00183426;padding:5px;text-align:left}
.row-menu div button{display:block;width:100%;text-align:left;padding:8px 11px;border:0;background:none;border-radius:7px;font:inherit;font-size:13.5px;color:var(--ink);cursor:pointer}
.row-menu div button:hover{background:#f3f7fc}.row-menu div button.danger{color:#a4524b}
.doc-note{font-size:12.5px;margin-top:14px}
@media(max-width:900px){.doc-table th:nth-child(3),.doc-table td:nth-child(3),.doc-table th:nth-child(4),.doc-table td:nth-child(4){display:none}.doc-name{max-width:300px}}
@media(max-width:600px){.doc-table thead{display:none}.doc-table tr{display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:11px 14px;border-bottom:1px solid #f0f4f9}.doc-table td{padding:0!important;border:0}.doc-table td:first-child{grid-column:1/-1}.doc-table td:nth-child(2){display:none}.doc-name{max-width:none}.doc-actions{text-align:right}.doc-count{display:none}}
/* v0.14.0 Gmail auto-forward setup */
.fwd-confirm{border-color:#ecd9b0;background:#fffdf8}
.fwd-confirm p{font-size:14px;line-height:1.6;color:var(--ink)}
.fwd-code{margin:12px 0}.fwd-code strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:20px;letter-spacing:2px;color:var(--navy);margin-left:8px;user-select:all}
.fwd-confirm .actions{margin-top:14px;flex-wrap:wrap}.fwd-confirm a.button{text-decoration:none;display:inline-flex;align-items:center}
.fwd-guide summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;cursor:pointer;list-style:none}
.fwd-guide summary::-webkit-details-marker{display:none}
.fwd-guide summary h2{font-size:16px}.fwd-guide summary span{font-size:13px;color:#7b8da3}
.fwd-guide summary:after{content:'+';font-size:20px;color:#7b8da3;margin-left:6px}.fwd-guide[open] summary:after{content:'−'}
.fwd-guide[open] summary{border-bottom:1px solid var(--line)}
.fwd-guide code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;background:#f2f7fd;padding:2px 6px;border-radius:5px;word-break:break-all;user-select:all}
.fwd-guide li{margin-bottom:8px;line-height:1.6}
/* v0.16.0 phone scanner */
.scan-screen{max-width:560px;margin:0 auto}
.scan-hero{text-align:center;background:var(--navy);color:white;border-radius:18px;padding:28px 22px 24px;margin-bottom:18px}
.scan-hero h1{color:white;font-size:26px;margin-bottom:8px}
.scan-hero p{color:#a9bdd3;font-size:14px;line-height:1.55;max-width:400px;margin:0 auto 22px}
.scan-shutter{width:96px;height:96px;border-radius:50%;border:4px solid white;background:none;padding:6px;cursor:pointer;display:block;margin:0 auto 12px;transition:transform .12s}
.scan-shutter span{display:block;width:100%;height:100%;border-radius:50%;background:var(--blue)}
.scan-shutter:active{transform:scale(.94)}.scan-shutter:disabled{opacity:.45;cursor:default}
.scan-cta{display:block;font-size:16px;color:white;margin-bottom:10px}
.scan-hero .text-button{color:#9fc6ee;font-size:14px;margin:0}
.scan-tips{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.scan-tips li{background:white;border:1px solid var(--line);border-radius:11px;padding:12px 15px;font-size:14px;color:#526f91}
.scan-list{padding:4px 0}
.scan-row{display:flex;align-items:center;gap:13px;padding:12px 16px;border-bottom:1px solid #f0f4f9}
.scan-row:last-child{border-bottom:0}
.scan-row img,.scan-thumb{width:52px;height:64px;object-fit:cover;border-radius:8px;border:1px solid var(--line);flex-shrink:0;background:#f2f6fb}
.scan-thumb{display:grid;place-items:center;font-size:11px;font-weight:700;color:#7b8da3}
.scan-main{flex:1;min-width:0}
.scan-main strong{display:block;font-size:14px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scan-main small{display:block;font-size:13px;color:#6b849f;line-height:1.45;margin-top:2px}
.scan-main .button{margin:8px 0 0;min-height:34px;padding:6px 13px;font-size:13px}
.scan-row .pill{flex-shrink:0;display:inline-flex;align-items:center;gap:6px}
.scan-spin{width:11px;height:11px;border-radius:50%;border:2px solid #c9d8e8;border-top-color:var(--blue);animation:scan-spin .8s linear infinite}
@keyframes scan-spin{to{transform:rotate(360deg)}}
.scan-install{font-size:13px;color:#6b849f;line-height:1.6;margin-top:16px;text-align:center}
@media(max-width:600px){.nav-item[data-route=scan]{position:relative;flex:0 0 56px;color:white!important;background:var(--blue)!important;border-radius:50%;width:56px;height:56px;min-width:56px;min-height:56px;padding:0;margin-top:-20px;justify-content:center;box-shadow:0 8px 20px #1878d355}.nav-item[data-route=scan] span{display:none}.nav-item[data-route=scan] svg{width:24px;height:24px}.scan-hero{border-radius:16px;padding:24px 18px 22px}}
/* v0.17.0 simple phone layout: Documents, +, Menu */
.pill.blue{background:#e8f2fd;color:#1f5e9e}
.review-preview{background:#f2f6fb;border:1px solid var(--line);border-radius:11px;min-height:90px;max-height:44vh;overflow:auto;display:grid;place-items:center;margin-bottom:14px;padding:8px}
.review-preview img{max-width:100%;height:auto;border-radius:6px;display:block}
.review-preview pre{white-space:pre-wrap;font:inherit;font-size:13px;color:#526f91;margin:0;padding:6px;justify-self:stretch}
.review-ai{font-size:13px;line-height:1.5;color:#526f91;background:#f2f7fd;border-radius:9px;padding:10px 12px;margin:0 0 14px}
.review-more{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.review-more summary{cursor:pointer;font-size:13.5px;color:#5f7894}
.review-more .field{margin-top:10px}
.review-actions{margin-top:14px;justify-content:space-between}
.nav-item[data-route=menu]{display:none}
.m-title{font-size:24px;margin:2px 0 14px}
@media(max-width:600px){
.nav-item[data-route=menu]{display:flex}
.sidebar nav{align-items:center}
.nav-item[data-route=documents]{order:1}.nav-item[data-route=scan]{order:2}.nav-item[data-route=menu]{order:3}
.nav-item[data-mobile]{font-size:12px;min-width:84px}.nav-item[data-mobile] svg{width:21px;height:21px}
.nav-item[data-route=scan]{min-width:60px!important;max-width:60px;width:60px!important;height:60px!important;flex:0 0 60px!important}.nav-item[data-route=scan] svg{width:26px!important;height:26px!important}
#breadcrumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.test-notice{display:none}
.m-search{max-width:none;margin-bottom:10px}.m-search input{font-size:16px;padding:10px 0}
.m-filters{margin-bottom:12px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.m-filters .doc-filter{white-space:nowrap;flex-shrink:0}
.mdoc-list{display:grid;gap:10px}
.mdoc{display:flex;align-items:center;gap:13px;width:100%;text-align:left;background:white;border:1px solid var(--line);border-radius:14px;padding:11px 14px 11px 11px;color:var(--ink);cursor:pointer;font:inherit}
.mdoc:active{background:#f6f9fd}.mdoc.is-duplicate{border-color:#ecd9b0;background:#fffdf8}
.mdoc-thumb{width:62px;height:76px;flex-shrink:0;border-radius:8px;border:1px solid var(--line);background:#f2f6fb center/cover no-repeat;display:grid;place-items:center;font-size:10.5px;font-weight:700;letter-spacing:.4px;color:#8a9bb0}
.mdoc-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;align-items:flex-start}
.mdoc-main strong{font-size:15.5px;font-weight:600;color:var(--navy);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mdoc-main>span:not(.pill){font-size:13px;color:#6b849f;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mdoc-main .pill{margin-top:3px}
.mdoc-amount{font-size:15px;font-weight:600;color:var(--navy);font-variant-numeric:tabular-nums;white-space:nowrap}
.m-empty{text-align:center;padding:46px 20px;background:white;border:1px solid var(--line);border-radius:16px}
.m-empty .tool-icon{width:56px;height:56px;margin:0 auto 14px}.m-empty h2{font-size:19px;margin-bottom:6px}.m-empty p{font-size:14px;color:#6b849f;margin-bottom:18px}
.m-menu{display:grid;gap:10px}
.m-menu-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:white;border:1px solid var(--line);border-radius:14px;padding:14px 16px;color:var(--ink);cursor:pointer;font:inherit}
.m-menu-row .tool-icon{width:44px;height:44px;border-radius:12px}.m-menu-row .tool-icon svg{width:22px;height:22px}
.m-menu-row>span:nth-child(2){flex:1;min-width:0}
.m-menu-row strong{display:block;font-size:15.5px;font-weight:600}.m-menu-row small{display:block;font-size:13px;color:#6b849f}
.m-menu-row>svg{width:16px;height:16px;color:#b5c6d8}
.review-preview{max-height:36vh}
}
/* v0.17.1 WP TieOut mark */
.brand-symbol{background:none;width:38px;height:38px;border-radius:0}
.brand-symbol svg{width:38px;height:38px;display:block}
/* v0.18.0 business expense ledger */
.cat-row{margin-bottom:11px}.cat-row div{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;color:var(--ink)}
.cat-row small{color:#8a9bb0;font-size:12px;margin-left:4px}.cat-row strong{font-variant-numeric:tabular-nums}
.cat-row i{display:block;height:6px;border-radius:4px;background:#9cc3ec;margin-top:5px}
/* v0.20.0 estimated tax payments */
.pill.red{background:#fbefee;color:#a4524b}
.est-table td small{display:block;font-size:12px;color:#8a9bb0;font-weight:400}
.est-table .num{text-align:right;font-variant-numeric:tabular-nums}
.est-table td:first-child strong{font-weight:600;color:var(--navy)}
.est-actions{white-space:nowrap;text-align:right}.est-actions .button{margin:0 6px 0 0;min-height:32px;padding:5px 12px;font-size:13px}.est-actions .text-button{margin-left:8px;font-size:13px}
.est-review td:first-child{width:28px}.est-review input[type=checkbox]{width:auto;min-height:0}
@media(max-width:700px){.est-table thead{display:none}.est-table tr{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;padding:12px 14px;border-bottom:1px solid #f0f4f9}.est-table td{padding:0!important;border:0;text-align:left!important}.est-table td:first-child,.est-table .est-actions{grid-column:1/-1}.est-actions{white-space:normal}}
.est-table td:nth-child(2),.est-table td.num{white-space:nowrap}
.est-table td:first-child{min-width:150px}
.est-table td.num small{white-space:normal}.est-table td:first-child{min-width:120px}.est-table th,.est-table td{padding-left:9px;padding-right:9px}.est-actions .text-button{margin-left:6px}.doc-table-wrap{overflow-x:auto}
/* v0.21.0 welcome tour */
dialog.tour{max-width:500px;padding:0;border-radius:18px}
.tour-body{padding:30px 30px 6px}
.tour-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:15px;background:#edf4fd;color:#1f6fc0;margin-bottom:16px}
.tour-icon svg{width:28px;height:28px}
.tour-count{font-size:12px;letter-spacing:.6px;text-transform:uppercase;color:#7b8da3;margin:0 0 4px}
.tour h2{font-size:22px;line-height:1.25;color:var(--navy);margin:0 0 10px}
.tour-text{font-size:15px;line-height:1.6;color:var(--ink);margin:0 0 12px}
.tour-points{margin:0;padding-left:20px;display:grid;gap:7px}
.tour-points li{font-size:14px;line-height:1.55;color:#526f91}
.tour-points strong,.tour-text strong{color:var(--ink)}
.tour-dots{display:flex;gap:6px;justify-content:center;padding:16px 0 4px}
.tour-dots i{width:7px;height:7px;border-radius:50%;background:#d3dfec}.tour-dots i.on{background:var(--blue);width:20px;border-radius:4px}
.tour-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end;padding:14px 22px 22px;flex-wrap:wrap}
.tour-actions .text-button{margin:0 auto 0 0;font-size:13.5px}
.tour-actions .button{margin:0}
@media(max-width:600px){dialog.tour{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.tour-body{padding:24px 22px 4px}.tour h2{font-size:20px}.tour-actions{padding:12px 18px 18px}.tour-actions .button{flex:1}.tour-actions .text-button{flex-basis:100%;order:3;margin:4px 0 0;text-align:center}}
/* v0.22.0 planning tools as compact tiles */
.tool-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.tool-controls .search-bar{flex:1;min-width:220px;max-width:420px;margin:0}
.tool-controls .filters{margin:0}.tool-controls .filter{display:inline-flex;align-items:center;gap:6px}.tool-controls .filter svg{width:14px;height:14px}
.tool-group{margin:4px 0 12px}.tool-group h2{font-size:17px}.tool-group p{font-size:13.5px;color:#6b849f}
.tile-grid.tool-lib{margin-bottom:28px}
.tile-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.tile-text small{font-size:13px;line-height:1.4;color:#6b849f;font-weight:400}
@media(max-width:600px){.tile-grid.tool-lib{grid-template-columns:1fr;gap:10px}.tool-lib .tool-tile a{min-height:0;padding:14px 44px 14px 14px}.tool-controls{gap:10px}.tool-controls .search-bar{min-width:0;max-width:none;flex-basis:100%}}
/* v0.23.0 admin */
.admin-table td:nth-child(3),.admin-table td:nth-child(4){white-space:nowrap;color:#5f7894}
.admin-table td:nth-child(5){font-size:13px;color:#5f7894;white-space:nowrap}
.admin-table .doc-name strong .pill{font-size:11px;margin-left:6px;vertical-align:1px}
@media(max-width:900px){.admin-table th:nth-child(3),.admin-table td:nth-child(3),.admin-table th:nth-child(5),.admin-table td:nth-child(5){display:none}}
.admin-table td:nth-child(5){white-space:normal}.admin-table .doc-name{max-width:260px}.admin-table td.doc-actions .button{padding:5px 12px}
@media(max-width:1500px){.admin-table th:nth-child(3),.admin-table td:nth-child(3){display:none}}
/* v0.25.0 business dashboard */
.biz-ask p{font-size:14.5px;line-height:1.6;color:var(--ink)}.biz-ask .muted{font-size:13px;margin-top:12px}
.biz-ask-actions{display:grid;gap:10px;margin-top:16px}.biz-ask-actions .button{margin:0;width:100%;min-height:46px}
.tp-number strong.biz-small{font-size:21px}
.biz-cols{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:26px;margin-top:6px}
.biz-h{font-size:13px;font-weight:600;color:#526f91;text-transform:uppercase;letter-spacing:.5px;margin:4px 0 10px}
.biz-bar{grid-template-columns:150px 1fr 120px}.biz-bar div{position:relative}
.biz-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:6px}.biz-bar i.plan{background:#dfe8f2}.biz-bar i.good{background:var(--teal)}.biz-bar i.over{background:#d08a4a}
.biz-bar b small{font-weight:400;color:#8a9bb0;font-size:11.5px}
.biz-months{display:grid;grid-template-columns:repeat(12,1fr);gap:5px;height:120px;align-items:end}
.biz-months div{display:flex;align-items:flex-end;justify-content:center;gap:2px;height:100%;position:relative;padding-bottom:16px}
.biz-months i{display:block;width:40%;min-height:2px;border-radius:3px 3px 0 0}.biz-months i.in,.biz-legend i.in{background:var(--teal)}.biz-months i.out,.biz-legend i.out{background:#9db4cc}
.biz-months small{position:absolute;bottom:0;font-size:11px;color:#8a9bb0}
.biz-legend{font-size:12px;color:#6b849f;margin:8px 0 0;display:flex;align-items:center;gap:6px}.biz-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-left:8px}.biz-legend i:first-child{margin-left:0}
.biz-todo{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.biz-todo ul{margin:0;padding:0;list-style:none;display:grid;gap:4px}
.biz-todo li:before{content:'•';color:#9db4cc;margin-right:8px}.biz-todo .text-button{margin:0;padding:0;font-size:14px;text-align:left}
@media(max-width:900px){.biz-cols{grid-template-columns:1fr}}
@media(max-width:600px){.biz-bar{grid-template-columns:1fr 100px}.biz-bar span{grid-column:1/-1}}
.biz-q p{font-size:14.5px;color:var(--ink);margin:0 0 4px}.biz-q .check-row{margin:6px 0}
.biz-from strong{display:block;font-size:20px;color:var(--navy);margin:6px 0 2px;font-variant-numeric:tabular-nums}
.tp-biz{font-size:13.5px;color:#526f91;background:#f2f7fd;border-radius:9px;padding:10px 12px;margin:14px 0 0;line-height:1.55}.tp-biz .text-button{margin:0 0 0 6px;padding:0;font-size:13.5px}
/* v0.26.0 document tags */
.tag-chip{display:inline-flex;align-items:center;padding:1px 8px;border-radius:10px;font-size:11.5px;font-weight:600;line-height:18px;white-space:nowrap;max-width:160px;overflow:hidden;text-overflow:ellipsis}
.doc-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.mdoc-pills{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-top:3px}.mdoc-pills .pill{margin:0}
.doc-tag-filter{min-height:34px;padding:5px 28px 5px 10px;border:1px solid var(--line);border-radius:8px;background:white;font:inherit;font-size:13px;color:#526f91;max-width:200px}
.m-tag-filter{width:100%;max-width:none;margin:0 0 12px;min-height:40px}
.doc-toolbar .text-button{margin:0;font-size:13px}
.doc-check{width:34px;padding-right:0!important}.doc-check input{width:16px;height:16px;min-height:0;margin:0;cursor:pointer}
.doc-table tr.is-selected{background:#f1f7fe}
.doc-selbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 16px;background:#edf4fd;border-bottom:1px solid #d6e6f8;font-size:13.5px;color:var(--navy)}
.doc-selbar .button{margin:0;min-height:32px;padding:5px 12px;font-size:13px}.doc-selbar .text-button{margin:0;font-size:13px}
.tag-picker{display:grid;gap:10px}
.tag-options{display:flex;flex-wrap:wrap;gap:7px}
.tag-option{border:1.5px solid var(--tag-bg);background:white;color:var(--tag-fg);border-radius:14px;padding:4px 11px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.tag-option.on{background:var(--tag-bg);border-color:var(--tag-fg)}
.tag-option.on:before{content:'✓ '}
.tag-new{display:flex;gap:8px;flex-wrap:wrap}.tag-new input{flex:1;min-width:140px;min-height:36px}.tag-new select{min-height:36px;width:auto}.tag-new .button{margin:0;min-height:36px;padding:6px 12px;font-size:13px}
.tag-rows{display:grid;gap:8px}
.tag-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tag-row input[type=text],.tag-row input:not([type]){flex:1;min-width:150px;min-height:36px}.tag-row select{width:auto;min-height:36px}.tag-row .check-row{margin:0}.tag-row small{font-size:12px}
@media(max-width:600px){.doc-check{display:none}}
.mdoc-list{grid-template-columns:minmax(0,1fr)}.mdoc{min-width:0}.mdoc-main{min-width:0;overflow:hidden}.mdoc-main>span:not(.mdoc-pills){overflow:hidden;text-overflow:ellipsis}.mdoc-pills{white-space:normal}
.tag-sched{font-weight:800;margin-right:5px;padding-right:5px;border-right:1px solid currentColor;opacity:.85}
.tag-row-end{display:flex;align-items:center;gap:8px;margin-left:auto}
.tag-link{font-size:12px;color:#5f7590;flex:1;min-width:150px}
.tag-sched-select{flex:1;min-width:150px;max-width:260px}
.tag-restore{margin:12px 0 0;font-size:13.5px}
.tag-grid{display:grid;grid-template-columns:minmax(150px,1.4fr) 92px minmax(130px,1fr) 52px auto;gap:8px;align-items:center}
.tag-grid-new{grid-template-columns:minmax(150px,1.4fr) 92px minmax(130px,1fr)}
.tag-grid select,.tag-grid input{width:100%;min-width:0!important;max-width:none}
.tag-name{display:flex;align-items:center;gap:7px;min-width:0}.tag-name input{flex:1}
.tag-dot{width:12px;height:12px;border-radius:50%;border:2px solid;flex:none}
.tag-grid .tag-link{min-width:0;font-size:12.5px}.tag-grid small{white-space:nowrap}
@media(max-width:640px){.tag-grid{grid-template-columns:1fr 92px;row-gap:6px}.tag-grid .tag-link,.tag-grid .tag-sched-select{grid-column:1}.tag-grid-new{grid-template-columns:1fr 92px}}
.swatch-pop{position:relative;flex:none}
.swatch-btn{list-style:none;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:white;cursor:pointer}
.swatch-btn::-webkit-details-marker{display:none}
.swatch-btn:after{content:'';width:6px;height:6px;border-right:1.5px solid #6b7f97;border-bottom:1.5px solid #6b7f97;transform:rotate(45deg) translateY(-2px)}
.swatch-pop[open] .swatch-btn,.swatch-btn:focus-visible{border-color:#4f8cf2;box-shadow:0 0 0 3px rgba(79,140,242,.15);outline:none}
.swatch{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px;border:1.5px solid;font-style:normal;font-size:10.5px;font-weight:700;line-height:1}
.swatch-grid{position:absolute;z-index:30;top:calc(100% + 6px);right:0;display:grid;grid-template-columns:repeat(5,30px);gap:6px;padding:10px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px rgba(16,31,50,.16)}
.swatch-opt{position:relative;display:grid;place-items:center;width:30px;height:30px;border-radius:8px;cursor:pointer}
.swatch-opt input{position:absolute;opacity:0;pointer-events:none}
.swatch-opt .swatch{width:26px;height:26px}
.swatch-opt:hover{background:#f1f5fa}
.swatch-opt input:checked+.swatch{box-shadow:0 0 0 2px white,0 0 0 4px #1d5c9f}
.swatch-opt input:focus-visible+.swatch{box-shadow:0 0 0 2px white,0 0 0 4px #4f8cf2}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.tag-grid{grid-template-columns:minmax(150px,1.4fr) 58px minmax(130px,1fr) 52px auto}
.tag-grid-new{grid-template-columns:minmax(150px,1.4fr) 58px minmax(130px,1fr)}
.tag-grid .swatch-pop input{width:auto}
.tag-new .swatch-btn{height:36px}
@media(max-width:640px){.tag-grid,.tag-grid-new{grid-template-columns:1fr 58px}}
.swatch-grid{right:auto;left:0}.tag-new .swatch-grid{left:auto;right:0}
.alias-field{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white}
.alias-field:focus-within{border-color:#4f8cf2;box-shadow:0 0 0 3px rgba(79,140,242,.15)}
.alias-field input{flex:1;min-width:0;border:0!important;box-shadow:none!important;border-radius:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.alias-domain{display:flex;align-items:center;padding:0 12px;background:#f3f6fa;color:#526f91;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13.5px;border-left:1px solid var(--line);white-space:nowrap}
@media(max-width:520px){.alias-field{flex-wrap:wrap}.alias-domain{width:100%;border-left:0;border-top:1px solid var(--line);padding:8px 12px}}
/* v0.28.0 report center */
.report-hero{min-height:0;gap:28px;align-items:center;padding:26px 30px}
.report-hero h2{color:white;font-size:23px;letter-spacing:-.4px;line-height:1.35;margin-top:6px;max-width:480px}
.report-hero p{margin:9px 0 0;max-width:470px}
.report-stats{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:1px;background:#24405f;border:1px solid #24405f;border-radius:12px;overflow:hidden;flex-shrink:0}
.report-stats div{background:#18324f;padding:14px 18px;display:flex;flex-direction:column;gap:3px}
.report-stats strong{font-size:20px;font-weight:700;color:white;letter-spacing:-.3px;white-space:nowrap}
.report-stats strong small{font-size:13px;color:#7b9abb;font-weight:600;margin-left:1px}
.report-stats span{font-size:12px;color:#7b9abb}
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:28px}
.report-tile{display:flex;align-items:center;gap:15px;padding:16px 16px 16px 16px;background:white;border:1px solid var(--line);border-radius:14px;transition:border-color .15s,box-shadow .15s}
.report-tile:hover{border-color:#bfd8f2;box-shadow:0 8px 24px #1878d314}
.report-tile .tool-icon{width:44px;height:44px;border-radius:12px;margin:0;flex-shrink:0}
.report-tile .tool-icon svg{width:22px;height:22px}
.report-tile .tile-text{flex:1}
.report-tile strong{font-size:15px;font-weight:600;line-height:1.35;color:var(--ink)}
.report-status{display:inline-flex;align-items:center;gap:5px;margin-top:5px;font-size:12.5px;font-weight:600;color:#8a9bb0}
.report-status.ok{color:#2f7a5a}
.report-status svg{width:14px;height:14px}
.report-tile.is-empty .tool-icon{filter:saturate(.35);opacity:.8}
.report-go{margin:0;flex-shrink:0;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 13px;font-size:13px}
.report-go svg,.report-dl svg{width:15px;height:15px}
.report-saved{margin-bottom:28px}
.report-saved .panel-title .pill{margin-left:8px}
.report-row{display:flex;align-items:center;gap:14px;padding:13px 20px;border-top:1px solid #eef2f7}
.report-row:hover{background:#f8fafd}
.report-row .record-main{flex:1;min-width:0}
.report-row h3{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.report-row p{font-size:12.5px;color:#7b8ea6;margin-top:2px}
.report-kind{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;font-size:11px;font-weight:800;letter-spacing:.4px;flex-shrink:0;background:#eef3f9;color:#4b6584}
.report-kind.pdf{background:#fdeceb;color:#b23b30}
.report-kind.zip{background:#ecf1fd;color:#3b5fb2}
.report-dl{margin:0;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 12px;font-size:13px}
.report-none{display:flex;align-items:center;gap:14px;padding:22px 20px;border-top:1px solid #eef2f7;color:#6b849f;font-size:13.5px}
.report-none svg{width:28px;height:28px;color:#a9b9cc;flex-shrink:0}
@media(max-width:1100px){.report-hero{flex-direction:column;align-items:stretch}.report-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.report-grid{grid-template-columns:1fr}}
@media(max-width:600px){.report-hero{padding:22px}.report-hero h2{font-size:20px}.report-stats{grid-template-columns:1fr 1fr}.report-stats strong{font-size:17px}
.report-tile{flex-wrap:wrap}.report-tile .tile-text{flex:1 1 calc(100% - 64px)}.report-go{width:100%;justify-content:center}
.report-row{padding:12px 14px;gap:11px}.report-dl span{display:none}.report-dl{padding:6px 10px}}
.form-sub{margin:-4px 0 12px;font-size:13px}
/* v0.31.0 withholding check */
.wh-card{background:white;border:1px solid var(--line);border-radius:15px;padding:20px 24px;margin:-8px 0 22px}
.wh-card .eyebrow{font-size:11.5px}
.wh-card h3{font-size:18px;margin-top:4px;letter-spacing:-.2px}
.wh-card p{font-size:14px;line-height:1.6;color:#526f91;margin-top:10px}
.wh-owe{border-left:4px solid #c98a1d}
.wh-refund{border-left:4px solid #2f7a5a}
.wh-ok{display:flex;align-items:center;gap:12px;padding:14px 20px;font-size:14px;color:#526f91}
.wh-ok strong{color:var(--ink)}
.wh-dot{width:10px;height:10px;border-radius:50%;background:#2f9a6a;flex-shrink:0}
.wh-action{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin-top:14px;padding:14px 16px;background:#fbf5e9;border-radius:12px}
.wh-action strong{font-size:28px;font-weight:750;letter-spacing:-.6px;color:#7a5410}
.wh-action span{font-size:15px;font-weight:600;color:#7a5410}
.wh-action small{flex-basis:100%;font-size:12.5px;color:#8a6a2c}
.wh-penalty{padding:10px 14px;background:#fbe9e7;border-radius:10px;color:#8f3027!important}
.wh-safe{padding:10px 14px;background:#e9f5ee;border-radius:10px;color:#2b6a4c!important}
.wh-tip{font-size:13.5px!important}
.wh-note{font-size:12.5px!important;color:#8195ad!important}
.wh-card .actions{margin-top:12px}
@media(max-width:600px){.wh-card{padding:16px 18px}.wh-action strong{font-size:24px}}
.return-box{border-color:#cfe3d6;background:#f5faf6}
.return-status span{display:block;margin-top:5px}.return-status span:first-child{margin-top:0}
.wh-nudge{display:flex;align-items:center;gap:12px;padding:14px 20px;font-size:14px;color:#526f91;border-left:4px solid #4f8cf2}
.wh-nudge strong{color:var(--ink)}.wh-nudge div{flex:1}.wh-nudge .button{margin:0;white-space:nowrap}.wh-nudge .wh-dot{background:#4f8cf2}
.stub-box.flash{animation:stubflash 1.6s ease-out}
@keyframes stubflash{0%{box-shadow:0 0 0 4px rgba(79,140,242,.45)}100%{box-shadow:0 0 0 0 rgba(79,140,242,0)}}
@media(max-width:600px){.wh-nudge{flex-wrap:wrap}.wh-nudge .button{width:100%}}
.plan-card{display:flex;align-items:center;gap:16px;margin:0 0 20px;font-size:14px;color:#526f91}
.plan-card div{flex:1}.plan-card strong{color:var(--ink)}.plan-card .button{margin:0;white-space:nowrap}
.plan-rows{display:grid;gap:10px;margin-bottom:12px}
.plan-row{display:flex;align-items:center;gap:14px;padding:10px 14px;border:1px solid var(--line);border-radius:10px}
.plan-row div{flex:1;display:flex;flex-direction:column}.plan-row small{color:#6b849f;font-size:12.5px}
.plan-row .field{margin:0;width:140px}.plan-row input{text-align:right}
.est-conf{display:inline-flex;align-items:center;gap:4px;margin:4px 0 0;font-size:12.5px;padding:0}.est-conf svg{width:13px;height:13px}
@media(max-width:600px){.plan-card{flex-wrap:wrap}.plan-card .button{width:100%}.plan-row .field{width:110px}}
.pref-list{display:grid;margin-top:12px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.pref-row{display:flex;align-items:center;gap:12px;padding:13px 16px;border-top:1px solid #eef2f7;background:white}
.pref-row:first-child{border-top:0}
.pref-main{display:flex;align-items:flex-start;gap:12px;flex:1;cursor:pointer;margin:0}
.pref-main input{width:17px;height:17px;min-height:0;margin:2px 0 0;flex-shrink:0;cursor:pointer}
.pref-main span{display:flex;flex-direction:column;gap:2px}.pref-main strong{font-size:14px;color:var(--ink)}.pref-main small{font-size:12.5px;line-height:1.5;color:#6b849f}
.pref-row .text-button{margin:0;white-space:nowrap;font-size:13px}.pref-row select{width:auto;min-height:34px;font-size:13px;padding:4px 26px 4px 10px}
.pref-main input:disabled{cursor:default}
@media(max-width:600px){.pref-row{flex-wrap:wrap}.pref-row .text-button,.pref-row select{margin-left:29px}}
/* v0.35.0 folders and tax years */
.doc-split{display:grid;grid-template-columns:200px minmax(0,1fr)}
.doc-nav{border-right:1px solid var(--line);padding:16px 10px 16px 12px;background:#fafcfe;border-radius:13px 0 0 13px}
.doc-main{min-width:0}
.fnav-head{margin:14px 8px 6px;font-size:11px;letter-spacing:1.3px;text-transform:uppercase;font-weight:700;color:#7b8ea6}
.fnav-head:first-child{margin-top:2px}.fnav-head small{text-transform:none;letter-spacing:0;font-weight:600}
.fnav ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.fnav-item{display:flex;align-items:center;border-radius:8px}
.fnav-item>button{flex:1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:7px 9px;border:0;background:none;border-radius:8px;font:inherit;font-size:13.5px;color:#334a63;cursor:pointer;text-align:left}
.fnav-item>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fnav-item>button small{font-size:12px;color:#8195ad;flex-shrink:0}
.fnav-item:hover{background:#eef4fb}
.fnav-item.on{background:#e3eefb}.fnav-item.on>button{color:#1d5c9f;font-weight:650}
.fnav-menu{margin:0 2px 0 0}.fnav-menu summary{padding:2px 7px;border:0;background:none;font-size:15px;line-height:1;color:#8195ad}
.fnav-item:not(:hover) .fnav-menu:not([open]) summary{visibility:hidden}
.fnav-new{margin:10px 8px 0;font-size:13px}
.doc-folder{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:#526f91;background:#eef3f9;border-radius:10px;padding:1px 8px 1px 6px}
.doc-folder svg{width:12px;height:12px}
.m-folder-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}
.m-folder-filters select{min-height:40px;width:100%;border:1px solid var(--line);border-radius:8px;background:white;font:inherit;font-size:14px;padding:6px 10px}
@media(max-width:900px){.doc-split{grid-template-columns:1fr}.doc-nav{border-right:0;border-bottom:1px solid var(--line);border-radius:13px 13px 0 0}.fnav ul{display:flex;flex-wrap:wrap;gap:4px}.fnav-item>button{padding:5px 9px}}
.doc-folder{white-space:nowrap;max-width:160px;overflow:hidden;text-overflow:ellipsis}
/* Tax organizer */
.org-hero{align-items:center}
.org-bar{height:8px;background:rgba(255,255,255,.14);border-radius:99px;overflow:hidden;max-width:420px;margin-top:4px}
.org-bar span{display:block;height:100%;background:#4fb38a;border-radius:99px;transition:width .3s}
.org-count{display:block;color:#9fb6cf;font-size:12.5px;margin-top:7px}
.org-send{display:flex;flex-direction:column;gap:9px;min-width:210px;max-width:250px}
.org-send .button{justify-content:center}
.org-send small{color:#7b9abb;font-size:12px;line-height:1.5}
.org-year{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);white-space:nowrap}
.org-next{margin-bottom:17px}
.org-next ul,.org-list,.org-events,.org-kv{list-style:none;margin:0;padding:0}
.org-next li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 20px;border-top:1px solid var(--line);font-size:14px}
.org-next li:first-child{border-top:0}
.org-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}
.org-grid #org-events,.org-grid #org-forms,.org-grid #org-money{grid-column:1/-1}
.org-grid{align-items:stretch}
@media(min-width:901px){.org-events{display:grid;grid-template-columns:1fr 1fr;column-gap:0}.org-events li:nth-child(odd){border-right:1px solid var(--line)}}
.org-section{padding-bottom:16px}
.org-section>p,.org-section>.org-facts,.org-section>.org-sub,.org-section>.text-button,.org-section>.org-add{margin-left:20px;margin-right:20px}
.org-lead{font-size:13px;margin:0 20px 10px}
.org-empty{font-size:13.5px;margin:6px 20px 12px}
.org-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px;margin-bottom:6px}
.org-facts dt{font-size:12px;color:var(--muted)}
.org-facts dd{margin:0;font-weight:600;color:var(--navy)}
.org-sub{margin-top:14px;margin-bottom:6px}
.org-sub h3{color:var(--navy)}
.org-sub p{font-size:12.5px}
.org-list li,.org-events li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 20px;border-top:1px solid var(--line)}
.org-list li small{display:block;color:var(--muted);font-size:12.5px;line-height:1.45}
.org-list li strong{color:var(--navy);font-size:14px}
.org-list li>span{display:flex;gap:10px;align-items:center;flex-shrink:0}
.org-files{margin-top:3px}
.org-files .text-button{font-size:12.5px;padding:0;margin-right:8px}
.org-add{margin-top:12px}
.org-events li{font-size:13.5px;padding:8px 20px}
.org-events li.is-yes{background:#f3f8fe}
.org-yn{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;flex-shrink:0}
.org-yn button{border:0;background:white;padding:5px 13px;font-size:13px;color:#5d7088;min-width:48px}
.org-yn button+button{border-left:1px solid var(--line)}
.org-yn button[aria-pressed="true"][data-value="yes"]{background:var(--blue);color:white}
.org-yn button[aria-pressed="true"][data-value="no"]{background:#e9eef5;color:var(--navy)}
.org-chip{display:inline-block;font-size:12px;font-weight:600;padding:3px 8px;border-radius:99px;white-space:nowrap}
.org-chip.received{background:#e5f4ec;color:#2f7a5a}
.org-chip.waiting{background:#fbf2e2;color:#9a6b1c}
.org-chip.skipped{background:#eef1f5;color:#7d8ea3}
.org-form.skipped strong{color:var(--muted);text-decoration:line-through}
.org-form-end{display:flex;gap:10px;align-items:center}
.org-kv li{display:flex;justify-content:space-between;gap:16px;padding:8px 20px;border-top:1px solid var(--line);font-size:13.5px}
.org-kv li span{color:#5d7088}
.org-kv li strong{color:var(--navy);text-align:right;font-weight:600}
.org-note{font-size:14px;color:var(--ink);white-space:normal}
@media(max-width:900px){.org-grid{grid-template-columns:1fr}.org-send{max-width:none;min-width:0}}
@media(max-width:600px){.org-list li,.org-events li{flex-direction:column;align-items:flex-start}.org-list li>span,.org-form-end{flex-wrap:wrap}.org-kv li{flex-direction:column;gap:2px}.org-kv li strong{text-align:left}.org-facts{grid-template-columns:1fr}}
.zip-hint{font-size:12.5px;line-height:1.55;color:var(--muted);margin:10px 0 0}
/* Tax organizer start screen */
.org-start{padding:34px 36px;max-width:760px}
.org-start-main>.tool-icon{margin-bottom:14px}
.org-start h2{font-size:23px;color:var(--navy)}
.org-start-main>p{margin-top:8px;font-size:14px;line-height:1.7;max-width:600px}
.org-start-years{display:inline-flex;gap:8px;margin:18px 0 4px}
.org-start-years button{border:1px solid var(--line);background:white;border-radius:9px;padding:7px 16px;font-weight:600;color:#5d7088;display:flex;flex-direction:column;align-items:center;line-height:1.3}
.org-start-years button small{font-size:11px;font-weight:500;color:#2f7a5a}
.org-start-years button[aria-pressed="true"]{border-color:var(--blue);background:#eef5fd;color:var(--blue)}
.org-start-list{list-style:none;margin:18px 0 22px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.org-start-list li{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe}
.org-start-list li svg{color:#2f7a5a;width:18px;height:18px;margin-top:2px}
.org-start-list strong{display:block;color:var(--navy);font-size:14px}
.org-start-list small{display:block;color:var(--muted);font-size:12.5px;line-height:1.45}
.org-start-note{font-size:12.5px;margin-top:12px}
.org-remove{margin:22px 0 4px;text-align:center}
@media(max-width:600px){.org-start{padding:22px 18px}.org-start-list{grid-template-columns:1fr}}
/* Organizer: finish bar and finished summary */
.org-finish{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin-top:17px}
.org-finish strong{display:block;color:var(--navy)}
.org-finish span{color:var(--muted);font-size:13.5px}
.org-done .org-edit{color:#9fc4ea;align-self:center;margin-top:2px}
.org-attention{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 20px;margin-bottom:17px;border-color:#f0dcb5;background:#fffaf1}
.org-attention strong{color:#8a5d14}
.org-attention ul{margin:6px 0 0;padding-left:18px;font-size:13.5px;color:#6b5a3e}
.org-sum .org-sum-card{padding-bottom:10px}
.org-sum-list{list-style:none;margin:0;padding:6px 20px 0}
.org-sum-list li{display:flex;gap:9px;align-items:flex-start;padding:6px 0;font-size:14px;color:var(--ink)}
.org-sum-list svg{color:var(--blue);width:17px;height:17px;margin-top:3px}
.org-sum-forms{list-style:none;margin:0;padding:0}
.org-sum-forms li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 20px;border-top:1px solid var(--line);font-size:14px;color:var(--navy);font-weight:600}
.org-sum-forms li:first-child{border-top:0}
.org-sum-forms small{font-weight:400;color:var(--muted);margin-left:6px}
.org-sum-forms li.skipped>span:first-child{color:var(--muted);text-decoration:line-through}
.org-sum .org-note{margin:12px 20px 4px}
.org-sum .org-sum-card:last-child{grid-column:1/-1}
@media(max-width:600px){.org-finish,.org-attention{flex-direction:column;align-items:stretch}}
/* Recent sign-ins (settings) */
.sec-list ul{list-style:none;margin:14px 0 0;padding:0;max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:10px}
.sec-list li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 13px;border-top:1px solid var(--line);font-size:13.5px}
.sec-list li:first-child{border-top:0}
.sec-list li strong{display:block;color:var(--navy);font-size:13.5px}
.sec-list li small{display:block;color:var(--muted);font-size:12px}
.sec-list li time{color:#5d7088;font-size:12.5px;white-space:nowrap}
.sec-list li.warn strong{color:#a5581b}
/* Admin audit log */
.audit-check{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;margin-bottom:17px}
.audit-check strong{display:block;color:var(--navy)}
.audit-check span{display:block;color:var(--muted);font-size:13.5px;word-break:break-all}
.audit-check.ok{border-color:#cfe8da;background:#f4fbf7}.audit-check.ok>div>strong{color:#2f7a5a}
.audit-check.bad{border-color:#f1c4c0;background:#fff4f3}.audit-check.bad>div>strong{color:#b3261e}
#audit-verify-result .ok{color:#2f7a5a}#audit-verify-result .bad{color:#b3261e}
.audit-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:10px;align-items:end;padding:16px 18px;border-bottom:1px solid var(--line)}
.audit-filters .field{margin:0}
.audit-filter-actions{display:flex;gap:8px;align-items:center}
.audit-table-wrap{overflow-x:auto}
.audit-table{width:100%;border-collapse:collapse;font-size:13px}
.audit-table th{text-align:left;font-size:11.5px;letter-spacing:.6px;text-transform:uppercase;color:#7b8ea6;padding:10px 14px;border-bottom:1px solid var(--line);white-space:nowrap}
.audit-table td{padding:9px 14px;border-bottom:1px solid #eef2f7;vertical-align:top;color:var(--ink)}
.audit-table td small{display:block;color:var(--muted);font-size:11.5px}
.audit-table td strong{color:var(--navy);font-weight:600}
.audit-table tr.warn td strong{color:#a5581b}
.audit-table tr.security td:first-child{box-shadow:inset 3px 0 0 #9cc3ea}
@media(max-width:1100px){.audit-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.audit-filters{grid-template-columns:1fr}.audit-check{flex-direction:column;align-items:stretch}}
/* Two-factor sign-in */
.mfa-setup{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center}
.mfa-qr{background:#fff;border:1px solid var(--line);border-radius:10px;padding:6px;line-height:0}
.mfa-qr svg{width:180px;height:180px}
.mfa-key{display:inline-block;font-size:15px;letter-spacing:1px;padding:8px 10px;background:#f3f6fa;border:1px solid var(--line);border-radius:8px;word-break:break-all;color:var(--navy)}
.mfa-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:4px 0 0;padding:14px 14px 14px 34px;background:#f7f9fc;border:1px solid var(--line);border-radius:10px}
.mfa-codes code{font-size:15px;letter-spacing:.5px;color:var(--navy)}
.mfa-left{margin:10px 0 0;font-size:13.5px;color:#5d7088}
.mfa-left.warn{color:#a5581b;font-weight:600}
.mfa-nudge-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
.mfa-required{max-width:640px}
.mfa-required h2{color:var(--navy)}
.mfa-state.on{color:#2f7a5a!important}
@media(max-width:600px){.mfa-setup{grid-template-columns:1fr;justify-items:center}.mfa-codes{grid-template-columns:1fr}.mfa-nudge-actions{width:100%}}
/* Tax professional access */
.client-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 18px;background:#fff7e6;border-bottom:1px solid #f2d59b;color:#5c4210;font-size:14px}
.client-banner .button{margin:0}
.client-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #e6eef6}
.client-row:first-child{border-top:0}
.client-row small{display:block;color:#6b849f;font-size:12px}
.access-line{margin:0 0 14px;font-size:14px;color:#4a6584}
.auth-invite{background:#eef6ff;border:1px solid #cfe3f7;border-radius:10px;padding:10px 12px}
/* Practice dashboard */
.practice-table-wrap{overflow-x:auto}
.practice-table{width:100%;border-collapse:collapse;font-size:13px}
.practice-table th{text-align:left;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#6b849f;font-weight:700;padding:10px 12px;border-bottom:1px solid #e6eef6;white-space:nowrap}
.practice-table td{padding:12px;border-bottom:1px solid #eef3f8;vertical-align:top}
.practice-table td small{display:block;color:#6b849f;font-size:12px;margin-top:2px}
.practice-table .num{text-align:right}
.practice-table .owe{color:#b3261e;font-weight:600}.practice-table .good{color:#1d7a46;font-weight:600}
.practice-table .button{margin:0;white-space:nowrap}
.practice-foot,.practice-link{font-size:12px}
.share-points{margin:10px 0 14px 18px;padding:0;color:#4a6584;font-size:14px;line-height:1.7}
/* Firm & team */
.firm-role{font:inherit;font-size:13px;padding:4px 8px;border:1px solid #d5e1ec;border-radius:8px;background:#fff}
.assign-list .check-row{padding:6px 0;margin:0;border-bottom:1px solid #eef3f8}
/* Outlined danger buttons (End access, Cancel invitation): readable on white */
.button.secondary.danger{background:#fff;color:#b3261e;border-color:#efc7c3}
.button.secondary.danger:hover{background:#fdf1f0}
/* Client status on the practice dashboard */
.status-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 16px}
.status-card{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid #e3ebf3;border-radius:14px;background:#fff}
.status-card small{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6b849f}
.status-card strong{font-size:30px;line-height:1.1;color:#20344b}
.status-card span{font-size:12px;color:#6b849f}
.status-card.red strong{color:#b3261e}.status-card.amber strong{color:#9a6700}.status-card.green strong{color:#1d7a46}
.status-card.active{border-color:#1878d3;box-shadow:0 0 0 2px rgba(24,120,211,.15)}
.status-card:focus-visible{outline:2px solid #1878d3;outline-offset:2px}
.reason-list{margin:6px 0 0;padding-left:16px;font-size:12px;line-height:1.5;color:#4a6584}
.reason-list li.attention{color:#8f241c}
.practice-table tr.status-attention td:first-child{box-shadow:inset 3px 0 0 #d9534f}
.practice-table tr.status-watch td:first-child{box-shadow:inset 3px 0 0 #e0a52b}
.row-actions{white-space:nowrap}.row-actions .text-button{display:block;margin-top:6px}
.firm-summary-pref{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.firm-summary-pref .check-row{margin:0;white-space:nowrap}
.practice-table tr.inactive{opacity:.6}
.practice-table .tag-row{margin-top:4px;display:flex;flex-wrap:wrap;gap:4px}
.admin-table .doc-name{max-width:none}
.admin-table .doc-name small{white-space:normal;overflow:visible;text-overflow:clip}
.removed-firms{border-top:1px solid #e3eaf3}
.removed-firms summary{cursor:pointer;padding:12px 18px;color:#5f7590;font-weight:600}
.household-strip{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dfe7f1;border-radius:14px;padding:12px 16px;margin-bottom:14px}
.household-strip>div{flex:1;min-width:0}.household-strip small{display:block;color:#6b7f96;font-size:12.5px}
.household-strip>span:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
/* Step-by-step organizer screens */
.ost{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}
.ost-nav{position:sticky;top:18px;padding:16px 10px}
.ost-nav-head{padding:0 10px 12px;border-bottom:1px solid var(--line);margin-bottom:8px;display:flex;flex-direction:column;gap:2px}
.ost-nav-head strong{color:var(--navy);font-size:15px}.ost-nav-head small{color:var(--muted);font-size:12px}
.ost-nav ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.ost-step{position:relative;display:flex;align-items:center;gap:11px;width:100%;border:0;background:none;padding:9px 10px;border-radius:8px;text-align:left;font-size:14px;color:var(--ink);cursor:pointer}
.ost-step:hover{background:var(--bg)}
.ost-step.is-current{background:#eef5fd;color:var(--blue);font-weight:700}
.ost-dot{width:24px;height:24px;border-radius:50%;border:1.5px solid #c9d3df;display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:var(--muted);flex-shrink:0;font-weight:700}
.ost-step.is-current .ost-dot{border-color:var(--blue);color:var(--blue)}
.ost-step.is-done .ost-dot{border-color:#2e9d6a;background:#2e9d6a;color:white}
.ost-aside{border-top:1px solid var(--line);margin-top:10px;padding:12px 10px 0}
.ost-main{min-height:420px;display:flex;flex-direction:column}
.ost-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px 16px;border-bottom:1px solid var(--line)}
.ost-head h2{margin:2px 0 0;font-size:22px;color:var(--navy)}
.ost-count{font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ost-saved{font-size:13px;color:var(--muted);font-style:italic;white-space:nowrap;padding-top:4px}
.ost-body{padding:20px 24px;flex:1}
.ost-foot{display:flex;justify-content:space-between;gap:10px;padding:14px 24px;border-top:1px solid var(--line);background:#fbfcfe}
.borg-sub{font-size:13px;font-weight:700;color:var(--navy);margin:20px 0 10px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.borg-form .borg-sub:first-of-type{margin-top:6px}
.borg-owners{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:12px}
.borg-owners li{border:1px solid var(--line);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.borg-owner-grid{display:grid;grid-template-columns:2fr 1.4fr 1fr;gap:12px;width:100%}
.borg-warn{color:#a35b00;background:#fff6e8;border-radius:8px;padding:8px 12px;font-size:13px}
.borg-open{border:1px solid #f0d9b0;background:#fffaf1;border-radius:10px;padding:12px 14px;margin-bottom:6px}
.borg-open ul{list-style:none;margin:8px 0 0;padding:0}.borg-open li{display:flex;justify-content:space-between;gap:10px;padding:5px 0;font-size:14px;border-top:1px solid #f4e6cc}
.borg-ok{color:#1f7a50;font-weight:700}
.borg-done{display:flex;gap:10px;align-items:flex-start;background:#eef8f2;border-radius:10px;padding:12px 14px;margin-bottom:12px;color:#1f5c3f}
.borg-done div{display:flex;flex-direction:column;gap:2px;font-size:14px}
.borg-actions{margin-top:14px}
.borg-form textarea{font:inherit;border:1px solid var(--line);border-radius:8px;padding:10px;resize:vertical}
@media(max-width:900px){.ost{grid-template-columns:1fr}.ost-nav{position:static}.ost-nav ol{flex-direction:row;overflow-x:auto;gap:4px}.ost-step{white-space:nowrap;padding:7px 10px}.ost-step span:nth-child(2){display:none}.ost-step.is-current span:nth-child(2){display:inline}}
@media(max-width:600px){.ost-head,.ost-body,.ost-foot{padding-left:16px;padding-right:16px}.borg-owner-grid{grid-template-columns:1fr}.ost-foot .button{flex:1}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ost .org-events{grid-template-columns:1fr}.ost .org-events li:nth-child(odd){border-right:0}.ost .org-events li{padding:10px 4px}
.ost .org-list li{flex-wrap:wrap;padding-left:4px;padding-right:4px}.ost .org-list li>div{flex:1 1 280px;min-width:0}.ost .org-form-end{flex-wrap:wrap;justify-content:flex-end}
.ost-body>.panel{border:0;border-radius:0;margin:0;overflow:visible}
.ost-body>.org-section>.panel-title{padding:0 0 10px;border:0;justify-content:flex-end;min-height:0}
.ost-body>.org-section>.panel-title h2{display:none}
.ost-body>.org-hero{margin:0 0 16px;border-radius:12px}
.ost-body .org-lead,.ost-body .org-sub,.ost-body .org-facts,.ost-body .org-note,.ost-body .org-empty{padding-left:0;padding-right:0}
.ost-body .org-add,.ost-body>.org-section>.text-button{margin-left:0}
@media(min-width:601px){.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff22 transparent}}
.org-warn{color:#8a4b00;background:#fff6e8;border-radius:8px;padding:8px 12px;font-size:13px;margin:0 0 10px}
.org-missing{color:#a35b00;font-weight:700}
.org-notes-field textarea{font:inherit;border:1px solid var(--line);border-radius:8px;padding:10px;resize:vertical;font-weight:400;color:var(--ink)}
.update-bar{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:14px;background:var(--navy);color:white;padding:12px 14px 12px 18px;border-radius:12px;box-shadow:0 10px 30px #0b182a40;font-size:14px;max-width:calc(100vw - 32px)}
.update-bar .button{flex-shrink:0}
@media(max-width:600px){.update-bar{bottom:84px;left:16px;right:16px;transform:none;flex-direction:column;align-items:stretch;text-align:left}}
/* Retirement income lines in the tax profile */
.ret-card{border:1px solid var(--line);border-radius:12px;padding:16px;background:#fbfcfe}
.ret-intro{display:flex;flex-direction:column;gap:4px;font-size:14px;margin-bottom:12px}.ret-intro strong{color:var(--navy);font-size:15px}.ret-intro span{color:#5f7894;line-height:1.5}
.ret-row{background:white;border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:12px}
.ret-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.ret-head select{font-size:15px;font-weight:700}.ret-head .text-button{margin-left:auto}
.ret-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}
.ret-grid .field input,.ret-grid .field select,.ret-head select{font-size:16px;min-height:44px}
.ret-pct{display:flex;align-items:center;gap:6px}.ret-pct input{width:100px}.ret-pct b{color:var(--navy);font-size:16px}
.ret-sum{margin:12px 0 0;font-size:15px;color:var(--ink)}
.ret-add{display:flex;gap:10px;flex-wrap:wrap}.ret-add .button{min-height:44px;font-size:15px}
.ret-total{margin:14px 0 0;padding:10px 12px;background:#eef5fd;border-radius:8px;font-size:15px;color:var(--navy)}
.ret-linked input{background:#f3f6fa;color:var(--navy)}
@media(max-width:600px){.ret-grid{grid-template-columns:1fr}.ret-add .button{flex:1}}
.ret-head select{max-width:100%;min-width:0}@media(max-width:600px){.ret-head select[data-ret=kind]{flex:1 1 100%;width:100%}}
.ret-q{margin-bottom:12px}.ret-or{margin:14px 0 8px}
.tp-ladder{border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin:16px 0;background:white}
.tp-ladder h3{margin:0 0 8px;font-size:15px;color:var(--navy)}
.tp-ladder ol{list-style:none;margin:0;padding:0}
.tp-ladder li{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid var(--line);font-size:14px;color:var(--ink)}
.tp-ladder li:first-child{border-top:0}
.tp-ladder li span{display:flex;flex-direction:column;gap:2px}.tp-ladder li small{color:var(--muted);font-size:12.5px;font-weight:400}
.tp-ladder li b{white-space:nowrap;font-variant-numeric:tabular-nums}
.tp-ladder li.tl-total{font-weight:700;color:var(--navy)}
/* Required minimum distributions */
.rmd-rule{margin:12px 0 0;font-size:15px;color:var(--ink)}
.rmd-people input{font-size:17px;min-height:46px}
.rmd-person.is-due{border-color:#f0d9b0}.rmd-person.is-done{border-color:#bfe3cf}
.rmd-status{font-size:16px;line-height:1.55;margin:0 0 14px}.rmd-status strong{display:block;color:var(--navy);font-size:18px;margin-bottom:2px}
.rmd-group{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin-bottom:10px}
.rmd-group-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:15px}.rmd-group small{color:#5f7894;font-size:13px}
.rmd-bar{height:10px;border-radius:6px;background:#edf1f6;margin:8px 0;overflow:hidden}.rmd-bar span{display:block;height:100%;background:#2e9d6a;border-radius:6px}
.rmd-plan{font-size:14px;padding:8px 12px;border-radius:8px;margin:8px 0 0}.rmd-plan.ok{background:#eef8f2;color:#1f5c3f}.rmd-plan.short{background:#fff6e8;color:#8a4b00}
.rmd-note{font-size:13px;color:#5f7894;margin:8px 0 0}
.rmd-table td small{display:block;color:var(--muted);font-size:12.5px}.rmd-table td{font-size:14px}
.rmd-inh{border-color:#d9d2f0;background:#faf9fe}
/* Roth conversion planner */
.roth-layout{display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:18px;align-items:start}
.roth-form .form-grid{grid-template-columns:1fr 1fr}.roth-form .field input,.roth-form .field select{font-size:15px;min-height:42px}
.roth-summary{font-size:16px;line-height:1.6;color:var(--ink);margin:0 0 14px}
.roth-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}
.roth-kpi{background:var(--bg);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.roth-kpi small{font-size:12.5px;color:#5f7894}.roth-kpi strong{font-size:22px;color:var(--navy)}.roth-kpi span{font-size:12.5px;color:var(--muted)}
.roth-kpi.good strong{color:#1f7a50}.roth-kpi.warn strong{color:#a35b00}
.roth-chart{width:100%;height:auto;display:block}.roth-grid{stroke:#e5eaf1;stroke-width:1}.roth-axis{font-size:11px;fill:#8391a3}
.roth-bar{fill:#cfe0f5}.roth-line-base{stroke:#9aa5b4;stroke-width:2;stroke-dasharray:5 4}.roth-line-plan{stroke:#1878d3;stroke-width:2.5}
.roth-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:#5f7894;margin:4px 0 12px}.roth-legend i{display:inline-block;width:14px;height:10px;border-radius:2px;margin-right:5px;vertical-align:middle}
.roth-legend .lg-bar{background:#cfe0f5}.roth-legend .lg-base{border-top:2px dashed #9aa5b4;height:0;width:16px}.roth-legend .lg-plan{background:#1878d3;height:3px}
.roth-warn{margin:6px 0 12px;padding:10px 14px 10px 30px;background:#fff8ec;border-radius:10px;font-size:13.5px;color:#6b4a12;line-height:1.5}
.roth-years summary{cursor:pointer;font-weight:700;color:var(--navy);margin:6px 0}.roth-table td,.roth-table th{font-size:13px;white-space:nowrap}.roth-table td small{color:var(--muted)}.roth-table tr.is-conv td{background:#f5f9fe}
.roth-foot{font-size:12.5px;color:var(--muted);margin:12px 0 0}
@media(max-width:1100px){.roth-layout{grid-template-columns:1fr}}
@media(max-width:600px){.roth-form .form-grid{grid-template-columns:1fr}.roth-kpi strong{font-size:19px}}
.rc-verdict{font-size:16px;line-height:1.55;margin:0 0 12px;color:var(--navy)}.rc-line{font-size:14px;color:var(--ink);margin:6px 0}.rc-box{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin-top:10px;display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:1.5}.rc-box strong{color:var(--navy)}
/* Installed iPhone app: the page draws under the status bar (viewport-fit=cover, translucent status bar), so keep taps clear of it. Last in the file so every .topbar padding rule above keeps its sides. */
.topbar{box-sizing:content-box;padding-top:env(safe-area-inset-top,0px)}
dialog[open]{top:env(safe-area-inset-top,0px);bottom:env(safe-area-inset-bottom,0px);max-height:min(92dvh,calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px))}
