/* ============================================================
   Certificados NFT · App white-label
   Sistema visual terminado (no wireframe)
   ============================================================ */

:root {
  /* tipografía (ajustable vía Tweaks) */
  --font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* neutros cálido-neutro */
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --ink: #181b21;
  --ink-2: #41454e;
  --muted: #71757e;
  --faint: #9a9da4;
  --line: #e7e8ec;
  --line-strong: #d6d8dd;

  /* acento institucional (ajustable vía Tweaks) */
  --accent: #2f56d3;
  --accent-press: #2342a8;
  --accent-weak: #eef2fd;
  --on-accent: #ffffff;

  /* semánticos */
  --ok: #1f8a52;
  --ok-weak: #e8f5ee;
  --err: #c0392b;
  --err-weak: #fbecea;
  --warn: #9a6b00;
  --warn-weak: #fbf3e0;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, .05), 0 1px 3px rgba(20, 22, 28, .04);
  --shadow-md: 0 4px 12px rgba(20, 22, 28, .07), 0 2px 4px rgba(20, 22, 28, .04);
  --shadow-lg: 0 18px 48px rgba(20, 22, 28, .16);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ---------- Brand / logo (white-label) ---------- */
.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}
.brandmark .logo-img { height: 30px; max-width: 150px; object-fit: contain; display: block; }
.brandmark .logo-fallback {
  height: 30px;
  min-width: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: var(--radius-xs);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  letter-spacing: .01em;
  font-size: 13px;
}
.brandmark .logo-fallback .glyph {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: rgba(255,255,255,.25);
  display: inline-block;
}
.brand-name { font-size: 14px; font-weight: 600; }
.brand-sub { font-size: 11px; color: var(--muted); font-weight: 500; }

/* ============================================================
   VIEW ROUTER
   ============================================================ */
.view { display: none; }
.view.active { display: block; }

/* ============================================================
   LOGIN
   ============================================================ */
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}
.login-aside {
  background: var(--ink);
  color: #e9eaed;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 520px at 82% 8%, color-mix(in oklab, var(--accent) 38%, transparent), transparent 60%),
    radial-gradient(420px 420px at 12% 96%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 60%);
  pointer-events: none;
}
.login-aside > * { position: relative; z-index: 1; }
.login-aside .brandmark { color: #fff; }
.login-aside .brandmark .brand-name { color: #fff; }
.login-aside .brand-sub { color: #9da3ae; }
.login-pitch h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 16px;
  max-width: 15ch;
}
.login-pitch p { color: #aab0ba; font-size: 14.5px; margin: 0; max-width: 38ch; }
.login-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.login-points li { display: flex; gap: 12px; align-items: flex-start; color: #cfd3da; font-size: 13.5px; }
.login-points .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 40%, transparent);
  color: #fff; display: grid; place-items: center; font-size: 12px; margin-top: 1px;
}
.login-foot { color: #767c87; font-size: 12px; }

.login-main { display: grid; place-items: center; padding: 40px; }
.login-card { width: 100%; max-width: 380px; }
.login-card .brandmark { margin-bottom: 30px; }
.login-card h1 { font-size: 22px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.01em; }
.login-card .sub { color: var(--muted); margin: 0 0 26px; font-size: 13.5px; }

/* ============================================================
   APP SHELL
   ============================================================ */
.shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brandmark { padding: 6px 8px 18px; }
.nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 600; padding: 14px 10px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
  transition: background .12s, color .12s;
}
.nav-item .ic { width: 18px; height: 18px; flex: none; color: var(--faint); display: grid; place-items: center; }
.nav-item:hover { background: var(--surface-2); }
.nav-item.active { background: var(--accent-weak); color: var(--accent); }
.nav-item.active .ic { color: var(--accent); }
.nav-item svg { width: 18px; height: 18px; }
.sidebar-foot { margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid var(--line); }
.sidebar-user { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-weak); color: var(--accent);
  display: grid; place-items: center; font-weight: 600; font-size: 12px; flex: none;
}
.sidebar-user .nm { font-size: 13px; font-weight: 600; line-height: 1.25; }
.sidebar-user .rl { font-size: 11px; color: var(--muted); }

.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  height: 60px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 16px;
  padding: 0 28px;
  position: sticky; top: 0; z-index: 20;
}
.topbar .page-title { font-size: 15px; font-weight: 600; }
.topbar .crumb { color: var(--faint); font-size: 13px; }
.topbar .spacer { flex: 1; }
.topbar .net-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--ink-2); font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}
.net-pill .led { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-weak); }
.net-pill--danger { background: var(--err-weak); color: var(--err); border-color: color-mix(in oklab, var(--err) 30%, var(--line)); }
.net-pill--danger .led { background: var(--err); box-shadow: 0 0 0 3px color-mix(in oklab, var(--err) 25%, transparent); }

