/* ==========================================================================
   Demochatten på webbplatsen — rutan under "Såhär kan det se ut".

   Kopia av demochatten på appens väntelista (app.scalelab.se). Genererad fil:
   reglerna är appens egna (repot scalelab, grenen vantelista, 8f39490:
   app/styles.css och app/skal.css), satta under .dc-ram så de bara gäller i
   rutan. Sist i filen står det som hör till webbplatsen (ramen, ljust läge,
   mobilen). Kör "App OS/.claude/demochatt-css.mjs" igen när appens CSS ändras;
   webbplatsens del ändras i demochatt-egen.css bredvid skriptet — ändra inte här.
   Typsnittet Geist hämtas från Google Fonts som i appen; Array ligger i fonts/.
   ========================================================================== */
@property --falt-tak { syntax: '<length>'; inherits: true; initial-value: 204px; }
@property --flik-topp { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --flik-yta { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --flik-linje { syntax: '<color>'; inherits: true; initial-value: transparent; }
@property --lys-puls { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --lys-in { syntax: '<number>'; inherits: false; initial-value: 1; }
.dc-ram {
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-brand: "Chillax", "Satoshi", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "STIX Two Text", Georgia, "Times New Roman", serif;
  --font-manrope: "Manrope", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --vit: 255, 255, 255;
  --n-101010: #101010;
  --n-111111: #111111;
  --n-2a2a2a: #2a2a2a;
  --n-6a6a6a: #6a6a6a;
  --n-7c7c7c: #7c7c7c;
  --n-8f8f8f: #8f8f8f;
  --n-d9d9d9: #d9d9d9;
  --n-e6e6e6: #e6e6e6;
  --n-ececec: #ececec;
  --n-f2f2f2: #f2f2f2;
  --n-f4f4f4: #f4f4f4;
  --n-ffffff: #ffffff;
  --c-gul: #f2cd60;
  --c-gron: #6ac172;
  --sv-200: rgba(0, 0, 0, 0.2);
  --sv-280: rgba(0, 0, 0, 0.28);
  --sk-text: #f2f2f2;
}
:root[data-theme="light"] .dc-ram {
  --vit: 23, 25, 29;
  --n-101010: #ffffff;
  --n-111111: #ffffff;
  --n-2a2a2a: #e2e2e2;
  --n-6a6a6a: #8e939b;
  --n-7c7c7c: #7b8088;
  --n-8f8f8f: #6c7179;
  --n-d9d9d9: #33373d;
  --n-e6e6e6: #26292e;
  --n-ececec: #2e3136;
  --n-f2f2f2: #1c1e22;
  --n-f4f4f4: #1a1c20;
  --n-ffffff: #17191d;
  --c-gul: #8f6400;
  --c-gron: #2e9e57;
  --sv-200: rgba(20, 22, 26, 0.06);
  --sv-280: rgba(20, 22, 26, 0.084);
  --sk-text: #171717;
}
.dc-ram {
  --x: initial;
}
:where(.dc-ram) *,
:where(.dc-ram) *::before,
:where(.dc-ram) *::after { box-sizing: border-box;
}
:where(.dc-ram) [hidden] { display: none !important;
}
:where(.dc-ram) h1,
:where(.dc-ram) h2,
:where(.dc-ram) h3,
:where(.dc-ram) p,
:where(.dc-ram) ul { margin: 0;
}
:where(.dc-ram) ul { padding: 0; list-style: none;
}
:where(.dc-ram) button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer;
}
.dc { display: flex; justify-content: flex-start; padding-top: 40px; margin-bottom: 40px; pointer-events: none;
}
:where(.dc-ram) .dc-kort {
  --bredd: 100%;
  position: relative;
  --dc-h: min(600px, 64vh);
  width: min(680px, 100%);
  height: var(--dc-h);
  display: flex;
  flex-direction: column;
  
  overflow: hidden;
  transition: opacity 0.6s ease;
}
.dc .dc-samtal { transition: opacity 0.6s ease;
}
:where(.dc-ram) .dc-kort.is-tonar .dc-samtal { opacity: 0;
}
.dc .dc-prompt { transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1);
}
:where(.dc-ram) .dc-kort.is-start .dc-prompt { transform: translateY(var(--dc-start, calc(-0.5 * var(--dc-h) + 27px)));
}
:where(.dc-ram) .dc-rubrik { position: absolute; left: 0; right: 0; bottom: 76px; display: flex; justify-content: center; opacity: 0; pointer-events: none; transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.35s ease;
}
:where(.dc-ram) .dc-kort.is-start .dc-rubrik { opacity: 1; transform: translateY(var(--dc-start, calc(-0.5 * var(--dc-h) + 27px)));
}
.dc .hem-rubrik { color: var(--ton-1);
}
.dc .dc-samtal::after { content: ""; flex: none; height: calc(var(--dc-h) - 190px);
}
.dc .dc-samtal::-webkit-scrollbar { display: none;
}
.dc .dc-samtal { pointer-events: auto; overflow-y: auto; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20px); mask-image: linear-gradient(to bottom, transparent 0, #000 20px); flex: 1; min-height: 0; width: auto; padding: 22px 4px 26px 4px; gap: 22px; scrollbar-width: none;
}
.dc .dc-samtal .svar { font-size: 14.5px;
}
.dc .dc-samtal .svar h2 { font-size: 24px; margin-bottom: 8px;
}
.dc .dc-samtal .samtal-dig { font-size: 14.5px; line-height: 22px;
}
.dc .dc-samtal .samtal-ai { margin-top: 18px;
}
.dc .dc-samtal .samtal-ai + .samtal-ai { margin-top: 44px;
}
.dc .dc-samtal .svar-tanker { margin-bottom: 6px;
}
.dc .dc-prompt { flex: none; width: auto; margin: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.dc .dc-prompt .prompt-text { flex: 1; min-width: 0; display: flex; align-items: center; height: 36px; padding: 0 4px;
}
:where(.dc-ram) .dc-prompt-text { font-size: 15px; color: var(--ton-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
:where(.dc-ram) .dc-prompt.is-skriver .dc-prompt-text { color: var(--ton-1);
}
:where(.dc-ram) .dc-prompt.is-skriver .dc-prompt-text::after { content: ""; display: inline-block; width: 1.5px; height: 17px; margin-left: 1px; vertical-align: -3px; background: var(--ton-1); animation: dc-markor 1s steps(1) infinite;
}
.dc .dc-prompt .prompt-rost { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ton-2);
}
.dc .dc-prompt .prompt-skicka { transition: scale 0.15s ease;
}
.dc .dc-prompt.is-trycker .prompt-skicka { scale: 0.86;
}
:where(.dc-ram) .dc-fri-tips { font-size: 15px; color: var(--ton-3);
}
:where(.dc-ram) .dc-drag { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; will-change: transform;
}
:where(.dc-ram) .dc-mus { position: absolute; left: -5px; top: -1px; width: 22px; height: 22px; fill: var(--ton-1); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}
:where(.dc-ram) .dc-drag-filer { position: absolute; left: 14px; top: 18px; display: flex; flex-direction: column; gap: 4px; opacity: 0.92; rotate: -3deg;
}
:where(.dc-ram) .dc-drag-filer { align-items: flex-start;
}
:where(.dc-ram) .dc-drag-filer .samtal-fil { background: #262626; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); white-space: nowrap;
}
:where(.dc-ram) .dc-prompt.is-skriver .dc-prompt-text { text-overflow: clip;
}
.dc .fraga-alt.is-vald { transition: background 0.2s ease, box-shadow 0.2s ease;
}
.dc .fraga-knapp { display: inline-flex; align-items: center; transition: scale 0.15s ease;
}
.dc .fraga-knapp.is-trycks { scale: 0.92;
}
.dc .andring-beslut { margin: 10px 0 0; font-size: 12.5px; color: var(--ton-2);
}
:where(.dc-ram) .maskot.dc-maskot { z-index: 2; pointer-events: none;
}
:where(.dc-ram) .ikon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}
:where(.dc-ram) .ikon-xs { width: 12px; height: 12px;
}
:where(.dc-ram) svg.ikon:has(use[href="#i-gem"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-sok"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-mapp"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-kryss"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-send"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-chev-down"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-wave"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-plus-tunn"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-pil-hoger"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-kopiera"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-bock"]),
:where(.dc-ram) svg.ikon:has(use[href="#i-klocka"]) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:where(.dc-ram) .prompt {
  --vid-tid: 520ms;
  --vid-kurva: cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
  width: var(--bredd);
  display: flex;
  
  flex-wrap: wrap;
  align-content: flex-start;
  
  align-items: flex-end;
  
  gap: 3px 4px;
  min-height: 54px;
  padding: 9px;
  
  --radie: 27px;
  border-radius: var(--radie);

  background: rgba(var(--vit), 0.030);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);

  box-shadow: inset 0 0 0 1px rgba(var(--vit), 0.08), 0 1px 3px var(--sv-200);
  
  transition:
    width var(--vid-tid) var(--vid-kurva),
    min-height var(--vid-tid) var(--vid-kurva),
    border-radius var(--vid-tid) var(--vid-kurva),
    background-color 200ms ease,
    box-shadow 200ms ease,
    --flik-topp 200ms ease,
    --flik-yta 200ms ease,
    --flik-linje 200ms ease;
}
:where(.dc-ram) .prompt.is-stor {
  width: min(1120px, 100%);
  min-height: 42vh;
  --radie: 26px;
}
:where(.dc-ram) .prompt.is-rader { --radie: 24px;
}
:where(.dc-ram) .prompt.is-rader .prompt-text {
  order: -1;
  flex-basis: 100%;
  padding: 0 2px 0 7px;
}
:where(.dc-ram) .prompt.is-rader .prompt-rost { margin-left: auto;
}
:where(.dc-ram) .prompt-plus,
:where(.dc-ram) .prompt-skicka {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
:where(.dc-ram) .prompt-plus { color: var(--ton-1); border: 0; background: none; cursor: pointer;
}
:where(.dc-ram) .prompt-plus .ikon { width: 18px; height: 18px; stroke-width: 2; transition: rotate 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
:where(.dc-ram) .prompt-plus[aria-expanded="true"] .ikon { rotate: 45deg;
}
:where(.dc-ram) .prompt-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 2px 0 8px;
  color: var(--ton-1);
  font: 500 15px/1 var(--font);
  white-space: nowrap;
  opacity: 0;
  scale: 0.92;
  transition: opacity 180ms ease, scale 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
:where(.dc-ram) .prompt-chip[hidden] { display: none;
}
:where(.dc-ram) .prompt-chip.is-synlig { opacity: 1; scale: 1;
}
:where(.dc-ram) .prompt-chip > .ikon { width: 18px; height: 18px; stroke-width: 1.7;
}
:where(.dc-ram) .prompt-chip-bort {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ton-2);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
:where(.dc-ram) .prompt-chip-bort:hover { background: rgba(var(--vit), 0.1); color: var(--n-ffffff);
}
:where(.dc-ram) .prompt-chip-bort .ikon { width: 12px; height: 12px; stroke-width: 2;
}
:where(.dc-ram) .prompt-chip-skilj { width: 1px; height: 24px; margin-left: 8px; background: rgba(var(--vit), 0.14);
}
:where(.dc-ram) .prompt-bilagor { position: absolute; top: calc(100% + 10px); left: 8px; right: 8px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none;
}
:where(.dc-ram) .prompt-bilagor:empty { display: none;
}
:where(.dc-ram) .prompt-bilagor .prompt-fil { pointer-events: auto; height: 32px; gap: 7px; padding: 0 4px 0 12px; border: 1px solid rgba(var(--vit), 0.08); border-radius: 999px; background: rgba(var(--vit), 0.07); font-size: 13.5px;
}
:where(.dc-ram) .prompt-bilagor .prompt-fil > .ikon { width: 15px; height: 15px;
}
:where(.dc-ram) .prompt-bilagor .prompt-chip-text { max-width: 220px; font-size: 13.5px;
}
:where(.dc-ram) .prompt-bilagor .prompt-chip-bort { width: 22px; height: 22px;
}
:where(.dc-ram) .prompt-bilagor .prompt-fil + .prompt-fil { margin-left: 0;
}
:where(.dc-ram) .prompt-bilagor .prompt-chip-bort .ikon { width: 11px; height: 11px; stroke-width: 1.6;
}
@media (prefers-reduced-motion: reduce) {
:where(.dc-ram) .prompt-chip,
:where(.dc-ram) .prompt-plus .ikon { transition: none;
}
}
:where(.dc-ram) .prompt-skicka {
  background: var(--n-ffffff);
  color: var(--n-111111);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}
:where(.dc-ram) .prompt-skicka:hover { background: var(--n-ececec);
}
:where(.dc-ram) .prompt-skicka:active { transform: scale(0.96);
}
:where(.dc-ram) .prompt-skicka .ikon {
  width: 19px;
  height: 19px;
  stroke-width: 2;
  transition:
    rotate 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    scale 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
:where(.dc-ram) .prompt.har-text .prompt-skicka .ikon { rotate: -90deg;
}
:where(.dc-ram) .prompt-skicka > * { grid-area: 1 / 1;
}
:where(.dc-ram) .prompt.is-tanker .prompt-skicka .ikon { opacity: 0; scale: 0.5;
}
:where(.dc-ram) .prompt.is-tanker .prompt-skicka { cursor: pointer;
}
:where(.dc-ram) .prompt-skicka:focus-visible { outline: 2px solid rgba(var(--vit), 0.5); outline-offset: 2px;
}
:where(.dc-ram) .samtal {
  flex: 1;
  min-height: 0;
  width: var(--bredd);
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px 0 36px;
}
:where(.dc-ram) .samtal-dig {
  align-self: flex-end;
  max-width: 72%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(var(--vit), 0.055);
  font-size: 16px;
  line-height: 24px;
  color: var(--ton-1);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
:where(.dc-ram) .svar {
  font-family: var(--font-manrope);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--n-e6e6e6);
  overflow-wrap: anywhere;
}
:where(.dc-ram) .svar h2,
:where(.dc-ram) .svar h3 {
  font-family: var(--font-heading);
  font-weight: 555;
  letter-spacing: -0.004em;
  color: var(--n-ffffff);
}
:where(.dc-ram) .svar h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.18;
}
:where(.dc-ram) .svar h3 { margin: 22px 0 8px; font-size: 21px; line-height: 1.25;
}
:where(.dc-ram) .svar p { margin: 0 0 14px;
}
:where(.dc-ram) .svar ul,
:where(.dc-ram) .svar ol { margin: 0 0 14px; padding-left: 22px;
}
:where(.dc-ram) .svar ul { list-style: disc;
}
:where(.dc-ram) .svar ol { list-style: decimal;
}
:where(.dc-ram) .svar li { margin: 4px 0;
}
:where(.dc-ram) .svar strong { font-weight: 600; color: var(--n-ffffff);
}
:where(.dc-ram) .svar em { font-style: italic;
}
:where(.dc-ram) .svar hr { height: 1px; margin: 26px 0; border: 0; background: rgba(var(--vit), 0.1);
}
:where(.dc-ram) .svar hr + h2 { margin-top: 0;
}
:where(.dc-ram) .fraga {
  margin: 4px 0 14px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: rgba(var(--vit), 0.045);
  font-family: var(--font);
}
:where(.dc-ram) .fraga-amne { margin-bottom: 8px; font-size: 13px; line-height: 18px; color: var(--ton-2);
}
:where(.dc-ram) .fraga-text { margin-bottom: 14px; font-family: var(--font-manrope); font-size: 16px; line-height: 1.55; color: var(--n-f2f2f2);
}
:where(.dc-ram) .fraga-val { display: flex; flex-direction: column; gap: 8px;
}
:where(.dc-ram) .fraga-alt,
:where(.dc-ram) .fraga-fri {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border: 0;
  border-radius: 10px;
  background: rgba(var(--vit), 0.06);
  color: var(--ton-1);
  font: 400 15px/22px var(--font);
  text-align: left;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
:where(.dc-ram) .fraga-alt { cursor: pointer;
}
:where(.dc-ram) .fraga-alt:hover { background: rgba(var(--vit), 0.09);
}
:where(.dc-ram) .fraga-alt.is-vald { background: rgba(var(--vit), 0.11); box-shadow: inset 0 0 0 1px rgba(var(--vit), 0.55);
}
:where(.dc-ram) .fraga-fri { padding: 0 16px 0 10px;
}
:where(.dc-ram) .fraga-fri:focus-within { box-shadow: inset 0 0 0 1px rgba(var(--vit), 0.3);
}
:where(.dc-ram) .fraga-rost {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ton-2);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
:where(.dc-ram) .fraga-rost:hover { color: var(--ton-1);
}
:where(.dc-ram) .fraga-rost .ikon { width: 16px; height: 16px;
}
:where(.dc-ram) .fraga-rost.is-inspelning { background: #e8574c; color: var(--n-ffffff); animation: rost-puls 1.6s ease-in-out infinite;
}
:where(.dc-ram) .fraga-rost.is-tolkar { background: var(--n-2a2a2a); color: var(--n-ffffff); cursor: default;
}
:where(.dc-ram) .fraga-knappar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px;
}
:where(.dc-ram) .fraga-knapp {
  border: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(var(--vit), 0.08);
  color: var(--ton-1);
  font: 500 14px/1 var(--font);
  cursor: pointer;
  transition: background-color 160ms ease;
}
:where(.dc-ram) .fraga-knapp:hover { background: rgba(var(--vit), 0.13);
}
:where(.dc-ram) .fraga-knapp.is-ljus { background: var(--n-d9d9d9); color: var(--n-111111);
}
:where(.dc-ram) .fraga-knapp.is-ljus:hover { background: var(--n-ececec);
}
:where(.dc-ram) .fraga-knapp:focus-visible,
:where(.dc-ram) .fraga-alt:focus-visible { outline: 2px solid rgba(var(--vit), 0.5); outline-offset: 2px;
}
:where(.dc-ram) .fraga-svar { padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.28);
}
:where(.dc-ram) .fraga-svar-etikett { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 13px; line-height: 18px; color: var(--ton-2);
}
:where(.dc-ram) .fraga-svar-etikett .ikon { width: 13px; height: 13px;
}
:where(.dc-ram) .fraga-svar-text { font-size: 15px; line-height: 22px; color: var(--ton-1);
}
:where(.dc-ram) .svar code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(var(--vit), 0.07);
  font-family: var(--font-mono);
  font-size: 0.88em;
}
:where(.dc-ram) .svar > :last-child { margin-bottom: 0;
}
:where(.dc-ram) .samtal-ai + .samtal-ai { margin-top: 52px;
}
:where(.dc-ram) .maskot.is-panel .maskot-svav { animation-play-state: paused;
}
:where(.dc-ram) .svar-tanker {
  width: fit-content;
  margin-bottom: 10px;
  font-family: var(--font-manrope);
  font-size: 14px;
  line-height: 20px;
  color: var(--n-7c7c7c);
}
:where(.dc-ram) .svar-tanker.is-igang,
:where(.dc-ram) .svar-tanker.is-klar { visibility: hidden;
}
:where(.dc-ram) .svar-tanker.is-igang {
  color: transparent;
  background: linear-gradient(90deg, var(--n-6a6a6a) 0%, var(--n-6a6a6a) 38%, var(--n-f4f4f4) 50%, var(--n-6a6a6a) 62%, var(--n-6a6a6a) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: tanker-glans 1.9s linear infinite;
}
:where(.dc-ram) .svar.visas { animation: samtal-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
:where(.dc-ram) .svar-tanker.is-igang { animation: none; background: none; color: var(--n-7c7c7c);
}
}
:where(.dc-ram) .prompt.is-stangd { opacity: 0.5; transition: opacity 400ms ease;
}
:where(.dc-ram) .prompt-skicka:disabled { cursor: default;
}
:where(.dc-ram) .samtal > * { animation: samtal-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
:where(.dc-ram) .samtal > * { animation: none;
}
}
:where(.dc-ram) .prompt-text {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
}
:where(.dc-ram) .prompt { --falt-tak: 204px;
}
:where(.dc-ram) .prompt.is-stor { --falt-tak: calc(42vh - 57px);
}
:where(.dc-ram) .prompt { cursor: text;
}
:where(.dc-ram) .prompt:focus-within {
  background: rgba(var(--vit), 0.055);
  box-shadow: inset 0 0 0 1px rgba(var(--vit), 0.08), 0 2px 10px var(--sv-280);
}
:where(.dc-ram) .prompt {
  --flik-topp: color-mix(in srgb, rgb(var(--vit)) 3%, var(--duk));       
  --flik-yta: color-mix(in srgb, rgb(var(--vit)) 5%, var(--duk));        
  --flik-linje: color-mix(in srgb, rgb(var(--vit)) 10.8%, var(--duk));   
  --flik-toning: linear-gradient(to bottom, var(--flik-topp), var(--flik-yta) 12px);
}
:where(.dc-ram) .prompt:focus-within {
  --flik-topp: color-mix(in srgb, rgb(var(--vit)) 5.5%, var(--duk));
  --flik-yta: color-mix(in srgb, rgb(var(--vit)) 7.5%, var(--duk));
  --flik-linje: color-mix(in srgb, rgb(var(--vit)) 13.1%, var(--duk));
}
:where(.dc-ram) .prompt-rost {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ton-1);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
:where(.dc-ram) .prompt-rost:hover { background: rgba(var(--vit), 0.07);
}
:where(.dc-ram) .prompt-rost:active { transform: scale(0.96);
}
:where(.dc-ram) .prompt-rost:focus-visible { outline: 2px solid rgba(var(--vit), 0.5); outline-offset: 2px;
}
:where(.dc-ram) .prompt-rost.is-inspelning { background: #e8574c; color: var(--n-ffffff); animation: rost-puls 1.6s ease-in-out infinite;
}
:where(.dc-ram) .prompt-rost.is-inspelning:hover { background: #f0655a;
}
:where(.dc-ram) .prompt-rost.is-tolkar { background: var(--n-2a2a2a); color: var(--n-ffffff); cursor: default;
}
:where(.dc-ram) .prompt-rost.is-tolkar .ikon { animation: spin 0.9s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
:where(.dc-ram) .prompt-rost.is-inspelning { animation: none;
}
:where(.dc-ram) .prompt-rost.is-tolkar .ikon { animation: none;
}
}
:where(.dc-ram) .prompt-rost .ikon { width: 18px; height: 18px; stroke-width: 2;
}
:where(.dc-ram) .ikon.is-vanster { rotate: -90deg;
}
:where(.dc-ram) .ikon.is-hoger { rotate: 90deg;
}
:where(.dc-ram) *,
:where(.dc-ram) *::before,
:where(.dc-ram) *::after { scrollbar-width: none;
}
:where(.dc-ram) .maskot {
  --maskot-bredd: 58px;       
  --maskot-marginal: 24px;    
  --maskot-glod: 255, 220, 26; 
  position: fixed;
  right: var(--maskot-marginal);
  bottom: var(--maskot-marginal);
  z-index: 50;                
  width: var(--maskot-bredd);
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  font: inherit;
  line-height: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-drag: none;
  user-select: none;
  border-radius: 18px;
}
:where(.dc-ram) .maskot:focus-visible {
  outline: 2px solid rgba(var(--vit), 0.55);
  outline-offset: 4px;
  border-radius: 18px;
}
:where(.dc-ram) .maskot {
  transform-origin: 50% 88%;
  transition: opacity 400ms ease, scale 460ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
:where(.dc-ram) .maskot.is-gomd {
  opacity: 0;
  scale: 0.04;
  pointer-events: none;
  transition: opacity 320ms ease, scale 360ms cubic-bezier(0.55, 0, 0.85, 0.35);
}
:where(.dc-ram) .maskot.is-tvart { transition: none !important;
}
:where(.dc-ram) .maskot-svav {
  position: relative;
  isolation: isolate;         
  display: block;
  animation: maskot-svav 4200ms ease-in-out infinite;
}
:where(.dc-ram) .maskot-svav::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 10%;
  bottom: -4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 55%,
    rgba(var(--maskot-glod), 0.16) 0%,
    rgba(var(--maskot-glod), 0.06) 45%,
    rgba(var(--maskot-glod), 0) 70%);
  filter: blur(8px);
  pointer-events: none;
}
:where(.dc-ram) .maskot.is-stilla .maskot-svav { animation: none; translate: 0 0;
}
:where(.dc-ram) .maskot svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
:where(.dc-ram) .maskot .maskot-oga {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: transform 240ms ease, opacity 240ms ease;
}
:where(.dc-ram) .maskot svg.is-blundar .maskot-oga { transform: scaleY(0.06); opacity: 0;
}
:where(.dc-ram) .maskot .maskot-blund { opacity: 0; transition: opacity 200ms ease;
}
:where(.dc-ram) .maskot svg.is-blundar .maskot-blund { opacity: 1; transition-delay: 140ms;
}
:where(.dc-ram) .maskot-snark { position: absolute; left: 18%; top: 6%; width: 0; height: 0; pointer-events: none;
}
:where(.dc-ram) .maskot-snark i {
  position: absolute;
  left: 0;
  top: 0;
  font: 600 13px/1 var(--font-manrope);
  font-style: normal;
  color: var(--ton-2);
  opacity: 0;
  animation: maskot-snark 2600ms ease-out infinite;
}
:where(.dc-ram) .maskot-snark i:nth-child(2) { animation-delay: 870ms;
}
:where(.dc-ram) .maskot-snark i:nth-child(3) { animation-delay: 1740ms;
}
:where(.dc-ram) .maskot .maskot-hjalm { transition: filter 800ms cubic-bezier(0.42, 0, 0.2, 1);
}
:where(.dc-ram) .maskot.is-parla .maskot-hjalm { filter: saturate(0.06) brightness(1.1);
}
:where(.dc-ram) .maskot.is-parla { --maskot-glod: 232, 232, 238;
}
:where(.dc-ram) .maskot svg.is-blink .maskot-oga { animation: maskot-blink 300ms ease-in-out;
}
:where(.dc-ram) .maskot svg.is-blink-fladder .maskot-oga { animation: maskot-blink-fladder 560ms ease-in-out;
}
:where(.dc-ram) .maskot-prat {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  translate: -50% 4px;
  white-space: nowrap;
  color: var(--ton-1);
  font: 500 13px/1.3 var(--font-manrope);   
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 340ms ease, translate 340ms ease;
  pointer-events: none;
}
:where(.dc-ram) .maskot-prat.is-synlig {
  opacity: 1;
  translate: -50% 0;
  pointer-events: auto;
  cursor: pointer;
}
:where(.dc-ram) .maskot-prat.is-bort { pointer-events: none; cursor: default;
}
:where(.dc-ram) .maskot-prat.is-tona { transition: opacity 220ms ease;
}
:where(.dc-ram) .maskot-prat.is-tona.is-bort { opacity: 0;
}
:where(.dc-ram) .maskot.is-tips .maskot-prat.is-tona { translate: 0 0;
}
:where(.dc-ram) .maskot.is-i-hornet:not(.is-gomd):hover { scale: 1.14;
}
:where(.dc-ram) .maskot.is-tips .maskot-prat { left: auto; right: 60%; translate: 0 4px; text-align: right;
}
:where(.dc-ram) .maskot.is-tips .maskot-prat.is-synlig { translate: 0 0;
}
:where(.dc-ram) .maskot-tecken {
  display: inline-block;
  opacity: 0;
  filter: blur(7px);
}
:where(.dc-ram) .maskot-prat.is-synlig .maskot-tecken {
  animation: maskot-tecken 520ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--in, 0ms) forwards;
}
:where(.dc-ram) .maskot-prat.is-glans.is-synlig:not(.is-bort) .maskot-tecken {
  color: transparent;
  background: linear-gradient(90deg, var(--n-8f8f8f) 0%, var(--n-8f8f8f) 34%, var(--n-ffffff) 50%, var(--n-8f8f8f) 66%, var(--n-8f8f8f) 100%);
  background-size: calc(var(--ord, 48px) * 3.2) 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation:
    maskot-tecken 520ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--in, 0ms) forwards,
    maskot-glans 1s linear infinite;
}
:where(.dc-ram) .maskot-prat.is-synlig.is-bort .maskot-tecken {
  animation: maskot-tecken-bort 420ms cubic-bezier(0.4, 0, 0.6, 1) var(--ut, 0ms) both;
}
:where(.dc-ram) .maskot-prat.is-tona .maskot-tecken,
:where(.dc-ram) .maskot-prat.is-tona.is-synlig .maskot-tecken,
:where(.dc-ram) .maskot-prat.is-tona.is-synlig.is-bort .maskot-tecken { animation: none; opacity: 1; filter: none;
}
:where(.dc-ram) .maskot .maskot-yr {
  opacity: 0;
  transition: opacity 260ms ease;
}
:where(.dc-ram) .maskot.is-yr .maskot-yr { opacity: 0.95;
}
@media (prefers-reduced-motion: reduce) {
:where(.dc-ram) .maskot-svav { animation: none;
}
:where(.dc-ram) .maskot-snark i { animation: none; opacity: 0.6;
}
:where(.dc-ram) .maskot-tecken,
:where(.dc-ram) .maskot-prat.is-synlig .maskot-tecken { animation: none; opacity: 1; filter: none;
}
:where(.dc-ram) .maskot-prat.is-synlig.is-bort .maskot-tecken { animation: none; opacity: 0;
}
:where(.dc-ram) .maskot-prat.is-glans.is-synlig:not(.is-bort) .maskot-tecken { animation: none; background: none; color: var(--ton-1);
}
:where(.dc-ram) .maskot .maskot-hjalm,
:where(.dc-ram) .maskot .maskot-oga,
:where(.dc-ram) .maskot .maskot-blund { transition: none;
}
}
:where(.dc-ram) .samtal::after { content: ''; flex: none; height: var(--luft, 0px);
}
:where(.dc-ram) .maskot-lyser {
  animation: maskot-lys-in 500ms ease-out both, maskot-lys-puls 1500ms ease-in-out 500ms infinite alternate;
  transition: color 200ms ease;
}
:where(.dc-ram) .maskot-lyste { transition: border-color 160ms ease, background-color 160ms ease, box-shadow 520ms ease, color 300ms ease, text-shadow 400ms ease, filter 520ms ease, --flik-linje 520ms ease;
}
:where(.dc-ram) .prompt-plus.maskot-lyser { color: #ffdc1a !important;
}
:where(.dc-ram) .maskot-lyser {
  box-shadow:
    0 0 0 1.5px rgba(255, 220, 26, calc(var(--lys-in) * (0.92 - 0.32 * var(--lys-puls)))),
    0 0 calc(18px + 14px * var(--lys-puls)) rgba(255, 220, 26, calc(var(--lys-in) * (0.26 + 0.16 * var(--lys-puls)))) !important;
}
@media (prefers-reduced-motion: reduce) {
:where(.dc-ram) .maskot-lyser { animation: none;
}
:where(.dc-ram) .maskot-lyser,
:where(.dc-ram) .maskot-lyste { transition: none;
}
}
:root[data-theme="light"] :where(.dc-ram) .fraga-svar { background: rgba(20, 22, 26, 0.05);
}
:where(.dc-ram) .andring {
  margin: 4px 0 14px;
  padding: 14px 16px 14px;
  border-radius: 14px;
  background: rgba(var(--vit), 0.045);
  font-family: var(--font);
}
:where(.dc-ram) .andring-topp { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 12.5px; color: var(--ton-2);
}
:where(.dc-ram) .andring-projekt { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
:where(.dc-ram) .andring-projekt .ikon { width: 13px; height: 13px; flex: none;
}
:where(.dc-ram) .andring-status { flex: none; padding: 3px 9px; border-radius: 999px; background: rgba(var(--vit), 0.07); font-size: 11.5px; font-weight: 600; color: var(--ton-1);
}
:where(.dc-ram) .andring-status.is-foreslagen { background: rgba(var(--gul-rgb, 242, 205, 96), 0.16); color: var(--c-gul);
}
:where(.dc-ram) .andring-status.is-godkand { background: rgba(106, 193, 114, 0.16); color: var(--c-gron);
}
:where(.dc-ram) .andring-status.is-nekad,
:where(.dc-ram) .andring-status.is-inaktuell { color: var(--ton-2);
}
:where(.dc-ram) .andring-text { margin: 0 0 10px; font-family: var(--font-manrope); font-size: 15px; line-height: 1.5; color: var(--n-f2f2f2);
}
:where(.dc-ram) .andring-rader { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums;
}
:where(.dc-ram) .andring-rader th,
:where(.dc-ram) .andring-rader td { padding: 4px 0; vertical-align: top; text-align: left; font-weight: 400;
}
:where(.dc-ram) .andring-rader th { padding-right: 10px; color: var(--ton-2); white-space: nowrap;
}
:where(.dc-ram) .andring-rader .is-fore { color: var(--ton-3);
}
:where(.dc-ram) .andring-rader .is-pil { width: 18px; padding: 4px 6px; color: var(--ton-3);
}
:where(.dc-ram) .andring-rader .is-efter { color: var(--ton-1); font-weight: 500;
}
:where(.dc-ram) .andring-rader tr.is-samma .is-efter { font-weight: 400; color: var(--ton-2);
}
:where(.dc-ram) .andring-rader tr.is-nyckel th { color: var(--ton-3);
}
:where(.dc-ram) .andring-skilj td { padding: 0; height: 8px; border-bottom: 1px solid rgba(var(--vit), 0.07);
}
:where(.dc-ram) .andring-skilj + tr th,
:where(.dc-ram) .andring-skilj + tr td { padding-top: 8px;
}
:where(.dc-ram) .andring-knappar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px;
}
:where(.dc-ram) .andring-knappar .fraga-knapp { padding: 9px 16px; font-size: 13.5px;
}
:where(.dc-ram) .andring-knappar .fraga-knapp[disabled] { opacity: 0.5; cursor: default;
}
:where(.dc-ram) .andring-beslut { margin: 10px 0 0; font-size: 12.5px; color: var(--ton-2);
}
:where(.dc-ram) .andring[data-status="nekad"],
:where(.dc-ram) .andring[data-status="inaktuell"] { opacity: 0.75;
}
:root[data-theme="light"] :where(.dc-ram) .andring { background: rgba(20, 22, 26, 0.045);
}
:where(.dc-ram) .samtal { overscroll-behavior-y: none;
}
:where(.dc-ram) .prompt-fil .prompt-chip-text { max-width: 180px; overflow: hidden; text-overflow: ellipsis; font-size: 14px;
}
:where(.dc-ram) .prompt-fil + .prompt-fil { margin-left: -2px;
}
:where(.dc-ram) .prompt.is-slapp { box-shadow: inset 0 0 0 1.5px rgba(var(--vit), 0.34), 0 1px 3px var(--sv-200); background: rgba(var(--vit), 0.06);
}
:where(.dc-ram) .samtal-filer { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; margin-top: 12px;
}
:where(.dc-ram) .samtal-dig:empty,
:where(.dc-ram) .samtal-filer.is-forst { margin-top: 0;
}
:where(.dc-ram) .samtal-fil { display: inline-flex; align-items: center; gap: 6px; max-width: 240px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(var(--vit), 0.08); font-size: 13px; color: var(--ton-1);
}
:where(.dc-ram) .samtal-fil .ikon { flex: none; width: 14px; height: 14px;
}
:where(.dc-ram) .samtal-fil span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
:where(.dc-ram) .maskot.maskot-liten { --maskot-bredd: 54px; border-radius: 14px;
}
:where(.dc-ram) .maskot.maskot-liten .maskot-svav { animation: none; translate: 0 0;
}
:where(.dc-ram) .hem-rubrik { margin: 0; font-family: "Array", var(--font-brand); font-size: 36px; line-height: 40px; font-weight: 400; letter-spacing: 0.01em; color: var(--sk-text); text-align: center; white-space: nowrap;
}
:where(.dc-ram) .hem-rubrik { position: relative;
}
:where(.dc-ram) .hem-rubrik-kvar { visibility: hidden;
}
:where(.dc-ram) .hem-rubrik-markor { position: absolute; margin-left: 0.08em; font-style: normal; animation: hem-markor 1.15s ease-in-out infinite;
}
:where(.dc-ram) .hem-rubrik.skrivs .hem-rubrik-markor { animation: none; opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
:where(.dc-ram) .hem-rubrik-markor { animation: none;
}
}
@keyframes spin { to { transform: rotate(360deg); }
}
@keyframes dc-markor { 50% { opacity: 0; }
}
@keyframes tanker-glans {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}
@keyframes samtal-in { from { opacity: 0; transform: translateY(8px); }
}
@keyframes rost-puls {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 87, 76, 0.5); }
  50%      { box-shadow: 0 0 0 9px rgba(232, 87, 76, 0); }
}
@keyframes maskot-svav {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -4px; }
}
@keyframes maskot-snark {
  0%   { opacity: 0; translate: 0 0; scale: 0.7; }
  18%  { opacity: 0.85; }
  100% { opacity: 0; translate: -24px -36px; scale: 1.3; }
}
@keyframes maskot-blink {
  0%, 100% { transform: scaleY(1); }
  40%, 60% { transform: scale(0.92, 0.04); }
}
@keyframes maskot-blink-fladder {
  0%, 100% { transform: scaleY(1); }
  10%, 16% { transform: scale(0.88, 0.04); }
  28%      { transform: scaleY(1); }
  40%, 46% { transform: scale(0.88, 0.04); }
  58%      { transform: scaleY(1); }
  70%, 80% { transform: scale(0.88, 0.04); }
}
@keyframes maskot-glans {
  from { background-position: calc(var(--ord, 48px) * -2.2 - var(--x, 0px)) 0; }
  to   { background-position: calc(0px - var(--x, 0px)) 0; }
}
@keyframes maskot-tecken {
  from { opacity: 0; filter: blur(7px); translate: 0 2px; }
  to   { opacity: 1; filter: blur(0);   translate: 0 0; }
}
@keyframes maskot-tecken-bort {
  from { opacity: 1; filter: blur(0);   translate: 0 0; }
  to   { opacity: 0; filter: blur(8px); translate: 0 -3px; }
}
@keyframes maskot-lys-in { from { --lys-in: 0; } to { --lys-in: 1; }
}
@keyframes maskot-lys-puls { from { --lys-puls: 0; } to { --lys-puls: 1; }
}
@keyframes hem-markor { 0%, 100% { opacity: 1; } 50% { opacity: 0.12; }
}

