/* ── Variables ── */
:root {
  --green: #2e7d32;
  --green-mid: #388e3c;
  --green-light: #e8f5e9;
  --green-lighter: #f1f8f1;
  --green-accent: #43a047;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --bg: #f4f6f4;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --radius: 16px;
  --radius-sm: 10px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 40px;
}

/* ── Wrapper ── */
.app-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.header-titles h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.header-titles p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.btn-reset {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  flex-shrink: 0;
}
.btn-reset:hover { border-color: var(--green); color: var(--green); }
.reset-icon { font-size: 1rem; }

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 14px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
}
.stat-icon {
  width: 42px;
  height: 42px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.stat-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Main Card ── */
.main-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
}

/* ── Semaine courante ── */
.current-week-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--green-lighter);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
}
.current-week-icon { font-size: 1rem; }

/* ── Table Header ── */
.table-header {
  display: grid;
  grid-template-columns: 108px 1fr 1fr 84px 68px 82px 44px;
  align-items: center;
  padding: 10px 16px 10px 20px;
  background: var(--green-lighter);
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  gap: 8px;
}
.col-travel, .col-duration, .col-total { text-align: center; }

/* ── Day Row ── */
.day-row {
  display: grid;
  grid-template-columns: 108px 1fr 1fr 84px 68px 82px 44px;
  align-items: center;
  padding: 13px 16px 13px 20px;
  border-bottom: 1px solid var(--border);
  gap: 8px;
  transition: background 0.15s;
}
.day-row:last-child { border-bottom: none; }
.day-row:hover { background: var(--green-lighter); }
.day-row.has-hours { background: #fafff9; }
.day-row.skipped { background: #fdf5f5; }
.day-row.skipped:hover { background: #faeaea; }

/* Skipped row content */
.skip-row-msg {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-style: italic;
  color: #ef4444;
}
.muted-dash {
  color: #d1d5db !important;
  font-weight: 400 !important;
  text-align: center;
}

/* ── Skip button ── */
.btn-skip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s;
  padding: 0;
  position: relative;
  justify-self: center;
}
.btn-skip::before, .btn-skip::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 1.5px;
  background: #c0c8c0;
  border-radius: 2px;
  transition: background 0.18s;
}
.btn-skip::before { transform: rotate(45deg); }
.btn-skip::after  { transform: rotate(-45deg); }

.btn-skip:hover { border-color: #fca5a5; background: #fff5f5; }
.btn-skip:hover::before,
.btn-skip:hover::after { background: #ef4444; }

.btn-skip.active { border-color: #ef4444; background: #ef4444; }
.btn-skip.active::before,
.btn-skip.active::after { background: #fff; }
.btn-skip.active:hover { background: #dc2626; border-color: #dc2626; }

/* Mobile skip badge */
.skip-badge-mobile {
  font-size: 0.7rem;
  font-weight: 600;
  color: #ef4444;
  background: #fee2e2;
  padding: 2px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Disabled times on skip */
.day-row-times.disabled { opacity: 0.3; pointer-events: none; }

/* Mobile top right group */
.day-row-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.day-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
}
.day-name-text { transition: color 0.2s, text-decoration 0.2s; }
.skipped-text {
  text-decoration: line-through;
  color: var(--text-muted);
}
.day-icon {
  font-size: 1rem;
  width: 22px;
  text-align: center;
}

/* ── Time display button (in rows) ── */
.time-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
  letter-spacing: 0.03em;
}
.time-display.empty { color: #bbb; font-weight: 400; }
.time-display:hover { border-color: var(--green-accent); background: var(--green-lighter); }
.time-display:focus { outline: none; border-color: var(--green); }

/* ── iOS Drum Picker ── */
.ios-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.ios-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.ios-sheet {
  width: 100%;
  background: #f2f2f7;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.ios-overlay.open .ios-sheet {
  transform: translateY(0);
}

/* Header */
.ios-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: white;
  border-bottom: 1px solid #e0e0e0;
}
.ios-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.ios-cancel, .ios-ok {
  background: none;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 2px;
}
.ios-cancel { color: #8e8e93; }
.ios-ok { color: var(--green); font-weight: 700; }

/* Drums container */
.ios-drums-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: white;
  margin: 12px 16px;
  border-radius: 14px;
}
.ios-drums {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Individual drum column */
.drum-col {
  flex: 1;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.drum-col::-webkit-scrollbar { display: none; }

.drum-pad {
  height: 96px; /* 2 × ITEM_H so first/last items can reach center */
  flex-shrink: 0;
}
.drum-item {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  scroll-snap-align: center;
  cursor: pointer;
  transition: color 0.1s;
}

/* Colon between drums */
.drum-colon {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  padding: 0 4px;
  flex-shrink: 0;
  line-height: 1;
  margin-bottom: 2px;
}

/* Selection highlight bar */
.drum-sel-bar {
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 48px;
  transform: translateY(-50%);
  background: var(--green-light);
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}

/* Fade gradients */
.drum-fade-top,
.drum-fade-bot {
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  pointer-events: none;
  z-index: 3;
}
.drum-fade-top {
  top: 0;
  background: linear-gradient(to bottom, white 0%, rgba(255,255,255,0) 100%);
}
.drum-fade-bot {
  bottom: 0;
  background: linear-gradient(to top, white 0%, rgba(255,255,255,0) 100%);
}

/* Custom checkbox */
.travel-wrapper {
  display: flex;
  justify-content: center;
}
.travel-label {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.travel-label input[type="checkbox"] { display: none; }
.m-travel input[type="checkbox"] { display: none; }

.checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid #d1d5db;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: white;
  flex-shrink: 0;
}

/* Unchecked hover */
.travel-label:hover .checkmark,
.m-travel:hover .checkmark {
  border-color: #f97316;
}

/* Checked state — orange vif */
.travel-label input:checked + .checkmark,
.m-travel input:checked + .checkmark {
  background: #f97316;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
  transform: scale(1.08);
}
.travel-label input:checked + .checkmark::after,
.m-travel input:checked + .checkmark::after {
  content: '';
  width: 6px;
  height: 11px;
  border: 2.5px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.col-duration-val {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.col-total-val {
  text-align: right;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.col-total-val.active { color: var(--green-mid); }
.travel-bonus {
  font-size: 0.72rem;
  color: var(--green-accent);
  font-weight: 500;
}

/* ── Buttons ── */
.btn-wrapper {
  padding: 16px 20px;
}
.btn-calculate {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn-calculate:hover { background: var(--green-mid); }
.btn-calculate:active { transform: scale(0.98); }

/* ── Archive button ── */
.btn-archive-week {
  width: 100%;
  background: white;
  color: var(--text-muted);
  border: 1.5px dashed #d1d5db;
  border-radius: var(--radius-sm);
  padding: 11px;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 12px;
}
.btn-archive-week:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-lighter);
  border-style: solid;
}
.btn-archive-week:active { transform: scale(0.98); }

/* ── Export buttons row ── */
.export-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.btn-export,
.btn-export-schedule {
  background: white;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
}
.btn-export {
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-export:hover { background: var(--green); color: white; }

.btn-export-schedule {
  color: #2563eb;
  border: 2px solid #2563eb;
}
.btn-export-schedule:hover { background: #2563eb; color: white; }

.btn-export:active,
.btn-export-schedule:active { transform: scale(0.98); }

.export-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.export-btn-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}
.export-btn-sub {
  font-size: 0.7rem;
  opacity: 0.75;
  font-weight: 400;
}

@media (max-width: 420px) {
  .export-row { grid-template-columns: 1fr; }
}

/* ── Info Footer ── */
.info-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--green-lighter);
}

/* ── History section ── */
.history-section {
  margin-top: 8px;
}
.history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.history-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.history-title h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.history-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
}
.history-empty {
  text-align: center;
  padding: 28px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: white;
  border-radius: var(--radius);
  border: 1.5px dashed var(--border);
  line-height: 1.7;
}

/* Week history card */
.week-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.week-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.1); }

.week-card-head {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  gap: 12px;
  user-select: none;
}
.week-card-left {
  flex: 1;
}
.week-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.week-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.week-card-stats {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.week-stat {
  text-align: center;
}
.week-stat-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-mid);
}
.week-stat-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.week-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.week-toggle-icon {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.2s;
  width: 18px;
  text-align: center;
}
.week-card.open .week-toggle-icon { transform: rotate(180deg); }

.btn-week-edit {
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1.5px solid #f59e0b;
  color: #f59e0b;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-week-edit:hover { background: #f59e0b; color: white; }

.btn-week-png {
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1.5px solid #2563eb;
  color: #2563eb;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-week-png:hover { background: #2563eb; color: white; }

.btn-week-delete {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #fecaca;
  background: white;
  color: #f87171;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  font-family: inherit;
}
.btn-week-delete:hover { background: #fee2e2; border-color: #ef4444; color: #ef4444; }

/* Week detail table */
.week-detail {
  display: none;
  border-top: 1px solid var(--border);
}
.week-card.open .week-detail { display: block; }

.week-detail-header {
  display: grid;
  grid-template-columns: 110px 1fr 1fr 90px 70px 80px;
  padding: 8px 18px;
  background: var(--green-lighter);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  gap: 8px;
}
.week-detail-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr 90px 70px 80px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.83rem;
  gap: 8px;
  align-items: center;
}
.week-detail-row:last-child { border-bottom: none; }
.week-detail-row.skipped-row { background: #fdf5f5; color: var(--text-muted); }
.week-detail-row .day-n { font-weight: 600; }
.week-detail-row .day-n.s { text-decoration: line-through; color: #ef4444; }
.week-detail-row .earn { text-align: right; font-weight: 700; color: var(--green-mid); }
.week-detail-row .earn.zero { color: var(--text-muted); font-weight: 400; }
.week-detail-row .dur, .week-detail-row .times { text-align: center; color: var(--text-muted); }
.week-detail-row .trav { text-align: center; }

/* ── Mobile ── */
@media (max-width: 600px) {
  /* Layout */
  .app-wrapper { padding: 12px 12px 32px; }

  /* Header */
  .reset-label { display: none; }
  .btn-reset { padding: 9px 11px; border-radius: 50%; }
  .reset-icon { font-size: 1.2rem; }
  .header-titles h1 { font-size: 1.1rem; }
  .header-titles p { font-size: 0.72rem; }

  /* Stats */
  .stats-grid { gap: 8px; }
  .stat-card {
    padding: 12px 10px;
    gap: 8px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .stat-icon { width: 38px; height: 38px; font-size: 1rem; }
  .stat-label { font-size: 0.58rem; letter-spacing: 0; }
  .stat-value { font-size: 1rem; }
  .stat-sub { font-size: 0.6rem; }

  /* Hide desktop table header */
  .table-header { display: none; }

  /* ── Day card (mobile) ── */
  .day-row {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    gap: 11px;
    border-bottom: 1px solid var(--border);
    grid-template-columns: unset;
  }
  .day-row.skipped { gap: 0; padding: 14px 16px; }

  /* Head: day name | total + skip btn */
  .m-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .m-head-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .m-total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: right;
    line-height: 1.2;
  }
  .m-total.active { color: var(--green-mid); }
  .m-travel-bonus {
    font-size: 0.68rem;
    color: var(--green-accent);
    font-weight: 500;
  }

  /* Times row: [14:45] – [17:30] */
  .m-times {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .m-times .time-display {
    flex: 1;
    justify-content: center;
    padding: 11px 8px;
    font-size: 1.05rem;
    font-weight: 600;
  }
  .m-dash {
    font-size: 1.1rem;
    color: var(--text-muted);
    flex-shrink: 0;
    font-weight: 300;
  }

  /* Travel + duration row */
  .m-travel {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 2px 0;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
  }
  .m-travel input[type="checkbox"] { display: none; }
  .m-travel .checkmark { flex-shrink: 0; }
  .m-travel-text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
  }
  .m-travel input:checked ~ .m-travel-text { color: var(--green); }
  .m-duration {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
  }

  /* Separator inside card */
  .m-sep {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: -3px 0;
  }

  /* Export buttons: stack on small screen */
  .export-row { grid-template-columns: 1fr; gap: 10px; }
  .export-btn-title { font-size: 0.9rem; }
  .export-btn-sub { font-size: 0.72rem; }

  /* Info footer */
  .info-footer { font-size: 0.78rem; padding: 10px 16px; }

  /* Calculate button */
  .btn-wrapper { padding: 14px 16px; }

  /* History cards responsive */
  .week-card-head {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
  }
  .week-card-left { width: 100%; }
  .week-card-stats {
    flex: 1;
    gap: 10px;
    justify-content: flex-start;
  }
  .week-card-actions { gap: 5px; }
  .btn-week-edit, .btn-week-png {
    padding: 5px 8px;
    font-size: 0.68rem;
  }

  /* Week detail responsive : stack sur mobile */
  .week-detail-header { display: none; }
  .week-detail-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding: 10px 14px;
    gap: 4px 8px;
  }
  .week-detail-row .day-n {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    margin-bottom: 2px;
  }
  .week-detail-row .times { text-align: left; }
  .week-detail-row .trav { text-align: left; }
  .week-detail-row .dur { text-align: left; }
  .week-detail-row .earn {
    text-align: right;
    grid-column: 2;
  }

  /* Archive button full width on mobile */
  .btn-archive-week { width: 100%; }

  /* Edit banner responsive */
  #edit-banner { font-size: 0.82rem; padding: 10px 14px; border-radius: 8px; }

  /* Current week bar */
  .current-week-bar { font-size: 0.78rem; padding: 8px 16px; }
}
