/* =============================================================
   MuM — Mensch und Maschine Software SE
   Colors & Typography tokens
   Source: Corporate Design MuM 05/2025
   ============================================================= */

/* ---- Webfont: Open Sans (guideline: "Open Sans, Roboto, Arial") ---- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ---- Webfont: Roboto (fallback per guideline) ---- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* -----------------------------------------------------------
     BRAND COLORS — primary (from Corporate Design guideline)
     ----------------------------------------------------------- */
  --mum-orange:            #FF8A00;   /* MuM-Orange web (#FF8B00 in PDF; #FF8A00 in web chapter — we use the web chapter value) */
  --mum-orange-rgb:        255, 138, 0;
  --mum-grey:              #868686;   /* MuM-Grau web */
  --mum-grey-rgb:          134, 134, 134;

  /* -----------------------------------------------------------
     ORANGE SCALE (guideline: dark + light accent oranges + scales)
     ----------------------------------------------------------- */
  --mum-orange-dark:       #D14D18;   /* "Dunkles Orange" graphic accent */
  --mum-orange-light:      #FEAE4D;   /* "Helles Orange" graphic accent */

  /* tints of primary orange (print: 100/80/50/20 %) */
  --mum-orange-80:         #FFA133;
  --mum-orange-50:         #FFC57F;
  --mum-orange-20:         #FFE8CC;

  /* -----------------------------------------------------------
     GREY SCALE (web graphic greys, from guideline 2.1)
     ----------------------------------------------------------- */
  --mum-grey-100:          #515151;   /* "Textfarbe" — primary body copy */
  --mum-grey-90:           #73716F;   /* "h1 color" — slightly warm charcoal */
  --mum-grey-80:           #878787;   /* "Grafikfarbe" — same family as logo grey */
  --mum-grey-60:           #B2B2B2;
  --mum-grey-40:           #DADADA;
  --mum-grey-20:           #E3E3E4;
  --mum-grey-10:           #F2F2F2;   /* derived, used for subtle fills */
  --mum-white:             #FFFFFF;
  --mum-black:             #000000;

  /* -----------------------------------------------------------
     SEMANTIC FG / BG TOKENS
     ----------------------------------------------------------- */
  --fg-1:                  var(--mum-grey-100);  /* primary text */
  --fg-2:                  var(--mum-grey-90);   /* headings / strong grey */
  --fg-3:                  var(--mum-grey-80);   /* secondary text */
  --fg-muted:              var(--mum-grey-60);   /* captions, timestamps */
  --fg-accent:             var(--mum-orange);    /* h2, h3, links, emphasis */
  --fg-on-orange:          var(--mum-white);
  --fg-on-dark:            var(--mum-white);

  --bg-1:                  var(--mum-white);     /* page / card */
  --bg-2:                  var(--mum-grey-10);   /* subtle section fill */
  --bg-3:                  var(--mum-grey-20);   /* dividers, inputs */
  --bg-accent:             var(--mum-orange);    /* accent fills, orange icon chips */
  --bg-accent-dark:        var(--mum-orange-dark);
  --bg-dark:               var(--mum-grey-100);  /* dark sections */

  --border:                var(--mum-grey-40);
  --border-strong:         var(--mum-grey-60);
  --border-accent:         var(--mum-orange);

  /* Status (derived — not in corporate PDF; kept muted & consistent) */
  --status-success:        #3F9C35;
  --status-warning:        var(--mum-orange-dark);
  --status-error:          #C4262E;
  --status-info:           #2F6FB5;

  /* -----------------------------------------------------------
     TYPOGRAPHY
     Guideline: Print = Helvetica Neue LT Std (+condensed)
                Web / PPT / Word = Open Sans, Roboto, Arial
     Helvetica Neue LT Std is licensed; we default to Open Sans
     on web and keep Helvetica Neue / Helvetica / Arial as
     the local fallback chain.
     ----------------------------------------------------------- */
  --font-sans:
    'Open Sans',
    'Helvetica Neue LT Std',
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;

  --font-sans-condensed:
    'Helvetica Neue LT Std',
    'Helvetica Neue',
    'Arial Narrow',
    'Roboto Condensed',
    Arial,
    sans-serif;

  --font-display: var(--font-sans);   /* same stack, different weight/tracking */
  --font-mono:    'JetBrains Mono', 'Roboto Mono', Menlo, Consolas, monospace;

  /* Weights — aligned with Helvetica Neue LT Std cuts cited in the guideline:
     45 Light, 65 Medium, 75 Bold. Open Sans maps to 300 / 500 / 700 cleanly. */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Type scale (web, rem-based at 16px root) */
  --fs-display-1: 4.25rem;   /* 68 */
  --fs-display-2: 3.25rem;   /* 52 */
  --fs-h1:        2.375rem;  /* 38 */
  --fs-h2:        1.75rem;   /* 28 */
  --fs-h3:        1.375rem;  /* 22 */
  --fs-h4:        1.125rem;  /* 18 */
  --fs-body:      1rem;      /* 16 */
  --fs-body-sm:   0.9375rem; /* 15 */
  --fs-caption:   0.8125rem; /* 13 */
  --fs-micro:     0.6875rem; /* 11 — used for all-caps labels */

  --lh-tight:     1.1;
  --lh-snug:      1.25;
  --lh-normal:    1.5;
  --lh-relaxed:   1.65;

  --tracking-tight:   -0.01em;
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-caps:    0.12em;  /* for the all-caps section labels (e.g. "KENNZAHLEN") */

  /* -----------------------------------------------------------
     RADII — restrained. Photography is always square;
     icon "chips" are full circles; cards are lightly rounded.
     ----------------------------------------------------------- */
  --radius-none:   0;
  --radius-xs:     2px;
  --radius-sm:     4px;
  --radius-md:     6px;
  --radius-lg:     10px;
  --radius-pill:   999px;
  --radius-circle: 50%;

  /* -----------------------------------------------------------
     SPACING — 4px base grid
     ----------------------------------------------------------- */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* -----------------------------------------------------------
     ELEVATION — soft, neutral, minimal. MuM style is flat-ish:
     photography carries depth, UI stays clean.
     ----------------------------------------------------------- */
  --shadow-0:  none;
  --shadow-1:  0 1px 2px rgba(0,0,0,0.04), 0 1px 1px rgba(0,0,0,0.03);
  --shadow-2:  0 2px 6px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-3:  0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-orange: 0 6px 18px rgba(255,138,0,0.28);

  /* Accent underline / emphasis bar (orange rule under H1 is a common MuM motif) */
  --rule-accent: 3px solid var(--mum-orange);
  --rule-subtle: 1px solid var(--border);

  /* Motion — MuM UI is calm, not bouncy. */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-emphasis: cubic-bezier(0.2, 0.0, 0, 1);
  --dur-fast:   120ms;
  --dur-base:   200ms;
  --dur-slow:   320ms;

  /* Layout */
  --container-max:   1200px;
  --container-wide:  1440px;
  --container-text:  680px;
}

