/* RudraCap Web: the caption studio on its own. The header carries the open project, Open video and Projects;
   the empty Captions tab is the start screen (open a video, or one of your projects). Panel tokens throughout. */
body.web nav.tabs, body.web #tab-home, body.web #tab-cut, body.web #tab-arr, body.web #tab-tit { display: none !important; }
body.web #brain, body.web #tx-fix, body.web #ch-menu [data-m="check"],
body.web #pv-follow-btn, body.web .vm-row:has(#pv-follow), body.web #ei-restart, body.web #help-tour, body.web #help-diag, body.web #setup-card,
body.web #my-row ~ .muted, body.web .pc-btns .pc-edit { display: none !important; }
body.web .topbar { gap: var(--sp-3); }
.web-bar { display: flex; align-items: center; gap: var(--sp-2); margin: 0 auto 0 var(--sp-4); min-width: 0; flex: 1 1 auto; }
.web-bar .btn { display: inline-flex; align-items: center; gap: 6px; width: auto; }
.web-projname { font-weight: var(--fw-b); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 320px; margin-right: var(--sp-2); }
body.web-noproj .web-projname, body.web-noproj #web-projects { display: none; }
@media (max-width: 640px) {                 /* the header on a phone: icons only, the project's name in the page */
  .web-bar { margin-left: var(--sp-2); gap: 4px; }
  .web-bar .btn span, .web-projname { display: none; }
  .web-bar .btn { padding: 0 8px; min-width: 32px; }
  body.web .topbar #engine { max-width: 104px; }
}

/* the start screen */
body.web-noproj #cap-empty > :not(.web-start) { display: none !important; }
body:not(.web-noproj) #cap-empty > .web-start { display: none !important; }
body.web #cap-empty { max-width: 680px; margin: var(--sp-5) auto; }
.web-start { text-align: center; }
.web-start h3 { font-size: var(--fs-6); }
.web-start > p { max-width: 520px; margin: var(--sp-2) auto var(--sp-4); }
.ws-drop { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); padding: var(--sp-6) var(--sp-4); border: 1.5px dashed var(--line-3); border-radius: 16px;
  background: var(--surface-0); transition: border-color var(--dur-fast), background var(--dur-fast); }
.ws-drop.over { border-color: var(--accent); background: var(--accent-soft); }
.ws-drop .primary { max-width: 300px; display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); }
.ws-status { margin: var(--sp-3) 0 0; color: var(--text-2); }
/* what it does, and four looks playing */
.ws-points { list-style: none; padding: 0; margin: 0 auto var(--sp-4); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); max-width: 640px; text-align: left; }
.ws-points li { display: flex; gap: var(--sp-2); align-items: flex-start; padding: var(--sp-2) var(--sp-3); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface-1); min-width: 0; }
.ws-points .i { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.ws-points span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ws-points b { font-size: var(--fs-2); }
.ws-points small { color: var(--muted); font-size: var(--fs-1); }
.ws-looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-2); max-width: 640px; margin: 0 auto var(--sp-4); }
.ws-looks figure { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ws-looks canvas { width: 100%; height: auto; aspect-ratio: 360 / 200; border-radius: var(--r-ctl); display: block; background: #2a333d; }
.ws-looks figcaption { font-size: var(--fs-1); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 620px) { .ws-points { grid-template-columns: 1fr; } .ws-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ws-recent { text-align: left; margin-top: var(--sp-5); }
.ws-rhead { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.ws-rhead h4 { flex: 1; margin: 0; }
.ws-rhead .btn { display: inline-flex; align-items: center; gap: 6px; width: auto; }
/* free up space */
.fs-modal { width: min(560px, calc(100vw - 32px)); }
.fs-lede { margin: 0 0 var(--sp-3); color: var(--text-2); font-size: var(--fs-3); line-height: 1.5; }
.fs-list { display: flex; flex-direction: column; gap: 6px; max-height: min(52vh, 420px); overflow-y: auto; padding-right: 2px; }
.fs-row { display: grid; grid-template-columns: auto 44px minmax(0, 1fr); align-items: center; gap: var(--sp-3); padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-1); cursor: pointer; }
.fs-row:hover { border-color: var(--line-3); }
.fs-row:has(input:checked) { border-color: var(--bad-line); background: var(--bad-soft); }
.fs-row input { width: 16px; height: 16px; accent-color: var(--bad); }
.fs-pic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--surface-0); color: var(--muted); }
.fs-pic img { width: 100%; height: 100%; object-fit: cover; }
.fs-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.fs-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-3); }
.fs-t small { color: var(--muted); font-size: var(--fs-2); }
.fs-total { margin: var(--sp-3) 0 0; color: var(--text-2); font-size: var(--fs-3); }
.ws-clean { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: var(--z-toast);
  display: flex; align-items: center; gap: var(--sp-3); max-width: min(480px, calc(100vw - 32px)); padding: 12px 12px 12px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--surface-2); box-shadow: var(--shadow-pop); animation: rc-in var(--dur) var(--ease-enter);
  transition: opacity var(--dur-slow), transform var(--dur-slow); }