.content { padding: 32px 36px 64px; max-width: 1080px; width: 100%; margin: 0 auto; flex: 1; }
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: 23px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 5px; }
.page-head p { color: var(--muted); margin: 0; font-size: 14px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ============================================================
   PRIMITIVES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: background .12s, border-color .12s, box-shadow .12s, transform .04s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); border-color: var(--muted); }
.btn:active { transform: translateY(.5px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-press); border-color: var(--accent-press); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--line); }
.btn--lg { height: 44px; padding: 0 22px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--danger { color: var(--err); border-color: color-mix(in oklab, var(--err) 30%, var(--line-strong)); }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn:disabled:hover { background: var(--surface); border-color: var(--line-strong); }
.btn--primary:disabled:hover { background: var(--accent); }

.btn .ar { font-size: 15px; line-height: 1; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card.pad { padding: 22px; }

.field { margin-bottom: 16px; }
.label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.input {
  width: 100%; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 13px;
  font-size: 14px; font-family: inherit; color: var(--ink);
  background: var(--surface);
  transition: border-color .12s, box-shadow .12s;
}
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-weak); }
.input.err { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-weak); }
.helper { font-size: 12px; color: var(--muted); margin-top: 7px; }
.link { color: var(--accent); font-weight: 500; cursor: pointer; text-decoration: none; }
.link:hover { text-decoration: underline; }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; line-height: 1;
  padding: 4px 9px; border-radius: 999px;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.tag.ok { background: var(--ok-weak); color: var(--ok); }
.tag.err { background: var(--err-weak); color: var(--err); }
.tag.wait { background: #eef0f3; color: var(--muted); }
.tag.run { background: var(--accent-weak); color: var(--accent); }
.tag.warn { background: var(--warn-weak); color: var(--warn); }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table thead th {
  text-align: left; font-weight: 600; font-size: 11.5px; letter-spacing: .03em; text-transform: uppercase;
  color: var(--faint); padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.table thead th:first-child { border-top-left-radius: var(--radius); }
.table thead th:last-child { border-top-right-radius: var(--radius); }
.table tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--surface-2); }
.table tbody tr.err { background: var(--err-weak); }
.table tbody tr.err:hover { background: color-mix(in oklab, var(--err-weak) 80%, var(--err) 6%); }
.table td .nm { color: var(--ink); font-weight: 500; }

.addr {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 4px 8px; border-radius: var(--radius-xs);
}
.copy { border: none; background: none; color: var(--accent); font-size: 11.5px; font-weight: 600; cursor: pointer; font-family: var(--font-ui); }
.copy:hover { text-decoration: underline; }
.txlink { font-family: var(--font-mono); font-size: 12px; color: var(--accent); text-decoration: none; }
.txlink:hover { text-decoration: underline; }

.sep { border: none; border-top: 1px solid var(--line); margin: 22px 0; }

