@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #06101f;
  --surface: #0c1a2b;
  --surface-high: #122438;
  --line: #ffffff12;
  --text: #f2f6fc;
  --muted: #9daec3;
  --blue: #71b8ff;
  --green: #5ed8b0;
  --amber: #f2c374;
  --gradient: linear-gradient(115deg, #3978e7, #25b2e6);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 0, #10243c55, transparent 45%), var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button,
a,
input {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #86d9ff;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  border: 0;
}
input {
  min-width: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  font-weight: 750;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
}
p {
  overflow-wrap: anywhere;
}
small {
  font-size: 12px;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: #fff;
  color: #06101f;
  padding: 12px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  background: #081321;
  border-right: 1px solid var(--line);
  padding: 36px 22px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 6px;
}
.brand > span {
  font-size: 10px;
  letter-spacing: 3px;
}
.brand strong {
  display: block;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.brand-dot {
  color: #52b8ef;
}
.sidebar-label {
  font-size: 9px;
  color: #778ca4;
  letter-spacing: 2px;
  margin: 51px 12px 16px;
}
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.main-nav a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}
.main-nav a:hover {
  background: #ffffff06;
  color: #fff;
}
.main-nav a[aria-current] {
  background: linear-gradient(110deg, #3978e730, #25b2e612);
  color: #8ed5ff;
  border-color: #56b8ff26;
}
.nav-icon {
  font-size: 24px;
  line-height: 24px;
  width: 26px;
  text-align: center;
  font-weight: 400;
}
.sidebar-note {
  margin-top: auto;
  border: 1px solid var(--line);
  padding: 18px 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #13284066, #0c182522);
}
.sidebar-note strong {
  font-size: 13px;
  display: block;
  margin: 12px 0 6px;
}
.sidebar-note p {
  font-size: 12px;
  color: var(--muted);
}
.tiny-compass {
  color: var(--blue);
  font-size: 27px;
}
.sidebar-footer {
  font-size: 10px;
  letter-spacing: 2px;
  color: #8195ac;
  margin: 26px 10px 0;
}
.sidebar-footer span {
  display: block;
  font-size: 8px;
  margin-top: 5px;
  letter-spacing: 1px;
  color: #60748d;
}
.workspace {
  margin-left: 230px;
}
.topbar {
  max-width: 1360px;
  margin: auto;
  height: 86px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.group-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.group-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #153049;
  border-radius: 50%;
  font-size: 22px;
  color: #82c7f2;
}
.mobile-brand,
.mobile-only {
  display: none;
}
main {
  max-width: 1360px;
  margin: auto;
  padding: 0 40px 28px;
}
.hero {
  min-height: 350px;
  border: 1px solid #709abe24;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #163348 url("assets/landscape.svg") center right/cover;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #06101ff2 0%, #08182dc9 32%, #08182d33 70%),
    linear-gradient(0deg, #06101f66, transparent 60%);
  z-index: -1;
}
.hero-content {
  padding: 35px 38px;
  max-width: 620px;
}
.eyebrow {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #c0d1e0;
  margin-bottom: 12px;
}
.blue {
  color: #86b7e4;
  font-size: 9px;
  letter-spacing: 1.7px;
}
.hero h1 {
  font-size: clamp(36px, 4.4vw, 57px);
  letter-spacing: -2px;
}
.hero p {
  font-size: 14px;
  color: #c3d1e0;
  margin-top: 14px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0b1d30e8;
  border: 1px solid #8aacc445;
  border-radius: 12px;
  padding: 6px 7px 6px 15px;
  max-width: 430px;
  margin-top: 24px;
  box-shadow: 0 8px 24px #0002;
}
.search-form > span {
  font-size: 26px;
  color: #a5bbd2;
}
.search-form input {
  background: transparent;
  border: 0;
  flex: 1;
  width: 100%;
  color: var(--text);
  height: 42px;
  font-size: 13px;
}
.search-form input::placeholder {
  color: #b7c7d9;
}
.search-form button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  background: var(--gradient);
  font-size: 21px;
  font-weight: 600;
}
.hero-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 8px;
  letter-spacing: 2px;
  color: #d3e4e8;
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 26px;
}
.quick-actions > button,
.quick-actions > a {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 12px;
  background: linear-gradient(120deg, #13253a, #0c192a);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 84px;
  padding: 15px;
  font-size: 13px;
  font-weight: 650;
}
.quick-actions > button:hover,
.quick-actions > a:hover {
  border-color: #64b8f85c;
  transform: translateY(-1px);
}
.quick-actions small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 3px;
}
.quick-actions > * > span:last-child {
  color: #91a8c0;
  margin-left: auto;
}
.action-icon {
  display: grid;
  place-items: center;
  border-radius: 12px;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  background: #214b7338;
  color: #74c4fb;
  font-size: 23px;
}
.home-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(130deg, #122235b3, #0c1726e6);
  min-width: 0;
}
.section-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
.badge {
  white-space: nowrap;
  display: inline-block;
  color: #93d1fb;
  background: #26679820;
  border: 1px solid #478abd30;
  border-radius: 30px;
  padding: 5px 9px;
  font-size: 10px;
  line-height: 1.5;
}
.text-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  background: none;
  color: #8fcaff;
  font-size: 12px;
  white-space: nowrap;
  padding: 4px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}
