/* sexyrouter: owner-selected liquid chrome identity, over the existing UI. */
:root {
  --metal-ink: #181b21;
  --metal-muted: #626a77;
  --metal-line: #d7dbe1;
  --metal-blue: #075bea;
  --metal-surface: #f3f4f6;
  --metal-chrome: linear-gradient(155deg, #fff 0%, #eceff3 28%, #c9ced6 48%, #fafbfc 53%, #e1e5ea 78%, #fff 100%);
  --bg: #f3f4f6;
  --panel: #fff;
  --text: #181b21;
  --ink: #181b21;
  --muted: #626a77;
  --line: #d7dbe1;
  --blue: #075bea;
  --blue2: #257aff;
  --accent: #075bea;
  --primary: #075bea;
  --shadow: 0 8px 26px #17213208;
  --sky-shadow: 0 8px 26px #17213208;
}
body { color: var(--metal-ink); background: #f3f4f6; }
body .ambient { background: radial-gradient(ellipse at 88% 0%, #dfe5ed, transparent 55%); }
body .topbar, body>header {
  background: linear-gradient(180deg, #fffffff5, #f2f3f6f2);
  border-bottom-color: #cfd4dc;
  box-shadow: inset 0 1px #fff, 0 3px 16px #1d273107;
}
body .topbar .logo, body .logo, body .nav a, body .lang, body .login-mini { color: var(--metal-ink); }
body .nav a.active, body nav a.active { color: var(--metal-blue); }
body .nav a.active:after, body nav a.active:after { background: var(--metal-blue); }
body .site-demo-bar, body .demo-strip, body .preview-ribbon {
  background: #e9ecf0;
  border-color: #d5dae1;
  color: #5b6472;
}
body .site-demo-bar>span:first-child, body .site-demo-bar button { color: #424e60; }
body .btn.primary {
  color: #fff;
  border-color: #202933;
  background: linear-gradient(165deg, #46515f 0%, #202832 46%, #10151d 50%, #2c3541 100%);
  box-shadow: inset 0 1px #ffffff54, inset 0 -1px #0008, 0 3px 9px #18212d1c;
}
body .btn.primary:hover {
  background: linear-gradient(165deg, #59687c 0%, #293648 46%, #14213a 50%, #30435f 100%);
  border-color: #486589;
  box-shadow: inset 0 1px #ffffff70, 0 4px 14px #1b366129;
}
body .btn.outline, body .btn.secondary {
  color: #293341;
  border-color: #bbc3ce;
  background: linear-gradient(180deg, #fff, #eef0f4);
  box-shadow: inset 0 1px #fff, 0 1px 2px #18233408;
}
body .btn.outline:hover, body .btn.secondary:hover { background: #e5e9ef; border-color: #8e9aab; }
body .link, body .eyebrow, body .sky-eyebrow { color: var(--metal-blue); }
body .hero-pill, body .sky-eyebrow {
  color: #304c78;
  background: linear-gradient(180deg, #ffffffeb, #edf1f7eb) !important;
  border-color: #c4cdd9 !important;
  box-shadow: inset 0 1px #fff;
}
body .site-hero, body .site-market-mast, body .home-hero, body .market-hero, body .sky-mast {
  background: linear-gradient(115deg, #fafbfc 0%, #eef0f4 56%, #e1e5eb 100%);
  border-bottom: 1px solid #d4d9e1;
}
body .site-market-mast:before, body .market-hero:before {
  inset: 0;
  background-image: linear-gradient(90deg, #f8f9fb 0%, #f8f9fbe8 55%, #e5e9f100 100%), url('assets/brand/sexyrouter-symbol.png');
  background-repeat: no-repeat;
  background-size: cover, 330px auto;
  background-position: center, 90% 45%;
  opacity: .85;
}
body .site-hero h1, body .hero h1, body .site-market-mast h1, body .market-hero h1,
body .section-head h2, body .site-feature-grid h2, body .site-stats b { color: #151a22; }
body .site-hero h1 em, body .hero h1 em {
  color: var(--metal-blue);
  background: linear-gradient(105deg, #174d9e, #087aff 80%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body .site-hero .hero-copy p, body .hero-content p, body .site-market-mast p,
body .section-head p, body .site-feature-grid p, body .site-stats>div>span { color: #606b7a; }
body .site-brands .brand-choice, body .brand-pill {
  color: #303947;
  background: linear-gradient(180deg, #ffffffed, #f1f3f6ed);
  border-color: #d2d8e0;
  box-shadow: inset 0 1px #fff, 0 2px 4px #25344b05;
}
body .brand-choice.active, body .brand-pill.active {
  color: #074db9;
  background: #edf3fd;
  border-color: #92b2e4;
  box-shadow: inset 0 1px #fff;
}
body .glass-icon, body .crystal, body .logo-mark {
  color: #224c82;
  background: var(--metal-chrome);
  border-color: #b9c1ce;
  box-shadow: inset 0 1px 2px #fff, inset 0 -1px 2px #8b94a470, 0 6px 12px #26324716;
}
body .site-feature-grid article, body .feature {
  border: 1px solid #d7dce3;
  background: linear-gradient(145deg, #fff, #f5f6f8);
  box-shadow: inset 0 1px #fff, 0 6px 20px #27354506;
}
body .site-feature-grid article:hover, body .feature:hover { border-color: #abb9cd; box-shadow: 0 8px 24px #27354510; }
body .card, body .panel, body .guide-card, body .ux-metric, body .stat,
body .auth-card, body .model-row, body .ux-model-row {
  background: #fff;
  border-color: #d9dde4;
  box-shadow: 0 2px 8px #23334d04;
}
body .model-row:hover, body .ux-model-row:hover { border-color: #aabbd2; background: #fafcff; }
body .app-shell, body .admin-main { background: #f3f4f6; }
body .sidebar, body .docs-v3-sidebar, body .filter, body .doc-nav { background: #f9fafb; border-color: #d7dce3; }
body .sidebar .side-link.active, body .doc-nav a.active, body .guide-nav-title { color: #174f99; }
body .sidebar .side-link.active { background: #e9eff8; box-shadow: inset 2px 0 #075bea; }
body .modal, body .dialog, body .drawer { background: #fff; border-color: #cbd2dc; }
body .modal-head, body .dialog-head, body .dialog-foot, body .modal-foot, body .drawer-head {
  background: linear-gradient(180deg, #fdfefe, #f0f2f5);
  border-color: #d9dde4;
}
body input, body textarea, body select { accent-color: #075bea; }
body input:not([type=checkbox]):not([type=radio]), body textarea, body select {
  border-color: #c5cdd8;
  color: #252c38;
}
body :is(button,a,input,select,textarea,summary):focus-visible { outline-color: #075bea; }
body .site-footer, body .footer-v2, body footer { border-color: #d0d6df; background: #edf0f4; color: #606b7a; }
body .site-stats>div { border-color: #ccd3de; }
body .site-stats>p .ico { color: #245794; background: var(--metal-chrome); border-color: #bac6d5; }
/* Status colors remain semantic; chrome is reserved for brand and controls. */
@media (max-width: 767px) {
  body .site-market-mast:before, body .market-hero:before { opacity: .3; background-position: center, 120% 40%; }
  body .nav.mobile-open { background: #fcfdfe; border-color: #cbd2dd; box-shadow: 0 10px 24px #25344a14; }
}
@media (prefers-reduced-motion: reduce) {
  body .btn, body .feature, body .site-feature-grid article { transition: none; }
}

/* Homepage artwork stays inside the hero; model offers start on their own white surface. */
body .site-hero, body .home-hero {
  min-height: clamp(450px, 33.333vw, 560px);
  padding: 0;
  isolation: isolate;
  overflow: hidden;
}
body .site-hero:before, body .home-hero .hero-image {
  position: absolute;
  inset: 0;
  background: url('assets/brand/sexyrouter-home-banner-v2.webp') center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
  animation: none;
}
body .site-hero>.site-container, body .home-hero>.wrap {
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-top: 32px;
  padding-bottom: 32px;
}
body .site-hero .hero-copy, body .home-hero .hero-content {
  width: 46%;
  max-width: 640px;
  min-height: 0;
  padding: 0;
}
body .home-hero:after { background: none; }
body .hero-orbit, body .hero-aside { display: none; }
body .home-hero h1, body .site-hero h1 {
  font-size: clamp(44px, 4.3vw, 66px);
  line-height: 1.14;
  margin: 22px 0 18px;
}
body .home-hero .hero-content p, body .site-hero .hero-copy p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 36rem;
}
body .home-hero .cta { margin-top: 24px; }
body .hero h1 .accent { color: #075bea; background: none; -webkit-text-fill-color: #075bea; }
body .model-promotions {
  position: relative;
  margin: 0;
  padding: 42px 0 28px;
  background: #fff;
  border-bottom: 1px solid #e5e8ed;
}
.promo-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.promo-eyebrow { display: block; color: #ad5314; font-size: 12px; font-weight: 650; letter-spacing: .09em; margin-bottom: 9px; }
.promo-section-head h2 { margin: 0; color: #1a202a; font-size: clamp(25px, 2.1vw, 34px); line-height: 1.3; letter-spacing: -.025em; }
.promo-section-head p { color: #69717d; margin: 10px 0 0; font-size: 14px; line-height: 1.7; }
.promo-browse-all { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; min-height: 44px; padding: 8px 0; color: #335785; background: none; border: 0; font-size: 14px; font-weight: 550; cursor: pointer; }
.promo-browse-all .ico { width: 17px; height: 17px; }
.promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body .promo-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
  min-width: 0;
  min-height: 232px;
  overflow: hidden;
  text-align: left;
  padding: 20px;
  color: #1c2633;
  border: 1px solid #e0e5ec;
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: 0 2px 6px #152a4503;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body .promo-tile:hover { border-color: #a6b8cf; box-shadow: 0 9px 24px #243e6612; transform: translateY(-2px); }
body .promo-tile:focus-visible { outline: 3px solid #075bea; outline-offset: 3px; }
.promo-scene { position: absolute; right: 0; bottom: 0; width: 66%; height: 84%; object-fit: cover; object-position: center; z-index: -2; pointer-events: none; }
.promo-tile:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fafbfc 0%, #fafbfcf5 28%, #fafbfc88 62%, #fafbfc00 100%), linear-gradient(180deg, #fafbfcee, #fafbfc00 38%); z-index: -1; pointer-events: none; }
.promo-tile-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; width: 100%; margin-bottom: 26px; }
.promo-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; line-height: 1.4; color: #4d5969; font-weight: 550; }
.promo-brand img { display: block; width: 25px; height: 25px; object-fit: contain; }
.promo-wordmark { color: #171d26; font-size: 20px; letter-spacing: -.07em; font-weight: 750; line-height: 25px; }
.promo-badge { display: inline-flex; align-items: center; padding: 4px 7px; color: #a4410e; background: #fff0de; border: 1px solid #f6d3ab; border-radius: 5px; font-size: 10px; line-height: 1.4; font-weight: 650; white-space: nowrap; }
.promo-title { display: block; font-size: 28px; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; margin-bottom: 10px; }
.promo-description { display: block; max-width: 80%; font-size: 12px; line-height: 1.65; color: #5d6877; margin-bottom: 20px; }
.promo-tile-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: #285583; font-size: 12px; line-height: 1.5; font-weight: 550; }
.promo-tile-link .ico { width: 15px; height: 15px; }
.promo-section-note { color: #86909d; font-size: 11px; line-height: 1.7; margin: 19px 0 0; }
.promo-section-note .demo-strip { margin: 0; padding: 7px 10px; font-size: 11px; }
@media (min-width: 768px) and (max-width: 1100px) {
  body .site-hero, body .home-hero { min-height: 440px; }
  body .home-hero .hero-image, body .site-hero:before { background-position: 55% center; }
  body .home-hero h1, body .site-hero h1 { font-size: 46px; }
  body .home-hero .hero-content p, body .site-hero .hero-copy p { font-size: 14px; }
  body .home-hero .hero-content, body .site-hero .hero-copy { width: 49%; }
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .promo-tile { min-height: 218px; }
}
@media (max-width: 767px) {
  body .site-hero, body .home-hero { min-height: 0; }
  body .site-hero>.site-container, body .home-hero>.wrap { display: block; padding-top: 32px; padding-bottom: 0; }
  body .home-hero .hero-content, body .site-hero .hero-copy { max-width: none; width: 100%; }
  body .home-hero h1, body .site-hero h1 { font-size: clamp(38px, 10vw, 56px); line-height: 1.18; margin: 20px 0 18px; }
  body .home-hero .hero-content p, body .site-hero .hero-copy p { font-size: 14px; line-height: 1.8; max-width: 100%; margin-bottom: 22px; }
  body .home-hero { padding-bottom: calc(76vw + 24px); }
  body .home-hero .hero-image {
    top: auto; bottom: 0; height: 76vw;
    background-image: url('assets/brand/sexyrouter-home-banner-mobile-v2.webp');
    background-size: contain; background-position: center; opacity: 1;
  }
  body .site-hero:before { background: none; }
  body .site-hero .hero-copy:after {
    content: ''; display: block; height: 76vw; margin: 24px -16px 0;
    background: url('assets/brand/sexyrouter-home-banner-mobile-v2.webp') center / contain no-repeat;
  }
  body .model-promotions { padding: 30px 0 23px; }
  .promo-section-head { align-items: flex-start; gap: 14px; margin-bottom: 19px; }
  .promo-section-head h2 { font-size: 25px; }
  .promo-section-head p { font-size: 12px; }
  .promo-browse-all { font-size: 12px; white-space: nowrap; align-self: flex-end; }
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body .promo-tile { min-height: 242px; padding: 16px; border-radius: 12px; }
  .promo-tile-head { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 21px; }
  .promo-brand { font-size: 10px; }
  .promo-brand img { width: 24px; height: 24px; }
  .promo-badge { font-size: 9px; padding: 3px 5px; }
  .promo-title { font-size: clamp(20px, 5.5vw, 27px); margin-bottom: 8px; }
  .promo-description { max-width: 100%; font-size: 11px; line-height: 1.6; }
  .promo-scene { width: 75%; height: 66%; }
  .promo-tile-link { font-size: 11px; }
  .promo-section-note { font-size: 10px; }
}
@media (max-width: 480px) {
  .promo-section-head { display: block; }
  .promo-browse-all { margin-top: 7px; min-height: 34px; }
  .promo-grid { gap: 10px; }
  body .promo-tile { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  body .promo-tile { transition: none; }
  body .promo-tile:hover { transform: none; }
}

/* Workspace and authentication headings share the restrained silver material. */
body .admin-art, body .auth-intro { background: linear-gradient(120deg, #fafbfc, #e6eaf0); border-color: #d2d8e2; color: #202b3b; }
body .admin-art:before { background-image: linear-gradient(90deg, #f8f9fbe8, #f8f9fb50), url('assets/brand/sexyrouter-symbol.png'); background-position: center, 90% center; background-size: cover, 290px auto; background-repeat: no-repeat; opacity: .3; }

body .wallet-card { background: linear-gradient(135deg, #364353, #151d29 58%, #20344f); color: #fff; border-color: #46546a; box-shadow: inset 0 1px #ffffff38, 0 5px 16px #1d2b4020; }
body .wallet-card p { color: #d5e0ef; }
body .wallet-card strong { color: #fff; }
body .wallet-card .btn { color: #164e92; background: #f7faff; }

/* Authentication marketing and form share a blue chrome identity. */
body .auth-page.auth-page-metal {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  max-width: 1210px; width: 100%; margin: 0 auto; padding: 42px 24px 56px;
  gap: 32px; align-items: start; box-sizing: border-box;
}
body .auth-page-metal .auth-intro.auth-marketing {
  display: flex; flex-direction: column; position: sticky; top: 98px;
  min-height: 710px; margin: 0; padding: 32px; overflow: hidden; isolation: isolate;
  color: #f8fbff; border: 1px solid #4384cf; border-radius: 22px;
  background: radial-gradient(ellipse at 85% 5%, #60aafc66, transparent 44%), linear-gradient(140deg, #174b83 0%, #0d2e57 42%, #102540 70%, #235086 100%);
  box-shadow: inset 0 1px #bcdcff70, inset 0 -1px #061321, 0 12px 30px #16305219;
}
.auth-marketing-back { color: #c2dcfb; font-size: 12px; line-height: 1.6; align-self: flex-start; }
.auth-marketing-copy { position: relative; z-index: 1; padding-top: 32px; }
.auth-marketing-kicker { color: #adcefa; font-size: 10px; letter-spacing: .12em; font-weight: 650; }
body .auth-marketing-copy h1 { color: #f5f9ff; margin: 18px 0 13px; font-size: clamp(35px, 3.6vw, 50px); line-height: 1.15; letter-spacing: -.04em; }
body .auth-marketing-copy h1 em { color: #9cc9ff; font-style: normal; }
body .auth-marketing-copy p { color: #b4c9e4; font-size: 14px; line-height: 1.75; margin: 0; }
.auth-marketing-art { display: flex; align-items: center; justify-content: flex-end; height: 184px; margin: -8px 0 8px; pointer-events: none; }
.auth-marketing-art img { display: block; width: 62%; max-height: 190px; object-fit: contain; filter: drop-shadow(0 14px 14px #05152770); }
.auth-announcement { position: relative; margin-top: auto; padding: 17px 19px 19px; border: 1px solid #79ade752; border-radius: 14px; background: linear-gradient(135deg, #ffffff17, #d3e6ff0a); box-shadow: inset 0 1px #c5dfff19; }
.auth-notice-tabs { display: flex; flex-wrap: wrap; gap: 18px; border-bottom: 1px solid #92bbeb33; margin-bottom: 14px; }
.auth-notice-tabs button { min-height: 34px; padding: 4px 0 8px; border: 0; border-bottom: 2px solid transparent; background: none; color: #9dbade; font-size: 12px; cursor: pointer; }
.auth-notice-tabs button.active { color: #fff; border-bottom-color: #8fc6ff; }
.auth-notice-label { display: block; color: #9ec7f8; font-size: 9px; letter-spacing: .07em; line-height: 1.6; margin-bottom: 7px; }
body .auth-notice-panel h2 { margin: 0 0 8px; color: #f5f9ff; font-size: 20px; line-height: 1.4; }
body .auth-notice-panel p { margin: 0 0 13px; color: #b7cde7; font-size: 12px; line-height: 1.75; }
.auth-notice-cta { display: inline-flex; align-items: center; gap: 7px; color: #d5e9ff; font-size: 12px; font-weight: 550; line-height: 1.6; }
.auth-notice-cta .ico { width: 14px; height: 14px; }
body .auth-marketing-foot { margin: 16px 0 0; color: #87a8cf; font-size: 10px; line-height: 1.6; }
.auth-marketing-foot span { margin: 0 5px; }
/* Live customer-facing feed: catalog-led, image-backed and easy to refresh. */
.auth-marketing-live { background-image: radial-gradient(ellipse at 86% 7%, #4c9dfc66, transparent 38%), linear-gradient(145deg, #123f73 0%, #0c2a50 48%, #102744 72%, #1f4e82 100%), url('assets/brand/auth-campaign-hero.webp') !important; background-position: center, center, 75% 40%; background-size: auto, auto, cover; background-repeat: no-repeat; }
.auth-marketing-live:after { content: ''; position: absolute; inset: 0; z-index: 0; background: url('assets/brand/auth-campaign-hero.webp') 75% 40% / cover no-repeat; opacity: .14; mix-blend-mode: screen; pointer-events: none; }
.auth-marketing-live > * { position: relative; z-index: 1; }
.auth-marketing-live .auth-marketing-copy { padding-top: 25px; }
.auth-live-dot,.auth-live-pulse { display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: #74e4be; box-shadow: 0 0 0 4px #74e4be24; animation: auth-live-pulse 2.2s ease-in-out infinite; }
.auth-live-feature { position: relative; display: flex; align-items: flex-end; min-height: 166px; margin: 24px 0 15px; overflow: hidden; isolation: isolate; border: 1px solid #9ccfff4a; border-radius: 15px; background: linear-gradient(120deg,#12365f,#173f70); box-shadow: inset 0 1px #c9e7ff24, 0 11px 28px #061b371f; }
.auth-live-feature:before { content: ''; position: absolute; inset: 0; z-index: -2; background-image: var(--auth-feature-image); background-position: 82% center; background-size: 53% auto; background-repeat: no-repeat; filter: saturate(.88) contrast(1.06); }
.auth-live-feature-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0f3159 2%,#12375fe8 37%,#12375f8c 61%,#12375f18 100%), linear-gradient(180deg,#0e2c50aa,#0e2c5000 58%); }
.auth-live-feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: 56%; padding: 19px 20px 18px; }
.auth-live-label { color: #a8d5ff; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.auth-live-feature-copy strong { color: #fff; font-size: 27px; line-height: 1.15; letter-spacing: -.035em; }
.auth-live-feature-copy>span:not(.auth-live-label) { color: #bdd5ef; font-size: 11px; line-height: 1.55; }
.auth-live-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0; color: #e4f2ff; border: 0; background: none; font: inherit; font-size: 11px; cursor: pointer; }
.auth-live-link .ico,.auth-live-arrow .ico { width: 13px; height: 13px; }
.auth-live-feed { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.auth-live-card { position: relative; display: flex; align-items: center; min-width: 0; min-height: 63px; gap: 8px; padding: 8px 9px; overflow: hidden; text-align: left; color: #dbeaff; border: 1px solid #9bc7f033; border-radius: 10px; background: #e7f4ff0c; cursor: pointer; transition: border-color .18s ease,background .18s ease,transform .18s ease; }
.auth-live-card:hover { border-color: #9bc7f099; background: #d7edff1a; transform: translateY(-2px); }
.auth-live-card img { width: 38px; height: 38px; flex: none; object-fit: contain; border-radius: 9px; background: #fff1; }
.auth-live-card>span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.auth-live-card small { color: #9bc9f2; font-size: 7px; line-height: 1.2; letter-spacing: .08em; }
.auth-live-card strong { overflow: hidden; color: #f6fbff; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.auth-live-card em { overflow: hidden; color: #a9c5e4; font-size: 9px; font-style: normal; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.auth-live-arrow { display: inline-flex; align-items: center; margin-left: auto; color: #a4c9ee; }
.auth-live-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 13px; color: #8fb0d2; font-size: 9px; line-height: 1.6; }
.auth-live-meta>span:first-child { color: #b8e5d3; }
@keyframes auth-live-pulse { 0%,100% { opacity: .6; transform: scale(.86); } 50% { opacity: 1; transform: scale(1.16); } }
.auth-page-metal:not(.admin-auth-page) .auth-card-brand { display: none; }
.auth-page-metal:not(.admin-auth-page) .auth-card { padding-top: 34px; }
body .auth-page.auth-page-metal.admin-auth-page { display: flex; align-items: center; justify-content: center; max-width: 100%; min-height: calc(100dvh - 40px); padding: 42px 24px 56px; }
.admin-auth-page .auth-card { width: min(470px,100%); }
.admin-auth-page .auth-session-note { margin-top: 18px; }
.admin-magic-only { display: flex; align-items: flex-start; gap: 7px; margin: 16px 0 0; padding: 10px 12px; color: #6d6083; border: 1px solid #e7dcf3; border-radius: 9px; background: #faf7ff; font-size: 11px; line-height: 1.65; }
.admin-magic-only .ico { width: 14px; height: 14px; flex: none; margin-top: 2px; }
body .auth-page-metal .auth-card { min-width: 0; padding: 30px 32px; border: 1px solid #d9e2ed; border-radius: 20px; background: #fff; box-shadow: 0 12px 35px #203c6010; }
.auth-card-brand { margin-bottom: 20px; }
.auth-card-brand .brand-logo { display: block; width: 165px; max-width: 100%; height: auto; }
.auth-page-metal .auth-welcome { display: block; color: #7c90aa; font-size: 10px; letter-spacing: .08em; }
body .auth-page-metal .auth-heading h2 { color: #182e4b; font-size: 27px; line-height: 1.3; margin: 10px 0; }
body .auth-page-metal .auth-heading p { color: #7a889b; font-size: 13px; line-height: 1.7; margin: 0 0 24px; }
.auth-page-metal .ux-auth-tabs { display: flex; padding: 4px; gap: 4px; margin: 0 0 20px; border: 1px solid #e0e8f3; border-radius: 10px; background: #edf3fa; }
.auth-page-metal .ux-auth-tabs button { flex: 1; min-width: 0; min-height: 38px; padding: 8px 10px; color: #6c829e; border: 0; border-radius: 7px; background: none; font-size: 13px; cursor: pointer; }
.auth-page-metal .ux-auth-tabs button.active { color: #fff; background: linear-gradient(145deg, #4b8ed8, #1957a1 47%, #10366a 51%, #2b66b5); box-shadow: inset 0 1px #d0eaff6b, 0 2px 5px #11397120; }
.auth-page-metal .google-signin { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 46px; padding: 10px; color: #3a4b63; border: 1px solid #d4deeb; border-radius: 10px; background: #fff; font-size: 12px; }
.auth-page-metal .google-signin:disabled { color: #9aa8ba; background: #f8fafc; border-color: #e8edf4; cursor: not-allowed; }
.auth-page-metal .google-signin:disabled img { opacity: .45; }
.auth-page-metal .social-providers { display:grid; grid-template-columns:1fr; gap:8px; }
.auth-page-metal .social-terms-hint { margin:0 0 8px; color:#7d8da3; font-size:10px; line-height:1.5; }
.auth-page-metal .social-signin { display:flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:10px 12px; color:#3a4b63; border:1px solid #d4deeb; border-radius:10px; background:#fff; font-size:12px; cursor:pointer; }
.auth-page-metal .social-signin:focus-visible { outline:3px solid #8dbcf1; outline-offset:2px; }
.auth-page-metal .social-signin:disabled { color:#9aa8ba; background:#f8fafc; border-color:#e8edf4; cursor:not-allowed; }
.auth-page-metal .social-signin:disabled img,.auth-page-metal .social-signin:disabled .social-ms-icon,.auth-page-metal .social-signin:disabled .social-wechat-icon { opacity:.42; }
.auth-page-metal .social-signin img,.auth-page-metal .social-signin .social-ms-icon,.auth-page-metal .social-signin .social-wechat-icon { flex:none; }
.auth-page-metal .social-signin:enabled:hover { background:#f5f9ff; border-color:#abc7e8; }
.auth-page-metal button:focus-visible,.auth-page-metal input:focus-visible,.auth-page-metal select:focus-visible { outline:3px solid #8dbcf1; outline-offset:2px; }
.auth-page-metal .social-pending { margin:0 0 16px; padding:12px 14px; background:#edf7f1; color:#285d43; border:1px solid #cce7d7; border-radius:9px; font-size:13px; line-height:1.7; }
.identity-link-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; border-top:1px solid #e1e9f3; }
.identity-link-row:first-child { margin-top:16px; }
.identity-link-row p { max-width:420px; margin:6px 0 0; font-size:12px; color:#62758d; }
.identity-link-row button { flex:none; }
.identity-link-row button:disabled { opacity:.55; cursor:not-allowed; }
.social-ms-icon { display:grid; grid-template-columns:repeat(2,9px); grid-template-rows:repeat(2,9px); gap:2px; width:20px; height:20px; }
.social-ms-icon i:nth-child(1){background:#f35325}.social-ms-icon i:nth-child(2){background:#81bc06}.social-ms-icon i:nth-child(3){background:#05a6f0}.social-ms-icon i:nth-child(4){background:#ffba08}
.social-wechat-icon { width:21px; height:21px; display:inline-flex; color:#07c160; }
.social-wechat-icon svg { width:100%; height:100%; fill:currentColor; }
.auth-page-metal .auth-divider { display: flex; align-items: center; gap: 10px; color: #9aa7b8; font-size: 11px; margin: 19px 0; }
.auth-page-metal .auth-divider:before, .auth-page-metal .auth-divider:after { content: ''; height: 1px; background: #e7edf5; flex: 1; }
.auth-page-metal .field { display: flex; flex-direction: column; gap: 7px; margin: 16px 0; }
.auth-page-metal .field label { color: #596e8a; font-size: 12px; font-weight: 550; line-height: 1.5; }
.auth-page-metal .field input, .auth-page-metal .field select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; color: #263d5b; border: 1px solid #cedbec; border-radius: 9px; background: #fcfdff; font: inherit; font-size: 13px; }
.auth-page-metal .ux-email-composer { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 0 9px; border: 1px solid #cedbec; border-radius: 9px; background: #fcfdff; }
.auth-page-metal .ux-email-composer input { flex: 1; min-width: 0; width: 45%; border: 0; padding: 11px 0; background: none; }
.auth-page-metal .ux-email-composer>span { flex: none; color: #8ca0bb; font-size: 12px; }
.auth-page-metal .ux-email-composer select { flex: 0 1 135px; min-width: 100px; max-width: 50%; border: 0; min-height: 36px; padding: 8px 4px; background: #edf3fc; color: #53759c; font-size: 12px; }
.auth-page-metal .ux-password-field { position: relative; }
.auth-page-metal .ux-password-field input { padding-right: 43px; }
.auth-page-metal .ux-password-field button { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 7px; color: #7e97b8; }
.auth-page-metal .auth-code-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
.auth-page-metal .auth-send { min-height: 46px; padding: 10px 12px; border: 1px solid #bacfe9; border-radius: 9px; background: #edf4ff; color: #3a6da9; font-size: 12px; cursor: pointer; }
body .auth-page-metal .auth-email-policy { margin: 7px 0 16px; color: #94a1b3; font-size: 11px !important; line-height: 1.7; }
.auth-page-metal .auth-consent { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0; color: #7d8da3; font-size: 11px; line-height: 1.8; }
.auth-page-metal .auth-consent input { flex: none; margin-top: 4px; accent-color: #2468b9; }
.auth-page-metal .auth-consent button { padding: 0; border: 0; background: none; color: #3b73b2; font: inherit; cursor: pointer; }
body .auth-page-metal .auth-submit { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 47px; color: #fff; border: 1px solid #265c9e; border-radius: 9px; background: linear-gradient(145deg, #4c93e4, #1d61b1 47%, #153e77 51%, #347bd0); box-shadow: inset 0 1px #d0eaff75, 0 3px 10px #28528518; font-size: 13px; }
.auth-page-metal .ux-auth-switch { display: block; margin: 18px auto; color: #3d79bc; border: 0; background: none; font-size: 12px; cursor: pointer; }
.auth-page-metal .auth-register-note, .auth-preview-note { color: #92a0b2; font-size: 11px; line-height: 1.7; margin: 17px 0; text-align: center; }
.auth-page-metal .auth-feedback { padding: 10px 12px; margin: 12px 0; border-radius: 8px; background: #edf4ff; color: #245b98; font-size: 12px; line-height: 1.7; }
.auth-page-metal .auth-feedback.auth-error { background: #fff0f2; color: #ac3249; }
.auth-page-metal .auth-feedback.hidden { display: none; }
@media(max-width: 900px) {
  .auth-page-metal .social-providers { grid-template-columns:1fr; }
  body .auth-page.auth-page-metal { grid-template-columns: 1fr; max-width: 630px; padding: 26px 22px 42px; gap: 24px; }
  body .auth-page-metal .auth-intro.auth-marketing { position: relative; top: 0; min-height: 0; padding: 27px; }
  .auth-marketing-copy { padding-top: 22px; max-width: 75%; }
  .auth-marketing-art { position: absolute; right: -12px; top: 68px; width: 40%; height: 155px; opacity: .32; margin: 0; z-index: -1; }
  .auth-marketing-art img { width: 100%; }
  .auth-announcement { margin-top: 25px; }
  body .auth-marketing-copy h1 { font-size: 36px; }
}
@media(max-width: 480px) {
  body .auth-page.auth-page-metal { padding: 22px 16px 36px; gap: 20px; }
  body .auth-page-metal .auth-intro.auth-marketing { padding: 23px 20px; border-radius: 17px; }
  .auth-marketing-copy { max-width: 90%; }
  .auth-marketing-kicker { font-size: 8px; }
  body .auth-marketing-copy h1 { font-size: 31px; }
  body .auth-marketing-copy p { font-size: 12px; }
  .auth-marketing-art { width: 43%; top: 73px; }
  .auth-announcement { padding: 15px; margin-top: 23px; }
  .auth-notice-tabs { gap: 17px; }
  .auth-notice-tabs button { font-size: 11px; }
  body .auth-notice-panel h2 { font-size: 18px; }
  body .auth-notice-panel p { font-size: 11px; }
  body .auth-marketing-foot { font-size: 9px; }
  body .auth-page-metal .auth-card { padding: 25px 20px; border-radius: 17px; }
  .auth-card-brand .brand-logo { width: 145px; }
  body .auth-page-metal .auth-heading h2 { font-size: 25px; }
  .auth-page-metal .ux-email-composer select { min-width: 94px; font-size: 11px; }
}
@media(prefers-reduced-motion: reduce) {
  .auth-page-metal *, .auth-page-metal *:before, .auth-page-metal *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Email sign-in uses the established silver and blue brand. */
.auth-page-metal .auth-remember{display:flex;align-items:flex-start;gap:9px;margin:6px 0 18px;color:#486483;font-size:12px;line-height:1.6}
.auth-page-metal .auth-remember input{width:16px;height:16px;margin-top:2px;flex:none;accent-color:#317dd8}
.auth-page-metal .auth-remember small{display:block;color:#7a899d;font-size:10px}
.auth-page-metal .auth-method-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 22px;margin:20px 0 8px}
.auth-page-metal .auth-method-links button{margin:0;padding:6px 0;min-height:32px}
.auth-page-metal .auth-delivery-hint{font-size:11px;line-height:1.7;color:#77899e;margin:18px 0 22px}
.auth-page-metal .auth-feedback button{display:block;margin-top:12px}

/* Shared action feedback: every async mutation shows progress and a real result. */
.relay-notifications{position:fixed;z-index:120;right:24px;top:24px;display:flex;flex-direction:column;gap:10px;width:min(420px,calc(100vw - 32px));pointer-events:none}
.relay-toast{--feedback:#306ab3;display:flex;align-items:center;gap:12px;padding:15px 14px 15px 18px;color:#163558;background:linear-gradient(115deg,#fff,#eaf3ff);border:1px solid #c4daf1;border-radius:14px;box-shadow:0 14px 42px #14376a24,inset 0 1px #fff;pointer-events:auto;animation:relay-feedback-in .22s ease-out;font-size:13px;line-height:1.6}
.relay-toast[data-type=success],.auth-feedback[data-type=success]{--feedback:#147c60}
.relay-toast[data-type=error],.auth-feedback[data-type=error]{--feedback:#b6324e}
.relay-toast[data-type=error]{background:linear-gradient(115deg,#fff,#fff0f3);border-color:#edc1cb;color:#87243b}
.relay-toast-message{flex:1;min-width:0;overflow-wrap:anywhere}
.relay-feedback-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--feedback,#306ab3);color:#fff;font-weight:700;font-size:14px;line-height:1}
.relay-toast-close{flex:none;min-width:32px;min-height:32px;background:transparent;border:0;border-radius:8px;color:inherit;font-size:23px;cursor:pointer}
.relay-toast-close:hover{background:#306ab30d}
.relay-toast-close:focus-visible,button:focus-visible{outline:2px solid #438fea;outline-offset:3px}
.relay-spinner{display:inline-block;flex:none;width:16px;height:16px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:relay-spin .8s linear infinite;vertical-align:middle}
button.is-busy{cursor:progress;opacity:.82}
button.is-busy .relay-spinner{margin-right:6px}
button.is-cooling-down{font-variant-numeric:tabular-nums;opacity:.78;cursor:default}
.auth-page-metal .auth-feedback{display:flex;align-items:flex-start;gap:9px;animation:relay-feedback-in .22s ease-out}
.auth-page-metal .auth-feedback .relay-feedback-icon{width:20px;height:20px;margin-top:1px;font-size:12px}
.auth-page-metal .auth-feedback[data-type=success]{background:#eaf7f1;color:#176349}
.auth-page-metal .auth-feedback[data-type=loading]{align-items:center}
.auth-page-metal #email-send-feedback{margin:8px 0 12px}
.auth-required{font-style:normal;color:#b6324e;font-size:11px}
.config-progress{display:flex;align-items:center;gap:8px;padding:12px;color:#245b98}
@keyframes relay-spin{to{transform:rotate(360deg)}}
@keyframes relay-feedback-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.relay-notifications{top:12px;right:16px}.relay-toast{padding:12px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.relay-spinner,.relay-toast,.auth-page-metal .auth-feedback{animation:none!important}}
body[data-page="admin-login"]{background:radial-gradient(circle at 15% 10%,#f4ecff 0,#f8f9fc 42%,#e8eaf1 100%)}
body[data-page="admin-login"] .auth-page-metal .auth-intro{border-color:#cdbde2;background:linear-gradient(130deg,#fbf9ff,#ebe7f4)}
.auth-page>.auth-cookie-choice{position:fixed;z-index:90;bottom:18px;left:50%;transform:translateX(-50%);width:min(1040px,calc(100vw - 36px));margin:0;backdrop-filter:blur(14px);box-shadow:0 12px 50px #182d5133}.auth-page:has(.auth-cookie-choice){padding-bottom:155px!important}
@media(max-width:700px){.auth-page>.auth-cookie-choice{bottom:10px;width:calc(100vw - 20px);padding:14px 16px}.auth-cookie-actions .btn{flex:1;padding:10px 8px}.auth-page:has(.auth-cookie-choice){padding-bottom:245px!important}}
.auth-cookie-choice{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 21px;border:1px solid #d9e3f0;border-radius:15px;background:rgba(255,255,255,.95);color:#536b86}.auth-cookie-copy{min-width:0}.auth-cookie-copy strong{display:block;color:#203b5b;font-size:13px;font-weight:700;letter-spacing:-.01em}.auth-cookie-copy p{max-width:700px;margin:6px 0 0;color:#72849a;font-size:11px;line-height:1.7}.auth-cookie-links{margin-top:4px!important}.auth-cookie-links button,.cookie-preferences-links button{padding:0;border:0;background:none;color:#3777b9;text-decoration:underline;text-underline-offset:2px;font:inherit;cursor:pointer}.auth-cookie-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none}.auth-cookie-actions .btn{min-height:37px;padding:8px 13px;border-radius:8px;font-size:11px;white-space:nowrap}.auth-cookie-actions .btn.text{border:0;background:transparent;color:#5f7791}.auth-cookie-actions .btn.text:hover{background:#f1f5fa;color:#245e96}.cookie-preferences{display:grid;gap:14px}.cookie-preferences-lead{margin:0;color:#6e8098;font-size:13px;line-height:1.75}.cookie-preference-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #e1e8f2;border-radius:11px;background:#fbfdff}.cookie-preference-row strong{display:block;color:#385572;font-size:13px}.cookie-preference-row p{margin:5px 0 0;color:#7a8ba0;font-size:11px;line-height:1.7}.cookie-preference-status{flex:none;padding:4px 8px;border-radius:999px;background:#eef7f3;color:#2b876b;font-size:10px;font-weight:650;white-space:nowrap}.cookie-preference-toggle{position:relative;cursor:pointer}.cookie-preference-toggle input{position:absolute;opacity:0;pointer-events:none}.cookie-preference-toggle>i{position:relative;display:block;flex:none;width:39px;height:23px;margin-top:2px;border-radius:999px;background:#d6dee9;transition:background .2s ease;box-shadow:inset 0 1px 2px #526a851a}.cookie-preference-toggle>i:after{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #233e5b33;transition:transform .2s ease}.cookie-preference-toggle input:checked+i{background:#327ec7}.cookie-preference-toggle input:checked+i:after{transform:translateX(16px)}.cookie-preference-toggle input:focus-visible+i{outline:3px solid #8bbcf1;outline-offset:2px}.cookie-preferences-links{display:flex;align-items:center;gap:8px;margin:0;color:#a0adbc;font-size:11px}.cookie-preferences-actions{gap:9px}.cookie-preferences-actions .btn{min-height:39px}
@media(max-width:700px){.auth-cookie-choice{display:block;padding:16px}.auth-cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}.auth-cookie-actions .btn:last-child{grid-column:1/-1}.cookie-preference-row{padding:13px;gap:10px}.cookie-preferences-actions{display:grid;grid-template-columns:1fr 1fr}.cookie-preferences-actions .btn:last-child{grid-column:1/-1}.cookie-preferences-lead{font-size:12px}}
@media(max-width:1000px){.auth-marketing-live .auth-marketing-copy{max-width:100%}.auth-marketing-live .auth-live-feature{min-height:150px}.auth-marketing-live .auth-live-feature-copy{padding:18px}.auth-marketing-live .auth-live-feed{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-marketing-live .auth-live-card img{width:31px;height:31px}.auth-marketing-live .auth-live-arrow{display:none}}
@media(max-width:600px){.auth-marketing-live .auth-live-feed{grid-template-columns:1fr}.auth-marketing-live .auth-live-card{min-height:50px;padding:9px 11px}.auth-marketing-live .auth-live-card img{width:38px;height:38px}.auth-marketing-live .auth-live-arrow{display:inline-flex}.auth-marketing-live .auth-live-card strong{font-size:13px}.auth-marketing-live .auth-live-card small{font-size:8px}.auth-marketing-live .auth-live-card em{font-size:10px}.auth-marketing-live .auth-live-feature-copy{width:64%}.auth-marketing-live .auth-live-feature-copy strong{font-size:26px}.auth-marketing-live .auth-live-meta{font-size:9px}body .auth-page.auth-page-metal.admin-auth-page{padding:25px 16px;min-height:100dvh}.admin-auth-page .auth-card{padding:27px 23px}.admin-auth-page .auth-card-brand{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.auth-live-dot,.auth-live-pulse{animation:none}.auth-live-card{transition:none}.auth-live-card:hover{transform:none}}
/* Campaign deck is data driven: only published, in-window entries are shown. */
.auth-campaign-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-campaign-top>span{color:#9fc6ee;font-size:9px;letter-spacing:.14em}.auth-campaign-feature{position:relative;display:flex;align-items:flex-end;min-height:230px;margin:25px 0 12px;overflow:hidden;isolation:isolate;border:1px solid #9ccfff4a;border-radius:16px;background:#12365f;box-shadow:inset 0 1px #c9e7ff24,0 11px 28px #061b371f}.auth-campaign-image{position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-fit:cover;object-position:center;opacity:.65}.auth-campaign-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0d315be8 2%,#12375fbf 47%,#12375f30 100%),linear-gradient(180deg,#0e2c5080,#0e2c5008 64%)}.auth-campaign-copy{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:72%;padding:22px}.auth-campaign-copy h2{margin:0;color:#fff;font-size:25px;line-height:1.18;letter-spacing:-.035em}.auth-campaign-copy p{margin:0;color:#c0d8f1;font-size:11px;line-height:1.7}.auth-campaign-cta{display:inline-flex;align-items:center;gap:6px;margin-top:6px;color:#eff8ff;font-size:11px;line-height:1.5}.auth-campaign-cta .ico{width:13px;height:13px}.auth-campaign-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.auth-campaign-choice{display:flex;align-items:center;gap:8px;min-width:0;padding:9px 10px;text-align:left;color:#bad3ef;border:1px solid #9bc7f033;border-radius:10px;background:#e7f4ff0c;cursor:pointer}.auth-campaign-choice:hover,.auth-campaign-choice:focus-visible{border-color:#9bc7f099;background:#d7edff1a}.auth-campaign-choice.active{border-color:#9ccfff88;background:#d7edff20}.auth-campaign-number{color:#9ac7ef;font-size:10px;font-variant-numeric:tabular-nums}.auth-campaign-choice span:nth-child(2){display:flex;flex-direction:column;min-width:0;gap:2px}.auth-campaign-choice small{color:#9bc9f2;font-size:7px;letter-spacing:.06em}.auth-campaign-choice strong{overflow:hidden;color:#f6fbff;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.auth-campaign-empty{padding:26px 4px 14px;color:#c4d8ed}.auth-campaign-empty span{color:#9fc9f4;font-size:9px;letter-spacing:.12em}.auth-campaign-empty h2{margin:12px 0 9px;color:#fff;font-size:25px;line-height:1.2}.auth-campaign-empty p{margin:0 0 15px;color:#b7cee8;font-size:12px;line-height:1.7}.auth-live-meta time{color:#89aace;font-variant-numeric:tabular-nums}@media(max-width:600px){.auth-campaign-feature{min-height:200px}.auth-campaign-copy{width:82%;padding:18px}.auth-campaign-copy h2{font-size:23px}.auth-campaign-choices{grid-template-columns:1fr}.auth-campaign-choice{min-height:48px}}

/* Magic Link: the requesting page owns the session; the email page only confirms. */
.auth-page-metal .magic-state-card{position:relative;overflow:hidden;min-height:530px;text-align:center;transition:background .55s ease,border-color .55s ease,box-shadow .55s ease}
.auth-page-metal .magic-state-card>.admin-login-label{position:absolute;top:22px;right:22px;margin:0}
.magic-status-visual{position:relative;display:grid;place-items:center;width:136px;height:136px;margin:14px auto 26px;border-radius:50%;isolation:isolate}
.magic-status-visual:before{content:'';position:absolute;inset:8px;border-radius:50%;z-index:-1;background:radial-gradient(circle at 36% 26%,#fff,#f1e9fc 70%);box-shadow:inset 0 1px 3px #fff,0 12px 30px #8a62b81c;transition:all .6s ease}
.magic-countdown-ring{position:absolute;inset:6px;width:124px;height:124px;transform:rotate(-90deg)}
.magic-countdown-ring circle{fill:none;stroke-width:2.6;stroke-linecap:round}.magic-ring-track{stroke:#e8e1f1}.magic-ring-progress{stroke:#9771c3;stroke-dasharray:301.6;stroke-dashoffset:calc(301.6 * (1 - var(--magic-progress,1)));transition:stroke-dashoffset .6s linear}
.magic-orbit{position:absolute;inset:0;border:2px solid transparent;border-top-color:#8f65bd;border-right-color:#d4bee9;border-radius:50%;animation:magic-orbit 2s linear infinite}
.magic-orbit:after{content:'';position:absolute;top:15px;right:15px;width:6px;height:6px;border-radius:50%;background:#9165bc;box-shadow:0 0 12px #ab7cd8}
.magic-time{position:relative;color:#725094;font-size:25px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.magic-status-visual>.ico{width:42px;height:42px;color:#8760b3}.magic-status-visual.is-terminal:before{background:#fff1f3;box-shadow:0 10px 30px #b94c6314}.magic-status-visual.is-terminal>.ico{color:#b83b56}
body .auth-page-metal .magic-state-heading h2{margin-top:11px;font-size:28px;line-height:1.3;letter-spacing:-.04em}.auth-page-metal .magic-state-heading>p{max-width:355px;margin:12px auto 15px;font-size:13px;line-height:1.9;color:#77849a}.magic-request-email{display:block;color:#415874;font-size:14px;font-weight:600;overflow-wrap:anywhere;margin:14px 0 24px}
.magic-progress-steps{display:flex;justify-content:center;align-items:flex-start;list-style:none;padding:0;margin:28px 0 23px;gap:0}.magic-progress-steps li{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;flex:1;color:#99a5b5;font-size:10px}.magic-progress-steps li:after{content:'';position:absolute;left:calc(50% + 17px);right:calc(-50% + 17px);top:9px;height:1px;background:#e2e8ef}.magic-progress-steps li:last-child:after{display:none}.magic-progress-steps .ico{width:19px;height:19px;color:#268767}.magic-step-dot{display:block;box-sizing:border-box;width:19px;height:19px;border:1px solid #dbe2eb;border-radius:50%;background:#f6f8fb}.magic-progress-steps li.current{color:#76549b}.magic-progress-steps li.current .magic-step-dot{border:5px solid #e7daf4;background:#a581c8;box-shadow:0 0 0 3px #f7f1fc}.magic-progress-steps li.complete{color:#3a8971}
.magic-wait-actions{display:flex;flex-direction:column;gap:6px;margin-top:22px}.magic-wait-actions>.btn{width:100%;justify-content:center;min-height:43px;border-radius:10px;font-size:12px}.auth-page-metal .magic-wait-actions>.ux-auth-switch{margin:7px auto;padding:7px 12px;min-height:32px}.magic-origin-note{color:#8b96a8;font-size:11px;line-height:1.8;margin:15px auto 0;max-width:335px}.auth-page-metal .magic-state-card .auth-delivery-hint{text-align:left;font-size:10px;line-height:1.85;margin-top:21px}.magic-network-note{font-size:11px;line-height:1.7;color:#956d23;margin:12px 0 0}.magic-network-note:empty{display:none}.magic-demo-confirm{font-size:11px;width:100%;margin-top:12px}
.magic-confirm-warning{display:flex;align-items:flex-start;gap:8px;text-align:left;color:#91632b;background:#fff7e8;border:1px solid #f2dfba;padding:13px 14px;border-radius:11px;font-size:12px;line-height:1.8;margin:24px 0 20px}.magic-confirm-warning .ico{width:17px;height:17px;flex:none;margin-top:3px}
.auth-page-metal .magic-state-success,.auth-page-metal .magic-state-confirmed{border-color:#afdcc9!important;background:linear-gradient(150deg,#fff 12%,#f3fcf7 80%)!important;box-shadow:0 18px 54px #27836115!important}.magic-status-visual.is-success{animation:magic-success-appear .6s cubic-bezier(.2,.8,.2,1) both}.magic-status-visual.is-success:before{background:radial-gradient(circle at 30% 22%,#f3fff8,#d6f4e4 76%);box-shadow:0 0 0 1px #b9e8d0,inset 0 1px 2px #fff,0 15px 35px #31a16d24}.magic-status-visual.is-success:after{content:'';position:absolute;inset:0;border:1px solid #b5e2cb;border-radius:50%;animation:magic-success-halo 1.3s ease-out both}.magic-status-visual.is-success svg{width:66px;height:66px;fill:none;stroke:#25855c;stroke-width:3.8;stroke-linecap:round;stroke-linejoin:round}.magic-check{stroke-dasharray:49;stroke-dashoffset:49;animation:magic-check-draw .5s ease .18s forwards}.auth-page-metal .magic-state-success .auth-heading h2,.auth-page-metal .magic-state-confirmed .auth-heading h2{color:#287b57}.magic-success-label{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:#449c77;margin:28px 0 45px}.magic-success-label .ico{width:16px;height:16px}
@keyframes magic-orbit{to{transform:rotate(360deg)}}
@keyframes magic-check-draw{to{stroke-dashoffset:0}}
@keyframes magic-success-appear{from{opacity:.25;transform:scale(.86)}to{opacity:1;transform:scale(1)}}
@keyframes magic-success-halo{from{opacity:.9;transform:scale(.85)}to{opacity:0;transform:scale(1.32)}}
@media(max-width:600px){.auth-page-metal .magic-state-card{min-height:480px}.magic-status-visual{width:122px;height:122px;margin-top:16px}.magic-countdown-ring{width:110px;height:110px}.magic-status-visual.is-success svg{width:60px;height:60px}body .auth-page-metal .magic-state-heading h2{font-size:25px}.magic-time{font-size:23px}.magic-origin-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.magic-orbit,.magic-status-visual,.magic-status-visual:after,.magic-check{animation:none!important}.magic-check{stroke-dashoffset:0}.magic-status-visual.is-success:after{display:none}.magic-ring-progress,.auth-page-metal .magic-state-card{transition:none!important}}
.magic-terminal-mark{color:#b83b56;font-size:36px;font-weight:500;line-height:1}
.auth-page-metal .magic-resume{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;margin:0 auto 32px;color:#277956;border-color:#b8dfcb;background:#f5fcf8;font-size:12px}.auth-page-metal .magic-resume:hover{background:#eaf8f0;border-color:#8dc9aa}
/* Defense-in-depth: the administrator surface is a centered Magic Link form only. */
.admin-auth-page .auth-card-brand,.admin-auth-page .ux-auth-tabs,.admin-auth-page .auth-method-cards,.admin-auth-page .auth-method-links,.admin-auth-page .auth-privacy-controls button{display:none!important}
.admin-auth-page #login-password,.admin-auth-page #login-password-confirm,.admin-auth-page #login-code,.admin-auth-page .ux-password-rules{display:none!important}
.admin-auth-page .field:has(#login-password),.admin-auth-page .field:has(#login-password-confirm),.admin-auth-page .field:has(#login-code){display:none!important}
.account-menu{position:relative;z-index:20}.account-menu-trigger{display:flex;align-items:center;gap:8px;min-width:188px;padding:6px 9px;border:1px solid transparent;border-radius:12px;background:transparent;color:#38546f;text-align:left;cursor:pointer}.account-menu-trigger:hover,.account-menu:focus-within .account-menu-trigger{border-color:#d8e4f1;background:#f6f9fd}.account-menu-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:linear-gradient(145deg,#5ca6e9,#365ac1);color:#fff;font-size:12px;font-weight:700}.account-menu-identity{display:grid;min-width:0;line-height:1.2}.account-menu-identity strong,.account-menu-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu-identity strong{font-size:11px;font-weight:650;color:#365574}.account-menu-identity small{max-width:132px;margin-top:3px;color:#8497ac;font-size:9px}.account-menu-chevron{margin-left:auto;color:#7892ac;font-size:15px;line-height:1}.account-menu-panel{position:absolute;right:0;top:calc(100% + 8px);display:grid;min-width:205px;padding:7px;border:1px solid #dce6f1;border-radius:13px;background:#fff;box-shadow:0 16px 36px #26496d1c;opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease}.account-menu:hover .account-menu-panel,.account-menu:focus-within .account-menu-panel{opacity:1;visibility:visible;transform:translateY(0)}.account-menu-item{display:flex;align-items:center;gap:9px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#54708e;font:inherit;font-size:11px;text-align:left;cursor:pointer}.account-menu-item .ico{width:15px;height:15px;color:#7e9bc0}.account-menu-item:hover,.account-menu-item:focus-visible{background:#eef5fc;color:#216fc0;outline:none}.account-menu-signout{margin-top:5px;border-top:1px solid #edf1f6;border-radius:7px;color:#a15d6c}.account-menu-signout .ico{color:#b47683}.account-menu-trigger:focus-visible{outline:3px solid #8dbcf1;outline-offset:2px}@media(max-width:700px){.account-menu-trigger{min-width:0;padding:5px}.account-menu-identity{display:none}.account-menu-panel{right:-5px}.balance-mini{font-size:10px!important}.account-menu-avatar{width:30px;height:30px}}
