/* Short-stay levy check: copied on 6 Nov 2026 from lsl/styles.css (the tool parts) and dex/styles.css (the landing page
   parts), so changes on those tabs never reach this one. The fonts, colours, header, footer and buttons are ClearLevy's
   shared look (../assets/base.css, loaded first). Short-stay-only rules are at the end. */

main.wrap, .tool-band { max-width: calc(980px + 2 * var(--gutter)); }
main.wrap { padding-bottom: clamp(32px, 5vw, 56px); }

/* Under the header: the not-affiliated line */
.tool-band { padding-top: 12px; }
.tool-band p { margin: 0; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.tag { font-size: .74rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--control); border-radius: 99px; padding: 1px 8px; margin-right: 6px; vertical-align: 1px; white-space: nowrap; }

main > .eyebrow { margin: 18px 0 6px; }
h1 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 10px; }
main > h1:first-child { margin-top: 24px; }
.lead { font-size: 1.05rem; line-height: 1.5; color: var(--ink-2); margin-top: 0; max-width: 46em; }
.lead strong { color: var(--ink); }
h2 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); letter-spacing: -.02em; margin: 0 0 10px; display: flex; gap: 10px; align-items: center; }
h3 { font-size: 1.08rem; margin: 0 0 8px; }
h4 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--font-display); font-size: .95rem; flex: none; }

.promise { background: var(--ok-bg); border-left: 4px solid var(--ok); padding: 12px 16px; border-radius: var(--radius-sm); margin: 14px 0 20px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin: 0 0 16px; }
.small { font-size: .9rem; color: var(--muted); }
.hidden-field { display: none; }
textarea.plain, select { font: inherit; }
label .opt { font-weight: 400; color: var(--muted); }

.row { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 12px 0; }
.row > label { flex: 1 1 260px; }
label { display: block; font-weight: 600; font-size: .95rem; }
input, select {
  display: block; width: 100%; margin-top: 4px; min-height: 44px; padding: 8px 12px;
  font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--control); border-radius: var(--radius-sm);
}
input:hover, select:hover { border-color: var(--ink); }
input[type="file"] { padding: 8px; background: var(--cream); border-style: dashed; }
input[type="file"]::file-selector-button {
  margin-right: 12px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream);
  padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer;
}
input[type="checkbox"] { display: inline; width: 20px; height: 20px; min-height: 0; margin: 0 10px 0 0; accent-color: var(--ink); flex: none; }
label.check { font-weight: 400; display: flex; align-items: flex-start; }
label.check input { margin-top: 3px; }
input:focus-visible, select:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  font: inherit; font-weight: 600; line-height: 1.2; padding: 8px 20px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
}
button:hover { background: var(--cream-2); }
button.primary { background: var(--ink); color: var(--cream); }
button.primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
button:disabled { opacity: .5; cursor: not-allowed; }
details { margin-top: 12px; }
/* Fold-out rows and text-style buttons are easy to tap on a phone: at least 44px tall (first-time buyer review, 28 Oct 2026). */
summary { cursor: pointer; color: var(--ink); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
summary::before { content: "\25B8"; margin-right: .45em; transition: transform .15s ease; }
details[open] > summary::before { transform: rotate(90deg); }
summary::-webkit-details-marker { display: none; }
@media (prefers-reduced-motion: reduce) { summary::before { transition: none; } }

.status:empty { display: none; }
.status { margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); }
.status.bad { background: var(--err-bg); border-color: var(--err); color: var(--err); }
.status.good { background: var(--ok-bg); border-color: var(--ok); }
.status.warn { background: var(--warn-bg); border-color: var(--warn); }
textarea { display: block; width: 100%; margin: 8px 0; padding: 8px 10px; font: 0.85rem/1.4 ui-monospace, Menlo, Consolas, monospace; color: var(--ink); background: var(--paper); border: 1.5px solid var(--control); border-radius: var(--radius-sm); }
button.link { border: 0; background: none; padding: 0; min-height: 44px; border-radius: 0; font-weight: 400; color: inherit; text-decoration: underline; font-size: inherit; }
button.link:hover { background: none; text-decoration-thickness: .14em; }

a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-weight: 600; padding: 8px 22px; border-radius: 999px; text-decoration: none; border: 2px solid var(--ink); color: var(--ink); }
a.button.primary { background: var(--ink); color: var(--cream); }
a.button.primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.done-note { margin: 0; color: var(--muted); }

