/* 诺瓦出差助手 · 网页控制台
   色板与小程序（miniprogram/app.wxss）一致；尺寸全部用 rem，根字号随视口放大，4K 屏下整体等比放大。 */

:root {
  --brand: #0b346e;
  --brand-strong: #072650;
  --brand-ink: #1d4f91;
  --brand-soft: #e6eef9;
  --brand-softer: #f2f6fc;
  --accent: #e0a43c;
  --accent-ink: #8a5a10;
  --accent-soft: #fbefd9;
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --line: #e3e8f0;
  --line-soft: #edf1f6;
  --text-1: #13233d;
  --text-2: #44526a;
  --text-3: #6b7890;
  --text-4: #a3adbf;
  --success: #1f8a5b;
  --success-soft: #e3f4ec;
  --danger: #c8402f;
  --danger-soft: #fbe9e6;
  --warn-ink: #8a5a10;
  --warn-soft: #fdf4e3;

  --radius-xs: .375rem;
  --radius-sm: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;

  --shadow-card: 0 0 0 1px rgb(19 35 61 / .06), 0 1px 2px rgb(19 35 61 / .04), 0 .5rem 1.5rem -.25rem rgb(19 35 61 / .06);
  --shadow-raise: 0 0 0 1px rgb(19 35 61 / .07), 0 .25rem .5rem -.125rem rgb(19 35 61 / .08), 0 1rem 2rem -.75rem rgb(19 35 61 / .16);
  --shadow-pop: 0 0 0 1px rgb(11 52 110 / .06), 0 .5rem 1rem -.25rem rgb(11 52 110 / .10), 0 2rem 4rem -.75rem rgb(11 52 110 / .28);
  --ease: cubic-bezier(.2, 0, 0, 1);

  --sidebar-w: 15.5rem;
  --content-max: 92rem;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* 1080p 约 16px，2K 约 19px，4K 封顶 24px */
html { font-size: clamp(14px, .42vw + 8px, 24px); }

*, *::before, *::after { box-sizing: border-box; }
[x-cloak] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { margin: 0; text-wrap: balance; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }

.icon { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: .875rem; height: .875rem; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ---------- 表单 ---------- */

input, select, textarea {
  width: 100%;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  font: inherit;
  font-size: .875rem;
  color: var(--text-1);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition-property: border-color, box-shadow, background-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
textarea { resize: vertical; min-height: 5.5rem; line-height: 1.55; }
select { appearance: none; padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7890' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 1rem; }
input::placeholder, textarea::placeholder { color: var(--text-4); }
input:hover:not(:focus):not(:disabled), select:hover:not(:focus):not(:disabled), textarea:hover:not(:focus):not(:disabled) { border-color: #c9d2df; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-soft); }
input:disabled, select:disabled { background: var(--surface-2); color: var(--text-3); }

.field { display: flex; flex-direction: column; gap: .375rem; min-width: 0; }
.field-label { font-size: .8125rem; font-weight: 600; color: var(--text-2); }
.field-label em { font-style: normal; color: var(--danger); margin-left: .125rem; }
.field-hint { font-size: .75rem; color: var(--text-3); line-height: 1.55; }
.field-error { font-size: .8125rem; color: var(--danger); }
.field-ok { font-size: .8125rem; color: var(--success); }
.field-counter { position: relative; }
.field-counter textarea { padding-bottom: 1.75rem; }
.field-counter .counter { position: absolute; right: .75rem; bottom: .5rem; font-size: .75rem; color: var(--text-4); font-variant-numeric: tabular-nums; pointer-events: none; }

.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.input-icon > input { padding-left: 2.375rem; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4375rem;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition-property: color, background-color, box-shadow, opacity, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.btn:active:not(:disabled) { scale: .96; }
.btn:disabled { opacity: .55; }
.btn-sm { min-height: 2rem; padding: 0 .75rem; font-size: .8125rem; border-radius: var(--radius-xs); }
.btn-lg { min-height: 2.875rem; padding: 0 1.375rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-icon { width: 2.25rem; min-height: 2.25rem; padding: 0; }
.btn-primary { color: #fff; background: var(--brand); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 1px 2px rgb(11 52 110 / .25); }
.btn-primary:hover:not(:disabled) { background: var(--brand-strong); }
.btn-soft { color: var(--brand-ink); background: var(--brand-soft); }
.btn-soft:hover:not(:disabled) { background: #d9e5f6; }
.btn-ghost { color: var(--text-2); background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgb(19 35 61 / .04); }
.btn-ghost:hover:not(:disabled) { color: var(--text-1); background: var(--surface-2); }
.btn-plain { color: var(--text-2); }
.btn-plain:hover:not(:disabled) { color: var(--text-1); background: var(--surface-2); }
.btn-accent { color: var(--accent-ink); background: var(--accent-soft); }
.btn-accent:hover:not(:disabled) { background: #f8e3bd; }
.btn-danger { color: var(--danger); background: var(--danger-soft); }
.btn-danger:hover:not(:disabled) { background: #f8dad6; }
.btn-success { color: #fff; background: var(--success); }
.btn-success:hover:not(:disabled) { background: #187049; }

/* ---------- 标签 ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  flex-shrink: 0;
  height: 1.375rem;
  padding: 0 .5rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.chip-brand { color: var(--brand-ink); background: var(--brand-soft); }
.chip-accent { color: var(--accent-ink); background: var(--accent-soft); }
.chip-neutral { color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip-success { color: var(--success); background: var(--success-soft); }
.chip-danger { color: var(--danger); background: var(--danger-soft); }
.chip-dot::before { content: ""; width: .375rem; height: .375rem; border-radius: 50%; background: currentColor; }

/* 餐厅评级，由好到差：夯、顶级、人上人、NPC、拉完了（与小程序一致） */
.tier-solid { color: #fff; background: var(--brand); }
.tier-top { color: var(--accent-ink); background: var(--accent-soft); }
.tier-high { color: var(--brand-ink); background: var(--brand-soft); }
.tier-normal { color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.tier-low { color: var(--danger); background: var(--danger-soft); }

.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; }

/* ---------- 布局 ---------- */

.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 1.25rem .875rem 1rem;
  color: rgb(255 255 255 / .78);
  background:
    radial-gradient(28rem 20rem at 0% 0%, rgb(255 255 255 / .07), transparent 60%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-strong) 100%);
}
.brand { display: flex; align-items: center; gap: .75rem; padding: 0 .5rem; }
.brand-logo { width: 2.375rem; height: 2.375rem; border-radius: .6875rem; }
.brand-name { font-size: .9375rem; font-weight: 700; color: #fff; letter-spacing: .01em; line-height: 1.25; white-space: nowrap; }
.brand-note { font-size: .6875rem; color: rgb(255 255 255 / .5); letter-spacing: .04em; white-space: nowrap; }

.nav { display: flex; flex-direction: column; gap: .125rem; margin-top: 1.75rem; flex: 1; overflow-y: auto; }
.nav-group { margin: 1.25rem .75rem .375rem; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; color: rgb(255 255 255 / .42); }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 2.5rem;
  padding: 0 .75rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: rgb(255 255 255 / .72);
  text-align: left;
  transition-property: color, background-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.nav-link .icon { opacity: .85; }
.nav-link:hover { color: #fff; background: rgb(255 255 255 / .07); }
.nav-link.is-active { color: #fff; font-weight: 600; background: rgb(255 255 255 / .13); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }
.nav-link.is-active .icon { opacity: 1; color: var(--accent); }
.nav-link::before {
  content: "";
  position: absolute;
  left: -.875rem;
  top: 50%;
  width: 3px;
  height: 1.125rem;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  opacity: 0;
  transform: translateY(-50%) scaleY(.4);
  transition-property: opacity, transform;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.nav-link.is-active::before { opacity: 1; transform: translateY(-50%) scaleY(1); }

.account {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-top: 1rem;
  padding: .625rem;
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / .06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  font-weight: 700;
  font-size: .875rem;
  color: var(--brand-strong);
  background: linear-gradient(160deg, #f5c877, var(--accent));
}
.account-text { flex: 1; min-width: 0; line-height: 1.3; }
.account-name { font-size: .8125rem; font-weight: 600; color: #fff; }
.account-note { font-size: .6875rem; color: rgb(255 255 255 / .52); }
.account-out {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  color: rgb(255 255 255 / .6);
  transition-property: color, background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.account-out:hover { color: #fff; background: rgb(255 255 255 / .1); }
.account-out:active { scale: .96; }

.main { min-width: 0; display: flex; flex-direction: column; }
.content { width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 1.75rem 2.25rem 3rem; }
.content > section { animation: rise-in 200ms var(--ease); }

.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--brand-ink); }
.page-title { margin-top: .25rem; font-size: 1.625rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.page-note { margin-top: .375rem; font-size: .875rem; color: var(--text-3); }
.page-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-sm { display: flex; flex-direction: column; gap: .625rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.5rem; }
.row { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout-aside { display: grid; grid-template-columns: minmax(17rem, 21rem) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.layout-main-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem); gap: 1.25rem; align-items: start; }
.sticky { position: sticky; top: 1.5rem; }

/* ---------- 卡片 ---------- */

.card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); min-width: 0; }
.card-pad { padding: 1.25rem 1.375rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: 1.125rem 1.375rem; border-bottom: 1px solid var(--line-soft); }
.card-title { font-size: .9375rem; font-weight: 700; letter-spacing: -.005em; }
.card-note { margin-top: .125rem; font-size: .8125rem; color: var(--text-3); }
.card-body { padding: 1rem 1.375rem 1.25rem; }
.card-foot { padding: .875rem 1.375rem; border-top: 1px solid var(--line-soft); }

.section-title { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; font-size: .9375rem; font-weight: 700; }
.section-title .count { font-size: .75rem; font-weight: 600; color: var(--text-3); }

.stat { padding: 1.125rem 1.25rem; }
.stat-label { display: flex; align-items: center; gap: .4375rem; font-size: .8125rem; color: var(--text-3); white-space: nowrap; }
.stat-value { margin-top: .375rem; font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-unit { margin-left: .25rem; font-size: .8125rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; }

.notice { display: flex; gap: .625rem; padding: .75rem .875rem; border-radius: var(--radius-md); font-size: .8125rem; line-height: 1.55; }
.notice .icon { margin-top: .0625rem; }
.notice-info { color: var(--brand-ink); background: var(--brand-softer); box-shadow: inset 0 0 0 1px var(--brand-soft); }
.notice-warn { color: var(--warn-ink); background: var(--warn-soft); box-shadow: inset 0 0 0 1px #f6e2b9; }
.notice-danger { color: var(--danger); background: var(--danger-soft); }
.notice-success { color: var(--success); background: var(--success-soft); }

.empty { display: flex; flex-direction: column; align-items: center; gap: .375rem; padding: 2.75rem 1.5rem; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .375rem; border-radius: 50%; color: var(--brand-ink); background: var(--brand-softer); box-shadow: inset 0 0 0 1px var(--brand-soft); }
.empty-icon .icon { width: 1.375rem; height: 1.375rem; }
.empty-title { font-size: .9375rem; font-weight: 600; }
.empty-note { font-size: .8125rem; color: var(--text-3); }
.empty .btn { margin-top: .75rem; }

.kv { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .625rem 1rem; margin: 0; font-size: .8125rem; }
.kv dt { color: var(--text-3); white-space: nowrap; }
.kv dd { margin: 0; color: var(--text-1); min-width: 0; overflow-wrap: anywhere; }

/* ---------- 分段与筛选 ---------- */

.segmented { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: var(--radius-md); background: #e8edf4; flex-wrap: wrap; }
.segmented button {
  min-height: 2rem;
  padding: 0 .875rem;
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition-property: color, background-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.segmented button:hover { color: var(--text-1); }
.segmented button.is-active { color: var(--brand); background: var(--surface); box-shadow: 0 1px 2px rgb(19 35 61 / .1), 0 0 0 1px rgb(19 35 61 / .04); }

.pill-filter {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  padding: 0 .875rem;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
  transition-property: color, background-color, box-shadow, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.pill-filter:hover { color: var(--text-1); box-shadow: inset 0 0 0 1px #c9d2df; }
.pill-filter:active { scale: .96; }
.pill-filter.is-active { color: #fff; background: var(--brand); box-shadow: none; font-weight: 600; }

/* ---------- 差旅速查 ---------- */

.region-list { max-height: calc(100vh - 17rem); min-height: 12rem; overflow-y: auto; padding: .375rem .5rem .625rem; }
.region-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  padding: .625rem .75rem;
  border-radius: var(--radius-sm);
  text-align: left;
  transition-property: background-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.region-item:hover { background: var(--surface-2); }
.region-item.is-active { background: var(--brand-soft); }
.region-item.is-active .region-name { color: var(--brand); }
.region-name { font-size: .875rem; font-weight: 600; }
.region-city { font-size: .75rem; color: var(--text-3); }
.region-currency { font-size: .75rem; color: var(--text-3); white-space: nowrap; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.625rem;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(30rem 16rem at 100% 0%, rgb(224 164 60 / .22), transparent 60%),
    linear-gradient(135deg, #154785 0%, var(--brand) 55%, var(--brand-strong) 100%);
  box-shadow: var(--shadow-raise);
}
.hero-eyebrow { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .75rem; color: rgb(255 255 255 / .7); }
.hero-title { margin-top: .625rem; font-size: 1.875rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.hero-sub { margin-top: .25rem; font-size: .875rem; color: rgb(255 255 255 / .75); }
.hero-chip { display: inline-flex; align-items: center; gap: .3125rem; height: 1.5rem; padding: 0 .625rem; border-radius: 999px; font-size: .75rem; font-weight: 600; color: #fff; background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); white-space: nowrap; }
.hero-chip.is-gold { color: var(--brand-strong); background: var(--accent); box-shadow: none; }
.hero-mark { position: absolute; right: -1.5rem; bottom: -2.5rem; width: 11rem; height: 11rem; color: rgb(255 255 255 / .06); }

.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.metric { padding: 1rem 1.125rem; border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-card); }
.metric-label { display: flex; align-items: center; gap: .4375rem; font-size: .8125rem; color: var(--text-2); white-space: nowrap; }
.metric-dot { width: .5rem; height: .5rem; border-radius: 2px; }
.tone-green { background: #2f9b78; }
.tone-gold { background: var(--accent); }
.tone-blue { background: #3c7fd0; }
.tone-purple { background: #7a68c8; }
.tone-orange { background: #e07a45; }
.tone-teal { background: #2a9bb0; }
.metric-value { margin-top: .5rem; font-size: 1.625rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric-unit { margin-top: .25rem; font-size: .75rem; color: var(--text-3); }

.airfare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.airfare-item { padding: .25rem 1.25rem; }
.airfare-item + .airfare-item { box-shadow: -1px 0 0 var(--line-soft); }
.airfare-item:first-child { padding-left: 0; }
.airfare-label { font-size: .8125rem; color: var(--text-3); }
.airfare-value { margin-top: .25rem; font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

.policy-list { display: flex; flex-direction: column; }
.policy-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; padding: .75rem 0; border-top: 1px solid var(--line-soft); font-size: .8125rem; line-height: 1.65; color: var(--text-2); }
.policy-row:first-child { border-top: 0; }
.policy-index { font-weight: 700; color: var(--text-4); font-variant-numeric: tabular-nums; }
.policy-row.is-critical { margin-bottom: .375rem; padding: .75rem .875rem; border: 0; border-radius: var(--radius-md); color: var(--accent-ink); background: var(--warn-soft); box-shadow: inset 0 0 0 1px #f6e2b9; }
.policy-row.is-critical .policy-index { color: var(--accent); }
.policy-row.is-critical + .policy-row { border-top: 0; }
.page-footer { margin-top: 1.5rem; text-align: center; font-size: .75rem; color: var(--text-4); }

/* ---------- 美食推荐 ---------- */

.filter-bar { display: grid; grid-template-columns: minmax(14rem, 2fr) repeat(3, minmax(8rem, 1fr)); gap: .625rem; }
.filter-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: .875rem; }

.restaurant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1rem; }
.restaurant-card {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  width: 100%;
  padding: 1.125rem 1.25rem 1rem;
  border-radius: var(--radius-lg);
  text-align: left;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition-property: box-shadow, translate;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.restaurant-card:hover { box-shadow: var(--shadow-raise); translate: 0 -1px; }
.restaurant-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.restaurant-name { font-size: 1rem; font-weight: 700; line-height: 1.35; letter-spacing: -.005em; overflow-wrap: anywhere; }
.restaurant-loc { display: flex; align-items: center; gap: .3125rem; margin-top: .1875rem; font-size: .8125rem; color: var(--text-3); }
.restaurant-note { font-size: .8125rem; line-height: 1.55; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.restaurant-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line-soft); font-size: .75rem; color: var(--text-3); }
.rating { display: inline-flex; align-items: center; gap: .25rem; font-size: .875rem; font-weight: 700; color: var(--accent-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rating.is-empty { font-weight: 500; color: var(--text-4); font-size: .8125rem; }

.skeleton { position: relative; overflow: hidden; border-radius: var(--radius-xs); background: var(--line-soft); }
.skeleton::after { content: ""; position: absolute; inset: 0; translate: -100% 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .6), transparent); animation: shimmer 1.2s infinite; }
.skeleton-card { display: flex; flex-direction: column; gap: .625rem; padding: 1.125rem 1.25rem; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }

.load-more { display: flex; justify-content: center; padding: 1.5rem 0 .5rem; }

/* 餐厅详情抽屉 */
.drawer-overlay { position: fixed; inset: 0; z-index: 40; background: rgb(11 52 110 / .32); backdrop-filter: blur(2px); animation: fade-in 200ms var(--ease); }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  display: flex;
  flex-direction: column;
  width: min(36rem, 100vw);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  animation: slide-in 260ms var(--ease);
}
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem 1rem; border-bottom: 1px solid var(--line-soft); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.drawer-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }

.photo-strip { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.5rem; margin: 0 -1.5rem; padding: 0 1.5rem .25rem; }
.photo-strip img { width: 13rem; height: 9rem; flex-shrink: 0; object-fit: cover; border-radius: var(--radius-md); background: var(--surface-2); outline: 1px solid rgb(0 0 0 / .1); outline-offset: -1px; scroll-snap-align: start; }

.score-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.score-box { padding: .875rem 1rem; border-radius: var(--radius-md); background: var(--surface-2); }
.score-label { font-size: .75rem; color: var(--text-3); }
.score-value { margin-top: .125rem; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.score-meta { font-size: .75rem; color: var(--text-3); }

.copy-btn { display: inline-flex; align-items: center; gap: .25rem; margin-left: .375rem; padding: .125rem .375rem; border-radius: var(--radius-xs); font-size: .75rem; font-weight: 600; color: var(--brand-ink); vertical-align: baseline; transition: background-color 150ms var(--ease); }
.copy-btn:hover { background: var(--brand-soft); }

.review { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem; padding: .875rem 0; border-top: 1px solid var(--line-soft); }
.review:first-child { border-top: 0; padding-top: .25rem; }
.review-avatar { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-size: .8125rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); }
.review-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .8125rem; }
.review-name { font-weight: 600; }
.review-date { margin-left: auto; font-size: .75rem; color: var(--text-4); font-variant-numeric: tabular-nums; }
.review-comment { margin-top: .3125rem; font-size: .8125rem; line-height: 1.6; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }

.rate-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .375rem; }
.rate-option {
  min-height: 2.375rem;
  padding: 0 .25rem;
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
  transition-property: color, background-color, box-shadow, scale;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.rate-option:hover { box-shadow: inset 0 0 0 1px #c9d2df; color: var(--text-1); }
.rate-option:active { scale: .96; }
.rate-option.is-active { box-shadow: none; }
.rate-option.is-active.tier-normal { box-shadow: inset 0 0 0 1.5px var(--text-3); color: var(--text-1); }

.parsed-card { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .875rem; padding: 1rem; border-radius: var(--radius-md); background: var(--brand-softer); box-shadow: inset 0 0 0 1px var(--brand-soft); }
.parsed-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm); color: #fff; background: var(--brand); }
.parsed-name { font-size: .9375rem; font-weight: 700; }
.parsed-meta { margin-top: .1875rem; font-size: .8125rem; color: var(--text-2); }

.steps { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--text-3); }
.step { display: inline-flex; align-items: center; gap: .375rem; white-space: nowrap; }
.step-num { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; font-size: .6875rem; font-weight: 700; color: var(--text-3); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.step.is-active { color: var(--brand); font-weight: 600; }
.step.is-active .step-num { color: #fff; background: var(--brand); box-shadow: none; }
.step.is-done .step-num { color: var(--success); background: var(--success-soft); box-shadow: none; }
.step-line { flex: 1; max-width: 2.5rem; height: 1px; background: var(--line); }

/* ---------- 住宿与床位 ---------- */

.room-list { display: flex; flex-direction: column; }
.room-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--line-soft); }
.room-row:first-child { border-top: 0; padding-top: 0; }
.room-name { font-size: .875rem; font-weight: 600; }
.room-meta { font-size: .75rem; color: var(--text-3); }

.bed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: .75rem; }
.bed-card {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  width: 100%;
  padding: .875rem 1rem;
  border-radius: var(--radius-md);
  text-align: left;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition-property: box-shadow, background-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.bed-card:hover { box-shadow: inset 0 0 0 1px var(--brand-ink), 0 .25rem .875rem -.375rem rgb(11 52 110 / .25); }
.bed-card.is-occupied { background: var(--surface-2); }
.bed-card.is-fixed { background: var(--surface-2); cursor: default; }
.bed-card.is-fixed:hover { box-shadow: inset 0 0 0 1px var(--line); }
.bed-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.bed-name { font-size: .875rem; font-weight: 700; }
.bed-meta { font-size: .75rem; color: var(--text-3); }
.bed-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .25rem; font-size: .8125rem; }
.bed-cta { display: inline-flex; align-items: center; gap: .125rem; color: var(--brand-ink); font-weight: 600; white-space: nowrap; font-size: .75rem; }

.timeline-scroll { overflow-x: auto; }
.timeline { width: 100%; min-width: 60rem; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: .75rem; }
.timeline th, .timeline td { padding: 0; border-bottom: 1px solid var(--line-soft); }
.timeline tr:last-child td { border-bottom: 0; }
.timeline th { padding: .625rem .25rem; font-weight: 500; color: var(--text-3); text-align: center; line-height: 1.3; }
.timeline th .tl-date { display: block; font-weight: 700; color: var(--text-1); font-variant-numeric: tabular-nums; }
.timeline .is-weekend { background: #f8f9fc; }
.timeline th.is-weekend .tl-week { color: var(--accent-ink); }
.timeline .is-today { background: var(--brand-softer); }
.timeline th.is-today { box-shadow: inset 0 -2px 0 var(--brand); }
.timeline th.is-today .tl-date { color: var(--brand); }
.timeline-bed { position: sticky; left: 0; z-index: 1; width: 9.5rem; padding: .5rem 1rem !important; text-align: left !important; background: var(--surface); box-shadow: 1px 0 0 var(--line-soft); }
.timeline-bed .bed-name { font-size: .8125rem; }
.timeline-cell { height: 3rem; padding: .25rem .125rem !important; }
.tl-block, .tl-fixed, .tl-slot { display: grid; place-items: center; width: 100%; height: 2.375rem; padding: 0 .25rem; border-radius: var(--radius-xs); font-size: .75rem; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tl-fixed { color: var(--text-4); background: repeating-linear-gradient(135deg, var(--surface-2) 0 .375rem, var(--line-soft) .375rem .75rem); font-weight: 500; }
.tl-slot { color: transparent; transition-property: color, background-color; transition-duration: 150ms; transition-timing-function: var(--ease); }
.tl-slot:hover { color: var(--brand-ink); background: var(--brand-soft); }
.tl-slot.is-past { cursor: default; }
.tl-slot.is-past:hover { color: transparent; background: none; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem; font-size: .75rem; color: var(--text-3); }
.legend-item { display: inline-flex; align-items: center; gap: .375rem; white-space: nowrap; }
.legend-swatch { width: .875rem; height: .875rem; border-radius: 3px; }

.person-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: .75rem; }
.person { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .75rem; padding: .875rem 1rem; border-radius: var(--radius-md); background: var(--surface-2); }
.avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; font-size: .9375rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); flex-shrink: 0; }
.person-head { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.person-name { font-size: .875rem; font-weight: 700; }
.person-meta { margin-top: .125rem; font-size: .75rem; color: var(--text-3); overflow-wrap: anywhere; }

/* ---------- 我的出差 ---------- */

.profile { display: flex; align-items: center; gap: 1.125rem; flex-wrap: wrap; padding: 1.5rem 1.625rem; }
.profile-avatar { display: grid; place-items: center; width: 4rem; height: 4rem; flex-shrink: 0; border-radius: 50%; font-size: 1.5rem; font-weight: 700; color: #fff; background: linear-gradient(150deg, #2a5ea4, var(--brand)); box-shadow: 0 0 0 4px var(--brand-soft); }
.profile-main { flex: 1; min-width: 14rem; }
.profile-name { font-size: 1.375rem; font-weight: 700; letter-spacing: -.015em; }
.profile-email { margin-top: .125rem; font-size: .875rem; color: var(--text-3); overflow-wrap: anywhere; }
.profile .tag-row { margin-top: .625rem; }
.profile-stats { display: flex; gap: .75rem; }
.profile-stat { min-width: 6.5rem; padding: .75rem 1rem; border-radius: var(--radius-md); background: var(--surface-2); }
.profile-stat .stat-value { margin-top: .125rem; font-size: 1.5rem; }

.booking-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 1rem; }
.booking-card { display: flex; flex-direction: column; padding: 1.125rem 1.25rem 1rem; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); min-width: 0; }
.booking-card.is-history { box-shadow: inset 0 0 0 1px var(--line); background: var(--surface-2); }
.booking-head { display: flex; align-items: center; gap: .75rem; }
.booking-head-text { flex: 1; min-width: 0; }
.booking-name { font-size: .9375rem; font-weight: 700; }
.booking-dept { font-size: .75rem; color: var(--text-3); }
.booking-range { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; padding: .75rem .875rem; border-radius: var(--radius-md); background: var(--surface-2); }
.booking-card.is-history .booking-range { background: var(--surface); }
.booking-date-label { font-size: .6875rem; color: var(--text-3); white-space: nowrap; }
.booking-date { font-size: .9375rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.booking-nights { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .25rem; min-width: 3rem; font-size: .6875rem; color: var(--text-3); white-space: nowrap; }
.booking-nights::before { content: ""; width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--text-4) 0 .25rem, transparent .25rem .5rem); }
.booking-info { margin-top: .875rem; }
.booking-info .kv { grid-template-columns: 3.5rem minmax(0, 1fr); gap: .375rem .75rem; }
.booking-actions { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; padding-top: .875rem; border-top: 1px solid var(--line-soft); }
.booking-actions .spacer { flex: 1; }

/* ---------- 导出与配置 ---------- */

.tool-tile { display: flex; align-items: center; gap: .875rem; padding: 1rem; border-radius: var(--radius-md); background: var(--surface-2); }
.tool-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: var(--radius-sm); color: var(--brand-ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.tool-text { flex: 1; min-width: 0; }
.tool-title { font-size: .875rem; font-weight: 600; }
.tool-note { font-size: .75rem; color: var(--text-3); }
.tool-actions { display: flex; gap: .375rem; flex-shrink: 0; }

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  width: 100%;
  min-height: 10rem;
  padding: 1.5rem;
  border: 1.5px dashed #c6d1e0;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--surface-2);
  transition-property: border-color, background-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.dropzone:hover, .dropzone.is-over { border-color: var(--brand-ink); background: var(--brand-softer); }
.dropzone-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: .25rem; border-radius: 50%; color: var(--brand-ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 .25rem .75rem -.25rem rgb(19 35 61 / .15); }
.dropzone-title { font-size: .875rem; font-weight: 600; }
.dropzone-title span { color: var(--brand-ink); }
.dropzone-note { font-size: .75rem; color: var(--text-3); }
.dropzone.is-success { border-style: solid; border-color: transparent; background: var(--success-soft); }
.dropzone.is-success .dropzone-icon { color: var(--success); }
.dropzone.is-success .dropzone-note { color: var(--success); }
.dropzone.is-error { border-color: var(--danger); background: var(--danger-soft); }
.dropzone.is-error .dropzone-icon { color: var(--danger); }
.dropzone.is-error .dropzone-note { color: var(--danger); }
.dropzone.is-success:hover, .dropzone.is-error:hover { border-style: dashed; border-color: var(--brand-ink); background: var(--brand-softer); }

.file-card { display: flex; align-items: center; gap: .875rem; padding: .875rem 1rem; border-radius: var(--radius-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.file-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: var(--radius-sm); color: #fff; background: #1d6f45; font-size: .6875rem; font-weight: 700; letter-spacing: .02em; }
.file-icon.is-csv { background: var(--brand-ink); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.table th { padding: .625rem 1.375rem; font-size: .75rem; font-weight: 600; color: var(--text-3); text-align: left; white-space: nowrap; background: var(--surface-2); }
.table td { padding: .75rem 1.375rem; border-top: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
.table tbody tr { transition: background-color 150ms var(--ease); }
.table tbody tr:hover { background: var(--brand-softer); }

/* ---------- 弹层 ---------- */

.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 1.5rem; overflow-y: auto; background: rgb(11 52 110 / .4); backdrop-filter: blur(2px); animation: fade-in 200ms var(--ease); }
.modal { width: min(34rem, 100%); max-height: calc(100vh - 3rem); display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-pop); animation: pop-in 240ms var(--ease); }
.modal-wide { width: min(40rem, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem 1rem; }
.modal-body { flex: 1; overflow-y: auto; padding: 0 1.5rem 1.25rem; }
.modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; padding: 1rem 1.5rem; border-top: 1px solid var(--line-soft); }
.modal-foot .spacer { flex: 1; font-size: .75rem; color: var(--text-3); }
.modal-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.modal-sub { margin-top: .125rem; font-size: .8125rem; color: var(--text-3); }
.close-btn { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin: -.375rem -.5rem 0 0; flex-shrink: 0; border-radius: var(--radius-sm); color: var(--text-3); transition-property: color, background-color; transition-duration: 150ms; transition-timing-function: var(--ease); }
.close-btn:hover { color: var(--text-1); background: var(--surface-2); }

.form-section + .form-section { margin-top: 1.375rem; }
.form-section-head { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .75rem; }
.form-section-num { font-size: .75rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.form-section-title { font-size: .875rem; font-weight: 700; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: min(32rem, calc(100vw - 2rem));
  padding: .75rem 1.125rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  color: #fff;
  background: #13233d;
  box-shadow: var(--shadow-pop);
  translate: -50% 0;
  animation: toast-in 240ms var(--ease);
}

/* ---------- 登录 ---------- */

.login-screen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(24rem, 1fr); min-height: 100vh; background: var(--surface); }
.login-art {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.75rem 3rem;
  color: #fff;
  background:
    radial-gradient(50rem 36rem at 90% -10%, rgb(224 164 60 / .2), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, rgb(47 85 144 / .6), transparent 60%),
    linear-gradient(160deg, var(--brand) 0%, var(--brand-strong) 100%);
}
.login-art .brand { padding: 0; }
.login-art-mark { position: absolute; right: -6rem; bottom: -6rem; width: 30rem; height: 30rem; color: rgb(255 255 255 / .05); }
.login-headline { max-width: 26rem; font-size: 2.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.login-points { display: flex; flex-direction: column; gap: .625rem; margin-top: 1.5rem; font-size: .9375rem; color: rgb(255 255 255 / .78); }
.login-point { display: flex; align-items: center; gap: .625rem; }
.login-point .icon { color: var(--accent); }
.login-copy { font-size: .75rem; color: rgb(255 255 255 / .45); }
.login-panel { display: grid; place-items: center; padding: 2.5rem 1.5rem; }
.login-card { width: min(23rem, 100%); animation: rise-in 320ms var(--ease); }
.login-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.login-note { margin-top: .375rem; margin-bottom: 1.75rem; font-size: .875rem; color: var(--text-3); }
.login-mobile-brand { display: none; align-items: center; gap: .75rem; margin-bottom: 1.5rem; font-weight: 700; }
.login-mobile-brand .brand-logo { background: var(--brand); box-shadow: var(--shadow-card); }

/* ---------- 动效 ---------- */

@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(.5rem) scale(.98); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(1.5rem); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(.5rem); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(.25rem); } }
@keyframes shimmer { to { translate: 100% 0; } }

/* ---------- 响应式 ---------- */

@media (max-width: 80rem) {
  .layout-main-side { grid-template-columns: minmax(0, 1fr); }
  .filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-bar > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 64rem) {
  :root { --sidebar-w: 4.5rem; }
  .sidebar { padding: 1rem .625rem; align-items: center; }
  .brand { padding: 0; }
  .brand-text, .nav-link span, .nav-group, .account-text { display: none; }
  .nav { align-items: center; width: 100%; }
  .nav-link { justify-content: center; padding: 0; width: 2.75rem; }
  .nav-link::before { left: -.625rem; }
  .account { flex-direction: column; padding: .5rem; background: none; box-shadow: none; }
  .layout-aside { grid-template-columns: minmax(0, 1fr); }
  .region-list { max-height: 18rem; }
  .content { padding: 1.25rem 1.25rem 2.5rem; }
  .login-screen { grid-template-columns: minmax(0, 1fr); }
  .login-art { display: none; }
  .login-mobile-brand { display: flex; }
}

@media (max-width: 40rem) {
  .grid-2, .grid-3, .grid-4, .metric-grid { grid-template-columns: minmax(0, 1fr); }
  .filter-bar { grid-template-columns: minmax(0, 1fr); }
  .booking-grid, .person-list, .restaurant-grid { grid-template-columns: minmax(0, 1fr); }
  .airfare-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .airfare-item { padding: 0; box-shadow: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
