/* Tools pages: /tools/ and /tools/cam-calculator/ (build prompt v3).
   Page ground is --ground (the app's F1 layers); white panels with a 1px edge, a 10px radius
   and a hairline shadow sit on it. Instrument Sans with tabular figures for
   every number — no mono in the tool. Bronze is for links only: the header's
   "Book a demo" stays the page's one filled button. Colours come from
   tokens.css; nothing here is a raw hex. */

.ls-tool { background: var(--ground); padding-bottom: 56px; }
/* The site's own 1200px container, so the page head lines up with the
   header logo instead of sitting 50px in from it. */
.ls-tool__wrap {
  max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
}
.ls-tool__head { background: transparent; }
.ls-tool__head.pt-5 { padding-top: 28px !important; }
.ls-tool__head.pb-4 { padding-bottom: 20px !important; }
.ls-tool__head .row > * { width: 100%; max-width: 880px; }
.ls-tool__head h1 { font-size: clamp(28px, 3.1vw, 36px); margin-bottom: 10px !important; }
.ls-tool__head .lead { font-size: 17px; }
/* The site eyebrow is mono; the tools pages keep Instrument Sans throughout. */
.ls-tool__head .ls-eyebrow { font-family: var(--font-ui); font-weight: 600; letter-spacing: .08em; margin-bottom: 8px; }

/* ---- Panels ---------------------------------------------------------------- */
.ls-panel {
  background: var(--surface); border: 1px solid var(--panel-border);
  border-radius: var(--r-card); box-shadow: var(--shadow-panel);
  margin: 0 0 12px;
}
.ls-panel__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  padding: 12px 20px 9px;
}
.ls-panel__title { font: 600 15px/1.35 var(--font-ui); letter-spacing: 0; margin: 0; color: var(--ink); }
.ls-panel__meta { font-size: 12px; color: var(--muted); margin: 0; font-variant-numeric: tabular-nums; }
.ls-panel__body { padding: 0 20px 14px; }
.ls-panel__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 16px; padding: 9px 20px 10px; border-top: 1px solid var(--divider); font-size: 14px;
}
.ls-panel__foot[hidden] { display: none; }
.ls-panel__actions { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--muted); }

/* ---- Text actions and links: bronze, 500, underline on hover only ------- */
.ls-calc__link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 500; color: var(--primary); text-decoration: none;
}
.ls-calc__link:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.ls-calc__sr, .ls-calc__mlabel {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- Inputs ---------------------------------------------------------------- */
.ls-calc { font-variant-numeric: tabular-nums; }
.ls-calc__fields { display: grid; gap: 12px 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ls-calc__fields { grid-template-columns: repeat(3, 1fr); } }
.ls-calc__field { min-width: 0; }
.ls-calc__label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin: 0 0 5px; }
.ls-calc__input {
  display: block; width: 100%; min-width: 0; height: 44px; padding: 0 12px;
  font: 400 16px/1 var(--font-ui); font-variant-numeric: tabular-nums; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-input); border-radius: var(--r-control);
}
.ls-calc__input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--focus-halo); outline: 0; }
.ls-calc__input:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.ls-calc__input--num { text-align: right; }
.ls-calc__input[aria-invalid="true"] { border-color: var(--error-border); }
.ls-calc__input::placeholder { color: var(--decorative); }
.ls-calc__help { font-size: 12.5px; line-height: 1.4; color: var(--muted); margin: 5px 0 0; }
.ls-calc__help--top { margin: -1px 0 6px; }
.ls-calc__err { font-size: 12.5px; line-height: 1.4; color: var(--danger-text); margin: 5px 0 0; }
.ls-calc__err[hidden] { display: none; }
.ls-calc__err--panel { padding: 0 20px 8px; margin: 0; }

