:root {
  --ink: #181620;
  --muted: #777281;
  --paper: #ffffff;
  --canvas: #f5f4fa;
  --line: #e9e6ef;
  --purple: #6c5ce7;
  --purple-dark: #5848d3;
  --coral: #ff6b6b;
  --mint: #00b894;
  --yellow: #ffd166;
  --shadow: 0 18px 48px rgba(38, 30, 70, 0.11);
}

* { box-sizing: border-box; }

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

body {
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.app-shell {
  display: grid;
  grid-template: 74px calc(100vh - 74px) / 268px minmax(0, 1fr);
  min-height: 100vh;
}

.topbar {
  z-index: 20;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 244px minmax(310px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 0 22px 0 26px;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.6px;
}

.brand-mark { position: relative; width: 30px; height: 30px; }
.brand-mark span { position: absolute; width: 15px; height: 15px; border-radius: 50%; }
.brand-mark span:nth-child(1) { left: 0; top: 8px; background: var(--coral); }
.brand-mark span:nth-child(2) { right: 1px; top: 0; background: var(--yellow); }
.brand-mark span:nth-child(3) { right: 1px; bottom: 0; background: var(--purple); }

.date-navigation, .topbar-actions, .icon-group, .view-switcher { display: flex; align-items: center; }
.date-navigation { gap: 10px; min-width: 0; }
.date-navigation h1 { margin: 0 0 0 8px; overflow: hidden; font: 750 20px/1.2 Inter, ui-sans-serif, sans-serif; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.45px; }
.icon-group { gap: 2px; }
.topbar-actions { justify-content: flex-end; gap: 10px; }

.button, .icon-button, .mini-icon-button, .mobile-menu-button {
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button { min-height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 650; }
.button:hover, .icon-button:hover, .mini-icon-button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 7px 18px rgba(24,22,32,.16); }
.button-primary:hover { background: #2d2939; }
.button-primary span { margin-right: 4px; font-size: 18px; }
.button-quiet { background: #f3f1f7; }
.button-quiet:hover { background: #ebe8f2; }
.button-danger { display: none; color: #d74b55; background: #fff0f1; }
.button-danger.is-visible { display: inline-flex; align-items: center; }

.icon-button, .mini-icon-button, .mobile-menu-button { display: grid; place-items: center; background: transparent; }
.icon-button { width: 34px; height: 34px; border-radius: 10px; font-size: 25px; }
.icon-button:hover, .mini-icon-button:hover { background: #f1eff6; }
.mini-icon-button { width: 28px; height: 28px; border-radius: 9px; font-size: 20px; }
.mobile-menu-button { display: none; width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 170px;
  height: 40px;
  padding: 0 12px;
  color: var(--muted);
  background: #f5f3f8;
  border-radius: 12px;
}
.search-box span { font-size: 22px; transform: rotate(-15deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; }

.view-switcher { gap: 2px; padding: 3px; background: #f3f1f7; border-radius: 12px; }
.view-switcher button { padding: 7px 10px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; font-size: 13px; }
.view-switcher button.is-active { color: var(--ink); background: #fff; box-shadow: 0 2px 7px rgba(34,25,61,.08); font-weight: 700; }

.sidebar {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px 18px 18px;
  overflow-y: auto;
  background: #faf9fc;
  border-right: 1px solid var(--line);
}
.sidebar-create { display: none; width: 100%; }
.mini-date-card { padding: 18px; background: linear-gradient(145deg, #eeeafd, #f7f5ff); border: 1px solid #e5e0fa; border-radius: 18px; }
.eyebrow { margin: 0 0 8px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: 1.15px; text-transform: uppercase; }
.mini-date-row { display: flex; align-items: center; gap: 12px; }
.mini-date-row strong { font: 800 42px/1 Inter, ui-sans-serif, sans-serif; letter-spacing: -2px; }
.mini-date-row div { display: grid; gap: 2px; }
.mini-date-row span { font-weight: 700; text-transform: capitalize; }
.mini-date-row small { color: var(--muted); text-transform: capitalize; }
.mini-date-card > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.section-heading { display: flex; align-items: center; justify-content: space-between; }
.sidebar-section h2 { margin: 0 0 10px; font: 800 11px/1 Inter, ui-sans-serif, sans-serif; letter-spacing: .8px; text-transform: uppercase; }
.section-heading h2 { margin-bottom: 0; }
.section-hint { margin: 5px 0 9px; color: var(--muted); font-size: 10px; }
.calendar-list { display: grid; gap: 4px; }
.calendar-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 38px; padding: 4px 7px; border-radius: 10px; }
.calendar-row:hover { background: #f1eff5; }
.calendar-check { appearance: none; width: 13px; height: 13px; margin: 0; border: 2px solid var(--cal-color); border-radius: 50%; cursor: pointer; }
.calendar-check:checked { background: var(--cal-color); box-shadow: inset 0 0 0 2px #fff; }
.calendar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.calendar-count { min-width: 24px; color: #9a95a1; font-size: 11px; text-align: right; }
.calendar-edit { opacity: 0; padding: 3px 4px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.calendar-row:hover .calendar-edit { opacity: 1; }
.tools-section { margin-top: 2px; }
.tool-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 5px; border: 0; border-radius: 10px; text-align: left; background: transparent; cursor: pointer; }
.tool-row:hover { background: #f1eff5; }
.tool-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 11px; font-size: 18px; }
.tool-icon.mint { color: #007d64; background: #dff8f0; }
.tool-icon.lilac { color: var(--purple); background: #ece8ff; }
.tool-icon.google { color: #3367d6; background: #e8f0fe; font-weight: 800; }
.tool-icon.neutral { color: #6f697a; background: #eeecf2; }
.tool-row > span:last-child { display: grid; font-weight: 650; }
.tool-row small { margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.sidebar-note { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding: 13px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pulse-dot { flex: 0 0 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(0,184,148,.13); }
.sidebar-note p { display: grid; gap: 2px; margin: 0; font-size: 11px; }
.sidebar-note small { color: var(--muted); font-size: 10px; line-height: 1.35; }

.task-section { padding: 12px; border: 1px dashed #d8d3e3; border-radius: 14px; transition: border .18s, background .18s; }
.task-section.is-drop-target { border-color: var(--purple); background: #f0edff; }
.task-list { display: grid; gap: 6px; min-height: 8px; }
.task-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(30,24,49,.05); cursor: grab; }
.task-row:active { cursor: grabbing; }
.task-row.is-completed { opacity: .55; }
.task-row.is-completed .task-title { text-decoration: line-through; }
.task-check { appearance: none; width: 17px; height: 17px; margin: 0; border: 2px solid #a69fac; border-radius: 6px; cursor: pointer; }
.task-check:checked { border-color: var(--mint); background: var(--mint); box-shadow: inset 0 0 0 3px #fff; }
.task-content { min-width: 0; border: 0; padding: 0; background: transparent; text-align: left; cursor: pointer; }
.task-title { display: block; overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.task-due { display: block; margin-top: 2px; color: var(--purple); font-size: 9px; }
.task-grip { color: #b6b1bb; font-size: 14px; }
.completed-toggle { display: none; margin-top: 8px; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; }
.completed-toggle.is-visible { display: block; }
.day-cell.is-drop-target, .week-slot.is-drop-target { background: #eeeaff; box-shadow: inset 0 0 0 2px var(--purple); }
.task-chip { overflow: hidden; min-height: 21px; padding: 3px 6px; border: 0; border-radius: 6px; color: #60490b; background: #fff1bd; cursor: grab; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 700; }
.task-chip::before { content: "✓"; margin-right: 4px; opacity: .55; }

.calendar-main { min-width: 0; overflow: auto; padding: 18px; }
.calendar-view { min-width: 750px; min-height: 100%; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 6px 30px rgba(37,29,61,.04); }
.weekday-header { display: grid; grid-template-columns: repeat(7,1fr); min-height: 46px; border-bottom: 1px solid var(--line); }
.weekday-header div { display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.weekday-header div:nth-child(6), .weekday-header div:nth-child(7) { color: var(--purple); }
.month-grid { display: grid; grid-template-columns: repeat(7,1fr); grid-auto-rows: minmax(112px, 1fr); min-height: calc(100vh - 158px); }
.day-cell { position: relative; min-width: 0; padding: 9px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; }
.day-cell:nth-child(7n) { border-right: 0; }
.day-cell:hover { background: #faf9fd; }
.day-cell.is-outside { background: #fbfafd; }
.day-cell.is-outside .day-number { color: #bbb7c1; }
.day-cell.is-today { background: linear-gradient(150deg, #f5f2ff 0, #fff 58%); }
.day-number { display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 3px; border-radius: 9px; font-weight: 650; }
.is-today .day-number { color: #fff; background: var(--purple); box-shadow: 0 5px 12px rgba(108,92,231,.28); }
.day-events { display: grid; gap: 3px; }
.event-pill { overflow: hidden; min-height: 24px; padding: 4px 7px; border: 0; border-left: 3px solid var(--event-color); border-radius: 6px; color: #3d3946; background: color-mix(in srgb, var(--event-color) 12%, white); text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; font-size: 11px; font-weight: 650; }
.event-pill:hover { filter: saturate(1.25); }
.event-pill time { margin-right: 4px; color: var(--event-color); font-weight: 800; }
.more-events { padding: 3px 6px; color: var(--muted); font-size: 10px; font-weight: 650; }

.week-layout { display: grid; grid-template-columns: 64px repeat(7, minmax(110px,1fr)); min-height: calc(100vh - 115px); }
.week-corner, .week-day-header { position: sticky; top: 0; z-index: 4; height: 67px; background: #fff; border-bottom: 1px solid var(--line); }
.week-corner { border-right: 1px solid var(--line); }
.week-day-header { display: grid; place-content: center; gap: 3px; border-right: 1px solid var(--line); text-align: center; }
.week-day-header span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.week-day-header strong { display: grid; place-items: center; width: 29px; height: 29px; margin: auto; border-radius: 9px; }
.week-day-header.is-today strong { color: #fff; background: var(--purple); }
.time-label { height: 54px; padding: 0 10px; color: #aaa5b0; border-right: 1px solid var(--line); font-size: 10px; transform: translateY(-6px); text-align: right; }
.week-slot { position: relative; height: 54px; border-right: 1px solid var(--line); border-bottom: 1px solid #f0eef3; cursor: pointer; }
.week-slot:hover { background: #faf9fd; }
.week-event { z-index: 2; overflow: hidden; margin: 2px 4px; padding: 7px; border: 0; border-radius: 8px; color: #312d38; background: color-mix(in srgb, var(--event-color) 18%, white); border-left: 3px solid var(--event-color); cursor: pointer; font-size: 10px; font-weight: 700; text-align: left; }

.list-view { min-height: calc(100vh - 115px); padding: 28px clamp(22px, 5vw, 62px); }
.list-day { display: grid; grid-template-columns: 118px 1fr; gap: 25px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.list-date { color: var(--muted); font-size: 12px; text-transform: capitalize; }
.list-date strong { display: block; margin-top: 3px; color: var(--ink); font: 800 27px/1 Inter, ui-sans-serif, sans-serif; }
.list-events { display: grid; gap: 9px; }
.list-event { display: grid; grid-template-columns: 6px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 0; border-radius: 13px; background: #f8f7fb; cursor: pointer; text-align: left; }
.list-event:hover { background: #f1eff8; }
.list-event-color { width: 6px; height: 38px; border-radius: 5px; background: var(--event-color); }
.list-event strong { display: block; font-size: 14px; }
.list-event small { display: block; margin-top: 3px; color: var(--muted); }
.list-event time { color: var(--muted); font-size: 12px; }
.empty-state { display: grid; place-content: center; min-height: 470px; padding: 40px; text-align: center; }
.empty-illustration { position: relative; width: 95px; height: 75px; margin: 0 auto 20px; }
.empty-illustration span { position: absolute; display: block; border-radius: 50%; }
.empty-illustration span:nth-child(1) { width: 50px; height: 50px; left: 4px; top: 14px; background: #ffdbdb; }
.empty-illustration span:nth-child(2) { width: 42px; height: 42px; right: 4px; top: 0; background: #e2ddff; }
.empty-illustration span:nth-child(3) { width: 38px; height: 38px; right: 13px; bottom: 0; background: #d7f7ed; }
.empty-state h2 { margin: 0; font: 800 20px Inter, ui-sans-serif, sans-serif; }
.empty-state p { max-width: 330px; margin: 7px auto 18px; color: var(--muted); line-height: 1.5; }

.modal { width: min(620px, calc(100vw - 28px)); padding: 0; border: 0; border-radius: 22px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(24, 21, 32, .42); backdrop-filter: blur(5px); }
.modal[open] { animation: modalIn .2s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(9px) scale(.98); } }
.modal form, .share-modal { padding: 25px; }
.modal-small { width: min(460px, calc(100vw - 28px)); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.modal-header h2 { margin: 0; font: 800 23px/1.2 Inter, ui-sans-serif, sans-serif; letter-spacing: -.5px; }
.modal-close { display: grid; place-items: center; width: 35px; height: 35px; border: 0; border-radius: 11px; color: var(--muted); background: #f3f1f6; cursor: pointer; font-size: 24px; }
.modal-intro { margin: -10px 0 20px; color: var(--muted); line-height: 1.5; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field > span, .color-field legend { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .25px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #dfdce6; border-radius: 11px; outline: 0; background: #fff; transition: border .16s, box-shadow .16s; }
.field input, .field select { height: 43px; padding: 0 12px; }
.field textarea { padding: 11px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,92,231,.1); }
.field-large input { height: 52px; font: 650 17px Inter, ui-sans-serif, sans-serif; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; align-items: end; }
.date-grid { grid-template-columns: 1.25fr .75fr 1.25fr .75fr; }
.toggle-field { display: flex; align-items: center; gap: 9px; min-height: 43px; margin-bottom: 15px; cursor: pointer; }
.toggle-field input { position: absolute; opacity: 0; }
.toggle { position: relative; width: 38px; height: 22px; border-radius: 20px; background: #d9d6df; transition: .2s; }
.toggle::after { content: ""; position: absolute; width: 16px; height: 16px; top: 3px; left: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); transition: .2s; }
.toggle-field input:checked + .toggle { background: var(--purple); }
.toggle-field input:checked + .toggle::after { transform: translateX(16px); }
.color-field { margin: 0; padding: 0; border: 0; }
.color-field #colorChoices, .color-field #googleColorChoices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 11px; }
.color-choice input { position: absolute; opacity: 0; }
.color-choice span { display: block; width: 30px; height: 30px; border-radius: 10px; background: var(--choice-color); cursor: pointer; transition: transform .18s, box-shadow .18s; }
.color-choice input:checked + span { transform: scale(1.08); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--choice-color); }
.modal-actions { display: grid; grid-template-columns: auto 1fr auto auto; gap: 9px; margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); }
.subscription-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; margin: 15px 0; padding: 14px; border-radius: 15px; background: #f5f2ff; border: 1px solid #e4defc; }
.subscription-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--purple); background: #e5dfff; font-size: 21px; }
.subscription-card strong { font-size: 12px; }
.subscription-card p { overflow: hidden; margin: 3px 0 0; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.share-actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.share-action { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); text-decoration: none; transition: transform .18s, border .18s; }
.share-action:hover { transform: translateY(-2px); border-color: #cfc9df; }
.share-action > span { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #f2f0f7; font-size: 19px; }
.share-action strong { align-self: end; font-size: 12px; }
.share-action small { color: var(--muted); font-size: 10px; }
.privacy-callout, .https-warning { margin: -8px 0 18px; padding: 13px 14px; border-radius: 13px; }
.privacy-callout { color: #12624f; background: #e6f8f2; border: 1px solid #c9eee2; }
.privacy-callout p { margin: 3px 0 0; font-size: 11px; line-height: 1.45; }
.https-warning { display: grid; gap: 3px; color: #7d4d00; background: #fff4d7; border: 1px solid #f4dda3; }
.https-warning[hidden] { display: none; }
.https-warning span { font-size: 11px; line-height: 1.4; }
.help-details { margin: 16px 0 0; color: var(--muted); font-size: 11px; }
.help-details summary { cursor: pointer; font-weight: 700; }
.help-details ol { margin: 9px 0 0; padding-left: 19px; line-height: 1.6; }
.compact-actions { margin-top: 18px; }

.auth-modal { width: min(430px, calc(100vw - 28px)); padding: 28px; border: 0; border-radius: 24px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.auth-modal::backdrop { background: radial-gradient(circle at 25% 20%, rgba(108,92,231,.36), transparent 30%), rgba(20,17,28,.78); backdrop-filter: blur(10px); }
.auth-modal .auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; font-size: 20px; }
.auth-modal h2 { margin: 0; font: 800 25px/1.2 Inter, ui-sans-serif, sans-serif; letter-spacing: -.6px; }
.auth-modal #authIntro { margin: 8px 0 22px; color: var(--muted); line-height: 1.5; }
.auth-error { min-height: 18px; margin: 0 0 8px; color: #d74b55; font-size: 12px; }
.auth-submit { width: 100%; min-height: 48px; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: calc(100vw - 30px); padding: 11px 17px; border-radius: 12px; color: #fff; background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: .25s; font-weight: 650; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
  .topbar { grid-template-columns: 180px 1fr auto; }
  .search-box { display: none; }
  .topbar .button-primary { display: none; }
  .sidebar-create { display: block; }
}

@media (max-width: 820px) {
  .app-shell { grid-template: 64px calc(100vh - 64px) / 1fr; }
  .topbar { grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; padding: 0 13px; }
  .brand > span:last-child, .date-navigation .button, .icon-group, .view-switcher { display: none; }
  .date-navigation { justify-content: center; }
  .date-navigation h1 { margin: 0; font-size: 17px; }
  .mobile-menu-button { display: grid; }
  .sidebar { position: fixed; z-index: 30; top: 64px; bottom: 0; left: 0; width: min(310px, 88vw); transform: translateX(-105%); box-shadow: var(--shadow); transition: transform .25s ease; }
  .sidebar.is-open { transform: translateX(0); }
  .calendar-main { grid-row: 2; padding: 9px; }
  .calendar-view { min-width: 0; border-radius: 14px; }
  .month-grid { min-height: calc(100vh - 120px); grid-auto-rows: minmax(95px,1fr); }
  .day-cell { padding: 7px 4px; }
  .event-pill { padding: 3px 4px; border-left-width: 2px; }
  .event-pill time { display: none; }
  .week-layout { min-width: 760px; }
}

@media (max-width: 600px) {
  .modal form, .share-modal { padding: 20px; }
  .form-grid, .date-grid { grid-template-columns: 1fr 1fr; }
  .form-grid:not(.date-grid) { grid-template-columns: 1fr; }
  .share-actions-grid { grid-template-columns: 1fr; }
  .subscription-card { grid-template-columns: auto minmax(0,1fr); }
  .subscription-card .button { grid-column: 1 / -1; }
  .modal-actions { grid-template-columns: 1fr 1fr; }
  .modal-actions > span { display: none; }
  .modal-actions .button { justify-content: center; }
}
