:root{--ink:#19342f;--muted:#66766f;--line:#dce4df;--paper:#f6f8f4;--green:#176951;--soft:#e5f1e9;--amber:#91601e;--amber-bg:#fff4df;--white:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:10px 15px;font-weight:600}button:hover{background:#edf3ee}button:disabled{cursor:default;opacity:.55}button.primary{background:var(--green);border-color:var(--green);color:white}button.primary:hover{background:#11543f}a{color:var(--green);text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #65a88b;outline-offset:3px}input,select,textarea{border:1px solid #cbd7d0;border-radius:8px;background:white;color:var(--ink);padding:11px;width:100%;min-width:0}textarea{resize:vertical;min-height:110px}label{display:block;font-size:12px;font-weight:700;letter-spacing:.01em;margin:14px 0 6px}label.check{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400;line-height:1.5}label.check input{width:auto;margin-top:3px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.2px;line-height:1.15;margin-bottom:12px;font-weight:650}h2{font-size:18px;letter-spacing:-.35px}h3{font-size:15px}p{line-height:1.6}small,.muted{color:var(--muted)}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.4px;font-weight:700;color:var(--muted);margin-bottom:14px}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);padding:28px 19px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:28px;font-weight:750;letter-spacing:0px}.brand span{font-weight:650}.sidebar>.brand{margin:0 0 32px 12px}nav{display:grid;gap:5px}nav a{display:flex;align-items:center;gap:13px;color:#5b6c64;text-decoration:none;border-radius:8px;padding:12px;font-size:13px}nav a.active{background:var(--soft);color:var(--green);font-weight:700}.nav-icon{width:17px;text-align:center;font-size:17px}.nav-count{margin-left:auto;font-size:11px;padding:2px 5px;background:white;border-radius:4px}.nav-label{font-size:10px;letter-spacing:1.2px;color:#8b958e;margin:28px 12px 10px}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:20px 7px 0;display:flex;gap:10px;align-items:center;font-size:12px}.avatar{width:33px;height:33px;background:#edf0e7;border-radius:50%;display:grid;place-items:center;font-weight:700}.sidebar-foot small{display:block;font-size:10px;margin-top:4px}.main{padding:0 38px 42px;max-width:1800px;width:100%}.topbar{height:83px;display:flex;justify-content:space-between;align-items:center;font-size:12px;border-bottom:1px solid var(--line);margin-bottom:30px}.topbar .right{display:flex;gap:18px;align-items:center}.pill{display:inline-flex;align-items:center;gap:6px;background:var(--soft);color:var(--green);font-size:11px;font-weight:650;padding:5px 9px;border-radius:5px;white-space:nowrap}.pill.amber{color:var(--amber);background:var(--amber-bg)}.pill.gray{background:#edf0ee;color:#65736b}.dot{width:5px;height:5px;background:currentColor;border-radius:50%}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin:30px 0 23px}.page-head p{color:var(--muted);font-size:13px;max-width:730px;margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:22px 0 29px}.stat{border:1px solid var(--line);background:white;padding:21px 23px;border-radius:11px}.stat .label{font-size:11px;color:var(--muted);margin-bottom:13px}.stat strong{display:block;font-size:29px;letter-spacing:-1px;font-weight:600;margin-bottom:9px}.stat small{font-size:10px}.grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:11px;padding:23px;min-width:0}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.panel-header h2{margin-bottom:0}.panel p:last-child{margin-bottom:0}.step{display:flex;gap:13px;padding:17px 0;border-top:1px solid #edf0ed}.step:first-of-type{border-top:0}.stepnum{flex:0 0 27px;width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--muted);font-size:11px}.stepnum.done{background:var(--soft);color:var(--green);border-color:var(--soft)}.step strong{font-size:12px;display:block;margin:2px 0 5px}.step small{font-size:11px;line-height:1.5;display:block}.notice{border:1px solid #e4ddc9;background:#fffaf0;border-radius:8px;padding:14px 17px;font-size:12px;color:#74603e;line-height:1.6;margin:18px 0}.sourcebar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;line-height:1.6;color:var(--muted);padding:17px 0}.toolbar{display:flex;gap:12px;margin:16px 0;align-items:center}.toolbar input{max-width:380px}.toolbar select{max-width:190px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:white}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{background:#f8faf7;font-size:10px;color:#748078;font-weight:600;letter-spacing:.4px;text-transform:uppercase;padding:15px 17px;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:16px 17px;border-bottom:1px solid #edf1ec;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fbf8}td strong{font-weight:600}td small{display:block;margin-top:6px;font-size:10px}.money{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.link-button{background:none;border:0;padding:0;color:var(--green);text-align:left;font-weight:600}.empty{text-align:center;padding:58px 20px;color:var(--muted);line-height:1.8}.empty h3{color:var(--ink)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .full{grid-column:1/-1}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.stack{display:grid;gap:18px}.metric-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid var(--line);font-size:12px}.metric-row:first-of-type{border:0}.metric-row strong{font-size:13px}.activity{padding:12px 0;border-top:1px solid #edf0ed;font-size:12px}.activity small{display:block;font-size:10px;margin-top:5px}.locked{max-width:530px;margin:12vh auto;background:white;padding:40px;border:1px solid var(--line);border-radius:18px}.locked .brand{margin-bottom:35px}.locked p{color:var(--muted)}.locked .primary{width:100%;margin-top:20px}.locked h1{font-size:30px}.locked small{display:block;margin-top:20px;line-height:1.6}#toast{position:fixed;bottom:24px;right:24px;max-width:460px;background:#173d31;color:white;border-radius:9px;padding:15px 21px;box-shadow:0 6px 25px #173d3122;z-index:50;display:none}#toast.show{display:block}dialog{border:1px solid var(--line);border-radius:15px;padding:30px;width:min(690px,94vw);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#15372b55;backdrop-filter:blur(2px)}dialog .close{float:right;border:0;font-size:20px;padding:2px 9px}dialog h2{font-size:23px;margin-right:35px}dl{display:grid;grid-template-columns:150px 1fr;gap:12px;font-size:12px;line-height:1.5}dt{color:var(--muted)}dd{margin:0;word-break:break-word}.divider{border:0;border-top:1px solid var(--line);margin:23px 0}.code{font-family:ui-monospace,monospace;font-size:11px;line-height:1.5}.import-area{min-height:130px}.tabs{display:flex;gap:5px;margin-bottom:18px}.tabs button.selected{background:var(--soft);border-color:#c9ded0;color:var(--green)}.readiness{font-size:12px;line-height:1.6}.wide-link{display:flex;justify-content:space-between;padding:16px 0;border-top:1px solid var(--line);text-decoration:none;font-size:12px}.footer-note{margin-top:25px;font-size:10px;color:var(--muted);line-height:1.6}.light-button{background:transparent;font-weight:500;font-size:11px;padding:6px 9px}.source-fields{max-height:180px;overflow:auto;background:#f7f9f5;padding:14px;white-space:pre-wrap;font-size:11px;line-height:1.6}
@media(min-width:1600px){.main{padding-left:52px;padding-right:52px}.stat{padding:26px}.grid{grid-template-columns:1.8fr 1fr}}
@media(max-width:1050px){.shell{grid-template-columns:190px minmax(0,1fr)}.main{padding:0 22px 30px}.sidebar{padding:25px 12px}.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.topbar .right{gap:8px}}
@media(max-width:680px){.shell{display:block}.sidebar{position:static;height:auto;padding:18px}.brand{font-size:24px}.sidebar>.brand{margin-bottom:0}.sidebar-foot,.nav-label{display:none}nav{display:flex;overflow:auto;margin-top:17px}nav a{white-space:nowrap;padding:10px}.nav-icon,.nav-count{display:none}.main{padding:0 15px 25px}.topbar{height:60px;margin-bottom:20px}.topbar .breadcrumb{display:none}.topbar .right{width:100%;justify-content:space-between}.page-head{display:block}.page-head>button{margin-top:16px}.stats{gap:10px;margin-bottom:20px}.stat{padding:17px}.stat strong{font-size:24px}.toolbar{flex-wrap:wrap}.toolbar input{max-width:none}.toolbar select{flex:1;max-width:none}.panel{padding:18px}.form-grid{grid-template-columns:1fr}dl{grid-template-columns:110px 1fr}.locked{margin:5vh 15px;padding:28px}.topbar .pill{font-size:10px}}

.invoice-tools{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.invoice-tools .tabs{margin:0}.invoice-actions{display:flex;gap:7px;flex-wrap:wrap}.invoice-actions button,.button-link{font-size:12px}.button-link{display:inline-flex;align-items:center;padding:10px 15px;border:1px solid var(--line);border-radius:9px;background:white;text-decoration:none;font-weight:600}.filter-strip{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px}.filter-strip button{font-size:12px;font-weight:500}.filter-strip .selected{color:white;background:var(--green);border-color:var(--green)}.invoice-toolbar{flex-wrap:wrap}.invoice-toolbar input{flex:2;min-width:210px}.invoice-toolbar select{flex:1;min-width:145px}.invoice-totals{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:22px 0;font-size:12px}.invoice-totals strong{font-size:14px;margin-left:4px}.invoice-dialog{width:min(940px,96vw)}.detail-tabs{overflow:auto;gap:5px;border-bottom:1px solid var(--line);padding-bottom:12px}.detail-tabs button{font-size:12px;white-space:nowrap}.invoice-bottom-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;border-top:1px solid var(--line);padding-top:20px}.payment-row,.attachment-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px 0}.payment-row small,.attachment-row small,.directory-list small,.wide-link small{display:block;margin-top:7px}.payment-row p{margin:8px 0 0;font-size:12px}.file-hash{font:10px ui-monospace,monospace;overflow-wrap:anywhere}.email-body{min-height:250px}.category-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:20px}.category-summary .stat strong{font-size:21px}.category-chips{display:flex;gap:8px;flex-wrap:wrap}.directory-list{max-height:220px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:25px}.directory-list button{text-align:left;font-size:12px;font-weight:500}.change-grid{display:grid;gap:12px;margin:14px 0}.change-grid small{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.warning-text{color:#986321}.invoice-dialog .form-grid textarea{min-height:85px}.invoice-dialog .notice{margin-top:0}.invoice-dialog .wide-link{align-items:center;gap:12px}
@media(max-width:680px){.invoice-tools{display:block}.invoice-actions{margin-top:15px}.invoice-dialog{padding:22px 17px}.directory-list{grid-template-columns:1fr}.invoice-totals{gap:12px}.invoice-dialog .actions{flex-wrap:wrap}.invoice-toolbar select{min-width:120px}}
.reference-compare{white-space:pre-wrap;overflow-wrap:anywhere}

.feature-audit{margin-bottom:24px}.audit-scope{font-size:12px}.audit-group{border-top:1px solid var(--line);padding:18px 0}.audit-group summary{cursor:pointer;font-weight:650;line-height:1.5}.audit-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px;margin-top:10px}.audit-item{padding:18px 0;border-bottom:1px solid #edf0ed;min-width:0}.audit-item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.audit-item h3{font-size:14px;line-height:1.4;margin-bottom:10px}.audit-item p{font-size:12px;margin-bottom:8px}.audit-item small{display:block;font-size:11px;line-height:1.5}.invoice-dates{white-space:nowrap}.table-scroll-hint{display:none}@media(max-width:680px){.audit-items{grid-template-columns:1fr}.feature-audit>.panel-header{align-items:flex-start;flex-wrap:wrap}.audit-item-heading{flex-wrap:wrap;margin-bottom:10px}.audit-item h3{margin-bottom:0}.table-scroll-hint{display:block;font-size:11px;color:var(--muted);margin:0 0 10px}}

.google-signin{display:block;text-align:center;text-decoration:none;padding:10px 15px;border-radius:9px;background:var(--green);color:white;font-weight:600}.google-signin:hover{background:#11543f}
