:root {
  --navy: #0f1b2d;
  --navy-light: #16273f;
  --green: #16a34a;
  --green-light: #22c55e;
  --green-bg: #ecfdf3;
  --red: #e0503a;
  --red-bg: #fdecea;
  --gold: #f5b700;
  --gold-bg: #fff8e1;
  --blue: #2563eb;
  --ink: #14202f;
  --ink-muted: #5b6b7f;
  --bg: #f6f8fb;
  --card: #ffffff;
  --border: #e6ebf1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 16px rgba(15, 27, 45, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 27, 45, 0.12);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.2; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-mark { font-size: 1.3rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: rgba(255,255,255,.78);
  font-weight: 500;
  font-size: .93rem;
  padding: 9px 14px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-link.active { background: rgba(255,255,255,.14); color: #fff; }
.nav-link-muted { opacity: .65; }

.level-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold), #ffcf40);
  color: #4a3600;
  font-weight: 700;
  font-size: .85rem;
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  margin-left: 4px;
}
.level-chip-icon { font-size: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(22,163,74,.28); }
.btn-primary:hover { background: var(--green-light); }
.btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ink-muted); }
.btn-danger { background: var(--red); color: #fff; }
.btn-small { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Flash messages ---------- */
.flash-stack {
  position: fixed;
  top: 84px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}
.flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  font-weight: 500;
  animation: flashIn .25s ease;
  background: #fff;
  border-left: 4px solid var(--ink-muted);
}
.flash-success { border-left-color: var(--green); background: var(--green-bg); }
.flash-error { border-left-color: var(--red); background: var(--red-bg); }
.flash-info { border-left-color: var(--blue); background: #eef4ff; }
.flash-levelup {
  border-left-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-bg), #fff);
  font-weight: 700;
}
.flash-text { flex: 1; }
.flash-close { background: none; border: none; cursor: pointer; font-size: 1.1rem; color: var(--ink-muted); line-height: 1; }

@keyframes flashIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.flash.flash-hide { animation: flashOut .2s ease forwards; }
@keyframes flashOut { to { opacity: 0; transform: translateX(20px); } }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: .85rem;
}
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Cards / generic ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 24px;
}

.section { padding: 56px 0; }
.section-head { margin-bottom: 28px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-bg);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.muted { color: var(--ink-muted); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Landing page ---------- */
.hero {
  background: radial-gradient(circle at 20% 20%, #17304f 0%, var(--navy) 60%);
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-row { display: flex; align-items: center; gap: 48px; }
.hero-copy { flex: 1.1; }
.hero h1 { font-size: 2.6rem; color: #fff; }
.hero p.lead { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 480px; margin-bottom: 28px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.14);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}
.mock-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 22px;
  width: 320px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  transform: rotate(-2deg);
}
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.mock-row:last-child { border-bottom: none; }
.mock-up { color: var(--green); font-weight: 700; }
.mock-down { color: var(--red); font-weight: 700; }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--green-bg);
  border-radius: 14px;
  margin-bottom: 16px;
}

.steps { counter-reset: step; }
.step-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step-item:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-head);
}

.cta-band {
  background: linear-gradient(135deg, var(--green), #0f8a3f);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 24px; }

/* ---------- Auth ---------- */
.auth-wrap {
  min-height: calc(100vh - 68px - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 1.6rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-muted); }
.field input, .field select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: .95rem;
  font-family: var(--font-body);
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-muted); margin-bottom: 20px; }
.auth-foot { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--ink-muted); }
.auth-foot a { color: var(--green); font-weight: 600; }

/* ---------- Dashboard ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat-label { font-size: .8rem; color: var(--ink-muted); font-weight: 600; margin-bottom: 6px; }
.stat-value { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.stat-value.up { color: var(--green); }
.stat-value.down { color: var(--red); }

.dash-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }

/* ---------- Progress / level bar ---------- */
.level-card { text-align: center; }
.level-badge-icon {
  font-size: 3rem;
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-bg), #fff5cc);
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 3px solid var(--gold);
}
.progress-track {
  width: 100%;
  height: 14px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0 8px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 999px;
  width: 0%;
  transition: width 1s cubic-bezier(.22,1,.36,1);
}
.progress-fill.slim { height: 100%; }
.progress-meta { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-muted); }

.badge-case { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px; }
.badge-item {
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}
.badge-item .icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.badge-item .name { font-size: .72rem; font-weight: 600; color: var(--ink-muted); }
.badge-item.locked { opacity: .35; filter: grayscale(1); }

/* ---------- Learning ---------- */
.tab-bar { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.tab-btn {
  background: none; border: none; cursor: pointer;
  padding: 12px 18px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  color: var(--ink-muted);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
}
.tab-btn.active { color: var(--navy); border-bottom-color: var(--green); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.content-thumb {
  aspect-ratio: 16/9;
  background: var(--navy);
  position: relative;
}
.content-thumb iframe { width: 100%; height: 100%; border: none; display: block; }
.content-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.content-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.tag { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--green-bg); color: var(--green); }
.tag.tag-time { background: var(--bg); color: var(--ink-muted); }
.content-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.content-card p { font-size: .87rem; color: var(--ink-muted); flex: 1; }

.complete-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.complete-check { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--green); }

.tip-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
}
.tip-quote { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 10px; }
.tip-investor { font-weight: 700; color: var(--navy); font-size: .88rem; }
.tip-note { font-size: .85rem; color: var(--ink-muted); margin-top: 6px; }

.article-body p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 18px; color: #2a3644; }

.learning-progress-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.learning-progress-bar .progress-track { flex: 1; margin: 0; }

