:root{--bg:#f8f8f6;--card:#fff;--black:#111;--charcoal:#262626;--muted:#74746f;--border:#e8e8e5;--gold:#b9975b;--gold-dark:#8e713f;--gold-soft:#f3ecdd;--green:#16a34a;--green-soft:#edf8f0;--red:#dc2626;--red-soft:#fff0ef;--amber:#d98909;--amber-soft:#fff8e8;--blue:#2563eb;--blue-soft:#eef5ff;--sidebar:204px}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--black);margin:0;padding:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-height:100vh}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.os-frame{min-height:100vh}.sidebar{width:var(--sidebar);color:#fff;z-index:50;background:linear-gradient(#0c0d0d,#111313 70%,#0a0b0b);border-right:1px solid #252525;flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.sidebar-brand{border-bottom:1px solid #b9975b59;flex-direction:column;justify-content:center;align-items:center;height:120px;display:flex}.brand-mark{color:var(--gold);font:42px/1 Georgia,serif}.brand-mark-large{font-size:70px}.brand-name{letter-spacing:5px;color:#d7b76e;margin-top:6px;font:16px/1.1 Georgia,serif}.brand-os{letter-spacing:5px;color:#d7b76e;margin-top:5px;font:11px/1 Georgia,serif}.sidebar-nav{flex-direction:column;gap:2px;padding:10px 7px;display:flex;overflow-y:auto}.nav-item{color:#d7d7d4;border-radius:9px;align-items:center;gap:11px;padding:10px 13px;font-size:13px;transition:all .2s;display:flex}.nav-item:hover{color:#fff;background:#1a1b1b}.nav-item.active{color:#d7b76e;box-shadow:inset 3px 0 var(--gold);background:linear-gradient(90deg,#b9975b38,#b9975b14)}.nav-divider{background:#b9975b42;height:1px;margin:9px 5px}.sidebar-footer{text-align:center;color:#d7b76e;letter-spacing:3px;margin-top:auto;padding:18px;font-family:Georgia,serif}.sidebar-footer small{margin-top:5px;font-size:8px;display:block}.mini-monogram{font-size:25px}.main-column{margin-left:var(--sidebar);min-height:100vh}.topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);z-index:30;background:#ffffffeb;align-items:center;gap:18px;height:76px;padding:0 28px;display:flex;position:sticky;top:0}.global-search{border:1px solid var(--border);background:#fff;border-radius:11px;align-items:center;gap:10px;width:min(480px,48vw);height:42px;padding:0 13px;display:flex}.global-search input{width:100%;color:var(--black);background:0 0;border:0;outline:0}.topbar-actions{align-items:center;gap:13px;margin-left:auto;display:flex}.icon-button{border:1px solid var(--border);width:40px;height:40px;color:var(--black);background:#fff;border-radius:10px;place-items:center;display:inline-grid;position:relative}.notification span{background:var(--gold);color:#fff;border-radius:99px;padding:3px 6px;font-size:10px;position:absolute;top:-6px;right:-5px}.profile-chip{align-items:center;gap:9px;padding-left:7px;display:flex}.profile-chip small{color:var(--muted);font-size:11px;display:block}.avatar{color:#d7b76e;background:#111;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.avatar.large{width:50px;height:50px}.mobile-menu{display:none}.content-area{max-width:1600px;margin:0 auto;padding:26px 28px 48px}.page-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:21px;display:flex}.page-header h1{letter-spacing:-.8px;margin:2px 0 4px;font-size:29px}.page-header p{color:var(--muted);margin:0;font-size:14px}.eyebrow{letter-spacing:1.7px;color:var(--gold-dark);font-size:10px;font-weight:800}.button{border:1px solid var(--border);background:#fff;border-radius:10px;align-items:center;gap:7px;padding:10px 14px;font-size:13px;font-weight:650;display:inline-flex}.button-dark{color:#fff;background:#111;border-color:#111}.button-full{justify-content:center;width:100%}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px;display:grid}.stats-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card,.panel,.product-card,.customer-card{background:var(--card);border:1px solid var(--border);border-radius:15px;box-shadow:0 4px 16px #0f0f0f06}.stat-card{min-height:134px;padding:17px 18px}.stat-top{color:#44443f;justify-content:space-between;align-items:center;font-size:13px;display:flex}.stat-icon{color:#d6b46a;background:#111;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.stat-value{letter-spacing:-.8px;margin:9px 0;font-size:27px;display:block}.stat-meta{font-size:12px}.stat-meta em{color:var(--muted);margin-left:5px;font-style:normal}.positive{color:var(--green);align-items:center;gap:3px;display:inline-flex}.muted{color:var(--muted)}.warning-text{color:var(--amber)}.danger-text{color:var(--red)}.progress{background:#ecece8;border-radius:99px;height:8px;margin:8px 0;overflow:hidden}.progress span{background:linear-gradient(90deg,var(--gold),#d4aa57);border-radius:inherit;height:100%;display:block}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:16px;margin-top:16px;display:grid}.dashboard-grid.bottom{align-items:stretch}.panel{padding:18px}.panel-head{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;display:flex}.panel-head h2{margin:0 0 3px;font-size:15px}.panel-head p{color:var(--muted);margin:0;font-size:12px}.segment{border:1px solid var(--border);background:#f3f3f0;border-radius:9px;padding:3px;display:flex}.segment button{background:0 0;border:0;border-radius:7px;padding:5px 8px;font-size:11px}.segment .active{color:#fff;background:#111}.table-wrap{overflow-x:auto}.modern-table{border-collapse:collapse;width:100%;font-size:12px}.modern-table th{text-align:left;color:#7a7a75;border-bottom:1px solid var(--border);padding:10px;font-weight:600}.modern-table td{white-space:nowrap;border-bottom:1px solid #f0f0ed;padding:12px 10px}.modern-table tr:last-child td{border-bottom:0}.status{border-radius:6px;padding:4px 8px;font-size:10px;font-weight:650;display:inline-flex}.status.pagado,.status.success{color:var(--green);background:var(--green-soft)}.status.pendiente,.status.warning{color:var(--amber);background:var(--amber-soft)}.status.parcial,.status.info{color:var(--blue);background:var(--blue-soft)}.status.vencido{color:var(--red);background:var(--red-soft)}.alerts{flex-direction:column;gap:9px;display:flex}.alert{border:1px solid;border-radius:10px;align-items:center;gap:12px;padding:12px;display:flex}.alert svg{width:19px}.alert div{flex-direction:column;gap:2px;display:flex}.alert strong{font-size:12px}.alert span{color:#555;font-size:11px}.alert.danger{background:var(--red-soft);color:var(--red);border-color:#fac7c3}.alert.warning{background:var(--amber-soft);color:var(--amber);border-color:#f4dba4}.alert.info{background:var(--blue-soft);color:var(--blue);border-color:#c9ddff}.alert.success{background:var(--green-soft);color:var(--green);border-color:#c8e9d1}.quick-grid{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.quick-grid a{border:1px solid var(--border);text-align:center;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:82px;font-size:11px;transition:all .2s;display:flex}.quick-grid a:hover{border-color:var(--gold);transform:translateY(-1px)}.quick-grid svg{width:20px}.gold-link{color:var(--gold-dark);font-size:12px;font-weight:700}.module-empty{text-align:center;padding:70px 20px}.empty-icon{width:60px;height:60px;color:var(--gold);background:#111;border-radius:50%;place-items:center;margin:0 auto 14px;font-family:Georgia,serif;font-size:28px;display:grid}.module-empty h2{margin:0}.module-empty p{color:var(--muted);max-width:550px;margin:8px auto 18px}.module-toolbar{gap:9px;margin-bottom:14px;display:flex}.module-toolbar input{border:1px solid var(--border);border-radius:10px;outline:none;flex:1;padding:10px 12px}.product-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.product-card{grid-template-columns:110px 1fr;align-items:center;gap:20px;padding:20px;display:grid}.product-bottle{width:92px;height:128px;color:var(--gold);background:linear-gradient(160deg,#161616,#020202);border-radius:12px;place-items:center;font:34px Georgia,serif;display:grid;box-shadow:0 15px 30px #00000026}.product-bottle.light{color:#fff;background:linear-gradient(160deg,#efe5d4,#d7c09a)}.product-card h2{margin:5px 0 4px;font-size:18px}.product-card p{color:var(--muted);margin:0;font-size:12px}.product-numbers{gap:30px;margin-top:18px;display:flex}.product-numbers strong{font-size:25px}.product-numbers small{color:var(--muted);font-size:10px;font-weight:500;display:block}.cards-list{gap:12px;display:grid}.customer-card{align-items:center;gap:14px;padding:16px;display:flex}.customer-card h3{margin:0 0 4px;font-size:14px}.customer-card p{color:var(--muted);margin:0;font-size:12px}.customer-card>strong{margin-left:auto}.big-progress{text-align:center;padding:30px 15px}.big-progress strong{font-size:54px}.big-progress p{color:var(--muted);font-size:12px;line-height:1.7}.profile-panel{max-width:950px}.profile-photo-editor{border-bottom:1px solid var(--border);align-items:center;gap:18px;padding-bottom:22px;display:flex}.profile-photo{width:92px;height:92px;color:var(--gold);background:#111;border-radius:50%;place-items:center;font-size:26px;font-weight:800;display:grid;overflow:hidden}.profile-photo img{object-fit:cover;width:100%;height:100%}.profile-photo-editor h3{margin:0 0 4px}.profile-photo-editor p{color:var(--muted);margin:0 0 11px;font-size:12px}.button-row{flex-wrap:wrap;gap:8px;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:16px;margin-top:22px;display:grid}.form-grid label{font-size:12px;font-weight:650}.form-grid input{border:1px solid var(--border);background:#fff;border-radius:10px;width:100%;margin-top:7px;padding:11px;display:block}.form-actions{margin-top:18px}.demo-note{background:var(--gold-soft);color:#6c5935;border:1px solid #e7d7b8;border-radius:10px;margin-top:16px;padding:12px 14px;font-size:12px}.upload-zone{color:#5c513f;background:#fdfbf7;border:1.5px dashed #d4c49f;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;width:100%;min-height:180px;display:flex}.upload-zone svg{color:var(--gold-dark)}.upload-zone span{color:var(--muted);font-size:12px}.upload-zone em{color:var(--gold-dark);margin-top:4px;font-size:11px;font-style:normal;font-weight:700}.file-list{gap:8px;margin-top:14px;display:grid}.file-row{border:1px solid var(--border);border-radius:10px;align-items:center;gap:11px;padding:12px;display:flex}.file-icon{width:38px;height:38px;color:var(--gold-dark);background:#f3f3ef;border-radius:9px;place-items:center;display:grid}.file-row div{flex-direction:column;display:flex}.file-row strong{font-size:12px}.file-row small{color:var(--muted);margin-top:3px;font-size:10px}.file-row .icon-button{margin-left:auto}.login-page{background:#fff;grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.login-brand{color:#fff;text-align:center;background:radial-gradient(circle at 30% 20%,#252525,#090a0a 65%);flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.login-brand p{color:#b7b7b1;max-width:320px;margin-top:25px;font-size:13px;line-height:1.7}.login-panel{background:#fafaf8;place-items:center;padding:30px;display:grid}.login-card{border:1px solid var(--border);background:#fff;border-radius:18px;width:min(420px,100%);padding:34px;box-shadow:0 18px 50px #0000000f}.login-card h1{margin:6px 0 4px;font-size:30px}.login-form{gap:16px;margin-top:22px;display:grid}.login-form>label{font-size:12px;font-weight:650}.field{border:1px solid var(--border);border-radius:10px;align-items:center;gap:9px;margin-top:6px;padding:0 11px;display:flex}.field input{border:0;outline:0;width:100%;height:42px}.login-row{justify-content:space-between;align-items:center;font-size:11px;display:flex}.remember{align-items:center;gap:6px;display:flex}.back-link{text-align:center;color:var(--muted);margin-top:15px;font-size:12px;display:block}.mobile-bottom,.sidebar-backdrop{display:none}@media (max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.stats-grid.three{grid-template-columns:repeat(3,1fr)}.dashboard-grid,.product-grid{grid-template-columns:1fr}}@media (max-width:820px){:root{--sidebar:230px}.sidebar{transition:all .25s;transform:translate(-102%);box-shadow:18px 0 50px #0003}.sidebar.open{transform:none}.sidebar-backdrop{z-index:45;background:#00000040;border:0;display:block;position:fixed;inset:0}.main-column{margin-left:0}.mobile-menu{display:grid}.topbar{height:64px;padding:0 14px}.global-search{flex:1;width:auto}.global-search input::placeholder{color:#0000}.profile-chip div:not(.avatar){display:none}.content-area{padding:18px 14px 90px}.page-header{align-items:flex-start}.page-header h1{font-size:24px}.page-header>div:last-child .button{font-size:0}.page-header>div:last-child .button:after{content:"Filtros";font-size:12px}.stats-grid,.stats-grid.three{grid-template-columns:1fr 1fr;gap:10px}.stat-card{min-height:126px;padding:14px}.stat-value{font-size:21px}.stat-icon{width:36px;height:36px}.dashboard-grid{gap:10px;margin-top:10px}.panel{padding:14px}.segment{display:none}.quick-grid{grid-template-columns:repeat(3,1fr)}.mobile-bottom{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);z-index:40;height:72px;padding:7px 8px max(7px,env(safe-area-inset-bottom));background:#fffffff5;grid-template-columns:1fr 1fr 62px 1fr 1fr;align-items:end;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-bottom a,.mobile-bottom button{color:#7b7b75;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;font-size:9px;display:flex}.mobile-bottom svg{width:19px}.mobile-bottom .active{color:var(--gold-dark)}.mobile-bottom .mobile-plus{width:48px;height:48px;color:var(--gold);background:#111;border-radius:50%;justify-content:center;place-self:center;box-shadow:0 5px 18px #0000002e}.mobile-bottom .mobile-plus svg{width:24px}.product-card{grid-template-columns:75px 1fr}.product-bottle{width:66px;height:98px}.form-grid,.login-page{grid-template-columns:1fr}.login-brand{display:none}.login-panel{padding:18px}.login-card{padding:25px}}@media (max-width:560px){.stats-grid,.stats-grid.three{grid-template-columns:1fr}.page-header{flex-direction:column}.page-header>div:last-child{align-self:stretch}.page-header>div:last-child .button{justify-content:center;width:100%}.product-card{text-align:center;grid-template-columns:1fr}.product-bottle{margin:auto}.product-numbers{justify-content:center}.profile-photo-editor{text-align:center;flex-direction:column}.button-row{justify-content:center}.quick-grid{grid-template-columns:repeat(2,1fr)}}.sidebar-brand{height:146px;padding:17px 18px 13px}.sidebar-logo{object-fit:contain;object-position:center;width:138px;max-width:100%;height:88px;display:block}.sidebar-brand .brand-os{letter-spacing:5px;color:#d7b76e;margin-top:-4px;font:10px/1 Georgia,serif}.sidebar-footer{padding:18px 14px 22px}.sidebar-footer-logo{object-fit:contain;width:128px;max-width:100%;height:76px;margin:0 auto;display:block}.login-logo{object-fit:contain;width:min(360px,78%);height:auto;max-height:250px;display:block}.login-os-label{color:#d7b76e;letter-spacing:8px;margin-top:-10px;font:12px/1 Georgia,serif}@media (max-width:820px){.sidebar-logo{width:150px}}.auth-error{background:var(--red-soft);color:var(--red);border:1px solid #fac7c3;border-radius:9px;padding:10px 12px;font-size:12px}.secure-note{color:#676761;border:1px solid var(--border);background:#f4f4f1;border-radius:9px;margin-top:14px;padding:10px 12px;font-size:11px}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.avatar{overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.upload-message{color:var(--gold-dark);margin-top:9px;font-weight:650;display:block}.empty-files{text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:10px;padding:24px;font-size:12px}.inventory-command{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.inventory-tabs{border:1px solid var(--border);background:#f3f3f0;border-radius:11px;gap:3px;padding:4px;display:flex}.inventory-tabs button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:8px 14px;font-size:12px;font-weight:700}.inventory-tabs button.active{color:#fff;background:#111}.inventory-actions{gap:8px;display:flex}.inventory-filter{align-items:center;gap:15px;margin-bottom:16px;display:flex}.inventory-search{border:1px solid var(--border);border-radius:10px;flex:1;align-items:center;gap:9px;padding:0 12px;display:flex}.inventory-search input{background:0 0;border:0;outline:0;width:100%;height:40px}.inventory-filter>span{color:var(--muted);white-space:nowrap;font-size:11px}.inventory-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.inventory-product-card{border:1px solid var(--border);background:#fff;border-radius:16px;grid-template-columns:185px 1fr;display:grid;overflow:hidden;box-shadow:0 5px 18px #00000006}.inventory-product-image{background:linear-gradient(145deg,#f3f0e9,#faf9f6);place-items:center;min-height:330px;display:grid;position:relative;overflow:hidden}.inventory-product-image img{object-fit:cover;width:100%;height:100%}.product-placeholder{width:95px;height:145px;color:var(--gold);background:linear-gradient(160deg,#171717,#040404);border-radius:14px;place-items:center;font:42px Georgia,serif;display:grid;box-shadow:0 20px 35px #0000002e}.inactive-overlay{color:#fff;background:#111;border-radius:7px;padding:5px 8px;font-size:10px;position:absolute;inset:12px auto auto 12px}.inventory-product-body{padding:18px}.inventory-product-title{justify-content:space-between;gap:10px;display:flex}.inventory-product-title h2{margin:4px 0;font-size:18px}.inventory-product-title p{color:var(--muted);margin:0;font-size:11px}.stock-highlight{grid-template-columns:1fr 1fr;gap:8px;margin-top:18px;display:grid}.stock-highlight>div{border:1px solid var(--border);background:#f8f8f5;border-radius:11px;padding:11px}.stock-highlight span,.product-finance span{color:var(--muted);margin-bottom:3px;font-size:10px;display:block}.stock-highlight strong{font-size:25px}.stock-breakdown{border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;gap:6px 12px;padding:13px 2px;display:grid}.stock-breakdown span{color:var(--muted);justify-content:space-between;font-size:10px;display:flex}.stock-breakdown b{color:var(--black)}.product-finance{grid-template-columns:repeat(3,1fr);gap:8px;padding:13px 0;display:grid}.product-finance strong{font-size:11px}.stock-alert{background:var(--red-soft);color:var(--red);border:1px solid #fac7c3;border-radius:9px;align-items:center;gap:7px;margin-bottom:10px;padding:9px 10px;font-size:10px;display:flex}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0000006b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border:1px solid #ffffffb3;border-radius:18px;width:min(760px,100%);max-height:calc(100vh - 36px);padding:20px;overflow:auto;box-shadow:0 30px 90px #00000038}.product-modal{width:min(980px,100%)}.modal-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;padding-bottom:14px;display:flex}.modal-head h2{margin:4px 0 0;font-size:21px}.modal-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;margin-top:16px;padding-top:16px;display:flex}.product-form-layout{grid-template-columns:210px 1fr;gap:20px;display:grid}.product-image-picker{aspect-ratio:4/5;width:100%;color:var(--gold-dark);background:#faf8f2;border:1.5px dashed #ccb986;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;overflow:hidden}.product-image-picker img{object-fit:cover;width:100%;height:100%}.helper{text-align:center;color:var(--muted);margin-top:7px;font-size:9px;display:block}.product-form-grid{margin-top:0}.form-grid select,.form-grid textarea{border:1px solid var(--border);background:#fff;border-radius:10px;outline:none;width:100%;margin-top:7px;padding:11px;display:block}.form-grid textarea{resize:vertical}.span-2{grid-column:span 2}.checkbox-label{align-items:center;gap:8px;margin-top:24px;display:flex!important}.checkbox-label input{width:auto!important;margin:0!important}.movement-types{flex-wrap:wrap;gap:6px;margin-bottom:17px;display:flex}.movement-types button{border:1px solid var(--border);background:#fff;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:700}.movement-types button.active{color:#fff;background:#111;border-color:#111}.movement-help{background:var(--gold-soft);color:#6c5935;border:1px solid #e7d7b8;border-radius:9px;margin-top:13px;padding:11px 12px;font-size:11px}.table-empty{text-align:center;color:var(--muted);padding:32px!important}@media (max-width:1250px){.inventory-product-grid{grid-template-columns:1fr}}@media (max-width:820px){.inventory-command{flex-direction:column;align-items:stretch}.inventory-actions{grid-template-columns:1fr 1fr;display:grid}.inventory-actions .button{justify-content:center}.inventory-product-card{grid-template-columns:125px 1fr}.inventory-product-image{min-height:280px}.product-form-layout{grid-template-columns:1fr}.product-image-picker{max-width:220px;margin:auto}}@media (max-width:560px){.inventory-product-card{grid-template-columns:1fr}.inventory-product-image{min-height:230px;max-height:260px}.inventory-product-image img{object-position:center}.stock-highlight{grid-template-columns:1fr 1fr}.product-finance{grid-template-columns:1fr 1fr 1fr}.span-2{grid-column:auto}.modal-backdrop{align-items:end;padding:0}.modal-card{border-radius:20px 20px 0 0;width:100%;max-height:92vh;padding:16px}}.date-chip{border:1px solid var(--border);color:var(--muted);background:#fff;border-radius:10px;padding:9px 12px;font-size:12px;display:inline-flex}.chart-empty{height:250px;color:var(--muted);place-items:center;font-size:12px;display:grid}.finance-add{margin-bottom:14px}.sale-lines{border:1px solid var(--border);background:#f8f8f5;border-radius:12px;gap:8px;margin:18px 0;padding:14px;display:grid}.sale-line{grid-template-columns:1fr 90px 130px 40px;align-items:center;gap:8px;display:grid}.sale-line select,.sale-line input{border:1px solid var(--border);background:#fff;border-radius:9px;height:40px;padding:0 10px}.sale-total{justify-content:space-between;align-items:center;padding:14px 2px;font-size:13px;display:flex}.sale-total strong{font-size:22px}.store-card{min-height:180px}.store-card h2{margin:14px 0 5px}.store-card p{color:var(--muted);min-height:36px;font-size:12px}.store-card>strong{font-size:12px}.finance-explainer{max-width:800px}.finance-explainer h2{margin-top:0}.finance-explainer p{color:var(--muted);font-size:13px;line-height:1.8}.settings-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.settings-grid>div{border:1px solid var(--border);background:#fafaf8;border-radius:11px;padding:16px}.settings-grid span{color:var(--muted);margin-bottom:5px;font-size:10px;display:block}.settings-grid strong{font-size:13px}.secondary-actions{border-top:1px solid var(--border);padding-top:18px}@media (max-width:700px){.sale-line{grid-template-columns:1fr 70px}.sale-line strong{font-size:11px}.sale-line .icon-button{display:none}.settings-grid{grid-template-columns:1fr}}.button,.icon-button,.nav-item,.gold-link,.inventory-product-card,.customer-card,.store-card,.modern-table tbody tr{transition:transform .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s,border-color .24s,background-color .24s,color .24s,opacity .24s}.button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #00000014}.button-dark:hover{box-shadow:0 10px 24px #0000002e}.icon-button:hover{transform:translateY(-1px)scale(1.04)}.nav-item:hover{transform:translate(3px)}.inventory-product-card:hover,.customer-card:hover,.store-card:hover{border-color:#b9975b6b;transform:translateY(-4px);box-shadow:0 16px 34px #00000013}.modern-table tbody tr:hover{background:#fbfaf7}.dashboard-motion{isolation:isolate;position:relative}.dashboard-motion:before{content:"";pointer-events:none;z-index:-1;background:radial-gradient(circle,#b9975b13,#b9975b00 68%);border-radius:50%;width:420px;height:420px;animation:11s ease-in-out infinite alternate valeriovAmbientFloat;position:fixed;top:100px;right:-180px}.dashboard-motion .stat-card,.dashboard-motion .panel{animation:.7s cubic-bezier(.2,.8,.2,1) both valeriovReveal;position:relative;overflow:hidden}.dashboard-motion .stats-grid .stat-card:nth-child(2){animation-delay:60ms}.dashboard-motion .stats-grid .stat-card:nth-child(3){animation-delay:.12s}.dashboard-motion .stats-grid .stat-card:nth-child(4){animation-delay:.18s}.dashboard-motion .dashboard-grid .panel:first-child{animation-delay:.16s}.dashboard-motion .dashboard-grid .panel:nth-child(2){animation-delay:.23s}.dashboard-motion .stat-card:after{content:"";pointer-events:none;opacity:0;background:linear-gradient(105deg,#0000 36%,#b9975b13 50%,#0000 64%);animation:8.5s ease-in-out infinite valeriovSheen;position:absolute;inset:0;transform:translate(-120%)}.dashboard-motion .stat-card:nth-child(2):after{animation-delay:1.1s}.dashboard-motion .stat-card:nth-child(3):after{animation-delay:2.2s}.dashboard-motion .stat-card:nth-child(4):after{animation-delay:3.3s}.dashboard-motion .stat-icon{animation:4.8s ease-in-out infinite valeriovIconBreath}.dashboard-motion .panel:hover,.dashboard-motion .stat-card:hover{border-color:#b9975b57;transform:translateY(-4px);box-shadow:0 18px 42px #00000012}.dashboard-motion .progress>span{position:relative;overflow:hidden}.dashboard-motion .progress>span:after{content:"";background:linear-gradient(90deg,#0000,#ffffff73,#0000);animation:3.8s ease-in-out infinite valeriovProgressGlow;position:absolute;inset:0}@keyframes valeriovReveal{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes valeriovAmbientFloat{0%{transform:translate(0,0)scale(1)}to{transform:translate(-42px,38px)scale(1.08)}}@keyframes valeriovSheen{0%,76%,to{opacity:0;transform:translate(-120%)}82%{opacity:1}92%{opacity:0;transform:translate(120%)}}@keyframes valeriovIconBreath{0%,to{transform:translateY(0);box-shadow:0 0 #b9975b00}50%{transform:translateY(-2px);box-shadow:0 8px 18px #b9975b1a}}@keyframes valeriovProgressGlow{0%,to{transform:translate(-120%)}55%{transform:translate(120%)}}.table-actions{flex-wrap:wrap;gap:6px;display:flex}.button-compact{min-height:32px;padding:7px 9px;font-size:10px}.invoice-screen{color:#111;background:radial-gradient(circle at 82% 8%,#b9975b1f,#0000 24%),#f3f3ef;min-height:100vh;padding:28px 18px 60px}.invoice-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;width:min(920px,100%);margin:0 auto 18px;display:flex}.invoice-format-switch{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffc7;border:1px solid #deded8;border-radius:12px;gap:7px;padding:4px;display:flex}.invoice-print-button{color:#fff;background:#b9975b;border-color:#b9975b}.invoice-paper{background:#fff;margin:0 auto;box-shadow:0 28px 70px #0000001f}.invoice-screen-thermal .invoice-actions{width:min(720px,100%)}.invoice-thermal{box-sizing:border-box;color:#000;width:55mm;min-height:100mm;padding:4mm 2.4mm 5mm;font-family:Arial,Helvetica,sans-serif;font-size:8.1pt;line-height:1.32}.thermal-header{text-align:center;padding:0 0 2.2mm}.thermal-logo{object-fit:contain;filter:grayscale()contrast(1.8)brightness(.62);width:34mm;height:17mm;margin:0 auto;display:block}.thermal-brand-label{letter-spacing:2.1mm;margin-top:-1.8mm;font-size:6pt;font-weight:700}.thermal-meta{gap:1mm;display:grid}.thermal-meta>div,.thermal-payment>div,.thermal-totals>div{justify-content:space-between;align-items:flex-start;gap:2mm;display:flex}.thermal-meta span,.thermal-payment span,.thermal-totals span{color:#333}.thermal-meta strong{text-align:right;max-width:31mm}.thermal-divider{border-top:.35mm dashed #222;margin:2.4mm 0}.thermal-customer{gap:.55mm;display:grid}.thermal-customer b{text-transform:uppercase;letter-spacing:.3mm;font-size:7pt}.thermal-items{gap:2.4mm;display:grid}.thermal-item{gap:.45mm;display:grid}.thermal-item>strong{font-size:8.2pt}.thermal-sku{color:#555;font-size:6.5pt}.thermal-item>div{justify-content:space-between;gap:2mm;display:flex}.thermal-grand-total{border-top:.45mm solid #000;border-bottom:.45mm solid #000;margin:.9mm 0;padding:1.7mm 0;font-size:10.2pt}.thermal-footer{text-align:center;gap:.75mm;margin-top:2mm;font-size:7pt;display:grid}.thermal-footer strong{font-size:8pt}.invoice-letter{box-sizing:border-box;color:#151515;width:216mm;min-height:279mm;padding:18mm 18mm 16mm;font-family:Arial,Helvetica,sans-serif}.letter-header{justify-content:space-between;align-items:flex-start;gap:20mm;display:flex}.letter-logo{object-fit:contain;object-position:left center;width:58mm;height:31mm}.letter-header>div:first-child p{letter-spacing:3.2mm;color:#9a7a43;margin:-4mm 0 0 11mm;font-size:7pt}.letter-title{justify-items:end;gap:2mm;padding-top:2mm;display:grid}.letter-title span{letter-spacing:.7mm;color:#9a7a43;font-size:8pt;font-weight:700}.letter-title strong{font-size:17pt}.letter-title small{color:#777}.letter-gold-rule{background:linear-gradient(90deg,#111 0 32%,#b9975b 32% 100%);height:.6mm;margin:9mm 0 10mm}.letter-info-grid{grid-template-columns:1.35fr 1fr;gap:18mm;margin-bottom:11mm;display:grid}.letter-info-grid h3{margin:2.5mm 0 2mm;font-size:14pt}.letter-info-grid p{color:#666;margin:1mm 0;font-size:9pt}.letter-label{letter-spacing:.55mm;color:#9a7a43;font-size:7pt;font-weight:800}.letter-items-table{border-collapse:collapse;width:100%;font-size:9pt}.letter-items-table th{text-align:left;color:#fff;letter-spacing:.25mm;background:#111;padding:3.4mm 2.7mm;font-size:7.5pt}.letter-items-table th:nth-child(n+2),.letter-items-table td:nth-child(n+2){text-align:right}.letter-items-table td{vertical-align:top;border-bottom:.3mm solid #e3e3df;padding:4mm 2.7mm}.letter-items-table td:first-child{width:52%}.letter-items-table small{color:#777;margin-top:1.1mm;display:block}.letter-summary{grid-template-columns:1fr 70mm;gap:16mm;margin-top:11mm;display:grid}.letter-notes p{color:#666;font-size:9pt;line-height:1.65}.letter-totals{gap:2.4mm;display:grid}.letter-totals>div{justify-content:space-between;gap:8mm;font-size:9pt;display:flex}.letter-total{border-top:.45mm solid #111;border-bottom:.45mm solid #111;margin:1.5mm 0;padding:3mm 0;font-size:12pt!important}.letter-footer{border-top:.5mm solid #b9975b;justify-content:space-between;align-items:flex-end;gap:12mm;margin-top:20mm;padding-top:6mm;display:flex}.letter-footer>div{gap:1mm;display:grid}.letter-footer>div span,.letter-footer p{color:#777;font-size:8pt}.letter-footer p{text-align:right;max-width:75mm;line-height:1.5}@media (max-width:760px){.invoice-screen{padding:14px 10px 40px}.invoice-actions{flex-direction:column;align-items:stretch}.invoice-format-switch{width:100%}.invoice-format-switch .button{flex:1;justify-content:center}.invoice-actions>.button,.invoice-print-button{justify-content:center;width:100%}.invoice-screen-letter{overflow-x:auto}.invoice-letter{transform-origin:0 0}}@media print{html,body{background:#fff!important}body{margin:0!important;padding:0!important}.no-print{display:none!important}.invoice-screen{min-height:auto;background:#fff!important;padding:0!important}.invoice-paper{box-shadow:none!important;margin:0 auto!important}.invoice-screen-thermal .invoice-paper{margin:0!important}.invoice-thermal{width:55mm!important;min-height:0!important;padding:3mm 2.2mm 4mm!important}.invoice-letter{width:100%!important;min-height:auto!important;padding:6mm 8mm!important}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}html{-moz-text-size-adjust:100%;text-size-adjust:100%;background:#0c0d0d;min-height:100%}body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent;min-height:100dvh}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:2px solid #b9975bb8}.mobile-top-brand,.mobile-login-brand,.mobile-install-banner,.network-status{display:none}.chart-frame{width:100%}.chart-frame-line{height:270px}.chart-frame-pie{height:250px}@media (display-mode:standalone){.topbar{padding-top:env(safe-area-inset-top);height:calc(76px + env(safe-area-inset-top))}.sidebar{padding-top:env(safe-area-inset-top)}}@media (max-width:820px){body{background:var(--bg)}.os-frame,.main-column{min-height:100dvh}.sidebar{width:min(86vw,320px);padding-top:max(6px, env(safe-area-inset-top));padding-bottom:max(8px, env(safe-area-inset-bottom));transition:transform .28s cubic-bezier(.2,.8,.2,1)}.sidebar-brand{height:126px}.sidebar-logo{width:124px;height:77px}.nav-item{min-height:46px;padding:11px 14px;font-size:13px}.sidebar-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#00000061}.topbar{height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;background:#fffffff0;gap:9px;box-shadow:0 1px #00000006}.mobile-menu,.topbar .icon-button{border-radius:12px;width:44px;min-width:44px;height:44px}.global-search{display:none}.mobile-top-brand{align-items:center;gap:8px;min-width:0;display:flex}.mobile-top-brand img{object-fit:cover;border-radius:9px;width:31px;height:31px;box-shadow:0 4px 12px #0000001a}.mobile-top-brand span{white-space:nowrap;letter-spacing:1.1px;font-size:12px;font-weight:800}.mobile-top-brand b{color:var(--gold-dark)}.topbar-actions{gap:6px}.notification{display:none!important}.profile-chip{padding-left:0}.avatar{width:40px;height:40px}.content-area{width:100%;padding:16px 12px calc(102px + env(safe-area-inset-bottom))}.page-header{gap:10px;margin-bottom:16px}.page-header h1{letter-spacing:-.55px;font-size:clamp(22px,7vw,27px);line-height:1.08}.page-header p{max-width:34rem;font-size:12.5px;line-height:1.5}.date-chip{padding:7px 9px;font-size:10px}.stats-grid,.stats-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:9px}.stat-card{border-radius:14px;min-width:0;min-height:124px;padding:13px}.stat-top{gap:7px;font-size:11px}.stat-top>span:first-child{min-width:0;line-height:1.25}.stat-icon{flex:0 0 34px;width:34px;height:34px}.stat-icon svg{width:17px}.stat-value{letter-spacing:-.5px;overflow-wrap:anywhere;margin:10px 0 5px;font-size:clamp(18px,5.4vw,23px)}.stat-meta{font-size:10px;line-height:1.35}.panel{border-radius:14px;padding:13px}.dashboard-grid{gap:9px;margin-top:9px}.panel-head{margin-bottom:8px}.panel-head h2{font-size:14px}.panel-head p{font-size:10.5px}.chart-frame-line,.chart-frame-pie{height:225px}.recharts-legend-item-text,.recharts-text{font-size:10px!important}.table-wrap{overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;width:calc(100% + 2px);padding-bottom:3px;position:relative;overflow-x:auto}.modern-table{min-width:720px}.modern-table th,.modern-table td{padding:11px 9px;font-size:11px}.modern-table th:first-child,.modern-table td:first-child{z-index:2;background:#fff;position:sticky;left:0;box-shadow:8px 0 12px -12px #00000059}.modern-table thead th:first-child{z-index:3}.table-actions{flex-wrap:nowrap}.button-compact{min-height:38px}.button{min-height:44px;padding:10px 13px}.icon-button{min-width:44px;min-height:44px}.inventory-command{gap:10px}.inventory-command>.button,.finance-add{justify-content:center;width:100%}.inventory-search{min-height:46px}.inventory-search input,.form-grid input,.form-grid select,.form-grid textarea,.sale-line select,.sale-line input,.field input{font-size:16px}.form-grid{gap:12px;margin-top:16px}.form-grid label{font-size:11px}.form-grid input,.form-grid select,.form-grid textarea{border-radius:11px;min-height:46px}.form-grid textarea{min-height:88px}.checkbox-label{min-height:44px;margin-top:0}.modal-backdrop{align-items:end;padding:0}.modal-card{width:100%;max-height:calc(94dvh - env(safe-area-inset-top));padding:17px 14px calc(18px + env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:22px 22px 0 0}.modal-head{z-index:4;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-radius:22px 22px 0 0;margin:-17px -14px 15px;padding:16px 14px 12px;position:sticky;top:-17px}.modal-head h2{font-size:19px}.modal-actions{bottom:calc(-18px - env(safe-area-inset-bottom));z-index:4;margin:16px -14px calc(-18px - env(safe-area-inset-bottom));padding:12px 14px calc(13px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;position:sticky}.modal-actions .button{flex:1;justify-content:center}.movement-types{scrollbar-width:none;flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.movement-types::-webkit-scrollbar{display:none}.movement-types button{white-space:nowrap;min-height:38px;padding:8px 11px}.sale-lines{margin:14px 0;padding:10px}.sale-line{grid-template-columns:minmax(0,1fr) 72px;align-items:center}.sale-line>strong{padding-left:3px;font-size:11px}.sale-line>.icon-button{grid-area:2/2;justify-self:end;width:38px;min-width:38px;height:38px;min-height:38px;display:inline-grid!important}.customer-card{grid-template-columns:48px minmax(0,1fr) auto;gap:10px;padding:13px;display:grid}.customer-card .avatar.large{width:48px;height:48px}.customer-card>div:nth-child(2){min-width:0}.customer-card h3,.customer-card p{overflow-wrap:anywhere}.customer-card>.icon-button{grid-area:1/3}.customer-card>.status{grid-column:2/4;justify-self:start}.inventory-product-card{border-radius:15px}.stock-breakdown,.product-finance{font-size:10px}.settings-grid{gap:9px}.mobile-bottom{height:calc(69px + env(safe-area-inset-bottom));padding:6px 6px max(7px, env(safe-area-inset-bottom));background:#fafaf8f6;border-top-color:#00000013;grid-template-columns:1fr 1fr 64px 1fr 1fr;align-items:center;box-shadow:0 -12px 30px #0000000e}.mobile-bottom a,.mobile-bottom button{border-radius:10px;justify-content:center;min-height:52px;font-size:9px;font-weight:650}.mobile-bottom svg{width:19px;height:19px}.mobile-bottom .active{color:var(--gold-dark);background:#b9975b13}.mobile-bottom .mobile-plus{background:linear-gradient(145deg,#151515,#050505);border:1px solid #b9975b61;border-radius:18px;width:52px;height:52px;min-height:52px;transform:translateY(-8px);box-shadow:0 8px 22px #0003}.mobile-install-banner{color:#fff;background:linear-gradient(120deg,#111,#191816);border:1px solid #b9975b59;border-radius:14px;grid-template-columns:42px minmax(0,1fr) auto 28px;align-items:center;gap:9px;margin:0 0 13px;padding:11px 9px 11px 11px;animation:.5s cubic-bezier(.2,.8,.2,1) both valeriovReveal;display:grid;position:relative;box-shadow:0 10px 30px #0000001c}.mobile-install-icon{color:#d4b574;background:#b9975b24;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.mobile-install-copy{gap:2px;min-width:0;display:grid}.mobile-install-copy strong{font-size:11px}.mobile-install-copy>span{color:#bdbdb8;font-size:9.5px;line-height:1.35}.mobile-install-help{color:#d8c69f;border-top:1px solid #ffffff17;grid-column:1/-1;align-items:flex-start;gap:5px;margin-top:5px;padding-top:6px;line-height:1.4;display:flex}.mobile-install-help svg{flex:none;margin-top:1px}.mobile-install-action{color:#e2c98f;background:#b9975b1f;border-color:#b9975b66;min-height:36px;padding:7px 9px;font-size:10px}.mobile-install-close{color:#aaa;background:0 0;border:0;place-items:center;width:28px;height:28px;display:grid}.network-status{top:calc(62px + env(safe-area-inset-top));z-index:29;color:#f1cf88;background:#271e0e;border-bottom:1px solid #b9975b40;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:10px;display:flex;position:sticky}.login-panel{min-height:100dvh;padding:max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 0,#b9975b1f,#0000 36%),#f8f8f5}.login-card{border-radius:20px;padding:26px 20px}.mobile-login-brand{flex-direction:column;align-items:center;margin:-4px 0 23px;display:flex}.mobile-login-brand img{object-fit:contain;width:155px;height:80px}.mobile-login-brand span{color:var(--gold-dark);letter-spacing:5px;margin-top:-8px;font:10px Georgia,serif}.invoice-screen-letter{overflow-x:hidden}.invoice-letter{border-radius:12px;width:100%;min-height:auto;padding:20px 15px}.letter-header{gap:12px}.letter-logo{width:130px;height:70px}.letter-title strong{font-size:14pt}.letter-info-grid,.letter-summary{grid-template-columns:1fr;gap:14px}.letter-items-table{font-size:8pt}.letter-items-table th,.letter-items-table td{padding:9px 6px}.letter-footer{flex-direction:column;align-items:flex-start;margin-top:28px}.letter-footer p{text-align:left;max-width:none}}@media (max-width:430px){.content-area{padding-left:10px;padding-right:10px}.stats-grid,.stats-grid.three{grid-template-columns:1fr 1fr}.stat-card{min-height:118px;padding:11px}.stat-value{font-size:19px}.mobile-install-banner{grid-template-columns:39px minmax(0,1fr) 28px}.mobile-install-action{grid-column:1/-1;justify-content:center;width:100%}.mobile-install-close{grid-area:1/3}.letter-header{flex-direction:column}.letter-title{justify-items:start}}@media (max-width:350px){.stats-grid,.stats-grid.three{grid-template-columns:1fr}}@media (hover:none) and (pointer:coarse){.button:hover,.icon-button:hover,.nav-item:hover,.inventory-product-card:hover,.customer-card:hover,.store-card:hover,.dashboard-motion .panel:hover,.dashboard-motion .stat-card:hover{box-shadow:initial;transform:none}.button:active,.icon-button:active,.mobile-bottom a:active,.mobile-bottom button:active{transform:scale(.97)}}@media print{.invoice-letter{border-radius:0!important;width:100%!important;min-height:auto!important}.letter-header{flex-direction:row!important}.letter-title{justify-items:end!important}.letter-info-grid{grid-template-columns:1.35fr 1fr!important}.letter-summary{grid-template-columns:1fr 70mm!important}.letter-footer{flex-direction:row!important;align-items:flex-end!important}}@media (max-width:820px){.page-header>div:last-child .button{font-size:13px}.page-header>div:last-child .button:after{content:none}}@media print{.letter-logo{width:58mm!important;height:31mm!important}.letter-title strong{font-size:17pt!important}.letter-info-grid{margin-bottom:11mm!important}.letter-items-table{font-size:9pt!important}.letter-items-table th{padding:3.4mm 2.7mm!important}.letter-items-table td{padding:4mm 2.7mm!important}.letter-footer{margin-top:20mm!important}}.app-update-toast{z-index:250;color:#fff;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#0e0e0df7;border:1px solid #b9975b52;border-radius:15px;grid-template-columns:38px minmax(0,1fr) auto 28px;align-items:center;gap:10px;width:min(440px,100vw - 36px);padding:12px;animation:.35s both appUpdateIn;display:grid;position:fixed;bottom:18px;right:18px;box-shadow:0 22px 70px #00000040}.app-update-toast-icon{color:#d9bb7c;background:#b9975b26;border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.app-update-toast-copy{gap:2px;min-width:0;display:grid}.app-update-toast-copy strong{font-size:12px}.app-update-toast-copy span{color:#bcbcb7;font-size:10px;line-height:1.35}.app-update-toast-action{color:#ead29f;white-space:nowrap;background:#b9975b1f;border-color:#b9975b6b;min-height:36px;font-size:10px}.app-update-toast-close{color:#aaa;background:0 0;border:0;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.app-update-toast-close:hover{color:#fff;background:#ffffff12}.app-update-settings{justify-content:space-between;align-items:center;gap:20px;margin-top:16px;display:flex;position:relative;overflow:hidden}.app-update-settings:after{content:"";pointer-events:none;background:radial-gradient(circle,#b9975b1f,#0000 68%);border-radius:50%;width:160px;height:160px;position:absolute;top:-90px;right:-70px}.app-update-settings-copy{align-items:flex-start;gap:13px;max-width:700px;display:flex}.app-update-settings-icon{background:var(--gold-soft);width:42px;height:42px;color:var(--gold-dark);border-radius:12px;flex:none;place-items:center;display:grid}.app-update-settings h2{margin:3px 0 5px;font-size:17px}.app-update-settings p{max-width:620px;color:var(--muted);margin:0;font-size:11px;line-height:1.6}.app-update-settings small{color:#62805d;align-items:center;gap:5px;margin-top:9px;font-size:9.5px;display:flex}.app-update-settings-button{z-index:1;flex:none;position:relative}@keyframes appUpdateIn{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:820px){.app-update-toast{left:10px;right:10px;bottom:calc(82px + env(safe-area-inset-bottom));grid-template-columns:36px minmax(0,1fr) 28px;width:auto;padding:11px}.app-update-toast-action{grid-column:1/-1;justify-content:center;width:100%}.app-update-toast-close{grid-area:1/3}.app-update-settings{flex-direction:column;align-items:stretch}.app-update-settings-button{justify-content:center;width:100%}}@media (prefers-reduced-motion:reduce){.app-update-toast{animation:none}}.auth-form-links{justify-content:flex-end;margin-top:-2px;display:flex}.auth-form-links a,.auth-back-link a{color:#8e6d34;font-size:11px;font-weight:700;text-decoration:none;transition:color .2s,transform .2s}.auth-form-links a:hover,.auth-back-link a:hover{color:#111}.auth-back-link{justify-content:center;margin-top:2px;display:flex}.auth-back-link a{align-items:center;gap:6px;display:inline-flex}.auth-success{color:#236b38;background:#f0fbf3;border:1px solid #b8dfc3;border-radius:10px;padding:11px 12px;font-size:11px;line-height:1.55}.auth-success-large{align-items:center;gap:9px;font-weight:700;display:flex}.auth-loading{min-height:90px;color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.field-help{color:var(--muted);margin-top:6px;font-size:9px;line-height:1.45;display:block}.master-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;display:grid}.master-card{position:relative;overflow:hidden}.master-card:after{content:"";pointer-events:none;background:radial-gradient(circle,#b9975b29,#0000 68%);border-radius:50%;width:180px;height:180px;position:absolute;top:-90px;right:-80px}.master-card-head{align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.master-card-head h2{margin:4px 0}.master-card-head p{color:var(--muted);margin:0;font-size:11px}.master-icon{width:42px;height:42px;color:var(--gold);background:#111;border-radius:12px;flex:none;place-items:center;display:grid}.master-identity,.smtp-spec{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px;display:grid}.smtp-spec{grid-template-columns:1fr 1fr}.master-identity>div,.smtp-spec>div{border:1px solid var(--border);background:#fafaf8;border-radius:10px;padding:12px}.master-identity span,.smtp-spec span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px;font-size:9px;display:block}.master-identity strong,.smtp-spec strong{font-size:12px}.master-password-form{border-top:1px solid var(--border);padding-top:15px}.master-password-form h3{margin:0 0 12px;font-size:13px}.master-note{color:var(--muted);margin:12px 0 0;font-size:10px;line-height:1.6}.master-banner{border-radius:10px;align-items:center;gap:8px;margin-bottom:14px;padding:11px 13px;font-size:11px;display:flex}.master-banner.success{color:#276c37;background:#eef7ef;border:1px solid #cde7d2}.master-error{margin-bottom:14px}.master-users{margin-bottom:20px}.master-secret-warning{color:#6d572a;background:#fff9e9;border:1px solid #ead8ad;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:14px;padding:13px;display:flex}.master-secret-warning div{gap:3px;display:grid}.master-secret-warning strong{font-size:11px}.master-secret-warning span{font-size:10px}.master-secret-warning code{background:#0000000f;border-radius:4px;padding:1px 4px}.master-loading{min-height:150px;color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.master-sub{color:var(--muted);margin-top:2px;font-size:9px;display:block}.master-row-actions{justify-content:flex-end;gap:5px;display:flex}.master-row-actions .button{padding:7px 9px;font-size:9px}@media (max-width:900px){.master-grid{grid-template-columns:1fr}.master-row-actions{min-width:220px}}@media (max-width:560px){.master-identity{grid-template-columns:1fr 1fr}.smtp-spec{grid-template-columns:1fr}}.sidebar-logout-form{width:100%;margin-bottom:10px}.sidebar-logout{color:#ffffffc7;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:39px;padding:0 11px;font-size:10px;font-weight:700;transition:transform .2s,background .2s,border-color .2s,color .2s;display:flex}.sidebar-logout:hover{color:#fff;background:#b9975b1f;border-color:#b9975b73;transform:translateY(-1px)}.topbar-logout-form{display:flex}@media (max-width:820px){.topbar-logout-form{display:none}.sidebar-logout{min-height:44px;font-size:11px}}.password-field{position:relative}.password-field input{padding-right:38px}.password-toggle{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;transition:background .18s,color .18s;display:grid}.password-toggle:hover{color:#111;background:#f1f1ed}.master-password-input{border:1px solid var(--border);background:#fff;border-radius:10px;align-items:center;margin-top:7px;padding:0 5px 0 10px;display:flex}.master-password-input input{background:0 0;border:0;outline:0;width:100%;height:41px;padding:0}.master-head-actions{align-items:center;gap:8px;display:flex}@media (max-width:620px){.master-head-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.master-head-actions .button{justify-content:center}.password-toggle{width:38px;height:38px}}.customer-card-pricing .customer-main{flex:1;min-width:0}.customer-actions{align-items:center;gap:7px;margin-left:auto;display:flex}.whatsapp-button{color:#176b3b;background:#ecf8f0;border:1px solid #c8ead4;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 11px;font-size:10px;font-weight:800;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s;display:inline-flex}.whatsapp-button:hover{background:#e4f5ea;transform:translateY(-1px);box-shadow:0 7px 18px #176b3b1a}.price-tier-line,.store-tier-row{flex-wrap:wrap;align-items:center;gap:7px;margin-top:8px;display:flex}.price-tier-line small,.store-tier-row small{color:var(--muted);font-size:9px}.price-tier-badge{color:#755d2f;white-space:nowrap;background:#fbf7ee;border:1px solid #e3d3af;border-radius:999px;align-items:center;width:max-content;min-height:24px;padding:0 8px;font-size:9px;font-weight:800;display:inline-flex}.store-card-top{justify-content:space-between;align-items:center;display:flex}.store-card-tier .store-tier-row{margin:12px 0}.sale-tier-summary{background:#fcf9f2;border:1px solid #e5d8bb;border-radius:11px;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 2px;padding:12px;display:grid}.sale-tier-summary>div span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px;font-size:9px;display:block}.sale-tier-summary>div strong{font-size:13px}.sale-tier-summary>small{color:var(--muted);grid-column:1/-1;font-size:9px;line-height:1.5}.sale-pricing-totals{gap:5px;margin-top:8px;display:grid}.sale-pricing-totals>div:not(.sale-total){justify-content:space-between;align-items:center;padding:0 2px;font-size:11px;display:flex}.pricing-preview{background:#fcf9f2;border:1px solid #e5d8bb;border-radius:10px;flex-direction:column;justify-content:center;min-height:70px;padding:10px 12px;display:flex}.pricing-preview span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:9px}.pricing-preview strong{margin:3px 0;font-size:17px}.pricing-preview small{color:var(--muted);font-size:9px}@media (max-width:820px){.customer-card-pricing{grid-template-columns:auto 1fr auto;display:grid}.customer-card-pricing>.status{grid-column:2;justify-self:start}.customer-actions{grid-column:1/-1;width:100%;margin-left:0}.whatsapp-button{flex:1;min-height:42px}}@media (max-width:560px){.sale-tier-summary{grid-template-columns:1fr 1fr}.customer-card-pricing{grid-template-columns:auto 1fr}.customer-card-pricing>.status{grid-column:2}}.stats-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.danger-icon{color:#a63b3b;background:#fff8f8;border-color:#efd4d4}.danger-icon:hover{color:#842828;background:#fff0f0;border-color:#e7bcbc}.page-inline-error{margin:0 0 14px}.table-subtext{color:var(--muted);margin-top:3px;font-size:9px;font-weight:500}.edit-safety-note{background:#fbf7ee;border:1px solid #eadcbb;border-radius:9px;margin:10px 0 0;padding:10px;line-height:1.45}@media (max-width:820px){.stats-grid.two{grid-template-columns:1fr 1fr}}@media (max-width:560px){.stats-grid.two{grid-template-columns:1fr}.table-actions .danger-icon,.table-actions .icon-button{min-width:36px;min-height:36px}}.commercial-policy-card{background:#fff;border:1px solid #e8e0d1;border-radius:16px;margin-bottom:18px;overflow:hidden;box-shadow:0 12px 34px #1f180d0d}.pricing-reference-hero{background:#050505;border-bottom:1px solid #b9975b52;height:250px;position:relative;overflow:hidden}.pricing-reference-hero img{object-fit:cover;object-position:50% 0%;width:100%;height:100%;display:block}.pricing-reference-overlay{color:#fff;background:linear-gradient(#0000,#000000d1);justify-content:space-between;align-items:flex-end;gap:18px;padding:38px 24px 18px;display:flex;position:absolute;inset:auto 0 0}.pricing-reference-overlay span{letter-spacing:.18em;color:#d7ad58;font-size:9px;font-weight:800}.pricing-reference-overlay strong{font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:500}.commercial-policy-heading{justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 22px 14px;display:flex}.commercial-policy-heading h2{margin:4px 0;font-size:20px}.commercial-policy-heading p{color:var(--muted);margin:0;font-size:11px}.commercial-policy-heading p b{color:#bd7c18}.commercial-policy-table{min-width:880px}.commercial-policy-table thead th:first-child{color:#fff;background:#0a0a0a}.commercial-policy-table tbody td:first-child{color:#fff;background:#0c0c0c}.gold-table-label{color:#d4a43f;text-transform:uppercase;letter-spacing:.03em;font-size:10px}.policy-percent{color:#111;background:#fff;border:2px solid #d1a043;border-radius:999px;justify-content:center;align-items:center;min-width:51px;min-height:31px;padding:0 8px;font-weight:800;display:inline-flex}.commercial-policy-note{color:var(--muted);border-top:1px solid #f0eadf;padding:12px 22px 17px;font-size:10px;line-height:1.55}.pricing-policy-modal{max-width:850px}.policy-pvp-field{background:#faf7ef;border:1px solid #eadfc5;border-radius:11px;margin-bottom:14px;padding:13px}.policy-pvp-field label{gap:6px;font-size:10px;font-weight:700;display:grid}.policy-pvp-field input{max-width:260px}.policy-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.policy-edit-row{background:#fff;border:1px solid #e8e0d1;border-radius:11px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;display:grid}.policy-edit-row h3{grid-column:1/-1;margin:0 0 2px;font-size:12px}.policy-edit-row label{gap:5px;font-size:9px;font-weight:700;display:grid}.consignment-policy-card{border-top:3px solid #c89635}.consignment-preview{grid-column:span 1}@media (max-width:820px){.pricing-reference-hero{height:190px}.pricing-reference-overlay{flex-direction:column;align-items:flex-start;gap:3px;padding:28px 15px 13px}.pricing-reference-overlay strong{font-size:17px}.commercial-policy-heading{flex-direction:column;padding:16px 15px 12px}.commercial-policy-heading .button{width:100%}.commercial-policy-note{padding:11px 15px 15px}.policy-edit-grid{grid-template-columns:1fr}}@media (max-width:560px){.pricing-reference-hero{height:155px}.policy-edit-row{grid-template-columns:1fr}.policy-edit-row h3{grid-column:1}}
