:root {
  color-scheme: light;
  --ink: #1a2332;
  --muted: #5d6b7e;
  --paper: #f3f5f8;
  --card: #ffffff;
  --line: #e6eaf0;
  --line-strong: #d5dbe4;
  --sea: #1f6f5b;
  --sea-dark: #f6f7f9;
  --ok: #157347;
  --soft-ok: #e7f6ee;
  --bad: #9b2c2c;
  --soft-bad: #fdecec;
  --gold: #8a5a12;
  --soft: #f4f6f9;
  --sidebar: 248px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .04);
  --radius: 12px;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.02em; margin: 0; }
.public h1, .public h2 { font-weight: 650; letter-spacing: -0.03em; }
p { margin: 0; }
a { color: var(--sea); }
.app { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; padding: 0; gap: 0; background: var(--paper); }
.workspace { min-width: 0; background: var(--paper); border: 0; border-left: 1px solid var(--line); border-radius: 0; height: 100vh; overflow-x: hidden; overflow-y: auto; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgba(23, 32, 51, .28) transparent; box-shadow: none; scroll-padding-top: 72px; }
.workspace::-webkit-scrollbar { width: 10px; }
.workspace::-webkit-scrollbar-track { background: transparent; margin: 18px 0; }
.workspace::-webkit-scrollbar-thumb { background: rgba(23, 32, 51, .28); border-radius: 8px; }
.sidebar { background: var(--sea-dark); color: var(--ink); padding: 16px 12px 24px; height: 100vh; overflow-x: hidden; overflow-y: auto; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgba(23, 32, 51, .25) transparent; border-radius: 0; border-right: 1px solid var(--line); box-shadow: none; }
.sidebar::-webkit-scrollbar { width: 10px; }
.sidebar::-webkit-scrollbar-track { background: transparent; margin: 18px 0; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(23, 32, 51, .28); border-radius: 8px; }
.side-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.brand { padding: 4px 4px 0; min-width: 0; }
.brand strong { display: block; font-size: 15px; color: inherit; font-weight: 650; white-space: nowrap; letter-spacing: -0.02em; }
.brand strong::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--sea); box-shadow: none; }
.brand span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.fold { flex: none; margin-top: 2px; background: transparent; color: inherit; border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 8px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; transition: background .18s ease, color .18s ease; }
.fold-head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 0; background: transparent; border: 0; color: inherit; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; text-align: left; }
.fold-head::after { content: "Fold ind"; font-size: 12px; font-weight: 650; color: var(--muted); }
.fold-head[aria-expanded="false"] { margin-bottom: 0; }
.fold-head[aria-expanded="false"]::after { content: "Fold ud"; }
.module-fold .fold-body[hidden] { display: none; }
.portal-fold > .fold-head { font-size: 15px; font-weight: 650; }
.public .portal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.public .portal-tab { border: 1px solid var(--line-strong); background: #f6f8fb; color: inherit; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.public .portal-tab.on { background: var(--sea); color: white; border-color: var(--sea); }
.public .portal-pane[hidden] { display: none; }
.public .portal-pane .portal-fold { border-top: 1px solid var(--line); padding: 10px 0; }
.public .portal-pane .portal-fold:first-child { border-top: 0; padding-top: 0; }
.public .fold-head span { display: block; min-width: 0; }
.public .fold-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 450; }
.public .portal-fold .fold-body { margin-top: 10px; }
.public .portal-fold .portal-fold { border-top: 0; padding: 8px 0 0; }
.public .portal-paper { background: #fff; color: #172033; border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; overflow: auto; }
.public .portal-paper .a4 { box-shadow: none; border: 0; margin: 0; padding: 0; width: auto; min-height: 0; }
.public .portal-paper .a4 > h1 { font-family: Georgia, "Palatino Linotype", serif; font-size: 20px; text-align: center; margin: 0 0 14px; }
.public .portal-paper .a4-brand { margin: 0 0 8px; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.public .portal-paper .qa-page, .public .portal-paper .qa-page.placed { position: static; display: block; width: 100%; height: auto; min-height: 0; overflow: visible; margin: 0; padding: 0; border: 0; background: transparent; }
.public .portal-paper .qa-slot { position: static !important; left: auto !important; top: auto !important; width: 100% !important; max-width: 100%; box-sizing: border-box; overflow: visible; margin: 0 0 12px; padding: 0; }
.public .portal-paper .qa-copy, .public .portal-paper p { margin: 0 0 4px; line-height: 1.4; }
.public .portal-paper .doc-check { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.public .portal-paper .doc-tick { display: inline-block; width: 14px; height: 14px; border: 2px solid #172033; box-sizing: border-box; flex: 0 0 auto; }
.public .portal-paper .doc-tick.doc-on { background: #157347; }
.public .portal-paper .doc-logo, .public .portal-paper .doc-shot { max-width: 100%; max-height: 120px; height: auto; display: block; object-fit: contain; }
.public .portal-paper .qa-line, .public .portal-paper hr.qa-line { display: block; width: 100%; height: 0; margin: 10px 0; border: 0; border-top: 2px solid #172033; }
.public .sign-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.public canvas.sign { width: 100%; max-width: 520px; height: 140px; border: 1px solid var(--line); border-radius: 8px; background: #fff; touch-action: none; }
.sidebar { display: flex; flex-direction: column; }
.office-out { display: block; width: 100%; margin-top: auto; text-align: left; }
.dash .quick { margin-bottom: 0; }
.office-gate { max-width: 420px; margin: 10vh auto 0; padding: 0 16px; }
.office-gate .kicker { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.office-gate h1 { font-size: 26px; margin: 0 0 8px; letter-spacing: -0.03em; }
.office-gate .lead { color: var(--muted); margin: 0 0 16px; }
.office-gate .err { color: #9b2c2c; margin-top: 8px; }
.fold:hover { background: rgba(23, 32, 51, .05); }
.nav-group { display: contents; }
.nav-label { display: flex; align-items: center; width: 100%; margin: 16px 0 4px; padding: 6px 10px; font: inherit; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: transparent; border: 0; border-radius: 8px; cursor: pointer; text-align: left; }
.nav-label:hover { color: var(--ink); background: rgba(23, 32, 51, .04); }
.nav a, .nav button { width: 100%; text-align: left; color: #3a4658; text-decoration: none; background: transparent; border: 0; padding: 7px 10px; border-radius: 8px; margin-bottom: 1px; cursor: pointer; font-size: 13.5px; font-weight: 500; transition: background .18s ease, color .18s ease; }
.nav a { display: flex; align-items: center; gap: 10px; position: relative; }
.chat-ping { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: auto; padding: 0 5px; border-radius: 999px; background: #e23b3b; color: white; font-style: normal; font-size: 11px; font-weight: 700; line-height: 1; }
.nav a.has-chat { animation: chat-attention 1.4s ease-in-out infinite; }
@keyframes chat-attention { 0%, 100% { box-shadow: inset 0 0 0 0 rgba(226, 59, 59, .7); } 50% { box-shadow: inset 0 0 0 2px rgba(226, 59, 59, 0); } }
.app.nav-shut .nav a .chat-ping { position: absolute; top: 2px; right: 2px; margin: 0; }
.nav button { display: block; }
.nav-ico { display: block; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; opacity: .72; }
.mark-line { display: flex; align-items: center; gap: 10px; }
.mark-ico { position: relative; width: 28px; height: 28px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--soft); color: var(--sea); vertical-align: middle; margin-right: 8px; }
.mark-line .mark-ico { margin-right: 0; }
.mark-ico svg { position: absolute; top: 50%; left: 50%; display: block; width: 16px; height: 16px; margin: 0; transform: translate(-50%, -50%); }
.nav a:hover, .nav button:hover { background: rgba(23, 32, 51, .05); color: var(--ink); }
.nav a:hover .nav-ico { opacity: 1; }
.nav a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.nav a[aria-current="page"] .nav-ico { opacity: 1; color: var(--sea); }
.topbar { display: flex; gap: 16px; align-items: center; height: 60px; padding: 0 20px; border-bottom: 1px solid var(--line); background: rgba(243, 245, 248, .92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 4; }
.top-title { min-width: 140px; }
.top-title strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; white-space: nowrap; }
.top-title span { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; }
.top-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.search { position: relative; flex: 1; max-width: 440px; }
.search input { background: white; border-color: var(--line); height: 36px; border-radius: 9px; box-shadow: none; padding-left: 14px; }
.search input:focus { background: white; border-color: #8fceba; outline: none; box-shadow: 0 0 0 3px rgba(31, 111, 91, .14); }
.today { color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; box-shadow: none; }
.hits { position: fixed; z-index: 20; max-height: 320px; overflow: auto; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(16, 24, 40, .12); }
.hits:empty { display: none; }
.hits a, .hits p, .hits button { display: block; padding: 9px 12px; text-decoration: none; color: inherit; }
.hits button { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; text-align: left; border: 0; background: transparent; font: inherit; cursor: pointer; }
.hits a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hits a strong, .hits button strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hits a span, .hits button span { flex: none; }
.hits a:hover, .hits button:hover { background: #f6f8fb; }
.hits span { color: var(--muted); font-size: 12px; }
.main { padding: 20px 24px 64px; max-width: 1280px; }
.workspace:has(.staff-frame),
.workspace:has(.site-frame),
.workspace:has(#chat-host) { display: flex; flex-direction: column; overflow: hidden; scrollbar-gutter: auto; }
.workspace:has(.staff-frame) .main,
.workspace:has(.site-frame) .main,
.workspace:has(#chat-host) .main { flex: 1; min-height: 0; max-width: none; padding: 0; overflow: hidden; }
.workspace:has(#chat-host) #chat-host,
.workspace:has(#chat-host) .talk { height: 100%; min-height: 0; }
.workspace:has(#chat-host) .talk { border: 0; border-radius: 0; box-shadow: none; }
.staff-frame, .site-frame { display: block; width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; background: transparent; }
.site-copy { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.site-copy > .site-desk { flex: none; margin: 8px 12px 0; }
.ny-preview { --g: #1f9d55; position: relative; width: 100%; max-width: 1200px; max-height: 78vh; overflow: auto; border: 1px solid #2a3340; border-radius: 18px; background: #12161c; color: #e8edf2; margin: 0 auto; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); font-family: "Segoe UI", sans-serif; }
.ny-pop { position: sticky; top: 0; z-index: 40; height: 0; }
.ny-pop-back { position: fixed; inset: 0; width: auto; height: auto; border: 0; padding: 0; background: rgba(8, 12, 16, .55); cursor: pointer; }
.ny-pop-card { position: fixed; top: 50%; left: 50%; z-index: 1; width: min(440px, calc(100% - 32px)); transform: translate(-50%, -50%); background: #fff; color: #17221c; border-radius: 16px; padding: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.ny-pop-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.ny-preview .ny-pop-card h3 { margin: 0 0 8px; max-width: none; color: #17221c; font-size: 22px; line-height: 1.15; }
.ny-preview .ny-pop-card p { margin: 0 0 12px; max-width: none; color: #243028; white-space: pre-wrap; }
.ny-pop-ware { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ny-pop-card .ny-go { margin-top: 8px; }
.ny-pop-x { position: absolute; top: 10px; right: 10px; border: 0; background: transparent; color: #17221c; font-weight: 700; cursor: pointer; }
.ny-fronts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 8px 0 4px; }
.ny-side-tools { margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid #e4e7ee; }
.ny-side-tools h2 { margin: 14px 0 4px; font-size: 18px; }
.ny-preview.ny-tablet { max-width: 760px; }
.ny-preview.ny-mobil { max-width: 390px; }
.ny-burger { position: absolute; opacity: 0; pointer-events: none; }
.ny-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; padding: 12px 22px; background: rgba(18, 22, 28, .94); border-bottom: 1px solid rgba(255, 255, 255, .06); backdrop-filter: blur(10px); }
.ny-nav strong { font-size: 15px; letter-spacing: -0.03em; color: #fff; }
.ny-nav nav { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 2px 14px; }
.ny-nav nav button { padding: 8px 0; border: 0; background: none; color: #c5ced6; font-size: 13px; font-weight: 650; cursor: pointer; }
.ny-nav nav > button.on, .ny-drop.on > button { color: #fff; box-shadow: inset 0 -2px 0 var(--g); }
.ny-drop { position: relative; }
.ny-drop > button { display: inline-flex; align-items: center; gap: 5px; }
.ny-drop > button::after { content: "▾"; font-size: 9px; opacity: .75; }
.ny-drop-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 40; min-width: 260px; padding: 8px; border-radius: 14px; background: #161c24; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.ny-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.ny-drop-menu button { display: block; width: 100%; margin: 0; padding: 10px 12px; border-radius: 8px; text-align: left; white-space: nowrap; color: #e7eef5; font-size: 13.5px; font-weight: 600; line-height: 1.3; box-shadow: none; }
.ny-drop-menu button + button { margin-top: 2px; }
.ny-drop-menu button:hover, .ny-drop-menu button.on { background: rgba(31, 157, 85, .18); color: #fff; box-shadow: none; }
.ny-drop:hover .ny-drop-menu, .ny-drop:focus-within .ny-drop-menu { display: block; }
.ny-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ny-burger-btn { display: none; }
.ny-go, .ny-preview label.ny-go { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--g); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.ny-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.ny-call, .ny-preview a { color: #fff; font-weight: 700; text-decoration: none; }
.ny-kicker { margin: 0 0 10px; color: var(--g); font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.ny-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; padding: 56px 32px 28px; background: radial-gradient(ellipse at 85% 10%, rgba(31, 157, 85, .28), transparent 46%), linear-gradient(180deg, #171c22, #10141a); }
.card .ny-preview h2, .ny-preview h2 { margin: 0; max-width: 14ch; color: #fff; font-size: 38px; line-height: 1.05; letter-spacing: -0.03em; }
.ny-hero p, .ny-page p, .ny-lead, .ny-prose p, .ny-figure p { max-width: 46ch; margin: 14px 0 0; color: #d5dee6; font-size: 15px; line-height: 1.5; font-weight: 450; }
.ny-preview .ny-prose p, .ny-preview .ny-prose h3, .ny-preview .ny-hero p, .ny-preview .ny-hero h2, .ny-preview .ny-split p, .ny-preview .ny-split h3, .ny-preview .ny-faq p, .ny-preview .ny-contact p, .ny-preview .ny-cta p, .ny-edit [data-ny-field], html[data-layout] .card .ny-preview .ny-prose p, html[data-layout] .card .ny-preview .ny-prose h3, html[data-layout] .card .ny-preview.ny-edit p, html[data-layout] .card .ny-preview.ny-edit h2, html[data-layout] .card .ny-preview.ny-edit h3 { white-space: pre-wrap; }
.ny-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ny-visual { display: grid; gap: 10px; min-height: 240px; padding: 22px; border-radius: 20px; background: linear-gradient(160deg, #1b242c, #0e1318 70%); box-shadow: 0 16px 36px rgba(0, 0, 0, .28); }
.ny-visual span, .ny-edit .ny-visual [data-ny-field] { display: flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); color: #fff; font-weight: 700; }
.ny-visual span:first-child { box-shadow: inset 3px 0 0 var(--g); }
.ny-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 8px 32px 28px; list-style: none; background: #10141a; }
.ny-trust li { min-width: 120px; padding: 12px 14px; border-radius: 14px; background: #1a2129; }
.ny-trust strong, .ny-trust span { display: block; }
.ny-trust strong { color: #fff; font-size: 15px; }
.ny-trust span, .ny-quiet { color: #a9b6c3; font-size: 13px; }
.ny-sec { padding: 8px 32px; }
.card .ny-preview h3, .ny-preview h3 { margin: 0 0 8px; color: #fff; font-size: 24px; line-height: 1.2; letter-spacing: -0.03em; }
.ny-sols, .ny-shop, .ny-reviews { display: grid; gap: 12px; margin-top: 18px; }
.ny-sols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ny-sol, .ny-ware, .ny-reviews article { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; background: #1c232b; color: #e8edf2; text-align: left; box-shadow: 0 10px 24px rgba(0, 0, 0, .16); transition: transform .18s ease, border-color .18s ease; }
.ny-sol:hover, .ny-ware:hover { transform: translateY(-3px); border-color: rgba(31, 157, 85, .65); }
.card .ny-preview .ny-sol h3, .ny-preview .ny-sol h3, .card .ny-preview .ny-ware h3 { margin: 0; color: #fff; font-size: 16px; }
.ny-sol p, .ny-ware p, .ny-reviews p { margin: 0; color: #b7c2cc; font-size: 13.5px; line-height: 1.45; }
.ny-sol span, .ny-link, .ny-footlink { padding: 0; border: 0; background: none; color: var(--g); font-size: 13px; font-weight: 700; }
.ny-light { background: #f4f7f5; color: #17221c; }
.ny-preview .ny-terms-head h2 { max-width: none; }
.ny-preview .ny-terms .terms-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px 32px; margin: 8px 0 22px; }
.ny-preview .ny-terms .terms-col p, .ny-preview .ny-terms .terms-line { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; max-width: none; color: #d5dee6; font-size: 15px; line-height: 1.45; }
.ny-preview .ny-terms .terms-line > span:first-child { color: var(--g); font-size: 15px; line-height: 1.35; }
.ny-preview .ny-terms .terms-pin { margin: 22px 0 8px; color: #fff; font-size: 24px; line-height: 1.2; letter-spacing: -0.03em; }
.ny-preview .ny-terms .terms-dash, .ny-preview .ny-terms > p, .ny-preview .ny-terms .terms-version { margin: 0 0 8px; max-width: none; color: #d5dee6; font-size: 15px; line-height: 1.5; font-weight: 450; }
.ny-preview .ny-terms .terms-version { margin-top: 18px; color: #a9b6c3; font-size: 13px; }
.ny-preview.ny-mobil .ny-terms .terms-cols { grid-template-columns: 1fr; }
.card .ny-preview .ny-light h3, .card .ny-preview .ny-light h4, .ny-preview .ny-light h3, .ny-preview .ny-light h4, .ny-preview .ny-light p { color: #17221c; }
.ny-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ny-steps li { padding: 8px 12px; border-radius: 999px; background: #e5eee8; color: #173024; font-size: 13px; font-weight: 700; }
.ny-steps li + li::before { content: "→ "; color: var(--g); }
.ny-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.ny-split div { padding: 16px; border-radius: 16px; background: #fff; }
.ny-split h4 { margin: 0 0 6px; font-size: 16px; }
.ny-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ny-pair > .ny-slot { min-width: 0; }
.ny-pack { display: flow-root; margin-right: -16px; }
.ny-pack > .ny-slot { float: left; width: calc(50% - 16px); margin: 0 16px 8px 0; position: relative; }
.ny-preview.ny-edit .ny-pack .ny-box > .ny-sec { padding-top: 72px; }
.ny-preview .ny-split h3, .ny-preview .ny-split p { color: #17221c; }
.ny-preview.ny-edit .ny-box { position: relative; outline: 1px dashed rgba(31, 157, 85, .55); }
.ny-pick { position: fixed; z-index: 30; display: grid; gap: 6px; width: 200px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(16, 24, 40, .22); }
.ny-pick[hidden] { display: none; }
.ny-pick button { border: 0; border-radius: 10px; padding: 10px 12px; background: #f3f6f4; color: #17221c; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.ny-pick button:hover { background: #e5f6ec; }
.ny-gap { display: flex; width: 100%; min-height: 8px; margin: 0; padding: 0 24px; border: 0; background: transparent; cursor: pointer; }
.ny-gap:hover, .ny-gap:focus { min-height: 28px; }
.ny-gap span { margin: auto; padding: 4px 12px; border-radius: 999px; background: rgba(31, 157, 85, .16); color: #1f9d55; font-size: 13px; font-weight: 700; opacity: 0; }
.ny-gap:hover span, .ny-gap:focus span, .ny-gap-big span { opacity: 1; }
.ny-gap-big { min-height: 240px; }
.ny-gap-big span { font-size: 16px; }
.ny-preview .ny-midt { width: min(720px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.card .ny-preview .ny-prose h3, .ny-preview .ny-prose h3, .ny-preview .ny-prose p, .card .ny-preview.ny-edit h2, .card .ny-preview.ny-edit h3, .card .ny-preview.ny-edit p, html[data-layout] .card .ny-preview .ny-prose h3, html[data-layout] .card .ny-preview .ny-prose p, html[data-layout] .card .ny-preview.ny-edit h2, html[data-layout] .card .ny-preview.ny-edit p { max-width: none; width: 100%; }
.ny-edit .ny-prose [data-ny-field="text"] { min-height: 1.5em; }
.ny-edit [data-ny-field="text"]:empty { min-height: 1.5em; margin-top: 6px; margin-bottom: 0; }
.ny-edit [data-ny-field] { min-width: 1.5em; border-radius: 8px; outline: 1px dashed transparent; }
.ny-edit [data-ny-field]:hover, .ny-edit [data-ny-field]:focus { outline-color: #1f9d55; background: rgba(31, 157, 85, .14); }
.ny-edit [data-ny-field]:empty:before { content: attr(data-ph); opacity: .55; }
.ny-linkline { display: flex; gap: 8px; align-items: center; margin-top: 10px; color: #d7e2dc; font-size: 13px; font-weight: 700; }
.ny-preview .ny-linkline input { flex: 1; min-width: 0; background: #101820; color: #fff; border: 1px solid #31453a; border-radius: 8px; padding: 6px 8px; }
.ny-figure img, .ny-figure .ny-ph { width: 100%; min-height: 180px; max-height: 420px; object-fit: cover; border-radius: 16px; display: block; }
.ny-preview .ny-figure p { max-width: none; width: 100%; margin: 10px 0 0; color: #d5dee6; font-size: 15px; font-weight: 450; line-height: 1.5; white-space: pre-wrap; }
.ny-pic { display: block; cursor: pointer; }
.ny-pic .ny-file { display: none; }
.ny-preview.ny-edit .ny-box > .ny-sec { padding-top: 40px; }
.ny-box-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 12px; background: #101820; color: #fff; font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; }
.ny-box:hover .ny-box-bar, .ny-box:focus-within .ny-box-bar { opacity: 1; pointer-events: auto; }
.ny-box-bar span, .ny-handle { cursor: grab; }
.ny-box-bar button { border: 0; border-radius: 999px; padding: 4px 10px; background: #243041; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ny-drop-before { box-shadow: inset 0 3px 0 #1f9d55; }
.ny-drop-after { box-shadow: inset 0 -3px 0 #1f9d55; }
.ny-drop-beside { box-shadow: inset 3px 0 0 #1f9d55; }
.ny-duty { padding: 48px 32px; background: #0d1218; text-align: left; }
.ny-phone { display: inline-block; margin-top: 8px; color: #fff; font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
.ny-shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ny-rot { overflow: hidden; container-type: inline-size; }
.ny-rot .ny-shop, .ny-rot .ny-reviews { display: flex; grid-template-columns: none; gap: 12px; width: max-content; margin-top: 18px; }
.ny-rot .ny-ware, .ny-rot .ny-say { flex: 0 0 calc((100cqi - 24px) / 3); width: calc((100cqi - 24px) / 3); }
.ny-live { margin: 0; background: #0c1014; }
.ny-live .ny-preview { max-width: 1200px; max-height: none; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
.ny-ph, .ny-ware img { width: 100%; height: 110px; object-fit: cover; border-radius: 12px; background: linear-gradient(145deg, #245c3d, #123024); }
.ny-ware strong { color: #fff; }
.ny-ware s { color: #8ea0b0; font-weight: 500; margin-right: 6px; }
.ny-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ny-wiz { margin-top: 16px; }
.ny-wiz input[type="radio"] { position: absolute; opacity: 0; }
.ny-bar { height: 4px; margin-bottom: 16px; border-radius: 999px; background: #d7e3db; overflow: hidden; }
.ny-bar i { display: block; width: 33%; height: 100%; background: var(--g); }
.ny-step { display: none; }
#nyw1:checked ~ .s1, #nyw2:checked ~ .s2, #nyw3:checked ~ .s3 { display: block; }
#nyw2:checked ~ .ny-bar i { width: 66%; }
#nyw3:checked ~ .ny-bar i { width: 100%; }
.ny-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ny-picks label, .ny-back { padding: 10px 14px; border-radius: 12px; background: #fff; color: #173024; font-weight: 700; cursor: pointer; }
.ny-back { display: inline-flex; margin: 8px 8px 0 0; }
.ny-tick { display: flex; gap: 8px; align-items: center; }
.ny-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.ny-preview .ny-contact h3 { color: #fff; }
.ny-preview .ny-contact p, .ny-preview .ny-contact li { max-width: none; color: #d5dee6; font-size: 15px; line-height: 1.5; }
.ny-preview .ny-contact .ny-trust { margin: 14px 0 0; padding: 0; background: transparent; }
.ny-form { display: grid; gap: 8px; }
.ny-form span, .ny-form b { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: #1c232b; color: #a9b6c3; font-size: 13px; font-weight: 650; }
.ny-form input, .ny-form textarea, .ny-line input { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: #1c232b; color: #e8edf2; font: inherit; }
.ny-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #e4eaf2; }
.ny-line span { flex: 1; color: #17221c; font-size: 14px; }
.ny-line input { width: 72px; flex: none; text-align: center; }
.ny-sum { margin: 12px 0; font-size: 20px; font-weight: 700; color: #17221c; }
.ny-lines { max-height: 360px; overflow: auto; margin-top: 8px; }
.ny-form .tall { min-height: 84px; align-items: flex-start; padding-top: 12px; }
.ny-form b { justify-content: center; border-color: var(--g); background: var(--g); color: #fff; }
.ny-cta { padding: 12px 32px 42px; }
.ny-preview a.ny-fb, .ny-preview span.ny-fb { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 8px; border-radius: 999px; background: #1877f2; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.ny-preview .ny-fb > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #1877f2; font-family: Georgia, serif; font-size: 18px; font-weight: 800; line-height: 1; }
.ny-preview .ny-fb b { color: #fff; font-weight: 700; }
.ny-page { padding: 48px 32px 8px; }
.ny-foot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; padding: 28px 32px 32px; background: #0c1015; color: #d5dee8; }
.ny-foot p, .ny-foot a { color: #c5d0da; font-weight: 500; }
.ny-foot nav { display: flex; flex-wrap: wrap; gap: 8px 14px; align-content: start; }
.ny-certs { color: #8ea0b0; font-size: 12px; }
.ny-main > section { animation: ny-in .45s ease both; }
@keyframes ny-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ny-preview.ny-tablet .ny-sols, .ny-preview.ny-tablet .ny-shop { grid-template-columns: 1fr 1fr; }
.ny-preview.ny-tablet .ny-hero h2, .ny-preview.ny-tablet h2 { font-size: 32px; }
.ny-preview.ny-mobil .ny-burger-btn { display: inline-flex; margin-left: auto; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.ny-preview.ny-mobil .ny-nav nav, .ny-preview.ny-mobil .ny-actions { display: none; width: 100%; margin-left: 0; }
.ny-preview.ny-mobil .ny-burger:checked ~ .ny-nav nav, .ny-preview.ny-mobil .ny-burger:checked ~ .ny-nav .ny-actions { display: flex; }
.ny-preview.ny-mobil .ny-drop-menu { position: static; min-width: 0; margin-top: 4px; box-shadow: none; }
.ny-preview.ny-mobil .ny-hero, .ny-preview.ny-mobil .ny-split, .ny-preview.ny-mobil .ny-pair, .ny-preview.ny-mobil .ny-contact, .ny-preview.ny-mobil .ny-foot, .ny-preview.ny-mobil .ny-sols, .ny-preview.ny-mobil .ny-shop, .ny-preview.ny-mobil .ny-reviews { display: block; }
.ny-preview.ny-tablet .ny-rot .ny-shop, .ny-preview.ny-mobil .ny-rot .ny-shop, .ny-preview.ny-tablet .ny-rot .ny-reviews, .ny-preview.ny-mobil .ny-rot .ny-reviews { display: flex; }
.ny-preview.ny-tablet .ny-rot .ny-ware, .ny-preview.ny-tablet .ny-rot .ny-say { flex-basis: calc((100cqi - 12px) / 2); width: calc((100cqi - 12px) / 2); }
.ny-preview.ny-mobil .ny-rot .ny-ware, .ny-preview.ny-mobil .ny-rot .ny-say { flex-basis: 100cqi; width: 100cqi; }
.ny-preview.ny-mobil .ny-pack { margin-right: 0; }
.ny-preview.ny-mobil .ny-pack > .ny-slot { float: none; width: auto; margin-right: 0; }
.ny-preview.ny-mobil .ny-hero, .ny-preview.ny-mobil .ny-sec, .ny-preview.ny-mobil .ny-duty, .ny-preview.ny-mobil .ny-page, .ny-preview.ny-mobil .ny-trust { padding-left: 16px; padding-right: 16px; }
.ny-preview.ny-mobil h2, .ny-preview.ny-mobil .ny-phone { font-size: 28px; }
.ny-preview.ny-mobil .ny-sol, .ny-preview.ny-mobil .ny-ware, .ny-preview.ny-mobil .ny-reviews article, .ny-preview.ny-mobil .ny-split div, .ny-preview.ny-mobil .ny-visual { margin-top: 10px; }
html[data-layout] .card .ny-preview h2, html[data-layout] .ny-preview .ny-hero h2, html[data-layout] .ny-preview .ny-page h2 { color: #fff; font-size: 38px; }
.ny-preview .ny-hero h2, html[data-layout] .card .ny-preview .ny-hero h2, html[data-layout] .ny-preview .ny-hero h2 { max-width: none; font-size: 30px; white-space: nowrap; }
.ny-preview.ny-mobil .ny-hero h2, html[data-layout] .ny-preview.ny-mobil .ny-hero h2 { white-space: normal; font-size: 28px; }
html[data-layout] .ny-preview.ny-mobil h2, html[data-layout] .ny-preview.ny-mobil .ny-phone { font-size: 28px; }
html[data-layout] .card .ny-preview h3 { color: #fff; font-size: 24px; }
.ny-preview .ny-says { background: #f4efe6; color: #1c1c1c; }
.ny-preview .ny-says .ny-kicker { color: #8d7350; }
.card .ny-preview .ny-says h3, .ny-preview .ny-says h3, html[data-layout] .card .ny-preview .ny-says h3 { margin: 0 0 18px; max-width: none; color: #1a1a1a; font-size: 32px; letter-spacing: -0.03em; }
.ny-preview .ny-says .ny-reviews { align-items: stretch; }
.ny-preview .ny-says .ny-say { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-height: 180px; margin: 0; padding: 18px; border: 0; border-radius: 18px; background: #141414; color: #fff; box-shadow: none; text-align: left; }
.ny-preview .ny-says .ny-say:hover { transform: none; border-color: transparent; }
.ny-say-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ny-stars { color: #e2b15a; letter-spacing: 2px; font-size: 15px; line-height: 1; }
.ny-stars i { color: #3a3a3a; font-style: normal; }
.ny-say time { color: #9a9a9a; font-size: 13px; font-weight: 500; }
.ny-preview .ny-says .ny-say strong { color: #fff; font-size: 16px; font-weight: 750; line-height: 1.35; }
.ny-preview .ny-says .ny-who { color: #b5b5b5; font-size: 13px; font-weight: 500; line-height: 1.4; }
html[data-layout] .card .ny-preview .ny-pop-card h3, .card .ny-preview .ny-pop-card h3 { margin: 0 0 8px; max-width: none; color: #17221c; font-size: 22px; line-height: 1.15; letter-spacing: 0; }
html[data-layout] .card .ny-preview .ny-pop-card p, .ny-preview .ny-pop-card p { margin: 0 0 12px; max-width: none; color: #243028; white-space: pre-wrap; }
html[data-layout] .ny-preview .ny-pop-card .ny-go { color: #fff; }
@media (max-width: 700px) { .ny-fronts { grid-template-columns: 1fr; } }
html[data-layout] .card .ny-preview .ny-light, html[data-layout] .card .ny-preview .ny-light h3, html[data-layout] .card .ny-preview .ny-light h4, html[data-layout] .card .ny-preview .ny-light p, html[data-layout] .card .ny-preview .ny-picks label { color: #17221c; }
html[data-layout] .ny-preview a, html[data-layout] .ny-preview .ny-go { color: #fff; }
html[data-layout] .ny-preview input, html[data-layout] .ny-preview textarea { background: #fff; color: #17221c; }
html[data-layout] .ny-preview .ny-linkline input { background: #101820; color: #fff; }
html[data-layout] .card .ny-preview .ny-visual span, html[data-layout] .card .ny-preview .ny-visual [data-ny-field] { color: #fff; background: rgba(255, 255, 255, .04); }
html[data-layout] .card .ny-preview .ny-sol h3, html[data-layout] .card .ny-preview .ny-ware h3 { margin: 0; color: #fff; font-size: 16px; }
.site-copy-bar { flex: none; display: flex; gap: 8px; align-items: center; padding: 8px 12px; background: #fff; border-bottom: 1px solid #e4e7ee; }
.site-copy-bar strong { flex: none; font-size: 14px; }
.site-copy-bar input { flex: 1; min-width: 0; }
.site-copy-pages { flex: none; display: flex; gap: 6px; flex-wrap: wrap; padding: 6px 12px; background: #f7f8fb; border-bottom: 1px solid #e4e7ee; }
.site-copy-pages a { font-size: 13px; padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid #e4e7ee; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.desk-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.desk-board > .card, .desk-board > .stat { margin-bottom: 0; }
.desk-stats { grid-column: 1 / 3; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.desk-stats > .card { margin-bottom: 0; }
.desk-stats > .desk-quotes { grid-column: 1 / -1; }
.desk-fejl { grid-column: 4; grid-row: 1 / span 2; }
.desk-board > .desk-portal { grid-column: 3; grid-row: 1; }
.desk-wait { grid-column: 1 / 3; grid-row: 2; }
.stat-split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.stat-split > a { display: flex; flex-direction: column; justify-content: space-between; min-height: 96px; padding: 14px 16px; text-decoration: none; color: inherit; }
.stat-split > .stat-gap { min-height: 96px; }
.stat-split > a + a, .stat-split > a + .stat-gap, .stat-split > .stat-gap + a, .stat-split > a + .desk-order { border-left: 1px solid var(--line-strong); }
.stat-split > .desk-order { display: flex; flex-direction: column; justify-content: space-between; min-height: 96px; padding: 14px 16px; min-width: 0; }
.stat-split > .desk-order strong { font-size: 28px; font-weight: 650; line-height: 1; letter-spacing: -0.04em; }
.desk-order-hit { display: block; width: 100%; margin-top: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 13px; font-weight: 650; line-height: 1.3; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.stat-split strong { display: flex; align-items: baseline; gap: 8px; font-size: 28px; font-weight: 650; line-height: 1; letter-spacing: -0.04em; }
.stat-more { font-size: 13px; font-weight: 650; letter-spacing: 0; color: var(--muted); }
.desk-half { display: grid; grid-template-columns: 1fr 1fr; }
.desk-half > div + div { border-left: 1px solid var(--line-strong); padding-left: 14px; }
.desk-half > div:first-child { padding-right: 14px; }
.quote-num { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.quote-old { display: inline-block; width: 8px; height: 8px; margin: 0 0 1px 6px; border-radius: 50%; background: #c53636; vertical-align: middle; }
.quote-news { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-weight: 500; cursor: pointer; text-align: left; }
.quote-new { font-weight: 800; animation: quote-blink 1.1s ease-in-out infinite; }
@keyframes quote-blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.quote-tip { position: fixed; z-index: 50; max-height: min(70vh, 640px); overflow: auto; background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; box-shadow: 0 16px 40px rgba(16, 24, 40, .18); }
.quote-tip-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: sticky; top: -12px; margin: -12px -14px 10px; padding: 8px 14px; background: var(--card); border-bottom: 1px solid var(--line); z-index: 1; }
.quote-tip p { margin: 0 0 6px; }
html[data-layout="nat"] .quote-tip { background: #1c2430; color: #e8eef6; border-color: #3c4a5e; }
.signal-tip { position: fixed; z-index: 40; width: min(720px, calc(100vw - 24px)); max-height: min(70vh, 640px); overflow: auto; background: var(--card); color: var(--ink); border-radius: 16px; padding: 18px 20px 20px; box-shadow: 0 18px 48px rgba(16, 24, 40, .28); pointer-events: none; }
.signal-tip h2 { margin: 0 0 12px; font-size: 15px; font-weight: 650; }
.signal-tip .note { white-space: pre-wrap; }
html[data-layout="nat"] .signal-tip { background: #1c2430; color: #e8eef6; }
.desk-quotes h2 { font-size: 15px; margin-bottom: 8px; }
.desk-quotes p { margin: 0 0 8px; }
html[data-layout="nat"] .stat-split > a { color: #e8eef6; }
html[data-layout="nat"] .stat-split > a + a, html[data-layout="nat"] .stat-split > a + .stat-gap, html[data-layout="nat"] .stat-split > .stat-gap + a, html[data-layout="nat"] .stat-split > a + .desk-order, html[data-layout="nat"] .desk-half > div + div { border-left-color: #8eb4d4; }
.pick-board { display: grid; gap: 12px; margin-bottom: 12px; }
.pick-buy, .pick-rent { border-radius: 10px; padding: 12px 14px; }
.pick-buy { background: #e7f4ef; }
.pick-rent { background: #eef3fb; }
.pick-buy h3, .pick-rent h3 { margin: 0 0 8px; font-size: 15px; }
.pick-buy p, .pick-rent p { margin: 0 0 8px; }
.pick-row { margin: 0 0 6px; }
.quote-term { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; }
.quote-remark { margin: 10px 0 0; white-space: pre-wrap; }
.quote-remark strong { display: block; margin: 0 0 2px; font-size: 12.5px; font-weight: 650; }
.quote-terms-body { white-space: pre-wrap; margin: 0; }
.terms-find { margin: 0 0 10px; }
.a4-sheet { width: min(210mm, 100%); margin: 0 auto; box-sizing: border-box; }
.terms-read { font-size: 12px; line-height: 1.38; }
.terms-read .terms-title { font-size: 1.05rem; margin: 0 0 10px; }
.terms-version { margin: 14px 0 0; font-weight: 650; font-size: 12px; }
.terms-read .terms-pin { font-size: 13px; margin: 10px 0 4px; }
.terms-read .terms-cols { gap: 2px 16px; margin-bottom: 12px; }
.terms-read .terms-col p, .terms-read .terms-line, .terms-read .terms-dash, .terms-read .terms-item, .terms-read .terms-item input, .terms-read .terms-copy p { font-size: 12px; line-height: 1.38; }
.quote-off { opacity: .45; }
.quote-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 12px; }
.quote-line > span { min-width: 0; }
.check.quote-video { display: flex; width: auto; flex: 0 0 auto; margin: 0; font-weight: 650; white-space: nowrap; }
.quote-tvo { display: block; border-top: 1px solid rgba(23, 32, 51, .2); margin-top: 8px; padding-top: 8px; }
.quote-ask { margin: 0 0 12px; }
.quote-ask p { margin: 0 0 6px; font-weight: 650; }
.quote-ask .check { margin-right: 16px; }
.terms-pop { position: fixed; inset: 0; z-index: 40; background: rgba(16, 24, 32, .45); display: grid; place-items: center; padding: 16px; }
.terms-pop[hidden] { display: none; }
.terms-pop-card { width: min(920px, 100%); max-height: min(88vh, 980px); overflow: auto; background: #fff; color: #172033; border-radius: 16px; padding: 18px 18px 22px; }
.terms-pop-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.terms-pop-card h2 { margin: 0; font-size: 1.25rem; }
.terms-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px 28px; margin: 0 0 22px; }
.terms-col p { margin: 0 0 8px; }
.terms-item { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; }
.terms-item span { line-height: 1.4; }
.terms-item input { width: 100%; border: 0; background: transparent; padding: 0; color: inherit; }
.terms-item input:focus { outline: 1px solid var(--line-strong); }
.terms-col .btn-ghost { margin-top: 4px; }
@media (max-width: 800px) { .terms-cols { grid-template-columns: 1fr; } }
.terms-intro .kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.terms-title { margin: 0 0 18px; font-size: 2rem; line-height: 1.15; }
.terms-copy p, .terms-pin { margin: 0; line-height: 1.55; }
.terms-pin { margin: 16px 0 8px; font-size: 1.15rem; }
.terms-gap { height: 1.1em; }
.terms-dash { display: grid; grid-template-columns: 1.05em 1fr; column-gap: .4em; align-items: start; }
.terms-hit { background: #f3e2a2; color: #172033; border-radius: 3px; }
html[data-layout="nat"] .terms-hit { background: #d7c39a; color: #172033; }
.quote-chat { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.quote-bubble { max-width: min(78%, 420px); border-radius: 14px; padding: 8px 12px; color: #172033; }
.quote-bubble strong { display: block; font-size: 13px; }
.quote-bubble .meta { display: block; margin: 0; font-size: 12px; color: #5c6b80; }
.quote-bubble p { margin: 4px 0 0; white-space: pre-wrap; }
.quote-bubble-them { align-self: flex-start; background: #e7eef8; }
.quote-bubble-us { align-self: flex-end; background: #e5f4ee; }
html[data-layout="nat"] .quote-bubble-them { background: #1a2740; color: #e8eef6; }
html[data-layout="nat"] .quote-bubble-them .meta { color: #b7c3d4; }
html[data-layout="nat"] .quote-bubble-us { background: #16352c; color: #e8eef6; }
html[data-layout="nat"] .quote-bubble-us .meta { color: #b7c3d4; }
html[data-layout="nat"] .pick-buy { background: #16352c; color: #e8eef6; }
html[data-layout="nat"] .pick-rent { background: #1a2740; color: #e8eef6; }
#sum { font-weight: 650; }
@media (max-width: 1100px) {
  .desk-board { grid-template-columns: 1fr; }
  .desk-stats, .desk-fejl, .desk-board > .desk-portal, .desk-wait { grid-column: auto; grid-row: auto; }
  .desk-half, .stat.stat-split { grid-template-columns: 1fr; }
  .stat-split > a + a, .stat-split > a + .stat-gap, .stat-split > .stat-gap + a, .stat-split > a + .desk-order, .desk-half > div + div { border-left: 0; border-top: 1px solid var(--line-strong); padding-left: 0; padding-top: 12px; }
}
.stat { display: flex; flex-direction: column; justify-content: space-between; min-height: 96px; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); transition: border-color .18s ease, transform .18s ease; }
.stat.stat-split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.stat:hover { transform: translateY(-1px); border-color: #c5d0dc; }
.stat-n { display: block; font-size: 28px; font-weight: 650; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.stat .kicker { margin: 0 0 10px; color: var(--muted); letter-spacing: 0; text-transform: none; font-size: 12.5px; font-weight: 650; }
.stat.tone-rod { box-shadow: inset 0 3px 0 #e11d48, 0 10px 28px rgba(23, 32, 51, .05); }
.stat.tone-gul { box-shadow: inset 0 3px 0 #d97706, 0 10px 28px rgba(23, 32, 51, .05); }
.stat.tone-groen { box-shadow: inset 0 3px 0 #0f6b56, 0 10px 28px rgba(23, 32, 51, .05); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #98a2b3; }
.dot.rod { background: #b42318; }
.dot.gul { background: #b54708; }
.dot.groen { background: #067647; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.task { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.task:last-child { border-bottom: 0; padding-bottom: 0; }
.task:hover strong { color: var(--sea); }
.dash { display: grid; gap: 16px; }
.dash-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; align-items: start; }
.lanes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .dash-split, .lanes { grid-template-columns: 1fr 1fr; } }
.lane a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; font-size: 13.5px; }
.lane a:last-child { border-bottom: 0; }
.lane a:hover { color: var(--sea); }
.lane strong { color: var(--muted); font-weight: 650; }
.table-card { padding: 0; overflow: hidden; }
.pickcol { width: 44px; text-align: center; }
.pickcol input { width: auto; margin: 0; }
.time-bar { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; }
.time-bar .field { min-width: 240px; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; border: 0; overflow: visible; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filters a { text-decoration: none; color: var(--muted); border: 0; border-radius: 999px; padding: 7px 12px; font-size: 13px; background: white; white-space: nowrap; box-shadow: 0 4px 12px rgba(23, 32, 51, .04); }
.filters a:hover { color: var(--ink); }
.filters a[aria-current="page"] { background: var(--sea); color: white; font-weight: 650; }
.wheel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.month { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.month h3 { font-size: 15px; margin-bottom: 6px; }
.chip { display: block; margin-top: 6px; padding: 6px 8px; border-radius: 6px; background: #f6f3ec; border: 1px solid #e4d7be; font-size: 13px; text-decoration: none; color: inherit; }
.chip.done { background: #e5f6ec; border-color: #b7e0c6; color: #146c43; }
.public .hero { margin: 8px 0 18px; }
.public .cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 12px 0 20px; }
.public .cards article { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.public .cards b { display: block; margin-top: 8px; color: var(--sea); font-size: 22px; }
.public form.card { margin-top: 12px; display: block; }
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.page-head > div:first-child { min-width: 0; flex: 1 1 280px; }
.page-head h1 { font-size: 22px; letter-spacing: -0.03em; font-weight: 650; }
.page-head p { margin-top: 4px; max-width: 68ch; }
.lead, .page-head p, .meta { color: var(--muted); }
.lead { max-width: 70ch; }
.kicker { color: var(--muted); letter-spacing: 0; text-transform: none; font-size: 12px; font-weight: 650; margin-bottom: 6px; }
.card, .modal, .public .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.card { margin-bottom: 12px; }
.card h2, .modal h2 { font-size: 15px; margin-bottom: 10px; font-weight: 650; }
.grid-3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.module { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-picks { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.menu-pick { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu-pick span { font-size: 13.5px; }
.menu-pick .btn, .menu-pick .btn-ghost { width: auto; min-width: 76px; }
.module:last-child { border-bottom: 0; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: #f7f8fb; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
td { font-size: 13.5px; }
td.apv-cell { vertical-align: top; }
.apv-fill p { margin: 0 0 8px; white-space: pre-wrap; line-height: 1.45; }
.apv-fill p:last-child { margin-bottom: 0; }
.apv-fill b { font-weight: 700; }
tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; transition: background .15s ease; }
tr.click:hover td { background: #f6f8fb; }
.pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: #eef1f5; font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.pill.ok { background: var(--soft-ok); color: #146c43; }
.pill.warn { background: #fbf3e4; color: var(--gold); }
.pill.bad { background: var(--soft-bad); color: var(--bad); }
.btn, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; border-radius: 9px; padding: 8px 12px; cursor: pointer; font-size: 13.5px; font-weight: 600; line-height: 1.2; transition: background .18s ease, border-color .18s ease, color .18s ease; }
p > .btn, p > .btn-ghost, li > .btn, li > .btn-ghost, span > .btn, span > .btn-ghost { margin-left: 8px; }
.btn { background: var(--sea); color: white; border: 1px solid var(--sea); }
.btn:hover { background: #185a4a; }
.btn-ghost { background: white; border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: #f4f6f9; }
.form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; position: relative; min-width: 0; }
.pick-find { margin-bottom: 4px; }
.pick-list { position: absolute; left: 0; top: calc(100% + 4px); z-index: 6; min-width: 100%; width: min(760px, calc(100vw - 40px)); max-height: 320px; overflow: auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(16, 22, 29, .18); padding: 6px; }
.pick-opt { display: block; width: 100%; text-align: left; background: transparent; color: inherit; border: 0; border-radius: 10px; padding: 9px 12px; white-space: normal; line-height: 1.35; }
.pick-opt:hover { background: var(--soft); }
.clock-card { text-align: center; padding: 28px 18px; }
.clock-hours { font-size: 42px; font-weight: 720; letter-spacing: -0.04em; margin: 6px 0; }
button.slot { width: 100%; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.time-live { margin: 4px 0 8px; font-size: 32px; font-weight: 720; letter-spacing: -0.04em; }
.time-sheet .form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 8px; }
.pay-grid p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pay-grid span { color: var(--muted); }
@media (max-width: 720px) {
  .time-sheet .form-actions .btn, .time-sheet .form-actions .btn-ghost { width: 100%; min-height: 48px; }
  .pay-grid { grid-template-columns: 1fr; }
  .time-live { font-size: 40px; }
}
.field span { font-size: 12px; font-weight: 650; color: #526070; }
input, select, textarea { background: white; border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 11px; width: 100%; scroll-margin-top: 80px; scroll-margin-bottom: 28px; transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #7dbeab; box-shadow: 0 0 0 3px rgba(31, 111, 91, .14); }
textarea { resize: vertical; white-space: pre-wrap; min-height: 72px; }
.check { display: flex; gap: 8px; align-items: center; margin: 4px 0 12px; }
label.filebtn { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; cursor: pointer; }
label.filebtn input[type="file"] { width: auto; max-width: 240px; }
.check input, .field .check input, input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-width: 18px; max-width: none; flex: 0 0 auto; margin: 0; padding: 0; border-radius: 4px; accent-color: #0f6b56; background: #fff; color-scheme: light; }
.rights { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 22px; margin: 0 0 14px; }
.role-menus { grid-column: 1 / -1; }
.role-menus h3 { margin: 16px 0 8px; font-size: 14px; }
.role-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 4px; }
.role-menu .check { margin: 0; }
.role-move { min-height: 32px; padding: 0 8px; }
.rights .check { margin: 0; min-height: 28px; }
.rights .check span { font-size: 14px; font-weight: 550; line-height: 1.3; }
.empty { color: var(--muted); padding: 8px 0; font-size: 13.5px; }
.note { background: var(--soft); padding: 10px 12px; border-radius: 8px; margin: 8px 0; white-space: pre-wrap; }
.doc-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.doc-edit { position: relative; }
.doc-board { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 0; background: transparent; border-radius: 0; }
.doc-page { position: relative; width: 100%; background: #fff; color: #172033; min-height: 640px; padding: 48px 56px; border: 1px solid #d5deea; border-radius: 2px; box-shadow: 0 14px 34px rgba(23, 32, 51, .08); font-family: Inter, "Segoe UI", sans-serif; font-size: 16.5px; line-height: 1.65; }
.doc-page:has(img[data-x]), .doc-page:has(.doc-box), .doc-page:has(.doc-sign), .doc-page:has(.doc-line) { min-height: 900px; height: auto; }
.doc-page + .doc-page { page-break-before: always; break-before: page; }
.doc-page:focus { outline: 2px solid rgba(15, 107, 86, .28); }
.doc-page h1, .doc-page h2, .doc-page h3, .doc-page p, .doc-page li { color: #172033; background: transparent; margin: 0 0 12px; }
.logbook { display: grid; }
.logline { display: grid; grid-template-columns: 168px minmax(90px, 160px) minmax(140px, 240px) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.logline.head { color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.logline b, .logline em { font-style: normal; font-weight: 650; }
.logline em { font-weight: 450; color: var(--muted); }
.doc-page h1 { font-size: 26px; letter-spacing: .04em; text-align: center; margin: 0 0 28px; }
.doc-page h2 { font-size: 18px; margin: 26px 0 10px; }
.doc-page ul, .doc-page ol { margin: 0 0 16px; padding-left: 1.2em; }
.doc-page li { margin: 0 0 6px; }
.doc-read { min-height: 0; height: auto; margin: 8px 0 16px; }
.doc-page.doc-lay { font-family: Inter, "Segoe UI", sans-serif; min-height: 0; }
.doc-page.doc-lay h1, .doc-page.doc-lay h2, .doc-page.doc-lay h3 { font-family: inherit; color: #0f6b56; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; text-align: left; margin: 22px 0 10px; padding: 0 0 8px; border-bottom: 1px solid #d5deea; }
.doc-page.doc-lay h1:first-child, .doc-page.doc-lay h2:first-child, .doc-page.doc-lay h3:first-child { margin-top: 0; }
.doc-page.doc-lay p, .doc-page.doc-lay li { margin: 0 0 14px; font-size: 16.5px; font-weight: 400; line-height: 1.65; text-align: left; color: #172033; font-family: inherit; }
.doc-page.doc-lay ul { margin: 4px 0 16px; padding-left: 1.2em; }
.job-sheet .doc-read { margin: 0 0 8px; padding: 8px 0 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; font-family: "Segoe UI", sans-serif; font-size: 16.5px; line-height: 1.65; }
.job-sheet .doc-page h1 { font-family: inherit; font-size: 22px; letter-spacing: -0.02em; text-align: left; margin: 0 0 16px; }
.job-sheet .doc-page h2 { font-size: 20px; margin: 26px 0 8px; color: #0f6b56; letter-spacing: -0.02em; }
.job-sheet .doc-page p { margin: 0 0 14px; }
.job-sheet .job-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.job-sheet .job-facts p { margin: 0; padding: 8px 12px; background: #f4f7fb; border-radius: 999px; font-size: 14px; }
.job-sheet .doc-page ul { margin: 4px 0 18px; padding: 0; list-style: none; }
.job-sheet .doc-page li { margin: 0 0 8px; padding: 8px 12px 8px 14px; background: #f3f8f6; border-left: 3px solid #0f6b56; border-radius: 0 8px 8px 0; }
.job-sheet .job-call { margin: 22px 0; padding: 16px 18px; background: #e7f4ef; border-radius: 12px; }
.job-sheet .job-sign { margin: 22px 0 4px; font-weight: 650; }
.job-sheet .doc-line, .job-sheet .doc-line[data-x] { position: static !important; left: auto !important; top: auto !important; width: 100% !important; height: auto; min-height: 0; margin: 6px 0 18px; padding: 0; }
.job-sheet .doc-box[data-x], .job-sheet .doc-sign[data-x], .job-sheet img[data-x] { position: static !important; left: auto !important; top: auto !important; margin: 12px 0; }
.doc-read + .doc-read { margin-top: 18px; }
.doc-read .doc-box { border: 0; background: transparent; box-shadow: none; }
.doc-page img.doc-shot { max-width: 100%; height: auto; display: block; margin: 8px 0 16px; }
.doc-page img.doc-logo { max-width: 190px; max-height: none; width: auto; height: auto; display: block; margin: 0 0 18px; object-fit: contain; }
.doc-page img[data-w] { max-width: none; max-height: none; }
.doc-page img[data-x] { position: absolute; margin: 0; z-index: 1; }
.doc-page .doc-box[data-x], .doc-page .doc-sign[data-x], .doc-page .doc-line[data-x] { position: absolute; margin: 0; z-index: 2; }
.doc-box, .doc-sign { box-sizing: border-box; border: 1px dashed #8aa0b4; background: rgba(255, 255, 255, .94); padding: 22px 10px 8px; min-height: 64px; }
.doc-sign { min-height: 88px; }
.doc-line { box-sizing: border-box; border: 0; background: transparent; padding: 18px 0 0; min-height: 28px; height: 28px; }
.doc-line::after { content: ""; display: block; height: 0; border-top: 2px solid #172033; width: 100%; }
.doc-box .doc-move, .doc-sign .doc-move, .doc-line .doc-move { position: absolute; top: 2px; left: 4px; border: 0; background: #0f6b56; color: #fff; border-radius: 6px; padding: 2px 8px; cursor: grab; font: inherit; font-size: 12px; }
.doc-frame { position: absolute; border: 1px solid #0f6b56; z-index: 4; pointer-events: none; }
.doc-frame[hidden] { display: none; }
.doc-frame .doc-size, .doc-frame .doc-flow, .doc-frame .doc-drop { pointer-events: auto; }
.doc-frame .doc-size { position: absolute; right: -8px; bottom: -8px; width: 18px; height: 18px; border: 0; border-radius: 4px; background: #0f6b56; cursor: nwse-resize; }
.doc-frame .doc-flow, .doc-frame .doc-drop { position: absolute; top: -28px; border: 0; background: #0f6b56; color: #fff; border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.doc-frame .doc-flow { left: 0; }
.doc-frame .doc-drop { left: 84px; }
.doc-check { display: flex; align-items: flex-start; gap: 10px; }
.doc-before, .doc-after { min-width: 1.5em; }
.doc-tick { width: 16px; height: 16px; min-width: 16px; margin-top: 5px; border: 2px solid #172033; border-radius: 2px; background: #fff; display: inline-block; }
.doc-tick.doc-on { background: #157347; box-shadow: inset 0 0 0 3px #fff; }
.sign { display: block; width: 100%; height: 160px; background: white; border: 1px solid var(--line-strong); border-radius: 8px; touch-action: none; cursor: crosshair; }
#modal[hidden] { display: none; }
.modal-back { position: fixed; inset: 0; background: rgba(16, 22, 29, .46); z-index: 20; }
.modal { position: fixed; left: 50%; top: 40px; transform: translateX(-50%); width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 64px); overflow: auto; z-index: 21; padding: 18px 20px 20px; scroll-padding-top: 76px; border-radius: 16px; }
.modal header { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; position: sticky; top: -18px; background: var(--card); color: var(--ink); padding: 4px 0 10px; z-index: 1; }
.modal header h2 { color: var(--ink); }
.modal form, form.card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; align-items: start; }
form.card > .fold-head, form.card > .fold-body, .card > .fold-head { grid-column: 1 / -1; }
form.card > .fold-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; align-items: start; }
form.card > .fold-body[hidden], .card > .fold-body[hidden] { display: none; }
.card > .fold-head { font-size: 15px; }
.card > .fold-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 450; }
.grid-3 form.card, .public form.card { display: block; }
.modal .field:has(textarea), .modal .form-actions, .modal .check, .modal h2, .modal p, .modal .links, .modal .note, .modal canvas, .modal img, .modal > form > button.btn-ghost, .modal .sheet, .modal .rows, .modal .person-menu,
form.card .field:has(textarea), form.card .form-actions, form.card .check, form.card h2, form.card p, form.card .links, form.card .sheet, form.card .rows { grid-column: 1 / -1; }
.modal .rights .check, form.card .rights .check { grid-column: auto; }
.face-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; }
.face-row .meta { flex: 1 0 100%; margin: 0; }
.sheet-grid .face-row, .modal .face-row { grid-column: 1 / -1; }
.face { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; background: var(--soft); display: grid; place-items: center; flex: 0 0 72px; }
.face img { width: 72px; height: 72px; object-fit: cover; display: block; }
.face span { color: var(--muted); font-size: 12px; text-align: center; padding: 6px; }
.nameface { display: inline-flex; align-items: center; gap: 8px; }
.nameface img { width: 32px; height: 32px; border-radius: 10px; object-fit: cover; display: block; }
.person-menu { display: flex; flex-wrap: wrap; gap: 4px 2px; position: sticky; top: 60px; z-index: 3; background: var(--paper); padding: 2px 0 8px; margin: 0 0 12px; border-bottom: 1px solid var(--line); }
.modal .person-menu { top: 36px; z-index: 2; background: var(--card); }
.person-tab { appearance: none; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: inherit; font-weight: 650; padding: 8px 12px; cursor: pointer; }
.person-tab.on { color: var(--ink); border-bottom-color: var(--ink); }
.person-pane[hidden] { display: none; }
.person-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.person-facts p { margin: 0; }
.person-facts span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.person-foot { justify-content: flex-end; }
.person-foot .check { margin-right: auto; }
.sheet { border: 1px solid var(--line); border-radius: 16px; background: #f7f9fc; padding: 16px 16px 4px; margin: 0 0 14px; }
.sheet h2 { font-size: 15px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.sheet-grid .field:has(textarea), .field.span { grid-column: 1 / -1; }
.call { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 12px 12px 0; margin: 0 0 12px; }
.call .meta { margin: 0 0 8px; font-weight: 650; }
.call-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.9fr; column-gap: 12px; }
.field input, .field select, .field textarea, .pick-find { width: 100%; max-width: 100%; min-width: 0; }
.datepair { display: flex; gap: 6px; align-items: stretch; width: 100%; position: relative; }
.field .datepair .dato { flex: 1; width: auto; }
.field .datepair .dato-open { width: 42px; min-width: 42px; flex: 0 0 42px; padding: 0; display: grid; place-items: center; cursor: pointer; background: white; border: 1px solid var(--line-strong); border-radius: 12px; color: #1c2834; }
.field .datepair .dato-open svg { display: block; width: 18px; height: 18px; margin: auto; }
.field .datepair .dato-pick { position: absolute; width: 1px; height: 1px; min-width: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.rows { border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; padding: 14px; margin: 0 0 12px; }
.rows h3 { font-size: 15px; margin-bottom: 2px; }
.rows .meta { margin-bottom: 10px; }
.linecard { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 8px 10px; align-items: end; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 8px; }
.linecard label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.linecard label span { font-size: 11px; font-weight: 650; color: var(--muted); }
.linecard label.wide { grid-column: span 2; }
.linecard label.full { grid-column: 1 / -1; }
.linecard input, .linecard select { min-width: 0; width: 100%; background: white; }
.linecard .line-earn, .linecard .btn-ghost, .linecard .rights, .product-earn { grid-column: 1 / -1; }
.linecard .btn-ghost { width: auto; justify-self: start; }
.linecard .rights { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 8px 0 2px; min-width: 0; }
.linecard .rights .check { flex: 0 1 auto; flex-direction: row; align-items: center; gap: 8px; margin: 0; min-height: 28px; min-width: 0; }
.linecard .rights .check input { width: auto; flex: 0 0 auto; margin: 0; background: transparent; }
.linecard .rights .check span { font-size: 14px; font-weight: 550; color: var(--ink); }
.rows-address .linecard { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-radius: 16px; padding: 14px; }
.plan-board { display: grid; grid-template-columns: 148px repeat(7, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.plan-head, .plan-name { font-size: 12px; font-weight: 700; padding: 6px; }
.plan-drop { min-height: 84px; background: var(--card); border: 1px dashed var(--line); border-radius: 12px; padding: 4px; }
.plan-card { background: #e7f6f1; border-radius: 8px; padding: 6px 8px; margin-bottom: 4px; cursor: grab; font-size: 12px; }
.plan-card.akut { background: #fde8e8; }
.plan-card.igang { background: #e7f0fb; }
.plan-card.afventer { background: #fff6d8; }
.plan-card.faerdig, .plan-card.lukket, .plan-card.faktureret { background: #eceff3; }
.plan-away { font-size: 12px; color: var(--muted); padding: 4px 2px; }
.job-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 0 0 12px; background: var(--card); }
.job-card h2 { margin: 0 0 6px; font-size: 18px; }
.cust-nav { margin: 0 0 16px; }
.addr-pick { margin: 0 0 16px; }
.lock-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.lock-side { display: flex; flex-direction: column; gap: 6px; }
.lock-side .btn, .lock-side .btn-ghost { width: 100%; justify-content: flex-start; text-align: left; }
.lock-jump { display: none; }
.lock-top { display: flex; align-items: flex-end; justify-content: flex-end; gap: 12px; margin: 0 0 12px; }
.order-picks { display: grid; gap: 8px; }
.order-picks h3 { margin: 8px 0 0; font-size: 15px; }
.order-pick { padding: 6px 0 8px; border-bottom: 1px solid var(--line); }
.order-picks .check { margin: 0; }
.order-pick .order-update { margin: 4px 0 0 26px; }
.order-pick .order-update span { font-size: 13px; font-weight: 650; }
.order-picks small { display: block; color: var(--muted); font-size: 12px; font-weight: 450; }
.modal .order-mail, .modal .order-picks, .modal form[data-act="send-order"] > .meta, .modal form[data-act="send-order"] > .form-actions { grid-column: 1 / -1; }
.lock-top .lock-jump { flex: 1; margin: 0; }
.lock-sheet { position: relative; }
.lock-sheet-menu { position: absolute; z-index: 8; top: calc(100% + 6px); right: 0; min-width: 240px; padding: 8px; background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.lock-sheet-menu[hidden] { display: none; }
.lock-sheet-menu button { width: 100%; text-align: left; border: 0; background: transparent; border-radius: 8px; padding: 8px 10px; font: inherit; font-weight: 650; color: inherit; cursor: pointer; }
.lock-sheet-menu button:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); color: var(--ink); }
.lock-sheet-menu p { margin: 6px 0 0; padding: 6px 8px 2px; color: var(--muted); font-size: 12px; line-height: 1.35; }
html[data-layout] .modal .lock-over { grid-column: 1 / -1; background: transparent; color: var(--ink); padding: 0; }
html[data-layout] .modal .lock-over h2 { display: none; }
html[data-layout] .modal .lock-over h3,
html[data-layout] .modal .lock-over p,
html[data-layout] .modal .lock-over li,
html[data-layout] .modal .lock-over dt,
html[data-layout] .modal .lock-over dd,
html[data-layout] .modal .lock-over .lock-gear-bits span { color: var(--ink); }
html[data-layout] .modal .lock-over .who,
html[data-layout] .modal .lock-over dt,
html[data-layout] .modal .lock-over .lock-empty,
html[data-layout] .modal .lock-over .lock-gear-bits small { color: var(--muted); }
.lock-over .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
html[data-layout] .modal .lock-over .box { border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 4px; margin: 0 0 14px; background: transparent; color: var(--ink); }
html[data-layout] .modal .lock-over .grid .box { margin: 0; }
.lock-over h3 { margin: 0 0 10px; font-size: 15px; }
.lock-over .who { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.lock-over ul { margin: 0; padding: 0; list-style: none; }
.lock-over li { margin: 0 0 6px; }
.lock-over dl { margin: 0; }
.lock-over dt { color: var(--muted); font-size: 12px; }
.lock-over dd { margin: 0 0 8px; }
.lock-over img { display: block; max-width: 160px; max-height: 120px; margin-top: 6px; border-radius: 8px; }
.lock-over .lock-empty { margin: 0; color: var(--muted); }
.lock-over .lock-over-logins { margin-top: 8px; }
.lock-over .lock-over-logins li { padding-top: 6px; border-top: 1px solid var(--line); }
.lock-over-gear { width: 100%; border-collapse: collapse; margin: 0 0 8px; table-layout: fixed; }
.lock-over-gear col.ip { width: 16%; }
.lock-over-gear col.place { width: 46%; }
.lock-over-gear col.model { width: 18%; }
.lock-over-gear col.login { width: 20%; }
.lock-over-gear th, .lock-over-gear td { border: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
html[data-layout] .modal .lock-over .lock-over-gear th { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
html[data-layout] .modal .lock-over .lock-over-gear td { color: var(--ink); }
.lock-with-shot { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; align-items: start; }
.lock-shot { position: relative; width: 190px; margin: 0; }
.lock-saved > .lock-shot { width: 168px; flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.lock-shot-img { display: block; width: 100%; height: auto; max-width: 168px; max-height: 168px; object-fit: contain; border-radius: 10px; margin: 0; background: #eef2f6; cursor: zoom-in; }
.lock-shot-at { display: block; color: var(--muted); font-size: 11px; line-height: 1.2; text-align: right; white-space: nowrap; }
.lock-shot-full { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 12px; background: #0e141c; }
.lock-picked { display: block; margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.lock-file { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lock-files h4 { margin: 16px 0 0; font-size: 14px; }
.code-prior { flex: 1 0 100%; margin: 2px 0 0; padding: 0; background: none; color: var(--ink); font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lock-pair .code-prior { grid-column: 1 / -1; }
.signal-line { font-size: 18px; font-weight: 650; margin: 0 0 10px; }
.signal-box .btn-ghost { text-align: left; white-space: normal; }
.signal-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.signal-row > .btn-ghost { flex: 1 1 220px; justify-content: flex-start; }
.signal-marks { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.signal-marks > span { color: var(--muted); font-size: 13px; }
.signal-note { flex: 1 0 100%; margin: 0; color: var(--ink); font-size: 13px; line-height: 1.35; white-space: normal; }
.service-year { margin-top: 12px; }
.service-year-toggle { width: 100%; text-align: left; background: none; border: 0; color: inherit; font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; padding: 0; }
.service-year-body { margin-top: 12px; }
.service-months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service-month { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.service-month h3 { margin: 0 0 8px; font-size: 14px; }
.service-hit { margin: 0 0 8px; font-size: 13px; line-height: 1.35; }
.service-hit .btn-ghost:disabled, .svc-line .btn-ghost:disabled { opacity: 0.45; cursor: default; }
.service-hit.is-due strong { color: var(--sea); }
.service-stop { display: grid; gap: 8px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .service-months { grid-template-columns: 1fr; } }
.signal-marks .btn-ghost.on { background: var(--sea); color: #fff; border-color: var(--sea); }
.signal-watch { max-width: 640px; }
.signal-watch textarea { min-height: 110px; }
.signal-watch .form-actions { justify-content: flex-start; }
.lock-file strong, .lock-file span, .lock-file p { display: block; }
.lock-file span { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.lock-file p { margin: 6px 0 0; white-space: pre-wrap; }
.svc-list { display: grid; gap: 0; }
.svc-line { padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc-line:last-child { border-bottom: 0; }
.svc-line strong, .svc-line span, .svc-line p { display: block; }
.svc-line strong { font-size: 15px; line-height: 1.35; }
.svc-line span { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.svc-line p { margin: 8px 0 0; white-space: pre-wrap; line-height: 1.45; }
.svc-line .links { margin-top: 8px; }
.qa-shots { margin: 0 0 8px; }
.qa-shot { display: inline-flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.qa-shot .btn-ghost { padding: 2px 8px; font-size: 12px; }
.app.blad { display: block; width: 100%; min-height: 100vh; background: var(--paper); }
.app.blad .workspace { width: 100%; height: auto; min-height: 100vh; margin: 0; border-left: 0; overflow: visible; }
.app.blad .main { max-width: none; padding: 20px 24px 64px; }
.staff-link { margin: 0 0 12px; }
.staff-link a { display: inline-block; max-width: 100%; color: var(--ink); font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.incoming { padding: 8px 0; border-bottom: 1px solid var(--line); }
.desk-portal { padding: 10px 12px; }
.desk-scroll { overflow: hidden; }
.desk-scroll.can-scroll { overflow: auto; scrollbar-width: thin; }
.desk-portal h2 { font-size: 15px; }
.desk-portal .incoming { padding: 6px 0; }
.desk-portal .incoming p, .desk-portal .check span { font-size: 12.5px; }
.desk-portal .meta { font-size: 11.5px; line-height: 1.3; }
.desk-portal .line-tools { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.desk-portal .line-tools select { width: auto; flex: 1; min-width: 0; padding: 2px 6px; font-size: 12px; border-radius: 7px; }
.desk-portal .line-tools .btn, .desk-portal .line-tools .btn-ghost, .desk-portal .form-actions .btn { padding: 2px 7px; font-size: 12px; border-radius: 7px; }
.desk-portal .form-actions { margin-top: 4px; }
.desk-portal .card-head { margin-bottom: 6px; }
.desk-portal .card-head .btn-ghost { padding: 2px 7px; font-size: 12px; }
form[data-act="save-portal-close"], form[data-act="save-portal-form"] { display: block; }
.portal-setup { display: grid; grid-template-columns: minmax(0, 1.3fr) 160px minmax(0, 1fr) auto; gap: 8px; align-items: end; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
#portal-asks, #portal-slots { border-top: 1px solid var(--line); }
.portal-ask-extra { grid-column: 1 / -1; display: grid; gap: 8px; }
.portal-ask-extra[hidden] { display: none; }
.portal-points { margin: 0 0 14px; padding-left: 18px; }
.portal-points:empty { display: none; margin: 0; padding: 0; }
.portal-points li { margin: 0 0 6px; }
#change-picks .check { align-items: flex-start; }
.portal-setup.portal-slot { grid-template-columns: 168px 120px 120px 84px auto auto; }
.portal-week { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.portal-week > span { font-size: 12px; font-weight: 650; color: #526070; }
.portal-week .check { margin: 0; }
.portal-setup .field { margin-bottom: 0; }
.portal-setup .check { margin: 0 0 8px; }
.field[hidden] { display: none; }
#portal-notes .line-tools, #cust-lines .line-tools { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
#portal-notes .line-tools select, #cust-lines .line-tools select { width: auto; min-width: 120px; flex: 0 1 160px; padding: 4px 8px; }
.incoming strong, .incoming p { display: block; }
.incoming p { margin: 2px 0 0; white-space: pre-wrap; }
.incoming .check { margin: 0; }
.lock-box { border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 4px; margin: 0 0 14px; }
.lock-box h4 { margin: 0 0 10px; font-size: 15px; }
.lock-line, .lock-level { display: grid; gap: 12px; align-items: end; margin: 0 0 12px; }
.lock-line { grid-template-columns: minmax(0, 1fr) auto; }
.lock-line.lock-note { grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 16px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lock-line.lock-note .lock-note-side { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.lock-line.lock-note .lock-note-side > input,
.lock-line.lock-note .lock-note-side > textarea { width: 100%; min-width: 0; min-height: 72px; }
.lock-line.lock-note .lock-note-side > .field { flex: 1 1 160px; margin: 0; min-width: 0; }
.lock-line.lock-note .lock-note-side > .field input { width: 100%; min-height: 0; height: auto; }
.lock-line.lock-note .lock-shot { display: flex; align-items: center; justify-content: flex-end; width: 190px; }
.lock-line.lock-note .lock-shot-img { margin: 0; }
.lock-line.lock-note .filebtn { margin: 0; }
.lock-shot-tools { display: inline-flex; gap: 8px; align-items: center; }
.lock-shot-tools .filebtn { position: relative; overflow: hidden; display: inline-flex; align-items: center; min-height: 44px; }
.lock-shot-tools .filebtn input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 44px; opacity: 0.02; font-size: 16px; cursor: pointer; }
.lock-level { grid-template-columns: minmax(140px, 1.2fr) 88px minmax(0, 1fr) auto; }
.lock-level .field { margin: 0; }
.lock-line .btn-ghost, .lock-level .btn-ghost { margin: 0 0 2px; }
.lock-note { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 6px 24px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lock-note strong, .lock-note-who, .lock-note-when { display: block; }
.lock-note-who, .lock-note-when { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.lock-note-when { white-space: nowrap; }
.lock-saved { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; grid-template-columns: none; }
.lock-saved:not(.lock-shot-row) { padding: 6px 0; gap: 4px 12px; }
.lock-saved:not(.lock-shot-row) .lock-note-side { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; width: 100%; min-width: 0; }
.lock-saved:not(.lock-shot-row) .lock-note-side > strong,
.lock-saved:not(.lock-shot-row) .lock-note-side > .lock-note-body,
.lock-saved:not(.lock-shot-row) .lock-note-side > .lock-note-when { min-width: 0; margin: 0; }
.lock-saved:not(.lock-shot-row) .lock-note-side > .links { margin: 0; flex-wrap: nowrap; }
.lock-saved.lock-shot-row { display: grid; grid-template-columns: minmax(0, 1fr) 168px; align-items: start; gap: 12px 16px; }
.lock-saved > strong { flex: 1 1 220px; min-width: 0; }
.lock-saved > .lock-note-when,
.lock-saved > .lock-note-body { flex: 1 1 160px; min-width: 0; margin: 0; }
.lock-saved > .links { flex: none; margin: 0; flex-wrap: nowrap; }
.lock-saved > .lock-shot,
.lock-saved.lock-shot-row > .lock-shot { width: 168px; flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.lock-saved.lock-shot-row > .lock-note-side { min-width: 0; }
.lock-saved.lock-shot-row > .lock-note-side .links { margin-top: 8px; }
.lock-note-body { margin: 0; white-space: pre-wrap; line-height: 1.45; }
.lock-saved.lock-gear-read { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; }
.lock-gear-bits { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 1.3fr) minmax(80px, .8fr) minmax(0, 1.2fr); gap: 8px 16px; }
.lock-gear-bits span { min-width: 0; overflow-wrap: anywhere; }
.lock-gear-bits small { display: block; margin: 0 0 2px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lock-note-body .lock-shot { display: flex; justify-content: flex-end; }
.lock-note-body .lock-shot-img { margin: 0; }
.lock-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin: 0 0 12px; }
.lock-video-gear { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.lock-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; margin: 0 0 14px; }
.lock-video-grid .lock-box { margin: 0; }
.lock-pair .btn-ghost { margin: 0 0 2px; }
@media (max-width: 800px) {
  .lock-layout, .lock-video-grid { grid-template-columns: 1fr; }
  .lock-side { display: none; }
  .lock-jump { display: block; margin: 0; }
  .lock-top { display: grid; }
  .lock-over .grid { grid-template-columns: 1fr; }
  .lock-pair, .lock-line, .lock-note, .lock-with-shot { grid-template-columns: 1fr; }
  .lock-line.lock-note, .lock-saved.lock-shot-row { grid-template-columns: minmax(0, 1fr) 120px; }
  .lock-saved { display: flex; flex-wrap: wrap; }
  .lock-saved.lock-gear-read, .lock-gear-bits { grid-template-columns: 1fr; }
  .lock-saved.lock-shot-row { display: grid; }
  .lock-saved > .links { flex-wrap: wrap; }
  .lock-shot, .lock-line.lock-note .lock-shot, .lock-saved.lock-shot-row > .lock-shot { width: 120px; }
  .lock-shot-img { width: 120px; max-width: 120px; height: auto; max-height: 120px; margin-left: 0; }
  .lock-level { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr) auto; }
}
.lock-gear-sheet { display: grid; grid-template-columns: minmax(172px, 1.15fr) minmax(200px, 2.4fr) minmax(120px, .9fr) minmax(140px, 1fr) 168px; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: auto; margin: 0 0 12px; min-width: 860px; }
.lock-gear-head, .lock-gear-sheet .lock-gear-read, .lock-gear-sheet .lock-gear-bits, .lock-gear-sheet .lock-video-gear { display: contents; }
.lock-gear-sheet .lock-gear-read > input { display: none; }
.lock-gear-head > span, .lock-gear-sheet .lock-gear-bits > span, .lock-gear-sheet .lock-gear-read > .links, .lock-gear-sheet .lock-video-gear > .field, .lock-gear-sheet .lock-video-gear > .btn-ghost { padding: 8px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.lock-gear-sheet .lock-gear-bits > span:nth-child(1), .lock-gear-sheet .lock-gear-bits > span:nth-child(3), .lock-gear-sheet .lock-gear-bits > span:nth-child(4) { white-space: nowrap; }
.lock-gear-sheet .lock-gear-bits > span:nth-child(2) { overflow-wrap: break-word; }
.lock-gear-head > span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lock-gear-head > span:last-child, .lock-gear-sheet .lock-gear-read > .links, .lock-gear-sheet .lock-video-gear > .btn-ghost { border-right: 0; }
.lock-gear-sheet .lock-gear-read > .links, .lock-gear-sheet .lock-video-gear > .btn-ghost { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.lock-gear-sheet .lock-video-gear > .field { margin: 0; }
.lock-gear-sheet .lock-video-gear > .field > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.cust-top[hidden], .card[hidden] { display: none; }
.cust-top { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; margin: 12px 0 28px; }
.cust-top .card { height: 100%; margin-bottom: 0; padding: 26px 28px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.card .card-head h2 { margin: 0; }
.card-head .btn { flex: none; }
.pay-fold > summary { align-items: center; cursor: pointer; list-style: none; }
.pay-fold > summary::-webkit-details-marker { display: none; }
.pay-fold > summary::marker { content: ""; }
.pay-fold > summary h2 { flex: 1 1 auto; }
.pay-fold > summary::after { content: "Fold ud"; flex: none; font-size: 12px; font-weight: 650; color: var(--muted); }
.pay-fold[open] > summary::after { content: "Fold ind"; }
.pay-fold:not([open]) > summary.card-head { margin-bottom: 0; }
.vault-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.card h3 { margin: 18px 0 8px; font-size: 15px; }
@media (max-width: 900px) {
  .vault-grid { grid-template-columns: 1fr; }
}
.cust-top .card p { margin: 0 0 10px; line-height: 1.5; }
.bar-row { display: grid; grid-template-columns: 148px minmax(0, 1fr) 28px; gap: 8px; align-items: center; margin: 5px 0; font-size: 13px; }
#cust-overblik .bar-row { grid-template-columns: minmax(148px, 220px) minmax(0, 1fr) 28px; }
.bar { display: block; height: 12px; border-radius: 999px; background: linear-gradient(#6d7f9a, #6d7f9a) left center / var(--w, 0%) 100% no-repeat, #e6eef6; }
html[data-layout="nat"] .bar { background: linear-gradient(#8eb4d4, #8eb4d4) left center / var(--w, 0%) 100% no-repeat, #2c3848; }
@media (max-width: 900px) {
  .cust-top { grid-template-columns: 1fr; gap: 16px; }
}
.rows-address .linecard .btn-ghost { width: auto; justify-self: start; }
@media (max-width: 900px) {
  .rows-address .linecard { grid-template-columns: 1fr; }
}
.line-earn, .product-earn { margin: 0; font-weight: 650; color: var(--sea); }
.rows > .btn-ghost { margin-top: 2px; }
.rows-sum { margin: 2px 0 10px; font-weight: 650; }
.pulse-sheet > .fold-head { font-size: 32px; letter-spacing: -0.03em; line-height: 1.1; }
.public .pulse-sheet > .fold-head { font-size: 40px; }
.pulse-sheet .fold-body[hidden] { display: none; }
.pulse-q { display: block; margin: 0 0 8px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.pulse-q > .fold-head { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; margin: 0; }
.pulse-q > .fold-body { padding-top: 10px; }
.pulse-choice:empty { display: none; }
.pulse-choice { margin-left: 8px; color: var(--sea); }
.pulse-ask { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 650; }
.pulse-q.miss { border-bottom-color: var(--bad); }
.pulse-q.miss > .fold-head,
.pulse-q.miss .pulse-ask { color: var(--bad); }
.modal .pulse-q, .public .pulse-q { grid-column: 1 / -1; }
.scale { display: flex; gap: 8px; margin: 8px 0 16px; }
.scale label { position: relative; }
.scale input { position: absolute; opacity: 0; inset: 0; }
.scale span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-strong); background: white; font-weight: 650; }
.scale input:checked + span { background: var(--sea); color: white; border-color: var(--sea); }
.scale input:focus + span { box-shadow: 0 0 0 3px rgba(29, 78, 115, .12); }
.apv-choice { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.apv-choice label { position: relative; }
.apv-choice input { position: absolute; opacity: 0; inset: 0; }
.apv-choice span { display: inline-block; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; font-weight: 650; }
.apv-choice input:checked + span { background: var(--sea); color: #fff; border-color: var(--sea); }
.apv-choice input:focus + span { box-shadow: 0 0 0 3px rgba(29, 78, 115, .12); }
.apv-note[hidden] { display: none; }
body.firm { margin: 0; background: #f3f6f4; color: var(--firm-ink, #172033); }
body.firm.firm-serif { font-family: Georgia, "Times New Roman", serif; }
body.firm a { color: inherit; }
.firm-top, .firm-nav, .firm-main, .firm-foot { width: min(1040px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.firm-top { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.firm-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; letter-spacing: -0.03em; text-decoration: none; color: var(--firm, #1f6f5b); }
.firm-logo { width: 42px; height: 42px; object-fit: contain; }
.firm-tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.firm-www, .firm-phone { color: var(--firm, #1f6f5b); font-weight: 700; text-decoration: none; }
.firm-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 18px; }
.firm-nav a { text-decoration: none; border: 1px solid #d5deea; background: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 650; }
.firm-nav a[aria-current="page"] { background: var(--firm, #1f6f5b); color: #fff; border-color: var(--firm, #1f6f5b); }
.firm-main { background: #fff; border: 1px solid #e3ebe6; border-radius: 22px; padding: 36px 32px 28px; box-shadow: 0 16px 40px rgba(23, 32, 51, .05); }
.firm-main h1 { font-size: 42px; line-height: 1.05; margin: 0 0 12px; }
.firm-lead { font-size: 18px; line-height: 1.45; margin: 0 0 12px; }
.firm-close { color: #3d4d63; margin: 0 0 22px; }
.firm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 22px 0; }
.firm-grid article, .firm-facts, .firm-form { background: #f6f8f7; border: 1px solid #e3ebe6; border-radius: 16px; padding: 16px; }
.firm-grid h2, .firm-block h2, .firm-form h2 { margin: 0 0 6px; }
.firm-grid p, .firm-facts p { margin: 0; }
.firm-grid b { display: block; margin-top: 10px; color: var(--firm, #1f6f5b); font-size: 18px; }
.firm-block { margin-top: 8px; }
.firm-split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; margin-top: 18px; }
.firm-copy { white-space: pre-wrap; line-height: 1.55; }
.firm-facts p { margin: 0 0 8px; }
.firm-facts a, .firm-foot a { color: var(--firm, #1f6f5b); font-weight: 700; }
.firm-form { margin-top: 22px; }
.firm-foot { padding: 18px 0 36px; color: #526277; }
.firm-foot p { margin: 0 0 6px; white-space: pre-wrap; }
.firm-hero { margin-bottom: 8px; }
.firm-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.firm-trust article { background: var(--firm, #1f6f5b); color: #fff; border: 0; border-radius: 16px; padding: 16px; }
.firm-trust h2 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.firm-trust p { margin: 0; }
.firm-refs ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.firm-refs li { background: #f6f8f7; border: 1px solid #e3ebe6; border-radius: 999px; padding: 8px 12px; font-weight: 650; }
.firm-news { margin: 22px 0; padding: 18px; border-radius: 16px; background: #172033; color: #f4f7fb; }
.firm-news h2 { margin: 0 0 6px; color: #fff; }
.firm-news p { margin: 0; }
.firm-shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 18px 0; }
.firm-shop article { background: #f6f8f7; border: 1px solid #e3ebe6; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.firm-shop h2 { margin: 0; font-size: 20px; }
.firm-shop p { margin: 0; }
.firm-shop b { color: var(--firm, #1f6f5b); font-size: 18px; }
.firm-shop .btn { margin-top: auto; }
.firm-shop img, .firm-shots img, .firm-shot img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.firm-name { border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.firm-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.firm-cats button { border: 1px solid #d5deea; background: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 650; cursor: pointer; }
.firm-cats button[aria-current="true"] { background: var(--firm, #1f6f5b); color: #fff; border-color: var(--firm, #1f6f5b); }
.firm-cart { margin-top: 18px; }
.shop-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; align-items: end; margin: 12px 0; }
.shop-bar .btn-ghost { height: 42px; }
body.firm .btn { background: var(--firm, #1f6f5b); border-color: var(--firm, #1f6f5b); color: #fff; }
.firm-detail s, .firm-shop s { color: #6b7c90; font-weight: 500; margin-right: 6px; }
.firm-video { position: relative; margin: 16px 0; padding-top: 56%; }
.firm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 16px; }
.firm-faq article { margin: 0 0 12px; }
.firm-faq h3 { margin: 0 0 4px; }
.firm-gap { height: 28px; }
.firm-popup { position: fixed; inset: 0; background: rgba(16, 24, 32, .45); display: grid; place-items: center; z-index: 30; padding: 16px; }
.firm-popup > div { width: min(460px, 100%); background: #fff; color: #172033; border-radius: 16px; padding: 20px; }
.firm-cookie p { margin: 0; }
.firm-shot { margin: 16px 0; }
.firm-shot figcaption { color: #526277; margin-top: 6px; }
form.card .web-part, form.card .web-add { grid-column: 1 / -1; }
.web-add { display: flex; flex-wrap: wrap; gap: 8px; }
.web-part { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 4px; margin: 0 0 12px; }
.web-part-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.web-part-head h3 { margin: 0; font-size: 16px; }
.web-part-head .links { margin-left: auto; }
@media (max-width: 720px) {
  .firm-main h1 { font-size: 32px; }
  .firm-split { display: block; }
  .firm-trust { grid-template-columns: 1fr 1fr; }
  .firm-top { min-height: 0; padding-top: 16px; flex-wrap: wrap; }
  .firm-tools { margin-left: auto; }
}
#toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 30; }
.toast { background: #172033; color: #f7fafc; padding: 12px 14px; border-radius: 10px; max-width: 380px; line-height: 1.45; box-shadow: 0 12px 32px rgba(16, 24, 40, .22); animation: toast-in .2s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html[data-layout="nat"] .toast { background: #243044; color: #f5f8fc; border: 1px solid #8fd0b8; }
.public { max-width: 760px; margin: 28px auto; padding: 32px 28px 48px; background: white; border-radius: 28px; box-shadow: 0 24px 60px rgba(23, 32, 51, .08); }
.fb-stars { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; padding: 0; border: 0; }
.fb-stars legend { width: 100%; margin-bottom: 4px; font-weight: 650; }
.fb-stars label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.public h1 { font-size: 40px; margin-bottom: 8px; }
.public .case { background: #f6f8fb; border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 0 0 12px; }
.quote-part { border-top: 1px solid var(--line-strong); margin-top: 10px; padding-top: 10px; }
.deal-ok { margin: 0 0 12px; font-weight: 650; }
.deal-fold { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; }
.deal-linebar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.deal-linebar .fold-head { width: auto; flex: 1; margin: 0; font-size: 15px; font-weight: 650; }
.deal-linebar .fold-head span { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.deal-linebar .fold-head small { color: var(--muted); font-size: 13px; font-weight: 450; }
.deal-linebar .links { flex: none; }
.deal-fold .fold-body { padding: 0 14px 14px; }
.deal-fold .fold-body[hidden] { display: none; }
.deal-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.deal-sign .doc-shot, .deal-signs .doc-shot { max-width: 100%; height: auto; background: #fff; }
.deal-box { border: 1px solid rgba(23, 32, 51, .18); border-radius: 14px; padding: 14px 16px; }
.deal-box h3 { margin: 0 0 12px; }
.deal-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; margin: 0 0 8px; }
.deal-line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.deal-prices { border-top: 1px solid rgba(23, 32, 51, .18); margin-top: 12px; padding-top: 10px; }
.deal-price { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 6px; }
.deal-term { margin: 12px 0 0; font-size: 13px; line-height: 1.45; }
.deal-terms-wrap { margin-top: 12px; }
.deal-terms-wrap summary { cursor: pointer; font-weight: 650; font-size: 14px; }
.deal-terms { margin-top: 12px; }
.public .case:last-child { margin-bottom: 0; }
.public .case-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.public .case-head strong { display: block; font-size: 15px; }
.public .case-when { display: block; margin-top: 2px; color: var(--sea); font-size: 12.5px; font-weight: 650; }
.public .case-head > time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.public .thread { display: flex; flex-direction: column; gap: 8px; }
.public .bubble { max-width: min(92%, 520px); padding: 10px 12px 8px; border-radius: 14px; }
.public .bubble.kunde { align-self: flex-end; background: #e7f4ef; border-bottom-right-radius: 5px; }
.public .bubble.os { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.public .bubble .who { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 650; color: var(--muted); }
.public .bubble p { margin: 0; white-space: pre-wrap; line-height: 1.45; }
.public .bubble time { display: block; margin-top: 6px; text-align: right; font-size: 11px; color: var(--muted); }
.public .picks { margin: 0; padding: 0; list-style: none; }
.public .picks li { position: relative; margin: 0 0 4px; padding-left: 14px; }
.public .picks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--sea); }
.public .facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; margin: 8px 0 0; }
.public .facts div { display: contents; }
.public .facts dt { color: var(--muted); font-size: 12px; }
.public .facts dd { margin: 0; }
.public .facts + p { margin-top: 8px; }
.public .reply { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-top: 12px; }
.public .reply input, .public .reply textarea { background: #fff; }
.public .reply textarea { min-height: 40px; height: 40px; }
.public .reply .btn { min-height: 40px; padding: 0 14px; }
.public .reply .meta { grid-column: 1 / -1; margin: 0; }
.public .reply .meta:empty { display: none; }
@media (max-width: 640px) {
  .public .reply { grid-template-columns: 1fr auto; }
  .public .reply input[name="name"] { grid-column: 1 / -1; }
  .public .bubble { max-width: 100%; }
}
.main.draw-open { max-width: none; padding-top: 12px; padding-bottom: 16px; display: flex; flex-direction: column; min-height: calc(100vh - 64px); }
.main.draw-open .page-head { margin-bottom: 8px; }
.main.draw-open .page-head p { max-width: none; }
.draw-fold { margin: 0 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.draw-fold > summary { padding: 10px 12px; cursor: pointer; font-weight: 650; list-style: none; }
.draw-fold > summary::-webkit-details-marker { display: none; }
.draw-fold > summary::after { content: "Fold ind"; float: right; font-size: 12px; font-weight: 650; color: var(--muted); }
.draw-fold:not([open]) > summary::after { content: "Fold ud"; }
.draw-fold > .card { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.draw-find { margin: 0 0 8px; }
.draw-find .field { max-width: 420px; margin: 0; }
.draw-hits { display: grid; gap: 4px; margin-top: 6px; }
.draw-hit { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; width: 100%; text-align: left; }
.draw-hit.on { outline: 2px solid var(--on, #1d4e73); }
.mark.is-found { z-index: 6; box-shadow: 0 0 0 3px #3dbe8c; }
.draw-pagebar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
.draw-page-name { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 650; }
.draw-page-name input { width: 180px; }
.main.draw-open .draw-menu { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.main.draw-open .draw-group { flex: 1 1 240px; margin: 0; }
.main.draw-open .board { flex: 1 1 auto; align-self: stretch; min-width: 0; min-height: 0; height: min(68vh, calc(100vh - 200px)); display: flex; align-items: flex-start; justify-content: center; overflow: auto; }
.main.draw-open .board.is-zoomed { justify-content: flex-start; }
.draw-lock { cursor: grab; }
.draw-lock img, .draw-lock canvas { -webkit-user-drag: none; user-select: none; }
.board.is-panning, .board.is-panning * { cursor: grabbing; }
.draw-zoom { display: inline-block; vertical-align: top; }
.main.draw-open .board .draw-zoom { max-width: 100%; }
.main.draw-open .board.is-zoomed .draw-zoom { max-width: none; }
.main.draw-open .board .draw-lock { display: inline-block; width: auto; max-width: 100%; }
.main.draw-open .board.is-zoomed .draw-lock { max-width: none; }
.main.draw-open .board .draw-lock > img,
.main.draw-open .board .draw-lock canvas,
.main.draw-open .board .draw-pages,
.main.draw-open .board .draw-pages canvas { width: auto; height: auto; max-width: 100%; max-height: 64vh; }
html[data-layout="nat"] .board { background: #121820; border-color: #2c3848; }
.board { position: relative; background: #e7edf2; border-radius: 8px; min-height: 280px; overflow: auto; border: 1px solid var(--line); }
.draw-lock { position: relative; display: inline-block; vertical-align: top; }
.board .draw-lock { display: block; width: 100%; }
.board .draw-lock > img,
.board .draw-lock canvas,
.board .draw-pages,
.board .draw-pages canvas { display: block; width: 100%; max-width: 100%; height: auto; }
.draw-pages { display: block; }
.cable-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.cable-layer polyline { fill: none; stroke: #d35400; stroke-width: 1px; stroke-linejoin: round; stroke-linecap: butt; vector-effect: non-scaling-stroke; }
.cable-layer .cable-way { fill: none; stroke: #d35400; stroke-width: 1.8px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cable-layer .cable-k-8 { stroke-dasharray: 12 8; }
.cable-layer .cable-k-12 { stroke-dasharray: 20 6 3 6; }
.cable-layer .cable-k-cat6 { stroke-dasharray: 2 4; }
.cable-sample { display: inline-block; width: 36px; height: 6px; margin-right: 6px; vertical-align: middle; }
.cable-sample line { stroke: #d35400; stroke-width: 1.1; fill: none; stroke-linecap: butt; }
.cable-end, .cable-tag { position: absolute; z-index: 3; font-size: 9px; line-height: 1.15; }
.cable-tag { transform: translate(-50%, -120%); white-space: pre-line; max-width: 200px; background: #fff7ed; color: #9a3412; border: 1px solid #d35400; border-radius: 4px; padding: 1px 4px; font-size: 4.5px; pointer-events: none; }
.cable-end { transform: translate(-50%, 4px); background: #d35400; color: #fff; border: 0; border-radius: 4px; padding: 0 4px; cursor: pointer; }
.cable-kind { position: absolute; z-index: 2; transform: translate(-50%, -50%); font: 700 4.5px Segoe UI, sans-serif; color: #9a3412; background: #fff; border: 1px solid #d35400; border-radius: 3px; padding: 0 2px; line-height: 1.25; pointer-events: none; }
.layer-picks { display: inline-flex; align-items: center; gap: 10px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #172033; font-size: 13px; flex-wrap: wrap; }
.layer-pick { display: inline-flex; align-items: center; gap: 4px; margin: 0; font-weight: 650; color: #172033; }
.draw-lock[data-layer-alarm="0"] .mark[data-groups="alarm"],
.draw-lock[data-layer-adgang="0"] .mark[data-groups="adgang"],
.draw-lock[data-layer-video="0"] .mark[data-groups="video"],
.draw-lock[data-layer-alarm="0"][data-layer-adgang="0"] .mark[data-groups="alarm adgang"],
.draw-lock[data-layer-alarm="0"][data-layer-video="0"] .mark[data-groups="alarm video"],
.draw-lock[data-layer-adgang="0"][data-layer-video="0"] .mark[data-groups="adgang video"],
.draw-lock[data-layer-alarm="0"][data-layer-adgang="0"][data-layer-video="0"] .mark[data-groups="alarm adgang video"] { visibility: hidden; pointer-events: none; }
.draw-lock[data-layer-text="0"] .is-text,
.draw-lock[data-layer-text="0"] .mark-note { visibility: hidden; pointer-events: none; }
.draw-lock[data-layer-cable="0"] .cable-layer,
.draw-lock[data-layer-cable="0"] .cable-end,
.draw-lock[data-layer-cable="0"] .cable-tag,
.draw-lock[data-layer-cable="0"] .cable-kind { visibility: hidden; pointer-events: none; }
.wall-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.wall-layer polyline { fill: none; stroke-linejoin: miter; stroke-linecap: square; vector-effect: non-scaling-stroke; }
.wall-back { stroke: #fff; stroke-width: 6px; }
.wall-line { stroke: #172033; stroke-width: 3px; }
.wall-draft { stroke-dasharray: 8 5; }
.wall-chip { position: absolute; z-index: 4; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 4px; background: #172033; color: #fff; border: 0; border-radius: 6px; padding: 2px 6px; font: 11px/1.2 Segoe UI, sans-serif; cursor: pointer; }
.wall-chip span { font-weight: 650; }
.door { position: absolute; z-index: 4; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; background: transparent; cursor: grab; transform: translate(-4px, -32px); touch-action: none; }
.door svg { display: block; width: 36px; height: 36px; transform: rotate(var(--rot, 0deg)); transform-origin: 4px 32px; }
.door .leaf-back { fill: none; stroke: #fff; stroke-width: 4; }
.door .leaf { fill: none; stroke: #172033; stroke-width: 2.4; }
.door .swing { fill: none; stroke: #172033; stroke-width: 1.2; }
.door-tools { position: absolute; left: 40px; top: 6px; display: inline-flex; align-items: center; gap: 2px; background: #172033; color: #fff; border-radius: 6px; padding: 1px 4px; }
.door-turn, .door-x { position: static; border: 0; background: transparent; color: inherit; font: 11px/1.2 Segoe UI, sans-serif; padding: 2px 4px; border-radius: 4px; cursor: pointer; }
.draw-lock[data-layer-wall="0"] .wall-layer,
.draw-lock[data-layer-wall="0"] .wall-chip,
.draw-lock[data-layer-wall="0"] .door { visibility: hidden; pointer-events: none; }
.mark { position: absolute; z-index: 2; transform: translate(-50%, -50%); background: #1d4e73; color: white; border: 0; border-radius: 6px; padding: 1px 4px; font-size: 9px; line-height: 1.1; cursor: grab; display: flex; align-items: center; gap: 2px; max-width: 240px; touch-action: none; user-select: none; }
.mark img { width: 11px; height: 11px; object-fit: contain; flex: 0 0 auto; }
.mark-label { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; white-space: pre-line; }
.mark-note { display: block; font-size: 8px; line-height: 1.15; font-weight: 500; white-space: pre-line; }
.mark-x { background: transparent; color: inherit; border: 0; padding: 0 3px; cursor: pointer; font-size: 9px; }
.plan-mark { position: absolute; z-index: 4; top: -7px; right: -7px; width: 14px; height: 14px; padding: 0; border-radius: 50%; background: #b45309; color: #fff; border: 1px solid #fff; font: 700 8px/12px Segoe UI, sans-serif; cursor: pointer; }
.plan-tip { position: fixed; z-index: 40; max-width: 320px; max-height: 240px; overflow: auto; white-space: pre-wrap; background: #fff; color: #172033; border: 1px solid #d5dee8; border-left: 4px solid #b45309; border-radius: 8px; padding: 8px 10px; font: 13px/1.4 Segoe UI, sans-serif; box-shadow: 0 8px 24px rgba(23, 32, 51, .16); pointer-events: none; }
.draw-menu { display: grid; gap: 10px; margin: 0 0 12px; }
.draw-group { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 10px; }
.draw-group summary,
.group-fold summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.draw-group summary::-webkit-details-marker,
.group-fold summary::-webkit-details-marker { display: none; }
.draw-group summary { margin: 0 0 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.draw-group summary::after,
.group-fold summary::after { content: "Fold ind"; margin-left: auto; font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 650; color: var(--muted); }
.draw-group:not([open]) summary,
.group-fold:not([open]) summary { margin-bottom: 0; }
.draw-group:not([open]) summary::after,
.group-fold:not([open]) summary::after { content: "Fold ud"; }
.draw-group h3 { margin: 0 0 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.group-fold { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; background: var(--card); color: var(--ink); }
.group-fold summary { font-weight: 650; color: var(--ink); }
.group-fold-body { display: grid; gap: 6px; margin-top: 8px; }
.group-fold-body .meta { margin: 0; }
.cust-find { max-width: 420px; margin: 0 0 10px; }
.cust-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.cust-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 2px 4px 2px 10px; }
button.cust-chip { font: inherit; cursor: pointer; padding: 6px 12px; }
tr[hidden] { display: none; }
.cust-chip > button, .cust-chip-edit { border: 0; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; padding: 4px 6px; }
.cust-chip span { font-weight: 450; color: var(--muted); }
.cust-chip.on { background: var(--sea); color: #fff; border-color: var(--sea); }
.cust-chip.on span, .cust-chip.on .cust-chip-edit { color: #fff; }
.cust-chip-edit { color: var(--muted); font-weight: 650; }
.cust-chip.on .cust-chip-edit { color: #fff; }
.cust-fold { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; background: var(--card); color: var(--ink); }
.cust-fold > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; cursor: pointer; list-style: none; color: var(--ink); }
.cust-fold > summary::-webkit-details-marker { display: none; }
.cust-fold > summary b { font-weight: 650; }
.cust-fold > summary span { color: var(--muted); font-size: 13px; }
.cust-fold > summary .btn-ghost { flex: none; }
.cust-fold > summary::after { content: "Fold ind"; margin-left: auto; font-size: 12px; font-weight: 650; color: var(--muted); }
.cust-fold:not([open]) > summary::after { content: "Fold ud"; }
.cust-fold .cust-fold-body { padding: 0 14px 14px; }
.cust-fold .cust-fold-body table { margin: 0; }
.draw-group-body { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.draw-group-body .btn, .draw-group-body .btn-ghost { margin: 0; }
.draw-file { position: relative; }
.draw-file-menu { position: absolute; z-index: 8; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 8px; background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.draw-file-menu[hidden] { display: none; }
.draw-file-menu p { margin: 0 0 6px; padding: 4px 8px 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.draw-file-menu button { width: 100%; text-align: left; border: 0; background: transparent; border-radius: 8px; padding: 8px 10px; font: inherit; font-weight: 650; color: inherit; cursor: pointer; }
.draw-file-menu button:hover { background: var(--soft); }
.draw-tools .mark-text { min-width: 220px; margin: 0; flex-direction: row; align-items: flex-start; gap: 6px; }
.draw-tools .mark-text textarea { width: 220px; min-height: 72px; resize: vertical; line-height: 1.3; }
.draw-tools [data-act="draw-tool"] { cursor: grab; }
.symbol-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.symbol-shot { width: 18px; height: 18px; object-fit: contain; margin-right: 6px; vertical-align: middle; }
.pic-fold { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; background: var(--card); color: var(--ink); }
.pic-fold > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; cursor: pointer; list-style: none; color: var(--ink); }
.pic-fold > summary::-webkit-details-marker { display: none; }
.pic-fold > summary b { font-weight: 650; color: var(--ink); }
.pic-fold > summary span { flex: 1 1 220px; color: var(--muted); font-size: 13px; font-weight: 450; min-width: 0; }
.pic-fold > summary .btn-ghost { margin-left: auto; flex: none; }
.pic-fold .folder-body { padding: 0 14px 14px; }
.folder-files { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.folder-files p { margin: 0; max-width: 168px; }
.folder-files .meta { display: block; margin-top: 4px; font-size: 12px; line-height: 1.35; }
.folder-shot { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; display: block; }
.qa-field { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(110px, .6fr) minmax(0, .9fr) minmax(0, .9fr) auto; gap: 8px; align-items: center; margin: 0 0 8px; }
.qa-pull { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 14px; }
.qa-head { margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.modal .qa-setup, .modal #qa-box, .qa-page, .qa-board { grid-column: 1 / -1; }
.qa-board, .qa-page { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; }
.qa-board { margin-top: 8px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.qa-board.placed { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 24px; height: auto; min-height: 1100px; padding: 0; background: transparent; border: 0; border-radius: 0; }
.qa-sheet.placed, .qa-page.placed { position: relative; display: block; width: 100%; height: 1100px; min-height: 1100px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.qa-page.placed { height: 240mm; min-height: 240mm; color: #172033; border-color: #d5deea; }
.qa-page.placed + .qa-page.placed { margin-top: 18px; }
.qa-page.placed .field span, .qa-page.placed .check span, .qa-page.placed .meta, .qa-page.placed .qa-check-title { color: #526070; }
.qa-check-title { display: block; font-size: 12px; font-weight: 650; margin: 0 0 6px; }
.qa-page.placed .check { position: relative; z-index: 2; }
.qa-board.placed .qa-block, .qa-sheet.placed .qa-block, .qa-page.placed .qa-slot { position: absolute; box-sizing: border-box; margin: 0; }
.qa-board.placed .qa-block, .qa-sheet.placed .qa-block { background: #fff; border: 1px dashed #b7c5d4; border-radius: 8px; padding: 28px 8px 8px; z-index: 1; }
.qa-grip { position: absolute; top: 4px; left: 6px; right: 6px; display: flex; gap: 4px; align-items: center; }
.qa-drag, .qa-size { border: 0; background: #0f6b56; color: #fff; border-radius: 6px; padding: 2px 8px; cursor: grab; font: inherit; font-size: 12px; }
.qa-size { margin-left: auto; width: 18px; height: 18px; padding: 0; cursor: nwse-resize; }
.qa-logo-shot, .qa-slot .doc-logo, .qa-block .doc-logo { max-width: 100%; max-height: 42mm; height: auto; display: block; object-fit: contain; }
.qa-photo-shot, .qa-slot .doc-photo, .qa-block .doc-photo, .public .nyhed-photo { max-width: 100%; max-height: none; width: 100%; height: auto; display: block; object-fit: contain; }
.public .nyhed-photo { margin: 8px 0 14px; border-radius: 8px; }
.qa-line, hr.qa-line { display: block; width: 100%; height: 0; margin: 10px 0; border: 0; border-top: 2px solid #172033; background: transparent; }
.qa-block[data-type="linje"] { padding-top: 28px; padding-bottom: 8px; min-height: 0; }
.qa-block, .qa-slot { min-width: 0; }
.qa-block[data-place="fuld"], .qa-slot[data-place="fuld"] { flex: 1 1 100%; }
.qa-block[data-place="venstre"], .qa-block[data-place="hoejre"], .qa-slot[data-place="venstre"], .qa-slot[data-place="hoejre"] { flex: 1 1 calc(50% - 8px); }
.qa-places { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.qa-places .on { background: var(--sea); color: #fff; border-color: var(--sea); }
.qa-copy { margin: 0; white-space: pre-wrap; }
.a4 .qa-page { display: flex; }
.a4 .qa-page.placed { display: block; position: relative; width: 100%; height: 240mm; min-height: 240mm; overflow: hidden; }
.a4 .qa-page.placed + .qa-page.placed { page-break-before: always; break-before: page; margin-top: 10mm; }
.a4 .qa-page.placed .qa-slot .doc-logo, .a4 .qa-page.placed .qa-slot img { max-width: 100%; max-height: 42mm; width: auto; height: auto; object-fit: contain; }
.a4 .qa-page.placed .qa-slot img.doc-photo { max-height: none; width: 100%; }
.a4 .qa-page.placed .qa-slot { overflow: hidden; }
.a4 { width: min(210mm, 100%); margin: 8px auto 16px; background: #fff; color: #172033; padding: 10mm 12mm; box-shadow: 0 14px 34px rgba(23, 32, 51, .08); box-sizing: border-box; }
.a4 h1 { font-family: Georgia, "Palatino Linotype", serif; font-size: 20px; text-align: center; margin: 0 0 8px; }
.a4-brand { margin: 0 0 4px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
@media print {
  .a4 { width: auto; margin: 0; padding: 0; box-shadow: none; }
  .a4-brand, .a4 > h1 { display: none; }
  .a4 .qa-page.placed { height: 269mm; min-height: 269mm; border: 0; border-radius: 0; page-break-after: always; break-after: page; }
  .a4 .qa-page.placed:last-child { page-break-after: auto; break-after: auto; }
  .a4 .qa-page.placed + .qa-page.placed { margin-top: 0; }
}
.qa-mobile .field input, .qa-mobile .field textarea, .qa-mobile .field select, .qa-mobile .check { font-size: 16px; }
.qa-mobile .check { min-height: 44px; display: flex; align-items: center; gap: 10px; }
@media (max-width: 800px) {
  .qa-field, .portal-setup, .portal-setup.portal-slot { grid-template-columns: 1fr; }
  .qa-block[data-place="venstre"], .qa-block[data-place="hoejre"], .qa-slot[data-place="venstre"], .qa-slot[data-place="hoejre"] { flex-basis: 100%; }
  .qa-mobile .qa-page.placed { min-height: 0; height: auto; display: flex; }
  .qa-mobile .qa-page.placed + .qa-page.placed { margin-top: 18px; page-break-before: auto; break-before: auto; }
  .qa-mobile .qa-page.placed .qa-slot { position: static; width: 100% !important; left: auto !important; top: auto !important; }
  .qa-mobile .field input, .qa-mobile .field textarea, .qa-mobile .field select { min-height: 48px; }
}
.app.nav-shut { --sidebar: 76px; }
.app.nav-shut .brand, .app.nav-shut .nav-label, .app.nav-shut .nav a span { display: none; }
.app.nav-shut .nav { display: flex; flex-direction: column; align-items: center; width: 100%; }
.app.nav-shut .nav:has(.layout-pick) { display: flex; }
.app.nav-shut .nav a { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; margin: 4px 0; padding: 0; line-height: 0; }
.app.nav-shut .nav a .nav-ico { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: 0; transform: translate(-50%, -50%); }
.app.nav-shut .sidebar { display: flex; flex-direction: column; align-items: center; padding: 12px 8px; overflow-x: hidden; overflow-y: auto; }
.app.nav-shut .sidebar > .side-head, .app.nav-shut .sidebar > .fold, .app.nav-shut .layout-pick { align-self: stretch; width: 100%; }
.app.nav-shut .side-head { justify-content: center; margin: 0; padding: 0; border: 0; }
.app.nav-shut .fold { margin: 0; width: 100%; }
.rowline { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 0 0 8px; cursor: pointer; font: inherit; color: inherit; text-decoration: none; }
.rowline strong { font-weight: 650; }
.rowline span { color: var(--muted); font-size: 12.5px; white-space: pre-wrap; }
.rowline:hover { border-color: #b7c5d4; }
.rowline.pay-line { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 8px 4px 12px; margin: 0 0 4px; border-radius: 10px; }
.rowline.pay-line > span { color: inherit; font-size: 13.5px; line-height: 1.3; flex: 1 1 auto; min-width: 0; }
.rowline.pay-line > .btn-ghost { flex: none; margin: 0; padding: 4px 10px; }
.visit { margin-bottom: 10px; }
.course-box { margin-top: 8px; }
.course-box h2 { font-size: 16px; margin-bottom: 10px; }
.qa-photo-page { page-break-before: always; break-before: page; }
.qa-photo-title { margin: 0 0 8mm; font-size: 16px; font-weight: 700; text-align: center; }
.qa-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; }
.qa-photo-grid img { width: 100%; height: 62mm; object-fit: contain; background: #f4f7fb; border: 1px solid #d5deea; }
.shots { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.shots img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #eef2f6; }
.modal .shots, .modal .course-box { grid-column: 1 / -1; }
label.btn, label.btn-ghost { display: inline-block; vertical-align: top; }
.filebtn { position: relative; overflow: hidden; display: inline-block; margin: 10px 0 8px; }
.filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
@media (max-width: 900px) {
  .filebtn { overflow: visible; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .filebtn input[type="file"] { position: static; opacity: 1; width: 100%; max-width: none; min-height: 44px; font-size: 16px; }
}
.file-note { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 4px; }
.file-note .filebtn { margin: 0; }
.links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.draw-lock.is-test { cursor: grab; }
.hello-tools { display: flex; align-items: center; gap: 8px; }
.hello-ico { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; padding: 0; position: relative; cursor: pointer; text-decoration: none; }
.hello-ico svg { width: 20px; height: 20px; display: block; }
.hello-ico .swatch { width: 18px; height: 18px; border-radius: 6px; }
.hello-ico .chat-ping { position: absolute; top: -4px; right: -4px; margin: 0; }
.links > .btn, .links > .btn-ghost, .form-actions > .btn, .form-actions > .btn-ghost, .doc-tools > .btn, .doc-tools > .btn-ghost, .doc-tools > .filebtn, .links .filebtn, .form-actions .filebtn, .tpl-head .filebtn, .tpl-box .filebtn, .face-row .filebtn { margin: 0; }
.page-head .links { margin-top: 0; }
.cust-group-side { position: relative; }
.cust-group-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 8; display: grid; gap: 6px; min-width: 220px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.cust-group-menu[hidden] { display: none; }
.cust-group-menu .btn-ghost { width: 100%; justify-content: flex-start; text-align: left; }
.cust-groups { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.week { display: grid; grid-template-columns: 148px repeat(5, minmax(0, 1fr)); gap: 8px; }
.week h3, .who { margin: 0; font-size: 12px; font-weight: 650; color: var(--muted); }
.who { color: var(--ink); padding-top: 8px; }
.slot { min-height: 96px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.block { display: block; width: 100%; text-align: left; margin-top: 4px; border: 0; border-radius: 6px; padding: 5px 6px; background: #eef3f8; font: inherit; font-size: 12px; }
button.block { cursor: pointer; }
.block.order { background: #e5f6ec; }
.block.job { background: #e8f0f8; }
.block.shift { background: transparent; color: var(--muted); }
.block.add { background: transparent; color: var(--sea); font-weight: 700; }
@media (max-width: 1200px) {
  .lanes, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 12px; }
.halves { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.pay-sums { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.pay-sums p { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.pay-sums span { display: block; color: var(--muted); font-size: 12px; font-weight: 650; }
.pay-sums b { display: block; margin-top: 4px; font-size: 22px; }
.score-row { display: grid; gap: 4px; margin: 0 0 12px; }
.score-row strong { font-size: 14px; }
.score-card .stat-n { font-size: 40px; color: var(--sea); }
.meter { display: block; height: 8px; border-radius: 99px; background: #e7eef6; overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8fd0b8, #0f6b56); }
.phone-nav { display: none; }
.app.phone-mode .phone-nav { display: none; }
@media (max-width: 900px) {
  .split, .halves { grid-template-columns: 1fr; }
  .app.phone-mode { grid-template-columns: 1fr; }
  .app.phone-mode .sidebar, .app.phone-mode .filters, .app.phone-mode .filter-board { display: none; }
  .app.phone-mode .phone-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; gap: 4px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(23, 32, 51, .06); }
  .app.phone-mode .phone-nav button { flex: 1; border: 0; background: transparent; border-radius: 12px; padding: 8px 2px; font-size: 11px; font-weight: 650; color: var(--muted); }
  .app.phone-mode .phone-nav button:hover { background: #e7f6f1; color: var(--sea); }
  .app.phone-mode .main { padding-bottom: 108px; }
  .app.phone-mode .links .btn, .app.phone-mode .links .btn-ghost { min-height: 44px; }
}
.phone-menu { display: none; }
@media (max-width: 900px) {
  .phone-menu { display: inline-flex; align-items: center; min-height: 40px; margin-right: 8px; }
  .topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 90; }
  .main { padding-top: 84px; }
  .app .sidebar { display: none; }
  .app.nav-open .sidebar { display: flex; position: fixed; z-index: 80; top: 64px; left: 0; bottom: 0; width: min(300px, 88vw); height: calc(100dvh - 64px); border-radius: 0; }
  .app { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .sidebar, .workspace { border-radius: 0; height: auto; box-shadow: none; }
  .workspace { min-height: 100vh; }
  .sidebar { position: relative; height: auto; }
  .grid-3, .stats, .lanes, .wheel, .public .cards, .week, .modal form, form.card, form.card > .fold-body, .sheet-grid, .call-grid, .rights, .person-facts, .desk-board, .desk-stats { grid-template-columns: 1fr; }
  .desk-stats, .desk-fejl, .desk-board > .desk-portal, .desk-wait { grid-column: auto; grid-row: auto; }
  .doc-page { padding: 28px 18px; min-height: 420px; }
  .linecard { grid-template-columns: 1fr; }
  .linecard .rights { gap: 8px 16px; }
  .linecard label.wide { grid-column: auto; }
  .topbar, .main { padding-left: 14px; padding-right: 14px; }
  .main { padding-top: 84px; padding-bottom: 48px; }
  .modal { top: 76px; width: calc(100vw - 16px); max-height: calc(100vh - 88px); }
}
.layout-pick { position: relative; }
.layout-btn { border: 0; background: white; color: var(--ink); font-weight: 650; border-radius: 999px; padding: 8px 12px; cursor: pointer; box-shadow: 0 8px 20px rgba(23, 32, 51, .05); }
.layout-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 8; width: 292px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; background: white; border-radius: 16px; box-shadow: 0 18px 44px rgba(23, 32, 51, .16); }
.layout-menu[hidden] { display: none; }
.layout-menu button { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #f8fafc; border-radius: 12px; padding: 8px; cursor: pointer; font-weight: 650; text-align: left; }
.layout-menu button[aria-current="true"] { border-color: var(--sea); background: #e7f6f1; }
.swatch { width: 16px; height: 16px; border-radius: 5px; display: inline-block; flex: none; }
.s-skrivebord { background: linear-gradient(135deg, #121826 50%, #eef2f8 50%); }
.s-lys { background: linear-gradient(135deg, #f4f7fb 50%, #1d4e89 50%); }
.s-nat { background: #121820; box-shadow: inset 0 0 0 2px #3dbe8c; }
.s-kompakt { background: repeating-linear-gradient(90deg, #172033 0 3px, #e8eef6 3px 6px); }
.s-bred { background: linear-gradient(90deg, #121826 0 7px, #fff 7px); }
.s-top { background: linear-gradient(#121826 0 6px, #fff 6px); }
.s-kort { background: #d7f3e8; border-radius: 8px; }
.s-linje { background: #fff; box-shadow: inset 0 0 0 2px #111; border-radius: 0; }
.s-varm { background: #8a4b2a; }
.s-signal { background: #2563eb; }
html[data-layout="lys"] { --sea: #1d4e89; background: #f5f7fb; }
html[data-layout="lys"] .app { padding: 0; gap: 0; }
html[data-layout="lys"] .sidebar, html[data-layout="lys"] .workspace { border-radius: 0; height: 100vh; box-shadow: none; }
html[data-layout="lys"] .sidebar { background: #f4f7fb; color: #243044; border-right: 1px solid #e4eaf2; }
html[data-layout="lys"] .workspace, html[data-layout="lys"] .topbar { background: white; }
html[data-layout="lys"] .brand strong, html[data-layout="lys"] .nav a, html[data-layout="lys"] .fold { color: #243044; }
html[data-layout="lys"] .brand span, html[data-layout="lys"] .nav-label { color: #1d4e89; }
html[data-layout="lys"] .nav-label:hover { color: #1d4e89; background: #e7eef8; }
html[data-layout="lys"] .brand strong::before { background: #1d4e89; box-shadow: none; }
html[data-layout="lys"] .nav a:hover { background: #e7eef8; color: #1d4e89; }
html[data-layout="lys"] .nav a[aria-current="page"] { background: #1d4e89; color: white; }
html[data-layout="nat"] { --ink: #e8eef6; --muted: #b7c3d4; --paper: #121820; --card: #1c2430; --line: #2c3848; --line-strong: #3c4a5e; --sea: #3dbe8c; --sea-dark: #0c1118; background: #0c1118; color: #e8eef6; color-scheme: dark; }
html[data-layout="nat"] .workspace, html[data-layout="nat"] .topbar { background: #121820; color: #e8eef6; }
html[data-layout="nat"] .workspace { scrollbar-color: #8eb4d4 #121820; }
html[data-layout="nat"] .workspace::-webkit-scrollbar-track { background: #121820; }
html[data-layout="nat"] .workspace::-webkit-scrollbar-thumb { background: #8eb4d4; border: 2px solid #121820; }
html[data-layout="nat"] .card, html[data-layout="nat"] .stat, html[data-layout="nat"] .modal, html[data-layout="nat"] .filters a, html[data-layout="nat"] .today, html[data-layout="nat"] .layout-btn, html[data-layout="nat"] .search input, html[data-layout="nat"] .btn-ghost, html[data-layout="nat"] .rowline, html[data-layout="nat"] .layout-menu, html[data-layout="nat"] .layout-menu button { background: #1c2430; color: #e8eef6; border-color: #2c3848; }
html[data-layout="nat"] .stat-n, html[data-layout="nat"] h1, html[data-layout="nat"] h2, html[data-layout="nat"] .brand strong { color: #f5f8fc; }
html[data-layout="nat"] .doc-page, html[data-layout="nat"] .doc-page h1, html[data-layout="nat"] .doc-page h2, html[data-layout="nat"] .doc-page h3, html[data-layout="nat"] .doc-page p, html[data-layout="nat"] .doc-page li { background: #fff; color: #172033; }
html[data-layout="nat"] th { background: #18202b; }
html[data-layout="nat"] td { color: #e8eef6; }
html[data-layout="nat"] a { color: #8fd0b8; }
html[data-layout="nat"] .btn { color: #06281c; }
html[data-layout="nat"] input, html[data-layout="nat"] select, html[data-layout="nat"] textarea { background: #121820; color: #e8eef6; }
html[data-layout="nat"] input[type="checkbox"], html[data-layout="nat"] input[type="radio"] { background: #fff; color: #172033; accent-color: #0f6b56; color-scheme: light; }
html[data-layout="nat"] .qa-page.placed input:not([type="checkbox"]):not([type="radio"]), html[data-layout="nat"] .qa-page.placed select, html[data-layout="nat"] .qa-page.placed textarea { background: #fff; color: #172033; }
html[data-layout="nat"] .field .datepair .dato-open { background: #121820; color: #e8eef6; border-color: #3c4a5e; }
html[data-layout="nat"] option { background: #ffffff; color: #172033; }
html[data-layout="nat"] .pick-list { background: #1c2430; color: #e8eef6; border-color: #2c3a4c; }
html[data-layout="nat"] .pick-opt:hover { background: #243140; color: #f5f8fc; }
html[data-layout="nat"] input::placeholder, html[data-layout="nat"] textarea::placeholder { color: #8b98aa; }
html[data-layout="nat"] .modal header, html[data-layout="nat"] .person-menu, html[data-layout="nat"] .sheet, html[data-layout="nat"] .rows, html[data-layout="nat"] .linecard, html[data-layout="nat"] .hits, html[data-layout="nat"] .slot, html[data-layout="nat"] .note, html[data-layout="nat"] .scale span, html[data-layout="nat"] .public, html[data-layout="nat"] .block { background: #1c2430; color: #e8eef6; }
html[data-layout="nat"] .hits a { color: #e8eef6; }
html[data-layout="nat"] .hits span { color: #b7c3d4; }
html[data-layout="nat"] .call { background: #18202b; border-color: #2c3848; }
html[data-layout="nat"] .field span, html[data-layout="nat"] .linecard label span { color: #c5d0de; }
html[data-layout="nat"] .draw-file-menu button:hover { background: #243140; }
html[data-layout="nat"] .layer-picks { background: #243044; color: #f5f8fc; border-color: #8eb4d4; }
html[data-layout="nat"] .layer-pick { color: #f5f8fc; }
html[data-layout="nat"] .linecard .rights .check span { color: #e8eef6; }
html[data-layout="nat"] .btn-ghost:hover, html[data-layout="nat"] tr.click:hover td, html[data-layout="nat"] .hits a:hover, html[data-layout="nat"] .hits button:hover { background: #243140; color: #f5f8fc; }
html[data-layout="nat"] .chip { background: #243140; border-color: #3c4a5e; color: #f5f8fc; }
html[data-layout="nat"] .chip.done { background: #143528; border-color: #1f6b48; color: #d7f6e6; }
html[data-layout="nat"] .pill { background: #243140; color: #e8eef6; }
html[data-layout="nat"] .pill.ok { background: #143528; color: #b7f0d2; }
html[data-layout="nat"] .pill.warn { background: #3a2e14; color: #f3d7a1; }
html[data-layout="nat"] .pill.bad { background: #3a1c1c; color: #f3c0c0; }
html[data-layout="nat"] .nav a[aria-current="page"] { background: #0f6b56; color: white; }
html[data-layout="nat"] .mark-ico { background: #243044; color: #3dbe8c; }
html[data-layout="kompakt"] { font-size: 13px; }
html[data-layout="kompakt"] .app { padding: 8px; gap: 8px; }
html[data-layout="kompakt"] .sidebar, html[data-layout="kompakt"] .workspace { border-radius: 14px; height: calc(100vh - 16px); }
html[data-layout="kompakt"] .stat { min-height: 74px; padding: 10px 12px; border-radius: 12px; }
html[data-layout="kompakt"] .stat-n { font-size: 22px; }
html[data-layout="kompakt"] .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
html[data-layout] .desk-stats { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  html[data-layout] .desk-stats { grid-template-columns: 1fr; }
}
html[data-layout="kompakt"] .card { padding: 10px 12px; border-radius: 12px; margin-bottom: 8px; }
html[data-layout="kompakt"] .main { padding: 2px 12px 36px; }
html[data-layout="kompakt"] .page-head h1 { font-size: 22px; }
html[data-layout="kompakt"] th, html[data-layout="kompakt"] td { padding: 7px 8px; }
html[data-layout="bred"] { --sidebar: 320px; }
html[data-layout="bred"] .main { max-width: 1080px; margin: 0 auto; }
html[data-layout="bred"] .page-head h1 { font-size: 36px; }
html[data-layout="top"] .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; min-height: calc(100vh - 28px); }
html[data-layout="top"] .sidebar { height: auto; width: auto; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; position: sticky; top: 14px; z-index: 6; overflow: visible; }
html[data-layout="top"] .side-head { border: 0; margin: 0; padding: 0; width: 100%; }
html[data-layout="top"] .nav-group { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; padding: 4px 8px; border-radius: 16px; background: rgba(255,255,255,.05); }
html[data-layout="top"] .nav-label { width: auto; margin: 0; }
html[data-layout="top"] .nav:not([hidden]) { display: flex; flex-wrap: wrap; gap: 2px; }
html[data-layout="top"] .nav a { width: auto; }
html[data-layout="top"] .workspace { height: auto; min-height: 70vh; overflow: visible; }
html[data-layout="top"] .topbar { position: static; }
html[data-layout="kort"] { background: radial-gradient(800px 400px at 0 0, #d7f6ea, transparent 60%), #e7f3ee; }
html[data-layout="kort"] .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html[data-layout="kort"] .card, html[data-layout="kort"] .stat, html[data-layout="kort"] .sidebar, html[data-layout="kort"] .workspace { border-radius: 32px; }
html[data-layout="kort"] .main { padding-top: 12px; }
html[data-layout="kort"] .filters a, html[data-layout="kort"] .btn, html[data-layout="kort"] .btn-ghost { border-radius: 999px; padding: 10px 16px; }
html[data-layout="linje"] { --sea: #111111; background: white; }
html[data-layout="linje"] .app { padding: 0; gap: 0; }
html[data-layout="linje"] .sidebar, html[data-layout="linje"] .workspace, html[data-layout="linje"] .card, html[data-layout="linje"] .stat, html[data-layout="linje"] .btn, html[data-layout="linje"] .btn-ghost, html[data-layout="linje"] .filters a, html[data-layout="linje"] .rowline, html[data-layout="linje"] .search input, html[data-layout="linje"] .today, html[data-layout="linje"] .layout-btn { border-radius: 0; box-shadow: none; }
html[data-layout="linje"] .sidebar, html[data-layout="linje"] .workspace { height: 100vh; }
html[data-layout="linje"] .workspace { background: white; border-left: 1px solid #d8dee6; }
html[data-layout="linje"] .card, html[data-layout="linje"] .stat { border: 1px solid #d8dee6; }
html[data-layout="linje"] .nav a[aria-current="page"], html[data-layout="linje"] .btn { background: #111; border-color: #111; color: white; }
html[data-layout="varm"] { --sea: #8a4b2a; --sea-dark: #3d2a22; --sidebar: 280px; background: #f3eadc; }
html[data-layout="varm"] h1, html[data-layout="varm"] h2, html[data-layout="varm"] .public h1 { font-family: Inter, "Segoe UI", sans-serif; font-weight: 650; }
html[data-layout="varm"] .workspace { background: #fbf6ee; }
html[data-layout="varm"] .card, html[data-layout="varm"] .stat, html[data-layout="varm"] .filters a, html[data-layout="varm"] .today, html[data-layout="varm"] .layout-btn { background: #fffaf3; }
html[data-layout="varm"] .nav a[aria-current="page"], html[data-layout="varm"] .btn { background: #8a4b2a; border-color: #8a4b2a; }
html[data-layout="varm"] .brand strong::before { background: #e0b080; }
html[data-layout="signal"] { --sea: #2563eb; --sea-dark: #0b1220; background: #eef2ff; }
html[data-layout="signal"] .workspace { background: #f8faff; }
html[data-layout="signal"] .stat-n { font-size: 40px; color: #1d4ed8; }
html[data-layout="signal"] .page-head h1 { font-size: 40px; }
html[data-layout="signal"] .nav a[aria-current="page"], html[data-layout="signal"] .btn { background: #2563eb; border-color: #2563eb; }
html[data-layout="signal"] .card, html[data-layout="signal"] .stat { background: white; border: 1px solid #dbe4ff; }
html[data-layout="signal"] .topbar { background: #f8faff; }
html[data-layout="signal"] .nav a { color: #dbe4ff; }
html[data-layout="signal"] .nav-label { color: #ffffff; }
html[data-layout="signal"] .nav a:hover, html[data-layout="signal"] .nav-label:hover { background: rgba(37, 99, 235, .28); color: white; }
html[data-layout="signal"] .brand strong::before { background: #2563eb; box-shadow: none; }
html[data-layout="signal"] .sidebar .layout-btn { color: #dbe4ff; border-color: rgba(219, 228, 255, .35); }
html[data-layout="nat"] .sidebar { background: #0c1118; }
html[data-layout="nat"] .nav a { color: #d5dde6; }
html[data-layout="nat"] .nav-label { color: #f5f8fc; }
html[data-layout="nat"] .nav a:hover, html[data-layout="nat"] .nav-label:hover { background: rgba(255,255,255,.08); color: white; }
html[data-layout="nat"] .fold { color: #d5dde6; border-color: rgba(255,255,255,.2); }
html[data-layout="nat"] .sidebar .layout-btn, html[data-layout="nat"] .sidebar .layout-menu, html[data-layout="nat"] .sidebar .layout-menu button { background: #1c2430; color: #e8eef6; border-color: #2c3848; }
html[data-layout="nat"] .meta, html[data-layout="nat"] .empty, html[data-layout="nat"] .lead { color: #b7c3d4; }
html[data-layout="linje"] .sidebar { background: white; color: #111; border-right: 1px solid #111; }
html[data-layout="linje"] .brand strong, html[data-layout="linje"] .nav a, html[data-layout="linje"] .nav-label, html[data-layout="linje"] .fold { color: #111; }
html[data-layout="linje"] .brand strong::before { background: #111; box-shadow: none; }
html[data-layout="linje"] .nav a:hover, html[data-layout="linje"] .nav-label:hover { background: #f2f2f2; color: #111; }
html[data-layout="linje"] .topbar { background: white; }
html[data-layout="linje"] input, html[data-layout="linje"] select, html[data-layout="linje"] textarea, html[data-layout="linje"] .search input, html[data-layout="linje"] .today { background: white; color: #111; border-color: #111; }
html[data-layout="linje"] .sidebar .layout-menu, html[data-layout="linje"] .sidebar .layout-menu button { background: white; color: #111; border-color: #111; }
html[data-layout="varm"] .sidebar { background: #3d2a22; scrollbar-color: #e0b080 #3d2a22; }
html[data-layout="varm"] .sidebar::-webkit-scrollbar-track { background: #3d2a22; }
html[data-layout="varm"] .sidebar::-webkit-scrollbar-thumb { background: #e0b080; border: 2px solid #3d2a22; }
html[data-layout="varm"] .nav a { color: #f6efe6; }
html[data-layout="varm"] .nav-label { color: #f3d7b5; }
html[data-layout="varm"] .nav a:hover, html[data-layout="varm"] .nav-label:hover { background: rgba(224, 176, 128, .18); color: #fffaf3; }
html[data-layout="varm"] .nav a[aria-current="page"] { background: #e0b080; color: #3d2a22; }
html[data-layout="varm"] .btn { background: #8a4b2a; border-color: #8a4b2a; color: white; }
html[data-layout="varm"] .topbar { background: #fbf6ee; }
html[data-layout="varm"] input, html[data-layout="varm"] select, html[data-layout="varm"] textarea { background: #fffaf3; border-color: #e4d3bc; }
html[data-layout="varm"] .sidebar .layout-btn { color: #f6efe6; border-color: rgba(243, 215, 181, .4); }
html[data-layout="varm"] .sidebar .layout-menu, html[data-layout="varm"] .sidebar .layout-menu button { background: #4a3328; color: #f6efe6; border-color: rgba(243, 215, 181, .25); }
html[data-layout="kort"] .sidebar { background: #12382c; }
html[data-layout="kort"] .nav a { color: #d7f3e8; }
html[data-layout="kort"] .nav-label { color: #ffffff; }
html[data-layout="kort"] .nav a[aria-current="page"], html[data-layout="kort"] .btn { background: #1f8a62; border-color: #1f8a62; color: white; }
html[data-layout="kort"] .workspace, html[data-layout="kort"] .topbar { background: #f3faf6; }
html[data-layout="kort"] .card, html[data-layout="kort"] .stat { background: white; }
@media (max-width: 1100px) {
  html[data-layout="kompakt"] .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.filter-board { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.filter-set { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; max-width: 100%; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.filter-set > span { font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 6px; }
.filter-set a { text-decoration: none; color: var(--muted); border-radius: 7px; padding: 5px 9px; font-size: 13px; background: transparent; }
.filter-set a:hover { color: var(--ink); }
.filter-set a[aria-current="page"] { background: var(--sea); color: white; font-weight: 650; }
.stats.live { grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); }
.quiet { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.quiet-label { font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; }
.quiet a { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: inherit; padding: 6px 12px; border-radius: 999px; }
.quiet a:hover { background: #f4f7fb; }
.quiet a span { color: var(--muted); font-size: 13px; }
.quiet a b { font-weight: 650; }
.quiet-note { color: var(--muted); margin: 0 0 16px; }
.lane .lane-links { display: flex; flex-wrap: wrap; gap: 6px; }
.lane .lane-links a { display: inline-flex; align-items: center; gap: 6px; width: auto; border: 0; padding: 5px 10px; border-radius: 999px; background: #f4f7fb; }
.lane .lane-links a strong { color: var(--sea); }
.sidebar .layout-pick { margin: 2px 0 8px; }
.sidebar .layout-btn { width: 100%; text-align: left; background: transparent; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; border-radius: 9px; }
.sidebar .layout-menu { position: static; width: auto; margin-top: 6px; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sidebar .layout-menu button { color: var(--ink); background: transparent; border-color: var(--line); }
html[data-layout="nat"] .sidebar,
html[data-layout="signal"] .sidebar,
html[data-layout="varm"] .sidebar,
html[data-layout="kort"] .sidebar { color: #f4efe8; }
html[data-layout="nat"] .sidebar .layout-btn, html[data-layout="nat"] .sidebar .layout-menu, html[data-layout="nat"] .sidebar .layout-menu button { background: #1c2430; color: #e8eef6; border-color: #2c3848; }
html[data-layout="signal"] .sidebar .layout-btn { color: #dbe4ff; border-color: rgba(219, 228, 255, .35); background: transparent; }
html[data-layout="signal"] .sidebar .layout-menu, html[data-layout="signal"] .sidebar .layout-menu button { background: #121a2b; color: #dbe4ff; border-color: rgba(219, 228, 255, .2); }
html[data-layout="varm"] .sidebar .layout-btn { color: #f6efe6; border-color: rgba(243, 215, 181, .4); background: transparent; }
html[data-layout="varm"] .sidebar .layout-menu, html[data-layout="varm"] .sidebar .layout-menu button { background: #4a3328; color: #f6efe6; border-color: rgba(243, 215, 181, .25); }
html[data-layout="kort"] .sidebar .layout-btn { color: #d7f3e8; border-color: rgba(215, 243, 232, .35); background: transparent; }
html[data-layout="kort"] .sidebar .layout-menu, html[data-layout="kort"] .sidebar .layout-menu button { background: #0e2c22; color: #d7f3e8; border-color: rgba(215, 243, 232, .2); }
.app.nav-shut .layout-btn { text-align: center; padding: 8px 4px; font-size: 11px; }
.app.nav-shut .layout-menu { position: fixed; left: 96px; top: 78px; width: 280px; grid-template-columns: 1fr 1fr; }
html[data-layout="lys"] .sidebar .layout-btn { color: #243044; border-color: #d5deea; background: white; }
html[data-layout="lys"] .sidebar .layout-menu, html[data-layout="lys"] .sidebar .layout-menu button { background: white; color: #243044; }
html[data-layout="nat"] .filter-set { background: #18202b; }
html[data-layout="nat"] .filter-set a, html[data-layout="nat"] .quiet, html[data-layout="nat"] .lane .lane-links a { background: #1c2430; color: #e8eef6; }
html[data-layout="nat"] .filter-set a[aria-current="page"] { background: #0f6b56; color: white; }
html[data-layout="nat"] .quiet a:hover, html[data-layout="nat"] .lane .lane-links a:hover { background: #243140; }
html[data-layout="top"] .sidebar .layout-pick { position: relative; }
html[data-layout="top"] .sidebar .layout-menu { position: absolute; left: 0; top: calc(100% + 8px); width: 292px; grid-template-columns: 1fr 1fr; z-index: 8; }
html[data-layout="varm"] .filter-set, html[data-layout="varm"] .lane .lane-links a { background: #fffaf3; }
html[data-layout="varm"] .filter-board { gap: 10px; }
html[data-layout="varm"] .filter-set { background: #f6ecdf; border: 1px solid #eadcc8; }
html[data-layout="varm"] .filter-set > span { color: #8a6248; }
html[data-layout="varm"] .filter-set a, html[data-layout="varm"] .filters a { background: transparent; color: #6a5344; box-shadow: none; }
html[data-layout="varm"] .filter-set a:hover, html[data-layout="varm"] .filters a:hover { background: #f3e6d4; color: #3d2a22; }
html[data-layout="varm"] .filter-set a[aria-current="page"], html[data-layout="varm"] .filters a[aria-current="page"] { background: #e0b080; color: #3d2a22; }
html[data-layout="varm"] .workspace { background: #fbf6ee; color: #3d2a22; scrollbar-color: #c4a484 #fbf6ee; }
html[data-layout="varm"] .workspace::-webkit-scrollbar-track { background: #fbf6ee; }
html[data-layout="varm"] .workspace::-webkit-scrollbar-thumb { background: #c4a484; border: 2px solid #fbf6ee; }
html[data-layout="varm"] .card, html[data-layout="varm"] .stat, html[data-layout="varm"] .rowline { background: #fffaf3; border: 1px solid #eadcc8; color: #3d2a22; }
html[data-layout="varm"] .page-head h1, html[data-layout="varm"] .card h2 { color: #3d2a22; }
html[data-layout="varm"] .lead, html[data-layout="varm"] .meta, html[data-layout="varm"] .empty { color: #7a6556; }
html[data-layout="varm"] a { color: #8a4b2a; }
html[data-layout="varm"] .btn { background: #e0b080; border-color: #e0b080; color: #3d2a22; }
html[data-layout="varm"] .btn:hover { background: #d7a56e; }
html[data-layout="varm"] .btn-ghost { background: #fffaf3; color: #6a5344; border-color: #e4d3bc; }
html[data-layout="varm"] .btn-ghost:hover { background: #f3e6d4; color: #3d2a22; }
html[data-layout="varm"] .today, html[data-layout="varm"] .search input { background: #fffaf3; color: #3d2a22; border-color: #eadcc8; }
html[data-layout="linje"] .filter-set, html[data-layout="linje"] .quiet, html[data-layout="linje"] .lane .lane-links a, html[data-layout="linje"] .sidebar .layout-btn { border-radius: 0; box-shadow: none; }
.tpl-shot { display: block; max-width: 240px; max-height: 150px; width: auto; object-fit: cover; border-radius: 12px; margin: 8px 0; background: #eef2f6; }
.tpl-head, .tpl-box .links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tpl-boxes { margin: 8px 0 14px; }
.tpl-boxes h3 { font-size: 15px; margin-bottom: 4px; }
.tpl-box { border: 1px solid var(--line); border-radius: 16px; background: #fbfcfe; padding: 12px; margin: 0 0 10px; }
.tpl-box textarea { min-height: 88px; }
.tpl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 10px; }
.tpl-card { background: #f8fafc; border-radius: 16px; padding: 12px; }
.tpl-card .tpl-shot { width: 100%; max-width: none; max-height: 160px; }
.tpl-filled { padding: 8px 0 14px; border-bottom: 1px solid var(--line); }
.tpl-filled:last-child { border-bottom: 0; }
html[data-layout="nat"] .tpl-box, html[data-layout="nat"] .tpl-card { background: #1c2430; }
.modal .tpl-boxes, .modal .tpl-head, .modal .tpl-box { grid-column: 1 / -1; }
.fil-pop { position: fixed; z-index: 40; width: 280px; padding: 8px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(16, 24, 40, .22); }
.fil-pop[hidden], .fil-back[hidden] { display: none; }
.fil-pop img, .fil-pop iframe { display: block; width: 100%; height: 210px; object-fit: contain; background: #101820; border: 0; border-radius: 10px; }
.fil-pop.fil-zoom { left: 50%; top: 50%; right: auto; bottom: auto; width: auto; max-width: 50vw; max-height: 50vh; transform: translate(-50%, -50%); display: block; padding: 0; background: #fff; border: 0; box-shadow: 0 16px 40px rgba(16, 24, 40, .28); }
.fil-pop.fil-zoom .fil-view { min-width: 0; min-height: 0; }
.fil-pop.fil-zoom [data-fil-open] { display: none; }
.fil-pop.fil-zoom img { width: auto; height: auto; max-width: 50vw; max-height: 50vh; object-fit: contain; background: #fff; border-radius: 8px; }
.fil-pop.fil-zoom[hidden] { display: none; }
.fil-pop .btn { width: 100%; margin-top: 8px; }
.fil-back { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 14, 12, .62); }
.fil-box { width: min(960px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; gap: 12px; background: var(--card); color: var(--ink); border-radius: 18px; padding: 16px 16px 18px; box-shadow: 0 24px 60px rgba(16, 24, 40, .28); }
.fil-box.fil-photo { width: min(1200px, calc(100vw - 48px)); }
.fil-box [data-fil-close] { flex: none; }
.fil-box header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fil-box h2 { font-size: 16px; }
.fil-stage { min-height: 0; }
.fil-stage img { display: block; max-width: 100%; max-height: calc(100vh - 150px); margin: 0 auto; object-fit: contain; }
.fil-stage iframe { display: block; width: 100%; height: calc(100vh - 170px); border: 0; border-radius: 12px; background: #fff; }
.ask-back .fil-box { width: min(420px, 100%); }
.ask-back h2 { margin: 0 0 8px; }
.ask-back p { margin: 0 0 16px; }
.ask-back .form-actions { display: flex; justify-content: flex-end; gap: 8px; }
html[data-layout="nat"] .fil-pop, html[data-layout="nat"] .fil-box, html[data-office="nat"] .fil-pop, html[data-office="nat"] .fil-box { background: #1c2430; color: #e8eef6; border-color: #2c3848; }
html[data-layout="varm"] .fil-pop, html[data-layout="varm"] .fil-box, html[data-office="varm"] .fil-pop, html[data-office="varm"] .fil-box { background: #fffaf3; color: #3d2a22; border-color: #eadcc8; }
.talk {
  --talk-bg: #16241c;
  --talk-rail: #101c16;
  --talk-ink: #f4f7f4;
  --talk-muted: #8ea396;
  --talk-line: rgba(255, 255, 255, .08);
  --talk-field: #0e1914;
  --talk-field-line: rgba(255, 255, 255, .14);
  --talk-on: #2c4034;
  --talk-bubble: #101c16;
  --talk-mine: #1d3b30;
  --talk-mark: #24543f;
  --talk-mark-ink: #f4f7f4;
  --talk-act: #d7c39a;
  --talk-focus: #d7c39a;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  height: calc(100dvh - 210px);
  min-height: 520px;
  color: var(--talk-ink);
  background: var(--talk-bg);
  border: 1px solid var(--talk-line);
  border-radius: 22px;
  overflow: hidden;
}
.public .talk.thread, .talk.thread, .talk.list { display: grid; grid-template-columns: 280px minmax(0, 1fr); flex-direction: row; }
.talk-rooms, .talk-main { min-width: 0; min-height: 0; height: 100%; background: transparent; border: 0; border-radius: 0; }
.talk-rooms { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; background: var(--talk-rail); border-right: 1px solid var(--talk-line); overflow: hidden; }
.talk-main { min-width: 0; }
.talk-find, .talk-write textarea, .talk-write input[name="title"], .talk-write input[name="name"] { width: 100%; border: 1px solid var(--talk-field-line); border-radius: 12px; background: var(--talk-field); color: inherit; padding: 10px 12px; font: inherit; font-size: 16px; }
.talk-find::placeholder, .talk-write textarea::placeholder, .talk-write input::placeholder { color: var(--talk-muted); }
.talk-find:focus, .talk-write textarea:focus, .talk-write input:focus { outline: none; border-color: var(--talk-focus); }
.talk-roomlist { display: flex; flex: 1; flex-direction: column; gap: 4px; min-height: 0; overflow: auto; }
.talk-label { margin: 10px 8px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--talk-muted); }
.talk-make { width: 100%; min-height: 40px; border-radius: 12px; }
.talk-roomform { display: flex; flex: none; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--talk-line); }
.talk-roomform-acts { display: flex; gap: 8px; }
.talk-roomform-acts .btn, .talk-roomform-acts .btn-ghost { flex: 1; min-height: 40px; border-radius: 12px; }
.talk-roomform input { width: 100%; border: 1px solid var(--talk-field-line); border-radius: 12px; background: var(--talk-field); color: inherit; padding: 10px 12px; font: inherit; font-size: 15px; }
.talk-roomform .btn { min-height: 40px; border-radius: 12px; }
.talk-rooms .talk-member { width: 100%; justify-content: flex-start; border-radius: 12px; }
.talk-member.on { background: var(--talk-on); }
.talk-roomlist button, .talk-log .talk-hit, .talk button[data-direct] { display: flex; flex-direction: row; align-items: center; gap: 10px; width: 100%; min-width: 0; text-align: left; border: 0; background: transparent; border-radius: 14px; padding: 8px; min-height: 52px; cursor: pointer; color: inherit; font: inherit; }
.talk-log .talk-hit { flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; }
.bubble.talk-found { box-shadow: inset 0 0 0 2px var(--talk-act); }
.talk-roomlist button.on, .talk-roomlist button:hover, .talk button[data-direct]:hover { background: var(--talk-on); }
.talk-tool { margin-top: 4px; }
.talk-mark { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; background: var(--talk-mark); color: var(--talk-mark-ink); font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.talk-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.talk-copy b { font-weight: 650; line-height: 1.25; }
.talk-copy span, .bubble .talk-copy span, .talk-head p { color: var(--talk-muted); font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.talk-main { display: flex; flex-direction: column; height: 100%; max-height: none; overflow: hidden; background: var(--talk-bg); }
.talk-write { flex: none; }
.talk-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--talk-line); }
.talk-head h2 { margin: 0; font-size: 16px; letter-spacing: -0.02em; }
.talk-head p { margin: 2px 0 0; }
.talk-back { display: none; border: 0; background: transparent; color: var(--talk-act); font-weight: 700; cursor: pointer; padding: 0; }
.talk-head button[data-drop-room] { border: 1px solid var(--talk-field-line); background: transparent; color: inherit; border-radius: 10px; padding: 6px 10px; font-weight: 650; cursor: pointer; }
.talk-log { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.talk-log > :first-child { margin-top: auto; }
.talk-log.is-top > :first-child { margin-top: 0; }
.talk-log .empty { color: var(--talk-muted); margin: auto; text-align: center; }
.bubble { max-width: min(78%, 520px); padding: 10px 12px; border-radius: 16px; background: var(--talk-bubble); border: 1px solid var(--talk-line); overflow-wrap: anywhere; }
.bubble:has(.talk-pic) { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 8px 12px; max-width: min(100%, 520px); }
.bubble.mine { margin-left: auto; background: var(--talk-mine); }
.bubble.book { max-width: none; }
.talk-who { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.bubble:has(.talk-pic) .talk-who,
.bubble:has(.talk-pic) .talk-acts,
.bubble:has(.talk-pic) em { flex: 1 1 100%; margin-bottom: 0; }
.bubble p, .bubble em { display: block; margin: 0; }
.bubble em { margin-bottom: 8px; padding: 6px 8px; border-left: 2px solid var(--talk-act); border-radius: 0 8px 8px 0; background: rgba(0, 0, 0, .12); color: var(--talk-muted); font-size: 12px; font-style: normal; }
.bubble p { white-space: pre-wrap; line-height: 1.45; }
.bubble.book a { color: var(--talk-act); font-weight: 650; }
.bubble:has(.talk-pic) p { flex: 1 1 120px; min-width: 0; }
.bubble img.talk-pic { display: block; width: 160px; max-width: 160px; height: auto; max-height: 180px; object-fit: contain; object-position: right top; border-radius: 12px; background: #fff; }
.bubble:has(.talk-pic) .talk-fileline { flex: 0 0 160px; width: 160px; margin: 0 0 0 auto; }
.bubble:has(.talk-pic) .talk-fileline a { display: block; }
.talk-acts { display: flex; gap: 14px; margin-top: 6px; }
.talk-acts button, .talk-reply button, .talk-chips button { border: 0; background: transparent; color: var(--talk-act); font-weight: 650; cursor: pointer; padding: 0; min-height: 28px; }
.talk-file { display: inline-block; margin-top: 8px; color: var(--talk-act); font-weight: 650; }
.talk-fileline { display: block; width: 100%; margin-top: 8px; }
.talk-fileline a { display: block; }
.talk-fileline button { display: inline-flex; align-items: center; justify-content: center; margin-top: 6px; min-height: 32px; padding: 0; border: 0; background: transparent; color: var(--talk-act); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.talk-fileline .talk-file, .talk-fileline img { margin-top: 0; }
.talk-edit, .talk-edit-title { width: 100%; margin-top: 8px; border: 1px solid var(--talk-field-line); border-radius: 10px; background: var(--talk-field); color: inherit; padding: 8px 10px; font: inherit; font-size: 16px; }
.talk-members { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.talk-members p { flex: 1 1 100%; margin: 0; color: var(--talk-muted); font-size: 12px; }
.talk-member { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; border: 1px solid var(--talk-field-line); border-radius: 999px; padding: 4px 10px; color: inherit; font-weight: 650; cursor: pointer; }
.talk-member input { width: 16px; height: 16px; margin: 0; accent-color: var(--talk-act); }
.talk-keep { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 10px; border: 1px solid var(--talk-line); border-radius: 14px; background: var(--talk-rail); }
.talk-keep p { flex: 1 1 100%; margin: 0 0 2px; color: var(--talk-muted); font-size: 12px; }
.talk-keep button { border: 1px solid var(--talk-field-line); background: transparent; color: inherit; border-radius: 999px; padding: 6px 10px; font: inherit; font-weight: 650; cursor: pointer; }
.talk-keep button.on { background: var(--talk-on); border-color: transparent; }
.talk-write { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--talk-line); background: var(--talk-rail); }
.talk-write textarea { flex: 1 1 180px; min-height: 44px; max-height: 120px; resize: none; }
.talk-linkrow { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.talk-linkrow input { flex: 1 1 140px; min-width: 0; border: 1px solid var(--talk-field-line); border-radius: 12px; background: var(--talk-field); color: inherit; padding: 10px 12px; font: inherit; font-size: 16px; }
.talk-linkrow button { border: 1px solid var(--talk-field-line); background: transparent; color: inherit; border-radius: 12px; padding: 0 14px; min-height: 44px; font: inherit; font-weight: 650; cursor: pointer; }
.bubble.book .talk-linkrow { margin-top: 8px; }
.talk-write .btn { min-height: 44px; padding: 0 16px; border-radius: 12px; }
.talk-ico { display: none; }
.talk-clip { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 64px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--talk-field-line); background: transparent; color: inherit; font-weight: 650; cursor: pointer; }
.talk-clip input { position: absolute; left: 0; top: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0.02; font-size: 16px; cursor: pointer; }
form.talk-write[data-kind="besked"] { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 6px; padding: 6px 8px 8px; }
form.talk-write[data-kind="besked"] .talk-reply,
form.talk-write[data-kind="besked"] .talk-chips { flex: 1 1 100%; }
form.talk-write[data-kind="besked"] textarea { flex: 1 1 auto; width: auto; min-width: 0; height: 36px; min-height: 36px; max-height: 72px; margin: 0; padding: 8px 14px; border: 0; border-radius: 18px; }
form.talk-write[data-kind="besked"] .talk-word { display: none; }
form.talk-write[data-kind="besked"] .talk-ico { display: grid; place-items: center; }
form.talk-write[data-kind="besked"] .talk-clip,
form.talk-write[data-kind="besked"] .talk-send { width: 36px; min-width: 36px; max-width: 36px; height: 36px; min-height: 36px; max-height: 36px; padding: 0; flex: 0 0 36px; border: 0; border-radius: 50%; background: transparent; color: var(--talk-ink); }
form.talk-write[data-kind="besked"] .talk-send { background: var(--sea); color: #fff; }
html[data-layout="nat"] form.talk-write[data-kind="besked"] .talk-send { color: #06281c; }
.talk-note:empty { display: none; }
.talk-note { margin: 0; padding: 8px 16px 0; color: #f0b4b4; font-size: 13px; }
.talk-reply, .talk-chips { flex: 1 1 100%; margin: 0; color: var(--talk-muted); font-size: 13px; }
.talk-chips span { display: inline-flex; gap: 6px; align-items: center; margin-right: 8px; padding: 4px 8px; border-radius: 999px; background: var(--talk-on); }
.talk-chips img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.app .talk,
html.indlejret .talk {
  --talk-bg: var(--card);
  --talk-rail: var(--soft);
  --talk-ink: var(--ink);
  --talk-muted: var(--muted);
  --talk-line: var(--line);
  --talk-field: var(--paper);
  --talk-field-line: var(--line-strong);
  --talk-on: #fff;
  --talk-bubble: #f4f6f9;
  --talk-mine: var(--soft-ok);
  --talk-mark: #e7f2ee;
  --talk-mark-ink: var(--sea);
  --talk-act: var(--sea);
  --talk-focus: var(--sea);
  border-radius: 12px;
  box-shadow: var(--shadow);
  height: calc(100dvh - 160px);
}
.app .talk-note,
html.indlejret .talk-note { color: var(--bad); }
.app .bubble em,
html.indlejret .bubble em { background: rgba(16, 24, 40, .04); }
html[data-layout="nat"] .app .talk,
html[data-layout="nat"].indlejret .talk,
html.indlejret[data-office="nat"] .talk {
  --talk-bg: #1c2430;
  --talk-rail: #121820;
  --talk-ink: #e8eef6;
  --talk-muted: #9aa8b8;
  --talk-line: #2c3848;
  --talk-field: #121820;
  --talk-field-line: #3c4a5e;
  --talk-on: #243044;
  --talk-bubble: #121820;
  --talk-mine: #16352c;
  --talk-mark: #243044;
  --talk-mark-ink: #d7f3e8;
  --talk-act: #3dbe8c;
  --talk-focus: #3dbe8c;
}
html[data-layout="varm"] .app .talk,
html.indlejret[data-office="varm"] .talk {
  --talk-bg: #fffaf3;
  --talk-rail: #f6efe6;
  --talk-ink: #3d2a22;
  --talk-muted: #7a6556;
  --talk-line: #eadcc8;
  --talk-field: #fffaf3;
  --talk-field-line: #e4d3bc;
  --talk-on: #f3e6d4;
  --talk-bubble: #fff;
  --talk-mine: #f3e6d4;
  --talk-mark: #f3e6d4;
  --talk-mark-ink: #8a4b2a;
  --talk-act: #8a4b2a;
  --talk-focus: #e0b080;
}
#chat-host { container-type: inline-size; container-name: chat; }
@container chat (max-width: 720px) {
  .talk { height: calc(100dvh - 250px); min-height: 420px; grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .talk { height: calc(100dvh - 250px); min-height: 420px; grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 900px), (max-device-width: 900px) {
  html[data-layout] .app { display: block; min-height: 100vh; padding: 0; gap: 0; }
  html[data-layout] .app .sidebar { display: none; }
  html[data-layout] .app .topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 90; }
  html[data-layout] .app.nav-open::before { content: ""; position: fixed; top: 64px; right: 0; bottom: 0; left: 0; z-index: 70; background: rgba(8, 14, 12, .45); }
  html[data-layout] .app.nav-open .sidebar { display: flex; position: fixed; z-index: 80; top: 64px; left: 0; bottom: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; width: min(320px, 88vw); height: calc(100dvh - 64px); padding: 16px 12px 24px; overflow: auto; border-radius: 0; background: var(--sea-dark); }
  html[data-layout] .app.nav-open .layout-menu { position: static; width: 100%; right: auto; top: auto; }
  html[data-layout] .app .workspace { display: block; width: 100%; min-height: 100vh; height: 100vh; overflow: auto; border: 0; }
  html[data-layout] .app.nav-open.nav-shut .brand,
  html[data-layout] .app.nav-open.nav-shut .brand strong,
  html[data-layout] .app.nav-open.nav-shut .brand span,
  html[data-layout] .app.nav-open.nav-shut .nav a span { display: block; }
  html[data-layout] .app.nav-open.nav-shut .nav-label { display: flex; }
  html[data-layout] .app.nav-open .fold[data-act="toggle-nav"] { display: none; }
  html[data-layout] .app.nav-open .nav-group { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; margin: 0; padding: 0; background: transparent; }
  html[data-layout] .app.nav-open .nav { display: block; width: 100%; }
  html[data-layout] .app.nav-open .nav a { position: static; display: flex; align-items: center; justify-content: flex-start; width: 100%; height: auto; min-height: 44px; margin: 0 0 1px; padding: 8px 10px; line-height: 1.3; }
  html[data-layout] .app.nav-open .nav a .nav-ico { position: static; top: auto; left: auto; width: 18px; height: 18px; margin: 0; transform: none; }
  .phone-menu { display: inline-flex; align-items: center; min-height: 40px; margin-right: 8px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--card); color: var(--ink); font-weight: 650; cursor: pointer; }
  .topbar { height: auto; min-height: 56px; flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .top-title { min-width: 0; flex: 1; }
  .today { display: none; }
  .search { flex: 1 1 100%; max-width: none; }
  .main { padding: 120px 14px 32px; }
  .app.nav-open .nav-close { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 0 0 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 9px; background: transparent; color: inherit; font: inherit; font-weight: 650; cursor: pointer; }
  .app.nav-shut .layout-menu, html[data-layout] .layout-menu { position: static; left: auto; top: auto; width: 100%; }
  .quote-board > .card { position: static; top: auto; }
  .modal header { top: 0; }
  html[data-layout] .app .workspace:has(.staff-frame) { display: flex; flex-direction: column; height: 100dvh; max-height: 100dvh; min-height: 0; overflow: hidden; }
  html[data-layout] .app .workspace:has(.staff-frame) .topbar { flex: none; }
  html[data-layout] .app .workspace:has(.staff-frame) .main { flex: 1 1 auto; height: auto; min-height: 0; overflow: hidden; padding: 0; }
  html[data-layout] .app .staff-frame { display: block; width: 100%; height: 100%; min-height: 0; border: 0; }
  html.phone .talk,
  html.phone .talk.list,
  html.phone .talk.thread { display: flex; flex-direction: column; grid-template-columns: none; width: 100%; max-width: 100%; height: 100%; min-height: 0; overflow: hidden; border: 0; border-radius: 0; }
  html.phone .talk.list .talk-main { display: none; }
  html.phone .talk.thread .talk-rooms { display: none; }
  html.phone .talk.list .talk-rooms,
  html.phone .talk.thread .talk-main { display: flex; flex: 1 1 0; flex-direction: column; width: 100%; height: auto; min-width: 0; min-height: 0; max-height: 100%; overflow: hidden; }
  html.phone .talk-head,
  html.phone .talk-main > .talk-find,
  html.phone .talk-note { flex: 0 0 auto; }
  html.phone .talk-log { flex: 1 1 0; height: auto; min-height: 0; overflow-x: hidden; overflow-y: auto; }
  html.phone .talk-log > :first-child { margin-top: 0; }
  html.phone .bubble,
  html.phone .bubble.book { max-width: min(88%, 420px); flex: 0 0 auto; background: var(--card); color: #1a2332; }
  html.phone .bubble.mine { background: #d9f3e6; color: #143028; }
  html.phone .bubble p,
  html.phone .bubble .talk-who,
  html.phone .bubble .talk-copy,
  html.phone .bubble .talk-copy b,
  html.phone .bubble .talk-copy span { color: inherit; }
  html[data-layout="nat"].phone .bubble { background: #243044; color: #f5f8fc; border-color: #3c4a5e; }
  html[data-layout="nat"].phone .bubble.mine { background: #16352c; color: #f5f8fc; border-color: #1f4a38; }
  html[data-layout="nat"].phone .bubble p,
  html[data-layout="nat"].phone .bubble .talk-who,
  html[data-layout="nat"].phone .bubble .talk-copy,
  html[data-layout="nat"].phone .bubble .talk-copy b,
  html[data-layout="nat"].phone .bubble .talk-copy span { color: #f5f8fc; }
  html[data-layout="nat"].phone .bubble .talk-mark { background: #1f4a38; color: #d7f3e8; }
  html[data-layout="nat"].phone #chat-host .talk,
  html[data-layout="nat"].phone .talk {
    --talk-bg: #121820;
    --talk-rail: #1c2430;
    --talk-ink: #f5f8fc;
    --talk-muted: #c5d4e4;
    --talk-line: #2c3848;
    --talk-field: #121820;
    --talk-field-line: #3c4a5e;
    --talk-on: #243044;
    --talk-bubble: #243044;
    --talk-mine: #16352c;
    --talk-mark: #1f4a38;
    --talk-mark-ink: #d7f3e8;
    --talk-act: #3dbe8c;
    --talk-focus: #3dbe8c;
    color: #f5f8fc;
  }
  html[data-layout="nat"].phone .talk-rooms,
  html[data-layout="nat"].phone .talk-roomlist button,
  html[data-layout="nat"].phone .talk-copy b,
  html[data-layout="nat"].phone .talk-head h2,
  html[data-layout="nat"].phone .talk-find { color: #f5f8fc; }
  html[data-layout="nat"].phone .talk-roomlist button.on,
  html[data-layout="nat"].phone .talk-roomlist button:hover { background: #243044; color: #f5f8fc; }
  html[data-layout="nat"].phone .talk-copy span,
  html[data-layout="nat"].phone .talk-head p,
  html[data-layout="nat"].phone .talk-label { color: #c5d4e4; }
  html[data-layout="nat"].phone .talk-mark { background: #1f4a38; color: #d7f3e8; }
  html.phone:not([data-layout="nat"]) .talk-roomlist button,
  html.phone:not([data-layout="nat"]) .talk-copy b,
  html.phone:not([data-layout="nat"]) .talk-head h2,
  html.phone:not([data-layout="nat"]) .talk-find { color: var(--ink); }
  html.phone .talk.thread .talk-back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px 0 0; font-size: 16px; }
  html.phone .talk-main .talk-find { margin: 0; border: 0; border-bottom: 1px solid var(--talk-line); border-radius: 0; }
  html.phone .talk-write { flex: 0 0 auto; position: relative; z-index: 2; max-height: 42vh; overflow: auto; background: var(--talk-rail); }
  html.phone .talk-write,
  html.phone .talk-linkrow { flex-direction: column; align-items: stretch; }
  html.phone .talk-write textarea,
  html.phone .talk-write input,
  html.phone .talk-linkrow input,
  html.phone .talk-linkrow button,
  html.phone .talk-clip,
  html.phone .talk-write .btn { width: 100%; flex: 0 0 auto; min-width: 0; height: auto; min-height: 44px; max-height: 96px; }
  html.phone form.talk-write[data-kind="besked"] { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 6px; max-height: none; overflow: visible; padding: 6px 8px 8px; background: var(--talk-rail); }
  html.phone form.talk-write[data-kind="besked"] .talk-reply,
  html.phone form.talk-write[data-kind="besked"] .talk-chips { flex: 1 1 100%; }
  html.phone form.talk-write[data-kind="besked"] textarea { flex: 1 1 auto; width: auto; min-width: 0; height: 36px; min-height: 36px; max-height: 72px; margin: 0; padding: 8px 14px; border: 0; border-radius: 18px; }
  html.phone form.talk-write[data-kind="besked"] .talk-word { display: none; }
  html.phone form.talk-write[data-kind="besked"] .talk-ico { display: grid; place-items: center; }
  html.phone form.talk-write[data-kind="besked"] .talk-clip,
  html.phone form.talk-write[data-kind="besked"] .talk-send { width: 36px; min-width: 36px; max-width: 36px; height: 36px; min-height: 36px; max-height: 36px; padding: 0; flex: 0 0 36px; border: 0; border-radius: 50%; background: transparent; color: var(--talk-ink); }
  html.phone form.talk-write[data-kind="besked"] .talk-send { background: var(--sea); color: #fff; }
  html[data-layout="nat"].phone .public.staff .btn,
  html[data-layout="nat"].phone .phone-bar button.on,
  html[data-layout="nat"].phone form.talk-write[data-kind="besked"] .talk-send { color: #06281c; }
  html.phone .talk-acts { display: flex; flex-wrap: wrap; gap: 8px; }
  html.phone .talk-acts button,
  html.phone .talk-fileline button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; }
}
.kunde-kort { height: calc(100dvh - 230px); min-height: 460px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #d4e4ea; box-shadow: 0 8px 24px rgba(16, 24, 40, .06); }
.kunde-kort .leaflet-container { width: 100%; height: 100%; font: inherit; background: #d4e4ea; }
.kort-find { max-width: 420px; }
.kort-hits { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; max-width: 420px; }
.kort-hit { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 10px; padding: 8px 12px; cursor: pointer; font: inherit; }
.kort-hit span { color: var(--muted); font-size: 13px; }
.leaflet-marker-icon.kort-mark { background: none; border: 0; cursor: pointer; }
.leaflet-popup.kort-popup { margin-bottom: 28px; }
.leaflet-popup.kort-popup::after { content: ""; position: absolute; left: 50%; bottom: -46px; width: 48px; height: 46px; transform: translateX(-50%); }
.kort-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(16, 24, 40, .2); }
.kort-popup .leaflet-popup-content { margin: 0; color: #1a2332; }
.kort-popup .leaflet-popup-tip { box-shadow: none; }
.kort-tip { width: 260px; }
.kort-shot { display: block; cursor: pointer; }
.kort-shot img { display: block; width: 100%; height: 132px; object-fit: cover; background: #d4e4ea; }
.kort-tip a.kort-shot { padding: 0; }
.kort-tip .meta { margin: 0; padding: 6px 12px 0; }
.kort-tip-row { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; border: 0; background: transparent; color: #1a2332; font: inherit; padding: 8px 12px; cursor: pointer; }
.kort-tip-row span { color: #5d6b7e; font-size: 13px; }
.kort-tip a { display: block; padding: 0 12px 12px; color: #1f6f5b; font-weight: 700; }
.kort-naal { display: block; filter: drop-shadow(0 2px 2px rgba(16, 24, 40, .35)); }
.kort-pop p { margin: 0 0 8px; color: #1a2332; }
.kort-pop p:last-child { margin-bottom: 0; }
.kort-pop button { margin-top: 4px; border: 0; background: transparent; color: #1f6f5b; font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.leaflet-popup-content { color: #1a2332; }
.kunde-kort .leaflet-bar { border: 0; box-shadow: 0 4px 14px rgba(16, 24, 40, .16); border-radius: 10px; overflow: hidden; }
.kunde-kort .leaflet-bar a { background: #fff; color: #1a2332; border-bottom-color: #e6eaf0; width: 32px; height: 32px; line-height: 32px; }
.kunde-kort .leaflet-bar a:hover { background: #f4f6f9; }
.kunde-kort .leaflet-control-attribution { background: rgba(255, 255, 255, .86); font-size: 11px; }
html[data-layout="nat"] .kunde-kort { border-color: #2c3848; }
.stat-pick { max-width: 360px; }
.stat-table { overflow-x: auto; }
.stat-table tr.on td { font-weight: 650; }
.stat-table tr.on td:first-child { box-shadow: inset 3px 0 var(--sea); }
.stat-bars .bar-row { grid-template-columns: minmax(140px, 260px) minmax(0, 1fr) auto; cursor: pointer; }
.stat-bars .bar-row.on span, .stat-bars .bar-row.on strong { color: var(--sea); }
.stat-table .bar { width: 72px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.quote-board .table-card { overflow-x: auto; }
.quote-groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.quote-period { max-width: 16rem; }
.quote-qty, .quote-days, .quote-money { width: 5.5rem; }
.quote-board > .card { align-self: start; position: sticky; top: 12px; }
.nav-close { display: none; }
.quote-board .field { margin-bottom: 12px; }
.quote-locked { display: inline-block; min-width: 4.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.quote-point .quote-name, .quote-point .quote-blurb { width: 100%; min-width: 14rem; display: block; }
.quote-point .quote-blurb { margin-top: 6px; }
.quote-point .meta { display: block; margin-top: 4px; }
.quote-point .quote-decline { margin-top: 8px; }
.quote-mini { display: none; }
.quote-draft { padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 900px), (max-device-width: 900px) {
  .quote-pick thead { display: none; }
  .quote-pick tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .quote-pick td { border: 0; padding: 0; background: transparent; }
  .quote-pick td.quote-point { flex: 1 1 160px; min-width: 0; }
  .quote-pick td.quote-buy, .quote-pick td.quote-rent, .quote-pick td.quote-split { display: none; }
  .quote-pick .quote-mini { display: block; margin-bottom: 2px; color: var(--muted); font-size: 11px; font-weight: 650; }
  .quote-line-price { display: none; }
}
.quote-draft .quote-blurb { width: 100%; margin: 6px 0; }
.quote-draft .btn-ghost { margin-top: 4px; }
th.quote-buy, td.quote-buy { background: #e7f4ef; }
th.quote-rent, td.quote-rent { background: #eef3fb; }
th.quote-split, td.quote-split { width: 8px; padding: 0; background: transparent; border-left: 2px solid #9aa8bc; border-right: 2px solid #9aa8bc; }
.quote-add > .field, .quote-add .quote-pair, .quote-add h2, .quote-add .form-actions { grid-column: 1 / -1; }
.quote-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-pair.quote-rent-fields { grid-template-columns: 1fr 1fr 1fr; }
.quote-pair + .quote-pair { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
html[data-layout="nat"] th.quote-buy, html[data-layout="nat"] td.quote-buy { background: #16352c; color: #e8eef6; }
html[data-layout="nat"] th.quote-rent, html[data-layout="nat"] td.quote-rent { background: #1a2740; color: #e8eef6; }
html[data-layout="nat"] th.quote-split, html[data-layout="nat"] td.quote-split { background: transparent; border-left-color: #8eb4d4; border-right-color: #8eb4d4; }
