/* Bewerbungsportal · Landespolizei Frankfurt a.M. (fiktiv)
   Behoerdlich-serioes, modern aber zurueckhaltend. */
:root {
  --blue-900: #0f2a4f;
  --blue-800: #173c70;
  --blue-700: #1f4e8c;
  --blue-600: #2a62ad;
  --blue-100: #e6eef8;
  --blue-50: #f2f6fb;
  --grey-900: #1d2430;
  --grey-700: #3d4756;
  --grey-500: #6b7686;
  --grey-300: #c9d1dc;
  --grey-200: #dfe5ec;
  --grey-100: #eef1f5;
  --white: #ffffff;
  --green: #22804f;
  --green-bg: #e8f5ee;
  --red: #b3332e;
  --red-bg: #fbecec;
  --amber: #a86b00;
  --amber-bg: #fff6e0;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(15, 42, 79, .06), 0 2px 8px rgba(15, 42, 79, .05);
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--grey-900); background: var(--grey-100); display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { color: var(--blue-700); text-underline-offset: 2px; }
a:hover { color: var(--blue-900); }
h1, h2, h3 { color: var(--blue-900); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.85rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.icon { vertical-align: -0.2em; flex: none; }
.icon-tile { flex: none; display: block; }
:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--grey-500); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }
.prewrap { white-space: pre-wrap; }

