/*
#################################################################################
# Author      : Rodrigo Contreras (<mrdc.tech>)
# Copyright(c): 2026
# All Rights Reserved.
#
# This module is copyright property of the author mentioned above.
# You can`t redistribute it and/or modify it.
#
#################################################################################
*/

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #f0eee8;
  --border: #e2dfd7;
  --text: #1b1a17;
  --muted: #615e57;
  --accent: #d6302d;
  --accent-ink: #ffffff;
  --ok: #17794a;
  --warn: #975400;
  --danger: #c22a26;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(40, 30, 10, .04), 0 8px 28px rgba(40, 30, 10, .06);
  --mrdc-ink: #1b1a17;
  --mrdc-ink-fg: #ffffff;
  --mrdc-border-strong: #c9c5ba;
  --mrdc-accent-soft: #fdeceb;
  --mrdc-accent-text: #b72522;
  --mrdc-ok-soft: #e4f4ea;
  --mrdc-warn-soft: #fbefd9;
  --mrdc-danger-soft: #fbe9e8;
  --mrdc-series-1: #2a78d6;
  --mrdc-series-2: #eb6834;
  --mrdc-display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mrdc-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --mrdc-tabbar: 0px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --surface: #1b1b19;
    --surface-2: #262623;
    --border: #34332f;
    --text: #f2f0ea;
    --muted: #a9a69d;
    --accent: #d6302d;
    --ok: #55c58f;
    --warn: #f0b45a;
    --danger: #ff8078;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 28px rgba(0, 0, 0, .32);
    --mrdc-ink: #f2f0ea;
    --mrdc-ink-fg: #1b1a17;
    --mrdc-border-strong: #4a4943;
    --mrdc-accent-soft: #3a1d1b;
    --mrdc-accent-text: #ff8a82;
    --mrdc-ok-soft: #173326;
    --mrdc-warn-soft: #3a2c12;
    --mrdc-danger-soft: #3d1f1d;
    --mrdc-series-1: #3987e5;
    --mrdc-series-2: #d95926;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.mrdc-locked { overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-family: var(--mrdc-display); text-wrap: balance; }
h1 { font-size: 26px; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
h3 { font-size: 15px; font-weight: 650; }
p { margin: 0; }
ol { margin: 10px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mrdc-mono); }
.hidden { display: none !important; }
svg { flex: none; }

:focus-visible { outline: 2px solid var(--mrdc-ink); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }

