    :root {
      --bg: #fafbfc;
      --bg-card: #ffffff;
      --text: #1a1d23;
      --text-muted: #6b7280;
      --accent: #0066ff;
      --accent-hover: #0052cc;
      --accent-light: #e8f0fe;
      --danger: #ef4444;
      --success: #10b981;
      --warning: #f59e0b;
      --border: #e5e7eb;
      --radius: 16px;
      --radius-sm: 10px;
      --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
      --shadow-lg: 0 4px 16px rgba(0,0,0,.08), 0 12px 40px rgba(0,0,0,.06);
      --shadow-xl: 0 8px 30px rgba(0,0,0,.1), 0 20px 60px rgba(0,0,0,.08);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    [hidden] { display: none !important; }

    html { scroll-behavior: smooth; overflow-x: hidden; }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ─── NAV ─── */
    #nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 300;
      background: rgba(250,251,252,.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(0,0,0,.05);
      transition: box-shadow .3s ease;
    }
    #nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06); }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }
    .swimkeep-mark {
      display: inline-flex;
      flex-shrink: 0;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }
    .swimkeep-mark-image {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .swimkeep-favicon-frame {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      border-radius: 50%;
      background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78) 45%, rgba(216, 235, 255, 0.72) 100%);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 12px 24px rgba(13, 103, 222, 0.16);
    }
    .swimkeep-favicon {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 50%;
    }
    .logo {
      font-weight: 800;
      font-size: 1.35rem;
      color: var(--text);
      text-decoration: none;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .swimkeep-mark-nav,
    .swimkeep-favicon-frame-nav {
      width: 42px;
      height: 42px;
      filter: drop-shadow(0 10px 20px rgba(13, 103, 222, 0.2));
    }
    .logo-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 1px;
      line-height: 1;
    }
    .logo-wordmark {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.03em;
    }
    .logo-tagline {
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #55708d;
    }
    .nav-cta {
      background: var(--text);
      color: white;
      border: none;
      padding: 10px 22px;
      border-radius: 100px;
      font-size: .875rem;
      font-weight: 600;
      cursor: pointer;
      transition: all .2s ease;
      text-decoration: none;
    }
    .nav-cta:hover { background: #000; transform: translateY(-1px); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 auto;
    }

    .nav-link {
      padding: 8px 14px;
      border-radius: 100px;
      text-decoration: none;
      color: var(--text-muted);
      font-size: 0.95rem;
      font-weight: 600;
      transition: all .2s ease;
    }

    .nav-link:hover {
      background: rgba(0,0,0,.05);
      color: var(--text);
    }

    /* ─── HAMBURGER / MOBILE MENU ─── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      border-radius: 8px;
      flex-shrink: 0;
    }
    .nav-hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: transform .25s ease, opacity .25s ease;
      transform-origin: center;
    }
    .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }
    .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .nav-mobile-menu {
      display: none;
      position: fixed;
      top: 64px;
      left: 0;
      right: 0;
      width: 100%;
      max-width: 100vw;
      z-index: 299;
      background: rgba(250,251,252,.97);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 12px 16px 20px;
      flex-direction: column;
      gap: 4px;
      overflow-x: hidden;
      box-shadow: 0 8px 24px rgba(0,0,0,.08);
    }
    .nav-mobile-menu.is-open {
      display: flex;
    }
    .nav-mobile-link {
      display: block;
      width: 100%;
      min-width: 0;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      text-decoration: none;
      color: var(--text);
      font-size: 1rem;
      font-weight: 600;
      transition: background .15s ease;
    }
    .nav-mobile-link:hover {
      background: rgba(0,0,0,.05);
    }
    .nav-mobile-cta {
      display: block;
      width: 100%;
      min-width: 0;
      margin-top: 8px;
      padding: 13px 16px;
      border-radius: 100px;
      text-decoration: none;
      text-align: center;
      background: var(--text);
      color: white;
      font-size: 1rem;
      font-weight: 700;
      transition: background .2s ease;
    }
    .nav-mobile-cta:hover { background: #000; }

    body.app-mode .hero,
    body.app-mode .problem,
    body.app-mode .how,
    body.app-mode .features,
    body.app-mode .proof,
    body.app-mode .pricing,
    body.app-mode .guarantee,
    body.app-mode .faq,
    body.app-mode .final-cta,
    body.app-mode .community-teaser,
    body.app-mode footer {
      display: none;
    }

    body.app-mode #nav { display: none !important; }

    /* app-mode .app-preview overrides are in the sk-app-shell section */

    /* ─── HERO ─── */
    .hero {
      padding: 140px 0 80px;
      text-align: center;
      position: relative;
      overflow: hidden;
      background-image:
        linear-gradient(180deg, rgba(8, 18, 44, 0.62) 0%, rgba(8, 20, 46, 0.48) 35%, rgba(8, 20, 46, 0.58) 100%),
        url('/assets/hero_background.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 800px;
      height: 600px;
      background: radial-gradient(ellipse, rgba(0,102,255,.06) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(4, 12, 28, 0.22) 0%, rgba(4, 12, 28, 0.34) 100%);
      pointer-events: none;
    }
    .hero > .container {
      position: relative;
      z-index: 1;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--accent-light);
      color: var(--accent);
      font-weight: 600;
      font-size: .8rem;
      padding: 6px 16px;
      border-radius: 100px;
      margin-bottom: 28px;
      letter-spacing: .02em;
    }
    .hero-brand-lockup {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin: 0 auto 26px;
      padding: 12px 18px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid rgba(13, 103, 222, 0.12);
      box-shadow: 0 18px 40px rgba(24, 64, 131, 0.08);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }
    .swimkeep-mark-hero {
      width: 68px;
      height: 68px;
      filter: drop-shadow(0 18px 28px rgba(13, 103, 222, 0.18));
    }
    .hero-brand-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 3px;
      text-align: left;
    }
    .hero-brand-name {
      font-size: 1.2rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: #10213b;
    }
    .hero-brand-tagline {
      max-width: 420px;
      font-size: 0.85rem;
      line-height: 1.45;
      color: #4d647e;
    }
    .hero-badge .dot {
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
      animation: pulse-dot 2s ease infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; }
      50% { opacity: .4; }
    }
    .hero h1 {
      font-size: clamp(2.5rem, 6vw, 4rem);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 1.08;
      margin-bottom: 20px;
      max-width: 780px;
      margin-left: auto;
      margin-right: auto;
      color: #ffffff;
      text-shadow: 0 8px 26px rgba(4, 14, 36, 0.45);
    }
    .hero h1 .highlight {
      background: linear-gradient(135deg, var(--accent), #4f8fff);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-sub {
      font-size: 1.2rem;
      color: rgba(244, 248, 255, 0.92);
      max-width: 540px;
      margin: 0 auto 36px;
      line-height: 1.7;
      text-shadow: 0 6px 16px rgba(6, 16, 38, 0.34);
    }
    .hero-ctas {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent);
      color: white;
      border: none;
      padding: 16px 36px;
      border-radius: 100px;
      font-size: 1.05rem;
      font-weight: 600;
      cursor: pointer;
      transition: all .25s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 14px rgba(0,102,255,.25);
    }
    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,102,255,.35);
    }
    .btn-secondary {
      background: transparent;
      color: var(--text);
      border: 1.5px solid var(--border);
      padding: 16px 32px;
      border-radius: 100px;
      font-size: 1.05rem;
      font-weight: 600;
      cursor: pointer;
      transition: all .25s ease;
      text-decoration: none;
    }
    .btn-secondary:hover { border-color: var(--text); transform: translateY(-2px); }

    .hero-proof {
      margin-top: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      color: rgba(235, 243, 255, 0.9);
      font-size: .875rem;
      text-shadow: 0 4px 12px rgba(5, 14, 34, 0.35);
    }
    .hero-proof .stars { color: var(--warning); letter-spacing: 2px; }
    .hero-proof .sep { width: 1px; height: 16px; background: var(--border); }

    /* ─── HERO MOCKUP ─── */
    .hero-visual {
      margin-top: 60px;
      position: relative;
    }
    .hero-logo-orb {
      position: absolute;
      left: 50%;
      top: -20px;
      transform: translateX(calc(-50% - 240px));
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(13, 103, 222, 0.12);
      box-shadow: 0 16px 34px rgba(17, 52, 113, 0.12);
      z-index: 2;
    }
    .swimkeep-mark-orb {
      width: 54px;
      height: 54px;
    }
    .hero-logo-orb-label {
      max-width: 180px;
      font-size: 0.84rem;
      font-weight: 700;
      line-height: 1.4;
      color: #23405f;
      text-align: left;
    }
    .phone-mockup {
      width: 320px;
      margin: 0 auto;
      background: var(--bg-card);
      border-radius: 28px;
      box-shadow: var(--shadow-xl);
      border: 1px solid var(--border);
      overflow: hidden;
      position: relative;
    }
    .phone-status-bar {
      height: 44px;
      background: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: .75rem;
      font-weight: 600;
    }
    .phone-content {
      padding: 20px;
    }
    .alert-card {
      background: linear-gradient(135deg, #fef3c7, #fde68a);
      border: 1px solid #fbbf24;
      border-radius: 14px;
      padding: 16px;
      margin-bottom: 12px;
      animation: slideUp .6s ease both;
    }
    .alert-card.green {
      background: linear-gradient(135deg, #d1fae5, #a7f3d0);
      border-color: #34d399;
      animation-delay: .15s;
    }
    .alert-card.blue {
      background: linear-gradient(135deg, #dbeafe, #bfdbfe);
      border-color: #60a5fa;
      animation-delay: .3s;
    }
    @keyframes slideUp {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .alert-card-header {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: .85rem;
      margin-bottom: 4px;
    }
    .alert-card p {
      font-size: .78rem;
      color: var(--text);
      opacity: .8;
      line-height: 1.45;
    }

    /* ─── PROBLEM SECTION ─── */
    .problem {
      padding: 100px 0;
      position: relative;
    }
    .section-label {
      font-size: .75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .1em;
      color: var(--accent);
      margin-bottom: 14px;
    }
    .section-heading {
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin-bottom: 18px;
    }
    .section-sub {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 560px;
      line-height: 1.7;
      margin-bottom: 48px;
    }
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }
    .pain-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px;
      transition: all .3s ease;
    }
    .pain-card:hover {
      box-shadow: var(--shadow);
      transform: translateY(-3px);
      border-color: #d1d5db;
    }
    .pain-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      margin-bottom: 16px;
    }
    .pain-icon.red { background: #fef2f2; }
    .pain-icon.amber { background: #fffbeb; }
    .pain-icon.slate { background: #f1f5f9; }
    .pain-card h3 {
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .pain-card p {
      font-size: .9rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ─── HOW IT WORKS ─── */
    .how {
      padding: 100px 0;
      background: linear-gradient(180deg, #f3f4f6 0%, var(--bg) 100%);
    }
    .how .section-heading, .how .section-sub {
      text-align: center;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-top: 56px;
    }
    .step-card {
      text-align: center;
      position: relative;
    }
    .step-num {
      width: 52px;
      height: 52px;
      background: var(--accent);
      color: white;
      border-radius: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      font-weight: 800;
      margin-bottom: 20px;
    }
    .step-card h3 {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .step-card p {
      font-size: .9rem;
      color: var(--text-muted);
      line-height: 1.65;
    }
    .step-connector {
      position: absolute;
      top: 26px;
      right: -16px;
      width: 32px;
      height: 2px;
      background: var(--border);
    }
    .step-card:last-child .step-connector { display: none; }

    /* ─── FEATURES ─── */
    .features {
      padding: 100px 0;
    }
    .features .section-heading, .features .section-sub {
      text-align: center;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin-top: 56px;
    }
    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px;
      transition: all .3s ease;
    }
    .feature-card:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px);
      border-color: var(--accent);
    }
    .feature-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: var(--accent-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 18px;
    }
    .feature-card h3 {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .feature-card p {
      font-size: .9rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ─── SOCIAL PROOF ─── */
    .proof {
      padding: 100px 0;
      background: var(--text);
      color: white;
    }
    .proof .section-label { color: #60a5fa; }
    .proof .section-heading { color: white; text-align: center; }
    .proof .section-heading, .proof .section-sub {
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }
    .proof .section-sub { color: rgba(255,255,255,.5); }
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin-top: 56px;
    }
    .testimonial-card {
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius);
      padding: 28px;
    }
    .testimonial-stars {
      color: var(--warning);
      font-size: .9rem;
      letter-spacing: 2px;
      margin-bottom: 14px;
    }
    .testimonial-card blockquote {
      font-size: .95rem;
      line-height: 1.7;
      color: rgba(255,255,255,.85);
      margin-bottom: 18px;
      font-style: italic;
    }
    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .testimonial-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,.12);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: .85rem;
    }
    .testimonial-name {
      font-weight: 600;
      font-size: .9rem;
    }
    .testimonial-title {
      font-size: .78rem;
      color: rgba(255,255,255,.4);
    }

    /* ─── STAT BAR ─── */
    .stat-bar {
      padding: 60px 0;
      border-top: 1px solid rgba(255,255,255,.08);
      margin-top: 60px;
    }
    .stat-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }
    .stat-num {
      font-size: 2.2rem;
      font-weight: 800;
      color: white;
      letter-spacing: -0.02em;
    }
    .stat-label {
      font-size: .82rem;
      color: rgba(255,255,255,.4);
      margin-top: 4px;
    }

    /* ─── COMMUNITY TEASER ─── */
    .community-teaser {
      padding: 100px 0;
      background: linear-gradient(160deg, #0d1f3c 0%, #0f172a 60%, #0d1b36 100%);
    }
    .community-teaser .section-label { color: #34d399; letter-spacing: 0.08em; }
    .community-teaser .section-heading { color: white; text-align: center; }
    .community-teaser .section-heading,
    .community-teaser .section-sub { text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }
    .community-teaser .section-sub { color: rgba(255,255,255,.55); }
    .community-teaser-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 52px;
    }
    .community-teaser-card {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 14px;
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .community-teaser-card--featured {
      background: rgba(52,211,153,.06);
      border-color: rgba(52,211,153,.25);
    }
    .community-teaser-icon {
      width: 46px; height: 46px;
      background: rgba(255,255,255,.07);
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      color: #34d399;
      flex-shrink: 0;
    }
    .community-teaser-card h3 {
      font-size: 1.05rem; font-weight: 600; color: white; margin: 0;
    }
    .community-teaser-card p {
      font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,.55); margin: 0;
    }
    .community-teaser-cta {
      margin-top: 52px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      text-align: center;
    }
    .community-teaser-badge {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: #34d399;
      background: rgba(52,211,153,.12);
      border: 1px solid rgba(52,211,153,.3);
      border-radius: 99px;
      padding: 4px 14px;
    }
    .community-teaser-cta p {
      color: rgba(255,255,255,.5);
      font-size: 0.9rem;
      margin: 0;
    }

    /* ─── PRICING ─── */
    .pricing {
      padding: 100px 0;
    }
    .pricing .section-heading, .pricing .section-sub {
      text-align: center;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .pricing-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-top: 28px;
      margin-bottom: 48px;
      font-size: .9rem;
      font-weight: 500;
      color: var(--text-muted);
    }
    .toggle-switch {
      width: 48px;
      height: 28px;
      background: var(--border);
      border-radius: 100px;
      cursor: pointer;
      position: relative;
      transition: background .3s ease;
    }
    .toggle-switch.active { background: var(--accent); }
    .toggle-switch::after {
      content: '';
      position: absolute;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: white;
      top: 3px;
      left: 3px;
      transition: transform .3s ease;
      box-shadow: 0 1px 3px rgba(0,0,0,.15);
    }
    .toggle-switch.active::after { transform: translateX(20px); }
    .save-badge {
      background: #dcfce7;
      color: #16a34a;
      font-size: .72rem;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 100px;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      max-width: 860px;
      margin: 0 auto;
    }
    .price-card {
      background: var(--bg-card);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 36px 32px;
      position: relative;
      transition: all .3s ease;
    }
    .price-card:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px);
    }
    .price-card.featured {
      border-color: var(--accent);
      box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent);
    }
    .price-card.featured::before {
      content: 'MOST POPULAR';
      position: absolute;
      top: -13px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent);
      color: white;
      font-size: .68rem;
      font-weight: 700;
      padding: 4px 16px;
      border-radius: 100px;
      letter-spacing: .06em;
    }
    .price-tier {
      font-size: .82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .price-amount {
      font-size: 3rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1;
    }
    .price-amount .currency { font-size: 1.5rem; vertical-align: top; }
    .price-amount .period { font-size: .95rem; color: var(--text-muted); font-weight: 500; }
    .price-desc {
      font-size: .88rem;
      color: var(--text-muted);
      margin: 12px 0 24px;
      line-height: 1.55;
    }
    .price-features {
      list-style: none;
      margin-bottom: 28px;
    }
    .price-features li {
      font-size: .88rem;
      padding: 8px 0;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: var(--text);
    }
    .price-features li::before {
      content: '✓';
      color: var(--success);
      font-weight: 700;
      font-size: .85rem;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .price-btn {
      width: 100%;
      padding: 14px;
      border-radius: 100px;
      font-size: .95rem;
      font-weight: 600;
      cursor: pointer;
      transition: all .25s ease;
      border: none;
      text-align: center;
      display: block;
      text-decoration: none;
    }
    .price-btn.primary {
      background: var(--accent);
      color: white;
      box-shadow: 0 4px 14px rgba(0,102,255,.2);
    }
    .price-btn.primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,102,255,.3);
    }
    .price-btn.outline {
      background: transparent;
      color: var(--text);
      border: 1.5px solid var(--border);
    }
    .price-btn.outline:hover { border-color: var(--text); transform: translateY(-2px); }

    .price-badge {
      display: inline-block;
      background: var(--accent);
      color: white;
      font-size: .7rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 100px;
      letter-spacing: .05em;
      margin: 8px 0 12px 0;
      text-transform: uppercase;
    }

    .price-amount .period-label {
      font-size: .75rem;
      color: var(--text-muted);
      font-weight: 500;
      margin: 0 4px;
      vertical-align: super;
    }

    .price-strikethrough {
      text-decoration: line-through;
      color: var(--text-muted);
      opacity: 0.6;
      margin-left: 4px;
    }

    /* ─── GUARANTEE ─── */
    .guarantee {
      padding: 80px 0;
      text-align: center;
    }
    .guarantee-box {
      max-width: 640px;
      margin: 0 auto;
      padding: 48px 40px;
      background: linear-gradient(135deg, #f0fdf4, #dcfce7);
      border: 1px solid #bbf7d0;
      border-radius: var(--radius);
    }
    .guarantee-icon {
      font-size: 2.5rem;
      margin-bottom: 16px;
    }
    .guarantee-box h3 {
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 10px;
    }
    .guarantee-box p {
      font-size: .95rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ─── FAQ ─── */
    .faq {
      padding: 100px 0;
      background: #f9fafb;
    }
    .faq .section-heading, .faq .section-sub {
      text-align: center;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .faq-list {
      max-width: 700px;
      margin: 48px auto 0;
    }
    .faq-item {
      border-bottom: 1px solid var(--border);
    }
    .faq-q {
      width: 100%;
      background: none;
      border: none;
      text-align: left;
      padding: 22px 0;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      color: var(--text);
      font-family: inherit;
    }
    .faq-q:hover { color: var(--accent); }
    .faq-chevron {
      font-size: .8rem;
      transition: transform .3s ease;
      flex-shrink: 0;
      color: var(--text-muted);
    }
    .faq-item.open .faq-chevron { transform: rotate(180deg); }
    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height .35s ease, padding .35s ease;
    }
    .faq-item.open .faq-a {
      max-height: 300px;
      padding-bottom: 22px;
    }
    .faq-a p {
      font-size: .9rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ─── FINAL CTA ─── */
    .final-cta {
      padding: 100px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .final-cta::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 900px;
      height: 500px;
      background: radial-gradient(ellipse, rgba(0,102,255,.05) 0%, transparent 70%);
      pointer-events: none;
    }
    .final-cta .section-heading {
      text-align: center;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      font-size: clamp(2rem, 4.5vw, 2.8rem);
    }
    .final-cta .section-sub {
      text-align: center;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 36px;
    }
    .urgency-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 24px;
      font-size: .85rem;
      color: var(--text-muted);
    }
    .urgency-row .live-dot {
      width: 8px;
      height: 8px;
      background: var(--success);
      border-radius: 50%;
      animation: pulse-dot 1.5s ease infinite;
    }

    /* ─── FOOTER ─── */
    footer {
      padding: 48px 0;
      border-top: 1px solid var(--border);
      text-align: center;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 28px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
    .footer-links a {
      font-size: .85rem;
      color: var(--text-muted);
      text-decoration: none;
      transition: color .2s ease;
    }
    .footer-links a:hover { color: var(--text); }
    .footer-copy {
      font-size: .78rem;
      color: #9ca3af;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 768px) {
      .container { padding: 0 16px; }
      .nav-inner { min-width: 0; }
      .logo { min-width: 0; }
      .nav-links { display: none; }
      .nav-cta { display: none; }
      .nav-hamburger { display: flex; }
      .steps-grid { grid-template-columns: 1fr; gap: 40px; }
      .step-connector { display: none; }
      .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
      .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
      .hero { padding: 120px 0 60px; }
      .phone-mockup { width: 280px; }
      .guarantee-box { padding: 36px 28px; }
      .community-teaser-grid { grid-template-columns: 1fr; }

      .logo-tagline {
        display: none;
      }

      .hero-brand-lockup {
        width: min(100%, 560px);
        border-radius: 28px;
        padding: 14px 16px;
      }

      .hero-logo-orb {
        position: static;
        transform: none;
        width: fit-content;
        margin: 0 auto 18px;
      }
    }
    @media (max-width: 480px) {
      .hero-ctas { flex-direction: column; align-items: center; }
      .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
      .hero-proof { flex-direction: column; gap: 8px; }
      .hero-proof .sep { display: none; }

      .logo {
        gap: 10px;
      }

      .swimkeep-mark-nav,
      .swimkeep-favicon-frame-nav {
        width: 36px;
        height: 36px;
      }

      .logo-wordmark {
        font-size: 1.15rem;
      }

      .hero-brand-lockup {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 22px;
      }

      .hero-brand-copy {
        align-items: center;
        text-align: center;
      }

      .swimkeep-mark-hero {
        width: 60px;
        height: 60px;
      }

      .hero-logo-orb {
        width: 100%;
        justify-content: center;
      }

      .hero-logo-orb-label {
        max-width: 140px;
      }
    }

    /* ─── ANIMATIONS ─── */
    .fade-up {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .6s ease, transform .6s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .checkout-status {
      position: fixed;
      top: 76px;
      right: 18px;
      z-index: 120;
      max-width: 340px;
      background: #ffffff;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-lg);
      border-radius: 12px;
      padding: 12px 14px;
      font-size: 0.92rem;
      color: var(--text);
      display: none;
    }

    .checkout-status.success {
      border-color: rgba(16, 185, 129, 0.4);
      background: rgba(16, 185, 129, 0.08);
    }

    .checkout-status.error {
      border-color: rgba(239, 68, 68, 0.35);
      background: rgba(239, 68, 68, 0.08);
    }

    .checkout-status .title {
      font-weight: 700;
      margin-bottom: 4px;
    }

    .floating-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }

    .floating-close {
      border: 1px solid var(--border);
      background: white;
      color: var(--text-muted);
      border-radius: 999px;
      width: 26px;
      height: 26px;
      line-height: 1;
      cursor: pointer;
      flex: 0 0 auto;
      font-size: 1rem;
      font-weight: 700;
    }

    .floating-close:hover {
      color: var(--text);
      border-color: #cfd5df;
    }

    .entitlement-pill {
      display: inline-flex;
      margin-top: 6px;
      padding: 3px 8px;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      background: var(--accent-light);
      color: var(--accent);
    }

    /* ─── MARKETING PREVIEW (non-app mode) ─── */
    .app-preview {
      padding: 88px 0;
      background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
    }

    body.app-mode .app-preview-marketing-header {
      display: none;
    }

    body.app-mode .app-preview {
      padding: 0;
      min-height: 100vh;
      background: #f0f4f8;
      display: flex;
      flex-direction: column;
    }

    .sk-app-shell {
      display: none;
      width: 100%;
      max-width: 100%;
    }

    body.app-mode .sk-app-shell {
      display: flex;
      height: 100vh;
      width: 100%;
      max-width: 100vw;
      overflow: hidden;
    }

    body:not(.app-mode) .sk-app-shell {
      display: none !important;
    }

    /* ─── SIDEBAR ─── */
    .sk-sidebar {
      width: 220px;
      flex-shrink: 0;
      background: #fff;
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }

    .sk-sidebar-brand {
      padding: 18px;
      border-bottom: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      background:
        radial-gradient(circle at top left, rgba(74, 180, 255, 0.12), transparent 48%),
        linear-gradient(180deg, rgba(244, 249, 255, 0.96), rgba(255, 255, 255, 0.98));
    }

    .sk-brand-lockup {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
    }

    .swimkeep-mark-sidebar,
    .swimkeep-favicon-frame-sidebar {
      width: 52px;
      height: 52px;
      filter: drop-shadow(0 14px 24px rgba(13, 103, 222, 0.16));
    }

    .sk-brand-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 3px;
    }

    .sk-plan-link {
      text-decoration: none;
    }

    .sk-plan-badge {
      display: inline-flex;
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.88);
      border: 1px solid rgba(20, 35, 62, 0.08);
      border-radius: 999px;
      padding: 3px 8px;
      white-space: nowrap;
      transition: background 0.12s ease, color 0.12s ease;
    }

    .sk-plan-link:hover .sk-plan-badge {
      background: rgba(0, 102, 255, 0.08);
      color: var(--accent);
    }

    .sk-brand-name {
      font-size: 1.12rem;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.03em;
      line-height: 1;
    }

    .sk-brand-kicker {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #55708d;
    }

    .sk-sidebar-nav {
      padding: 12px 10px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      flex: 1;
    }

    .sk-sidebar-footer {
      padding: 10px 10px 14px;
      border-top: 1px solid var(--border);
    }

    .sk-nav-item {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      background: none;
      border: none;
      border-radius: 10px;
      padding: 10px 12px;
      font: inherit;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      text-align: left;
      transition: background 0.12s, color 0.12s;
    }

    .sk-nav-item:hover {
      background: #f0f4f8;
      color: var(--text);
    }

    .sk-nav-item.is-active {
      background: rgba(0, 102, 255, 0.08);
      color: var(--accent);
    }

    .sk-nav-item svg {
      flex-shrink: 0;
      opacity: 0.7;
    }

    .sk-nav-item.is-active svg {
      opacity: 1;
    }

    /* ─── MAIN AREA ─── */
    .sk-main {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .sk-topbar { display: none; }
    .sk-mobile-menu-btn { display: none; }

    /* ─── CONTENT AREA ─── */
    .sk-content {
      flex: 1;
      overflow-y: auto;
      padding: 28px 36px;
      display: flex;
      justify-content: center;
    }

    .sk-view {
      width: min(860px, 100%);
    }

    .sk-view-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 20px;
    }

    .sk-view-header-stack {
      align-items: flex-start;
    }

    .sk-view-header h2 {
      margin: 0;
      font-size: 1.25rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    .sk-view-subtext {
      margin: 6px 0 0;
      font-size: 0.92rem;
      color: var(--text-muted);
    }

    /* ─── OVERVIEW VIEW ─── */
    .sk-status-card {
      background: linear-gradient(180deg, #f6f8fc 0%, #f2f6fb 100%);
      border: 1px solid rgba(20, 35, 62, 0.08);
      border-radius: 18px;
      padding: 10px;
      margin-bottom: 16px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }

    .sk-status-row {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 8px;
    }

    .sk-status-col {
      padding: 14px 16px;
      border: 1px solid rgba(20, 35, 62, 0.08);
      border-radius: 12px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      min-height: 88px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .sk-status-label {
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .sk-status-value {
      font-size: 0.93rem;
      font-weight: 700;
      color: var(--text);
      line-height: 1.3;
    }

    #ccLastReadingValue {
      display: grid;
      gap: 8px;
    }

    .cc-reading-item {
      display: grid;
      gap: 2px;
      padding: 7px 9px;
      border-radius: 10px;
      background: rgba(248, 250, 252, 0.9);
      border: 1px solid rgba(20, 35, 62, 0.08);
    }

    .cc-reading-age {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
    }

    .cc-reading-values {
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--text);
      line-height: 1.3;
    }

    .sk-status-value-stack {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
    }

    .sk-status-pill {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 3px 8px;
      font-size: 0.68rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      line-height: 1;
    }

    .sk-status-pill-neutral {
      background: #eef2f7;
      color: #475569;
    }

    .sk-status-pill-today {
      background: #e0f2fe;
      color: #0369a1;
    }

    .sk-status-pill-soon {
      background: #fef3c7;
      color: #b45309;
    }

    .sk-status-pill-overdue {
      background: #fee2e2;
      color: #b91c1c;
    }

    .sk-status-pill-tomorrow {
      background: #ede9fe;
      color: #6d28d9;
    }

    .sk-status-primary {
      font-size: 0.9rem;
      font-weight: 800;
      color: var(--text);
      line-height: 1.25;
    }

    .sk-status-secondary {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--text-muted);
      line-height: 1.25;
    }

    .sk-status-link {
      border: none;
      background: transparent;
      padding: 0;
      margin: 0;
      text-align: left;
      cursor: pointer;
      width: 100%;
      color: inherit;
      font: inherit;
    }

    .sk-status-link .sk-status-value {
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .sk-status-link:hover .sk-status-value {
      color: var(--accent);
    }

    .sk-status-link:focus-visible {
      outline: 2px solid rgba(0,102,255,.45);
      outline-offset: 4px;
      border-radius: 6px;
    }

    .sk-next-action {
      margin-top: 8px;
      padding: 10px 12px;
      font-size: 0.875rem;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.86);
      border: 1px solid rgba(20, 35, 62, 0.08);
      border-radius: 12px;
    }

    .overview-welcome-card {
      margin-bottom: 16px;
      background:
        radial-gradient(circle at top right, rgba(77, 197, 255, 0.2), transparent 45%),
        linear-gradient(160deg, #f9fbff 0%, #ffffff 45%, #f3f8ff 100%);
      border: 1px solid rgba(13, 103, 222, 0.18);
      box-shadow: 0 10px 26px rgba(17, 52, 113, 0.08);
      padding: 18px;
    }

    .sk-view[data-view="status"] .sk-status-card,
    .sk-view[data-view="status"] .overview-ai-card {
      transition: opacity 220ms ease, filter 220ms ease;
    }

    .sk-view[data-view="status"].overview-pre-setup .sk-status-card,
    .sk-view[data-view="status"].overview-pre-setup .overview-ai-card {
      opacity: 0.42;
      filter: saturate(0.65);
    }

    .sk-view[data-view="status"].overview-pre-setup .overview-welcome-card {
      box-shadow: 0 14px 30px rgba(13, 103, 222, 0.18);
    }

    .overview-welcome-kicker {
      font-size: 0.76rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #0d67de;
      margin-bottom: 8px;
    }

    .overview-welcome-title {
      font-size: 1.2rem;
      font-weight: 800;
      letter-spacing: -0.01em;
      color: var(--text);
      margin: 0 0 8px;
    }

    .overview-welcome-text {
      margin: 0;
      font-size: 0.92rem;
      line-height: 1.5;
      color: var(--text-muted);
    }

    #overviewWelcomeGetStarted {
      margin-top: 14px;
    }

    .overview-ai-card {
      background:
        radial-gradient(circle at top right, rgba(77, 197, 255, 0.12), transparent 42%),
        linear-gradient(180deg, #f7f9fd 0%, #f2f6fb 100%);
      border: 1px solid rgba(20, 35, 62, 0.08);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 8px 22px rgba(17, 52, 113, 0.06);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-areas:
        "title visual"
        "helper visual"
        "box visual"
        "status status"
        "answer answer"
        "recommendation recommendation";
      align-items: start;
      column-gap: 18px;
    }

    .overview-ai-card .sk-section-title {
      grid-area: title;
      margin-bottom: 4px;
    }

    .overview-ai-card .sk-helper-text {
      grid-area: helper;
      margin-bottom: 8px;
    }

    .overview-ai-visual {
      grid-area: visual;
      width: 156px;
      margin: 4px 0 0;
      padding: 16px;
      border-radius: 16px;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(230, 245, 255, 0.9));
      border: 1px solid rgba(13, 103, 222, 0.14);
      box-shadow: 0 10px 20px rgba(13, 103, 222, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .overview-ai-visual-image {
      width: min(100%, 120px);
      max-width: 100%;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 8px 14px rgba(13, 103, 222, 0.2));
    }

    .overview-ai-box {
      grid-area: box;
      border: 1px solid rgba(20, 35, 62, 0.1);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.92);
      padding: 14px;
    }

    .overview-ai-actions {
      align-items: center;
      margin-top: 10px;
    }

    .overview-ai-card .recommendation-panel {
      grid-area: recommendation;
      margin-top: 12px;
      margin-bottom: 0;
    }

    .overview-history-link {
      margin-top: 8px;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--accent);
      font: inherit;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 2px;
      cursor: pointer;
    }

    .ai-guidance-note {
      margin: 10px 0 0;
      font-size: 0.8rem;
      line-height: 1.45;
      color: #4b5a72;
    }

    .ai-guidance-link {
      display: inline-block;
      margin-top: 4px;
      color: var(--accent);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .ai-guidance-link:hover {
      color: #0a57b9;
    }

    #overviewQuickAskQuestion {
      font-size: 0.95rem;
    }

    #overviewQuickAskStatus {
      grid-area: status;
      margin-top: 12px;
    }

    #overviewQuickAskAnswer {
      grid-area: answer;
      margin-top: 12px;
      margin-bottom: 0;
    }

    .overview-events-card {
      margin-top: 16px;
      background: linear-gradient(180deg, #f9fbff 0%, #f3f8ff 100%);
      border: 1px solid rgba(20, 35, 62, 0.1);
    }

    .overview-events-actions {
      display: flex;
      justify-content: flex-start;
      margin-bottom: 10px;
    }

    .overview-events-list {
      margin-top: 12px;
      display: grid;
      gap: 8px;
    }

    .overview-events-list .empty {
      color: var(--text-muted);
      font-size: 0.86rem;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(20, 35, 62, 0.08);
      border-radius: 12px;
      padding: 10px 12px;
    }

    .sk-next-action-label {
      font-weight: 700;
      color: var(--text);
      margin-right: 6px;
    }

    @media (max-width: 720px) {
      .overview-ai-card {
        grid-template-columns: 1fr;
        grid-template-areas:
          "title"
          "helper"
          "visual"
          "box"
          "status"
          "answer"
          "recommendation";
        row-gap: 10px;
      }

      .overview-ai-visual {
        width: min(100%, 182px);
        margin: 0 auto;
        border-radius: 20px;
      }

      .overview-ai-visual-image {
        width: min(100%, 130px);
      }
    }

    .log-mode-switch {
      display: inline-flex;
      gap: 8px;
      margin-bottom: 14px;
    }

    .log-mode-switch .app-button.is-active {
      background: var(--accent);
      color: white;
      box-shadow: 0 3px 10px rgba(0,102,255,.2);
    }

    .camera-guide-section {
      margin-bottom: 14px;
    }

    .camera-method-switch {
      display: inline-flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .camera-method-switch .app-button.is-active {
      background: var(--accent);
      color: white;
      box-shadow: 0 3px 10px rgba(0,102,255,.2);
    }

    .supplies-mode-switch {
      display: inline-flex;
      gap: 8px;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }

    .supplies-mode-switch .app-button.is-active {
      background: var(--accent);
      color: white;
      box-shadow: 0 3px 10px rgba(0,102,255,.2);
    }

    .supplies-tab-panel[hidden] {
      display: none;
    }

    .ask-pool-card,
    .ask-pool-answer {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 20px;
      margin-bottom: 16px;
    }

    .ask-pool-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 156px;
      gap: 20px;
      align-items: center;
      margin-bottom: 18px;
      padding: 18px 20px;
      border-radius: 18px;
      background:
        radial-gradient(circle at top right, rgba(74, 180, 255, 0.18), transparent 40%),
        linear-gradient(135deg, #f7fbff 0%, #eef5ff 48%, #f9fcff 100%);
      border: 1px solid rgba(13, 103, 222, 0.1);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .ask-pool-hero-copy {
      min-width: 0;
    }

    .ask-pool-hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #1f67c7;
    }

    .ask-pool-hero-kicker::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: linear-gradient(135deg, #4dc5ff, #0d67de);
      box-shadow: 0 0 0 6px rgba(13, 103, 222, 0.08);
    }

    .ask-pool-hero-title {
      margin: 0;
      font-size: 1.3rem;
      line-height: 1.2;
      letter-spacing: -0.03em;
      color: #10213b;
    }

    .ask-pool-hero-text {
      margin: 10px 0 0;
      max-width: 48ch;
      font-size: 0.95rem;
      line-height: 1.6;
      color: #4e6480;
    }

    .ask-pool-hero-mark {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .ask-pool-hero-mark-frame {
      position: relative;
      width: 140px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border-radius: 28px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 245, 255, 0.9));
      border: 1px solid rgba(13, 103, 222, 0.12);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 18px 36px rgba(19, 63, 186, 0.12);
      overflow: hidden;
    }

    .ask-pool-hero-mark-frame::before,
    .ask-pool-hero-mark-frame::after {
      content: '';
      position: absolute;
      inset: auto;
      border-radius: 999px;
      pointer-events: none;
    }

    .ask-pool-hero-mark-frame::before {
      width: 92px;
      height: 92px;
      background: radial-gradient(circle, rgba(77, 197, 255, 0.18), transparent 70%);
      top: -18px;
      right: -12px;
    }

    .ask-pool-hero-mark-frame::after {
      width: 84px;
      height: 84px;
      background: radial-gradient(circle, rgba(19, 63, 186, 0.14), transparent 70%);
      bottom: -16px;
      left: -8px;
    }

    .ask-pool-hero-mark-image {
      position: relative;
      z-index: 1;
      width: 124px;
      height: 124px;
      object-fit: contain;
      filter: drop-shadow(0 16px 18px rgba(13, 103, 222, 0.12));
    }

    .ask-pool-label {
      display: block;
      margin-bottom: 10px;
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
    }

    .ask-pool-input {
      width: 100%;
      resize: vertical;
      min-height: 92px;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 14px 16px;
      font: inherit;
      font-size: 1rem;
      color: var(--text);
      background: #fff;
    }

    .ask-pool-input:focus {
      outline: none;
      border-color: rgba(0,102,255,.45);
      box-shadow: 0 0 0 3px rgba(0,102,255,.08);
    }

    .ask-pool-suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }

    .ask-pool-chip {
      border: 1px solid var(--border);
      background: #f8fafc;
      color: var(--text);
      border-radius: 999px;
      padding: 8px 12px;
      font: inherit;
      font-size: 0.86rem;
      cursor: pointer;
    }

    .ask-pool-chip:hover {
      background: #eef5ff;
      border-color: rgba(0,102,255,.16);
    }

    .ask-pool-actions {
      margin-top: 16px;
    }

    .ask-additions {
      margin-top: 14px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #f8fafc;
      padding: 10px 12px;
    }

    .ask-additions > summary {
      cursor: pointer;
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
      list-style: none;
      user-select: none;
    }

    .ask-additions > summary::-webkit-details-marker {
      display: none;
    }

    .ask-additions > summary::before {
      content: '+';
      display: inline-block;
      margin-right: 8px;
      color: var(--accent);
      font-weight: 800;
    }

    .ask-additions[open] > summary::before {
      content: '-';
    }

    .ask-additions[open] {
      background: #fff;
    }

    .ask-additions[open] .sk-form-grid {
      margin-top: 12px;
    }

    .ask-pool-answer-kicker {
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 10px;
    }

    .ask-pool-answer-text {
      font-size: 1.1rem;
      line-height: 1.5;
      color: var(--text);
      font-weight: 700;
    }

    .ask-pool-answer-action {
      margin-top: 14px;
      padding: 12px 14px;
      background: #f8fafc;
      border-radius: 12px;
      color: var(--text);
      font-size: 0.94rem;
    }

    .ask-pool-facts {
      margin: 14px 0 0;
      padding-left: 18px;
      color: var(--text-muted);
      display: grid;
      gap: 8px;
    }

    .ask-pool-facts:empty {
      display: none;
    }

    .ask-pool-meta {
      margin-top: 14px;
      font-size: 0.84rem;
      color: var(--text-muted);
    }

    /* ─── FORMS ─── */
    .sk-form {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 16px;
    }

    .sk-form-embedded {
      margin-bottom: 0;
      border: none;
      border-radius: 0;
      padding: 0;
      background: transparent;
    }

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

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

    .chemistry-log-form {
      padding: 20px 18px 22px;
      border-radius: 24px;
      background: linear-gradient(180deg, #f8fbff 0%, #f1f6fc 100%);
      border: 1px solid rgba(20, 35, 62, 0.12);
      box-shadow: 0 14px 30px rgba(17, 52, 113, 0.08);
    }

    .chemistry-strip-hero {
      margin-bottom: 12px;
      padding: 8px 12px;
      border-radius: 14px 14px 0 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 248, 253, 0.94));
      border: 1px solid rgba(20, 35, 62, 0.12);
      border-bottom: none;
      text-align: center;
    }

    .chemistry-strip-kicker {
      display: inline-flex;
      margin-bottom: 0;
      font-size: 1.05rem;
      font-weight: 800;
      letter-spacing: 0.11em;
      text-transform: uppercase;
      color: #94a5bf;
    }

    .chemistry-log-form .chemistry-readings-table {
      grid-template-columns: 1fr;
      gap: 0;
      border-radius: 0 0 18px 18px;
      overflow: hidden;
      border: 1px solid rgba(20, 35, 62, 0.12);
      background: rgba(255, 255, 255, 0.92);
    }

    .chemistry-log-form .chemistry-field {
      display: grid;
      grid-template-columns: 56px minmax(0, 1fr) 120px;
      align-items: center;
      gap: 12px;
      padding: 9px 14px;
      margin: 0;
      border-radius: 0;
      border: none;
      border-bottom: 1px solid rgba(20, 35, 62, 0.12);
      background: linear-gradient(180deg, #fefefe, #f4f5f7);
      position: relative;
    }

    .chemistry-log-form .chemistry-field:last-child {
      border-bottom: none;
    }

    .chemistry-log-form .chemistry-field::before {
      content: '';
      width: 36px;
      height: 36px;
      border-radius: 10px;
      border: 1px solid rgba(20, 35, 62, 0.18);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 6px rgba(20, 35, 62, 0.14);
    }

    .chemistry-log-form .chemistry-field label {
      font-size: 0.86rem;
      font-weight: 700;
      color: #5f7490;
      margin: 0;
    }

    .chemistry-log-form .chemistry-field label span {
      font-weight: 600;
      color: #7b8ba2;
    }

    .chemistry-log-form .chemistry-field input {
      width: 100%;
      max-width: 120px;
      min-height: 48px;
      padding: 7px 12px;
      border-radius: 10px;
      border: 2px solid rgba(20, 35, 62, 0.18);
      background: linear-gradient(180deg, #ffffff, #f5f7fa);
      color: #0e3f95;
      font-size: 2rem;
      font-weight: 800;
      text-align: center;
      letter-spacing: -0.02em;
      justify-self: end;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .chemistry-log-form .chemistry-field input::placeholder {
      color: rgba(14, 63, 149, 0.38);
      opacity: 1;
    }

    .chemistry-log-form .chemistry-field input:focus {
      border-color: rgba(13, 103, 222, 0.7);
      box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.13);
    }

    .chemistry-log-form .chemistry-field-meta {
      display: none;
    }

    .chemistry-field-fc::before { background: linear-gradient(135deg, #f7ea2c, #f3cc1f); }
    .chemistry-field-ph::before { background: linear-gradient(135deg, #ffad1d, #ff8f00); }
    .chemistry-field-ta::before { background: linear-gradient(135deg, #a3d93b, #7ec72c); }
    .chemistry-field-cya::before { background: linear-gradient(135deg, #22d3dd, #1094d7); }
    .chemistry-field-ch::before { background: linear-gradient(135deg, #7f6df3, #6f42c7); }

    .chemistry-log-form .sk-form-actions {
      margin-top: 18px;
      justify-content: center;
    }

    .chemistry-save-button {
      min-width: 260px;
      min-height: 74px;
      font-size: 3rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      background: linear-gradient(180deg, #4ea4ff, #0b59ca);
      border: 1px solid rgba(8, 70, 160, 0.65);
      box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), 0 8px 14px rgba(12, 78, 170, 0.28);
      color: #ffffff;
      padding: 4px 38px;
    }

    .chemistry-save-button:hover {
      opacity: 1;
      filter: brightness(1.03);
    }

    @media (max-width: 720px) {
      .chemistry-log-form {
        padding: 14px 12px 18px;
      }

      .chemistry-log-form .chemistry-field {
        grid-template-columns: 44px minmax(0, 1fr) 92px;
        gap: 10px;
        padding: 8px 10px;
      }

      .chemistry-log-form .chemistry-field::before {
        width: 30px;
        height: 30px;
        border-radius: 8px;
      }

      .chemistry-log-form .chemistry-field label {
        font-size: 0.78rem;
      }

      .chemistry-log-form .chemistry-field input {
        max-width: 92px;
        min-height: 42px;
        font-size: 1.6rem;
      }

      .chemistry-save-button {
        min-width: 210px;
        min-height: 62px;
        font-size: 2.35rem;
      }
    }

    .sk-helper-text {
      font-size: 0.88rem;
      color: var(--text-muted);
      margin: 0 0 14px;
    }

    .sk-section {
      border: 1px solid var(--border);
      border-radius: 16px;
      background: #fff;
      padding: 18px 20px;
      margin-bottom: 16px;
    }

    .sk-section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 14px;
    }

    .sk-section-title {
      margin: 0;
      font-size: 1rem;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.01em;
    }

    .sk-section .setup-status:last-child {
      margin-bottom: 0;
    }

    /* ─── RECOMMENDATION PANEL ─── */
    .recommendation-panel {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 18px 20px;
      margin-bottom: 16px;
    }

    .license-view-content {
      display: grid;
      gap: 24px;
    }

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

    .license-summary-card {
      border: 1px solid rgba(20, 35, 62, 0.12);
      border-radius: 18px;
      padding: 18px 20px;
      background: linear-gradient(135deg, #fbfdff 0%, #f5f8fc 100%);
      transition: all 0.2s ease;
    }

    .license-summary-card:hover {
      border-color: rgba(13, 103, 222, 0.16);
      box-shadow: 0 4px 12px rgba(20, 35, 62, 0.06);
    }

    .license-summary-label {
      display: block;
      margin-bottom: 8px;
      font-size: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
    }

    .license-summary-value {
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--text);
      line-height: 1.2;
    }

    .license-section {
      display: grid;
      gap: 12px;
    }

    .license-section-title {
      margin: 0;
      font-size: 1rem;
      font-weight: 700;
      color: var(--text);
    }

    .license-feature-grid,
    .license-quota-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 12px;
    }

    .license-card {
      display: flex;
      flex-direction: column;
      gap: 8px;
      border: 1px solid rgba(20, 35, 62, 0.1);
      border-radius: 16px;
      padding: 16px;
      background: white;
      transition: all 0.2s ease;
    }

    .license-card:hover {
      border-color: rgba(13, 103, 222, 0.2);
      box-shadow: 0 2px 8px rgba(20, 35, 62, 0.04);
    }

    .license-card-label {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text);
    }

    .license-card-value {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    .license-feature-card .license-card-value {
      color: var(--success);
      font-weight: 700;
    }

    .license-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .license-empty-state {
      color: var(--text-muted);
      font-size: 0.92rem;
      background: #f8fafc;
      border-radius: 12px;
      padding: 14px 16px;
    }

    .license-key-panel {
      border: 1px solid rgba(20, 35, 62, 0.1);
      border-radius: 14px;
      padding: 14px;
      background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
      display: grid;
      gap: 12px;
    }

    .license-key-header .sk-view-subtext {
      margin-top: 4px;
      font-size: 0.85rem;
    }

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

    @media (max-width: 720px) {
      .license-key-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ─── SHARED FIELD/FORM ELEMENTS ─── */
    [hidden] {
      display: none !important;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

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

    .field label {
      font-size: 0.86rem;
      font-weight: 700;
      color: var(--text);
    }

    .field input,
    .field select {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px 13px;
      font: inherit;
      font-size: 0.9rem;
      color: var(--text);
      background: white;
    }

    .field input:focus,
    .field select:focus {
      outline: none;
      border-color: rgba(0,102,255,.45);
      box-shadow: 0 0 0 3px rgba(0,102,255,.08);
    }

    .setup-actions {
      display: flex;
      gap: 12px;
      margin-top: 18px;
      flex-wrap: wrap;
    }

    .app-button {
      border: none;
      border-radius: 999px;
      padding: 10px 18px;
      font: inherit;
      font-size: 0.88rem;
      font-weight: 700;
      cursor: pointer;
      transition: opacity 0.12s;
    }

    .app-button:hover {
      opacity: 0.85;
    }

    .app-button.primary {
      background: var(--accent);
      color: white;
      box-shadow: 0 3px 10px rgba(0,102,255,.2);
    }

    .app-button.secondary {
      background: white;
      color: var(--text);
      border: 1px solid var(--border);
    }

    .setup-status {
      margin-top: 12px;
      font-size: 0.88rem;
      color: var(--text-muted);
      min-height: 20px;
    }

    .setup-status.success {
      color: var(--success);
      font-weight: 600;
    }

    .setup-status.error {
      color: var(--danger);
      font-weight: 600;
    }

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

    .field {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

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

    .field label {
      font-size: 0.86rem;
      font-weight: 700;
      color: var(--text);
    }

    .field input,
    .field select {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 12px 14px;
      font: inherit;
      color: var(--text);
      background: white;
    }

    .field input:focus,
    .field select:focus {
      outline: none;
      border-color: rgba(0,102,255,.45);
      box-shadow: 0 0 0 4px rgba(0,102,255,.08);
    }

    .field-label {
      font-size: 0.86rem;
      font-weight: 700;
      color: var(--text);
    }

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

    .pool-style-toggle input[type="radio"] {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .pool-style-option {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-height: 92px;
      padding: 16px 18px;
      border: 1px solid rgba(20, 35, 62, 0.12);
      border-radius: 18px;
      background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(240,247,255,0.92)),
        radial-gradient(circle at top right, rgba(0,102,255,0.08), transparent 52%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
      cursor: pointer;
      transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
    }

    .pool-style-option::after {
      content: '\2713';
      position: absolute;
      top: 10px;
      right: 10px;
      width: 20px;
      height: 20px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #16a34a;
      color: #ffffff;
      font-size: 0.78rem;
      font-weight: 900;
      box-shadow: 0 4px 10px rgba(22, 163, 74, 0.32);
      opacity: 0;
      transform: scale(0.8);
      transition: opacity 0.14s ease, transform 0.14s ease;
      pointer-events: none;
    }

    .pool-style-option:hover {
      transform: translateY(-1px);
      border-color: rgba(0,102,255,0.24);
      box-shadow: 0 10px 24px rgba(20, 35, 62, 0.08);
    }

    .pool-style-title {
      font-size: 1rem;
      font-weight: 800;
      color: #10233e;
      letter-spacing: -0.01em;
    }

    .pool-style-copy {
      font-size: 0.84rem;
      line-height: 1.35;
      color: var(--text-muted);
    }

    .pool-style-toggle input[type="radio"]:checked + .pool-style-option {
      border-color: rgba(0,102,255,0.5);
      background:
        linear-gradient(135deg, rgba(230, 241, 255, 0.96), rgba(245, 250, 255, 0.98)),
        radial-gradient(circle at top right, rgba(0,102,255,0.14), transparent 54%);
      box-shadow: 0 0 0 4px rgba(0,102,255,0.08), 0 16px 34px rgba(0,102,255,0.12);
    }

    .pool-style-toggle input[type="radio"]:checked + .pool-style-option::after {
      opacity: 1;
      transform: scale(1);
    }

    .pool-style-toggle input[type="radio"]:focus-visible + .pool-style-option {
      outline: 2px solid rgba(0,102,255,.45);
      outline-offset: 4px;
    }

    .icon-choice-group {
      display: grid;
      gap: 10px;
    }

    .icon-choice-group-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .icon-choice-group-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .icon-choice-input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .icon-choice-option {
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 56px;
      padding: 12px 14px;
      border: 1px solid rgba(20, 35, 62, 0.14);
      border-radius: 14px;
      background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(243,248,255,0.92)),
        radial-gradient(circle at top right, rgba(0,102,255,0.08), transparent 55%);
      cursor: pointer;
      transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
    }

    .icon-choice-option::after {
      content: '\2713';
      position: absolute;
      top: 8px;
      right: 8px;
      width: 18px;
      height: 18px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #16a34a;
      color: #ffffff;
      font-size: 0.72rem;
      font-weight: 900;
      box-shadow: 0 3px 8px rgba(22, 163, 74, 0.3);
      opacity: 0;
      transform: scale(0.8);
      transition: opacity 0.14s ease, transform 0.14s ease;
      pointer-events: none;
    }

    .icon-choice-option:hover {
      transform: translateY(-1px);
      border-color: rgba(0,102,255,0.26);
      box-shadow: 0 10px 22px rgba(20, 35, 62, 0.08);
    }

    .icon-choice-mark {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #2157b5;
      background: rgba(33, 87, 181, 0.09);
      border: 1px solid rgba(33, 87, 181, 0.16);
      flex-shrink: 0;
    }

    .icon-choice-copy {
      min-width: 0;
      display: block;
    }

    .icon-choice-title {
      display: block;
      font-size: 0.86rem;
      font-weight: 800;
      color: #10233e;
      line-height: 1.25;
    }

    .icon-choice-input:checked + .icon-choice-option {
      border-color: rgba(0,102,255,0.52);
      box-shadow: 0 0 0 4px rgba(0,102,255,0.09), 0 14px 28px rgba(0,102,255,0.12);
      background:
        linear-gradient(135deg, rgba(233, 243, 255, 0.98), rgba(246, 251, 255, 0.98)),
        radial-gradient(circle at top right, rgba(0,102,255,0.16), transparent 58%);
    }

    .icon-choice-input:checked + .icon-choice-option::after {
      opacity: 1;
      transform: scale(1);
    }

    .icon-choice-input:checked + .icon-choice-option .icon-choice-mark {
      color: #0d67de;
      background: rgba(13, 103, 222, 0.15);
      border-color: rgba(13, 103, 222, 0.3);
    }

    .icon-choice-input:focus-visible + .icon-choice-option {
      outline: 2px solid rgba(0,102,255,.45);
      outline-offset: 3px;
    }

    @media (max-width: 720px) {
      .icon-choice-group-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .icon-choice-option {
        min-height: 52px;
        padding: 10px 12px;
      }
    }

    .setup-actions {
      display: flex;
      gap: 12px;
      margin-top: 18px;
      flex-wrap: wrap;
    }

    .app-button {
      border: none;
      border-radius: 999px;
      padding: 12px 18px;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
    }

    .app-button.primary {
      background: var(--accent);
      color: white;
      box-shadow: 0 4px 14px rgba(0,102,255,.18);
    }

    .app-button.secondary {
      background: white;
      color: var(--text);
      border: 1px solid var(--border);
    }

    .saved-profile {
      display: grid;
      gap: 10px;
    }

    .saved-row {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 10px 12px;
      background: #f8fafc;
      border-radius: 12px;
      font-size: 0.92rem;
    }

    .saved-row span:last-child {
      font-weight: 700;
      color: var(--text);
      text-align: right;
    }

    .setup-status {
      margin-top: 14px;
      font-size: 0.9rem;
      color: var(--text-muted);
      min-height: 22px;
    }

    .setup-status.success {
      color: var(--success);
      font-weight: 600;
    }

    .setup-status.error {
      color: var(--danger);
      font-weight: 600;
    }

    .app-divider {
      border: 0;
      border-top: 1px solid var(--border);
      margin: 22px 0;
    }

    .chemistry-grid {
      margin-top: 8px;
    }

    .chemistry-history {
      display: grid;
      gap: 8px;
      margin-top: 14px;
    }

    .chemistry-history .empty {
      color: var(--text-muted);
      font-size: 0.9rem;
      background: #f8fafc;
      border-radius: 12px;
      padding: 12px;
    }

    .reading-row {
      background: #f8fafc;
      border-radius: 12px;
      padding: 10px 12px;
      border: 1px solid rgba(20, 35, 62, 0.08);
    }

    .reading-meta {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      font-size: 0.82rem;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .reading-values {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .reading-values span {
      background: white;
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: 4px 8px;
      font-size: 0.8rem;
      color: var(--text);
      font-weight: 600;
    }

    .recommendation-panel {
      margin-top: 14px;
      background: #f5f9ff;
      border: 1px solid rgba(0, 102, 255, 0.18);
      border-radius: 12px;
      padding: 12px;
    }

    .recommendation-panel h4 {
      margin: 0 0 8px;
      font-size: 0.95rem;
      letter-spacing: -0.01em;
    }

    .recommendation-panel p {
      margin: 0 0 8px;
      color: var(--text);
      font-size: 0.9rem;
    }

    .recommendation-panel ul {
      margin: 0 0 8px;
      padding-left: 18px;
      color: var(--text-muted);
      font-size: 0.86rem;
      display: grid;
      gap: 4px;
    }

    .recommendation-confidence {
      font-size: 0.82rem;
      color: var(--text-muted);
      font-weight: 600;
    }

    .recommendation-history-list {
      display: grid;
      gap: 8px;
      margin-top: 12px;
    }

    .recommendation-history-list .empty {
      color: var(--text-muted);
      font-size: 0.9rem;
      background: #f8fafc;
      border-radius: 12px;
      padding: 12px;
    }

    .recommendation-history-entry {
      background: #f5f9ff;
      border: 1px solid rgba(0, 102, 255, 0.18);
      border-radius: 12px;
      padding: 10px 12px;
      display: grid;
      gap: 8px;
    }

    .recommendation-history-meta {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .recommendation-history-summary {
      font-size: 0.9rem;
      color: var(--text);
      line-height: 1.45;
    }

    .recommendation-history-actions {
      display: flex;
      justify-content: flex-end;
    }

    .weather-panel {
      .recommendation-safety {
        font-size: 0.82rem;
        color: #92400e;
        background: rgba(245, 158, 11, 0.1);
        border: 1px solid rgba(245, 158, 11, 0.3);
        border-radius: 8px;
        padding: 6px 10px;
        margin-bottom: 8px;
      }

      margin-top: 14px;
      background: #f8fbff;
      border: 1px solid rgba(20, 35, 62, 0.12);
      border-radius: 12px;
      padding: 12px;
    }

    .weather-summary {
      font-size: 0.86rem;
      color: var(--text-muted);
      margin-bottom: 10px;
    }

    .weather-alerts {
      display: grid;
      gap: 8px;
    }

    .weather-alert {
      border-radius: 12px;
      border: 1px solid var(--border);
      background: white;
      padding: 10px 12px;
    }

    .weather-alert.severity-elevated {
      border-color: rgba(245, 158, 11, 0.5);
      background: rgba(245, 158, 11, 0.08);
    }

    .weather-alert.severity-watch {
      border-color: rgba(59, 130, 246, 0.35);
      background: rgba(59, 130, 246, 0.08);
    }

    .weather-alert.severity-normal {
      border-color: rgba(16, 185, 129, 0.35);
      background: rgba(16, 185, 129, 0.08);
    }

    .weather-alert-title {
      font-size: 0.88rem;
      font-weight: 700;
      margin-bottom: 4px;
      color: var(--text);
    }

    .weather-alert-copy {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* ─── Notifications view ─────────────────────────────────────────────── */

    .notif-status-banner {
      border-radius: 10px;
      padding: 14px 18px;
      font-size: 0.9rem;
      font-weight: 500;
      line-height: 1.5;
      margin-bottom: 24px;
    }
    .notif-status-banner-success {
      background: #e8f5e9;
      color: #1b5e20;
      border: 1.5px solid #a5d6a7;
    }
    .notif-status-banner-warn {
      background: #fffde7;
      color: #795548;
      border: 1.5px solid #ffe082;
    }
    .notif-status-banner-error {
      background: #fce4ec;
      color: #880e4f;
      border: 1.5px solid #f48fb1;
    }

    .notif-steps {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 20px;
    }

    .notif-step {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      background: var(--surface, #f8fafc);
      border: 1.5px solid var(--border, #e0e7ef);
      border-radius: 12px;
      padding: 20px;
    }

    .notif-step-num {
      flex-shrink: 0;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--primary, #0d67de);
      color: #fff;
      font-size: 0.82rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .notif-step-num-done {
      background: #2e7d32;
    }

    .notif-step-body {
      flex: 1;
      min-width: 0;
    }

    .notif-step-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 8px;
    }

    .notif-step-copy {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0 0 14px;
    }

    .notif-step-action {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 10px;
    }

    .notif-step-link {
      text-decoration: none;
    }

    .notif-step-note {
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin: 6px 0 0;
      font-style: italic;
    }

    .notif-step-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 14px;
    }
    @media (max-width: 660px) {
      .notif-step-cards { grid-template-columns: 1fr; }
    }

    .notif-howto-card {
      background: #fff;
      border: 1.5px solid var(--border, #e0e7ef);
      border-radius: 10px;
      padding: 14px 16px;
    }

    .notif-howto-title {
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 10px;
    }

    .notif-howto-steps {
      margin: 0;
      padding-left: 18px;
      display: grid;
      gap: 7px;
    }

    .notif-howto-steps li {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.55;
    }

    .notif-debug-panel {
      margin-top: 28px;
      border: 1.5px dashed #b0bec5;
      border-radius: 10px;
      padding: 16px;
      background: #f9fbfc;
    }

    .notif-debug-title {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: #607d8b;
      margin-bottom: 10px;
    }

    .notif-debug-content {
      display: grid;
      gap: 5px;
      margin-bottom: 14px;
    }

    .notif-debug-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      font-size: 0.8rem;
      color: #455a64;
    }

    .notif-debug-row span:last-child {
      font-weight: 600;
      color: #263238;
    }

    /* ─── End notifications view ─────────────────────────────────────────── */

    .inventory-list {
      display: grid;
      gap: 8px;
      margin-top: 14px;
    }

    .inventory-settings-shell {
      display: grid;
      gap: 14px;
    }

    .inventory-settings-breadcrumb {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #55708d;
    }

    .inventory-settings-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 14px;
    }

    .inventory-settings-copy {
      margin-top: 6px;
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .inventory-settings-panel {
      border: 1px solid rgba(20, 35, 62, 0.08);
      border-radius: 16px;
      background: linear-gradient(180deg, #fbfdff, #f5f9fe);
      padding: 14px;
    }

    .inventory-settings-list {
      display: grid;
      gap: 10px;
    }

    .inventory-settings-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 14px;
      padding: 12px 14px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(20, 35, 62, 0.08);
    }

    .inventory-settings-item-copy {
      display: grid;
      gap: 4px;
      min-width: 0;
    }

    .inventory-settings-item-name {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text);
    }

    .inventory-settings-item-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
      text-transform: lowercase;
    }

    .inventory-track-toggle {
      border: 1px solid rgba(20, 35, 62, 0.12);
      border-radius: 999px;
      background: white;
      color: var(--text-muted);
      font: inherit;
      font-size: 0.82rem;
      font-weight: 700;
      padding: 9px 14px;
      cursor: pointer;
      white-space: nowrap;
      transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
    }

    .inventory-track-toggle.is-active {
      color: var(--accent);
      background: rgba(0, 102, 255, 0.08);
      border-color: rgba(0, 102, 255, 0.16);
    }

    .inventory-list .empty {
      color: var(--text-muted);
      font-size: 0.9rem;
      background: #f8fafc;
      border-radius: 12px;
      padding: 12px;
    }

    .inventory-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      background: #f8fafc;
      border-radius: 12px;
      padding: 10px 12px;
      border: 1px solid rgba(20, 35, 62, 0.08);
      gap: 10px;
    }

    .inventory-name {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text);
    }

    .inventory-quantity {
      font-size: 0.82rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .inventory-quantity-editor {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      justify-self: end;
    }

    .inventory-quantity-input {
      width: 84px;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 9px 10px;
      font: inherit;
      font-size: 0.88rem;
      text-align: right;
      color: var(--text);
      background: white;
    }

    .inventory-quantity-input:focus {
      outline: none;
      border-color: rgba(0,102,255,.45);
      box-shadow: 0 0 0 3px rgba(0,102,255,.08);
    }

    .inventory-unit {
      min-width: 32px;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: lowercase;
    }

    .inventory-history-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .event-history-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .event-log-entry {
      border: 1px solid rgba(20, 35, 62, 0.08);
      border-radius: 12px;
      background: #f8fafc;
      padding: 10px 12px;
      display: grid;
      gap: 6px;
    }

    .event-log-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-size: 0.75rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .event-log-title {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text);
    }

    .event-log-details {
      font-size: 0.84rem;
      color: var(--text);
      line-height: 1.45;
    }

    .event-log-impact {
      font-size: 0.8rem;
      color: #1f67c7;
      font-weight: 600;
    }

    .inventory-log-entry {
      display: grid;
      grid-template-columns: 1fr auto auto auto;
      align-items: center;
      gap: 8px;
      padding: 6px 0;
      border-bottom: 1px solid var(--border);
      font-size: 0.82rem;
    }

    .inventory-log-entry:last-child {
      border-bottom: none;
    }

    .inventory-log-name {
      font-weight: 600;
      color: var(--text);
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .inventory-log-qty {
      color: var(--text-muted);
      white-space: nowrap;
    }

    .inventory-log-diff {
      font-weight: 700;
      font-size: 0.78rem;
      padding: 1px 6px;
      border-radius: 999px;
      white-space: nowrap;
    }

    .inventory-log-diff.positive {
      color: #166534;
      background: rgba(34, 197, 94, 0.12);
    }

    .inventory-log-diff.negative {
      color: #991b1b;
      background: rgba(239, 68, 68, 0.1);
    }

    .inventory-log-date {
      color: var(--text-muted);
      font-size: 0.75rem;
      white-space: nowrap;
    }

    .photo-preview {
      margin-top: 12px;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 8px;
      background: #f8fafc;
    }

    .photo-preview img {
      width: 100%;
      max-height: 200px;
      object-fit: cover;
      border-radius: 8px;
      display: block;
    }

    .photo-analysis-panel {
      margin-top: 12px;
      border: 1px solid rgba(0, 102, 255, 0.2);
      background: #f5f9ff;
      border-radius: 12px;
      padding: 12px;
      display: grid;
      gap: 8px;
    }

    .photo-analysis-panel h4 {
      margin: 0;
      font-size: 0.95rem;
    }

    .photo-chip-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .photo-chip {
      border: 1px solid var(--border);
      border-radius: 999px;
      background: white;
      padding: 4px 8px;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text);
    }

    .photo-analysis-panel ul {
      margin: 0;
      padding-left: 18px;
      font-size: 0.84rem;
      color: var(--text-muted);
      display: grid;
      gap: 4px;
    }

    .pairing-panel {
      margin-top: 14px;
      border: 1px solid rgba(0, 102, 255, 0.18);
      background: linear-gradient(180deg, rgba(232, 240, 254, 0.65), rgba(255, 255, 255, 0.96));
      border-radius: 14px;
      padding: 14px;
      display: grid;
      gap: 12px;
    }

    .pairing-session {
      display: grid;
      gap: 10px;
    }

    .pairing-meta {
      font-size: 0.84rem;
      color: var(--text-muted);
    }

    .pairing-countdown {
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--accent);
    }

    .pairing-link {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: white;
      padding: 10px 12px;
      word-break: break-all;
      font-size: 0.82rem;
      color: var(--text);
    }

    .pairing-qr {
      display: grid;
      justify-items: center;
      gap: 8px;
      padding: 12px;
      border: 1px dashed rgba(20, 35, 62, 0.18);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.72);
    }

    .pairing-qr img {
      width: 176px;
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
      background: white;
      padding: 10px;
      border: 1px solid rgba(20, 35, 62, 0.08);
    }

    .pairing-qr-copy {
      font-size: 0.8rem;
      color: var(--text-muted);
      text-align: center;
      max-width: 26ch;
    }

    .pairing-status-pill {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      padding: 5px 10px;
      border-radius: 999px;
      background: rgba(0, 102, 255, 0.1);
      color: var(--accent);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .capture-screen {
      display: none;
      min-height: 100vh;
      padding: 110px 0 48px;
      background:
        radial-gradient(circle at top left, rgba(0, 102, 255, 0.12), transparent 36%),
        linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
    }

    body.capture-mode nav {
      position: sticky;
    }

    body.capture-mode .checkout-status,
    body.capture-mode .account-panel,
    body.capture-mode .hero,
    body.capture-mode .problem,
    body.capture-mode .how,
    body.capture-mode .app-preview,
    body.capture-mode .features,
    body.capture-mode .proof,
    body.capture-mode .pricing,
    body.capture-mode .guarantee,
    body.capture-mode .faq,
    body.capture-mode .final-cta,
    body.capture-mode footer {
      display: none;
    }

    body.capture-mode .capture-screen {
      display: block;
    }

    .capture-layout {
      max-width: 760px;
      margin: 0 auto;
      display: grid;
      gap: 18px;
    }

    .capture-card {
      background: rgba(255, 255, 255, 0.94);
      border: 1px solid rgba(20, 35, 62, 0.1);
      border-radius: 18px;
      padding: 20px;
      box-shadow: var(--shadow-lg);
      display: grid;
      gap: 12px;
    }

    .capture-label {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(0, 102, 255, 0.1);
      color: var(--accent);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .capture-title {
      font-size: clamp(2rem, 5vw, 3rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
    }

    .capture-subtitle,
    .capture-card p {
      color: var(--text-muted);
    }

    .capture-meta-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
      gap: 10px;
    }

    .capture-meta {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #f8fbff;
      padding: 10px 12px;
    }

    .capture-meta strong {
      display: block;
      font-size: 0.76rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .capture-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .capture-note {
      border-radius: 12px;
      background: #f8fafc;
      border: 1px solid var(--border);
      padding: 12px;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    body.app-mode .account-panel {
      display: none !important;
    }

    .account-panel {
      position: fixed;
      top: var(--account-panel-top, 156px);
      right: 18px;
      z-index: 110;
      width: min(360px, calc(100vw - 36px));
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid var(--border);
      border-radius: 16px;
      box-shadow: var(--shadow-lg);
      padding: 16px;
      display: none;
      backdrop-filter: blur(14px);
    }

    .account-panel.visible {
      display: block;
    }

    .account-panel h3 {
      font-size: 1rem;
      margin-bottom: 6px;
    }

    .account-meta {
      color: var(--text-muted);
      font-size: 0.88rem;
      margin-bottom: 12px;
    }

    .quota-grid {
      display: grid;
      gap: 8px;
    }

    .quota-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 10px;
      border-radius: 10px;
      background: #f8fafc;
      font-size: 0.88rem;
    }

    .quota-row strong {
      font-size: 0.94rem;
    }

    .account-actions {
      display: flex;
      gap: 8px;
      margin-top: 12px;
    }

    .account-actions button {
      border: 1px solid var(--border);
      background: white;
      border-radius: 999px;
      padding: 8px 12px;
      cursor: pointer;
      font-weight: 600;
    }

    @media (max-width: 1024px) {
      /* sidebar collapses to bottom bar or hidden on mobile */
      body.app-mode .sk-app-shell {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 64px);
      }

      body.app-mode .sk-sidebar {
        width: 100%;
        flex-direction: row;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        overflow-x: auto;
        scrollbar-width: none;
      }

      body.app-mode .sk-sidebar::-webkit-scrollbar { display: none; }

      body.app-mode .sk-sidebar-brand {
        display: none;
      }

      body.app-mode .sk-sidebar-nav {
        flex-direction: row;
        padding: 6px 8px;
        gap: 2px;
        overflow-x: auto;
      }

      body.app-mode .sk-sidebar-footer {
        border-top: none;
        border-left: 1px solid var(--border);
        padding: 6px 8px;
        flex-shrink: 0;
      }

      body.app-mode .sk-nav-item {
        flex-shrink: 0;
        padding: 8px 12px;
        font-size: 0.82rem;
        gap: 6px;
      }

      body.app-mode .sk-nav-item svg {
        display: none;
      }

      .sk-mobile-menu-btn {
        display: none;
      }

      .sk-content {
        padding: 16px;
      }

      .ask-pool-card,
      .ask-pool-answer {
        padding: 16px;
      }

      .ask-pool-hero {
        grid-template-columns: 1fr;
        padding: 16px;
      }

      .ask-pool-hero-copy {
        order: 2;
      }

      .ask-pool-hero-mark {
        order: 1;
        justify-content: flex-start;
      }

      .ask-pool-hero-mark-frame {
        width: 112px;
        border-radius: 24px;
      }

      .ask-pool-hero-mark-image {
        width: 100px;
        height: 100px;
      }

      .sk-form-grid,
      .sk-status-row {
        grid-template-columns: 1fr;
      }

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

      .chemistry-strip-visual {
        width: min(320px, 100%);
      }

      .license-summary-grid {
        grid-template-columns: 1fr;
      }

      .license-feature-grid,
      .license-quota-grid {
        grid-template-columns: 1fr;
      }

      .inventory-settings-header,
      .inventory-settings-row {
        flex-direction: column;
        align-items: stretch;
      }

      .supplies-mode-switch {
        display: flex;
      }

      .supplies-mode-switch .app-button {
        flex: 1 1 100%;
      }

      .sk-status-col {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
      }

      .sk-status-col:last-child {
        border-bottom: none;
      }

      .account-panel,
      .checkout-status {
        left: 18px;
        right: 18px;
        width: auto;
      }

      .account-panel {
        top: auto;
        bottom: 18px;
      }
    }
  

