/* ══════════════════════════════════════════════════════════════
   station-surfaces.css — the routed full-screen Station surfaces
   that live outside the public scroll spine: Login (auth/Login),
   Envoy onboarding (envoy/EnvoyOnboarding), Editor (sections/editor),
   Profile (frames/Profile), Contract (sign). Plus the GlobalNav
   floating pills that let you reach them. Tokens are the real ramp.
   ══════════════════════════════════════════════════════════════ */

/* ── surface base: full-viewport routed frame over the scene ── */
.st-surface { position: fixed; inset: 0; z-index: 60; display: none; }
.st-surface.open { display: block; }
.st-surface .surface-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; }

/* ── GlobalNav — left vertical dock (fragments/menus/GlobalNav.svelte) ── */
.indicator-holder { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 1200; mix-blend-mode: exclusion; border-radius: 100px; transition: backdrop-filter .4s ease, border-radius .4s var(--ease-out), padding .4s var(--ease-out); }
.indicator-holder[hidden] { display: none; }
.indicator-holder.expanded { backdrop-filter: blur(6px); border-radius: 24px; padding: 6px 12px 6px 0; }
.global-nav-dock { display: flex; flex-direction: column; background: transparent; }
.global-nav-dock .dock-content { display: flex; flex-direction: column; justify-content: center; }
.global-nav-dock .dock-top, .global-nav-dock .dock-bottom { display: flex; flex-direction: column; }
.gn-ind { display: flex; align-items: center; gap: 0; height: 56px; min-width: 56px; padding: 0 16px; border: 0;
  background: transparent; color: var(--40); cursor: pointer; border-radius: var(--r-cap); white-space: nowrap;
  transition: color var(--dur-base) var(--ease-out); }
.gn-ind:hover { color: var(--100); }
.gn-toggle { color: var(--60); opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.indicator-holder:hover .gn-toggle { opacity: 1; pointer-events: auto; }
.gn-ind [data-orbit] { width: 24px; height: 24px; flex-shrink: 0; }
.gn-lbl { font-size: 15px; font-weight: 200; max-width: 0; overflow: hidden; opacity: 0; margin-left: 0; transition: max-width .35s var(--ease-out), opacity .25s ease, margin-left .35s var(--ease-out); }
.indicator-holder.expanded .gn-lbl { max-width: 160px; opacity: 1; margin-left: 16px; }
body.logged-in #st-globalnav [data-gn="login"] { display: none; }

/* ── Legal + Darstellung modals ── */
.st-modal { position: fixed; inset: 0; z-index: 1400; display: none; align-items: center; justify-content: center;
  background: var(--inv-60); backdrop-filter: blur(8px); padding: 24px; }
.st-modal.open { display: flex; }
.st-modal-card { position: relative; width: min(680px, 100%); max-height: 84vh; overflow-y: auto;
  background: var(--inv-100); border: 1px solid var(--10); border-radius: var(--r-lg); padding: 40px 44px; box-shadow: 0 30px 90px var(--inv-40); }
.st-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 999px; border: 0;
  background: transparent; color: var(--40); cursor: pointer; display: grid; place-items: center; }
.st-modal-close:hover { color: var(--100); background: var(--5); }
.st-modal-close [data-orbit] { width: 16px; height: 16px; }
.st-modal-body h2 { font-weight: 180; font-size: clamp(26px, 3vw, 38px); letter-spacing: -1px; margin: 0 0 20px; color: var(--100); }
.st-modal-body h3 { font-weight: 400; font-size: 14px; color: var(--100); margin: 22px 0 6px; }
.st-modal-body p { color: var(--60); font-weight: 200; line-height: 1.7; margin: 0 0 10px; }
.st-modal-body .mono { font-family: var(--f-mono); font-size: 13px; color: var(--80); }
.dst-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--5); }
.dst-row .lbl { color: var(--100); font-size: 15px; }
.dst-seg { display: flex; gap: 4px; background: var(--5); border-radius: var(--r-cap); padding: 4px; }
.dst-seg button { border: 0; background: transparent; color: var(--60); font: inherit; font-size: 13px; padding: 7px 16px; border-radius: var(--r-cap); cursor: pointer; }
.dst-seg button.on { background: var(--100); color: var(--inv-100); }

/* ════ Login surface (auth/Login.svelte + @orbit/ui Login) ════ */
.login-container {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: calc(100vh - 48px); width: calc(100% - 48px); padding: 24px; position: relative;
  background-color: transparent;
}
.login-container .form-row {
  position: absolute; z-index: 20; display: flex; align-items: center; gap: 6px;
  width: calc(100% - 48px); max-width: 550px; margin: 0 auto;
}
.login-container .form-row[hidden] { display: none; }
.login-container .input-container { flex: 1; position: relative; width: calc(100% - 24px); margin: 0 auto; max-width: 500px; }
.lf-row { display: flex; align-items: center; gap: 6px; width: 100%; }

/* Input atom — converged to the canonical @orbit/ui Input
   (single source: orbit-primitives.css `.field`). bg --inv-100,
   border-bottom 2px --5, canon label-lift + weight/letter-spacing. */
.st-input { position: relative; flex: 1; height: 62px; border-radius: 24px; box-sizing: border-box;
  background: var(--inv-100); backdrop-filter: blur(3px); border: 0; border-bottom: 2px solid var(--5); overflow: hidden;
  display: flex; align-items: center; gap: 6px; padding: 4px 18px; transition: background var(--dur-base) ease, box-shadow var(--dur-base) ease; }
.st-input:hover { background: var(--2); }
.st-input:focus-within { background: var(--inv-100); box-shadow: var(--glow); }
.st-input input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; z-index: 1; padding-left: 7px;
  color: var(--100); font-family: var(--f-sans); font-weight: 100; letter-spacing: 1.07px; font-size: 14px; line-height: 24px; }
.st-input input::placeholder { color: transparent; }
/* kill the browser autofill white-fill flash on focus/click — keep the field transparent */
.st-input input:-webkit-autofill,
.st-input input:-webkit-autofill:hover,
.st-input input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--100); caret-color: var(--100);
  transition: background-color 9999s ease-out 0s; }
.st-input label { position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
  color: var(--40); pointer-events: none; font-family: var(--f-sans); font-size: clamp(14px, 3vw, 16px); font-weight: 180; letter-spacing: .16px;
  transform-origin: left center; transition: top var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), color var(--dur-base) ease; }
.st-input input:focus ~ label, .st-input input:not(:placeholder-shown) ~ label {
  top: 10px; transform: translateY(-50%) scale(.72); color: var(--40); }
/* icon-button atom — canonical @orbit/ui Button icon-only (36px, radius 6,
   transparent, hover --2 + soft drop + blur). Single source: orbit-primitives.css. */