.summary-pill {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px; font-size: 13px; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.summary-pill b { color: var(--ink); }
.summary-pill .div { width: 1px; height: 16px; background: var(--line-strong); }
.summary-pill .num-ok b { color: var(--ok); }
.summary-pill .num-err b { color: var(--err); }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.stat .k { font-size: 12.5px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.stat .v { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.stat .v small { font-size: 13px; color: var(--faint); font-weight: 500; margin-left: 6px; }

.kvs { display: grid; grid-template-columns: 200px 1fr; gap: 0; }
.kvs dt { color: var(--muted); font-size: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.kvs dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; text-align: right; }
.kvs dt:last-of-type, .kvs dd:last-of-type { border-bottom: none; }

.banner {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: var(--radius-sm); padding: 13px 16px; font-size: 13.5px; line-height: 1.45;
}
.banner .bi { flex: none; width: 20px; height: 20px; display: grid; place-items: center; margin-top: 1px; }
.banner.warn { background: var(--warn-weak); border: 1px solid color-mix(in oklab, var(--warn) 30%, var(--line)); color: #6b4d05; }
.banner.warn .bi { color: var(--warn); }
.banner.err { background: var(--err-weak); border: 1px solid color-mix(in oklab, var(--err) 28%, var(--line)); color: #7d271c; }
.banner.info { background: var(--accent-weak); border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line)); color: var(--accent-press); }

.progress { height: 8px; border-radius: 999px; background: #eceef1; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.progress.ok > i { background: var(--ok); }

/* ---------- empty / dropzone ---------- */
.empty {
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: 44px 24px; text-align: center; color: var(--muted); background: var(--surface-2);
}
.empty .ei { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 14px; color: var(--faint); }
.empty .et { color: var(--ink-2); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.empty .es { font-size: 12.5px; }

.dropzone {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  padding: 40px 24px; text-align: center; background: var(--surface-2);
  transition: border-color .12s, background .12s; cursor: pointer;
}
.dropzone:hover { border-color: var(--accent); background: var(--accent-weak); }
.dropzone .di {
  width: 46px; height: 56px; border-radius: var(--radius-xs); margin: 0 auto 14px;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--muted);
}
.dropzone .big { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.dropzone .small { font-size: 12.5px; color: var(--muted); }

/* file chip */
.filechip { display: flex; align-items: center; gap: 14px; }
.filechip .fi {
  width: 42px; height: 50px; border-radius: var(--radius-xs); flex: none;
  display: grid; place-items: center; background: var(--accent-weak); color: var(--accent);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
}
.filechip .fn { font-weight: 600; font-size: 14px; }
.filechip .fmeta { font-size: 12px; color: var(--muted); }

/* preview placeholder (PDF/doc) */
.preview-ph {
  border: 1px solid var(--line); border-radius: var(--radius); background:
    repeating-linear-gradient(135deg, #fafbfc 0 11px, #f1f2f5 11px 22px);
  display: grid; place-items: center; text-align: center; color: var(--faint);
  font-family: var(--font-mono); font-size: 12px; line-height: 1.7; position: relative;
}
.preview-ph .pl { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; }

/* ============================================================
   WIZARD
   ============================================================ */
.wizard { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: start; }
.stepper { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 90px; }
.step { display: flex; gap: 13px; padding: 8px 4px; position: relative; }
.step .sn {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 600;
  background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--muted);
  z-index: 1;
}
.step .st small { display: block; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.step .st b { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.step::before {
  content: ""; position: absolute; left: 17.5px; top: 36px; bottom: -8px; width: 1.5px; background: var(--line-strong);
}
.step:last-child::before { display: none; }
.step.done .sn { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.done::before { background: var(--accent); }
.step.current .sn { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-weak); }
.step.current .st b { color: var(--ink); }
.step.done .st b { color: var(--ink); }

.wizard-body { min-width: 0; }
.wizard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

/* checkbox */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }

/* ============================================================
   PROGRESO (2 fases)
   ============================================================ */
.phase { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); margin-bottom: 18px; overflow: hidden; }
.phase.idle { opacity: .55; }
.phh { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.phh .pn { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-weak); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.phase.done .phh .pn { background: var(--ok); color: #fff; }
.phh b { font-size: 15px; }
.phh .ph-tag { margin-left: auto; }
.phase .pbody { padding: 18px 20px; }
.phase .sub { color: var(--muted); font-size: 13px; margin: 0 0 16px; }

.checkpoint {
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
  background: var(--accent-weak); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 18px;
}
.checkpoint .ck-txt b { font-size: 14px; }
.checkpoint .ck-txt p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }

.locknote {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--warn);
  background: var(--warn-weak); border: 1px solid color-mix(in oklab, var(--warn) 28%, var(--line));
  padding: 7px 13px; border-radius: 999px;
}

/* ---------- logo uploader (config) ---------- */
.logo-uploader { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.logo-preview {
  width: 168px; height: 84px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background:
    repeating-linear-gradient(45deg, #fafbfc 0 8px, #f3f4f6 8px 16px);
  display: grid; place-items: center; padding: 12px; overflow: hidden;
}
.logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-preview .ph-txt { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); text-align: center; line-height: 1.5; }
.logo-uploader .lu-actions { display: flex; flex-direction: column; gap: 8px; }
.logo-uploader .lu-hint { font-size: 12px; color: var(--muted); max-width: 30ch; }

/* responsive */
@media (max-width: 880px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-aside { display: none; }
  .wizard { grid-template-columns: 1fr; }
  .stepper { position: static; flex-direction: row; overflow-x: auto; gap: 6px; }
  .step::before { display: none; }
  .grid2 { grid-template-columns: 1fr; }
}

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: var(--radius-sm);
  font-size: 13px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 100; display: flex; align-items: center; gap: 9px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .tk { color: #6ee7a8; }

/* modal · Participantes */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 17, 22, .5); align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 760px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden;
}
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-bottom: 1px solid var(--line); flex: none;
}
.modal-body { padding: 20px 22px; overflow: auto; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: transparent; color: var(--muted);
  cursor: pointer; transition: background .12s, color .12s, border-color .12s;
}
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line); }
.icon-btn.edit:hover   { color: var(--accent); background: var(--accent-weak); border-color: transparent; }
.icon-btn.danger       { color: var(--err); }
.icon-btn.danger:hover { background: var(--err-weak); border-color: transparent; }
.icon-btn.ok           { color: var(--ok); }
.icon-btn.ok:hover     { background: var(--ok-weak); border-color: transparent; }
