@import url('data:text/css,');

:root {
  --ink: #10201d;
  --ink-2: #253833;
  --muted: #687772;
  --paper: #f3f0e8;
  --paper-2: #ece8de;
  --panel: #fffdf8;
  --teal: #0f6b5c;
  --teal-deep: #093e37;
  --teal-soft: #e3f1ed;
  --coral: #ee6a4b;
  --coral-soft: #feebe5;
  --gold: #c69a4b;
  --gold-soft: #f7eedb;
  --blue: #2878a8;
  --line: #d8dcd4;
  --line-dark: #c5cbc2;
  --shadow: 0 16px 42px rgba(18, 40, 35, .08);
  --shadow-soft: 0 8px 24px rgba(18, 40, 35, .06);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --display: "STSong", "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --body: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 8% 4%, rgba(198,154,75,.15), transparent 24%),
    radial-gradient(circle at 92% 10%, rgba(15,107,92,.13), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.5), transparent 34%),
    var(--paper);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(9,62,55,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9,62,55,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; stroke-width: 1.8; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(15,107,92,.22); border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0,1fr); }
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  color: #e9f4f1;
  overflow: auto;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.11), transparent 25%),
    linear-gradient(180deg, #0c4d44, #082f2a 72%);
}
.sidebar-label { margin: 10px 12px 8px; color: rgba(255,255,255,.46); font-size: 11px; letter-spacing: .12em; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 10px 12px;
  color: rgba(255,255,255,.7);
  text-align: left;
  background: transparent;
  transition: .18s ease;
}
.admin-nav button:hover { color: #fff; background: rgba(255,255,255,.07); }
.admin-nav button.active { color: #fff; background: rgba(255,255,255,.13); box-shadow: inset 3px 0 0 var(--coral); }
.admin-nav svg { width: 17px; height: 17px; opacity: .86; }
.sidebar-foot { margin-top: auto; padding: 14px 12px 4px; border-top: 1px solid rgba(255,255,255,.12); }
.sidebar-user { display: flex; align-items: center; gap: 10px; }
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--coral), #c34f38);
  font-weight: 700;
}
.sidebar-user strong { display: block; font-size: 13px; }
.sidebar-user span { display: block; color: rgba(255,255,255,.48); font-size: 11px; }
.admin-main { min-width: 0; }
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(9,62,55,.1);
  background: rgba(243,240,232,.82);
  backdrop-filter: blur(18px);
}
.crumb { color: var(--muted); font-size: 12px; }
.crumb strong { color: var(--ink); font-weight: 600; }
.topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(360px, 34vw);
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
.topbar-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.topbar-search svg { color: var(--muted); }
.admin-content { max-width: 1480px; padding: 28px; margin: 0 auto; }

.page-enter { animation: pageIn .38s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-head h1 { margin: 2px 0 4px; font: 700 clamp(25px, 2.4vw, 34px)/1.15 var(--display); letter-spacing: .02em; }
.page-head p { margin: 0; color: var(--muted); }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 8px 14px;
  font-weight: 600;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: var(--teal); box-shadow: 0 8px 18px rgba(15,107,92,.18); }
