:root{--teal:#078493;--teal-dark:#12616c;--ink:#23343c;--muted:#67777e;--line:#dfe6e9;--surface:#f5f8f8;--tint:#eaf5f5;color:var(--ink);background:var(--surface);font-family:Arial,Helvetica,sans-serif;font-size:14px}.preview-banner{color:#6b5421;text-align:center;background:#fff3d8;border-bottom:1px solid #ead7aa;padding:9px 15px;font-size:12px}.lookup{flex-direction:column;gap:6px;display:flex}.lookup small{min-height:0;font-weight:400}.notice{align-items:center;gap:16px;display:flex}.issue-box{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.customer-actions{margin-bottom:24px}details>summary{cursor:pointer;color:var(--teal-dark);padding:15px 0;font-weight:600}details>.form{padding:15px 0}*{box-sizing:border-box}body{margin:0}a{color:var(--teal-dark);text-decoration:none}a:hover{text-decoration:underline}h1{letter-spacing:-.4px;margin:0 0 8px;font-size:26px}h2{margin:0;font-size:17px}p{line-height:1.6}small{color:var(--muted);line-height:1.5}button,.button{background:var(--teal);color:#fff;border:1px solid var(--teal);font:inherit;cursor:pointer;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:10px 15px;text-decoration:none;display:inline-flex}button:hover,.button:hover{background:var(--teal-dark);text-decoration:none}button:disabled{opacity:.55;cursor:default}.secondary{color:var(--ink);border-color:var(--line);background:#fff}.secondary:hover{background:var(--tint);color:var(--ink)}.compact{padding:7px 10px;font-size:13px}input,select,textarea{color:var(--ink);font:inherit;background:#fff;border:1px solid #cbd8dd;border-radius:5px;width:100%;min-width:0;padding:10px}textarea{resize:vertical;min-height:88px}input:focus,select:focus,textarea:focus{outline-offset:1px;outline:2px solid #a6d4da}.field{flex-direction:column;gap:7px;min-width:0;font-weight:600;display:flex}.field input,.field textarea,.field select,.field small{font-weight:400}.check{align-items:center;gap:10px;display:flex}.check input{width:17px;height:17px;accent-color:var(--teal)}.form{flex-direction:column;gap:20px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.form-footer{align-items:center;gap:15px;display:flex}.error{color:#a42d2d;background:#fff0ed;border-radius:5px;padding:12px}.brand{letter-spacing:-.6px;white-space:nowrap;color:var(--ink);font-size:23px;font-weight:700}.brand span{color:var(--teal)}.shell{grid-template-columns:230px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;gap:24px;height:100dvh;padding:26px 16px;display:flex;position:sticky;top:0}.sidebar .brand{padding:0 10px}.company-identity{align-items:center;gap:9px;padding:0 10px;line-height:1.4;display:flex}.company-identity strong{overflow-wrap:anywhere}.sidebar nav{flex-direction:column;gap:4px;min-height:0;display:flex;overflow:auto}.sidebar nav a{color:var(--ink);border-radius:6px;align-items:center;gap:12px;padding:11px 13px;display:flex}.sidebar nav a:hover,.sidebar nav a[aria-current=page]{background:var(--tint);color:var(--teal-dark);text-decoration:none}.sidebar nav a[aria-current=page]{font-weight:700}.switch{margin-top:auto;padding:10px}.workspace{min-width:0}.workspace-header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:64px;padding:0 28px;display:flex}.workspace-header>span{font-weight:600}.workspace-main{max-width:1800px;padding:26px 28px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px;display:flex}.page-heading p{color:var(--muted);margin:4px 0}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.toolbar form{flex:1;gap:8px;max-width:500px;display:flex}.toolbar input{min-width:130px}.toolbar-actions{flex-wrap:wrap;gap:8px;display:flex}.panel{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;margin-bottom:20px;padding:22px}.panel-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.table-wrap{border:1px solid var(--line);border-radius:6px;width:100%;overflow:auto}table{border-collapse:collapse;text-align:left;background:#fff;width:100%}th{color:#52656d;white-space:nowrap;background:#f1f6f7;padding:13px 16px;font-size:12px;font-weight:600}td{border-top:1px solid var(--line);padding:14px 16px;line-height:1.4}td a{color:var(--teal);font-weight:700}.amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.badge{white-space:nowrap;text-transform:capitalize;background:#eef2f3;border-radius:4px;padding:4px 8px;font-size:12px;display:inline-block}.badge[data-state=issued],.badge[data-state=completed],.badge[data-state=paid]{color:#236744;background:#e1f3e8}.badge[data-state=waiting_client],.badge[data-state=awaiting_approval],.badge[data-state=overdue]{color:#856020;background:#fff3db}.empty{text-align:center;color:var(--muted);padding:42px 20px}.pagination{justify-content:space-between;align-items:center;margin-top:15px;display:flex}.cards,.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.cards .panel{margin-bottom:0}.company-card{flex-direction:column;gap:12px;padding:24px;display:flex}.company-card:hover{border-color:var(--teal);text-decoration:none}.company-picker{max-width:1150px;margin:35px auto;padding:0 24px}.company-picker header{justify-content:space-between;margin-bottom:40px;display:flex}.company-picker h1{margin-top:25px}.company-picker>.cards{margin:25px 0}.module-grid>.form{border:1px solid var(--line);border-radius:6px;padding:16px}.welcome{border:1px solid var(--line);background:#fff;border-radius:10px;max-width:470px;margin:8vh auto;padding:36px}.welcome h1{margin-top:30px}.welcome>.form{margin:25px 0}.welcome li{margin-bottom:12px;line-height:1.5}.loading{background:#fff;justify-content:center;align-items:center;gap:12px;min-height:250px;display:flex}.spinner{border:2px solid #dce9ea;border-top-color:var(--teal);border-radius:100%;width:20px;height:20px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.line-editor td{padding:9px}.line-editor th:first-child{width:55%}.line-editor td:nth-child(2),.line-editor td:nth-child(3){width:140px;min-width:110px}.document-summary{max-width:430px;margin:24px 0 24px auto}.summary-row{font-variant-numeric:tabular-nums;justify-content:space-between;gap:30px;padding:9px 0;display:flex}.summary-row.total{border-top:1px solid var(--line);color:var(--teal-dark);padding-top:16px;font-size:20px;font-weight:700}.document-identity{grid-template-columns:1fr 1fr;gap:24px;margin:15px 0 25px;display:grid}.document-identity .right{text-align:right}.preformatted{white-space:pre-wrap;overflow-wrap:anywhere}.notice{color:#225e40;z-index:30;background:#e6f4ed;border:1px solid #b7dcc6;border-radius:6px;padding:12px 18px;position:fixed;top:80px;right:24px;box-shadow:0 3px 12px #0000000a}.notice summary{cursor:pointer}.notice p{margin-bottom:0}.link-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.settings-check{background:var(--tint);border-radius:6px;padding:14px}.status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0;display:grid}.status-grid .panel strong{color:var(--teal-dark);margin-top:10px;font-size:24px;display:block}.screen-only{display:initial}@media (max-width:950px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:22px 10px}.sidebar .brand{font-size:20px}.workspace-main{padding:20px}.cards,.module-grid,.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:650px){.shell{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--line);gap:14px;height:auto;padding:15px;position:relative}.sidebar .brand,.company-identity{padding:0}.sidebar nav{flex-direction:row;overflow:auto}.sidebar nav a{flex-shrink:0;padding:8px 10px}.sidebar .switch{display:none}.workspace-header{height:54px;padding:0 16px}.workspace-header small{display:none}.workspace-main{padding:18px 14px}.form-grid,.cards,.module-grid,.status-grid{grid-template-columns:1fr}.panel{padding:16px}.page-heading{align-items:flex-start}.page-heading h1{font-size:23px}.document-identity{grid-template-columns:1fr}.document-identity .right{text-align:left}.welcome{margin:30px 14px;padding:24px}.company-picker{padding:0 14px}.notice{top:18px;left:14px;right:14px}.line-editor th:first-child{min-width:220px}.line-editor td:nth-child(4){min-width:90px}}.expense-lines th:first-child,.expense-lines td:first-child{min-width:240px}.expense-lines input[type=number]{min-width:100px}.expense-lines td:first-child input+input{margin-top:6px}@media print{.sidebar,.workspace-header,.toolbar,.page-heading,.screen-only,.notice,.form{display:none!important}.shell{display:block}.workspace-main{padding:0}.panel{border:0;padding:0}.table-wrap{border:0;overflow:visible}.badge{color:#000;background:0 0}.document-identity{grid-template-columns:1fr 1fr}body{background:#fff}@page{size:A4;margin:18mm}}.lookup{min-width:0;display:block;position:relative}.lookup>input[role=combobox]{width:100%;padding-right:1.8rem}.lookup:after{content:"⌄";pointer-events:none;position:absolute;top:.5rem;right:.65rem}.lookup-menu{z-index:10;background:var(--panel,#fff);width:100%;max-height:16rem;color:var(--text,#172435);border:1px solid #a9b7c4;border-radius:.55rem;position:absolute;overflow:auto;box-shadow:0 8px 24px #12243b24}.lookup-menu [role=option],.lookup-status{padding:.55rem .75rem}.lookup-menu [role=option]{cursor:pointer}.lookup-menu [role=option]:hover,.lookup-menu [data-highlighted=true]{color:#172435;background:#e5f1f6}.lookup-menu [aria-selected=true]{font-weight:700}.dashboard{gap:1.15rem;margin-bottom:1.25rem;display:grid}.dashboard-currency dt{color:var(--muted)}.dashboard-finance{flex-wrap:wrap;gap:.8rem;display:flex}.dashboard-currency{background:var(--surface);border-radius:.65rem;flex:18rem;min-width:0;padding:.9rem}.dashboard-currency-code{color:var(--teal-dark);font-weight:700}.dashboard-currency dl,.dashboard-registrations,.dashboard-submissions{margin-bottom:0}.dashboard-currency dl>div,.dashboard-registrations>div{flex-wrap:wrap;justify-content:space-between;gap:.4rem 1rem;display:flex}.dashboard-currency dd{overflow-wrap:anywhere;font-weight:700}.client-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-indicator{border-radius:.6rem;align-items:center;gap:.45rem;padding:.45rem .7rem;font-weight:700;display:inline-flex}.dashboard-indicator[data-tone=amber]{color:#7b4a03;background:#fff3d9}.dashboard-indicator[data-tone=green]{color:#1d6242;background:#e1f4e9}.dashboard-indicator[data-tone=red]{color:#942424;background:#fce7e7}.dashboard-submissions{padding:0;list-style:none}.dashboard-submissions li{border-top:1px solid var(--line);grid-template-columns:1fr auto;align-items:center;gap:.2rem .7rem;padding:.55rem 0;display:grid}.dashboard-submissions small{grid-column:1}.dashboard-submissions .badge{grid-area:1/2/span 2}.dashboard-submissions .badge[data-state=submitted],.dashboard-submissions .badge[data-state=completed]{color:#1d6242;background:#e1f4e9}.dashboard-submissions .badge[data-state=not_started],.dashboard-submissions .badge[data-state=in_progress],.dashboard-submissions .badge[data-state=waiting_client],.dashboard-submissions .badge[data-state=review]{color:#7b4a03;background:#fff3d9}.dashboard-submissions .badge[data-state=overdue]{color:#942424;background:#fce7e7}@media (max-width:700px){.client-dashboard{grid-template-columns:1fr}}.grouped-shell{grid-template-columns:245px minmax(0,1fr)}.grouped-shell.shell-collapsed{grid-template-columns:76px minmax(0,1fr)}.grouped-shell .sidebar{color:#e0e9f2;z-index:22;background:#172a40;border:0;gap:17px;padding:19px 12px 12px}.grouped-shell .sidebar .shell-brand{align-items:center;gap:10px;min-height:46px;padding:3px 5px;text-decoration:none;display:flex}.shell-mark{background:#2a6c78;border-radius:.65rem;flex:0 0 37px;place-items:center;width:37px;height:37px;font-weight:800;display:grid;color:#fff!important}.shell-wordmark{font-size:1.03rem;line-height:1.15;color:#fff!important}.shell-wordmark small{color:#a7c1d3;margin-top:.2rem;font-size:.72rem;display:block}.grouped-shell .sidebar nav{scrollbar-width:thin;gap:4px}.grouped-shell .sidebar nav a{color:#e0e9f2;padding:.58rem .67rem}.grouped-shell .sidebar nav a:hover,.grouped-shell .sidebar nav a[aria-current=page]{color:#fff;background:#284861}.grouped-shell .sidebar nav a svg{color:var(--nav-color,#a5d4df);flex-shrink:0}.shell-nav-group{border-top:1px solid #3b4c61;margin-top:.45rem}.shell-nav-group[data-tone=blue]{--nav-color:#9bd0f3}.shell-nav-group[data-tone=violet]{--nav-color:#c8b9f2}.shell-nav-group[data-tone=green]{--nav-color:#a1dcc7}.shell-nav-group[data-tone=amber]{--nav-color:#f1cf96}.shell-group-toggle,.shell-collapse{color:#cad8e5;background:0 0;border:0;border-radius:.45rem;align-items:center;gap:.65rem;width:100%;min-height:34px;padding:.4rem .65rem;font-size:.77rem;display:flex}.shell-group-toggle{justify-content:space-between}.shell-group-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.shell-group-toggle:hover,.shell-collapse:hover{color:#fff;background:#284861}.shell-group-links[data-expanded=false]{display:none}.shell-collapse{min-height:41px;margin-top:auto}.shell-collapsed .sidebar nav a{justify-content:center}.shell-collapsed .shell-wordmark,.shell-collapsed .sidebar nav a span,.shell-collapsed .shell-group-toggle,.shell-collapsed .shell-collapse span{display:none}.shell-collapsed .shell-group-links{padding-top:.35rem;display:block}.shell-collapsed .shell-collapse{justify-content:center}.shell-header{z-index:20;gap:.7rem;min-width:0;position:sticky;top:0}.shell-header details{min-width:0;position:relative}.shell-header summary{color:var(--ink);align-items:center;gap:.6rem;padding:.2rem;list-style:none;display:flex}.shell-header summary::-webkit-details-marker{display:none}.shell-header summary svg{flex-shrink:0}.shell-company-icon,.shell-avatar{background:var(--tint);width:38px;height:38px;color:var(--teal-dark);border-radius:.65rem;flex:0 0 38px;place-items:center;display:grid}.shell-avatar{color:#214666;background:#e4ecf8;border-radius:50%;font-weight:700}.shell-company-name{gap:.1rem;min-width:0;display:grid}.shell-company-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shell-header small{font-weight:400;display:block}.shell-account{margin-left:auto}.shell-menu{border:1px solid var(--line);background:#fff;border-radius:.65rem;gap:.25rem;min-width:min(275px,78vw);max-height:65vh;padding:.6rem;display:grid;position:absolute;top:calc(100% + .45rem);left:0;overflow:auto;box-shadow:0 8px 28px #172a4030}.shell-menu a,.shell-menu form button{color:var(--ink);border-radius:.4rem;justify-content:space-between;align-items:center;gap:.4rem;padding:.5rem;display:flex}.shell-menu a[aria-current],.shell-menu a:hover,.shell-menu form button:hover{background:var(--tint);text-decoration:none}.shell-menu form button{background:0 0;border:0;justify-content:flex-start;width:100%}.shell-menu>small{overflow-wrap:anywhere;padding:.5rem}.shell-account .shell-menu{left:auto;right:0}.shell-mobile-menu,.shell-mobile-close,.shell-backdrop{display:none}@media (max-width:700px){.grouped-shell{display:block}.grouped-shell .sidebar{width:min(82vw,280px);height:100dvh;display:none;position:fixed;inset:0 auto 0 0}.grouped-shell .shell-sidebar-open{display:flex}.grouped-shell .sidebar nav{flex-direction:column}.grouped-shell.shell-collapsed .shell-wordmark,.grouped-shell.shell-collapsed .sidebar nav a span{display:block}.grouped-shell.shell-collapsed .shell-group-toggle{display:flex}.grouped-shell.shell-collapsed .sidebar nav a{justify-content:flex-start}.grouped-shell .shell-group-links[data-expanded=false]{display:none}.shell-backdrop{z-index:21;background:#1422358c;border-radius:0;display:block;position:fixed;inset:0}.shell-mobile-menu,.shell-mobile-close{color:inherit;background:0 0;border:0;place-items:center;padding:.4rem;display:grid}.shell-mobile-close{position:absolute;top:.9rem;right:.6rem}.grouped-shell .shell-collapse{display:none}.shell-header{justify-content:flex-start}}.lookup-menu{top:calc(100% + .15rem);left:0}.shell-nav-group[data-active=true] .shell-group-toggle{color:#fff}.compliance-filters{margin:.2rem 0 .9rem}.compliance-filters a{border-radius:.45rem;padding:.4rem .65rem}.compliance-filters a[aria-current=page]{background:var(--tint);font-weight:700}.company-logo-settings{justify-items:start;gap:.75rem;margin-bottom:1rem;display:grid}.company-logo-preview{object-fit:contain;background:var(--surface);border:1px solid var(--line);border-radius:.6rem;padding:.5rem}.company-logo-settings input[type=file]{max-width:100%}.business-overview{gap:16px;display:grid}.overview-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;gap:16px;padding-bottom:16px;display:flex}.overview-heading h1{color:#172c37;letter-spacing:-.03em;margin:0;font-size:clamp(1.55rem,2.4vw,2rem)}.overview-heading p{color:#526872;margin:.4rem 0 0;font-size:.84rem}.overview-controls{flex-wrap:wrap;align-items:flex-end;gap:.55rem;display:flex}.overview-controls label{color:#4c616c;gap:.27rem;font-size:.76rem;display:grid}.overview-controls .lookup input,.overview-controls button{background:#fff;min-height:36px;padding-block:.35rem}.overview-controls .lookup{width:118px}.overview-controls label:first-child .lookup{width:82px}.overview-controls button{align-items:center;gap:.4rem;display:inline-flex}.overview-section-title{margin:0 0 .6rem;font-size:1rem}.overview-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,142px),1fr));gap:10px;display:grid}.overview-metric{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:.5rem;align-content:start;gap:.45rem;padding:.8rem .85rem;display:grid;box-shadow:0 2px 3px #14243406}.overview-metric:hover{border-color:#65a9ac;text-decoration:none}.overview-metric>span{color:#425867;align-items:center;gap:.4rem;font-size:.82rem;font-weight:600;display:flex}.overview-metric svg,.overview-shortcuts svg{color:#087d88;flex-shrink:0}.overview-metric strong{color:#193340;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(1.05rem,1.55vw,1.38rem)}.overview-metric small{color:#536975;font-size:.72rem}.overview-panels{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);align-items:stretch;gap:12px;display:grid}.overview-panels>.panel{border-radius:.5rem;min-width:0;margin:0;padding:.85rem .95rem;box-shadow:0 2px 3px #14243406}.overview-panels .panel-title{margin-bottom:.3rem}.overview-panels .panel-title h2{font-size:.96rem}.overview-panels .panel-title a{font-size:.76rem}.overview-panel-caption{color:#546c77;margin:0 0 .65rem;font-size:.79rem}.overview-chart-readout{color:#415965;flex-wrap:wrap;align-items:center;gap:.45rem 1rem;font-size:.78rem;display:flex}.overview-chart-readout span{align-items:center;gap:.35rem;display:inline-flex}.overview-chart-readout i,.overview-methods li i{border-radius:50%;flex:0 0 .5rem;width:.5rem;height:.5rem}.overview-trend{width:100%;max-height:295px;display:block;overflow:visible}.overview-trend text{fill:#516b77;font-size:12px}.overview-trend rect[tabindex]{cursor:pointer}.overview-trend rect:focus-visible{outline-offset:-2px;outline:1px dashed #087d88}.overview-methods{flex-wrap:wrap;justify-content:center;align-items:center;gap:1.2rem;min-height:214px;padding:.6rem 0;display:flex}.overview-ring{border-radius:50%;flex:0 0 142px;place-items:center;width:142px;height:142px;display:grid}.overview-ring>div{text-align:center;background:#fff;border-radius:50%;place-content:center;gap:.2rem;width:108px;height:108px;font-size:.76rem;display:grid}.overview-ring small{color:#506875}.overview-methods ul{gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.overview-methods li{grid-template-columns:auto 1fr auto;align-items:center;gap:.4rem;font-size:.78rem;display:grid}.overview-methods li strong{margin-left:.35rem}.overview-chart-empty{color:#526975;text-align:center;background:#f7fafb;border-radius:.45rem;place-items:center;min-height:180px;padding:1rem;font-size:.85rem;display:grid}.overview-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem;display:grid}.overview-shortcuts a{color:#345361;border-radius:.4rem;align-items:center;gap:.55rem;padding:.55rem .35rem;font-size:.82rem;display:flex}.overview-shortcuts a:hover{background:var(--tint);text-decoration:none}.overview-table{font-size:.8rem}.overview-table td,.overview-table th{padding:.58rem .55rem}.overview-table td:first-child a{font-weight:700}@media (max-width:1000px){.overview-panels{grid-template-columns:minmax(0,1fr)}}@media (max-width:650px){.overview-heading{flex-direction:column;align-items:flex-start;gap:.65rem}.overview-heading p span{margin-top:.2rem;display:block}.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-trend text{font-size:18px}.overview-trend g:nth-of-type(2n)>text[text-anchor=middle]{display:none}}.deadline-assistant{border:1px solid var(--line);background:var(--surface);border-radius:.5rem;padding:0 .8rem .7rem}.deadline-assistant>summary{padding:.8rem 0}.deadline-assistant .form-grid{margin-bottom:.65rem}.overview-reconciliation{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:.5rem;margin:.4rem 0 .75rem;display:grid}.overview-reconciliation div{background:var(--surface);border-radius:.4rem;padding:.6rem}.overview-reconciliation dt{color:#4c616c;font-size:.75rem}.overview-reconciliation dd{overflow-wrap:anywhere;margin:.3rem 0 0;font-weight:700}
