:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --border: #eceef2;
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-dim: #c4c9d4;
  --mint: #2ecc87;
  --mint-dark: #22b573;
  --mint-soft: #e9faf2;
  --me: #3b82f6;
  --me-soft: color-mix(in srgb, var(--me) 13%, white);
  --partner: #ec4899;
  --partner-soft: color-mix(in srgb, var(--partner) 13%, white);
  --together: #2ecc87;
  --together-soft: color-mix(in srgb, var(--together) 14%, white);
  --sun: #ef4444;
  --sat: #3b82f6;
  --danger: #ef4444;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--surface);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Pretendard',
    'Noto Sans KR', 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.app-shell {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 0 1px var(--border);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(6px + env(safe-area-inset-top)) 10px 4px;
  gap: 4px;
  flex-shrink: 0;
}

.topbar-nav,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.month-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  min-width: 94px;
  text-align: center;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--surface);
}

.pill-btn {
  height: 26px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.pill-btn-mint {
  background: var(--mint);
  border-color: var(--mint);
  color: #ffffff;
}

.dday-pill {
  height: 26px;
  padding: 0 9px;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  background: #fdf2f8;
  color: #be185d;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 12px 6px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.subbar::-webkit-scrollbar {
  display: none;
}

.legend-filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.filter-chip:not(.is-active) {
  opacity: 0.42;
  background: var(--surface);
}

.status-strip {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.status-chip {
  height: 24px;
  max-width: 150px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px dashed var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-me {
  background: var(--me);
}

.dot-partner {
  background: var(--partner);
}

.dot-together {
  background: var(--together);
}

.tab-views {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.tab-view {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.tab-scroll {
  overflow-y: auto;
  padding: 12px 14px 80px;
}

.weekday-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}

.weekday {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 5px 0;
}

.weekday.sun {
  color: var(--sun);
}

.weekday.sat {
  color: var(--sat);
}

.calendar-grid {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  user-select: none;
  touch-action: pan-y;
}

.week-row {
  flex: 1;
  min-height: 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.week-row:last-child {
  border-bottom: none;
}

.week-bg {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  height: 100%;
}

.day-cell {
  border-right: 1px solid var(--border);
  padding: 3px 2px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.12s ease;
}

.day-cell:last-child {
  border-right: none;
}

.day-cell:hover {
  background: #fafbfc;
}

.day-cell.is-selected {
  background: var(--mint-soft);
}

.day-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 20px;
}

.day-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  flex-shrink: 0;
}

.day-cell.is-sun .day-num,
.day-cell.is-holiday .day-num {
  color: var(--sun);
}

.day-cell.is-sat:not(.is-holiday) .day-num {
  color: var(--sat);
}

.day-cell.is-other-month .day-num {
  color: var(--text-dim);
  font-weight: 500;
}

.day-cell.is-today .day-num {
  background: var(--mint);
  color: #ffffff;
  font-weight: 700;
}

.day-sub-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--sun);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  line-height: 11px;
}

.day-sub-label.is-anniv {
  color: #be185d;
}

.week-events {
  position: absolute;
  left: 0;
  right: 0;
  top: 25px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 17px;
  row-gap: 2px;
  pointer-events: none;
  overflow: hidden;
}

.event-bar {
  pointer-events: auto;
  height: 17px;
  line-height: 17px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  color: #ffffff;
}

.event-bar.owner-me {
  background: var(--me);
}

.event-bar.owner-partner {
  background: var(--partner);
}

.event-bar.owner-together {
  background: var(--together);
}

.event-bar.is-timed.is-single {
  color: var(--text);
  border-left: 3px solid transparent;
}

.event-bar.is-timed.is-single.owner-me {
  background: var(--me-soft);
  border-left-color: var(--me);
}

.event-bar.is-timed.is-single.owner-partner {
  background: var(--partner-soft);
  border-left-color: var(--partner);
}

.event-bar.is-timed.is-single.owner-together {
  background: var(--together-soft);
  border-left-color: var(--together);
}

.event-bar.starts-here {
  margin-left: 2px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.event-bar.ends-here {
  margin-right: 2px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.week-overflow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  pointer-events: none;
}

.overflow-badge {
  text-align: center;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 12px;
}

/* Upcoming Strip */
.upcoming-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
}

.upcoming-bar::-webkit-scrollbar {
  display: none;
}

.upcoming-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.upcoming-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.upcoming-dday {
  font-size: 10px;
  font-weight: 700;
  color: var(--mint-dark);
  background: var(--mint-soft);
  padding: 1px 5px;
  border-radius: 6px;
}

/* Bottom Navigation */
.bottom-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding-bottom: env(safe-area-inset-bottom);
  flex-shrink: 0;
}

.nav-tab {
  height: 50px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
}

.nav-icon {
  font-size: 16px;
  line-height: 1;
}

.nav-tab.is-active {
  color: var(--mint-dark);
}

.fab {
  position: absolute;
  right: 16px;
  bottom: calc(64px + env(safe-area-inset-bottom));
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--mint);
  color: #ffffff;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(46, 204, 135, 0.38);
  cursor: pointer;
  z-index: 10;
}

/* Agenda & Search */
.search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.search-input {
  padding-right: 34px;
}

