/* Shared Windows and phone workspace for service businesses. */
:root{--ink:#18353a;--muted:#73858a;--green:#007878;--gold:#007878;--gold-dark:#095c56;--app-accent:#007878;--app-accent-rgb:0,120,120;--app-accent-ink:#fff;--bg:#f4f7f8;--line:#e1e9ea;--danger:#b44848;--shadow:0 3px 18px #18353a04}
html,body{background:var(--bg);font-family:'Segoe UI',Arial,sans-serif;color:var(--ink);font-size:14px}h1,h2,h3{color:var(--ink)}a,.text-link{color:var(--app-accent)}.eyebrow{color:#748d90;font-size:10px;letter-spacing:1.5px}.help,.subtle{color:var(--muted)}.pill{background:#e2f3ef;color:#19776f}.button{border:1px solid #dce5e7;border-radius:8px;background:#fff;color:#38565c;min-height:39px;box-shadow:none;font-size:12px;white-space:normal;transition:background .15s,border-color .15s}.button:hover:not(:disabled){transform:none;background:#eef7f5;border-color:#bed9d3}.button.primary{background:var(--app-accent);border-color:var(--app-accent);color:var(--app-accent-ink);box-shadow:0 3px 9px #00787812}.button.primary:hover:not(:disabled){background:var(--app-accent);border-color:var(--app-accent);filter:brightness(.94);box-shadow:none}.button.text{color:var(--app-accent)}.button.text:hover:not(:disabled){color:var(--app-accent);background:transparent}.button.ghost{background:transparent}.icon-button{color:#56747a;border-color:#dde8e8;background:#fff;border-radius:8px}.icon-button:hover{background:#edf5f3;color:var(--app-accent)}.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4eaaa360;outline-offset:2px}input,select,textarea{border-color:#dbe5e6;color:#284a50;border-radius:8px;min-height:41px;font-size:13px;background:#fff}input::placeholder,textarea::placeholder{color:#98aaad}input:focus,select:focus,textarea:focus{border-color:#70aaa4;box-shadow:0 0 0 3px #0078780a}input[type=checkbox]{accent-color:var(--app-accent)}input[type=file]{background:#f8fbfa}.field label,label{color:#4f6d73;font-size:12px}.form-footer{background:#f7faf9;border-color:#e3ebea}.form-section{border-color:#e2ebea}.field small{color:#819399}.card{border-color:var(--line);border-radius:12px;box-shadow:var(--shadow)}.card-header{padding:19px 22px;border-color:var(--line);min-height:72px}.card-header h2{font-size:15px;font-weight:650}.card-header p{font-size:12px;color:var(--muted);margin-top:5px}.card-body{padding:22px}.card-header .button{flex-shrink:0}.stat{border-color:var(--line);box-shadow:var(--shadow);border-radius:12px;padding:22px}.stat>span{font-size:12px;color:#6d858b}.stat strong{font-size:28px;color:#193d42;letter-spacing:-.7px;margin-top:15px}.stat small{font-size:11px;color:#8b9da1}.stats{gap:17px}.badge{font-size:10px;line-height:1.5;border-radius:5px;padding:4px 8px}.badge.success{background:#e3f3eb;color:#27815e}.badge.info{background:#e6f0fa;color:#3f759d}.badge.warning{background:#fff2d9;color:#9f7a2e}.badge.danger{background:#fce9e8;color:#b15753}.badge.neutral{background:#edf2f3;color:#688189}.empty-state{padding:38px 24px}.empty-state h3{color:#43656c;font-size:15px}.empty-state p{font-size:12px;color:#8a9da1}.empty-symbol{color:#a0bdbb}.notice.service-notice{background:#eef7f5;border-color:#d4e8e3;color:#527b76}.notice.danger-notice{background:#fff2ee;border-color:#f0d2ca;color:#9b5d4d}.notice{border-radius:8px}
.sidebar{width:242px;padding:27px 17px 18px;background:#16373c;border-right:1px solid #16373c;color:#c0d4d7}.workspace{margin-left:242px;width:calc(100% - 242px)}.brand{color:#fff;font-size:21px;gap:10px;margin-bottom:33px;letter-spacing:-.65px;padding:0 5px}.brand small{color:#8bb7b6;font-size:7px;letter-spacing:1.1px;margin-top:6px}.brand-image{width:38px;height:40px;background:transparent;box-shadow:none;border-radius:9px}.brand-image img{width:38px;height:38px}.workspace-label{font-size:8px;color:#729a9e;padding:0 13px;margin-bottom:12px}.sidebar nav{gap:3px;scrollbar-color:#3b6469 transparent}.sidebar nav a{color:#abc9cc;font-size:12px;min-height:41px;padding:11px 13px;border-radius:7px;gap:11px;flex-shrink:0}.sidebar nav a svg{color:#749da2;width:18px;height:18px}.sidebar nav a:hover{background:#244b50;color:#e1f0ef}.sidebar nav a.active{background:#2c595d;color:#fff;box-shadow:none;font-weight:600}.sidebar nav a.active svg{color:#9dd7cd}.nav-count,.sidebar nav a.active .nav-count{background:#3b6666;color:#bef0dd}.sidebar-bottom{border-top:1px solid #34575b;padding-top:16px}.profile{color:#e6f4f3}.profile small{color:#81a8ac}.avatar{background:#2c555a;color:#b0ddd9;border-radius:8px}.sidebar-logout{color:#9cbdc0;border-color:#3b5d61;background:transparent;font-size:11px}.sidebar-logout:hover:not(:disabled){background:#23484d;border-color:#56787b;color:#fff}.topbar{background:#ffffffea;border-bottom:1px solid #e3ebeb;min-height:74px;padding:17px 32px;backdrop-filter:blur(12px)}.business-label{font-size:12px;color:#365960}.connection{color:#6d9690;font-size:10px}.status-dot{background:#4ba08d}.location-control>span{color:#8a9da2}.location-control select{font-size:11px;color:#5f7b81;border-color:#e1e9ea}.topbar-actions{gap:8px}.app-footer{margin:0 32px;color:#91a7ac;border-color:#e1eaea;font-size:10px}.menu-toggle,.drawer-close{color:#467479}main{padding:28px 32px 32px;max-width:1700px}.page-heading{margin:0 0 23px;gap:20px;align-items:center}.page-heading .eyebrow{display:block;margin-bottom:9px}.page-heading h1{font-size:28px;font-weight:650;letter-spacing:-.8px;margin-bottom:7px;line-height:1.25}.page-heading p{display:block;font-size:12px;color:#83979d;line-height:1.6;max-width:750px}.heading-actions{gap:8px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}.heading-actions .button{padding:10px 15px;min-height:39px;font-size:12px}.toolbar{gap:12px;flex-wrap:wrap}.toolbar .search{min-width:210px}.toolbar .search input{font-size:12px}.toolbar .field{margin:0;min-width:150px}.toolbar .field label{font-size:10px}.toolbar .subtle{font-size:11px}.table-wrap th{font-size:10px;background:#f6f9fa;color:#85999f;letter-spacing:.6px;padding:13px 18px}.table-wrap td{font-size:12px;border-color:#eaf0f0;padding:15px 18px;color:#517078}.table-wrap td strong{font-size:12px;color:#365960}.table-wrap td small{font-size:10px;color:#91a4a9;line-height:1.5;margin-top:4px}.table-wrap tbody tr:hover{background:#f9fcfb}.product-thumb.placeholder{background:#eef6f3;border-color:#deece7;color:#87ada6}.segmented,.tabs .button.active,.settings-tabs .button.active{background:#e7f4ef;color:var(--app-accent)}.settings-tabs .button{color:#799398}.chart-bar{background:linear-gradient(#67afa1,#007878)}.chart-value{color:#7b9b99}.chart-column:hover .chart-bar{background:#357b73}.product-cell{min-width:170px}.service-back{display:inline-block;font-size:11px;color:#7a989e;margin-bottom:18px}.service-record-link{font-weight:650;color:#265e62;line-height:1.5}.service-record-link:hover{text-decoration:underline}.service-person{display:flex;gap:12px;align-items:center;min-width:180px}.service-avatar{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;background:#e9f4f1;color:#5a8c80;font-size:11px;font-weight:650;flex-shrink:0}.service-welcome{background:#e9f2f0;border:1px solid #d6e5e1;border-radius:12px;padding:26px 28px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:25px}.service-welcome h2{font-size:25px;font-weight:600;letter-spacing:-.6px;margin:6px 0 8px;color:#255b59}.service-welcome p{font-size:12px;color:#7a9690;margin:0}.service-welcome .eyebrow{font-size:9px;color:#71988f;margin-bottom:0}.service-shortcut{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:132px;border-left:1px solid #cfe0db;padding-left:28px;gap:6px;color:#376f68}.service-shortcut>span{font-size:35px;font-weight:600;line-height:1.1}.service-shortcut small{font-size:11px}.service-two-col{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px;align-items:start}.service-workflow{padding:3px 22px 13px}.service-workflow>a{display:flex;gap:16px;align-items:center;padding:17px 0;border-bottom:1px solid #ecf1f0;color:#86aaa3}.service-workflow>a:last-child{border:0}.service-workflow>a>b{font-size:13px;color:#8bada4;background:#f0f7f4;padding:10px 9px;border-radius:8px}.service-workflow>a>span{flex:1}.service-workflow strong{display:block;font-size:12px;color:#426b6b;font-weight:600}.service-workflow small{display:block;font-size:11px;color:#8ca3a3;margin-top:5px}.service-ledger-layout{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:24px;align-items:start}.service-ledger-layout>aside{min-width:0}.service-ledger-layout>div{min-width:0}.service-contact{padding:22px;font-size:12px;color:#6e888f;overflow-wrap:anywhere}.service-contact h3{font-size:12px;margin-top:22px}.service-contact p{font-size:12px;line-height:1.7}.service-contact dl{margin:0 0 25px}.service-contact dt{font-size:10px;color:#92a5a8;margin:16px 0 5px}.service-contact dt:first-child{margin-top:0}.service-contact dd{font-size:12px;color:#577980;margin:0;line-height:1.65}.service-prewrap{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#6d8a90}.service-data-list{display:grid;grid-template-columns:140px minmax(0,1fr);gap:11px 18px;margin:10px 0 24px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.service-data-list dt{color:#92a5aa;font-size:11px}.service-data-list dd{margin:0;color:#53767d}.service-job-status{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:-5px 0 22px;color:#8aa0a4;font-size:11px}.service-checklist label,.service-checklist-editor label{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:400;color:#66868b;line-height:1.6;margin:0 0 16px}.service-checklist label:last-child{margin-bottom:0}.service-checklist input,.service-checklist-editor input{flex-shrink:0;margin:2px 0 0}.service-returned{opacity:.6}.service-returned td:first-child strong{text-decoration:line-through}.service-invoice-summary{background:#eef7f4;border:1px solid #daeae5;border-radius:9px;padding:20px;margin-bottom:20px}.service-invoice-summary span{display:block;font-size:12px;color:#5c8880}.service-invoice-summary strong{display:block;font-size:27px;margin:10px 0 5px;font-weight:600;color:#306a60}.service-invoice-summary small{color:#82a198;font-size:11px}.service-invoice-top{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px;align-items:start}.service-invoice-top h3{margin:4px 0 6px;font-size:19px}.service-invoice-top .eyebrow{font-size:9px;margin:0;color:#82a59a}.service-invoice-top small{font-size:11px;color:#90a6a5}.service-balance{text-align:right}.service-balance span{font-size:11px;color:#849f9b}.service-balance strong{display:block;margin-top:8px;color:#2c7566;font-size:27px;font-weight:600}.service-inline-stats{display:flex;gap:25px;padding:14px 0;border-top:1px solid #edf2f0;border-bottom:1px solid #edf2f0;font-size:12px;color:#90a4a3;margin-bottom:18px}.service-inline-stats b{font-size:13px;margin-left:8px;color:#4c7973}.service-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.service-invoice-ledger>h3{font-size:13px;margin-top:20px}.service-invoice-ledger .table-wrap{margin-left:-22px;margin-right:-22px;width:calc(100% + 44px)}.service-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px}.service-file{border:1px solid #e6eeec;border-radius:9px;overflow:hidden;background:white;min-width:0}.service-file-image{padding:0;display:block;width:100%;height:135px;border:0;background:#eff5f2}.service-file-image img{width:100%;height:100%;object-fit:cover;display:block}.service-document{height:135px;display:flex;align-items:center;justify-content:center;background:#f0f6f4;color:#8aada5;font-size:29px;letter-spacing:1px;gap:10px}.service-document span{font-size:20px;color:#b2cbc4}.service-file>div{padding:12px}.service-file strong{display:block;font-size:11px;overflow-wrap:anywhere;color:#537870;line-height:1.5}.service-file small{display:block;font-size:9px;color:#9aadaa;overflow-wrap:anywhere;line-height:1.5;margin-top:4px}.service-file-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}.service-file-actions a,.service-file-actions .button{font-size:10px;line-height:1.4;min-height:25px}.service-photo-preview{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:auto}.service-ledger-layout>aside .service-files{grid-template-columns:1fr}.service-expense-summary{display:flex;justify-content:space-between;gap:20px;padding:0 0 25px;margin-bottom:25px;border-bottom:1px solid #e6eeeb;align-items:center}.service-expense-summary h3{margin:8px 0 5px;font-size:20px}.service-expense-summary small{font-size:11px;color:#90a6a3}.service-expense-summary>strong{font-size:27px;font-weight:600;color:#2c6e60}.service-expense-summary .eyebrow{margin-bottom:0}.login-art{background:#16373c;background:radial-gradient(ellipse at 0 100%,#2d6d6650,transparent 65%),#16373c;color:#fff;padding:70px 12%}.login-art img{width:96px;height:96px;margin-bottom:38px}.login-art h1{font-size:43px;color:#fff;line-height:1.16;letter-spacing:-1.6px;margin:0 0 23px}.login-art p{color:#9ebbbd;font-size:14px;line-height:1.9}.login-art .eyebrow{color:#6ba69d;font-size:9px;margin-bottom:18px}.login-art small{color:#6d9599;font-size:8px}.login-page{background:#f6f9f8;grid-template-columns:1fr 1fr}.login-card h2{color:#254b4f;font-size:29px}.login-card>p{color:#829a9e}.setup-page{background:#eef5f3}.setup-card.service-setup{max-width:780px;border:1px solid #deebe5;box-shadow:0 12px 50px #1b5e4810;padding:38px 44px}.setup-card h1{font-size:30px;color:#255952;letter-spacing:-1px}.setup-card>p{font-size:13px;color:#7d9a92}.setup-card .setup-logo{width:50px;height:50px;object-fit:contain}.setup-heading{align-items:center}.setup-section-label{color:#668e82;border-color:#e4eee8}.setup-section-label span{background:#edf6f1;color:#85ac9a}.setup-footer{justify-content:flex-end;gap:10px}.trade-preview{border:1px solid #d8eae0;border-radius:10px;background:#f2f9f4;padding:24px;margin-bottom:24px}.trade-preview h2{font-size:21px;color:#39745b;margin:5px 0 10px}.trade-preview>p{font-size:12px;color:#7a9e8b;line-height:1.7}.trade-preview .eyebrow{font-size:8px;color:#94b49e}.trade-preview>small{font-size:10px;color:#91ad9c;display:block;line-height:1.8;border-top:1px solid #dfede2;padding-top:15px}.trade-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0}.trade-preview-grid strong{font-size:11px;color:#649178}.trade-preview-grid p{font-size:11px;line-height:1.7;color:#89a893;margin:6px 0 0}.settings-trade-preview{margin-top:14px}.service-report-heading{margin-bottom:22px}
@media(min-width:1500px){.service-files{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){main{padding:24px}.topbar{padding:17px 24px}.service-ledger-layout{grid-template-columns:250px minmax(0,1fr);gap:18px}.service-files{grid-template-columns:repeat(2,minmax(0,1fr))}.service-two-col{grid-template-columns:1fr}.service-two-col .card{margin-bottom:0}.service-two-col{margin-bottom:22px}.location-control>span{display:none}.service-stats .stat{padding:18px}.service-stats .stat strong{font-size:24px}.service-stats .stat small{font-size:10px}.service-data-list{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:900px){.sidebar{width:254px}.workspace{margin-left:0;width:100%}.topbar{padding:15px 20px}.menu-toggle,.drawer-close{display:inline-grid}.drawer-close{color:#c0dbd8;background:#244b50;border-color:#44666a}.sidebar{padding-top:32px}.service-ledger-layout{grid-template-columns:235px minmax(0,1fr)}.service-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.service-contact{padding:18px}.card-header{padding:17px 18px}.card-body{padding:18px}.service-welcome{padding:23px}.service-invoice-ledger .table-wrap{margin-left:-18px;margin-right:-18px;width:calc(100% + 36px)}.page-heading h1{font-size:26px}.heading-actions .button{font-size:11px;padding:9px 12px}.topbar .business-label{flex:1}.app-footer{margin:0 22px}.table-wrap td,.table-wrap th{padding-left:15px;padding-right:15px}}
@media(max-width:680px){main{padding:21px 15px}.page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:21px}.page-heading h1{font-size:25px}.page-heading .eyebrow{font-size:8px;display:block;margin-bottom:8px}.page-heading p{font-size:11px;display:block}.page-heading .heading-actions{justify-content:flex-start;flex:0 1 auto;width:auto;gap:7px;margin-top:2px}.heading-actions .button{font-size:11px;min-height:36px}.service-welcome{padding:22px 20px;gap:12px}.service-welcome h2{font-size:21px;letter-spacing:-.4px;line-height:1.3}.service-welcome p{font-size:11px;line-height:1.7}.service-shortcut{min-width:70px;padding-left:14px}.service-shortcut>span{font-size:29px}.service-shortcut small{font-size:10px}.service-stats{gap:11px}.service-stats .stat{padding:16px 15px}.stat>span{font-size:11px}.service-stats .stat strong{font-size:23px;margin-top:12px}.service-stats .stat small{font-size:10px;line-height:1.5}.service-two-col{gap:18px}.service-ledger-layout{grid-template-columns:1fr;gap:0}.service-ledger-layout>aside{display:contents}.service-ledger-layout>aside>.card{margin-bottom:19px}.service-ledger-layout>div{display:contents}.service-files{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px;gap:11px}.service-ledger-layout>aside .service-files{grid-template-columns:repeat(2,minmax(0,1fr))}.service-file-image,.service-document{height:140px}.service-data-list{grid-template-columns:95px minmax(0,1fr);gap:12px 15px}.service-contact dl{display:grid;grid-template-columns:95px minmax(0,1fr);gap:11px 15px}.service-contact dt{margin:0;font-size:11px}.service-contact dd{margin:0}.service-contact h3{margin-top:19px}.service-contact{padding:19px}.service-job-status{gap:10px;font-size:10px;margin-top:-5px;margin-bottom:20px}.card-header{padding:17px 18px}.card-header h2{font-size:14px}.card-header p{font-size:11px}.card-header .button{font-size:10px;padding:7px 9px;min-height:33px}.service-back{margin-bottom:18px}.service-toolbar .field{flex:1;min-width:120px}.service-toolbar .search{min-width:100%;max-width:none}.service-toolbar .field select{font-size:12px}.service-expense-summary>strong{font-size:23px}.service-invoice-top{gap:10px}.service-balance strong{font-size:23px}.service-invoice-top h3{font-size:17px}.service-inline-stats{gap:18px;font-size:11px}.topbar{gap:9px;padding:13px 15px;min-height:66px}.topbar-actions{gap:6px}.topbar-actions .location-control{display:none}.business-label{font-size:11px}.topbar .connection{font-size:9px}.topbar .icon-button{width:32px;height:32px;min-width:32px;min-height:32px}.app-footer{margin:0 15px;font-size:9px;gap:12px}.service-contact>p{font-size:12px}.setup-card.service-setup{padding:27px 24px;margin:15px;max-width:calc(100% - 30px)}.setup-card h1{font-size:26px}.setup-card>p{font-size:12px}.trade-preview{padding:19px}.trade-preview-grid{grid-template-columns:1fr;gap:12px;margin:15px 0}.setup-heading{gap:12px}.setup-card .pill{font-size:8px;letter-spacing:.5px}.setup-card .setup-logo{width:42px;height:42px}.login-page{grid-template-columns:1fr}.login-art{display:none}.login-card{padding:55px 0}.dialog-body input,.dialog-body select,.dialog-body textarea{font-size:14px;min-height:43px}.service-photo-preview{max-height:70dvh}.service-file strong{font-size:11px}.service-files .button{font-size:10px}.service-actions{gap:7px}.service-actions .button{font-size:11px}.service-checklist-editor .check-field{margin-bottom:15px}}
.service-quote-lifecycle{display:flex;gap:15px;align-items:center;padding:18px 23px;background:#edf4f2;border:1px solid #dfeae6;border-radius:10px;margin-bottom:23px;color:#91a99f;font-size:12px}.service-quote-lifecycle>span{padding:7px 11px;border-radius:6px}.service-quote-lifecycle>span.active{color:#317963;background:#deeee5;font-weight:600}.service-quote-lifecycle>i{color:#abc1b5;font-style:normal}.service-quote-lifecycle>div{margin-left:auto}.service-document-preview>.invoice-preview{width:100%;max-width:900px;margin:auto;padding:44px 50px}.service-document-preview{background:#fff}.service-quote-stamp{border-color:#7e9a90;color:#7e9a90}.quotation-edit-line{display:grid;grid-template-columns:minmax(180px,2fr) 90px 115px 130px 35px;gap:12px;align-items:end}.quotation-edit-line>.button{margin-bottom:19px;padding:3px;min-height:41px}.quotation-edit-line .field{margin-bottom:18px}.quotation-edit-line label{font-size:10px}.service-receipt{padding:15px 22px;color:#294d51}.service-receipt header{display:flex;justify-content:space-between;gap:25px;padding:5px 0 22px;border-bottom:3px solid #d9b93e;align-items:start;margin-bottom:30px}.service-receipt header img{width:120px;height:80px;object-fit:contain}.service-receipt header>div{margin-left:auto;text-align:right}.service-receipt header h1{font-size:24px;letter-spacing:-.6px;margin:0 0 10px}.service-receipt header strong{font-size:13px;color:#6d8b8c}.service-receipt header p{font-size:11px;color:#90a7a4;margin:8px 0 0}.service-receipt-parties{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-bottom:25px}.service-receipt-parties h2{font-size:17px;margin-bottom:10px}.service-receipt-parties h3{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#9caeac;margin-bottom:12px}.service-receipt-parties p{font-size:11px;white-space:pre-line;color:#819d9b;line-height:1.8;margin:6px 0}.service-receipt-parties strong{font-size:13px}.service-receipt-amount{border-radius:8px;background:#edf6f0;padding:22px 25px;margin-bottom:28px;display:flex;justify-content:space-between;align-items:center;color:#739382;font-size:12px}.service-receipt-amount strong{font-size:30px;color:#447963;font-weight:600}.service-receipt .service-data-list{grid-template-columns:150px minmax(0,1fr)}.service-receipt>p{font-size:12px;color:#80978f}.service-receipt footer{border-top:1px solid #e3ece6;padding-top:20px;margin-top:30px;font-size:10px;color:#99ada2;white-space:pre-line;line-height:1.7}.service-export-actions{margin:0;justify-content:flex-end}.service-accountant-summary{padding:22px}.service-accountant-summary dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 35px}.service-accountant-summary dl>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #eaf0ec;padding:12px 0;align-items:center}.service-accountant-summary dt{font-size:11px;color:#8ba297}.service-accountant-summary dd{margin:0;font-size:13px;font-weight:600;color:#527c68}.service-accountant-summary>small{font-size:10px;color:#9db3a6;display:block;line-height:1.8;margin-top:18px}.service-accountant-print{font-size:10px;color:#1e3e38}.service-accountant-print>h1{font-size:23px;margin-bottom:12px}.service-accountant-print>p{font-size:11px;color:#6b8980}.service-accountant-print>h2{font-size:16px;margin-top:30px;padding-bottom:12px;border-bottom:2px solid #d4b547;break-after:avoid}.service-accountant-print .table-wrap td,.service-accountant-print .table-wrap th{font-size:9px;padding:10px 9px}.service-accountant-print footer{font-size:9px;color:#8a9d94;margin-top:25px;border-top:1px solid #d8e2da;padding-top:15px}.service-pdf-preview{padding:12px;background:#edf1f0;border-bottom:1px solid #e2e8e5;margin-bottom:15px}.service-pdf-preview iframe{border:0;width:100%;height:550px;background:#e5e9e7;border-radius:4px}.service-pdf-preview small{display:block;font-size:9px;color:#91a69b;text-align:center;padding-top:10px}.mini-modern_v2{border-top:4px solid #d6b92a!important;background:linear-gradient(#fff 32%,#f5f1da 32% 37%,#fff 37%)!important}.mini-modern_v2 i:first-child{background:#ddd4a9;width:35%;height:13px;margin-top:10px}.invoice-modern_v2{font-family:Arial,sans-serif;color:#172f33}.invoice-modern_v2 .reference-invoice-header{padding:0 0 10px;align-items:center}.invoice-modern_v2 .reference-invoice-header h1{font-size:28px;letter-spacing:-1px;line-height:1.3;color:#172d32}.invoice-modern_v2 .reference-rule{background:#d3b732;height:3px;border:0}.invoice-modern_v2 .invoice-totals{width:320px}.invoice-modern_v2 .reference-from{border-color:#d3b732}.invoice-modern_v2 .invoice-sale-meta{font-size:9px;border-color:#dfce80}.invoice-modern_v2 table th{background:#f5efd4;border-bottom:2px solid #d3b732;color:#6d6231}.invoice-modern_v2 table td{border-color:#e4dfc8}.invoice-modern_v2 .invoice-totals .grand{border-top:3px solid #d3b732;padding-top:16px}.invoice-modern_v2 .reference-addresses,.invoice-modern_v2 .reference-to{margin:20px 0}.invoice-modern_v2 .invoice-payment-stamp{font-size:11px}.invoice-modern_v2 .invoice-note-block{font-size:11px}.invoice-modern_v2 footer{border-top:2px solid #d3b732;padding-top:16px}.service-attachment-section{padding:17px 0;border-top:1px solid #e6eee8;margin-top:16px}.service-attachment-section h3{font-size:13px;margin:0 0 8px}.service-attachment-section p{font-size:11px;color:#8da294}.service-attachment-list{margin:10px 0;padding-left:20px;line-height:1.8;color:#6f8c7a;font-size:11px}.service-invoice-ledger .service-files{padding:10px 0;grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.service-accountant-summary dl{grid-template-columns:1fr}.service-quote-lifecycle{gap:8px;font-size:11px;padding:15px}.service-document-preview>.invoice-preview{padding:30px}.quotation-edit-line{grid-template-columns:minmax(160px,2fr) 80px 95px 115px 30px;gap:8px}.service-pdf-preview iframe{height:400px}.service-export-actions .button{font-size:10px;min-height:31px;padding:6px 9px}}
@media(max-width:680px){.quotation-edit-line{grid-template-columns:1fr 1fr;gap:0 12px;border-bottom:1px solid #e2eee6;padding-bottom:10px;margin-bottom:18px;position:relative}.quotation-edit-line .quote-line-description{grid-column:1/-1;padding-right:35px}.quotation-edit-line>.button{position:absolute;right:0;top:20px;width:29px;min-height:39px;border:0}.quotation-edit-line>.field:last-of-type{grid-column:1/-1}.service-quote-lifecycle{font-size:10px;gap:4px;padding:12px 10px;flex-wrap:wrap}.service-quote-lifecycle>span{padding:5px 6px}.service-quote-lifecycle>div{margin-left:0}.service-document-preview>.invoice-preview{padding:23px 17px;min-width:0}.service-receipt{padding:5px 2px}.service-receipt header h1{font-size:21px}.service-receipt header img{width:85px;height:65px}.service-receipt-parties{gap:20px}.service-receipt-parties h2{font-size:15px}.service-receipt-amount{padding:19px}.service-receipt-amount strong{font-size:25px}.service-receipt .service-data-list{grid-template-columns:130px minmax(0,1fr)}.service-accountant-summary{padding:18px}.service-accountant-summary dt{font-size:11px}.service-accountant-summary dd{font-size:12px;white-space:nowrap}.service-export-actions{gap:6px}.service-invoice-ledger .service-files{grid-template-columns:repeat(2,minmax(0,1fr))}.service-pdf-preview{display:none}.invoice-modern_v2 .reference-invoice-header h1{font-size:21px}.invoice-modern_v2 .invoice-totals{width:100%;max-width:320px}}
@media print{.service-back,.service-welcome,.service-job-status,.service-actions{display:none}.service-photo-preview{max-height:none}.service-receipt{padding:0}.service-accountant-print .service-accountant-summary{padding:0}.service-accountant-print .table-wrap{overflow:visible}.service-accountant-print table{font-size:9px;page-break-inside:auto}.service-accountant-print tr{break-inside:avoid}.service-accountant-print thead{display:table-header-group}.service-accountant-print .service-accountant-summary dl>div{break-inside:avoid}.service-accountant-print th{white-space:normal}.service-accountant-print .table-wrap td small{font-size:8px}}

/* Keep Android form focus under the user’s control while its keyboard resizes the viewport. */
.android-app{scroll-behavior:auto}.android-app .topbar,.android-app .drawer-overlay{backdrop-filter:none;-webkit-backdrop-filter:none}.android-app dialog[open]{animation:none}.android-app dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}.android-app .dialog-body{scroll-behavior:auto}.android-app .dialog-header{position:relative}.android-app input:focus,.android-app select:focus,.android-app textarea:focus{scroll-margin-block:16px}

/* ServiceLedger identity uses the supplied artwork and its exact base palette.
   Saved business accents and document branding remain independent. */
:root{--brand-teal:#007878;--brand-mint:#a8d8d0;--brand-ink:#103038;--brand-white:#fff;--ink:var(--brand-ink);--muted:#567478;--bg:#f5faf9;--line:#dcebe7;--shadow:0 3px 18px #10303808}
html,body{background:var(--bg)}
.sidebar{background:var(--brand-white);color:var(--brand-ink);border-right-color:var(--line)}
.sidebar .brand{display:flex;align-items:center;justify-content:center;padding:0;margin:0 0 24px;gap:0;min-width:0;background:var(--brand-white)}
.brand .brand-wordmark{display:block;width:100%;max-width:220px;height:auto;object-fit:contain}
.brand .brand-mark{display:none;width:38px;height:38px;object-fit:contain}
.workspace-label{color:var(--brand-teal)}
.sidebar nav{scrollbar-color:var(--brand-mint) transparent}
.sidebar nav a{color:#48696b}
.sidebar nav a svg{color:var(--brand-teal)}
.sidebar nav a:hover{background:#edf7f5;color:var(--brand-ink)}
.sidebar nav a.active{background:var(--brand-mint);color:var(--brand-ink)}
.sidebar nav a.active svg{color:var(--brand-teal)}
.sidebar .nav-count,.sidebar nav a.active .nav-count{background:#ffffffa3;color:var(--brand-teal)}
.sidebar-bottom{border-top-color:var(--line)}
.sidebar .service-local-label{color:var(--brand-ink)}
.sidebar .service-local-label small{color:var(--muted)}
.topbar{background:#ffffffed;border-bottom-color:var(--line)}
.mobile-brand{display:none;flex-shrink:0;line-height:0}
.mobile-brand img{display:block;width:30px;height:30px;object-fit:contain}
.menu-toggle,.drawer-close{color:var(--brand-teal);background:#fff;border-color:var(--line)}
.menu-open .sidebar{box-shadow:20px 0 70px #10303820}
.loading{background:var(--brand-white)}
.loading-brand{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px;color:var(--muted);text-align:center}
.loading-brand img{width:min(350px,78vw);height:auto;display:block}
.service-startup-error img{width:min(300px,100%);height:auto;object-fit:contain}
.setup-page{background:#f2f8f6}
.setup-card,.setup-card.service-setup{border-color:var(--line);background:var(--brand-white);box-shadow:0 16px 55px #1030380b}
.setup-heading{gap:20px;flex-wrap:wrap}
.setup-card .setup-logo{display:block;width:min(300px,100%);max-width:100%;height:auto;object-fit:contain}
.setup-card h1{color:var(--brand-ink)}
.setup-card>p,.setup-section-label{color:var(--muted)}
.setup-section-label span,.trade-preview,.theme-tag{background:#edf7f5;color:var(--brand-teal)}
.setup-footer{border-top-color:var(--line)}
.pill{background:#e4f4f0;color:var(--brand-teal)}
.stats .stat:not(.warning){background:#f0f8f6;border:1px solid var(--line)}
.stats .stat:not(.warning):nth-child(2n){background:#eaf6f3}
.stats .stat>span,.stats .stat small{color:var(--muted)}
.stats .stat strong{color:var(--brand-ink)}
.trade-preview p,.trade-preview>small{color:var(--muted)}
.trade-preview-grid strong,.trade-preview h2{color:var(--brand-teal)}
.chart-bar{background:linear-gradient(var(--brand-mint),var(--brand-teal))}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#00787866}
.sidebar-collapsed .brand .brand-wordmark{display:none}
.sidebar-collapsed .brand .brand-mark{display:block}
@media(max-width:900px){.sidebar .brand{padding-top:8px;margin-bottom:22px}.mobile-brand{display:block}.topbar{gap:9px}.business-label{flex:1}.drawer-close{background:#fff;color:var(--brand-teal);border-color:var(--line)}}
@media(max-width:680px){.setup-page{padding:20px}.setup-card.service-setup{margin:0;max-width:100%;padding:25px 23px}.setup-heading{display:block}.setup-card .setup-logo{width:min(270px,100%);margin-bottom:15px}.setup-heading .pill{display:inline-block}.sidebar .brand-wordmark{max-width:220px}.topbar{gap:8px}.mobile-brand img{width:28px;height:28px}.business-label{min-width:0}.loading-brand{gap:10px}}
@media(max-width:680px){.topbar{flex-wrap:nowrap;min-height:66px}.topbar-actions{width:auto;padding-left:0;margin-top:0;flex-shrink:0}.topbar .business-label{font-size:10px}.mobile-brand{margin-right:1px}}

.setup-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.setup-mode-card{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid #cddfdb;border-radius:12px;background:#fff;cursor:pointer}.setup-mode-card:has(input:checked){border-color:var(--app-accent,#007878);background:#edf8f5;box-shadow:0 0 0 1px var(--app-accent,#007878)}.setup-mode-card input{width:20px;height:20px;accent-color:var(--app-accent,#007878)}.setup-mode-card strong{font-size:16px;color:#103038}.setup-mode-card span{font-size:12px;font-weight:400;line-height:1.7;color:#517078}@media(max-width:600px){.setup-mode-options{grid-template-columns:1fr}.setup-mode-card{padding:18px}}
/* Keep labelled filters and unlabelled search controls on one baseline. */
.service-toolbar,#invoice-search-form{align-items:flex-end;row-gap:14px;--filter-height:42px}
.service-toolbar .search input,.service-toolbar>.field input,.service-toolbar>.field select,#invoice-search-form .search input,#invoice-search-form>.field select,#invoice-search-form>.button{height:var(--filter-height);min-height:var(--filter-height);box-sizing:border-box}
.service-toolbar>.subtle,#invoice-search-form>.subtle{display:flex;align-items:center;min-height:var(--filter-height)}
.service-button-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.service-button-row>.button{margin:0;flex-shrink:0}