.ws-clean.gone { opacity: 0; transform: translateY(8px); }
.ws-clean > .i { width: 18px; height: 18px; color: var(--muted); flex: none; }
.ws-clean span { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; flex: 1; }
.ws-clean b { font-size: var(--fs-3); }
.ws-clean small { color: var(--muted); font-size: var(--fs-2); }
.ws-clean .btn { width: auto; white-space: nowrap; }
.ws-where { max-width: 520px; margin: calc(-1 * var(--sp-2)) auto var(--sp-4); text-align: center; }
/* your projects: a card with a picture of each video */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-3); }
.ws-recent h4 { margin: 0 0 var(--sp-2); font-size: var(--fs-3); display: flex; align-items: baseline; gap: var(--sp-2); }
.ws-recent h4 small { font-weight: var(--fw); }
.ws-proj { position: relative; display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-2); border-radius: var(--r-card);
  border: 1px solid var(--line); background: var(--surface-1); cursor: pointer; min-width: 0; transition: border-color var(--dur-fast), transform var(--dur-fast); }
.ws-proj:hover { transform: translateY(-1px); }
.wp-pic { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--r-ctl); overflow: hidden; background: var(--surface-0); }
.wp-pic.tall { aspect-ratio: 4 / 5; }
.wp-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp-dur { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .66); color: #fff; font-size: var(--fs-1); font-variant-numeric: tabular-nums; }
.ws-proj .wp-del { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, .55); color: #fff; opacity: 0; transition: opacity var(--dur-fast); }
.ws-proj:hover .wp-del, .ws-proj:focus-within .wp-del, .ws-proj .wp-del.armed { opacity: 1; }
@media (hover: none) { .ws-proj .wp-del { opacity: 1; } }
.ws-proj:hover, .ws-proj:focus-visible { border-color: var(--line-3); }
.wp-ic { color: var(--accent); display: flex; }
.wp-ic .i { width: 28px; height: 28px; }
.wp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.wp-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-t small { color: var(--muted); }
.wp-del.armed { color: var(--bad); background: var(--bad-soft); }
.ws-note { margin-top: var(--sp-5); }
@media (min-width: 1180px) and (min-height: 560px) {
  body.web > main.tabpane#tab-cap { padding: 0; }
  body.web.web-noproj #tab-cap, body.web:not(.cap-open) #tab-cap { overflow-y: auto; }
}
/* the Premiere steps strip ("Transcribe the active sequence…") is not needed: the start screen says it */
body.web #cap-flow, body.web #cap-hint { display: none !important; }

/* ================================================================ Create captions (web/src/setup.js): the video with a live
   caption on the left, the choices on the right; the same column shows the steps while it works */
body.web:not(.web-noproj) #cap-empty { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0; background: none; border: 0; box-shadow: none; text-align: left; }
body.web:not(.web-noproj) #cap-empty > :not(.wsx):not(.web-start) { display: none !important; }
.wsx { display: grid; grid-template-columns: clamp(260px, 34vw, 430px) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 64px); align-items: start;
  padding: clamp(16px, 3vw, 40px) var(--sp-4) var(--sp-6); }