.st-iconbtn { width: 36px; height: 36px; flex-shrink: 0; border-radius: 6px; border: 0;
  background: transparent; color: var(--60); display: grid; place-items: center; cursor: pointer;
  transition: color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.st-iconbtn:hover { color: var(--80); background: var(--2); box-shadow: 6px 12px 48px 0 var(--inv-5); backdrop-filter: blur(6px); }
.st-iconbtn [data-orbit] { width: 18px; height: 18px; }
/* in-field trailing action = canonical Input `.trail-btn` (36 circle, var(--2)) */
.st-input .st-iconbtn { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 24px; background: var(--2); color: var(--40); }
.st-input .st-iconbtn:hover { background: var(--4); color: var(--100); }
.st-input .st-iconbtn [data-orbit] { width: 20px; height: 20px; }
.login-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--5);
  margin-right: 12px; cursor: pointer; transition: background .2s ease; flex-shrink: 0; }
.login-avatar:hover { background: var(--10); }
.legal-consent { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center;
  font-size: 12px; line-height: 1.4; color: var(--10); }
.legal-consent a { color: var(--10); text-decoration: underline; }
.login-error { margin-top: 12px; color: var(--100); font-size: 13px; text-align: center; }

/* QR / NFC panel (auth/QrLoginPanel.svelte) — no card chrome: the stylized QR
   + timer float directly on the blurred backdrop. */
.qr-backdrop { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center;
  background: var(--inv-60); backdrop-filter: blur(10px); }
.qr-close { position: absolute; top: 24px; right: 24px; }
.qr-stack { display: flex; flex-direction: column; align-items: center; gap: 28px;
  color: var(--100); text-align: center; }
.qr-head h2 { font-weight: 180; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.5px; margin: 0 0 10px; }
.qr-head .muted { color: var(--60); font-size: 13px; font-weight: 200; max-width: 300px; margin: 0 auto; line-height: 1.5; }
.qr-img { width: 280px; height: 280px; display: grid; place-items: center; }
.qr-img svg, .qr-img canvas { width: 100%; height: 100%; filter: drop-shadow(0 0 26px rgba(255,255,255,.14)); }
.qr-countdown { font-size: 12px; color: var(--40); letter-spacing: .04em; font-weight: 200; margin: 0; }
.qr-countdown .tnum { color: var(--80); font-family: var(--f-mono); }

/* ════ Profile (frames/Profile.svelte) ════ */
.surface-scroll { background: linear-gradient(180deg, var(--inv-40), var(--inv-80)); }
#surface-profile .surface-scroll { background: none; }
#profile-wrapper { width: 100%; position: relative; z-index: 5; }
.profile-container { position: relative; width: 100%; }

/* HEADER — 100dvh, full-bleed avatar (Float) + radial vignette + Editor headerTitle page */
.profile-header { height: 100dvh; width: 100%; position: relative; z-index: 1; }
.profile-image-container { display: flex; justify-content: center; align-items: center; height: 100%; flex-direction: column; position: relative; }
.profile-image-container::before { content: ""; position: absolute; inset: -2px; z-index: 2; pointer-events: none;
  background: radial-gradient(50% 68.75% at 50% 31.25%, transparent 30%, rgba(0,0,0,.25) 40%, rgba(0,0,0,1) 80%); }
.profile-image { height: 100%; width: auto; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 1; pointer-events: none; object-fit: contain; object-position: bottom center; }
.profile-image-content { z-index: 15; position: absolute; bottom: clamp(110px, 17vh, 215px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.profile-title { text-align: center; }
.profile-title .profile-blocks .text-container { padding: 0 !important; min-height: auto; }
.profile-title h1 { font-weight: 180; font-size: clamp(40px, 6.5vw, 92px); letter-spacing: -2px; margin: 0; color: var(--100); }
.profile-title .p { color: var(--60); font-family: var(--f-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-top: 8px; justify-content: center; }

/* background-profile — black wrapper behind the editor chain; bottom fades out
   so there is no hard seam into the public gallery (which sits on the scene) */
.background-profile { position: relative; z-index: 3; margin-top: -4px;
  background: linear-gradient(to bottom,
    var(--inv-100) 0,
    var(--inv-100) calc(100% - 640px),
    rgba(0,0,0,0.92) calc(100% - 560px),
    rgba(0,0,0,0.72) calc(100% - 460px),
    rgba(0,0,0,0.42) calc(100% - 320px),
    rgba(0,0,0,0.15) calc(100% - 180px),
    rgba(0,0,0,0.04) calc(100% - 80px),
    rgba(0,0,0,0) 100%); }

/* read-only Editor pages (header/quote/wisdom/table) — mirrors editor.scss + EditorText view mode */
.profile-blocks { display: flex; flex-direction: column; width: 100%; }
.profile-blocks .blocks-container { margin: 0 auto; width: 100%; display: flex; flex-direction: column; padding-top: 0; }
.profile-blocks .block-wrapper { position: relative; width: 100%; }
.profile-blocks .text-container { position: relative; display: flex; flex-direction: column; justify-content: flex-start;
  width: min(820px, calc(100% - 56px)) !important; max-width: min(820px, calc(100% - 56px)) !important; margin: 0 auto !important;
  padding: 8px 0 !important; box-sizing: border-box; min-height: auto; }
.profile-blocks .text-subcontainer { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; }
.profile-blocks .text-container .p { width: 100%; line-height: 1.7; color: var(--80); font-weight: 200; font-size: clamp(18px, 1.7vw, 22px); }
.profile-blocks .text-container h1, .profile-blocks .text-container h2, .profile-blocks .text-container h3 { width: 100%; }

/* QUOTE — Editor profile-1 */
.profile-quote { position: relative; z-index: 13; }
.quote-content { width: 100%; padding: 240px 0; display: flex; justify-content: center; align-items: center; }
#quote .profile-blocks .text-container h2 { font-weight: 180; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.32; letter-spacing: -1px; color: var(--80); text-align: center; }

/* WISDOM — Editor profile-2 */
.editor-container { width: 100%; padding: 240px 0; display: flex; justify-content: center; align-items: center; position: relative; z-index: 13; }

/* TABLE — Editor profile-3 */
.table-container { margin-top: 240px; position: relative; z-index: 13; padding-bottom: 140px; }
/* image-background entry (text-block with backgroundImage) */
.profile-blocks .text-block.has-bg-block .text-container { width: min(1080px, calc(100% - 56px)) !important; max-width: min(1080px, calc(100% - 56px)) !important;
  border-radius: var(--r-lg); overflow: hidden; justify-content: flex-end; padding: 0 !important; }
.profile-blocks .text-container.has-bg { background-color: var(--inv-100); }
.profile-blocks .text-block.has-bg-block .text-subcontainer { padding: 48px; }
.profile-blocks .text-block.has-bg-block h2 { font-weight: 180; font-size: clamp(26px, 3vw, 42px); line-height: 1.25; letter-spacing: -1px; color: var(--100); text-shadow: 0 2px 24px rgba(0,0,0,.85); }

/* CONTACT footer instance inside the profile */
.footer-container { position: relative; z-index: 13; }
.profile-footer { min-height: auto; padding: 120px 24px 96px; }

/* ════ Project frame (frames/ProjectFrame.svelte) ════ */
.project-hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; padding: 0 clamp(36px,7vw,120px) 64px; overflow: hidden; }
.project-hero .ph-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero .ph-veil { position: absolute; inset: 0; background: linear-gradient(transparent 30%, var(--inv-80)); }
.project-hero .ph-inner { position: relative; z-index: 2; max-width: 800px; }
.project-hero .ph-eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--60); }
.project-hero h1 { font-weight: 180; font-size: clamp(40px,6vw,84px); letter-spacing: -2px; line-height: 1.02; margin: 14px 0 0; }
.project-hero .ph-who { color: var(--60); font-family: var(--f-mono); font-size: 13px; margin-top: 14px; }
.project-pages { max-width: 1000px; margin: 0 auto; padding: 56px 24px 120px; }
.project-pages .pp-eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--40); margin-bottom: 18px; }
.pp-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--5); color: var(--80); }
.pp-row [data-orbit] { width: 18px; height: 18px; color: var(--40); }
.pp-row .tag { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--40); }
.pp-row .tag.ok { color: var(--100); }
.pp-row .tag.rev { color: var(--100); }