/* =============================================================
   BASE / SEMANTIC ELEMENTS
   ============================================================= */
html { color: var(--fg-1); background: var(--bg-1); }

body {
  font-family: var(--font-sans);
  font-size:   var(--fs-body);
  line-height: var(--lh-normal);
  font-weight: var(--fw-regular);
  color:       var(--fg-1);
  background:  var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0 0 var(--space-4) 0;
  line-height: var(--lh-snug);
  font-weight: var(--fw-light);   /* MuM display type is predominantly LIGHT */
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: var(--fs-h1);
  color:     var(--fg-2);         /* #73716F per guideline */
  font-weight: var(--fw-light);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-h2);
  color:     var(--fg-accent);    /* orange per guideline */
  font-weight: var(--fw-regular);
}

h3 {
  font-size: var(--fs-h3);
  color:     var(--fg-accent);    /* orange per guideline */
  font-weight: var(--fw-medium);
}

h4 { font-size: var(--fs-h4); color: var(--fg-2); font-weight: var(--fw-semibold); }
h5 { font-size: var(--fs-body); color: var(--fg-2); font-weight: var(--fw-semibold); }
h6 { font-size: var(--fs-body-sm); color: var(--fg-3); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: var(--tracking-caps); }

p {
  margin: 0 0 var(--space-4) 0;
  color: var(--fg-1);
  line-height: var(--lh-relaxed);
  text-wrap: pretty;
}

small, .caption {
  font-size: var(--fs-caption);
  color: var(--fg-3);
  line-height: var(--lh-normal);
}

.eyebrow, .overline {
  font-size: var(--fs-micro);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg-accent);
}

/* "KENNZAHLEN" / "KOMPETENZEN" section labels — all-caps, wide tracking */
.section-label {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg-2);
}

a {
  color: var(--fg-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard);
}
a:hover  { color: var(--mum-orange-dark); border-bottom-color: currentColor; }
a:active { color: var(--mum-orange-dark); }

code, pre, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}
code { background: var(--bg-2); padding: 0.1em 0.35em; border-radius: var(--radius-xs); color: var(--fg-1); }
pre  { background: var(--bg-2); padding: var(--space-4); border-radius: var(--radius-md); overflow-x: auto; line-height: var(--lh-normal); }

