@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap";:root{color:#292722;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;--gold:#b18a45;--gold-light:#f3ead8;--ink:#292722;--muted:#89867e;--line:#ece9e1;--surface:#fff;background:#f7f6f2;font-family:DM Sans,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}.admin-shell{background:#f7f6f2;min-height:100vh;display:flex}.sidebar{color:#fff;z-index:20;background:#25241f;flex-direction:column;width:250px;padding:27px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid #414039;align-items:center;gap:12px;padding:0 10px 34px;display:flex}.brand-icon{color:#fff;background:#b18a45;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.brand strong,.brand span{letter-spacing:2px;display:block}.brand strong{font-family:Playfair Display,serif;font-size:19px}.brand span{color:#c7ad7e;letter-spacing:3px;margin-top:2px;font-size:9px}.sidebar-label{letter-spacing:1.8px;color:#89877f;margin:29px 11px 13px;font-size:10px}.sidebar-nav{gap:7px;display:grid}.nav-link{color:#c5c3bc;border-radius:8px;align-items:center;gap:13px;height:47px;padding:0 12px;font-size:13px;transition:all .2s;display:flex}.nav-link:hover{color:#fff;background:#35342e}.nav-link.active{color:#fff;background:#b18a45;font-weight:600}.nav-plus{margin-left:auto;font-size:20px}.sidebar-bottom{margin-top:auto}.store-status{color:#aaa79e;border-top:1px solid #414039;align-items:center;gap:9px;padding:14px 10px;font-size:11px;display:flex}.store-status span{background:#78b88c;border-radius:50%;width:7px;height:7px}.logout-button{color:#d0cec7;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;width:100%;padding:13px 11px;font-size:13px;display:flex}.logout-button:hover{background:#35342e}.main-area{flex-direction:column;flex:1;min-width:0;min-height:100vh;margin-left:250px;display:flex}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:72px;padding:0 36px;display:flex}.breadcrumb{color:#89867e;letter-spacing:1px;font-size:11px}.breadcrumb span{color:#c4b99f;padding:0 10px}.topbar-right,.profile{align-items:center;gap:17px;display:flex}.icon-button,.mobile-menu,.mobile-close{color:#716d63;background:0 0;border:0;place-items:center;display:grid}.profile{gap:10px}.avatar{color:#8b6b35;background:#f1e7d5;border-radius:50%;place-items:center;width:35px;height:35px;font-size:12px;font-weight:700;display:grid}.profile-info strong,.profile-info span{display:block}.profile-info strong{font-size:12px}.profile-info span{color:var(--muted);margin-top:2px;font-size:10px}.page-content{flex:1;width:100%;max-width:1600px;margin:0 auto;padding:34px 36px}.footer{color:#aaa69c;border-top:1px solid var(--line);padding:16px 36px;font-size:10px}.page-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px;display:flex}.eyebrow{letter-spacing:2px;color:var(--gold);margin:0 0 8px;font-size:10px;font-weight:700}.page-heading h1,.placeholder-page h1{color:#292722;margin:0 0 6px;font-family:Playfair Display,serif;font-size:31px;font-weight:600}.muted{color:var(--muted);margin:0;font-size:12px}.primary-button{color:#fff;background:#a98443;border:0;border-radius:7px;justify-content:center;align-items:center;gap:9px;padding:12px 17px;font-size:12px;font-weight:600;display:inline-flex;box-shadow:0 3px 8px #a9844325}.primary-button:hover{background:#927039}.demo-notice{color:#856c3f;background:#f5efdf;border:1px solid #eee3ca;border-radius:6px;margin-bottom:19px;padding:10px 14px;font-size:11px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-card,.panel{background:#fff;border:1px solid #eeece6;border-radius:10px}.stat-card{padding:19px 18px}.stat-top{color:#77746c;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.stat-icon{border-radius:9px;place-items:center;width:37px;height:37px;display:grid}.stat-icon.gold{color:#a98443;background:#f4eddf}.stat-icon.green{color:#57966b;background:#eaf3ec}.stat-icon.orange{color:#c1854b;background:#fbefe5}.stat-icon.blue{color:#6488ac;background:#eaf0f7}.stat-value{letter-spacing:-.5px;margin:15px 0 8px;font-size:23px;font-weight:700;display:block}.stat-change{align-items:center;gap:4px;font-size:10px;display:flex}.positive{color:#57966b}.neutral{color:#b17d46}.dashboard-grid{grid-template-columns:1.55fr 1fr;gap:17px;margin-top:19px;display:grid}.panel{padding:21px}.panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel-heading h2{margin:0 0 5px;font-size:14px;font-weight:700}.panel-heading p{color:var(--muted);margin:0;font-size:10px}.period-pill{border:1px solid var(--line);color:#77746c;border-radius:5px;padding:7px 10px;font-size:10px}.chart-summary{align-items:center;gap:10px;margin-top:20px;display:flex}.chart-summary strong{font-size:25px}.chart-summary span{color:#57966b;align-items:center;font-size:10px;display:flex}.bar-chart{justify-content:space-around;align-items:flex-end;gap:12px;height:145px;padding:15px 8px 0;display:flex}.bar-column{color:#99958b;flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:8px;height:100%;font-size:10px;display:flex}.bar-track{background:#f6f2e9;border-radius:5px 5px 0 0;align-items:flex-end;width:100%;max-width:32px;height:100%;display:flex;overflow:hidden}.bar-fill{background:linear-gradient(#c5a66d,#a98443);border-radius:5px 5px 0 0;width:100%}.quick-panel{flex-direction:column;display:flex}.quick-action{border-bottom:1px solid #f0eee8;align-items:center;gap:12px;padding:15px 0;display:flex}.quick-action:last-child{border-bottom:0}.quick-icon{color:#a98443;background:#f5efe3;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.quick-action div:nth-child(2){flex:1}.quick-action strong,.quick-action span{display:block}.quick-action strong{font-size:11px}.quick-action span{color:var(--muted);margin-top:4px;font-size:10px}.quick-action>svg{color:#aaa397}.orders-panel{margin-top:19px}.text-link{color:#a98443;align-items:center;gap:5px;font-size:10px;font-weight:600;display:flex}.table-scroll{margin-top:18px;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;min-width:650px}th{letter-spacing:1px;color:#9b978d;background:#faf9f6;padding:11px 12px;font-size:9px;font-weight:600}td{color:#5e5b54;white-space:nowrap;border-bottom:1px solid #f1efe9;padding:14px 12px;font-size:11px}tbody tr:last-child td{border-bottom:0}.order-id{color:#a17b3c;font-weight:600}.amount{color:#35332d;font-weight:700}.status{border-radius:20px;padding:5px 9px;font-size:9px;font-weight:600}.status-in-progress{color:#a17b3c;background:#f8f0df}.status-ready{color:#548766;background:#eaf2ed}.status-pending{color:#b17d46;background:#f7ece5}.status-delivered{color:#6684a2;background:#eaf0f7}.placeholder-page{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:60vh;display:flex}.placeholder-icon{color:#a98443;background:#f2eadb;border-radius:18px;place-items:center;width:65px;height:65px;margin-bottom:22px;display:grid}.placeholder-page>p:not(.eyebrow){color:var(--muted);max-width:430px;font-size:13px;line-height:1.7}.coming-soon{color:#94743d;background:#f3eddf;border-radius:20px;margin-top:20px;padding:9px 14px;font-size:10px}.login-page{background:#f7f5ef;place-items:center;min-height:100vh;padding:25px;display:grid;position:relative;overflow:hidden}.login-decoration{border:1px solid #e9dfca;border-radius:50%;width:550px;height:550px;position:absolute;top:-300px;right:-100px;box-shadow:0 0 0 45px #eee7d7,0 0 0 90px #f1ebdf}.login-card{background:#fff;border:1px solid #eeece6;border-radius:13px;width:100%;max-width:420px;padding:43px 42px;position:relative;box-shadow:0 18px 55px #39301a0b}.login-brand{text-align:center;margin-bottom:40px}.login-brand .brand-icon{width:52px;height:52px;margin:0 auto 13px}.login-brand h1{letter-spacing:2px;margin:0;font:600 22px Playfair Display,serif}.login-brand h1 span{color:#a98443}.login-brand p{letter-spacing:3px;color:#a39a87;margin:7px 0;font-size:9px}.login-heading h2{margin:0 0 7px;font:600 25px Playfair Display,serif}.login-heading p{color:var(--muted);margin:0 0 25px;font-size:11px}.login-form{flex-direction:column;gap:9px;display:flex}.login-form label{margin-top:7px;font-size:11px;font-weight:600}.input-wrap{color:#a39b8c;border:1px solid #e8e5de;border-radius:6px;align-items:center;gap:10px;height:45px;padding:0 12px;display:flex}.input-wrap:focus-within{border-color:#b18a45}.input-wrap input{color:#292722;background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:12px}.login-submit{width:100%;height:45px;margin-top:13px}.login-note{text-align:center;color:#a39b8c;margin:23px 0 0;font-size:9px}.form-error{color:#bb5145;margin:2px 0;font-size:11px}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-content{padding:27px 24px}.topbar{padding:0 24px}}@media (width<=760px){.sidebar{transition:transform .25s;transform:translate(-100%)}.sidebar-open{transform:translate(0)}.mobile-overlay{z-index:19;background:#0007;border:0;display:block;position:fixed;inset:0}.mobile-menu{display:grid}.mobile-close{color:#fff;margin-left:auto;display:grid}.main-area{margin-left:0}.topbar{height:62px;padding:0 17px}.page-content{padding:24px 16px}.footer{padding:15px 17px}.dashboard-grid{grid-template-columns:1fr}.page-heading{flex-direction:column;align-items:flex-start}.page-heading h1{font-size:27px}.topbar-right{gap:9px}.profile-info{display:none}}@media (width<=450px){.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:14px 12px}.stat-top{font-size:10px}.stat-icon{width:31px;height:31px}.stat-value{font-size:18px}.login-card{padding:35px 23px}.breadcrumb{font-size:9px}.primary-button{padding:11px 13px}}.workspace-page{width:100%}.workspace-toolbar{justify-content:space-between;align-items:center;gap:15px;margin:22px 0;display:flex}.search-box{color:#9a9589;background:#fff;border:1px solid #e9e6de;border-radius:7px;align-items:center;gap:10px;height:43px;padding:0 13px;display:flex}.search-box input{color:#292722;background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:11px}.workspace-toolbar .search-box{width:min(440px,100%)}.record-count{color:#89867e;white-space:nowrap;font-size:11px}.customer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.customer-card{background:#fff;border:1px solid #eeece6;border-radius:10px;padding:19px}.customer-card-top{align-items:center;gap:12px;margin-bottom:17px;display:flex}.customer-avatar{color:#98763e;background:#f1e7d5;border-radius:50%;flex-shrink:0;place-items:center;width:39px;height:39px;font-weight:700;display:grid}.customer-card-name strong,.customer-card-name span{display:block}.customer-card-name strong{font-size:13px}.customer-card-name span{color:#a29c90;margin-top:4px;font-size:9px}.customer-detail{color:#77746c;overflow-wrap:anywhere;align-items:center;gap:9px;margin-top:10px;font-size:10px;display:flex}.customer-detail svg{color:#b18a45;flex-shrink:0}.empty-state{color:#a39b8c;background:#fff;border:1px dashed #e4dfd3;border-radius:10px;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:9px;min-height:230px;display:flex}.empty-state strong{color:#5d594f;font-size:13px}.empty-state span{font-size:11px}.modal-backdrop{z-index:60;background:#17161180;place-items:center;padding:18px;display:grid;position:fixed;inset:0;overflow-y:auto}.modal-card{background:#fff;border-radius:12px;flex-direction:column;gap:10px;width:100%;max-width:460px;padding:25px;display:flex;box-shadow:0 20px 60px #0002}.modal-heading{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.modal-heading h2{margin:0;font:600 22px Playfair Display,serif}.modal-card>label{margin-top:4px;font-size:11px;font-weight:600}.modal-card>input{border:1px solid #e8e5de;border-radius:6px;outline:0;height:42px;padding:0 11px;font-size:12px}.modal-card>input:focus{border-color:#b18a45}.modal-actions{justify-content:flex-end;gap:9px;margin-top:12px;display:flex}.secondary-button{color:#655f53;background:#fff;border:1px solid #e5e0d5;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:39px;padding:0 14px;font-size:11px;display:inline-flex}.secondary-button:hover{background:#f8f6f1}.workspace-card{background:#fff;border:1px solid #eeece6;border-radius:10px;min-width:0;margin-bottom:16px;padding:21px}.section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;display:flex}.section-title>div{align-items:center;gap:10px;display:flex}.section-title h2{margin:0;font-size:14px}.section-title>div>svg{color:#a98443}.step-number{color:#98763e;background:#f3eddf;border-radius:7px;place-items:center;width:25px;height:25px;font-size:10px;font-weight:700;display:grid}.customer-picker{gap:9px;display:flex}.customer-select-search{flex:1;min-width:0}.add-inline{white-space:nowrap;height:43px}.customer-results{border:1px solid #eae6dd;border-radius:7px;max-height:190px;margin-top:8px;overflow:auto}.customer-results button{text-align:left;background:#fff;border:0;border-bottom:1px solid #f0eee8;justify-content:space-between;gap:10px;width:100%;padding:11px 13px;font-size:11px;display:flex}.customer-results button:hover{background:#faf8f3}.customer-results button span{color:#89867e}.customer-results p{color:#89867e;padding:12px;font-size:11px}.selected-customer{background:#f8f6f0;border:1px solid #eee8da;border-radius:8px;align-items:center;gap:11px;margin-top:12px;padding:11px;display:flex}.selected-customer>div:nth-child(2){flex:1;min-width:0}.selected-customer strong,.selected-customer span{display:block}.selected-customer strong{font-size:12px}.selected-customer span{color:#89867e;margin-top:4px;font-size:10px}.helper-text{color:#999387;margin:12px 0 0;font-size:10px;line-height:1.6}.bill-item-card{background:#fdfdfb;border:1px solid #eeeae1;border-radius:8px;margin-top:12px;padding:16px}.bill-item-heading{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.bill-item-heading>strong{color:#8d713e;font-size:11px}.remove-item{color:#b45e52;background:0 0;border:0;align-items:center;gap:5px;font-size:10px;display:flex}.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field.span-2{grid-column:span 2}.field label{color:#777267;font-size:10px;font-weight:600}.field input,.field select{color:#39362f;background:#fff;border:1px solid #e8e5de;border-radius:6px;outline:0;width:100%;min-width:0;height:38px;padding:0 9px;font-size:11px}.field input:focus,.field select:focus{border-color:#b18a45}.field input[readonly]{color:#817b6e;background:#f5f3ee}.item-total{color:#777267;border-top:1px solid #eeeae1;justify-content:space-between;align-items:center;margin-top:15px;padding-top:12px;font-size:11px;display:flex}.item-total strong{color:#9b783c;font-size:14px}.billing-layout{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:17px;display:grid}.billing-main{min-width:0}.billing-sidebar{position:sticky;top:18px}.bill-summary .section-title{margin-bottom:18px}.summary-row{color:#777267;border-bottom:1px solid #f1efe9;justify-content:space-between;gap:10px;padding:10px 0;font-size:11px;display:flex}.summary-row strong{color:#38352e;font-weight:600}.summary-grand{border-bottom:1px solid #eae5d9;justify-content:space-between;align-items:center;padding:15px 0;font-size:12px;display:flex}.summary-grand strong{color:#99753a;font-size:20px}.summary-row.paid{color:#568866;margin-top:5px}.summary-balance{color:#8b6d38;background:#f7f1e5;border-radius:7px;justify-content:space-between;align-items:center;margin-top:12px;padding:13px;font-size:11px;display:flex}.summary-balance strong{font-size:17px}.full-button{width:100%;margin-top:16px}.summary-footnote{color:#a09a8e;text-align:center;margin:11px 0 0;font-size:9px;line-height:1.5}.billing-message{color:#856c3f;background:#f5efdf;border:1px solid #eee3ca;border-radius:7px;margin-bottom:15px;padding:11px 14px;font-size:11px}.billing-heading-actions{gap:8px;display:flex}.saved-modal{max-width:390px}.saved-success{text-align:center;color:#668d6b;padding:7px 0 13px}.saved-success h2{color:#292722;margin:9px 0 4px;font:600 23px Playfair Display,serif}.saved-success p{color:#89867e;font-size:11px}.print-invoice{display:none}@media (width<=1100px){.customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-layout{grid-template-columns:minmax(0,1fr) 275px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.customer-grid,.billing-layout{grid-template-columns:1fr}.billing-sidebar{position:static}.billing-heading-actions{width:100%}.billing-heading-actions button{flex:1}.workspace-card{padding:16px}.workspace-toolbar{flex-direction:column;align-items:flex-start}.workspace-toolbar .search-box{width:100%}}@media (width<=430px){.form-grid,.form-grid.two-columns{grid-template-columns:1fr 1fr}.field.span-2{grid-column:span 2}.customer-picker{flex-direction:column}.add-inline{width:100%}.section-title{align-items:flex-start}.section-title>.secondary-button{padding:0 9px}}@media print{@page{size:A4;margin:14mm}body{color:#111!important;background:#fff!important}body *{visibility:hidden!important}.print-invoice,.print-invoice *{visibility:visible!important}.print-invoice{color:#111;width:100%;font:11px Arial,sans-serif;position:absolute;inset:0;display:block!important}.print-brand{text-align:center;border-bottom:2px solid #b18a45;margin-bottom:20px;padding-bottom:12px}.print-brand h1{letter-spacing:2px;margin:0 0 5px;font:700 24px Georgia,serif}.print-brand p{margin:0;font-size:11px}.print-meta{justify-content:space-between;margin-bottom:22px;line-height:1.8;display:flex}.print-invoice table{border-collapse:collapse;width:100%;min-width:0}.print-invoice th,.print-invoice td{color:#111;white-space:normal;border:1px solid #ddd;padding:8px;font-size:10px}.print-invoice th{background:#f4f0e7!important}.print-totals{text-align:right;width:260px;margin:20px 0 0 auto;line-height:2}.print-totals strong{border-top:1px solid #aaa;padding-top:5px;display:block}.print-thanks{text-align:center;border-top:1px solid #ddd;margin-top:45px;padding-top:12px}}html,body,#root{width:100%;max-width:100%;min-height:100%}html,body{overflow-x:hidden}.admin-shell{width:100%;min-height:100vh;overflow-x:clip}.main-area,.page-content{min-width:0;max-width:100%}.dashboard,.workspace-page{width:100%;min-width:0}.panel,.stat-card,.workspace-card,.customer-card{min-width:0;max-width:100%}.mobile-menu,.mobile-close,.mobile-overlay{display:none}@media (width<=1100px){.main-area{margin-left:250px}.page-content{padding-left:22px;padding-right:22px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}.billing-layout{grid-template-columns:minmax(0,1fr) 275px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){html,body,#root{width:100%;overflow-x:hidden}.admin-shell{width:100%;display:block;overflow-x:clip}.sidebar{z-index:100;width:min(285px,86vw);max-width:86vw;height:100dvh;transition:transform .25s;position:fixed;top:0;bottom:0;left:0;overflow:hidden auto;transform:translate(-105%);box-shadow:12px 0 35px #0002}.sidebar.sidebar-open{transform:translate(0)}.mobile-overlay{z-index:99;background:#0008;border:0;width:100%;height:100%;display:block;position:fixed;inset:0}.mobile-menu{color:#725a32;background:#f5f1e8;border:0;border-radius:7px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.mobile-close{background:0 0;border:0;place-items:center;width:34px;height:34px;display:grid}.main-area{width:100%;min-width:0;max-width:100%;margin-left:0!important}.topbar{z-index:30;gap:10px;width:100%;height:62px;padding:0 14px;position:sticky;top:0}.breadcrumb{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.topbar-right{flex-shrink:0;gap:8px}.profile-info{display:none}.page-content{width:100%;max-width:100%;padding:22px 14px;overflow-x:hidden}.footer{padding:14px;font-size:10px}.page-heading{flex-direction:column;align-items:stretch;gap:14px;display:flex}.page-heading h1{font-size:26px}.page-heading>a,.page-heading>button{align-self:flex-start}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:14px}.stat-value{overflow-wrap:anywhere;font-size:clamp(16px,4vw,22px)}.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:13px}.panel{width:100%;min-width:0;overflow:hidden}.bar-chart{max-width:100%;overflow:hidden}.billing-layout{grid-template-columns:minmax(0,1fr);gap:12px}.billing-main,.billing-sidebar{width:100%;min-width:0}.billing-sidebar{position:static}.workspace-card{width:100%;margin-bottom:13px;padding:15px}.customer-grid{grid-template-columns:minmax(0,1fr)}.workspace-toolbar{flex-direction:column;align-items:stretch}.workspace-toolbar .search-box{width:100%}.billing-heading-actions{width:100%;display:flex}.billing-heading-actions button{flex:1}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field{min-width:0}.field input,.field select{min-width:0;max-width:100%}.table-wrapper,.table-responsive{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto}table:not(.print-invoice table){min-width:580px}.customer-picker{flex-wrap:wrap}.customer-select-search{width:100%;min-width:0}.add-inline{width:100%}.modal-card{max-width:100%;max-height:calc(100dvh - 30px);padding:19px;overflow-y:auto}}@media (width<=480px){.topbar{padding:0 10px}.page-content{padding:18px 11px}.page-heading h1{font-size:24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-card{padding:11px}.stat-top{gap:5px;font-size:9px}.stat-icon{flex-shrink:0;width:29px;height:29px}.stat-value{font-size:16px}.stat-change{font-size:9px}.panel{padding:14px}.panel-heading h2{font-size:14px}.chart-summary strong{font-size:20px}.workspace-card{padding:13px}.section-title{flex-wrap:wrap;align-items:center}.section-title h2{font-size:13px}.form-grid,.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.field.span-2{grid-column:span 2}.field label{font-size:9px}.field input,.field select{height:37px;padding:0 7px;font-size:10px}.bill-item-card{padding:11px}.customer-picker{flex-direction:column}.add-inline{width:100%}.billing-heading-actions{gap:7px}.billing-heading-actions button{padding:0 9px;font-size:10px}.summary-grand strong{font-size:18px}.modal-backdrop{padding:10px}.modal-card{padding:17px}.modal-actions{flex-wrap:wrap}.modal-actions button{flex:1}.footer{text-align:center}}@media (width<=350px){.stats-grid,.form-grid,.form-grid.two-columns{grid-template-columns:minmax(0,1fr)}.field.span-2{grid-column:auto}.topbar-right .icon-button{display:none}}.payment-bill-list,.payment-history-list{flex-direction:column;gap:8px;margin-top:16px;display:flex}.payment-bill-row{text-align:left;width:100%;color:inherit;background:var(--surface,#fff);border:1px solid var(--border,#e9e4da);cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.payment-bill-row:hover,.payment-bill-row.selected{background:#b8955012;border-color:#b89550}.payment-bill-info,.payment-bill-amounts{flex-direction:column;gap:4px;display:flex}.payment-bill-info span,.payment-bill-info small,.payment-bill-amounts small,.payment-history-row span,.payment-history-row small{color:var(--muted,#777);font-size:12px}.payment-bill-amounts{text-align:right}.payment-bill-amounts strong{color:#9b7738}.payment-form{flex-direction:column;gap:14px;margin-top:20px;display:flex}.payment-history-card{margin-top:20px}.payment-history-row{border-bottom:1px solid var(--border,#e9e4da);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.payment-history-row>div{flex-direction:column;gap:4px;display:flex}.payment-receipt-status{white-space:nowrap;color:#66835c!important}@media (width<=600px){.payment-bill-row{flex-direction:column;align-items:flex-start}.payment-bill-amounts{text-align:left}}.ledger-customer-list{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.ledger-customer-option{text-align:left;min-width:190px;color:inherit;background:var(--surface,#fff);border:1px solid var(--border,#e9e4da);cursor:pointer;border-radius:10px;align-items:center;gap:10px;padding:10px 13px;display:flex}.ledger-customer-option small{color:var(--muted,#777);font-size:12px}.ledger-profile{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.ledger-profile h2{margin:5px 0}.ledger-stats{margin-bottom:20px}.ledger-table-wrap{width:100%;overflow-x:auto}.ledger-table{border-collapse:collapse;width:100%;min-width:650px}.ledger-table th,.ledger-table td{text-align:left;border-bottom:1px solid var(--border,#e9e4da);padding:13px 12px;font-size:13px}.ledger-table th{color:var(--muted,#777);font-weight:600}.ledger-table td small{color:var(--muted,#777);margin-top:4px;display:block}.ledger-table .amount-cell{text-align:right;white-space:nowrap}.ledger-table .credit-cell{color:#66835c}@media (width<=600px){.ledger-profile{flex-direction:column;align-items:flex-start}.ledger-customer-option{width:100%}}.ledger-customer-picker{margin-bottom:20px}.ledger-customer-list{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:9px;margin-top:15px;display:grid}.ledger-customer-option{border:1px solid var(--border,#e9e4da);background:var(--surface,#fff);color:inherit;text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:11px;padding:11px;display:flex}.ledger-customer-option.selected,.ledger-customer-option:hover{background:#b8955012;border-color:#b89550}.ledger-customer-option>span:last-child{flex-direction:column;gap:4px;display:flex}.ledger-customer-option small,.ledger-description{color:var(--muted,#777);margin-top:4px;font-size:12px;display:block}.ledger-statement-heading{justify-content:space-between;align-items:center;gap:15px;margin:24px 0 18px;display:flex}.ledger-statement-heading h2{margin:4px 0}.ledger-statement-heading p:last-child{color:var(--muted,#777);font-size:13px}.ledger-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ledger-table-card{margin-top:20px}.ledger-table td,.ledger-table th{white-space:nowrap}.ledger-empty{text-align:center;padding:45px 20px}.ledger-empty h2{margin:12px 0 6px}@media (width<=850px){.ledger-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=550px){.ledger-statement-heading{flex-direction:column;align-items:flex-start}.ledger-stat-grid,.ledger-customer-list{grid-template-columns:1fr}}@media print{.no-print,.ledger-customer-picker,.page-heading,.admin-sidebar,.admin-topbar,.sidebar,.topbar,.footer,.customer-tabs-bar,.customer-history-picker{display:none!important}.print-only{display:block!important}body{color:#000!important;background:#fff!important}.admin-shell,.main-area,.page-content,.workspace-page{background:#fff!important;margin:0!important;padding:0!important}.ledger-table-card{break-inside:avoid}}.print-only{display:none}.customer-profile-hero{background:linear-gradient(135deg,#d4af370d 0%,#0f172a99 100%);border-left:4px solid #d4af37;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.25rem;padding:1.25rem 1.5rem;display:flex}.customer-hero-left{align-items:center;gap:1.25rem;display:flex}.customer-avatar-large{color:#0f172a;background:linear-gradient(135deg,#d4af37 0%,#996515 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:54px;height:54px;font-size:1.5rem;font-weight:800;display:flex;box-shadow:0 4px 12px #d4af3740}.customer-hero-meta{flex-direction:column;gap:.35rem;display:flex}.customer-badge-id{color:#cbd5e1;letter-spacing:.05em;background:#ffffff14;border-radius:4px;padding:.2rem .5rem;font-family:monospace;font-size:.75rem}.status-badge{border-radius:20px;padding:.2rem .6rem;font-size:.75rem;font-weight:600}.status-badge.due{color:#f87171;background:#ef444426;border:1px solid #ef44444d}.status-badge.settled{color:#34d399;background:#10b98126;border:1px solid #10b9814d}.status-badge.advance-held{color:#22d3ee;background:#06b6d426;border:1px solid #06b6d44d}.customer-hero-sub{color:#94a3b8;flex-wrap:wrap;gap:.5rem;font-size:.8125rem;display:flex}.customer-hero-actions{flex-wrap:wrap;gap:.625rem;display:flex}.customer-360-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;display:grid}.customer-tabs-bar{border-bottom:1px solid #ffffff14;gap:.5rem;padding-bottom:.5rem;display:flex;overflow-x:auto}.customer-tab-btn{color:#94a3b8;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:.5rem;padding:.625rem 1.125rem;font-size:.875rem;font-weight:600;transition:all .2s;display:flex}.customer-tab-btn:hover{color:#f8fafc;background:#ffffff0a}.customer-tab-btn.active{color:#d4af37;background:#d4af371a;border-color:#d4af374d}.timeline-filter-toolbar{border-bottom:1px solid #ffffff0f;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;padding-bottom:1rem;display:flex}.timeline-filter-pills{flex-wrap:wrap;gap:.375rem;display:flex}.timeline-pill{color:#94a3b8;cursor:pointer;background:#ffffff05;border:1px solid #ffffff14;border-radius:20px;padding:.35rem .75rem;font-size:.8125rem;font-weight:500;transition:all .15s}.timeline-pill:hover{color:#f8fafc;border-color:#fff3}.timeline-pill.active{color:#0f172a;background:#d4af37;border-color:#d4af37;font-weight:600}.timeline-date-filter{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.date-input-group{color:#94a3b8;align-items:center;gap:.35rem;font-size:.8125rem;display:flex}.date-input-group input{color:#f8fafc;background:#0f172acc;border:1px solid #ffffff1f;border-radius:6px;padding:.35rem .6rem;font-size:.8125rem}.customer-timeline{flex-direction:column;gap:.875rem;display:flex;position:relative}.customer-timeline:before{content:"";background:#ffffff14;width:2px;position:absolute;top:15px;bottom:15px;left:20px}.timeline-item-card{cursor:pointer;background:#1e293b66;border:1px solid #ffffff0f;border-radius:10px;gap:1rem;margin-left:.5rem;padding:1rem 1.25rem 1rem .75rem;transition:all .2s;display:flex;position:relative}.timeline-item-card:hover{background:#1e293bcc;border-color:#d4af374d;transform:translate(4px);box-shadow:0 4px 16px #00000040}.timeline-item-icon{z-index:2;border:1px solid;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex;box-shadow:0 2px 8px #0000004d}.timeline-item-body{flex:1;min-width:0}.timeline-item-top{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.timeline-badge{text-transform:uppercase;letter-spacing:.05em;border:1px solid;border-radius:12px;padding:.15rem .5rem;font-size:.7rem;font-weight:700}.timeline-ref{color:#cbd5e1;background:#ffffff0f;border-radius:4px;padding:.15rem .4rem;font-family:monospace;font-size:.75rem}.timeline-method{color:#94a3b8;background:#ffffff0a;border-radius:4px;padding:.15rem .4rem;font-size:.75rem}.timeline-item-title{color:#f8fafc;margin:.35rem 0 0;font-size:.95rem;font-weight:600}.timeline-item-amount{color:#f8fafc;font-size:1.1rem;font-weight:700}.timeline-item-amount.payment-amt{color:#34d399}.timeline-item-amount.refund-amt{color:#f43f5e}.timeline-item-time{color:#64748b;margin-top:.2rem;font-size:.75rem}.timeline-item-desc{color:#94a3b8;margin:.4rem 0 0;font-size:.8125rem;line-height:1.4}.timeline-items-preview{color:#cbd5e1;background:#ffffff08;border-radius:6px;margin-top:.5rem;padding:.4rem .6rem;font-size:.8125rem}.timeline-item-footer{align-items:center;margin-top:.6rem;display:flex}.view-details-prompt{color:#d4af37;align-items:center;gap:.25rem;font-size:.75rem;font-weight:500;display:flex}.detail-meta-grid{background:#00000040;border:1px solid #ffffff0f;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem;padding:.875rem;display:grid}.detail-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.2rem;font-size:.75rem;display:block}.jewellery-items-table{border-collapse:collapse;width:100%}.jewellery-items-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;border-bottom:1px solid #ffffff1a;padding:.5rem .6rem;font-size:.75rem}.jewellery-items-table td{border-bottom:1px solid #ffffff0a;padding:.55rem .6rem;font-size:.8125rem}.bill-card-expanded-header{border-bottom:1px solid #ffffff14;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;padding-bottom:.75rem;display:flex}.bill-card-summary-row{border-top:1px solid #ffffff0f;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-top:1rem;padding-top:.75rem;display:flex}.bill-card-financials-mini{flex-direction:column;gap:.25rem;min-width:220px;font-size:.8125rem;display:flex}.bill-card-financials-mini div{justify-content:space-between;gap:1rem;display:flex}.ledger-type-badge{text-transform:uppercase;border-radius:4px;padding:.15rem .45rem;font-size:.7rem;font-weight:700}.ledger-type-badge.bill{color:#d4af37;background:#d4af3726}.ledger-type-badge.payment{color:#34d399;background:#10b98126}.ledger-type-badge.refund{color:#f43f5e;background:#f43f5e26}.ledger-type-badge.advance_received,.ledger-type-badge.advance_applied{color:#22d3ee;background:#06b6d426}.ledger-type-badge.bill_cancelled{color:#94a3b8;background:#94a3b826}
