/* THE LADDER (Signal's prompt, 13 Sep 2026): Signal's to-dos on Home, the banner, the countdown and the lock.
   Yellow = Bullet is talking (the banner is Bullet's); red = the countdown; the lock screen is plain white.
   Injected by src/js/ladder.js. Tokens only. */
.ladder-hk { font-size: var(--text-sm, 13px); color: var(--color-text-muted); padding: 12px 0 4px; list-style: none; }
.ladder-row__mark { color: var(--color-text-muted); }

/* the banner: full size on Home (inside the yellow card), a slim bar everywhere else */
.ladder-banner { box-sizing: border-box; background: #FFE000; color: var(--color-text); border-radius: var(--radius-lg, 16px); }
.ladder-banner.is-red { background: #e11d48; color: #fff; }
.ladder-banner--full { padding: 20px 22px; margin: 0 0 16px; display: flex; flex-direction: column; gap: 12px; }
.ladder-banner__lead { font-size: var(--text-lg, 18px); line-height: 1.35; font-weight: var(--weight-medium, 500); }
.ladder-banner--full .ladder-banner__lead { font-size: 22px; }
.ladder-banner__todos { display: flex; flex-direction: column; gap: 6px; }
.ladder-todo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: var(--text-base); padding: 6px 0; }
.ladder-todo svg { width: 18px; height: 18px; flex: none; margin-left: auto; }
.ladder-todo:hover { text-decoration: underline; }
.ladder-banner__go { align-self: flex-start; display: inline-flex; align-items: center; background: var(--color-text); color: #fff; text-decoration: none; border-radius: var(--radius-full, 999px); padding: 9px 16px; font-size: var(--text-base); }
.is-red .ladder-banner__go { background: #fff; color: #e11d48; }
.ladder-banner--slim { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 10px 16px; margin: 12px 0 0; border-radius: var(--radius-md, 12px); }
.ladder-banner--slim .ladder-banner__lead { font-size: var(--text-base); }
.ladder-banner__links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ladder-banner__links a { color: inherit; font-size: var(--text-sm, 13px); }
.ladder-banner--slim .ladder-banner__go { margin-left: auto; padding: 6px 12px; font-size: var(--text-sm, 13px); }
html.ladder-banner-on .ladder-banner ~ .canvas-chart, html.ladder-banner-on .ladder-banner ~ .ask-explore { display: none; }   /* the chart makes room for the banner */

/* the lock: ONE screen where the page was; the sidebar, corners and the chat stay */
html.ladder-locked .app__main > *:not(#ladder-lock) { display: none !important; }
html.ladder-locked .app__main::before { content: none !important; }
.ladder-lock { max-width: 560px; margin: 80px auto 0; padding: 0 24px; display: flex; flex-direction: column; gap: 22px; }
.ladder-lock__title { font-size: 28px; line-height: 1.2; font-weight: var(--weight-medium, 500); margin: 0; }
.ladder-lock__todos { display: flex; flex-direction: column; gap: 10px; }
.ladder-todo--big { font-size: 20px; padding: 16px 18px; border: var(--border-width, 1px) solid var(--color-border); border-radius: var(--radius-lg, 16px); background: var(--color-surface); }
.ladder-todo--big:hover { text-decoration: none; border-color: var(--color-text); }
.ladder-lock__shut { margin: 0; color: var(--color-text-muted); font-size: var(--text-base); }
.ladder-lock__chat { align-self: flex-start; background: var(--color-text); color: #fff; border: none; border-radius: var(--radius-full, 999px); padding: 10px 18px; font: inherit; font-size: var(--text-base); cursor: pointer; }
@media (max-width: 640px) { .ladder-lock { margin-top: 90px; } .ladder-lock__title { font-size: 24px; } }