/* Kopfbereich */
.topbar { background: var(--blue-900); color: #c9d7ea; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 5px 16px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--grey-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-unit { font-weight: 700; font-size: 1.25rem; color: var(--blue-900); letter-spacing: .01em; }
.brand-sub { color: var(--grey-500); font-size: .95rem; }
.mainnav { background: var(--blue-800); }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mainnav li a { display: flex; align-items: center; gap: 6px; padding: 12px 16px; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; }
.mainnav li a:hover { background: var(--blue-700); }
.mainnav li a.active { border-bottom-color: #f0b429; background: var(--blue-700); }
.mainnav .nav-right { margin-left: auto; }
.nav-toggle, .nav-toggle-label { display: none; }
.badge { background: #f0b429; color: var(--blue-900); border-radius: 999px; padding: 0 7px; font-size: .78rem; font-weight: 700; }

.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 10px; border: 1px solid var(--grey-200); border-radius: 999px; font-weight: 600; color: var(--blue-900); }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary img { border-radius: 50%; }
.user-menu-panel { position: absolute; right: 0; top: calc(100% + 6px); background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 260px; padding: 12px; z-index: 20; display: flex; flex-direction: column; gap: 8px; }
.user-menu-panel a, .link-button { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue-800); font: inherit; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.link-button.danger { color: var(--red); }

/* Inhalt */
.main { padding-top: 28px; padding-bottom: 48px; }
.card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 20px; }
.stack > .card:last-child { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack > .card { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.grid-2 > .card, .grid-3 > .card { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.two-col.wide-left { grid-template-columns: minmax(0, 1fr) 360px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin: 0; display: flex; align-items: center; gap: 10px; }
.page-head p { margin: 4px 0 0; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; }
.breadcrumb { font-size: .9rem; color: var(--grey-500); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: var(--grey-700); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--blue-600); margin-bottom: 6px; }

/* Startseite */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; border-radius: var(--radius); padding: 40px 44px; margin-bottom: 24px; }
.hero h1 { color: #fff; font-size: 2.3rem; }
.hero .lead { color: #dbe6f5; max-width: 640px; }
.hero .eyebrow { color: #f0b429; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero-badge { opacity: .95; }
.tile-link { display: flex; gap: 14px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.tile-link:hover { border-color: var(--blue-600); transform: translateY(-1px); }
.tile-link h3 { margin-bottom: 4px; }
.tile-link p { margin: 0; color: var(--grey-700); font-size: .95rem; }
.position-card .position-head, .position-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.position-head h3, .position-head h1 { margin: 0; }
.position-head h3 a { text-decoration: none; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-steps { padding-left: 1.2em; margin: 0 0 12px; }
.mini-steps li { margin-bottom: 6px; }
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.process li { display: flex; gap: 14px; align-items: center; }
.process li div { display: flex; flex-direction: column; }
.process span { color: var(--grey-700); }
.faq details { margin-bottom: 10px; padding: 0; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--blue-900); }
.faq details p { padding: 0 20px 16px; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue-700); color: #fff; border: 1px solid var(--blue-700); border-radius: var(--radius); padding: 10px 18px; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--blue-800); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-secondary { background: var(--white); color: var(--blue-800); border-color: var(--grey-300); }
.btn-secondary:hover { background: var(--blue-50); color: var(--blue-900); }
.btn-success { background: var(--green); border-color: var(--green); }
.btn-success:hover { background: #1a6940; }
.btn-danger { background: var(--red); border-color: var(--red); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-large { padding: 13px 24px; font-size: 1.08rem; }
.btn-small { padding: 7px 12px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-discord { background: #5865f2; border-color: #5865f2; }
.btn-discord:hover { background: #4752c4; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--grey-300); background: var(--white); border-radius: var(--radius); color: var(--blue-800); cursor: pointer; }
.icon-btn:hover { background: var(--blue-50); }
.icon-btn[disabled] { opacity: .4; cursor: default; }
.inline-forms { display: flex; gap: 6px; justify-content: flex-end; }
.inline-forms form { margin: 0; }

/* Hinweise */
.alert { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; border: 1px solid; }
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--green-bg); border-color: #b7dfc8; color: #165a37; }
.alert-error { background: var(--red-bg); border-color: #efc4c2; color: #7d201c; }
.alert-warning { background: var(--amber-bg); border-color: #f1d79a; color: #6b4600; }
.alert-info { background: var(--blue-50); border-color: #c5d6ec; color: var(--blue-900); }
.notice-card, .error-card { display: flex; gap: 20px; align-items: flex-start; }
.error-card { flex-direction: column; align-items: center; text-align: center; max-width: 640px; margin: 20px auto; color: var(--blue-800); }
.empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px; }

/* Formulare */
.form-card { padding: 28px; }
.form-head { display: flex; gap: 14px; align-items: flex-start; border-bottom: 1px solid var(--grey-200); padding-bottom: 16px; margin-bottom: 20px; }
.form-head h2 { margin-bottom: 2px; }
.form-head p { margin: 0; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; color: var(--grey-900); padding: 0; }
.req { color: var(--red); }
input[type="text"], input[type="search"], input[type="number"], input[type="date"], input[type="datetime-local"], select, textarea {
  width: 100%; font: inherit; color: inherit; background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 10px 12px;
}
textarea { resize: vertical; min-height: 90px; }
input:disabled { background: var(--grey-100); color: var(--grey-700); }
input:focus, select:focus, textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(42, 98, 173, .18); outline: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.field-help { font-size: .88rem; color: var(--grey-500); }
.field-error { font-size: .9rem; color: var(--red); font-weight: 600; }
.char-counter { font-size: .82rem; color: var(--grey-500); text-align: right; margin-top: -2px; }
.radio-row { display: flex; gap: 20px; flex-wrap: wrap; }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input, .radio input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue-700); flex: none; }
.field-check { background: var(--blue-50); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 12px 14px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid var(--grey-200); padding-top: 18px; margin-top: 8px; }
.stack-form .field:last-of-type { margin-bottom: 14px; }
.stack-form .check { margin-bottom: 14px; }
.choice-list { display: grid; gap: 10px; margin-bottom: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; }
.choice:hover { border-color: var(--blue-600); background: var(--blue-50); }
.choice:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-700); }
.choice input { margin-top: 4px; accent-color: var(--blue-700); }
.choice.disabled { background: var(--grey-100); cursor: default; }

/* Schrittanzeige */
.stepper { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 4px; counter-reset: step; overflow-x: auto; }
.stepper li { flex: 1; min-width: 110px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .88rem; color: var(--grey-500); position: relative; padding-top: 2px; }
.stepper li::before { content: ""; position: absolute; top: 16px; left: -50%; right: 50%; height: 3px; background: var(--grey-300); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.current::before { background: var(--blue-700); }
.stepper a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.step-num { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 2px solid var(--grey-300); font-weight: 700; color: var(--grey-500); }
.stepper li.done .step-num { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.stepper li.current .step-num { border-color: var(--blue-700); color: var(--blue-700); box-shadow: 0 0 0 4px var(--blue-100); }
.stepper li.current { color: var(--blue-900); font-weight: 700; }
.stepper li.done { color: var(--blue-800); }

/* Statusleiste */
.statusbar { background: var(--white); border: 1px solid var(--grey-200); border-left: 5px solid var(--blue-700); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 20px; }
.statusbar.is-rejected { border-left-color: var(--red); }
.statusbar.is-withdrawn { border-left-color: var(--grey-500); }
.statusbar-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.statusbar-percent { font-size: 2.2rem; font-weight: 700; color: var(--blue-800); line-height: 1; }
.is-rejected .statusbar-percent { color: var(--red); }
.statusbar-text { font-size: 1.12rem; font-weight: 600; color: var(--grey-900); margin-top: 4px; }
.progress { height: 12px; background: var(--grey-200); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--blue-600), var(--blue-800)); border-radius: 999px; transition: width .6s ease; }
.is-rejected .progress-fill { background: var(--red); }
.is-withdrawn .progress-fill { background: var(--grey-500); }
.progress-small { height: 6px; margin-top: 8px; max-width: 360px; }
.milestones { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.milestones li { display: flex; flex-direction: column; gap: 6px; color: var(--grey-500); font-size: .92rem; }
.milestone-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--grey-300); display: inline-flex; align-items: center; justify-content: center; background: var(--white); color: var(--grey-500); }
.milestones li.reached { color: var(--grey-900); }
.milestones li.reached .milestone-dot { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.is-rejected .milestones li.reached .milestone-dot { background: var(--red); border-color: var(--red); }
.milestones li.current .milestone-dot { box-shadow: 0 0 0 4px var(--blue-100); }
.milestone-label strong { display: block; color: var(--blue-800); }
.milestone-date { font-size: .82rem; color: var(--grey-500); }

.status-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 11px; font-size: .86rem; font-weight: 600; white-space: nowrap; border: 1px solid; }
.tone-primary { background: var(--blue-50); color: var(--blue-800); border-color: #c5d6ec; }
.tone-success { background: var(--green-bg); color: #165a37; border-color: #b7dfc8; }
.tone-danger { background: var(--red-bg); color: #7d201c; border-color: #efc4c2; }
.tone-neutral { background: var(--grey-100); color: var(--grey-700); border-color: var(--grey-300); }

.appointment { display: flex; gap: 16px; align-items: center; border-left: 5px solid var(--green); }
.appointment h2 { margin-bottom: 2px; }
.appointment-date { font-size: 1.25rem; font-weight: 700; color: var(--blue-900); margin: 0 0 4px; }
.small-appointment { padding: 16px; }

.app-card { display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit; margin: 0; }
.app-card:hover { border-color: var(--blue-600); }
.app-card-main { flex: 1; min-width: 0; }
.app-card-title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.app-card-cta { font-weight: 600; color: var(--blue-700); white-space: nowrap; }

/* Zusammenfassung */
.summary { display: grid; gap: 14px; margin-bottom: 18px; }
.summary-section { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 14px 16px; }
.summary-section h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 8px; }
.edit-link { margin-left: auto; font-weight: 400; display: inline-flex; gap: 4px; align-items: center; }
.summary dl, .kv { display: grid; grid-template-columns: minmax(140px, 34%) 1fr; gap: 6px 16px; margin: 0; }
.summary dt, .kv dt { color: var(--grey-500); font-size: .92rem; }
.summary dd, .kv dd { margin: 0; overflow-wrap: anywhere; }
.collapsible summary { cursor: pointer; font-weight: 600; color: var(--blue-900); display: flex; gap: 8px; align-items: center; }
.collapsible[open] summary { margin-bottom: 16px; }

/* Nachrichten */
.messages { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.msg { max-width: 85%; border-radius: 10px; padding: 10px 14px; border: 1px solid var(--grey-200); }
.msg-own { align-self: flex-end; background: var(--blue-50); border-color: #c5d6ec; }
.msg-staff { align-self: flex-start; background: var(--white); }
.msg-meta { font-size: .8rem; color: var(--grey-500); margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.message-form { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.notes { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.notes li { background: var(--amber-bg); border: 1px solid #f1d79a; border-radius: var(--radius); padding: 10px 12px; }

/* Verwaltung */
.area-admin .mainnav { background: var(--blue-900); }
.area-admin .topbar { background: #0a1d38; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--grey-700); box-shadow: var(--shadow); }
.stat:hover { border-color: var(--blue-600); }
.stat div { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.3; }
.stat-num { font-size: 1.6rem; font-weight: 700; color: var(--blue-900); }
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; padding: 16px 18px; }
.filters .field { margin: 0; flex: 1 1 180px; }
.filters .field.grow { flex: 3 1 300px; }
.filters .checks { flex: 0 1 auto; gap: 4px; }
.filters .filter-actions { flex: 0 0 auto; flex-direction: row; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--grey-500); border-bottom: 2px solid var(--grey-200); padding: 8px 10px; }
.table td { border-bottom: 1px solid var(--grey-200); padding: 10px; vertical-align: top; }
.table tr.is-unread td { background: #fffbea; }
.table a { text-decoration: none; }
.actions-col { text-align: right; width: 1%; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #f0b429; vertical-align: middle; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pagination { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 16px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.timeline li { display: flex; gap: 10px; }
.timeline-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.timeline-comment { margin-top: 4px; font-size: .9rem; background: var(--grey-100); border-radius: var(--radius); padding: 6px 10px; }
.role-list { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 14px; }
.role-list legend { font-weight: 700; color: var(--blue-900); padding: 0 6px; }
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; max-height: 260px; overflow-y: auto; }
.role-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-top: 7px; flex: none; }
code { font-size: .82rem; word-break: break-all; }

/* Fusszeile */
.site-footer { background: var(--blue-900); color: #c9d7ea; padding: 28px 0; margin-top: auto; }
.site-footer strong { color: #fff; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; }
.footer-links { display: flex; gap: 18px; }
.footer-note { grid-column: 1 / -1; color: #9fb3cf; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }

/* Responsiv */
@media (max-width: 960px) {
  .two-col, .two-col.wide-left { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 28px 24px; }
  .hero-badge { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .card, .form-card { padding: 18px 16px; }
  .brand-unit { font-size: 1.05rem; }
  .brand .icon-tile { width: 40px; height: 40px; }
  .header-inner { flex-wrap: wrap; }
  .user-menu summary span { display: none; }
  .btn-discord { padding: 8px 12px; font-size: .92rem; }
  .nav-toggle-label { display: flex; align-items: center; gap: 8px; color: #fff; padding: 12px 0; font-weight: 600; cursor: pointer; }
  .mainnav ul { display: none; flex-direction: column; }
  .nav-toggle:checked ~ ul { display: flex; }
  .mainnav .nav-right { margin-left: 0; }
  .milestones { grid-template-columns: 1fr 1fr; }
  .summary dl, .kv { grid-template-columns: 1fr; }
  .summary dd, .kv dd { margin-bottom: 6px; }
  .stepper .step-title { display: none; }
  .stepper li { min-width: 40px; }
  .stepper li.current .step-title { display: block; }
  .form-actions .btn { flex: 1 1 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .msg { max-width: 100%; }
  .topbar-inner { font-size: .75rem; }
}