/* The two optional lines: a checkbox, then inline fields. Dimmed when off. */
.ls-calc__opts { border-top: 1px solid var(--divider); margin-top: 12px; padding-top: 10px; display: grid; gap: 8px; }
.ls-calc__optline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  font-size: 14px; color: var(--ink);
}
.ls-calc__optline label { margin: 0; font-weight: 500; }
.ls-calc__check { width: 20px; height: 20px; margin: 0 2px 0 0; flex: none; accent-color: var(--primary); }
.ls-calc__input--inline { display: inline-block; width: 120px; height: 32px; }
.ls-calc__input--pct { display: inline-block; width: 56px; height: 32px; }
.ls-calc__opt .ls-calc__help { margin-left: 26px; }
.ls-calc__opt .ls-calc__err { margin-left: 26px; }
.ls-calc__opt.is-off .ls-calc__input,
.ls-calc__opt.is-off .ls-calc__optline > span,
.ls-calc__opt.is-off .ls-calc__help { opacity: .5; }

/* ---- Inputs beside one result (calculator UX audit, Nov 25, 2026) --------
   Every calculator: about five inputs on the left, one large result on the
   right that stays in view on a desktop, and on a phone the result straight
   after the inputs. Everything else sits behind one native <details>
   ("Adjust assumptions"), which needs no script and suits the strict CSP. */
.ls-calc__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; margin: 0 0 12px; }
.ls-calc__grid > .ls-panel, .ls-calc__aside > .ls-panel { margin: 0; }
@media (min-width: 960px) {
  .ls-calc__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
  .ls-calc__aside { position: sticky; top: 88px; }
  /* The CAM calculator: the result card is as tall as the Building card,
     its figures centred in it. */
  .ls-calc__grid--match { align-items: stretch; }
  .ls-calc__grid--match .ls-calc__aside { position: static; display: flex; }
  .ls-calc__grid--match .ls-result { flex: 1; display: flex; flex-direction: column; justify-content: center; }
}

.ls-result { padding: 20px 24px 22px; }
.ls-result__label { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 4px; }
.ls-result__value {
  font: 600 clamp(34px, 4.4vw, 46px)/1.1 var(--font-ui); letter-spacing: -.025em;
  font-variant-numeric: tabular-nums; color: var(--ink); margin: 0; overflow-wrap: anywhere;
}
.ls-result__note { font-size: 14px; line-height: 1.45; color: var(--text-2); margin: 8px 0 0; }
.ls-result__more {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--divider);
}
.ls-result__fig { min-width: 0; }
.ls-result__flabel { font-size: 12px; font-weight: 500; color: var(--muted); margin: 0 0 2px; }
.ls-result__fvalue { font: 600 18px/1.3 var(--font-ui); font-variant-numeric: tabular-nums; color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.ls-result__fnote { font-size: 12.5px; line-height: 1.4; color: var(--muted); margin: 2px 0 0; }
.ls-result__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--muted);
  margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--divider); font-size: 14px;
}
.ls-result__foot[hidden] { display: none; }
.ls-result__foot .ls-calc__link { min-height: 44px; }
.ls-summary__blocked { margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.ls-summary__blocked[hidden] { display: none; }
.ls-calc.is-blocked [data-figures] { display: none; }
@media (max-width: 759.98px) { .ls-result { padding: 16px 16px 18px; } }

/* "Adjust assumptions": a chevron, the label and what is inside. */
.ls-adv { margin-top: 14px; border-top: 1px solid var(--divider); }
.ls-adv__sum {
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  min-height: 44px; padding: 12px 0 10px 22px; cursor: pointer; list-style: none; font-size: 14px;
}
.ls-adv__sum::-webkit-details-marker { display: none; }
.ls-adv__sum::before {
  content: ""; position: absolute; left: 3px; top: 18px; width: 7px; height: 7px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg);
}
.ls-adv[open] > .ls-adv__sum::before { top: 16px; transform: rotate(45deg); }
.ls-adv__sum:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.ls-adv__label { font-weight: 600; color: var(--ink); }
.ls-adv__sum:hover .ls-adv__label { text-decoration: underline; text-underline-offset: 3px; }
.ls-adv__hint { font-size: 13px; color: var(--muted); }
.ls-adv__body { padding: 2px 0 4px; }
/* The ROI calculator's disclosure is a panel of its own, below the result. */
.ls-adv--panel { margin: 0 0 12px; border-top: 1px solid var(--panel-border); }
.ls-adv--panel > .ls-adv__sum { padding: 13px 20px 11px 42px; }
.ls-adv--panel > .ls-adv__sum::before { left: 23px; }
.ls-adv--panel[open] > .ls-adv__sum { border-bottom: 1px solid var(--divider); }
@media (max-width: 759.98px) {
  .ls-adv--panel > .ls-adv__sum { padding-inline: 38px 16px; }
  .ls-adv--panel > .ls-adv__sum::before { left: 19px; }
}

