:root {
  --bg: #edf7ff;
  --bg-soft: #f7fbff;
  --ink: #17324b;
  --ink-soft: #617d97;
  --line: rgba(88, 138, 182, 0.16);
  --line-strong: rgba(88, 138, 182, 0.28);
  --panel: rgba(248, 252, 255, 0.84);
  --panel-strong: rgba(244, 250, 255, 0.96);
  --accent: #7fc9ff;
  --accent-deep: #428cd5;
  --accent-soft: rgba(127, 201, 255, 0.16);
  --teal: #5eb7c7;
  --teal-soft: rgba(94, 183, 199, 0.16);
  --shadow: 0 18px 38px rgba(80, 130, 178, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(154, 220, 255, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(198, 233, 255, 0.34), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eef7ff 52%, #e6f2ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.28;
  pointer-events: none;
}

.page-shell {
  position: relative;
  width: min(1380px, calc(100vw - 28px));
  margin: 16px auto 26px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(252, 254, 255, 0.98), rgba(236, 247, 255, 0.94)),
    rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -36px;
  width: min(250px, 28vw);
  aspect-ratio: 1 / 1;
  background: url("mascot.png") no-repeat center / contain;
  opacity: 0.12;
  pointer-events: none;
  filter: saturate(0.92);
}

.eyebrow,
.panel-kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1,
.panel h2 {
  margin: 0;
  line-height: 1.08;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero-text,
.controls-hint,
.section-note,
.muted {
  color: var(--ink-soft);
}

.hero-text {
  max-width: 48ch;
  margin: 8px 0 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.stat-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.stat-card strong {
  display: inline;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1;
}

.stat-card span {
  color: var(--ink-soft);
  font-size: 0.74rem;
  white-space: nowrap;
}

.content-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.panel {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hotel-panel,
.cycle-panel,
.controls-panel,
.editor-panel {
  background:
    linear-gradient(135deg, rgba(245, 251, 255, 0.98), rgba(250, 253, 255, 0.9)),
    var(--panel);
}

.controls-head,
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.section-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.controls-hint,
.section-note {
  margin: 0;
  max-width: 28ch;
  line-height: 1.55;
  font-size: 0.92rem;
}

.hotel-card {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.7);
}

.hotel-title,
.hotel-address,
.cycle-empty {
  margin: 0;
}

.hotel-title {
  font-size: 0.98rem;
  font-weight: 800;
}

.hotel-address {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hotel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hotel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #85caff, #4e9dea);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(78, 157, 234, 0.18);
}

.hotel-form,
.cycle-form {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.72);
}

.hotel-form.is-hidden,
.cycle-form.is-hidden {
  display: none;
}

.panel-collapsible-body.is-collapsed {
  display: none;
}

.panel-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.panel-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(78, 157, 234, 0.36);
  color: var(--ink);
}

.cycle-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.cycle-mode-toggle {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.cycle-mode-toggle::-webkit-scrollbar,
.cycle-list::-webkit-scrollbar {
  display: none;
}

.cycle-list {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.mode-chip,
.cycle-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.mode-chip {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.cycle-chip {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.mode-chip:hover,
.cycle-chip:hover,
.filter-chip:hover,
.cell-add-button:hover,
.mobile-add-button:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.event-button:hover {
  transform: translateY(-1px);
  border-color: rgba(78, 157, 234, 0.36);
}

.mode-chip.is-active,
.cycle-chip.is-active,
.filter-chip.is-active,
.primary-button {
  border-color: transparent;
  background: linear-gradient(135deg, #85caff, #4e9dea);
  color: #fff;
  box-shadow: 0 10px 22px rgba(78, 157, 234, 0.18);
}

.cycle-chip-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cycle-chip-meta {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.82;
}

.cycle-empty {
  margin-top: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.member-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-chip {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-radius: 999px;
  padding: 0 12px;
  min-height: 34px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.selected-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.summary-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.2;
}

.editor-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.68);
}

.editor-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.editor-status {
  flex: 1;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(241, 248, 255, 0.96);
  border: 1px solid rgba(126, 190, 235, 0.18);
}

.editor-status strong,
.editor-status h3 {
  display: block;
  margin: 0;
  font-size: 0.98rem;
}

.editor-status p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.9rem;
}

.toolbar-actions,
.form-actions,
.hotel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#cycle-secondary-actions {
  margin-top: 10px;
}

.primary-button,
.secondary-button,
.ghost-button,
.event-button {
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.secondary-button,
.ghost-button,
.event-button {
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled,
.event-button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.event-form {
  margin-top: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.form-grid-wide {
  grid-template-columns: 1fr 1.4fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-wide {
  grid-column: span 1;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 108px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(78, 157, 234, 0.42);
  box-shadow: 0 0 0 4px rgba(78, 157, 234, 0.1);
  background: #fff;
}

.member-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.member-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.member-choice input {
  width: 18px;
  height: 18px;
  accent-color: #4e9dea;
}

.event-card.is-editing {
  border-color: rgba(78, 157, 234, 0.42);
  box-shadow: 0 0 0 3px rgba(78, 157, 234, 0.1);
}

.schedule-scroll {
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 6px;
}

.schedule-desktop {
  display: block;
}

.schedule-mobile {
  display: none;
}

.schedule-table {
  display: grid;
  grid-template-columns: 170px repeat(5, minmax(230px, 1fr));
  min-width: 1320px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cell {
  position: relative;
  min-height: 150px;
  padding: 16px 16px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 253, 255, 0.88);
}

.cell:nth-child(6n + 1) {
  background: rgba(243, 249, 255, 0.92);
}

.cell.is-header,
.cell.is-slot {
  min-height: auto;
  background: rgba(255, 255, 255, 0.94);
}

.cell.is-header {
  position: sticky;
  top: 0;
  z-index: 1;
}

.cell.is-slot {
  font-size: 1.06rem;
  font-weight: 800;
}

.corner {
  background:
    linear-gradient(135deg, rgba(165, 222, 255, 0.18), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.96);
}

.date-title {
  display: block;
  margin-bottom: 6px;
  font-size: 1.45rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.weekday {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.slot-name {
  font-size: 1rem;
}

.cell-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: -4px -4px 10px 0;
}

.cell-add-button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(78, 157, 234, 0.12);
  color: var(--accent-deep);
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.cell-add-button:hover {
  background: rgba(78, 157, 234, 0.18);
  box-shadow: 0 8px 18px rgba(78, 157, 234, 0.16);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card {
  padding: 10px 12px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.94)),
    var(--panel-strong);
  border: 1px solid rgba(111, 176, 226, 0.16);
}

.event-time {
  margin: 0 0 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.event-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.event-title {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 700;
  flex: 1;
  min-width: 0;
}

.event-meta,
.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.event-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.member-tag,
.map-tag,
.note-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.member-tag {
  background: var(--teal-soft);
  color: var(--teal);
}

.map-tag {
  background: var(--accent-soft);
  color: var(--accent-deep);
  text-decoration: none;
  border: 0;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.map-tag:hover {
  transform: translateY(-1px);
  background: rgba(78, 157, 234, 0.18);
}

.event-button {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(93, 126, 157, 0.08);
  box-shadow: none;
}

.event-button:hover {
  color: var(--ink);
  background: rgba(93, 126, 157, 0.12);
}

.note-tag {
  background: rgba(93, 126, 157, 0.1);
  color: var(--ink-soft);
}

.empty-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  color: var(--ink-soft);
  opacity: 0.9;
  font-size: 0.9rem;
}

.mobile-schedule {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-date-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.mobile-date-nav::-webkit-scrollbar {
  display: none;
}

.mobile-date-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-soft);
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.mobile-date-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #85caff, #4e9dea);
  color: #fff;
  box-shadow: 0 10px 20px rgba(78, 157, 234, 0.18);
}

.mobile-swipe-hint {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(78, 157, 234, 0.08);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.mobile-day-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: auto;
  overscroll-behavior-x: contain;
}

.mobile-day-rail::-webkit-scrollbar {
  display: none;
}

.mobile-rail-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: -2px;
}

.mobile-rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(97, 125, 151, 0.24);
  transition:
    width 180ms ease,
    background 180ms ease;
}

.mobile-rail-dot.is-active {
  width: 18px;
  background: var(--accent-deep);
}

.mobile-day-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
}

.mobile-day {
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 249, 255, 0.94)),
    rgba(255, 255, 255, 0.8);
}

.mobile-day-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-bottom: 8px;
}

.mobile-day-title {
  display: block;
  font-size: 1.04rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
}

.mobile-day-weekday {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.mobile-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-slot {
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(88, 138, 182, 0.1);
}

.mobile-slot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mobile-slot-name {
  font-size: 0.92rem;
  font-weight: 800;
}

.mobile-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(78, 157, 234, 0.14);
  color: var(--accent-deep);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.mobile-add-button:hover {
  background: rgba(78, 157, 234, 0.2);
}

.mobile-slot-empty {
  display: block;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(93, 126, 157, 0.05);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100vw - 20px, 1380px);
    margin: 10px auto 20px;
  }

  .hero,
  .controls-head,
  .section-head,
  .hotel-card,
  .cycle-toolbar,
  .editor-toolbar {
    flex-direction: column;
    align-items: start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .hero-stats {
    justify-content: flex-start;
    width: 100%;
  }

  .section-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .panel {
    padding: 16px;
  }

  .form-grid,
  .form-grid-wide {
    grid-template-columns: 1fr;
  }

  .member-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 12px, 1380px);
    margin: 8px auto 16px;
  }

  .hero,
  .panel,
  .editor-card {
    border-radius: 22px;
  }

  .hero {
    padding: 14px;
    gap: 12px;
  }

  .hero::after {
    right: -18px;
    bottom: -30px;
    width: 150px;
    opacity: 0.1;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-text,
  .controls-hint,
  .section-note {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .controls-hint,
  .section-note {
    max-width: none;
    width: 100%;
    text-wrap: pretty;
    word-break: normal;
  }

  .hero-stats {
    gap: 6px;
  }

  .stat-card {
    min-height: 30px;
    padding: 0 8px;
  }

  .stat-card strong {
    font-size: 0.82rem;
  }

  .stat-card span {
    font-size: 0.7rem;
  }

  .panel {
    padding: 14px;
  }

  .section-head-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .section-head-actions .panel-toggle {
    align-self: flex-end;
  }

  .panel-kicker {
    margin-bottom: 6px;
    font-size: 0.7rem;
  }

  .panel h2 {
    font-size: 1.55rem;
  }

  .member-filter {
    gap: 6px;
    margin-top: 10px;
  }

  .filter-chip {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .selected-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .summary-pill {
    min-height: 34px;
    padding: 8px 8px;
    font-size: 0.7rem;
    text-align: center;
  }

  .cycle-toolbar {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cycle-toolbar::-webkit-scrollbar {
    display: none;
  }

  .cycle-mode-toggle {
    width: 100%;
    gap: 6px;
  }

  .mode-chip {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.74rem;
    flex: 0 0 auto;
  }

  .toolbar-actions {
    width: auto;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .toolbar-actions > * {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.74rem;
    flex: 0 0 auto;
  }

  #cycle-secondary-actions > * {
    flex: 0 0 auto;
  }

  .cycle-list {
    margin-top: 8px;
    gap: 6px;
  }

  .cycle-chip {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.76rem;
    flex: 0 0 auto;
  }

  .cycle-chip-meta {
    font-size: 0.64rem;
  }

  .hotel-card,
  .hotel-form,
  .cycle-form,
  .editor-card {
    padding: 12px;
    border-radius: 16px;
  }

  .hotel-title {
    font-size: 0.92rem;
  }

  .hotel-address {
    font-size: 0.84rem;
  }

  .hotel-actions > * {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .panel-toggle {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .schedule-desktop {
    display: none;
  }

  .schedule-mobile {
    display: block;
  }

  .mobile-date-nav {
    gap: 6px;
  }

  .mobile-date-chip {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .event-card {
    padding: 9px 10px;
    border-radius: 14px;
  }

  .event-time {
    font-size: 0.8rem;
  }

  .event-title {
    font-size: 0.9rem;
  }

  .event-head {
    gap: 6px;
  }

  .member-tag,
  .map-tag,
  .note-tag,
  .event-button {
    min-height: 26px;
    font-size: 0.72rem;
    padding: 0 9px;
  }

  .event-inline-actions {
    gap: 4px;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 44px;
    font-size: 16px;
  }

  .field textarea {
    min-height: 110px;
  }

  .member-choice {
    min-height: 44px;
    padding: 0 10px;
  }
}
