:root{color-scheme:dark;--bg:#110810;--surface:rgba(35,15,32,.91);--surface2:rgba(51,24,47,.91);--surface3:rgba(26,9,27,.86);--line:rgba(255,144,218,.23);--line-strong:rgba(255,99,189,.58);--text:#fff0f9;--muted:#d2a6c8;--accent:#ff51bb;--accent2:#aa4eff;--accent-rgb:255,81,187;--gold:#ffbba9;--positive:#65e4a7;--danger:#ff8f97;--ambient:url('img/ambient-neon.webp');--art:url('img/art-neon.webp');--master:url('img/master-neon.webp');--glow:0 0 24px rgba(255,65,185,.15);--shadow:0 16px 40px rgba(2,0,10,.39);--radius:17px;--heading:'Georgia',serif}
[data-theme="champagne"]{--bg:#140c08;--surface:rgba(37,24,18,.94);--surface2:rgba(57,39,24,.90);--surface3:rgba(26,14,10,.91);--line:rgba(239,192,115,.28);--line-strong:rgba(255,208,127,.7);--text:#fff5e6;--muted:#c9ad94;--accent:#edbe75;--accent2:#fff0be;--accent-rgb:237,190,117;--gold:#f4d3a2;--ambient:url('img/ambient-champagne.webp');--art:url('img/art-champagne.webp');--master:url('img/master-champagne.webp');--glow:0 0 28px rgba(225,171,92,.13);--radius:15px}
[data-theme="rubi"]{--bg:#1d0710;--surface:rgba(55,12,27,.92);--surface2:rgba(84,19,41,.88);--surface3:rgba(42,9,20,.91);--line:rgba(255,125,148,.25);--line-strong:rgba(255,130,149,.65);--text:#fff0ef;--muted:#dcb2bb;--accent:#f86f91;--accent2:#f6b294;--accent-rgb:248,111,145;--gold:#f2baa1;--ambient:url('img/ambient-rubi.webp');--art:url('img/art-rubi.webp');--master:url('img/master-rubi.webp');--glow:0 0 26px rgba(255,57,113,.16);--radius:16px}
*{box-sizing:border-box}html{min-height:100%;scrollbar-color:rgba(var(--accent-rgb),.35) transparent}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 'Segoe UI',Arial,sans-serif}body::before{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(100deg,rgba(15,6,14,.68),rgba(16,5,14,.45)),var(--ambient) center/cover no-repeat;filter:saturate(1.3)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}strong{font-weight:700}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--heading);line-height:1.12}h1{font-size:clamp(32px,3.2vw,48px);font-weight:500;letter-spacing:-.02em;margin-bottom:9px}h1 em{font-weight:400;color:var(--accent);font-style:italic}h2{font-size:25px;font-weight:500;margin-bottom:12px}h3{font-size:20px;font-weight:500}.ico{height:20px;width:20px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;vertical-align:middle;flex-shrink:0}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}kbd{display:inline-block;border:1px solid var(--line-strong);padding:0 5px;border-radius:5px;color:var(--text);font:12px/1.5 monospace;background:rgba(255,255,255,.07)}
.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh;max-width:2200px;margin:auto;border-left:1px solid var(--line);border-right:1px solid var(--line)}.sidebar{display:flex;flex-direction:column;position:sticky;top:0;height:100vh;background:linear-gradient(180deg,rgba(12,7,11,.97),rgba(21,8,18,.96));border-right:1px solid var(--line);overflow:hidden;z-index:10}.brand{display:flex;align-items:center;gap:10px;padding:24px 17px 18px;min-height:108px}.brand-mark{width:46px;height:50px;filter:drop-shadow(0 0 12px rgba(var(--accent-rgb),.45))}.brand-copy{min-width:0;display:flex;flex-direction:column}.brand-name{font-family:Georgia,serif;line-height:1.04;font-size:21px;font-weight:600;color:var(--gold);overflow-wrap:anywhere}.brand-copy small{font-size:9px;color:var(--muted);letter-spacing:.16em;margin-top:6px}.sidebar-line{height:1px;margin:0 18px 23px;background:linear-gradient(90deg,transparent,var(--line-strong),transparent)}.menu{padding:0 10px;display:flex;flex-direction:column;gap:5px}.menu-link{display:flex;align-items:center;gap:13px;padding:12px 14px;border:1px solid transparent;border-radius:10px;color:#dfc9d8;font-size:14px;transition:.2s}.menu-link .ico{width:21px;height:21px}.menu-link.active{border-color:var(--line-strong);color:var(--text);background:linear-gradient(100deg,rgba(var(--accent-rgb),.33),rgba(var(--accent-rgb),.10));box-shadow:inset 0 0 16px rgba(var(--accent-rgb),.12),0 0 18px rgba(var(--accent-rgb),.17)}.menu-link:hover{background:rgba(var(--accent-rgb),.11)}.side-art{flex:1;min-height:150px;background:linear-gradient(180deg,rgba(12,7,11,.7),rgba(10,5,10,.04) 65%,rgba(15,7,10,.36)),var(--art) center 44%/cover no-repeat;opacity:.86;mask-image:linear-gradient(transparent,black 30%,black 76%,transparent)}.sidebar-bottom{padding:15px;border-top:1px solid var(--line);background:rgba(12,7,11,.66)}.sidebar-role{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;letter-spacing:.1em;margin-bottom:12px}.sidebar-role .ico{width:14px;height:14px}.logout-btn{display:flex;align-items:center;justify-content:center;gap:8px;background:rgba(var(--accent-rgb),.08);color:var(--text);border:1px solid var(--line);padding:8px 16px;width:100%;border-radius:8px}.logout-btn:hover{border-color:var(--accent)}.logout-btn .ico{width:16px}
.main-shell{min-width:0;display:flex;flex-direction:column}.topbar{display:flex;justify-content:space-between;align-items:center;gap:14px;background:linear-gradient(90deg,rgba(21,8,18,.92),rgba(22,8,17,.79));padding:13px 27px;border-bottom:1px solid var(--line);min-height:76px;box-shadow:0 6px 28px rgba(0,0,0,.15)}.top-left{display:flex;align-items:center;gap:12px;min-width:0}.top-logo{width:36px;height:36px;color:var(--gold)}.top-left div{display:flex;flex-direction:column;min-width:0}.top-left strong{font:25px/1.1 Georgia,serif;color:var(--gold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-left span{color:var(--muted);font-size:11px;margin-top:4px;letter-spacing:.03em}.top-right{display:flex;align-items:center;gap:13px;white-space:nowrap}.live-pill,.date-pill,.user-pill{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--line);background:rgba(35,15,29,.72);border-radius:22px;font-size:12px}.live-pill{color:#72e6b0;border-color:rgba(88,204,143,.45)}.live-dot{display:inline-block;width:8px;height:8px;background:#5ee49c;border-radius:50%;box-shadow:0 0 11px #5ee49c}.top-right .ico{width:16px;height:16px;color:var(--gold)}.user-pill span{color:var(--muted);font-size:10px}.mobile-menu{display:none}.content{width:100%;max-width:1850px;margin:0 auto;padding:25px 22px 55px;flex:1;min-width:0}.footer{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding:14px 25px;color:var(--muted);font-size:11px;background:rgba(18,7,12,.66);border-top:1px solid var(--line)}.footer span{display:flex;gap:7px;align-items:center}.footer .ico{height:13px;width:13px;color:var(--positive)}
.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;min-width:0;margin:0 0 23px;padding:1px 5px}.page-head h1{margin:0 0 5px}.page-head p:last-child{margin:0;color:var(--muted);font-size:13px}.eyebrow{font-size:11px;color:var(--gold);letter-spacing:.27em;margin-bottom:8px;text-transform:uppercase}.head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 17px;border-radius:10px;border:1px solid var(--line-strong);color:var(--text);background:rgba(var(--accent-rgb),.13);font-weight:600;transition:transform .15s,box-shadow .15s;white-space:nowrap}.btn .ico{width:18px;height:18px}.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--glow)}.btn.primary{background:linear-gradient(110deg,rgba(var(--accent-rgb),.69),rgba(var(--accent-rgb),.32));box-shadow:inset 0 1px rgba(255,255,255,.22),0 8px 18px rgba(var(--accent-rgb),.14);border-color:var(--line-strong)}[data-theme="champagne"] .btn.primary{background:linear-gradient(110deg,#ffe1a4,#b7792e);color:#2b170a;text-shadow:none}[data-theme="rubi"] .btn.primary{background:linear-gradient(110deg,#e74c73,#9e1f43)}.btn.outline{background:linear-gradient(125deg,rgba(255,255,255,.06),rgba(var(--accent-rgb),.07));border-color:var(--line)}.btn.small{font-size:12px;padding:7px 11px}.btn-block{width:100%}.btn-outline:hover{border-color:var(--accent)}
.card{background:linear-gradient(145deg,var(--surface),var(--surface3));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:21px;backdrop-filter:blur(14px);position:relative}.card::before{content:"";pointer-events:none;position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,rgba(255,255,255,.035),transparent 45%)}.card>*{position:relative}.card h2{margin-bottom:12px}.card p{color:var(--muted)}.card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.card-head h2{margin:0 0 3px}.card-head h3{display:flex;align-items:center;gap:8px;font-size:20px;margin:0}.card-head h3 .ico{color:var(--accent)}.card-head p{margin:0;font-size:12px}.card-head.tight{margin-bottom:13px}.card-head.tight a{font-size:12px;color:var(--gold)}.card-eyebrow{display:flex;align-items:center;gap:7px;color:var(--gold);font-size:10px;letter-spacing:.19em;margin-bottom:6px}.card-eyebrow .ico{width:16px;height:16px}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.kpi{min-width:0;display:flex;align-items:center;gap:14px;padding:18px 18px;background:linear-gradient(135deg,rgba(var(--accent-rgb),.14),var(--surface));border:1px solid var(--line-strong);border-radius:13px;box-shadow:var(--glow),inset 0 1px 1px rgba(255,255,255,.12)}.kpi-icon{background:rgba(var(--accent-rgb),.14);border:1px solid var(--line);border-radius:11px;height:47px;width:47px;display:grid;place-items:center;color:var(--gold);flex-shrink:0}.kpi-icon .ico{width:29px;height:29px}.kpi label{color:var(--muted);display:block;white-space:nowrap;font-size:12px}.kpi strong{font:30px/1.2 Georgia,serif;display:block;margin-top:4px;white-space:nowrap}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:17px;align-items:start}.matrix-panel{padding:18px 13px 11px;min-width:0}.matrix-panel .card-head{padding:0 9px}.matrix-panel h2{font-size:26px}.search-wrap{display:flex;align-items:center;gap:6px;color:var(--muted);border:1px solid var(--line);background:rgba(0,0,0,.16);padding:7px 10px;border-radius:9px;max-width:205px}.search-wrap input{min-width:0;width:145px;background:none;border:0;color:var(--text);outline:0;font-size:12px}.search-wrap .ico{width:16px;height:16px}
.table-viewport{overflow:auto;max-width:100%;border-radius:11px;scrollbar-width:thin}.matrix-table,.data-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.matrix-table{min-width:max-content;background:rgba(11,5,13,.15)}.matrix-table th,.matrix-table td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:center}.matrix-table thead th{padding:11px 13px;background:rgba(var(--accent-rgb),.09);color:var(--text);font-weight:600;white-space:nowrap;vertical-align:bottom}.matrix-table thead .ico{color:var(--gold)}.matrix-table thead th small{display:block;font-weight:400;color:var(--muted);font-size:10px;margin-top:3px}.product-name{display:flex;align-items:center;gap:5px;justify-content:center}.product-name .ico{width:19px;height:19px}.matrix-table .seller-col{text-align:left;min-width:170px;position:sticky;left:0;z-index:2;background:var(--surface3)}.matrix-table thead .seller-col{z-index:3;background:var(--surface2)}.matrix-table .seller-col>.ico{width:18px;height:18px}.matrix-table tbody tr:nth-child(odd){background:rgba(var(--accent-rgb),.045)}.matrix-table tbody tr:hover{background:rgba(var(--accent-rgb),.115)}.matrix-table tbody tr:hover .seller-col{background:var(--surface2)}.seller-col .seller-label{display:inline-flex;flex-direction:column;vertical-align:middle;white-space:nowrap;font-weight:600}.seller-col .seller-label small{font-size:10px;color:var(--positive);font-weight:400}.seller-avatar{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:50%;border:1px solid var(--line-strong);background:linear-gradient(135deg,rgba(var(--accent-rgb),.45),rgba(255,200,142,.2));font:bold 15px Georgia,serif;color:var(--text);margin-right:6px;vertical-align:middle}.seller-avatar.small{width:27px;height:27px;font-size:12px}.qty-input{border:1px solid var(--line);border-radius:8px;background:linear-gradient(140deg,rgba(0,0,0,.3),rgba(var(--accent-rgb),.06));width:68px;max-width:78px;height:36px;text-align:center;font-size:18px;font-weight:600;color:var(--text);outline:none;transition:.1s;box-shadow:inset 0 1px 6px rgba(0,0,0,.25)}.qty-input:focus{border-color:var(--accent);box-shadow:0 0 0 2px rgba(var(--accent-rgb),.25),0 0 16px rgba(var(--accent-rgb),.28)}.qty-input.saving{opacity:.55}.qty-input.saved{border-color:rgba(63,221,133,.7)}.qty-input.error{border-color:var(--danger)}.row-total{white-space:nowrap;color:var(--gold);font-weight:700;font-variant-numeric:tabular-nums}.matrix-table tfoot{color:var(--gold);font-weight:700}.matrix-table tfoot th,.matrix-table tfoot td{background:rgba(var(--accent-rgb),.13);border-bottom:0}.matrix-status{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 9px 4px;color:var(--muted);font-size:11px}.saved-indicator{color:var(--positive);display:flex;align-items:center;gap:7px;font-size:12px}.saved-indicator .ico{height:17px;width:17px}.right-rail{display:flex;flex-direction:column;gap:15px}.right-rail .card{padding:18px 15px}.right-rail h3{font-size:19px}.activity-list{max-height:215px;overflow:auto}.activity-item{display:flex;align-items:flex-start;gap:9px;padding:10px 3px;border-bottom:1px solid var(--line)}.activity-item strong{display:block;font-size:11px;font-weight:600}.activity-item small{display:block;color:var(--muted);font-size:10px}.activity-bullet{color:var(--accent);background:rgba(var(--accent-rgb),.13);border-radius:8px;padding:6px}.activity-bullet .ico{width:15px;height:15px}.empty-small{font-size:12px;color:var(--muted);padding:15px 2px}.status-tag{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(75,209,127,.43);border-radius:99px;padding:3px 9px;color:#66e69c;background:rgba(22,112,65,.17);font-size:10px}.status-tag.closed{color:#dfb5b1;border-color:var(--line);background:rgba(255,255,255,.03)}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:11px 1px;font-size:12px}.summary-row span{color:var(--muted)}.summary-row strong{font-size:14px;white-space:nowrap}.big-close{margin-top:17px;font-size:15px;padding:13px}.muted-mail{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;margin-top:9px}.muted-mail .ico{height:15px;width:15px}.quick-tile-image{min-height:100px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(90deg,rgba(10,2,9,.45),rgba(21,4,11,.15)),var(--art) 45% 56%/cover no-repeat;box-shadow:var(--shadow)}.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:18px}.action-card{display:flex;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,rgba(var(--accent-rgb),.16),var(--surface));padding:17px;color:var(--text);transition:.15s}.action-card:hover{transform:translateY(-1px);border-color:var(--line-strong);box-shadow:var(--glow)}.action-card>.ico{width:27px;height:27px;color:var(--gold)}.action-card strong{display:block;font:18px Georgia,serif}.action-card small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.data-table{border-collapse:collapse;min-width:630px}.data-table th,.data-table td{padding:13px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}.data-table thead th{background:rgba(var(--accent-rgb),.1);color:var(--gold);font-weight:600}.data-table tbody tr:hover{background:rgba(var(--accent-rgb),.06)}.data-table code{font:11px/1.6 monospace;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}.block-muted{display:block;color:var(--muted);font-size:10px}.nowrap{white-space:nowrap}.products-table .product-form-cell{padding:7px!important}.product-inline{display:grid;grid-template-columns:2fr 1fr 1fr 105px;align-items:center;gap:12px}.product-inline input{width:100%;min-width:70px}
input,select,textarea{background:rgba(8,4,9,.45);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:10px 12px;max-width:100%}input::placeholder,textarea::placeholder{color:rgba(221,196,217,.44)}select option{background:#301b28;color:#fff}.modal{background:var(--surface);border:1px solid var(--line-strong);border-radius:18px;width:min(420px,calc(100% - 28px));padding:0;box-shadow:0 0 0 100vw rgba(0,0,0,.64),0 16px 70px rgba(0,0,0,.65);color:var(--text)}.modal::backdrop{background:rgba(0,0,0,.66);backdrop-filter:blur(4px)}.modal-form{display:flex;flex-direction:column;gap:13px;padding:24px}.modal-head{display:flex;align-items:center;justify-content:space-between}.modal-head h2{display:flex;align-items:center;gap:9px;font-size:23px;margin:0}.modal-head .ico{color:var(--accent)}.modal-x{border:0;background:none;color:var(--muted)}.modal-form p{color:var(--muted);font-size:12px;margin:0}.modal-form label,.form-stack label,.form-grid label,.install-form label,.login-card label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12px}.modal-form label input,.modal-form label select,.form-stack label input,.form-stack label textarea,.form-grid label input,.form-grid label select,.install-form label input,.login-card label input{width:100%;color:var(--text);font-size:14px}.modal-form .btn{margin-top:4px}.settings-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(410px,1.15fr);gap:18px;align-items:start}.theme-cards{display:flex;flex-direction:column;gap:13px}.theme-choice{display:flex;align-items:center;gap:13px;background:var(--surface2);padding:8px;text-align:left;border:1px solid var(--line);border-radius:10px;color:var(--text)}.theme-choice.chosen{border-color:var(--accent);box-shadow:var(--glow)}.theme-choice img{width:130px;height:83px;object-fit:cover;border-radius:6px;object-position:50% 40%}.theme-choice strong,.theme-choice small{display:block}.theme-choice small{color:var(--muted);font-size:11px}.form-stack{display:flex;flex-direction:column;gap:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.subheading{color:var(--gold);font-weight:600;margin-top:12px;border-bottom:1px solid var(--line);padding-bottom:8px}.hint{color:var(--muted);font-size:12px}.narrow{margin-top:17px;max-width:830px}.form-submit{align-self:end}.alert{border-radius:11px;padding:14px;margin-bottom:18px;border:1px solid var(--line);background:var(--surface2)}.alert.warning{border-color:rgba(244,194,97,.4);color:#f4ce94}.alert.error{border-color:#dc6b79;color:#ffd0d3}.alert.compact{display:flex;align-items:center;gap:8px;font-size:12px;padding:10px 14px}.alert.compact .ico{width:18px;height:18px;flex-shrink:0}.alert span{opacity:.78}.empty-state{text-align:center;padding:60px 25px}.empty-icon>.ico{width:50px;height:50px;color:var(--accent)}.empty-state h2{margin-top:17px}.empty-state .btn{margin-top:15px}.system-actions{display:flex;flex-wrap:wrap;gap:10px}.log-list{max-height:350px;overflow:auto}.log-list pre{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);padding:9px;border-bottom:1px solid var(--line);font-size:11px}#toast{position:fixed;right:20px;bottom:21px;z-index:200;border:1px solid rgba(102,218,155,.55);background:rgba(17,37,28,.96);color:#b3ffd0;border-radius:10px;padding:11px 16px;box-shadow:0 12px 32px rgba(0,0,0,.4);max-width:420px;display:none}#toast.show{display:block}#toast.error{border-color:var(--danger);color:#ffccd1;background:rgba(70,15,23,.97)}.icon-button{border:1px solid var(--line);border-radius:8px;color:var(--text);padding:7px;background:var(--surface)}.sr-only{font-size:0;display:contents}.sr-only input{font-size:14px}
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-stage{display:grid;grid-template-columns:1.1fr .9fr;width:min(1100px,100%);min-height:600px;background:var(--surface);border:1px solid var(--line-strong);border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.6);overflow:hidden}.login-visual{min-height:520px;display:flex;align-items:end;position:relative;overflow:hidden;background:var(--surface2)}.login-visual-art{position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,2,12,.93),rgba(10,2,12,.10) 72%),var(--master) center center/cover no-repeat;transform:scale(1.08);filter:saturate(1.14)}.login-visual-caption{position:relative;padding:45px;max-width:530px}.login-visual-caption span{font-size:11px;letter-spacing:.3em;color:var(--gold)}.login-visual-caption h1{margin-top:15px;font-size:40px}.login-visual-caption p{color:var(--muted)}.login-panel{display:grid;place-items:center;padding:45px;background:linear-gradient(150deg,var(--surface),var(--bg))}.login-card{width:100%;max-width:365px}.login-brand{width:66px;height:66px;margin-bottom:20px}.login-card .eyebrow{font-size:10px}.login-card h2{font-size:30px;margin-bottom:8px}.login-card p{color:var(--muted);font-size:13px}.login-card form{display:flex;flex-direction:column;gap:18px;margin-top:28px}.login-card .btn{margin-top:6px}.login-note{margin-top:26px;color:var(--muted);font-size:10px;text-align:center}.install-page{padding:30px 15px}.install-wrap{max-width:950px;margin:auto}.install-head{display:flex;align-items:center;gap:18px;padding:17px 0 25px}.install-head img{width:60px;height:60px}.install-head h1{font-size:30px;margin:0}.install-head p{color:var(--muted);margin:5px 0}.install-wrap .card{margin-bottom:16px}.check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.check{padding:9px;border-radius:8px;border:1px solid var(--line);font-size:12px}.check.ok{color:var(--positive)}.check.bad{color:var(--danger)}.install-form .btn{margin-top:20px}.install-form p{font-size:13px}
@media(min-width:1600px){.shell{grid-template-columns:260px minmax(0,1fr)}.content{padding-left:30px;padding-right:30px}.workspace-grid{grid-template-columns:minmax(0,1fr) 320px}.qty-input{width:76px}}
@media(max-width:1350px){.shell{grid-template-columns:205px minmax(0,1fr)}.top-right .date-pill{display:none}.brand-name{font-size:19px}.sidebar .menu-link{font-size:12px}.workspace-grid{grid-template-columns:minmax(0,1fr) 240px}.card-head{flex-wrap:wrap}}
@media(max-width:1020px){.shell{grid-template-columns:73px minmax(0,1fr)}.sidebar .brand-copy,.sidebar .menu-link span,.sidebar-role span,.sidebar-bottom .logout-btn{font-size:0}.sidebar .brand{padding:20px 10px;justify-content:center}.sidebar .brand-mark{width:47px}.menu-link{justify-content:center;padding:10px}.sidebar-bottom .sidebar-role{justify-content:center}.sidebar-bottom .logout-btn{padding:8px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.right-rail{display:grid;grid-template-columns:1fr 1fr}.quick-tile-image{display:none}.settings-grid{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.action-grid{grid-template-columns:1fr 1fr 1fr}.content{padding:22px 15px}.page-head{flex-wrap:wrap}}
@media(max-width:650px){.shell{display:block}.sidebar{position:fixed;width:260px;transform:translateX(-104%);transition:transform .2s;height:100dvh;box-shadow:18px 0 40px rgba(0,0,0,.8)}.sidebar.open{transform:translateX(0)}.sidebar .brand-copy,.sidebar .menu-link span,.sidebar-role span,.sidebar-bottom .logout-btn{font-size:initial}.sidebar .menu-link{justify-content:start;font-size:13px}.sidebar .brand{justify-content:start}.mobile-menu{display:inline-grid}.topbar{padding:12px;min-height:65px}.top-left strong{font-size:18px}.top-left span{display:none}.top-logo{width:24px}.top-right .user-pill span{display:none}.top-right .user-pill{font-size:0;padding:6px}.top-right .live-pill{font-size:10px;padding:7px}.top-right .date-pill{display:none}.content{padding:17px 10px 35px}.page-head h1{font-size:33px}.page-head .head-actions{width:100%;flex-wrap:wrap}.head-actions .btn{flex:1;font-size:12px}.kpi-grid{gap:8px}.kpi{padding:11px;gap:9px}.kpi-icon{height:35px;width:35px}.kpi-icon .ico{height:20px;width:20px}.kpi strong{font-size:23px}.kpi label{font-size:10px}.matrix-panel{padding:14px 8px}.matrix-table th,.matrix-table td{padding:6px 7px}.matrix-table .seller-col{min-width:135px}.seller-avatar{height:25px;width:25px}.qty-input{height:35px;width:58px}.matrix-status{flex-wrap:wrap}.right-rail{grid-template-columns:1fr}.action-grid{grid-template-columns:1fr}.settings-grid{display:block}.settings-grid .card{margin-bottom:14px}.form-grid{grid-template-columns:1fr}.product-inline{grid-template-columns:1.2fr 1fr 1fr}.product-inline button{grid-column:1/-1}.login-stage{display:block}.login-visual{min-height:220px}.login-visual-caption{padding:20px}.login-visual-caption h1{font-size:26px}.login-panel{padding:28px 18px}.check-grid{grid-template-columns:1fr}.footer{font-size:10px}}
@media print{body{background:white!important;color:black!important}body::before,.sidebar,.topbar,.footer,.btn,.head-actions,#toast,.modal{display:none!important}.shell{display:block;border:0}.content{padding:0}.card,.kpi{background:white!important;box-shadow:none;border:1px solid #ccc;color:black;break-inside:avoid}.card h2,.card h3,h1,.data-table th,.data-table td,.kpi label,.kpi strong{color:black!important}.data-table{min-width:0;font-size:10px}.data-table th,.data-table td{padding:5px}.page-head{margin-bottom:18px}.card{margin-bottom:10px}}

.roster-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:370px;overflow:auto;padding:4px 2px}.roster-option{display:flex!important;align-items:center;gap:8px;border:1px solid var(--line);padding:9px 8px;border-radius:9px;background:rgba(var(--accent-rgb),.05);color:var(--text)!important;cursor:pointer}.roster-option input{accent-color:var(--accent);width:18px;height:18px;flex-shrink:0}.seed-toggle{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;margin-top:18px;line-height:1.55}.seed-toggle input{width:18px!important;height:18px;flex-shrink:0;accent-color:var(--accent)}
