@font-face{font-family:Manrope;src:url('/assets/manrope-400.ttf')}@font-face{font-family:Manrope;src:url('/assets/manrope-700.ttf');font-weight:700}@font-face{font-family:Manrope;src:url('/assets/manrope-800.ttf');font-weight:800}
:root{--ink:#171b1b;--muted:#68716f;--yellow:#efd533;--paper:#f5f5ef;--line:#dcdfd5;--white:#fff;--green:#216d4a;--red:#a43d36;--side:238px;--header:86px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:10px 15px;background:#fff;color:var(--ink);font-weight:700}button:hover{border-color:#acb3a5;background:#fafbf5}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible{outline:3px solid #ba9b00;outline-offset:4px}button.primary{background:var(--yellow);border-color:var(--yellow)}button.primary:hover{background:#e4ca22}button.dark{background:var(--ink);color:white;border-color:var(--ink)}button.small{padding:6px 10px;font-size:12px}button.quiet{border:0;background:transparent;padding:6px}a{color:inherit;text-underline-offset:4px}a.external{font-size:12px;color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:36px;font-weight:800;line-height:1.2;letter-spacing:-1.4px}h2{font-size:21px;font-weight:800;letter-spacing:-.5px}h3{font-size:16px;font-weight:800}small,.muted{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted)}.preserve{white-space:pre-wrap}.loading{padding:60px}.topbar{height:var(--header);display:flex;align-items:center;gap:16px;position:sticky;top:0;z-index:30;padding:0 28px;background:rgba(245,245,239,.98);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:190px}.brand img{width:52px;height:52px}.brand small{font-size:10px;font-weight:800;letter-spacing:.5px;color:var(--ink)}.brand b{display:block;font-size:30px;font-weight:800;line-height:1.05;letter-spacing:-1px}.brand b span{color:#c5aa0b}.menu-toggle{font-size:19px;padding:5px 11px;min-width:40px}.top-spacer{flex:1}.workspace-name{font-size:12px;line-height:1.6}.workspace-name strong{display:block}.account-button{display:flex;align-items:center;gap:9px;padding:6px 11px;min-height:49px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:var(--yellow);border-radius:50%;font-size:12px;font-weight:800;flex-shrink:0}.account-text{font-size:11px;text-align:left;line-height:1.5}.account-text strong{display:block;font-size:12px}.account-menu{position:fixed;right:28px;top:76px;background:white;border:1px solid var(--line);padding:8px;border-radius:10px;box-shadow:0 16px 36px #171b1b16;z-index:60;min-width:200px}.account-menu button{display:block;width:100%;text-align:left;border:0}.sidebar{position:fixed;top:var(--header);left:0;bottom:0;width:var(--side);overflow:auto;background:var(--paper);border-right:1px solid var(--line);padding:27px 17px;transition:transform .18s}.sidebar .eyebrow{padding:0 12px;margin:12px 0}.nav-item{display:flex;align-items:center;gap:12px;text-decoration:none;color:#53605e;padding:11px 13px;border-radius:9px;margin:3px 0;font-size:13px;white-space:nowrap}.nav-item svg{width:18px;height:18px;flex-shrink:0}.nav-item:hover{background:#e9ece2;color:var(--ink)}.nav-item.active{background:var(--ink);color:white;font-weight:800}.sidebar-note{border-top:1px solid var(--line);margin-top:25px;padding:18px 12px;font-size:11px;color:var(--muted)}main{margin-left:var(--side);padding:33px 36px 70px;transition:margin-left .18s;min-width:0}.page{max-width:1400px;margin:auto}.nav-collapsed .sidebar{transform:translateX(-100%)}.nav-collapsed main{margin-left:0}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading .eyebrow{margin-bottom:8px}.page-heading p:not(.eyebrow){color:var(--muted);margin-top:10px}.page-heading .actions{flex-shrink:0}.hero{background:var(--ink);border-radius:18px;color:#fff;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:25px;overflow:hidden;margin-bottom:24px;min-height:195px}.hero .eyebrow{color:#c4cdbd;margin-bottom:10px}.hero h1{font-size:34px;max-width:580px}.hero p{max-width:550px;color:#b8c1bc;margin-top:13px;font-size:13px}.hero img{width:145px;height:145px;background:#f5f5ef;border-radius:50%;padding:10px;transform:rotate(-9deg);flex-shrink:0}.hero .badge{background:#41483a;border:0;color:#e8eedc;margin-top:16px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);padding:20px 23px;border-radius:13px;min-width:0}.stat .stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}.stat .stat-top svg{width:18px;height:18px}.stat strong{font-size:29px;font-weight:800;letter-spacing:-1px;display:block;line-height:1.6;margin-top:6px;overflow-wrap:anywhere}.stat small{font-size:11px}.grid-two{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:22px}.panel-head{padding:20px 23px;border-bottom:1px solid #edf0e7;display:flex;justify-content:space-between;align-items:center;gap:14px}.panel-body{padding:22px 23px}.panel-head p{font-size:12px;color:var(--muted);margin-top:4px}.filterbar{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.filterbar input{max-width:360px}.filterbar .count{margin-left:auto;font-size:12px;color:var(--muted)}input,select,textarea{width:100%;background:#fff;border:1px solid #cfd5c8;border-radius:7px;padding:10px 12px;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #bca717;outline-offset:2px}input[type=checkbox]{width:auto;accent-color:#171b1b}textarea{min-height:105px;resize:vertical}label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}label.checkbox{display:flex;gap:9px;align-items:center;margin:0;font-weight:400}label.checkbox input{width:16px;height:16px}.field{margin-bottom:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .full{grid-column:1/-1}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:800;color:var(--muted);background:#fafbf7;border-bottom:1px solid var(--line);padding:12px 20px;white-space:nowrap}td{padding:16px 20px;border-bottom:1px solid #edf0e7;font-size:12px;vertical-align:middle}tr:last-child td{border-bottom:0}td strong{display:block;font-size:13px}td small{display:block;font-size:11px;margin-top:3px}td.amount{font-weight:800;white-space:nowrap}.text-link{border:0;background:none;padding:0;text-align:left;font-weight:800;color:var(--ink)}.text-link:hover{text-decoration:underline;background:none}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;border:1px solid #e3e7db;background:#f1f3ea;color:#566047;font-size:10px;font-weight:800;padding:4px 8px;white-space:nowrap}.badge.green{background:#edf6ef;color:var(--green);border-color:#d9e9dc}.badge.red{background:#fcf0ec;color:var(--red);border-color:#f0d9d0}.badge.gold{background:#fcf6d8;color:#806a00;border-color:#eee3a8}.badge.blue{background:#edf3f6;color:#315c71;border-color:#dce8ee}.empty{padding:42px 24px;text-align:center;color:var(--muted)}.empty svg{width:32px;height:32px;margin-bottom:12px;color:#9ca692}.empty h3{color:var(--ink);margin-bottom:8px}.empty p{max-width:420px;margin:auto;font-size:12px}.empty button{margin-top:17px}.notice{padding:13px 16px;background:#fbf6dc;border:1px solid #e9e0b2;border-radius:9px;font-size:12px;color:#6c6022;margin-bottom:20px}.notice.safe{background:#eff5ec;border-color:#dbe6d5;color:#416244}.notice.error{background:#fff1ed;border-color:#edcfc4;color:#943c30}.notice p+p{margin-top:7px}.detail-top{display:flex;align-items:center;gap:15px;padding:24px;border-bottom:1px solid var(--line)}.detail-top .avatar{width:50px;height:50px;font-size:17px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.detail-grid dt{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);margin-bottom:5px}.detail-grid dd{margin:0;font-size:13px;overflow-wrap:anywhere}.record-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px}.product-card .eyebrow{margin-bottom:12px}.product-card h3{font-size:18px;margin-bottom:10px}.product-card .description{font-size:12px;color:var(--muted);min-height:70px;max-height:115px;overflow:hidden;white-space:pre-line;margin-bottom:18px}.price{font-size:26px;font-weight:800;letter-spacing:-.7px}.price small{font-size:11px;font-weight:400;letter-spacing:0}.product-card .actions{justify-content:space-between;margin-top:20px}.timeline{display:grid;gap:18px}.timeline-item{display:flex;gap:11px;align-items:start}.timeline-item .dot{width:8px;height:8px;background:var(--yellow);border-radius:50%;margin-top:6px;flex-shrink:0}.timeline-item p{font-size:12px;font-weight:700}.timeline-item small{font-size:10px}.keyline{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #edf0e7;font-size:12px}.keyline:last-child{border:0}.keyline strong{font-weight:800;text-align:right}.integration{display:flex;align-items:center;gap:15px;padding:19px 0;border-bottom:1px solid #edf0e7}.integration:last-child{border:0}.integration .integration-icon{display:flex;align-items:center;justify-content:center;min-width:45px;height:45px;background:#f0f2e9;border-radius:10px;font-weight:800;font-size:20px}.integration>div:nth-child(2){flex:1}.integration p{font-size:11px;color:var(--muted);margin-top:3px}.message{border:1px solid var(--line);border-radius:10px;margin-bottom:14px;padding:18px;background:#fff}.message.staff{background:#f6f8ef}.message .message-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:10px;font-size:12px}.message .preserve{font-size:13px;overflow-wrap:anywhere}.amount-large{font-size:38px;font-weight:800;letter-spacing:-1.8px}.invoice-totals{max-width:330px;margin:20px 0 25px auto}.invoice-totals p{display:flex;justify-content:space-between;padding:9px 0;font-size:13px}.invoice-totals .total{border-top:2px solid var(--ink);font-size:17px}.invoice-totals strong{font-weight:800}.login-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:var(--ink);color:white;display:flex;flex-direction:column;justify-content:center;padding:70px 12%;position:relative;overflow:hidden}.login-story .portal-art{width:185px;background:var(--paper);padding:15px;border-radius:50%;margin-bottom:40px}.login-story h1{font-size:46px;letter-spacing:-2px;max-width:500px}.login-story p{font-size:14px;line-height:1.9;color:#bdc7c0;max-width:430px;margin-top:24px}.login-story .eyebrow{color:#e1d158;margin-bottom:14px}.login-form{display:flex;align-items:center;justify-content:center;padding:60px 30px}.login-card{width:100%;max-width:410px}.login-card .brand{margin-bottom:45px}.login-card h2{font-size:28px;margin-bottom:12px}.login-card>p{color:var(--muted);margin-bottom:28px}.login-card button[type=submit]{width:100%;margin-top:8px}.login-card .privacy-note{font-size:11px;margin-top:20px;line-height:1.8}.version{position:fixed;bottom:9px;right:14px;font-size:9px;font-weight:800;color:#71796b;background:#f5f5efe8;padding:3px 6px;border-radius:4px;z-index:20}dialog{border:1px solid var(--line);padding:0;border-radius:14px;max-width:760px;width:calc(100% - 32px);max-height:90vh;box-shadow:0 25px 100px #0003}dialog::backdrop{background:#171b1b66;backdrop-filter:blur(3px)}.modal-head{padding:22px 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-body{padding:25px}.modal-foot{padding:17px 25px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fafbf5}.form-error{color:var(--red);font-size:12px;margin:10px 0;white-space:pre-line}.line-item{display:grid;grid-template-columns:minmax(120px,1fr) 70px 110px 55px 32px;align-items:end;gap:9px;margin-bottom:12px}.line-item .field{margin:0}.line-item button{padding:8px}.line-item label{font-size:10px}.line-item .checkbox{justify-content:center;padding:10px 0}.tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:12px}.tabs button.active{background:var(--ink);color:white}.import-text{font-family:monospace;font-size:11px;min-height:180px}.metric-bars{display:flex;gap:9px;align-items:center}.metric-bars svg{width:100%;height:100px}.breadcrumb{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px;margin-bottom:18px}.activity-label{text-transform:capitalize}.invoice-document{padding:28px;background:#e9ece2}.invoice-paper{max-width:850px;padding:50px 55px;margin:20px auto;background:white;border:1px solid var(--line);border-radius:12px}.invoice-paper header{display:flex;align-items:center;gap:14px;border-bottom:2px solid var(--ink);padding-bottom:25px;margin-bottom:30px}.invoice-paper header h1{font-size:34px}.invoice-paper .split{display:flex;justify-content:space-between;gap:30px;margin-bottom:30px}.invoice-paper p{font-size:12px;line-height:1.9}.invoice-paper h2{font-size:20px}.invoice-paper .notice{margin-top:35px}.invoice-paper table td{font-size:12px;padding:15px 8px}.invoice-paper table th{padding:12px 8px}.invoice-paper table td:last-child,.invoice-paper table th:last-child{text-align:right;white-space:nowrap}.print-actions{max-width:850px;margin:auto;display:flex;justify-content:space-between;align-items:center}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:9px;background:var(--ink);color:white;box-shadow:0 6px 30px #0002;z-index:100;font-size:12px;max-width:90%;display:none}#toast.show{display:block}#toast.error{background:#963c30}
@media(min-width:1500px){main{padding:40px 50px 75px}}@media(max-width:1150px){.workspace-name{display:none}.topbar{padding:0 20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-two{grid-template-columns:1fr}.record-cards{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:28px 25px 65px}.hero h1{font-size:29px}.hero img{width:115px;height:115px}.account-text{display:none}}
@media(max-width:760px){:root{--header:76px}.topbar{gap:9px;padding:0 13px}.brand{min-width:0;gap:6px}.brand img{width:42px;height:42px}.brand small{font-size:8px}.brand b{font-size:24px}.topbar .primary{padding:8px 10px;font-size:10px}.menu-toggle{font-size:15px;padding:5px 8px;min-width:32px}.account-button{padding:5px;border:0;background:transparent}.avatar{width:31px;height:31px}.sidebar{display:none;position:static;width:100%;border-right:0;border-bottom:1px solid var(--line);padding:15px 20px;max-height:70vh;transform:none!important}.nav-collapsed .sidebar{display:none}.nav-open .sidebar{display:block}.sidebar-note{display:none}main,.nav-collapsed main{margin-left:0;padding:25px 16px 65px}.page-heading{align-items:flex-start;flex-direction:column;gap:14px}.page-heading h1{font-size:29px}.hero{padding:25px;min-height:180px}.hero img{display:none}.hero h1{font-size:29px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:23px}.stat .stat-top{font-size:10px}.stat .stat-top svg{display:none}.stat small{font-size:10px}.panel-head,.panel-body{padding:18px}.record-cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.detail-grid{gap:14px}.filterbar{padding:13px}.filterbar input{max-width:none;flex:1}.filterbar .count{width:100%;margin-left:0}.login-page{grid-template-columns:1fr}.login-story{display:none}.login-form{min-height:100vh;padding:40px 25px}.login-card .brand{margin-bottom:36px}.line-item{grid-template-columns:1fr 60px 95px 35px}.line-item .description-field{grid-column:1/-1}.line-item .remove-line{grid-column:4;grid-row:2}.line-item .checkbox{padding:9px 0}.invoice-paper{padding:25px 22px;border-radius:0}.invoice-paper .split{flex-direction:column;gap:20px}.invoice-document{padding:14px}.account-menu{right:12px;top:68px}.modal-body{padding:20px}.modal-head{padding:18px 20px}.notice{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{body.invoice-document{background:white;padding:0}.print-actions,.version{display:none!important}.invoice-paper{max-width:none;border:0;margin:0;padding:15px;border-radius:0}.invoice-paper tr{break-inside:avoid}.invoice-paper .notice{font-size:10px}a{text-decoration:none}body{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.password-required{margin-left:0;max-width:850px;margin-inline:auto}
