* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, sans-serif; margin: 0; color: #1a1a1a; background: #fafafa; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1rem; background: #fff; border-bottom: 1px solid #e5e5e5; flex-wrap: wrap; }
.topbar .brand { font-weight: 700; font-size: 1.1rem; color: #1a1a1a; }
.topbar nav { display: flex; gap: 1rem; align-items: center; margin-left: auto; flex-wrap: wrap; }
.topbar .who { color: #666; font-size: 0.85rem; }
.topbar button.link { background: none; border: none; color: #0066cc; cursor: pointer; padding: 0; font: inherit; }
.container { max-width: 720px; margin: 1.5rem auto; padding: 0 1rem; }
.footer { text-align: center; padding: 2rem 1rem; color: #888; }
h1 { font-size: 1.5rem; margin: 0 0 1rem; }
h2 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.card { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 1rem; margin: 0.75rem 0; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.muted { color: #666; font-size: 0.85rem; }
.cta { background: #0066cc; color: #fff; border: none; padding: 0.7rem 1.2rem; border-radius: 6px; font-size: 1rem; cursor: pointer; }
.cta:hover { background: #0052a3; }
.cta.secondary { background: transparent; color: #0066cc; border: 1px solid #0066cc; }
.cta.danger { background: #c62828; color: #fff; }
.cta.danger:hover { background: #a51e1e; }
label { display: block; font-weight: 500; margin: 0.75rem 0 0.25rem; font-size: 0.9rem; }
input[type=text], input[type=number], input[type=email], textarea, select { width: 100%; padding: 0.55rem 0.65rem; border: 1px solid #ccc; border-radius: 5px; font: inherit; font-size: 1rem; background: #fff; }
textarea { min-height: 6rem; resize: vertical; }
.row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 8rem; }
.flash { padding: 0.6rem 0.8rem; border-radius: 6px; margin: 0.75rem 0; font-size: 0.9rem; }
.flash-info { background: #e7f1ff; border: 1px solid #b6d4fe; color: #052c65; }
.flash-success { background: #d1f7d6; border: 1px solid #98e3a0; color: #0f5132; }
.flash-error { background: #ffe2e2; border: 1px solid #ffb0b0; color: #842029; }
.flash-warn { background: #fff4cc; border: 1px solid #e0a000; color: #5a4400; }
.tag { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 10px; font-size: 0.75rem; }
.tag-green { background: #d1f7d6; color: #0f5132; }
.tag-yellow { background: #fff4cc; color: #5a4400; }
.tag-hidden { background: #e5e5e5; color: #666; }
.tag-verified { background: #e7f1ff; color: #052c65; }
.signal-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; vertical-align: middle; margin-right: 0.3rem; }
.signal-dot.green { background: #2e7d32; }
.signal-dot.yellow { background: #f9a825; }
.signal-dot.hidden { background: #9e9e9e; }
.chat-thread { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 1rem; max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.msg { padding: 0.5rem 0.75rem; border-radius: 12px; max-width: 80%; word-wrap: break-word; }
.msg.me { background: #0066cc; color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.msg.them { background: #f0f0f0; color: #1a1a1a; align-self: flex-start; border-bottom-left-radius: 3px; }
.msg.system { align-self: center; background: transparent; color: #666; font-size: 0.85rem; font-style: italic; text-align: center; max-width: 92%; padding: 0.35rem 0.6rem; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; border-radius: 0; }
.msg .meta { font-size: 0.7rem; opacity: 0.8; margin-top: 0.2rem; }
.empty { text-align: center; padding: 2rem 1rem; color: #888; }
.stub { background: #fff4cc; border: 1px solid #e0a000; padding: 0.75rem; border-radius: 6px; margin: 1rem 0; font-size: 0.9rem; }

/* F002 — photo manager + gallery + stream-thumbs.
   Klasser brugt:
     .thumb-strip          — ejer/property/view.php, ejer/property/photos.php
     .photo-card           — ejer/property/photos.php
     .gallery              — koeber/property.php
     .stream-card          — koeber/stream.php
     .stream-thumb-link    — koeber/stream.php
     .stream-thumb         — koeber/stream.php
     .stream-body          — koeber/stream.php
     .stream-score         — koeber/stream.php
     .photo-placeholder    — koeber/stream.php (fallback uden billede)
     .photo-placeholder-text
                           — koeber/stream.php
   v0.6.1 hot-fix: tilfoejes til app.css for at lukke regression hvor
   F003-implementeringen overskrev filen uden disse klasser. */
.thumb-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0; }
.thumb-strip > a, .thumb-strip > .photo-card { display: block; }
.thumb-strip img { display: block; width: 120px; height: 90px; object-fit: cover; border-radius: 4px; border: 1px solid #e5e5e5; background: #f0f0f0; }
.photo-card { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.photo-card form { margin: 0; }
.photo-card .cta.danger { padding: 0.25rem 0.6rem; font-size: 0.8rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.5rem; margin: 0.5rem 0; }
.gallery a { display: block; }
.gallery img { display: block; width: 100%; height: 120px; object-fit: cover; border-radius: 6px; border: 1px solid #e5e5e5; background: #f0f0f0; }
.stream-card { display: flex; gap: 0.75rem; align-items: flex-start; flex-wrap: wrap; }
.stream-thumb-link { flex: 0 0 auto; }
.stream-thumb { display: block; width: 140px; height: 100px; object-fit: cover; border-radius: 6px; border: 1px solid #e5e5e5; background: #f0f0f0; }
.stream-body { flex: 1 1 14rem; min-width: 0; }
.stream-score { float: right; }
.photo-placeholder { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #f4f4f4, #f4f4f4 8px, #ececec 8px, #ececec 16px); color: #888; font-size: 0.75rem; }
.photo-placeholder-text { padding: 0.25rem 0.5rem; }
@media (max-width: 480px) {
    .thumb-strip img { width: 90px; height: 68px; }
    .stream-thumb { width: 96px; height: 72px; }
    .stream-score { float: none; display: block; font-size: 0.8rem; }
    .gallery img { height: 90px; }
}

/* F003 — utility-klasser der erstatter inline style="" attributter
   (CSP style-src 'self' uden 'unsafe-inline'). Prefix 'u-' = utility
   single-purpose; brug som "u-mt-1" eller "u-inline-form". Komponent-
   styles uden u-prefix er semantiske (fx .admin-table).
   Klasser brugt:
     .u-inline-form  — src/Web/Layout.php (logout-form),
                       admin/users.php, admin/moderation.php
     .u-mt-1         — chat/conversation.php (svar-form)
     .u-inline-option
                     — koeber/search-profile.php (checkbox-labels)
     .panel-muted    — ejer/property/view.php (buyer-card-panel)
     .admin-table    — admin/index.php, admin/users.php
     .admin-row      — admin/index.php, admin/users.php
     .mock-picker    — auth/mitid/mock-picker.php (scoped block)
   v0.6.1 hot-fix: samme baggrund som F002 ovenfor. */
.u-inline-form { display: inline; }
.u-mt-1 { margin-top: 1rem; }
.u-inline-option { display: inline-block; margin-right: 1rem; }

.panel-muted { background: #fafafa; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table thead tr { background: #f0f0f0; }
.admin-table th { text-align: left; background: #f0f0f0; padding: 0.4rem 0.5rem; }
.admin-table td { padding: 0.4rem 0.5rem; }
.admin-row { border-top: 1px solid #e5e5e5; }

/* MitID mock-picker — F003 flytter dev-only <style>-blok hertil.
   Reglerne er scoped via .mock-picker saa de ikke laekker til andre
   sider. Mock-picker indlaeser nu /assets/app.css?v=0.6.1, ikke sin
   egen inline-style. */
.mock-picker { font-family: system-ui, -apple-system, sans-serif; max-width: 480px; margin: 2rem auto; padding: 1rem; color: #1a1a1a; }
.mock-picker .warn { background: #fff4cc; border: 2px solid #e0a000; padding: 1rem; border-radius: 8px; margin-bottom: 2rem; }
.mock-picker .warn strong { display: block; font-size: 1.1rem; margin-bottom: 0.5rem; }
.mock-picker h1 { font-size: 1.4rem; }
.mock-picker form { margin: 0; }
.mock-picker .user-btn { display: block; width: 100%; padding: 1rem; margin: 0.5rem 0; border: 1px solid #ccc; border-radius: 6px; background: #fff; text-align: left; cursor: pointer; font-size: 1rem; }
.mock-picker .user-btn:hover, .mock-picker .user-btn:focus { background: #f0f0f0; outline: 2px solid #0066cc; }
.mock-picker .role { color: #666; font-size: 0.85rem; margin-left: 0.5rem; }

/* F008 — udvidet BBR-data + energimaerke. */
.bbr-facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 0.75rem; margin: 0.5rem 0; }
.bbr-facts dt { color: #666; font-weight: 500; font-size: 0.85rem; }
.bbr-facts dd { margin: 0; font-size: 0.9rem; }
.energy-badge { display: inline-block; min-width: 1.6rem; padding: 0.1rem 0.45rem; border-radius: 4px; color: #fff; font-weight: 700; font-size: 0.8rem; text-align: center; }
.energy-badge.energy-A { background: #2e7d32; }
.energy-badge.energy-B { background: #66bb6a; color: #1a1a1a; }
.energy-badge.energy-C { background: #aed581; color: #1a1a1a; }
.energy-badge.energy-D { background: #ffeb3b; color: #1a1a1a; }
.energy-badge.energy-E { background: #ff9800; }
.energy-badge.energy-F { background: #f44336; }
.energy-badge.energy-G { background: #b71c1c; }

/* F009 — favoritter og gemte soegninger. */
.favorite-toggle { background: transparent; border: 1px solid #ccc; color: #888; padding: 0.25rem 0.6rem; border-radius: 4px; cursor: pointer; font-size: 0.95rem; line-height: 1; }
.favorite-toggle:hover { border-color: #f9a825; color: #f9a825; }
.favorite-toggle.favorite-active { color: #f9a825; border-color: #f9a825; background: #fff9e0; }

/* F010 — finansierings-verifikation. */
.tag-finance-verified { background: #d1f7d6; color: #0f5132; border: 1px solid #98e3a0; }

/* F011 — efterspoergsels-insight paa ejer-dashboard. */
.insight-card { background: #f8faff; border: 1px solid #d6e2ff; border-radius: 6px; padding: 0.75rem; margin-top: 0.5rem; }
.insight-card summary { font-weight: 500; cursor: pointer; }
.insight-card summary:hover { color: #0066cc; }
.insight-card[open] summary { margin-bottom: 0.5rem; }
.insight-empty { color: #666; font-style: italic; margin: 0.5rem 0 0; }
.insight-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.5rem; margin: 0.5rem 0; }
.insight-stat { background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; padding: 0.5rem; }
.insight-stat-value { display: block; font-size: 1.4rem; font-weight: 700; color: #0066cc; }
.insight-stat-label { display: block; font-size: 0.78rem; color: #666; margin-top: 0.1rem; }

/* F012 — owner-churn prompt-card. */
.churn-prompt { border-left: 4px solid #f9a825; background: #fff9e0; }
.churn-prompt.churn-variant-meagler { border-left-color: #0066cc; background: #e7f1ff; }
.churn-prompt h3 { margin-top: 0; }

/* F013 — profile-section. */
.profile-section { max-width: 560px; }
.profile-section label { font-weight: normal; margin-top: 0.5rem; }

/* F015 — GDPR consent banner + delete warning */
.consent-banner { font-weight: 500; }
.delete-warning { border-left: 4px solid #c62828; background: #fff5f5; }
.delete-warning ul { margin: 0.5rem 0 0.5rem 1.5rem; }
.delete-warning ul ul { margin-top: 0.25rem; }

/* F016 — fremvisnings-booking. */
.showing-card { background: #f0f7ff; border: 1px solid #b6d4fe; }
.showing-card ul { margin: 0.5rem 0 0.5rem 1.5rem; }
.slot-button { display: block; width: 100%; margin: 0.25rem 0; text-align: left; }

/* F044 — volume-banner (low-match-warning) */
.volume-banner {
    background: #fef9c3;
    border: 1px solid #facc15;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 12px 0 16px 0;
}
.volume-banner.critical {
    background: #fee2e2;
    border-color: #ef4444;
}
.volume-banner h3 { margin: 0 0 6px 0; font-size: 1rem; }
.volume-banner p { margin: 0 0 8px 0; }
.volume-banner .actions { display: flex; gap: 8px; }

/* F037 — fritekst-search-bar */
.search-bar {
    display: flex;
    gap: 8px;
    margin: 12px 0 16px 0;
}
.search-bar input[type="search"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}
.search-bar .results-meta {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* F031 — property stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.stat-card { padding: 16px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; }
.stat-value { font-size: 2rem; font-weight: bold; }
.stat-label { color: #6b7280; font-size: 0.9rem; }
.stats-bar { display: flex; align-items: flex-end; gap: 4px; height: 160px; margin: 16px 0; padding: 8px; border-bottom: 1px solid #d1d5db; }
.stats-day { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.stats-day-bar { width: 100%; background: #3b82f6; min-height: 2px; }
.stats-day-label { font-size: 0.7rem; color: #6b7280; margin-top: 4px; }

/* F021 — case-pipeline UI */
.pipeline-bar { display: flex; gap: 4px; margin: 16px 0; }
.pipeline-step {
    flex: 1; padding: 10px; text-align: center;
    background: #f3f4f6; border-radius: 6px;
    border: 1px solid #e5e7eb; font-size: 0.9rem;
}
.pipeline-step.is-current { background: #dbeafe; border-color: #3b82f6; font-weight: bold; }
.pipeline-step.is-past    { background: #d1fae5; border-color: #10b981; }
.pipeline-step .step-num  { display: block; font-size: 1.2rem; }
.pipeline-step .step-label{ display: block; }

.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.case-grid .card { padding: 16px; }
.parties-list, .activity-log { list-style: none; padding: 0; }
.parties-list li, .activity-log li { padding: 4px 0; border-bottom: 1px solid #f3f4f6; }
.case-confirm .u-checkbox { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; }

/* F020 — meagler-listings */
.meagler-section {
    background: #f0f7ff;
    border: 1px solid #c5d9f1;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0 24px 0;
}
.meagler-section h2 { margin-top: 0; }
.tag-meagler {
    display: inline-block;
    padding: 2px 8px;
    background: #1565c0;
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}
.meagler-card {
    border-left: 4px solid #1565c0;
}
.meagler-card .meagler-company {
    color: #1565c0;
    font-size: 0.85rem;
    font-weight: bold;
}
.data-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.data-table th, .data-table td { padding: 8px; border-bottom: 1px solid #e5e7eb; text-align: left; }
.data-table th { background: #f9fafb; }

/* F031_v2 (CSP fix): bucketed bar-heights — undgår inline style */
.stats-day-bar.pct-0   { height: 2px; }
.stats-day-bar.pct-10  { height: 10%; }
.stats-day-bar.pct-20  { height: 20%; }
.stats-day-bar.pct-30  { height: 30%; }
.stats-day-bar.pct-40  { height: 40%; }
.stats-day-bar.pct-50  { height: 50%; }
.stats-day-bar.pct-60  { height: 60%; }
.stats-day-bar.pct-70  { height: 70%; }
.stats-day-bar.pct-80  { height: 80%; }
.stats-day-bar.pct-90  { height: 90%; }
.stats-day-bar.pct-100 { height: 100%; }

/* F026 — admin markedsindsigt */
.insights-range { display: flex; gap: 8px; align-items: end; margin: 12px 0 16px 0; flex-wrap: wrap; }
.insight-section { margin: 24px 0; padding: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; }
.insight-section h2 { margin-top: 0; }

/* F035 — lokalplans-data */
.local-plans-section { margin-top: 16px; }
.local-plan-list { list-style: none; padding: 0; margin: 0; }
.local-plan-card { padding: 12px 0; border-bottom: 1px solid #f3f4f6; }
.local-plan-card:last-child { border-bottom: none; }
.tag-plan-status {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 6px;
    background: #e5e7eb;
}
.tag-plan-vedtaget { background: #d1fae5; color: #047857; }
.tag-plan-forslag  { background: #fef3c7; color: #b45309; }

/* F022 — lawyer marketplace */
.lawyer-list { display: grid; gap: 12px; margin: 12px 0; }
.lawyer-card { padding: 12px 14px; cursor: pointer; border: 1px solid #e5e7eb; }
.lawyer-card input[type="radio"] { margin-right: 8px; }
.lawyer-card strong { display: inline-block; }

/* F033 — sammenlignelige solgte boliger */
.archive-comparable { margin-top: 16px; }
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-card { padding: 10px 0; border-bottom: 1px solid #f3f4f6; }
.archive-card:last-child { border-bottom: none; }
.archive-filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.archive-filter label { display: flex; flex-direction: column; font-size: 0.875rem; }

/* F032 — user reports */
.report-form textarea { width: 100%; min-height: 120px; }
.report-row { margin: 12px 0; }
.report-resolve { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; margin-top: 8px; }
.report-resolve label { display: flex; flex-direction: column; font-size: 0.875rem; }
.link-report { color: #b45309; }

/* F042 — fraud signals */
.moderation-tabs { display: flex; gap: 16px; border-bottom: 1px solid #e5e7eb; margin-bottom: 16px; }
.moderation-tabs a { padding: 8px 12px; text-decoration: none; color: #4b5563; }
.moderation-tabs a.is-active { border-bottom: 2px solid #2563eb; color: #1d4ed8; font-weight: 600; }
.fraud-signal-card { border-left: 4px solid #9ca3af; }
.fraud-signal-card.severity-high   { border-left-color: #b91c1c; }
.fraud-signal-card.severity-medium { border-left-color: #b45309; }
.fraud-signal-card.severity-low    { border-left-color: #047857; }
.fraud-sev-high   { background: #fee2e2; color: #b91c1c; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }
.fraud-sev-medium { background: #fef3c7; color: #b45309; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }
.fraud-sev-low    { background: #d1fae5; color: #047857; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }
.fraud-payload { background: #f9fafb; padding: 8px; font-size: 0.75rem; overflow-x: auto; border-radius: 4px; }

/* F034 — pref-grid for notification preferences */
.pref-form { display: block; }
.pref-grid { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.pref-grid thead th { text-align: left; padding: 8px 12px; background: #f3f4f6; font-weight: 600; }
.pref-grid thead th:nth-child(2),
.pref-grid thead th:nth-child(3) { text-align: center; width: 100px; }
.pref-grid tbody td { padding: 10px 12px; border-bottom: 1px solid #e5e7eb; }
.pref-grid tbody tr:last-child td { border-bottom: none; }
.pref-cell { text-align: center; }
.pref-toggle { display: inline-block; cursor: pointer; }
.pref-toggle input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* F023 — document-row list */
.document-list { list-style: none; padding: 0; margin: 0; }
.document-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #e5e7eb; }
.document-row:last-child { border-bottom: none; }
.document-row .doc-kind { font-weight: 600; min-width: 140px; }
.document-row .doc-meta { color: #6b7280; font-size: 0.85rem; flex: 1; }
.document-row .doc-actions a { margin-left: 8px; }
.document-upload-form { display: grid; gap: 10px; margin-top: 16px; padding: 16px; background: #f9fafb; border-radius: 6px; }

/* F036 — Boost-funktion */
.boost-badge {
    display: inline-block;
    background: #fbbf24;
    color: #78350f;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 6px;
}
.boost-form .boost-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin: 12px 0;
}
.boost-option {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    text-align: center;
}
.boost-option input[type=radio] { margin-right: 6px; }
.boost-option .boost-price { display: block; color: #0066cc; font-weight: bold; margin-top: 4px; }
.boost-option:has(input:checked) { border-color: #0066cc; background: #eff6ff; }

/* F043 — LOFE graazone-warning banner */
.lofe-warning-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-left: 4px solid #b45309;
    color: #92400e;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 16px 0;
    font-size: 0.95rem;
}
.lofe-warning-banner strong { color: #78350f; }

/* F038 — Email-template editor */
.template-editor {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
}
.template-editor h2 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #1a1a1a;
}
.template-editor h2 small {
    font-weight: normal;
    font-size: 0.85rem;
    margin-left: 8px;
}
.template-editor textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    resize: vertical;
    background: #fafafa;
}
.template-editor textarea:focus {
    outline: none;
    border-color: #0066cc;
    background: #fff;
}
.template-editor button[type="submit"] {
    margin-top: 8px;
}
.template-editor details {
    margin-top: 12px;
    font-size: 0.9rem;
}
.template-editor details summary {
    cursor: pointer;
    color: #0066cc;
}

/* F025 — Admin sagsstyring board */
.case-board {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
}
.case-column {
    flex: 1 1 180px;
    min-width: 220px;
    background: #f7f7f9;
    border-radius: 6px;
    padding: 10px;
}
.case-column h3 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: #333;
}
.case-column-count {
    color: #888;
    font-weight: normal;
    font-size: 0.85rem;
}
.case-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}
.case-card-addr {
    font-weight: 600;
    margin-top: 4px;
}
.case-card-meta {
    color: #666;
    font-size: 0.78rem;
    margin-top: 2px;
}
.case-card-lofe {
    border-color: #c93030;
    background: #fff5f5;
}
.lofe-tag {
    display: inline-block;
    background: #c93030;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}
