:root {
  --ink: #0b1220;
  --ink-2: #172136;
  --muted: #657083;
  --line: #dce3ea;
  --line-strong: #b9c5d0;
  --paper: #ffffff;
  --paper-2: #f5f8fb;
  --paper-3: #eef4f8;
  --navy: #07111f;
  --navy-2: #0e1d31;
  --teal: #0f8a8a;
  --teal-dark: #08656a;
  --gold: #b98b2f;
  --gold-soft: #fff3d8;
  --danger: #c0392b;
  --success: #167a46;
  --warning: #ad6a00;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(8, 23, 39, 0.16);
  --max: 1180px;
  --header: 72px;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans KR",
    sans-serif;
}

/* Member selection and approval controls */
body.admin-body .member-bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
  padding: 9px 11px;
  border: 1px solid #d8e4eb;
  border-radius: 8px;
  background: #f8fbfc;
}

body.admin-body .member-bulk-toolbar strong {
  color: #0a4f58;
  font-size: 12px;
}

body.admin-body .member-bulk-toolbar select {
  width: auto;
  min-width: 150px;
  min-height: 30px;
  padding: 5px 30px 5px 9px;
  font-size: 12px;
}

body.admin-body .member-bulk-toolbar > span {
  color: #667085;
  font-size: 11px;
}

body.admin-body .member-admin-table input[type="checkbox"] {
  width: 15px;
  height: 15px;
  min-width: 15px;
  margin: 0;
  accent-color: #008d92;
}

body.admin-body .detail-actions .force-approve-form {
  max-width: 140px;
}

body.admin-body .detail-actions .btn.force-approve {
  border: 1px solid #d08b16;
  background: #fff8e8;
  color: #8a5300;
  font-size: 11px;
}

@media (max-width: 760px) {
  body.admin-body .member-bulk-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  body.admin-body .member-bulk-toolbar strong,
  body.admin-body .member-bulk-toolbar > span {
    grid-column: 1 / -1;
  }

  body.admin-body .member-bulk-toolbar select {
    width: 100%;
  }

  body.admin-body .detail-actions .force-approve-form {
    max-width: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body.private-route {
  background: #f3f6f9;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header);
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 234, 0.85);
  backdrop-filter: blur(16px);
}

.brand a {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 7px;
  font-weight: 800;
}

.brand strong {
  display: block;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.main-nav a {
  padding: 12px 13px;
  color: #253145;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--teal-dark);
  background: #eaf6f6;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.btn.primary {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.btn.dark {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.btn.gold {
  color: #2b1c04;
  background: var(--gold-soft);
  border-color: #edcf8a;
}

.btn.ghost {
  background: transparent;
}

.btn.danger {
  color: white;
  background: var(--danger);
  border-color: var(--danger);
}

.btn.small {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 12px;
}

.page {
  min-height: 68vh;
}

.section {
  padding: 86px clamp(18px, 4vw, 48px);
}

.section.compact {
  padding-top: 44px;
  padding-bottom: 44px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 48px) 76px;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.76) 46%, rgba(7, 17, 31, 0.18) 100%),
    url("../img/visc-finance-hero.png") center right / cover no-repeat;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: #dfe8ef;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
  max-width: 650px;
}

.proof-item {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.proof-item strong {
  display: block;
  color: white;
  font-size: 22px;
}

.proof-item span {
  color: #bfd2df;
  font-size: 13px;
}

.hero-panel {
  align-self: end;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.market-list {
  display: grid;
  gap: 12px;
}

.market-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.market-row:last-child {
  border-bottom: 0;
}

.market-row strong {
  font-size: 14px;
}

.market-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric {
  color: var(--teal-dark);
  font-weight: 900;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title h2,
.page-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-title p,
.page-title p {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
}

.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.58fr);
  gap: 28px;
  align-items: start;
}

.featured-article {
  display: grid;
  min-height: 410px;
  align-content: end;
  padding: 34px;
  color: white;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.1), rgba(7, 17, 31, 0.92)),
    linear-gradient(135deg, #0d263a, #0f8a8a);
  border-radius: var(--radius);
  overflow: hidden;
}

.featured-article h3 {
  max-width: 660px;
  margin: 12px 0 10px;
  font-size: 34px;
  line-height: 1.12;
}

.featured-article p {
  max-width: 620px;
  color: #d7e8ed;
}

.article-list,
.stack {
  display: grid;
  gap: 14px;
}

.article-row,
.news-card,
.product-card,
.process-card,
.admin-card,
.form-card,
.info-band,
.notice-row,
.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px;
}

.article-date {
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: #eaf6f6;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.article-row h3,
.news-card h3,
.product-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.article-row p,
.news-card p,
.product-card p,
.process-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.tagline,
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 12px;
}

.tag,
.status-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 5px 9px;
  color: var(--teal-dark);
  background: #eaf6f6;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}

.tag.gold {
  color: #6d4504;
  background: var(--gold-soft);
}

.tag.dark {
  color: white;
  background: var(--navy);
}

.status-pill.pending,
.status-pill.warning {
  color: var(--warning);
  background: #fff0d8;
}

.status-pill.approved,
.status-pill.done,
.status-pill.open {
  color: var(--success);
  background: #e7f6ee;
}

.status-pill.blocked,
.status-pill.closed {
  color: var(--danger);
  background: #fae9e7;
}

.status-pill.hidden,
.status-pill.draft {
  color: #8a5a12;
  background: #fff5dc;
}

.status-pill.identity {
  color: #057a55;
  background: #ecfdf3;
  border: 1px solid #a7f3d0;
}

.compact-table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 12px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.compact-table th,
.compact-table td {
  padding: 9px 8px;
  border-bottom: 1px solid #e6edf3;
  text-align: left;
  overflow-wrap: anywhere;
}

.compact-table th {
  color: #475467;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 900;
}

.compact-table .status-pill {
  min-height: 22px;
  padding: 3px 6px;
  white-space: nowrap;
  font-size: 11px;
}

.conversion-band {
  color: white;
  background:
    radial-gradient(circle at top left, rgba(15, 138, 138, 0.45), transparent 36%),
    linear-gradient(135deg, var(--navy), #112841);
}

.conversion-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 1.1fr);
  gap: 36px;
  align-items: center;
}

.conversion-grid h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
}

.conversion-grid p {
  color: #cddbe7;
}

.method-list {
  display: grid;
  gap: 12px;
}

.method-list li {
  list-style: none;
  padding: 18px 18px 18px 46px;
  color: #ecf5f7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  position: relative;
}

.method-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card,
.product-card,
.process-card,
.admin-card,
.form-card,
.stat-card,
.info-band {
  padding: 22px;
}

.news-card:hover,
.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 36px rgba(20, 38, 55, 0.08);
}

.page-hero {
  padding: 62px clamp(18px, 4vw, 48px);
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(15, 53, 78, 0.92)),
    url("../img/visc-finance-hero.png") center / cover no-repeat;
}