hr {
  border: 0;
  border-top: var(--rule-subtle);
  margin: var(--space-6) 0;
}

/* Orange accent rule: decorative separator under H1s / section heads */
.rule-accent {
  width: 48px;
  height: 3px;
  background: var(--mum-orange);
  border: 0;
  margin: var(--space-3) 0 var(--space-5) 0;
}

::selection { background: var(--mum-orange-50); color: var(--fg-1); }

/* =============================================================
   PAGE-SPECIFIC STYLES — Anmeldeseite
   ============================================================= */
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--mum-grey-10); }
input, select, textarea { font-family: var(--font-sans); }

.page-hero {
  background: var(--mum-grey-100);
  background-image: url('./assets/imagery/orange-cubes-network.jpg');
  background-size: cover;
  background-position: center 40%;
  position: relative;
  padding: 64px 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,25,20,0.82) 0%, rgba(30,25,20,0.55) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; animation: fadeUp 0.5s var(--ease-standard) both; }
.hero-logo { height: 36px; margin-bottom: 40px; display: block; }
.hero-eyebrow {
  font-size: var(--fs-micro);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--mum-orange);
  margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--fw-light);
  color: #fff;
  line-height: var(--lh-tight);
  margin: 0 0 16px;
  letter-spacing: var(--tracking-tight);
}
.hero-title strong { font-weight: var(--fw-semibold); color: var(--mum-orange-light); }
.hero-subtitle {
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: var(--lh-relaxed);
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-caption);
  color: rgba(255,255,255,0.65);
  font-weight: var(--fw-medium);
}
.hero-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mum-orange);
  flex-shrink: 0;
}

.layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

.left-col { display: flex; flex-direction: column; gap: 24px; }

.input-card {
  background: var(--mum-grey-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeUp 0.45s var(--ease-standard) both;
}
.input-card-title {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  color: #fff;
  line-height: var(--lh-snug);
}
.input-card-desc {
  font-size: var(--fs-caption);
  color: rgba(255,255,255,0.72);
  line-height: var(--lh-snug);
  margin-top: 4px;
}
.input-card-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  background: var(--mum-orange);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard);
}
.input-card-btn:hover { background: var(--mum-orange-dark); color: #fff; }

.idea-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30,25,20,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.idea-overlay.visible { display: flex; }
.idea-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  width: 100%;
  max-width: 460px;
  padding: 32px;
  position: relative;
  animation: fadeUp 0.3s var(--ease-standard) both;
  max-height: 90vh;
  overflow-y: auto;
}
.idea-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 0;
}
.idea-close:hover { color: var(--fg-2); }
.idea-modal-head { margin-bottom: 22px; padding-right: 24px; }
.idea-modal-title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--fg-2);
  line-height: 1.2;
}
.idea-modal-sub {
  font-size: var(--fs-caption);
  color: var(--fg-muted);
  margin-top: 6px;
  line-height: var(--lh-snug);
}
.idea-form { display: flex; flex-direction: column; gap: 18px; }
.idea-success { display: none; flex-direction: column; gap: 14px; padding: 8px 0; }
.idea-success.visible { display: flex; }
.idea-form.hidden { display: none; }

.venue-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--mum-grey-20);
  overflow: hidden;
  animation: fadeUp 0.45s var(--ease-standard) both;
}
.venue-map { height: 180px; background: var(--mum-grey-20); }
.venue-body { padding: 18px 24px 20px; }
.venue-eyebrow {
  font-size: var(--fs-micro);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--mum-orange);
  margin-bottom: 6px;
}
.venue-name {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  color: var(--fg-2);
  line-height: var(--lh-snug);
}
.venue-addr {
  font-size: var(--fs-caption);
  color: var(--fg-3);
  line-height: var(--lh-snug);
  margin-top: 4px;
}
.venue-link {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: var(--mum-orange);
  text-decoration: none;
}
.venue-link:hover { color: var(--mum-orange-dark); }