/* GALLERY container */
.gallery-container { position: relative; z-index: 13; }
.profile-gallery-sec { width: 100%; position: relative; }

/* LOCATION — two-card 640px (Profile.svelte), right card image ⇄ Leaflet map */
.location-container { width: 100%; display: flex; justify-content: center; align-items: center; padding: 60px 0; }
.location-card { position: relative; height: 640px; width: calc(100% - 48px); max-width: 1320px; margin: 0 auto; padding: 0 24px; display: flex; gap: 24px; box-sizing: border-box; }
.left-card-container, .right-card-container { position: relative; width: 100%; max-width: 640px; height: 100%; border-radius: 24px; background: rgba(0,0,0,.4); overflow: hidden; box-shadow: 0 4px 4px rgba(0,0,0,.25); }
.left-card-container { opacity: .6; transition: opacity .2s ease; }
.left-card-container:hover { opacity: 1; }
.left-card-container .card-img-holder { width: 100%; height: 100%; position: relative; z-index: 1; }
.right-card-container { display: flex; justify-content: flex-end; align-items: flex-end; max-width: unset; }
.card-img, .card-map { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; top: 0; left: 0; filter: blur(0); transition: filter .2s ease, opacity .2s ease; z-index: 1; }
.left-card-container:hover ~ .right-card-container .card-img,
.left-card-container:hover ~ .right-card-container .card-map { filter: blur(5px); opacity: .6; }
.reset-btn.card-img-btn { width: 100%; height: 100%; padding: 0; border: none; background: none; cursor: pointer; }
.card-img-control { padding: 48px; position: absolute; bottom: 0; display: flex; align-items: center; width: calc(100% - 96px); justify-content: space-between; z-index: 2; pointer-events: none; }
.age-text { position: absolute; transform: translateX(-50%); left: 50%; font-weight: 180; font-size: clamp(32px, 4vw, 56px); letter-spacing: -1px; margin: 0; color: var(--100); }
.right-card-container .card-img-control { justify-content: flex-end; }
.right-card-container .card-img-control h3 { font-weight: 180; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -1px; margin: 0; color: var(--100); pointer-events: auto; cursor: pointer; }
@media (max-width: 760px) { .location-card { flex-direction: column; height: auto; gap: 48px; } .left-card-container, .right-card-container { height: 480px; max-width: 100%; } .ep-grid { grid-template-columns: 1fr; } }
.leaflet-container { background: var(--inv-100); }
.dark-popup .leaflet-popup-content-wrapper { background: var(--inv-100); color: var(--100); border: 1px solid var(--10); border-radius: var(--r-md); box-shadow: 0 8px 24px var(--inv-40); backdrop-filter: blur(8px); }
.dark-popup .leaflet-popup-content { margin: 8px 12px; font-family: var(--f-sans); font-size: 12px; }
.dark-popup .leaflet-popup-content a { color: var(--100); text-decoration: none; }
.dark-popup .leaflet-popup-tip { background: var(--inv-100); border: 1px solid var(--10); }

