@font-face{font-family:Workspace;src:local('Segoe UI')}*{box-sizing:border-box} :root{--wine:#731c25;--wine-dark:#4c1018;--ink:#292221;--muted:#7e7470;--paper:#faf8f4;--line:#e8e1d9;--gold:#b38b42}body{margin:0;font-family:Workspace,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:15px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}svg{width:22px;height:22px;flex-shrink:0}button:focus-visible,a:focus-visible{outline:3px solid #bb9452;outline-offset:5px}input:focus{outline:3px solid #b38b4224;border-color:var(--gold)}[hidden]{display:none!important}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--wine);font-weight:700;margin:0 0 13px}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.7px}h1{font-size:36px;font-weight:650;line-height:1.2}h2{font-weight:650}button{border:0}.login-page{min-height:100dvh;background:radial-gradient(ellipse at 10% 10%,#eee5d5 0,transparent 45%),radial-gradient(ellipse at 95% 90%,#ecdcd4 0,transparent 45%),#f7f3eb}.login-wrap{width:min(440px,calc(100% - 36px));margin:auto;padding:38px 0 24px}.login-wordmark{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:24px;font-size:11px;font-weight:700;letter-spacing:1.6px;color:#5b3430}.login-wordmark b{font-weight:400;margin-left:5px}.mini-mark{display:grid;place-items:center;width:27px;height:27px;border:1px solid #a98b59;border-radius:50%;font:italic 21px Georgia;color:var(--wine)}.login-card{border:1px solid #e4d9ca;border-radius:22px;background:#fffdfa;overflow:hidden;box-shadow:0 20px 70px #56331c0c}.brand-image{height:194px;background:#f5e7cd;overflow:hidden;border-bottom:1px solid #e7d8bf;display:flex;justify-content:center}.brand-image img{height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply}.login-content{padding:31px 36px 23px}.login-content h1{font-size:30px;margin-bottom:9px}.intro{color:var(--muted);font-size:13px;line-height:1.6;margin-bottom:27px}label{display:block;font-size:12px;font-weight:650;margin-bottom:8px}input{width:100%;border:1px solid #ddd5cc;background:white;border-radius:9px;padding:13px 14px;height:48px;margin-bottom:20px;color:var(--ink);font-size:14px;transition:border-color .2s}input::placeholder{color:#aaa09a}.password-field{position:relative}.password-field input{padding-right:50px}.password-toggle{position:absolute;right:5px;top:4px;width:40px;height:40px;display:grid;place-items:center;background:transparent;color:#94857d;border-radius:6px}.password-toggle svg{width:19px}.primary{width:100%;display:flex;justify-content:center;align-items:center;gap:15px;padding:14px 20px;border-radius:9px;background:var(--wine);color:#fff9ef;font-size:14px;font-weight:600;min-height:48px;transition:background .2s}.primary:hover{background:var(--wine-dark)}.primary svg{width:18px}.secure-note{margin:21px 0 0;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#93877d}.secure-note svg{width:13px;height:13px}.login-footer{text-align:center;font-size:11px;color:#8b7f75;padding-top:24px}.login-footer span{display:block;margin-top:9px;font-size:10px;color:#a2988e}.form-error{padding:12px;border:1px solid #e9b8b5;background:#fff1ef;border-radius:8px;font-size:13px;line-height:1.5;color:#82232b;margin-bottom:18px}.app-header{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--line);background:#fffdfa;gap:20px}.app-brand{display:flex;align-items:center;gap:20px}.app-brand img{width:145px;height:73px;object-fit:contain;mix-blend-mode:multiply}.app-brand>span{border-left:1px solid #dcd2c4;padding-left:20px;letter-spacing:2.5px;font-size:10px;font-weight:600;color:#84715e}.header-actions{display:flex;align-items:center;gap:23px}.profile{display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:50%;background:#efe4d9;color:var(--wine);display:grid;place-items:center;font-weight:650;font-size:14px}.profile-name{font-size:12px;font-weight:600}.profile-name small{display:block;color:#9b8e83;font-size:10px;font-weight:400;margin-top:3px}.icon-button{width:36px;height:40px;display:grid;place-items:center;border-radius:8px;background:transparent;color:#8b7c72}.icon-button:hover{background:#f3ece4;color:var(--wine)}.icon-button svg{width:19px}.install-button{border:1px solid #ddd0bd;border-radius:7px;padding:9px 12px;background:transparent;font-size:11px;color:#755832}.install-button span{margin-left:9px}.dashboard{max-width:1180px;margin:auto;padding:23px 0 0}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:11px;color:#93877c;margin-bottom:30px}.breadcrumb a{display:flex;align-items:center;gap:7px}.breadcrumb svg{width:13px;height:13px}.welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:20px}.welcome h1{margin-bottom:9px}.welcome>div>p:last-child{color:var(--muted);font-size:14px;margin-bottom:0}.date-block{text-align:right;align-self:flex-end;padding-bottom:4px}.date-block>span{display:block;font-size:9px;letter-spacing:2px;color:#a09285;margin-bottom:9px}.date-block time{font-size:12px;color:#7f7165}.workspace-banner{border-radius:16px;background:var(--wine);color:#fff4dd;min-height:230px;padding:31px 38px;display:flex;justify-content:space-between;position:relative;overflow:hidden}.banner-kicker{font-size:9px;letter-spacing:2px;color:#dfbb80;font-weight:600}.workspace-banner h2{font:normal 36px Georgia,serif;letter-spacing:-.6px;margin:16px 0 11px}.workspace-banner p{font-size:12px;color:#dfbec0;line-height:1.8;margin-bottom:19px}.banner-link{display:inline-flex;gap:14px;align-items:center;color:#f4dfb7;font-size:11px;font-weight:650;border-bottom:1px solid #aa6a60;padding-bottom:6px}.banner-link svg{width:15px;height:15px}.banner-art{width:34%;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center}.art-disc{position:absolute;top:-114px;left:-5px;width:400px;height:400px;border:1px solid #d4b28025;border-radius:50%;box-shadow:0 0 0 25px #d4b28007,0 0 0 70px #d4b28006}.art-seal{z-index:1;font:italic 80px Georgia;color:#dfb66c;border:1px solid #d9ad6666;border-radius:50%;width:115px;height:115px;display:grid;place-items:center;transform:rotate(-8deg);outline:1px solid #d9ad6633;outline-offset:7px}.art-caption{z-index:1;font-size:7px;letter-spacing:3px;text-align:center;line-height:1.8;color:#d9b17c;margin-top:22px}.modules-section{margin-top:34px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:19px}.section-heading .eyebrow{font-size:9px;color:#9e8f7c;margin-bottom:8px}.section-heading h2{font-size:24px;margin-bottom:0}.section-heading>span{font-size:11px;color:#a09286;padding-bottom:3px}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.module-card{border:1px solid var(--line);border-radius:13px;background:#fffdfa;padding:23px 24px 17px;transition:transform .2s,box-shadow .2s,border-color .2s}.module-card:hover{transform:translateY(-4px);border-color:#cbb69b;box-shadow:0 10px 26px #4d2a190a}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.module-icon{background:#f5e7e2;color:var(--wine);border-radius:11px;display:grid;place-items:center;width:43px;height:43px}.module-sales .module-icon{background:#f7edda;color:#a67a24}.module-receivables .module-icon{background:#e8eee5;color:#667b51}.module-reports .module-icon{background:#e7edf0;color:#547381}.module-review .module-icon{background:#eee7f0;color:#82678a}.module-users .module-icon{background:#edeae4;color:#837363}.module-number{font-size:10px;font-weight:500;letter-spacing:1px;color:#c3b7a9}.module-card h3{font-size:17px;font-weight:600;margin-bottom:8px;letter-spacing:-.25px}.module-card p{font-size:11px;color:#9b8d81;margin-bottom:21px;line-height:1.5}.card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0eae2;padding-top:13px;font-size:10px;color:#877362}.card-arrow{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#f6f1e9;color:#806344}.card-arrow svg{width:13px;height:13px}.app-footer{display:flex;justify-content:space-between;color:#a49687;font-size:10px;margin-top:32px;padding:21px 0 25px;border-top:1px solid var(--line)}.app-footer>span:first-child{letter-spacing:1.5px;font-size:9px}.app-footer b{font-weight:400;margin-left:4px}.connection-note{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);background:#352c28;color:white;box-shadow:0 4px 25px #0002;border-radius:9px;padding:14px 20px;font-size:12px;width:max-content;max-width:calc(100% - 30px);z-index:5}.module-placeholder{padding:54px 24px 65px;max-width:650px;margin:auto;text-align:center}.module-placeholder>.module-icon{margin:0 auto 25px;width:60px;height:60px}.module-placeholder>p:not(.eyebrow){color:var(--muted)}.coming-next{padding:28px 0;margin:35px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.coming-next h2{font-size:22px}.coming-next p{line-height:1.7;color:var(--muted);font-size:14px;margin-bottom:0}.text-link{font-size:13px;color:var(--wine)}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;max-width:390px;color:var(--ink)}dialog::backdrop{background:#20101277}dialog h2{font-size:23px}dialog p{font-size:14px;line-height:1.7;color:var(--muted)}@media(min-width:1600px){.dashboard{padding-top:30px}.welcome{margin-bottom:36px}.workspace-banner{min-height:255px}.module-card{padding:26px}.modules-section{margin-top:40px}}@media(max-width:1244px){.dashboard{margin:0 32px}.app-header{padding:0 32px}}@media(max-width:800px){.dashboard{margin:0 24px}.app-header{padding:0 24px;height:78px}.app-brand img{width:120px;height:62px}.app-brand>span{padding-left:14px;font-size:8px;letter-spacing:2px}.app-brand{gap:14px}.profile-name{display:none}.header-actions{gap:12px}.module-grid{grid-template-columns:repeat(2,1fr)}.welcome h1{font-size:30px}.date-block time{font-size:10px}.workspace-banner{padding:28px}.workspace-banner h2{font-size:30px}.banner-art{width:30%}.art-seal{width:90px;height:90px;font-size:60px}.art-caption{font-size:6px;letter-spacing:1.5px}.section-heading>span{display:none}}@media(max-width:520px){.login-wrap{padding-top:25px}.login-wordmark{margin-bottom:20px}.brand-image{height:170px}.login-content{padding:27px 25px 23px}.login-content h1{font-size:28px}.app-header{padding:0 18px;height:72px}.app-brand{gap:10px}.app-brand img{width:108px;height:56px}.app-brand>span{padding-left:10px;font-size:7px;letter-spacing:1.5px}.avatar{width:30px;height:30px;font-size:12px}.header-actions{gap:5px}.install-button{font-size:10px;padding:7px}.install-button span{display:none}.icon-button{width:30px}.dashboard{margin:0 19px;padding-top:19px}.breadcrumb{margin-bottom:24px}.welcome{margin-bottom:24px}.welcome h1{font-size:29px}.welcome .eyebrow{font-size:8px;letter-spacing:1.5px}.welcome>div>p:last-child{font-size:12px}.date-block{display:none}.workspace-banner{padding:26px 23px;min-height:220px}.banner-kicker{font-size:7px;letter-spacing:1.5px}.workspace-banner h2{font-size:28px;max-width:225px;line-height:1.1;margin-top:16px}.workspace-banner p{font-size:11px}.banner-art{position:absolute;right:-35px;bottom:25px;width:130px;opacity:.3;pointer-events:none}.art-seal{width:100px;height:100px}.art-caption{display:none}.workspace-banner>div:first-child{position:relative;z-index:1}.modules-section{margin-top:28px}.section-heading h2{font-size:22px}.section-heading .eyebrow{font-size:8px}.module-grid{gap:12px}.module-card{padding:17px 14px 12px;border-radius:12px}.card-top{margin-bottom:19px}.module-icon{width:37px;height:37px;border-radius:9px}.module-icon svg{width:20px}.module-card h3{font-size:15px;line-height:1.3;min-height:39px;margin-bottom:6px;letter-spacing:-.3px}.module-card p{font-size:10px;line-height:1.6;min-height:32px;margin-bottom:16px}.card-bottom{font-size:9px;padding-top:10px}.module-number{font-size:9px}.app-footer{margin-top:26px;font-size:9px;gap:15px;line-height:1.6}.app-footer>span:first-child{font-size:8px;letter-spacing:1px}.app-footer>span:last-child{text-align:right}.module-placeholder{padding:35px 0}.module-placeholder h1{font-size:30px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media(display-mode:standalone){.app-header{padding-top:env(safe-area-inset-top);height:calc(80px + env(safe-area-inset-top))}body{padding-bottom:env(safe-area-inset-bottom)}}

/* Project standard: strong, visible outlines on all entry fields. */
input:not([type="hidden"]),textarea,select{border:1.5px solid #51433c}input:focus,textarea:focus,select:focus{border-color:#491019;outline:3px solid #731c2524} .forgot-password{display:block;margin:18px auto 0;padding:5px 8px;background:transparent;color:var(--wine);font-size:12px;text-decoration:underline;text-underline-offset:3px}.login-page .login-wrap{padding-top:48px}.login-page .login-content{padding-bottom:26px}

/* Home navigation: one clear menu name per card. */
.home-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 27px}.home-heading h1{font-size:30px;margin:0}.home-heading time{font-size:12px;color:#78695f}.home-menu{padding-bottom:35px}.home-menu .module-grid{gap:20px}.home-menu .module-card{position:relative;min-height:172px;padding:28px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px;border:1px solid #c9b9a6;border-bottom:3px solid #b99a71;box-shadow:0 4px 14px #54331805}.home-menu .module-icon{width:49px;height:49px;border-radius:13px}.home-menu h2{white-space:nowrap;font-size:19px;font-weight:600;letter-spacing:-.4px;margin:0}.home-menu .menu-arrow{position:absolute;right:23px;top:31px;color:#99816a}.home-menu .menu-arrow svg{width:18px}.home-menu .module-card:hover{border-color:var(--wine);box-shadow:0 10px 24px #54331810}.home-menu .module-card:hover .menu-arrow{color:var(--wine)}
@media(max-width:800px){.home-menu .module-card{padding:24px;min-height:158px}.home-menu h2{font-size:17px}.home-menu .module-grid{gap:16px}}
@media(max-width:520px){.home-heading{margin:0 0 22px}.home-heading h1{font-size:27px}.home-heading time{font-size:11px}.home-menu .module-grid{grid-template-columns:1fr;gap:13px}.home-menu .module-card{flex-direction:row;justify-content:flex-start;align-items:center;min-height:91px;padding:20px;gap:17px;border-bottom-width:2px}.home-menu h2{font-size:17px}.home-menu .module-icon{width:46px;height:46px;flex-shrink:0}.home-menu .menu-arrow{position:static;margin-left:auto;display:flex}.home-menu{padding-bottom:12px}}

/* Compact mobile home: two cards per row. */
@media(max-width:520px){
.home-menu .module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-menu .module-card{flex-direction:column;justify-content:center;align-items:center;min-height:122px;padding:17px 7px;gap:13px;text-align:center}
.home-menu .module-icon{width:40px;height:40px;border-radius:10px}
.home-menu h2{font-size:clamp(11px,3.1vw,16px);letter-spacing:-.35px;line-height:1.3;white-space:nowrap}
.home-menu .menu-arrow{display:none}
.home-heading{margin-bottom:18px}
.home-menu{padding-bottom:0}
.workspace .app-footer{margin-top:20px;padding-top:16px}
}
@media(max-width:520px) and (max-height:720px){
.workspace .breadcrumb{margin-bottom:16px}
.home-heading{margin-bottom:15px}
.home-menu .module-card{min-height:108px;padding-top:13px;padding-bottom:13px;gap:10px}
.home-menu .module-icon{width:35px;height:35px}
}

/* Global readability standard: dark text on light surfaces. */
:root{--ink:#211b18;--muted:#453a34}
body{color:var(--ink)}
.intro,.login-footer,.login-footer span,.secure-note,.breadcrumb,.date-block>span,.date-block time,.welcome>div>p:last-child,.section-heading .eyebrow,.section-heading>span,.module-number,.module-card p,.card-bottom,.app-footer,.profile-name small,.app-brand>span,.home-heading time,.home-menu .menu-arrow,.icon-button,.password-toggle,.module-placeholder>p:not(.eyebrow),.coming-next p,dialog p{color:#453a34}
input::placeholder,textarea::placeholder{color:#51453d;opacity:1}
label,.profile-name,.module-card h2,.module-card h3{color:#211b18}
.module-sales .module-icon{color:#75500b}.module-receivables .module-icon{color:#3c542b}.module-reports .module-icon{color:#304f5d}.module-review .module-icon{color:#60446a}.module-users .module-icon{color:#514334}
.card-arrow{color:#51402e}.install-button{color:#513613}
/* Dark surfaces retain high-contrast light text. */
.workspace-banner p{color:#fff1e6}.banner-kicker,.banner-link,.art-caption{color:#ffe4b3}

/* Transparent brand badge across login, home and offline screens. */
.brand-image{background:transparent;border-bottom:0;padding:22px 24px 8px;height:185px}
.brand-image img{mix-blend-mode:normal;object-fit:contain}
.app-brand img{mix-blend-mode:normal}
@media(max-width:520px){.brand-image{height:165px;padding:20px 22px 5px}}

/* Expenses */
.expense-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.expense-heading h1{margin-bottom:7px;font-size:30px}.expense-heading p,.panel-caption{color:#453a34;font-size:12px;margin-bottom:0}.expense-add-link{border:1px solid #731c25;padding:11px 16px;border-radius:8px;color:#731c25;font-weight:600;font-size:12px;white-space:nowrap}.expenses-layout{display:grid;grid-template-columns:355px minmax(0,1fr);gap:23px;align-items:start}.expense-panel{background:#fffdfa;border:1px solid #c9b9a6;border-radius:14px;padding:24px;min-width:0}.expense-panel h2{font-size:20px;margin:0 0 7px}.panel-caption{margin-bottom:23px}.expense-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.expense-fields>div{min-width:0}.expenses-layout label{font-size:12px}.expenses-layout input,.expenses-layout select,.expenses-layout textarea{font:inherit;font-size:13px;color:#211b18;background:white;border:1.5px solid #51433c;width:100%;border-radius:8px;padding:11px 10px;margin-bottom:18px;min-width:0;max-width:100%}.expenses-layout select{height:46px}.expenses-layout textarea{resize:vertical;line-height:1.6}.expenses-layout input{height:46px}.expenses-layout input:focus,.expenses-layout select:focus,.expenses-layout textarea:focus{outline:3px solid #731c2524;border-color:#491019}.expense-total{display:flex;justify-content:space-between;padding:22px 25px;background:#731c25;color:#fff9ef;border-radius:13px;margin-bottom:19px;gap:20px}.expense-total span{font-size:12px;display:block;margin-bottom:8px}.expense-total strong{font-size:27px;font-weight:600;letter-spacing:-.4px}.expense-total>div:last-child{text-align:right}.expense-filters{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:20px;margin:0 0 22px}.filter-actions .primary{width:auto;font-size:12px;min-height:40px;padding:10px 18px}.expense-empty{text-align:center;border-top:1px solid #d9cdbc;padding:40px 12px 20px}.expense-empty svg{color:#731c25;width:32px;height:32px;margin-bottom:15px}.expense-empty h3{font-size:16px}.expense-empty p{font-size:12px;color:#453a34}.expense-success{background:#e9f2e5;border:1px solid #547745;color:#294020;border-radius:9px;padding:14px;font-size:13px}.expense-table-wrap{overflow-x:auto}.expense-table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}.expense-table th{background:#f0e9df;color:#211b18;padding:12px 10px;font-size:10px;white-space:nowrap;font-weight:700}.expense-table td{padding:15px 10px;vertical-align:top;border-bottom:1px solid #ded2c3;overflow-wrap:anywhere;max-width:200px;line-height:1.5}.expense-table td strong{font-size:12px;font-weight:600;display:block}.expense-table td span{display:block;font-size:11px;color:#453a34;margin-top:5px}.expense-table .amount-column{text-align:right;white-space:nowrap;font-weight:650}.expense-table details{margin-top:5px;color:#453a34;font-size:11px}.expense-table summary{cursor:pointer;color:#731c25}.expense-table details p{white-space:pre-wrap;margin:7px 0}.expense-pagination{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-top:20px;font-size:12px}.expense-pagination a{color:#731c25;font-weight:600}#expense-form{scroll-margin-top:20px}
@media(max-width:1000px){.expenses-layout{grid-template-columns:310px minmax(0,1fr);gap:16px}.expense-panel{padding:19px}.expense-total{padding:20px}.expense-total strong{font-size:23px}}
@media(max-width:800px){.expenses-layout{grid-template-columns:1fr}.expense-register{min-width:0}.expense-panel{padding:23px}.expense-total{margin-top:4px}.expense-heading h1{font-size:28px}}
@media(max-width:520px){.expense-heading{margin-bottom:20px}.expense-heading p{font-size:11px}.expense-add-link{font-size:11px;padding:10px}.expense-panel{padding:19px 16px}.expense-fields,.expense-filters{gap:0 12px}.expense-table{min-width:470px}.expense-total{padding:19px 20px}.expense-total strong{font-size:25px}.expenses-layout input,.expenses-layout select,.expenses-layout textarea{font-size:16px}.expense-filters select{font-size:13px}}

.expense-total{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 15px}.expense-total>div:last-child{text-align:left}.expense-total strong{font-size:24px}.expense-table{min-width:650px}#expense-balance{background:#eee8df;color:#211b18;font-weight:650}
@media(max-width:520px){.expense-total strong{font-size:22px}}

/* Navigation identifies the active module without repeating its heading. */
.breadcrumb{font-size:14px;font-weight:600;gap:12px;margin-bottom:20px;min-height:34px}
.breadcrumb a{color:#352a24}.breadcrumb svg{width:16px;height:16px}
.breadcrumb-separator{color:#51433c;font-size:18px}
.breadcrumb-current{background:#731c25;color:#fff9ef;padding:8px 13px;border-radius:7px;font-weight:650}
.expense-toolbar{display:flex;justify-content:flex-end;margin:-4px 0 16px}
@media(max-width:520px){.workspace .breadcrumb{margin-bottom:16px;font-size:13px}.expense-toolbar{margin-top:0;margin-bottom:14px}}

.header-home{display:flex;align-items:center;gap:6px;color:#352a24;font-size:12px;font-weight:650;min-height:40px;padding:5px 8px;border-radius:7px}.header-home:hover{background:#eee5d9}.header-home svg{width:17px;height:17px}
@media(max-width:520px){.app-brand>span{display:none}.header-actions{gap:7px}.header-home{font-size:11px;padding:5px 4px;gap:4px}.header-home svg{width:15px;height:15px}.header-actions .install-button{padding:6px;font-size:9px}}

/* Compact module row: plain icon and label, action on the right. */
.breadcrumb{justify-content:space-between;gap:12px;margin-bottom:16px;min-height:38px}
.breadcrumb-current{display:inline-flex;align-items:center;gap:7px;background:transparent;color:#211b18;padding:0;border-radius:0;font-size:14px;font-weight:650}
.breadcrumb-current svg{width:18px;height:18px;color:#352a24}
.breadcrumb .expense-add-link{margin-left:auto;padding:9px 12px;font-size:11px}
@media(max-width:520px){.workspace .breadcrumb{margin-bottom:16px;min-height:38px}.breadcrumb-current{font-size:13px}.breadcrumb-current svg{width:17px;height:17px}}

/* Compact filters with calendar controls contained within each column. */
#register-title{margin-bottom:22px}
.expense-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
.expense-filters>div,.expense-fields>div{min-width:0}
.expenses-layout input[type="date"]{width:100%;min-width:0;max-width:100%;padding:10px 8px;font-size:13px;appearance:auto}
.expenses-layout input[type="date"]::-webkit-calendar-picker-indicator{width:15px;height:15px;margin:0;padding:0;cursor:pointer;flex-shrink:0}
.expenses-layout input[type="date"]::-webkit-datetime-edit{min-width:0;padding:0}
@media(max-width:520px){.expense-filters{column-gap:10px}.expenses-layout input[type="date"]{font-size:13px;padding-left:8px;padding-right:8px}}

/* Expense table navigation */
#register-title{scroll-margin-top:20px}.table-pagination{border-top:1px solid #d6c8b7;padding-top:20px;margin-top:18px}.pagination-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:17px}.pagination-meta p{margin:0;color:#453a34;font-size:12px}.page-size-form{display:flex;align-items:center;gap:8px}.page-size-form label{margin:0;font-size:11px}.expenses-layout .page-size-form select{margin:0;width:62px;height:34px;padding:4px 7px;font-size:12px;border-radius:6px}.page-size-form button{background:#eee6dc;border:1px solid #9b8772;color:#352a24;border-radius:6px;font-size:11px;padding:8px 10px;min-height:34px}.pagination-controls{display:flex;justify-content:space-between;align-items:center;gap:7px}.page-numbers{display:flex;gap:5px;align-items:center}.page-number,.page-step{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:38px;border:1px solid #b9a58d;border-radius:8px;background:#fffdfa;color:#352a24;font-size:12px;font-weight:650}.page-step{gap:6px;padding:0 11px}.page-number.current{background:#731c25;border-color:#731c25;color:#fff9ef;box-shadow:0 3px 8px #731c2520}.page-number:hover,.page-step:not(.disabled):hover{background:#f0e5d7;border-color:#731c25}.page-step.disabled{color:#665c54;background:#f0ece5;border-color:#d9cfc1;cursor:default}.page-ellipsis{font-size:13px;color:#453a34;padding:0 1px}
@media(max-width:520px){.page-number{min-width:32px;min-height:36px}.page-numbers{gap:4px}.page-step{min-width:34px;min-height:36px;padding:0 8px;font-size:18px}.page-step span{display:none}.pagination-controls{gap:5px}.pagination-meta p{font-size:11px}.pagination-meta{gap:14px}.pagination-controls .page-ellipsis{font-size:11px}}

/* Make horizontal table scrolling easy to discover and operate. */
.expense-table-wrap{scrollbar-width:auto;scrollbar-color:#731c25 #e3d7c8;padding-bottom:9px;overscroll-behavior-x:contain}
.expense-table-wrap::-webkit-scrollbar{height:13px}
.expense-table-wrap::-webkit-scrollbar-track{background:#e3d7c8;border:1px solid #c0ac94;border-radius:10px}
.expense-table-wrap::-webkit-scrollbar-thumb{background:#731c25;border:2px solid #e3d7c8;border-radius:10px;min-width:48px}
.expense-table-wrap::-webkit-scrollbar-thumb:hover{background:#4c1018}
.expense-table-wrap:focus-visible{outline:2px solid #731c25;outline-offset:4px;border-radius:4px}
.table-scroll-hint{display:flex;align-items:center;gap:9px;color:#352a24;font-size:11px;font-weight:600;margin:0 0 11px}
.table-scroll-hint span{color:#731c25;font-size:18px;letter-spacing:3px}

.expense-form-actions{display:flex;gap:12px;align-items:stretch}.expense-form-actions .primary{flex:2;width:auto}.expense-clear{flex:1;min-height:48px;border:1.5px solid #731c25;border-radius:9px;color:#731c25;background:#fffdfa;font-size:14px;font-weight:650}.expense-clear:hover{background:#f0e5dc}

/* Hindi-compatible system fonts; financial figures retain Latin digits. */
:lang(hi){font-family:Workspace,"Nirmala UI","Mangal","Noto Sans Devanagari","Segoe UI",sans-serif;line-height:1.6}html[lang="hi"] .home-menu h2{letter-spacing:0}html[lang="hi"] .eyebrow{letter-spacing:0}

.gst-options{border:0;padding:0;margin:0 0 20px;display:flex;gap:12px}.gst-options legend{font-size:12px;font-weight:650;margin-bottom:9px;color:#211b18}.expenses-layout .gst-options label{display:flex;align-items:center;gap:8px;border:1.5px solid #51433c;border-radius:8px;padding:11px 14px;margin:0;cursor:pointer;min-height:44px}.expenses-layout .gst-options input{width:18px;height:18px;margin:0;padding:0;accent-color:#731c25;flex-shrink:0}.gst-options label:has(input:checked){background:#f1e5de;border-color:#731c25}.expense-table td span.gst-badge{display:inline-block;border:1px solid #9b8772;border-radius:4px;padding:2px 6px;font-size:10px;color:#352a24;background:#f3ece2}

/* Compact tax choice at the beginning of the expense form. */
.gst-options{gap:15px;margin:0 0 16px;align-items:center}
.expenses-layout .gst-options label{padding:3px 0;border:0;background:transparent;min-height:26px;border-radius:0;font-size:11px;gap:6px;font-weight:600}
.expenses-layout .gst-options input{width:15px;height:15px;min-height:0}
.gst-options label:has(input:checked){background:transparent;border:0}

.expense-form-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.expense-form-heading h2{margin:0;font-size:20px;white-space:nowrap}
.expense-form-heading .gst-options{margin:0;gap:9px;flex-shrink:0}
.expenses-layout .expense-form-heading .gst-options label{font-size:10px;gap:4px;white-space:nowrap}
.expenses-layout .expense-form-heading .gst-options input{width:14px;height:14px}
@media(max-width:360px){.expense-form-heading h2{font-size:17px}.expense-form-heading .gst-options{gap:7px}}

/* Dashboard first, expense entry on demand. */
.expenses-layout.expense-dashboard{grid-template-columns:minmax(0,1fr)}
#expense-entry{scroll-margin-top:20px;position:relative}
#expense-entry #expense-form{display:grid;grid-template-columns:1fr}
.expense-close-row{display:flex;justify-content:flex-end;margin:-12px -8px 1px}
#close-expense-form{display:grid;place-items:center;width:30px;height:30px;background:transparent;color:#352a24;font-size:24px;border-radius:6px}
#close-expense-form:hover{background:#eee5d9}
@media(min-width:1001px){.expense-dashboard:has(#expense-entry:not([hidden])){grid-template-columns:355px minmax(0,1fr)}}

.vendor-workspace input,.vendor-workspace textarea{font:inherit;font-size:14px;width:100%;min-width:0;max-width:100%;border:1.5px solid #51433c;border-radius:8px;background:#fff;color:#211b18;padding:12px;margin:0 0 18px}.vendor-workspace textarea{resize:vertical;line-height:1.6}.vendor-workspace label{font-size:12px}.vendor-workspace .expense-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.vendor-editor{max-width:720px;width:100%}.vendor-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.vendor-section-heading h2{margin:0}.vendor-section-heading>a{font-size:25px;padding:0 5px;color:#352a24}.vendor-search{display:flex;align-items:flex-end;gap:12px;margin:23px 0}.vendor-search>div{flex:1;min-width:0}.vendor-search input{margin:0}.vendor-search .primary{width:auto;min-height:45px;padding:11px 18px;font-size:12px}.vendor-search .text-link{padding-bottom:14px}.vendor-row{padding:18px 0;border-top:1px solid #d6c8b7}.vendor-row-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.vendor-row h3{margin:0;font-size:16px;overflow-wrap:anywhere}.vendor-row p{font-size:12px;margin:7px 0 0;color:#352a24;white-space:pre-wrap;overflow-wrap:anywhere}.vendor-row .vendor-code{font-size:10px;font-weight:650}.vendor-edit{border:1px solid #731c25;border-radius:6px;color:#731c25;font-size:11px;padding:7px 13px}.vendor-row details{font-size:12px;margin-top:9px}.vendor-row summary{cursor:pointer;color:#731c25}.vendor-count{display:inline-grid;place-items:center;background:#eee5d9;color:#352a24;border-radius:7px;padding:4px 9px;font-size:12px;margin-left:7px}.vendor-pagination{border-top:1px solid #d6c8b7;padding-top:18px;font-size:12px}
@media(max-width:520px){.vendor-search{flex-wrap:wrap;gap:10px}.vendor-search>div{flex-basis:100%}.vendor-workspace input,.vendor-workspace textarea{font-size:16px}.vendor-editor .expense-fields{grid-template-columns:1fr}.vendor-row{padding:16px 0}}

.vendor-goods-help{font-size:11px;color:#453a34;line-height:1.6;margin:-9px 0 18px}#vendor-gst{text-transform:uppercase}

#vendor-list-title{scroll-margin-top:20px}

.invoice-uploader{margin:0 0 17px}.invoice-upload-button{display:flex;align-items:center;gap:15px;background:#f4ece2;color:#352a24;border:1.5px solid #51433c;border-radius:8px;padding:11px 14px;font-size:12px;font-weight:650;min-height:44px}.invoice-upload-button span{font-size:11px}#invoice-upload-options{display:flex;gap:10px;margin-top:10px}#invoice-upload-options button{padding:11px 12px;border:1px solid #731c25;background:white;color:#731c25;border-radius:7px;font-size:12px}#invoice-previews{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.invoice-preview{position:relative;width:64px;height:76px;border:1px solid #51433c;border-radius:7px;overflow:hidden}.invoice-preview img{width:100%;height:100%;object-fit:cover}.remove-invoice{position:absolute;top:0;right:0;background:#731c25;color:white;border-radius:0 0 0 5px;width:25px;height:25px;font-size:19px}#invoice-upload-status{color:#731c25;font-size:12px;line-height:1.5;margin:8px 0 0}.invoice-links{display:flex;gap:5px}.invoice-image-link{display:grid;place-items:center;min-width:30px;height:32px;border:1px solid #731c25;color:#731c25;border-radius:6px;font-weight:650}.invoice-image-link:hover{background:#f1e3d8}#invoice-viewer{width:min(1000px,96vw);max-width:96vw;height:92dvh;max-height:92dvh;padding:0;overflow:hidden;background:#faf8f4}#invoice-viewer[open]{display:flex;flex-direction:column}.invoice-viewer-bar{display:flex;align-items:center;gap:17px;padding:12px 17px;border-bottom:1px solid #c9b9a6;flex-shrink:0}.invoice-viewer-bar h2{font-size:17px;margin:0;flex:1}.invoice-download{font-size:12px;color:#731c25;border:1px solid #731c25;padding:9px 12px;border-radius:6px}#close-invoice-viewer{width:36px;height:36px;font-size:27px;background:transparent;color:#211b18}.invoice-viewer-image{overflow:auto;min-height:0;flex:1;text-align:center;padding:14px}.invoice-viewer-image img{max-width:100%;height:auto;touch-action:pinch-zoom}.invoice-uploader button:disabled{opacity:.65;cursor:wait}

.expense-total-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}.expense-total-entry>div{min-width:0}.expenses-layout .fully-paid-option{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:650;white-space:nowrap;margin:7px 0 0;cursor:pointer;min-height:40px}.expenses-layout .fully-paid-option input{width:16px;height:16px;padding:0;margin:0;accent-color:#731c25}#expense-paid[readonly]{background:#eee8df;color:#211b18}

.invoice-upload-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.invoice-upload-row #invoice-upload-options{margin:0;gap:6px}.invoice-upload-row .invoice-upload-button{font-size:10px;padding:9px 8px;gap:7px;min-height:37px}.invoice-upload-row #invoice-upload-options button{font-size:10px;padding:9px 7px;min-height:37px}.invoice-upload-row .invoice-upload-button span{font-size:10px}
#invoice-previews .invoice-preview{width:auto;height:auto;border:0;overflow:visible;display:flex;align-items:center;gap:2px;padding-top:2px}
#invoice-previews .invoice-image-link{min-width:32px;height:33px;background:#f2e6dc;font-size:12px}
#invoice-previews .remove-invoice{position:static;width:21px;height:29px;background:transparent;color:#731c25;font-size:19px;border-radius:4px}

.expense-table .expense-number-column{white-space:nowrap;width:72px;min-width:72px;color:#352a24}.expense-table td.expense-number-column strong{font-size:12px;font-weight:700}

.expense-table td span.payment-status{display:inline-block;padding:3px 8px;border-radius:5px;font-size:10px;font-weight:700;margin-top:7px}.expense-table td span.status-paid{background:#e4f1df;color:#24531c;border:1px solid #719969}.expense-table td span.status-balance{background:#fff0b3;color:#614700;border:1px solid #ba971c}

.expense-edit-link{color:#731c25;font-weight:700;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:3px 0}.expense-edit-link:hover{color:#491019}

.expense-delete{display:block;width:100%;border:1px solid #8e2027;border-radius:8px;color:#8e2027;background:#fff4f1;padding:11px;font-size:12px;font-weight:650;margin:0 0 13px;min-height:42px}.expense-delete:hover{background:#f9e1dc}

.expense-form-actions+.expense-delete{margin:13px 0 0}

.expense-table td span.payment-status{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex-shrink:0}

/* Keep expense identity visible during horizontal table scrolling. */
.expense-table .expense-number-column{position:sticky;left:0;z-index:2;background:#fffdfa;box-shadow:2px 0 0 #d6c8b7;min-width:82px;width:82px}
.expense-table th.expense-number-column{z-index:3;background:#f0e9df}

.header-current-module:hover{background:transparent}.header-current-module{cursor:default}.header-current-module>span{white-space:nowrap}@media(max-width:520px){.header-current-module{font-size:10px;gap:4px}.header-current-module>span{white-space:normal;max-width:110px;line-height:1.35}}

/* Show the current module once, prominently in the header. */
.header-current-module{font-size:16px;font-weight:700;gap:7px}
.header-current-module svg{width:19px;height:19px}
.breadcrumb{justify-content:flex-end}
.breadcrumb:empty{display:none}
@media(max-width:520px){.header-current-module{font-size:14px;gap:5px}.header-current-module svg{width:17px;height:17px}.header-current-module>span{max-width:120px;line-height:1.3}}

/* Compact Home with readable module names and visible footer. */
.home-screen{min-height:100dvh;display:flex;flex-direction:column}
.home-screen .app-header{flex-shrink:0}
.home-screen .dashboard{flex:1;width:100%;display:flex;flex-direction:column;padding-top:19px}
.home-screen .home-heading{margin:0 0 17px}
.home-screen .home-menu{padding-bottom:0}
.home-screen .home-menu .module-card{min-height:124px;padding:19px;gap:12px}
.home-screen .home-menu h2{font-size:20px;letter-spacing:-.35px}
.home-screen .app-footer{margin-top:auto;padding:18px 0 15px}
@media(max-width:1244px){.home-screen .dashboard{width:calc(100% - 64px)}}
@media(max-width:800px){.home-screen .dashboard{width:calc(100% - 48px)}.home-screen .home-menu .module-card{min-height:110px;padding:16px}.home-screen .home-menu h2{font-size:19px}}
@media(max-width:520px){
.home-screen .dashboard{width:calc(100% - 38px);padding-top:15px}
.home-screen .home-heading{margin-bottom:15px}.home-screen .home-heading h1{font-size:25px}
.home-screen .home-menu .module-grid{gap:10px}
.home-screen .home-menu .module-card{min-height:96px;padding:12px 5px;gap:9px}
.home-screen .home-menu .module-icon{width:32px;height:32px;border-radius:8px}
.home-screen .home-menu .module-icon svg{width:18px;height:18px}
.home-screen .home-menu h2{font-size:clamp(13px,3.9vw,17px);letter-spacing:-.4px;line-height:1.3}
.home-screen .app-footer{padding:14px 0 12px;gap:10px;font-size:10px}
.home-screen .app-footer>span:first-child{font-size:8px}
}
@media(max-width:520px) and (max-height:680px){
.home-screen .home-menu .module-card{min-height:82px;padding-top:9px;padding-bottom:9px;gap:6px}
.home-screen .home-menu .module-grid{gap:8px}
.home-screen .home-menu .module-icon{width:27px;height:27px}
.home-screen .home-heading{margin-bottom:10px}
}

.home-screen .home-heading{justify-content:flex-end}


.workspace:not(.home-screen) .dashboard{padding-bottom:24px}

.home-screen .home-heading{justify-content:space-between;align-items:center;gap:10px}
.language-switch{display:inline-flex;border:1.5px solid #51433c;border-radius:8px;padding:3px;background:#fffdfa;gap:2px;flex-shrink:0}
.language-switch button{padding:6px 10px;min-height:30px;border-radius:5px;background:transparent;color:#352a24;font-size:12px;font-weight:600;line-height:1.4}
.language-switch button[aria-pressed="true"]{background:#731c25;color:#fff9ef}
.language-switch button:hover:not([aria-pressed="true"]){background:#eee5d9}
html[lang="hi"] .home-menu h2{letter-spacing:0;line-height:1.5}
@media(max-width:520px){.language-switch button{padding:4px 8px;font-size:11px;min-height:28px}.home-screen .home-heading time{font-size:10px}html[lang="hi"] .home-menu h2{font-size:clamp(12px,3.6vw,16px)}html[lang="hi"] .expense-form-heading{flex-wrap:wrap}}

/* Summary amounts must remain readable and never wrap as totals grow. */
.expense-total>div{min-width:0}.expense-total strong{display:block;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:22px;line-height:1.3}
@media(max-width:520px){.expense-total{gap:20px 12px;padding:19px 17px}.expense-total strong{font-size:clamp(16px,4.6vw,20px);letter-spacing:-.45px}.expense-total span{font-size:11px}}

/* Slightly larger header badge, preserving its original proportions. */
.app-brand img{width:155px;height:78px;object-fit:contain}
@media(max-width:800px){.app-brand img{width:130px;height:67px}}
@media(max-width:520px){.app-brand img{width:120px;height:62px}}

.home-screen .home-heading time{font-size:14px;color:#211b18;font-weight:600}@media(max-width:520px){.home-screen .home-heading time{font-size:12px;color:#211b18}}

.home-screen .home-menu h2{font-size:21px;color:#171210;font-weight:700}
@media(max-width:800px){.home-screen .home-menu h2{font-size:20px}}
@media(max-width:520px){.home-screen .home-menu h2{font-size:clamp(14px,4.2vw,18px);color:#171210;font-weight:700}}
@media(max-width:520px){html[lang="hi"] .home-screen .home-menu h2{font-size:clamp(13px,3.9vw,17px)}}

/* Reports: one catalogue, consistent filters and readable results. */
.report-catalog-heading h1{font-size:26px;margin-bottom:8px}.report-catalog-heading p{font-size:13px;color:#453a34;margin-bottom:24px}.report-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.report-card{display:flex;align-items:center;gap:17px;border:1px solid #b9a58d;border-radius:12px;background:#fffdfa;padding:21px;min-height:108px;transition:box-shadow .2s,border-color .2s}.report-card:hover{border-color:#731c25;box-shadow:0 5px 18px #4d2a1910}.report-card>div{flex:1;min-width:0}.report-card h2{font-size:17px;line-height:1.5;margin:0 0 5px;letter-spacing:-.3px}.report-card p{font-size:12px;line-height:1.6;color:#453a34;margin:0}.report-card-arrow{font-size:19px;color:#731c25}.report-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin:0 0 22px}.report-heading h1{font-size:28px;margin:12px 0 0}.report-export-actions{display:flex;gap:9px;flex-wrap:wrap}.report-action{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border:1px solid #731c25;border-radius:7px;background:#fffdfa;color:#731c25;font-size:12px;font-weight:600;min-height:40px}.report-action:hover{background:#f1e5dc}.report-filters{margin-bottom:19px}.report-filters>summary{cursor:pointer;font-size:16px;font-weight:700;color:#211b18}.report-filters[open]>summary{margin-bottom:21px}.report-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.report-filter-grid>div{min-width:0}.report-filter-grid label{font-size:12px;line-height:1.5;margin-bottom:7px}.report-filter-grid input,.report-filter-grid select{width:100%;max-width:100%;min-width:0;font:inherit;font-size:13px;color:#211b18;background:white;border:1.5px solid #51433c;border-radius:8px;padding:10px;height:44px;margin:0}.report-filter-grid input[type=date]{padding:9px 7px}.report-filter-grid input[type=date]::-webkit-calendar-picker-indicator{width:15px;height:15px;padding:0;margin:0}.report-filter-actions{display:flex;align-items:center;gap:20px;margin-top:20px}.report-filter-actions .primary{width:auto;font-size:13px;padding:11px 18px;min-height:42px}.report-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:10px}.report-date-caption{font-size:12px;font-weight:650;color:#352a24;margin:12px 0 17px}.report-accounting-note{font-size:11px;color:#453a34;line-height:1.7;margin:0 0 17px}.report-caution{padding:12px 14px;background:#fff0bd;color:#493800;border:1px solid #b9a05a;border-radius:8px;font-size:12px;line-height:1.7}.report-results h2{font-size:20px;margin-bottom:20px}#report-results-title{scroll-margin-top:20px}.report-not-ready{padding:35px 25px}.report-not-ready .module-icon{margin-bottom:20px}.report-not-ready h2{font-size:21px}.report-not-ready p{font-size:13px;line-height:1.8;color:#453a34}.report-print-toolbar{margin:0 0 17px}.report-table{min-width:1000px}
@media(max-width:800px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.report-card{padding:17px;gap:13px}.report-card h2{font-size:16px}}
@media(max-width:520px){.report-card-grid{grid-template-columns:1fr;gap:11px}.report-card{min-height:88px;padding:16px}.report-card .module-icon{width:37px;height:37px}.report-card h2{font-size:16px}.report-card p{font-size:11px}.report-heading h1{font-size:25px}.report-filter-grid{gap:16px 10px}.report-filter-grid input,.report-filter-grid select{font-size:13px;padding-left:7px;padding-right:7px}.report-filters{padding:20px 15px}.report-export-actions{gap:8px}.report-action{font-size:11px;padding:9px 12px}}
@media print{body{background:white!important;color:black!important}.app-header,.breadcrumb,.report-heading .text-link,.report-export-actions,.report-filters,.report-print-toolbar,.table-pagination,.connection-note,#invoice-viewer{display:none!important}.dashboard{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.report-heading h1{font-size:20px}.report-summary{background:white;color:black;border:1px solid #555;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px}.report-summary strong{font-size:15px!important}.report-summary span{font-size:10px}.expense-panel{border:0;padding:0}.expense-table-wrap{overflow:visible;padding:0}.report-table{min-width:0;width:100%;font-size:8px}.expense-table th,.expense-table td{padding:6px 4px;font-size:8px}.expense-table td strong,.expense-table td span{font-size:8px}.expense-table .expense-number-column{position:static;min-width:0;width:auto;box-shadow:none}.expense-table .amount-column{white-space:normal}.invoice-links{display:block}.invoice-image-link{display:inline;border:0;font-size:8px}tr{break-inside:avoid}.report-results h2{font-size:14px}details p{display:block}.report-accounting-note{font-size:9px}@page{size:A4 landscape;margin:12mm}}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.report-period-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;border:1px solid #b9a58d;border-radius:9px;padding:4px;margin:0 0 21px;background:#f1e9df;min-width:0}
.report-period-tabs label{position:relative;cursor:pointer;min-width:0;margin:0}
.report-period-tabs input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.report-period-tabs span{display:flex;align-items:center;justify-content:center;min-height:40px;padding:7px 5px;border-radius:6px;color:#352a24;font-size:12px;font-weight:650;white-space:nowrap}
.report-period-tabs input:checked+span{background:#731c25;color:#fff9ef}
.report-period-tabs input:focus-visible+span{outline:3px solid #b38b42;outline-offset:2px}
@media(max-width:520px){.report-period-tabs{gap:2px;padding:3px}.report-period-tabs span{font-size:10px;padding:7px 3px;min-height:38px}html[lang="hi"] .report-period-tabs span{font-size:10px}}

.report-filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}.report-filter-toolbar>span{font-size:15px;font-weight:700;color:#211b18}.report-filter-toolbar .report-export-actions{gap:6px}.report-filter-toolbar .report-action{font-size:11px;min-height:34px;padding:7px 9px}.report-filters>summary{font-size:11px}.report-filters[open]>summary{margin-bottom:15px}.report-heading{margin-bottom:17px}
@media(max-width:520px){.report-filter-toolbar{gap:7px}.report-filter-toolbar>span{font-size:13px;white-space:nowrap}.report-filter-toolbar .report-action{font-size:9px;min-height:33px;padding:7px}.report-filter-toolbar .report-export-actions{gap:5px;flex-wrap:nowrap}}
@media print{.report-filter-toolbar{display:none!important}}

.report-filters>.report-filter-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;font-size:15px}.report-filter-summary::-webkit-details-marker{display:none}.report-filter-summary>span{display:flex;align-items:center;gap:6px;white-space:nowrap}.report-filter-summary>span::before{content:'\25B6';font-size:9px}.report-filters[open]>.report-filter-summary>span::before{content:'\25BC'}.report-filter-summary .report-export-actions{gap:5px;flex-wrap:nowrap}.report-filter-summary .report-action{font-size:10px;padding:7px 8px;min-height:33px}
@media(max-width:520px){.report-filters>.report-filter-summary{font-size:12px}.report-filter-summary .report-action{font-size:9px;padding:7px 6px}.report-filter-summary .report-export-actions{gap:4px}}

.report-heading.report-breadcrumb{display:flex;justify-content:flex-start;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 20px}.report-breadcrumb>a{font-size:14px;color:#731c25;font-weight:600}.report-breadcrumb>span{color:#453a34;font-size:17px}.report-heading.report-breadcrumb h1{font-size:17px;line-height:1.5;margin:0;color:#211b18;font-weight:650;letter-spacing:-.2px}
@media(max-width:520px){.report-heading.report-breadcrumb{gap:8px;margin-bottom:18px}.report-breadcrumb>a{font-size:13px}.report-heading.report-breadcrumb h1{font-size:15px}.report-breadcrumb>span{font-size:15px}}

/* Grouped reports use compact columns instead of the wide detail-table layout. */
.report-summary-table{min-width:560px;table-layout:fixed}
.report-summary-table th:first-child,.report-summary-table td:first-child{width:155px;max-width:155px;white-space:normal;overflow-wrap:break-word}
.report-summary-table th:nth-child(2),.report-summary-table td:nth-child(2){width:55px;text-align:center}
.report-summary-table th.amount-column,.report-summary-table td.amount-column{width:115px}
@media(max-width:520px){.report-summary-table{min-width:485px}.report-summary-table th:first-child,.report-summary-table td:first-child{width:125px;max-width:125px}.report-summary-table th:nth-child(2),.report-summary-table td:nth-child(2){width:45px}.report-summary-table th.amount-column,.report-summary-table td.amount-column{width:105px}.report-summary-table th,.report-summary-table td{padding-left:8px;padding-right:8px}}
@media print{.report-summary-table{min-width:0;table-layout:auto}.report-summary-table th:first-child,.report-summary-table td:first-child{width:auto;max-width:none}}

.customer-workspace select{font:inherit;font-size:14px;min-height:45px;border:1.5px solid #51433c;border-radius:8px;padding:10px;background:#fff;color:#211b18;width:100%}.customer-type-filter{max-width:145px}.customer-type-options legend{font-size:12px;font-weight:650;margin-bottom:8px}.customer-workspace .customer-type-options label{display:flex;align-items:center;gap:7px;font-size:12px;min-height:35px;cursor:pointer;margin:0}.customer-workspace .customer-type-options input{width:16px;height:16px;margin:0;padding:0;accent-color:#731c25}.customer-type-badge{display:inline-block;background:#eee7dd;border:1px solid #b8a78f;color:#352a24;border-radius:5px;padding:3px 7px;margin-left:7px;font-size:10px}.customer-type-badge.premium{background:#fff0be;border-color:#b0933c;color:#594200}.customer-editor small,.vendor-section-heading h2 small{font-size:12px;color:#453a34}#customer-gst{text-transform:uppercase}#customer-list-title{scroll-margin-top:20px}
@media(max-width:520px){.customer-search .customer-type-filter{flex-basis:100%;max-width:none}}

.directory-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.directory-heading h2{margin:0;font-size:20px}.directory-heading .expense-add-link{font-size:11px;padding:9px 10px;flex-shrink:0}@media(max-width:520px){.directory-heading h2{font-size:18px}.directory-heading .expense-add-link{font-size:10px;padding:9px 8px}}

.customer-table{min-width:820px;table-layout:fixed}.customer-table .expense-number-column{width:90px;min-width:90px}.customer-table th:nth-child(2){width:155px}.customer-table th:nth-child(3){width:130px}.customer-table th:nth-child(4){width:125px}.customer-table th:nth-child(5){width:100px}.customer-table th:nth-child(6){width:155px}.customer-table th:nth-child(7){width:100px}.customer-table .customer-phone-column,.customer-table .customer-gst-column{white-space:nowrap}.customer-table .customer-type-badge{white-space:nowrap;margin:0}#customer-form{scroll-margin-top:20px}

.vendor-table{min-width:880px;table-layout:fixed}.vendor-table .expense-number-column{width:85px;min-width:85px}.vendor-table th:nth-child(2){width:155px}.vendor-table th:nth-child(3){width:130px}.vendor-table th:nth-child(4){width:160px}.vendor-table th:nth-child(5){width:100px}.vendor-table th:nth-child(6){width:155px}.vendor-table th:nth-child(7){width:180px}.vendor-table .vendor-phone-column,.vendor-table .vendor-gst-column{white-space:nowrap}.vendor-table .vendor-goods-column{white-space:pre-wrap}#vendor-form{scroll-margin-top:20px}

/* Daily sales entry and all four sources. */
.sales-screen{display:grid;gap:20px}.sales-editor{max-width:720px;width:100%}.sales-editor .vendor-section-heading{margin-bottom:20px}.sales-entry-id{font-size:12px;color:#453a34}.sales-screen label{font-size:12px;color:#211b18}.sales-screen input:not([type=hidden]),.sales-screen select{width:100%;max-width:100%;min-width:0;border:1.5px solid #51433c;border-radius:8px;background:#fff;color:#211b18;font:inherit;font-size:14px;padding:11px 10px;height:46px;margin:0 0 18px}.sales-screen input[type=date]{padding:9px 7px;font-size:13px}.sales-screen input[type=date]::-webkit-calendar-picker-indicator{width:15px;height:15px;margin:0;padding:0}.sales-payment-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sales-payment-fields>div{min-width:0}.sales-split-note{font-size:11px;line-height:1.7;color:#453a34;margin:-4px 0 8px}.sales-difference{font-size:12px;color:#352a24;margin:0 0 20px}.sales-difference.mismatch{color:#8e2027;font-weight:650}.sales-completion{font-size:11px;color:#352a24;font-weight:650;white-space:nowrap}.sales-day-picker{display:flex;align-items:flex-end;gap:14px;margin:22px 0}.sales-day-picker>div{max-width:220px;min-width:0;flex:1}.sales-day-picker input{margin:0!important}.sales-day-picker .primary{width:auto;min-height:46px;padding:11px 20px;font-size:12px}.sales-day-picker .text-link{padding-bottom:14px}.sales-totals{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:21px}.sales-source-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.sales-source-card{border:1px solid #b9a58d;border-radius:12px;padding:18px;background:#faf6ef;min-width:0;display:flex;flex-direction:column}.sales-source-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.sales-source-heading h3{font-size:17px;margin:0}.sales-record-status{font-size:10px;color:#594819;background:#fff0be;padding:3px 6px;border:1px solid #b39b51;border-radius:4px}.sales-record-status.recorded{color:#24531c;background:#e4f1df;border-color:#719969}.sales-source-total{font-size:22px;color:#211b18;white-space:nowrap;letter-spacing:-.5px;margin:20px 0;display:block;overflow-wrap:normal}.sales-source-card dl{margin:0 0 18px;font-size:11px}.sales-source-card dl>div{display:flex;justify-content:space-between;gap:8px;margin-bottom:9px}.sales-source-card dd{margin:0;white-space:nowrap;font-weight:650}.sales-source-action{margin-top:auto;display:block;padding:10px;border:1px solid #731c25;color:#731c25;text-align:center;font-size:12px;font-weight:650;border-radius:7px;background:#fffdfa}.sales-source-action:hover{background:#f1e5dc}.sales-history-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px;margin:24px 0 20px}.sales-history-actions{display:flex;align-items:center;gap:20px;grid-column:1/-1}.sales-history-actions .primary{width:auto;font-size:12px;min-height:42px;padding:10px 18px}.sales-history-table{min-width:850px;table-layout:fixed}.sales-history-table th:nth-child(2){width:115px}.sales-history-table th:nth-child(3){width:100px}.sales-history-table th.amount-column{width:125px}.sales-history-table th:last-child{width:70px}#sales-form,#sales-history-title{scroll-margin-top:20px}
@media(max-width:1000px){.sales-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.sales-screen{gap:17px}.sales-source-grid{gap:11px}.sales-source-card{padding:13px 11px}.sales-source-heading h3{font-size:15px}.sales-source-total{font-size:18px;margin:16px 0}.sales-source-card dl{font-size:10px}.sales-source-action{font-size:11px}.sales-screen input:not([type=hidden]),.sales-screen select{font-size:16px}.sales-screen input[type=date]{font-size:13px}.sales-payment-fields{grid-template-columns:1fr}.sales-history-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 11px}.sales-day-picker{gap:12px}.sales-completion{font-size:10px}.sales-totals strong{font-size:19px}}

.sales-overview-filters{margin-top:23px}.sales-period-tabs{margin-bottom:17px}.sales-period-caption{font-size:11px;color:#453a34;margin:0 0 13px;font-weight:600}.sales-entries-heading{margin-bottom:23px}.sales-source-card dl{margin-bottom:0}.sales-source-card .sales-source-total{margin-bottom:17px}.sales-date-selectors #sales-month-field{max-width:260px}.sales-day-panel .expense-total>div{min-width:0}.sales-source-card .sales-record-status{white-space:nowrap}

.sales-history-table th:nth-last-child(2){width:120px}.sales-gst-table{min-width:450px}

.credit-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin:23px 0}.credit-search{display:grid;grid-template-columns:2fr 1fr;gap:0 15px;margin-bottom:26px}.credit-search>div{min-width:0}.credit-search-actions{grid-column:1/-1;display:flex;align-items:center;gap:20px}.credit-search-actions .primary{width:auto;min-height:42px;font-size:12px;padding:10px 18px}.credit-field-note{font-size:11px;color:#453a34;line-height:1.6;margin:-7px 0 17px}.credit-collect-summary{font-size:13px;line-height:1.9;color:#352a24}.credit-table{min-width:960px;table-layout:fixed}.credit-table .expense-number-column{width:85px;min-width:85px}.credit-table th:nth-child(2){width:105px}.credit-table th:nth-child(3){width:180px}.credit-table th.amount-column{width:125px}.credit-table th:nth-child(7){width:170px}.credit-table th:last-child{width:130px}.credit-table .vendor-edit{display:inline-block;white-space:nowrap}.credit-table details p{min-width:130px}.credit-dashboard h2{font-size:20px}#credit-balance{background:#eee8df;font-weight:650}#credit-entry-form,#credit-collection-form,#credit-table-title{scroll-margin-top:20px}.credit-workspace select{margin-bottom:18px;height:46px;font-size:14px}.credit-workspace input:disabled,.credit-workspace select:disabled{background:#eee8df;color:#453a34}
@media(max-width:800px){.credit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.credit-search{grid-template-columns:1fr}.credit-dashboard>.directory-heading{align-items:flex-start}.credit-dashboard>.directory-heading h2{font-size:17px;line-height:1.4}.credit-workspace select{font-size:16px}}

.collection-balance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px 12px;border:1px solid #b9a58d;border-radius:9px;background:#f4ece2;margin:0 0 23px}.collection-balance-summary>div{min-width:0}.collection-balance-summary span{display:block;font-size:11px;color:#453a34;margin-bottom:7px}.collection-balance-summary strong{display:block;font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#211b18;letter-spacing:-.4px}.collection-balance-summary.overpaid #collection-pending-preview{color:#8e2027}@media(max-width:520px){.collection-balance-summary{gap:8px;padding:13px 9px}.collection-balance-summary strong{font-size:clamp(11px,3.6vw,15px)}}

@media(max-width:520px){.header-current-module>span{white-space:nowrap;max-width:none}.header-current-module{font-size:13px;gap:4px}.header-actions{gap:5px}}

/* Business Review: familiar controls, charts and exact financial tables. */
.review-controls{margin-bottom:0}.review-controls label{font-size:12px;color:#211b18}.review-controls select,.review-controls input[type=month]{width:100%;min-width:0;border:1.5px solid #51433c;background:white;border-radius:8px;color:#211b18;height:45px;padding:10px;font:inherit;font-size:13px;margin-bottom:0}.review-controls #review-view{margin-bottom:20px;font-weight:650}.review-period-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.review-period-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.review-period-fields>div{min-width:0}.review-range{font-size:12px;font-weight:600;color:#352a24;margin:18px 0}.review-range span{display:block;margin-top:7px}.review-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.review-kpis>div{min-width:0;background:#fffdfa;border:1px solid #b9a58d;border-radius:11px;padding:20px 17px}.review-kpis span{display:block;font-size:11px;color:#352a24;margin-bottom:10px;font-weight:600}.review-kpis strong{display:block;color:#731c25;font-size:23px;white-space:nowrap;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.review-kpis .review-positive strong{color:#24531c}.review-kpis .review-negative strong{color:#8e2027}.review-results{margin-bottom:5px}.review-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.review-chart-heading h2{font-size:20px;margin:0}.review-chart-heading>span{font-size:11px;color:#453a34;font-weight:650;white-space:nowrap}.review-note{font-size:11px;line-height:1.8;color:#453a34;margin:0 0 18px}.review-view-total{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #d6c8b7;border-bottom:1px solid #d6c8b7;padding:13px 0;margin-bottom:18px;min-width:0}.review-view-total span{font-size:12px;font-weight:600}.review-view-total strong{font-size:21px;color:#731c25;white-space:nowrap;min-width:0}.review-chart-frame{height:340px;width:100%;position:relative;margin:20px 0}.review-doughnut{height:330px;max-width:530px;margin-left:auto;margin-right:auto}.review-table{width:100%;table-layout:fixed;min-width:550px}.review-table th:first-child{width:175px}.review-table .amount-column{white-space:nowrap}.review-table th,.review-table td{padding:13px 11px}.review-table td:first-child{overflow-wrap:anywhere}.review-table-wrap{margin-top:20px}
@media(max-width:800px){.review-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.review-kpis strong{font-size:22px}}
@media(max-width:520px){.review-controls{padding:20px 16px}.review-controls select,.review-controls input[type=month]{font-size:13px}.review-kpis{gap:11px}.review-kpis>div{padding:15px 12px}.review-kpis strong{font-size:20px}.review-kpis span{font-size:10px;line-height:1.6}.review-chart-heading h2{font-size:18px}.review-chart-frame{height:290px}.review-doughnut{height:310px}.review-table{min-width:500px}.review-table th:first-child{width:140px}.review-table th,.review-table td{padding:12px 8px}.review-chart-heading{align-items:flex-start}.review-view-total strong{font-size:18px}}
