/* ============================================================
   Sala de Operação — estilos
   © 2026 Afova. Programa de formación para contact centers.
   ============================================================ */

:root {
  --bg-dark: #0a1220; --bg-deep: #050912; --line: #0f1626;
  --blue-1: #d5e6f2; --blue-2: #a9c8de; --blue-3: #7ba6c4;
  --blue-4: #4d7d9f; --blue-5: #2a4f6d; --blue-6: #1a3349;
  --warn: #e89b3a; --danger: #c44b3e; --ok: #5fb37a;
  --skill1: #2f5e8c; --skill1-soft: rgba(47,94,140,0.16);
  --skill2: #e0612f; --skill2-soft: rgba(224,97,47,0.16);
  --dual: #9b8cc4;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; height: 100vh; overflow: hidden;
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  background: var(--bg-deep); color: var(--blue-1);
}
body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.frame {
  width: min(96vw, 1000px); height: min(96vh, 720px);
  display: flex; flex-direction: column; background: var(--bg-dark);
  border-radius: 8px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* ---- Header / HUD ---- */
header {
  padding: 10px 18px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--blue-6); background: var(--bg-deep); flex-shrink: 0;
}
header .title { display: flex; flex-direction: column; line-height: 1.1; }
header .kicker { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue-4); font-weight: 500; }
header .name { font-size: 16px; color: var(--blue-1); font-weight: 600; margin-top: 2px; }
header .hud { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.hud-item { display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--blue-2); }
.hud-item strong { color: var(--blue-1); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
.hud-item .lbl { font-size: 9px; text-transform: uppercase; letter-spacing: 0.7px; color: var(--blue-4); }
header .hud-btn {
  background: var(--bg-dark); color: var(--blue-2); border: 1px solid var(--blue-5);
  border-radius: 4px; width: 28px; height: 28px; font-size: 14px; cursor: pointer;
  font-family: inherit; line-height: 1; padding: 0; transition: all 0.15s;
  display: inline-flex; align-items: center; justify-content: center;
}
header .hud-btn:hover:not(:disabled) { border-color: var(--blue-3); color: var(--blue-1); }
header .hud-btn:disabled { opacity: 0.45; cursor: not-allowed; }
header #hudRestartBtn:hover { transform: rotate(-30deg); }
.lang-select {
  background: var(--bg-dark); color: var(--blue-1); border: 1px solid var(--blue-5);
  border-radius: 4px; padding: 4px 8px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.lang-select:hover { border-color: var(--blue-3); }
.stage { flex: 1; position: relative; overflow: hidden; background: var(--bg-dark); }

/* ---- Overlays / panels ---- */
.overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0; transition: opacity 0.25s ease; z-index: 30;
  overflow-y: auto; padding: 16px;
  background: radial-gradient(ellipse at center, rgba(10,18,32,0.85) 0%, rgba(5,9,18,0.95) 100%);
}
.overlay.show { opacity: 1; pointer-events: auto; }
[hidden] { display: none !important; }
.panel {
  background: var(--bg-deep); border: 1px solid var(--blue-5); border-radius: 12px;
  padding: 28px 34px; text-align: center; max-width: 560px; width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6); margin: auto;
}
.panel h2 { margin: 0 0 8px; color: var(--blue-1); font-size: 22px; font-weight: 600; letter-spacing: 0.3px; }
.panel p { margin: 0 0 14px; color: var(--blue-3); font-size: 13.5px; line-height: 1.6; }
.panel.win h2 { color: var(--ok); }
.welcome-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
.welcome-header h2 { margin: 0; text-align: center; }
.welcome-badge {
  width: 64px; height: 64px; border-radius: 14px; justify-self: start;
  background: linear-gradient(135deg, var(--skill1) 0%, var(--skill2) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}
.panel .welcome-defn {
  border-left: 3px solid var(--blue-3); background: rgba(122,166,196,0.08);
  padding: 10px 14px; margin: 6px 0 14px; font-size: 13px; line-height: 1.55;
  font-style: italic; color: var(--blue-1); border-radius: 0 6px 6px 0; text-align: left;
}
.welcome-form { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 18px; }
.welcome-form label {
  display: flex; flex-direction: column; align-items: flex-start; font-size: 11px;
  text-transform: uppercase; letter-spacing: 1px; color: var(--blue-4); font-weight: 500;
}
.welcome-form input {
  margin-top: 4px; background: var(--bg-dark); color: var(--blue-1); border: 1px solid var(--blue-5);
  border-radius: 5px; padding: 9px 11px; font-size: 13px; font-family: inherit; width: 100%; transition: border-color 0.15s;
}
.welcome-form input:focus { outline: none; border-color: var(--blue-3); }
.panel button.primary {
  background: var(--blue-3); color: var(--bg-deep); border: none; padding: 11px 28px;
  border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; letter-spacing: 0.3px;
  transition: background 0.15s; display: block; margin: 4px auto 0;
}
.panel button.primary:hover { background: var(--blue-2); }

/* ---- Instructions ---- */
.legend { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 14px; text-align: left; }
.legend-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--blue-2); line-height: 1.4; }
.chip { width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; font-weight: 700; }
.chip.s1 { background: var(--skill1); } .chip.s2 { background: var(--skill2); }
.chip.dual { background: linear-gradient(135deg, var(--skill1) 50%, var(--skill2) 50%); }
.chip.lost { background: var(--danger); }
.steps { text-align: left; margin: 4px 0 14px; counter-reset: s; }
.steps li { font-size: 12.5px; color: var(--blue-2); line-height: 1.5; margin-bottom: 5px; }
.keys-hint { font-size: 11px; color: var(--blue-4); margin: 0 0 14px; letter-spacing: 0.2px; }

