/* Existing visual system; kept outside Vite transforms to minimize UI changes. */
:root {
  color-scheme: dark;
  --bg: #090b0a;
  --surface: #111412;
  --surface-2: #171b18;
  --line: #2a302b;
  --text: #f5f7f3;
  --muted: #9aa39b;
  --accent: #c7ff3d;
  --accent-deep: #91c600;
  --danger: #ff6b5e;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { background: var(--bg); overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% -5%, rgba(199, 255, 61, .12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}
button, textarea, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.app-shell { width: min(100%, 720px); min-height: 100vh; margin: 0 auto; padding: 0 22px 104px; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent); color: #0b0d0b; font-size: 12px; letter-spacing: -.04em; transform: rotate(-4deg); }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: rgba(17,20,18,.8); color: var(--muted); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.intro-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 31px 0 34px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: .77rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; max-width: 520px; font-size: clamp(2.2rem, 8vw, 4.6rem); line-height: 1.04; letter-spacing: -.065em; }
h1 span { color: #aab1aa; }
.date-chip { flex: 0 0 auto; width: 62px; height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.date-chip strong { font-size: 1.55rem; line-height: 1; }
.date-chip span { margin-top: 6px; color: var(--muted); font-size: .75rem; }

.import-workspace { border: 1px solid var(--line); border-radius: 24px; padding: 22px; background: rgba(17,20,18,.9); box-shadow: 0 26px 70px rgba(0,0,0,.28); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.section-heading > div { display: flex; align-items: center; gap: 12px; }
.section-heading h2 { margin: 0; font-size: 1.22rem; letter-spacing: -.025em; }
.step-number { color: var(--accent); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.step-number.muted { color: var(--muted); }
.privacy-label { color: var(--muted); font-size: .76rem; }

.import-choice-list { display: grid; gap: 11px; }
.import-choice { width: 100%; min-height: 82px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #0c0f0d; color: var(--text); text-align: left; }
.import-choice.featured { border-color: rgba(199,255,61,.42); background: linear-gradient(135deg, rgba(199,255,61,.09), #0c0f0d 68%); }
.choice-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--surface-2); color: var(--accent); font-size: 1.25rem; }
.import-choice strong, .import-choice small { display: block; }
.import-choice strong { font-size: .96rem; }
.import-choice small { margin-top: 5px; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.import-choice b { color: var(--accent); font-size: 1.4rem; }
.advanced-import { margin-top: 14px; border-top: 1px solid var(--line); }
.advanced-import summary { display: flex; justify-content: space-between; padding: 16px 2px 4px; color: var(--muted); cursor: pointer; list-style: none; font-size: .82rem; font-weight: 700; }
.advanced-import summary::-webkit-details-marker { display: none; }
.advanced-import[open] summary span { transform: rotate(90deg); }
.advanced-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding-top: 12px; }
.advanced-actions button { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--text); font-weight: 700; }
.inline-back { margin: 5px 0 3px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: .84rem; }
.text-import-head { margin-top: 10px; }
.format-guide { display: grid; gap: 7px; margin-top: 13px; padding: 14px; border-radius: 13px; background: var(--surface-2); }
.format-guide strong { font-size: .8rem; }
.format-guide code { color: var(--accent); font-size: .86rem; }
.format-guide span { color: var(--muted); font-size: .74rem; line-height: 1.5; }
.import-error { margin-top: 13px; padding: 14px; border: 1px solid rgba(255,107,94,.32); border-radius: 13px; background: rgba(255,107,94,.07); color: #ff9d94; font-size: .8rem; line-height: 1.55; }
.import-error[hidden] { display: none; }
.import-error strong, .import-error span { display: block; }
.import-error ul { margin: 7px 0; padding-left: 20px; }

.input-tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 14px; background: #090b0a; }
.tab { min-height: 42px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-size: .88rem; font-weight: 700; }
.tab.active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.paste-box { display: block; margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; background: #0c0f0d; transition: border-color .2s, box-shadow .2s; }
.paste-box:focus-within { border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(199,255,61,.08); }
textarea { width: 100%; resize: vertical; min-height: 190px; padding: 18px 18px 8px; border: 0; outline: 0; background: transparent; color: var(--text); line-height: 1.75; font-size: .96rem; }
.paste-hint { display: block; padding: 0 18px 16px; color: #727a73; font-size: .75rem; }
.primary-button { width: 100%; min-height: 56px; margin-top: 16px; border: 0; border-radius: 15px; background: var(--accent); color: #0a0d09; display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 900; box-shadow: 0 12px 30px rgba(145,198,0,.15); }
.primary-button:hover { background: #d3ff68; }
.primary-button:active { transform: translateY(1px); }
.primary-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.recent { padding-top: 34px; }
.recent.home-plans { padding-top: 4px; }
.section-heading.compact { margin-bottom: 15px; }
.text-button { border: 0; background: transparent; color: var(--muted); font-size: .82rem; }
.accent-link { color: var(--accent); font-weight: 800; }
.empty-plan { min-height: 92px; border: 1px dashed #343a35; border-radius: 18px; display: flex; align-items: center; gap: 14px; padding: 18px; color: var(--muted); }
.empty-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); font-size: 1.4rem; }
.empty-plan strong, .empty-plan span { display: block; }
.empty-plan strong { color: #cdd2cd; font-size: .9rem; }
.empty-plan span { margin-top: 5px; font-size: .78rem; }
.empty-plan.has-plans { display: grid; gap: 11px; padding: 0; border: 0; }
.plan-card { width: 100%; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); color: var(--text); padding: 17px; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.plan-card strong, .plan-card span { display: block; }
.plan-card strong { font-size: 1rem; }
.plan-card span { margin-top: 6px; color: var(--muted); font-size: .78rem; }
.plan-card .plan-label { margin: 0 0 7px; color: var(--accent); font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.plan-card .go { color: var(--accent); font-size: 1.15rem; }
.plan-card.primary-plan { min-height: 116px; border-color: rgba(199,255,61,.35); background: linear-gradient(135deg, rgba(199,255,61,.11), var(--surface) 58%); }
.plan-card.primary-plan strong { font-size: 1.08rem; }
.plan-card.primary-plan .go { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--accent); color: #0a0d09; }
.workout-day-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.swipe-item { position: relative; overflow: hidden; border-radius: 19px; background: var(--surface-2); }
.swipe-actions { position: absolute; inset: 0 0 0 auto; width: 136px; display: grid; grid-template-columns: repeat(2, 68px); }
.swipe-actions button { width: 68px; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #0a0d09; font-size: .72rem; font-weight: 900; }
.swipe-actions button span { font-size: 1.15rem; line-height: 1; }
.swipe-pin { background: var(--accent); }
.swipe-delete { background: var(--danger); }
.swipe-content { position: relative; z-index: 1; width: 100%; touch-action: pan-y; user-select: none; transition: transform 180ms ease; }
.swipe-item.swipe-open .swipe-content { transform: translateX(-136px); }
.swipe-item.swipe-dragging .swipe-content { transition: none; }
.workout-day-card.primary-plan { border-color: rgba(199,255,61,.38); background: linear-gradient(145deg, rgba(199,255,61,.09), var(--surface) 46%); }
.session-card-main { width: 100%; padding: 18px 18px 13px; border: 0; background: transparent; color: var(--text); text-align: left; }
.session-card-main .plan-label { display: block; margin-bottom: 8px; color: var(--accent); font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.session-card-main h3 { margin: 0; font-size: 1.14rem; letter-spacing: -.02em; }
.session-note { margin: 7px 0 0; color: #bdc5bd; font-size: .82rem; line-height: 1.45; }
.session-preview { display: grid; gap: 8px; margin: 15px 0 0; padding: 13px 0 0; border-top: 1px solid var(--line); list-style: none; }
.session-preview li { display: flex; justify-content: space-between; gap: 14px; color: #dfe4df; font-size: .8rem; }
.session-preview li span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session-preview b { color: var(--muted); font-weight: 600; white-space: nowrap; }
.more-exercises { display: block; margin-top: 10px; color: var(--muted); font-size: .75rem; }
.session-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 13px 13px 18px; }
.session-card-footer > span { color: var(--muted); font-size: .74rem; }
.session-start { min-height: 42px; padding: 0 17px; border: 0; border-radius: 12px; background: var(--accent); color: #0a0d09; font-weight: 900; }
.empty-plan-action { margin-left: auto; min-height: 40px; padding: 0 13px; border: 0; border-radius: 11px; background: var(--accent); color: #0a0d09; font-weight: 900; }

.bottom-nav { position: fixed; left: 50%; bottom: 0; z-index: 10; width: min(100%, 720px); transform: translateX(-50%); display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; min-height: 76px; padding: 9px max(14px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(9,11,10,.92); backdrop-filter: blur(18px); }
.bottom-nav a { color: #737b74; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .68rem; }
.bottom-nav a.active { color: var(--accent); }
.nav-icon { font-size: 1.22rem; line-height: 1; }

.screen { position: fixed; inset: 0; z-index: 30; display: none; overflow: auto; background: var(--bg); }
.screen.open { display: block; animation: screen-in .24s ease-out; }
@keyframes screen-in { from { opacity: 0; transform: translateY(10px); } }
.student-gate-screen { z-index: 80; background: radial-gradient(circle at 70% 0%, rgba(199,255,61,.14), transparent 27rem), var(--bg); }
.student-gate { width: min(100%, 720px); min-height: 100%; margin: 0 auto; padding: 30px 20px max(30px, env(safe-area-inset-bottom)); display: grid; place-items: center; }
.student-gate-card { width: min(100%, 480px); padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: rgba(17,20,18,.94); box-shadow: 0 30px 90px rgba(0,0,0,.34); }
.student-gate-mark { width: 52px; height: 52px; margin-bottom: 28px; display: grid; place-items: center; border-radius: 15px; background: var(--accent); color: #0b0d0b; font-size: .85rem; font-weight: 900; transform: rotate(-4deg); }
.student-gate-card h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
.student-gate-copy { margin: 18px 0 24px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.student-id-input { font-size: 1.05rem; letter-spacing: .04em; }
.student-gate-privacy { margin: 18px 2px 0; color: #7e877f; font-size: .74rem; line-height: 1.6; }
.student-gate-card .primary-button:disabled { opacity: .62; cursor: wait; }
.screen-shell { width: min(100%, 720px); min-height: 100%; margin: 0 auto; padding: 18px 20px 110px; }
.screen-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0 20px; background: linear-gradient(var(--bg) 76%, transparent); }
.back-button, .ghost-button { min-height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); padding: 0 14px; }
.back-button { width: 42px; padding: 0; font-size: 1.25rem; }
.screen-title { flex: 1; margin: 0; font-size: 1.12rem; }
.screen-copy { margin: -3px 0 22px; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.main-view { animation: main-view-in .2s ease-out; }
.main-view-head { margin: 14px 0 24px; }
.main-view-head .eyebrow { margin-bottom: 8px; }
.main-view-head h1 { margin: 0; font-size: clamp(2rem, 8vw, 3.25rem); line-height: 1; letter-spacing: -.055em; }
.main-view-head p:last-child { max-width: 34rem; margin: 12px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
@keyframes main-view-in { from { opacity: 0; transform: translateY(6px); } }
.field-label { display: block; margin: 18px 0 8px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.text-field, .number-field { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: var(--surface); color: var(--text); padding: 0 14px; }
.text-field:focus, .number-field:focus { border-color: var(--accent-deep); }
.review-day { margin: 18px 0 26px; }
.review-day-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.review-day-title h3 { margin: 0; font-size: 1rem; }
.review-day-title span { color: var(--muted); font-size: .75rem; }
.exercise-editor { margin-bottom: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.exercise-editor .exercise-name { font-weight: 800; margin-bottom: 13px; }
.editor-grid { display: grid; grid-template-columns: .7fr 1fr 1fr 1fr; gap: 8px; }
.mini-field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .68rem; }
.mini-field input { width: 100%; min-width: 0; height: 39px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; background: #0b0e0c; color: var(--text); text-align: center; }
.add-exercise { width: 100%; min-height: 50px; border: 1px dashed rgba(199,255,61,.42); border-radius: 14px; background: rgba(199,255,61,.045); color: var(--accent); font-weight: 800; }
.add-exercise span { margin-right: 5px; font-size: 1.1rem; }
.warning-box { margin-bottom: 18px; padding: 13px 14px; border-radius: 13px; background: rgba(255,181,71,.09); color: #ffc875; font-size: .8rem; line-height: 1.55; }
.sticky-action { position: fixed; bottom: 0; left: 50%; z-index: 4; width: min(100%,720px); transform: translateX(-50%); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 20%); }
.review-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px; }
.review-actions .primary-button { margin-top: 0; }
.secondary-button { min-height: 56px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--text); font-weight: 800; }
.plan-hero { padding: 22px; border-radius: 22px; background: var(--accent); color: #0a0d09; }
.plan-hero .eyebrow { color: #354700; }
.plan-hero h2 { margin: 6px 0 8px; font-size: 2rem; letter-spacing: -.05em; }
.plan-hero p { margin: 0; color: #354700; font-size: .86rem; }
.plan-tools { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 12px; }
.plan-tools .ghost-button { width: 100%; }
.plan-tools .delete-plan { border-color: rgba(255,107,94,.36); color: #ff9187; }
.day-card { margin-top: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.day-card-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.day-card h3 { margin: 0; font-size: 1rem; }
.day-card p { margin: 6px 0 0; color: var(--muted); font-size: .78rem; }
.day-card .day-note-display { margin: 14px 0 0; padding: 11px 12px; border-radius: 11px; background: rgba(199,255,61,.06); color: #cdd5cd; line-height: 1.5; }
.start-day { min-height: 42px; border: 0; border-radius: 12px; background: var(--accent); color: #0b0d0a; padding: 0 14px; font-weight: 900; }
.exercise-lines { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.exercise-lines li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid rgba(42,48,43,.7); font-size: .84rem; }
.exercise-lines span:last-child { color: var(--muted); white-space: nowrap; }
.workout-screen { background: radial-gradient(circle at 50% -10%, rgba(199,255,61,.13), transparent 30rem), var(--bg); }
.workout-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.progress-track { height: 5px; margin: 14px 0 30px; border-radius: 9px; background: #242a25; overflow: hidden; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s; }
.workout-count { color: var(--accent); font-weight: 900; letter-spacing: .12em; font-size: .75rem; }
.workout-name { margin: 9px 0 6px; font-size: clamp(2rem, 9vw, 3.5rem); line-height: 1; letter-spacing: -.055em; }
.workout-target { color: var(--muted); }
.last-result { margin: 22px 0; padding: 13px 15px; border-left: 3px solid var(--accent); background: rgba(199,255,61,.06); color: #cfd5cf; font-size: .82rem; }
.set-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 15px; }
.big-input { padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.big-input label { display: block; color: var(--muted); font-size: .75rem; }
.big-input div { display: flex; align-items: baseline; gap: 6px; }
.big-input input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 2rem; font-weight: 900; }
.big-input span { color: var(--muted); font-size: .8rem; }
.rest-pill { display: none; position: sticky; top: 8px; z-index: 5; width: max-content; margin: 0 auto 16px; padding: 10px 16px; border-radius: 99px; background: var(--accent); color: #0a0d09; font-weight: 900; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.rest-pill.visible { display: block; }
.sets-strip { display: flex; gap: 7px; margin: 20px 0 28px; }
.set-dot { flex: 1; height: 8px; border-radius: 8px; background: #242a25; }
.set-dot.done { background: var(--accent); }
.finish-panel { min-height: 70vh; display: grid; align-content: center; text-align: center; }
.finish-mark { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 28px; display: grid; place-items: center; background: var(--accent); color: #0a0d09; font-size: 2.5rem; transform: rotate(-4deg); }
.finish-panel h2 { margin: 0; font-size: 2.2rem; letter-spacing: -.05em; }
.finish-panel p { color: var(--muted); }
.history-card, .settings-card { margin-bottom: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.history-card-head { display: flex; justify-content: space-between; gap: 14px; }
.history-card h3, .settings-card h3 { margin: 0; font-size: 1rem; }
.history-card time, .history-card p { color: var(--muted); font-size: .78rem; }
.history-card p { margin: 10px 0 0; }
.history-card-button { width: 100%; color: var(--text); text-align: left; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.history-card-button:hover { border-color: #485048; background: #171b18; transform: translateY(-1px); }
.history-card-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.history-card-head > div { min-width: 0; }
.history-card time { display: block; margin-top: 5px; }
.history-card-arrow { align-self: center; color: var(--accent); font-size: 1.45rem; line-height: 1; }
.record-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 14px 0 22px; }
.record-stat { padding: 14px 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); text-align: center; }
.record-stat strong { display: block; color: var(--accent); font-size: 1.25rem; }
.record-stat span { color: var(--muted); font-size: .72rem; }
.record-exercise { margin-bottom: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.record-exercise-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; cursor: pointer; list-style: none; user-select: none; }
.record-exercise-head::-webkit-details-marker { display: none; }
.record-exercise[open] .record-exercise-head { border-bottom: 1px solid var(--line); }
.record-exercise-head h3 { margin: 0; font-size: .98rem; }
.record-exercise-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .76rem; }
.record-exercise-chevron { color: var(--accent); font-size: 1.25rem; line-height: 1; transition: transform .18s ease; }
.record-exercise[open] .record-exercise-chevron { transform: rotate(90deg); }
.record-exercise-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 15px; }
.record-set { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.045); }
.record-set:last-child { border-bottom: 0; }
.record-set span { color: var(--muted); font-size: .78rem; }
.record-set strong { font-size: .9rem; }
.settings-card p { color: var(--muted); font-size: .82rem; line-height: 1.55; }
.danger-button { width: 100%; min-height: 48px; border: 1px solid rgba(255,107,94,.4); border-radius: 13px; background: rgba(255,107,94,.07); color: #ff8c82; font-weight: 800; }
.toast { position: fixed; left: 50%; bottom: 94px; z-index: 60; max-width: calc(100% - 32px); transform: translate(-50%, 16px); padding: 12px 17px; border-radius: 12px; background: #f4f7f2; color: #121512; font-size: .82rem; font-weight: 800; opacity: 0; pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (min-width: 760px) {
  .app-shell { padding-left: 34px; padding-right: 34px; }
  .import-workspace { padding: 28px; }
}
@media (max-width: 420px) {
  .app-shell { padding-left: 16px; padding-right: 16px; }
  .intro-row { padding-top: 22px; }
  .date-chip { display: none; }
  .import-workspace { padding: 17px; border-radius: 20px; }
  .privacy-label { display: none; }
  .screen-shell { padding-left: 16px; padding-right: 16px; }
  .editor-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-tools { grid-template-columns: 1fr 1fr; }
  .plan-tools .delete-plan { grid-column: 1 / -1; }
}
