
:root {
  --ink: #131316; --muted: #656572; --bg: #F4F5F8; --card: #FFFFFF; --line: #E6E6EB; --field: #9C9DAB;
  --yellow: #FFE057; --yellow-hover: #FFD62E; --yellow-soft: #FFF8D6;
  --blue: #0736AB; --focus: #1A4FD6; --error: #B42318; --ok: #157F3D;
  --font: "PP Neue Montreal", "Neue Montreal", Inter, "Helvetica Neue", "Segoe UI", system-ui, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; transition: background-color .5s ease; }
body.is-dark { background: var(--ink); }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-inline-size: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* Prototypebjælke. Ikke en del af produktet */
.proto { background: #131316; color: #fff; font-size: 13px; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 8px 16px; border-bottom: 1px solid #2B2C34; }
.proto p { color: #C9CAD3; }
.proto p strong { color: #fff; font-weight: 600; }
.proto-g { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.proto-g > span { color: #C9CAD3; margin-right: 4px; }
.proto button { color: #fff; background: transparent; border: 1px solid #4A4B57; border-radius: 999px; padding: 6px 12px; min-height: 32px; font-size: 13px; }
.proto button:hover { border-color: #fff; }
.proto button[aria-pressed="true"] { background: #fff; color: #131316; border-color: #fff; font-weight: 600; }
.proto button:disabled { opacity: .4; cursor: default; }
.proto :focus-visible { outline-color: var(--yellow); }
.proto-end { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 700px) { .proto { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; } .proto-g { flex-wrap: nowrap; } }

/* Rammen */
.app { width: 100%; max-width: 1180px; margin: 0 auto; padding: clamp(14px, 3vw, 28px) clamp(16px, 3vw, 28px) 56px; flex: 1; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 14px 40px; flex-wrap: wrap; padding: 4px 4px 6px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.logo img { height: 28px; width: auto; display: block; }
.logo svg { width: 24px; height: 24px; }
.top-note { color: var(--muted); font-size: 14px; }
.progress { list-style: none; display: flex; gap: 6px; flex: 1 1 260px; max-width: 420px; margin-left: auto; }
.progress li { flex: 1 1 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); min-width: 0; }
.progress li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.progress li:not([aria-current="step"]) .pl { visibility: hidden; }
.progress .pl { white-space: nowrap; }
.bar { height: 4px; border-radius: 2px; background: #DCDDE5; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); }
.stage { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(14px, 3.4vw, 44px) 0 clamp(20px, 4vw, 48px); }
.content { width: 100%; max-width: 780px; margin: 0 auto; }
.content.is-wide { max-width: 1040px; }
.content.is-xwide { max-width: 1180px; }
.content > * { animation: rise .5s cubic-bezier(.2, .75, .2, 1) backwards; }
.content > :nth-child(2) { animation-delay: .06s; }
.content > :nth-child(n+3) { animation-delay: .12s; }

h1 { font-size: clamp(34px, 5.6vw, 64px); font-weight: 700; line-height: .98; letter-spacing: -.042em; max-width: 17ch; text-wrap: balance; outline: none; }
h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.intro { margin-top: 18px; font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 54ch; }
.block { margin-top: clamp(26px, 4vw, 40px); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Knapper */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: clamp(26px, 4vw, 38px); }
.primary { min-height: 58px; padding: 16px 28px; border: 0; border-radius: 14px; background: var(--yellow); color: #131316; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.primary:hover { background: var(--yellow-hover); }
.primary:active { transform: translateY(1px); }
.quiet { min-height: 44px; padding: 8px 2px; border: 0; background: none; font-size: 16px; font-weight: 550; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; color: inherit; }
.quiet:hover { text-decoration-color: currentColor; }
.ghost { min-height: 44px; padding: 9px 16px; border: 1px solid #CDCED8; border-radius: 12px; background: var(--card); font-size: 15px; font-weight: 600; }
.ghost:hover { border-color: var(--ink); }
.pill-btn { min-height: 30px; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 600; }
.pill-btn:hover { border-color: var(--ink); }
.err { color: var(--error); font-size: 14px; font-weight: 550; margin-top: 10px; }

/* Store svarfliser, som i salgswizarden */
.tiles { display: grid; gap: 10px; margin-top: clamp(26px, 4vw, 40px); max-width: 640px; }
.tile { position: relative; display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 16px 18px; border: 1px solid #CDCED8; border-radius: 16px; background: var(--card); cursor: pointer; text-align: left; transition: transform .14s, border-color .14s, background-color .14s; }
.tile:hover { border-color: var(--ink); transform: translateX(4px); }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.key { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--field); font-size: 14px; font-weight: 650; background: var(--card); color: var(--ink); }
.tile b { display: block; font-size: 18px; font-weight: 600; }
.tile small { display: block; color: var(--muted); font-size: 14px; }
.tile em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bg); white-space: nowrap; }
.tile:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile:has(input:checked) small { color: #C9CAD3; }
.tile:has(input:checked) .key { background: var(--yellow); border-color: var(--yellow); }
.tile:has(input:checked) em { background: #2B2C34; color: #fff; }

/* Salgssagen */
.ticket { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.ticket i { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; }

/* Ventescenen */
.loader { max-width: 560px; margin: 0 auto; display: grid; justify-items: center; gap: 18px; text-align: center; color: #fff; }
.loader h1 { color: #fff; font-size: clamp(28px, 4.2vw, 44px); max-width: 16ch; }
.loader .intro { margin: 0; color: #B9BAC6; max-width: 40ch; }
.ld-brand { display: inline-flex; align-items: center; gap: 14px; font-size: 28px; font-weight: 700; letter-spacing: -.035em; min-height: 84px; }
.ld-brand svg { width: 72px; height: 72px; }
.iris { transform-box: view-box; transform-origin: 50px 50px; animation: shutter 1.15s cubic-bezier(.65, 0, .2, 1) infinite; }
.ld-bar { width: min(100%, 360px); height: 4px; border-radius: 2px; background: #34353D; overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 4%; background: var(--yellow); transition: width .9s cubic-bezier(.3, .6, .3, 1); }
.ld-line { min-height: 26px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.ld-line::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--yellow); border-top-color: transparent; animation: spin .7s linear infinite; }
.ld-line.is-done::before { animation: none; border-color: var(--yellow); background: var(--yellow); }
.ld-found { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 80px; align-content: flex-start; }
.ld-found span { padding: 7px 14px; border-radius: 999px; background: #24252C; font-size: 14px; animation: pop .4s cubic-bezier(.2, .9, .3, 1.25) both; }
.ld-found b { font-weight: 650; }

/* Kontraktdokumentet */
.doc { background: var(--card); border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 44px 70px -52px rgba(19, 19, 22, .45); padding: clamp(22px, 4.6vw, 56px); }
.doc-mast { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 3px solid var(--ink); font-size: 14px; font-weight: 650; }
.doc-mast span + span { font-weight: 400; color: var(--muted); }
.doc-title { margin: clamp(22px, 3vw, 34px) 0 6px; font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.doc-sub { font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: -.02em; color: var(--muted); }
.doc-sec { padding: clamp(22px, 3vw, 32px) 0; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.doc-sec:first-of-type { border-top: 0; }
.doc-sec h2 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 14px; }
.doc-sec p + p { margin-top: 10px; }
.doc-sec ul { list-style: none; display: grid; gap: 8px; }
.doc-sec li { position: relative; padding-left: 22px; }
.doc-sec li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(22px, 3vw, 32px); }
.party { background: var(--bg); padding: 14px 16px; border-top: 3px solid var(--ink); font-size: 15px; line-height: 1.55; }
.party b { display: block; font-size: 13px; color: var(--muted); font-weight: 650; margin-bottom: 4px; }
.prices { width: 100%; border-collapse: collapse; font-size: 16px; }
.prices td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 16px; }
.prices tr:last-child td { border-bottom: 2px solid var(--ink); }
.terms { font-size: 15px; color: #3A3B44; }
.demo-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Felter i kontrakten, når sælgeren gennemser */
.fv { display: inline; padding: 0 3px; margin: 0 -1px; border: 0; border-bottom: 2px dotted var(--field); background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 3px; }
.fv:hover { background: var(--bg); border-bottom-color: var(--ink); }
.fv[data-src="user"] { border-bottom-color: var(--blue); border-bottom-style: solid; }
.fv.is-missing { padding: 1px 9px; border: 0; border-radius: 999px; background: var(--yellow); font-weight: 600; font-size: .92em; }
.fv.is-missing.is-error { box-shadow: 0 0 0 2px var(--error); }
.fedit { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; vertical-align: middle; }
.fedit input { min-height: 40px; padding: 6px 10px; border: 1px solid var(--focus); border-radius: 10px; box-shadow: 0 0 0 3px rgba(26, 79, 214, .2); min-width: 12em; font-size: 16px; background: var(--card); }
.fedit input:focus { outline: none; }
.fsave { min-height: 40px; padding: 6px 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: clamp(22px, 3vw, 32px) 0 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 18px; height: 0; border-bottom: 2px dotted var(--field); }
.legend i.u { border-bottom: 2px solid var(--blue); }
.legend i.m { width: 18px; height: 10px; border: 0; border-radius: 999px; background: var(--yellow); }
.count { font-size: 15px; font-weight: 600; }
.count b { color: var(--blue); }
.setup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.setup-card { background: var(--card); box-shadow: 0 0 0 1px var(--line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 8px; align-content: start; }
.setup-card h3 { font-size: 14px; color: var(--muted); font-weight: 650; }
.signer { display: flex; align-items: center; gap: 12px; }
.avatar { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.avatar.is-alt { background: var(--blue); }
.signer small { display: block; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 1px solid #CDCED8; border-radius: 999px; background: var(--card); font-size: 15px; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.add-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; }
.add-row input { min-height: 42px; padding: 8px 12px; border: 1px solid var(--field); border-radius: 10px; font-size: 15px; background: var(--card); min-width: 0; }

/* Video */
.cam { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; margin-top: clamp(24px, 3.6vw, 36px); align-items: start; }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #1D1E24; color: #fff; display: grid; place-items: center; }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen video.is-mirror { transform: scaleX(-1); }
.screen-msg { position: relative; z-index: 1; max-width: 34ch; text-align: center; padding: 20px; display: grid; gap: 14px; justify-items: center; font-size: 16px; }
.screen-msg p { color: #C9CAD3; }
.rec-dot { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(19, 19, 22, .72); font-size: 14px; font-weight: 600; }
.rec-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #FF4D4D; animation: blink 1s steps(2) infinite; }
.countdown { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; font-size: 140px; font-weight: 700; background: rgba(19, 19, 22, .45); letter-spacing: -.05em; }
.cam-meter { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .2); z-index: 2; }
.cam-meter i { display: block; height: 100%; background: var(--yellow); width: 0; }
.prompter { background: var(--card); box-shadow: 0 0 0 1px var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 12px; }
.prompter h3 { font-size: 14px; color: var(--muted); font-weight: 650; }
.prompter ol { list-style: none; counter-reset: p; display: grid; gap: 10px; }
.prompter li { counter-increment: p; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; font-size: 16px; line-height: 1.4; }
.prompter li::before { content: counter(p); width: 24px; height: 24px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 650; }
.cam-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; }
.rec-btn { min-height: 54px; padding: 12px 22px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font-size: 17px; font-weight: 650; display: inline-flex; align-items: center; gap: 10px; }
.rec-btn::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #FF4D4D; }
.rec-btn.is-stop::before { border-radius: 3px; background: #fff; }

/* Demovideo: en simpel afspiller, så prototypen også virker uden kamera */
.demo-video { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #2B3B7A 0, #131316 70%); }
.demo-face { width: 34%; aspect-ratio: 1; border-radius: 50%; background: #E9D7C4; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.demo-face::before { content: ""; position: absolute; left: 14%; right: 14%; top: -6%; height: 42%; border-radius: 50% 50% 40% 40%; background: #3B2A22; }
.demo-face::after { content: ""; position: absolute; left: 34%; right: 34%; bottom: 24%; height: 7%; border-radius: 0 0 20px 20px; background: #8A4B3D; animation: talk .28s ease-in-out infinite alternate paused; }
.is-playing .demo-face::after { animation-play-state: running; }
.demo-caption { position: absolute; left: 6%; right: 6%; bottom: 9%; text-align: center; font-size: clamp(14px, 1.8vw, 19px); font-weight: 550; text-shadow: 0 1px 8px rgba(0,0,0,.6); min-height: 2.6em; }
.play { position: absolute; z-index: 2; width: 74px; height: 74px; border-radius: 50%; border: 0; background: var(--yellow); display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.play::before { content: ""; margin-left: 6px; border-left: 22px solid #131316; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.vbar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,.18); z-index: 2; }
.vbar i { display: block; height: 100%; width: 0; background: var(--yellow); }

/* Opfølgningstidslinjen */
.flow { list-style: none; margin-top: clamp(24px, 3.6vw, 36px); display: grid; position: relative; }
.flow > li { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 4px 16px; padding: 0 0 22px; }
.flow > li::before { content: ""; position: absolute; left: 18px; top: 34px; bottom: 0; width: 2px; background: #DCDDE5; }
.flow > li:last-child::before { display: none; }
.flow .dot { grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 2px #CDCED8; font-size: 15px; font-weight: 700; z-index: 1; }
.flow .is-done .dot { background: var(--ink); color: #fff; box-shadow: none; }
.flow .is-task .dot { background: var(--yellow); box-shadow: none; }
.flow .is-off .dot, .flow .is-stopped .dot, .flow .is-skipped .dot { box-shadow: inset 0 0 0 2px #E1E2E8; color: #A9AAB6; }
.flow .is-paused .dot { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); }
.flow .when, .flow .what { grid-column: 2; }
.flow .when { font-size: 14px; color: var(--muted); padding-top: 2px; }
.flow .what { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.flow .is-off .what, .flow .is-stopped .what, .flow .is-skipped .what { color: #8A8B99; font-weight: 500; }
.flow .side { grid-column: 3; grid-row: 1 / span 2; align-self: start; display: flex; gap: 8px; align-items: center; }
.flow .msg { grid-column: 2 / span 2; margin-top: 6px; }
.flow details summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); width: fit-content; }
.flow textarea { width: 100%; margin-top: 8px; min-height: 120px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 12px; font-size: 15px; line-height: 1.5; background: var(--card); resize: vertical; }
.who { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; vertical-align: 2px; background: var(--bg); color: var(--muted); letter-spacing: 0; }
.who.is-you { background: var(--yellow); color: var(--ink); }
.status { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.status.is-done { background: var(--ink); color: #fff; }
.status.is-task { background: var(--yellow); color: var(--ink); }
.status.is-paused { background: #E8EDFB; color: var(--blue); }
.switch { position: relative; width: 46px; height: 28px; flex: 0 0 46px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #CDCED8; transition: background-color .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Send */
.summary { display: grid; border-top: 1px solid #DCDDE5; margin-top: clamp(24px, 3.6vw, 36px); max-width: 640px; }
.summary div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid #DCDDE5; font-size: 16px; }
.summary dt { color: var(--muted); }
.mail { margin-top: 24px; max-width: 640px; background: var(--card); box-shadow: 0 0 0 1px var(--line); border-radius: 18px; overflow: hidden; }
.mail-head { padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); display: grid; gap: 2px; }
.mail-head b { color: var(--ink); font-weight: 600; }
.mail-body { padding: 18px; display: grid; gap: 14px; }
.mail-thumb { position: relative; aspect-ratio: 16 / 7; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #2B3B7A 0, #131316 70%); display: grid; place-items: center; }
.mail-thumb::before { content: ""; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); }
.mail-thumb::after { content: ""; position: absolute; margin-left: 5px; border-left: 17px solid #131316; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.mail-btn { justify-self: start; padding: 10px 18px; border-radius: 10px; background: var(--yellow); font-weight: 650; font-size: 15px; }
.sent { text-align: center; display: grid; justify-items: center; gap: 16px; }
.sent h1 { max-width: 16ch; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 30px; font-weight: 700; animation: pop .5s cubic-bezier(.2, .9, .3, 1.25) both; }
.sent .actions { justify-content: center; margin-top: 8px; }

/* Kundens side */
.cust { max-width: 860px; margin: 0 auto; width: 100%; }
.cust-hello { margin-bottom: 18px; }
.cust-hello h1 { font-size: clamp(32px, 5vw, 56px); max-width: 18ch; }
.cust-hello p { margin-top: 12px; color: var(--muted); font-size: 18px; }
.cust .screen { border-radius: 22px; aspect-ratio: 16 / 9; }
.from { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 15px; }
.from small { display: block; color: var(--muted); }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 28px 0; background: var(--card); box-shadow: 0 0 0 1px var(--line); border-radius: 18px; overflow: hidden; }
.glance div { padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.glance div + div { border-left: 1px solid var(--line); }
.glance span { font-size: 13px; color: var(--muted); font-weight: 600; }
.glance b { font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.track-note { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.sign-box { display: grid; gap: 16px; max-width: 520px; }
.sign-box label.q { font-size: 16px; font-weight: 650; display: grid; gap: 8px; }
.sign-box input[type="text"] { min-height: 56px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 12px; font-size: 22px; background: var(--card); }
.sign-box input.is-sig { font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive; font-size: 30px; }
.sign-box input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(26, 79, 214, .22); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--field); border-radius: 6px; background: var(--card); }
.check input:checked { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.code { display: flex; gap: 8px; }
.code input { width: 100%; max-width: 280px; min-height: 60px; padding: 8px 14px; border: 1px solid var(--field); border-radius: 12px; font-size: 30px; letter-spacing: .3em; font-variant-numeric: tabular-nums; background: var(--card); }
.code input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(26, 79, 214, .22); }
.demo-code { display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 10px; background: var(--yellow-soft); font-size: 14px; border-left: 4px solid var(--yellow); }
.demo-code b { font-size: 18px; letter-spacing: .15em; }
.signed-sig { font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive; font-size: 34px; line-height: 1.1; }
.audit { display: grid; border-top: 1px solid var(--line); font-size: 14px; }
.audit div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.audit dt { color: var(--muted); }
.audit dd { overflow-wrap: anywhere; }
.done-hero { text-align: center; display: grid; justify-items: center; gap: 14px; margin-bottom: 30px; }
.chat-fab { position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 20; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 8px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 600; box-shadow: 0 16px 40px -14px rgba(19,19,22,.6); }
.chat-fab .avatar { background: var(--yellow); color: var(--ink); }
.chat-fab em { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 13px; display: grid; place-items: center; }
.chat { position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(76px, 10vw, 92px); z-index: 21; width: min(380px, calc(100vw - 28px)); max-height: min(520px, 70vh); display: flex; flex-direction: column; background: var(--card); border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(19,19,22,.45); overflow: hidden; animation: rise .3s ease both; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head small { display: block; color: var(--muted); font-size: 13px; }
.chat-head .quiet { margin-left: auto; font-size: 14px; }
.thread { flex: 1; overflow-y: auto; padding: 14px 16px; display: grid; gap: 8px; align-content: start; min-height: 120px; }
.bubble { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: 15px; line-height: 1.4; background: var(--bg); }
.bubble.is-mine { justify-self: end; background: var(--ink); color: #fff; }
.bubble small { display: block; font-size: 12px; opacity: .65; margin-top: 3px; }
.thread-empty { color: var(--muted); font-size: 14px; }
.compose { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.compose input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--field); border-radius: 12px; font-size: 15px; background: var(--card); }
.compose button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 12px; background: var(--yellow); font-weight: 650; }

/* Overblik */
.ov-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(22px, 3vw, 34px); }
.ov-head h1 { font-size: clamp(34px, 4.8vw, 56px); }
.ov-group { margin-top: 26px; }
.ov-group > h2 { font-size: 15px; font-weight: 650; color: var(--muted); letter-spacing: 0; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.ov-group > h2 b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font-size: 13px; display: inline-grid; place-items: center; }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 6px 22px; align-items: center; padding: 16px 18px; border: 0; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); text-align: left; width: 100%; transition: box-shadow .14s, transform .14s; }
.row:hover { box-shadow: 0 0 0 1.5px var(--ink); transform: translateX(3px); }
.row b { font-size: 17px; font-weight: 650; letter-spacing: -.01em; display: block; }
.row small { display: block; color: var(--muted); font-size: 14px; }
.row .next { font-size: 15px; }
.row .next.is-you { font-weight: 600; }
.row .next.is-you::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink); margin-right: 8px; vertical-align: 1px; }
.row.is-new { box-shadow: 0 0 0 2px var(--blue); }
.det-back { margin-bottom: 14px; }
.det-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.det-head h1 { font-size: clamp(32px, 4.6vw, 54px); }
.det-head p { margin-top: 8px; color: var(--muted); font-size: 17px; }
.next-box { margin-top: 24px; padding: clamp(18px, 3vw, 28px); border-radius: 22px; background: var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; }
.next-box p { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; max-width: 34ch; text-wrap: balance; }
.next-box small { display: block; margin-top: 8px; color: #B9BAC6; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.next-box .ghost { background: transparent; color: #fff; border-color: #4A4B57; }
.next-box .ghost:hover { border-color: #fff; }
.next-box :focus-visible { outline-color: var(--yellow); }
.det-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.panel { background: var(--card); box-shadow: 0 0 0 1px var(--line); border-radius: 22px; padding: clamp(18px, 2.6vw, 28px); display: grid; gap: 16px; align-content: start; }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.panel-head small { color: var(--muted); font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpis div { padding: 12px 0; display: grid; gap: 2px; }
.kpis div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.kpis span { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpis b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.secs { list-style: none; display: grid; gap: 12px; }
.secs li { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr) 6.2em; gap: 12px; align-items: center; font-size: 15px; }
.secs .sbar { height: 12px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.secs .sbar i { display: block; height: 100%; border-radius: 6px; background: var(--blue); }
.secs li.is-top .sbar i { background: var(--ink); }
.secs li.is-top span:first-child { font-weight: 650; }
.secs .t { text-align: right; font-variant-numeric: tabular-nums; }
.secs .t small { display: block; font-size: 12px; color: var(--muted); }
.visits { list-style: none; display: grid; border-top: 1px solid var(--line); font-size: 15px; }
.visits li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.visits .reader-new { font-weight: 650; }
.visits .reader-new::after { content: "Ny læser"; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--yellow); font-size: 12px; font-weight: 650; }
.empty { color: var(--muted); font-size: 15px; padding: 10px 0; }
.det-flow .flow { margin-top: 0; }
.det-flow .flow .what { font-size: 16px; }
.det-flow .flow > li { padding-bottom: 16px; grid-template-columns: 30px minmax(0, 1fr) auto; }
.det-flow .flow .dot { width: 30px; height: 30px; font-size: 13px; }
.det-flow .flow > li::before { left: 14px; top: 28px; }
.reply { display: flex; gap: 8px; }
.reply input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--field); border-radius: 12px; font-size: 15px; background: var(--card); }

/* Underskriftsfelter i kontrakten */
.sig-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin-bottom: 22px; }
.sig-role { font-size: 13px; font-weight: 650; color: var(--muted); margin-bottom: 8px; }
.sig-slot { position: relative; height: 104px; border-bottom: 1.5px solid var(--ink); display: flex; align-items: flex-end; padding: 0 4px 6px; }
.sig-slot .sig-art { max-height: 92px; max-width: 100%; }
.sig-field { width: 100%; height: 100%; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1.5px dashed var(--blue); border-bottom: 0; border-radius: 12px 12px 0 0; background: #EEF2FD; color: var(--blue); font-size: 17px; font-weight: 650; text-align: left; }
.sig-field:hover { background: #E3E9FB; }
.sig-field svg { width: 26px; height: 26px; flex: 0 0 26px; }
.sig-field.is-error { border-color: var(--error); background: #FDF0EE; color: var(--error); }
.sig-redo { position: absolute; top: 8px; right: 6px; }
.sig-who { margin-top: 8px; font-size: 15px; line-height: 1.4; }
.sig-who b { font-weight: 650; display: block; }
.sig-who span { color: var(--muted); font-size: 14px; display: block; }
.sig-art { display: block; }
.sig-art.is-type { font-size: 42px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #0B1D5C; }
.sig-art.is-draw { width: auto; height: 86px; }
/* Tre stilarter, der også ser forskellige ud, hvis håndskriftsfontene mangler på computeren */
.sf-0 { font-style: italic; font-weight: 400; transform: skewX(-6deg); transform-origin: left bottom; }
.sf-1 { font-style: italic; font-weight: 600; letter-spacing: -.02em; }
.sf-2 { font-weight: 300; letter-spacing: .04em; transform: rotate(-2deg); transform-origin: left bottom; }
.sig-art.is-small { font-size: 30px; height: 56px; }

/* Underskriftsboksen */
.modal-back { position: fixed; inset: 0; z-index: 40; background: rgba(19, 19, 22, .55); display: grid; place-items: center; padding: 16px; animation: fade .2s ease both; }
.modal { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--card); border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); display: grid; animation: rise .3s cubic-bezier(.2, .75, .2, 1) both; }
.modal-head { padding: 22px 24px 0; display: grid; gap: 6px; }
.modal-head h2 { font-size: 26px; }
.modal-head p { color: var(--muted); font-size: 15px; }
.tabs { display: flex; gap: 4px; margin: 16px 24px 0; padding: 4px; background: var(--bg); border-radius: 12px; width: fit-content; }
.tabs button { min-height: 40px; padding: 6px 18px; border: 0; border-radius: 9px; background: transparent; font-size: 15px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(19,19,22,.12); }
.tabs svg { width: 18px; height: 18px; }
.modal-body { padding: 18px 24px; display: grid; gap: 14px; }
.modal-body label.q { font-size: 15px; font-weight: 650; display: grid; gap: 8px; }
.modal-body input[type="text"] { min-height: 50px; padding: 8px 14px; border: 1px solid var(--field); border-radius: 12px; font-size: 18px; background: var(--card); }
.modal-body input[type="text"]:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(26, 79, 214, .22); }
.styles { display: grid; gap: 8px; }
.style-opt { position: relative; display: flex; align-items: center; min-height: 76px; padding: 6px 18px; border: 1px solid #CDCED8; border-radius: 14px; cursor: pointer; overflow: hidden; }
.style-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.style-opt:hover { border-color: var(--ink); }
.style-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.style-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.style-opt .sig-art { font-size: 38px; }
.pad { position: relative; height: 210px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; touch-action: none; }
.pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.pad-line { position: absolute; left: 24px; right: 24px; bottom: 54px; border-bottom: 1.5px solid #B9BAC6; pointer-events: none; }
.pad-x { position: absolute; left: 24px; bottom: 58px; font-size: 22px; color: #9C9DAB; pointer-events: none; }
.pad-hint { position: absolute; left: 0; right: 0; top: 40%; text-align: center; color: #9C9DAB; font-size: 15px; pointer-events: none; }
.pad-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-foot { padding: 14px 24px 22px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.modal-foot .primary { min-height: 50px; padding: 12px 22px; font-size: 16px; }
.legal { font-size: 13px; color: var(--muted); }

/* Dashboard */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--card); box-shadow: 0 0 0 1px var(--line); border-radius: 20px; overflow: hidden; margin-bottom: 8px; }
.stats div { padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.stats div + div { border-left: 1px solid var(--line); }
.stats span { font-size: 13px; color: var(--muted); font-weight: 600; }
.stats b { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats small { font-size: 13px; color: var(--muted); }
.stats .is-you b { color: var(--blue); }
.ov-cols { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.feed { list-style: none; display: grid; }
.feed li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed .ic { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 14px; }
.feed .ic svg { width: 16px; height: 16px; }
.feed .ic.k-open { background: #E8EDFB; color: var(--blue); }
.feed .ic.k-follow { background: var(--bg); color: var(--ink); }
.feed .ic.k-task { background: var(--yellow); }
.feed .ic.k-chat { background: var(--ink); color: #fff; }
.feed .ic.k-signed { background: var(--ok); color: #fff; }
.feed .ic.k-sent { background: var(--bg); }
.feed .tx { font-size: 15px; line-height: 1.35; }
.feed .tx b { font-weight: 650; }
.feed .tx button { border: 0; background: none; padding: 0; font: inherit; font-weight: 650; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.feed .tx button:hover { text-decoration-color: currentColor; }
.feed .tm { font-size: 13px; color: var(--muted); }
.feed-panel { position: sticky; top: 16px; }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { from { opacity: 0; transform: scale(.5); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shutter { 0% { transform: rotate(0); } 55%, 100% { transform: rotate(60deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes talk { from { transform: scaleY(.4); } to { transform: scaleY(1.4); } }

@media (max-width: 860px) {
  .ov-cols { grid-template-columns: minmax(0, 1fr); }
  .feed-panel { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(odd) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats div:last-child { grid-column: 1 / -1; }
  .det-grid, .cam, .setup { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row .col-val, .row .col-act { display: none; }
  .row .next { grid-column: 1 / -1; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance div:nth-child(3) { border-left: 0; }
  .glance div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .next-box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sig-lines { grid-template-columns: minmax(0, 1fr); }
  .modal-back { place-items: end center; padding: 0; }
  .modal { border-radius: 24px 24px 0 0; max-height: 92vh; }
  .modal-foot { justify-content: stretch; }
  .modal-foot button { flex: 1; }
  .progress { flex-basis: 100%; max-width: none; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .primary { width: 100%; }
  .actions .quiet { align-self: center; }
  .parties { grid-template-columns: minmax(0, 1fr); }
  .summary div, .audit div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .secs li { grid-template-columns: minmax(0, 1fr) 5.4em; }
  .secs .sbar { grid-column: 1 / -1; grid-row: 2; }
  .add-row { grid-template-columns: minmax(0, 1fr); }
  .tile em { display: none; }
  .flow > li { grid-template-columns: 38px minmax(0, 1fr); }
  .flow .side { grid-column: 2; grid-row: auto; }
  .flow .msg { grid-column: 2; }
  .det-flow .flow > li { grid-template-columns: 30px minmax(0, 1fr); }
  .kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .chat-fab span.lbl { display: none; }
  .chat-fab { padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: #fff; display: block; }
  .proto, .top, .chat-fab, .chat, .no-print, .cust-hello, .cust .screen, .from, .glance, .track-note, .done-hero .actions { display: none !important; }
  .app { padding: 0; max-width: none; }
  .stage { padding: 0; }
  .doc { box-shadow: none; padding: 0; }
  .doc-sec { break-inside: avoid; }
  .done-hero { margin: 0 0 8mm; text-align: left; justify-items: start; }
  .done-hero .tick, .done-hero h1 { display: none; }
  .content > * { animation: none; }
}

.contract-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contract-form label{display:grid;gap:6px;font-weight:600}.contract-form input,.contract-form textarea,.contract-form select{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;background:white;font-weight:400}.contract-form .full{grid-column:1/-1}.contract-form textarea{min-height:100px}.button-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:22px 0}.card-live{padding:24px;background:white;border:1px solid var(--line);border-radius:18px;margin:14px 0}.card-live h2{font-size:22px;margin:0 0 12px}.card-live button,.card-live a{margin:4px}.notice-live{padding:14px 18px;border-radius:12px;background:var(--yellow-soft);margin:16px 0}.notice-live.error{background:#ffedeb;color:#9d261c}.notice-live.success{background:#eaf8ef;color:#14552c}.fieldline{white-space:pre-wrap;overflow-wrap:anywhere}.live-status{padding:5px 10px;border-radius:100px;background:var(--bg);font-size:14px}.metrics-live{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.metrics-live div{background:white;padding:18px;border:1px solid var(--line);border-radius:16px}.metrics-live strong{display:block;font-size:30px;color:var(--blue)}.sigcanvas{width:100%;height:160px;border:1px solid var(--line);background:white;border-radius:12px;touch-action:none}.msg-live{border-bottom:1px solid var(--line);padding:12px 0}.stage{min-height:0}.brand-live{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0 28px}.brand-live .logo{font-size:23px}video{max-width:100%;border-radius:16px;max-height:360px}button:disabled{opacity:.55;cursor:wait}a.quiet{text-decoration:none}.step-live{height:4px;background:var(--line);margin-bottom:26px}.step-live span{display:block;height:100%;background:var(--blue);transition:width .3s}.small-live{font-size:14px;color:var(--muted)}.pill-live{display:inline-block;border:1px solid var(--line);border-radius:100px;padding:5px 12px;font-size:14px;margin:4px}.link-live{color:var(--blue)}@media(max-width:640px){.contract-form{grid-template-columns:1fr}.metrics-live{grid-template-columns:1fr}.card-live{padding:18px}.brand-live{align-items:flex-start}.content{padding-top:12px}}
