.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:10px 13px;background:#fff;border:1px solid var(--line);border-radius:8px}.period-switch{display:flex;align-items:center;gap:3px;background:#f4f6f6;border-radius:6px;padding:3px}.period-button{height:26px;border:0;background:transparent;padding:0 11px;border-radius:4px;color:#879296;font-size:10px;cursor:pointer}.period-button.active{background:#fff;color:#197a5d;font-weight:700;box-shadow:0 1px 3px #21352e12}.report-date-range{display:flex;align-items:center;gap:7px;color:#9ba5a8;font-size:9px}.report-date-range label{display:flex;align-items:center;gap:5px}.report-date-range input{height:29px;border:1px solid #e7ebec;border-radius:5px;color:#58666b;font:10px var(--font);padding:0 7px;outline:0}.report-date-range select{margin-left:5px}.record-count{font-size:9px;color:#a3abad}.required-note{font-size:9px;color:#98a2a5}.form-error{color:#ba625a;font-size:10px;margin-top:8px;min-height:0}.detail-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #edf0f0}.button:disabled{opacity:.55;cursor:wait}.notification-button.has-alert i{box-shadow:0 0 0 2px #fff}.menu-button{position:relative}
.button.danger{background:#b64943;color:#fff;border-color:#b64943}.button.danger:hover{background:#963b36;border-color:#963b36}.factory-reset-link{color:#b64943}.factory-reset-card .reset-confirm{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:9px;color:#59655f;font-size:10px!important;line-height:1.45}.factory-reset-card .reset-confirm input{width:16px;min-height:16px;flex:none;margin-top:1px}
.bar-stack{justify-content:center;gap:2px}.bar-primary,.bar-secondary{position:relative;bottom:auto;flex:0 0 43%;width:43%}.bar-secondary{background:#d6eae2}.menu-button{position:relative}
@media(max-width:680px){.report-toolbar{align-items:flex-start;flex-direction:column}.report-date-range{width:100%;flex-wrap:wrap}.report-date-range label{flex:1}.report-date-range input{width:100%;min-width:0}.report-date-range select{margin-left:0}}

/* Product/service documents and project expense detail */
[hidden]{display:none!important}.line-item-cell{min-width:260px}.line-kind-row{margin-bottom:5px}.line-kind-row select{max-width:140px}.line-detail{display:grid;gap:5px}.line-detail[hidden]{display:none!important}.line-detail .line-description,.line-detail .line-service-title{height:29px!important;font-size:9px!important}.line-detail .line-service-description{height:43px!important;min-height:43px;padding:6px 7px!important;font-size:9px!important}.line-table .line-discount{width:65px;height:30px;border:1px solid #e8eded;border-radius:5px;padding:0 6px;font-size:9px}.line-table th{white-space:nowrap}.calculated-labour{height:35px;padding:9px 10px;border-radius:6px;background:#f4f8f6;color:#18795c;font-size:11px;font-weight:700}.labour-grid{margin-top:2px}.category-manager{display:grid;gap:3px}.category-manage-row{display:flex;align-items:center;gap:10px;padding:9px 3px;border-bottom:1px solid #eef1f1}.category-manage-row strong{font-size:10px;flex:1}.category-manage-row>span{font-size:9px;color:#8a969a}.project-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.project-detail-tabs{display:grid;gap:9px}.project-detail-tabs .table-scroll{max-height:280px;overflow:auto}.project-detail-tabs .data-table{min-width:670px}.text-link{border:0;background:none;padding:0;color:#187a5d;font:inherit;font-size:inherit;cursor:pointer;text-align:left}.text-link:hover{text-decoration:underline}.doc-items-table .doc-discount-col{width:76px;text-align:right!important}.doc-discount-col small{display:block;text-align:right}.item-type-label{font-size:7px!important;letter-spacing:.45px;color:#7d898d!important}.doc-items-table .doc-total-col{width:100px}.line-items-wrap{overflow-x:auto}
@media(max-width:680px){.project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.line-item-cell{min-width:220px}.line-table{min-width:700px}}
.project-tabs{display:flex;gap:4px;border-bottom:1px solid #e9eeee;margin:0 -2px 12px;padding-bottom:6px}.project-tab{border:0;background:none;padding:7px 11px;border-radius:5px;color:#7a878b;font-size:10px;cursor:pointer}.project-tab.active{background:#eaf5f0;color:#167657;font-weight:700}
.global-search-wrap{position:relative}.global-search-results{position:absolute;z-index:30;top:42px;right:0;width:390px;max-height:430px;overflow:auto;padding:7px;background:#fff;border:1px solid #e4e9e8;border-radius:10px;box-shadow:0 16px 44px rgba(25,42,37,.16)}.global-search-results[hidden]{display:none}.global-result{width:100%;display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;align-items:center;padding:9px 10px;background:transparent;border:0;border-radius:7px;text-align:left;cursor:pointer}.global-result:hover,.global-result:focus-visible{background:#f2f7f4;outline:0}.global-result-type{align-self:start;padding-top:2px;color:#168060;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}.global-result-copy{min-width:0;display:grid;gap:3px}.global-result-copy strong{overflow:hidden;color:#253238;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.global-result-copy small{overflow:hidden;color:#778388;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.global-search-empty{padding:15px 12px;color:#79858a;font-size:11px}.backup-panel{margin-top:14px}.backup-badge{padding:6px 9px;border-radius:16px;background:#eaf5ef;color:#1c7a59;font-size:10px;font-weight:700;white-space:nowrap}.backup-status{display:flex;align-items:center;gap:10px;margin:14px 0;padding:11px 12px;background:#f7f9f8;border:1px solid #edf1ef;border-radius:8px}.backup-status-dot{width:8px;height:8px;border-radius:50%;background:#2ba77c;box-shadow:0 0 0 3px #e0f3eb}.backup-status>span:last-child{display:grid;gap:3px}.backup-status strong{font-size:11px;color:#36434a}.backup-status small{font-size:9.5px;color:#839095}.backup-actions{display:flex;gap:9px;flex-wrap:wrap}.backup-panel .help-note{margin-top:13px}
@media(max-width:680px){.global-search-wrap{position:static}.global-search-wrap .global-search:focus-within{position:absolute;right:12px;top:12px;z-index:32;width:min(calc(100vw - 90px),340px);height:34px;padding:0 9px;background:#fff;border-color:#dce4e1;box-shadow:0 4px 15px rgba(25,42,37,.12)}.global-search-wrap .global-search:focus-within input{display:block}.global-search-wrap .global-search:focus-within kbd{display:none}.global-search-results{top:51px;right:0;width:min(calc(100vw - 28px),390px)}.backup-panel .settings-section-heading{flex-direction:row;align-items:center}.backup-actions .button{flex:1;white-space:nowrap}}

.global-search{cursor:text}.backup-unavailable{background:#fff7ec;border-color:#efdfc8}.backup-unavailable .backup-status-dot{background:#c58935;box-shadow:0 0 0 3px #f5e8d3}
@media(max-width:680px){.global-search-wrap .global-search input{display:block;position:absolute;width:1px;min-width:0;opacity:0;pointer-events:none;flex:none}.global-search-wrap .global-search:focus-within input{position:static;width:auto;opacity:1;pointer-events:auto;flex:1}.modal-footer{flex-wrap:wrap}.modal-footer .required-note{flex:1 1 100%}.modal-actions{flex-wrap:wrap}}

/* About software and developer attribution */
.brand-mark{background:#101010 url('/assets/invoicey-badge.png') center/cover no-repeat;padding:0;overflow:hidden}.brand-mark span{display:none}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.about-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:14px;align-items:stretch}.about-card{padding:24px}.about-brand-lockup{display:flex;align-items:center;gap:20px}.about-brand-lockup img{width:92px;height:92px;object-fit:contain;border-radius:50%;background:#101010;box-shadow:0 5px 18px rgba(26,48,40,.13)}.about-brand-lockup h2,.about-publisher h2{margin:0;color:#25352f;font:700 22px var(--display);letter-spacing:-.35px}.about-brand-lockup p,.about-publisher p{max-width:560px;margin:8px 0 0;color:#7d8b86;font-size:11px;line-height:1.65}.about-rule{height:1px;background:#edf1ef;margin:22px 0 17px}.about-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0}.about-details div{display:grid;gap:5px}.about-details dt{color:#9aa6a3;font-size:9px;letter-spacing:.45px;text-transform:uppercase}.about-details dd{margin:0;color:#32413a;font-size:11px;font-weight:700}.about-details a{color:#197b5e}.about-details a:hover{text-decoration:underline}.about-publisher{display:flex;flex-direction:column;justify-content:center;padding:24px;background:linear-gradient(145deg,#f1f8f4,#fff)}.about-publisher h2{margin-top:3px}.about-badge{align-self:flex-start;margin-top:20px;padding:7px 11px;border:1px solid #d5e8df;border-radius:20px;background:#e9f5ef;color:#187759;font-size:10px;font-weight:800;letter-spacing:.4px}.about-version{margin:14px 3px 0;color:#9aa5a2;font-size:9.5px;text-align:right}
@media(max-width:680px){.about-grid{grid-template-columns:1fr}.about-card{padding:17px}.about-brand-lockup{align-items:flex-start;gap:13px}.about-brand-lockup img{width:70px;height:70px}.about-brand-lockup h2{font-size:19px}.about-details{grid-template-columns:1fr;gap:13px}.about-publisher{min-height:160px}.about-version{text-align:left}}
.access-locked .app-shell{display:none!important}#accessRoot[hidden]{display:none!important}#accessRoot{position:fixed;inset:0;z-index:50;overflow:auto;display:grid;place-items:center;padding:30px 16px;background:radial-gradient(ellipse at 50% 0,#eaf5f0 0,#f5f7f6 58%,#f5f7f6 100%)}.access-card{width:min(560px,100%);padding:34px;background:#fff;border:1px solid #e6ece9;border-radius:16px;box-shadow:0 15px 50px rgba(29,53,44,.11)}.setup-card{width:min(940px,100%);margin:10px auto}.access-brand{display:flex;align-items:center;gap:11px;margin-bottom:27px}.access-brand>strong{font:800 22px var(--display);letter-spacing:-.5px;color:#25352f}.access-card .eyebrow{margin:0 0 8px;color:#178064;font-size:9px;letter-spacing:1.2px;font-weight:800}.access-card h1{margin:0;color:#25332e;font:700 26px var(--display);letter-spacing:-.5px}.access-intro{max-width:620px;color:#788681;font-size:12px;line-height:1.6;margin:9px 0 23px}.access-card form>label,.auth-admin-block>label,.auth-fields>label,.form-grid label{display:grid;gap:6px;color:#485750;font-size:10px;font-weight:650}.access-card input,.access-card textarea,.limit-input{width:100%;min-height:38px;border:1px solid #dfe7e3;border-radius:6px;padding:9px 10px;background:#fff;color:#293730;font-size:11px;outline:0}.access-card input:focus,.access-card textarea:focus{border-color:#79b69d;box-shadow:0 0 0 3px #e6f4ed}.access-card form{display:grid;gap:12px}.access-submit,.auth-submit{width:100%;min-height:42px;margin-top:4px}.auth-error{min-height:0;color:#b84e42;font-size:11px}.auth-link{display:block;margin:19px auto 0;border:0;background:none;color:#147759;font-size:11px;cursor:pointer}.auth-footnote{color:#89958f;font-size:10px;line-height:1.5}.setup-card form h2{margin:6px 0 0;padding-top:17px;border-top:1px solid #edf1ee;color:#35423b;font-size:14px}.auth-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auth-fields label:has(textarea),.auth-fields label:has(#setupLogo),.auth-fields label:has(#setupBackupDir){grid-column:1/-1}.auth-fields textarea{min-height:78px;resize:vertical}.auth-inline{display:flex;gap:8px;align-items:center}.auth-inline input{flex:1;min-width:0}.auth-inline button{white-space:nowrap}.auth-admin-block{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px;border:1px solid #e8eeeb;border-radius:9px;background:#fafcfb}.auth-admin-block h3{grid-column:1/-1;margin:0;color:#33423b;font-size:12px}.setup-card .auth-submit{grid-column:1/-1}.admin-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 12px}.admin-panel .panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.admin-panel table{min-width:690px}.admin-panel .table-scroll{overflow:auto}.admin-panel td small{display:block}.limit-input{width:78px;min-height:30px;padding:4px}.backup-location{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 13px;border:1px solid #edf0ee;border-radius:8px;margin:13px 0}.backup-location span{display:grid;gap:5px;min-width:0}.backup-location strong{font-size:10px;color:#3a4841}.backup-location small{max-width:620px;overflow-wrap:anywhere;color:#838e89;font-size:9px}.backup-history-panel h2{font-size:13px}.backup-history-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef1ef}.backup-history-row>div{display:grid;gap:4px;min-width:0}.backup-history-row strong{overflow:hidden;text-overflow:ellipsis;font-size:10px}.backup-history-row small,.backup-history-row>span{color:#89948e;font-size:9px}.backup-history-row button{flex:none}.company-switch-choice{display:flex;width:100%;align-items:center;justify-content:space-between;padding:12px;border:0;border-bottom:1px solid #eef1ef;background:#fff;text-align:left;cursor:pointer}.company-switch-choice:hover{background:#f4f8f6}.company-switch-choice strong{font-size:11px}.company-switch-choice span{color:#168060;font-size:9px}.permission-details{margin-top:12px;border-top:1px solid #edf1ef;padding-top:12px}.permission-details summary{font-size:11px;font-weight:700;cursor:pointer}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.permission-scope{display:flex;flex-wrap:wrap;gap:6px 11px;margin:0;padding:9px;border:1px solid #e8edeb;border-radius:6px}.permission-scope legend{padding:0 4px;font-size:9px;font-weight:700;color:#53625a}.permission-scope label,.module-toggle span{font-size:9px;color:#59665f}.admin-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:15px}.module-toggle{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;border:1px solid #e8edeb;border-radius:8px}.module-toggle strong{width:100%;font-size:11px}.workspace-switcher{width:100%;background:#fff;color:inherit;text-align:left;cursor:pointer;font-family:var(--font)}.workspace-switcher[hidden],.nav-item[hidden],.nav-label[hidden]{display:none!important}
@media(max-width:680px){#accessRoot{padding:12px 9px;place-items:start center}.access-card{padding:22px 17px;border-radius:12px}.auth-fields,.auth-admin-block{grid-template-columns:1fr}.auth-admin-block h3{grid-column:auto}.permission-grid{grid-template-columns:1fr}.backup-location{align-items:flex-start;flex-direction:column}.admin-panel .table-scroll{overflow-x:auto}.app-shell .profile-row{gap:6px}.profile-row .button{padding:5px 7px}}
 .setup-help{grid-column:1/-1;margin:-5px 0 2px;color:#7c8a84;font-size:10px;line-height:1.5}
.project-purpose-panel{background:#f5faf7;border:1px solid #dcefe6;border-radius:8px;padding:12px 14px;margin-bottom:10px}.project-purpose-panel .detail-heading{padding:0 0 7px;border:0}.project-purpose-panel .detail-heading strong{font-size:12px;color:#167657}.project-purpose-panel p{margin:0;color:#526168;font-size:11px;line-height:1.5}.project-purpose-panel .helper-caption{margin-top:5px;color:#89979a;font-size:9px}.project-review-list{display:flex;flex-direction:column;gap:6px;margin-bottom:6px}.project-review-row{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid #e7eeee;border-radius:7px;background:#fbfdfc}.project-review-row>span:first-child,.project-review-row>a{flex:1;min-width:0}.project-review-row strong{display:block;font-size:10px}.project-review-row small{display:block;margin-top:3px;color:#8b979a;font-size:9px}.timeline-list{margin-bottom:6px}.project-review-row .row-action{flex-shrink:0}@media(max-width:640px){.project-purpose-panel{padding:10px}.project-review-row{align-items:flex-start}.project-review-row>strong{white-space:nowrap}.project-review-row .row-action{margin-left:auto}.project-tabs{overflow-x:auto;white-space:nowrap}}
.expense-summary-stack{display:grid;gap:14px;margin-top:14px}.expense-summary-panel{overflow:hidden}.expense-summary-panel .panel-header{height:auto;min-height:56px}.expense-summary-panel .table-meta{border-top:1px solid #eef1f1}.expense-summary-panel .summary-emphasis{font-weight:700;color:#25343a}.expense-summary-panel .summary-muted{display:block;margin-top:3px;color:#9aa5a7;font-size:9px}.expense-summary-panel .profit-positive,.expense-summary-panel .profit-negative{font-weight:700}@media(max-width:680px){.expense-summary-stack{gap:10px}.expense-summary-panel .panel-header{padding:11px 13px}.expense-summary-panel .panel-title{font-size:11px}}
