@font-face{font-family:Cairo;src:url('fonts/cairo-variable.ttf') format('truetype');font-weight:200 1000;font-display:swap}
[hidden]{display:none!important}details:not([open])>div{display:none}.banner-editor{display:grid;grid-template-columns:1fr 1.7fr;gap:25px}.banner-preview{min-height:270px;border-radius:8px;background-position:center;background-size:cover;display:flex;align-items:end;padding:20px}.banner-preview span{font:700 10px Arial,sans-serif;color:white;letter-spacing:1px;background:#0008;padding:9px;border-radius:3px}.payment-intro{display:grid;gap:16px;max-width:650px}.payment-intro h3{font-size:18px}.payment-intro p{line-height:2}.payment-intro .btn{width:max-content}@media(max-width:900px){.banner-editor{grid-template-columns:1fr}.banner-preview{min-height:200px}}
:root{--blue:#00a5f8;--violet:#8b5cf6;--green:#12bf7b;--red:#ed2439;--bg:#f6f8fc;--surface:#fff;--text:#202638;--muted:#929bb0;--line:#edf0f6;--sidebar:#232735;--shadow:0 5px 24px #25345b04;color-scheme:light}
*{box-sizing:border-box}body{margin:0;font:13px/1.7 Cairo,Arial,sans-serif;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,select,textarea{outline-offset:4px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}svg{width:20px;height:20px;flex-shrink:0}button{border:0}small{font-size:11px}h1,h2,h3,p{margin:0}h1{font-size:25px;font-weight:800;letter-spacing:-.5px;line-height:1.5}h2{font-size:15px;font-weight:750}h3{font-size:14px}.number{font-family:Cairo,Arial,sans-serif;direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}.block{display:block}.muted{color:var(--muted)}.full{grid-column:1/-1}.full-width{width:100%}.brand-word{font-family:Arial,sans-serif;font-weight:950;font-style:italic;font-size:25px;letter-spacing:-1px;color:inherit;line-height:1}.brand-word span{color:var(--red);margin-inline-start:3px}.brand-word small{display:block;font-style:normal;font-size:7px;letter-spacing:3px;margin-top:7px;font-weight:500;color:#a5adbc}
.sidebar{width:248px;background:var(--sidebar);color:#bec6d8;position:fixed;inset-block:0;inset-inline-start:0;z-index:50;display:flex;flex-direction:column}.sidebar>.brand-word{color:#fff;margin:30px 25px 25px;font-size:26px}.sidebar-search{margin:7px 14px 20px;border:1px solid #414656;border-radius:6px;display:flex;align-items:center;gap:10px;padding:0 11px;height:40px;color:#737c92}.sidebar-search svg{width:17px}.sidebar-search input{background:none;border:0;color:#d4dbea;width:100%;min-width:0;outline:none;font-size:11px}.side-nav{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#454d61 transparent;flex:1;padding-bottom:12px}.nav-item{display:flex;gap:12px;align-items:center;min-height:43px;padding:10px 22px;border-inline-start:3px solid transparent;transition:.15s;font-size:11.5px;font-weight:650;line-height:1.5}.nav-item svg{width:17px;height:17px;color:#727c91}.nav-item:hover{background:#303747;color:#fff}.nav-item.active{background:#383f51;color:#fff;border-inline-start-color:var(--blue)}.nav-item.active svg{color:#c3dfff}.nav-count{background:#ff426f;color:#fff;border-radius:5px;min-width:20px;text-align:center;font-size:10px;margin-inline-start:auto;padding:1px 4px}.nav-caption{font-size:9px;letter-spacing:1px;color:#768198;padding:18px 25px 6px}.sidebar-footer{padding:18px 25px;border-top:1px solid #ffffff0d;display:grid;gap:12px;font-size:11px}.sidebar-footer a{display:flex;align-items:center;gap:10px;color:#d1e7fa}.sidebar-footer span{font:9px Arial,sans-serif;color:#778296}
.portal-main{margin-inline-start:248px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 25px;gap:18px;position:sticky;top:0;z-index:30}.topbar-start,.topbar-end{display:flex;align-items:center;gap:14px;min-width:0}.top-tabs{display:flex;align-items:stretch;align-self:stretch;gap:25px;height:72px;margin:0 12px}.top-tabs a{display:flex;align-items:center;white-space:nowrap;font-size:11px;font-weight:700;border-bottom:2px solid transparent}.top-tabs a.active{border-color:var(--blue);color:var(--blue)}.circle-button{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#f2f5fa;color:#8b94a7;padding:7px;flex-shrink:0}.circle-button svg{width:18px;height:18px}.circle-button:hover{background:#e8f5ff;color:var(--blue)}.sidebar-toggle{display:none}.lang-control{font:700 11px Cairo,sans-serif;border:1px solid var(--line);padding:4px 8px;border-radius:6px;display:flex;align-items:center;gap:6px}.lang-control svg{width:16px}.notification{position:relative}.notification b{position:absolute;top:-2px;inset-inline-end:-3px;background:#ff426f;color:white;border:2px solid var(--surface);border-radius:20px;font-size:8px;line-height:13px;padding:0 3px}.quick-add,.user-menu{position:relative}.quick-add summary{list-style:none;display:flex;align-items:center;gap:9px;background:#edf8ff;color:#129af0;padding:7px 15px;border-radius:6px;font-size:11px;font-weight:700;cursor:pointer}.quick-add summary svg{width:15px}.quick-add>div,.user-menu>div{position:absolute;top:calc(100% + 14px);inset-inline-end:0;min-width:185px;display:grid;border:1px solid var(--line);background:var(--surface);box-shadow:0 10px 35px #15254515;border-radius:8px;padding:8px;z-index:60}.quick-add>div a,.user-menu>div>a,.user-menu button{display:flex;gap:9px;padding:9px 10px;font-size:12px;border-radius:5px;width:100%;text-align:start;background:none;color:var(--text)}.quick-add a:hover,.user-menu button:hover{background:var(--bg)}.user-menu summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer}.user-menu summary b{font-size:10px}.user-menu summary small{display:block;line-height:1.2;color:var(--muted);font-size:9px}.avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#d9ede8;color:#4b9c8e;font-size:14px;font-weight:800}.portal-content{padding:28px;flex:1;width:100%;max-width:1800px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.page-heading p{font-size:12px;color:var(--muted);margin-top:5px}.eyebrow{font:700 9px/1.6 Arial,sans-serif;letter-spacing:1.6px;color:#98a5bb;margin-bottom:7px}.heading-actions{display:flex;gap:10px;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:9px 16px;min-height:38px;border-radius:6px;border:1px solid transparent;font-weight:700;font-size:11.5px;line-height:1.5;transition:.15s}.btn svg{width:16px;height:16px}.btn.primary{background:var(--blue);color:white}.btn.primary:hover{background:#008ed9;box-shadow:0 4px 12px #00a5f833}.btn.red{background:var(--red);color:#fff;min-height:46px}.btn.red:hover{background:#cf132b}.btn.subtle{background:#eef7ff;color:#069ce9}.btn.ghost{background:transparent;border-color:var(--line);color:var(--text)}.btn.success{background:#e6fcf3;color:#12af74}.btn.small{padding:6px 10px;font-size:10px;min-height:30px}.text-link{font-size:11px;font-weight:700;color:var(--blue)}.strong-link{font-weight:750;color:var(--blue)}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:22px}.stat-card{padding:22px 24px;border-radius:9px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden;position:relative;min-height:144px}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#7a859b}.stat-top i{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#eef8ff;color:var(--blue)}.stat-value{display:block;font-size:30px;line-height:1.4;font-weight:700;margin:6px 0 2px;text-align:start;letter-spacing:-.8px}.stat-card small{font-size:9px;color:var(--muted)}.stat-violet .stat-top i{background:#f3eeff;color:var(--violet)}.stat-cyan{background:#effaff;border-color:#e6f4fd}.stat-cyan .stat-value{color:var(--blue)}.stat-green .stat-top i{background:#e9fbf3;color:var(--green)}.panel{border:1px solid var(--line);border-radius:9px;background:var(--surface);margin-bottom:22px;box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 24px;border-bottom:1px solid var(--line)}.panel-header>svg{color:#9ba6b9;width:18px}.panel-header p{font-size:10px;color:var(--muted);margin-top:3px}.panel-body{padding:22px 24px}.panel-body:has(>.table-scroll){padding:0 0 6px}.panel-body>.search-toolbar{padding:18px 24px 10px}.dashboard-middle{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr);gap:22px}.sales-panel{background:linear-gradient(135deg,var(--surface),#f1fbff)}.chart-wrap{padding:18px 24px 20px}.sales-chart{display:block;width:100%;height:195px;color:var(--text)}.chart-legend{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:8px 5px 0}.chart-legend>span{display:flex;align-items:center;gap:8px;color:#8290a6}.chart-legend i{width:9px;height:9px;border:2px solid var(--blue)}.chart-legend b{font-size:15px;color:var(--blue)}.action-summary{display:flex;align-items:center;justify-content:space-between;border-radius:7px;padding:15px 17px;margin-bottom:12px;gap:12px;background:#eef9ff;color:#009cec}.action-summary>span{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:700}.action-summary svg{width:19px;height:19px}.action-summary strong{font-size:24px;font-weight:650}.action-summary.violet{background:#f4efff;color:#9561ed}.action-summary.green{background:#e9fbf3;color:#0ab976}.mini-note{color:var(--muted);font-size:10px;line-height:1.8;margin-top:18px}.pill{border-radius:5px;background:#f0f6fc;color:#8d9ab0;padding:3px 8px;font-size:10px;display:inline-flex;gap:4px;align-items:center}.two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.ranking-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.ranking-row:last-child{border:0}.ranking-row img{width:40px;height:40px;object-fit:contain;background:#f2f4f7;border-radius:6px}.ranking-row>div{flex:1;min-width:0}.ranking-row b{font-size:11px;display:block;line-height:1.5}.ranking-row small{font-size:9px;color:var(--muted)}.ranking-row strong{font-size:11px;color:var(--red)}.category-stat{display:grid;grid-template-columns:1fr auto;gap:7px;margin-bottom:15px;font-size:11px}.category-stat b{color:var(--blue)}.category-stat>div{grid-column:1/-1;height:5px;background:#f2f4f9;border-radius:3px;overflow:hidden}.category-stat i{display:block;height:100%;background:#73ccfc;border-radius:3px}
.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:start;white-space:normal;font-size:11px}th,td{padding:16px 22px;text-align:start;border-bottom:1px solid var(--line);vertical-align:middle}th{font-size:10px;color:#8a96ab;font-weight:650;background:#fbfcfe;white-space:nowrap}tr:last-child td{border-bottom:0}td{color:var(--text)}td.number{font-weight:650;text-align:start;white-space:nowrap}.table-product{display:flex;align-items:center;gap:13px;min-width:210px;max-width:400px}.table-product img{height:43px;width:48px;flex-shrink:0;object-fit:contain;background:#f2f5f9;border-radius:6px}.table-product b{display:block;font-size:10px;line-height:1.7}.table-product small{color:var(--muted);font-size:9px;display:block}.table-action{display:inline-flex;padding:7px;border:1px solid var(--line);border-radius:5px;color:#8c99ad}.table-action svg{width:14px;height:14px}html[dir=rtl] .table-action svg,html[dir=rtl] .btn svg:last-child{transform:scaleX(-1)}.badge{display:inline-flex;padding:4px 9px;border-radius:5px;font-size:9px;line-height:1.5;white-space:nowrap;background:#edf1f6;color:#8590a4}.badge-pending{background:#fff4de;color:#d99b1c}.badge-active,.badge-approved,.badge-delivered{background:#e7faf2;color:#16b375}.badge-preparing{background:#f2ecff;color:#8f5cdb}.badge-shipped{background:#e6f5ff;color:#179fe9}.badge-rejected,.badge-revoked{background:#fff0f4;color:#ed4c74}.empty-state{text-align:center;padding:37px 20px;color:var(--muted);display:flex;flex-direction:column;align-items:center}.empty-state>span{background:#f2f7fc;border-radius:14px;display:flex;align-items:center;justify-content:center;width:56px;height:56px;color:#a5c6df;margin-bottom:14px}.empty-state svg{width:26px;height:26px}.empty-state h3{font-size:13px;color:#6d7a93;font-weight:700;margin-bottom:5px}.empty-state p{font-size:11px;max-width:360px}.notice{border:1px solid #cce9ff;background:#eff9ff;border-radius:6px;padding:12px 16px;color:#268bc9;margin-bottom:20px;font-size:12px}.notice.error{background:#fff0f3;border-color:#ffd7df;color:#d74764}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.form-grid>label,.login-form>label,.setup-card form>label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#768197}input,select,textarea{padding:10px 12px;border:1px solid #e2e7ef;border-radius:5px;background:var(--surface);color:var(--text);width:100%;min-width:0;font-size:12px;line-height:1.6;transition:border .15s}input:focus,select:focus,textarea:focus{border-color:#9bd9fb;outline:2px solid #e4f5ff}input[readonly]{background:var(--bg);color:#9ca6b7}input[type=file]{font-size:10px}textarea{resize:vertical}input[type=checkbox]{width:15px;height:15px;accent-color:var(--blue)}.form-grid .check-field{display:flex;align-items:center;flex-direction:row;gap:9px;font-weight:600}.form-actions{border-top:1px solid var(--line);padding-top:18px;margin-top:5px}.search-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:8px}.search-input{display:flex;align-items:center;position:relative;flex:1;max-width:500px}.search-input svg{position:absolute;inset-inline-start:12px;width:17px;height:17px;color:var(--muted)}.search-input input{padding-inline-start:39px}.inline-form{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.filter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.filter-tabs>a{padding:7px 13px;background:var(--surface);border:1px solid var(--line);border-radius:5px;font-size:11px;color:#8590a3}.filter-tabs>a.active{color:var(--blue);border-color:#bce5ff;background:#ecf8ff}.data-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.data-row span{color:var(--muted)}.data-row:last-child{border:0}.document-row{display:flex;gap:13px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.document-row>div{flex:1}.document-row b{display:block;font-size:12px}.document-row small{display:block;color:var(--muted);font-size:10px}.file-icon{width:41px;height:45px;border-radius:7px;background:#edf7ff;color:var(--blue);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.document-row .table-action{margin-inline-start:auto}.portal-footer{display:flex;justify-content:space-between;margin:12px 28px 0;padding:20px 0;border-top:1px solid var(--line);font-size:9px;color:#a2adbf}.development-tag{font-size:9px;color:#8b97ad;margin:-12px 0 16px}.profile-tabs{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:20px;border-bottom:1px solid var(--line)}.profile-tabs a{padding:10px 0;font-size:11px;border-bottom:2px solid transparent;color:var(--muted)}.profile-tabs a.active{border-color:var(--blue);color:var(--blue)}.profile-hero{display:flex;gap:18px;align-items:center;margin-bottom:25px}.profile-hero .avatar{height:58px;width:58px;font-size:25px}.profile-hero h2{font-size:20px}.profile-hero p{font-size:11px;color:var(--muted)}.address-card{padding:17px;border:1px solid var(--line);border-radius:7px;margin-bottom:12px}.address-card b{display:block;margin-bottom:5px}.address-card p{white-space:pre-line;font-size:12px;color:#8490a5}.address-card small{direction:ltr;color:var(--muted)}.dealer-selector{display:flex;gap:12px;align-items:center;margin-bottom:20px;border-radius:7px;background:#eaf6ff;padding:13px 17px;font-size:12px}.dealer-selector select{max-width:300px;background:var(--surface)}.dealer-selector label{font-weight:700;color:#188ecc}.campaign-card{display:flex;flex-direction:column;gap:14px;padding:22px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.campaign-card .eyebrow{color:var(--red)}.campaign-card h3{font-size:17px}.campaign-card p{font-size:12px;color:var(--muted)}.campaign-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.product-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.favorite-card{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--surface)}.favorite-card img{width:100%;height:145px;object-fit:contain;background:#eef2f7}.favorite-card>div{padding:15px}.favorite-card h3{font-size:11px;min-height:42px}.favorite-card strong{color:var(--blue);font-size:15px}.favorite-card small{display:block;color:var(--muted);font-size:9px}.favorite-card .btn{margin-top:10px;width:100%}.order-total{font-size:21px;font-weight:750;color:var(--blue);display:flex;justify-content:space-between;padding-top:18px}.order-meta{display:flex;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin-bottom:20px}.order-price-input{max-width:100px;text-align:end;direction:ltr}.workflow{display:flex;gap:4px;margin-bottom:20px}.workflow>span{flex:1;background:#e9eff6;border-radius:4px;height:4px}.workflow>span.done{background:var(--blue)}.setup-body{min-height:100vh;display:grid;place-items:center;padding:25px}.setup-card{width:min(580px,100%);padding:35px;background:var(--surface);border:1px solid var(--line);border-radius:10px}.setup-card h1{margin-top:22px;font-size:23px}.setup-card p{color:var(--muted);font-size:12px;margin:10px 0 20px}.setup-card form{display:grid;gap:16px}
.auth-page{background:#080b10;color:#eef3fa}.auth-header{display:flex;align-items:center;justify-content:space-between;padding:30px 6vw;position:absolute;top:0;width:100%;z-index:5}.auth-header>nav{display:flex;gap:15px;align-items:center}.auth-header .circle-button{background:#ffffff0c;color:#d7deea}.auth-header .lang-control{border-color:#ffffff20}.auth-scene{display:grid;grid-template-columns:1.18fr 1fr;min-height:100vh;direction:ltr}.auth-art{position:relative;min-height:760px;background:linear-gradient(0deg,#080b10,#080b1040 45%,#080b10bb),url('banners/racing-hero.webp') center/cover;display:flex;align-items:flex-end;padding:110px 60px 80px;overflow:hidden}.auth-art::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#080b1000,#080b10);pointer-events:none}.auth-copy{position:relative;z-index:2;max-width:560px;direction:rtl;text-align:right}.auth-copy .eyebrow{color:#f34554;font-size:10px;letter-spacing:1px;margin-bottom:20px}.auth-copy h1{font-size:clamp(34px,3.4vw,57px);line-height:1.4;font-weight:950;letter-spacing:-1px}.auth-copy h1 em{font-style:normal;color:var(--red)}.auth-copy p{font-size:13px;line-height:2;color:#9ba4b4;margin-top:20px;max-width:440px}.auth-pills{display:flex;gap:18px;flex-wrap:wrap;margin-top:30px;font-size:10px;color:#b8c1d0}.auth-pills span{display:flex;align-items:center;gap:7px}.auth-pills svg{color:var(--red);width:17px}.auth-red-glow{position:absolute;left:0;top:5%;width:80%;height:50%;background:radial-gradient(ellipse,#e5203533,transparent 65%);animation:auth-glow 8s ease-in-out infinite alternate}.auth-form-wrap{display:flex;align-items:center;justify-content:center;position:relative;padding:120px 55px 80px;direction:rtl}.auth-card{width:100%;max-width:390px}.auth-card h2{font-size:27px;font-weight:850;margin:7px 0 13px}.auth-card>p{font-size:12px;line-height:2;color:#919bab;margin-bottom:28px}.auth-card .eyebrow{color:#64758e}.login-form{display:grid;gap:19px}.login-form label{color:#bcc5d5;font-weight:600}.auth-page input{background:#111722;border-color:#252e3c;color:#e6edf7}.auth-page input:focus{border-color:#69788e;outline:2px solid #ffffff08}.auth-page .btn.red{margin-top:7px}.auth-help{padding-top:22px;font-size:10px;color:#64718a;line-height:1.9}.auth-bottom{position:absolute;bottom:30px;inset-inline:55px;font:9px Arial,sans-serif;letter-spacing:1px;color:#4d5d75;display:flex;justify-content:space-between}.auth-symbol{display:flex;align-items:center;justify-content:center;background:#ffffff08;color:#f3394c;border:1px solid #ffffff0a;border-radius:14px;width:62px;height:62px;margin-bottom:25px}.auth-symbol svg{height:28px;width:28px}.contact-card{border-top:1px solid #1d2634;margin-top:32px;padding-top:25px}.contact-card b{font-size:12px}.contact-card p{font-size:11px;color:#7d8ba2;margin:7px 0 12px}.contact-card a{display:block;color:#d2ddeb;font-size:12px;margin:5px 0}.device-request{display:grid;gap:10px;background:#111722;border:1px solid #242e3f;padding:20px;border-radius:8px;margin-bottom:23px}.device-request b{font-size:13px}.device-request small{color:#697990;font-size:10px}.device-request .badge{width:max-content}.auth-card .ghost{color:#9da9bd;border-color:#243044;margin-top:10px}.auth-card .notice{font-size:11px;background:#102333;border-color:#1e405a;color:#8bbddd}.auth-card .notice.error{background:#32121b;border-color:#51202c;color:#ee8396}
html[dir=ltr] .auth-copy{direction:ltr;text-align:left}html[dir=ltr] .auth-form-wrap{direction:ltr}html[dir=ltr] .auth-copy h1{font-style:italic;letter-spacing:-1.5px}
html[data-theme=dark] .portal-page{--bg:#101620;--surface:#18212f;--text:#d5deed;--muted:#7b8ba5;--line:#263245;--shadow:0 5px 24px #00000008;--sidebar:#111824;color-scheme:dark}html[data-theme=dark] .portal-page .topbar,html[data-theme=dark] .portal-page .panel{background:var(--surface)}html[data-theme=dark] .portal-page th{background:#1b2637}html[data-theme=dark] .portal-page .sales-panel{background:linear-gradient(135deg,#18212f,#152a3a)}html[data-theme=dark] .portal-page input,html[data-theme=dark] .portal-page select,html[data-theme=dark] .portal-page textarea{border-color:#344057}html[data-theme=dark] .portal-page .circle-button{background:#243147;color:#97a8c3}html[data-theme=dark] .portal-page .stat-cyan{background:#173147;border-color:#24435b}html[data-theme=dark] .portal-page .action-summary{background:#153447}html[data-theme=dark] .portal-page .action-summary.violet{background:#2b2242}html[data-theme=dark] .portal-page .action-summary.green{background:#153c32}
html[data-theme=light] .auth-page{background:#f5f7fb;color:#1f2b3e}html[data-theme=light] .auth-page .auth-form-wrap{background:#f5f7fb}html[data-theme=light] .auth-page .auth-copy{color:#eef3fa}html[data-theme=light] .auth-page input{background:white;border-color:#dce3ef;color:#1e2b40}html[data-theme=light] .auth-page .auth-header{color:#7f8ba1}html[data-theme=light] .auth-page .auth-header>.brand-word{color:white}html[data-theme=light] .auth-page .login-form label{color:#60718a}html[data-theme=light] .auth-page .contact-card{border-color:#e0e6f0}html[data-theme=light] .auth-page .contact-card a{color:#416080}html[data-theme=light] .auth-page .auth-card .notice{background:#e9f7ff;border-color:#cce9ff;color:#3586b9}
@keyframes auth-glow{from{transform:translate(-30px,0);opacity:.3}to{transform:translate(40px,25px);opacity:1}}
@media(min-width:1600px){.portal-content{padding:32px}.stat-card{min-height:162px;padding:26px 28px}.stat-value{font-size:34px}.dashboard-middle{grid-template-columns:1.9fr 1fr}.sales-chart{height:220px}.panel-header{padding:22px 28px}.top-tabs{gap:32px}}
@media(max-width:1250px){.sidebar{width:224px}.portal-main{margin-inline-start:224px}.nav-item{padding-inline:18px;gap:9px;font-size:10.5px}.portal-content{padding:23px}.topbar{padding:0 20px}.topbar-start,.topbar-end{gap:9px}.top-tabs{gap:16px;margin:0 7px}.top-tabs a{font-size:10px}.top-tabs a:nth-child(4){display:none}.stat-card{padding:18px}.stat-value{font-size:25px}.stat-grid{gap:14px}.dashboard-middle{grid-template-columns:1.5fr 1fr}.user-menu summary>span:last-child{display:none}.product-mini-grid{grid-template-columns:repeat(3,1fr)}.auth-art{padding:100px 35px 70px}.auth-form-wrap{padding-inline:35px}}
@media(max-width:1000px){.sidebar{transform:translateX(110%);transition:transform .2s}.portal-main{margin-inline-start:0}.sidebar-toggle{display:inline-flex}html[dir=ltr] .sidebar{transform:translateX(-110%)}body.sidebar-open .sidebar{transform:translateX(0)}.sidebar-backdrop:not([hidden]){position:fixed;inset:0;background:#101a2f88;z-index:45}.topbar{height:64px}.top-tabs{height:64px}.page-heading h1{font-size:23px}.auth-scene{grid-template-columns:1fr 1fr}.auth-copy h1{font-size:38px}.auth-copy p{font-size:11px}.auth-art{min-height:730px}.auth-pills{gap:12px;font-size:9px}}
@media(max-width:720px){.portal-content{padding:20px 16px}.topbar{padding:0 15px}.top-tabs{display:none}.topbar-start{gap:10px}.topbar-end{gap:9px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}.page-heading h1{font-size:22px}.page-heading p{font-size:11px}.page-heading .btn{font-size:10px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{min-height:129px;padding:16px}.stat-top{font-size:9px}.stat-top i{width:27px;height:27px}.stat-top svg{width:16px}.stat-value{font-size:25px;margin-top:8px}.stat-card small{font-size:8px}.dashboard-middle,.two-column{grid-template-columns:1fr;gap:0}.panel-header{padding:17px 18px}.panel-body{padding:18px}.panel-header h2{font-size:13px}.form-grid{gap:17px;grid-template-columns:1fr}.full{grid-column:auto}.form-grid>label{font-size:11px}th,td{padding:14px 16px;font-size:10px}.table-product{min-width:190px}.campaign-grid{grid-template-columns:1fr}.product-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-footer{margin-inline:16px;font-size:8px}.dealer-selector{align-items:stretch;flex-direction:column}.dealer-selector select{max-width:none}.auth-header{padding:25px}.auth-scene{display:block;padding-top:100px}.auth-art{display:none}.auth-form-wrap{padding:55px 25px 100px;min-height:calc(100vh - 100px);max-width:520px;margin:auto}.auth-header>.brand-word{font-size:23px}.auth-bottom{inset-inline:25px}.auth-card h2{font-size:28px}html[data-theme=light] .auth-page .auth-header>.brand-word{color:#1f2b3e}.auth-card>p{font-size:12px}.setup-card{padding:25px}.quick-add summary{padding:6px 11px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.sidebar,.topbar,.portal-footer,.heading-actions,.filter-tabs,.development-tag,.no-print,form,.btn{display:none!important}.portal-main{margin:0}.portal-content{padding:0;max-width:none}.panel{box-shadow:none;break-inside:avoid}.panel,.panel-header{border-color:#ccc}.portal-page{background:white!important;color:black!important}.table-scroll{overflow:visible}.page-heading{margin-bottom:20px}.notice{display:none}}
.permission-editor{margin-top:12px;padding:22px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}.permission-intro{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.permission-intro h3{font-size:18px;margin:8px 0}.permission-intro p{color:var(--muted);font-size:12px;max-width:760px;line-height:1.9;margin:0}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.permission-group{min-width:0;margin:0;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.permission-group legend{padding:0 7px;font-weight:700;font-size:12px;color:var(--text,#222735)}.permission-group .check-field{font-size:11px;align-items:flex-start;line-height:1.9;margin:5px 0;display:flex;gap:9px}.permission-group input{flex:0 0 auto;margin-top:5px;width:15px;height:15px;accent-color:#00a5f8}.staff-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.staff-shortcut{display:flex;gap:14px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:8px}.staff-shortcut b{flex:1;font-size:13px}.staff-shortcut>svg{width:18px;color:#00a5f8}[data-theme=dark] .permission-group{background:#182130}[data-theme=dark] .permission-group legend{color:#e1e7f0}@media(max-width:1150px){.permission-grid,.staff-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.permission-grid,.staff-shortcuts{grid-template-columns:1fr}.permission-editor{padding:14px}.permission-intro .file-icon{display:none}}
.audit-notice{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:18px 22px;margin-bottom:22px}.audit-notice>svg{width:25px;flex:0 0 25px;color:#00a5f8}.audit-notice strong,.audit-notice span{display:block}.audit-notice strong{font-size:13px;margin-bottom:4px}.audit-notice span,.audit-timezone{font-size:11px;line-height:1.9;color:var(--muted)}.audit-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.audit-filters label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600}.audit-filters input,.audit-filters select{min-width:0;width:100%;background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:6px;padding:10px 12px;min-height:42px;font-family:inherit;font-size:12px}.audit-search{grid-column:span 2}.audit-filter-buttons{grid-column:span 2;display:flex;align-items:flex-end;gap:10px}.audit-count{background:#00a5f812;color:#009bea;padding:6px 13px;border-radius:6px;font-size:12px}.audit-list{display:flex;flex-direction:column;gap:12px}.audit-entry{border:1px solid var(--line);border-radius:9px;overflow:hidden}.audit-entry-heading{display:flex;align-items:center;gap:14px;padding:17px 18px}.audit-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#00a5f811;color:#00a5f8;flex:0 0 38px}.audit-symbol svg{width:19px;height:19px}.audit-danger{color:#ee5577;background:#ee557711}.audit-entry-title{flex:1;min-width:0}.audit-entry-title>strong{font-size:13px;display:block;margin-bottom:5px}.audit-entry-title>div{font-size:11px;color:var(--muted);line-height:1.9;overflow-wrap:anywhere}.audit-entry-title b{color:var(--text)}.audit-target{color:var(--text);font-weight:500}.audit-entry-time{text-align:end;flex:0 0 auto;font-size:10px;color:var(--muted)}.audit-entry-time time,.audit-entry-time small{display:block}.audit-entry-time small{margin-top:5px;color:#00a5f8}.audit-details{border-top:1px solid var(--line);font-size:11px}.audit-details summary{cursor:pointer;color:#009ff0;padding:10px 18px;font-weight:600}.audit-details[open]{background:var(--bg)}.audit-details>.table-scroll,.audit-details>p{margin:6px 18px 16px}.audit-details table{font-size:11px;width:100%;table-layout:fixed}.audit-details td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top;max-width:400px}.audit-before{color:var(--muted)}.audit-after{color:#0bab76}.audit-meta{padding:4px 18px;display:flex;flex-wrap:wrap;gap:14px 28px}.audit-meta>div{min-width:130px;max-width:100%}.audit-meta dt{font-size:10px;color:var(--muted);margin-bottom:3px}.audit-meta dd{margin:0;overflow-wrap:anywhere}.audit-origin{border-top:1px dashed var(--line);padding:12px 18px;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px 22px;font-size:10px;overflow-wrap:anywhere}.audit-pagination{margin-top:22px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.audit-pagination>div{display:flex;gap:10px}@media(max-width:900px){.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-entry-heading{flex-wrap:wrap}.audit-entry-time{flex-basis:100%;text-align:start;padding-inline-start:52px}.audit-entry-time small{display:inline;margin-inline-start:8px}}@media(max-width:500px){.audit-filters{grid-template-columns:1fr}.audit-search,.audit-filter-buttons{grid-column:span 1}.audit-entry-heading{padding:14px 12px;gap:10px}.audit-entry-title>strong{font-size:12px}.audit-notice{padding:16px}.audit-details>.table-scroll{margin:4px 8px 12px}.audit-details table{min-width:430px}.audit-entry-time{padding-inline-start:48px}}
.audit-entry{--audit-muted:#657087;--audit-green:#087b57;--audit-link:#067cba}.audit-entry-title>div,.audit-entry-time,.audit-before,.audit-origin,.audit-meta dt{color:var(--audit-muted)}.audit-after{color:var(--audit-green)}.audit-details summary{color:var(--audit-link)}[data-theme=dark] .audit-entry{--audit-muted:#a2b0c6;--audit-green:#58d7ad;--audit-link:#4bbcff}
.product-summary-cards,.product-import-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.product-summary-cards .stat-card,.product-import-stats .stat-card{min-height:125px;padding:22px}.product-summary-cards .stat-value,.product-import-stats .stat-value{font-size:29px}.products-filter-bar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px;margin-bottom:20px}.products-filter-bar>.search-input{flex:1;min-width:220px;margin:0}.products-filter-bar>label:not(.search-input){display:grid;gap:5px;font-size:10px;min-width:125px;color:var(--muted)}.products-filter-bar select{background:var(--surface);color:var(--text);border:1px solid var(--line);padding:10px 12px;border-radius:6px;min-height:42px}.products-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 17px;background:#00a5f80a;border:1px solid #00a5f829;border-radius:7px;margin-bottom:18px;font-size:11px}.products-selection-bar>div{display:flex;align-items:center;flex-wrap:wrap;gap:11px}.products-selection-bar .text-link{background:none;border:0;cursor:pointer;font-size:11px}.products-selection-bar strong{color:var(--blue);font-size:16px}.products-table{min-width:1040px}.products-table input[type=checkbox]{width:16px;height:16px;accent-color:var(--blue);cursor:pointer}.products-table th:first-child{width:35px}.products-table .table-product{max-width:350px;min-width:220px}.products-table .table-product b{line-height:1.8;white-space:normal}.product-table-photo{position:relative;flex:0 0 48px}.product-table-photo img{width:48px;height:48px;object-fit:contain;background:#f3f6fa}.product-table-photo>span{position:absolute;bottom:-4px;inset-inline-end:-4px;background:#202638;color:#fff;font-size:8px;line-height:16px;min-width:16px;border-radius:4px;text-align:center}.product-table-price>strong{display:block;font-size:13px}.product-table-price>small{display:flex;align-items:center;gap:6px;font-size:10px}.product-table-price del{color:var(--muted)}.product-discount-tag{display:inline-block;padding:1px 5px;background:#12bf7b13;color:#079268;border-radius:4px;font-size:9px}.product-row-actions{display:flex;gap:6px;align-items:center}.product-row-actions .btn{padding:6px 10px}.product-delete-button{background:#ed24390b;color:#dc365a;border:1px solid #ed243925}.products-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px;font-size:11px;color:var(--muted)}.products-pagination>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.products-pagination .btn{min-width:32px;justify-content:center;padding:6px 10px}.pagination-ellipsis{padding:0 4px}.product-editor>.panel{margin-bottom:22px}.product-editor-save{display:flex;gap:12px;justify-content:flex-end;position:sticky;bottom:0;padding:15px 20px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 -4px 25px #00000006;z-index:5}.product-price-preview{display:grid;grid-template-columns:1fr auto;gap:9px 20px;border:1px solid #00a5f829;background:#00a5f807;border-radius:7px;padding:17px 20px}.product-price-preview>span{font-size:12px}.product-price-preview>strong{color:var(--blue);font-size:22px}.product-price-preview>small{grid-column:1/-1;font-size:10px;color:var(--muted);line-height:1.9}.product-help{font-size:11px;line-height:2;color:var(--muted);margin:0}.product-gallery-editor,.product-new-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.product-image-tile{position:relative;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);min-width:0}.product-image-tile>img{width:100%;height:135px;object-fit:contain;background:#f4f6f9;border-radius:5px;margin-bottom:10px}.product-image-tile .check-field{font-size:10px;display:flex;gap:7px;margin:5px 0;align-items:center}.product-image-tile input{accent-color:var(--blue)}.product-image-tile .remove-image{color:#e44d6c}.product-image-tile>small{display:block;overflow-wrap:anywhere;font-size:9px;color:var(--muted)}.image-marked-remove{opacity:.45;border-color:#ed2439}.product-image-upload{margin-top:18px}.product-image-upload>.check-field{margin-top:16px;font-size:11px}.product-upload-target{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;justify-content:center;border:1px dashed #00a5f84d;background:#00a5f805;border-radius:9px;padding:30px 18px;cursor:pointer;overflow:hidden;margin-bottom:15px}.product-upload-target>svg{width:28px;height:28px;color:var(--blue)}.product-upload-target>strong{font-size:13px}.product-upload-target>span{font-size:10px;color:var(--muted)}.product-upload-target>input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.product-upload-help{padding:20px;border:1px dashed var(--line);border-radius:8px;background:var(--bg);font-size:12px}.product-upload-help>p{font-size:11px;color:var(--muted);line-height:2;margin:10px 0 18px}.product-import-heading{display:flex;align-items:center;gap:15px;margin-bottom:22px;padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.product-import-heading>div{flex:1;min-width:0}.product-import-heading strong{display:block;overflow-wrap:anywhere}.product-import-heading small{display:block;font-size:10px;color:var(--muted)}.product-mapping>summary{padding:18px 22px;cursor:pointer;font-weight:600;font-size:12px}.product-mapping[open]>summary{border-bottom:1px solid var(--line)}.product-mapping .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.import-result{display:inline-flex;align-items:center;padding:4px 9px;border-radius:5px;font-size:10px;white-space:nowrap}.import-create{background:#12bf7b12;color:#089b6b}.import-update{background:#00a5f812;color:#0085d3}.import-error{background:#ed243912;color:#e54a6a}.import-skip{background:#8b5cf612;color:#8b5cf6}.import-row-error{font-size:10px;color:#e54a6a;white-space:normal;max-width:500px;margin-top:4px}@media(max-width:1100px){.product-summary-cards,.product-import-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.products-pagination{align-items:flex-start;flex-direction:column}.product-mapping .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.product-summary-cards,.product-import-stats{gap:10px}.product-summary-cards .stat-card,.product-import-stats .stat-card{padding:15px;min-height:105px}.product-summary-cards .stat-value,.product-import-stats .stat-value{font-size:24px}.products-selection-bar{flex-wrap:wrap}.products-filter-bar>.search-input{flex-basis:100%}.product-mapping .form-grid{grid-template-columns:1fr}.product-import-heading{flex-wrap:wrap}.product-gallery-editor,.product-new-images{grid-template-columns:repeat(2,minmax(0,1fr))}}
.products-table th:last-child,.products-table td:last-child{position:sticky;inset-inline-end:0;min-width:132px;background:var(--surface);box-shadow:3px 0 10px #00000008;z-index:2}.products-table th:first-child,.products-table td:first-child{position:sticky;inset-inline-start:0;background:var(--surface);z-index:3}.products-table thead th:first-child,.products-table thead th:last-child{z-index:4}

.dealer-view-banner{position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#ecf7ff;color:#163752;border-bottom:1px solid #abd9ff;padding:12px 24px;font-family:Tahoma,Arial,sans-serif;font-size:13px;direction:inherit}.dealer-view-banner b,.dealer-view-banner small{display:block}.dealer-view-banner small{font-size:11px;opacity:.7;margin-top:3px}.dealer-view-banner form{margin:0}.dealer-view-banner button{border:0;background:#008ce8;color:white;border-radius:6px;padding:9px 16px;cursor:pointer;font:inherit}.dealer-view-banner~.portal-main .topbar{top:76px}@media print{.dealer-view-banner{display:none!important}}
.order-status-form{display:flex;align-items:center;gap:7px;flex-wrap:nowrap;max-width:360px}.order-status-form select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--line);padding:9px 12px;border-radius:6px;min-width:140px;max-width:220px}.order-status-form .btn{flex-shrink:0}.dealer-file-identity{display:flex;align-items:center;flex-wrap:wrap;gap:18px;background:var(--surface);border:1px solid var(--line);padding:22px;border-radius:9px;margin-bottom:24px}.dealer-file-identity>div strong,.dealer-file-identity>div small{display:block}.dealer-file-identity>div small{color:var(--muted);font-size:11px;margin-top:5px}.dealer-file-contact{margin-inline-start:auto}.dealer-file-tabs{margin:20px 0;flex-wrap:wrap}.dealer-file-tabs a{white-space:nowrap}.dealer-file-button{margin-top:9px;display:flex;width:fit-content}.dealer-summary-link{color:var(--text);text-decoration:none;transition:color .15s}.dealer-summary-link:hover{color:var(--blue)}.dealer-summary-link svg{width:14px;height:14px;vertical-align:middle;margin-inline-start:10px}.dealer-return-reason{white-space:pre-line;min-width:220px;max-width:420px;overflow-wrap:anywhere}.dealer-balance-grid .stat-value{font-size:27px}@media(max-width:650px){.dealer-file-identity{padding:16px;gap:12px}.dealer-file-contact{margin-inline-start:0}.dealer-file-tabs{gap:6px}.dealer-file-tabs a{font-size:11px;padding:9px 12px}.order-status-form{max-width:270px}.dealer-view-banner{padding:10px 14px}}

.campaign-target{border:1px solid var(--line);border-radius:9px;background:var(--bg);padding:22px;min-width:0}.campaign-target-heading{display:flex;align-items:center;gap:14px;margin-bottom:22px}.campaign-target-heading h3{font-size:15px}.campaign-target-heading p{font-size:11px;color:var(--muted);margin-top:4px}.campaign-target>label{max-width:440px}.campaign-scope-fields{padding:0;border:0;margin:20px 0 0;min-width:0}.campaign-scope-fields>legend{font-size:11px;font-weight:700;margin-bottom:10px}.campaign-native-label select{width:100%;min-height:180px}.campaign-picker{position:relative}.campaign-picker>label{display:block;font-size:11px;margin-bottom:7px;font-weight:600}.campaign-search-wrap{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:7px 12px}.campaign-search-wrap>svg{width:19px;color:var(--muted)}.campaign-search-wrap>input{min-width:0;flex:1;border:0!important;background:transparent!important;padding:5px 0!important;box-shadow:none!important;color:var(--text)}.campaign-search-wrap:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #00a5f810}.campaign-options-wrap{position:absolute;top:76px;inset-inline:0;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 14px 40px #0002;z-index:20;overflow:hidden}.campaign-results-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.campaign-results-toolbar button,.campaign-selection-heading button{background:transparent;font-size:10px}.campaign-options{max-height:290px;overflow:auto;overscroll-behavior:contain}.campaign-option{width:100%;display:flex;align-items:center;gap:12px;background:transparent;color:var(--text);padding:11px 16px;text-align:start;border-bottom:1px solid var(--line)}.campaign-option>span:last-child{min-width:0}.campaign-option strong{display:block;font-size:11px;overflow-wrap:anywhere}.campaign-option small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.campaign-option:hover,.campaign-option-active{background:#00a5f80c}.campaign-option-check{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border:1px solid var(--line);border-radius:4px;color:white;font:700 12px Arial,sans-serif}.campaign-option[aria-selected=true] .campaign-option-check{background:var(--blue);border-color:var(--blue)}.campaign-option[aria-selected=true]{background:#00a5f807}.campaign-no-results{padding:18px;font-size:11px;color:var(--muted);line-height:1.9}.campaign-selection-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:15px 0 10px;font-size:11px}.campaign-selection-heading b{color:var(--blue);font-size:16px}.campaign-selected{display:flex;flex-wrap:wrap;gap:8px;max-height:230px;overflow:auto}.campaign-chip{max-width:100%;text-align:start;background:#00a5f810;border:1px solid #00a5f824;color:var(--text);padding:6px 10px;border-radius:5px;font-size:10px;overflow-wrap:anywhere}.campaign-chip:hover{border-color:var(--blue)}.campaign-scope-note{font-size:11px;color:var(--muted);line-height:2;margin-top:12px}.campaign-all-note{display:flex;align-items:flex-start;gap:13px;padding:18px;border:1px dashed #00a5f83b;border-radius:7px;margin-top:20px;background:#00a5f806}.campaign-all-note p{font-size:11px;color:var(--muted);margin-top:6px}.campaign-scope-pill{display:inline-flex;font-size:10px;padding:5px 10px;border-radius:5px;background:#00a5f80a;color:var(--blue)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:650px){.campaign-target{padding:16px}.campaign-target-heading{align-items:flex-start}.campaign-target-heading .file-icon{display:none}.campaign-options{max-height:250px}.campaign-results-toolbar{padding:10px}.campaign-option{padding:10px}.campaign-options-wrap{top:75px}}

.checkout-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.8fr);gap:22px;align-items:start}.payment-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.payment-method-card{display:flex!important;align-items:flex-start;gap:10px;padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--surface);cursor:pointer;min-width:0}.payment-method-card>input{width:auto!important;accent-color:var(--blue);margin-top:5px}.payment-method-card>svg{width:21px;color:var(--blue);margin-top:2px}.payment-method-card b{font-size:12px;display:block}.payment-method-card small{font-size:10px;color:var(--muted);display:block;line-height:1.9;margin-top:6px}.payment-method-card:has(input:checked){border-color:var(--blue);background:#00a5f808;box-shadow:0 0 0 2px #00a5f810}.bank-details{padding:18px;background:var(--bg);border:1px solid var(--line);border-radius:8px;margin-bottom:18px}.bank-details h3{margin-bottom:10px}.bank-details b{overflow-wrap:anywhere}.bank-details~label{margin:13px 0;display:grid;gap:7px;font-size:11px}.bank-details~label input{padding:11px 13px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);width:100%}.checkout-order-summary .data-row{gap:20px;align-items:flex-start}.checkout-order-summary .order-total{margin-top:18px}.card-payment-brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;color:var(--text)}.card-payment-brand>span{font:italic 900 32px Arial,sans-serif;color:var(--blue)}.card-fields{padding:0;border:0;display:grid;gap:16px}.card-fields label{display:grid;gap:7px;font-size:11px}.card-fields input{border:1px solid var(--line);border-radius:7px;padding:12px;background:var(--bg);color:var(--muted);width:100%}.stat-card>.btn{margin-top:13px;font-size:11px;padding:8px 14px;width:fit-content}.quick-order-lines input{width:100px;border:1px solid var(--line);border-radius:5px;padding:7px;background:var(--surface);color:var(--text)}@media(max-width:900px){.checkout-layout{grid-template-columns:1fr}}@media(max-width:600px){.payment-method-grid{grid-template-columns:1fr}.payment-method-card{padding:14px}}

.balance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.return-invoice-selector{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.return-invoice-selector label{display:grid;gap:8px;flex:1;min-width:200px;font-size:12px}.return-invoice-selector select,.return-reason textarea{padding:11px 13px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);width:100%}.return-invoice-summary{display:flex;gap:25px;justify-content:space-between;padding:18px;background:var(--bg);border-radius:7px;margin-bottom:22px;flex-wrap:wrap}.return-invoice-summary span{display:grid;gap:4px;font-size:11px;color:var(--muted)}.return-invoice-summary b{font-size:14px;color:var(--text)}.return-modes{padding:0;border:0;display:flex;gap:20px;flex-wrap:wrap;margin:0 0 18px}.return-modes legend{font-weight:700;margin-bottom:12px}.return-modes label{display:flex;align-items:center;gap:9px;padding:12px 16px;border:1px solid var(--line);border-radius:7px}.return-modes input,.return-selection-tools input{accent-color:var(--blue)}.return-selection-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.return-selection-tools small{color:var(--muted)}.return-quantity{width:85px;padding:8px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text)}.return-total{display:flex;justify-content:space-between;align-items:center;padding:18px;background:#00a5f80b;border-radius:7px;margin:20px 0 12px}.return-total strong{font-size:23px;color:var(--blue)}.return-reason{display:grid;gap:8px;margin:20px 0;font-size:12px}.return-lines-details{min-width:200px}.return-lines-details>summary{color:var(--blue);cursor:pointer}.return-lines-details>div{display:grid;gap:10px;padding:12px 0}.return-lines-details p{border-bottom:1px solid var(--line);padding-bottom:8px}

.return-modes input[type=radio]{width:16px!important;height:16px;min-width:16px;flex:0 0 16px;padding:0!important;margin:0;box-shadow:none}.return-modes label{min-height:54px;white-space:nowrap}

.billing-presets{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.billing-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:4px 0 8px}.billing-methods label{padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.billing-methods input{accent-color:var(--blue)}.reminder-message{white-space:normal;overflow-wrap:anywhere;line-height:2;max-width:550px}.dealer-reminder-card{scroll-margin-top:85px}.dealer-reminder-card:target{outline:2px solid #00a5f850}.dealer-reminder-card .panel-header h2{display:flex;align-items:center;gap:9px}.dealer-reminder-card .reminder-message{font-size:14px;max-width:none;margin:20px 0}.reminder-amount{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px;background:#00a5f80a;border-radius:8px}.reminder-amount strong{font-size:29px;color:var(--blue)}.reminder-card-actions{display:flex;align-items:center;gap:12px;margin-top:22px;flex-wrap:wrap}.reminder-notification-text{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:600px){.billing-methods{grid-template-columns:1fr}.reminder-amount{align-items:start;flex-direction:column}.billing-presets .btn{font-size:10px}}

.outlet-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;flex-wrap:wrap}.outlet-toolbar b{font-size:17px}.outlet-toolbar p{font-size:11px;margin-top:5px}.outlet-toolbar form{display:flex;gap:8px}.outlet-toolbar input{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:10px 13px;min-width:230px}.outlet-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.outlet-product-card{border:1px solid var(--line);border-radius:11px;background:var(--surface);overflow:hidden;display:flex;flex-direction:column}.outlet-photo{position:relative;background:#fff;display:grid;place-items:center;height:195px;padding:20px}.outlet-photo img{max-width:100%;width:100%;height:100%;object-fit:contain}.outlet-photo>svg{width:50px;height:50px;color:#a1aabd}.outlet-discount{position:absolute;top:13px;inset-inline-start:13px;background:var(--red);color:#fff;font-size:12px;font-weight:800;padding:5px 11px;border-radius:5px}.outlet-card-body{padding:18px;display:flex;flex-direction:column;flex:1}.outlet-card-body>small{font-size:10px}.outlet-card-body h2{font-size:14px;margin:9px 0;min-height:48px}.outlet-price{display:flex;align-items:baseline;gap:12px}.outlet-price strong{font-size:24px;color:var(--blue)}.outlet-price del{font-size:12px}.outlet-campaign-label{color:var(--red);margin-top:8px}.outlet-condition{font-size:10px;color:var(--muted);line-height:2;min-height:40px;margin:9px 0 16px}.outlet-buy{display:flex;gap:10px;align-items:end;margin-top:auto}.outlet-buy label{display:grid;gap:5px;font-size:10px;flex:0 0 72px}.outlet-buy input{width:72px;border:1px solid var(--line);border-radius:6px;padding:10px;background:var(--bg);color:var(--text)}.outlet-buy .btn{flex:1;padding:11px 10px;font-size:11px}.outlet-details-link{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin-top:15px}.outlet-details-link svg{width:13px;height:13px}.outlet-order-bar{position:sticky;bottom:18px;margin-top:24px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:14px;background:var(--surface);border:1px solid #00a5f838;border-radius:10px;box-shadow:0 8px 30px #0001;z-index:5}.outlet-order-bar small{display:block;color:var(--blue);font-size:10px}.outlet-order-bar .btn{font-size:12px}@media(min-width:1600px){.outlet-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.outlet-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.outlet-product-grid{grid-template-columns:1fr}.outlet-order-bar{align-items:stretch;flex-direction:column}.outlet-toolbar form{width:100%}.outlet-toolbar input{min-width:0;flex:1}.outlet-photo{height:220px}}

.outlet-photo{overflow:hidden}.outlet-photo img{height:155px;max-height:155px;min-height:0;display:block}.outlet-discount{direction:ltr;unicode-bidi:isolate}

.device-delete-dialog{width:min(460px,calc(100vw - 40px));padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 24px 80px #0004}.device-delete-dialog::backdrop{background:#10182790;backdrop-filter:blur(3px)}.device-delete-dialog h2{margin:0 0 12px;font-size:21px}.device-delete-dialog p{line-height:1.8;margin:12px 0}.device-delete-dialog .inline-form{margin-top:22px;gap:10px}

.return-receipt-confirm{display:flex;gap:10px;align-items:flex-start;padding:18px;background:var(--bg);border:1px solid var(--line);border-radius:10px;margin:16px 0}.return-receipt-confirm input{margin-top:7px}

.ledger-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.ledger-filter label{display:grid;gap:6px;min-width:180px;flex:1}.ledger-filter input{width:100%}.ledger-filter .btn{white-space:nowrap}.ledger-filter-panel .panel-body{padding:22px}.ledger-period-note{margin:14px 0 20px}.ledger-credit-breakdown{display:flex;gap:24px;flex-wrap:wrap;margin:16px 0;color:var(--muted)}.ledger-credit-breakdown b{color:var(--text);margin-inline-start:10px}.ledger-opening td{background:var(--bg)}.ledger-totals td{font-weight:800;background:#00a5f811;border-top:2px solid var(--blue)}.ledger-period-summary .stat-card{min-width:0}@media(max-width:600px){.ledger-filter label{min-width:0;flex-basis:calc(50% - 12px)}.ledger-filter .btn{flex:1}.ledger-filter-panel .panel-body{padding:16px}}
/* Numeric cell direction must not move values away from their column headings. */
html[dir=rtl] .table-scroll th,html[dir=rtl] .table-scroll td{text-align:right}
html[dir=ltr] .table-scroll th,html[dir=ltr] .table-scroll td{text-align:left}
html[dir=rtl] .stat-value{text-align:right}
html[dir=ltr] .stat-value{text-align:left}

.ledger-table-note{margin:16px 22px}

.campaign-products-meta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-bottom:14px}.campaign-products-meta>span{display:flex;gap:10px;align-items:center;color:var(--muted)}.campaign-products-meta b{color:var(--text)}.campaign-product-details{margin-top:14px;font-size:11px;color:var(--muted)}.campaign-product-details summary{cursor:pointer;color:var(--blue)}.campaign-product-details p{margin-top:8px}

.return-invoice-choices{width:100%;max-height:320px;overflow:auto;display:grid;gap:8px}.return-invoice-selector .return-invoice-choice{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px;border:1px solid var(--line);border-radius:8px;min-width:0}.return-invoice-choice>input[type=checkbox]{width:17px;min-width:17px;height:17px;accent-color:var(--blue)}.return-invoice-choice>span{display:grid;gap:4px}.return-invoice-choice small{font-size:10px;color:var(--muted)}.return-invoice-choice>.number{margin-inline-start:auto}.return-deadline{font-size:11px;color:var(--green,#00b96f)}.return-deadline.expired,.return-deadline.expired small{color:#ec4565}.return-source-invoice+.return-source-invoice{margin-top:28px;padding-top:28px;border-top:2px solid var(--line)}.return-quantity:disabled{opacity:.5}.return-source-invoice .table-wrap{margin-bottom:12px}

.inventory-import-form,.inventory-filter{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:20px 0}.inventory-import-form label,.inventory-filter label,.unit-sale-field{display:grid;gap:8px;font-size:12px}.inventory-import-form select,.inventory-filter select,.inventory-filter input,.unit-sale-field textarea{padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font:inherit}.unit-sale-field{margin-top:15px;min-width:230px}.unit-sale-field textarea{direction:ltr;min-height:85px}.unit-options{margin-top:10px;max-width:500px}.unit-options summary,.unit-return-options summary{color:var(--blue);cursor:pointer;font-size:11px}.unit-options>div{display:flex;gap:8px;flex-wrap:wrap;max-height:180px;overflow:auto;padding:10px}.unit-options span{background:var(--bg);border:1px solid var(--line);padding:4px 8px;border-radius:5px;font-size:11px}.unit-return-options{margin-top:10px;max-height:200px;overflow:auto}.unit-return-options label{display:flex;align-items:center;gap:8px;margin-top:6px}.unit-return-options input{width:16px;height:16px;accent-color:var(--blue)}

.inventory-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin:22px 0}@media(max-width:650px){.inventory-metrics{grid-template-columns:1fr}}

.integration-permissions{border:1px solid var(--line);padding:20px;border-radius:9px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:20px 0}.integration-permissions label{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px}.integration-permissions input,.integration-confirm input{width:17px;height:17px;accent-color:var(--blue)}.integration-permissions small{color:var(--muted);font-size:10px}.integration-once{padding:24px}.integration-once textarea{width:100%;font:14px monospace;padding:16px;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:8px}.integration-confirm{display:flex;align-items:center;gap:8px;font-size:11px;margin-bottom:10px}

.invoice-totals{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:16px;margin-top:20px}.invoice-subtotal{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:17px;color:var(--text);padding:18px;background:var(--bg);border:1px solid var(--line);border-radius:8px}.invoice-discount-box{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px;border:1px solid var(--line);border-radius:8px;font-size:12px}.invoice-discount-box label{flex:1;min-width:120px;display:grid;gap:7px;font-size:11px;color:var(--muted)}.invoice-discount-box input{font-size:15px}.invoice-discount-result{width:100%;display:flex;justify-content:space-between}.invoice-discount-box .mini-note{width:100%;font-size:10px;line-height:1.9}.invoice-net{grid-column:1/-1;display:flex;justify-content:space-between;gap:20px;padding:18px 0 0;border-top:1px solid var(--line);color:var(--blue);font-size:21px;font-weight:750}.invoice-discount-error{grid-column:1/-1;color:var(--red);font-size:12px}.invoice-discount-error[hidden]{display:none}@media(max-width:650px){.invoice-totals{grid-template-columns:1fr}.invoice-subtotal{font-size:15px}.invoice-net{font-size:19px}}@media print{.invoice-totals{grid-template-columns:1fr 1fr}.invoice-subtotal,.invoice-discount-box{background:transparent;color:black}.invoice-net{color:black}}

.invoice-shipping-box{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:8px;font-size:13px}.invoice-shipping-box label{display:grid;gap:7px;min-width:150px;font-size:12px}.invoice-shipping-box input{max-width:220px;font-size:16px}.invoice-shipping-box small{color:var(--muted);font-size:11px;line-height:1.8}@media(max-width:650px){.invoice-shipping-box{align-items:flex-start;flex-direction:column}.invoice-shipping-box label,.invoice-shipping-box input{width:100%;max-width:none}}