.agenda {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--mum-grey-20);
  overflow: hidden;
  animation: fadeUp 0.45s var(--ease-standard) both;
}
.agenda-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--mum-grey-20);
}
.agenda-eyebrow {
  font-size: var(--fs-micro);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--mum-orange);
  margin-bottom: 6px;
}
.agenda-title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--fg-2);
  margin: 0;
  line-height: 1.2;
}
.agenda-day {
  padding: 18px 24px;
  border-bottom: 1px solid var(--mum-grey-20);
}
.agenda-day:last-child { border-bottom: none; }
.agenda-day-label {
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  color: var(--fg-2);
  margin-bottom: 2px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.agenda-day-label .date {
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  color: var(--mum-orange);
  letter-spacing: 0.02em;
}
.agenda-day-sub {
  font-size: var(--fs-micro);
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.agenda-items { display: flex; flex-direction: column; gap: 9px; }
.agenda-part {
  font-size: var(--fs-micro);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--mum-grey-60);
  margin: 14px 0 8px;
}
.agenda-part:first-child { margin-top: 0; }
.agenda-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: start;
}
.agenda-time {
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  color: var(--mum-orange-dark);
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
  white-space: nowrap;
}
.agenda-desc {
  font-size: var(--fs-caption);
  color: var(--fg-2);
  line-height: var(--lh-snug);
}
.agenda-desc small {
  display: block;
  font-size: var(--fs-micro);
  color: var(--fg-muted);
  margin-top: 1px;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--mum-grey-20);
  overflow: hidden;
  animation: fadeUp 0.45s var(--ease-standard) both;
}
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.16s; }

.card-header {
  padding: 24px 32px 20px;
  border-bottom: 1px solid var(--mum-grey-20);
  display: flex;
  align-items: center;
  gap: 16px;
}
.card-header-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mum-orange);
  color: #fff;
  font-size: 13px;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-header-text {}
.card-title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--fg-2);
  margin: 0;
  line-height: 1.2;
}
.card-desc {
  font-size: var(--fs-caption);
  color: var(--fg-muted);
  margin: 2px 0 0;
}
.card-body { padding: 28px 32px 32px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field-grid .full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: var(--fg-2);
  letter-spacing: 0.02em;
}
.field-label span { color: var(--mum-orange); margin-left: 2px; }
.field-input {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--mum-grey-40);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body-sm);
  color: var(--fg-1);
  background: var(--bg-1);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
  width: 100%;
}
.field-input:focus {
  border-color: var(--mum-orange);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.12);
}
.field-input.error { border-color: var(--status-error); }
.field-input.error:focus { box-shadow: 0 0 0 3px rgba(196,38,46,0.12); }
select.field-input { cursor: pointer; }

.field-error {
  font-size: var(--fs-micro);
  color: var(--status-error);
  font-weight: var(--fw-medium);
  display: none;
}
.field-error.visible { display: block; }

/* Radio / toggle */
.radio-group { display: flex; gap: 12px; }
.radio-opt {
  flex: 1;
  position: relative;
}
.radio-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.radio-opt label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1.5px solid var(--mum-grey-40);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body-sm);
  color: var(--fg-2);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-standard);
  font-weight: var(--fw-medium);
  gap: 8px;
}
.radio-opt input:checked + label {
  border-color: var(--mum-orange);
  background: var(--mum-orange-20);
  color: var(--mum-orange-dark);
  font-weight: var(--fw-semibold);
}
.radio-opt label:hover { border-color: var(--mum-orange-80); }

/* Survey */
.survey-questions { display: flex; flex-direction: column; gap: 28px; }
.survey-q {}
.survey-q-text {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  color: var(--fg-2);
  margin: 0 0 4px;
  line-height: var(--lh-snug);
}
.survey-q-hint {
  font-size: var(--fs-caption);
  color: var(--fg-muted);
  margin: 0 0 12px;
  font-style: italic;
}

.mc-opts { display: flex; flex-direction: column; gap: 8px; }
.mc-opt { position: relative; }
.mc-opt input[type="radio"],
.mc-opt input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.mc-opt label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--mum-grey-40);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body-sm);
  color: var(--fg-1);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-standard);
  line-height: var(--lh-snug);
}
.mc-opt input:checked + label {
  border-color: var(--mum-orange);
  background: var(--mum-orange-20);
  color: var(--mum-orange-dark);
  font-weight: var(--fw-semibold);
}
.mc-opt label:hover { border-color: var(--mum-orange-80); }
.mc-opt-marker {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease-standard);
}
.mc-opt input:checked + label .mc-opt-marker {
  background: var(--mum-orange);
  border-color: var(--mum-orange);
}
.mc-opt-marker::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.mc-opt input:checked + label .mc-opt-marker::after { opacity: 1; }

/* Submit */
.submit-area { display: flex; justify-content: flex-end; padding-top: 8px; }
.btn-primary {
  height: 52px;
  padding: 0 40px;
  background: var(--mum-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard), transform var(--dur-fast);
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--mum-orange-dark); box-shadow: var(--shadow-orange); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { background: var(--mum-grey-60); cursor: not-allowed; box-shadow: none; }

