:root {
  color-scheme: light;
  --ink: #17221f;
  --muted: #68736f;
  --faint: #98a29e;
  --paper: #f6f4ed;
  --surface: #ffffff;
  --surface-2: #edf2ed;
  --line: #dde3dc;
  --green: #173b32;
  --green-2: #266352;
  --mint: #dcebe3;
  --amber: #c8821b;
  --amber-soft: #f8ecd8;
  --red: #b6483e;
  --blue: #436785;
  --purple: #6f5b83;
  --shadow: 0 14px 44px rgba(22, 44, 36, .09);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.demo-ribbon {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto 0;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f4e8c9;
  color: #725419;
  border-bottom: 1px solid #e7d4a6;
  font-size: 12px;
  letter-spacing: .02em;
}
.demo-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--amber); }

.app-shell { min-height: 100vh; padding-top: 34px; }
.sidebar {
  position: fixed;
  inset: 34px auto 0 0;
  width: 238px;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 22px;
  background: var(--green);
  color: #fff;
  z-index: 30;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 34px; }
.brand-mark, .mobile-brand span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: #e6c879;
  color: var(--green);
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 21px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}
.brand strong { display: block; font-size: 20px; letter-spacing: .12em; }
.brand small { display: block; margin-top: 2px; color: rgba(255,255,255,.56); font-size: 10px; letter-spacing: .08em; }
.side-nav { display: grid; gap: 7px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 48px;
  padding: 0 14px;
  border-radius: 13px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  font-weight: 650;
  transition: .18s ease;
}
.side-nav a span { font-size: 20px; font-weight: 400; width: 22px; text-align: center; }
.side-nav a:hover, .side-nav a.active { color: #fff; background: rgba(255,255,255,.105); }
.sidebar-note {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 10px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.sidebar-note strong, .sidebar-note small { display: block; }
.sidebar-note strong { font-size: 11px; }
.sidebar-note small { color: rgba(255,255,255,.46); font-size: 10px; margin-top: 3px; }
.status-light { width: 8px; height: 8px; background: #76c79d; border-radius: 50%; box-shadow: 0 0 0 4px rgba(118,199,157,.13); }

.main-area { margin-left: 238px; min-height: calc(100vh - 34px); }
.topbar {
  position: sticky;
  top: 34px;
  z-index: 25;
  height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 max(32px, calc((100vw - 238px - 1120px) / 2));
  background: rgba(246,244,237,.9);
  border-bottom: 1px solid rgba(213,218,210,.72);
  backdrop-filter: blur(18px);
}
.mobile-brand { display: none; border: 0; background: none; font-weight: 800; gap: 8px; align-items: center; }
.mobile-brand span { width: 32px; height: 32px; border-radius: 10px; font-size: 17px; }
.global-search { position: relative; max-width: 610px; flex: 1; }
.global-search input {
  width: 100%; height: 44px; padding: 0 48px 0 42px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.84); color: var(--ink); outline: none;
  transition: border .18s, box-shadow .18s;
}
.global-search input:focus { border-color: #9bb9ad; box-shadow: 0 0 0 4px rgba(38,99,82,.08); }
.search-icon { position: absolute; z-index: 2; left: 14px; top: 9px; font-size: 22px; color: var(--muted); }
.global-search kbd { position: absolute; right: 12px; top: 12px; padding: 2px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; color: var(--faint); background: #fafafa; font-size: 11px; }
.search-results {
  position: absolute; inset: 51px 0 auto 0; max-height: 390px; overflow: auto; padding: 8px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow);
}
.search-result { width: 100%; border: 0; background: none; display: flex; align-items: center; padding: 12px; border-radius: 11px; cursor: pointer; text-align: left; }
.search-result:hover, .search-result:focus { background: var(--surface-2); outline: none; }
.search-result strong { font-size: 14px; }
.search-result span { margin-left: 9px; color: var(--muted); font-size: 12px; }
.search-result em { margin-left: auto; color: var(--faint); font-style: normal; font-size: 11px; }
.header-chip { margin-left: auto; white-space: nowrap; border: 1px solid var(--line); background: #fff; padding: 9px 13px; border-radius: 99px; font-size: 12px; color: var(--green); font-weight: 700; cursor: pointer; }

.content { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 34px 0 80px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.eyebrow { margin: 0 0 6px; color: var(--green-2); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 5px; font-family: Georgia, "Songti SC", serif; font-size: clamp(29px, 4vw, 42px); letter-spacing: -.035em; }
.page-head > div > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.page-actions { display: flex; gap: 9px; align-items: center; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 20px rgba(40,52,46,.035); overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 17px 20px; border-bottom: 1px solid #edf0ec; }
.card-head h2 { margin: 0; font-size: 15px; }
.card-head span, .card-head button { font-size: 11px; color: var(--muted); }
.card-body { padding: 20px; }
.section-stack { display: grid; gap: 12px; }

.event-card { display: grid; grid-template-columns: 65px 1fr auto; gap: 15px; align-items: center; padding: 16px; border: 1px solid #e9ede8; border-radius: 15px; background: #fff; cursor: pointer; transition: .18s ease; }
.event-card:hover { border-color: #bdd0c8; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(23,59,50,.06); }
.event-date { padding-right: 13px; border-right: 1px solid var(--line); text-align: center; }
.event-date strong { display: block; font-family: Georgia, serif; font-size: 23px; line-height: 1; }
.event-date small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.event-main { min-width: 0; }
.event-main .security-name { color: var(--muted); font-size: 11px; }
.event-main h3 { margin: 3px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.event-main p { margin: 0; color: var(--muted); font-size: 11px; }
.countdown { text-align: right; color: var(--green-2); font-size: 11px; font-weight: 750; }
.status-tag, .category-tag { display: inline-flex; align-items: center; height: 23px; padding: 0 8px; border-radius: 99px; font-size: 10px; font-weight: 750; }
.status-tag { background: var(--amber-soft); color: #9a6412; }
.status-tag.confirmed, .status-tag.completed { background: var(--mint); color: var(--green-2); }
.status-tag.postponed { background: #f6dedb; color: var(--red); }
.category-tag { background: #eef1ef; color: var(--muted); }
.category-tag.report { background: #e2ece7; color: var(--green-2); }
.category-tag.dividend { background: #f8ecd8; color: #996315; }
.category-tag.unlock { background: #f5e2df; color: var(--red); }
.category-tag.ipo { background: #e4eaf1; color: var(--blue); }
.category-tag.company { background: #ede7f1; color: var(--purple); }
.category-tag.dragon_tiger { background: #fff1d6; color: #a65f00; }
.category-tag.expiry { background: #f4e9ff; color: #7042a8; }
.category-tag.policy { background: #f7e3e8; color: #9d3650; }

.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.metric { min-height: 88px; padding: 16px; border-radius: 15px; background: #f7f8f5; border: 1px solid #edf0eb; cursor: pointer; }
.metric:hover { background: var(--surface-2); }
.metric span { color: var(--muted); font-size: 11px; }
.metric strong { display: block; margin-top: 8px; font-family: Georgia, serif; font-size: 27px; }
.metric strong small { font-family: inherit; font-size: 11px; font-weight: 400; color: var(--faint); }
.empty-state { padding: 50px 28px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 18px; background: var(--surface-2); color: var(--green); font-size: 25px; }
.empty-state h3 { margin-bottom: 7px; font-size: 16px; }
.empty-state p { max-width: 380px; margin: 0 auto 19px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.btn { min-height: 40px; border: 0; border-radius: 12px; padding: 0 16px; background: var(--green); color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; transition: .15s; }
.btn:hover { background: #245548; transform: translateY(-1px); }
.btn.secondary { color: var(--green); background: var(--mint); }
.btn.ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.btn.danger { color: var(--red); background: #f7e7e4; }
.btn.small { min-height: 32px; padding: 0 11px; font-size: 11px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.calendar-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.month-nav { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
.month-label { min-width: 112px; text-align: center; font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.segmented { display: inline-flex; padding: 3px; border-radius: 11px; background: #e9ece7; }
.segmented button { border: 0; padding: 7px 11px; border-radius: 8px; background: none; color: var(--muted); font-size: 11px; cursor: pointer; }
.segmented button.active { background: #fff; color: var(--green); box-shadow: 0 2px 8px rgba(0,0,0,.06); font-weight: 700; }
.calendar-wrap { padding: 10px 18px 18px; }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.weekdays div { padding: 11px 4px; color: var(--faint); text-align: center; font-size: 10px; }
.day-cell { position: relative; min-height: 88px; padding: 10px; border: 0; border-top: 1px solid #edf0ec; border-right: 1px solid #edf0ec; background: #fff; text-align: left; cursor: pointer; }
.day-cell:nth-child(7n) { border-right: 0; }
.day-cell.outside { color: #b7beb9; background: #fafaf8; }
.day-cell.today .day-number { background: var(--green); color: #fff; }
.day-cell.selected { background: #edf5f0; box-shadow: inset 0 0 0 2px #9fc1b4; }
.day-number { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; font-size: 11px; }
.day-holidays { display: grid; justify-items: start; gap: 3px; margin-top: 5px; }
.holiday-badge { max-width: 100%; padding: 2px 5px; border-radius: 5px; font-size: 8px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.holiday-badge.cn { color: #9b342f; background: #f9dfdc; }
.holiday-badge.us { color: #315d91; background: #e1ebf7; }
.holiday-badge.policy { color: #8f2f49; background: #f6dfe6; }
.day-cell:has(.day-holidays) .day-count { right: 8px; left: auto; }
.day-count { position: absolute; left: 10px; bottom: 10px; padding: 3px 7px; border-radius: 99px; background: var(--amber-soft); color: #95600d; font-size: 9px; font-weight: 750; }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 20px 17px; }
.filter-chip { border: 1px solid var(--line); border-radius: 99px; padding: 6px 10px; background: #fff; color: var(--muted); font-size: 10px; cursor: pointer; }
.filter-chip.active { background: var(--green); color: #fff; border-color: var(--green); }

.stock-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; padding: 24px; background: var(--green); color: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.stock-monogram { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border-radius: 18px; background: #e6c879; color: var(--green); font-family: Georgia, serif; font-size: 21px; font-weight: 800; }
.stock-hero h1 { margin: 0 0 4px; font-size: 29px; }
.stock-hero p { margin: 0; color: rgba(255,255,255,.6); font-size: 11px; }
.stock-hero .btn { margin-left: auto; background: #fff; color: var(--green); }
.stock-hero .btn.following { background: rgba(255,255,255,.13); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.timeline { position: relative; display: grid; gap: 12px; }
.timeline:before { content: ""; position: absolute; left: 26px; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
.timeline .event-card { position: relative; margin-left: 0; background: #fff; }

.watch-row { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-bottom: 1px solid #edf0ec; }
.watch-row:last-child { border: 0; }
.security-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--surface-2); color: var(--green); font-family: Georgia, serif; font-size: 14px; font-weight: 800; }
.watch-row div:nth-child(2) { min-width: 0; flex: 1; }
.watch-row strong, .watch-row small { display: block; }
.watch-row strong { font-size: 13px; }
.watch-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.settings-list { padding: 0 20px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; border-bottom: 1px solid #edf0ec; }
.setting-row:last-child { border: 0; }
.setting-row label, .setting-row strong { display: block; font-size: 12px; font-weight: 700; }
.setting-row p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.setting-row select, .setting-row input[type="time"] { min-width: 108px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; }
.switch { position: relative; width: 42px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #ccd2ce; cursor: pointer; transition: .2s; }
.switch span:after { content: ""; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.switch input:checked + span { background: var(--green-2); }
.switch input:checked + span:after { transform: translateX(18px); }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 20px; }
.check-chip input { position: absolute; opacity: 0; }
.check-chip span { display: block; padding: 10px; border: 1px solid var(--line); border-radius: 10px; text-align: center; color: var(--muted); font-size: 10px; cursor: pointer; }
.check-chip input:checked + span { border-color: #9bb9ad; background: var(--mint); color: var(--green); font-weight: 700; }
.preview-row { padding: 14px 0; border-bottom: 1px solid #edf0ec; }
.preview-row:last-child { border: 0; }
.preview-row strong { display: block; margin-bottom: 4px; font-size: 12px; }
.preview-row span { color: var(--muted); font-size: 10px; }
.code { display: block; margin-top: 6px; padding: 6px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 7px; background: #f2f3f0; color: #66716d; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }

.ops-banner { display: flex; align-items: center; gap: 16px; padding: 19px 21px; margin-bottom: 20px; border-radius: 17px; background: #e9f1ec; border: 1px solid #cfdfd5; }
.ops-banner span { font-size: 25px; }
.ops-banner h2 { margin: 0 0 4px; font-size: 14px; }
.ops-banner p { margin: 0; color: var(--muted); font-size: 10px; }
.ops-metrics { grid-template-columns: repeat(5, 1fr); margin-bottom: 20px; }
.ops-metrics .metric { min-height: 78px; cursor: default; }
.source-row { display: grid; grid-template-columns: 1.3fr .6fr .7fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid #edf0ec; }
.source-row:last-child { border: 0; }
.source-row strong, .source-row small { display: block; }
.source-row strong { font-size: 11px; }
.source-row small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.healthy { color: var(--green-2); font-weight: 750; font-size: 10px; }
.ops-event { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0ec; }
.ops-event:last-child { border: 0; }
.ops-event > div { flex: 1; min-width: 0; }
.ops-event strong, .ops-event small { display: block; }
.ops-event strong { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops-event small { color: var(--muted); font-size: 9px; margin-top: 4px; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8,20,16,.58); backdrop-filter: blur(7px); }
.modal { width: min(560px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; background: #fff; border-radius: 24px; box-shadow: 0 28px 90px rgba(0,0,0,.3); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 24px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 6px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 22px; }
.close-btn { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f2ef; cursor: pointer; }
.modal-body { padding: 22px 24px 25px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.detail-item { padding: 12px; border-radius: 12px; background: #f7f8f5; }
.detail-item small, .detail-item strong { display: block; }
.detail-item small { color: var(--muted); font-size: 9px; }
.detail-item strong { margin-top: 5px; font-size: 11px; }
.source-box { padding: 14px; border-radius: 13px; background: var(--surface-2); font-size: 10px; line-height: 1.6; }
.source-box a { color: var(--green-2); font-weight: 700; text-decoration: underline; }
.revision { margin-top: 10px; padding: 11px; border-left: 3px solid var(--amber); background: #fbf6eb; font-size: 10px; line-height: 1.6; }
.paywall-mark { display: grid; place-items: center; width: 62px; height: 62px; margin: 8px auto 18px; border-radius: 20px; background: var(--amber-soft); color: var(--amber); font-size: 28px; }
.paywall { text-align: center; }
.paywall h2 { margin-bottom: 8px; font-family: Georgia, "Songti SC", serif; }
.paywall p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.paywall ul { display: inline-grid; gap: 8px; margin: 12px auto 22px; padding: 0; list-style: none; text-align: left; font-size: 11px; }
.paywall li:before { content: "✓"; margin-right: 8px; color: var(--green-2); font-weight: 900; }
.toast { position: fixed; z-index: 120; right: 26px; bottom: 26px; max-width: 360px; padding: 13px 17px; border-radius: 12px; background: #17221f; color: #fff; box-shadow: var(--shadow); font-size: 11px; }
.hidden { display: none !important; }
.loading-page { display: grid; place-items: center; padding: 120px 0; color: var(--muted); }
.spinner { width: 27px; height: 27px; border: 3px solid #dce2dd; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
.loading-page p { margin: 12px 0 0; font-size: 11px; }
@keyframes spin { to { transform: rotate(360deg); } }
.bottom-nav { display: none; }

@media (max-width: 900px) {
  .sidebar { display: none; }
  .main-area { margin-left: 0; }
  .topbar { padding: 0 22px; }
  .mobile-brand { display: flex; }
  .grid.two { grid-template-columns: 1fr; }
  .ops-metrics { grid-template-columns: repeat(3, 1fr); }
  .source-row { grid-template-columns: 1fr auto; }
  .source-row > div:nth-child(2), .source-row > div:nth-child(3) { display: none; }
}

@media (max-width: 640px) {
  .demo-ribbon { justify-content: flex-start; padding: 0 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar { top: 34px; height: 66px; padding: 0 14px; gap: 10px; }
  .mobile-brand { font-size: 0; }
  .global-search input { height: 40px; padding-left: 37px; font-size: 12px; }
  .search-icon { top: 7px; }
  .global-search kbd, .header-chip { display: none; }
  .content { width: calc(100% - 28px); padding: 25px 0 96px; }
  .page-head { align-items: flex-start; margin-bottom: 20px; }
  .page-head .page-actions { flex-wrap: wrap; justify-content: flex-end; }
  h1 { font-size: 29px; }
  .event-card { grid-template-columns: 55px 1fr; padding: 13px; }
  .event-card .countdown { grid-column: 2; text-align: left; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .metric { min-height: 75px; padding: 12px; }
  .metric strong { font-size: 22px; }
  .calendar-wrap { padding: 7px 7px 12px; overflow-x: auto; }
  .weekdays, .calendar-grid { min-width: 560px; }
  .day-cell { min-height: 72px; }
  .stock-hero { align-items: flex-start; flex-wrap: wrap; padding: 19px; }
  .stock-hero .btn { margin-left: 0; width: 100%; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-metrics { grid-template-columns: repeat(2, 1fr); }
  .bottom-nav {
    position: fixed; z-index: 50; inset: auto 0 0 0; height: calc(64px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 6px env(safe-area-inset-bottom); background: rgba(255,255,255,.94); border-top: 1px solid var(--line); backdrop-filter: blur(18px);
  }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--faint); }
  .bottom-nav a span { font-size: 18px; }
  .bottom-nav a small { font-size: 9px; }
  .bottom-nav a.active { color: var(--green); font-weight: 800; }
  .toast { left: 14px; right: 14px; bottom: 77px; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal { width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; }
}

