@import "https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap";
:root{--purple:#692ad2;--purple-dark:#5920bc;--purple-light:#eee7fc;--ink:#141324;--muted:#65617f;--border:#e2def2;--bg:#f6f4fc;--sidebar:#252139;--green:#10a64a}*{box-sizing:border-box}body{color:var(--ink);background:var(--bg);margin:0;font-family:Hind Siliguri,Inter,Arial,sans-serif;font-size:15px}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #aa85ed}input,select,textarea{min-width:0;color:var(--ink);background:#fff;border:1px solid #d6d0e7;border-radius:8px;outline:none;padding:10px 12px}input:focus,select:focus{border-color:#9762df;box-shadow:0 0 0 3px #7834d712}input::placeholder{color:#87809c}h1,h2,h3,h4,p{margin:0}h1{font-size:26px;font-weight:700;line-height:1.35}h2{font-size:21px;font-weight:600;line-height:1.4}h3{font-size:19px}h4{font-size:15px}svg{stroke-width:1.8px;flex-shrink:0}p{line-height:1.6}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;display:flex}.sidebar{z-index:30;color:#f5f3ff;background:radial-gradient(at 0 0,#322b4a 0,#252139 58%,#1e1b31 100%);flex-direction:column;width:260px;padding:24px 14px;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid #ffffff14;align-items:center;gap:13px;margin-bottom:14px;padding:0 12px 24px;display:flex}.brand>svg{width:46px;height:46px}.brand strong{letter-spacing:-.5px;font-family:Inter,sans-serif;font-size:21px;line-height:1.3;display:block}.brand span{color:#d1ccdf;font-size:16px}.sidebar nav{flex-direction:column;gap:7px;display:flex}.sidebar nav button,.logout{text-align:left;white-space:nowrap;border-radius:10px;align-items:center;gap:17px;width:100%;padding:13px 15px;font-size:18px;transition:background .15s;display:flex}.sidebar nav button>svg,.logout>svg{width:25px;height:25px}.sidebar nav button:hover{background:#ffffff09}.sidebar nav button.active{background:linear-gradient(115deg,#7546c7,#6b3dc0);box-shadow:inset 0 1px #ffffff20}.sidebar nav .nav-chevron{width:17px;margin-left:auto}.logout{border-top:1px solid #ffffff14;border-radius:0;margin-top:20px;padding-top:24px}.workspace{flex-direction:column;width:calc(100% - 260px);min-width:0;margin-left:260px;display:flex}.topbar{border-bottom:1px solid var(--border);z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffc9;align-items:center;gap:16px;height:76px;padding:0 26px;display:flex;position:sticky;top:0}.topbar>strong{letter-spacing:-.8px;font-family:Inter,sans-serif;font-size:25px}.icon-btn{border-radius:7px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.icon-btn:hover{background:var(--purple-light)}.menu-toggle{border-right:1px solid var(--border);border-radius:0;width:42px;padding-right:16px}.badge{background:var(--purple-light);color:var(--purple-dark);white-space:nowrap;border-radius:7px;align-items:center;gap:5px;padding:5px 10px;font-weight:600;display:inline-flex}.top-spacer{flex:1}.notification{margin-right:10px;position:relative}.notification i{background:#ed4d49;border:1px solid #fff;border-radius:50%;width:9px;height:9px;position:absolute;top:2px;right:5px}.profile{border-left:1px solid var(--border);text-align:left;align-items:center;gap:12px;padding-left:16px;display:flex}.profile b{font-family:Inter,sans-serif;font-size:15px}.profile small{color:var(--muted);font-family:Inter,sans-serif;font-size:13px;display:block}.profile>svg{margin-left:15px}.avatar{color:var(--purple);background:#e9e0fb;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-weight:600;display:inline-flex}.avatar svg{width:25px;height:25px}.main-content{flex:1;padding:20px 24px 28px}.panel{border:1px solid var(--border);background:#ffffffb8;border-radius:16px;padding:20px;box-shadow:0 3px 15px #35215a03}.welcome{color:#fff;background:#292239;border-radius:16px;height:134px;margin-bottom:16px;position:relative;overflow:hidden}.welcome:before{content:"";opacity:.8;background-image:url(/dashboard-reference.webp);background-position:95% 12.23%;background-size:125.37% 672.14%;position:absolute;inset:0}.welcome>div{z-index:1;background:linear-gradient(90deg,#292239 0% 35%,#292239aa 55%,#0000 80%);height:100%;padding:25px 34px;position:relative}.welcome h1{margin-bottom:6px;font-size:32px}.welcome p{font-size:19px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.stat{align-items:center;gap:16px;min-height:118px;padding:20px 16px;display:flex}.stat-icon{color:#7842cc;background:#efe7fd;border-radius:16px;justify-content:center;align-items:center;width:64px;height:64px;display:flex}.stat-icon svg{width:35px;height:35px}.stat-icon.green{color:#05ae4d;background:#daf5e5}.stat-icon.blue{color:#096bc4;background:#dbedff}.stat-icon.red{color:#d93030;background:#fdd}.stat-icon.orange{color:#ec6519;background:#ffe7d8}.stat h4{white-space:nowrap;margin-bottom:3px;font-size:16px}.stat strong{white-space:nowrap;font-family:Hind Siliguri,sans-serif;font-size:28px;font-weight:700;line-height:1.2}.dashboard-grid{grid-template-columns:minmax(0,3fr) minmax(245px,1fr);gap:16px;display:grid}.quick-section{background:#ffffff80;border-radius:14px;padding:8px 10px 13px}.quick-section h2{margin:0 0 15px}.quick-actions{grid-template-columns:repeat(6,1fr);gap:9px;display:grid}.quick-actions button{border:1px solid var(--border);background:#ffffff70;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;min-height:115px;padding:12px 3px;line-height:1.35;display:flex}.quick-actions svg{color:#7746ce;width:33px;height:33px;margin-bottom:8px}.quick-actions b{white-space:nowrap;font-size:16px}.quick-actions span{color:var(--muted);font-size:14px}.quick-actions .first{color:#fff;background:linear-gradient(135deg,#9360d8,#6c3dc4)}.quick-actions .first svg,.quick-actions .first span{color:#fff}.dashboard-bottom{grid-template-columns:1fr 1.15fr;gap:14px;margin-top:15px;display:grid}.dashboard-bottom .panel{padding:17px}.dashboard-bottom h2{font-size:20px}.section-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;display:flex}.text-btn{color:var(--purple);white-space:nowrap;align-items:center;gap:5px;padding:2px;font-weight:500;display:inline-flex}.section-title .text-btn{font-size:13px}.bestseller h2{align-items:center;gap:8px;font-size:20px;display:flex}.gold{color:#edb13f}.top-book{border-bottom:1px solid #eeebf5;align-items:center;gap:12px;padding:16px 0;display:flex}.top-book:last-child{border:0}.top-book>div:not(.cover){flex:1;min-width:0}.top-book b{font-size:18px}.top-book p{color:var(--muted);font-size:14px}.top-book .badge{padding:5px 8px;font-size:14px}.cover{object-fit:cover;border-radius:3px;flex-shrink:0;width:80px;height:112px;box-shadow:1px 3px 6px #17102424}.cover.small{width:42px;height:58px}.cover.sprite{background-image:url(/dashboard-reference.webp);background-repeat:no-repeat;background-size:1672px 941px;width:56px;height:77px}.product-card .cover.sprite{zoom:1.6}.table-product .cover.sprite,.cart-item .cover.sprite{zoom:.55}.top-book .cover.sprite{zoom:.85}.drawn{color:#fff5dc;text-align:center;border-left:4px solid #0002;flex-direction:column;justify-content:space-around;align-items:center;padding:8px 6px;display:flex}.drawn>span{letter-spacing:1px;font:5px Inter}.drawn>b{font-size:15px;line-height:1.4}.drawn small{font-size:7px}.drawn.small{padding:3px}.drawn.small>b{font-size:7px}.drawn.small>span,.drawn.small small{font-size:3px}.drawn.small svg{width:12px}.bar-chart{gap:12px;height:220px;padding:30px 2px 25px;display:flex}.y-axis{color:var(--muted);white-space:nowrap;flex-direction:column;justify-content:space-between;padding-bottom:0;font-size:12px;display:flex}.bars{border-left:1px solid var(--border);border-bottom:1px solid var(--border);background:repeating-linear-gradient(0deg,#0000 0 calc(25% - 1px),#e9e5f3 calc(25% - 1px) 25%);flex:1;justify-content:space-around;align-items:flex-end;gap:10px;height:100%;padding:0 8px;display:flex}.bar-column{flex-direction:column;flex:1;justify-content:flex-end;max-width:42px;height:100%;display:flex;position:relative}.bar{background:linear-gradient(#bea6ec,#ad8de2);border-radius:3px 3px 0 0;min-height:2px;position:relative}.bar.last{background:linear-gradient(#7e49c9,#6130b1)}.bar span{white-space:nowrap;background:var(--sidebar);color:#fff;border-radius:4px;padding:3px 8px;font-size:12px;display:none;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.bar:hover span{display:block}.bar-column label{text-align:center;width:100%;color:var(--muted);font-size:12px;position:absolute;top:calc(100% + 6px)}table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}th{color:#211c32;white-space:nowrap;background:#f3f0f9;font-weight:600}td,th{border-bottom:1px solid #eeebf6;padding:14px 10px}td{white-space:nowrap}tr.selected{background:#f0e7fe}.clickable{cursor:pointer}.clickable:hover{background:#f5f0fd}.table-scroll{overflow-x:auto}.dashboard-bottom td,.dashboard-bottom th{padding:11px 6px;font-size:13px}.empty{text-align:center;color:#9087a3;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:160px;padding:45px 20px;display:flex}.empty p{max-width:350px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin:2px 0 22px;display:flex}.page-heading>div{align-items:center;gap:15px;display:flex}.heading-icon{width:34px;height:34px;color:var(--purple)}.page-heading p{color:var(--muted);margin-top:3px;font-size:16px}.primary,.secondary{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:9px;padding:10px 18px;font-weight:500;display:inline-flex}.primary{color:#fff;background:linear-gradient(110deg,#7835d5,#5e23c4);border:1px solid #743bd2;box-shadow:0 3px 8px #6b2ac414}.secondary{color:#442476;background:#fdfcff;border:1px solid #d8cfee}.primary:hover{filter:brightness(1.08)}.full{width:100%}.filter-row{align-items:center;gap:14px;margin-bottom:18px;display:flex}.filter-row select{background:#fbfaff;min-width:135px}.search{color:#504375;background:#fff;border:1px solid #d8d1ec;border-radius:9px;flex:1;align-items:center;gap:9px;min-width:120px;padding-left:12px;display:flex}.search input{width:100%;box-shadow:none;background:0 0;border:0;flex:1;padding:11px 10px 11px 0}.tabs{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.tabs button{border:1px solid var(--border);background:#fff;border-radius:8px;padding:9px 22px;font-weight:500}.tabs button.active{color:#fff;border-color:var(--purple);background:linear-gradient(110deg,#7d39d8,#6021c4)}.pos-layout{grid-template-columns:minmax(0,1fr) 340px;gap:20px;display:grid}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.product-card{border:1px solid var(--border);background:#fff;border-radius:12px;flex-direction:column;align-items:center;gap:5px;min-height:240px;padding:18px 10px 12px;transition:box-shadow .15s;display:flex}.product-card:hover{box-shadow:0 6px 20px #592eaa12}.product-card .cover{margin-bottom:8px}.product-card>b{text-align:center;font-size:16px;line-height:1.4}.product-card>strong{font-size:19px}.product-card>small{color:var(--muted)}.product-card>svg{color:var(--purple)}.catalog{grid-template-columns:repeat(5,minmax(0,1fr))}.catalog .product-card{min-height:275px}.catalog .cover{width:95px;height:134px}.row-actions{align-items:center;gap:10px;display:flex}.row-actions button{color:#4c277b;background:#f0ebfc;border-radius:7px;justify-content:center;align-items:center;width:29px;height:29px;display:flex}.row-actions button.danger{color:#f04f63;background:#fff0f3}.product-card .row-actions{justify-content:space-between;width:85%;margin-top:8px}.danger{color:#ee4f65!important}.cart{height:fit-content;padding:18px;position:sticky;top:96px}.cart h2{font-size:17px}.cart-items{min-height:120px;max-height:330px;overflow-y:auto}.cart-item{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:12px 0;display:flex}.cart-item>div:not(.cover){flex:1}.cart-item b{font-size:13px}.quantity{align-items:center;gap:10px;margin-top:5px;display:flex}.quantity button{background:var(--purple-light);border-radius:4px;padding:4px;display:flex}.cart-fields{flex-direction:column;gap:8px;margin-top:15px;display:flex}.cart-fields input,.cart-fields select{width:100%;padding:7px 9px;font-size:13px}.cart-fields label{align-items:center;gap:15px;display:flex}.totals{border-top:1px solid var(--border);margin-top:15px;padding-top:12px}.totals p{justify-content:space-between;align-items:center;margin-bottom:8px;font-size:14px;display:flex}.totals .grand{border-top:1px solid var(--border);padding-top:10px;font-size:20px;font-weight:600}.grand b{color:var(--purple)}.discount-label{justify-content:space-between;align-items:center;font-size:13px;display:flex}.discount-label input{width:85px;margin:3px 0 10px;padding:4px 8px}.table-product{align-items:center;gap:12px;display:flex}.green-text{color:#09a348;font-weight:600}.warning-text{color:#e48613;font-weight:600}.pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:9px;padding-top:22px;font-size:14px;display:flex}.pagination>span:first-child{margin-right:auto}.pagination button,.pagination b{border:1px solid var(--border);border-radius:6px;justify-content:center;align-items:center;width:30px;height:32px;display:flex}.pagination b{background:var(--purple);color:#fff}.sales-layout{grid-template-columns:minmax(0,1fr) 290px;gap:18px;display:grid}.sales-layout.no-detail{grid-template-columns:1fr}.sales-layout .stat{gap:10px;min-height:100px;padding:15px 10px}.sales-layout .stat-icon{border-radius:12px;width:43px;height:49px}.sales-layout .stat-icon svg{width:27px;height:27px}.sales-layout .stat strong{font-size:22px}.sales-layout .stat h4{font-size:12px}.sales-layout td,.sales-layout th{padding:13px 8px;font-size:12px}.customer{align-items:center;gap:8px;display:flex}.customer .avatar{width:30px;height:30px;font-size:13px}.customer small{color:var(--muted);display:block}.status{color:#0b9b46;white-space:nowrap;background:#dff7e9;border-radius:20px;align-items:center;gap:3px;padding:4px 9px;font-size:12px;display:inline-flex}.pink{color:#cf2684;background:#fde8f5}.order-detail{height:fit-content;padding:17px}.order-detail h2{font-size:21px}.order-detail h3{justify-content:space-between;align-items:center;font-size:18px;display:flex}.order-detail p{color:var(--muted);margin-top:5px;font-size:13px}.order-detail h4{align-items:center;gap:8px;margin:10px 0;display:flex}.order-detail hr{border:0;border-top:1px solid var(--border);margin:15px 0}.detail-item{align-items:center;gap:12px;padding:12px 0;font-size:12px;display:flex}.detail-item>span{flex:1}.detail-item small,.detail-item b{white-space:nowrap}.receipt-layout{grid-template-columns:1fr 1.05fr;gap:20px;max-width:1100px;display:grid}.receipt-preview{padding:20px}.paper{color:#16131f;background:#fff;max-width:500px;margin:auto;padding:15px 8px}.receipt-brand{justify-content:space-between;align-items:center;display:flex}.receipt-brand>div{min-height:55px;padding-left:60px;position:relative}.receipt-brand .fs-monogram{width:46px;height:55px;font-size:50px;line-height:.9;position:absolute;top:0;left:0}.receipt-brand .fs-monogram>span{font-size:46px;top:10px;left:17px}.receipt-brand h2{font-family:Inter,sans-serif;font-size:22px;font-weight:700}.paper>p{text-align:center;font-size:11px}.paper h3{text-align:center;margin:14px 0 8px}.receipt-meta{justify-content:space-between;gap:15px;margin:8px 0;font-size:10px;display:flex}.paper table{font-size:12px}.paper td,.paper th{white-space:normal;padding:8px 4px}.paper td:last-child,.paper th:last-child{text-align:right;white-space:nowrap}.paper .totals p{font-size:12px}.paper .totals .grand{font-size:17px}.paper .grand b{color:inherit}.paper .receipt-note{border-top:1px dashed #aaa;margin-top:16px;padding-top:10px}.receipt-buttons{gap:10px;margin-top:20px;display:flex}.receipt-buttons button{flex:1;padding:9px;font-size:13px}.date-range{justify-content:flex-end;align-items:center;gap:15px;margin-bottom:18px;display:flex}.date-range label{align-items:center;gap:8px;font-size:13px;display:flex}.date-range input{padding:8px 10px}.report-grid{grid-template-columns:1.3fr 1fr;gap:18px;display:grid}.report-grid .bar-chart{height:300px}.report-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:18px 0;display:flex}.settings-layout{grid-template-columns:240px 1fr;gap:25px;max-width:1000px;display:grid}.settings-tabs{flex-direction:column;gap:8px;display:flex}.settings-tabs button{text-align:left;border-radius:7px;align-items:center;gap:12px;padding:12px 15px;display:flex}.settings-tabs button.active{color:#fff;background:var(--purple)}.settings-form{padding:25px}.settings-form h2{margin-bottom:20px}.form-row{grid-template-columns:140px 1fr;align-items:center;gap:15px;margin:12px 0;display:grid}.form-row input{padding:8px 10px}.settings-logo{border:1px solid var(--border);background:#fff;border-radius:10px;flex-direction:column;align-items:center;gap:8px;width:180px;margin:25px auto;padding:16px;display:flex}.settings-logo>svg{width:45px;height:45px}.settings-logo>img{object-fit:contain;max-width:100px;max-height:100px}.save-settings{margin-left:auto;display:flex}.password-layout{grid-template-columns:1fr 1.1fr;gap:22px;max-width:940px;display:grid}.security-art{text-align:center;background:linear-gradient(130deg,#f0ebfb,#e9e0fa);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.security-art>div{color:#8a4ae5;width:160px;height:170px;margin-bottom:20px;position:relative}.security-art>div>svg:first-child{fill:#9c63ef22;stroke-width:1.6px;filter:drop-shadow(4px 10px #bda1ed33);width:135px;height:135px}.security-art>div>svg:last-child{fill:#9c63ef;stroke:#fff;filter:drop-shadow(0 6px 5px #6e35b822);width:80px;height:80px;position:absolute;bottom:10px;right:0}.security-art p{color:var(--muted);margin-top:5px;font-size:14px}.password-form{flex-direction:column;gap:15px;display:flex}.password-form label{font-weight:500}.password-form input{width:100%;margin-top:6px;display:block}.password-form i{color:#f04040}.password-form p{align-items:center;gap:7px;font-size:14px;display:flex}.user-panel{text-align:center;flex-direction:column;align-items:center;gap:16px;max-width:600px;padding:40px;display:flex}.avatar.large{width:70px;height:70px}.avatar.large svg{width:45px;height:45px}.user-panel p{color:var(--muted)}.app-footer{color:#a39aae;justify-content:space-between;padding:10px 24px 16px;font-size:12px;display:flex}.demo-banner{color:#6132a1;background:#f0e8ff;justify-content:space-between;gap:10px;padding:7px 24px;font-size:12px;display:flex}.demo-banner button{font-weight:600;text-decoration:underline}.toast{z-index:100;color:#fff;background:#282238;border-radius:12px;align-items:center;gap:18px;max-width:90vw;padding:14px 20px;font-size:15px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 7px 25px #0003}.toast button{color:#ddd;display:flex}.modal-backdrop{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#18122577;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:#fcfaff;border-radius:16px;width:620px;max-width:100%;max-height:92vh;overflow:auto;box-shadow:0 25px 80px #1f103e44}.modal>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-form{flex-direction:column;gap:18px;padding:24px;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.modal-form label{flex-direction:column;gap:6px;font-size:14px;font-weight:500;display:flex}.modal-form input,.modal-form select{width:100%}.muted{color:var(--muted);font-size:13px}.purchase-line{border-top:1px solid var(--border);align-items:center;gap:10px;padding-top:13px;display:flex}.purchase-line>b{flex:1}.purchase-line label{width:95px;font-size:11px}.purchase-line input{padding:7px}.loading-screen{height:100vh;color:var(--purple);flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.loading-strip{color:var(--purple);align-items:center;gap:7px;margin-bottom:12px;font-size:12px;display:flex}.login-page{background:radial-gradient(at 65%,#fff 10%,#f0f2f5 70%);grid-template-columns:48% 52%;align-items:center;gap:0;min-height:100vh;padding:7vh 5vw 7vh 0;font-family:Inter,Hind Siliguri,sans-serif;display:grid}.login-visual{background-image:url(/login-reference.webp);background-position:0;background-repeat:no-repeat;background-size:auto 100%;position:absolute;inset:0 52% 0 0}.login-card{text-align:center;background:#ffffffed;border:1px solid #d5d8de;border-radius:30px;grid-column:2;width:100%;max-width:700px;padding:35px 45px 24px;position:relative;box-shadow:0 10px 20px #1522331a}.login-logo{color:#123721;margin-bottom:22px}.fs-monogram{color:#0e2517;text-align:left;width:105px;height:115px;font-family:Georgia,serif;font-size:107px;font-weight:500;line-height:.9;display:inline-block;position:relative}.fs-monogram>span{color:#125227;font-size:100px;position:absolute;top:21px;left:35px}.fs-monogram:after{content:"";border-top:5px solid #168b16;border-radius:50%;width:90%;height:25%;position:absolute;top:50%;left:0;transform:rotate(-15deg)}.login-logo h1{letter-spacing:-1px;font-family:Inter,sans-serif;font-size:37px;font-weight:700}.login-logo p{letter-spacing:4px;color:#141b16;font-size:16px;font-weight:600}.login-card h2{letter-spacing:-.5px;color:#141414;font-size:27px;font-weight:600}.login-subtitle{color:#62666c;margin-top:10px;margin-bottom:32px;font-size:17px}.login-input{color:#6d7579;border:1px solid #c9cdd3;border-radius:10px;align-items:center;gap:17px;margin:18px 0;padding:3px 18px;display:flex}.login-input>svg{width:25px;height:25px}.login-input input{box-shadow:none;background:0 0;border:0;width:100%;padding:15px 0;font-size:17px}.login-input button{color:#626c70;padding:3px;display:flex}.login-options{color:#4c5357;justify-content:space-between;align-items:center;gap:8px;margin:19px 0 27px;font-size:13px;display:flex}.login-options>span{align-items:center;gap:7px;display:flex}.login-options svg{color:#08652b}.login-options button{color:#076124;white-space:nowrap}.login-submit{color:#fff;background:linear-gradient(110deg,#0b6b30,#075e29);border-radius:9px;justify-content:center;align-items:center;gap:15px;width:100%;padding:16px;font-size:24px;font-weight:500;display:flex}.secure-note{color:#626b70;border-top:1px solid #d7dadf;justify-content:center;align-items:center;gap:10px;margin-top:28px;padding-top:20px;font-size:14px;display:flex}.demo-link{color:#6c7175;margin-top:16px;font-size:12px;text-decoration:underline}@media (min-width:1550px){.sidebar{width:300px;padding:28px 15px}.workspace{width:calc(100% - 300px);margin-left:300px}.sidebar nav button{padding:15px 17px;font-size:20px}.brand strong{font-size:24px}.brand span{font-size:19px}.brand>svg{width:50px;height:50px}.main-content{padding:20px}.stat{min-height:130px}.topbar{height:79px}.welcome{height:140px}.welcome h1{font-size:36px}.quick-actions button{min-height:128px}.quick-actions b{font-size:18px}.quick-actions span{font-size:16px}.dashboard-bottom .panel{padding:20px}.bar-chart{height:245px}.dashboard-bottom td,.dashboard-bottom th{padding:12px 7px;font-size:15px}.top-book{padding:18px 0}.top-book .cover.sprite{zoom:1}.top-book b{font-size:20px}.dashboard-grid{grid-template-columns:minmax(0,3fr) minmax(300px,1fr)}.sales-layout{grid-template-columns:minmax(0,1fr) 340px}.sales-layout td,.sales-layout th{font-size:14px}.pos-layout{grid-template-columns:minmax(0,1fr) 390px}.product-card{min-height:260px}}@media (max-width:1250px){.sidebar{width:220px;padding:20px 10px}.workspace{width:calc(100% - 220px);margin-left:220px}.brand{gap:9px;padding-left:8px}.brand strong{font-size:18px}.brand>svg{width:35px}.sidebar nav button{gap:12px;padding:12px 10px;font-size:16px}.main-content{padding:18px}.stat{gap:10px;padding:16px 12px}.stat-icon{border-radius:12px;width:48px;height:52px}.stat-icon svg{width:28px;height:28px}.stat strong{font-size:23px}.stat h4{font-size:13px}.dashboard-grid{grid-template-columns:1fr}.bestseller{display:none}.pos-layout{grid-template-columns:minmax(0,1fr) 300px}.pos-products{grid-template-columns:repeat(3,1fr)}.catalog{grid-template-columns:repeat(4,1fr)}.sales-layout{grid-template-columns:1fr}.order-detail{max-width:none}.topbar>strong{font-size:22px}.login-card{padding:25px}.login-logo h1{font-size:30px}.login-card h2{font-size:24px}.login-subtitle{font-size:14px}}@media (max-width:950px){.sidebar{width:250px;transition:transform .2s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-scrim{z-index:29;background:#110a2466;position:fixed;inset:0}.workspace{width:100%;margin-left:0}.topbar{height:66px;padding:0 18px}.stats{gap:10px}.page-heading h1{font-size:24px}.login-page{grid-template-columns:42% 58%;padding-right:3vw}.login-visual{background-position:20%;right:58%}.login-card{padding:25px 22px}.login-options{font-size:11px}.settings-layout{grid-template-columns:200px 1fr}}@media (max-width:640px){body{font-size:14px}.main-content{padding:14px 12px 22px}.topbar{gap:10px;height:61px;padding:0 12px}.topbar>strong{letter-spacing:-.5px;font-size:17px}.topbar>.badge{display:none}.profile{gap:7px;padding-left:8px}.profile>span:not(.avatar),.profile>svg{display:none}.profile .avatar{width:32px;height:32px}.notification{margin:0}.menu-toggle{width:29px;padding-right:7px}.welcome{border-radius:12px;height:125px;margin-bottom:12px}.welcome>div{background:linear-gradient(90deg,#292239 0% 50%,#29223955 100%);padding:24px 18px}.welcome h1{font-size:25px}.welcome p{max-width:260px;font-size:14px}.stats{grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:13px}.stat{border-radius:12px;gap:10px;min-height:92px;padding:14px 11px}.stat strong{font-size:23px}.stat h4{font-size:12px}.stat-icon{border-radius:11px;width:42px;height:45px}.stat-icon svg{width:26px;height:26px}.dashboard-bottom{grid-template-columns:1fr}.quick-section{padding:5px 0 10px}.quick-section h2{margin-bottom:12px;font-size:19px}.quick-actions{grid-template-columns:repeat(3,1fr);gap:8px}.quick-actions button{min-height:104px}.quick-actions b{font-size:15px}.quick-actions span{font-size:13px}.quick-actions svg{width:29px;height:29px}.bestseller{display:block}.bestseller h2{font-size:19px}.top-book{padding:12px 0}.panel{border-radius:12px;padding:15px}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:18px}.page-heading>div{gap:9px}.page-heading h1{font-size:23px}.page-heading p{font-size:13px}.heading-icon{width:28px;height:28px}.primary,.secondary{padding:9px 13px;font-size:14px}.page-heading>.primary,.page-heading>.secondary{margin-left:37px}.pos-layout{grid-template-columns:1fr;gap:15px}.pos-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.product-card{border-radius:9px;gap:4px;min-height:208px;padding:13px 7px 10px}.product-card .cover{width:64px;height:91px}.product-card .cover.sprite{zoom:1.15}.product-card>b{font-size:13px}.product-card>strong{font-size:17px}.product-card>small{font-size:11px}.cart{position:static}.cart-items{max-height:270px}.catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog .product-card{min-height:247px}.catalog .cover{width:85px;height:120px}.catalog .cover.sprite{zoom:1.5}.tabs{gap:6px;margin:14px 0}.tabs button{padding:7px 12px;font-size:12px}.filter-row{flex-wrap:wrap;gap:8px;margin-bottom:12px}.filter-row .search{flex-basis:calc(100% - 70px)}.filter-row select{flex:1;min-width:100px;padding:8px;font-size:12px}.search input{font-size:13px}.table-scroll{margin-left:-5px;margin-right:-5px}td,th{padding:12px 8px;font-size:12px}.table-product{gap:6px}.pagination{gap:7px;font-size:12px}.pagination>span:nth-child(2){display:none}.sales-layout .stats{gap:9px}.sales-layout .stat h4{font-size:12px}.receipt-layout{grid-template-columns:1fr}.receipt-layout>section:first-child{max-height:320px;overflow:auto}.receipt-buttons{gap:7px}.receipt-buttons button{padding:9px 6px;font-size:12px}.receipt-brand h2{font-size:20px}.report-grid{grid-template-columns:1fr}.date-range{flex-wrap:wrap;justify-content:flex-start;gap:8px}.date-range label{gap:5px;font-size:11px}.date-range input{width:130px;padding:7px;font-size:12px}.date-range>svg{display:none}.settings-layout{grid-template-columns:1fr;gap:16px}.settings-tabs{grid-template-columns:1fr 1fr;gap:5px;display:grid}.settings-tabs button{gap:7px;padding:9px;font-size:13px}.settings-form{padding:18px}.form-row{grid-template-columns:1fr;gap:4px;margin:14px 0}.password-layout{grid-template-columns:1fr;gap:14px}.security-art{padding:20px}.security-art>div{width:95px;height:100px;margin-bottom:5px}.security-art>div>svg:first-child{width:80px;height:80px}.security-art>div>svg:last-child{width:48px;height:48px}.app-footer{padding:8px 12px 15px;font-size:10px}.demo-banner{padding:6px 12px;font-size:10px}.toast{width:max-content;max-width:92vw;padding:13px 16px;font-size:13px;bottom:15px}.modal-backdrop{padding:10px}.modal>header,.modal-form{padding:16px}.form-grid{gap:12px}.modal-form label{font-size:12px}.modal-form input{padding:9px}.purchase-line{flex-wrap:wrap;gap:6px}.purchase-line>b{flex-basis:100%}.purchase-line label{flex:1}.login-page{background:linear-gradient(145deg,#e9eee8,#f7f8f7 45%,#eef0f4);min-height:100svh;padding:24px 15px;display:flex}.login-visual{display:none}.login-card{border-radius:22px;max-width:450px;margin:auto;padding:30px 23px 23px}.login-logo{margin-bottom:26px}.login-logo .fs-monogram{width:87px;height:95px;font-size:85px}.login-logo .fs-monogram>span{font-size:80px;top:18px;left:30px}.login-logo h1{font-size:30px}.login-logo p{font-size:12px}.login-card h2{font-size:23px}.login-subtitle{margin:9px 0 25px;font-size:12px}.login-input{gap:12px;margin:15px 0;padding:2px 13px}.login-input input{padding:13px 0;font-size:15px}.login-options{gap:6px;margin:20px 0;font-size:10px}.login-options svg{width:15px}.login-submit{padding:13px;font-size:21px}.secure-note{margin-top:24px;font-size:11px}.demo-link{margin-top:20px;font-size:12px}}@media print{@page{size:A5 portrait;margin:10mm}body{background:#fff!important}.sidebar,.topbar,.page-heading,.demo-banner,.app-footer,.receipt-layout>section:first-child,.receipt-buttons,.toast{display:none!important}.workspace{width:100%!important;margin:0!important}.main-content{padding:0!important}.receipt-layout{max-width:none!important;display:block!important}.receipt-preview{box-shadow:none!important;border:0!important;padding:0!important}.paper{color:#000!important;max-width:none!important;padding:0!important}.paper .grand b{color:#000!important}.paper table{font-size:11pt}.receipt-brand h2{font-size:20pt}.receipt-meta{font-size:9pt}.paper .totals p{font-size:11pt}.paper>p{font-size:9pt}.paper table tr,.paper .receipt-brand,.paper .totals{break-inside:avoid}.loading-strip{display:none!important}}.line-chart{width:100%;height:auto;min-height:200px;margin-top:20px}.paper .fs-monogram,.paper .fs-monogram>span{color:#171717}.paper .fs-monogram:after{border-color:#171717}.sidebar{scrollbar-width:thin;overflow-y:auto}.loading-strip{position:sticky;top:76px}.memo-paper{color:#161616;background:#fff;border:1px solid #e5e5e5;padding:0 10px 16px;font-family:Hind Siliguri,sans-serif;position:relative;overflow:hidden}.memo-bismillah{color:#fff;text-align:center;background:#111;padding:7px;font-size:13px;font-weight:700}.memo-heading{align-items:center;gap:12px;padding:14px 5px 8px;display:flex}.memo-symbol{color:#a31217;text-align:center;flex-direction:column;align-items:center;gap:8px;min-width:81px;font:700 9px Inter,sans-serif;display:flex}.memo-symbol .fs-monogram{color:#063b22;width:62px;height:56px;font:700 46px/1 Georgia,serif;display:block;position:relative}.memo-symbol .fs-monogram span{color:#176b35;font-size:41px;position:absolute;top:13px;left:25px}.memo-title{text-align:center;flex:1;min-width:0}.memo-title h2{color:#c61120;font-family:Hind Siliguri,sans-serif;font-size:clamp(23px,4vw,36px);font-weight:700;line-height:1.2}.memo-title b{font-size:12px}.memo-paper .memo-owner{text-align:right;margin:0 8px 7px;font-size:13px}.memo-rule{background:#cd111d;height:3px;margin:0 0 9px}.memo-paper .memo-banner{color:#fff;text-align:center;background:#d00e1e;border-radius:30px;margin:0 15px 12px;padding:6px 3px;font-size:21px;font-weight:700}.memo-data{flex-wrap:wrap;justify-content:space-between;gap:6px 15px;margin:0 5px 8px;font-size:12px;display:flex}.memo-paper .memo-customer{text-align:left;margin:4px 6px;font-size:13px}.memo-items{border-collapse:collapse;table-layout:fixed;width:100%;margin-top:12px;font-size:12px}.memo-items th{color:#fff;vertical-align:middle;background:#111;font-weight:700}.memo-paper .memo-items td,.memo-paper .memo-items th{text-align:center;white-space:normal;border:1px solid #222;padding:6px 3px}.memo-paper .memo-items th:first-child{width:10%}.memo-paper .memo-items th:nth-child(2){width:39%}.memo-paper .memo-items th:nth-child(3){width:15%}.memo-paper .memo-items th:nth-child(4){width:17%}.memo-paper .memo-items th:nth-child(5){width:19%}.memo-paper .memo-items td:nth-child(2){text-align:left;overflow-wrap:anywhere}.memo-paper .memo-items tbody td{height:30px}.memo-totals{max-width:220px;margin:10px 0 0 auto}.memo-totals div{border-bottom:1px solid #333;border-left:1px solid #333;border-right:1px solid #333;grid-template-columns:1fr 1fr;align-items:center;min-height:30px;font-size:15px;display:grid}.memo-totals div:first-child{border-top:1px solid #333}.memo-totals span{border-right:1px solid #333;padding:4px 9px;font-weight:700}.memo-totals b{text-align:right;white-space:nowrap;padding:4px 7px;font-weight:600}.memo-totals .memo-red{color:#fff;background:#d00e1e}.memo-paper .memo-payment{text-align:right;margin:8px 0;font-size:12px}.memo-signatures{justify-content:space-between;gap:30px;margin:49px 10px 19px;display:flex}.memo-signatures span{text-align:center;border-top:1px solid #222;width:43%;padding-top:5px;font-size:13px}.memo-safe{color:#fff;text-align:center;background:#d00e1e;border-radius:25px;margin:0 16px 10px;padding:5px;font-size:19px;font-weight:700}.memo-paper .memo-address{text-align:center;margin:8px 8px 2px;font-size:13px;font-weight:600}.memo-contacts{text-align:center;flex-wrap:wrap;justify-content:center;gap:4px 13px;font-size:12px;display:flex}.memo-paper .memo-footnote{text-align:center;border-top:1px dashed #aaa;margin-top:10px;padding-top:8px;font-size:11px}.memo-qr{image-rendering:auto;margin:7px auto 0;display:block}@media print{.memo-paper{border:0;max-width:none;padding:0;overflow:visible}.memo-paper .memo-banner,.memo-safe,.memo-totals .memo-red,.memo-bismillah,.memo-items th{-webkit-print-color-adjust:exact;print-color-adjust:exact}.memo-title h2{font-size:28pt}}.login-options .remember-choice{cursor:pointer;color:#405047;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;gap:9px;min-width:0;line-height:1.3;display:inline-flex}.login-options .remember-choice input[type=checkbox]{accent-color:#08652b;border-radius:4px;flex:0 0 17px;width:17px;min-width:17px;height:17px;margin:0;padding:0;display:block}.login-options .remember-choice span{white-space:nowrap}.product-simple-grid{grid-template-columns:minmax(0,1fr);gap:14px}.product-simple-grid input{min-height:45px}.refresh-page{justify-content:center;align-items:center;display:inline-flex}@media (max-width:480px){.login-options{font-size:12px}.login-options .remember-choice{gap:6px}}.ff-receipt{--ff-red:#d10b19;--ff-black:#101010;--ff-green:#078a2e;color:#0a0a0a;text-align:left;box-sizing:border-box;background:#fff;border:1px solid #eee;width:100%;max-width:790px;margin:0 auto;font-family:Hind Siliguri,sans-serif;font-size:clamp(11px,1.55vw,15px);line-height:1.3;overflow:hidden}.ff-receipt *{box-sizing:border-box}.ff-receipt .ff-receipt-header{padding:0}.ff-bismillah{color:#fff;text-align:center;background:#101010;justify-content:center;align-items:center;height:40px;font-size:clamp(13px,2.25vw,21px);font-weight:700;display:flex;position:relative;overflow:hidden}.ff-bismillah:before,.ff-bismillah:after{content:"";background:#fff;border:11px solid #e1050d;border-radius:0 0 100% 100%;width:28%;height:60px;position:absolute;top:-32px;transform:rotate(15deg)}.ff-bismillah:before{left:-9%}.ff-bismillah:after{right:-9%;transform:rotate(-15deg)}.ff-bismillah span{z-index:1;border-left:1px solid #ddd;border-right:1px solid #ddd;padding:0 13px;position:relative}.ff-identity{grid-template-columns:23% 46% 31%;align-items:center;column-gap:2px;min-height:178px;padding:6px 14px;display:grid}.ff-seal-wrap{justify-content:center;align-items:center;width:100%;display:flex}.ff-seal{width:100%;max-width:165px;height:auto;display:block}.ff-headline{text-align:center;min-width:0}.ff-headline h2{color:#ed090e;letter-spacing:-.04em;-webkit-text-stroke:.8px white;paint-order:stroke fill;text-shadow:2px 0 #008f26,-2px 0 #008f26,0 2px #008f26,0 -2px #008f26,3px 3px #fff;margin:0 0 10px;font-family:Hind Siliguri,sans-serif;font-size:clamp(27px,4.95vw,47px);font-weight:700;line-height:.98}.ff-headline h2 span{display:block}.ff-tagline{color:#fff;white-space:nowrap;background:#101010;border-radius:999px;padding:5px 6px;font-size:clamp(9px,1.7vw,15px);font-weight:700;line-height:1.5}.ff-contacts{border-left:3px solid #d10b19;min-width:0;padding-left:9px;font-family:Inter,Hind Siliguri,sans-serif}.ff-contact-row{white-space:nowrap;align-items:center;gap:6px;margin:7px 0;font-size:clamp(9px,1.72vw,15px);font-weight:800;display:flex}.ff-contact-icon{color:#fff;background:#11a936;border-radius:4px;justify-content:center;align-items:center;width:23px;min-width:23px;height:23px;display:flex}.ff-contact-icon.phone{background:#009bd9}.ff-contact-icon.nagad{background:#d82a17}.ff-contact-icon.email{background:#777}.ff-contact-email{border-top:2px solid #d10b19;margin-top:8px;padding-top:3px}.ff-contact-email .ff-contact-row{font-size:clamp(8px,1.36vw,12px)}.ff-section-accent{background:linear-gradient(172deg,#d10513 0 48%,#fff 49% 67%,#0b0b0b 68% 100%);height:10px}.ff-cash-title{justify-content:center;align-items:center;margin:8px 15px 9px;line-height:1.25;display:flex;position:relative}.ff-cash-title:before,.ff-cash-title:after{content:"";background:var(--ff-red);flex:1;height:3px}.ff-cash-title span{background:var(--ff-red);color:#fff;text-align:center;white-space:nowrap;border-radius:999px;padding:5px 18px;font-size:clamp(19px,3.6vw,34px);font-weight:700}.ff-receipt-info{padding:0 17px 8px;font-size:clamp(12px,1.95vw,18px)}.ff-info-between{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;margin-bottom:4px;display:flex}.ff-receipt-info p{border-bottom:1px dotted #aaa;margin:3px 0;padding-bottom:2px}.ff-receipt-info b{font-weight:600}.ff-table-shell{padding:0 17px}.ff-receipt .ff-items{border-collapse:collapse;table-layout:fixed;border:2px solid #141414;width:100%;margin:0}.ff-receipt .ff-items th{color:#fff;text-align:center;background:#0b0b0b;border:1px solid #eee;padding:8px 3px;font-size:clamp(10px,1.8vw,17px);font-weight:700;line-height:1.15}.ff-receipt .ff-items td{text-align:center;vertical-align:middle;border:1px solid #262626;height:30px;padding:5px 4px;font-size:clamp(10px,1.7vw,15px);line-height:1.15}.ff-receipt .ff-items .ff-item-name{text-align:left;overflow-wrap:anywhere}.ff-summary{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) 105px;align-items:center;gap:10px;margin:12px 17px 20px;display:grid}.ff-words{white-space:nowrap;border:2px solid #111;border-radius:9px;align-items:center;gap:7px;min-width:0;padding:10px 9px;font-size:clamp(12px,1.95vw,19px);display:flex;overflow:hidden}.ff-words span{letter-spacing:1px;color:#333;text-overflow:clip;font-size:11px;overflow:hidden}.ff-totals{border:1.5px solid #111;min-width:0;font-size:clamp(12px,2.06vw,18px)}.ff-totals>div{border-bottom:1px solid #111;grid-template-columns:48% 52%;align-items:center;min-height:32px;display:grid}.ff-totals>div:last-child{border-bottom:0}.ff-totals b{text-align:right;border-right:1px solid #111;padding:4px 6px;font-weight:700}.ff-totals strong{text-align:right;min-width:0;padding:4px 5px;font-size:clamp(11px,1.75vw,15px);font-weight:700;overflow:hidden}.ff-totals .ff-paid b{color:#fff;background:#dc0713}.ff-verification{text-align:center;background:#fff;border:2px solid #d10b19;border-radius:10px;min-width:0;padding:3px;overflow:hidden}.ff-verification img{aspect-ratio:1;object-fit:contain;width:100%;height:auto;image-rendering:pixelated;display:block}.ff-verification small{color:#fff;white-space:nowrap;background:#cf0b18;border-radius:3px;justify-content:center;align-items:center;gap:3px;padding:4px 1px;font-family:Inter,sans-serif;font-size:9px;font-weight:700;display:flex}.ff-verification-empty{color:#777;padding:8px 2px;font-size:10px;display:block}.ff-signatures{justify-content:space-between;align-items:center;gap:35px;margin:40px 27px 22px;display:flex}.ff-signatures>span{text-align:center;border-top:1.7px solid #101010;width:33%;padding-top:7px;font-size:clamp(13px,2.2vw,20px);font-weight:600}.ff-footer{min-height:120px;position:relative}.ff-footer:before{content:"";background:#fff;border-top:4px solid #d10b19;border-bottom:2px solid #d10b19;border-radius:50% 50% 0 0;height:10px;display:block}.ff-footer-ribbon{z-index:2;color:#fff;text-align:center;background:#e1060e;border:4px solid #fff;border-radius:999px;width:max-content;max-width:86%;margin:-6px auto -11px;padding:3px 22px;font-size:clamp(18px,3.3vw,30px);font-weight:700;position:relative;box-shadow:0 1px #e1060e}.ff-footer-black{color:#fff;background:#101010;border-top:7px solid #d30c16;justify-content:space-between;align-items:center;gap:12px;min-height:95px;padding:28px 17px 20px;font-size:clamp(12px,2.1vw,18px);font-weight:700;display:flex}.ff-footer-black>span{text-align:left;flex:1}.ff-footer-black svg{flex-shrink:0}@media (max-width:550px){.ff-bismillah{height:30px}.ff-identity{grid-template-columns:20% 48% 32%;min-height:112px;padding:5px}.ff-seal{width:100%}.ff-headline h2{text-shadow:1px 0 #008f26,-1px 0 #008f26,0 1px #008f26,0 -1px #008f26;font-size:clamp(22px,6vw,35px)}.ff-tagline{white-space:normal;font-size:8px}.ff-contacts{border-left-width:2px;padding-left:4px}.ff-contact-row{gap:2px;margin:4px 0;font-size:8px}.ff-contact-email .ff-contact-row{font-size:7px}.ff-contact-icon{width:16px;min-width:16px;height:16px}.ff-contact-icon svg{width:11px;height:11px}.ff-cash-title span{padding:5px 7px;font-size:clamp(16px,4.2vw,23px)}.ff-receipt-info{padding:0 8px 7px;font-size:11px}.ff-table-shell{padding:0 8px}.ff-receipt .ff-items td{height:24px;padding:3px 1px;font-size:10px}.ff-receipt .ff-items th{padding:6px 1px;font-size:10px}.ff-summary{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 69px;gap:5px;margin:9px 8px 12px}.ff-words{gap:3px;padding:5px 3px;font-size:11px}.ff-totals>div{min-height:26px}.ff-totals b,.ff-totals strong{padding:3px 2px;font-size:10px}.ff-verification small{font-size:6px}.ff-verification small svg{width:8px;height:8px}.ff-signatures{margin:32px 12px 16px}.ff-footer-black{min-height:85px;padding:25px 9px 14px;font-size:11px}}@media print{@page{size:A4 portrait;margin:7mm}.ff-receipt{break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact;border:0;width:100%;max-width:none}.ff-receipt .ff-items th,.ff-bismillah,.ff-cash-title span,.ff-footer-black,.ff-footer-ribbon,.ff-totals .ff-paid b,.ff-verification small{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.receipt-workspace{grid-template-columns:minmax(280px,340px) minmax(0,1fr);align-items:start;gap:18px;width:100%;max-width:1510px;display:grid}.receipt-workspace .panel{min-width:0}.receipt-browser{padding:16px;position:sticky;top:96px;overflow:hidden}.receipt-browser-head{justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.receipt-browser-head h2{color:var(--text,#231d31);margin:0;font-size:18px;line-height:1.3}.receipt-browser-head p{color:var(--muted,#766e80);margin:4px 0 0;font-size:12px}.receipt-browser-count{color:#722fbe;background:#f0e8fa;border-radius:100px;padding:5px 10px;font-size:12px;font-weight:700}.receipt-search{color:#786d88;background:#fff;border:1px solid #ded7e8;border-radius:12px;align-items:center;gap:9px;min-height:46px;margin-bottom:13px;padding:0 12px;display:flex}.receipt-search input{box-shadow:none;color:#281d35;background:0 0;border:none;outline:none;flex:1;min-width:0;padding:10px 0;font-size:13px}.receipt-search input:focus{box-shadow:none;outline:none}.receipt-search:focus-within{border-color:#8e5bbb;box-shadow:0 0 0 3px #8d48d415}.receipt-search button{color:#72677f;cursor:pointer;background:0 0;border:0;padding:4px;display:flex}.receipt-cards{flex-direction:column;gap:8px;max-height:min(68vh,750px);padding:1px 2px 4px;display:flex;overflow-y:auto}.receipt-card{cursor:pointer;text-align:left;color:#272033;background:#fff;border:1px solid #e8e2ee;border-radius:12px;align-items:center;gap:10px;width:100%;padding:13px 10px;transition:background .15s,border-color .15s;display:flex}.receipt-card:hover,.receipt-card:focus-visible{background:#f8f3fc;border-color:#9d7cbb;outline:none}.receipt-card-icon{color:#7b30bf;background:#f0e6fb;border-radius:10px;flex:none;place-items:center;width:36px;height:40px;display:grid}.receipt-card-text strong{font-size:14px;font-weight:800;line-height:1.4;display:block}.receipt-card-text small{color:#797083;white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:1.5;display:block;overflow:hidden}.receipt-card-amount{white-space:nowrap;align-items:center;gap:3px;font-size:13px;font-weight:800;display:flex}.receipt-card-amount svg{color:#88758f}.receipt-list-empty{color:#857993;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:35px 16px;display:flex}.receipt-list-empty strong{color:#3b3143;font-size:15px}.receipt-list-empty p{margin:0;font-size:12px;line-height:1.6}.receipt-detail{min-width:0;padding:16px;overflow:hidden}.receipt-detail-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.receipt-detail-title{flex-direction:column;gap:3px;display:flex}.receipt-detail-title strong{letter-spacing:.01em;color:#2b2132;font-size:20px}.receipt-detail-title span{color:#7c7086;font-size:12px}.receipt-detail-actions{flex-wrap:wrap;gap:8px;display:flex}.receipt-detail-actions button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:8px 12px;font-size:12px;display:flex}.receipt-paper-frame{background:#f6f4f6;border-radius:12px;min-width:0;padding:12px;overflow:hidden}.receipt-paper-frame #print-receipt{max-width:100%;margin:0 auto;box-shadow:0 7px 22px #1112}.receipt-mobile-back{display:none}.receipt-detail-empty{min-height:240px}@media (max-width:950px){.receipt-workspace{grid-template-columns:minmax(0,1fr);gap:0}.receipt-browser{padding:13px;position:static}.receipt-cards{max-height:none;overflow:visible}.receipt-detail,.receipt-mobile-open .receipt-browser{display:none}.receipt-mobile-open .receipt-detail{box-shadow:none;background:0 0;border:0;padding:0;display:block}.receipt-detail-head{background:#fff;border:1px solid #e8e3ed;border-radius:12px;gap:12px;margin-bottom:10px;padding:13px}.receipt-mobile-back{color:#7b38aa;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;width:100%;padding:4px 0;font-size:13px;font-weight:700;display:flex}.receipt-mobile-back svg{transform:rotate(180deg)}.receipt-detail-title strong{font-size:18px}.receipt-detail-actions{width:100%}.receipt-detail-actions button{flex:1;min-width:0}.receipt-paper-frame{border-radius:9px;padding:0}.receipt-paper-frame #print-receipt{box-shadow:none}}@media print{@page{size:A4 portrait;margin:0}.sidebar,.topbar,.app-footer,.page-heading,.toast,.receipt-browser,.receipt-detail-head,.loading-strip{display:none!important}.workspace,.main-content,.receipt-workspace,.receipt-detail,.receipt-paper-frame{width:100%!important;max-width:none!important;box-shadow:none!important;background:#fff!important;border:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.receipt-paper-frame #print-receipt{box-shadow:none!important;max-width:none!important;margin:0!important}}.receipt-card{cursor:default;background:#fff;border:1px solid #e6dceb;border-radius:12px;padding:0;display:block;overflow:hidden}.receipt-card.is-active{background:#faf6ff;border-color:#9c6ac5}.receipt-card-open{text-align:left;width:100%;min-width:0;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:12px 11px;display:flex}.receipt-card-open:hover,.receipt-card-open:focus-visible{background:#f8f2fe;outline:none}.receipt-card-open:focus-visible{box-shadow:inset 0 0 0 2px #9254c2}.receipt-card-text{flex:1;min-width:0}.receipt-card-amount{color:#272033;margin-top:2px;font-size:14px;font-weight:800;display:block}.receipt-card-chevron{color:#88758f;flex-shrink:0}.receipt-card-actions{border-top:1px solid #e8deee;grid-template-columns:1fr 1fr;gap:8px;padding:8px 11px 11px;display:grid}.receipt-card-actions button{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:7px 6px;font-size:12px;font-weight:700;display:flex}.receipt-card-action-print{color:#6a2c9f;background:#fff;border:1px solid #a98bc5}.receipt-card-action-download{color:#fff;background:#7933ae;border:1px solid #7933ae}.receipt-card-actions button:focus-visible{outline-offset:1px;outline:3px solid #ab88ca}.receipt-print-target{display:none}@media (max-width:950px){.receipt-card-open{padding:13px 12px}.receipt-card-actions{gap:10px}.receipt-card-actions button{min-height:44px;font-size:13px}}@media print{@page{size:A4 portrait;margin:0}html,body{background:#fff!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important}.app-shell,.workspace,.main-content{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;box-shadow:none!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}body>:not(.receipt-print-target){display:none!important}.receipt-print-target{break-before:avoid-page!important;break-after:avoid-page!important;page-break-before:avoid!important;page-break-after:avoid!important;width:100%!important;height:255mm!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;overflow:hidden!important}.receipt-print-target #print-receipt{-webkit-print-color-adjust:exact;print-color-adjust:exact;width:190mm!important;max-width:190mm!important;height:255mm!important;min-height:0!important;max-height:255mm!important;box-shadow:none!important;break-inside:avoid-page!important;page-break-inside:avoid!important;margin:0 auto!important;padding:0!important;display:flex!important;overflow:hidden!important}}@media screen{html{scrollbar-gutter:stable}body{overflow-x:clip}.app-shell{width:100%;min-width:0;min-height:100svh;overflow-x:clip}.workspace,.main-content{min-width:0}.main-content{width:100%}.main-content>*,.dashboard-grid>*,.dashboard-bottom>*,.pos-layout>*,.sales-layout>*,.report-grid>*,.settings-layout>*,.password-layout>*,.receipt-workspace>*,.panel,.quick-section,.cart{min-width:0}.topbar{flex-shrink:0;width:100%;min-width:0}.topbar>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.topbar>.badge{text-overflow:ellipsis;min-width:0;max-width:min(31vw,350px);overflow:hidden}.topbar .notification,.topbar .profile,.topbar .refresh-page{flex-shrink:0}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat,.stat>div:not(.stat-icon){min-width:0}.stat h4,.stat strong{white-space:normal;overflow-wrap:anywhere}.quick-actions{grid-template-columns:repeat(6,minmax(0,1fr))}.quick-actions button{min-width:0}.quick-actions b,.quick-actions span{white-space:normal;overflow-wrap:anywhere;text-align:center}.table-scroll{overscroll-behavior-x:contain;scrollbar-gutter:stable;max-width:100%}.pos-layout,.sales-layout,.report-grid,.dashboard-grid,.settings-layout,.receipt-workspace{width:100%;max-width:100%}.loading-strip{z-index:22;pointer-events:none;width:max-content;max-width:calc(100vw - 32px);position:fixed;top:84px;left:auto;right:24px}}@media screen and (min-width:951px){.menu-toggle,.sidebar-scrim{display:none!important}.sidebar{transition:none;transform:none!important}}@media screen and (min-width:951px) and (max-width:1100px){.pos-layout{grid-template-columns:minmax(0,1fr)}.pos-layout .cart{position:static}.dashboard-bottom{grid-template-columns:minmax(0,1fr)}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media screen and (max-width:950px){.sidebar{overscroll-behavior:contain;width:min(280px,86vw);height:100svh;max-height:100dvh;overflow-y:auto}.sidebar-scrim{display:block}.menu-toggle{flex-shrink:0;display:inline-flex}.workspace{width:100%;margin-left:0}.topbar>.badge{max-width:24vw}}@media screen and (min-width:641px) and (max-width:950px){.pos-layout{grid-template-columns:minmax(0,1fr) minmax(260px,300px)}.pos-products,.catalog{grid-template-columns:repeat(3,minmax(0,1fr))}}@media screen and (min-width:641px) and (max-width:800px){.pos-layout,.report-grid,.password-layout{grid-template-columns:minmax(0,1fr)}.pos-layout .cart{position:static}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media screen and (max-width:640px){.topbar{gap:8px}.topbar>strong{font-size:clamp(14px,4vw,17px)}.topbar .notification{margin-right:0}.loading-strip{top:66px;right:12px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-layout{grid-template-columns:minmax(0,1fr)}.pos-products{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-row .search{flex-basis:100%;min-width:0}.filter-row select{flex:115px;min-width:0}.page-heading>.primary,.page-heading>.secondary{margin-left:0}}@media screen and (max-width:380px){.pos-products,.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{gap:6px;padding:10px}.stat-icon{width:36px;min-width:36px;height:38px}.stat-icon svg{width:22px;height:22px}.stat strong{font-size:19px}}@media screen{.pos-brand-logo{background:#fff;border-radius:50%;flex:0 0 52px;width:52px;min-width:52px;height:52px;display:block;overflow:visible}.brand>div{min-width:0}.brand strong{overflow-wrap:anywhere}.topbar-brand{flex:0 auto;align-items:center;gap:10px;min-width:0;max-width:min(38vw,370px);display:flex}.topbar-logo{background:#fff;border-radius:50%;flex:0 0 40px;width:40px;min-width:40px;height:40px;display:block}.topbar-brand strong{letter-spacing:-.6px;white-space:nowrap;text-overflow:ellipsis;min-width:0;font:700 23px/1.2 Inter,sans-serif;display:block;overflow:hidden}.pos-login-logo{background:#fff;border-radius:50%;width:104px;height:104px;margin:0 auto 8px;display:block}.pos-settings-logo{background:#fff;border-radius:50%;width:85px;height:85px;margin:0 auto;display:block}}@media screen and (min-width:951px) and (max-width:1250px){.pos-brand-logo{flex-basis:42px;width:42px;min-width:42px;height:42px}.topbar-brand strong{font-size:21px}}@media screen and (max-width:950px){.topbar-brand{gap:7px;max-width:min(37vw,300px)}.topbar-brand strong{font-size:21px}.topbar-logo{flex-basis:36px;width:36px;min-width:36px;height:36px}}@media screen and (max-width:640px){.topbar-brand{gap:5px;max-width:min(43vw,220px)}.topbar-brand strong{font-size:clamp(13px,3.8vw,17px)}.topbar-logo{flex-basis:29px;width:29px;min-width:29px;height:29px}.brand .pos-brand-logo{flex-basis:44px;width:44px;min-width:44px;height:44px}.pos-login-logo{width:90px;height:90px}}@media screen and (max-width:380px){.topbar-brand{max-width:43vw}.topbar-logo{flex-basis:27px;width:27px;min-width:27px;height:27px}.refresh-page{display:none}}.inventory-pricing-table{min-width:820px}.credit-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.credit-stats{margin-bottom:18px}.credit-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.credit-toolbar .search{flex:250px;min-width:180px}.credit-toolbar select{min-width:145px}.credit-table{min-width:980px}.credit-table td{vertical-align:middle}.credit-table td a{color:inherit;text-underline-offset:3px;text-decoration:underline}.credit-note{color:#817991;overflow-wrap:anywhere;max-width:200px;margin-top:5px;display:block}.credit-pill{white-space:nowrap;border-radius:99px;justify-content:center;align-items:center;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.credit-pill.pending{color:#8c6000;background:#fff4d9}.credit-pill.late{color:#b42337;background:#ffe6e8}.credit-pill.paid{color:#177145;background:#dcf9e8}.credit-history-row td{background:#f8f5fd;padding:0!important}.credit-history{padding:18px 20px}.credit-history>strong{margin-bottom:12px;display:block}.credit-history-entries{gap:8px;display:grid}.credit-history-entries>div{background:#fff;border-radius:9px;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 12px;display:flex}.credit-history-entries>div>span:first-child{flex:140px}.credit-history-entries small{color:#74677b;flex-basis:100%}.credit-help{color:#716882;margin:10px 0 18px;font-size:13px;line-height:1.6}.credit-checkout{background:#faf7ff;border:1px solid #e2d8ef;border-radius:12px;margin:12px 0;padding:12px}.credit-checkout-toggle{cursor:pointer;color:#58288c;align-items:center;gap:9px;font-weight:700;display:flex}.credit-checkout-toggle input{accent-color:#7138b5;width:17px;height:17px}.credit-checkout-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.credit-checkout-fields label{flex-direction:column;gap:5px;min-width:0;font-size:12px;font-weight:600;display:flex}.credit-checkout-fields input{border:1px solid #ddd1eb;border-radius:8px;width:100%;min-width:0;padding:9px}.credit-checkout-balance{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:0;display:flex}.credit-checkout-fields small{color:#74677b;align-self:center}.credit-remaining-box,.credit-collection-head{background:#f7f0ff;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:14px;display:flex}.credit-remaining-box b,.credit-collection-head strong{color:#6c2ab8}.credit-collection-head>p{justify-content:space-between;width:100%;margin:0;display:flex}.credit-collection-head>span{color:#756a82}.report-product-profit{margin-top:18px}.report-product-profit>h2{margin-bottom:10px}.report-product-profit table{min-width:630px}@media (max-width:720px){.credit-actions{width:100%}.credit-actions button{flex:1;justify-content:center}.credit-toolbar .search{flex-basis:100%}.credit-checkout-fields{grid-template-columns:1fr}.credit-history{padding:12px}}.expense-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.expense-filter-grid{grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) minmax(140px,1fr) minmax(130px,1fr) minmax(130px,1fr);align-items:center;gap:12px;margin-bottom:20px;display:grid}.expense-filter-grid .search,.expense-filter-grid>.search>input,.expense-filter-grid select{width:100%;min-width:0}.expense-date-filter{color:var(--muted);align-items:center;gap:6px;min-width:0;font-size:12px;font-weight:600;display:flex}.expense-date-filter input{width:100%;min-width:0;padding:9px 6px;font-size:13px}.expense-list-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:5px 0 14px;display:flex}.expense-list-heading>b{font-size:17px}.expense-list-heading>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.expense-table{min-width:860px}.expense-table td{vertical-align:middle}.expense-table td:nth-child(5){white-space:nowrap}.expense-note{color:var(--muted);overflow-wrap:anywhere;max-width:250px;margin-top:4px;line-height:1.45;display:block}.expense-cancelled td{opacity:.62}.expense-cancelled td:last-child{opacity:1}.expense-ledger .row-actions{align-items:center;gap:8px;display:flex}.expense-guide{margin-top:12px}.expense-report-stats{margin-bottom:18px}.expense-report-panel{margin-top:18px}.expense-report-panel .section-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.expense-report-panel .section-title h2{align-items:center;gap:10px;display:flex}.expense-report-summary{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:10px;padding:12px 0;font-size:13px;display:flex}.expense-report-summary b{color:var(--ink);font-size:16px}.expense-distribution{gap:18px;max-width:720px;margin:12px 0 20px;display:grid}.expense-category-row>div:first-child{justify-content:space-between;gap:12px;margin-bottom:7px;font-size:14px;display:flex}.expense-category-row b{font-variant-numeric:tabular-nums}.expense-category-track{background:#eee9fa;border-radius:20px;height:9px;overflow:hidden}.expense-category-track span{background:#7b3bd3;border-radius:20px;min-width:1px;height:100%;display:block}.expense-modal-form .form-grid{gap:12px}@media (max-width:1200px){.expense-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.expense-filter-grid>.search{grid-column:span 2}}@media (max-width:720px){.expense-actions{width:100%}.expense-actions button{flex:1;justify-content:center}.expense-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.expense-filter-grid>.search{grid-column:span 2}.expense-filter-grid select{font-size:13px}.expense-date-filter{font-size:11px}.expense-list-heading{align-items:flex-start}.expense-report-panel .section-title h2{font-size:16px}}@media (max-width:380px){.expense-filter-grid{grid-template-columns:minmax(0,1fr)}.expense-filter-grid>.search{grid-column:auto}.expense-date-filter{width:100%}.expense-actions{flex-direction:column}.expense-actions button{width:100%}}.report-overview-section{min-width:0;margin-bottom:22px}.report-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.report-section-heading h2{color:var(--ink);margin:0 0 3px;font-size:20px;line-height:1.3}.report-section-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.report-section-heading button{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.report-overview-section .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-overview-section .stat{min-width:0;min-height:106px}.report-overview-section .stat>div:not(.stat-icon){min-width:0}.report-overview-section .stat h4,.report-overview-section .stat strong{white-space:normal;overflow-wrap:anywhere}.report-overview-section .stat strong{font-variant-numeric:tabular-nums}.profit-cost-notice{background:#fff;border:1px solid #e9def6;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:4px;padding:16px 18px;display:flex}.profit-cost-notice>div{flex:250px}.profit-cost-notice strong{font-size:15px}.profit-cost-notice p{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.55}.profit-cost-notice button{align-items:center;gap:6px;display:inline-flex}.credit-period-panel{margin-bottom:20px;padding:20px}.credit-period-panel .date-range{margin-bottom:16px}.credit-period-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.credit-period-metrics>div{background:#faf8fe;border:1px solid #ebe5f5;border-radius:12px;min-width:0;padding:15px 16px}.credit-period-metrics span{color:#766b84;margin-bottom:4px;font-size:13px;font-weight:600;display:block}.credit-period-metrics strong{color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(19px,2vw,25px);font-weight:700}@media screen and (max-width:640px){.report-section-heading{align-items:flex-start}.report-section-heading h2{font-size:18px}.report-section-heading button{font-size:13px}.profit-report-stats.stats{grid-template-columns:minmax(0,1fr)}.report-overview-section .stat{gap:12px;min-height:94px;padding:14px}.report-overview-section .stat-icon{border-radius:12px;width:48px;min-width:48px;height:48px}.report-overview-section .stat-icon svg{width:26px;height:26px}.report-overview-section .stat strong{font-size:clamp(20px,5vw,26px)}.credit-period-panel{padding:16px 14px}.credit-period-metrics{grid-template-columns:minmax(0,1fr);gap:9px}.credit-period-metrics>div{padding:12px 14px}}@media screen and (max-width:430px){.report-sales-stats.stats{grid-template-columns:minmax(0,1fr)}.report-section-heading button,.profit-cost-notice button{justify-content:center;width:100%}}@media screen{.app-shell,.workspace,.main-content{min-width:0}.main-content>section,.main-content>div{min-width:0;max-width:100%}.table-scroll{overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.modal{max-height:min(92vh,92dvh)}.sidebar nav button>span{overflow-wrap:break-word;min-width:0}}@media screen and (min-width:951px){.workspace{min-width:0;max-width:calc(100% - 220px)}.sidebar{overflow-x:hidden}.dashboard-grid,.dashboard-bottom,.pos-layout,.sales-layout{min-width:0;max-width:100%}}@media screen and (min-width:1251px) and (max-width:1549px){.workspace{max-width:calc(100% - 260px)}}@media screen and (min-width:1550px){.workspace{max-width:calc(100% - 300px)}}@media screen and (max-width:950px){.workspace{min-width:0;max-width:100%}.sidebar{width:min(268px,100vw - 52px);height:100dvh;max-height:100dvh;padding:max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));overflow:hidden;box-shadow:12px 0 32px #17102324}.sidebar .brand{flex:none;margin-bottom:5px;padding:7px 6px 14px}.sidebar .brand strong{font-size:17px;line-height:1.3}.sidebar .brand span{font-size:12px;line-height:1.35}.sidebar nav{overscroll-behavior-y:contain;scrollbar-width:thin;flex:auto;gap:3px;min-height:0;padding:5px 0 10px;overflow:hidden auto}.sidebar nav button{white-space:normal;flex:none;gap:11px;min-height:44px;padding:10px 11px;font-size:14px;line-height:1.35}.sidebar nav button>svg,.sidebar .logout>svg{width:21px;height:21px}.sidebar nav .nav-chevron{width:15px;height:15px}.sidebar .logout{flex:none;margin-top:5px;padding:14px 11px 7px;font-size:15px}.sidebar-scrim{touch-action:manipulation}.topbar,.topbar-brand{min-width:0}.app-footer{flex-wrap:wrap;gap:4px 12px}}@media screen and (max-width:640px){.topbar{gap:7px}.topbar-brand{flex:auto;max-width:none}.topbar-brand strong{font-size:clamp(12px,3.7vw,17px)}.topbar .top-spacer{display:none}.topbar .profile,.topbar .notification,.topbar .menu-toggle{flex:none}.main-content{min-width:0}.panel{max-width:100%}.modal-backdrop{padding:10px}.modal{width:min(620px,100%);max-height:calc(100dvh - 20px);overflow-y:auto}.modal-form{min-width:0}.form-grid{grid-template-columns:minmax(0,1fr)}.purchase-line,.purchase-line label{min-width:0}.filter-row>.secondary{white-space:normal;flex:0 auto;min-width:0}}@media screen and (max-width:380px){.sidebar{width:min(248px,100vw - 48px)}.topbar{gap:5px;padding-inline:9px}.topbar-brand{gap:4px}.topbar .notification{width:31px}.main-content{padding-inline:9px}}.purchase-receipt-link{color:var(--purple);white-space:nowrap;align-items:center;gap:4px;margin-top:4px;padding:3px 0;font-size:12px;font-weight:600;display:inline-flex}.purchase-receipt-link:hover{text-decoration:underline}.purchase-receipt-actions{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.purchase-receipt-actions button{border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:8px 10px;font-size:12px;display:inline-flex}.receipt-type-tabs{overscroll-behavior-x:contain;align-items:center;gap:9px;width:100%;max-width:100%;margin:0 0 15px;padding-bottom:5px;display:flex;overflow-x:auto}.receipt-type-tabs button{white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:7px;display:inline-flex}@media screen and (max-width:640px){.receipt-type-tabs{gap:7px}.receipt-type-tabs button{padding:9px 11px;font-size:12px}.purchase-receipt-actions button{min-height:36px}}.requirements-dashboard{margin-top:20px}.requirement-notepad{min-width:0}.requirement-heading,.requirement-heading-text,.requirement-form-footer,.requirement-list-header,.requirement-item-footer,.requirement-item-actions{align-items:center;gap:12px;display:flex}.requirement-heading,.requirement-list-header{flex-wrap:wrap;justify-content:space-between}.requirement-heading{margin-bottom:18px}.requirement-heading-text{min-width:0}.requirement-heading-text h2{font-size:19px}.requirement-heading-text p{color:var(--muted);margin-top:3px;font-size:13px}.requirement-heading-icon{width:42px;height:42px;color:var(--purple);background:var(--purple-light);border-radius:12px;flex:none;place-items:center;display:grid}.requirement-count{color:var(--purple);white-space:nowrap;background:#f0eafb;border-radius:99px;padding:5px 11px;font-size:13px;font-weight:700}.requirement-form{border:1px solid var(--border);background:#fbfaff;border-radius:12px;padding:15px}.requirement-form>label{margin-bottom:9px;font-weight:700;display:block}.requirement-form textarea,.requirement-item textarea{resize:vertical;width:100%;min-height:92px;line-height:1.55}.requirement-form-footer{flex-wrap:wrap;justify-content:space-between;margin-top:11px}.requirement-form-footer small{color:var(--muted)}.requirement-form-footer button,.requirement-item-actions .primary,.requirement-item-actions .secondary{justify-content:center;align-items:center;gap:7px;display:inline-flex}.requirement-list-header{margin-top:22px;margin-bottom:12px}.requirement-list-header h3{font-size:16px}.requirement-view-all,.requirement-more{align-items:center;gap:5px;display:inline-flex}.requirement-filters{background:var(--bg);border-radius:9px;gap:6px;padding:4px;display:flex}.requirement-filters button{color:var(--muted);border-radius:7px;padding:6px 12px;font-weight:600}.requirement-filters button.active{color:var(--purple);background:#fff;box-shadow:0 1px 5px #20173615}.requirement-list{gap:10px;display:grid}.requirement-empty{text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:10px;padding:22px 12px;font-size:13px}.requirement-item{border:1px solid var(--border);background:#fff;border-radius:11px;min-width:0;padding:14px}.requirement-item.is-done{background:#f8f9fb}.requirement-check{cursor:pointer;align-items:flex-start;gap:11px;min-width:0;display:flex}.requirement-check input{accent-color:var(--purple);cursor:pointer;flex:none;width:18px;height:18px;margin:3px 0 0}.requirement-item-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65}.requirement-item.is-done .requirement-item-content{color:var(--muted);text-decoration:line-through}.requirement-item-footer{flex-wrap:wrap;justify-content:space-between;margin-top:11px}.requirement-item-footer small{color:var(--muted)}.requirement-item-actions{justify-content:flex-end;gap:6px;margin-left:auto}.requirement-icon-action{border:1px solid var(--border);border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.requirement-icon-action:hover{background:var(--bg)}.requirement-danger{color:#d33c44}.requirement-done-icon{color:var(--green);display:inline-flex}.requirement-item form .requirement-item-actions{margin-top:10px}.requirement-more{margin-top:14px}.requirement-full{max-width:950px}@media (max-width:640px){.requirements-dashboard{margin-top:14px}.requirement-form{padding:12px}.requirement-form-footer button{min-height:42px}.requirement-heading-text h2{font-size:17px}.requirement-item{padding:12px}}