/* GalleryProfile — logged-in case LIST (search · pinned · Accordion year groups · archive) */
.list-section { width: min(900px, calc(100% - 48px)); margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; gap: 12px; justify-content: center; align-items: center; position: relative; padding: 60px 0; }
.list-section .unarchived-dropzone { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.search-container { width: 100%; }
.search-container .pgal-input { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px; border-radius: var(--r-cap); background: var(--2); backdrop-filter: blur(3px); box-sizing: border-box; }
.search-container .pgal-input [data-orbit] { width: 18px; height: 18px; color: var(--40); flex-shrink: 0; }
.search-container .pgal-input input { flex: 1; background: none; border: 0; outline: 0; color: var(--100); font: inherit; font-size: 15px; font-weight: 200; }
.search-container .pgal-input input::placeholder { color: var(--40); }
/* Accordion year group — mirrors @orbit/ui Accordion: inv-60 header bar, dot icon, mix-blend title, flip chevron */
.pgal-acc { width: 100%; position: relative; display: flex; flex-direction: column; }
.pgal-acc .accordion-header { height: 48px; display: flex; align-items: center; padding: 12px 0; background: var(--inv-60); border-radius: 6px; transition: background .2s ease; }
.pgal-acc .accordion-header .btn { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; cursor: pointer; padding: 0 14px; color: var(--60); font: inherit; }
.pgal-acc .accordion-header .icon-container { display: inline-flex; }
.pgal-acc .accordion-header .icon-container [data-orbit] { width: 14px; height: 14px; color: var(--40); }
.pgal-acc .accordion-header .title-text { flex: 1; text-align: left; font-size: 15px; font-weight: 480; color: var(--80); mix-blend-mode: exclusion; }
.pgal-acc .accordion-header .acc-chevron { width: 16px; height: 16px; color: var(--40); transform: rotate(90deg); transition: transform .2s var(--ease-out); }
.pgal-acc.open .accordion-header .acc-chevron { transform: rotate(-90deg); }
.pgal-acc .accordion-content { overflow: hidden; max-height: 0; transition: max-height .25s var(--ease-out); }
.pgal-acc.open .accordion-content { max-height: 5000px; }
.pgal-acc .inner-content { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.no-archive { color: var(--40); font-weight: 200; font-size: 13px; padding: 14px 4px; }
.accordion-item-holder { position: relative; width: 100%; cursor: pointer; }
.accordion-item-holder:hover .accordion-item { transform: scale(1.01); border-radius: 36px; opacity: 1; }
.accordion-item { position: relative; width: 100%; border: 1px solid var(--inv-10); border-radius: 24px; overflow: hidden; opacity: .8; transition: transform .2s ease, border-radius .2s ease, opacity .2s ease; }
.accordion-item .item-image { width: 100%; height: 84px; display: flex; }
.accordion-item .item-image img, .accordion-item .item-image video, .accordion-item .item-image .gmedia { width: 100%; height: 100%; object-fit: cover; }
.item-info { position: absolute; z-index: 20; display: flex; top: 0; align-items: center; justify-content: space-between; width: calc(100% - 24px); height: 100%; padding: 0 12px; }
.item-info .item-sub-container { display: flex; align-items: center; width: max-content; height: 100%; }
.item-info .overlay-subcontainer { display: flex; align-items: center; gap: 10px; }
.item-info .gallery-title-text { margin: 0; color: var(--20); font-weight: 200; font-size: clamp(16px, 1.6vw, 22px); mix-blend-mode: exclusion; transition: color .2s; }
.accordion-item-holder:hover .gallery-title-text { color: var(--100); }
.list-section .gallery-background-blur { position: absolute; inset: 0; z-index: -1; border-radius: 24px; }
.list-section .gallery-background-blur img, .list-section .gallery-background-blur video, .list-section .gallery-background-blur .gmedia { width: 100%; height: 100%; object-fit: cover; filter: blur(80px) brightness(.2); transform: scale(1.1); }
/* public GalleryPublic at the END of the profile — the exact front-page gallery */
.profile-public-gallery { position: relative; height: 100dvh; z-index: 13; overflow: visible; }
.profile-public-gallery .gallery-section { overflow: visible; }

/* ════ Envoy onboarding pre-flight hero (envoy/EnvoyOnboarding) ════
   The OrbitScene is inverted to paper-white behind this surface
   (body.envoy-active), so ink here is DARK (--inv-* ramp). */
.envoy-hero { position: absolute; inset: 0; display: flex; align-items: center; }
/* astronaut is a full-bleed BACKGROUND layer behind the form (not its own column) */
.envoy-astra { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.envoy-astra img { height: 94%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom center; transform: scaleX(-1); }
.envoy-form { position: relative; z-index: 3; width: 100%; max-width: 760px; padding: 0 clamp(36px, 7vw, 140px); }
/* all envoy onboarding text reads via mix-blend exclusion over the inverted scene + astronaut */
#surface-envoy .conv-step h3,
#surface-envoy .conv-prompt,
#surface-envoy .ready-pitch,
#surface-envoy .ready-pitch strong,
#surface-envoy .conv-aside,
#surface-envoy .ready-orbit-mark { mix-blend-mode: exclusion; color: #fff; }
.conv-stage { position: relative; min-height: 280px; }
.conv-step { display: flex; flex-direction: column; gap: 18px; }
.conv-step[hidden] { display: none; }
.conv-row { display: flex; align-items: center; gap: 14px; }
.conv-row.end { align-items: flex-end; }
.conv-step h3 { margin: 0; font-weight: 180; font-size: clamp(40px, 5vw, 72px); letter-spacing: -2px; color: var(--inv-100); }
.conv-actions { display: flex; gap: 8px; }
/* light-hero input variant (dark ink, dark hairline) */
.st-input.lite { background: var(--inv-2); border-color: var(--inv-10); height: 56px; }
.st-input.lite input { color: var(--inv-100); }
.st-input.lite label { color: var(--inv-40); }
.st-input.lite:focus-within { border-color: var(--inv-40); box-shadow: 0 0 5px var(--inv-20); }
.st-iconbtn.dark { color: var(--inv-60); }
.st-iconbtn.dark:hover { color: var(--inv-100); background: var(--inv-5); }
.conv-prompt { margin: 0 0 18px; font-weight: 180; font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -1.5px; color: var(--inv-100); }
.ready-pitch { margin: 0 0 32px; max-width: 560px; font-weight: 200; font-size: 20px; line-height: 1.5; color: var(--inv-80); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ready-pitch strong { font-weight: 480; color: var(--inv-100); }
.ready-orbit-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--inv-100); }
.ready-orbit-mark [data-orbit] { width: 36px; height: 36px; }
/* hold-to-launch CornerStone + ring */
.hold-launch-wrap { position: relative; width: max-content; cursor: pointer; user-select: none; }
.hold-ring { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); transform: rotate(-90deg); pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.hold-launch-wrap.holding .hold-ring { opacity: 1; }
.hold-ring .ring-track { fill: none; stroke: var(--inv-10); stroke-width: 1.5; }
.hold-ring .ring-progress { fill: none; stroke: var(--inv-100); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 301.6; stroke-dashoffset: 301.6; }
.cornerstone { border: 0; border-radius: 48px; padding: 14px 40px; font-family: var(--f-sans); font-weight: 200;
  font-size: 17px; letter-spacing: .3px; cursor: pointer; display: inline-flex; align-items: center; gap: 12px;
  background: var(--100); color: var(--inv-80); transition: filter var(--dur-base) var(--ease-out); }
.cornerstone.inverted { background: var(--inv-100); color: var(--100); box-shadow: 0 0 15px var(--inv-40), 0 0 15px var(--inv-40), 0 0 15px var(--inv-40); }
.cornerstone.glass { background: transparent; color: var(--100); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--20); }
.cornerstone.glass:hover { box-shadow: inset 0 0 0 1px var(--40); }
.cornerstone [data-orbit] { width: 18px; height: 18px; }
.conv-aside { margin: 22px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .5px; color: var(--inv-40); }
/* the launch CTA is the holdable triple cornerstone — fixed 320px width,
   not stretched by the conv column's align-items:stretch */
#ev-cta.cornerstone.holdable { width: 320px; max-width: 100%; min-width: 0; align-self: flex-start; }
.hero-nav { position: absolute; left: 28px; bottom: 28px; z-index: 4; }

/* ignition → launch reveal (EnvoyOnboarding launch phase) — VERBATIM behaviour:
   the LaunchScene is mounted + preloaded on onboarding-open but stays HIDDEN
   (opacity 0); it is NOT a visible backdrop. Hold-to-launch rips it open via a
   noisy 96-vertex polygon mask that grows from the CTA, while the onboarding
   chrome (form · astronaut · nav) departs. .flying = mask cleared, scene full. */
.envoy-launch { position: absolute; inset: 0; z-index: 50; opacity: 0; pointer-events: none;
  will-change: clip-path, opacity; transition: opacity .4s ease; }
.envoy-launch.armed { opacity: 0; pointer-events: none; }      /* preloaded, still hidden */
.envoy-launch.on { opacity: 1; pointer-events: auto; }         /* revealing → flying */
.envoy-launch.flying { clip-path: none !important; }
/* the verbatim LaunchScene canvas (inserted as first child) fills the layer */
#envoy-launch .launch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }

/* the onboarding chrome departs over the launch so only the scene remains
   (operator: "we see all disappear over the course of the launch") */
#surface-envoy.launch-triggered .envoy-form,
#surface-envoy.launch-triggered .hero-nav { opacity: 0; pointer-events: none;
  transition: opacity .55s ease; }