.shell { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.side {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 18px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 16px; font-weight: 700; font-family: var(--mrdc-display); font-size: 16px; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: #fff; flex: none; }
.brand-mark svg { width: 30px; height: 30px; display: block; }
.merchant-pick { margin: 0 0 10px; }
.mrdc-merchant { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); min-width: 0; }
.mrdc-merchant img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: #111; flex: none; }
.mrdc-merchant > div { min-width: 0; flex: 1; }
.mrdc-merchant strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
.mrdc-merchant a { display: block; font-size: 12px; color: var(--muted); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrdc-merchant a:hover { color: var(--text); text-decoration: underline; }
.merchant-pick select { margin-top: 8px; }
.mrdc-nav-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 11px; min-height: 40px;
  padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 550;
  position: relative; transition: background .12s, color .12s;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { background: var(--mrdc-accent-soft); color: var(--mrdc-accent-text); font-weight: 650; }
.nav a svg { width: 19px; height: 19px; flex: none; }
.nav-sep { height: 1px; background: var(--border); margin: 10px 8px; }
.side-foot { margin-top: auto; padding: 12px 0 0; }
.mrdc-user { display: flex; align-items: center; gap: 10px; padding: 10px 6px 10px 8px; border-top: 1px solid var(--border); min-width: 0; }
.mrdc-user > div { min-width: 0; flex: 1; line-height: 1.3; }
.mrdc-user > div strong, .mrdc-user > div span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrdc-user > div span { font-size: 12px; color: var(--muted); }
.side-foot .row { flex-wrap: nowrap; gap: 8px; }
.side-foot .row > .grow { min-width: 0; }
.mrdc-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 13px; letter-spacing: .02em;
  font-family: var(--mrdc-display);
}
.mrdc-avatar.mrdc-lg { width: 52px; height: 52px; font-size: 18px; }
.mrdc-avatar.mrdc-tone-1 { background: #dbe8fb; color: #174a8c; }
.mrdc-avatar.mrdc-tone-2 { background: #fde3d6; color: #8a3410; }
.mrdc-avatar.mrdc-tone-3 { background: #d8f1e6; color: #0d5c3d; }
.mrdc-avatar.mrdc-tone-4 { background: #fbe9bd; color: #6e4a00; }
.mrdc-avatar.mrdc-tone-5 { background: #f8dbe7; color: #86244f; }
.mrdc-avatar.mrdc-tone-6 { background: #e2ddfa; color: #3d2f9c; }
.mrdc-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mrdc-person > div:last-child { min-width: 0; }
.mrdc-person strong { display: block; overflow: hidden; text-overflow: ellipsis; }

.mrdc-content { min-width: 0; }
.main { padding: 32px 36px 72px; max-width: 1220px; width: 100%; margin: 0 auto; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.head p { margin-top: 4px; }
.head > div:first-child { min-width: 0; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; min-width: 0; }
.card + .card { margin-top: 16px; }
.grid > .card + .card { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head > div:first-child { min-width: 0; }
.card-head p { margin-top: 3px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 388px; gap: 20px; align-items: start; }
.split > * { min-width: 0; }
.sticky { position: sticky; top: 20px; }

.stat { padding: 18px 20px; }
.stat .label { color: var(--muted); font-size: 13px; font-weight: 550; display: flex; align-items: center; gap: 8px; }
.stat .label svg { width: 16px; height: 16px; }
.stat .value { font-family: var(--mrdc-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text); min-width: 0; }
.field > span.hint { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--mrdc-border-strong); border-radius: 11px; padding: 9px 12px; width: 100%; min-height: 42px;
  transition: border-color .12s, box-shadow .12s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23807c72' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; text-overflow: ellipsis; }
textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--mrdc-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mrdc-ink) 16%, transparent); }
input[type=color] { padding: 3px; height: 42px; width: 52px; flex: none; cursor: pointer; }
input[type=file] { padding: 8px; font-size: 14px; }
input[type=range] { padding: 0; border: 0; min-height: 32px; accent-color: var(--accent); background: transparent; box-shadow: none; }
input[type=checkbox] {
  appearance: none; -webkit-appearance: none; width: 44px; min-width: 44px; height: 26px; min-height: 26px; padding: 0; border-radius: 999px;
  background: var(--mrdc-border-strong); border: 0; position: relative; cursor: pointer; flex: none; transition: background .15s;
}
input[type=checkbox]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
input[type=checkbox]:checked { background: var(--ok); }
input[type=checkbox]:checked::after { transform: translateX(18px); }
input[type=checkbox]:hover { border: 0; }
input[type=checkbox]:focus { box-shadow: none; }
input[type=checkbox]:focus-visible { outline: 2px solid var(--mrdc-ink); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--text); font-size: 14.5px; min-height: 44px; cursor: pointer; line-height: 1.35; }
.form { display: grid; gap: 16px; }
.form > h3 { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 160px; }
.actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }

button, .btn {
  font: inherit; font-weight: 600; border: 1px solid var(--mrdc-border-strong); background: var(--surface);
  color: var(--text); border-radius: 11px; padding: 8px 14px; min-height: 40px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  transition: background .12s, border-color .12s, transform .06s; -webkit-tap-highlight-color: transparent;
}
button:hover, .btn:hover { background: var(--surface-2); }
button:active, .btn:active { transform: scale(.98); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
button svg, .btn svg { width: 18px; height: 18px; flex: none; }
button.small, .btn.small { min-height: 34px; padding: 5px 11px; font-size: 13px; border-radius: 9px; }
button.small svg, .btn.small svg { width: 15px; height: 15px; }
.primary { background: var(--mrdc-ink); color: var(--mrdc-ink-fg); border-color: transparent; }
.primary:hover { background: color-mix(in srgb, var(--mrdc-ink) 84%, var(--surface)); }
.mrdc-accent, .primary.mrdc-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.mrdc-accent:hover, .primary.mrdc-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.danger { color: var(--danger); }
.danger:hover { background: var(--mrdc-danger-soft); border-color: color-mix(in srgb, var(--danger) 40%, var(--border)); }
.mrdc-danger-fill { background: var(--danger); color: #fff; border-color: transparent; }
.mrdc-danger-fill:hover { background: color-mix(in srgb, var(--danger) 86%, #000); }
@media (prefers-color-scheme: dark) { .mrdc-danger-fill { color: #1b1a17; } }
.ghost { background: transparent; border-color: transparent; }
.big { padding: 14px 20px; font-size: 17px; border-radius: 14px; min-height: 56px; }
.big svg { width: 22px; height: 22px; }
.full { width: 100%; }
.mrdc-icon-btn { width: 40px; padding: 0; }

.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: var(--bg); }
.table tr.click:focus-visible { outline-offset: -2px; }
.table td.mrdc-num, .table th.mrdc-num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; background: var(--surface-2); color: var(--muted); white-space: nowrap; line-height: 1.4; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.mono::before, .pill.mrdc-plain::before { display: none; }
.pill.ok { background: var(--mrdc-ok-soft); color: var(--ok); }
.pill.warn { background: var(--mrdc-warn-soft); color: var(--warn); }
.pill.bad { background: var(--mrdc-danger-soft); color: var(--danger); }

.tabs { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 2px; max-width: 100%; overflow-x: auto; }
.tabs button { border: 0; background: transparent; padding: 6px 14px; min-height: 36px; border-radius: 9px; color: var(--muted); }
.tabs button:hover { color: var(--text); background: transparent; }
.tabs button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.feed { display: flex; flex-direction: column; }
.feed-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.feed-item > div:first-child { min-width: 0; }
.feed-item:last-child { border-bottom: 0; }
a.feed-item { text-decoration: none; color: inherit; margin: 0 -10px; padding: 12px 10px; border-radius: 10px; }
a.feed-item:hover { background: var(--bg); }
.mrdc-plus { color: var(--ok); font-weight: 650; }
.mrdc-minus { color: var(--muted); font-weight: 650; }

.empty { text-align: center; padding: 44px 16px; color: var(--muted); }
.mrdc-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 40px 20px; color: var(--muted); }
.mrdc-empty-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); margin-bottom: 4px; }
.mrdc-empty-icon svg { width: 30px; height: 30px; }
.mrdc-empty strong { color: var(--text); font-size: 17px; font-family: var(--mrdc-display); }
.mrdc-empty p { max-width: 42ch; }
.mrdc-steps { list-style: none; counter-reset: mrdc-step; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; text-align: left; width: min(360px, 100%); }
.mrdc-steps li { counter-increment: mrdc-step; display: flex; gap: 12px; align-items: center; color: var(--text); }
.mrdc-steps li::before { content: counter(mrdc-step); width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }

.mrdc-loader { display: grid; place-items: center; padding: 80px 0; }
.mrdc-loader::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--accent); animation: mrdc-spin .8s linear infinite; }
@keyframes mrdc-spin { to { transform: rotate(360deg); } }

.mrdc-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--mrdc-warn-soft); color: var(--text); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); margin-bottom: 16px; }
.mrdc-notice svg { width: 20px; height: 20px; color: var(--warn); margin-top: 2px; }
.mrdc-notice.mrdc-info { background: var(--surface-2); border-color: var(--border); }
.mrdc-notice.mrdc-info svg { color: var(--muted); }
.mrdc-notice > div { min-width: 0; overflow-wrap: anywhere; }

#toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--mrdc-tabbar) + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(16px);
  background: #1b1a17; color: #fff; padding: 13px 18px 13px 44px; border-radius: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; width: max-content; max-width: calc(100vw - 32px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .12);
}
#toast::before { content: ""; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: #3ecf8e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102018' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.bad { background: #b3261e; border-color: transparent; }
#toast.bad::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3261e' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 6.5v7M12 17.4v.2'/%3E%3C/svg%3E") center / 14px no-repeat; }