.map-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); }
.summary { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.summary.good { background: var(--ok-bg); border: 1px solid var(--ok); }
.summary.bad { background: var(--err-bg); border: 1px solid var(--err); color: var(--err); }

.table-scroll { overflow-x: auto; margin-top: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .82rem; color: var(--muted); font-weight: 700; }
tr.error td:first-child { border-left: 4px solid var(--err); }
tr.warning td:first-child { border-left: 4px solid var(--warn); }
.level { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
tr.error .level { color: var(--err); }
tr.warning .level { color: var(--warn); }

@media (max-width: 600px) {
  .step { padding: 16px; }
  /* The problem list becomes one card per problem on a phone. */
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr { padding: 8px 0 8px 12px; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 2px 0; }
  tr.error, tr.warning { border-left: 4px solid; }
  tr.error { border-left-color: var(--err); }
  tr.warning { border-left-color: var(--warn); }
  tr.error td:first-child, tr.warning td:first-child { border-left: 0; }
}

/* ---- Copied from the LSL check ---- */
.chip { font-size: .8rem; font-weight: 600; border-radius: 99px; padding: 2px 10px; white-space: nowrap; justify-self: start; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.todo { background: var(--warn-bg); color: var(--warn); }
.chip.none { background: var(--err-bg); color: var(--err); }


td.amt, th.amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.figures tfoot td { font-weight: 700; border-top: 2px solid var(--ink); }
.working { margin: 4px 0 12px; }
.working table { font-size: .85rem; }
.working td.rule { color: var(--muted); min-width: 220px; }
.working-note { margin: 8px 0 0; }
.list-block { margin: 16px 0; }
.list-block h3 { margin-bottom: 6px; }
.list-block ul { margin: 0; padding-left: 1.2em; }
.list-block li { margin: 0 0 6px; }
.list-block.fix li::marker { color: var(--err); }
.list-block.check li::marker { color: var(--warn); }
#file-panel { margin-top: 16px; }
#file-panel h3 { margin-top: 20px; }
.match { margin: 12px 0; }
.match ul { margin: 4px 0 8px; padding-left: 1.2em; }
#keep { margin-top: 16px; }
.fix-confirm { margin: 0 0 10px; }

/* Phones: a note that the check is best done on a computer, and a tighter first screen. */
.phone-note { display: none; }
@media (max-width: 700px) {
  .phone-note { display: block; margin: 10px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--warn-bg); border: 1px solid var(--warn); font-weight: 600; font-size: .95rem; line-height: 1.45; }
  main > .eyebrow { margin-top: 16px; }
  .lead { font-size: 1rem; }
  .promise { font-size: .95rem; line-height: 1.5; padding: 10px 14px; margin: 10px 0 14px; }
}

@media (max-width: 600px) {
  /* Two columns that can shrink: a date field's own minimum width mustn't push the row past a 320px screen. */
          .figures table, .figures tbody, .figures tr, .figures td, .figures tfoot { display: block; width: 100%; }
  .figures thead { display: none; }
  .figures tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .figures td { border: 0; padding: 2px 0; text-align: left; }
  /* A long label, its figure and the Copy button don't fit one line on a narrow phone, so the line may wrap and the
     button drops under the figure. Before, it ran off the side of the table (rebuild review R7, Nov 2026). */
  .figures td.amt, .working td.amt { text-align: left; white-space: normal; }
  .figures tfoot tr { border-top: 2px solid var(--ink); }
  .figures tfoot td { border-top: 0; }
  .figures tfoot td:empty { display: none; }
  .figures td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 600; }
  .working table, .working tbody, .working tr, .working td { display: block; width: 100%; }
  .working thead { display: none; }
  .working td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
}

@media print { .skip, .phone-note { display: none !important; } }

/* Ready to paste (6 Nov 2026): a small Copy button after each figure the buyer types into the portal. It stays
   "Copied" until the figures are drawn again, so a long list shows which figures are done. On a touch screen
   it's the usual 44px tall. */
button.copy { display: flex; min-height: 30px; padding: 2px 12px; margin: 4px 0 0; font-size: .85rem; font-weight: 600; border-width: 1.5px; }
/* On a laptop the button sits under its figure, so the table is no wider than before; on a phone, beside it. */
.figures td.amt button.copy { margin-left: auto; }
button.copy.copied { background: var(--cream-2); border-color: var(--muted); color: var(--muted); }
@media (pointer: coarse) { button.copy { min-height: 44px; } }
@media (max-width: 600px) { .figures td button.copy, .figures td.amt button.copy { display: inline-flex; margin: 0 0 0 8px; vertical-align: middle; } }
.paste-how { margin: 4px 0 10px; }

/* ---- Landing page (short-stay/index.html), as dex/index.html ---- */
.offer__note { margin: 12px 0 0; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.offer__need { margin: 12px 0 0; font-size: .93rem; line-height: 1.45; color: var(--ink-2); }
.fs .promise { margin: 0; }
@media (min-width: 900px) { .fs .promise { align-self: start; } }
.section ol.steps {
  list-style: none; padding: 0; margin: 18px 0 0; counter-reset: s;
  display: grid; gap: 12px; grid-template-columns: 1fr;
}
@media (min-width: 760px) { .section ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section ol.steps li {
  counter-increment: s; position: relative; margin: 0; padding: 18px 20px 20px 64px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.section ol.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--cream); font-family: var(--font-display); font-weight: 800; font-size: .95rem;
}
@media (max-width: 600px) {
  .section ol.steps li { padding: 14px 16px 16px 54px; }
  .section ol.steps li::before { left: 14px; top: 13px; width: 28px; height: 28px; }
}
.section ol.steps li strong { display: block; font-family: var(--font-display); font-size: 1.08rem; letter-spacing: -.01em; margin-bottom: 4px; }
.section .cols { margin: 0; }
.card > h2 { font-size: 1.25rem; margin-bottom: 10px; }
.card ul { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }
.card--price { border: 2px solid var(--ink); }
.faq-wrap { max-width: calc(820px + 2 * var(--gutter)); }
.faq-wrap .section-title { margin-bottom: 14px; }
.faq-wrap details > p { margin: 0 0 18px; }
.buy-wrap { max-width: calc(820px + 2 * var(--gutter)); }
.buy-wrap .step { margin: 0; }
.cta-end { text-align: center; margin: 28px 0 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px 24px; margin: 16px 0; }
.fs .due-line { margin: 12px 0 0; font-size: .95rem; }
.fs .due-line strong { white-space: nowrap; }
.fs .due-line .is-past { white-space: normal; }

/* ---- Short-stay check only ---- */
.col-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(220px, 2fr) 140px; gap: 6px 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.col-row .what, .prop-row .what, .choice-row .what { font-weight: 600; overflow-wrap: anywhere; }
.col-row select { margin-top: 0; }
.col-row .decide { grid-column: 1 / -1; padding: 8px 12px; border-left: 4px solid var(--warn); background: var(--warn-bg); border-radius: var(--radius-sm); }
.col-row .decide ul { margin: 0 0 6px; padding-left: 1.2em; }
.decide fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.decide legend { font-weight: 600; padding: 0; margin-bottom: 4px; }
.decide input[type="radio"] { display: inline; width: 20px; height: 20px; min-height: 0; margin: 0 8px 0 0; accent-color: var(--ink); flex: none; }
.decide label.check { align-items: center; min-height: 44px; }
#date-order-wrap { max-width: 460px; margin: 12px 0 4px; }
#confirm-wrap { margin: 12px 0; }
.prop-row { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(220px, 2fr) minmax(220px, 1.6fr); gap: 8px 14px; align-items: end; padding: 12px 0; border-top: 1px solid var(--line); }
.prop-row .what { align-self: center; }
.choice-row { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(220px, 2fr); gap: 6px 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-weight: 400; }
.choice-row select { margin-top: 0; }
#step-choices h3 { margin-top: 18px; }
#booked-tick-wrap { margin: 16px 0 8px; }
table.typed input { min-width: 110px; margin-top: 0; padding: 6px 8px; }
table.typed td { padding: 4px 6px; }
.prop-return { margin: 14px 0 18px; }
.prop-return h4 { margin: 0 0 4px; font-size: 1.05rem; }
.prop-return .address { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.prop-return .address button.copy { margin: 0; }
.figures td button.copy { margin-top: 4px; }
.totals { margin: 12px 0; font-weight: 600; }
.sro-steps ol { margin: 0; padding-left: 1.3em; }
.sro-steps li { margin: 0 0 6px; }
#left-out-list > summary { font-size: 1.02rem; }
/* Between a phone and a small laptop the three columns' own minimum widths (580px and the gaps) were wider than the
   page, so the whole page scrolled sideways at 640px (rebuild check, Nov 2026). There the property's name takes its own
   line and the two fields share the next. */
@media (min-width: 601px) and (max-width: 760px) {
  .prop-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .prop-row .what { grid-column: 1 / -1; }
  .prop-row > * { min-width: 0; max-width: 100%; }
  .prop-row input, .prop-row select { min-width: 0; max-width: 100%; }
}
@media (max-width: 600px) {
  .col-row, .prop-row, .choice-row { grid-template-columns: minmax(0, 1fr); }
  .col-row > *, .prop-row > *, .choice-row > * { min-width: 0; max-width: 100%; }
  table.typed, table.typed tbody, table.typed tr, table.typed td { display: block; width: 100%; }
  table.typed thead { display: none; }
  table.typed tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.typed td[data-label]::before { content: attr(data-label); display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
  table.typed input { min-width: 0; }
}
#figures > h3 { margin-top: 16px; }
.figures td.stay-n { font-weight: 600; white-space: nowrap; }
.kept-note { display: block; font-weight: 400; font-size: .82rem; color: var(--warn); }
.kept-row { grid-template-columns: minmax(140px, 1fr) minmax(200px, 1.4fr) minmax(140px, 1fr); }
.kept-row select { margin-top: 0; }
.kept-amount { font-size: .9rem; }
.col-row .includes { border-left-color: var(--ink); background: var(--cream); }
@media (max-width: 600px) { .kept-row { grid-template-columns: minmax(0, 1fr); } }
