/* XformPhysique × WHOOP Biometric Design System (Dark & Light Themes) */
@media screen {
  :root,
  :root[data-scene="dusk"] {
    color-scheme: dark;
    /* Luxury Obsidian & Brushed Titanium Surfaces */
    --base32: #07080a;
    --bg: #07080a;
    --deep: #0c0e12;
    --paper34: #101318;
    --surface: #101318;
    --panel2: #171b22;
    --field: #0b0d11;
    --hover: #1f242e;
    --control32: #1a1f28;

    /* WHOOP Typography — High-Contrast & Crisp */
    --text: #ffffff;
    --copy: #e8edf5;
    --muted: #a9b4c6;
    --detail34: #bcc6d6;

    /* Electric Neon Green & Biometric Accents */
    --whoop-green: #00ff66;
    --whoop-cyan: #00d4ff;
    --whoop-violet: #9d8cff;
    --whoop-amber: #ffc400;
    --whoop-red: #ff4757;

    --aqua: #00ff66;
    --sky: #00d4ff;
    --aqua-mark32: #00ff66;
    --ink: #021409;
    --focus: #00ff66;
    --brand-hover: #4dff94;
    --red: #ff6b7a;
    --warning: #ffd166;

    /* Borders & Hairlines */
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.2);
    --selected32: rgba(0, 255, 102, 0.15);
    --accent-bg32: rgba(0, 255, 102, 0.12);
    --error-bg32: rgba(255, 71, 87, 0.14);
    --warn-bg32: rgba(255, 184, 0, 0.14);
    --dim32: rgba(4, 6, 9, 0.78);

    --glass: rgba(18, 21, 26, 0.92);
    --glass34: rgba(18, 21, 26, 0.94);
    --glass-sheer32: rgba(25, 29, 36, 0.72);
    --glass-bright32: rgba(25, 29, 36, 0.95);
    --elevated: #161a21;
    --edge32: rgba(255, 255, 255, 0.1);
    --edge-low32: rgba(255, 255, 255, 0.06);
    --rule34: rgba(255, 255, 255, 0.08);
    --shadow32: 0 10px 30px -12px rgba(0, 0, 0, 0.65);
    --theme-tint32: #12151a;
    --round34: 18px;
    --radius: 18px;
    --space34: clamp(16px, 1.8vw, 26px);
  }

  :root[data-scene="daylight"] {
    color-scheme: light;
    /* WHOOP Crisp Alabaster & Titanium Light Surfaces */
    --base32: #f3f5f8;
    --bg: #f3f5f8;
    --deep: #e9edf2;
    --paper34: #ffffff;
    --surface: #ffffff;
    --panel2: #f0f3f7;
    --field: #f8fafc;
    --hover: #e4e9f0;
    --control32: #edf1f5;

    /* Typography — High-Contrast & Crisp */
    --text: #090d16;
    --copy: #1e293b;
    --muted: #475569;
    --detail34: #334155;

    /* Electric Neon Accents for Light Mode (High-Contrast) */
    --whoop-green: #00e65c;
    --whoop-cyan: #0077cc;
    --whoop-violet: #5e4ce6;
    --whoop-amber: #c27800;
    --whoop-red: #d62839;

    --aqua: #00c853;
    --sky: #0077cc;
    --aqua-mark32: #00e65c;
    --ink: #021409;
    --focus: #0077cc;
    --brand-hover: #00ff66;
    --red: #c81e31;
    --warning: #9a5b00;

    --line: rgba(15, 23, 42, 0.1);
    --line-strong: rgba(15, 23, 42, 0.2);
    --selected32: rgba(0, 230, 92, 0.14);
    --accent-bg32: rgba(0, 230, 92, 0.1);
    --error-bg32: rgba(214, 40, 57, 0.1);
    --warn-bg32: rgba(194, 120, 0, 0.1);
    --dim32: rgba(15, 23, 42, 0.42);

    --glass: rgba(255, 255, 255, 0.94);
    --glass34: rgba(255, 255, 255, 0.96);
    --glass-sheer32: rgba(240, 243, 247, 0.85);
    --glass-bright32: #ffffff;
    --elevated: #ffffff;
    --edge32: rgba(15, 23, 42, 0.1);
    --edge-low32: rgba(15, 23, 42, 0.06);
    --rule34: rgba(15, 23, 42, 0.09);
    --shadow32: 0 8px 24px -12px rgba(15, 23, 42, 0.12);
    --theme-tint32: #ffffff;
  }

  /* Smooth theme transitions */
  html, body, .card, .panel34, .topbar, .glass-rail32, .lead34, .roster-metrics35 > div, button, input, select, textarea {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.15s ease;
  }

  /* Subtle WHOOP atmospheric top glow */
  .scenery32 {
    background: var(--base32);
  }
  :root[data-scene="dusk"] .scenery32::after {
    background: radial-gradient(900px 420px at 28% -8%, rgba(22, 224, 101, 0.07), transparent 65%),
                radial-gradient(720px 380px at 84% 0%, rgba(0, 194, 255, 0.06), transparent 60%);
  }
  :root[data-scene="daylight"] .scenery32::after {
    background: radial-gradient(900px 420px at 28% -8%, rgba(10, 158, 70, 0.05), transparent 65%),
                radial-gradient(720px 380px at 84% 0%, rgba(0, 119, 204, 0.04), transparent 60%);
  }

  /* Sticky, frosted WHOOP Topbar */
  .workspace .topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding-block: 10px;
    margin-bottom: clamp(14px, 1.8vw, 24px);
  }

  /* WHOOP Left Navigation Rail */
  .workspace .glass-rail32 {
    background: var(--surface);
    border-inline-end: 1px solid var(--line);
  }
  .rail-brand32 .identity35 {
    background: var(--whoop-green);
    color: var(--ink);
    box-shadow: 0 0 18px -4px var(--whoop-green);
  }
  .rail-links32 [aria-current="page"],
  .mobile-nav31 [aria-current="page"] {
    background: var(--selected32);
    color: var(--whoop-green);
    border-inline-start: 3px solid var(--whoop-green);
    font-weight: 700;
  }

  /* Theme Switcher Pill */
  button.scene-toggle32 {
    background: var(--panel2);
    border: 1px solid var(--line-strong);
    color: var(--text);
    border-radius: 999px;
    padding: 6px 14px;
    min-height: 38px;
    font-weight: 650;
    letter-spacing: -0.01em;
    box-shadow: none;
  }
  button.scene-toggle32:hover {
    background: var(--hover);
    border-color: var(--whoop-green);
  }

  /* WHOOP Cards & Panels */
  .panel34,
  .card,
  .disclosure34,
  .roster-metrics35 > div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow32);
  }
  .lead34 {
    background: linear-gradient(135deg, var(--surface) 0%, var(--panel2) 100%);
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--whoop-green);
    border-radius: 16px;
    box-shadow: var(--shadow32);
  }

  /* Equal-height Grid Alignment (Fixes dead whitespace) */
  .day-grid34,
  .trend-grid35,
  .checkin-layout35 {
    align-items: stretch;
  }
  .day-grid34 > *,
  .trend-grid35 > *,
  .checkin-layout35 > aside {
    display: flex;
    flex-direction: column;
  }
  .checkin-layout35 > aside {
    gap: var(--space34);
  }

  /* WHOOP Biometric Rings Row */
  .whoop-rings36 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: var(--space34);
    margin: 0;
  }
  .whoop-ring-card36 {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow32);
  }
  .whoop-ring-svg36 {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    transform: rotate(-90deg);
  }
  .whoop-ring-track36 {
    fill: none;
    stroke: var(--panel2);
    stroke-width: 6;
  }
  .whoop-ring-fill36 {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .whoop-ring-meta36 {
    min-width: 0;
    display: grid;
    gap: 2px;
  }
  .whoop-ring-meta36 span {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .whoop-ring-meta36 strong {
    font: 760 1.45rem/1.1 "Inter Tight", Inter, sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
    color: var(--text);
  }
  .whoop-ring-meta36 small {
    font-size: 0.75rem;
    line-height: 1.25;
    color: var(--muted);
  }

  /* Macro Distribution Stacked Bar */
  .macro-split36 {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .macro-bar-track36 {
    display: flex;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--panel2);
    gap: 2px;
  }
  .macro-bar-p36 { background: var(--whoop-green); }
  .macro-bar-c36 { background: var(--whoop-cyan); }
  .macro-bar-f36 { background: var(--whoop-amber); }
  .macro-legend36 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .macro-legend36 i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
  }

  /* Fix Workout Filter Bar Alignment & Height */
  .training-nav34 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
  }
  .training-nav34 label {
    display: grid;
    gap: 5px;
    min-width: 0;
  }
  .training-nav34 select {
    height: 44px;
    min-height: 44px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  @media (max-width: 720px) {
    .training-nav34 {
      grid-template-columns: 1fr;
    }
  }

  /* Fix Nutrition Plan Tools & Meal Actions Alignment */
  .nutrition-tools31 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
  }
  .nutrition-tools31 > button,
  .nutrition-tools31 > details.plan-menu31 > summary,
  .meal-card .card-heading details.plan-menu31 > summary {
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    background: var(--panel2);
    border: 1px solid var(--line-strong);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 620;
    cursor: pointer;
    list-style: none;
  }
  details.plan-menu31,
  details.plan-tools34 {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
  }
  details.plan-menu31[open] .button-row,
  details.plan-tools34[open] .button-row {
    margin-top: 10px;
    padding: 12px;
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  /* Fix Food Row Column Wrapping */
  .workspace .edit-ex35,
  .workspace .edit-food35 {
    white-space: nowrap;
  }
  .food-qty31 span {
    white-space: nowrap;
  }
  /* Food Row Columns: Food | Qty | Measurement | Carbs | Protein | Fat | Calories (+ Delete) */
  @media (min-width: 901px) {
    .food-head31,
    .food-row31 {
      grid-template-columns: minmax(170px, 2fr) minmax(84px, 0.75fr) minmax(110px, 0.95fr) repeat(4, minmax(68px, 0.72fr)) 40px !important;
      align-items: center;
    }
    .food-head31.read-only31,
    .food-row31.read-only31 {
      grid-template-columns: minmax(170px, 2fr) minmax(84px, 0.75fr) minmax(110px, 0.95fr) repeat(4, minmax(68px, 0.72fr)) !important;
    }
  }
  .food-measure36 span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--panel2);
    border: 1px solid var(--line-strong);
    color: var(--copy);
    font-size: 0.82rem;
    font-weight: 650;
    white-space: nowrap;
  }

  /* Color-Coded Macro Cells & Totals */
  .food-nutrient31.n-c,
  .nutrition-total31 [data-nutrient="c"] { color: var(--whoop-cyan); }
  .food-nutrient31.n-p,
  .nutrition-total31 [data-nutrient="p"] { color: var(--whoop-green); }
  .food-nutrient31.n-f,
  .nutrition-total31 [data-nutrient="f"] { color: var(--whoop-amber); }
  .food-nutrient31.n-kcal,
  .nutrition-total31 .total-energy31 b { color: #ff7a59; }
  .food-nutrient31.n-c { background: rgba(0, 194, 255, 0.08); border-radius: 8px; padding: 6px 8px; }
  .food-nutrient31.n-p { background: rgba(22, 224, 101, 0.08); border-radius: 8px; padding: 6px 8px; }
  .food-nutrient31.n-f { background: rgba(255, 184, 0, 0.09); border-radius: 8px; padding: 6px 8px; }
  .food-nutrient31.n-kcal { background: rgba(255, 122, 89, 0.1); border-radius: 8px; padding: 6px 8px; }

  /* Ultra-Luxury Login Panel (Desktop & Mobile) */
  .login-layout.login-lux36 {
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(14px, 3vw, 36px) clamp(14px, 3vw, 40px) 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: clamp(18px, 2.5vw, 32px);
    align-items: stretch;
  }
  .login-lux36 .login-story {
    position: relative;
    min-height: 520px;
    border-radius: 24px;
    border: 1px solid var(--line-strong);
    background:
      radial-gradient(620px 320px at 18% 12%, rgba(22, 224, 101, 0.16), transparent 65%),
      radial-gradient(520px 300px at 85% 85%, rgba(0, 194, 255, 0.14), transparent 65%),
      linear-gradient(125deg, rgba(7, 9, 12, 0.92), rgba(10, 14, 20, 0.72)),
      url("scenes/studio.webp") 58% center / cover no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px -24px rgba(0, 0, 0, 0.75);
    padding: clamp(24px, 4vw, 52px);
    display: flex;
    align-items: flex-end;
  }
  .login-brand-chip36 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f5f7fa;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
  }
  .login-brand-chip36 .brand-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--whoop-green);
    color: #041209;
    font-weight: 900;
  }
  .login-lux36 .story-body h1 {
    font-size: clamp(2.4rem, 4.6vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #ffffff;
    margin: 0 0 14px;
  }
  .login-lux36 .story-body h1 .story-line35 { display: block; color: #ffffff; }
  .login-lux36 .story-body h1 i { font-style: normal; color: var(--whoop-green); }
  .login-lux36 .story-body p {
    font-size: 1.04rem;
    color: #cbd5e1;
    margin: 0 0 20px;
  }
  .login-pillars36 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .login-pillars36 span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 650;
  }
  .login-lux36 .login-form {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    padding: clamp(24px, 3vw, 42px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), var(--shadow32);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
  .login-form-head36 h2 {
    margin: 4px 0 4px;
    font-size: 1.75rem;
    letter-spacing: -0.035em;
    color: var(--text);
  }
  .login-form-head36 p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
  }
  .login-lux36 .segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    border-radius: 14px;
    background: var(--panel2);
    border: 1px solid var(--line);
  }
  .login-lux36 .segmented button {
    min-height: 40px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
  }
  .login-lux36 .segmented button.active {
    background: var(--whoop-green);
    color: var(--ink);
    box-shadow: 0 4px 14px -4px rgba(22, 224, 101, 0.5);
  }
  .login-lux36 #login-form {
    display: grid;
    gap: 16px;
  }
  .login-lux36 #login-form input {
    min-height: 48px;
    border-radius: 12px;
    padding: 10px 14px;
  }
  .login-lux36 #login-form button.primary {
    min-height: 50px;
    border-radius: 14px;
    font-size: 1rem;
    margin-top: 4px;
  }
  .login-links32 {
    display: flex;
    justify-content: center;
  }
  @media (max-width: 900px) {
    .login-layout.login-lux36 {
      grid-template-columns: 1fr;
      padding: 10px 14px 36px;
      gap: 16px;
    }
    .login-lux36 .login-story {
      min-height: 0;
      padding: 22px 20px;
      border-radius: 20px;
    }
    .login-brand-chip36 { margin-bottom: 12px; }
    .login-lux36 .story-body h1 {
      font-size: 2.15rem;
      margin-bottom: 8px;
    }
    .login-lux36 .story-body p {
      font-size: 0.92rem;
      margin-bottom: 12px;
    }
    .login-lux36 .login-form {
      padding: 22px 18px;
      border-radius: 20px;
    }
  }

  /* Global Label, Button, Card & Section Spacing (Desktop & Mobile) */
  label:has(> select, > input:not([type="checkbox"]):not([type="radio"]), > textarea) {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .roster-filter34,
  .compare-controls36 label {
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
    white-space: nowrap;
  }
  .compare-controls36 {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px !important;
    align-items: center;
    max-width: 100%;
  }
  .compare-controls36 select {
    width: auto !important;
    min-width: 108px;
    max-width: 100%;
  }
  #view > section,
  #view > div,
  p.hint {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .button-row,
  .heading-actions,
  .progress-jumps26,
  .option-row,
  .coaching-nav,
  .action-wrap34 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .card-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-bottom: 14px;
  }
  .card-heading h2,
  .card-heading h3,
  .card-heading p {
    margin-block: 0;
  }
  .card-heading p {
    margin-top: 4px;
  }
  .session-controls35 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 18px;
    margin: 16px 0;
  }
  button,
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    line-height: 1.25;
  }
  #view {
    display: grid;
    gap: clamp(16px, 2vw, 24px);
    align-content: start;
  }
  .home34 {
    display: grid;
    gap: clamp(16px, 2vw, 24px);
  }
  @media (max-width: 900px) {
    #view,
    .home34 {
      gap: 16px;
    }
    .card-heading {
      gap: 10px;
    }
    .compare-controls36,
    .session-controls35,
    .button-row,
    .progress-jumps26 {
      gap: 10px;
    }
  }

  /* Luxury Typography, Spacing & Graph Sizing */
  .card,
  .panel34 {
    padding: clamp(18px, 2.2vw, 28px);
  }
  .lead34 h1,
  .page-heading h1 {
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
    letter-spacing: -0.04em;
    line-height: 1.12;
  }
  .card h2,
  .panel34 h2 {
    font-size: 1.16rem;
    letter-spacing: -0.025em;
  }
  .aurora-chart31 {
    display: block;
    overflow: visible;
  }
  .aurora-chart31 .plot31 {
    display: flex;
    gap: 10px;
    align-items: stretch;
    height: auto !important;
    min-height: 168px;
  }
  .aurora-chart31 .axis31 {
    min-width: 44px;
    font-size: 0.76rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .aurora-chart31 .trend-svg {
    display: block;
    flex: 1 1 auto;
    height: 168px !important;
    width: 100%;
  }
  .aurora-chart31 svg path.area36,
  .aurora-chart31 svg path:not(.line31) {
    stroke: none !important;
  }
  .aurora-chart31 figcaption {
    display: flex;
    justify-content: space-between;
    position: static !important;
    margin-top: 12px;
    padding-left: 54px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
  }
  .chart-colorful36 .chart-bars {
    min-height: 185px;
    gap: 10px;
    padding-top: 18px;
    border-bottom: 1px solid var(--line-strong);
  }
  .chart-colorful36 .chart-col span {
    font-size: 0.74rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .chart-colorful36 .chart-col small {
    font-size: 0.74rem;
    font-weight: 650;
    color: var(--muted);
  }
  .table-scroll table th,
  .table-scroll table td {
    padding: 12px 14px;
  }
  @media (max-width: 900px) {
    .aurora-chart31 .trend-svg {
      height: 138px;
    }
    .chart-colorful36 .chart-bars {
      min-height: 150px;
      gap: 6px;
    }
    .chart-colorful36 .chart-col span {
      font-size: 0.66rem;
    }
    .card,
    .panel34 {
      padding: 16px;
    }
  }

  .calc-rings36 {
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    margin-top: 12px;
  }
  .calc-card36 { border-top: 2px solid var(--whoop-cyan); }
  .supplement-schedule34 { border-top: 2px solid #2dd4bf; }

  /* Number-Wise Complete Transformation Table */
  .transform-list36 {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--panel2);
  }
  .transform-head36,
  .transform-row36 {
    display: grid;
    grid-template-columns: minmax(120px, 1.4fr) repeat(3, minmax(68px, 1fr));
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    font-variant-numeric: tabular-nums;
  }
  .transform-head36 {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .transform-row36 {
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
    color: var(--copy);
  }
  .transform-row36:last-child { border-bottom: 0; }
  .transform-row36 b { color: var(--text); font-weight: 680; }
  @media (max-width: 600px) {
    .transform-head36,
    .transform-row36 {
      grid-template-columns: minmax(96px, 1.3fr) repeat(2, minmax(52px, 0.85fr)) auto;
      padding: 9px 10px;
      font-size: 0.78rem;
      gap: 6px;
    }
    .transform-head36 {
      font-size: 0.64rem;
      letter-spacing: 0.04em;
    }
    .transform-row36 .delta-pill36 {
      white-space: nowrap;
      font-size: 0.72rem;
      padding: 3px 7px;
    }
  }

  /* Master Combined Day-Wise Graph */
  .master-chart36 {
    border-top: 2px solid var(--whoop-cyan);
    display: grid;
    gap: 12px;
  }
  .master-ranges36,
  .master-toggles36 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .master-toggle36 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--panel2);
    border: 1px solid var(--line-strong);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
  }
  .master-toggle36 i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
  }
  .master-toggle36.m-w36 i { background: var(--whoop-green); }
  .master-toggle36.m-s36 i { background: var(--whoop-cyan); }
  .master-toggle36.m-l36 i { background: var(--whoop-amber); }
  .master-toggle36.active {
    color: var(--text);
    border-color: var(--line-strong);
    background: var(--hover);
  }
  .master-readout36 {
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--panel2);
    border: 1px solid var(--line);
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
  }
  .master-readout36 .m-w36 { color: var(--whoop-green); font-weight: 700; }
  .master-readout36 .m-s36 { color: var(--whoop-cyan); font-weight: 700; }
  .master-readout36 .m-l36 { color: var(--whoop-amber); font-weight: 700; }
  .master-svg36 {
    display: block;
    width: 100%;
    height: 210px;
  }
  .master-dates36 {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--muted);
  }
  @media (max-width: 900px) {
    .master-svg36 { height: 170px; }
  }

  /* Bold Color-Coded Icon Badges & Plan Rows */
  .panel-head34 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 760;
  }
  .panel-head34 .panel-icon34 {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--panel2);
    border: 1px solid var(--line-strong);
    flex: none;
  }
  .panel34[data-today34] .panel-icon34 { background: rgba(0, 212, 255, 0.14); border-color: rgba(0, 212, 255, 0.35); color: var(--whoop-cyan); }
  .panel34[data-daily34] .panel-icon34 { background: rgba(0, 255, 102, 0.14); border-color: rgba(0, 255, 102, 0.35); color: var(--whoop-green); }
  .panel34[data-weekly34] .panel-icon34 { background: rgba(232, 121, 249, 0.14); border-color: rgba(232, 121, 249, 0.35); color: #e879f9; }
  .plan-row34 {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) 16px !important;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 13px 15px !important;
    border-radius: 14px !important;
    background: var(--panel2) !important;
    border: 1px solid var(--line-strong) !important;
    text-align: left;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  }
  .plan-row34:hover {
    transform: translateY(-1px);
    background: var(--hover) !important;
  }
  .plan-row34 > .plan-icon36 {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex: none;
  }
  .plan-row34[data-view="nutrition"] > .plan-icon36 {
    background: rgba(255, 196, 0, 0.14);
    border: 1px solid rgba(255, 196, 0, 0.35);
    color: var(--whoop-amber);
  }
  .plan-row34[data-view="supplements"] > .plan-icon36 {
    background: rgba(45, 212, 191, 0.14);
    border: 1px solid rgba(45, 212, 191, 0.35);
    color: #2dd4bf;
  }
  .plan-row34[data-view="checkin"] > .plan-icon36 {
    background: rgba(157, 140, 255, 0.14);
    border: 1px solid rgba(157, 140, 255, 0.35);
    color: var(--whoop-violet);
  }
  .plan-row34 > span:not(.plan-icon36) {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 2px;
  }
  .plan-row34 > span b {
    font-size: 1rem;
    font-weight: 760;
    color: var(--text);
  }
  .plan-row34 > span small {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
  }

  /* Multi-Color Section & Nav Differentiation */
  .rail-button32[data-view="workout"] svg,
  .panel34[data-today34] .panel-icon34 { color: var(--whoop-cyan); }
  .rail-button32[data-view="nutrition"] svg { color: var(--whoop-amber); }
  .rail-button32[data-view="checkin"] svg { color: var(--whoop-violet); }
  .rail-button32[data-view="progress"] svg,
  .panel34[data-weekly34] .panel-icon34 { color: #e879f9; }
  .rail-button32[data-view="overview"] svg { color: var(--whoop-green); }
  .panel34[data-daily34] .panel-icon34 { color: var(--whoop-green); }
  .panel34[data-today34] { border-top: 2px solid var(--whoop-cyan); }
  .panel34[data-daily34] { border-top: 2px solid var(--whoop-green); }
  .panel34.activity35 { border-top: 2px solid var(--whoop-violet); }
  .panel34[data-weekly34] { border-top: 2px solid #e879f9; }
  .nutrition-overview31 { border-top: 2px solid var(--whoop-amber); }
  .meal-card { border-left: 3px solid var(--whoop-cyan); }
  .workout-plan33 { border-top: 2px solid var(--whoop-cyan); }
  .analytics-summary36 { border-top: 2px solid #e879f9; }

  /* Tidy Read-Only Quantity Box in Client Nutrition */
  .food-row31.read-only31 .food-qty31 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    min-height: 38px;
    min-width: 58px;
    border-radius: 10px;
    background: var(--panel2);
    border: 1px solid var(--line-strong);
    font-variant-numeric: tabular-nums;
    width: fit-content;
  }
  .food-row31.read-only31 .food-qty31 b {
    font-size: 0.96rem;
    font-weight: 760;
    color: var(--text);
  }
  .food-row31.read-only31 .food-qty31 span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
  }

  /* Fix Check-in Body Measurements Disclosure Padding */
  .entry-measures35 {
    margin: 12px 0 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px 14px !important;
    background: var(--panel2);
  }
  .entry-measures35 summary {
    padding-inline: 2px;
  }

  /* Primary CTA Buttons — Electric Neon Green & Razor-Sharp Contrast */
  button:not(.primary):not(.ghost):not(.danger):not(.nav-item):not(.rail-button32):not(.person34):not(.scene-toggle32):not(.day-pill36):not(.master-toggle36):not(.photo-week-chip36):not(.copy-set36):not(.food-name31):not(.food-delete31),
  .button:not(.primary):not(.ghost):not(.danger) {
    background: var(--control32);
    border: 1px solid var(--line-strong);
    color: var(--text);
    font-weight: 680;
  }
  button:not(.primary):not(.ghost):not(.danger):not(.nav-item):not(.rail-button32):not(.person34):not(.scene-toggle32):not(.day-pill36):not(.master-toggle36):not(.photo-week-chip36):not(.copy-set36):not(.food-name31):not(.food-delete31):hover,
  .button:not(.primary):not(.ghost):not(.danger):hover {
    background: var(--hover);
    border-color: var(--whoop-green);
  }
  button.primary,
  .button.primary {
    background: var(--whoop-green);
    color: var(--ink);
    border-color: transparent;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 0 22px -6px rgba(0, 255, 102, 0.55);
  }
  button.primary:hover,
  .button.primary:hover {
    background: var(--brand-hover);
    box-shadow: 0 0 26px -4px rgba(0, 255, 102, 0.72);
  }
  .workspace .content {
    max-width: 1360px;
    margin-inline: auto;
    width: 100%;
  }

  /* Activity Week Bars — WHOOP Strain Cyan */
  .week-bars35 i {
    background: linear-gradient(180deg, var(--whoop-cyan) 0%, var(--whoop-green) 100%);
  }
  .activity35 .big-num35 {
    color: var(--whoop-cyan);
  }

  /* Colorful Weekly Training Load Bars */
  .chart-colorful36 .chart-bars {
    gap: 8px;
    padding-top: 12px;
    border-bottom: 1px solid var(--line-strong);
  }
  .chart-colorful36 .bar {
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, var(--whoop-cyan) 0%, var(--whoop-violet) 100%) !important;
    opacity: 0.72;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .chart-colorful36 .bar.has-load36 {
    opacity: 0.92;
  }
  .chart-colorful36 .bar.current {
    background: linear-gradient(180deg, var(--whoop-green) 0%, var(--whoop-cyan) 100%) !important;
    opacity: 1;
    box-shadow: 0 0 18px -3px var(--whoop-green);
  }
  .chart-colorful36 .bar:hover {
    opacity: 1;
    transform: translateY(-2px);
  }

  /* Colorful SVG Trend Charts */
  .chart-grid36 {
    stroke: var(--line);
    stroke-width: 1;
    stroke-dasharray: 4 4;
  }
  .chart-dot36 {
    transition: r 0.15s ease;
  }
  .chart-dot36:hover {
    r: 5.5;
  }

  /* Notification Unread Badge */
  .icon-control32.has-badge36 {
    position: relative;
  }
  .roster-filter34 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }
  .badge36 {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--whoop-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--surface);
  }

  /* WHOOP Typography Hierarchy */
  body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-weight: 500;
    color: var(--copy);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  p, li, td, th, label, input, select, textarea {
    font-weight: 500;
  }
  h1, h2, h3, .big-num35, .roster-metrics35 dd, .whoop-ring-meta36 strong {
    font-family: "Inter Tight", "Inter", system-ui, sans-serif;
    color: var(--text);
    font-weight: 760;
  }
  .eyebrow,
  .hero-label32,
  .stat-grid34 dt,
  .roster-metrics35 dt,
  .prescription35 thead th,
  .food-head31 {
    font-size: 0.74rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  /* Set 1 Quick-Copy Pill */
  .set-input-wrap36 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .copy-set36 {
    min-height: 36px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    background: var(--selected32);
    color: var(--whoop-green);
    border: 1px solid var(--whoop-green);
    white-space: nowrap;
  }

  /* Workout Day Pills */
  .day-pills-wrap36 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 4px 2px 10px;
    scrollbar-width: none;
  }
  .day-pills-wrap36::-webkit-scrollbar { display: none; }
  .day-pill36 {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--panel2);
    border: 1px solid var(--line-strong);
    color: var(--copy);
    font-size: 0.88rem;
    font-weight: 650;
    white-space: nowrap;
  }
  .day-pill36.active {
    background: var(--whoop-green);
    color: var(--ink);
    border-color: transparent;
    font-weight: 760;
  }

  /* 1-Tap Rest Timer Pill & PR Badge */
  .rest-timer36 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--panel2);
    border: 1px solid var(--line-strong);
  }
  .rest-readout36 {
    padding: 0 8px;
    font: 760 0.92rem/1 "Inter Tight", Inter, sans-serif;
    font-variant-numeric: tabular-nums;
    color: var(--whoop-cyan);
    min-width: 52px;
    text-align: center;
  }
  .rest-readout36.done {
    color: var(--whoop-green);
  }
  .rest-timer36 button {
    min-height: 34px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
  }
  .pr-badge36 {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    margin-left: 6px;
    border-radius: 999px;
    background: var(--whoop-green);
    color: var(--ink);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    vertical-align: middle;
    box-shadow: 0 0 12px -2px var(--whoop-green);
  }

  /* Roster Traffic-Light Status & Duplicate Plan */
  .staff-grid34 {
    grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.85fr) !important;
    align-items: start;
  }
  .person-wrap36 {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .person-wrap36 .person34 {
    flex: 1 1 auto;
    min-width: 0;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
  }
  .person-wrap36 .person-name34 {
    min-width: 0;
    overflow: hidden;
  }
  .person-wrap36 .person-name34 b,
  .person-wrap36 .person-name34 small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Align Set 1..N Inputs Vertically */
  .weight-set35 {
    display: grid !important;
    grid-template-columns: minmax(78px, auto) 1fr;
    align-items: center;
    gap: 8px 12px;
  }
  .set-input-wrap36 {
    display: grid;
    grid-template-columns: minmax(90px, 110px) auto;
    align-items: center;
    gap: 8px;
    justify-content: start;
  }

  /* 3D Depth, Specular Highlights & Motion Graphics */
  .whoop-ring-card36,
  .card,
  .panel34,
  .lead34,
  .analytics-tile36,
  .calc-grid36 > div {
    contain: layout style;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow32);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.2s ease;
  }
  :root[data-scene="daylight"] .whoop-ring-card36,
  :root[data-scene="daylight"] .card,
  :root[data-scene="daylight"] .panel34 {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 26px -14px rgba(15, 23, 42, 0.14);
  }
  .whoop-ring-card36:hover,
  .analytics-tile36:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
  }

  @keyframes whoopFadeUp36 {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes whoopBarGrow36 {
    from { transform: scaleY(0.15); opacity: 0.4; }
    to { transform: scaleY(1); opacity: 1; }
  }
  @keyframes whoopLineDraw36 {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
  }
  :root:not([data-motion="off"]) .whoop-ring-card36,
  :root:not([data-motion="off"]) .analytics-tile36 {
    animation: whoopFadeUp36 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  :root:not([data-motion="off"]) .chart-colorful36 .bar,
  :root:not([data-motion="off"]) .week-bars35 i {
    transform-origin: bottom;
    animation: whoopBarGrow36 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  :root:not([data-motion="off"]) .aurora-chart31 .line31 {
    stroke-dasharray: 1;
    animation: whoopLineDraw36 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  @media (prefers-reduced-motion: reduce) {
    .whoop-ring-card36, .analytics-tile36, .chart-colorful36 .bar, .week-bars35 i, .aurora-chart31 .line31 {
      animation: none !important;
      transition: none !important;
    }
  }
  .traffic-pill36 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .traffic-pill36 i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
  }
  .traffic-pill36.green { background: var(--selected32); color: var(--whoop-green); }
  .traffic-pill36.green i { background: var(--whoop-green); }
  .traffic-pill36.amber { background: var(--warn-bg32); color: var(--whoop-amber); }
  .traffic-pill36.amber i { background: var(--whoop-amber); }
  .traffic-pill36.red { background: var(--error-bg32); color: var(--whoop-red); }
  .traffic-pill36.red i { background: var(--whoop-red); }
  .dup-plan36 {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--panel2);
    border: 1px solid var(--line-strong);
    color: var(--copy);
    white-space: nowrap;
  }
  .dup-plan36:hover {
    border-color: var(--whoop-cyan);
    color: var(--whoop-cyan);
  }
  @media (max-width: 600px) {
    .person-wrap36 {
      flex-direction: column;
      align-items: stretch;
    }
    .dup-plan36 {
      width: 100%;
    }
  }

  /* Check-in & Progress Analytics Cards */
  .calc-grid36,
  .analytics-grid36 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 10px 0 0;
  }
  .calc-grid36 > div,
  .analytics-tile36 {
    padding: 14px;
    border-radius: 12px;
    background: var(--panel2);
    border: 1px solid var(--line);
    display: grid;
    gap: 4px;
  }
  .calc-grid36 dt,
  .analytics-tile36 > span {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .calc-grid36 dd,
  .analytics-tile36 > strong {
    margin: 0;
    font: 760 1.45rem/1.15 "Inter Tight", Inter, sans-serif;
    font-variant-numeric: tabular-nums;
    color: var(--text);
  }
  .delta-pill36 {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .delta-pill36.good {
    background: var(--selected32);
    color: var(--whoop-green);
  }
  .delta-pill36.warn {
    background: var(--warn-bg32);
    color: var(--whoop-amber);
  }
  .delta-pill36.neutral {
    background: var(--panel2);
    color: var(--muted);
  }

  /* Crisp Typography for Food & Exercise Names from Database */
  .prescription35 th[scope="row"] > b,
  .food-name31,
  .library-row35 b,
  .picker-item b {
    font-family: "Inter Tight", "Inter", system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.35;
    color: var(--text);
  }
  .meal-card h2,
  .meal-card .title-input {
    font-family: "Inter Tight", "Inter", system-ui, sans-serif;
    font-size: 1.18rem;
    font-weight: 760;
    letter-spacing: -0.025em;
    color: var(--text);
  }

  /* Colorful WHOOP Supplement Schedule Cards */
  .supp-grid36 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 14px;
  }
  .supp-card36 {
    padding: 18px;
    border-radius: 16px;
    background: var(--panel2);
    border: 1px solid var(--line);
    border-top: 3px solid #2dd4bf;
    display: grid;
    gap: 14px;
    align-content: start;
  }
  .supp-head36 {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .supp-icon36 {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(45, 212, 191, 0.14);
    color: #2dd4bf;
    flex: none;
  }
  .supp-num36 {
    display: block;
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    color: #2dd4bf;
  }
  .supp-head36 h3 {
    margin: 2px 0 0;
    font-size: 1.08rem;
    color: var(--text);
  }
  .supp-meta36 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
  }
  .supp-meta36 > div {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
  }
  .supp-dose36 { background: rgba(22, 224, 101, 0.09); border-color: rgba(22, 224, 101, 0.25) !important; }
  .supp-time36 { background: rgba(0, 194, 255, 0.09); border-color: rgba(0, 194, 255, 0.25) !important; }
  .supp-meta36 dt {
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .supp-dose36 dd { margin: 3px 0 0; font-weight: 740; color: var(--whoop-green); }
  .supp-time36 dd { margin: 3px 0 0; font-weight: 740; color: var(--whoop-cyan); }
  .supp-note36 {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 184, 0, 0.08);
    border: 1px solid rgba(255, 184, 0, 0.22);
  }
  .supp-note36 span {
    display: block;
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--whoop-amber);
    margin-bottom: 3px;
  }
  .supp-note36 p { margin: 0; font-size: 0.9rem; color: var(--copy); }
  .supp-foot36 { display: flex; }
  .supp-link36 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-color: rgba(0, 194, 255, 0.35) !important;
    color: var(--whoop-cyan) !important;
    font-weight: 700;
  }
  .supp-edit-card36 {
    grid-column: 1 / -1;
    border-left: 3px solid #2dd4bf !important;
  }
  .supp-edit-card36 summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .supp-summary36 { display: inline-flex; align-items: center; gap: 10px; }
  .supp-pills36 { display: inline-flex; flex-wrap: wrap; gap: 6px; }
  .supp-pill-dose36 { padding: 3px 9px; border-radius: 999px; background: var(--selected32); color: var(--whoop-green); font-weight: 700; }
  .supp-pill-time36 { padding: 3px 9px; border-radius: 999px; background: rgba(0, 194, 255, 0.12); color: var(--whoop-cyan); font-weight: 700; }

  /* Check-in Reminder Banner */
  .checkin-alert36 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
  }
  .checkin-alert36 b { display: block; color: var(--text); font-size: 0.98rem; }
  .checkin-alert36 p { margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); }
  .checkin-alert36.due { border-inline-start: 4px solid var(--whoop-red); background: var(--error-bg32); }
  .checkin-alert36.soon { border-inline-start: 4px solid var(--whoop-amber); background: var(--warn-bg32); }
  .checkin-alert36.info { border-inline-start: 4px solid var(--whoop-cyan); }

  /* Side-by-Side Photo Comparison Studio */
  .photo-studio36 { border-top: 2px solid var(--whoop-cyan); display: grid; gap: 18px; min-width: 0; max-width: 100%; overflow: hidden; }
  .compare-controls36 { display: flex; flex-wrap: wrap; gap: 10px; }
  .compare-controls36 label { display: grid; gap: 4px; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
  .compare-grid36 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .compare-pose-card36 {
    min-width: 0;
    overflow: hidden;
    padding: 14px;
    border-radius: 14px;
    background: var(--panel2);
    border: 1px solid var(--line);
    display: grid;
    gap: 10px;
  }
  .compare-pose-card36 h3 { margin: 0; font-size: 1rem; color: var(--text); }
  .compare-pair36 {
    min-width: 0;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }
  .compare-slot36 { min-width: 0; display: grid; gap: 6px; }
  .compare-week-pill36 {
    display: inline-flex;
    width: fit-content;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    font-size: 0.72rem;
    font-weight: 750;
    color: var(--whoop-cyan);
  }
  .compare-slot36 img,
  .compare-slot36 .photo-placeholder {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
  }
  .photo-timeline36 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-top: 6px;
  }
  .photo-week-chip36 {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 6px 12px;
    border-radius: 12px;
    background: var(--panel2);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
  }
  .photo-week-chip36.has-photos { border-color: var(--whoop-green); color: var(--text); }
  .photo-week-chip36.active { background: var(--selected32); border-color: var(--whoop-cyan); color: var(--text); }
  @media (max-width: 900px) {
    .compare-grid36 { grid-template-columns: 1fr; }
  }

  /* Luxury WHOOP Questionnaire Format */
  .questionnaire-shell.intake34 {
    display: grid;
    gap: 18px;
  }
  .intake-summary34 {
    border-top: 2px solid var(--whoop-green);
    display: grid;
    gap: 12px;
  }
  .intake-status34 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 740;
    color: var(--text);
  }
  #intake-progress34 {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    appearance: none;
    background: var(--panel2);
    border: 1px solid var(--line);
  }
  #intake-progress34::-webkit-progress-bar {
    background: var(--panel2);
  }
  #intake-progress34::-webkit-progress-value {
    background: linear-gradient(90deg, var(--whoop-cyan), var(--whoop-green));
    border-radius: 999px;
  }
  .intake-form34 {
    border-top: 2px solid var(--whoop-cyan);
    display: grid;
    gap: 16px;
  }
  #intake-chapter34 {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  #intake-chapter34 p {
    font-size: 0.74rem;
    font-weight: 760;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--whoop-cyan);
    margin: 0 0 4px;
  }
  .intake-question34 {
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--panel2);
    border: 1px solid var(--line);
    display: grid;
    gap: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .intake-question34:focus-within {
    border-color: var(--whoop-cyan);
    box-shadow: 0 0 0 1px rgba(0, 194, 255, 0.2);
  }
  .intake-prompt34 {
    display: grid;
    gap: 8px;
  }
  .q-badges36 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }
  .q-num36 {
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(0, 194, 255, 0.14);
    color: var(--whoop-cyan);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
  }
  .q-req36 {
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(255, 184, 0, 0.14);
    color: var(--whoop-amber);
    font-size: 0.72rem;
    font-weight: 750;
  }
  .q-opt36 {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 650;
  }
  .q-done36 {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--selected32);
    color: var(--whoop-green);
    font-size: 0.72rem;
    font-weight: 750;
  }
  .intake-prompt34 h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.42;
    color: var(--text);
  }
  .intake-question34 .question-options {
    display: grid;
    gap: 8px;
  }
  .intake-question34 .inline-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    min-height: 46px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.15s ease, border-color 0.15s ease;
  }
  .intake-question34 .inline-check:has(input:checked) {
    background: var(--selected32);
    border-color: var(--whoop-green);
    color: var(--text);
  }
  .intake-navigation34 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  /* 100% Phone-First Mobile Optimization */
  @media (max-width: 900px) {
    html, body {
      overflow-x: hidden;
    }
    .workspace .main {
      margin-left: 0 !important;
      padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }
    .workspace .content {
      padding: 12px 14px 28px;
    }
    .workspace .topbar {
      padding: 8px 14px;
      padding-top: max(8px, env(safe-area-inset-top));
      gap: 8px;
    }
    .topbar .search-wrap {
      flex: 1 1 100%;
      order: 5;
    }
    /* Prevent iOS Safari auto-zoom on form inputs */
    input, select, textarea {
      font-size: 16px !important;
      min-height: 44px;
    }
    button, .button, summary {
      min-height: 44px;
    }
    /* Stack grids cleanly on phone */
    .day-grid34,
    .trend-grid35,
    .checkin-layout35,
    .staff-grid34,
    .grid-2,
    .grid-3,
    .whoop-rings36 {
      grid-template-columns: 1fr !important;
      gap: 12px;
    }
    .roster-metrics35 {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      gap: 8px;
    }
    .roster-metrics35 > div {
      padding: 12px 10px;
    }
    .roster-metrics35 dd {
      font-size: 1.45rem !important;
    }
    /* Frosted WHOOP Bottom Tab Bar */
    .mobile-nav31 {
      position: fixed;
      inset: auto 0 0 0;
      z-index: 40;
      padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
      background: var(--glass) !important;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-top: 1px solid var(--line-strong);
      box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.45);
    }
    .mobile-nav31 button {
      min-height: 48px;
      border-radius: 12px;
      font-size: 0.72rem;
      font-weight: 650;
      gap: 3px;
    }
    .mobile-nav31 [aria-current="page"] {
      border-inline-start: 0;
      border-top: 2px solid var(--whoop-green);
      border-radius: 10px;
    }
    /* Phone-friendly Food Rows */
    .food-head31 {
      display: none !important;
    }
    .food-row31 {
      display: grid !important;
      grid-template-columns: 1fr auto !important;
      gap: 10px !important;
      padding: 12px !important;
      border: 1px solid var(--line) !important;
      border-radius: 12px !important;
      margin-bottom: 10px !important;
      background: var(--panel2);
    }
    .food-values31 {
      grid-column: 1 / -1;
      display: grid !important;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 6px;
      padding-top: 8px;
      border-top: 1px solid var(--line);
    }
    .food-nutrient31 {
      display: grid !important;
      text-align: center;
      font-size: 0.85rem;
    }
  }
}
