/*
 * The lease pages' styles (market, offers, calculator, guides, brokers, ...).
 * Ported from the lease site's globals.css. Every selector is under `.lease`,
 * which app/(lease)/layout.tsx wraps around the page content, so none of this
 * can touch Marque's header, footer or magazine pages.
 *
 * Colours come from marque.css (--bg, --surface, --surface-2, --border, --text,
 * --text-dim, --accent, --accent-soft, --good*, --warn*), so the tools sit in
 * Marque's warm palette in light and dark mode. Only the extras are defined here.
 */
.lease {
  --radius: 6px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.lease * {
  box-sizing: border-box;
}
.lease .wrap {
  max-width: 1080px; margin: 0 auto; padding: 1.5rem 1rem 5rem;
}
.lease header.masthead {
  padding: 2rem 0 1.5rem;
}
.lease header.masthead h1 {
  margin: 0 0 .4rem;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.lease header.masthead p {
  margin: 0; color: var(--text-dim); max-width: 60ch; font-size: .95rem;
}
.lease .layout {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .lease .layout {
    grid-template-columns: 1fr 400px; align-items: start;
  }
  .lease .results {
    position: sticky; top: 1.25rem;
  }
}
.lease .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.25rem;
}
.lease .card + .card {
  margin-top: 1rem;
}
.lease .card > h2 {
  margin: 0 0 .9rem;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-dim);
  font-weight: 600;
}
.lease .grid2 {
  display: grid; gap: .75rem; grid-template-columns: 1fr 1fr;
}
@media (max-width: 460px) {
  .lease .grid2 {
    grid-template-columns: 1fr;
  }
}
.lease .field {
  display: flex; flex-direction: column; gap: .3rem; min-width: 0;
}
.lease .field label {
  font-size: .8rem; color: var(--text-dim); font-weight: 500;
}
.lease .field .hint {
  font-size: .7rem; color: var(--text-dim); opacity: .8;
}
.lease input,
.lease select {
  font: inherit;
  font-size: .95rem;
  padding: .5rem .6rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--text);
  width: 100%;
  min-width: 0;
}
.lease input:focus,
.lease select:focus {
  outline: 2px solid var(--accent); outline-offset: -1px;
}
.lease input[type="range"] {
  padding: 0; background: none;
}
/* ---- Results ---- */
.lease .hero {
  background: var(--good-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
}
.lease .hero .label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--text-dim); font-weight: 600; display: flex; align-items: center; gap: .35rem;
}
.lease .hero .big {
  font-size: 2.5rem; font-weight: 650; letter-spacing: -0.03em;
  margin: .15rem 0 .1rem; font-variant-numeric: tabular-nums;
}
.lease .hero .sub {
  font-size: .82rem; color: var(--text-dim);
}
.lease .rows {
  margin-top: .3rem;
}
.lease .row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .42rem 0; border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.lease .row:last-child {
  border-bottom: none;
}
.lease .row .k {
  color: var(--text-dim);
}
.lease .row .v {
  font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap;
}
.lease .row.total {
  font-weight: 650; border-top: 2px solid var(--border); margin-top: .2rem; padding-top: .55rem;
}
.lease .row.indent .k {
  padding-left: .85rem; font-size: .83rem; opacity: .85;
}
.lease .badge {
  display: inline-block; font-size: .68rem; font-weight: 600;
  padding: .12rem .45rem; border-radius: 20px;
  background: var(--good-soft); color: var(--good);
  border: 1px solid var(--border); letter-spacing: .02em;
}
.lease .notice {
  background: var(--warn-soft); border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  border-radius: 7px; padding: .6rem .7rem; font-size: .8rem;
  color: var(--text); margin-top: .5rem;
}
.lease .notice strong {
  color: var(--warn);
}
.lease .notice ul {
  margin: .35rem 0 0; padding-left: 1.1rem;
}
.lease .notice li {
  margin: .2rem 0;
}
.lease .regime-note {
  font-size: .8rem; color: var(--text-dim);
  background: var(--surface-2); border-radius: 7px;
  padding: .55rem .7rem; margin-top: .6rem; line-height: 1.45;
}
.lease .toolbar {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .9rem;
}
.lease button.link {
  font: inherit; font-size: .82rem; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); border-radius: 7px; padding: .4rem .7rem;
}
.lease button.link:hover {
  border-color: var(--accent); color: var(--accent);
}
.lease footer.foot {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--text-dim); line-height: 1.6;
}
.lease footer.foot a {
  color: var(--accent);
}
/* ---- Content pages ---- */
.lease .crumb {
  font-size: .82rem; color: var(--text-dim); margin: 0 0 .8rem;
}
.lease .crumb a {
  color: var(--accent); text-decoration: none;
}
.lease .crumb a:hover {
  text-decoration: underline;
}
.lease .lede {
  font-size: .93rem; line-height: 1.65; color: var(--text); margin: 0 0 .8rem;
}
.lease .lede:last-child {
  margin-bottom: 0;
}
.lease .card > h2 + .lede {
  margin-top: -.2rem;
}
.lease .lede a {
  color: var(--accent);
}
.lease .tablewrap {
  overflow-x: auto; margin: .3rem -.35rem 0; padding: 0 .35rem;
}
.lease table {
  border-collapse: collapse; width: 100%; font-size: .86rem; min-width: 560px;
}
.lease th,
.lease td {
  text-align: left; padding: .5rem .55rem; border-bottom: 1px solid var(--border);
}
.lease th {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-dim); font-weight: 600; white-space: nowrap;
}
.lease td.num,
.lease th.num {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.lease td.strong {
  font-weight: 650;
}
.lease td.regime {
  color: var(--text-dim); font-size: .8rem;
}
.lease tbody tr:last-child td {
  border-bottom: none;
}
.lease tbody tr.here {
  background: var(--accent-soft);
}
.lease td a {
  color: var(--accent); text-decoration: none;
}
.lease td a:hover {
  text-decoration: underline;
}
.lease .callout {
  background: var(--surface-2); border-left: 3px solid var(--accent);
  border-radius: 7px; padding: .75rem .85rem; margin-top: 1rem;
}
.lease .callout p {
  margin: 0 0 .6rem; font-size: .87rem; line-height: 1.6;
}
.lease .callout p:last-child {
  margin-bottom: 0;
}
.lease .statgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem;
}
@media (max-width: 560px) {
  .lease .statgrid {
    grid-template-columns: 1fr;
  }
}
.lease .stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .85rem 1rem;
}
.lease .stat-k {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--text-dim); font-weight: 600;
}
.lease .stat-v {
  font-size: 1.45rem; font-weight: 650; letter-spacing: -0.02em; margin: .15rem 0 .05rem;
}
.lease .stat-n {
  font-size: .76rem; color: var(--text-dim);
}
.lease dl.regimes {
  margin: 0;
}
.lease dl.regimes dt {
  font-weight: 650; font-size: .89rem; margin-top: .85rem;
}
.lease dl.regimes dt:first-child {
  margin-top: 0;
}
.lease dl.regimes dd {
  margin: .25rem 0 0; font-size: .87rem; line-height: 1.6; color: var(--text-dim);
}
.lease a.cta {
  display: inline-block; color: var(--accent); font-weight: 600;
  font-size: .89rem; text-decoration: none;
}
.lease a.cta:hover {
  text-decoration: underline;
}
.lease .provenance {
  font-size: .78rem; color: var(--text-dim); line-height: 1.5;
  background: var(--surface-2); border-radius: 7px;
  padding: .55rem .7rem; margin-top: .6rem;
}
.lease .provenance strong {
  color: var(--warn);
}
/* ---- Guide cards ---- */
.lease .cardgrid {
  display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.lease a.guidecard {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .95rem 1rem 1rem;
  transition: border-color .12s ease;
}
.lease a.guidecard:hover {
  border-color: var(--accent);
}
.lease a.guidecard h2 {
  margin: 0 0 .35rem; font-size: .98rem; font-weight: 650;
  text-transform: none; letter-spacing: -0.01em; color: var(--text);
}
.lease a.guidecard p {
  margin: 0 0 .55rem; font-size: .83rem; line-height: 1.55; color: var(--text-dim);
}
.lease a.guidecard .more {
  font-size: .8rem; color: var(--accent); font-weight: 600;
}
.lease article .card h2 {
  font-size: 1.05rem; text-transform: none; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: .6rem;
}
.lease dl.regimes div + div {
  margin-top: .85rem;
}
/* ---- Widget page ---- */
.lease pre.snippet {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; padding: .8rem .9rem; overflow-x: auto;
  font-family: var(--mono); font-size: .82rem; line-height: 1.6; margin: 0 0 .8rem;
}
.lease code {
  font-family: var(--mono); font-size: .88em;
}
.lease .previewbox {
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); overflow: hidden;
}
/* ---- Grades ---- */
.lease .grade {
  display: inline-block; font-size: .7rem; font-weight: 700; padding: .12rem .5rem; border-radius: 20px; letter-spacing: .03em; text-transform: uppercase; border: 1px solid var(--border);
}
.lease .grade-excellent {
  background: var(--good-soft); color: var(--good);
}
.lease .grade-good {
  background: var(--good-soft); color: var(--good); opacity: .85;
}
.lease .grade-fair {
  background: var(--warn-soft); color: var(--warn);
}
.lease .grade-poor {
  background: var(--surface-2); color: var(--text-dim);
}
/* ---- Findings ---- */
.lease ul.findings {
  list-style: none; margin: 0; padding: 0;
}
.lease ul.findings li {
  padding: .6rem .75rem; border-left: 3px solid var(--border); background: var(--surface-2);
  border-radius: 7px; margin: .5rem 0; font-size: .87rem; line-height: 1.55;
}
.lease ul.findings li.good {
  border-left-color: var(--good);
}
.lease ul.findings li.warn {
  border-left-color: var(--warn);
}
.lease ul.findings li .impact {
  float: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text-dim); margin-left: .75rem;
}
/* ---- Forms and buttons ---- */
.lease .filters {
  display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: .9rem;
}
.lease textarea {
  font: inherit; font-size: .95rem; padding: .5rem .6rem; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-2); color: var(--text); width: 100%; min-height: 90px; resize: vertical;
}
.lease textarea:focus {
  outline: 2px solid var(--accent); outline-offset: -1px;
}
.lease button.primary {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  border-radius: 7px; padding: .55rem 1rem;
}
.lease button.primary:disabled {
  opacity: .6; cursor: default;
}
.lease button.primary:hover:not(:disabled) {
  filter: brightness(1.08);
}
.lease .field label span.req {
  color: var(--warn);
}
.lease .ok {
  background: var(--good-soft); border: 1px solid var(--border); border-left: 3px solid var(--good); border-radius: 7px; padding: .7rem .8rem; font-size: .87rem; margin-top: .8rem; line-height: 1.55;
}
.lease .ok code,
.lease .notice code {
  word-break: break-all;
}
.lease .muted {
  color: var(--text-dim); font-size: .82rem;
}
.lease .empty {
  text-align: center; padding: 2rem 1rem; color: var(--text-dim); font-size: .9rem; line-height: 1.6;
}
.lease .empty strong {
  color: var(--text);
}
.lease .tabs {
  display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.lease .tabs button {
  font: inherit; font-size: .85rem; cursor: pointer; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); border-radius: 20px; padding: .35rem .8rem;
}
.lease .tabs button.on {
  color: var(--accent); background: var(--accent-soft); border-color: var(--accent); font-weight: 600;
}
.lease td.src {
  font-size: .78rem; color: var(--text-dim); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lease .split {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .lease .split {
    grid-template-columns: 1fr 1fr; align-items: start;
  }
}
.lease .kv {
  display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; font-size: .86rem;
}
.lease .kv dt {
  color: var(--text-dim);
}
.lease .kv dd {
  margin: 0; font-variant-numeric: tabular-nums;
}
/* ---- Offer actions ---- */
.lease a.offer-link {
  color: inherit; text-decoration: none;
}
.lease a.offer-link:hover strong {
  color: var(--accent); text-decoration: underline;
}
.lease a.cta-button,
.lease a.link-button {
  display: inline-block; text-decoration: none; font-size: .88rem; font-weight: 600;
  padding: .55rem .95rem; border-radius: 7px; border: 1px solid var(--accent); white-space: nowrap;
}
.lease a.cta-button {
  background: var(--accent); color: #fff;
}
.lease a.cta-button:hover {
  filter: brightness(1.08);
}
.lease a.cta-button.small {
  font-size: .78rem; padding: .35rem .65rem;
}
.lease a.link-button {
  background: var(--surface-2); color: var(--accent); border-color: var(--border);
}
.lease a.link-button:hover {
  border-color: var(--accent);
}
/* ---- Small screens ---- */
@media (max-width: 720px) {
  .lease header.masthead h1 {
    font-size: 1.35rem;
  }
  .lease .wrap {
    padding: 1rem .85rem 5.5rem;
  }
  .lease .hero .big {
    font-size: 2rem;
  }
  .lease .toolbar a.cta-button,
.lease .toolbar a.link-button {
    white-space: normal;
  }
}
/* Offer cards: the table's information, one offer per card, on narrow screens. */
.lease .cards {
  display: none;
}
@media (max-width: 720px) {
  .lease .tablewrap.has-cards {
    display: none;
  }
  .lease .cards {
    display: grid; gap: .7rem;
  }
}
.lease .ocard {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .8rem .85rem .85rem;
}
.lease .ocard-top {
  display: flex; justify-content: space-between; gap: .6rem; align-items: flex-start;
}
.lease .ocard-top .name {
  font-weight: 650; font-size: .95rem; line-height: 1.3;
}
.lease .ocard-top .name a {
  color: inherit; text-decoration: none;
}
.lease .ocard-top .name .muted {
  display: block; font-weight: 400; font-size: .78rem;
}
.lease .ocard-cost {
  text-align: right; white-space: nowrap;
}
.lease .ocard-cost .big {
  font-size: 1.35rem; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.lease .ocard-cost .k {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim);
}
.lease .ocard-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: .3rem .8rem; margin: .6rem 0; font-size: .82rem;
}
.lease .ocard-facts div {
  display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px solid var(--border); padding: .25rem 0;
}
.lease .ocard-facts .k {
  color: var(--text-dim);
}
.lease .ocard-facts .v {
  font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap;
}
.lease .ocard-foot {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .4rem;
}
.lease .ocard-foot .src {
  font-size: .75rem; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lease .ocard-foot .src a {
  color: var(--accent); text-decoration: none;
}
/* Calculator: on one-column layouts the result is below five cards of inputs;
   pin the headline number to the bottom of the screen instead. */
.lease .mobile-summary {
  display: none;
}
@media (max-width: 899px) {
  .lease .mobile-summary {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    justify-content: space-between; align-items: center; gap: .75rem;
    padding: .6rem .95rem calc(.6rem + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--border);
    box-shadow: 0 -6px 18px rgba(0,0,0,.12);
  }
  .lease .mobile-summary .k {
    font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim);
  }
  .lease .mobile-summary .v {
    font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  }
  .lease .mobile-summary .sub {
    font-size: .74rem; color: var(--text-dim);
  }
  .lease .mobile-summary a {
    color: var(--accent); font-size: .8rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  }
}
/* Secondary market filters: always shown on wide screens, behind a toggle on phones. */
.lease .filters-more {
  display: contents;
}
.lease .filters-toggle {
  display: none;
}
@media (max-width: 720px) {
  .lease .filters {
    grid-template-columns: 1fr 1fr;
  }
  .lease .filters-more {
    display: none; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: .75rem;
  }
  .lease .filters-more.open {
    display: grid;
  }
  .lease .filters-toggle {
    display: inline-block; grid-column: 1 / -1; justify-self: start;
  }
}
/* Cards must never widen the page: long trims wrap, values wrap, columns shrink. */
.lease .cards {
  grid-template-columns: minmax(0, 1fr);
}
.lease .ocard,
.lease .ocard-top,
.lease .ocard-top .name,
.lease .ocard-facts,
.lease .ocard-foot {
  min-width: 0;
}
.lease .ocard-top .name {
  overflow-wrap: anywhere;
}
.lease .ocard-facts {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.lease .ocard-facts .v {
  white-space: normal; text-align: right;
}
.lease .ocard-cost {
  white-space: normal;
}
/* Checkbox filter */
.lease label.check {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .84rem; color: var(--text); grid-column: 1 / -1;
}
.lease label.check input {
  width: auto; margin: 0; accent-color: var(--accent);
}
.lease label.check .hint {
  flex-basis: 100%; font-size: .72rem; color: var(--text-dim); margin-left: 1.45rem;
}
/* Sortable column headings */
.lease table.sortable td:first-child {
  min-width: 13rem;
}
.lease table.sortable td.num,
.lease table.sortable td:nth-child(2) {
  white-space: nowrap;
}
.lease a.cta-button.small {
  white-space: nowrap;
}
.lease button.th-sort {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-transform: inherit; letter-spacing: inherit; font-weight: inherit; white-space: nowrap;
}
.lease button.th-sort .arrow {
  font-size: .7em; margin-left: .3em; opacity: .4;
}
.lease button.th-sort:hover,
.lease button.th-sort:hover .arrow {
  color: var(--accent); opacity: 1;
}
.lease th[aria-sort="ascending"] button.th-sort,
.lease th[aria-sort="descending"] button.th-sort {
  color: var(--accent);
}
.lease th[aria-sort="ascending"] button.th-sort .arrow,
.lease th[aria-sort="descending"] button.th-sort .arrow {
  opacity: 1;
}
.lease table.sortable th,
.lease table.sortable td {
  padding: .5rem .45rem;
}
.lease table.sortable td.src {
  max-width: 140px;
}
/* Insurance quote form */
.lease .field-error {
  font-size: .75rem; color: var(--warn);
}
.lease input[aria-invalid="true"],
.lease select[aria-invalid="true"] {
  border-color: var(--warn);
}
.lease .radio-row {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.lease .radio-row label {
  display: flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--text); font-weight: 400;
}
.lease .radio-row input {
  width: auto; margin: 0; accent-color: var(--accent);
}
.lease label.consent {
  display: flex; align-items: flex-start; gap: .55rem; font-size: .84rem; line-height: 1.5; color: var(--text); margin-top: .9rem;
}
.lease label.consent input {
  width: auto; margin-top: .25rem; accent-color: var(--accent); flex: none;
}
.lease .agent-card .big-phone {
  font-size: 1.4rem; font-weight: 600; margin: .5rem 0;
}
.lease a.cta-button.xl {
  font-size: 1.05rem; padding: .8rem 1.4rem;
}
/* ---- Location line and insurance estimates ---- */
.lease .loc-note {
  display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem;
  background: var(--accent-soft); border: 1px solid var(--border); border-radius: 7px;
  padding: .5rem .7rem; font-size: .82rem; margin: .1rem 0 .8rem; line-height: 1.45;
}
.lease .loc-note a {
  color: var(--accent);
}
.lease button.linkish {
  font: inherit; background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer;
}
.lease button.loc-dismiss {
  font: inherit; font-size: 1.1rem; line-height: 1; background: none; border: 0; padding: 0 .2rem;
  color: var(--text-dim); cursor: pointer;
}
.lease button.loc-dismiss:hover {
  color: var(--text);
}
.lease .hero .allin {
  margin-top: .7rem; padding-top: .6rem; border-top: 1px solid var(--border); font-size: .95rem;
}
.lease .hero .allin strong {
  font-size: 1.35rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.lease .hero .allin .sub {
  margin-top: .15rem;
}
.lease .agent-card .agent-actions {
  display: flex; gap: .6rem; flex-wrap: wrap;
}

/* ---- Reset the marque.css rules that share a class name with the lease pages ---- */
.lease .wrap { max-width: 1120px; padding: 1.5rem 1.25rem 5rem; }
.lease .wrap.wrap-wide { max-width: 1280px; }
.lease header.masthead { text-align: left; }
.lease header.masthead h1 { font-size: 1.9rem; line-height: 1.15; }
.lease header.masthead p { max-width: 62ch; }
.lease .card { max-width: none; margin: 0; padding: 1.1rem 1.15rem 1.25rem; }
.lease .card + .card, .lease .hero + .card { margin-top: 1rem; }
.lease .card > h2 { font-family: var(--sans); }
.lease article .card h2, .lease a.guidecard h2 { font-family: var(--serif); }
.lease .field { margin-bottom: 0; }
.lease .field input, .lease .field select, .lease .field textarea { padding: .5rem .6rem; border-radius: 7px; background: var(--surface-2); }
.lease .hint { margin: 0; }
.lease .hero { display: block; grid-template-columns: none; overflow: visible; }
.lease .badge { text-transform: none; }
.lease .notice { margin: .5rem 0 0; border-radius: 7px; padding: .6rem .7rem; font-size: .8rem; }
.lease .toolbar { justify-content: flex-start; align-items: stretch; margin-bottom: 0; }
.lease .provenance { margin: .6rem 0 0; padding: .55rem .7rem; border-radius: 7px; }
.lease button.primary { padding: .55rem 1rem; font-weight: 600; border-radius: 7px; }
.lease a.cta { font-size: .89rem; }
.lease .grade { font-weight: 700; }
.lease .tabs button.on, .lease .tabs button.active { color: var(--accent); }
.lease h1, .lease h2, .lease h3 { margin-top: 0; }
.lease .tablewrap table { background: transparent; }
.lease td a, .lease .callout a, .lease .lede a, .lease dl.regimes a, .lease .crumb a { color: var(--accent); }
.lease .notice a, .lease .ok a, .lease .empty a { color: var(--accent); }

/* The shell's footer separation: lease pages end with their own disclaimer. */
.lease footer.foot { margin-bottom: 0; }

@media (max-width: 720px) {
  .lease .wrap { padding: 1rem .85rem 5.5rem; }
  .lease header.masthead h1 { font-size: 1.5rem; }
}
/* ---- Insurance helper chat ---- */
.lease .chat-card { margin-bottom: 1rem; }
.lease .chat-disclaimer { font-size: .8rem; margin: -.4rem 0 .7rem; }
.lease .chat-log {
  display: flex; flex-direction: column; gap: .5rem; max-height: 22rem; overflow-y: auto;
  padding: .6rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px;
}
.lease .chat-msg {
  max-width: 85%; padding: .5rem .7rem; border-radius: 12px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap;
}
.lease .chat-msg.them { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); }
.lease .chat-msg.me { align-self: flex-end; background: var(--accent-soft); border: 1px solid var(--border); }
.lease .chat-msg.typing { color: var(--text-dim); }
.lease .chat-input { display: flex; gap: .5rem; margin-top: .6rem; }
.lease .chat-input input { flex: 1; min-width: 0; }
.lease .chat-estimate {
  margin-top: .7rem; padding: .6rem .75rem; border: 1px solid var(--border); border-left: 3px solid var(--good);
  border-radius: 7px; background: var(--good-soft); font-size: .88rem;
}
.lease .chat-estimate-range { font-size: 1rem; }
.lease .chat-estimate ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.lease .chat-estimate li { margin: .2rem 0; }
.lease .chat-contact { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--border); }
.lease .chat-contact h3, .lease .chat-card .agent-card h3 { margin: 0 0 .4rem; font-size: 1rem; }

/* ---- Call buttons and call-time picker (insurance page) ---- */
.lease .call-card { margin-bottom: 1rem; }
.lease .call-card .call-lines { display: flex; gap: 1rem; flex-wrap: wrap; }
.lease .call-card .call-line { display: flex; flex-direction: column; gap: .3rem; }
.lease .call-time { margin-top: .9rem; padding: .8rem .85rem; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-2); }
.lease .call-time h3 { margin: 0 0 .25rem; font-size: .95rem; font-family: var(--sans); }
.lease .call-time .slot-day { margin-top: .6rem; }
.lease .call-time .slot-day-label { font-size: .8rem; color: var(--text-dim); margin-bottom: .3rem; }
.lease .call-time .slots { display: flex; gap: .4rem; flex-wrap: wrap; }
.lease .call-time button.slot {
  font: inherit; font-size: .84rem; padding: .4rem .7rem; border-radius: 7px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface, transparent); color: var(--text);
  font-variant-numeric: tabular-nums;
}
.lease .call-time button.slot:hover { border-color: var(--accent); }
.lease .call-time button.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.lease .call-time .slot-more { margin-top: .5rem; }
.lease .call-time .picked { margin-top: .6rem; font-size: .88rem; }
