:root {
        color-scheme: dark;
        --bg: #09090e;
        --panel: #15151c;
        --panel-soft: #211c27;
        --line: #39313c;
        --text: #f6f3f5;
        --muted: #b3aeb6;
        --lime: #ff3158;
        --lime-dark: #d91e43;
        --danger: #ff7890;
        --radius: 20px;
      }

      * { box-sizing: border-box; }

      body {
        margin: 0;
        min-width: 320px;
        min-height: 100vh;
        background:
          radial-gradient(ellipse at 12% 5%, rgba(255, 30, 76, .17), transparent 35%),
          radial-gradient(ellipse at 88% 18%, rgba(150, 45, 214, .13), transparent 30%),
          radial-gradient(ellipse at 50% 100%, rgba(255, 49, 88, .07), transparent 38%),
          var(--bg);
        color: var(--text);
        font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        -webkit-font-smoothing: antialiased;
      }

      button, input, textarea { font: inherit; }
      button { cursor: pointer; }
      h1, h2, h3, .brand, .stat-value { font-family: "Chakra Petch", "Space Grotesk", ui-sans-serif, system-ui, sans-serif; }
      .shell, .toast { position: relative; z-index: 1; }

      body::before {
        position: fixed;
        inset: 0;
        z-index: 0;
        background-image:
          radial-gradient(1.5px 1.5px at 12% 24%, rgba(255,255,255,.62) 50%, transparent 100%),
          radial-gradient(1px 1px at 74% 13%, rgba(255,49,88,.85) 50%, transparent 100%),
          radial-gradient(1.5px 1.5px at 89% 57%, rgba(255,255,255,.55) 50%, transparent 100%),
          radial-gradient(1px 1px at 31% 77%, rgba(167,101,255,.7) 50%, transparent 100%),
          radial-gradient(1px 1px at 58% 43%, rgba(255,255,255,.45) 50%, transparent 100%);
        background-size: 390px 330px;
        content: "";
        pointer-events: none;
      }

      .shell { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
      .topbar {
        height: 78px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 49, 88, .24);
        box-shadow: 0 1px 0 rgba(255, 49, 88, .07);
        position: relative;
      }
      .topbar::after { position: absolute; bottom: -1px; left: 0; width: 110px; height: 2px; background: linear-gradient(90deg, #ff3158, #b94dff, transparent); content: ""; }
      .brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 750; letter-spacing: -.7px; text-shadow: 0 0 20px rgba(255,49,88,.22); }
      .brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 11px; background: linear-gradient(145deg, #ff3158, #a746f5 85%); color: #fff; box-shadow: 0 0 22px rgba(255,49,88,.28), inset 0 1px 0 rgba(255,255,255,.5); }
      .brand-mark svg { width: 19px; height: 19px; }
      .project-nav { display: flex; align-items: center; gap: 5px; margin-left: auto; margin-right: 24px; padding: 4px; border: 1px solid rgba(185,142,192,.17); border-radius: 11px; background: rgba(18,16,22,.74); }
      .project-nav-link { padding: 8px 13px; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 650; text-decoration: none; transition: color .18s, background .18s, box-shadow .18s; }
      .project-nav-link:hover { color: var(--text); background: rgba(255,255,255,.045); }
      .project-nav-link.active { background: rgba(255,49,88,.12); color: #ff8298; box-shadow: inset 0 0 0 1px rgba(255,49,88,.15); }
      .project-nav-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
      .top-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
      .status-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff3158; box-shadow: 0 0 12px rgba(255,49,88,.8); transition: background .2s, box-shadow .2s; }
      .status-dot[data-connected="true"] { background: #32d583; box-shadow: 0 0 12px rgba(50,213,131,.8); }
      .account-bar { display: flex; align-items: center; gap: 12px; }

      main { padding: 56px 0 80px; }
      .eyebrow { color: var(--lime); font-size: 11px; font-weight: 750; letter-spacing: 1.8px; text-transform: uppercase; }
      .hero { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
      h1 { margin: 10px 0 9px; background: linear-gradient(100deg, #fff 4%, #ffd7df 45%, #bd8bff 95%); background-clip: text; color: transparent; font-size: clamp(34px, 5vw, 48px); line-height: 1.05; letter-spacing: -2.2px; -webkit-background-clip: text; }
      .intro { margin: 0; color: var(--muted); font-size: 14px; }
      .back-link { display: inline-block; margin-bottom: 12px; color: var(--lime); font-size: 12px; text-decoration: none; }
      .back-link:hover { color: #ffb5c2; }
      .exercise-hero { margin-bottom: 34px; }
      .exercise-hero h1 { margin-top: 0; }
      .exercise-record { padding: 20px 22px; }
      .exercise-record .exercise-list { margin-top: 15px; }
      .primary-button {
        display: inline-flex; align-items: center; justify-content: center; gap: 9px;
        min-height: 46px; padding: 0 17px; border: 0; border-radius: 12px;
        background: linear-gradient(110deg, #ff3158, #c72b88); color: #fff; font-size: 13px; font-weight: 750;
        box-shadow: 0 7px 24px rgba(255, 49, 88, .2), inset 0 1px 0 rgba(255,255,255,.25);
        transition: filter .18s, transform .18s, box-shadow .18s;
      }
      .primary-button:hover { filter: brightness(1.13); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,49,88,.3), inset 0 1px 0 rgba(255,255,255,.35); }
      .primary-button svg { width: 17px; height: 17px; }

      .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 38px; }
      .stat { min-height: 112px; padding: 19px 21px; border: 1px solid rgba(255,49,88,.2); border-radius: var(--radius); background: linear-gradient(145deg, rgba(30,25,34,.98), rgba(17,17,22,.98)); box-shadow: 0 12px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.035); }
      .stat-label { color: var(--muted); font-size: 12px; }
      .stat-value { display: flex; align-items: baseline; gap: 7px; margin-top: 13px; font-size: 29px; font-weight: 720; letter-spacing: -1px; }
      .stat-value small { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
      .stat-value .accent { color: #ff82d3; text-shadow: 0 0 18px rgba(255,130,211,.35); }

      .next-workout { margin-bottom: 40px; padding: 22px; border: 1px solid rgba(255,49,88,.4); border-radius: var(--radius); background: radial-gradient(ellipse at 100% 0%, rgba(161,53,186,.12), transparent 40%), linear-gradient(145deg, rgba(31,24,32,.98), rgba(16,16,21,.99)); box-shadow: 0 16px 38px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.05); }
      .next-workout-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
      .next-workout-kicker { margin: 0 0 5px; color: var(--lime); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
      .next-workout-heading h2 { font-size: 23px; }
      .next-workout-date { padding: 7px 10px; border: 1px solid rgba(255,130,211,.24); border-radius: 9px; background: rgba(255,130,211,.08); color: #ffb1e2; font-size: 11px; white-space: nowrap; }
      .suggested-exercises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
      .suggested-exercise { display: grid; gap: 5px; min-width: 0; padding: 12px; border: 1px solid rgba(190,158,201,.17); border-radius: 12px; background: rgba(12,11,15,.7); }
      .suggested-exercise-name { overflow: hidden; color: var(--text); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
      .suggested-exercise-value { color: #ddd9ff; font-size: 11px; }
      .suggested-exercise-weight { color: var(--lime); font-size: 12px; font-weight: 700; }
      .next-workout-footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 17px; padding-top: 15px; border-top: 1px solid rgba(158,153,255,.16); }
      .progression-note { max-width: 580px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

      .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
      h2 { margin: 0; font-size: 19px; letter-spacing: -.5px; }
      .section-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
      .search-wrap { position: relative; width: min(240px, 45%); }
      .search-wrap svg { position: absolute; left: 12px; top: 50%; width: 15px; height: 15px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
      .search { width: 100%; height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: var(--panel); color: var(--text); font-size: 12px; }
      .filter-wrap { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; white-space: nowrap; }
      .exercise-filter { min-width: 145px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: var(--panel); color: var(--text); font-size: 12px; }
      .search:focus, input:focus, textarea:focus, select:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(255, 49, 88, .13), 0 0 20px rgba(255,49,88,.08); }

      .lift-tracking { margin-bottom: 42px; }
      .lift-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
      .lift-section { min-width: 0; padding: 18px; border: 1px solid rgba(185,142,192,.2); border-radius: var(--radius); background: linear-gradient(145deg, rgba(29,25,33,.98), rgba(17,17,22,.98)); box-shadow: 0 14px 32px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.04); transition: border-color .2s, transform .2s, box-shadow .2s; }
      .lift-section:hover { transform: translateY(-2px); border-color: rgba(255,49,88,.48); box-shadow: 0 17px 38px rgba(0,0,0,.38), 0 0 26px rgba(255,49,88,.08); }
      .lift-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
      .lift-section-heading h3 { margin: 0; font-size: 15px; letter-spacing: -.25px; }
      .lift-section-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
      .lift-section-link span { color: var(--lime); transition: transform .18s; }
      .lift-section-link:hover { color: var(--lime); }
      .lift-section-link:hover span { transform: translateX(3px); }
      .lift-section-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 3px; }
      .lift-section-heading > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
      .lift-record-list { display: grid; gap: 10px; padding-top: 12px; }
      .lift-record { min-width: 0; padding: 11px 12px; border: 1px solid rgba(185,142,192,.13); border-radius: 12px; background: linear-gradient(120deg, rgba(37,29,38,.85), rgba(24,22,28,.92)); }
      .lift-record-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
      .lift-record-name { overflow: hidden; color: var(--text); font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
      .lift-record-date { flex: 0 0 auto; color: var(--muted); font-size: 10px; }
      .lift-record-workout { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
      .lift-record-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
      .lift-record-stats span { padding: 4px 7px; border: 1px solid rgba(255,49,88,.25); border-radius: 7px; background: rgba(255,49,88,.07); color: #ff8298; font-size: 10px; }
      .lift-empty { margin: 0; padding: 8px 0 2px; color: var(--muted); font-size: 11px; }

      .workout-list { display: grid; gap: 12px; }
      .workout-card { padding: 20px 22px; border: 1px solid rgba(185,142,192,.2); border-radius: var(--radius); background: linear-gradient(145deg, rgba(29,25,33,.98), rgba(17,17,22,.98)); box-shadow: 0 12px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035); animation: enter .22s ease-out; }
      @keyframes enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
      .workout-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
      .workout-actions { display: flex; flex: 0 0 auto; gap: 5px; }
      .workout-name { margin: 0; font-size: 17px; letter-spacing: -.3px; }
      .workout-date { margin-top: 6px; color: var(--muted); font-size: 12px; }
      .edit-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #858a7f; }
      .edit-button:hover { border-color: rgba(140,255,0,.2); background: rgba(140,255,0,.08); color: var(--lime); }
      .edit-button svg { width: 16px; height: 16px; }
      .delete-button { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #858a7f; }
      .delete-button:hover { border-color: rgba(240, 138, 130, .2); background: rgba(240, 138, 130, .08); color: var(--danger); }
      .delete-button svg { width: 16px; height: 16px; }
      .workout-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
      .tag { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: #c5c9bd; font-size: 11px; }
      .tag.lime { border-color: rgba(255,49,88,.25); background: rgba(255,49,88,.08); color: #ff8298; }
      .exercise-list { display: flex; flex-wrap: wrap; gap: 7px; }
      .exercise-chip { padding: 7px 10px; border: 1px solid rgba(188,127,198,.2); border-radius: 9px; background: linear-gradient(120deg, rgba(119,50,103,.18), rgba(70,39,98,.14)); color: #eee5f2; font-size: 11px; }
      .notes { margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }

      .empty-state { padding: 54px 20px; border: 1px dashed rgba(190,127,177,.4); border-radius: var(--radius); background: rgba(23,19,25,.72); text-align: center; }
      .empty-icon { width: 45px; height: 45px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 14px; background: linear-gradient(145deg,rgba(255,49,88,.2),rgba(150,72,191,.18)); color: var(--lime); }
      .empty-icon svg { width: 22px; height: 22px; }
      .empty-state h3 { margin: 0; font-size: 15px; }
      .empty-state p { max-width: 300px; margin: 8px auto 17px; color: var(--muted); font-size: 12px; line-height: 1.6; }
      .empty-action { padding: 0; border: 0; background: none; color: var(--lime); font-size: 12px; font-weight: 700; }
      .empty-action:hover { color: #ffb5c2; }
      .toast { position: fixed; right: 24px; bottom: 24px; z-index: 3; max-width: calc(100vw - 32px); padding: 13px 17px; border: 1px solid rgba(255,49,88,.36); border-radius: 12px; background: #1c171e; color: var(--text); font-size: 13px; box-shadow: 0 0 30px rgba(255,49,88,.12), 0 12px 35px rgba(0, 0, 0, .3); }
      [hidden] { display: none !important; }

      dialog { width: min(580px, calc(100% - 28px)); max-height: min(90vh, 850px); max-height: min(90dvh, 850px); padding: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border: 1px solid rgba(255,49,88,.4); border-radius: 20px; background: #151218; color: var(--text); box-shadow: 0 0 45px rgba(255,49,88,.12), 0 25px 90px rgba(0, 0, 0, .7); }
      dialog::backdrop { background: rgba(5, 7, 5, .76); backdrop-filter: blur(4px); }
      .form-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 20px 23px; border-bottom: 1px solid var(--line); background: #151218; }
      .form-header h2 { font-size: 18px; }
      .close-button { width: 32px; height: 32px; border: 0; border-radius: 9px; background: var(--panel-soft); color: var(--muted); font-size: 20px; }
      .close-button:hover { color: var(--text); }
      form { padding: 20px 23px 23px; }
      .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
      .field { display: grid; gap: 7px; }
      .field.full { grid-column: 1 / -1; }
      .field label, .exercise-heading { color: #c5c9bd; font-size: 11px; font-weight: 650; }
      .field input, .field textarea, .field select, .exercise-row input { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: #0d0c10; color: var(--text); font-size: 12px; }
      .field input, .field select { height: 40px; }
      .field textarea { min-height: 72px; resize: vertical; line-height: 1.5; }
      .field input:focus, .field textarea:focus, .field select:focus, .exercise-row input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(255, 49, 88, .13), 0 0 20px rgba(255,49,88,.08); }
      .run-interval-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
      .exercise-heading { display: flex; align-items: center; justify-content: space-between; margin: 23px 0 10px; }
      .exercise-heading span { color: var(--muted); font-weight: 400; }
      .exercise-rows { display: grid; gap: 8px; }
      .exercise-row { display: grid; grid-template-columns: minmax(0, 1fr) 68px 68px 76px 32px; gap: 7px; }
      .exercise-row input { height: 37px; padding: 8px; }
      .exercise-row input::placeholder { color: #89818b; }
      .interval-editor { margin-top: 23px; }
      .interval-editor[hidden] { display: none; }
      .interval-editor .exercise-heading { margin: 0 0 10px; }
      .interval-rows { display: grid; gap: 8px; }
      .interval-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, .8fr) minmax(100px, .8fr) 32px; gap: 7px; }
      .interval-row input { width: 100%; min-width: 0; height: 37px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: #0d0c10; color: var(--text); font: inherit; font-size: 12px; }
      .interval-row input::placeholder { color: #89818b; }
      .interval-row input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(255,49,88,.13); }
      .remove-interval { border: 0; border-radius: 8px; background: transparent; color: #89818b; font-size: 18px; }
      .remove-interval:hover { background: rgba(240,138,130,.08); color: var(--danger); }
      .remove-exercise { border: 0; border-radius: 8px; background: transparent; color: #858a7f; font-size: 18px; }
      .remove-exercise:hover { background: rgba(240, 138, 130, .08); color: var(--danger); }
      .exercise-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 7px; }
      .add-exercise { padding: 7px 0; border: 0; background: transparent; color: var(--lime); font-size: 12px; font-weight: 650; }
      .add-exercise:hover { color: #ffb5c2; }
      .set-group-hint { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
      .form-actions { position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding: 17px 0 max(17px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #121612; }
      .secondary-button { min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: #c5c9bd; font-size: 12px; }
      .form-actions .primary-button { min-height: 42px; }
      .privacy-note { margin: -16px 0 32px; padding: 12px 14px; border: 1px solid rgba(199, 243, 106, .13); border-radius: 11px; background: rgba(199, 243, 106, .045); color: #bec4b4; font-size: 11px; line-height: 1.6; }

      ::selection { background: rgba(255,49,88,.35); color: #fff; }

      @media (max-width: 600px) {
        .shell { width: min(100% - 32px, 520px); }
        .topbar { height: 66px; }
        .project-nav { gap: 2px; margin-right: 8px; padding: 3px; }
        .project-nav-link { padding: 7px 9px; font-size: 11px; }
        .top-label { font-size: 11px; }
        .account-bar { gap: 8px; }
        main { padding-top: 39px; }
        .hero { align-items: flex-start; flex-direction: column; gap: 19px; }
        .stats { gap: 8px; margin-bottom: 31px; }
        .stat { min-height: 93px; padding: 14px 12px; border-radius: 14px; }
        .stat-label { font-size: 10px; }
        .stat-value { margin-top: 11px; font-size: 24px; }
        .stat-value small { font-size: 10px; }
        .next-workout { margin-bottom: 34px; padding: 17px; }
        .next-workout-heading { flex-direction: column; }
        .next-workout-date { align-self: flex-start; }
        .suggested-exercises { grid-template-columns: 1fr; }
        .next-workout-footer { align-items: stretch; flex-direction: column; }
        .lift-tracking { margin-bottom: 34px; }
        .lift-grid { grid-template-columns: 1fr; }
        .workout-card { padding: 17px; }
        .section-heading { align-items: flex-start; flex-direction: column; }
        .search-wrap { width: 100%; }
        .filter-wrap { width: 100%; justify-content: space-between; }
        .exercise-filter { flex: 1; }
        .exercise-row { grid-template-columns: minmax(0, 1fr) 52px 52px 64px 28px; gap: 5px; }
        .exercise-row input { padding: 7px 5px; font-size: 11px; }
        .interval-row { grid-template-columns: minmax(0, 1fr) minmax(70px, .8fr) minmax(70px, .8fr) 28px; gap: 5px; }
        .interval-row input { padding: 7px 5px; font-size: 11px; }
        .form-header { padding: 17px; }
        form { padding: 17px; }
        .field input, .field select { height: 44px; font-size: 16px; }
        .field textarea, .interval-row input, .image-field input[type="file"] { font-size: 16px; }
        .interval-row input { height: 44px; }
        .form-actions { margin: 18px -17px -17px; padding: 12px 17px max(12px, env(safe-area-inset-bottom)); }
        .run-entry-choice { padding: 13px; }
        .run-entry-options { grid-template-columns: 1fr; }
      }
      @media (max-width: 380px) {
        .project-nav { margin-right: 0; }
        .project-nav-link { padding-right: 6px; padding-left: 6px; }
        .account-bar .top-label { gap: 0; }
        .account-bar #cloud-status { font-size: 0; }
        .interval-row { grid-template-areas: "distance distance remove" "duration rest remove"; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px; }
        .interval-row input:nth-of-type(1) { grid-area: distance; }
        .interval-row input:nth-of-type(2) { grid-area: duration; }
        .interval-row input:nth-of-type(3) { grid-area: rest; }
        .interval-row .remove-interval { grid-area: remove; }
      }
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      }

      :root {
        --bg: #080a08;
        --panel: #121512;
        --panel-soft: #1c211c;
        --line: #303a30;
        --text: #f4f7f2;
        --muted: #a7b0a5;
        --lime: #8cff00;
        --lime-dark: #5ea900;
      }

      body {
        background:
          radial-gradient(ellipse at 12% 5%, rgba(140, 255, 0, .11), transparent 35%),
          radial-gradient(ellipse at 88% 18%, rgba(79, 135, 46, .09), transparent 30%),
          radial-gradient(ellipse at 50% 100%, rgba(140, 255, 0, .045), transparent 38%),
          var(--bg);
      }
      body::before {
        background-image:
          radial-gradient(1.5px 1.5px at 12% 24%, rgba(255,255,255,.48) 50%, transparent 100%),
          radial-gradient(1px 1px at 74% 13%, rgba(140,255,0,.65) 50%, transparent 100%),
          radial-gradient(1.5px 1.5px at 89% 57%, rgba(255,255,255,.4) 50%, transparent 100%),
          radial-gradient(1px 1px at 31% 77%, rgba(120,190,75,.5) 50%, transparent 100%),
          radial-gradient(1px 1px at 58% 43%, rgba(255,255,255,.35) 50%, transparent 100%);
      }
      .topbar { border-bottom-color: rgba(140,255,0,.2); box-shadow: 0 1px 0 rgba(140,255,0,.06); }
      .topbar::after { background: linear-gradient(90deg, #8cff00, #4ea61e, transparent); }
      .brand { text-shadow: 0 0 20px rgba(140,255,0,.18); }
      .brand-mark { border-color: rgba(200,255,165,.35); background: linear-gradient(145deg, #8cff00, #398b20 85%); color: #081006; box-shadow: 0 0 22px rgba(140,255,0,.2), inset 0 1px 0 rgba(255,255,255,.4); }
      .project-nav { border-color: rgba(140,180,130,.17); }
      .project-nav-link.active { background: rgba(140,255,0,.09); color: #a5ff50; box-shadow: inset 0 0 0 1px rgba(140,255,0,.16); }
      .project-nav-link:focus-visible { outline-color: var(--lime); }
      .eyebrow, .back-link, .next-workout-kicker, .suggested-exercise-weight, .lift-section-link span,
      .lift-section-link:hover, .lift-section-link:hover span, .empty-action { color: var(--lime); }
      h1 { background-image: linear-gradient(100deg, #fff 4%, #d7ffbd 50%, #86e839 95%); }
      .back-link:hover, .empty-action:hover { color: #c5ff9a; }
      .primary-button { background: linear-gradient(110deg, #8cff00, #4b9d20); color: #0a1007; box-shadow: 0 7px 24px rgba(140,255,0,.14), inset 0 1px 0 rgba(255,255,255,.25); }
      .primary-button:hover { box-shadow: 0 10px 30px rgba(140,255,0,.23), inset 0 1px 0 rgba(255,255,255,.32); }
      .stat { border-color: rgba(140,255,0,.17); background: linear-gradient(145deg, rgba(25,31,24,.98), rgba(16,19,16,.98)); }
      .stat-value .accent { color: #a8ff56; text-shadow: 0 0 18px rgba(140,255,0,.25); }
      .next-workout { border-color: rgba(140,255,0,.32); background: radial-gradient(ellipse at 100% 0%, rgba(103,165,52,.1), transparent 40%), linear-gradient(145deg, rgba(27,33,25,.98), rgba(15,18,15,.99)); }
      .next-workout-date { border-color: rgba(140,255,0,.22); background: rgba(140,255,0,.07); color: #c1ff96; }
      .suggested-exercise { border-color: rgba(140,180,130,.17); background: rgba(10,13,10,.7); }
      .suggested-exercise-value { color: #d2dfcd; }
      .next-workout-footer { border-top-color: rgba(140,180,130,.16); }
      .search:focus, input:focus, textarea:focus, select:focus,
      .field input:focus, .field textarea:focus, .field select:focus, .exercise-row input:focus {
        border-color: var(--lime);
        box-shadow: 0 0 0 3px rgba(140,255,0,.12), 0 0 20px rgba(140,255,0,.07);
      }
      .lift-section, .workout-card { border-color: rgba(140,180,130,.18); background: linear-gradient(145deg, rgba(25,30,25,.98), rgba(15,18,15,.98)); }
      .lift-section:hover { border-color: rgba(140,255,0,.42); box-shadow: 0 17px 38px rgba(0,0,0,.38), 0 0 26px rgba(140,255,0,.06); }
      .lift-record { border-color: rgba(140,180,130,.13); background: linear-gradient(120deg, rgba(28,34,28,.85), rgba(20,23,20,.92)); }
      .lift-record-stats span { border-color: rgba(140,255,0,.2); background: rgba(140,255,0,.06); color: #b1f782; }
      .tag.lime { border-color: rgba(140,255,0,.23); background: rgba(140,255,0,.07); color: #adff69; }
      .exercise-chip { border-color: rgba(140,180,130,.2); background: linear-gradient(120deg, rgba(77,111,55,.18), rgba(40,72,43,.14)); color: #e6efe2; }
      .empty-state { border-color: rgba(140,255,0,.32); background: rgba(19,24,18,.72); }
      .empty-icon { background: linear-gradient(145deg,rgba(140,255,0,.15),rgba(67,119,52,.18)); color: var(--lime); }
      .toast { border-color: rgba(140,255,0,.3); background: #171d16; box-shadow: 0 0 30px rgba(140,255,0,.08), 0 12px 35px rgba(0,0,0,.3); }
      dialog { border-color: rgba(140,255,0,.34); background: #121612; box-shadow: 0 0 45px rgba(140,255,0,.08), 0 25px 90px rgba(0,0,0,.7); }
      .form-header { background: #121612; }
      .field input, .field textarea, .field select, .exercise-row input, .interval-row input { background: #0b0e0b; }
      .interval-row input:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(140,255,0,.12); }
      .add-exercise:hover { color: #c5ff9a; }
      .privacy-note { border-color: rgba(140,255,0,.13); background: rgba(140,255,0,.045); }
      ::selection { background: rgba(140,255,0,.28); color: #fff; }
      .image-field { margin-top: 14px; }
      .image-field label span, .image-help { color: var(--muted); font-size: 11px; font-weight: 400; }
      .image-field input[type="file"] { height: auto; padding: 9px; }
      .image-help { margin: -2px 0 0; }
      .image-preview { display: grid; justify-items: start; gap: 9px; }
      .image-preview img { display: block; max-width: 100%; max-height: 240px; border: 1px solid var(--line); border-radius: 10px; object-fit: contain; }
      .workout-image { display: block; width: auto; max-width: 100%; max-height: 480px; margin-top: 15px; border: 1px solid var(--line); border-radius: 12px; object-fit: contain; }
      .run-entry-choice { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10,13,10,.58); }
      .run-entry-choice legend { padding: 0 6px; color: var(--text); font-size: 13px; font-weight: 700; }
      .run-entry-choice > p { margin: 2px 0 12px; color: var(--muted); font-size: 12px; }
      .run-entry-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
      .run-entry-option { display: flex; min-height: 48px; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); cursor: pointer; font-size: 12px; }
      .run-entry-option:has(input:checked) { border-color: rgba(140,255,0,.48); background: rgba(140,255,0,.07); }
      .run-entry-option input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--lime); }
      .run-entry-panel { margin-top: 15px; }
      .run-entry-panel[hidden] { display: none; }
      .run-entry-panel.image-field { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10,13,10,.58); }
