/* Klippe-app — base styles
   Visuelle valg er kopieret/destilleret fra docs/klippe-app-prototype.html */

:root {
  --bg: #F7F2E8;
  --bg-paper: #FDFAF2;
  --ink: #2A1F1A;
  --ink-soft: #6B5D52;
  --ink-faint: #A89B8E;
  --line: #E5DCC4;
  --line-soft: #EFE7D2;
  --accent: #B5573D;
  --row-h: 52px;
  --label-w: 130px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(circle at 20% 0%, rgba(184, 97, 119, 0.04), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(91, 124, 153, 0.04), transparent 40%);
  min-height: 100vh;
  padding: 28px 32px 60px;
}

a { color: var(--accent); }

main.day {
  max-width: 1400px;
  margin: 0 auto;
}

/* ---- HEADER ---- */
.day-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  flex-wrap: wrap;
}
.day-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.day-title em {
  font-style: italic;
  color: var(--ink-soft);
}
.day-meta {
  color: var(--ink-soft);
  font-size: 15px;
  font-feature-settings: "tnum";
}
.status-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--ink-soft);
  margin-left: 6px;
  vertical-align: 2px;
}

/* ---- TIMELINE ---- */
.timeline-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 0;
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: 0 1px 0 rgba(42,31,26,0.02), 0 8px 24px -12px rgba(42,31,26,0.06);
}

.timeline {
  position: relative;
  min-width: max-content;
  padding-right: 24px;
}

.time-scale {
  position: relative;
  height: 32px;
  margin-left: var(--label-w);
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  width: var(--track-w);
}
.tick {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 6px;
  background: var(--line);
}
.tick.major {
  height: 10px;
  background: var(--ink-faint);
}
.tick-label {
  position: absolute;
  bottom: 14px;
  transform: translateX(-50%);
  font-size: 12px;
  font-feature-settings: "tnum";
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.bookings {
  position: relative;
}

.booking-row {
  position: relative;
  height: var(--row-h);
  display: flex;
  align-items: center;
}
.booking-row + .booking-row {
  border-top: 1px dashed transparent;
}

.row-label {
  width: var(--label-w);
  flex-shrink: 0;
  padding-left: 24px;
  padding-right: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.row-label .row-note {
  display: block;
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 400;
  margin-top: 1px;
}

.booking-track {
  position: relative;
  flex: 1;
  height: 100%;
  width: var(--track-w);
}

.booking {
  position: absolute;
  top: 8px;
  height: calc(var(--row-h) - 16px);
  border-radius: 7px;
  display: flex;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(42,31,26,0.04),
    0 2px 6px -2px rgba(42,31,26,0.08);
  transition: box-shadow 0.15s, transform 0.1s;
}
.booking.draggable {
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.booking.dragging {
  cursor: grabbing;
  transform: translateY(-2px) rotate(-0.3deg);
  box-shadow:
    0 1px 0 rgba(42,31,26,0.04),
    0 18px 32px -8px rgba(42,31,26,0.22);
  z-index: 10;
  opacity: 0.96;
  transition: none;
}
.booking.conflict-flash {
  animation: conflict-pulse 0.7s ease-out;
}
@keyframes conflict-pulse {
  0%   { outline: 0 solid rgba(193, 60, 44, 0); }
  20%  { outline: 3px solid rgba(193, 60, 44, 0.9); outline-offset: 2px; }
  100% { outline: 0 solid rgba(193, 60, 44, 0); }
}

.seg {
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
}
.seg.active {
  background: var(--c-base, #888);
  color: white;
}
.seg.passive {
  background: var(--c-soft, #ddd);
  color: var(--c-base, #444);
  background-image: repeating-linear-gradient(
    -45deg,
    var(--c-soft) 0,
    var(--c-soft) 6px,
    var(--c-stripe) 6px,
    var(--c-stripe) 12px
  );
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-paper);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:hover { border-color: var(--ink-soft); }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--ink);
  color: var(--bg-paper);
  border-color: var(--ink);
}
.btn.primary:hover { background: var(--accent); border-color: var(--accent); }

.day-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

/* ---- SIGNUP / FORM ---- */
main.signup {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.back-link {
  display: inline-block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
}
.back-link:hover { color: var(--ink); }

.signup-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.signup-subtitle {
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-feature-settings: "tnum";
}
.signup-subtitle em {
  font-style: italic;
  color: var(--ink);
}

.form { display: grid; gap: 18px; }

.field-block {
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.field-hint {
  display: block;
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 4px;
}
input[type="tel"],
input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-paper);
  font: inherit;
  color: var(--ink);
}
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}

.service-options {
  display: grid;
  gap: 8px;
}
.service-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-paper);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.service-option:hover { border-color: var(--ink-soft); }
.service-option:has(input:checked) {
  border-color: var(--accent);
  background: #FCF6EE;
}
.service-option input[type="radio"] {
  accent-color: var(--accent);
}
.service-name { font-weight: 500; }
.service-duration {
  color: var(--ink-faint);
  font-size: 13px;
  font-feature-settings: "tnum";
}

.form-error {
  background: #FBE7E2;
  border: 1px solid #C13C2C;
  color: #8A1F12;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* ---- CONFIRMATION ---- */
.confirmation {
  text-align: center;
  padding: 48px 0;
}
.confirmation-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 12px;
}
.confirmation-body {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 auto 24px;
  max-width: 360px;
}

/* ---- USER BANNER (logget ind) ---- */
.user-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 1px 0 rgba(42,31,26,0.02);
}
.user-banner-name {
  font-weight: 600;
  color: var(--ink);
}
.user-banner-status {
  color: var(--ink-soft);
  font-feature-settings: "tnum";
  flex: 1;
}
.user-banner-logout {
  color: var(--ink-faint);
  font-size: 13px;
  text-decoration: none;
}
.user-banner-logout:hover { color: var(--ink-soft); }

/* ---- "DIN TID"-HIGHLIGHT ---- */
.booking-row.mine .row-label {
  color: var(--ink);
  font-weight: 600;
}
.booking-row.mine .row-label::before {
  content: "👉 ";
  margin-right: 2px;
}
.booking-row.mine .booking {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- PENDING-APPROVAL STYLING ---- */
.booking-row.pending .booking,
.booking-row.pending .seg {
  opacity: 0.55;
}
.row-pending-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--ink-soft);
  margin-left: 4px;
  vertical-align: 1px;
}

