@font-face {
  font-family: "Atlas Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --sidebar-surface: #fafafa;
  --ink: #1c1c1c;
  --muted: #696969;
  --line: #e4e4e4;
  --soft: #f5f5f5;
  --accent: oklch(56% .17 48);
  --accent-hover: oklch(49% .16 48);
  --accent-tint: oklch(96% .035 65);
  --success: #26734c;
  --danger: #b42318;
  --radius: 14px;
  --elevation: 0 14px 36px -12px #17171726;
  --sidebar: 240px;
  --sans: "Atlas Inter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #c9c9c9 #fafafa; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.5 var(--sans); overflow-wrap: anywhere; }
::selection { color: #743000; background: #ffdfc4; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; background: none; border: 0; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
input, textarea { caret-color: var(--accent); }
input::placeholder, textarea::placeholder { color: #777777; opacity: 1; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: 30px; font-weight: 600; line-height: 36px; letter-spacing: -.025em; }
h2 { font-size: 18px; font-weight: 600; line-height: 28px; letter-spacing: -.02em; }
h3 { font-size: 15px; font-weight: 600; line-height: 20px; }
small { font-size: 12px; line-height: 18px; }
svg { display: block; flex: none; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 10px 16px; color: #fff; background: var(--accent); border-radius: 8px; font-size: 14px; }
.skip-link:focus { top: 8px; }

/* Shell: the source's 240px sidebar and 56px content bar. */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  width: var(--sidebar);
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--line);
  background: var(--sidebar-surface);
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-bottom: 16px; padding: 6px 14px; }
.brand-mark { width: 24px; height: 24px; color: var(--accent); }
.brand-name { font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: -.025em; white-space: nowrap; }
.brand-sub { margin-top: 1px; color: var(--muted); font-size: 11px; line-height: 15px; letter-spacing: .02em; }
.nav-group { margin-bottom: 18px; }
.nav-label { margin: 2px 12px 6px; color: #727272; font-size: 11px; font-weight: 600; line-height: 18px; letter-spacing: .07em; }
.nav-link { display: flex; align-items: center; gap: 10px; min-height: 36px; margin: 2px 0; padding: 7px 12px; color: #505050; border-radius: 9px; font-size: 14px; line-height: 22px; transition: color .12s ease-out, background-color .12s ease-out; }
.nav-link .icon { width: 16px; height: 16px; }
.nav-link:hover { color: var(--ink); background: #eeeeee; }
.nav-link.active { color: oklch(43% .12 45); background: oklch(95% .04 65); font-weight: 500; }
.nav-link .count { margin-left: auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.sidebar-footer { margin-top: auto; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff7ef; }
.sidebar-footer strong { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; }
.sidebar-footer p { color: var(--muted); font-size: 12px; line-height: 19px; }
.sidebar-footer .button { width: 100%; margin-top: 12px; }
.sidebar-meta { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 17px; }
.app-main { min-width: 0; margin-left: var(--sidebar); }
.topbar { position: relative; z-index: 30; display: flex; align-items: center; gap: 10px; height: 57px; padding: 0 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.icon-button { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 8px; color: var(--muted); }
.icon-button:hover { color: var(--ink); background: var(--soft); }
.icon-button .icon { width: 18px; height: 18px; }
.menu-toggle, .mobile-menu { display: inline-grid; }
.top-search { display: flex; flex: 1 1 auto; align-items: center; gap: 8px; min-width: 0; width: 100%; max-width: 448px; height: 36px; padding: 0 12px; overflow: hidden; color: #777; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; font-size: 14px; font-weight: 400; line-height: 20px; text-align: left; }
.top-search:hover { border-color: #c9c9c9; color: #595959; }
.search-placeholder { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-search .icon { width: 16px; height: 16px; }
.top-search input { width: 100%; min-width: 0; padding: 0; outline: 0; border: 0; background: transparent; font-size: 14px; line-height: 20px; }
.shortcut, .top-search kbd { flex: none; margin-left: auto; padding: 1px 6px; border: 1px solid #dedede; border-radius: 4px; background: #fff; color: #737373; font: 11px/17px var(--sans); }
.top-actions { display: flex; align-items: center; flex: none; gap: 8px; margin-left: auto; }
.header-submit, .header-submit.button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 8px; color: var(--ink); background: transparent; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.header-submit .icon { width: 16px; height: 16px; }
.header-submit:hover, .header-submit.button:hover { color: var(--accent); background: var(--soft); }
.utility-menu { position: relative; flex: none; }
.utility-trigger { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 36px; height: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: #fff; background: var(--accent); font-size: 13px; font-weight: 500; line-height: 20px; list-style: none; cursor: pointer; white-space: nowrap; }
.utility-trigger::-webkit-details-marker { display: none; }
.utility-trigger .icon { width: 16px; height: 16px; }
.utility-menu[open] .utility-trigger, .utility-trigger:hover { background: var(--accent-hover); }
.utility-popover { position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; width: 280px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 10px 28px -8px #1717172a; }
.utility-popover h2, .utility-popover h3, .utility-popover strong { font-size: 14px; line-height: 22px; }
.utility-popover p { margin: 6px 0 14px; color: var(--muted); font-size: 12px; line-height: 18px; }
.utility-popover label { display: block; margin: 12px 0 6px; color: var(--ink); font-size: 12px; font-weight: 500; line-height: 18px; }
.utility-popover select { width: 100%; height: 38px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; }
.utility-popover a { display: flex; align-items: center; gap: 8px; min-height: 36px; margin-top: 10px; padding: 7px 0; font-size: 13px; }
.utility-popover a:hover { color: var(--accent); }
.utility-popover .identity-control { display: block; }
.demo-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.sidebar-collapsed { --sidebar: 0px; }
.sidebar-collapsed .desktop-sidebar { display: none; }
.content { max-width: 1760px; margin: 0 auto; padding: 32px; }
.page-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 40px; }
.page-layout > div { min-width: 0; }
.page-heading { margin-bottom: 32px; }
.page-heading p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.428571; }
.wide-view { width: 100%; min-width: 0; }
.narrow-view { width: 100%; max-width: 768px; }

/* Discovery follows the reference's main feature plus category shortcuts. */
.featured-section { margin: 0; }
.heading-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.heading-row > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.heading-row h2 { font-size: 18px; font-weight: 600; line-height: 28px; }
.heading-row p { color: var(--muted); font-size: 14px; line-height: 20px; }
.heading-row > .text-link { flex: none; color: var(--muted); font-size: 14px; font-weight: 400; }
.heading-row > .text-link:hover { color: var(--accent); }
.featured-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 12px; }
.hero-feature { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 96px; align-items: center; gap: 20px; min-width: 0; min-height: 258px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(125deg,#fbede5 0,#fff 76%); }
.hero-feature::before { position: absolute; inset: 0 0 0 42%; content: ""; pointer-events: none; opacity: .8; background-image: radial-gradient(#edbb9a .65px,transparent .65px); background-size: 15px 15px; mask-image: linear-gradient(90deg,transparent,#000); }
.feature-text { position: relative; z-index: 1; min-width: 0; }
.hero-label { display: inline-flex; align-items: center; gap: 5px; width: fit-content; margin-bottom: 12px; padding: 2px 9px; border-radius: 999px; color: var(--accent-hover); background: #f9dfd0; font-size: 12px; font-weight: 500; line-height: 16px; }
.hero-label .icon { width: 13px; height: 13px; }
.hero-feature h2 { margin: 0 0 8px; font-size: 30px; font-weight: 600; line-height: 36px; letter-spacing: -.025em; }
.hero-feature p { margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 24px; }
.hero-feature .button { min-height: 32px; padding: 5px 16px; }
.feature-logo { position: relative; z-index: 1; width: 96px; height: 96px; }
.tool-monogram.feature-logo { width: 96px; height: 96px; padding: 8px; border-radius: 20px; background: #fff !important; font-size: 30px; box-shadow: 0 12px 20px -10px #17171730; }
.tool-monogram.feature-logo img { width: 100%; height: 100%; object-fit: contain; }
.feature-shortcuts { display: grid; grid-template-rows: repeat(3,minmax(0,1fr)); gap: 12px; min-width: 0; }
.category-shortcut { display: grid; grid-template-columns: 40px minmax(0,1fr) 16px; align-items: center; gap: 12px; min-width: 0; min-height: 78px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .12s ease-out, background-color .12s ease-out; }
.category-shortcut:hover { border-color: #d6b293; background: #fffaf7; }
.category-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--accent); background: #fbede4; }
.category-icon .icon { width: 21px; height: 21px; }
.category-shortcut-copy { min-width: 0; }
.category-shortcut-copy strong { display: block; overflow: hidden; font-size: 16px; font-weight: 600; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.category-shortcut-copy p, .category-shortcut-copy > span { display: block; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.category-shortcut > .icon { width: 16px; height: 16px; color: var(--muted); }
.category-rail { display: flex; gap: 8px; height: 32px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; }
.category-rail::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; justify-content: center; flex: none; height: 32px; padding: 5px 15px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; line-height: 20px; white-space: nowrap; }
.chip:hover { color: var(--accent); border-color: #dcb89e; }
.chip.active { color: #fff; border-color: var(--accent); background: var(--accent); }
.section { margin-top: 32px; }
.tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.tool-card { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; align-items: start; gap: 12px; min-width: 0; min-height: 129px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .12s ease-out; }
.tool-card:hover { border-color: #d6b293; }
.tool-monogram { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 4px; overflow: hidden; border: 1px solid #eeeeee; border-radius: 12px; color: #333; background: #fafafa; font: 600 16px/1 var(--sans); }
.tool-monogram img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tool-monogram.logo-failed img, .tool-monogram img[hidden] { display: none; }
.tool-copy { min-width: 0; }
.tool-name-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tool-name-row h3 { min-width: 0; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.tool-name-row h3 a:hover { color: var(--accent); }
.tool-name-row h3 a::after { position: absolute; inset: 0; border-radius: 14px; content: ""; }
.tool-name-row h3 a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 3px; }
.tool-copy > p { display: -webkit-box; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 20px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.featured-star { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 15px; height: 18px; color: var(--accent); }
.featured-star .icon { width: 14px; height: 14px; }
.tool-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tool-title { min-width: 0; }
.tool-title h3 { font-size: 15px; line-height: 20px; }
.card-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; align-self: end; gap: 8px; min-width: 0; color: var(--muted); font-size: 12px; line-height: 18px; }
.card-category { min-width: 0; margin-left: auto; padding: 0 7px; overflow: hidden; border-radius: 999px; background: var(--soft); text-overflow: ellipsis; white-space: nowrap; }
.price-tag { display: inline-flex; align-items: center; flex: none; padding: 0 7px; border-radius: 999px; color: var(--accent); background: var(--accent-tint); font-size: 12px; line-height: 18px; }
.price-label, .card-footer .badge { font-size: 12px; line-height: 18px; }
.editorial-rail { min-width: 0; padding-top: 0; }
.rail-section + .rail-section { margin-top: 32px; }
.rail-section h2 { font-size: 18px; line-height: 28px; }
.rail-section > p { margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 20px; }
.ranked-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ranked-list li { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ranked-list a { display: grid; grid-template-columns: 16px 32px minmax(0,1fr); align-items: center; gap: 10px; min-height: 56px; padding: 10px; }
.ranked-list a:hover { background: #fafafa; border-radius: 14px; }
.ranked-list .rank { color: var(--accent); font-size: 14px; font-weight: 600; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.ranked-list .tool-monogram { width: 32px; height: 32px; padding: 2px; border-radius: 8px; font-size: 13px; }
.ranked-list strong { display: block; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 19px; text-overflow: ellipsis; white-space: nowrap; }
.ranked-list small { display: block; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 17px; text-overflow: ellipsis; white-space: nowrap; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-link { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 12px; border-radius: 999px; color: #333; background: var(--soft); font-size: 13px; line-height: 20px; }
.tag-link:hover { color: var(--accent); background: var(--accent-tint); }
.sponsor-block { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.sponsor-block > small { display: block; margin-bottom: 7px; color: var(--accent); font-size: 11px; font-weight: 500; }
.sponsor-block > strong { display: block; font-size: 15px; line-height: 22px; }
.sponsor-block p, .rail-note { margin: 6px 0 12px; color: var(--muted); font-size: 14px; line-height: 22px; }

/* Shared actions and status styling. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 7px 16px; color: #fff; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); font-size: 14px; font-weight: 500; line-height: 20px; text-align: center; white-space: nowrap; }
.button:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.button .icon { width: 16px; height: 16px; }
.button.secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.button.secondary:hover { color: var(--accent); border-color: #d6b293; background: #fffaf7; }
.button.ghost { color: var(--muted); border-color: transparent; background: transparent; }
.button.ghost:hover { color: var(--accent); background: var(--soft); }
.button.danger { color: #fff; border-color: var(--danger); background: var(--danger); }
.button.small { min-height: 32px; padding: 5px 12px; font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 14px; font-weight: 500; line-height: 20px; }
.text-link .icon { width: 16px; height: 16px; }
.text-link:hover { color: var(--accent-hover); }
.badge { display: inline-flex; align-items: center; flex: none; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 18px; white-space: nowrap; }
.badge.neutral { color: #555; background: #f3f3f3; }
.badge.featured { color: #9b3d00; background: #fff1df; }
.badge.sponsored { color: #8d4208; background: #fff0da; }
.badge.success { color: #236243; background: #eaf5ee; }
.badge.warning { color: #8a5b00; background: #fff5d9; }
.badge.danger { color: #a82c23; background: #ffefec; }
.tool-badge { padding: 1px 6px; font-size: 10px; line-height: 16px; }
.footer { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 20px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer-links a:hover { color: var(--accent); }

/* Search is a focused task, with one real input and a clear result list. */
.search-dialog { position: fixed; inset: 10vh 16px auto; width: calc(100% - 32px); max-width: 672px; max-height: 80vh; margin: 0 auto; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--surface); box-shadow: 0 18px 60px -18px #17171740; }
.search-dialog[open] { display: flex; flex-direction: column; animation: search-enter .14s cubic-bezier(.16,1,.3,1); }
.search-dialog-top { display: flex; align-items: center; gap: 12px; flex: none; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.search-dialog-top > .icon { width: 20px; height: 20px; color: var(--muted); }
.search-dialog-top input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; border-radius: 0; outline: 0; background: transparent; font-size: 16px; line-height: 24px; }
.search-dialog-top input:focus-visible { outline: 0; }
.search-dialog-top button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; color: var(--muted); border-radius: 8px; }
.search-dialog-top button:hover { color: var(--ink); background: var(--soft); }
#search-results { flex: 1 1 auto; min-height: 68px; max-height: 360px; padding: 8px; overflow-y: auto; overscroll-behavior: contain; }
.search-group-label { padding: 8px 12px 4px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 18px; }
.search-result { display: grid; grid-template-columns: 32px minmax(0,1fr) 16px; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border-radius: 9px; font-size: 14px; line-height: 20px; }
.search-result:hover, .search-result[aria-selected="true"], .search-result.selected { background: var(--soft); }
.search-result-copy { min-width: 0; }
.search-result-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fafafa; }
.search-result-icon .icon { width: 16px; height: 16px; }
.search-result > .icon { width: 16px; height: 16px; color: var(--muted); }
.search-result .tool-monogram { width: 32px; height: 32px; padding: 2px; border-radius: 8px; font-size: 13px; }
.search-result strong { display: block; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.search-result small { display: block; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.search-empty, .search-loading, .search-no-results, .search-pending { padding: 28px 18px; color: var(--muted); font-size: 14px; line-height: 22px; text-align: center; }
.search-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; flex: none; padding: 11px 16px; border-top: 1px solid var(--line); color: var(--muted); background: #fafafa; font-size: 12px; line-height: 18px; }
.search-hint kbd { padding: 1px 4px; border: 1px solid #dedede; border-radius: 4px; color: #555; background: #fff; font: 11px/16px var(--sans); }
@keyframes search-enter { from { opacity: .96; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Lists, articles, and detail pages use the same measured type hierarchy. */
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 20px; }
.breadcrumbs .icon { width: 12px; height: 12px; }
.breadcrumbs a:hover { color: var(--accent); }
.filter-panel { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.filter-panel .field { flex: 1 1 130px; min-width: 100px; margin: 0; }
.filter-panel .filter-search { flex: 2 1 200px; }
.filter-panel .filter-sort { flex: 1 1 150px; }
.filter-panel .button { flex: none; height: 40px; }
.result-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--muted); font-size: 14px; line-height: 22px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; line-height: 20px; }
.pagination a:hover { color: var(--accent); border-color: #d6b293; }
.pagination .active { color: #fff; border-color: var(--accent); background: var(--accent); }
.index-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.index-item { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 108px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.index-symbol { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: var(--accent); background: #fbede4; }
.index-item > div { min-width: 0; }
.index-item h2 { margin-bottom: 3px; font-size: 16px; line-height: 24px; }
.index-item p { color: var(--muted); font-size: 14px; line-height: 21px; }
.index-item > .icon { flex: none; width: 16px; height: 16px; margin-left: auto; color: var(--muted); }
.index-item:hover { border-color: #d6b293; }
.collection-list { display: grid; gap: 16px; }
.collection-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; }
.collection-item h2 { margin-bottom: 6px; font-size: 20px; line-height: 28px; }
.collection-item p { max-width: 60ch; color: var(--muted); font-size: 14px; line-height: 22px; }
.collection-count { display: block; margin-top: 12px; color: var(--accent); font-size: 12px; line-height: 18px; }
.article-list { border-top: 1px solid var(--line); }
.article-item { display: grid; grid-template-columns: 102px minmax(0,1fr) 44px; align-items: start; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.article-date { color: var(--muted); font-size: 12px; line-height: 20px; font-variant-numeric: tabular-nums; }
.article-item h2 { margin-bottom: 8px; font-size: 20px; line-height: 28px; }
.article-item p { max-width: 68ch; color: var(--muted); font-size: 14px; line-height: 22px; }
.article-item .icon-button { margin-top: -7px; }
.article-item:hover h2 { color: var(--accent); }
.article-heading { max-width: 32ch; font-size: 30px; font-weight: 600; line-height: 40px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 0 24px; color: var(--muted); font-size: 14px; line-height: 22px; }
.article-excerpt { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 18px; line-height: 28px; }
.article-body { max-width: 70ch; white-space: pre-line; font-size: 16px; line-height: 28px; }
.article-body p { margin-bottom: 24px; }
.detail-top { display: flex; align-items: start; gap: 16px; margin-bottom: 28px; }
.detail-top > .tool-monogram { width: 64px; height: 64px; padding: 5px; border-radius: 16px; font-size: 24px; }
.detail-title { flex: 1; min-width: 0; }
.detail-title h1 { margin-bottom: 8px; font-size: 30px; font-weight: 700; line-height: 36px; }
.detail-title p { color: var(--muted); font-size: 16px; line-height: 24px; }
.detail-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.detail-description { max-width: 70ch; margin-top: 16px; color: #444; white-space: pre-line; font-size: 16px; line-height: 28px; }
.source-section > p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 23px; }
.source-section ul { margin: 12px 0; padding: 0; list-style: none; }
.source-section li + li { margin-top: 10px; }
.maintenance-links .text-link { display: flex; min-height: 36px; align-items: center; }
.feature-list { padding-left: 20px; color: #444; font-size: 15px; line-height: 25px; }
.feature-list li { margin: 7px 0; }
.detail-side { min-width: 0; }
.detail-side > .demo-notice { margin-top: 12px; }
.detail-side > .button { width: 100%; margin-bottom: 10px; }
.detail-side .rail-section { margin-top: 24px; }
.fact-list { margin: 16px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; line-height: 22px; }
.fact-list > div { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 9px 0; }
.fact-list > div + div { border-top: 1px solid #eeeeee; }
.fact-list dt { flex: none; color: var(--muted); }
.fact-list dd { min-width: 0; margin: 0; text-align: right; }

/* Forms and editorial operations retain visible, readable states. */
.demo-notice { display: flex; align-items: start; gap: 10px; padding: 14px 16px; border: 1px solid #f0dfce; border-radius: 12px; color: #74482d; background: #fff9f3; font-size: 13px; line-height: 21px; }
.demo-notice > .icon { width: 16px; height: 16px; margin-top: 2px; }
.form-block { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-block h2 { margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.field { min-width: 0; margin-bottom: 20px; }
.field.full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; line-height: 20px; }
.optional { margin-left: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.field input:not([type="checkbox"]), .field select, .field textarea { display: block; width: 100%; min-width: 0; min-height: 40px; padding: 9px 12px; border: 1px solid #d9d9d9; border-radius: 8px; background: var(--surface); font-size: 14px; line-height: 20px; transition: border-color .12s ease-out; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bdbdbd; }
.field textarea { min-height: 140px; resize: vertical; line-height: 24px; }
.field input[readonly] { color: var(--muted); background: var(--soft); }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 18px; }
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { display: block; margin-top: 6px; color: var(--danger); font-size: 12px; line-height: 18px; }
.form-error { margin-bottom: 20px; padding: 13px 16px; border: 1px solid #f1d0ca; border-radius: 10px; color: #a22c22; background: #fff4f2; font-size: 14px; line-height: 22px; }
.form-error:empty { display: none; }
.plan-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 24px; }
.plan-option { position: relative; display: flex; align-items: start; gap: 10px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.plan-option:has(input:checked) { border-color: var(--accent); background: #fff8f1; }
.plan-option input { flex: none; width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--accent); }
.plan-option strong { display: block; margin-bottom: 5px; font-size: 14px; line-height: 22px; }
.plan-option small { display: block; color: var(--muted); font-size: 12px; line-height: 20px; }
.plan-price { display: block; margin-top: 10px; font-size: 22px; font-weight: 600; line-height: 30px; font-variant-numeric: tabular-nums; }
.form-submit { display: flex; align-items: center; gap: 20px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-submit > .button { flex: none; }
.form-submit p { max-width: 48ch; color: var(--muted); font-size: 12px; line-height: 20px; }
.form-side { min-width: 0; color: var(--muted); font-size: 14px; line-height: 23px; }
.form-side h2 { margin-bottom: 14px; color: var(--ink); font-size: 16px; line-height: 24px; }
.steps-list { margin: 0; padding: 0; counter-reset: steps; list-style: none; }
.steps-list li { display: flex; gap: 10px; padding: 14px 0; counter-increment: steps; border-bottom: 1px solid var(--line); }
.steps-list li::before { content: counter(steps); flex: none; width: 16px; color: var(--accent); font-size: 13px; font-weight: 500; line-height: 23px; }
.steps-list strong { display: block; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 23px; }
.slot-list { margin-top: 20px; }
.slot-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 22px; }
.slot-row strong { display: block; font-size: 15px; font-weight: 500; }
.slot-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 40px; }
.order-summary { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.order-summary h2 { margin-bottom: 20px; font-size: 18px; }
.summary-line { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin: 14px 0; color: var(--muted); font-size: 14px; line-height: 22px; }
.summary-line strong { color: var(--ink); font-weight: 500; }
.summary-total { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); font-size: 28px; font-weight: 600; line-height: 36px; font-variant-numeric: tabular-nums; }
.summary-total small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 18px; }
.status-message { padding: 28px 0; }
.status-message h2 { margin-bottom: 12px; font-size: 24px; line-height: 32px; }
.status-message p { margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 25px; }
.status-circle { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; color: var(--accent); background: var(--accent-tint); }
.status-circle .icon { width: 23px; height: 23px; }
.status-circle.success { color: var(--success); background: #eaf5ee; }
.tabs { display: flex; gap: 24px; margin: 26px 0 24px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tab { flex: none; padding: 0 0 12px; color: var(--muted); border-bottom: 2px solid transparent; font-size: 14px; line-height: 22px; white-space: nowrap; }
.tab.active { color: var(--accent); border-color: var(--accent); font-weight: 500; }
.workspace-list { border-top: 1px solid var(--line); }
.workspace-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.workspace-row h3 { margin-bottom: 6px; font-size: 16px; line-height: 24px; }
.workspace-row small { color: var(--muted); font-size: 12px; line-height: 20px; }
.status-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 9px; }
.workspace-actions { display: flex; flex-wrap: wrap; justify-content: end; align-items: center; flex: none; gap: 8px; }
.review-row { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: start; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.review-row h3 { margin-bottom: 5px; font-size: 16px; line-height: 24px; }
.review-row p { max-width: 70ch; margin: 9px 0; color: var(--muted); font-size: 14px; line-height: 23px; }
.review-row small { color: var(--muted); font-size: 12px; line-height: 18px; }
.review-row details { margin: 10px 0; }
.review-actions { align-self: center; min-width: 0; }
.review-actions input { width: 100%; min-height: 38px; margin-bottom: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; line-height: 20px; }
.review-actions .button { padding-inline: 10px; font-size: 12px; }
.admin-overview { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 22px; }
.admin-overview strong { color: var(--ink); font-weight: 600; }
.setting-row { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.setting-row strong { display: block; font-size: 14px; font-weight: 500; line-height: 22px; }
.setting-row p { max-width: 58ch; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 21px; }
.switch { position: relative; display: inline-block; flex: none; width: 44px; height: 44px; }
.switch input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch-track { position: absolute; inset: 10px 2px; border-radius: 14px; background: #a0a0a0; pointer-events: none; }
.switch-track::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; content: ""; transition: transform .16s ease-out; }
.switch input:checked + .switch-track { background: var(--accent); }
.switch input:checked + .switch-track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--accent); outline-offset: 3px; }
.events-list { margin: 0; padding: 0; list-style: none; }
.events-list li { display: flex; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 22px; }
.events-list time { flex: none; min-width: 120px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.empty-state { max-width: 560px; margin: 0 auto; padding: 56px 20px; text-align: center; }
.empty-state > .icon { width: 30px; height: 30px; margin: 0 auto 18px; color: var(--muted); }
.empty-state h2 { margin-bottom: 10px; font-size: 22px; line-height: 30px; }
.empty-state p { max-width: 48ch; margin: 0 auto 22px; color: var(--muted); font-size: 14px; line-height: 23px; }
.loading { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 72px 20px; color: var(--muted); font-size: 14px; line-height: 22px; }
.loader { display: inline-block; flex: none; width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-region { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: min(420px,calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; color: #fff; background: #252525; box-shadow: var(--elevation); font-size: 14px; line-height: 22px; }
.toast button { display: grid; place-items: center; flex: none; width: 28px; height: 28px; padding: 5px; color: #fff; border-radius: 5px; }
.toast button:hover { background: #ffffff20; }
.toast .icon { width: 16px; height: 16px; }
.confirm-dialog { width: calc(100% - 32px); max-width: 460px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--surface); box-shadow: 0 20px 60px -20px #17171750; }
.confirm-dialog h2 { margin-bottom: 12px; font-size: 22px; line-height: 30px; }
.confirm-dialog p { margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 23px; }
.confirm-dialog .button-row { justify-content: end; }
dialog::backdrop { background: #17171738; }
.nav-drawer { width: 294px; max-width: 85vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; color: var(--ink); background: var(--sidebar-surface); }
.nav-drawer .sidebar { position: relative; inset: auto; width: 100%; height: 100%; padding-top: 12px; border: 0; }
.nav-drawer .brand { padding-right: 38px; }
.drawer-close { position: absolute; z-index: 2; top: 10px; right: 8px; }

@media (max-width: 1279px) {
  .page-layout { grid-template-columns: minmax(0,1fr); }
  .editorial-rail { display: none; }
  .detail-layout, .form-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 32px; }
}

@media (max-width: 1023px) {
  :root { --sidebar: 0px; }
  .desktop-sidebar { display: none; }
  .topbar { padding-inline: 16px; }
  .content { padding: 28px 24px; }
  .checkout-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 28px; }
}

@media (max-width: 899px) {
  .detail-layout, .form-layout { grid-template-columns: minmax(0,1fr); }
  .form-side { display: none; }
  .detail-side { display: block; }
  .detail-side > .button { width: auto; margin-right: 6px; }
  .detail-side .fact-list { max-width: 560px; }
  .review-row { grid-template-columns: minmax(0,1fr) 250px; gap: 20px; }
  .article-item { grid-template-columns: 86px minmax(0,1fr) 44px; gap: 18px; }
}

@media (max-width: 767px) {
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .index-list { grid-template-columns: minmax(0,1fr); }
  .checkout-layout { grid-template-columns: minmax(0,1fr); }
  .order-summary { grid-row: 1; }
  .review-row { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .workspace-row { display: block; }
  .workspace-actions { justify-content: start; margin-top: 16px; }
}

@media (max-width: 639px) {
  .topbar { height: 57px; gap: 8px; padding: 0 10px; }
  .topbar > .icon-button { width: 36px; height: 44px; padding: 9px; }
  .top-search { width: auto; max-width: none; padding-inline: 10px; }
  .top-search .search-placeholder { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top-search .shortcut, .top-search kbd { display: none; }
  .top-actions { gap: 0; }
  .header-submit, .header-submit.button { display: none; }
  .utility-trigger { min-width: 36px; height: 32px; padding: 5px 12px; font-size: 12px; }
  .utility-popover { right: 0; width: min(280px,calc(100vw - 24px)); }
  .content { padding: 24px 16px; }
  h1, .page-heading h1 { font-size: 24px; line-height: 32px; }
  .page-heading { margin-bottom: 32px; }
  .page-heading p { margin-top: 6px; font-size: 14px; line-height: 20px; }
  .featured-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .hero-feature { grid-template-columns: minmax(0,1fr); min-height: 228px; padding: 24px; }
  .hero-feature::before { inset-inline-start: 30%; }
  .hero-feature h2 { font-size: 24px; line-height: 32px; }
  .hero-feature p { max-width: none; font-size: 14px; line-height: 24px; }
  .tool-monogram.feature-logo { display: none; }
  .feature-shortcuts { grid-template-rows: none; }
  .category-shortcut { min-height: 78px; }
  .category-rail { width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .heading-row { gap: 12px; align-items: baseline; }
  .heading-row > div { display: block; }
  .heading-row p { margin-top: 2px; font-size: 13px; line-height: 20px; }
  .heading-row > .text-link { font-size: 13px; }
  .tool-grid { grid-template-columns: minmax(0,1fr); }
  .tool-card { min-height: 129px; }
  .tool-copy > p { font-size: 14px; line-height: 20px; }
  .card-footer { font-size: 12px; }
  .section { margin-top: 32px; }
  .footer { display: block; margin-top: 40px; padding-top: 20px; }
  .footer-links { gap: 20px; margin-top: 14px; }
  .button { min-height: 40px; }
  .button.small { min-height: 36px; }
  .hero-feature .button { min-height: 32px; }
  .filter-panel { gap: 14px 10px; }
  .filter-panel .field { flex: 1 1 calc(50% - 5px); min-width: 0; }
  .filter-panel .filter-search { flex-basis: 100%; }
  .filter-panel .button { flex-basis: 100%; min-height: 44px; }
  .result-summary { align-items: start; font-size: 13px; }
  .active-filters { justify-content: end; }
  .index-item { gap: 12px; min-height: 100px; padding: 18px 16px; }
  .index-item p { font-size: 14px; line-height: 21px; }
  .collection-item { display: block; padding: 20px; }
  .collection-item h2 { font-size: 18px; }
  .collection-item > .button { margin-top: 18px; }
  .article-item { grid-template-columns: minmax(0,1fr) 44px; gap: 10px; padding: 22px 0; }
  .article-date { grid-column: 1/-1; }
  .article-item h2 { font-size: 18px; line-height: 27px; }
  .article-item p { font-size: 14px; line-height: 22px; }
  .article-heading { font-size: 26px; line-height: 36px; }
  .article-meta { font-size: 13px; }
  .article-excerpt { font-size: 16px; line-height: 26px; }
  .article-body { font-size: 16px; line-height: 28px; }
  .detail-top { gap: 14px; margin-bottom: 24px; }
  .detail-top > .tool-monogram { width: 56px; height: 56px; padding: 4px; border-radius: 14px; }
  .detail-title h1 { font-size: 24px; line-height: 32px; }
  .detail-title p { font-size: 14px; line-height: 22px; }
  .detail-description { font-size: 15px; line-height: 26px; }
  .fact-list { font-size: 13px; line-height: 21px; }
  .breadcrumbs { gap: 6px; margin-bottom: 20px; font-size: 13px; line-height: 20px; }
  .form-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .field { margin-bottom: 18px; }
  .field input:not([type="checkbox"]), .field select, .field textarea { min-height: 44px; font-size: 16px; }
  .plan-options { gap: 10px; }
  .plan-option { gap: 8px; padding: 15px 12px; }
  .plan-option strong { font-size: 14px; }
  .plan-option small { font-size: 12px; line-height: 20px; }
  .plan-price { font-size: 20px; line-height: 28px; }
  .form-submit { display: block; }
  .form-submit > .button { width: 100%; min-height: 44px; }
  .form-submit p { margin-top: 12px; }
  .slot-row { gap: 16px; font-size: 13px; }
  .order-summary { padding: 20px; }
  .summary-line { font-size: 13px; }
  .summary-total { font-size: 26px; }
  .status-message { padding-top: 24px; }
  .status-message h2 { font-size: 22px; line-height: 30px; }
  .tabs { gap: 22px; margin-top: 24px; }
  .tab { font-size: 13px; }
  .review-actions .button-row { gap: 8px; }
  .review-actions .button { min-height: 40px; padding: 8px 12px; font-size: 13px; }
  .review-actions input { min-height: 44px; font-size: 14px; }
  .review-row p { font-size: 14px; }
  .setting-row { gap: 16px; }
  .setting-row p { font-size: 13px; }
  .events-list li { display: block; }
  .events-list time { display: block; margin-bottom: 4px; }
  .empty-state { padding: 44px 8px; }
  .empty-state h2 { font-size: 20px; line-height: 28px; }
  .search-dialog { inset: 10vh 16px auto; width: calc(100% - 32px); max-height: 80vh; }
  .search-dialog-top { padding-inline: 12px; gap: 10px; }
  .search-hint { gap: 6px 10px; padding-inline: 12px; font-size: 11px; }
  .toast-region { right: 16px; bottom: 16px; left: 16px; max-width: none; }
  .toast { padding: 12px 14px; font-size: 13px; }
  .confirm-dialog { padding: 24px; }
  .confirm-dialog h2 { font-size: 20px; line-height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader { border-color: var(--accent); }
}
