:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #090b11;
  --surface-2: #10131d;
  --line: rgba(255, 255, 255, .1);
  --text: #f7f8ff;
  --muted: #989daf;
  --blue: #2f6bff;
  --cyan: #00d4ff;
  --purple: #8b5cf6;
  --gold: #f5c542;
  --green: #35e88b;
  --red: #ff5572;
  --orange: #ff9b3d;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { min-height: 100dvh; margin: 0; color: var(--text); background: var(--bg); overflow-x: hidden; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
input, select {
  width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 14px;
  padding: 0 15px; color: var(--text); background: #080a10; outline: none;
}
input:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 212, 255, .12); }
label { display: grid; gap: 8px; color: #c8cbda; font-size: .88rem; font-weight: 650; min-width: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
.hidden { display: none !important; }
.eyebrow { margin-bottom: 8px; color: var(--cyan); font-size: .72rem; font-weight: 850; letter-spacing: .16em; }
.primary-button {
  min-height: 52px; border: 0; border-radius: 15px; padding: 0 19px; display: inline-flex; align-items: center;
  justify-content: center; gap: 12px; color: white; font-weight: 800; background: linear-gradient(120deg, var(--blue), var(--purple));
  box-shadow: 0 15px 34px rgba(47, 107, 255, .22); transition: transform .18s ease, filter .18s ease;
}
.primary-button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.primary-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.primary-button.small { min-height: 46px; width: auto; }
.icon-button {
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 15px; display: inline-grid; place-items: center;
  background: rgba(255,255,255,.04); font-size: 1.25rem;
}
.text-button { min-height: 44px; border: 0; padding: 0; color: var(--cyan); background: transparent; text-align: left; font-weight: 750; }
.form-message { min-height: 1.4em; margin: 13px 0 0; color: var(--red); font-size: .87rem; }
.stack-form { display: grid; gap: 12px; }
.glass-card, .panel-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(17,21,32,.95), rgba(5,7,12,.95)); box-shadow: 0 24px 70px rgba(0,0,0,.42); }