/* ---- ADMIN ---- */
main.admin {
  max-width: 800px;
  margin: 0 auto;
}
.admin-header {
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.admin-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.01em;
  margin: 0;
}
.admin-title em {
  font-style: normal;
  color: var(--ink-faint);
  margin: 0 4px;
}

.card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 0 rgba(42,31,26,0.02), 0 8px 24px -12px rgba(42,31,26,0.06);
}
.card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.count-pill {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  vertical-align: 2px;
}

.empty {
  color: var(--ink-faint);
  font-style: italic;
  margin: 4px 0 0;
}

.pending-list, .day-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pending-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.pending-row:first-child { border-top: 0; }

.pending-name {
  font-weight: 500;
  font-size: 15px;
}
.pending-name .meta {
  color: var(--ink-faint);
  font-weight: 400;
  font-size: 13px;
  font-feature-settings: "tnum";
  margin-left: 6px;
}
.pending-detail {
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 2px;
}
.pending-note {
  color: var(--ink-faint);
  font-style: italic;
}

.pending-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.inline-form { display: inline; margin: 0; }

.btn-small {
  padding: 7px 14px;
  font-size: 14px;
}
.btn-quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}
.btn-quiet:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}

.day-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-feature-settings: "tnum";
}
.day-list li:first-child { border-top: 0; }
.day-list li.day-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.day-list .day-info { flex: 1; }
.day-list .meta {
  color: var(--ink-faint);
  font-size: 13px;
  margin-left: 8px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.card-header .card-title { margin: 0; }
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.day-actions-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.day-link-disabled {
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---- SERVICES (admin) ---- */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.service-row {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-row.is-inactive {
  opacity: 0.55;
  background: transparent;
  border-style: dashed;
}
.service-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.service-info { flex: 1; }
.service-name {
  font-weight: 600;
  font-size: 15px;
}
.service-durations {
  color: var(--ink-soft);
  font-size: 13px;
  font-feature-settings: "tnum";
  margin-top: 2px;
}
.service-durations .meta {
  color: var(--ink-faint);
  margin-left: 4px;
}
.service-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.duration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.duration-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.duration-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.duration-grid input[type="number"] {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  text-align: center;
  font-feature-settings: "tnum";
}

/* ---- KØR DAGEN (admin under-dagen view) ---- */
.admin-meta {
  color: var(--ink-soft);
  font-size: 13px;
}
.admin-meta a {
  color: var(--accent);
  text-decoration: none;
}
.admin-meta a:hover { text-decoration: underline; }

.run-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.run-row {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  align-items: center;
  gap: 14px;
}
.run-row.is-done {
  opacity: 0.7;
  background: transparent;
  border-style: dashed;
}
.run-time {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-feature-settings: "tnum";
  color: var(--ink);
}
.run-name {
  font-weight: 600;
  font-size: 15px;
}
.run-service {
  color: var(--ink-faint);
  font-weight: 400;
  font-size: 13px;
  margin-left: 6px;
}
.run-note {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 13px;
  margin-top: 2px;
}
.run-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.state-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}
.state-pending { background: var(--line-soft); color: var(--ink-soft); }
.state-done    { background: #E8F1EA; color: #1B5234; }
.state-no-show { background: #FCF3E1; color: #7A5910; }
.state-cancelled { background: #FBE7E2; color: #8A1F12; }

/* ---- AUDIT-LOG ---- */
.audit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.audit-row {
  background: var(--bg-paper);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
}
.audit-row-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 12px;
}
.audit-name { font-weight: 600; }
.audit-time {
  color: var(--ink-faint);
  font-size: 12px;
  font-feature-settings: "tnum";
}
.audit-detail {
  color: var(--ink-soft);
}
.audit-sent {
  color: var(--accent);
  font-size: 11px;
  margin-left: 8px;
}

/* ---- MINE TIDER ---- */
main.mine {
  max-width: 640px;
  margin: 0 auto;
}
.mine-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.mine-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.01em;
  margin: 0;
}
.mine-meta {
  color: var(--ink-soft);
  font-size: 14px;
}
.mine-meta a { color: var(--ink-faint); margin-left: 4px; }
.mine-meta a:hover { color: var(--ink-soft); }

.mine-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 18px;
  margin: 20px 0 12px;
}
.mine-section-past { color: var(--ink-soft); margin-top: 36px; }

.mine-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.mine-list-past { opacity: 0.7; }

.mine-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: grid;
  gap: 10px;
}
.mine-card.is-past {
  background: transparent;
  border-style: dashed;
}
.mine-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.mine-card-when {
  font-weight: 600;
}
.mine-card-when a {
  color: var(--ink);
  text-decoration: none;
}
.mine-card-when a:hover {
  text-decoration: underline;
}
.mine-card-when .meta {
  color: var(--ink-faint);
  font-weight: 400;
  margin-left: 6px;
  font-size: 13px;
}
.mine-card-status {
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  font-feature-settings: "tnum";
}

.mine-note-form { display: grid; gap: 6px; }
.mine-note-form textarea { font-size: 13px; }
.mine-note-form button {
  justify-self: end;
}

.mine-note-readonly {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 13px;
  margin: 0;
}

.mine-cancel-form { justify-self: end; }
.btn-cancel {
  background: transparent;
  border-color: #C13C2C;
  color: #8A1F12;
}
.btn-cancel:hover {
  background: #FBE7E2;
  border-color: #C13C2C;
}

.user-banner-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
}
.user-banner-link:hover { text-decoration: underline; }
.user-banner-admin {
  background: var(--accent);
  color: var(--bg-paper);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.user-banner-admin:hover {
  background: var(--ink);
  text-decoration: none;
}

/* ---- LOCK-PREVIEW ---- */
.lock-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.lock-stat {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
}
.lock-stat-num {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.lock-stat-label {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.lock-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 18px;
  margin: 28px 0 12px;
}

.lock-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.lock-row {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}
.lock-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.lock-row-name {
  font-weight: 600;
  font-size: 14px;
}
.lock-row-meta {
  color: var(--ink-faint);
  font-size: 12px;
  font-feature-settings: "tnum";
}
.lock-row-text {
  font-size: 13px;
  color: var(--ink-soft);
  white-space: pre-wrap;
  word-break: break-word;
}

.lock-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ---- SHARE-PREVIEW ---- */
.share-preview {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 14px 0 18px;
  box-shadow: 0 1px 0 rgba(42,31,26,0.02);
}
.share-text {
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.share-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-hint {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.2s;
}
.share-hint.visible { opacity: 1; }

.unplaced-tag {
  display: inline-block;
  background: var(--accent-soft, #E8B5A3);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: 1px;
}

.flash {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}
.flash-ok {
  background: #E8F1EA;
  border: 1px solid #2d7a4f;
  color: #1B5234;
}
.flash-error {
  background: #FBE7E2;
  border: 1px solid #C13C2C;
  color: #8A1F12;
}

/* ---- SYSTEM / ROOT-side ---- */
.system {
  max-width: 640px;
  margin: 4rem auto;
}
.system h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  margin-bottom: 0.5rem;
}
.system .ok { color: #2d7a4f; }
.system code {
  background: var(--line-soft);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}
.system .day-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.system .day-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.system .meta {
  color: var(--ink-faint);
  font-size: 13px;
}