#surface-envoy.launch-triggered .envoy-astra { opacity: 0; pointer-events: none;
  transform: translateX(12%) rotate(2deg); filter: blur(8px);
  transition: opacity .55s linear, transform .55s linear, filter .55s linear; }

/* DS in-flight narrative — a RICH set of varied beats (hero · statement · grid ·
   giant-stat · console manifest), paced to the rocket's pad→dock journey. NOT a
   monotone tag/h2/p list. Monochrome, Lexend 180, exclusion text over the scene. */
.launch-scroll { position: absolute; inset: 0; z-index: 1; overflow-y: auto; overflow-x: hidden;
  opacity: 0; pointer-events: none; scrollbar-width: thin; scrollbar-color: var(--20) transparent; }
.envoy-launch.flying .launch-scroll { opacity: 1; pointer-events: auto; }
.launch-scroll::-webkit-scrollbar { width: 3px; }
.launch-scroll::-webkit-scrollbar-thumb { background: var(--20); }

.launch-panel { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center;
  gap: 18px; padding: clamp(40px, 7vw, 150px); color: #fff; }
.launch-panel.al-left   { align-items: flex-start; text-align: left; }
.launch-panel.al-right  { align-items: flex-end;   text-align: right; }
.launch-panel.al-center { align-items: center;     text-align: center; }
.launch-panel > * { max-width: 560px; }

/* eyebrow (mono meta, reads on the scene via exclusion) */
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--60); mix-blend-mode: exclusion; }
.lp-eyebrow [data-orbit] { width: 15px; height: 15px; }

/* headings + body */
.launch-panel h2 { margin: 0; font-family: var(--f-sans); font-weight: 180; line-height: 1.04; letter-spacing: -1px;
  color: #fff; mix-blend-mode: exclusion; }
.launch-panel p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.55; font-size: clamp(15px, 1.4vw, 18px); }
.launch-panel p .hl { color: #fff; }

/* HERO — big centered statement, scene-forward (pad + dock) */
.lp-hero h2 { font-size: clamp(52px, 8vw, 116px); letter-spacing: -2.5px; }
.lp-hero .lp-sub { font-size: clamp(16px, 1.6vw, 20px); color: rgba(255,255,255,.78); max-width: 520px; }

/* STATEMENT — medium headline + one supporting line */
.lp-statement h2 { font-size: clamp(34px, 5vw, 68px); letter-spacing: -1.4px; max-width: 660px; }
.lp-statement p { max-width: 480px; }
.lp-statement.lp-quiet h2 { font-size: clamp(28px, 3.4vw, 46px); }
.lp-statement.lp-quiet p { color: rgba(255,255,255,.58); }

/* GRID — product / service tiles (canon Card: faint bg + hairline, glassy) */
.lp-grid h2 { font-size: clamp(30px, 4vw, 54px); letter-spacing: -1.2px; }
.lp-tiles { list-style: none; margin: 10px 0 0; padding: 0; width: 100%; max-width: 700px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-tiles.lp-tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 600px; }
.al-right .lp-tiles { margin-left: auto; }
.lp-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-align: left;
  background: var(--2); border: 1px solid var(--5); border-radius: var(--r-md); backdrop-filter: blur(5px);
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out); }
.lp-tile:hover { background: var(--5); border-color: var(--10); }
.lp-tile-name { font-size: 16px; font-weight: 200; color: var(--100); }
.lp-tile-line { font-size: 13px; line-height: 1.4; color: var(--60); }

/* STAT — the commission hook as a giant number */
.lp-stat .lp-bignum { display: inline-flex; align-items: flex-start; font-family: var(--f-sans); font-weight: 180;
  line-height: .9; letter-spacing: -4px; font-size: clamp(120px, 22vw, 300px); color: #fff; mix-blend-mode: exclusion; }
.lp-stat .lp-unit { font-size: .42em; font-weight: 200; margin-top: .16em; letter-spacing: -1px; }
.lp-stat .lp-sub { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.75); max-width: 480px; }

/* MANIFEST — console-style key→value spec block */
.lp-manifest h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -1.2px; }
.lp-rows { margin: 12px 0 0; padding: 0; width: 100%; max-width: 600px; display: flex; flex-direction: column; }
.lp-row { display: flex; align-items: baseline; gap: 20px; padding: 14px 2px; border-top: 1px solid var(--10); }
.lp-row:last-child { border-bottom: 1px solid var(--10); }
.lp-row .k { flex: 0 0 32%; margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--60); }
.lp-row .v { margin: 0; font-size: 15px; line-height: 1.4; color: var(--100); }

.lp-cta { margin-top: 10px; }

@media (max-width: 860px) {
  .envoy-hero { grid-template-columns: 1fr; }
  .envoy-astra { display: none; }
  .lp-tiles, .lp-tiles.lp-tiles-2 { grid-template-columns: 1fr 1fr; }
  .lp-row { flex-direction: column; gap: 2px; }
  .lp-row .k { flex: none; }
}

/* ═══════════════════════════════════════════════════════════════
   IN-FLIGHT NARRATIVE v2 — choreographed to the rocket's pad→dock
   flight (per-beat min-height proportions match mappings.ts phase
   widths), built from CANON components instead of lp-* text divs.
   ═══════════════════════════════════════════════════════════════ */

/* component beats run wider than the 560px text column */
.launch-panel.lp-wide > * { max-width: 820px; }
.lp-wide h2 { font-size: clamp(30px, 4.2vw, 56px); letter-spacing: -1.2px; }

/* ── reveal: content fades in as its flight phase arrives (opacity
   only — never transform; StationFloat owns transform on these nodes) ── */
.envoy-launch.flying [data-lp-fade] { opacity: 0; transition: opacity .85s var(--ease-out); }
.envoy-launch.flying .lp-in [data-lp-fade] { opacity: 1; }
[data-lp-fade="2"] { transition-delay: .09s; }
[data-lp-fade="3"] { transition-delay: .20s; }
[data-lp-fade="4"] { transition-delay: .34s; }

