:root{color:#172321;font-synthesis:none;--ink:#2b2114;--muted:#6e7773;--paper:#fbf3e2;--card:#fffdf7;--line:#e4d5b8;--accent:#d6ae55;--accent-dark:#9b7229;--green:#2f795e;--danger:#a7453c;background:#f2f0e9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--paper);min-width:1080px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}h1,h2,h3,p{margin:0}.eyebrow{color:var(--accent-dark);letter-spacing:1.7px;font-size:10px;font-weight:900}.eyebrow.light{color:var(--accent)}.primary,.secondary{border:0;border-radius:12px;min-height:44px;padding:0 18px;font-weight:850}.primary{color:#172321;background:var(--accent);box-shadow:0 5px 14px #6f531526}.primary:hover{background:#f5d47b}.secondary{color:var(--ink);background:#ebe9e2}.wide{width:100%}.alert{border-radius:11px;padding:11px 13px;font-size:13px;font-weight:700}.alert.error{color:#82382f;background:#f7dfdc;border:1px solid #edc3be}.login-page{grid-template-columns:minmax(440px,1fr) minmax(520px,1.1fr);min-height:100vh;display:grid}.login-brand{color:#fff;background:var(--ink);flex-direction:column;justify-content:center;gap:24px;padding:12vh 9vw;display:flex;position:relative;overflow:hidden}.login-brand:before{content:"";border:1px solid #ffffff14;border-radius:50%;width:500px;height:500px;position:absolute;bottom:-190px;right:-220px;box-shadow:0 0 0 70px #ffffff08,0 0 0 140px #ffffff05}.login-brand h1{letter-spacing:-4px;font-family:Georgia,serif;font-size:clamp(54px,5vw,82px);line-height:.97}.brand-tagline{color:var(--accent);letter-spacing:5px;font-size:14px;font-weight:500}.login-brand p{color:#bdc7c2;max-width:470px;font-size:17px;line-height:1.6}.brand-mark{width:62px;height:62px;color:var(--accent);border:1px solid #ffffff30;border-radius:50%;place-items:center;font-family:Georgia,serif;font-size:19px;display:grid;position:absolute;top:45px;right:45px}.login-panel{place-items:center;padding:60px;display:grid}.login-card{flex-direction:column;gap:18px;width:min(440px,100%);display:flex}.login-card h2{letter-spacing:-1.5px;font-family:Georgia,serif;font-size:42px}.login-card>p{color:var(--muted);margin-bottom:10px;line-height:1.55}label{color:#59615e;letter-spacing:.35px;text-transform:uppercase;flex-direction:column;gap:7px;font-size:11px;font-weight:850;display:flex}input,select{border:1px solid var(--line);width:100%;height:44px;color:var(--ink);text-transform:none;background:#fff;border-radius:11px;outline:0;padding:0 12px}input:focus,select:focus{border-color:#c28a30;box-shadow:0 0 0 3px #e4bd6740}.app-shell{grid-template-columns:245px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:var(--ink);flex-direction:column;height:100vh;padding:28px 20px 18px;display:flex;position:sticky;top:0}.logo{border-bottom:1px solid #ffffff12;align-items:center;gap:12px;padding:0 7px 32px;display:flex}.logo>span{width:42px;height:42px;color:var(--accent);border:1px solid #ffffff2e;border-radius:50%;place-items:center;font-family:Georgia,serif;display:grid}.logo div{flex-direction:column;gap:2px;display:flex}.logo strong{font-size:14px}.logo small{color:#899591;text-transform:uppercase;letter-spacing:1.4px;font-size:10px}.sidebar nav{flex-direction:column;gap:7px;padding-top:28px;display:flex}.sidebar nav button{color:#aeb8b4;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:13px;height:48px;padding:0 14px;font-weight:750;display:flex}.sidebar nav button span{font-size:20px}.sidebar nav button:hover{color:#fff;background:#ffffff0b}.sidebar nav button.active{color:var(--ink);background:var(--accent)}.sidebar-user{border-top:1px solid #ffffff12;grid-template-columns:36px 1fr 28px;align-items:center;gap:9px;margin-top:auto;padding:15px 8px 0;display:grid}.avatar{width:36px;height:36px;color:var(--ink);background:#dde5df;border-radius:50%;place-items:center;font-weight:900;display:grid}.sidebar-user div:nth-child(2){flex-direction:column;min-width:0;display:flex}.sidebar-user strong{text-overflow:ellipsis;font-size:12px;overflow:hidden}.sidebar-user small{color:#87938e;font-size:9px}.sidebar-user button{color:#8f9a96;background:0 0;border:0;font-size:18px}.workspace{min-width:0;padding:32px 38px 48px}.topbar{justify-content:space-between;align-items:flex-start;min-height:68px;display:flex}.topbar h1{letter-spacing:-1px;margin-top:4px;font-family:Georgia,serif;font-size:33px}.server-status{border:1px solid var(--line);height:34px;color:var(--muted);background:#ffffff80;border-radius:18px;align-items:center;gap:8px;margin-top:9px;padding:0 13px;font-size:11px;font-weight:800;display:flex}.server-status i{background:#4aa57c;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #4aa57c20}.page-alert{margin:8px 0 16px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0;display:grid}.stats article{border:1px solid var(--line);background:var(--card);border-radius:18px;grid-template-rows:auto 1fr auto;grid-template-columns:1fr auto;min-height:125px;padding:20px;display:grid}.stats span{color:var(--muted);text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:800}.stats strong{grid-column:1/3;align-self:center;font-family:Georgia,serif;font-size:32px}.stats small{color:#959b98;font-size:10px}.catalog-card,.panel-card{border:1px solid var(--line);background:var(--card);border-radius:19px;overflow:hidden}.catalog-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:25px;min-height:105px;padding:21px 23px;display:flex}.catalog-toolbar h2,.label-settings h2{font-family:Georgia,serif;font-size:27px}.catalog-toolbar p{color:var(--muted);margin-top:5px;font-size:12px}.toolbar-actions{align-items:center;gap:10px;display:flex}.toolbar-actions>input{width:290px}.archive-toggle{text-transform:none;white-space:nowrap;flex-direction:row;align-items:center;height:42px}.archive-toggle input{width:16px;height:16px}.product-table{width:100%}.table-head,.table-row{grid-template-columns:minmax(260px,1.5fr) minmax(250px,1.25fr) 105px 130px 150px;align-items:center;gap:14px;display:grid}.seller-table .table-head,.seller-table .table-row{grid-template-columns:minmax(280px,1.5fr) minmax(300px,1.4fr) 130px}.table-head{color:#8b918e;text-transform:uppercase;letter-spacing:.9px;background:#f5f3ed;height:42px;padding:0 22px;font-size:9px;font-weight:900}.table-row{border-top:1px solid #ebe9e3;min-height:82px;padding:13px 22px}.table-row:first-of-type{border-top:0}.table-row:hover{background:#fbfaf6}.table-row.archived{opacity:.55}.product-name{align-items:center;gap:12px;min-width:0;display:flex}.product-icon{color:#805a1e;background:#f5e6bf;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;font-family:Georgia,serif;font-size:19px;display:grid}.product-name>div:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.product-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.product-name small,.profit small{color:var(--muted);font-size:10px}.size-chips{flex-wrap:wrap;gap:5px;display:flex}.size-chips span{border:1px solid var(--line);min-width:47px;height:28px;color:var(--muted);background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:7px;padding:0 7px;font-size:10px;display:flex}.size-chips b{color:var(--ink)}.profit{flex-direction:column;gap:3px;display:flex}.profit>strong{color:var(--green)}.row-actions{justify-content:flex-end;gap:5px;display:flex}.row-actions button{color:#2f6355;background:#e7f0eb;border:0;border-radius:8px;padding:7px 9px;font-size:10px;font-weight:850}.row-actions .danger-link{color:var(--danger);background:#f7e7e4}.loading,.empty-state{min-height:260px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.empty-state h2{color:var(--ink);font-family:Georgia,serif;font-size:25px}.modal-backdrop{z-index:10;background:#101917c7;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.modal{background:var(--paper);border-radius:20px;flex-direction:column;width:min(1010px,100vw - 56px);max-height:calc(100vh - 56px);display:flex;overflow:hidden;box-shadow:0 25px 90px #0007}.modal-header{color:#fff;background:var(--ink);flex:none;justify-content:space-between;align-items:center;min-height:82px;padding:17px 22px;display:flex}.modal-header h2{margin-top:3px;font-family:Georgia,serif;font-size:28px}.icon-button{color:#fff;background:#ffffff16;border:0;border-radius:50%;width:40px;height:40px;font-size:26px}.modal-body{padding:18px;overflow:auto}.editor-grid{grid-template-columns:.9fr 1.1fr;align-items:start;gap:15px;display:grid}.form-card{border:1px solid var(--line);background:var(--card);border-radius:16px;flex-direction:column;gap:13px;padding:17px;display:flex}.form-card h3{font-family:Georgia,serif;font-size:20px}.form-columns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.profit-box{color:#2b6853;background:#e5f0ea;border-radius:11px;justify-content:space-between;padding:12px;font-size:12px;font-weight:800;display:flex}.preset-grid{grid-template-columns:1fr 1fr;gap:7px;display:grid}.preset{border:1px solid var(--line);min-height:43px;color:var(--muted);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:0 10px;font-size:10px;font-weight:800;display:flex}.preset i{border:2px solid #a5aaa7;border-radius:50%;width:14px;height:14px}.preset.selected{color:var(--ink);background:#fff6df;border-color:#bf8a34}.preset.selected i{border:4px solid #bd8228}.stock-heading{justify-content:space-between;align-items:flex-end;gap:12px;padding-top:5px;display:flex}.stock-heading p{color:var(--muted);margin-top:3px;font-size:10px}.total-field{width:76px}.total-field input{text-align:center;font-size:17px;font-weight:900}.stock-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stock-field{border:1px solid var(--line);min-height:48px;color:var(--ink);background:#fff;border-radius:10px;flex-direction:row;justify-content:space-between;align-items:center;padding:5px 8px}.stock-field span{font-size:13px}.stock-field input{text-align:center;width:60px;height:34px;padding:0 5px;font-weight:850}.balance{color:var(--danger);text-align:center;background:#f7e1de;border-radius:10px;padding:10px;font-size:11px;font-weight:850}.balance.ok{color:#267154;background:#ddefe7}.modal-alert{margin:0 18px 10px}.modal-footer{border-top:1px solid var(--line);background:var(--card);justify-content:flex-end;align-items:center;gap:10px;min-height:70px;padding:12px 18px;display:flex}.labels-layout{grid-template-columns:minmax(520px,1.2fr) minmax(360px,.8fr);align-items:start;gap:16px;margin-top:24px;display:grid}.label-settings,.print-guide{padding:25px}.label-settings{flex-direction:column;gap:16px;display:flex}.label-settings>p{color:var(--muted);font-size:13px;line-height:1.6}.copy-list{border:1px solid var(--line);border-radius:13px;overflow:hidden}.copy-list label{border-top:1px solid var(--line);text-transform:none;background:#fff;flex-direction:row;justify-content:space-between;align-items:center;min-height:61px;padding:9px 12px}.copy-list label:first-child{border-top:0}.copy-list label>span{flex-direction:column;gap:3px;display:flex}.copy-list strong{color:var(--ink);font-size:14px}.copy-list small{color:var(--muted);font-size:10px;font-weight:600}.copy-list input{text-align:center;width:76px;font-weight:900}.print-guide{color:#fff;background:var(--ink);min-height:410px;position:relative;overflow:hidden}.print-guide h3{margin-top:54px;font-family:Georgia,serif;font-size:25px}.print-guide ul{color:#b8c2be;padding-left:19px;font-size:12px;line-height:2}.guide-number{color:#ffffff0c;font-family:Georgia,serif;font-size:115px;font-weight:900;line-height:1;position:absolute;top:10px;right:20px}.label-preview{color:#111;background:#fff;border-radius:12px;grid-template-columns:1fr 80px;gap:10px;min-height:125px;margin-top:25px;padding:14px;display:grid}.label-preview>div:first-child{flex-direction:column;gap:8px;display:flex}.label-preview span{font-size:11px}.label-preview b{margin-top:auto;font-size:20px}.fake-qr{place-items:center;font-size:70px;line-height:1;display:grid}@media (width<=1200px){.workspace{padding-left:25px;padding-right:25px}.table-head,.table-row{grid-template-columns:minmax(220px,1.4fr) minmax(210px,1fr) 90px 120px 140px}.toolbar-actions>input{width:230px}}textarea{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;resize:vertical;text-transform:none;background:#fff;border-radius:11px;outline:0;padding:12px}textarea:focus{border-color:#c28a30;box-shadow:0 0 0 3px #e4bd6740}.alert.success{color:#26664f;background:#ddefe7;border:1px solid #c4e2d4}.button-link{justify-content:center;align-items:center;font-size:13px;text-decoration:none;display:inline-flex}.text-button,.danger-link{background:0 0;border:0;font-size:11px;font-weight:850}.text-button{color:#356b59}.danger-link{color:var(--danger)}.section-title{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.section-title h2{margin-top:3px;font-family:Georgia,serif;font-size:25px}.preset{flex-wrap:wrap;align-items:flex-start;padding-top:9px;padding-bottom:9px}.preset small{color:#8b918e;width:calc(100% - 22px);margin-left:22px;font-size:9px}.pos-layout{grid-template-columns:minmax(580px,1.4fr) minmax(390px,.8fr);align-items:start;gap:16px;margin-top:24px;display:grid}.pos-products,.cart-panel{padding:22px}.stock-pill{color:#28664f;background:#e4f0e9;border-radius:99px;padding:7px 11px;font-size:10px;font-weight:850}.scan-form{grid-template-columns:1fr auto;gap:8px;margin:18px 0 13px;display:grid}.pos-product-grid{grid-template-columns:1fr 1fr;gap:7px;max-height:calc(100vh - 270px);padding-right:3px;display:grid;overflow:auto}.pos-product{border:1px solid var(--line);min-height:67px;color:var(--ink);text-align:left;background:#fff;border-radius:13px;grid-template-columns:40px 1fr auto;align-items:center;gap:9px;padding:9px;display:grid}.pos-product:hover{background:#fffbf0;border-color:#c79849}.pos-product>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.pos-product strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.pos-product small{color:var(--muted);font-size:9px}.pos-product>b{font-size:12px}.cart-panel{position:sticky;top:24px}.cart-lines{border-top:1px solid var(--line);min-height:150px;max-height:310px;margin:16px 0;overflow:auto}.cart-line{border-bottom:1px solid var(--line);grid-template-columns:1fr auto 75px;align-items:center;gap:8px;min-height:63px;display:grid}.cart-line>span{flex-direction:column;gap:3px;min-width:0;display:flex}.cart-line>span strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.cart-line small{color:var(--muted);font-size:9px}.cart-line>b{text-align:right;font-size:11px}.quantity{align-items:center;gap:6px;display:flex}.quantity button{background:#ebe9e2;border:0;border-radius:8px;width:27px;height:27px}.quantity b{text-align:center;min-width:18px;font-size:11px}.empty-mini{min-height:150px;color:var(--muted);text-align:center;place-items:center;font-size:11px;display:grid}.cart-total{justify-content:space-between;align-items:center;padding:15px 0;display:flex}.cart-total span{font-size:15px;font-weight:850}.cart-total strong{font-family:Georgia,serif;font-size:31px}.payment-switch{grid-template-columns:1fr 1fr;gap:7px;display:grid}.payment-switch button{border:1px solid var(--line);height:42px;color:var(--muted);background:#fff;border-radius:11px;font-weight:850}.payment-switch button.selected{color:var(--ink);background:#fff2d3;border-color:#bd8128}.sale-date-field{margin-bottom:11px}.sale-date-field input{font-weight:750}.cash-box{background:#f5f3ed;border-radius:13px;grid-template-columns:1fr 1fr;align-items:end;gap:12px;margin:11px 0;padding:12px;display:grid}.cash-box>div{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.cash-box>div span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:850}.cash-box>div strong{font-size:22px}.positive{color:var(--green)}.negative{color:var(--danger)}.sale-button{margin-top:10px}.modal.compact{width:min(660px,100vw - 56px)}.receipt-modal{flex-direction:column;gap:13px;display:flex}.receipt-card{border:1px solid var(--line);background:#fff;border-radius:14px;width:min(430px,100%);margin:0 auto;padding:20px}.receipt-brand{flex-direction:column;align-items:center;gap:3px;display:flex}.receipt-brand strong{font-family:Georgia,serif;font-size:23px}.receipt-brand span{font-weight:850}.receipt-brand small{color:var(--muted);font-size:10px}.receipt-lines{border-top:1px dashed #aaa;margin:15px 0}.receipt-lines>div{border-bottom:1px dashed #aaa;justify-content:space-between;align-items:center;gap:15px;min-height:57px;display:flex}.receipt-lines span{flex-direction:column;gap:3px;display:flex}.receipt-lines b{font-size:11px}.receipt-lines small{color:var(--muted);font-size:9px}.receipt-total{justify-content:space-between;align-items:center;font-size:18px;display:flex}.receipt-total strong{font-size:24px}.receipt-payment{color:var(--muted);justify-content:space-between;gap:10px;padding-top:11px;font-size:10px;display:flex}.receipt-payment b{color:var(--green)}.internal-summary{color:#fff;background:var(--ink);border-radius:10px;justify-content:space-between;margin-top:13px;padding:11px;font-size:11px;display:flex}.internal-summary strong{color:var(--accent)}.receipt-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.sales-list button{border:0;border-top:1px solid var(--line);width:100%;min-height:68px;color:var(--ink);text-align:left;background:0 0;grid-template-columns:1fr 100px 110px 100px;align-items:center;gap:12px;padding:11px 22px;display:grid}.sales-list button:hover{background:#fbfaf6}.sales-list button>span:first-child{flex-direction:column;gap:4px;display:flex}.sales-list small{color:var(--muted);font-size:10px}.sales-list button>span:nth-child(2){color:#426b7b;font-size:10px;font-weight:850}.sales-list button>b{text-align:right}.sales-list em{color:var(--green);text-align:right;font-size:11px;font-style:normal;font-weight:850}.users-layout,.settings-layout{grid-template-columns:390px 1fr;align-items:start;gap:16px;margin-top:24px;display:grid}.user-form,.settings-form{flex-direction:column;gap:14px;padding:22px;display:flex}.user-form h2,.settings-form h2{font-family:Georgia,serif;font-size:27px}.user-form>p,.settings-form>p{color:var(--muted);font-size:12px;line-height:1.5}.users-layout>section:last-child{padding:22px}.users-list{border:1px solid var(--line);border-radius:13px;margin-top:17px;overflow:hidden}.users-list article{border-top:1px solid var(--line);grid-template-columns:1fr 135px 120px 80px;align-items:center;gap:8px;min-height:69px;padding:10px;display:grid}.users-list article:first-child{border-top:0}.users-list article.inactive{opacity:.5}.users-list article>div{flex-direction:column;gap:3px;min-width:0;display:flex}.users-list article small{color:var(--muted);font-size:9px}.users-list select{height:36px;font-size:10px}.users-list .secondary{min-height:36px;padding:0 9px;font-size:9px}.ticket-preview{text-align:center;padding:35px}.ticket-preview h2{margin-top:8px;font-family:Georgia,serif;font-size:30px}.ticket-preview>p{color:var(--muted);margin:13px 0;line-height:1.6}.ticket-preview hr{border:0;border-top:1px dashed #999}.ticket-preview>div:not(.crystal-diamond){justify-content:space-between;padding:10px 0;display:flex}.ticket-preview .preview-total{font-size:21px;font-weight:900}.crystal-diamond{color:var(--accent-dark);margin-top:20px;font-size:58px;line-height:1}.preview-tagline{color:var(--accent-dark);letter-spacing:3px;margin-top:7px;font-size:10px;display:block}.sizing-modal{width:min(900px,100vw - 56px)}.sizing-layout{grid-template-columns:1.2fr .8fr;align-items:start;gap:15px;display:grid}.preset-manager-list{border:1px solid var(--line);border-radius:14px;overflow:hidden}.preset-manager-list article{border-top:1px solid var(--line);background:#fff;grid-template-columns:1fr 75px 75px;align-items:center;gap:7px;min-height:74px;padding:10px 12px;display:grid}.preset-manager-list article:first-child{border-top:0}.preset-manager-list article.inactive{opacity:.5}.preset-manager-list article>div{flex-direction:column;gap:3px;display:flex}.preset-manager-list small{color:var(--muted);font-size:10px}.preset-manager-list em{color:var(--accent-dark);text-transform:uppercase;font-size:8px;font-style:normal;font-weight:900}.preset-manager-list .secondary{min-height:34px;padding:0 8px;font-size:9px}.sizing-form{border:1px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;gap:12px;padding:17px;display:flex}.sizing-form h3{font-family:Georgia,serif;font-size:22px}.sizing-form>p{color:var(--muted);font-size:10px;line-height:1.5}@media (width<=1280px){.pos-layout{grid-template-columns:minmax(520px,1.2fr) 370px}.pos-product-grid{grid-template-columns:1fr}.users-layout{grid-template-columns:350px 1fr}}
