.preview-ribbon{min-height:36px;background:#30203f;border-bottom:1px solid #624181;color:#d8c5ed;padding:8px 28px;display:flex;align-items:center;gap:14px;font-size:11px}.preview-ribbon strong{letter-spacing:1.2px;color:#eadcff;font-size:10px}.preview-ribbon button{margin-left:auto;border:0;background:none;color:#d4b5ff;text-decoration:underline;font-size:11px}.topbar{height:80px}.view-switch{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted)}.view-switch select{max-width:190px;padding:8px 30px 8px 12px;border:1px solid #5e417c;border-radius:9px;background:#251931;color:#e3cffd}.sidebar .brand-product{letter-spacing:2px;font-size:10px}.seller-hero{padding:25px;display:flex;gap:20px;align-items:center;justify-content:space-between;border:1px solid #614083;border-radius:17px;background:radial-gradient(ellipse at top right,#4e2c713d,transparent 70%),#1c1428;margin-bottom:23px}.seller-hero h2{font-size:21px;margin:7px 0}.seller-hero p{color:#ab9dbd;font-size:12px;max-width:620px}.commission-amount{font-size:28px;color:#c4a4ff;font-weight:650;letter-spacing:-1px;white-space:nowrap}.commission-amount small{font-size:11px;color:#ac95bf;letter-spacing:0;display:block;font-weight:400}.seller-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.seller-card{padding:23px;border:1px solid var(--line);border-radius:17px;background:var(--surface)}.seller-card header{display:flex;gap:13px;align-items:center;margin-bottom:20px}.seller-card header>div{flex:1}.seller-card h3{font-size:16px}.seller-card .summary-line{font-size:12px;margin:12px 0}.seller-card .seller-actions{display:flex;gap:9px;margin-top:20px}.seller-permissions{margin:20px 0;padding:15px 18px;background:#20162c;border:1px solid #3c2a50;border-radius:11px;color:#b7a5cb;font-size:12px}.commission-review{margin-top:22px;border:1px solid #624183;border-radius:13px;padding:18px;background:#251733}.commission-review h3{display:flex;gap:8px;color:#d9c0ff;margin-bottom:12px}.commission-review .summary-line{font-size:12px;margin:10px 0}.commission-review p{font-size:11px;color:#b7a1cb;line-height:1.7;margin-top:12px}.account-empty{border:1px dashed #5e4475;border-radius:17px;min-height:240px;padding:28px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;color:#bca5ce;background:#1a1222}.commission-notes{font-size:11px;line-height:1.8;color:#9f8fb3;margin-top:18px}.panel-body .summary-list{padding-top:12px}.owner-summary{padding:0 22px 22px}.seller-balance-note{display:flex;align-items:center;gap:10px;margin:17px 0;color:#bda8d3;font-size:12px}.table-footer{gap:15px}.pending-commission{color:var(--amber)}.preview-ribbon+header .demo-badge{display:none}.preview-security{margin-top:18px;color:#a08cb2;font-size:11px;line-height:1.7}input[readonly]{background:#201a28;color:#b6a6c5}.commissions-table td{vertical-align:middle}.commissions-table .btn{white-space:nowrap}.sellers-stats{margin-bottom:24px}.sellers-stats .stat-value{font-size:25px}.mobile-nav{overflow-x:auto}.mobile-nav button{min-width:55px}.view-empty{padding:45px 25px;text-align:center;color:var(--muted)}
@media(max-width:1050px){.seller-grid{grid-template-columns:1fr}.preview-ribbon{padding:8px 20px;flex-wrap:wrap;gap:5px 12px}.preview-ribbon span{font-size:10px}.seller-hero{align-items:flex-start}.topbar-right{gap:8px}.view-switch select{max-width:160px}}
@media(max-width:700px){.preview-ribbon{padding:8px 17px}.preview-ribbon span{max-width:220px}.preview-ribbon button{font-size:10px}.view-switch{gap:6px}.view-switch>span{display:none}.view-switch select{max-width:160px;font-size:11px}.topbar{height:65px}.seller-hero{padding:19px;flex-direction:column;gap:16px}.seller-hero h2{font-size:19px}.seller-hero p{font-size:11px}.seller-card{padding:19px}.commission-amount{font-size:25px}.seller-permissions{font-size:11px}.commission-review{padding:15px}.commission-review .summary-line{font-size:11px}.commissions-table th,.commissions-table td{padding-left:13px;padding-right:13px}.sellers-stats .stat-value{font-size:21px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile{margin-top:10px}.heading-actions{flex-wrap:wrap}}
.nav-item[hidden]{display:none!important}

.sidebar #navigation{overflow-y:auto;min-height:0;flex:1}.sidebar-bottom{flex-shrink:0}.seller-card input{max-width:100%}
.equipment-photo-editor{border-top:1px solid var(--border);padding-top:22px}.equipment-photo-editor h3{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}.equipment-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.equipment-gallery>p{grid-column:1/-1}.equipment-photo{min-width:0;border:1px solid var(--border);border-radius:12px;padding:8px;background:#15101f}.equipment-photo img{display:block;width:100%;height:170px;object-fit:contain;border-radius:8px;background:#0c0912}.equipment-photo .btn{width:100%;justify-content:center;margin-top:9px;white-space:normal;font-size:11px}.photo-gallery-button{margin:14px 0 2px;width:100%;justify-content:center}.equipment-photo-editor input[type=file]{padding:12px;max-width:100%;height:auto}.equipment-photo-editor input::file-selector-button{border:1px solid #58406b;background:#2b193f;color:#e5cef6;padding:8px;border-radius:8px;margin-right:10px}@media(max-width:700px){.equipment-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-photo img{height:140px}}

.device-art .equipment-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;background:#100c17}.device-art.has-equipment-cover>.phone-thumb{visibility:hidden}.device-art>.badge,.device-art>.battery{z-index:2}.device-art.has-equipment-cover>.battery{background:#17121ed9;border-radius:7px;padding:3px 6px}.device-art.has-equipment-cover{height:200px}

.plan-options{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}.custom-plan-fields{margin:16px 0}.custom-plan-fields .field-help{grid-column:1/-1}

@media (prefers-reduced-motion:no-preference){.device-card{animation:inventory-reveal .24s ease-out both;transition:border-color .18s,transform .18s}.device-card:hover{transform:translateY(-3px);border-color:#8e62c5}@keyframes inventory-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}

#device-form .field[hidden]{display:none}

.catalog-home{max-width:1450px;margin-inline:auto}
.catalog-hero{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:20px;min-height:184px;padding:clamp(22px,4vw,40px);margin-bottom:23px;border:1px solid #593e76;border-radius:22px;background:radial-gradient(ellipse at 91% 10%,#563778,transparent 58%),linear-gradient(133deg,#291a3b,#181220);box-shadow:0 18px 30px #08060d36}
.catalog-hero h1{font-size:clamp(36px,6vw,60px);line-height:1.06;margin:6px 0 12px;letter-spacing:-.055em}
.catalog-hero .eyebrow{margin:0;color:#d5aeff}.catalog-count{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0;color:#d3c0e6}.catalog-count strong{color:#ece1f6}
.catalog-home .device-grid{gap:18px;grid-template-columns:repeat(auto-fill,minmax(min(100%,255px),1fr))}
.catalog-home .device-card{border-radius:18px;min-width:0;background:linear-gradient(155deg,#21192d,#17131f 66%);border-color:#423151}
.catalog-home .device-art{height:clamp(175px,18vw,225px);background:radial-gradient(ellipse at 50% 70%,#543c70,#21172e 70%)}
.catalog-home .device-art img.equipment-cover{width:100%;height:100%;object-fit:contain;object-position:center}
.catalog-home .device-card-body{padding:16px}.catalog-home .device-card-body h3{font-size:19px;margin-bottom:6px}
.catalog-home .device-prices{padding:10px 12px;background:#110d19;border:1px solid #3d2c50;border-radius:11px}
.catalog-home .device-prices strong{font-size:17px}.catalog-home .device-prices span{color:#c4b1d8}
.catalog-home .device-card-actions .btn{background:#7849c4;color:white;border-color:#a881e9}
@media(max-width:520px){.catalog-hero{min-height:0}.catalog-hero .btn{width:100%}}
#main{--catalog-line:#42334f;--catalog-muted:#c9b7db}
#main>.page-heading:not(:has(+.catalog-home)){padding:22px clamp(16px,3vw,31px);border:1px solid #503865;border-radius:20px;background:radial-gradient(ellipse at 94% 4%,#493365 0,transparent 60%),#1c1428;margin-bottom:20px}
#main>.page-heading h1{letter-spacing:-.045em}
#main>.page-heading p{color:var(--catalog-muted)}
#main .panel,#main .table-wrap{border-radius:15px}
#main .stats-grid>*,#main .device-card{border-color:var(--catalog-line)}
#main .stats-grid>*{background:linear-gradient(140deg,#281c37,#191420);border-radius:16px}
#main .table-wrap tbody tr:hover{background:#251b32}
#modal-content:has(.stepper){border:1px solid #5a416e;border-radius:22px;background:#1b1426}
#modal-content:has(.stepper) .modal-header{background:radial-gradient(ellipse at 100% 0,#442b62,transparent 72%),#221830;border-bottom:1px solid #493854}
#modal-content:has(.stepper) .modal-header h2{font-size:24px;letter-spacing:-.035em}
#modal-content .stepper{padding:12px 16px;gap:8px}
#modal-content .stepper .step{padding:8px 9px;border:1px solid #44324e;border-radius:11px;font-weight:650;color:#c7b6d8}
#modal-content .stepper .step.active{border-color:#a67be5;background:#3a2851;color:#f5e8ff}
#modal-content:has(.stepper) .form-section{background:#21182c;border:1px solid #43334f;border-radius:15px;padding:clamp(12px,2.4vw,20px);margin:0 0 14px}
#modal-content:has(.stepper) :is(input,select){min-height:39px;border-color:#51405e;border-radius:10px}
#modal-content:has(.stepper) .modal-footer{background:#21172d}
@media(prefers-reduced-motion:no-preference){
 #main .stats-grid>*,#main .page-heading,#modal-content:has(.stepper) .modal-body{animation:inventory-reveal .23s ease-out both}
}
