:root {
      --bg:#f5f7fb;
      --surface:#ffffff;
      --surface-soft:#f8fafc;
      --line:#e5e7eb;
      --line-strong:#d7dce3;
      --text:#111827;
      --muted:#6b7280;
      --muted-2:#94a3b8;
      --dark:#0f172a;
      --dark-2:#111827;
      --primary-grad:linear-gradient(135deg,#ff7bc0 0%,#9d7bff 48%,#69c6ff 100%);
      --primary-shadow:0 18px 45px rgba(125, 102, 255, .18);
      --card-shadow:0 18px 45px rgba(15,23,42,.07);
      --radius-xl:28px;
      --radius-lg:22px;
      --radius-md:16px;
      --radius-sm:12px;
    }

    * { box-sizing:border-box; }
    html, body { margin:0; padding:0; }
    body {
      font-family: Arial, sans-serif;
      background:
        radial-gradient(circle at top left, rgba(255,123,192,.10), transparent 28%),
        radial-gradient(circle at top right, rgba(105,198,255,.10), transparent 32%),
        var(--bg);
      color:var(--text);
    }
    a { color:inherit; text-decoration:none; }
    img { max-width:100%; display:block; }

    .wrap { width:min(1180px, calc(100% - 32px)); margin:0 auto; }
    .content { padding:0px 0 72px; }

    .site-header {
      position:sticky;
      top:0;
      z-index:50;
      padding:14px 0 0px;
      backdrop-filter: blur(14px);
      background:rgba(245,247,251,.72);
      border-bottom:1px solid rgba(229,231,235,.9);
    }

    .topbar {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      min-height:64px;
      padding:0 4px;
    }

    .brand-area {
      display:flex;
      align-items:center;
      gap:12px;
      min-width:0;
    }

    .brand-mark {
      width:42px;
      height:42px;
      border-radius:16px;
      background:var(--primary-grad);
      box-shadow:var(--primary-shadow);
      flex:0 0 auto;
    }

    .brand-copy { min-width:0; }
    .brand-name {
      display:block;
      font-size:20px;
      font-weight:800;
      letter-spacing:-0.02em;
      color:var(--dark);
      line-height:1.1;
    }
    .brand-sub {
      display:block;
      margin-top:3px;
      font-size:12px;
      color:var(--muted);
      white-space:nowrap;
    }

    .nav-area {
      display:flex;
      align-items:center;
      gap:12px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }

    .nav-links {
      display:flex;
      align-items:center;
      gap:10px;
      flex-wrap:wrap;
    }

    .nav-link {
      min-height:40px;
      padding:0 14px;
      border-radius:999px;
      font-size:14px;
      font-weight:700;
      color:#334155;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      transition:background .15s ease, color .15s ease;
    }
    .nav-link:hover { background:#eef2f7; color:var(--dark); }

    .top-actions {
      display:flex;
      align-items:center;
      gap:10px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }

    .badge-pill,
    .eyebrow {
      display:inline-flex;
      align-items:center;
      gap:8px;
      min-height:34px;
      padding:0 13px;
      border-radius:999px;
      font-size:12px;
      font-weight:800;
      letter-spacing:-0.01em;
    }

    .badge-pill {
      background:rgba(17,24,39,.07);
      color:#334155;
      border:1px solid rgba(148,163,184,.2);
    }

    .eyebrow {
      background:rgba(255,255,255,.85);
      color:#334155;
      border:1px solid rgba(255,255,255,.95);
      box-shadow:0 10px 20px rgba(15,23,42,.05);
    }

    .btn {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      min-height:48px;
      padding:0 18px;
      border-radius:16px;
      border:0;
      cursor:pointer;
      font-size:15px;
      font-weight:800;
      letter-spacing:-0.01em;
      transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease;
    }
    .btn:hover { transform:translateY(-1px); }
    .btn-dark {
      background:var(--dark-2);
      color:#fff;
      box-shadow:0 16px 35px rgba(17,24,39,.16);
    }
    .btn-light {
      background:#fff;
      color:var(--dark);
      border:1px solid var(--line);
      box-shadow:0 10px 24px rgba(15,23,42,.05);
    }
    .btn-grad {
      background:var(--primary-grad);
      color:#fff;
      box-shadow:var(--primary-shadow);
    }
    .btn-block { width:100%; }
    .btn-sm {
      min-height:40px;
      padding:0 14px;
      border-radius:13px;
      font-size:14px;
    }

    .hero-shell,
    .surface-card,
    .mini-card,
    .empty-card {
      background:var(--surface);
      border:1px solid rgba(229,231,235,.95);
      box-shadow:var(--card-shadow);
    }

    .hero-shell {
      position:relative;
      overflow:hidden;
      border-radius:var(--radius-xl);
      padding:34px;
    }

    .hero-shell::after {
      content:'';
      position:absolute;
      right:-70px;
      top:-70px;
      width:220px;
      height:220px;
      border-radius:999px;
      background:rgba(157,123,255,.10);
      pointer-events:none;
    }

    .hero-grid {
      position:relative;
      z-index:1;
      display:grid;
      grid-template-columns:minmax(0, 1.1fr) minmax(280px, .9fr);
      gap:22px;
      align-items:stretch;
    }

    .hero-title {
      margin:14px 0 12px;
      font-size:48px;
      line-height:1.08;
      letter-spacing:-0.04em;
      color:var(--dark);
    }

    .hero-lead,
    .muted {
      color:var(--muted);
      line-height:1.75;
    }

    .hero-lead {
      margin:0 0 22px;
      font-size:17px;
      max-width:680px;
    }

    .cta-row { display:flex; gap:12px; flex-wrap:wrap; }

    .surface-card {
      border-radius:var(--radius-lg);
      padding:24px;
    }

    .card-title {
      margin:0 0 8px;
      font-size:22px;
      line-height:1.28;
      letter-spacing:-0.02em;
      color:var(--dark);
    }

    .card-sub {
      margin:0;
      font-size:14px;
      color:var(--muted);
      line-height:1.7;
    }

    .grid-3,
    .grid-2,
    .stats-grid,
    .option-grid,
    .chip-grid,
    .profile-grid {
      display:grid;
      gap:16px;
    }
    .grid-3 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
    .grid-2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .option-grid { grid-template-columns:repeat(3, minmax(0, 1fr)); }
    .stats-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .profile-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .chip-grid { grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); }

    .mini-card,
    .option-card,
    .stat-card,
    .profile-card,
    .empty-card {
      border-radius:20px;
      padding:20px;
    }

    .option-card,
    .stat-card,
    .profile-card,
    .empty-card {
      background:#fff;
      border:1px solid var(--line);
      box-shadow:0 14px 35px rgba(15,23,42,.05);
    }

    .option-card h3,
    .profile-card h3,
    .empty-card h3 {
      margin:0 0 8px;
      font-size:20px;
      line-height:1.3;
      letter-spacing:-0.02em;
      color:var(--dark);
    }

    .option-card p,
    .profile-card p,
    .empty-card p,
    .stat-card p {
      margin:0;
      color:var(--muted);
      line-height:1.7;
      font-size:14px;
    }

    .stat-value {
      display:block;
      margin-top:10px;
      font-size:26px;
      font-weight:800;
      color:var(--dark);
      letter-spacing:-0.03em;
    }

    .section-stack { display:grid; gap:18px; }
    .section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:2px; }

    .notice,
    .success,
    .warning {
      padding:14px 16px;
      border-radius:16px;
      font-size:14px;
      line-height:1.65;
      margin-bottom:16px;
    }
    .notice { background:#eef6ff; border:1px solid #bfdbfe; color:#1d4ed8; }
    .success { background:#ecfdf5; border:1px solid #a7f3d0; color:#047857; }
    .warning { background:#fff7ed; border:1px solid #fdba74; color:#9a3412; }

    .field { margin-bottom:16px; }
    .label {
      display:block;
      margin-bottom:8px;
      color:var(--dark);
      font-size:14px;
      font-weight:800;
      letter-spacing:-0.01em;
    }
    .help {
      margin-top:8px;
      color:var(--muted);
      font-size:13px;
      line-height:1.6;
    }

    .input,
    textarea.input,
    select.input {
      width:100%;
      min-height:52px;
      border:1px solid var(--line-strong);
      border-radius:16px;
      padding:0 15px;
      font-size:15px;
      background:#fff;
      color:var(--dark);
      outline:none;
      transition:border-color .15s ease, box-shadow .15s ease;
    }
    textarea.input {
      min-height:120px;
      padding:14px 15px;
      resize:vertical;
    }
    .input:focus {
      border-color:#9d7bff;
      box-shadow:0 0 0 4px rgba(157,123,255,.10);
    }

    .checkbox-grid {
      display:grid;
      grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
      gap:10px;
    }
    .check-card {
      display:flex;
      align-items:center;
      gap:10px;
      min-height:48px;
      padding:10px 12px;
      border-radius:14px;
      background:#fff;
      border:1px solid var(--line);
    }
    .check-card input { margin:0; }
    .check-card span {
      color:#334155;
      font-size:14px;
      font-weight:700;
      line-height:1.5;
    }

    .profile-meta {
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin:12px 0 16px;
    }

    .meta-chip {
      display:inline-flex;
      align-items:center;
      min-height:32px;
      padding:0 12px;
      border-radius:999px;
      background:#f8fafc;
      border:1px solid var(--line);
      color:#475569;
      font-size:12px;
      font-weight:800;
    }

    .profile-actions,
    .card-actions {
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      margin-top:16px;
    }

    .hero-side {
      display:grid;
      gap:14px;
      align-content:start;
    }

    .list-clean {
      display:grid;
      gap:10px;
      padding:0;
      margin:0;
      list-style:none;
    }

    .list-clean li {
      display:flex;
      gap:10px;
      align-items:flex-start;
      color:#475569;
      font-size:14px;
      line-height:1.65;
    }

    .dot {
      width:9px;
      height:9px;
      margin-top:7px;
      border-radius:999px;
      background:linear-gradient(135deg,#ff7bc0,#69c6ff);
      flex:0 0 auto;
    }

    .page-top-gap { margin-top:0px; }

    .selected-profile-strip {
      margin-top:0px;
      padding:0 0px;
	  padding-bottom:10px;
    }

    .selected-profile-shell {
      background:#fff;
      border:1px solid rgba(229,231,235,.95);
      box-shadow:0 18px 45px rgba(15,23,42,.06);
      border-radius:26px;
      padding:16px 18px;
      display:grid;
      grid-template-columns:280px minmax(0, 1fr);
      gap:16px;
      align-items:start;
    }

    .selected-profile-main {
      min-width:0;
    }

    .selected-profile-title {
      margin:0;
      font-size:16px;
      font-weight:900;
      color:#111827;
      letter-spacing:-0.02em;
    }

    .selected-profile-name {
      margin:10px 0 0;
      font-size:24px;
      line-height:1.2;
      letter-spacing:-0.03em;
      color:#0f172a;
      font-weight:900;
      word-break:keep-all;
    }

    .selected-profile-desc {
      margin:8px 0 0;
      font-size:13px;
      line-height:1.7;
      color:#64748b;
    }

    .selected-profile-actions {
      display:flex;
      gap:8px;
      flex-wrap:wrap;
      margin-top:14px;
    }

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

    .header-profile-kpi-card {
      min-width:0;
      background:#fff;
      border:1px solid #e9edf5;
      border-radius:22px;
      box-shadow:0 10px 30px rgba(15,23,42,.06);
      padding:16px 18px;
    }

    .header-profile-kpi-head {
      margin-bottom:12px;
    }

    .header-profile-kpi-title {
      font-size:15px;
      font-weight:900;
      color:#0f172a;
      line-height:1.3;
      letter-spacing:-0.02em;
      word-break:keep-all;
    }

    .header-profile-kpi-caption {
      margin-top:4px;
      font-size:12px;
      color:#64748b;
      line-height:1.45;
      word-break:keep-all;
    }

    .header-profile-kpi-body {
      display:flex;
      align-items:center;
      gap:12px;
      min-width:0;
    }

    .header-profile-kpi-ring {
      --pct: 0%;
      width:82px;
      height:82px;
      border-radius:50%;
      background:conic-gradient(#5b63e6 0 var(--pct), #e5e7eb var(--pct) 100%);
      position:relative;
      flex:0 0 82px;
    }

    .header-profile-kpi-ring-inner {
      position:absolute;
      inset:8px;
      border-radius:50%;
      background:#fff;
      display:flex;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      box-shadow:inset 0 0 0 1px #eef2f7;
    }

    .header-profile-kpi-ring-inner strong {
      font-size:15px;
      line-height:1;
      color:#0f172a;
      font-weight:900;
      letter-spacing:-0.02em;
    }

    .header-profile-kpi-ring-inner span {
      margin-top:4px;
      font-size:9px;
      color:#64748b;
      font-weight:700;
    }

    .header-profile-kpi-text {
      min-width:0;
      flex:1 1 auto;
    }

    .header-profile-kpi-main {
      font-size:15px;
      font-weight:900;
      color:#111827;
      line-height:1.38;
      letter-spacing:-0.02em;
      word-break:keep-all;
    }

    .header-profile-kpi-sub {
      margin-top:4px;
      font-size:12px;
      color:#64748b;
      line-height:1.45;
      word-break:keep-all;
    }

    .header-profile-kpi-empty {
      font-size:13px;
      color:#64748b;
      line-height:1.7;
    }

    @media (max-width: 1180px) {
      .selected-profile-shell {
        grid-template-columns:1fr;
      }

      .selected-profile-kpi-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 980px) {
      .hero-grid,
      .grid-3,
      .option-grid,
      .profile-grid,
      .grid-2 { grid-template-columns:1fr; }
      .hero-title { font-size:38px; }
      .topbar { align-items:flex-start; flex-direction:column; }
      .nav-area { width:100%; justify-content:space-between; }
      .selected-profile-kpi-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .wrap { width:min(100% - 24px, 1180px); }
      .site-header { padding:10px 0 10px; }
      .hero-shell { padding:24px; border-radius:22px; }
      .hero-title { font-size:32px; }
      .content { padding:22px 0 54px; }
      .surface-card,
      .option-card,
      .profile-card,
      .empty-card { padding:18px; }
      .checkbox-grid { grid-template-columns:1fr 1fr; }

      .selected-profile-shell {
        padding:14px;
        border-radius:22px;
      }

      .selected-profile-name {
        font-size:20px;
      }

      .selected-profile-kpi-grid {
        grid-template-columns:1fr;
      }

      .header-profile-kpi-card {
        padding:14px;
      }

      .header-profile-kpi-body {
        gap:10px;
      }

      .header-profile-kpi-ring {
        width:74px;
        height:74px;
        flex:0 0 74px;
      }

      .header-profile-kpi-ring-inner {
        inset:8px;
      }

      .header-profile-kpi-main {
        font-size:14px;
      }

      .header-profile-kpi-sub {
        font-size:11px;
      }
    }

/* utility */
.section-stack-top { margin-top: 22px; }
.card-title-tight { margin-bottom: 6px; }
.form-required { color: #dc2626; }
.form-inline { margin: 0; }
.meta-gap-top { margin: 10px 0 0; }
.profile-current-name {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.section-plain {
  margin-top: 22px;
}
.section-narrow {
  max-width: 920px;
  margin: 0 auto;
}
.prose {
  color: var(--muted);
  line-height: 1.8;
}
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }

.profile-single-check { max-width: 320px; }

/* =========================================================
   Header logo / footer
   - append only
   ========================================================= */

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 42px;
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.10);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid #e5e7eb;
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.10), transparent 34%),
    radial-gradient(circle at top right, rgba(129, 140, 248, 0.10), transparent 30%),
    #ffffff;
}

.footer-shell {
  padding: 36px 0 28px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eef2f7;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.footer-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 36px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.72));
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
}

.footer-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-name {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.footer-brand-sub {
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.footer-link-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  flex-wrap: wrap;
}

.footer-link {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  color: #111827;
}

.footer-business {
  padding-top: 22px;
}

.footer-business-title {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  color: #111827;
}

.footer-business-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-business-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.footer-business-list li span {
  flex: 0 0 112px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

.footer-business-list li strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #111827;
  font-weight: 600;
  word-break: break-word;
}

.footer-business-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
}

.footer-copyright {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #9ca3af;
}

@media (max-width: 960px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-link-group {
    justify-content: flex-start;
  }

  .footer-business-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  .footer-shell {
    padding: 28px 0 24px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .footer-brand-name {
    font-size: 16px;
  }

  .footer-brand-sub {
    font-size: 12px;
  }

  .footer-link-group {
    gap: 8px 14px;
  }

  .footer-business-list li {
    flex-direction: column;
    gap: 2px;
  }

  .footer-business-list li span {
    flex: none;
  }
}