/* =========================================================
   Prozess-Check – App-Styles
   Farbschema & Grundkomponenten übernommen aus markusrieger.de
   ========================================================= */

:root {
  --navy-900: #04121f;
  --navy-800: #071c2e;
  --navy-700: #0b2a42;
  --blue-600: #0a6ea0;
  --blue-500: #0e8fc4;
  --cyan-400: #14a6d9;
  --cyan-300: #4fc3e8;
  --cyan-200: #9fe0f0;
  --ice-100: #eaf7fc;
  --white: #ffffff;
  --ink: #0b1e2e;
  --muted: #526478;
  --border: #e1edf3;

  --good: #2f9e6e;
  --mid: #d99a1f;
  --low: #e07a3f;
  --critical: #d94f4f;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(4, 18, 31, 0.06);
  --shadow-md: 0 10px 30px rgba(4, 18, 31, 0.10);
  --container: 900px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; color: var(--navy-900); }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.1rem; margin-bottom: 0.5em; }

p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1100px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-primary { background: linear-gradient(135deg, var(--cyan-400), var(--blue-600)); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn-ghost { background: transparent; border-color: var(--blue-600); color: var(--blue-600); }
.btn-ghost:hover { background: var(--ice-100); text-decoration: none; }
.btn-ghost-invert { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost-invert:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header / Footer ---------- */
.site-header { background: var(--navy-900); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-logo { border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: var(--white); font-weight: 700; font-size: 1rem; }
.brand-tagline { color: var(--cyan-200); font-size: 0.72rem; letter-spacing: 0.03em; }
.header-nav a { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; margin-left: 20px; }
.header-nav a:hover { color: var(--white); text-decoration: none; }

.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.55); padding: 28px 0; margin-top: 60px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-inner a { color: rgba(255,255,255,0.7); }
.footer-note { width: 100%; font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 6px; }

/* ---------- Sections / eyebrow ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.eyebrow, .section-eyebrow {
  color: var(--cyan-300);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 0.78rem; margin-bottom: 12px;
}
.section-eyebrow { color: var(--blue-600); }
.hero-lead { font-size: 1.05rem; }

.hero-tool {
  background: radial-gradient(circle at 85% 15%, rgba(79,195,232,0.35), transparent 55%),
              linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--blue-600) 100%);
  color: var(--white); padding: 64px 0 50px;
}
.hero-tool h1 { color: var(--white); }
.hero-tool .hero-lead { color: rgba(255,255,255,0.85); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; margin-top: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; color: var(--navy-900); }
.form-hint { font-size: 0.82rem; color: var(--muted); margin-top: 4px; margin-bottom: 0; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=password], .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--white); color: var(--ink); font-family: inherit; font-size: 0.95rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(14,143,196,0.15); }
.form-row-inline { display: flex; align-items: flex-start; gap: 10px; }
.form-row-inline input[type=checkbox] { margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 0.92rem; }
.alert-error { background: #fdeceb; border: 1px solid #f3c6c1; color: #a02f2f; }
.alert-success { background: #eaf9f1; border: 1px solid #bfe8d1; color: #1f7a4d; }
.alert ul { margin: 0; padding-left: 1.1em; }

/* ---------- Likert / Fragebogen ---------- */
.category-block { margin-bottom: 38px; }
.category-title { font-size: 1.05rem; color: var(--blue-600); border-bottom: 2px solid var(--ice-100); padding-bottom: 8px; margin-bottom: 18px; }
.question { margin-bottom: 26px; }
.question-text { font-weight: 600; color: var(--navy-900); margin-bottom: 12px; font-size: 0.98rem; }
.likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.likert label {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 6px; cursor: pointer;
  font-size: 0.78rem; color: var(--muted); text-align: center; transition: border-color .15s, background .15s;
}
.likert input { margin: 0; }
.likert label:hover { border-color: var(--cyan-300); background: var(--ice-100); }
.likert input:checked + span { color: var(--blue-600); font-weight: 700; }
.likert-scale-caption { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 26px; padding: 0 2px; }

/* ---------- Score-Darstellung ---------- */
.overall-score { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.score-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-600)); color: var(--white); flex-shrink: 0;
}
.score-badge strong { font-size: 2rem; line-height: 1; }
.score-badge span { font-size: 0.72rem; opacity: 0.85; }

.category-bars { margin-top: 10px; }
.bar-row { margin-bottom: 18px; }
.bar-row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; gap: 12px; }
.bar-row-head .cat-name { font-weight: 600; color: var(--navy-900); font-size: 0.95rem; }
.bar-track { background: var(--ice-100); border-radius: 999px; height: 12px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.level-good .bar-fill, .badge-good { background: var(--good); }
.level-mid .bar-fill, .badge-mid { background: var(--mid); }
.level-low .bar-fill, .badge-low { background: var(--low); }
.level-critical .bar-fill, .badge-critical { background: var(--critical); }
.level-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: var(--white); }
.level-good .level-badge, .badge-good { background: var(--good); }
.level-mid .level-badge, .badge-mid { background: var(--mid); }
.level-low .level-badge, .badge-low { background: var(--low); }
.level-critical .level-badge, .badge-critical { background: var(--critical); }

