@font-face {
  font-family: Estedad;
  src: url("../fonts/Estedad-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #041833;
  --navy-2: #062444;
  --navy-deep: #020d1f;
  --ink: #102033;
  --muted: #4d5966;
  --gold: #0c93a8;
  --gold-2: #b7eef6;
  --gold-ink: #0a6474;
  --gold-btn: #1ec4d6;
  --paper: #f3f1ec;
  --paper-2: #e7e3da;
  --card: #fbfaf7;
  --line: rgba(22, 32, 51, 0.12);
  --header: 76px;
  --bottom: 62px;
  --wrap: 1120px;
  --danger: #8d3d36;
  --ok: #215c40;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 420px at 100% -10%, rgba(12, 180, 204, 0.08), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: Estedad, Tahoma, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(7, 20, 34, 0.28);
}
::selection { background: #c9f1f6; color: var(--ink); }
[hidden] { display: none !important; }
.skip {
  position: absolute;
  top: -48px;
  right: 12px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 8px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.lede { font-size: 1.05rem; line-height: 1.9; }
h1, h2, h3 { font-weight: 650; line-height: 1.35; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 76px); margin: 0; }
h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 0 0 10px; }
h3 { font-size: 22px; margin: 0 0 8px; }
p { margin: 0 0 12px; }

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 26px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .62), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { animation: sheen .65s ease; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold-btn); color: #041833; }
.btn-gold:hover { background: #67d7e4; box-shadow: 0 12px 28px rgba(12, 180, 204, .34); }
.btn-ghost { background: transparent; color: #f4f2ed; border-color: rgba(244, 242, 237, 0.4); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); box-shadow: 0 8px 20px rgba(12, 180, 204, .16); }
.btn-navy { background: var(--navy); color: #f4f2ed; }
.btn-navy:hover { background: #10263c; box-shadow: 0 12px 26px rgba(4, 24, 51, .24); }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(22, 32, 51, 0.22); }
.btn-line:hover { border-color: var(--gold-ink); color: var(--gold-ink); box-shadow: 0 8px 18px rgba(12, 147, 168, .14); }
.btn[disabled] { opacity: 0.55; cursor: wait; transform: none; box-shadow: none; }
.hero-actions .btn { animation: riseIn .7s cubic-bezier(.16, .84, .32, 1) both; }
.hero-actions .btn:nth-child(2) { animation-delay: .1s; }

.eyebrow, .idx {
  display: inline-block;
  color: var(--gold-ink);
  font-size: 13px;
  font-weight: 620;
  margin-bottom: 8px;
}
.on-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-2); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  color: #f4f2ed;
  transition: background .28s ease, color .28s ease, border-color .28s ease;
}
.site-header a { text-decoration: none; }
.header-inner {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: flex; flex-direction: row; align-items: center; gap: 10px; line-height: 1.15; min-width: max-content; }
.logo img { height: 48px; width: auto; display: block; }
.logo .logo-on-light { display: none; }
.site-header.is-stuck .logo-on-dark,
.site-header.is-menu .logo-on-dark { display: none; }
.site-header.is-stuck .logo-on-light,
.site-header.is-menu .logo-on-light { display: block; }
.logo small { display: none; }
.logo strong { font-size: 18px; font-weight: 700; }
.logo small { font-size: 11px; font-weight: 500; opacity: 0.8; }
.desk-nav { display: none; align-items: center; gap: 2px; }
.desk-nav > a, .drop > button {
  position: relative;
  background: none;
  border: 0;
  color: inherit;
  text-decoration: none;
  font: inherit;
  font-size: 14.5px;
  font-weight: 520;
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.desk-nav > a:hover, .drop > button:hover, .drop.is-open > button { background: rgba(255, 255, 255, .08); }
.site-header.is-stuck .desk-nav > a:hover,
.site-header.is-stuck .drop > button:hover,
.site-header.is-menu .desk-nav > a:hover,
.site-header.is-stuck .drop.is-open > button { background: rgba(12, 147, 168, .12); }
.desk-nav > a::after, .drop > button::after {
  content: "";
  position: absolute;
  right: 12px;
  left: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-btn);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .25s ease;
}
.desk-nav > a:hover::after,
.drop > button:hover::after,
.drop.is-open > button::after,
.desk-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.drop > button { display: inline-flex; align-items: center; gap: 6px; }
.drop > button::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .25s ease;
  order: 1;
}
.drop.is-open > button::before,
.drop:hover > button::before { transform: rotate(-135deg) translateY(-1px); }
.drop { position: relative; }
.drop-panel {
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  box-shadow: 0 18px 40px rgba(4, 24, 51, .14);
  transition: opacity .22s ease, translate .24s cubic-bezier(.16, .84, .32, 1), visibility .22s;
}
.drop-panel a {
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  opacity: 0;
  translate: 0 6px;
  transition: opacity .24s ease, translate .24s ease, background .2s ease;
}
.drop-panel a:hover { background: rgba(12, 180, 204, .12); }
.header-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.site-header:not(.is-stuck):not(.is-menu) .btn-line {
  color: #f4f2ed;
  border-color: rgba(244, 242, 237, 0.35);
}
.icon-link svg, .menu-btn svg, .bottom-nav svg { width: 20px; height: 20px; display: block; }
.menu-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(244, 242, 237, 0.28);
  border-radius: 12px;
  color: inherit;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.menu-btn svg { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.menu-btn[aria-expanded="true"] svg { transform: rotate(90deg); }
.menu-btn:hover { background: rgba(255, 255, 255, .08); }
.site-header.is-stuck .menu-btn:hover,
.site-header.is-menu .menu-btn:hover { background: rgba(12, 147, 168, .12); }
.site-header.is-stuck, .site-header.is-menu {
  background: #f3f1ec;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck .menu-btn, .site-header.is-menu .menu-btn { border-color: var(--line); }
.site-header.is-stuck .who small, .site-header.is-menu .who small { color: var(--gold-ink); }
.site-header:not(.is-stuck):not(.is-menu) a[aria-current="page"],
.site-header:not(.is-stuck):not(.is-menu) button[aria-current="page"] { color: var(--gold-2); }
.site-header.is-stuck a[aria-current="page"],
.site-header.is-menu a[aria-current="page"],
.site-header.is-stuck button[aria-current="page"] { color: var(--gold-ink); }
.who { display: flex; flex-direction: column; line-height: 1.15; max-width: 110px; }
.who strong { font-size: 13px; font-weight: 680; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who small { font-size: 11px; color: var(--gold-2); }
.account { position: relative; }
.account-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 242, 237, .4);
  background: transparent;
  color: inherit;
}
.account-btn svg { width: 22px; height: 22px; }
.account-btn.is-in::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1ec4d6;
  border: 2px solid #041833;
  bottom: 1px;
  left: 1px;
}
.account-btn[aria-expanded="true"] { border-color: #1ec4d6; background: rgba(30, 196, 214, .16); }
.site-header.is-stuck .account-btn,
.site-header.is-menu .account-btn { border-color: var(--line); color: var(--ink); }
.site-header.is-stuck .account-btn.is-in::after,
.site-header.is-menu .account-btn.is-in::after { border-color: #f3f1ec; }
.account-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 210px;
  padding: 8px;
  background: #fbfaf7;
  color: #102033;
  border: 1px solid rgba(22, 32, 51, .12);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(4, 24, 51, .18);
}
.account-id { margin: 4px 10px 8px; display: grid; gap: 2px; }
.account-id strong { font-size: 14px; font-weight: 700; }
.account-id .meta { color: #4d5966; font-size: 12px; }
.account-menu a,
.account-menu button {
  display: block;
  width: 100%;
  text-align: start;
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #102033;
}
.account-menu a:hover,
.account-menu button:hover { background: rgba(12, 180, 204, .12); }
.site-header:not(.is-stuck):not(.is-menu) .account-menu a,
.site-header:not(.is-stuck):not(.is-menu) .account-menu button,
.site-header.is-stuck .account-menu a,
.site-header.is-stuck .account-menu button,
.site-header.is-menu .account-menu a,
.site-header.is-menu .account-menu button { color: #102033; }
.site-header:not(.is-stuck):not(.is-menu) .account-menu a[aria-current="page"],
.site-header.is-stuck .account-menu a[aria-current="page"],
.site-header.is-menu .account-menu a[aria-current="page"] { color: #0a6474; }
.text-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

.mob-panel {
  position: fixed;
  z-index: 29;
  inset: var(--header) 0 var(--bottom) 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  padding: 8px 22px 28px;
}
.mob-panel a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 550;
  transition: color .2s ease, padding-inline-start .2s ease;
}
.mob-panel a:hover { color: var(--gold-ink); padding-inline-start: 6px; }
.mob-panel:not([hidden]) { animation: panelIn .28s ease; }
.mob-panel:not([hidden]) > a { animation: itemIn .42s cubic-bezier(.16, .84, .32, 1) both; }
.mob-panel:not([hidden]) > :nth-child(1) { animation-delay: .02s; }
.mob-panel:not([hidden]) > :nth-child(2) { animation-delay: .05s; }
.mob-panel:not([hidden]) > :nth-child(3) { animation-delay: .08s; }
.mob-panel:not([hidden]) > :nth-child(4) { animation-delay: .11s; }
.mob-panel:not([hidden]) > :nth-child(5) { animation-delay: .14s; }
.mob-panel:not([hidden]) > :nth-child(6) { animation-delay: .17s; }
.mob-panel:not([hidden]) > :nth-child(7) { animation-delay: .2s; }
.mob-panel:not([hidden]) > :nth-child(8) { animation-delay: .23s; }
.mob-panel:not([hidden]) > :nth-child(9) { animation-delay: .26s; }
.mob-panel:not([hidden]) > :nth-child(10) { animation-delay: .29s; }
.mob-panel:not([hidden]) > :nth-child(11) { animation-delay: .32s; }
.mob-panel:not([hidden]) > :nth-child(12) { animation-delay: .35s; }
.mob-panel:not([hidden]) > :nth-child(13) { animation-delay: .38s; }
.mob-panel:not([hidden]) > :nth-child(14) { animation-delay: .41s; }
.mob-panel:not([hidden]) > :nth-child(15) { animation-delay: .44s; }
.mob-panel .btn { margin: 12px 0; width: 100%; display: inline-flex; }
.mob-cta { display: block; }

.bottom-nav {
  position: fixed;
  z-index: 30;
  inset: auto 0 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fbfaf7;
  border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav a {
  text-decoration: none;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 620;
  padding: 4px 0;
  transition: color .2s ease, translate .2s ease;
}
.bottom-nav a:active { translate: 0 -2px; }
.bottom-nav a[aria-current="page"] { color: var(--gold-ink); }
.bottom-nav a[aria-current="page"]::after {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-btn);
}
body { padding-bottom: calc(var(--bottom) + env(safe-area-inset-bottom)); }
body.menu-open { overflow: hidden; }

@media (min-width: 1240px) {
  .desk-nav { display: flex; }
  .menu-btn, .mob-panel, .mob-cta, .bottom-nav { display: none !important; }
  body { padding-bottom: 0; }
  .drop:hover .drop-panel,
  .drop:focus-within .drop-panel,
  .drop.is-open .drop-panel {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
  }
  .drop:hover .drop-panel a,
  .drop:focus-within .drop-panel a,
  .drop.is-open .drop-panel a { opacity: 1; translate: 0 0; }
  .drop:hover .drop-panel a:nth-child(2),
  .drop:focus-within .drop-panel a:nth-child(2),
  .drop.is-open .drop-panel a:nth-child(2) { transition-delay: .04s; }
  .drop:hover .drop-panel a:nth-child(3),
  .drop:focus-within .drop-panel a:nth-child(3),
  .drop.is-open .drop-panel a:nth-child(3) { transition-delay: .08s; }
  .drop:hover .drop-panel a:nth-child(4),
  .drop:focus-within .drop-panel a:nth-child(4),
  .drop.is-open .drop-panel a:nth-child(4) { transition-delay: .12s; }
  .drop:hover .drop-panel a:nth-child(5),
  .drop:focus-within .drop-panel a:nth-child(5),
  .drop.is-open .drop-panel a:nth-child(5) { transition-delay: .16s; }
}
@media (max-width: 760px) {
  .icon-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-tools .btn-gold { display: none; }
  .logo img { height: 40px; }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 72% 42%, #12375f 0%, transparent 54%),
    radial-gradient(ellipse at 18% 58%, rgba(12, 180, 204, 0.22), transparent 46%),
    var(--navy);
  color: #f4f2ed;
  padding: calc(var(--header) + 28px) 0 108px;
}
.hero-particles,
.hero-ambient,
.hero-flow,
.hero-fade { position: absolute; pointer-events: none; }
.hero-particles { inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-ambient {
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
}
.hero-ambient-a {
  background: #1ec4d6;
  top: 8%;
  right: -10rem;
  animation: hero-drift 16s ease-in-out infinite alternate;
}
.hero-ambient-b {
  background: #0c5f92;
  left: -12rem;
  bottom: -8rem;
  animation: hero-drift 18s ease-in-out infinite alternate-reverse;
}
.hero-flow {
  inset: 8% -6% 10%;
  width: 112%;
  height: 78%;
  z-index: 0;
  overflow: visible;
}
.flow-path {
  fill: none;
  stroke: #1ec4d6;
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: hero-draw 2.4s cubic-bezier(.45, 0, .2, 1) forwards;
}
.flow-b { stroke: #7ee0ec; stroke-width: 1.1; animation-delay: .18s; }
.flow-c { stroke: #0c93a8; stroke-width: 1.05; animation-delay: .36s; }
.hero-fade {
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--paper));
}
.hero-grid { position: relative; z-index: 2; }
.hero h1, .hero .hero-role { text-shadow: 0 10px 32px rgba(2, 13, 31, 0.38); }
.hero-logo-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hero-logo-stage img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 86%;
  max-width: 92%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 16px 34px rgba(30, 196, 214, 0.22));
  animation: hero-logo-in 1.05s cubic-bezier(.2, .8, .2, 1) both;
}
.hero-logo-aura {
  position: absolute;
  width: min(250px, 64%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #1ec4d6;
  filter: blur(58px);
  opacity: 0.2;
  animation: hero-aura 7.5s ease-in-out 1.1s infinite;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.hero-role { margin: 10px 0 0; font-size: clamp(20px, 2.4vw, 28px); font-weight: 520; color: rgba(244, 242, 237, 0.88); }
.hero-sub { color: var(--gold-2); font-weight: 560; margin: 14px 0; }
.hero .lede { color: rgba(244, 242, 237, 0.84); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-visual { position: relative; height: 280px; overflow: hidden; }
.css-core { position: absolute; inset: 0; display: grid; place-items: center; }
.css-gem {
  width: min(148px, 34%);
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(126, 224, 236, .62) 46%, rgba(4, 24, 51, .2) 74%, rgba(255,255,255,.78));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
  position: relative;
  z-index: 1;
}
.css-ring { position: absolute; border: 1px solid rgba(126, 224, 236, 0.75); border-radius: 50%; }
.css-ring.r1 { width: 62%; height: 24%; transform: rotate(18deg); }
.css-ring.r2 { width: 48%; height: 48%; border-color: rgba(126, 224, 236, 0.34); }
html.has-core .css-core { opacity: 0; }
#coreCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.section { padding: 88px 0; }
#paths { position: relative; }
#paths::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  background: radial-gradient(ellipse at 50% 0%, rgba(12, 180, 204, 0.14), transparent 68%);
  pointer-events: none;
}
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head p:last-child { color: var(--muted); }

.fork-node { width: 108px; height: 108px; margin-inline: auto; }
#paths .section-head,
#why .section-head,
#online .section-head,
#process .section-head { margin-inline: auto; text-align: center; }
.icon-link span,
.phone-xl,
.site-footer a[href^="tel:"],
.place-card a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
}
.fork-svg { display: block; width: min(920px, 100%); height: 92px; margin: 6px auto 0; }
.fork-svg path { fill: none; stroke: var(--gold); stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.fork-grid { display: grid; gap: 16px; }
.path {
  border-top: 2px solid var(--gold);
  border-radius: 18px;
  padding: 26px 24px 22px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.path-tax { background: var(--navy); color: #f4f2ed; }
.path-coach { background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.path-kicker { font-size: 13px; font-weight: 620; color: var(--gold-2); margin: 0; }
.path-coach .path-kicker { color: var(--gold-ink); }
.path ul { list-style: none; margin: 8px 0 16px; padding: 0; }
.path li { padding: 9px 0; border-bottom: 1px solid rgba(244, 242, 237, 0.14); }
.path-coach li { border-bottom-color: var(--line); }
.link-more {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.core-slot {
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 180, 204, 0.2), transparent 68%);
}
.core-slot:before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: inherit;
  border: 1px solid rgba(12, 147, 168, 0.55);
}
.tax-home { background: var(--paper-2); }
.tax-layout { display: grid; gap: 22px; align-items: center; }
.tax-well { width: 140px; height: 140px; margin-inline: auto; }
.mini-tabs { display: grid; gap: 6px; }
.mini-tabs a {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
}
.mini-tabs a[aria-current="true"] {
  border-color: rgba(12, 147, 168, 0.75);
  background: #fff;
  box-shadow: inset 3px 0 0 var(--gold);
}
.mini-detail { font-size: 18px; margin: 14px 0; }

.why-well { width: 112px; height: 112px; margin: 0 auto 22px; }
.chain {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  margin: 0 0 28px;
  position: relative;
}
.chain:before {
  content: "";
  position: absolute;
  top: 17px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.chain li {
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: 650;
  font-size: 14px;
  background: var(--paper);
  padding: 0 6px;
}
.chain li span {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin: 10px auto 8px;
  border-radius: 50%;
  background: var(--gold-btn);
  box-shadow: 0 0 0 6px var(--paper);
}
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.points li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.points strong { display: block; font-size: 16px; }
.points span { color: var(--muted); font-size: 15px; }

.coach { background: linear-gradient(180deg, #f7f4ee, #f3f1ec 40%); }
.coach-grid { display: grid; gap: 28px; align-items: center; }
.coach-figure { position: relative; min-height: 280px; display: grid; place-items: center; }
.coach-figure .core-slot { position: absolute; width: 84px; height: 84px; top: 8px; left: 8%; margin: 0; }
.king { width: min(230px, 68%); height: auto; }
.pull {
  margin: 0 0 16px;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--gold);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 640;
  line-height: 1.55;
}
.helps { padding: 0; margin: 12px 0 16px; list-style: none; display: grid; gap: 6px; }
.helps li { padding-inline-start: 14px; position: relative; }
.helps li:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  inset-inline-start: 0;
  top: 0.75em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chips span {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
}

.online-stage { position: relative; }
.landing-well { width: 128px; height: 128px; margin: 0 auto 10px; }
.connect-svg { display: block; width: min(760px, 100%); height: 54px; margin: 0 auto 14px; }
.connect-svg path { fill: none; stroke: var(--gold); stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.product-grid { display: grid; gap: 16px; }
.product {
  background: var(--navy-2);
  color: #f4f2ed;
  border-radius: 20px;
  padding: 22px 20px 20px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(126, 224, 236, 0.28);
}
.product .eyebrow { color: var(--gold-2); }
.product h3 { font-size: 26px; }
.q-list { display: grid; gap: 8px; margin: 8px 0 12px; }
.q-list button, .pack {
  text-align: start;
  background: rgba(244, 242, 237, 0.04);
  color: inherit;
  border: 1px solid rgba(244, 242, 237, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 560;
}
.q-list button[aria-pressed="true"], .pack[aria-pressed="true"] {
  border-color: rgba(126, 224, 236, 0.75);
  color: var(--gold-2);
}
.answer {
  background: rgba(5, 14, 24, 0.35);
  border-radius: 14px;
  padding: 14px;
  min-height: 132px;
}
.answer p { margin: 0; }
.source-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 242, 237, 0.12);
  font-size: 13px;
  color: var(--gold-2);
}
.product .btn { margin-top: 14px; align-self: flex-start; }
.demo-note { color: rgba(244, 242, 237, 0.62); font-size: 13px; margin-top: auto; padding-top: 12px; }
.coin-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.coin-row strong { font-size: 42px; font-weight: 680; color: var(--gold-2); line-height: 1; }
.inv-list { list-style: none; padding: 0; margin: 8px 0 14px; }
.inv-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 242, 237, 0.1);
}
.pill { font-style: normal; font-size: 12px; font-weight: 680; border-radius: 999px; padding: 4px 8px; }
.pill.ok { color: #173524; background: #d7ecdf; }
.pill.wait { color: #3d3422; background: #efe2c6; }
.pill.bad { color: #6d2e2a; background: #f3d7d3; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(7, 20, 34, 0.56);
  display: grid;
  place-items: end center;
  padding: 18px;
}
.modal-card {
  width: min(460px, 100%);
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 22px;
}
.packs { display: grid; gap: 8px; margin: 12px 0; }
.pack { color: var(--ink); background: #fff; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pay-result { font-weight: 650; }

.sarp-band, .end-band { background: var(--navy); color: #f4f2ed; }
.end-band {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(30, 196, 214, 0.18), transparent 58%),
    var(--navy);
}
.sarp-band { padding: 42px 0; }
.sarp-row, .end-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.sarp-row h2, .end-band h2 { margin: 0; }
.end-band { text-align: center; padding: 78px 0; }
.end-inner { flex-direction: column; }
.phone-xl {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}
.end-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); margin: 0; }
.num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-ink);
  font-weight: 680;
  margin-bottom: 10px;
}
.consult-grid, .contact-grid, .login-grid, .split, .about-grid {
  display: grid;
  gap: 22px;
}
.form, .panel-card, .service-block, .place-card, .empty, .login-card, .thanks-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.form label, .field { display: grid; gap: 6px; margin-bottom: 12px; font-weight: 600; font-size: 14px; transition: color .2s ease; }
.form label:focus-within, .field:focus-within { color: var(--gold-ink); }
input, select, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(22, 32, 51, 0.16);
  border-radius: 8px;
  font-weight: 450;
  font-size: 14px;
  line-height: 1.3;
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea { padding: 2px 12px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
select {
  height: 30px;
  min-height: 30px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0c93a8;
  box-shadow: 0 0 0 4px rgba(30, 196, 214, .2);
  background: #fff;
}
textarea { height: auto; min-height: 64px; padding: 6px 12px; resize: vertical; }
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(141, 61, 54, .14);
  animation: fieldShake .34s ease;
}
.will-reveal { opacity: 0; translate: 0 16px; }
.will-reveal.is-in {
  opacity: 1;
  translate: 0 0;
  transition: opacity .55s ease, translate .55s cubic-bezier(.16, .84, .32, 1);
}
.form.will-reveal > label,
.form.will-reveal > .btn { opacity: 0; }
.form.is-in > label,
.form.is-in > .btn { animation: riseIn .45s cubic-bezier(.16, .84, .32, 1) both; }
.form.is-in > label:nth-of-type(2) { animation-delay: .06s; }
.form.is-in > label:nth-of-type(3) { animation-delay: .12s; }
.form.is-in > label:nth-of-type(4) { animation-delay: .18s; }
.form.is-in > label:nth-of-type(5) { animation-delay: .24s; }
.form.is-in > .btn { animation-delay: .28s; }
.field-error, .form-error { color: var(--danger); font-size: 13px; font-weight: 600; min-height: 0; margin: -6px 0 10px; }
.form-note, .hint { color: var(--muted); font-size: 13px; font-weight: 450; }
.file-list { font-size: 14px; margin: 0 0 8px; }

.site-footer { background: var(--navy-deep); color: rgba(244, 242, 237, 0.8); padding: 52px 0 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid { display: grid; gap: 26px; }
.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
}
.footer-logo img { width: min(148px, 72%); height: auto; display: block; }
.logo-lockup { margin: 0 0 8px; }
.logo-lockup img { width: min(280px, 86%); height: auto; display: block; }
.site-footer h2 { color: #f4f2ed; font-size: 16px; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 7px 0; }
.footer-base { margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(244, 242, 237, 0.12); font-size: 14px; }

.page-hero {
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(12, 180, 204, 0.22), transparent 62%),
    var(--navy);
  color: #f4f2ed;
  padding: calc(var(--header) + 52px) 0 56px;
}
.page-hero .lede { color: rgba(244, 242, 237, 0.82); max-width: 40rem; }
.page { padding: 56px 0 80px; }
.prose p { max-width: 42rem; }
.service-block h2 { font-size: 28px; }
.aud { color: var(--gold-ink); font-weight: 680; font-size: 14px; }
.outputs { margin: 8px 0 16px; padding: 0 18px 0 0; }
.outputs li { margin: 4px 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.console-nav { display: none; }
.js .services.is-enhanced {
  background: var(--navy-2);
  color: #f4f2ed;
  border-radius: 22px;
  padding: 14px;
  display: grid;
  gap: 8px;
}
.js .services.is-enhanced .console-nav { display: flex; flex-direction: column; gap: 4px; }
.js .services.is-enhanced .console-nav a {
  color: rgba(244, 242, 237, 0.8);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.js .services.is-enhanced .console-nav a[aria-current="true"] {
  color: var(--gold-2);
  border-color: rgba(126, 224, 236, 0.5);
  background: rgba(126, 224, 236, 0.1);
}
.js .services.is-enhanced .service-block { display: none; margin: 0; background: transparent; border: 0; color: inherit; }
.js .services.is-enhanced .service-block.is-active { display: block; }
.js .services.is-enhanced .aud { color: var(--gold-2); }
.js .services.is-enhanced .btn-line { color: #f4f2ed; border-color: rgba(244, 242, 237, 0.28); }

.audience-grid, .help-grid { display: grid; gap: 12px; }
.audience-grid article, .help-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.king-panel {
  min-height: 320px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(12, 180, 204, 0.16), transparent 58%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.king-panel img { width: min(250px, 70%); }

.faq-group { margin-bottom: 22px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  padding: 12px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  transition: color .2s ease;
}
.faq-item summary:hover { color: var(--gold-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; color: var(--gold-ink); font-weight: 500; transition: transform .25s ease; }
.faq-item[open] summary:after { content: "–"; transform: rotate(180deg); }
.faq-item p { color: var(--muted); margin-top: 0; }
.faq-item[open] p { animation: itemIn .35s cubic-bezier(.16, .84, .32, 1); }

.empty { text-align: start; padding: 36px 28px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.cats span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 13px; background: #fff; }
.search { display: flex; gap: 8px; margin-top: 8px; }
.search input { flex: 1; }

.place-card p { margin-bottom: 8px; }
.thanks { min-height: 70vh; display: grid; align-items: center; padding-top: calc(var(--header) + 40px); }
.login-card h2 { font-size: 28px; }

@media (min-width: 800px) {
  .hero { align-items: center; padding-bottom: 48px; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 24px; }
  .hero-visual { height: min(62vh, 560px); }
  .fork-grid, .product-grid, .points, .consult-grid, .contact-grid, .login-grid, .about-grid, .split { grid-template-columns: 1fr 1fr; }
  .login-grid.login-solo { grid-template-columns: minmax(0, 480px); justify-content: center; }
  .points { grid-template-columns: 1fr 1fr; }
  .tax-layout { grid-template-columns: 160px 1fr; }
  .coach-grid { grid-template-columns: 1.15fr 0.85fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .audience-grid { grid-template-columns: repeat(5, 1fr); }
  .help-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 0.9fr 0.8fr 0.9fr; }
  .js .services.is-enhanced { grid-template-columns: 260px 1fr; align-items: start; }
  .modal { place-items: center; }
}
@media (max-width: 799px) {
  .hero { align-items: flex-start; min-height: auto; padding-bottom: 72px; }
  .hero-visual { height: 240px; }
  .hero-fade { height: 56px; }
  .section { padding: 56px 0; }
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .fork-svg, .connect-svg { display: none; }
  .coach-figure { order: -1; }
  .sarp-row { flex-direction: column; align-items: flex-start; }
  .js .services.is-enhanced .console-nav { flex-direction: row; overflow: auto; }
  .js .services.is-enhanced .console-nav a { white-space: nowrap; }
  .steps-tall { grid-template-columns: 1fr; }
}
.steps-tall { grid-template-columns: 1fr; }
.steps-tall li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.steps-tall .num { margin: 0; }
.steps-tall li:not(:last-child):after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 0;
  right: 17px;
  width: 1px;
  background: rgba(12, 147, 168, 0.75);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
html[data-page="advisor"] {
  --ink: #e7eef3;
  --muted: #93a8b8;
  --paper: #041833;
  --card: #071e36;
  --line: rgba(183, 238, 246, .16);
  --gold-ink: #8fe4ee;
  color-scheme: dark;
}
html[data-page="advisor"] body {
  background:
    radial-gradient(880px 420px at 0% -10%, rgba(12, 180, 204, .18), transparent 55%),
    radial-gradient(640px 360px at 100% 110%, rgba(12, 147, 168, .12), transparent 50%),
    #020d1f;
  color: #e7eef3;
}
html[data-page="advisor"] .site-footer { display: none; }
html[data-page="advisor"] body { padding-bottom: 0; }
html[data-page="advisor"] .site-header,
html[data-page="advisor"] .site-header.is-stuck,
html[data-page="advisor"] .site-header.is-menu {
  background: rgba(4, 24, 51, .94);
  color: #f4f2ed;
  border-bottom: 1px solid rgba(183, 238, 246, .14);
}
html[data-page="advisor"] .site-header .logo-on-dark,
html[data-page="advisor"] .site-header.is-stuck .logo-on-dark,
html[data-page="advisor"] .site-header.is-menu .logo-on-dark { display: block; }
html[data-page="advisor"] .site-header .logo-on-light,
html[data-page="advisor"] .site-header.is-stuck .logo-on-light,
html[data-page="advisor"] .site-header.is-menu .logo-on-light { display: none; }
html[data-page="advisor"] .site-header .account-btn,
html[data-page="advisor"] .site-header.is-stuck .account-btn,
html[data-page="advisor"] .site-header.is-menu .account-btn {
  border-color: rgba(244, 242, 237, .4);
  color: #f4f2ed;
}
html[data-page="advisor"] .account-btn.is-in::after { border-color: #041833; }
html[data-page="advisor"] .account-menu a,
html[data-page="advisor"] .account-menu button,
html[data-page="advisor"] .site-header .account-menu a[aria-current="page"] { color: #102033; }
html[data-page="advisor"] .account-menu a[aria-current="page"] { color: #0a6474; }
html[data-page="advisor"] .site-header .btn-line,
html[data-page="advisor"] .site-header.is-stuck .btn-line {
  color: #f4f2ed;
  border-color: rgba(244, 242, 237, .35);
}
html[data-page="advisor"] .site-header.is-stuck a[aria-current="page"],
html[data-page="advisor"] .site-header.is-menu a[aria-current="page"],
html[data-page="advisor"] .site-header.is-stuck button[aria-current="page"] { color: #b7eef6; }
html[data-page="advisor"] .menu-btn,
html[data-page="advisor"] .site-header.is-stuck .menu-btn,
html[data-page="advisor"] .site-header.is-menu .menu-btn {
  border-color: rgba(244, 242, 237, .28);
  color: #f4f2ed;
}
html[data-page="advisor"] .mob-panel {
  background: #041833;
  color: #e7eef3;
}
html[data-page="advisor"] .mob-panel a { font-size: 15px; padding: 10px 0; }
html[data-page="advisor"] .bottom-nav {
  background: #041833;
  border-top-color: rgba(183, 238, 246, .16);
}
html[data-page="advisor"] .bottom-nav a { color: #93a8b8; }
html[data-page="advisor"] .bottom-nav a[aria-current="page"] { color: #b7eef6; }
.chat-shell {
  height: 100dvh;
  padding-top: var(--header);
  padding-bottom: var(--bottom);
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: transparent;
}
.chat-side, .chat-main { min-height: 0; }
.chat-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-inline-end: 1px solid rgba(183, 238, 246, .14);
  background: rgba(2, 13, 31, .72);
  overflow: auto;
}
.chat-side .eyebrow { margin: 2px 0 0; font-size: 11px; }
.chat-new { width: 100%; min-height: 34px; font-size: 13px; padding: 0 12px; }
.assist-list, .thread-list { display: grid; gap: 4px; }
.assist-btn, .suggest button, .thread > button {
  text-align: start;
  background: rgba(6, 36, 68, .72);
  color: #d5e6ee;
  border: 1px solid rgba(183, 238, 246, .14);
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.35;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.assist-btn strong, .thread > button strong { font-weight: 650; }
.assist-btn.is-on, .thread.is-on > button, .assist-btn:hover, .suggest button:hover {
  border-color: rgba(30, 196, 214, .7);
  background: rgba(12, 147, 168, .16);
  box-shadow: 0 0 0 1px rgba(30, 196, 214, .18);
}
.thread small { color: #93a8b8; font-size: 11px; font-weight: 450; }
.chat-tools { display: grid; gap: 6px; }
.chat-tools input,
.chat-tools select,
.chat-side input,
.chat-side select {
  width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 450;
  border-radius: 9px;
  background: #041833;
  color: #e7eef3;
  border: 1px solid rgba(183, 238, 246, .22);
}
.chat-tools input:focus,
.chat-tools select:focus {
  background: #041833;
  border-color: #1ec4d6;
  box-shadow: 0 0 0 3px rgba(30, 196, 214, .2);
}
.chat-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.thread { display: flex; align-items: center; gap: 6px; }
.thread > button { flex: 1; min-width: 0; display: grid; gap: 1px; }
.thread > button strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thread .text-btn { font-size: 11px; color: #93a8b8; flex: none; }
.chat-side .hint { font-size: 11.5px; margin: 0; }
.chat-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background-image: radial-gradient(rgba(183, 238, 246, .09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.chat-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(183, 238, 246, .12);
}
.chat-bar .eyebrow, .chat-cost { margin: 0; }
.chat-cost { color: #93a8b8; font-size: 12px; }
.side-toggle { display: none; min-height: 34px; font-size: 13px; }
.chat-stream { flex: 1; overflow: auto; padding: 18px 16px 8px; }
.chat-empty { max-width: 40rem; margin: 7vh auto 0; text-align: center; }
.chat-lead { font-size: 1.12rem; font-weight: 620; line-height: 1.7; color: #e7eef3; }
.suggest { display: grid; gap: 6px; margin-top: 14px; text-align: start; }
.msg {
  width: min(100%, 38rem);
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  animation: riseIn .35s cubic-bezier(.16, .84, .32, 1);
}
.msg p { margin: 0; }
.msg-answer { line-height: 2; white-space: normal; }
.msg-answer strong { color: #ffe3a1; }
.msg-answer .answer-heading {
  display: inline-block;
  margin-top: 4px;
  margin-bottom: 4px;
}
.msg-answer .answer-number {
  display: inline-block;
  min-width: 24px;
  color: #9ce8ef;
}
#opsEdit { width: min(820px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 0; }
#opsEdit::backdrop { background: rgba(4, 24, 51, .62); }
#opsEdit form { padding: 24px; }
#opsEdit input { width: 100%; }
.report-charts { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 980px) { .report-charts { grid-template-columns: 1fr 1fr; } }
.report-charts .panel-card, .panel-main > .panel-card { margin-top: 14px; }
.kpi small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.donut-wrap { display: flex; gap: 18px; align-items: center; }
.donut {
  width: 148px; height: 148px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
}
.donut span {
  width: 86px; height: 86px; border-radius: 50%; background: var(--card);
  display: grid; place-items: center; font-weight: 720; font-size: 22px;
}
.chart-bars { flex: 1; min-width: 0; }
.chart-row { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr) auto; gap: 8px; align-items: center; margin: 8px 0; }
.chart-track { height: 10px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.chart-track i { display: block; height: 100%; border-radius: inherit; }
.chart-row b { font-size: 13px; font-weight: 650; }
.report-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 16px; margin: 12px 0 4px; }
.report-facts p { margin: 0; overflow-wrap: anywhere; }
.report-facts span { display: block; color: var(--muted); font-size: 12.5px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
[data-guide] { white-space: pre-wrap; margin-top: 8px; }
#reportDetail { width: min(980px, calc(100vw - 24px)); border: 0; border-radius: 16px; padding: 0; }
#reportDetail::backdrop { background: rgba(4, 24, 51, .62); }
#reportDetail form { max-height: min(88vh, 920px); overflow: auto; padding: 22px; }
@media (max-width: 720px) {
  .donut-wrap { flex-direction: column; align-items: stretch; }
  .donut { margin-inline: auto; }
}
.knowledge-dialog {  width: min(760px, calc(100% - 32px));
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(6, 36, 68, .18);
  border-radius: 18px;
  color: #102033;
  background: #fbfaf7;
}
.knowledge-dialog::backdrop { background: rgba(4, 24, 51, .62); }
.knowledge-dialog > div { padding: 24px; }
.knowledge-dialog > form { padding: 0 24px 24px; }
#adminEdit {
  width: min(720px, calc(100% - 32px));
  border: 0;
  border-radius: 18px;
  padding: 22px;
}
#adminEdit::backdrop { background: rgba(4, 24, 51, .62); }
.knowledge-detail p { line-height: 2; white-space: normal; }
.knowledge-detail p strong { color: #0a6071; }
.knowledge-dialog textarea { min-height: 90px; }
.icon-actions { white-space: nowrap; }
.review-sheet, .knowledge-sheet { min-width: 0; table-layout: fixed; }
.review-sheet td, .review-sheet th, .knowledge-sheet td, .knowledge-sheet th {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.review-sheet th:nth-child(1) { width: 48%; }
.review-sheet th:nth-child(2) { width: 18%; }
.review-sheet th:nth-child(3) { width: 18%; }
.review-sheet th:nth-child(4) { width: 16%; }
.knowledge-sheet th:nth-child(1) { width: 20%; }
.knowledge-sheet th:nth-child(8) { width: 15%; }
.icon-btn {
  width: 32px;
  height: 32px;
  margin: 2px;
  padding: 0;
  border: 1px solid rgba(6, 36, 68, .18);
  border-radius: 9px;
  color: #0a6071;
  background: #fff;
  cursor: pointer;
}
.icon-btn:hover { background: #e8f7f8; }
.icon-btn.approve { color: #147548; }
.icon-btn.danger { color: #a33b42; }
.review-answer td {
  padding-top: 0;
  color: #5c6872;
  font-size: .9em;
}
.review-answer td strong { color: #0a6071; }
.knowledge-toolbar .filters label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.knowledge-toolbar input[data-jalali] { min-width: 145px; }
.jalali-pop {
  position: absolute;
  z-index: 40;
  width: 280px;
  padding: 12px;
  border: 1px solid rgba(6, 36, 68, .16);
  border-radius: 16px;
  background: #fbfaf7;
  box-shadow: 0 16px 40px rgba(4, 24, 51, .18);
}
.jalali-head, .jalali-week, .jalali-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.jalali-head { grid-template-columns: 32px 1fr 32px; align-items: center; margin-bottom: 8px; }
.jalali-head button, .jalali-days button {
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.jalali-days button:hover, .jalali-head button:hover { background: #e8f7f8; }
.jalali-days button.is-today { box-shadow: inset 0 0 0 1px #0c93a8; }
.jalali-days button.is-picked, .jalali-days button.is-picked:hover { background: #041833; color: #f4f2ed; }
.jalali-today {
  width: 100%;
  margin-top: 8px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #e8f7f8;
  cursor: pointer;
}
.jalali-week { margin-bottom: 4px; color: #6b7782; font-size: 12px; }
a.icon-btn { display: inline-grid; place-items: center; text-decoration: none; }
.msg-user { margin-inline-start: auto; background: #0a7f96; color: #f4fffe; }
.msg-bot { background: rgba(6, 36, 68, .88); border: 1px solid rgba(183, 238, 246, .16); }
.msg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg-tags span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(4, 24, 51, .35);
}
.msg-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(183, 238, 246, .16);
  color: #8fe4ee;
  font-size: 12px;
}
.msg-human { margin-top: 10px; font-weight: 650; }
.msg-human a { color: #b7eef6; }
.msg-wait { color: #8fe4ee; font-size: 13px; font-weight: 620; }
.composer {
  display: grid;
  gap: 8px;
  margin: 0 16px;
  padding: 8px;
  background: rgba(6, 36, 68, .92);
  border: 1px solid rgba(30, 196, 214, .4);
  border-radius: 16px;
}
.composer-row { display: flex; gap: 8px; align-items: flex-end; }
.composer textarea {
  flex: 1;
  min-height: 46px;
  max-height: 140px;
  border: 0;
  resize: none;
  padding: 10px 8px;
  background: transparent;
  color: #e7eef3;
  font-size: 14.5px;
}
.composer textarea:focus { outline: none; box-shadow: none; background: transparent; }
.clip {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(183, 238, 246, .28);
  color: #b7eef6;
  cursor: pointer;
}
.clip svg { width: 18px; height: 18px; }
.clip input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
}
.clip:hover, .clip:focus-within { border-color: #1ec4d6; box-shadow: 0 0 0 3px rgba(30, 196, 214, .18); }
.power {
  display: flex;
  flex: none;
  border: 1px solid rgba(183, 238, 246, .24);
  border-radius: 999px;
  overflow: hidden;
}
.power button {
  background: transparent;
  border: 0;
  color: #93a8b8;
  font-size: 11px;
  font-weight: 620;
  padding: 0 8px;
  min-height: 36px;
}
.power button.is-on { background: #1ec4d6; color: #041833; }
.composer .btn { min-height: 26px; font-size: 13px; padding: 0 14px; }
.file-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.file-chips:empty, .file-chips[hidden] { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 2px 6px 2px 8px;
  border-radius: 999px;
  background: rgba(4, 24, 51, .65);
  border: 1px solid rgba(183, 238, 246, .2);
  font-size: 11.5px;
}
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16rem; }
.chip button {
  border: 0;
  background: transparent;
  color: #b7eef6;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
}
.composer-note, .composer-error { margin: 6px 18px 10px; font-size: 12px; }
.composer-error { color: #f0b2ac; }
.buddy {
  position: absolute;
  z-index: 4;
  width: 148px;
  left: 22px;
  top: 72px;
  pointer-events: none;
  opacity: 1;
  transition: left .9s ease, top .9s ease, opacity .4s ease;
}
.buddy.is-away { opacity: 0; }
.buddy-say {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  width: 148px;
  margin: 0;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(4, 24, 51, .92);
  border: 1px solid rgba(30, 196, 214, .45);
  color: #e7f8fb;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.45;
  opacity: 0;
}
.buddy.is-talking .buddy-say { opacity: 1; }
.buddy-stage { position: relative; width: 74px; height: 88px; perspective: 520px; }
.buddy-rear { transform: rotateY(180deg); }
.back-logo {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 34px;
  height: 34px;
  object-fit: contain;
  padding: 3px;
  background: #f4f8f9;
  border-radius: 9px;
}
.mouth-laugh, .mouth-sad { opacity: 0; }
.buddy.is-laugh .mouth-plain { opacity: 0; }
.buddy.is-laugh .mouth-laugh { opacity: 1; }
.buddy.is-laugh .buddy-eyes { transform: scaleY(.38); transform-box: fill-box; transform-origin: center; }
.buddy.is-sad .mouth-plain { opacity: 0; }
.buddy.is-sad .mouth-sad { opacity: 1; }
.buddy.is-sad .buddy-eyes { transform: translateY(2.5px); }
.buddy.is-sad .orb { fill: #6a8ea0; }
.buddy-turn {
  width: 74px;
  height: 88px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .8s ease;
}
.buddy.is-turned .buddy-turn { transform: rotateY(180deg); }
.buddy-face { position: absolute; inset: 0; backface-visibility: hidden; }
.buddy.pose-hop .buddy-turn,
.buddy.pose-nod .buddy-turn,
.buddy.pose-wave .buddy-turn,
.buddy.pose-think .buddy-turn,
.buddy.pose-peek .buddy-turn,
.buddy.pose-alert .buddy-turn,
.buddy.pose-shake .buddy-turn,
.buddy.pose-spin .buddy-turn { animation: buddyNod .6s ease; }
.buddy.is-turned .buddy-turn { animation: none; }
.buddy .orb { transform-origin: 40px 5.5px; }
.buddy.power-high .orb, .buddy.power-full .orb { filter: drop-shadow(0 0 5px #1ec4d6); }
.buddy.power-full .orb { fill: #e7f8fb; }
.buddy-switch {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px 0 4px;
  border-radius: 999px;
  border: 1px solid rgba(183, 238, 246, .28);
  background: rgba(4, 24, 51, .55);
  color: #d5e6ee;
  font-size: 12px;
  font-weight: 620;
}
.buddy-switch .knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1ec4d6;
  box-shadow: 0 0 0 3px rgba(30, 196, 214, .18);
}
.buddy-switch:not(.is-on) .knob { background: #355066; box-shadow: none; }
.buddy-switch:not(.is-on) { color: #93a8b8; }
@media (min-width: 1240px) {
  .chat-shell { padding-bottom: 0; }
}
@media (max-width: 800px) {
  .chat-shell { grid-template-columns: 1fr; }
  .side-toggle { display: inline-flex; }
  .chat-side {
    display: none;
    position: fixed;
    z-index: 25;
    inset: var(--header) 0 var(--bottom) 0;
  }
  .chat-shell.is-side .chat-side { display: flex; }
  .composer-row { flex-wrap: wrap; }
  .power { order: -1; }
  .composer textarea { flex: 1 1 calc(100% - 96px); }
  .chat-stream { padding-bottom: 64px; }
  .buddy {
    width: 132px;
    left: 8px !important;
    top: auto !important;
    bottom: 128px;
    transition: opacity .4s ease;
  }
  .buddy-stage, .buddy-turn, .buddy-face svg { width: 56px; height: 66px; }
  .back-logo { width: 24px; height: 24px; left: 16px; top: 16px; }
}

@keyframes sheen {
  0% { opacity: 0; translate: 0 0; }
  20% { opacity: 1; }
  100% { opacity: 0; translate: 320% 0; }
}
@keyframes riseIn {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes panelIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes itemIn {
  from { opacity: 0; translate: 12px 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes fieldShake {
  0%, 100% { translate: 0 0; }
  30% { translate: -5px 0; }
  60% { translate: 5px 0; }
}
@keyframes buddyNod {
  0%, 100% { translate: 0 0; }
  45% { translate: 0 -3px; }
}
@keyframes hero-draw {
  0% { opacity: 0; stroke-dashoffset: 1400; }
  16% { opacity: 0.72; }
  100% { opacity: 0.32; stroke-dashoffset: 0; }
}
@keyframes hero-logo-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-aura {
  50% { opacity: 0.32; transform: scale(1.08); }
}
@keyframes hero-drift {
  to { transform: translate(-28px, 22px) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .will-reveal,
  .form.will-reveal > label,
  .form.will-reveal > .btn { opacity: 1; translate: none; }
  .flow-path { opacity: 0.28; stroke-dashoffset: 0; }
  .hero-logo-stage img { opacity: 1; transform: none; }
  .hero-logo-aura { opacity: 0.16; }
}

html[data-page="panel"] .site-footer { display: none; }
html[data-page="panel"] .panel-main h1 { font-size: clamp(28px, 3vw, 40px); }
html[data-page="panel"] .panel-main h2 { font-size: 22px; }
.panel-app { padding-top: var(--header); }
.panel-side {
  background: var(--navy);
  color: #e7eef3;
  padding: 10px;
}
.panel-side a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  color: rgba(231, 238, 243, .88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 580;
}
.panel-side a:hover { background: rgba(255, 255, 255, .06); }
.panel-side a[aria-current="page"] { background: rgba(30, 196, 214, .16); color: #b7eef6; }
.panel-kicker {
  margin: 16px 12px 6px;
  font-size: 11px;
  font-weight: 720;
  color: #8fe4ee;
}
.panel-main { padding: 18px 16px 28px; min-width: 0; }
.panel-main > .panel-card + .panel-card { margin-top: 14px; }
.dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-head p { margin: 0; color: var(--muted); max-width: 40rem; }
.panel-lock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--navy);
  color: #f4f2ed;
}
.panel-lock p { margin: 0; }
.panel-note:empty { display: none; }
.panel-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(12, 147, 168, .12);
  color: var(--gold-ink);
  font-size: 14.5px;
}
.kpi-grid, .shortcut-grid, .pack-grid { display: grid; gap: 12px; }
.kpi, .shortcut, .pack {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}
.kpi strong { display: block; font-size: 28px; font-weight: 720; line-height: 1.2; }
.kpi span, .shortcut small, .pack p, .meter-label { color: var(--muted); font-size: 13px; }
.dash-head-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 0; color: var(--muted); }
.dash-head-meta span { font-size: 13.5px; }
.dash-tasks { display: grid; gap: 8px; }
.dash-tasks a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.dash-tasks a:hover { border-color: var(--gold); }
.dash-activity { list-style: none; margin: 0; padding: 0; }
.dash-activity li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.dash-activity li:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-activity a { display: block; text-decoration: none; }
.dash-activity small { display: block; margin-top: 2px; color: var(--muted); }
#dashDetail { width: min(980px, calc(100vw - 24px)); border: 0; border-radius: 16px; padding: 0; }
#dashDetail::backdrop { background: rgba(4, 24, 51, .62); }
#dashDetail form { max-height: min(88vh, 920px); overflow: auto; padding: 22px; }
.account-hero {
  display: grid;
  gap: 22px;
  margin-bottom: 16px;
  padding: 28px 26px;
  border-radius: 28px;
  color: #f4f2ed;
  background:
    radial-gradient(480px 200px at 0% 0%, rgba(30, 196, 214, .38), transparent 62%),
    linear-gradient(150deg, #08324a 0%, #041833 58%, #062444 100%);
}
html[data-page="panel"] .account-hero h1 { color: #fff; font-size: clamp(36px, 4vw, 58px); }
.account-hero .lede { max-width: 40rem; color: rgba(244, 242, 237, .84); }
.account-hero .eyebrow { color: #b7eef6; }
.account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.account-stats article {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.account-stats span { display: block; color: #b7eef6; font-size: 13px; }
.account-stats strong { display: block; font-size: 22px; font-weight: 720; }
.account-form label { display: grid; gap: 6px; margin-bottom: 12px; font-weight: 600; font-size: 14px; }
.account-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.account-form select { height: 42px; min-height: 42px; }
.account-form textarea { width: 100%; min-height: 96px; resize: vertical; }
#customerBody tr[data-customer] { cursor: pointer; }
.trade-card { background: linear-gradient(180deg, #fff, var(--card)); }
.trade-list { margin: 0 0 12px; padding-right: 18px; }
.trade-list li { margin: 4px 0; }
.crm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.crm-tags i {
  font-style: normal;
  padding: 3px 10px;
  border-radius: 999px;
  background: #d5f3f7;
  color: #0a6474;
  font-size: 13px;
}
#customerCrm { width: min(720px, calc(100vw - 24px)); border: 0; border-radius: 16px; padding: 0; }
#customerCrm::backdrop { background: rgba(4, 24, 51, .62); }
#customerCrm form { max-height: min(86vh, 820px); overflow: auto; padding: 22px; }
@media (max-width: 700px) {
  .account-stats { grid-template-columns: 1fr; }
}
button.pack {
  display: block;
  width: 100%;
  text-align: right;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button.pack.is-on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
button.pack b { display: block; margin: 4px 0; font-size: 22px; }
.shortcut { display: block; text-decoration: none; }
.shortcut:hover, .pack:hover { border-color: var(--gold); }
.shortcut strong, .pack strong { display: block; margin-bottom: 4px; }
.meter { height: 6px; border-radius: 99px; background: var(--paper-2); margin: 8px 0; }
.meter span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.work { display: grid; gap: 14px; margin-top: 14px; }
.panel-main > .shortcut-grid { margin-top: 14px; }
.sheet tbody tr[data-invoice] { cursor: pointer; }
.sheet tbody tr.is-selected { background: rgba(12, 147, 168, .12); }
.error-line { margin: 8px 0; }
.history-list { margin: 0; padding-right: 18px; }
.history-list li { margin: 6px 0; }
#errorGuide { white-space: pre-wrap; margin-top: 8px; }
.sheet-wrap { overflow-x: auto; }
.sheet { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.sheet th {
  text-align: right;
  font-size: 12.5px;
  font-weight: 680;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.sheet th .sort-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.sheet th .sort-btn[data-dir="asc"]::after { content: " ↑"; }
.sheet th .sort-btn[data-dir="desc"]::after { content: " ↓"; }
#lawEdit textarea { min-height: 160px; }
.law-cards { display: grid; gap: 12px; }
.law-portal { display: grid; gap: 16px; }
.law-bar, .law-read {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.law-bar { display: grid; gap: 12px; }
.law-bar input[type="search"] {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 14px;
  font: inherit;
  background: #fff;
}
.law-checks, .law-actions, .law-meta, .law-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: end;
}
.law-actions { justify-content: center; }
.law-meta { justify-content: space-between; align-items: center; color: var(--muted); }
.law-more label, .law-meta label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.law-sheet a { color: var(--navy); font-weight: 720; text-decoration: none; }
.law-sheet a:hover { color: var(--gold-ink); }
.law-read .law-body { white-space: pre-wrap; line-height: 2.05; margin: 18px 0 0; }
.mag-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mag-search { flex: 1 1 240px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); padding: 0 18px; font: inherit; background: #fff; }
.mag-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mag-cats button, .mag-sort {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  min-height: 36px;
  padding: 0 14px;
  font: inherit;
  cursor: pointer;
}
.mag-cats button[aria-pressed="true"] { background: var(--navy); color: #f4f2ed; border-color: var(--navy); }
.mag-lead {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  min-height: 240px;
  margin-bottom: 14px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #f4f2ed;
  background:
    linear-gradient(135deg, rgba(30, 196, 214, .35), transparent 42%),
    var(--navy);
}
.mag-lead .copy { padding: 28px; }
.mag-lead h2 { margin: 8px 0 10px; font-size: clamp(26px, 4vw, 40px); line-height: 1.35; color: #fff; }
.mag-lead p { margin: 0; color: rgba(244, 242, 237, .82); }
.mag-lead .side { display: flex; align-items: flex-end; justify-content: flex-start; padding: 28px; font-size: 14px; color: var(--gold-2); }
.mag-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mag-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 190px;
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.mag-card h2 { margin: 0; font-size: 22px; line-height: 1.45; }
.mag-card p { margin: 0; color: var(--muted); }
.mag-kicker { color: var(--gold-ink); font-size: 13px; font-weight: 720; }
.mag-card .more { margin-top: auto; color: var(--navy); font-weight: 680; }
.story { max-width: 42rem; }
.story-body { white-space: pre-wrap; line-height: 2.1; font-size: 18px; }
.ask-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.ask-topics { display: grid; gap: 4px; position: sticky; top: 92px; }
.ask-topics button {
  text-align: right;
  border: 0;
  border-right: 3px solid transparent;
  background: transparent;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
  color: var(--muted);
}
.ask-topics button[aria-pressed="true"] { border-right-color: var(--gold); color: var(--navy); font-weight: 760; }
.ask-search {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-size: 20px;
  margin-bottom: 8px;
}
.ask-count { color: var(--muted); margin: 0 0 8px; }
@media (max-width: 800px) {
  .mag-lead, .mag-grid, .ask-layout { grid-template-columns: 1fr; }
  .ask-topics { position: static; grid-auto-flow: column; overflow: auto; }
}
.sheet td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.sheet td.wrap { white-space: normal; min-width: 16rem; }
.sheet tbody tr[data-id] { cursor: pointer; }
.sheet tbody tr.is-on { background: rgba(12, 147, 168, .1); }
.sheet input:not([type="checkbox"]):not([type="radio"]),
.sheet select { min-height: 30px; height: 30px; }
.pill.sent { color: #0a6474; background: #d5f3f7; }
.pill.draft { color: #243044; background: #e4e8ee; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.seg button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  font-weight: 640;
  font-size: 14px;
}
.seg button[aria-selected="true"] { background: var(--navy); color: #f4f2ed; border-color: var(--navy); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: end; }
.filters input:not([type="checkbox"]):not([type="radio"]),
.filters select { width: auto; min-width: 0; min-height: 30px; height: 30px; }
.filters input { flex: 1 1 180px; }
.list-tools { margin-bottom: 14px; }
.list-tools .filters {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: end;
  margin-bottom: 8px;
}
.list-tools .tool { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--muted); font-size: 12.5px; }
.list-tools .tool.grow { grid-column: 1 / -1; }
.list-tools .tool.span2 { grid-column: span 2; }
.list-tools .filters input:not([type="checkbox"]):not([type="radio"]),
.list-tools .filters select {
  flex: none;
  width: 100%;
  min-width: 0;
  height: 38px;
  min-height: 38px;
}
.list-tools .date-line { display: flex; gap: 6px; width: 100%; min-width: 0; }
.list-tools .date-line input:not([type="checkbox"]):not([type="radio"]) {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}
.list-tools .date-line button {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaf7;
  cursor: pointer;
  white-space: nowrap;
}
.list-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; }
.list-tools .hint { margin: 0; }
@media (max-width: 980px) {
  .list-tools .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-tools .tool.span2 { grid-column: span 1; }
  .list-tools .tool.grow { grid-column: 1 / -1; }
}
.sheet th[data-sort] { cursor: pointer; }
.sheet th.is-sorted::after { content: " ↑"; }
.sheet th.is-sorted.desc::after { content: " ↓"; }
.fields.two { display: grid; gap: 0 12px; }
.dropzone {
  position: relative;
  border: 1px dashed rgba(12, 147, 168, .6);
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
  background: rgba(183, 238, 246, .2);
}
.dropzone p { margin: 0 0 10px; }
.stack { display: grid; gap: 12px; }
@media (min-width: 800px) {
  .kpi-grid { grid-template-columns: repeat(4, 1fr); }
  .shortcut-grid, .pack-grid { grid-template-columns: repeat(3, 1fr); }
  .work { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
  .fields.two { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1240px) {
  .panel-app {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100dvh;
  }
  .panel-side {
    position: sticky;
    top: var(--header);
    height: calc(100dvh - var(--header));
    overflow: auto;
  }
  .panel-main { padding: 28px 28px 56px; }
}
@media (max-width: 1239px) {
  .panel-side {
    position: sticky;
    top: var(--header);
    z-index: 25;
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }
  .panel-kicker { display: none; }
  .panel-side a { flex: none; white-space: nowrap; }
  .panel-side button { width: auto; flex: none; white-space: nowrap; }
}
@media (max-width: 700px) {
  .panel-head, .panel-lock { flex-direction: column; align-items: stretch; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

html[data-page="admin"] .site-footer,
html[data-page="admin"] .bottom-nav { display: none !important; }
html[data-page="admin"] body { padding-bottom: 0; }
html[data-page="admin"] .panel-main h1 { font-size: clamp(28px, 3vw, 40px); }
html[data-page="admin"] .panel-main h2 { font-size: 22px; }
.acting-bar {
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  z-index: 29;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 16px;
  background: #1ec4d6;
  color: #041833;
}
.acting-bar p { margin: 0; font-weight: 720; }
.acting-bar button {
  border: 0;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  background: #041833;
  color: #f4f2ed;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
body.is-acting .panel-app { padding-top: calc(var(--header) + 44px); }
body.is-acting .page-hero { padding-top: calc(var(--header) + 96px); }
.chart-grid { display: grid; gap: 14px; margin-top: 14px; }
.donut-wrap { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; }
.donut-wrap svg { width: 150px; height: 150px; }
.legend { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.bar-chart { display: flex; align-items: stretch; gap: 8px; height: 168px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.bar-col b { font-size: 12px; line-height: 1.2; }
.bar-track { flex: 1; width: 22px; display: flex; align-items: flex-end; margin: 6px 0; }
.bar-track span {
  display: block;
  width: 100%;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(#67d7e4, #0c93a8);
  min-height: 4px;
}
.bar-col small { font-size: 11px; color: var(--muted); text-align: center; }
.line-chart { width: 100%; height: 140px; }
.line-chart polyline { fill: none; stroke: #0c93a8; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.stepup {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(2, 13, 31, .48);
}
.stepup .form { width: min(440px, 100%); }
.admin-role { font-size: 13px; color: #8fe4ee; margin: 8px 12px 0; }
.panel-side button {
  width: 100%;
  text-align: right;
  background: transparent;
  border: 0;
  color: #f0b2ac;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  font: inherit;
  font-weight: 650;
}
.panel-side button:hover { background: rgba(255, 255, 255, .06); }
html[data-page="admin"] .panel-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  overflow: auto;
}
html[data-page="admin"] .nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #8fe4ee;
  font-size: 13px;
  font-weight: 720;
  min-height: 38px;
}
html[data-page="admin"] .nav-group-toggle::after {
  content: "▾";
  display: inline-block;
  transform: rotate(90deg);
  opacity: .75;
  transition: transform .15s ease;
}
html[data-page="admin"] .nav-group-toggle[aria-expanded="true"]::after {
  transform: none;
}
html[data-page="admin"] .nav-group-items a { padding-right: 22px; }
html[data-page="admin"] #adminOut { margin-top: 12px; }
@media (max-width: 1239px) {
  html[data-page="admin"] .panel-side {
    display: flex;
    flex-direction: column;
    max-height: 46vh;
    overflow: auto;
  }
  html[data-page="admin"] .panel-side a,
  html[data-page="admin"] .panel-side button {
    width: 100%;
    flex: none;
    white-space: normal;
  }
}
@media (min-width: 900px) {
  .chart-grid { grid-template-columns: 1.1fr .9fr; }
}
@media (max-width: 700px) {
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
}

.file-drop {
  display: grid;
  gap: 4px;
  border: 2px dashed rgba(12, 147, 168, .42);
  border-radius: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
}
.file-drop strong { font-size: 20px; }
.file-drop span { color: var(--muted); }
.file-drop input { margin-top: 12px; }
.pdf-tool .form { max-width: 720px; }
.pdf-choice {
  display: grid;
  gap: 6px;
  max-width: 560px;
}
.pdf-choice label { font-weight: 650; }
.pdf-choice select {
  min-height: 30px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.pdf-choice small { color: var(--muted); }
.pdf-plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pdf-pages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.pdf-page {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.pdf-page-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: right;
}
.pdf-page-button:not(:disabled):hover { background: rgba(12, 147, 168, .08); }
.pdf-page-button:disabled { cursor: default; }
.pdf-page-number { font-weight: 650; }
.pdf-page-state { color: var(--muted); font-size: 13px; }
.pdf-page-processing { border-color: var(--gold-btn); background: #effcff; }
.pdf-page-ready { border-color: rgba(33, 92, 64, .3); background: #f0faf4; }
.pdf-page-failed { border-color: rgba(141, 61, 54, .3); background: #fff4f2; }
.pdf-page-viewer { margin-top: 26px; }
.pdf-page-viewer .pdf-result-head { margin-bottom: 12px; }
.pdf-page-output {
  max-height: 560px;
  overflow: auto;
  margin: 0;
  padding: 20px;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: 16px/2 Estedad, Tahoma, sans-serif;
}
.pdf-summary {
  margin-top: 16px;
  padding: 18px;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  line-height: 2;
}
.pdf-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.pdf-result-head h2 { margin-bottom: 3px; }
.result-label { display: block; font-weight: 650; margin-bottom: 8px; }
.pdf-output {
  max-height: 720px;
  overflow: auto;
  margin: 0;
  padding: 22px;
  white-space: pre-wrap;
  text-align: right;
  direction: rtl;
  unicode-bidi: plaintext;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: 16px/2 Estedad, Tahoma, sans-serif;
}
.pdf-original { margin-top: 24px; }
.pdf-original summary {
  cursor: pointer;
  color: var(--gold-ink);
  font-weight: 650;
}
.pdf-original iframe {
  display: block;
  width: 100%;
  height: 720px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
@media (max-width: 700px) {
  .pdf-result-head { align-items: stretch; flex-direction: column; }
}
.field-note { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.field-off { opacity: .5; }
.field-off select { background: #f3f1ec; }
.unit-combo { position: relative; }
.unit-menu {
  position: absolute;
  z-index: 6;
  inset-inline: 0;
  top: calc(100% - 8px);
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(22, 32, 51, .16);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(22, 32, 51, .12);
}
.unit-menu button {
  width: 100%;
  text-align: start;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.unit-menu button:hover { background: rgba(12, 147, 168, .12); }
.sheet .row-actions { white-space: nowrap; }
.sheet td.ops-cell { white-space: normal; min-width: 220px; }
.sheet td.ops-cell .row-actions { white-space: normal; }
#taxpayerBody tr[data-taxpayer] { cursor: pointer; }
#requestBody select, #topicBody .topic-name {
  width: 100%;
  height: 36px;
  min-width: 7.5rem;
}
#topicBody td.row-actions, #topicBody .row-actions { white-space: normal; }
.access-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; margin-top: 16px; }
.access-flags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0; }
.access-flags label { display: flex; align-items: center; gap: 6px; }
#userHistory { width: min(920px, calc(100% - 24px)); }
#userHistory .list-tools { margin-top: 8px; }
@media (max-width: 900px) {
  .access-split { grid-template-columns: 1fr; }
}

.dotic-layout { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.dotic-card-head, .dotic-log-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dotic-card-head h2, .dotic-log-head h3 { margin: 0; }
.dotic-tree { max-height: 68vh; overflow: auto; margin-top: 12px; padding: 4px; }
.dotic-branch { margin: 8px 0; border: 1px solid rgba(6, 36, 68, .12); border-radius: 14px; background: #fff; overflow: hidden; }
.dotic-branch[data-open="true"] { border-color: rgba(12, 147, 168, .45); box-shadow: 0 8px 22px rgba(4, 24, 51, .05); }
.dotic-branch-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; }
.dotic-twist { width: 32px; height: 32px; border: 0; border-radius: 10px; background: #eef4f6; color: #041833; font-size: 20px; line-height: 1; cursor: pointer; justify-self: center; }
.dotic-branch[data-open="true"] > .dotic-branch-row .dotic-twist { transform: rotate(-90deg); background: #041833; color: #f4f2ed; }
.dotic-twist-empty { background: transparent; cursor: default; }
.dotic-root-label, .dotic-child { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 8px; width: 100%; min-width: 0; }
.dotic-root-label { font-weight: 700; }
.dotic-root-label span, .dotic-child span { line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dotic-count { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: #f3f6f8; color: #41566c; font-size: 12px; text-align: center; }
.dotic-children { display: none; margin: 0 54px 10px 12px; padding: 4px 0 4px 0; border-right: 2px solid rgba(12, 147, 168, .35); }
.dotic-branch[data-open="true"] > .dotic-children { display: grid; }
.dotic-child { padding: 7px 8px; border-radius: 10px; }
.dotic-child:hover, .dotic-root-label:hover { background: #f4f8f8; }
.dotic-modes { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.dotic-modes label { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(6, 36, 68, .16); background: #fff; white-space: nowrap; }
.dotic-modes input:checked + span, .dotic-modes label:has(input:checked) { background: #041833; color: #f4f2ed; border-color: #041833; }
.dotic-fields { display: flex; flex-wrap: wrap; gap: 12px; }
.dotic-fields label { display: grid; gap: 6px; min-width: 180px; }
.dotic-log { list-style: none; margin: 8px 0 0; padding: 12px; max-height: 240px; overflow: auto; border-radius: 14px; background: #071525; color: #d7efe8; font-size: 13px; line-height: 1.9; }
.dotic-log li + li { border-top: 1px solid rgba(255,255,255,.06); }
.dotic-log li.is-dup { color: #ff8b8b; }
html[data-page="admin"] .dotic-progress { margin-top: 14px; padding: 12px; border-radius: 14px; background: #f4f7fb; }
html[data-page="admin"] .dotic-progress p { margin: 8px 0; }
html[data-page="admin"] .dotic-meter { height: 10px; border-radius: 999px; background: #d5e0ea; overflow: hidden; }
html[data-page="admin"] .dotic-meter > span { display: block; height: 100%; width: 0; background: #16324f; }
html[data-page="admin"] .dotic-meter-pdf > span { background: #2f80ed; }
html[data-page="admin"] .dotic-analyze-counts { display: flex; gap: 16px; margin: 8px 0 12px; }
html[data-page="admin"] .dotic-analyze-counts .is-new { color: #0b6b62; }
html[data-page="admin"] .dotic-analyze-counts .is-dup { color: #a32020; }
html[data-page="admin"] .dotic-analyze-tree { max-height: 420px; }
html[data-page="admin"] .dotic-analyze-tree .dotic-analyze-list { border: 0; max-height: none; }
html[data-page="admin"] .dotic-analyze-list li { padding: 8px 12px; border-bottom: 1px solid #eef2f6; }
html[data-page="admin"] .dotic-analyze-list li.is-dup { color: #a32020; background: #fff5f5; }
html[data-page="admin"] .dotic-analyze-list small { display: block; color: #66788a; }
.dotic-live { width: 10px; height: 10px; border-radius: 50%; background: #1fbf75; box-shadow: 0 0 0 0 rgba(31, 191, 117, .7); animation: dotic-pulse 1.4s infinite; }
@keyframes dotic-pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 191, 117, 0); } }
.dotic-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.dotic-filters input, .dotic-filters select { min-width: 180px; }
.dotic-known { display: inline-flex; align-items: center; margin-inline-end: 6px; padding: 2px 8px; border-radius: 999px; background: #e7f6f4; color: #0b6b62; font-size: 12px; }
html[data-page="admin"] .btn-danger { background: #8d2f36; color: #fff; border-color: #8d2f36; }
html[data-page="admin"] .btn-danger:hover { background: #73262c; }
html[data-page="admin"] .btn-danger:disabled { opacity: .45; }
html[data-page="admin"] .dotic-purge { overflow: visible; }
html[data-page="admin"] .dotic-purge-body { max-height: min(78vh, 760px); overflow: auto; padding: 22px; }
html[data-page="admin"] .dotic-purge-dates { border: 1px solid rgba(6, 36, 68, .14); border-radius: 14px; padding: 12px; margin: 12px 0; }
html[data-page="admin"] .dotic-purge-dates legend { padding: 0 6px; }
html[data-page="admin"] .dotic-purge-all { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; }
html[data-page="admin"] .dotic-purge-range { display: flex; flex-wrap: wrap; gap: 12px; }
html[data-page="admin"] .dotic-purge-range label { display: grid; gap: 6px; min-width: 180px; }
html[data-page="admin"] .dotic-purge-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
html[data-page="admin"] .dotic-purge-head h3 { margin: 8px 0; }
html[data-page="admin"] .dotic-purge-tree { max-height: 320px; }
html[data-page="admin"] .dotic-card-head .row-actions { align-items: center; }
.dotic-sheet td .hint { margin: 4px 0 0; }
@media (max-width: 900px) { .dotic-layout { grid-template-columns: 1fr; } }