/* Entrada */
.login-page::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 18% 35%, rgba(47,107,255,.21), transparent 32%), radial-gradient(circle at 78% 20%, rgba(139,92,246,.12), transparent 30%);
}
.login-shell { position: relative; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); }
.brand-panel { padding: clamp(44px, 8vw, 120px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.logo-mark, .mini-logo {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 19px; text-decoration: none;
  color: white; background: linear-gradient(140deg, var(--cyan), var(--blue) 55%, var(--purple)); font-size: 2rem; font-weight: 900; box-shadow: 0 0 38px rgba(0,212,255,.3);
}
.brand-panel .eyebrow { margin-top: 50px; }
.brand-panel h1 { max-width: 780px; margin-bottom: 25px; font-size: clamp(3.3rem, 7vw, 7.3rem); line-height: .9; }
.brand-panel h1 span { color: transparent; background: linear-gradient(90deg, var(--cyan), #7ea1ff, #ba8dff); background-clip: text; }
.brand-panel > p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.7; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.feature-pills span { border: 1px solid var(--line); border-radius: 999px; padding: 11px 15px; background: rgba(255,255,255,.035); color: #d7d9e4; font-weight: 700; font-size: .85rem; }
.login-card { align-self: center; margin: 35px clamp(24px, 6vw, 90px) 35px 0; border: 1px solid var(--line); border-radius: 30px; padding: clamp(25px, 4vw, 48px); background: rgba(7,9,15,.88); backdrop-filter: blur(22px); box-shadow: 0 30px 90px rgba(0,0,0,.5); min-width: 0; }
.login-card h2 { margin-bottom: 26px; font-size: 2rem; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 35px; border: 1px solid var(--line); border-radius: 16px; background: #030407; }
.role-tab { min-height: 48px; border: 0; border-radius: 12px; color: var(--muted); background: transparent; font-weight: 750; }
.role-tab.active { color: white; background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-button { min-width: 0; min-height: 120px; border: 1px solid var(--line); border-radius: 20px; padding: 17px; display: grid; place-items: center; gap: 5px; background: linear-gradient(145deg, #10131c, #07090e); }
.profile-button:hover, .profile-button:focus-visible { border-color: var(--cyan); box-shadow: 0 0 25px rgba(0,212,255,.13); }
.profile-button span { font-size: 2.2rem; }
.profile-button strong { overflow: hidden; max-width: 100%; text-overflow: ellipsis; }
.selected-profile { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.selected-profile span { font-size: 2rem; }
#pin { text-align: center; letter-spacing: .65em; font-size: 1.5rem; }

/* App Kids */
.app-shell { width: min(100%, 980px); min-height: 100dvh; margin: 0 auto; padding-bottom: calc(98px + env(safe-area-inset-bottom)); }
.app-header { position: sticky; z-index: 20; top: 0; min-height: 82px; padding: 13px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(0,0,0,.82); backdrop-filter: blur(20px); }
.mini-logo { width: 48px; height: 48px; border-radius: 15px; font-size: 1.5rem; }
.profile-title { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; }
.profile-title .avatar { font-size: 1.85rem; }
.profile-title div { min-width: 0; display: grid; }
.profile-title small { color: var(--muted); font-size: .72rem; }
.profile-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.streak-pill { height: 48px; min-width: 66px; padding: 0 14px; border: 1px solid rgba(245,197,66,.25); border-radius: 15px; display: flex; align-items: center; gap: 6px; background: rgba(245,197,66,.08); color: var(--gold); }
.app-content { padding: 20px 18px 35px; }
.hero-progress { border-radius: 28px; padding: clamp(22px, 5vw, 38px); display: flex; align-items: center; justify-content: space-between; gap: 18px; overflow: hidden; position: relative; }
.hero-progress::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; background: var(--blue); filter: blur(85px); opacity: .28; }
.progress-copy { min-width: 0; position: relative; z-index: 1; }
.progress-copy h1 { margin-bottom: 10px; font-size: clamp(1.55rem, 6vw, 2.4rem); }
.progress-copy > p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.5; }
.progress-ring { position: relative; flex: 0 0 122px; width: 122px; height: 122px; }
.progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 9; }
.ring-track { stroke: rgba(255,255,255,.09); }
.ring-value { stroke: var(--cyan); stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(0,212,255,.65)); transition: stroke-dashoffset .45s ease; }
.progress-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.progress-ring strong { font-size: 1.5rem; }
.progress-ring span { color: var(--muted); font-size: .66rem; }
.money-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 27px; }
.money-box { min-width: 0; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 6px; background: var(--surface); }
.money-box span { color: var(--muted); font-size: .7rem; font-weight: 700; }
.money-box strong { overflow-wrap: anywhere; font-size: clamp(.9rem, 4vw, 1.18rem); }
.money-box.earned strong { color: var(--green); }
.money-box.discounted strong { color: var(--red); }
.money-box.projection { border-color: rgba(47,107,255,.32); }
.timeline-period { margin-top: 28px; }
.period-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #d9dce8; font-size: .77rem; letter-spacing: .12em; text-transform: uppercase; }
.period-title::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.task-card { min-width: 0; min-height: 82px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 20px; padding: 13px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: linear-gradient(145deg, #0d1018, #06080d); }
.task-card.appointment { border-color: rgba(245,197,66,.32); background: linear-gradient(145deg, rgba(245,197,66,.085), #08090e 65%); }
.task-card.now { border-color: var(--cyan); animation: pulse-border 1.8s ease-in-out infinite; }
.task-card.next { border-color: var(--purple); box-shadow: 0 0 25px rgba(139,92,246,.1); }
.task-card.overdue { border-color: rgba(255,155,61,.55); }
.task-card.completed { opacity: .68; }
.task-card.failed { opacity: .58; }
@keyframes pulse-border { 50% { box-shadow: 0 0 25px rgba(0,212,255,.25); } }
.task-check { width: 48px; height: 48px; border: 2px solid rgba(255,255,255,.25); border-radius: 16px; display: grid; place-items: center; background: transparent; font-size: 1.35rem; font-weight: 900; }
.task-check:not(:disabled):hover { border-color: var(--cyan); background: rgba(0,212,255,.08); }
.task-check:disabled { cursor: not-allowed; }
.task-card.completed .task-check { border-color: var(--green); background: var(--green); color: #002814; }
.task-card.failed .task-check { border-color: var(--red); color: var(--red); }
.task-main { min-width: 0; }
.task-main strong { display: block; overflow-wrap: anywhere; }
.task-meta { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: .76rem; }
.state-badge { border-radius: 999px; padding: 4px 7px; background: rgba(255,255,255,.06); color: #d5d7e1; }
.overdue .state-badge { color: var(--orange); background: rgba(255,155,61,.1); }
.now .state-badge { color: var(--cyan); background: rgba(0,212,255,.1); }
.task-action { max-width: 122px; color: var(--muted); font-size: .72rem; text-align: right; }
.empty-state { border: 1px dashed var(--line); border-radius: 22px; padding: 38px 20px; text-align: center; color: var(--muted); }
.page-heading { margin-bottom: 24px; }
.page-heading h1, .page-heading h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 7vw, 2.7rem); }
.page-heading > p:last-child { color: var(--muted); }
.history-list, .ledger-list { display: grid; gap: 10px; }
.history-row, .ledger-row { min-width: 0; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; align-items: center; gap: 13px; background: var(--surface); }
.history-status { font-size: 1.75rem; }
.history-row div, .ledger-row div { min-width: 0; flex: 1; }
.history-row p, .ledger-row p { margin: 3px 0 0; color: var(--muted); font-size: .8rem; }
.ledger-value { flex: 0 0 auto !important; text-align: right; color: var(--green); font-weight: 800; }
.ledger-value.negative { color: var(--red); }
.bottom-nav { position: fixed; z-index: 30; left: 50%; bottom: 0; width: min(100%, 980px); min-height: 74px; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(3, 1fr); transform: translateX(-50%); border-top: 1px solid var(--line); background: rgba(4,5,9,.92); backdrop-filter: blur(22px); }
.nav-item { min-height: 58px; border: 0; border-radius: 15px; display: grid; place-content: center; gap: 2px; color: var(--muted); background: transparent; }
.nav-item span { font-size: 1.2rem; }
.nav-item strong { font-size: .7rem; }
.nav-item.active { color: var(--cyan); background: rgba(0,212,255,.08); }
.reward-modal, .form-dialog { width: min(calc(100% - 28px), 560px); border: 1px solid rgba(0,212,255,.35); border-radius: 28px; padding: 30px; color: var(--text); background: linear-gradient(145deg, #11172b, #070910); box-shadow: 0 0 70px rgba(47,107,255,.35); }
.reward-modal::backdrop, .form-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(7px); }
.reward-modal { text-align: center; }
.reward-icon { font-size: 4rem; filter: drop-shadow(0 0 20px rgba(245,197,66,.45)); }
.reward-modal .primary-button { width: 100%; }
.confetti-canvas { position: fixed; z-index: 100; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); width: min(calc(100% - 32px), 460px); padding: 14px 18px; transform: translateX(-50%); border: 1px solid rgba(0,212,255,.25); border-radius: 15px; color: white; background: #131827; box-shadow: 0 18px 45px rgba(0,0,0,.55); text-align: center; }

/* Admin */
.admin-shell { min-height: 100dvh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100dvh; padding: 26px 17px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #050609; }
.admin-brand { min-height: 58px; margin: 0 8px 32px; display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.admin-brand > span { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple)); font-size: 1.5rem; font-weight: 900; }
.admin-brand div { display: grid; }
.admin-brand small { color: var(--muted); }
.admin-nav { display: grid; gap: 6px; }
.admin-nav-item { min-height: 50px; border: 0; border-radius: 14px; padding: 0 15px; display: flex; align-items: center; gap: 12px; color: var(--muted); background: transparent; text-align: left; font-weight: 700; }
.admin-nav-item span { width: 25px; color: #c6cad8; text-align: center; }
.admin-nav-item:hover, .admin-nav-item.active { color: white; background: linear-gradient(90deg, rgba(47,107,255,.18), rgba(139,92,246,.08)); }
.admin-nav-item.active span { color: var(--cyan); }
.logout-button { margin-top: auto; width: 100%; }
.admin-main { min-width: 0; padding: clamp(22px, 4vw, 54px); background: radial-gradient(circle at 85% 0, rgba(47,107,255,.1), transparent 28%), var(--bg); }
.admin-topbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.admin-topbar h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.child-picker { min-width: 210px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dashboard-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
.stat-card { min-width: 0; min-height: 130px; border: 1px solid var(--line); border-radius: 22px; padding: 21px; background: linear-gradient(145deg, #10131d, #080a0f); }
.stat-card span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.stat-card strong { display: block; margin-top: 13px; overflow-wrap: anywhere; font-size: clamp(1.25rem, 2.5vw, 2rem); }
.stat-card small { display: block; margin-top: 6px; color: #747b90; }
.stat-card.accent { border-color: rgba(0,212,255,.25); background: linear-gradient(145deg, rgba(0,212,255,.1), #080a0f); }
.admin-two-columns { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); gap: 14px; margin-top: 14px; }
.panel-card { min-width: 0; border-radius: 22px; padding: 23px; }
.panel-heading, .section-toolbar, .dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.panel-heading h2, .section-toolbar h2, .dialog-heading h2 { margin-bottom: 0; }
.legend { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: .7rem; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.legend i:nth-of-type(2) { background: var(--red); }
.bar-chart { width: 100%; height: auto; margin-top: 20px; overflow: visible; }
.comparison-card { display: flex; flex-direction: column; }
#month-comparison { flex: 1; display: grid; align-content: center; gap: 18px; }
.comparison-line { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.comparison-line span { color: var(--muted); }
.comparison-line strong.positive { color: var(--green); }
.comparison-line strong.negative { color: var(--red); }
.section-toolbar { margin-bottom: 24px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays span { padding: 10px; color: var(--muted); font-size: .72rem; text-align: center; }
.calendar-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-day { min-width: 0; min-height: 135px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9px; background: rgba(255,255,255,.018); }
.calendar-day.empty { background: #030406; }
.calendar-day > strong { display: block; margin-bottom: 8px; color: #b9bdcb; font-size: .75rem; }
.calendar-item { min-width: 0; margin-top: 5px; border-left: 2px solid var(--blue); border-radius: 5px; padding: 5px 6px; overflow: hidden; color: #dce0ef; background: rgba(47,107,255,.1); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.calendar-item.appointment { border-left-color: var(--gold); background: rgba(245,197,66,.09); }
.admin-list { display: grid; gap: 10px; }
.admin-list-row { min-width: 0; border: 1px solid var(--line); border-radius: 19px; padding: 15px; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 15px; background: var(--surface); }
.item-time { color: var(--cyan); font-weight: 850; }
.admin-list-row p { margin: 4px 0 0; color: var(--muted); font-size: .77rem; }
.row-actions { display: flex; gap: 7px; }
.row-actions button { min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 13px; background: transparent; }
.row-actions .danger { color: var(--red); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-dialog form { display: grid; gap: 20px; }
.form-dialog.narrow { max-width: 430px; }
.form-dialog.narrow form > label { margin-top: -7px; }
.close-dialog { font-size: 1.6rem; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 15px; padding: 13px; }
legend { color: #c8cbda; font-size: .85rem; font-weight: 700; }
.weekday-options { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.weekday-options label { min-width: 0; min-height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: #080a10; font-size: .75rem; }
.weekday-options input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.weekday-options label:has(input:checked) { border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,.08); }
.children-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.child-admin-card { min-width: 0; border: 1px solid var(--line); border-radius: 22px; padding: 21px; display: grid; place-items: center; gap: 10px; background: var(--surface); text-align: center; }
.child-admin-card > span { font-size: 3rem; }
.child-admin-card button { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 13px; background: transparent; }

@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: auto; padding: 46px 24px 22px; }
  .brand-panel .eyebrow { margin-top: 28px; }
  .brand-panel h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .login-card { margin: 10px 18px 35px; }
  .admin-shell { display: block; padding-bottom: 82px; }
  .admin-sidebar { position: fixed; z-index: 50; inset: auto 0 0; width: 100%; height: auto; min-height: 72px; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); display: block; border: 0; border-top: 1px solid var(--line); background: rgba(4,5,9,.94); backdrop-filter: blur(20px); }
  .admin-brand, .logout-button { display: none; }
  .admin-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .admin-nav-item { min-width: 0; min-height: 58px; padding: 5px 2px; display: grid; place-content: center; gap: 3px; font-size: .58rem; text-align: center; }
  .admin-nav-item span { width: auto; font-size: 1rem; }
  .admin-main { padding: 22px 16px; }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-two-columns { grid-template-columns: 1fr; }
  .calendar-day { min-height: 100px; padding: 5px; }
  .calendar-item { padding: 4px 3px; font-size: .55rem; }
}

@media (max-width: 560px) {
  .brand-panel > p:not(.eyebrow), .feature-pills { display: none; }
  .brand-panel h1 { margin-bottom: 0; }
  .login-card { padding: 24px 18px; border-radius: 24px; }
  .app-header { gap: 8px; }
  .app-header > .mini-logo { display: none; }
  .hero-progress { align-items: flex-start; }
  .progress-ring { flex-basis: 96px; width: 96px; height: 96px; }
  .progress-ring strong { font-size: 1.16rem; }
  .money-box { padding: 12px 9px; }
  .task-card { grid-template-columns: 48px minmax(0, 1fr); }
  .task-action { grid-column: 2; max-width: none; text-align: left; }
  .admin-topbar { align-items: stretch; flex-direction: column; }
  .child-picker { width: 100%; }
  .stat-card { min-height: 112px; padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .calendar-weekdays span { padding: 8px 1px; font-size: .6rem; }
  .calendar-day { min-height: 72px; }
  .calendar-item { height: 7px; padding: 0; border-left: 0; border-radius: 999px; color: transparent; background: var(--blue); }
  .calendar-item.appointment { background: var(--gold); }
  .admin-list-row { grid-template-columns: 52px minmax(0, 1fr); }
  .row-actions { grid-column: 1 / -1; }
  .row-actions button { flex: 1; }
  .form-dialog { padding: 22px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
