:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1f2933;background:#edf3f5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:0;background:#10605a;color:#fff;min-height:40px;padding:0 14px;border-radius:6px;cursor:pointer;font-weight:700;box-shadow:0 1px #102a350f;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}button:hover:not(:disabled){filter:brightness(1.03);transform:translateY(-1px);box-shadow:0 8px 18px #102a3524}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:#2f4858}button.ghost{background:transparent;border:1px solid #c8d2d8;color:#2f4858}button.danger{background:#a63232}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:min(920px,100%);display:grid;grid-template-columns:1fr 360px;gap:32px;background:#fff;border:1px solid #d9e1e5;border-radius:8px;padding:32px}.app-shell{min-height:100vh;display:grid;grid-template-columns:296px minmax(0,1fr);background:linear-gradient(180deg,#ffffff85,#fff0),#edf3f5}.sidebar{position:sticky;top:0;height:100vh;background:radial-gradient(circle at 20% 0%,rgba(242,193,78,.12),transparent 28%),linear-gradient(180deg,#132d39,#0f2630);color:#fff;padding:24px;display:flex;flex-direction:column;gap:18px;border-right:1px solid rgba(255,255,255,.08)}.sidebar .muted{color:#c2d4dd}.brand-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff0d}.brand-card img,.brand-card>span{width:64px;height:64px;display:grid;place-items:center;object-fit:contain;border-radius:8px;background:#fff;color:#132d39;font-size:26px;font-weight:900;padding:6px}.brand-card h2,.brand-card p{margin:0}.brand-card h2{overflow-wrap:anywhere}.tv-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;background:#f2c14e;color:#172f3a;border-radius:6px;text-decoration:none;font-weight:800}.workspace{width:min(100%,1680px);padding:24px;display:grid;gap:18px;align-content:start;justify-self:center}.header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px;border:1px solid #d9e1e5;border-radius:8px;background:radial-gradient(circle at 96% 0%,rgba(58,134,255,.11),transparent 24%),#fff;box-shadow:0 12px 34px #102a350d}.header h1{margin-bottom:6px;font-size:clamp(28px,3vw,42px)}.panel-livebar{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}h1,h2,h3,h4,p{margin-top:0}.eyebrow{color:#10605a;font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:0}.muted{color:#5c6f7b}.error{color:#a63232;font-weight:700}.status-ok{color:#0d6f63;font-weight:700}.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.info-card{min-height:116px;display:grid;align-content:start;gap:8px;padding:16px;border:1px solid #d9e1e5;border-radius:8px;background:#fff;box-shadow:0 10px 28px #102a350a}.info-card span{color:#5c6f7b;font-size:12px;font-weight:900;text-transform:uppercase}.info-card strong{color:#102a35;font-size:clamp(18px,2vw,25px);line-height:1.1;overflow-wrap:anywhere}.info-card small{color:#5c6f7b;font-weight:650}.info-card.ok{border-color:#0d6f6347;box-shadow:inset 4px 0 #0d6f63,0 10px 28px #102a350a}.info-card.gold{border-color:#f2c14e6b;box-shadow:inset 4px 0 #f2c14e,0 10px 28px #102a350a}.grid.two{display:grid;grid-template-columns:minmax(360px,.88fr) minmax(520px,1.12fr);gap:18px}.panel,.mode-card{background:#fff;border:1px solid #d9e1e5;border-radius:8px;padding:18px;box-shadow:0 10px 28px #102a350a}.form,.panel{display:grid;gap:12px}.field{display:grid;gap:6px}.field span{color:#334e5c;font-size:13px;font-weight:700}input,select{width:100%;min-height:40px;border:1px solid #c8d2d8;border-radius:6px;padding:0 10px;background:#fff}.small-input{width:72px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.panel-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title-row h3{margin:0}.current-product{display:flex;gap:12px;align-items:center;border:1px solid #d9e1e5;border-radius:8px;padding:10px}.current-product img{width:72px;height:72px;object-fit:cover;border-radius:6px}.current-product div{display:grid;gap:4px}.current-product small{color:#0d6f63;font-size:11px;font-weight:900;text-transform:uppercase}.product-studio{padding:0;overflow:hidden;gap:0;box-shadow:0 18px 46px #102a3514}.studio-hero{min-height:168px;display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.7fr);gap:18px;align-items:stretch;padding:18px;background:radial-gradient(circle at 86% 12%,rgba(46,196,182,.24),transparent 26%),linear-gradient(135deg,#223149,#101620 72%);color:#fff}.studio-copy{display:grid;align-content:center;gap:8px}.studio-copy .eyebrow{color:#f2c14e;margin:0}.studio-copy h3{color:#fff;font-size:clamp(28px,3.2vw,44px);line-height:1;margin:0}.studio-copy p{max-width:420px;color:#ffffffc2;margin:0}.studio-preview{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:center;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:12px;background:#ffffff0f}.studio-preview div:last-child{display:grid;gap:6px;min-width:0}.studio-preview strong{color:#fff;font-size:20px;overflow-wrap:anywhere}.studio-preview span{color:#f2c14e;font-weight:900}.preview-media{width:112px;height:112px;display:grid;place-items:center;border:1px dashed rgba(255,255,255,.24);border-radius:8px;background:linear-gradient(145deg,#f2c14e2e,#2ec4b61f),#00000029;color:#ffffffd1;font-size:13px;font-weight:800;text-align:center}.preview-media.has-media{border-style:solid;background:#fffffff2}.preview-media img{width:100%;height:100%;object-fit:contain;border-radius:6px}.current-product-rich{margin:18px 18px 0;background:#f8fafb}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.82fr);gap:14px;padding:18px}.studio-card{display:grid;gap:12px;border:1px solid #d9e1e5;border-radius:8px;padding:14px;background:linear-gradient(180deg,#fff,#f8fafb)}.product-studio>.studio-card{margin:0 18px 18px}.studio-grid .studio-card{margin:0}.section-label{display:flex;align-items:center;gap:10px;color:#102a35}.section-label span{width:7px;height:24px;border-radius:999px;background:#f2c14e}.section-label.teal span{background:#2ec4b6}.section-label.blue span{background:#3a86ff}.section-label strong{font-size:17px}.mode-choice-grid{display:grid;gap:10px}.mode-choice{width:100%;min-height:72px;display:grid;justify-items:start;gap:4px;padding:12px;border:1px solid #c8d2d8;background:#fff;color:#102a35;text-align:left}.mode-choice strong{font-size:15px}.mode-choice span{color:#5c6f7b;font-size:13px;font-weight:700}.mode-choice.active{border-color:#2ec4b6;background:linear-gradient(135deg,#2ec4b629,#3a86ff1a);box-shadow:inset 4px 0 #2ec4b6}.mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-price-grid{display:grid;grid-template-columns:repeat(10,minmax(54px,1fr));gap:8px}.price-chip{min-height:66px;display:grid;place-items:center;gap:0;padding:8px;border-radius:8px;color:#fff;box-shadow:0 8px 18px #102a3524}.price-chip strong{font-size:24px;line-height:1}.price-chip span{color:#ffffffe0;font-size:11px}.price-chip.tone-0{background:linear-gradient(135deg,#2ec4b6,#0fa3b1)}.price-chip.tone-1{background:linear-gradient(135deg,#f2c14e,#f9844a);color:#102a35}.price-chip.tone-1 span{color:#102a35c7}.price-chip.tone-2{background:linear-gradient(135deg,#3a86ff,#00b4d8)}.price-chip.tone-3{background:linear-gradient(135deg,#ef476f,#f78c6b)}.custom-price-row{display:grid;grid-template-columns:minmax(160px,1fr) auto auto auto auto;gap:8px;align-items:end}.operations-grid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(360px,1.05fr);grid-template-areas:"settings modes" "settings simulator";gap:18px;align-items:start}.settings-panel{grid-area:settings}.modes-panel{grid-area:modes}.simulator-panel{grid-area:simulator}.mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mode-card p{color:#5c6f7b;min-height:42px}.simulator{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(180px,1fr) auto minmax(150px,.8fr) auto;gap:10px;align-items:end}.sales-list{display:grid;gap:8px}.sales-toolbar{display:grid;grid-template-columns:minmax(180px,280px) auto auto 1fr;gap:8px;align-items:end}.sales-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.summary-box{border:1px solid #d9e1e5;border-radius:8px;padding:12px;display:grid;gap:6px;background:#f8fafb}.summary-box span{color:#5c6f7b;font-size:12px;font-weight:700}.summary-box strong{color:#102a35;font-size:18px}.sale-row{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;border:1px solid #d9e1e5;border-radius:8px;padding:10px}.sale-row img,.sale-thumb{width:56px;height:56px;object-fit:cover;border-radius:6px;background:#eef2f3}.sale-row div,.sale-meta{display:grid;gap:4px}.sale-row span{color:#5c6f7b}.sale-meta{text-align:right}.tv-screen{min-height:100vh;background:radial-gradient(circle at 82% 18%,rgba(242,193,78,.08),transparent 28%),linear-gradient(135deg,#0d2630,#102f3b 48%,#0a1e27);color:#fff;padding:32px;display:grid;grid-template-rows:auto 1fr auto;gap:24px}.tv-screen header{display:flex;align-items:center;justify-content:space-between;gap:16px}.tv-brand{display:flex;align-items:center;gap:16px}.tv-brand img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:8px;padding:6px}.status-pill{display:inline-flex;align-items:center;min-height:32px;padding:6px 12px;border-radius:999px;background:#ffffff1a;color:#d8e7ec;font-size:13px;font-weight:800}.status-pill.ok{background:#0d6f63;color:#fff}.status-pill.warn{background:#f2c14e;color:#102a35}.status-pill.idle{background:#ffffff1f}.tv-product{display:grid;grid-template-columns:minmax(280px,42vw) 1fr;gap:32px;align-items:center;min-height:58vh}.tv-product-banner{align-self:center;justify-self:center;width:min(100%,1380px);min-height:min(58vh,620px);display:grid;grid-template-columns:minmax(300px,48%) 1fr;align-items:center;gap:28px;padding:28px;border-radius:20px;border:2px solid rgba(44,217,255,.66);background:radial-gradient(circle at 92% 8%,rgba(44,217,255,.2),transparent 24%),radial-gradient(circle at 8% 100%,rgba(79,255,200,.12),transparent 28%),linear-gradient(135deg,#132a4af5,#070c16f5);box-shadow:0 28px 90px #0000006b,0 0 28px #2cd9ff1f}.tv-product-banner.no-image{grid-template-columns:minmax(280px,42%) 1fr}.tv-product-media{min-width:0}.tv-product-media img{width:100%;height:min(58vh,560px);object-fit:contain;border-radius:16px;border:1px solid rgba(44,217,255,.42);background:#061920b8;box-shadow:0 20px 60px #00000057,0 0 22px #2cd9ff1a}.tv-product-info{min-width:0;display:grid;justify-items:start;gap:12px}.tv-product-info p{color:#fffffff0;font-size:clamp(24px,2.6vw,38px);font-weight:800}.tv-product-info h2{width:100%;color:#fff;font-size:clamp(44px,6.8vw,92px);line-height:1.02;font-weight:900;overflow-wrap:anywhere;text-shadow:0 4px 16px rgba(0,0,0,.55)}.tv-product-info>strong{display:inline-flex;padding:10px 26px;border-radius:16px;border:1px solid rgba(255,224,119,.54);background:linear-gradient(135deg,#ffe0773d,#ffc34a1f);color:#f2c14e;font-size:clamp(42px,6vw,112px);line-height:1;font-weight:950;box-shadow:0 0 22px #ffc34a2e}.tv-product-info em{color:#fffffff0;font-size:clamp(20px,2.2vw,32px);font-style:normal;font-weight:800}.live-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:999px;border:1px solid rgba(44,217,255,.48);background:linear-gradient(135deg,#4fffc833,#2cd9ff24);color:#fff;font-size:13px;font-weight:900;letter-spacing:.9px;text-transform:uppercase}.live-badge span{width:9px;height:9px;border-radius:999px;background:#4fffc8;box-shadow:0 0 8px #4fffc8bf}.tv-product img{width:100%;height:min(58vh,560px);object-fit:contain;background:#061920b8;border-radius:8px;box-shadow:0 24px 80px #00000047}.tv-placeholder{display:flex;min-height:min(58vh,560px);align-items:center;justify-content:center;flex-direction:column;gap:10px;background:linear-gradient(145deg,#f2c14e38,#0d6f632e),#061920c7;border-radius:8px;border:1px solid rgba(255,255,255,.1);color:#fff;text-align:center;padding:32px;box-shadow:0 24px 80px #00000047}.tv-placeholder span{color:#2ad0bd;font-size:clamp(15px,1.4vw,20px);font-weight:900;text-transform:uppercase}.tv-placeholder strong{color:#fff;font-size:clamp(38px,5vw,78px);line-height:1}.tv-placeholder small{color:#f2c14e;font-size:clamp(28px,4vw,56px);font-weight:800}.tv-product h2{font-size:clamp(42px,6vw,88px);line-height:1;margin-bottom:18px}.tv-product strong{font-size:clamp(34px,4vw,64px);color:#f2c14e}.tv-status{min-height:120px;padding-top:6px;border-top:1px solid rgba(255,255,255,.1)}.tv-winner-hero,.tv-auction-card,.tv-multi-card{border-radius:22px;border:2px solid rgba(242,193,78,.72);background:linear-gradient(180deg,#1a222cf5,#0e1117f0);box-shadow:0 22px 70px #00000070}.tv-winner-hero{padding:18px 30px;text-align:center;display:grid;gap:4px}.tv-winner-hero span,.tv-auction-card span{color:#f2c14e;font-size:clamp(20px,2vw,30px);font-weight:950;letter-spacing:2px;text-transform:uppercase}.tv-winner-hero strong{color:#fff;font-size:clamp(58px,7vw,116px);line-height:1;font-weight:950;overflow-wrap:anywhere}.tv-winner-hero small{color:#ffffffe6;font-size:clamp(22px,2.4vw,38px);font-weight:800}.tv-auction-card{width:min(100%,860px);margin:0 auto;padding:24px 42px;text-align:center;border-color:#f2c14ed1}.tv-auction-card strong{display:block;color:#f2c14e;font-size:clamp(72px,10vw,150px);line-height:1;font-weight:950}.tv-auction-card p{color:#fff;font-size:clamp(26px,3vw,46px);font-weight:850}.tv-multi-card{width:min(100%,1380px);margin:0 auto;padding:22px;border-color:#2cd9ff80}.tv-multi-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.tv-multi-head h2{margin:0;color:#fff;font-size:clamp(30px,3vw,44px);letter-spacing:1.4px}.tv-multi-head span{border:1px solid rgba(44,217,255,.62);border-radius:999px;padding:8px 16px;background:#182332bf;color:#fff;font-size:clamp(18px,1.8vw,26px);font-weight:900}.tv-multi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px}.tv-slot{min-height:104px;display:grid;place-items:center;gap:4px;border-radius:14px;border:1px solid #2a3444;background:#0f141e;color:#b6bfcc;box-shadow:0 12px 28px #00000047}.tv-slot.filled{border-color:#4dd0e194;background:#182332;color:#fff}.tv-slot small{color:#f2c14e;font-weight:900}.tv-slot strong{font-size:clamp(18px,2vw,30px);text-align:center;overflow-wrap:anywhere}.tv-hint,.winner-pill{display:inline-flex;margin:6px 8px 0 0;background:#f2c14e;color:#102a35;border-radius:999px;padding:8px 14px;font-weight:800}.compact-note{margin-top:8px;font-size:13px}@media(max-width:900px){.auth-panel,.app-shell,.grid.two,.overview-grid,.operations-grid,.mode-grid,.simulator,.sales-toolbar,.sales-summary,.tv-product,.tv-product-banner,.studio-hero,.studio-grid,.custom-price-row{grid-template-columns:1fr}.operations-grid{grid-template-areas:"settings" "modes" "simulator"}.quick-price-grid{grid-template-columns:repeat(5,minmax(54px,1fr))}.sidebar{position:static;height:auto;min-height:auto;padding:16px}.app-shell{display:block}.workspace{padding:14px}.header{align-items:stretch;flex-direction:column;padding:16px}.header>button{width:100%}.panel-livebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.status-pill{justify-content:center;text-align:center}.brand-card{grid-template-columns:52px minmax(0,1fr)}.brand-card img,.brand-card>span{width:52px;height:52px}.studio-hero{padding:16px}.studio-preview{grid-template-columns:88px minmax(0,1fr)}.preview-media{width:88px;height:88px}.studio-grid{padding:14px}.product-studio>.studio-card{margin:0 14px 14px}.current-product-rich{margin:14px 14px 0}.mode-options{grid-template-columns:1fr}.sales-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-row{grid-template-columns:48px 1fr}.sale-meta{grid-column:1 / -1;text-align:left}.actions,.custom-price-row{align-items:stretch}.actions button,.custom-price-row button{width:100%}.tv-screen header{align-items:flex-start;flex-direction:column}}@media(min-width:901px)and (max-width:1280px){.app-shell{grid-template-columns:252px minmax(0,1fr)}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-grid{grid-template-columns:1fr;grid-template-areas:"settings" "modes" "simulator"}.simulator{grid-template-columns:repeat(2,minmax(0,1fr))}.simulator button{width:100%}.quick-price-grid{grid-template-columns:repeat(5,minmax(54px,1fr))}.custom-price-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