.wsx-media { position: sticky; top: calc(var(--stick) + 20px); display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); min-width: 0; }
.wsx-frame { position: relative; max-width: 100%; border-radius: 18px; overflow: hidden; background: var(--video-bg);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--line-2); }
.wsx-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wsx-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wsx-badge { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(10, 10, 12, .58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white); font-size: var(--fs-1); font-weight: var(--fw-b); letter-spacing: .02em; }
.wsx-meta { display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 100%; text-align: center; }
.wsx-meta b { font-size: var(--fs-3); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsx-meta span { color: var(--muted); font-size: var(--fs-2); font-variant-numeric: tabular-nums; }

.wsx-panel { min-width: 0; max-width: 580px; }
.wsx p { max-width: none; margin-left: 0; margin-right: 0; }           /* (not the centred start-screen paragraphs) */
.wsx-eyebrow { margin: 0 0 6px; color: var(--accent-text); font-size: var(--fs-1); font-weight: var(--fw-b); letter-spacing: .12em; text-transform: uppercase; }
.wsx-title { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 650; letter-spacing: -.012em; text-wrap: balance; }
.wsx .wsx-lede { margin: 10px 0 var(--sp-5); color: var(--text-2); font-size: 14px; line-height: 1.55; max-width: 48ch; }
.wsx-field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.wsx-field legend { padding: 0; margin-bottom: 10px; color: var(--muted); font-size: var(--fs-1); font-weight: var(--fw-b); letter-spacing: .1em; text-transform: uppercase; }
.wsx-field legend small { margin-left: 6px; color: var(--dim); font-weight: var(--fw); letter-spacing: 0; text-transform: none; }
.wsx [role=radio] { cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast), color var(--dur-fast); }
.wsx [role=radio]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* the language: five chips, each with its own script */
.wsx-langs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-2); }
.wsx-langs button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-width: 0; min-height: 56px; padding: 9px 12px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-1); color: var(--text); text-align: left; }
.wsx-langs b { font-size: var(--fs-3); font-weight: var(--fw-b); }
.wsx-langs small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: var(--fs-1); }
.wsx-langs button:hover, .wsx-mode:hover, .wsx-looks button:hover { border-color: var(--line-3); background: var(--surface-2); }
.wsx-langs [aria-checked=true], .wsx-mode[aria-checked=true], .wsx-looks [aria-checked=true] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.wsx-langs [aria-checked=true] small { color: var(--accent-text); }

/* how they are made: two cards, each with what it costs for this video */
.wsx-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.wsx-mode { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 12px; align-content: start; min-width: 0; padding: 14px 16px;
  border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface-1), var(--surface-0)); color: var(--text); text-align: left; }
.wsx-mode[aria-checked=true] { box-shadow: inset 0 0 0 1px var(--accent), 0 14px 34px -18px rgba(255, 120, 26, .55); }
.wsx-mi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.wsx-mi .i { width: 18px; height: 18px; }
.wsx-mode[aria-checked=true] .wsx-mi { background: var(--accent-grad); color: var(--on-accent); }
.wsx-mt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wsx-mt b { display: flex; align-items: center; gap: 8px; font-size: var(--fs-4); font-weight: var(--fw-b); }
.wsx-mt small { color: var(--text-2); font-size: var(--fs-2); line-height: 1.45; }
.wsx-free { font-style: normal; padding: 1px 7px; border-radius: var(--r-pill); border: 1px solid var(--ok-line); background: var(--ok-soft); color: var(--ok-text);
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wsx-me { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding-top: 11px; border-top: 1px solid var(--line); }
.wsx-me b { font-size: var(--fs-5); font-weight: 650; font-variant-numeric: tabular-nums; }
.wsx-me small { color: var(--muted); font-size: var(--fs-2); }
.wsx-me small.warn { color: var(--warn-text); }
.wsx-me small.ok { color: var(--ok-text); }
.wsx-size { display: inline-flex; gap: 3px; margin-top: 10px; padding: 3px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-0); }
.wsx-size[hidden] { display: none; }
.wsx-size button { padding: 7px 12px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--text-2); font-size: var(--fs-2); }
.wsx-size button small { margin-left: 4px; color: var(--muted); }
.wsx .wsx-size [aria-checked=true] { border-color: var(--line-2); background: var(--surface-2); color: var(--text); box-shadow: none; }