.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
}

.agenda-list,
.notes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agenda-group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 8px 0 2px;
}

/* Shared Notes */
.notes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.notes-filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}

.cat-chip {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cat-chip.is-active {
  background: var(--mint-soft);
  border-color: var(--mint);
  color: var(--mint-dark);
}

.note-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.note-card.is-done {
  opacity: 0.58;
}

.note-card.is-done .note-title {
  text-decoration: line-through;
}

.note-check {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--mint);
  cursor: pointer;
  flex-shrink: 0;
}

.note-body {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.note-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.note-cat-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-muted);
}

.note-title {
  font-size: 14px;
  font-weight: 600;
  word-break: break-word;
}

.note-content {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Overlays & Sheets */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.sheet-panel,
.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: 90dvh;
  background: var(--bg);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

.sheet-handle {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  margin: 10px auto 2px;
  flex-shrink: 0;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.panel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.meta-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.day-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.day-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fef2f2;
  color: var(--sun);
}

.day-badge.is-anniv {
  background: #fdf2f8;
  color: #be185d;
}

.close-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
}

.day-event-list {
  padding: 12px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 28px 0;
}

.day-event-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
}

.day-event-item:hover {
  background: var(--surface);
}

.day-event-stripe {
  width: 4px;
  align-self: stretch;
  border-radius: 4px;
  flex-shrink: 0;
}

.day-event-stripe.owner-me {
  background: var(--me);
}

.day-event-stripe.owner-partner {
  background: var(--partner);
}

.day-event-stripe.owner-together {
  background: var(--together);
}

.day-event-body {
  flex: 1;
  min-width: 0;
}

.day-event-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}

.day-event-owner {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.day-event-owner.owner-me {
  background: var(--me-soft);
  color: var(--me);
}

.day-event-owner.owner-partner {
  background: var(--partner-soft);
  color: var(--partner);
}

.day-event-owner.owner-together {
  background: var(--together-soft);
  color: var(--mint-dark);
}

.day-event-time {
  font-size: 12px;
  color: var(--text-muted);
}

.badge-new {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 5px;
  background: #fef3c7;
  color: #b45309;
}

.badge-mini {
  font-size: 11px;
  color: var(--text-muted);
}

.day-event-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.day-event-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: pre-wrap;
  word-break: break-word;
}

.map-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.map-link:hover {
  border-color: var(--mint);
}

.sheet-footer {
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
}

.modal-scroll-body {
  overflow-y: auto;
  flex: 1;
}

.modal-form {
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

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

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
}

.input:focus {
  outline: none;
  border-color: var(--mint);
  background: var(--bg);
}

.title-input {
  font-size: 16px;
  font-weight: 600;
}

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.icon-picker {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.icon-choice {
  height: 32px;
  min-width: 32px;
  padding: 0 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-choice.is-selected {
  border-color: var(--mint);
  background: var(--mint-soft);
  font-weight: 700;
}

.owner-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.author-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.owner-option {
  position: relative;
  cursor: pointer;
}

.owner-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.owner-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.owner-option input:checked + .owner-pill.owner-me {
  border-color: var(--me);
  background: var(--me-soft);
  color: var(--me);
}

.owner-option input:checked + .owner-pill.owner-partner {
  border-color: var(--partner);
  background: var(--partner-soft);
  color: var(--partner);
}

.owner-option input:checked + .owner-pill.owner-together {
  border-color: var(--together);
  background: var(--together-soft);
  color: var(--mint-dark);
}

.switch-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0;
}

.switch-label {
  font-size: 14px;
  font-weight: 600;
}

.toggle-input {
  width: 20px;
  height: 20px;
  accent-color: var(--mint);
  cursor: pointer;
}

.color-name-row {
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
}

.color-name-input {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.color-picker-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 58px;
}

.color-input {
  width: 100%;
  height: 40px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

/* Comments */
.comments-section {
  border-top: 1px solid var(--border);
  padding: 12px 18px 18px;
  background: #fbfcfd;
}

.comments-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.comment-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13px;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.comment-author {
  font-weight: 700;
}

.comment-text {
  word-break: break-word;
}

.comment-del {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
}

.comment-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.comment-author-select {
  width: 78px;
  flex-shrink: 0;
  padding: 8px 6px;
  font-size: 12px;
}

.comment-input {
  flex: 1;
  padding: 8px 10px;
  font-size: 13px;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.action-spacer {
  flex: 1;
}

.btn-primary,
.btn-secondary,
.btn-danger {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.btn-sm {
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--mint);
  color: #ffffff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-danger {
  background: #fef2f2;
  color: var(--danger);
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-danger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.full-width {
  width: 100%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(74px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: rgba(31, 41, 55, 0.92);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  max-width: calc(100vw - 32px);
  text-align: center;
}

@media (min-width: 768px) {
  .overlay {
    align-items: center;
    padding: 20px;
  }

  .sheet-panel,
  .modal-panel {
    border-radius: 18px;
    max-height: 86dvh;
  }

  .modal-panel-sm {
    max-width: 420px;
  }

  .sheet-handle {
    display: none;
  }

  .event-bar {
    font-size: 11.5px;
  }
}
