/* The four subpages (/gesammelt, /gepflegt, /gesichert, /genutzt): showcase, facts, pager and the light, animated
   replica of the hivefour web app. Loaded after site.css, which holds the frame (colours, header, footer, light world). */
:root {
  /* app replica (light product UI) */
  --a-bg: #F7F7FA;
  --a-surface: #FFFFFF;
  --a-line: #E6E4EF;
  --a-ink: #1E136E;
  --a-text: #34324A;
  --a-mute: #6B6880;
  --a-soft: #EFEDF7;
  --a-add: #1F7A3A;
  --a-add-bg: #EAF6EE;
  --a-del-bg: #F0EFF4;
  --a-no: #C62F2F;
}

/* showcase: text and steps left, app window right */
.show { display: grid; grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding: 56px var(--gutter) 96px; max-width: 1560px; margin: 0 auto; }
.intro { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 112px; }
.crumb { font-size: 16px; font-weight: 700; color: var(--fg-mute); }
.crumb a { color: var(--fg-mute); text-decoration: none; }
.crumb a:hover { color: var(--fg); }
h1.g { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(64px, 7vw, 104px); line-height: 0.95; color: var(--honey); }
.meta { margin: -4px 0 0; font-size: clamp(22px, 1.9vw, 28px); font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.lead { margin: 0; font-size: clamp(17px, 1.3vw, 19px); color: var(--fg-soft); }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 12px 0 12px 44px; border-top: 1px solid var(--line); color: rgba(255,255,255,0.55); transition: color 0.4s; }
/* the step number sits in a honeycomb cell, the shape of the start page */
.steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 30px; height: 34px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 112'%3E%3Cpolygon points='50,8 90,31 90,81 50,104 10,81 10,31' fill='black' stroke='black' stroke-width='14' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 112'%3E%3Cpolygon points='50,8 90,31 90,81 50,104 10,81 10,31' fill='black' stroke='black' stroke-width='14' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; display: grid; place-items: center; font-size: 14px; font-weight: 900; background: var(--cell); color: rgba(255,255,255,0.7); transition: background 0.4s, color 0.4s; }
.steps li b { display: block; font-size: 18px; color: inherit; }
.steps li span { font-size: 16px; line-height: 1.5; }
.steps li.on { color: var(--fg); }
.steps li.on::before { background: var(--lilac); color: var(--night); }
.steps li.done { color: rgba(255,255,255,0.78); }
.steps li.done::before { background: var(--honey); color: var(--fg); }

.stagewrap { display: flex; flex-direction: column; gap: 14px; }
.frame { position: relative; width: 100%; border-radius: 14px; overflow: hidden; background: var(--a-bg); box-shadow: 0 30px 80px rgba(0,0,0,0.38), 0 0 0 1px rgba(255,255,255,0.06); }
.chrome { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #ECEAF3; color: var(--a-mute); font-size: 12px; font-weight: 700; }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #D6D2E4; }
.chrome span { margin-left: 10px; }
.viewport { position: relative; overflow: hidden; }
.app { position: absolute; left: 0; top: 0; width: 900px; height: 580px; transform-origin: 0 0; }
.ctl { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--fg-mute); }
.replay { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: var(--fg); font: inherit; font-weight: 700; cursor: pointer; }
.replay:hover { border-color: var(--lilac); }