.empty-state {
  padding: 26px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.empty-symbol {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #274a6e50, #1b344526);
  border: 1px solid #78bded1a;
  font-size: 27px;
  color: #89bde7;
  margin-bottom: 5px;
}
.empty-state h3 {
  font-size: 16px;
}
.empty-state p {
  max-width: 370px;
  color: var(--muted);
  font-size: 13px;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}
.primary-button {
  background: var(--gradient);
  color: #fff;
}
.secondary-button {
  background: #192c41;
  border: 1px solid #7aafdc2b;
  color: #b8daff;
}
.empty-state .secondary-button {
  margin-top: 6px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 24px;
}
.week-day {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #14263a55;
  text-align: center;
  padding: 9px 0;
  color: var(--muted);
  font-size: 10px;
}
.week-day strong {
  display: block;
  font-size: 17px;
  color: #e1eafa;
  margin: 5px 0 10px;
}
.week-day.today {
  border-color: #6ba5d553;
  background: #203c5844;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #5d6d80;
}
.available {
  background: var(--green);
}
.partial {
  background: var(--amber);
}
.unknown {
  background: #65788d;
}
.unavailable {
  background: #c7d0dc;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 10px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vote-preview {
  grid-column: 1/-1;
}
.vote-preview .empty-state {
  padding: 20px 10px;
}
.page-footnote {
  text-align: center;
  color: #758aa3;
  font-size: 11px;
  margin-top: 25px;
}
.page-heading {
  padding: 24px 0 28px;
}
.page-heading p {
  color: var(--muted);
  margin-top: 13px;
  font-size: 14px;
}
.discovery-search {
  max-width: none;
  margin: 0 0 24px;
  background: #102238;
}
.discovery-search button {
  font-size: 13px;
  padding: 0 17px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cards-grid > .empty-state {
  grid-column: 1/-1;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0c192b80;
  padding: 55px 20px;
}
.segmented {
  display: flex;
  gap: 6px;
  background: #081727;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 12px;
  width: fit-content;
  margin-bottom: 24px;
  max-width: 100%;
  overflow-x: auto;
}
.segmented button {
  border-radius: 8px;
  padding: 10px 18px;
  background: transparent;
  min-height: 44px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted);
}
.segmented button[aria-pressed="true"],
.segmented button[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(115deg, #3978e765, #25b2e638);
}
.result-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.result-button {
  text-align: left;
  min-height: 100px;
  background: linear-gradient(135deg, #17304a, #0d1d30);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.result-button:hover {
  border-color: #76bef8;
}
.result-button strong {
  display: block;
  font-size: 17px;
}
.result-button small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.destination-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.destination-header h2 {
  font-size: 28px;
}
.mode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.mode-list button {
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #11273c;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 13px;
}
.mode-list button[aria-pressed="true"] {
  background: var(--gradient);
}
.detail-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.detail-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.detail-list strong {
  display: block;
}
.detail-list p,
.metadata {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.trip-card h2 {
  margin: 12px 0;
}
.trip-card .primary-button {
  margin-top: 20px;
}
.ballot-options {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.ballot-options li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0b1727;
  padding: 10px;
}
.rank-number {
  font-size: 12px;
  color: #81bff0;
  width: 19px;
}
.option-name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.option-name small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.rank-controls {
  display: flex;
  gap: 3px;
}
.icon-button {
  border: 1px solid var(--line);
  background: #182b41;
  border-radius: 9px;
  min-width: 44px;
  min-height: 44px;
  font-size: 22px;
}
.settings-card {
  margin-top: 20px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.setting-row:last-child {
  border: 0;
  padding-bottom: 0;
}
.setting-row input {
  width: 24px;
  height: 24px;
  accent-color: #3978e7;
  outline-offset: 10px;
}
.setting-row:has(input) {
  min-height: 68px;
}
.setting-row .muted {
  margin-top: 4px;
}
dialog {
  color: var(--text);
  background: #0c1a2b;
  border: 1px solid #7d9ab73d;
  border-radius: 20px;
  padding: 26px;
  width: min(530px, calc(100% - 24px));
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 30px 100px #0009;
}
dialog::backdrop {
  background: #010812b8;
  backdrop-filter: blur(6px);
}
.dialog-heading,
.month-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.month-heading {
  margin: 25px 0 15px;
}
.calendar-weekdays,
.month-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.calendar-weekdays {
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  margin-bottom: 9px;
}
.month-days button {
  min-height: 48px;
  border-radius: 8px;
  background: #14263a;
  border: 1px solid var(--line);
  font-size: 13px;
}
.month-days button[data-status="available"] {
  background: #23755e5c;
  border-color: #5ed8b07a;
}
.month-days button[data-status="maybe"] {
  background: #8c652738;
  border-color: #f2c3747a;
}
.month-days button[data-status="unavailable"] {
  background: #58687b55;
  border-color: #bac9d077;
}
.month-days button[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px #fff;
}
.month-days button small {
  font-size: 9px;
  display: block;
}
.month-days + .legend {
  margin-bottom: 12px;
}
#save-availability {
  width: 100%;
  margin-top: 20px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 115px);
  transform: translateX(-50%);
  z-index: 30;
  background: #17334c;
  border: 1px solid #76abd74d;
  padding: 13px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 40px #0008;
  font-size: 13px;
  max-width: calc(100% - 30px);
}
.noscript {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: #16374e;
  z-index: 100;
}
.loading {
  color: var(--muted);
  padding: 35px 12px;
  text-align: center;
  font-size: 13px;
}
.loading:before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid #82c5f044;
  border-top-color: #82c5f0;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: -2px;
  animation: spin 1s linear infinite;
}
.freshness {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 400px;
  }
  .hero-content {
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 62px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
    padding: 28px 15px;
  }
  .workspace {
    margin-left: 190px;
  }
  main {
    padding: 0 24px 28px;
  }
  .topbar {
    padding: 0 24px;
  }
  .quick-actions {
    gap: 10px;
  }
  .quick-actions > button,
  .quick-actions > a {
    padding: 12px;
    gap: 8px;
    font-size: 12px;
  }
  .quick-actions small {
    font-size: 9px;
  }
  .action-icon {
    width: 32px;
    height: 34px;
  }
  .card {
    padding: 20px;
  }
  .home-grid {
    gap: 16px;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .badge {
    font-size: 9px;
  }
  .toast {
    left: calc(50% + 95px);
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 0;
    border: 0;
  }
  .sidebar .brand,
  .sidebar-label,
  .sidebar-note,
  .sidebar-footer {
    display: none;
  }
  .main-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: row;
    justify-content: space-around;
    gap: 3px;
    background: #081525f5;
    backdrop-filter: blur(18px);
    border-top: 1px solid #7292b029;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
  }
  .main-nav a {
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-height: 55px;
    padding: 5px 3px;
    font-size: 10px;
    border-radius: 11px;
  }
  .main-nav a[aria-current] {
    background: linear-gradient(130deg, #3978e73d, #25b2e61a);
    border-color: #5095ca24;
  }
  .nav-icon {
    font-size: 23px;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 74px;
    padding: 0 20px;
  }
  .desktop-kicker {
    display: none;
  }
  .mobile-brand {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 650;
  }
  .mobile-brand strong {
    display: block;
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: -0.8px;
  }
  .group-link {
    font-size: 11px;
  }
  .group-symbol {
    width: 28px;
    height: 28px;
  }
  main {
    padding: 0 16px calc(98px + env(safe-area-inset-bottom));
  }
  .hero {
    min-height: 354px;
    border-radius: 18px;
    background-position: 62% center;
  }
  .hero-content {
    padding: 28px 23px;
    max-width: none;
  }
  .hero:before {
    background:
      linear-gradient(90deg, #06101feb, #08182d87 60%, #08182d18),
      linear-gradient(0deg, #06101f66, transparent);
  }
  .hero h1 {
    font-size: 43px;
    line-height: 1.08;
    letter-spacing: -1.8px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    max-width: 230px;
  }
  .hero p {
    font-size: 13px;
    margin-top: 17px;
  }
  .mobile-only {
    display: block;
  }
  .hero-caption {
    right: 15px;
    bottom: 13px;
    font-size: 6px;
    letter-spacing: 1.4px;
  }
  .hero .search-form {
    margin-top: 23px;
    max-width: 350px;
  }
  .search-form input {
    font-size: 12px;
  }
  .quick-actions {
    margin: 15px 0 21px;
    gap: 8px;
  }
  .quick-actions > button,
  .quick-actions > a {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 10px;
    min-height: 114px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.4;
  }
  .quick-actions small {
    display: none;
  }
  .quick-actions > * > span:last-child {
    position: absolute;
    right: 9px;
    top: 15px;
    font-size: 12px;
  }
  .action-icon {
    width: 31px;
    height: 32px;
    border-radius: 8px;
    font-size: 21px;
  }
  .home-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .card {
    border-radius: 15px;
    padding: 20px;
  }
  .section-heading {
    flex-wrap: nowrap;
    gap: 9px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .badge {
    padding: 5px 7px;
    font-size: 8px;
  }
  .empty-state {
    padding: 24px 4px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .vote-preview {
    grid-column: auto;
  }
  .week-day {
    padding: 10px 0;
    font-size: 10px;
  }
  .week-day strong {
    font-size: 18px;
  }
  .week-grid {
    gap: 7px;
    margin-top: 21px;
  }
  .page-heading {
    padding-top: 19px;
  }
  .page-heading h1 {
    font-size: 33px;
    max-width: 340px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .result-list {
    grid-template-columns: 1fr;
  }
  .result-button {
    min-height: 84px;
  }
  .destination-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .segmented {
    width: 100%;
  }
  .segmented button {
    padding: 10px 13px;
    flex: 1;
    font-size: 12px;
  }
  .discovery-search {
    padding-left: 12px;
    gap: 8px;
  }
  .discovery-search button {
    padding: 0 12px;
  }
  .toast {
    left: 50%;
    bottom: calc(90px + env(safe-area-inset-bottom));
    width: max-content;
  }
  dialog {
    padding: 20px 14px;
  }
  .month-days {
    gap: 3px;
  }
  .month-days button {
    min-height: 45px;
  }
  .month-days button small {
    font-size: 8px;
  }
  .dialog-heading {
    padding: 0 4px;
  }
  .legend {
    gap: 13px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 38px;
  }
  .hero-content {
    padding: 25px 17px;
  }
  .quick-actions > button,
  .quick-actions > a {
    font-size: 10px;
    padding: 11px 8px;
  }
  .badge {
    white-space: normal;
    text-align: center;
  }
  .card {
    padding: 17px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .week-grid {
    gap: 4px;
  }
  .segmented button {
    padding: 10px;
  }
  .month-days button {
    min-height: 44px;
  }
  dialog {
    padding: 17px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
html.reduce-motion *,
html.reduce-motion *:before {
  animation: none !important;
  transition: none !important;
}

h1,
h2,
h3,
.result-button strong {
  overflow-wrap: anywhere;
}
.month-days button {
  position: relative;
}
.month-days button .dot {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 5px;
  height: 5px;
}