/* ── headline word cascade ("types in" per phase). Word spans are NOT
   floated, so translate here is free of StationFloat ── */
.envoy-launch.flying h2[data-lp-type] { opacity: 1; }
.lp-w { display: inline-block; opacity: 0; transform: translateY(.55em);
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.lp-in .lp-w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .envoy-launch.flying [data-lp-fade], .lp-w { opacity: 1 !important; transform: none !important; }
}

/* ── ECOSYSTEM — product cards (canon Card glass + glyph + status dot) ── */
.lp-eco { list-style: none; margin: 16px 0 0; padding: 0; width: 100%; max-width: 760px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.al-right .lp-eco { margin-left: auto; }
.lp-eco-card { display: flex; flex-direction: column; gap: 9px; padding: 18px; text-align: left;
  background: var(--2); border: 1px solid var(--5); border-radius: var(--r-md); backdrop-filter: blur(6px);
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out); }
.lp-eco-card:hover { background: var(--5); border-color: var(--10); }
.lp-eco-top { display: flex; align-items: center; justify-content: space-between; }
.lp-eco-top [data-orbit] { width: 22px; height: 22px; color: var(--80); }
.lp-eco-top .orb-status-dot { font-family: var(--f-mono); font-size: 9px; letter-spacing: .4px; text-transform: uppercase; color: var(--60); padding: 0 6px 0 0; }
.lp-eco-name { font-size: 17px; font-weight: 200; color: var(--100); }
.lp-eco-line { font-size: 12.5px; line-height: 1.45; color: var(--60); }

/* ── DELIVER — discipline cards (glyph · name · line · mono meta) ── */
.lp-deliver { list-style: none; margin: 16px 0 0; padding: 0; width: 100%; max-width: 720px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-deliver-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; text-align: left;
  background: var(--2); border: 1px solid var(--5); border-radius: var(--r-md); backdrop-filter: blur(6px); }
.lp-deliver-card .h { display: flex; align-items: center; gap: 10px; }
.lp-deliver-card .h [data-orbit] { width: 18px; height: 18px; color: var(--80); }
.lp-deliver-card .n { font-size: 16px; font-weight: 200; color: var(--100); }
.lp-deliver-card .d { font-size: 13px; line-height: 1.5; color: var(--60); }
.lp-deliver-card .m { font-family: var(--f-mono); font-size: 10px; letter-spacing: .4px; text-transform: uppercase; color: var(--40); }

/* ── PROCESS — canon table (.st-tbl) in a glass card ── */
.lp-table { width: 100%; max-width: 640px; margin-top: 16px; padding: 4px 18px;
  background: var(--2); border: 1px solid var(--5); border-radius: var(--r-md); backdrop-filter: blur(6px); }
.al-right .lp-table { margin-left: auto; }
.lp-table .st-tbl { font-size: 14px; }
.lp-table .st-tbl td { color: var(--80); }
.lp-table .st-tbl td.step { color: var(--100); font-weight: 200; }
.lp-table .st-tbl td.mono { font-family: var(--f-mono); color: var(--40); width: 1%; white-space: nowrap; }

/* ── TOOLKIT — live console readout (.st-pill key + value) ── */
.lp-toolkit { width: 100%; max-width: 580px; margin-top: 16px; display: flex; flex-direction: column; }
.al-right .lp-toolkit { margin-left: auto; }
.lp-tk-row { display: flex; align-items: center; gap: 16px; padding: 13px 2px; border-top: 1px solid var(--10); }
.lp-tk-row:last-child { border-bottom: 1px solid var(--10); }
.lp-tk-row .st-pill { flex: 0 0 auto; min-width: 116px; justify-content: center; }
.lp-tk-row .v { font-size: 14px; line-height: 1.4; color: var(--100); }
.lp-tk-row .v.mono { font-family: var(--f-mono); font-size: 12.5px; color: var(--80); }

/* ── commission chips under the giant stat ── */
.lp-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ── BACKUP — real crew avatar stack (.orb-avatar) ── */
.lp-crew { display: flex; margin-top: 20px; }
.lp-crew .orb-avatar { width: 54px; height: 54px; margin-left: -14px; border: 2px solid #000;
  box-shadow: 0 0 0 1px var(--10); }
.lp-crew .orb-avatar:first-child { margin-left: 0; }

@media (max-width: 860px) {
  .lp-eco { grid-template-columns: 1fr 1fr; }
  .lp-deliver { grid-template-columns: 1fr; }
  .launch-panel.lp-wide > * { max-width: 100%; }
}

/* ════ Legal pages (frames/Terms|Imprint|Datenschutz → Editor scope="legal") ════
   Read-only Editor render: blocks-container → text-block → text-container with the
   real reading offsets (431/421px). Mirrors editor.scss + EditorText view mode. */
.legal-surface .surface-scroll { background: linear-gradient(180deg, var(--inv-40), var(--inv-80)); }
.legal-container { position: relative; z-index: 13; width: 100%; }
.legal-inner { padding-top: 220px; display: flex; flex-direction: column; align-items: center; width: 100%; }
.legal-inner .editor-inner { width: 100%; }
.legal-inner a { color: inherit; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--40); cursor: pointer; transition: text-decoration-color .2s ease; }
.legal-inner a:hover { text-decoration-color: var(--100); }
.legal-inner em { font-style: italic; }

.legal-blocks { display: flex; flex-direction: column; width: 100%; }
.legal-blocks .blocks-container { margin: 0 auto; width: 100%; padding-top: 24px; display: flex; flex-direction: column; }
.legal-blocks .block-wrapper { position: relative; width: 100%; }
.legal-blocks .text-block + .text-block { margin-top: 0; }
.legal-blocks .text-container { position: relative; display: flex; flex-direction: column;
  justify-content: flex-start; height: max-content; min-height: auto;
  width: min(720px, calc(100% - 56px)) !important; max-width: min(720px, calc(100% - 56px)) !important;
  margin: 0 auto !important; padding: 10px 0 40px !important; box-sizing: border-box; }
.legal-blocks .text-subcontainer { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; }
.legal-blocks .text-container .p { width: 100%; line-height: 1.85; color: var(--80); }
.legal-blocks .text-container h1,
.legal-blocks .text-container h2,
.legal-blocks .text-container h3 { width: 100%; }
.legal-blocks .text-block[data-element="h1"] .text-container { min-height: auto; padding-bottom: 12px !important; }
.legal-blocks .text-block[data-element="h2"] .text-container { min-height: auto; padding-top: 22px !important; padding-bottom: 4px !important; }
.legal-surface .hero-nav { position: fixed; z-index: 1300; }

