body:has(#workspace:not([hidden]))>header{position:sticky;top:0;z-index:100;background:#fff;height:64px;min-height:64px}
body:has(#workspace:not([hidden])) main{padding:12px 20px 24px}
body:has(#workspace:not([hidden])) #message{font-size:12px;line-height:1.5;padding:8px 12px;margin:0 0 12px;min-height:0}
.workspace-main{gap:12px}#workspaceTabs{padding:0;gap:5px}.workspace-tab button{min-height:34px;padding:6px 9px;font-size:12px}#workspaceTabs:has(.workspace-tab:only-child){display:none}
#workspaceOptions{border:1px solid #e3e9f1;border-radius:10px;background:white;font-size:12px;padding:8px 12px;margin:0}#workspaceOptions>summary{cursor:pointer;color:#61738a;list-style-position:inside}#workspaceOptions[open]>.toolbar{padding-top:10px}.toolbar #scopeLabel{margin-inline-end:auto}
#appSidebar{top:76px;max-height:calc(100dvh - 88px);border-radius:12px}#appSidebar .nav-group-title{padding:10px 10px 3px;font-size:10px;margin:0}#appSidebar [data-tab]{min-height:40px;padding:8px 10px;font-size:13px;gap:9px}.nav-foot{margin-top:12px;padding-top:12px}
.section-head{margin-bottom:12px;padding-bottom:12px}.section-head h2{font-size:21px}.section-head .primary{padding-inline:18px}
button.primary[data-action-tone],button.primary[data-action-tone]:hover:not(:disabled){background:#153552;border-color:#153552;color:#fff;--action-fg:#fff;box-shadow:none}
.customer-search-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px 14px;border-radius:12px;margin:0 0 12px;box-shadow:none}.customer-search-tools>label{margin:0;font-size:12px}.customer-search-tools #customerSearch{margin-top:4px;height:44px;font-size:15px}.customer-search-tools #clearCustomerSearch{align-self:center;background:transparent;color:#61738a;border-color:#e3e9f1;font-size:12px}.customer-search-tools #customerResultsCount{grid-column:1/-1;margin:0;font-size:12px}
#customersPanel .customer-layout{display:block}#customerList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;border:0;background:transparent;box-shadow:none}
#customerList .customer-result{display:grid;grid-template-columns:1fr auto;gap:2px 8px;text-align:start;padding:12px 14px;background:#fff;border:1px solid #e3e9f1;border-radius:12px;margin:0;min-width:0;align-content:start;box-shadow:none}
#customerList .customer-result strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}#customerList .customer-result small{grid-column:1/-1;font-size:12px;line-height:1.5;margin:0;color:#61738a}#customerList .customer-result .result-followup{font-size:11px}#customerList .customer-result .pill{font-size:10px;margin:0;align-self:start}#customerList .customer-result .pill[hidden]{display:none!important}#customerList .customer-result:hover{border-color:#98b4cf;background:#f8fbfe}
.customer-help{padding:10px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#748198;font-size:12px}.customer-help #emptyCustomer{padding:0;text-align:start}
.list-pagination{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;padding:12px 0;margin:0}.pagination-count{margin-inline-end:auto;font-size:12px;color:#61738a}.list-pagination button{font-size:12px;min-height:36px;padding:7px 12px}.list-pagination select{width:auto;font-size:12px;min-height:36px;padding:6px 8px;margin:0}.list-pagination label{display:flex;align-items:center;gap:5px;font-size:12px;margin:0}.list-pagination input{width:56px;min-height:36px;padding:6px;text-align:center;font-size:14px;margin:0}
.action-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:90dvh;margin:auto;padding:0;border:1px solid #dbe4ee;border-radius:18px;overflow:hidden;box-shadow:0 24px 80px #102a4338;background:white}
.action-dialog[open]{display:flex;flex-direction:column}.action-dialog::backdrop{background:#102a4370;backdrop-filter:blur(3px)}.action-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid #e3e9f1;background:#fff;flex-shrink:0}.action-dialog-head h2{font-size:19px;margin:0}.action-dialog-close{width:36px;height:36px;min-height:36px;display:grid;place-items:center;padding:0;font-size:26px;background:#f4f7fb;color:#50677e;border:0;box-shadow:none;flex-shrink:0}.action-dialog-body{padding:18px 20px;overflow:auto;overscroll-behavior:contain;min-height:0;scroll-padding-top:12px}.action-dialog-body>form{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}.action-dialog-body>form>label{margin:0}.action-dialog-body>form>h3{display:none}.action-dialog-body>form>p,.action-dialog-body>form>.two-col,.action-dialog-body>form>div,.action-dialog-body>form>fieldset{grid-column:1/-1}.action-dialog-body>form>button{margin:0;align-self:end}.action-dialog-body>form>button.primary{grid-column:1/-1}.action-dialog-body input,.action-dialog-body select,.action-dialog-body textarea{font-size:16px}.action-dialog-body form label:has(textarea){grid-column:1/-1}.action-dialog-feedback{margin:0;background:#eff5fb;color:#355c7d;padding:8px 20px;font-size:13px;flex-shrink:0}.action-dialog-feedback:empty{display:none}
#customerForm #cLocation{font-size:12px}#customerDetail>h3{margin:0 0 8px;font-size:22px}#customerDetail .actions{position:sticky;top:-18px;background:white;padding:10px 0;z-index:2}#customerDetail .actions button{font-size:12px;padding:8px 10px}#customerDetail #customerInfo{font-size:14px;line-height:1.8;background:#f5f8fc;border-radius:10px;padding:12px}#customerDetail form{padding:16px;border:1px solid #dde6ef;border-radius:12px;background:#f9fbfd}#customerDetail #history{max-height:380px;overflow:auto;padding-inline-end:5px}#quoteReview iframe{height:52dvh!important;min-height:300px}
#quoteList,#oppRows,#cashRows,#collectionRows,#depositRows,#appointmentList{max-height:65dvh;overflow:auto;overscroll-behavior:contain;padding-inline-end:4px;scrollbar-width:thin}
@media(max-width:760px){body:has(#workspace:not([hidden])) main{padding:10px 10px 20px}.workspace-main{gap:10px}body:has(#workspace:not([hidden]))>header{height:58px;min-height:58px}#appSidebar{top:0;max-height:100dvh}#appSidebar [data-tab]{font-size:14px;min-height:42px}.section-head h2{font-size:19px}.panel{padding:14px 12px}.section-head button{font-size:12px;min-height:40px}#customerList{grid-template-columns:1fr}.customer-search-tools{padding:10px;gap:6px}.customer-search-tools #customerSearch{font-size:16px}.customer-search-tools #clearCustomerSearch{font-size:11px;padding:7px;min-height:36px}.customer-search-tools>label{font-size:11px}.customer-search-tools #customerResultsCount{font-size:11px}#customerList .customer-result{padding:10px 12px}#customerList .customer-result small:last-child{display:none}.list-pagination{gap:6px;justify-content:center}.pagination-count{width:100%;text-align:center;margin:0}.list-pagination select{font-size:11px}.list-pagination label{font-size:11px}.action-dialog{width:calc(100vw - 16px);max-height:94dvh;border-radius:14px}.action-dialog-head{padding:12px 14px}.action-dialog-head h2{font-size:17px}.action-dialog-body{padding:14px}.action-dialog-body>form{grid-template-columns:1fr;gap:10px}.action-dialog-body>form>label,.action-dialog-body>form>button{grid-column:1}.action-dialog-body>form>.two-col{grid-template-columns:1fr}.action-dialog-feedback{padding:8px 14px}#customerDetail .actions{top:-14px}.workflow-center{margin:12px 0}.document-tools{margin:12px 0;padding:10px}.document-tools label{font-size:12px}#quoteList,#oppRows,#cashRows,#collectionRows,#depositRows{max-height:60dvh}}
.action-dialog-footer{display:flex;gap:8px;align-items:center;padding:12px 20px;border-top:1px solid #e3e9f1;background:#fff;flex-shrink:0}.action-dialog-footer .primary{flex:1}.dialog-footer-source{display:none!important}.action-dialog-body>form>p:empty{display:none}.action-dialog-body>form>p{margin:0;font-size:12px}.optional-fields{grid-column:1/-1;background:#f5f8fc;border:1px solid #e3e9f1;border-radius:10px;padding:10px 12px;font-size:13px}.optional-fields summary{cursor:pointer}.optional-fields-body{display:grid;grid-template-columns:1fr 1fr;gap:10px}.optional-fields-body label:has(textarea){grid-column:1/-1}.action-dialog-body #customerForm>button#captureLocation{grid-column:1/-1}.action-dialog-body #customerForm label{font-size:12px}.action-dialog-body #customerForm{gap:10px 14px}.action-dialog-body #customerForm input,.action-dialog-body #customerForm select{margin-top:4px;min-height:42px;padding:8px 10px}.action-dialog-body #customerForm label:has(#cLocation){grid-column:auto}.action-dialog-footer button{min-height:44px}
@media(max-width:760px){.action-dialog-footer{padding:10px 14px}.optional-fields-body{grid-template-columns:1fr}.action-dialog-body #customerForm{gap:8px}.action-dialog-body #customerForm label:has(#cLocation){grid-column:1}}
#emptyCustomer:before{display:none}.customer-help{margin-top:0}#customerPagination{position:sticky;bottom:0;background:#f5f7fb;z-index:3;border-top:1px solid #e3e9f1}
#workspace>dialog.action-dialog{width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px)}@media(max-width:760px){#workspace>dialog.action-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}}
.client-notes-details{border:1px solid #e3e9f1;border-radius:10px;padding:12px;margin:12px 0}.client-notes-details>summary{font-size:14px;font-weight:700;cursor:pointer}.client-notes-details .customer-notes{border:0;padding:0;margin:10px 0 0}
@media(max-width:760px){header .header-user{width:auto;min-width:0;flex:0 0 auto}}
header{position:relative;justify-content:flex-start}header .header-brand{margin-inline-start:auto;order:3}header .header-user{display:none}#sidebarToggle{width:40px;min-width:40px;height:40px;min-height:40px;padding:8px;border-radius:10px}#sidebarLoginMenu{position:absolute;right:12px;top:calc(100% + 8px);z-index:9002;padding:10px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px #15355222}.sidebar-account{margin-top:auto;padding-top:12px;border-top:1px solid #ffffff26}.sidebar-account #logout{display:flex;align-items:center;gap:12px;width:100%;height:auto;background:transparent;color:inherit;border:0;text-align:right;padding:12px}.sidebar-account #logout[hidden]{display:none}.sidebar-account svg{width:24px;height:24px}#workspace.sidebar-collapsed .sidebar-account #logout{justify-content:center;padding:12px 0}#workspace.sidebar-collapsed .sidebar-account span{display:none}@media(min-width:761px){#workspace{transition:grid-template-columns .18s ease}#appSidebar{min-height:calc(100dvh - 108px)}}@media(prefers-reduced-motion:reduce){#workspace{transition:none}}
header .header-brand{width:auto;flex:0 1 auto;margin-inline-start:auto!important;justify-content:flex-end}.sidebar-account{order:999}.sidebar-account #logout{color:#f3d99a!important;opacity:1}
/* Customer actions before opening a file; quiet page chrome. */
header .header-brand{flex-direction:row-reverse}#sidebarToggle{font-size:12px;width:auto;min-width:54px;background:#f1f5fa;color:#153552;border-color:#dae4ee}body:has(#workspace:not([hidden])) #sidebarToggle{position:fixed;right:0;top:76px;z-index:9000;border-radius:10px 0 0 10px}#workspaceOptions{order:998;background:#ffffff0b;border-color:#ffffff25;color:white;margin-top:12px;padding:10px}#workspaceOptions>summary{color:#e2ebf4}#workspaceOptions .toolbar{display:flex;flex-direction:column;align-items:stretch;gap:10px}#workspaceOptions .toolbar label{flex-direction:column;align-items:stretch;color:inherit}#workspaceOptions .toolbar select{width:100%;max-width:100%;min-width:0}#workspaceOptions .toolbar #scopeLabel{color:#c9d8e5;font-size:11px}#workspace.sidebar-collapsed #workspaceOptions{display:none}
body:has(#workspace:not([hidden])) #message{display:none;position:fixed;bottom:18px;left:18px;z-index:10001;max-width:min(440px,calc(100vw - 36px));margin:0;box-shadow:0 8px 24px #15355220}body:has(#workspace:not([hidden])) #message.notice-visible{display:block}
#customerList{gap:14px}#customerList .customer-result{position:relative;grid-template-columns:44px minmax(0,1fr) auto;gap:8px 12px;padding:18px;border-radius:16px;border-color:#e2e9f1;box-shadow:0 3px 12px #15355205;transition:border-color .15s,box-shadow .15s}#customerList .customer-result:hover{box-shadow:0 6px 20px #15355210;border-color:#a6bed4}#customerList .customer-avatar{grid-column:1;grid-row:1/3;width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#eaf1f8;color:#153552;font-size:22px;font-weight:700}#customerList .customer-result strong{grid-column:2;grid-row:1;font-size:17px}#customerList .customer-result .pill{grid-column:3;grid-row:1}#customerList .customer-result small{grid-column:2/-1;font-size:12px}#customerList .customer-result .customer-card-cta{grid-column:1/-1;border-top:1px solid #edf1f6;margin-top:5px;padding-top:10px;font-size:13px;font-weight:600;color:#153552;text-align:end}#customerList .customer-result .outside-badge{grid-column:2/-1}.customer-intent-dialog .intent-prompt{font-size:16px;color:#64748b;margin:0 0 18px}.customer-intent-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.intent-choice{text-align:start;padding:18px;background:#f8fafc;border:1px solid #dfe8f1;display:flex;flex-direction:column;gap:7px;min-height:100px}.intent-choice strong{font-size:17px;color:#153552}.intent-choice small{font-size:12px;font-weight:400;color:#64748b}.intent-choice:last-child{grid-column:1/-1;min-height:76px;background:white}#customerAssignments{margin:14px 0;padding:12px;border:1px solid #e2e9f1;border-radius:10px;font-size:13px}#customerAssignments summary{cursor:pointer;font-weight:600}#customerDetail .actions{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#customerDetail #customerInfo{border:1px solid #e5edf5;padding:16px;border-radius:14px}#customerDetail>h3{font-size:24px;padding-bottom:12px;border-bottom:1px solid #edf1f6}#customerIntentDialog{max-width:640px}
@media(max-width:760px){.customer-intent-actions{grid-template-columns:1fr}.intent-choice{min-height:80px;padding:14px}#customerDetail .actions{grid-template-columns:repeat(2,minmax(0,1fr))}#customerList .customer-result{padding:14px}#customerList .customer-result small:last-of-type{display:block}#workspace.sidebar-collapsed #workspaceOptions{display:block}}
/* Company identity and current workspace context. */
body>header,body:has(#workspace:not([hidden]))>header{min-height:76px;height:76px;padding:12px 26px;gap:24px;background:linear-gradient(110deg,#fff 60%,#f5f8fc);border-bottom:1px solid #dce6f0;box-shadow:0 3px 16px #15355207}body>header:after{content:'';position:absolute;bottom:-1px;left:26px;width:88px;height:3px;border-radius:3px;background:linear-gradient(90deg,#153552 70%,#cba456 70%)}header .header-brand{gap:14px;min-width:0}header .brand-avatar{width:52px;height:52px;border-radius:15px;background:white;box-shadow:0 3px 10px #1535520a;border:1px solid #e3eaf3;flex-shrink:0}header .header-brand strong,#brand{font-size:20px;letter-spacing:0;line-height:1.4}header .header-brand small{font-size:11px;letter-spacing:.4px;margin-top:5px;color:#6b8094}.header-context{border-inline-start:3px solid #cba456;padding-inline-start:12px;min-width:0}.header-context small{font-size:10px;letter-spacing:0;margin:0 0 4px;color:#8190a2}.header-context strong{font-size:16px;color:#153552;line-height:1.4}.header-account-chip{display:flex;align-items:center;gap:8px;padding:8px 12px;background:white;border:1px solid #e3eaf2;border-radius:24px;color:#62758a;font-size:11px;max-width:250px}.header-account-chip[hidden]{display:none}.header-account-chip>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#appSidebar{top:88px;max-height:calc(100dvh - 100px)}#customerList .customer-card-cta{display:block}#customerList .customer-result .customer-avatar{background:#e3edf6!important;color:#153552!important}.customer-intent-actions .intent-choice{background:#f7f9fc!important;color:#153552!important;box-shadow:none!important}.customer-intent-actions .intent-choice:hover:not(:disabled){background:#edf3f9!important;border-color:#9cb5cc}.customer-intent-actions .intent-choice:focus-visible{outline:3px solid #cba456;outline-offset:2px}
@media(max-width:760px){body>header,body:has(#workspace:not([hidden]))>header{height:70px;min-height:70px;padding:10px 12px;gap:10px}.header-account-chip{display:none}.header-context{max-width:35%;padding-inline-start:8px}.header-context strong{font-size:12px}.header-context small{font-size:9px}header .header-brand{max-width:62%;gap:8px}header .header-brand strong,#brand{font-size:14px}header .header-brand small{font-size:9px;letter-spacing:0}header .brand-avatar{width:42px;height:42px;border-radius:12px}body>header:after{left:12px;width:58px}#appSidebar{top:0;max-height:100dvh}body:has(#workspace:not([hidden])) #sidebarToggle{top:80px;font-size:11px;min-width:48px}}
.dialog-maximize{width:38px;height:38px;min-height:38px;padding:5px;border:1px solid #dde6ef;background:#f6f9fc;color:#153552;border-radius:10px;font-size:23px;line-height:1;flex-shrink:0}.action-dialog-head h2{margin-inline-end:auto}.action-dialog-head{gap:8px}#workspace>dialog.action-dialog.dialog-maximized{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);margin:auto}dialog.dialog-maximized .action-dialog-body{flex:1;min-height:0}.workspace-expanded main{max-width:none}.cash-settlement-section{padding:20px;border:1px solid #dce6f0;border-radius:16px;background:linear-gradient(120deg,#f4f8fc,#fff);margin:18px 0}.cash-settlement-section .section-head{border:0;margin:0;padding:0}.cash-settlement-section h3{margin:0;font-size:19px}.settlement-cycle{display:flex;gap:20px;align-items:center;margin:14px 0}.settlement-cycle label{font-size:12px;margin:0}.settlement-cycle select{padding:8px}.settlement-cycle p{font-size:13px;color:#63788d}.settlement-cycle .due{color:#a85e13;font-weight:700}.settlement-balance{padding:16px;background:#eaf2f9;border:1px solid #d6e4f1;border-radius:12px;color:#153552;font-size:19px;font-weight:700;grid-column:1/-1}.settlement-card{padding:16px;background:white;border:1px solid #dce6ef;border-radius:12px;margin-top:12px}.settlement-card p{font-size:13px;color:#667c91;white-space:pre-wrap;overflow-wrap:anywhere}.settlement-card-amount{font-size:24px;font-weight:700;color:#153552}.settlement-card button{font-size:12px}.cash-settlement-section>p{font-size:12px}.action-dialog-body #cashSettlementForm{grid-template-columns:1fr}.action-dialog-body #cashSettlementForm .two-col{grid-column:1/-1}#cashSettlementForm>p{grid-column:1/-1}
@media(max-width:760px){.header-context{display:none}header .header-brand{max-width:calc(100% - 50px)}.cash-settlement-section{padding:14px}.cash-settlement-section .section-head{align-items:flex-start;gap:10px;flex-direction:column}.settlement-cycle{align-items:stretch;flex-direction:column;gap:5px}.settlement-cycle label{display:flex;align-items:center;gap:10px}.settlement-cycle select{width:auto;margin:0}.action-dialog-head h2{font-size:16px}.dialog-maximize{width:34px;height:34px;min-height:34px}#workspace>dialog.action-dialog.dialog-maximized{width:calc(100vw - 8px)!important;max-width:calc(100vw - 8px)!important;height:calc(100dvh - 8px);max-height:calc(100dvh - 8px)}}
/* A quieter, contemporary opening with a short transition into work. */
#introOverlay{background:radial-gradient(ellipse at 18% 16%,#1d4561 0%,transparent 48%),linear-gradient(135deg,#061521,#102f46);padding:32px}#introOverlay .intro-card{max-width:790px;width:100%;padding:42px;border:1px solid #ffffff18;border-radius:28px;background:#ffffff05;box-shadow:0 30px 100px #0003;backdrop-filter:blur(16px)}#introOverlay .intro-orbit,#introOverlay .intro-spark,#introOverlay .intro-logo-ring{display:none}#introOverlay .intro-grid{opacity:.035;transform:none;inset:0;background-size:80px 80px;animation:none}#introOverlay .intro-route{opacity:.12}#introOverlay .intro-eyebrow{font-size:10px;letter-spacing:4px;color:#d5b46f;margin:0 0 26px}#introOverlay .intro-logo-frame{width:116px;height:116px;margin:auto;display:grid;place-items:center;animation:none}#introOverlay img{width:110px;height:110px;border-radius:24px;object-fit:contain;padding:8px;box-shadow:0 14px 35px #0002;animation:introLogo .6s both}#introOverlay h2{font-size:clamp(24px,4vw,38px);color:white;margin:24px 0 10px;animation:introText .6s .15s both}.intro-tagline{font-size:17px;line-height:1.8;color:#b5c9d9!important;animation:introText .6s .3s both}.intro-features{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:26px 0}.intro-features span{border:1px solid #ffffff12;background:#ffffff04;border-radius:12px;padding:14px;color:#e1eaf2;font-size:14px;animation:introText .5s .4s both}.intro-features span b{display:block;font-size:10px;color:#cfaf6b;font-weight:400;margin-bottom:5px}.intro-features span:nth-child(2),.intro-features span:nth-child(3){animation-delay:.5s}.intro-line{height:2px;width:100%;margin:20px 0}.intro-line span{animation-duration:3.2s}.intro-actions{justify-content:space-between}#introOverlay #introSkip{background:#e2bf7a;color:#102c41;border-color:#e2bf7a;border-radius:10px;padding:10px 20px}#introOverlay #introSound{border-radius:10px;color:#c8d7e3;border-color:#ffffff18;font-size:12px}@media(max-width:600px){#introOverlay{padding:18px}#introOverlay .intro-card{padding:26px 18px;border-radius:22px}#introOverlay h2{font-size:25px}.intro-tagline{font-size:14px}.intro-features{gap:7px;margin:22px 0}.intro-features span{font-size:12px;padding:10px 5px}.intro-actions{gap:8px}#introOverlay button{font-size:12px}#introOverlay .intro-eyebrow{letter-spacing:3px}}@media(max-height:620px){#introOverlay .intro-card{padding:20px}#introOverlay .intro-eyebrow{margin-bottom:12px}#introOverlay .intro-logo-frame{width:76px;height:76px}#introOverlay img{width:72px;height:72px}#introOverlay h2{font-size:23px;margin:14px 0 6px}.intro-tagline{font-size:13px}.intro-features{margin:12px 0}.intro-line{margin:12px 0}}
body:has(#authPanel:not([hidden]))>header{display:none}body:has(#authPanel:not([hidden])) main{padding-top:20px}.remember-device{display:flex;align-items:center;gap:9px;font-size:13px}.remember-device input{width:18px;height:18px;margin:0;accent-color:#153552}
body:has(#introOverlay){overflow:hidden}body:has(#introOverlay) #message{display:none!important}@media(min-width:761px){#appSidebar .nav-group-title{display:none!important}#appSidebar,#workspace.sidebar-collapsed #appSidebar{padding:12px 7px}#appSidebar [data-tab],#workspace.sidebar-collapsed #appSidebar [data-tab]{min-height:44px;height:44px;padding:8px 7px}}
.cash-carry-summary{padding:12px 14px;background:#eaf2f9;border-radius:10px;color:#153552;font-size:13px;font-weight:600;line-height:1.8}
#customerIntentDialog{max-width:760px}.customer-intent-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.customer-intent-actions .intent-choice,.customer-intent-actions .intent-choice:last-child{grid-column:auto;min-height:124px;padding:16px 8px;text-align:center;align-items:center;justify-content:center;border-radius:16px;background:#f8fafc;gap:12px}.intent-choice svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:#173c59}.intent-choice strong{font-size:13px}.intent-choice small{display:none}.intent-choice:hover,.intent-choice:focus-visible{background:#edf4fa;transform:translateY(-2px);border-color:#cba456}.intent-choice:disabled{opacity:.45;transform:none}@media(max-width:760px){.customer-intent-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-intent-actions .intent-choice:last-child{grid-column:1/-1;min-height:94px}.customer-intent-actions .intent-choice{min-height:116px}.intent-choice strong{font-size:14px}}
/* Task-first layout: lists stay short and forms open in the foreground. */
.demo-guide{padding:24px;margin:20px 0;border:1px solid #dfe8f1;border-radius:18px;background:linear-gradient(130deg,#f8fbff,#fff)}.demo-guide h2{font-size:22px;margin:0 0 8px}.demo-guide>p{font-size:13px;color:#61758d}.demo-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.demo-stage-grid button{text-align:start;background:white;border:1px solid #e0e8f0;border-radius:13px;padding:16px;display:grid;gap:8px;white-space:normal;min-height:135px}.demo-stage-grid button>span{color:#b58b3e;font-size:13px}.demo-stage-grid strong{font-size:15px}.demo-stage-grid small{font-size:12px;color:#65768c;font-weight:400;line-height:1.7}.demo-stage-grid button:hover{border-color:#cba456;background:#fcfaf4}.demo-downloads{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:13px}.demo-downloads a{padding:8px 12px;background:#edf3f8;border-radius:8px}@media(max-width:760px){.demo-guide{padding:16px}.demo-stage-grid{grid-template-columns:1fr}.demo-stage-grid button{min-height:110px}}
#homePanel>.stats-grid{display:none}.home-card .home-metric{display:block;border:0;background:transparent;color:#153552;padding:0;min-height:44px;font-weight:700;text-align:start;box-shadow:none}.home-card .home-breakdown{display:block;width:100%;text-align:start;margin:8px 0;padding:10px 12px;background:#f5f7fb;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:400;white-space:normal;box-shadow:none}.home-card .home-breakdown:hover,.home-card .home-breakdown:focus-visible{border-color:#cba456;background:#faf6ec}.home-card .home-breakdown:after{content:" ‹";float:left;color:#a18651}.home-finance-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.home-details-dialog{width:min(960px,95vw);max-width:960px}.home-list-tools{position:sticky;top:0;background:white;padding:0 0 12px;z-index:1}.home-detail-rows{display:grid;gap:10px}.home-detail-row{padding:16px;border:1px solid #e0e8f0;border-radius:13px;background:#fafcfe}.home-detail-row p{margin:8px 0;color:#61748a;font-size:13px;white-space:pre-wrap}.home-detail-row details{padding:10px 0;font-size:13px}.home-row-open{font-size:13px;padding:8px 14px}.home-details-dialog .action-dialog-body{max-height:none}.home-card>small{display:block;color:#ffffffb3;font-size:11px;margin:8px 0 14px}@media(max-width:760px){.home-finance-cards{grid-template-columns:1fr}.home-detail-row{padding:14px}.home-details-dialog{width:96vw}}
.archive-section{padding:22px;border:1px solid #e0e8f0;border-radius:16px;margin:18px 0}.archive-backup-states{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.archive-backup-states article{background:#f5f8fc;border-radius:12px;padding:16px}.archive-backup-states h4{margin:0 0 10px}.archive-backup-states p{font-size:13px}.backup-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:14px;border:1px solid #e3ebf3;border-radius:12px;margin:10px 0}.backup-row small{color:#65768c}.backup-row button{margin-inline-start:auto;font-size:13px}@media(max-width:760px){.archive-section{padding:16px}.archive-backup-states{grid-template-columns:1fr}}
 #collectionsPanel>#collectionSummary{margin:14px 0 16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#collectionsPanel>#collectionSummary article{padding:16px;min-height:110px}#collectionsPanel>#collectionSummary strong{font-size:25px;margin-top:10px}.treasury-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:12px;background:#f5f8fc;border:1px solid #e1e9f2;border-radius:13px;margin-bottom:20px}.treasury-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.treasury-actions button{min-height:38px;padding:8px 12px;font-size:13px;border-radius:9px;box-shadow:none;margin:0}.treasury-actions button:hover{background:#e7eef5}.treasury-actions button.primary:hover{background:#234b68}@media(max-width:760px){#collectionsPanel>#collectionSummary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#collectionsPanel>#collectionSummary article{padding:12px;min-height:96px}#collectionsPanel>#collectionSummary strong{font-size:21px}.treasury-toolbar{display:grid;padding:10px}.treasury-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.treasury-actions button{font-size:12px;width:100%}}
#cashPanel>#cashSummary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0 16px}#cashPanel>#cashSummary article{padding:14px;min-height:110px}#cashPanel>#cashSummary strong{font-size:23px;margin-top:10px}.draft-notice{background:#fff5df;color:#805f24;padding:12px;border-radius:9px}#collectionSavePreview{width:min(960px,96vw)}@media(max-width:760px){#cashPanel>#cashSummary{grid-template-columns:repeat(2,minmax(0,1fr))}#cashPanel>#cashSummary strong{font-size:21px}#cashPanel>#cashSummary article:last-child{grid-column:1/-1}}
.customer-picker{position:relative}.customer-picker input{width:100%}.customer-picker-results{position:absolute;inset-inline:0;top:calc(100% + 4px);max-height:240px;overflow:auto;background:white;border:1px solid #cddbeb;border-radius:10px;box-shadow:0 10px 30px #18324d22;z-index:30;padding:5px}.customer-picker-results button{display:block;width:100%;text-align:start;font-size:14px;padding:10px 12px;min-height:40px;border:0;border-radius:6px;background:white;box-shadow:none}.customer-picker-results button:hover,.customer-picker-results button.highlighted{background:#eaf2f9}.customer-picker-results p{font-size:13px;padding:8px;color:#64748b}
.ledger-table-scroll{overflow:auto;border:1px solid #dce5ef;border-radius:12px;margin:12px 0}.ledger-table{width:100%;min-width:900px;border-collapse:collapse;font-size:13px;text-align:start}.ledger-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ledger-table th{background:#edf3f8;color:#18324d;padding:12px;white-space:nowrap;text-align:start;font-size:12px}.ledger-table td{padding:12px;border-top:1px solid #e4ebf3;vertical-align:top;max-width:240px;overflow-wrap:anywhere}.ledger-table tbody tr:nth-child(even){background:#fafcfe}.ledger-table .ledger-actions{border:0;background:transparent;box-shadow:none;padding:0;margin:0;border-radius:0;min-width:150px}.ledger-table .ledger-actions button{padding:6px 9px;min-height:32px;font-size:11px;margin:3px;border-radius:7px;box-shadow:none}.ledger-table .ledger-actions p{font-size:11px;white-space:pre-wrap;margin:6px 0}.ledger-table .actions{gap:4px;margin:0}.ledger-action-cell{width:210px}
.treasury-report-menu{position:relative;margin-inline-start:auto}.treasury-report-menu>summary{list-style:none;cursor:pointer;font-size:13px;font-weight:700;padding:11px 14px;border:1px solid #dbe5ee;border-radius:9px;background:white;min-width:160px}.treasury-report-menu>summary::after{content:"⌄";margin-inline-start:14px;color:#7c8fa3}.treasury-report-menu>summary::-webkit-details-marker{display:none}.treasury-report-menu>.treasury-actions{position:absolute;top:calc(100% + 6px);inset-inline-end:0;z-index:20;min-width:230px;background:white;border:1px solid #dce5ef;border-radius:12px;padding:6px;box-shadow:0 12px 30px #16375322;display:grid;gap:3px}.treasury-report-menu .treasury-actions button{text-align:start;border:0;background:white;min-height:40px}.treasury-operations #collectionRefresh{width:38px;font-size:22px;padding:2px;border:0;background:transparent;color:#71869b}.treasury-toolbar:has(.treasury-report-menu){background:white;align-items:center;padding:12px 0;border:0;border-bottom:1px solid #e2eaf2;border-radius:0;gap:12px}.treasury-operations #collectionDepositNew{background:#f3f7fb;border-color:#e1eaf3}.treasury-operations #collectionNew::before{content:"+";margin-inline-end:8px;font-size:17px}@media(max-width:760px){.treasury-toolbar:has(.treasury-report-menu){display:flex}.treasury-operations{display:flex;flex-wrap:wrap}.treasury-operations button{width:auto}.treasury-report-menu{margin-inline-start:0}.treasury-report-menu>.treasury-actions{inset-inline-start:0;inset-inline-end:auto}}
.ledger-empty{text-align:center!important;padding:28px!important;color:#7d8fa4}.treasury-search-button::before{content:"⌕";margin-inline-end:8px;font-size:18px}#collectionSearchFilters .actions button{font-size:13px;min-height:38px;padding:8px 14px}#collectionSearchFiltersDialog{width:min(720px,96vw)}
#collectionSearchFilters .two-col:has(>label[hidden]){grid-template-columns:1fr}

#customerList{display:block}.ledger-table .customer-result{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;min-height:38px;width:auto;border-radius:9px;background:#153552;color:white;font-weight:700}.customer-table-row{cursor:pointer}.customer-table-row:hover td{background:#eef4fa}.customer-table-row:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}.customer-table-row td:first-child{font-weight:700;min-width:170px}.customer-table-row td{vertical-align:middle}.ledger-actions .actions{margin:0;display:flex;gap:6px;flex-wrap:wrap}

#customerList .ledger-table .customer-result{display:inline-flex;grid-template-columns:none;min-width:0;width:auto;padding:7px 12px;margin:0;min-height:34px;font-size:12px;line-height:1.4;white-space:nowrap;background:#153552;color:#fff;border:0;border-radius:8px;box-shadow:none}#customerList .ledger-table td:nth-child(3),#customerList .ledger-table td:nth-child(6),#customerList .ledger-table td:nth-child(7){white-space:nowrap}#customerList .ledger-table td{padding:12px;min-height:0}#customerList .ledger-actions{min-width:110px}.customer-table-row .ledger-action-cell{width:170px}

.employee-name-results{display:grid;gap:4px}.employee-name-results:empty{display:none}.employee-name-results button{text-align:start;padding:9px 12px;font-size:13px;background:#edf3f8}.employee-name-results{max-height:200px;overflow:auto}#collectionEmployeeNameSearch{margin-bottom:8px}

.customer-directory-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;grid-column:1/-1}.customer-directory-filters label{margin:0;font-size:12px}.customer-directory-filters select{margin-top:6px;font-size:14px;min-height:42px}.customer-directory-filters:has(label[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.customer-directory-filters{grid-template-columns:1fr}}
#customerTierBox{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0}#customerVipToggle{background:white;border:1px solid #e1c98a;color:#8a6d1f;padding:8px 14px;border-radius:9px;font-size:13px}#customerVipToggle.vip-active{background:#fdf3dc;border-color:#c5a25d;color:#8a6d1f;font-weight:700}#customerTierBox label{margin:0;font-size:12px;display:flex;align-items:center;gap:8px}#customerTierBox select{margin:0;font-size:13px;padding:7px}
.customer-vip-row{border-inline-start:3px solid #c5a25d !important}

#collectionsPanel>h2{margin-bottom:4px}#collectionsPanel>.treasury-selected-context{font-size:13px;color:#71859c;margin:4px 0 18px}#collectionsPanel>#collectionSummary{gap:12px;margin:0 0 20px}#collectionsPanel>#collectionSummary article{position:relative;padding:18px 20px;min-height:125px;border:1px solid #e3eaf2;border-radius:14px;background:linear-gradient(135deg,#fff,#f8fbfe);box-shadow:0 3px 12px #17385104;display:flex;flex-direction:column;justify-content:space-between;gap:14px;border-top:3px solid #496e98}#collectionsPanel>#collectionSummary article:nth-child(2){border-top-color:#9076b8}#collectionsPanel>#collectionSummary article:nth-child(3){border-top-color:#479a85}#collectionsPanel>#collectionSummary article:nth-child(4){border-top-color:#c7a15a}#collectionsPanel>#collectionSummary span{font-size:13px;line-height:1.7;color:#63788f;min-height:42px}#collectionsPanel>#collectionSummary strong{font-size:26px;margin:0;white-space:nowrap}.treasury-toolbar{display:grid!important;grid-template-columns:auto 1fr auto;gap:18px!important;padding:18px!important;border:1px solid #e3eaf2!important;background:#f8fafc!important;border-radius:14px!important;align-items:center!important}.treasury-operations,.treasury-browse{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.treasury-operations>small,.treasury-browse>small{display:block;width:100%;color:#7d8fa2;font-size:11px}.treasury-browse{border-inline-start:1px solid #dfe7f0;padding-inline-start:18px}.treasury-browse button,.treasury-operations button{min-height:40px;padding:9px 13px;font-size:13px;border-radius:9px;margin:0;box-shadow:none;white-space:nowrap}.treasury-view-report{background:#e9f0f7;color:#153552;border-color:#cbdbea;font-weight:700}.treasury-refresh{width:38px;height:38px;min-height:38px;font-size:23px;padding:0;background:#fff;color:#6c8299;border:1px solid #e1e9f2;border-radius:9px}.treasury-info{margin-top:20px;border-top:1px solid #e5ebf2;padding-top:14px}.treasury-info summary{font-size:12px;color:#8291a3}.treasury-info p{font-size:12px;color:#708299;line-height:1.8}#collectionEmployeeReportDialog{width:min(1180px,96vw)}.treasury-report-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:14px 18px;background:#f4f8fc;border-radius:12px}.treasury-report-head h3{margin:0 0 6px;font-size:20px}.treasury-report-head p{margin:0;font-size:12px;color:#73869b}.treasury-report-head .treasury-report-menu{margin:0}.treasury-report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:8px 0 24px}.treasury-report-stats article{min-height:95px;padding:14px;border:1px solid #e1e9f2;border-radius:12px}.treasury-report-stats span{font-size:12px}.treasury-report-stats strong{font-size:21px;margin-top:10px}#collectionEmployeeReport>small{font-size:11px;color:#8292a4}#collectionEmployeeReport>h3{font-size:17px;margin-top:24px}#collectionEmployeeReport #collectionRows,#collectionEmployeeReport #depositRows{max-height:none}@media(max-width:1000px){.treasury-toolbar{grid-template-columns:1fr auto}.treasury-browse{grid-column:1;border:0;padding:0}.treasury-refresh{grid-column:2;grid-row:1/3}}@media(max-width:600px){#collectionsPanel>#collectionSummary article{padding:14px;min-height:115px}#collectionsPanel>#collectionSummary strong{font-size:21px}.treasury-toolbar{padding:12px!important;gap:12px!important}.treasury-browse button,.treasury-operations button{font-size:12px;padding:8px 10px}.treasury-report-head{align-items:flex-start;flex-direction:column}.treasury-report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.treasury-report-stats strong{font-size:18px}}

.demo-account-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;background:#f1f6fb;border:1px solid #dbe6f1;border-radius:12px;margin-bottom:12px}.demo-account-bar>strong{font-size:13px}.demo-account-bar>span{font-size:12px;color:#71859c;margin-inline-end:auto}.demo-account-bar button{padding:8px 12px;min-height:36px;font-size:12px;border-radius:8px}.demo-account-bar button.active{background:#153552;color:#fff;border-color:#153552}@media(max-width:600px){.demo-account-bar>span{flex:1}.demo-account-bar button{flex:1}}

.tracking-point-label.leaflet-tooltip{background:transparent;border:0;box-shadow:none;color:white;font:bold 10px Arial;line-height:1;padding:0}.tracking-point-label.leaflet-tooltip:before{display:none}.leaflet-popup-content{white-space:pre-line;line-height:1.8}