/* Units inside the box: "$" before money, "%" or "sq ft" after. */
.ls-affix { position: relative; }
.ls-affix__pre, .ls-affix__suf {
  position: absolute; top: 0; bottom: 0; display: flex; align-items: center;
  font-size: 15px; color: var(--muted); pointer-events: none;
}
.ls-affix__pre { left: 12px; }
.ls-affix__suf { right: 12px; }
.ls-affix--pre .ls-calc__input { padding-left: 26px; }
.ls-affix--suf .ls-calc__input { padding-right: 30px; }
.ls-affix--4 .ls-calc__input { padding-right: 50px; }
.ls-affix--5 .ls-calc__input { padding-right: 56px; }
.ls-affix--6 .ls-calc__input { padding-right: 66px; }
.ls-affix--7 .ls-calc__input { padding-right: 62px; }
.ls-result__value--long { font-size: clamp(26px, 3.2vw, 34px); }

/* ---- Tenants table --------------------------------------------------------- */
.ls-calc__tablewrap { overflow-x: auto; }
.ls-calc__table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--ink); }
.ls-calc__table th, .ls-calc__table td { padding: 4px 8px; vertical-align: middle; }
.ls-calc__table th:first-child, .ls-calc__table td:first-child { padding-left: 20px; }
.ls-calc__table .ls-calc__rm { padding-right: 20px; text-align: right; white-space: nowrap; }
.ls-calc__table thead th {
  font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--muted); white-space: nowrap;
  background: var(--surface-inset); text-align: left; padding-top: 7px; padding-bottom: 7px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.ls-calc__table thead td { background: var(--surface-inset); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ls-calc__table .ls-num { text-align: right; }
.ls-calc__table tbody tr + tr td { border-top: 1px solid var(--row-rule); }
.ls-calc__table .ls-calc__out { white-space: nowrap; }
.ls-calc__table .ls-calc__input { height: 31px; font-size: 14px; }
.ls-calc__sqft { width: 104px; }
.ls-calc__paid { width: 172px; }
.ls-calc__fee { display: none; }
.ls-calc__table.is-fee-on .ls-calc__fee { display: table-cell; }
.ls-calc__mline { display: none; }
.ls-calc__total th, .ls-calc__total td {
  border-top: 1px solid var(--border); font-weight: 600; padding-top: 8px; padding-bottom: 8px;
}
.ls-calc__total th { text-align: left; }
.ls-calc__owes.is-owed { color: var(--ink); font-weight: 500; }
.ls-calc__owes.is-credit { color: var(--muted); font-weight: 400; }
.ls-calc__total .ls-calc__owes.is-owed { font-weight: 600; }

/* Phone: each tenant is a stacked row — name, then Sq ft and Estimates paid
   side by side, then one line of CAM and what they owe. */
@media (max-width: 759.98px) {
  .ls-calc__table, .ls-calc__table tbody, .ls-calc__table tfoot { display: block; }
  .ls-calc__table thead { display: none; }
  .ls-calc__table tr {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px;
    grid-template-areas: "name name" "sqft paid" "line line";
    padding: 12px 16px;
  }
  .ls-calc__table tbody tr + tr { border-top: 1px solid var(--row-rule); }
  .ls-calc__table tbody tr + tr td { border-top: 0; }
  .ls-calc__table th, .ls-calc__table td,
  .ls-calc__table th:first-child, .ls-calc__table td:first-child,
  .ls-calc__table .ls-calc__rm { padding: 0; width: auto; }
  .ls-calc__table .ls-calc__out { display: none; }
  .ls-calc__table.is-fee-on .ls-calc__fee { display: none; }
  .ls-calc__name { grid-area: name; }
  .ls-calc__table tr td.ls-calc__name { padding-right: 44px; }
  .ls-calc__rm { grid-area: name; justify-self: end; align-self: center; }
  /* Remove is a 44px "×" on a phone, so a thumb can't miss it or hit the name. */
  .ls-calc__table [data-act="remove"] {
    width: 44px; height: 44px; margin-right: -12px; font-size: 0; display: grid; place-items: center; color: var(--muted);
  }
  .ls-calc__table [data-act="remove"]::before { content: "×"; font-size: 26px; line-height: 1; }
  .ls-panel__foot .ls-calc__link { min-height: 44px; padding-inline: 4px; }
  .ls-calc__sqft { grid-area: sqft; }
  .ls-calc__paid { grid-area: paid; }
  .ls-calc__mline { display: block; grid-area: line; font-size: 14px; color: var(--text-2); white-space: normal; }
  .ls-calc__mlabel {
    position: static !important; width: auto; height: auto; margin: 0 0 4px; clip: auto;
    overflow: visible; white-space: normal; display: block; font-size: 12px; color: var(--muted); text-align: left;
  }
  .ls-calc__total { border-top: 1px solid var(--border); grid-template-areas: "name name" "line line" !important; gap: 2px 10px; }
  .ls-calc__total th { grid-area: name; border: 0 !important; }
  .ls-calc__total .ls-calc__mline { grid-area: line; font-weight: 600; color: var(--ink); border: 0 !important; }
  .ls-calc__total .ls-calc__rm { display: none; }
  .ls-panel__head { padding-inline: 16px; }
  .ls-panel__body { padding-inline: 16px; }
  .ls-panel__foot { padding-inline: 16px; }
  .ls-calc__err--panel { padding-inline: 16px; }
}

/* ---- Note and "How it's calculated", on the ground ------------------------ */
.ls-calc__note { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.ls-how { margin-top: 36px; max-width: 820px; }
.ls-how__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.ls-how__title { font: 600 18px/1.3 var(--font-ui); letter-spacing: -.01em; margin: 0; }
.ls-how__pick { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.ls-how__pick label { margin: 0; }
.ls-calc__select {
  height: 32px; max-width: 220px; padding: 0 8px; font: 400 14px var(--font-ui); color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-input); border-radius: var(--r-control);
}
.ls-how__list { margin: 0; padding-left: 22px; display: grid; gap: 12px; }
.ls-how__list li::marker { color: var(--muted); font-weight: 500; }
.ls-how__rule { margin: 0; font-size: 15px; color: var(--ink); }
.ls-how__nums { margin: 2px 0 0; font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ls-how__links { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }

/* ---- /tools/ index ----------------------------------------------------------- */
.ls-tool__body { padding-top: 4px; }
.ls-toolcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ls-toolcards { grid-template-columns: repeat(2, 1fr); } }
.ls-toolcard { padding: 18px 20px; margin: 0; }
.ls-toolcard__title { font: 600 18px/1.3 var(--font-ui); letter-spacing: -.01em; margin: 0 0 6px; }
.ls-toolcard__title a { color: var(--ink); }
.ls-toolcard__title a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ls-toolcard__blurb { font-size: 15px; color: var(--text-2); margin: 0 0 12px; }
.ls-toolcard__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 15px; }

/* ---- Around the tool (SEO rework, Nov 2026) ------------------------------
   How to use it, what it covers, the FAQ, the guides and a citation line.
   A readable 820px column on the page ground; panels only for the scope. */
.ls-toolinfo { margin-top: clamp(40px, 7vw, 64px); max-width: 820px; display: grid; gap: clamp(36px, 6vw, 52px); }
.ls-toolinfo__h { font: 600 clamp(22px, 2.6vw, 26px)/1.2 var(--font-ui); letter-spacing: -.025em; color: var(--ink); margin: 0 0 14px; }
.ls-toolinfo__h--sm { font-size: 18px; letter-spacing: -.01em; margin-bottom: 8px; }
.ls-toolinfo__steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.ls-toolinfo__steps li {
  counter-increment: step; position: relative; padding-left: 44px; min-height: 30px;
  font-size: 16px; line-height: 1.55; color: var(--ink);
}
.ls-toolinfo__steps li::before {
  content: counter(step); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--primary-tint); color: var(--primary-hover);
  font: 600 14px var(--font-ui);
}
.ls-toolinfo__cols { display: grid; gap: 12px; }
@media (min-width: 720px) { .ls-toolinfo__cols { grid-template-columns: 1fr 1fr; } }
.ls-toolinfo__col { padding: 16px 20px; margin: 0; }
.ls-toolinfo__label { font: 600 14px var(--font-ui); color: var(--ink); margin: 0 0 8px; }
.ls-toolinfo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.ls-toolinfo__list li { position: relative; padding-left: 22px; }
.ls-toolinfo__list li::before { position: absolute; left: 0; top: 0; font-weight: 600; }
.ls-toolinfo__list--yes li::before { content: "✓"; color: var(--success-text); }
.ls-toolinfo__list--no li::before { content: "–"; color: var(--muted); }
.ls-toolinfo__guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
@media (min-width: 720px) { .ls-toolinfo__guides { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.ls-toolinfo__guides li { border-bottom: 1px solid var(--border); }
.ls-toolinfo__guides a { display: block; padding: 12px 0; font: 500 15.5px/1.4 var(--font-ui); color: var(--ink); text-decoration: none; }
.ls-toolinfo__guides a:hover { color: var(--primary); }
.ls-toolinfo__cite { padding: 18px 20px; background: var(--surface); border: 1px solid var(--panel-border); border-radius: 10px; }
.ls-toolinfo__citetext { margin: 0; font: 14px/1.5 var(--font-ui); color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.ls-toolinfo__fine { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
/* The cite box sits right after the tool on the CAM calculator. */
.ls-calc__cite { margin: 24px 0; }
/* The page's last block: the home hero's buttons (.ls-hero__actions, brand.css). */
.ls-toolinfo__ctas { padding-top: 28px; border-top: 1px solid var(--border); }
.ls-toolinfo__ctas-line { margin: 0; font: 600 20px/1.3 var(--font-ui); letter-spacing: -.015em; color: var(--ink); }
.ls-toolinfo__ctas .ls-hero__actions { margin-top: 16px; }

/* "Where to find each number": entry on the left, its source on the right;
   on a phone each source sits under its entry. */
.ls-toolinfo__intro { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.ls-toolinfo__where { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ls-toolinfo__where th, .ls-toolinfo__where td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
.ls-toolinfo__where thead th { font-size: 12px; font-weight: 500; color: var(--muted); padding-top: 0; }
.ls-toolinfo__where tbody th { width: 34%; font-weight: 600; color: var(--ink); }
.ls-toolinfo__where td { color: var(--text-2); padding-right: 0; }
@media (max-width: 599.98px) {
  .ls-toolinfo__where thead { display: none; }
  .ls-toolinfo__where tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .ls-toolinfo__where tbody th, .ls-toolinfo__where td { display: block; width: auto; padding: 0; border: 0; }
  .ls-toolinfo__where tbody th { margin-bottom: 2px; }
}

.ls-toolinfo .ls-faqblock__q { font-size: 16px; }

/* ---- ROI calculator (/tools/roi-calculator/) --------------------------------
   Reuses the panels, result card, table and option line above; only what
   the task table and its cost lines need is added here. */
.ls-calc__stack { display: grid; gap: 14px; }
.ls-roi__taskhead { padding-top: 14px; }
.ls-roi__roi { font-weight: 600; color: var(--ink); }
.ls-roi__plan { text-align: left; padding-right: 28px; }
.ls-roi__table th.ls-roi__task, .ls-roi__table tfoot th { text-align: left; font-weight: 500; }
.ls-roi__table tbody th, .ls-roi__table tbody td { padding-top: 4px; padding-bottom: 4px; }
.ls-roi__table thead th.ls-roi__wrap { white-space: normal; min-width: 84px; }
.ls-roi__name { display: block; font-weight: 500; line-height: 1.3; color: var(--ink); }
.ls-roi__tnote { display: block; font-size: 12px; font-weight: 400; line-height: 1.3; color: var(--muted); margin-top: 1px; }
.ls-roi__inline { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--text-2); }
.ls-roi__table .ls-roi__in { display: inline-block; width: 50px; height: 29px; }
.ls-roi__table .ls-roi__in--money { width: 84px; }
.ls-roi__lost th, .ls-roi__lost td { border-top: 1px solid var(--divider); }
.ls-roi__time, .ls-roi__rate { white-space: nowrap; }
.ls-roi__per { color: var(--text-2); white-space: nowrap; }
.ls-roi__amt { white-space: nowrap; }
.ls-roi__table .ls-calc__err { white-space: normal; text-align: left; }
.ls-roi__table tbody tr[hidden] { display: none; }
.ls-roi__optbody td { padding: 10px 20px 8px; border-top: 1px solid var(--divider); }
.ls-roi__unbilled th, .ls-roi__unbilled td { border-top: 1px solid var(--divider); }
.ls-roi__cost th, .ls-roi__cost td { padding-top: 5px; padding-bottom: 5px; border-top: 1px solid var(--divider); }
.ls-roi__cost .ls-calc__help, .ls-roi__cost .ls-calc__err { font-weight: 400; margin-top: 3px; }
.ls-roi__costline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ls-roi__costline label { margin: 0; }
.ls-roi__costnote { font-size: 12px; font-weight: 400; color: var(--muted); margin: 0; }
.ls-roi__totalrow th, .ls-roi__totalrow td, .ls-roi__netrow th, .ls-roi__netrow td {
  border-top: 1px solid var(--border); font-weight: 600; padding-top: 8px; padding-bottom: 8px;
}
.ls-roi__table tfoot .ls-roi__netrow th { font-weight: 600; }
.ls-roi__table tfoot .ls-roi__totalrow th { font-weight: 600; }
.ls-roi__netrow th, .ls-roi__netrow td { font-size: 15px; }
.ls-roi__srchead { font: 600 14px/1.3 var(--font-ui); margin: 24px 0 6px; color: var(--text-2); }
.ls-roi__sources { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }

/* Phone: each task is a stacked row — name and note, then "Time today" and
   "Saved %" side by side, then "Saves 64.0 hrs · $1,920" on one line. The
   totals and cost lines are a label and an amount. */
@media (max-width: 759.98px) {
  .ls-roi__table tr { grid-template-columns: 1fr 1fr; grid-template-areas: "name name" "time rate" "line line"; }
  .ls-roi__table .ls-roi__task { grid-area: name; }
  .ls-roi__table .ls-roi__time { grid-area: time; text-align: left; white-space: normal; }
  .ls-roi__table .ls-roi__rate { grid-area: rate; text-align: left; white-space: normal; }
  .ls-roi__table .ls-roi__per, .ls-roi__table .ls-roi__blank { display: none; }
  .ls-roi__table .ls-calc__mline { font-weight: 500; color: var(--ink); }
  .ls-roi__table tr.ls-roi__unbilled, .ls-roi__table tfoot tr { grid-template-areas: none; grid-template-columns: 1fr auto; align-items: baseline; }
  .ls-roi__table tr.ls-roi__unbilled .ls-roi__task, .ls-roi__table tfoot th { grid-area: auto; }
  .ls-roi__table tfoot th, .ls-roi__table tfoot td { border-top: 0 !important; }
  .ls-roi__optbody tr { display: block; padding: 10px 16px; border-top: 1px solid var(--divider); }
  .ls-roi__optbody td { display: block; padding: 0 !important; border: 0; }
  .ls-roi__table tbody tr.ls-roi__unbilled { border-top: 1px solid var(--divider); }
  .ls-roi__unbilled th, .ls-roi__unbilled td, .ls-roi__cost th, .ls-roi__cost td { border-top: 0 !important; }
  .ls-roi__table tfoot tr { border-top: 1px solid var(--divider); }
  .ls-roi__table tfoot .ls-calc__out { display: none; }
  .ls-roi__table .ls-roi__amt { text-align: right; font-weight: 600; }
}
@media (min-width: 760px) {
  .ls-roi__table th.ls-roi__task { width: 50%; }
  .ls-roi__table tbody tr + tr th { border-top: 1px solid var(--divider); }
  .ls-roi__table th:last-child, .ls-roi__table td:last-child { padding-right: 20px; }
  .ls-roi__per { font-size: 13px; }
}

/* ROI calculator questions: below the tool only. Same markup as a post's
   FAQ (.ls-faqlist), sized for the tools pages. */
.ls-roi__faq { margin-top: 32px; }
.ls-roi__faq .ls-how__title { margin-bottom: 8px; }
.ls-tool .ls-faqlist { margin: 0; }
.ls-tool .ls-faqlist__item { padding: 10px 0; border-top: 1px solid var(--divider); }
.ls-tool .ls-faqlist__item:last-child { border-bottom: 1px solid var(--divider); }
.ls-tool .ls-faqlist dt { font: 600 15px/1.35 var(--font-ui); color: var(--ink); margin: 0 0 3px; }
.ls-tool .ls-faqlist dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* Phones: every control is at least 44px tall and 16px text, so it is easy
   to tap and iOS doesn't zoom in. Desktop tables keep their compact cells. */
@media (max-width: 759.98px) {
  .ls-calc .ls-calc__input, .ls-calc .ls-calc__select { height: 44px; font-size: 16px; }
  .ls-calc .ls-roi__in { width: 64px; }
  .ls-calc .ls-roi__in--money { width: 104px; }
  /* Two inputs in one cell (leases × hours) wrap instead of running off the card. */
  .ls-roi__table .ls-roi__inline { flex-wrap: wrap; white-space: normal; row-gap: 6px; }
  .ls-roi__table tbody tr.ls-roi__lost { border-top: 1px solid var(--divider); }
  .ls-roi__table .ls-roi__lost th, .ls-roi__table .ls-roi__lost td { border-top: 0; }
}

/* Free CAM template link under the CAM calculators (partials/_cam_template_link.html, Dec 5 2026): one hairline pill, small but easy to spot. */
.ls-tplink { margin: 14px 0 0; }
.ls-tplink__a {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 14px 8px 12px;
  border-radius: 999px; background: var(--primary-tint); color: var(--ink);
  font: 400 14px/1.35 var(--font-ui); text-decoration: none;
}
.ls-tplink__a strong { font-weight: 600; }
.ls-tplink__a:hover, .ls-tplink__a:focus-visible { text-decoration: underline; color: var(--ink); }
.ls-tplink__icon { width: 18px; height: 18px; flex: none; color: var(--primary); }