/* GlobalNav section dots (sidebar dots from legal h2 blocks) */
.global-nav-dock .dock-mid { display: none; flex-direction: column; align-items: flex-start;
  max-height: 44vh; overflow-y: auto; margin: 4px 0; direction: rtl; }
.global-nav-dock .dock-mid > * { direction: ltr; }
#st-globalnav.has-dots .global-nav-dock .dock-mid { display: flex; }
.gn-dot { height: 44px; min-width: 56px; }
.gn-dot [data-orbit] { width: 16px; height: 16px; opacity: .5; transition: opacity var(--dur-base) var(--ease-out); }
.gn-dot:hover [data-orbit], .gn-dot.active [data-orbit] { opacity: 1; }
.gn-dot.active { color: var(--100); }
.gn-dot.active [data-orbit] { filter: drop-shadow(0 0 5px var(--40)); }

/* responsive: tighten top padding on small screens (column already centered) */
@media (max-width: 700px) {
  .legal-inner { padding-top: 120px; }
}

/* ════ DarstellungModal (framework/DarstellungModal.svelte) — full-screen surface:
   left experience-pane (Modus / Text / Bereich-nav / Sprachen) + right active pane ════ */
.dm-screen { position: fixed; inset: 0; z-index: 1500; display: none; color: var(--100);
  background: var(--inv-60); backdrop-filter: blur(50px); }
.dm-screen.open { display: flex; }
.dm-frame { width: 100%; height: 100%; display: flex; }
.dm-exp { width: 360px; flex-shrink: 0; position: relative; display: flex; flex-direction: column; justify-content: center;
  gap: 14px; padding: 28px 24px; }
.dm-back { position: absolute; top: 24px; left: 18px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0;
  color: var(--60); font: inherit; font-size: 14px; cursor: pointer; padding: 6px 4px; transition: color .2s; }
.dm-back:hover { color: var(--100); }
.dm-back [data-orbit] { width: 16px; height: 16px; transform: rotate(180deg); }
.dm-cg { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 0 16px; }
.dm-cg .dm-label { color: var(--100); font-size: 14px; font-weight: 200; }
.dm-modes, .dm-sizes { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.dm-circle { width: 26px; height: 26px; border-radius: 50%; cursor: pointer; padding: 0; transition: transform .15s var(--ease-out), box-shadow .2s; }
.dm-circle.ring { background: var(--inv-100); border: 1px solid var(--100); }
.dm-circle.solid { background: var(--100); border: 1px solid var(--40); }
.dm-circle:hover { transform: scale(1.12); }
.dm-circle.on { box-shadow: 0 0 0 2px var(--inv-100), 0 0 0 3px var(--100); }
.dm-dot { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--40);
  display: grid; place-items: center; cursor: pointer; transition: color .2s, background .2s; }
.dm-dot:hover { color: var(--100); } .dm-dot.on { color: var(--100); background: var(--5); }
.dm-dot [data-orbit] { width: 18px; height: 18px; }
.dm-dot.s [data-orbit] { width: 8px; height: 8px; } .dm-dot.m [data-orbit] { width: 13px; height: 13px; }
.dm-bereich { flex-direction: column; gap: 4px; width: 100%; }
.dm-bereich button { width: 100%; background: none; border: 0; color: var(--60); font: inherit; font-size: 14px;
  font-weight: 200; text-align: center; padding: 8px 12px; border-radius: var(--r-cap); cursor: pointer; transition: color .2s, background .2s; }
.dm-bereich button:hover { color: var(--100); }
.dm-bereich button.on { color: var(--100); background: var(--5); font-weight: 300; }
.dm-langs { display: flex; flex-direction: column; gap: 2px; width: 100%; max-height: 30vh; overflow-y: auto; border-top: 1px solid var(--5); padding-top: 12px; }
.dm-langs button { width: 100%; background: none; border: 0; color: var(--60); font: inherit; font-size: 14px; font-weight: 200;
  text-align: left; padding: 9px 14px; border-radius: var(--r-md); cursor: pointer; transition: color .2s, background .2s; }
.dm-langs button:hover { color: var(--100); background: var(--2); }
.dm-langs button.on { color: var(--100); background: var(--5); }
.dm-content { flex: 1; min-width: 0; overflow-y: auto; padding: 56px clamp(28px, 6vw, 96px); }
.dm-pane { max-width: 1100px; margin: 0 auto; }
.dm-pane h2 { font-weight: 180; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -1px; margin: 0 0 8px; }
.dm-pane .dm-lede { color: var(--60); font-weight: 200; line-height: 1.6; margin: 0 0 32px; max-width: 620px; }
.dm-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.dm-content input, .dm-search { background: var(--2); border: 1px solid var(--5); color: var(--100);
  font: inherit; font-size: 14px; backdrop-filter: blur(3px); transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.dm-content input:focus, .dm-search:focus { outline: 0; box-shadow: var(--glow); border-color: var(--20); }
.dm-content input::placeholder, .dm-search::placeholder { color: var(--40); }
.dm-search { flex: 1; min-width: 220px; height: 44px; border-radius: var(--r-cap); padding: 0 18px; }
.dm-meta { font-size: 12px; color: var(--40); white-space: nowrap; }
/* registry rows */
.dm-reg { display: flex; flex-direction: column; gap: 2px; }
.dm-reg-row { display: grid; grid-template-columns: 280px 1fr 1fr 64px; gap: 12px; align-items: center;
  padding: 12px; border-radius: 12px; border-bottom: 1px solid var(--inv-5); transition: background .2s; }
.dm-reg-row:hover { background: var(--inv-5); }
.dm-reg-row .k { font-family: var(--f-mono); font-size: 12px; color: var(--80); display: flex; flex-direction: column; gap: 4px; }
.dm-reg-row .k .pill { width: max-content; font-size: 8px; text-transform: uppercase; letter-spacing: .5px; padding: 2px 6px; border-radius: 4px; background: var(--inv-10); color: var(--40); }
.dm-reg-row .v { border-radius: var(--r-md); font-size: 13px; padding: 9px 12px; height: 38px; }
.dm-reg-row .pct { font-family: var(--f-mono); font-size: 11px; color: var(--40); text-align: right; }
.dm-reg-head { display: grid; grid-template-columns: 280px 1fr 1fr 64px; gap: 12px; padding: 0 12px 8px; }
.dm-reg-head span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--40); }
/* sessions / audit / generic rows */
.dm-rows { display: flex; flex-direction: column; gap: 10px; }
.dm-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--5); border-radius: var(--r-md); background: var(--2); }
.dm-card .ic { width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--5); color: var(--60); flex-shrink: 0; }
.dm-card .ic [data-orbit] { width: 18px; height: 18px; }
.dm-card .body { flex: 1; min-width: 0; }
.dm-card .body .t { font-size: 15px; color: var(--100); font-weight: 200; }
.dm-card .body .s { font-size: 12px; color: var(--40); margin-top: 3px; }
.dm-card .body .s .mono { font-family: var(--f-mono); }
.dm-card .body .s .here { color: var(--100); }
.dm-revoke { background: none; border: 1px solid var(--10); color: var(--60); font: inherit; font-size: 12px;
  padding: 7px 16px; border-radius: var(--r-cap); cursor: pointer; transition: color .2s, border-color .2s; flex-shrink: 0; }