/* the look: six tiles drawn with the renderer, they play on hover */
.wsx-looks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-2); }
.wsx-looks button { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 4px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-1);
  color: var(--text-2); font-size: var(--fs-1); }
.wsx-looks canvas { display: block; width: 100%; height: auto; aspect-ratio: 240 / 132; border-radius: 8px; background: var(--thumb-bg); }
.wsx-looks span { padding: 0 3px 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsx-looks [aria-checked=true] span { color: var(--text); }

/* one button */
.wsx-cta { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: 4px; }
.wsx-cta #cap-generate { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: none; height: 56px; margin: 0;
  border-radius: 14px; font-size: var(--fs-4); font-weight: 650; box-shadow: var(--shadow-accent); }
.wsx-cta #cap-generate:hover { filter: brightness(1.06); }
.wsx-geta { padding: 3px 10px; border-radius: var(--r-pill); background: rgba(31, 18, 3, .18); font-size: var(--fs-2); font-weight: var(--fw-b); font-variant-numeric: tabular-nums; }
.wsx-cta #cap-resume { width: 100%; max-width: none; margin: 0; min-height: 48px; border-radius: 12px; }
.wsx-cta #cap-resume.hidden { display: none; }
.wsx-cta .gen-error:empty { display: none; }
.wsx-fine { display: flex; align-items: flex-start; gap: 8px; margin: var(--sp-3) 0 0; color: var(--muted); font-size: var(--fs-2); line-height: 1.5; }
.wsx-fine .i { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--dim); }

/* while it works */
.wsx-run[hidden], .wsx-setup[hidden] { display: none; }
.wsx-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.wsx-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 38px; color: var(--muted); font-size: 14px; }
.wsx-steps li.done { color: var(--text-2); }
.wsx-steps li.now { color: var(--text); font-weight: var(--fw-b); }
.wsx-dot { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-3); }
.wsx-dot .i { width: 12px; height: 12px; }
.wsx-steps li.done .wsx-dot { border-color: var(--ok); background: var(--ok); color: #06210f; }
.wsx-steps li.now .wsx-dot { border-color: var(--accent); border-top-color: transparent; animation: wsx-spin .8s linear infinite; }
.wsx-steps small { color: var(--muted); font-size: var(--fs-2); font-weight: var(--fw); font-variant-numeric: tabular-nums; }
@keyframes wsx-spin { to { transform: rotate(360deg); } }
.wsx-bar { height: 8px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.wsx-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent-grad); transform: scaleX(.02); transform-origin: left; transition: transform 300ms var(--ease-enter); }
.wsx-pct { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 0; }
.wsx-pct b { font-size: var(--fs-5); font-weight: 650; font-variant-numeric: tabular-nums; }
.wsx-pct span { color: var(--muted); font-size: var(--fs-2); }
.wsx-live { margin: 22px 0 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface-1);
  color: var(--text); font-size: 15px; line-height: 1.5; }
.wsx-live[hidden], .wsx-switch[hidden] { display: none; }
.wsx-switch { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--sp-4); padding: 10px 14px; border-radius: 12px; border: 1px solid var(--accent-line);
  background: var(--accent-soft); color: var(--accent-text); font-weight: var(--fw-b); cursor: pointer; }
.wsx-switch .i { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .wsx-steps li.now .wsx-dot { animation: none; border-top-color: var(--accent); } .wsx-bar i { transition: none; } }
body.reduce-motion .wsx-steps li.now .wsx-dot { animation: none; border-top-color: var(--accent); }

