/* Billinski Marketing (demo): Büro's look (buero.css, unchanged) and what this program adds on top of it.
   Colours are the variables of buero.css in both palettes; only three things keep fixed colours, because they are
   pictures of something that is not this program: the dark stage, the mails and pages in the firm's own design, and
   the drawn frame of the shop's admin. Motion shows a cause or a running state and stands still for whoever asked
   their system for less of it. */
[hidden] { display: none !important; }
:root { --prod: #8a6420; --stage: #0a1728; --stage-2: #10253f; }
@media (prefers-color-scheme: dark) { :root:not([data-ansicht="hell"]) { --prod: #e3c27f; } }
:root[data-ansicht="dunkel"] { --prod: #e3c27f; }
.brand-prod { color: var(--prod); }
.scope { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.scope .chip { font-size: .7rem; letter-spacing: .04em; }
.demo-badge { display: inline-flex; align-items: center; gap: .35rem; width: fit-content; padding: .2rem .65rem; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: .74rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; } .chips a { text-decoration: none; }
.editable { outline: none; border-radius: .3em; transition: box-shadow .25s; } .editable:hover { box-shadow: 0 0 0 2px var(--line); } .editable:focus { box-shadow: 0 0 0 3px var(--focus); }
.facts.small { padding: 0; font-size: .86rem; gap: .25rem .9rem; }
.list-plain { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; font-size: .93rem; } .list-plain li::marker { color: var(--aqua-strong); }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.icon-btn:hover { color: var(--bad); border-color: var(--bad); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.kpis.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } .kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { position: relative; } .kpi .spark { position: absolute; right: 1rem; top: 1.05rem; width: 84px; height: 24px; color: var(--aqua-strong); }
.spark { width: 100%; height: 32px; color: var(--aqua-strong); overflow: visible; } .spark path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.14); }

/* ---- the stage: the dark opening of the overview ------------------------------------------------------------ */
.stage { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem; align-items: center; padding: 2.2rem 2.2rem 2rem; margin-bottom: 14px; border-radius: 1.75rem; background: linear-gradient(160deg, var(--stage-2), var(--stage) 60%); color: #fff; box-shadow: 0 30px 70px -30px rgba(8,20,36,.7); isolation: isolate; }
.stage-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage-light i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.stage-light i:nth-child(1) { width: 46%; height: 90%; left: 48%; top: -40%; background: #2a8f9c; }
.stage-light i:nth-child(2) { width: 30%; height: 60%; left: -6%; top: 50%; background: #c9a35a; opacity: .28; animation-duration: 22s; }
.stage-light i:nth-child(3) { width: 24%; height: 50%; left: 30%; top: 70%; background: #6fe3ee; opacity: .2; animation-duration: 26s; }
@keyframes drift { to { transform: translate(-8%, 10%) scale(1.15); } }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--turn, 0deg), transparent 0 70%, rgba(111,227,238,.7) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: turn 9s linear infinite; }
@property --turn { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes turn { to { --turn: 360deg; } }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9fdde4; }
.stage h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: .5rem; color: #fff; }
.hero-num { display: block; font: 600 clamp(2.8rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -0.04em; margin: .6rem 0 .9rem; background: linear-gradient(100deg, #fff 30%, #b0e5e9 70%, #f3d594); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage-copy p { color: rgba(255,255,255,.74); max-width: 34rem; font-size: .95rem; }
.stage .acts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.stage .chart { color: #6fe3ee; --axis: rgba(255,255,255,.55); --gridc: rgba(255,255,255,.1); --dotring: var(--stage); }
.stage .chart .tip { background: #fff; color: #0a1728; }

/* ---- charts ------------------------------------------------------------------------------------------------------ */
.chart { position: relative; height: 240px; color: var(--aqua-strong); --axis: var(--subtle); --gridc: var(--line); --dotring: var(--paper); }
.chart .axis-y { position: absolute; left: 0; top: 8px; bottom: 26px; width: 58px; }
.chart .axis-y span { position: absolute; right: 8px; transform: translateY(-50%); font-size: .72rem; color: var(--axis); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart .plot { position: absolute; left: 60px; right: 10px; top: 8px; bottom: 26px; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; clip-path: inset(0 100% 0 0); animation: reveal 1.5s var(--ease) .2s forwards; }
@keyframes reveal { to { clip-path: inset(-10px -10px -10px -10px); } }
.chart .grid { stroke: var(--gridc); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.chart .base { stroke: var(--gridc); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart .line.plan { stroke: var(--subtle); stroke-dasharray: 6 5; }
.chart .end-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--dotring); opacity: 0; animation: pop .4s var(--ease) 1.5s forwards; }
.chart .end-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ring 2.4s ease-out 2s infinite; }
@keyframes pop { from { transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes ring { 0% { opacity: .6; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
.chart .direct { position: absolute; transform: translate(-100%, -150%); font-size: .74rem; font-weight: 600; color: var(--ink); white-space: nowrap; background: var(--paper); padding: .1rem .45rem; border-radius: .4rem; }
.chart .axis-x { position: absolute; left: 60px; right: 10px; bottom: 0; height: 20px; }
.chart .axis-x span { position: absolute; transform: translateX(-50%); font-size: .72rem; color: var(--axis); white-space: nowrap; }
.chart .axis-x span:first-child { transform: none; } .chart .axis-x span:last-child { transform: translateX(-100%); }
.chart .cross { position: absolute; top: 0; bottom: 0; width: 1px; background: currentColor; opacity: .45; pointer-events: none; }
.chart .hover-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--dotring); pointer-events: none; }
.tip { position: absolute; z-index: 5; pointer-events: none; padding: .45rem .7rem; border-radius: .7rem; background: var(--ink); color: var(--on-ink); font-size: .8rem; line-height: 1.35; white-space: nowrap; box-shadow: var(--shadow-pop); transform: translate(-50%, calc(-100% - 12px)); }
.tip b { display: block; font-size: .95rem; }
.legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--muted); margin-bottom: .5rem; } .legend span { display: inline-flex; align-items: center; gap: .4rem; }
.legend i { width: 18px; height: 0; border-top: 2px solid var(--aqua-strong); } .legend i.k-plan { border-top: 2px dashed var(--subtle); }
.bars { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 200px; padding-top: 10px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; height: var(--h); min-height: 2px; border-radius: 4px 4px 0 0; background: var(--aqua-strong); transform-origin: bottom; transform: scaleY(0); animation: grow .7s var(--ease) forwards; animation-delay: calc(var(--i) * 18ms + .2s); transition: background-color .2s; }
.bar:hover, .bar.on { background: var(--ink); }
@keyframes grow { to { transform: scaleY(1); } }
.hbar, .fstep { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 6.5rem; gap: .8rem; align-items: center; padding: .35rem 0; font-size: .9rem; }
.hbar > i, .fstep > i { position: relative; height: 12px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.hbar > i::after, .fstep > i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--aqua-strong), color-mix(in srgb, var(--aqua-strong) 60%, var(--aqua-bright))); transform-origin: left; transform: scaleX(0); animation: grow-x 1s var(--ease) .3s forwards; }
@keyframes grow-x { to { transform: scaleX(1); } }
.hbar b, .fstep b { text-align: right; font-weight: 600; }
.funnel { padding: 0 1.3rem .6rem; }
.funnel .fstep > i { height: 26px; border-radius: .6rem; } .funnel .fstep > i::after { border-radius: .6rem; }
.meter { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--aqua-strong); transform-origin: left; animation: grow-x 1s var(--ease) .3s both; transition: width .6s var(--ease); }

/* ---- overview pieces -------------------------------------------------------------------------------------------- */
.task u.pulse { position: relative; background: var(--ok-soft); }
.task u.pulse::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.task u.pulse::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--ok); animation: ring 2.2s ease-out infinite; }
.task .r { text-align: right; } .task .r b { font-size: 1.1rem; }
.feed { list-style: none; margin: 0; padding: 0 0 .6rem; }
.feed li { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .6rem 1.3rem; border-top: 1px solid var(--line); font-size: .9rem; }
.feed li small { color: var(--muted); white-space: nowrap; }
.feed li.new { animation: feed-in .7s var(--ease); background: var(--aqua-soft); transition: background-color 2.5s; }
.feed li.new.settled { background: transparent; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-14px); } }
.fk { display: inline-block; width: fit-content; padding: .12rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: var(--soft); color: var(--muted); }
.k-order { background: var(--ok-soft); color: var(--ok-text); } .k-flow { background: var(--aqua-soft); color: var(--aqua-strong); }
.k-consent { background: color-mix(in srgb, var(--gold) 22%, var(--paper)); color: var(--warn); } .k-mail { background: var(--soft); color: var(--ink); } .k-block { background: var(--bad-soft); color: var(--bad-text); }
.lastmail-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 0 1.3rem 1.3rem; }
.lastmail-body .facts { padding: 0; }

/* ---- devices and the mail in the firm's design ----------------------------------------------------------------- */
.phone { width: 280px; padding: 10px; border-radius: 38px; background: #0d1a2b; box-shadow: var(--shadow-pop), inset 0 0 0 2px #24364f; }
.phone .screen, .device.phone .mail { border-radius: 30px; }
.phone .screen { height: 520px; overflow: hidden auto; background: #f3ece0; scrollbar-width: none; }
.phone.small { width: 230px; } .phone.small .screen { height: 420px; }
.phone .screen .mail { zoom: .58; width: auto; }
.phone.small .screen .mail { zoom: .52; }
.device { position: relative; padding: 1.6rem; border-radius: var(--r-lg); background: radial-gradient(circle, color-mix(in srgb, var(--line) 80%, transparent) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--soft); transition: padding .5s var(--ease); }
.device .mail { margin: 0 auto; max-width: 600px; transition: max-width .6s var(--ease), border-radius .6s var(--ease); }
.device.phone { width: auto; padding: 1.6rem; box-shadow: none; }
.device.phone .mail { max-width: 375px; box-shadow: 0 0 0 10px #0d1a2b, 0 30px 60px -20px rgba(0,0,0,.45); }
.device.phone.small, .device.center { display: grid; place-items: center; }
.device.phone.small .mail { zoom: .7; }
.mail { background: #fff; color: #3d3b37; font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 20px 50px -24px rgba(17,37,61,.35); border-radius: 10px; overflow: hidden; text-align: left; }
.mb { position: relative; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s, background-color .2s; }
[data-editor] .mb { cursor: pointer; } [data-editor] .mb:hover { outline-color: rgba(31,111,123,.35); }
[data-editor] .mb.sel { outline: 2px solid #1f6f7b; background: rgba(176,229,233,.12); }
[data-editor] .mb.sel::before { content: attr(data-label); position: absolute; left: 8px; top: -11px; z-index: 2; padding: .05rem .5rem; border-radius: 999px; background: #1f6f7b; color: #fff; font: 600 .68rem var(--sans); letter-spacing: .04em; }
.mb.fresh { animation: block-in .6s var(--ease); }
@keyframes block-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.m-logo { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: 1.1rem; font: 600 1.15rem var(--m-font, Georgia, "Times New Roman", serif); color: var(--m-text, #2f2e2b); }
.m-mark { width: 30px; height: 30px; flex: none; }
.m-hero { margin: 0; line-height: 0; } .m-art { width: 100%; height: auto; display: block; }
.h-steam path { animation: steam 3.2s ease-in-out infinite; } .h-steam path + path { animation-delay: 1.1s; }
@keyframes steam { 0% { transform: translateY(8px); opacity: 0; } 40% { opacity: .8; } 100% { transform: translateY(-14px); opacity: 0; } }
.h-flame path { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.3s ease-in-out infinite alternate; } .h-flame path:nth-child(2) { animation-delay: .4s; } .h-flame path:nth-child(3) { animation-delay: .8s; }
@keyframes flicker { to { transform: scale(.82, 1.08) skewX(4deg); } }
.h-glow { animation: glow 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; } @keyframes glow { to { opacity: .55; transform: scale(1.12); } }
.m-title { margin: 0; padding: 1.4rem 2rem .3rem; font: 500 1.75rem/1.2 var(--m-font, Georgia, "Times New Roman", serif); letter-spacing: -0.01em; color: var(--m-text, #2f2e2b); }
.m-text { margin: 0; padding: .4rem 2rem .8rem; color: #4a4843; }
.m-btnrow { margin: 0; padding: .6rem 2rem 1.2rem; }
.m-btn { display: inline-block; padding: .75rem 1.4rem; border-radius: 6px; background: var(--m-btn, #5f7a61); color: #fff; font-weight: 600; font-size: .95rem; }
.m-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; padding: .6rem 2rem 1.2rem; }
.m-prod { display: grid; gap: .2rem; font-size: .82rem; } .m-prod b { font-weight: 600; color: #2f2e2b; line-height: 1.3; } .m-prod span { color: #7a766e; }
.m-pic { width: 100%; height: auto; display: block; margin-bottom: .3rem; }
.m-code { margin: .4rem 2rem 1.2rem; padding: 1rem; border: 2px dashed var(--m-accent, #c47a52); border-radius: 10px; text-align: center; background: #fbf4ee; }
.m-code small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #a8613e; }
.m-code b { display: block; font: 700 1.5rem ui-monospace, Menlo, monospace; letter-spacing: .08em; color: #2f2e2b; margin: .15rem 0; } .m-code span { font-size: .85rem; color: #6b675f; }
.m-hr { border: 0; border-top: 1px solid #e6dccb; margin: .6rem 2rem; }
.m-foot { padding: 1.2rem 2rem 1.5rem; background: var(--m-ground, #f3ece0); color: #7a766e; font-size: .76rem; text-align: center; line-height: 1.5; } .m-foot p { margin: .15rem 0; }
/* A mail in the style "Bühne", as vorlage.renderStage builds it: the ground with its two glows, the logo and the
   foot on it, everything between on a white card with round corners (its first and its last block). */
[data-stil="buehne"] .mail { padding: 1.7rem .8rem 1.5rem; border-radius: 14px; background-color: var(--m-ground); background-image: radial-gradient(ellipse 80% 22rem at 16% 0%, var(--m-glow1), transparent 70%), radial-gradient(ellipse 70% 18rem at 92% 2%, var(--m-glow2), transparent 70%); }
[data-stil="buehne"] .mail .mb { background: #fff; }
[data-stil="buehne"] .mail .mb-logo:first-child, [data-stil="buehne"] .mail .mb-fuss { background: transparent; }
[data-stil="buehne"] .mail .mb-logo:first-child .m-logo { padding: 0 0 1.2rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; color: var(--m-on); }
[data-stil="buehne"] .mail .mb-logo:first-child .m-badge { background: var(--m-on); color: var(--m-ground); }
[data-stil="buehne"] .mail .mb-logo:first-child + .mb, [data-stil="buehne"] .mail .mb:first-child:not(.mb-logo) { border-radius: 22px 22px 0 0; padding-top: .5rem; }
[data-stil="buehne"] .mail .mb:has(+ .mb-fuss), [data-stil="buehne"] .mail .mb:last-child:not(.mb-fuss) { border-radius: 0 0 22px 22px; padding-bottom: .7rem; }
[data-stil="buehne"] .mail .mb-logo:first-child + .mb:has(+ .mb-fuss) { border-radius: 22px; }
[data-stil="buehne"] .m-title { font-size: 1.9rem; font-weight: 700; line-height: 1.15; letter-spacing: -.028em; }
[data-stil="buehne"] .m-text { color: var(--m-soft); }
[data-stil="buehne"] .m-btn { padding: .9rem 1.8rem; border-radius: 999px; font-size: 1rem; }
[data-stil="buehne"] .m-hero { padding: .6rem 1.1rem .3rem; } [data-stil="buehne"] .m-hero > * { border-radius: 16px; }
[data-stil="buehne"] .m-code { border: 0; border-radius: 18px; background: var(--m-tint); } [data-stil="buehne"] .m-code small { color: var(--m-btn); }
[data-stil="buehne"] .m-hr { border-top-color: var(--m-line); }
[data-stil="buehne"] .m-foot { padding: 1.4rem 1rem 0; background: transparent; color: var(--m-quiet); }
.var { padding: 0 .2em; border-radius: .25em; background: rgba(95,122,97,.16); color: #3f5a41; }
.inbox-line { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: .8rem; align-items: center; margin-bottom: 12px; padding: .8rem 1rem; border-radius: 1rem; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; box-shadow: var(--shadow); }
.inbox-line small { color: var(--muted); } .inbox-line span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--aqua-soft); color: var(--aqua-strong); font: 700 .78rem var(--sans); font-style: normal; }
.inbox-line .avatar { background: #5f7a61; color: #fff; }

/* ---- the builder of a campaign ---------------------------------------------------------------------------------- */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 14px; align-items: start; }
.canvas { position: relative; min-width: 0; }
.canvas-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: 12px; }
.palette { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .86rem; }
.palette .chip { border: 1px solid var(--line); cursor: pointer; font: 600 .78rem var(--sans); transition: transform .2s var(--ease), background-color .2s; }
.palette .chip:hover { transform: translateY(-2px); background: var(--aqua-soft); color: var(--aqua-strong); }
.tabs.small a { font-size: .8rem; padding: .28rem .75rem; }
.block-tools { position: absolute; z-index: 4; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #1f6f7b; box-shadow: var(--shadow-pop); animation: pop .25s var(--ease); }
.block-tools button { width: 30px; height: 28px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: .95rem; cursor: pointer; } .block-tools button:hover { background: rgba(255,255,255,.18); }
.inspector { position: sticky; top: 18px; padding: 1rem 1.1rem 1.2rem; display: grid; gap: 1rem; max-height: calc(100vh - 36px); overflow-y: auto; }
.insp-tabs { width: 100%; } .insp-tabs a { flex: 1; text-align: center; padding-inline: .4rem; font-size: .8rem; }
.panel { display: grid; gap: .9rem; animation: enter .45s var(--ease); } .panel h3 { font-size: 1.05rem; }
.panel textarea, .panel .f textarea { width: 100%; padding: .6rem .8rem; border-radius: .8rem; border: 1px solid var(--field-line); background: var(--field); color: var(--ink); font: inherit; resize: vertical; }
.actions.small { gap: .35rem; } .actions.small .chip { border: 1px solid var(--line); cursor: pointer; font: 600 .76rem var(--sans); }
.checks { display: grid; gap: .35rem; font-size: .9rem; } .checks label, label.check { display: flex; gap: .5rem; align-items: center; font-size: .9rem; } .checks input, label.check input { accent-color: var(--ink); width: 1.1rem; height: 1.1rem; }
.recip { display: grid; gap: .6rem; } .recip div { display: grid; grid-template-columns: 5.5rem 1fr; align-items: baseline; gap: .6rem; padding: .6rem .8rem; border-radius: .8rem; background: var(--warm); border: 1px solid var(--line); }
.recip b { font: 600 1.3rem var(--display); } .recip span { color: var(--muted); font-size: .86rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; align-items: center; font-size: .9rem; opacity: .35; transition: opacity .3s; }
.checklist li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); transition: background-color .3s, transform .3s var(--ease); }
.checklist li.ticked { opacity: 1; } .checklist li.ticked::before { content: "✓"; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: .8rem; transform: scale(1.1); }
.checklist li.warn.ticked::before { content: "!"; background: var(--warn-soft); color: var(--warn); }
.readonly .mail { pointer-events: none; }

/* ---- segments ---------------------------------------------------------------------------------------------------- */
.seg-grid, .flow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.seg, .flowcard { display: grid; gap: .7rem; padding: 1.2rem 1.3rem 1.2rem; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
.seg:hover, .flowcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.seg-top { display: grid; grid-template-columns: minmax(0, 1fr) 90px; align-items: center; gap: .6rem; } .seg-top b { font: 600 1.15rem var(--display); }
.seg p, .flowcard p { font-size: .9rem; }
.seg-num { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; } .seg-num b { font: 600 2rem var(--display); letter-spacing: -0.03em; } .seg-num span { font-size: .84rem; color: var(--muted); }
.rules { display: grid; gap: .6rem; padding: 0 1.3rem 1rem; }
.rule { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr) 36px; gap: .5rem; align-items: center; animation: enter .45s var(--ease); }
.rule + .rule::before { content: attr(data-join); grid-column: 1 / -1; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin: -.2rem 0 .1rem .2rem; }
.rule select, .rule input { width: 100%; min-width: 0; height: 44px; padding: 0 .8rem; border-radius: .8rem; border: 1px solid var(--field-line); background: var(--field); color: var(--ink); font: inherit; font-size: .92rem; }
.rule select:focus, .rule input:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.count-card { padding: 1.3rem 1.4rem; display: grid; gap: .6rem; }
.count-card > small { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.big-num { font: 600 3.4rem/1 var(--display); letter-spacing: -0.04em; transition: color .3s; } .big-num.tick { color: var(--aqua-strong); }

/* ---- flows ------------------------------------------------------------------------------------------------------- */
.flowcard-top { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; } .flowcard-top b { font: 600 1.15rem var(--display); margin-right: auto; }
.mini-flow { list-style: none; margin: 0; padding: .7rem; display: flex; gap: 6px; overflow: hidden; border-radius: 1rem; background: radial-gradient(circle, var(--line) 1px, transparent 1.5px) 0 0 / 14px 14px, var(--warm); }
.mini-flow li { flex: none; max-width: 9rem; padding: .35rem .6rem; border-radius: .6rem; background: var(--paper); border: 1px solid var(--line); font-size: .74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
.mini-flow li small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.mini-flow li.k-ausloeser { background: var(--ink); color: var(--on-ink); border-color: var(--ink); } .mini-flow li.k-ausloeser small { color: inherit; opacity: .7; }
.mini-flow li.k-mail { border-color: var(--aqua-strong); } .mini-flow li.k-warten { border-style: dashed; background: transparent; }
.flowcard-nums { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .84rem; color: var(--muted); } .flowcard-nums b { color: var(--ink); font-weight: 600; }
.flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.flow-canvas { padding: 1rem; background: radial-gradient(circle, var(--line) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--warm); }
.flow-scroll { overflow-x: auto; padding: 1rem .5rem 2rem; }
.fl { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column; align-items: center; width: max-content; min-width: 100%; }
.fl > li { position: relative; display: flex; flex-direction: column; align-items: center; }
.fl > li + li { padding-top: 34px; }
.fl > li + li::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 34px; margin-left: -1px; background: var(--field-line); opacity: .6; }
.running .fl > li + li::after { content: ""; position: absolute; top: 0; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--aqua-strong); box-shadow: 0 0 10px var(--aqua-bright); animation: travel 2.4s linear infinite; opacity: 0; }
@keyframes travel { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(30px); opacity: 0; } }
.node { position: relative; display: grid; gap: .15rem; width: 230px; padding: .75rem .95rem .85rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-align: left; font: inherit; cursor: pointer; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s, outline-color .2s; outline: 3px solid transparent; outline-offset: 2px; }
.node:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); } .node.sel { outline-color: var(--aqua-strong); }
.node small { font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.node b { font-weight: 600; font-size: .95rem; line-height: 1.25; } .node span { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.node em { position: absolute; top: -10px; right: 10px; padding: .05rem .5rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font: 600 .72rem var(--sans); font-style: normal; color: var(--ink); }
.node.k-ausloeser { background: var(--ink); color: var(--on-ink); border-color: var(--ink); } .node.k-ausloeser small, .node.k-ausloeser span { color: color-mix(in srgb, var(--on-ink) 70%, var(--ink)); }
.node.k-mail { border-color: color-mix(in srgb, var(--aqua-strong) 55%, var(--line)); } .node.k-mail small { color: var(--aqua-strong); }
.node.k-mail::after { content: "✉"; position: absolute; right: .8rem; top: .65rem; font-size: .9rem; color: var(--aqua-strong); }
.node.k-warten { width: auto; min-width: 150px; padding: .45rem .9rem; border-radius: 999px; border-style: dashed; background: var(--warm); box-shadow: none; text-align: center; } .node.k-warten small { display: none; } .node.k-warten b { font-size: .85rem; font-weight: 500; }
.node.k-bedingung { border-color: color-mix(in srgb, var(--gold) 70%, var(--line)); background: color-mix(in srgb, var(--gold) 9%, var(--paper)); } .node.k-bedingung small { color: var(--warn); }
.node.k-ende { width: auto; min-width: 110px; padding: .4rem .9rem; border-radius: 999px; background: var(--soft); box-shadow: none; text-align: center; } .node.k-ende small { display: none; } .node.k-ende b { font-size: .82rem; font-weight: 500; color: var(--muted); }
.node.k-aufgabe { background: var(--warn-soft); border-color: transparent; }
.node.later { opacity: .72; border-style: dashed; }
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; padding-top: 40px; }
.split::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 18px; margin-left: -1px; background: var(--field-line); opacity: .6; }
.split > .br { position: relative; display: flex; flex-direction: column; align-items: center; }
.split > .br::before { content: ""; position: absolute; top: -22px; height: 2px; background: var(--field-line); opacity: .6; }
.split > .br.yes::before { left: 50%; right: -20px; } .split > .br.no::before { left: -20px; right: 50%; }
.split > .br::after { content: ""; position: absolute; top: -22px; left: 50%; width: 2px; height: 22px; margin-left: -1px; background: var(--field-line); opacity: .6; }
.br-label { position: absolute; top: -32px; z-index: 1; padding: .05rem .55rem; border-radius: 999px; font-size: .7rem; font-weight: 700; background: var(--paper); border: 1px solid var(--line); }
.br.yes .br-label { color: var(--ok); left: calc(50% + 8px); } .br.no .br-label { color: var(--bad-text); right: calc(50% + 8px); }
.br > .fl { width: auto; min-width: 0; }
.node-panel .ph { align-items: center; }

/* ---- forms and the shop preview -------------------------------------------------------------------------------- */
.form-builder { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 14px; align-items: start; }
.form-settings .form { padding: 0 1.3rem 1.3rem; gap: 1rem; }
.shop-preview { padding: 1rem; overflow: hidden; }
.shop-frame { position: relative; overflow: hidden; border-radius: 1rem; background: #fbf8f2; color: #3d3b37; border: 1px solid #e6dccb; min-height: 560px; }
.shop-nav { display: flex; gap: 1.2rem; align-items: center; padding: .9rem 1.2rem; font-size: .85rem; color: #5a5750; border-bottom: 1px solid #ece3d3; } .shop-nav span:last-child { margin-left: auto; }
.shop-logo { display: inline-flex; align-items: center; gap: .45rem; margin-right: auto; font: 600 1rem Georgia, serif; color: #2f2e2b; } .shop-logo svg { width: 24px; height: 24px; }
.shop-hero { line-height: 0; max-height: 240px; overflow: hidden; } .shop-hero svg { width: 100%; height: auto; }
.shop-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7rem; padding: 1rem 1.2rem; font-size: .72rem; color: #7a766e; } .shop-row svg { width: 100%; height: auto; display: block; margin-bottom: .2rem; }
.sf-embed { margin: .4rem 1.2rem 1.2rem; padding: 1.2rem; border-radius: 12px; background: #f3ece0; animation: block-in .6s var(--ease); }
.sf-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(47,46,43,.38); backdrop-filter: blur(3px); animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; } }
.sf-pop { position: relative; width: min(420px, 88%); padding: 1.8rem 1.6rem 1.4rem; border-radius: 16px; background: #fffdf9; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: pop-in .6s var(--ease) .15s both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(20px) scale(.94); } }
.sf-close { position: absolute; right: .7rem; top: .6rem; border: 0; background: none; font-size: 1.3rem; color: #7a766e; cursor: pointer; }
.sform b { display: block; font: 500 1.5rem/1.2 Georgia, serif; color: #2f2e2b; } .sform p { margin: .5rem 0 1rem; font-size: .92rem; color: #5a5750; }
.sf-fields { display: grid; gap: .5rem; } .sf-input { display: block; padding: .7rem .9rem; border-radius: 6px; border: 1px solid #d8ccb8; background: #fff; color: #9a958b; font-size: .9rem; }
.sf-btn { display: block; padding: .75rem; border-radius: 6px; background: #5f7a61; color: #fff; font-weight: 600; text-align: center; font-size: .92rem; }
.sf-consent { display: grid; grid-template-columns: 18px 1fr; gap: .55rem; margin-top: .8rem; font-size: .74rem; line-height: 1.45; color: #6b675f; } .sf-consent i { width: 16px; height: 16px; margin-top: 2px; border-radius: 3px; border: 1.5px solid #9a958b; background: #fff; }
.steps-v { list-style: none; margin: 0; padding: 0 1.3rem 1.2rem; counter-reset: s; display: grid; gap: 0; }
.steps-v li { position: relative; display: grid; gap: .1rem; padding: 0 0 1rem 2.6rem; counter-increment: s; }
.steps-v li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--muted); font: 700 .8rem var(--sans); }
.steps-v li::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line); } .steps-v li:last-child::after { display: none; }
.steps-v li.done::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
.steps-v small { color: var(--muted); font-size: .86rem; }

/* ---- brand, templates, codes ---------------------------------------------------------------------------------- */
.kit { padding: 0 1.3rem 1.3rem; display: grid; gap: 1.2rem; } .kit .facts { padding: 0; }
.kit-logo { display: flex; align-items: center; gap: .7rem; padding: 1.2rem; border-radius: 1rem; background: #f3ece0; color: #2f2e2b; font: 600 1.3rem Georgia, serif; } .kit-logo svg { width: 44px; height: 44px; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.swatches span { display: grid; gap: .1rem; font-size: .86rem; font-weight: 600; } .swatches small { font-weight: 400; color: var(--muted); font-size: .74rem; }
.swatches i { height: 54px; border-radius: .8rem; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); margin-bottom: .3rem; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; padding: 0 1.3rem 1.3rem; }
.tpl { display: grid; gap: .3rem; padding: .7rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--paper); text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; animation: enter .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.tpl:hover { transform: translateY(-5px) rotate(-.5deg); box-shadow: var(--shadow-pop); } .tpl small { color: var(--muted); font-size: .78rem; }
.tpl-pic { display: grid; gap: 6px; padding: 10px; height: 180px; align-content: start; border-radius: .7rem; background: #f3ece0; overflow: hidden; }
.tpl-pic i { display: block; border-radius: 3px; background: #ddd0bb; }
.tpl-pic .t-logo { width: 40%; height: 8px; margin: 0 auto 2px; background: #5f7a61; } .tpl-pic .t-hero { height: 50px; background: linear-gradient(135deg, #c39368, #e9dfcf); }
.tpl-pic .t-title { height: 10px; width: 75%; background: #2f2e2b; opacity: .7; } .tpl-pic .t-line { height: 6px; } .tpl-pic .t-line.short { width: 60%; }
.tpl-pic .t-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: none; } .tpl-pic .t-prods i { height: 26px; background: #e6dccb; }
.tpl-pic .t-btn { width: 40%; height: 14px; border-radius: 3px; background: #5f7a61; }
.code { font-family: ui-monospace, Menlo, monospace; letter-spacing: .05em; }
.codes .row, .contacts .row, .campaigns .row, .forms .row, .report .row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.4fr) 6.5rem 7.5rem; }
.requests .row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.6fr) 6.5rem 6.5rem 6rem; }
.team .row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 9rem; }
.row .r small { display: block; color: var(--muted); }
.who-cell { display: flex; align-items: center; gap: .7rem; min-width: 0; } .who-cell > span { min-width: 0; } .who-cell small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unique { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.4rem; align-items: center; padding: 0 1.3rem 1.3rem; } .unique .facts { padding: 0; }
.code-stack { position: relative; height: 150px; }
.code-stack span { position: absolute; left: 10px; right: 10px; padding: .8rem; border-radius: .8rem; border: 2px dashed var(--gold); background: var(--paper); font: 700 1rem ui-monospace, Menlo, monospace; letter-spacing: .06em; text-align: center; box-shadow: var(--shadow); animation: deal .9s var(--ease) both; }
.code-stack span:nth-child(1) { top: 0; transform: rotate(-4deg); animation-delay: .1s; } .code-stack span:nth-child(2) { top: 26px; transform: rotate(2deg); animation-delay: .25s; }
.code-stack span:nth-child(3) { top: 52px; transform: rotate(-1deg); animation-delay: .4s; } .code-stack span:nth-child(4) { top: 78px; transform: rotate(3deg); animation-delay: .55s; }
@keyframes deal { from { opacity: 0; transform: translateY(-30px) rotate(-12deg); } }

/* ---- evaluation, predictions -------------------------------------------------------------------------------- */
.ab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 1.3rem; }
.ab-col { padding: 1rem 1.1rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--warm); }
.ab-col.win { background: color-mix(in srgb, var(--ok-soft) 70%, var(--paper)); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.ab-head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .6rem; }
.ab-name { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-weight: 700; }
.ab .hbar { grid-template-columns: 6.5rem minmax(0, 1fr) 6rem; }
.switches { padding: 0 1.3rem 1rem; }
.sw-row { display: flex; justify-content: space-between; gap: 1.2rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--line); } .sw-row:first-child { border-top: 0; }
.sw-row small { display: block; color: var(--muted); font-size: .86rem; max-width: 46rem; }
.switch { flex: none; position: relative; width: 46px; height: 28px; border-radius: 999px; border: 0; background: var(--field-line); cursor: pointer; transition: background-color .3s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.switch[aria-checked="true"] { background: var(--ok); } .switch[aria-checked="true"]::after { transform: translateX(18px); }
.heat-wrap { padding: 0 1.3rem 1rem; overflow-x: auto; }
.heat { display: grid; gap: 3px; min-width: 620px; }
.heat-row { display: grid; grid-template-columns: 2.4rem repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.heat-row > span[role="rowheader"] { font-size: .78rem; color: var(--muted); font-weight: 600; }
.heat-head span { font-size: .68rem; color: var(--subtle); }
.cell { aspect-ratio: 1.3; border-radius: 4px; background: color-mix(in srgb, var(--aqua-strong) var(--v), var(--soft)); transition: transform .2s var(--ease), box-shadow .2s; animation: enter .6s var(--ease) both; }
.cell:hover { transform: scale(1.25); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); position: relative; z-index: 1; }
.heat-legend { display: flex; align-items: center; gap: .6rem; justify-content: flex-end; margin-top: .7rem; font-size: .76rem; color: var(--muted); }
.heat-legend i { width: 140px; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--soft), var(--aqua-strong)); }

/* ---- delivery ----------------------------------------------------------------------------------------------------- */
.records { padding: 0 1.3rem 1.1rem; display: grid; gap: .5rem; }
.record { display: grid; grid-template-columns: 14px minmax(0, 1.3fr) minmax(0, 1.4fr) minmax(0, 2fr) auto; gap: .9rem; align-items: center; padding: .75rem .9rem; border-radius: .9rem; background: var(--warm); border: 1px solid var(--line); font-size: .88rem; }
.record small { display: block; color: var(--muted); font-size: .8rem; } .record code { font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-state { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); } .rec-state.warn { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.records.checking .rec-state { background: var(--subtle); box-shadow: 0 0 0 4px var(--soft); animation: blink .8s infinite; }
.record.done .rec-state { animation: pop .4s var(--ease); }
.gauge { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 4.5rem; gap: .8rem; align-items: center; padding: .9rem 0 .3rem; font-size: .9rem; }
.gauge b { text-align: right; font-weight: 600; }
.g-track { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--ok-soft), var(--warn-soft) 60%, var(--bad-soft)); }
.g-track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 999px; background: var(--ok); transform-origin: left; animation: grow-x 1s var(--ease) .3s both; }
.g-track em { position: absolute; left: var(--at); top: -18px; transform: translateX(-50%); font: 600 .68rem var(--sans); font-style: normal; color: var(--muted); }
.g-track em::after { content: ""; position: absolute; left: 50%; top: 15px; width: 2px; height: 16px; background: var(--muted); }

/* ---- connections, brands, team, billing ------------------------------------------------------------------------ */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.brand { padding: 1.2rem 1.3rem; display: grid; gap: 1rem; align-content: start; } .brand .facts { padding: 0; }
.brand-top { display: flex; align-items: center; gap: .7rem; } .brand-top b { font: 600 1.15rem var(--display); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-soft); color: var(--aqua-strong); font-weight: 700; font-size: 1.1rem; }
.brand-mark.b0 { background: #5f7a61; color: #fff; } .brand-mark.b1 { background: #c47a52; color: #fff; } .brand-mark.b2 { background: var(--soft); color: var(--muted); }
.conn-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.4rem; padding: 0 1.3rem 1.3rem; } .conn-grid .facts { padding: 0; }
.sync { display: grid; gap: .55rem; align-content: start; padding: 1rem 1.1rem; border-radius: 1rem; background: var(--warm); border: 1px solid var(--line); }
.sync-row { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 4.5rem; gap: .7rem; align-items: center; font-size: .88rem; } .sync-row b { text-align: right; font-weight: 600; }
.sync .btn { width: fit-content; }
.row.hook { grid-template-columns: minmax(0, 1fr) auto; } .row code { font-size: .78rem; }
.both-ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; align-items: center; padding: 0 1.3rem; }
.bw { padding: 1rem 1.1rem; border-radius: 1rem; background: var(--ink); color: var(--on-ink); text-align: center; } .bw small { display: block; opacity: .75; font-size: .8rem; margin-top: .2rem; }
.bw-arrows { display: grid; gap: .8rem; }
.arr { position: relative; display: block; padding: .4rem .8rem; font-size: .78rem; color: var(--muted); text-align: center; border-radius: 999px; background: var(--warm); overflow: hidden; }
.arr::after { content: ""; position: absolute; top: 50%; width: 30%; height: 2px; margin-top: 12px; background: linear-gradient(90deg, transparent, var(--aqua-strong), transparent); animation: slide-r 2.2s linear infinite; }
.arr.l::after { animation-name: slide-l; }
@keyframes slide-r { from { left: -30%; } to { left: 100%; } } @keyframes slide-l { from { left: 100%; } to { left: -30%; } }
.conn-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.conn-cards .card .ph { align-items: center; }
.later-note { background: color-mix(in srgb, var(--aqua-soft) 50%, var(--paper)); }
.sep-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } .sep-grid small { display: block; color: var(--muted); font-size: .86rem; margin-top: .2rem; }
.perm { padding: 0 1.3rem 1.2rem; }
.perm-row { display: grid; grid-template-columns: minmax(0, 1fr) 7rem 7rem; gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.perm-row.head { border-top: 0; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.perm-row .yes { color: var(--ok); font-weight: 600; } .perm-row .no { color: var(--subtle); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 1.3rem; }
.plan-card { display: grid; gap: .3rem; padding: 1.1rem 1.2rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--warm); }
.plan-card .price { font: 600 1.4rem var(--display); color: var(--muted); } .plan-card small { color: var(--muted); }
.stage-lite .facts { padding-bottom: 1.3rem; }

/* ---- dialogs and notices ----------------------------------------------------------------------------------------- */
.dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-pop); }
.dialog::backdrop { background: rgba(8,20,36,.45); backdrop-filter: blur(3px); }
.dialog:popover-open { animation: pop-in .45s var(--ease); display: grid; gap: 1rem; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; } .dialog-head h2 { font-size: 1.35rem; }
.steps-line { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.steps-line li { padding: .3rem .8rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .8rem; font-weight: 600; }
.steps-line li.on { background: var(--ink); color: var(--on-ink); } .steps-line li.done { background: var(--ok-soft); color: var(--ok); }
.map { display: grid; gap: .4rem; } .map-row { display: grid; grid-template-columns: 8rem minmax(0, 1fr) minmax(0, 1.2fr); gap: .7rem; align-items: center; font-size: .9rem; }
.map-row.head { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.map-row select { height: 40px; padding: 0 .7rem; border-radius: .7rem; border: 1px solid var(--field-line); background: var(--field); color: var(--ink); font: inherit; }
.trigger-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.trigger { display: grid; gap: .2rem; padding: .9rem 1rem; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: transform .3s var(--ease), background-color .2s; }
.trigger:hover { transform: translateY(-3px); background: var(--aqua-soft); } .trigger small { color: var(--muted); }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.toast { max-width: 420px; padding: .9rem 1.1rem; border-radius: 1rem; background: var(--ink); color: var(--on-ink); font-size: .9rem; box-shadow: var(--shadow-pop); animation: toast-in .5s var(--ease); pointer-events: auto; }
.toast b { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua-bright); margin-bottom: .15rem; }
.toast.out { animation: toast-out .4s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } } @keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }
@media (prefers-color-scheme: dark) { :root:not([data-ansicht="hell"]) .toast b { color: var(--aqua-strong); } }
:root[data-ansicht="dunkel"] .toast b { color: var(--aqua-strong); }

/* ---- contact ------------------------------------------------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0 1.3rem 1.2rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .8rem; padding-bottom: 1.1rem; }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line); } .timeline li:last-child::after { display: none; }
.t-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--soft); border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--line); margin-top: 2px; }
.t-Bestellung .t-dot { background: var(--ok); } .t-Mail .t-dot { background: var(--aqua-strong); } .t-Klick .t-dot { background: var(--gold); } .t-Anmeldung .t-dot { background: var(--ink); } .t-Rechnung .t-dot { background: var(--muted); }
.t-head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; } .t-head small { color: var(--muted); } .t-head b { margin-left: auto; font-weight: 600; }
.timeline p { font-size: .93rem; margin-top: .25rem; }
.reason { margin-top: .4rem !important; padding: .5rem .75rem; border-radius: .7rem; background: var(--aqua-soft); color: var(--ink); font-size: .86rem !important; } .reason span { font-weight: 700; color: var(--aqua-strong); }
.consent { padding: .8rem 1.3rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; } .ph + .consent { border-top: 0; padding-top: 0; }
.consent-head { display: flex; justify-content: space-between; align-items: center; }

/* ---- the drawn admin of the shop ------------------------------------------------------------------------------ */
.admin-frame { border-radius: 1.2rem; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-pop); margin-bottom: 14px; }
.af-top { display: flex; align-items: center; gap: 1rem; padding: .6rem 1rem; background: #1f2329; color: #e8eaed; font-size: .84rem; }
.af-shop { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; } .af-shop svg { width: 22px; height: 22px; }
.af-search { flex: 1; max-width: 420px; margin: 0 auto; padding: .35rem .8rem; border-radius: .6rem; background: #33383f; color: #9aa0a6; }
.af-user { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #5f7a61; font-size: .72rem; font-weight: 700; }
.af-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--soft); min-height: 520px; }
.af-nav { display: grid; align-content: start; gap: 2px; padding: .8rem .6rem; background: var(--paper); border-right: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.af-nav span { padding: .4rem .7rem; border-radius: .5rem; } .af-nav .on { background: var(--soft); color: var(--ink); font-weight: 600; }
.af-lbl { margin-top: .6rem; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.af-app { padding: 1.2rem; display: grid; gap: 14px; align-content: start; }
.af-app-head { display: flex; justify-content: space-between; align-items: center; } .wordmark.small { font-size: 1.2rem; }
.af-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.af-check { padding: .8rem 1rem; border-radius: 1rem; background: var(--paper); border: 1px solid var(--line); } .af-check small { display: block; color: var(--muted); font-size: .8rem; }
.af-check b::before { content: "●"; margin-right: .4rem; color: var(--ok); } .af-check.warn b::before { color: var(--warn); }
.af-app .kpis { margin: 0; }

/* ---- the page for recipients, in the firm's design ----------------------------------------------------------- */
/* The pages a recipient sees (sign-up, confirmation, settings, unsubscribe) wear the firm's design, not Billinski's:
   its colours and its logo, in its style. Without a brand's variables they show the invented Muster Manufaktur. */
.recipient { position: relative; overflow: hidden; min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem 16px; background: var(--m-ground, #f3ece0); color: #3d3b37; color-scheme: light; }
.recipient > * { position: relative; z-index: 1; }
.r-brand { width: min(520px, 100%); padding: 0 .2rem; justify-content: flex-start; color: var(--m-on, #2f2e2b); }
.r-card { width: min(520px, 100%); padding: 1.6rem 1.8rem; border-radius: 16px; background: #fffdf9; box-shadow: 0 30px 70px -30px rgba(47,46,43,.45); animation: pop-in .6s var(--ease); }
.r-card h1 { font: 500 1.9rem var(--m-font, Georgia, serif); color: var(--m-text, #2f2e2b); letter-spacing: 0; } .r-card > p, .r-card > div > p { margin: .3rem 0 1.2rem; color: #6b675f; }
.r-opts { display: grid; gap: .7rem; margin-bottom: 1.1rem; }
.r-opts label { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; padding: .8rem .9rem; border-radius: 10px; border: 1px solid #e6dccb; cursor: pointer; transition: background-color .2s; }
.r-opts label:hover { background: #fbf6ee; } .r-opts input { accent-color: var(--m-btn, #5f7a61); width: 18px; height: 18px; margin-top: 2px; }
.r-opts small { display: block; color: #7a766e; font-size: .85rem; }
.r-freq { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; font-size: .9rem; margin-bottom: 1.2rem; } .r-freq span { font-weight: 600; } .r-freq input { accent-color: var(--m-btn, #5f7a61); }
.r-acts { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.r-btn { padding: .75rem 1.4rem; border: 0; border-radius: 6px; background: var(--m-btn, #5f7a61); color: #fff; font: 600 .95rem var(--sans); cursor: pointer; }
.r-link { border: 0; background: none; padding: 0; font: inherit; color: var(--m-btn, #a8613e); text-decoration: underline; cursor: pointer; }
.r-data { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid #ece3d3; font-size: .9rem; } .r-data summary { cursor: pointer; font-weight: 600; } .r-data p { margin-top: .5rem; color: #6b675f; }
.r-foot { width: min(520px, 100%); padding: 0 .2rem; font-size: .74rem; color: var(--m-quiet, #9a958b); }
.recipient .r-foot a, .recipient .r-foot u { color: inherit; }
.r-note { width: min(520px, 100%); font-size: .84rem; color: #6b675f; } .r-note a { color: #3f5a41; }
/* a logo's part in square brackets is a filled box: on a card in the text colour, on the ground in what reads there */
.m-word { letter-spacing: -.01em; }
.m-badge { display: inline-block; margin-right: .14em; padding: .04em .36em; border-radius: .36em; background: var(--m-text, #2f2e2b); color: #fff; font-weight: inherit; }
.r-brand .m-badge { background: var(--m-on, #2f2e2b); color: var(--m-ground, #fff); }
/* the two small pictures: a tick that draws itself, a letter on its way */
.r-pic { display: block; width: 60px; height: 60px; margin: 0 0 1rem; overflow: visible; }
.r-tick .r-ring { fill: var(--m-tint, #eef2ec); stroke: var(--m-btn, #5f7a61); stroke-width: 3; stroke-dasharray: 170; stroke-dashoffset: 170; animation: r-draw .7s var(--ease) .25s forwards; }
.r-tick .r-check { fill: none; stroke: var(--m-btn, #5f7a61); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: r-draw .45s var(--ease) .8s forwards; }
.r-mail { width: 90px; }
.r-mail .r-env { fill: var(--m-tint, #eef2ec); stroke: var(--m-btn, #5f7a61); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: r-fly 2.4s ease-in-out infinite alternate; }
.r-mail .r-env path { fill: none; }
.r-mail .r-trail { fill: none; stroke: var(--m-btn, #5f7a61); stroke-width: 3; stroke-linecap: round; opacity: .45; stroke-dasharray: 6 6; animation: r-trail 1s linear infinite; }
@keyframes r-draw { to { stroke-dashoffset: 0; } }
@keyframes r-fly { from { transform: translateX(-3px) rotate(-3deg); } to { transform: translateX(5px) rotate(2deg); } }
@keyframes r-trail { to { stroke-dashoffset: -24; } }
/* The style "Bühne": the ground colour is a stage with two glows in the brand's colours that drift slowly; the
   logo and the foot stand on it, the card floats above; round buttons. */
.recipient[data-stil="buehne"] { gap: 1.5rem; color: var(--m-soft); }
.recipient[data-stil="buehne"]::before, .recipient[data-stil="buehne"]::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.recipient[data-stil="buehne"]::before { width: 46rem; height: 30rem; left: -14rem; top: -16rem; background: var(--m-glow1); animation: r-drift 16s ease-in-out infinite alternate; }
.recipient[data-stil="buehne"]::after { width: 38rem; height: 26rem; right: -12rem; top: -10rem; background: var(--m-glow2); animation: r-drift 21s ease-in-out infinite alternate-reverse; }
@keyframes r-drift { to { transform: translate3d(7rem, 5rem, 0) scale(1.18); } }
@keyframes r-rise { from { opacity: 0; transform: translateY(18px); } }
[data-stil="buehne"] .r-brand { justify-content: center; padding: 0; font: 700 1.55rem var(--m-font); letter-spacing: -.02em; animation: r-rise .7s var(--ease) both; }
[data-stil="buehne"] .r-card { padding: 2.1rem 2.2rem 2rem; border-radius: 28px; background: #fff; box-shadow: 0 50px 100px -40px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.08); animation: r-rise .8s var(--ease) .08s both; }
[data-stil="buehne"] .r-card h1 { font: 700 2rem/1.12 var(--m-font); letter-spacing: -.028em; }
[data-stil="buehne"] .r-card > p, [data-stil="buehne"] .r-card > div > p { color: var(--m-soft); font-size: 1.02rem; line-height: 1.6; }
[data-stil="buehne"] .r-btn { position: relative; overflow: hidden; padding: .9rem 1.8rem; border-radius: 999px; font-size: 1rem; box-shadow: 0 16px 30px -16px var(--m-btn); transition: transform .25s var(--ease), box-shadow .25s; }
[data-stil="buehne"] .r-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); }
[data-stil="buehne"] .r-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -16px var(--m-btn); } [data-stil="buehne"] .r-btn:hover::before { transform: translateX(120%); }
[data-stil="buehne"] .r-btn:active { transform: scale(.98); }
[data-stil="buehne"] .r-field input { padding: .85rem 1rem; border-radius: 14px; border-color: var(--m-line); color: var(--m-text); transition: border-color .2s, box-shadow .2s; }
[data-stil="buehne"] .r-field input:focus { outline: 0; border-color: var(--m-btn); box-shadow: 0 0 0 4px var(--m-tint); }
[data-stil="buehne"] .r-field { color: var(--m-text); } [data-stil="buehne"] .r-consent { color: var(--m-soft); font-size: .9rem; } [data-stil="buehne"] .r-consent input { accent-color: var(--m-btn); }
[data-stil="buehne"] .r-state, [data-stil="buehne"] .r-opts label { border-radius: 18px; border-color: var(--m-line); } [data-stil="buehne"] .r-state b { color: var(--m-text); } [data-stil="buehne"] .r-state span { color: var(--m-soft); }
[data-stil="buehne"] .r-data { border-top-color: var(--m-line); } [data-stil="buehne"] .r-data summary { color: var(--m-text); } [data-stil="buehne"] .r-data p { color: var(--m-soft); }
[data-stil="buehne"] .r-saved { color: var(--m-btn); }
[data-stil="buehne"] .r-foot { text-align: center; font-size: .78rem; line-height: 1.6; animation: r-rise .8s var(--ease) .2s both; }
@media (max-width: 480px) { [data-stil="buehne"] .r-card { padding: 1.7rem 1.4rem 1.6rem; border-radius: 24px; } [data-stil="buehne"] .r-card h1 { font-size: 1.7rem; } }
@media (max-width: 700px) { .recipient[data-stil="buehne"]::before { width: 26rem; height: 20rem; left: -12rem; top: -12rem; } .recipient[data-stil="buehne"]::after { width: 22rem; height: 16rem; right: -11rem; top: -9rem; } }
@media (prefers-reduced-motion: reduce) {
  .recipient::before, .recipient::after, .r-brand, .r-card, .r-foot, .r-mail .r-env, .r-mail .r-trail { animation: none !important; }
  .r-tick .r-ring, .r-tick .r-check { animation: none; stroke-dashoffset: 0; }
}
[data-r-done] { animation: block-in .6s var(--ease); }

/* ---- how it is built ---------------------------------------------------------------------------------------------- */
.arch { overflow: hidden; }
.arch-flow { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); gap: 0; align-items: center; padding: .4rem 1.3rem 1.4rem; }
.arch-col { display: grid; gap: .6rem; align-content: start; align-self: start; }
.arch-lbl { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); padding-left: .2rem; }
.arch-node { padding: .75rem .85rem; border-radius: .9rem; border: 1px solid var(--line); background: var(--warm); font-size: .86rem; animation: enter .6s var(--ease) both; }
.arch-node small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.4; margin-top: .15rem; }
.arch-node.strong { background: var(--ink); color: var(--on-ink); border-color: var(--ink); } .arch-node.strong small { color: color-mix(in srgb, var(--on-ink) 72%, var(--ink)); }
.arch-node.strong code { background: rgba(255,255,255,.12); color: inherit; }
.arch-arrow { position: relative; height: 100%; min-height: 200px; }
.arch-arrow i { position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: var(--line); }
.arch-arrow i::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua-strong); box-shadow: 0 0 8px var(--aqua-bright); animation: hop 1.8s linear infinite; }
@keyframes hop { from { left: -4px; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { left: calc(100% - 4px); opacity: 0; } }
.rules-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; } .rules-split b { display: block; margin-bottom: .5rem; } .rules-split .yes { color: var(--ok); } .rules-split .no { color: var(--muted); }
.model { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; padding: 0 1.3rem 1.3rem; }
.entity { padding: .8rem .9rem; border-radius: .9rem; border: 1px solid var(--line); background: var(--warm); }
.entity b { font: 600 .9rem ui-monospace, Menlo, monospace; color: var(--aqua-strong); } .entity small { display: block; color: var(--muted); font-size: .82rem; margin-top: .2rem; }

/* ---- narrow screens ------------------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .editor, .flow-layout, .form-builder { grid-template-columns: minmax(0, 1fr); }
  .inspector { position: static; max-height: none; }
  .conn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch-flow { grid-template-columns: minmax(0, 1fr); gap: .8rem; } .arch-arrow { min-height: 28px; } .arch-arrow i { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .arch-arrow i::after { left: -3px !important; animation-name: hop-v; }
  @keyframes hop-v { from { top: -4px; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { top: calc(100% - 4px); opacity: 0; } }
}
@media (max-width: 980px) {
  .stage { grid-template-columns: minmax(0, 1fr); padding: 1.6rem 1.3rem; } .kpis.five, .kpis.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lastmail-body { grid-template-columns: minmax(0, 1fr); justify-items: center; } .conn-grid, .both-ways, .rules-split, .unique { grid-template-columns: minmax(0, 1fr); }
  .sep-grid, .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } .af-body { grid-template-columns: minmax(0, 1fr); } .af-nav { display: none; } .af-checks, .plans { grid-template-columns: minmax(0, 1fr); }
  .record { grid-template-columns: 14px minmax(0, 1fr) auto; } .record code { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
  .codes .row, .contacts .row, .campaigns .row, .forms .row, .report .row, .requests .row, .team .row { grid-template-columns: minmax(0, 1fr) auto; }
  .contacts .row > :nth-child(4), .campaigns .row > :nth-child(4), .forms .row > :nth-child(4), .report .row > :nth-child(2), .requests .row > :nth-child(3), .requests .row > :nth-child(4), .codes .row > :nth-child(4) { display: none; }
  .rule { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rule input { grid-column: 1 / 2; }
  .conn-cards, .ab, .kpis.five, .kpis.three { grid-template-columns: minmax(0, 1fr); } .hbar, .fstep, .gauge { grid-template-columns: 5.5rem minmax(0, 1fr) 5.5rem; }
  .m-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shop-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feed li { grid-template-columns: minmax(0, 1fr) auto; } .feed li .fk { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .chart svg { clip-path: none; } .spark path { stroke-dashoffset: 0; }
}
/* a row of two things (a name and a chip, a name and a switch) keeps both on one line */
.row:where(:has(> :nth-child(2):last-child)) { grid-template-columns: minmax(0, 1fr) auto; }
.pad.list-plain { padding-left: 2.6rem; }
/* a card that begins with its content, without a head above it: .pad alone has no room at the top */
.pad.pad-first { padding-top: 1.1rem; }
/* the grids of this program stand apart from what follows them, like Büro's cards (buero.css: main > .card …) */
main > :is(.seg-grid, .flow-grid, .brand-grid, .editor, .flow-layout, .form-builder, .admin-frame) { margin-bottom: 14px; }
.lists .row { grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) 7rem 9rem; }
@media (max-width: 640px) { .lists .row { grid-template-columns: minmax(0, 1fr) auto; } .lists .row > :nth-child(3) { display: none; } }
/* a note under the rows of a list starts below a line, not against the last row */
.row + p.why.pad { padding-top: .9rem; border-top: 1px solid var(--line); }
/* ---- the live program ----------------------------------------------------------------------------------------- */
.stage-note { background: var(--warn-soft); color: var(--warn); } .stage-note code { background: transparent; color: inherit; padding: 0; }
.who .btn-link { font-size: .8rem; }
.signin { min-height: 100vh; display: grid; place-content: center; padding: 2rem 16px; }
.signin-card { width: min(440px, calc(100vw - 32px)); padding: 2rem 2rem 1.6rem; display: grid; gap: 1rem; }
.signin-card h1 { font-size: 1.8rem; } .signin-form { display: grid; gap: .9rem; } .signin-form .btn { width: fit-content; } .small { font-size: .84rem; }
.dev-outbox > .card { width: min(820px, calc(100vw - 32px)); padding-bottom: 1rem; }
.dev-mail { margin: 0 1.3rem .9rem; padding: .9rem 1rem; border-radius: 1rem; background: var(--warm); border: 1px solid var(--line); }
.dev-mail pre { white-space: pre-wrap; font: .86rem/1.5 ui-monospace, Menlo, monospace; margin: .6rem 0; color: var(--ink); }
.wording { padding: 0; font-size: .86rem; } .wording summary { cursor: pointer; color: var(--muted); } .wording p { margin-top: .4rem; padding: .6rem .8rem; border-radius: .7rem; background: var(--warm); }
.wording-row { grid-template-columns: minmax(0, 1fr); } .wording-text { margin-top: .4rem; font-size: .92rem; color: var(--ink); max-width: 70ch; }
.empty-line { list-style: none; padding: .4rem 0; }
.r-form { display: grid; gap: .8rem; margin-top: 1rem; }
.r-field { display: grid; gap: .3rem; font-size: .88rem; font-weight: 600; } .r-field input { padding: .7rem .9rem; border-radius: 6px; border: 1px solid #d8ccb8; background: #fff; font: inherit; font-weight: 400; color: #2f2e2b; }
.r-field input:focus { outline: 3px solid var(--m-btn, #5f7a61); outline-offset: 1px; }
.r-consent { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; font-size: .84rem; line-height: 1.5; color: #5a5750; } .r-consent input { accent-color: var(--m-btn, #5f7a61); width: 18px; height: 18px; margin-top: 2px; }
.r-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.r-retry { margin: 0; color: #a23a24; font-size: .88rem; }
.r-form .r-btn { justify-self: start; }
.r-state { display: grid; gap: .6rem; padding: 1rem; border-radius: 10px; border: 1px solid #e6dccb; margin: .8rem 0; } .r-state span { color: #5a5750; }
.r-state .r-btn { width: fit-content; } .r-saved { color: var(--m-btn, #3f5a41); font-weight: 600; }
.recipient a { color: var(--m-btn, #3f5a41); }
.m-img { display: block; width: 100%; height: auto; }
.m-pic-box { display: block; aspect-ratio: 4 / 3; border-radius: 6px; background: var(--m-ground, #f3ece0); margin-bottom: .3rem; }
.h1-input { width: 100%; max-width: 40rem; border: 0; border-radius: .3em; background: transparent; color: var(--ink); font: 600 clamp(1.9rem, 3.2vw, 2.8rem)/1.1 var(--display); letter-spacing: -0.035em; padding: 0; }
.h1-input:hover { box-shadow: 0 0 0 2px var(--line); } .h1-input:focus { outline: none; box-shadow: 0 0 0 3px var(--focus); }
/* the live flow: the trigger above the first step, joined by the same line as the steps */
.flow-scroll > .trigger-node { width: 230px; margin: 0 auto; cursor: default; }
.flow-scroll > .trigger-node + .fl > li:first-child { padding-top: 34px; }
.flow-scroll > .trigger-node + .fl > li:first-child::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 34px; margin-left: -1px; background: var(--field-line); opacity: .6; }
.empty-branch { cursor: default; opacity: .7; }
.add-end { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; align-items: center; padding: .4rem 0 .6rem; }
.add-end select, .step-form select, .step-form input, .inline-form select { height: 40px; min-width: 0; max-width: 100%; padding: 0 .7rem; border-radius: .7rem; border: 1px solid var(--field-line); background: var(--field); color: var(--ink); font: inherit; }
.step-form input { width: 100%; } .step-form label { display: grid; gap: .3rem; font-size: .84rem; font-weight: 600; }
.step-form .rule { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .step-form .rule input { grid-column: 1 / 2; }
.add-step { border-top: 1px solid var(--line); padding-top: .9rem; }
.inline-form { display: inline-flex; gap: .4rem; align-items: center; margin: 0; }
.sub-input { width: 100%; max-width: 40rem; margin-top: .4rem; border: 0; background: transparent; color: var(--muted); font: inherit; padding: 0; } .sub-input:focus { outline: none; box-shadow: 0 0 0 3px var(--focus); border-radius: .3em; }
.api-doc pre { white-space: pre-wrap; font: .8rem/1.5 ui-monospace, Menlo, monospace; padding: .8rem 1rem; border-radius: .8rem; background: var(--warm); border: 1px solid var(--line); overflow-x: auto; }
.f.color input { width: 100%; height: 44px; padding: 2px; border-radius: .7rem; border: 1px solid var(--field-line); background: var(--field); }
.f label > input, .f label > select { margin-top: .3rem; }
.small-b { font-size: 1.05rem !important; } .probe-card { width: min(720px, calc(100vw - 32px)); padding-bottom: 1rem; }

/* the demo as a part of billinski.de: the way back, under the name in the side column */
.who .demo-home { display: inline-block; margin-top: .45rem; font-size: .82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.who .demo-home:hover { color: var(--ink); }
/* a row the search of the demo has filtered out (a.row is a grid, which would win over the attribute) */
.contacts a.row[hidden] { display: none; }

/* the shop on the page of connections: what it is and how it stands, a word and its value side by side */
.shop-facts { display: grid; grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr); gap: .5rem 1.4rem; margin: 0; align-items: baseline; }
.shop-facts dt { color: var(--muted); }
.shop-facts dd { margin: 0; overflow-wrap: anywhere; }
.shop-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 640px) { .shop-facts { grid-template-columns: 1fr; gap: .1rem; } .shop-facts dd { margin-bottom: .7rem; } }