.dm-revoke:hover { color: var(--100); border-color: var(--100); }
.dm-revoke.gone { color: var(--40); border-color: var(--5); pointer-events: none; }
/* audit log */
.dm-log { width: 100%; border-collapse: collapse; font-size: 13px; }
.dm-log th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--40); padding: 8px 12px; border-bottom: 1px solid var(--10); }
.dm-log td { padding: 11px 12px; border-bottom: 1px solid var(--5); color: var(--80); vertical-align: top; }
.dm-log td .mono { font-family: var(--f-mono); font-size: 12px; color: var(--60); }
.dm-log .lvl { font-family: var(--f-mono); font-size: 10px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--10); }
.dm-log .lvl.info { color: var(--80); border-color: color-mix(in oklab, var(--80) 40%, transparent); }
.dm-log .lvl.warn { color: var(--100); border-color: color-mix(in oklab, var(--100) 40%, transparent); }
.dm-log .lvl.err { color: var(--100); border-color: color-mix(in oklab, var(--100) 40%, transparent); }
/* seo / generic field groups */
.dm-group { border: 1px solid var(--10); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 16px; }
.dm-group .gt { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; color: var(--60); margin-bottom: 12px; }
.dm-field { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.dm-field label { width: 130px; flex-shrink: 0; font-size: 12px; color: var(--40); }
.dm-field input { flex: 1; border-radius: var(--r-md); font-size: 13px; padding: 9px 12px; }
.dm-pill-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.dm-pill-tabs button { background: var(--2); border: 1px solid var(--5); color: var(--60); font: inherit; font-size: 12px; padding: 6px 14px; border-radius: var(--r-cap); cursor: pointer; }
.dm-pill-tabs button.on { background: var(--100); color: var(--inv-100); border-color: var(--100); }
.dm-empty { color: var(--40); font-size: 13px; padding: 40px 0; text-align: center; }
@media (max-width: 820px) {
  .dm-exp { width: 100%; border-right: 0; border-bottom: 1px solid var(--5); }
  .dm-frame { flex-direction: column; }
  .dm-reg-row, .dm-reg-head { grid-template-columns: 1fr 1fr; }
  .dm-reg-row .pct { display: none; }
}
/* DarstellungModal — faithful pane chrome */
.dm-kicker { font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--40); margin: 22px 0 10px; }
.dm-note { font-size: 11px; color: var(--40); margin: 6px 0 0; }
.dm-ai { font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; color: var(--100);
  border: 1px solid color-mix(in oklab, var(--100) 40%, transparent); border-radius: 4px; padding: 1px 5px; cursor: pointer; }
.dm-field { position: relative; }
.dm-field .dm-ai { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.dm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.dm-tags button { background: var(--2); border: 1px solid var(--5); color: var(--40); font: inherit; font-size: 11px;
  text-transform: uppercase; letter-spacing: .5px; padding: 4px 12px; border-radius: var(--r-cap); cursor: pointer; transition: color .2s, background .2s; }
.dm-tags button:hover { color: var(--80); } .dm-tags button.on { background: var(--100); color: var(--inv-100); border-color: var(--100); }
.dm-reg-head { grid-template-columns: 240px 1fr 1fr 1fr 1fr 28px; }
.dm-reg-row { grid-template-columns: 240px 1fr 1fr 1fr 1fr 28px; }
.dm-reg-row .pct { display: none; }
.dm-btn { background: var(--2); border: 1px solid var(--10); color: var(--80); font: inherit; font-size: 13px;
  padding: 8px 16px; border-radius: var(--r-cap); cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.dm-btn:hover { color: var(--100); border-color: var(--20); }
.dm-btn.primary { background: var(--100); color: var(--inv-100); border-color: var(--100); }
.dm-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 16px; }
.dm-filter-grid .v { height: 40px; border-radius: var(--r-md); padding: 0 14px; }
.dm-admin-row { border: 1px solid var(--5); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 18px; background: var(--2); }
.dm-admin-row-in { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.dm-admin-row-in .v { height: 40px; border-radius: var(--r-md); padding: 0 14px; }
.dm-revoke [data-orbit] { width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; }
.dm-card .body .s .mono { font-family: var(--f-mono); }
/* audit list */
.dm-audit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.dm-audit-row { border-bottom: 1px solid var(--inv-5); }
.dm-audit-head { width: 100%; display: grid; grid-template-columns: 150px 1fr 130px 1fr 56px; gap: 12px; align-items: center;
  background: none; border: 0; color: var(--80); font: inherit; font-size: 13px; text-align: left; padding: 12px; cursor: pointer; border-radius: 10px; transition: background .2s; }
.dm-audit-head:hover { background: var(--inv-5); }
.dm-audit-head .when { color: var(--40); font-size: 12px; }
.dm-audit-head .mono { font-family: var(--f-mono); font-size: 12px; color: var(--60); }
.dm-audit-head .lvl { justify-self: start; }
.dm-audit-detail { padding: 10px 16px 16px; font-size: 12px; color: var(--60); display: flex; flex-direction: column; gap: 6px; }
.dm-audit-detail code { font-family: var(--f-mono); color: var(--80); }
.dm-audit-detail b { color: var(--40); font-weight: 500; }
.dm-audit-detail .meta pre { margin: 4px 0 0; padding: 10px 12px; background: var(--2); border: 1px solid var(--5);
  border-radius: var(--r-sm); font-family: var(--f-mono); font-size: 11px; color: var(--80); overflow-x: auto; }
.gt.seo-list { display: flex; align-items: center; justify-content: space-between; }
.dm-add { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--5);
  color: var(--60); cursor: pointer; font-size: 15px; line-height: 1; }
.dm-add:hover { color: var(--100); background: var(--10); }
@media (max-width: 980px) {
  .dm-reg-head, .dm-reg-row { grid-template-columns: 160px 1fr 1fr 28px; }
  .dm-reg-head span:nth-child(4), .dm-reg-head span:nth-child(5), .dm-reg-row .v:nth-child(4), .dm-reg-row .v:nth-child(5) { display: none; }
  .dm-audit-head { grid-template-columns: 1fr 1fr 56px; }
  .dm-audit-head .when, .dm-audit-head .actor { display: none; }
}
