:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#20364a;background:#f4f6f8;font-synthesis:none;--navy:#122e46;--muted:#70808d;--line:#e1e7eb;--green:#08765b}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #b78021;outline-offset:3px}button{min-height:44px}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}a{color:inherit}.sidebar{background:var(--navy);color:#d7e3ec;position:fixed;inset:0 auto 0 0;width:232px;padding:28px 19px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font-weight:750;font-size:18px;letter-spacing:-.5px}.mark{width:35px;height:35px;border-radius:9px;background:#fff;color:var(--navy);display:grid;place-items:center;font-weight:850;font-size:21px;letter-spacing:-2px}.brand small{display:block;font-size:8px;font-weight:550;letter-spacing:1.8px;color:#a4bed0;margin-top:5px}.workspace{display:flex;align-items:center;gap:11px;background:#203e55;padding:13px;border-radius:9px;margin-top:36px;font-size:12px;font-weight:650}.workspace small{font-size:10px;font-weight:400;display:block;color:#a7bfce;margin-top:4px}.avatar{width:31px;height:31px;background:#dbe6ed;color:#26475e;display:grid;place-items:center;border-radius:7px;font-size:14px}.sidebar nav{display:grid;gap:6px;margin-top:26px}.sidebar nav button{background:none;border:0;color:#adc3d3;text-align:left;display:flex;align-items:center;gap:11px;padding:12px;border-radius:7px;font-size:13px}.sidebar nav button>span{font-size:21px;width:22px}.sidebar nav button.nav-active{color:#fff;background:#2c4e67}.sidebar nav button b{font-weight:600;font-size:10px;background:#45637a;border-radius:5px;padding:3px 6px;margin-left:auto}.sidebar-bottom{margin-top:auto;font-size:11px;color:#b7cbd8;padding:12px 8px 0}.sidebar-bottom>small{display:block;font-size:10px;color:#88a7bb;margin:8px 0 18px}.live-dot{display:inline-block;vertical-align:middle;width:6px;height:6px;background:#43b894;border-radius:50%;margin-right:6px}.reset{display:block;font-size:11px;border:0;background:none;color:#bacfdd;padding:0;min-height:40px}.app{margin-left:232px;min-height:100vh}.topbar{height:70px;padding:0 35px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.breadcrumb{font-size:10px;color:#8a99a5;letter-spacing:1px}.breadcrumb span{margin:0 12px;color:#b5c1ca}.breadcrumb b{font-size:12px;font-weight:550;letter-spacing:0;color:#426079}.demo-pill{font-size:9px;font-weight:700;letter-spacing:.8px;color:#59746a;background:#f0f6f3;border:1px solid #deebe3;padding:7px 10px;border-radius:5px;white-space:nowrap}.mobile-brand{display:none}.clockbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eaf0f5;border-bottom:1px solid #d8e2ea;padding:12px 35px}.clockbar>div:first-child{display:flex;gap:13px;align-items:center}.clock-label{color:#718596;font-size:9px;font-weight:750;letter-spacing:1px}.clockbar strong{font-size:12px;font-weight:650}.clock-actions{display:flex;gap:6px}.clock-actions button{background:#fff;border:1px solid #ccd9e3;color:#3a5870;font-size:11px;font-weight:600;border-radius:5px;padding:5px 12px;min-height:32px}.clock-actions button:hover{border-color:#4c738f}main{max-width:1400px;margin:auto;padding:34px 35px 50px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px}h1{font-size:28px;letter-spacing:-1px;line-height:1.2;margin:0 0 8px;font-weight:700}.page-title p{font-size:12px;color:#7a8995;margin:0;line-height:1.6}h2{font-size:20px;letter-spacing:-.5px;line-height:1.3;margin:0}h3{font-size:14px;margin:0 0 15px;font-weight:650}.primary,.secondary{padding:11px 16px;border-radius:7px;font-size:12px;font-weight:650;min-height:42px;border:1px solid var(--navy);white-space:normal}.primary{background:var(--navy);color:#fff}.primary:hover{background:#244c6b}.secondary{background:#fff;color:#35536b;border-color:#cdd8e0}.secondary:hover{background:#f0f5f8}.text-button{background:none;border:0;color:#46647c;font-size:12px;text-decoration:underline;text-underline-offset:3px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.stat{padding:20px;background:#fff;border:1px solid var(--line);border-radius:10px}.stat>span{display:block;font-size:11px;color:#778995;margin-bottom:12px}.stat>strong{display:block;font-size:26px;letter-spacing:-.9px;font-variant-numeric:tabular-nums}.stat>small{font-size:9px;display:block;color:#8797a3;margin-top:7px}.alert-strip{background:#fff8eb;border:1px solid #efdfbd;display:flex;align-items:center;gap:10px;border-radius:7px;padding:11px 14px;font-size:11px;color:#8c692b;line-height:1.5;margin-bottom:24px}.alert-strip>span:nth-child(2){flex:1}.alert-strip strong{font-weight:700}.alert-strip button{border:0;background:transparent;color:#8c692b;white-space:nowrap;font-size:11px;font-weight:650;padding:2px 0;min-height:32px}.alert-icon{display:grid;place-items:center;width:19px;height:19px;flex-shrink:0;border:1px solid #d3a75f;border-radius:50%;font-weight:750}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.filters{display:flex;gap:3px;background:#e8edf1;border-radius:7px;padding:3px;flex-shrink:0}.filters button{font-size:10px;border:0;background:transparent;padding:7px 11px;border-radius:5px;color:#6d8090;min-height:34px;white-space:nowrap}.filters button[aria-pressed=true]{background:#fff;color:#233f56;box-shadow:0 1px 4px #162c4210;font-weight:650}input[type=search]{border:1px solid #d9e2e9;border-radius:7px;background:#fff;padding:10px 12px;width:245px;min-width:120px;font-size:11px;color:#294960;min-height:40px}.table-shell{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.table-heading,.job-row{display:grid;grid-template-columns:minmax(210px,1.5fr) minmax(135px,1fr) minmax(80px,.65fr) minmax(110px,.9fr) 20px;gap:15px;align-items:center}.table-heading{font-size:9px;letter-spacing:.6px;color:#8a9aa6;background:#fbfcfd;border-bottom:1px solid var(--line);padding:16px 20px}.job-row{width:100%;text-align:left;border:0;background:#fff;color:#25435b;padding:23px 20px;border-bottom:1px solid #edf1f4}.job-row:last-child{border-bottom:0}.job-row:hover{background:#f8fafc}.customer-cell{display:flex;gap:11px;align-items:center;min-width:0}.customer-avatar{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:9px;background:#edf2f6;color:#638198;font-size:13px;font-weight:600}.customer-cell strong,.invoice-cell strong{display:block;font-size:11px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.customer-cell small,.invoice-cell small{display:block;font-size:10px;color:#8394a1;margin-top:4px;line-height:1.5;overflow-wrap:anywhere}.invoice-cell strong{font-size:10px;font-weight:500;color:#617b90}.invoice-cell small{font-size:9px}.amount-cell{font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}.status{display:inline-flex;padding:5px 8px;line-height:1.25;border-radius:5px;font-size:9px;font-weight:650;background:#e9eff6;color:#3a6181;white-space:nowrap}.status.unbilled,.status.draft{background:#fff0d2;color:#946c27}.status.bounced{background:#fbe8e7;color:#a04b46}.status.overdue{background:#faeadd;color:#a16b2d}.status.paid{background:#e3f3eb;color:#267959}.status-cell small{display:block;font-size:9px;color:#a58b6d;margin-top:5px}.row-arrow{font-size:16px;color:#879baa}.save-note{font-size:9px;color:#95a3ad;text-align:center;margin:20px 0}.empty{text-align:center;padding:55px 20px;color:#7a909f}.empty>span{display:block;font-size:30px;margin-bottom:12px}.empty h2{font-size:16px}.empty p{font-size:12px;line-height:1.6}.message-list{display:grid;gap:17px;max-width:850px}.message{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.message-head{display:flex;align-items:center;gap:12px;padding:18px 21px;border-bottom:1px solid #edf1f4}.message-head>div{flex:1;min-width:0}.message-head strong{display:block;font-size:12px;overflow-wrap:anywhere}.message-head small{display:block;font-size:10px;color:#8394a2;margin-top:6px;overflow-wrap:anywhere}.mail-icon{background:#edf3f7;color:#57778e;border-radius:8px;width:35px;height:35px;display:grid;place-items:center;font-size:19px;flex-shrink:0}.message-body{white-space:pre-line;padding:22px;font-size:12px;line-height:1.85;color:#4f687b;overflow-wrap:anywhere}.message-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 21px;background:#fafcfd;border-top:1px solid #edf1f4}.message-footer>span{font-size:10px;color:#879aa8}.label{font-size:9px;letter-spacing:.8px;color:#6e879b;background:#e8eff5;padding:8px;border-radius:5px}.event-list{background:#fff;border:1px solid var(--line);border-radius:10px;padding:5px 25px;max-width:1000px}.event{display:flex;align-items:start;gap:15px;border-bottom:1px solid #edf1f4;padding:22px 0}.event:last-child{border-bottom:0}.event>div{flex:1;min-width:0}.event-dot{width:6px;height:6px;border-radius:50%;background:#7698ae;margin-top:6px;flex-shrink:0}.event strong{font-size:12px;display:block}.event p{font-size:11px;color:#72899a;line-height:1.7;margin:6px 0;overflow-wrap:anywhere}.event button{background:none;border:0;padding:0;color:#3b6889;text-align:left;font-size:10px;min-height:24px}.event time{font-size:9px;color:#8ea0ad;white-space:nowrap;padding-top:3px}.settings-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px;max-width:900px}.settings-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.settings-head h2{font-size:17px}.settings-head p{font-size:11px;line-height:1.7;color:#7a8d9b;margin-bottom:0}.switch{display:flex!important;align-items:center;gap:8px;margin:0!important}.switch input{width:18px!important;height:18px;accent-color:var(--green)}.switch span{font-size:11px;font-weight:500}.rule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.integration-note{max-width:900px;border:1px solid var(--line);background:#eef3f6;border-radius:10px;padding:24px;margin:20px 0}.integration-note h2{font-size:15px}.integration-note p{font-size:11px;line-height:1.85;color:#6b8394}.integration-note a{font-size:11px;text-underline-offset:3px;color:#4c708b}label{display:block;font-size:12px;color:#4c667b;font-weight:550;margin:0 0 18px}label input:not([type=checkbox]),label textarea{display:block;width:100%;border:1px solid #ccd9e2;border-radius:7px;background:#fff;padding:12px;color:#24465f;font-size:13px;margin-top:7px;min-height:44px}label textarea{resize:vertical;line-height:1.6}label small{font-size:10px;font-weight:400;display:block;color:#8499a8;line-height:1.6;margin-top:5px}.check-row{display:flex;gap:9px;align-items:center;font-size:11px;font-weight:400;padding:14px;background:#f0f4f7;border-radius:7px}.check-row input{width:17px;height:17px;margin:0;accent-color:var(--navy)}.fine{font-size:10px;line-height:1.7;color:#879ba9;margin:15px 0}.error{font-size:11px;line-height:1.6;color:#a44842;min-height:0}.error:empty{display:none}.full{width:100%}dialog{background:#fff;border:1px solid #d4dee5;border-radius:14px;color:#254158;width:min(480px,calc(100% - 28px));padding:26px;max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #0a213442}dialog::backdrop{background:#0d243c80;backdrop-filter:blur(2px)}dialog>p{font-size:12px;line-height:1.8;color:#72899a}.dialog-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:25px}.dialog-heading h2{font-size:21px;overflow-wrap:anywhere}.dialog-heading button,.portal-head button{border:0;background:none;font-size:27px;color:#7b93a5;width:34px;flex-shrink:0}.eyebrow{font-size:9px;letter-spacing:1.2px;color:#8ba0af;display:block;margin-bottom:7px}.record-dialog{width:min(590px,calc(100% - 28px))}.record-summary{display:flex;align-items:center;justify-content:space-between;padding:0 0 20px;border-bottom:1px solid #e6edf2;gap:12px}.record-summary>strong{font-size:29px;font-weight:650;letter-spacing:-1px}.record-summary>strong small{display:block;text-align:right;font-size:9px;letter-spacing:0;font-weight:400;color:#91a3b0;margin-top:5px}.record-meta{margin:22px 0;display:grid;gap:13px}.record-meta>div{display:flex;align-items:start;justify-content:space-between;gap:20px;font-size:11px}.record-meta dt{color:#90a2b0;flex-shrink:0}.record-meta dd{margin:0;text-align:right;overflow-wrap:anywhere}.record-notice{font-size:11px;line-height:1.7;background:#fff5e2;color:#9a773b;border:1px solid #efe2c8;border-radius:7px;padding:13px 15px;margin-bottom:20px}.record-notice.success{background:#eaf6ef;color:#377e60;border-color:#cfe8da}.record-actions{display:flex;flex-wrap:wrap;gap:8px}.record-events{border-top:1px solid #e5ecf1;margin-top:24px;padding-top:22px}.record-events>div{display:flex;gap:12px;position:relative;border-left:1px solid #dce7ee;margin-left:3px;padding:0 0 18px 17px}.record-events>div:last-child{border-color:transparent;padding-bottom:0}.record-events>div>span{position:absolute;width:6px;height:6px;border-radius:50%;background:#769bb3;left:-4px;top:4px;box-shadow:0 0 0 3px #fff}.record-events p{margin:0}.record-events strong{display:block;font-size:11px}.record-events small{display:block;font-size:10px;line-height:1.7;color:#8a9fae;margin-top:5px}.portal-dialog{padding:0;width:min(520px,calc(100% - 28px))}.portal-head{display:flex;justify-content:space-between;align-items:center;padding:23px 27px;background:#122e46;color:#fff}.portal-ace{font-weight:850;font-size:26px;letter-spacing:-1px}.portal-head small{display:block;font-size:8px;letter-spacing:1px;color:#b1c8d8;margin-top:4px}.portal-head button{color:#c6d7e4}.portal-main{padding:27px}.portal-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:14px 0 25px}.portal-title h2{font-size:24px}.billed-to{font-size:11px;line-height:1.8;color:#8b9daa}.billed-to strong{color:#3f5a70}.portal-line{display:flex;gap:20px;justify-content:space-between;font-size:12px;line-height:1.7;margin-top:30px;padding-bottom:24px;border-bottom:1px solid #e0e9ef}.portal-line span{color:#708b9d}.portal-line strong{white-space:nowrap}.portal-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.portal-total>span{font-size:12px;color:#8198a8}.portal-total>strong{font-size:26px;letter-spacing:-1px}.portal-total small{font-size:9px;color:#8ba2b1;letter-spacing:0}.portal-due{font-size:10px;text-align:right;color:#96a7b4;margin:8px 0 25px}.portal-fine{text-align:center}.paid-confirmation{text-align:center;padding:21px;background:#edf8f1;border-radius:9px;color:#3e8061}.paid-confirmation>span{display:grid;place-items:center;width:33px;height:33px;margin:0 auto 14px;border-radius:50%;background:#d7eddf;font-size:20px}.paid-confirmation h3{margin-bottom:6px}.paid-confirmation p{font-size:11px;line-height:1.7;margin:0}.toast{position:fixed;bottom:25px;left:calc(50% + 116px);transform:translate(-50%,12px);padding:14px 20px;background:#193a52;color:#fff;max-width:calc(100% - 30px);font-size:12px;border-radius:9px;box-shadow:0 8px 25px #162e4830;opacity:0;transition:opacity .15s,transform .15s;z-index:100;pointer-events:none;line-height:1.6;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-nav{display:none}
@media(max-width:1100px){.sidebar{width:205px;padding:25px 15px}.app{margin-left:205px}.topbar,.clockbar{padding-left:25px;padding-right:25px}main{padding:28px 25px}.stat{padding:17px 14px}.stat>strong{font-size:23px}.table-heading,.job-row{grid-template-columns:minmax(160px,1.4fr) minmax(110px,1fr) 75px 100px 12px;gap:10px}.toolbar{align-items:stretch;flex-wrap:wrap}.toolbar input{flex:1}.toast{left:calc(50% + 102px)}}
@media(max-width:760px){.sidebar{display:none}.app{margin:0}.topbar{height:64px;padding:0 18px}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:9px}.mobile-brand .mark{background:var(--navy);color:#fff;width:29px;height:29px;font-size:17px;border-radius:7px}.mobile-brand strong{font-size:16px;letter-spacing:-.6px}.demo-pill{font-size:7px;padding:6px;letter-spacing:.4px}.demo-pill .live-dot{width:5px;height:5px;margin-right:4px}.clockbar{padding:11px 17px;gap:10px}.clockbar>div:first-child{display:block}.clock-label{display:block;font-size:8px;margin-bottom:4px;letter-spacing:.7px}.clockbar strong{font-size:11px}.clock-actions{gap:4px}.clock-actions button{font-size:10px;min-height:35px;padding:5px 9px}main{padding:24px 16px 100px}.page-title{gap:12px;margin-bottom:22px}.page-title h1{font-size:26px;margin-bottom:6px}.page-title p{font-size:11px;max-width:220px}.page-title .primary{white-space:nowrap;font-size:11px;padding:11px 13px}.stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:16px}.stat{padding:16px}.stat>span{font-size:10px;margin-bottom:10px;min-height:15px}.stat>strong{font-size:25px}.stat>small{font-size:9px;margin-top:5px}.alert-strip{padding:11px 12px;margin-bottom:18px;font-size:10px;gap:9px}.alert-strip>span:nth-child(2){line-height:1.6}.alert-strip strong{display:block}.alert-strip button{font-size:10px}.toolbar{gap:10px;margin-bottom:13px;display:block}.filters{display:flex;justify-content:space-between;width:100%;margin-bottom:10px}.filters button{font-size:9px;padding:7px 10px;min-height:36px}input[type=search]{width:100%;font-size:12px;min-height:43px}.table-heading{display:none}.job-row{grid-template-columns:1fr auto;gap:12px;padding:18px 16px;position:relative}.customer-cell{grid-column:1;grid-row:1;gap:10px}.customer-cell strong{font-size:12px}.customer-cell small{font-size:10px}.customer-avatar{width:32px;height:32px}.amount-cell{grid-column:2;grid-row:1;font-size:13px;text-align:right}.invoice-cell{grid-column:1;grid-row:2;padding-left:42px}.invoice-cell strong{font-size:9px}.invoice-cell small{font-size:9px}.status-cell{grid-column:2;grid-row:2;text-align:right;align-self:start}.status{font-size:8px;padding:5px 7px}.status-cell small{font-size:8px}.row-arrow{display:none}.save-note{font-size:9px;line-height:1.7}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);bottom:0;left:0;right:0;background:#fff;border-top:1px solid #dce6ed;z-index:10;padding:6px 12px max(7px,env(safe-area-inset-bottom));box-shadow:0 -3px 15px #12304b08}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:50px;border:0;background:none;color:#91a1ad;font-size:20px}.mobile-nav button span{font-size:9px;font-weight:500}.mobile-nav button.nav-active{color:var(--navy);background:#edf3f7;border-radius:7px}.toast{left:50%;bottom:85px;width:max-content;font-size:11px;padding:12px 17px}.page-title .label{display:none}.message-head{padding:16px 15px;gap:9px;flex-wrap:wrap}.message-head strong{font-size:11px}.message-head small{font-size:9px}.message-head .status{margin-left:44px}.mail-icon{width:32px;height:32px;font-size:17px}.message-body{padding:18px;font-size:12px}.message-footer{padding:13px 15px}.message-footer .secondary{font-size:11px;min-height:43px}.event-list{padding:3px 16px}.event{gap:10px;padding:19px 0}.event strong{font-size:11px}.event p{font-size:10px}.event time{font-size:8px}.event button{font-size:9px}.settings-panel{padding:21px}.settings-head{align-items:start;gap:15px;margin-bottom:24px}.settings-head h2{font-size:15px}.settings-head p{font-size:10px}.switch{gap:5px;flex-shrink:0}.switch span{font-size:10px}.rule-grid{grid-template-columns:1fr;gap:0}.rule-grid label{font-size:11px}.rule-grid input{max-width:100%}.integration-note{padding:20px}dialog{padding:22px;max-height:91dvh;border-radius:12px;width:calc(100% - 24px)}.dialog-heading{margin-bottom:23px;gap:12px}.dialog-heading h2{font-size:20px}.dialog-heading button{width:30px}.dialog-heading .eyebrow{font-size:9px}.record-summary>strong{font-size:28px}.record-meta>div{font-size:10px;gap:15px}.record-actions button{flex:1;min-width:135px;font-size:11px}.record-notice{font-size:10px}.record-events small{font-size:9px}.record-events strong{font-size:10px}.record-dialog{width:calc(100% - 24px)}.portal-dialog{padding:0}.portal-head{padding:21px 23px}.portal-main{padding:24px}.portal-line{font-size:11px}.portal-total>strong{font-size:25px}.portal-title .status{font-size:8px}label input:not([type=checkbox]),label textarea{font-size:16px}label small{font-size:10px}}
.mobile-product{display:block;font-size:8px;color:#7c909e;letter-spacing:.5px;margin-top:2px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
