@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,700;0,800;1,400&display=swap');

:root {
  --purple:  #5f236b;
  --pink:    #be375f;
  --orange:  #ed8554;
  --yellow:  #f5eb6d;
  --bg:      #111113;
  --bg-card: #1b1b1e;
  --bg-input:#222226;
  --border:  rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --text:    #f0eef5;
  --muted:   #888794;
  --hint:    #4f4d59;
  --radius:  14px;
  --radius-sm: 9px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.nav {
  padding: 1.1rem 2rem;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  max-width: 520px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 40%, var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

/* ── Card ── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 0.5px solid var(--border);
  padding: 1.5rem;
}
.form-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Form ── */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.optional {
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--hint);
}
input[type="text"],
input[type="date"],
select {
  width: 100%;
  padding: 11px 14px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-input);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus {
  border-color: var(--pink);
  background: #26222c;
}
input::placeholder { color: var(--hint); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888794' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
select option { background: #2a2a2e; color: var(--text); }

.date-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.date-row input, .date-row select { flex: 1; }
.to {
  font-size: 13px;
  font-style: italic;
  color: var(--hint);
  flex-shrink: 0;
}

/* ── Day-of-week picker ── */
.day-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.day-option { display: contents; }
.day-option input[type="checkbox"] { display: none; }
.day-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
  color: var(--muted);
}
.day-pill:hover { border-color: var(--border-hover); background: #26222c; color: var(--text); }
.day-option input:checked + .day-pill {
  border-color: var(--pink);
  background: #26181e;
  color: var(--pink);
}

/* ── Period picker (create form) ── */
.period-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.period-option { display: contents; }
.period-option input[type="checkbox"] { display: none; }
.period-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-width: 80px;
  text-align: center;
  user-select: none;
}
.period-pill:hover { border-color: var(--border-hover); background: #26222c; }
.period-option input:checked + .period-pill {
  border-color: var(--pink);
  background: #26181e;
}
.period-icon { font-size: 20px; line-height: 1; }
.period-name { font-size: 13px; font-weight: 700; color: var(--text); }
.period-hours { font-size: 11px; font-style: italic; color: var(--hint); }
.period-option input:checked + .period-pill .period-name { color: var(--pink); }

/* ── Grid nav (pagination) ── */
.grid-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.grid-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
  font-family: inherit;
}
.grid-nav-btn:hover:not(:disabled) { background: #26222c; border-color: var(--pink); }
.grid-nav-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.grid-nav-info {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  flex: 1;
}

/* ── Period grid (respond + event pages) ── */
:root {
  --row-label-w: 110px;
}
@media (max-width: 480px) {
  :root { --row-label-w: 90px; }
}
.period-grid {
  display: grid;
  gap: 3px;
  width: 100%;
}
.pg-corner { /* top-left spacer */ }
.pg-col-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 4px;
  min-width: 52px;
}
.pg-day  { font-size: 11px; font-weight: 700; color: var(--muted); }
.pg-date { font-size: 10px; color: var(--hint); }

.pg-row-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 12px 6px 0;
  gap: 1px;
  min-width: 110px;
}
.pg-period-icon  { font-size: 15px; line-height: 1; }
.pg-period-name  { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.pg-period-hours { font-size: 11px; font-style: italic; color: var(--hint); }

.pg-cell {
  min-width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  cursor: pointer;
  transition: opacity 0.08s, transform 0.08s;
  user-select: none;
}
.pg-cell:hover { border-color: var(--border-hover); transform: scale(1.04); }
.pg-cell.free {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  border-color: transparent;
}
/* Heatmap intensity */
.pg-cell[data-count="1"] { background: #3d1545; border-color: transparent; }
.pg-cell[data-count="2"] { background: var(--purple); border-color: transparent; }
.pg-cell[data-count="3"] { background: #8d2c62; border-color: transparent; }
.pg-cell[data-count="4"] { background: var(--pink); border-color: transparent; }
.pg-cell[data-count="5"] { background: #d55f4a; border-color: transparent; }
.pg-cell[data-count="6"] { background: var(--orange); border-color: transparent; }
.pg-cell[data-count="7"] { background: var(--yellow); border-color: transparent; }
.pg-cell.best {
  outline: 2.5px solid var(--yellow);
  outline-offset: 2px;
}

/* ── Friends ── */
.friends-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.friend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--border);
  font-size: 14px;
  font-weight: 400;
}
.friend-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.friend-remove {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--hint);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.1s;
}
.friend-remove:hover { color: var(--pink); }
.add-friend-row {
  display: flex;
  gap: 8px;
}
.add-friend-row input { flex: 1; }

/* ── Buttons ── */
.btn-primary {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  padding: 11px 18px;
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: var(--border-hover); background: #252528; }

.error-msg {
  font-size: 13px;
  font-style: italic;
  color: var(--pink);
  min-height: 18px;
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 99;
}
.modal-box {
  position: relative;
  z-index: 101;
  max-width: 480px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
}
.modal-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.modal-sub {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 1.4rem;
  line-height: 1.6;
}
.links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.link-item {
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 0.5px solid var(--border);
  padding: 11px 14px;
  transition: border-color 0.15s;
}
.link-item:hover { border-color: var(--border-hover); }
.link-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.link-url-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.link-url {
  font-size: 13px;
  color: var(--orange);
  word-break: break-all;
  flex: 1;
}
.copy-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  background: none;
  border: 0.5px solid var(--border-hover);
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.15s;
}
.copy-btn:hover { border-color: var(--orange); color: var(--orange); }
.copy-btn.copied { color: var(--yellow); border-color: var(--yellow); }
.modal-actions { margin-top: 4px; }

/* ── Slot detail modal ── */
.slot-modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.slot-modal-groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.slot-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.free-label { color: var(--orange); }
.busy-label { color: var(--muted); }
.slot-name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.slot-name {
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
}
.slot-name.busy {
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  color: var(--muted);
}
.slot-nobody {
  font-size: 13px;
  font-style: italic;
  color: var(--hint);
}

.hidden { display: none !important; }

/* ── Event & Respond pages ── */
.event-main, .respond-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

/* ── Event header ── */
.event-header { margin-bottom: 2rem; }
.event-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.event-header-top h1 { margin-bottom: 0; }
.btn-edit {
  flex-shrink: 0;
  padding: 6px 14px;
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
  margin-top: 6px;
}
.btn-edit:hover { border-color: var(--pink); color: var(--pink); }

.textarea-input {
  width: 100%;
  padding: 11px 14px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-input);
  color: var(--text);
  outline: none;
  resize: vertical;
  transition: border-color 0.15s;
  line-height: 1.5;
}
.textarea-input:focus { border-color: var(--pink); background: #26222c; }
.textarea-input::placeholder { color: var(--hint); }

.event-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.event-desc {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 10px;
}
.event-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.meta-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── Best slot ── */
.best-slot {
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.best-slot-label {
  font-size: 11px;
  font-weight: 700;
  color: #5a4200;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.best-slot-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2a1f00;
  letter-spacing: -0.02em;
}
.best-slot-sub {
  font-size: 13px;
  font-style: italic;
  color: #6b5000;
}

/* ── Section labels ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--hint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Grid ── */
.results-grid-section, .grid-section { margin-bottom: 2.5rem; }

.legend, .grid-legend {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
}
.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}
.free-swatch  { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.empty-swatch { background: var(--bg-input); border: 0.5px solid var(--border); }

.grid-wrap { width: 100%; }

.availability-grid { display: inline-block; }

.grid-header-row {
  display: flex;
  margin-left: 48px;
  gap: 2px;
  margin-bottom: 4px;
}
.col-header {
  width: 30px;
  text-align: center;
  user-select: none;
}
.col-header-day  { font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.col-header-date { font-size: 10px; color: var(--hint); }

.grid-row {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 2px;
}
.row-label {
  width: 44px;
  font-size: 11px;
  font-style: italic;
  color: var(--hint);
  text-align: right;
  padding-right: 6px;
  user-select: none;
  flex-shrink: 0;
}
.grid-cell {
  width: 30px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  transition: opacity 0.08s, transform 0.08s;
  user-select: none;
  flex-shrink: 0;
}
.grid-cell:hover { border-color: var(--border-hover); transform: scale(1.05); }
.grid-cell.free {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  border-color: transparent;
}

/* Heatmap intensity — purple→pink→orange→yellow */
.grid-cell[data-count="1"] { background: #3d1545; border-color: transparent; }
.grid-cell[data-count="2"] { background: var(--purple); border-color: transparent; }
.grid-cell[data-count="3"] { background: #8d2c62; border-color: transparent; }
.grid-cell[data-count="4"] { background: var(--pink); border-color: transparent; }
.grid-cell[data-count="5"] { background: #d55f4a; border-color: transparent; }
.grid-cell[data-count="6"] { background: var(--orange); border-color: transparent; }
.grid-cell[data-count="7"] { background: var(--yellow); border-color: transparent; }
.grid-cell.best {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* ── Respondents ── */
.respondents-section { margin-bottom: 2rem; }
.respondents-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.respondent-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 7px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 400;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
}
.respondent-pill:hover {
  border-color: var(--pink);
  background: #26181e;
}
.respondent-edit-hint {
  font-size: 11px;
  font-style: italic;
  color: var(--hint);
  margin-left: 2px;
}
.respondent-pill .avatar-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-input);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.respondent-pill.responded {
  border-color: var(--orange);
}
.respondent-pill.responded .avatar-sm {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
}
.responded-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── Share section ── */
.share-section { margin-bottom: 2rem; }

/* ── Respond page ── */
.respond-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}
.avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}
.respond-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}
.instructions {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.75rem;
  padding: 13px 16px;
  line-height: 1.55;
  border-left: 2px solid var(--purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.save-msg {
  font-size: 15px;
  font-weight: 700;
  color: var(--yellow);
  text-align: center;
  margin-bottom: 4px;
}
.save-done {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.save-done .btn-secondary {
  width: 100%;
  text-align: center;
}

.loading {
  padding: 4rem;
  text-align: center;
  font-style: italic;
  color: var(--hint);
}

/* ── Name picker ── */
.name-picker-section { margin-bottom: 2rem; }
.name-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.name-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  cursor: pointer;
}
.name-btn:hover {
  border-color: var(--pink);
  background: #26181e;
  transform: scale(1.03);
}
.name-btn-done {
  border-color: var(--orange);
  opacity: 0.7;
}
.name-btn-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.name-btn-done .name-btn-avatar {
  background: linear-gradient(135deg, var(--pink), var(--orange));
}
.name-btn-label { flex: 1; }
.name-btn-check {
  font-size: 13px;
  color: var(--orange);
}

.respondents-hint {
  font-size: 12px;
  font-style: italic;
  color: var(--hint);
  margin-top: 10px;
}

.no-responses {
  font-size: 14px;
  color: var(--hint);
  padding: 1rem 0;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .event-header h1 { font-size: 1.5rem; }
  .respond-header h1 { font-size: 1.3rem; }
  .nav { padding: 1rem 1.25rem; }
  .hero, .event-main, .respond-main { padding-left: 1.1rem; padding-right: 1.1rem; }

  /* Bigger tap targets on mobile */
  .pg-cell { height: 56px; border-radius: 8px; }
  .pg-col-header { min-width: 0; }
  .pg-period-hours { display: none; }
  .pg-period-name { font-size: 12px; }
  .pg-row-label { padding-right: 8px; gap: 2px; }

  /* Period picker wraps nicely */
  .period-picker { gap: 6px; }
  .period-pill { min-width: 64px; padding: 10px 10px; }
  .period-icon { font-size: 18px; }
  .period-name { font-size: 12px; }
  .period-hours { font-size: 10px; }

  /* Name picker full width on mobile */
  .name-btn { width: 100%; }

  /* Respond header stacks better */
  .respond-header { gap: 0.75rem; }
  .avatar-lg { width: 44px; height: 44px; font-size: 18px; }
}