/* ---------- Practice ---------- */
.market-table { width: 100%; border-collapse: collapse; }
.market-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); padding: 10px 12px; border-bottom: 1.5px solid var(--border); }
.market-table td { padding: 12px; border-bottom: 1px solid var(--border); font-size: .92rem; }
.market-table tr:hover td { background: var(--bg); }
.sym { font-weight: 700; font-family: var(--font-head); }
.sym-name { color: var(--ink-muted); font-size: .8rem; }
.price-up { color: var(--green); font-weight: 600; }
.price-down { color: var(--red); font-weight: 600; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 5px; box-shadow: 0 0 0 3px var(--green-bg); }
.sim-dot { background: var(--ink-muted); box-shadow: 0 0 0 3px var(--border); }

.trade-btn { padding: 6px 14px; font-size: .82rem; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-weight: 600; }
.trade-btn:hover { border-color: var(--navy); }

.row-clickable { cursor: pointer; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,27,45,.55);
  display: none; align-items: center; justify-content: center; z-index: 300; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius); padding: 26px; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); }
.modal-box-wide { max-width: 520px; }

.chart-range-tabs { margin: 4px 0 16px; }
.chart-range-tabs .tab-btn { padding: 8px 14px; font-size: .85rem; }
.chart-wrap { position: relative; height: 240px; }
.chart-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted); font-size: .85rem; background: #fff;
}
.chart-loading.hidden { display: none; }
.chart-source { font-size: .78rem; color: var(--ink-muted); margin-top: 8px; text-align: right; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--ink-muted); }
.modal-price { font-size: .9rem; color: var(--ink-muted); margin-bottom: 18px; }
.modal-est { font-size: .85rem; color: var(--ink-muted); margin-top: 10px; }
.qty-buttons { display: flex; gap: 8px; margin-top: 8px; }
.qty-buttons button { flex: 1; padding: 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); cursor: pointer; font-weight: 600; font-size: .82rem; }

.banner {
  display: flex; align-items: center; gap: 10px;
  background: #eef4ff; border: 1px solid #d3e2ff; color: #1d4ed8;
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: .87rem; margin-bottom: 20px;
}

.empty-state { text-align: center; padding: 40px 20px; color: var(--ink-muted); }
.empty-state .big-emoji { font-size: 2.4rem; display: block; margin-bottom: 10px; }
.empty-state.crypto-locked { padding: 30px 20px; }
.empty-state.crypto-locked p { margin: 4px 0; }

.search-card { margin-bottom: 24px; }
.search-wrap { position: relative; }
.search-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 1rem;
  font-family: var(--font-body);
}
.search-input:focus { outline: none; border-color: var(--green); }
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 360px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}
.search-results.open { display: block; }
.search-result-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.search-result-row:last-child { border-bottom: none; }
.search-result-row:hover { background: var(--bg); }
.search-result-row.locked { cursor: default; opacity: .6; }
.search-result-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.search-result-sym { font-weight: 700; font-family: var(--font-head); flex-shrink: 0; }
.search-result-name { color: var(--ink-muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-empty { padding: 16px; color: var(--ink-muted); font-size: .88rem; text-align: center; }
.search-result-lock { font-size: .78rem; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-left: 10px; }

.history-table td.buy { color: var(--green); font-weight: 700; }
.history-table td.sell { color: var(--red); font-weight: 700; }

/* ---------- Confetti ---------- */
.confetti-layer {
  position: fixed; inset: 0; pointer-events: none; z-index: 400; overflow: hidden;
}
.confetti-piece {
  position: absolute; top: -20px;
  width: 9px; height: 14px;
  opacity: .9;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  to { transform: translateY(105vh) rotate(540deg); opacity: 0; }
}

/* ---------- Level-up celebration ---------- */
.celebration-overlay {
  position: fixed; inset: 0; z-index: 500;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 50% 30%, rgba(245,183,0,.35), rgba(15,27,45,.78) 70%);
  animation: celebrationFadeIn .3s ease;
}
.celebration-overlay.open { display: flex; }
@keyframes celebrationFadeIn { from { opacity: 0; } to { opacity: 1; } }

.celebration-box {
  background: #fff;
  border-radius: 24px;
  padding: 44px 36px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: celebrationPop .55s cubic-bezier(.22,1.4,.36,1);
  position: relative;
  overflow: hidden;
}
.celebration-box::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-bg), transparent 60%);
  pointer-events: none;
}
@keyframes celebrationPop {
  0% { transform: scale(.4) rotate(-6deg); opacity: 0; }
  65% { transform: scale(1.08) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}

.celebration-icon {
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 10px;
  display: inline-block;
  animation: celebrationBounce 1.4s ease-in-out infinite;
  position: relative;
}
@keyframes celebrationBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.06); }
}

.celebration-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: .02em;
  margin-bottom: 6px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: celebrationShimmer 2.2s linear infinite;
  position: relative;
}
@keyframes celebrationShimmer {
  to { background-position: 200% center; }
}

.celebration-subtitle {
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 4px;
  position: relative;
}
.celebration-badge {
  font-size: 1rem;
  color: var(--ink-muted);
  margin: 0 0 22px;
  position: relative;
}
.celebration-dismiss { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-row { flex-direction: column; }
  .hero h1 { font-size: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .badge-case { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    display: none;
    gap: 4px;
  }
  .site-nav.open { display: flex; }
  .nav-link, .level-chip { width: 100%; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 56px 0 64px; }
  .cta-band { padding: 32px 22px; margin: 0 12px; }
  .badge-case { grid-template-columns: repeat(2, 1fr); }
}

.password-wrap { position: relative; }
.password-wrap input { padding-right: 42px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  border-radius: var(--radius-sm);
}
.password-toggle:hover { color: var(--ink); }
.password-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.password-toggle svg { width: 20px; height: 20px; display: block; }
.password-toggle svg[hidden] { display: none; }