.modal-back { position: fixed; inset: 0; background: rgba(15, 12, 8, .55); display: grid; place-items: center; z-index: 50; padding: 16px; animation: mrdc-fade .15s ease-out; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; width: min(580px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px; box-shadow: 0 24px 80px rgba(0, 0, 0, .35); animation: mrdc-rise .18s ease-out; overscroll-behavior: contain; }
.modal.mrdc-narrow { width: min(420px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.modal-head h2 { font-size: 19px; min-width: 0; overflow-wrap: anywhere; }
.modal-head button { width: 40px; height: 40px; padding: 0; border-radius: 50%; background: var(--surface-2); flex: none; }
@keyframes mrdc-fade { from { opacity: 0; } }
@keyframes mrdc-rise { from { opacity: 0; transform: translateY(12px); } }

.login { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.mrdc-login-art { background: #171614; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.mrdc-login-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 420px at 85% 15%, rgba(214, 48, 45, .5), transparent 70%), radial-gradient(520px 380px at 0% 100%, rgba(235, 104, 52, .22), transparent 70%); }
.mrdc-login-art > * { position: relative; }
.mrdc-login-art .brand { padding: 0; font-size: 18px; }
.mrdc-login-art h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; max-width: 14ch; }
.mrdc-login-art p { color: rgba(255, 255, 255, .72); margin-top: 14px; max-width: 40ch; font-size: 16px; }
.mrdc-login-card { width: 250px; border-radius: 18px; background: #0d0d0c; border: 1px solid rgba(255, 255, 255, .14); padding: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: rotate(-4deg); margin: 0 0 8px 12px; }
.mrdc-login-card b { font-family: var(--mrdc-display); font-size: 15px; }
.mrdc-login-card span { display: block; font: 10px var(--mrdc-mono); letter-spacing: .06em; color: #f5c26b; margin-top: 14px; }
.mrdc-login-dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 8px; }
.mrdc-login-dots i { aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .28); }
.mrdc-login-dots i.mrdc-on { background: var(--accent); border-color: var(--accent); }
.mrdc-login-form { display: grid; place-items: center; padding: 32px 20px; }
.mrdc-login-form > div { width: min(380px, 100%); }
.mrdc-login-form h2 { font-size: 26px; letter-spacing: -.02em; }
.mrdc-login-form .brand { display: none; padding: 0 0 28px; }
.mrdc-login-form input { min-height: 50px; font-size: 16px; }
.mrdc-pass-field { position: relative; }
.mrdc-pass-field input { padding-right: 52px; }
.mrdc-pass-field button { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; min-height: 0; padding: 0; border: 0; background: transparent; color: var(--muted); }

.pass {
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .35); width: 100%; max-width: 340px; margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.pass-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; min-height: 62px; }
.pass-top img { max-height: 40px; max-width: 60%; }
.pass-head-field { text-align: right; }
.pass-strip-wrap { position: relative; }
.pass-strip { display: block; width: 100%; aspect-ratio: 375 / 144; object-fit: cover; }
.pass-primary { position: absolute; left: 16px; bottom: 10px; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.pass-primary .pass-value { font-size: 34px; line-height: 1.1; }
.pass-fields { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.pass-fields > div { flex: 1 1 0; min-width: 0; }
.pass-label { font-family: var(--mrdc-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.pass-value { font-size: 19px; margin-top: 2px; }
.pass-qr { display: grid; place-items: center; padding: 18px 0 22px; }
.pass-qr-box { background: #fff; border-radius: 10px; padding: 12px 12px 8px; text-align: center; color: #000; font: 12px var(--mrdc-mono); }
.pass-qr-box canvas, .pass-qr-box img, .pass-qr-box svg { display: block; width: 132px; height: 132px; }
.mrdc-stage { background: #0b0b0a; border-radius: var(--radius); padding: 26px 18px; border: 1px solid var(--border); background-image: radial-gradient(420px 260px at 50% 0%, rgba(255, 255, 255, .09), transparent 70%); }
.mrdc-stage-note { text-align: center; color: rgba(255, 255, 255, .6); font-size: 12px; margin-top: 14px; }

.cashier { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 20px; align-items: start; }
.cashier > * { min-width: 0; }
.scan-box { position: relative; background: #000; border-radius: 16px; overflow: hidden; aspect-ratio: 1; margin-bottom: 12px; }
.scan-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-box .frame { position: absolute; inset: 18%; border: 3px solid rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .4); }
.scan-box .frame::after { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: mrdc-scan 1.8s ease-in-out infinite alternate; }
@keyframes mrdc-scan { from { transform: translateY(-60px); } to { transform: translateY(60px); } }
.mrdc-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.mrdc-or::before, .mrdc-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.mrdc-search { position: relative; display: flex; gap: 8px; }
.mrdc-search > div { position: relative; flex: 1; min-width: 0; }
.mrdc-search > div > svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.mrdc-search input { padding-left: 40px; min-height: 48px; }
.mrdc-search button { min-height: 48px; }
.balance { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.balance strong { font-family: var(--mrdc-display); font-size: 52px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.balance strong.mono { font-family: var(--mrdc-mono); letter-spacing: .08em; font-size: 44px; }
.balance span { font-size: 16px; }
.mrdc-balance-box { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.mrdc-flash { animation: mrdc-flash 1s ease-out; }
@keyframes mrdc-flash { from { background: var(--mrdc-ok-soft); border-color: var(--ok); } }
.dots { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.dot { width: 30px; height: 30px; border-radius: 50%; border: 2px dashed var(--mrdc-border-strong); }
.dot.on { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 16px no-repeat; border: 2px solid var(--accent); }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick .big { padding: 14px 6px; }
.mrdc-amount { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.mrdc-amount > label { flex: 1; min-width: 180px; }
.mrdc-amount input { font-family: var(--mrdc-display); font-size: 26px; font-weight: 650; min-height: 56px; font-variant-numeric: tabular-nums; }
.mrdc-amount .hint { min-height: 20px; font-size: 14px; }
.mrdc-amount .hint.mrdc-gain { color: var(--ok); font-weight: 650; }
.mrdc-amount > button { margin-bottom: 26px; }
.mrdc-amount.mrdc-flat > button { margin-bottom: 0; }

.upload { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px dashed var(--mrdc-border-strong); border-radius: 14px; min-width: 0; }
.upload .thumb { width: 68px; height: 68px; border-radius: 12px; background: var(--surface-2) center / contain no-repeat; flex: none; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); }
.upload .thumb svg { width: 22px; height: 22px; }
.upload .thumb.dark { background-color: #111; color: #8a877f; }
.upload .thumb.mrdc-has svg { display: none; }
.upload .info { flex: 1; min-width: 0; }
.upload input[type=file] { display: none; }

.mrdc-color { display: flex; gap: 8px; align-items: center; }
.mrdc-color input[type=text] { font-family: var(--mrdc-mono); text-transform: uppercase; min-width: 0; }

.mrdc-chart { position: relative; height: 180px; display: flex; align-items: stretch; gap: 2px; border-bottom: 1px solid var(--border); background: linear-gradient(var(--border), var(--border)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--border), var(--border)) 0 50% / 100% 1px no-repeat; }
.mrdc-chart.mrdc-short { height: 130px; }
.mrdc-chart-max { position: absolute; left: 0; top: 4px; font-size: 11px; color: var(--muted); background: var(--surface); padding: 0 6px 0 0; border-radius: 4px; pointer-events: none; font-variant-numeric: tabular-nums; z-index: 1; }
.mrdc-col { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; position: relative; border-radius: 4px 4px 0 0; }
.mrdc-col:hover, .mrdc-col.mrdc-hot { background: color-mix(in srgb, var(--text) 7%, transparent); }
.mrdc-seg { width: min(100%, 22px); min-width: 1px; background: var(--mrdc-series-1); }
.mrdc-seg:first-child { border-radius: 4px 4px 0 0; }
.mrdc-seg.mrdc-s2 { background: var(--mrdc-series-2); }
.mrdc-tip { position: absolute; z-index: 5; bottom: calc(100% + 8px); transform: translateX(-50%); background: #1b1a17; color: #fff; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; line-height: 1.5; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .14); }
.mrdc-tip b { display: block; font-weight: 650; }
.mrdc-tip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.chart { width: 100%; height: 160px; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.axis.mrdc-even span { flex: 1; text-align: center; }
.barlist { display: grid; gap: 12px; }
.barlist-head { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 5px; }
.barlist-head strong { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.barlist-track { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.barlist-fill { height: 100%; background: var(--mrdc-series-1); border-radius: 99px; min-width: 2px; }

.keybox { background: var(--surface-2); padding: 12px 14px; border-radius: 11px; word-break: break-all; }
.code { background: #171614; color: #e9e6dd; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 12.5px/1.6 var(--mrdc-mono); white-space: pre; }
.json { background: var(--surface-2); border-radius: 11px; padding: 12px; max-height: 360px; overflow: auto; font: 12px/1.5 var(--mrdc-mono); white-space: pre; }
.mrdc-url { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 6px 6px 6px 14px; min-width: 0; }
.mrdc-url > span { flex: 1; min-width: 0; font-family: var(--mrdc-mono); font-size: 13.5px; overflow-wrap: anywhere; font-weight: 600; }
.mrdc-url > svg { width: 18px; height: 18px; color: var(--muted); }
.mrdc-url > span em { font-style: normal; color: var(--muted); font-weight: 400; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-grid .tile { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid .tile button { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; min-height: 0; padding: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; border: 0; }
.photo-grid .tile button:hover { background: #b3261e; }
.dns { width: 100%; border-collapse: collapse; font-size: 13.5px; display: block; }
.dns thead { display: none; }
.dns tbody { display: grid; gap: 10px; }
.dns tr { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.dns td { padding: 0; text-align: left; }
.dns code { font-family: var(--mrdc-mono); word-break: break-all; }
.voucher-hit { border: 2px dashed var(--accent); }

.mrdc-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mrdc-choices button { flex-direction: column; align-items: flex-start; text-align: left; white-space: normal; gap: 6px; padding: 14px; border-radius: 14px; min-height: 0; height: 100%; justify-content: flex-start; border-width: 2px; border-color: var(--border); }
.mrdc-choices button svg { width: 24px; height: 24px; color: var(--muted); }
.mrdc-choices button span { font-weight: 400; font-size: 13px; color: var(--muted); line-height: 1.4; }
.mrdc-choices button.on { border-color: var(--accent); background: var(--mrdc-accent-soft); }
.mrdc-choices button.on svg { color: var(--mrdc-accent-text); }

.mrdc-merchant-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mrdc-merchant-card .mrdc-banner { height: 92px; padding: 16px 18px; display: flex; align-items: center; }
.mrdc-merchant-card .mrdc-banner img { max-height: 48px; max-width: 70%; }
.mrdc-merchant-card .mrdc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mrdc-merchant-card .actions { margin-top: auto; padding-top: 10px; }
.mrdc-link { color: var(--mrdc-accent-text); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.mrdc-link:hover { text-decoration: underline; }
.mrdc-guide { padding-left: 20px; line-height: 1.65; font-size: 14px; }
.mrdc-guide li { margin-bottom: 8px; }
.mrdc-guide form { margin-top: 8px; }
.mrdc-kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; font-size: 14px; margin-bottom: 6px; }
.mrdc-kv dt { color: var(--muted); }
.mrdc-kv dd { margin: 0; overflow-wrap: anywhere; }

.mrdc-only-sm { display: none; }
.mrdc-panel { scroll-margin-top: 76px; }
.mobile-bar { display: none; }
.mrdc-tabbar { display: none; }
.mrdc-scrim { display: none; }

@media (max-width: 1080px) {
  .split, .cashier { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .split.mrdc-preview-first > .sticky { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --mrdc-tabbar: 62px; }
  body { font-size: 16px; }
  input, select, textarea { font-size: 16px; min-height: 46px; }
  button, .btn { min-height: 44px; }
  button.small, .btn.small { min-height: 44px; font-size: 14px; padding: 6px 12px; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 45; transform: translateX(-102%); transition: transform .22s ease; visibility: hidden; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .side.open { transform: none; visibility: visible; box-shadow: 0 0 60px rgba(0, 0, 0, .4); }
  .side.open + .mrdc-scrim { display: block; position: fixed; inset: 0; background: rgba(15, 12, 8, .5); z-index: 44; animation: mrdc-fade .15s; border: 0; border-radius: 0; min-height: 0; padding: 0; }
  .nav a { min-height: 46px; }
  .mrdc-merchant a { min-height: 44px; display: flex; align-items: center; font-size: 13.5px; }
  .mrdc-merchant strong { margin-top: 8px; }
  .mobile-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px 8px 6px; padding-top: max(8px, env(safe-area-inset-top)); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
  .mobile-bar strong { font-family: var(--mrdc-display); font-size: 17px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar .mrdc-chip { font-size: 12.5px; color: var(--muted); max-width: 40%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar button { width: 44px; padding: 0; }
  .main { padding: 20px 16px calc(40px + var(--mrdc-tabbar) + env(safe-area-inset-bottom)); }
  .head { margin-bottom: 18px; align-items: flex-start; flex-direction: column; }
  .head h1 { font-size: 24px; }
  .head > .row { width: 100%; }
  .mrdc-tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); }
  .mrdc-tabbar a, .mrdc-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border: 0; background: transparent; border-radius: 12px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 4px 2px; }
  .mrdc-tabbar svg { width: 23px; height: 23px; }
  .mrdc-tabbar a.active { color: var(--mrdc-accent-text); }
  .card { padding: 18px 16px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .mrdc-keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { gap: 10px; }
  .stat { padding: 14px; }
  .stat .value { font-size: 24px; }
  .hide-sm { display: none; }
  .mrdc-only-sm { display: inline; }
  .modal-back { padding: 0; place-items: end stretch; }
  .modal, .modal.mrdc-narrow { width: 100%; border-radius: 22px 22px 0 0; max-height: 92dvh; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); border-bottom: 0; }
  .actions { margin-top: 10px; }
  .actions > button, .actions > .btn { flex: 1 1 auto; }
  .login { grid-template-columns: minmax(0, 1fr); }
  .mrdc-login-art { display: none; }
  .mrdc-login-form .brand { display: flex; }
  .mrdc-choices { grid-template-columns: minmax(0, 1fr); }
  .mrdc-choices button { flex-direction: row; align-items: center; flex-wrap: wrap; column-gap: 10px; }
  .mrdc-choices button span { flex-basis: 100%; }
  .balance strong { font-size: 46px; }
  .mrdc-avatar.mrdc-lg { width: 42px; height: 42px; font-size: 15px; }
  .mrdc-person h2 { font-size: 16px; }
  .mrdc-amount > button { width: 100%; margin-bottom: 0; }
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: 6px 8px; min-height: 40px; }
  .upload { align-items: flex-start; }
}

@media (max-width: 400px) {
  .mrdc-panel .mrdc-avatar.mrdc-lg { display: none; }
  .quick { gap: 6px; }
  .quick .big { font-size: 15px; }
  .stat .value { font-size: 22px; }
}

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

@media print {
  .side, .mobile-bar, .mrdc-tabbar, #toast { display: none !important; }
  .shell { display: block; }
}

.mrdc-msg-input { font-size: 16px; }
.mrdc-segments { display: grid; gap: 8px; margin-top: 6px; }
.mrdc-segment { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--surface); }
.mrdc-segment.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.mrdc-segment input[type=radio] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.mrdc-segment .grow { flex: 1; min-width: 0; }
.mrdc-segment-number { width: 76px; text-align: center; }
.mrdc-reach { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.mrdc-reach-number { font-size: 15px; margin-bottom: 2px; }
.mrdc-reach-number strong { font-size: 22px; }
.mrdc-msg-line { display: block; overflow-wrap: anywhere; }
.mrdc-lock-card { padding: 0; overflow: hidden; }
.mrdc-lock { background: linear-gradient(160deg, #1d2a4a, #4a3a6a 55%, #7a4a5a); color: #fff; padding: 34px 16px 120px; text-align: center; min-height: 380px; }
.mrdc-lock-time { font-size: 64px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.mrdc-lock-date { font-size: 15px; opacity: .85; margin: 6px 0 28px; }
.mrdc-lock-date::first-letter { text-transform: uppercase; }
.mrdc-notif { display: flex; gap: 10px; text-align: left; background: rgba(245, 245, 247, .82); color: #111; border-radius: 18px; padding: 12px; backdrop-filter: blur(12px); }
.mrdc-notif img { width: 38px; height: 38px; border-radius: 9px; flex: none; object-fit: cover; }
.mrdc-notif-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mrdc-notif-head span { color: #666; }
.mrdc-notif-text { font-size: 14px; margin-top: 2px; overflow-wrap: anywhere; }
.field-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.pass-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pass-logo-text { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass-head-fields { display: flex; gap: 12px; text-align: right; }
.pass-value.big { font-size: 30px; }
.mrdc-style-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.mrdc-style-picker button { flex-direction: column; gap: 6px; padding: 12px 8px; min-height: 76px; font-weight: 500; font-size: 13px; }
.mrdc-style-picker button svg { width: 26px; height: 26px; }
.mrdc-style-picker button.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; color: var(--mrdc-accent-text); background: var(--mrdc-accent-soft); }
.mrdc-list-editor { display: grid; gap: 10px; margin-top: 6px; }
.mrdc-list-row { display: flex; gap: 8px; align-items: flex-start; padding: 10px; border: 1px solid var(--border); border-radius: 12px; }
.mrdc-list-row .grow { flex: 1; min-width: 0; gap: 8px; }
.mrdc-list-editor > button { justify-self: start; }
.mrdc-save-bar { position: sticky; bottom: 12px; z-index: 5; }
.mrdc-social { display: grid; gap: 10px; margin-bottom: 4px; }
.mrdc-sso { gap: 10px; }
.mrdc-sso svg { width: 20px; height: 20px; }
.mrdc-sso-apple { background: #000; color: #fff; border-color: #000; }
.mrdc-sso-apple:hover { background: #222; }
.mrdc-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 10px 0 14px; }
.mrdc-divider::before, .mrdc-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.mrdc-code-input { font: 600 26px/1.2 var(--mrdc-mono); letter-spacing: .3em; text-align: center; }
.mrdc-mfa-head { display: flex; gap: 12px; align-items: flex-start; }
.mrdc-mfa-head svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.mrdc-totp { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.mrdc-backup-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; background: var(--surface-2); padding: 14px; border-radius: 12px; font-size: 17px; text-align: center; }
.mrdc-notice.mrdc-ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: var(--mrdc-ok-soft); }
.mrdc-support { border-color: var(--warn); background: var(--mrdc-warn-soft); margin-bottom: 16px; }
.mrdc-row-support td { background: color-mix(in srgb, var(--mrdc-warn-soft) 60%, transparent); }
.main > .mrdc-notice { margin-bottom: 16px; }
.mrdc-strength { display: grid; gap: 8px; margin-top: 4px; }
.mrdc-strength-track { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.mrdc-strength-bar { height: 100%; width: 0; border-radius: 99px; transition: width .2s, background .2s; background: var(--danger); }
.mrdc-strength-bar[data-level="fair"] { background: var(--warn); }
.mrdc-strength-bar[data-level="good"] { background: #5a9e3a; }
.mrdc-strength-bar[data-level="great"] { background: var(--ok); }
.mrdc-strength ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.mrdc-strength li::before { content: "○ "; }
.mrdc-strength li.ok { color: var(--ok); }
.mrdc-strength li.ok::before { content: "✓ "; }
.mrdc-login-single { grid-template-columns: 1fr; }
.mrdc-notice.mrdc-info { border-color: color-mix(in srgb, var(--mrdc-series-1) 45%, transparent); background: color-mix(in srgb, var(--mrdc-series-1) 10%, var(--surface)); }
svg.mrdc-brand-icon { width: 22px; height: 22px; flex: none; }
.mrdc-provider { gap: 14px; flex-wrap: nowrap; }
.mrdc-provider svg.mrdc-brand-icon { width: 28px; height: 28px; }
.mrdc-sso-google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.mrdc-sso-google:hover { background: #f7f8f8; }
.mrdc-sso-apple svg.mrdc-brand-icon { color: #fff; }
.mrdc-plan-select { width: auto; padding: 6px 30px 6px 10px; font-size: 13px; min-height: 36px; }