.top-potential { background: var(--ice-100); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin: 30px 0; }
.top-potential ol { margin: 10px 0 0; padding-left: 1.3em; }
.top-potential li { margin-bottom: 6px; color: var(--ink); }

.access-link-box { background: var(--ice-100); border: 1px dashed var(--blue-500); border-radius: 10px; padding: 16px 18px; margin: 24px 0; font-size: 0.88rem; word-break: break-all; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.9rem; }
.compare-table th, .compare-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.trend-up { color: var(--good); font-weight: 700; }
.trend-down { color: var(--critical); font-weight: 700; }
.trend-flat { color: var(--muted); }

.assessment-list { width: 100%; border-collapse: collapse; margin-top: 14px; }
.assessment-list th, .assessment-list td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.assessment-list th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* ---------- Kontakt/Auth-Panels ---------- */
.dark-panel { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--white); border-radius: var(--radius); padding: 30px 32px; }
.dark-panel h3 { color: var(--white); }
.dark-panel p { color: rgba(255,255,255,0.75); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Admin-Bereich ---------- */
.inline-form { display: inline; margin: 0; }
.link-button { background: none; border: none; padding: 0; margin-left: 20px; font: inherit; font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85); cursor: pointer; }
.link-button:hover { color: var(--white); }
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 600; font-size: 0.9rem; }
.admin-crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.admin-crumbs span { color: var(--ink); }
.code-box { background: var(--navy-900); color: var(--cyan-200); padding: 16px 18px; border-radius: 10px; font-size: 0.82rem; white-space: pre-wrap; word-break: break-all; user-select: all; }

.kpi-grid { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi-grid li { background: var(--ice-100); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.kpi-grid strong { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--blue-600); }
.kpi-grid span { font-size: 0.82rem; color: var(--muted); }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.tabs { display: inline-flex; background: var(--ice-100); border-radius: 999px; padding: 4px; }
.tab { border: none; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.tab.is-active { background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-sm); }
.search-input { min-width: 260px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; font: inherit; font-size: 0.9rem; }
.search-input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(14,143,196,0.15); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table td { vertical-align: middle; }
.admin-table .num { text-align: center; }
.admin-table .nowrap { white-space: nowrap; }
.admin-table .note-cell { max-width: 260px; color: var(--muted); font-size: 0.85rem; }
.admin-table tr.row-link { cursor: pointer; }
.admin-table tbody tr:hover { background: var(--ice-100); }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--ice-100); color: var(--blue-600); font-weight: 700; }
.admin-table tbody tr:hover .count-badge { background: var(--white); }
.tag { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 999px; background: var(--navy-800); color: var(--cyan-200); vertical-align: middle; }
.pill { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; color: var(--white); }

.meta-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 24px; margin: 18px 0 0; }
.meta-list dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; }
.meta-list dd { margin: 2px 0 0; color: var(--ink); word-break: break-word; }

.answer-block { margin-bottom: 30px; }
.answer-row { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.answer-question { margin: 0; color: var(--ink); font-size: 0.93rem; }
.answer-value { display: flex; align-items: center; gap: 12px; }
.score-dots { display: inline-flex; gap: 5px; }
.score-dots .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ice-100); border: 2px solid var(--border); box-sizing: border-box; }
.score-dots .dot.is-on { background: var(--blue-600); border-color: var(--blue-600); }
.score-dots .dot.is-prev { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--mid); }
.score-text { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.score-text strong { color: var(--ink); }

@media (max-width: 720px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .search-input { min-width: 0; width: 100%; }
  .answer-row { grid-template-columns: 1fr; gap: 8px; }
  .admin-table .hide-sm { display: none; }
  .header-nav a, .link-button { margin-left: 12px; font-size: 0.82rem; }
}

/* ---------- Fragebogen: jede Frage als eigener Kasten ---------- */
.question {
  background: #f5fbfe;
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan-200);
  border-radius: 12px;
  padding: 20px 22px 14px;
  margin-bottom: 16px;
  transition: border-color .2s, background .2s;
}
.question:has(input:checked) { border-left-color: var(--blue-600); background: var(--ice-100); }
.question .likert label { background: var(--white); }
.question .likert label:has(input:checked) { border-color: var(--blue-600); background: var(--white); box-shadow: 0 0 0 2px rgba(10,110,160,0.15); }
.question .likert-scale-caption { margin-top: 8px; }
.category-title { margin-bottom: 14px; }
@media (max-width: 720px) {
  .question { padding: 16px 14px 12px; }
}

