:root {
  --bg: #faf8f4;
  --bg2: #f1eee8;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --text: #252a26;
  --muted: #646b65;
  --label: #59635d;
  --muted-2: #68746b;
  --line: rgba(16, 24, 40, 0.08);
  --line-strong: rgba(16, 24, 40, 0.14);
  --accent: #36594d;
  --accent2: #4b6b5a;
  --accent-soft: rgba(54, 89, 77, 0.1);
  --green: #248a3d;
  --amber: #c47d12;
  --red: #c23b3b;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.08), 0 1px 2px rgba(17, 24, 39, 0.04);
  --content-shadow: 0 10px 32px rgba(17, 24, 39, 0.06), 0 1px 2px rgba(17, 24, 39, 0.04);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius: 28px;
  --shell: min(1220px, calc(100% - 36px));
  --ink: #1f2823;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion: 180ms var(--ease);
  --motion-slow: 240ms var(--ease);
  --lift-shadow: 0 10px 28px rgba(17, 24, 39, 0.1);
  --header-h: 64px;
  --header-gap: 10px;
  --footer-compact-h: 72px;
  --page-pad-top: 28px;
  --page-pad-bottom: 80px;
  --gutter: 20px;
  --gutter-sm: 16px;
  --tap: 40px;
  --tap-mobile: 44px;
  --compact-h: 32px;
  --control-h: 44px;
  --control-radius: 12px;
  --control-pad-x: 13px;
  --control-bg: #ffffff;
  --control-bg-muted: #f2f4f7;
  --control-border: var(--line-strong);
  --control-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 6.2L8 10.7L12.5 6.2' stroke='%236b7382' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --focus-outset: 8px;
}
.theme-yard {
  --accent: #3f6548;
  --accent2: #567258;
  --accent-soft: rgba(63, 101, 72, 0.1);
  --bg2: #edf2e9;
}
.family-yard {
  --accent: #3f6548;
  --accent2: #567258;
  --accent-soft: rgba(63, 101, 72, 0.1);
}
.family-yard .section-kicker { color: #497a59; }
.family-yard .badge:not(.draft) { background: #eef6ef; color: #245536; }
.family-yard .status-pill:not(.ok):not(.warn) { background: #eef6ef; color: #245536; }
.family-yard .kind-chip { color: #245536; }
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
  scroll-padding-top: 76px;
  min-height: 100dvh;
  scrollbar-gutter: stable;
}
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(106, 137, 118, 0.08), transparent 32%),
    radial-gradient(circle at 8% 18%, rgba(184, 155, 118, 0.07), transparent 28%),
    linear-gradient(180deg, #fdfcf9 0%, #f7f4ef 48%, #faf9f5 100%);
  line-height: 1.47;
}
.theme-yard {
  background:
    radial-gradient(circle at 80% -10%, rgba(106, 137, 118, 0.10), transparent 32%),
    radial-gradient(circle at 8% 18%, rgba(169, 185, 145, 0.08), transparent 28%),
    linear-gradient(180deg, #fdfcf9 0%, #f3f6ef 45%, #faf9f5 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  transform: translateY(-160%); padding: 11px 15px; border-radius: 12px;
  background: #172033; color: #fff; font-weight: 750;
}
.skip-link:focus, .skip-link:focus-visible { transform: none; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile-field {
  margin: 12px 0 4px;
  min-height: 65px;
}
.shell { width: var(--shell); margin-inline: auto; }
.site-header {
  position: sticky; top: var(--header-gap); z-index: 50;
  padding-top: var(--header-gap); flex: 0 0 auto; isolation: isolate;
  min-height: calc(var(--header-gap) + var(--header-h));
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: 16px;
  height: var(--header-h);
  min-height: var(--header-h);
  padding: 0 20px;
  border-radius: var(--radius-lg);
  min-width: 0;
  overflow: visible;
  border-color: rgba(255,255,255,.86);
}
.glass-bar, .glass-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border: 1px solid rgba(255,255,255,.96);
  box-shadow: var(--content-shadow);
}
.glass-bar {
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}
.glass-panel {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: transparent;
}
.glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}
@view-transition {
  navigation: auto;
}
.brand {
  display: flex; align-items: center; gap: 11px; font-weight: 760;
  letter-spacing: -0.025em; min-width: 0; flex-shrink: 0;
  view-transition-name: site-brand;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 0; flex: 0 0 34px;
  display: block; overflow: visible; background: none;
}
.brand-mark-logo {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 18px var(--accent-soft);
}
.brand-mark img { display: block; width: 100%; height: 100%; }
.brand-word { display: inline-flex; align-items: center; white-space: nowrap; font-size: 16px; letter-spacing: -0.035em; line-height: 1; }
.brand-word span { font-weight: 760; color: #1d2a40; }
.brand-word b { font-weight: 790; color: var(--accent); }
.product-word img { display: block; height: 20px; width: auto; }
.brand-lockup { display: block; }
.brand-lockup img { display: block; height: 40px; width: auto; }
.footer-brand { gap: 0; }
.main-nav {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start;
  gap: 4px; min-width: 0; overflow: visible;
  font-size: 14px; color: #546077;
  padding: 0;
}
.main-nav > a, .nav-more > summary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px; flex: 0 0 auto; white-space: nowrap;
  min-height: var(--tap); color: inherit;
}
.main-nav > a[aria-current="page"], .nav-more > summary[aria-current="true"] {
  color: var(--text); font-weight: 650;
  background: rgba(255,255,255,.78);
  box-shadow: 0 2px 10px rgba(54,70,98,.08);
}
.main-nav > a:hover, .nav-more > summary:hover { color: var(--text); background: rgba(255,255,255,.62); }
.nav-more { position: relative; }
.nav-more > summary { list-style: none; cursor: pointer; border: 0; background: transparent; }
.nav-more > summary::-webkit-details-marker { display: none; }
.menu-caret {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.72;
  pointer-events: none;
}
details[open] > summary .menu-caret,
details.is-open > summary .menu-caret {
  transform: rotate(-135deg) translateY(1px);
}
.nav-more-panel {
  display: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 80;
  min-width: 228px; width: max-content; max-width: min(280px, calc(100vw - 32px));
  padding: 8px; border-radius: 18px; gap: 2px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.nav-more[open] .nav-more-panel,
.nav-more.is-open .nav-more-panel {
  display: grid;
}
.nav-more-kicker {
  display: block; width: 100%; box-sizing: border-box; text-align: left;
  margin: 10px 0 4px; padding: 0 10px 0 40px; font-size: 11px; font-weight: 650;
  letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2);
}
.nav-more-kicker:first-child { margin-top: 4px; }
.nav-more-panel a {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center;
  column-gap: 10px; width: 100%; box-sizing: border-box;
  min-height: var(--tap); padding: 8px 10px; border-radius: 12px;
  color: #354158; font-size: 14px; font-weight: 650;
}
.nav-more-panel a .nav-icon { width: 20px; height: 20px; justify-self: center; }
.nav-more-panel a span { min-width: 0; text-align: left; }
.nav-more-panel a:hover, .nav-more-panel a[aria-current="page"] {
  background: var(--accent-soft); color: var(--text);
}
.header-end {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 4px; min-height: var(--tap); min-width: 0; flex-shrink: 0;
}
.header-auth {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.header-cta-ghost {
  background: transparent; color: var(--ink); padding: 8px 12px; border-radius: 999px;
  font-weight: 600; font-size: 13px; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; letter-spacing: -0.01em;
}
.header-cta-ghost:hover { background: rgba(255,255,255,.78); }
.header-cta, .btn-dark {
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: 13px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; letter-spacing: -0.01em;
}
.account-form { margin: 0; }
.account-cluster {
  display: flex; align-items: center; gap: 2px; flex-wrap: nowrap;
  flex: 0 0 auto; font-size: 13px; color: #546077;
}
.icon-btn, .account-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--tap); min-height: var(--tap); padding: 0; border: 0;
  border-radius: 14px; background: transparent; color: #546077; cursor: pointer;
}
.icon-btn:hover, .account-chip:hover {
  color: var(--text); background: rgba(255,255,255,.78);
}
.icon-btn[aria-current="page"] {
  color: var(--accent); background: var(--accent-soft);
}
.nav-icon { display: block; flex: 0 0 20px; }
.account-menu { position: relative; }
.account-menu > summary { list-style: none; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-chip {
  gap: 8px; padding: 0 12px 0 4px; border-radius: 999px;
}
.account-chip .menu-caret { margin-left: 0; }
.account-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 32px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 750; letter-spacing: .02em;
  color: var(--accent); background: var(--accent-soft);
}
.account-label {
  max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #546077;
}
.account-menu-panel {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 220px; width: max-content; max-width: min(240px, calc(100vw - 32px));
  padding: 8px; border-radius: 18px; gap: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.account-menu.is-open .account-menu-panel,
.account-menu[open] .account-menu-panel {
  display: grid;
}
.notif-menu { position: relative; }
.notif-menu > summary { list-style: none; position: relative; overflow: visible; }
.notif-menu > summary::-webkit-details-marker { display: none; }
.notif-panel {
  display: none; flex-direction: column;
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70;
  width: min(360px, calc(100vw - 24px));
  max-height: min(480px, calc(100vh - 88px));
  padding: 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(255,255,255,.9));
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.notif-menu[open] .notif-panel,
.notif-menu.is-open .notif-panel {
  display: flex;
}
.notif-badge {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 750;
  display: grid; place-items: center; line-height: 1;
}
.notif-badge.is-critical { background: #b42318; }
.notif-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px 10px; border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.notif-head > div { min-width: 0; }
.notif-heading { margin: 0; font-size: 15px; font-weight: 750; letter-spacing: -0.02em; }
.notif-meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); font-weight: 650; }
.notif-head form { margin: 0; flex: 0 0 auto; }
.notif-text-btn {
  border: 0; background: transparent; color: var(--accent); cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 750; padding: 4px 0; min-height: 32px;
  white-space: nowrap;
}
.notif-text-btn:hover { text-decoration: underline; }
.notif-list {
  display: grid; gap: 2px; padding: 6px; overflow-y: auto; min-height: 0; flex: 1 1 auto;
}
.notif-empty { margin: 16px 12px; color: var(--muted); font-size: 13px; }
.notif-item { margin: 0; display: block; width: 100%; }
.notif-hit {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: start; gap: 2px 10px; width: 100%; text-align: left; border: 0;
  padding: 10px; border-radius: 12px; cursor: pointer; color: inherit;
  background: transparent; min-height: 44px;
}
.notif-hit:hover { background: rgba(255,255,255,.78); }
.notif-item.is-unread .notif-hit, a.notif-item.is-unread { background: var(--accent-soft); }
.notif-item.is-unread .notif-hit:hover, a.notif-item.is-unread:hover {
  background: color-mix(in srgb, var(--accent) 16%, #fff);
}
.notif-item.is-critical .notif-hit,
.notif-row.is-critical .notif-hit,
a.notif-item.is-critical {
  background: #fff1f1;
}
.notif-item.is-critical .notif-hit:hover,
.notif-row.is-critical .notif-hit:hover,
a.notif-item.is-critical:hover {
  background: #fdecea;
}
.notif-item.is-critical .notif-copy strong,
.notif-row.is-critical .notif-copy strong { color: #8b1e1e; }
.notif-copy { display: grid; gap: 2px; min-width: 0; }
.notif-copy strong {
  font-size: 14px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.notif-meta-line {
  font-size: 12px; line-height: 1.35; color: #546077; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.notif-hit time {
  font-size: 11px; font-weight: 650; color: var(--muted);
  white-space: nowrap; margin-top: 2px; font-variant-numeric: tabular-nums;
}
.notif-dot {
  width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: transparent;
}
.notif-item.is-unread .notif-dot { background: var(--accent); }
.notif-item.is-critical .notif-dot,
.notif-row.is-critical .notif-dot { background: #b42318; }
.notif-foot {
  display: flex; align-items: stretch; gap: 8px; flex: 0 0 auto;
  padding: 8px 12px 12px; border-top: 1px solid var(--line);
}
.notif-foot a {
  display: flex; align-items: center; justify-content: center; flex: 1;
  min-height: 40px; border-radius: 12px; font-size: 13px; font-weight: 750;
  color: var(--accent); background: var(--accent-soft);
}
.notif-feed { display: grid; gap: 4px; }
.notif-feed .notif-hit { padding: 12px 10px; border-radius: 14px; }
.notif-feed .notif-copy strong { font-size: 15px; }
.notif-feed .notif-hit time { font-size: 12px; }
.notif-page .card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 20px;
}
.notif-page .card-head .row-actions {
  flex-wrap: nowrap;
  justify-self: end;
}
.notif-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.notif-row .notif-hit { min-width: 0; }
.notif-row .row-actions { flex: 0 0 auto; margin: 0; flex-wrap: nowrap; }
.notif-row.is-unread .notif-hit { background: var(--accent-soft); }
.notif-row.is-unread .notif-hit:hover { background: color-mix(in srgb, var(--accent) 16%, #fff); }
.notif-row.is-critical .notif-hit { background: #fff1f1; }
.notif-row.is-critical .notif-hit:hover { background: #fdecea; }
.account-menu-panel nav { display: grid; gap: 2px; justify-items: stretch; }
.account-menu-panel .account-form { display: grid; width: 100%; margin: 0; }
.account-menu-panel a, .account-signout {
  display: flex; align-items: center; min-height: var(--tap); padding: 8px 12px;
  border-radius: 12px; border: 0; background: transparent;
  color: #354158; font-size: 14px; font-weight: 650; cursor: pointer;
  width: 100%; box-sizing: border-box; text-align: left; justify-content: flex-start;
}
.account-menu-panel a:hover, .account-signout:hover {
  background: var(--accent-soft); color: var(--text);
}
.account-menu-panel a[aria-current="page"] {
  color: var(--accent); background: var(--accent-soft);
}
.account-signout { color: #8a4a4a; }
.account-menu-sep {
  display: block; height: 1px; margin: 6px 8px; background: var(--line);
}
.hero,
.land-hero.is-wide {
  padding: 60px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: start;
  max-width: none;
  margin: 0 auto;
  min-width: 0;
}
.hero .breadcrumbs,
.land-hero.is-wide .breadcrumbs { margin-bottom: 18px; }
.hero .land-hero-preview,
.land-hero.is-wide .land-hero-preview { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.64); border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 8px 28px rgba(42,61,92,.08); font-size: 13px; color: #546077;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ac16d; box-shadow: 0 0 0 5px rgba(74,193,109,.10); }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -0.05em; margin: 18px 0 18px; font-weight: 700; }
.hero h1 span {
  background: linear-gradient(100deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { font-size: 18px; color: #626d81; max-width: 640px; margin: 0; }
.land-brands {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 16px;
}
.land-brands a { font-weight: 750; font-size: 13px; color: #3d4a61; letter-spacing: -0.02em; }
.land-brands a:hover { color: var(--accent); }
.land-faq dl { display: grid; gap: 12px; margin: 18px 0 0; }
.land-auth + .land-faq { margin-top: 8px; }
.land-faq-item {
  padding: 18px 20px; border-radius: 20px;
  background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.92);
}
.land-faq-item dt { margin: 0 0 8px; font-weight: 750; letter-spacing: -0.02em; }
.land-faq-item dd { margin: 0; color: #546077; font-size: 15px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-primary, .primary-button {
  position: relative; isolation: isolate; border: 0; color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 600; cursor: pointer; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--accent));
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 8px 20px var(--accent-soft);
  transition: transform .16s var(--ease), filter .16s var(--ease), box-shadow .16s var(--ease);
}
.hero-primary:after, .primary-button:after {
  content: ""; position: absolute; z-index: -1; inset: 18% 10% -18%;
  border-radius: inherit; background: color-mix(in srgb, var(--accent) 34%, transparent);
  filter: blur(13px); opacity: .22; pointer-events: none;
}
.hero-primary:hover, .primary-button:hover { transform: none; filter: saturate(1.02); }
.hero-secondary, .secondary-button {
  padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.82); border: 1px solid var(--line-strong); cursor: pointer;
  letter-spacing: -0.01em; color: var(--ink);
}
.hero-preview, .estimate-card, .calculator-card { border-radius: 20px; }
.hero-preview, .estimate-card { padding: 10px; position: relative; }
.hero-preview { overflow: hidden; }
.estimate-card { overflow: visible; }
.hero-preview { padding: 28px; border-radius: 34px; }
.hero-preview:before {
  content: ""; position: absolute; inset: -40% auto auto -20%;
  width: 320px; height: 220px; pointer-events: none;
  background: radial-gradient(circle, rgba(105,132,255,.18), transparent 70%);
}
.theme-yard .hero-preview:before { background: radial-gradient(circle, rgba(78,145,84,.18), transparent 70%); }
.hero-preview:after, .estimate-card:after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; z-index: 1; }
.preview-badge {
  background: #dce6fb; color: #1e3f86; padding: 7px 10px;
  border-radius: 999px; font-size: 12px; font-weight: 750;
}
.theme-yard .preview-badge { color: #245536; background: #e3f0e4; }
.estimate-sticky { padding: 18px var(--gutter) var(--gutter); position: relative; z-index: 1; }
.estimate-next {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}
.estimate-next > p { margin: 0 0 8px; color: #3d4a61; font-size: 14px; line-height: 1.45; }
.estimate-next .actions { margin-top: 12px; }
.preview-price, .estimate-total { font-size: 44px; font-weight: 790; letter-spacing: -0.045em; margin: 12px 0 6px; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.05; }
.preview-sub, .estimate-range, .hint, .muted { color: var(--muted); font-size: 13px; }
.split-bar { height: 9px; display: flex; overflow: hidden; border-radius: 999px; background: #e9edf3; margin: 16px 0; }
.split-bar i { display: block; height: 100%; }
.split-bar i:nth-child(1) { background: var(--accent); }
.split-bar i:nth-child(2) { background: #a0b8f4; }
.theme-yard .split-bar i:nth-child(2) { background: #8fbd83; }
.split-bar i:nth-child(3) { background: #d5dce8; }
.metrics { display: grid; gap: 0; }
.metrics div, .facts div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: #748095;
}
.metrics div:last-child, .facts div:last-child { border-bottom: 0; }
.metrics b, .facts dd, .num { color: #354158; font-variant-numeric: tabular-nums; text-align: right; }
.workspace { padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; min-width: 0; }
.calculator-card {
  /* clip keeps overflow-y visible; hidden would force both axes to auto */
  overflow-x: clip;
  min-width: 0;
  max-width: 100%;
  padding: 4px;
  box-sizing: border-box;
}
@supports not (overflow-x: clip) {
  .calculator-card { overflow-x: hidden; }
}
.project-pane, .form-section, .table-wrap { min-width: 0; max-width: 100%; }
.card-head { padding: 16px 16px 10px; display: flex; justify-content: space-between; align-items: start; gap: var(--gutter-sm); }
.card-head .actions { margin: 0; align-self: start; flex: 0 0 auto; }
.card-head h1, .card-head h2 { margin: 2px 0 0; font-size: 26px; letter-spacing: -0.032em; font-weight: 680; line-height: 1.15; }
.card-head .hint { margin: 8px 0 0; max-width: 62ch; }
.section-kicker { margin: 0; color: var(--label); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 650; }
.theme-yard .section-kicker { color: #497a59; }
.project-section-nav {
  display: none;
  margin: 0 0 12px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.project-section-nav > label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #546077);
}
.project-section-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.project-section-nav .control,
.project-section-nav select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.project-section-pick {
  position: relative;
  min-width: 0;
}
.project-section-pick select.control {
  padding-right: 42px;
}
.has-js .project-section-go { display: none; }
.has-js .project-section-row { grid-template-columns: 1fr; }
.new-job .selling-price-field { display: none; }
.new-job:has(input[name="purpose"][value="contractor_job"]:checked) .selling-price-field.field { display: flex; }
.new-job:has(input[name="purpose"][value="contractor_job"]:checked) .selling-price-field.hint { display: block; }
.mode-tabs-bar {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 16px 12px;
  padding: 3px;
  width: max-content;
  max-width: calc(100% - 32px);
  min-width: 0;
  position: relative;
  z-index: 8;
  border-radius: 12px;
  background: rgba(118, 128, 146, 0.1);
}
.mode-tabs {
  display: flex; flex-wrap: nowrap; gap: 2px; margin: 0;
  padding: 0;
  min-width: 0;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  border-radius: 0; background: transparent;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  align-items: stretch;
  justify-content: flex-start;
}
.mode-tabs::-webkit-scrollbar { display: none; }
.mode-tabs a {
  border-radius: 10px; padding: 8px 12px; color: #5c6778; font-weight: 600; font-size: 13px;
  min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; white-space: nowrap;
}
.project-pane { padding: 4px 0 8px; min-width: 0; }
.project-pane > .form-section { border-top: 0; }
.calculator-card > .form-section:first-child { border-top: 0; }
.mode-tabs a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.theme-yard .mode-tabs-bar { background: #e4efe6; }
.theme-yard .mode-tabs { background: transparent; }
.segment-bar {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0 0 18px;
  padding: 3px;
  width: max-content;
  max-width: 100%;
  border-radius: 12px;
  background: rgba(118, 128, 146, 0.1);
}
.segment-bar a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 10px;
  color: #5c6778;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.money-pane-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 8px;
}
.money-pane-head h2 { margin: 0; }
.money-pane-head .segment-bar { margin: 0; flex: 0 0 auto; }
.segment-bar a[aria-current="page"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16,24,40,.08);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}
.back-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
}
.workspace .card-head h1 { font-size: 26px; letter-spacing: -0.03em; }
.project-more { position: relative; flex: 0 0 auto; }
.project-more > summary {
  list-style: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 12px;
  color: #5c6778;
  font-weight: 600;
  font-size: 13px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  background: transparent;
}
.project-more > summary::-webkit-details-marker { display: none; }
.project-more > summary[aria-current="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16,24,40,.08);
}
.project-more-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 24;
  min-width: 168px;
  padding: 8px;
  gap: 2px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.project-more[open] .project-more-panel,
.project-more.is-open .project-more-panel {
  display: grid;
}
.project-more-panel a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #354158;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.project-more-panel a:hover,
.project-more-panel a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--text);
}
.form-section { padding: 16px 16px 24px; border-top: 1px solid var(--line); min-width: 0; }
.form-section, .filter-bar, .field-grid, .auth-card .field { overflow: visible; }
.form-section h2 { font-size: 17px; letter-spacing: -0.02em; margin: 20px 0 10px; font-weight: 650; }
.form-section > h2:first-child { margin-top: 0; }
.form-section .money-pane-head h2 { margin: 0; }
.form-section ul { padding-left: 18px; color: #546077; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
  margin: 0 0 14px;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0; margin: 0 0 14px;
}
.field-grid > .field { margin: 0; }
.field > span, legend {
  display: block; font-size: 12px; color: var(--label); font-weight: 600;
  letter-spacing: 0; line-height: 1.3; min-height: 16px;
}
label:not(.choice):not(.account-chip) { font-size: 12px; color: var(--label); font-weight: 600; }
.field:has(:required:not([type="hidden"]):not([type="checkbox"]):not([type="radio"])) > span::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px; margin-left: 6px;
  border-radius: 50%; vertical-align: 1px;
  background: color-mix(in srgb, var(--accent) 55%, #8a95a6);
}
.field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea,
.control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: var(--control-h);
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background-color: var(--control-bg);
  color: var(--text);
  font-size: 15px;
  padding: 0 var(--control-pad-x);
  line-height: 1.25;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  transition: border-color var(--motion), box-shadow var(--motion), background-color var(--motion);
}
.field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.field select,
select.control,
.todo-snooze-date input[type="date"] {
  height: var(--control-h);
}
.field textarea,
textarea.control {
  height: auto;
  min-height: 140px;
  padding: 12px var(--control-pad-x);
  line-height: 1.45;
  resize: vertical;
}
.field input[type="file"] {
  height: auto;
  padding: 10px 12px;
  line-height: 1.3;
}
.field input[type="date"],
.todo-snooze-date input[type="date"] {
  color-scheme: light;
  padding-right: 12px;
}
.field input[type="date"]::-webkit-calendar-picker-indicator,
.todo-snooze-date input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .55; cursor: pointer; width: 16px; height: 16px;
}
select:not([multiple]),
.field select,
select.control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  color-scheme: light;
  background-color: var(--control-bg);
  background-image: none;
  cursor: pointer;
  text-overflow: ellipsis;
}
.field:has(> select) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.field:has(> select) > span { grid-column: 1; }
.field:has(> select) > select { grid-column: 1; grid-row: 2; }
.select-wrap {
  position: relative;
  display: block;
  min-width: 0;
  max-width: 100%;
}
.field:has(> select)::after,
.project-section-pick::after,
.select-wrap::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.72;
  pointer-events: none;
  color: #546077;
  z-index: 1;
}
.field:has(> select)::after {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  margin-right: 16px;
}
.project-section-pick::after,
.select-wrap::after {
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -5px;
}
.inline-form .select-wrap,
.lead-snooze .select-wrap {
  display: inline-block;
  width: auto;
  min-width: 8.5rem;
}
.inline-form select.control {
  width: auto;
  min-width: 8.5rem;
  max-width: 100%;
  height: 36px;
  min-height: 36px;
}
.field select option,
.field select optgroup,
select.control option,
select.control optgroup {
  background-color: #fff;
  color: var(--text);
}
.field select optgroup,
select.control optgroup {
  font-weight: 750;
  color: #546077;
}
.field :is(input, select, textarea)::placeholder {
  color: #8a95a6;
  opacity: 1;
}
.field input:hover:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not(:disabled):not([readonly]),
.field select:hover:not(:disabled),
.field textarea:hover:not(:disabled):not([readonly]),
.control:hover:not(:disabled):not([readonly]) {
  border-color: color-mix(in srgb, var(--ink) 22%, var(--control-border));
}
.field input:focus:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.field select:focus,
.field textarea:focus,
.control:focus {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--control-border));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 0 0 4px var(--accent-soft);
}
.field input:focus-visible:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.field select:focus-visible,
.field textarea:focus-visible,
.control:focus-visible {
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 0 0 4px var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 48%, var(--control-border));
}
.field :is(input, select, textarea):user-invalid,
.control:user-invalid {
  border-color: color-mix(in srgb, var(--red) 42%, var(--control-border));
}
.field :is(input, select, textarea):user-invalid:focus,
.control:user-invalid:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 14%, transparent);
}
.field input:disabled,
.field select:disabled,
.field textarea:disabled,
.field input[readonly],
.field textarea[readonly],
.control:disabled,
.control[readonly] {
  background-color: var(--control-bg-muted);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
  border-style: solid;
}
.field select:disabled,
select.control:disabled {
  background-image: none;
  background-color: var(--control-bg-muted);
}
.field + .hint,
.field-grid + .hint,
.hint + .field,
.hint + .field-grid {
  margin-top: 0;
}
.field + .hint,
.field-grid + .hint { margin: 2px 0 14px; }
.choice { display: flex; gap: 8px; align-items: center; margin: 8px 0; font-weight: 500; color: var(--text); }
.toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin: 28px 0 18px; }
.table-wrap {
  overflow: auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  isolation: isolate;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
}
table { width: 100%; border-collapse: collapse; }
.table-wrap:not(.report-table) table {
  border-collapse: separate;
  border-spacing: 0;
}
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.35; overflow-wrap: break-word; vertical-align: middle; }
.table-wrap table.is-ledger { min-width: 56rem; }
.table-wrap table.projects-table { min-width: 44rem; }
.table-wrap table.changes-table { min-width: 36rem; width: 100%; }
.table-wrap table.projects-table th[scope="row"] {
  max-width: 22rem; min-width: 16rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.table-wrap th { white-space: nowrap; overflow-wrap: normal; }
.table-wrap td.num, .table-wrap td.col-date, .table-wrap td.col-status, .table-wrap td.col-kind {
  white-space: nowrap; overflow-wrap: normal;
}
.table-wrap td .actions { margin-top: 0; }
.table-wrap:not(.report-table) table > :first-child > tr:first-child > :first-child { border-top-left-radius: 19px; }
.table-wrap:not(.report-table) table > :first-child > tr:first-child > :last-child { border-top-right-radius: 19px; }
.table-wrap:not(.report-table) table > :last-child > tr:last-child > :first-child { border-bottom-left-radius: 19px; }
.table-wrap:not(.report-table) table > :last-child > tr:last-child > :last-child { border-bottom-right-radius: 19px; }
.num { overflow-wrap: normal; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 650; color: var(--muted-2); background: rgba(248,250,252,.72); }
tbody tr:hover td { background: rgba(255,255,255,.55); }
tr:last-child td { border-bottom: 0; }
.banner {
  padding: 11px 14px; border-radius: var(--radius-sm); background: #eef3ff;
  color: #1e3f86; font-size: 13px; margin: 0 0 14px; line-height: 1.45;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
}
.calculator-card > .banner { margin: 12px 16px 0; }
.calculator-card > .banner + .banner { margin-top: 8px; }
.theme-yard .banner { background: #eef6ef; color: #245536; border-color: rgba(47, 125, 74, 0.22); }
.banner.warn { background: #fff8eb; color: #71501f; border: 1px solid rgba(180,112,28,.22); }
.banner.error { background: #fff1f1; color: #b42318; border: 1px solid rgba(180,35,24,.18); }
.theme-yard .banner.warn { color: #71501f; }
.theme-yard .banner.error { color: #b42318; }
.badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; max-width: 100%; padding: 4px 8px; border-radius: 999px; background: #dce6fb; color: #1e3f86; font-size: 11px; font-weight: 700; line-height: 1.25; text-align: center; white-space: nowrap; }
.estimate-card { position: sticky; top: 72px; border-radius: 20px; z-index: 4; }
.estimate-card:before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 64%);
}
.site-footer {
  flex: 0 0 auto;
  padding: 34px 0 48px;
  min-height: 148px;
  color: #8a95a6; font-size: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(239,244,251,.55));
}
.theme-yard .site-footer { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(236,245,236,.55)); }
.site-footer.is-compact {
  flex: 0 0 var(--footer-compact-h);
  height: var(--footer-compact-h);
  min-height: var(--footer-compact-h);
  max-height: var(--footer-compact-h);
  padding: 0;
  box-sizing: border-box;
}
.site-footer.is-compact .footer-inner {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px 24px;
  min-height: var(--footer-compact-h);
  height: var(--footer-compact-h);
}
.site-footer.is-compact .footer-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  padding: 0;
  min-height: 0;
  overflow: hidden;
}
.site-footer.is-compact .footer-company { padding-top: 0; }
.site-footer.is-compact.is-admin .footer-inner,
.site-footer.is-compact.is-client .footer-inner {
  grid-template-columns: 1fr;
}
.site-footer.is-full {
  min-height: 148px;
  padding: 34px 0 48px;
}
.site-footer.is-full .footer-inner {
  grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(132px, .72fr)) minmax(180px, .75fr);
}
.footer-langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.footer-langs a[aria-current="true"] { color: #2a3850; font-weight: 760; }
.site-footer.is-full .footer-brand-block small { display: block; margin-top: 8px; }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(120px, .55fr) minmax(180px, .7fr);
  align-items: start; gap: 36px; min-height: 88px;
}
.footer-brand-block p { max-width: 390px; margin: 12px 0 0; line-height: 1.6; }
.footer-links { display: grid; gap: 9px; padding-top: 4px; min-height: 92px; }
.footer-links a { width: max-content; font-weight: 650; color: #606e83; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col-title {
  margin: 0 0 2px; font-size: 11px; font-weight: 760;
  letter-spacing: .08em; text-transform: uppercase; color: #98a1b0;
}
.footer-col a { width: max-content; font-weight: 650; color: #606e83; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 10px; }
.footer-legal a { font-weight: 650; color: #606e83; }
.footer-company { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-top: 2px; }
.footer-company > span { font-size: 9px; text-transform: uppercase; letter-spacing: .11em; color: #98a1b0; font-weight: 760; }
.footer-company > strong { font-size: 13px; font-weight: 760; color: #2a3850; }
.footer-company small { font-size: 9.5px; color: #8994a5; }
.narrow { max-width: 560px; margin: 0 auto; padding: 32px; border-radius: 28px; }
.auth-card { position: relative; overflow: visible; padding: 36px 40px 32px; }
.auth-card:before {
  content: ""; position: absolute; inset: -40% auto auto -16%;
  width: 260px; height: 180px; pointer-events: none;
  background: radial-gradient(circle, rgba(105,132,255,.16), transparent 70%);
}
.auth-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.auth-card h1 { margin: 4px 0 10px; font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.04em; font-weight: 680; }
.auth-lead { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.auth-actions { margin-top: 8px; }
.auth-actions .primary-button, .auth-actions .secondary-button { min-width: 0; }
.auth-alt {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  display: grid; gap: 10px;
}
.auth-alt form { margin: 0; }
.auth-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px;
  margin: 22px 0 0; font-size: 13px; color: #546077;
}
.auth-foot a { font-weight: 650; color: var(--accent); }
.theme-yard .auth-foot a { color: #245536; }
.auth-card .btn-quiet:disabled,
.auth-card .secondary-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.otp-field { margin-top: 4px; }
.otp-group { position: relative; max-width: 100%; }
.otp-input {
  font-size: 16px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-weight: 650;
}
.otp-boxes {
  display: none;
  grid-template-columns: repeat(6, 2.5rem);
  justify-content: start;
  gap: 6px;
  width: max-content;
  max-width: 100%;
}
.otp-group.is-ready .otp-collect {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.otp-group.is-ready .otp-boxes { display: grid; }
.field input.otp-box:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
  width: 2.5rem;
  max-width: 2.5rem;
  height: var(--control-h);
  min-height: var(--control-h);
  padding: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  border-radius: var(--control-radius);
  caret-color: var(--accent);
}
.field input.otp-box.is-filled:not([type="hidden"]) {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--control-border));
  background: color-mix(in srgb, var(--accent-soft) 80%, #fff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  color: var(--ink);
}
.field input.otp-box.is-invalid:not([type="hidden"]),
.field input.otp-box.is-invalid:not([type="hidden"]):focus {
  border-color: color-mix(in srgb, var(--red) 62%, var(--control-border));
  background: color-mix(in srgb, var(--red) 10%, #fff);
  color: var(--red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 14%, transparent);
  outline: none;
}
@media (max-width: 420px) {
  .otp-boxes { gap: 4px; grid-template-columns: repeat(6, 2.25rem); }
  .field input.otp-box:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
    width: 2.25rem;
    max-width: 2.25rem;
    font-size: 16px;
  }
  .option-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "copy pick del" "num pick del";
    column-gap: 6px;
    row-gap: 2px;
    align-items: center;
  }
  .option-row > .option-copy { grid-area: copy; }
  .option-row > .num { grid-area: num; justify-self: start; font-size: 12px; }
  .option-row > :nth-child(3) { grid-area: pick; }
  .option-row > :nth-child(4) { grid-area: del; }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ambient {
  position: fixed; pointer-events: none; filter: blur(1px); opacity: .7;
  border-radius: 999px; z-index: -1; contain: layout style size;
  will-change: transform, opacity;
}
.ambient-one { width: 560px; height: 560px; background: radial-gradient(circle, rgba(106,137,118,.12), rgba(106,137,118,0) 70%); top: -180px; right: -150px; }
.theme-yard .ambient-one { background: radial-gradient(circle, rgba(78,145,84,.19), rgba(78,145,84,0) 70%); }
.ambient-two { width: 440px; height: 440px; background: radial-gradient(circle, rgba(184,155,118,.10), rgba(184,155,118,0) 70%); left: -180px; top: 360px; }
.theme-yard .ambient-two { background: radial-gradient(circle, rgba(121,169,85,.14), rgba(121,169,85,0) 70%); }
.ambient-three { width: 520px; height: 520px; background: radial-gradient(circle, rgba(139,157,126,.08), rgba(139,157,126,0) 70%); right: 12%; bottom: -80px; }
.theme-yard .ambient-three { background: radial-gradient(circle, rgba(185,221,140,.16), rgba(185,221,140,0) 70%); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: #748095; }
.facts + .table-wrap { margin-top: 12px; }
.facts dt { margin: 0; }
.facts dd { margin: 0; color: #354158; font-variant-numeric: tabular-nums; text-align: right; }
.facts.overview-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.facts.overview-highlight > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 12px;
  color: var(--muted);
}
.facts.overview-highlight dt { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.facts.overview-highlight dd {
  margin: 0; font-size: 17px; letter-spacing: -0.03em; font-weight: 650;
  text-align: left; color: var(--ink); line-height: 1.25;
}
.badge.draft { background: #e8edf5; color: #546077; }
.btn-quiet { background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); color: #546077; cursor: pointer; padding: 8px 12px; font-weight: 650; border-radius: 999px; }
.meta { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
fieldset { border: 0; padding: 0; margin: 12px 0 0; }
.choice input[type="checkbox"],
.choice input[type="radio"] {
  width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  margin: 0; padding: 0; border: 0; border-radius: 4px;
  background: none; box-shadow: none;
  accent-color: var(--accent); cursor: pointer;
}
.page-main {
  flex: 1 1 auto;
  width: 100%;
  padding: var(--page-pad-top) 0 var(--page-pad-bottom);
}
.hero-list { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; color: #626d81; font-size: 14px; }
.hero-list li { padding-left: 18px; position: relative; }
.hero-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.land-block { width: var(--shell); margin: 10px auto 36px; padding: 28px 0 8px; }
.land-block h2 { margin: 8px 0 12px; font-size: 30px; letter-spacing: -0.035em; }
.land-hero { width: var(--shell); padding: 36px 0 12px; max-width: 760px; }
.land-hero h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.05em; line-height: 1.02; margin: 12px 0 16px; }
.land-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0 8px; }
.land-grid-2 { grid-template-columns: 1fr 1fr; }
.land-grid-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat-fact-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; margin: 18px 0 0;
}
.feat-fact {
  padding: 20px 22px; border-radius: 20px;
  background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.92);
}
.feat-fact h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.02em; }
.feat-fact p { margin: 0; color: #546077; font-size: 14px; line-height: 1.5; }
.lv-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.lv-kinds b {
  font-size: 11px; font-weight: 750; padding: 6px 10px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(42,61,92,.08); color: #3d4a61;
}
.lv-client {
  padding: 14px 14px 12px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(42,61,92,.08);
}
.lv-client em {
  display: inline-flex; margin: 6px 0 8px; font-style: normal;
  font-size: 11px; font-weight: 750; padding: 4px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.land-feature {
  width: var(--shell); margin: 0 auto; padding: 28px 0 8px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 32px; align-items: center;
}
.land-feature h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.05em; line-height: 1.04; margin: 12px 0 16px; }
.land-feature .hero-copy { max-width: 58ch; }
.land-feature-preview { padding: 0; overflow: hidden; border-radius: var(--radius-xl); }
.land-feature-preview.is-photo {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.land-feature-preview.is-photo .land-visual,
.land-feature-preview.is-photo .land-visual.is-photo {
  margin: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: inherit;
}
.land-feature-preview.is-photo img { border-radius: inherit; }
.land-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0 16px;
}
.land-compare-col { padding: 20px 20px 22px; border-radius: 28px; display: grid; gap: 12px; }
.land-compare-col .land-visual.is-photo {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 20px;
}
.land-compare-col.is-cabinet { box-shadow: 0 16px 36px var(--accent-soft); }
.land-compare-col h3 { margin: 4px 0 0; letter-spacing: -0.03em; }
.land-compare-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.land-compare-list li { padding-left: 18px; position: relative; color: #3d4a61; font-size: 14px; line-height: 1.5; }
.land-compare-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: #c5cedb;
}
.land-compare-col.is-cabinet .land-compare-list li::before { background: var(--accent); }
.lv-app {
  display: grid; gap: 8px;
}
.lv-app-bar {
  margin: 0; font-size: 12px; font-weight: 750; color: #546077;
}
.lv-room-group, .lv-sheet, .lv-person {
  padding: 10px 12px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
}
.lv-fold-head {
  margin: 0 0 8px; font-size: 13px; font-weight: 760; letter-spacing: -0.02em;
}
.lv-line {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 36px; padding: 6px 0;
  border-bottom: 1px solid rgba(42,61,92,.06);
  font-size: 13px; font-weight: 650; color: #3d4a61;
}
.lv-line:last-child { border-bottom: 0; }
.lv-line small { color: #8a93a6; font-size: 11px; font-weight: 650; text-align: right; }
.lv-line .status-pill, .lv-line .kind-chip { flex: 0 0 auto; }
.lv-tabbar {
  display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #eef1f6;
}
.lv-tabbar span {
  flex: 1; text-align: center; font-size: 11px; font-weight: 720;
  padding: 7px 4px; border-radius: 9px; color: #62708a;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lv-tabbar span.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,24,40,.1); }
.lv-track {
  display: grid; grid-template-columns: 72px 1fr; gap: 8px; align-items: center;
  min-height: 28px; font-size: 12px; color: #62708a; font-weight: 650;
}
.lv-bar {
  display: block; height: 14px; border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), var(--accent2));
}
.lv-track.is-yard .lv-bar { background: linear-gradient(145deg, #8fbd83, #4e9154); }
.lv-sheet p { margin: 0 0 6px; font-size: 14px; font-weight: 750; }
.lv-sheet small { display: block; color: #8a93a6; font-size: 12px; line-height: 1.4; }
.lv-sheet-action {
  display: inline-flex; margin-top: 10px; padding: 6px 10px; border-radius: 10px;
  background: #eef1f6; font-size: 11px; font-weight: 750; color: #3d4a61;
}
.lv-person { display: grid; gap: 6px; }
.lv-person b { font-size: 14px; letter-spacing: -0.02em; }
.lv-person small { color: #8a93a6; font-size: 12px; }
.lv-dash {
  display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
}
.lv-dash-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lv-dash b { font-size: 16px; letter-spacing: -0.025em; }
.lv-dash small { color: #8a93a6; font-size: 12px; line-height: 1.4; }
.lv-transfer {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center;
  margin: 4px 0 8px;
}
.lv-transfer span {
  padding: 10px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  text-align: center; font-size: 12px; font-weight: 750;
}
.lv-transfer span.is-on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.lv-transfer i {
  width: 16px; height: 2px; background: var(--accent);
}
.land-visual {
  border-radius: 16px; padding: 12px 12px 10px;
  background: #f4f6fa;
  border: 1px solid var(--line);
}
.land-visual.is-card { margin: 0 0 8px; min-height: 148px; }
.land-visual.is-hero { min-height: 240px; padding: 16px; border-radius: 18px; }
.land-visual.is-photo {
  padding: 0; overflow: hidden; border: 0; background: #e8edf5;
}
.land-visual.is-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 16 / 10;
  border-radius: inherit;
}
.land-visual.is-editorial.is-photo {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  min-height: 0;
}
.land-visual.is-editorial.is-photo picture,
.land-visual.is-editorial.is-photo img {
  width: 100%; height: 100%; display: block;
}
.land-visual.is-editorial.is-photo img {
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: inherit;
}
.land-visual.is-product-art {
  padding: 0; background: transparent; overflow: hidden; border-radius: 20px; min-height: 0;
}
.land-visual.is-product-art img {
  display: block; width: 100%; height: auto; object-fit: contain; border-radius: inherit;
}
.land-proof-grid .land-visual.is-product-art {
  aspect-ratio: 36 / 25;
  min-height: 0;
  margin-block-end: 8px;
  display: grid;
  place-items: center;
}
.land-proof-grid .land-visual.is-product-art img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}
.land-visual.is-product-art.is-reports img,
.land-feature.is-reports .land-visual.is-product-art img {
  max-width: 100%;
}
@media (max-width: 700px) {
  .land-proof-grid .land-card-link h3 {
    min-height: 0;
  }
}
.land-grid-compact .land-card-link.is-compact { padding: 18px 18px 16px; }
.land-grid-compact .land-card-link.is-compact h3 { min-height: 0; }
.feat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.feat-card-icon svg { display: block; width: 22px; height: 22px; }
.land-card-link:hover .feat-card-icon {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}
.land-editorial-strip { display: grid; gap: 10px; }
.land-editorial-strip .land-visual.is-editorial { max-width: 720px; }
.land-visual.is-hero.is-photo { min-height: 0; padding: 0; }
.land-visual.is-card.is-photo { min-height: 0; }
.land-visual.is-hero.is-photo img { aspect-ratio: 4 / 3; }
.lv-rooms, .lv-ledger, .lv-order { display: grid; gap: 8px; }
.lv-room {
  display: grid; gap: 6px; padding: 10px 12px; border-radius: 14px;
  background: #fff; border: 1px solid rgba(42,61,92,.06);
}
.lv-room b { font-size: 12px; color: #3d4a61; }
.lv-room i {
  display: block; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.lv-order {
  padding: 12px 14px; border-radius: 16px; background: #fff;
  border: 1px solid rgba(42,61,92,.08);
}
.lv-order > p { margin: 0 0 8px; font-size: 14px; font-weight: 750; color: #2d3a52; }
.lv-cal {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 12px;
}
.lv-cal span {
  height: 10px; border-radius: 999px; background: #e4e9f2;
}
.lv-cal span.is-on { background: var(--accent); }
.lv-row, .lv-remain, .lv-gantt {
  display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; margin: 8px 0;
}
.lv-row span, .lv-remain span, .lv-gantt span { font-size: 12px; color: #62708a; font-weight: 650; }
.lv-row i, .lv-remain i, .lv-gantt i {
  display: block; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.lv-remain i { background: linear-gradient(90deg, #a0b8f4, #d5dce8); }
.lv-formula { margin: 10px 0 8px; font-size: 28px; font-weight: 790; letter-spacing: -0.04em; }
.lv-pill-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(42,61,92,.06); font-size: 13px; color: #3d4a61;
}
.lv-pill-row em, .lv-choices b {
  flex: 0 0 auto;
  font-style: normal; font-size: 11px; font-weight: 750;
  padding: 4px 8px; border-radius: 999px; background: #eef1f6; color: #5a6780;
  white-space: nowrap; text-align: center;
}
.lv-pill-row em.is-on, .lv-choices b.is-on, .lv-flow em.is-on {
  background: var(--accent-soft); color: var(--accent);
}
.lv-choices { display: flex; gap: 8px; margin: 10px 0 12px; }
.lv-doc {
  padding: 14px 14px 12px; border-radius: 16px; background: #fff; border: 1px solid rgba(42,61,92,.08);
}
.lv-doc-mark {
  display: block; width: 36px; height: 6px; border-radius: 999px; background: var(--accent); margin-bottom: 10px;
}
.lv-doc p { margin: 0 0 10px; font-size: 13px; font-weight: 750; }
.lv-doc i { display: block; height: 6px; border-radius: 999px; background: #e7ebf2; margin: 7px 0; }
.lv-doc i:nth-child(3) { width: 82%; }
.lv-doc i:nth-child(4) { width: 64%; }
.lv-doc i:nth-child(5) { width: 48%; }
.lv-people {
  display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; font-weight: 700; color: #3d4a61;
}
.lv-people span {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent2));
}
.lv-people:last-child span { background: linear-gradient(145deg, #8fbd83, #4e9154); }
.lv-flow {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 12px;
}
.lv-flow em {
  flex: 1; font-style: normal; font-size: 12px; font-weight: 750; text-align: center;
  padding: 10px 8px; border-radius: 14px; background: #fff; border: 1px solid rgba(42,61,92,.08);
}
.lv-flow span { color: var(--accent); font-weight: 780; }
.lv-pdf { display: grid; gap: 8px; margin: 8px 0 12px; }
.lv-pdf i { display: block; height: 38px; border-radius: 12px; background: #fff; border: 1px dashed rgba(42,61,92,.16); }
.lv-pdf-chip {
  display: inline-flex; margin: 10px 0 4px; padding: 6px 10px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(42,61,92,.1);
  font-size: 11px; font-weight: 750; letter-spacing: .04em; color: #5a6780;
}
.lv-note { margin: 8px 0 0; font-size: 12px; color: #6b7890; line-height: 1.45; }
.lv-aou { display: flex; gap: 8px; margin-top: 8px; }
.lv-aou b {
  flex: 1; text-align: center; font-size: 12px; padding: 6px 0; border-radius: 10px;
  background: #fff; border: 1px solid rgba(42,61,92,.08);
}
.lv-meter {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; margin: 8px 0;
}
.lv-meter span { font-size: 12px; font-weight: 750; color: #62708a; }
.lv-meter i {
  display: block; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.lv-gantt.is-yard i { background: linear-gradient(90deg, #8fbd83, #4e9154); }
.land-hero-preview { padding: 0; overflow: hidden; }
.land-hero-preview.is-photo {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: var(--radius-xl);
}
.land-hero-preview.is-photo .land-visual,
.land-hero-preview.is-photo .land-visual.is-photo {
  margin: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: inherit;
}
.land-hero-preview.is-photo img { border-radius: inherit; }
.land-hero-preview .land-visual,
.land-feature-preview .land-visual { margin: 0; min-height: 0; background: #fff; }
.land-hero-preview .land-visual.is-photo,
.land-feature-preview .land-visual.is-photo { background: transparent; }
.land-hero-preview .hint { margin: 10px 16px 14px; }
.land-visual.is-card .lv-job-head,
.land-visual.is-card .lv-job-tabs,
.land-visual.is-card .lv-job-foot,
.land-path .lv-job-head,
.land-path .lv-job-tabs,
.land-path .lv-job-foot { display: none; }
.land-visual.is-card .lv-job { gap: 8px; }
.lv-job { display: grid; gap: 14px; }
.lv-job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lv-job-kicker {
  margin: 0 0 4px; font-size: 11px; font-weight: 750;
  letter-spacing: .06em; text-transform: uppercase; color: #8a93a6;
}
.lv-job-head b { display: block; font-size: 22px; letter-spacing: -0.035em; line-height: 1.15; }
.lv-job-head em {
  flex: 0 0 auto; font-style: normal; font-size: 12px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.lv-job-tabs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px; padding: 4px; border-radius: 14px; background: #eef1f6;
}
.lv-job-tabs span {
  text-align: center; font-size: 11px; font-weight: 720;
  padding: 8px 4px; border-radius: 10px; color: #62708a;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lv-job-tabs span.is-on {
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 3px rgba(16,24,40,.1);
}
.lv-job-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: #546077;
}
.lv-job-foot em {
  font-style: normal; padding: 5px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.land-visual.is-cabinet { background: #fff; }
.land-visual.is-cabinet.is-hero { min-height: 0; padding: 0; }
.land-visual.is-cabinet.is-photo {
  background: transparent;
  padding: 0;
}
.land-visual.is-cabinet.is-hero.is-photo { padding: 0; }
/* Product illustrations use synthetic examples and readable, localized HTML. */
.land-eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.land-hero-preview.is-product, .land-feature-preview.is-product { overflow: visible; }
.land-visual.is-product { padding: 0; overflow: hidden; background: #f6f5f0; border: 1px solid #dfe3da; color: var(--ink); }
.land-visual.is-product.is-hero { border-radius: 24px; box-shadow: 0 24px 56px -30px rgba(35,54,44,.35); }
.mp-content { padding: 22px; }
.mp-photo { height: 145px; position: relative; overflow: hidden; }
.mp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; display: block; }
.mp-photo span { position: absolute; inset: auto 0 0; padding: 24px 22px 14px; background: linear-gradient(transparent, rgba(25,34,27,.75)); color: #fff; font-size: 12px; letter-spacing: .04em; }
.mp-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 20px; }
.mp-heading small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.mp-heading b { display: block; font-size: 20px; line-height: 1.2; letter-spacing: -.03em; }
.mp-heading > span { padding: 6px 9px; border-radius: 8px; background: #e5ebe3; color: var(--accent); font-size: 11px; font-weight: 700; max-width: 40%; }
.mp-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.mp-metrics small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.mp-metrics strong { display: block; font-size: clamp(24px,2.5vw,34px); font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mp-budget-track { display: flex; height: 9px; gap: 3px; border-radius: 4px; overflow: hidden; }
.mp-budget-track i:nth-child(1) { width: 46%; background: #36594d; }
.mp-budget-track i:nth-child(2) { width: 26%; background: #93a993; }
.mp-budget-track i:nth-child(3) { width: 28%; background: #d9dfd4; }
.mp-legend { display: flex; justify-content: space-between; gap: 10px; margin: 9px 0 25px; font-size: 10px; color: var(--muted); }
.mp-schedule { margin-top: 8px; }
.mp-scale { display: grid; grid-template-columns: minmax(90px,1.6fr) repeat(4,1fr); align-items: center; padding-bottom: 10px; color: var(--muted); font-size: 10px; }
.mp-scale span:first-child { color: var(--ink); font-size: 12px; font-weight: 700; }
.mp-task { display: grid; grid-template-columns: minmax(90px,1.6fr) 4fr; align-items: center; min-height: 31px; font-size: 11px; }
.mp-task > div { height: 31px; display: flex; align-items: center; background: repeating-linear-gradient(90deg,#dde3d9 0,#dde3d9 1px,transparent 1px,transparent 25%); }
.mp-bar { display: block; height: 16px; border-radius: 5px; }
.mp-bar-0 { margin-left: 2%; width: 24%; background: #a3b59a; }
.mp-bar-1 { margin-left: 26%; width: 46%; background: #4b6b5a; }
.mp-bar-2 { margin-left: 72%; width: 27%; background: #b59a76; }
.mp-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #dde3d9; font-size: 12px; }
.mp-row:last-child { border-bottom: 0; }
.mp-row strong { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mp-emphasis { color: var(--accent); }
.mp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mp-table th, .mp-table td { padding: 10px 6px; border-bottom: 1px solid #dde3d9; text-align: right; white-space: nowrap; }
.mp-table th { font-weight: 600; color: var(--muted); font-size: 11px; }
.mp-table td:first-child, .mp-table th:first-child { text-align: left; white-space: normal; }
.mp-proof-title { margin: 0 0 8px; font-size: 18px; font-weight: 650; letter-spacing: -0.03em; }

.cap-page { padding-bottom: 24px; }
.cap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: 36px 0 8px;
}
.cap-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.cap-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 18px;
}
.cap-hero .hero-copy { font-size: 18px; line-height: 1.6; max-width: 38rem; }
.cap-page .land-hero-preview.is-product,
.cap-page .land-feature-preview.is-product { background: transparent; box-shadow: none; }
.cap-page .land-visual.is-product-art { background: transparent; box-shadow: none; min-height: 0; }
.cap-page .feat-card-icon { margin-bottom: 2px; }
.cap-beta { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.cap-block { padding: 56px 0 8px; }
.cap-block h2, .cap-workflow h2, .cap-faq h2, .cap-group-head h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 18px;
}
.cap-audiences, .cap-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.cap-audiences p, .cap-benefits p, .cap-group-head p, .cap-example p, .cap-sequence p, .cap-steps p {
  margin: 6px 0 0;
  color: var(--muted);
}
.cap-group { padding: 48px 0 8px; }
.cap-group-head { margin-bottom: 20px; }
.cap-group-head p { max-width: 40rem; }
.cap-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cap-cards.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cap-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffef9;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}
.cap-card:hover,
.cap-card:focus-visible { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: #fff; }
.cap-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cap-card h3 { margin: 0; font-size: 18px; }
.cap-card p { margin: 0; color: var(--muted); font-size: 15px; }
.cap-card span { color: var(--accent); font-size: 14px; font-weight: 650; }
.cap-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cap-sequence b { display: block; color: var(--accent); font-size: 13px; margin-bottom: 10px; }
.cap-sequence h3, .cap-steps h3 { margin: 0; font-size: 17px; }
.cap-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cap-callout p { max-width: 46rem; color: var(--muted); }
.cap-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 56px 0 8px;
}
.cap-steps { list-style: none; margin: 24px 0 0; padding: 0; }
.cap-steps li { position: relative; padding: 0 0 24px 46px; }
.cap-step-num {
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: #eef1e8; color: var(--accent); font-weight: 650;
}
.cap-example {
  background: #eef1e8;
  border-radius: 18px;
  padding: 28px;
}
.cap-faq { padding: 48px 0 8px; }
.cap-faq .land-faq-item { background: #fffef9; border-color: var(--line); }
.cap-guide { margin: 18px 0 0; }
.cap-calc-sources { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; }
.cap-closing {
  width: var(--shell);
  margin: 48px auto 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: 36px 40px;
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
}
.cap-closing h2 { margin: 0 0 10px; max-width: 40rem; color: #fff; }
.cap-closing p { margin: 0; color: #e2ebe5; max-width: 38rem; }
.cap-closing .hero-primary { background: #fffef9; color: var(--accent); }
.cap-closing .hero-secondary { background: transparent; color: #fff; border-color: #c1d0c6; }
.cap-closing .cap-beta { color: #d7e2db; }
@media (max-width: 960px) {
  .cap-hero, .cap-workflow { grid-template-columns: 1fr; gap: 28px; }
  .cap-audiences, .cap-benefits, .cap-cards, .cap-cards.is-two { grid-template-columns: 1fr 1fr; }
  .cap-callout, .cap-closing { display: block; }
  .cap-callout .hero-secondary, .cap-closing .hero-actions { margin-top: 20px; }
  .cap-sequence { grid-template-columns: 1fr 1fr; }
  .mp-table .mp-qty { display: none; }
}
@media (max-width: 640px) {
  .cap-block, .cap-workflow, .cap-group { padding-top: 36px; }
  .cap-audiences, .cap-benefits, .cap-cards, .cap-cards.is-two, .cap-sequence { grid-template-columns: 1fr; }
  .cap-hero h1 { font-size: 2.2rem; }
  .cap-hero .hero-copy { font-size: 17px; }
  .cap-closing { padding: 26px; }
}
.mp-item { display: flex; gap: 12px; align-items: center; padding: 8px 0 18px; }
.mp-item b { font-size: 14px; }
.mp-item small { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.mp-symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #e5ebe3; color: var(--accent); font-size: 24px; }
.mp-static-hint { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.mp-options { display: grid; grid-template-columns: 1fr; gap: 8px; pointer-events: none; }
.mp-option {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid #dce0d7; padding: 10px 12px; border-radius: 12px; background: #fffdf9;
  cursor: default; user-select: none;
}
.mp-option.is-selected { border-color: var(--accent); background: #f3f6f2; }
.mp-option:not(.is-selected) { opacity: 0.62; }
.mp-swatch { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 8px; margin: 0; display: block; }
.mp-swatch.is-oak { background: repeating-linear-gradient(95deg,#b79770,#c4a983 9px,#d0b794 13px,#c4a983 18px); }
.mp-swatch.is-stone { background: linear-gradient(135deg,#dddcd3 20%,#bfbeb5 21%,#eeece3 23%,#d3d2c8 65%,#aaa99f 66%,#e2e1d7 69%); }
.mp-option b, .mp-option strong { display: block; font-size: 13px; margin: 0 0 2px; }
.mp-option small { color: var(--accent); font-size: 11px; font-weight: 650; }
.mp-option:not(.is-selected) small { color: var(--muted); }
.mp-report { background: #fffdf9; padding: 20px; border: 1px solid #dfe3da; border-radius: 3px 3px 12px 12px; }
.mp-report-mark { width: 30px; height: 5px; display: block; background: var(--accent); margin-bottom: 14px; }
.mp-report > small { font-size: 10px; color: var(--muted); }
.mp-report h3 { font-size: 19px; margin: 8px 0; }
.mp-report p { font-size: 11px; margin: 0 0 14px; color: var(--muted); }
.mp-report-format { margin-top: 10px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.mp-report-format span { padding: 0 6px; }
.mp-views { display: flex; gap: 20px; margin-bottom: 22px; font-size: 12px; color: var(--muted); }
.mp-views b { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 7px; }
.mp-note { background: #e5ebe3; padding: 12px; margin-top: 14px; border-radius: 8px; font-size: 12px; color: var(--accent); }
.mp-import { display: grid; gap: 10px; text-align: center; padding: 8px 0; }
.mp-import span { padding: 12px; border: 1px solid #dfe3da; border-radius: 8px; background: #fffdf9; font-size: 12px; }
.mp-import b { color: var(--accent); }
.land-visual.is-product.is-card { height: auto; min-height: 310px; }
.is-card .mp-content { padding: 15px; }
.is-card .mp-heading { margin-bottom: 12px; }
.is-card .mp-heading b { font-size: 14px; }
.is-card .mp-heading > span { display: none; }
.is-card .mp-metrics { margin-bottom: 8px; }
.is-card .mp-metrics strong { font-size: 23px; }
.is-card .mp-metrics small { font-size: 10px; }
.is-card .mp-row { padding: 9px 0; font-size: 11px; }
.is-card .mp-report { padding: 12px; }
.is-card .mp-report h3 { font-size: 15px; }
.is-card .mp-report > p, .is-card .mp-report > small, .is-card .mp-report-mark { display: none; }
.is-card .mp-option { padding: 8px 10px; }
.is-card .mp-swatch { width: 32px; height: 32px; flex-basis: 32px; }
.is-card .mp-views { margin-bottom: 12px; gap: 12px; }
.land-path .land-visual.is-product { height: 228px; }
.land-path .mp-heading { display: none; }
.land-path .mp-content { padding: 12px; }
@media (max-width: 600px) {
  .mp-content { padding: 18px; }
  .mp-photo { height: 125px; }
  .mp-heading b { font-size: 18px; }
  .mp-legend { font-size: 9px; gap: 6px; }
  .land-visual.is-product.is-hero { border-radius: 20px; }
}
.demo-selection { padding-top: 32px; padding-bottom: 36px; }
.demo-selection > header { max-width: 760px; margin-bottom: 28px; }
.demo-selection h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.12; margin: 0 0 16px; }
.demo-selection > header p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.demo-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
a.demo-choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  min-width: 0; min-height: 260px; padding: 24px;
  border: 1px solid var(--line); border-radius: 20px; background: #fff;
  text-decoration: none; color: inherit;
}
a.demo-choice:hover, a.demo-choice:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 0 0 3px var(--accent-soft);
}
a.demo-choice:hover .feat-card-icon,
a.demo-choice:focus-visible .feat-card-icon {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}
a.demo-choice h2 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; font-weight: 650; }
a.demo-choice p { margin: 0 0 12px; line-height: 1.55; color: var(--muted); }
a.demo-choice .section-kicker { margin: 0 0 2px; }
a.demo-choice .primary-button { margin-top: auto; pointer-events: none; }
.demo-note { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 820px; margin: 24px 0 0; }
.demo-safety {
  width: var(--shell); margin: var(--page-pad-top) auto 0; padding: 10px 20px;
  border-radius: 14px; border: 1px solid var(--line); background: #fff;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-size: 13px; line-height: 1.45;
}
.demo-safety + .page-main { padding-top: 16px; }
.demo-safety strong { font-weight: 650; letter-spacing: -0.02em; }
.demo-safety span { flex: 1 1 220px; color: var(--muted); }
.demo-safety a { color: var(--accent); font-weight: 650; margin-left: auto; }
@media (max-width: 700px) {
  .demo-choices { grid-template-columns: 1fr; gap: 12px; }
  a.demo-choice { min-height: 0; padding: 20px; }
  a.demo-choice .primary-button { width: 100%; justify-content: center; }
}
.land-hero-stage {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; margin: 28px 0 8px;
}
.land-hero-stage .land-visual { min-height: 168px; }
.land-auth {
  width: var(--shell); margin: 28px auto 48px;
  display: grid; grid-template-columns: minmax(320px, 1.05fr) minmax(280px, .95fr);
  gap: 22px; align-items: stretch;
}
.land-auth .auth-card { margin: 0; width: auto; max-width: none; align-self: stretch; }
.land-auth-preview { padding: 18px; border-radius: 28px; }
.auth-showcase {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 100%;
  padding: 26px 24px 22px;
  border-radius: 28px;
  color: #edf2ec;
  background:
    radial-gradient(120% 80% at 12% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 58%),
    radial-gradient(90% 70% at 100% 100%, rgba(185, 160, 119, .2), transparent 52%),
    linear-gradient(165deg, #1c2e27 0%, #2b4136 58%, #17271f 100%);
  box-shadow: 0 22px 48px rgba(17, 24, 39, .18), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}
.theme-yard .auth-showcase {
  background:
    radial-gradient(120% 80% at 12% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 58%),
    radial-gradient(90% 70% at 100% 100%, rgba(121, 169, 85, .2), transparent 52%),
    linear-gradient(165deg, #142018 0%, #1a2a20 58%, #101712 100%);
}
.auth-showcase-copy { display: grid; gap: 8px; }
.auth-showcase-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 62%, var(--accent));
}
.auth-showcase-copy h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.04em;
  font-weight: 720;
  line-height: 1.08;
  color: #fff;
}
.auth-showcase-copy h2 span { color: color-mix(in srgb, #fff 78%, var(--accent2)); }
.auth-showcase-copy p {
  margin: 0;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(232, 237, 246, .78);
}
.auth-reel { position: relative; }
.auth-reel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  background: #0d121b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.auth-reel-slide {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  animation: auth-fade 25s infinite;
  animation-fill-mode: both;
}
.auth-reel-slide:nth-child(1) { opacity: 1; visibility: visible; animation-delay: 0s; }
.auth-reel-slide:nth-child(2) { animation-delay: -20s; }
.auth-reel-slide:nth-child(3) { animation-delay: -15s; }
.auth-reel-slide:nth-child(4) { animation-delay: -10s; }
.auth-reel-slide:nth-child(5) { animation-delay: -5s; }
.auth-reel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-reel-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,22,.08) 28%, rgba(10,14,22,.78) 100%);
  pointer-events: none;
}
.auth-reel-caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 1;
  display: grid;
  gap: 4px;
  pointer-events: none;
}
.auth-reel-caption strong {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #fff;
}
.auth-reel-caption em {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(232, 237, 246, .82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.auth-reel-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.auth-reel-dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.auth-reel-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.32);
  cursor: pointer;
  transition: width 180ms var(--ease), background 180ms var(--ease);
  animation: auth-dot 25s infinite;
  animation-fill-mode: both;
}
.auth-reel-dot:nth-child(1) .auth-reel-radio { animation-delay: 0s; }
.auth-reel-dot:nth-child(2) .auth-reel-radio { animation-delay: -20s; }
.auth-reel-dot:nth-child(3) .auth-reel-radio { animation-delay: -15s; }
.auth-reel-dot:nth-child(4) .auth-reel-radio { animation-delay: -10s; }
.auth-reel-dot:nth-child(5) .auth-reel-radio { animation-delay: -5s; }
.auth-reel-dot:focus-within { outline: 2px solid white; outline-offset: 2px; border-radius: 8px; }
.auth-reel-dot:hover .auth-reel-radio { background: rgba(255,255,255,.7); }
.auth-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 2px 0 0;
}
.auth-showcase-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #152033;
  font-size: 13px;
  font-weight: 700;
}
.auth-showcase-cta:hover { filter: brightness(1.04); }
.auth-showcase-actions > a:not(.auth-showcase-cta) {
  color: rgba(232, 237, 246, .82);
  font-size: 13px;
  font-weight: 650;
}
.auth-showcase-actions > a:not(.auth-showcase-cta):hover { color: #fff; }
.auth-reel:has(.auth-reel-radio:checked) .auth-reel-slide {
  animation: none;
  opacity: 0;
  visibility: hidden;
}
.auth-reel:has(.auth-reel-radio:checked) .auth-reel-radio { animation: none; }
.auth-reel:has(.auth-reel-dot:nth-child(1) .auth-reel-radio:checked) .auth-reel-slide:nth-child(1),
.auth-reel:has(.auth-reel-dot:nth-child(2) .auth-reel-radio:checked) .auth-reel-slide:nth-child(2),
.auth-reel:has(.auth-reel-dot:nth-child(3) .auth-reel-radio:checked) .auth-reel-slide:nth-child(3),
.auth-reel:has(.auth-reel-dot:nth-child(4) .auth-reel-radio:checked) .auth-reel-slide:nth-child(4),
.auth-reel:has(.auth-reel-dot:nth-child(5) .auth-reel-radio:checked) .auth-reel-slide:nth-child(5) {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.auth-reel-radio:checked {
  width: 18px;
  background: #fff;
}
@keyframes auth-fade {
  0%, 18% { opacity: 1; visibility: visible; z-index: 2; }
  20%, 100% { opacity: 0; visibility: hidden; z-index: 0; }
}
@keyframes auth-dot {
  0%, 18% { width: 18px; background: #fff; }
  20%, 100% { width: 8px; background: rgba(255,255,255,.32); }
}
.plan-flow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0 18px;
}
.plan-flow em {
  font-style: normal; font-size: 13px; font-weight: 750;
  padding: 10px 14px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(42,61,92,.08);
}
.plan-flow em.is-on { background: var(--accent-soft); color: var(--accent); }
.plan-flow span { color: var(--accent); font-weight: 780; }
.land-cta-band .land-visual { min-height: 132px; margin: 0; width: 100%; }
.land-cta-band .land-visual.is-photo { min-height: 0; border-radius: 18px; }
.land-path { align-items: stretch; }
.land-path li { align-content: start; }
.land-path .land-visual { min-height: 118px; padding: 10px; margin: 0 0 4px; }
.land-path .land-visual.is-photo { min-height: 0; padding: 0; }
.land-path .lv-formula { font-size: 20px; }
.land-card {
  padding: 22px 22px 20px; border-radius: 24px;
  transition: transform var(--motion), box-shadow var(--motion);
}
.land-card:hover { transform: none; box-shadow: var(--content-shadow); }
.land-card h2, .land-card h3 { margin: 0 0 10px; letter-spacing: -0.03em; }
.land-card p { margin: 0; color: #546077; font-size: 14px; line-height: 1.55; }
.land-card-link {
  display: grid; align-content: start; gap: 8px;
  text-decoration: none; color: inherit; min-height: 100%;
}
.land-card-link .section-kicker { margin: 0 0 4px; }
.land-card-cta { margin-top: 8px; font-size: 13px; font-weight: 750; color: var(--accent); }
.land-card-link:hover .land-card-cta { text-decoration: underline; }
.land-card-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.land-card-warn { background: #fff8eb; }
.land-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; padding: 20px 0 36px; }
.land-split .land-card {
  display: grid;
  grid-template-rows: 310px auto 1fr;
  gap: 16px 0;
  min-height: 100%;
}
.land-split .land-visual {
  height: 310px;
  min-height: 0;
  margin: 0;
}
.land-split .land-card h2 {
  min-height: 2.6em;
  margin: 0;
  display: flex;
  align-items: flex-end;
}
.land-split .land-card p { margin: 0; }
.land-split .land-visual.is-product {
  display: flex;
  flex-direction: column;
}
.land-split .mp-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.land-split .mp-metrics { display: none; }
.land-split .mp-report {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
  border: 0;
}
.land-split .mp-report h3,
.land-split .mp-report-format { display: none; }
.land-split .mp-ledger { margin-top: auto; }
.land-grid .land-card-link,
.land-grid-feats .land-card-link {
  grid-template-rows: auto auto 1fr auto;
}
.land-grid .land-card-link h3,
.land-grid-feats .land-card-link h3 { min-height: 2.5em; }
.land-compare { align-items: stretch; }
.land-compare-col { min-height: 100%; }
.land-path {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px; list-style: none; margin: 22px 0 0; padding: 0;
}
.land-path li {
  display: grid; gap: 10px; padding: 18px 16px; border-radius: 20px;
  background: #fff; border: 1px solid rgba(42,61,92,.08);
  box-shadow: 0 10px 24px rgba(42,61,92,.06);
  font-size: 14px; font-weight: 650; color: #3d4a61;
}
.land-path li > span {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 780;
}
.feat-points {
  display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: feat;
}
.feat-points li {
  counter-increment: feat;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 22px 24px; border-radius: 24px;
  background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.92);
  font-size: 17px; line-height: 1.5; color: #3d4a61;
}
.feat-points li::before {
  content: counter(feat);
  width: 36px; height: 36px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 780;
}
.plans-hero {
  width: var(--shell); margin: 0 auto; padding: 40px 0 8px;
  display: grid; justify-items: start; max-width: none;
}
.plans-hero h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.04em; line-height: 1.12; margin: 6px 0 12px; font-weight: 680; }
.plans-hero .hero-copy { max-width: 62ch; }
.plans-hero .hero-actions { margin-top: 22px; }
.plans-how {
  max-width: var(--shell); margin-top: 38px; padding: clamp(28px, 4vw, 48px);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), color-mix(in srgb, var(--accent-soft) 72%, #fff));
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: 0 22px 56px rgba(42,61,92,.10);
}
.plans-how h2 { margin-top: 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.05em; }
.plans-how .hero-copy { max-width: 68ch; }
.plans-how .actions { margin-top: 24px; }
.feat-stage {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px; align-items: start;
}
.feat-stage .hero-copy { margin: 0 0 4px; }
.plan-stage {
  width: var(--shell);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin: 20px auto 36px; align-items: stretch;
}
.plan-stage.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-stage .plan-card {
  padding: 28px 26px 24px; border-radius: 28px;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 12px; min-height: 100%;
}
.plan-stage .plan-card.is-year {
  background: rgba(255,255,255,.62);
}
.plan-stage .plan-card .badge { margin: 0; width: fit-content; }
.plan-stage .plan-card h2 { margin: 0; font-size: 28px; letter-spacing: -0.035em; }
.plan-stage .plan-card .plan-price { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.plan-stage .plan-card .plan-lead { margin: 0; color: #546077; min-height: 3.2em; }
.plan-stage .plan-card .plan-list { margin: 4px 0 0; align-self: stretch; }
.plan-stage .plan-card .hint { margin: 0; align-self: end; }
.plan-stage .plan-card .actions { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-self: end; }
.plan-stage .plan-card.is-current { box-shadow: 0 16px 36px var(--accent-soft); }
.plan-stage .plan-card.is-unknown { background: #fff8eb; }
.plan-list { margin: 8px 0 4px; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan-list li { padding-left: 18px; position: relative; color: #3d4a61; font-size: 14px; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.plan-card.is-unknown .plan-list li::before { background: #c48a22; }
.land-cta-band {
  width: var(--shell); margin: 8px auto 48px; padding: 24px 28px; border-radius: 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 24px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 16px 36px rgba(42,61,92,.06);
}
.land-cta-band h2 { margin: 0 0 8px; letter-spacing: -0.03em; }
.land-cta-band p { margin: 0; color: #546077; max-width: 56ch; }
.land-cta-band .actions { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.land-legal { max-width: 760px; margin: 28px auto 48px; padding: 32px; border-radius: 28px; display: grid; gap: 12px; }
.preview-formula {
  font-size: 44px; font-weight: 790; letter-spacing: -0.045em; margin: 12px 0 8px;
}
.plan-cards { width: var(--shell); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px auto 36px; }
.plan-card { padding: 22px 24px; }
.plan-card.is-unknown { background: #fff8eb; }
.preview-formula { font-size: 22px; font-weight: 780; letter-spacing: -0.03em; margin: 8px 0 4px; }
.settings-layout {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}
.settings-nav {
  padding: 16px 20px;
  border-radius: 20px;
  position: sticky; top: calc(var(--header-gap) + var(--header-h) + 12px);
  z-index: 4;
  min-width: 0;
  max-width: 100%;
}
.settings-stack .hint, .settings-card .hint { max-width: 62ch; }
.settings-pane-head { margin: 0 0 16px; }
.settings-pane-head h2 {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -0.03em;
  font-weight: 680;
}
.settings-pane-head .hint { margin: 0; }
.settings-form { display: grid; gap: 12px; }
article.settings-card { padding: 16px 18px; }
article.settings-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.settings-stack .public-profile-block,
.settings-stack .logo-upload-block,
.settings-stack .report-preview-mini { margin: 0; }
.settings-card.danger-zone {
  border-color: color-mix(in srgb, var(--red) 28%, var(--line));
  background: color-mix(in srgb, var(--red) 6%, #fff);
}
.settings-card.danger-zone h3 { color: var(--red); }
.data-inventory { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.data-inventory li {
  display: grid; gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.data-inventory li:first-child { border-top: 0; padding-top: 2px; }
.data-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 14px; font-weight: 650; color: var(--ink);
}
.data-item a { color: inherit; }
.data-item b { font-variant-numeric: tabular-nums; font-weight: 750; }
.data-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.data-flag {
  display: inline-flex; align-items: center;
  padding: 3px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 750; letter-spacing: .02em; white-space: nowrap;
}
.data-flag.is-download { background: #e8f7ee; color: #1f7a3d; }
.data-flag.is-close { background: #fdeeee; color: #9a3b3b; }
.data-flag.is-off { background: rgba(118, 128, 146, 0.1); color: #8a93a6; }
.settings-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.settings-facts li { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.primary-button.btn-danger { background: var(--red); color: #fff; border-color: transparent; }
.settings-nav h1 { margin: 4px 0 12px; font-size: 26px; letter-spacing: -0.03em; font-weight: 680; }
.settings-nav nav { display: grid; gap: 4px; }
.settings-home-links { display: grid; gap: 4px; }
.settings-home-links a {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center;
  column-gap: 10px; padding: 9px 8px; border-radius: 12px;
  color: var(--ink); font-weight: 600; font-size: 14px;
}
.settings-home-links a:hover { background: #fff; }
.settings-card .settings-home-links { padding: 0 8px 8px; }
.settings-nav-label {
  margin: 14px 0 4px; padding: 0 12px 0 40px; font-size: 11px; font-weight: 750; letter-spacing: .06em;
  text-transform: uppercase; color: #8a93a6; text-align: left;
}
.settings-nav-label:first-child { margin-top: 0; }
.settings-nav a {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center;
  column-gap: 10px; padding: 9px 12px; border-radius: 12px;
  color: #5c6778; font-weight: 600; font-size: 14px;
}
.settings-nav a span { min-width: 0; text-align: left; }
.settings-nav a[href*="tab=close"] { margin-top: 10px; color: #8a4a4a; }
.settings-nav .nav-icon { width: 18px; height: 18px; }
.settings-nav a[aria-current="page"] {
  background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,24,40,.1);
}
.settings-stack {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
}
.settings-card,
.fold.settings-card,
.fold > .fold-body,
.fold > .fold-body > .fold-inner {
  min-width: 0;
  max-width: 100%;
}
.settings-card,
.fold.settings-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.settings-card:last-child { border-bottom: 1px solid var(--line); }
.fold.settings-card > summary { padding: 14px 16px; margin: 0; }
.fold.settings-card[open] > .fold-body { padding: 0 16px 16px; }
.settings-card h2, .form-section h3 { font-size: 17px; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 650; }
.settings-card .table-wrap + h3,
.form-section .table-wrap + h3 { margin-top: 28px; }
.settings-card .table-wrap + form,
.form-section .table-wrap + form { margin-top: 22px; }
.danger-card { padding-top: 8px; }
.report-preview-mini {
  margin: 0; padding: 0; border: 0; background: transparent;
}
.report-preview-mini strong { display: block; font-size: 16px; }
.unconfigured-card {
  padding: 14px 16px; border-radius: 16px; background: #fff8eb; color: #71501f; margin: 0 0 18px;
}
.unconfigured-card p { margin: 0 0 8px; }
.unconfigured-card p:last-child { margin: 0; }
body.role-view .form-section button[type="submit"]:not(.allow-view),
body.role-view .needs-admin,
body.role-edit .needs-admin { display: none !important; }
input.invite-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.workspace-home {
  padding: 0;
  display: grid;
  gap: 20px;
}
.workspace-home .page-heading,
.workspace-home .next-action,
.workspace-home .dash-stats,
.workspace-home .dash-current-head,
.workspace-home .dash-todos,
.workspace-home .todo-board,
.workspace-home .dash-flow,
.workspace-home .dash-week,
.workspace-home .dash-empty,
.workspace-home .dash-group { margin: 0; }
.workspace-home .page-heading,
.workspace-home .dash-attention,
.workspace-home .dash-current-head,
.workspace-home .dash-section-head {
  padding-inline: 20px;
}
.dash-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0;
}
.dash-pulse {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}
.dash-today-stack { display: grid; gap: 12px; }
.dash-group { display: grid; gap: 8px; }
.dash-inset {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: none;
}
.dash-job-list { display: grid; gap: 0; }
.dash-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  min-height: 56px;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.dash-job:last-child { border-bottom: 0; }
.dash-job .dash-card-top, .dash-job .row-actions { display: none; }
.dash-job-copy { min-width: 0; }
.dash-job h2 {
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-job h2 a { color: inherit; text-decoration: none; }
.dash-job h2 a:hover { color: var(--accent); }
.dash-job .dash-card-next { display: none; }
.dash-job-aside { display: grid; justify-items: end; gap: 4px; text-align: right; }
.dash-job .dash-card-flags { margin: 0; justify-content: end; }
.dash-job-money { margin: 0; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.dash-job-money.is-incomplete { color: var(--muted); font-weight: 600; max-width: 22ch; }
.dash-week-list { list-style: none; margin: 0; padding: 0; display: grid; }
.dash-week-list li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.dash-week-list li:last-child { border-bottom: 0; }
.dash-week-list li.is-today { background: color-mix(in srgb, var(--accent-soft) 55%, #fff); }
.dash-week-list li.is-today time { color: var(--accent); }
.dash-week-list time { font-size: 13px; font-weight: 650; color: var(--muted); }
.dash-week-list a { min-width: 0; text-decoration: none; color: inherit; }
.dash-week-list strong { display: block; font-size: 14px; font-weight: 650; letter-spacing: -0.01em; }
.dash-week-list small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 2px; }
.dash-todos .todo-list { gap: 0; }
.dash-todos .todo-list li {
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.dash-todos .todo-list li:last-child { border-bottom: 0; }
.dash-todos .hint { margin: 0; padding-inline: 20px; }
.dash-current { display: grid; gap: 8px; }
.page-heading {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin: 0 0 16px; min-height: 0;
}
.page-heading > div:first-child { min-width: 0; }
.page-heading h1 { margin: 4px 0 0; font-size: 28px; letter-spacing: -0.03em; line-height: 1.12; font-weight: 680; }
.dash-range-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 8px 0 0;
}
.dash-range { margin: 0; }
.cal-jumps { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-day.this-week { background: color-mix(in srgb, var(--accent-soft) 42%, #fff); }
.page-heading .actions, .page-heading .row-actions { margin: 0; flex: 0 0 auto; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dash-card {
  display: flex; flex-direction: column;
  padding: 20px; border-radius: var(--radius-lg);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.dash-card:hover { transform: none; box-shadow: var(--content-shadow); }
.dash-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.dash-card .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
.dash-card h2 { margin: 8px 0 0; font-size: 18px; letter-spacing: -0.02em; font-weight: 650; min-width: 0; overflow-wrap: break-word; }
.dash-card .preview-price { font-size: 24px; margin: 8px 0 2px; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 16px; }
.dash-stat { padding: 14px 16px; border-radius: 16px; }
a.dash-stat { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.dash-stat:hover { transform: none; box-shadow: none; }
a.dash-stat:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.dash-stat b { display: block; font-size: 24px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash-stat span { color: var(--muted); font-size: 12px; font-weight: 650; }
.line-item {
  padding: 0; border: 1px solid var(--line); border-radius: 16px;
  background: #fff; margin: 0 0 8px;
}
.room-group { margin: 0 0 16px; }
.line-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.line-list .line-item {
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.line-list .line-item:last-child { border-bottom: 0; }
.line-list .line-item[open] { background: #fafafa; }
.room-group h3 { margin: 0 0 12px; font-size: 16px; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 12px; }
.room-group h3 small { color: var(--muted); font-weight: 650; font-variant-numeric: tabular-nums; }
.allowance-card { box-shadow: inset 0 0 0 1px var(--accent-soft); }
.allowance-title { display: grid; gap: 2px; min-width: 0; flex: 1; text-align: left; }
.allowance-title .section-kicker { margin: 0; }
.allowance-title strong { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
.option-block { margin-top: 12px; display: grid; gap: 8px; }
.option-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.5rem auto auto;
  align-items: center;
  column-gap: 8px;
  min-height: 52px;
  padding: 8px 8px 8px 14px;
  border-radius: 0;
  background: transparent;
}
.option-row > .num {
  justify-self: end;
  font-size: 13px;
  font-weight: 650;
  color: #354158;
}
.option-row + .option-row { border-top: 1px solid var(--line); }
.option-row.is-chosen { background: color-mix(in srgb, var(--accent-soft) 55%, #fff); }
.option-copy { min-width: 0; display: grid; gap: 2px; }
.option-copy span {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.option-copy b {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.option-row .is-selected, .btn-compact.is-selected {
  background: var(--accent); color: #fff; border-color: transparent;
}
.row-actions { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.dash-card .row-actions { margin-top: auto; padding-top: 14px; }
.card-head .row-actions { align-self: start; flex: 0 0 auto; margin: 0; }
.btn-compact.btn-icon:has(.btn-icon-label) { padding: 4px 10px; min-width: 0; }
.option-row form { display: flex; align-items: center; justify-content: center; margin: 0; flex: none; }
.option-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 7.5rem) auto;
  align-items: end;
  gap: 8px;
  margin: 0;
  padding: 10px 8px 12px 14px;
  border-top: 1px solid var(--line);
  background: #fafafa;
}
.option-add .field { margin: 0; }
.option-add .btn-icon { justify-self: end; align-self: end; }
.line-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.btn-compact {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: var(--compact-h); padding: 4px 10px; border-radius: var(--radius-xs); font-size: 12px; font-weight: 600;
  border: 1px solid var(--line-strong); background: #fff; cursor: pointer;
  text-decoration: none; color: inherit; line-height: 1.2;
}
.order-close-button {
  width: max-content; min-height: 30px; height: 30px; padding: 4px 9px;
  font-size: 11px; font-weight: 650; white-space: nowrap;
}
.btn-compact.btn-icon { min-width: var(--compact-h); padding: 4px; }
.btn-compact .action-icon { flex: 0 0 16px; }
.btn-compact .btn-icon-label { font-size: 12px; font-weight: 650; }
.btn-danger { color: var(--red); border-color: color-mix(in srgb, var(--red) 28%, var(--line)); }
.status-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  flex: 0 0 auto; max-width: 100%; box-sizing: border-box;
  padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 650; line-height: 1.25; text-align: center;
  white-space: nowrap; background: #eef2f8; color: #4d5d78;
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.ok { background: #e8f7ee; color: #1f7a3d; }
.status-pill.warn { background: #fff8eb; color: #71501f; }
.estimate-topline { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.estimate-topline .section-kicker { max-width: 16ch; line-height: 1.25; }
.estimate-insight { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.report-preview-page { width: 100%; padding-bottom: 12px; }
.report-preview-bar {
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  margin: 0 auto 8px; padding: 8px 0 18px;
}
.report-preview-bar h1 { margin: 4px 0 0; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.04em; line-height: 1.08; }
.report-preview-bar .actions { margin: 0; }
.report-desk {
  padding: 20px 16px 56px;
  background: linear-gradient(180deg, transparent, rgba(184, 192, 206, 0.28) 72px, rgba(184, 192, 206, 0.22));
}
.report-sheet {
  max-width: 210mm;
  margin: 0 auto;
}
.settings-card .report-sheet { max-width: none; margin: 18px 0 8px; }
body.report-print {
  background: #d8dde6;
  padding: 36px 16px 64px;
}
.report-print-bar { max-width: 210mm; margin: 0 auto 16px; }
body.report-print .report-sheet { margin: 0 auto; }
.report-doc {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #fffcf7;
  color: #151d2c;
  border: 1px solid rgba(28, 36, 52, 0.08);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 18px 28px rgba(21, 29, 44, 0.06), 0 40px 80px rgba(21, 29, 44, 0.16);
}
.report-doc::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.report-header { margin: 0; padding: 28px 48px 0; }
.report-letterhead {
  display: flex; justify-content: space-between; align-items: start; gap: 24px;
  padding-bottom: 22px; border-bottom: 1px solid rgba(21, 29, 44, 0.1);
}
.report-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.report-doc .brand-mark {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px;
}
.report-from {
  margin: 0 0 3px; font-size: 10px; font-weight: 750;
  letter-spacing: 0.12em; text-transform: uppercase; color: #8a93a3;
}
.report-business {
  margin: 0; font-size: 17px; font-weight: 760; letter-spacing: -0.03em; color: #151d2c;
}
.report-contact { margin: 4px 0 0; font-size: 13px; color: #667085; }
.report-kind { text-align: right; }
.report-kind-label {
  margin: 0 0 4px; font-size: 11px; font-weight: 750;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.report-kind-name { margin: 0; font-size: 15px; font-weight: 650; color: #2a3448; }
.report-titleblock { padding: 26px 0 8px; }
.report-doc h1 {
  font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.05em; line-height: 1.08;
  margin: 0 0 18px; font-weight: 760;
}
.report-meta, .report-facts { display: grid; gap: 0; margin: 0; }
.report-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; padding: 0 0 8px;
}
.report-meta div {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 16px 12px 0; border: 0; border-right: 1px solid rgba(21, 29, 44, 0.08);
  font-size: 12px; color: #748095;
}
.report-meta div:last-child { border-right: 0; padding-right: 0; }
.report-facts {
  margin: 0 0 28px; padding: 4px 0 0;
}
.report-facts div {
  display: flex; flex-direction: row; justify-content: space-between; align-items: baseline;
  gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(21, 29, 44, 0.08);
  font-size: 14px;
}
.report-meta dt, .report-facts dt {
  margin: 0; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px; color: #8a93a3;
}
.report-meta dd, .report-facts dd {
  margin: 0; color: #151d2c; font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 680;
}
.report-body { padding: 8px 48px 12px; }
.report-kpis {
  display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 0; margin: 8px 0 28px;
  background: #f3f5f9; border: 1px solid rgba(21, 29, 44, 0.06);
}
.report-doc--contractor .report-kpis { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
.report-kpi {
  padding: 18px 20px; min-height: 96px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  background: transparent; border-right: 1px solid rgba(21, 29, 44, 0.06);
}
.report-kpi:last-child { border-right: 0; }
.report-kpi span { font-size: 10px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: #6d778a; }
.report-kpi strong {
  font-size: 20px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; font-weight: 760; color: #151d2c;
}
.report-kpi.is-lead { background: color-mix(in srgb, var(--accent) 12%, #fff); }
.report-kpi.is-lead strong { font-size: 32px; letter-spacing: -0.05em; color: #121826; }
.report-kpi.is-over { background: #fff4f2; }
.report-kpi.is-over strong { color: #b42318; }
.report-kpi.is-under { background: #eef8f1; }
.report-kpi.is-under strong { color: #1f7a3d; }
.report-section { margin: 0 0 28px; break-inside: avoid; }
.report-section h2 {
  margin: 0 0 12px; padding-bottom: 8px;
  font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; color: #151d2c; font-weight: 760;
  border-bottom: 2px solid #151d2c;
}
.theme-yard .report-section h2 { color: #245536; border-bottom-color: #245536; }
.report-list { margin: 0; padding-left: 18px; }
.report-list li { margin: 6px 0; }
.report-rows { list-style: none; margin: 0; padding: 0; }
.report-rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(21, 29, 44, 0.08);
  font-size: 15px; color: #2a3448;
}
.report-rows li strong { font-variant-numeric: tabular-nums; font-weight: 700; color: #151d2c; }
.report-empty { margin: 8px 0 0; color: #8a93a3; font-size: 14px; }
.report-note { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: #2a3448; }
.report-table { margin: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.report-doc .report-table table { min-width: 0; }
.report-doc .report-table th {
  background: transparent; color: #151d2c; text-transform: none; letter-spacing: -0.01em;
  font-size: 12px; font-weight: 760; padding: 0 12px 10px 0; border-bottom: 1px solid rgba(21, 29, 44, 0.16);
}
.report-doc .report-table td {
  padding: 12px 12px 12px 0; border-bottom: 1px solid rgba(21, 29, 44, 0.08);
  font-size: 14px; color: #2a3448; background: transparent;
}
.report-doc .report-table th.num, .report-doc .report-table td.num { text-align: right; padding-right: 0; }
.report-doc .report-table tbody tr:hover td { background: transparent; }
.report-footer {
  margin: 8px 0 0; padding: 22px 48px 28px;
  background: #f4f5f8; border-top: 1px solid rgba(21, 29, 44, 0.08);
}
.report-signoff {
  display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
  gap: 28px; align-items: start; margin: 0 0 14px;
}
.report-disclaimer { margin: 0; color: #3d4a61; font-size: 13px; line-height: 1.55; }
.report-exclude, .report-operator { margin: 0 0 6px; color: #7a8494; font-size: 12px; line-height: 1.5; }
.report-operator { font-weight: 650; color: #546077; }
.report-field {
  display: flex; justify-content: space-between; gap: 16px;
  margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.report-field span { text-decoration: underline; text-underline-offset: 3px; color: #354158; }
.report-blank { text-decoration: underline; text-underline-offset: 3px; }
.inline-form { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)) auto;
  gap: 12px 14px;
  align-items: end;
  margin: 0 0 18px;
}
.filter-bar > .field { margin: 0; }
.filter-bar > .secondary-button,
.filter-bar > .btn-compact {
  justify-self: start;
}
.filter-bar > .btn-compact { margin-bottom: 2px; }
@media (max-width: 1100px) {
  .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar > .secondary-button,
  .filter-bar > .btn-compact { justify-self: start; }
}
.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; border-radius: 12px; background: #f7f9fd; color: #546077; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .nav-icon { width: 20px; height: 20px; }
.mobile-nav nav { position: absolute; left: 12px; right: 12px; top: 72px; z-index: 80; display: grid; gap: 4px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); max-height: min(72vh, 560px); overflow: auto; }
.mobile-nav nav a {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center;
  column-gap: 10px; min-height: 40px; padding: 8px 10px; border-radius: 12px;
}
.mobile-nav nav a .nav-icon { width: 20px; height: 20px; justify-self: center; }
.mobile-nav nav a span { min-width: 0; text-align: left; }
.mobile-nav .nav-more-kicker {
  margin: 10px 0 2px;
  padding: 8px 10px 0 40px;
  border-top: 1px solid var(--line);
  text-align: left;
}
@media (max-width: 1100px) {
  .account-label { display: none; }
  .account-chip { padding: 0 8px 0 4px; gap: 6px; }
  .land-feature, .land-compare, .land-auth, .land-hero-stage { grid-template-columns: 1fr; }
  .land-auth .auth-card { order: -1; }
  .auth-showcase { position: static; }
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    height: var(--header-h);
    min-height: var(--header-h);
    column-gap: 10px;
    padding: 0 16px;
  }
  .header-end { grid-column: 2; }
}
@media (max-width: 900px) {
  .filter-bar { grid-template-columns: 1fr; }
  .account-label { display: none; }
  .account-chip { padding: 0 8px 0 4px; gap: 6px; }
  .account-menu-panel { right: 0; left: auto; width: min(240px, calc(100vw - 28px)); }
}
@media print {
  @page { margin: 16mm 14mm; size: A4; }
  body, .report-print { background: #fff !important; }
  .site-header, .site-footer, .mode-tabs, .mode-tabs-bar, .actions, .skip-link, .ambient, .no-print, .card-head.no-print, .report-print-bar, .estimate-next { display: none !important; }
  .site-footer.is-client { display: block !important; }
  .workspace { display: block; }
  .estimate-card { position: static; box-shadow: none; }
  .report-sheet { max-width: none; margin: 0; }
  .report-desk { padding: 0; }
  .report-doc, .glass-panel, .calculator-card {
    box-shadow: none !important; border: 0; border-radius: 0; backdrop-filter: none;
    background: #fff; padding: 0;
  }
  .glass-panel::after { display: none; }
  .report-header, .report-kpis, .report-section { break-inside: avoid; }
  .report-kpi { background: #f4f6fa !important; }
  .report-kpi.is-lead { background: #eef2fa !important; }
  .report-footer { background: #fff; }
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px;
}
@media (max-width: 900px) {
  .hero, .land-hero.is-wide, .workspace, .settings-layout { grid-template-columns: 1fr; }
  .estimate-card { position: relative; top: auto; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1.2fr .8fr; }
  .site-footer.is-full .footer-inner { grid-template-columns: 1.2fr .8fr; }
  .footer-company { grid-column: 1 / -1; }
  .site-footer.is-compact .footer-inner {
    grid-template-columns: auto 1fr;
    height: var(--footer-compact-h);
    min-height: var(--footer-compact-h);
  }
  .site-footer.is-compact .footer-company { grid-column: auto; }
  .page-heading { display: block; min-height: 0; }
  .page-heading .actions, .page-heading .row-actions { margin-top: 16px; }
  .dash-grid { grid-template-columns: 1fr; }
  .row-actions { gap: 6px; }
  .btn-compact, .primary-button, .secondary-button { min-height: 44px; }
  .order-close-button { min-height: var(--tap-mobile); height: var(--tap-mobile); }
  .btn-compact.btn-icon { min-width: 44px; }
  .option-row {
    min-height: 56px;
    padding: 8px 6px 8px 12px;
    column-gap: 6px;
    grid-template-columns: minmax(0, 1fr) minmax(4.25rem, 6rem) auto auto;
  }
  .cal-add a { min-height: var(--tap-mobile); }
  .gantt.compact .gantt-track { min-height: 44px; }
  .gantt.compact .gantt-bar { top: 8px; height: 28px; min-height: 28px; font-size: 11px; }
  .option-add {
    grid-template-columns: minmax(0, 1fr) minmax(4.75rem, 6.5rem) 44px;
    padding: 10px 8px 12px 12px;
  }
  .mobile-quick { margin: 0 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
}
.workspace.schedule-wide { grid-template-columns: 1fr; }
.schedule-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: 0 0 18px;
  scroll-margin-top: calc(var(--header-gap) + var(--header-h) + 12px);
}
.schedule-toolbar .cal-export-btn { margin-left: auto; }
.table-wrap th.col-actions, .table-wrap td.col-actions {
  width: 1%; white-space: nowrap; padding-left: 8px; padding-right: 10px;
}
.table-wrap .col-actions .row-actions { flex-wrap: nowrap; justify-content: flex-end; }
.view-tabs, .density-tabs {
  display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 3px; width: max-content;
  border-radius: 12px; background: rgba(118, 128, 146, 0.12);
}
.view-tabs a, .density-tabs a {
  padding: 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #5c6778;
  min-height: 36px; display: inline-flex; align-items: center; gap: 6px;
}
.dash-range .dash-count {
  min-width: 20px; height: 20px; padding: 0 6px; font-size: 11px;
  background: rgba(26, 45, 77, .12); color: #3d4654;
}
.dash-range a[aria-current="page"] .dash-count {
  background: var(--accent); color: #fff;
}
.dash-range .dash-count.is-critical { background: #fdecea; color: #8b1e1e; }
.dash-range a[aria-current="page"] .dash-count.is-critical { background: #b42318; color: #fff; }
.density-tabs a { padding: 7px 11px; font-size: 12px; }
.view-tabs a[aria-current="page"], .density-tabs a[aria-current="page"] {
  background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,24,40,.12), 0 1px 0 rgba(255,255,255,.8) inset;
}
.gantt-scroll {
  max-width: 100%; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  border-radius: 22px;
}
.gantt-scroll:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, #fff);
  outline-offset: 2px;
}
.gantt-scroll a { touch-action: pan-x pan-y; }
.gantt {
  --gantt-label-w: 248px;
  overflow: visible;
  width: max(100%, calc(var(--gantt-label-w) + var(--gantt-track-min, 720px)));
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.52));
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: var(--content-shadow);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.gantt.comfortable { --gantt-label-w: 260px; }
.gantt.compact { --gantt-label-w: 168px; }
.gantt-scale, .gantt-row {
  display: grid;
  grid-template-columns: var(--gantt-label-w) minmax(var(--gantt-track-min, 720px), 1fr);
  min-width: calc(var(--gantt-label-w) + var(--gantt-track-min, 720px));
}
.gantt-scale { border-bottom: 1px solid var(--line); font-weight: 700; }
.gantt-axis, .gantt-label {
  position: sticky; left: 0; z-index: 3;
  background: linear-gradient(90deg, rgba(252,253,255,.98) 72%, rgba(252,253,255,.9));
  border-right: 1px solid var(--line);
  box-shadow: 10px 0 18px rgba(31,48,77,.04);
}
.gantt-axis { min-height: 58px; z-index: 5; }
.gantt-timeline, .gantt-track { position: relative; min-width: var(--gantt-track-min, 720px); }
.gantt-months, .gantt-weeks { display: flex; position: relative; z-index: 1; align-items: stretch; }
.gantt-month, .gantt-week {
  flex: 0 0 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-sizing: border-box;
}
.gantt-month {
  padding: 10px 10px 2px; font-size: 12px; font-weight: 780; color: #314056; letter-spacing: -0.02em;
}
.gantt-week {
  padding: 2px 8px 10px; font-size: 11px; font-weight: 700; color: #7a8494;
  border-right: 1px solid rgba(26,45,77,.08);
}
.gantt-row { border-bottom: 1px solid var(--line); }
.gantt-row:last-child { border-bottom: 0; }
.gantt-label { padding: 12px 14px; font-size: 13px; font-weight: 700; }
.gantt-label a { letter-spacing: -0.02em; }
.gantt-label small { display: block; color: var(--muted); font-weight: 500; margin: 4px 0 6px; }
.gantt-label .task-status {
  margin: 0;
  white-space: normal;
  text-wrap: balance;
}
.gantt-track { min-height: 58px; }
.gantt-grid {
  display: flex; position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.gantt-grid span { flex: 1 0 0; border-right: 1px solid rgba(26,45,77,.045); }
.gantt-grid .is-weekend { background: rgba(26,45,77,.035); }
.theme-yard .gantt-grid .is-weekend { background: rgba(47,125,74,.05); }
.gantt-grid .is-today { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.gantt-bar {
  position: absolute; top: 14px; z-index: 1; height: 28px; min-width: 10px; border-radius: 999px; color: #fff;
  font-size: 12px; font-weight: 750; display: flex; align-items: center; padding: 0 12px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  box-shadow: 0 8px 18px var(--accent-soft);
}
.gantt-bar.tight { padding: 0; }
.gantt-bar.planned { background: linear-gradient(145deg, #8b97ab, #66758d); box-shadow: 0 8px 16px rgba(102,117,141,.22); }
.gantt-bar.in_progress { background: linear-gradient(145deg, var(--accent), var(--accent2)); }
.gantt-bar.done { background: linear-gradient(145deg, #3dba6e, #2f8f4e); box-shadow: 0 8px 16px rgba(47,143,78,.22); }
.gantt-bar.blocked { background: linear-gradient(145deg, #e3a23a, #c47d12); box-shadow: 0 8px 16px rgba(196,125,18,.22); }
.gantt-today {
  position: absolute; top: 0; bottom: 0; z-index: 2; width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 3px var(--accent-soft); pointer-events: none;
}
.gantt-today-cap {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  padding: 2px 7px; border-radius: 999px; background: linear-gradient(145deg, var(--accent), var(--accent2));
  color: #fff; font-size: 9px; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 6px 14px var(--accent-soft);
}
.gantt.comfortable .gantt-track { min-height: 76px; }
.gantt.comfortable .gantt-bar { top: 22px; height: 32px; font-size: 13px; padding: 0 14px; }
.gantt.comfortable .gantt-label { padding: 16px 16px; }
.gantt.comfortable .gantt-axis { min-height: 70px; }
.gantt.comfortable .gantt-month { padding: 12px 12px 4px; font-size: 13px; }
.gantt.comfortable .gantt-week { padding: 2px 10px 12px; }
.gantt.compact .gantt-track { min-height: 34px; }
.gantt.compact .gantt-bar { top: 7px; height: 20px; font-size: 10px; padding: 0 7px; }
.gantt.compact .gantt-label { padding: 5px 8px; font-size: 12px; }
.gantt.compact .gantt-label small,
.gantt.compact .gantt-label .task-status { display: none; }
.gantt.compact .gantt-axis { min-height: 40px; }
.gantt.compact .gantt-month { padding: 6px 8px 0; font-size: 11px; }
.gantt.compact .gantt-week { padding: 0 6px 6px; font-size: 10px; }
.cal {
  overflow: hidden; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: var(--content-shadow);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.cal-head {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin: 0; padding: 14px 16px;
  background: rgba(255,255,255,.42); border-bottom: 1px solid var(--line);
}
.cal-nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; min-width: 0; }
.cal-nav .btn-icon { flex: 0 0 auto; }
.cal-month { font-size: 18px; font-weight: 780; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.cal-today { min-height: 40px; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-weekdays { background: rgba(255,255,255,.3); }
.cal-weekdays span {
  font-size: 11px; font-weight: 750; color: #8f99a9; padding: 8px 10px; text-transform: uppercase; letter-spacing: .06em;
}
.cal-day {
  min-height: 122px; min-width: 0; padding: 8px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.38);
  display: flex; flex-direction: column; gap: 6px;
}
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.weekend { background: rgba(26,45,77,.04); }
.theme-yard .cal-day.weekend { background: rgba(47,125,74,.05); }
.cal-day.out { background: rgba(245,247,251,.62); }
.cal-day.out .cal-num, .cal-day.out .cal-chip, .cal-day.out .cal-more { opacity: .55; }
.cal-day.today {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, #fff), rgba(255,255,255,.55));
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 42%, transparent);
}
.cal-num {
  display: grid; place-items: center;
  width: 28px; height: 28px; min-width: 28px; min-height: 28px;
  padding: 0; margin: 0; border-radius: 50%; flex: 0 0 auto;
  font-size: 13px; font-weight: 650; line-height: 1;
  text-decoration: none; box-sizing: border-box;
}
.cal-day.today .cal-num {
  background: linear-gradient(145deg, var(--accent), var(--accent2)); color: #fff;
  box-shadow: 0 8px 18px var(--accent-soft);
}
.cal-chips { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cal-item { display: grid; gap: 2px; min-width: 0; }
.cal-chip, .cal-more {
  display: block; min-width: 0; max-width: 100%; font-size: 11px; font-weight: 650;
  padding: 5px 8px; border-radius: 8px; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal-chip { background: #dce6fb; color: #1e3f86; }
.theme-yard .cal-chip { color: #245536; }
.cal-chip.in_progress { background: linear-gradient(145deg, var(--accent), var(--accent2)); color: #fff; }
.cal-chip.done { background: #e8f7ee; color: #1f7a3d; }
.cal-chip.blocked { background: #fff8eb; color: #71501f; }
.cal-more {
  background: rgba(26,45,77,.06); color: #627089; font-weight: 750;
}
.cal-add {
  display: flex; flex-wrap: wrap; gap: 6px 8px;
  font-size: 10px; font-weight: 730; color: #627089;
}
.cal-add a { display: inline-flex; align-items: center; min-height: 28px; }
.row-actions .cal-add { display: contents; }
.cal-item .cal-add a:not(.btn-icon), a.cal-export { min-height: 0; padding: 0; color: inherit; text-decoration: none; font-size: 10px; font-weight: 730; }
.cal-item .cal-add a:not(.btn-icon):hover, a.cal-export:hover { text-decoration: underline; }
.cal-item .cal-add a.btn-icon { min-width: 24px; min-height: 24px; padding: 2px; }
.cal.comfortable .cal-head { padding: 16px 18px; }
.cal.comfortable .cal-month { font-size: 20px; }
.cal.comfortable .cal-day { min-height: 148px; padding: 10px; gap: 8px; }
.cal.comfortable .cal-num { width: 32px; height: 32px; min-width: 32px; min-height: 32px; font-size: 15px; }
.cal.comfortable .cal-chips { gap: 8px; }
.cal.comfortable .cal-chip, .cal.comfortable .cal-more {
  padding: 7px 10px; font-size: 12px; border-radius: 10px;
}
.cal.compact .cal-head { padding: 10px 12px; }
.cal.compact .cal-month { font-size: 16px; }
.cal.compact .cal-weekdays span { padding: 5px 6px; font-size: 10px; }
.cal.compact .cal-day { min-height: 68px; padding: 4px 5px; gap: 3px; }
.cal.compact .cal-num { width: 22px; height: 22px; min-width: 22px; min-height: 22px; font-size: 11px; }
.cal.compact .cal-chips { gap: 2px; }
.cal.compact .cal-chip, .cal.compact .cal-more {
  padding: 2px 5px; font-size: 10px; border-radius: 6px; line-height: 1.2;
}
.cal.compact .cal-item .cal-add { display: none; }
.calendar-export {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 14px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.55); border: 1px solid var(--line);
}
.calendar-export .hint { margin: 0; max-width: 52ch; }
.calendar-export .btn-compact { min-height: var(--tap); }
.event-layer {
  position: fixed; inset: 0; z-index: 200;
  width: 100vw; height: 100dvh;
  pointer-events: none;
}
.event-layer:not(:has(.event-pop:target)) { visibility: hidden; }
.event-pop {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; max-height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
  overflow: auto;
  visibility: hidden; opacity: 0; pointer-events: none;
}
.event-pop:target { visibility: visible; opacity: 1; pointer-events: auto; }
.event-pop-backdrop {
  position: fixed; inset: 0;
  background: rgba(246, 248, 252, 0.42);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.event-pop-card {
  --event-accent: #66758d;
  position: relative; z-index: 1; width: min(32rem, 100%);
  margin: auto; padding: 0;
  max-height: min(86vh, 52rem); overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(36, 52, 82, .12);
}
.event-pop.is-planned { --event-accent: #66758d; }
.event-pop.is-in_progress { --event-accent: var(--accent); }
.event-pop.is-done { --event-accent: #2f8f4e; }
.event-pop.is-blocked { --event-accent: #c47d12; }
.event-pop-accent {
  height: 7px;
  background: linear-gradient(90deg, var(--event-accent), color-mix(in srgb, var(--event-accent) 55%, #fff));
}
.event-pop-inner { padding: 16px 20px 20px; }
.event-pop-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.event-pop-head .task-status { margin: 0; }
.event-pop-close {
  width: var(--tap); height: var(--tap); flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(232, 236, 244, .78);
  color: #314056;
}
.event-pop-close:hover { background: #fff; color: var(--text); }
.event-pop-card h2 {
  margin: 8px 0 0; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.2; font-weight: 680;
}
.event-pop-when {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  margin: 12px 0 0; font-weight: 760; color: #314056;
}
.event-pop-when em {
  font-style: normal; font-size: 12px; font-weight: 780;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--event-accent) 14%, #fff);
  color: color-mix(in srgb, var(--event-accent) 72%, #1a2433);
}
.event-facts {
  display: grid; gap: 10px;
  margin: 16px 0 0; padding: 12px 14px;
  border-radius: 16px;
  background: rgba(245, 247, 252, .78);
  border: 1px solid rgba(255,255,255,.8);
}
.event-facts > div {
  display: grid; grid-template-columns: 7.4rem minmax(0, 1fr); gap: 8px 12px; align-items: start;
}
.event-facts dt { margin: 0; color: #6b7788; font-size: 12px; font-weight: 760; }
.event-facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.event-pop-views {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0;
}
.event-pop-views a {
  min-height: var(--tap); padding: 8px 13px; border-radius: 999px;
  display: inline-flex; align-items: center;
  background: rgba(232, 236, 244, .82); color: #314056; font-size: 13px; font-weight: 750;
}
.event-pop-views a:hover { background: #fff; color: var(--text); }
.event-kicker {
  margin: 0 0 8px; font-size: 11px; font-weight: 650; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted-2);
}
.event-status-form { margin: 18px 0 0; }
.event-status-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.event-status-btn {
  border: 0; min-height: var(--tap); padding: 8px 13px; border-radius: 999px;
  font: inherit; font-size: 12px; font-weight: 760; color: #425066;
  background: rgba(232, 236, 244, .88); cursor: pointer;
}
.event-status-btn.is-current { color: #fff; }
.event-status-btn.is-planned.is-current { background: #66758d; }
.event-status-btn.is-in_progress.is-current { background: var(--accent); }
.event-status-btn.is-done.is-current { background: #2f8f4e; }
.event-status-btn.is-blocked.is-current { background: #c47d12; }
.event-pop-export {
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
}
.event-pop-card .cal-add { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.event-pop-card .cal-add a {
  min-height: var(--tap); border-radius: 13px;
  background: rgba(255,255,255,.78); border: 1px solid var(--line);
  font-size: 13px; font-weight: 750;
}
.event-pop-card .cal-add a.btn-icon { min-width: var(--tap); padding: 8px; justify-content: center; }
.event-pop-card .cal-add a:not(.btn-icon) { padding: 8px 13px; }
.event-pop-edit {
  margin: 16px 0 0; padding: 4px 12px 12px;
  border-radius: 16px; background: rgba(245, 247, 252, .7); border: 1px solid var(--line);
}
.event-pop-edit summary {
  min-height: var(--tap); display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-weight: 760; cursor: pointer; list-style: none;
}
.event-pop-edit summary::-webkit-details-marker { display: none; }
.event-pop-edit .field-grid { margin-top: 8px; }
.event-pop-delete { margin: 14px 0 0; }
@media (max-width: 640px) {
  .event-pop { align-items: flex-end; padding: 0; }
  .event-pop-card {
    width: 100%; max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }
  .event-facts > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .event-pop { transition: opacity .18s ease; }
  .event-pop:target .event-pop-card { animation: event-pop-in .2s ease; }
}
@keyframes event-pop-in {
  from { transform: translateY(10px) scale(.98); opacity: .72; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .event-pop:target .event-pop-card { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .event-pop-backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(246, 248, 252, 0.86); }
}
.cal-picker {
  margin: 0 0 16px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,.55); border: 1px solid var(--line);
}
.cal-picker fieldset { margin: 0; padding: 0; }
.cal-picker legend { font-size: 12px; font-weight: 750; color: #546077; margin: 0 0 10px; }
.cal-pick-list { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.cal-pick-item { min-height: var(--tap); margin: 0; }
.tone-swatch {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(145deg, var(--tone, var(--accent)), var(--tone2, var(--accent2)));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone, var(--accent)) 18%, transparent);
}
.tone-0 { --tone: #3974ff; --tone2: #7b61ff; }
.tone-1 { --tone: #2f7d4a; --tone2: #79a955; }
.tone-2 { --tone: #c45c7a; --tone2: #e08aa4; }
.tone-3 { --tone: #c47d12; --tone2: #e3a23a; }
.tone-4 { --tone: #2a7f8f; --tone2: #4eb3c1; }
.tone-5 { --tone: #6b5b95; --tone2: #9b87c4; }
.tone-6 { --tone: #b85c38; --tone2: #e08b66; }
.tone-7 { --tone: #3d5a80; --tone2: #6e8fb5; }
.gantt-bar.tone-0, .gantt-bar.tone-1, .gantt-bar.tone-2, .gantt-bar.tone-3,
.gantt-bar.tone-4, .gantt-bar.tone-5, .gantt-bar.tone-6, .gantt-bar.tone-7,
.cal-chip.tone-0, .cal-chip.tone-1, .cal-chip.tone-2, .cal-chip.tone-3,
.cal-chip.tone-4, .cal-chip.tone-5, .cal-chip.tone-6, .cal-chip.tone-7 {
  background: linear-gradient(145deg, var(--tone), var(--tone2));
  color: #fff;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--tone) 28%, transparent);
}
.table-wrap.compact th, .table-wrap.compact td { padding: 6px 10px; font-size: 12px; }
.table-wrap.comfortable th, .table-wrap.comfortable td { padding: 14px 16px; }
.task-status {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; max-width: 100%; box-sizing: border-box;
  padding: 3px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 650; line-height: 1.25; text-align: center;
  white-space: nowrap;
}
.task-status.planned { background: #e8edf5; color: #546077; }
.task-status.in_progress { background: #dce6fb; color: #1e3f86; }
.task-status.done { background: #e8f7ee; color: #1f7a3d; }
.task-status.blocked { background: #fff8eb; color: #71501f; }
.upcoming-list { display: grid; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.upcoming-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.upcoming-list li > :first-child { min-width: 0; }
.upcoming-list .task-status { flex: 0 0 auto; }
@media (prefers-reduced-transparency: reduce) {
  .glass-panel, .glass-bar, .gantt, .cal, .help-wide .color-legend { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .glass-panel::after { display: none; }
  .event-pop-backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(246, 248, 252, 0.86); }
  .event-pop-card { background: #fff; }
}
@media (max-width: 900px) {
  .glass-panel, .glass-bar { background: rgba(255,255,255,.92); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .glass-panel::after { display: none; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .report-header { padding: 22px 22px 0; }
  .report-body { padding: 8px 22px 12px; }
  .report-footer { padding: 18px 22px 22px; }
  .report-letterhead, .report-signoff, .report-kpis, .report-meta { grid-template-columns: 1fr 1fr; }
  .report-letterhead { display: grid; }
  .report-kind { text-align: left; }
  .report-kpi.is-lead { grid-column: 1 / -1; }
  .report-kpi.is-lead strong { font-size: 24px; }
  .report-kpi strong { font-size: 16px; }
  .report-preview-bar { display: grid; justify-items: start; }
  .gantt.comfortable { --gantt-label-w: 168px; }
  .gantt.compact { --gantt-label-w: 120px; }
  .gantt, .cal { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cal.comfortable .cal-day { min-height: 128px; }
  .cal.compact .cal-day { min-height: 72px; }
  .cal.comfortable .cal-num { width: 32px; height: 32px; min-width: 32px; min-height: 32px; }
  .cal.compact .cal-num { width: 24px; height: 24px; min-width: 24px; min-height: 24px; }
  .cal.comfortable .cal-chip, .cal.comfortable .cal-more { min-height: 32px; display: flex; align-items: center; }
  .cal.compact .cal-chip, .cal.compact .cal-more { min-height: 0; }
  .view-tabs a, .density-tabs a { min-height: 44px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .site-footer.is-full .footer-inner { grid-template-columns: 1fr; }
  .footer-company { grid-column: auto; }
  .site-footer.is-compact .footer-inner {
    grid-template-columns: auto 1fr;
    height: var(--footer-compact-h);
    min-height: var(--footer-compact-h);
    gap: 12px;
  }
  .site-footer.is-compact .footer-company { grid-column: auto; }
  .brand-word { font-size: 13.5px; }
  .brand-mark { width: 31px; height: 31px; flex-basis: 31px; }
  .ambient { display: none; }
  .cal-item .cal-add { display: none; }
  .help-tip { min-width: 44px; min-height: 44px; }
  .help-tip-mark { width: 22px; height: 22px; }
}
.mobile-quick { margin: 0 0 16px; }
.report-doc .hint { margin: 8px 0; }
.with-tip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.help-tip {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; min-height: 28px; vertical-align: middle; z-index: 1;
}
.help-tip:hover,
.help-tip:focus-within,
.help-tip[open] { z-index: 30; }
.glass-panel:has(.help-tip:hover),
.glass-panel:has(.help-tip:focus-within),
.glass-panel:has(.help-tip[open]) { z-index: 6; }
.help-tip > summary { list-style: none; }
.help-tip > summary::-webkit-details-marker { display: none; }
.help-tip-mark {
  width: 18px; height: 18px; padding: 0; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(16, 24, 40, 0.12);
  background: rgba(255,255,255,.94); color: #5c6b80;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  cursor: help;
}
.help-tip-mark span {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 12px; font-weight: 600; font-style: italic; line-height: 1;
  transform: translateY(-0.4px);
}
.theme-yard .help-tip-mark { color: #245536; }
.help-tip-bubble {
  display: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 80;
  width: min(280px, 72vw); padding: 10px 12px; border-radius: 12px;
  background: rgba(22, 26, 36, 0.92); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.45;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.28); text-transform: none; letter-spacing: 0;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  pointer-events: none;
}
.help-tip:hover .help-tip-bubble,
.help-tip:focus-within .help-tip-bubble,
.help-tip[open] .help-tip-bubble { display: block; }
.section-kicker.with-tip, .section-kicker .help-tip { text-transform: none; }
.estimate-topline .section-kicker { display: flex; align-items: center; gap: 8px; }
.estimate-card .help-tip { z-index: 6; }
.estimate-card .help-tip:hover,
.estimate-card .help-tip:focus-within,
.estimate-card .help-tip[open] { z-index: 8; }
.estimate-card .help-tip-bubble {
  left: auto;
  right: calc(100% + 10px);
  top: 0;
  width: min(240px, 46vw);
}
.form-section .banner { margin: 0 0 14px; }
.banner a { color: inherit; font-weight: 750; text-decoration: underline; }
.facts a { color: inherit; font-weight: 650; }
.next-steps { margin: 0 0 16px; padding-left: 22px; color: #3d4a61; }
.next-steps li { margin: 8px 0; }
.next-steps a { color: var(--accent); font-weight: 700; }
.theme-yard .next-steps a { color: #245536; }
.todo-board { padding: 16px 20px; border-radius: 16px; margin: 0 0 16px; }
.todo-board h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.02em; }
.next-steps.todo-list, .todo-snoozed .todo-list { list-style: none; padding-left: 0; }
.next-steps.todo-list li, .todo-snoozed li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 12px;
  margin: 0 0 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.62);
}
.todo-copy, .todo-project { margin-right: 0; min-width: 0; }
.todo-snooze { margin-left: 0; width: 100%; }
.todo-snooze-date { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
.todo-snooze-date input[type="date"] {
  width: auto; min-width: 0; flex: 1 1 10rem;
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background-color: var(--control-bg);
  padding: 0 12px;
}
.todo-snoozed { margin: 12px 0 0; }
.todo-snoozed summary { cursor: pointer; font-weight: 700; color: #3d4a61; }
.todo-until { color: var(--muted); font-size: 13px; }
.help-wide { max-width: 860px; margin: 0 auto; padding: 32px; border-radius: 28px; }
.help-wide h2 { font-size: 18px; margin: 24px 0 8px; }
.help-cards { display: grid; gap: 12px; margin-top: 22px; }
.help-card {
  padding: 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.8);
}
.help-card h2 { font-size: 16px; margin: 0 0 8px; }
.help-card p { margin: 0; color: #546077; font-size: 14px; line-height: 1.5; }
.office-template-filter { grid-template-columns: minmax(0, 1.4fr) minmax(140px, .7fr) auto; align-items: end; }
.office-templates .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.office-template-card { display: flex; flex-direction: column; min-width: 0; }
.office-template-card .row-actions { margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .office-templates .dash-grid { grid-template-columns: 1fr; }
}
.help-forms { display: grid; gap: 18px; margin-top: 28px; }
.help-form-card { padding: 20px; }
.help-form-card form { display: grid; gap: 14px; margin-top: 14px; }
.help-form-card form > .field { margin: 0; }
.help-form-card textarea { min-height: 140px; }
.help-request-list { margin-top: 28px; }
.help-wide .banner { margin: 18px 0 0; }
.reports-index { max-width: 860px; }
.reports-pane .dash-section-head { margin: 0 0 8px; align-items: center; }
.reports-pane .dash-section-head h2 { margin: 0; }
.reports-pane > .hint { margin: 0 0 16px; }
.reports-issue { display: grid; gap: 14px; }
.reports-issue-bar {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto;
  gap: 12px 16px;
  align-items: end;
}
.reports-issue-bar .field { margin: 0; }
.reports-issue-bar .actions { margin: 0; align-items: center; }
.report-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.report-guide > div {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
}
.report-guide .section-kicker { margin: 0; }
.report-guide p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #546077; }
.reports-preview { margin-top: 18px; overflow: hidden; }
.reports-preview .report-sheet { max-width: 100%; overflow-x: auto; }
.reports-issued { margin-top: 22px; }
.reports-issued h3 { margin: 0 0 10px; font-size: 15px; letter-spacing: -0.02em; }
.reports-pane > .empty-state { margin-top: 18px; }
@media (max-width: 720px) {
  .reports-issue-bar { grid-template-columns: 1fr; }
  .reports-issue-bar .actions { width: 100%; }
  .reports-issue-bar .actions .primary-button,
  .reports-issue-bar .actions .secondary-button { flex: 1 1 auto; }
  .report-guide { grid-template-columns: 1fr; }
}
.plan-board { display: grid; gap: 18px; }
.plan-confirm {
  display: grid; gap: 8px; padding: 16px 18px; border-radius: 18px;
  background: #e8f7ee; color: #1f7a3d;
  border: 1px solid color-mix(in srgb, var(--green) 22%, transparent);
}
.plan-confirm p { margin: 0; font-weight: 650; line-height: 1.45; }
.plan-hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  gap: 22px; align-items: center; padding: 8px 4px 4px;
}
.plan-hero-copy h3 { margin: 6px 0 8px; font-size: 28px; letter-spacing: -0.035em; }
.plan-price-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin: 12px 0 14px;
}
.plan-price-pair .plan-price {
  margin: 0;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(118, 128, 146, 0.1);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #2a3850;
}
.plan-price-pair.is-compact {
  margin: 8px 0 12px;
}
.plan-price-pair.is-compact .plan-price {
  font-size: 13px;
  font-weight: 650;
  padding: 5px 10px;
}
.plan-price {
  font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin: 8px 0 10px;
  font-variant-numeric: tabular-nums;
}
.plan-price-mini {
  font-size: 15px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 10px;
  font-variant-numeric: tabular-nums;
}
.plan-facts { margin: 0; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.55); }
.plan-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; list-style: none; padding: 0; margin: 0;
}
.plan-step {
  position: relative; padding: 16px 14px; border-radius: 18px;
  background: rgba(255,255,255,.62); border: 1px solid var(--line);
  display: grid; gap: 6px;
}
.plan-step strong { font-size: 14px; letter-spacing: -0.02em; }
.plan-step small { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.plan-step p { margin: 0; color: #546077; font-size: 12px; line-height: 1.45; }
.plan-step-index {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 780;
  background: #edf2fb; color: #5772ad;
}
.theme-yard .plan-step-index { background: #eef6ef; color: #245536; }
.plan-step.is-current {
  box-shadow: 0 10px 28px var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}
.plan-step.is-current .plan-step-index {
  background: linear-gradient(145deg, var(--accent), var(--accent2)); color: #fff;
}
.plan-step.is-skipped, .plan-step.is-unavailable { opacity: .78; }
.plan-step.is-unavailable { background: #fff8eb; }
.plan-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-meter-card {
  padding: 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,.55); border: 1px solid var(--line);
}
.plan-meter-card span { color: var(--muted); font-size: 12px; font-weight: 650; }
.plan-meter-card b { display: block; margin: 6px 0 10px; font-size: 24px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan-meter { height: 8px; border-radius: 999px; background: #e9edf3; overflow: hidden; }
.plan-meter i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(145deg, var(--accent), var(--accent2));
}
.plan-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-compare article {
  padding: 18px 18px 16px; border-radius: 20px;
  background: rgba(255,255,255,.62); border: 1px solid var(--line);
}
.plan-compare h3 { margin: 8px 0 8px; font-size: 20px; letter-spacing: -0.03em; }
.plan-compare p { margin: 0; color: #546077; font-size: 14px; line-height: 1.5; }
.plan-compare .is-unknown { background: #fff8eb; }
.plan-checkout { margin-top: 4px; }
.plan-compact {
  margin-top: 22px; padding: 18px 20px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.62));
  border: 1px solid var(--line); display: grid; gap: 14px;
}
.plan-compact h3 { margin: 4px 0 0; font-size: 22px; letter-spacing: -0.03em; }
.plan-compact .facts { margin: 8px 0; }
.plan-compact .secondary-button { width: max-content; }
@media (max-width: 900px) {
  .plan-hero, .plan-steps, .plan-meters, .plan-compare { grid-template-columns: 1fr; }
  .plan-price { font-size: 20px; }
  .plan-price-pair .plan-price { font-size: 14px; }
}

@keyframes ambient-breathe {
  0%, 100% { opacity: 0.55; transform: translate3d(0, 0, 0); }
  50% { opacity: 0.72; transform: translate3d(8px, 6px, 0); }
}
@keyframes cta-halo {
  0%, 100% { box-shadow: 0 13px 30px var(--accent-soft); }
  50% {
    box-shadow:
      0 16px 38px color-mix(in srgb, var(--accent) 30%, transparent),
      0 0 22px color-mix(in srgb, var(--accent2) 16%, transparent);
  }
}
@keyframes ink-halo {
  0%, 100% { box-shadow: 0 8px 18px rgba(21, 29, 44, 0.16); }
  50% {
    box-shadow:
      0 10px 24px rgba(21, 29, 44, 0.22),
      0 0 18px color-mix(in srgb, var(--accent) 18%, transparent);
  }
}
@keyframes orb-breathe {
  0%, 100% { opacity: 0.72; transform: translate3d(0, 0, 0); }
  50% { opacity: 1; transform: translate3d(8px, 6px, 0); }
}
@keyframes today-line {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50% {
    box-shadow:
      0 0 0 3px var(--accent-soft),
      0 0 14px color-mix(in srgb, var(--accent) 45%, transparent);
  }
}
@keyframes cap-glow {
  0%, 100% { box-shadow: 0 6px 14px var(--accent-soft); }
  50% { box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 40%, transparent); }
}
@keyframes today-cell {
  0%, 100% { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 42%, transparent); }
  50% {
    box-shadow:
      inset 0 0 0 2px color-mix(in srgb, var(--accent) 58%, transparent),
      0 0 18px color-mix(in srgb, var(--accent) 16%, transparent);
  }
}
@keyframes today-num {
  0%, 100% { box-shadow: 0 8px 18px var(--accent-soft); }
  50% {
    box-shadow:
      0 8px 22px color-mix(in srgb, var(--accent) 38%, transparent),
      0 0 16px color-mix(in srgb, var(--accent2) 22%, transparent);
  }
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(74, 193, 109, 0.1); }
  50% { box-shadow: 0 0 0 8px rgba(74, 193, 109, 0.18); }
}
.ambient-one { animation: ambient-breathe 16s ease-in-out infinite; }
.ambient-two { animation: ambient-breathe 19s ease-in-out infinite reverse; animation-delay: -7s; }
.ambient-three { animation: ambient-breathe 18s ease-in-out infinite; animation-delay: -4s; }
.hero-primary, .primary-button { animation: cta-halo 6.5s ease-in-out infinite; }
.header-cta, .btn-dark { animation: ink-halo 7s ease-in-out infinite; }
.dash-stat { position: relative; }
.dash-stat:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--accent) 16%, transparent);
}
.hero-preview:before, .auth-card:before {
  animation: orb-breathe 8.5s ease-in-out infinite;
}
.gantt-today { animation: today-line 4.8s ease-in-out infinite; }
.gantt-today-cap { animation: cap-glow 4.8s ease-in-out infinite; }
.cal-day.today { animation: today-cell 5.2s ease-in-out infinite; }
.cal-day.today .cal-num { animation: today-num 5.2s ease-in-out infinite; }
.status-pill.ok i, .status-pill.warn i { box-shadow: 0 0 6px currentColor; }
.live-dot { animation: live-pulse 2.8s ease-in-out infinite; }
.preview-price, .estimate-total, .dash-stat b, .plan-price, .plan-price-mini, .plan-meter-card b, .num, .facts dd, .metrics b {
  animation: none;
}
@media (max-width: 900px) {
  .estimate-card:before, .hero-preview:before, .auth-card:before { animation: none; }
  .dash-stat:before {
    animation: none;
    box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--accent) 20%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-one, .ambient-two, .ambient-three,
  .hero-primary, .primary-button, .header-cta, .btn-dark,
  .dash-stat:before,
  .estimate-card:before, .hero-preview:before, .auth-card:before,
  .gantt-today, .gantt-today-cap, .cal-day.today, .cal-day.today .cal-num,
  .status-pill.ok i, .status-pill.warn i,
  .live-dot, .next-steps a,
  .auth-reel-slide, .auth-reel-radio {
    animation: none !important;
  }
  .auth-reel-slide { opacity: 0; visibility: hidden; }
  .auth-reel-slide:nth-child(1) { opacity: 1; visibility: visible; z-index: 2; }
  .ambient { opacity: .7; transform: none; }
  .hero-primary, .primary-button { box-shadow: 0 13px 30px var(--accent-soft); }
  .header-cta, .btn-dark { box-shadow: 0 8px 18px rgba(21, 29, 44, 0.16); }
  .dash-stat:before { box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--accent) 18%, transparent); }
  .estimate-card:before, .hero-preview:before, .auth-card:before { opacity: 1; transform: none; }
  .gantt-today {
    box-shadow: 0 0 0 3px var(--accent-soft), 0 0 10px color-mix(in srgb, var(--accent) 28%, transparent);
  }
  .gantt-today-cap { box-shadow: 0 6px 14px var(--accent-soft); }
  .cal-day.today {
    box-shadow:
      inset 0 0 0 2px color-mix(in srgb, var(--accent) 42%, transparent),
      0 0 14px color-mix(in srgb, var(--accent) 12%, transparent);
  }
  .cal-day.today .cal-num { box-shadow: 0 8px 18px var(--accent-soft); }
  .status-pill.ok i, .status-pill.warn i {
    opacity: 1;
    transform: none;
    box-shadow: 0 0 6px currentColor;
  }
  .live-dot { box-shadow: 0 0 0 5px rgba(74, 193, 109, 0.1); }
  .next-steps a { text-shadow: none; }
}
.dash-work {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 22px;
  align-items: start;
}
.next-action {
  padding: 16px 20px;
  border-radius: 16px;
  margin: 0 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}
.next-action .section-kicker { margin-bottom: 4px; }
.next-action-job { margin: 0 0 2px; font-size: 13px; font-weight: 650; color: var(--muted); }
.next-action-copy { margin: 0 0 12px; font-size: 17px; letter-spacing: -0.02em; font-weight: 650; line-height: 1.35; max-width: 52ch; }
.next-action .actions { margin: 0; }
.next-action .primary-button { min-width: 12rem; }
.next-action.is-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 24px;
  padding: 20px 22px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-soft) 62%, #fff);
  border-color: color-mix(in srgb, var(--accent) 14%, var(--line));
}
.next-action.is-hero::after { display: none; }
.next-action.is-hero .section-kicker,
.next-action.is-hero .next-action-job,
.next-action.is-hero .next-action-copy { grid-column: 1; }
.next-action.is-hero .next-action-copy { margin: 0; font-size: 20px; font-weight: 680; letter-spacing: -0.03em; max-width: 40ch; }
.next-action.is-hero .actions {
  grid-column: 2;
  grid-row: 1 / span 4;
  margin: 0;
  align-self: center;
}
.next-action.is-hero .primary-button { min-width: 11rem; }
.job-steps {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.job-steps li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 16px;
  background: rgba(255,255,255,.62); border: 1px solid var(--line);
  font-size: 13px; font-weight: 720;
}
.job-steps .job-step-index {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 780; background: var(--accent-soft); color: var(--accent);
}
.theme-yard .job-steps .job-step-index { color: #245536; }
.job-steps .is-now {
  background: linear-gradient(145deg, var(--accent), var(--accent2));
  color: #fff; border-color: transparent;
}
.job-steps .is-now .job-step-index { background: rgba(255,255,255,.22); color: #fff; }
.new-job h2 { margin: 22px 0 12px; font-size: 18px; letter-spacing: -0.03em; }
.glass-panel.narrow.create-flow { max-width: 680px; }
.create-block {
  margin: 0 0 16px;
  padding: 16px 16px 8px;
  border-radius: 18px;
  background: rgba(255,255,255,.48);
  border: 1px solid var(--line);
}
.create-block h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.02em;
  font-weight: 680;
}
.create-block > .hint { margin: 0 0 12px; }
.create-block .field-grid { margin-bottom: 12px; }
.create-card {
  margin: 22px 0 0;
  padding: 20px 20px 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.create-card > h2 { margin: 4px 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.create-card .job-steps { margin-bottom: 16px; }
.field-hero input { min-height: 48px; font-size: 16px; font-weight: 620; }
.pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.pick-grid > legend { margin-bottom: 8px; }
.pick-grid.pick-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pick-card {
  position: relative;
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 14px 16px;
  min-height: var(--tap);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  cursor: pointer;
  color: var(--text);
  font-weight: 500;
}
.pick-card input {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.pick-card strong { font-size: 14px; letter-spacing: -0.02em; line-height: 1.3; }
.pick-card small { color: var(--muted); font-size: 12px; line-height: 1.45; font-weight: 500; }
.pick-card:has(input:checked) {
  border-color: transparent;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.pick-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-yard .pick-card:has(input:checked) { background: color-mix(in srgb, var(--accent) 12%, #fff); }
.client-attach { margin: 4px 0 2px; }
.client-attach .new-client-field { display: none; }
.client-attach:has(select[name="clientId"] option[value="__new__"]:checked) .new-client-field { display: flex; }
select.client-pick:has(option[value=""]:checked) { color: #6b7382; }
.cost-create > .hint { margin-top: 0; }
.cost-create .quiet-fold { margin-top: 4px; margin-bottom: 16px; }
#add-cost { scroll-margin-top: 96px; }
.todo-postpone { margin-top: 0; min-width: 0; justify-self: end; }
.todo-postpone[open] { grid-column: 1 / -1; justify-self: stretch; }
.todo-postpone > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--compact-h);
  padding: 6px 12px;
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background: var(--control-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
}
.todo-postpone > summary::-webkit-details-marker { display: none; }
.todo-postpone[open] > summary { margin-bottom: 8px; }
.dash-work .todo-board { margin: 0; }
.dash-section-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: 0;
}
.dash-section-head h2 { margin: 2px 0 0; font-size: 18px; letter-spacing: -0.02em; font-weight: 650; }
.dash-section-head .actions { margin: 0; align-items: center; }
.dash-section-head .actions form { margin: 0; }
.dash-current-head { margin: 0; }
.dash-todos, .dash-flow, .todo-board, .dash-empty {
  padding: 16px 20px;
  border-radius: 16px;
}
.dash-group.dash-todos {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.dash-todos > .section-kicker { margin: 0 0 2px; }
.dash-empty h2 { margin: 6px 0 8px; font-size: 22px; letter-spacing: -0.03em; font-weight: 650; }
.dash-empty .actions { margin-top: 16px; }
.dash-card-flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.dash-card-next { margin: 8px 0 0; font-size: 14px; font-weight: 650; line-height: 1.35; max-width: 36ch; }
.dash-card-next a { color: var(--accent); }
.theme-yard .dash-card-next a { color: #245536; }
.todo-board .next-steps, .dash-todos .next-steps {
  list-style: none; padding: 0; margin: 0 0 12px;
}
.todo-list { display: grid; gap: 8px; }
.todo-list li {
  display: grid; gap: 8px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
}
.dash-todos .todo-list {
  gap: 0;
}
.dash-todos .todo-list li {
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.dash-todos .todo-list li:last-child { border-bottom: 0; }
.dash-todos .hint { margin: 4px 0 0; padding-inline: 20px; }
.todo-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.todo-project { font-size: 12px; font-weight: 750; color: var(--muted); }
.todo-copy > a { color: var(--accent); font-weight: 720; min-height: 24px; }
.theme-yard .todo-copy > a { color: #245536; }
.todo-snooze { margin-top: 2px; }
.todo-snooze .btn-compact, .todo-snooze-date button { min-height: var(--tap); }
.todo-snooze-date { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
.todo-snooze-date input[type="date"] {
  width: auto; min-width: 0; flex: 1 1 10rem;
  height: var(--control-h); min-height: var(--control-h);
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background-color: var(--control-bg);
  padding: 0 12px;
}
.todo-snoozed { margin-top: 12px; }
.todo-snoozed summary { cursor: pointer; font-weight: 700; font-size: 13px; color: #546077; }
.todo-list[data-todo-list="snoozed"] li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.dash-flow { margin: 0 0 16px; }
.flow-path {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
}
.flow-step a {
  display: grid; grid-template-columns: 28px minmax(0, 1fr);
  align-items: center; gap: 10px;
  padding: 10px 12px; min-height: 64px; border-radius: 16px;
  background: rgba(255,255,255,.62); border: 1px solid var(--line);
}
.flow-step a:hover { box-shadow: 0 10px 24px var(--accent-soft); }
.flow-index {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 780; background: var(--accent-soft); color: var(--accent);
}
.theme-yard .flow-index { color: #245536; }
.flow-copy { display: flex; align-items: center; gap: 8px; min-width: 0; }
.flow-label { font-weight: 720; font-size: 14px; letter-spacing: -0.02em; }
.flow-count {
  min-width: 22px; padding: 2px 7px; border-radius: 999px;
  background: #dce6fb; color: #1e3f86; font-size: 11px; font-weight: 780;
  text-align: center;
}
.flow-state {
  grid-column: 2;
  font-size: 11px; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
}
.flow-step.is-now a {
  background: linear-gradient(145deg, var(--accent), var(--accent2));
  color: #fff; border-color: transparent;
  box-shadow: 0 12px 28px var(--accent-soft);
}
.flow-step.is-now .flow-index { background: rgba(255,255,255,.22); color: #fff; }
.flow-step.is-now .flow-count { background: rgba(255,255,255,.2); color: #fff; }
.flow-step.is-now .flow-state { color: rgba(255,255,255,.86); }
.flow-step.is-done .flow-index { background: #e8f7ee; color: #1f7a3d; }
.flow-step.is-done a { opacity: .92; }
@media (max-width: 900px) {
  .dash-work { grid-template-columns: 1fr; }
  .dash-section-head { display: block; }
  .dash-section-head .actions { margin-top: 10px; }
  .dash-todos, .dash-flow, .todo-board, .dash-empty { padding: 16px; }
  .dash-group.dash-todos { padding: 0; }
  .todo-snooze .btn-compact, .flow-step a, .dash-empty .primary-button, .dash-empty .secondary-button {
    min-height: 44px;
  }
  .flow-path, .job-steps, .pick-grid, .pick-grid.pick-3 { grid-template-columns: 1fr; }
  .create-card { padding: 16px 14px 8px; }
  .pick-card { padding: 12px 14px; }
  .flow-step a { min-height: 48px; }
}
@media print {
  .ambient-one, .ambient-two, .ambient-three,
  .hero-primary, .primary-button, .header-cta, .btn-dark,
  .dash-stat:before, .gantt-today, .gantt-today-cap, .cal-day.today, .cal-day.today .cal-num,
  .status-pill.ok i, .status-pill.warn i, .live-dot, .next-steps a {
    animation: none !important;
  }
  .page-main > *, .banner, .dash-stats > *, .dash-grid > .dash-card { animation: none !important; }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes banner-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.dash-stats > * {
  animation: panel-in var(--motion-slow) var(--ease) both;
}
.dash-stats > *:nth-child(1) { animation-delay: 40ms; }
.dash-stats > *:nth-child(2) { animation-delay: 70ms; }
.dash-stats > *:nth-child(3) { animation-delay: 100ms; }
.dash-stats > *:nth-child(4) { animation-delay: 130ms; }
.dash-stats > *:nth-child(5) { animation-delay: 160ms; }
.dash-grid > .dash-card {
  animation: panel-in var(--motion-slow) var(--ease) both;
}
.dash-grid > .dash-card:nth-child(1) { animation-delay: 80ms; }
.dash-grid > .dash-card:nth-child(2) { animation-delay: 110ms; }
.dash-grid > .dash-card:nth-child(3) { animation-delay: 140ms; }
.banner { animation: banner-in var(--motion) var(--ease) both; }
.preview-price, .estimate-total, .dash-stat b, .plan-price, .plan-price-mini, .plan-meter-card b, .num, .facts dd, .metrics b, .line-summary .num, .room-group summary .num {
  animation: none !important;
}

.main-nav a, .icon-nav a, .mobile-nav nav a, .icon-btn, .account-chip, .settings-nav a, .mode-tabs a, .view-tabs a, .density-tabs a {
  transition: transform var(--motion), background-color var(--motion), color 160ms ease, box-shadow var(--motion), border-color var(--motion);
}
.main-nav a:hover, .icon-nav a:hover, .mobile-nav nav a:hover, .icon-btn:hover, .account-chip:hover, .settings-nav a:hover {
  transform: none;
  color: var(--text);
  background: rgba(255,255,255,.82);
}
.icon-btn:hover, .account-chip:hover {
  box-shadow: 0 10px 22px var(--accent-soft);
}
.nav-icon, .main-nav a svg, .icon-nav svg {
  transition: transform var(--motion);
}
.main-nav a:hover .nav-icon, .icon-btn:hover .nav-icon, .icon-nav a:hover svg {
  transform: translateY(-1px);
}
.brand-mark { transition: transform var(--motion), box-shadow var(--motion); }
.brand:hover .brand-mark { transform: translateY(-1px); }

.dash-card, a.dash-stat, .dash-stat, .line-item, .help-card, .option-row, .plan-step, .plan-compare article, .plan-meter-card, .vendor-card, .todo-list li, .flow-step a {
  transition: transform var(--motion), box-shadow var(--motion), border-color var(--motion), background-color var(--motion);
}
.dash-card:hover, a.dash-stat:hover, .line-item:hover, .help-card:hover, .vendor-card:hover {
  transform: none;
  box-shadow: none;
  border-color: color-mix(in srgb, var(--accent) 18%, var(--line));
}
a.dash-stat:hover { box-shadow: var(--lift-shadow), 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); }
.todo-list li:hover, .plan-step:hover, .plan-compare article:hover, .flow-step a:hover {
  transform: none;
  box-shadow: none;
  border-color: color-mix(in srgb, var(--accent) 18%, var(--line));
}
.option-row:hover { background: #f7f6f3; }
.option-row.is-chosen:hover { background: color-mix(in srgb, var(--accent-soft) 72%, #fff); }
.flow-step.is-now a:hover { box-shadow: 0 16px 32px var(--accent-soft); }

.hero-primary, .primary-button, .hero-secondary, .secondary-button, .btn-compact, .btn-quiet, .header-cta, .btn-dark {
  transition: transform var(--motion), box-shadow var(--motion), filter var(--motion), border-color var(--motion), background-color var(--motion), color 160ms ease;
}
.hero-primary:hover, .primary-button:hover, .hero-secondary:hover, .secondary-button:hover, .btn-compact:hover, .btn-quiet:hover, .header-cta:hover, .btn-dark:hover {
  transform: none;
}
.hero-secondary:hover, .secondary-button:hover, .btn-compact:hover, .btn-quiet:hover {
  box-shadow: 0 10px 22px rgba(31, 48, 77, 0.1);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}
.btn-compact.is-selected:hover { box-shadow: 0 10px 22px var(--accent-soft); }

.table-wrap tbody tr {
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
.table-wrap tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 6%, #fff);
  box-shadow: inset 3px 0 0 var(--accent);
}
.theme-yard .table-wrap tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}

.gantt-bar {
  transition: transform var(--motion), box-shadow var(--motion);
}
.gantt-bar:hover {
  transform: none;
  box-shadow: 0 8px 16px var(--accent-soft);
  z-index: 2;
}
.cal-chip, .cal-more {
  transition: transform var(--motion), box-shadow var(--motion), background-color var(--motion);
}
.cal-chip:hover, .cal-more:hover {
  transform: none;
  box-shadow: 0 4px 12px var(--accent-soft);
}

.view-tabs, .mode-tabs, .density-tabs { position: relative; }
.view-tabs a, .mode-tabs a, .density-tabs a { position: relative; }
.mode-tabs a::after, .segment-bar a::after { display: none; }

.fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-left: auto;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.72;
  pointer-events: none;
}
.fold[open] > summary::after, .fold.is-open > summary::after {
  transform: rotate(-135deg) translateY(1px);
}
.next-steps-fold > summary, .settings-card.fold > summary, .help-card.fold > summary, .room-group.fold > summary, .collaborator-list > summary {
  font-weight: 760;
  letter-spacing: -0.02em;
  color: var(--text);
}
.next-steps-fold > summary, .settings-card.fold > summary { font-size: 18px; }
.dash-todos .next-steps-fold > summary, .todo-board .next-steps-fold > summary {
  font-size: 18px; margin: 0 0 10px; font-weight: 650;
}
.help-form-card.fold > summary { font-size: 18px; }
.help-card.fold > summary { font-size: 16px; margin: 0; }
.help-card.fold > summary h2, .settings-card.fold > summary h2 {
  margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: inherit;
}
.room-group.fold > summary {
  font-size: 16px;
  margin: 0 0 12px;
}
.room-group.fold > summary .num, .line-summary .num { color: var(--muted); font-weight: 650; margin-left: 8px; }
.line-summary {
  width: 100%;
  font-weight: 720;
  letter-spacing: -0.02em;
}
.line-summary > span { flex: 1 1 auto; min-width: 0; }
.fold > summary > h2 { flex: 1 1 auto; min-width: 0; }
.line-item.fold { padding: 0; }
.line-item.fold > summary { padding: 14px 16px; margin: 0; }
.line-item.fold[open] > .fold-body { padding: 0 16px 16px; }
.quiet-fold,
.overview-more,
.overview-breakdown {
  margin: 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.quiet-fold > summary,
.overview-more > summary,
.overview-breakdown > summary {
  padding: 14px 16px;
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.quiet-fold[open] > .fold-body,
.overview-more[open] > .fold-body,
.overview-breakdown[open] > .fold-body {
  padding: 0 16px 16px;
}
.quiet-fold .facts + form { margin-top: 18px; }
.quiet-fold .table-wrap + form { margin-top: 22px; }
.card-head .back-link { margin: 0 0 2px; }
.workspace .card-head h1 { margin-top: 2px; }
.todo-snoozed.fold > summary { font-size: 13px; color: #546077; font-weight: 700; }

.fold > .fold-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0.4;
  transition: grid-template-rows var(--motion-slow), opacity 180ms ease;
}
.fold[open] > .fold-body, .fold.is-open > .fold-body {
  grid-template-rows: 1fr;
  opacity: 1;
}
.fold > .fold-body > .fold-inner { overflow: hidden; min-height: 0; }
.fold[open] > .fold-body > .fold-inner,
.fold.is-open > .fold-body > .fold-inner {
  overflow: visible;
  padding: var(--focus-outset);
  margin-inline: calc(-1 * var(--focus-outset));
}
@supports selector(::details-content) {
  .fold::details-content {
    display: block;
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition: block-size var(--motion-slow), opacity 180ms ease, content-visibility var(--motion-slow) allow-discrete;
  }
  .fold[open]::details-content, .fold.is-open::details-content {
    block-size: auto;
    opacity: 1;
    overflow: visible;
  }
  .fold > .fold-body {
    display: block;
    grid-template-rows: none;
    opacity: 1;
    transition: none;
  }
}

.mobile-nav summary { transition: background-color var(--motion), transform var(--motion); }
.mobile-nav[open] summary { background: #fff; }
.mobile-nav nav {
  transform-origin: top right;
  animation: panel-in var(--motion) var(--ease) both;
}

.theme-yard .main-nav a:hover, .theme-yard .icon-btn:hover, .theme-yard .account-chip:hover {
  box-shadow: 0 10px 22px var(--accent-soft);
}
.theme-yard .view-tabs a::after, .theme-yard .mode-tabs a::after, .theme-yard .density-tabs a::after {
  background: var(--accent);
}

@media (max-width: 900px) {
  .hero-primary:hover, .primary-button:hover, .gantt-bar:hover { filter: none; }
  .dash-card:hover, a.dash-stat:hover, .line-item:hover, .help-card:hover, .todo-list li:hover, .plan-step:hover, .flow-step a:hover, .gantt-bar:hover, .cal-chip:hover {
    box-shadow: 0 10px 22px rgba(31, 48, 77, 0.1);
  }
  .option-row:hover { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-main > *, .banner, .dash-stats > *, .dash-grid > .dash-card, .mobile-nav nav {
    animation: none !important;
    transform: none !important;
  }
  .dash-card, a.dash-stat, .line-item, .help-card, .option-row, .plan-step, .todo-list li, .flow-step a, .vendor-card, .gantt-bar, .cal-chip, .cal-more,
  .main-nav a, .icon-nav a, .icon-btn, .account-chip, .settings-nav a, .mode-tabs a, .view-tabs a, .density-tabs a,
  .hero-primary, .primary-button, .hero-secondary, .secondary-button, .btn-compact, .btn-quiet, .header-cta, .btn-dark,
  .brand-mark, .nav-icon, .account-menu-panel, .fold > .fold-body, .fold > summary::after, .fold::details-content,
  .field input, .field select, .field textarea, .control {
    transition: none !important;
    transform: none !important;
  }
  .dash-card:hover, a.dash-stat:hover, .line-item:hover, .help-card:hover, .todo-list li:hover, .option-row:hover, .plan-step:hover, .flow-step a:hover,
  .main-nav a:hover, .icon-btn:hover, .account-chip:hover, .gantt-bar:hover, .cal-chip:hover,
  .hero-primary:hover, .primary-button:hover, .secondary-button:hover, .btn-compact:hover {
    transform: none !important;
  }
  .view-tabs a::after, .mode-tabs a::after, .density-tabs a::after {
    transition: none;
  }
  .view-tabs a[aria-current="page"]::after, .mode-tabs a[aria-current="page"]::after, .density-tabs a[aria-current="page"]::after {
    transform: scaleX(1);
    opacity: 1;
  }
  .view-tabs a:hover::after, .mode-tabs a:hover::after, .density-tabs a:hover::after {
    opacity: 0.45;
    transform: scaleX(1);
  }
  .account-menu-panel { transform: none; }
  .fold > .fold-body, .fold::details-content { opacity: 1; }
  .table-wrap tbody tr:hover {
    background: color-mix(in srgb, var(--accent) 6%, #fff);
  }
}

.placement-rail, .own-vendors {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line);
}
.placement-rail h2, .own-vendors h2 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.placement-grid { display: grid; gap: 10px; margin-top: 12px; }
.placement-card {
  position: relative;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 0;
  overflow: hidden;
}
.placement-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px dashed color-mix(in srgb, var(--accent) 28%, var(--line));
  pointer-events: none;
}
.placement-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: #4d3a6e;
  pointer-events: none;
}
.placement-card h3 { margin: 8px 0 0; font-size: 15px; letter-spacing: -0.02em; }
.placement-card .status-pill { margin-top: 2px; }
.placement-card[data-placement-status="editorial"]::before,
.placement-card[data-placement-status="sponsored"]::before {
  border-style: solid;
}
.placement-card[data-placement-status="editorial"]::after { background: #3d4a61; }
.own-vendor-list { margin: 8px 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.own-vendor-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--line);
}
.own-vendor-list span { color: var(--muted); font-size: 13px; }

.vendor-card h2 { margin: 8px 0 0; font-size: 22px; letter-spacing: -0.03em; }
.vendor-card .meta { margin-top: 8px; }
.kind-chip {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; max-width: 100%; min-height: 28px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 750; line-height: 1.25; text-align: center;
  white-space: nowrap;
  background: var(--accent-soft); color: var(--accent);
}
.theme-yard .kind-chip { color: #245536; }
.kind-chip.contractor { background: #e8f7ee; color: #1f7a3d; }
.kind-chip.shop { background: #fff8eb; color: #71501f; }
.kind-chip.studio { background: #f0eaff; color: #5a3fb5; }
.theme-yard .kind-chip.studio { background: #eef6ef; color: #245536; }
.theme-yard .badge, .theme-yard .status-pill { background: #eef6ef; color: #245536; }
.theme-yard .status-pill.ok { background: #e8f7ee; color: #1f7a3d; }
.theme-yard .status-pill.warn { background: #fff8eb; color: #71501f; }
.theme-yard .task-status.in_progress { color: #245536; }
.theme-yard .help-tip-mark { color: #497a59; }

.listing-block { display: grid; gap: 10px; margin: 8px 0 22px; }
.listing-block h2 { margin: 0; font-size: 18px; letter-spacing: -0.02em; font-weight: 650; }
.listing-block h3 { margin: 8px 0 0; font-size: 16px; letter-spacing: -0.02em; font-weight: 650; }
.listing-block .listing-grid { margin: 4px 0 8px; }
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 12px 0 22px;
}
.listing-card {
  padding: 16px 18px 18px;
  display: grid;
  gap: 8px;
}
.listing-card h3 { margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.listing-card p { margin: 0; color: #546077; font-size: 14px; line-height: 1.45; }
.listing-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.listing-initials, .listing-logo, .logo-preview img, .brand-mark-logo img, .report-logo img {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 780;
  background: linear-gradient(145deg, var(--accent-soft), rgba(255,255,255,.8));
  color: var(--accent);
  object-fit: cover;
}
.listing-logo img, .logo-preview img, .brand-mark-logo img, .report-logo img { width: 42px; height: 42px; display: block; }
.logo-preview img { width: 72px; height: 72px; }
.logo-upload-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 10px 0 0;
}
.logo-preview { margin: 0; }
.logo-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.logo-file { position: relative; cursor: pointer; }
.logo-file:focus-within {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px;
}
.public-profile-block, .profile-analytics { display: grid; gap: 10px; margin: 22px 0; }
.analytics-kpi {
  margin: 18px 0; padding: 18px 20px; border-radius: 18px;
  background: rgba(255,255,255,.62); border: 1px solid var(--line);
}
.analytics-count { margin: 6px 0 8px; font-size: 36px; font-weight: 760; letter-spacing: -0.04em; line-height: 1; }
.public-profile { margin: 48px auto 80px; max-width: 720px; }
.contact-clicks { font-size: 18px; }
.listing-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.listing-tags span {
  font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line);
}
.listing-feature {
  margin: 0;
  padding: 8px 10px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  font-size: 13px; font-weight: 650;
}
.listing-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 8px 12px; border-radius: 12px;
  background: #172033; color: #fff; font-size: 13px; font-weight: 680;
}
.listing-card.coming-soon { position: relative; overflow: hidden; }
.listing-manage { margin-top: 8px; }
.listing-manage > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--compact-h);
  padding: 6px 12px;
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background: var(--control-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
}
.listing-manage > summary::-webkit-details-marker { display: none; }
.listing-manage[open] > summary { margin-bottom: 8px; }
.placement-slot {
  padding: 16px 18px;
  display: grid;
  gap: 8px;
  border-style: dashed;
  border-radius: 16px;
  overflow: hidden;
}
.placement-slot.is-filled { border-style: solid; }
.placement-slot h3 { margin: 0; font-size: 16px; }
.placement-slot h3 a { color: inherit; }
@media (max-width: 900px) {
  .listing-grid { grid-template-columns: 1fr; }
}

.status-pill.status-draft, .status-pill.cost-draft, .status-pill.todo-later, .badge.baseline-draft {
  background: #e8edf5; color: #3d4a61;
}
.status-pill.status-active, .status-pill.change-proposed, .status-pill.role-edit {
  background: var(--accent-soft); color: var(--accent);
}
.status-pill.status-completed, .status-pill.cost-posted, .badge.baseline-saved {
  background: #e8f7ee; color: #1f7a3d;
}
.status-pill.status-archived, .status-pill.change-rejected, .status-pill.todo-snoozed, .status-pill.role-view, .status-pill.var-on {
  background: #eceff4; color: #4a5568;
}
.status-pill.cost-credit {
  background: #f0eaf8; color: #4d3a6e;
}
.status-pill.change-approved { background: #e8f7ee; color: #1f7a3d; }
.status-pill.cash-in { background: #e7f3f6; color: #215a72; }
.status-pill.cash-out { background: #eef1f6; color: #3d4a61; }
.status-pill.var-over { background: #fdecea; color: #8b1e1e; }
.status-pill.var-under { background: #e8f7ee; color: #1f7a3d; }
.status-pill.plan-free { background: #e8f7ee; color: #1f7a3d; }
.status-pill.plan-checkout-off { background: #fff8eb; color: #71501f; }
.status-pill.listing-own { background: var(--accent-soft); color: var(--accent); }
.status-pill.listing-coming-soon { background: #e8edf5; color: #3d4a61; }
.status-pill.listing-sponsored-empty, .status-pill.listing-sponsored {
  background: #f3eef6; color: #4d3a6e;
}
.status-pill.listing-editorial { background: #edf2fb; color: #3d4a61; }
.status-pill.role-admin { background: #172033; color: #fff; }
.status-pill.todo-overdue { background: #fdecea; color: #8b1e1e; }
.theme-yard .status-pill.status-active,
.theme-yard .status-pill.change-proposed,
.theme-yard .status-pill.role-edit,
.theme-yard .status-pill.listing-own {
  background: var(--accent-soft); color: #245536;
}
.theme-yard .status-pill.var-over {
  background: #fdecea; color: #8b1e1e;
}
.theme-yard .status-pill.cost-credit,
.theme-yard .status-pill.listing-sponsored-empty,
.theme-yard .status-pill.listing-sponsored {
  background: #e8f0e6; color: #2f4a38;
}
.theme-yard .status-pill.cash-in { background: #e7f1ea; color: #1e4a2e; }
.preview-price.is-incomplete { color: var(--muted); }
.dash-stat.is-warn { background: #fff8eb; }
.dash-stat.is-overdue { background: #fff1f1; color: #8b1e1e; }
.dash-stat.is-incomplete { background: color-mix(in srgb, var(--accent) 8%, #fff); }
.dash-signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
.dash-attention {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.dash-attention.dash-signals,
.dash-attention.dash-stats {
  display: flex;
  grid-template-columns: none;
}
.dash-attention a.dash-stat,
.dash-attention a.dash-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  min-width: 0;
  padding: 8px 14px;
  border-radius: 999px;
}
.dash-attention a.dash-stat b,
.dash-attention a.dash-signal b {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.dash-attention .dash-signal-hint { display: none; }
.dash-attention .dash-signal-title { font-size: 13px; }
a.dash-signal {
  display: grid; gap: 4px; padding: 16px 18px; border-radius: 20px;
  text-decoration: none; color: inherit; min-height: 112px;
}
a.dash-signal:hover { transform: none; box-shadow: none; }
a.dash-signal:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.dash-signal b { font-size: 28px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.dash-signal-title { font-weight: 750; font-size: 14px; }
.dash-signal-hint { color: var(--muted); font-size: 12px; font-weight: 600; }
.dash-signal.is-warn { background: #fff8eb; }
.dash-signal.is-hot { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 28%, transparent); }
.dash-signal.is-quiet { opacity: .92; }
.dash-next-report { padding: 22px 24px; border-radius: 24px; margin: 0 0 22px; }
.dash-next-report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
a.dash-next-report-card {
  display: block; padding: 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  text-decoration: none; color: inherit; min-height: 96px;
}
a.dash-next-report-card:hover { box-shadow: 0 12px 28px var(--accent-soft); }
a.dash-next-report-card.is-ready {
  background: linear-gradient(145deg, var(--accent), var(--accent2));
  color: #fff; border-color: transparent;
}
a.dash-next-report-card.is-ready .section-kicker,
a.dash-next-report-card.is-ready p { color: rgba(255,255,255,.88); }
.news-page { padding: 0; }
.news-page .page-heading { align-items: flex-end; margin-bottom: 10px; }
.news-page .page-heading .hint { margin: 8px 0 0; max-width: 40rem; }
.news-feed { display: grid; gap: 12px; }
.news-article {
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
}
.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 10px;
}
.news-article-meta time,
.news-banner-meta time {
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.news-article h2 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 680;
}
.news-article-body { display: grid; gap: 8px; }
.news-article-body p { margin: 0; line-height: 1.5; color: var(--text); }
.news-article.is-downtime { box-shadow: inset 3px 0 0 #c47d12; }
.news-article.is-update { box-shadow: inset 3px 0 0 var(--accent); }
.news-empty { margin: 8px 0 0; }
.news-empty h2 { margin: 4px 0 8px; font-size: 20px; letter-spacing: -0.03em; }
.news-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 18px;
  padding: 14px 16px;
}
.news-banner-copy { min-width: 0; display: grid; gap: 4px; }
.news-banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.news-banner-title {
  margin: 0;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.news-banner-title a { color: inherit; text-decoration: none; }
.news-banner-title a:hover { text-decoration: underline; }
.news-banner-excerpt { margin: 0; font-size: 13px; line-height: 1.45; opacity: .88; }
.news-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }
.news-banner form { margin: 0; flex: 0 0 auto; }
.admin-news-form .field-grid { margin-top: 2px; }
.admin-news-preview { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.admin-news-preview .news-article { margin-top: 10px; }
@media (max-width: 700px) {
  .news-banner { flex-direction: column; }
  .news-banner-actions { width: 100%; }
  .news-banner-actions .btn-compact { min-height: var(--tap); flex: 1; }
}
.thread-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
a.thread-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 14px;
  padding: 14px 16px;
  min-height: 76px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
}
a.thread-card:last-child { border-bottom: 0; }
a.thread-card:hover, a.thread-card:focus-visible {
  background: color-mix(in srgb, var(--accent) 7%, #fff);
}
a.thread-card.is-unread { background: color-mix(in srgb, var(--accent) 6%, #fff); }
.thread-avatar {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 750;
  background: var(--accent-soft); color: var(--accent);
}
.thread-copy { min-width: 0; display: grid; gap: 3px; }
.thread-copy strong { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
a.thread-card.is-unread .thread-copy strong { font-weight: 750; }
.thread-aside {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 6px;
}
.thread-when {
  font-size: 12px; font-weight: 650; color: var(--muted);
  font-variant-numeric: tabular-nums; text-align: right; max-width: 9.5rem;
}
.thread-unread {
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 750;
  display: grid; place-items: center; line-height: 1;
}
.thread-preview {
  display: block;
  font-size: 13px; line-height: 1.4; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
a.thread-card.is-unread .thread-preview { color: var(--text); font-weight: 600; }
.message-thread-page { max-width: 720px; }
.message-thread-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.message-thread-head h1 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.message-thread-head .hint { margin: 4px 0 0; }
.message-thread {
  display: flex; flex-direction: column; gap: 6px;
  margin: 0 0 16px; padding: 16px 14px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg2) 72%, #fff);
  border: 1px solid var(--line);
}
.message-day {
  align-self: center;
  margin: 4px 0 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; color: var(--muted);
}
.message-day time { font-variant-numeric: tabular-nums; }
.message-row {
  max-width: min(78%, 34rem);
  padding: 10px 14px 8px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}
.message-row.is-you {
  align-self: end;
  border-radius: 18px 18px 6px 18px;
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.message-body { margin: 0; line-height: 1.45; }
.message-meta {
  display: block;
  margin: 6px 0 0;
  font-size: 11px; font-weight: 650; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.message-row.is-you .message-meta {
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
}
.message-compose {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}
.message-compose textarea.control {
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--control-h);
  height: var(--control-h);
  margin: 0;
  resize: vertical;
}
.message-compose .primary-button {
  flex: 0 0 auto;
  min-height: var(--control-h);
  padding-block: 0;
  align-self: stretch;
}
.message-compose .primary-button:after { content: none; }
@media (max-width: 700px) {
  a.thread-card { padding: 14px; min-height: var(--tap-mobile); }
  .message-row { max-width: 88%; }
  .message-compose { flex-direction: column; }
  .message-compose .primary-button { width: 100%; }
}
@media (max-width: 900px) {
  a.dash-signal, a.dash-next-report-card { min-height: 44px; }
  .dash-attention a.dash-stat, .dash-attention a.dash-signal { min-height: var(--tap-mobile); }
}
.credit-row { opacity: 1; background: color-mix(in srgb, var(--accent2) 7%, #fff); }
.theme-yard .credit-row { background: color-mix(in srgb, #79a955 10%, #fff); }
.draft-row { background: #eef1f6; }
.overdue-row { box-shadow: inset 3px 0 0 #b42318; }
.table-wrap tbody tr.overdue-row:hover { box-shadow: inset 3px 0 0 #b42318; }
.cash-row.cash-in { box-shadow: inset 3px 0 0 #3a8aa0; }
.cash-row.cash-out { box-shadow: inset 3px 0 0 #8b97ab; }
.theme-yard .cash-row.cash-in { box-shadow: inset 3px 0 0 #2f7d4a; }
.is-overdue-date { color: #8b1e1e; font-weight: 750; }
.todo-list li.todo-overdue {
  background: #fff1f1;
  border: 1px solid rgba(180, 35, 24, 0.18);
}
.todo-list li.todo-snoozed { background: #f4f6fa; }
.cal-chip.planned { background: #e8edf5; color: #546077; }
.listing-card.coming-soon { box-shadow: inset 3px 0 0 #546077; }
.placement-slot {
  box-shadow: inset 3px 0 0 #4d3a6e;
}
.placement-slot.is-filled[data-placement-status="editorial"] { box-shadow: inset 3px 0 0 #3d4a61; }
.placement-slot.is-filled[data-placement-status="sponsored"] { box-shadow: inset 3px 0 0 #4d3a6e; }
.own-vendors h2 .status-pill { vertical-align: middle; margin-left: 8px; }
.color-legend {
  padding: 16px 18px;
  border-radius: 20px;
  margin: 0 0 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.62));
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: var(--content-shadow);
}
.theme-yard .color-legend {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(238,246,239,.72));
}
.color-legend h2 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.02em; }
.color-legend-rows { display: grid; gap: 12px; }
.legend-group {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
  gap: 6px 14px;
  align-items: start;
}
.legend-kicker {
  font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  color: #687589; min-width: 0; line-height: 1.3; padding-top: 6px;
}
.legend-chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0;
}
.color-legend .status-pill,
.color-legend .task-status,
.color-legend .legend-today,
.color-legend .badge {
  margin: 0;
  min-height: 26px;
}
.legend-today {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; padding: 3px 8px; border-radius: 999px;
  background: linear-gradient(145deg, var(--accent), var(--accent2)); color: #fff;
  font-size: 11px; font-weight: 780; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
.help-wide .color-legend { margin: 22px 0; background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.beta-banner {
  width: var(--shell); margin: 10px auto 0; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 244, 214, 0.88); color: #5c4316; font-size: 12px; font-weight: 650;
  text-align: center; border: 1px solid rgba(180, 112, 28, 0.18);
}
.beta-banner a { color: inherit; font-weight: 750; text-decoration: none; }
.beta-banner a:hover { text-decoration: underline; }
.demo-banner {
  width: var(--shell); margin: 8px auto 0; padding: 14px 16px; border-radius: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #eef4ff; border: 1px solid var(--line); color: var(--text);
}
.theme-yard .demo-banner { background: #eef6ef; }
.demo-banner .section-kicker { margin: 0 0 4px; }
.demo-banner p { margin: 0; font-size: 14px; }
.demo-banner .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-steps { padding: 16px 18px; border-radius: 16px; margin: 0 0 16px; border: 1px solid var(--line); background: #fff; box-shadow: none; }
.demo-steps ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-steps li a {
  display: flex; align-items: center; gap: 10px; min-height: 48px; min-width: 0;
  padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--line);
}
.demo-steps li a > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-recreate { margin: 10px 0 0; }
.demo-recreate form { margin: 0; }
.project-pane > .demo-steps,
.demo-steps.is-compact {
  display: flex; align-items: stretch; gap: 8px;
  margin: 0 16px 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.demo-steps.is-compact ol { flex: 1 1 auto; margin: 0; min-width: 0; }
.demo-steps.is-compact li a { min-height: 40px; padding: 8px 10px; font-size: 13px; }
.demo-steps.is-compact .demo-recreate {
  display: flex; align-items: stretch; margin: 0; flex: 0 0 auto;
}
.demo-steps.is-compact .demo-recreate .btn-compact { min-height: 40px; }
.demo-step-index {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 780; background: var(--accent-soft); color: var(--accent);
}
.theme-yard .demo-step-index { color: #245536; }
@media (max-width: 800px) {
  .demo-steps:not(.is-compact) ol { grid-template-columns: 1fr; }
}
.breadcrumbs {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 6px;
  max-width: 100%; min-width: 0; overflow: hidden;
  margin: 0 0 14px; font-size: 13px; font-weight: 600; color: #6b7890;
}
.card-head .breadcrumbs { margin: 0 0 8px; }
.calculator-card > .breadcrumbs { padding: 14px var(--gutter) 0; margin: 0; }
.breadcrumbs a, .breadcrumbs span:not(.crumb-sep) {
  flex: 0 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.breadcrumbs a { color: #3d4a61; }
.breadcrumbs a:hover { color: var(--accent); }
.theme-yard .breadcrumbs a { color: #245536; }
.breadcrumbs [aria-current="page"] { flex: 0 0 auto; color: #546077; }
.crumb-sep { flex: 0 0 auto; color: #c0c6d0; font-weight: 500; }
.empty-state {
  padding: 22px 20px; border-radius: 18px;
  background: rgba(255,255,255,.62); border: 1px dashed var(--line);
}
.empty-state p { margin: 0; color: #3d4a61; }
.empty-state .hint { margin-top: 6px; }
.empty-state .actions, .empty-state .row-actions { margin-top: 14px; }
.form-section.templates-page > h2 { margin-top: 0; }
.templates-page .dash-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  max-width: 640px;
}
.template-use { display: grid; gap: 10px; margin-top: 14px; }
.template-use .field { margin: 0; }
.template-use .row-actions { margin-top: 2px; }
.primary-button, .form-section .actions { scroll-margin-top: 96px; }
@media (max-width: 1100px) {
  .land-grid-feats, .feat-fact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .mode-tabs { position: static; }
}
@media print {
  .beta-banner, .breadcrumbs { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .account-menu-panel, .land-card { transition: none; }
  .land-card:hover, .land-card-link:hover, .dash-card:hover, a.dash-stat:hover { transform: none; }
}
.theme-operator {
  --accent: #2c3548;
  --accent2: #5b6578;
  --accent-soft: rgba(44, 53, 72, 0.12);
  --ink: #1b212c;
}
.operator-mark {
  width: 34px; height: 34px; border-radius: 12px;
  display: grid; place-items: center;
  background: #1b212c; color: #fff; font-weight: 780; font-size: 15px;
  box-shadow: 0 8px 18px rgba(27, 33, 44, 0.18);
}
.theme-operator .brand-word b { color: #2c3548; }
.theme-operator .header-inner {
  height: auto;
  min-height: var(--header-h);
  padding-top: 8px;
  padding-bottom: 8px;
}
.theme-operator .main-nav {
  flex-wrap: wrap;
  row-gap: 2px;
}
.theme-operator .main-nav > a {
  padding: 6px 10px;
  font-size: 13px;
}
.theme-operator .main-nav a[aria-current="page"] {
  background: rgba(44, 53, 72, 0.08);
}
.admin-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: var(--shell);
  margin: 0 auto;
  padding: 4px 0 12px;
}
.admin-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  color: #546077;
}
.admin-subnav a:hover { background: rgba(44, 53, 72, 0.06); color: var(--ink); }
.admin-subnav a[aria-current="page"] {
  background: #1b212c;
  color: #fff;
}
.admin-groups {
  display: grid;
  gap: 22px;
  margin-top: 8px;
}
@media (min-width: 900px) {
  .admin-groups { grid-template-columns: 1fr 1fr; align-items: start; }
}
.admin-groups h2 { margin: 0 0 10px; font-size: 15px; letter-spacing: -0.02em; }
.admin-groups .dash-stats { margin: 0; }
.admin-groups .facts { margin: 0; }
.admin-ticket { padding: 16px 18px; }
.admin-ticket .card-head { margin-bottom: 10px; }
.admin-ticket h2 { font-size: 16px; }
.theme-operator .admin-desk textarea.control { min-height: 120px; }
.theme-operator .admin-search .btn-icon { align-self: end; min-height: var(--control-h); }
.theme-operator .calculator-card h1 { letter-spacing: -0.04em; }
.admin-desk {
  display: grid;
  gap: 18px;
  padding: 0 0 40px;
  min-width: 0;
}
.theme-operator .dash-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-operator .admin-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  max-width: 520px;
  margin: 0 0 18px;
}
.theme-operator .admin-search .field { margin: 0; }
.theme-operator .admin-table {
  width: 100%;
}
.theme-operator .admin-table th,
.theme-operator .admin-table td {
  vertical-align: middle;
}
.theme-operator .admin-table .num { text-align: right; }
.theme-operator .admin-table .col-status,
.theme-operator .admin-table .col-actions { white-space: nowrap; }
.theme-operator .admin-table td.col-actions { text-align: right; }
.theme-operator .breadcrumbs { margin: 0 0 16px; }
.theme-operator .workspace > .help-card { margin-top: 14px; }
.theme-operator .admin-data { margin-top: 0; }
.theme-operator details.fold:not([open]) > .fold-body { display: none; }
@media (max-width: 1100px) {
  .theme-operator .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .theme-operator .header-end > a.header-cta-ghost { display: none; }
  .theme-operator .dash-stats { grid-template-columns: 1fr 1fr; }
  .theme-operator .admin-search { grid-template-columns: 1fr; max-width: none; }
  .admin-subnav { display: none; }
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, .choice, .icon-btn, .account-chip, .header-cta, .header-cta-ghost, .btn-dark {
  touch-action: manipulation;
}
.table-wrap, .gantt-scroll, .cal, .mode-tabs, .settings-nav nav {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

@media (hover: none) {
  .btn-compact, .btn-compact.btn-icon {
    min-height: var(--tap-mobile);
    min-width: var(--tap-mobile);
  }
  .dash-card:hover, a.dash-stat:hover, .line-item:hover, .help-card:hover, .vendor-card:hover,
  .todo-list li:hover, .option-row:hover, .plan-step:hover, .flow-step a:hover, .gantt-bar:hover, .cal-chip:hover {
    transform: none;
  }
  .hero-primary:hover, .primary-button:hover, .hero-secondary:hover, .secondary-button:hover,
  .btn-compact:hover, .header-cta:hover, .btn-dark:hover {
    transform: none;
    filter: none;
  }
  .main-nav a:hover, .icon-btn:hover, .account-chip:hover, .settings-nav a:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  :root { --shell: min(1220px, calc(100% - 20px)); }
  body {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .site-header {
    padding-top: calc(var(--header-gap) + env(safe-area-inset-top, 0px));
  }
  .header-end, .icon-btn, .account-chip, .header-cta, .header-cta-ghost, .btn-dark {
    min-width: var(--tap-mobile);
    min-height: var(--tap-mobile);
  }
  .mobile-nav summary {
    width: var(--tap-mobile);
    height: var(--tap-mobile);
    min-height: var(--tap-mobile);
  }
  .mobile-nav nav a, .account-menu-panel a, .account-signout {
    min-height: var(--tap-mobile);
  }
  .project-section-nav {
    display: grid;
    margin: 0 12px 12px;
    width: auto;
    max-width: calc(100% - 24px);
  }
  .mode-tabs, .mode-tabs-bar { display: none; }
  .table-wrap { width: 100%; max-width: 100%; }
  .table-wrap table.is-ledger { min-width: 28rem; }
  .table-wrap table.is-ledger td:first-child,
  .table-wrap table.is-ledger th:first-child {
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 8.5rem;
  }
  .table-wrap table.projects-table { min-width: 36rem; }
  .table-wrap table.projects-table th[scope="row"] {
    max-width: 20rem; min-width: 16rem; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .account-cluster > a.icon-btn[href$="/help"] { display: none; }
  .todo-snooze, .todo-snooze-date {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
  }
  .estimate-card, .glass-panel.narrow, .auth-card, .home-hero-scene {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .mode-tabs a, .settings-nav a, .listing-cta, .todo-snooze .btn-compact,
  .todo-snooze-date button, .todo-snooze-date input[type="date"] {
    min-height: var(--tap-mobile);
  }
  .help-tip { min-width: var(--tap-mobile); min-height: var(--tap-mobile); }
  .help-tip-mark { width: 20px; height: 20px; }
  .choice { min-height: var(--tap-mobile); }
  .choice input[type="checkbox"], .choice input[type="radio"] {
    width: 22px; height: 22px; flex: 0 0 22px;
  }
  .field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  .field select, .field textarea, .control {
    font-size: 16px;
  }
  .hero, .land-hero.is-wide { padding: 28px 0 20px; gap: 28px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-actions { width: 100%; }
  .hero-actions .hero-primary, .hero-actions .hero-secondary,
  .page-heading .actions .primary-button, .page-heading .actions .secondary-button {
    width: 100%;
  }
  .page-heading .actions, .page-heading .row-actions, .mobile-quick, .toolbar {
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .card-head { display: flex; padding: 16px 12px 10px; }
  .notif-page .card-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }
  .notif-page .card-head .row-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .notif-page .card-head .row-actions form,
  .notif-page .card-head .row-actions .btn-compact { width: 100%; }
  .notif-page .card-head .row-actions form .btn-compact {
    width: 100%;
    justify-content: center;
  }
  .notif-feed .notif-hit {
    grid-template-columns: 8px minmax(0, 1fr);
    align-items: start;
  }
  .notif-feed .notif-dot { grid-row: 1 / span 2; }
  .notif-feed .notif-hit time {
    grid-column: 2;
    justify-self: start;
    margin-top: 0;
  }
  .project-head-actions { display: none; }
  .help-tip { display: none !important; }
  .project-section-nav > label { display: none; }
  .project-section-nav { margin: 0 12px 12px; }
  .workspace .card-head h1 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; }
  .card-head .meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
    font-size: 12px; line-height: 1.35;
  }
  .card-head .status-pill, .card-head .badge { margin: 0; flex: 0 0 auto; }
  .facts.overview-highlight {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }
  .facts.overview-highlight > div {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    min-height: 0;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }
  .facts.overview-highlight > div:last-child { border-bottom: 0; }
  .facts.overview-highlight dt { font-size: 13px; font-weight: 600; }
  .facts.overview-highlight dd {
    font-size: 15px; text-align: right; max-width: 70%;
    overflow-wrap: break-word; line-height: 1.35;
  }
  .next-action { padding: 14px 16px; border-radius: 16px; }
  .next-action-copy { font-size: 16px; max-width: none; }
  .next-action .actions,
  .next-action .primary-button { width: 100%; min-width: 0; }
  .next-action.is-hero {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 10px;
  }
  .next-action.is-hero .next-action-copy { font-size: 18px; max-width: none; }
  .next-action.is-hero .actions { grid-column: 1; grid-row: auto; width: 100%; }
  .calculator-card, .hero-preview { border-radius: 18px; }
  .demo-safety { margin-top: 20px; padding: 12px 16px; gap: 4px 10px; }
  .demo-safety + .page-main { padding-top: 14px; }
  .demo-safety span { display: none; }
  .demo-safety a { margin-left: auto; }
  .project-pane > .demo-steps,
  .demo-steps.is-compact {
    flex-direction: column;
    margin: 0 12px 12px;
    gap: 0;
  }
  .demo-steps.is-compact ol {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }
  .demo-steps.is-compact li a {
    flex-direction: row;
    text-align: left;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    min-height: 44px;
    padding: 10px 12px;
  }
  .demo-steps.is-compact li:last-child a { border-bottom: 0; }
  .demo-steps.is-compact .demo-recreate { display: none; }
  .dash-current-head .actions form[action$="/sample/recreate"] { display: none; }
  .page-heading h1 { font-size: 26px; }
  .workspace-home .page-heading,
  .workspace-home .dash-attention,
  .workspace-home .dash-current-head,
  .workspace-home .dash-section-head {
    padding-inline: 16px;
  }
  .dash-job { padding: 12px 14px; }
  .dash-job-aside { justify-items: end; text-align: right; }
  .dash-week-list li { grid-template-columns: 3.5rem minmax(0, 1fr); padding: 10px 14px; }
  .dash-todos .todo-list li { padding: 12px 14px; }
  .page-heading .row-actions { width: 100%; }
  .page-heading .row-actions .btn-compact { flex: 1 1 0; justify-content: center; }
  .dash-section-head { display: grid; gap: 10px; }
  .dash-section-head .actions { width: 100%; }
  .dash-section-head .actions .btn-compact,
  .dash-section-head .actions form { flex: 1 1 auto; }
  .dash-section-head .actions form .btn-compact { width: 100%; justify-content: center; }
  .segment-bar { width: max-content; max-width: 100%; }
  .money-pane-head { margin-bottom: 10px; }
  .quiet-fold, .overview-more, .overview-breakdown, .line-list, .fold.settings-card { border-radius: 14px; }
  .banner { font-size: 13px; padding: 10px 12px; border-radius: 12px; }
  .dash-card { padding: 16px; border-radius: 18px; }
  .dash-card h2 { font-size: 18px; }
  .dash-card .preview-price { font-size: 24px; }
  .dash-card .row-actions a[href*="/delete"],
  .dash-card .row-actions a[href*="section=settings"],
  .dash-card .row-actions a[href*="section=budget"] { display: none; }
  .todo-list li { padding: 12px; border-radius: 14px; }
  .next-steps.todo-list li, .todo-snoozed li { grid-template-columns: 1fr; }
  .todo-postpone, .todo-postpone[open] { justify-self: stretch; }
  .todo-postpone > summary { min-height: 44px; }
  .inline-form select.control {
    height: var(--tap-mobile);
    min-height: var(--tap-mobile);
  }
  .todo-snooze .btn-compact { flex: 1 1 auto; justify-content: center; }
  .form-section { padding: 16px 12px 20px; }
  .calculator-card > .banner { margin: 12px 12px 0; }
  .dash-work, .plan-hero, .plan-steps, .plan-meters, .plan-compare, .help-forms,
  .land-grid, .land-grid-2, .land-split, .plan-cards, .land-path, .plan-stage,
  .land-compare, .land-feature, .land-auth, .land-hero-stage, .feat-stage,
  .feat-fact-grid, .land-grid-feats {
    grid-template-columns: 1fr;
  }
  .land-cta-band {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 22px 20px;
  }
  .land-cta-band .actions { justify-content: flex-start; }
  .plan-stage .plan-card { grid-template-rows: auto; }
  .plan-stage .plan-card .plan-lead { min-height: 0; }
  .settings-nav {
    padding: 14px 16px 12px;
    position: static;
  }
  .settings-nav h1 { font-size: 22px; margin: 4px 0 10px; }
  .settings-nav-label { display: block; }
  .settings-nav nav {
    display: grid;
    gap: 4px;
    max-width: 100%;
    min-width: 0;
  }
  .settings-nav a[href*="tab=close"] { margin-top: 8px; }
  .settings-nav a {
    width: 100%;
    white-space: normal;
    padding: 10px 12px;
    font-size: 14px;
    gap: 10px;
  }
  .settings-nav .nav-icon { width: 16px; height: 16px; }
  .settings-pane-head h2 { font-size: 22px; }
  .table-wrap { overflow-x: auto; }
  /* do not force non-ledger tables to 640px — that expands parent grids and clips fields */
  .form-section, .settings-stack, .fold, .project-pane {
    min-width: 0;
    max-width: 100%;
  }
  .gantt.comfortable { --gantt-label-w: 148px; }
  .gantt.compact { --gantt-label-w: 108px; }
  .schedule-toolbar { display: grid; gap: 10px; }
  .view-tabs, .density-tabs { max-width: 100%; }
  .cal { overflow-x: auto; }
  .filter-bar { grid-template-columns: 1fr; display: grid; }
  .filter-bar .field { min-width: 0; }
  .narrow, .help-wide, .auth-card { margin: 24px auto 48px; padding: 22px var(--gutter-sm); }
  .beta-banner { width: var(--shell); }
}

@media (max-width: 520px) {
  .dash-stats { grid-template-columns: 1fr; }
  .brand-word { display: none; }
  .site-footer.is-compact {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .site-footer.is-compact .footer-inner {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding: 14px 0;
    gap: 8px;
  }
  .site-footer.is-compact .footer-company { justify-self: start; }
  .public-profile { margin: 24px 12px 48px; }
  .land-hero-preview .land-visual,
  .land-hero-preview .land-visual.is-photo { min-height: 160px; }
}

.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 4px; font-size: 14px; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lead-snooze { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.listing-card-flags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.listing-card.listing-own { box-shadow: inset 3px 0 0 var(--accent); }
.preview-badge.is-sponsored { background: #f3eef6; color: #4d3a6e; }
.preview-badge.is-editorial { background: #edf2fb; color: #3d4a61; }
.theme-yard .preview-badge.is-sponsored { background: #e8f0e6; color: #2f4a38; }
.theme-yard .preview-badge.is-editorial { background: #e8f0e6; color: #2f4a38; }
.theme-yard .status-pill.plan-checkout-off { background: #fff8eb; color: #71501f; }
.theme-yard .status-pill.todo-overdue { background: #fdecea; color: #8b1e1e; }
.theme-yard .status-pill.role-admin { background: #172033; color: #fff; }
.theme-yard .status-pill.status-archived,
.theme-yard .status-pill.cash-out,
.theme-yard .status-pill.listing-coming-soon { background: #eceff4; color: #3d4a61; }
@media (max-width: 640px) {
  .legend-group { grid-template-columns: 1fr; }
  .legend-kicker { padding-top: 0; }
}
.change-row.change-proposed { box-shadow: inset 3px 0 0 var(--accent); }
.change-row.change-approved { box-shadow: inset 3px 0 0 #1f7a3d; }
.change-row.change-rejected { box-shadow: inset 3px 0 0 #8b97ab; }

.skip-link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.table-wrap tbody tr { min-height: 40px; }
.glass-panel.narrow .breadcrumbs { margin-bottom: 16px; }
.kind-chip { color: #1e3f86; }
.theme-yard .kind-chip { color: #245536; }

label.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 12px 0 20px; }
.plan-card { padding: 26px 24px 22px; border-radius: 28px; display: grid; gap: 10px; }
.plan-card h2 { margin: 4px 0 0; font-size: 28px; letter-spacing: -0.035em; }
.plan-card .plan-price { margin: 4px 0 6px; }
.plan-card.is-current { box-shadow: 0 16px 36px var(--accent-soft); }
.plan-card.is-unknown { background: #fff8eb; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.footer-langs a { font-weight: 750; letter-spacing: .04em; }
.footer-langs a[aria-current="true"] { color: #2a3850; }
@media (max-width: 900px) {
  .brand {
    min-height: var(--tap-mobile);
    min-width: var(--tap-mobile);
  }
  .brand-word { display: none; }
  .account-cluster > .icon-btn[href$="/help"],
  .account-cluster > .icon-btn[href$="/settings"] { display: none; }
  .header-cta-ghost { display: none; }
  .auth-card .actions { width: 100%; }
  .auth-card .actions .primary-button,
  .auth-card .actions .secondary-button { width: 100%; }
  .auth-reel-dot { width: var(--tap-mobile); height: var(--tap-mobile); }
  .land-brands a {
    display: inline-flex; align-items: center;
    min-height: var(--tap-mobile); padding: 0 4px;
  }
  .site-footer.is-full .footer-inner a,
  .footer-langs a {
    display: inline-flex; align-items: center;
    min-height: var(--tap-mobile);
  }
  .breadcrumbs { flex-wrap: wrap; overflow: visible; row-gap: 2px; }
  .breadcrumbs a, .breadcrumbs span:not(.crumb-sep) {
    min-height: var(--tap-mobile);
    display: inline-flex; align-items: center;
  }
  .btn-compact, .demo-steps.is-compact li a,
  .demo-steps.is-compact .demo-recreate .btn-compact {
    min-height: var(--tap-mobile);
  }
  .cal.comfortable .cal-day { min-height: 96px; }
  .gantt-label { min-height: var(--tap-mobile); }
  .gantt-label a { min-height: var(--tap-mobile); display: inline-flex; align-items: center; }
  .gantt.compact .gantt-label { min-height: var(--tap-mobile); padding: 8px; }
  .icon-btn, .account-chip, .notif-menu > summary, .notif-hit, .notif-foot a {
    min-height: 44px;
  }
  .notif-menu[open] .notif-panel {
    position: fixed;
    left: 12px; right: 12px; width: auto;
    top: calc(var(--header-gap) + var(--header-h) + 8px);
    max-height: calc(100vh - var(--header-gap) - var(--header-h) - 24px);
  }
  .land-grid, .land-grid-2, .land-split, .plan-cards, .land-path, .plan-stage,
  .land-compare, .land-feature, .land-auth, .land-hero-stage { grid-template-columns: 1fr; }
  .land-cta-band { grid-template-columns: 1fr; }
  .preview-formula { font-size: 34px; }
  .auth-actions { width: 100%; }
  .auth-actions .primary-button, .auth-actions .secondary-button { width: 100%; }
}

/* Homepage hero: one editorial scene and one legible project summary. */
.home-hero { align-items: center; min-width: 0; }
.home-hero-scene { position: relative; margin: 0; padding-bottom: 74px; min-width: 0; max-width: 100%; }
.home-hero-scene .land-visual.is-editorial.is-photo { aspect-ratio: 5 / 4; border: 0; border-radius: 24px; margin: 0; box-shadow: none; max-width: 100%; }
.home-hero-scene .land-visual.is-editorial.is-photo img { aspect-ratio: auto; object-position: 52% 50%; max-width: 100%; }
.home-hero-summary {
  position: relative; z-index: 1;
  width: min(376px, calc(100% - 48px));
  max-width: 100%;
  box-sizing: border-box;
  margin: -100px 0 -74px auto;
  padding: 24px;
  border: 1px solid #e1e5dc; border-radius: 20px;
  background: #fffefa; color: #252e27;
  box-shadow: 0 14px 36px rgba(39, 51, 41, .09);
}
.home-hero-example { margin: 0 0 5px; color: #657065; font-size: 12px; line-height: 1.4; }
.home-hero-project { margin: 0; font-size: 20px; font-weight: 650; line-height: 1.3; letter-spacing: -.02em; }
.home-hero-metrics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin: 22px 0 18px; min-width: 0; }
.home-hero-metrics dt { color: #657065; font-size: 12px; line-height: 1.4; }
.home-hero-metrics dd { margin: 5px 0 0; font-size: clamp(20px, 6vw, 26px); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.home-hero-metrics > div:last-child dd { color: #3c5c4b; }
.home-hero-tools { margin: 0; padding-top: 14px; border-top: 1px solid #e1e5dc; color: #526454; font-size: 12px; line-height: 1.6; }
@media (max-width: 900px) {
  .home-hero-scene { max-width: 640px; width: 100%; justify-self: center; }
  .home-hero-summary { margin-left: auto; margin-right: auto; }
}
@media (max-width: 520px) {
  .home-hero-scene { padding-bottom: 0; }
  .home-hero-scene .land-visual.is-editorial.is-photo { aspect-ratio: 4 / 3; border-radius: 20px; }
  .home-hero-summary { width: calc(100% - 24px); margin: -30px auto 0; padding: 20px; border-radius: 16px; }
  .home-hero-project { font-size: 19px; }
  .home-hero-metrics dt { min-height: 0; }
  .home-hero-metrics dd { font-size: 22px; }
}
.blog-index { padding: 12px 0 48px; }
.blog-index-hero { max-width: 720px; margin: 0 0 28px; }
.blog-index-hero .land-eyebrow { margin-bottom: 10px; }
.blog-index-hero h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 6px 0 8px;
  font-weight: 680;
}
.blog-index-hero .hero-copy {
  margin: 0;
  max-width: 62ch;
  color: #546077;
  font-size: 16px;
  line-height: 1.55;
}
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}
.blog-index-grid.is-teaser {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 8px;
}
.blog-card.land-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(42,61,92,.08);
  box-shadow: 0 12px 32px rgba(42,61,92,.07);
  transition: transform var(--motion), box-shadow var(--motion);
}
.blog-card.land-card-link:hover {
  transform: none;
  box-shadow: 0 16px 40px rgba(42,61,92,.11);
}
.blog-card .land-visual { margin: 0; border-radius: 0; min-height: 0; }
.blog-card .land-visual.is-editorial.is-photo,
.blog-card .land-visual.is-editorial.is-photo img {
  aspect-ratio: 3 / 2;
  border-radius: 0;
}
.blog-card.land-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.blog-card-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px 20px 20px;
}
.blog-card-copy h2,
.blog-card-copy h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  min-height: 0;
}
.blog-card-copy > p:not(.blog-card-meta) {
  margin: 0;
  color: #546077;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
}
.blog-card-meta .section-kicker,
.blog-card-meta .land-eyebrow { margin: 0; }
.blog-card-meta time {
  color: #6b7890;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.blog-card.is-featured.land-card-link {
  grid-template-columns: minmax(280px, 1.15fr) minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 360px;
  margin-bottom: 18px;
}
.blog-card.is-featured .land-visual.is-editorial.is-photo {
  height: 100%;
  min-height: 360px;
}
.blog-card.is-featured .land-visual.is-editorial.is-photo,
.blog-card.is-featured .land-visual.is-editorial.is-photo img {
  aspect-ratio: auto;
  height: 100%;
}
.blog-card.is-featured .land-visual.is-editorial.is-photo picture,
.blog-card.is-featured .land-visual.is-editorial.is-photo img {
  height: 100%;
  object-fit: cover;
}
.blog-card.is-featured .blog-card-copy {
  padding: 32px 36px;
  align-content: center;
}
.blog-card.is-featured .blog-card-copy h2,
.blog-card.is-featured .blog-card-copy h3 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.04em;
}
.blog-card.is-featured .blog-card-copy > p:not(.blog-card-meta) {
  -webkit-line-clamp: 4;
  font-size: 16px;
}
.blog-article { width: 100%; margin: 0 auto 48px; padding: 0; }
.blog-article-head {
  width: min(760px, var(--shell));
  margin: 10px auto 0;
  padding: 20px 0 4px;
}
.blog-article-head h1 {
  font-size: clamp(38px, 5.4vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.04;
  margin: 14px 0 16px;
}
.blog-lede {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #3d4a61;
}
.blog-article-visual {
  width: min(920px, var(--shell));
  margin: 22px auto 36px;
}
.blog-article-visual .land-visual.is-editorial.is-photo,
.blog-article-visual .land-visual.is-editorial.is-photo img {
  aspect-ratio: 3 / 2;
  border-radius: 28px;
}
.blog-toc {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent-soft) 55%, #fff);
  border: 1px solid rgba(42,61,92,.08);
}
.blog-toc ol { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.blog-toc a { color: inherit; text-decoration: none; font-weight: 620; }
.blog-toc a:hover, .blog-toc a:focus-visible { color: var(--accent); }
.blog-section.is-checklist ul {
  padding: 14px 16px 14px 36px;
  border-radius: 16px;
  background: #f7f1e7;
}
.blog-related { margin: 8px 0 20px; }
.blog-related h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.03em; }
.blog-related-list { display: grid; gap: 8px; }
.blog-related-list a { font-weight: 650; color: inherit; }
.blog-article-body { width: min(720px, var(--shell)); margin: 0 auto; }
.blog-section { margin: 0 0 36px; }
.blog-section h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.03em; }
.blog-section p, .blog-section li { color: #3d4a61; font-size: 18px; line-height: 1.72; }
.blog-section p { margin: 0 0 16px; }
.blog-section ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.blog-brands-block { margin: 8px 0 28px; }
.blog-brands-block .section-kicker { margin: 0 0 10px; }
.blog-article .land-brands { margin: 0; }
.blog-sources {
  padding: 22px 24px;
  margin: 8px 0 8px;
  border-radius: 20px;
  background: #f4f6fa;
  border: 1px solid var(--line);
}
.blog-sources h2 { margin: 0 0 14px; font-size: 16px; letter-spacing: -0.02em; }
.blog-sources ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.blog-sources li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42,61,92,.08);
  color: #546077;
  font-size: 14px;
}
.blog-sources li:first-child { padding-top: 0; }
.blog-sources li:last-child { border-bottom: 0; padding-bottom: 0; }
.blog-sources time { color: #6b7890; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.blog-article-next {
  margin-top: 12px;
  padding: 24px 0 8px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.blog-article-next .section-kicker { margin: 0; }
.blog-article-next .actions { margin: 0; }
@media (max-width: 900px) {
  .blog-card.is-featured.land-card-link {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .blog-card.is-featured .land-visual.is-editorial.is-photo { min-height: 220px; }
  .blog-card.is-featured .blog-card-copy { padding: 20px 20px 22px; }
  .blog-index-grid, .blog-index-grid.is-teaser { grid-template-columns: 1fr; }
  .blog-article-head, .blog-article-visual, .blog-article-body { width: var(--shell); }
}
.consent-bar {
  position: sticky;
  bottom: 16px;
  z-index: 90;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px 18px;
  display: grid;
  gap: 14px;
  box-shadow: var(--content-shadow);
}
.consent-title { margin: 0 0 4px; font-weight: 750; letter-spacing: -0.02em; }
.consent-bar p { margin: 0; color: #546077; font-size: 14px; line-height: 1.5; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent-actions a { font-size: 13px; font-weight: 650; color: var(--accent); }
@media (max-width: 640px) {
  .consent-actions { flex-direction: column; align-items: stretch; }
  .consent-actions .hero-primary, .consent-actions .hero-secondary { text-align: center; }
}
.legal-doc {
  width: min(760px, var(--shell));
  margin: 12px auto 48px;
  padding: 8px 0 24px;
}
.legal-doc h1 { font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -0.04em; line-height: 1.1; margin: 12px 0 16px; }
.legal-doc h2 { font-size: 24px; letter-spacing: -0.03em; margin: 28px 0 12px; }
.legal-doc h3 { font-size: 18px; margin: 20px 0 10px; }
.legal-body p, .legal-doc p { font-size: 17px; line-height: 1.7; color: #3d4a61; margin: 0 0 14px; }
.legal-body li { font-size: 17px; line-height: 1.65; color: #3d4a61; }
.legal-meta { margin: 0 0 16px; color: #6b7890; font-size: 13px; font-weight: 650; }
.legal-switch { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 18px; font-size: 13px; font-weight: 700; }
.legal-toc { margin: 0 0 24px; padding: 16px 18px; border-radius: 16px; background: #f4f6fa; }
.legal-toc ol {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 6px;
  list-style: none;
}
.legal-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.legal-table-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; }
.legal-table-wrap th, .legal-table-wrap td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-print-url { display: none; }
.legal-accept .legal-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.legal-accept .hero-secondary { margin-top: 10px; }
@media print {
  .site-header, .site-footer, .consent-bar, .legal-switch, .breadcrumbs, .hero-actions, button { display: none !important; }
  .legal-print-url { display: block; margin: 0 0 16px; font-size: 12px; color: #546077; }
  .legal-doc { width: 100%; margin: 0; }
}
