:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif;color:#252720;background:#f5f3ee;font-synthesis:none;--ink:#252720;--muted:#6a6c62;--line:#e7e6df;--gold:#92743b;--sand:#eee8db;--white:#fff;--green:#3f715b;--red:#a14839;--shadow:0 4px 24px #292b2110}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a98c5090;outline-offset:3px}svg{flex-shrink:0}h1,h2,h3,p{overflow-wrap:break-word}input,select,textarea{min-width:0}input[type=date]{min-height:46px}::selection{background:#dfd1b3}.workspace{min-height:100dvh;color:var(--ink);font-size:16px;-webkit-font-smoothing:antialiased;letter-spacing:-.012em;background:radial-gradient(ellipse at 95% 0,#ede6d940,transparent 45%),#f5f3ee}.skip-link{position:fixed;left:16px;top:-60px;z-index:200;background:#fff;padding:12px;border-radius:12px}.skip-link:focus{top:10px}.workspace-sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:#f1efe8;border-right:1px solid #e3e1d7;padding:32px 20px 20px;z-index:60;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;padding:0 8px 44px;color:var(--ink);font-weight:650;font-size:14px;letter-spacing:.08em}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:#2b2e27;border-radius:14px;color:#faf8f0;font-size:27px;letter-spacing:-.09em;position:relative;padding-right:4px;font-weight:500;box-shadow:0 5px 13px #1e23131c}.brand-mark>span{position:absolute;bottom:1px;right:4px;color:#d4bc7b;font-size:32px}.brand small{display:block;color:var(--muted);font-weight:400;letter-spacing:0;font-size:12px;margin-top:4px}.nav-section-label{font-size:12px;color:#787a70;letter-spacing:.11em;padding:0 13px 13px}.nav-item{display:flex;align-items:center;gap:13px;min-height:48px;width:100%;border:0;background:transparent;border-radius:12px;color:#66695f;padding:12px 14px;font-size:15px;text-align:left;position:relative;transition:background .18s,color .18s,transform .18s;margin-bottom:5px}.nav-item:hover{background:#e6e3d9;color:#272a23;transform:translate(2px)}.nav-item.active{background:#fff;color:#2b2d26;font-weight:600;box-shadow:0 3px 10px #33362008}.nav-item.active svg{color:#967941}.nav-active-mark{margin-left:auto;width:5px;height:18px;background:linear-gradient(#d7bf87,#a48a54);border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:32px}.workspace-identity{display:flex;align-items:center;gap:11px;padding:15px 8px;border-top:1px solid #dddcd3}.workspace-identity strong{font-size:13px;font-weight:600}.workspace-identity small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.avatar{width:37px;height:37px;display:grid;place-items:center;background:#e4decf;color:#6f5f3e;border:1px solid #d9d1bf;border-radius:50%;font-size:12px;font-weight:650;flex-shrink:0}.avatar-small{width:34px;height:34px}.logout{font-size:13px;padding-left:15px}.workspace-body{margin-left:244px;min-width:0}.workspace-topbar{min-height:76px;border-bottom:1px solid #e7e5dd;background:#faf9f5bb;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);position:sticky;top:0;z-index:40;padding:16px 40px;display:flex;justify-content:space-between;gap:16px;align-items:center}.topbar-location{display:flex;gap:14px;align-items:center;font-size:14px;color:#75776f;min-width:0}.topbar-location strong{color:#42453b;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb-separator{color:#b7b8ad}.topbar-actions{display:flex;gap:22px;align-items:center}.sync-button{display:flex;align-items:center;gap:7px;background:none;border:0;color:#707467;font-size:12px;white-space:nowrap}.workspace-main{max-width:1550px;padding:36px 40px 48px;margin:auto;outline:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.page-kicker{font-size:11px;letter-spacing:.16em;color:#8c7b56;font-weight:600;margin-bottom:8px}.page-heading h1{font-weight:560;font-size:34px;letter-spacing:-.045em;line-height:1.15;margin:0}.page-heading p{font-size:15px;color:#76796f;margin:10px 0 0;line-height:1.5}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:12px;padding:11px 17px;font-size:14px;font-weight:550;border:1px solid #e0dfd6;color:#45483e;background:#fff;transition:transform .18s,box-shadow .18s,background .18s;text-decoration:none}.button:hover{background:#fbfaf6;box-shadow:0 3px 8px #272e2110;transform:translateY(-1px)}.button:active{transform:translateY(1px)}.button:disabled{opacity:.5;box-shadow:none;transform:none}.button-dark{background:#2d3028;border-color:#2d3028;color:#fff;box-shadow:0 4px 10px #20241614}.button-dark:hover{background:#414636}.button-gold{background:#a08650;border-color:#a08650;color:#fff}.button-gold:hover{background:#8c733f}.button-quiet{background:transparent;border-color:transparent}.text-button{background:none;border:0;padding:4px 0;display:inline-flex;align-items:center;gap:7px;color:#84682e;font-size:14px;font-weight:550;text-align:left;text-decoration:none}.text-button:hover{color:#5d481b}.icon-button{width:40px;height:40px;border-radius:11px;background:#f4f2eb;border:0;display:grid;place-items:center;color:#6d7164}.mobile-menu,.mobile-dock,.sidebar-scrim{display:none}.workspace-footer{max-width:1550px;margin:0 auto;padding:0 40px 28px;display:flex;justify-content:space-between;color:#868a7c;font-size:12px}.page-enter{animation:page-in .32s cubic-bezier(.21,.8,.35,1)}@keyframes page-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.panel{background:var(--white);border:1px solid #e7e6df;border-radius:20px;box-shadow:0 2px 4px #24291f03;min-width:0;overflow:hidden}.panel-pad{padding:26px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.panel-heading h2,.panel h2{font-size:18px;font-weight:580;letter-spacing:-.025em;margin:0}.panel-heading p{margin:6px 0 0;color:var(--muted);font-size:13px}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:.07em;font-weight:550;color:#858778}.tabular{font-variant-numeric:tabular-nums}.pill{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:7px;font-size:12px;font-weight:500;white-space:nowrap;background:#f0f1ec;color:#66705c;line-height:1.2}.pill-gold{background:#f2eddf;color:#8c713a}.pill-green{background:#ebf4ed;color:#46775b}.pill-red{background:#fbefeb;color:#9e5141}.notice{display:flex;align-items:flex-start;gap:12px;background:#f4efdf;border:1px solid #e9dfc1;border-radius:12px;padding:16px;font-size:14px;line-height:1.5;color:#7b6534;margin-bottom:20px}.notice-danger{color:#9e4232;background:#fcf0ed;border-color:#efd4cc}.notice-success{color:#3f715b;background:#edf5ef;border-color:#d4e4d9}.notice-neutral{color:#626957;background:#f2f4ee;border-color:#e0e6d6}.notice strong{font-weight:600}.notice .text-button{margin-left:auto}.empty-state{padding:42px 24px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:12px;color:var(--muted)}.empty-state .empty-icon{width:60px;height:60px;border-radius:18px;display:grid;place-items:center;background:#f3f0e6;color:#a88e53}.empty-state h3{font-size:18px;font-weight:550;margin:0;color:var(--ink)}.empty-state p{max-width:370px;font-size:14px;line-height:1.6;margin:0}.empty-state .button{margin-top:8px}.metrics-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:18px;margin-bottom:24px}.metric{padding:25px;position:relative;min-width:0}.metric-main{color:#fdfcf8;background:linear-gradient(120deg,#2d3328,#434636);border-color:#394030}.metric-label{display:flex;align-items:center;gap:8px;font-size:13px;color:#727669;margin-bottom:17px}.metric-main .metric-label{color:#d4d7c6}.metric-value{font-size:clamp(25px,2.7vw,38px);font-weight:520;letter-spacing:-.045em;line-height:1.1;white-space:nowrap}.metric-value small{font-size:.57em;opacity:.7;margin-left:5px}.metric-foot{font-size:12px;margin-top:19px;color:#7b7f72;display:flex;gap:7px;align-items:center;line-height:1.45}.metric-main .metric-foot{color:#c3c9b2}.metric-main .metric-value{color:#f9f5e9}.overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px}.focus-panel{background:linear-gradient(155deg,#fffdf6,#f2ede0);border-color:#e3dbc6}.focus-top{display:flex;align-items:center;gap:10px;color:#997e42;font-size:12px;letter-spacing:.07em;margin-bottom:15px}.focus-panel h2{font-size:22px;line-height:1.35;margin-bottom:10px;font-weight:520}.focus-panel>p{font-size:14px;line-height:1.65;color:#79745f;margin:0 0 22px}.focus-list{margin-top:23px;padding-top:6px;border-top:1px solid #e5dfcf}.focus-item{padding:17px 0;border-bottom:1px solid #e5dfcf;display:flex;gap:12px}.focus-item:last-child{border:0;padding-bottom:0}.focus-number{font-size:12px;color:#a2987e;padding-top:2px}.focus-item strong{display:block;font-size:14px;font-weight:550}.focus-item small{display:block;margin-top:5px;line-height:1.5;font-size:12px;color:#827a65}.project-row{width:100%;display:grid;grid-template-columns:36px 1.35fr 1fr 100px 18px;gap:15px;align-items:center;border:0;border-top:1px solid #eeeee8;background:none;text-align:left;padding:19px 0;color:var(--ink);transition:background .18s}.project-row:hover{background:#faf9f4}.project-emblem{width:36px;height:40px;display:grid;place-items:center;border-radius:9px;background:#f1eee4;color:#8f7d53;font-size:12px;font-weight:600}.project-row strong{font-size:14px;font-weight:570;display:block}.project-row small{display:block;font-size:12px;color:#818576;margin-top:5px}.project-row-amount{font-size:14px;font-weight:570;text-align:right}.project-row .progress-cell{font-size:12px;text-align:right;color:#7b806f}.progress-track{height:5px;background:#e9ede3;border-radius:5px;overflow:hidden;margin-top:7px}.progress-track span{display:block;height:100%;background:#a6b493;border-radius:5px;transition:width .5s}.progress-track.is-gold span{background:#b7a370}.project-row .chevron-icon{color:#9b9e90}.overview-bottom{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.compact-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:15px 0;border-top:1px solid #eee}.compact-row strong{font-size:14px;font-weight:550;display:block}.compact-row small{display:block;font-size:12px;color:#7f8275;margin-top:5px}.project-toolbar{display:flex;gap:14px;justify-content:space-between;align-items:center;margin-bottom:22px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid #dfdfd3;border-radius:11px;background:#fcfcf9;padding:0 14px;color:#858979;max-width:380px;width:100%}.search-field input{background:none;border:0;outline:0;padding:12px 0;font-size:14px;width:100%;color:var(--ink)}.project-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.project-card{padding:26px;text-align:left;cursor:pointer;transition:transform .22s,box-shadow .22s,border-color .22s;color:var(--ink)}.project-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#cbc3ae}.project-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.project-card h2{font-size:22px;font-weight:520;margin-bottom:7px}.project-card .location{font-size:13px;color:#7a7f6f;margin:0 0 28px}.project-card-footer{border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:24px;font-size:13px}.project-card-value{font-size:28px;letter-spacing:-.04em;font-weight:500;margin-top:8px}.project-card-value small{font-size:15px;color:#8b8d7d}.project-card .project-emblem{width:46px;height:48px;font-size:14px}.project-detail-bar{display:flex;gap:14px;align-items:center;margin-bottom:22px}.project-detail-bar h2{margin:0;font-size:23px;font-weight:550}.project-detail-nav{display:flex;overflow:auto;gap:5px;padding:4px;background:#eceae1;border-radius:12px;margin-bottom:22px;scrollbar-width:none}.project-detail-nav button{border:0;background:none;white-space:nowrap;border-radius:9px;padding:11px 17px;font-size:14px;color:#757c68;flex:1}.project-detail-nav button.active{background:#fff;color:#30382a;box-shadow:0 2px 5px #2428190a}.project-summary{display:grid;grid-template-columns:1fr 1fr;gap:22px}.summary-data{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:20px}.summary-data dt{font-size:13px;color:#7a7f6e;margin-bottom:8px}.summary-data dd{font-size:17px;font-weight:550;margin:0}.inline-actions{display:flex;gap:10px;flex-wrap:wrap}.section-stack{display:grid;gap:22px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.data-table th{font-size:12px;font-weight:550;color:#868979;background:#fafbf7;padding:14px 20px;border-block:1px solid #eeeee7;white-space:nowrap}.data-table td{padding:19px 20px;border-bottom:1px solid #eeeee7;vertical-align:middle}.data-table tbody tr:hover{background:#fafbf7}.data-table strong{display:block;font-weight:550}.data-table small{display:block;color:#7d8371;font-size:12px;margin-top:5px}.data-table .money{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.table-action{background:none;border:0;color:#876e3d;padding:6px}.count-badge{font-size:12px;background:#eeece3;color:#7d7c6d;padding:3px 7px;border-radius:5px;margin-left:6px}.tabs{display:flex;gap:24px;align-items:center;padding:0 24px;border-bottom:1px solid #eeeee7}.tabs button{border:0;background:none;padding:19px 0 16px;position:relative;font-size:14px;color:#808574;white-space:nowrap}.tabs button.active{color:#4d513f;font-weight:600}.tabs button.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#a78e54}.invoice-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.invoice-metric{padding:20px 23px}.invoice-metric strong{font-size:26px;font-weight:520;display:block;margin-top:12px;letter-spacing:-.035em}.invoice-metric .eyebrow{letter-spacing:0}.invoice-metric small{font-size:12px;color:var(--muted);display:block;margin-top:10px}.dialog-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#1e231b60;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:24px}.dialog{background:#f9f8f3;border:1px solid #ffffff80;border-radius:24px;box-shadow:0 26px 100px #12190e33;width:min(100%,1080px);max-height:92dvh;display:flex;flex-direction:column;overflow:hidden;animation:page-in .25s}.dialog-header{padding:24px 30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e4e5da;gap:18px}.dialog-header h2{margin:0;font-size:23px;font-weight:550;letter-spacing:-.035em}.dialog-header p{margin:6px 0 0;color:#7c8271;font-size:13px}.dialog-body{overflow:auto;padding:26px 30px;min-height:0}.composer-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:26px}.composer-form{display:grid;gap:22px}.form-section{background:#fff;border:1px solid #e4e6dc;border-radius:16px;padding:22px;display:grid;gap:18px}.form-section h3{font-size:15px;font-weight:580;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:7px;font-size:13px;font-weight:500;color:#626953;line-height:1.5}.field input,.field select,.field textarea{width:100%;border:1px solid #dcdfd2;background:#fdfefb;border-radius:9px;padding:11px 12px;color:#313c24;font-size:16px;line-height:1.4}.field input:focus,.field textarea:focus,.field select:focus{border-color:#b4a47d;outline:3px solid #b4a47d20}.field input:disabled,.field select:disabled{background:#f0f2e9;color:#737b66;opacity:1}.field-hint{font-size:12px;line-height:1.5;color:#858b7b}.composer-summary{align-self:start;position:sticky;top:0}.composer-totals{background:#313929;color:#f6f8ec;border-radius:17px;padding:23px}.composer-totals>p{margin:0 0 24px;font-size:12px;letter-spacing:.08em;color:#c2ccb0}.total-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin:14px 0;color:#dbe0ce}.total-final{border-top:1px solid #59604c;margin-top:18px;padding-top:22px;color:#fff}.total-final strong{font-size:27px;font-weight:500;letter-spacing:-.03em}.composer-totals .muted{color:#b8c5a5;font-size:12px;line-height:1.5}.readiness{margin-top:20px;padding:20px;background:#fff;border:1px solid #e4e6dc;border-radius:15px}.readiness h3{margin:0 0 15px;font-size:14px;font-weight:600}.check-row{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.5;padding:8px 0;color:#8d7849}.check-row.ok{color:#53815c}.check-row svg{margin-top:1px}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 30px;border-top:1px solid #e0e3d7;background:#fff;flex-wrap:wrap}.dialog-footer .save-status{font-size:13px;color:#7b816f;display:flex;gap:7px;align-items:center}.dialog-footer-actions{display:flex;gap:10px}.invoice-preview{width:100%;height:62dvh;border:1px solid #e0e1d7;border-radius:10px;background:#fff}.settings-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-tile{display:flex;align-items:center;gap:16px;padding:24px;text-align:left;color:#434c35;transition:box-shadow .2s,transform .2s}.settings-tile:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.settings-tile>svg:first-child{color:#a19064}.settings-tile strong{display:block;font-size:16px;font-weight:550}.settings-tile small{display:block;font-size:13px;color:#838b75;margin-top:7px}.settings-tile>svg:last-child{margin-left:auto;color:#9fa891}.settings-form{max-width:900px}.save-bar{position:sticky;bottom:20px;z-index:10;display:flex;gap:14px;justify-content:space-between;align-items:center;padding:16px 20px;background:#ffffffed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid #e1e4d7;border-radius:15px;box-shadow:0 8px 30px #27321715;margin-top:22px}.save-bar p{margin:0;color:#7a8568;font-size:13px}.assistant-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:24px}.insight-list{display:grid;gap:14px}.insight-card{padding:22px;background:#fff;border:1px solid #e3e7d9;border-radius:16px}.insight-card h3{font-size:16px;font-weight:550;margin:12px 0 8px}.insight-card p{font-size:14px;line-height:1.6;color:#747f64;margin:0 0 16px}.insight-card .source-note{font-size:12px;color:#8a927c;margin-bottom:12px}.assistant-intro{background:linear-gradient(145deg,#343d2b,#4b503a);color:#f5f8ee;padding:28px;border-radius:20px}.assistant-intro h2{font-size:25px;font-weight:500;letter-spacing:-.035em;margin:20px 0 12px}.assistant-intro p{color:#cad3bb;font-size:14px;line-height:1.7}.assistant-quick{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.assistant-quick button{border:1px solid #dce3d0;border-radius:9px;padding:9px 12px;background:#fff;color:#63704f;font-size:13px}.assistant-quick button.active{background:#e8efdd;border-color:#b6c697;color:#40532c}.assistant-question{display:flex;gap:10px;margin-top:17px}.assistant-question textarea{flex:1;padding:12px;font-size:16px;border:1px solid #d9e0cb;border-radius:11px;resize:vertical;min-height:48px}.assistant-answer{margin-top:18px;font-size:15px;white-space:pre-wrap;line-height:1.7;padding:18px;background:#f2f5ec;border-radius:12px}.compact-notice{font-size:13px;color:#808871;line-height:1.65;margin:18px 0 0}.loading-skeleton{height:160px;background:linear-gradient(100deg,#eeefe7,#fafbf5,#eeefe7);background-size:200% 100%;animation:shimmer 1.6s infinite;border-radius:18px}@keyframes shimmer{to{background-position:-200% 0}}.workspace .sg-control{gap:22px}.workspace .sg-control .sg-card{padding:26px;gap:20px}.workspace .sg-control h2{font-size:22px;font-weight:550}.workspace .sg-control h3{font-size:16px;font-weight:570}.workspace .sg-control input,.workspace .sg-control select,.workspace .sg-control textarea{border-radius:10px;background:#fdfef9;border-color:#dce1d3;line-height:1.5}.workspace .sg-control .sg-list>li{padding:16px 0}.workspace .sg-control .sg-muted{line-height:1.6}.legacy-surface>div{gap:22px!important}.legacy-surface [style*="font-size: 9"],.legacy-surface [style*="font-size: 10"],.legacy-surface [style*="font-size: 11"]{font-size:12px!important}.legacy-surface [style*="font-size: 12"],.legacy-surface [style*="font-size: 13"]{font-size:14px!important}.legacy-surface button{min-height:38px}.legacy-surface input{font-size:16px!important}.workspace .sg-control .sg-table th{background:#f7f9f1}.workspace .sg-control .sg-error{border:1px solid #eac6b9}.workspace .sg-control .sg-notice{border:1px solid #e6d9b7}.workspace .sg-control .sg-pill{border-radius:7px}.sg-dialog-content .notice{margin:0}@media (min-width:1700px){.workspace-main{padding-top:46px}.metrics-grid{gap:24px}.metric{padding:30px}.workspace-sidebar{width:268px;padding-inline:25px}.workspace-body{margin-left:268px}}@media (max-width:1200px){.workspace-sidebar{width:210px;padding-inline:14px}.workspace-body{margin-left:210px}.workspace-topbar{padding-inline:26px}.workspace-main{padding:28px 26px 40px}.overview-grid{grid-template-columns:minmax(0,1.25fr) minmax(250px,1fr);gap:18px}.metric{padding:21px}.metric-value{font-size:28px}.project-row{grid-template-columns:32px 1fr 110px 16px;gap:10px}.project-row .progress-cell{display:none}.panel-pad{padding:22px}.page-heading h1{font-size:31px}.assistant-layout{grid-template-columns:1.25fr 1fr;gap:18px}}@media (max-width:960px){.workspace-sidebar{width:190px;padding-inline:10px}.workspace-body{margin-left:190px}.brand{font-size:12px;gap:9px;padding-left:5px}.brand-mark{width:36px;height:38px;font-size:24px}.nav-item{font-size:14px;gap:10px;padding:12px}.workspace-identity{gap:8px}.workspace-identity strong{font-size:12px}.workspace-identity .avatar{width:30px;height:30px;font-size:11px}.metrics-grid{grid-template-columns:1fr 1fr;gap:14px}.metric-main{grid-column:1/-1}.metric-main .metric-value{font-size:36px}.metric-main .metric-foot{margin-top:12px}.metric-main{padding:24px}.overview-grid{grid-template-columns:1fr}.overview-bottom{gap:18px}.project-cards{gap:16px}.project-card{padding:22px}.project-card h2{font-size:19px}.project-card-value{font-size:24px}.project-summary,.assistant-layout{grid-template-columns:1fr}.project-toolbar{align-items:flex-start}.page-heading{gap:15px}.new-invoice{padding:10px 12px;font-size:13px}.composer-layout{grid-template-columns:1fr}.composer-summary{position:static;display:grid;grid-template-columns:1fr 1fr;gap:18px}.readiness{margin:0}.dialog-body{padding:22px}.settings-menu{gap:14px}.settings-tile{padding:20px}.invoice-metric{padding:18px}.invoice-metric strong{font-size:23px}}@media (max-width:760px){.workspace-sidebar{transform:translate(-100%);width:260px;padding:28px 20px;transition:transform .22s}.workspace-sidebar.is-open{transform:translate(0)}.sidebar-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#222b1955;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:55;border:0}.workspace-body{margin-left:0}.workspace-topbar{min-height:64px;padding:10px 20px;gap:10px}.mobile-menu{display:grid;background:transparent;width:27px;height:34px;margin-left:-5px}.topbar-location{gap:10px;font-size:13px}.topbar-location>span:first-of-type,.breadcrumb-separator{display:none}.topbar-actions{gap:12px}.sync-button span{display:none}.workspace-main{padding:24px 20px 26px}.page-heading{margin-bottom:23px;align-items:flex-end}.page-heading h1{font-size:29px}.page-heading p{font-size:14px;max-width:240px;margin-top:8px}.page-kicker{font-size:10px}.new-invoice{min-width:42px;min-height:42px;font-size:0;gap:0;padding:10px}.new-invoice svg{width:21px;height:21px}.workspace-footer{padding:15px 20px 105px;font-size:11px}.workspace-footer>span:last-child{display:none}.mobile-dock{position:fixed;bottom:12px;bottom:max(12px,env(safe-area-inset-bottom));left:14px;right:14px;display:flex;padding:8px;background:#fffef8ef;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid #eeeadd;border-radius:22px;box-shadow:0 10px 45px #1b251b1c;z-index:50;max-width:480px;margin:auto}.mobile-dock button{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0;color:#969b87;padding:6px 0;min-width:0;border-radius:13px}.mobile-dock button.active{background:#f0eade;color:#91783f}.mobile-dock span{font-size:10px;font-weight:500;white-space:nowrap}.metrics-grid{gap:12px;margin-bottom:18px}.metric{padding:19px 17px}.metric-value{font-size:25px}.metric-label{font-size:12px;margin-bottom:13px}.metric-foot{font-size:11px;margin-top:14px}.metric-main{padding:24px}.metric-main .metric-value{font-size:38px}.metric-main .metric-foot{font-size:12px}.overview-grid,.overview-bottom{gap:18px}.overview-bottom{grid-template-columns:1fr;margin-top:18px}.panel-pad{padding:21px}.panel-heading{gap:12px;margin-bottom:18px}.panel-heading h2{font-size:17px}.project-row{grid-template-columns:31px 1fr 93px 12px;gap:10px;padding-block:18px}.project-row strong{font-size:13px}.project-row small{font-size:11px}.project-row-amount{font-size:13px}.project-row .project-emblem{width:31px;height:35px;font-size:11px}.focus-panel h2{font-size:22px}.project-cards{grid-template-columns:1fr;gap:17px}.project-card{padding:24px}.project-card h2{font-size:22px}.project-toolbar{flex-direction:column;gap:12px}.project-toolbar .search-field{max-width:none}.project-card-value{font-size:30px}.project-card .location{margin-bottom:22px}.project-detail-bar h2{font-size:21px}.project-detail-nav{margin-inline:-2px}.project-detail-nav button{padding:11px 13px;font-size:13px}.project-summary{gap:18px}.summary-data{gap:20px 15px}.summary-data dd{font-size:16px}.invoice-metrics{gap:10px;grid-template-columns:repeat(2,1fr)}.invoice-metrics>.invoice-metric:first-child{grid-column:1/-1}.invoice-metric{padding:18px}.invoice-metric strong{font-size:26px}.invoice-metrics>.invoice-metric:first-child strong{font-size:31px}.invoice-metric small{font-size:11px}.tabs{padding-inline:18px;gap:20px;overflow:auto}.data-table td{padding:17px 15px}.data-table th{padding:13px 15px}.dialog-scrim{padding:0;align-items:flex-end}.dialog{max-height:96dvh;border-radius:24px 24px 0 0;width:100%;border-bottom:0}.dialog-header{padding:22px 20px 18px}.dialog-header h2{font-size:21px}.dialog-body{padding:18px 16px}.composer-layout{gap:18px}.form-section{padding:20px 17px}.form-grid{gap:15px;grid-template-columns:1fr}.composer-summary{grid-template-columns:1fr}.dialog-footer{padding:15px 17px calc(15px + env(safe-area-inset-bottom));gap:12px}.dialog-footer-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}.dialog-footer-actions .button{padding-inline:11px;font-size:13px}.dialog-footer .save-status{font-size:12px}.settings-menu{grid-template-columns:1fr;gap:13px}.settings-tile{padding:22px}.save-bar{bottom:100px;padding:13px 15px;flex-wrap:wrap}.save-bar .inline-actions{margin-left:auto}.workspace .sg-control .sg-card{padding:21px;gap:18px}.workspace .sg-control .sg-grid{grid-template-columns:1fr}.workspace .sg-control .sg-actions{gap:10px}.assistant-intro{padding:24px}.empty-state{padding:34px 20px}.notice{padding:14px;font-size:13px;flex-wrap:wrap}.notice .text-button{margin-left:32px}}.finance-heading{padding:24px 24px 0}.finance-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.forecast-bars{display:grid;gap:18px;margin:28px 0}.forecast-row{display:grid;grid-template-columns:62px minmax(20px,1fr) 110px;gap:14px;align-items:center;font-size:13px;color:var(--muted)}.forecast-row strong{text-align:right;color:var(--ink);font-size:14px;font-weight:500}.forecast-track{height:8px;border-radius:9px;background:#efede5;overflow:hidden}.forecast-track>span{height:100%;display:block;border-radius:9px;background:linear-gradient(90deg,#cbbb95,#9d834c)}.summary-data dd small{display:block;line-height:1.6;margin-top:10px;font-size:12px;font-weight:400}.sync-button.is-loading svg{animation:sg-spin 1.1s linear infinite}@keyframes sg-spin{to{transform:rotate(360deg)}}.insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.assistant-answer{white-space:pre-wrap;line-height:1.8;font-size:15px;background:#f4f1e8;border-radius:16px;padding:24px;margin-top:20px}.assistant-intro h2{font-size:30px;font-weight:550;letter-spacing:-.04em}.check-row .text-button{display:flex;white-space:normal;font-size:12px;margin-top:7px}.invoice-preview{width:100%;height:60vh;border:1px solid #e4e0d7;border-radius:12px;background:#fff}.auth-screen{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:52px 22px 30px;background:radial-gradient(ellipse at 50% 15%,#e4d9bf65,transparent 55%),#f6f4ee;color:#30332b}.auth-top{display:flex;align-items:center;gap:12px;font-size:14px;letter-spacing:.15em;font-weight:600;margin-bottom:38px}.auth-top .brand-mark{letter-spacing:-.09em}.auth-card{width:100%;max-width:460px;background:#fffffff2;border:1px solid #e6e2d6;border-radius:25px;padding:36px;box-shadow:0 16px 70px #332d1610}.auth-card-heading h1{font-size:31px;font-weight:520;letter-spacing:-.04em;margin:11px 0 12px;line-height:1.2}.auth-card-heading p{font-size:15px;color:#737565;line-height:1.6;margin:0 0 29px}.auth-form{display:grid;gap:18px}.auth-form .field input{background:#fdfdf9;padding:13px 14px;border-radius:11px}.auth-links{display:flex;justify-content:space-between;gap:16px;margin-top:23px}.auth-links button{padding:0;background:none;border:0;color:#817044;font-size:13px}.auth-footer{display:flex;align-items:center;gap:8px;font-size:12px;color:#76796a;margin-top:34px}.auth-card .page-kicker{font-size:11px}@media (max-width:760px){.finance-heading{padding:21px 21px 0;align-items:flex-start;flex-wrap:wrap}.forecast-row{grid-template-columns:56px minmax(20px,1fr) 96px;gap:10px;font-size:12px}.forecast-row strong{font-size:13px}.insight-grid{grid-template-columns:1fr}}@media (max-width:520px){.auth-card{padding:29px 24px;border-radius:22px}.auth-screen{padding-top:34px}.auth-top{margin-bottom:29px}.auth-card-heading h1{font-size:29px}.auth-footer{margin-top:26px;font-size:11px}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media (max-width:760px){.workspace-sidebar{visibility:hidden}.workspace-sidebar.is-open{visibility:visible}.metric:not(.metric-main) .metric-label{min-height:28px}}.sg-control{display:grid;gap:1rem;font-size:1rem;line-height:1.5}.sg-control h2,.sg-control h3,.sg-control p{margin:0}.sg-control h2{font-size:1.35rem;letter-spacing:-.02em}.sg-control h3{font-size:1rem}.sg-control .sg-card{padding:1.4rem;display:grid;gap:1rem}.sg-control .sg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem}.sg-control label{display:grid;gap:.4rem;font-size:.875rem;font-weight:500}.sg-control input,.sg-control select,.sg-control textarea{font:inherit;font-size:1rem;color:inherit;border:1px solid #d5d0c7;background:#fff;border-radius:.65rem;padding:.7rem;width:100%;box-sizing:border-box}.sg-control input[type=checkbox]{width:1.2rem;height:1.2rem}.sg-control :focus-visible{outline:2px solid #8a6b35;outline-offset:3px}.sg-control .sg-muted{color:#625e56;font-size:.875rem}.sg-control .sg-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.sg-control button{font-size:.875rem!important}.sg-control .sg-notice{padding:.9rem 1rem;border-radius:.65rem;background:#f4eddd;color:#695128}.sg-control .sg-error{padding:.9rem 1rem;border-radius:.65rem;background:#fcece8;color:#932f20}.sg-control .sg-list{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}.sg-control .sg-list>li{padding:.9rem 0;border-bottom:1px solid #e5e1d9}.sg-control a{color:#70572e;text-underline-offset:3px;overflow-wrap:anywhere}.sg-control .sg-pill{font-size:.8125rem;padding:.25rem .65rem;border-radius:1rem;background:#ece9e1;white-space:nowrap}.sg-control .sg-ok{background:#e5f0e9;color:#28523c}.sg-control .sg-heading{display:flex;justify-content:space-between;gap:.8rem;align-items:flex-start;flex-wrap:wrap}.sg-control fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:1rem}.sg-control input:disabled,.sg-control select:disabled,.sg-control textarea:disabled{opacity:1;background:#f3f1ec;color:#5c574f}.sg-control .sg-table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}.sg-control .sg-table td,.sg-control .sg-table th{padding:.65rem .5rem;border-bottom:1px solid #e5e1d9;vertical-align:top}.sg-control .sg-table th{color:#625e56;background:#f3f1ec;position:sticky;top:0;z-index:1}.sg-control .sg-table input{min-width:110px}.sg-control details{padding:.75rem 0;border-bottom:1px solid #e5e1d9}.sg-control summary{cursor:pointer;font-weight:500;padding:.4rem 0}@media (max-width:520px){.sg-control .sg-card{padding:1.05rem}.sg-control .sg-actions>*{flex-grow:1}}:root{color-scheme:light;--ink:#202632;--muted:#687181;--line:#e2e6ed;--gold:#886c35;--sand:#f0ebe0;--green:#287464;--red:#a34344;--shadow:0 5px 24px #172b4810;background:#f1f3f7;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}body{background:#f1f3f7;color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #5882c4;outline-offset:3px}.workspace{background:radial-gradient(ellipse at 78% 0%,#dce5f76b,transparent 55%),#f3f4f7;min-height:100dvh}.workspace-sidebar{background:linear-gradient(165deg,#252b37,#191e27 75%);color:#eef1f8;border-right:1px solid #ffffff15;box-shadow:10px 0 40px #0e182508}.sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.brand{padding:0;margin:0;display:block;background:none;border:0;line-height:0}.brand img{display:block;width:160px;height:auto;object-fit:contain}.sidebar-close,.mobile-wordmark{display:none}.workspace-sidebar .nav-section-label{color:#a2abba;letter-spacing:.13em;font-size:11px;margin-bottom:13px}.workspace-sidebar .nav-item{color:#bfc7d4;min-height:48px;font-size:14px;border:1px solid transparent;transition:background .2s,color .2s,transform .2s}.workspace-sidebar .nav-item:hover{color:#fff;background:#ffffff0c}.workspace-sidebar .nav-item.active{background:linear-gradient(110deg,#ffffff18,#93b8ee13);border-color:#d3e0ff24;box-shadow:inset 0 1px #ffffff0c;color:#fff}.nav-active-mark{background:#d4b577;box-shadow:0 0 12px #e9c67855}.workspace-sidebar .workspace-identity strong{color:#edf0f5}.workspace-sidebar .workspace-identity small{color:#a2adbd}.workspace-sidebar .sidebar-bottom{border-color:#ffffff14}.workspace-sidebar .avatar{background:#ffffff10;color:#e1c68a;border:1px solid #ffffff12}.workspace-topbar{background:#f7f9fcbd;border-bottom:1px solid #ffffffab;box-shadow:0 1px #cbd3df4a;backdrop-filter:blur(28px) saturate(160%);-webkit-backdrop-filter:blur(28px) saturate(160%)}.topbar-location,.sync-button{color:#677181}.topbar-location strong{color:#323c4e}.avatar-small{background:linear-gradient(135deg,#e8edf7,#f4eee4);color:#5f6473;border:1px solid #fff;box-shadow:0 2px 8px #172d4610}.sync-button{min-height:44px;padding:9px;border-radius:12px}.sync-button:hover{background:#e5eaf27d}.workspace-main{max-width:1480px;margin:0 auto}.page-heading h1{font-weight:620;letter-spacing:-.045em}.page-heading p{color:var(--muted);font-size:15px;line-height:1.6}.page-kicker{color:#7b6c54;letter-spacing:.15em;font-weight:600}.workspace-footer{color:#7c8593;padding-bottom:60px}.panel{border:1px solid #fff;background:#ffffffda;box-shadow:0 4px 24px #17294507,0 0 0 1px #dce1ea60;border-radius:23px}.panel-heading h2{font-weight:600}.panel-heading p,.muted,.compact-notice{color:var(--muted)}.button{border-radius:13px;border-color:#dce2eb;color:#3a4658;background:#ffffffc9;min-height:46px;font-size:14px;box-shadow:0 1px 3px #152a4310}.button:hover{background:#f5f8ff;border-color:#c8d5e8;box-shadow:0 5px 15px #25385412}.button-dark{color:#fff;background:linear-gradient(145deg,#39465d,#252e40);border-color:#354156;box-shadow:inset 0 1px #ffffff21,0 5px 13px #17243f25}.button-dark:hover{background:linear-gradient(145deg,#445977,#29384f);color:#fff;border-color:#53698c}.button:disabled{cursor:not-allowed;opacity:.52}.text-button{color:#486b9c;min-height:36px;font-size:14px}.icon-button{min-width:44px;min-height:44px;color:#58677c;border-radius:13px}.metric-main{background:radial-gradient(ellipse at 98% 2%,#6c84ad66,transparent 70%),radial-gradient(ellipse at 5% 110%,#b39d6940,transparent 60%),linear-gradient(125deg,#222a39,#313f55);border-color:#50607a;box-shadow:0 12px 35px #24334f23,inset 0 1px #ffffff24}.metric-main .metric-label{color:#d1dbea}.metric-main .metric-value{color:#fff}.metric-main .metric-foot{color:#b9c9dd}.metric-main .metric-value small{color:#d9bd81;opacity:1}.metric-value{font-weight:560;letter-spacing:-.04em}.metric-label{font-size:14px;color:#5d6a7e}.metric-foot{font-size:12px;color:#768093;line-height:1.6}.metrics-grid>.metric:nth-child(2){background:linear-gradient(150deg,#fff,#eff7f5)}.metrics-grid>.metric:nth-child(3){background:linear-gradient(150deg,#fff,#eff3fb)}.focus-panel{background:radial-gradient(ellipse at 100% 0%,#c7d6f050,transparent 80%),linear-gradient(145deg,#fbfcff,#eef2fa);border-color:#fff}.focus-panel h2{color:#293750;font-weight:580}.focus-panel>p{color:#5e6e86;font-size:15px}.focus-top{color:#51709f}.focus-number{background:#e5eaf4;color:#516d97}.focus-list,.focus-item{border-color:#dbe2ee}.focus-item small{color:#6d7c90}.project-row{border-color:#e8ebf1}.project-row:hover{background:#f0f4fa}.project-row strong{font-size:15px}.project-row small{color:#737f91;font-size:12px;line-height:1.45}.project-emblem{border-radius:12px;background:#edf1f8;color:#556b91}.progress-track{background:#e6ebf3}.progress-track>span{background:linear-gradient(90deg,#7596cb,#9aadc9)}.project-card{transition:transform .23s cubic-bezier(.2,.8,.2,1),box-shadow .23s,border-color .23s}.project-card h2{font-weight:600}.project-card:hover{transform:translateY(-3px);box-shadow:0 14px 35px #253b5514;border-color:#d0dcef}.project-card .location{color:var(--muted)}.tabs{border-bottom-color:#e3e8f0}.tabs button{color:#657389;font-size:14px;min-height:54px}.tabs button.active{color:#355f96;border-color:#6488c1}.count-badge{background:#edf1f7;color:#61708a}.project-detail-nav button{font-size:14px;min-height:44px}.project-detail-nav button.active{background:#e4eaf5;color:#395c90}.search-field{background:#ffffffcf;border-color:#dde4ee;border-radius:14px;min-height:48px}.search-field input{font-size:16px}.data-table th{background:#f3f6fa;color:#657188;font-weight:550;font-size:12px}.data-table td{border-color:#edf0f5;font-size:14px}.data-table td small{color:#718099}.data-table .text-button{min-height:40px}.pill{border-radius:8px}.pill-gold{color:#80622f;background:#f4ecd9}.pill-green{color:#286957;background:#e6f3ed}.invoice-metric .eyebrow{font-size:13px;color:#68758a}.invoice-metric strong{font-weight:560}.invoice-metric small{color:#778298;line-height:1.5}.settings-tile{border-radius:20px}.settings-tile:hover{background:#f6f9ff;border-color:#d8e3f4}.settings-tile small{color:#6f7e94;font-size:13px}.field{font-size:14px;color:#5c687b}.field input,.field select,.field textarea{background:#fafbfd;border-color:#dce3ee;color:#283346;border-radius:12px;min-height:48px;font-size:16px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#759acb;outline:3px solid #759acb20}.field input[aria-invalid=true]{border-color:#c27277}.field-hint{color:#718198;line-height:1.6}.field-hint.invalid{color:#a4434b}.field input:disabled,.field select:disabled{background:#edf1f6;color:#768299}.form-section{background:#ffffffde;border-color:#e5eaf2;border-radius:20px}.form-section h3{font-size:15px;color:#35425a}.save-bar{border-color:#dce3ed;box-shadow:0 5px 22px #182d4610;background:#ffffffed;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.dialog-scrim{background:#0d182d70;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.dialog{border-color:#ffffffba;border-radius:27px;background:#f2f5fa;box-shadow:0 28px 100px #0d1b4b40}.dialog-header{border-color:#dce3ee;background:#ffffff8c}.dialog-header p{color:#6d7a91;font-size:14px}.dialog-footer{background:#ffffffed;border-color:#dce3ee}.dialog-body{overscroll-behavior:contain;scrollbar-gutter:stable}.composer-totals{background:linear-gradient(140deg,#edf2fa,#f7f3ea);border-color:#dfe6ef}.check-row{color:#728096;font-size:13px}.check-row.ok{color:#427768}.invoice-preview{border-radius:15px}.assistant-intro{background:linear-gradient(145deg,#f7faff,#ecf1fa);border-color:#fff}.assistant-answer{background:#edf2fa;color:#34445b;line-height:1.8}.insight-card{border-radius:20px}.empty-icon{background:#edf2fb;color:#6581ac}.empty-state h3{font-weight:590}.empty-state p{color:#748198}.workspace .sg-control .sg-card{background:#ffffffd9;border-color:#e0e6f0;border-radius:22px;box-shadow:0 4px 20px #19325706}.workspace .sg-control input,.workspace .sg-control select,.workspace .sg-control textarea{background:#fafbfd;border-color:#dce3ed;color:#283346;min-height:46px;font-size:16px;border-radius:11px}.workspace .sg-control button{min-height:44px}.workspace .sg-control .sg-table th{background:#f1f5fa}.workspace .sg-control .sg-muted{color:#6e7a8e}.studio-credit{position:fixed;z-index:115;right:22px;bottom:max(8px,env(safe-area-inset-bottom));font-size:11px;line-height:18px;letter-spacing:.015em;color:#778195;background:#f6f8fbd9;padding:2px 9px;border-radius:20px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);pointer-events:none}.studio-credit span{font-weight:550;color:#546176}.auth-screen{padding:38px 22px 72px;background:radial-gradient(ellipse at 75% 3%,#526a9550,transparent 54%),radial-gradient(ellipse at 10% 96%,#967b5033,transparent 50%),linear-gradient(145deg,#222a39,#121822);color:#eef2f8;min-height:100svh;justify-content:center}.auth-top{margin:0 0 30px}.auth-logo{display:block;width:210px;height:auto;filter:drop-shadow(0 2px 20px #d8bd7d12)}.auth-card{max-width:445px;padding:34px;background:linear-gradient(150deg,#fffffff7,#edf2f9ed);border:1px solid #ffffffbb;border-radius:28px;box-shadow:0 22px 65px #02091740,inset 0 1px #fff;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);color:#252e40}.auth-card-heading h1{font-size:32px;font-weight:610;letter-spacing:-.045em}.auth-card-heading p{color:#6e7a8c;line-height:1.6}.auth-card .page-kicker{color:#8a734d}.auth-form .field{color:#58667b}.auth-form .field input{background:#ffffffbd;border-color:#d5deeb;border-radius:13px;min-height:51px;padding:13px 14px}.auth-form .button{min-height:51px;margin-top:4px;border-radius:14px}.auth-links button{color:#4d6995;min-height:44px;font-size:13px;text-align:left}.auth-links button:last-child{text-align:right}.auth-links{margin-top:15px;gap:12px}.auth-footer{color:#a2b0c6;margin-top:24px;font-size:12px}.auth-footer svg{color:#c4ad7b}.auth-screen~.studio-credit,.auth-screen .studio-credit{color:#a9b4c7}.mobile-records,.tab-label-short{display:none}@media (hover:hover){.settings-tile:hover,.metric:not(.metric-main):hover{box-shadow:0 8px 30px #203c5a10}.mobile-dock button:hover{background:#e9eef880}}@media (max-width:960px) and (min-width:761px){.brand img{width:143px}.sidebar-brand-row{margin-bottom:25px}.workspace-topbar,.workspace-main{padding-inline:22px}.metric-main .metric-value{font-size:37px}}@media (max-width:760px){.workspace-sidebar{width:min(320px,calc(100vw - 38px));padding:26px 20px;padding-top:max(26px,env(safe-area-inset-top));z-index:80;box-shadow:18px 0 70px #09132745;transition:transform .28s cubic-bezier(.2,.85,.2,1),visibility .28s}.sidebar-brand-row{margin-bottom:28px}.brand img{width:155px}.sidebar-close{display:grid;color:#d2dbea;background:#ffffff0a;border:1px solid #ffffff12;flex-shrink:0}.sidebar-scrim{z-index:75;background:#10182765;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.workspace-sidebar .sidebar-bottom{padding-bottom:30px}.workspace-topbar{min-height:73px;padding:8px 16px;padding-top:max(8px,env(safe-area-inset-top));gap:12px}.mobile-menu{display:grid;width:44px;height:44px;margin-left:-4px;background:#ffffff9e;border:1px solid #fff}.mobile-wordmark{display:block;width:96px;height:auto;padding:6px 8px;border-radius:12px;background:#263247;border:1px solid #394760}.topbar-location{gap:12px}.topbar-location>strong{display:none}.topbar-actions{gap:5px}.sync-button{padding:10px;min-width:44px}.sync-button svg{width:19px;height:19px}.avatar-small{width:33px;height:33px;font-size:11px}.workspace-main{padding:25px 18px 24px}.page-heading{align-items:center;margin-bottom:24px;gap:16px}.page-heading h1{font-size:32px;line-height:1.12}.page-kicker{display:none}.page-heading p{font-size:14px;line-height:1.55;max-width:270px;margin-top:8px}.new-invoice{width:46px;height:46px;min-width:46px;min-height:46px;border-radius:15px}.new-invoice{padding:0;gap:0}.new-invoice-label{display:none}.new-invoice svg{width:22px;height:22px}.metrics-grid{gap:12px;margin-bottom:19px}.metric{border-radius:21px;padding:20px 17px}.metric-label{font-size:12px;line-height:1.5;align-items:flex-start;gap:7px;margin-bottom:13px;min-height:36px}.metric:not(.metric-main) .metric-label{min-height:40px}.metric-label svg{flex-shrink:0;margin-top:2px}.metric-value{font-size:clamp(21px,5.8vw,28px);letter-spacing:-.045em;white-space:normal;overflow-wrap:anywhere}.metric-foot{font-size:11px;line-height:1.55;min-height:32px;margin-top:12px}.metric-main{padding:25px 22px;border-radius:24px}.metric-main .metric-label{font-size:13px;min-height:0;margin-bottom:18px}.metric-main .metric-value{font-size:clamp(32px,9vw,43px);letter-spacing:-.045em}.metric-main .metric-foot{font-size:12px;min-height:0;margin-top:18px}.metric-main .metric-value small{font-size:.5em}.panel-pad{padding:22px 19px}.panel-heading{align-items:flex-start;gap:10px}.panel-heading h2{font-size:18px;line-height:1.35}.panel-heading .text-button{font-size:12px;gap:5px;white-space:nowrap;min-height:26px}.panel-heading p{font-size:12px}.panel{border-radius:22px}.overview-grid,.overview-bottom{gap:18px}.project-row{grid-template-columns:35px minmax(0,1fr) 16px;gap:4px 12px;padding:18px 0;align-items:start}.project-row .project-emblem{grid-row:1/3;width:35px;height:40px;margin-top:2px}.project-row>span:nth-child(2){grid-column:2;min-width:0}.project-row strong{font-size:14px;line-height:1.45;overflow-wrap:anywhere}.project-row small{font-size:12px;line-height:1.5;margin-top:3px}.project-row .project-row-amount{grid-column:2;grid-row:2;text-align:left;font-size:15px;margin-top:6px}.project-row>.chevron-icon{grid-column:3;grid-row:1/3;align-self:center}.project-row .progress-cell{display:none}.compact-notice{font-size:12px;line-height:1.7}.focus-panel h2{font-size:23px;line-height:1.35}.focus-panel>p{font-size:14px;line-height:1.75}.focus-panel .button{font-size:14px;min-height:46px;width:100%}.project-card{padding:24px 22px}.project-card h2{font-size:23px}.project-card-value{font-size:32px}.project-toolbar{gap:14px}.project-toolbar .inline-actions{width:100%;flex-wrap:wrap}.project-toolbar .button{flex:1}.project-detail-nav{position:relative;display:flex;overflow:auto;max-width:100%;scrollbar-width:none;padding:4px;background:#e7ecf4;border-radius:14px;margin:0 0 20px;gap:3px}.project-detail-nav button{flex:1;white-space:nowrap;padding:10px 13px;border-radius:11px;font-size:13px}.project-detail-nav button.active{background:#fff;box-shadow:0 2px 7px #1b345a0c;color:#3e5c87}.invoice-metrics{gap:12px}.invoice-metric{border-radius:21px;padding:20px 17px}.invoice-metric strong{font-size:clamp(21px,5.7vw,28px);overflow-wrap:anywhere}.invoice-metric .eyebrow{font-size:12px;min-height:34px;display:block;line-height:1.5}.invoice-metrics>.invoice-metric:first-child .eyebrow{min-height:0}.invoice-metric small{font-size:12px}.invoice-metrics>.invoice-metric:first-child{background:linear-gradient(125deg,#eef2fa,#fff)}.tabs{gap:4px;padding:5px;margin:15px;background:#e8edf5;border-radius:14px;border-bottom:0;overflow:visible;align-items:stretch}.tabs button{flex:1;min-width:0;min-height:44px;padding:9px 6px;border:0;border-radius:10px;font-size:13px;line-height:1.3;white-space:nowrap;gap:7px}.tabs button.active{border:0;background:#fff;box-shadow:0 2px 6px #2b416516}.tab-label-full{display:none}.tab-label-short{display:inline}.count-badge{padding:2px 6px;font-size:11px}.invoice-record-table{display:none}.mobile-records{display:grid;gap:12px;padding:16px}.mobile-record{padding:18px;background:#f8faff;border:1px solid #e3e9f3;border-radius:18px;min-width:0}.record-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.record-header h3{margin:0;font-size:16px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.record-header .pill{flex-shrink:0;font-size:11px}.record-subtitle{font-size:13px;color:#6c7c93;line-height:1.6;margin:9px 0 15px}.record-details{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:0 0 17px}.record-details dt{font-size:11px;color:#75839a;margin-bottom:5px}.record-details dd{margin:0;font-size:14px;line-height:1.5;color:#34445b;overflow-wrap:anywhere}.mobile-record>.button{width:100%;min-height:44px}.record-actions{display:flex;flex-wrap:wrap;gap:8px}.record-actions .button{flex:1;padding-inline:12px;font-size:13px}.dialog-scrim{padding:0;align-items:flex-end}.dialog{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));border-radius:27px 27px 0 0;border-bottom:0}.dialog-header{padding:21px 19px 17px;gap:12px;flex-shrink:0}.dialog-header h2{font-size:23px}.dialog-header p{font-size:12px;line-height:1.5}.dialog-body{padding:16px 14px;scrollbar-gutter:auto}.form-section{padding:20px 17px;gap:18px}.form-grid{grid-template-columns:1fr}.field{font-size:14px}.field input,.field select{min-height:49px}.field select{padding-right:28px;text-overflow:ellipsis}.form-section h3{font-size:14px}.composer-summary{display:grid;grid-template-columns:1fr}.dialog-footer{padding:13px 15px calc(36px + env(safe-area-inset-bottom));flex-shrink:0;gap:10px}.dialog-footer-actions{grid-template-columns:1fr 1fr;gap:9px}.dialog-footer-actions .button{min-height:48px;font-size:12px;line-height:1.4;white-space:normal;padding:9px}.dialog-footer-actions .button svg{flex-shrink:0;width:16px}.dialog-footer .save-status{font-size:12px}.invoice-preview{height:58dvh}.save-bar{bottom:calc(118px + env(safe-area-inset-bottom));padding:12px;gap:9px}.save-bar p{font-size:12px}.save-bar .button{font-size:13px;min-height:44px}.workspace .sg-control .sg-actions{flex-wrap:wrap}.workspace .sg-control .sg-actions button{font-size:13px;min-height:44px}.workspace .sg-control .sg-table{font-size:13px}.workspace .sg-control .sg-grid{grid-template-columns:minmax(0,1fr)}.workspace .sg-control label{font-size:14px}.workspace .sg-control .sg-card{padding:20px 17px}.workspace .sg-control input,.workspace .sg-control select,.workspace .sg-control textarea{max-width:100%;min-width:0}.mobile-dock{left:12px;right:12px;bottom:calc(31px + env(safe-area-inset-bottom));padding:7px;background:#ffffffd9;border-color:#ffffffef;border-radius:25px;box-shadow:0 9px 35px #21395c24,0 0 0 1px #d4ddea8c,inset 0 1px #fff;backdrop-filter:blur(30px) saturate(170%);-webkit-backdrop-filter:blur(30px) saturate(170%);gap:1px}.mobile-dock button{min-height:54px;padding:7px 0 6px;border-radius:18px;color:#68788e;gap:5px;transition:background .2s,color .2s,transform .2s}.mobile-dock button.active{background:linear-gradient(130deg,#e0e8f7,#edf1f9);color:#395d92;box-shadow:inset 0 1px #fff}.mobile-dock button:active{transform:scale(.94)}.mobile-dock span{font-size:11px;font-weight:550;letter-spacing:-.015em}.mobile-dock svg{width:21px;height:21px;stroke-width:1.7}.workspace-footer{padding:12px 18px calc(137px + env(safe-area-inset-bottom));font-size:12px}.studio-credit{right:auto;left:50%;transform:translate(-50%);bottom:calc(5px + env(safe-area-inset-bottom));white-space:nowrap;font-size:10px;line-height:17px;padding:1px 9px;background:#f4f7fbd9;color:#7b8699}.studio-credit span{color:#647389}.auth-screen{padding:38px 20px calc(63px + env(safe-area-inset-bottom));min-height:100svh;justify-content:center}.auth-top{margin-bottom:27px}.auth-logo{width:195px}.auth-card{padding:29px 24px;border-radius:26px;width:100%;max-width:425px}.auth-card-heading h1{font-size:29px}.auth-card .page-kicker{display:block;font-size:10px}.auth-card-heading p{font-size:14px;margin-bottom:25px}.auth-form{gap:17px}.auth-footer{font-size:11px;margin-top:23px}.auth-links button{font-size:12px;min-height:44px}.auth-links{margin-top:12px}}@media (max-width:360px){.workspace-main{padding-inline:14px}.workspace-topbar{padding-inline:12px}.page-heading h1{font-size:29px}.metric{padding-inline:14px}.metric-label{font-size:11px}.metric-main{padding:23px 19px}.metric-main .metric-value{font-size:33px}.mobile-dock{left:8px;right:8px;padding-inline:5px}.mobile-dock span{font-size:10px}.project-row{column-gap:9px}.panel-pad{padding-inline:16px}.tabs{gap:4px;padding:5px;margin:13px}.tabs button{font-size:12px}.auth-screen{padding-inline:15px}.auth-card{padding:26px 21px}}@media (max-height:700px){.auth-screen{justify-content:flex-start;padding-top:25px}.auth-logo{width:155px}.auth-top{margin-bottom:20px}.auth-footer{margin-top:17px}.auth-card{padding-top:25px;padding-bottom:22px}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media (prefers-contrast:more){.panel,.form-section,.field input,.field select,.field textarea{border-color:#a1aec1}.muted,.field-hint,.compact-notice{color:#4a5669}.workspace-sidebar .nav-item{color:#e0e6f0}}:root{--ink:#20252f;--muted:#687383;--line:#e8ebf0;--shadow:0 5px 30px #19273806}.workspace{background:radial-gradient(ellipse at 80% -10%,#e5eaf84d,transparent 60%),#f7f8fa}.workspace-sidebar{width:220px;background:#1d232e;box-shadow:none;padding:28px 20px}.workspace-body{margin-left:220px}.sidebar-brand-row{margin-bottom:44px}.brand img{width:140px}.workspace-sidebar .nav-item{min-height:50px;gap:13px}.workspace-sidebar .nav-item.active{background:#ffffff12;border-color:#ffffff0b;box-shadow:none}.nav-active-mark{display:none}.workspace-topbar{height:58px;border:0;background:transparent;box-shadow:none;padding:0 40px;position:relative;-webkit-backdrop-filter:none;backdrop-filter:none}.topbar-actions{margin-left:auto}.sync-button span,.avatar-small{display:none}.sync-button{color:#8290a3}.workspace-main{max-width:1180px;padding:12px 40px 28px}.page-heading{margin-bottom:30px;align-items:center}.page-heading h1{font-size:34px;font-weight:600;line-height:1.15}.page-heading .button{font-size:13px;padding:12px 17px}.workspace-footer{display:none}.panel{background:#fff;border:1px solid var(--line);box-shadow:none;border-radius:22px}.panel-heading h2{font-size:18px;letter-spacing:-.025em}.button{background:#fff;border-color:#e2e6ee;box-shadow:none;font-weight:550;border-radius:12px;min-height:44px}.button-dark{background:#293647;color:#fff;border-color:#293647;box-shadow:0 3px 7px #25384d12}.button-dark:hover{background:#35475f;border-color:#35475f}.text-button{font-size:13px}.muted{line-height:1.5}.calm-home{display:grid;gap:24px}.balance-surface{position:relative;isolation:isolate;overflow:hidden;border-radius:26px;padding:32px 36px;background:radial-gradient(ellipse at 100% 0%,#819ed653,transparent 60%),radial-gradient(ellipse at 25% 150%,#87795953,transparent 65%),#222d3e;color:#fff;display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:32px;box-shadow:0 16px 30px -22px #12203e90}.balance-surface:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;pointer-events:none;border:1px solid #ffffff25}.balance-primary>span{font-size:13px;color:#c3ccdc}.balance-primary>strong{display:block;font-size:clamp(30px,3.8vw,48px);line-height:1.2;letter-spacing:-.05em;font-weight:500;margin:12px 0}.balance-primary strong small{font-size:.65em;color:#c9d5e9;font-weight:400}.balance-secondary{border-left:1px solid #ffffff20;padding-left:32px;display:grid;gap:23px}.balance-secondary span{display:block;font-size:12px;color:#b8c6db;margin-bottom:7px}.balance-secondary strong{font-size:24px;font-weight:500;letter-spacing:-.025em}.quiet-details{font-size:12px;line-height:1.65;color:var(--muted)}.quiet-details summary{cursor:pointer;width:fit-content;min-height:30px;display:list-item;list-style-position:inside;padding:6px 0}.quiet-details p{margin:6px 0;max-width:560px}.balance-primary .quiet-details{color:#bbc9df}.balance-primary .quiet-details summary{padding:0;min-height:20px}.balance-primary .quiet-details p{color:#d3dded;font-size:12px}.next-step{display:flex;gap:18px;align-items:center;padding:6px 4px}.assist-mark{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#e2e9fb,#eee7f2);color:#6372a3;flex-shrink:0}.next-step-content{flex:1;min-width:0}.next-step .eyebrow{font-size:10px;color:#778196;letter-spacing:.09em}.next-step h2{font-size:17px;line-height:1.4;letter-spacing:-.025em;font-weight:600;margin:4px 0 0}.next-step .button{font-size:12px;flex-shrink:0}.next-step .quiet-details{font-size:11px}.project-list{padding:24px}.project-list .panel-heading{margin:0 0 12px}.project-row{padding:19px 0;display:grid;grid-template-columns:42px minmax(0,1fr) auto 16px;gap:14px;align-items:center;border-bottom:1px solid #eef0f4;text-align:left;background:none}.project-row:last-child{border-bottom:0}.project-row-title{min-width:0}.project-row strong{font-size:14px;font-weight:570}.project-row small{font-size:11px;margin-top:5px;color:#7b8594;display:block;line-height:1.5}.project-emblem{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#ecf0f7,#f5f6f9);box-shadow:inset 0 1px #fff;color:#647088;font-weight:550;font-size:12px;flex-shrink:0}.project-row-amount{font-size:14px;font-weight:550;text-align:right;white-space:nowrap}.project-row-amount small{font-weight:400}.project-card{padding:25px;min-height:0}.project-card h2{font-size:21px;margin:20px 0 8px}.project-card>.muted{font-size:12px}.project-card-footer{padding-top:22px;margin-top:22px;gap:12px;flex-wrap:wrap;line-height:1.5}.project-card-footer span{font-size:11px}.project-card-footer strong{font-size:17px;font-weight:550}.project-detail-nav{background:transparent;padding:0;box-shadow:none;border:none;gap:5px}.project-detail-nav button{border-radius:11px;font-size:13px}.project-detail-nav button.active{background:#e8edf6;color:#36547c;box-shadow:none}.invoice-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.segmented{display:flex;padding:4px;background:#eaeef4;border-radius:13px;gap:3px}.segmented button{border:0;background:none;padding:11px 14px;color:#768195;border-radius:10px;min-height:42px;font-size:13px;cursor:pointer;font-weight:550}.segmented button.active{background:#fff;color:#27374f;box-shadow:0 2px 5px #1f314b0c}.segmented span{margin-left:8px;font-size:11px;color:#7d8999}.action-menu{position:relative;z-index:8}.action-menu summary{cursor:pointer;display:flex;align-items:center;gap:7px;list-style:none}.action-menu summary::-webkit-details-marker{display:none}.action-menu[open] summary{background:#eef2f8}.action-menu>div{position:absolute;right:0;top:calc(100% + 8px);width:230px;max-width:80vw;background:#fff;padding:7px;border:1px solid #e5eaf2;border-radius:16px;box-shadow:0 12px 40px #1a2b4224;display:grid}.action-menu button{display:flex;gap:12px;align-items:center;border:0;background:none;text-align:left;min-height:46px;padding:10px;font-size:13px;color:#43536b;border-radius:9px;cursor:pointer}.action-menu button:hover{background:#f0f3f8}.invoice-search{margin-bottom:16px;max-width:380px}.inline-success{display:flex;gap:8px;align-items:center;color:#257564;font-size:13px;margin:0 0 18px}.trash-heading{margin:0 0 18px}.draft-row{padding:20px 24px;display:flex;align-items:center;gap:15px;border-bottom:1px solid #edf0f4}.draft-row:last-child{border-bottom:0}.draft-symbol{color:#7e8ba1;display:grid;place-items:center;width:38px}.draft-open{display:block;flex:1;min-width:0;text-align:left;border:0;background:none;cursor:pointer;color:var(--ink);padding:5px 0}.draft-open:disabled{opacity:1;cursor:default}.draft-open strong{display:block;font-size:15px;font-weight:560}.draft-open small{display:block;color:#6d7b90;font-size:12px;line-height:1.5;margin-top:4px}.draft-open time{display:block;font-size:11px;color:#8d96a6;margin-top:7px}.empty-state{padding:56px 20px}.empty-state h3{font-size:20px;font-weight:550}.empty-state p{font-size:13px;margin:8px 0 20px;max-width:300px}.empty-icon{background:#f0f3f8;color:#71839d;box-shadow:none;width:60px;height:60px}.finance-back{margin-bottom:20px}.dialog{width:min(680px,96vw);background:#fff;max-height:90dvh;border:1px solid #fff;display:flex;flex-direction:column}.dialog-header{padding:24px 28px;border:none;background:#fff;flex-shrink:0}.dialog-header h2{font-size:20px;font-weight:600}.wizard-steps{display:flex;list-style:none;gap:0;padding:0 28px 22px;margin:0;border-bottom:1px solid #eef0f5;flex-shrink:0}.wizard-steps li{display:flex;align-items:center;gap:8px;flex:1;font-size:12px;color:#8b96a7}.wizard-steps li>span{border:1px solid #e2e7ef;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-size:11px}.wizard-steps li.active{color:#365d97;font-weight:600}.wizard-steps li.active>span{background:#eaf1fb;border-color:#d9e6fb;color:#365d97}.wizard-steps li.complete>span{background:#f0f5f5;color:#4b7c74}.wizard-body{padding:28px;flex:1;min-height:0}.wizard-title{margin:0 0 22px;font-size:25px;font-weight:560;letter-spacing:-.03em;outline:none}.wizard-body .form-section{padding:0;border:0;box-shadow:none;background:none;gap:20px}.wizard-body .field input,.wizard-body .field select,.wizard-body .field textarea{background:#f8f9fb;border:1px solid #e4e9f0;box-shadow:none;border-radius:12px;min-height:49px}.wizard-body .field{color:#5c697c;font-size:12px;gap:8px}.selection-summary{display:flex;gap:16px;padding:20px;border-radius:17px;background:#f6f8fb;color:#65758c;align-items:center}.selection-summary strong{display:block;font-size:17px;font-weight:550;color:#3f506b}.selection-summary small{display:block;font-size:12px;margin-top:7px;line-height:1.5}.form-disclosure{border:1px solid #e7ebf1;border-radius:14px;background:#fff}.form-disclosure summary{padding:17px;display:flex;gap:12px;justify-content:space-between;font-size:12px;cursor:pointer;color:#5d6c80;list-style:none}.form-disclosure summary span:last-child{max-width:60%;text-align:right;color:#8490a0}.form-disclosure .form-section{padding:8px 17px 22px}.form-disclosure[open] summary{margin-bottom:8px}.review-total{text-align:center;padding:25px 15px 30px;border-radius:18px;background:#f5f7fb;display:grid;gap:10px;color:#6b7990;font-size:13px}.review-total strong{font-size:34px;letter-spacing:-.035em;font-weight:550;color:#2e405b}.review-total small{font-size:12px}.wizard-body .readiness{padding:0;background:none;border:0}.readiness h3{font-size:14px;font-weight:550}.check-row{padding:14px 0;border-bottom:1px solid #edf0f4;align-items:flex-start}.check-row .text-button{display:flex;font-size:12px;min-height:30px}.wizard-footer{padding:17px 28px 22px;background:#fff;display:flex;align-items:center;flex-shrink:0}.wizard-footer .save-status{font-size:11px;white-space:nowrap}.wizard-footer .dialog-footer-actions{display:flex;gap:8px}.wizard-footer .button{font-size:12px;padding:11px 16px}.confirm-dialog{background:#fff;border-radius:24px;padding:30px;width:min(440px,calc(100vw - 32px));box-shadow:0 20px 90px #16294935;max-height:85dvh;overflow:auto}.confirm-dialog h2{font-size:22px;letter-spacing:-.025em;margin:0 0 20px}.confirm-dialog p{font-size:14px;line-height:1.6;color:#67778c}.confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.assist-page{max-width:800px;margin:0 auto;display:grid;gap:38px}.assist-conversation{padding:12px 0}.assist-welcome{text-align:center;margin:0 0 24px}.assist-orb{width:72px;height:72px;border-radius:26px;display:grid;place-items:center;margin:0 auto 22px;background:radial-gradient(circle at 20% 20%,#f5faff,#d7e3fb 45%,#e7ddf2 75%,#f1e8e0);box-shadow:0 8px 30px #778ab52a,inset 0 1px 1px #fff;color:#7685af;animation:assist-float 6s ease-in-out infinite}.assist-welcome h2{font-size:28px;font-weight:550;letter-spacing:-.04em;line-height:1.25}.assist-welcome p{font-size:12px;color:#8290a3;margin:14px 0}.assist-suggestions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:20px 0 28px}.assist-suggestions button{background:#fff;border:1px solid #e4e9f1;border-radius:14px;display:flex;align-items:center;gap:10px;padding:13px;min-height:44px;cursor:pointer;color:#61748e;font-size:12px}.assist-composer{border:1px solid #dfe6f0;background:#fff;border-radius:21px;padding:15px;box-shadow:0 10px 35px #263d6408}.assist-composer textarea{border:0;outline:0;resize:vertical;max-height:180px;width:100%;font:inherit;font-size:15px;line-height:1.6;padding:4px;color:#344a69;background:transparent}.assist-composer>div{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:5px}.assist-checks{padding:22px 24px}.assist-checks .panel-heading{margin-bottom:12px}.insight-disclosure{border-top:1px solid #edf0f5}.insight-disclosure summary{list-style:none;cursor:pointer;display:flex;gap:13px;align-items:center;padding:17px 0;font-size:13px;font-weight:500;line-height:1.5;color:#475a74}.insight-disclosure summary::-webkit-details-marker{display:none}.insight-disclosure summary>span:nth-child(2){flex:1}.status-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#809ac1}.status-dot.urgent{background:#b96263}.status-dot.attention{background:#b69a63}.insight-disclosure[open] summary>svg{transform:rotate(90deg)}.insight-disclosure>div{padding:0 18px 18px;color:#6d7c91;font-size:13px;line-height:1.7}.insight-disclosure small{display:block;font-size:11px}.insight-disclosure .text-button{display:flex;margin-top:8px}.chat-messages{display:grid;gap:20px;margin-bottom:24px}.chat-message>span{font-size:11px;font-weight:600;color:#7b89a0}.chat-message p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:#394d69;margin:8px 0 0}.chat-message.user{justify-self:end;background:#eaf0f9;border-radius:18px 18px 4px;max-width:85%;padding:15px 20px}.chat-message.assistant{padding:4px 8px}.assist-loading{display:flex;gap:10px;align-items:center;font-size:12px;color:#75829a}.assist-loading span{width:7px;height:7px;border-radius:50%;background:#7299d6;animation:assist-float 1.5s ease-in-out infinite}.assist-conversation>.compact-notice{text-align:center;font-size:10px}.settings-menu{display:grid;grid-template-columns:1fr;gap:0;border:1px solid var(--line);border-radius:20px;overflow:hidden}.settings-tile{border:0;border-radius:0;min-height:65px;padding:18px 22px;border-bottom:1px solid #edf0f4;box-shadow:none}.settings-tile:last-child{border-bottom:0}.settings-tile small{display:none}.settings-tile strong{font-size:14px;font-weight:500}.settings-tile>svg:first-child{width:19px;color:#8593a8}.settings-form{max-width:800px}.settings-secondary{margin-top:16px}.settings-secondary>summary{padding:15px 2px;color:#76869b;font-size:13px;cursor:pointer}@keyframes assist-float{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@media (max-width:1000px) and (min-width:761px){.workspace-main{padding-inline:26px}.workspace-sidebar{width:200px;padding-inline:16px}.workspace-body{margin-left:200px}.balance-surface{padding:28px;gap:20px}.balance-secondary{padding-left:20px}.balance-secondary strong{font-size:21px}.next-step{flex-wrap:wrap}.next-step .button{margin-left:62px}}@media (max-width:760px){.workspace-sidebar{width:260px}.workspace-body{margin-left:0}.workspace-topbar{height:64px;padding:8px 18px;position:sticky;top:0;z-index:20;background:#f7f8fad9;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.topbar-location{gap:12px}.mobile-wordmark{width:72px;height:38px;padding:4px 10px;border-radius:12px}.workspace-main{padding:15px 20px calc(140px + env(safe-area-inset-bottom))}.page-heading{margin-bottom:24px;gap:10px}.page-heading h1{font-size:30px}.page-heading .new-invoice{min-width:44px;min-height:44px;width:44px;height:44px;padding:0;border-radius:14px}.page-heading .new-invoice-label{display:none}.page-heading .new-invoice svg{width:21px;height:21px}.calm-home{gap:23px}.balance-surface{display:block;padding:25px 23px;border-radius:24px}.balance-primary>span{font-size:11px}.balance-primary>strong{font-size:38px;margin:12px 0 8px}.balance-secondary{border:0;border-top:1px solid #ffffff20;padding:20px 0 0;margin-top:20px;grid-template-columns:1fr 1fr;gap:15px}.balance-secondary span{font-size:10px}.balance-secondary strong{font-size:19px;white-space:nowrap}.next-step{gap:12px;flex-wrap:wrap;align-items:flex-start;padding:0 2px}.assist-mark{width:38px;height:38px;border-radius:13px}.next-step h2{font-size:15px}.next-step-content{flex-basis:calc(100% - 50px)}.next-step .button{margin-left:50px;min-height:40px;font-size:11px;padding:10px 13px}.next-step .quiet-details summary{min-height:27px}.project-list{padding:20px 16px}.project-list .panel-heading{margin-bottom:3px}.panel-heading h2{font-size:17px}.project-list .text-button{font-size:11px}.project-row{grid-template-columns:32px minmax(0,1fr) auto;gap:10px;padding:19px 0;min-width:0}.project-row>.sg-icon{display:none}.project-row>svg{display:none}.project-row .project-emblem{width:32px;height:36px;border-radius:11px;font-size:10px}.project-row strong{font-size:12px;line-height:1.5}.project-row small{font-size:10px;margin-top:4px}.project-row-amount{grid-column:auto;grid-row:auto;font-size:12px;align-self:center}.project-row-amount small{font-size:9px}.project-card{padding:23px}.project-card h2{font-size:22px}.project-card-footer{margin-top:21px;padding-top:18px}.project-card-footer strong{font-size:16px}.invoice-tools{gap:8px;margin-bottom:20px}.segmented button{padding:9px 10px;font-size:12px}.segmented span{margin-left:5px}.action-menu>summary{font-size:12px;padding:10px 12px}.draft-row{padding:17px 14px;gap:9px;flex-wrap:wrap}.draft-symbol{width:25px}.draft-open strong{font-size:13px}.draft-open small{font-size:11px}.draft-edit{display:none}.draft-row>.button{margin-left:34px;font-size:12px}.empty-state{padding:44px 18px}.invoice-search{max-width:100%}.dialog{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));border-radius:24px 24px 0 0}.dialog-header{padding:20px 20px 14px}.dialog-header h2{font-size:18px}.wizard-steps{padding:0 20px 18px}.wizard-steps li{font-size:11px;gap:7px}.wizard-steps li>span{width:25px;height:25px}.wizard-body{padding:24px 20px}.wizard-title{font-size:23px}.wizard-footer{padding:13px 16px calc(34px + env(safe-area-inset-bottom));gap:9px;display:flex;flex-direction:column;align-items:stretch}.wizard-footer .save-status{font-size:10px;display:flex;justify-content:center}.wizard-footer .dialog-footer-actions{display:flex;width:100%;gap:7px}.wizard-footer .dialog-footer-actions>.button{flex:1;min-height:46px;font-size:12px;padding:10px}.wizard-footer .icon-button{min-width:38px;width:38px}.wizard-footer .save-status svg{width:13px}.review-total strong{font-size:30px}.confirm-dialog{margin:auto;padding:25px}.confirm-dialog h2{font-size:20px}.confirm-actions .button{font-size:12px;padding:11px}.assist-page{gap:25px}.assist-welcome h2{font-size:25px}.assist-orb{width:62px;height:62px;border-radius:23px;margin-bottom:20px}.assist-suggestions{display:grid;justify-content:stretch}.assist-suggestions button{justify-content:space-between}.assist-checks{padding:20px 18px}.insight-disclosure summary{font-size:12px;padding:16px 0}.assist-composer textarea{font-size:16px}.mobile-dock{display:flex;max-width:420px;margin:auto;left:16px;right:16px;padding:6px;border-radius:23px;box-shadow:0 8px 30px #25385d20}.mobile-dock button{flex:1;min-height:53px;gap:5px;border-radius:17px}.mobile-dock button.active{background:#eaf0fa;color:#486791;box-shadow:none}.mobile-dock span{font-size:10px}.mobile-dock svg{width:20px;height:20px}.settings-tile{padding:17px 18px}.settings-tile strong{font-size:13px}.project-summary{gap:16px}}@media (max-width:360px){.workspace-main{padding-inline:14px}.balance-primary>strong{font-size:34px}.balance-secondary strong{font-size:17px}.balance-surface{padding:23px 20px}.project-row{gap:8px;grid-template-columns:28px minmax(0,1fr) auto}.project-row strong,.project-row-amount{font-size:11px}.project-row small{font-size:9px}.project-row .project-emblem{width:28px}.segmented button{padding-inline:8px}.segmented span{margin-left:3px}.action-menu>summary{padding-inline:9px}.wizard-body{padding-inline:17px}.wizard-footer .dialog-footer-actions .button{font-size:11px}}@media (prefers-reduced-motion:reduce){.assist-orb,.assist-loading span{animation:none}}@media (max-width:760px){.project-row .project-emblem{grid-row:auto}.project-row .project-row-amount{grid-column:3;grid-row:1;text-align:right;font-size:12px;margin-top:0}.project-row>span:nth-child(2){grid-column:2;grid-row:1}}@media (max-width:360px){.project-row .project-row-amount{font-size:11px}}.more-insights>summary{font-size:12px;color:#70839f;cursor:pointer;min-height:44px;padding:15px 0;list-style-position:inside}.more-insights[open]>summary{margin-bottom:8px}.finance-details>summary{cursor:pointer;padding:14px 0;font-size:14px;color:#61758f;list-style-position:inside}.finance-details[open]>summary{margin-bottom:18px}:root{--ink:#302b24;--muted:#827768;--line:#eae5dc;--gold:#946b30;--sand:#f6efdf}.workspace{background:radial-gradient(ellipse at 85% 0%,#f1e8d966,transparent 62%),#faf9f6}.workspace-sidebar{background:linear-gradient(155deg,#302b23,#211f1c);border-color:#c4ac6e20}.workspace-sidebar .nav-item{color:#c7bfae}.workspace-sidebar .nav-item.active{background:linear-gradient(110deg,#b5965540,#d9be8120);border-color:#d0b57832;color:#f5deb0}.workspace-sidebar .nav-item.active svg{color:#e0c08a}.workspace-sidebar .nav-item:hover{background:#cbb37d17;color:#f5e5c3}.workspace-sidebar .workspace-identity small{color:#b5aa94}.workspace-sidebar .workspace-identity strong{color:#f0e9dd}.workspace-sidebar .avatar{background:#d7b87216;color:#d9bf88}.workspace-topbar{background:transparent}.sync-button{color:#9a8d76}.panel{border-color:#eae5dc}.button{color:#746249;border-color:#e3d9c8;background:#fffdf9}.button:hover{background:#f7f0e4;border-color:#cbb791}.button-dark{background:linear-gradient(135deg,#a07a3e,#80602d);border-color:#916c31;color:#fff;box-shadow:0 4px 12px #8f6e2e1c,inset 0 1px #e8cd9140}.button-dark:hover{background:linear-gradient(135deg,#957138,#735427);border-color:#88622c;color:#fff}.text-button{color:#96743c}.icon-button{color:#8e7d61}.panel-heading h2,.page-heading h1{color:#302b24}.balance-surface{background:radial-gradient(ellipse at 15% -10%,#fff9e6bb,transparent 58%),radial-gradient(ellipse at 110% 100%,#94703855,transparent 60%),linear-gradient(120deg,#dfc799,#c5a265);color:#43351f;box-shadow:0 12px 30px -23px #78582d9c}.balance-primary>span,.balance-primary .quiet-details{color:#6f5736}.balance-primary>strong{color:#443522;font-weight:550;text-shadow:0 1px #fff8dd65}.balance-primary strong small{color:#785b32}.balance-primary .quiet-details p{color:#5b452a}.balance-secondary{border-color:#94713d38}.balance-secondary span{color:#775b37}.balance-secondary strong{color:#463621}.project-emblem{background:linear-gradient(145deg,#f6edda,#eee2cb);color:#9a7b47;box-shadow:inset 0 1px #fffaf0}.project-row:hover{background:#fbf7ef}.project-row small{color:#9a8e7c}.project-row{border-color:#ece5da}.next-step .eyebrow{color:#9b8867}.next-step h2{color:#4c4131}.assist-mark{background:linear-gradient(135deg,#f4e8cb,#ebe0c9);color:#a27b3b}.assist-orb{background:radial-gradient(circle at 20% 15%,#fffaf0,#f3e0b8 43%,#d7bd85 77%,#ae8a4b);color:#92703c;box-shadow:0 8px 32px #bea16a36,inset 0 1px #ffffffe0}.assist-welcome h2{color:#53442f}.assist-welcome p{color:#9d8d73}.assist-composer{border-color:#e8decb;box-shadow:0 10px 35px #8f733508}.assist-composer textarea{color:#5c4d36}.assist-suggestions button{color:#8f7447;border-color:#eadfc9;background:#fffdf8}.chat-message.user{background:#f4ebda}.chat-message p{color:#5b4c36}.chat-message>span{color:#a39272}.insight-disclosure summary{color:#806d50}.insight-disclosure{border-color:#eee7da}.status-dot{background:#b79a61}.more-insights>summary{color:#9a7d4a}.assist-loading span{background:#c7a56b}.segmented{background:#ede6da}.segmented button{color:#9b8d75}.segmented button.active{color:#805c2d;background:#fffdfa}.segmented span{color:#a3947b}.invoice-direct-actions{display:flex;gap:8px;flex-wrap:wrap}.invoice-direct-actions .button{font-size:12px;gap:8px}.invoice-tools .action-menu[hidden]{display:none}.draft-symbol,.draft-open small,.draft-open time{color:#9a8970}.empty-icon{background:#f7f0e2;color:#ae8e53}.project-card-footer strong{color:#896932}.project-detail-nav button.active{background:#f0e5cf;color:#8e692f}.project-detail-nav button{color:#97866a}.settings-tile>svg:first-child{color:#b1986b}.settings-tile{border-color:#eee7dc}.settings-secondary>summary,.finance-details>summary{color:#9b7e49}.field input,.field select,.field textarea{border-color:#e3dbce;background:#fdfbf7}.search-field{background:#fffdf8;border-color:#e8decc}.search-field input{color:#605441}.form-section{border-color:#e9e0d1}.field,.field-hint{color:#94836b}.auth-screen{background:radial-gradient(ellipse at 75% 10%,#8d744943,transparent 55%),radial-gradient(ellipse at 0% 100%,#a2875330,transparent 65%),#25231f}.auth-card{background:linear-gradient(155deg,#fffdf8,#f8f2e7);border-color:#fff9e9}.auth-form .field input{border-color:#e5d9c4;background:#fffdf9}.auth-card-heading h1{color:#55452b}.auth-card-heading p,.auth-form .field{color:#948265}.auth-links button{color:#977944}.auth-footer{color:#b6a98b}.studio-credit{background:#faf8f2df;color:#a89b84}.studio-credit span{color:#8e7d60}.invoice-sheet{width:min(950px,96vw);background:#fffdf9}.invoice-sheet .dialog-header{background:#fffdf9;border-bottom:1px solid #eee7dc}.invoice-sheet-body{padding:26px;min-height:0;overflow-y:auto;flex:1}.invoice-sheet-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:30px;align-items:start}.invoice-fields{display:grid;gap:24px}.invoice-fields .form-section{padding:0;background:none;border:0;box-shadow:none;gap:16px}.invoice-fields .form-section h3{font-size:14px;color:#897047;font-weight:600;margin:0 0 3px}.invoice-fields .form-grid{gap:14px}.invoice-fields .field{font-size:12px;gap:7px;color:#8b7d65}.invoice-fields .field input,.invoice-fields .field select,.invoice-fields .field textarea{background:#f9f6ef;border:1px solid #e9e0d2;border-radius:12px;min-height:46px;color:#554937;box-shadow:none}.invoice-side{position:sticky;top:0;display:grid;gap:16px}.invoice-side .review-total{background:linear-gradient(135deg,#f5ecd9,#eee0c4);color:#967948;padding:25px 15px}.review-total strong{color:#775a2b;font-size:29px}.review-total small{color:#a18c68;font-size:11px}.invoice-side>.field-hint{font-size:12px;line-height:1.7;margin:0 4px}.billing-nudge{background:#f5eddf;border:1px solid #eadcc0;border-radius:12px;padding:11px 14px;font-size:12px;line-height:1.6;color:#9b8052}.billing-nudge .text-button{display:flex;min-height:32px;font-size:12px}.invoice-missing{border:1px solid #ebddbe;background:#f9f3e7;border-radius:14px;padding:15px;font-size:12px;color:#977744}.invoice-missing h3{font-size:13px;margin:0 0 12px}.invoice-missing p{margin:0;font-size:12px;line-height:1.6}.invoice-missing>div{border-top:1px solid #eadfc9;padding:10px 0}.invoice-missing>div:first-of-type{border-top:0}.invoice-missing .text-button{font-size:11px;text-align:left}.invoice-sheet-footer{background:#fffdf9;border-color:#eee3d3;padding:18px 26px;flex-shrink:0}.invoice-sheet-footer .button{font-size:13px}.invoice-sheet-footer .save-status{font-size:11px;color:#a29378}.invoice-sheet.is-review{width:min(900px,96vw)}.billing-setup{max-width:640px;margin:auto}.billing-setup-heading{display:flex;gap:14px;margin:0 0 25px;align-items:flex-start}.billing-setup h3{font-size:20px;margin:2px 0 8px;color:#735a34;letter-spacing:-.025em}.billing-setup-heading p{font-size:13px;line-height:1.6;color:#a08d6f;margin:0}.billing-setup .form-section{background:none;padding:0;border:0;box-shadow:none;gap:18px}.billing-setup .field{font-size:13px;display:flex;flex-direction:column;gap:9px}.billing-setup .field input,.billing-setup .field select{width:100%;min-height:48px;padding:12px;border-radius:12px;border:1px solid #e5dac7;background:#fbf7ef;font-size:15px;color:#69573a}.billing-setup small{font-size:11px;line-height:1.6;color:#aa9879}.billing-setup>.field-hint{font-size:12px;line-height:1.7;margin:20px 0}.billing-actions{display:flex;justify-content:flex-end;gap:10px;padding:5px 0 10px}.sg-control .sg-card{background:#fffdf9}.sg-control h3{color:#806337}.sg-control .sg-pill{background:#f4eddf;color:#9d8051}.sg-control input,.sg-control select,.sg-control textarea{border-color:#e4d9c5}.sg-control .sg-muted{color:#99866c}.sg-control .sg-list>li{border-color:#ece3d4}@media (max-width:760px){.workspace-topbar{background:#faf8f3df}.mobile-wordmark{background:#2c2922}.page-heading .new-invoice{width:auto;min-width:44px;padding:11px 13px;gap:6px;min-height:44px;border-radius:12px}.page-heading .new-invoice-label{display:inline;font-size:11px}.page-heading h1{font-size:27px}.page-heading .new-invoice svg{width:16px;height:16px}.mobile-dock{max-width:460px;left:10px;right:10px;background:#fffdf6e8;border-color:#fffdf8;box-shadow:0 7px 26px #8d744525}.mobile-dock button{min-width:0;border-radius:15px;color:#a49376}.mobile-dock button.active{background:linear-gradient(135deg,#f1e2c4,#f8f0dd);color:#9a783d}.mobile-dock span{font-size:9px}.mobile-dock svg{width:19px;height:19px}.balance-secondary{border-color:#97744738}.project-row .project-row-amount{color:#94723e}.invoice-tools{flex-wrap:wrap;gap:14px}.invoice-direct-actions{gap:8px}.invoice-direct-actions .button{min-height:40px;padding:9px 11px;font-size:11px}.invoice-sheet{width:100%;max-height:calc(100dvh - env(safe-area-inset-top))}.invoice-sheet-body{padding:22px 18px}.invoice-sheet-grid{grid-template-columns:1fr;gap:24px}.invoice-fields{gap:25px}.invoice-side{position:static;gap:12px}.invoice-side .review-total{padding:20px}.invoice-fields .form-grid{grid-template-columns:1fr;gap:16px}.invoice-fields .field input,.invoice-fields .field select,.invoice-fields .field textarea{font-size:16px;min-height:48px}.invoice-sheet-footer{padding:12px 15px calc(32px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:stretch;gap:9px}.invoice-sheet-footer .save-status{display:flex;justify-content:center;font-size:10px}.invoice-sheet-footer .dialog-footer-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.invoice-sheet-footer .button{font-size:12px;min-height:47px}.billing-setup{padding-bottom:26px}.billing-setup h3{font-size:19px}.billing-setup .form-grid{grid-template-columns:1fr}.billing-setup .field input,.billing-setup .field select{font-size:16px}.billing-actions{padding-bottom:15px}.studio-credit{background:#faf6ecdf}}@media (max-width:360px){.page-heading{gap:8px}.page-heading h1{font-size:25px}.page-heading .new-invoice{padding-inline:10px}.page-heading .new-invoice-label{font-size:10px}.mobile-dock span{font-size:8px}}.balance-primary>span,.balance-primary .quiet-details,.balance-secondary span{color:#584123}.text-button{color:#89662d}.field-hint,.muted,.project-row small,.billing-setup-heading p,.billing-setup small,.invoice-fields .field,.invoice-side>.field-hint,.sg-control .sg-muted{color:#817057}.billing-nudge,.billing-nudge .text-button{color:#83632f}.invoice-sheet-footer .save-status{color:#827158}.assist-welcome p,.insight-disclosure>div,.insight-disclosure small,.more-insights>summary{color:#847056}.workspace-main,.workspace-content,.section-stack,.sg-control,.sg-card,.panel,.form-section,.field,.form-grid,.sg-grid,.settings-form,.invoice-fields,.invoice-side,.dialog-body,.dialog-footer,.save-bar{min-width:0;max-width:100%}fieldset{min-inline-size:0;max-inline-size:100%;margin-inline:0}label{min-width:0;overflow-wrap:anywhere}input:not([type=checkbox]):not([type=radio]),select,textarea{box-sizing:border-box;min-width:0;max-width:100%;width:100%}input[type=date]{min-inline-size:0;inline-size:100%;-moz-appearance:none;appearance:none;-webkit-appearance:none}input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field>small,.notice,.record-subtitle,.draft-open,.settings-tile>span{overflow-wrap:anywhere}.inline-actions,.save-bar,.record-actions,.invoice-direct-actions{flex-wrap:wrap}.table-wrap,.sg-card>div{max-width:100%}.correction-actions{display:flex;gap:10px;flex-wrap:wrap}.correction-actions .button{flex:1 1 150px}.history-record{padding:20px;border-bottom:1px solid var(--line,#e8e3d8)}.history-record h3{margin:0 0 5px;font-size:16px}.history-record p{margin:5px 0 14px;color:var(--muted,#716b5e);overflow-wrap:anywhere}.history-record .record-header{flex-wrap:wrap;gap:10px}.document-actions{display:flex;gap:10px;flex-wrap:wrap}.document-actions>*{flex:1 1 150px}@media (max-width:640px){.form-grid,.sg-grid{grid-template-columns:minmax(0,1fr)}.form-section{padding:18px 16px}input,select,textarea{font-size:16px!important}.field,.sg-control label{font-size:14px}.dialog-footer-actions{display:flex;flex-wrap:wrap;min-width:0}.dialog-footer-actions>*{min-width:0;flex:1 1 110px;white-space:normal}.save-bar>*,.invoice-tools>*{min-width:0}.invoice-tools{gap:12px}.invoice-direct-actions{width:100%}.invoice-direct-actions .button{flex:1 1 auto}}.document-preview{width:100%;min-width:0;overflow:hidden;border:1px solid #e7e1d7;border-radius:8px;background:#fff;box-shadow:0 8px 24px #382a1510}.invoice-sheet.is-review{max-width:860px}.correction-actions{display:flex;flex-wrap:wrap;gap:14px}.history-record{padding:20px;border-bottom:1px solid var(--line,#e7e1d7)}.history-record:last-child{border-bottom:0}.history-record h3{margin:0;font-size:16px}.history-record p{margin:6px 0 14px;color:var(--muted,#827c71);font-size:13px}.history-record .record-header,.invoice-tools{flex-wrap:wrap}.invoice-tools .segmented{max-width:100%}@media (max-width:640px){.invoice-direct-actions{flex-wrap:wrap;gap:8px}.document-actions{align-items:stretch}.invoice-sheet-footer .save-status,.invoice-sheet-footer .dialog-footer-actions{width:100%}.invoice-sheet-footer .dialog-footer-actions .button{flex:1;justify-content:center;padding-inline:12px}}.document-actions>.correction-actions{flex-basis:100%}.document-actions>div:first-child>.button{width:100%;justify-content:center}.panel-heading{flex-wrap:wrap;gap:12px}.project-row,.project-card{border-left:3px solid var(--project-line,#d4b675)}.project-row{padding-left:14px}.project-row .project-emblem,.project-card .project-emblem{background:var(--project-bg,#f6ecd8);color:var(--project-color,#8b6528)}.project-card .project-card-footer{border-top-color:var(--project-line,#d4b675)}.project-card .project-card-footer strong{color:var(--project-color,#8b6528)}.project-detail-bar{border-left:4px solid var(--project-line,#d4b675);padding-left:12px;flex-wrap:wrap}.project-tag{display:inline-block;border-radius:6px;padding:4px 7px;background:var(--project-bg);color:var(--project-color);font-size:12px;line-height:1.35;white-space:normal}.signal-badge{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500;line-height:1.4;padding:5px 9px;border-radius:7px;white-space:normal}.signal-badge>span{display:block;width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.signal-red{background:#fcebe9;color:#a73831}.signal-amber{background:#fff3d8;color:#8b5a0a}.signal-green{background:#e7f4eb;color:#226b46}.signal-gray{background:#eff1f4;color:#606b78}.signal-blue{background:#eaf1fc;color:#315f9d}.project-row-title>.signal-badge{margin-top:6px}.signal-legend{margin:14px 0;color:#82715a;font-size:13px}.signal-legend>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px}.priority-urgent{border-left:4px solid #cf6459;background:#fff6f3}.priority-attention{border-left:4px solid #c69b40;background:#fffbef}.payment-stage{border-left:3px solid #d7be86}.payment-stage.stage-1{border-left-color:#91b0e2;background:#f5f8fe}.payment-stage.stage-2{border-left-color:#7fbeaf;background:#f3faf7}.payment-stage.stage-3{border-left-color:#b9a0d3;background:#f8f5fc}.payment-stage.stage-0{border-left-color:#d7be86;background:#fcfaf4}.settings-group>h2{font-size:16px;margin:0 0 14px;color:#695b47}.settings-menu .settings-tile strong{font-size:14px}.settings-menu .settings-tile small{font-size:13px;line-height:1.45}.admin-project-row{border-left:3px solid var(--project-line);padding:22px;border-bottom:1px solid #eae5dc;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}.admin-project-row h3{font-size:16px;margin:0}.admin-project-row p{margin:7px 0 0;color:#80776b;font-size:13px}.admin-fields{display:grid;gap:18px;padding:22px 0;border:0}.color-picker{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}.color-picker button{display:flex;align-items:center;gap:8px;border:1px solid;border-radius:10px;padding:10px 12px;font:inherit}.color-picker button.selected{outline:2px solid currentColor;outline-offset:2px}.color-picker button span{display:block;width:10px;height:10px;border-radius:50%}.import-panel{margin:18px 0;background:#f8faff;border-color:#c7d5eb}.import-panel .form-grid{margin:18px 0}.import-preview{max-height:340px;overflow:auto;margin:20px 0}.import-preview .data-table{min-width:450px}.task-delete{margin-top:14px}.sg-control .sg-list li{border-left:2px solid #d3bea0;padding-left:14px}@media (max-width:640px){.project-row{padding-left:9px}.project-row-title>.signal-badge{font-size:11px;padding:4px 6px;gap:5px}.project-detail-bar h2{flex:1;min-width:0;font-size:19px}.admin-project-row{padding:18px 15px}.sg-control .sg-grid{grid-template-columns:minmax(0,1fr)}.sg-control .sg-heading{flex-wrap:wrap;gap:12px}.sg-control .sg-heading .sg-actions{width:100%}.settings-menu{grid-template-columns:minmax(0,1fr)}}