/* ---------- Potential-Check (Version 2) ---------- */
.likert-v2 { grid-template-columns: repeat(5, 1fr); }
.likert-v2 label { padding: 10px 6px; justify-content: flex-start; line-height: 1.25; min-height: 64px; }
.likert-v2 label span { font-size: 0.78rem; }
.na-option { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.82rem; color: var(--muted); cursor: pointer; padding: 4px 12px 4px 8px; border-radius: 999px; border: 1px dashed var(--border); background: var(--white); }
.na-option:hover { border-color: var(--cyan-300); }
.na-option:has(input:checked) { border-style: solid; border-color: var(--muted); color: var(--ink); font-weight: 600; }
.question:has(.na-option input:checked) { border-left-color: var(--muted); background: #f6f8fa; }
.question:has(.na-option input:checked) .likert label { opacity: 0.55; }

.progress-sticky { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.96); backdrop-filter: blur(6px); padding: 10px 0 12px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.progress-text { font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.progress-track { height: 6px; background: var(--ice-100); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan-400), var(--blue-600)); transition: width .25s ease; }

.uc-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--ice-100); color: var(--blue-600); white-space: nowrap; }
.uc-tag.effort-low { background: #e6f6ee; color: #1f7a4d; }
.uc-tag.effort-mid { background: #fdf3e1; color: #94650d; }
.uc-tag.effort-high { background: #fde9df; color: #a84a1c; }
.uc-tag.impact { background: var(--navy-800); color: var(--cyan-200); }

.lever-section { margin-top: 30px; }
.lever-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.lever-card { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--blue-600); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.lever-card:first-child { border-left-color: var(--cyan-400); background: linear-gradient(135deg, #f2fbfe, var(--white)); }
.lever-rank { flex: 0 0 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan-400), var(--blue-600)); color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lever-body { flex: 1; min-width: 0; }
.lever-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.lever-head h3 { margin: 4px 0 6px; }
.lever-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lever-tags .tag-sep { display: none; }
.lever-body > p { margin: 4px 0 8px; color: var(--ink); font-size: 0.95rem; }
.lever-reasons { font-size: 0.86rem; color: var(--muted); background: var(--ice-100); border-radius: 8px; padding: 10px 14px; }
.lever-reasons span { font-weight: 700; color: var(--navy-900); }
.lever-reasons ul { margin: 4px 0 0; padding-left: 1.1em; }
.level-na .cat-name { color: var(--muted); }
.level-na .bar-track { background: repeating-linear-gradient(45deg, var(--ice-100), var(--ice-100) 6px, #f6f9fb 6px, #f6f9fb 12px); }
.version-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #eef1f4; color: var(--muted); vertical-align: middle; }
.answer-na { font-size: 0.85rem; color: var(--muted); font-style: italic; }

@media (max-width: 720px) {
  .likert.likert-v2 { grid-template-columns: 1fr; gap: 6px; }
  .likert.likert-v2 label { flex-direction: row; min-height: 0; padding: 10px 12px; text-align: left; gap: 10px; font-size: inherit; }
  .likert.likert-v2 label span { font-size: 0.88rem; }
  .lever-card { padding: 16px; gap: 12px; }
}

/* ---------- Besucherstatistik ---------- */
.period-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--ice-100); border-radius: 999px; padding: 4px; margin: 6px 0 26px; }
.period-switch a { padding: 7px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.period-switch a.is-active { background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-sm); }
.funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.funnel-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.funnel-step.is-goal { border-color: var(--blue-600); box-shadow: 0 0 0 1px var(--blue-600), var(--shadow-sm); }
.funnel-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; color: var(--muted); }
.funnel-step strong { display: block; font-size: 2.2rem; line-height: 1.15; color: var(--navy-900); margin: 4px 0 10px; }
.funnel-bar { height: 8px; background: var(--ice-100); border-radius: 999px; overflow: hidden; }
.funnel-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan-400), var(--blue-600)); border-radius: 999px; }
.funnel-note { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--muted); }
.chart-legend { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.chart-legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 10px; }
.chart-legend .lg:first-child { margin-left: 0; }
.lg-visit, .bar-visit { background: var(--cyan-200); }
.lg-done, .bar-done { background: var(--blue-600); }
.day-chart { display: flex; align-items: flex-end; gap: 3px; height: 200px; padding: 10px 0 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
.day-col { flex: 1 0 10px; display: flex; flex-direction: column; align-items: stretch; height: 100%; min-width: 10px; }
.day-bars { flex: 1; display: flex; align-items: flex-end; gap: 1px; }
.day-bars span { flex: 1; min-height: 0; border-radius: 3px 3px 0 0; }
.day-label { height: 18px; font-size: 0.68rem; color: var(--muted); white-space: nowrap; margin-top: 4px; }
.ref-hosts { list-style: none; padding: 0; margin: 10px 0 0; max-width: 520px; }
.ref-hosts li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.link-gen { margin-top: 48px; background: var(--ice-100); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.link-gen h2 { margin-top: 0; }
.link-out { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.link-out code { flex: 1; min-width: 0; word-break: break-all; font-size: 0.88rem; color: var(--navy-900); }
@media (max-width: 720px) {
  .funnel { grid-template-columns: 1fr; }
  .day-label { font-size: 0.6rem; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: var(--white); }
  .section { padding: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .likert { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .likert label { font-size: 0.68rem; padding: 8px 3px; }
  .overall-score { flex-direction: column; align-items: flex-start; }
}