/* a page with several showcases (Gepflegt): the big G and its claim on top, then one section per topic */
.pagehead { display: flex; flex-direction: column; gap: 22px; max-width: 1560px; margin: 0 auto; padding: 56px var(--gutter) 40px; }
.pagehead .lead { max-width: 56ch; }
/* further showcases on one page (Gepflegt): a heading instead of the big G, a line above */
.show.more { border-top: 1px solid var(--line); padding-top: 72px; }
.show h2 { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
.show h2 em { font-family: var(--serif); font-weight: 400; color: var(--honey); letter-spacing: 0; }

/* facts, pager, cta */
.facts { padding: 72px var(--gutter) 24px; max-width: 1560px; margin: 0 auto; }
.facts h2, .cta h2 { margin: 0 0 28px; font-size: clamp(30px, 3vw, 44px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.facts h2 em, .cta h2 em { font-family: var(--serif); font-weight: 400; color: var(--honey); letter-spacing: 0; }
.facts .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.facts .cols div { border-top: 1px solid var(--line); padding-top: 16px; }
.facts b { display: block; font-size: 19px; margin-bottom: 6px; }
.facts span { color: rgba(255,255,255,0.8); font-size: 17px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 72px var(--gutter) 112px; max-width: 1560px; margin: 0 auto; }
.pager a { display: flex; flex-direction: column; gap: 2px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--fg-mute); font-size: 15px; font-weight: 700; }
.pager a strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 44px; line-height: 1.1; color: var(--fg); }
.pager a:hover strong { color: var(--lilac); }
.pager .next { text-align: right; grid-column: 2; }
.cta { padding: 96px var(--gutter) 112px; max-width: 1560px; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta p { margin: 0 0 24px; color: var(--fg-soft); font-size: 19px; max-width: 56ch; }
.cta .actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 999px) {
  .show { grid-template-columns: 1fr; padding-top: 32px; }
  .intro { position: static; display: contents; }
  .intro > * { order: 0; }
  .stagewrap { order: 1; }
  .steps { order: 2; }
  .intro > .after { order: 3; }
  .facts .cols { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .chrome span { display: none; }
  .pager a strong { font-size: 34px; }
  /* side by side, a long title pushes the other link off the screen */
  .pager { grid-template-columns: 1fr; gap: 0; }
  .pager .next { grid-column: 1; }
}

/* ---------- app replica ---------- */
.app { display: flex; background: var(--a-bg); color: var(--a-text); font-family: var(--sans); font-size: 14px; line-height: 1.45; }
.side { width: 196px; flex: none; background: var(--a-ink); color: #fff; padding: 16px 10px; display: flex; flex-direction: column; gap: 1px; font-size: 13px; font-weight: 700; }
.side .brand { display: block; width: 104px; height: 18px; margin: 0 8px 14px; }
.side .proj { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); font-size: 12.5px; }
.side .proj svg:last-child { margin-left: auto; opacity: 0.8; }
.side .sec { margin: 8px 8px 2px; font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.6); }
.side a { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 7px; color: rgba(255,255,255,0.88); text-decoration: none; white-space: nowrap; }
.side a svg { flex: none; opacity: 0.9; }
.side a.on { background: rgba(255,255,255,0.14); color: #fff; }
.side .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #C4B5FD; color: var(--a-ink); font-size: 11.5px; font-weight: 900; display: grid; place-items: center; }
.pane { position: relative; flex: 1; padding: 26px 30px; overflow: hidden; }
.pane h3 { margin: 0; font-size: 26px; font-weight: 900; color: var(--a-ink); letter-spacing: -0.01em; }
.pane .sub { margin: 2px 0 18px; color: var(--a-mute); font-size: 13.5px; }
.who { position: absolute; right: 30px; top: 28px; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--a-surface); border: 1px solid var(--a-line); font-size: 12.5px; font-weight: 700; color: var(--a-ink); transition: background 0.3s; }
.who i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 900; color: #fff; background: #7C3AED; }   /* white initials need the darker violet for AA */
.who.agent i { background: var(--agent); color: #150B4D; }
.who.lead i { background: var(--a-ink); }
.who small { font-weight: 400; color: var(--a-mute); }
.acard { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 10px; padding: 16px 18px; }
.mono { font-family: var(--mono); font-size: 12px; color: var(--a-mute); }
.chips { display: flex; gap: 8px; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--a-soft); border: 1px solid var(--a-line); font-size: 12px; font-weight: 700; color: var(--a-text); white-space: nowrap; }
.chip.ki { background: #FBEAFE; border-color: #F3C8FA; color: #8E2BA3; }
.chip.new { background: var(--a-ink); border-color: var(--a-ink); color: #fff; }
.vb { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--a-ink); white-space: nowrap; }
.vb::before { content: ""; width: 16px; height: 12px; background: linear-gradient(90deg, var(--a-ink) 0 4px, transparent 4px 6px, var(--v2, var(--a-ink)) 6px 10px, transparent 10px 12px, var(--v3, var(--a-ink)) 12px 16px); border-radius: 1px; }
.vb.k { --v3: #C9C2F0; }
.vb.e { --v2: #C9C2F0; --v3: #C9C2F0; }
.abtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 7px; background: var(--a-ink); color: #fff; font-size: 13px; font-weight: 700; border: 1px solid var(--a-ink); transition: transform 0.12s, background 0.3s; }
.abtn.light { background: var(--a-surface); color: var(--a-ink); border-color: var(--a-line); }
.abtn.no { background: var(--a-surface); color: var(--a-no); border-color: #F2C9C9; }
.abtn.ok { background: var(--a-add); border-color: var(--a-add); }
.abtn.press { transform: scale(0.94); }
.search { display: flex; gap: 8px; margin-bottom: 14px; }
.search .field { flex: 1; height: 36px; border: 1px solid var(--a-line); border-radius: 7px; background: var(--a-surface); padding: 0 12px; display: flex; align-items: center; font-size: 13.5px; color: var(--a-text); }
.search .field:empty::before { content: attr(data-ph); color: #A19EB3; }
.caret::after { content: ""; display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; background: var(--a-ink); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 110px; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--a-line); background: var(--a-surface); transition: background 1.2s, opacity 0.5s, transform 0.5s; }
.row:first-child { border-top: 0; }
.row.head { background: var(--a-soft); font-size: 12px; font-weight: 700; color: var(--a-mute); padding-block: 8px; }
.row .t { font-weight: 700; color: var(--a-ink); }
.row.fresh { background: #F1EBFF; }
.table { border: 1px solid var(--a-line); border-radius: 10px; overflow: hidden; }
.hidden { display: none !important; }
.fadein { animation: fadein 0.5s both; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.diff { margin: 12px 0 14px; border: 1px solid var(--a-line); border-radius: 8px; background: var(--a-bg); padding: 10px 0; font-family: var(--mono); font-size: 12.5px; }
.diff div { padding: 3px 14px; white-space: pre; min-height: 22px; }
.diff .del { color: var(--a-mute); background: var(--a-del-bg); }
.diff .del s { text-decoration-thickness: 1.5px; }
.diff .add { color: var(--a-add); background: var(--a-add-bg); font-weight: 700; }
.toast { position: absolute; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 9px; background: var(--a-ink); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 10px 30px rgba(30,19,110,0.25); opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s; }
.toast.show { opacity: 1; transform: none; }
.toast b { color: var(--ok); }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 5; pointer-events: none; opacity: 0; transition: transform 0.9s cubic-bezier(.45,0,.2,1), opacity 0.3s; }
.drop { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--a-surface); border: 1px solid var(--a-line); box-shadow: 0 12px 34px rgba(30,19,110,0.18); font-size: 13px; font-weight: 700; color: var(--a-ink); opacity: 0; transition: transform 0.9s cubic-bezier(.45,0,.2,1), opacity 0.4s; }
.drop small { display: block; font-weight: 400; color: var(--a-mute); font-size: 12px; }
.ico { width: 30px; height: 30px; flex: none; border-radius: 7px; display: grid; place-items: center; font-size: 10px; font-weight: 900; color: #fff; background: #7C3AED; }
.ico.pdf { background: #C9302C; }
.ico.dir { background: #B7A8F0; color: var(--a-ink); }
.ico.ai { background: var(--agent); color: #150B4D; }
.acard h4 { margin: 0 0 4px; font-size: 18px; font-weight: 900; color: var(--a-ink); }
.acard .by { margin: 0; font-size: 13px; color: var(--a-mute); }
.acard .acts { display: flex; gap: 8px; align-items: center; }
.status { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--a-line); font-size: 13px; font-weight: 700; color: var(--a-add); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.count { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--a-mute); display: flex; gap: 10px; align-items: center; }
.hit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 16px; }
.hit .t { font-weight: 900; font-size: 15px; color: var(--a-ink); }
.hit .meta-line { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--a-mute); }
.hit.lead { border-color: #CFC3FA; background: #F7F3FF; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--a-line); margin-bottom: 14px; font-size: 13.5px; font-weight: 700; color: var(--a-mute); }
.tabs span { padding-bottom: 8px; }
.tabs .on { color: var(--a-ink); box-shadow: inset 0 -2px 0 var(--a-ink); }
.ver { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--a-line); background: var(--a-surface); }
.ver:first-child { border-top: 0; }
.ver b { color: var(--a-ink); }
.ver small { display: block; color: var(--a-mute); font-size: 12px; }
.seal { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 16px; border-radius: 9px; background: var(--a-add-bg); color: var(--a-add); font-size: 13px; font-weight: 700; }
.seal::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--a-add); color: #fff; display: grid; place-items: center; font-size: 12px; }
/* chat (Genutzt) */
.chat { flex: 1; display: flex; flex-direction: column; background: var(--a-surface); }
.chathead { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--a-line); font-size: 14px; color: var(--a-ink); }
.chathead .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2E9E57; }
.msgs { flex: 1; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.msg { max-width: 560px; font-size: 15px; line-height: 1.55; }
.msg.me { align-self: flex-end; padding: 11px 15px; border-radius: 14px 14px 4px 14px; background: var(--a-soft); color: var(--a-ink); }
.msg.ai p { margin: 0 0 10px; color: var(--a-text); min-height: 1.55em; }
.tool { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--a-mute); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #D8D3EC; border-top-color: var(--honey); animation: spin 0.8s linear infinite; }
.spin.done { animation: none; border-color: var(--a-add); background: var(--a-add); }
@keyframes spin { to { transform: rotate(360deg); } }
.src { display: inline-flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 9px; border: 1px solid var(--a-line); background: var(--a-bg); }
.src b { color: var(--a-ink); font-size: 13.5px; }
.src .meta-line { display: flex; gap: 12px; align-items: center; }
.composer { display: flex; gap: 10px; padding: 14px 24px 18px; border-top: 1px solid var(--a-line); }
.composer .field { flex: 1; height: 40px; border: 1px solid var(--a-line); border-radius: 9px; padding: 0 14px; display: flex; align-items: center; font-size: 14px; }
.composer .field:empty::before { content: attr(data-ph); color: #A19EB3; }
.sheet { position: absolute; top: 0; right: 0; bottom: 0; width: 500px; padding: 24px 26px; background: var(--a-bg); border-left: 1px solid var(--a-line); box-shadow: -18px 0 40px rgba(30,19,110,0.12); transform: translateX(105%); transition: transform 0.7s cubic-bezier(.45,0,.2,1); }
.sheet.open { transform: none; }
.sheet h3 { margin: 0 0 2px; font-size: 22px; font-weight: 900; color: var(--a-ink); }
.passage { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13.5px; color: var(--a-text); }
mark { background: #EDE5FF; color: var(--a-ink); padding: 1px 3px; border-radius: 3px; }
.rel { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--a-mute); }
.rel::before { content: ""; width: 88px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--honey) var(--r, 80%), #E3DFF0 var(--r, 80%)); }
@media (prefers-reduced-motion: reduce) { .app *, .app *::before, .app *::after { transition: none !important; animation: none !important; } }
.still *, .still *::before, .still *::after { transition: none !important; animation: none !important; }
.row > span:first-child { min-width: 0; }
.row .mono { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit .mono { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Verbindlichkeit: the entry the answer rests on lights up, the draft steps back */
.row.dim { opacity: 0.45; }
.ask { margin-top: 14px; }
.ask .msg { max-width: none; margin-bottom: 10px; font-size: 14px; }
.ask .msg.me { display: inline-block; padding: 8px 13px; }
.ask .msg.ai p { margin: 0; }
.skip { margin: 12px 0 0; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--a-mute); }
/* Routinen: one row per routine, its result on the right */
.row.rt { grid-template-columns: 170px minmax(0, 1fr) 150px; }
.res { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--a-mute); }
.res .spin { display: inline-block; }
.res.clean { color: var(--a-add); }
.res.found { color: #8E2BA3; }
.run, .rep { margin-top: 14px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: 13px; font-weight: 700; color: var(--a-ink); }
.checks span { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--a-line); color: var(--a-mute); }
.checks span::after { content: attr(data-res); font-weight: 700; }
.checks .clean { color: var(--a-ink); }
.checks .clean::after { content: "✓ " attr(data-res); color: var(--a-add); }
.checks .found { color: var(--a-ink); }
.checks .found::after { color: #8E2BA3; }
.find { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--a-text); }
.find b { color: var(--a-ink); }

/* Gesichert: users, and a schematic of the instance (not a view of the app) */
.row.ur { grid-template-columns: minmax(0, 1fr) 170px 190px; }
.keep { margin-top: 14px; }
.infra { position: absolute; inset: 0; padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; gap: 34px; background: var(--a-bg); }
.dc { position: relative; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 22px; align-items: center; padding: 54px 28px 30px; border: 2px dashed transparent; border-radius: 16px; transition: border-color 0.8s, background 0.8s; }
.dc.in { border-color: #B9AEE6; background: #F1EEFB; }
.dc-label { position: absolute; left: 24px; top: 18px; font-size: 14px; font-weight: 900; color: var(--a-ink); opacity: 0; transition: opacity 0.8s; }
.dc.in .dc-label { opacity: 1; }
.inst { display: flex; flex-direction: column; gap: 4px; padding: 22px 20px; border-radius: 12px; background: var(--a-surface); border: 1px solid var(--a-line); opacity: 0; transform: translateY(10px); transition: opacity 0.6s, transform 0.6s; }
.inst.in { opacity: 1; transform: none; }
.inst b { color: var(--a-ink); font-size: 16px; }
.inst small { color: var(--a-mute); font-size: 13px; }
.inst.other { filter: grayscale(1); opacity: 0; }
.inst.other.in { opacity: 0.45; }
.inst.mine { padding: 30px 24px; border: 2px solid var(--a-ink); box-shadow: 0 14px 36px rgba(30,19,110,0.16); }
.inst.mine b { font-size: 19px; }
.lock { align-self: flex-start; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--a-ink); color: #fff; font-size: 12px; font-weight: 700; }
.marks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.mark { padding: 8px 14px; border-radius: 999px; background: var(--a-surface); border: 1px solid var(--a-line); font-size: 13.5px; font-weight: 700; color: var(--a-ink); opacity: 0; transform: scale(0.9); transition: opacity 0.4s, transform 0.4s; }
.mark.in { opacity: 1; transform: none; }

/* Gesammelt: skills list with a side panel, and a schematic of the import */
.row.sk { grid-template-columns: minmax(0, 1fr) 140px 150px; }
.sheet.narrow { width: 380px; display: flex; flex-direction: column; gap: 12px; }
.sheet .sub { margin: 0 0 6px; color: var(--a-mute); font-size: 13px; }
.still-drop { position: static; box-shadow: none; opacity: 1; transform: none; }
.imp { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 90px 1.1fr; align-items: center; gap: 10px; padding: 40px 44px; background: var(--a-bg); }
.imp-col { display: flex; flex-direction: column; gap: 12px; }
.imp-col.hive { padding: 22px; border-radius: 16px; border: 2px solid var(--a-ink); background: var(--a-surface); min-height: 330px; }
.imp-h { font-size: 14px; font-weight: 900; color: var(--a-ink); }
.srcbox { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--a-surface); border: 1px solid var(--a-line); opacity: 0; transform: translateX(-12px); transition: opacity 0.5s, transform 0.5s; }
.srcbox.in { opacity: 1; transform: none; }
.srcbox.in.gone { opacity: 0.35; }
.srcbox b { display: block; color: var(--a-ink); font-size: 15px; }
.srcbox small { color: var(--a-mute); font-size: 12.5px; }
.imp-arrow { height: 4px; position: relative; opacity: 0; transition: opacity 0.4s; }
.imp-arrow.in { opacity: 1; }
.imp-arrow span { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, #C9C2F0, var(--a-ink)); }
.imp-arrow span::after { content: ""; position: absolute; right: -2px; top: -6px; border: 8px solid transparent; border-left: 10px solid var(--a-ink); border-right: 0; }
.tree { display: flex; flex-direction: column; gap: 8px; }
.tf { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 9px; background: var(--a-bg); border: 1px solid var(--a-line); font-size: 13.5px; opacity: 0; transform: translateX(-16px); transition: opacity 0.5s, transform 0.5s; }
.tf.in { opacity: 1; transform: none; }
.tf b { color: var(--a-ink); font-family: var(--mono); font-size: 12.5px; }
.tf small { color: var(--a-mute); }
.imp-sum { margin-top: auto; padding: 10px 14px; border-radius: 9px; background: var(--a-add-bg); color: var(--a-add); font-size: 13px; font-weight: 700; opacity: 0; transition: opacity 0.5s; }
.imp-sum.in { opacity: 1; }

/* light world: the app replica stays light */
[data-theme="light"] .steps li { color: #71717A; }
[data-theme="light"] .steps li::before { color: #1E136E; }
[data-theme="light"] .steps li.on { color: #1E136E; }
[data-theme="light"] .steps li.on::before { background: #1E136E; color: #FFFFFF; }
[data-theme="light"] .steps li.done { color: #3F3F46; }
[data-theme="light"] .steps li.done::before { background: #A78BFA; color: #FFFFFF; }
[data-theme="light"] .frame { box-shadow: 0 24px 60px rgba(30,19,110,0.14), 0 0 0 1px #E5E5EC; }
[data-theme="light"] .replay { border-color: #D1D1DA; color: #1E136E; }
[data-theme="light"] .facts span { color: #52525B; }