.page-title {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.page-title h1 {
  color: white;
}

.page-title p {
  color: #d4e0e9;
}

.locked {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 48px 18px;
  background: var(--paper-2);
}

.locked-panel {
  width: min(100%, 620px);
  padding: 34px;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #2e3b4f;
  font-size: 13px;
  font-weight: 900;
}

.field small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.field input,
.field select,
.field textarea {
  min-height: 42px;
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(15, 138, 138, 0.18);
  border-color: var(--teal);
}

.split-view {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  gap: 26px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-dot {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--muted);
  background: var(--paper-3);
  border-radius: 50%;
  font-weight: 900;
}

.timeline-step.done .step-dot {
  color: white;
  background: var(--success);
}

.timeline-step.active .step-dot {
  color: #231500;
  background: var(--gold);
}

.application-event-list {
  display: grid;
  gap: 1px;
  margin: 14px 0 20px;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.application-event-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  background: #ffffff;
}

.application-event-list strong {
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

.application-event-list span {
  color: #334155;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.application-event-list small {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 12px 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 13px;
}

th {
  color: #344255;
  background: #f7fafc;
  font-weight: 900;
}

tr:last-child td {
  border-bottom: 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-nav {
  position: sticky;
  top: calc(var(--header) + 16px);
  display: grid;
  gap: 7px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-nav button {
  padding: 12px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
}

.admin-nav button.active {
  color: white;
  background: var(--navy);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 11, 20, 0.66);
}

.modal-root.open {
  display: flex;
}

.modal {
  width: min(100%, 620px);
  max-height: 90vh;
  overflow: auto;
  padding: 28px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal h2 {
  margin-top: 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0 0;
  color: #7b8794;
  font-size: 13px;
  font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
  content: "";
}

.google-auth-btn {
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  border-color: rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: #111827;
}

.google-auth-btn span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.toast {
  width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  color: white;
  background: var(--navy);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.identity-required-modal {
  position: fixed;
  right: 24px;
  top: 92px;
  z-index: 45;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.identity-required-modal-card {
  padding: 22px;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(6, 16, 27, 0.98), rgba(13, 60, 66, 0.96)),
    #06101b;
  border: 1px solid rgba(242, 207, 135, 0.28);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  pointer-events: auto;
}

.identity-required-modal-card span {
  color: #f2cf87;
  font-size: 12px;
  font-weight: 900;
}

.identity-required-modal-card h2 {
  margin: 8px 0 9px;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: 0;
}

.identity-required-modal-card p {
  margin: 0;
  color: rgba(248, 250, 252, 0.78);
  line-height: 1.62;
}

.identity-required-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.identity-required-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 24px auto 0;
  padding: 18px 20px;
  border: 1px solid rgba(15, 178, 164, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 21, 33, 0.96), rgba(12, 56, 61, 0.94));
  color: white;
  box-shadow: 0 18px 42px rgba(9, 24, 36, 0.16);
}

.identity-required-banner strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.identity-required-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.identity-required-banner .btn {
  flex: 0 0 auto;
}

.floating-actions {
  position: fixed;
  right: 18px;
  top: auto;
  bottom: 24px;
  z-index: 12;
  display: grid;
  gap: 8px;
}

.floating-actions a {
  display: flex;
  min-width: 116px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: white;
  background: var(--teal);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(8, 23, 39, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.floating-actions a:first-child {
  background: var(--navy);
}

@media (max-width: 1400px) {
  .floating-actions a {
    width: 54px;
    min-width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .floating-actions strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  padding: 42px clamp(18px, 4vw, 48px);
  color: #c9d6e0;
  background: var(--navy);
}

.site-footer strong {
  color: white;
}

.site-footer p {
  max-width: 620px;
  margin: 10px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 13px;
}

.footer-legal-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal-links a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.legal-section {
  background: #f8fafc;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.legal-main {
  display: grid;
  gap: 14px;
}

.legal-main article,
.legal-side {
  border: 1px solid #dfe7ef;
  border-radius: 6px;
  background: #ffffff;
}

.legal-main article {
  padding: 24px;
}

.legal-main h2 {
  margin: 0 0 12px;
  color: #07131f;
  font-size: 20px;
}

.legal-main ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: #475467;
  line-height: 1.75;
}

.legal-side {
  position: sticky;
  top: 88px;
  padding: 22px;
}

.legal-side strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.legal-side p {
  margin: 0 0 16px;
  color: #667085;
  line-height: 1.65;
}

.empty-state {
  padding: 34px;
  text-align: center;
  background: white;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.kpi-strip div {
  padding: 20px;
  background: white;
}

.kpi-strip strong {
  display: block;
  font-size: 24px;
}

.kpi-strip span {
  color: var(--muted);
  font-size: 13px;
}

.legal-note {
  padding: 14px 16px;
  color: #5c4a25;
  background: #fff6de;
  border: 1px solid #ead59c;
  border-radius: var(--radius);
  font-size: 13px;
}

.source-line {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.source-line a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-side {
    position: static;
  }

  .mobile-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    justify-content: start;
    padding: 10px 0 16px;
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-inner,
  .feed-layout,
  .conversion-grid,
  .split-view,
  .admin-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 540px;
  }

  .stat-grid,
  .grid-3,
  .kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-nav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header: 64px;
  }

  .site-header {
    padding: 0 14px;
  }

  .brand small {
    display: none;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-proof,
  .grid-2,
  .grid-3,
  .form-grid,
  .stat-grid,
  .kpi-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal-links {
    gap: 8px 12px;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .article-date {
    width: 92px;
    min-height: 42px;
  }

  .floating-actions {
    left: auto;
    right: 12px;
    top: auto;
    bottom: 14px;
    grid-template-columns: 1fr;
  }

  .floating-actions a {
    width: 52px;
    min-width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .floating-actions strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-footer {
    padding-bottom: 86px;
  }

  .admin-nav {
    grid-template-columns: 1fr 1fr;
  }
}

:root {
  --v2-bg: #f6f8fa;
  --v2-ink: #111827;
  --v2-soft: #eef3f5;
  --v2-border: #d8e0e6;
  --v2-teal: #087e83;
  --v2-teal-2: #0ea5a8;
  --v2-gold: #c89a3b;
  --v2-coral: #d66a48;
  --v2-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

body {
  color: var(--v2-ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--v2-bg) 440px),
    var(--v2-bg);
  text-rendering: optimizeLegibility;
}

a,
button {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(8, 126, 131, 0.24);
  outline-offset: 3px;
}

.site-header {
  min-height: 76px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(216, 224, 230, 0.72);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.brand-mark {
  background:
    linear-gradient(135deg, #07111f 0%, #12243a 48%, var(--v2-teal) 100%);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.brand strong {
  color: #0f172a;
  font-size: 17px;
}

.main-nav {
  gap: 2px;
}

.main-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: #344054;
  border: 1px solid transparent;
  border-radius: 7px;
}

.main-nav a[aria-current="page"] {
  color: #062d33;
  background: #e8f5f4;
  border-color: #cae5e4;
}

.main-nav a:hover {
  color: var(--v2-teal);
  background: #f1f8f8;
}

.btn {
  border-radius: 7px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.btn:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.btn.primary {
  background: linear-gradient(180deg, var(--v2-teal-2), var(--v2-teal));
  border-color: var(--v2-teal);
}

.btn.dark {
  background: #101828;
  border-color: #101828;
}

.btn.gold {
  color: #3b2a08;
  background: #fff7e8;
  border-color: #ebd29e;
}

.hero {
  min-height: calc(100vh - 76px);
  padding-top: clamp(54px, 7vw, 88px);
  color: #f8fafc;
  background:
    linear-gradient(90deg, rgba(6, 13, 25, 0.96) 0%, rgba(9, 25, 42, 0.88) 43%, rgba(9, 25, 42, 0.36) 72%, rgba(9, 25, 42, 0.12) 100%),
    url("../img/visc-finance-hero.png") center right / cover no-repeat;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
  gap: clamp(36px, 6vw, 72px);
}

.hero h1 {
  max-width: 760px;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 850;
}

.hero .lead {
  max-width: 660px;
  color: #d7e2ea;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  align-items: center;
}

.hero-proof {
  max-width: 720px;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.proof-item {
  padding: 18px;
  border-top: 0;
  background: rgba(6, 13, 25, 0.32);
}

.proof-item strong {
  font-size: 26px;
}

.hero-panel {
  padding: 0;
  overflow: hidden;
  background: rgba(250, 252, 253, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.hero-panel::before {
  content: "VISC Intelligence Board";
  display: block;
  padding: 15px 18px;
  color: #e6edf3;
  background: #101828;
  font-size: 12px;
  font-weight: 900;
}

.hero-panel .tagline,
.hero-panel .market-list {
  padding-left: 20px;
  padding-right: 20px;
}

.hero-panel .tagline {
  margin-top: 18px;
}

.hero-panel .market-list {
  padding-bottom: 18px;
}

.market-row {
  align-items: center;
}

.market-row:hover {
  background: #f7fbfb;
}

.metric {
  color: var(--v2-teal);
}

.section {
  padding-top: clamp(66px, 8vw, 108px);
  padding-bottom: clamp(66px, 8vw, 108px);
}

.section-title {
  margin-bottom: 34px;
}

.section-title h2,
.page-title h1 {
  font-weight: 850;
}

.section-title p,
.page-title p {
  color: #667085;
  font-size: 16px;
  line-height: 1.72;
}

.feed-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.featured-article {
  min-height: 510px;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.04), rgba(11, 18, 32, 0.94)),
    linear-gradient(135deg, #0f172a 0%, #153348 62%, #087e83 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--v2-shadow);
}

.featured-article h3 {
  font-size: 38px;
  letter-spacing: 0;
}

.article-list {
  gap: 10px;
}

.article-row {
  grid-template-columns: 104px 1fr;
  min-height: 120px;
  padding: 18px;
  border-color: rgba(216, 224, 230, 0.9);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.article-row:hover,
.news-card:hover,
.product-card:hover,
.process-card:hover {
  border-color: #b6d6d5;
  box-shadow: var(--v2-shadow);
  transform: translateY(-2px);
}

.article-date {
  background: #eef7f7;
  border: 1px solid #d4eeee;
}

.news-card,
.product-card,
.process-card,
.admin-card,
.form-card,
.info-band,
.notice-row,
.stat-card {
  border-color: rgba(216, 224, 230, 0.9);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.conversion-band {
  background:
    linear-gradient(135deg, #0f172a 0%, #142337 52%, #0c4d55 100%);
}

.conversion-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
}

.method-list {
  padding: 0;
}

.method-list li {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.16);
}

.ops-preview {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.52fr);
  gap: 18px;
  align-items: stretch;
}

.ops-console {
  padding: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  box-shadow: var(--v2-shadow);
}

.ops-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: white;
  background: #101828;
}

.ops-console-body {
  display: grid;
  gap: 1px;
  background: var(--v2-border);
}

.ops-row {
  display: grid;
  grid-template-columns: 138px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: white;
}

.ops-row:hover {
  background: #f7fbfb;
}

.ops-row strong {
  display: block;
}

.ops-row span {
  color: #667085;
  font-size: 13px;
}

.operator-card {
  padding: 22px;
  background: #fffaf0;
  border: 1px solid #efd9a8;
  border-radius: 8px;
}

.operator-card h3 {
  margin-top: 0;
}

.page-hero {
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    linear-gradient(135deg, rgba(9, 18, 32, 0.96), rgba(18, 52, 68, 0.9)),
    url("../img/visc-finance-hero.png") center / cover no-repeat;
}

.form-card {
  box-shadow: var(--v2-shadow);
}

.field input,
.field select,
.field textarea {
  border-color: #cfd8df;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #aebdc8;
}

.timeline-step {
  border-color: #dce5eb;
}

.timeline-step:hover {
  border-color: #b6d6d5;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.investment-card .timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.investment-card .timeline-step {
  position: relative;
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 112px;
  padding: 14px 12px;
  border-radius: 8px;
  background: #fbfdfe;
}

.investment-card .timeline-step.done {
  border-color: rgba(16, 185, 129, 0.24);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.86), #ffffff);
}

.investment-card .timeline-step.active {
  border-color: rgba(180, 129, 29, 0.34);
  background: linear-gradient(180deg, rgba(255, 248, 226, 0.9), #ffffff);
}

.investment-card .timeline-step strong {
  display: block;
  color: #10202b;
  font-size: 14px;
  line-height: 1.32;
  word-break: keep-all;
}

.investment-card .timeline-step p {
  margin: 7px 0 0;
  color: #5f6b7a;
  font-size: 12px;
  font-weight: 800;
}

.investment-card .step-dot {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.table-wrap {
  box-shadow: var(--v2-shadow);
}

tbody tr:hover td {
  background: #f7fbfb;
}

.admin-layout {
  grid-template-columns: 252px minmax(0, 1fr);
}

.admin-nav {
  padding: 10px;
  color: #cbd5e1;
  background: #101828;
  border-color: #101828;
  box-shadow: var(--v2-shadow);
}

.admin-nav button {
  color: #cbd5e1;
  border: 1px solid transparent;
}

.admin-nav button:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.admin-nav button.active {
  color: white;
  background: var(--v2-teal);
  border-color: rgba(255, 255, 255, 0.18);
}

.admin-nav a {
  display: block;
  padding: 12px;
  color: #cbd5e1;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
}

.admin-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.admin-nav a.active {
  color: white;
  background: var(--v2-teal);
  border-color: rgba(255, 255, 255, 0.18);
}

.inline-form {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 2px;
}

.inline-form input,
.inline-form textarea {
  min-height: 32px;
  width: 180px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.inline-form textarea {
  min-height: 58px;
  line-height: 1.45;
  resize: vertical;
}

.admin-toolbar {
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.admin-toolbar h2 {
  margin: 0;
}

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 36px;
  height: 3px;
  background: var(--v2-teal);
}

.status-pill,
.tag {
  border-radius: 6px;
}

.locked-panel {
  box-shadow: var(--v2-shadow);
}

.floating-actions a:hover {
  transform: translateX(-4px);
}

body.public-route .floating-actions {
  top: 128px;
  right: 10px;
  bottom: auto;
  gap: 8px;
}

body.public-route .floating-actions a {
  flex-direction: column;
  width: 66px;
  min-width: 66px;
  min-height: 90px;
  justify-content: center;
  gap: 9px;
  padding: 11px 8px;
  color: #ffffff;
  text-align: center;
  background: rgba(5, 16, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  line-height: 1.25;
}

body.public-route .floating-actions a span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #06101b;
  background: linear-gradient(135deg, #f0d796, #c99d43);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

body.public-route .floating-actions a:nth-child(2) {
  background: rgba(5, 16, 26, 0.88);
}

body.public-route .floating-actions a:nth-child(3) {
  min-height: 58px;
  color: #ffffff;
  background: rgba(3, 13, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Identity prompt: one compact, visible callout with an on-demand explanation. */
.identity-required-modal-card {
  position: relative;
  overflow: visible;
  padding-right: 78px;
}

.identity-prompt-label {
  display: inline-block;
}

.identity-prompt-signal {
  position: absolute;
  top: 17px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8ad, #08737b);
  box-shadow: 0 8px 22px rgba(10, 181, 171, 0.28);
}

.identity-prompt-signal > span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 19px;
}

.identity-prompt-signal > i {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(83, 224, 211, 0.7);
  border-radius: inherit;
  animation: identity-signal-ring 2.2s ease-out infinite;
}

.identity-prompt-signal > i:last-child {
  animation-delay: 1.1s;
}

.identity-reason-tip {
  position: relative;
  width: fit-content;
  margin-top: 12px;
}

.identity-reason-trigger {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #d9f8f5 !important;
  font-size: 12px !important;
  font-weight: 800;
  cursor: help;
  outline: none;
}

.identity-reason-trigger > i {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(217, 248, 245, 0.62);
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
}

.identity-reason-trigger:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(83, 224, 211, 0.25);
}

.identity-reason-popover {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  left: 0;
  width: min(310px, calc(100vw - 64px));
  padding: 11px 12px;
  color: #18343d;
  border: 1px solid #a9d8d6;
  border-radius: 8px;
  background: #f2fbfa;
  box-shadow: 0 14px 30px rgba(0, 20, 28, 0.2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.identity-reason-tip:hover .identity-reason-popover,
.identity-reason-tip:focus-within .identity-reason-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes identity-signal-ring {
  0% { opacity: 0.75; transform: scale(0.9); }
  75%, 100% { opacity: 0; transform: scale(1.55); }
}

/* Keep the gift-card action and its explanation together. */
.reward-request-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: end;
  padding: 14px;
  border: 1px solid #d6e6ea;
  border-radius: 9px;
  background: #f7fbfc;
}

.reward-request-form .field {
  margin: 0;
}

.reward-request-form .btn {
  min-height: 43px;
  white-space: nowrap;
}

.reward-request-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #647780;
  font-size: 11px;
  line-height: 1.55;
}

body.admin-body .benefit-settings-form {
  display: grid;
  gap: 12px;
}

body.admin-body .benefit-settings-form > h3,
body.admin-body .benefit-settings-form > p {
  margin: 0;
}

body.admin-body .benefit-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.admin-body .benefit-settings-form > .btn {
  justify-self: start;
}

/* Member expansion already reveals management, so no second disclosure control is needed. */
body.admin-body .application-inline-management {
  min-width: 0;
}

body.admin-body .application-inline-management > *:first-child {
  margin-top: 0;
}

@media (max-width: 640px) {
  .identity-required-modal-card {
    padding: 20px;
    padding-right: 68px;
  }

  .identity-prompt-signal {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .reward-request-form,
  body.admin-body .benefit-settings-grid {
    grid-template-columns: 1fr;
  }

  .reward-request-form .btn {
    width: 100%;
  }

  .reward-request-note {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity-prompt-signal > i {
    animation: none;
  }

  .identity-reason-popover {
    transition: none;
  }
}

body.public-route .floating-actions a:nth-child(3) span {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

@media (max-width: 1400px) {
  body.public-route .floating-actions {
    top: auto;
    right: 14px;
    bottom: 18px;
  }

  body.public-route .floating-actions a,
  body.public-route .floating-actions a:nth-child(3) {
    width: 54px;
    min-width: 54px;
    min-height: 54px;
    padding: 0;
    border-radius: 50%;
  }
}

@media (min-width: 1081px) and (max-width: 1400px) {
  body.public-route .public-hero,
  body.public-route .home-briefing-band,
  body.public-route .insight-section {
    padding-right: 104px;
  }
}

@media (max-width: 1080px) {
  .hero-inner,
  .feed-layout,
  .conversion-grid,
  .ops-preview {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: none;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 62px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero .lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .proof-item {
    padding: 16px;
  }

  .ops-row {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    grid-template-columns: 1fr 1fr;
  }

  .admin-nav button {
    padding: 11px 10px;
    font-size: 13px;
  }

  th,
  td {
    padding: 11px;
  }
}

body.public-route {
  background: #ffffff;
}

body.public-route .site-header {
  min-height: 60px;
  color: #f8fafc;
  background: rgba(3, 8, 13, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

body.public-route .brand a {
  gap: 10px;
}

.brand-word {
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

body.private-route .brand-word {
  color: #07111f;
}

body.private-route .brand small {
  color: #475467;
}

body.public-route .brand small {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

body.public-route .main-nav a {
  min-height: 36px;
  color: #eef2f7;
  font-size: 14px;
  font-weight: 750;
}

body.public-route .main-nav a:hover {
  color: #35d0c6;
  background: rgba(255, 255, 255, 0.08);
}

body.public-route .header-actions .btn {
  min-height: 38px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.35);
}

body.public-route .header-actions .btn.primary {
  color: #07111f;
  background: #ffffff;
  border-color: #ffffff;
}

body.public-route .header-actions .admin-login {
  color: #1e1405;
  background: #f1ce8b;
  border-color: #f1ce8b;
}

.member-pill {
  color: #0f312f !important;
  background: #d8f5f1 !important;
  border-color: #a9e3dc !important;
}

.public-hero {
  min-height: 450px;
  padding: 24px clamp(18px, 3.8vw, 58px) 18px;
  background:
    radial-gradient(circle at 74% 10%, rgba(67, 87, 103, 0.42), transparent 34%),
    linear-gradient(115deg, #03080d 0%, #07121a 46%, #172634 100%);
}

.public-hero-inner {
  width: min(100%, 1380px);
  grid-template-columns: minmax(620px, 0.95fr) minmax(580px, 1.05fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: start;
}

.hero-copy {
  padding-top: 26px;
}

.hero-line {
  width: 30px;
  height: 2px;
  margin-bottom: 22px;
  background: #34d7cf;
}

.public-hero h1 {
  max-width: 720px;
  font-size: 38px;
  line-height: 1.26;
  font-weight: 900;
  letter-spacing: 0;
  word-break: keep-all;
}

.public-hero h1 span {
  color: #34d7cf;
}

.public-hero .lead {
  max-width: 580px;
  color: #d8e2ea;
  font-size: 17px;
  line-height: 1.7;
}

.public-hero .hero-actions {
  margin-top: 28px;
  gap: 18px;
}

.public-hero .hero-actions .btn {
  min-width: 190px;
  min-height: 54px;
  border-radius: 6px;
}

.public-hero .hero-actions .btn.primary {
  color: #06211f;
  background: linear-gradient(135deg, #37d8cc, #25bfb4);
  border-color: #37d8cc;
}

.dark-outline {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.52);
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 22px;
  color: #e8d19d;
  font-size: 14px;
  font-weight: 700;
}

.hero-checks span::before {
  content: "✓";
  margin-right: 7px;
}

.market-dashboard {
  align-self: center;
  color: #eaf5f7;
  background: linear-gradient(180deg, rgba(10, 19, 26, 0.94), rgba(12, 29, 41, 0.9));
  border: 1px solid rgba(214, 225, 234, 0.35);
  border-radius: 8px;
  box-shadow: 0 30px 95px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.market-head small {
  color: #8da1b2;
}

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: #30d4c8;
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(48, 212, 200, 0.8);
}

.market-main {
  display: grid;
  grid-template-columns: 190px 1fr;
}

.market-indexes {
  display: grid;
  background: rgba(255, 255, 255, 0.025);
}

.market-indexes div {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 7px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.market-indexes span {
  color: #b4c4cf;
  font-size: 12px;
}

.market-indexes strong {
  font-size: 15px;
}

.market-indexes em {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-size: 12px;
  font-style: normal;
}

.up {
  color: #35d0c6;
}

.down {
  color: #fa6f5d;
}

.chart-panel {
  padding: 12px 18px;
}

.chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.chart-title span {
  padding: 4px 10px;
  color: #36d3c8;
  border: 1px solid rgba(54, 211, 200, 0.6);
  border-radius: 5px;
  font-size: 12px;
}

.chart-panel svg {
  width: 100%;
  height: 112px;
}

.market-issues {
  margin-top: 8px;
  padding: 13px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.market-issues p {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0;
  color: #d9e5ea;
  font-size: 13px;
}

.market-issues span {
  color: #91a4b4;
}

.market-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.04);
}

.market-tabs span {
  display: grid;
  place-items: center;
  min-height: 32px;
  color: #b9c8d4;
  font-size: 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.market-tabs span:first-child {
  color: #35d0c6;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.home-briefing-band {
  padding: 34px clamp(18px, 4vw, 58px) 10px;
  background: #f4f8fb;
  border-bottom: 1px solid #e2e8ef;
}

.home-briefing-band .section-inner {
  display: grid;
  gap: 18px;
  width: min(100%, 1470px);
  margin: 0 auto;
}

.briefing-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 0.85fr) minmax(320px, 1.05fr);
  gap: 18px;
  align-items: start;
}

.briefing-head span,
.briefing-grid span {
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
}

.briefing-head h2 {
  margin: 0;
  color: #101828;
  font-size: 30px;
  line-height: 1.25;
}

.briefing-head p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.72;
}

.briefing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.briefing-grid article {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 170px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.briefing-grid strong {
  color: #101828;
  font-size: 17px;
  line-height: 1.38;
}

.briefing-grid p {
  margin: 0;
  color: #667085;
  line-height: 1.62;
}

.briefing-checklist ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 16px;
  color: #4f5d6b;
  font-size: 13px;
  font-weight: 800;
}

.home-tax-transition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(135deg, #07111f, #102b35);
  border: 1px solid #174653;
  border-radius: 8px;
}

.home-tax-transition strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
}

.home-tax-transition p {
  margin: 6px 0 0;
  color: #c4d3dd;
  line-height: 1.55;
}

.home-tax-transition > span {
  color: #f1ce8b;
  font-size: 13px;
  font-weight: 900;
}

.service-member-entry {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid #cfe4e5;
  border-radius: 10px;
  background: linear-gradient(145deg, #f2faf9, #ffffff 58%);
}

.service-member-entry-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.service-member-entry-head h2 {
  margin: 6px 0 4px;
}

.service-member-entry-head p {
  margin: 0;
  color: #5b6b73;
}

.service-member-entry-head > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.service-member-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-member-product-card {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #dce7eb;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(8, 40, 53, 0.06);
}

.service-member-product-card > span {
  color: #078b87;
  font-size: 12px;
  font-weight: 900;
}

.service-member-product-card h3 {
  margin: 8px 0;
  font-size: 18px;
}

.service-member-product-card p {
  margin: 0 0 12px;
  color: #5d6d75;
  line-height: 1.55;
}

.service-member-product-card small {
  margin-top: auto;
  padding-bottom: 12px;
  color: #7a8990;
}

@media (max-width: 900px) {
  .service-member-entry-head {
    align-items: stretch;
    flex-direction: column;
  }

  .service-member-entry-head > div:last-child {
    flex-wrap: wrap;
  }

  .service-member-product-grid {
    grid-template-columns: 1fr;
  }

  .service-member-product-card {
    min-height: 0;
  }
}

.visc-trust-section {
  padding-top: 34px;
  padding-bottom: 32px;
  background: #ffffff;
}

.visc-trust-section .section-inner {
  display: grid;
  gap: 18px;
  width: min(100%, 1470px);
}

.trust-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1.28fr) minmax(340px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.trust-head span,
.trust-process-strip i {
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
}

.trust-head h2 {
  margin: 0;
  color: #101828;
  font-size: 25px;
  line-height: 1.34;
}

.trust-head p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.72;
}

.trust-proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.trust-proof-grid article {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 17px;
  background: #f8fbfc;
  border: 1px solid #dce5ec;
  border-radius: 8px;
}

.trust-proof-grid strong {
  color: #111827;
  font-size: 17px;
  line-height: 1.32;
}

.trust-proof-grid span {
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.6;
}

.trust-process-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #d8e4ea;
  border-radius: 8px;
  background: #ffffff;
}

.trust-process-strip div {
  display: grid;
  gap: 7px;
  min-height: 78px;
  padding: 14px;
  border-right: 1px solid #e5edf2;
}

.trust-process-strip div:last-child {
  border-right: 0;
}

.trust-process-strip strong {
  color: #17202a;
  font-size: 13px;
  line-height: 1.34;
}

.insight-section {
  padding-top: 34px;
  padding-bottom: 28px;
  background: #ffffff;
}

.insight-section .section-inner {
  width: min(100%, 1470px);
}

.insight-section .section-title {
  margin-bottom: 18px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 40px;
  align-items: start;
}

.insight-column {
  min-width: 0;
}

.insight-section .section-title h2 {
  font-size: 34px;
}

.insight-section .section-title p {
  margin-top: 7px;
}

.insight-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.circle-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 38px;
  height: 38px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #d7dee6;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.circle-btn:first-child {
  left: -18px;
}

.circle-btn:last-child {
  right: -18px;
}

.insight-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 8px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.insight-card:hover {
  transform: translateY(-3px);
  border-color: #bfd0dd;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.11);
}

.insight-thumb {
  min-height: 138px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.44)),
    #061820 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 180'%3E%3Cg stroke='%231d4850' stroke-width='1' opacity='.65'%3E%3Cpath d='M0 38H320M0 76H320M0 114H320M0 152H320M42 0V180M84 0V180M126 0V180M168 0V180M210 0V180M252 0V180M294 0V180'/%3E%3C/g%3E%3Cpath d='M18 132 52 119 86 136 122 83 156 96 194 64 230 78 270 44 306 58' fill='none' stroke='%2332d5cc' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 132 52 119 86 136 122 83 156 96 194 64 230 78 270 44 306 58' fill='none' stroke='%23d7fff9' stroke-width='1' opacity='.75'/%3E%3C/svg%3E") center / cover no-repeat;
}

.media-2 .insight-thumb {
  background:
    linear-gradient(180deg, rgba(8, 19, 29, 0.04), rgba(8, 19, 29, 0.28)),
    #d9e2e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 180'%3E%3Crect width='320' height='180' fill='%23dce4e8'/%3E%3Cg opacity='.8'%3E%3Crect x='0' y='0' width='320' height='48' fill='%23f1f4f5'/%3E%3Cpath d='M0 48H320M35 0V124M86 0V138M138 0V132M190 0V120M242 0V145M294 0V130' stroke='%2398a7b2' stroke-width='3'/%3E%3C/g%3E%3Crect x='0' y='122' width='320' height='58' fill='%238a959c' opacity='.35'/%3E%3Cg fill='none' stroke='%23e18b32' stroke-width='8' stroke-linecap='round'%3E%3Cpath d='M48 132 76 96 105 122M206 132 230 96 262 118'/%3E%3C/g%3E%3Cg fill='%232d3943'%3E%3Crect x='36' y='127' width='88' height='12' rx='2'/%3E%3Crect x='192' y='127' width='92' height='12' rx='2'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}

.media-3 .insight-thumb {
  background:
    radial-gradient(circle at 50% 52%, rgba(217, 137, 48, 0.8), transparent 3%),
    radial-gradient(circle at 42% 44%, rgba(217, 137, 48, 0.72), transparent 2.5%),
    radial-gradient(circle at 58% 40%, rgba(217, 137, 48, 0.72), transparent 2.5%),
    radial-gradient(circle at 63% 61%, rgba(217, 137, 48, 0.68), transparent 2.4%),
    radial-gradient(circle at 36% 62%, rgba(217, 137, 48, 0.68), transparent 2.2%),
    radial-gradient(circle at 50% 51%, rgba(217, 137, 48, 0.18), transparent 30%),
    linear-gradient(135deg, #07111f, #182638 62%, #0c1722);
}

.media-4 .insight-thumb {
  background:
    linear-gradient(180deg, rgba(4, 11, 18, 0.02), rgba(4, 11, 18, 0.5)),
    #071521 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 180'%3E%3Cg stroke='%233b6a78' stroke-width='2' opacity='.9'%3E%3Cpath d='M160 90H44M160 90h116M160 90V26M160 90v58M118 62 66 36M204 62l52-27M116 118 64 148M204 118l56 30'/%3E%3C/g%3E%3Crect x='120' y='50' width='80' height='80' rx='12' fill='%23132533' stroke='%234edbd4' stroke-width='3'/%3E%3Crect x='136' y='66' width='48' height='48' rx='7' fill='%2326bfb9' opacity='.95'/%3E%3Ctext x='160' y='98' text-anchor='middle' font-family='Arial' font-size='24' font-weight='700' fill='%23e9ffff'%3EAI%3C/text%3E%3Cg stroke='%234edbd4' stroke-width='3'%3E%3Cpath d='M134 42v13M150 42v13M166 42v13M182 42v13M134 125v13M150 125v13M166 125v13M182 125v13M108 64h13M108 82h13M108 100h13M108 118h13M199 64h13M199 82h13M199 100h13M199 118h13'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}

.insight-body {
  padding: 14px 15px 16px;
}

.insight-body span {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 8px;
  color: #1b2733;
  background: #ffffff;
  border: 1px solid #d9e1e9;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.insight-body h3 {
  min-height: 50px;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.insight-body p {
  display: none;
}

.insight-body small {
  color: #9aa5b1;
}

.path-panel {
  padding: 24px;
  background: linear-gradient(135deg, #fbfaf7, #f3efe8);
  border: 0;
  border-radius: 8px;
}

.path-panel h2 {
  margin: 0;
  font-size: 24px;
}

.path-panel p {
  color: #58606b;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.path-steps div {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #1f2937;
  text-align: center;
}

.path-steps i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #8a5a12;
  border: 1px solid #d6b87a;
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.path-steps strong {
  font-size: 12px;
}

.tax-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  padding: 17px 18px;
  background: #fffdf8;
  border: 1px solid #d8bd83;
  border-radius: 8px;
}

.tax-callout strong {
  font-size: 17px;
}

.tax-callout p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
}

.tax-callout .btn {
  grid-column: 2;
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid #e1e7ed;
  border-radius: 8px;
  overflow: hidden;
}

.service-rail a {
  display: grid;
  gap: 4px;
  min-height: 90px;
  align-content: center;
  padding: 18px 22px;
  background: #ffffff;
}

.service-rail a:hover {
  background: #f8fbfb;
}

.service-rail span {
  color: #667085;
  font-size: 13px;
}

.service-rail .admin-console-card {
  color: #ffffff;
  background: #06101b;
}

.service-rail .admin-console-card span {
  color: #c7d3dd;
}

.product-facts {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 7px 12px;
  margin: 18px 0 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8ef;
  border-radius: 6px;
}

.product-facts dt {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.product-facts dd {
  margin: 0;
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
}

.member-product {
  display: grid;
  align-content: start;
}

.identity-submit-section .split-view {
  align-items: stretch;
}

.identity-submit-card {
  display: grid;
  gap: 18px;
}

.identity-submit-card h2,
.identity-guide-panel h2 {
  margin: 0;
  font-size: 24px;
}

.form-lead,
.secure-copy {
  margin: 0;
  color: #536170;
  line-height: 1.65;
}

.secure-copy {
  padding: 14px 16px;
  color: #0f3b38;
  background: #effdfb;
  border: 1px solid #aee7df;
  border-radius: 8px;
  font-weight: 800;
}

.identity-status-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #dde7ee;
  border-radius: 8px;
}

.identity-status-note span {
  display: inline-flex;
  padding: 7px 11px;
  color: #04756f;
  background: #e4faf7;
  border: 1px solid #b7e5df;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.identity-guide-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(145deg, #06101b, #112a3a 58%, #0c766f);
  border-radius: 8px;
}

.identity-review-state,
.identity-document-history li {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.identity-review-state strong,
.identity-document-history strong {
  display: block;
  color: #e6c985;
}

.identity-review-state p {
  margin: 7px 0 0;
  color: #dce8ee;
  font-size: 13px;
  line-height: 1.62;
}

.identity-guide-panel h3 {
  margin: 0;
  font-size: 15px;
}

.identity-document-history {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.identity-document-history li {
  list-style: none;
}

.identity-document-history span,
.identity-document-history small {
  display: block;
  margin-top: 5px;
  color: #dce8ee;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.identity-guide-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.identity-guide-list li {
  list-style: none;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.identity-guide-list strong,
.identity-guide-list span {
  display: block;
}

.identity-guide-list strong {
  color: #e6c985;
}

.identity-guide-list span {
  margin-top: 6px;
  color: #dce8ee;
  font-size: 13px;
  line-height: 1.6;
}

.applied-product-panel {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 20px;
  background: #f0fffd;
  border: 1px solid #a9e3dc;
  border-radius: 8px;
}

.applied-product-panel h3 {
  margin: 0;
  color: #0b1724;
  font-size: 20px;
}

.applied-product-panel p {
  margin: 0;
  color: #51606c;
  line-height: 1.65;
}

.applied-product-panel .btn {
  width: fit-content;
}

.investment-alert {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: center;
  padding: 20px 22px;
  color: #0f2b2a;
  background: linear-gradient(135deg, #e6faf7, #fff7df);
  border: 1px solid #b7e5df;
  border-radius: 8px;
}

.investment-alert p {
  margin: 0;
  color: #50606b;
}

.document-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.document-status-grid div {
  min-width: 0;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #dde7ee;
  border-radius: 8px;
}

.document-status-grid span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.document-status-grid strong,
.document-status-grid a {
  display: block;
  margin-top: 7px;
  color: #0b1724;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

.document-status-grid a {
  color: #087f94;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tax-summary {
  margin-top: 18px;
  padding: 18px;
  background: #fffaf0;
  border: 1px solid #efd9a8;
  border-radius: 8px;
}

.tax-summary p {
  margin: 6px 0 0;
}

.tax-summary.consult-summary {
  background: #f4fbfa;
  border-color: rgba(15, 178, 164, 0.22);
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  color: #6b7280;
  border-top: 1px solid #edf1f4;
}

.partner-strip strong {
  color: #334155;
  font-weight: 900;
}

.about-section {
  background: #ffffff;
}

.about-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 26px;
}

.about-lead h2 {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.24;
  letter-spacing: 0;
}

.about-lead p {
  max-width: 780px;
  color: #5f6b7a;
  font-size: 16px;
  line-height: 1.78;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  background: #dce5ec;
}

.about-metrics article {
  min-height: 148px;
  padding: 26px;
  background: #ffffff;
}

.about-metrics strong {
  display: block;
  color: #06101b;
  font-size: 28px;
  line-height: 1.1;
}

.about-metrics span {
  display: block;
  margin-top: 12px;
  color: #667085;
  font-weight: 800;
}

.about-proof-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  margin: 24px 0;
  padding: 22px;
  border: 1px solid rgba(6, 16, 27, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 19, 28, 0.96) 0%, rgba(13, 42, 50, 0.9) 44%, rgba(248, 251, 250, 0.96) 44%, #ffffff 100%);
}

.about-proof-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  color: #ffffff;
}

.about-proof-copy span,
.client-commitment-grid span {
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
}

.about-proof-copy span {
  color: #72eee1;
}

.about-proof-copy h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.32;
}

.about-proof-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.7;
}

.about-proof-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-proof-stats article {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(15, 178, 164, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.about-proof-stats strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.25;
}

.about-proof-stats span {
  display: block;
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.client-commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.client-commitment-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.client-commitment-grid strong {
  color: #101828;
  font-size: 18px;
  line-height: 1.32;
}

.client-commitment-grid p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.62;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.office-card {
  padding: 22px;
  background: #f8fafc;
  border: 1px solid #dce5ec;
  border-radius: 8px;
}

.office-card.highlight {
  color: #f8fafc;
  background: linear-gradient(135deg, #06101b, #0b3f49);
  border-color: #163a46;
}

.office-card.highlight p {
  color: #d6e2ea;
}

.office-card span,
.office-card strong {
  color: #087e83;
  font-size: 13px;
  font-weight: 900;
}

.office-card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.office-card p {
  margin: 0;
  color: #667085;
  line-height: 1.62;
}

.history-list {
  display: grid;
  gap: 1px;
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  background: #dce5ec;
}

.history-list div {
  display: grid;
  grid-template-columns: 118px minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: #ffffff;
}

.history-list time {
  color: #8a5a12;
  font-size: 13px;
  font-weight: 900;
}

.history-list strong {
  color: #111827;
}

.history-list span {
  color: #667085;
  font-size: 14px;
}

.business-info-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 22px 0;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  background: #dce5ec;
}

.business-info-panel div {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #ffffff;
}

.business-info-panel strong {
  color: #8a5a12;
  font-size: 12px;
}

.business-info-panel span {
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

.visit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 18px;
  margin: 26px 0;
  padding: 24px;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 178, 164, 0.09), rgba(242, 207, 135, 0.12)),
    #ffffff;
}

.visit-copy span {
  color: #087e83;
  font-size: 13px;
  font-weight: 900;
}

.visit-copy h2 {
  max-width: 720px;
  margin: 10px 0 10px;
  color: #06101b;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: 0;
}

.visit-copy p {
  max-width: 760px;
  margin: 0;
  color: #5f6b7a;
  line-height: 1.72;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.visit-card {
  padding: 20px;
  border: 1px solid rgba(6, 16, 27, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(9, 24, 36, 0.08);
}

.visit-card dl {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e5edf2;
  border-radius: 8px;
  background: #e5edf2;
}

.visit-card div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 14px;
  background: #ffffff;
}

.visit-card dt {
  color: #8a5a12;
  font-size: 13px;
  font-weight: 900;
}

.visit-card dd {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.system-section {
  background: #f8fafc;
  padding-top: clamp(44px, 5vw, 68px);
}

.system-hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 26px;
  overflow: hidden;
  background: #d9e4ec;
  border: 1px solid #d9e4ec;
  border-radius: 8px;
}

.system-hero-strip div {
  min-height: 138px;
  padding: 22px;
  background: #ffffff;
}

.system-hero-strip span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.system-hero-strip strong {
  display: block;
  margin: 8px 0;
  color: #06101b;
  font-size: 24px;
  line-height: 1.16;
}

.system-hero-strip p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.65;
}

.system-quick-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
}

.system-quick-nav a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(8, 34, 50, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #0d1720;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(9, 24, 36, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.system-quick-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 178, 164, 0.35);
  box-shadow: 0 18px 34px rgba(9, 24, 36, 0.1);
}

.system-quick-nav span {
  color: #0f9f92;
  font-size: 12px;
  font-weight: 900;
}

.system-quick-nav strong {
  color: #071521;
  font-size: 16px;
  line-height: 1.25;
}

.system-quick-nav small {
  color: #62707c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 1280px) {
  .system-quick-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .system-quick-nav {
    grid-template-columns: 1fr;
  }

  .system-quick-nav a {
    min-height: 0;
    padding: 15px;
  }
}

.system-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 26px;
}

.system-value-grid article {
  padding: 20px;
  background: linear-gradient(135deg, #ffffff, #f5fbfa);
  border: 1px solid #dce7ef;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.system-value-grid strong {
  display: block;
  color: #0b1724;
  font-size: 18px;
}

.system-value-grid p {
  margin: 8px 0 0;
  color: #5f6b7a;
  line-height: 1.65;
}

.law-freshness-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 20px;
  align-items: start;
  margin: 0 0 34px;
  padding: 24px;
  color: #d7e6ef;
  background: linear-gradient(135deg, #07111c, #0e2b35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.law-freshness-panel span,
.submission-matrix-head span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
}

.law-freshness-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.28;
}

.law-freshness-panel p {
  margin: 12px 0 0;
  color: #b8c7d3;
  line-height: 1.7;
}

.law-freshness-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.law-freshness-panel li {
  list-style: none;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.law-freshness-panel li strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 15px;
}

.law-freshness-panel li span {
  margin: 0;
  color: #c9d5df;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.visc-execution-plan {
  margin: 0 0 34px;
  padding: 26px;
  background: linear-gradient(135deg, #fbfcfd, #eef7f6);
  border: 1px solid #d7e4ea;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.execution-copy {
  display: grid;
  grid-template-columns: 160px minmax(0, 0.78fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.execution-copy span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  color: #06211f;
  background: #bff4ee;
  border: 1px solid #8de5dc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.execution-copy h2 {
  margin: 0;
  color: #07111f;
  font-size: 24px;
  line-height: 1.32;
}

.execution-copy p {
  margin: 0;
  color: #596879;
  line-height: 1.72;
}

.execution-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.execution-steps article {
  min-height: 146px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #dce7ef;
  border-radius: 8px;
}

.execution-steps span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #0f8a8a;
  background: #edfdfb;
  border: 1px solid #bdece6;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.execution-steps strong {
  display: block;
  margin: 12px 0 7px;
  color: #111827;
  font-size: 16px;
}

.execution-steps p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.58;
}

.execution-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.execution-checks article {
  padding: 16px 18px;
  background: #07111f;
  border: 1px solid #163141;
  border-radius: 8px;
}

.execution-checks strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
}

.execution-checks p {
  margin: 7px 0 0;
  color: #c6d6df;
  line-height: 1.6;
}

.advisor-checklist-panel {
  display: grid;
  gap: 20px;
  margin: 0 0 40px;
  padding: 28px;
  background: #07111f;
  border: 1px solid rgba(15, 138, 138, 0.36);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(7, 17, 31, 0.18);
}

.advisor-checklist-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}

.advisor-checklist-head span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  color: #0a322f;
  background: #f1cf8c;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.advisor-checklist-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.34;
}

.advisor-checklist-head p {
  margin: 0;
  color: #b9c7d4;
  line-height: 1.72;
}

.advisor-checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.advisor-checklist-grid article {
  min-height: 168px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.advisor-checklist-grid span {
  color: #f1cf8c;
  font-size: 12px;
  font-weight: 900;
}

.advisor-checklist-grid strong {
  display: block;
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: 16px;
}

.advisor-checklist-grid p {
  margin: 0;
  color: #c6d4df;
  font-size: 13px;
  line-height: 1.6;
}

.consult-question-strip {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: #ffffff;
  border-radius: 8px;
}

.consult-question-strip h3 {
  margin: 0;
  color: #07111f;
  font-size: 18px;
}

.consult-question-strip ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consult-question-strip li {
  display: grid;
  gap: 6px;
}

.consult-question-strip strong {
  color: #0d1720;
  font-size: 14px;
}

.consult-question-strip span {
  color: #5c6875;
  font-size: 13px;
  line-height: 1.55;
}

.system-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  margin-bottom: 48px;
}

.system-card {
  min-width: 0;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.system-card.primary {
  border-top: 4px solid #0f8a8a;
}

.deduction-engine {
  margin: -18px 0 48px;
  padding: 28px;
  background: #07111f;
  border: 1px solid #163141;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.deduction-engine-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 0.7fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.deduction-engine-head span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  color: #04151b;
  background: #46d7ce;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.deduction-engine-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.24;
}

.deduction-engine-head p {
  margin: 0;
  color: #bdd0dc;
  line-height: 1.72;
}

.deduction-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.deduction-flow article {
  min-height: 188px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  color: #d9e7ee;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.deduction-flow span {
  color: #f1ce8b;
  font-size: 12px;
  font-weight: 900;
}

.deduction-flow strong {
  color: #ffffff;
  font-size: 18px;
}

.deduction-flow p,
.deduction-flow small {
  margin: 0;
  color: #adc1cc;
  line-height: 1.58;
}

.deduction-flow b {
  margin-top: auto;
  color: #46d7ce;
  font-size: 21px;
}

.deduction-flow .engine-result {
  color: #07111f;
  background: linear-gradient(135deg, #f5fbfa, #e6faf7);
  border-color: #8fe5df;
}

.deduction-flow .engine-result span,
.deduction-flow .engine-result p,
.deduction-flow .engine-result small {
  color: #39616b;
}

.deduction-flow .engine-result strong {
  color: #07111f;
  font-size: 24px;
}

.deduction-flow .engine-result b {
  color: #0f8a8a;
}

.deduction-cap-note {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  margin-top: 14px;
  padding: 16px 18px;
  color: #f5f7fb;
  background: rgba(241, 206, 139, 0.1);
  border: 1px solid rgba(241, 206, 139, 0.32);
  border-radius: 8px;
}

.deduction-cap-note strong {
  color: #f1ce8b;
}

.deduction-cap-note p {
  margin: 0;
  color: #d7e3ea;
  line-height: 1.65;
}

.tax-calculator-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
  margin: -24px 0 48px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.tax-calculator-form,
.tax-calculator-result {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
}

.tax-calculator-form {
  background: #f8fafc;
  border: 1px solid #e6edf3;
}

.tax-calculator-form > span,
.tax-calculator-result > span {
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
}

.tax-calculator-form h2 {
  margin: 0;
  color: #101828;
  font-size: 25px;
  line-height: 1.28;
}

.tax-calculator-form p,
.tax-calculator-result p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.7;
}

.tax-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tax-input-grid label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}

.tax-input-grid .tax-input-label {
  display: block;
}

.tax-input-grid .tax-input-unit {
  display: inline;
  margin-left: 2px;
  color: #667085;
  font-weight: 700;
}

.tax-input-grid input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #101828;
  background: #ffffff;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.tax-input-grid small {
  display: block;
  min-height: 32px;
  color: #6b7787;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.tax-calculator-form .tax-auto-rate-note {
  padding: 10px 12px;
  border: 1px solid #cee6e4;
  border-radius: 6px;
  color: #42606a;
  background: #eef8f7;
  font-size: 12px;
  line-height: 1.55;
}

.tax-calculator-form .tax-calculator-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #e5b8ad;
  border-radius: 10px;
  background: #fff5f2;
  color: #9b2c1d;
  font-size: 0.9rem;
  font-weight: 700;
}

.tax-calculator-result {
  color: #f7fbfc;
  background: linear-gradient(135deg, #081727, #10343c);
  border: 1px solid #1e5360;
}

.tax-calculator-result.idle {
  color: #101828;
  background: #f3fbfa;
  border-color: #c7ebe7;
}

.tax-calculator-result dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.tax-calculator-result dl div {
  padding: 13px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
}

.tax-calculator-result dt {
  margin-bottom: 5px;
  color: #bcd0db;
  font-size: 12px;
  font-weight: 900;
}

.tax-calculator-result dd {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.tax-calculator-result dl small {
  display: block;
  margin-top: 8px;
  color: #aebfca;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.tax-calculator-result .highlight {
  background: rgba(241, 206, 139, 0.18);
  border-color: rgba(241, 206, 139, 0.36);
}

.tax-calculator-result .highlight dd {
  color: #f1ce8b;
}

.tax-calculator-result .tax-saving-highlight {
  --tax-outline-angle: 0deg;
  position: relative;
  grid-column: 1 / -1;
  scroll-margin-top: 86px;
  animation: tax-saving-pulse 1.15s ease-in-out 4;
}

.tax-calculator-result .tax-saving-highlight::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -1px;
  padding: 2px;
  pointer-events: none;
  border-radius: inherit;
  background: conic-gradient(
    from var(--tax-outline-angle),
    transparent 0 58%,
    rgba(241, 206, 139, 0.18) 68%,
    #f1ce8b 78%,
    #fff8dc 84%,
    #f1ce8b 90%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: tax-saving-outline-spin 1.8s linear 6;
}

.tax-calculator-result .tax-saving-highlight b {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 6px 9px;
  color: #081727;
  background: #f1ce8b;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.35;
}

@keyframes tax-saving-pulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(241, 206, 139, 0);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(241, 206, 139, 0.2), 0 0 22px rgba(241, 206, 139, 0.28);
    filter: brightness(1.15);
  }
}

@property --tax-outline-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes tax-saving-outline-spin {
  to {
    --tax-outline-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tax-calculator-result .tax-saving-highlight,
  .tax-calculator-result .tax-saving-highlight::before {
    animation: none;
  }
}

.tax-calculator-result.idle p,
.tax-calculator-result.idle li {
  color: #42606a;
}

.tax-calculator-result.idle ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 40px;
}

.target-grid article {
  min-height: 190px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

.target-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  color: #8a5a12;
  background: #fff7e6;
  border: 1px solid #e4c48d;
  border-radius: 50%;
  font-weight: 900;
}

.target-grid strong {
  display: block;
  color: #111827;
  font-size: 19px;
}

.target-grid p {
  margin: 10px 0 0;
  color: #5f6b7a;
  line-height: 1.7;
}

.legal-source-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  align-items: start;
  margin: -20px 0 40px;
  padding: 20px 22px;
  background: #fffaf0;
  border: 1px solid #e5c986;
  border-radius: 8px;
}

.legal-source-card strong {
  color: #6e4b0f;
  font-size: 15px;
}

.legal-source-card p {
  margin: 0;
  color: #5f4b20;
  line-height: 1.65;
}

.pre-consult-check-board {
  display: grid;
  gap: 18px;
  margin: -14px 0 28px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(15, 178, 164, 0.08), rgba(241, 206, 139, 0.08)),
    #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.pre-consult-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.pre-consult-head span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: #06211f;
  background: #d9f8f4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.pre-consult-head h2 {
  margin: 0;
  color: #07111f;
  font-size: 25px;
  line-height: 1.28;
}

.pre-consult-head p {
  margin: 0;
  color: #52606b;
  line-height: 1.7;
}

.pre-consult-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pre-consult-grid article {
  display: grid;
  gap: 10px;
  min-height: 178px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
}

.pre-consult-grid strong {
  color: #0b1724;
  font-size: 18px;
}

.pre-consult-grid p {
  margin: 0;
  color: #52606b;
  font-size: 13px;
  line-height: 1.65;
}

.pre-consult-grid b {
  align-self: end;
  color: #0b7f76;
  font-size: 13px;
}

.pre-consult-grid .ready {
  border-color: rgba(15, 178, 164, 0.34);
  box-shadow: inset 0 3px 0 #0fb2a4;
}

.pre-consult-grid .review {
  border-color: rgba(160, 118, 37, 0.28);
  box-shadow: inset 0 3px 0 #c89336;
}

.pre-consult-grid .hold {
  border-color: rgba(148, 62, 62, 0.24);
  box-shadow: inset 0 3px 0 #b85c5c;
}

.pre-consult-grid .hold b {
  color: #9d3f3f;
}

.pre-consult-check-board .btn {
  justify-self: start;
}

.decision-board {
  margin: -14px 0 26px;
  padding: 24px;
  color: #eaf3f7;
  background:
    linear-gradient(135deg, rgba(16, 185, 166, 0.12), transparent 34%),
    linear-gradient(180deg, #07131d, #0b2231);
  border: 1px solid #18394a;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 19, 29, 0.16);
}

.decision-board-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.decision-board-head span,
.route-copy span,
.consult-prep-panel > div span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: #06211f;
  background: #bff4ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.decision-board-head h2,
.route-copy h2,
.consult-prep-panel h2 {
  margin: 0;
  color: inherit;
  font-size: 25px;
  line-height: 1.26;
}

.decision-board-head p,
.route-copy p {
  margin: 0;
  color: #b7cbd5;
  line-height: 1.7;
}

.decision-board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.decision-board-grid article {
  min-height: 174px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.decision-board-grid span {
  color: #f1ce8b;
  font-size: 12px;
  font-weight: 900;
}

.decision-board-grid strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.35;
}

.decision-board-grid p {
  margin: 0;
  color: #b9cbd5;
  font-size: 13px;
  line-height: 1.62;
}

.investment-route-compare {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 18px;
  margin: 0 0 24px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.route-copy {
  display: grid;
  align-content: start;
  gap: 13px;
}

.route-copy h2,
.consult-prep-panel h2 {
  color: #07111f;
}

.route-copy p {
  color: #52606b;
}

.route-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.route-table article {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #f8fbfb;
  border: 1px solid #d8e8e7;
  border-radius: 8px;
}

.route-table strong {
  color: #0b1724;
  font-size: 18px;
}

.route-table p {
  margin: 0;
  color: #53616d;
  line-height: 1.65;
}

.route-table b {
  width: fit-content;
  margin-top: auto;
  padding: 6px 9px;
  color: #6e4b0f;
  background: #fff5dc;
  border: 1px solid #efdca8;
  border-radius: 999px;
  font-size: 12px;
}

.consult-prep-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 18px;
  align-items: start;
  margin: 0 0 42px;
  padding: 22px;
  background: #f5f8fb;
  border: 1px solid #dce5ec;
  border-radius: 8px;
}

.consult-prep-panel > div {
  display: grid;
  gap: 12px;
}

.consult-prep-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.consult-prep-panel li {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  list-style: none;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
}

.consult-prep-panel strong {
  color: #0b1724;
}

.consult-prep-panel li span {
  color: #5b6874;
  line-height: 1.55;
}

.submission-matrix-panel {
  margin: 0 0 42px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.submission-matrix-head {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.submission-matrix-head h2 {
  margin: 0;
  color: #0b1724;
  font-size: 25px;
  line-height: 1.25;
}

.submission-matrix-head p {
  margin: 0;
  color: #667085;
  line-height: 1.65;
}

.submission-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.submission-matrix-grid article {
  min-height: 168px;
  padding: 18px;
  background: #f6f9fb;
  border: 1px solid #dce5ec;
  border-radius: 8px;
}

.submission-matrix-grid strong {
  display: block;
  color: #0b1724;
  font-size: 17px;
}

.submission-matrix-grid span {
  display: inline-flex;
  margin: 10px 0;
  padding: 5px 8px;
  color: #6e4b0f;
  background: #fff5dc;
  border: 1px solid #efdca8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.submission-matrix-grid p {
  margin: 0;
  color: #5b6874;
  line-height: 1.62;
}

@media (max-width: 980px) {
  .decision-board-head,
  .investment-route-compare,
  .consult-prep-panel,
  .law-freshness-panel,
  .pre-consult-head,
  .submission-matrix-head {
    grid-template-columns: 1fr;
  }

  .decision-board-grid,
  .pre-consult-grid,
  .law-freshness-panel ul,
  .submission-matrix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .decision-board,
  .investment-route-compare,
  .consult-prep-panel,
  .law-freshness-panel,
  .pre-consult-check-board,
  .submission-matrix-panel {
    padding: 18px;
  }

  .decision-board-grid,
  .route-table,
  .pre-consult-grid,
  .consult-prep-panel li,
  .law-freshness-panel ul,
  .submission-matrix-grid {
    grid-template-columns: 1fr;
  }

  .decision-board-grid article,
  .pre-consult-grid article {
    min-height: auto;
  }
}

.benefit-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
}

.benefit-table th,
.benefit-table td {
  padding: 15px 14px;
  text-align: left;
  border-bottom: 1px solid #e5ebf0;
}

.benefit-table th {
  color: #475467;
  background: #f7fafc;
}

.benefit-table td:nth-child(2) {
  color: #0f8a8a;
  font-weight: 900;
}

.compact-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.compact-steps li {
  list-style: none;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e1e8ef;
  border-radius: 6px;
  font-weight: 800;
}

.case-grid .process-card {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.example-table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.example-table {
  min-width: 1040px;
  margin-top: 0;
}

.example-table td:first-child {
  color: #111827;
  font-weight: 900;
}

.example-table td:last-child {
  color: #8a5a12;
  font-weight: 900;
}

.max-tax-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 18px;
  padding: 26px;
  color: #f5fbff;
  background: linear-gradient(135deg, #06101b, #10283a 62%, #072523);
  border: 1px solid #1b4352;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.15);
}

.max-tax-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: #06101b;
  background: #46d7ce;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.max-tax-copy h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
}

.max-tax-copy p {
  margin: 16px 0 0;
  color: #bed0dc;
  line-height: 1.72;
}

.max-tax-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.max-tax-grid article {
  display: grid;
  gap: 7px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.max-tax-grid strong {
  font-size: 18px;
}

.max-tax-grid span {
  color: #afc2ce;
  font-size: 13px;
}

.max-tax-grid b {
  color: #f1ce8b;
  font-size: 28px;
  line-height: 1.1;
}

.deduction-reference-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 20px;
  margin-top: 18px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.reference-copy span,
.case-library-head span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
}

.reference-copy h2,
.case-library-head h2 {
  margin: 0;
  color: #0b1724;
  font-size: 26px;
  line-height: 1.3;
}

.reference-copy p,
.case-library-head p {
  margin: 12px 0 0;
  color: #5f6b7a;
  line-height: 1.72;
}

.reference-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reference-comparison {
  display: grid;
  gap: 14px;
}

.reference-matrix article {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 15px;
  background: linear-gradient(180deg, #f8fbfc, #ffffff);
  border: 1px solid #dde7ee;
  border-radius: 8px;
}

.reference-matrix span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.reference-matrix strong {
  color: #0b1724;
  font-size: 19px;
}

.reference-matrix b {
  color: #9a6416;
  font-size: 24px;
  line-height: 1.1;
}

.reference-matrix small {
  color: #7b8794;
  font-size: 12px;
}

.legacy-reference-table {
  overflow: hidden;
  background: #07111f;
  border: 1px solid rgba(241, 206, 139, 0.22);
  border-radius: 8px;
}

.legacy-reference-table > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legacy-reference-table strong {
  color: #ffffff;
  font-size: 16px;
}

.legacy-reference-table span {
  color: #f1ce8b;
  font-size: 12px;
  font-weight: 800;
}

.legacy-reference-table table {
  width: 100%;
  border-collapse: collapse;
}

.legacy-reference-table th,
.legacy-reference-table td {
  padding: 10px 13px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legacy-reference-table th {
  color: #aebfcb;
  font-size: 12px;
  font-weight: 800;
}

.legacy-reference-table td {
  color: #edf6f7;
  font-size: 13px;
}

.legacy-reference-table tbody tr:last-child td {
  border-bottom: 0;
}

.tax-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.tax-story-grid article {
  min-height: 186px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.tax-story-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
}

.tax-story-grid strong {
  display: block;
  color: #0b1724;
  font-size: 18px;
}

.tax-story-grid p {
  margin: 10px 0 0;
  color: #5f6b7a;
  line-height: 1.68;
}

.legacy-case-section {
  margin-top: 24px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(11, 23, 36, 0.97), rgba(7, 17, 31, 0.94)),
    radial-gradient(circle at 82% 12%, rgba(34, 211, 190, 0.2), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(6, 17, 29, 0.18);
}

.legacy-case-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.legacy-case-head span,
.visc-difference-panel > div span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #35d8c6;
  font-size: 12px;
  font-weight: 900;
}

.legacy-case-head h2,
.visc-difference-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.28;
}

.legacy-case-head p {
  margin: 10px 0 0;
  color: #b7c4cf;
  line-height: 1.72;
}

.legacy-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.legacy-case-grid article {
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.legacy-case-grid span {
  color: #f1ce8b;
  font-size: 12px;
  font-weight: 900;
}

.legacy-case-grid strong {
  margin-top: 8px;
  color: #ffffff;
  font-size: 20px;
}

.legacy-case-grid p {
  flex: 1;
  margin: 12px 0 16px;
  color: #c4d0d9;
  line-height: 1.66;
}

.legacy-case-grid b {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  color: #06111d;
  background: #f1ce8b;
  border-radius: 6px;
  font-size: 14px;
}

.legacy-case-grid small {
  display: block;
  margin-top: 10px;
  color: #8fa0ad;
  line-height: 1.45;
}

.case-library-panel {
  margin-top: 18px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(247, 250, 252, 0.96), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 94% 8%, rgba(46, 209, 199, 0.13), transparent 28%);
  border: 1px solid #dce5ec;
  border-radius: 8px;
}

.case-library-head {
  max-width: 820px;
  margin-bottom: 18px;
}

.case-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.case-library-grid article {
  min-height: 150px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e0e8ef;
  border-radius: 8px;
}

.case-library-grid strong {
  display: block;
  color: #0b1724;
  font-size: 17px;
}

.case-library-grid span {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 8px;
  color: #0f8a8a;
  background: #e8fbf8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.case-library-grid p {
  margin: 11px 0 0;
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.62;
}

.visc-difference-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  margin-top: 18px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.visc-difference-panel h2 {
  color: #0b1724;
}

.visc-difference-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.visc-difference-panel li {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f5;
}

.visc-difference-panel li:last-child {
  border-bottom: 0;
}

.visc-difference-panel li strong {
  color: #0f8a8a;
  font-size: 15px;
}

.visc-difference-panel li span {
  color: #5f6b7a;
  line-height: 1.6;
}

.system-case-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.system-case-band article {
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
}

.system-case-band strong {
  color: #0b1724;
  font-size: 18px;
}

.system-case-band p {
  margin: 9px 0 0;
  color: #5f6b7a;
  line-height: 1.65;
}

.readiness-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin-top: 24px;
}

.readiness-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

.readiness-card h2 {
  margin: 0 0 16px;
  color: #07111f;
  font-size: 22px;
}

.readiness-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.readiness-card li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  list-style: none;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f4;
}

.readiness-card li:last-child {
  border-bottom: 0;
}

.readiness-card strong {
  color: #0b1724;
}

.readiness-card span,
.readiness-card p {
  margin: 0;
  color: #5f6b7a;
  line-height: 1.62;
}

.readiness-card.accent {
  color: #ffffff;
  background: linear-gradient(135deg, #0a1a26, #123449);
  border-color: #1e4657;
}

.readiness-card.accent h2,
.readiness-card.accent strong {
  color: #ffffff;
}

.readiness-card.accent div {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.readiness-card.accent div:last-child {
  border-bottom: 0;
}

.readiness-card.accent p {
  color: #c8d7df;
}

.risk-notice {
  margin-top: 24px;
  padding: 22px;
  color: #5f2b1b;
  background: #fff6f3;
  border: 1px solid #f0c6b7;
  border-radius: 8px;
}

.risk-notice strong {
  display: block;
  margin-bottom: 8px;
  color: #9a3412;
  font-size: 17px;
}

.risk-notice p {
  margin: 0;
  line-height: 1.7;
}

.system-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #06101b, #123449 62%, #0f8a8a);
  border-radius: 8px;
}

.system-cta-band h2 {
  margin: 0;
  font-size: 28px;
}

.system-cta-band p {
  margin: 8px 0 0;
  color: #d8e5ed;
}

.system-cta-band .btn {
  min-width: 210px;
}

.system-note {
  margin-top: 28px;
}

body.admin-body {
  min-width: 0;
  color: #111827;
  background: #f3f6f9;
}

.admin-shell {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 12px;
  color: #e6eef7;
  background: linear-gradient(180deg, #062a42, #031a2c 52%, #021322);
  overflow: auto;
}

.admin-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 4px 6px 12px;
}

.admin-brand strong {
  color: #ffffff;
  font-size: 31px;
  line-height: 0.9;
}

.admin-brand span {
  color: #d6e4ef;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.25;
}

.admin-operator {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.admin-operator small,
.admin-operator span {
  color: #a9bed1;
}

.admin-side-nav {
  display: grid;
  gap: 8px;
}

.admin-side-nav section {
  display: grid;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-side-nav h3 {
  margin: 8px 8px 4px;
  color: #e7f0f7;
  font-size: 13px;
}

.admin-side-nav a {
  display: block;
  padding: 8px 12px;
  color: #c9d7e3;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.admin-side-nav a:hover,
.admin-side-nav a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #08aaa2, #087f94);
}

.admin-collapse {
  margin-top: auto;
  padding: 11px 12px;
  color: #d7e6ef;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.admin-stage {
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  background: #ffffff;
  border-bottom: 1px solid #dfe6ee;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 22px;
}

.admin-topmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: #475467;
  font-size: 13px;
}

.admin-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  padding: 18px 20px;
}

.admin-kpis {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #ffffff;
  border: 1px solid #dfe6ee;
  border-radius: 4px;
  overflow: hidden;
}

.admin-kpis article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  min-height: 106px;
  padding: 14px 12px;
  border-right: 1px solid #dfe6ee;
}

.admin-kpis article:last-child {
  border-right: 0;
}

.admin-kpis span,
.admin-kpis small {
  display: block;
  color: #667085;
  font-size: 12px;
}

.admin-kpis span {
  white-space: nowrap;
}

.admin-kpis small {
  font-size: 11px;
  line-height: 1.3;
}

.admin-kpis strong {
  display: block;
  margin: 5px 0;
  font-size: 26px;
  line-height: 1;
}

.kpi-icon {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #08969b;
  border: 1px solid #c8d7e3;
  border-radius: 50%;
}

.kpi-icon::before,
.kpi-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.kpi-icon.member::before {
  width: 12px;
  height: 12px;
  top: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.kpi-icon.member::after {
  width: 20px;
  height: 10px;
  bottom: 5px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.kpi-icon.waiting::before {
  inset: 7px;
  border: 2px solid #e08722;
  border-radius: 50%;
}

.kpi-icon.waiting::after {
  width: 8px;
  height: 8px;
  top: 10px;
  left: 15px;
  border-left: 2px solid #e08722;
  border-bottom: 2px solid #e08722;
}

.kpi-icon.identity::before {
  width: 20px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.kpi-icon.identity::after {
  width: 7px;
  height: 7px;
  top: 10px;
  left: 9px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 9px 1px 0 -2px currentColor;
}

.kpi-icon.chart::before {
  width: 20px;
  height: 17px;
  border-left: 2px solid #516576;
  border-bottom: 2px solid #516576;
}

.kpi-icon.chart::after {
  width: 18px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: skew(-22deg) translate(1px, 2px);
}

.kpi-icon.money::before {
  width: 18px;
  height: 18px;
  border: 2px solid #e08722;
  border-radius: 5px;
}

.kpi-icon.money::after {
  content: "₩";
  position: static;
  color: #e08722;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.kpi-icon.coin::before {
  width: 19px;
  height: 9px;
  border: 2px solid #e08722;
  border-radius: 50%;
  box-shadow: 0 7px 0 -2px #ffffff, 0 7px 0 0 #e08722, 0 14px 0 -2px #ffffff, 0 14px 0 0 #e08722;
}

.admin-main-grid {
  display: contents;
}

.admin-workspace {
  grid-column: 1;
  grid-row: 2;
}

.admin-bottom-grid {
  grid-column: 1;
  grid-row: 3;
}

.admin-workspace,
.admin-detail-panel,
.admin-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #dfe6ee;
  border-radius: 4px;
}

.admin-panel-head {
  padding: 16px 22px 10px;
}

.admin-workspace > .admin-panel-head {
  display: none;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 19px;
}

.admin-panel-head p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
}

.admin-tabs {
  display: flex;
  gap: 28px;
  padding: 0 18px;
  border-bottom: 1px solid #dfe6ee;
  overflow-x: auto;
}

.admin-tabs a {
  flex: 0 0 auto;
  padding: 12px 0;
  color: #475467;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 800;
}

.admin-tabs a.active {
  color: #028984;
  border-bottom-color: #08aaa2;
}

.admin-filters {
  display: grid;
  grid-template-columns: 140px minmax(220px, 1fr) 160px 160px 88px 132px;
  gap: 10px;
  padding: 12px 14px;
}

.admin-filters input,
.admin-filters select {
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
}

.admin-export-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px 12px;
  margin: 0 8px 8px;
  border: 1px solid #dfe6ee;
  border-radius: 4px;
  background: #f8fbfd;
}

.admin-export-toolbar span {
  margin-right: 4px;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.admin-table-wrap {
  max-width: 100%;
  margin: 0 8px 8px;
  overflow: auto;
  border: 1px solid #dfe6ee;
  border-radius: 4px;
}

.admin-table-wrap table {
  min-width: 900px;
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.member-admin-table table {
  min-width: 940px;
}

.admin-table-wrap th,
.admin-table-wrap td {
  padding: 10px 9px;
  border-bottom: 1px solid #e7edf3;
  vertical-align: middle;
}

.member-admin-table th,
.member-admin-table td {
  white-space: nowrap;
}

.member-admin-table small {
  white-space: nowrap;
}

.admin-table-wrap th {
  color: #344054;
  background: #f8fafc;
  font-weight: 900;
}

.admin-table-wrap tbody tr:hover td {
  background: #f3fbfb;
}

.admin-table-wrap tbody tr.selected-row td {
  background: #f0fffd;
  border-top: 1px solid #08aaa2;
  border-bottom: 1px solid #08aaa2;
}

.admin-row-actions {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
}

.admin-row-actions form {
  margin: 0;
}

.application-row-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 6px;
  min-width: 420px;
}

.application-admin-table table {
  min-width: 1120px;
}

.application-admin-table td:nth-child(3),
.application-admin-table th:nth-child(3) {
  white-space: nowrap;
}

.application-row-actions form {
  display: flex;
  gap: 5px;
  min-width: 0;
  margin: 0;
}

.application-row-actions .stage-select-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
}

.stage-select-form label {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.application-row-actions input {
  min-width: 0;
  width: 100%;
  height: 28px;
  padding: 5px 7px;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  font-size: 12px;
}

.admin-applications-panel {
  flex: 1;
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 0 8px 12px;
  overflow: auto;
}

.admin-applications-panel .admin-export-toolbar,
.admin-applications-panel .admin-table-wrap,
.admin-applications-panel .admin-stage-guide {
  margin-right: 0;
  margin-left: 0;
}

.admin-applications-panel .application-admin-table {
  min-height: 360px;
  max-height: 520px;
}

.application-row-actions textarea {
  min-width: 0;
  width: 100%;
  min-height: 58px;
  padding: 6px 7px;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.45;
  resize: vertical;
}

.application-row-actions select {
  min-width: 0;
  height: 28px;
  padding: 4px 7px;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  font-size: 12px;
}

.application-row-actions .inline-form {
  grid-column: 1 / -1;
}

.application-row-actions .inline-form .btn {
  width: 100%;
}

.admin-application-events {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #dce9ee;
  border-radius: 6px;
  background: #ffffff;
}

.admin-application-events strong {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.admin-application-events span {
  color: #0f766e;
  font-weight: 900;
}

.admin-application-events small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.icon-btn {
  display: inline-grid;
  min-width: 30px;
  height: 28px;
  place-items: center;
  padding: 0 7px;
  color: #102033;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.icon-btn:hover {
  background: #f2fbfb;
  border-color: #08aaa2;
}

.icon-btn.success {
  color: #ffffff;
  background: #08aaa2;
  border-color: #08aaa2;
}

.icon-btn.warning {
  color: #e34a4a;
  border-color: #ffb0a7;
}

.icon-btn.danger {
  color: #ffffff;
  background: #c8322a;
  border-color: #c8322a;
}

.admin-table-wrap .inline-form {
  margin: 0 2px 2px 0;
}

.admin-subsection {
  margin: 18px 22px 22px;
}

.admin-subsection h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.admin-product-form {
  margin: 0 22px 22px;
  box-shadow: none;
}

.admin-product-form textarea {
  min-height: 96px;
}

.admin-create-details {
  margin: 18px 22px 0;
}

.admin-create-details summary {
  width: fit-content;
  list-style: none;
  cursor: pointer;
}

.admin-create-details summary::-webkit-details-marker {
  display: none;
}

.admin-create-details[open] summary {
  margin-bottom: 12px;
}

.admin-create-details .admin-product-form {
  margin: 0 0 18px;
}

.product-admin-table {
  margin: 0;
}

.product-edit-details {
  display: inline-block;
  position: relative;
  margin: 0 2px;
}

.product-edit-details summary {
  list-style: none;
  cursor: pointer;
}

.product-edit-details summary::-webkit-details-marker {
  display: none;
}

.product-inline-edit {
  position: absolute;
  right: 0;
  z-index: 8;
  width: min(760px, 84vw);
  margin-top: 8px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.product-inline-edit .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-inline-edit textarea {
  min-height: 78px;
}

.admin-document-grid,
.admin-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 22px 22px;
}

.admin-document-grid .form-card {
  box-shadow: none;
}

.admin-stage-guide {
  margin: 18px 22px;
  padding: 20px;
  background: #fbfaf7;
  border: 1px solid #e6d7bd;
  border-radius: 8px;
}

.admin-stage-guide h3 {
  margin: 0 0 14px;
}

.admin-stage-guide .path-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 16px;
}

.admin-content-grid .admin-card {
  box-shadow: none;
}

.stats-summary-panel {
  margin: 18px 22px 16px;
  padding: 18px;
  background: linear-gradient(135deg, #07131d, #0d2a32);
  border: 1px solid #163a48;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.stats-summary-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: #ffffff;
}

.stats-summary-head h3 {
  margin: 0;
  font-size: 18px;
}

.stats-summary-head p {
  max-width: 520px;
  margin: 0;
  color: #bcd0da;
  font-size: 13px;
  line-height: 1.55;
}

.stats-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.stats-metric-grid article {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
}

.stats-metric-grid span {
  display: block;
  color: #bfe9e5;
  font-size: 12px;
  font-weight: 800;
}

.stats-metric-grid strong {
  display: block;
  margin: 6px 0 4px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.stats-metric-grid small {
  color: #9db4bf;
  font-size: 12px;
  line-height: 1.45;
}

.ops-attention-panel {
  margin: 0 22px 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
}

.ops-attention-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ops-attention-card {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 14px;
  color: #0f172a;
  background: #f7fbfb;
  border: 1px solid #d9eeee;
  border-radius: 7px;
}

.ops-attention-card span {
  color: #087e83;
  font-size: 12px;
  font-weight: 900;
}

.ops-attention-card strong {
  color: #0f172a;
  font-size: 24px;
  line-height: 1.05;
}

.ops-attention-card small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.ops-attention-card.warning {
  background: #fff8ed;
  border-color: #f1d3a2;
}

.ops-attention-card.warning span {
  color: #a15c08;
}

.system-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 22px;
}

.system-health-card {
  padding: 20px;
}

.system-health-card span,
.system-driver-grid article span {
  display: block;
  color: #028984;
  font-size: 12px;
  font-weight: 900;
}

.system-health-card strong,
.system-driver-grid article strong {
  display: block;
  margin: 7px 0 8px;
  color: #07131f;
  font-size: 22px;
}

.system-health-card p,
.system-driver-grid article small {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.system-driver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.system-driver-grid article {
  padding: 16px;
  border: 1px solid #dfe7ef;
  border-radius: 6px;
  background: #ffffff;
}

.stats-analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 22px 18px;
}

.stats-analysis-grid .admin-card {
  padding: 16px;
}

.stats-analysis-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.admin-table-wrap.compact table {
  min-width: 520px;
}

.admin-table-wrap.compact th,
.admin-table-wrap.compact td {
  padding: 8px 9px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .stats-summary-head {
    display: grid;
    gap: 8px;
  }

  .stats-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-attention-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-summary-panel,
  .ops-attention-panel,
  .stats-analysis-grid,
  .system-health-grid {
    margin-right: 14px;
    margin-left: 14px;
  }

  .system-health-grid,
  .system-driver-grid {
    grid-template-columns: 1fr;
  }
}

.admin-detail-panel {
  position: sticky;
  top: 72px;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  height: calc(100vh - 90px);
  overflow: auto;
  padding: 20px 18px;
}

.detail-close {
  position: absolute;
  top: 15px;
  right: 16px;
  color: #475467;
  font-size: 26px;
}

.admin-detail-panel h2 {
  margin: 0 0 18px;
  font-size: 18px;
}

.detail-profile {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe6ee;
}

.avatar {
  width: 64px;
  height: 64px;
  background:
    radial-gradient(circle at 50% 35%, #6b7280 0 19%, transparent 20%),
    radial-gradient(circle at 50% 82%, #6b7280 0 34%, transparent 35%),
    #eef2f6;
  border: 1px solid #cfd8e3;
  border-radius: 50%;
}

.detail-profile span {
  display: block;
  color: #667085;
  font-size: 13px;
}

.detail-tabs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  border-bottom: 1px solid #dfe6ee;
  overflow-x: auto;
  scrollbar-width: none;
}

.detail-tabs::-webkit-scrollbar {
  display: none;
}

.detail-tabs span,
.detail-tabs button {
  flex: 0 0 auto;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
}

.detail-tabs .active,
.detail-tabs button[aria-selected="true"] {
  color: #028984;
  border-bottom: 2px solid #08aaa2;
}

.detail-tabs button:focus-visible {
  border-radius: 4px 4px 0 0;
  outline: 2px solid rgba(8, 170, 162, 0.35);
  outline-offset: 2px;
}

.member-detail-tab-panel[hidden] {
  display: none !important;
}

.member-detail-tab-panel {
  min-height: 220px;
  padding-top: 2px;
}

.member-investment-create {
  margin: 14px 0;
  padding: 13px;
  border: 1px solid #b9dddd;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0fbfa, #ffffff);
}

.member-investment-create > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.member-investment-create > summary::-webkit-details-marker {
  display: none;
}

.member-investment-create > summary span,
.member-investment-create > summary strong,
.member-investment-create > summary small {
  display: block;
}

.member-investment-create > summary small,
.member-investment-create > p,
.member-investment-create.unavailable p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 10px;
  line-height: 1.5;
}

.member-investment-create > summary i {
  padding: 4px 7px;
  border-radius: 999px;
  background: #087e83;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.member-investment-create form {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.8fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 12px;
}

.member-investment-create label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #334155;
  font-size: 10px;
  font-weight: 900;
}

.member-investment-create select,
.member-investment-create input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 9px;
  border: 1px solid #cad7e1;
  border-radius: 6px;
  background: #fff;
  font: inherit;
}

.member-investment-create .btn {
  min-height: 36px;
  white-space: nowrap;
}

.member-investment-create.unavailable {
  border-style: dashed;
  background: #f8fafc;
}

.admin-inline-success {
  display: grid;
  gap: 3px;
  margin: 14px 0;
  padding: 10px 12px;
  border: 1px solid #9fd7bf;
  border-radius: 8px;
  background: #effbf4;
  color: #176b4b;
  font-size: 11px;
}

.member-tab-history {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e0e8ee;
  border-radius: 12px;
  background: #fbfdfe;
}

.member-tab-history > ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.member-tab-history > ul > li {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 8px 14px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 8px;
  background: #fff;
}

.member-tab-history li strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.member-tab-history li span,
.member-tab-history li small {
  color: #667085;
  font-size: 11px;
}

.member-tab-history li em {
  font-style: normal;
}

.member-tab-history .empty-mini-row {
  grid-template-columns: 1fr;
  border: 1px dashed #d9e2ec;
}

.detail-list {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px 8px;
  margin: 18px 0;
  font-size: 13px;
}

.detail-list dt {
  color: #667085;
}

.detail-list dd {
  margin: 0;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.detail-actions form {
  min-width: 0;
}

.detail-actions .btn {
  width: 100%;
}

.member-reset-form {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #dfe6ee;
  border-radius: 6px;
}

.member-reset-form h3 {
  margin: 0;
  font-size: 15px;
}

.identity-files {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 18px;
}

.identity-files div {
  display: grid;
  gap: 8px;
  min-height: 84px;
  place-items: center;
  padding: 10px;
  background: linear-gradient(135deg, #eef3f7, #d7e1e8);
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  font-size: 12px;
}

.identity-downloads {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.member-ops-title {
  margin: 16px 0 8px;
  color: #111827;
  font-size: 14px;
}

.member-ops-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.member-ops-summary article {
  min-width: 0;
  padding: 11px;
  background: #f7fbfb;
  border: 1px solid #d9eeee;
  border-radius: 6px;
}

.member-ops-summary span {
  display: block;
  color: #087e83;
  font-size: 11px;
  font-weight: 900;
}

.member-ops-summary strong {
  display: block;
  margin: 5px 0 3px;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.15;
}

.member-ops-summary small {
  color: #667085;
  font-size: 11px;
}

.member-history-grid {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.member-history-grid section {
  padding: 12px;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 6px;
}

.member-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.member-history-head h3 {
  margin: 0;
  font-size: 13px;
}

.member-history-head a {
  color: #087e83;
  font-size: 11px;
  font-weight: 900;
}

.member-history-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-history-grid li {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  background: #f8fafc;
  border-radius: 5px;
}

.member-history-grid li strong {
  max-width: 100%;
  color: #111827;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.member-history-grid li span,
.member-history-grid li small {
  color: #667085;
  font-size: 11px;
  line-height: 1.35;
}

.member-history-grid li em {
  justify-self: start;
  margin-top: 2px;
  font-style: normal;
}

.member-history-grid .empty-mini-row {
  background: #fbfcfe;
  border: 1px dashed #d9e2ec;
}

.identity-doc-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 6px;
}

.identity-doc-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.identity-doc-meta strong,
.identity-doc-meta span {
  overflow-wrap: anywhere;
}

.identity-doc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.identity-doc-actions form {
  min-width: 0;
}

.identity-downloads .btn {
  justify-content: flex-start;
  width: 100%;
}

.identity-review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 12px;
}

.identity-review-summary article,
.identity-review-guide {
  padding: 12px;
  border: 1px solid #dfe8ee;
  border-radius: 7px;
  background: #f8fbfd;
}

.identity-review-summary span,
.identity-review-guide strong {
  color: #087e83;
  font-size: 12px;
  font-weight: 900;
}

.identity-review-summary strong {
  display: block;
  margin-top: 4px;
  color: #101828;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.identity-review-summary small,
.identity-review-guide p {
  display: block;
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.identity-review-guide {
  margin-bottom: 12px;
}

.approval-checklist {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(15, 178, 164, 0.18);
  border-radius: 8px;
  background: rgba(15, 178, 164, 0.06);
}

.approval-checklist h3 {
  margin: 0;
  font-size: 16px;
}

.approval-checklist ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.approval-checklist li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.approval-checklist li::before {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #e8eef2;
  color: #5f6d78;
  content: "!";
  font-size: 11px;
  font-weight: 900;
}

.approval-checklist li.done::before {
  background: #16b3a8;
  color: white;
  content: "✓";
}

.approval-checklist strong,
.approval-checklist span {
  display: block;
  grid-column: 2;
}

.approval-checklist span {
  color: #61707d;
  font-size: 12px;
  line-height: 1.45;
}

.muted-text {
  color: #667085;
  font-size: 13px;
}

.save-btn {
  width: 100%;
}

.admin-bottom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 0;
}

.admin-card {
  padding: 20px;
}

.admin-card h2 {
  margin: 0 0 14px;
  font-size: 17px;
}

.admin-card p {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  color: #475467;
  font-size: 13px;
}

.pending-inquiry-card p,
.pending-identity-card p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e6edf3;
}

.pending-inquiry-card p strong,
.pending-identity-card p strong {
  min-width: 0;
  color: #101828;
  overflow-wrap: anywhere;
}

.pending-inquiry-card p small,
.pending-identity-card p small {
  color: #667085;
  font-weight: 800;
}

.pending-inquiry-card p span {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
}

.pending-identity-card p a {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  min-width: 74px;
  padding: 8px 10px;
  border: 1px solid #0f8a8a;
  border-radius: 7px;
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.pending-identity-card p a:hover,
.pending-identity-card p a:focus-visible {
  background: #0f8a8a;
  color: #fff;
}

.recent-application-card p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e6edf3;
}

.recent-application-card p strong {
  min-width: 0;
  color: #101828;
  overflow-wrap: anywhere;
}

.recent-application-card p small {
  color: #667085;
  font-weight: 800;
}

.recent-application-card p b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #0f8a8a;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.donut {
  display: grid;
  width: 150px;
  height: 150px;
  margin: 8px auto 14px;
  place-items: center;
  background: conic-gradient(#08aaa2 0 30%, #79cf9b 30% 52%, #9ccfda 52% 72%, #486879 72% 100%);
  border-radius: 50%;
}

.donut span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  background: #ffffff;
  border-radius: 50%;
  text-align: center;
}

@media (max-width: 1280px) {
  .public-hero-inner,
  .home-grid,
  .briefing-head,
  .briefing-grid,
  .home-tax-transition,
  .about-lead,
  .system-grid,
  .system-hero-strip,
  .system-value-grid,
  .execution-copy,
  .execution-steps,
  .execution-checks,
  .advisor-checklist-head,
  .advisor-checklist-grid,
  .consult-question-strip,
  .consult-question-strip ul,
  .target-grid,
  .system-case-band,
  .tax-story-grid,
  .legacy-case-grid,
  .visc-difference-panel,
  .deduction-reference-panel,
  .reference-matrix,
  .case-library-grid,
  .deduction-engine-head,
  .deduction-flow,
  .deduction-cap-note,
  .tax-calculator-panel,
  .max-tax-panel,
  .readiness-grid,
  .visit-panel,
  .admin-main-grid,
  .admin-bottom-grid {
    grid-template-columns: 1fr;
  }

  .admin-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-kpis article {
    border-bottom: 1px solid #dfe6ee;
  }

  .system-hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-content {
    grid-template-columns: 1fr;
  }

  .admin-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .admin-workspace,
  .admin-detail-panel,
  .admin-bottom-grid {
    grid-column: 1;
    grid-row: auto;
  }

  .admin-detail-panel {
    position: relative;
    top: auto;
    height: auto;
  }
}

@media (max-width: 980px) {
  body.public-route .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  body.public-route .main-nav,
  body.public-route .header-actions {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 10px 0;
  }

  body.public-route .site-header.menu-open .main-nav,
  body.public-route .site-header.menu-open .header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  body.public-route .mobile-toggle {
    display: block;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
  }

  body.public-route .mobile-toggle span {
    background: #ffffff;
  }

  .public-hero-inner {
    grid-template-columns: 1fr;
  }

  .market-main {
    grid-template-columns: 1fr;
  }

  .visit-card div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .trust-head {
    grid-template-columns: 1fr;
  }

  .trust-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-process-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-process-strip div {
    border-right: 0;
    border-bottom: 1px solid #e5edf2;
  }

  .insight-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-metrics,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .history-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legal-source-card {
    grid-template-columns: 1fr;
  }

  .deduction-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .readiness-card li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .system-cta-band {
    grid-template-columns: 1fr;
  }

  .system-cta-band .btn {
    width: 100%;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filters {
    grid-template-columns: 1fr 1fr;
  }

  .admin-document-grid,
  .admin-content-grid,
  .admin-stage-guide .path-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .public-hero {
    padding-top: 34px;
  }

  .trust-proof-grid,
  .trust-process-strip {
    grid-template-columns: 1fr;
  }

  .public-hero h1 {
    font-size: 31px;
    line-height: 1.24;
  }

  .public-hero .hero-actions .btn {
    width: 100%;
  }

  .hero-checks {
    gap: 10px;
  }

  body.public-route .floating-actions {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px;
    padding: 6px;
    background: rgba(5, 16, 26, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(12px);
  }

  body.public-route .floating-actions a {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
    box-shadow: none;
  }

  body.public-route .floating-actions strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .market-head,
  .market-tabs {
    grid-template-columns: 1fr;
  }

  .market-head {
    display: grid;
    gap: 8px;
  }

  .system-section .benefit-table,
  .system-section .example-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 11px;
  }

  .system-section .benefit-table th,
  .system-section .benefit-table td {
    padding: 10px 7px;
    word-break: break-word;
  }

  .insight-rail,
  .briefing-head,
  .briefing-grid,
  .home-tax-transition,
  .path-steps,
  .system-hero-strip,
  .system-value-grid,
  .deduction-engine-head,
  .deduction-flow,
  .deduction-cap-note,
  .advisor-checklist-head,
  .advisor-checklist-grid,
  .consult-question-strip,
  .consult-question-strip ul,
  .tax-calculator-panel,
  .tax-input-grid,
  .tax-calculator-result dl,
  .max-tax-panel,
  .max-tax-grid,
  .reference-comparison,
  .tax-story-grid,
  .legacy-case-grid,
  .visc-difference-panel,
  .readiness-grid,
  .service-rail,
  .compact-steps,
  .document-status-grid,
  .grid-3,
  .grid-2,
  .admin-kpis,
  .admin-side-nav,
  .admin-filters,
  .detail-actions,
  .identity-files,
  .identity-doc-actions,
  .application-event-list li {
    grid-template-columns: 1fr;
  }

  .circle-btn {
    display: none;
  }

  .legacy-reference-table > div {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .legacy-reference-table th,
  .legacy-reference-table td {
    padding: 9px 8px;
    font-size: 11px;
    word-break: keep-all;
  }

  .tax-callout {
    grid-template-columns: 1fr;
  }

  .investment-alert {
    grid-template-columns: 1fr;
  }

  .tax-callout .btn {
    grid-column: 1;
  }

  .advisor-checklist-panel {
    padding: 20px;
  }

  .advisor-checklist-head h2 {
    font-size: 22px;
  }

  .partner-strip {
    gap: 14px;
  }

  .admin-topbar,
  .admin-topmeta {
    align-items: flex-start;
    flex-direction: column;
  }

  body.admin-body .admin-sidebar {
    max-height: 560px;
    overflow: auto;
  }

  body.admin-body .admin-side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.admin-body .admin-side-nav section {
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
  }

  body.admin-body .admin-side-nav h3 {
    margin: 0 0 7px;
    font-size: 12px;
  }

  body.admin-body .admin-side-nav a {
    padding: 7px 8px;
    font-size: 12px;
  }

  .admin-content {
    padding: 14px;
  }

  .admin-tabs {
    gap: 18px;
  }
}

body.public-route .site-header {
  min-height: 60px;
  padding: 0 clamp(32px, 3.8vw, 58px);
  color: #ffffff;
  background: rgba(3, 8, 13, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.brand-word {
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

body.public-route .brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
}

body.public-route .main-nav {
  gap: clamp(10px, 1.6vw, 26px);
}

body.public-route .main-nav a {
  min-height: 36px;
  padding: 9px 5px;
  color: #f2f6fa;
  background: transparent;
  border-radius: 4px;
  font-size: 14px;
}

body.public-route .header-actions .btn {
  min-width: 78px;
  min-height: 38px;
  padding: 9px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  box-shadow: none;
}

body.public-route .header-actions .btn.primary {
  color: #07111f;
  background: #ffffff;
  border-color: #ffffff;
}

body.public-route .header-actions .admin-login {
  min-width: 126px;
  color: #231806;
  background: linear-gradient(180deg, #f2d395, #ddb76a);
  border-color: #f2d395;
}

.lock-icon {
  position: relative;
  width: 14px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.lock-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -9px;
  width: 6px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.public-hero {
  min-height: 430px;
  padding: 16px clamp(32px, 3.8vw, 58px) 20px;
  background:
    radial-gradient(circle at 78% 0%, rgba(100, 125, 143, 0.35), transparent 34%),
    radial-gradient(circle at 42% 32%, rgba(42, 76, 86, 0.22), transparent 32%),
    linear-gradient(115deg, #02070b 0%, #061018 47%, #172431 100%);
}

.public-hero-inner {
  width: min(100%, 1420px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(660px, 0.98fr) minmax(560px, 1.02fr);
  gap: clamp(42px, 5vw, 76px);
  align-items: start;
}

.hero-copy {
  padding-top: 48px;
}

.hero-line {
  width: 30px;
  margin-bottom: 22px;
}

.public-hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: 38px;
  line-height: 1.26;
}

.public-hero .lead {
  max-width: 600px;
  margin-top: 26px;
  font-size: 17px;
}

.market-dashboard {
  justify-self: end;
  width: min(100%, 690px);
  border-color: rgba(214, 225, 234, 0.38);
}

.market-head {
  padding: 14px 18px;
}

.market-main {
  grid-template-columns: 190px minmax(0, 1fr);
}

.market-indexes div {
  padding: 6px 18px;
}

.chart-panel svg {
  height: 112px;
}

.insight-section {
  padding-top: 30px;
  padding-bottom: 26px;
}

.insight-section .section-inner {
  width: min(100% - 96px, 1420px);
}

.home-grid {
  grid-template-columns: minmax(0, 1fr) 456px;
  gap: 44px;
}

.insight-section .section-title h2 {
  font-size: 30px;
  line-height: 1.25;
}

.insight-rail {
  gap: 20px;
}

.insight-card {
  min-height: 214px;
}

.insight-thumb {
  min-height: 138px;
}

.media-2 .insight-thumb {
  background:
    linear-gradient(180deg, rgba(5, 10, 14, 0.02), rgba(5, 10, 14, 0.36)),
    url("../img/visc-finance-hero.png") 54% 52% / 240% auto no-repeat;
}

.media-3 .insight-thumb {
  background:
    radial-gradient(circle at 50% 48%, rgba(232, 148, 54, 0.58), transparent 26%),
    linear-gradient(135deg, rgba(4, 10, 16, 0.62), rgba(4, 10, 16, 0.12)),
    url("../img/visc-finance-hero.png") 69% 44% / 220% auto no-repeat;
}

.path-panel {
  min-height: 294px;
  padding: 26px 28px 24px;
}

.service-rail {
  margin-top: 22px;
}

.service-rail a {
  position: relative;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 92px;
}

.service-rail a::before {
  content: "";
  width: 42px;
  height: 42px;
  border: 1px solid #cfd8e3;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 43%, #111827 44% 56%, transparent 57%),
    linear-gradient(0deg, transparent 43%, #111827 44% 56%, transparent 57%);
  background-size: 17px 17px;
  background-position: center;
  background-repeat: no-repeat;
}

.service-rail a strong,
.service-rail a span {
  grid-column: 2;
}

.service-rail .admin-console-card::before {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(#ffffff, #ffffff) center / 14px 2px no-repeat,
    radial-gradient(circle, transparent 45%, #ffffff 47% 53%, transparent 55%);
}

.partner-strip {
  margin-top: 22px;
  padding: 22px 8px 0;
  border-top: 1px solid #e6ebef;
}

body.admin-body {
  background: #f5f7fa;
}

.admin-shell {
  grid-template-columns: 194px minmax(0, 1fr);
}

.admin-sidebar {
  padding: 18px 12px 14px;
  background: linear-gradient(180deg, #073657 0%, #052844 48%, #041a2e 100%);
  gap: 8px;
  overflow: hidden;
}

.admin-brand {
  padding: 0 6px 8px;
}

.admin-brand strong {
  font-size: 30px;
}

.admin-operator {
  gap: 2px;
  padding: 8px 12px;
}

.admin-operator strong {
  font-size: 16px;
  line-height: 1.15;
}

.admin-operator small,
.admin-operator span {
  font-size: 11px;
  line-height: 1.2;
}

.admin-side-nav {
  gap: 3px;
}

.admin-side-nav section {
  gap: 1px;
  padding-bottom: 4px;
}

.admin-side-nav h3 {
  margin: 3px 8px 1px;
  font-size: 11px;
}

.admin-side-nav a {
  padding: 3px 10px;
  font-size: 11px;
  line-height: 1.18;
}

.admin-collapse {
  padding: 8px 10px;
  font-size: 12px;
}

.admin-topbar {
  min-height: 54px;
  padding: 0 18px;
}

.admin-preview-banner {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  color: #6b4200;
  background: #fff6df;
  border-bottom: 1px solid #efd59b;
  font-size: 13px;
}

.admin-preview-banner strong {
  font-weight: 900;
}

.admin-preview-banner span {
  flex: 1;
  color: #7a5a1f;
}

.admin-preview-banner a {
  padding: 6px 10px;
  color: #06211f;
  background: #bff4ee;
  border: 1px solid #8eddd5;
  border-radius: 4px;
  font-weight: 900;
}

.admin-preview-banner + .admin-content {
  height: calc(100vh - 94px);
}

.admin-topmeta {
  gap: 16px;
}

.admin-top-icon {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #111827;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.admin-notify::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 5px 5px;
}

.admin-notify::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 6px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.admin-notify i {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  color: #ffffff;
  background: #ef3434;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  line-height: 15px;
  text-align: center;
}

.admin-help {
  border: 1px solid #ccd5df;
}

.admin-session-meta {
  color: #475467;
  white-space: nowrap;
}

.admin-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1f2937;
  font-weight: 800;
}

.admin-logout::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-right: 0;
}

.admin-content {
  height: calc(100vh - 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 262px;
  grid-template-rows: 110px minmax(0, 1fr) 300px;
  gap: 16px;
  padding: 18px 20px 16px;
  overflow: hidden;
}

.admin-kpis {
  grid-row: 1;
}

.admin-kpis article {
  min-height: 108px;
  padding: 14px 12px;
}

.admin-kpis strong {
  font-size: 25px;
}

.admin-main-grid {
  display: contents;
}

.admin-workspace {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-tabs {
  min-height: 48px;
  gap: 28px;
  padding: 0 18px;
}

.admin-filters {
  grid-template-columns: 140px minmax(220px, 1fr) 160px 160px 88px 132px;
  gap: 10px;
  padding: 12px 14px;
}

.admin-table-wrap {
  margin: 0 8px 8px;
}

.admin-workspace .admin-table-wrap {
  flex: 1;
  min-height: 0;
  margin-bottom: 0;
}

.admin-table-wrap th,
.admin-table-wrap td {
  padding: 8px 9px;
}

.icon-btn {
  min-width: 29px;
  height: 27px;
}

.admin-table-footer {
  display: grid;
  grid-template-columns: 1fr auto 128px;
  gap: 14px;
  align-items: center;
  padding: 9px 14px 10px;
  color: #475467;
  font-size: 12px;
}

.admin-table-footer nav {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.admin-table-footer a,
.admin-table-footer strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 4px;
}

.admin-table-footer strong {
  color: #ffffff;
  background: #058f91;
}

.admin-table-footer select {
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  background: #ffffff;
  font-size: 12px;
}

.admin-detail-panel {
  position: relative;
  top: auto;
  grid-column: 2;
  grid-row: 1 / 4;
  height: 100%;
  padding: 18px 16px;
}

.detail-profile {
  padding-bottom: 14px;
}

.avatar {
  width: 60px;
  height: 60px;
}

.detail-tabs {
  gap: 9px;
  margin-top: 12px;
}

.detail-list {
  gap: 8px 8px;
  margin: 14px 0;
  font-size: 12px;
}

.detail-actions {
  gap: 7px;
  margin-bottom: 14px;
}

.member-reset-form {
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
}

.member-reset-form h3 {
  font-size: 14px;
}

.compact-admin-tool {
  display: block;
  padding: 0;
  background: #ffffff;
}

.compact-admin-tool summary {
  position: relative;
  padding: 10px 34px 10px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.compact-admin-tool summary::-webkit-details-marker {
  display: none;
}

.compact-admin-tool summary::after {
  content: "+";
  position: absolute;
  top: 8px;
  right: 12px;
  color: #667085;
  font-size: 17px;
}

.compact-admin-tool[open] summary::after {
  content: "-";
}

.compact-admin-tool form {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.admin-bottom-grid {
  grid-column: 1;
  grid-row: 3;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.admin-card {
  overflow: hidden;
  padding: 18px;
}

.donut {
  width: 138px;
  height: 138px;
}

.donut span {
  width: 78px;
  height: 78px;
}

@media (max-width: 1180px) {
  .public-hero-inner,
  .home-grid {
    grid-template-columns: 1fr;
  }

  .market-dashboard {
    justify-self: stretch;
    max-width: none;
  }

  .insight-section .section-inner {
    width: min(100% - 40px, 980px);
  }
}

@media (max-width: 980px) {
  body.public-route .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    max-height: none;
  }

  .admin-content {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    overflow: visible;
    padding: 14px;
  }

  .admin-kpis,
  .admin-workspace,
  .admin-detail-panel,
  .admin-bottom-grid {
    grid-column: 1;
    grid-row: auto;
  }

  .admin-detail-panel {
    height: auto;
  }

  .stats-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-analysis-grid,
  .system-health-grid {
    grid-template-columns: 1fr;
  }

  .system-driver-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand-word {
    font-size: 30px;
  }

  .public-hero {
    min-height: 0;
    padding: 34px 18px 30px;
  }

  .public-hero h1 {
    font-size: 32px;
  }

  .market-main,
  .market-tabs,
  .insight-rail,
  .path-steps,
  .service-rail,
  .admin-kpis,
  .admin-filters,
  .admin-bottom-grid {
    grid-template-columns: 1fr;
  }

  .home-grid {
    gap: 24px;
  }

  .service-rail a {
    grid-template-columns: 44px minmax(0, 1fr);
  }
}

body.public-route .page {
  display: flex;
  flex-direction: column;
}

body.public-route .public-hero {
  order: 0;
}

body.public-route .insight-section {
  order: 1;
}

body.public-route .home-briefing-band {
  order: 2;
}

body.public-route .site-header {
  min-height: 60px;
  background: rgba(2, 7, 11, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.public-route .brand-mark {
  display: none;
}

body.public-route .brand strong {
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
}

body.public-route .brand small {
  color: rgba(255, 255, 255, 0.72);
}

body.public-route .public-hero {
  min-height: 430px;
  padding-top: 16px;
  padding-bottom: 20px;
  background:
    radial-gradient(circle at 73% 7%, rgba(102, 124, 140, 0.34), transparent 31%),
    radial-gradient(circle at 48% 42%, rgba(28, 67, 80, 0.24), transparent 34%),
    linear-gradient(114deg, #02070b 0%, #061018 48%, #172431 100%);
}

body.public-route .public-hero-inner {
  width: min(100%, 1420px);
  grid-template-columns: minmax(620px, 0.95fr) minmax(560px, 1.05fr);
  gap: clamp(44px, 5vw, 78px);
}

body.public-route .hero-copy {
  padding-top: 50px;
}

body.public-route .hero-line {
  background: #35d8cf;
}

body.public-route .public-hero h1 {
  max-width: 700px;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 900;
}

body.public-route .public-hero .lead {
  margin-top: 25px;
  color: #dce7ee;
  font-size: 17px;
  line-height: 1.75;
}

body.public-route .public-hero .hero-actions {
  margin-top: 27px;
}

body.public-route .public-hero .hero-actions .btn {
  min-width: 194px;
  min-height: 54px;
  border-radius: 6px;
}

body.public-route .market-dashboard {
  width: min(100%, 690px);
  margin-top: 0;
  background: linear-gradient(180deg, rgba(8, 17, 24, 0.96), rgba(12, 29, 41, 0.92));
  border-color: rgba(216, 226, 235, 0.36);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

body.public-route .market-indexes div {
  min-height: 59px;
  padding: 7px 18px;
}

body.public-route .chart-panel {
  padding: 13px 18px;
}

body.public-route .market-tabs {
  min-height: 48px;
}

body.public-route .insight-section {
  padding-top: 30px;
  padding-bottom: 26px;
}

body.public-route .insight-section .section-inner {
  width: min(100%, 1420px);
}

body.public-route .home-grid {
  grid-template-columns: minmax(0, 1fr) 456px;
  gap: 44px;
}

body.public-route .insight-section .section-title {
  margin-bottom: 18px;
}

body.public-route .insight-section .section-title h2 {
  font-size: 30px;
}

body.public-route .insight-rail {
  gap: 20px;
}

body.public-route .insight-card {
  position: relative;
  height: 216px;
  min-height: 214px;
  border-color: #e2e8ef;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

body.public-route .insight-thumb {
  height: 138px;
  min-height: 138px;
}

body.public-route .insight-body {
  padding: 12px 15px 12px;
}

body.public-route .insight-body span {
  position: absolute;
  left: 14px;
  top: 126px;
  z-index: 1;
  margin: 0;
}

body.public-route .insight-body h3 {
  display: -webkit-box;
  min-height: 40px;
  max-height: 42px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.public-route .insight-body small {
  display: block;
  margin-top: 7px;
}

body.public-route .path-panel {
  height: 294px;
  min-height: 294px;
  padding: 22px 26px 18px;
  background: linear-gradient(135deg, #fbfaf7, #f3efe8);
  overflow: hidden;
}

body.public-route .path-panel h2 {
  font-size: 24px;
}

body.public-route .path-panel p {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 13px;
}

body.public-route .service-rail {
  margin-top: 22px;
}

body.public-route .path-steps {
  margin: 18px 0 14px;
}

body.public-route .path-steps i {
  width: 38px;
  height: 38px;
}

body.public-route .tax-callout {
  min-height: 74px;
  padding: 13px 14px;
}

body.public-route .tax-callout strong {
  font-size: 16px;
}

body.public-route .tax-callout p {
  display: -webkit-box;
  grid-column: 1;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.public-route .tax-callout .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 32px;
  padding: 8px 12px;
  font-size: 12px;
}

body.public-route .partner-strip {
  margin-top: 22px;
  padding-top: 22px;
}

body.public-route .page-hero {
  padding-top: 52px;
  padding-bottom: 52px;
}

body.public-route .page-title h1 {
  font-size: 34px;
  line-height: 1.18;
}

body.public-route .page-title p {
  max-width: 760px;
  color: #cfdbe4;
  font-size: 15px;
}

body.public-route .home-briefing-band {
  padding-top: 50px;
  border-top: 1px solid #e6edf3;
}

body.admin-body .admin-shell {
  grid-template-columns: 194px minmax(0, 1fr);
}

body.admin-body .admin-content {
  height: calc(100vh - 54px);
  grid-template-columns: minmax(0, 1fr) 284px;
  grid-template-rows: 110px minmax(0, 1fr) 300px;
  gap: 16px;
  padding: 18px 20px 16px;
}

body.admin-body .admin-sidebar {
  padding: 18px 12px 14px;
}

body.admin-body .admin-topbar {
  min-height: 54px;
}

body.admin-body .admin-kpis article {
  min-height: 108px;
  padding: 14px 12px;
}

body.admin-body .admin-tabs {
  min-height: 48px;
}

body.admin-body .admin-table-wrap th,
body.admin-body .admin-table-wrap td {
  padding: 5px 7px;
  line-height: 1.25;
}

body.admin-body .member-admin-table table {
  min-width: 920px;
}

body.admin-body .icon-btn {
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  font-size: 11px;
}

body.admin-body .member-admin-table .status-pill {
  min-height: 23px;
  padding: 3px 8px;
  font-size: 11px;
}

body.admin-body .admin-row-actions {
  gap: 4px;
}

body.admin-body .admin-table-wrap input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

body.admin-body .admin-detail-panel {
  grid-column: 2;
  grid-row: 1 / 4;
  height: 100%;
  padding: 18px 16px;
}

body.admin-body .detail-profile {
  padding-bottom: 14px;
}

body.admin-body .detail-list {
  gap: 8px;
  margin: 14px 0;
}

body.admin-body .identity-files {
  gap: 8px;
}

body.admin-body .identity-files div {
  min-height: 78px;
}

body.admin-body .admin-bottom-grid {
  gap: 16px;
}

@media (max-width: 1180px) {
  body.public-route .public-hero-inner,
  body.public-route .home-grid {
    grid-template-columns: 1fr;
  }

  body.public-route .insight-section .section-inner {
    width: min(100% - 40px, 980px);
  }

  body.public-route .market-dashboard {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 980px) {
  body.admin-body .admin-shell,
  body.admin-body .admin-content {
    grid-template-columns: 1fr;
  }

  body.admin-body .admin-content {
    height: auto;
    grid-template-rows: auto;
    overflow: visible;
  }

  body.admin-body .admin-kpis,
  body.admin-body .admin-workspace,
  body.admin-body .admin-detail-panel,
  body.admin-body .admin-bottom-grid {
    grid-column: 1;
    grid-row: auto;
  }

  body.admin-body .admin-detail-panel {
    height: auto;
  }
}

@media (max-width: 760px) {
  body.public-route .site-header {
    min-height: 60px;
  }

  body.public-route .public-hero {
    min-height: 0;
    padding: 34px 18px 30px;
  }

  body.public-route .public-hero-inner {
    gap: 28px;
  }

  body.public-route .hero-copy {
    padding-top: 0;
  }

  body.public-route .public-hero h1 {
    font-size: 32px;
  }

  body.public-route .page-hero {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  body.public-route .page-title h1 {
    font-size: 30px;
  }

  body.public-route .visc-execution-plan {
    padding: 18px;
  }

  body.public-route .execution-copy {
    gap: 10px;
    margin-bottom: 14px;
  }

  body.public-route .execution-copy h2 {
    font-size: 23px;
  }

  body.public-route .execution-copy p {
    font-size: 13px;
  }

  body.public-route .execution-steps {
    gap: 8px;
  }

  body.public-route .execution-steps article {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0 10px;
    min-height: 0;
    padding: 12px;
  }

  body.public-route .execution-steps span {
    grid-row: 1 / span 2;
    width: 30px;
    height: 30px;
  }

  body.public-route .execution-steps strong {
    margin: 0 0 4px;
    font-size: 14px;
  }

  body.public-route .execution-steps p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.public-route .execution-checks article {
    padding: 13px;
  }

  body.public-route .legacy-case-section,
  body.public-route .visc-difference-panel {
    padding: 18px;
  }

  body.public-route .legacy-case-head h2,
  body.public-route .visc-difference-panel h2 {
    font-size: 23px;
  }

  body.public-route .legacy-case-grid article {
    min-height: 0;
    padding: 16px;
  }

  body.public-route .legacy-case-grid strong {
    font-size: 18px;
  }

  body.public-route .visc-difference-panel li {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 0;
  }

  body.public-route .hero-checks {
    gap: 12px 18px;
  }

  body.public-route .market-main,
  body.public-route .insight-rail,
  body.public-route .path-steps,
  body.public-route .service-rail,
  body.admin-body .admin-kpis,
  body.admin-body .admin-filters,
  body.admin-body .admin-bottom-grid {
    grid-template-columns: 1fr;
  }

  body.public-route .insight-section .section-inner {
    width: min(100% - 32px, 680px);
  }

  body.public-route .service-rail a {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  body.public-route .market-dashboard {
    width: 100%;
  }

  body.public-route .market-main {
    display: block;
  }

  body.public-route .market-indexes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.public-route .market-indexes div {
    min-height: 54px;
    padding: 9px 12px;
  }

  body.public-route .market-indexes div:nth-child(n+5) {
    display: none;
  }

  body.public-route .market-indexes em {
    right: 12px;
    bottom: 10px;
  }

  body.public-route .chart-panel {
    padding: 12px;
  }

  body.public-route .chart-panel svg {
    height: 86px;
  }

  body.public-route .market-issues p:nth-of-type(n+3) {
    display: none;
  }

  body.public-route .market-tabs {
    grid-template-columns: repeat(2, 1fr);
    padding: 8px 12px;
  }

  body.public-route .market-tabs span {
    min-height: 30px;
  }

  body.admin-body .admin-sidebar {
    gap: 10px;
    padding: 14px;
  }

  body.admin-body .admin-brand {
    padding-bottom: 4px;
  }

  body.admin-body .admin-operator {
    padding: 10px 12px;
  }

  body.admin-body .admin-side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
  }

  body.admin-body .admin-side-nav::-webkit-scrollbar {
    display: none;
  }

  body.admin-body .admin-side-nav section {
    flex: 0 0 150px;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    scroll-snap-align: start;
  }

  body.admin-body .admin-side-nav h3 {
    margin: 0 0 4px;
    font-size: 12px;
  }

  body.admin-body .admin-side-nav a {
    padding: 5px 7px;
    font-size: 11px;
  }

  body.admin-body .admin-tabs {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent);
  }

  body.admin-body .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  body.admin-body .admin-tabs a {
    scroll-snap-align: start;
  }

  body.admin-body .admin-collapse {
    margin-top: 0;
  }

  body.admin-body .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-body .admin-kpis article {
    min-height: 94px;
  }

  body.admin-body .admin-topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 10px 14px;
  }

  body.admin-body .admin-topbar h1 {
    font-size: 20px;
  }

  body.admin-body .admin-topmeta {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 12px;
  }

  body.admin-body .admin-session-meta {
    display: none;
  }

  body.admin-body .admin-logout {
    font-size: 12px;
  }
}

body.public-route {
  --visc-ink: #071018;
  --visc-panel: #0b1721;
  --visc-panel-2: #102230;
  --visc-line: #dfe7ef;
  --visc-accent: #2ed1c7;
  --visc-gold: #e7bf75;
}

body.public-route .site-header {
  min-height: 60px;
  padding: 0 clamp(32px, 3.5vw, 56px);
  background: rgba(3, 7, 10, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.public-route .brand-word {
  letter-spacing: 0;
}

body.public-route .main-nav {
  gap: clamp(22px, 2.5vw, 42px);
}

body.public-route .main-nav a {
  font-size: 14px;
  font-weight: 850;
}

body.public-route .header-actions .btn {
  min-height: 36px;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 13px;
}

body.public-route .public-hero {
  min-height: 430px;
  padding: 16px 0 20px;
  background:
    radial-gradient(circle at 74% 12%, rgba(108, 129, 143, 0.3), transparent 32%),
    radial-gradient(circle at 48% 43%, rgba(23, 70, 78, 0.22), transparent 36%),
    linear-gradient(115deg, #02070b 0%, #061018 50%, #172431 100%);
}

body.public-route .public-hero-inner {
  width: min(100% - 96px, 1440px);
  grid-template-columns: minmax(470px, 0.9fr) minmax(520px, 1fr);
  gap: clamp(30px, 3.4vw, 58px);
  align-items: center;
}

body.public-route .hero-copy {
  padding-top: 18px;
}

body.public-route .hero-line {
  width: 30px;
  height: 2px;
  margin-bottom: 26px;
}

body.public-route .public-hero h1 {
  max-width: 720px;
  font-size: 36px;
  line-height: 1.24;
  font-weight: 900;
}

body.public-route .public-hero h1 span {
  color: var(--visc-accent);
}

body.public-route .public-hero .lead {
  max-width: 560px;
  color: rgba(235, 244, 249, 0.9);
  font-size: 16px;
}

body.public-route .public-hero .hero-actions .btn {
  min-width: 194px;
  min-height: 52px;
  font-size: 14px;
}

body.public-route .hero-checks {
  color: #f0c878;
}

body.public-route .market-dashboard {
  width: min(100%, 660px);
  border-color: rgba(221, 232, 240, 0.38);
  background: linear-gradient(180deg, rgba(7, 15, 22, 0.98), rgba(13, 30, 42, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

body.public-route .market-head {
  min-height: 50px;
}

body.public-route .market-indexes {
  background: rgba(4, 13, 20, 0.42);
}

body.public-route .chart-panel svg {
  filter: drop-shadow(0 0 12px rgba(46, 209, 199, 0.18));
}

body.public-route .market-tabs span:first-child {
  color: var(--visc-accent);
  background: rgba(255, 255, 255, 0.12);
}

body.public-route .insight-section {
  padding: 30px 0 22px;
  background: #ffffff;
}

body.public-route .insight-section .section-inner {
  width: min(100% - 96px, 1420px);
}

body.public-route .home-grid {
  grid-template-columns: minmax(0, 1fr) 456px;
  gap: 42px;
  align-items: start;
}

body.public-route .insight-section .section-title {
  margin-bottom: 17px;
}

body.public-route .insight-section .section-title h2 {
  color: #061125;
  font-size: 31px;
  letter-spacing: 0;
}

body.public-route .insight-section .section-title p {
  color: #667085;
}

body.public-route .text-link {
  color: #0d1726;
  font-weight: 850;
}

body.public-route .insight-rail {
  gap: 20px;
}

body.public-route .circle-btn {
  width: 40px;
  height: 40px;
  color: #0d1726;
  border-color: #d7dfe7;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}

body.public-route .circle-btn:hover {
  color: #ffffff;
  background: #0d1726;
  border-color: #0d1726;
}

body.public-route .insight-card {
  height: 216px;
  border-color: #e1e7ef;
  border-radius: 6px;
  box-shadow: 0 9px 26px rgba(15, 23, 42, 0.06);
}

body.public-route .insight-card:hover {
  transform: translateY(-4px);
  border-color: #b9c9d7;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

body.public-route .insight-thumb,
body.public-route .media-1 .insight-thumb,
body.public-route .media-2 .insight-thumb,
body.public-route .media-3 .insight-thumb,
body.public-route .media-4 .insight-thumb {
  min-height: 138px;
  background-image:
    linear-gradient(180deg, rgba(2, 7, 11, 0.02), rgba(2, 7, 11, 0.28)),
    url("../img/visc-insight-sprite.png");
  background-size: 100% 100%, 200% 200%;
  background-repeat: no-repeat;
}

body.public-route .media-1 .insight-thumb {
  background-position: center, 0 0;
}

body.public-route .media-2 .insight-thumb {
  background-position: center, 100% 0;
}

body.public-route .media-3 .insight-thumb {
  background-position: center, 0 100%;
}

body.public-route .media-4 .insight-thumb {
  background-position: center, 100% 100%;
}

body.public-route .insight-body h3 {
  color: #0d1726;
  font-size: 15px;
  font-weight: 900;
}

body.public-route .insight-body span {
  border-color: #dce5ee;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

body.public-route .path-panel {
  align-self: start;
  min-height: 294px;
  margin-top: 0;
  padding: 24px 26px 18px;
  background: linear-gradient(135deg, #fbfaf7 0%, #f4efe7 100%);
  border: 1px solid rgba(231, 214, 184, 0.35);
  border-radius: 6px;
}

body.public-route .path-panel h2 {
  color: #0d1726;
  font-size: 24px;
  font-weight: 950;
}

body.public-route .path-steps {
  position: relative;
  gap: 12px;
}

body.public-route .path-steps::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 13%;
  right: 13%;
  height: 1px;
  background: #d4b879;
}

body.public-route .path-steps div {
  position: relative;
  z-index: 1;
}

body.public-route .path-steps i {
  background: #fffdf8;
}

body.public-route .tax-callout {
  min-height: 74px;
  border-color: #d5b06c;
  background: #fffdf8;
}

body.public-route .service-rail {
  min-height: 92px;
  margin-top: 22px;
  border-color: #dfe6ee;
  border-radius: 6px;
}

body.public-route .service-rail a {
  min-height: 92px;
  padding: 18px 22px;
  transition: background 0.15s ease, transform 0.15s ease;
}

body.public-route .service-rail a:hover {
  transform: translateY(-1px);
}

body.public-route .service-rail a::before {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #132033;
  font-size: 20px;
  font-weight: 900;
}

body.public-route .service-rail a:nth-child(1)::before {
  background:
    linear-gradient(#132033, #132033) 13px 24px / 3px 10px no-repeat,
    linear-gradient(#132033, #132033) 20px 17px / 3px 17px no-repeat,
    linear-gradient(#132033, #132033) 27px 12px / 3px 22px no-repeat,
    #ffffff;
}

body.public-route .service-rail a:nth-child(2)::before {
  content: "%";
  background: #ffffff;
}

body.public-route .service-rail a:nth-child(3)::before {
  background:
    linear-gradient(25deg, transparent 42%, #132033 43% 57%, transparent 58%) 11px 15px / 22px 14px no-repeat,
    linear-gradient(#132033, #132033) 14px 26px / 16px 3px no-repeat,
    #ffffff;
}

body.public-route .service-rail a:nth-child(4)::before {
  content: "···";
  background: #ffffff;
}

body.public-route .service-rail a:nth-child(5)::before {
  background:
    linear-gradient(#ffffff, #ffffff) 15px 22px / 14px 3px no-repeat,
    radial-gradient(circle at 22px 17px, transparent 0 7px, #ffffff 8px 10px, transparent 11px),
    transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

body.public-route .admin-console-card {
  background: linear-gradient(135deg, #07111b 0%, #061d2a 100%);
}

body.public-route .partner-strip {
  min-height: 58px;
  color: #8a96a3;
}

body.public-route .partner-strip strong {
  color: #526170;
  font-weight: 950;
}

body.public-route .home-briefing-band {
  padding-top: 38px;
  padding-bottom: 42px;
  background: #f8fafc;
}

body.public-route .floating-actions {
  right: 20px;
  top: 50%;
  width: 48px;
  transform: translateY(-50%);
  gap: 8px;
  padding: 9px 6px;
  background: rgba(8, 19, 29, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
}

body.public-route .floating-actions a,
body.public-route .floating-actions a:nth-child(3) {
  width: 36px;
  min-height: 40px;
  padding: 7px 3px;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 14px;
}

body.public-route .floating-actions a:nth-child(2) {
  background: #0a9999;
}

body.public-route .floating-actions span {
  color: #f3c978;
  font-size: 15px;
}

body.public-route .floating-actions strong {
  font-size: 9.5px;
  line-height: 1.2;
}

body.admin-body {
  background: #f4f7fa;
}

body.admin-body .admin-shell {
  grid-template-columns: 200px minmax(0, 1fr);
}

body.admin-body .admin-sidebar {
  padding: 18px 12px 14px;
  background: linear-gradient(180deg, #07385d 0%, #052946 46%, #03172a 100%);
  overflow-y: auto;
}

body.admin-body .admin-brand strong {
  letter-spacing: 0;
}

body.admin-body .admin-operator {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.09);
}

body.admin-body .admin-side-nav a {
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

body.admin-body .admin-side-nav a:hover,
body.admin-body .admin-side-nav a.active {
  background: linear-gradient(135deg, #08b7ae, #087f98);
}

body.admin-body .admin-topbar {
  min-height: 54px;
  padding: 0 22px;
  background: #ffffff;
}

body.admin-body .admin-content {
  grid-template-columns: minmax(0, 1fr) 292px;
  grid-template-rows: 112px minmax(0, 1fr) 300px;
  gap: 16px;
  padding: 18px 20px 16px;
}

body.admin-body .admin-kpis {
  border-color: #d9e2ec;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
}

body.admin-body .admin-kpis article {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  min-height: 110px;
  padding: 17px 16px;
  background: #ffffff;
}

body.admin-body .admin-kpis strong {
  margin: 7px 0 6px;
  color: #071125;
  font-size: 27px;
  font-weight: 950;
}

body.admin-body .admin-kpis small {
  color: #667085;
}

body.admin-body .trend {
  margin-left: 5px;
  font-style: normal;
  font-weight: 900;
}

body.admin-body .trend.up {
  color: #079a8e;
}

body.admin-body .trend.down {
  color: #ef4444;
}

body.admin-body .kpi-icon {
  width: 34px;
  height: 34px;
  border-color: transparent;
  border-radius: 10px;
  background: #f4fbfb;
}

body.admin-body .admin-workspace,
body.admin-body .admin-detail-panel,
body.admin-body .admin-card {
  border-color: #d9e2ec;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
}

body.admin-body .admin-tabs {
  gap: 34px;
  padding: 0 20px;
}

body.admin-body .admin-tabs a {
  font-size: 13px;
}

body.admin-body .admin-filters {
  grid-template-columns: 138px minmax(210px, 1fr) 154px 154px 88px 132px;
  padding: 12px 14px;
}

body.admin-body .admin-filters input,
body.admin-body .admin-filters select {
  min-height: 38px;
  font-size: 12px;
}

body.admin-body .admin-filters .btn {
  min-height: 38px;
}

body.admin-body .admin-export-toolbar {
  margin: 0 14px 10px;
  padding: 10px 12px;
}

body.admin-body .admin-table-wrap {
  border-color: #dfe7ef;
}

body.admin-body .admin-table-wrap th {
  background: #f8fafc;
}

body.admin-body .admin-table-wrap th,
body.admin-body .admin-table-wrap td {
  padding: 8px 9px;
  font-size: 12px;
}

body.admin-body .admin-table-wrap tbody tr.selected-row td {
  background: #f0fffd;
  border-top-color: #08aaa2;
  border-bottom-color: #08aaa2;
}

body.admin-body .icon-btn {
  min-width: 28px;
  height: 26px;
  border-radius: 4px;
}

body.admin-body .icon-btn.success {
  background: #08aaa2;
}

body.admin-body .admin-detail-panel {
  padding: 18px 16px;
}

body.admin-body .admin-detail-panel h2 {
  margin-bottom: 16px;
}

body.admin-body .detail-profile {
  gap: 13px;
}

body.admin-body .detail-profile strong {
  display: block;
  margin-bottom: 3px;
  color: #071125;
  font-size: 16px;
}

body.admin-body .detail-profile small {
  display: block;
  margin-top: 3px;
  color: #98a2b3;
  font-size: 11px;
}

body.admin-body .detail-tabs span,
body.admin-body .detail-tabs button {
  font-size: 11px;
}

body.admin-body .detail-list {
  grid-template-columns: 82px 1fr;
}

body.admin-body .detail-action-title {
  margin: 16px 0 10px;
  font-size: 13px;
}

body.admin-body .detail-actions .btn {
  min-height: 38px;
  padding: 8px 9px;
  font-size: 12px;
}

body.admin-body .identity-files {
  margin-top: 10px;
}

body.admin-body .identity-files div {
  position: relative;
  min-height: 74px;
  overflow: hidden;
  color: #475467;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.18)),
    linear-gradient(135deg, #dde6ee, #cbd7e2);
}

body.admin-body .identity-files b {
  width: 36px;
  height: 26px;
  border: 1px solid #9aa8b5;
  border-radius: 3px;
  background:
    radial-gradient(circle at 24px 10px, #6b7280 0 5px, transparent 6px),
    linear-gradient(#a5b4c2, #a5b4c2) 7px 8px / 12px 2px no-repeat,
    linear-gradient(#a5b4c2, #a5b4c2) 7px 14px / 17px 2px no-repeat,
    #eef3f7;
}

body.admin-body .identity-files small {
  color: #98a2b3;
  font-size: 10px;
}

body.admin-body .admin-bottom-grid {
  gap: 14px;
}

body.admin-body .admin-card {
  padding: 18px;
}

body.admin-body .admin-card h2 {
  color: #071125;
  font-size: 16px;
}

body.admin-body .donut {
  background: conic-gradient(#08aaa2 0 25%, #43b6c6 25% 47%, #6ccf98 47% 67%, #b1da93 67% 83%, #486879 83% 100%);
}

@media (max-width: 1180px) {
  body.public-route .public-hero-inner,
  body.public-route .home-grid {
    width: min(100% - 40px, 980px);
    grid-template-columns: 1fr;
  }

  body.public-route .path-panel {
    min-height: 0;
  }

  body.admin-body .admin-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    overflow: visible;
  }

  body.admin-body .admin-kpis,
  body.admin-body .admin-workspace,
  body.admin-body .admin-detail-panel,
  body.admin-body .admin-bottom-grid {
    grid-column: 1;
    grid-row: auto;
  }

  body.admin-body .admin-detail-panel {
    height: auto;
  }
}

@media (max-width: 760px) {
  body.public-route .site-header {
    padding: 0 18px;
  }

  body.public-route .public-hero {
    padding: 32px 0 28px;
  }

  body.public-route .public-hero-inner,
  body.public-route .insight-section .section-inner {
    width: min(100% - 32px, 680px);
  }

  body.public-route .public-hero h1 {
    font-size: 29px;
    line-height: 1.27;
  }

  body.public-route .public-hero .hero-actions {
    grid-template-columns: 1fr;
  }

  body.public-route .public-hero .hero-actions .btn {
    width: 100%;
  }

  body.public-route .market-dashboard {
    border-radius: 8px;
  }

  body.public-route .insight-card {
    height: auto;
    min-height: 214px;
  }

  body.public-route .path-steps::before {
    display: none;
  }

  body.public-route .floating-actions {
    right: 12px;
    bottom: 14px;
    top: auto;
    width: auto;
    transform: none;
    flex-direction: row;
    border-radius: 18px;
  }

  body.public-route .floating-actions a,
  body.public-route .floating-actions a:nth-child(3) {
    width: 48px;
  }

  body.admin-body .admin-shell {
    grid-template-columns: 1fr;
  }

  body.admin-body .admin-content {
    padding: 14px;
  }

  body.admin-body .admin-kpis {
    grid-template-columns: 1fr;
  }

  body.admin-body .admin-filters,
  body.admin-body .admin-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.public-route .public-hero {
    padding-left: 0;
    padding-right: 0;
  }

  body.public-route .public-hero h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.24;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.public-route .public-hero .lead {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  body.public-route .hero-checks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.public-route .market-dashboard,
  body.public-route .path-panel,
  body.public-route .service-rail,
  body.public-route .partner-strip {
    max-width: 100%;
  }

  body.public-route .market-dashboard {
    overflow: hidden;
  }

  body.public-route .floating-actions {
    left: 16px;
    right: 16px;
    justify-content: center;
  }
}

@media (min-width: 1181px) {
  body.public-route .public-hero {
    min-height: 418px;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  body.public-route .hero-copy {
    padding-top: 8px;
  }

  body.public-route .hero-line {
    margin-bottom: 24px;
  }

  body.public-route .public-hero .lead {
    margin-top: 22px;
  }

  body.public-route .public-hero .hero-actions {
    margin-top: 25px;
  }

  body.public-route .market-dashboard {
    transform: translateY(-2px);
  }

  body.public-route .insight-section {
    padding-top: 22px;
    padding-bottom: 12px;
  }

  body.public-route .insight-section .section-title {
    margin-bottom: 12px;
  }

  body.public-route .insight-section .section-title h2 {
    margin-bottom: 4px;
  }

  body.public-route .insight-card {
    height: 214px;
  }

  body.public-route .insight-thumb,
  body.public-route .media-1 .insight-thumb,
  body.public-route .media-2 .insight-thumb,
  body.public-route .media-3 .insight-thumb,
  body.public-route .media-4 .insight-thumb {
    min-height: 136px;
    height: 136px;
  }

  body.public-route .insight-body span {
    top: 124px;
  }

  body.public-route .path-panel {
    min-height: 278px;
    padding: 22px 26px 16px;
  }

  body.public-route .path-steps {
    margin: 16px 0 13px;
  }

  body.public-route .tax-callout {
    min-height: 70px;
  }

  body.public-route .service-rail {
    height: 92px;
    min-height: 92px;
    margin-top: 18px;
    overflow: hidden;
  }

  body.public-route .service-rail a {
    min-height: 92px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  body.public-route .partner-strip {
    min-height: 54px;
    margin-top: 14px;
    padding-top: 14px;
  }

  body.public-route .floating-actions {
    top: 130px;
    transform: none;
  }

  body.admin-body .admin-content {
    grid-template-columns: minmax(0, 1fr) 264px;
    grid-template-rows: 110px 474px 298px;
    padding: 18px 18px 16px;
  }

  body.admin-body .admin-kpis article {
    min-height: 108px;
    padding: 15px 14px;
  }

  body.admin-body .admin-detail-panel {
    padding: 18px 15px;
  }
}

@media (max-width: 760px) {
  body.public-route .public-hero-inner,
  body.public-route .insight-section .section-inner {
    width: calc(100% - 32px);
    max-width: 680px;
    margin-inline: auto;
  }

  body.public-route .hero-copy,
  body.public-route .public-hero h1,
  body.public-route .public-hero .lead,
  body.public-route .public-hero .hero-actions,
  body.public-route .market-dashboard {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.public-route .public-hero h1 {
    font-size: 27px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.public-route .public-hero .lead {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.public-route .chart-panel svg {
    max-width: 100%;
  }
}

.product-page-section .section-inner {
  display: grid;
  gap: 34px;
}

.product-category-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.45fr) 1fr 1fr;
  gap: 16px;
}

.product-category-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(2, 16, 26, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #0d1720;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(9, 24, 36, 0.08);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 178, 164, 0.45);
  box-shadow: 0 24px 46px rgba(9, 24, 36, 0.13);
}

.product-category-badges,
.product-category-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-category-title {
  align-items: baseline;
  justify-content: space-between;
  padding-right: 30px;
}

.product-category-title i {
  color: #f2cf87;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.product-category-card .popular-badge {
  background: #f2cf87;
  color: #4f3610;
}

.product-category-card.featured .popular-badge {
  background: #f2cf87;
  color: #4f3610;
}

.product-category-card .product-category-arrow {
  position: absolute;
  right: 22px;
  bottom: 15px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: #0f9f92;
  font-size: 17px;
  line-height: 1;
  opacity: 0.68;
  z-index: 2;
}

.product-category-card:hover .product-category-arrow,
.product-category-card:focus-visible .product-category-arrow {
  animation: product-category-arrow-flow 900ms ease-in-out infinite;
  opacity: 1;
}

.product-category-card.featured .product-category-arrow {
  background: transparent;
  color: #f2cf87;
}

@keyframes product-category-arrow-flow {
  0% { transform: translateY(-5px); opacity: 0.25; }
  55% { transform: translateY(4px); opacity: 1; }
  100% { transform: translateY(9px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .product-category-card:hover .product-category-arrow,
  .product-category-card:focus-visible .product-category-arrow {
    animation: none;
  }
}

.product-category-card span,
.product-category-section .eyebrow {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 178, 164, 0.1);
  color: #08776f;
  font-size: 12px;
  font-weight: 800;
}

.product-category-card strong {
  align-self: end;
  font-size: 26px;
  line-height: 1.18;
}

.product-category-card p,
.product-category-card em {
  margin: 0;
  color: #46515c;
  font-style: normal;
  line-height: 1.62;
}

.product-category-card small {
  display: block;
  color: #66717c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.product-category-card b {
  color: #0f9f92;
  font-size: 14px;
}

.product-category-card.featured {
  min-height: 238px;
  background: linear-gradient(138deg, #061018 0%, #0d2f35 56%, #135b52 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(4, 18, 28, 0.28);
}

.product-category-card.featured::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 148px;
  height: 52px;
  border-top: 1px solid rgba(242, 207, 135, 0.34);
  border-bottom: 1px solid rgba(44, 219, 201, 0.26);
  transform: skewX(-18deg);
  opacity: 0.72;
}

.product-category-card.featured span {
  background: rgba(44, 219, 201, 0.18);
  color: #75fff0;
}

.product-category-card.featured p,
.product-category-card.featured em {
  color: rgba(255, 255, 255, 0.78);
}

.product-category-card.featured small {
  color: rgba(255, 255, 255, 0.68);
}

.product-category-card.featured b {
  color: #f2cf87;
}

.product-category-card.consult {
  background: #fbfaf7;
}

.product-category-section {
  display: grid;
  gap: 18px;
}

.product-category-section .section-title {
  margin-bottom: 0;
}

.product-operating-brief {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 14px;
}

.product-operating-brief article {
  display: grid;
  gap: 9px;
  padding: 20px;
  border: 1px solid rgba(2, 16, 26, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.product-operating-brief article.featured {
  background: #07141b;
  color: #ffffff;
  border-color: rgba(44, 219, 201, 0.2);
}

.product-operating-brief span {
  width: max-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 178, 164, 0.1);
  color: #08776f;
  font-size: 12px;
  font-weight: 800;
}

.product-operating-brief article.featured span {
  background: rgba(44, 219, 201, 0.16);
  color: #75fff0;
}

.product-operating-brief strong {
  font-size: 18px;
}

.product-operating-brief p {
  margin: 0;
  color: #4b5964;
  line-height: 1.65;
}

.product-operating-brief article.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.product-list-card {
  min-height: 100%;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 178, 164, 0.34);
  box-shadow: 0 20px 46px rgba(9, 24, 36, 0.12);
}

.product-list-card.venture-focus {
  border-color: rgba(15, 178, 164, 0.28);
  box-shadow: 0 20px 44px rgba(9, 24, 36, 0.1);
  background:
    linear-gradient(90deg, rgba(15, 178, 164, 0.12), rgba(15, 178, 164, 0) 34%),
    #ffffff;
}

.product-list-card.consult-focus {
  border-color: rgba(160, 118, 37, 0.16);
  background: #fffdf9;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(15, 178, 164, 0.24);
  border-radius: 999px;
  background: rgba(15, 178, 164, 0.08);
  color: #08776f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.product-card-footer > span {
  color: #a07625;
  font-size: 13px;
  font-weight: 800;
}

.expired-title {
  margin-top: 0;
}

.expired-product-section {
  gap: 18px;
}

.closed-product {
  display: grid;
  gap: 8px;
  min-height: auto;
}

.product-detail-card {
  display: grid;
  gap: 18px;
}

.product-side-guide > span {
  display: inline-flex;
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(240, 190, 96, 0.16);
  color: #b07b20;
  font-size: 12px;
  font-weight: 800;
}

.consult-apply-form,
.consult-process-note,
.consult-applied {
  display: grid;
  gap: 14px;
}

.consult-apply-copy,
.consult-process-note {
  padding: 18px;
  border: 1px solid rgba(15, 178, 164, 0.18);
  border-radius: 8px;
  background: rgba(15, 178, 164, 0.06);
}

.consult-apply-copy p,
.consult-process-note p {
  margin: 6px 0 0;
  color: #52606b;
  line-height: 1.65;
}

.consult-history-card .meta {
  justify-content: flex-start;
  gap: 8px;
}

.consult-receipt {
  display: inline-flex;
  margin-right: 6px;
  color: #08776f;
}

.consult-next-action {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(160, 118, 37, 0.2);
  border-radius: 8px;
  background: #fffaf0;
}

.consult-next-action strong {
  color: #8f641c;
  font-size: 13px;
}

.consult-next-action p {
  margin: 0;
  color: #4b5964;
  line-height: 1.55;
}

.consult-admin-note {
  border-color: rgba(160, 118, 37, 0.2);
  background: #fffaf0;
}

.consultation-only-admin {
  display: grid;
  gap: 4px;
  color: #4c5965;
}

.consultation-only-admin strong {
  color: #0d1720;
}

.consultation-only-admin span {
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.45;
}

.consultation-only-admin .btn {
  width: fit-content;
  margin-top: 4px;
}

.consultation-only-admin .inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: stretch;
  margin-top: 4px;
}

.consultation-only-admin .inquiry-answer-form {
  grid-template-columns: minmax(0, 1fr);
}

.consultation-only-admin .inquiry-answer-form .btn {
  width: 100%;
}

.mypage-application-summary {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(2, 16, 26, 0.1);
}

.panel-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-heading-row h2 {
  margin: 0;
}

.mypage-application-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(2, 16, 26, 0.08);
}

.mypage-application-row > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.mypage-application-row strong,
.mypage-application-row small {
  overflow-wrap: anywhere;
}

.mypage-application-row > span {
  flex: 0 0 auto;
  color: #08776f;
  font-size: 13px;
  font-weight: 800;
}

.mypage-main-panel {
  display: grid;
  gap: 18px;
}

.member-summary-grid {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(2, 16, 26, 0.1);
}

.profile-edit-form,
.password-change-form,
.mypage-inquiry-form {
  display: grid;
  gap: 16px;
}

.compact-form-grid {
  gap: 14px;
}

.compact-form-grid .field.full {
  grid-column: 1 / -1;
}

.profile-edit-form input,
.password-change-form input,
.mypage-inquiry-form input,
.mypage-inquiry-form textarea {
  font-size: 14px;
}

.mypage-inquiry-form textarea {
  min-height: 112px;
  resize: vertical;
}

.inquiry-history-card {
  display: grid;
  gap: 12px;
}

.inquiry-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.inquiry-answer {
  padding-top: 12px;
  border-top: 1px solid rgba(2, 16, 26, 0.08);
}

.inquiry-answer strong {
  color: var(--ink);
}

.pending-answer p {
  color: #8a5a12;
}

.admin-inquiry-detail {
  display: grid;
  gap: 5px;
  min-width: 220px;
}

.admin-inquiry-detail strong {
  color: #0d1720;
  font-size: 12px;
}

.admin-inquiry-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.points-total {
  display: inline-block;
  color: #0d1720;
  font-size: 28px;
  line-height: 1.1;
}

.empty-state.compact {
  min-height: 120px;
  padding: 22px;
}

@media (max-width: 980px) {
  .product-category-grid {
    grid-template-columns: 1fr;
  }

  .product-operating-brief {
    grid-template-columns: 1fr;
  }

  .product-category-card,
  .product-category-card.featured {
    min-height: 180px;
  }

  .investment-card .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-category-card {
    padding: 20px;
  }

  .product-category-card strong {
    font-size: 22px;
  }

  .product-operating-brief article {
    padding: 18px;
  }

  .investment-card .timeline {
    grid-template-columns: 1fr;
  }

  .investment-card .timeline-step {
    min-height: 0;
  }

  .product-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card-footer .btn {
    width: 100%;
  }

  .category-chip {
    white-space: normal;
  }

  .panel-heading-row,
  .mypage-application-row {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-heading-row .btn {
    width: 100%;
  }

  .compact-form-grid {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    left: 14px;
    right: 14px;
    bottom: 12px;
    grid-template-columns: 1fr 1fr 48px;
    gap: 8px;
  }

  .floating-actions a,
  .floating-actions a:nth-child(3) {
    width: auto;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    border-radius: 8px;
  }

  .floating-actions strong {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    line-height: 1.2;
  }

  .floating-actions a:nth-child(3) strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .identity-required-modal {
    position: static;
    width: calc(100% - 32px);
    margin: 16px auto 0;
  }

  .identity-required-modal-card {
    padding: 18px;
  }

  .identity-required-actions .btn {
    width: 100%;
  }

  .identity-required-banner {
    align-items: stretch;
    flex-direction: column;
    width: calc(100% - 32px);
    margin-top: 18px;
    padding: 16px;
  }

  .identity-required-banner .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body.private-route .floating-actions,
  body.admin-body .floating-actions {
    display: none;
  }

  .floating-actions,
  body.public-route .floating-actions {
    position: fixed;
    left: auto;
    right: 10px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    top: auto;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr;
    width: 48px;
    gap: 7px;
    padding: 7px 5px;
    border-radius: 18px;
    background: rgba(7, 17, 28, 0.92);
    box-shadow: 0 14px 30px rgba(7, 17, 28, 0.26);
  }

  .floating-actions a,
  .floating-actions a:nth-child(3),
  body.public-route .floating-actions a,
  body.public-route .floating-actions a:nth-child(3) {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 12px;
    box-shadow: none;
  }

  .floating-actions span,
  body.public-route .floating-actions span {
    font-size: 14px;
    line-height: 1;
  }

  .floating-actions strong,
  .floating-actions a:nth-child(3) strong,
  body.public-route .floating-actions strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .floating-actions,
  body.public-route .floating-actions,
  body.private-route .floating-actions,
  body.admin-body .floating-actions {
    display: none;
  }
}

/* Keep member bulk controls aligned with the member table. */
body.admin-body .member-bulk-toolbar {
  display: grid;
  grid-template-columns: max-content minmax(160px, 220px) max-content minmax(120px, 1fr) max-content;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 14px 10px;
  padding: 8px 12px;
}

body.admin-body .member-bulk-toolbar select,
body.admin-body .member-bulk-toolbar .btn.small {
  width: 100%;
  min-height: 32px;
  height: 32px;
  margin: 0;
}

body.admin-body .member-bulk-toolbar .btn.small {
  width: auto;
  padding: 5px 12px;
}

body.admin-body .member-bulk-toolbar > span {
  align-self: center;
  margin: 0;
  line-height: 1.3;
}

body.admin-body .member-bulk-toolbar .member-csv-export {
  justify-self: end;
  min-width: 76px;
  color: #344054;
  background: #fff;
  border-color: #b9c8d4;
}

@media (max-width: 760px) {
  body.admin-body .member-bulk-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-inline: 8px;
  }

  body.admin-body .member-bulk-toolbar strong,
  body.admin-body .member-bulk-toolbar > span {
    grid-column: 1 / -1;
  }

  body.admin-body .member-bulk-toolbar .member-csv-export {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    text-align: center;
  }
}

/* Unified customer header and focused operational feedback. */
body.public-header-route .site-header {
  z-index: 50;
}

.identity-required-modal {
  z-index: 35;
}

.identity-required-modal-card {
  animation: identity-attention 2.8s ease-in-out infinite;
}

@keyframes identity-attention {
  0%, 100% {
    transform: translateY(0);
    border-color: rgba(242, 207, 135, 0.3);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(23, 190, 177, 0);
  }
  50% {
    transform: translateY(-5px);
    border-color: rgba(83, 224, 211, 0.82);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.36), 0 0 0 7px rgba(23, 190, 177, 0.1);
  }
}

.customer-success-notice {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  color: #075e59;
  border: 1px solid #8fded6;
  border-radius: 9px;
  background: #eafaf8;
}

.customer-success-notice strong {
  font-size: 16px;
}

.approval-welcome-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.approval-welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 11, 18, 0.72);
  backdrop-filter: blur(7px);
}

.approval-welcome-card {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(480px, 100%);
  padding: 34px;
  color: #f8fafc;
  border: 1px solid rgba(89, 222, 210, 0.5);
  border-radius: 14px;
  background: linear-gradient(145deg, #071724, #0a3e42);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.approval-welcome-card > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  place-items: center;
  color: #062523;
  border-radius: 50%;
  background: #67e5d8;
  font-size: 26px;
  font-weight: 900;
}

.approval-welcome-card small {
  color: #f2cf87;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.approval-welcome-card h2 {
  margin: 10px 0 8px;
  font-size: 24px;
}

.approval-welcome-card p {
  margin: 0;
  color: #c9d8df;
}

.approval-welcome-card > div {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

/* Administrator notification navigation. */
.admin-side-nav a {
  justify-content: space-between;
  gap: 8px;
}

.admin-menu-badge {
  display: inline-grid;
  flex: 0 0 auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  background: #e5484d;
  font-size: 10px;
  font-weight: 900;
}

.admin-alert-menu {
  position: relative;
}

.admin-alert-menu > summary {
  cursor: pointer;
  list-style: none;
}

.admin-alert-menu > summary::-webkit-details-marker {
  display: none;
}

.admin-alert-dropdown {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 250px;
  padding: 10px;
  border: 1px solid #d6e1e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
}

.admin-alert-dropdown > strong {
  padding: 8px 9px;
  color: #0f172a;
}

.admin-alert-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 9px;
  color: #334155;
  border-radius: 7px;
}

.admin-alert-dropdown a:hover {
  color: #066f71;
  background: #ebf8f7;
}

.admin-alert-dropdown b {
  color: #d9363e;
}

/* Compact card layout for administrator inquiries. */
.admin-inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.admin-inquiry-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe5ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.admin-inquiry-card > header,
.admin-inquiry-badges,
.admin-inquiry-person {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.admin-inquiry-card > header {
  justify-content: space-between;
}

.admin-inquiry-card time,
.admin-inquiry-person small {
  color: #7b8794;
  font-size: 11px;
}

.admin-inquiry-person span {
  color: #475569;
}

.admin-inquiry-message {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #f5f9fb;
}

.admin-inquiry-message h4,
.admin-inquiry-message p {
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-inquiry-message p {
  color: #52616d;
  line-height: 1.58;
  white-space: pre-wrap;
}

.admin-inquiry-manage > summary {
  padding: 10px 12px;
  color: #06767a;
  border: 1px solid #b8dddd;
  border-radius: 7px;
  background: #f1fbfa;
  cursor: pointer;
  font-weight: 900;
}

.admin-inquiry-manage-body {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.admin-inquiry-context dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.admin-inquiry-context dl > div {
  padding: 10px;
  border: 1px solid #e1e8ed;
  border-radius: 7px;
}

.admin-inquiry-context dt {
  color: #7b8794;
  font-size: 10px;
  font-weight: 900;
}

.admin-inquiry-context dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: #263744;
}

.admin-inquiry-actions {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(240px, 1.3fr);
  gap: 10px;
  align-items: start;
}

.admin-inquiry-actions .inline-form {
  display: grid;
  gap: 7px;
  margin: 0;
}

.admin-inquiry-actions textarea {
  min-height: 84px;
  resize: vertical;
}

@media (max-width: 900px) {
  .admin-inquiry-grid,
  .admin-inquiry-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .identity-required-modal {
    right: 14px;
    top: 72px;
    width: calc(100vw - 28px);
  }

  .approval-welcome-card {
    padding: 26px 20px;
  }

  .approval-welcome-card > div,
  .approval-welcome-card .btn {
    width: 100%;
  }

  .approval-welcome-card > div {
    flex-direction: column;
  }

  .admin-inquiry-context dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity-required-modal-card {
    animation: none;
  }
}

/* Identity review and investment workflow refresh */
body.admin-body .admin-identity-upload {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid #cbdde5;
  border-radius: 14px;
  background: #f5fafc;
}

body.admin-body .admin-identity-upload-head,
body.admin-body .admin-identity-upload-fields {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

body.admin-body .admin-identity-upload-head p {
  margin: 5px 0 0;
  color: #5d6d78;
}

body.admin-body .admin-identity-upload-head > span {
  color: #637784;
  font-size: 12px;
  white-space: nowrap;
}

body.admin-body .admin-identity-upload-fields {
  margin: 14px 0;
}

body.admin-body .admin-identity-upload-fields label {
  flex: 1;
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px dashed #a8c1cc;
  border-radius: 10px;
  background: #fff;
}

body.admin-body .identity-doc-row {
  display: grid;
  grid-template-columns: 190px minmax(160px, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
}

body.admin-body .identity-inline-preview,
body.admin-body .identity-pdf-preview {
  grid-row: span 2;
  display: grid;
  overflow: hidden;
  min-height: 124px;
  border: 1px solid #d4e1e7;
  border-radius: 10px;
  background: #eaf2f5;
  color: #0d4f5b;
  text-decoration: none;
}

body.admin-body .identity-inline-preview img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}

body.admin-body .identity-inline-preview span,
body.admin-body .identity-pdf-preview strong {
  padding: 8px 10px;
  text-align: center;
  font-size: 12px;
}

body.admin-body .identity-pdf-preview {
  place-items: center;
  align-content: center;
}

body.admin-body .identity-pdf-preview > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0d6d77;
  color: #fff;
  font-weight: 800;
}

body.admin-body .identity-doc-actions {
  flex-wrap: wrap;
}

body.admin-body .detail-action-help {
  margin: -4px 0 12px;
  padding: 10px 12px;
  border-left: 3px solid #13929b;
  background: #eef9f9;
  color: #48616b;
  line-height: 1.55;
}

body.admin-body .application-admin-table table {
  min-width: 1280px;
}

body.admin-body .application-admin-table td:last-child {
  min-width: 650px;
}

body.admin-body .admin-workflow-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  width: 100%;
}

body.admin-body .admin-workflow-state {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: #092b3a;
  color: #fff;
}

body.admin-body .admin-workflow-state > span {
  color: #8de1dc;
  font-weight: 700;
}

body.admin-body .admin-workflow-state small {
  grid-column: 1 / -1;
  color: #bfd3da;
}

body.admin-body .admin-stage-groups {
  display: grid;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

body.admin-body .admin-stage-groups > section {
  padding: 12px;
  border: 1px solid #d8e3e8;
  border-radius: 12px;
  background: #fff;
}

body.admin-body .admin-stage-groups header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body.admin-body .admin-stage-groups header span {
  color: #6b7b86;
  font-size: 12px;
}

body.admin-body .admin-stage-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.admin-body .admin-stage-groups section:last-child .admin-stage-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.admin-body .admin-stage-button-form {
  margin: 0;
}

body.admin-body .admin-stage-button {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 8px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 8px;
  border: 1px solid #cddce3;
  border-radius: 10px;
  background: #f7fafb;
  color: #40545e;
  text-align: left;
  cursor: pointer;
}

body.admin-body .admin-stage-button i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dce7eb;
  font-style: normal;
  font-weight: 800;
}

body.admin-body .admin-stage-button span {
  color: #75848c;
  font-size: 11px;
}

body.admin-body .admin-stage-button.done {
  border-color: #9fd7d1;
  background: #edf9f7;
}

body.admin-body .admin-stage-button.active {
  border: 2px solid #06949b;
  background: #e9fbfb;
  color: #075e66;
  box-shadow: 0 0 0 3px rgba(6, 148, 155, 0.12);
}

body.admin-body .admin-stage-button:disabled {
  opacity: 1;
  cursor: default;
}

body.admin-body .admin-stage-item {
  display: grid;
  gap: 6px;
  min-width: 0;
}

body.admin-body .admin-stage-tool {
  min-width: 0;
}

body.admin-body .admin-stage-tool > summary {
  list-style: none;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid #bdd5dc;
  border-radius: 7px;
  background: #f4fafb;
  color: #176b73;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

body.admin-body .admin-stage-tool > summary::-webkit-details-marker {
  display: none;
}

body.admin-body .admin-stage-tool[open] > summary {
  border-color: #07969c;
  background: #e9f8f8;
}

body.admin-body .admin-stage-tool-panel {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  padding: 7px;
  border: 1px solid #d5e1e6;
  border-radius: 8px;
  background: #f8fafb;
}

body.admin-body .admin-stage-inline-upload,
body.admin-body .admin-contract-link-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: end;
  margin: 0;
}

body.admin-body .admin-stage-inline-upload label,
body.admin-body .admin-contract-link-inline label {
  display: grid;
  gap: 3px;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
}

body.admin-body .admin-stage-inline-upload input,
body.admin-body .admin-contract-link-inline input {
  min-width: 0;
  width: 100%;
  padding: 5px 6px;
  font-size: 11px;
}

body.admin-body .admin-stage-overview,
.investment-phase-board {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 12px;
}

.investment-phase-board {
  grid-template-columns: 1fr;
}

.investment-phase .timeline {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

body.admin-body .admin-stage-overview section,
.investment-phase {
  padding: 14px;
  border: 1px solid #d9e5ea;
  border-radius: 12px;
  background: #f8fafb;
}

body.admin-body .admin-stage-overview section {
  display: grid;
  gap: 7px;
}

.investment-phase-head,
.investment-key-facts {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.investment-phase-head {
  margin-bottom: 12px;
}

.investment-phase-head span {
  color: #6f7d84;
  font-size: 12px;
  font-weight: 800;
}

.investment-phase.complete {
  border-color: #9fd7d1;
  background: #f0faf8;
}

.investment-phase.active {
  border-color: #27a1aa;
  box-shadow: 0 0 0 3px rgba(39, 161, 170, 0.08);
}

.investment-key-facts {
  margin: 12px 0 18px;
}

.investment-key-facts > div {
  flex: 1;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f0f5f7;
}

.investment-key-facts span {
  color: #6f7d84;
  font-size: 12px;
}

.customer-stage-documents {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #dbe6ea;
  border-radius: 10px;
}

.customer-stage-documents ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.customer-stage-documents li {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr auto;
  gap: 10px;
  align-items: center;
}

@media (max-width: 900px) {
  body.admin-body .identity-doc-row,
  body.admin-body .admin-stage-overview,
  .investment-phase-board {
    grid-template-columns: 1fr;
  }

  body.admin-body .identity-inline-preview,
  body.admin-body .identity-pdf-preview {
    grid-row: auto;
  }

  body.admin-body .admin-stage-buttons {
    grid-template-columns: 1fr;
  }

  body.admin-body .admin-stage-groups section:last-child .admin-stage-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.admin-body .admin-identity-upload-head,
  body.admin-body .admin-identity-upload-fields,
  .investment-key-facts {
    display: grid;
  }

  body.admin-body .admin-stage-inline-upload,
  body.admin-body .admin-contract-link-inline,
  .customer-stage-documents li {
    grid-template-columns: 1fr;
  }
}

/* Admin member detail layer and delegated operator roles */
body.admin-body .member-detail-trigger {
  display: inline-grid;
  gap: 2px;
  color: inherit;
  text-decoration: none;
}

body.admin-body .member-detail-trigger.email {
  color: #17677a;
  font-weight: 700;
}

body.admin-body .member-detail-trigger:hover,
body.admin-body .member-detail-trigger:focus-visible {
  color: #008e8f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.admin-body .admin-member-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

body.admin-body .admin-member-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 13, 22, 0.66);
  backdrop-filter: blur(3px);
}

body.admin-body .admin-member-modal .admin-detail-panel {
  position: relative;
  z-index: 1;
  display: block;
  width: min(920px, calc(100vw - 56px));
  max-width: none;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  border: 1px solid rgba(8, 84, 99, 0.2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 14, 24, 0.34);
}

/* Administrator top-layer editors */
body.admin-body .admin-layer-dialog {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: none;
  place-items: center;
  width: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 0;
  background: rgba(2, 13, 22, 0.7);
  color: #17212b;
  backdrop-filter: blur(3px);
}

body.admin-body .admin-layer-dialog:target {
  display: grid;
}

body.admin-body .admin-layer-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
}

body.admin-body .admin-layer-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100vh - 48px);
  width: min(920px, calc(100vw - 48px));
  overflow: hidden;
  border: 1px solid rgba(8, 84, 99, 0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(0, 14, 24, 0.38);
}

body.admin-body .admin-layer-dialog.wide .admin-layer-card,
body.admin-body .admin-product-dialog .admin-layer-card {
  width: min(1080px, calc(100vw - 48px));
}

body.admin-body .admin-layer-head {
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e3e9ef;
  background: #fff;
}

body.admin-body .admin-layer-head h2,
body.admin-body .admin-layer-head p {
  margin: 0;
}

body.admin-body .admin-layer-head h2 {
  font-size: 22px;
}

body.admin-body .admin-layer-head p {
  margin-top: 5px;
  color: #667085;
  font-size: 13px;
}

body.admin-body .admin-layer-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #d8e0e8;
  border-radius: 50%;
  background: #f8fafc;
  color: #344054;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}

body.admin-body .admin-layer-body {
  min-height: 0;
  padding: 22px 24px 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.admin-body .admin-layer-form {
  display: grid;
  gap: 16px;
  margin: 0;
}

body.admin-body .admin-layer-form textarea {
  min-height: 150px;
  resize: vertical;
}

body.admin-body .admin-layer-form > .btn {
  justify-self: end;
  min-width: 120px;
}

body.admin-body .admin-action-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 22px 18px;
  padding: 14px 16px;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #f8fafc;
}

body.admin-body .content-create-toolbar > div,
body.admin-body .admin-list-heading,
body.admin-body .admin-content-filter-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.admin-body .unified-content-list {
  margin-top: 18px;
}

body.admin-body .admin-list-heading {
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0 8px 12px;
}

body.admin-body .admin-list-heading > div {
  margin-right: auto;
}

body.admin-body .admin-list-heading h3,
body.admin-body .admin-list-heading p {
  margin: 0;
}

body.admin-body .admin-list-heading p {
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
}

body.admin-body .admin-list-heading label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
}

body.admin-body .admin-content-filter-form {
  margin: 0;
}

body.admin-body .admin-list-heading select {
  min-width: 130px;
}

body.admin-body .unified-content-list table {
  min-width: 960px;
}

body.admin-body .unified-content-list td:nth-child(2) {
  min-width: 280px;
}

body.admin-body .unified-content-list td:nth-child(2) small {
  display: block;
  max-width: 440px;
  margin-top: 4px;
  color: #667085;
  line-height: 1.45;
}

@media (max-width: 760px) {
  body.admin-body .admin-layer-dialog,
  body.admin-body .admin-layer-dialog.wide,
  body.admin-body .admin-product-dialog {
    padding: 10px;
  }

  body.admin-body .admin-layer-card {
    width: 100%;
    max-height: calc(100vh - 20px);
  }

  body.admin-body .admin-layer-dialog.wide .admin-layer-card,
  body.admin-body .admin-product-dialog .admin-layer-card {
    width: 100%;
  }

  body.admin-body .admin-layer-head,
  body.admin-body .admin-layer-body {
    padding-right: 16px;
    padding-left: 16px;
  }

  body.admin-body .admin-action-toolbar,
  body.admin-body .content-create-toolbar > div {
    align-items: stretch;
    flex-direction: column;
  }

  body.admin-body .admin-action-toolbar .btn {
    width: 100%;
  }
}

body.admin-body .admin-member-modal .detail-close {
  position: sticky;
  z-index: 3;
  top: 0;
  float: right;
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0 0 8px 12px;
  place-items: center;
  border: 1px solid #d9e4e9;
  border-radius: 50%;
  color: #18323f;
  background: #fff;
  font-size: 25px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(8, 37, 49, 0.1);
}

body.admin-body .subadmin-role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #cce2e5;
  border-radius: 12px;
  background: #f2faf9;
}

body.admin-body .subadmin-role-card.active {
  border-color: #e2c47b;
  background: #fff9ea;
}

body.admin-body .subadmin-role-card strong,
body.admin-body .subadmin-role-card p {
  display: block;
  margin: 0;
}

body.admin-body .subadmin-role-card p {
  margin-top: 5px;
  color: #60727b;
  font-size: 13px;
  line-height: 1.55;
}

body.admin-body .member-hard-delete {
  margin-top: 22px;
  border: 1px solid #efb5ae;
  background: #fff8f7;
}

body.admin-body .member-hard-delete > summary {
  color: #a52b20;
}

body.admin-body .member-hard-delete-warning {
  padding: 4px 16px 16px;
}

body.admin-body .member-hard-delete-warning > strong {
  color: #a52b20;
  font-size: 14px;
}

body.admin-body .member-hard-delete-warning > p {
  margin: 7px 0 14px;
  color: #6d3a35;
  font-size: 12px;
  line-height: 1.6;
}

body.admin-body .member-hard-delete-warning code {
  padding: 2px 5px;
  border-radius: 4px;
  color: #7f1d1d;
  background: #fee2e2;
  font-family: inherit;
  font-weight: 800;
}

body.admin-body .member-hard-delete-warning .btn {
  width: 100%;
}

@media (max-width: 760px) {
  body.admin-body .admin-member-modal {
    align-items: end;
    padding: 12px;
  }

  body.admin-body .admin-member-modal .admin-detail-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  body.admin-body .subadmin-role-card {
    align-items: stretch;
    flex-direction: column;
  }

  body.admin-body .subadmin-role-card .btn {
    width: 100%;
  }

  body.admin-body .member-tab-history > ul > li {
    grid-template-columns: 1fr;
  }
}

.tax-signal-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: 18px;
  align-items: stretch;
  margin: 22px 0 24px;
  padding: 22px;
  border: 1px solid rgba(10, 25, 38, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #07131c 0%, #0d2a32 56%, #f8fbfa 56%, #ffffff 100%);
  box-shadow: 0 22px 46px rgba(9, 24, 36, 0.1);
}

.tax-signal-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  color: white;
}

.tax-signal-copy span {
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(43, 218, 200, 0.16);
  color: #7dfff1;
  font-size: 12px;
  font-weight: 900;
}

.tax-signal-copy h2 {
  margin: 0;
  color: white;
  font-size: 26px;
  line-height: 1.28;
}

.tax-signal-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.68;
}

.tax-signal-copy .btn {
  width: max-content;
}

.tax-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tax-signal-grid article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(15, 178, 164, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(9, 24, 36, 0.06);
}

.tax-signal-grid span {
  display: block;
  margin-bottom: 10px;
  color: #687580;
  font-size: 12px;
  font-weight: 800;
}

.tax-signal-grid strong {
  display: block;
  color: #071521;
  font-size: 23px;
  line-height: 1.2;
}

.tax-signal-grid p {
  margin: 10px 0 0;
  color: #52606b;
  font-size: 13px;
  line-height: 1.6;
}

body.public-route .system-section .section-title h2 {
  font-size: 30px;
  line-height: 1.18;
}

body.public-route .system-section h2 {
  letter-spacing: 0;
}

body.public-route .system-hero-strip strong {
  font-size: 22px;
}

body.public-route .deduction-engine-head h2,
body.public-route .case-library-head h2,
body.public-route .legacy-case-head h2,
body.public-route .max-tax-copy h2,
body.public-route .reference-copy h2 {
  font-size: 26px;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .tax-signal-panel {
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, #07131c 0%, #0d2a32 43%, #ffffff 43%, #ffffff 100%);
  }

  .tax-signal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .tax-signal-panel {
    padding: 18px;
  }

  .tax-signal-copy h2 {
    font-size: 23px;
  }

  .tax-signal-grid {
    grid-template-columns: 1fr;
  }

  .tax-signal-grid article {
    min-height: auto;
  }

  .tax-signal-grid strong {
    font-size: 20px;
  }
}

body.public-route .public-hero {
  min-height: 392px;
  padding-top: 14px;
  padding-bottom: 18px;
}

body.public-route .public-hero h1 {
  font-size: 35px;
  line-height: 1.24;
}

body.public-route .public-hero .lead {
  font-size: 15px;
  line-height: 1.68;
}

body.public-route .home-briefing-band {
  padding-top: 34px;
  padding-bottom: 38px;
}

body.public-route .briefing-head h2,
body.public-route .path-panel h2,
body.public-route .insight-section .section-title h2 {
  letter-spacing: 0;
}

@media (max-width: 760px) {
  body.public-route .public-hero {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 26px;
  }

  body.public-route .public-hero h1 {
    font-size: 26px;
    line-height: 1.26;
  }

  body.public-route .public-hero .lead {
    font-size: 14px;
    line-height: 1.65;
  }
}

@media (min-width: 1181px) and (max-width: 1480px) {
  body.public-route .public-hero-inner,
  body.public-route .home-briefing-band .section-inner,
  body.public-route .visc-trust-section .section-inner,
  body.public-route .insight-section .section-inner {
    width: min(100% - 150px, 1360px);
  }

  body.public-route .floating-actions {
    right: 10px;
    width: 42px;
    padding: 8px 5px;
  }

  body.public-route .floating-actions a,
  body.public-route .floating-actions a:nth-child(3) {
    width: 32px;
    min-height: 38px;
  }
}

body.public-route .page-title h1 {
  font-size: 30px;
  line-height: 1.22;
}

body.public-route .page-title p {
  max-width: 600px;
  font-size: 15px;
  line-height: 1.68;
}

body.public-route .about-lead h2 {
  font-size: 28px;
  line-height: 1.32;
}

body.public-route .about-lead p {
  font-size: 15px;
}

body.public-route .product-category-card {
  min-height: 190px;
  padding: 22px;
}

body.public-route .product-category-card.featured {
  min-height: 212px;
}

body.public-route .product-category-card strong {
  font-size: 23px;
  line-height: 1.26;
}

body.public-route .product-page-section .section-title h2 {
  font-size: 28px;
  line-height: 1.28;
}

body.public-route .product-category-section .section-title h2 {
  font-size: 30px;
  line-height: 1.24;
}

body.public-route .tax-signal-grid strong {
  font-size: 20px;
  line-height: 1.26;
}

body.public-route .btn {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 13px;
}

@media (max-width: 760px) {
  body.public-route .page-title h1 {
    font-size: 26px;
  }

  .site-header,
  body.public-route .site-header {
    min-height: 56px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand strong,
  body.public-route .brand strong {
    font-size: 26px;
    line-height: 1;
  }

  .brand small,
  body.public-route .brand small {
    font-size: 10px;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  body.public-route .about-lead h2 {
    font-size: 24px;
  }

  body.public-route .product-category-card strong {
    font-size: 21px;
  }
}

body.admin-body .admin-applications-panel {
  flex: 1 1 auto;
  align-content: start;
  min-height: 0;
  overflow: auto;
}

body.admin-body .admin-applications-panel .application-admin-table {
  flex: 0 0 auto;
  min-height: 360px;
  max-height: 520px;
  margin: 0;
}

body.admin-body .admin-applications-panel .admin-stage-guide {
  margin: 0;
}

.product-category-admin-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.product-category-admin-guide article {
  min-height: 82px;
  padding: 12px;
  background: #f8fbfc;
  border: 1px solid #dfe7ef;
  border-radius: 6px;
}

.product-category-admin-guide strong {
  display: block;
  color: #0d1720;
  font-size: 13px;
  line-height: 1.35;
}

.product-category-admin-guide span {
  display: block;
  margin-top: 7px;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .product-category-admin-guide {
    grid-template-columns: 1fr;
  }
}

.support-section {
  padding-top: 42px;
}

@media (min-width: 981px) and (max-width: 1480px) {
  body.private-route .support-section .section-inner,
  body.private-route .mypage-section .section-inner {
    width: min(100% - 132px, 1160px);
  }
}

.support-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.support-guide-grid article {
  min-height: 132px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbfc);
  border: 1px solid #dce5ec;
  border-radius: 8px;
}

.support-guide-grid strong {
  display: block;
  color: #101828;
  font-size: 15px;
  line-height: 1.35;
}

.support-guide-grid p {
  margin: 10px 0 0;
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.58;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 28px;
  align-items: start;
}

.support-content,
.support-card-list {
  display: grid;
  gap: 14px;
}

.compact-title {
  margin-bottom: 2px;
}

.compact-title h2 {
  font-size: 24px;
  line-height: 1.28;
}

.compact-title p {
  margin-top: 6px;
  font-size: 14px;
}

.support-card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}

.support-notice-card > span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: #08776f;
  background: rgba(15, 178, 164, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.support-card h3 {
  margin: 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.36;
}

.support-card p {
  margin: 10px 0 0;
  color: #5f6b7a;
  line-height: 1.62;
}

.support-qna-card h3,
.support-qna-card p {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

.support-qna-card h3 span,
.support-qna-card p b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #ffffff;
  background: #081825;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.support-qna-card p b {
  color: #14301f;
  background: #e8f7ef;
}

.support-form-card {
  position: sticky;
  top: 82px;
}

.support-form-card > p {
  margin: 0 0 16px;
  color: #667085;
  line-height: 1.58;
}

.support-form-card textarea {
  min-height: 150px;
}

@media (max-width: 980px) {
  .support-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-form-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .support-guide-grid {
    grid-template-columns: 1fr;
  }

  .compact-title h2 {
    font-size: 22px;
  }
}

body.public-route .public-hero {
  min-height: 376px;
  padding-top: 10px;
  padding-bottom: 18px;
}

body.public-route .public-hero h1 {
  max-width: 650px;
  font-size: 32px;
  line-height: 1.26;
}

body.public-route .public-hero .lead {
  max-width: 560px;
  font-size: 14px;
}

body.public-route .market-dashboard {
  max-width: 640px;
}

body.public-route .home-product-spectrum {
  padding-top: 54px;
  padding-bottom: 58px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
}

body.public-route .home-product-spectrum .section-title {
  align-items: end;
  margin-bottom: 18px;
}

body.public-route .home-product-spectrum .section-title h2 {
  font-size: 29px;
  line-height: 1.22;
}

.home-product-grid {
  display: grid;
  grid-template-columns: 0.92fr 0.92fr 1.16fr;
  gap: 14px;
}

.home-product-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(9, 24, 36, 0.06);
}

.home-product-card span {
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 178, 164, 0.1);
  color: #08776f;
  font-size: 12px;
  font-weight: 900;
}

.home-product-card h3 {
  margin: 0;
  color: #07131f;
  font-size: 23px;
  line-height: 1.22;
}

.home-product-card p,
.home-product-card strong {
  margin: 0;
  color: #52606b;
  font-size: 14px;
  line-height: 1.62;
}

.home-product-card strong {
  color: #233140;
  font-weight: 800;
}

.home-product-card.featured {
  color: #ffffff;
  background: linear-gradient(138deg, #061018 0%, #0c2c35 60%, #135b52 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 58px rgba(4, 18, 28, 0.24);
}

.home-product-card.featured span {
  background: rgba(44, 219, 201, 0.16);
  color: #7dfff1;
}

.home-product-card.featured h3 {
  color: #ffffff;
}

.home-product-card.featured p,
.home-product-card.featured strong {
  color: rgba(255, 255, 255, 0.78);
}

.home-product-card.featured .text-link {
  color: #f2cf87;
}

.home-product-note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid #e5d0a5;
  border-radius: 8px;
  background: #fffaf0;
}

.home-product-note strong {
  color: #7b5312;
  font-size: 16px;
}

.home-product-note p {
  margin: 0;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .home-product-grid,
  .home-product-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.public-route .public-hero h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  body.public-route .public-hero .lead {
    font-size: 13px;
  }

  body.public-route .home-product-spectrum {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  body.public-route .home-product-spectrum .section-title {
    align-items: stretch;
  }

  body.public-route .home-product-spectrum .section-title h2 {
    font-size: 24px;
  }

  .home-product-card {
    min-height: auto;
    padding: 20px;
  }

  .home-product-card h3 {
    font-size: 21px;
  }

  .home-product-note .btn {
    width: 100%;
  }
}

body.admin-body {
  font-size: 13px;
}

body.admin-body .admin-shell {
  grid-template-columns: 188px minmax(0, 1fr);
}

body.admin-body .admin-sidebar {
  padding: 14px 10px 12px;
}

body.admin-body .admin-brand strong {
  font-size: 28px;
  line-height: 1;
}

body.admin-body .admin-brand small {
  font-size: 9px;
  line-height: 1.15;
}

body.admin-body .admin-operator {
  padding: 11px;
}

body.admin-body .admin-operator strong,
body.admin-body .admin-side-nav h3 {
  font-size: 12px;
}

body.admin-body .admin-side-nav {
  gap: 10px;
}

body.admin-body .admin-side-nav a {
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.25;
}

body.admin-body .admin-topbar {
  min-height: 48px;
  padding: 0 18px;
}

body.admin-body .admin-topbar h1 {
  font-size: 20px;
}

body.admin-body .admin-topmeta {
  gap: 12px;
  font-size: 12px;
}

body.admin-body .admin-content {
  grid-template-columns: minmax(0, 1fr) 250px;
  grid-template-rows: 96px minmax(430px, 1fr) 260px;
  gap: 12px;
  padding: 14px 16px;
}

body.admin-body .admin-kpis article {
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 94px;
  padding: 12px;
}

body.admin-body .admin-kpis strong {
  margin: 5px 0 4px;
  font-size: 23px;
}

body.admin-body .admin-kpis span,
body.admin-body .admin-kpis small {
  font-size: 11px;
}

body.admin-body .kpi-icon {
  width: 30px;
  height: 30px;
}

body.admin-body .admin-panel-head {
  padding: 16px 18px 10px;
}

body.admin-body .admin-panel-head h2 {
  font-size: 19px;
}

body.admin-body .admin-panel-head p {
  font-size: 12px;
}

body.admin-body .admin-tabs,
body.admin-body .admin-filters,
body.admin-body .admin-table-wrap {
  margin-right: 18px;
  margin-left: 18px;
}

body.admin-body .admin-table-wrap table {
  font-size: 11.5px;
}

body.admin-body .admin-table-wrap th,
body.admin-body .admin-table-wrap td {
  padding: 7px 7px;
}

body.admin-body .member-admin-table table {
  min-width: 900px;
}

body.admin-body .admin-row-actions {
  gap: 4px;
}

body.admin-body .icon-btn,
body.admin-body .btn.small {
  min-height: 26px;
  height: 26px;
  padding: 5px 8px;
  font-size: 11px;
}

body.admin-body .admin-bottom-grid {
  gap: 12px;
}

body.admin-body .admin-card {
  padding: 16px;
}

body.admin-body .admin-card h2,
body.admin-body .admin-card h3 {
  font-size: 15px;
}

body.admin-body .admin-detail-panel {
  top: 58px;
  height: calc(100vh - 68px);
  padding: 16px 14px;
}

body.admin-body .admin-detail-panel h2 {
  margin-bottom: 12px;
  font-size: 17px;
}

body.admin-body .detail-profile {
  gap: 10px;
  padding-bottom: 14px;
}

body.admin-body .avatar {
  width: 52px;
  height: 52px;
}

body.admin-body .detail-list {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px 6px;
  font-size: 12px;
}

body.admin-body .detail-actions {
  gap: 6px;
}

body.admin-body .member-reset-form,
body.admin-body .approval-checklist {
  padding: 11px;
}

body.admin-body .identity-files {
  gap: 8px;
}

body.admin-body .identity-files div {
  min-height: 72px;
  padding: 8px;
}

@media (max-width: 1180px) {
  body.admin-body .admin-shell {
    grid-template-columns: 1fr;
  }

  body.admin-body .admin-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  body.admin-body .admin-detail-panel {
    position: relative;
    top: auto;
    height: auto;
  }
}

body.public-route .page-title h1 {
  font-size: 28px;
  line-height: 1.24;
}

body.public-route .system-section .section-title h2 {
  font-size: 26px;
  line-height: 1.24;
}

body.public-route .system-section h2 {
  font-size: 24px;
  line-height: 1.3;
}

body.public-route .system-section p,
body.public-route .system-section li,
body.public-route .system-section td {
  font-size: 14px;
  line-height: 1.68;
}

body.public-route .system-section th {
  font-size: 12px;
  line-height: 1.45;
}

body.public-route .system-hero-strip strong,
body.public-route .deduction-flow .engine-result strong,
body.public-route .reference-matrix b {
  font-size: 21px;
  line-height: 1.22;
}

@media (max-width: 760px) {
  body.public-route .page-title h1 {
    font-size: 24px;
  }

  body.public-route .system-section .section-title h2,
  body.public-route .system-section h2 {
    font-size: 22px;
  }

  body.public-route .system-section p,
  body.public-route .system-section li,
  body.public-route .system-section td {
    font-size: 13px;
  }
}

body.public-route .public-hero {
  order: 0;
}

body.public-route .home-briefing-band {
  order: 1;
}

body.public-route .insight-section {
  order: 2;
}

body.public-route .visc-trust-section {
  order: 3;
}

body.public-route .home-product-spectrum {
  order: 4;
}

.application-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.application-summary-grid article {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #dfe6ee;
  border-radius: 6px;
  background: #ffffff;
}

.application-summary-grid span {
  color: #087e83;
  font-size: 12px;
  font-weight: 900;
}

.application-summary-grid strong {
  color: #0f172a;
  font-size: 24px;
  line-height: 1.1;
}

.application-summary-grid p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.application-filter-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 12px;
  padding: 10px 12px;
  color: #475467;
  background: #f6fbfb;
  border: 1px solid #d9eeee;
  border-radius: 6px;
  font-size: 12px;
}

.application-filter-result strong {
  color: #05766f;
  font-size: 13px;
}

.insight-blog-section .section-inner {
  display: grid;
  gap: 22px;
}

.insight-featured-article {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(9, 24, 36, 0.08);
}

.insight-featured-media,
.insight-card-media {
  margin: 0;
  min-height: 100%;
  background: #0b1722;
}

.insight-featured-media img,
.insight-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-featured-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
}

.insight-featured-copy h2 {
  margin: 0;
  color: #0f172a;
  font-size: 26px;
  line-height: 1.26;
}

.insight-featured-copy p,
.insight-card-body p {
  margin: 0;
  color: #536273;
  font-size: 14px;
  line-height: 1.68;
}

.insight-featured-copy .summary {
  color: #243447;
  font-weight: 800;
}

.insight-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}

.insight-blog-card {
  display: grid;
  grid-template-rows: 190px minmax(0, 1fr);
  min-height: 486px;
  overflow: hidden;
  padding: 0;
}

.insight-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 17px;
}

.insight-card-body h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.insight-card-body .summary,
.insight-card-body .excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.insight-card-body .summary {
  min-height: 47px;
  color: #344458;
  font-weight: 700;
  -webkit-line-clamp: 2;
}

.insight-card-body .excerpt {
  min-height: 70px;
  -webkit-line-clamp: 3;
}

.insight-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #7a8795;
  font-size: 12px;
  margin-top: auto;
}

.insight-list-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 4px 2px 0;
  color: #697789;
  font-size: 13px;
}

.insight-list-toolbar strong {
  color: #172536;
  font-size: 15px;
}

.content-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin: 8px 0 2px;
}

.content-pagination > div {
  display: flex;
  gap: 6px;
  align-items: center;
}

.content-pagination a,
.content-pagination span {
  display: inline-grid;
  min-width: 38px;
  min-height: 38px;
  padding: 7px 10px;
  place-items: center;
  border: 1px solid #d6e1e8;
  border-radius: 7px;
  color: #344458;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.content-pagination a:hover {
  border-color: #0b8f8b;
  color: #087e83;
}

.content-pagination a[aria-current="page"] {
  border-color: #087e83;
  color: #ffffff;
  background: #087e83;
}

.content-pagination .pagination-direction {
  min-width: 64px;
}

.content-pagination .disabled,
.content-pagination .pagination-gap {
  color: #a2adb8;
  background: #f5f8fa;
}

.content-pagination .pagination-gap {
  min-width: 28px;
  padding-right: 5px;
  padding-left: 5px;
  border-color: transparent;
}

.insight-empty-state {
  grid-column: 1 / -1;
}

.insight-source-link {
  color: #087e83;
  font-weight: 900;
  text-decoration: none;
}

.insight-source-link:hover {
  text-decoration: underline;
}

.muted-source {
  color: #7a8795;
}

.insight-visual-fallback {
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #07131c 0%, #123346 58%, #0f8a8a 100%);
}

.insight-visual-fallback span {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.insight-visual-fallback strong {
  font-size: 18px;
  line-height: 1.25;
}

.insight-visual-fallback.tone-2 {
  background: linear-gradient(135deg, #111827 0%, #244260 58%, #c89a3b 100%);
}

.insight-visual-fallback.tone-3 {
  background: linear-gradient(135deg, #0f172a 0%, #264653 56%, #d66a48 100%);
}

.insight-visual-fallback.tone-4 {
  background: linear-gradient(135deg, #06131c 0%, #1e3a5f 58%, #0ea5a8 100%);
}

.insight-editorial-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #e1d0a8;
  border-radius: 8px;
  background: #fffaf0;
}

.insight-editorial-note strong {
  color: #765313;
}

.insight-editorial-note p {
  margin: 0;
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.6;
}

body.public-route .public-hero h1 {
  font-size: 32px;
  line-height: 1.24;
}

body.public-route .briefing-head h2,
body.public-route .insight-section .section-title h2 {
  font-size: 28px;
  line-height: 1.24;
}

body.public-route .trust-head h2,
body.public-route .home-product-spectrum .section-title h2 {
  font-size: 25px;
  line-height: 1.3;
}

body.public-route .legacy-case-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

body.public-route .legacy-case-grid article {
  min-height: 0;
  padding: 15px;
}

body.public-route .legacy-case-grid strong {
  font-size: 17px;
  line-height: 1.28;
}

body.public-route .legacy-case-grid p,
body.public-route .legacy-case-grid small {
  font-size: 13px;
  line-height: 1.58;
}

body.public-route .legacy-case-grid b {
  font-size: 16px;
  line-height: 1.3;
}

@media (max-width: 1180px) {
  body.public-route .legacy-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .application-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-proof-board,
  .client-commitment-grid {
    grid-template-columns: 1fr;
  }

  .business-info-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-featured-article {
    grid-template-columns: 1fr;
  }

  .insight-featured-media {
    min-height: 260px;
  }

  .insight-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.public-route .public-hero h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  body.public-route .briefing-head h2,
  body.public-route .insight-section .section-title h2,
  body.public-route .trust-head h2,
  body.public-route .home-product-spectrum .section-title h2 {
    font-size: 22px;
    line-height: 1.32;
  }

  body.public-route .home-briefing-band,
  body.public-route .visc-trust-section,
  body.public-route .home-product-spectrum,
  body.public-route .insight-section {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  body.public-route .legacy-case-grid {
    grid-template-columns: 1fr;
  }

  .application-summary-grid {
    grid-template-columns: 1fr;
  }

  .about-proof-board {
    padding: 18px;
    background: #07131c;
  }

  .about-proof-stats,
  .business-info-panel {
    grid-template-columns: 1fr;
  }

  .insight-featured-copy {
    padding: 20px;
  }

  .insight-featured-copy h2 {
    font-size: 22px;
  }

  .insight-blog-grid,
  .insight-editorial-note {
    grid-template-columns: 1fr;
  }

  .insight-blog-card {
    grid-template-rows: 210px minmax(0, 1fr);
  }

  .insight-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .content-pagination {
    gap: 6px;
  }

  .content-pagination a,
  .content-pagination span {
    min-width: 34px;
    min-height: 34px;
    padding: 6px 8px;
  }

  .content-pagination .pagination-direction {
    min-width: 54px;
  }
}

body.public-route .public-hero {
  min-height: 404px;
}

body.public-route .public-hero-inner {
  gap: clamp(34px, 4vw, 58px);
}

body.public-route .hero-copy {
  padding-top: 36px;
}

body.public-route .public-hero h1 {
  max-width: 640px;
  font-size: 30px;
  line-height: 1.28;
}

body.public-route .public-hero .lead {
  max-width: 540px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.66;
}

body.public-route .public-hero .hero-actions {
  margin-top: 22px;
}

body.public-route .public-hero .hero-actions .btn {
  min-height: 48px;
}

body.public-route .briefing-head h2,
body.public-route .insight-section .section-title h2 {
  font-size: 26px;
  line-height: 1.28;
}

body.public-route .trust-head h2,
body.public-route .home-product-spectrum .section-title h2,
body.public-route .about-proof-copy h2 {
  font-size: 24px;
  line-height: 1.34;
}

body.public-route .home-briefing-band,
body.public-route .visc-trust-section,
body.public-route .home-product-spectrum,
body.public-route .insight-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

body.public-route .briefing-grid article,
body.public-route .trust-proof-grid article,
body.public-route .home-product-card,
body.public-route .path-panel,
body.public-route .about-proof-board,
body.public-route .client-commitment-grid article {
  border-radius: 7px;
}

body.public-route .insight-card {
  height: 204px;
  min-height: 204px;
}

body.public-route .insight-thumb {
  height: 126px;
  min-height: 126px;
}

body.public-route .insight-body {
  padding: 10px 14px 11px;
}

body.public-route .insight-body span {
  top: 114px;
}

body.public-route .insight-body h3 {
  min-height: 36px;
  font-size: 14px;
  line-height: 1.34;
}

body.public-route .home-product-card {
  min-height: 240px;
  padding: 22px;
}

body.public-route .home-product-card h3 {
  font-size: 21px;
  line-height: 1.25;
}

body.public-route .home-product-card p,
body.public-route .home-product-card strong {
  font-size: 13px;
  line-height: 1.6;
}

body.public-route .market-dashboard {
  width: min(100%, 660px);
}

body.public-route .market-indexes div {
  min-height: 54px;
}

body.public-route .market-tabs {
  min-height: 44px;
}

@media (max-width: 760px) {
  body.public-route .public-hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  body.public-route .hero-copy {
    padding-top: 0;
  }

  body.public-route .public-hero h1 {
    font-size: 24px;
    line-height: 1.32;
  }

  body.public-route .briefing-head h2,
  body.public-route .insight-section .section-title h2,
  body.public-route .trust-head h2,
  body.public-route .home-product-spectrum .section-title h2,
  body.public-route .about-proof-copy h2 {
    font-size: 21px;
    line-height: 1.34;
  }

  body.public-route .insight-card {
    height: auto;
    min-height: 0;
  }

  body.public-route .insight-thumb {
    height: 144px;
    min-height: 144px;
  }

  body.public-route .insight-body span {
    top: 132px;
  }

  body.public-route .home-product-card {
    min-height: 0;
    padding: 18px;
  }
}

@media (max-width: 760px) {
  body.public-route .page-title h1,
  body.public-route .product-category-card strong,
  body.public-route .product-list-card h3,
  body.public-route .system-section h2,
  body.public-route .system-section .section-title h2 {
    overflow-wrap: anywhere;
  }

  body.public-route .product-page-section .section-inner,
  body.public-route .system-section .section-inner {
    gap: 22px;
  }

  body.public-route .product-category-grid,
  body.public-route .system-hero-strip,
  body.public-route .tax-signal-grid,
  body.public-route .execution-steps,
  body.public-route .advisor-checklist-grid,
  body.public-route .case-library-grid,
  body.public-route .reference-matrix,
  body.public-route .application-summary-grid,
  body.public-route .member-summary-grid,
  body.public-route .support-guide-grid,
  body.public-route .support-layout,
  body.public-route .mypage-section .split-view {
    grid-template-columns: 1fr;
  }

  body.public-route .product-category-card,
  body.public-route .product-category-card.featured {
    min-height: 0;
    padding: 18px;
  }

  body.public-route .product-category-card.featured::after {
    right: 18px;
    bottom: 18px;
    width: 96px;
    height: 36px;
    opacity: 0.44;
  }

  body.public-route .product-category-card strong {
    font-size: 21px;
    line-height: 1.28;
  }

  body.public-route .product-category-card p,
  body.public-route .product-category-card em,
  body.public-route .product-list-card p,
  body.public-route .legal-note {
    font-size: 13px;
    line-height: 1.62;
  }

  body.public-route .product-card-footer,
  body.public-route .panel-heading-row,
  body.public-route .mypage-application-row {
    align-items: stretch;
    flex-direction: column;
  }

  body.public-route .product-card-footer .btn,
  body.public-route .panel-heading-row .btn,
  body.public-route .mypage-application-row .btn {
    width: 100%;
  }

  body.admin-body .admin-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    padding: 10px;
  }

  body.admin-body .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    height: auto;
    min-height: 0;
    padding: 12px;
  }

  body.admin-body .admin-topmeta,
  body.admin-body .admin-session-meta {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  body.admin-body .admin-kpis,
  body.admin-body .admin-filters,
  body.admin-body .admin-bottom-grid,
  body.admin-body .admin-content-grid,
  body.admin-body .stats-metric-grid,
  body.admin-body .ops-attention-grid,
  body.admin-body .member-ops-summary,
  body.admin-body .identity-review-summary,
  body.admin-body .member-history-grid,
  body.admin-body .application-summary-grid,
  body.admin-body .product-type-guide,
  body.admin-body .admin-form-grid {
    grid-template-columns: 1fr;
  }

  body.admin-body .admin-tabs,
  body.admin-body .admin-filters,
  body.admin-body .admin-table-wrap,
  body.admin-body .admin-export-toolbar {
    margin-right: 12px;
    margin-left: 12px;
  }

  body.admin-body .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.admin-body .admin-table-wrap table {
    min-width: 720px;
  }

  body.admin-body .member-admin-table table,
  body.admin-body .application-admin-table table,
  body.admin-body .product-admin-table table,
  body.admin-body .consultation-admin-table table {
    min-width: 860px;
  }

  body.admin-body .admin-panel-head,
  body.admin-body .admin-card,
  body.admin-body .admin-detail-panel {
    padding: 14px;
  }

  body.admin-body .admin-panel-head h2,
  body.admin-body .admin-detail-panel h2 {
    font-size: 18px;
    line-height: 1.3;
  }

  body.admin-body .detail-profile,
  body.admin-body .detail-actions,
  body.admin-body .admin-row-actions,
  body.admin-body .inline-form {
    align-items: stretch;
    flex-direction: column;
  }

  body.admin-body .detail-list {
    grid-template-columns: 1fr;
  }

  body.admin-body .inline-form input,
  body.admin-body .inline-form select,
  body.admin-body .inline-form textarea,
  body.admin-body .inline-form .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body.public-route .public-hero h1,
  body.public-route .page-title h1 {
    font-size: 22px;
    line-height: 1.34;
  }

  body.public-route .btn {
    width: 100%;
    min-height: 42px;
  }

  body.public-route .product-category-card span,
  body.public-route .category-chip,
  body.public-route .status-pill {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  body.admin-body .admin-brand strong {
    font-size: 24px;
  }

  body.admin-body .admin-tabs {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body.admin-body .admin-tabs a,
  body.admin-body .btn,
  body.admin-body .icon-btn,
  body.admin-body .btn.small {
    min-height: 34px;
  }

  body.admin-body .admin-kpis article,
  body.admin-body .application-summary-grid article,
  body.admin-body .member-ops-summary article,
  body.admin-body .ops-attention-card {
    min-height: 0;
  }
}

.tax-page-section .section-inner {
  display: grid;
  gap: 24px;
}

.tax-page-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.tax-page-lead > div,
.tax-page-lead aside,
.tax-result-guide,
.tax-page-reference,
.tax-page-cta {
  border: 1px solid #dde7ed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(9, 24, 36, 0.07);
}

.tax-page-lead > div {
  padding: 24px;
}

.tax-page-lead span,
.tax-result-guide strong,
.tax-page-cta span {
  color: #087e83;
  font-size: 12px;
  font-weight: 900;
}

.tax-page-lead h2,
.tax-result-guide h2,
.tax-page-reference h2,
.tax-page-cta h2 {
  margin: 8px 0 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.3;
}

.tax-page-lead p,
.tax-result-guide p,
.tax-page-cta p {
  margin: 12px 0 0;
  color: #536273;
  font-size: 14px;
  line-height: 1.7;
}

.tax-page-lead aside {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #06131c 0%, #102f3a 58%, #0f8a8a 100%);
}

.tax-page-lead aside strong {
  color: #f2cf87;
  font-size: 13px;
}

.tax-page-lead aside span {
  color: rgba(255, 255, 255, 0.82);
}

.tax-page-lead aside b {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
}

.tax-page-lead aside small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.tax-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tax-page-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #dfe8ee;
  border-radius: 8px;
  background: #ffffff;
}

.tax-page-grid span {
  color: #c08a22;
  font-size: 12px;
  font-weight: 900;
}

.tax-page-grid strong {
  color: #0f172a;
  font-size: 17px;
  line-height: 1.35;
}

.tax-page-grid p {
  margin: 0;
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.62;
}

.tax-result-guide {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.tax-result-guide ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tax-result-guide li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid #e4edf3;
  border-radius: 7px;
  background: #f8fbfd;
}

.tax-result-guide span {
  color: #4d5b6b;
  font-size: 13px;
  line-height: 1.55;
}

.tax-page-reference {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.tax-page-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #fffaf0;
  border-color: #ead39d;
}

@media (max-width: 980px) {
  .tax-page-lead,
  .tax-result-guide,
  .tax-page-cta {
    grid-template-columns: 1fr;
  }

  .tax-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tax-page-lead > div,
  .tax-page-lead aside,
  .tax-result-guide,
  .tax-page-reference,
  .tax-page-cta,
  .tax-page-grid article {
    padding: 16px;
  }

  .tax-page-lead h2,
  .tax-result-guide h2,
  .tax-page-reference h2,
  .tax-page-cta h2 {
    font-size: 21px;
    overflow-wrap: anywhere;
  }

  .tax-page-grid,
  .tax-result-guide li {
    grid-template-columns: 1fr;
  }

  .tax-page-cta .btn {
    width: 100%;
  }
}

.consult-section .section-inner {
  display: grid;
  gap: 20px;
}

.consult-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.consult-service-grid article,
.consult-sent-panel {
  border: 1px solid #dfe8ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(9, 24, 36, 0.07);
}

.consult-service-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.consult-service-grid span,
.consult-sent-panel span,
.consult-receipt-box strong {
  color: #087e83;
  font-size: 12px;
  font-weight: 900;
}

.consult-service-grid strong {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
}

.consult-service-grid p,
.consult-sent-panel p,
.consult-receipt-box small {
  margin: 0;
  color: #596879;
  font-size: 13px;
  line-height: 1.62;
}

.consult-form-card {
  display: grid;
  gap: 14px;
}

.privacy-consent-field {
  gap: 8px;
  padding: 14px 16px;
  background: #f5fbfb;
  border: 1px solid #cce8e8;
  border-radius: 10px;
}

.privacy-consent-field > label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  cursor: pointer;
}

.field.privacy-consent-field > label input[type="checkbox"] {
  box-sizing: border-box;
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--teal);
  border-radius: 4px;
}

.privacy-consent-field > p {
  margin: 0;
  color: #586875;
  font-size: 12px;
  line-height: 1.6;
}

.consult-form-error {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #efc5c0;
  border-radius: 7px;
  background: #fff7f6;
}

.consult-form-error strong {
  color: #9f2d22;
  font-size: 14px;
}

.consult-form-error p {
  margin: 0;
  color: #6f2f28;
  font-size: 13px;
  line-height: 1.55;
}

.consult-sent-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f3fbfa 100%);
}

.consult-sent-panel h2 {
  margin: 6px 0 8px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.3;
}

.consult-receipt-box {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid #b7e5df;
  border-radius: 8px;
  background: #effdfb;
}

.consult-receipt-box b {
  color: #0f172a;
  font-size: 21px;
  line-height: 1.2;
}

.consult-next-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consult-next-steps li {
  padding: 13px;
  border: 1px solid #e2ebf1;
  border-radius: 7px;
  background: #ffffff;
}

.consult-next-steps strong,
.consult-next-steps span {
  display: block;
}

.consult-next-steps strong {
  color: #a4741f;
  font-size: 12px;
}

.consult-next-steps span {
  margin-top: 5px;
  color: #4f5e70;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .consult-service-grid,
  .consult-sent-panel,
  .consult-next-steps {
    grid-template-columns: 1fr;
  }

  .consult-sent-panel {
    padding: 16px;
  }

  .consult-sent-panel .btn {
    width: 100%;
  }
}

body.public-route .floating-actions {
  position: fixed;
  top: 50%;
  right: clamp(14px, 1.5vw, 24px);
  bottom: auto;
  left: auto;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr;
  width: 72px;
  gap: 10px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body.public-route .floating-actions a,
body.public-route .floating-actions a:nth-child(3) {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  min-width: 72px;
  height: 72px;
  min-height: 72px;
  gap: 5px;
  padding: 7px 6px;
  color: #ffffff;
  text-align: center;
  background: rgba(5, 23, 37, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(5, 18, 31, 0.2);
}

body.public-route .floating-actions a:first-child {
  background: rgba(7, 32, 51, 0.97);
}

body.public-route .floating-actions a:nth-child(2) {
  background: #078f91;
}

body.public-route .floating-actions a:nth-child(3) {
  background: rgba(19, 36, 51, 0.94);
}

body.public-route .floating-actions a span,
body.public-route .floating-actions a:nth-child(3) span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #071522;
  background: linear-gradient(135deg, #f1d895, #d3aa51);
  border: 0;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

body.public-route .floating-actions a:nth-child(3) span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

body.public-route .floating-actions strong,
body.public-route .floating-actions a:nth-child(3) strong {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  font-size: 11px;
  line-height: 1.15;
}

body.public-route .floating-actions a:hover {
  transform: translateX(-3px);
  box-shadow: 0 14px 28px rgba(5, 18, 31, 0.26);
}

@media (min-width: 761px) and (max-width: 1480px) {
  body.public-route .floating-actions {
    right: 12px;
    width: 64px;
  }

  body.public-route .floating-actions a,
  body.public-route .floating-actions a:nth-child(3) {
    width: 64px;
    min-width: 64px;
    height: 66px;
    min-height: 66px;
  }
}

@media (max-width: 760px) {
  body.public-route .floating-actions {
    top: auto;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(calc(100% - 24px), 340px);
    gap: 6px;
    padding: 6px;
    transform: translateX(-50%);
    background: rgba(7, 21, 33, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(7, 17, 28, 0.25);
    backdrop-filter: blur(12px);
  }

  body.public-route .floating-actions a,
  body.public-route .floating-actions a:nth-child(3) {
    flex-direction: row;
    width: auto;
    min-width: 0;
    height: 50px;
    min-height: 50px;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 13px;
    box-shadow: none;
  }

  body.public-route .floating-actions a span,
  body.public-route .floating-actions a:nth-child(3) span {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
  }

  body.public-route .floating-actions strong,
  body.public-route .floating-actions a:nth-child(3) strong {
    text-align: left;
    font-size: 10.5px;
  }
}

@media (max-width: 480px) {
  body.public-route .floating-actions {
    display: grid;
    width: calc(100% - 16px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  body.admin-body .application-product-summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

}

/* Member-grouped application and contract lists */
body.admin-body .application-admin-table .application-member-group td {
  padding: 12px 0 0;
  border: 0;
  background: #eef4f6;
}

body.admin-body .application-member-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 13px;
  border: 1px solid #b9dadd;
  border-left: 5px solid #078f95;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(100deg, #e6f7f6 0%, #f5fbfb 58%, #ffffff 100%);
  box-shadow: 0 7px 18px rgba(10, 48, 61, 0.07);
}

body.admin-body .application-member-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  color: #fff;
  background: #087f85;
  font-size: 14px;
  font-weight: 900;
}

body.admin-body .application-member-identity {
  display: grid;
  grid-template-columns: minmax(0, auto);
  align-items: baseline;
  gap: 2px 8px;
  min-width: 0;
}

body.admin-body .application-member-identity > span {
  color: #5d757e;
  font-size: 10px;
  font-weight: 900;
}

body.admin-body .application-member-identity > strong {
  color: #0b3441;
  font-size: 15px;
}

body.admin-body .application-member-identity > small {
  grid-column: 1 / -1;
  color: #607983;
  overflow-wrap: anywhere;
}

body.admin-body .application-member-contract-count {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid #b9dadd;
  border-radius: 999px;
  color: #48646e;
  background: #fff;
  font-size: 11px;
  white-space: nowrap;
}

body.admin-body .application-member-contract-count strong {
  color: #067b82;
}

body.admin-body .product-visibility-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 14px;
  margin-right: 6px;
  color: #087f85;
  vertical-align: -2px;
}

body.admin-body .product-visibility-icon::before {
  content: "";
  width: 15px;
  height: 10px;
  border: 1.8px solid currentColor;
  border-radius: 75% 20%;
  background: radial-gradient(circle at center, currentColor 0 2px, transparent 2.4px);
  transform: rotate(45deg);
}

body.admin-body .product-visibility-icon.fa-eye-slash {
  color: #a24444;
}

body.admin-body .product-visibility-icon.fa-eye-slash::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(-43deg);
  box-shadow: 0 0 0 1.5px #fff;
}

body.admin-body .application-admin-table .application-list-row {
  position: relative;
  border-right: 1px solid #d5e4e7;
  border-left: 1px solid #d5e4e7;
}

body.admin-body .application-admin-table .application-list-row.application-contract-entry {
  border-left: 4px solid #07969c;
}

body.admin-body .application-admin-table .application-list-row.application-contract-entry:not(.application-member-first) {
  margin-top: 8px;
  border-top: 2px solid #b9dadd;
}

body.admin-body .application-admin-table .application-list-row.application-member-last {
  margin-bottom: 10px;
  border-bottom: 1px solid #c8dcdf;
  box-shadow: 0 8px 18px rgba(10, 48, 61, 0.05);
}

@media (max-width: 760px) {
  body.admin-body .application-admin-table tbody {
    gap: 0;
  }

  body.admin-body .application-admin-table .application-member-group {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.admin-body .application-admin-table .application-member-group td {
    display: block;
    width: 100%;
    padding: 12px 0 0;
    border: 0;
  }

  body.admin-body .application-admin-table .application-member-group td::before {
    content: none;
  }

  body.admin-body .application-member-group-head {
    display: block;
    overflow: hidden;
    padding: 9px 10px;
  }

  body.admin-body .application-member-avatar {
    float: left;
    margin-right: 10px;
  }

  body.admin-body .application-member-identity {
    display: block;
    min-width: 0;
    margin-left: 44px;
  }

  body.admin-body .application-member-identity > span,
  body.admin-body .application-member-identity > strong,
  body.admin-body .application-member-identity > small {
    display: block;
  }

  body.admin-body .application-member-identity > strong {
    white-space: nowrap;
  }

  body.admin-body .application-member-contract-count {
    display: inline-block;
    margin: 7px 0 0 44px;
  }

  body.admin-body .application-admin-table .application-list-row {
    border-radius: 0;
  }

  body.admin-body .application-admin-table .application-list-row.application-member-last {
    margin-bottom: 12px;
    border-radius: 0 0 12px 12px;
  }
}

/* Keep the admin workspace beside its navigation through tablet widths.
   Earlier responsive sections collapsed the shell at 1180px while the
   sidebar still used its full desktop height, temporarily pushing the whole
   workspace below the menu around the breakpoint. */
@media (min-width: 761px) and (max-width: 1180px) {
  body.admin-body .admin-shell {
    grid-template-columns: 188px minmax(0, 1fr);
  }

  body.admin-body .admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: 100vh;
  }
}

@media (max-width: 760px) {
  body.admin-body .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  body.admin-body .admin-sidebar {
    position: relative;
    height: auto;
    max-height: none;
  }
}

@media (max-width: 480px) {
  body.admin-body .application-member-group-head {
    gap: 8px 10px;
  }
}

/* Compact application summary beside the workflow controls */
body.admin-body .application-admin-table table {
  min-width: 980px;
  table-layout: auto;
}

body.admin-body .application-admin-table thead tr,
body.admin-body .application-admin-table .application-list-row {
  display: grid;
  grid-template-columns: minmax(340px, 34fr) minmax(520px, 66fr);
}

body.admin-body .application-admin-actions-heading {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-align: right;
}

body.admin-body .application-csv-export {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 5px 10px;
  font-size: 11px;
}

body.admin-body .application-table-footer {
  margin-top: 10px;
}

body.admin-body .application-admin-table .application-summary-cell,
body.admin-body .application-admin-table .application-management-cell {
  vertical-align: top;
}

body.admin-body .application-admin-table .application-summary-cell {
  padding: 10px;
  background: #f8fbfc;
}

body.admin-body .application-row-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: repeat(3, minmax(54px, 1fr));
  gap: 8px;
  align-content: start;
  height: 100%;
}

body.admin-body .application-summary-item {
  display: grid;
  gap: 3px;
  align-content: center;
  min-width: 0;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid #dbe7eb;
  border-radius: 8px;
  background: #fff;
}

body.admin-body .application-summary-item > span:first-child {
  color: #71818a;
  font-size: 10px;
  font-weight: 900;
}

body.admin-body .application-summary-item > strong,
body.admin-body .application-summary-item > div > strong {
  color: #102f3d;
}

body.admin-body .application-summary-item small {
  display: block;
  margin-top: 2px;
  color: #657983;
  overflow-wrap: anywhere;
}

body.admin-body .application-summary-item .application-product-summary {
  min-width: 0;
}

body.admin-body .application-summary-item .admin-application-info {
  max-width: 100%;
}

body.admin-body .application-summary-item .admin-application-info > summary {
  max-width: 100%;
}

@media (max-width: 760px) {
  body.admin-body .application-admin-table table {
    min-width: 0;
    table-layout: auto;
  }

  body.admin-body .application-admin-table .application-list-row {
    grid-template-columns: 1fr;
  }

  body.admin-body .application-admin-table .application-summary-cell,
  body.admin-body .application-admin-table .application-management-cell {
    display: block;
    width: 100%;
    padding: 8px 4px;
  }

  body.admin-body .application-admin-table .application-summary-cell {
    height: auto;
  }

  body.admin-body .application-row-summary {
    grid-template-rows: none;
    height: auto;
  }

  body.admin-body .application-admin-table .application-summary-cell::before {
    content: none;
  }

  body.admin-body .application-admin-table .application-management-cell::before {
    display: block;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  body.admin-body .application-row-summary {
    grid-template-columns: 1fr;
  }

  body.admin-body .application-product-summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* In-card stage uploads and clearer contract identity */
body.admin-body .admin-stage-groups > section {
  position: relative;
  overflow: visible;
  padding: 9px 10px;
}

body.admin-body .admin-stage-groups > .admin-contract-stage-group {
  border-left: 4px solid #07969c;
  background: linear-gradient(90deg, #f4fbfb 0, #fff 22%);
}

body.admin-body .admin-stage-groups > .admin-investment-stage-group {
  border-left: 4px solid #d6a53b;
  background: linear-gradient(90deg, #fffaf0 0, #fff 22%);
}


body.admin-body .admin-stage-item {
  position: relative;
  display: block;
}

body.admin-body .admin-stage-button {
  min-height: 52px;
  padding: 6px 76px 6px 7px;
}

body.admin-body .admin-stage-tool {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: 7px;
  bottom: auto;
  min-width: 0;
  transform: translateY(-50%);
}

body.admin-body .admin-stage-tool > summary {
  position: relative;
  min-height: 18px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 9px;
  line-height: 16px;
}

body.admin-body .admin-stage-groups header {
  align-items: center;
  margin-bottom: 6px;
}

body.admin-body .application-contract-number strong {
  color: #075f68;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

body.admin-body .application-record-display {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: start;
}

body.admin-body .application-record-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 3px;
}

body.admin-body .application-record-actions .application-delete-form {
  margin: 0;
}

body.admin-body .application-record-edit {
  align-self: start;
  appearance: none;
  border: 1px solid #b9d8dd;
  border-radius: 5px;
  background: #f3fbfc;
  padding: 2px 5px;
  color: #087881;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.3;
  cursor: pointer;
}

body.admin-body .application-record-form {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(112px, 0.75fr);
  gap: 5px;
  align-items: end;
}

body.admin-body .application-record-form[hidden] {
  display: none;
}

body.admin-body .application-record-form label {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #657983;
  font-size: 9px;
  font-weight: 800;
}

body.admin-body .application-record-form input {
  width: 100%;
  min-width: 0;
  height: 27px;
  border: 1px solid #b9d1d8;
  border-radius: 5px;
  padding: 4px 6px;
  background: #fff;
  font-size: 10px;
}

body.admin-body .application-record-form-actions {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  gap: 4px;
}

body.admin-body .application-record-form-actions button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 1px 3px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

body.admin-body .application-record-save {
  color: #087881;
}

body.admin-body .application-record-cancel {
  color: #697981;
}

body.admin-body .application-delete-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 2px 2px 0 0;
  padding: 0;
  border: 0;
}

body.admin-body .application-delete-form .application-delete-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 2px 3px;
  color: #98716e;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

body.admin-body .application-delete-form .application-delete-link:hover,
body.admin-body .application-delete-form .application-delete-link:focus-visible {
  color: #b42318;
}

body.admin-body .admin-stage-tool > summary::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 30;
  width: max-content;
  max-width: 250px;
  padding: 5px 7px;
  border-radius: 6px;
  background: #082c3a;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
  box-shadow: 0 7px 16px rgba(8, 44, 58, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(3px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}

body.admin-body .admin-stage-tool > summary:hover::after,
body.admin-body .admin-stage-tool > summary:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.admin-body .admin-stage-tool[open] > summary::after {
  opacity: 0;
  visibility: hidden;
}

body.admin-body .admin-stage-tool-panel {
  position: absolute;
  z-index: 25;
  top: calc(100% + 5px);
  right: 0;
  width: 310px;
  margin-top: 0;
  box-shadow: 0 12px 28px rgba(8, 44, 58, 0.2);
}

body.admin-body .admin-stage-item:first-child .admin-stage-tool-panel {
  right: auto;
  left: 0;
}

@media (max-width: 640px) {
  body.admin-body .member-investment-create form {
    grid-template-columns: 1fr;
  }

  body.admin-body .admin-stage-button {
    padding-right: 68px;
  }

  body.admin-body .admin-stage-tool-panel {
    width: min(280px, calc(100vw - 96px));
  }

  body.admin-body .application-delete-form {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* Keep protected product pages on the same GNB theme as public pages. */
body.public-header-route .site-header {
  min-height: 60px;
  padding: 0 clamp(32px, 3.5vw, 56px);
  color: #f8fafc;
  background: rgba(3, 7, 10, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

body.public-header-route .brand-word {
  color: #fff;
  letter-spacing: 0;
}

body.public-header-route .brand small {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

body.public-header-route .main-nav {
  gap: clamp(22px, 2.5vw, 42px);
}

body.public-header-route .main-nav > a,
body.public-header-route .main-nav .nav-group > summary {
  min-height: 36px;
  padding: 8px 9px;
  color: #f2f6fa;
  background: transparent;
  border-color: transparent;
  font-size: 13px;
  font-weight: 850;
}

body.public-header-route .main-nav > a:hover,
body.public-header-route .main-nav .nav-group > summary:hover,
body.public-header-route .main-nav .nav-group[open] > summary {
  color: #35d0c6;
  background: rgba(255, 255, 255, 0.08);
}

body.public-header-route .main-nav .nav-submenu,
body.public-header-route .account-dropdown {
  border-color: rgba(255, 255, 255, 0.12);
  background: #0b1925;
}

body.public-header-route .main-nav .nav-submenu a,
body.public-header-route .account-dropdown a {
  color: #eef5f7;
  background: transparent;
}

body.public-header-route .main-nav .nav-submenu a:hover,
body.public-header-route .account-dropdown a:hover {
  color: #46d8cf;
  background: rgba(255, 255, 255, 0.08);
}

body.public-header-route .header-actions .btn {
  min-height: 36px;
  padding: 9px 20px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-size: 13px;
}

body.public-header-route .account-status {
  color: #9fb3bd;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.account-menu > summary {
  gap: 7px;
  align-items: center;
}

.account-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 16px;
  height: 16px;
}

.account-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  body.public-header-route .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  body.public-header-route .mobile-toggle {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
  }

  body.public-header-route .mobile-toggle span {
    background: #fff;
  }
}

.main-nav > a,
.main-nav .nav-group > summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
}

.main-nav .nav-group {
  position: relative;
}

.main-nav .nav-group > summary {
  gap: 6px;
  padding: 12px 13px;
  color: #344054;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.main-nav .nav-group > summary::-webkit-details-marker,
.account-menu > summary::-webkit-details-marker {
  display: none;
}

.main-nav .nav-group > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  align-self: center;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.main-nav .nav-group[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.main-nav .nav-group > summary:hover,
.main-nav .nav-group[open] > summary {
  color: var(--teal-dark);
  background: #eaf6f6;
}

.main-nav .nav-submenu,
.account-dropdown {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 8px;
  border: 1px solid #d9e4e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(7, 25, 38, 0.18);
}

.main-nav .nav-submenu {
  left: 50%;
  transform: translateX(-50%);
}

.main-nav .nav-submenu a,
.account-dropdown a {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 9px 10px;
  color: #263944;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.main-nav .nav-submenu a:hover,
.account-dropdown a:hover {
  color: #086f75;
  background: #eaf7f6;
}

body.public-route .main-nav .nav-group > summary {
  min-height: 36px;
  padding: 8px 9px;
  color: #f2f6fa;
  font-size: 13px;
}

body.public-route .main-nav .nav-group > summary:hover,
body.public-route .main-nav .nav-group[open] > summary {
  color: #35d0c6;
  background: rgba(255, 255, 255, 0.08);
}

body.public-route .main-nav .nav-submenu,
body.public-route .account-dropdown {
  border-color: rgba(255, 255, 255, 0.12);
  background: #0b1925;
}

body.public-route .main-nav .nav-submenu a,
body.public-route .account-dropdown a {
  color: #eef5f7;
  background: transparent;
}

body.public-route .main-nav .nav-submenu a:hover,
body.public-route .account-dropdown a:hover {
  color: #46d8cf;
  background: rgba(255, 255, 255, 0.08);
}

.account-menu {
  position: relative;
}

.account-menu > summary {
  cursor: pointer;
  list-style: none;
}

.account-dropdown {
  right: 0;
  min-width: 170px;
}

.account-status {
  display: block;
  padding: 7px 10px;
  color: #73828b;
  border-bottom: 1px solid #e4ecef;
  font-size: 11px;
  font-weight: 800;
}

body.public-route .account-status {
  color: #9fb3bd;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.investments-page-shell {
  display: grid;
  gap: 24px;
}

.investment-discovery {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #cfe4e4;
  border-radius: 12px;
  background: linear-gradient(135deg, #edfafa, #fffaf0);
}

.investment-discovery-head,
.investment-history-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.investment-discovery-head span,
.investment-history-head span {
  color: #088a88;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.investment-discovery-head h2,
.investment-history-head h2 {
  margin: 4px 0;
  color: #0b1724;
  font-size: 22px;
}

.investment-discovery-head p {
  margin: 0;
  color: #5c6d75;
}

.investment-new-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.investment-new-product-card {
  display: flex;
  min-width: 0;
  min-height: 180px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #dce7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(8, 40, 53, 0.06);
}

.investment-new-product-card .meta {
  justify-content: space-between;
  margin-bottom: 8px;
}

.investment-new-product-card .meta small {
  color: #7b8990;
  font-weight: 700;
}

.investment-new-product-card h3 {
  margin: 0;
  color: #0b1724;
  font-size: 17px;
  line-height: 1.4;
}

.investment-new-product-card p {
  display: -webkit-box;
  margin: 8px 0 14px;
  overflow: hidden;
  color: #5d6d75;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.investment-new-product-card .text-link {
  margin-top: auto;
}

.investment-history-section,
.investment-history-list {
  display: grid;
  gap: 14px;
}

.investment-history-head {
  align-items: center;
  padding: 0 2px;
}

.investment-history-head > strong {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 34px;
  color: #086f75;
  background: #e9f7f6;
  border-radius: 18px;
}

.investment-history-list > .investment-card,
.investment-history-list > .empty-state {
  margin: 0;
}

.investment-history-item {
  overflow: hidden;
  border: 1px solid #d6e2e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 40, 53, 0.055);
}

.investment-history-item[open] {
  border-color: #9fcfce;
  box-shadow: 0 14px 34px rgba(8, 76, 83, 0.1);
}

.investment-history-summary {
  display: grid;
  grid-template-columns: auto minmax(220px, 1.6fr) minmax(130px, 0.7fr) minmax(130px, 0.7fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 82px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease;
}

.investment-history-summary::-webkit-details-marker {
  display: none;
}

.investment-history-summary:hover,
.investment-history-item[open] > .investment-history-summary {
  background: #f5fbfb;
}

.investment-history-summary-main,
.investment-history-summary-value,
.investment-history-summary-status {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.investment-history-summary-main > strong {
  overflow: hidden;
  color: #0b1724;
  font-size: 16px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.investment-history-summary small {
  color: #75838b;
  font-size: 11px;
  font-weight: 700;
}

.investment-history-summary-value > strong {
  color: #172936;
  font-size: 14px;
}

.investment-history-summary-status .status-pill {
  justify-self: start;
  white-space: nowrap;
}

.investment-history-summary-status > small {
  white-space: nowrap;
}

.investment-history-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #087a7a;
  font-size: 12px;
  white-space: nowrap;
}

.investment-history-toggle i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.investment-history-item[open] .investment-history-toggle i {
  transform: rotate(225deg) translate(-2px, -2px);
}

.investment-history-detail {
  padding: 0 18px 18px;
  border-top: 1px solid #e2ebee;
  background: #fbfdfd;
}

.investment-history-detail > .investment-card {
  margin: 18px 0 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  body.public-route .main-nav,
  .main-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav > a,
  .main-nav .nav-group,
  .main-nav .nav-group > summary {
    width: 100%;
  }

  .main-nav .nav-submenu,
  body.public-route .main-nav .nav-submenu {
    position: static;
    width: 100%;
    margin-top: 3px;
    transform: none;
    box-shadow: none;
  }

  .header-actions .account-menu {
    width: 100%;
  }

  .header-actions .account-menu > summary {
    width: 100%;
    justify-content: center;
  }

  .account-dropdown,
  body.public-route .account-dropdown {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

  .investment-new-product-grid {
    grid-template-columns: 1fr;
  }

  .investment-new-product-card {
    min-height: 0;
  }

  .investment-history-summary {
    grid-template-columns: auto minmax(0, 1fr) minmax(120px, auto) auto;
    gap: 12px;
  }

  .investment-history-summary-status {
    grid-column: 2 / 3;
  }

  .investment-history-toggle {
    grid-column: 4;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 640px) {
  .investment-discovery,
  .investment-card,
  .consult-history-card {
    padding: 16px;
  }

  .investment-discovery-head,
  .investment-history-head {
    display: grid;
    gap: 10px;
    align-items: start;
  }

  .investment-discovery-head .btn {
    width: 100%;
  }

  .investment-history-head > strong {
    justify-self: start;
  }

  .investment-history-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    min-height: 0;
    padding: 14px;
  }

  .investment-history-type {
    grid-column: 1;
    grid-row: 1;
  }

  .investment-history-summary-main {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .investment-history-summary-main > strong {
    white-space: normal;
  }

  .investment-history-summary-value {
    grid-column: 1 / 2;
    grid-row: 3;
  }

  .investment-history-summary-status {
    grid-column: 2 / 3;
    grid-row: 3;
    justify-self: end;
  }

  .investment-history-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .investment-history-detail {
    padding: 0 10px 10px;
  }
}

body.admin-body .application-product-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 5px;
  align-items: center;
  min-width: 170px;
}

body.admin-body .application-product-summary strong {
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body.admin-body .application-product-summary .category-chip {
  justify-self: end;
  white-space: nowrap;
}

body.admin-body .application-admin-memo {
  position: relative;
  justify-self: end;
}

body.admin-body .application-admin-memo > summary {
  min-height: 20px;
  padding: 2px 5px;
  border: 1px solid #c7dce1;
  border-radius: 5px;
  color: #176b73;
  background: #f5fafb;
  font-size: 9px;
  font-weight: 900;
  line-height: 14px;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

body.admin-body .application-admin-memo > summary::-webkit-details-marker {
  display: none;
}

body.admin-body .application-admin-memo[open] > summary {
  border-color: #07969c;
  color: #075f68;
  background: #eaf9f8;
}

body.admin-body .application-admin-memo > form {
  position: absolute;
  z-index: 40;
  top: calc(100% + 5px);
  right: 0;
  display: grid;
  gap: 7px;
  width: min(300px, calc(100vw - 80px));
  padding: 10px;
  border: 1px solid #b9dadd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 44, 58, 0.2);
}

body.admin-body .application-admin-memo label {
  display: grid;
  gap: 5px;
  color: #365966;
  font-size: 10px;
  font-weight: 900;
}

body.admin-body .application-admin-memo textarea {
  width: 100%;
  min-height: 82px;
  resize: vertical;
  border: 1px solid #cbdde3;
  border-radius: 6px;
  padding: 7px;
  color: #173743;
  background: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 480px) {
  body.admin-body .application-product-summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.admin-body .application-product-summary > strong {
    grid-column: 1 / -1;
  }

  body.admin-body .application-product-summary .category-chip {
    justify-self: start;
  }
}

body.admin-body .admin-application-info {
  position: relative;
  width: fit-content;
}

body.admin-body .admin-application-info > summary {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #cbdde3;
  border-radius: 7px;
  background: #f5fafb;
  color: #176b73;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

body.admin-body .admin-application-info > summary::-webkit-details-marker {
  display: none;
}

body.admin-body .admin-application-info > summary i {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dcecef;
  font-size: 10px;
  font-style: normal;
}

body.admin-body .admin-application-info[open] > summary {
  border-color: #07969c;
  background: #e9f8f8;
}

body.admin-body .admin-application-info-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  gap: 6px;
  width: 220px;
  padding: 9px;
  border: 1px solid #cbdde3;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 45, 58, 0.16);
}

body.admin-body .admin-application-info-title {
  color: #314b56;
  font-size: 11px;
}

body.admin-body .admin-application-info-popover .admin-application-events {
  gap: 2px;
  margin: 0;
  padding: 7px;
}

@media (max-width: 760px) {
  body.admin-body .application-admin-table {
    overflow: visible;
    border: 0;
  }

  body.admin-body .application-admin-table table,
  body.admin-body .application-admin-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body.admin-body .application-admin-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  body.admin-body .application-admin-table tbody {
    display: grid;
    gap: 12px;
  }

  body.admin-body .application-admin-table tr {
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid #dce7eb;
    border-radius: 12px;
    background: #fff;
  }

  body.admin-body .application-admin-table td,
  body.admin-body .application-admin-table td:last-child {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    width: 100%;
    min-width: 0;
    padding: 8px 4px;
    border-bottom: 1px solid #edf2f4;
  }

  body.admin-body .application-admin-table td::before {
    content: attr(data-label);
    color: #71818a;
    font-size: 11px;
    font-weight: 800;
  }

  body.admin-body .application-admin-table td:last-child {
    border-bottom: 0;
  }

  body.admin-body .application-product-summary {
    min-width: 0;
  }

  body.admin-body .admin-application-info-popover {
    position: static;
    width: min(100%, 260px);
    margin-top: 6px;
  }

  body.admin-body .application-empty-row td {
    display: block;
  }

  body.admin-body .application-empty-row td::before {
    content: none;
  }
}

/* Admin navigation, filtered workspaces, and compact workflow controls */
body.admin-body .admin-side-nav h3 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.01em;
}

body.admin-body .admin-export-toolbar {
  margin: 18px 14px 16px;
  padding: 12px 14px;
  border-radius: 8px;
}

body.admin-body .member-investment-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #9bd9d4;
  border-radius: 999px;
  background: #effafa;
  color: #087f83;
  font-weight: 900;
  text-decoration: none;
}

body.admin-body .member-investment-link:hover {
  color: #ffffff;
  background: #087f83;
}

body.admin-body .admin-dashboard-shortcuts,
body.admin-body .admin-product-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

body.admin-body .admin-dashboard-shortcuts a,
body.admin-body .admin-product-overview a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid #d9e5ea;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #f3f9fa);
  color: #263b46;
  text-decoration: none;
}

body.admin-body .admin-dashboard-shortcuts a:hover,
body.admin-body .admin-product-overview a:hover {
  border-color: #38aaa7;
  box-shadow: 0 10px 24px rgba(7, 74, 84, 0.09);
}

body.admin-body .admin-dashboard-shortcuts strong,
body.admin-body .admin-product-overview strong {
  color: #082c3a;
  font-size: 20px;
}

body.admin-body .admin-product-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.admin-body .admin-product-overview span,
body.admin-body .admin-create-product-entry strong {
  color: #087f83;
  font-weight: 900;
}

body.admin-body .admin-product-overview small,
body.admin-body .admin-dashboard-shortcuts span {
  color: #697a84;
  line-height: 1.45;
}

body.admin-body .admin-create-product-entry {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin: 18px;
  padding: 24px;
  border: 1px solid #d9e5ea;
  border-radius: 12px;
  background: #f7fbfc;
}

body.admin-body .application-admin-table table {
  min-width: 1160px;
}

body.admin-body .application-admin-table td:last-child {
  min-width: 520px;
}

body.admin-body .application-initial-review {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(94px, 118px) minmax(220px, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #d9e5ea;
  border-radius: 10px;
  background: #f7fbfc;
}

body.admin-body .application-review-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

body.admin-body .application-review-copy > span {
  color: #687a84;
  font-size: 11px;
}

body.admin-body .application-initial-review form {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
}

body.admin-body .application-initial-review .approve-application-form .btn {
  width: 100%;
  min-height: 30px;
}

body.admin-body .application-initial-review .reject-application-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 64px;
  gap: 6px;
}

body.admin-body .application-initial-review .reject-application-form input,
body.admin-body .application-initial-review .reject-application-form .btn {
  height: 30px;
}

body.admin-body .application-initial-review .reject-application-form .btn {
  width: auto;
}

body.admin-body .rejected-application-actions {
  min-width: 0;
  padding: 14px;
  border: 1px solid #efc6c2;
  border-radius: 10px;
  background: #fff7f6;
}

/* Collapsed investment operations with an optional full-screen detail view. */
body.admin-body .application-management-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: start;
}

body.admin-body .admin-application-details {
  min-width: 0;
  border: 1px solid #cfe0e5;
  border-radius: 10px;
  background: #fff;
}

body.admin-body .admin-application-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 7px 11px;
  color: #0b5962;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

body.admin-body .admin-application-details > summary::-webkit-details-marker {
  display: none;
}

body.admin-body .admin-application-details > summary i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

body.admin-body .admin-application-details[open] > summary i {
  transform: rotate(225deg) translate(-2px, -2px);
}

body.admin-body .admin-application-details-body {
  padding: 10px;
  border-top: 1px solid #e2ecef;
}

body.admin-body .application-popup-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  background: #087f85;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

body.admin-body .application-popup-button:hover {
  background: #075f68;
}

body.admin-body .admin-application-dialog-content {
  min-width: 0;
}

body.admin-body .application-stage-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

body.admin-body .admin-stage-update-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10020;
  max-width: min(360px, calc(100vw - 32px));
  padding: 11px 16px;
  border-radius: 10px;
  background: #073b43;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(4, 35, 43, .24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}

body.admin-body .admin-stage-update-notice.visible {
  opacity: 1;
  transform: translateY(0);
}

body.admin-body .admin-stage-update-notice.error {
  background: #a82c26;
}

@media (max-width: 640px) {
  body.admin-body .admin-stage-update-notice {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
    text-align: center;
  }
}

body.admin-body .application-action-required {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  border: 1px solid #e5ad43;
  border-radius: 999px;
  color: #8b4b00;
  background: #fff4cf;
  font-size: 10px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(229, 173, 67, 0.12);
}

body.admin-body .application-member-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}

body.admin-body .application-member-metrics > span {
  display: grid;
  gap: 1px;
  min-width: 94px;
  padding: 5px 9px;
  border: 1px solid #b9dadd;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

body.admin-body .application-member-metrics small {
  color: #6c8088;
  font-size: 9px;
  font-weight: 800;
}

body.admin-body .application-member-metrics strong {
  color: #075f68;
  font-size: 11px;
  white-space: nowrap;
}

/* Customer-visible investment files: preview images and keep download explicit. */
.customer-document-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-document-file {
  display: grid;
  gap: 7px;
}

.customer-document-file > b {
  overflow-wrap: anywhere;
}

.customer-document-preview {
  display: block;
  overflow: hidden;
  width: min(100%, 220px);
  border: 1px solid #cfdee4;
  border-radius: 8px;
  background: #f6fafb;
}

.customer-document-preview img {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.customer-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.customer-document-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 9px;
  border: 1px solid #a9d8d6;
  border-radius: 6px;
  color: #087b7d;
  background: #f2fbfa;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.document-empty {
  color: #71818a;
  font-weight: 700;
}

@media (max-width: 760px) {
  body.admin-body .application-member-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 6px 0 0;
  }

  body.admin-body .application-member-metrics > span {
    min-width: 0;
  }

  body.admin-body .application-management-cell::before {
    display: none;
  }

  .customer-document-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.admin-body .admin-dashboard-shortcuts,
  body.admin-body .admin-product-overview {
    grid-template-columns: 1fr;
  }

  body.admin-body .application-initial-review {
    grid-template-columns: 1fr;
  }

  body.admin-body .application-initial-review form {
    grid-column: auto;
    grid-row: auto;
  }

  body.admin-body .application-initial-review .reject-application-form {
    grid-template-columns: minmax(0, 1fr) 64px;
  }
}

/* Final alignment pass for dense administrator workspaces. */
body.admin-body .admin-kpis .kpi-total-invested strong {
  font-size: clamp(18px, 1.25vw, 22px);
  letter-spacing: -0.055em;
  white-space: nowrap;
}

body.admin-body .application-admin-filters {
  grid-template-columns: 150px 190px 160px minmax(220px, 1fr) 100px 100px;
}

body.admin-body .application-admin-filters > input[name="q"] {
  min-width: 220px;
}

body.admin-body .application-filter-result {
  align-items: center;
  min-height: 42px;
}

body.admin-body .product-list-section {
  margin-top: 14px;
}

body.admin-body .product-list-heading {
  justify-content: space-between;
  margin-bottom: 12px;
  min-height: 40px;
}

body.admin-body .product-list-heading h3 {
  margin: 0;
}

body.admin-body .product-create-button {
  flex: 0 0 auto;
  min-height: 36px;
}

body.admin-body .product-admin-table table {
  width: 100%;
  min-width: 1100px;
  table-layout: fixed;
}

body.admin-body .product-admin-table th:nth-child(1) { width: 7%; }
body.admin-body .product-admin-table th:nth-child(2) { width: 12%; }
body.admin-body .product-admin-table th:nth-child(4) { width: 9%; }
body.admin-body .product-admin-table th:nth-child(5),
body.admin-body .product-admin-table th:nth-child(6) { width: 10%; }
body.admin-body .product-admin-table th:nth-child(7) { width: 7%; }
body.admin-body .product-admin-table th:nth-child(8) { width: 13%; }

body.admin-body .product-admin-table th,
body.admin-body .product-admin-table td {
  vertical-align: middle;
}

body.admin-body .product-admin-table td:nth-child(3) strong,
body.admin-body .product-admin-table td:nth-child(3) small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.admin-body .product-admin-table td:last-child {
  white-space: nowrap;
}

body.admin-body .product-admin-table td:last-child > .inline-form,
body.admin-body .product-admin-table td:last-child > .btn {
  display: inline-flex;
  vertical-align: middle;
}

body.admin-body .benefit-grant-form {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  align-content: start;
}

body.admin-body .benefit-card-heading,
body.admin-body .benefit-member-field,
body.admin-body .benefit-grant-form > .btn {
  grid-column: 1 / -1;
}

body.admin-body .benefit-card-heading h3,
body.admin-body .benefit-card-heading p,
body.admin-body .benefit-grant-form .field {
  margin: 0;
}

body.admin-body .benefit-card-heading {
  display: grid;
  gap: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce8ec;
}

body.admin-body .benefit-card-heading p {
  color: #677b84;
  font-size: 11px;
  line-height: 1.45;
}

body.admin-body .benefit-grant-form > .btn {
  justify-self: start;
  margin-top: 2px;
}

@media (max-width: 1180px) {
  body.admin-body .application-admin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-body .application-admin-filters > input[name="q"] {
    min-width: 0;
  }

  body.admin-body .application-admin-filters .btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  body.admin-body .application-admin-filters,
  body.admin-body .benefit-grant-form {
    grid-template-columns: 1fr;
  }

  body.admin-body .benefit-card-heading,
  body.admin-body .benefit-member-field,
  body.admin-body .benefit-grant-form > .btn {
    grid-column: auto;
  }

  body.admin-body .product-list-heading {
    align-items: stretch;
    flex-direction: column;
  }

  body.admin-body .product-create-button {
    width: 100%;
  }
}

/* Editorial photography and the public-data board */
.editorial-visual {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 16, 27, 0.12);
  border-radius: 10px;
  background: #eaf0f3;
  box-shadow: 0 18px 42px rgba(9, 24, 36, 0.1);
}

.editorial-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 17, 27, 0.72) 0%, rgba(5, 17, 27, 0.28) 33%, transparent 62%);
  content: "";
  pointer-events: none;
}

.editorial-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.editorial-visual figcaption {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: 30px;
  display: grid;
  gap: 8px;
  width: min(470px, calc(100% - 60px));
  color: #ffffff;
}

.editorial-visual figcaption span {
  color: #73eadf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.editorial-visual figcaption strong {
  font-size: 22px;
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.about-editorial-visual {
  margin: 4px 0 26px;
}

.ceo-message-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  overflow: hidden;
  border: 1px solid #d9e4e9;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(9, 24, 36, 0.08);
}

.ceo-message-copy {
  display: grid;
  align-content: center;
  gap: 13px;
  padding: clamp(28px, 4vw, 54px);
}

.ceo-message-copy > span {
  color: #087e83;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ceo-message-copy h2 {
  max-width: 720px;
  margin: 0 0 5px;
  color: #0b1a28;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.35;
}

.ceo-message-copy p {
  max-width: 760px;
  margin: 0;
  color: #536273;
  font-size: 15px;
  line-height: 1.8;
}

.ceo-signature {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #e5ecef;
}

.ceo-signature > div {
  display: grid;
  gap: 4px;
}

.ceo-signature small {
  color: #6d7a88;
  font-size: 12px;
}

.ceo-signature strong {
  color: #101f2d;
  font-size: 20px;
}

.ceo-signature img {
  width: 145px;
  height: auto;
  mix-blend-mode: multiply;
}

.ceo-portrait {
  position: relative;
  display: grid;
  min-height: 570px;
  margin: 0;
  place-items: end center;
  overflow: hidden;
  background: linear-gradient(145deg, #e7f1f2 0%, #d8e7eb 58%, #bdd3d9 100%);
}

.ceo-portrait::before {
  position: absolute;
  top: 44px;
  right: -55px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(8, 126, 131, 0.2);
  border-radius: 50%;
  content: "";
}

.ceo-portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 464px);
  height: auto;
}

.ceo-portrait figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  display: grid;
  gap: 2px;
  min-width: 128px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(7, 24, 36, 0.8);
  backdrop-filter: blur(8px);
}

.ceo-portrait figcaption strong {
  font-size: 16px;
}

.ceo-portrait figcaption span {
  font-size: 11px;
}

.service-editorial-visual {
  margin-bottom: 22px;
}

.tax-editorial-visual {
  margin-top: 2px;
}

.tax-editorial-visual::after {
  background: linear-gradient(270deg, rgba(5, 17, 27, 0.76) 0%, rgba(5, 17, 27, 0.3) 35%, transparent 64%);
}

.tax-editorial-visual figcaption {
  right: 30px;
  left: auto;
  text-align: right;
}

.system-editorial-visual {
  min-height: 340px;
  margin: 8px 0 24px;
}

.system-editorial-visual img {
  min-height: 340px;
  object-position: center center;
}

.insights-market-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #d7e5e8;
  border-radius: 10px;
  background: linear-gradient(145deg, #f4f9f9 0%, #ffffff 52%, #eef5f7 100%);
  box-shadow: 0 18px 44px rgba(9, 24, 36, 0.07);
}

.insights-market-copy {
  display: grid;
  gap: 8px;
  max-width: 820px;
}

.insights-market-copy > span {
  color: #087e83;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.insights-market-copy h2 {
  margin: 0;
  color: #07131f;
  font-size: 25px;
  line-height: 1.3;
}

.insights-market-copy p {
  margin: 0;
  color: #5b6877;
  font-size: 14px;
  line-height: 1.68;
}

body.public-route .insights-market-panel .market-dashboard {
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (max-width: 760px) {
  .editorial-visual,
  .editorial-visual img {
    min-height: 250px;
  }

  .editorial-visual img {
    object-position: 62% center;
  }

  .editorial-visual::after,
  .tax-editorial-visual::after {
    background: linear-gradient(0deg, rgba(5, 17, 27, 0.86) 0%, rgba(5, 17, 27, 0.2) 62%, transparent 100%);
  }

  .editorial-visual figcaption,
  .tax-editorial-visual figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: auto;
    text-align: left;
  }

  .editorial-visual figcaption strong {
    font-size: 18px;
  }

  .system-editorial-visual,
  .system-editorial-visual img {
    min-height: 270px;
  }

  .system-editorial-visual img {
    object-position: 68% center;
  }

  .insights-market-panel {
    padding: 14px;
  }

  .insights-market-copy h2 {
    font-size: 21px;
  }

  .ceo-message-panel {
    grid-template-columns: 1fr;
  }

  .ceo-message-copy {
    padding: 24px 20px;
  }

  .ceo-message-copy h2 {
    font-size: 24px;
  }

  .ceo-message-copy p {
    font-size: 14px;
  }

  .ceo-signature {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ceo-portrait {
    min-height: 430px;
  }

  .ceo-portrait img {
    width: min(92%, 390px);
  }
}

/* Restored homepage information architecture */
.home-metric-return {
  position: relative;
  z-index: 2;
  margin-top: -26px;
}

.home-metric-return .section-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  padding: 0;
  border: 1px solid #dbe5eb;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(9, 24, 36, 0.12);
}

.home-metric-return article {
  min-height: 146px;
  padding: 22px;
  border-right: 1px solid #e4eaef;
}

.home-metric-return article:last-child {
  border-right: 0;
}

.home-metric-return span,
.home-tax-band-grid span,
.home-case-return-grid span,
.home-consult-return span {
  color: #087e83;
  font-size: 12px;
  font-weight: 900;
}

.home-metric-return strong {
  display: block;
  margin-top: 10px;
  color: #07131f;
  font-size: 25px;
  line-height: 1.2;
}

.home-metric-return p {
  margin: 10px 0 0;
  color: #637080;
  font-size: 13px;
  line-height: 1.58;
}

.home-tax-return {
  background: linear-gradient(180deg, #f2f7f8 0%, #ffffff 100%);
}

.home-tax-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-tax-band-grid article {
  min-height: 176px;
  padding: 22px;
  border: 1px solid #d9e4ea;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(9, 24, 36, 0.06);
}

.home-tax-band-grid article.primary {
  color: #ffffff;
  border-color: #153b46;
  background: linear-gradient(140deg, #06131c 0%, #0c3640 62%, #0b7f79 100%);
}

.home-tax-band-grid article.primary span,
.home-tax-band-grid article.primary strong,
.home-tax-band-grid article.primary p {
  color: #ffffff;
}

.home-tax-band-grid strong {
  display: block;
  margin-top: 18px;
  color: #07131f;
  font-size: 38px;
  line-height: 1;
}

.home-tax-band-grid p {
  margin: 14px 0 0;
  color: #5b6877;
  font-size: 14px;
  line-height: 1.62;
}

.home-tax-return .tax-calculator-panel {
  margin-top: 4px;
}

.home-case-return {
  padding-top: 58px;
  padding-bottom: 58px;
  background: #ffffff;
}

.home-case-return-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-case-return-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 238px;
  padding: 22px;
  border: 1px solid #dde6ec;
  border-radius: 9px;
  background: linear-gradient(155deg, #ffffff 0%, #f5f9fa 100%);
  box-shadow: 0 14px 34px rgba(9, 24, 36, 0.06);
}

.home-case-return-grid strong {
  color: #101b28;
  font-size: 20px;
  line-height: 1.36;
}

.home-case-return-grid p {
  margin: 0;
  color: #5e6b7a;
  font-size: 14px;
  line-height: 1.68;
}

.home-case-return-grid small {
  margin-top: auto;
  color: #8a5a12;
  font-weight: 900;
}

.home-editorial-return {
  background: #f3f7f9;
}

.home-editorial-return-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-editorial-return-grid > section {
  overflow: hidden;
  border: 1px solid #dce5eb;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(9, 24, 36, 0.07);
}

.home-editorial-return-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  color: #ffffff;
  background: #0b202c;
}

.home-editorial-return-head h3 {
  margin: 0;
  font-size: 19px;
}

.home-editorial-return-head a {
  color: #71eadf;
  font-size: 12px;
  font-weight: 900;
}

.home-editorial-return-grid > section > article {
  display: grid;
  gap: 7px;
  padding: 17px 20px;
  border-bottom: 1px solid #e6edf1;
}

.home-editorial-return-grid > section > article:last-child {
  border-bottom: 0;
}

.home-editorial-return-grid article span {
  color: #087e83;
  font-size: 11px;
  font-weight: 900;
}

.home-editorial-return-grid article strong {
  color: #14202d;
  font-size: 16px;
  line-height: 1.35;
}

.home-editorial-return-grid article p {
  margin: 0;
  color: #657180;
  font-size: 13px;
  line-height: 1.58;
}

.home-consult-return {
  padding: 64px 0;
  color: #ffffff;
  background: #06131c;
}

.home-consult-return .section-inner {
  min-height: 360px;
  padding: 52px;
  border-radius: 11px;
  background:
    linear-gradient(90deg, rgba(4, 16, 25, 0.96) 0%, rgba(4, 16, 25, 0.84) 46%, rgba(4, 16, 25, 0.12) 78%),
    url("/assets/img/visc-consultation-v1.webp") center / cover no-repeat;
  box-shadow: 0 26px 60px rgba(3, 15, 24, 0.24);
}

.home-consult-return .section-inner > div {
  display: grid;
  align-content: center;
  max-width: 620px;
  min-height: 256px;
}

.home-consult-return h2 {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.3;
}

.home-consult-return p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.72;
}

.home-consult-return .hero-actions {
  margin-top: 22px;
}

@media (max-width: 980px) {
  .home-metric-return .section-inner,
  .home-tax-band-grid,
  .home-case-return-grid,
  .home-editorial-return-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-metric-return article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .home-metric-return {
    margin-top: 0;
    padding: 14px 14px 0;
  }

  .home-metric-return .section-inner,
  .home-tax-band-grid,
  .home-case-return-grid,
  .home-editorial-return-grid {
    grid-template-columns: 1fr;
  }

  .home-metric-return article {
    min-height: 0;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid #e4eaef;
  }

  .home-metric-return article:last-child {
    border-bottom: 0;
  }

  .home-tax-band-grid article,
  .home-case-return-grid article {
    min-height: 0;
  }

  .home-consult-return {
    padding: 38px 0;
  }

  .home-consult-return .section-inner {
    min-height: 440px;
    margin: 0 14px;
    padding: 26px 20px;
    background:
      linear-gradient(0deg, rgba(4, 16, 25, 0.96) 0%, rgba(4, 16, 25, 0.54) 68%, rgba(4, 16, 25, 0.12) 100%),
      url("/assets/img/visc-consultation-v1.webp") 40% center / cover no-repeat;
  }

  .home-consult-return .section-inner > div {
    align-content: end;
    min-height: 388px;
  }

  .home-consult-return h2 {
    font-size: 25px;
  }
}

body.public-route {
  color: #111827;
  font-size: 14px;
  line-height: 1.58;
  letter-spacing: 0;
  background: #f7fafc;
}

body.public-route .page {
  background:
    linear-gradient(180deg, #f7fafc 0%, #ffffff 26%, #f8fbfd 100%);
}

body.public-route h1,
body.public-route h2,
body.public-route h3,
body.admin-body h1,
body.admin-body h2,
body.admin-body h3 {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.public-route .section {
  padding-top: 42px;
  padding-bottom: 42px;
}

body.public-route .section-inner,
body.public-route .hero-inner {
  width: min(100% - 48px, 1240px);
}

body.public-route .public-hero {
  min-height: 418px;
  padding-top: 20px;
  padding-bottom: 30px;
  background:
    radial-gradient(circle at 74% 24%, rgba(40, 210, 195, 0.13), transparent 31%),
    linear-gradient(135deg, #061018 0%, #0a1c29 46%, #102e35 100%);
}

body.public-route .public-hero h1 {
  max-width: 670px;
  font-size: 34px;
  line-height: 1.24;
  font-weight: 900;
}

body.public-route .public-hero .lead {
  max-width: 560px;
  font-size: 14px;
  line-height: 1.74;
}

body.public-route .hero-checks {
  flex-wrap: wrap;
  gap: 10px 16px;
}

body.public-route .market-dashboard {
  max-width: 650px;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

body.public-route .briefing-head h2,
body.public-route .trust-head h2,
body.public-route .section-title h2,
body.public-route .page-title h1,
body.public-route .tax-signal-copy h2,
body.public-route .execution-copy h2,
body.public-route .reference-copy h2,
body.public-route .legacy-case-head h2,
body.public-route .case-library-head h2,
body.public-route .visc-difference-panel h2,
body.public-route .about-proof-copy h2 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 900;
}

body.public-route .page-title p,
body.public-route .briefing-head p,
body.public-route .trust-head p,
body.public-route .section-title p,
body.public-route .tax-signal-copy p,
body.public-route .execution-copy p,
body.public-route .reference-copy p,
body.public-route .legacy-case-head p,
body.public-route .case-library-head p,
body.public-route .about-lead p,
body.public-route .about-proof-copy p,
body.public-route .legal-note {
  font-size: 14px;
  line-height: 1.72;
}

body.public-route .briefing-grid,
body.public-route .trust-proof-grid,
body.public-route .home-product-grid,
body.public-route .legacy-case-grid,
body.public-route .case-library-grid,
body.public-route .tax-page-grid {
  gap: 14px;
}

body.public-route .briefing-grid article,
body.public-route .trust-proof-grid article,
body.public-route .home-product-card,
body.public-route .path-panel,
body.public-route .about-proof-board,
body.public-route .client-commitment-grid article,
body.public-route .office-card,
body.public-route .legacy-case-grid article,
body.public-route .case-library-grid article,
body.public-route .readiness-card,
body.public-route .visc-difference-panel,
body.public-route .submission-matrix-grid article,
body.public-route .tax-page-grid article,
body.public-route .insight-featured-article,
body.public-route .insight-blog-card {
  border: 1px solid #dfe8ee;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

body.public-route .home-product-card,
body.public-route .legacy-case-grid article,
body.public-route .case-library-grid article,
body.public-route .readiness-card,
body.public-route .submission-matrix-grid article {
  padding: 20px;
}

body.public-route .home-product-card h3,
body.public-route .legacy-case-grid strong,
body.public-route .case-library-grid strong,
body.public-route .tax-page-grid strong,
body.public-route .client-commitment-grid strong {
  font-size: 18px;
  line-height: 1.35;
}

body.public-route .home-product-card p,
body.public-route .home-product-card strong,
body.public-route .legacy-case-grid p,
body.public-route .legacy-case-grid small,
body.public-route .case-library-grid p,
body.public-route .readiness-card li,
body.public-route .submission-matrix-grid p,
body.public-route .office-card p {
  font-size: 13px;
  line-height: 1.66;
}

body.public-route .reference-matrix {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

body.public-route .reference-matrix article {
  min-height: 118px;
  padding: 16px;
}

body.public-route .reference-matrix strong,
body.public-route .reference-matrix b {
  font-size: 18px;
  line-height: 1.25;
}

body.public-route .trust-process-strip,
body.public-route .service-rail,
body.public-route .partner-strip {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.admin-body {
  color: #172033;
  font-size: 12.5px;
  background: #eef4f8;
}

body.admin-body .admin-topbar,
body.admin-body .admin-panel-head,
body.admin-body .admin-card,
body.admin-body .admin-detail-panel,
body.admin-body .admin-table-wrap,
body.admin-body .admin-tabs,
body.admin-body .admin-filters {
  border-color: #dbe5ec;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

body.admin-body .admin-topbar h1 {
  font-size: 19px;
  line-height: 1.3;
}

body.admin-body .admin-panel-head h2,
body.admin-body .admin-detail-panel h2 {
  font-size: 18px;
  line-height: 1.3;
}

body.admin-body .admin-kpis strong {
  font-size: 22px;
  line-height: 1.15;
}

body.admin-body .admin-table-wrap th,
body.admin-body .admin-table-wrap td {
  vertical-align: middle;
  line-height: 1.45;
}

body.admin-body input,
body.admin-body select,
body.admin-body textarea,
body.public-route input,
body.public-route select,
body.public-route textarea {
  font: inherit;
}

body.public-route .btn,
body.admin-body .btn,
body.admin-body .icon-btn {
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0;
}

@media (max-width: 980px) {
  body.public-route .section-inner,
  body.public-route .hero-inner {
    width: min(100% - 36px, 1240px);
  }

  body.public-route .public-hero-inner,
  body.public-route .home-grid,
  body.public-route .tax-page-lead,
  body.public-route .tax-result-guide,
  body.public-route .about-lead,
  body.public-route .visit-panel {
    grid-template-columns: 1fr;
  }

  body.public-route .market-dashboard {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  body.public-route {
    font-size: 13px;
  }

  body.public-route .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  body.public-route .section-inner,
  body.public-route .hero-inner {
    width: min(100% - 28px, 1240px);
  }

  body.public-route .public-hero {
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 26px;
  }

  body.public-route .public-hero h1 {
    font-size: 24px;
    line-height: 1.34;
  }

  body.public-route .public-hero .lead,
  body.public-route .page-title p,
  body.public-route .section-title p,
  body.public-route .briefing-head p,
  body.public-route .trust-head p {
    font-size: 13px;
    line-height: 1.68;
  }

  body.public-route .hero-actions,
  body.public-route .product-card-footer,
  body.public-route .tax-page-cta,
  body.public-route .visit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.public-route .hero-actions .btn,
  body.public-route .tax-page-cta .btn,
  body.public-route .visit-actions .btn {
    width: 100%;
  }

  body.public-route .home-product-card,
  body.public-route .legacy-case-grid article,
  body.public-route .case-library-grid article,
  body.public-route .readiness-card,
  body.public-route .submission-matrix-grid article {
    padding: 17px;
  }

  body.admin-body .admin-shell,
  body.admin-body .admin-content {
    grid-template-columns: 1fr;
  }
}

body.public-route .site-header {
  min-height: 58px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

body.public-route .brand a {
  gap: 8px;
}

body.public-route .brand-word {
  font-size: 28px;
  line-height: 1;
}

body.public-route .brand small {
  font-size: 10px;
  line-height: 1.15;
}

body.public-route .main-nav {
  gap: 6px;
}

body.public-route .main-nav a {
  padding: 8px 9px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

body.public-route .header-actions {
  gap: 8px;
}

body.public-route .header-actions .btn {
  min-height: 34px;
  padding: 8px 13px;
  font-size: 12px;
  white-space: nowrap;
}

body.public-route .floating-actions {
  right: 18px;
  gap: 8px;
  padding: 10px;
}

body.public-route .floating-actions a,
body.public-route .floating-actions a:nth-child(3) {
  width: 58px;
  min-height: 58px;
  padding: 8px 6px;
}

body.public-route .floating-actions span {
  width: 26px;
  height: 26px;
  font-size: 13px;
}

body.public-route .floating-actions strong {
  font-size: 11px;
  line-height: 1.25;
}

body.public-route .insight-rail {
  align-items: stretch;
}

body.public-route .insight-card {
  height: auto;
  min-height: 210px;
}

body.public-route .insight-body h3 {
  min-height: 0;
  font-size: 14px;
}

body.public-route .insight-body p {
  font-size: 12px;
  line-height: 1.5;
}

.cancel-application-form {
  display: flex;
  justify-content: flex-end;
  margin: 12px 0 4px;
}

.cancel-application-form .btn {
  min-height: 34px;
}

@media (max-width: 1180px) {
  body.public-route .site-header {
    padding: 0 20px;
  }

  body.public-route .main-nav a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 12px;
  }

  body.public-route .header-actions .btn {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 980px) {
  body.public-route .site-header {
    align-items: center;
    min-height: 56px;
  }

  body.public-route .mobile-toggle {
    display: inline-flex;
  }

  body.public-route .main-nav,
  body.public-route .header-actions {
    top: 56px;
  }

  body.public-route .main-nav a {
    width: 100%;
    padding: 11px 12px;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  body.public-route .site-header {
    padding: 0 14px;
  }

  body.public-route .brand-word {
    font-size: 24px;
  }

  body.public-route .floating-actions {
    right: 10px;
    bottom: 12px;
    flex-direction: row;
    width: calc(100% - 20px);
    max-width: 340px;
    justify-content: center;
  }

  body.public-route .floating-actions a,
  body.public-route .floating-actions a:nth-child(3) {
    flex: 1;
    width: auto;
    min-height: 48px;
    flex-direction: row;
    gap: 6px;
  }

  body.public-route .floating-actions strong {
    text-align: left;
  }

  .cancel-application-form {
    justify-content: stretch;
  }

  .cancel-application-form .btn {
    width: 100%;
  }
}
.auth-shell {
  display: grid;
  justify-items: center;
}

.auth-shell .form-card {
  width: min(100%, 620px);
}

.footer-role-note {
  grid-column: 1 / -1;
  max-width: none !important;
  margin: 4px 0 0 !important;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #dbe7ef;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  line-height: 1.7;
}

.visit-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid #e5edf2;
  border-radius: 8px;
  background: #e5edf2;
}

.visit-details div {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
}

.visit-details dt {
  color: #8a5a12;
  font-size: 12px;
  font-weight: 900;
}

.visit-details dd {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
}

.visit-map {
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(6, 16, 27, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(9, 24, 36, 0.08);
}

.visit-map iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.visit-map p {
  display: grid;
  gap: 4px;
  max-width: none;
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid #e5edf2;
  background: #ffffff;
}

.visit-map strong {
  color: #06101b;
}

.visit-map span {
  color: #5f6b7a;
  font-size: 13px;
}

/* Keep administrator sections content-sized; wide tables scroll horizontally. */
body.admin-body .admin-content {
  height: auto;
  min-height: calc(100vh - 54px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  overflow: visible;
}

body.admin-body .admin-kpis,
body.admin-body .admin-workspace,
body.admin-body .admin-bottom-grid {
  grid-column: 1;
  grid-row: auto;
  min-height: min-content;
}

body.admin-body .admin-workspace,
body.admin-body .admin-card {
  height: auto;
  max-height: none;
  overflow: visible;
}

body.admin-body .admin-workspace .admin-table-wrap,
body.admin-body .admin-table-wrap {
  flex: none;
  min-height: min-content;
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}

body.admin-body .admin-member-modal .admin-detail-panel {
  top: auto;
  height: auto;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

@media (max-width: 760px) {
  .visit-details {
    grid-template-columns: 1fr;
  }

  .visit-map {
    grid-template-rows: minmax(300px, 1fr) auto;
  }

  .visit-map iframe {
    min-height: 320px;
  }
}

body.public-route .floating-actions {
  right: clamp(14px, 1.5vw, 24px);
  width: 72px;
  gap: 10px;
  padding: 0;
}

body.public-route .floating-actions a,
body.public-route .floating-actions a:nth-child(3) {
  width: 72px;
  min-width: 72px;
  height: 72px;
  min-height: 72px;
  padding: 7px 6px;
}

body.public-route .floating-actions a span,
body.public-route .floating-actions a:nth-child(3) span {
  width: 28px;
  height: 28px;
}

@media (min-width: 761px) and (max-width: 1480px) {
  body.public-route .floating-actions {
    right: 12px;
    width: 64px;
  }

  body.public-route .floating-actions a,
  body.public-route .floating-actions a:nth-child(3) {
    width: 64px;
    min-width: 64px;
    height: 66px;
    min-height: 66px;
  }
}

@media (max-width: 760px) {
  body.public-route .floating-actions {
    top: auto;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(calc(100% - 24px), 340px);
    max-width: none;
    gap: 6px;
    padding: 6px;
    transform: translateX(-50%);
  }

  body.public-route .floating-actions a,
  body.public-route .floating-actions a:nth-child(3) {
    width: auto;
    min-width: 0;
    height: 50px;
    min-height: 50px;
    padding: 6px 8px;
  }
}

@media (max-width: 480px) {
  body.public-route .floating-actions {
    display: grid;
    width: calc(100% - 16px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
}

/* Unified administrator content rhythm and table alignment. */
body.admin-body .admin-kpis .kpi-total-invested strong {
  font-size: clamp(15px, 1.15vw, 20px);
  letter-spacing: -0.06em;
}

body.admin-body .admin-applications-panel {
  gap: 16px;
  padding: 14px 18px 18px;
  overflow: visible;
}

body.admin-body .admin-applications-panel .application-summary-grid,
body.admin-body .admin-applications-panel .application-admin-filters,
body.admin-body .admin-applications-panel .application-filter-result,
body.admin-body .admin-applications-panel .application-admin-table,
body.admin-body .admin-applications-panel .admin-stage-guide {
  margin-right: 0;
  margin-left: 0;
}

body.admin-body .admin-applications-panel .application-admin-filters {
  padding: 10px 12px;
}

body.admin-body .application-admin-table thead th:first-child,
body.admin-body .admin-applications-panel .admin-stage-guide h3 {
  color: #172033;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

body.admin-body .application-admin-table thead th:first-child {
  padding: 13px 16px;
  text-align: left;
}

body.admin-body .admin-applications-panel .admin-stage-guide {
  padding: 16px;
}

body.admin-body .admin-applications-panel .admin-stage-guide h3 {
  margin: 0 0 12px;
}

body.admin-body .product-list-section {
  margin: 18px;
}

body.admin-body .product-list-heading {
  margin: 0 0 12px;
}

body.admin-body .product-list-section .product-admin-table {
  width: 100%;
  margin: 0;
}

body.admin-body .product-list-heading h3 {
  font-size: 17px;
  line-height: 1.35;
}

body.admin-body .admin-product-overview {
  padding: 14px 18px 18px;
}

body.admin-body .member-bulk-toolbar {
  margin-right: 18px;
  margin-left: 18px;
}

body.admin-body .member-admin-table table {
  width: 100%;
  min-width: 1740px;
  table-layout: fixed;
}

body.admin-body .member-admin-table th,
body.admin-body .member-admin-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}

body.admin-body .member-admin-table th:nth-child(1) { width: 38px; }
body.admin-body .member-admin-table th:nth-child(2) { width: 46px; }
body.admin-body .member-admin-table th:nth-child(3) { width: 92px; }
body.admin-body .member-admin-table th:nth-child(4) { width: 112px; }
body.admin-body .member-admin-table th:nth-child(5) { width: 178px; }
body.admin-body .member-admin-table th:nth-child(6) { width: 118px; }
body.admin-body .member-admin-table th:nth-child(7) { width: 90px; }
body.admin-body .member-admin-table th:nth-child(8) { width: 82px; }
body.admin-body .member-admin-table th:nth-child(9) { width: 94px; }
body.admin-body .member-admin-table th:nth-child(10) { width: 78px; }
body.admin-body .member-admin-table th:nth-child(11) { width: 134px; }
body.admin-body .member-admin-table th:nth-child(12) { width: 72px; }
body.admin-body .member-admin-table th:nth-child(13) { width: 94px; }
body.admin-body .member-admin-table th:nth-child(14) { width: 78px; }
body.admin-body .member-admin-table th:nth-child(15) { width: 158px; }
body.admin-body .member-admin-table th:nth-child(16),
body.admin-body .member-admin-table th:nth-child(17) { width: 104px; }
body.admin-body .member-admin-table th:nth-child(18) { width: 98px; }

body.admin-body .member-admin-table .member-detail-trigger,
body.admin-body .member-admin-table .member-investment-link {
  max-width: 100%;
}

/* Keep dense admin lists and benefits panels on one shared spacing system. */
body.admin-body .application-table-block {
  display: grid;
  min-width: 0;
  gap: 0;
}

body.admin-body .application-table-block .application-admin-table,
body.admin-body .application-table-block .application-table-footer {
  margin: 0;
}

body.admin-body .application-table-block .application-table-footer {
  border-top: 1px solid #dbe7eb;
}

body.admin-body .admin-content-table {
  width: 100%;
  margin: 0;
}

body.admin-body .admin-content-table table {
  width: 100%;
  min-width: 1040px;
  table-layout: fixed;
}

body.admin-body .admin-content-table .content-col-kind { width: 120px; }
body.admin-body .admin-content-table .content-col-category { width: 150px; }
body.admin-body .admin-content-table .content-col-date { width: 160px; }
body.admin-body .admin-content-table .content-col-status { width: 100px; }
body.admin-body .admin-content-table .content-col-actions { width: 260px; }

body.admin-body .admin-content-table th,
body.admin-body .admin-content-table td {
  vertical-align: middle;
}

body.admin-body .admin-content-table td:nth-child(2) strong,
body.admin-body .admin-content-table td:nth-child(2) small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.admin-body .admin-content-table .admin-row-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
}

body.admin-body .benefit-settings-form > .benefit-card-heading {
  grid-column: 1 / -1;
}

body.admin-body .benefit-request-section {
  margin: 18px 22px 22px;
}

body.admin-body .benefit-section-heading {
  display: grid;
  gap: 5px;
  margin: 0 8px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce8ec;
}

body.admin-body .benefit-section-heading h3,
body.admin-body .benefit-section-heading p {
  margin: 0;
}

body.admin-body .benefit-section-heading p {
  color: #677b84;
  font-size: 11px;
  line-height: 1.45;
}

body.admin-body .benefit-request-table {
  width: 100%;
  margin: 0;
}

body.admin-body .benefit-request-table table {
  width: 100%;
  min-width: 780px;
  table-layout: fixed;
}

body.admin-body .benefit-request-table .benefit-col-member { width: 24%; }
body.admin-body .benefit-request-table .benefit-col-amount { width: 16%; }
body.admin-body .benefit-request-table .benefit-col-status { width: 15%; }
body.admin-body .benefit-request-table .benefit-col-date { width: 25%; }
body.admin-body .benefit-request-table .benefit-col-actions { width: 20%; }

body.admin-body .benefit-request-table th,
body.admin-body .benefit-request-table td {
  vertical-align: middle;
}

body.admin-body .admin-stage-button.maturity-in-progress,
body.admin-body .admin-stage-button.maturity-due {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.admin-body .admin-stage-button.maturity-in-progress::before,
body.admin-body .admin-stage-button.maturity-due::before {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: var(--maturity-progress, 0%);
  content: "";
  background: linear-gradient(105deg, rgba(10, 169, 164, 0.12) 0 38%, rgba(48, 212, 200, 0.32) 50%, rgba(10, 169, 164, 0.12) 62% 100%);
  background-size: 76px 100%;
  border-right: 1px solid rgba(5, 143, 145, 0.32);
  animation: admin-maturity-progress-flow 2.2s linear infinite;
}

body.admin-body .admin-stage-button.maturity-in-progress > *,
body.admin-body .admin-stage-button.maturity-due > * {
  position: relative;
  z-index: 1;
}

body.admin-body .admin-stage-button.maturity-in-progress span {
  color: #08737a;
  font-weight: 900;
}

body.admin-body .admin-stage-button.maturity-due {
  border-color: #d59a32;
  box-shadow: 0 0 0 3px rgba(213, 154, 50, 0.13);
}

body.admin-body .admin-stage-button.maturity-due::before {
  background: rgba(255, 197, 92, 0.22);
  border-right: 0;
  animation: none;
}

body.admin-body .admin-stage-button.maturity-due span {
  color: #9a5b00;
  font-weight: 900;
}

@keyframes admin-maturity-progress-flow {
  from { background-position: 0 0; }
  to { background-position: 76px 0; }
}

body.admin-body .content-count-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

body.admin-body .content-count-card {
  display: grid;
  gap: 4px;
  min-height: 104px;
  align-content: center;
  border-top: 3px solid #d8e5e9;
}

body.admin-body .content-count-card.total {
  border-top-color: #07969c;
  background: linear-gradient(135deg, #f0fbfb, #fff);
}

body.admin-body .content-count-card > span,
body.admin-body .content-count-card > small {
  color: #677b84;
  font-size: 11px;
}

body.admin-body .content-count-card > span {
  font-weight: 900;
}

body.admin-body .content-count-card > strong {
  color: #082d3c;
  font-size: 24px;
  line-height: 1.15;
}

body.admin-body .product-create-toolbar {
  margin-top: 14px;
}

@media (max-width: 1180px) {
  body.admin-body .content-count-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-body .member-admin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-body .member-admin-filters .btn {
    width: 100%;
  }

  body.admin-body .admin-applications-panel {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 760px) {
  body.admin-body .content-count-summary {
    grid-template-columns: 1fr;
  }

  body.admin-body .admin-applications-panel {
    padding: 10px 8px 14px;
  }

  body.admin-body .member-admin-filters {
    grid-template-columns: 1fr;
  }

  body.admin-body .product-list-section,
  body.admin-body .member-bulk-toolbar,
  body.admin-body .benefit-request-section {
    margin-right: 12px;
    margin-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.admin-body .admin-stage-button.maturity-in-progress::before {
    animation: none;
  }
}