/* ---- Setup screen (choose each person's level) ---- */
.panel.setup { max-width: 640px; }
.setup-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 12px 0 14px; }
.setup-person { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.setup-person .agent { width: 54px; height: 66px; cursor: default; }
.lvl-pick { display: flex; gap: 3px; }
.lvl-pick button {
  background: var(--bg-dark); color: var(--blue-3); border: 1px solid var(--blue-5);
  border-radius: 5px; padding: 3px 7px; font-size: 11px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.12s;
}
.lvl-pick button:hover { border-color: var(--blue-3); color: var(--blue-1); }
.lvl-pick button.sel { background: var(--blue-3); color: var(--bg-deep); border-color: var(--blue-3); }
.lvl-pick button[data-lvl="s1"].sel { background: var(--skill1); border-color: var(--skill1); color: #fff; }
.lvl-pick button[data-lvl="s2"].sel { background: var(--skill2); border-color: var(--skill2); color: #fff; }
.lvl-pick button[data-lvl="dual"].sel { background: var(--dual); border-color: var(--dual); color: #fff; }

/* ---- Operation screen ---- */
.op { position: absolute; inset: 0; display: none; flex-direction: column; padding: 10px 14px 12px; }
.op.show { display: flex; }
.op-banner {
  flex-shrink: 0; text-align: center; background: rgba(122,166,196,0.06);
  border: 1px solid var(--blue-6); border-radius: 8px; padding: 7px 12px; margin-bottom: 8px;
}
.op-banner .ob-title { font-size: 12px; font-weight: 600; color: var(--blue-1); }
.op-banner .ob-sub { font-size: 11px; color: var(--blue-3); margin-top: 2px; line-height: 1.35; }

/* ---- Forecast / history chart ---- */
.chart-wrap { flex-shrink: 0; margin-bottom: 8px; background: rgba(122,166,196,0.05); border: 1px solid var(--blue-6); border-radius: 8px; padding: 6px 8px 5px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.chart-title { font-size: 11px; font-weight: 700; color: var(--blue-1); letter-spacing: 0.2px; }
.chart-hint { font-size: 9px; color: var(--blue-4); }
.chart-box { position: relative; }
svg.chart { display: block; width: 100%; height: 78px; }
.chart .axis { stroke: rgba(122,166,196,0.45); stroke-width: 0.6; }
.chart .sec-div { stroke: rgba(122,166,196,0.14); stroke-width: 0.5; stroke-dasharray: 2 3; }
.chart .fcast { fill: none; stroke-width: 1.4; stroke-dasharray: 3 3; opacity: 0.7; }
.chart .fcast.s1 { stroke: var(--skill1); } .chart .fcast.s2 { stroke: var(--skill2); }
.chart .playhead { stroke: var(--warn); stroke-width: 1; opacity: 0.85; }
.band-tag { position: absolute; left: 4px; font-size: 9px; font-weight: 700; color: var(--blue-4); pointer-events: none; }
.band-tag.top { top: 2px; color: var(--blue-2); }
.band-tag.bot { bottom: 2px; color: var(--skill2); }

/* ---- Skill columns: side by side (S1 left, S2 right) ---- */
.columns { display: flex; flex-direction: row; gap: 12px; flex: 1; min-height: 0; }
.col {
  flex: 1; display: flex; flex-direction: column; border-radius: 10px; min-height: 0;
  border: 2px solid var(--blue-6); background: rgba(255,255,255,0.015); overflow: hidden; transition: all 0.12s;
}
.col.s1 { border-color: rgba(47,94,140,0.45); } .col.s2 { border-color: rgba(224,97,47,0.45); }
.col.drop-ok { background: rgba(95,179,122,0.12); border-style: solid; }
.col.drop-bad { background: rgba(196,75,62,0.12); border-style: solid; }
/* Under pressure: the card lights up red to call for action (move people!) */
.col.pressure { border-color: var(--danger); box-shadow: inset 0 0 26px rgba(196,75,62,0.28); animation: colpulse 0.9s ease-in-out infinite; }
@keyframes colpulse { 0%,100% { box-shadow: inset 0 0 18px rgba(196,75,62,0.20); } 50% { box-shadow: inset 0 0 30px rgba(196,75,62,0.38); } }
.col-head { padding: 8px 10px; flex-shrink: 0; border-bottom: 1px solid var(--blue-6); }
.col-head .ch-top { display: flex; justify-content: space-between; align-items: baseline; }
.col-name { font-size: 13px; font-weight: 700; }
.col.s1 .col-name { color: var(--blue-2); } .col.s2 .col-name { color: var(--skill2); }
.col-ns { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.col-stats { display: flex; gap: 12px; margin-top: 3px; font-size: 10.5px; }
.col-stats .cs { display: flex; align-items: center; gap: 4px; color: var(--blue-3); }
.col-stats .cs b { color: var(--blue-1); font-variant-numeric: tabular-nums; }
.cs .dotmini { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.cs .dotmini.ok { background: var(--ok); } .cs .dotmini.lost { background: var(--danger); } .cs .dotmini.wait { background: var(--warn); }

/* NS thin bar under header */
.col-nsbar { height: 4px; background: var(--blue-6); flex-shrink: 0; }
.col-nsbar .fill { height: 100%; transition: width 0.25s, background 0.25s; }

/* ---- Per-hour SLA strip (one cell per hour) ---- */
.sla-strip { flex-shrink: 0; display: flex; gap: 3px; padding: 4px 8px 0; }
.sla-cell { flex: 1; height: 20px; border-radius: 4px; background: var(--blue-6); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; transition: background 0.3s; }
.sla-cell.ok  { background: var(--ok); }
.sla-cell.bad { background: var(--danger); }
.sla-cell.cur { box-shadow: inset 0 0 0 1.5px var(--warn); }

/* ---- Red overflow (lost) across the top of the card ---- */
.ovf { flex-shrink: 0; min-height: 16px; display: flex; flex-wrap: wrap; gap: 3px; align-items: center; padding: 3px 8px; }

/* ---- Floor: blue waiting inbox (left) + agent capacity columns ---- */
.floor { flex: 1; display: flex; gap: 8px; min-height: 0; padding: 4px 8px 8px; align-items: stretch; }
/* waiting demand: 3 columns at the bottom-left, filling left → right with volume */
.conveyor { flex: 0 0 30%; display: flex; flex-direction: row; align-items: flex-end; gap: 8px; overflow: hidden; }
.incol { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.bluedot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; background: #1e9be8; box-shadow: 0 1px 1px rgba(0,0,0,0.4); animation: drop 0.18s ease; }
.bluedot.next { opacity: 0.9; }
/* agent capacity columns on the right; one per staffed agent, docked below */
.stations { flex: 1; display: flex; gap: 6px; align-items: stretch; justify-content: center; }
.station { flex: 0 0 42px; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.station .colcap { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; border-radius: 4px; border: 1px solid var(--blue-6); padding: 4px 0; overflow: hidden; background: rgba(255,255,255,0.02); }
.cdot.gap { width: 7px; height: 7px; background: rgba(255,255,255,0.10) !important; box-shadow: none; border: none; }
.col.s1 .station:not(.empty) .colcap { background: var(--skill1-soft); border-color: rgba(47,94,140,0.55); }
.col.s2 .station:not(.empty) .colcap { background: var(--skill2-soft); border-color: rgba(224,97,47,0.55); }
/* supervision band: each agent's current call (the row forms a horizontal band) */
.nowcell { width: 100%; height: 16px; border-radius: 3px; margin: 4px 0; background: rgba(165,175,195,0.22); transition: background 0.1s; flex-shrink: 0; }
.nowcell.busy { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
.station .agent { margin-top: 4px; }
.cdot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.cdot.done { background: var(--ok); }
.cdot.lost { background: var(--danger); }
/* size hints the call duration: short < average (7') < long */
.cdot.sz-curta { width: 11px; height: 11px; }
.cdot.sz-media { width: 13px; height: 13px; }
.cdot.sz-longa { width: 15px; height: 15px; }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.25); } }
@keyframes doneIn { from { transform: scale(0.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---- Agents ---- */
.agents-bar {
  flex-shrink: 0; border-top: 1px solid var(--blue-6); padding: 7px 8px; min-height: 56px;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.15);
}
.agent {
  width: 42px; height: 52px; border-radius: 9px; display: flex; align-items: stretch;
  user-select: none; position: relative; overflow: hidden;
  background: rgba(255,255,255,0.10); border: 1.5px solid rgba(255,255,255,0.25);
  box-shadow: 0 2px 6px rgba(0,0,0,0.35); transition: transform 0.1s;
}
.agent-icon { width: 100%; height: 100%; object-fit: contain; padding: 2px;
  pointer-events: none; -webkit-user-drag: none; }
/* Card background = chosen level */
.agent.s1 { background: var(--skill1); }
.agent.s2 { background: var(--skill2); }
.agent.dual { background: linear-gradient(135deg, var(--skill1) 0 50%, var(--skill2) 50% 100%); cursor: grab; }
.agent.unset { background: rgba(255,255,255,0.10); }
.agent.dual.draggable-live { box-shadow: 0 0 0 2px var(--dual), 0 2px 6px rgba(0,0,0,0.4); }
.agent.dragging { opacity: 0.4; }
.agent.busy::after {
  content: ''; position: absolute; inset: -3px; border-radius: 11px;
  border: 2px solid var(--ok); opacity: 0; animation: ring 0.6s ease;
}
@keyframes ring { 0% { opacity: 0.9; transform: scale(0.8);} 100% { opacity: 0; transform: scale(1.3);} }
.agent.removed { opacity: 0.25; filter: grayscale(1); }
.agent.movable { cursor: pointer; }
/* keyboard number for each agent (press it to move that agent) */
.agent-num {
  position: absolute; top: -5px; left: -5px; min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 8px; background: var(--bg-deep); border: 1px solid var(--blue-5);
  color: var(--blue-1); font-size: 9px; font-weight: 700; line-height: 14px; text-align: center;
  z-index: 3; pointer-events: none;
}

/* ---- Roster (planning) ---- */
.roster {
  flex-shrink: 0; margin-top: 8px; border: 1px dashed var(--blue-5); border-radius: 10px;
  padding: 8px; min-height: 60px; display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center; justify-content: center; background: rgba(255,255,255,0.02);
}
.roster { display: none; }
.roster.hidden-live { display: none; }
.roster-lbl { width: 100%; text-align: center; font-size: 9.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-4); margin-bottom: 2px; }
.agent.in-roster { cursor: grab; }

.op-foot { flex-shrink: 0; display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 8px; min-height: 38px; }
.op-status { font-size: 12px; color: var(--blue-3); text-align: center; }
.op-status.live { color: var(--warn); font-weight: 600; }
.btn-go {
  background: var(--ok); color: #06210f; border: none; padding: 10px 26px; border-radius: 7px;
  font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; letter-spacing: 0.3px; transition: filter 0.15s;
}
.btn-go:hover:not(:disabled) { filter: brightness(1.08); }
.btn-go:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---- Assessment (between shifts): per-hour SLA table ---- */
.assess-table { width: 100%; border-collapse: collapse; margin: 10px 0 14px; }
.assess-table th, .assess-table td { padding: 5px 8px; text-align: center; border-bottom: 1px solid var(--blue-6); font-size: 13px; font-variant-numeric: tabular-nums; }
.assess-table thead th { color: var(--blue-4); font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }
.assess-table tbody th { color: var(--blue-3); font-weight: 600; }
.assess-table td.ok  { color: var(--ok); }
.assess-table td.bad { color: var(--danger); }
.assess-table tfoot th { color: var(--blue-2); }
.assess-table tfoot td { font-weight: 800; border-top: 2px solid var(--blue-5); border-bottom: none; }
#assessVerdict { font-size: 14px; font-weight: 600; margin: 0 0 16px; }
#assessVerdict.ok  { color: var(--ok); }
#assessVerdict.bad { color: var(--warn); }
#assessVsOpt { font-size: 11.5px; color: var(--blue-3); margin: 0 0 16px; }
.assess-actions { display: flex; gap: 10px; justify-content: center; }

/* ---- Certificate ---- */
.overlay#certScreen { background: radial-gradient(ellipse at center, rgba(10,18,32,0.92) 0%, rgba(5,9,18,0.98) 100%); }
.certificate {
  background: linear-gradient(180deg, #f5e8c8 0%, #ecd9a8 100%); color: #1a1a2a;
  padding: 34px 42px 26px; border-radius: 4px; box-shadow: 0 14px 50px rgba(0,0,0,0.6);
  max-width: 540px; width: calc(100% - 32px); position: relative; text-align: center;
  font-family: 'Georgia','Times New Roman',serif; margin: auto;
}
.certificate::before { content: ''; position: absolute; inset: 8px; border: 2px solid #8a6b1a; border-radius: 2px; pointer-events: none; }
.certificate::after { content: ''; position: absolute; inset: 14px; border: 1px solid #d4a83a; border-radius: 1px; pointer-events: none; }
.cert-medal {
  display: inline-flex; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(#f0d890 0%, #d4a83a 60%, #8a6b1a 100%);
  box-shadow: inset -2px -3px 6px rgba(0,0,0,0.18), 0 2px 4px rgba(0,0,0,0.2);
  color: #5a4a1a; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 6px; border: 2px solid #8a6b1a;
}
.cert-title { font-size: 26px; margin: 4px 0 0; letter-spacing: 7px; color: #5a4a1a; font-weight: 700; }
.cert-subtitle { font-size: 14px; font-style: italic; margin: 4px 0 22px; color: #5a4a3a; }
.cert-awarded { font-size: 11px; color: #5a4a3a; text-transform: uppercase; letter-spacing: 2.5px; margin: 0; }
.cert-name { font-size: 25px; font-weight: 700; margin: 8px 0 4px; color: #1a1a2a; border-bottom: 1px solid rgba(90,74,26,0.3); padding: 0 28px 4px; display: inline-block; min-width: 220px; }
.cert-code { font-size: 11px; color: #5a4a3a; margin: 6px 0 0; letter-spacing: 1.4px; }
.cert-body { font-size: 13px; line-height: 1.65; margin: 20px 16px 16px; color: #1a1a2a; }
.cert-meta { display: flex; justify-content: space-between; align-items: flex-end; margin: 20px 4px 0; font-size: 11px; color: #5a4a3a; }
.cert-signature { text-align: center; flex: 1; }
.cert-signature .sig-line { border-top: 1px solid #5a4a3a; margin: 0 auto 4px; width: 130px; height: 1px; }
.cert-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.cert-actions button { background: #8a6b1a; color: #f5e8c8; border: none; padding: 9px 20px; border-radius: 4px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.4px; }
.cert-actions button.secondary { background: transparent; color: #5a4a1a; border: 1px solid #8a6b1a; }
.cert-actions button:hover { filter: brightness(1.08); }
@media print { body * { visibility: hidden; } .certificate, .certificate * { visibility: visible; } .certificate { position: absolute; left: 0; top: 0; box-shadow: none; } .cert-actions { display: none; } }

/* ---- Misc ---- */
.toast {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%) translateY(-12px);
  background: var(--bg-deep); border: 1px solid var(--blue-4); color: var(--blue-1);
  padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; opacity: 0;
  transition: all 0.35s ease; pointer-events: none; z-index: 40; letter-spacing: 0.2px; max-width: 90%; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.alert { border-color: var(--warn); color: var(--warn); }

.btn-ghost { background: transparent; color: var(--blue-3); border: 1px solid var(--blue-5); padding: 9px 16px; border-radius: 6px; font-size: 12px; cursor: pointer; font-family: inherit; }
.btn-ghost:hover { border-color: var(--blue-3); color: var(--blue-1); }

@media (max-width: 720px) { header .kicker { display: none; } .columns { gap: 8px; } }
