:root{--purple:#6d28d9;--purple-2:#7c3aed;--purple-3:#a78bfa;--ink:#111827;--text:#1f2937;--muted:#6b7280;--bg:#f5f7fb;--panel:#fff;--line:#e5e7eb;--green:#15803d;--red:#dc2626;--amber:#d97706;--sidebar:#111827;--sidebar-2:#1f2937;--shadow:0 14px 40px rgba(15,23,42,.08);--shadow-lg:0 30px 90px rgba(15,23,42,.18)}
*{box-sizing:border-box;}html{background:var(--bg);}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);font-size:14px;}a{color:var(--theme-accent-text, var(--purple));text-decoration:none;}button,input,select,textarea{font:inherit;}button{cursor:pointer;}.app-body{min-height:calc(100 * var(--phige-vh, 1vh));}.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:calc(100 * var(--phige-vh, 1vh));}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:linear-gradient(180deg,var(--sidebar) 0%,var(--sidebar-2) 100%);color:var(--theme-on-solid, #fff);padding:22px 15px 16px;display:flex;flex-direction:column;z-index:50;border-right:1px solid rgba(255,255,255,.04);}.sidebar-brand{padding:0 7px 22px;border-bottom:1px solid rgba(255,255,255,.08);}.brand-lockup{display:flex;align-items:center;gap:12px;color:var(--theme-on-solid, #fff);}.brand-logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,var(--theme-accent, #6d28d9),var(--theme-accent, #a855f7));box-shadow:0 10px 30px #7c3aed44;color:var(--theme-on-solid, #fff);font-weight:var(--ui-weight-strong, 900);font-size:19px;}.brand-copy{display:flex;flex-direction:column;line-height:1.15;}.brand-copy strong{font-size:18px;letter-spacing:.05em;}.brand-copy small{margin-top:4px;color:var(--theme-on-inverse-muted, #ad9bb7);font-size:var(--ui-text-caption, 10px);text-transform:uppercase;letter-spacing:.1em;}.sidebar-section-label{font-size:var(--ui-text-caption, 9px);letter-spacing:.16em;color:var(--theme-muted, #786c7f);font-weight:var(--ui-weight-strong, 900);padding:22px 12px 8px;}.sidebar-nav{display:flex;flex-direction:column;gap:4px;}.sidebar-nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;color:var(--theme-on-inverse-muted, #cfc4d4);border-radius:11px;font-weight:650;transition:.16s;}.sidebar-nav a:hover{color:var(--theme-on-solid, #fff);background:rgba(255,255,255,.055);}.sidebar-nav a.active{color:var(--theme-on-solid, #fff);background:linear-gradient(100deg,rgba(124,58,237,.28),rgba(124,58,237,.10));box-shadow:inset 3px 0 #9b6cff;}.nav-icon{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.055);font-size:var(--ui-text-small, 12px);color:var(--theme-accent-text, #d8cbed);}.sidebar-nav a.active .nav-icon{background:var(--theme-accent, #7c3aed);color:var(--theme-on-solid, white);}.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding:15px 4px 0;}.user-profile-card{display:flex;gap:10px;align-items:center;padding:6px;}.avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:var(--theme-surface, #fff);color:var(--theme-accent-text, #5b21b6);font-weight:var(--ui-weight-strong, 900);}.user-profile-copy{display:flex;min-width:0;flex-direction:column;line-height:1.2;}.user-profile-copy b{font-size:var(--ui-text-small, 12px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.user-profile-copy small{margin-top:3px;color:var(--theme-muted, #8f8197);font-size:var(--ui-text-caption, 10px);}.logout-button{margin-top:10px;width:100%;padding:8px;background:transparent;border:1px solid rgba(255,255,255,.1);border-radius:9px;color:var(--theme-muted, #9f92a7);font-size:var(--ui-text-caption, 11px);}.logout-button:hover{color:var(--theme-on-solid, #fff);border-color:var(--theme-border, #6f5f79);}.app-workspace{grid-column:2;min-width:0;}.topbar{height:72px;background:var(--theme-surface, rgba(255,255,255,.88));backdrop-filter:blur(15px);position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;}.topbar-left{display:flex;align-items:center;gap:13px;}.topbar-left>div{display:flex;flex-direction:column;}.topbar-left strong{font-size:15px;}.topbar-kicker{font-size:var(--ui-text-caption, 9px);color:var(--theme-muted, #9b91a0);letter-spacing:.14em;font-weight:var(--ui-weight-strong, 900);margin-bottom:2px;}.menu-toggle{display:none;border:0;background:var(--theme-soft, #f1eef4);border-radius:9px;width:36px;height:36px;}.topbar-right{display:flex;align-items:center;gap:16px;}.system-status{display:flex;gap:7px;align-items:center;color:var(--theme-muted, #6d6572);font-size:var(--ui-text-caption, 11px);font-weight:700;}.system-status span{width:7px;height:7px;border-radius:50%;background:var(--theme-success, #28a66a);box-shadow:0 0 0 4px #28a66a14;}.topbar-date{font-size:var(--ui-text-caption, 11px);color:var(--theme-muted, #8c838f);border-left:1px solid var(--line);padding-left:16px;}.app-main{max-width:1600px;margin:0 auto;padding:28px 30px 42px;}.eyebrow{display:block;font-size:var(--ui-text-caption, 9px);letter-spacing:.15em;font-weight:var(--ui-weight-strong, 900);color:var(--theme-accent-text, #8e66b1);margin-bottom:7px;}.eyebrow.light{color:var(--theme-accent-text, #bda6cb);}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;}.premium-head h1{margin:0;font-size:31px;letter-spacing:-.035em;color:var(--theme-ink, #1f1724);}.premium-head p{margin:7px 0 0;color:var(--muted);font-size:var(--ui-text-body, 13px);}.compact-head{margin-bottom:16px;}.button,button.primary,button.secondary{border:0;border-radius:11px;padding:10px 14px;font-weight:var(--ui-weight-strong, 800);display:inline-flex;align-items:center;justify-content:center;gap:7px;}.primary{background:linear-gradient(135deg,var(--theme-accent, #6d28d9),var(--theme-accent, #7c3aed));color:var(--theme-on-solid, #fff);box-shadow:0 10px 24px rgba(109,40,217,.22);}.primary:hover{filter:brightness(1.04);}.secondary{background:var(--theme-soft, #f3f4f6);color:var(--theme-ink, #374151);}.action-primary{padding:12px 17px;border-radius:12px;}.wide{width:100%;}.big{padding:14px 16px;font-size:14px;}button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;}.alert{padding:12px 15px;border-radius:11px;margin-bottom:16px;border:1px solid;}.alert ul{margin:7px 0 0;}.success{background:var(--theme-soft, #eaf8f0);color:var(--theme-success-text, #156c44);border-color:var(--theme-success-border, #ccebd9);}.warning{background:var(--theme-warning-soft, #fff8e6);color:var(--theme-warning-text, #805500);border-color:var(--theme-warning-border, #f3dfac);}.danger{background:var(--theme-danger-soft, #fff0ee);color:var(--theme-danger-text, #9d251d);border-color:var(--theme-danger-border, #f3d3cf);}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:13px;margin-bottom:18px;}.premium-stats .stat{display:flex;gap:13px;align-items:center;min-height:112px;}.stat{background:var(--theme-surface, #fff);border:1px solid var(--line);border-radius:17px;padding:17px;box-shadow:0 7px 28px rgba(29,17,35,.035);}.stat-accent{border-color:var(--theme-accent-border, #e6d9f3);background:linear-gradient(145deg,var(--theme-surface, #fff),var(--theme-soft, #fbf8ff));}.stat-icon{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:var(--theme-soft, #f3edf9);display:grid;place-items:center;color:var(--theme-accent-text, #6c2cb1);font-weight:var(--ui-weight-strong, 900);}.stat small{display:block;color:var(--theme-muted, #827889);margin-bottom:5px;font-size:var(--ui-text-caption, 10px);font-weight:700;}.stat b{display:block;font-size:22px;letter-spacing:-.02em;color:var(--theme-ink, #241a2b);}.stat span{display:block;color:var(--theme-muted, #aaa1ae);font-size:var(--ui-text-caption, 9px);margin-top:4px;}.two-col{display:grid;grid-template-columns:1.45fr 1fr;gap:15px;}.panel{background:var(--theme-surface, #fff);border:1px solid var(--line);border-radius:17px;padding:18px;margin-bottom:16px;overflow:auto;box-shadow:0 8px 30px rgba(29,17,35,.035);}.premium-panel{padding:20px;}.panel.narrow{max-width:680px;}.panel h2{margin:0;font-size:17px;}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;}.panel-head>div h2{margin:0;}.text-link{font-size:var(--ui-text-caption, 11px);font-weight:var(--ui-weight-strong, 800);}.table-wrap{background:var(--theme-surface, #fff);border:1px solid var(--line);border-radius:14px;overflow:auto;}.flat-table{border:0;border-radius:0;}.flat-table table{border-top:1px solid var(--theme-border, #f0edf2);}table{width:100%;border-collapse:collapse;}th,td{padding:12px 13px;text-align:left;border-bottom:1px solid var(--theme-border, #f1eef3);white-space:nowrap;vertical-align:middle;}th{font-size:var(--ui-text-caption, 9px);text-transform:uppercase;letter-spacing:.08em;color:var(--theme-muted, #8d8391);background:var(--theme-surface, #fbfafc);}td{font-size:var(--ui-text-small, 12px);}td small{display:block;color:var(--muted);margin-top:3px;font-size:var(--ui-text-caption, 10px);}.money-cell{font-weight:var(--ui-weight-strong, 850);color:var(--theme-ink, #2b2031);}.badge{display:inline-block;padding:5px 9px;border-radius:99px;font-size:var(--ui-text-caption, 9px);font-weight:var(--ui-weight-strong, 900);text-transform:uppercase;letter-spacing:.03em;}.badge.completed,.badge.paid{background:var(--theme-success-soft, #e9f8ef);color:var(--theme-success-text, #137348);}.badge.cancelled,.badge.reversed{background:var(--theme-danger-soft, #fdecea);color:var(--theme-danger-text, #a0251d);}.badge.earned{background:var(--theme-accent-soft, #f1eaff);color:var(--theme-accent-text, #5a27a4);}.empty{text-align:center;color:var(--muted);padding:22px;}.list-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--theme-border, #f1eef3);}.list-row small{display:block;color:var(--muted);font-size:var(--ui-text-caption, 10px);margin-top:2px;}.product-alert>div{display:flex;align-items:center;gap:10px;min-width:0;}.mini-product-icon{width:32px;height:32px;border-radius:9px;background:var(--theme-soft, #f5f0f8);color:var(--theme-accent-text, #682da5);display:grid;place-items:center;font-weight:var(--ui-weight-strong, 900);}.product-alert b{display:block;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.stock-low{min-width:31px;text-align:center;background:var(--theme-danger-soft, #fff0ee);color:var(--theme-danger-text, #a0251d);padding:5px 8px;border-radius:99px;font-weight:var(--ui-weight-strong, 900);font-size:var(--ui-text-caption, 10px);}.search,.filters,.inline-form{display:flex;gap:8px;align-items:end;margin-bottom:18px;flex-wrap:wrap;}.premium-search{position:relative;background:var(--theme-surface, #fff);padding:8px;border:1px solid var(--line);border-radius:14px;box-shadow:0 7px 25px rgba(29,17,35,.035);margin-bottom:20px;}.premium-search .search-icon{align-self:center;margin-left:7px;color:var(--theme-muted, #9c90a3);font-size:18px;}.premium-search input{border:0!important;box-shadow:none!important;padding-left:4px!important;}.search input{flex:1;min-width:240px;}.filters label{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:var(--ui-text-caption, 10px);}.search input,.filters input,.filters select,.inline-form input,.inline-form select,.stack-form input,.stack-form select,.stack-form textarea,.cart input,.cart select,.cart textarea,.danger-zone input{padding:10px 11px;border:1px solid var(--theme-border, #ded9e2);border-radius:9px;background:var(--theme-surface, #fff);outline:none;}.search input:focus,.stack-form input:focus,.cart input:focus{border-color:var(--theme-accent-border, #9b6bc2);box-shadow:0 0 0 3px #7c3aed14;}.stack-form{display:flex;flex-direction:column;gap:14px;}.stack-form label,.cart label{font-weight:var(--ui-weight-strong, 750);font-size:var(--ui-text-caption, 11px);display:flex;flex-direction:column;gap:6px;}.check{flex-direction:row!important;align-items:center!important;gap:7px!important;}.check input{width:auto!important;}.form-grid,.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.full{grid-column:1/-1;}.table-wrap+.pagination{margin-top:15px;}.pos-grid{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:18px;align-items:start;}.product-browser{min-width:0;}.section-title-row{display:flex;justify-content:space-between;align-items:end;margin-bottom:11px;}.section-title-row h2{margin:0;font-size:18px;}.result-count{font-size:var(--ui-text-caption, 10px);color:var(--theme-muted, #8f8594);}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(174px,1fr));gap:11px;}.product-card{background:var(--theme-surface, #fff);color:var(--text);border:1px solid var(--line);border-radius:14px;text-align:left;display:flex;flex-direction:column;padding:0;overflow:hidden;transition:.16s;box-shadow:0 4px 18px rgba(29,17,35,.025);}.product-card:hover{border-color:var(--theme-accent-border, #cdb8de);transform:translateY(-2px);box-shadow:0 12px 30px rgba(72,34,93,.09);}.product-image-wrap{height:130px;background:linear-gradient(145deg,var(--theme-soft, #faf9fb),var(--theme-soft, #f3f0f5));padding:9px;display:grid;place-items:center;}.product-card img{width:100%;height:100%;object-fit:contain;}.no-image{color:var(--theme-muted, #c1b7c6);font-size:var(--ui-text-small, 12px);font-weight:var(--ui-weight-strong, 900);letter-spacing:.1em;}.product-card-body{padding:11px;display:flex;flex-direction:column;gap:5px;min-height:112px;}.product-card-body>b{font-size:var(--ui-text-caption, 11px);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}.product-card-body>small{color:var(--theme-muted, #968c9b);font-size:var(--ui-text-caption, 9px);min-height:12px;}.product-card-bottom{margin-top:auto;display:flex;align-items:end;justify-content:space-between;gap:8px;}.product-card-bottom>span{font-size:15px;font-weight:var(--ui-weight-strong, 900);color:var(--theme-accent-text, #54209a);}.stock-pill{font-style:normal;font-size:var(--ui-text-caption, 9px);background:var(--theme-soft, #f1eef3);color:var(--theme-muted, #716775);border-radius:99px;padding:4px 6px;}.cart{background:var(--theme-surface, #fff);border:1px solid var(--line);border-radius:17px;padding:18px;height:fit-content;position:sticky;top:90px;box-shadow:0 14px 45px rgba(29,17,35,.07);}.cart-head{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid var(--theme-border, #f0edf2);padding-bottom:13px;margin-bottom:6px;}.cart-head h2{margin:0;font-size:18px;}.cart-count{background:var(--theme-soft, #f2edf6);color:var(--theme-accent-text, #6a397f);border-radius:99px;padding:5px 8px;font-size:var(--ui-text-caption, 9px);font-weight:var(--ui-weight-strong, 900);}.cart-items{max-height:315px;overflow:auto;}.cart-line{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 0;border-bottom:1px solid var(--theme-border, #f0edf2);}.cart-product{min-width:0;flex:1;}.cart-product b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--ui-text-caption, 10px);}.cart-product small{color:var(--theme-muted, #6b6170);font-size:var(--ui-text-caption, 10px);}.qty{display:flex;align-items:center;gap:7px;}.qty button{width:27px;height:27px;padding:0;border:1px solid var(--theme-border, #e3dde7);background:var(--theme-soft, #faf8fb);color:var(--theme-accent-text, #5b21b6);border-radius:8px;}.qty span{font-weight:var(--ui-weight-strong, 900);font-size:var(--ui-text-caption, 11px);}.empty-cart{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--theme-muted, #9b929f);gap:5px;}.empty-cart-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--theme-soft, #f5f1f8);color:var(--theme-accent-text, #7d54a0);font-size:20px;}.empty-cart b{color:var(--theme-muted, #5e5363);font-size:var(--ui-text-caption, 11px);}.empty-cart span{font-size:var(--ui-text-caption, 9px);}.cart-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px;}.cart-fields details{grid-column:1/-1;border-top:1px solid var(--line);padding-top:10px;}.cart-fields summary{cursor:pointer;font-weight:var(--ui-weight-strong, 850);color:var(--theme-accent-text, #633091);font-size:var(--ui-text-caption, 10px);}.cart-summary{margin:15px 0 12px;border-top:1px solid var(--theme-border, #f0edf2);padding-top:9px;}.cart-summary>div,.totals>div{display:flex;justify-content:space-between;padding:5px 0;color:var(--theme-muted, #756b79);font-size:var(--ui-text-caption, 11px);}.cart-summary b{color:var(--theme-ink, #2f2634);}.cart-summary .grand,.totals .grand{border-top:1px dashed var(--theme-border, #ddd6e2);margin-top:6px;padding-top:11px;font-size:18px;color:var(--theme-ink, #251b2b);}.cart-summary .grand b{color:var(--theme-accent-text, #5b21b6);}.finish-sale{min-height:48px;border-radius:12px;justify-content:space-between;padding-left:17px;padding-right:17px;}.cash-chip{border-radius:99px;padding:7px 11px;font-weight:var(--ui-weight-strong, 850);font-size:var(--ui-text-caption, 9px);display:flex;gap:7px;align-items:center;}.cash-chip span{width:6px;height:6px;border-radius:50%;}.cash-chip.open{background:var(--theme-success-soft, #e9f8ef);color:var(--theme-success-text, #136e45);}.cash-chip.open span{background:var(--theme-success, #1c9b5d);}.cash-chip.closed{background:var(--theme-danger-soft, #fdecea);color:var(--theme-danger-text, #9f2018);}.cash-chip.closed span{background:var(--theme-danger, #c43a2e);}.empty-card{background:var(--theme-surface, #fff);border:1px dashed var(--theme-border, #cfc7d3);border-radius:14px;padding:30px;color:var(--muted);}.actions{display:flex;gap:8px;}.small-button{padding:7px 9px;background:var(--theme-soft, #eee9f2);color:var(--theme-accent-text, var(--purple));border:0;border-radius:8px;}.positive{color:var(--theme-success-text, var(--green));font-weight:var(--ui-weight-strong, 800);}.negative{color:var(--theme-danger-text, var(--red));font-weight:var(--ui-weight-strong, 800);}.info-list{display:grid;grid-template-columns:120px 1fr;gap:10px 12px;}.info-list dt{color:var(--muted);}.info-list dd{margin:0;font-weight:700;}.note{background:var(--theme-soft, #faf8fb);border:1px solid var(--line);border-radius:10px;padding:12px;margin-top:14px;}.danger-zone{margin-top:16px;border-top:1px solid var(--line);padding-top:12px;}.danger-zone summary{color:var(--theme-danger-text, var(--red));font-weight:var(--ui-weight-strong, 800);cursor:pointer;}.danger-zone form{display:flex;gap:8px;margin-top:10px;}.hidden{display:none!important;}.pagination{margin:16px 0;}
/* LOGIN PREMIUM */
.login-body{min-height:calc(100 * var(--phige-vh, 1vh));background:#f2eff4}.login-shell{min-height:calc(100 * var(--phige-vh, 1vh));display:grid;grid-template-columns:minmax(440px,1.08fr) minmax(420px,.92fr)}.login-brand-panel{position:relative;overflow:hidden;background:radial-gradient(circle at 18% 14%,rgba(168,85,247,.38),transparent 30%),radial-gradient(circle at 88% 82%,rgba(91,33,182,.4),transparent 34%),linear-gradient(145deg,#190d21 0%,#2c123a 50%,#160b1c 100%);color:#fff;padding:46px 54px;display:flex;flex-direction:column}.login-brand-panel:before{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.05);border-radius:50%;right:-260px;top:-130px}.login-brand-panel:after{content:"";position:absolute;width:320px;height:320px;border:1px solid rgba(255,255,255,.04);border-radius:50%;left:-170px;bottom:-120px}.login-brand-top{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.brand-logo.premium{width:48px;height:48px;border-radius:15px;}.login-brand-top>div:last-child{display:flex;flex-direction:column}.login-brand-top strong{font-size:20px;letter-spacing:.06em}.login-brand-top small{font-size:9px;color:#a995b4;letter-spacing:.12em;text-transform:uppercase;margin-top:3px}.login-brand-copy{margin:auto 0;max-width:570px;position:relative;z-index:1}.login-brand-copy h1{font-size:46px;line-height:1.06;letter-spacing:-.045em;margin:12px 0 18px;max-width:520px}.login-brand-copy>p{font-size:14px;line-height:1.65;color:#c3b6ca;max-width:510px;margin:0}.login-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:30px;max-width:510px}.login-feature-grid>div{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);border-radius:13px;padding:13px 14px;backdrop-filter:blur(10px)}.login-feature-grid b{display:block;font-size:11px;margin-bottom:4px}.login-feature-grid span{font-size:9px;color:#aa9ab3}.login-brand-foot{position:relative;z-index:1;font-size:9px;color:#75667e;letter-spacing:.12em;text-transform:uppercase}.login-form-panel{display:grid;place-items:center;padding:40px;background:linear-gradient(145deg,#f7f5f8,#ece8ef)}.login-card{width:min(430px,100%);background:#fff;border:1px solid rgba(75,46,90,.07);border-radius:24px;padding:36px;box-shadow:var(--shadow-lg)}.login-card .eyebrow{margin-bottom:9px}.login-card h2{font-size:28px;letter-spacing:-.035em;margin:0 0 7px;color:#201624}.login-subtitle{color:#8a808e;margin:0 0 26px;line-height:1.5}.login-form label>span:first-child{font-size:10px;color:#5c5360}.input-shell{display:flex;align-items:center;border:1px solid var(--theme-border, #ddd7e1);border-radius:11px;background:var(--theme-surface, #fbfafc);transition:.15s;}.input-shell:focus-within{border-color:var(--theme-accent-border, #9462bd);box-shadow:0 0 0 4px #7c3aed10;background:var(--theme-surface, #fff);}.input-shell .input-icon{width:42px;display:grid;place-items:center;color:var(--theme-muted, #9f92a8);font-weight:var(--ui-weight-strong, 800);font-size:var(--ui-text-caption, 10px);}.input-shell input{border:0!important;box-shadow:none!important;background:transparent!important;flex:1;padding-left:0!important;min-height:44px;}.login-options{display:flex;justify-content:space-between;align-items:center}.secure-label{font-size:var(--ui-text-caption, 9px);color:var(--theme-muted, #9b929f);}.login-submit{min-height:48px;border-radius:12px;justify-content:space-between;padding:0 17px}.login-help{text-align:center;color:#aaa1ad;font-size:9px;border-top:1px solid #f0edf2;padding-top:17px;margin-top:22px}.mobile-brand{display:none;align-items:center;gap:10px;margin-bottom:25px;}.mobile-brand strong{font-size:18px;letter-spacing:.05em;}
@media(max-width:1180px){.app-shell{grid-template-columns:220px minmax(0,1fr);}.sidebar{width:220px;}.pos-grid{grid-template-columns:minmax(0,1fr) 360px;}.cards{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));}.login-brand-copy h1{font-size:39px}.login-brand-panel{padding:40px}.two-col{grid-template-columns:1fr;}}
@media(max-width:900px){.app-shell{display:block;}.sidebar{transform:translateX(-102%);transition:.2s;box-shadow:20px 0 50px #0003;}.sidebar-open .sidebar{transform:none;}.app-workspace{grid-column:auto;}.menu-toggle{display:grid;place-items:center;}.topbar{padding:0 16px;}.topbar-right .system-status{display:none;}.app-main{padding:20px 16px 35px;}.pos-grid{grid-template-columns:1fr;}.cart{position:static;}.login-shell{grid-template-columns:1fr}.login-brand-panel{display:none}.login-form-panel{min-height:calc(100 * var(--phige-vh, 1vh))}.mobile-brand{display:flex;}}
@media(max-width:650px){.topbar-date{display:none;}.premium-head{align-items:flex-start;}.premium-head h1{font-size:26px;}.stats-grid{grid-template-columns:1fr 1fr;}.premium-stats .stat{min-height:100px;padding:13px;}.stat-icon{width:34px;height:34px;flex-basis:34px;}.stat b{font-size:18px;}.cards{grid-template-columns:repeat(2,minmax(0,1fr));}.product-image-wrap{height:110px;}.cart-fields,.form-grid,.details-grid{grid-template-columns:1fr;}.full{grid-column:auto;}.login-form-panel{padding:18px}.login-card{padding:28px 22px;border-radius:19px}.login-card h2{font-size:25px}}

/* PHIGE V2.2 — Frente de caixa profissional + estorno + permissões */
.pos-main{max-width:none!important;padding:18px!important;background:var(--theme-soft, #eef1f5);min-height:calc(calc(100 * var(--phige-vh, 1vh)) - 70px);}
.pos-commandbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e4e7ec);border-radius:16px;padding:13px 16px;margin-bottom:12px;box-shadow:0 4px 18px #15101a0b;}
.pos-command-left{display:flex;align-items:center;gap:11px;}.pos-title-icon{width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,var(--theme-accent, #5a2679),var(--theme-accent, #7a3fa0));color:var(--theme-on-solid, #fff);display:grid;place-items:center;font-size:20px;}.pos-command-left h1{font-size:20px;margin:1px 0 0;}.pos-command-center{display:flex;justify-content:center;align-items:center;gap:9px;}.pos-command-actions{display:flex;align-items:center;gap:10px;}.shortcut-hint{font-size:var(--ui-text-caption, 11px);color:var(--theme-muted, #8a8390);white-space:nowrap;}.compact{padding:8px 11px!important;}
.cash-status-pro{display:flex;align-items:center;gap:9px;border-radius:10px;padding:8px 12px;border:1px solid var(--theme-border, #e6e8eb);background:var(--theme-surface, #fafbfc);min-width:145px;}.cash-status-pro .status-dot{width:9px;height:9px;border-radius:50%;}.cash-status-pro.is-open .status-dot{background:var(--theme-success, #1c9b5f);box-shadow:0 0 0 4px #1c9b5f18;}.cash-status-pro.is-closed .status-dot{background:var(--theme-danger, #d14e4e);box-shadow:0 0 0 4px #d14e4e18;}.cash-status-pro small{display:block;color:var(--theme-muted, #8b8590);font-size:var(--ui-text-caption, 9px);text-transform:uppercase;letter-spacing:.06em;}.cash-status-pro b{font-size:var(--ui-text-small, 12px);}
.checkout-form{margin:0;}.checkout-shell{display:grid;grid-template-columns:380px minmax(500px,1fr) 310px;min-height:calc(calc(100 * var(--phige-vh, 1vh)) - 165px);background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dfe3e8);border-radius:16px;overflow:hidden;box-shadow:0 8px 30px #17121c0d;}.checkout-control{border-right:1px solid var(--theme-border, #e2e6eb);background:var(--theme-surface, #fbfcfd);display:flex;flex-direction:column;min-width:0;}.checkout-tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:9px 9px 0;gap:5px;border-bottom:1px solid var(--theme-border, #e2e6eb);background:var(--theme-surface, #fff);}.checkout-tab{padding:10px 5px;border-radius:9px 9px 0 0;background:var(--theme-soft, #f0f2f5);color:var(--theme-muted, #707783);font-size:var(--ui-text-small, 12px);font-weight:var(--ui-weight-strong, 800);border:1px solid transparent;border-bottom:0;}.checkout-tab span{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:var(--theme-soft, #d9dde4);margin-right:4px;font-size:var(--ui-text-caption, 10px);}.checkout-tab.active{background:var(--theme-accent, #5b2678);color:var(--theme-on-solid, #fff);}.checkout-tab.active span{background:#ffffff24;}.checkout-step{display:none;padding:18px;min-height:0;overflow:auto;}.checkout-step.active{display:block;}.step-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;}.step-heading h2{margin:2px 0 0;font-size:19px;}.scanner-chip,.optional-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;background:var(--theme-soft, #e9f7ef);color:var(--theme-success-text, #137b49);font-size:var(--ui-text-caption, 10px);font-weight:var(--ui-weight-strong, 800);}.scanner-chip span{width:6px;height:6px;border-radius:50%;background:var(--theme-success, #1ca25f);}.optional-chip{background:var(--theme-soft, #f2edf6);color:var(--theme-accent-text, #6c467f);}.lookup-shell{position:relative;display:flex;align-items:center;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #cfd5dd);border-radius:11px;height:48px;box-shadow:0 2px 6px #16101c05;}.lookup-shell:focus-within{border-color:var(--theme-accent-border, #7a4595);box-shadow:0 0 0 3px #6e2b8c12;}.lookup-shell input{border:0!important;box-shadow:none!important;outline:0;background:transparent;flex:1;padding:0 8px!important;min-width:0;}.lookup-icon{font-size:21px;color:var(--theme-accent-text, #6d3b83);margin-left:13px;}.lookup-shell kbd{margin-right:9px;background:var(--theme-soft, #f0f2f5);border:1px solid var(--theme-border, #dfe3e7);border-bottom-width:2px;border-radius:5px;font-size:var(--ui-text-caption, 9px);padding:3px 5px;color:var(--theme-muted, #737984);}.lookup-help{font-size:var(--ui-text-caption, 10px);color:var(--theme-muted, #8b8490);margin:6px 2px 12px;}.quick-actions-row{display:flex;gap:7px;margin-bottom:13px;}.mini-action{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dadfe5)!important;color:var(--theme-muted, #5f6772);padding:7px 10px!important;font-size:var(--ui-text-caption, 10px)!important;font-weight:var(--ui-weight-strong, 750)!important;border-radius:8px!important;}.mini-action:hover{border-color:var(--theme-accent-border, #8b5ba1)!important;color:var(--theme-accent-text, #5b2678);}.product-results{display:flex;flex-direction:column;gap:5px;max-height:calc(calc(100 * var(--phige-vh, 1vh)) - 390px);overflow:auto;padding-right:2px;}.product-result-row{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto auto 24px;align-items:center;gap:8px;text-align:left!important;background:var(--theme-surface, #fff)!important;border:1px solid var(--theme-border, #e1e5ea)!important;border-radius:10px!important;padding:7px!important;color:var(--theme-ink, #24212a)!important;min-height:58px;}.product-result-row:hover{border-color:var(--theme-accent-border, #b695c5)!important;background:var(--theme-surface, #fdfbfe)!important;box-shadow:0 3px 12px #5420750b;}.result-image{width:42px;height:42px;border-radius:8px;background:var(--theme-soft, #f5f6f8);overflow:hidden;display:grid;place-items:center;}.result-image img{width:100%;height:100%;object-fit:contain;}.result-no-image,.line-no-image{width:100%;height:100%;display:grid;place-items:center;background:var(--theme-soft, #eee9f1);color:var(--theme-accent-text, #6b3c7f);font-weight:var(--ui-weight-strong, 900);}.result-copy{min-width:0;}.result-copy b{display:block;font-size:var(--ui-text-caption, 11px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.result-copy small{display:block;color:var(--theme-muted, #8d8691);font-size:var(--ui-text-caption, 9px);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.result-stock{font-size:var(--ui-text-caption, 9px);color:var(--theme-muted, #7c838c);background:var(--theme-soft, #f2f4f6);padding:4px 6px;border-radius:999px;}.result-price{font-size:var(--ui-text-caption, 11px);font-weight:var(--ui-weight-strong, 900);color:var(--theme-accent-text, #542075);white-space:nowrap;}.result-add{color:var(--theme-accent-text, #5f2a7a);font-size:18px;}.result-loading,.result-empty{padding:28px 12px;text-align:center;color:var(--theme-muted, #8b8490);font-size:var(--ui-text-caption, 11px);}.result-empty b,.result-empty span{display:block;}.result-empty b{color:var(--theme-ink, #4d4752);margin-bottom:4px;}.customer-empty-card{display:flex;align-items:center;gap:10px;background:var(--theme-soft, #f4f1f6);border:1px solid var(--theme-border, #e5dfea);border-radius:11px;padding:11px;margin-bottom:14px;}.customer-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--theme-surface, #fff);color:var(--theme-accent-text, #5b2678);font-size:18px;}.customer-empty-card b,.customer-empty-card span{display:block;}.customer-empty-card b{font-size:var(--ui-text-small, 12px);}.customer-empty-card span{font-size:var(--ui-text-caption, 9px);color:var(--theme-muted, #817986);margin-top:2px;}.pos-fields label{font-size:var(--ui-text-caption, 11px)!important;}.payment-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}.payment-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:82px;border:1px solid var(--theme-border, #dfe3e8);border-radius:11px;background:var(--theme-surface, #fff);cursor:pointer;gap:5px;}.payment-option input{position:absolute;opacity:0;}.payment-option:has(input:checked){border-color:var(--theme-accent-border, #6e308c);background:var(--theme-soft, #f7f1fa);box-shadow:0 0 0 2px #6e308c12;}.payment-icon{width:31px;height:31px;border-radius:9px;background:var(--theme-soft, #efebf2);color:var(--theme-accent-text, #5c2b73);display:grid;place-items:center;font-size:var(--ui-text-caption, 9px);font-weight:var(--ui-weight-strong, 900);}.payment-option b{font-size:var(--ui-text-caption, 11px);}.pos-installments{display:flex;flex-direction:column;gap:5px;font-size:var(--ui-text-caption, 11px);font-weight:var(--ui-weight-strong, 800);margin-top:12px;}.pos-installments select{padding:10px;border:1px solid var(--theme-border, #d8dde3);border-radius:9px;background:var(--theme-surface, #fff);}.payment-warning{margin-top:12px;background:var(--theme-warning-soft, #fff5dd);border:1px solid var(--theme-warning-border, #f1d793);color:var(--theme-warning-text, #8b650d);padding:9px;border-radius:9px;font-size:var(--ui-text-caption, 10px);}.payment-total-preview{margin-top:16px;border-top:1px solid var(--theme-border, #e4e7eb);padding-top:13px;display:flex;justify-content:space-between;align-items:center;}.payment-total-preview span{font-size:var(--ui-text-caption, 10px);color:var(--theme-muted, #7d7781);}.payment-total-preview strong{font-size:18px;color:var(--theme-accent-text, #542075);}
.checkout-lines{display:flex;flex-direction:column;min-width:0;background:var(--theme-surface, #fff);}.sale-toolbar{display:flex;justify-content:space-between;align-items:center;padding:17px 19px;border-bottom:1px solid var(--theme-border, #e6e9ed);}.sale-toolbar h2{font-size:19px;margin:2px 0 0;}.sale-toolbar-meta{display:flex;gap:14px;font-size:var(--ui-text-caption, 10px);color:var(--theme-muted, #83808a);}.sale-toolbar-meta b{color:var(--theme-ink, #38323e);}.sale-table-head{display:grid;grid-template-columns:minmax(220px,1fr) 120px 115px 115px 35px;gap:8px;padding:8px 16px;background:var(--theme-soft, #f7f8fa);border-bottom:1px solid var(--theme-border, #e4e7eb);font-size:var(--ui-text-caption, 9px);text-transform:uppercase;letter-spacing:.06em;font-weight:var(--ui-weight-strong, 850);color:var(--theme-muted, #848a93);}.sale-lines{flex:1;overflow:auto;min-height:380px;}.sale-empty-state{height:100%;min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--theme-muted, #85808a);text-align:center;padding:30px;}.sale-empty-icon{width:88px;height:88px;border-radius:24px;display:grid;place-items:center;background:var(--theme-soft, #f1ebf4);color:var(--theme-accent-text, #b49abc);font-size:40px;margin-bottom:14px;}.sale-empty-state h3{margin:0;color:var(--theme-ink, #4e4852);font-size:17px;}.sale-empty-state p{font-size:var(--ui-text-caption, 11px);margin:6px 0 14px;}.sale-line{display:grid;grid-template-columns:minmax(220px,1fr) 120px 115px 115px 35px;gap:8px;align-items:center;padding:10px 16px;border-bottom:1px solid var(--theme-border, #eef0f3);min-height:66px;}.sale-line:hover{background:var(--theme-surface, #fcfbfd);}.sale-line-product{display:flex;align-items:center;gap:9px;min-width:0;}.line-image{width:42px;height:42px;border-radius:8px;background:var(--theme-soft, #f5f6f8);overflow:hidden;flex:0 0 auto;}.line-image img{width:100%;height:100%;object-fit:contain;}.sale-line-product>span:last-child{min-width:0;}.sale-line-product b{display:block;font-size:var(--ui-text-caption, 11px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.sale-line-product small{display:block;font-size:var(--ui-text-caption, 9px);color:var(--theme-muted, #8c8590);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.line-qty{display:inline-flex;align-items:center;justify-content:center;gap:5px;}.line-qty button{width:25px;height:25px;border-radius:7px!important;padding:0!important;background:var(--theme-soft, #f0edf2)!important;color:var(--theme-accent-text, #5a2a71)!important;}.line-qty b{min-width:20px;text-align:center;font-size:var(--ui-text-caption, 11px);}.line-unit{font-size:var(--ui-text-caption, 10px);color:var(--theme-muted, #69636d);}.line-total{font-size:var(--ui-text-caption, 11px);font-weight:var(--ui-weight-strong, 900);color:var(--theme-ink, #332d37);}.line-remove{width:26px;height:26px;padding:0!important;border-radius:7px!important;background:var(--theme-danger-soft, #fff1f0)!important;color:var(--theme-danger-text, #b42318)!important;font-size:16px!important;}
.checkout-summary-rail{border-left:1px solid var(--theme-border, #e2e6eb);background:var(--theme-surface, #fbfcfd);padding:18px;display:flex;flex-direction:column;}.summary-card-header h2{font-size:19px;margin:2px 0 15px;}.summary-context{display:flex;flex-direction:column;gap:8px;}.summary-context-row{display:flex;justify-content:space-between;gap:10px;font-size:var(--ui-text-caption, 10px);}.summary-context-row span{color:var(--theme-muted, #85808a);}.summary-context-row b{text-align:right;}.summary-divider{border-top:1px solid var(--theme-border, #e2e5e9);margin:16px 0;}.summary-values{display:flex;flex-direction:column;gap:10px;}.summary-values>div{display:flex;justify-content:space-between;align-items:center;font-size:var(--ui-text-caption, 11px);}.summary-values span{color:var(--theme-muted, #77717c);}.discount-input{display:flex;align-items:center;border:1px solid var(--theme-border, #d9dde3);border-radius:7px;background:var(--theme-surface, #fff);width:100px;overflow:hidden;}.discount-input span{padding-left:7px;font-size:var(--ui-text-caption, 9px);}.discount-input input{width:100%;min-width:0;border:0!important;box-shadow:none!important;padding:6px!important;text-align:right;font-size:var(--ui-text-caption, 10px);}.summary-grand-total{margin-top:auto;padding:17px 0 11px;border-top:1px solid var(--theme-border, #e0e4e9);display:flex;align-items:flex-end;justify-content:space-between;}.summary-grand-total span{font-size:var(--ui-text-body, 13px);color:var(--theme-muted, #65606a);}.summary-grand-total strong{font-size:31px;letter-spacing:-1px;color:var(--theme-ink, #302a34);}.summary-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:8px;}.summary-actions .button{min-height:44px;}.outline-danger{background:var(--theme-surface, #fff)!important;border:1px solid var(--theme-danger-border, #f1b4b4)!important;color:var(--theme-danger-text, #b42318)!important;}.finish-button{display:flex!important;gap:7px;}.finish-button span{font-size:var(--ui-text-caption, 8px);background:#ffffff25;border-radius:4px;padding:3px 4px;}.summary-secure{font-size:var(--ui-text-caption, 9px);text-align:center;color:var(--theme-muted, #7c8a81);margin-top:9px;}
.refund-modal{border:0;border-radius:18px;padding:0;background:transparent;box-shadow:0 30px 100px #0005;}.refund-modal::backdrop{background:#17121c88;backdrop-filter:blur(3px);}.refund-card{width:min(440px,calc(calc(100 * var(--phige-vw, 1vw)) - 30px));background:var(--theme-surface, #fff);border-radius:18px;padding:26px;}.refund-icon{width:48px;height:48px;border-radius:14px;background:var(--theme-danger-soft, #fff0ef);color:var(--theme-danger-text, #b42318);display:grid;place-items:center;font-size:24px;margin-bottom:12px;}.refund-card h2{font-size:22px;margin:3px 0 8px;}.refund-card p{font-size:var(--ui-text-small, 12px);color:var(--theme-muted, #77707b);line-height:1.5;}.refund-card label{display:flex;flex-direction:column;gap:6px;font-size:var(--ui-text-caption, 11px);font-weight:var(--ui-weight-strong, 800);margin-top:16px;}.refund-card input{padding:11px 12px;border:1px solid var(--theme-border, #d8dde3);border-radius:9px;}.refund-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;}.row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}.action-link{border:0;background:transparent!important;padding:0!important;border-radius:0!important;color:var(--theme-accent-text, #5e2b76);font-size:var(--ui-text-caption, 11px);font-weight:var(--ui-weight-strong, 800);text-decoration:none;}.danger-text{color:var(--theme-danger-text, #b42318)!important;}.sale-row-cancelled{opacity:.72;}.sales-filters input{min-width:230px;}.user-table-cell{display:flex;align-items:center;gap:9px;}.small-avatar{width:34px!important;height:34px!important;font-size:var(--ui-text-small, 12px)!important;}.role-pill,.permission-summary{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:var(--ui-text-caption, 9px);font-weight:var(--ui-weight-strong, 850);}.role-pill.admin{background:var(--theme-accent-soft, #efe6f5);color:var(--theme-accent-text, #622c7e);}.role-pill.seller{background:var(--theme-accent-soft, #eaf3fb);color:var(--theme-accent-text, #2b668c);}.permission-summary{background:var(--theme-soft, #f0f2f5);color:var(--theme-muted, #69717a);}.permission-summary.all{background:var(--theme-soft, #eee5f3);color:var(--theme-accent-text, #612d79);}.user-editor-grid{display:grid;grid-template-columns:390px minmax(0,1fr);gap:16px;}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.permission-card{position:relative;display:flex;align-items:flex-start;gap:9px;border:1px solid var(--theme-border, #dfe3e8);border-radius:11px;padding:11px;background:var(--theme-surface, #fff);cursor:pointer;}.permission-card:hover{border-color:var(--theme-accent-border, #b394c2);}.permission-card input{position:absolute;opacity:0;}.permission-check{width:23px;height:23px;border-radius:7px;background:var(--theme-soft, #f0f2f5);color:transparent;display:grid;place-items:center;flex:0 0 auto;font-weight:var(--ui-weight-strong, 900);}.permission-card:has(input:checked){border-color:var(--theme-accent-border, #8d5ba5);background:var(--theme-soft, #fbf8fc);}.permission-card:has(input:checked) .permission-check{background:var(--theme-accent, #612a7b);color:var(--theme-on-solid, #fff);}.permission-card b,.permission-card small{display:block;}.permission-card b{font-size:var(--ui-text-caption, 11px);}.permission-card small{font-size:var(--ui-text-caption, 8px);color:var(--theme-muted, #98919c);margin-top:3px;}.permission-grid.is-disabled{opacity:.35;pointer-events:none;}.permission-count{font-size:var(--ui-text-caption, 9px);background:var(--theme-soft, #f0eef2);color:var(--theme-muted, #6c6570);border-radius:999px;padding:5px 8px;}.admin-permission-notice{background:var(--theme-soft, #f4eef8);border:1px solid var(--theme-border, #e3d7ea);border-radius:10px;padding:10px;margin-bottom:10px;}.admin-permission-notice b,.admin-permission-notice span{display:block;}.admin-permission-notice b{font-size:var(--ui-text-caption, 11px);color:var(--theme-accent-text, #5b2678);}.admin-permission-notice span{font-size:var(--ui-text-caption, 9px);color:var(--theme-muted, #7a7080);margin-top:2px;}.permission-tip{margin-top:12px;background:var(--theme-warning-soft, #fff8e8);border:1px solid var(--theme-warning-border, #eddca9);border-radius:9px;padding:10px;font-size:var(--ui-text-caption, 10px);color:var(--theme-warning-text, #78611d);}.form-footer{display:flex;justify-content:flex-end;gap:8px;}.switch-check{background:var(--theme-soft, #f6f7f9);border-radius:9px;padding:10px;}.sync-state{font-size:var(--ui-text-caption, 9px);font-weight:var(--ui-weight-strong, 850);border-radius:999px;padding:4px 7px;}.sync-state.synced{background:var(--theme-soft, #e9f7ef);color:var(--theme-success-text, #167c49);}.sync-state.pending{background:var(--theme-warning-soft, #fff4dd);color:var(--theme-warning-text, #88620b);}.refund-history{display:flex;gap:10px;background:var(--theme-danger-soft, #fff0ef);color:var(--theme-danger-text, #9e2d29);border:1px solid var(--theme-danger-border, #f1c6c3);border-radius:11px;padding:12px;margin-top:16px;}.refund-history>span{font-size:22px;}.refund-history b,.refund-history p,.refund-history small{display:block;}.refund-history p{margin:3px 0;font-size:var(--ui-text-caption, 10px);}.refund-history small{font-size:var(--ui-text-caption, 9px);}.sales-table td{vertical-align:middle;}
@media(max-width:1400px){.checkout-shell{grid-template-columns:330px minmax(430px,1fr) 280px;}.shortcut-hint{display:none;}.sale-table-head,.sale-line{grid-template-columns:minmax(190px,1fr) 105px 95px 100px 32px;}.result-stock{display:none;}}
@media(max-width:1150px){.checkout-shell{grid-template-columns:330px 1fr;}.checkout-summary-rail{grid-column:1/-1;border-left:0;border-top:1px solid var(--theme-border, #e2e6eb);display:grid;grid-template-columns:1fr 1fr;gap:14px;}.summary-grand-total{margin-top:0;}.summary-secure{grid-column:1/-1;}.pos-commandbar{grid-template-columns:1fr auto;}.pos-command-center{justify-content:flex-end;}.pos-command-actions{grid-column:1/-1;justify-content:flex-end;}.user-editor-grid{grid-template-columns:1fr;}}
@media(max-width:820px){.pos-main{padding:10px!important;}.pos-commandbar{display:flex;flex-wrap:wrap;}.pos-command-center{margin-left:auto;}.checkout-shell{display:block;min-height:auto;}.checkout-control{border-right:0;}.checkout-lines{min-height:440px;}.checkout-summary-rail{display:block;}.sale-table-head{display:none;}.sale-line{grid-template-columns:1fr auto auto;gap:7px;}.line-unit{display:none;}.line-total{font-size:var(--ui-text-small, 12px);}.line-remove{grid-column:3;}.permission-grid{grid-template-columns:1fr;}.summary-actions{position:sticky;bottom:0;background:var(--theme-surface, #fbfcfd);padding-top:8px;}.product-results{max-height:300px;}}

/* PHIGE V2.3 — checkout profissional / PDV fullscreen */
.sidebar-scrim{display:none;position:fixed;inset:0;background:#17121c88;border:0;padding:0;z-index:45;}
.sidebar-nav-group{margin:2px 0 8px;}
.sidebar-nav-group summary{list-style:none;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:10px 11px;border-radius:10px;color:var(--theme-on-inverse-muted, #e9dfef);cursor:pointer;font-size:var(--ui-text-body, 13px);font-weight:var(--ui-weight-strong, 750);}
.sidebar-nav-group summary::-webkit-details-marker{display:none;}.sidebar-nav-group summary:hover{background:#ffffff10;}.nav-chevron{opacity:.6;transition:.15s;}.sidebar-nav-group[open] .nav-chevron{transform:rotate(180deg);}
.sidebar-subnav{display:flex;flex-direction:column;margin:2px 0 4px 36px;border-left:1px solid #ffffff18;padding-left:9px;}.sidebar-subnav a{color:var(--theme-on-inverse-muted, #cbbfd2);font-size:var(--ui-text-small, 12px);padding:8px 9px;border-radius:8px;}.sidebar-subnav a:hover,.sidebar-subnav a.active{background:#ffffff12;color:var(--theme-on-solid, #fff);}

.pos-fullscreen .app-shell{display:block!important;min-height:calc(100 * var(--phige-vh, 1vh));}.pos-fullscreen .sidebar{transform:translateX(-105%);transition:transform .2s ease,box-shadow .2s ease;box-shadow:none;}.pos-fullscreen.sidebar-open .sidebar{transform:translateX(0);box-shadow:22px 0 60px #0004;}.pos-fullscreen.sidebar-open .sidebar-scrim{display:block;}.pos-fullscreen .app-workspace{grid-column:auto!important;margin:0!important;min-width:0;}.pos-fullscreen .menu-toggle{display:grid!important;place-items:center;}.pos-fullscreen .topbar{min-height:54px;height:54px;padding:7px 14px;position:sticky;top:0;z-index:30;}.pos-fullscreen .topbar-kicker{font-size:var(--ui-text-caption, 8px);}.pos-fullscreen .topbar-left strong{font-size:var(--ui-text-body, 13px);}.pos-fullscreen .app-main{max-width:none!important;width:100%;padding:8px!important;}.pos-fullscreen .pos-main-v23{min-height:calc(calc(100 * var(--phige-vh, 1vh)) - 54px);}

.pos-commandbar-v23{margin-bottom:8px;}.checkout-shell-v23{min-height:calc(calc(100 * var(--phige-vh, 1vh)) - 132px);height:calc(calc(100 * var(--phige-vh, 1vh)) - 132px);}.checkout-shell-v23 .checkout-control,.checkout-shell-v23 .checkout-lines,.checkout-shell-v23 .checkout-summary-rail{min-height:0;height:100%;}.checkout-shell-v23 .checkout-control{overflow:auto;}.checkout-shell-v23 .checkout-lines{overflow:hidden;}.checkout-shell-v23 .sale-lines{height:calc(100% - 94px);overflow:auto;}.checkout-shell-v23 .checkout-summary-rail{overflow:auto;}
.required-chip{display:inline-flex;background:var(--theme-danger-soft, #fce8e6);color:var(--theme-danger-text, #ad302a);border-radius:999px;padding:5px 8px;font-size:var(--ui-text-caption, 9px);font-weight:var(--ui-weight-strong, 850);}.customer-lookup-shell{margin-bottom:7px;}.customer-results{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;}.customer-searching,.customer-no-result{font-size:var(--ui-text-caption, 10px);color:var(--theme-muted, #7a737d);padding:9px;border-radius:8px;background:var(--theme-soft, #f6f7f9);}.customer-result-row{width:100%;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:8px;background:var(--theme-surface, #fff)!important;border:1px solid var(--theme-border, #e0e3e8)!important;padding:8px!important;text-align:left;color:var(--theme-ink, #27212b)!important;}.customer-result-row:hover{border-color:var(--theme-accent-border, #ad8abd)!important;background:var(--theme-soft, #fbf8fc)!important;}.customer-result-avatar{width:30px;height:30px;border-radius:9px;background:var(--theme-soft, #efe7f4);color:var(--theme-accent-text, #5c2876);display:grid;place-items:center;font-weight:var(--ui-weight-strong, 900);}.customer-result-row b,.customer-result-row small{display:block;}.customer-result-row b{font-size:var(--ui-text-caption, 10px);}.customer-result-row small{font-size:var(--ui-text-caption, 8px);color:var(--theme-muted, #817a84);margin-top:2px;}.customer-result-row>span:last-child{font-size:var(--ui-text-caption, 9px);color:var(--theme-accent-text, #6a347f);font-weight:var(--ui-weight-strong, 800);}.customer-quick-form{gap:8px;}.customer-required-note{font-size:var(--ui-text-caption, 9px);line-height:1.45;color:var(--theme-muted, #6d6670);background:var(--theme-soft, #f6f7f9);border:1px solid var(--theme-border, #e5e7eb);border-radius:9px;padding:9px;margin:8px 0 10px;}
.payment-extra{display:grid;gap:8px;margin-top:10px;}.payment-extra label,.pos-installments{display:flex;flex-direction:column;gap:5px;font-size:var(--ui-text-caption, 10px);font-weight:var(--ui-weight-strong, 800);}.payment-extra input,.payment-extra select,.pos-installments select{padding:9px 10px;border:1px solid var(--theme-border, #dadee4);border-radius:8px;background:var(--theme-surface, #fff);}.change-preview{display:flex;justify-content:space-between;align-items:center;background:var(--theme-soft, #eef8f2);color:var(--theme-success-text, #226542);border-radius:9px;padding:10px;}.change-preview span{font-size:var(--ui-text-caption, 10px);}.change-preview b{font-size:17px;}.receipt-choice-block{margin-top:14px;padding-top:12px;border-top:1px solid var(--theme-border, #e3e6ea);}.receipt-choice-grid{display:grid;grid-template-columns:1fr;gap:6px;margin-top:7px;}.receipt-choice{position:relative;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;gap:0 8px;align-items:center;border:1px solid var(--theme-border, #e0e3e8);border-radius:10px;padding:9px 10px;cursor:pointer;background:var(--theme-surface, #fff);}.receipt-choice input{position:absolute;opacity:0;}.receipt-choice>span{grid-row:1/3;width:30px;height:30px;border-radius:8px;background:var(--theme-soft, #f0edf2);display:grid;place-items:center;color:var(--theme-accent-text, #5c2974);font-size:var(--ui-text-caption, 10px);font-weight:var(--ui-weight-strong, 900);}.receipt-choice b{font-size:var(--ui-text-caption, 10px);}.receipt-choice small{font-size:var(--ui-text-caption, 8px);color:var(--theme-muted, #85808a);}.receipt-choice:has(input:checked){border-color:var(--theme-accent-border, #7c4a94);background:var(--theme-soft, #fbf8fc);box-shadow:0 0 0 2px #7c4a9410;}.receipt-choice:has(input:checked)>span{background:var(--theme-accent, #5b2773);color:var(--theme-on-solid, #fff);}.fiscal-warning{margin-top:7px;background:var(--theme-warning-soft, #fff8e8);border:1px solid var(--theme-warning-border, #eedda7);border-radius:8px;padding:8px;color:var(--theme-warning-text, #765e1d);font-size:var(--ui-text-caption, 8px);line-height:1.45;}.discount-limit-help{display:block!important;font-size:var(--ui-text-caption, 8px)!important;color:var(--theme-muted, #7e7782)!important;line-height:1.35;}.discount-limit-help.limit-exceeded{color:var(--theme-danger-text, #b42318)!important;font-weight:var(--ui-weight-strong, 800);}.receipt-type-badge{display:inline-flex;border-radius:999px;padding:5px 7px;font-size:var(--ui-text-caption, 9px);font-weight:var(--ui-weight-strong, 800);background:var(--theme-soft, #f0f2f4);color:var(--theme-muted, #66717b);}.receipt-type-badge.fiscal{background:var(--theme-warning-soft, #fff2d8);color:var(--theme-warning-text, #8a5f00);}.receipt-type-badge.non_fiscal{background:var(--theme-soft, #eaf4ee);color:var(--theme-success-text, #247047);}

.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:16px;}.settings-grid .stack-form small{font-size:var(--ui-text-caption, 9px);color:var(--theme-muted, #7d7580);line-height:1.4;}.fiscal-status-panel h2{margin:4px 0 14px;}.fiscal-status-box{display:flex;gap:11px;border-radius:12px;padding:13px;border:1px solid;}.fiscal-status-box>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:var(--ui-weight-strong, 900);flex:0 0 auto;}.fiscal-status-box b,.fiscal-status-box p{display:block;}.fiscal-status-box p{margin:4px 0 0;font-size:var(--ui-text-caption, 10px);line-height:1.5;}.fiscal-status-box.pending{background:var(--theme-warning-soft, #fff8e8);border-color:var(--theme-warning-border, #ead69b);color:var(--theme-warning-text, #715a18);}.fiscal-status-box.pending>span{background:var(--theme-warning-soft, #f4df99);}.fiscal-status-box.ready{background:var(--theme-soft, #eaf7ef);border-color:var(--theme-success-border, #b9dfc7);color:var(--theme-success-text, #236542);}.fiscal-status-box.ready>span{background:var(--theme-success-soft, #caead5);}.settings-note{font-size:var(--ui-text-caption, 10px);color:var(--theme-muted, #77707a);line-height:1.5;}.customer-filter input{min-width:280px;}.customer-editor small{font-size:var(--ui-text-caption, 9px);color:var(--theme-muted, #7b7480);}
.report-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}.payment-report-row small{display:block;color:var(--theme-muted, #837c87);font-size:var(--ui-text-caption, 9px);margin-top:2px;}
.fiscal-pending-page{max-width:760px;margin:40px auto;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e2e4e8);border-radius:20px;padding:36px;text-align:center;box-shadow:0 18px 50px #0000000c;}.fiscal-pending-icon{width:64px;height:64px;border-radius:18px;background:var(--theme-warning-soft, #fff1cf);color:var(--theme-warning-text, #7b5700);display:grid;place-items:center;font-weight:var(--ui-weight-strong, 900);font-size:20px;margin:0 auto 14px;}.fiscal-pending-page h1{font-size:28px;line-height:1.15;margin:6px auto 12px;max-width:620px;}.fiscal-pending-page>p{color:var(--theme-muted, #716b74);line-height:1.6;}.fiscal-pending-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0;}.fiscal-pending-summary>div{background:var(--theme-soft, #f7f7f9);border-radius:12px;padding:13px;}.fiscal-pending-summary span,.fiscal-pending-summary b{display:block;}.fiscal-pending-summary span{font-size:var(--ui-text-caption, 9px);color:var(--theme-muted, #817a84);}.fiscal-pending-summary b{font-size:var(--ui-text-body, 13px);margin-top:4px;}.fiscal-pending-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:14px;}.fiscal-pending-page>small{color:var(--theme-muted, #8b858e);}

@media(max-width:1200px){.report-payment-grid{grid-template-columns:1fr 1fr;}.settings-grid{grid-template-columns:1fr;}.checkout-shell-v23{height:auto;min-height:calc(calc(100 * var(--phige-vh, 1vh)) - 132px);}.checkout-shell-v23 .checkout-control,.checkout-shell-v23 .checkout-lines,.checkout-shell-v23 .checkout-summary-rail{height:auto;}.checkout-shell-v23 .sale-lines{height:auto;max-height:520px;}}
@media(max-width:820px){.pos-fullscreen .topbar-right{display:none;}.report-payment-grid{grid-template-columns:1fr;}.fiscal-pending-summary{grid-template-columns:1fr;}.fiscal-pending-page{margin:10px;padding:22px;}.checkout-shell-v23{min-height:auto;}.receipt-choice-grid{grid-template-columns:1fr;}}

/* PHIGE V2.6.4 — notificações de aprovação de desconto */
.approval-notification-button{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;border:1px solid var(--theme-border, #e5e7eb);border-radius:11px;background:var(--theme-surface, #fff);color:var(--theme-ink, #374151);font-size:var(--ui-text-caption, 10px);font-weight:var(--ui-weight-strong, 850);box-shadow:0 4px 14px rgba(15,23,42,.04);}
.approval-notification-button:hover{border-color:var(--theme-accent-border, #c4b5fd);background:var(--theme-soft, #faf5ff);color:var(--theme-accent-text, #6d28d9);}.approval-bell{width:20px;height:20px;display:grid;place-items:center;border-radius:7px;background:var(--theme-soft, #f3f4f6);color:var(--theme-accent-text, #6d28d9);font-size:var(--ui-text-small, 12px);}.approval-notification-badge,.nav-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--theme-danger, #dc2626);color:var(--theme-on-solid, #fff);font-size:var(--ui-text-caption, 8px);font-weight:var(--ui-weight-strong, 900);line-height:1;}.approval-notification-badge{position:absolute;right:-7px;top:-7px;box-shadow:0 0 0 3px #fff;}.nav-count-badge{margin-left:auto;}.approval-notification-badge.hidden,.nav-count-badge.hidden{display:none!important;}

/* PHIGE V2.6.6 — menu do usuário / sair do sistema */
.user-menu{position:relative;width:100%;}
.user-menu>summary{list-style:none;cursor:pointer;user-select:none;position:relative;border-radius:12px;transition:background .15s ease,border-color .15s ease;padding:8px 9px!important;border:1px solid transparent;}
.user-menu>summary::-webkit-details-marker{display:none;}
.user-menu>summary:hover,.user-menu[open]>summary{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.08);}
.user-menu .user-profile-copy{flex:1;}
.user-menu-chevron{margin-left:auto;color:var(--theme-muted, #8f8197);font-size:var(--ui-text-body, 13px);transition:transform .15s ease;}
.user-menu[open] .user-menu-chevron{transform:rotate(180deg);color:var(--theme-on-solid, #fff);}
.user-menu-popover{position:absolute;left:0;right:0;bottom:calc(100% + 9px);z-index:90;padding:8px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:var(--theme-inverse, #25202b);box-shadow:0 18px 48px rgba(0,0,0,.34);}
.user-menu-head{display:flex;align-items:center;gap:9px;padding:7px 8px 10px;border-bottom:1px solid rgba(255,255,255,.09);margin-bottom:7px;}
.user-menu-avatar{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:10px;background:var(--theme-surface, #fff);color:var(--theme-accent-text, #5b21b6);font-size:var(--ui-text-small, 12px);font-weight:var(--ui-weight-strong, 900);}
.user-menu-head>span:last-child{min-width:0;display:flex;flex-direction:column;}
.user-menu-head b{color:var(--theme-on-solid, #fff);font-size:var(--ui-text-caption, 11px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.user-menu-head small{margin-top:2px;color:var(--theme-muted, #9f92a7);font-size:var(--ui-text-caption, 9px);}
.user-menu-popover form{margin:0;}
.user-menu-logout{width:100%;display:flex;align-items:center;gap:9px;min-height:38px;padding:9px 10px;border:0;border-radius:10px;background:transparent;color:var(--theme-danger-text, #fca5a5);text-align:left;font-size:var(--ui-text-caption, 11px);font-weight:var(--ui-weight-strong, 850);}
.user-menu-logout:hover{background:rgba(220,38,38,.14);color:var(--theme-danger-text, #fecaca);}
.user-menu-logout>span:first-child{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:rgba(220,38,38,.12);font-size:var(--ui-text-body, 13px);}

/* =========================================================
   PHIGE V2.6.7 — Design System Pro
   Tipografia + hierarquia semântica + botões
   ========================================================= */
:root{
  --brand:#6d28d9;
  --brand-hover:#5b21b6;
  --action:#2563eb;
  --action-hover:#1d4ed8;
  --action-soft:#eff6ff;
  --success-strong:#15803d;
  --success-hover:#166534;
  --success-soft:#ecfdf3;
  --warning-strong:#b45309;
  --warning-hover:#92400e;
  --warning-soft:#fff7ed;
  --danger-strong:#dc2626;
  --danger-hover:#b91c1c;
  --danger-soft:#fef2f2;
  --neutral-strong:#374151;
  --neutral-soft:#f3f4f6;
  --focus-ring:0 0 0 3px rgba(37,99,235,.16);
  --button-radius:10px;
  --control-radius:10px;
}

/* Tipografia: Inter de verdade e menos peso excessivo */
html,body,button,input,select,textarea{font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
body{font-size:14px;line-height:1.45;letter-spacing:-.006em;}
.sidebar-nav a{font-size:var(--ui-text-body, 13px);font-weight:600;}
.sidebar-section-label{font-size:var(--ui-text-caption, 10px);font-weight:700;letter-spacing:.12em;}
.brand-copy strong{font-weight:var(--ui-weight-strong, 800);}
.brand-copy small{font-size:var(--ui-text-caption, 10px);font-weight:600;}
.user-profile-copy b{font-size:var(--ui-text-small, 12px);font-weight:700;}.user-profile-copy small{font-size:var(--ui-text-caption, 10px);}
.topbar-left strong{font-size:15px;font-weight:700;}.topbar-kicker{font-size:var(--ui-text-caption, 10px);font-weight:700;}
.premium-head h1{font-size:30px;font-weight:var(--ui-weight-strong, 750);letter-spacing:-.035em;}
.premium-head p{font-size:var(--ui-text-body, 13px);line-height:1.55;}
.eyebrow{font-size:var(--ui-text-caption, 10px);font-weight:700;letter-spacing:.11em;}
.panel h2,.panel-head h2{font-size:18px;font-weight:700;}
th{font-size:var(--ui-text-caption, 10px);font-weight:700;letter-spacing:.065em;}
td{font-size:var(--ui-text-body, 13px);}td small{font-size:var(--ui-text-caption, 11px);}
.badge{font-size:var(--ui-text-caption, 10px);font-weight:700;}
.stat small{font-size:var(--ui-text-caption, 11px);font-weight:600;}.stat b{font-weight:var(--ui-weight-strong, 750);}.stat span{font-size:var(--ui-text-caption, 10px);}
.text-link,.action-link{font-size:var(--ui-text-small, 12px);font-weight:650;}
.stack-form label,.cart label,.filters label{font-size:var(--ui-text-small, 12px);font-weight:650;}
.search input,.filters input,.filters select,.inline-form input,.inline-form select,.stack-form input,.stack-form select,.stack-form textarea,.cart input,.cart select,.cart textarea,.danger-zone input{font-size:var(--ui-text-body, 13px);line-height:1.35;}

/* Componentes: raio consistente e controles mais legíveis */
.search input,.filters input,.filters select,.inline-form input,.inline-form select,.stack-form input,.stack-form select,.stack-form textarea,.cart input,.cart select,.cart textarea,.danger-zone input{border-radius:var(--control-radius);border-color:var(--theme-border, #d7dce3);}
.search input:focus,.filters input:focus,.filters select:focus,.inline-form input:focus,.inline-form select:focus,.stack-form input:focus,.stack-form select:focus,.stack-form textarea:focus,.cart input:focus,.cart select:focus,.cart textarea:focus,.danger-zone input:focus{border-color:var(--action);box-shadow:var(--focus-ring);outline:none;}
.panel,.stat,.table-wrap{border-color:var(--theme-border, #e3e7ed);}

/* Botão base: retângulo arredondado, 44px e peso moderado */
.button,button.primary,button.secondary,.small-button{
  min-height:42px;
  border-radius:var(--button-radius);
  padding:10px 15px;
  font-size:var(--ui-text-body, 13px);
  line-height:1.2;
  font-weight:700;
  letter-spacing:-.005em;
  transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .06s ease;
}
.button:active,button.primary:active,button.secondary:active,.small-button:active{transform:translateY(1px);}

/* Ação principal = azul. Roxo fica para a identidade/seleção da PHIGE. */
.primary,button.primary{
  background:var(--action)!important;
  color:var(--theme-on-solid, #fff)!important;
  border:1px solid var(--action)!important;
  box-shadow:0 7px 16px rgba(37,99,235,.16)!important;
}
.primary:hover,button.primary:hover{background:var(--action-hover)!important;border-color:var(--action-hover)!important;filter:none!important;}
.primary:focus-visible,button.primary:focus-visible{outline:none;box-shadow:var(--focus-ring),0 7px 16px rgba(37,99,235,.15)!important;}

/* Secundário = neutro, sem competir com ação principal */
.secondary,button.secondary,.small-button{
  background:var(--neutral-soft)!important;
  color:var(--neutral-strong)!important;
  border:1px solid var(--theme-border, #e1e5ea)!important;
  box-shadow:none!important;
}
.secondary:hover,button.secondary:hover,.small-button:hover{background:var(--theme-soft, #e5e7eb)!important;color:var(--theme-ink, #1f2937)!important;}

/* Perigo = contorno vermelho; preenchimento só quando realmente destrutivo */
.outline-danger{
  min-height:42px!important;
  border-radius:var(--button-radius)!important;
  background:var(--theme-surface, #fff)!important;
  border:1px solid var(--theme-danger-border, #f1b8b8)!important;
  color:var(--danger-hover)!important;
  font-size:var(--ui-text-body, 13px)!important;
  font-weight:700!important;
  box-shadow:none!important;
}
.outline-danger:hover{background:var(--danger-soft)!important;border-color:var(--theme-danger-border, #fca5a5)!important;}
.danger-button,.button-danger{background:var(--danger-strong)!important;color:var(--theme-on-solid, #fff)!important;border-color:var(--danger-strong)!important;}
.danger-button:hover,.button-danger:hover{background:var(--danger-hover)!important;}

/* Links e ações pequenas usam azul de interação, não roxo de marca */
a:not(.brand-lockup):not(.sidebar-nav a):not(.sidebar-subnav a){color:var(--theme-accent-text, #1d4ed8);}
.text-link,.action-link{color:var(--theme-accent-text, #1d4ed8);}

/* Estados e badges continuam semânticos */
.success{background:var(--success-soft);color:var(--theme-success-text, #166534);border-color:var(--theme-success-border, #bbf7d0);}
.warning{background:var(--warning-soft);color:var(--theme-warning-text, #92400e);border-color:var(--theme-warning-border, #fed7aa);}
.danger{background:var(--danger-soft);color:var(--theme-danger-text, #991b1b);border-color:var(--theme-danger-border, #fecaca);}

/* Notificação do administrador: informação/atenção, não marca */
.approval-notification-button{min-height:38px;border-radius:var(--button-radius);font-size:var(--ui-text-caption, 11px);font-weight:650;}
.approval-notification-button:hover{border-color:var(--theme-accent-border, #bfdbfe);background:var(--action-soft);color:var(--theme-accent-text, #1d4ed8);}
.approval-bell{background:var(--warning-soft);color:var(--warning-strong);}

/* Menu do usuário: tipografia alinhada à escala nova */
.user-menu-head b{font-size:var(--ui-text-small, 12px);font-weight:700;}.user-menu-head small{font-size:var(--ui-text-caption, 10px);}.user-menu-logout{font-size:var(--ui-text-small, 12px);font-weight:700;border-radius:var(--button-radius);}

/* Ações críticas conhecidas do PDV */
#productContinue,#customerContinue{
  background:var(--action)!important;
  border-color:var(--action)!important;
  color:var(--theme-on-solid, #fff)!important;
}
#productContinue:hover,#customerContinue:hover{background:var(--action-hover)!important;border-color:var(--action-hover)!important;}
#paymentFinish{
  background:var(--success-strong)!important;
  border-color:var(--success-strong)!important;
  color:var(--theme-on-solid, #fff)!important;
  box-shadow:0 8px 18px rgba(21,128,61,.18)!important;
}
#paymentFinish:hover{background:var(--success-hover)!important;border-color:var(--success-hover)!important;}
#paymentFinish:disabled,#productContinue:disabled,#customerContinue:disabled{background:var(--theme-soft, #d1d5db)!important;border-color:var(--theme-border, #d1d5db)!important;color:var(--theme-muted, #6b7280)!important;box-shadow:none!important;}

/* Exceção que exige superior = âmbar */
.discount-approval-action-v264,.discount-request-confirm-v264{
  min-height:42px!important;
  padding:10px 14px!important;
  border-radius:var(--button-radius)!important;
  background:var(--warning-strong)!important;
  color:var(--theme-on-solid, #fff)!important;
  border:1px solid var(--warning-strong)!important;
  font-size:var(--ui-text-small, 12px)!important;
  font-weight:700!important;
  box-shadow:0 6px 15px rgba(180,83,9,.13)!important;
}
.discount-approval-action-v264:hover,.discount-request-confirm-v264:hover{background:var(--warning-hover)!important;border-color:var(--warning-hover)!important;}
.discount-cancel-v264{min-height:42px!important;border-radius:var(--button-radius)!important;background:var(--neutral-soft)!important;color:var(--neutral-strong)!important;font-size:var(--ui-text-small, 12px)!important;font-weight:700!important;}

/* Aprovação do administrador */
.approve-btn{
  min-height:42px!important;
  border-radius:var(--button-radius)!important;
  background:var(--success-strong)!important;
  color:var(--theme-on-solid, #fff)!important;
  font-size:var(--ui-text-body, 13px)!important;
  font-weight:700!important;
  box-shadow:0 6px 15px rgba(21,128,61,.13)!important;
}
.approve-btn:hover{background:var(--success-hover)!important;}
.reject-btn{
  min-height:42px!important;
  border-radius:var(--button-radius)!important;
  background:var(--theme-surface, #fff)!important;
  color:var(--danger-hover)!important;
  border:1px solid var(--theme-danger-border, #f1b8b8)!important;
  font-size:var(--ui-text-body, 13px)!important;
  font-weight:700!important;
}
.reject-btn:hover{background:var(--danger-soft)!important;}

/* Roxo permanece onde comunica marca/seleção, e não ação */
.brand-logo,.sidebar-nav a.active .nav-icon{background:var(--brand)!important;}
.sidebar-nav a.active{background:linear-gradient(100deg,rgba(109,40,217,.25),rgba(109,40,217,.08));box-shadow:inset 3px 0 #8b5cf6;}
.avatar,.user-menu-avatar{color:var(--theme-accent-text, var(--brand));}

@media(max-width:820px){
  .button,button.primary,button.secondary,.small-button{min-height:44px;font-size:var(--ui-text-body, 13px);}
  th{font-size:var(--ui-text-caption, 10px);}td{font-size:var(--ui-text-small, 12px);}
}

/* =========================================================
   PHIGE V2.6.9 — Hierarquia Visual / Dashboard / Relatórios
   ========================================================= */

/* Sidebar: marca e usuário ficam estáveis; navegação central pode rolar. */
.sidebar{overflow:hidden;}
.sidebar-scroll-v269{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0 -5px;padding:0 5px 12px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent;}
.sidebar-scroll-v269::-webkit-scrollbar{width:6px;}.sidebar-scroll-v269::-webkit-scrollbar-track{background:transparent;}.sidebar-scroll-v269::-webkit-scrollbar-thumb{background:rgba(255,255,255,.17);border-radius:999px;}.sidebar-scroll-v269::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.28);}
.sidebar-bottom{flex:0 0 auto;background:linear-gradient(180deg,rgba(31,41,55,0),rgba(31,41,55,.96) 18%);position:relative;z-index:2;}

/* Métricas: cores categóricas sutis, mantendo texto e números como foco. */
.metric-card-v269{position:relative;overflow:hidden;border-top-width:3px!important;box-shadow:0 8px 26px rgba(15,23,42,.045)!important;}
.metric-card-v269:after{content:"";position:absolute;right:-24px;top:-28px;width:82px;height:82px;border-radius:50%;background:currentColor;opacity:.035;pointer-events:none;}
.metric-card-v269 .stat-icon{border:1px solid transparent;}
.metric-revenue-v269{border-top-color:var(--theme-accent-border, #2563eb)!important;}.metric-revenue-v269 .stat-icon{background:var(--theme-accent-soft, #eff6ff);color:var(--theme-accent-text, #1d4ed8);border-color:var(--theme-accent-border, #dbeafe);}
.metric-sales-v269{border-top-color:var(--theme-accent-border, #4f46e5)!important;}.metric-sales-v269 .stat-icon{background:var(--theme-accent-soft, #eef2ff);color:var(--theme-accent-text, #4338ca);border-color:var(--theme-accent-border, #e0e7ff);}
.metric-ticket-v269{border-top-color:var(--theme-accent-border, #0f766e)!important;}.metric-ticket-v269 .stat-icon{background:var(--theme-soft, #f0fdfa);color:var(--theme-accent-text, #0f766e);border-color:var(--theme-success-border, #ccfbf1);}
.metric-commission-v269{border-top-color:var(--theme-warning-border, #d97706)!important;}.metric-commission-v269 .stat-icon{background:var(--theme-warning-soft, #fff7ed);color:var(--theme-warning-text, #b45309);border-color:var(--theme-warning-border, #fed7aa);}
.metric-profit-v269{border-top-color:var(--theme-success-border, #15803d)!important;}.metric-profit-v269 .stat-icon{background:var(--theme-success-soft, #ecfdf3);color:var(--theme-success-text, #15803d);border-color:var(--theme-success-border, #bbf7d0);}
.metric-receivable-v269{border-top-color:var(--theme-warning-border, #d97706)!important;}.metric-receivable-v269 .stat-icon{background:var(--theme-warning-soft, #fff7ed);color:var(--theme-warning-text, #b45309);border-color:var(--theme-warning-border, #fed7aa);}
.metric-paid-v269{border-top-color:var(--theme-success-border, #15803d)!important;}.metric-paid-v269 .stat-icon{background:var(--theme-success-soft, #ecfdf3);color:var(--theme-success-text, #15803d);border-color:var(--theme-success-border, #bbf7d0);}
.metric-units-v269{border-top-color:var(--theme-accent-border, #0891b2)!important;}.metric-units-v269 .stat-icon{background:var(--theme-accent-soft, #ecfeff);color:var(--theme-accent-text, #0e7490);border-color:var(--theme-accent-border, #cffafe);}
.metric-discount-v269{border-top-color:var(--theme-warning-border, #ea580c)!important;}.metric-discount-v269 .stat-icon{background:var(--theme-warning-soft, #fff7ed);color:var(--theme-danger-text, #c2410c);border-color:var(--theme-warning-border, #fed7aa);}
.metric-cost-v269{border-top-color:var(--theme-border, #64748b)!important;}.metric-cost-v269 .stat-icon{background:var(--theme-soft, #f1f5f9);color:var(--theme-ink, #475569);border-color:var(--theme-border, #e2e8f0);}
.dashboard-metrics-v269 .stat,.commission-metrics-v269 .stat,.report-metrics-v269 .stat{min-height:116px;}
.dashboard-metrics-v269 .stat b,.commission-metrics-v269 .stat b,.report-metrics-v269 .stat b{font-variant-numeric:tabular-nums;}

/* Clientes: "Abrir ficha" é navegação/informação, por isso azul suave. */
.customer-open-v269{background:var(--theme-accent-soft, #eff6ff)!important;color:var(--theme-accent-text, #1d4ed8)!important;border-color:var(--theme-accent-border, #bfdbfe)!important;box-shadow:none!important;}
.customer-open-v269:hover{background:var(--theme-accent-soft, #dbeafe)!important;color:var(--theme-accent-text, #1e40af)!important;border-color:var(--theme-accent-border, #93c5fd)!important;}

/* Comissões */
.filter-panel-v269,.report-filter-v269{padding:11px 12px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #e3e7ed);border-radius:14px;box-shadow:0 7px 24px rgba(15,23,42,.035);}
.commission-pay-v269{background:var(--theme-success-soft, #ecfdf3)!important;color:var(--theme-success-text, #166534)!important;border-color:var(--theme-success-border, #bbf7d0)!important;}.commission-pay-v269:hover{background:var(--theme-success-soft, #dcfce7)!important;color:var(--theme-success-text, #14532d)!important;}

/* Relatórios: hierarquia clara e leitura rápida, sem excesso de decoração. */
.report-page-v269{display:grid;gap:0;}.report-head-v269{margin-bottom:16px;}.report-filter-v269{width:max-content;max-width:100%;margin-bottom:18px;}.report-filter-v269 label{min-width:150px;}.report-metrics-v269{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));}
.report-insights-v269{grid-template-columns:1fr 1fr;}.report-panel-v269{padding:20px;overflow:hidden;}.report-panel-v269 .panel-head{padding-bottom:11px;margin-bottom:2px;border-bottom:1px solid var(--theme-border, #eef1f4);}.report-panel-v269 .list-row{min-height:52px;}.report-payment-row-v269>span:last-child,.report-product-row-v269>span:last-child{font-weight:var(--ui-weight-strong, 750);color:var(--theme-ink, #1f2937);font-variant-numeric:tabular-nums;}
.report-row-label-v269{display:flex;align-items:center;gap:9px;}.report-dot-v269{width:10px;height:10px;border-radius:3px;background:var(--theme-accent, #94a3b8);box-shadow:0 0 0 4px #f1f5f9;}.report-dot-v269.pix{background:var(--theme-accent, #0f766e);box-shadow:0 0 0 4px #ccfbf1;}.report-dot-v269.cash{background:var(--theme-success, #15803d);box-shadow:0 0 0 4px #dcfce7;}.report-dot-v269.card{background:var(--theme-accent, #2563eb);box-shadow:0 0 0 4px #dbeafe;}.report-dot-v269.installment{background:var(--theme-warning, #d97706);box-shadow:0 0 0 4px #ffedd5;}
.report-product-row-v269{display:grid;grid-template-columns:30px minmax(0,1fr) auto;}.report-rank-v269{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:var(--theme-soft, #f1f5f9);color:var(--theme-ink, #475569);font-size:var(--ui-text-caption, 10px);font-weight:var(--ui-weight-strong, 800);}.report-product-copy-v269{min-width:0;}.report-product-copy-v269 b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.report-product-copy-v269 small{display:block;}.report-sellers-v269{padding:20px;}.report-sellers-v269 .table-wrap{margin-top:2px;}

@media(max-height:760px) and (min-width:821px){
  .sidebar{padding-top:15px;padding-bottom:10px;}.sidebar-brand{padding-bottom:14px;}.sidebar-section-label{padding-top:15px;}.sidebar-nav a{padding-top:9px;padding-bottom:9px;}.sidebar-nav-group summary{padding-top:9px;padding-bottom:9px;}.sidebar-bottom{padding-top:10px;}
}
@media(max-width:900px){
  .report-insights-v269{grid-template-columns:1fr;}.report-filter-v269{width:100%;}.dashboard-metrics-v269 .stat,.commission-metrics-v269 .stat,.report-metrics-v269 .stat{min-height:104px;}
}
.commission-metrics-v269 .stat,.report-metrics-v269 .stat{display:flex;align-items:center;gap:13px;}
.commission-metrics-v269 .stat>div:last-child,.report-metrics-v269 .stat>div:last-child{min-width:0;}

/* =========================================================
   PHIGE V2.6.9.2 — Contraste Visual Pro
   Mais separação por superfície sem transformar a interface
   em um conjunto de cartões saturados.
   ========================================================= */

/* KPIs: além da faixa e ícone, cada família recebe um banho de cor muito leve. */
.metric-card-v269{
  border-width:1px!important;
  border-top-width:4px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.055)!important;
}
.metric-card-v269 small{font-weight:700;color:var(--theme-muted, #64748b);}
.metric-card-v269 b{color:var(--theme-ink, #0f172a);}
.metric-card-v269 span{color:var(--theme-muted, #6b7280);}

.metric-revenue-v269{background:linear-gradient(135deg,var(--theme-soft, #f7fbff) 0%,var(--theme-surface, #ffffff) 72%)!important;border-color:var(--theme-accent-border, #bfdbfe)!important;border-top-color:var(--theme-accent-border, #2563eb)!important;}
.metric-sales-v269{background:linear-gradient(135deg,var(--theme-soft, #f8f8ff) 0%,var(--theme-surface, #ffffff) 72%)!important;border-color:var(--theme-accent-border, #c7d2fe)!important;border-top-color:var(--theme-accent-border, #4f46e5)!important;}
.metric-ticket-v269{background:linear-gradient(135deg,var(--theme-soft, #f3fffc) 0%,var(--theme-surface, #ffffff) 72%)!important;border-color:var(--theme-success-border, #99f6e4)!important;border-top-color:var(--theme-accent-border, #0f766e)!important;}
.metric-commission-v269,.metric-receivable-v269{background:linear-gradient(135deg,var(--theme-soft, #fffaf2) 0%,var(--theme-surface, #ffffff) 72%)!important;border-color:var(--theme-warning-border, #fed7aa)!important;border-top-color:var(--theme-warning-border, #d97706)!important;}
.metric-profit-v269,.metric-paid-v269{background:linear-gradient(135deg,var(--theme-soft, #f3fff7) 0%,var(--theme-surface, #ffffff) 72%)!important;border-color:var(--theme-success-border, #bbf7d0)!important;border-top-color:var(--theme-success-border, #15803d)!important;}
.metric-units-v269{background:linear-gradient(135deg,var(--theme-soft, #f2fdff) 0%,var(--theme-surface, #ffffff) 72%)!important;border-color:var(--theme-accent-border, #a5f3fc)!important;border-top-color:var(--theme-accent-border, #0891b2)!important;}
.metric-discount-v269{background:linear-gradient(135deg,var(--theme-soft, #fff8f2) 0%,var(--theme-surface, #ffffff) 72%)!important;border-color:var(--theme-warning-border, #fed7aa)!important;border-top-color:var(--theme-warning-border, #ea580c)!important;}
.metric-cost-v269{background:linear-gradient(135deg,var(--theme-soft, #f8fafc) 0%,var(--theme-surface, #ffffff) 72%)!important;border-color:var(--theme-border, #cbd5e1)!important;border-top-color:var(--theme-border, #64748b)!important;}

/* Ícones ganham um pouco mais de presença para leitura instantânea. */
.metric-card-v269 .stat-icon{box-shadow:0 4px 12px rgba(15,23,42,.06);font-weight:var(--ui-weight-strong, 800);}

/* Clientes: consulta é ação informativa, agora mais visível sem virar botão primário. */
.customer-open-v269{
  background:var(--theme-accent-soft, #e7f0ff)!important;
  color:var(--theme-accent-text, #1d4ed8)!important;
  border-color:var(--theme-accent-border, #93c5fd)!important;
  box-shadow:0 4px 10px rgba(37,99,235,.08)!important;
}
.customer-open-v269:hover{background:var(--theme-accent-soft, #dbeafe)!important;border-color:var(--theme-accent-border, #60a5fa)!important;color:var(--theme-accent-text, #1e40af)!important;}

/* Comissões: ações e KPIs visualmente mais separados. */
.commission-pay-v269{background:var(--theme-success-soft, #e8f8ef)!important;border-color:var(--theme-success-border, #86efac)!important;color:var(--theme-success-text, #166534)!important;}
.commission-pay-v269:hover{background:var(--theme-success-soft, #dcfce7)!important;border-color:var(--theme-success-border, #4ade80)!important;}

/* Relatórios: blocos de leitura recebem estrutura um pouco mais marcada. */
.report-panel-v269{border-color:var(--theme-border, #dbe2ea)!important;box-shadow:0 9px 26px rgba(15,23,42,.045)!important;}
.report-panel-v269 .panel-head{background:linear-gradient(180deg,var(--theme-surface, #fbfcfe),var(--theme-surface, #fff));margin:-20px -20px 10px;padding:16px 20px 12px!important;}
.report-filter-v269{border-color:var(--theme-border, #cfd8e3)!important;background:var(--theme-surface, #fbfcfe)!important;}
.report-rank-v269{background:var(--theme-soft, #eaf0f7)!important;color:var(--theme-ink, #334155)!important;}

/* Scroll lateral mais fácil de perceber em telas baixas, ainda discreto. */
.sidebar-scroll-v269{scrollbar-color:rgba(255,255,255,.28) transparent;}
.sidebar-scroll-v269::-webkit-scrollbar-thumb{background:rgba(255,255,255,.26);}
.sidebar-scroll-v269::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.40);}

/* PHIGE V2.7.5.1 — sistema unificado de ícones SVG */
.phige-icon-sprite{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;pointer-events:none!important;}
.ph-icon{width:18px;height:18px;display:inline-block;flex:0 0 auto;vertical-align:-.18em;color:inherit;}
.nav-icon .ph-icon{width:16px;height:16px;}
.sidebar-nav a .nav-icon{transition:background .16s,color .16s,transform .16s;}
.sidebar-nav a:hover .nav-icon{transform:translateY(-1px);}
.sidebar-subnav a{display:flex!important;align-items:center;gap:9px;}
.sidebar-subnav a>.ph-icon{width:15px;height:15px;color:var(--theme-muted, #9a86a5);}
.sidebar-subnav a.active>.ph-icon,.sidebar-subnav a:hover>.ph-icon{color:currentColor;}
.nav-chevron,.user-menu-chevron{display:grid;place-items:center;}
.nav-chevron .ph-icon,.user-menu-chevron .ph-icon{width:14px;height:14px;transition:transform .18s ease;}
.sidebar-nav-group[open] summary .nav-chevron .ph-icon{transform:rotate(180deg);}
.user-menu[open] .user-menu-chevron .ph-icon{transform:rotate(180deg);}
.user-menu-logout .ph-icon{width:16px;height:16px;}
.topbar-page-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--theme-border, #e7deec);border-radius:11px;background:linear-gradient(145deg,var(--theme-soft, #f7f2fa),var(--theme-surface, #fff));color:var(--theme-accent-text, #672781);box-shadow:0 5px 14px rgba(70,28,88,.06);}
.topbar-page-icon .ph-icon{width:18px;height:18px;}
.menu-toggle .ph-icon{width:19px;height:19px;}
.approval-bell{display:grid!important;place-items:center;}
.approval-bell .ph-icon{width:16px;height:16px;}
.phige-alert-v2751{display:flex;align-items:flex-start;gap:10px;}
.phige-alert-v2751>.ph-icon{width:18px;height:18px;margin-top:1px;}
.phige-alert-v2751>span,.phige-alert-v2751>div{min-width:0;flex:1;}
.phige-iconized-v2751{display:inline-flex!important;align-items:center;gap:7px;}
.phige-iconized-v2751>.ph-auto-icon-v2751{width:16px;height:16px;}
.action-link.phige-iconized-v2751,.text-link.phige-iconized-v2751{gap:5px;}
.action-link.phige-iconized-v2751>.ph-icon,.text-link.phige-iconized-v2751>.ph-icon{width:14px;height:14px;}
.stat-icon .ph-icon{width:21px;height:21px;}
.login-feature-grid b{display:flex;align-items:center;gap:6px}
.login-feature-grid b .ph-icon{width:15px;height:15px;color:#c9a8ff}
.input-icon{display:grid!important;place-items:center;}
.input-icon .ph-icon{width:16px;height:16px;}
.login-submit .ph-icon{width:18px;height:18px}

@media(max-width:650px){
  .topbar-page-icon{width:32px;height:32px;border-radius:9px;}
  .topbar-page-icon .ph-icon{width:16px;height:16px;}
}

/* PHIGE V2.7.5.2 — indicadores clicáveis e detalhamento comercial */
.metric-card-link-v2752{color:inherit;text-decoration:none;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;}
.metric-card-link-v2752:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(15,23,42,.12)!important;filter:saturate(1.06);}
.metric-card-link-v2752:focus-visible{outline:3px solid rgba(124,58,237,.28);outline-offset:3px;}
.metric-card-link-v2752 .stat-icon{transition:transform .18s ease;}
.metric-card-link-v2752:hover .stat-icon{transform:scale(1.06);}
.metric-open-v2752{display:inline-flex!important;align-items:center;gap:4px;color:var(--theme-accent-text, #4f46e5)!important;font-weight:var(--ui-weight-strong, 800)!important;}
.metric-open-v2752 .ph-icon{width:13px;height:13px;transition:transform .18s ease;}
.metric-card-link-v2752:hover .metric-open-v2752 .ph-icon{transform:translateX(2px);}

.sales-explorer-v2752{display:grid;gap:0;}.sales-head-v2752{align-items:flex-end;margin-bottom:15px;}.sales-head-actions-v2752{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.sales-view-tabs-v2752{display:inline-flex;width:max-content;max-width:100%;gap:5px;margin-bottom:12px;padding:5px;border:1px solid var(--theme-border, #ddd6e5);border-radius:13px;background:var(--theme-soft, #f6f3f8);}
.sales-view-tabs-v2752 a{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 14px;border-radius:9px;color:var(--theme-muted, #716578);font-size:var(--ui-text-caption, 11px);font-weight:var(--ui-weight-strong, 850);transition:.16s;}
.sales-view-tabs-v2752 a:hover{color:var(--theme-accent-text, #5b2475);background:var(--theme-surface, rgba(255,255,255,.72));}.sales-view-tabs-v2752 a.active{color:var(--theme-on-solid, #fff);background:linear-gradient(135deg,var(--theme-accent, #6d28d9),var(--theme-accent, #7c3aed));box-shadow:0 6px 15px rgba(109,40,217,.2);}
.sales-view-tabs-v2752 .ph-icon{width:16px;height:16px;}
.sales-filters-v2752{padding:12px;margin-bottom:15px;border:1px solid var(--theme-border, #dce2e9);border-radius:14px;background:var(--theme-surface, #fff);box-shadow:0 7px 24px rgba(15,23,42,.035);}
.sales-filters-v2752 label{min-width:145px;}.sales-filters-v2752 .sales-search-v2752{flex:1;min-width:255px;}.sales-filters-v2752 input,.sales-filters-v2752 select{min-height:40px;}
.sales-clear-v2752{display:inline-flex;align-items:center;gap:5px;min-height:40px;padding:9px 10px;color:var(--theme-muted, #64748b);font-size:var(--ui-text-caption, 10px);font-weight:var(--ui-weight-strong, 800);}.sales-clear-v2752:hover{color:var(--theme-accent-text, #5b2475);}.sales-clear-v2752 .ph-icon{width:14px;height:14px;}
.sold-items-summary-v2752{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:14px;}
.sold-items-summary-v2752>div{padding:14px 16px;border:1px solid var(--theme-border, #dbe4ee);border-radius:14px;background:linear-gradient(145deg,var(--theme-soft, #f8fbff),var(--theme-surface, #fff));box-shadow:0 7px 22px rgba(15,23,42,.035);}
.sold-items-summary-v2752 span{display:flex;align-items:center;gap:6px;color:var(--theme-muted, #64748b);font-size:var(--ui-text-caption, 9px);font-weight:var(--ui-weight-strong, 800);text-transform:uppercase;letter-spacing:.045em;}.sold-items-summary-v2752 span .ph-icon{width:14px;height:14px;color:var(--theme-accent-text, #6d28d9);}.sold-items-summary-v2752 b{display:block;margin-top:5px;color:var(--theme-ink, #172033);font-size:20px;font-variant-numeric:tabular-nums;}
.sold-items-table-v2752 tbody tr,.sales-table-wrap tbody tr{transition:background .14s ease;}.sold-items-table-v2752 tbody tr:hover,.sales-table-wrap tbody tr:hover{background:var(--theme-soft, #faf8fc);}
.sold-qty-v2752{display:inline-grid;min-width:31px;height:28px;place-items:center;padding:0 8px;border-radius:8px;background:var(--theme-accent-soft, #ecfeff);color:var(--theme-accent-text, #0e7490);font-weight:var(--ui-weight-strong, 900);}
.sold-items-table-v2752 td:nth-child(3){min-width:260px;white-space:normal;}.sold-items-table-v2752 td:nth-child(3) b{line-height:1.35;}
.sales-explorer-v2752 .action-link{display:inline-flex;align-items:center;gap:5px;}.sales-explorer-v2752 .action-link .ph-icon{width:14px;height:14px;}
.refund-icon .ph-icon{width:23px;height:23px;}

@media(max-width:900px){
  .sales-head-v2752{align-items:flex-start;}.sales-head-actions-v2752{justify-content:flex-start;}.sold-items-summary-v2752{grid-template-columns:1fr 1fr;}.sold-items-summary-v2752>div:last-child{grid-column:1/-1;}
}
@media(max-width:650px){
  .sales-head-actions-v2752{width:100%;}.sales-head-actions-v2752 .button{flex:1;}.sales-view-tabs-v2752{display:flex;width:100%;}.sales-view-tabs-v2752 a{flex:1;justify-content:center;}.sold-items-summary-v2752{grid-template-columns:1fr;}.sold-items-summary-v2752>div:last-child{grid-column:auto;}.sales-filters-v2752 label,.sales-filters-v2752 .sales-search-v2752{width:100%;min-width:0;}.sales-filters-v2752 button{flex:1;}
}
