/* ==========================================================================
   Fixpoint – Layout: randlose Bereiche, Kopfzeilen
   ========================================================================== */

/* ===== Redesign: randlose Bereiche wie Xurrent ===== */
.app-shell__content:has(> #view-hotline:not([hidden])) { padding: 0; gap: 0; }
#view-hotline > .head { display: none; }
#view-hotline .tool-grid { grid-template-columns: minmax(480px, 1fr) minmax(420px, 1fr); gap: 0; align-items: stretch; min-height: calc(100vh - 52px); }
#hl-form.card { border: 0 !important; border-right: 1px solid var(--c-line2) !important; border-radius: 0; padding: 0 0 var(--space-xl); gap: var(--space-sm); background: var(--c-bg2) !important; }
#hl-form > :not(.hl-strip) { margin-inline: var(--space-lg); }
#hl-form > .hl-top { margin-top: var(--space-sm); }
.hl-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); padding: 10px var(--space-lg) 12px; background: var(--c-bg3); color: var(--c-fg0); border-bottom: 1px solid var(--c-line2); }
.hl-strip span { display: block; font-size: 11.5px; opacity: 0.85; }
.hl-strip b { display: block; font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-hotline .tool-grid > .hl-out.card { position: sticky; top: 0; align-self: start; min-height: calc(100vh - 52px); border: 0 !important; border-radius: 0; background: var(--c-bg1) !important; padding: 0 0 var(--space-lg); gap: var(--space-md, 14px); }
.hl-out > :not(.hl-outhead) { margin-inline: var(--space-lg); }
.hl-outhead { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--space-lg); background: var(--c-bg0); border-bottom: 1px solid var(--c-line2); font-weight: 600; font-size: 15px; }
.hl-out .out-block__head { background: none; margin: 0; padding: 0; }
.hl-out .out-block { padding: var(--space-sm) var(--space-sm); border: 1px solid var(--c-line2); border-radius: 4px; background: var(--c-bg2); }
.hl-out .code-block { border: 0 !important; background: transparent !important; padding: 4px 0 0; font-family: var(--font-text); font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; }
.hl-out .empty { margin-top: 18vh; }
#hl-form .field > label, #hl-form .fmt-head label, #hl-form .field > .t-caption-strong { color: var(--c-fg2); font-weight: 500; }


/* Kopfzeile: Titel links, Aktionen rechts; Hotline ohne Abstand zwischen Bereichen */
.app-shell__bar { justify-content: space-between; }
#view-hotline.stack { gap: 0; }

/* Bis alle Skripte gelaufen sind: nichts zeigen, damit keine Platzhalter aufblitzen (boot.js / main.js) */
html.is-booting body { visibility: hidden; }

/* Leiste „Neue Version verfügbar“ unten in der Mitte */
.update-bar { position: fixed; left: 50%; bottom: 20px; z-index: 900; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; transform: translateX(-50%); border: 1px solid var(--c-line3); border-radius: 10px; background: var(--c-bg3); color: var(--c-fg0); box-shadow: 0 8px 28px rgba(0, 0, 0, .35); font-weight: 500; }
.update-bar[hidden] { display: none; }
@media (max-width: 560px) { .update-bar { left: 12px; right: 12px; transform: none; justify-content: space-between; } }
