:root{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#eef2f7;background:#080c13;--panel:#121925;--line:#2d394a;--blue:#2878ff;--orange:#ff9f1c}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top,#182235 0,#080c13 52%)}button,input{font:inherit}button{border:0;border-radius:8px;background:var(--blue);color:#fff;padding:8px 12px;font-weight:700;cursor:pointer;white-space:nowrap}button:hover:not(:disabled){filter:brightness(1.12)}button:disabled{opacity:.35;cursor:not-allowed}button.secondary{background:#344154}.app-shell{width:min(1500px,100%);margin:auto;padding:9px 14px}header{height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px}h1{font-size:1.45rem;margin:0}header p{margin:2px 0 0;color:#9cabbd;font-size:.84rem}#status{max-width:40%;color:#ffd166;text-align:right;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-bar{display:flex;align-items:center;gap:7px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:7px;margin-bottom:8px}.source-bar #url{flex:1;min-width:180px}.source-bar input[type=file]{max-width:230px}.separator{color:#7d8998}.rights{display:flex;align-items:center;gap:5px;color:#b9c4d0;font-size:.8rem;white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(390px,.78fr);gap:9px;height:calc(100vh - 124px);min-height:570px}.editor-panel,.pad-panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:9px;min-height:0}.editor-panel{display:flex;flex-direction:column;gap:7px}.wave-wrap{position:relative}.wave-tip{position:absolute;right:8px;bottom:8px;background:#05080dcc;color:#aab6c5;padding:4px 7px;border-radius:6px;font-size:.68rem;pointer-events:none}canvas{width:100%;height:min(31vh,235px);min-height:160px;border-radius:8px;background:#0a1019;cursor:ew-resize}audio{width:100%;height:36px}.controls,.selected-row,.export-row{display:flex;align-items:end;gap:7px;flex-wrap:wrap}.controls label,.selected-row label{display:grid;gap:2px;color:#9cabbd;font-size:.72rem}.controls input,.selected-row input{width:92px}.selected-row{border-top:1px solid #293444;padding-top:7px}.selected-row strong{min-width:190px;font-size:.78rem;color:#ffd18b}.export-row{margin-top:auto}.export-row input{flex:1}.export-button{background:#0f9f6e}input{border:1px solid #3a4759;border-radius:8px;background:#0a111c;color:#fff;padding:7px 9px;min-width:0}.pad-panel{display:flex;flex-direction:column;background:linear-gradient(145deg,#202a36,#101721)}.bank-row{display:flex;align-items:center;gap:6px;min-height:34px}.banks{display:flex;gap:4px;flex:1;justify-content:center}.bank-button,.bank-nav{padding:5px 9px;background:#303c4c}.bank-button.active{background:var(--orange);color:#181008}.pad-title{display:flex;justify-content:space-between;align-items:center;padding:3px 3px 7px;color:#cbd5df;font-size:.8rem}.pads{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);gap:7px;flex:1;min-height:0}.pad{position:relative;min-height:0;border:1px solid #495667;border-radius:10px;background:linear-gradient(145deg,#344151,#1d2733);box-shadow:inset 0 0 0 2px #1a222c,0 3px 7px #0008;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;user-select:none;cursor:pointer;transition:.07s transform,.07s filter,.07s box-shadow}.pad:hover{filter:brightness(1.15)}.pad.selected{outline:2px solid #73b8ff;outline-offset:1px}.pad.active{transform:translateY(2px) scale(.985);background:linear-gradient(145deg,#ffb13b,#d96c00);box-shadow:inset 0 0 0 2px #ffd18b,0 0 18px #ff941f88}.pad.empty{opacity:.3}.pad-number{font-size:1.03rem;font-weight:800}.pad-chop{font-size:.62rem;color:#94a2b2}.pad-time{font-size:.66rem;color:#c3ced9;margin-top:1px}.pad-key{position:absolute;top:5px;right:7px;color:#7f8d9c;font-size:.64rem}.keyboard-map{text-align:center;color:#8290a1;font-size:.68rem;padding-top:6px}@media(max-width:950px){.workspace{grid-template-columns:1fr;height:auto}.pad-panel{height:520px}.source-bar{flex-wrap:wrap}.source-bar input[type=file]{max-width:100%}}@media(max-height:760px) and (min-width:951px){.app-shell{padding-top:4px}header{height:45px}.workspace{height:calc(100vh - 108px);min-height:520px}canvas{height:145px}.source-bar{padding:5px}.controls button,.controls input,.selected-row button,.selected-row input,.export-row button,.export-row input{padding:6px 8px}.wave-tip{display:none}}

.panic-button{background:#c92f3b!important;color:#fff;box-shadow:0 0 0 1px #ff7f89 inset}.panic-button:active{transform:translateY(1px)}
.pitch-panel{display:flex;align-items:end;gap:7px;flex-wrap:wrap;border-top:1px solid #293444;padding-top:7px}.pitch-panel label{display:grid;gap:2px;color:#9cabbd;font-size:.72rem}.pitch-panel input{width:90px}.pitch-panel select{border:1px solid #3a4759;border-radius:8px;background:#0a111c;color:#fff;padding:7px 9px}.pitch-title{display:grid;min-width:190px}.pitch-title strong{color:#ffd18b;font-size:.82rem}.pitch-title span,.pitch-info{color:#8f9cad;font-size:.68rem}.pitch-info{flex:1;min-width:230px}@media(max-height:820px) and (min-width:951px){.pitch-panel{gap:5px}.pitch-panel input,.pitch-panel select{padding:5px 7px}.pitch-title span{display:none}}
.tabs{display:flex;align-items:center;gap:7px;margin-bottom:8px}.tab-button{background:#273446}.tab-button.active{background:var(--orange);color:#171008}.tabs .panic-button{margin-left:auto}.tab-page{display:none}.tab-page.active{display:block}.pitch-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,.6fr);gap:10px;height:calc(100vh - 122px);min-height:560px}.pitch-panel,.pitch-preview-panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px}.pitch-panel h2,.pitch-preview-panel h3{margin:0 0 5px}.muted{color:#9cabbd}.small{font-size:.8rem}.pitch-source,.pitch-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}.pitch-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px;margin:14px 0}.pitch-grid label{display:grid;gap:4px;color:#aeb9c6;font-size:.78rem}.pitch-grid select{border:1px solid #3a4759;border-radius:8px;background:#0a111c;color:#fff;padding:8px}.pitch-grid label:last-child{grid-column:span 3}.info-box{background:#0a111c;border:1px solid #2b394b;border-radius:9px;padding:10px;color:#c8d3df;margin-top:10px}.pitch-preview-panel{display:flex;flex-direction:column;gap:12px}.preview-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-stats div{background:#0b121d;border:1px solid #2b394b;border-radius:9px;padding:12px;display:grid;gap:4px}.preview-stats span{color:#8f9daf;font-size:.72rem}.preview-stats strong{font-size:1.05rem}@media(max-width:950px){.pitch-layout{grid-template-columns:1fr;height:auto}.pitch-grid{grid-template-columns:1fr 1fr}.pitch-grid label:last-child{grid-column:span 2}}
.pitch-pads{grid-template-columns:repeat(4,minmax(85px,1fr));max-height:480px;overflow:auto;padding-right:4px}
.pitch-pads .pad{min-height:82px}
.pitch-pads .pad strong{font-size:1.05rem}

.pitch-wave-section{position:relative;margin:12px 0;padding:10px;background:#0b121d;border:1px solid #2b394b;border-radius:10px}.pitch-wave-section canvas{height:190px;min-height:150px}.pitch-trim-row{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-top:8px}.pitch-trim-row label{display:grid;gap:3px;color:#9cabbd;font-size:.72rem}.pitch-trim-row input{width:105px}.bpm-result{margin-top:8px;padding:8px 10px;background:#101a28;border-radius:8px;color:#cbd7e5}.bpm-result strong{color:#ffd166;font-size:1.08rem}.bpm-result span{color:#8391a3;font-size:.75rem;margin-left:5px}#sourceBpm[readonly]{opacity:.85;background:#131c28}@media(max-height:850px) and (min-width:951px){.pitch-wave-section canvas{height:135px;min-height:120px}.pitch-panel{padding:10px}.pitch-layout{min-height:520px}.pitch-source,.pitch-actions,.pitch-grid{margin:8px 0}}
.pitch-layout > .pitch-panel{display:block;align-items:initial;gap:initial;flex-wrap:initial;border-top:1px solid var(--line)}

.loop-toggle{display:inline-flex!important;align-items:center;gap:.45rem;white-space:nowrap;padding:.55rem .7rem;border:1px solid #334155;border-radius:8px;background:#111827}.loop-toggle input{width:auto;margin:0}
.pitch-source-stack{display:grid!important;gap:8px;align-items:stretch!important}.pitch-url-row,.pitch-file-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pitch-url-row #pitchUrl{flex:1;min-width:260px}.pitch-file-row #pitchFile{max-width:330px}@media(max-width:700px){.pitch-url-row>*{width:100%}.pitch-url-row .rights{width:auto}.pitch-file-row{align-items:flex-start}}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.donate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 8px;
  background: #ffc439;
  color: #142c8e;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.donate-button:hover { filter: brightness(1.05); }

.limit-notice {
  margin: 0 0 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  font-size: .9rem;
  text-align: center;
}

@media (max-width: 720px) {
  header { align-items: flex-start; gap: 10px; }
  .header-actions { flex-direction: column; align-items: flex-end; }
}


.tab-help-row{display:flex;justify-content:flex-end;align-items:center;margin:8px 2px 10px;min-height:38px;position:relative;z-index:50}.help-link.help-button{display:inline-flex!important;align-items:center;justify-content:center;visibility:visible!important;opacity:1!important;min-width:150px;padding:9px 14px;border:1px solid #70b7ff;border-radius:9px;background:#173b63;color:#fff;text-decoration:none;font-size:.84rem;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.28)}.help-link.help-button:hover{background:#22558b;border-color:#9bd0ff;color:#fff;transform:translateY(-1px)}.modal[hidden]{display:none}.modal{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:18px}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}.modal-dialog{position:relative;width:min(720px,100%);max-height:min(82vh,760px);overflow:auto;background:#121925;border:1px solid #3b4a5f;border-radius:14px;padding:22px;box-shadow:0 25px 80px rgba(0,0,0,.55)}.modal-dialog h2{margin:0 36px 12px 0}.modal-body{color:#d5deea;line-height:1.55}.modal-body p{margin:.65rem 0}.modal-body ol{padding-left:1.35rem}.modal-body li{margin:.45rem 0}.modal-close{position:absolute;right:12px;top:10px;background:transparent;color:#cbd5df;font-size:1.65rem;line-height:1;padding:4px 8px}.modal-actions{display:flex;justify-content:flex-end;margin-top:16px}.modal-open{overflow:hidden}

.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  color: #dbe6f2;
  font-size: .83rem;
  white-space: nowrap;
}
.visitor-counter strong { color: #ffd166; font-size: .96rem; }
.visitor-icon { font-size: 1rem; }
@media (max-width: 720px) {
  .visitor-counter { min-height: 34px; padding: 6px 9px; }
}

.feedback-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #6cb6ff;
  border-radius: 8px;
  background: #1c5d99;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.feedback-button:hover { background:#2677bd; filter:brightness(1.05); }
.modal-body a { color:#70b7ff; font-weight:700; }
@media (max-width: 720px) { .feedback-button { min-height:34px; padding:7px 10px; } }


.stats-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  color: #cbd7e5;
  font-size: .88rem;
}
.stats-footer span { white-space: nowrap; }
.stats-footer strong { color: #ffd166; font-size: .98rem; }
@media (max-width: 600px) {
  .stats-footer { justify-content: flex-start; gap: 8px 16px; }
}

.test-badge{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:5px;background:#d79b24;color:#111;font-size:.62rem;font-weight:900;vertical-align:middle}.stem-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);gap:16px}.stem-panel,.stem-results-panel{padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.035)}.stem-source{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;margin:16px 0}.stem-source>div:not(.stem-or){display:flex;flex-direction:column;gap:8px}.stem-or{color:#91a0b2;font-weight:800}.stem-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:15px}.stem-options label{display:flex;flex-direction:column;gap:6px}.stem-progress-wrap{margin:16px 0}.stem-progress{height:14px;background:#09101a;border:1px solid #35445a;border-radius:999px;overflow:hidden}.stem-progress>div{height:100%;width:0;background:linear-gradient(90deg,#3d8bfd,#31d78b);transition:width .35s ease}.stem-progress-wrap>div:last-child{margin-top:6px;color:#b9c8d8;font-size:.88rem}.stem-results{display:grid;gap:10px;margin:12px 0}.stem-card{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:#101925}.stem-card>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.stem-card small{color:#8fa0b5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stem-card-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.stem-card-actions button{padding:7px 9px;font-size:.78rem}#stemPlayer{width:100%}@media(max-width:980px){.stem-layout{grid-template-columns:1fr}.stem-source{grid-template-columns:1fr}.stem-or{text-align:center}.stem-options{grid-template-columns:1fr}}@media(max-width:620px){.stem-card{align-items:flex-start;flex-direction:column}.stem-card-actions{justify-content:flex-start}}


/* v1.1 dashboard and richer stem status */
.dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:center;padding:28px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,rgba(61,139,253,.13),rgba(49,215,139,.06));margin-bottom:14px}.dashboard-hero h2{font-size:clamp(1.7rem,4vw,3rem);max-width:780px;margin:.25rem 0 .6rem}.dashboard-hero p{color:#aebccd;margin:0}.eyebrow{font-size:.72rem;font-weight:900;letter-spacing:.14em;color:#6fb4ff}.accelerator-card{display:grid;gap:7px;padding:18px;border-radius:13px;background:#0c1420;border:1px solid #33445a}.accelerator-card span,.accelerator-card small{color:#8fa0b5}.accelerator-card strong{font-size:1.15rem;color:#ffd166}.accelerator-card.gpu strong{color:#62e6a7}.dashboard-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.dashboard-tool{display:grid;text-align:left;gap:8px;padding:18px;min-height:118px;background:#131d2a;border:1px solid #33445a}.dashboard-tool strong{font-size:1.05rem}.dashboard-tool span{font-size:.83rem;color:#9cabbc;line-height:1.4}.dashboard-tool.featured{border-color:#31d78b;background:linear-gradient(145deg,#13251f,#131d2a)}.dashboard-grid{display:grid;grid-template-columns:minmax(260px,.35fr) minmax(0,.65fr);gap:12px}.dashboard-card{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.card-heading>span{color:#8fa0b5;font-size:.8rem}.queue-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.queue-metrics div{display:grid;place-items:center;padding:18px;border:1px solid #2d3c50;border-radius:10px;background:#0a111c}.queue-metrics b{font-size:2rem;color:#ffd166}.queue-metrics span{color:#8fa0b5}.recent-jobs{display:grid;gap:7px}.recent-job{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border-radius:9px;background:#0b131f;border:1px solid #263549}.recent-job div{display:grid;min-width:0}.recent-job small{color:#8697aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-job>span:last-child{font-size:.75rem;color:#9eacbc}.job-dot{width:9px;height:9px;border-radius:50%;background:#8f9dac}.status-processing .job-dot{background:#ffd166;box-shadow:0 0 10px #ffd166}.status-done .job-dot{background:#31d78b}.status-error .job-dot{background:#ff6b78}.stem-live-status{display:flex;gap:8px 18px;flex-wrap:wrap;padding:9px 11px;border:1px solid #2e4054;border-radius:9px;background:#0b131f;color:#9dacbd;font-size:.78rem}.stem-live-status strong{color:#e1eaf4}.stem-progress>div{position:relative;overflow:hidden}.stem-progress>div:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transform:translateX(-100%);animation:progressShine 1.5s infinite}@keyframes progressShine{to{transform:translateX(100%)}}@media(max-width:850px){.dashboard-hero{grid-template-columns:1fr}.dashboard-tools{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:1fr}}

/* v1.3 user accounts */
.inline-form{display:inline;margin:0}.account-button,.login-required{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid #475d78;border-radius:8px;background:#111c2a;color:#eef5ff;text-decoration:none;font-weight:800;white-space:nowrap}.account-button.primary,.login-required{background:#236fb1;border-color:#70b7ff}.auth-shell,.account-shell{width:min(960px,calc(100% - 28px));margin:0 auto;padding:7vh 0}.auth-card{width:min(470px,100%);margin:auto;padding:28px;border:1px solid #33445a;border-radius:16px;background:#111a27;box-shadow:0 20px 55px rgba(0,0,0,.35)}.auth-form{display:grid;gap:14px;margin-top:22px}.auth-form label{display:grid;gap:7px}.back-link{color:#70b7ff;text-decoration:none;font-weight:800}.flash{padding:10px 12px;border-radius:8px;margin:12px 0}.flash.error{background:#421d25;border:1px solid #a84959}.auth-switch a{color:#70b7ff}.account-header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px;border:1px solid #33445a;border-radius:14px;background:#111a27}.credit-card{display:grid;min-width:180px;padding:16px;border-radius:12px;background:#0b131f;border:1px solid #33445a}.credit-card strong{font-size:2.2rem;color:#ffd166}.credit-card span,.credit-card small{color:#91a0b2}.account-panel{margin-top:15px;padding:20px;border:1px solid #33445a;border-radius:14px;background:#111a27}.job-table{display:grid;gap:7px}.job-table>div{display:grid;grid-template-columns:170px 1fr 100px 100px;gap:12px;padding:10px;border-radius:8px;background:#0b131f}@media(max-width:700px){.account-header{align-items:stretch;flex-direction:column}.job-table>div{grid-template-columns:1fr 1fr}.header-actions{align-items:stretch}.account-button{min-height:34px}}

.forgot-link{margin-top:-.25rem;text-align:right}.forgot-link a{font-size:.92rem}.reset-link-box{margin-top:1.25rem;padding:1rem;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(255,255,255,.05)}.reset-link-box p{margin:.35rem 0 .75rem}.reset-link-box textarea{width:100%;min-height:88px;margin-top:.8rem;padding:.65rem;border-radius:8px;resize:vertical}
/* v2.0 PayPal + admin */
.credit-packs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:22px 0}.credit-pack{display:grid;gap:12px;padding:20px;border:1px solid #33445a;border-radius:14px;background:#111a27}.credit-pack>strong{font-size:1.35rem;color:#ffd166}.credit-pack>span{color:#aab8c8}.flash.success{background:#143829;border:1px solid #2b9b67}.admin-table{display:grid;gap:8px}.admin-table>div{display:grid;grid-template-columns:minmax(220px,1fr) 90px 90px 170px 100px;gap:10px;align-items:center;padding:10px;border-radius:9px;background:#0b131f}.admin-table small{display:block;color:#8292a5}.admin-table form{display:flex;gap:6px;margin:0}.admin-table input{min-width:0}.admin-table.payments>div{grid-template-columns:180px 100px 1fr 120px 100px}@media(max-width:850px){.admin-table>div,.admin-table.payments>div{grid-template-columns:1fr 1fr}}

/* v2.1 admin dashboard, vouchers and configurable footer links */
.admin-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:20px 0}.admin-kpis>div{background:var(--panel,#171b24);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:6px}.admin-kpis span,.admin-kpis small{opacity:.72}.admin-kpis strong{font-size:1.6rem}.voucher-create{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;align-items:end}.voucher-create label{display:flex;flex-direction:column;gap:6px}.voucher-create input,.voucher-redeem input{width:100%;box-sizing:border-box}.voucher-redeem{display:flex;gap:10px;max-width:560px}.voucher-redeem input{flex:1;text-transform:uppercase}.footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;padding:18px 12px 4px}.footer-links a{color:inherit;text-decoration:none;opacity:.78}.footer-links a:hover{opacity:1;text-decoration:underline}.voucher-table>div{grid-template-columns:1.1fr .8fr 1fr 1fr .7fr auto!important}@media(max-width:800px){.voucher-redeem{flex-direction:column}.voucher-table>div{display:flex!important;flex-wrap:wrap;gap:8px}}

/* v2.2 expanded admin dashboard */
.admin-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:18px}.admin-title-row h1{margin-bottom:.2rem}.admin-kpis-wide{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.admin-two-column{display:grid;grid-template-columns:1fr 1fr;gap:15px}.status-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.status-card{display:flex;justify-content:space-between;align-items:center;padding:15px;border:1px solid #33445a;border-radius:11px;background:#0b131f}.status-card strong{font-size:1.65rem}.status-done strong{color:#31d78b}.status-error strong{color:#ff6b78}.status-processing strong{color:#ffd166}.status-queued strong{color:#70b7ff}.server-grid{display:grid;gap:13px}.server-grid>div{display:grid;grid-template-columns:100px 90px 1fr;gap:10px;align-items:center}.server-grid small{color:#8fa0b5}.meter{grid-column:1/-1;height:8px;border-radius:999px;overflow:hidden;background:#09101a;border:1px solid #35445a}.meter i{display:block;height:100%;background:linear-gradient(90deg,#31d78b,#ffd166,#ff6b78)}.admin-table.redemptions>div{grid-template-columns:180px 150px minmax(220px,1fr) 130px}@media(max-width:900px){.admin-two-column{grid-template-columns:1fr}.admin-title-row{align-items:flex-start;flex-direction:column}.server-grid>div{grid-template-columns:85px 75px 1fr}.admin-table.redemptions>div{grid-template-columns:1fr 1fr}}


/* v2.3 branding */
.brand-lockup,.auth-brand,.page-brand{display:flex;align-items:center;gap:11px;color:#eef5ff;text-decoration:none}.brand-lockup img{width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 5px 12px rgba(0,0,0,.35))}.brand-copy{display:grid;line-height:1.05}.brand-copy strong{font-size:1.15rem}.brand-copy small{margin-top:5px;color:#9cabbd;font-size:.72rem}.logo-fallback{display:none;width:48px;height:48px;border-radius:12px;align-items:center;justify-content:center;background:linear-gradient(145deg,#ffad32,#e67a00);color:#171008;font-weight:950;letter-spacing:-1px}.logo-fallback-visible{display:inline-flex}.auth-brand{justify-content:center;margin:-4px 0 18px}.auth-brand img{width:76px;height:76px;object-fit:contain}.auth-brand strong{font-size:1.05rem}.auth-brand .logo-fallback{width:76px;height:76px;border-radius:18px}.page-brand{width:max-content;margin:0 0 16px}.page-brand img{width:44px;height:44px;object-fit:contain}.page-brand .logo-fallback{width:44px;height:44px}.page-brand strong{font-size:1rem}@media(max-width:700px){header{height:auto;align-items:flex-start;flex-direction:column;padding:8px 0}.brand-lockup img,.brand-lockup .logo-fallback{width:42px;height:42px}.brand-copy strong{font-size:1rem}.header-actions{width:100%}}


/* v2.4 large logo + clean header */
header{height:auto;min-height:92px;padding:8px 0}
.brand-lockup{flex:0 0 auto;max-width:min(360px,34vw)}
.brand-lockup img{width:auto!important;height:82px!important;max-width:100%;object-fit:contain;filter:drop-shadow(0 6px 15px rgba(0,0,0,.42))}
.brand-lockup .logo-fallback{width:82px;height:82px;border-radius:18px}
.brand-copy{display:none!important}
@media(max-width:900px){header{align-items:flex-start;flex-direction:column}.brand-lockup{max-width:min(340px,80vw)}.header-actions{width:100%;flex-wrap:wrap}.brand-lockup img{height:72px!important}}
@media(max-width:520px){.brand-lockup{max-width:86vw}.brand-lockup img{height:62px!important}.brand-lockup .logo-fallback{width:62px;height:62px}}
