*{box-sizing:border-box}body{margin:0;background:#f6f7f9;color:#1c2028;font-family:Segoe UI,Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid #e2e4e9;background:white;border-radius:9px;padding:10px 14px;color:inherit;transition:background-color .12s,border-color .12s}button:hover{background:#f1f2f5;border-color:#c6c9d0}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}.primary{background:#d91d32;color:white;border-color:#d91d32}.primary:hover{background:#b71226;color:white}.danger{color:#ce2133}.muted{color:#777e8c}.small{font-size:12px}.eyebrow{letter-spacing:1.8px;text-transform:uppercase;color:#969aa4;font-size:10px;font-weight:700}.layout{display:grid;grid-template-columns:236px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid #e5e7ec;padding:25px 16px;display:flex;flex-direction:column;position:fixed;width:236px;top:0;bottom:0;overflow:auto}.brand{background:white;padding:0 10px 24px}.brand img{width:184px;height:auto}.branch-box{border:1px solid #ececf0;background:#fafafa;border-radius:12px;padding:13px;margin-bottom:24px}.branch-box select{width:100%;border:0;padding:5px 0;background:transparent;font-weight:700}.sidebar nav{display:grid;gap:4px;margin-top:10px}.nav{border:0;text-align:left;padding:11px 13px;color:#697181;background:transparent;display:flex;gap:12px;align-items:center}.nav.active{background:#fff0f2;color:#c8182b;font-weight:650}.nav .symbol{font-size:19px;width:22px;text-align:center}.sidebar-footer{margin-top:auto;padding-top:24px}.status{display:inline-flex;align-items:center;gap:7px;color:#188954;font-size:12px}.dot{height:6px;width:6px;border-radius:50%;background:currentColor}.main{grid-column:2;min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid #e7e9ee;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar .account{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;background:#fff0f2;display:grid;place-items:center;color:#c3182b;font-weight:700}.content{padding:30px 32px 60px;max-width:1700px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.page-head h1{margin:0 0 7px;font-size:25px;letter-spacing:-.7px}.page-head p{margin:0;color:#818793}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.card{background:#fff;border:1px solid #e4e7ed;border-radius:13px;padding:22px;margin-bottom:20px;box-shadow:0 2px 4px #171b2303}.card h2{font-size:16px;margin:0 0 18px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat{background:white;border:1px solid #e4e7ed;border-radius:13px;padding:20px}.stat strong{display:block;font-size:25px;letter-spacing:-.6px;margin:12px 0 7px}.stat .icon{float:right;border-radius:9px;background:#fff0f2;color:#d91d32;padding:9px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.toolbar input{flex:1;min-width:180px}.toolbar select{max-width:220px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.65px;color:#8b919c;font-weight:600;background:#fafbfc;padding:13px 12px;border-bottom:1px solid #e6e8ed}td{padding:15px 12px;border-bottom:1px solid #eef0f4;font-size:13px}tbody tr:last-child td{border-bottom:0}td.name{white-space:normal;min-width:230px;max-width:400px}.product-name{display:flex;align-items:center;gap:12px}.thumb{width:42px;height:46px;border-radius:7px;object-fit:contain;background:#f4f5f7;flex-shrink:0}.placeholder{display:grid;place-items:center;color:#9298a4;font-size:20px}.tag{display:inline-block;padding:4px 8px;background:#edf8f1;color:#28834f;border-radius:6px;font-size:11px}.tag.red{color:#c5253c;background:#fff0f2}.tag.amber{color:#a67313;background:#fff6e0}.tag.gray{color:#737b88;background:#f0f2f5}.row-btn{padding:6px 9px;font-size:12px}.empty{padding:54px 20px;text-align:center;color:#9399a6}.empty b{display:block;color:#515866;margin-bottom:8px;font-size:16px}.split{display:grid;grid-template-columns:1fr 360px;gap:20px;align-items:start}.pos-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-card{border:1px solid #e5e7ed;background:white;border-radius:12px;padding:16px;display:flex;flex-direction:column}.product-card .photo{height:125px;background:#f7f7fa;border-radius:8px;display:grid;place-items:center;color:#c1c4cc;font-size:36px;overflow:hidden;margin-bottom:13px}.photo img{width:100%;height:100%;object-fit:contain}.product-card h3{font-size:14px;line-height:1.5;margin:0 0 6px;min-height:42px}.product-card strong{display:block;margin:9px 0;color:#cd1830;font-size:18px}.product-card button{margin-top:auto}.cart{position:sticky;top:20px}.cart-line{padding:14px 0;border-bottom:1px solid #edeef2}.cart-line .line-head{display:flex;justify-content:space-between;gap:8px;font-weight:600}.cart-line .quantity{display:flex;align-items:center;gap:9px;margin-top:10px}.quantity button{padding:3px 10px}.quantity .price{margin-left:auto}.cart-total{font-size:25px;font-weight:700;display:flex;justify-content:space-between;padding:20px 0}.payments{display:grid;grid-template-columns:1fr 1fr;gap:8px}.payments button{font-size:12px}.payments button.selected{border-color:#d91d32;background:#fff0f2;color:#c2182c}.wide{width:100%;margin-top:15px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.field label{font-size:12px;color:#666e7d;font-weight:600}input,select,textarea{border:1px solid #dfe3eb;background:white;border-radius:8px;padding:10px 12px;min-width:0;color:#303642}input:focus,select:focus,textarea:focus{border-color:#d91d32;outline:2px solid #fce4e8}textarea{min-height:75px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .full{grid-column:1/-1}.check{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:13px}.check input{accent-color:#d91d32}.section-title{grid-column:1/-1;border-top:1px solid #eee;padding-top:19px;font-size:14px;margin:10px 0 18px}dialog{border:0;border-radius:16px;width:min(740px,94vw);padding:0;box-shadow:0 25px 100px #17223455;max-height:90vh}dialog::backdrop{background:#11182777;}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:22px 25px;border-bottom:1px solid #eee;position:sticky;top:0;background:white;z-index:2}.modal-head h2{margin:0;font-size:19px}.modal-body{padding:24px 25px}.modal-foot{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}.notice{background:#fff7f0;border:1px solid #ffe5cb;border-radius:10px;padding:13px 16px;color:#9b6d32;font-size:12px;line-height:1.6;margin-bottom:18px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(at 10% 20%,#fff0f2,transparent 50%),#f7f8fa}.login-card{width:410px;max-width:100%;background:white;border:1px solid #e4e6ec;border-radius:20px;padding:35px}.login-card img{width:220px;display:block;margin:0 auto 30px}.login-card h1{font-size:22px}.login-card p{color:#858b97;line-height:1.6;margin-bottom:25px}#toast{position:fixed;bottom:26px;right:26px;border-radius:10px;background:#242a35;color:white;padding:14px 21px;box-shadow:0 8px 30px #0002;z-index:10;display:none;max-width:450px}.report-bars{display:grid;gap:16px}.bar-row{display:grid;grid-template-columns:110px 1fr 100px;gap:15px;align-items:center;font-size:12px}.bar-bg{height:8px;background:#f2f3f6;border-radius:5px;overflow:hidden}.bar{height:100%;background:#d91d32;border-radius:5px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mobile-menu{display:none}.footer-note{font-size:11px;color:#979daa;margin-top:20px;line-height:1.7}.pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:18px;font-size:12px;color:#888f9d}body.dark{background:#15181f;color:#e8eaf0;color-scheme:dark}body.dark .sidebar,body.dark .topbar,body.dark .card,body.dark .stat,body.dark .product-card,body.dark dialog,body.dark .modal-head,body.dark .login-card{background:#20252e;border-color:#363e4b}body.dark button,body.dark input,body.dark select,body.dark textarea{background:#282f3a;color:#e8eaf0;border-color:#424b5a}body.dark .primary{background:#d91d32;color:white;border-color:#d91d32}body.dark .nav{background:transparent}body.dark .nav.active,body.dark .payments button.selected{background:#48252e;color:#ffabb6}body.dark .branch-box,body.dark th,body.dark .photo,body.dark .thumb,body.dark .bar-bg{background:#282f3a}body.dark td,body.dark th,body.dark .modal-head,body.dark .cart-line{border-color:#363e4b}body.dark .brand{border-radius:8px}body.dark .muted,body.dark .small.muted,body.dark .field label{color:#abb4c3}.product-card{content-visibility:auto;contain-intrinsic-size:auto 320px}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(min-width:1600px){.pos-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.layout{grid-template-columns:195px 1fr}.sidebar{width:195px}.brand img{width:150px}.content{padding:24px 20px}.topbar{padding:0 20px}.split{grid-template-columns:1fr 310px}.pos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:1fr 1fr}}@media(max-width:760px){.layout{display:block}.sidebar{display:none;width:236px;z-index:5;box-shadow:10px 0 30px #0002}.sidebar.open{display:flex}.mobile-menu{display:inline-block}.content{padding:20px 14px}.topbar{padding:0 14px}.topbar .account .small{display:none}.split,.two-col{grid-template-columns:1fr}.cart{position:static}.page-head{align-items:flex-start}.page-head h1{font-size:22px}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:22px}.form-grid{grid-template-columns:1fr}.card{padding:17px}.pos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{padding:12px}.product-card .photo{height:100px}}

.pos-cash-opening{display:flex;align-items:center;justify-content:space-between;gap:18px;border-left:4px solid #d91d32}.pos-cash-opening h2{margin:7px 0 8px}.pos-cash-opening .tag{margin-left:8px;vertical-align:middle}@media(max-width:760px){.pos-cash-opening{align-items:flex-start;flex-direction:column}}

.discount-summary{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e4e7ed;color:#c8182b}body.dark .discount-summary{color:#ffabb6;border-color:#363e4b}

.discount-summary[hidden]{display:none}

body.dark .brand{background:transparent}body.dark .brand img{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}

.permission-group{border:1px solid #e4e7ed;border-radius:10px;margin:0 0 16px;padding:12px 16px}.permission-group legend .check{margin:0;padding:0 6px}.permission-options{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}.permission-options .check{margin:7px 0}body.dark .permission-group{border-color:#424b5a}@media(max-width:600px){.permission-options{grid-template-columns:1fr}}

.coding-credit{margin-top:12px;font-size:11px;color:#737b88}body.dark .coding-credit{color:#abb4c3}

body.dark .login-card img{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}

.login-wrap{position:relative;isolation:isolate;overflow:hidden;background:#050914}
.login-space{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 15% 25%,#24355888,transparent 48%),radial-gradient(ellipse at 85% 75%,#49223d66,transparent 48%),#050914}
.space-stars{position:absolute;inset:0;background-image:radial-gradient(1px 1px at 18px 24px,#fff 99%,transparent),radial-gradient(1px 1px at 92px 113px,#c5d8ff 99%,transparent),radial-gradient(2px 2px at 174px 67px,#dce8ff 70%,transparent),radial-gradient(1px 1px at 235px 183px,#fff 99%,transparent);background-size:277px 229px;opacity:.65}
.shooting-star{position:absolute;left:15%;top:-10%;width:140px;height:2px;background:linear-gradient(90deg,transparent,#b9d4ff,#fff);border-radius:50%;opacity:0;transform:rotate(35deg);animation:shooting-star-flight 9s linear infinite}
.shooting-star:nth-of-type(2){left:55%;top:-20%;width:100px;animation-delay:3s;animation-duration:11s}
.shooting-star:nth-of-type(3){left:-10%;top:25%;width:170px;animation-delay:6s;animation-duration:13s}
@keyframes shooting-star-flight{0%,65%{opacity:0;transform:translate3d(0,0,0) rotate(35deg)}68%{opacity:.85}82%{opacity:0;transform:translate3d(75vw,65vh,0) rotate(35deg)}100%{opacity:0;transform:translate3d(75vw,65vh,0) rotate(35deg)}}
.login-card{position:relative;z-index:1;box-shadow:0 20px 65px #0006}
body.dark .login-wrap{background:#050914}
@media(prefers-reduced-motion:reduce){.shooting-star{animation:none}}
.login-wrap:has(.login-card):not(:hover) .shooting-star{will-change:auto}

.login-card h1{font-size:25px;font-weight:700;line-height:1.35}.login-card p{font-size:14px;color:#4d5666;line-height:1.65}.login-card .field label{font-size:13px;color:#414b5c;font-weight:650}.login-card input{font-size:15px}.login-card .footer-note{font-size:12px;color:#566174;line-height:1.8}.login-card .coding-credit{font-size:12px;color:#414b5c;font-weight:600}.login-card button.primary{font-size:15px;font-weight:600}body.dark .login-card p,body.dark .login-card .footer-note{color:#c5cedb}body.dark .login-card .field label,body.dark .login-card .coding-credit{color:#e0e6ee}

body.motion-paused .shooting-star{animation-play-state:paused}body.dark .notice{background:#352c23;border-color:#695038;color:#f0ca97}body.dark .empty b{color:#dce3ee}body.dark .page-head p,body.dark .footer-note{color:#acb6c7}

.cart{position:sticky;top:16px;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;padding:0}.cart-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 22px 8px;scrollbar-gutter:stable}.cart-checkout{flex-shrink:0;padding:12px 22px 16px;border-top:1px solid #e4e7ed;background:#fff}.cart-checkout .wide{margin-top:0}.cart-checkout .footer-note{margin-top:8px;font-size:10px;line-height:1.4}body.dark .cart-checkout{background:#20252e;border-color:#363e4b}@media(max-width:760px){.cart{position:relative;top:auto;max-height:min(760px,calc(100dvh - 24px))}.cart-scroll{padding:17px 17px 8px}.cart-checkout{padding:12px 17px 14px}}

.cod-attention{border-left:4px solid #d99820;background:#fffbf1}.cod-attention h2{margin-bottom:0}.cod-attention>p{line-height:1.6}body.dark .cod-attention{background:#2b2820;border-color:#6b532b;border-left-color:#e5aa39}

#screensaver{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:30px;background:#080d17;color:#d9e1ed;box-shadow:none;overflow:hidden}#screensaver::backdrop{background:#080d17}#screensaver[open]{display:grid;place-items:center}.screensaver-logo{text-align:center;width:min(520px,75vw);animation:saver-drift 24s ease-in-out infinite alternate}.screensaver-logo img{display:block;width:100%;height:auto;filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}.screensaver-logo p{margin-top:32px;font-size:13px;line-height:1.6;color:#c2cddd}@keyframes saver-drift{from{transform:translate3d(-4vw,-4vh,0)}to{transform:translate3d(4vw,4vh,0)}}body.motion-paused .screensaver-logo{animation-play-state:paused}@media(prefers-reduced-motion:reduce){.screensaver-logo{animation:none}}

.screensaver-logo{background:#080d17}.screensaver-logo img{background:transparent;mix-blend-mode:screen}

.size-options{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.size-option{min-width:48px;padding:8px 10px;font-weight:700;border:1px solid var(--border,#526072);border-radius:7px}.size-option small{display:block;font-weight:400;font-size:11px;margin-top:4px}.size-option.selected{outline:2px solid #e71939;outline-offset:2px}.size-option:hover{border-color:#e71939}
.integration-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.task-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-day{min-height:95px;border:1px solid var(--border,#526072);border-radius:8px;padding:8px;overflow-wrap:anywhere}.calendar-day .row-btn{display:block;width:100%;white-space:normal;margin-top:5px;text-align:left}.calendar-today{border-color:#e71939;background:rgba(231,25,57,.08)}.quote-line{border:1px solid var(--border,#526072);padding:14px;border-radius:10px;margin-bottom:12px}@media(max-width:600px){.task-calendar{gap:3px}.calendar-day{padding:4px;font-size:11px}.calendar-day .row-btn{padding:3px;font-size:10px}} 
.dashboard-overview{margin-bottom:26px;animation:overview-enter .4s ease-out}.overview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid #e1e4ea;border-radius:22px;padding:12px 18px;margin-bottom:16px;box-shadow:0 2px 5px #00000008}.overview-greeting b{color:#d91d32}.overview-greeting>span{display:block;margin-top:4px}.overview-filters{display:flex;align-items:center;gap:8px}.overview-filters select,.overview-currency{border:1px solid #e1e4ea;background:transparent;border-radius:12px;padding:8px 12px;font-size:12px}.overview-panel{background:linear-gradient(130deg,#fff7f8,#fafcfc 65%,#f5f8f7);border:1px solid #e1e4ea;border-radius:24px;padding:28px 24px 20px;box-shadow:0 3px 10px #00000006}.overview-main{display:grid;grid-template-columns:minmax(220px,1fr) minmax(255px,1.3fr) minmax(195px,1fr);gap:30px;align-items:center}.sales-deck{position:relative;min-height:245px;width:245px;max-width:100%;margin:12px auto 18px;animation:deck-float 7s ease-in-out infinite}.deck-layer,.deck-face{position:absolute;inset:0;border-radius:20px}.layer-two{background:#20372c;transform:translate(12px,16px) rotate(5deg);box-shadow:0 15px 18px #17251d28}.layer-one{background:#38252a;transform:translate(7px,8px) rotate(-1deg)}.deck-face{background:linear-gradient(135deg,#444955,#171a22 70%);transform:rotate(-6deg);padding:25px 20px 20px;color:white;box-shadow:0 15px 24px #14172230;display:flex;flex-direction:column;align-items:center;justify-content:center}.deck-title{text-align:center;letter-spacing:2px;font-size:12px;font-weight:800;line-height:1.6}.deck-face>strong{font-size:27px;letter-spacing:-.7px;margin:20px 0 4px;overflow-wrap:anywhere;max-width:100%}.deck-period{font-size:10px;color:#d0d2d9;margin-bottom:14px}.deck-row{display:flex;justify-content:space-between;gap:8px;width:100%;font-size:10px;margin:5px 0}.deck-row>span{color:#c1c5cf;font-size:8px;letter-spacing:.5px}.deck-accent{height:2px;width:60%;background:linear-gradient(90deg,transparent,#ee4961,transparent);margin-top:13px}.six-month-summary{background:#ffffffb0;border:1px solid #e5e7ec;border-radius:16px;padding:16px;box-shadow:0 3px 7px #00000008}.six-month-summary h3{font-size:13px;margin:0 0 8px}.summary-item{display:flex;gap:11px;align-items:center;padding:10px 0;border-bottom:1px solid #eceef1}.summary-icon{flex-shrink:0;display:grid;place-items:center;width:28px;height:28px;border:1px solid #d2e4d5;border-radius:8px;background:#edf5ee;color:#347749}.summary-item>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;width:100%}.summary-item div>span{font-size:9px;color:#737c8c;letter-spacing:.5px}.summary-item strong{font-size:13px;margin-left:auto}.summary-item small{width:100%;text-align:right;color:#858b98;font-size:10px}.positive{color:#26814c}.negative{color:#cc3b51}.mini-month-bars{height:45px;display:flex;gap:12px;margin:14px 2px 0}.mini-month-bars>div{display:flex;flex:1;flex-direction:column;justify-content:flex-end;align-items:center}.mini-month-bars i{height:var(--bar-height);max-height:28px;min-height:2px;width:65%;background:#d91d32;border-radius:3px 3px 0 0;transform-origin:bottom;animation:month-grow .6s ease-out}.mini-month-bars span{font-size:9px;color:#828a98;margin-top:4px}.overview-shortcuts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.overview-shortcut{min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#fafafb;border:1px solid #e1e4ea;border-radius:16px;transition:transform .18s,border-color .18s,background .18s}.overview-shortcut:hover{transform:translateY(-4px);border-color:#de7786;background:#fff4f6}.overview-shortcut>span:last-child{font-size:10px;font-weight:700;color:#717989;letter-spacing:.5px}.shortcut-icon{display:grid;place-items:center;border:1px solid #e4e7eb;border-radius:50%;background:#fff;width:36px;height:36px;color:#d91d32;font-size:19px}.overview-year{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}.overview-year>div{border:1px solid #e1e4ea;border-radius:14px;padding:14px;background:#ffffff85}.overview-year span{display:block;font-size:9px;letter-spacing:.7px;color:#737b8b;margin-bottom:7px}.overview-year strong{font-size:16px}.dark .overview-toolbar,.dark .six-month-summary{background:#202630;border-color:#39414e}.dark .overview-panel{background:linear-gradient(130deg,#27212c,#1e2730 70%);border-color:#39414e}.dark .overview-year>div,.dark .overview-shortcut{background:#252d38;border-color:#3b4350}.dark .overview-filters select,.dark .overview-currency{border-color:#414957}.dark .summary-item{border-color:#343e4b}.dark .summary-item div>span,.dark .overview-year span,.dark .overview-shortcut>span:last-child{color:#b8c0cf}.dark .shortcut-icon{background:#202630;border-color:#434d5c;color:#ff6d84}.dark .overview-shortcut:hover{background:#35303b}.motion-paused .sales-deck{animation-play-state:paused}@keyframes deck-float{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-7px) rotate(1.2deg)}}@keyframes month-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes overview-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1100px){.overview-main{grid-template-columns:1fr 1.2fr;gap:20px}.overview-shortcuts{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}.overview-shortcut{min-height:80px}}@media(max-width:650px){.overview-toolbar{align-items:flex-start;flex-direction:column}.overview-filters{flex-wrap:wrap}.overview-panel{padding:20px 14px}.overview-main{grid-template-columns:1fr}.overview-shortcuts{grid-template-columns:repeat(2,1fr)}.overview-year{grid-template-columns:1fr}.sales-deck{margin-bottom:22px}}@media(prefers-reduced-motion:reduce){.dashboard-overview,.sales-deck,.mini-month-bars i{animation:none}.overview-shortcut{transition:none}}

.dark .overview-greeting b{color:#ff8497}.dark .summary-item .positive{color:#79d9a6}.dark .summary-item .negative{color:#ff8ca0}
/* Clickable financial card stack; motion runs only on interaction. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sales-deck.interactive-deck{display:block;padding:0;border:0;background:transparent!important;animation:none;height:245px;min-height:245px;cursor:pointer;isolation:isolate;touch-action:manipulation;color:#fff;overflow:visible}
.interactive-deck:focus-visible{outline:3px solid #df2942;outline-offset:18px;border-radius:20px}
.interactive-deck .deck-card{transform-origin:50% 92%;pointer-events:none;border:1px solid #ffffff18;transition:transform 720ms cubic-bezier(.2,.75,.25,1),opacity 720ms ease;box-shadow:0 18px 25px #08140d4d;will-change:transform;backface-visibility:hidden}
.interactive-deck .deck-card[data-depth="0"]{z-index:10;opacity:1;transform:rotate(-7deg)}
.interactive-deck .deck-card[data-depth="1"]{z-index:9;opacity:.94;transform:translate(6px,7px) scale(.948) rotate(4deg)}
.interactive-deck .deck-card[data-depth="2"]{z-index:8;opacity:.94;transform:translate(14px,16px) scale(.896) rotate(5.2deg)}
.interactive-deck .deck-card[data-depth="3"]{z-index:7;opacity:.94;transform:translate(22px,25px) scale(.844) rotate(6.4deg)}
.interactive-deck .deck-retail{background:radial-gradient(ellipse at 20% 0%,#53615b88,transparent 65%),linear-gradient(145deg,#333b40,#121a1c)}
.interactive-deck .deck-collection{background:radial-gradient(ellipse at 20% 0%,#4c825888,transparent 65%),linear-gradient(145deg,#254b34,#0f2019)}
.interactive-deck .deck-expense{background:radial-gradient(ellipse at 20% 0%,#80505888,transparent 65%),linear-gradient(145deg,#46303a,#20171d)}
.interactive-deck .deck-turnover{background:radial-gradient(ellipse at 20% 0%,#4b725588,transparent 65%),linear-gradient(145deg,#2b4432,#0b1b14)}
.interactive-deck .deck-title{max-width:185px;text-wrap:balance}.interactive-deck .deck-card>strong{font-size:27px;line-height:1.15;margin:20px 0 8px;white-space:nowrap;overflow-wrap:normal}.interactive-deck .deck-period{font-size:10px;text-align:center;color:#e1e7e1}
.interactive-deck .deck-row>span{color:#c0d6c8}.interactive-deck .deck-row>b{font-size:10px;color:#fff}.interactive-deck .deck-accent{background:linear-gradient(90deg,transparent,#4dab70,transparent)}
.rolling-money{display:inline-flex;align-items:center;font-variant-numeric:tabular-nums;letter-spacing:0}.digit-window{display:inline-block;height:1.15em;width:.64em;overflow:hidden;vertical-align:bottom}.digit-strip{display:flex;flex-direction:column;transform:translateY(calc(var(--digit)*-1.15em))}.digit-strip>span{height:1.15em;line-height:1.15em;flex-shrink:0;text-align:center}
#deck-summary h3>.small{display:block;margin-top:4px;font-weight:400}
@media(prefers-reduced-motion:reduce){.interactive-deck .deck-card{transition:none;will-change:auto}}

/* Keep card surfaces opaque and always restore their normal stack position. */
.interactive-deck .deck-card[data-depth]{opacity:1}
.interactive-deck .deck-card.deck-leaving{transition:none;animation:deck-send-back 680ms cubic-bezier(.2,.75,.25,1)}
@keyframes deck-send-back{
 0%{transform:rotate(-7deg);z-index:20}
 44%{transform:translate(-110px,-24px) rotate(-27deg) scale(1.025);z-index:20}
 55%{transform:translate(-110px,-24px) rotate(-27deg) scale(1.025);z-index:6}
 100%{transform:translate(22px,25px) scale(.844) rotate(6.4deg);z-index:6}
}
@media(prefers-reduced-motion:reduce){.interactive-deck .deck-card.deck-leaving{animation:none}}

.sale-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #dfe3eb}.sale-detail-actions button{min-height:40px;padding:10px 16px;border-radius:9px}.sale-detail-actions [data-action=sale-record-delete]{margin-left:auto;color:#d91d32;border-color:#d91d32}.sale-dispatch-panel{margin-top:20px;padding:16px;border:1px solid #dfe3eb;border-radius:12px}.sale-dispatch-panel h3{margin:0 0 8px;font-size:14px}.sale-dispatch-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sale-dispatch-options button{width:100%;min-height:46px;padding:11px 14px;border-radius:9px;white-space:normal;line-height:1.4}.sale-dispatch-options button:disabled{opacity:.65}body.dark .sale-dispatch-panel,body.dark .sale-detail-actions{border-color:#363e4b}body.dark .sale-detail-actions [data-action=sale-record-delete]{color:#ff9eac;border-color:#a54659}@media(max-width:540px){.sale-dispatch-options{grid-template-columns:1fr}.sale-detail-actions [data-action=sale-record-delete]{margin-left:0}}

.cart-price-editor{margin:10px 0 4px}.cart-price-editor label{display:block;font-size:11px;color:#858b97;margin-bottom:6px}.cart-price-editor>div{display:flex;gap:7px}.cart-price-editor input{width:100%;min-width:0;height:38px}.cart-price-editor button{flex:0 0 38px;padding:4px}.cart-price-editor small{display:block;margin-top:5px;font-size:10px}body.dark .cart-price-editor label{color:#abb4c3}