.btn-primary:hover { background: #0b5c4f; }
.btn-coral { color: #fff; background: var(--coral); box-shadow: 0 8px 18px rgba(238,106,75,.18); }
.btn-secondary { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.72); }
.btn-ghost { color: var(--teal); background: var(--teal-soft); }
.btn-danger { color: #b63e2d; background: var(--coral-soft); }
.btn-sm { min-height: 31px; padding: 5px 10px; border-radius: 9px; font-size: 12px; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.72); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.kpi-card {
  position: relative;
  min-height: 136px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(9,62,55,.08);
  border-radius: var(--radius);
  background: rgba(255,253,248,.82);
  box-shadow: var(--shadow-soft);
}
.kpi-card::after { content: ""; position: absolute; right: -25px; bottom: -40px; width: 110px; height: 110px; border-radius: 50%; background: var(--teal-soft); opacity: .55; }
.kpi-card.coral::after { background: var(--coral-soft); }
.kpi-card.gold::after { background: var(--gold-soft); }
.kpi-label { color: var(--muted); font-size: 12px; }
.kpi-value { display: block; margin: 10px 0 3px; font: 700 31px/1 var(--display); }
.kpi-trend { color: var(--teal); font-size: 12px; }
.kpi-trend.down { color: var(--coral); }

.panel { border: 1px solid rgba(9,62,55,.08); border-radius: var(--radius); background: rgba(255,253,248,.84); box-shadow: var(--shadow-soft); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 18px 0; }
.panel-head h3 { margin: 0; font: 700 18px/1.3 var(--display); }
.panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.panel-body { padding: 18px; }
.grid-2 { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }

.chart-bars { display: flex; align-items: flex-end; gap: 14px; height: 190px; padding: 20px 4px 0; }
.bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; max-width: 40px; min-height: 16px; border-radius: 9px 9px 3px 3px; background: linear-gradient(180deg, #41a795, var(--teal)); animation: growBar .7s ease both; transform-origin: bottom; }
.bar.soft { background: linear-gradient(180deg, #f0a188, var(--coral)); }
@keyframes growBar { from { transform: scaleY(.2); opacity: .2; } to { transform: scaleY(1); opacity: 1; } }
.bar-item span { color: var(--muted); font-size: 11px; }

.list-stack { display: grid; gap: 9px; }
.list-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid rgba(9,62,55,.08); border-radius: 12px; background: rgba(255,255,255,.62); }
.list-item strong { display: block; font-size: 13px; }
.list-item p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; width: max-content; border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-green { color: #16745f; background: #e3f4ed; }
.status-orange { color: #ad5c1b; background: #fff0dc; }
.status-blue { color: #276c98; background: #e4f1fa; }
.status-red { color: #b24835; background: #fdeae5; }
.status-gray { color: #69766f; background: #edf0eb; }
.status-gold { color: #8a6826; background: #f7eedb; }

.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.product-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(9,62,55,.1);
  border-radius: var(--radius);
  background: rgba(255,253,248,.86);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--teal), #69b8a9, var(--gold)); }
.product-card .topline { display: flex; justify-content: space-between; gap: 10px; }
.product-card h3 { margin: 8px 0 4px; font: 700 20px/1.25 var(--display); }
.product-card p { min-height: 42px; margin: 0; color: var(--muted); font-size: 12px; }
.product-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.product-metrics span { color: var(--muted); font-size: 10px; }
.product-metrics strong { display: block; margin-top: 2px; font-size: 14px; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 11px 12px; color: var(--muted); font-size: 11px; font-weight: 600; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 13px 12px; border-bottom: 1px solid rgba(216,220,212,.75); vertical-align: middle; }
.data-table tbody tr { transition: background .16s ease; }
.data-table tbody tr:hover { background: rgba(227,241,237,.42); }
.data-table tbody tr.clickable { cursor: pointer; }
.table-wrap { overflow: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.small { font-size: 11px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 14px; }
.filter-chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--muted); background: rgba(255,255,255,.6); }
.filter-chip.active { color: #fff; border-color: var(--teal); background: var(--teal); }
.search-box { display: flex; align-items: center; gap: 7px; min-width: 240px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.72); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; }

.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.55); width: max-content; max-width: 100%; overflow: auto; }
.tab { border: 0; border-radius: 9px; padding: 8px 13px; color: var(--muted); background: transparent; white-space: nowrap; }
.tab.active { color: var(--ink); background: #fff; box-shadow: 0 4px 12px rgba(18,40,35,.08); }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; align-items: start; }
.sticky-panel { position: sticky; top: 142px; }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink-2); font-size: 12px; font-weight: 600; }
.field label em { color: var(--coral); font-style: normal; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 12px;
  color: var(--ink);
  outline: 0;
  background: rgba(255,255,255,.8);
  transition: border .16s ease, box-shadow .16s ease;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,107,92,.1); }
.textarea { min-height: 88px; resize: vertical; }
.upload-box { display: grid; place-items: center; min-height: 92px; border: 1px dashed #b8c5be; border-radius: 12px; color: var(--muted); background: rgba(227,241,237,.32); text-align: center; }
.upload-box strong { display: block; color: var(--teal); }
.form-note { padding: 11px 12px; border-radius: 11px; color: #795d22; background: var(--gold-soft); font-size: 12px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-option { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; background: rgba(255,255,255,.7); }

.service-library { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.service-card { padding: 17px; border: 1px solid rgba(9,62,55,.09); border-radius: var(--radius); background: rgba(255,253,248,.84); box-shadow: var(--shadow-soft); transition: .18s ease; cursor: pointer; }
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.service-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.service-card h3 { margin: 0; font: 700 18px/1.25 var(--display); }
.service-card p { margin: 7px 0 14px; color: var(--muted); font-size: 12px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { border-radius: 999px; padding: 4px 8px; color: var(--teal); background: var(--teal-soft); font-size: 10px; }
.tag.coral { color: #a94e3b; background: var(--coral-soft); }
.tag.gold { color: #8a6826; background: var(--gold-soft); }

.service-rule-list { display: grid; gap: 10px; }
.service-rule { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.6); }
.drag-handle { color: #aab4ae; font: 700 18px/1 var(--mono); text-align: center; }
.service-rule strong { display: block; }
.service-rule span { color: var(--muted); font-size: 11px; }
.rule-metrics { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

.workflow { display: flex; gap: 8px; align-items: stretch; overflow: auto; padding: 6px 2px 14px; }
.flow-node { min-width: 142px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.7); }
.flow-node.active { border-color: var(--teal); background: var(--teal-soft); box-shadow: inset 0 0 0 1px rgba(15,107,92,.1); }
.flow-node strong { display: block; font-size: 13px; }
.flow-node span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.flow-arrow { display: grid; place-items: center; min-width: 22px; color: #9aa8a1; }

.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px; padding-bottom: 18px; }
.timeline-item:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 22px; bottom: 0; width: 1px; background: var(--line); }
.timeline-dot { z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 10px; }
.timeline-item.pending .timeline-dot { color: var(--muted); background: #e2e6e1; }
.timeline-item p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(7,25,22,.45); backdrop-filter: blur(5px); animation: fadeIn .2s ease both; }
.modal { width: min(680px,100%); max-height: 88vh; overflow: auto; border-radius: 20px; background: var(--panel); box-shadow: 0 30px 90px rgba(0,0,0,.22); animation: modalIn .24s cubic-bezier(.2,.8,.2,1) both; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font: 700 24px/1.2 var(--display); }
.modal-body { padding: 20px 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 14px 22px 20px; border-top: 1px solid var(--line); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.toast { margin-top: 9px; border-radius: 12px; padding: 11px 14px; color: #fff; background: var(--teal-deep); box-shadow: 0 14px 30px rgba(0,0,0,.16); animation: toastIn .24s ease both; }
#toast-root { position: fixed; z-index: 120; right: 22px; bottom: 22px; width: min(360px,calc(100vw - 44px)); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.user-stage { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 560px; min-height: 100dvh; margin: 0 auto; background: var(--u-bg,#f7faff); box-shadow: 0 0 60px rgba(16,35,60,.08); }
.user-app { display: flex; flex-direction: column; flex: 1; }
.user-top { position: relative; z-index: 5; padding: 24px 20px 13px; color: #fff; background: linear-gradient(150deg, #0d6b5b, #083c35); }
.user-top.simple { background: linear-gradient(150deg, #155f55, #0b423b); }
.user-top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.user-brand { display: flex; align-items: center; gap: 9px; font: 700 17px/1 var(--display); letter-spacing: .04em; }
.user-brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--teal-deep); background: #fff; font-weight: 800; }
.user-greeting { margin-top: 20px; }
.user-greeting h1 { margin: 2px 0 4px; font: 700 26px/1.2 var(--display); }
.user-greeting p { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; }
.user-content { flex: 1; padding: 17px 16px 92px; }
.user-content.dark { background: linear-gradient(180deg, #0b443c 0 120px, #f7f4ed 120px); }
.passport-card { position: relative; padding: 18px; overflow: hidden; border-radius: 19px; color: #fff; background: linear-gradient(135deg, #0b6d5e, #1f9a82); box-shadow: 0 15px 30px rgba(10,77,66,.18); }
.passport-card::after { content: ""; position: absolute; right: -32px; bottom: -42px; width: 130px; height: 130px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.passport-card .mini { color: rgba(255,255,255,.65); font-size: 10px; letter-spacing: .08em; }
.passport-card h2 { margin: 6px 0 4px; font: 700 24px/1.15 var(--display); }
.passport-card p { margin: 0; color: rgba(255,255,255,.75); font-size: 12px; }
.benefit-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 15px; }
.benefit-mini { border-radius: 11px; padding: 9px; background: rgba(255,255,255,.12); }
.benefit-mini strong { display: block; font-size: 17px; }
.benefit-mini span { color: rgba(255,255,255,.65); font-size: 10px; }
.user-section-title { display: flex; align-items: center; justify-content: space-between; margin: 18px 2px 10px; }
.user-section-title h3 { margin: 0; font: 700 17px/1.2 var(--display); }
.user-section-title button { border: 0; color: var(--teal); background: transparent; font-size: 11px; }
.benefit-card-user { padding: 15px; margin-bottom: 10px; border: 1px solid rgba(9,62,55,.09); border-radius: 16px; background: #fffdf8; box-shadow: 0 8px 22px rgba(18,40,35,.06); }
.benefit-card-user h4 { margin: 0; font: 700 17px/1.2 var(--display); }
.benefit-card-user p { margin: 5px 0 12px; color: var(--muted); font-size: 11px; }
.user-service-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.user-service-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 11px; color: var(--teal); background: var(--teal-soft); }
.user-service-row div:nth-child(2) { min-width: 0; flex: 1; }
.user-service-row strong { display: block; font-size: 12px; }
.user-service-row span { display: block; color: var(--muted); font-size: 10px; }
.user-service-row em { color: var(--teal); font-size: 10px; font-style: normal; white-space: nowrap; }
.user-empty { padding: 36px 20px; color: var(--muted); text-align: center; }
.bottom-nav { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(4,1fr); padding: 9px 10px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(9,62,55,.08); background: rgba(255,253,248,.94); backdrop-filter: blur(14px); }
.bottom-nav button { display: grid; place-items: center; gap: 3px; border: 0; color: #8a9590; background: transparent; font-size: 9px; }
.bottom-nav button.active { color: var(--teal); }
.bottom-nav svg { width: 19px; height: 19px; }
.user-back { border: 0; padding: 0; color: inherit; background: transparent; font-size: 17px; }
.user-title { text-align: center; font-weight: 600; }
.user-card-switch { display: flex; gap: 7px; overflow: auto; margin-bottom: 14px; }
.user-card-switch button { min-width: max-content; border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; color: var(--muted); background: rgba(255,255,255,.72); font-size: 11px; }
.user-card-switch button.active { color: #fff; border-color: var(--teal); background: var(--teal); }
.step-indicator { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; margin-bottom: 16px; }
.step-indicator span { height: 4px; border-radius: 99px; background: #dfe4de; }
.step-indicator span.active { background: var(--coral); }
.success-hero { padding: 34px 14px 24px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 15px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #26a488, var(--teal)); box-shadow: 0 18px 36px rgba(15,107,92,.22); }
.success-hero h2 { margin: 0 0 7px; font: 700 25px/1.2 var(--display); }
.success-hero p { margin: 0; color: var(--muted); font-size: 12px; }
.check-summary { display: grid; gap: 8px; padding: 13px; border-radius: 14px; background: #fff; }
.check-summary div { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.check-summary span { color: var(--muted); }

@media (max-width: 1180px) {
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
}
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 78px minmax(0,1fr); }
  .admin-sidebar { padding-inline: 9px; }
  .admin-nav button span, .sidebar-label, .sidebar-user div { display: none; }
  .admin-nav button { justify-content: center; }
  .sidebar-user { justify-content: center; }
  .grid-2, .grid-3, .service-library { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .admin-shell { display: block; }
  .admin-sidebar { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 70; height: 66px; flex-direction: row; padding: 7px; overflow: auto; border-top: 1px solid rgba(255,255,255,.12); }
  .admin-nav { display: flex; width: 100%; }
  .admin-nav button { min-width: 58px; padding: 8px 6px; }
  .sidebar-foot { display: none; }
  .admin-topbar { top: 0; padding-inline: 14px; }
  .topbar-search { display: none; }
  .admin-content { padding: 18px 13px 88px; }
  .page-head { display: block; }
  .page-head .actions { margin-top: 14px; }
  .kpi-grid, .card-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

.upload-box.is-filled { border-style: solid; border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
.upload-box.is-filled .tag { margin-top: 6px; }

.guest-card { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.guest-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.guest-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.guest-card-foot strong { color: var(--teal); font-size: 11px; }

.form-section { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.form-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.form-section-head strong { display: block; font-size: 13px; }
.form-section-head p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.multi-service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.multi-service-option { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.62); cursor: pointer; transition: .16s ease; }
.multi-service-option:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); box-shadow: inset 0 0 0 1px rgba(15,107,92,.08); }
.multi-service-option input { margin-top: 3px; accent-color: var(--teal); }
.multi-service-option strong { display: block; font-size: 12px; }
.multi-service-option span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
@media (max-width: 680px) { .multi-service-grid { grid-template-columns: 1fr; } }

.user-detail-hero { display: grid; grid-template-columns: minmax(260px,.9fr) minmax(430px,1.4fr) auto; align-items: center; gap: 22px; padding: 22px; margin-bottom: 16px; border: 1px solid rgba(9,62,55,.1); border-radius: var(--radius); background: radial-gradient(circle at 0 0, rgba(15,107,92,.12), transparent 32%), rgba(255,253,248,.9); box-shadow: var(--shadow-soft); }
.user-detail-hero-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.user-hero-avatar { display: grid; place-items: center; width: 64px; height: 64px; flex: 0 0 auto; border-radius: 20px; color: #fff; background: linear-gradient(145deg, var(--teal), var(--teal-deep)); box-shadow: 0 12px 26px rgba(9,62,55,.2); font: 700 24px/1 var(--display); }
.user-detail-hero h1 { margin: 3px 0 7px; font: 700 29px/1.1 var(--display); }
.user-hero-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.user-hero-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.fact { min-width: 0; padding: 10px; border: 1px solid rgba(9,62,55,.08); border-radius: 11px; background: rgba(255,255,255,.58); }
.fact span { display: block; color: var(--muted); font-size: 10px; }
.fact strong { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.user-hero-actions { display: flex; flex-direction: column; gap: 8px; }
.user-detail-kpis { margin-bottom: 18px; }
.user-detail-content { padding: 18px; border: 1px solid rgba(9,62,55,.08); border-radius: var(--radius); background: rgba(255,253,248,.82); box-shadow: var(--shadow-soft); }
.user-detail-content > .tabs { margin-bottom: 16px; }
.user-benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.user-benefit-card { min-width: 0; overflow: hidden; }
.user-benefit-card .service-rule { grid-template-columns: 34px minmax(0,1fr) auto; }
@media (max-width: 1240px) { .user-detail-hero { grid-template-columns: 1fr; } .user-hero-actions { flex-direction: row; } .user-hero-facts { grid-template-columns: repeat(4,minmax(120px,1fr)); overflow: auto; } }
@media (max-width: 900px) { .user-benefit-grid { grid-template-columns: 1fr; } .user-hero-facts { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* ===== User H5 redesign v2.5: cyan membership style ===== */
.user-stage {
  --u-cyan: #02cad4;
  --u-cyan-deep: #00aeb8;
  --u-cyan-soft: #e6fafc;
  --u-ink: #101417;
  --u-ink-soft: #526165;
  --u-white: #ffffff;
  --u-peach: #ff8168;
  --u-peach-soft: #ffe5df;
  --u-cream: #fff3e6;
  --u-line: rgba(16,20,23,.09);
}
.user-stage .user-app {
  background:
    radial-gradient(circle at 102% 3%, rgba(255,255,255,.42), transparent 23%),
    var(--u-cyan);
  color: var(--u-ink);
}
.user-stage .user-top,
.user-stage .user-top.simple {
  color: var(--u-ink);
  background: transparent;
  padding: 25px 20px 12px;
}
.user-stage .user-top::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -42px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  pointer-events: none;
}
.user-stage .user-top-row { position: relative; z-index: 1; }
.user-stage .user-brand { font-family: var(--body); font-weight: 800; letter-spacing: -.02em; }
.user-stage .user-brand-mark {
  color: #fff;
  background: var(--u-ink);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(16,20,23,.16);
}
.user-stage .user-back,
.user-stage .user-title { color: var(--u-ink); }
.user-stage .user-title { font-family: var(--body); font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.user-stage .user-top .btn-secondary {
  border: 0;
  color: var(--u-ink);
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 18px rgba(0,92,98,.08);
}
.user-stage .user-greeting { margin-top: 24px; }
.user-stage .user-greeting h1 {
  margin: 0 0 5px;
  color: var(--u-ink);
  font: 900 28px/1.12 var(--body);
  letter-spacing: -.045em;
}
.user-stage .user-greeting p { color: rgba(16,20,23,.64); font-size: 12px; }
.user-stage .user-content,
.user-stage .user-content.dark {
  padding: 18px 14px 100px;
  background: transparent;
}
.user-stage .passport-card {
  min-height: 176px;
  padding: 22px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 102% -4%, rgba(2,202,212,.7), transparent 38%),
    radial-gradient(circle at 88% 106%, rgba(255,129,104,.34), transparent 36%),
    linear-gradient(145deg, #101417, #1b2325);
  box-shadow: 0 20px 42px rgba(16,20,23,.18);
}
.user-stage .passport-card::after {
  right: -42px;
  bottom: -54px;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(255,255,255,.2);
}
.user-stage .passport-card::before {
  content: "";
  position: absolute;
  right: 34px;
  top: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--u-cyan);
  opacity: .95;
}
.user-stage .passport-card .mini {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.user-stage .passport-card h2 {
  position: relative;
  z-index: 1;
  margin: 18px 0 5px;
  font: 900 27px/1.08 var(--body);
  letter-spacing: -.04em;
}
.user-stage .passport-card p { position: relative; z-index: 1; color: rgba(255,255,255,.68); }
.user-stage .benefit-mini-grid { position: relative; z-index: 1; margin-top: 19px; gap: 8px; }
.user-stage .benefit-mini {
  padding: 10px 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.user-stage .benefit-mini strong { font-size: 18px; letter-spacing: -.02em; }
.user-stage .benefit-mini span { color: rgba(255,255,255,.62); }
.user-stage .user-section-title { margin: 24px 4px 11px; }
.user-stage .user-section-title h3 {
  color: var(--u-ink);
  font: 900 19px/1.18 var(--body);
  letter-spacing: -.03em;
}
.user-stage .user-section-title button,
.user-stage .user-section-title .muted { color: rgba(16,20,23,.62); font-weight: 700; }
.user-stage .benefit-card-user,
.user-stage .check-summary,
.user-stage .user-empty {
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 13px 30px rgba(0,79,84,.09);
}
.user-stage .benefit-card-user { padding: 17px; margin-bottom: 11px; }
.user-stage .benefit-card-user h4,
.user-stage .benefit-card-user strong { color: var(--u-ink); font-family: var(--body); letter-spacing: -.02em; }
.user-stage .benefit-card-user p { color: var(--u-ink-soft); }
.user-stage .guest-card { transition: transform .18s ease, box-shadow .18s ease; }
.user-stage .guest-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0,79,84,.13); }
.user-stage .guest-card-foot { border-top-color: var(--u-line); color: var(--u-ink-soft); }
.user-stage .guest-card-foot strong { color: var(--u-ink); }
.user-stage .user-service-row { padding: 14px 0; border-top-color: var(--u-line); }
.user-stage .user-service-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--u-ink);
  background: var(--u-cyan-soft);
}
.user-stage .user-service-icon svg { width: 20px; height: 20px; }
.user-stage .user-service-row strong { font-size: 13px; }
.user-stage .user-service-row span { color: var(--u-ink-soft); }
.user-stage .user-service-row em { color: var(--u-cyan-deep); font-weight: 800; }
.user-stage .tag {
  color: #087f87;
  background: var(--u-cyan-soft);
  font-weight: 700;
}
.user-stage .tag.coral { color: #ad4a36; background: var(--u-peach-soft); }
.user-stage .tag.gold { color: #8b642b; background: var(--u-cream); }
.user-stage .status-pill.status-green,
.user-stage .status-pill.status-blue {
  color: #087f87;
  background: var(--u-cyan-soft);
}
.user-stage .status-pill.status-orange,
.user-stage .status-pill.status-red {
  color: #b34e39;
  background: var(--u-peach-soft);
}
.user-stage .user-card-switch { gap: 8px; margin-bottom: 13px; }
.user-stage .user-card-switch button {
  border: 0;
  padding: 9px 13px;
  color: var(--u-ink-soft);
  background: rgba(255,255,255,.72);
  box-shadow: 0 7px 16px rgba(0,79,84,.06);
  font-weight: 700;
}
.user-stage .user-card-switch button.active { color: #fff; background: var(--u-ink); }
.user-stage .btn { border-radius: 16px; font-weight: 800; }
.user-stage .btn-primary { color: #fff; background: var(--u-ink); box-shadow: 0 11px 24px rgba(16,20,23,.18); }
.user-stage .btn-primary:hover { background: #242c2e; }
.user-stage .btn-coral { color: #fff; background: var(--u-peach); box-shadow: 0 11px 24px rgba(255,129,104,.24); }
.user-stage .btn-secondary { border: 0; color: var(--u-ink); background: #fff; box-shadow: 0 9px 20px rgba(0,79,84,.08); }
.user-stage .btn-ghost { color: #087f87; background: var(--u-cyan-soft); }
.user-stage .input,
.user-stage .select,
.user-stage .textarea {
  border-color: transparent;
  border-radius: 16px;
  color: var(--u-ink);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,79,84,.06);
}
.user-stage .input:focus,
.user-stage .select:focus,
.user-stage .textarea:focus { border-color: var(--u-cyan); box-shadow: 0 0 0 3px rgba(2,202,212,.16); }
.user-stage .upload-box {
  border-color: rgba(2,202,212,.55);
  color: var(--u-ink-soft);
  background: rgba(255,255,255,.76);
}
.user-stage .upload-box strong { color: #087f87; }
.user-stage .radio-option {
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(0,79,84,.05);
}
.user-stage .form-note {
  border-radius: 17px;
  color: #7f503f;
  background: var(--u-cream);
}
.user-stage .bottom-nav {
  left: 10px;
  right: 10px;
  bottom: 9px;
  padding: 9px 10px 10px;
  border-top: 0;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 13px 38px rgba(0,70,76,.18);
}
.user-stage .bottom-nav button { color: #8c9b9e; font-weight: 700; }
.user-stage .bottom-nav button.active { color: var(--u-ink); }
.user-stage .bottom-nav button.active svg { filter: drop-shadow(0 3px 7px rgba(2,202,212,.35)); }
.user-stage .step-indicator span { background: rgba(255,255,255,.46); }
.user-stage .step-indicator span.active { background: var(--u-ink); }
.user-stage .success-hero { padding-top: 28px; }
.user-stage .success-icon {
  color: #fff;
  background: var(--u-ink);
  box-shadow: 0 20px 42px rgba(16,20,23,.2);
}
.user-stage .success-hero h2 { color: var(--u-ink); font: 900 26px/1.15 var(--body); letter-spacing: -.04em; }
.user-stage .success-hero p { color: var(--u-ink-soft); }
.user-stage .check-summary { padding: 17px; }
.user-stage .check-summary div { padding: 9px 0; font-size: 12px; }
.user-stage .check-summary div + div { border-top: 1px solid var(--u-line); }
.user-stage .check-summary span { color: var(--u-ink-soft); }
.user-stage .check-summary strong { text-align: right; }
.user-stage .timeline-item:not(:last-child)::before { background: rgba(16,20,23,.16); }
.user-stage .timeline-dot { color: #fff; background: var(--u-ink); }
.user-stage .timeline-item.pending .timeline-dot { color: #748387; background: #e5eff0; }
.user-stage .timeline-item p { color: var(--u-ink-soft); }
.user-stage .list-stack { display: grid; gap: 10px; }
.user-stage .list-item {
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,79,84,.07);
}
.user-stage .icon-btn { border: 0; color: var(--u-ink); background: var(--u-cyan-soft); }
.user-stage .avatar { color: #fff; background: var(--u-ink); }
.user-stage .form-section { border-top-color: var(--u-line); }
.user-stage .modal { background: #fff; }
/* ===== User H5 palette refinement: neutral premium ===== */
.user-stage {
  --u-cyan: #1fb7c1;
  --u-cyan-deep: #148f98;
  --u-cyan-soft: #e3f6f7;
  --u-bg: #f4f7f6;
  --u-bg-deep: #edf2f1;
  --u-ink: #121718;
  --u-ink-soft: #5d6b6d;
  --u-peach: #ff8a70;
  --u-peach-soft: #ffe8e2;
  --u-cream: #f8f1e7;
}
.user-stage .user-app {
  background:
    radial-gradient(circle at 94% -2%, rgba(31,183,193,.18), transparent 26%),
    radial-gradient(circle at -8% 34%, rgba(255,138,112,.08), transparent 24%),
    linear-gradient(180deg, #f8fbfa 0%, var(--u-bg) 42%, var(--u-bg-deep) 100%);
}
.user-stage .user-top,
.user-stage .user-top.simple {
  background: transparent;
}
.user-stage .user-top::after {
  right: -26px;
  top: -30px;
  width: 96px;
  height: 96px;
  border: 0;
  background: rgba(31,183,193,.13);
  box-shadow: 0 0 0 18px rgba(31,183,193,.045);
}
.user-stage .user-greeting h1 { color: var(--u-ink); }
.user-stage .user-greeting p { color: rgba(18,23,24,.58); }
.user-stage .user-content,
.user-stage .user-content.dark {
  background: transparent;
}
.user-stage .passport-card {
  background:
    radial-gradient(circle at 102% -4%, rgba(31,183,193,.72), transparent 38%),
    radial-gradient(circle at 88% 106%, rgba(255,138,112,.30), transparent 36%),
    linear-gradient(145deg, #121718, #20292b);
  box-shadow: 0 18px 38px rgba(18,23,24,.16);
}
.user-stage .passport-card::before { background: var(--u-cyan); }
.user-stage .benefit-card-user,
.user-stage .check-summary,
.user-stage .user-empty {
  box-shadow: 0 10px 26px rgba(25,73,76,.07);
}
.user-stage .user-service-icon {
  color: var(--u-cyan-deep);
  background: var(--u-cyan-soft);
}
.user-stage .btn-primary { background: var(--u-ink); }
.user-stage .btn-coral { background: var(--u-peach); }
.user-stage .bottom-nav {
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 32px rgba(25,73,76,.13);
}
.user-stage .bottom-nav button.active { color: var(--u-cyan-deep); }
.user-stage .step-indicator span { background: rgba(18,23,24,.11); }
.user-stage .step-indicator span.active { background: var(--u-cyan); }
.user-stage .timeline-dot { background: var(--u-cyan-deep); }
.user-stage .timeline-item.pending .timeline-dot { color: #7d8b8d; background: #e5eeee; }
.user-stage .status-pill.status-green,
.user-stage .status-pill.status-blue {
  color: #117982;
  background: var(--u-cyan-soft);
}
.user-stage .user-card-switch button.active { background: var(--u-ink); }

/* ===== User H5 Hazel medical palette ===== */
.user-stage {
  --u-cyan: #4f82d2;
  --u-cyan-deep: #35578f;
  --u-cyan-soft: #e5eefb;
  --u-bg: #f7faff;
  --u-bg-deep: #eef4fb;
  --u-ink: #0f0f11;
  --u-ink-soft: #717b87;
  --u-peach: #4f82d2;
  --u-peach-soft: #edf3fd;
  --u-cream: #f2f7fd;
  --u-line: #dfe7f2;
}
.user-stage .user-app {
  background:
    radial-gradient(circle at 94% -3%, rgba(79,130,210,.12), transparent 25%),
    radial-gradient(circle at -6% 38%, rgba(190,213,249,.26), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, var(--u-bg) 46%, var(--u-bg-deep) 100%);
}
.user-stage .user-top::after {
  background: rgba(79,130,210,.10);
  box-shadow: 0 0 0 18px rgba(79,130,210,.035);
}
.user-stage .user-brand-mark {
  color: #fff;
  background: var(--u-cyan);
  box-shadow: 0 8px 18px rgba(79,130,210,.22);
}
.user-stage .user-greeting h1 { color: var(--u-ink); }
.user-stage .user-greeting p { color: rgba(15,15,17,.54); }
.user-stage .passport-card {
  color: var(--u-ink);
  background:
    radial-gradient(circle at 95% 6%, rgba(79,130,210,.22), transparent 30%),
    radial-gradient(circle at 88% 102%, rgba(190,213,249,.42), transparent 34%),
    linear-gradient(145deg, #ffffff, #edf4ff);
  border: 1px solid rgba(79,130,210,.12);
  box-shadow: 0 16px 36px rgba(53,87,143,.10);
}
.user-stage .passport-card::before {
  background: linear-gradient(145deg, var(--u-cyan), #78a4e5);
  box-shadow: 0 10px 22px rgba(79,130,210,.20);
}
.user-stage .passport-card::after { border-color: rgba(79,130,210,.18); }
.user-stage .passport-card .mini { color: var(--u-cyan-deep); }
.user-stage .passport-card h2 { color: var(--u-ink); }
.user-stage .passport-card p { color: var(--u-ink-soft); }
.user-stage .benefit-mini {
  border: 1px solid rgba(79,130,210,.10);
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(10px);
}
.user-stage .benefit-mini strong { color: var(--u-cyan-deep); }
.user-stage .benefit-mini span { color: var(--u-ink-soft); }
.user-stage .user-section-title h3 { color: var(--u-ink); }
.user-stage .benefit-card-user,
.user-stage .check-summary,
.user-stage .user-empty {
  border: 1px solid var(--u-line);
  background: #fff;
  box-shadow: 0 9px 24px rgba(53,87,143,.06);
}
.user-stage .user-service-icon {
  color: var(--u-cyan-deep);
  background: var(--u-cyan-soft);
}
.user-stage .tag { color: var(--u-cyan-deep); background: var(--u-cyan-soft); }
.user-stage .tag.coral { color: #476ba7; background: #edf3fd; }
.user-stage .tag.gold { color: #6d7f9c; background: #f3f6fa; }
.user-stage .status-pill.status-green { color: #167b62; background: #e6f5f0; }
.user-stage .status-pill.status-blue { color: var(--u-cyan-deep); background: var(--u-cyan-soft); }
.user-stage .status-pill.status-orange { color: #9a632c; background: #fff1df; }
.user-stage .status-pill.status-red { color: #a64c4c; background: #fdeaea; }
.user-stage .user-card-switch button { background: #fff; border: 1px solid var(--u-line); }
.user-stage .user-card-switch button.active { color: #fff; background: var(--u-cyan); border-color: var(--u-cyan); }
.user-stage .btn-primary,
.user-stage .btn-coral {
  color: #fff;
  background: var(--u-cyan);
  box-shadow: 0 10px 24px rgba(79,130,210,.20);
}
.user-stage .btn-primary:hover,
.user-stage .btn-coral:hover { background: #416fb8; }
.user-stage .btn-secondary {
  color: var(--u-cyan-deep);
  background: #fff;
  border: 1px solid var(--u-line);
  box-shadow: none;
}
.user-stage .btn-ghost { color: var(--u-cyan-deep); background: var(--u-cyan-soft); }
.user-stage .input,
.user-stage .select,
.user-stage .textarea {
  color: var(--u-ink);
  border: 1px solid var(--u-line);
  background: #fff;
  box-shadow: 0 6px 16px rgba(53,87,143,.04);
}
.user-stage .input:focus,
.user-stage .select:focus,
.user-stage .textarea:focus { border-color: var(--u-cyan); box-shadow: 0 0 0 3px rgba(79,130,210,.11); }
.user-stage .radio-option { border: 1px solid var(--u-line); background: #fff; box-shadow: none; }
.user-stage .form-note { color: #516b94; background: var(--u-cream); }
.user-stage .bottom-nav { border: 1px solid rgba(79,130,210,.08); background: rgba(255,255,255,.98); box-shadow: 0 10px 30px rgba(53,87,143,.12); }
.user-stage .bottom-nav button { color: #97a2af; }
.user-stage .bottom-nav button.active { color: var(--u-cyan); }
.user-stage .step-indicator span { background: #e4ebf4; }
.user-stage .step-indicator span.active { background: var(--u-cyan); }
.user-stage .success-icon { background: var(--u-cyan); box-shadow: 0 18px 38px rgba(79,130,210,.20); }
.user-stage .timeline-dot { background: var(--u-cyan); }
.user-stage .timeline-item:not(:last-child)::before { background: #dfe7f2; }
.user-stage .icon-btn { color: var(--u-cyan); background: var(--u-cyan-soft); }
.user-stage .avatar { color: #fff; background: var(--u-cyan); }

.state-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.state-card { min-height:230px; }
.state-copy { display:grid; place-items:center; gap:8px; min-height:170px; text-align:center; }
.state-copy p { margin:0; color:var(--muted); font-size:12px; }
.state-icon { display:grid; place-items:center; width:52px; height:52px; border-radius:16px; color:var(--teal); background:var(--teal-soft); font-size:22px; font-weight:700; }
.state-icon.coral { color:var(--coral); background:var(--coral-soft); }
.state-icon.gold { color:var(--gold); background:var(--gold-soft); }
.skeleton { border-radius:9px; background:linear-gradient(90deg,#e5e9e4 25%,#f2f4f0 50%,#e5e9e4 75%); background-size:200% 100%; animation:skeleton 1.4s infinite; }
.skeleton-title { width:45%; height:22px; margin-bottom:16px; }
.skeleton-line { width:90%; height:12px; margin-bottom:10px; }
.skeleton-line.short { width:64%; }
.skeleton-card { width:100%; height:92px; margin-top:18px; }
@keyframes skeleton { from{background-position:200% 0} to{background-position:-200% 0} }
.file-actions { display:flex; gap:6px; flex-wrap:wrap; margin-top:7px; }
.secure-note { color:var(--muted); font-size:10px; }
.upload-progress { height:5px; margin-top:7px; overflow:hidden; border-radius:99px; background:#dfe6e1; }
.upload-progress i { display:block; height:100%; width:0; border-radius:inherit; background:var(--teal); transition:width .3s ease; }
.upload-box.is-filled { border-style:solid; border-color:var(--teal); color:var(--teal); background:var(--teal-soft); }
@media (max-width:900px){.state-grid{grid-template-columns:1fr}}

/* ===== Service-specific icon and banner assets ===== */
.user-service-icon { overflow: hidden; padding: 0; }
.service-icon-art { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.service-banner-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid rgba(79,130,210,.10);
  border-radius: 20px;
  background: #eef4fb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}
.service-banner-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.benefit-card-user > .service-banner-art { margin: -3px -3px 15px; border-radius: 20px; }
.user-stage .user-service-icon { border: 1px solid rgba(79,130,210,.08); background: #eef4fb; }
.user-stage .service-banner-art { margin-bottom: 15px; }

/* ===== Homepage banner carousel ===== */
.user-stage .home-carousel { margin: 0 0 15px; }
.user-stage .home-carousel-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.user-stage .home-carousel-track::-webkit-scrollbar { display: none; }
.user-stage .home-carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(79,130,210,.10);
  border-radius: 24px;
  background: #eef4fb;
  box-shadow: 0 12px 28px rgba(53,87,143,.10);
  scroll-snap-align: start;
  cursor: pointer;
}
.user-stage .home-carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.user-stage .home-carousel-dots { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.user-stage .home-carousel-dot { width: 6px; height: 6px; border-radius: 999px; background: #cfd9e8; transition: width .2s ease, background .2s ease; }
.user-stage .home-carousel-dot.active { width: 18px; background: #4f82d2; }

/* ===== Remaining UI asset integration ===== */
.card-cover-art {
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(79,130,210,.10);
  border-radius: 20px;
  background: #eef4fb;
}
.card-cover-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.benefit-card-user > .card-cover-art { margin: -3px -3px 15px; }
.login-hero-art {
  height: 176px;
  margin: -2px -2px 4px;
  overflow: hidden;
  border-radius: 24px;
  background: #edf4ff;
}
.login-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.user-avatar-photo {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(53,87,143,.16);
  background: #edf4fb;
}
.user-stage .user-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 34px 22px;
}
.user-stage .user-empty strong { color: #0f0f11; font-size: 15px; }
.user-stage .user-empty span { color: #7b8795; font-size: 12px; }
.empty-art {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 6px;
  border-radius: 22px;
  color: #4f82d2;
  background: #edf4fd;
}
.empty-art svg { width: 28px; height: 28px; }
.success-illustration {
  width: 154px;
  height: 116px;
  margin: 0 auto 12px;
  overflow: hidden;
  border-radius: 24px;
  background: #edf4ff;
}
.success-illustration img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== Bottom navigation containment fix ===== */
.user-stage .user-content,
.user-stage .user-content.dark {
  padding-bottom: 132px;
  scroll-padding-bottom: 132px;
}
.user-stage .bottom-nav {
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  bottom: 0;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid rgba(79,130,210,.08);
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -14px 34px rgba(53,87,143,.12);
}
.user-stage .bottom-nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}

/* Straight full-width bottom navigation edge */
.user-stage .bottom-nav {
  border-radius: 0;
  border-top: 1px solid rgba(79,130,210,.12);
  box-shadow: 0 -12px 30px rgba(53,87,143,.10);
}

/* ===== Guest public homepage redesign ===== */
.user-stage.guest-wide {
  --u-cyan: #4f82d2;
  --u-cyan-deep: #35578f;
  --u-cyan-soft: #e8f1ff;
  --u-ink: #0b1626;
  --u-ink-soft: #64748b;
  --u-line: rgba(27,57,102,.12);
  max-width: 1180px;
  background: #f5f8fd;
  box-shadow: none;
}
.user-stage.guest-wide .user-app { background: #f5f8fd; }
.guest-home { min-height: 100dvh; padding-bottom: 104px; overflow: hidden; }
.gh-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(27,57,102,.08);
  background: rgba(247,250,255,.88);
  backdrop-filter: blur(18px);
}
.gh-brand { display: flex; align-items: center; gap: 9px; color: var(--u-ink); }
.gh-brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 12px; color: #fff; background: var(--u-cyan);
  font-weight: 900; box-shadow: 0 9px 20px rgba(79,130,210,.24);
}
.gh-brand strong { display: block; font-size: 15px; line-height: 1.1; letter-spacing: -.02em; }
.gh-brand small { display: block; margin-top: 3px; color: #8290a3; font-size: 9px; letter-spacing: .04em; }
.gh-desktop-nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.gh-desktop-nav button, .gh-login {
  border: 0; padding: 9px 12px; border-radius: 999px; color: #65748a; background: transparent; font: 600 12px/1 var(--body); cursor: pointer;
}
.gh-desktop-nav button.active { color: #244b8c; background: #e9f1ff; }
.gh-desktop-nav button:hover, .gh-login:hover { color: var(--u-cyan-deep); background: #edf4ff; }
.gh-header-actions { display: flex; align-items: center; gap: 3px; }
.gh-activate {
  border: 0; padding: 10px 13px; border-radius: 999px; color: #fff; background: var(--u-cyan);
  font: 700 11px/1 var(--body); box-shadow: 0 8px 18px rgba(79,130,210,.22); cursor: pointer;
}
.gh-main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 18px 14px 0; }
.gh-main > * { min-width: 0; }
.gh-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 18px; min-height: 382px; padding: 28px 22px 22px;
  border-radius: 30px; color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(97,208,255,.45), transparent 24%),
    radial-gradient(circle at 8% 94%, rgba(67,113,224,.42), transparent 32%),
    linear-gradient(145deg, #102a57 0%, #173c74 52%, #102d5c 100%);
  box-shadow: 0 24px 54px rgba(27,57,102,.18);
}
.gh-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(120deg, #000 0%, transparent 68%);
}
.gh-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; z-index: -1; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,255,255,.035), 0 0 0 64px rgba(255,255,255,.025);
}
.gh-hero-copy { position: relative; z-index: 2; }
.gh-kicker, .gh-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: #6d8aba; font: 800 9px/1 var(--body); letter-spacing: .15em; text-transform: uppercase;
}
.gh-kicker { color: rgba(210,237,255,.75); }
.gh-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #70e1ff; box-shadow: 0 0 0 4px rgba(112,225,255,.12); }
.gh-hero h1 { margin: 13px 0 10px; font: 900 30px/1.12 var(--body); letter-spacing: -.055em; }
.gh-hero h1 em { color: #8fe6ff; font-style: normal; }
.gh-hero p { max-width: 370px; margin: 0; color: rgba(236,246,255,.73); font-size: 12px; line-height: 1.75; }
.gh-hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.gh-btn-primary, .gh-btn-quiet, .gh-activation-btn, .gh-guide-btn {
  border: 0; border-radius: 13px; padding: 13px 15px; font: 700 12px/1 var(--body); cursor: pointer;
}
.gh-btn-primary { color: #0e2852; background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.13); }
.gh-btn-primary span, .gh-activation-btn span, .gh-guide-btn span { margin-left: 8px; font-size: 15px; }
.gh-btn-quiet { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.gh-trust-row { display: flex; flex-wrap: wrap; gap: 12px 15px; margin-top: 22px; color: rgba(236,246,255,.62); font-size: 10px; }
.gh-trust-row b { display: block; margin-bottom: 3px; color: #fff; font-size: 14px; }
.gh-hero-visual { position: relative; min-height: 170px; }
.gh-orbit { position: absolute; border: 1px solid rgba(137,227,255,.36); border-radius: 50%; }
.gh-orbit-a { width: 220px; height: 220px; right: 9%; top: -25px; }
.gh-orbit-b { width: 150px; height: 150px; right: 22%; top: 16px; border-color: rgba(255,255,255,.24); }
.gh-visual-main {
  position: absolute; right: 11%; top: 4px; width: 196px; height: 132px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.3); border-radius: 20px; background: #dcecff; box-shadow: 0 20px 44px rgba(0,0,0,.22); transform: rotate(-5deg);
}
.gh-visual-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gh-float-icon { position: absolute; display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; border: 3px solid rgba(255,255,255,.35); border-radius: 15px; background: #fff; box-shadow: 0 12px 24px rgba(5,23,55,.22); }
.gh-float-icon img { width: 100%; height: 100%; object-fit: cover; }
.gh-float-a { right: 3%; top: 0; transform: rotate(9deg); }
.gh-float-b { left: 8%; bottom: 4px; transform: rotate(-8deg); }
.gh-float-c { right: 25%; bottom: 0; transform: rotate(5deg); }
.gh-visual-label { position: absolute; left: 2%; top: 12px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #e9f7ff; background: rgba(15,43,85,.74); font-size: 10px; }
.gh-banner-shell { margin-top: 22px; }
.gh-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 2px 12px; }
.gh-section-head.compact { margin-bottom: 10px; }
.gh-section-head h3 { margin: 4px 0 3px; color: var(--u-ink); font: 900 20px/1.15 var(--body); letter-spacing: -.04em; }
.gh-section-head p { margin: 0; color: #8490a1; font-size: 11px; line-height: 1.5; }
.gh-text-link { border: 0; padding: 4px 0; color: var(--u-cyan-deep); background: transparent; font: 700 11px/1 var(--body); cursor: pointer; white-space: nowrap; }
.gh-swipe { color: #9aa7b8; font-size: 10px; }
.user-stage .home-carousel { margin-bottom: 0; }
.user-stage .home-carousel-slide { border-radius: 24px; box-shadow: 0 16px 32px rgba(53,87,143,.12); }
.user-stage .home-carousel-dots { margin-top: 11px; }
.gh-activation {
  position: relative; overflow: hidden; margin-top: 22px; padding: 22px;
  border: 1px solid rgba(79,130,210,.14); border-radius: 25px;
  background: linear-gradient(135deg, #ffffff 0%, #eaf3ff 100%);
  box-shadow: 0 16px 34px rgba(53,87,143,.08);
}
.gh-activation::before { content: ""; position: absolute; right: -32px; top: -38px; width: 150px; height: 150px; border: 1px solid rgba(79,130,210,.15); border-radius: 50%; }
.gh-activation-glow { position: absolute; right: 42px; top: -25px; width: 82px; height: 82px; border-radius: 50%; background: linear-gradient(135deg, #81b3ff, #4f82d2); opacity: .18; filter: blur(2px); }
.gh-activation-copy, .gh-activation-btn, .gh-activation-foot { position: relative; z-index: 1; }
.gh-activation h2 { margin: 8px 0 7px; color: var(--u-ink); font: 900 21px/1.22 var(--body); letter-spacing: -.04em; }
.gh-activation p { max-width: 530px; margin: 0; color: #65758d; font-size: 12px; line-height: 1.7; }
.gh-activation-btn { margin-top: 17px; color: #fff; background: var(--u-cyan); box-shadow: 0 10px 22px rgba(79,130,210,.23); }
.gh-activation-btn:hover, .gh-guide-btn:hover { background: #416fb8; }
.gh-activation-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; color: #76869b; font-size: 10px; }
.gh-section { margin-top: 28px; }
.gh-cap-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.gh-cap-card { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 104px; padding: 14px 12px; border: 1px solid rgba(27,57,102,.09); border-radius: 19px; background: rgba(255,255,255,.86); box-shadow: 0 10px 22px rgba(53,87,143,.05); }
.gh-cap-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 12px; color: var(--u-cyan); background: #eaf2ff; }
.gh-cap-icon svg { width: 17px; height: 17px; }
.gh-cap-card h4 { margin: 1px 0 4px; color: var(--u-ink); font-size: 13px; }
.gh-cap-card p { margin: 0; color: #8592a4; font-size: 10px; line-height: 1.5; }
.gh-cap-arrow { position: absolute; right: 11px; bottom: 10px; color: #b4c1d3; font-size: 15px; }
.gh-service-rail, .gh-card-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gh-service-rail::-webkit-scrollbar, .gh-card-strip::-webkit-scrollbar { display: none; }
.gh-service-card { overflow: hidden; border: 1px solid rgba(27,57,102,.09); border-radius: 22px; background: #fff; box-shadow: 0 14px 30px rgba(53,87,143,.08); scroll-snap-align: start; cursor: pointer; }
.gh-service-cover { position: relative; height: 142px; overflow: hidden; background: #eaf2ff; }
.gh-service-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gh-service-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,42,0) 36%, rgba(7,20,42,.36)); }
.gh-service-category { position: absolute; left: 12px; bottom: 11px; z-index: 1; padding: 5px 8px; border-radius: 999px; color: #fff; background: rgba(12,35,73,.55); backdrop-filter: blur(8px); font-size: 9px; }
.gh-service-body { padding: 13px; }
.gh-service-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gh-service-title-row h4 { margin: 0; color: var(--u-ink); font: 800 15px/1.2 var(--body); }
.gh-rating { color: #d38b2f; font-size: 10px; white-space: nowrap; }
.gh-service-body p { min-height: 32px; margin: 7px 0 12px; color: #758397; font-size: 10px; line-height: 1.55; }
.gh-service-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #98a5b7; font-size: 9px; }
.gh-review-summary { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 16px; border: 1px solid rgba(27,57,102,.08); border-radius: 21px; background: linear-gradient(135deg,#fff,#f1f6ff); }
.gh-review-score { display: grid; place-items: center; padding-right: 14px; border-right: 1px solid #dfe8f5; }
.gh-review-score strong { color: var(--u-ink); font: 900 33px/1 var(--body); letter-spacing: -.08em; }
.gh-review-score span { margin-top: 6px; color: #8a97a8; font-size: 10px; }
.gh-review-stats { display: flex; gap: 18px; }
.gh-review-stats strong { display: block; color: var(--u-ink); font: 800 15px/1 var(--body); }
.gh-review-stats span { display: block; margin-top: 5px; color: #8a97a8; font-size: 10px; }
.gh-review-bars { grid-column: 1/-1; display: grid; gap: 5px; }
.gh-review-bars span { display: block; height: 5px; border-radius: 99px; background: #e5edf8; overflow: hidden; }
.gh-review-bars span::after { content: ""; display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#84b5ff,#4f82d2); }
.gh-review-list { display: grid; gap: 10px; margin-top: 11px; }
.gh-review-card { padding: 15px; border: 1px solid rgba(27,57,102,.08); border-radius: 20px; background: #fff; box-shadow: 0 10px 24px rgba(53,87,143,.05); }
.gh-review-head { display: flex; align-items: center; gap: 9px; }
.gh-review-head img { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; background: #eaf2ff; }
.gh-review-head strong { display: block; color: var(--u-ink); font-size: 12px; }
.gh-review-head span { display: block; margin-top: 3px; color: #9aa6b7; font-size: 9px; }
.gh-review-date { margin-left: auto; color: #a7b1bf; font-size: 9px; }
.gh-stars { margin-top: 11px; color: #e6a33c; font-size: 12px; letter-spacing: 1px; }
.gh-review-card > p { margin: 8px 0 12px; color: #52627a; font-size: 11px; line-height: 1.7; }
.gh-review-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid #edf1f7; color: #9aa7b7; font-size: 9px; }
.gh-guide-teaser { position: relative; overflow: hidden; padding: 22px; border-radius: 25px; color: #fff; background: linear-gradient(135deg,#102a57,#1d4b85); box-shadow: 0 18px 36px rgba(27,57,102,.15); }
.gh-guide-teaser::after { content: ""; position: absolute; right: -46px; top: -65px; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.03); }
.gh-guide-copy { position: relative; z-index: 1; }
.gh-guide-copy h3 { margin: 8px 0 6px; font: 900 21px/1.2 var(--body); letter-spacing: -.04em; }
.gh-guide-copy p { max-width: 470px; margin: 0; color: rgba(235,245,255,.7); font-size: 11px; line-height: 1.65; }
.gh-steps { position: relative; z-index: 1; display: flex; align-items: center; gap: 4px; margin-top: 20px; }
.gh-steps div { display: grid; gap: 6px; min-width: 62px; }
.gh-steps b { color: #84dcff; font: 900 15px/1 var(--body); }
.gh-steps span { color: rgba(236,246,255,.72); font-size: 9px; white-space: nowrap; }
.gh-steps i { width: 18px; height: 1px; background: rgba(255,255,255,.25); }
.gh-guide-btn { position: relative; z-index: 1; margin-top: 20px; color: #102a57; background: #fff; }
.gh-faq-list { display: grid; gap: 8px; }
.gh-faq-item { border: 1px solid rgba(27,57,102,.08); border-radius: 16px; background: rgba(255,255,255,.84); overflow: hidden; }
.gh-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; color: #263b5c; list-style: none; font-size: 12px; font-weight: 700; cursor: pointer; }
.gh-faq-item summary::-webkit-details-marker { display: none; }
.gh-faq-item summary span { color: var(--u-cyan); font-size: 18px; font-weight: 400; }
.gh-faq-item p { margin: 0; padding: 0 14px 14px; color: #7b889b; font-size: 11px; line-height: 1.7; }
.gh-card-strip { grid-auto-columns: 86%; }
.gh-card { overflow: hidden; border: 1px solid rgba(27,57,102,.09); border-radius: 22px; background: #fff; box-shadow: 0 14px 30px rgba(53,87,143,.07); cursor: pointer; }
.gh-card .card-cover-art { margin: 0; border: 0; border-radius: 0; }
.gh-card-body { padding: 13px; }
.gh-card-code { color: var(--u-cyan-deep); font: 800 9px/1 var(--body); letter-spacing: .1em; }
.gh-card h4 { margin: 6px 0 5px; color: var(--u-ink); font-size: 14px; }
.gh-card p { min-height: 30px; margin: 0 0 12px; color: #7b889b; font-size: 10px; line-height: 1.55; }
.gh-card-foot { display: flex; justify-content: space-between; gap: 8px; color: #9aa7b7; font-size: 9px; }
.gh-card-foot strong { color: var(--u-cyan-deep); font-weight: 700; }
.gh-footer { display: grid; gap: 8px; margin-top: 28px; padding: 22px 2px 10px; color: #a0abba; font-size: 10px; }
.gh-footer-brand { display: flex; align-items: center; gap: 8px; color: #596b85; font-size: 13px; }
.gh-footer .gh-brand-mark { width: 27px; height: 27px; border-radius: 9px; font-size: 12px; }
.gh-footer p { margin: 0; color: #7d8ba0; }
.guest-bottom-nav { border: 1px solid rgba(79,130,210,.08); background: rgba(255,255,255,.98); }
.gh-sub-hero { position: relative; overflow: hidden; margin-bottom: 20px; padding: 22px 19px; border-radius: 24px; color: #fff; background: linear-gradient(135deg,#102a57,#1d4b85); box-shadow: 0 18px 36px rgba(27,57,102,.15); }
.gh-sub-hero::after { content: ""; position: absolute; right: -44px; top: -55px; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.gh-sub-hero h2 { position: relative; z-index: 1; margin: 9px 0 7px; font: 900 25px/1.15 var(--body); letter-spacing: -.045em; }
.gh-sub-hero p { position: relative; z-index: 1; margin: 0; color: rgba(236,246,255,.72); font-size: 11px; line-height: 1.7; }
.gh-sub-metrics { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; color: rgba(236,246,255,.65); font-size: 10px; }
.gh-sub-metrics b { display: block; margin-bottom: 3px; color: #fff; font-size: 15px; }
.gh-feature-list, .gh-applicable-list { display: grid; gap: 9px; }
.gh-feature-item { display: flex; gap: 12px; padding: 15px; border: 1px solid rgba(27,57,102,.08); border-radius: 17px; background: #fff; }
.gh-feature-item > span { color: #86a8dc; font: 900 17px/1 var(--body); }
.gh-feature-item h4 { margin: 0 0 4px; color: var(--u-ink); font-size: 13px; }
.gh-feature-item p { margin: 0; color: #7e8b9e; font-size: 10px; line-height: 1.55; }
.gh-filter-row { display: flex; gap: 7px; overflow-x: auto; padding: 0 1px 14px; scrollbar-width: none; }
.gh-filter-row::-webkit-scrollbar { display: none; }
.gh-filter-row button { min-width: max-content; border: 1px solid rgba(27,57,102,.1); border-radius: 999px; padding: 8px 11px; color: #8090a4; background: rgba(255,255,255,.75); font-size: 10px; }
.gh-filter-row button.active { border-color: var(--u-cyan); color: #fff; background: var(--u-cyan); }
.gh-service-grid { display: grid; gap: 11px; }
.gh-detail-intro { padding: 18px 2px 4px; }
.gh-detail-intro h2 { margin: 8px 0 7px; color: var(--u-ink); font: 900 24px/1.2 var(--body); }
.gh-detail-intro p { margin: 0; color: #728198; font-size: 12px; line-height: 1.7; }
.gh-detail-meta { display: flex; gap: 7px; margin-top: 12px; }
.gh-detail-meta span { padding: 5px 8px; border-radius: 999px; color: var(--u-cyan-deep); background: #eaf2ff; font-size: 9px; }
.gh-applicable-item { display: flex; justify-content: space-between; gap: 12px; padding: 13px 14px; border: 1px solid rgba(27,57,102,.08); border-radius: 14px; background: #fff; color: #4f6078; font-size: 11px; }
.gh-applicable-item strong { color: var(--u-cyan-deep); }
.gh-mini-flow { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gh-mini-flow::-webkit-scrollbar { display: none; }
.gh-mini-flow div { min-width: 100px; padding: 12px 10px; border: 1px solid rgba(27,57,102,.08); border-radius: 15px; background: #fff; }
.gh-mini-flow b { display: block; margin-bottom: 5px; color: #84a8dd; font-size: 11px; }
.gh-mini-flow span { color: #61718a; font-size: 10px; }
.gh-detail-cta { margin-top: 24px; padding: 20px; border-radius: 24px; background: linear-gradient(135deg,#edf4ff,#fff); border: 1px solid rgba(79,130,210,.12); }
.gh-detail-cta h3 { margin: 0 0 5px; color: var(--u-ink); font-size: 18px; }
.gh-detail-cta p { margin: 0; color: #7b8b9f; font-size: 11px; line-height: 1.6; }
.gh-detail-cta .gh-activation-btn { margin-top: 15px; }
.user-stage.guest-wide .bottom-nav { display: none; }
.user-stage.guest-wide .guest-bottom-nav { display: grid; }
@media (max-width: 390px) {
  .gh-hero { padding-left: 18px; padding-right: 18px; }
  .gh-hero h1 { font-size: 27px; }
  .gh-hero-actions { align-items: stretch; flex-direction: column; }
  .gh-btn-primary, .gh-btn-quiet { width: 100%; }
  .gh-steps { gap: 2px; }
  .gh-steps div { min-width: 54px; }
  .gh-steps span { font-size: 8px; }
}
/* ===== Promotional service metrics ===== */
.gh-promo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.gh-promo-card {
  position: relative; min-height: 148px; overflow: hidden; padding: 15px;
  border: 1px solid rgba(27,57,102,.09); border-radius: 21px;
  background: linear-gradient(145deg, #ffffff, #eef5ff);
  box-shadow: 0 12px 26px rgba(53,87,143,.06);
}
.gh-promo-card:nth-child(2) { background: linear-gradient(145deg, #f7fbff, #e7f1ff); }
.gh-promo-card:nth-child(3) { background: linear-gradient(145deg, #ffffff, #edf9fb); }
.gh-promo-card:nth-child(4) { background: linear-gradient(145deg, #fbfdff, #edf3ff); }
.gh-promo-card::after { content: ""; position: absolute; right: -24px; top: -28px; width: 82px; height: 82px; border: 1px solid rgba(79,130,210,.12); border-radius: 50%; }
.gh-promo-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gh-promo-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 11px; color: var(--u-cyan); background: rgba(255,255,255,.82); box-shadow: 0 6px 14px rgba(79,130,210,.08); }
.gh-promo-icon svg { width: 16px; height: 16px; }
.gh-promo-mark { color: #a4b2c6; font: 800 8px/1 var(--body); letter-spacing: .12em; }
.gh-promo-value { position: relative; z-index: 1; margin-top: 14px; color: var(--u-ink); font: 900 28px/1 var(--body); letter-spacing: -.07em; }
.gh-promo-value small { margin-left: 3px; color: #6f83a1; font-size: 11px; font-weight: 800; letter-spacing: 0; }
.gh-promo-card h4 { position: relative; z-index: 1; margin: 6px 0 5px; color: #213858; font-size: 12px; }
.gh-promo-card p { position: relative; z-index: 1; margin: 0; color: #8491a4; font-size: 9px; line-height: 1.55; }
/* Center guest footer */
.gh-footer { justify-items: center; text-align: center; }
.gh-footer-brand { justify-content: center; }
/* ===== Service card selector ===== */
.service-filter-block { margin-bottom: 10px; padding: 12px; border: 1px solid rgba(27,57,102,.09); border-radius: 18px; background: rgba(255,255,255,.68); box-shadow: 0 8px 20px rgba(53,87,143,.04); }
.service-filter-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 1px 2px 8px; }
.service-filter-label span { color: #2e4e7c; font-size: 11px; font-weight: 800; }
.service-filter-label small { overflow: hidden; color: #9aa7b8; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.benefit-card-switch { margin-bottom: 0; }
.benefit-card-switch button { background: rgba(255,255,255,.9); }
.benefit-card-switch button.active { color: #fff; border-color: var(--u-cyan); background: var(--u-cyan); }
/* Guest navigation: hide service tab for unregistered users */
.guest-bottom-nav { grid-template-columns: repeat(3,1fr); }
/* Allow service configuration text to wrap in the detail summary */
.user-stage .check-summary div { align-items: flex-start; }
.user-stage .check-summary span { flex: 0 0 auto; white-space: nowrap; }
.user-stage .check-summary strong { flex: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; word-break: break-word; line-height: 1.55; }

/* ===== Service icon fallback + per-status color coding ===== */
.service-icon-glyph { display: grid; place-items: center; width: 100%; height: 100%; color: inherit; }
.service-icon-glyph svg { width: 55%; height: 55%; }
.gh-service-cover .service-icon-glyph { height: 100%; color: #7c93b3; background: #eaf2ff; }
.gh-service-cover .service-icon-glyph svg { width: 34%; height: 34%; }
.btn:disabled, .btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.user-stage .status-pill.status-gray { color: #5f6b7a; background: #eef1f5; }
.user-stage .status-pill.status-gold { color: #8a6826; background: #f7eedb; }
.user-stage .guest-card-foot.is-ready strong { color: #167b62; }
.user-stage .guest-card-foot.is-waiting strong { color: #9a632c; }
.user-stage .guest-card-foot.is-expired strong { color: #7c8792; }
