/* Story Squeeze Generator ("Make new" in the Squeezes tab), 2026-11-19. Written against the same shared tokens as scheduler-review.css (--ink --muted --panel --line, --srv-*),
   hairlines not cards, the picture first, plain words as choices. The pages themselves are drawn at 1080 x 1920 and scaled, in the three looks Joe picked. */
.sg { display: grid; gap: 0; max-width: 980px; padding-bottom: 40px; }
.sg-lede { color: var(--muted); margin: 0 0 14px; max-width: 64ch; }
.sg-lede b { color: var(--ink); }
.sg-k { display: block; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--srv-dim, var(--muted)); font-weight: 600; margin: 0 0 6px; }
.sg-step { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 14px; padding: 18px 0; border-top: 1px solid var(--srv-hair, var(--line)); }
.sg-step.locked { opacity: 0.55; }
.sg-n { font-size: 13px; color: var(--srv-dim, var(--muted)); font-variant-numeric: tabular-nums; padding-top: 4px; }
.sg-step h3 { margin: 0 0 10px; font-family: var(--srv-font, inherit); font-size: 20px; letter-spacing: -0.02em; }
.sg-ta, .sg-in { width: 100%; box-sizing: border-box; background: var(--panel2, var(--panel)); color: var(--ink); border: 1px solid var(--srv-hair, var(--line)); border-radius: 6px; padding: 10px 12px; font: inherit; font-size: 14.5px; }
.sg-ta { resize: vertical; min-height: 76px; }
.sg-in { max-width: 460px; }
.sg-ta:focus, .sg-in:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.sg-words { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 10px 0 0; }
.sg-words .sg-k { margin: 0; min-width: 62px; }
.sg-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.sg-working, .sg-error, .sg-done { margin: 12px 0 0; font-size: 13.5px; max-width: 66ch; }
.sg-working { color: var(--muted); }
.sg-error { color: var(--srv-need, var(--red)); }
.sg-detail { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); }
.sg-done b { color: var(--ink); }
.sg-hint.bad { color: var(--srv-need, var(--red)); }
.sg-opt { padding: 14px 0; border-top: 1px solid var(--srv-hair, var(--line)); }
.sg-opt:first-child { border-top: 0; padding-top: 0; }
.sg-opt-h { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 10px; }
.sg-opt-h b { font-size: 15px; }
.sg-opt-h span { font-size: 12.5px; color: var(--muted); }
.sg-lines { margin: 10px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 3px; max-width: 64ch; }
.sg-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.sg-fig { margin: 0; }
.sg-fig figcaption { font-size: 11px; color: var(--muted); margin-top: 5px; }
.sg-tile { display: grid; gap: 5px; align-content: start; }
.sg-zoom { position: relative; display: block; padding: 0; border: 1px solid var(--srv-hair, var(--line)); border-radius: 4px; background: #000; cursor: pointer; overflow: hidden; line-height: 0; }
.sg-zoom:hover { border-color: var(--ink); }
.sg-tag-voice { position: absolute; left: 5px; bottom: 5px; font: 600 10.5px/1 var(--srv-body, inherit); letter-spacing: 0.04em; text-transform: uppercase; background: #fff; color: #111; padding: 3px 5px; border-radius: 2px; line-height: 1; }
.sg-cap-row { font-size: 11.5px; color: var(--muted); }
.sg-swap { gap: 0 8px; margin: 0; }
.sg-swap .srv-w { font-size: 12px; }
.sg-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--srv-hair, var(--line)); border-radius: 6px; overflow: hidden; }
.sg-how > div { padding: 11px 13px; display: grid; gap: 2px; font-size: 12.5px; color: var(--muted); border-right: 1px solid var(--srv-hair, var(--line)); }
.sg-how > div:last-child { border-right: 0; }
.sg-how em { font-style: normal; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--srv-dim, var(--muted)); }
.sg-how b { color: var(--ink); font-size: 14px; }
.sg-checks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.sg-checks span::before { content: "\2713\00a0"; color: var(--srv-ok, #3ee38a); }
.sg-jobs { border-top: 1px solid var(--srv-hair, var(--line)); padding-top: 16px; display: grid; gap: 6px; }
.sg-job { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.sg-job b { color: var(--ink); font-weight: 600; }
.sg-job.s-failed b { color: var(--srv-need, var(--red)); }
.sg-job.s-done b { color: var(--srv-ok, #3ee38a); }

/* ---- one drawn page: a 1080 x 1920 stage scaled to --w, in the three looks (Contact, Orbit, Bloom) ---- */
.sg-fr { position: relative; width: var(--w); height: calc(var(--w) * 16 / 9); overflow: hidden; border-radius: 3px; flex: none; }
.sg-st { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; transform: scale(var(--k)); transform-origin: 0 0; font-family: "Inter Tight", "Inter", system-ui, sans-serif; overflow: hidden; }
.sg-st p, .sg-st h1 { margin: 0; position: absolute; }
.sg-tag, .sg-hd, .sg-num { font: 500 22px/1 "IBM Plex Mono", ui-monospace, Menlo, monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.sg-tag { left: 54px; top: 150px; }
.sg-hd { left: 54px; bottom: 246px; }
.sg-num { right: 54px; bottom: 246px; opacity: 0.7; }
.sg-ph { position: absolute; overflow: hidden; background: #1a1717; }
.sg-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-cap { left: 60px; width: 960px; font-weight: 800; font-size: 62px; line-height: 1.06; letter-spacing: -0.035em; word-spacing: 0.08em; }
.sg-cap2 { font-size: 52px; }
.sg-this { left: 54px; top: 220px; font-weight: 800; font-size: 104px; letter-spacing: -0.04em; line-height: 1; }
.sg-reply { left: 60px; top: 520px; font-size: 72px; font-weight: 700; letter-spacing: -0.03em; }
.sg-kw { left: 54px; top: 610px; font-size: 220px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.sg-rest { left: 60px; top: 880px; width: 960px; font-size: 64px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
.sg-big { top: 640px; font-size: 96px; font-weight: 800; }
/* Contact: film black, a framed picture with sprocket holes and red crop marks, bone type with the last words red */
.sg-l-contact .sg-st { background: #0c0a0a; color: #ece7dd; }
.sg-l-contact .sg-tag, .sg-l-contact .sg-hd, .sg-l-contact .sg-num { color: rgba(236, 231, 221, 0.86); }
.sg-l-contact .sg-ph { left: 110px; top: 230px; width: 860px; height: 1010px; outline: 18px solid #1b1616; box-shadow: 0 0 0 20px #0c0a0a, 0 0 0 22px rgba(255, 90, 98, 0.55); }
.sg-l-contact .sg-ph.sg-wide { top: 440px; height: 620px; }
.sg-l-contact .sg-st::before { content: ""; position: absolute; left: 28px; top: 200px; width: 22px; height: 1100px; background: repeating-linear-gradient(#0c0a0a 0 26px, #2a2424 26px 50px); border-radius: 3px; }
.sg-l-contact .sg-st::after { content: ""; position: absolute; right: 28px; top: 200px; width: 22px; height: 1100px; background: repeating-linear-gradient(#0c0a0a 0 26px, #2a2424 26px 50px); border-radius: 3px; }
.sg-l-contact .sg-cap { top: 1330px; } .sg-l-contact .sg-cap b { color: #ff3b46; font-weight: 800; }
.sg-l-contact .sg-cap2 { top: 1130px; }
.sg-l-contact .sg-kw, .sg-l-contact .sg-reply { color: #ff3b46; } .sg-l-contact .sg-reply { color: #ece7dd; }
/* Orbit: pale ground, the picture in a circle on thin orbit rings, dark type with the last words red */
.sg-l-orbit .sg-st { background: #f3f2ee; color: #0d0d0d; background-image: radial-gradient(rgba(0, 0, 0, 0.07) 2px, transparent 2px); background-size: 28px 28px; }
.sg-l-orbit .sg-tag, .sg-l-orbit .sg-hd, .sg-l-orbit .sg-num { color: #0d0d0d; }
.sg-l-orbit .sg-ph { left: 170px; top: 330px; width: 740px; height: 740px; border-radius: 50%; box-shadow: 0 0 0 26px #f3f2ee, 0 0 0 28px #0d0d0d, 0 0 0 110px #f3f2ee, 0 0 0 111px rgba(13, 13, 13, 0.4); }
.sg-l-orbit .sg-ph.sg-wide { left: 60px; top: 440px; width: 960px; height: 620px; border-radius: 40px; box-shadow: 0 0 0 14px #f3f2ee, 0 0 0 16px #0d0d0d; }
.sg-l-orbit .sg-cap { top: 1290px; } .sg-l-orbit .sg-cap b { color: #e0202b; font-weight: 800; }
.sg-l-orbit .sg-cap2 { top: 1130px; }
.sg-l-orbit.sg-r-ask .sg-st { background: #0a0a0a; color: #f3f2ee; background-image: none; }
.sg-l-orbit.sg-r-ask .sg-tag, .sg-l-orbit.sg-r-ask .sg-hd, .sg-l-orbit.sg-r-ask .sg-num { color: #f3f2ee; }
.sg-l-orbit .sg-kw { color: #ff3b46; font-family: "IBM Plex Mono", ui-monospace, monospace; letter-spacing: -0.02em; font-weight: 700; }
/* Bloom: near black, red heat from the bottom, a scan ring with bracket corners, white type */
.sg-l-bloom .sg-st { background: radial-gradient(120% 55% at 50% 100%, #d4202c 0%, rgba(160, 20, 30, 0.75) 22%, rgba(30, 6, 8, 0) 62%), #080606; color: #fff; }
.sg-l-bloom .sg-tag, .sg-l-bloom .sg-hd, .sg-l-bloom .sg-num { color: rgba(255, 255, 255, 0.82); }
.sg-l-bloom .sg-ph { left: 175px; top: 335px; width: 730px; height: 730px; border-radius: 50%; box-shadow: 0 0 0 18px #080606, 0 0 0 20px rgba(255, 255, 255, 0.7), 0 0 0 70px transparent, 0 0 0 72px rgba(255, 255, 255, 0.25); }
.sg-l-bloom .sg-ph.sg-wide { left: 60px; top: 440px; width: 960px; height: 620px; border-radius: 28px; box-shadow: 0 0 0 14px #080606, 0 0 0 16px rgba(255, 255, 255, 0.7); }
.sg-l-bloom .sg-cap { top: 1290px; } .sg-l-bloom .sg-cap b { color: #ff5a62; font-weight: 800; }
.sg-l-bloom .sg-cap2 { top: 1130px; }
.sg-l-bloom .sg-kw { color: #ff5a62; }
/* the lightbox */
.sg-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.9); display: grid; place-items: center; padding: 16px; overflow: auto; }
.sg-lb-in { display: grid; gap: 12px; justify-items: center; color: #eee; max-width: 100%; }
.sg-lb-top { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.sg-lb-x { background: none; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
.sg-lb-body { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; align-items: flex-start; }
.sg-lb-clip { display: grid; gap: 8px; max-width: 300px; }
.sg-lb-clip video { width: 100%; max-height: 60vh; background: #000; border-radius: 4px; }
.sg-lb small { color: rgba(255, 255, 255, 0.7); font-size: 12px; max-width: 300px; }
.sg-lb-nav { display: flex; gap: 10px; }
.sg-lb-nav button { background: none; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 99px; padding: 6px 16px; font: inherit; font-size: 13px; cursor: pointer; }
.sg-lb-nav button:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 640px) { .sg-step { grid-template-columns: 26px minmax(0, 1fr); gap: 0 8px; } .sg-how > div { border-right: 0; border-bottom: 1px solid var(--srv-hair, var(--line)); } }

.sg-ph-note { position: absolute; left: 40px; right: 40px; top: 50%; transform: translateY(-50%); text-align: center; font: 500 34px/1.3 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.7; }