/* Success */
.success-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px;
  gap: 20px;
}
.success-screen.visible { display: flex; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--mum-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  margin-bottom: 8px;
}
.success-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-light);
  color: var(--fg-2);
  margin: 0;
}
.success-sub {
  font-size: var(--fs-body);
  color: var(--fg-3);
  margin: 0;
  max-width: 420px;
  line-height: var(--lh-relaxed);
}

/* Domain-error banner */
.domain-banner {
  background: #fff0f0;
  border: 1.5px solid var(--status-error);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: var(--fs-caption);
  color: var(--status-error);
  font-weight: var(--fw-medium);
  display: none;
}
.domain-banner.visible { display: block; }

/* Header login button */
.header-login-btn {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 2;
  height: 36px;
  padding: 0 18px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-standard);
  letter-spacing: 0.02em;
}
.header-login-btn:hover { background: var(--mum-orange); border-color: var(--mum-orange); }

/* Login modal reuses idea-overlay styling */
.login-form { display: flex; flex-direction: column; gap: 18px; }
.login-error-msg {
  font-size: var(--fs-caption);
  color: var(--status-error);
  font-weight: var(--fw-medium);
  display: none;
}
.login-error-msg.visible { display: block; }

/* Admin view */
.admin-view {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--mum-grey-10);
  z-index: 1100;
  overflow-y: auto;
}
.admin-view.visible { display: block; }
.admin-topbar {
  background: var(--mum-grey-100);
  color: #fff;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 5;
}
.admin-topbar-title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: #fff;
}
.admin-topbar-title small {
  display: block;
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  color: var(--mum-orange-light);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  margin-top: 2px;
}
.admin-logout {
  height: 36px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-standard);
}
.admin-logout:hover { border-color: var(--mum-orange); background: var(--mum-orange); }
.admin-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.admin-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.admin-section-title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--fg-2);
  margin: 0;
}
.admin-section-title .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  margin-left: 10px;
  background: var(--mum-orange);
  color: #fff;
  border-radius: 12px;
  font-size: var(--fs-micro);
  font-weight: var(--fw-bold);
  vertical-align: middle;
}
.admin-export-btn {
  height: 40px;
  padding: 0 20px;
  background: var(--mum-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard);
}
.admin-export-btn:hover { background: var(--mum-orange-dark); }
.admin-export-btn:disabled { background: var(--mum-grey-60); cursor: not-allowed; }
.admin-table-wrap {
  background: #fff;
  border: 1px solid var(--mum-grey-20);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow-x: auto;
}
.admin-table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--fs-caption);
}
.admin-table th {
  background: var(--mum-grey-10);
  color: var(--fg-2);
  font-weight: var(--fw-bold);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1.5px solid var(--mum-grey-20);
  white-space: nowrap;
  position: sticky;
  top: 0;
}
.admin-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--mum-grey-20);
  color: var(--fg-1);
  vertical-align: top;
  line-height: var(--lh-snug);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--mum-orange-10, #fff8f0); }
.admin-table .idea-cell { max-width: 340px; white-space: pre-wrap; }
.admin-empty {
  padding: 40px;
  text-align: center;
  color: var(--fg-muted);
  font-size: var(--fs-body-sm);
}

/* Duplicate-registration notice + "newest only" toggle */
.admin-dupe {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: var(--mum-orange-10, #fff8f0);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
}
.admin-dupe-text {
  margin: 0 0 10px;
  font-size: var(--fs-body-sm);
  color: var(--fg-2);
}
.admin-dupe-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  color: var(--fg-1);
  cursor: pointer;
}
.admin-dupe-toggle input { cursor: pointer; }

/* Progress dots */
.progress-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0 0 8px;
}
.progress-step {
  height: 4px;
  flex: 1;
  background: var(--mum-grey-20);
  border-radius: 2px;
  transition: background 0.3s;
}
.progress-step.done { background: var(--mum-orange); }

/* Footer */
.page-footer {
  border-top: 1px solid var(--mum-grey-20);
  padding: 20px 24px 32px;
  text-align: center;
}
.page-footer a {
  font-size: var(--fs-caption);
  color: var(--fg-muted);
}
.page-footer a:hover { color: var(--mum-orange-dark); }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; gap: 28px; }
  .agenda { position: static; }
}
@media (max-width: 600px) {
  .page-hero { padding: 40px 24px 36px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .full { grid-column: 1; }
  .card-body { padding: 20px; }
  .card-header { padding: 18px 20px 16px; }
  .hero-meta { gap: 16px; }
}
