/* Beady Story Studio V1A — mobile-first, Beady-DNA (sort/gul fra cardet).
   Cores Corp-font afventer asset-leverance; system-stack indtil da. */

:root {
  --bg: #101010;
  --panel: #1b1b1b;
  --panel-2: #242424;
  --line: #333;
  --text: #f4f2ec;
  --text-dim: #b9b5aa;
  --yellow: #ffc627;
  --blue: #5ab3e6;
  --green: #7ed17e;
  --red: #ff7a6e;
  --radius: 20px;
  --radius-s: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Samme grønne som et gennemført trin og en godkendelse */
.topbar {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 18px; border-bottom: 0;
  position: sticky; top: 0; background: #2fc14e; z-index: 5;
}
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-chip { display: inline-flex; align-items: center; }
.logo-svg { height: 38px; width: auto; display: block; }
/* Logoet står hvidt i værktøjet — farverne hører til produktet, ikke maskinrummet */
.logo-svg path { fill: #fff; }
.logo-sub { color: #fff; font-size: 16px; font-weight: 700; }
.topbar .provider-badge { color: #07230f; }

/* Badge'en må ikke skubbe til centreringen — den vises kun i mock-tilstand */
.provider-badge { position: absolute; right: 18px; top: 12px; font-size: 11px; color: var(--text-dim); text-align: right; }
.provider-badge .mock { color: var(--bg); background: var(--yellow); padding: 1px 7px; border-radius: 999px; font-weight: 700; }

.app { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 18px 16px 40px; }
.foot { text-align: center; color: #6f6b62; font-size: 12px; padding: 14px; border-top: 1px solid var(--line); }

h1 { font-size: 22px; margin: 8px 0 4px; }
h2 { font-size: 17px; margin: 0 0 10px; }
p.dim { color: var(--text-dim); margin: 4px 0 16px; }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; margin-bottom: 14px;
}

/* Fremdriftsskinne: prikker forbundet af en tynd linje. Det aktive trin folder
   sig ud som en gul pille med instruktionen — resten er rene prikker, så hele
   rejsen kan ses på én skærm uden vandret scroll. */
.rail {
  position: relative; display: flex; align-items: center; gap: 30px;
  margin: -4px 0 20px; padding: 8px 2px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  scroll-behavior: smooth;
}
.rail::-webkit-scrollbar { display: none; }
.rail .node {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  flex: none; white-space: nowrap;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  font-size: 14px; line-height: 1;
}
/* Pil mellem noderne — det er en proces, ikke en række knapper.
   Tegnet som to streger drejet 45°, så spidsen er skarp og tydelig. */
.rail .node + .node::before {
  /* Pilespidsen er det, øjet ser — den skal ligge midt i mellemrummet, ikke
     midt i elementet. Derfor forskydes den lidt mod det foregående trin. */
  content: ""; position: absolute; left: -24px; top: 50%;
  width: 9px; height: 9px;
  border-top: 3px solid #b1afaa; border-right: 3px solid #b1afaa;
  transform: translateY(-50%) rotate(45deg);
}
.rail .dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  font-size: 11px; font-weight: 800; line-height: 1;
}
/* Hjem har samme kontur som de trin, man endnu ikke har set */
.rail .home {
  color: #b1afaa; background: transparent; cursor: pointer;
  border: 2px solid currentColor;
  padding: 7px 9px; gap: 0;
}
.rail .home:hover { color: var(--text); }
/* Kommende trin: pillen har en kant i samme farve som tekst og prik.
   Padding trækkes 2px, så alle noder står i samme højde. */
.rail .todo {
  color: #b1afaa;
  border: 2px solid currentColor;
  padding: 6px 12px 6px 8px;
}
.rail .todo .dot { background: transparent; border: 2px solid currentColor; }
/* Løst trin: grønt — også når man står på det */
.rail .done { background: #2fc14e; color: #07230f; font-weight: 700; cursor: pointer; }
.rail .done .dot { background: rgba(7, 35, 15, .22); color: #07230f; }
.rail .done:hover { filter: brightness(1.08); }
/* Trin der venter på en handling: gult */
.rail .now {
  background: var(--yellow); color: var(--bg); font-weight: 700;
  box-shadow: 0 2px 16px rgba(255, 198, 39, .3);
  padding: 10px 16px 10px 11px;
}
.rail .now .dot { background: rgba(16, 16, 16, .25); }
/* Hvor man står lige nu: en tynd lys gulgrøn kant plus skæret i trinnets egen
   farve. Kanten tegnes som box-shadow, så noden ikke skifter størrelse. */
.rail .here.done { box-shadow: 0 0 0 2px #d5ef72, 0 0 18px 3px rgba(47, 193, 78, .72); }
.rail .here.now { box-shadow: 0 0 0 2px #d5ef72, 0 0 23px 4px rgba(255, 198, 39, .78); }
.rail .here.todo { box-shadow: 0 0 0 2px #d5ef72, 0 0 16px 3px rgba(177, 175, 170, .46); }

.step {
  /* mobil-first: ~25% større på telefon; skrues ned på desktop nederst.
     Skarp pilespids (Nick 2026-07-29: rundingerne virkede ikke).
     Kommende trin: hul pil med tynd stroke; aktiv/færdig: udfyldt. */
  --tip: 23px;
  position: relative;
  font-size: 14px; line-height: 1.2; padding: 8px 10px 8px 18px;
  background: transparent; color: var(--text-dim);
  border: 1px solid #444; border-right: 0;
  white-space: nowrap; flex: none;
  border-radius: 0;
  margin-right: 12px;
}
.step::after {
  content: ""; position: absolute; top: 50%; right: calc(var(--tip) / -2.9);
  width: var(--tip); height: var(--tip);
  transform: translateY(-50%) rotate(45deg);
  background: inherit; border-radius: 0;
  border: 1px solid #444;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.step.active, .step.done { border: 0; padding: 9px 11px 9px 19px; }
.step.active::after, .step.done::after { border: 0; }
.step.active { background: var(--yellow); color: var(--bg); font-weight: 700; }
.step.done { background: #2fc14e; color: #07230f; }

/* Uventet JavaScript-fejl: vis den frem for at lade en knap dø i stilhed */
.fatal {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 100;
  background: #3a1f1c; border: 1px solid #5c2c27; color: #ffd9d4;
  border-radius: var(--radius-s); padding: 12px 14px; font-size: 13px; cursor: pointer;
}

.buildstamp { color: #6f6b62; font-size: 12px; text-align: center; margin: 10px 0 0; }

/* Upload */
.dropzone {
  border: 2px dashed #4a4a4a; border-radius: var(--radius);
  padding: 44px 20px; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dropzone.drag { border-color: var(--yellow); background: #1e1a0e; }
.dropzone .big { font-size: 17px; font-weight: 600; }
.dropzone .hint { color: var(--text-dim); font-size: 13px; margin-top: 6px; }

button, .btn {
  appearance: none; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; padding: 13px 22px; min-height: 48px;
  background: var(--yellow); color: var(--bg); width: 100%;
}
/* Sekundære knapper (AI, RYD, LÅS OP m.fl.): kanten har samme farve som teksten,
   og fladen er lysnet, så knappen kan ses. Gælder alle steder i appen. */
button.secondary {
  background: #2f2f2f; color: var(--text);
  border: 1px solid currentColor;
}
button.secondary:hover { background: #3a3a3a; }
button.small { width: auto; min-height: 40px; padding: 8px 18px; font-size: 14px; }
button:disabled { opacity: .45; cursor: default; }
.btnrow { display: flex; gap: 10px; margin-top: 12px; }
.btnrow button { flex: 1; }

label { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin: 16px 0 6px; }
.fieldwarn { color: var(--yellow); font-size: 13px; margin: 6px 2px 0; }
input[type="text"] + input, .fieldwarn + input { margin-top: 12px; }
input[type="text"], input[type="number"], textarea {
  width: 100%; background: #2c2c2c; color: var(--text); /* 20% lysere end panelet */
  border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 12px 14px; font: inherit;
}
/* Retningsfeltet: dobbelt højde, så der er plads til en tanke — og en lysere
   vejledningstekst, så den kan læses uden at blive forvekslet med indtastet tekst */
textarea.tall { min-height: 150px; }
input::placeholder, textarea::placeholder { color: #a9a49a; opacity: 1; }
textarea { min-height: 80px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--yellow); border-color: transparent; }

.badge { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.badge.ai { background: #24384a; color: var(--blue); }
.badge.manual { background: #2c2c2c; color: var(--text-dim); border: 1px solid var(--line); }
.badge.ok { background: #1e3320; color: var(--green); }
.badge.warn { background: #403312; color: var(--yellow); border: 1px solid #5c4a17; }
.badge.err { background: #3a1f1c; color: var(--red); }

.cardimg { width: 100%; max-width: 260px; border-radius: var(--radius-s); display: block; margin: 0 auto 14px; }

/* Fact- og concept-kort */
/* Ens form hele vejen rundt — ingen streg i siden. Valgt = gul kant, lys ramme;
   ikke valgt = lysere grå flade, så listen er nem at skimme. */
.fact {
  font-size: 17.5px; line-height: 1.45; /* 25% større — fakta skal kunne skimmes */
  padding: 12px 84px 12px 16px; margin: 10px 0;
  background: #2c2c2c; border-radius: var(--radius-s);
  border: 1px solid transparent;
  cursor: pointer; position: relative;
}
.fact.selected { border-color: var(--yellow); background: #241d09; }
.fact .factcheck {
  position: absolute; top: 12px; right: 48px; width: 24px; height: 24px;
  border-radius: 50%; border: 1px solid var(--line); text-align: center; line-height: 22px;
  font-size: 14px; color: var(--bg);
}
/* Slet-kryds yderst til højre — væk fra valg-cirklen, så de ikke forveksles */
.fact .factdel {
  position: absolute; top: 6px; right: 4px;
  width: 36px; height: 36px; min-height: 0; padding: 0; margin: 0;
  background: none; border: 0; border-radius: 50%;
  color: #8a857b; font-size: 15px; font-weight: 400; line-height: 36px; cursor: pointer;
}
.fact .factdel:hover { background: #3a2a28; color: #ffd9d4; }
.fact.selected .factcheck { background: var(--yellow); border-color: var(--yellow); font-weight: 700; }
/* Kildebaggrund: ÉN knap der både melder status og folder kilden ud */
.srcbox { display: block; margin-top: 10px; }
.srcbox > summary, .srcbox.flat, .srcbox.checking {
  display: inline-block; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 700;
  border-radius: 999px; padding: 7px 15px;
}
.srcbox > summary::-webkit-details-marker { display: none; }
.srcbox > summary::after { content: " ›"; }
.srcbox[open] > summary::after { content: " ⌄"; }
.srcbox > summary:hover { filter: brightness(1.08); }
.srcbox.ok > summary { background: #2fc14e; color: #07230f; }
.srcbox.err > summary, .srcbox.err.flat { background: #5c2c27; color: #ffd9d4; }
.srcbox.checking { background: var(--panel); color: var(--text-dim); cursor: default; }
.srcbody { font-size: 17px; line-height: 1.5; color: var(--text); margin-top: 10px; }
.srcbody p { margin: 8px 0 0; }
.srcbody a { color: var(--blue); word-break: break-word; }
.step[data-step] { cursor: pointer; }

.linkbtn {
  background: none; border: 0; color: var(--blue); cursor: pointer;
  font: inherit; font-size: 19px; padding: 10px 2px; width: auto; min-height: 0;
  text-align: left; font-weight: 400;
}
.linkbtn:hover { text-decoration: underline; }

.unfold { animation: unfold .35s ease-out; transform-origin: top; }
@keyframes unfold { from { opacity: 0; transform: scaleY(.7); } to { opacity: 1; transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .unfold { animation: none; } }

/* Idéerne præsenteres som historien: samme lyse læseflade, samme titelstørrelse.
   Man skal kunne mærke, hvad en idé bliver til, allerede når man vælger. */
.concept {
  border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 22px 20px; margin: 14px 0;
  background: #FAF8F3; color: #000;
  font-family: Literata, Georgia, "Times New Roman", serif;
  font-weight: 450; font-size: 17px; line-height: 1.6;
}
.concept h3 {
  font-family: Literata, Georgia, "Times New Roman", serif;
  font-weight: 650; font-size: 48px; line-height: 1.1; letter-spacing: -0.5px;
  margin: 0 0 18px; color: #000;
}
@media (min-width: 700px) { .concept h3 { font-size: 56px; } }
.concept.chosen { border: 2px solid var(--yellow); }
.concept.dimmed { opacity: .55; }
.concept .angle { font-size: 15px; color: #4a463f; font-style: italic; margin: 12px 0; }
.concept .facts { font-size: 14px; color: #6b665d; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; }
/* Knapper og rettefelt inde i en idé skal ikke arve læsefladens skrift */
.concept .btnrow, .concept .revisebox { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; }
.concept .revisebox label { color: #4a463f; }

/* Historie — læses på lys "papir"-flade i Literata (moderne antikva).
   På mobil bryder læsefladen ud af kortets padding og går kant til kant. */
.story-text {
  font-family: Literata, Georgia, "Times New Roman", serif;
  font-weight: 450;
  font-size: 17px; line-height: 1.75; max-width: 58ch; margin: 0 auto;
  background: #FAF8F3; color: #000;
  padding: 22px 20px; border-radius: var(--radius-s);
}

/* Historiens titel: samme antikva, tungere snit — den er historiens ansigt */
.storytitle {
  font-family: Literata, Georgia, "Times New Roman", serif;
  font-weight: 650;
  font-size: 48px; line-height: 1.1; letter-spacing: -0.5px;
  margin: 0 0 22px;
}
@media (min-width: 700px) { .storytitle { font-size: 56px; } }
/* Titlen bor i læsefladen sammen med teksten — samme farve som brødteksten */
.story-text .storytitle { color: #000; }

/* Telefon: læsefladen går kant til kant — hele skærmens bredde til teksten */
@media (max-width: 699px) {
  .card.full {
    margin-left: -16px; margin-right: -16px;
    padding-left: 0; padding-right: 0;
    border-left: 0; border-right: 0; border-radius: 0;
  }
  .card.full > *:not(.story-text) { padding-left: 18px; padding-right: 18px; }
  .card.full .story-text { border-radius: 0; max-width: none; }
}
.story-text p { margin: 0 0 1.1em; }
.story-text p:last-child { margin-bottom: 0; }

/* Cooking-banner: folder ned fra toppen mens lyd bages i baggrunden.
   Rød = i ovnen, grøn = klar til at blive serveret (og kan klikkes). */
.cooking {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  font-size: 14px; font-weight: 600;
  animation: popup .25s ease-out;
}
.cooking[hidden] { display: none; } /* display:flex ville ellers overtrumfe hidden */
.cooking.baking { background: #c0392b; color: #fff; }
.cooking.served { background: #2fc14e; color: #07230f; cursor: pointer; font-size: 16px; font-weight: 700; }
.cooking.served:hover { filter: brightness(1.06); }
.cooking b { font-weight: 800; }
.cooking .proj { font-weight: 400; } /* projektnavnet træder tilbage for statussen */
.cooking .pot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popup { from { transform: translateY(100%); } to { transform: translateY(0); } }
/* To hop når lyden er klar — nok til at fange øjet, ikke nok til at irritere */
@keyframes bounce2 {
  0%, 30%, 55%, 80%, 100% { transform: translateY(0); }
  15% { transform: translateY(-14px); }
  67% { transform: translateY(-7px); }
}
.cooking.served.bounce { animation: popup .25s ease-out, bounce2 1.1s ease-in-out .25s 1; }
@media (prefers-reduced-motion: reduce) { .cooking.served.bounce { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .cooking { animation: none; }
  .cooking .pot { animation: none; }
}

/* Motivet ved siden af lyden */
.soundhead { display: flex; align-items: center; gap: 14px; }
/* Kortet beskæres til rammens format, så der ikke står bånd i siderne.
   Let runding — samme sprog som kortets egen kant. */
.soundhead .cardimg {
  width: 64px; height: 92px; object-fit: cover; object-position: center;
  background: transparent; border-radius: 6px; margin: 0; flex: none;
}

/* Lyd i manuskriptet: menneskelyde violet, effektlyde blå.
   Grøn er reserveret til "rettet passage", gul til markering. */
.cue-voice { color: #7c3aed; font-weight: 600; }
.cue-fx { color: #0b6bcb; font-weight: 600; }

/* Netop rettet passage = samme grønne som et gennemført breadcrumb-trin */
.rewritten {
  background: #2fc14e; color: #07230f;
  border-radius: 4px; padding: 1px 2px;
  box-shadow: 0 0 0 2px #2fc14e;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* RET MODE: ord kan trykkes; markeret område fremhæves kraftigt gult.
   Native tekstmarkering slås FRA — ellers åbner mobilbrowseren sin egen
   markér/oversæt-boks (Google Translate-buggen) i stedet for vores tryk-valg. */
.story-text.editing {
  user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}
.story-text.editing .sent { cursor: pointer; border-radius: 4px; padding: 1px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.story-text.editing .sent:hover { background: #f0e9d8; }
.story-text.editing .sent.selr { background: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); color: #000; }
/* Markering vinder over lydfarven, så man kan se hvad man har valgt */
.story-text.editing .sent.selr.cue-voice, .story-text.editing .sent.selr.cue-fx { color: #000; }

/* Kommentarboksen lander inline, lige under den markerede passage */
.rewritebox {
  position: relative;
  background: var(--panel-2); border: 1px solid var(--yellow);
  border-radius: var(--radius-s); padding: 12px; padding-right: 38px; margin: 10px 0 16px;
  user-select: text; -webkit-user-select: text;
  color: var(--text);
}
/* Mobil: rigeligt skriveplads (Nick 2026-07-29) — mindre på desktop nedenfor */
.rewritebox textarea { min-height: 180px; background: var(--bg); }
.rewritebox textarea.manual { min-height: 270px; }
.rewritebox .btnrow { margin-top: 8px; display: flex; gap: 8px; }
.rewritebox .btnrow button { margin: 0; }
.aibox { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.aibox textarea { min-height: 90px; }
.rewritebox .closex {
  position: absolute; top: 6px; right: 6px;
  width: 26px; height: 26px; padding: 0; margin: 0;
  background: none; border: none; color: var(--text-dim);
  font-size: 15px; line-height: 26px; cursor: pointer;
}
.rewritebox .closex:hover { color: var(--text); }
.qa { font-size: 16.25px; } /* 25% større — tallene skal kunne skimmes */
.qa li { margin: 5px 0; }

/* Kun selve pris-cirklen er 50% større — teksten står som i de øvrige felter */
.costcard .costdot { width: 69px; height: 69px; font-size: 18px; margin-top: 20px; }

/* Loading: pseudo-tekst-shimmer (bevidst enkel) */
.shimmer { margin: 14px 0; }
.shimmer .bar {
  height: 12px; border-radius: 6px; margin: 9px 0;
  background: linear-gradient(90deg, #262626 25%, #383838 50%, #262626 75%);
  background-size: 200% 100%; animation: sh 1.4s infinite linear;
}
.shimmer .bar:nth-child(2) { width: 92%; } .shimmer .bar:nth-child(3) { width: 78%; }
@keyframes sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .shimmer .bar { animation: none; } }

/* Ventetekst: 25% større (Nick 2026-07-29) — den er det eneste, der taler,
   mens man venter, så den skal kunne læses på en armslængdes afstand */
.status-line { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 17.5px; min-height: 26px; }
.typewriter {
  display: inline-block; overflow: hidden; white-space: nowrap;
  max-width: var(--tw);
  border-right: 2px solid var(--yellow);
  animation: typing 3s steps(38, end) infinite, caret .7s step-end infinite;
}
@keyframes typing { 0% { max-width: 0; } 65% { max-width: var(--tw); } 100% { max-width: var(--tw); } }
@keyframes caret { 50% { border-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .typewriter { animation: caret .7s step-end infinite; max-width: none; } }

.error-box { background: #3a1f1c; border: 1px solid #5c2c27; border-radius: var(--radius-s); padding: 12px 14px; color: #ffd9d4; font-size: 14px; margin: 12px 0; }
/* Samme pilleform som knapperne — beskeden hører til den række, den står i */
.notice { background: #1e2a1e; border: 1px solid #2c4a2c; border-radius: 999px; padding: 13px 22px; color: #d7f0d7; font-size: 14px; margin: 12px 0; text-align: center; }
/* Godkendt: samme kraftige grøn som et gennemført trin — det skal ikke kunne overses */
.notice.ok {
  /* Præcis samme geometri som en knap — samme radius, højde og polstring */
  background: #2fc14e; border: 0; color: #07230f; border-radius: 999px;
  font-weight: 700; font-size: 16px; padding: 13px 22px; min-height: 48px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 16px rgba(47, 193, 78, .3);
}

.projectlist { list-style: none; padding: 0; margin: 0; }
.projectlist li { border-bottom: 1px solid var(--line); }
.projectlist .projectrow { display: flex; align-items: stretch; gap: 4px; }
.projectlist a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 4px; color: var(--text); text-decoration: none; min-width: 0; }
.projectlist .projectinfo { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.projectlist .meta { color: var(--text-dim); font-size: 13px; white-space: nowrap; }
/* Hvad motivet har kostet — grøn cirkel, samme grøn som "godkendt" */
.costdot {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #2fc14e; color: #07230f;
  font-size: 12px; font-weight: 700; letter-spacing: -0.2px;
}
.projectthumb {
  width: 38px; height: 54px; object-fit: cover; border-radius: 6px;
  background: var(--panel-2); flex: none;
}
.projectlist .delete {
  width: 44px; min-height: 44px; align-self: center; flex: none;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  color: var(--text-dim); font-weight: 400; padding: 0;
}
.projectlist .delete:hover, .projectlist .delete:focus { color: var(--red); border-color: var(--red); }

@media (min-width: 700px) {
  h1 { font-size: 26px; }
  .app { padding-top: 28px; }
  .step { --tip: 18px; font-size: 11px; padding: 6px 8px 6px 14px; margin-right: 9px; }
  .step.active, .step.done { padding: 7px 9px 7px 15px; }
  .rewritebox textarea { min-height: 90px; }
  .rewritebox textarea.manual { min-height: 140px; }
}
