:root {
  --green: #ff3f6c;
  --green-600: #e5325c;
  --green-700: #d12a58;
  --green-soft: #fff0f3;
  --sun: #ffe4ea;
  --ink: #282c3f;
  --muted: #7e818c;
  --line: #eaeaec;
  --bg: #f5f5f6;
  --card: #ffffff;
  --sidebar: #ffffff;
  --sidebar-2: #fafafa;
  --blue: #2563eb;
  --amber: #d97706;
  --red: #e11d48;
  --shadow: 0 8px 24px rgba(40, 44, 63, .06);
  --radius: 16px;
  --font: "Inter", "Segoe UI", sans-serif;
  --logo: #ff3f6c;
  --logo-stroke: #fff;
  --mark: #ff3f6c;
  --mark-bg: transparent;
  --landing-bg: #fff;
  --nav-bg: rgba(255,255,255,.94);
  --topbar: rgba(255,255,255,.92);
  --nav-active-bg: #fff0f3;
  --nav-active-ink: #ff3f6c;
  --kicker: #ff3f6c;
  --hero-copy: #535766;
  --focus-border: #ffb3c4;
  --focus-ring: 0 0 0 4px rgba(255, 63, 108, .12);
  --panel: #fff;
  --panel-border: #eaeaec;
  --foot-bg: #fff0f3;
  --foot-ink: #d12a58;
  --tile-icon-bg: #fff0f3;
  --tile-icon: #ff3f6c;
  --tile-dark-bg: #fff0f3;
  --tile-dark-ink: #d12a58;
  --tile-dark-border: #ffd6e0;
  --tile-dark-icon-bg: #fff;
  --tile-dark-icon: #ff3f6c;
  --step-num-bg: #ff3f6c;
  --step-num-ink: #fff;
  --step-sun-bg: #fff5f7;
  --step-sun-border: #ffd6e0;
  --step-sun-num-bg: #fff;
  --step-sun-num: #ff3f6c;
  --step-ink-bg: #fff;
  --step-ink-color: #282c3f;
  --step-ink-border: #eaeaec;
  --step-p: #535766;
  --step-ink-p: #535766;
  --step-ink-num-bg: #ff3f6c;
  --step-ink-num: #fff;
  --price-pop-bg: #fff5f7;
  --price-pop-border: #ffd6e0;
  --band-bg: linear-gradient(100deg, #fff, #fff1f4 70%);
  --band-ink: #282c3f;
  --band-muted: #535766;
  --band-border: #ffd6e0;
  --band-btn-bg: #ff3f6c;
  --band-btn-ink: #fff;
  --band-ghost-bg: #fff;
  --band-ghost-ink: #d12a58;
  --band-ghost-border: #ffd6e0;
  --login-bg: radial-gradient(circle at 12% 18%, rgba(255,255,255,.7), transparent 42%), linear-gradient(165deg, #fff, #ffe4ea 55%, #ffd0dc);
  --login-ink: #282c3f;
  --login-muted: #9a4a5c;
  --chip-hover: #fff0f3;
  --chip-hover-border: #ffd6e0;
  --chip-hover-ink: #d12a58;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: var(--font); color: var(--ink); }
body.app-body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 248px;
  background: #fff; color: #3d465c; display: flex; flex-direction: column; z-index: 40;
  padding: 18px 14px 14px; border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 18px; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand span b { color: var(--green); font-weight: 700; }
.logo-mark { width: 34px; height: 34px; display: inline-flex; }
.logo-mark svg { width: 34px; height: 34px; }
.logo-mark rect { fill: var(--logo); }
.logo-mark path { fill: none; stroke: var(--logo-stroke); stroke-linecap: round; stroke-linejoin: round; }
.logo-mark path:nth-of-type(1), .logo-mark path:nth-of-type(2) { stroke-width: 2.3; }
.logo-mark path:nth-of-type(3), .logo-mark path:nth-of-type(4) { stroke-width: 2.1; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px; color: #4b556b;
  padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
}
.side-nav a i { font-size: 18px; width: 20px; }
.side-nav a.active, .side-nav a:hover { background: var(--nav-active-bg); color: var(--nav-active-ink); }
.side-nav a.active { box-shadow: none; }
.side-user {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  background: var(--sidebar-2); border-radius: 14px; padding: 10px;
}
.side-user small { display: block; color: var(--muted); font-size: 12px; text-transform: capitalize; }
.avatar, .avatar-sm {
  width: 38px; height: 38px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 700; flex: 0 0 auto;
}
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.avatar.soft { background: #e8eef6; color: #334155; }
.avatar.c1 { background: #dbeafe; color: #1d4ed8; }
.avatar.c2 { background: #fce7f3; color: #be185d; }
.avatar.c3 { background: #fef3c7; color: #b45309; }
.avatar.c4 { background: #e0e7ff; color: #4338ca; }

.shell { margin-left: 248px; min-height: 100vh; }
.topbar {
  height: 74px; display: flex; align-items: center; gap: 16px;
  padding: 0 28px; position: sticky; top: 0; z-index: 30;
  background: var(--topbar); backdrop-filter: blur(10px);
}
.search {
  flex: 1; max-width: 640px; margin: 0 auto; position: relative;
}
.search input, .field input, .field select, .field textarea, .filter-input, .filter-select {
  width: 100%; border: 1px solid #e6ebf0; background: #fff; border-radius: 12px;
  padding: 12px 14px 12px 40px; outline: none; color: var(--ink); font-size: 14px;
}
.field input, .field select, .field textarea { padding-left: 14px; }
.field textarea { min-height: 90px; resize: vertical; }
.search i.bi-search, .filter-wrap > i { position: absolute; left: 14px; top: 13px; color: #94a3b8; }
.search input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus-border); box-shadow: var(--focus-ring); }
.search-pop {
  position: absolute; top: 50px; left: 0; right: 0; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow); border: 1px solid var(--line); padding: 8px; display: none; z-index: 20;
}
.search-pop a { display: block; padding: 8px 10px; border-radius: 10px; }
.search-pop a:hover { background: #f8fafc; }
.search-pop small { color: var(--muted); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; position: relative; cursor: pointer;
}
.dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; }
.who { display: flex; align-items: center; gap: 10px; }
.who b { display: block; font-size: 14px; }
.who small { color: var(--muted); }
.menu {
  position: absolute; right: 0; top: 48px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; min-width: 280px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 25;
}
.menu.open { display: block; }
.menu a, .menu .note { display: block; padding: 10px; border-radius: 10px; }
.menu a:hover, .menu .note:hover { background: #f8fafc; }
.note b { display: block; font-size: 13px; }
.note span { color: var(--muted); font-size: 12px; }
.nav-toggle { display: none; }

.content { padding: 6px 28px 40px; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.crumb a { color: var(--muted); }
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 18px; }
.page-head h1 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.page-head p, .lead { margin: 6px 0 0; color: var(--muted); }
.greet { font-size: 16px; color: var(--muted); margin: 0; }
.greet-name { font-size: 34px; margin: 0; letter-spacing: -.04em; display: flex; align-items: center; gap: 8px; }
.head-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.btn-primary { background: var(--green); color: #fff; border-color: transparent; }
.btn-primary:hover { background: var(--green-600); }
.btn-ghost { background: #fff; }
.btn-danger { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.btn-amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 7px 10px; border-radius: 10px; font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.stats.five { grid-template-columns: repeat(5, 1fr); }
.stat {
  background: var(--card); border: 1px solid #edf1f4; border-radius: var(--radius);
  padding: 16px 16px 12px; box-shadow: var(--shadow); position: relative; overflow: hidden; min-height: 132px;
}
.stat .ico {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px;
  background: var(--green-soft); color: var(--green-700);
}
.stat .ico.blue { background: #eff6ff; color: #2563eb; }
.stat .ico.amber { background: #fffbeb; color: #d97706; }
.stat .ico.red { background: #fef2f2; color: #dc2626; }
.stat .label { color: var(--muted); font-size: 13px; font-weight: 600; }
.stat .value { font-size: 28px; font-weight: 800; letter-spacing: -.04em; margin-top: 2px; }
.trend { font-size: 12px; font-weight: 700; margin-top: 4px; }
.trend.up { color: var(--green-700); }
.trend.down { color: #dc2626; }
.trend span { color: var(--muted); font-weight: 600; }
.spark { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.spark i { width: 5px; border-radius: 99px; display: block; opacity: .85; }

.grid-2 { display: grid; grid-template-columns: 1.6fr .9fr; gap: 14px; }
.grid-main { display: grid; grid-template-columns: 1fr 360px; gap: 14px; align-items: start; }
.card {
  background: #fff; border: 1px solid #edf1f4; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px 18px;
}
.card h3 { margin: 0; font-size: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.link { color: var(--green-700); font-weight: 700; font-size: 13px; }

.table-wrap { overflow: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 12px; color: #94a3b8; font-weight: 700; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px 8px; border-bottom: 1px solid #f2f5f7; vertical-align: middle; }
table.data tr.clickable { cursor: pointer; }
table.data tr.clickable:hover td { background: #f6f7fb; }
.who-cell { display: flex; align-items: center; gap: 10px; }
.who-cell b { display: block; }
.who-cell small, .muted { color: var(--muted); }
.equip-cell { display: flex; align-items: center; gap: 10px; }
.thumb {
  width: 42px; height: 42px; border-radius: 12px; background: #f3f6f8; display: grid; place-items: center;
  color: #334155; border: 1px solid #eef2f5; font-size: 18px;
}
.thumb.lg { width: 72px; height: 72px; border-radius: 18px; font-size: 28px; }

.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.pill-green { background: #dcfce7; color: #15803d; }
.pill-mint { background: #ecfdf3; color: #16a34a; }
.pill-blue { background: #dbeafe; color: #1d4ed8; }
.pill-amber { background: #fef3c7; color: #b45309; }
.pill-red { background: #fee2e2; color: #dc2626; }
.pill-gray { background: #f1f5f9; color: #475569; }
.pill-ink { background: var(--green-soft); color: var(--nav-active-ink); }

.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin: 8px 0 12px; }
.tabs a { padding: 10px 2px 12px; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; }
.tabs a.active { color: var(--ink); border-color: var(--green); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.filter-wrap { position: relative; }
.filters .filter-input { width: 240px; flex: 0 0 240px; padding-left: 36px; }
.filters .filter-select, .mini-select { width: auto; flex: 0 0 auto; min-width: 140px; padding: 10px 12px; border-radius: 12px; border: 1px solid #e6ebf0; background: #fff; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; color: var(--muted); font-size: 13px; }
.pages { display: flex; gap: 6px; align-items: center; }
.pages a, .pages span {
  min-width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; border: 1px solid transparent;
}
.pages a:hover { background: #f1f5f9; }
.pages .on { background: var(--green); color: #fff; font-weight: 700; }

.chips { display: flex; gap: 8px; overflow: auto; padding-bottom: 8px; }
.chip {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 8px 12px; font-weight: 700; white-space: nowrap; color: #334155;
}
.chip.active { background: var(--green-soft); border-color: #c7d2fe; color: var(--green-700); }

.legend { display: flex; flex-direction: column; gap: 10px; }
.legend div { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.swatch { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.donut-wrap { display: grid; grid-template-columns: 150px 1fr; gap: 8px; align-items: center; }
.center-label { text-align: center; margin-top: -8px; color: var(--muted); font-size: 12px; }

.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .35); }
.drawer-panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(420px, calc(100% - 24px));
  background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.18); overflow: auto; padding: 18px;
}
.drawer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.kv { display: grid; gap: 12px; margin: 14px 0; }
.kv .rowline { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: start; }
.kv small { color: var(--muted); display: block; }
.subtabs { display: flex; gap: 14px; border-bottom: 1px solid var(--line); margin: 8px 0 14px; }
.subtabs button { background: none; border: 0; padding: 8px 0; font-weight: 800; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; }
.subtabs button.on { color: var(--ink); border-color: var(--green); }
.stack { display: flex; flex-direction: column; gap: 8px; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini { border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.mini b { display: block; font-size: 16px; }

.modal-content { border-radius: 18px; border: 0; }
.modal-header { border-bottom: 0; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote-box { background: var(--green-soft); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 12px; }

.toast {
  position: fixed; right: 20px; bottom: 20px; background: #0f172a; color: #fff;
  padding: 12px 16px; border-radius: 14px; z-index: 80; box-shadow: var(--shadow); max-width: 360px;
}
.toast.error { background: #9f1239; }
.bulk {
  position: sticky; bottom: 12px; display: none; background: #0f172a; color: #fff;
  border-radius: 16px; padding: 10px 12px; align-items: center; justify-content: space-between; gap: 10px;
}
.bulk.show { display: flex; }
.maint-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f2f5f7; }
.bar { height: 8px; background: #eef2f6; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green); border-radius: 99px; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .dow { color: var(--muted); font-size: 12px; font-weight: 800; padding: 6px; }
.day { min-height: 110px; background: #fff; border: 1px solid #edf1f4; border-radius: 12px; padding: 6px; }
.day strong { font-size: 12px; }
.day .ev { display: block; font-size: 11px; background: var(--green-soft); color: var(--green-700); border-radius: 6px; padding: 2px 4px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day .ev.job { background: #fff7ed; color: #c2410c; }
.day.out { background: transparent; border-color: transparent; }

.inv-grid { display: none; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.inv-card { background: #fff; border: 1px solid #edf1f4; border-radius: 16px; padding: 14px; cursor: pointer; }
.invoice-sheet { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 28px; }
.invoice-sheet table { width: 100%; border-collapse: collapse; }
.invoice-sheet td, .invoice-sheet th { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; }

.settings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 16px; }
.set-nav a { display: flex; gap: 10px; padding: 12px; border-radius: 12px; margin-bottom: 4px; }
.set-nav a small { display: block; color: var(--muted); font-weight: 500; }
.set-nav a.active { background: var(--green-soft); color: var(--green-700); }
.switch { display: flex; align-items: center; gap: 8px; }

.help-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
details.faq { background: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid #edf1f4; }
details.faq summary { cursor: pointer; font-weight: 800; }

.feature-grid, .price-grid, .steps { display: grid; gap: 14px; }
.feature-grid, .price-grid, .steps { grid-template-columns: repeat(3, 1fr); }
.feature, .price, .step {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px;
}
.price { display: flex; flex-direction: column; align-items: flex-start; text-align: left; height: 100%; }
.price.pop { background: var(--price-pop-bg); border-color: var(--price-pop-border); }
.price .amt { font-size: 32px; font-weight: 800; letter-spacing: -.04em; }
.price p { margin: 0 0 18px; }
.price .btn { margin-top: auto; }

.landing { background: var(--landing-bg); color: var(--ink); }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.lnav {
  position: sticky; top: 0; background: var(--nav-bg); backdrop-filter: blur(14px); z-index: 10; border-bottom: 1px solid var(--line);
}
.lnav-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.lnav .brand, .footer .brand { padding: 0; }
.lnav nav, .footer nav { display: flex; align-items: center; gap: 22px; font-weight: 600; }
.lnav nav a, .footer nav a { color: #3d382f; }
.lnav nav a:hover, .footer nav a:hover { color: var(--green); }
.lnav-actions { justify-self: end; display: flex; gap: 10px; align-items: center; }
.lnav-actions .quiet { font-weight: 600; padding: 8px 2px; }
.lnav .btn { border-radius: 999px; }
.kicker { color: var(--kicker); font-weight: 700; letter-spacing: .14em; font-size: 12px; margin: 0 0 8px; }
.section { padding: 48px 0 0; }
.section h2 { font-size: 42px; letter-spacing: -.045em; margin: 0 0 18px; line-height: 1.08; }
.home-hero { padding: 36px 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 36px; align-items: stretch; }
.home-note { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin: 0 0 18px; }
.home-note i { width: 22px; height: 22px; border-radius: 50%; background: #e7f8ee; color: #15803d; display: grid; place-items: center; font-size: 14px; }
.home-hero h1 { font-size: 60px; line-height: 1.02; letter-spacing: -.05em; margin: 0 0 16px; }
.home-hero h1 mark { background: var(--mark-bg); color: var(--mark); padding: 0 .12em; border-radius: 8px; }
.hero-copy { color: var(--hero-copy); font-size: 17px; line-height: 1.6; margin: 0 0 20px; }
.finder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr) auto; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 8px; box-shadow: var(--shadow); }
.finder label { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; min-height: 58px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9496a1; padding: 4px 12px; }
.finder-hint { margin: 10px 2px 0; color: var(--muted); font-size: 13px; }
.finder label + label { border-left: 1px solid var(--line); }
.finder input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; letter-spacing: 0; text-transform: none; }
.finder .btn { height: 48px; border-radius: 14px; margin: 0 4px; white-space: nowrap; }
.popular { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: 14px; }
.popular a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 600; color: var(--ink); }
.popular a:hover { background: var(--chip-hover); border-color: var(--chip-hover-border); color: var(--chip-hover-ink); }
.avail-card { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--panel-border); border-radius: 24px; padding: 16px; box-shadow: var(--shadow); }
.avail-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; }
.avail-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tile-icon-bg); color: var(--tile-icon); display: grid; place-items: center; font-size: 18px; flex: none; }
.avail-row div { min-width: 0; }
.avail-row b, .avail-row small { display: block; }
.avail-row small { color: var(--muted); }
.avail-row .pill { margin-left: auto; flex: none; }
.avail-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; background: var(--foot-bg); color: var(--foot-ink); border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 14px; line-height: 1.35; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-tile {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 16px 18px; font-weight: 700; min-height: 72px;
}
.cat-tile i { width: 36px; height: 36px; border-radius: 12px; background: var(--tile-icon-bg); color: var(--tile-icon); display: grid; place-items: center; font-size: 18px; }
.cat-tile:hover { border-color: var(--focus-border); }
.cat-tile.dark { background: var(--tile-dark-bg); color: var(--tile-dark-ink); border-color: var(--tile-dark-border); }
.cat-tile.dark i { background: var(--tile-dark-icon-bg); color: var(--tile-dark-icon); }
.step { display: flex; flex-direction: column; align-items: flex-start; min-height: 210px; height: 100%; }
.step.sun { background: var(--step-sun-bg); border-color: var(--step-sun-border); }
.step.ink { background: var(--step-ink-bg); color: var(--step-ink-color); border-color: var(--step-ink-border); }
.step .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--step-num-bg); color: var(--step-num-ink); margin-bottom: 16px; }
.step.sun .num { background: var(--step-sun-num-bg); color: var(--step-sun-num); }
.step.ink .num { background: var(--step-ink-num-bg); color: var(--step-ink-num); }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--step-p); }
.step.ink p { color: var(--step-ink-p); }
.why { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 36px; align-items: start; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-cards article { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; height: 100%; }
.why-cards i { width: 36px; height: 36px; border-radius: 12px; background: var(--tile-icon-bg); color: var(--tile-icon); display: grid; place-items: center; margin-bottom: 10px; }
.why-cards h3 { margin: 0 0 6px; }
.why-cards p { margin: 0; }
.band-slot { padding: 48px 0 0; }
.band {
  background: var(--band-bg); color: var(--band-ink); border: 1px solid var(--band-border); border-radius: 24px; padding: 32px 36px;
  display: flex; justify-content: space-between; gap: 32px; align-items: center;
}
.band h2 { color: var(--band-ink); margin: 0 0 10px; }
.band h2 mark { background: var(--mark-bg); color: var(--mark); padding: 0 .12em; border-radius: 8px; }
.band p { color: var(--band-muted); margin: 0; max-width: 520px; }
.band-actions { display: flex; gap: 10px; align-items: center; flex: none; }
.band .btn { border-radius: 999px; background: var(--band-btn-bg); color: var(--band-btn-ink); border-color: transparent; }
.band .btn.ghost { background: var(--band-ghost-bg); color: var(--band-ghost-ink); border-color: var(--band-ghost-border); }
.footer { padding: 28px 0 40px; color: #6b6458; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.quote-people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 0; height: 100%; }
.nav-count { margin-left: auto; background: #f59e0b; color: #422006; border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; }
.portal-body, .portal-login { font-family: var(--font); color: var(--ink); }
.portal-body { background: var(--bg); }
.portal-bar { display: flex; align-items: center; gap: 22px; padding: 14px 28px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.portal-bar .brand { color: var(--ink); padding: 0; }
.portal-nav { display: flex; gap: 8px; }
.portal-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; color: #4b556b; }
.portal-nav a.active, .portal-nav a:hover { background: var(--green-soft); color: var(--green-700); }
.portal-pop { position: relative; margin-left: auto; }
.portal-user { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px 6px 6px; cursor: pointer; color: inherit; text-align: left; }
.portal-user small { display: block; color: var(--muted); font-size: 12px; }
.portal-user i { color: var(--green-700); }
.portal-menu { display: none; position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; z-index: 40; }
.portal-menu.open { display: block; }
.portal-menu .menu-link { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px; font-weight: 600; color: #3d465c; }
.portal-menu .menu-link.active, .portal-menu .menu-link:hover { background: var(--green-soft); color: var(--green-700); }
.profile-card { max-width: 720px; }
.profile-card h2 { margin: 8px 0 0; font-size: 20px; }
.tx-range { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.tx-range .field { margin: 0; min-width: 170px; }
.tx-range .field input { max-width: 190px; }
.tx-note { margin: 0 0 10px; }
.portal-body .dataTables_wrapper { color: var(--ink); }
.portal-body .dataTables_wrapper .dataTables_length,
.portal-body .dataTables_wrapper .dataTables_filter,
.portal-body .dataTables_wrapper .dataTables_info,
.portal-body .dataTables_wrapper .dataTables_paginate { margin-bottom: 10px; }
.portal-body .dataTables_wrapper .dataTables_filter input,
.portal-body .dataTables_wrapper .dataTables_length select {
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: #fff; margin-left: 6px;
}
.portal-body table.data.dataTable { border-collapse: collapse !important; }
.portal-body .dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: 10px !important; }
.portal-body .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.portal-body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--green) !important; border-color: transparent !important; color: #fff !important;
}
.tx-amt { text-align: right; font-weight: 800; }
.portal-tabs { display: flex; gap: 4px; background: var(--bg); border-radius: 14px; padding: 4px; margin-bottom: 12px; }
.portal-tabs button { flex: 1; border: 0; background: transparent; border-radius: 12px; padding: 8px 4px; font-weight: 700; font-size: 12px; cursor: pointer; color: #4b556b; font-family: inherit; }
.portal-tabs button.active { background: #fff; color: var(--green-700); }
.profile-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px; border-bottom: 1px solid #f2f5f7; font-size: 13px; }
.profile-line span { color: var(--muted); }
.profile-line b { text-align: right; font-weight: 700; }
.tx-list { max-height: 280px; overflow: auto; }
.tx-item { padding: 8px 2px; border-bottom: 1px solid #f2f5f7; font-size: 13px; }
.tx-item b, .tx-item span { display: block; }
.tx-item span { color: var(--muted); }
.portal-out { display: block; text-align: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid #f2f5f7; font-weight: 700; color: #64748b; }
.portal-main { padding: 28px; max-width: 1240px; margin: 0 auto; }
.portal-body .page-head h1, .portal-body h1, .portal-body h2 { letter-spacing: -.03em; }
.portal-body .card, .portal-body .invoice-sheet, .portal-body .pay-card, .portal-body .wait-card { background: #fff; border-color: var(--line); }
.portal-body .btn { border-radius: 12px; }
.yard { display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: start; }
.yard-side { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.yard-label { margin: 4px 10px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.yard-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 600; color: #4b556b; }
.yard-link i { width: 18px; color: var(--green); flex: none; }
.yard-name { flex: 1; min-width: 0; }
.yard-count { margin-left: auto; flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--green-soft); color: var(--green-700); display: inline-grid; place-items: center; font-size: 12px; }
.yard-link.active .yard-count { background: #fff; }
.yard-link.active, .yard-link:hover { background: var(--green-soft); color: var(--green-700); }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gear-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; color: inherit; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.gear-card:hover { transform: translateY(-2px); border-color: var(--focus-border); }
.gear-card h3 { margin: 0; font-size: 16px; }
.gear-card b span { font-weight: 600; color: var(--muted); font-size: 13px; }
.portal-body .thumb { background: var(--green-soft); color: var(--ink); border-color: #f3e6b8; }
.item-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: start; }
.wait-card { max-width: 560px; margin: 48px auto; background: #fff; border-radius: 24px; padding: 32px; text-align: center; box-shadow: var(--shadow); }
.wait-card h1 { margin: 12px 0 8px; }
.quote-box { background: var(--green-soft); border-radius: 14px; padding: 12px 14px; margin: 8px 0 14px; }
.checkline { display: flex; gap: 8px; align-items: center; margin: 8px 0 12px; font-weight: 600; }
.login-panel { overflow: auto; }
.table-scroll { overflow-x: auto; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pay-wrap { max-width: 520px; margin: 12px auto 40px; }
.pay-card { background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow); margin-top: 12px; }
.pay-card h1 { margin: 8px 0 4px; font-size: 28px; letter-spacing: -.04em; }
.pay-banner { background: #fffbeb; color: #92400e; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.pay-amount { font-size: 36px; font-weight: 800; letter-spacing: -.04em; margin: 12px 0 0; }
.pay-methods { display: flex; gap: 8px; margin: 16px 0; }
.pay-methods label { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 700; cursor: pointer; }
.pay-methods label:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.pay-pane { display: none; }
.pay-pane.show { display: block; }

.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--bg); }
.login-art { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; background: var(--login-bg); color: var(--login-ink); }
.login-art .brand, .login-art h1 { color: var(--login-ink); }
.login-art h1 { font-size: 48px; letter-spacing: -.04em; }
.login-art .kicker, .login-art .muted { color: var(--login-muted); }
.login-panel { display: grid; place-items: center; padding: 32px; }
.login-card { width: min(440px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.demo { background: var(--green-soft); border-radius: 14px; padding: 12px; font-size: 13px; margin-bottom: 14px; }

@media (max-width: 1200px) {
  .stats, .stats.five, .grid-2, .grid-main, .settings-layout, .help-grid, .hero, .feature-grid, .price-grid, .steps, .hero-grid, .why, .login-wrap, .item-layout { grid-template-columns: 1fr; }
  .cat-grid, .why-cards { grid-template-columns: 1fr 1fr; }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder label:nth-child(odd) { border-left: 0; }
  .band { flex-direction: column; align-items: flex-start; }
  .portal-bar { flex-wrap: wrap; }
  .yard { grid-template-columns: 200px 1fr; }
  .login-card .form-row { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: repeat(4, 1fr); }
  .login-art { display: none; }
}
@media (max-width: 980px) {
  .sidebar { transform: translateX(-105%); transition: .2s ease; }
  .sidebar.open { transform: none; }
  .shell { margin-left: 0; }
  .nav-toggle { display: grid; }
  .content, .topbar { padding-left: 16px; padding-right: 16px; }
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .lnav-inner, .footer-inner { display: flex; flex-wrap: wrap; }
  .lnav nav { order: 3; width: 100%; overflow: auto; gap: 16px; }
  .page-head h1, .greet-name, .hero h1, .home-hero h1, .section h2 { font-size: 34px; }
  .who small, .who b { display: none; }
}
@media (max-width: 720px) {
  .portal-main { padding: 16px; }
  .yard { grid-template-columns: 156px 1fr; gap: 10px; }
  .yard-link { font-size: 12px; padding: 8px; gap: 6px; }
  .gear-grid, .cat-grid, .why-cards, .finder, .quote-people, .steps, .price-grid { grid-template-columns: 1fr; }
  .finder label, .finder label + label { border-left: 0; }
  .finder .btn { width: calc(100% - 8px); justify-content: center; margin: 4px; }
}
[data-theme="sun"] {
  --green: #171717; --green-600: #000; --green-700: #171717; --green-soft: #fff4c4; --sun: #f5c400;
  --ink: #161616; --muted: #6b6458; --line: #eadfca; --bg: #f7f3ea; --sidebar-2: #f3ecdd;
  --shadow: 0 16px 40px rgba(40, 28, 8, .08); --font: "Outfit", "Segoe UI", sans-serif;
  --logo: #f5c400; --logo-stroke: #161616; --mark: #161616; --mark-bg: #f5c400;
  --landing-bg: #f7f3ea; --nav-bg: rgba(247,243,234,.94); --topbar: rgba(247,243,234,.92);
  --nav-active-bg: #f5c400; --nav-active-ink: #161616; --kicker: #8a7040; --hero-copy: #4d463c;
  --focus-border: #e6b000; --focus-ring: 0 0 0 4px rgba(245, 196, 0, .28);
  --panel: #f5c400; --panel-border: transparent; --foot-bg: #171717; --foot-ink: #fff;
  --tile-icon-bg: #fff6cc; --tile-icon: #161616;
  --tile-dark-bg: #171717; --tile-dark-ink: #fff; --tile-dark-border: #171717;
  --tile-dark-icon-bg: #2a2a2a; --tile-dark-icon: #f5c400;
  --step-num-bg: #fff; --step-num-ink: #171717;
  --step-sun-bg: #f5c400; --step-sun-border: transparent; --step-sun-num-bg: #fff; --step-sun-num: #171717;
  --step-ink-bg: #171717; --step-ink-color: #f7f3ea; --step-ink-border: #171717;
  --step-p: #4d463c; --step-ink-p: #f3ead6; --step-ink-num-bg: #f5c400; --step-ink-num: #171717;
  --price-pop-bg: #f5c400; --price-pop-border: transparent;
  --band-bg: #171717; --band-ink: #fff; --band-muted: #e7dcc4; --band-border: transparent;
  --band-btn-bg: #f5c400; --band-btn-ink: #171717;
  --band-ghost-bg: transparent; --band-ghost-ink: #fff; --band-ghost-border: #5c5346;
  --login-bg: radial-gradient(circle at 12% 16%, rgba(255,255,255,.45), transparent 36%), linear-gradient(165deg, #ffe56a, #f5c400 58%, #e6b000);
  --login-ink: #161616; --login-muted: #4a3b00;
  --chip-hover: #f5c400; --chip-hover-border: transparent; --chip-hover-ink: #161616;
}
[data-theme="indigo"] {
  --green: #4f46e5; --green-600: #4338ca; --green-700: #3730a3; --green-soft: #eef0ff; --sun: #eef0ff;
  --ink: #1c2230; --muted: #667085; --line: #e4e7f0; --bg: #f2f4fa; --sidebar-2: #f6f7fb;
  --shadow: 0 12px 32px rgba(28, 34, 48, .06); --font: "Outfit", "Segoe UI", sans-serif;
  --logo: #4f46e5; --logo-stroke: #fff; --mark: #4f46e5; --mark-bg: transparent;
  --landing-bg: #f7f8fc; --nav-bg: rgba(255,255,255,.94); --topbar: rgba(242,244,250,.92);
  --nav-active-bg: #eef0ff; --nav-active-ink: #3730a3; --kicker: #4338ca; --hero-copy: #475569;
  --focus-border: #a5b4fc; --focus-ring: 0 0 0 4px rgba(79, 70, 229, .14);
  --panel: #fff; --panel-border: #e4e7f0; --foot-bg: #eef0ff; --foot-ink: #3730a3;
  --tile-icon-bg: #eef0ff; --tile-icon: #4f46e5;
  --tile-dark-bg: #312e81; --tile-dark-ink: #fff; --tile-dark-border: #312e81;
  --tile-dark-icon-bg: #4338ca; --tile-dark-icon: #e0e7ff;
  --step-num-bg: #4f46e5; --step-num-ink: #fff;
  --step-sun-bg: #eef0ff; --step-sun-border: #c7d2fe; --step-sun-num-bg: #fff; --step-sun-num: #4f46e5;
  --step-ink-bg: #1e1b4b; --step-ink-color: #eef2ff; --step-ink-border: #1e1b4b;
  --step-p: #475569; --step-ink-p: #c7d2fe; --step-ink-num-bg: #818cf8; --step-ink-num: #1e1b4b;
  --price-pop-bg: #eef0ff; --price-pop-border: #c7d2fe;
  --band-bg: linear-gradient(100deg, #312e81, #1e1b4b); --band-ink: #fff; --band-muted: #c7d2fe; --band-border: transparent;
  --band-btn-bg: #fff; --band-btn-ink: #312e81;
  --band-ghost-bg: transparent; --band-ghost-ink: #fff; --band-ghost-border: #818cf8;
  --login-bg: radial-gradient(circle at 12% 16%, rgba(129,140,248,.45), transparent 42%), linear-gradient(165deg, #312e81, #1e1b4b 58%, #0f172a);
  --login-ink: #fff; --login-muted: #c7d2fe;
  --chip-hover: #eef0ff; --chip-hover-border: #c7d2fe; --chip-hover-ink: #3730a3;
}
[data-theme="cedar"] {
  --green: #c4622d; --green-600: #a84e22; --green-700: #8a3f1b; --green-soft: #f8efe6; --sun: #f3e6d4;
  --ink: #14241c; --muted: #5e6b64; --line: #e3e8e4; --bg: #f3f6f4; --sidebar-2: #eef3f0;
  --shadow: 0 16px 40px rgba(20, 36, 28, .08); --font: "Manrope", "Segoe UI", sans-serif;
  --logo: #c4622d; --logo-stroke: #fff; --mark: #c4622d; --mark-bg: transparent;
  --landing-bg: #f3f6f4; --nav-bg: rgba(243,246,244,.94); --topbar: rgba(243,246,244,.92);
  --nav-active-bg: #f8efe6; --nav-active-ink: #8a3f1b; --kicker: #a84e22; --hero-copy: #3e5248;
  --focus-border: #e7b08a; --focus-ring: 0 0 0 4px rgba(196, 98, 45, .16);
  --panel: #fff; --panel-border: #e3e8e4; --foot-bg: #12362c; --foot-ink: #f6efe6;
  --tile-icon-bg: #f8efe6; --tile-icon: #c4622d;
  --tile-dark-bg: #12362c; --tile-dark-ink: #f6efe6; --tile-dark-border: #12362c;
  --tile-dark-icon-bg: #1c4a3d; --tile-dark-icon: #f3c7a4;
  --step-num-bg: #c4622d; --step-num-ink: #fff;
  --step-sun-bg: #f8efe6; --step-sun-border: #f0d7c4; --step-sun-num-bg: #fff; --step-sun-num: #c4622d;
  --step-ink-bg: #12362c; --step-ink-color: #f6efe6; --step-ink-border: #12362c;
  --step-p: #3e5248; --step-ink-p: #d7e4dc; --step-ink-num-bg: #f3c7a4; --step-ink-num: #12362c;
  --price-pop-bg: #f8efe6; --price-pop-border: #f0d7c4;
  --band-bg: #12362c; --band-ink: #f6efe6; --band-muted: #d7e4dc; --band-border: transparent;
  --band-btn-bg: #c4622d; --band-btn-ink: #fff;
  --band-ghost-bg: transparent; --band-ghost-ink: #f6efe6; --band-ghost-border: #3d6558;
  --login-bg: radial-gradient(circle at 18% 20%, rgba(243,199,164,.28), transparent 36%), linear-gradient(165deg, #1c4a3d, #12362c 58%, #0c241e);
  --login-ink: #f6efe6; --login-muted: #d7e4dc;
  --chip-hover: #f8efe6; --chip-hover-border: #f0d7c4; --chip-hover-ink: #8a3f1b;
}
.landing.cedar { background: #f3f6f4; padding-bottom: 72px; }
.landing.cedar h1, .landing.cedar h2, .landing.cedar h3 { letter-spacing: -.04em; }
.landing.cedar .section h2 { font-size: 40px; margin-bottom: 8px; }
.cd-lead { margin: 0 0 22px; color: #5e6b64; font-size: 16px; }
.cd-nav { position: relative; z-index: 20; padding: 14px 16px 0; }
.cd-pill {
  width: min(1120px, 100%); margin: 0 auto; min-height: 64px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  background: #16352b; color: #f6efe6; border-radius: 999px; padding: 8px 8px 8px 18px;
  box-shadow: 0 12px 30px rgba(18, 36, 28, .18);
}
.cd-pill .brand { color: #f6efe6; padding: 0; font-size: 18px; }
.cd-pill .logo-mark rect { fill: #f3c7a4; }
.cd-pill .logo-mark path { stroke: #16352b; }
.cd-pill nav { display: flex; justify-content: center; gap: 22px; font-weight: 600; font-size: 14.5px; }
.cd-pill nav a { color: #e7f0ea; }
.cd-pill nav a:hover { color: #fff; }
.cd-nav-end { display: flex; align-items: center; gap: 8px; }
.cd-quiet { color: #e7f0ea; font-weight: 600; padding: 8px 10px; }
.cd-pill .btn { border-radius: 999px; }
.cd-hero { padding: 18px 16px 8px; }
.cd-hero-card {
  width: min(1120px, 100%); margin: 0 auto; border-radius: 32px; min-height: 520px;
  padding: 72px 48px 40px; text-align: center; color: #f6efe6;
  background:
    radial-gradient(circle at 78% 18%, rgba(243,199,164,.35), transparent 28%),
    radial-gradient(circle at 12% 80%, rgba(46,110,90,.55), transparent 32%),
    linear-gradient(160deg, #245445 0%, #16352b 48%, #0e241c 100%);
  box-shadow: 0 24px 50px rgba(18, 36, 28, .16);
}
.cd-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px;
}
.cd-hero-card h1 { margin: 18px 0 12px; font-size: 72px; line-height: .98; color: #fff; }
.cd-hero-card p { max-width: 560px; margin: 0 auto 22px; color: #d7e4dc; font-size: 17px; line-height: 1.55; }
.cd-cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cd-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.cd-ghost:hover { background: rgba(255,255,255,.08); }
.cd-finder {
  margin: 28px auto 0; max-width: 860px; display: grid;
  grid-template-columns: 1.4fr .8fr .8fr auto; align-items: center;
  background: #fff; color: #14241c; border-radius: 18px; padding: 8px; text-align: left;
}
.cd-finder label { display: flex; flex-direction: column; gap: 2px; padding: 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7b8882; }
.cd-finder label + label { border-left: 1px solid #e3e8e4; }
.cd-finder input { border: 0; outline: none; background: transparent; font: 600 15px/1.3 Manrope, sans-serif; color: #14241c; text-transform: none; letter-spacing: 0; width: 100%; }
.cd-finder .btn { border-radius: 14px; height: 48px; }
.cd-hint { margin: 12px 0 0; color: #c9ddd4; font-size: 13px; }
.cd-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; padding-top: 8px; }
.cd-trust article { display: flex; gap: 12px; align-items: flex-start; padding: 22px 16px; }
.cd-trust article + article { border-left: 1px solid #e3e8e4; }
.cd-trust i { width: 40px; height: 40px; border-radius: 14px; background: #f8efe6; color: #c4622d; display: grid; place-items: center; font-size: 18px; flex: none; }
.cd-trust b, .cd-trust span { display: block; }
.cd-trust b { font-size: 15px; }
.cd-trust span { color: #5e6b64; font-size: 13px; line-height: 1.4; margin-top: 2px; }
.cd-cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cd-cats a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 700; font-size: 13px; color: #14241c; }
.cd-cats span { width: 100%; aspect-ratio: 1; border-radius: 18px; background: #fff; border: 1px solid #e3e8e4; display: grid; place-items: center; font-size: 26px; color: #c4622d; box-shadow: 0 8px 20px rgba(20,36,28,.04); }
.cd-cats a:hover span { border-color: #e7b08a; }
.cd-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cd-card { background: #fff; border: 1px solid #e3e8e4; border-radius: 20px; overflow: hidden; color: inherit; box-shadow: 0 10px 24px rgba(20,36,28,.05); }
.cd-card:hover { transform: translateY(-2px); }
.cd-photo { height: 150px; background: linear-gradient(160deg, #e7f0ea, #f8efe6); display: grid; place-items: center; position: relative; color: #12362c; font-size: 42px; }
.cd-example { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #5e6b64; }
.cd-card-body { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 14px; }
.cd-card-body b { font-size: 14px; line-height: 1.35; }
.cd-card-body span { font-weight: 800; white-space: nowrap; }
.cd-card-body small { font-weight: 600; color: #5e6b64; }
.cd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cd-steps article { display: flex; flex-direction: column; }
.cd-steps small { color: #a84e22; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 12px 0 6px; }
.cd-steps h3 { margin: 0 0 6px; }
.cd-steps p { margin: 0; color: #5e6b64; }
.cd-step-art { border-radius: 22px; min-height: 210px; display: grid; place-items: center; font-size: 54px; }
.cd-step-art.plain { background: #e7f0ea; color: #12362c; }
.cd-step-art.warm { background: #f6e7d4; }
.cd-chat { display: flex; flex-direction: column; gap: 8px; width: min(240px, 86%); font-size: 13px; font-weight: 700; }
.cd-chat span { background: #fff; color: #14241c; border-radius: 14px; padding: 8px 10px; align-self: flex-start; }
.cd-chat span.me { background: #12362c; color: #f6efe6; align-self: flex-end; }
.landing.cedar .price .amt span { font-size: 16px; font-weight: 600; }
.landing.cedar .price-grid { grid-template-columns: repeat(3, 1fr); }
.cd-assure { background: #eef3f0; border-radius: 28px; padding: 36px; }
.cd-assure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cd-assure-grid article { background: #fff; border-radius: 18px; padding: 16px; border: 1px solid #e3e8e4; }
.cd-assure-grid article div { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: #c4622d; }
.cd-assure-grid em { font-style: normal; font-weight: 800; color: #9aafa6; }
.cd-assure-grid i { width: 36px; height: 36px; border-radius: 12px; background: #f8efe6; display: grid; place-items: center; }
.cd-assure-grid h3 { margin: 0 0 6px; font-size: 16px; }
.cd-assure-grid p { margin: 0; color: #5e6b64; font-size: 14px; }
.cd-band-wrap { padding: 48px 0 0; }
.cd-band { background: #12362c; color: #f6efe6; border-radius: 28px; padding: 48px 40px; }
.cd-band h2 { margin: 0 0 10px; font-size: 40px; color: #fff; max-width: 640px; }
.cd-band p { margin: 0 0 18px; color: #d7e4dc; max-width: 560px; }
.cd-band .cd-cta { justify-content: flex-start; }
.landing.cedar .footer { color: #5e6b64; }
.landing.cedar .footer nav a { color: #3e5248; }
@media (max-width: 1100px) {
  .cd-cats { grid-template-columns: repeat(4, 1fr); }
  .cd-cards, .cd-trust, .cd-assure-grid { grid-template-columns: 1fr 1fr; }
  .cd-trust article:nth-child(3) { border-left: 0; }
  .cd-hero-card h1 { font-size: 52px; }
}
@media (max-width: 780px) {
  .cd-pill { border-radius: 22px; grid-template-columns: 1fr auto; padding: 12px; }
  .cd-pill nav { display: none; }
  .cd-hero-card { padding: 48px 20px 28px; min-height: 0; }
  .cd-hero-card h1 { font-size: 42px; }
  .cd-finder, .cd-steps, .cd-cards, .cd-trust, .cd-assure-grid, .cd-cats, .landing.cedar .price-grid { grid-template-columns: 1fr; }
  .cd-finder label + label, .cd-trust article + article { border-left: 0; }
  .cd-band h2, .landing.cedar .section h2 { font-size: 32px; }
  .cd-assure { padding: 20px; }
}
.theme-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 80;
  display: flex; align-items: center; gap: 6px; background: #fff; color: #282c3f;
  border: 1px solid #e6e6ea; border-radius: 999px; padding: 6px 8px 6px 14px;
  box-shadow: 0 10px 30px rgba(40, 44, 63, .12); font-family: Inter, "Segoe UI", sans-serif; font-size: 13px; font-weight: 600;
}
.theme-bar span { color: #7e818c; margin-right: 4px; }
.theme-bar a { padding: 6px 12px; border-radius: 999px; color: #282c3f; }
.theme-bar a.on { background: #282c3f; color: #fff; }

@media print {
  .sidebar, .topbar, .portal-bar, .portal-menu, .no-print { display: none !important; }
  .shell { margin: 0; }
  .portal-main { padding: 0; max-width: none; }
  .invoice-sheet { box-shadow: none; }
}