@media (max-width: 920px) {
  .wsx { grid-template-columns: minmax(0, 1fr); }
  .wsx-media { position: static; }
  .wsx-panel { max-width: none; }
  .wsx-langs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wsx-looks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .wsx-title { font-size: 24px; }
  .wsx-modes { grid-template-columns: minmax(0, 1fr); }
  .wsx-langs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* the plan (only when payments are on): the chip in the header, the line on the start screen, the dialog */
.plan-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; margin-left: auto; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface-1); color: var(--text-2); font-size: var(--fs-2); white-space: nowrap; cursor: pointer; }
.plan-chip b { color: var(--text); font-weight: var(--fw-b); }
.plan-chip:hover { border-color: var(--line-3); }
.plan-chip.pro { border-color: var(--accent-line); background: var(--accent-soft); }
.plan-chip.pro b { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-chip.ended { border-color: var(--warn-line); background: var(--warn-soft); color: var(--warn-text); }
.plan-chip.ended b { color: var(--warn-text); }
@media (max-width: 640px) { .plan-chip span { display: none; } }
.ws-plan { margin: var(--sp-3) 0 0; color: var(--text-2); font-size: var(--fs-3); }
.ws-plan b { color: var(--text); }
.plan-modal { width: min(520px, calc(100vw - 32px)); }
.plan { display: flex; flex-direction: column; gap: var(--sp-3); }
.plan p { margin: 0; }
.plan-why { display: flex; gap: var(--sp-2); align-items: flex-start; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-card);
  border: 1px solid var(--warn-line); background: var(--warn-soft); color: var(--warn-text); line-height: 1.45; }
.plan-why .i { flex: none; margin-top: 2px; }
.plan-test { font-size: var(--fs-2); color: var(--info-text); }
.plan-now { color: var(--text-2); line-height: 1.5; }
.plan-id { white-space: nowrap; }
.plan-id code { font-family: var(--font-mono); font-size: var(--fs-2); color: var(--text); user-select: all; }
.plan-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-4); align-items: center; padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--accent-line); border-radius: var(--r-card); background: var(--accent-soft); }
.plan-price { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.plan-price b { font-size: 30px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price span { font-size: var(--fs-2); color: var(--text-2); }
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-3); }
.plan-list li { display: flex; gap: 6px; align-items: center; }
.plan-list .i { width: 14px; height: 14px; color: var(--ok); flex: none; }
.plan-acts { display: flex; flex-direction: column; gap: 6px; }
.plan-acts button { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 40px; }
.plan-acts small { color: var(--muted); font-size: var(--fs-2); line-height: 1.45; margin-bottom: 6px; }
.plan-ask { color: var(--text); line-height: 1.5; }
.danger-text { color: var(--bad-text) !important; }
.plan-msg { min-height: 1em; font-size: var(--fs-2); color: var(--text-2); }
.plan-msg:empty { display: none; }
.plan-msg.bad { color: var(--bad-text); }
.plan-restore summary { cursor: pointer; color: var(--text-2); font-size: var(--fs-3); }
.plan-restore label { display: flex; flex-direction: column; gap: 4px; margin-top: var(--sp-2); font-size: var(--fs-2); color: var(--muted); }
.plan-restore button { margin-top: var(--sp-2); width: auto; }
.plan-legal, .plan-demo { font-size: var(--fs-2); color: var(--muted); }
.plan-legal a { color: var(--text-2); }
/* RudraCut's old address: the app still works there; RudraCap has moved */
.moved { display: flex; align-items: flex-start; gap: var(--sp-2); margin: 0 0 var(--sp-4); padding: var(--sp-2) var(--sp-3); text-align: left;
  border: 1px solid var(--accent-line); border-radius: var(--r-card); background: var(--accent-soft); color: var(--text); font-size: var(--fs-3); }
.moved .i { flex: none; margin-top: 3px; color: var(--accent); }
.moved a { color: var(--accent-text); font-weight: var(--fw-b); }
