/* Miayaa-only additions on top of the console stylesheets (which are generated: see tools/brand-console.js).
   Only what Miayaa's assets need differently: the script wordmark and initials avatars. Colours via tokens only. */

/* The Miayaa wordmark is a script logo with a small x-height, so it needs a little more height than a sans wordmark */
.appbar .brand .wordmark-img{height:26px;width:auto}
.side-head .wordmark-img{height:24px;width:auto}
.auth-brand .auth-wordmark{height:38px;width:auto}
@media (max-width:640px){.appbar .brand .wordmark-img{height:22px;width:auto}}
@media (max-width:520px){.auth-brand .auth-wordmark{height:32px}}
.side-head .wm-on-dark{display:none}
[data-theme="dark"] .side-head .wm-on-light{display:none}
[data-theme="dark"] .side-head .wm-on-dark{display:block}
[data-theme="dark"] .auth-brand .auth-wordmark{filter:brightness(0) invert(1)}

/* Initials avatar (no photo): same circle as the reference's avatar button */
.av-ini{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em;color:#fff;background:linear-gradient(135deg,var(--g1,var(--brand)),var(--g2,var(--brand)) 55%,var(--g3,var(--brand)));font-variant-numeric:tabular-nums}
.side-foot .av-ini{width:28px;height:28px;font-size:12px}
.bar-btn.avatar .av-ini{width:24px;height:24px}

/* The reference's secondary sign-in button ("Send a new code") is the submit button in white with a hairline,
   written as an inline style there; here as a class so it follows the theme (and dark mode) through tokens. */
.auth-card .btn-submit.btn-quiet{background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:none}
.auth-card .btn-submit.btn-quiet:hover{background:var(--hover);filter:none}

/* The rail footer shows the customer's email (the reference shows an account ID, which it capitalises) */
.side-foot .id{text-transform:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Numbers line up everywhere (one typeface, no monospace) */
.shell table, .shell .ch-fig, .shell .kpi, .shell .num{font-variant-numeric:tabular-nums}

/* ---------- Compact density (owner, 2026-11-11: "everything looks very big") ----------
   One layer over the generated console CSS: smaller type, tighter spacing and shorter controls,
   for the admin and the customer account. Phones keep 16px inputs so iOS does not zoom. */
:root{--bar-h:52px;--nav-w:224px}
.shell{font-size:13px}
.appbar{padding:0 14px;gap:10px}
.appbar .brand .wordmark-img{height:22px}
.shell .bar-btn{width:34px;height:34px}
.side-label{padding:9px 12px 3px;font-size:11.5px}
.shell .side-nav .side-items a,.shell .side-nav a{padding:4px 10px;font-size:13px;gap:9px;min-height:28px}
.side-nav .ic{width:17px;height:17px}
.side-foot .av-ini{width:26px;height:26px;font-size:11px}
.pagehead{padding-top:14px}
.pagehead h1{font-size:20px}
.pagehead .sub{font-size:12.5px}
.dash-hero{margin-top:12px!important;padding:14px 20px!important}
.dash-hero h1{font-size:clamp(18px,1.7vw,22px)}
.content{padding-top:12px;padding-bottom:24px}
.toolbar{gap:8px;margin-bottom:10px}
.card-h{padding:10px 14px;gap:8px}
.card-h h2,.card-h h3,.ch-h h2{font-size:14.5px}
.card-b{padding:14px}
.ch-h{padding:10px 14px 4px}
.ch-b{padding:6px 14px 12px}
.kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.kpi{padding:12px 14px;border-radius:14px}
.kpi .l{font-size:12px}
.kpi .v{font-size:21px;margin-top:3px}
.ch-fig{font-size:19px}
.ch-l{font-size:12px}
.kpi .n{font-size:11.5px}
thead th{padding:8px 12px;font-size:12px}
tbody td{padding:8px 12px;font-size:13px}
.shell .btn{height:auto;min-height:30px;padding:3px 14px;font-size:12.5px;line-height:18px;gap:6px;border-width:1.5px}
.shell .btn.sm{min-height:24px;padding:1px 10px;font-size:12px;line-height:18px}
.shell .btn .ic,.shell .btn svg{width:14px;height:14px}
.shell input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]):not([type=reset]):not([type=hidden]),
.shell select{height:34px;font-size:13px}
.shell textarea{font-size:13px;padding:8px 10px}
.shell .fl{font-size:12px}
.chips a{font-size:12px;padding:4px 11px}
.pill{font-size:11px;padding:2px 8px;line-height:15px}
.flash{padding:9px 12px;font-size:13px;margin-bottom:10px}
.note,.sub{font-size:12px}
.tbl-tools{margin-bottom:8px}
.tbl-search input{height:32px!important}
.set-row{padding:7px 0}
.ch-attn li{padding-top:7px;padding-bottom:7px}
.cfoot{font-size:12px}
@media (max-width:720px){
  .shell input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]):not([type=reset]):not([type=hidden]),
  .shell select,.shell textarea{font-size:16px;height:38px}
  .shell textarea{height:auto}
  .pagehead h1{font-size:19px}
}
.ch-hero{padding:16px 20px;margin:4px 0 12px;border-radius:16px;gap:14px}
.ch-hero h1{font-size:clamp(19px,1.9vw,24px);margin:8px 0 4px}
.ch-hero p{font-size:13.5px}
.ch-hero-act{margin-top:12px;gap:8px}
.ch-kicker{font-size:11px;padding:3px 9px}
.ch-hero-stats a{padding:10px 12px;border-radius:12px}
.ch-n{font-size:clamp(17px,1.6vw,20px)}
.ch-health strong{font-size:15px}
.ch-health .ch-link strong{overflow-wrap:anywhere}
.auth-card h1{font-size:23px}
.auth-card .btn-submit{height:44px}
/* Sign-in trap field (lib/human-check.js): off-screen for people, still in the form for bots */
.hp-field{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}