/* ==========================================================================
   Webbplatsens del — skrivet för hand, hör inte till appen
   --------------------------------------------------------------------------
   Ramen runt chatten, det som skiljer webbplatsen från appens inloggningssida
   (sidan rullar, ljust läge) och mobilen. Källan är
   "App OS/.claude/demochatt-egen.css"; demochatt-css.mjs lägger den sist i
   demochatt.css.
   ========================================================================== */

/* Array: raden över skrivrutan (appens skal.css). Indian Type Foundry,
   Fontshare — fri att använda (ITF Free Font License). */
@font-face {
  font-family: 'Array';
  src: url('fonts/Array-Regular.woff2') format('woff2'), url('fonts/Array-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Ramen: en rundad ruta i appens egen bottenfärg — mörk i mörkt läge, vit i
   ljust (variablerna ovan följer sidans tema). Grundtexten är densamma som
   på appens inloggningssida (body och .login-overlay), där chatten står. */
.dc-ram {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 40px);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: var(--n-101010);
  font-family: var(--font);
  font-size: 13.5px;
  line-height: 20px;
  color: var(--n-ffffff);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
:root[data-theme="light"] .dc-ram { box-shadow: 0 10px 30px rgba(20, 22, 26, 0.08); }

/* Chatten står mitt i ramen (i appen: till vänster på inloggningssidan). */
.dc-ram .dc { position: relative; justify-content: center; margin: 0; padding: 40px 0 32px; }

/* Sidan rullar som vanligt över rutan: samtalet tar inte emot hjul eller
   fingrar (i appen står sidan still och samtalet går att bläddra i). */
.dc-ram .dc .dc-samtal { pointer-events: none; }

/* Gubben står i rutan och följer med när sidan rullar (i appen: fast i
   fönstret). demochatt.js räknar platsen från rutans hörn. */
.dc-ram .maskot { position: absolute; right: auto; bottom: auto; }

/* Filerna som dras in har en fast mörk botten i appen: ljus i ljust läge. */
:root[data-theme="light"] .dc-ram .dc-drag-filer .samtal-fil { background: #ffffff; box-shadow: 0 6px 18px rgba(20, 22, 26, 0.16), 0 0 0 1px rgba(20, 22, 26, 0.08); }
:root[data-theme="light"] .dc-ram .dc-mus { filter: drop-shadow(0 1px 2px rgba(20, 22, 26, 0.3)); }

/* Plusset trycks när filerna läggs till i mobilen (demochatt.js: bifoga). */
.dc-ram .dc-prompt .prompt-plus { transition: scale 0.15s ease, background-color 0.15s ease; }
.dc-ram .dc-prompt.is-bifogar .prompt-plus { scale: 0.82; background: rgba(var(--vit), 0.1); }

/* ---------- Mobilen ----------
   Chatten fyller skärmens bredd i sin riktiga storlek, som en chatt i
   telefonen — inte en förminskad bild av datorns. */
@media (max-width: 720px) {
  .dc-ram { padding: 0 14px; border-radius: 16px; }
  .dc-ram .dc { padding: 20px 0 16px; }
  .dc-ram .dc-kort { --dc-h: 540px; width: 100%; }
  /* Raden över skrivrutan ryms på en rad. */
  .dc-ram .hem-rubrik { font-size: clamp(20px, 6.4vw, 30px); line-height: 1.2; }
  .dc-ram .dc .dc-samtal .samtal-dig { max-width: 88%; }
  .dc-ram .dc .dc-samtal .svar h2 { font-size: 22px; }
  /* Det man skriver bryts på flera rader och rutan växer, som i en chatt i
     telefonen. I början, när rutan står i mitten, växer den nedåt så att
     raden och gubben ovanför står still (--dc-prompt-h sätts av demochatt.js). */
  .dc-ram .dc .dc-prompt .prompt-text { height: auto; min-height: 36px; }
  .dc-ram .dc-prompt.is-skriver .dc-prompt-text { padding: 7px 0; line-height: 22px; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
  .dc-ram .dc-kort.is-start .dc-prompt { margin-bottom: calc(54px - var(--dc-prompt-h, 54px)); }
}
/* Höjden följer telefonens skärm där webbläsaren kan måttet (svh ändras inte
   när adressfältet glider undan, så rutan hoppar inte när man rullar). */
@supports (height: 1svh) {
  @media (max-width: 720px) {
    .dc-ram .dc-kort { --dc-h: clamp(460px, 76svh, 580px); }
  }
}
