:root{--ink:#20212b;--muted:#8b8c98;--line:#ececf0;--paper:#fff;--bg:#f5f6f8;--purple:#725de0;--purple-dark:#5f4bc9;--purple-soft:#f0edfc;--green:#49a77a;--orange:#e49b50;--blue:#5896d5;--font:'DM Sans',sans-serif;--display:'Manrope','DM Sans',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:247px;background:#fff;border-right:1px solid #ececf0;padding:27px 17px 16px;display:flex;flex-direction:column;z-index:5}.brand{height:58px;display:flex;align-items:center;gap:11px;padding-left:7px;text-decoration:none;color:var(--ink)}.brand-mark{width:38px;height:38px;background:var(--purple);border-radius:12px;display:grid;place-items:center;box-shadow:0 5px 12px #725de037}.brand-mark svg{width:23px;stroke:#fff;stroke-width:1.75;fill:none;stroke-linejoin:round;stroke-linecap:round}.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font:800 20px var(--display);letter-spacing:-1px}.brand-copy strong span{color:var(--purple)}.brand-copy small{font-size:8px;letter-spacing:1.55px;color:#a0a0ad;font-weight:700;margin-top:6px}.nav-caption{font-size:9px;letter-spacing:1.55px;color:#aaaab6;font-weight:700;margin:45px 10px 12px}.main-nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#777886;border-radius:9px;text-align:left;padding:11px 11px;display:flex;align-items:center;gap:12px;font-weight:500;font-size:13px;transition:.18s}.nav-item:hover{background:#f7f6fc;color:#49425f}.nav-item.active{background:#f1effc;color:#654fce;font-weight:700}.nav-icon{width:18px;height:18px;display:grid;place-items:center}.nav-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.nav-count{margin-left:auto;background:#fff;border-radius:6px;padding:2px 7px;color:#888a97;font-size:10px}.sidebar-bottom{margin-top:auto}.help-card{position:relative;overflow:hidden;min-height:128px;background:#f7f5ff;border:1px solid #f0edfb;border-radius:12px;padding:16px 15px;display:flex;flex-direction:column;gap:6px;margin:0 1px 18px}.help-spark{color:var(--purple);font-size:18px;line-height:1}.help-card strong{position:relative;z-index:1;font:700 13px/1.45 var(--display)}.help-card>span:last-of-type{position:relative;z-index:1;color:#9190a0;font-size:10px}.help-orbit{position:absolute;border:1px solid #e7e1fa;border-radius:50%;width:83px;height:83px;right:-19px;top:43px}.orbit-two{width:59px;height:59px;right:-7px;top:55px}.profile{border-top:1px solid #f0f0f3;padding:15px 3px 0;display:flex;align-items:center;gap:10px}.avatar,.top-avatar{background:#f4ede5;color:#8e6846;border-radius:50%;display:grid;place-items:center;font-weight:700}.avatar{width:34px;height:34px;font-size:13px}.profile-copy{display:flex;flex-direction:column;gap:3px}.profile-copy strong{font-size:11px}.profile-copy small{font-size:10px;color:#a0a0ab}.more-btn{margin-left:auto;border:0;background:none;color:#9c9ca8;font-size:20px;letter-spacing:1px}.main-content{margin-left:247px;min-height:100vh}.topbar{height:69px;background:#fff;border-bottom:1px solid #ededf0;display:flex;align-items:center;justify-content:space-between;padding:0 43px}.breadcrumbs{display:flex;align-items:center;gap:10px;color:#a0a0aa;font-size:11px}.crumb-slash{color:#d1d0d8}.breadcrumbs strong{font-weight:600;color:#545461}.top-actions{display:flex;align-items:center;gap:16px}.today{font-size:11px;color:#8d8d98}.top-divider{height:21px;width:1px;background:#ededf0}.icon-button{position:relative;background:none;border:0;color:#8d8e9b;display:grid;place-items:center}.icon-button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.notification i{position:absolute;width:5px;height:5px;background:#df8f82;right:0;top:1px;border-radius:50%;border:1px solid #fff}.top-avatar{width:29px;height:29px;font-size:11px}.menu-toggle{display:none}.page-wrap{max-width:1320px;padding:35px 43px 23px;margin:0 auto}.view{display:none}.view.active{display:block}.welcome-row,.view-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.eyebrow{color:#9998a7;font-size:9px;font-weight:700;letter-spacing:1.45px;display:flex;align-items:center;gap:7px;margin-bottom:10px}.live-dot{width:6px;height:6px;background:#8a77e6;border-radius:50%;box-shadow:0 0 0 3px #f0edfc}h1{font:700 29px/1.25 var(--display);letter-spacing:-1.3px;margin:0}.title-dot{color:var(--purple)}.page-subtitle{margin:6px 0 0;color:#9495a1;font-size:12px}.button{height:38px;border-radius:8px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;font-size:11px;font-weight:700;transition:.16s}.button-primary{background:var(--purple);color:#fff;box-shadow:0 4px 9px #725de025}.button-primary:hover{background:var(--purple-dark);transform:translateY(-1px)}.button-plus{font-size:19px;font-weight:400;line-height:1;margin-top:-2px}.button-quiet{background:#fff;border-color:#e7e7ec;color:#777887}.button-quiet:hover{background:#f7f7f9}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:17px}.stat-card{background:#fff;border:1px solid #ededf1;border-radius:11px;padding:17px 18px 16px;min-width:0;box-shadow:0 3px 13px #20212b04}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#858592;font-size:11px;font-weight:500}.stat-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center}.stat-icon svg,.quick-icon svg,.empty-visual svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.purple{background:#f1effd;color:#7761d6}.orange{background:#fbf3e8;color:#da9a4e}.green{background:#eaf5ef;color:#55a179}.blue{background:#eaf2fa;color:#558ac3}.stat-value{display:block;margin:11px 0 9px;font:700 24px var(--display);letter-spacing:-.8px;white-space:nowrap}.stat-bottom{display:flex;align-items:center;gap:6px;color:#a0a0aa;font-size:10px;white-space:nowrap}.trend-pill{border-radius:5px;padding:3px 6px;font-size:9px;font-weight:700}.trend-pill.neutral{background:#f3f3f6;color:#8c8c98}.trend-pill.positive{background:#eaf5ef;color:#4c9971}.inline-dot{width:6px;height:6px;border-radius:50%}.orange-dot{background:#e6a14f}.stat-bottom b{color:#df9850;font-weight:700}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(250px,.95fr);gap:15px;margin-bottom:17px}.panel{background:#fff;border:1px solid #ededf1;border-radius:11px;box-shadow:0 3px 13px #20212b04}.sales-panel,.low-stock-panel{min-height:271px;display:flex;flex-direction:column}.panel-heading{padding:18px 19px 15px;display:flex;align-items:flex-start;justify-content:space-between}.panel-heading h2,.list-toolbar h2{margin:0;font:700 13px var(--display);letter-spacing:-.15px}.panel-heading p{margin:5px 0 0;font-size:10px;color:#a1a1ac}.text-button{border:0;background:none;color:#705bce;font-size:10px;font-weight:700;padding:4px 0}.text-button span{font-size:14px;margin-left:3px}.table-scroll{width:100%;overflow-x:auto;position:relative}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{height:34px;text-align:left;padding:0 12px;color:#a1a1ac;font-size:8px;letter-spacing:.8px;font-weight:700;background:#fafafd;border-top:1px solid #f0f0f3;border-bottom:1px solid #f0f0f3}.data-table td{height:49px;padding:0 12px;border-bottom:1px solid #f3f3f6;font-size:10px;color:#626370}.data-table th:first-child,.data-table td:first-child{padding-left:19px}.data-table tr:last-child td{border-bottom:0}.client-cell{display:flex;align-items:center;gap:8px}.table-avatar{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-weight:700;font-size:9px;flex:none}.table-primary{font-weight:600;color:#383944}.table-secondary{display:block;font-size:9px;color:#aaaab4;margin-top:3px}.status{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:700}.status::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status-ok{background:#edf7f0;color:#54956f}.status-low{background:#fff4e7;color:#d48d3e}.sale-price{font-weight:700;color:#393945}.sale-items{color:#80818d}.empty-state{display:flex;align-items:center;flex-direction:column;text-align:center}.table-empty{min-height:186px;justify-content:center;gap:5px;padding:18px}.empty-visual{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;margin-bottom:5px}.purple-empty{background:#f1effd;color:#806adc}.green-empty{background:#eaf5ef;color:#55a179}.orange-empty{background:#fbf3e8;color:#da9a4e}.empty-state strong{font:700 11px var(--display);color:#555561}.empty-state>span:not(.empty-visual){font-size:10px;color:#a1a1ac}.empty-state .text-button{margin-top:4px}.tiny-count{background:#fbf3e8;color:#cc8841;font-size:10px;font-weight:700;padding:4px 8px;border-radius:6px}.low-stock-list{padding:0 17px;flex:1}.low-stock-item{display:flex;align-items:center;gap:9px;border-bottom:1px solid #f3f3f6;padding:10px 0}.product-initial{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:10px;font-weight:700;flex:none}.stock-item-copy{flex:1;min-width:0}.stock-item-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.stock-item-copy small{display:block;margin-top:3px;color:#a3a3ae;font-size:9px}.stock-qty{font-size:9px;font-weight:700;color:#d58d3e;white-space:nowrap}.compact-empty{min-height:135px;justify-content:center;gap:5px;flex:1}.compact-empty .empty-visual{width:32px;height:32px}.panel-footer{border:0;border-top:1px solid #f1f1f4;background:none;width:100%;padding:12px 18px;color:#757682;font-size:10px;font-weight:600;text-align:left;display:flex;justify-content:space-between}.panel-footer span{color:#705bce}.quick-actions{background:#fff;border:1px solid #ededf1;border-radius:11px;padding:16px 18px 17px;display:grid;grid-template-columns:1.08fr repeat(3,1fr);gap:10px;align-items:center}.quick-kicker{font-size:8px;color:#a4a4af;font-weight:700;letter-spacing:1.4px}.quick-actions h2{font:700 13px var(--display);margin:5px 0 0;max-width:170px;line-height:1.4}.quick-card{min-width:0;display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #f0f0f3;background:#fff;border-radius:9px;padding:10px 9px;transition:.16s}.quick-card:hover{border-color:#d9d2f6;background:#fcfbff}.quick-icon{height:30px;width:30px;border-radius:8px;display:grid;place-items:center;flex:none;font-size:20px;font-weight:400}.qi-purple{background:#f1effd;color:#7a64dc}.qi-green{background:#edf6ef;color:#53a077}.qi-orange{background:#fbf3e8;color:#d89a4c}.quick-card>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:4px}.quick-card strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-card small{font-size:8px;color:#a2a2ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-arrow{margin-left:auto;align-self:flex-start;color:#b1b1bb;font-size:11px}.site-footer{display:flex;justify-content:space-between;color:#aaaaB4;font-size:9px;padding:18px 2px 0}.site-footer span:last-child{font-size:8px;letter-spacing:.8px}.site-footer i{font-style:normal;color:#c0b4ed}.mini-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:15px}.mini-stats>div{background:#fff;border:1px solid #ededf1;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:9px}.mini-stats>div>span{font-size:10px;color:#9696a2}.mini-stats strong{font:700 21px var(--display);letter-spacing:-.5px}.mini-stats strong.warning-number{color:#da9746}.mini-stats.two-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.full-panel{min-height:380px}.list-toolbar{min-height:69px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between}.list-toolbar>div{display:flex;flex-direction:column;gap:4px}.list-toolbar>div>span{font-size:9px;color:#a1a1ab}.search-box{height:31px;width:211px;border:1px solid #ededf1;border-radius:7px;display:flex;align-items:center;gap:7px;padding:0 8px;color:#a1a1ac}.search-box svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round}.search-box input{min-width:0;border:0;outline:0;background:none;font-size:10px;width:100%;color:#3d3e49}.search-box input::placeholder{color:#b1b1bb}.list-empty{min-height:287px;justify-content:center;gap:7px;padding:30px}.list-empty .button{margin-top:7px}.list-empty strong{font-size:12px}.list-empty>span:not(.empty-visual){font-size:10px}.list-empty .empty-visual{width:44px;height:44px;margin-bottom:3px}.list-empty .empty-visual svg{width:20px;height:20px}.delete-btn{border:0;background:transparent;color:#b0a8b2;border-radius:5px;padding:4px 7px;font-size:13px}.delete-btn:hover{color:#c45d54;background:#fff0ef}.muted{color:#aaaab4}.product-cell{display:flex;align-items:center;gap:9px}.product-cell .table-avatar{width:30px;height:30px;border-radius:8px}.qty-value{font-weight:700;color:#4f505d}.overlay{position:fixed;inset:0;background:#22212c61;display:none;align-items:center;justify-content:center;padding:18px;z-index:20;backdrop-filter:blur(3px)}.overlay.open{display:flex}.modal{width:min(100%,485px);max-height:min(92vh,780px);overflow-y:auto;background:#fff;border-radius:15px;padding:24px 25px 22px;box-shadow:0 22px 70px #17142238;animation:modal-in .2s ease-out}@keyframes modal-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}.modal-top{display:flex;align-items:flex-start;justify-content:space-between}.modal-kicker{font-size:8px;letter-spacing:1.4px;font-weight:700;color:#aaa8b5}.modal-top h2{margin:7px 0 0;font:700 21px var(--display);letter-spacing:-.7px}.modal-close{background:#f5f5f7;border:0;color:#777786;width:28px;height:28px;border-radius:8px;font-size:19px;line-height:1}.modal-description{font-size:11px;color:#92929e;margin:8px 0 20px}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:10px;font-weight:600;color:#545561}.field input,.field select{height:37px;padding:0 10px;border:1px solid #e9e9ee;border-radius:7px;background:#fff;color:#353640;outline:0;font-size:11px}.field input:focus,.field select:focus{border-color:#aa9eea;box-shadow:0 0 0 3px #f1effc}.field input::placeholder{color:#bbbcc4}.field .field-hint{font-size:9px;color:#a7a7b1}.sale-line{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 72px 32px;gap:8px;align-items:center}.sale-line select,.sale-line input{height:36px;padding:0 8px;border:1px solid #e9e9ee;border-radius:7px;background:#fff;color:#454650;outline:0;font-size:10px;min-width:0}.sale-line select:focus,.sale-line input:focus{border-color:#aa9eea}.remove-line{width:30px;height:30px;border:0;background:#f6f5f7;color:#94939f;border-radius:7px;font-size:16px}.add-line{grid-column:1/-1;border:0;background:#f7f5fd;color:#705bcf;border-radius:7px;height:32px;font-size:10px;font-weight:700}.sale-summary{grid-column:1/-1;background:#f8f7fc;border-radius:8px;padding:11px 12px;display:flex;justify-content:space-between;align-items:center;color:#777786;font-size:10px}.sale-summary strong{font:700 16px var(--display);color:#353540}.form-error{min-height:16px;margin-top:7px;color:#c45651;font-size:10px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:7px;border-top:1px solid #f0f0f3}.modal-actions .button{height:35px}.toast{position:fixed;z-index:30;bottom:24px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#292a34;color:#fff;border-radius:8px;padding:11px 15px;display:flex;align-items:center;gap:9px;box-shadow:0 7px 25px #1c1b2833;font-size:11px;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast-check{width:17px;height:17px;border-radius:50%;background:#5db484;display:grid;place-items:center;font-size:10px}.hidden{display:none!important}
@media(min-width:1500px){.page-wrap{padding-top:43px}.stat-card{padding:20px}.dashboard-grid{gap:18px}.panel-heading{padding:21px 21px 17px}}
@media(max-width:1150px){.sidebar{width:220px}.main-content{margin-left:220px}.page-wrap{padding-left:28px;padding-right:28px}.topbar{padding:0 28px}.stats-grid{gap:10px}.stat-card{padding:14px}.stat-value{font-size:21px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr)}.quick-actions{grid-template-columns:1fr 1fr}.quick-actions>div{padding:5px}.quick-card{min-height:54px}}
@media(max-width:850px){.sidebar{width:220px;transform:translateX(-101%);transition:transform .22s;box-shadow:none}.sidebar.open{transform:translateX(0);box-shadow:8px 0 35px #27253418}.main-content{margin-left:0}.menu-toggle{display:grid;place-items:center;border:0;background:none;padding:2px;color:#737480}.menu-toggle svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round}.topbar{justify-content:flex-start;gap:15px}.breadcrumbs{flex:1}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(220px,.9fr)}.page-wrap{max-width:760px}.quick-actions{grid-template-columns:1fr 1fr}.overlay-sidebar{position:fixed;inset:0;background:#18172255;z-index:4}}
@media(max-width:650px){.topbar{height:59px;padding:0 17px;gap:11px}.today,.top-divider{display:none}.top-actions{gap:12px}.page-wrap{padding:25px 16px 20px}.welcome-row,.view-heading{align-items:flex-start;gap:14px;margin-bottom:19px}.welcome-row .button,.view-heading .button{height:35px;padding:0 10px;font-size:10px;white-space:nowrap}.eyebrow{font-size:8px;margin-bottom:7px}h1{font-size:25px}.page-subtitle{font-size:10px;line-height:1.5}.stats-grid{gap:9px}.stat-card{padding:13px 12px}.stat-top{font-size:10px}.stat-icon{width:28px;height:28px}.stat-value{font-size:19px;margin:10px 0 8px}.stat-bottom{font-size:9px;gap:4px}.dashboard-grid{grid-template-columns:1fr;gap:10px}.sales-panel{min-height:245px}.low-stock-panel{min-height:227px}.quick-actions{padding:14px;gap:8px}.quick-actions h2{font-size:12px}.quick-card{padding:8px;gap:7px}.quick-icon{width:27px;height:27px}.site-footer{font-size:8px}.site-footer span:last-child{display:none}.mini-stats{grid-template-columns:repeat(2,1fr);gap:8px}.mini-stats>div{padding:11px 12px;gap:7px}.mini-stats strong{font-size:18px}.mini-stats>div>span{font-size:9px}.mini-stats.two-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.list-toolbar{padding:13px 12px;align-items:flex-start;gap:9px;flex-direction:column}.search-box{width:100%}.full-panel{min-height:380px}.data-table th:first-child,.data-table td:first-child{padding-left:12px}.list-empty{min-height:290px}.modal{padding:21px 18px 17px}.form-fields{gap:12px 8px}.field input,.field select{font-size:10px}.sale-line{grid-template-columns:minmax(0,1fr) 57px 29px;gap:5px}.sale-line select,.sale-line input{font-size:9px;padding:0 6px}.sale-line select{grid-column:1/-1}.modal-top h2{font-size:19px}}
@media(max-width:380px){.stats-grid{grid-template-columns:1fr}.stat-card{padding:12px 14px}.stat-value{margin:7px 0}.quick-card strong{font-size:8px}.welcome-row .button,.view-heading .button{padding:0 8px}.quick-icon{width:24px;height:24px}.topbar{padding:0 12px}.top-actions{gap:9px}}

.brand{padding-left:5px}.brand-logo{display:block;width:165px;height:auto;max-height:56px;object-fit:contain;object-position:left center}

.print-btn{border:1px solid #e7e3f6;background:#f7f5fd;color:#705bcf;border-radius:5px;padding:5px 8px;font-size:9px;font-weight:700}.print-btn:hover{background:#ede9fb}.print-receipt{display:none}
@page{margin:8mm}
@media print{body{background:#fff!important}.app-shell,.overlay,.toast{display:none!important}.print-receipt{display:block!important;position:absolute;left:0;top:0;width:72mm;max-width:100%;padding:0;margin:0 auto;color:#111;font-family:Arial,sans-serif;font-size:11px}.receipt-brand{text-align:center;margin:0 auto 8px}.receipt-brand img{width:54mm;height:auto;max-height:19mm;object-fit:contain}.print-receipt h1{text-align:center;font:700 14px Arial,sans-serif;letter-spacing:0;margin:0 0 5px}.receipt-meta{text-align:center;font-size:10px;line-height:1.5;margin:0 0 9px;color:#333}.receipt-rule{border-top:1px dashed #777;margin:8px 0}.receipt-customer{font-size:10px;line-height:1.5;margin:8px 0}.receipt-items{display:grid;gap:8px}.receipt-line{display:flex;justify-content:space-between;gap:8px;font-size:10px;line-height:1.35}.receipt-line>span{min-width:0}.receipt-line small{display:block;font-size:9px;color:#444;margin-top:2px}.receipt-line strong{white-space:nowrap}.receipt-total{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700}.receipt-payment{text-align:center;font-size:10px;margin:9px 0}.receipt-thanks{text-align:center;font-size:10px;margin:13px 0 0}}
.updates-info{display:flex;align-items:center;gap:11px;background:#f1effc;border:1px solid #e9e5fb;color:#77718f;border-radius:9px;padding:12px 15px;font-size:10px;margin-bottom:16px}.updates-info-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#fff;color:#705bcf;font-size:14px;flex:none}.updates-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.update-card{background:#fff;border:1px solid #ededf1;border-radius:11px;padding:17px;box-shadow:0 3px 13px #20212b04;min-width:0}.update-card-top{display:flex;align-items:flex-start;justify-content:space-between}.update-program-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font:700 15px var(--display)}.update-card-title{display:flex;align-items:center;gap:8px;margin-top:13px;min-width:0}.update-card-title h2{font:700 14px var(--display);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.version-pill{padding:3px 6px;border-radius:5px;background:#f3f3f6;color:#777783;font-size:9px;font-weight:700;white-space:nowrap}.platform-label{display:inline-block;color:#a0a0aa;font-size:9px;margin-top:5px}.update-description{min-height:35px;color:#858591;font-size:10px;line-height:1.55;margin:11px 0 15px;overflow-wrap:anywhere}.download-button{height:35px;border-radius:7px;background:#725de0;color:#fff;display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-size:10px;font-weight:700;transition:.16s}.download-button:hover{background:#5f4bc9;transform:translateY(-1px)}.download-button svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.download-button span{margin-left:3px}.updates-empty{min-height:290px;justify-content:center;gap:7px}.updates-empty .button{margin-top:7px}.blue-empty{background:#eaf2fa;color:#558ac3}
@media(max-width:850px){.updates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.updates-grid{grid-template-columns:1fr}.update-card{padding:15px}.update-description{min-height:0}}
.bank-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.bank-stat{background:#fff;border:1px solid #ededf1;border-radius:10px;padding:15px 16px;display:flex;flex-direction:column;gap:9px}.bank-stat>span{font-size:10px;color:#9696a2}.bank-stat strong{font:700 20px var(--display);letter-spacing:-.5px;white-space:nowrap}.bank-credit{color:#4a9a70!important}.bank-debit{color:#cf8150!important}.bank-accounts-panel{margin-bottom:14px;min-height:180px}.bank-accounts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 18px 18px}.bank-account-card{border:1px solid #ededf1;border-radius:10px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.bank-account-top{display:flex;align-items:center;justify-content:space-between;width:100%}.bank-mark{width:32px;height:32px;border-radius:9px;display:grid;place-items:center}.bank-mark svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.bank-account-type{font-size:9px;color:#9696a2}.bank-institution{font-size:10px;color:#8c8c98;margin-top:13px}.bank-account-name{font:700 13px var(--display);margin-top:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bank-balance-label{font-size:8px;font-weight:700;letter-spacing:1px;color:#a1a1ac;margin-top:15px}.bank-balance{font:700 20px var(--display);letter-spacing:-.5px;margin-top:4px}.bank-opening{font-size:9px;color:#a1a1ac;margin-top:5px}.bank-empty{min-height:170px;justify-content:center;gap:6px}.bank-empty .button{margin-top:5px}.bank-ledger-panel{min-height:300px}.bank-ledger-heading{align-items:center}.bank-actions{display:flex;gap:7px}.button-credit,.button-debit{height:32px;border:1px solid transparent;padding:0 10px;font-size:10px}.button-credit{background:#edf7f0;color:#4c966e}.button-credit:hover{background:#e2f2e7}.button-debit{background:#fff3e9;color:#cb8044}.button-debit:hover{background:#ffebdc}.ledger-empty{min-height:195px;justify-content:center;gap:6px}.bank-ledger-panel .data-table td:nth-child(5){font-weight:700;white-space:nowrap}
@media(max-width:1050px){.bank-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-accounts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.bank-stats{gap:8px}.bank-stat{padding:12px}.bank-stat>span{font-size:9px}.bank-stat strong{font-size:17px}.bank-accounts-grid{grid-template-columns:1fr;padding:0 12px 13px}.bank-account-card{padding:13px}.bank-ledger-heading{align-items:flex-start;gap:10px;flex-direction:column}.bank-actions{width:100%}.bank-actions .button{flex:1}}
.access-button{border:1px solid #e8e5f2;background:#f7f5fd;color:#6a57c4;border-radius:7px;padding:7px 11px;font-size:10px;font-weight:700}.access-button:hover{background:#eeebfa}.access-modal{width:min(100%,410px)}body:not(.logged-in) [data-update-admin],body:not(.logged-in) [data-delete="update"]{display:none!important}
.bank-statement-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 18px 14px}.bank-statement-controls label{display:flex;align-items:center;gap:6px;font-size:10px;color:#777786}.bank-statement-controls input,.bank-statement-controls select{height:32px;border:1px solid #e9e9ee;border-radius:7px;padding:0 8px;font:10px var(--body);color:#454650;background:#fff}.bank-statement-controls .button{height:32px;padding:0 13px;font-size:10px}@media(max-width:560px){.bank-statement-controls{padding:0 12px 13px;flex-wrap:wrap;justify-content:flex-start}.bank-statement-controls label{flex:1;min-width:125px}.bank-statement-controls input,.bank-statement-controls select{min-width:0;width:100%}}

.period-filter{display:flex;align-items:center;gap:6px;color:#858592;font-size:10px;white-space:nowrap}.period-filter input{height:31px;max-width:140px;border:1px solid #ededf1;border-radius:7px;padding:0 7px;font:10px var(--body);color:#454650;background:#fff}@media(max-width:650px){.period-filter{width:100%;justify-content:space-between}.period-filter input{flex:1;max-width:none}}

.payables-print-report{display:none}
@media print{body *{visibility:hidden!important}.payables-print-report,.payables-print-report *{visibility:visible!important}.payables-print-report{display:block!important;position:absolute;inset:0;padding:12mm;background:#fff;color:#222;font:11px Arial,sans-serif}.payables-print-report h1{font:700 20px Arial,sans-serif;margin:0 0 8px}.payables-print-report p{margin:0 0 16px}.report-summary{display:flex;gap:24px;margin:16px 0;font-weight:700}.payables-print-report table{width:100%;border-collapse:collapse}.payables-print-report th,.payables-print-report td{padding:8px;border:1px solid #bbb;text-align:left}.payables-print-report th{background:#f1f1f1}}
