.mbl-screen-shell{min-height:100%;display:grid;gap:12px;padding:12px 14px calc(104px + env(safe-area-inset-bottom))}.mbl-topbar{display:grid;gap:4px}.mbl-topbar-title{margin:0;font-size:1.05rem;line-height:1.2}.mbl-topbar-subtitle{margin:0;font-size:.78rem;color:var(--muted)}.mbl-search-wrap{position:relative;width:100%}.mbl-search-input{width:100%;box-sizing:border-box;min-height:42px;padding:10px 38px;border-radius:12px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text);font-size:.92rem}.mbl-search-input:focus{outline:2px solid var(--input-focus);outline-offset:1px}.mbl-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;fill:none;color:var(--muted)}.mbl-search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--muted);width:28px;height:28px;border-radius:999px;display:inline-grid;place-items:center;cursor:pointer}.mbl-chip-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.mbl-chip-row::-webkit-scrollbar{display:none}.mbl-chip{border:1px solid var(--line);background:var(--surface-soft);color:var(--text);border-radius:999px;min-height:34px;padding:0 12px;font-size:.78rem;font-weight:600;white-space:nowrap;cursor:pointer}.mbl-chip.active{border-color:#f9731666;background:#f9731624;color:var(--primary-strong)}.mbl-chip-aux{background:transparent}.mbl-loading,.mbl-empty{margin:0;font-size:.82rem;color:var(--muted)}.mbl-sticky-footer{position:fixed;left:0;right:0;bottom:calc(70px + env(safe-area-inset-bottom));z-index:950;padding:8px 14px;pointer-events:none}.mbl-sticky-footer-content{pointer-events:auto;border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:10px 12px;box-shadow:0 8px 24px #0f172a24}.deliveries-central-screen{padding-top:2px;gap:10px}.deliveries-central-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.deliveries-central-count{border:1px solid var(--line);border-radius:999px;padding:6px 10px;font-size:.72rem;color:var(--muted);background:var(--surface-soft);white-space:nowrap}.deliveries-central-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.delivery-incoming-call-card{border:1px solid rgba(220,38,38,.25);background:linear-gradient(140deg,#ef444424,#f973161f);border-radius:14px;padding:12px;display:grid;gap:8px}.delivery-incoming-call-eyebrow{margin:0;font-size:.7rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#b91c1c}.delivery-incoming-call-title{margin:0;font-size:.9rem;line-height:1.3}.delivery-incoming-call-meta{margin:0;font-size:.76rem;color:var(--muted)}.delivery-incoming-call-actions{display:grid;grid-template-columns:1fr;gap:8px}.delivery-incoming-call-accept{min-height:38px;border-radius:10px;padding:0 10px;font-size:.79rem;font-weight:800;cursor:pointer}.delivery-incoming-call-accept{border:1px solid rgba(37,99,235,.3);background:#2563eb24;color:#1d4ed8}.delivery-incoming-call-accept:disabled{opacity:.62;cursor:default}.deliveries-central-card{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:12px;display:grid;gap:10px;cursor:pointer}.deliveries-central-card.selected{border-color:#f9731673;box-shadow:0 0 0 2px #f973161f}.deliveries-central-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.deliveries-central-card-title{margin:0;font-size:.92rem;line-height:1.28}.deliveries-central-card-sale{margin:2px 0 0;font-size:.74rem;color:var(--muted)}.deliveries-central-card-badge{border-radius:999px;border:1px solid transparent;padding:3px 8px;font-size:.68rem;font-weight:700;white-space:nowrap}.deliveries-central-card-badge.status-pending{color:#b91c1c;background:#f871711f;border-color:#f8717147}.deliveries-central-card-badge.status-on_route{color:#1d4ed8;background:#3b82f624;border-color:#3b82f64d}.deliveries-central-card-badge.status-completed{color:#0f766e;background:#2dd4bf1f;border-color:#2dd4bf4d}.deliveries-central-card-meta{margin:0;font-size:.76rem;color:var(--muted);line-height:1.35}.deliveries-central-card-note{margin:0;font-size:.8rem;line-height:1.35;color:var(--muted)}.deliveries-central-card-address-row{display:grid;gap:8px}.delivery-central-map-button{border:1px solid rgba(37,99,235,.3);background:#2563eb1f;color:#1d4ed8;border-radius:9px;min-height:32px;padding:0 10px;width:fit-content;font-size:.76rem;font-weight:700;cursor:pointer}.delivery-central-map-button:disabled{opacity:.65;cursor:default}.delivery-central-whatsapp-button{border:1px solid rgba(22,163,74,.35);background:#16a34a24;color:#166534;border-radius:9px;min-height:32px;padding:0 10px;width:fit-content;font-size:.76rem;font-weight:700;cursor:pointer}.delivery-central-inline-action{border:1px solid rgba(59,130,246,.3);background:#3b82f624;color:#1d4ed8;border-radius:10px;min-height:36px;padding:0 10px;width:100%;font-size:.8rem;font-weight:700;cursor:pointer}.delivery-central-inline-action:disabled{opacity:.65;cursor:default}.deliveries-central-section{display:grid;gap:8px}.deliveries-central-section-head{display:flex;align-items:center;justify-content:space-between}.deliveries-central-section-head.is-collapsible{cursor:pointer;-webkit-user-select:none;user-select:none}.deliveries-central-section-meta{display:inline-flex;align-items:center;gap:8px}.deliveries-central-section-title{margin:0;font-size:.78rem;letter-spacing:.02em;text-transform:uppercase;color:var(--muted)}.deliveries-central-section-count{font-size:.74rem;color:var(--muted)}.deliveries-central-section-toggle{min-height:28px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);color:var(--muted);padding:0 10px;font-size:.72rem;font-weight:700;cursor:pointer}.deliveries-central-list{display:grid;gap:8px}.deliveries-central-empty{margin:0;color:var(--muted);font-size:.8rem}.delivery-courier-card{gap:9px}.delivery-courier-action{border:1px solid var(--line);background:var(--surface-soft);color:var(--text);border-radius:10px;min-height:38px;padding:0 12px;font-size:.82rem;font-weight:700;width:100%;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.delivery-courier-action:disabled{opacity:.62;cursor:default}.delivery-admin-action{min-height:38px;border:1px solid rgba(59,130,246,.28);background:#3b82f624;color:#1d4ed8;border-radius:10px;padding:0 12px;font-size:.82rem;font-weight:700;width:100%;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.delivery-admin-action:disabled{opacity:.62;cursor:default}.delivery-admin-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.delivery-admin-action.secondary{border-color:#0f172a2e;background:#94a3b824;color:#334155}.delivery-courier-actions-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.delivery-courier-service-btn{min-height:38px;border:1px solid rgba(124,58,237,.32);background:#7c3aed24;color:#6d28d9;border-radius:10px;padding:0 12px;font-size:.82rem;font-weight:700;width:100%;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.delivery-courier-service-btn.cash{border-color:#b4530959;background:#f59e0b29;color:#b45309}.delivery-courier-service-btn:disabled{opacity:.62;cursor:default}.delivery-courier-contact-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px}.delivery-courier-contact-btn{min-height:34px;border-radius:9px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);padding:0 10px;font-size:.76rem;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px}.delivery-courier-contact-btn.map{border-color:#2563eb4d;background:#2563eb1f;color:#1d4ed8}.delivery-courier-contact-btn.whatsapp{border-color:#16a34a59;background:#16a34a24;color:#166534}.delivery-courier-contact-btn:disabled{opacity:.62;cursor:default}.delivery-courier-action.tone-acknowledge{border-color:#3b82f647;background:#3b82f624;color:#1d4ed8}.delivery-courier-action.tone-collect{border-color:#f59e0b47;background:#f59e0b24;color:#b45309}.delivery-courier-action.tone-on-route{border-color:#10b9814d;background:#10b98124;color:#0f766e}.delivery-courier-action svg,.delivery-admin-action svg,.delivery-courier-service-btn svg,.delivery-courier-contact-btn svg{width:14px;height:14px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}.delivery-courier-action-placeholder{display:inline-flex;justify-content:center;min-height:30px;align-items:center;font-size:.74rem;color:var(--muted);border:1px dashed var(--line);border-radius:10px}.delivery-quick-create-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;background:#0f172a7a;display:flex;align-items:flex-end;justify-content:center;padding:12px}.delivery-quick-create-sheet{width:min(560px,100%);max-height:calc(100vh - 28px);overflow:auto;border-radius:18px 18px 14px 14px;border:1px solid var(--line);background:var(--modal-bg);box-shadow:0 24px 50px #0f172a59;padding:14px 14px max(14px,env(safe-area-inset-bottom,0px));display:grid;gap:12px}.delivery-quick-create-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.delivery-quick-create-head h3{margin:0;font-size:1rem}.delivery-quick-create-head p{margin:2px 0 0;font-size:.78rem;color:var(--muted)}.delivery-quick-create-form{display:grid;gap:10px}.delivery-quick-create-field{display:grid;gap:6px;font-size:.78rem;color:var(--muted)}.delivery-quick-create-field>input,.delivery-quick-create-field>select,.delivery-quick-create-field>textarea{width:100%;box-sizing:border-box;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text);border-radius:10px;padding:10px 11px;font-size:.9rem}.delivery-quick-create-field>textarea{resize:vertical}.delivery-quick-create-field>input:focus,.delivery-quick-create-field>select:focus,.delivery-quick-create-field>textarea:focus{outline:2px solid var(--input-focus);outline-offset:1px}.delivery-quick-create-error{margin:0;color:#dc2626;font-size:.82rem}.delivery-quick-create-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:sticky;bottom:0;z-index:1;background:var(--modal-bg);padding-top:8px}.deliveries-central-hidden-hint{margin:0;font-size:.78rem;color:var(--muted)}.delivery-back-to-top{position:fixed;bottom:88px;right:16px;z-index:900;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--muted);cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px #0000001f;transition:opacity .2s,transform .2s}.delivery-back-to-top:hover{background:var(--surface-soft);color:var(--text);transform:translateY(-2px)}.delivery-back-to-top svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}:root{color-scheme:light;--bg: #f4f7fb;--bg-accent: #e7edf6;--panel: rgba(255, 255, 255, .86);--panel-strong: #dbe4f2;--text: #0f172a;--muted: #52627a;--line: rgba(15, 23, 42, .14);--primary: #f97316;--primary-strong: #ea580c;--primary-soft: rgba(249, 115, 22, .14);--warning: #b45309;--danger: #e11d48;--success: #15803d;--shadow: 0 28px 80px rgba(15, 23, 42, .12);--bg-radial-primary: rgba(249, 115, 22, .22);--bg-radial-secondary: rgba(148, 163, 184, .18);--bg-gradient-start: #f4f7fb;--bg-gradient-middle: #edf2f9;--bg-gradient-end: #e7edf6;--auth-card-bg: rgba(255, 255, 255, .9);--sidebar-bg: rgba(248, 250, 255, .9);--mobile-nav-bg: #ffffff;--mobile-nav-border: rgba(15, 23, 42, .1);--mobile-nav-item-hover-bg: rgba(234, 88, 12, .1);--mobile-nav-item-hover-text: #9a3412;--mobile-nav-item-active-bg: rgba(234, 88, 12, .12);--mobile-nav-item-active-text: #c2410c;--mobile-nav-item-active-shadow: 0 10px 22px rgba(234, 88, 12, .2);--surface-soft: rgba(15, 23, 42, .04);--surface-soft-strong: rgba(15, 23, 42, .06);--input-border: rgba(15, 23, 42, .17);--input-bg: rgba(255, 255, 255, .9);--input-focus: rgba(249, 115, 22, .35);--ghost-bg: rgba(15, 23, 42, .06);--hero-bg: linear-gradient(140deg, rgba(255, 255, 255, .95) 0%, rgba(240, 246, 255, .92) 100%);--hero-copy: #334155;--modal-bg: #ffffff;--modal-overlay: rgba(15, 23, 42, .45);--danger-bg: rgba(225, 29, 72, .14);--danger-text: #be123c;--error-text: #be123c;--success-text: #15803d;--link: #c2410c;--nav-active-text: #ffffff;--panel-badge-subtle: #334155;--progress-chip-text: #9a3412;--alert-text: #334155;--brand-ink: #1e293b;font-family:Segoe UI,Trebuchet MS,sans-serif}:root[data-theme=dark]{color-scheme:dark;--bg: #0a1a32;--bg-accent: #132748;--panel: rgba(14, 27, 49, .82);--panel-strong: #1e355b;--text: #f8fafc;--muted: #b0bac9;--line: rgba(255, 255, 255, .12);--primary: #f97316;--primary-strong: #ea580c;--primary-soft: rgba(249, 115, 22, .16);--warning: #f59e0b;--danger: #fb7185;--success: #22c55e;--shadow: 0 28px 80px rgba(0, 0, 0, .3);--bg-radial-primary: rgba(249, 115, 22, .22);--bg-radial-secondary: rgba(148, 163, 184, .2);--bg-gradient-start: #0a1a32;--bg-gradient-middle: #0f2240;--bg-gradient-end: #081427;--auth-card-bg: rgba(8, 18, 34, .85);--sidebar-bg: rgba(7, 17, 31, .86);--mobile-nav-bg: #0e1e38;--mobile-nav-border: rgba(255, 255, 255, .08);--mobile-nav-item-hover-bg: rgba(249, 115, 22, .18);--mobile-nav-item-hover-text: #fff7ed;--mobile-nav-item-active-bg: rgba(249, 115, 22, .22);--mobile-nav-item-active-text: #fff7ed;--mobile-nav-item-active-shadow: 0 10px 24px rgba(2, 6, 23, .44);--surface-soft: rgba(255, 255, 255, .04);--surface-soft-strong: rgba(255, 255, 255, .06);--input-border: rgba(255, 255, 255, .12);--input-bg: rgba(255, 255, 255, .04);--input-focus: rgba(249, 115, 22, .35);--ghost-bg: rgba(255, 255, 255, .05);--hero-bg: linear-gradient(140deg, rgba(30, 53, 91, .92) 0%, rgba(19, 39, 72, .88) 100%);--hero-copy: #c6d1e2;--modal-bg: #10213d;--modal-overlay: rgba(2, 6, 23, .66);--danger-bg: rgba(244, 63, 94, .18);--danger-text: #fecdd3;--error-text: #fecdd3;--success-text: #86efac;--link: #fdba74;--nav-active-text: #ffffff;--panel-badge-subtle: #cbd5e1;--progress-chip-text: #fed7aa;--alert-text: #dbe4f0;--brand-ink: #1e293b}.lock-scroll{overflow:hidden!important}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;color:var(--text);background:radial-gradient(circle at top left,var(--bg-radial-primary),transparent 34%),radial-gradient(circle at bottom right,var(--bg-radial-secondary),transparent 30%),linear-gradient(135deg,var(--bg-gradient-start) 0%,var(--bg-gradient-middle) 46%,var(--bg-gradient-end) 100%);transition:background .2s ease,color .2s ease}.page-load-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:48px 24px;min-height:240px}.page-load-spinner{width:38px;height:38px;border:4px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:spin .8s cubic-bezier(.4,0,.2,1) infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button{font:inherit}.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.auth-page{display:grid;place-items:center;min-height:100vh;padding:18px}.auth-card{width:min(100%,460px);display:grid;gap:14px;padding:28px;border-radius:28px;border:1px solid var(--line);background:var(--auth-card-bg);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.auth-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-card h1,.auth-subtitle{margin:0}.auth-subtitle{color:var(--muted)}.auth-form{display:grid;gap:10px}.auth-form label,.simple-form label,.create-product-form label{font-size:.92rem;color:var(--muted)}.auth-form input,.simple-form input,.simple-form textarea,.simple-form select,.create-product-form input,.global-modal-form input,.global-modal-form textarea,.global-modal-form select{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text)}select{color:var(--text)}select option{color:#0f172a;background:#fff}:root[data-theme=dark] select option{color:#f8fafc;background:#10213d}.auth-form input:focus,.simple-form input:focus,.simple-form textarea:focus,.simple-form select:focus,.create-product-form input:focus,.global-modal-form input:focus,.global-modal-form textarea:focus,.global-modal-form select:focus{outline:2px solid var(--input-focus);outline-offset:1px}.simple-form{display:grid;gap:12px}.simple-form textarea{resize:vertical;min-height:84px}.form-field{display:grid;gap:6px;min-width:0}.form-label{margin:0;color:var(--muted);font-size:.78rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.form-input{width:100%;min-height:40px;padding:10px 12px;border-radius:12px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text)}textarea.form-input{min-height:84px;resize:vertical}.form-input:focus{outline:2px solid var(--input-focus);outline-offset:1px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.inline-check{display:flex;align-items:center;gap:8px;color:var(--muted)}.inline-check input{width:auto}.forgot-link{justify-self:start;border:0;padding:0;background:transparent;color:var(--link);text-decoration:underline;cursor:pointer}.auth-submit{margin-top:8px}.auth-error{margin:2px 0;color:var(--error-text)}.auth-hint{display:grid;gap:4px;font-size:.88rem;color:var(--muted)}.auth-success{margin:2px 0;color:var(--success-text)}.auth-page--login{position:relative;overflow:hidden;isolation:isolate;padding:clamp(14px,3vw,30px)}.auth-page--login:before,.auth-page--login:after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:-1}.auth-page--login:before{width:min(52vw,620px);height:min(52vw,620px);top:-220px;left:-180px;background:radial-gradient(circle,#f9731638,#f9731600 68%)}.auth-page--login:after{width:min(48vw,560px);height:min(48vw,560px);bottom:-260px;right:-180px;background:radial-gradient(circle,#0ea5e933,#0ea5e900 70%)}.auth-card--login{width:min(100%,980px);grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:0;padding:0;border-radius:32px;overflow:hidden;border:1px solid var(--line);background:var(--auth-card-bg);animation:auth-login-reveal .48s ease-out}.auth-login-hero{position:relative;display:grid;align-content:start;gap:14px;padding:clamp(24px,4vw,42px);background:radial-gradient(circle at 85% 16%,#ffffff5c,#fff0 32%),linear-gradient(165deg,#172f56,#1f4475 52%,#1e3660);color:#f8fafc}.auth-login-hero:after{content:"";position:absolute;width:240px;height:240px;right:-90px;bottom:-120px;border-radius:50%;background:radial-gradient(circle,#f973166b,#f9731600);pointer-events:none}.auth-card-head--login{align-items:flex-start}.auth-login-brand{display:flex;align-items:center;gap:10px;min-width:0}.auth-login-brand-copy{display:grid;line-height:1.1}.auth-login-brand-copy strong{font-size:1.02rem;letter-spacing:.01em}.auth-login-brand-copy span{font-size:.76rem;color:#e2e8f0e6}.auth-login-theme-toggle{padding:9px 12px;border-radius:12px;font-size:.78rem;font-weight:700;background:#ffffff1f;color:#f8fafc}.auth-login-theme-toggle:hover{background:#ffffff38}.auth-login-hero .eyebrow{margin:6px 0 0;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:#e2e8f0e0}.auth-login-hero h1{margin:0;max-width:12ch;font-size:clamp(1.65rem,2.7vw,2.26rem);line-height:1.08;letter-spacing:-.02em}.auth-login-hero .auth-subtitle{margin:0;max-width:42ch;color:#e2e8f0eb;line-height:1.58}.auth-login-points{list-style:none;display:grid;gap:10px;margin:4px 0 0;padding:0}.auth-login-points li{display:flex;align-items:flex-start;gap:10px;font-size:.9rem;line-height:1.45;color:#e2e8f0f5}.auth-login-point-dot{width:9px;height:9px;border-radius:50%;margin-top:.3rem;flex-shrink:0;background:linear-gradient(145deg,#f97316,#facc15);box-shadow:0 0 0 5px #f9731633}.auth-login-note{margin:2px 0 0;font-size:.82rem;color:#e2e8f0c2}.auth-login-content{display:grid;align-content:center;gap:18px;padding:clamp(24px,4vw,40px);background:var(--auth-card-bg)}.auth-login-intro{display:grid;gap:6px}.auth-login-intro .eyebrow{margin:0;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase}.auth-login-intro h2{margin:0;font-size:clamp(1.34rem,2vw,1.84rem);line-height:1.2;letter-spacing:-.01em}.auth-login-intro .auth-subtitle{margin:0;line-height:1.5}.auth-form--login{gap:14px}.auth-field{display:grid;gap:6px}.auth-form--login .auth-field label{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700}.auth-form--login input{border-radius:14px;min-height:46px;padding:12px 14px;transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease}.auth-form--login input:hover{border-color:color-mix(in srgb,var(--input-border) 30%,var(--text) 30%)}.auth-form--login input::placeholder{color:var(--muted)}.auth-form-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.auth-form--login .inline-check{font-size:.86rem}.auth-form--login .forgot-link{color:var(--link);text-decoration:none;border-bottom:1px solid transparent;font-weight:600;font-size:.85rem;transition:border-color .15s ease}.auth-form--login .forgot-link:hover{border-color:currentColor}.auth-form--login .auth-submit{width:100%;min-height:48px;margin-top:2px;border-radius:14px;font-size:.95rem}:root[data-theme=dark] .auth-card--login{background:#081222e6}:root[data-theme=dark] .auth-login-hero{background:radial-gradient(circle at 86% 14%,#94a3b83d,#94a3b800 34%),linear-gradient(165deg,#07182f,#0d2a4a 56%,#081f39)}:root[data-theme=dark] .auth-login-content{background:#081222e6}@keyframes auth-login-reveal{0%{opacity:0;transform:translateY(10px) scale(.988)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:980px){.auth-card--login{grid-template-columns:1fr}.auth-login-hero h1{max-width:none}}@media(max-width:640px){.auth-card--login{border-radius:24px}.auth-login-hero,.auth-login-content{padding:20px}.auth-login-theme-toggle{font-size:.74rem}.auth-form-meta{flex-direction:column;align-items:flex-start}}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;padding:32px 22px;background:var(--sidebar-bg);border-right:1px solid var(--line);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.sidebar-menu-indicator{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--muted);font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.sidebar-menu-icon{width:16px;height:16px;stroke:currentColor;stroke-width:2;stroke-linecap:round;fill:none}.brand-mark{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:16px;background:linear-gradient(145deg,#f97316,#f59e0b);color:var(--brand-ink)}.cart-logo{width:24px;height:24px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.brand-block{display:grid;gap:4px;margin-top:18px}.brand-block span,.eyebrow,.metric-label,.panel-badge,.hero-highlight span,.hero-highlight small,.delivery-item p,.stack-row p{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.04em}.sidebar-nav{display:grid;gap:4px;margin-top:10px}.sidebar-nav-group{display:grid;gap:4px}.sidebar-nav-group+.sidebar-nav-group{margin-top:6px}.sidebar-nav-group-label{font-size:.65rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:10px 10px 2px}.nav-item,.mobile-nav-item,.ghost-button,.primary-button{border:0;cursor:pointer}.nav-item{width:100%;padding:14px 16px;text-align:left;color:var(--text);border-radius:16px;background:transparent}.nav-item.active,.nav-item:hover{background:var(--primary-soft);color:var(--nav-active-text)}.sidebar-nav .nav-item.sidebar-nav-item{padding:7px 10px;border-radius:12px;font-size:.8rem;font-weight:600;line-height:1.2;display:flex;align-items:center;gap:9px}.sidebar-nav .nav-item.sidebar-nav-item:hover{background:var(--mobile-nav-item-hover-bg);color:var(--mobile-nav-item-hover-text)}.sidebar-nav .nav-item.sidebar-nav-item.active{background:var(--mobile-nav-item-active-bg);color:var(--mobile-nav-item-active-text);font-weight:700}.sidebar-nav-icon-wrap{display:inline-grid;place-items:center;width:22px;height:22px;flex-shrink:0;color:var(--muted)}.sidebar-nav-item:hover .sidebar-nav-icon-wrap,.sidebar-nav-item.active .sidebar-nav-icon-wrap{color:inherit}.sidebar-nav-label{flex:1;min-width:0;text-align:left}.sidebar-nav-glyph{width:18px;height:18px;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;fill:none}.content-area{padding:100px 28px}.fixed-topbar{position:fixed;top:0;right:0;left:280px;z-index:1050;display:flex;align-items:center;justify-content:space-between;height:72px;padding:10px 28px;border-bottom:1px solid var(--line);background:var(--panel);box-shadow:0 8px 24px #0f172a14;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.fixed-topbar-brand{display:flex;align-items:center;gap:10px}.top-back-button{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--text);cursor:pointer;display:inline-grid;place-items:center}.top-back-button:hover{background:var(--surface-soft-strong)}.top-back-icon{width:16px;height:16px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}.topbar-brand-mark{width:38px;height:38px;border-radius:12px}.topbar-brand-copy{display:grid;line-height:1.1}.topbar-brand-copy strong{font-size:.95rem}.topbar-brand-copy span{font-size:.72rem;color:var(--muted);opacity:.9}.fixed-topbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.icon-action-button{width:36px;height:36px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--text);cursor:pointer;display:inline-grid;place-items:center}.icon-action-button:hover{background:var(--surface-soft-strong)}.topbar-notification-button,.topbar-notification-wrap{position:relative}.topbar-notification-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--danger);color:#fff;font-size:.6rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1;border:1px solid var(--panel)}.topbar-notification-menu{position:absolute;top:calc(100% + 14px);right:-26px;width:340px;max-width:calc(100vw - 64px);border:1px solid var(--line);border-radius:18px;background:var(--modal-bg);box-shadow:0 10px 40px #00000026;padding:10px;display:grid;gap:10px;z-index:50;animation:notification-reveal .3s cubic-bezier(.16,1,.3,1) forwards}@keyframes notification-reveal{0%{opacity:0;transform:translateY(-8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.topbar-notification-menu:before{content:"";position:absolute;top:-7px;right:37px;width:14px;height:14px;background:var(--modal-bg);border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg);border-radius:2px 0 0}.topbar-notification-menu-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px}.topbar-notification-menu-head strong{font-size:.8rem}.topbar-notification-menu-head span{min-width:20px;height:20px;padding:0 6px;border-radius:999px;border:1px solid var(--line);color:var(--muted);font-size:.7rem;display:inline-flex;align-items:center;justify-content:center}.topbar-notification-empty{margin:0;color:var(--muted);font-size:.78rem;padding:6px 4px 4px}.topbar-notification-list{display:grid;gap:6px;max-height:min(340px,62vh);overflow:auto;padding-right:2px}.topbar-notification-item{width:100%;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);text-align:left;padding:8px 9px;display:grid;gap:2px;cursor:pointer}.topbar-notification-item:hover{background:var(--surface-soft)}.topbar-notification-item strong{font-size:.8rem;line-height:1.2}.topbar-notification-item p{margin:0;color:var(--muted);font-size:.74rem;line-height:1.2}.topbar-notification-item-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px}.topbar-notification-item-actions>span{font-size:.72rem;font-weight:700;color:var(--primary)}.topbar-notification-snooze{border:0;padding:2px 6px;border-radius:6px;background:var(--surface-soft-strong);color:var(--muted);font-size:.68rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .14s ease,color .14s ease}.topbar-notification-snooze:hover{background:var(--line);color:var(--text)}.icon-action-svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.page-heading.has-action{align-items:flex-start}.page-heading-copy{display:grid;gap:4px;min-width:0}.page-heading-actions{display:flex;align-items:flex-start;gap:8px;flex-shrink:0}.page-heading-action-button{min-height:36px;padding:8px 14px;border-radius:11px;font-size:.8rem;white-space:nowrap}.page-heading-copy h1{line-height:1.16}.page-heading-copy .eyebrow{margin:0;font-size:.82rem;line-height:1.32}.page-heading h1,.hero-card h2,.panel h3{margin:0}.ghost-button,.primary-button,.theme-toggle-button{padding:12px 16px;border-radius:14px}.ghost-button{background:var(--ghost-bg);color:var(--text)}.ghost-button.active{background:var(--primary-soft);color:var(--primary);border:1px solid var(--primary)}.load-more-wrap{display:flex;justify-content:center;padding:20px 0 6px}.load-more-button{border:1px solid var(--line);border-radius:999px;padding:10px 28px;background:var(--surface-soft);color:var(--muted);font-size:.82rem;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease,transform .12s ease;letter-spacing:.02em}.load-more-button:hover:not(:disabled){background:var(--primary-soft);color:var(--primary-strong);border-color:var(--primary);transform:translateY(-1px)}.load-more-button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:640px){.load-more-wrap{padding:14px 0 0}.load-more-button{width:100%;min-height:44px;border-radius:14px}}.theme-toggle-button{border:1px solid var(--line);white-space:nowrap}.theme-toggle-button:hover{background:var(--surface-soft-strong)}.primary-button{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-strong) 100%);color:#fff;font-weight:700}.danger-button{padding:12px 16px;border-radius:14px;border:0;cursor:pointer;background:var(--danger-bg);color:var(--danger-text)}.page-content{display:grid;gap:22px}.page-content.page-content--deliveries{gap:8px}.page-content.page-content--deliveries .page-heading{margin-bottom:0}.hero-card,.metric-card,.panel,.mobile-nav{border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.hero-card{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px;padding:24px;border-radius:28px;background:var(--hero-bg)}.hero-copy{max-width:58ch;line-height:1.6;color:var(--hero-copy)}.hero-highlight-grid{display:grid;gap:14px}.hero-highlight{display:grid;gap:8px;padding:18px;border-radius:22px;background:var(--surface-soft)}.hero-highlight strong{font-size:2rem}.metrics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.loading-note{margin:0;padding:10px 14px;border-radius:12px;border:1px dashed var(--line);color:var(--muted);background:var(--surface-soft)}.products-grid{position:relative;display:grid;gap:12px;grid-template-columns:1fr}.floating-success-toast{position:fixed;top:80px;left:50%;transform:translate(-50%);z-index:1400;padding:10px 16px;border-radius:12px;border:1px solid rgba(34,197,94,.36);background:#16a34a33;color:var(--success-text);font-size:.9rem;font-weight:700;box-shadow:0 10px 20px #16a34a29;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.back-to-top-button{position:fixed;bottom:88px;left:20px;z-index:1100;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--muted);cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 14px #0000001f;transition:opacity .2s,transform .2s}.back-to-top-button:hover{background:var(--surface-soft);color:var(--text);transform:translateY(-2px)}.back-to-top-button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}@media(min-width:768px){.back-to-top-button{bottom:28px;left:28px}}.floating-error-toast{position:fixed;top:80px;left:50%;transform:translate(-50%);z-index:1400;padding:10px 16px;border-radius:12px;border:1px solid rgba(225,29,72,.38);background:#be185d2e;color:var(--error-text);font-size:.9rem;font-weight:700;box-shadow:0 10px 20px #be185d29;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.products-page-actions{display:flex;justify-content:flex-end;margin-bottom:2px}.products-mobile-create-button{min-width:170px;padding:10px 16px}.search-row{display:grid;gap:0;grid-template-columns:minmax(0,1fr);margin-bottom:12px}.search-row-inline{width:100%}.products-search-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:center}.products-search-row .search-input-wrap{min-width:0}.products-mobile-filter-wrap{display:none;position:relative}.products-mobile-filter-button{width:34px;height:34px;border-radius:9px}.products-mobile-filter-menu{position:absolute;top:calc(100% + 6px);right:0;width:min(196px,74vw);display:grid;gap:1px;padding:6px;border-radius:10px;border:1px solid var(--line);background:var(--modal-bg);box-shadow:var(--shadow);z-index:20}.products-mobile-filter-option{width:100%;border:0;border-radius:8px;padding:7px 8px;font-size:.82rem;text-align:left;background:transparent;color:var(--text);cursor:pointer}.products-mobile-filter-option:hover,.products-mobile-filter-option.active{background:var(--primary-soft)}.search-input-wrap{position:relative;width:100%}.search-input{width:100%;padding:12px 40px 12px 38px;border-radius:12px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text)}.search-input-icon{position:absolute;top:50%;left:12px;width:16px;height:16px;color:var(--muted);transform:translateY(-50%);pointer-events:none}.search-input-icon svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}.search-clear-button{position:absolute;top:50%;right:8px;width:24px;height:24px;border:0;border-radius:50%;background:var(--surface-soft-strong);color:var(--muted);cursor:pointer;transform:translateY(-50%)}.table-actions{display:flex;gap:8px}.table-sort-button{border:0;padding:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;display:inline-flex;align-items:center;gap:6px;cursor:pointer}.table-sort-button:hover{color:var(--text)}.table-sort-indicator{display:inline-block;min-width:12px;text-align:center}.products-table-row{cursor:pointer}.products-table-row:hover td{background:var(--surface-soft)}.products-table-desktop{display:block}.products-mobile-list{display:none}.product-mobile-card{border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 10px 24px #0f172a1a;overflow:hidden}.product-mobile-card-trigger{width:100%;border:0;background:linear-gradient(165deg,var(--surface-soft) 0%,transparent 100%);color:inherit;text-align:left;padding:15px;display:grid;gap:12px;cursor:pointer;transition:transform .16s ease,background .16s ease}.product-mobile-card-trigger:active{transform:scale(.995)}.product-mobile-card-trigger:hover{background:linear-gradient(165deg,var(--surface-soft-strong) 0%,transparent 100%)}.product-mobile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.product-mobile-title-block{display:block;min-width:0;flex:1}.product-mobile-head h4{margin:0;font-size:.9rem;line-height:1.25;text-transform:uppercase;letter-spacing:.01em;overflow-wrap:anywhere}.product-mobile-id{margin:4px 0 0;color:var(--muted);font-size:.72rem;font-weight:400;line-height:1.2;letter-spacing:.02em}.product-mobile-variation{margin:0;color:var(--text);font-size:.9rem;line-height:1.25;text-transform:uppercase;letter-spacing:.01em;font-weight:600}.product-status-chip{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-size:.74rem;white-space:nowrap;flex-shrink:0}.product-status-chip.active{background:#22c55e24;color:var(--success-text)}.product-status-chip.inactive{background:#94a3b82e;color:var(--muted)}.product-mobile-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-mobile-info-box{border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);padding:9px 10px}.product-mobile-info-label{margin:0;color:var(--muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.04em}.product-mobile-info-value{margin:3px 0 0;font-size:1rem;font-weight:700}.customer-mobile-email-box{grid-column:1 / -1}.customer-mobile-email-value{margin:3px 0 0;font-size:.88rem;font-weight:600;line-height:1.25;overflow-wrap:anywhere}.product-actions-modal{width:min(100%,520px)}.create-product-modal{width:min(100%,760px)}.create-product-form{display:grid;gap:12px}.create-product-emphasis-label>span{font-weight:700;color:var(--text)}.create-product-active-check{margin-top:2px}.create-product-footer .ghost-button,.create-product-footer .primary-button{min-width:140px}.create-product-row{display:grid;gap:8px;padding:10px;border:1px dashed var(--line);border-radius:14px;background:var(--surface-soft)}.create-product-row-title{margin:0;font-size:.84rem;font-weight:700;color:var(--text);letter-spacing:-.01em}.create-product-row-content{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:10px;align-items:center}.create-product-check{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);font-size:.84rem;font-weight:700}.create-product-check input{width:auto;margin:0}.create-product-side-field{display:grid;gap:6px}.create-product-side-field input:disabled{opacity:.58;cursor:not-allowed}.create-product-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-actions-head{display:grid;gap:4px}.product-actions-grid{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.product-actions-grid button{width:100%}.product-actions-imei{display:grid;gap:8px;padding-top:8px;border-top:1px dashed var(--line)}.product-actions-toggle{justify-content:center}.imei-manager-modal{width:min(100%,860px)}.imei-manager-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.imei-manager-actions{display:flex;gap:10px}.imei-table{min-width:680px}.product-details-modal{width:min(100%,960px);max-width:calc(100vw - 20px);max-height:calc(100vh - 32px);overflow-x:hidden;overflow-y:auto}.product-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.product-details-title-block{display:grid;gap:1px}.product-details-title-block small{color:var(--muted);font-size:.82rem}.product-details-head-actions{display:flex;align-items:center;gap:8px}.product-details-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px dashed var(--line);border-radius:12px;background:var(--surface-soft)}.product-details-summary-name{margin:0;min-width:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:.9rem;line-height:1.25}.product-details-summary-product{font-weight:700}.product-details-summary-variation{color:var(--text);font-size:inherit;font-weight:700}.product-details-summary-stock{display:flex;align-items:baseline;gap:8px;margin-left:auto;white-space:nowrap;font-size:.9rem;line-height:1.25}.product-details-summary-stock span{color:var(--muted);font-size:inherit;font-weight:600}.product-details-summary-stock strong{font-size:inherit;font-weight:700}.product-details-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.product-details-field{display:grid;gap:6px}.product-details-field-full{grid-column:1 / -1}.product-details-field span{font-size:.82rem;color:var(--muted)}.product-details-field input,.product-details-field select{width:100%;padding:11px 12px;border-radius:12px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text)}.product-details-field input:focus,.product-details-field select:focus,.product-imei-reason:focus{outline:2px solid var(--input-focus);outline-offset:1px}.product-details-checks{display:flex;flex-wrap:wrap;gap:12px;padding:2px 0 4px}.product-details-check{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.9rem}.product-details-check input{width:auto}.product-imei-section{display:grid;gap:10px;padding:12px;border:1px dashed var(--line);border-radius:14px;background:var(--surface-soft)}.product-imei-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-imei-section-head h4{margin:0;font-size:.95rem}.product-imei-create-button{width:auto;min-width:146px;white-space:nowrap}.product-imei-list{display:grid;gap:10px}.product-imei-item{border:1px solid var(--line);border-radius:14px;padding:10px;background:var(--surface-soft)}.product-imei-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-imei-item-title{margin:0;font-size:.94rem;font-weight:700}.product-imei-item-meta{margin:2px 0 0;color:var(--muted);font-size:.78rem}.product-imei-item-actions{display:flex;gap:8px}.product-imei-icon-button{width:34px;height:34px;border-radius:10px}.product-imei-icon-button.danger{background:var(--danger-bg);color:var(--danger-text)}.product-imei-item-actions .ghost-button,.product-imei-item-actions .danger-button{padding:8px 12px;border-radius:10px}.product-imei-inline-block{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line);display:grid;gap:8px}.product-imei-inline-grid{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.product-imei-inline-actions{display:flex;gap:8px;flex-wrap:nowrap;align-items:center}.product-imei-inline-actions .ghost-button,.product-imei-inline-actions .danger-button,.product-imei-inline-actions .primary-button{padding:9px 13px;border-radius:11px;font-size:.88rem;font-weight:600;white-space:nowrap}.product-imei-reason{width:100%;min-height:72px;padding:10px 12px;border-radius:12px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text);resize:vertical}.product-details-footer{display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;gap:8px}.product-details-compact-button{padding:9px 13px;border-radius:11px;font-size:.88rem;font-weight:600}.pd-modal{background:var(--modal-bg);border-radius:20px 20px 0 0;display:flex;flex-direction:column;max-height:92dvh;width:100%;box-shadow:0 -4px 32px #0000002e}.pd-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:16px 16px 0;flex-shrink:0}.pd-modal-header-title{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.pd-modal-name{font-size:1rem;font-weight:700;color:var(--text);line-height:1.35;overflow-wrap:anywhere;word-break:normal}.pd-modal-variation{font-size:.78rem;color:var(--muted)}.pd-modal-header-meta{display:flex;align-items:center;gap:8px;flex-shrink:0}.pd-modal-stock-badge{font-size:.8rem;font-weight:700;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;padding:3px 8px;color:var(--text)}.pd-modal-stock-badge span{font-weight:400;color:var(--muted)}.pd-modal-close-btn{background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;padding:6px;display:flex;align-items:center;justify-content:center;color:var(--text);cursor:pointer;flex-shrink:0}.pd-tabs{display:flex;gap:4px;padding:12px 16px 0;border-bottom:1px solid var(--line);flex-shrink:0}.pd-tab{padding:8px 14px;font-size:.82rem;font-weight:600;color:var(--muted);background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer;border-radius:8px 8px 0 0;transition:color .15s,border-color .15s}.pd-tab.active{color:var(--primary);border-bottom-color:var(--primary)}.pd-modal-body{flex:1;overflow-y:auto;padding:16px;-webkit-overflow-scrolling:touch}.pd-dados-form{display:flex;flex-direction:column;gap:16px}.pd-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-weight:600;font-size:.9rem;color:var(--text)}.pd-estoque-section{display:flex;flex-direction:column}.pd-custo-section{display:flex;flex-direction:column;gap:12px}.pd-custo-list{display:flex;flex-direction:column;gap:8px}.pd-custo-row{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;padding:10px 12px}.pd-custo-row-main{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.pd-custo-entry-code{font-weight:700;font-size:.85rem;color:var(--text)}.pd-custo-price{font-weight:700;font-size:.9rem;color:var(--primary)}.pd-custo-row-meta{display:flex;flex-wrap:wrap;gap:4px;font-size:.75rem;color:var(--muted)}.pd-modal-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-top:1px solid var(--line);flex-shrink:0;gap:8px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.global-modal-overlay:has(.pd-modal){display:flex;align-items:flex-end;justify-content:center;padding:0}@media(min-width:600px){.global-modal-overlay:has(.pd-modal){align-items:center;padding:16px}.pd-modal{border-radius:16px;max-height:calc(100vh - 48px);width:min(560px,calc(100vw - 32px));box-shadow:0 8px 40px #00000038}}.sales-status-stack{display:grid;gap:4px;justify-items:start}.sales-status-stack .panel-badge,.product-mobile-head .panel-badge{padding:5px 8px;border-radius:999px;font-size:.72rem;line-height:1.1}.sales-details-grid{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.sales-details-field{display:grid;gap:6px;min-width:0}.sales-details-field span{font-size:.82rem;color:var(--muted)}.sales-details-field strong{font-size:.9rem;font-weight:700;overflow-wrap:anywhere}.sales-details-field-full{grid-column:1 / -1}.sales-detail-section{gap:8px;padding:8px;border-radius:12px}.sales-detail-section>h4{margin:0;font-size:.9rem}.sales-detail-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.sales-detail-row-main{min-width:0;display:grid;gap:2px}.sales-detail-row-title{display:block;font-size:.85rem;font-weight:700;line-height:1.24;overflow-wrap:anywhere}.sales-detail-row-meta{color:var(--muted);font-size:.75rem;line-height:1.2}.sales-detail-row-value{font-size:.86rem;font-weight:700;white-space:nowrap;text-align:right}.sales-payment-row-side{display:grid;gap:6px;justify-items:end;min-width:220px}.sales-payment-row-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;width:100%}.sales-payment-confirm-button{padding:6px 9px;border-radius:9px;font-size:.72rem;font-weight:700}.sales-payment-row-actions .panel-badge{padding:4px 7px;border-radius:999px;font-size:.7rem}.sales-detail-row--courier-cash-pending{grid-template-columns:1fr;align-items:start}.sales-detail-row--courier-cash-pending .sales-payment-row-side{min-width:0;width:100%;justify-items:stretch}.sales-detail-row--courier-cash-pending .sales-detail-row-value{text-align:left}.sales-detail-row--courier-cash-pending .sales-payment-row-actions{justify-content:flex-start;align-items:flex-start}.sales-courier-cash-badge{max-width:none;text-align:left!important;line-height:1.35;white-space:normal}.finance-payment-actions--cash-steps{flex-direction:column;align-items:stretch;gap:8px;min-width:0;width:100%;justify-content:stretch}.finance-payment-actions--cash-steps .finance-action-button{width:100%}.courier-cash-btn-icon{flex-shrink:0;display:block}.courier-cash-ack-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:10px 14px;border-radius:12px;font-weight:700;font-size:.9rem;background:linear-gradient(180deg,#fbbf2447,#f59e0b24);border:1px solid rgba(217,119,6,.55);color:#92400e;box-shadow:0 1px #ffffff47 inset}.courier-cash-ack-button:hover:not(:disabled){background:linear-gradient(180deg,#fbbf2461,#f59e0b38);border-color:#b45309a6}.courier-cash-ack-button:disabled{opacity:.65;cursor:not-allowed}.courier-cash-hand-button{display:inline-flex;align-items:center;justify-content:center;gap:10px}.deliveries-today-panel{border-left:1px solid var(--line)}.delivery-today-list{display:grid;gap:8px}.delivery-today-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:var(--surface-soft);border:1px solid var(--line);border-left:3px solid var(--line)}.delivery-today-row.status-pending{border-left-color:#f59e0bb3}.delivery-today-row.status-on_route{border-left-color:#3b82f6b3}.delivery-today-row.status-completed{border-left-color:#22c55ebf;opacity:.75}.delivery-today-row-main{display:flex;flex-direction:column;gap:2px;min-width:0}.delivery-today-row-main strong{font-size:.86rem;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delivery-today-row-meta{display:flex;align-items:center;gap:4px;font-size:.75rem;color:var(--text-muted)}.delivery-today-row-meta svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.delivery-today-row .panel-badge{flex-shrink:0;font-size:.68rem;padding:3px 8px;border-radius:999px;white-space:nowrap}.deliveries-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.deliveries-search{margin-bottom:16px}.deliveries-status-tabs{display:flex;flex-wrap:wrap;gap:6px}.deliveries-status-tab{border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:.76rem;font-weight:600;background:transparent;color:var(--text-muted);cursor:pointer;transition:background .14s,border-color .14s,color .14s}.deliveries-status-tab:hover,.deliveries-status-tab:focus-visible{background:var(--primary-soft);border-color:#f9731657;color:var(--text)}.deliveries-status-tab.active{background:var(--primary-soft);border-color:var(--primary);color:var(--text);font-weight:700}.deliveries-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:32px 16px;color:var(--text-muted);text-align:center}.deliveries-empty-icon{width:40px;height:40px;stroke:var(--text-muted);fill:none;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.5;margin-bottom:4px}.deliveries-empty p{margin:0;font-size:.9rem;font-weight:600}.deliveries-empty small{font-size:.78rem;opacity:.7}.delivery-cards{display:grid;gap:10px}.delivery-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:14px 16px;display:grid;gap:10px}.delivery-card.clickable{cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .14s}.delivery-card.clickable:hover{border-color:#f9731661;box-shadow:0 2px 12px #f9731614}.delivery-card.clickable:active{transform:scale(.997)}.delivery-card.selected{border-color:#f9731685;box-shadow:0 0 0 2px #f9731629}.delivery-card.status-pending,.delivery-card.status-on_route{border-left:1px solid var(--line)}.delivery-card.status-completed{border-left:1px solid var(--line);opacity:.82}.delivery-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.delivery-card-title{font-size:.92rem;font-weight:700;line-height:1.3;color:var(--text);min-width:0;flex:1}.delivery-card-kind{font-size:.68rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.delivery-card--cash-return .delivery-card-top{flex-direction:column;align-items:flex-start;gap:4px}.delivery-card--cash-return{border-left:3px solid rgba(234,179,8,.75)}.delivery-card-cash-admin-hint{font-size:.72rem;color:var(--muted);line-height:1.35;flex:1 1 100%;min-width:0}.delivery-card-top .panel-badge{flex-shrink:0;font-size:.7rem;padding:4px 9px;border-radius:999px;white-space:nowrap}.delivery-flow-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.delivery-flow-stage{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 10px;font-size:.72rem;font-weight:700;letter-spacing:.01em;border:1px solid var(--line);background:var(--surface-soft);color:var(--text)}.delivery-flow-stage.stage-pending_ack{border-color:#f59e0b66;background:#f59e0b1f}.delivery-flow-stage.stage-acknowledged{border-color:#3b82f666;background:#3b82f61f}.delivery-flow-stage.stage-collecting{border-color:#0ea5e966;background:#0ea5e91f}.delivery-flow-stage.stage-on_route{border-color:#10b98166;background:#10b98124}.delivery-flow-stage.stage-completed{border-color:#22c55e66;background:#22c55e1f}.delivery-flow-sale{font-size:.72rem;font-weight:600;color:var(--text-muted)}.delivery-card-meta{display:flex;gap:14px;flex-wrap:wrap}.delivery-card-meta-item{display:flex;align-items:center;gap:5px;font-size:.78rem;color:var(--text-muted);font-weight:500}.delivery-card-meta-item svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.delivery-card-note{margin:0;font-size:.8rem;color:var(--text-muted);line-height:1.4;padding:7px 10px;background:var(--surface-soft);border-radius:8px;border-left:2px solid var(--line)}.delivery-card-note span{display:block;margin-bottom:2px}.delivery-completion-note{margin:0;padding:7px 10px;background:var(--surface-soft);border-radius:8px;color:var(--text-muted);font-size:.8rem;border-left:2px solid rgba(34,197,94,.5)}.delivery-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding-top:8px;border-top:1px solid var(--line)}.delivery-card-hint{font-size:.74rem;color:var(--text-muted);opacity:.75;line-height:1.35;flex:1;min-width:0}.delivery-card-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.deliveries-card-button{padding:5px 10px;border-radius:9px;font-size:.74rem;font-weight:600;border:1px solid transparent}.deliveries-card-button-large{min-height:40px;font-size:.82rem;padding:0 14px}.delivery-action-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#fff;box-shadow:0 5px 14px #0f172a29}.delivery-action-button svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.delivery-action-button.tone-acknowledge{background:linear-gradient(160deg,#f59e0b,#d97706);border-color:#92400e61}.delivery-action-button.tone-collect{background:linear-gradient(160deg,#0ea5e9,#0284c7);border-color:#07598559}.delivery-action-button.tone-on-route{background:linear-gradient(160deg,#22c55e,#16a34a);border-color:#16653457}.delivery-action-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.delivery-admin-send-button{background:#2563eb24;border-color:#2563eb59;color:#1d4ed8}.delivery-admin-send-button:hover{background:#2563eb33}.delivery-admin-delete-button{background:#dc26261f;border-color:#dc262657;color:#b91c1c}.delivery-admin-delete-button:hover{background:#dc262633}.delivery-awaiting-pdv{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:10px;border:1px dashed var(--line);background:var(--surface-soft);color:var(--text-muted);font-size:.74rem;font-weight:600}.delivery-item-row p,.delivery-item-row small{margin:0;color:var(--muted)}.delivery-item-list{display:grid;gap:10px}.delivery-item-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px;border-radius:12px;background:var(--surface-soft)}.delivery-imei-select{min-width:220px;padding:10px;border-radius:10px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text)}.global-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:16px;background:var(--modal-overlay);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.global-modal{width:min(100%,520px);max-width:calc(100vw - 24px);border-radius:20px;border:1px solid var(--line);background:var(--modal-bg);box-shadow:var(--shadow);padding:20px;display:grid;gap:12px}.global-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.global-modal-close{width:32px;height:32px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--text);cursor:pointer;display:inline-grid;place-items:center;font-size:.95rem;line-height:1}.global-modal-close:hover{background:var(--surface-soft-strong)}.global-modal h3,.global-modal p{margin:0}.global-modal p{color:var(--muted);white-space:pre-line}.global-modal-form{display:grid;gap:10px}.global-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.global-modal-actions .ghost-button,.global-modal-actions .primary-button,.global-modal-actions .danger-button{padding:9px 13px;border-radius:11px;font-size:.84rem;min-height:36px}.data-table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:760px}.data-table th,.data-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left}.data-table th{color:var(--muted);font-size:.88rem;font-weight:600}.metric-card{display:grid;gap:10px;padding:20px;border-radius:24px;background:var(--panel)}.metric-value{font-size:2rem}.metric-change{display:inline-flex;width:fit-content;padding:6px 10px;border-radius:999px;font-size:.92rem}.metric-positive{background:#22c55e24;color:#86efac}.metric-warning{background:#f59e0b29;color:#fcd34d}.metric-neutral{background:#94a3b829;color:#cbd5e1}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:18px}.chart-panel{grid-row:span 2}.panel{padding:22px;border-radius:26px;background:var(--panel)}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-header h3{margin:0}.panel-header p{margin:4px 0 0}.panel-badge{padding:8px 12px;border-radius:999px;background:var(--surface-soft-strong);font-size:.75rem;font-weight:600;line-height:1;white-space:nowrap}.panel-badge.subtle{color:var(--panel-badge-subtle)}.panel-badge.danger{color:var(--danger-text);background:var(--danger-bg)}.panel-badge.success{color:var(--success-text);background:#15803d1f}.panel-badge--compact{display:inline-flex;align-items:center;width:fit-content;padding:2px 8px;border-radius:999px;font-size:.62rem;font-weight:800;line-height:1}.chart-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:end;min-height:300px}.chart-column{display:grid;gap:10px;align-items:end}.chart-value,.chart-label{text-align:center;font-size:.88rem;color:var(--muted)}.chart-bar-wrap{display:flex;align-items:end;min-height:210px;border-radius:18px;padding:10px;background:var(--surface-soft)}.chart-bar{width:100%;border-radius:14px;background:linear-gradient(180deg,#fb923c,#f97316)}.stack-list,.delivery-list,.alert-list{display:grid;gap:12px}.stack-row,.delivery-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:18px;background:var(--surface-soft)}.progress-chip{min-width:52px;padding:8px 10px;border-radius:999px;text-align:center;background:var(--primary-soft);color:var(--progress-chip-text)}.alert-list{margin:0;padding-left:18px}.alert-list li{color:var(--alert-text);line-height:1.5}.delivery-meta{display:grid;gap:6px;text-align:right}.mobile-nav{position:fixed;right:0;bottom:0;left:0;display:none;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;justify-content:center;gap:2px;padding:6px 12px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--mobile-nav-border);background:var(--mobile-nav-bg);box-shadow:0 -4px 24px #0f172a1a;z-index:1100}.mobile-nav--courier{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav-item{min-height:52px;padding:6px 2px;border-radius:10px;border:1px solid transparent;background:transparent;color:var(--text);font-size:.6rem;display:grid;justify-items:center;align-items:center;gap:2px;transition:background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease}.mobile-nav-item:hover,.mobile-nav-item:focus-visible{background:var(--mobile-nav-item-hover-bg);color:var(--mobile-nav-item-hover-text);border-color:#f9731642}.mobile-nav-item.active{background:var(--mobile-nav-item-active-bg);color:var(--mobile-nav-item-active-text);border-color:#f973164d;box-shadow:none}.mobile-nav-item.active .mobile-nav-label{font-weight:700}.mobile-nav-item--pdv{position:relative;min-height:62px;margin-top:-14px;border-radius:16px;border-color:#f973164d;background:linear-gradient(160deg,var(--primary) 0%,var(--primary-strong) 100%);color:#fff;box-shadow:0 8px 22px #f9731661}.mobile-nav-item--pdv:hover,.mobile-nav-item--pdv:focus-visible{background:linear-gradient(160deg,var(--primary-strong) 0%,#c2410c 100%);color:#fff;border-color:#f9731680}.mobile-nav-item--pdv.active{background:linear-gradient(160deg,var(--primary) 0%,var(--primary-strong) 100%);color:#fff;border-color:#f9731680;box-shadow:0 8px 26px #f9731680}.mobile-nav-item--pdv .mobile-nav-label{font-weight:700;font-size:.7rem}.mobile-nav-icon{display:inline-grid;place-items:center;width:22px;height:22px}.mobile-nav-icon--pdv{width:26px;height:26px}.mobile-nav-icon-svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.mobile-nav-icon-svg--pdv{width:22px;height:22px;stroke-width:2}.mobile-nav-label{white-space:normal;overflow:visible;text-overflow:clip;max-width:none;line-height:1.08;font-size:.6rem;letter-spacing:-.01em;text-align:center;word-break:normal}.drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000061;z-index:1200;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.drawer{position:fixed;bottom:0;left:0;right:0;z-index:1210;background:var(--mobile-nav-bg);border-radius:20px 20px 0 0;border-top:1px solid var(--mobile-nav-border);box-shadow:0 -8px 40px #00000029;padding:0 0 calc(16px + env(safe-area-inset-bottom));transform:translateY(100%);transition:transform .26s cubic-bezier(.4,0,.2,1);display:none}.drawer--open{transform:translateY(0)}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 12px;border-bottom:1px solid var(--mobile-nav-border)}.drawer-head strong{font-size:1rem;font-weight:700;color:var(--text)}.drawer-nav{padding:8px 10px;display:grid;gap:4px}.drawer-group{display:grid;gap:1px}.drawer-group-label{font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:10px 10px 4px}.drawer-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;border:1px solid transparent;background:transparent;color:var(--text);font-size:.95rem;font-weight:500;text-align:left;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}.drawer-item:hover,.drawer-item:focus-visible{background:var(--mobile-nav-item-hover-bg);color:var(--mobile-nav-item-hover-text);border-color:#f9731638}.drawer-item.active{background:var(--mobile-nav-item-active-bg);color:var(--mobile-nav-item-active-text);border-color:#f973164d;font-weight:700}.drawer-item-icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}.pdv-page-grid{display:grid;gap:16px;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr)}.finance-page-grid{display:grid;gap:16px;grid-template-columns:1fr}.finance-page-grid .finance-main-tabs{margin-bottom:0}.pdv-steps-head{display:flex;align-items:flex-start;justify-content:flex-start;gap:10px;margin-bottom:8px}.pdv-steps-track{display:flex;gap:6px;width:100%;padding:4px;background:var(--surface-soft);border-radius:14px}.pdv-step-chip{flex:1;border:none;border-radius:12px;background:transparent;color:var(--muted);padding:10px 8px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;text-align:center;transition:all .2s ease}.pdv-step-chip:hover:not(:disabled){background:var(--panel)}.pdv-step-circle{width:28px;height:28px;min-width:28px;border-radius:10px;border:2px solid var(--line);background:var(--panel);color:var(--muted);font-size:.78rem;font-weight:800;display:inline-grid;place-items:center;transition:all .2s ease}.pdv-step-label{color:var(--muted);font-size:.72rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdv-step-chip.active{background:var(--primary);box-shadow:0 4px 12px #f973164d}.pdv-step-chip.active .pdv-step-circle{border-color:var(--primary-strong);background:#fff;color:var(--primary)}.pdv-step-chip.active .pdv-step-label{color:#fff;font-weight:700}.pdv-step-chip.locked,.pdv-step-chip:disabled{opacity:.4}.pdv-steps-track-4,.pdv-steps-track-5{gap:4px}.pdv-step-chip-done.active{background:var(--success);box-shadow:0 4px 12px #15803d4d}.pdv-step-chip-done.active .pdv-step-circle{border-color:var(--success);background:#fff;color:var(--success)}.pdv-step-chip-done.active .pdv-step-label{color:#fff}.pdv-success-panel{justify-items:center;padding:8px 0 12px;width:100%;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.pdv-success-content{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;max-width:400px;margin:0 auto;box-sizing:border-box;padding:0 4px}.pdv-success-icon-wrap{animation:pdv-success-pop .45s cubic-bezier(.175,.885,.32,1.275) forwards}.pdv-success-svg{width:96px;height:96px}.pdv-success-circle-bg{stroke:none;fill:#15803d1a}.pdv-success-circle{fill:none;stroke:var(--success);stroke-width:3;stroke-linecap:round;stroke-dasharray:226;stroke-dashoffset:226;animation:pdv-circle-draw .5s ease-out .1s forwards}.pdv-success-check{fill:none;stroke:var(--success);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:50;stroke-dashoffset:50;animation:pdv-check-draw .3s ease-out .52s forwards}.pdv-success-title{margin:0;font-size:1.35rem;font-weight:800;color:var(--text);opacity:0;animation:pdv-success-fade-up .35s ease .72s forwards;text-align:center;line-height:1.2}.pdv-success-number{display:flex;flex-direction:column;align-items:center;gap:4px;background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;padding:12px 20px;opacity:0;animation:pdv-success-fade-up .35s ease .88s forwards;width:100%;box-sizing:border-box}.pdv-success-number-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.pdv-success-number-value{font-size:1.75rem;font-weight:800;color:var(--success);letter-spacing:.02em}.pdv-success-photo-reminder{display:flex;flex-direction:column;align-items:center;gap:6px;background:#ca8a0414;border:1.5px solid rgba(202,138,4,.35);border-radius:14px;padding:10px 12px;max-width:100%;width:100%;opacity:0;animation:pdv-success-fade-up .35s ease 1.04s forwards;box-sizing:border-box}.pdv-success-photo-reminder-header{display:flex;align-items:center;gap:8px}.pdv-success-photo-icon{width:20px;height:20px;color:#ca8a04;flex-shrink:0}.pdv-success-photo-reminder-title{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#ca8a04}.pdv-success-photo-reminder-text{margin:0;font-size:.78rem;color:var(--text);text-align:center;line-height:1.35}.pdv-success-camera-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;border:1.5px solid #ca8a04;background:transparent;color:#ca8a04;font-size:.85rem;font-weight:700;cursor:pointer;transition:background .15s,color .15s}.pdv-success-camera-btn:hover{background:#ca8a041f}.pdv-delivery-section{display:grid;gap:8px;width:100%;max-width:none}.pdv-delivery-section-label,.pdv-delivery-link-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.pdv-delivery-link-block{display:grid;gap:8px}.pdv-delivery-link-head{display:flex;align-items:center;justify-content:space-between}.pdv-delivery-link-clear{font-size:.75rem;font-weight:600;color:var(--muted);background:none;border:none;cursor:pointer;padding:0;text-decoration:underline}.pdv-delivery-list,.pdv-delivery-link-list{display:grid;gap:6px;max-height:none;overflow:visible}.pdv-delivery-item,.pdv-delivery-link-item{display:grid;gap:1px;padding:9px 12px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface-soft);text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.pdv-delivery-item.selected,.pdv-delivery-link-item.selected{border-color:var(--primary);background:rgba(var(--primary-rgb, 37 99 235) / .07)}.pdv-delivery-item-row,.pdv-delivery-link-item-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.pdv-delivery-item-time,.pdv-delivery-link-item-time{font-size:.72rem;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}.pdv-delivery-item-title,.pdv-delivery-link-item-title{font-size:.82rem;font-weight:700;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdv-delivery-item-courier,.pdv-delivery-link-item-courier{font-size:.74rem;color:var(--muted)}.pdv-delivery-badge{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:999px;font-size:.68rem;font-weight:700;white-space:nowrap;flex-shrink:0}.pdv-delivery-badge--draft{background:#64748b1f;color:var(--muted)}.pdv-delivery-badge--sent{background:#3b82f61f;color:#2563eb}.pdv-delivery-badge--on-route{background:#10b9811f;color:#047857}.pdv-delivery-confirm-btn{justify-self:start;display:inline-flex;align-items:center;height:34px;padding:0 18px;border-radius:999px;border:none;background:var(--primary, #2563eb);color:#fff;font-size:.82rem;font-weight:700;cursor:pointer;transition:opacity .15s}.pdv-delivery-confirm-btn:disabled{opacity:.4;cursor:not-allowed}.pdv-delivery-done{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:700;color:var(--success)}.pdv-success-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:stretch;width:100%;opacity:0;animation:pdv-success-fade-up .35s ease 1.22s forwards}.pdv-success-actions .pdv-success-new-btn{flex:1 1 calc(50% - 4px);min-width:0;margin:0;opacity:1;animation:none}.pdv-success-new-btn{min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:6px}.pdv-success-new-btn svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}.pdv-success-btn-info{border-color:#2563eb59;background:#2563eb1a;color:#1d4ed8}.pdv-success-btn-secondary{border-color:#0f172a33;background:var(--surface-soft-strong);color:var(--text)}.pdv-success-delivery-status{margin:0;border-radius:12px;padding:10px 12px;text-align:center;font-size:.84rem;font-weight:600;border:1px solid var(--line);background:var(--surface-soft);opacity:0;animation:pdv-success-fade-up .35s ease 1.1s forwards}.pdv-success-delivery-status.ok{border-color:#10b98159;background:#10b9811a;color:#047857}.pdv-success-delivery-status.warning{border-color:#f59e0b59;background:#f59e0b1a;color:#92400e}@media(max-width:480px){.pdv-success-svg{width:72px;height:72px}.pdv-success-title{font-size:1.2rem}.pdv-success-number-value{font-size:1.5rem}.pdv-success-delivery-status{font-size:.78rem;padding:8px 10px}}@media(max-width:380px){.pdv-success-actions .pdv-success-new-btn{flex:1 1 100%}}@keyframes pdv-success-pop{0%{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}@keyframes pdv-circle-draw{to{stroke-dashoffset:0}}@keyframes pdv-check-draw{to{stroke-dashoffset:0}}@keyframes pdv-success-fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.pdv-step-panel{display:grid;gap:16px}.pdv-stage1-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pdv-search-panel{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft)}.pdv-search-panel h4{margin:0;font-size:.96rem}.pdv-selected-customer{border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:var(--surface-soft);display:flex;align-items:center;justify-content:space-between;gap:12px}.pdv-selected-customer>div{display:grid;gap:1px}.pdv-selected-customer span{color:var(--muted);font-size:.86rem}.pdv-empty-search{border:1px dashed var(--line);border-radius:12px;background:var(--panel);padding:12px;display:grid;gap:8px}.pdv-empty-search p{margin:0;color:var(--muted)}.pdv-customer-list,.pdv-products-list,.pdv-cart-list,.pdv-recent-sales-list,.finance-pending-list,.finance-history-list{display:grid;gap:10px}.pdv-customer-card,.pdv-product-card,.pdv-cart-item,.pdv-sale-card,.finance-payment-card,.finance-history-card{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:10px}.pdv-customer-card,.pdv-sale-card{width:100%;text-align:left;cursor:pointer}.pdv-customer-card.active{border-color:#f9731659;background:var(--primary-soft)}.pdv-customer-card strong,.pdv-product-card strong,.pdv-cart-item strong,.pdv-sale-card strong,.finance-payment-card strong,.finance-history-card strong{margin:0}.pdv-customer-card span,.pdv-product-card span,.pdv-sale-card p,.pdv-sale-card small,.finance-payment-card p,.finance-payment-card small,.finance-history-card p,.finance-history-card small{color:var(--muted)}.pdv-customer-card,.pdv-product-card{display:flex;align-items:center;justify-content:space-between;gap:10px}.pdv-product-card-button{width:100%;text-align:left;cursor:pointer}.pdv-product-card-button:hover,.pdv-product-card-button:focus-visible{border-color:#f9731659;background:var(--primary-soft)}.pdv-product-card-copy{display:grid;gap:4px}.pdv-imei-card-disabled{opacity:.45;cursor:not-allowed}.pdv-cart-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px}.pdv-cart-item-main{min-width:0;display:grid;gap:2px}.pdv-cart-item-main strong{font-size:.86rem;line-height:1.22;overflow-wrap:anywhere}.pdv-cart-item p,.pdv-cart-item small{margin:0;color:var(--muted)}.pdv-cart-item p{font-size:.78rem;line-height:1.22}.pdv-cart-item small{font-size:.72rem;line-height:1.2;overflow-wrap:anywhere}.pdv-cart-item-actions{display:grid;gap:6px;justify-items:end;flex-shrink:0}.pdv-cart-item-actions strong{font-size:.84rem;line-height:1.2}.pdv-cart-item-actions .ghost-button{padding:6px 10px;border-radius:9px;min-height:30px;font-size:.72rem}.pdv-cart-qty-controls{display:inline-flex;align-items:center;gap:4px}.pdv-cart-qty-button{width:24px;height:24px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--text);font-size:.9rem;line-height:1;cursor:pointer;display:inline-grid;place-items:center}.pdv-cart-qty-button:hover,.pdv-cart-qty-button:focus-visible{border-color:#f9731659;background:var(--primary-soft)}.pdv-cart-qty-value{min-width:24px;text-align:center;font-size:.76rem;font-weight:700;color:var(--text)}.pdv-cart-block{display:grid;gap:10px;border:1px solid var(--line);border-radius:16px;padding:11px;background:var(--surface-soft)}.pdv-cart-block-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.pdv-cart-block-head h4{margin:0}.pdv-cart-block-head span{color:var(--muted);font-size:.84rem}.pdv-totals-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.pdv-payment-lines{display:grid;gap:10px}.pdv-add-payment-button{min-width:0;height:32px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);font-size:.78rem;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transform:translateY(0)}.pdv-add-payment-button:hover,.pdv-add-payment-button:focus-visible{border-color:#f9731659;background:var(--primary-soft)}.pdv-add-payment-row{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:4px}.pdv-summary-bar{border:1px dashed var(--line);border-radius:12px;padding:10px 12px;background:var(--surface-soft);display:flex;align-items:center;justify-content:space-between}.pdv-cart-subtotal{padding:8px 10px}.pdv-cart-subtotal span,.pdv-cart-subtotal strong{font-size:.82rem}.pdv-payment-line{border:1px solid var(--line);border-radius:14px;padding:10px;background:var(--surface-soft);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:center}.pdv-payment-line-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.pdv-payment-line-note{margin:0;font-size:.75rem;line-height:1.3;color:var(--muted);grid-column:1 / -1}.pdv-installments-modal{width:min(100%,580px);padding:18px;border-radius:22px;gap:10px}.pdv-installments-modal .global-modal-head{align-items:center;border-bottom:1px dashed var(--line);padding-bottom:8px}.pdv-installments-modal .global-modal-head h3{font-size:.96rem;line-height:1.2}.pdv-installments-modal-intro{margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--muted);font-size:.78rem;line-height:1.35}.pdv-installments-list-head,.pdv-installments-item{display:grid;grid-template-columns:84px minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center}.pdv-installments-list-head{padding:0 4px;font-size:.68rem;font-weight:700;letter-spacing:.02em;color:var(--muted);text-transform:uppercase}.pdv-installments-list-head span:first-child{justify-self:start}.pdv-installments-list-head span:nth-child(2),.pdv-installments-list-head span:nth-child(3){justify-self:end}.pdv-installments-list{display:grid;gap:8px;max-height:360px;overflow-y:auto;padding-right:2px}.pdv-installments-item{width:100%;border:1px solid var(--line);border-radius:11px;padding:9px 10px;background:var(--surface-soft);color:var(--text);text-align:left;cursor:pointer;font-size:.8rem;transition:border-color .16s ease,background .16s ease,transform .16s ease}.pdv-installments-item span{color:var(--text);font-weight:700}.pdv-installments-item strong{justify-self:end;font-size:.82rem}.pdv-installments-item.active,.pdv-installments-item:hover,.pdv-installments-item:focus-visible{border-color:#f9731659;background:var(--primary-soft);transform:translateY(-1px)}.pdv-step-actions,.pdv-footer-nav{display:flex;align-items:center;justify-content:space-between;gap:10px}.pdv-step-actions{margin-top:6px}.pdv-final-actions{justify-content:space-between}.pdv-footer-nav{margin-top:10px}.pdv-footer-left{display:flex;align-items:center;gap:8px}.pdv-flow-panel .primary-button,.pdv-flow-panel .ghost-button{padding:9px 14px;border-radius:11px;font-size:.82rem;min-height:38px}.pdv-order-source-field{width:min(100%,340px);display:flex;align-items:center;gap:8px}.pdv-order-source-field>span{white-space:nowrap;font-size:.78rem}.pdv-order-source-field>select{min-height:34px;padding:8px 10px}.pdv-payment-status{border:1px dashed var(--line);border-radius:12px;padding:9px 12px;background:var(--surface-soft);color:var(--muted);font-size:.84rem}.pdv-payment-status.ok{border-color:#10b98159;background:#10b98114;color:var(--text)}.pdv-payment-status.error{border-color:#dc262659;background:#dc262614;color:var(--danger)}.pdv-payment-preview{border:1px dashed var(--line);border-radius:12px;padding:10px 12px;background:var(--surface-soft);display:grid;gap:8px}.pdv-preview-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.pdv-review-block{border:1px dashed var(--line);border-radius:12px;padding:10px 12px;background:var(--surface-soft)}.pdv-review-block h4,.pdv-review-block p{margin:0}.pdv-review-block p+p{margin-top:6px}.pdv-final-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pdv-receipt{border:1px dashed var(--line);border-radius:14px;background:var(--surface-soft);padding:12px;display:grid;gap:8px}.pdv-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:700}.pdv-receipt-head span{color:var(--muted);font-weight:600;font-size:.82rem}.pdv-receipt-section-title{margin:0;font-size:.76rem;letter-spacing:.03em;text-transform:uppercase;color:var(--muted);font-weight:700}.pdv-receipt-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:.86rem}.pdv-receipt-row span:first-child{color:var(--muted)}.pdv-receipt-item-copy{display:grid;gap:1px}.pdv-receipt-item-main{color:var(--text);font-weight:700;line-height:1.2}.pdv-receipt-item-sub{color:var(--muted);font-size:.78rem;line-height:1.2;overflow-wrap:anywhere}.pdv-receipt-row strong{font-size:.86rem}.pdv-receipt-row.total span,.pdv-receipt-row.total strong{color:var(--text);font-size:.93rem;font-weight:800}.pdv-receipt-divider{height:1px;background:linear-gradient(to right,transparent,var(--line),transparent);margin:2px 0}.pdv-sale-card{display:flex;align-items:center;justify-content:space-between;gap:10px}.pdv-sale-card p,.pdv-sale-card small{margin:2px 0 0}.pdv-sale-card-meta{text-align:right;display:grid;gap:4px}.pdv-sale-details-grid{border:1px dashed var(--line);border-radius:12px;padding:10px 12px;background:var(--surface-soft);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.pdv-sale-details-grid p{margin:0}.finance-payment-card,.finance-history-card{display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:12px;background:var(--panel)}.finance-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.finance-kpi-dashboard{grid-column:1 / -1}.finance-kpi-card{border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);padding:10px;display:grid;gap:4px}.finance-kpi-card small{color:var(--muted);font-size:.74rem}.finance-kpi-card strong{font-size:1.04rem;line-height:1.15}.finance-kpi-card p{margin:0;color:var(--muted);font-size:.76rem;line-height:1.25}.finance-payment-main,.finance-history-meta{display:grid;gap:1px}.finance-payment-main p,.finance-payment-main small,.finance-history-meta small{margin:0}.finance-payment-sale{margin:0;font-size:.74rem;line-height:1.2;color:var(--muted);font-weight:600}.finance-payment-courier-badge{justify-self:start;width:fit-content;margin:2px 0 4px;font-size:.68rem}.finance-payment-customer{margin:0;font-size:.6rem;line-height:1.18;color:var(--muted)}.finance-payment-highlight{margin:1px 0 0;font-size:1rem;line-height:1.2;font-weight:800;color:var(--text);letter-spacing:.01em}.finance-payment-courier{margin-top:1px;font-size:.6rem;line-height:1.18}.finance-payment-received{margin-top:1px;font-size:.6rem;line-height:1.18;color:var(--success)}.finance-payment-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:210px}.finance-table td{vertical-align:middle}.finance-table-amount{font-weight:700}.finance-table-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.finance-table-compact-button{min-height:30px;padding:5px 9px;border-radius:9px;font-size:.7rem}.finance-table-cell-stack{display:grid;gap:1px}.finance-operator-inline{color:var(--muted);font-size:.64rem;line-height:1.2}.finance-history-operator-mobile{margin:4px 0 0;color:var(--muted);font-size:.6rem;line-height:1.18}.finance-pending-groups{display:grid;gap:12px}.finance-pending-group{display:grid;gap:8px;padding:10px;border:1px dashed var(--line);border-radius:14px;background:var(--surface-soft)}.finance-pending-group-head{display:grid;gap:2px}.finance-pending-group-head h4{margin:0;font-size:.92rem}.finance-pending-group-head small{color:var(--muted);font-size:.78rem}.finance-action-button{padding:7px 10px;border-radius:10px;font-size:.76rem;font-weight:700;min-height:34px}.finance-payment-card.cash{border-left:3px solid rgba(249,115,22,.62)}.finance-payment-card.online{border-left:3px solid rgba(59,130,246,.6)}.finance-history-meta{justify-items:end;text-align:right}.finance-history-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:10px;align-items:center}.finance-history-toolbar .search-input-wrap{min-width:0}.finance-receipts-search{margin-bottom:12px}.finance-history-filter-wrap{position:relative;display:block}.finance-history-filter-button{width:34px;height:34px;border-radius:9px}.finance-history-filter-button.is-active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-strong)}.finance-history-filter-menu{position:absolute;top:calc(100% + 6px);right:0;width:min(196px,74vw);display:grid;gap:1px;padding:6px;border-radius:10px;border:1px solid var(--line);background:var(--modal-bg);box-shadow:var(--shadow);z-index:20}.finance-history-filter{display:grid;gap:4px;min-width:140px}.finance-history-filter span{color:var(--muted);font-size:.74rem}.finance-history-filter select{width:100%;min-height:34px;border-radius:10px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text);padding:8px 10px}.loterica-page-grid{display:grid;gap:14px}.loterica-page-grid .loterica-main-tabs{margin-bottom:0}.loterica-overview-card{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:12px;width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.loterica-overview-button{border:1px solid var(--line);cursor:pointer;text-align:left}.loterica-overview-button:hover{background:var(--surface-soft-strong)}.loterica-overview-card small{color:var(--muted);font-size:.75rem}.loterica-overview-card strong{display:block;font-size:1.2rem;line-height:1.2}.loterica-overview-meta{text-align:right;display:grid;gap:1px}.loterica-overview-meta span{color:var(--muted);font-size:.74rem}.loterica-overview-meta strong{font-size:.86rem}.loterica-overview-hint{margin-top:6px}.loterica-resumo-inline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.loterica-resumo-inline-card{border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);padding:10px 12px}.loterica-resumo-inline-card small{display:block;color:var(--muted);font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.loterica-resumo-inline-card strong{display:block;font-size:1.05rem;margin-top:4px;color:var(--text)}.loterica-resumo-inline-card p{margin:4px 0 0;font-size:.78rem;color:var(--muted)}@media(max-width:720px){.loterica-resumo-inline{grid-template-columns:1fr}}.loterica-resumo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.loterica-resumo-grid .finance-kpi-card:last-child{grid-column:1 / -1}.loterica-history-toolbar{margin-bottom:10px}.loterica-history-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.loterica-filter-button{border:1px solid var(--input-border);border-radius:999px;background:var(--surface);color:var(--text);padding:6px 10px;font-size:.76rem;font-weight:700;line-height:1;cursor:pointer}.loterica-filter-button.active,.loterica-filter-button:hover{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-strong)}.loterica-history-list{display:grid;gap:10px}.loterica-history-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:10px;align-items:center}.loterica-history-controls .search-input-wrap{min-width:0}.loterica-history-controls .finance-history-filter-wrap{justify-self:end}.loterica-dataset-grid{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.loterica-dataset-card{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:10px;display:grid;gap:10px}.loterica-dataset-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.loterica-dataset-head h4{margin:0;font-size:.9rem}.loterica-history-card{flex-direction:row;align-items:center;justify-content:space-between}.loterica-history-meta{width:auto;justify-items:end;text-align:right}.loterica-resumo-modal{width:min(100%,760px);max-width:calc(100vw - 24px)}.loterica-resumo-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.loterica-resumo-modal-grid .finance-kpi-card:last-child{grid-column:1 / -1}.loterica-recent-wrap{margin-top:14px;display:grid;gap:8px}.loterica-recent-wrap h4{margin:0;font-size:.92rem}@media(min-width:1080px){.loterica-resumo-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.loterica-resumo-grid .finance-kpi-card:last-child{grid-column:auto}}.fiado-page-grid{position:relative}.fiado-page-grid .fiado-main-tabs{margin-bottom:0}.fiado-history-head{display:grid;gap:1px}.fiado-history-head .eyebrow{margin:0;line-height:1.24}.fiado-cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fiado-summary-card{width:100%;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:11px;color:var(--text);text-align:left;display:grid;gap:10px;cursor:pointer}.fiado-summary-card:hover{background:var(--surface-soft-strong)}.fiado-summary-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.fiado-summary-card-name{display:block;font-size:.86rem;line-height:1.2}.fiado-summary-card-meta{margin:2px 0 0;color:var(--muted);font-size:.72rem}.fiado-summary-card-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fiado-summary-card-values p{margin:0;display:grid;gap:1px}.fiado-summary-card-values p span{color:var(--muted);font-size:.7rem}.fiado-summary-card-values p strong{font-size:.85rem;line-height:1.2}.fiado-create-modal{width:min(100%,940px);max-width:calc(100vw - 24px);max-height:min(92vh,920px);overflow:auto;padding:22px;gap:14px}.fiado-create-modal .global-modal-head,.fiado-details-modal .global-modal-head{margin:0;padding:0 0 12px;border-bottom:1px solid var(--line);background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.fiado-create-form{display:grid;gap:14px}.fiado-create-modal-form{gap:16px}.fiado-create-section{border:1px solid var(--line);border-radius:16px;background:var(--surface-soft);padding:14px;display:grid;gap:12px;box-shadow:inset 0 1px #ffffff14}.fiado-create-section-head{display:grid;gap:4px}.fiado-create-section-head strong{font-size:.9rem;letter-spacing:.02em;text-transform:uppercase}.fiado-create-section-head small{color:var(--muted);font-size:.76rem;line-height:1.35}.fiado-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fiado-customer-search-wrap{z-index:4}.fiado-customer-selected{min-height:40px;border:1px solid var(--input-border);border-radius:12px;background:var(--input-bg);padding:8px 10px;display:flex;align-items:center;gap:10px}.fiado-customer-selected span{font-weight:700;font-size:.84rem;line-height:1.2}.fiado-customer-selected small{color:var(--muted);font-size:.74rem}.fiado-customer-change-button{margin-left:auto;min-height:30px;padding:5px 10px;border-radius:9px;font-size:.72rem}.fiado-customer-clear-button{margin-left:auto;width:24px;height:24px;border:0;border-radius:999px;background:var(--surface-soft-strong);color:var(--muted);cursor:pointer}.fiado-customer-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;display:grid;gap:4px;padding:6px;border-radius:10px;border:1px solid var(--line);background:var(--modal-bg);box-shadow:var(--shadow);z-index:30}.fiado-customer-dropdown-item{width:100%;border:0;border-radius:8px;text-align:left;padding:8px 10px;display:grid;gap:1px;background:transparent;color:var(--text);cursor:pointer}.fiado-customer-dropdown-item:hover{background:var(--surface-soft)}.fiado-customer-dropdown-item span{font-size:.84rem;font-weight:700}.fiado-customer-dropdown-item small{font-size:.73rem;color:var(--muted)}.fiado-installment-check{align-self:end;min-height:42px;border:1px solid var(--input-border);border-radius:12px;background:var(--input-bg);padding:0 12px;display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;color:var(--muted);font-size:.82rem;font-weight:700}.fiado-installment-check input{width:16px;height:16px}.fiado-parcelas-section{border:1px solid var(--line);border-radius:12px;background:#0f172a08;padding:10px;display:grid;gap:10px}.fiado-parcelas-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.fiado-parcelas-head strong{font-size:.86rem}.fiado-add-parcela-button{min-height:30px;padding:6px 10px;border-radius:10px;font-size:.74rem}.fiado-parcela-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;border:1px dashed var(--line);border-radius:12px;padding:10px;background:var(--panel)}.fiado-parcela-row-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fiado-parcela-remove{min-height:30px;padding:6px 10px;border-radius:10px;font-size:.74rem;line-height:1}.fiado-pagamento-saldo{margin:0;color:var(--muted);font-size:.84rem}.fiado-pagamento-saldo strong{color:var(--text)}.fiado-form-actions{margin-top:6px;padding-top:10px;border-top:1px solid var(--line);justify-content:flex-end}.fiado-filters-menu{width:min(760px,calc(100vw - 28px));max-height:min(74vh,620px);padding:10px;gap:10px;overflow:auto}.fiado-filters-grid{margin:0;border:1px dashed var(--line);border-radius:12px;background:var(--surface-soft);padding:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fiado-filter-seller{grid-column:span 2}.fiado-filters-actions{display:flex;align-items:flex-end;justify-content:flex-end}.fiado-details-modal{width:min(100%,980px);max-width:calc(100vw - 24px);max-height:min(92vh,940px);overflow:auto;padding:22px;gap:14px}.fiado-details-head-actions{display:inline-flex;align-items:center;gap:8px}.fiado-details-modal .product-details-summary-row{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:12px}.fiado-details-modal .sales-details-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fiado-details-modal .sales-details-field{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:10px}.fiado-details-modal .sales-details-field span{font-size:.72rem;text-transform:uppercase;letter-spacing:.03em}.fiado-details-modal .sales-details-field strong{font-size:.86rem;line-height:1.3}.fiado-edit-section{border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--surface-soft);display:grid;gap:10px}.fiado-edit-section h4{margin:0;font-size:.88rem;letter-spacing:.02em;text-transform:uppercase}.stock-entry-page{display:grid;gap:14px;padding-bottom:100px}.se-tabs{display:flex;gap:4px;border-bottom:2px solid var(--line);padding-bottom:0;justify-content:center}.se-tab{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border:none;background:none;color:var(--muted);font-size:.83rem;font-weight:600;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;border-radius:8px 8px 0 0;transition:color .14s,border-color .14s,background .14s}.se-tab.active{color:var(--primary);border-bottom-color:var(--primary)}.se-tab:hover:not(.active){color:var(--text);background:var(--surface-soft)}.se-tab.tab-pending{animation:tab-pulse 1.5s ease-in-out infinite}@keyframes tab-pulse{0%,to{opacity:1}50%{opacity:.6}}.stock-entry-meta-grid,.se-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:4px 0}.se-meta-supplier{grid-column:1 / -1}.se-meta-nf-quote-row{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto;gap:12px}.se-meta-nf-quote-row .form-field:first-child{display:flex;gap:12px}.se-meta-nf-quote-row .form-field:first-child .form-field{flex:1}.stock-entry-meta-notes{grid-column:1 / -1}.stock-entry-notes-textarea{max-height:120px;resize:vertical;line-height:1.45}.stock-entry-note-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.stock-entry-note-kpi{display:grid;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.stock-entry-note-kpi span{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:700}.stock-entry-note-kpi strong{font-size:.9rem;color:var(--text);word-break:normal}.stock-entry-search-panel{padding:14px;overflow:visible;position:relative;z-index:10}@media(max-width:640px){.stock-entry-search-panel{padding:12px 10px}.stock-entry-search-panel .se-search-row{grid-template-columns:1fr;gap:10px}.stock-entry-search-panel .stock-entry-create-product-button{width:100%;min-height:40px;justify-self:stretch}}.se-search-row,.stock-entry-search-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.stock-entry-create-product-button{min-height:42px;white-space:nowrap}.stock-entry-search-label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0 0 8px}.stock-entry-search-wrap{position:relative}.stock-entry-search-spinner{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:1rem;animation:spin .8s linear infinite;pointer-events:none;color:var(--muted)}@keyframes spin{0%{transform:translateY(-50%) rotate(0)}to{transform:translateY(-50%) rotate(360deg)}}.stock-entry-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:9999;background:var(--modal-bg);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 32px #0000003d;overflow:hidden;max-height:55vh;overflow-y:auto;display:flex;flex-direction:column}.stock-entry-dropdown-item{display:flex;flex-direction:column;gap:1px;text-align:left;padding:10px 14px;border:none;background:none;cursor:pointer;color:var(--text);border-bottom:1px solid var(--line);transition:background .12s}.stock-entry-dropdown-item:last-child{border-bottom:none}.stock-entry-dropdown-item:hover{background:var(--surface-soft)}.stock-entry-dropdown-name{font-weight:600;font-size:.88rem}.stock-entry-dropdown-meta{font-size:.72rem;color:var(--muted)}.stock-entry-dropdown-more{width:100%;padding:10px;border:none;border-top:1px solid var(--line);background:var(--surface-soft);color:var(--primary);font-size:.82rem;font-weight:600;cursor:pointer;transition:background .12s}.stock-entry-dropdown-more:hover:not(:disabled){background:var(--primary-soft)}.stock-entry-dropdown-more:disabled{opacity:.6;cursor:wait}.stock-entry-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:48px 20px;color:var(--muted);text-align:center}.stock-entry-empty-icon{font-size:2.4rem;opacity:.7}.stock-entry-items{display:grid;gap:10px;margin-top:4px}.stock-entry-item{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:14px;display:grid;gap:10px}.stock-entry-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.stock-entry-item-title-block{display:grid;gap:1px}.stock-entry-item-name{font-weight:700;font-size:.9rem}.stock-entry-item-meta{font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.stock-entry-item-remove{background:none;border:none;color:var(--muted);font-size:.85rem;cursor:pointer;padding:4px 6px;border-radius:8px;transition:background .13s,color .13s;flex-shrink:0}.stock-entry-item-remove:hover{background:var(--danger-soft, rgba(239, 68, 68, .12));color:var(--danger)}.stock-entry-item-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.stock-entry-imei-section{display:grid;gap:8px}.stock-entry-bulk-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px;flex-wrap:wrap}.stock-entry-imei-add{display:flex;gap:8px}.stock-entry-imei-input{flex:1}.stock-entry-imei-add-btn{padding:0 16px;min-height:42px}.stock-entry-imei-scan-btn{display:inline-grid;place-items:center;min-width:42px;min-height:42px;border-radius:12px;border:1.5px solid var(--input-border);background:var(--input-bg);color:var(--muted);cursor:pointer;flex-shrink:0;transition:border-color .15s,color .15s,background .15s}.stock-entry-imei-scan-btn:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.stock-entry-imei-list{display:flex;flex-wrap:wrap;gap:6px}.stock-entry-imei-chip{display:inline-flex;align-items:center;gap:6px;background:var(--primary-soft);color:#9a3412;border-radius:20px;padding:4px 10px 4px 12px;font-size:.78rem;font-weight:600;font-family:monospace}:root[data-theme=dark] .stock-entry-imei-chip{color:#fff}.stock-entry-imei-chip button{background:none;border:none;cursor:pointer;font-size:1rem;color:inherit;opacity:.7;line-height:1;padding:0 2px}.stock-entry-imei-chip button:hover{opacity:1}.stock-entry-imei-count{font-size:.72rem;color:var(--muted);margin:0}.stock-entry-rate-badge{display:inline-block;margin-left:10px;background:#22c55e1f;color:var(--success);font-size:.68rem;font-weight:700;padding:2px 8px;border-radius:20px;text-transform:none;letter-spacing:-.01em}.stock-entry-cost-history{border:1px solid var(--line);border-radius:12px;padding:10px;background:var(--panel);display:grid;gap:8px}.stock-entry-cost-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.stock-entry-cost-history-head strong{font-size:.78rem;text-transform:uppercase;letter-spacing:.03em}.stock-entry-cost-history-refresh{min-height:30px;padding:0 10px;font-size:.72rem;border-radius:8px}.stock-entry-cost-history-empty{margin:0;font-size:.76rem;color:var(--muted)}.stock-entry-cost-history-list{display:grid;gap:8px;max-height:220px;overflow-y:auto;padding-right:2px}.stock-entry-cost-history-item{display:grid;gap:6px;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft)}.stock-entry-cost-history-main{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.stock-entry-cost-history-main strong{font-size:.85rem}.stock-entry-cost-history-main span{font-size:.72rem;color:var(--muted)}.stock-entry-cost-history-meta{display:flex;flex-wrap:wrap;gap:8px}.stock-entry-cost-history-meta span{font-size:.72rem;color:var(--muted)}.stock-entry-cost-converted{font-size:.7rem;color:var(--success);font-weight:600;margin-left:4px}.stock-entry-result{padding:16px;border-left:4px solid}.stock-entry-result-ok{border-color:var(--success)}.stock-entry-result-warn{border-color:var(--warning, #f59e0b)}.stock-entry-result h3{margin:0 0 4px;font-size:1rem}.stock-entry-result-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 0;border-top:1px solid var(--line)}.stock-entry-result-name{font-weight:600;flex:1;font-size:.86rem}.stock-entry-result-added{font-size:.82rem;font-weight:700;color:var(--success);background:#22c55e1f;padding:2px 8px;border-radius:20px}.stock-entry-result-errors{width:100%;margin:0;padding:0 0 0 16px;font-size:.78rem;color:var(--danger)}.stock-entry-footer{position:sticky;bottom:0;padding:12px 0;background:linear-gradient(to bottom,transparent,var(--page-bg) 40%);display:flex;justify-content:flex-end}.stock-entry-submit{min-width:240px;font-size:.88rem}@media(max-width:960px){.stock-entry-meta-grid,.se-meta-grid,.stock-entry-note-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.stock-entry-meta-grid,.se-meta-grid{grid-template-columns:1fr;gap:8px}.stock-entry-note-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-entry-search-actions{grid-template-columns:minmax(0,1fr) auto}.stock-entry-create-product-button{min-height:38px;padding:0 10px;font-size:.72rem}.stock-entry-submit{width:100%}}@media(max-width:640px){.stock-entry-page{gap:10px;padding-bottom:max(96px,env(safe-area-inset-bottom,0px) + 80px);min-width:0}.stock-entry-page .se-tabs{display:flex;flex-wrap:nowrap;gap:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-inline:-6px;padding-inline:6px 10px;border-bottom:2px solid var(--line)}.stock-entry-page .se-tabs::-webkit-scrollbar{display:none}.stock-entry-page .se-tab{flex:0 0 auto;padding:8px 11px;font-size:.74rem;gap:5px;white-space:nowrap}.stock-entry-page .se-tab svg{width:13px;height:13px;flex-shrink:0}.stock-entry-page .se-meta-nf-quote-row{grid-template-columns:1fr 1fr;gap:10px}.stock-entry-page .se-meta-nf-quote-row .form-field:nth-child(3){grid-column:1 / -1}.stock-entry-page .stock-entry-item-fields{grid-template-columns:1fr}.stock-entry-page .stock-entry-bulk-header{flex-direction:column;align-items:stretch}.stock-entry-page .stock-entry-bulk-header .ghost-button{width:100%;min-height:40px}.stock-entry-page .stock-entry-imei-add{flex-wrap:wrap}.stock-entry-page .stock-entry-imei-input{min-width:0;flex:1 1 140px}.stock-entry-page .stock-entry-footer{padding-inline:0;justify-content:stretch}.stock-entry-page:not(.inventory-page):not(.sales-page):not(.deliveries-page) .se-history-toolbar{flex-direction:column;align-items:stretch}.stock-entry-page:not(.inventory-page):not(.sales-page):not(.deliveries-page) .se-history-toolbar .search-input-wrap{width:100%}.inventory-page .se-history-toolbar,.sales-page .se-history-toolbar{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:8px}.inventory-page .inventory-filters-toggle-wrap,.sales-page .sales-sort-wrap{flex-shrink:0}.stock-entry-page .se-pending-card{padding:12px;min-width:0}.stock-entry-page .se-pending-card-header{flex-wrap:wrap;align-items:flex-start;row-gap:6px}.stock-entry-page .se-pending-code{word-break:normal}.stock-entry-page .se-pending-item-row{flex-direction:column;align-items:stretch;gap:8px}.stock-entry-page .se-pending-item-main{width:100%;flex-direction:column;align-items:flex-start;gap:6px}.stock-entry-page .se-pending-adjust-btn{align-self:flex-end;margin-top:0}.stock-entry-page .se-pending-item-name{white-space:normal;overflow:visible;text-overflow:unset;min-width:0;width:100%}.stock-entry-page .se-pending-card-footer.se-pending-card-footer--split{flex-direction:column;align-items:stretch;gap:12px}.stock-entry-page .se-pending-total{text-align:left;font-size:.92rem}.stock-entry-page .se-pending-actions{width:100%;flex-direction:column;justify-content:stretch;gap:10px}.stock-entry-page .se-pending-actions .ghost-button,.stock-entry-page .se-pending-actions .primary-button{width:100%;min-height:44px;justify-content:center}.stock-entry-page .se-empty-state{padding:28px 14px}}.se-history-list{display:grid;gap:10px}.se-history-card{display:grid;gap:8px;text-align:left;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);cursor:pointer;transition:border-color .14s,box-shadow .14s,transform .12s;width:100%}.se-history-card:hover{border-color:var(--primary);box-shadow:0 2px 12px rgba(var(--primary-rgb, 99, 102, 241),.1);transform:translateY(-1px)}.se-history-card:active{transform:scale(.995)}.se-history-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.se-history-card-id{display:flex;align-items:center;gap:8px}.se-history-code{font-family:monospace;font-size:.82rem;font-weight:700;color:var(--nav-active-text);background:var(--primary-soft);padding:2px 8px;border-radius:6px}.se-history-supplier{font-size:.8rem;font-weight:600;color:var(--text);line-height:1.2}.se-history-total{font-weight:700;font-size:.9rem;color:var(--text)}.se-history-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.72rem;color:var(--muted)}.se-history-meta span:after{content:"�";margin-left:8px;opacity:.4}.se-history-meta span:last-child:after{content:""}.se-history-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:2px}.se-history-chip{font-size:.68rem;padding:2px 8px;border-radius:20px;background:var(--surface-soft);border:1px solid var(--line);color:var(--text)}.se-history-chip-more{font-size:.7rem;padding:2px 8px;border-radius:20px;color:var(--muted);font-style:italic}.se-detail-body{padding:16px;display:grid;gap:16px}.se-detail-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.se-kpi{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.se-kpi-label{font-size:.6rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:700}.se-kpi-value{font-size:.86rem;font-weight:700;color:var(--text)}.se-kpi-highlight{color:var(--success)}.se-detail-notes{margin:0;font-size:.82rem;color:var(--muted);padding:10px 12px;background:var(--surface-soft);border-radius:10px;border-left:3px solid var(--line)}.se-detail-items{display:grid;gap:8px;padding:0 16px 16px}.se-detail-item{padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);display:grid;gap:6px}.se-detail-item-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.se-detail-item-name{font-weight:700;font-size:.84rem}.se-detail-item-costs{display:flex;flex-wrap:wrap;gap:10px;font-size:.72rem;color:var(--muted)}.se-create-form{padding:16px;display:grid;gap:12px}.se-create-toggles{display:flex;gap:12px;flex-wrap:wrap}.se-toggle-row{display:flex;align-items:center;gap:6px;font-weight:600;font-size:.82rem;color:var(--text);cursor:pointer}.se-create-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.se-history-toolbar{display:flex;gap:8px;align-items:center;margin-bottom:12px}.se-history-toolbar .search-input-wrap{flex:1;min-width:0}.se-history-sort-btn{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border-radius:12px}.se-loading-state{padding:40px;text-align:center;color:var(--muted);font-size:.86rem}.se-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 20px;background:var(--surface-soft);border:1px dashed var(--line);border-radius:14px;color:var(--muted);gap:8px}.se-empty-state p{margin:0;font-weight:600;color:var(--text)}.se-pending-list{display:flex;flex-direction:column;gap:12px}.se-pending-card{padding:14px 16px}.se-pending-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}.se-pending-code{font-weight:700;font-size:.9rem;color:var(--text)}.se-pending-supplier,.se-pending-invoice{font-size:.82rem;color:var(--muted)}.se-pending-items{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;border-top:1px solid var(--line);padding-top:10px}.se-pending-item-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:.82rem}.se-pending-item-main{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:1;min-width:0}.se-pending-adjust-btn{flex-shrink:0;padding:4px 10px;font-size:.75rem;margin-top:1px}.se-pending-item-name{flex:1;min-width:120px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.se-pending-item-qty,.se-pending-item-cost{color:var(--muted);font-variant-numeric:tabular-nums}.se-pending-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.se-pending-total{font-weight:700;font-size:.95rem;color:var(--text)}.se-pending-apply-btn{padding:8px 18px;font-size:.85rem}.se-pending-card-footer--split{flex-wrap:wrap}.se-pending-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:flex-end}.se-pending-imei-btn{font-size:.8rem}.se-pending-imei-banner{margin:0 0 10px;padding:8px 10px;border-radius:10px;font-size:.8rem;line-height:1.4;background:#f59e0b1f;border:1px solid rgba(245,158,11,.28);color:var(--text)}.stock-entry-panel-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.stock-entry-panel-title-row h3{margin:0}.stock-entry-flow-help-btn{flex-shrink:0;width:26px;height:26px;padding:0;border-radius:999px;border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);font-size:.82rem;font-weight:700;line-height:1;cursor:pointer;transition:background .14s,color .14s,border-color .14s}.stock-entry-flow-help-btn:hover{color:var(--primary);border-color:#f9731659;background:var(--primary-soft)}.stock-entry-flow-help-body{padding:0 1.25rem 1rem;font-size:.9rem;line-height:1.55;color:var(--text)}.stock-entry-flow-help-body p{margin:0}.stock-entry-empty-hint{display:block;margin-top:8px;color:var(--muted);font-size:.82rem}.stock-entry-imei-hint{margin:8px 0 0;font-size:.78rem;line-height:1.4;color:var(--muted)}.pending-imei-modal-body{padding:0 1.25rem 1rem;display:grid;gap:16px;max-height:min(70vh,520px);overflow-y:auto}.pending-imei-block{display:grid;gap:8px}.pending-imei-block-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.pending-imei-save-btn{justify-self:start;font-size:.82rem}.pending-adjust-modal-body{padding-top:.25rem}.pending-adjust-current{margin:0 0 12px;font-size:.88rem;line-height:1.4}.pending-adjust-replace-block{margin-top:4px;padding-top:10px;border-top:1px solid var(--line)}.pending-adjust-replace-picked{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.85rem}.pending-adjust-modal-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;width:100%}.fiado-edit-actions{justify-content:flex-end}.fiado-edit-toggle-button{padding:6px 14px;border-radius:10px;border:1px solid var(--line);font-size:.8rem;font-weight:600;min-height:32px;background:var(--surface-soft);color:var(--text);cursor:pointer;transition:background .14s,color .14s}.fiado-edit-toggle-button:hover{background:var(--primary-soft);color:var(--nav-active-text);border-color:var(--primary)}.fiado-customer-profile-card{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:12px;display:grid;gap:10px}.fiado-customer-profile-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px}.fiado-customer-profile-head h4{margin:0;font-size:.88rem;letter-spacing:.02em;text-transform:uppercase}.fiado-customer-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fiado-customer-profile-item{border:1px solid var(--line);border-radius:12px;padding:10px;display:grid;gap:4px;background:var(--panel)}.fiado-customer-profile-item span{color:var(--muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.03em}.fiado-customer-profile-item strong{font-size:.86rem;line-height:1.3}.fiado-details-modal .sales-detail-section{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:12px;display:grid;gap:8px}.fiado-details-modal .sales-detail-section h4{margin:0 0 2px;font-size:.88rem;letter-spacing:.02em;text-transform:uppercase}.fiado-details-modal .sales-detail-row{border:1px solid var(--line);border-radius:12px;padding:10px;background:var(--panel);grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.fiado-details-modal .sales-detail-row-main{display:grid;gap:4px}.fiado-details-modal .sales-detail-row-title{font-size:.86rem;line-height:1.3}.fiado-details-modal .sales-detail-row-meta{line-height:1.35;white-space:normal}.fiado-details-modal .sales-payment-row-side{justify-items:end;gap:6px}.fiado-details-modal .sales-payment-row-actions{justify-content:flex-end;gap:8px}.fiado-details-modal .global-modal-actions{position:sticky;bottom:-22px;z-index:2;margin:2px -22px -22px;padding:12px 22px 16px;border-top:1px solid var(--line);background:var(--modal-bg)}.modal-standard-form{width:min(100%,940px);max-width:calc(100vw - 24px);max-height:min(92vh,920px);overflow:auto;padding:22px;gap:14px}.modal-standard-details{width:min(100%,980px);max-width:calc(100vw - 24px);max-height:min(92vh,940px);overflow:auto;padding:22px;gap:14px}.modal-standard-form .global-modal-head,.modal-standard-details .global-modal-head{margin:0;padding:0 0 12px;border-bottom:1px solid var(--line);background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.modal-standard-form-body{display:grid;gap:14px}.modal-standard-section{border:1px solid var(--line);border-radius:16px;background:var(--surface-soft);padding:14px;display:grid;gap:12px;box-shadow:inset 0 1px #ffffff14}.modal-standard-section-head{display:grid;gap:4px}.modal-standard-section-head strong{font-size:.9rem;letter-spacing:.02em;text-transform:uppercase}.modal-standard-section-head small{color:var(--muted);font-size:.76rem;line-height:1.35}.modal-standard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.modal-standard-field-full{grid-column:1 / -1}.modal-standard-check{margin:0;min-height:42px;border:1px solid var(--input-border);border-radius:12px;background:var(--input-bg);padding:0 12px}.modal-standard-form .global-modal-actions{margin-top:6px;padding-top:10px;border-top:1px solid var(--line)}.modal-standard-details .product-details-summary-row{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:12px}.modal-standard-details .sales-details-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.modal-standard-details .sales-details-field{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:10px}.modal-standard-details .sales-details-field span{font-size:.72rem;text-transform:uppercase;letter-spacing:.03em}.modal-standard-details .sales-details-field strong{font-size:.86rem;line-height:1.3}.modal-standard-details .product-details-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.modal-standard-details .product-details-field{gap:6px;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:10px}.modal-standard-details .product-details-field span{font-size:.72rem;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);font-weight:700}.modal-standard-details .product-details-field input,.modal-standard-details .product-details-field select,.modal-standard-details .product-details-field textarea{width:100%;min-height:38px;padding:9px 11px;border-radius:10px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text)}.modal-standard-details .product-details-field input:focus,.modal-standard-details .product-details-field select:focus,.modal-standard-details .product-details-field textarea:focus{outline:2px solid var(--input-focus);outline-offset:1px}.modal-standard-details .sales-detail-section,.modal-standard-details .product-imei-section,.modal-standard-details .fiado-customer-profile-card{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:12px;display:grid;gap:8px}.modal-standard-details .sales-detail-section h4,.modal-standard-details .product-imei-section h4,.modal-standard-details .fiado-customer-profile-head h4{margin:0 0 2px;font-size:.88rem;letter-spacing:.02em;text-transform:uppercase}.modal-standard-details .sales-detail-row{border:1px solid var(--line);border-radius:12px;padding:10px;background:var(--panel);grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.modal-standard-details .sales-detail-row-main{display:grid;gap:4px}.modal-standard-details .sales-detail-row-title{font-size:.86rem;line-height:1.3}.modal-standard-details .sales-detail-row-meta{line-height:1.35;white-space:normal}.modal-standard-details .sales-payment-row-side{justify-items:end;gap:6px}.modal-standard-details .sales-payment-row-actions{justify-content:flex-end;gap:8px}.modal-standard-details .sales-detail-row--courier-cash-pending{grid-template-columns:1fr;align-items:start}.modal-standard-details .sales-detail-row--courier-cash-pending .sales-payment-row-side{min-width:0;width:100%;justify-items:stretch}.modal-standard-details .sales-detail-row--courier-cash-pending .sales-payment-row-actions{justify-content:flex-start}.modal-standard-details .global-modal-actions{position:sticky;bottom:-22px;z-index:2;margin:2px -22px -22px;padding:12px 22px 16px;border-top:1px solid var(--line);background:var(--modal-bg)}.desktop-only{display:block}.mobile-only{display:none}@media(max-width:1180px){.metrics-grid,.dashboard-grid,.hero-card,.products-grid,.pdv-page-grid,.finance-page-grid{grid-template-columns:1fr}.sales-details-grid,.finance-kpi-grid,.fiado-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-panel{grid-row:auto}}@media(min-width:901px){.app-shell:not(.pdv-mode){--desktop-shell-pad-x: max(28px, calc((100vw - 1480px)/2) );--desktop-content-max: 1200px}.app-shell:not(.pdv-mode) .content-area{padding:88px var(--desktop-shell-pad-x) 100px;background:radial-gradient(ellipse 90% 50% at 50% -12%,var(--bg-radial-primary),transparent 55%),radial-gradient(ellipse 55% 45% at 100% 30%,var(--bg-radial-secondary),transparent 50%),linear-gradient(168deg,var(--bg-gradient-start) 0%,var(--bg-accent) 52%,var(--bg-gradient-end) 100%);box-sizing:border-box;min-height:100vh}.app-shell:not(.pdv-mode) .fixed-topbar{padding-left:var(--desktop-shell-pad-x);padding-right:var(--desktop-shell-pad-x);border-bottom-color:#0f172a12;box-shadow:0 4px 24px #0f172a0f}:root[data-theme=dark] .app-shell:not(.pdv-mode) .fixed-topbar{border-bottom-color:#ffffff12;box-shadow:0 6px 32px #00000047}.app-shell:not(.pdv-mode) .sidebar{border-right-color:#0f172a12;box-shadow:6px 0 36px #0f172a0d}:root[data-theme=dark] .app-shell:not(.pdv-mode) .sidebar{border-right-color:#ffffff0f;box-shadow:6px 0 40px #00000038}.app-shell:not(.pdv-mode) .page-heading,.app-shell:not(.pdv-mode) .page-content{max-width:var(--desktop-content-max);margin-left:auto;margin-right:auto;width:100%;box-sizing:border-box}.app-shell:not(.pdv-mode) .page-content .panel,.app-shell:not(.pdv-mode) .page-content .hero-card,.app-shell:not(.pdv-mode) .page-content .metric-card{border-radius:22px}}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.desktop-only{display:none}.mobile-only{display:grid}.content-area{padding:88px 16px 132px}.page-heading{flex-direction:column;align-items:stretch;gap:8px}.page-heading.has-action{flex-direction:row;align-items:flex-start;gap:10px}.page-heading.has-action .page-heading-copy{min-width:0}.page-heading.has-action .page-heading-actions{margin-left:auto;justify-content:flex-end}.page-heading-actions{justify-content:flex-end}.fixed-topbar{left:0;height:68px;padding:8px 16px}.floating-success-toast,.floating-error-toast{top:76px;max-width:calc(100vw - 32px)}.products-grid .panel{padding:16px;margin-top:0}.products-grid{margin-top:-20px}.pdv-payment-line{grid-template-columns:repeat(2,minmax(0,1fr))}.pdv-payment-line-actions{grid-column:1 / -1;justify-content:flex-end}.pdv-installments-list-head,.pdv-installments-item{grid-template-columns:66px minmax(0,1fr) minmax(0,1fr);gap:8px}.pdv-installments-item{padding:9px}.pdv-stage1-layout,.pdv-final-grid{grid-template-columns:1fr}.products-grid .search-input{font-size:.86rem;padding:10px 34px}.search-row{grid-template-columns:1fr}.products-search-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.products-mobile-filter-wrap{display:block}.products-mobile-filter-button{width:32px;height:32px}.products-table-desktop{display:none}.products-mobile-list{display:grid;gap:10px;margin-top:8px}.products-mobile-create-button{width:auto;min-width:0;padding:8px 12px;border-radius:10px;font-size:.82rem}.products-page-actions{position:absolute;top:-50px;right:0;margin:0;z-index:2}.imei-manager-head,.imei-manager-actions{flex-direction:column;align-items:stretch}.product-details-grid,.product-imei-inline-grid{grid-template-columns:1fr}.sales-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sales-details-field span{font-size:.76rem}.sales-details-field strong{font-size:.84rem}.sales-detail-row{grid-template-columns:1fr;align-items:flex-start}.sales-detail-row-value{text-align:left}.sales-payment-row-side{width:100%;justify-items:start}.sales-payment-row-actions{justify-content:space-between}.fiado-form-grid,.fiado-parcela-row-fields,.fiado-cards-grid{grid-template-columns:1fr}.fiado-create-modal,.fiado-details-modal{padding:14px;max-height:96svh;border-radius:20px 20px 0 0;align-self:end;width:100%;max-width:100%;gap:10px}.fiado-create-modal .global-modal-head,.fiado-details-modal .global-modal-head{margin:0;padding:0 0 10px}.fiado-details-modal .sales-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.fiado-details-modal .sales-details-field{padding:7px 9px;border-radius:10px}.fiado-details-modal .sales-details-field span{font-size:.6rem}.fiado-details-modal .sales-details-field strong{font-size:.78rem}.fiado-details-modal .product-details-summary-row{padding:9px 11px;border-radius:12px}.fiado-edit-section{padding:10px;gap:8px}.fiado-edit-section h4{font-size:.78rem}.fiado-details-modal .sales-detail-section{padding:10px;gap:6px;border-radius:12px}.fiado-details-modal .sales-detail-section h4{font-size:.78rem;margin:0 0 1px}.fiado-details-modal .sales-detail-row{padding:8px;border-radius:10px;gap:6px}.fiado-details-modal .sales-detail-row-title{font-size:.8rem}.fiado-details-modal .global-modal-actions{bottom:-14px;margin:2px -14px -14px;padding:10px 14px 18px;gap:8px;flex-wrap:nowrap}.fiado-details-modal .global-modal-actions .ghost-button,.fiado-details-modal .global-modal-actions .primary-button,.fiado-details-modal .global-modal-actions .danger-button{padding:10px;font-size:.78rem;flex:1;text-align:center}.modal-standard-form,.modal-standard-details{padding:14px;max-height:96svh;border-radius:20px 20px 0 0;align-self:end;width:100%;max-width:100%;gap:10px}.modal-standard-form .global-modal-head,.modal-standard-details .global-modal-head{margin:0;padding:0 0 10px}.modal-standard-grid,.modal-standard-details .product-details-grid{grid-template-columns:1fr}.modal-standard-details .sales-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.modal-standard-details .sales-details-field{padding:7px 9px;border-radius:10px}.modal-standard-details .sales-details-field span{font-size:.6rem}.modal-standard-details .sales-details-field strong{font-size:.78rem}.modal-standard-details .product-details-summary-row{padding:9px 11px;border-radius:12px}.modal-standard-details .sales-detail-section{padding:10px;gap:6px;border-radius:12px}.modal-standard-details .sales-detail-section h4,.modal-standard-details .product-imei-section h4,.modal-standard-details .fiado-customer-profile-head h4{font-size:.78rem;margin:0 0 1px}.modal-standard-details .sales-detail-row{padding:8px;border-radius:10px;gap:6px}.modal-standard-details .sales-detail-row-title{font-size:.8rem}.modal-standard-details .global-modal-actions{bottom:-14px;margin:2px -14px -14px;padding:10px 14px 18px;gap:8px;flex-wrap:nowrap}.modal-standard-details .global-modal-actions .ghost-button,.modal-standard-details .global-modal-actions .primary-button,.modal-standard-details .global-modal-actions .danger-button{padding:10px;font-size:.78rem;flex:1;text-align:center}.modal-standard-form .global-modal-actions{flex-wrap:wrap}.fiado-create-section{padding:10px}.fiado-form-actions{justify-content:flex-end;flex-wrap:wrap}.fiado-filters-menu{width:min(96vw,540px)}.fiado-filters-grid{grid-template-columns:1fr}.fiado-filter-seller{grid-column:auto}.fiado-customer-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fiado-filters-actions{justify-content:flex-start}.pdv-sale-details-grid{grid-template-columns:1fr}.pdv-customer-card,.pdv-product-card,.pdv-cart-item,.pdv-sale-card,.finance-payment-card,.finance-history-card{flex-direction:column;align-items:flex-start}.pdv-cart-item-actions,.pdv-sale-card-meta,.finance-history-meta{width:100%;justify-items:start;text-align:left}.pdv-cart-list .pdv-cart-item{flex-direction:row;align-items:center;gap:8px}.pdv-cart-list .pdv-cart-item-actions{width:auto;justify-items:end;text-align:right}.finance-payment-actions{width:100%;flex-wrap:wrap}.finance-payment-highlight{font-size:1.02rem}.finance-history-toolbar{grid-template-columns:minmax(0,1fr) auto}.finance-history-filter{min-width:108px}.finance-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.loterica-overview-card{flex-direction:column;align-items:flex-start}.loterica-overview-meta{text-align:left}.loterica-dataset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.loterica-history-controls{grid-template-columns:minmax(0,1fr) auto}.loterica-history-card{flex-direction:row;align-items:center}.loterica-history-meta{width:auto;justify-items:end;text-align:right}.loterica-resumo-modal{max-width:calc(100vw - 20px)}.product-details-footer{align-items:center}.create-product-row{gap:8px;padding:8px}.create-product-row-content{grid-template-columns:minmax(116px,.9fr) minmax(0,1fr);gap:8px}.create-product-prices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.create-product-form label{font-size:.84rem}.create-product-form input{font-size:.9rem;padding:10px 12px}.create-product-check{font-size:.78rem;min-height:42px;font-weight:700}.create-product-row-title{font-size:.78rem}.mobile-nav{display:grid}.drawer{display:block}}@media(max-width:640px){.hero-card,.metric-card,.panel{padding:18px;border-radius:22px}.metric-value,.hero-highlight strong{font-size:1.6rem}.chart-bars{min-height:250px;gap:8px}.chart-bar-wrap{min-height:160px}.stack-row,.delivery-item,.delivery-item-row,.table-actions{align-items:flex-start;flex-direction:column}.delivery-meta{text-align:left}.search-row,.loterica-resumo-grid{grid-template-columns:1fr}.loterica-resumo-grid .finance-kpi-card:last-child{grid-column:auto}.loterica-dataset-grid{grid-template-columns:1fr}.loterica-history-card{flex-direction:row}.loterica-resumo-modal-grid{grid-template-columns:1fr}.loterica-resumo-modal-grid .finance-kpi-card:last-child{grid-column:auto}.products-search-row{grid-template-columns:minmax(0,1fr) auto;gap:6px}.fiado-parcela-row{grid-template-columns:1fr}.fiado-parcela-remove{justify-self:start}.fiado-details-modal{max-width:calc(100vw - 16px)}.fiado-create-modal,.fiado-details-modal,.modal-standard-form,.modal-standard-details{padding:14px;max-height:calc(100vh - 16px)}.modal-standard-details{max-width:calc(100vw - 16px)}.fiado-create-modal .global-modal-head,.fiado-details-modal .global-modal-head,.modal-standard-form .global-modal-head,.modal-standard-details .global-modal-head{margin:0;padding:0 0 10px}.fiado-details-modal .sales-details-grid,.modal-standard-details .sales-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.fiado-customer-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fiado-details-modal .global-modal-actions,.modal-standard-details .global-modal-actions{bottom:-14px;margin:2px -14px -14px;padding:10px 14px 12px}.pdv-steps-head{gap:4px}.pdv-steps-track{gap:3px;padding:3px;border-radius:12px}.pdv-step-chip{padding:6px 4px;gap:3px;flex-direction:row;justify-content:center;text-align:center}.pdv-step-circle{width:24px;height:24px;min-width:24px;font-size:.7rem}.pdv-step-label{font-size:.65rem;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.1}.pdv-add-payment-button{height:30px;padding:0 9px;min-width:0;font-size:.74rem;transform:translateY(0)}.pdv-add-payment-row{margin-top:4px}.pdv-payment-line-actions{grid-column:1 / -1;justify-content:flex-end}.pdv-cart-item{padding:7px 8px;gap:7px}.pdv-cart-item-main strong{font-size:.8rem}.pdv-cart-item p{font-size:.74rem}.pdv-cart-item small{font-size:.68rem}.pdv-cart-item-actions .ghost-button{padding:5px 9px;min-height:28px;font-size:.68rem}.pdv-cart-qty-button{width:22px;height:22px;border-radius:7px;font-size:.86rem}.pdv-cart-qty-value{min-width:22px;font-size:.72rem}.pdv-cart-subtotal{padding:7px 9px}.pdv-cart-subtotal span,.pdv-cart-subtotal strong{font-size:.78rem}.pdv-installments-modal{width:min(100%,540px);padding:16px;border-radius:20px}.pdv-installments-modal-intro{font-size:.74rem;padding:7px 8px}.pdv-installments-list-head{font-size:.63rem}.pdv-installments-item strong{font-size:.78rem}.pdv-footer-left{gap:6px;flex-wrap:wrap}.pdv-order-source-field{width:100%;gap:6px}.pdv-order-source-field>span{font-size:.75rem}.pdv-order-source-field>select{min-height:32px;padding:7px 9px}.pdv-totals-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pdv-receipt{padding:10px;gap:7px}.pdv-receipt-row,.pdv-receipt-row strong{font-size:.82rem}.pdv-receipt-row.total span,.pdv-receipt-row.total strong{font-size:.9rem}.products-mobile-filter-button{width:30px;height:30px}.products-mobile-filter-menu{width:min(176px,74vw)}.delivery-imei-select{width:100%;min-width:0}.fixed-topbar{height:64px;padding:8px 12px}.topbar-brand-mark{width:34px;height:34px}.topbar-brand-copy strong{font-size:.84rem}.topbar-brand-copy span{font-size:.64rem}.top-back-button{width:32px;height:32px}.icon-action-button{width:34px;height:34px;border-radius:10px}.product-mobile-card-trigger{padding:12px}.products-page-actions{top:-62px}.products-mobile-create-button{padding:7px 10px;font-size:.78rem}.deliveries-toolbar{flex-direction:column;align-items:stretch;gap:10px}.deliveries-status-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.deliveries-status-tab{white-space:nowrap;font-size:.76rem;padding:6px 12px}.delivery-card-footer{flex-direction:column;align-items:flex-start}.delivery-card-actions{width:100%;justify-content:flex-end}.product-mobile-head h4{font-size:.84rem}.page-heading-copy .eyebrow{font-size:.76rem}.product-mobile-variation{font-size:.84rem}.product-mobile-info-value{font-size:.94rem}.create-product-row{gap:7px;padding:7px}.create-product-row-content{grid-template-columns:minmax(104px,.9fr) minmax(0,1fr);gap:7px}.create-product-prices{gap:7px}.create-product-form label{font-size:.8rem}.create-product-form input{font-size:.86rem;padding:9px 10px}.global-modal-close{width:30px;height:30px}.product-imei-item-head{align-items:center;gap:8px}.product-imei-item-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-imei-item-actions,.product-imei-inline-actions{align-items:center;flex-direction:row}.product-imei-inline-actions{flex-wrap:nowrap}.product-imei-inline-actions .ghost-button,.product-imei-inline-actions .danger-button,.product-imei-inline-actions .primary-button{width:auto}.product-details-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px}.product-details-footer .primary-button,.product-details-footer .danger-button{width:auto}.page-heading h1{font-size:1.18rem}.global-modal-overlay{padding:8px}.global-modal-overlay:has(.fiado-details-modal){padding:0;align-items:flex-end}.global-modal{max-width:calc(100vw - 16px);padding:14px}}@media(max-width:420px){.finance-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.report-page{display:flex;flex-direction:column;gap:20px;min-width:0;width:100%;max-width:100%;box-sizing:border-box}.report-month-nav-panel{padding:14px 18px}.report-month-nav{display:flex;align-items:center;justify-content:center;gap:16px}.report-month-arrow{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1.5px solid var(--border);background:var(--surface);color:var(--text-primary);cursor:pointer;transition:background .15s,border-color .15s}.report-month-arrow:hover:not(:disabled){background:var(--surface-raised);border-color:var(--accent)}.report-month-arrow--disabled,.report-month-arrow:disabled{opacity:.35;cursor:not-allowed}.report-month-display{display:flex;flex-direction:column;align-items:center;min-width:140px}.report-month-label{font-size:1.1rem;font-weight:700;color:var(--text-primary);line-height:1.2}.report-month-year{font-size:.82rem;color:var(--text-secondary);font-weight:500}.report-loading{display:flex;flex-direction:column;align-items:center;gap:12px;padding:48px 0;color:var(--text-secondary);font-size:.9rem}.report-loading-spinner{width:28px;height:28px;border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}.report-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.report-kpi-card{display:flex;flex-direction:column;gap:4px;padding:16px;border-radius:12px;background:var(--surface);border:1.5px solid var(--border);position:relative;overflow:hidden;min-width:0}.report-kpi-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.06;pointer-events:none}.report-kpi-card--revenue{border-color:#2563eb44}.report-kpi-card--revenue:before{background:#2563eb}.report-kpi-card--revenue .report-kpi-icon{color:#2563eb}.report-kpi-card--sales{border-color:var(--border)}.report-kpi-card--sales .report-kpi-icon{color:var(--text-secondary)}.report-kpi-card--cost{border-color:#d9770644}.report-kpi-card--cost:before{background:#d97706}.report-kpi-card--cost .report-kpi-icon{color:#d97706}.report-kpi-card--profit{border-color:#16a34a44}.report-kpi-card--profit:before{background:#16a34a}.report-kpi-card--profit .report-kpi-icon{color:#16a34a}.report-kpi-card--profit.report-kpi-card--loss{border-color:#dc262644}.report-kpi-card--profit.report-kpi-card--loss:before{background:#dc2626}.report-kpi-card--profit.report-kpi-card--loss .report-kpi-icon{color:#dc2626}.report-kpi-icon{margin-bottom:2px;opacity:.9}.report-kpi-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary);line-height:1.2;margin:0}.report-kpi-value{font-size:1.25rem;font-weight:800;color:var(--text-primary);line-height:1.1;margin-top:2px;overflow-wrap:anywhere;word-break:normal}.report-kpi-value--count{font-size:1.9rem}.report-kpi-sub{font-size:.75rem;color:var(--text-secondary);margin-top:2px}.report-footnote{font-size:.78rem;color:var(--text-secondary);text-align:center;padding:0 8px 4px;margin:0}:root[data-theme=dark] .report-kpi-card--revenue{border-color:#3b82f655}:root[data-theme=dark] .report-kpi-card--revenue .report-kpi-icon{color:#60a5fa}:root[data-theme=dark] .report-kpi-card--cost{border-color:#f59e0b55}:root[data-theme=dark] .report-kpi-card--cost .report-kpi-icon{color:#fbbf24}:root[data-theme=dark] .report-kpi-card--profit{border-color:#22c55e55}:root[data-theme=dark] .report-kpi-card--profit .report-kpi-icon{color:#4ade80}:root[data-theme=dark] .report-kpi-card--profit.report-kpi-card--loss{border-color:#f8717155}:root[data-theme=dark] .report-kpi-card--profit.report-kpi-card--loss .report-kpi-icon{color:#f87171}.report-kpi-section-divider{grid-column:1 / -1;display:flex;align-items:center;gap:12px;margin:4px 0 0;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.report-kpi-section-divider:before,.report-kpi-section-divider:after{content:"";flex:1;height:1px;background:var(--line)}.report-kpi-card--inv-cost{border-color:#6366f14d}.report-kpi-card--inv-cost:before{background:#6366f1}.report-kpi-card--inv-cost .report-kpi-icon{color:#6366f1}.report-kpi-card--inv-sell{border-color:#14b8a64d}.report-kpi-card--inv-sell:before{background:#14b8a6}.report-kpi-card--inv-sell .report-kpi-icon{color:#14b8a6}:root[data-theme=dark] .report-kpi-card--inv-cost{border-color:#818cf84d}:root[data-theme=dark] .report-kpi-card--inv-cost .report-kpi-icon{color:#818cf8}:root[data-theme=dark] .report-kpi-card--inv-sell{border-color:#2dd4bf4d}:root[data-theme=dark] .report-kpi-card--inv-sell .report-kpi-icon{color:#2dd4bf}.pdv-fab-button{position:fixed;bottom:88px;right:20px;z-index:1100;width:56px;height:56px;border-radius:50%;border:none;background:var(--primary);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px #f9731666;transition:transform .2s,background .2s}.pdv-fab-button:hover{background:var(--primary-strong);transform:translateY(-2px)}.pdv-fab-button svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}@media(min-width:768px){.pdv-fab-button{bottom:28px;right:28px}}.inventory-page-grid{display:grid;gap:12px}@media(min-width:1100px){.inventory-page-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:16px;align-items:start}}@media(max-width:767px){.inventory-saldos-panel.panel{padding:16px;border-radius:20px}}.inventory-balance-result{margin-top:4px}.inventory-balance-sheet{border-radius:16px;border:1px solid var(--line);background:var(--surface-soft);padding:12px 14px;display:grid;gap:10px}.inventory-balance-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.inventory-balance-sheet-title-block{min-width:0;flex:1}.inventory-balance-sheet-code{display:block;font-size:.65rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-family:ui-monospace,monospace;margin-bottom:2px}.inventory-balance-sheet-name{margin:0;font-size:.92rem;font-weight:700;line-height:1.28;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.inventory-stock-pill{flex-shrink:0;font-size:.72rem;font-weight:700;padding:5px 10px;border-radius:999px;background:var(--panel);border:1px solid var(--line);color:var(--muted);font-variant-numeric:tabular-nums}.inventory-stock-pill--ok{background:#22c55e1f;border-color:#22c55e59;color:var(--success-text)}.inventory-balance-sheet-variations{margin:-4px 0 0;font-size:.72rem;color:var(--muted);line-height:1.3}.inventory-balance-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;margin:0 -2px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.inventory-balance-chip{flex:0 0 auto;min-width:5.25rem;max-width:10rem;padding:8px 10px;border-radius:12px;background:var(--panel);border:1px solid var(--line);display:grid;gap:1px}.inventory-balance-chip-val{font-size:1.05rem;font-weight:800;font-variant-numeric:tabular-nums;line-height:1;color:var(--text)}.inventory-balance-chip-lbl{font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.inventory-balance-chip-sub{font-size:.65rem;color:var(--muted);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-balance-sheet-meta{margin:0;font-size:.72rem;color:var(--muted);line-height:1.35;display:flex;flex-wrap:wrap;align-items:center;gap:4px}.inventory-balance-sheet-meta-dot{opacity:.55}.inventory-section-label{margin:0 0 8px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.inventory-section-label--compact{margin-bottom:6px;font-size:.7rem}.inventory-movement-card .finance-payment-sale{font-size:.78rem;color:var(--muted)}.inventory-movement-card .finance-payment-highlight{font-size:.95rem;margin-top:2px}.inventory-loading-inline{margin:0 0 6px;padding:8px 10px;font-size:.82rem}.inventory-move-timeline{list-style:none;margin:0;padding:0;display:grid;gap:0}.inventory-move-timeline-item{margin:0;padding:10px 6px;border-bottom:1px solid var(--line)}.inventory-move-timeline-item:last-child{border-bottom:0;padding-bottom:4px}.inventory-move-timeline-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.inventory-move-timeline-top .panel-badge{font-size:.65rem;padding:3px 8px}.inventory-move-timeline-time{font-size:.72rem;font-weight:600;color:var(--text)}.inventory-move-timeline-subtitle{margin:0 0 4px;font-size:.76rem;color:var(--text);line-height:1.35}.inventory-move-timeline-origin{margin:0;font-size:.7rem;color:var(--muted);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.inventory-move-timeline-user{font-weight:500}.inventory-balance-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:10px}.inventory-balance-search{position:relative}.inventory-balance-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:30;list-style:none;margin:0;padding:4px;background:var(--modal-bg);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);display:grid;gap:1px;max-height:220px;overflow-y:auto}.inventory-balance-suggestion-item{width:100%;text-align:left;padding:9px 12px;border:0;border-radius:9px;background:transparent;color:var(--text);font-family:inherit;font-size:.9rem;cursor:pointer;line-height:1.3}.inventory-balance-suggestion-item:hover{background:var(--surface-soft)}.inventory-inline-check{min-height:40px;border-radius:12px;padding:0 12px}.inventory-balance-row{align-items:flex-start}.inventory-balance-main{min-width:0;display:grid;gap:2px}.inventory-balance-main strong{font-size:.9rem;line-height:1.25}.inventory-balance-main p,.inventory-balance-main small{margin:0;color:var(--muted)}.inventory-balance-meta{font-size:.78rem;line-height:1.3}.inventory-balance-main small{font-size:.74rem;line-height:1.28}.inventory-balance-side{display:grid;gap:6px;justify-items:end;text-align:right;flex-shrink:0}.inventory-selected-movements-box{display:grid;gap:10px;max-height:320px;overflow-y:auto;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.inventory-selected-movements-box.inventory-selected-movements-box--compact{max-height:260px;padding:6px 8px;gap:0;border-radius:16px}.inventory-selected-movements-section{margin-top:12px;gap:6px}.inventory-selected-movements-title{margin:0}.inventory-selected-movements-footer{display:flex;justify-content:center;padding-top:2px}.inventory-movement-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:10px}.inventory-movement-toolbar .products-mobile-filter-wrap{display:flex;align-items:center}.inventory-filters-toggle{display:inline-flex;align-items:center;gap:8px;min-height:40px}.inventory-filters-toggle .icon-action-svg{width:18px;height:18px;flex-shrink:0}.inventory-filters-toggle.is-active{border-color:var(--primary);background:var(--primary-soft);color:var(--text)}.inventory-filters-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px;padding:10px;border:1px dashed var(--line);border-radius:14px;background:var(--surface-soft)}.inventory-filter-actions{grid-column:1 / -1;margin-top:2px}.inventory-movement-card{align-items:flex-start}.inventory-movement-side{display:grid;gap:7px;justify-items:end;text-align:right;min-width:122px}.inventory-adjustment-modal{width:min(100%,900px)}.inventory-movement-detail-modal{width:min(100%,880px)}.inventory-shopping-modal{width:min(100%,760px)}.settings-user-row{align-items:flex-start;gap:14px}.settings-user-controls{width:min(100%,520px);display:grid;gap:10px}.settings-roles-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.settings-role-item{min-height:38px;border-radius:10px;padding:0 10px}.settings-user-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.inventory-metadata{margin:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);padding:10px;font-size:.76rem;line-height:1.4;white-space:pre-wrap;word-break:normal;max-height:250px;overflow:auto}@media(max-width:980px){.inventory-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.inventory-balance-toolbar,.inventory-filters-grid{grid-template-columns:1fr}.inventory-movement-card{flex-direction:column;align-items:stretch}.inventory-movement-side{width:100%;display:flex;justify-content:space-between;align-items:center}.inventory-balance-row{flex-direction:column;align-items:stretch}.inventory-balance-side{width:100%;display:flex;justify-content:flex-start;gap:8px}.inventory-selected-movements-box{max-height:280px}.settings-roles-grid{grid-template-columns:1fr}.settings-user-controls{width:100%}}.pdv-mode .sidebar,.pdv-mode .page-heading,.pdv-mode .pdv-fab-button,.pdv-mode .back-to-top-button{display:none!important}.pdv-mode .content-area{margin-left:0!important;padding:72px 0 0!important;min-height:100dvh;background:var(--bg);display:flex;flex-direction:column}.pdv-mode .page-content{flex:1;display:flex;flex-direction:column;align-items:center;padding:16px;overflow-y:auto;animation:pdv-screen-enter .32s cubic-bezier(0,0,.2,1) both}.pdv-mode-leaving .page-content{animation:pdv-screen-leave .32s cubic-bezier(.4,0,1,1) both!important}.pdv-mode-leaving .fixed-topbar--pdv{animation:pdv-topbar-leave .28s cubic-bezier(.4,0,1,1) both!important}.pdv-mode .pdv-page-grid{width:100%;max-width:560px}@media(min-width:901px){.pdv-mode .pdv-page-grid{max-width:1100px}.pdv-step-panel--stage1{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);grid-template-rows:auto;align-items:flex-start}.pdv-step-panel:not(.pdv-step-panel--stage1){max-width:600px;margin:0 auto;width:100%}.pdv-cart-block{position:sticky;top:100px}}@media(max-width:768px){.pdv-mode .content-area{padding-top:68px!important}}@media(max-width:480px){.pdv-mode .content-area{padding-top:64px!important}}@keyframes pdv-screen-enter{0%{opacity:0;transform:translateY(32px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pdv-screen-leave{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(32px) scale(.98)}}@keyframes pdv-topbar-enter{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes pdv-topbar-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}.fixed-topbar--pdv{justify-content:flex-start;gap:8px;animation:pdv-topbar-enter .28s cubic-bezier(0,0,.2,1) both}.pdv-standalone-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 4px 20px #0000000d;margin-bottom:24px;border-radius:0 0 20px 20px}:root[data-theme=dark] .pdv-standalone-header{box-shadow:0 4px 20px #0006}.pdv-header-brand{display:flex;align-items:center;gap:16px}.pdv-header-brand svg{width:40px;height:40px;color:var(--primary);background:var(--primary-light);padding:8px;border-radius:12px}.pdv-header-brand h1{font-size:1.4rem;font-weight:800;margin:0;letter-spacing:-.02em;color:var(--text-primary)}.pdv-header-brand span{font-size:.85rem;color:var(--text-secondary);font-weight:500}.pdv-header-exit{color:var(--danger)!important;font-weight:600;border:1px solid var(--danger-light);background:transparent;transition:all .2s}.pdv-header-exit:hover{background:var(--danger);color:#fff!important;border-color:var(--danger)}.imei-scanner-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1600;background:#020617d1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:flex-end;justify-content:center;padding:0}@media(min-width:600px){.imei-scanner-overlay{align-items:center;padding:20px}}.imei-scanner-modal{width:100%;max-width:480px;background:var(--modal-bg);border-radius:24px 24px 0 0;border:1px solid var(--line);box-shadow:0 -12px 48px #0000004d;padding:16px;display:flex;flex-direction:column;gap:14px}@media(min-width:600px){.imei-scanner-modal{border-radius:20px;box-shadow:var(--shadow)}}.imei-scanner-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.imei-scanner-header strong{font-size:1rem}.imei-scanner-viewfinder{position:relative;width:100%;aspect-ratio:4 / 3;border-radius:14px;overflow:hidden;background:#000;border:2px solid var(--line);transition:border-color .2s}.imei-scanner-viewfinder--success{border-color:#22c55e}.imei-scanner-video{width:100%;height:100%;object-fit:cover;display:block}.imei-scanner-reticle{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.imei-scanner-reticle:before,.imei-scanner-reticle:after{content:"";position:absolute;width:72%;height:36%;border:2.5px solid rgba(249,115,22,.9);border-radius:8px;box-shadow:0 0 0 2000px #00000061}.imei-scanner-reticle-line{position:absolute;width:68%;height:2px;background:linear-gradient(90deg,transparent,rgba(249,115,22,.9),transparent);animation:imei-scan-line 1.8s ease-in-out infinite}@keyframes imei-scan-line{0%{transform:translateY(-18px);opacity:.6}50%{transform:translateY(18px);opacity:1}to{transform:translateY(-18px);opacity:.6}}.imei-scanner-success-badge{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:inline-flex;align-items:center;gap:6px;background:#16a34aeb;color:#fff;font-size:.82rem;font-weight:700;font-family:monospace;padding:6px 14px;border-radius:999px;white-space:nowrap;animation:imei-success-pop .25s ease-out}@keyframes imei-success-pop{0%{transform:translate(-50%) scale(.8);opacity:0}to{transform:translate(-50%) scale(1);opacity:1}}.imei-scanner-hint{margin:0;font-size:.8rem;color:var(--muted);text-align:center;line-height:1.5}.imei-scanner-hint strong{color:var(--text)}.imei-scanner-camera-select{display:grid;gap:6px}.imei-scanner-error{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 16px;color:var(--muted);text-align:center}.imei-scanner-error svg{color:var(--danger);opacity:.8}.imei-scanner-error p{margin:0;font-size:.88rem;line-height:1.5}.external-stock-page{display:grid;gap:12px}.external-stock-page-top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}.external-stock-page-top-text{min-width:0;flex:1 1 200px}.external-stock-page-top-text .eyebrow{margin-top:4px}.external-stock-page-title{margin:0;font-size:1.2rem;font-weight:700;letter-spacing:-.02em;color:var(--text)}.external-stock-list-panel{padding-top:4px}@media(max-width:520px){.external-stock-page-top .external-stock-create-button{width:100%;justify-content:center}}.external-stock-header{align-items:flex-start;gap:10px}.external-stock-header-main{min-width:0}.external-stock-create-button{margin-left:auto;min-height:34px;padding:0 12px;border-radius:10px;font-size:.74rem;white-space:nowrap}.external-stock-card{flex-direction:column;align-items:stretch;gap:0;padding:0;border-radius:12px;overflow:hidden;border:1px solid var(--line);transition:border-color .15s}.external-stock-card--selected{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.external-stock-card-main{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:12px 14px;background:transparent;border:0;color:inherit;text-align:left;cursor:pointer;font-family:inherit;font-size:inherit}.external-stock-card-main:hover{background:var(--surface-soft)}.external-stock-card-info{display:grid;gap:2px;min-width:0}.external-stock-card-info strong{font-size:.97rem}.external-stock-card-info small{color:var(--muted);font-size:.76rem}.external-stock-card-badges{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px}.external-stock-badge{padding:4px 8px;font-size:.64rem;font-weight:700;border:1px solid transparent}.external-stock-badge--pdv,.external-stock-badge--active{color:#166534;background:#16a34a1f;border-color:#16a34a47}.external-stock-badge--inactive{color:#166534;background:#16a34a14;border-color:#16a34a33}.external-stock-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:8px 14px;border-top:1px solid var(--line);background:var(--surface-soft);flex-wrap:wrap}.external-stock-visibility-button{min-height:30px;padding:0 10px;border-radius:10px;font-size:.68rem;color:#166534!important;border-color:#16a34a4d!important;background:#16a34a17!important}.external-stock-visibility-button:hover{background:#16a34a29!important}.external-stock-action-icon{min-width:30px;min-height:30px;width:30px;padding:0;border-radius:10px;font-size:1rem;font-weight:800;line-height:1;display:inline-flex;align-items:center;justify-content:center}.external-stock-action-icon--return{font-size:1.1rem}.external-stock-action-icon--delete{color:#b91c1c!important}.external-stock-action-icon--delete svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.external-stock-history{margin-top:12px;display:grid;gap:10px;border-top:1px dashed var(--line);padding-top:12px}.external-stock-movements-scroll{max-height:min(52vh,360px);overflow-y:auto;padding-right:4px}.panel-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.danger-button{color:var(--danger)!important;border-color:#dc26264d!important}.danger-button:hover{background:#dc262614!important}@media(min-width:720px){.external-stock-page{grid-template-columns:repeat(2,minmax(0,1fr))}}.ext-product-search-wrap{position:relative;display:grid;gap:4px}.ext-product-input-wrap{position:relative;display:flex;align-items:center}.ext-product-input-wrap .form-input{flex:1;padding-right:36px}.ext-product-searching{position:absolute;right:10px;color:var(--muted);font-size:.8rem;pointer-events:none;letter-spacing:.1em}.ext-product-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:30;list-style:none;margin:0;padding:4px;background:var(--modal-bg);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);display:grid;gap:1px;max-height:220px;overflow-y:auto}.ext-product-suggestion-item{width:100%;text-align:left;padding:9px 12px;border:0;border-radius:9px;background:transparent;color:var(--text);font-family:inherit;font-size:.9rem;cursor:pointer;line-height:1.3}.ext-product-suggestion-item:hover{background:var(--surface-soft)}.ext-product-selected{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:10px 12px;border:1px solid var(--primary);border-radius:12px;background:var(--primary-soft)}.ext-product-selected span{font-weight:700;font-size:.92rem;color:var(--text);line-height:1.3;flex:1}.ext-product-clear{width:26px;height:26px;border:0;border-radius:999px;background:#0000001f;color:var(--text);cursor:pointer;font-size:.76rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ext-product-clear:hover{background:#00000038}.ext-product-selected-info{display:grid;gap:1px;flex:1}.ext-product-selected-info small{color:var(--muted);font-size:.74rem}.text-success{color:var(--success, #10b981)}.text-danger{color:var(--danger)}.ext-movement-banner{display:grid;gap:2px;padding:10px 14px;border-radius:10px;margin:0 0 2px;font-size:.84rem}.modal-standard-form .ext-movement-banner{margin:0 1.5rem 1rem}.ext-movement-banner strong{font-size:.86rem;line-height:1.2}.ext-movement-banner span{color:var(--muted);font-size:.79rem;line-height:1.3}.ext-movement-banner--out{background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);color:var(--text)}.ext-movement-banner--out strong{color:#b45309}.ext-movement-banner--in{background:#10b98114;border:1px solid rgba(16,185,129,.28);color:var(--text)}.ext-movement-banner--in strong{color:#059669}@media(prefers-color-scheme:dark){.ext-movement-banner--out strong{color:#fbbf24}.ext-movement-banner--in strong{color:#34d399}}:root[data-theme=dark] .ext-movement-banner--out{background:#f59e0b24;border-color:#fbbf2459;color:var(--text)}:root[data-theme=dark] .ext-movement-banner--out strong{color:#fcd34d}:root[data-theme=dark] .ext-movement-banner--in{background:#10b9811f;border-color:#34d39959;color:var(--text)}:root[data-theme=dark] .ext-movement-banner--in strong{color:#6ee7b7}.mobile-surface-page{gap:12px}.mobile-surface-layout{display:grid;gap:12px}.mobile-surface-section{position:relative;overflow:hidden}.mobile-surface-head{margin-bottom:14px}.mobile-surface-head h3{font-size:1rem;line-height:1.2}.mobile-surface-head .eyebrow{margin-top:4px;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase}.mobile-surface-badge{font-size:.72rem;padding:6px 10px}.mobile-surface-toolbar{margin-bottom:12px}.mobile-surface-tab-strip{display:flex;gap:8px;overflow-x:auto;padding-top:2px;padding-bottom:6px;scrollbar-width:none}.mobile-surface-tab-strip::-webkit-scrollbar{display:none}.mobile-surface-tab{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:34px;border-radius:999px;line-height:1;transform:translateY(0);will-change:auto}.mobile-surface-search{margin-bottom:12px}.mobile-surface-list{display:grid;gap:10px}.mobile-surface-empty{border:1px dashed var(--line);border-radius:14px;background:var(--surface-soft)}.mobile-surface-load-more{width:100%;min-height:42px;border-radius:12px}.deliveries-page .deliveries-layout{gap:12px}.deliveries-page.stock-entry-page{padding-bottom:32px}.deliveries-page .deliveries-main-tabs{margin-bottom:0}.deliveries-page .deliveries-history-controls{display:grid;gap:10px}.deliveries-page .deliveries-history-search-row{width:100%}.deliveries-page .deliveries-history-panel .mobile-surface-toolbar{margin-bottom:6px}.deliveries-page .deliveries-history-panel .se-history-toolbar,.deliveries-page .deliveries-history-panel .search-input-wrap.deliveries-search,.deliveries-page .deliveries-history-panel .search-input-wrap.mobile-surface-search{margin-bottom:0}.deliveries-page .deliveries-history-table-wrap{margin-top:0}.deliveries-page .data-table tbody tr.deliveries-table-row.selected td{background:var(--primary-soft)}.deliveries-page .deliveries-history-mobile-list{margin-top:0}.deliveries-page .deliveries-history-panel .se-loading-state{padding:14px 16px 18px}.deliveries-page .deliveries-history-panel .se-empty-state{padding:22px 16px;margin-top:0}.deliveries-page .deliveries-today-panel,.deliveries-page .deliveries-history-panel{border-radius:22px}.deliveries-page .deliveries-toolbar{display:grid;gap:8px}.deliveries-page .deliveries-status-tabs{flex-wrap:nowrap}.deliveries-page .deliveries-status-tab{border:1px solid var(--line);background:var(--surface-soft);color:var(--text);font-size:.76rem;font-weight:700;letter-spacing:.02em;padding:7px 12px;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.deliveries-page .deliveries-status-tab:hover{border-color:var(--primary);box-shadow:0 0 0 1px #f9731629}.deliveries-page .deliveries-status-tab.active{background:var(--primary-soft);border-color:var(--primary);color:var(--text);box-shadow:0 0 0 1px #f9731629}.deliveries-page .deliveries-search{margin-bottom:12px}.deliveries-page .deliveries-calendar-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;overflow:visible}.deliveries-page .deliveries-calendar-column{min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:10px;display:grid;gap:10px;align-content:start}.deliveries-page .deliveries-calendar-column.status-pending{border-top:3px solid rgba(245,158,11,.88)}.deliveries-page .deliveries-calendar-column.status-on-route{border-top:3px solid rgba(59,130,246,.88)}.deliveries-page .deliveries-calendar-column.status-completed{border-top:3px solid rgba(34,197,94,.88)}.deliveries-page .deliveries-calendar-column-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.deliveries-page .deliveries-calendar-column-head strong{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em}.deliveries-page .deliveries-calendar-column-head span{min-width:20px;height:20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:.6rem;font-weight:700;border:1px solid var(--line);background:var(--panel)}.deliveries-page .deliveries-calendar-column .delivery-card{padding:8px;border-radius:12px;gap:6px}.deliveries-page .deliveries-calendar-column .delivery-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.deliveries-page .deliveries-calendar-column .delivery-card-title{font-size:.75rem;line-height:1.18;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.deliveries-page .deliveries-calendar-column .delivery-flow-stage,.deliveries-page .deliveries-calendar-column .delivery-flow-sale{font-size:.62rem}.deliveries-page .deliveries-calendar-column .delivery-card-meta-item,.deliveries-page .deliveries-calendar-column .delivery-card-note,.deliveries-page .deliveries-calendar-column .delivery-completion-note,.deliveries-page .deliveries-calendar-column .delivery-card-hint{font-size:.64rem}.deliveries-page .deliveries-calendar-column .delivery-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%}.deliveries-page .deliveries-calendar-column .delivery-card-actions>*:only-child{grid-column:1 / -1}.deliveries-page .deliveries-calendar-column .deliveries-card-button{min-height:29px;font-size:.62rem;padding:0 6px}.deliveries-page .deliveries-calendar-column .delivery-card-note,.deliveries-page .deliveries-calendar-column .delivery-completion-note,.deliveries-page .deliveries-calendar-column .delivery-card-hint{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.deliveries-page .deliveries-calendar-column .delivery-card-footer{padding-top:6px;gap:6px}.deliveries-page .deliveries-calendar-column .delivery-flow-row{align-items:flex-start}.deliveries-page .deliveries-calendar-empty{margin:0;min-height:84px;display:flex;align-items:center;justify-content:center;text-align:center;border:1px dashed var(--line);border-radius:10px;background:var(--panel);font-size:.76rem}.deliveries-page .deliveries-completed-summary{min-height:108px;border:1px dashed var(--line);border-radius:12px;background:var(--panel);display:grid;place-items:center;gap:4px;text-align:center;padding:12px}.deliveries-page .deliveries-completed-summary-value{font-size:1.45rem;line-height:1}.deliveries-page .deliveries-completed-summary-label{font-size:.72rem;color:var(--text-muted)}.deliveries-page .delivery-cards{gap:10px}.deliveries-page .deliveries-courier-active-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.deliveries-page .deliveries-courier-active-list .delivery-card{padding:10px;border-radius:14px;gap:7px}.deliveries-page .deliveries-courier-active-list .delivery-card-title{font-size:.8rem;line-height:1.2}.deliveries-page .deliveries-courier-active-list .delivery-flow-stage,.deliveries-page .deliveries-courier-active-list .delivery-flow-sale{font-size:.6rem}.deliveries-page .deliveries-courier-active-list .delivery-card-note,.deliveries-page .deliveries-courier-active-list .delivery-completion-note,.deliveries-page .deliveries-courier-active-list .delivery-card-hint{font-size:.68rem}.deliveries-page .deliveries-courier-active-list .delivery-card-note,.deliveries-page .deliveries-courier-active-list .delivery-completion-note,.deliveries-page .deliveries-courier-active-list .delivery-card-hint{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.deliveries-page .deliveries-courier-active-list .delivery-card-footer{padding-top:6px;gap:6px}.deliveries-page .deliveries-courier-active-list .delivery-card-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.deliveries-page .deliveries-courier-active-list .delivery-card-actions>*:only-child{grid-column:1 / -1}.deliveries-page .deliveries-courier-active-list .deliveries-card-button{min-height:34px;font-size:.68rem;padding:0 8px}.deliveries-page .delivery-card{position:relative;border:1px solid var(--line);border-radius:16px;padding:12px;background:linear-gradient(150deg,var(--panel) 0%,var(--surface-soft) 100%);gap:9px;transition:border-color .16s ease,box-shadow .16s ease,transform .12s ease}.deliveries-page .delivery-card:before{content:"";position:absolute;top:11px;bottom:11px;left:0;width:3px;border-radius:0 999px 999px 0;background:#94a3b873}.deliveries-page .delivery-card.status-pending:before{background:#f59e0be6}.deliveries-page .delivery-card.status-on_route:before{background:#3b82f6e6}.deliveries-page .delivery-card.status-completed:before{background:#22c55ee6}.deliveries-page .delivery-card.clickable:hover{border-color:#f973167a;box-shadow:0 8px 20px #02061714}.deliveries-page .delivery-card.clickable:active{transform:translateY(1px)}.deliveries-page .delivery-card.selected{border-color:#f9731699;box-shadow:0 0 0 2px #f9731633}.deliveries-page .delivery-card-title{font-size:.9rem;line-height:1.25}.deliveries-page .delivery-card-top .panel-badge{font-size:.68rem;padding:4px 8px}.deliveries-page .delivery-card-meta{gap:7px}.deliveries-page .delivery-card-meta-item{padding:4px 8px;border-radius:999px;border:1px solid var(--line);background:var(--surface-soft);font-size:.74rem}.deliveries-page .delivery-card-note,.deliveries-page .delivery-completion-note{font-size:.76rem;border-radius:10px;line-height:1.42}.deliveries-page .delivery-flow-row{gap:6px}.deliveries-page .delivery-flow-stage,.deliveries-page .delivery-flow-sale{font-size:.7rem}.deliveries-page .delivery-card-footer{padding-top:8px;gap:8px;flex-direction:column;align-items:stretch}.deliveries-page .delivery-card-hint{font-size:.72rem}.deliveries-page .delivery-card-actions{width:100%;display:flex;gap:7px}.deliveries-page .deliveries-card-button{min-height:34px;padding:0 11px;border-radius:10px;font-size:.72rem;flex:1}.deliveries-page .deliveries-card-button-large{min-height:44px;font-size:.84rem;letter-spacing:.01em}.deliveries-page .delivery-awaiting-pdv{width:100%;justify-content:center;min-height:40px;font-size:.76rem}.deliveries-page .deliveries-load-more{margin-top:2px}@media(max-width:767px){.deliveries-page .delivery-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.deliveries-page .delivery-card{padding:8px;gap:6px;border-radius:12px}.deliveries-page .delivery-card-title{font-size:.74rem;font-weight:700}.deliveries-page .delivery-card-meta{gap:4px;flex-wrap:wrap}.deliveries-page .delivery-card-meta-item{font-size:.6rem;padding:2px 6px}.deliveries-page .delivery-card-meta-item svg{width:10px;height:10px}.deliveries-page .delivery-card-note{font-size:.65rem;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.deliveries-page .delivery-card-hint{font-size:.6rem;opacity:.8}.deliveries-page .delivery-card-actions{gap:4px}.deliveries-page .deliveries-card-button{min-height:28px;font-size:.62rem;padding:0 4px}}@media(min-width:768px){.deliveries-page .deliveries-layout{gap:16px}.deliveries-page .deliveries-today-panel,.deliveries-page .deliveries-history-panel{border-radius:24px}.deliveries-page .deliveries-status-tabs{flex-wrap:wrap}.deliveries-page .deliveries-courier-active-list{grid-template-columns:repeat(2,minmax(0,1fr))}.deliveries-page .deliveries-calendar-columns{display:grid;grid-auto-flow:initial;grid-template-columns:minmax(0,1fr);overflow:visible}.deliveries-page .delivery-card{padding:14px 16px}.deliveries-page .delivery-card-title{font-size:.93rem}.deliveries-page .delivery-card-footer{flex-direction:row;align-items:center}.deliveries-page .delivery-card-actions{width:auto;flex-shrink:0}.deliveries-page .deliveries-card-button{flex:0 0 auto}.deliveries-page .deliveries-card-button-large{min-width:140px}.deliveries-page .delivery-awaiting-pdv{width:auto;min-width:220px}.deliveries-page .deliveries-load-more{width:auto;min-width:160px}}.sales-page .sales-history-panel{border-radius:22px}.sales-page .sales-toolbar{margin-bottom:12px}.sales-page .sales-toolbar .mobile-surface-search{margin-bottom:0}.sales-page .sales-sort-wrap{position:relative}.sales-page .sales-sort-button{border-radius:11px}.sales-page .sales-sort-menu{width:min(220px,78vw);padding:8px}.sales-page .se-history-toolbar{align-items:center}.sales-page .se-history-toolbar .mobile-surface-search{margin-bottom:0;flex:1;min-width:0}.sales-page .se-history-toolbar .sales-sort-wrap{flex-shrink:0;display:flex;align-items:center}.inventory-shopping-pdf-btn{font-size:.8rem;font-weight:700;padding:8px 14px;min-height:36px;border-radius:10px}.sales-page .sales-table-wrap{border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 10px 24px #0206170f}.sales-page .sales-table{min-width:820px}.sales-page .sales-table th,.sales-page .sales-table td{vertical-align:middle}.sales-page .sales-table th{background:var(--surface-soft);font-size:.82rem;letter-spacing:.03em;text-transform:uppercase}.sales-page .sales-table .table-sort-button{font-size:inherit;font-weight:700}.sales-page .sales-table-row td{transition:background .15s ease}.sales-page .sales-table-row:hover td{background:var(--surface-soft)}.sales-page .sales-open-button{min-height:34px;border-radius:10px;padding:7px 12px;font-size:.76rem;font-weight:700}.sales-page .sales-status-stack{gap:5px}.sales-page .sales-mobile-list{margin-top:8px}.sales-page .sales-mobile-card{border-radius:16px;border:1px solid var(--line);background:linear-gradient(150deg,var(--panel) 0%,var(--surface-soft) 100%);box-shadow:0 8px 20px #02061714}.sales-page .sales-mobile-card-trigger{gap:10px;padding:14px;background:linear-gradient(160deg,var(--surface-soft) 0%,transparent 100%)}.sales-page .sales-mobile-card-trigger:hover{background:linear-gradient(160deg,var(--surface-soft-strong) 0%,transparent 100%)}.sales-page .sales-mobile-statuses{display:grid;gap:4px;justify-items:end;flex-shrink:0}.sales-page .sales-mobile-statuses .panel-badge{font-size:.6rem;padding:4px 8px}.sales-page .sales-mobile-info-grid{gap:8px}.sales-page .sales-mobile-info-grid .product-mobile-info-box{background:var(--surface-soft)}.sales-page .sales-mobile-info-grid .product-mobile-info-value{font-size:.92rem}.sales-page .sales-load-more{margin-top:8px}@media(min-width:900px){.sales-page .sales-history-panel{border-radius:24px}.sales-page .sales-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.sales-page .sales-load-more{width:auto;min-width:170px}}.ext-stock-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;margin-top:8px}.ext-stock-empty-list-msg{margin:8px 0 0;padding:14px 16px;border:1px dashed var(--line);border-radius:14px;background:var(--surface-soft);text-align:center}.ext-stock-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;background:var(--panel);overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease}.ext-stock-card:hover{border-color:#f9731661;box-shadow:0 6px 24px #02061717}.ext-stock-card--selected{border-color:var(--primary);box-shadow:0 0 0 2px #f9731633}.ext-stock-card--inactive{opacity:.7}.ext-stock-card-header{display:flex;align-items:center;gap:12px;padding:16px;text-align:left;background:transparent;border:0;cursor:pointer;width:100%;border-bottom:1px solid var(--line);transition:background .14s ease}.ext-stock-card-header:hover{background:var(--surface-soft)}.ext-stock-card-avatar{width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,var(--primary) 0%,#f59e0b 100%);color:#fff;font-size:.82rem;font-weight:800;letter-spacing:.04em;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ext-stock-card-title{display:grid;gap:1px;flex:1;min-width:0}.ext-stock-card-title strong{font-size:.95rem;line-height:1.2;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ext-stock-card-desc{font-size:.76rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ext-stock-card-badges{display:flex;gap:5px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}.ext-stock-card-metrics{display:flex;align-items:center;gap:0;padding:10px 16px;border-bottom:1px solid var(--line);background:var(--surface-soft)}.ext-stock-metric{display:flex;flex-direction:column;align-items:center;flex:1;gap:1px}.ext-stock-metric-val{font-size:1.4rem;font-weight:700;line-height:1;color:var(--text)}.ext-stock-metric-label{font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.ext-stock-metric-divider{width:1px;height:32px;background:var(--line);flex-shrink:0}.ext-stock-open-details{display:block;width:100%;padding:8px 16px;border:0;border-bottom:1px solid var(--line);background:var(--surface-soft-strong);color:var(--primary);font-size:.8rem;font-weight:600;cursor:pointer;font-family:inherit;text-align:center}.ext-stock-open-details:hover{background:var(--surface-soft)}.ext-stock-card-items{padding:10px 16px;display:grid;gap:6px;flex:1}.ext-stock-item-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.ext-stock-item-name{font-size:.82rem;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.ext-stock-item-qty{font-size:.75rem;font-weight:600;padding:2px 8px;border-radius:999px;flex-shrink:0}.ext-stock-item-qty--ok{background:#15803d1f;color:#15803d}.ext-stock-item-qty--zero{background:#e11d481a;color:#be123c}.ext-stock-see-more{font-size:.74rem;color:var(--primary);border:0;background:transparent;cursor:pointer;text-align:left;padding:2px 0;text-decoration:underline;text-decoration-style:dashed}.external-stock-details-modal{padding:22px 24px}.external-stock-details-modal .external-stock-details-tabs{margin:0 0 12px;padding:0 2px}.external-stock-details-modal .modal-standard-section{padding:16px 18px}.external-stock-details-modal .external-stock-movements-scroll{padding:6px 6px 4px 2px}.external-stock-details-imeis-section{max-height:min(60vh,420px);overflow:auto;padding:6px 10px 16px}.external-stock-imeis-by-product{display:grid;gap:14px;padding:4px 8px 0}.external-stock-imei-product-block{padding:12px 0 14px;border-bottom:1px solid var(--line)}.external-stock-imei-product-block:last-child{border-bottom:none;padding-bottom:0}.external-stock-imei-product-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.external-stock-imei-product-head strong{font-size:.88rem}.external-stock-imei-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}@media(max-width:420px){.external-stock-imei-list{grid-template-columns:1fr}}.external-stock-imei-row{display:flex;flex-direction:column;align-items:stretch;gap:4px;font-size:.82rem;min-width:0}.external-stock-imei-code{display:block;width:100%;box-sizing:border-box;font-family:ui-monospace,monospace;font-size:.8rem;background:var(--panel);padding:6px 8px;border-radius:6px;border:1px solid var(--line);overflow-wrap:anywhere}.external-stock-imei-sub{color:var(--muted);font-size:.74rem}.external-stock-imei-lote-note{margin:0}.ext-stock-empty-msg{font-size:.8rem;color:var(--muted);padding:10px 16px;text-align:center;font-style:italic;flex:1}.ext-stock-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid var(--line);background:var(--surface-soft);flex-wrap:wrap}.ext-stock-pdv-toggle{display:flex;align-items:center;gap:5px;font-size:.76rem;font-weight:600;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:5px 10px;background:transparent;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}.ext-stock-pdv-toggle:hover:not(:disabled){background:var(--primary-soft);border-color:var(--primary);color:var(--primary-strong)}.ext-stock-pdv-toggle:disabled{opacity:.5;cursor:not-allowed}.ext-icon{width:13px;height:13px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}.ext-stock-action-buttons{display:flex;align-items:center;gap:6px}.ext-stock-action-btn{display:flex;align-items:center;gap:4px;min-height:32px;padding:0 10px;border-radius:10px;font-size:.76rem;font-weight:600;border:1px solid transparent;cursor:pointer;transition:background .14s ease,border-color .14s ease,opacity .14s ease}.ext-stock-action-btn:disabled{opacity:.4;cursor:not-allowed}.ext-stock-action-btn--consign{background:var(--primary);color:#fff;border-color:var(--primary)}.ext-stock-action-btn--consign:hover:not(:disabled){background:var(--primary-strong);border-color:var(--primary-strong)}.ext-stock-action-btn--return{background:transparent;color:var(--text);border-color:var(--line)}.ext-stock-action-btn--return:hover:not(:disabled){background:var(--surface-soft-strong);border-color:#0f172a47}.ext-stock-action-btn--delete{background:transparent;color:var(--danger);border-color:transparent;padding:0 6px;min-height:32px;width:32px;justify-content:center}.ext-stock-action-btn--delete:hover:not(:disabled){background:#e11d481a;border-color:#e11d4840}:root[data-theme=dark] .ext-stock-item-qty--ok{background:#22c55e24;color:#86efac}:root[data-theme=dark] .ext-stock-item-qty--zero{background:#f43f5e24;color:#fecdd3}@media(max-width:599px){.ext-stock-grid{grid-template-columns:1fr;gap:12px}.ext-stock-card-footer{flex-direction:column;align-items:stretch}.ext-stock-pdv-toggle{justify-content:center}.ext-stock-action-buttons{justify-content:stretch}.ext-stock-action-btn--consign,.ext-stock-action-btn--return{flex:1;justify-content:center}}.ext-imei-selection-box{margin-top:.5rem;border:1px solid var(--border-color);border-radius:var(--radius-md);padding:1rem;background:var(--bg-card);max-height:240px;overflow-y:auto;display:flex;flex-direction:column;gap:.5rem}.ext-imei-list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.75rem}.ext-imei-item-label{display:flex;align-items:center;gap:.75rem;padding:.6rem .8rem;border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-hover);cursor:pointer;transition:all .2s ease-in-out;font-size:.9rem;font-weight:500}.ext-imei-item-label:hover{background:var(--border-color);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.ext-imei-item-label:active{transform:translateY(0)}.ext-imei-item-label input[type=checkbox]{width:1.1rem;height:1.1rem;cursor:pointer;accent-color:var(--primary-color)}.ext-imei-item-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-mono);color:var(--text-primary)}.inventory-balance-row-v2{display:flex;justify-content:space-between;align-items:flex-start;padding:1.25rem;border-bottom:1px solid var(--border-color);background:var(--bg-card);gap:1rem}.inventory-item-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.25rem}.toggle-units-btn{background:var(--bg-hover);border:1px solid var(--border-color);padding:.2rem .5rem;border-radius:var(--radius-sm);font-size:.75rem;color:var(--text-secondary);cursor:pointer;transition:all .2s}.toggle-units-btn:hover{background:var(--border-color);color:var(--text-primary)}.item-units-chip-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem;background:var(--bg-hover);padding:.75rem;border-radius:var(--radius-md);border:1px dashed var(--border-color)}.unit-imei-chip{background:var(--primary-color);color:#fff;padding:.2rem .6rem;border-radius:100px;font-size:.75rem;font-family:var(--font-mono);box-shadow:var(--shadow-sm)}.ext-imei-badge-grid{display:flex;flex-wrap:wrap;gap:.6rem}.ext-imei-badge{display:inline-flex;align-items:center;justify-content:center;padding:.4rem .8rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:100px;font-size:.85rem;font-family:var(--font-mono);color:var(--text-secondary);cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);-webkit-user-select:none;user-select:none;text-align:center}.ext-imei-badge:hover{border-color:var(--primary-color);background:var(--bg-hover);transform:translateY(-1px)}.ext-imei-badge.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color);font-weight:600;box-shadow:var(--shadow-sm)}.ext-imei-badge{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.ext-imei-badge:hover{background:#fecaca;border-color:#ef4444}.ext-imei-badge.active{background:#dcfce7;color:#15803d;border-color:#bbf7d0;font-weight:700}.ext-imei-badge.active:hover{background:#bbf7d0;border-color:#22c55e}.ext-imei-badge.active{font-weight:400!important}.sales-report-page{max-width:960px;margin:0 auto;padding-bottom:32px;min-width:0;width:100%;box-sizing:border-box}.sales-report-tabs{display:flex;gap:4px;border-bottom:2px solid var(--line);padding-bottom:0;margin-bottom:32px}.sales-report-tab{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border:none;background:none;color:var(--muted);font-size:.83rem;font-weight:600;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;border-radius:8px 8px 0 0;transition:color .14s,border-color .14s,background .14s}.sales-report-tab.active{color:var(--primary);border-bottom-color:var(--primary)}.sales-report-tab:hover:not(.active){color:var(--text);background:var(--surface-soft)}.sales-report-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:4px 0}.sales-report-page .sales-report-result .data-table.sales-report-data-table{min-width:0;width:100%;table-layout:fixed}.sales-report-page .sales-report-result .data-table.sales-report-data-table th,.sales-report-page .sales-report-result .data-table.sales-report-data-table td{overflow-wrap:anywhere;word-break:normal}.sales-report-page .sales-report-result .data-table.sales-report-data-table td:last-child,.sales-report-page .sales-report-result .data-table.sales-report-data-table th:last-child{text-align:right;width:36%}.sales-report-page .sales-report-result .data-table.sales-report-data-table--3col td:nth-child(2),.sales-report-page .sales-report-result .data-table.sales-report-data-table--3col th:nth-child(2){text-align:center;width:4.25rem}.sales-report-page .sales-report-result .data-table.sales-report-data-table--3col td:last-child,.sales-report-page .sales-report-result .data-table.sales-report-data-table--3col th:last-child{width:34%}.sales-report-page .sales-report-result{min-width:0}.sales-report-page .data-table-wrap{-webkit-overflow-scrolling:touch}.sales-report-period-line{margin:0 0 12px;font-size:.9rem;font-weight:600;color:var(--text);overflow-wrap:anywhere;line-height:1.35}.sales-report-presets{display:flex;flex-wrap:nowrap;gap:8px;margin-bottom:12px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.sales-report-presets::-webkit-scrollbar{display:none}.sales-report-preset-btn{flex:0 0 auto;padding:8px 14px;border-radius:999px;font-size:.8rem;font-weight:600;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);cursor:pointer;white-space:nowrap;transition:background .14s,border-color .14s,color .14s}.sales-report-preset-btn:hover{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.sales-report-filter-grid .sales-report-filter-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;grid-column:1 / -1}.sales-report-apply-btn{padding:6px 14px!important;font-size:.82rem!important;font-weight:600;min-height:34px;width:auto}.sales-report-summary-strip{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-size:.86rem;color:var(--muted)}@media(min-width:720px){.sales-report-presets{flex-wrap:wrap;overflow:visible}}@media(max-width:520px){.sales-report-page .panel{padding:16px}.sales-report-page .panel-header{margin-bottom:12px}.sales-report-page .sales-report-filter-actions{flex-direction:column;align-items:stretch}.sales-report-page .sales-report-filter-actions .sales-report-apply-btn{width:auto;align-self:flex-start;min-height:36px}.sales-report-page .sales-report-result .data-table.sales-report-data-table th,.sales-report-page .sales-report-result .data-table.sales-report-data-table td{padding:9px 8px;font-size:.86rem}.sales-report-summary-strip{flex-direction:column;gap:6px}}.stock-entry-page.dashboard-home{gap:12px;padding-top:4px;padding-bottom:max(28px,env(safe-area-inset-bottom,0px));min-width:0;max-width:720px;margin:0 auto}.dashboard-home-header{padding:0 2px}.dashboard-home-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dashboard-home-privacy-btn{flex-shrink:0;display:inline-grid;place-items:center;width:40px;height:40px;margin:-4px -6px 0 0;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--muted);cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}.dashboard-home-privacy-btn:hover,.dashboard-home-privacy-btn:focus-visible{color:var(--text);border-color:#f9731659;background:var(--panel);outline:none}.dashboard-home-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}@media(min-width:480px){.dashboard-home-quick{grid-template-columns:repeat(5,minmax(0,1fr))}}.dashboard-home-quick-btn{display:flex;align-items:center;justify-content:flex-start;gap:10px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--panel);color:var(--text);font-size:.78rem;font-weight:700;text-align:left;cursor:pointer;transition:border-color .14s ease,background .14s ease}.dashboard-home-quick-btn-icon{flex-shrink:0;width:20px;height:20px;color:var(--primary-strong)}.dashboard-home-quick-btn:hover,.dashboard-home-quick-btn:focus-visible{border-color:#f9731666;background:var(--surface-soft);outline:none}.dashboard-home-heading{margin:0 0 4px;font-size:1.28rem;font-weight:800;letter-spacing:-.02em;color:var(--text)}.dashboard-home-date{margin:0;font-size:.88rem;color:var(--muted);text-transform:capitalize;line-height:1.35}.dashboard-home-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media(min-width:640px){.dashboard-home-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}}.dashboard-home-kpi{border:1px solid var(--line);border-radius:16px;padding:14px 14px 12px;background:var(--panel);min-width:0;display:flex;flex-direction:column;gap:4px}.dashboard-home-kpi-label{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.dashboard-home-kpi-value{font-size:1.35rem;font-weight:800;letter-spacing:-.02em;line-height:1.15;overflow-wrap:anywhere}.dashboard-home-kpi--loading{justify-content:flex-start}.dashboard-home-kpi-loading{display:flex;flex-direction:column;gap:8px}.dashboard-home-kpi-loading-bar{display:block;width:min(132px,70%);height:20px;border-radius:999px;background:linear-gradient(90deg,var(--surface-soft) 0%,var(--surface-soft-strong) 50%,var(--surface-soft) 100%);background-size:200% 100%;animation:dashboard-kpi-loading 1.2s ease-in-out infinite}.dashboard-home-kpi-hint{font-size:.72rem;color:var(--muted);margin-top:2px}.dashboard-home-kpi--profit .dashboard-home-kpi-value{color:#15803d}.dashboard-home-panel{margin:0}.panel.dashboard-home-panel--pendencias{padding:14px 16px}.panel.dashboard-home-panel--pendencias .panel-header{margin-bottom:8px}.dashboard-home-fiado-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.dashboard-home-fiado-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);font-size:.88rem}.dashboard-home-fiado-main{display:flex;flex-direction:column;gap:1px;min-width:0}.dashboard-home-fiado-date{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.dashboard-home-fiado-name{font-weight:700;color:var(--text);overflow-wrap:anywhere}.dashboard-home-fiado-badge{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;font-size:.62rem;font-weight:800;background:#e11d481f;color:#be123c}.dashboard-home-fiado-val{font-weight:800;flex-shrink:0;font-variant-numeric:tabular-nums}.dashboard-home-progress-track{height:8px;border-radius:999px;background:var(--surface-soft);overflow:hidden}.dashboard-home-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--primary-soft),var(--primary));transition:width .3s ease}.dashboard-home-progress-label{margin:8px 0 0;font-size:.82rem;color:var(--muted)}.dashboard-home-pay-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}.dashboard-home-pay-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--line);font-size:.9rem}.dashboard-home-pay-row--cash-street{grid-template-columns:minmax(0,1fr);align-items:start;gap:10px}.dashboard-home-pay-stack{display:flex;flex-direction:column;gap:4px;min-width:0}.dashboard-home-pay-amt--block{display:block;text-align:left;white-space:nowrap;line-height:1.1}.dashboard-home-pay-action{align-self:start}.dashboard-home-pay-row--cash-street .dashboard-home-pay-name{white-space:nowrap}.dashboard-home-pay-row--cash-street .dashboard-home-pay-stack{gap:1px}.dashboard-home-pay-row:last-child{border-bottom:0}.dashboard-home-pay-name{font-weight:600;min-width:0;overflow-wrap:anywhere}.dashboard-home-pay-amt{font-weight:700;text-align:right;white-space:nowrap}.dashboard-home-pay-pct{font-size:.82rem;font-weight:700;color:var(--muted);min-width:3.2rem;text-align:right}.dashboard-home-queue{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.dashboard-home-queue-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.dashboard-home-queue-main{min-width:0;flex:1}.dashboard-home-queue-title{display:block;font-size:.9rem;line-height:1.3;overflow-wrap:anywhere}.dashboard-home-queue-sub{display:block;font-size:.76rem;color:var(--muted);margin-top:4px;line-height:1.35}.dashboard-home-queue-val{font-weight:800;font-size:.95rem;flex-shrink:0}.dashboard-home-chart{display:flex;align-items:flex-end;justify-content:space-between;gap:6px;min-height:152px;padding:4px 0 0}.dashboard-home-chart-col{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;gap:6px}.dashboard-home-chart-val{font-size:.62rem;color:var(--muted);text-align:center;line-height:1.2;max-width:100%;word-break:break-word;overflow-wrap:break-word;white-space:normal}.dashboard-home-chart-bar-wrap{flex:1;width:100%;min-height:80px;display:flex;align-items:flex-end;justify-content:center}.dashboard-home-chart-bar{width:min(100%,36px);flex-shrink:0;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,var(--primary-soft),var(--primary));min-height:4px}.dashboard-home-chart-day{font-size:.68rem;font-weight:700;color:var(--muted)}.dashboard-home-alert-list{margin:0;padding:0 0 0 1.1rem;font-size:.88rem;color:var(--text);line-height:1.5}.dashboard-home-panel--alerts{border-color:#f59e0b47}@media(max-width:400px){.dashboard-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.report-payment-composition{min-width:0}.report-rankings-grid{display:grid;gap:14px;margin-top:8px;min-width:0}@media(min-width:900px){.report-rankings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.report-rankings-grid .panel{margin:0;min-width:0}.report-page .data-table.report-rank-table{min-width:0;width:100%;table-layout:fixed}.report-page .report-rank-table .report-rank-pos{width:2rem;max-width:2.25rem;padding-right:6px}.report-page .report-rank-table td:nth-child(2),.report-page .report-rank-table th:nth-child(2){overflow-wrap:anywhere;word-break:normal;-webkit-hyphens:auto;hyphens:auto}.report-page .report-rank-table td:last-child,.report-page .report-rank-table th:last-child{text-align:right;white-space:normal;overflow-wrap:anywhere}.report-rank-table{width:100%;font-size:.86rem}.report-rank-table th,.report-rank-table td{padding:8px 10px;text-align:left;border-bottom:1px solid var(--line)}.report-rank-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.report-rank-table td:last-child,.report-rank-table th:last-child{text-align:right}.report-rank-pos{font-weight:700;color:var(--muted);width:2rem}.report-page .data-table-wrap{-webkit-overflow-scrolling:touch}@media(max-width:520px){.report-month-nav-panel{padding:12px}.report-month-nav{gap:10px}.report-month-display{min-width:0;flex:1;max-width:100%}.report-month-label{font-size:1rem;text-align:center;overflow-wrap:anywhere}.report-kpi-grid{gap:10px}.report-kpi-card{padding:12px}.report-kpi-value{font-size:1.05rem}.report-kpi-value--count{font-size:1.5rem}.report-rank-table{font-size:.8rem}.report-rank-table th,.report-rank-table td{padding:7px 6px}.report-page .panel{padding:16px}.report-page .panel-header{margin-bottom:12px}}@media(max-width:360px){.report-kpi-grid{grid-template-columns:1fr}}.settings-page.stock-entry-page{padding-bottom:max(32px,env(safe-area-inset-bottom,0px) + 16px)}.settings-section{display:grid;gap:14px}.settings-goal-card{display:grid;gap:12px;border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--panel);box-shadow:var(--shadow)}.settings-goal-card>div>h4{font-size:.95rem;margin:4px 0 2px}.settings-goal-card>div>.loading-note{font-size:.78rem;margin:0}.settings-card-header{display:flex;flex-direction:column;gap:2px}.settings-card-header .eyebrow{font-size:.72rem}.settings-card-header h4{font-size:.95rem;font-weight:600;margin:4px 0 2px}.settings-card-header .loading-note{font-size:.78rem;color:var(--muted);margin:0}.goal-input-row{display:grid;gap:10px;align-items:flex-start}.goal-input-label{font-weight:600;color:var(--muted);font-size:.82rem}.goal-input-control{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--input-border);border-radius:10px;background:var(--input-bg);max-width:100%}.goal-input-control input.form-input{border:none;background:transparent;width:100%;min-width:0;outline:none;padding:0;font-size:inherit}.goal-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.goal-hint{color:var(--muted);font-size:.78rem}.goal-hint.subtle{opacity:.9}.settings-conference-test-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}.role-card-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.role-card{border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--panel);box-shadow:var(--shadow)}.role-desc{color:var(--muted);margin:4px 0 0}.role-perms{margin:10px 0 0;padding-left:18px;color:var(--text);line-height:1.4}.role-perms li{margin-bottom:4px}.role-select-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.settings-user-controls select{min-width:160px;padding:10px 12px;border-radius:10px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text)}.settings-form-grid{display:grid;gap:10px;grid-template-columns:1fr;align-items:flex-end}.settings-form-actions{grid-column:1 / -1}.form-field{display:flex;flex-direction:column;gap:4px}.form-label{font-size:.78rem;font-weight:600;color:var(--muted)}.form-input{padding:10px 12px;border:1px solid var(--input-border);border-radius:10px;background:var(--input-bg);color:var(--text);font-size:.9rem;transition:border-color .15s ease,box-shadow .15s ease}.form-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--input-focus)}.settings-alert-email-blocks{display:flex;flex-direction:column;gap:10px;margin-top:10px}.settings-alert-email-block{min-width:0;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--surface-soft);box-shadow:inset 0 1px #ffffff0a}.settings-alert-email-block .form-input{width:100%;box-sizing:border-box}.settings-alert-email-block h4{margin:0 0 8px;font-size:.9rem;font-weight:600;color:var(--text)}.settings-alert-email-actions{margin-top:8px}.settings-alert-email-hint{margin:0 0 8px;font-size:.78rem;line-height:1.4;color:var(--muted)}.settings-alert-email-save{margin-top:12px}.settings-email-preview-overlay{z-index:1250}.settings-email-preview-dialog.global-modal{width:min(92vw,720px);max-width:calc(100vw - 32px);max-height:min(90vh,900px);display:flex;flex-direction:column;min-height:0;overflow:hidden}.settings-email-preview-body{display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:0;overflow:auto;padding-right:2px}.settings-email-preview-sub.loading-note,.settings-email-preview-dialog .settings-email-preview-sub{white-space:normal}.settings-email-preview-frame{display:block;width:100%;min-width:0;height:min(480px,52vh);min-height:280px;border:1px solid var(--line);border-radius:12px;background:#fff}.settings-email-preview-frame--tall{height:min(580px,60vh);min-height:360px}.settings-email-preview-tabs.se-tabs{flex-wrap:wrap;gap:6px 8px;align-items:flex-end}.settings-email-preview-tabs .se-tab{margin-bottom:0}.settings-create-user-card .form-input,.settings-edit-user-card .form-input{width:100%;box-sizing:border-box}.settings-permissions-panel{gap:22px}.settings-permissions-hint{margin:0;font-size:.88rem;color:var(--muted);line-height:1.45}.permission-role-hero-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.permission-role-tile{border-radius:16px;padding:18px;border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px;min-height:100%}.permission-role-tile--admin{border-color:#f9731659;background:linear-gradient(165deg,rgba(249,115,22,.08) 0%,var(--panel) 42%)}.permission-role-tile--courier{border-color:#3b82f647;background:linear-gradient(165deg,rgba(59,130,246,.07) 0%,var(--panel) 42%)}.permission-role-tile-head h4{margin:6px 0 0;font-size:1.15rem}.permission-role-badge{display:inline-block;font-size:.65rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:4px 10px;border-radius:999px;background:var(--surface-soft);border:1px solid var(--line)}.permission-role-desc{margin:8px 0 0;font-size:.88rem;color:var(--muted);line-height:1.4}.permission-role-list{margin:0;padding-left:18px;line-height:1.45;font-size:.9rem}.permission-role-list li{margin-bottom:6px}.settings-perm-user-grid{display:grid;gap:12px}.settings-perm-user-card{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--surface-soft);display:flex;flex-direction:column;gap:12px}.settings-perm-user-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.settings-perm-user-name{font-size:1rem}.settings-perm-user-email{margin:2px 0 0;font-size:.82rem;color:var(--muted)}.settings-perm-legacy-badge{display:inline-block;margin-top:8px;font-size:.72rem;font-weight:600;color:var(--warning);background:#b453091f;padding:4px 8px;border-radius:8px}.settings-perm-active-check{flex-shrink:0;font-size:.82rem}.settings-perm-user-bottom{display:grid;gap:8px;padding-top:4px;border-top:1px solid var(--line)}.settings-perm-user-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.settings-perm-select{flex:1;min-width:180px;padding:10px 12px;border-radius:10px;border:1px solid var(--input-border);background:var(--input-bg);color:var(--text);font-weight:600}@media(max-width:520px){.settings-perm-user-actions{flex-direction:column;align-items:stretch}.settings-perm-user-actions .primary-button{width:100%}.settings-section{gap:12px}.settings-goal-card{padding:12px;border-radius:10px}.settings-goal-card>div>h4{font-size:.9rem}.goal-actions{flex-direction:column;align-items:stretch}.goal-actions .primary-button{width:100%;padding:10px 14px;font-size:.88rem}.settings-form-grid{grid-template-columns:1fr}.settings-alert-email-block{padding:10px}.settings-alert-email-block h4{font-size:.85rem}.settings-create-user-card .eyebrow,.settings-edit-user-card .eyebrow{font-size:.72rem}.permission-role-hero-grid{grid-template-columns:1fr}.settings-perm-user-card{padding:12px}.settings-perm-select{min-width:100%}.settings-page .ghost-button,.settings-page .primary-button{padding:10px 14px;font-size:.88rem;border-radius:10px}.settings-page .form-input{padding:10px 12px;font-size:.9rem}.settings-create-user-card .settings-form-actions .primary-button,.settings-edit-user-card .settings-form-actions .primary-button{width:100%;margin-top:4px}.settings-goal-card .eyebrow{font-size:.72rem}.settings-alert-email-actions .ghost-button{padding:8px 12px;font-size:.82rem}.settings-alert-email-save .primary-button{width:100%;margin-top:8px}.settings-perm-user-actions .primary-button{padding:10px 14px;font-size:.88rem}.permission-role-tile{padding:14px}.permission-role-tile-head h4{font-size:1rem}.permission-role-badge{font-size:.6rem;padding:3px 8px}.settings-card-header h4{font-size:.9rem}.settings-card-header .loading-note{font-size:.75rem}}@media(max-width:380px){.settings-goal-card{padding:10px}.goal-input-control{padding:6px 8px}}@keyframes dashboard-kpi-loading{0%{background-position:200% 0}to{background-position:-200% 0}}
