/* Owner workspace, operator tools, sign-in and the legal pages. Phone first, light mode only. The
   look follows the shadcn/ui dashboard example in its neutral theme: Geist, a pale sidebar, a
   slim bar over the page, hairline cards with a faint shadow, a near-black main button. Every
   color, radius and line is a token (tokens.css), in its product layer. On a phone, buttons and
   boxes keep a 44px height for thumbs; from 1000px they take the example's 36px. The home page is
   the landing page design and carries its own styles (templates/public/home.html). */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/static/fonts/geist-latin-wght-normal.woff2") format("woff2"); }
:root { --nav-h: 64px; --bar-h: 49px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul { list-style: none; }
a { color: var(--ink); text-underline-offset: 4px; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
h3 { font-size: 14px; line-height: 20px; font-weight: 600; }
.muted { color: var(--ink-muted); }
.small { font-size: 13px; line-height: 18px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack > .btn, .stack > .link-btn { align-self: flex-start; }
.stack > .btn--block { align-self: stretch; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row--between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }

/* Lawnchair's own pages: the logo and one link on top. */
.top { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--divider); background: var(--surface); position: sticky; top: 0; z-index: 20; min-height: 60px; }
.top--contained { padding-left: max(16px, calc((100% - 1040px) / 2 + 16px)); padding-right: max(16px, calc((100% - 1040px) / 2 + 16px)); }
/* The logo: the chair, and the name beside it at about half the chair's height. */
.wordmark { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.wordmark__logo { width: auto; height: 40px; flex: none; }
.top__account { font-weight: 500; color: var(--ink-muted); font-size: 14px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.top .top__out { font-size: 14px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.top .top__out:hover { text-decoration: underline; }

/* The product frame. On a phone: a bar on top and tabs at the foot. From 1000px: a pale sidebar
   that stays put, with the business on top and who is signed in at the foot, and a slim bar over
   the page that says where you are. */
.shell { display: block; }
.side { display: flex; align-items: center; gap: 12px; padding: 8px 16px; min-height: 60px; background: var(--surface); border-bottom: 1px solid var(--divider); position: sticky; top: 0; z-index: 20; }
.workspace { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; min-height: 44px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); text-decoration: none; }
.workspace img { width: 32px; height: 32px; flex: none; }
.workspace span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side__foot { display: flex; align-items: center; gap: 8px; }
.avatar, .side__who { display: none; }
.side__out .link-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-muted); text-decoration: none; }
.side__out svg { display: none; }
.bar-top, .side .side__new, .nav__count { display: none; }
.main { padding: 20px 16px calc(var(--nav-h) + 32px); max-width: 1120px; margin: 0 auto; }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: var(--nav-h); background: var(--surface); border-top: 1px solid var(--divider); display: flex; }
.nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-muted); text-decoration: none; min-width: 0; }
.nav a svg { width: 20px; height: 20px; flex: none; }
.nav a[aria-current="page"], .nav a.is-parent { color: var(--ink); font-weight: 600; }
.nav a.nav--desktop { display: none; }
.nav__label { display: none; }
/* A page that holds more than one screen has them as tabs across its top. */
.tabs { display: flex; gap: 4px; margin: -4px 0 20px; overflow-x: auto; box-shadow: inset 0 -1px 0 var(--divider); }
.tabs a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 500; color: var(--ink-muted); text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.banner { background: var(--callout-info); color: var(--ink); padding: 10px 16px; font-size: 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-bottom: 1px solid var(--divider); }
.banner a, .banner button { color: var(--ink); background: none; border: 0; font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 6px 0; }

.page-head { display: flex; gap: 12px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 24px; }
.page-head p { color: var(--ink-muted); margin-top: 4px; font-size: 14px; line-height: 20px; }

/* Controls */
.field { display: block; }
.label { display: block; font-size: 14px; line-height: 20px; font-weight: 500; margin-bottom: 6px; }
.hint { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-bottom: 6px; font-weight: 400; }
/* 16px in a box to type in, so a phone doesn't zoom the page; 14px from 1000px. */
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 16px; line-height: 20px; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--border-control); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--focus); outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); outline-offset: 0; }
.input::placeholder, .textarea::placeholder { color: var(--ink-subtle); opacity: 1; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23737373' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 10px; padding-right: 32px; }
.textarea { min-height: 96px; }
.input--inline { max-width: 150px; }
.input[type=file]::file-selector-button { font: inherit; font-weight: 500; font-size: 13px; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--divider); border-radius: var(--radius-xs); padding: 3px 10px; margin-right: 12px; cursor: pointer; }
.choice:has(input:disabled) { color: var(--ink-subtle); background: var(--surface-sunken); border: 1px dashed var(--border-control); cursor: not-allowed; font-weight: 400; }
/* The main button is near-black; the quiet one is white with an edge. One main button a page. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; cursor: pointer; color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); transition: background-color .15s, border-color .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost { background: var(--surface-raised); color: var(--ink); border-color: var(--divider); }
.btn--ghost:hover { background: var(--surface-hover); border-color: var(--divider); }
.btn--block { width: 100%; }
.btn--small { min-height: 40px; padding: 6px 12px; }
.btn:disabled, .btn:disabled:hover { background: var(--surface-hover); color: var(--ink-subtle); border-color: var(--divider); box-shadow: none; cursor: not-allowed; }
.field__error { display: block; margin-top: 6px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--status-attention); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--status-attention); border-width: 2px; }
.error-list { list-style: disc; padding-left: 20px; margin-top: 8px; font-weight: 400; }
.error-list li + li { margin-top: 4px; }
.link-btn { background: none; border: 0; padding: 10px 2px; min-height: 44px; font: inherit; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 6px 0; }
.check input { width: 18px; height: 18px; flex: none; accent-color: var(--check); margin: 2px 0 0; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--divider); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; line-height: 20px; font-weight: 500; background: var(--surface-raised); box-shadow: var(--shadow-xs); }
.choice:hover { background: var(--surface-hover); }
.choice input { width: 18px; height: 18px; flex: none; accent-color: var(--check); margin: 0; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--surface-sunken); }
.choices { display: grid; gap: 8px; }
.choices--inline { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.choices--days { grid-template-columns: repeat(4, 1fr); }
.form-grid { display: grid; gap: 14px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* Panels */
.card { border: 1px solid var(--divider); border-radius: var(--radius-lg); padding: 16px; background: var(--surface-raised); box-shadow: var(--shadow-xs); }
.card--tint { background: var(--surface-sunken); box-shadow: none; }
.card h2 + p { margin-top: 4px; }
.note { background: var(--surface-sunken); border: 1px solid var(--divider); border-radius: var(--radius-md); padding: 12px 14px; }
.alert { background: var(--callout-attention); color: var(--status-attention); border: 1px solid color-mix(in srgb, var(--status-attention) 22%, transparent); border-radius: var(--radius-md); padding: 12px 14px; font-weight: 500; }
.alert a { color: inherit; }
/* Not an error: something is waiting on the owner. */
.alert--wait { background: var(--callout-pending); color: var(--status-pending); border-color: color-mix(in srgb, var(--status-pending) 22%, transparent); }
.ok { display: flex; gap: 10px; align-items: center; background: var(--callout-booked); color: var(--status-booked); border: 1px solid color-mix(in srgb, var(--status-booked) 22%, transparent); border-radius: var(--radius-md); padding: 12px 14px; font-weight: 500; }
.ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mark-booked); flex: none; }
/* Tags: a short word in an outlined pill, and the word carries the state. The dot before it is
   the same state in color: green is booked, paid or done; blue is new, scheduled or a note;
   yellow is today, due or waiting; red is missed, overdue or failed. The plain one, with no dot,
   is for "off" and "not yet", which are none of the four. */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid var(--divider); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink-muted); font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mark-info); flex: none; }
.badge--dot::before { background: var(--mark-booked); }
.badge--yellow::before { background: var(--mark-pending); }
.badge--red::before { background: var(--mark-attention); }
.badge--line::before { content: none; }
/* A row of choices that filter or switch the view: one trough, and the chosen one lifted out of it. */
.chips { display: inline-flex; flex-wrap: wrap; gap: 2px; align-self: flex-start; max-width: 100%; padding: 3px; border-radius: var(--radius-md); background: var(--surface-hover); }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 12px; border: 1px solid transparent; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: 14px; line-height: 20px; text-decoration: none; background: none; }
.chip:hover { color: var(--ink); }
.chip[aria-current="true"] { background: var(--surface-raised); box-shadow: var(--shadow-pop); }

/* Stat tiles: a plain label over a number. The number is never in a color. */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { border: 1px solid var(--divider); border-radius: var(--radius-lg); padding: 14px 16px; background: var(--surface-raised); box-shadow: var(--shadow-xs); }
.tile__label { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.tile__value { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tile__sub { font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: 4px; }
/* A price or a total that stands alone on a screen. */
.stat { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Lists and tables. On a phone each row is a small card; on a desktop it is a table. Both sit in
   a rounded box with a hairline around it. */
.list { border: 1px solid var(--divider); border-radius: var(--radius-md); background: var(--surface-raised); overflow: hidden; }
.list__item { display: block; padding: 12px 16px; border-bottom: 1px solid var(--divider); color: inherit; text-decoration: none; }
.list__item:last-child { border-bottom: 0; }
a.list__item:hover { background: var(--surface-sunken); }
.list__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.list__title { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.list__meta { font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.list__meta > * { white-space: nowrap; }
.list__meta > .wrap { white-space: normal; }
.list__meta:has(.list__date) { position: relative; padding-right: 58px; }
.list__date { position: absolute; right: 0; top: 2px; }
a[href^="tel:"] { white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--divider); border-radius: var(--radius-md); background: var(--surface-raised); }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 20px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--divider); vertical-align: top; }
thead th { padding-top: 10px; padding-bottom: 10px; font-weight: 500; color: var(--ink); background: var(--surface-hover); white-space: nowrap; }
tbody th { font-weight: 500; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td.nowrap, th.nowrap { white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.kv dt { color: var(--ink-muted); }
.kv dd { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .kv--stack { grid-template-columns: 1fr; gap: 0; } .kv--stack dt { font-size: 13px; } .kv--stack dd { margin-bottom: 10px; } .kv--stack dd:last-child { margin-bottom: 0; } }
/* A person's or a lead's history: when on the left, what happened beside it, newest first. */
.timeline { list-style: none; }
.timeline__item { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--divider); }
.timeline__item:first-child { padding-top: 0; }
.timeline__item:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline__body { white-space: pre-line; overflow-wrap: anywhere; }
.timeline summary { cursor: pointer; }
.timeline details[open] > summary { margin-bottom: 6px; }
/* Under a table: which rows these are, and the way to the rest. */
.pager { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 16px; }
.pager > span { margin-right: auto; }
th a { color: inherit; text-decoration: none; }
th a:hover { text-decoration: underline; }
/* Over a list: the search, and beside it on a wide screen the boxes that narrow it. */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters > .field { flex: 1 1 190px; }
.filters > .field:first-child { flex: 4 1 260px; }
/* A tag on a customer, with the button that takes it off. */
.tag { display: inline-flex; align-items: center; }
.tag__x { min-width: 32px; min-height: 32px; padding: 0; border: 0; border-radius: var(--radius-xs); background: none; font: inherit; font-size: 16px; line-height: 1; color: var(--ink-muted); cursor: pointer; }
.tag__x:hover { color: var(--ink); background: var(--surface-hover); }
/* Leads as a board: a column for each status, its newest lead on top. */
.board { display: grid; gap: 12px; }
.board__col { padding: 12px; border: 1px solid var(--divider); border-radius: var(--radius-lg); background: var(--surface-sunken); }
.board__col.is-over { border-color: var(--ink); }
.board__col h2 { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.board__cards { display: grid; gap: 8px; min-height: 44px; }
.board__card { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--divider); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: var(--shadow-xs); color: inherit; text-decoration: none; cursor: grab; }
.board__card:hover { background: var(--surface-hover); }
.board__card.is-dragging { opacity: .5; }
.board__top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.board__top strong { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
/* Bars are fills only, and always sit beside a name and a number. */
.bar { height: 8px; border-radius: var(--radius-full); background: var(--surface-selected); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--series-blue); border-radius: inherit; }
.bar--green > span { background: var(--series-green); }
.steps-list { counter-reset: s; display: grid; gap: 10px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--divider); border-radius: var(--radius-md); }
.steps-list li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-hover); color: var(--ink); font-size: 14px; font-weight: 500; }
.steps-list li.is-done::before { content: "✓"; background: var(--check); color: var(--on-accent); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; background: var(--surface-sunken); border: 1px solid var(--divider); border-radius: var(--radius-sm); padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
.prose > * + * { margin-top: 12px; }
.prose h1 + * { margin-top: 18px; }
.prose h2 { margin-top: 30px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li + li { margin-top: 6px; }

/* Sign-in and other single-column pages */
.narrow { max-width: 420px; margin: 0 auto; padding: 40px 16px 56px; }
/* "or", between Google and a password. */
.or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-subtle); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--divider); }
.btn svg { width: 16px; height: 16px; flex: none; }
.section { max-width: 1040px; margin: 0 auto; padding: 32px 16px; }
.cols { display: grid; gap: 16px; }
.cols > * { min-width: 0; }
/* A service's questions show only once it is ticked. */
.svc-row:not(:has(.choice input:checked)) .svc-q { display: none; }
/* A field that belongs to one choice shows only when that choice is picked. */
form:not(:has(input[name=provider][value=google]:checked)) .only-google { display: none; }
form:not(:has(input[name=kind][value=cities]:checked)) .only-cities { display: none; }
form:not(:has(input[name=kind][value=radius]:checked)) .only-radius { display: none; }
form:not(:has(input[name=kind][value=zips]:checked)) .only-zips { display: none; }
.form { max-width: 720px; }
.scale { position: relative; }
.scale::after { content: ""; position: absolute; left: 80%; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.foot { text-align: center; font-size: 13px; color: var(--ink-subtle); padding: 24px 16px 32px; }
.foot a { color: var(--ink-subtle); }


/* The Quote form screen. With scripts on (.has-js) the live preview is the screen, and Edit opens
   the options beside it on a wide screen or in its place on a narrow one, where Preview then lays
   it over them. Without scripts the options are the screen. Save stays in reach at the bottom. */
.editor { display: grid; gap: 24px; align-items: start; }
.editor__panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; max-width: 720px; }
.editor.has-js:not(.is-editing) .editor__panel { display: none; }
.editor__preview { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.editor__preview .select { width: auto; min-width: 150px; }
.editor__head h2:focus { outline: none; }
.chip[aria-pressed="true"] { background: var(--surface-raised); box-shadow: var(--shadow-pop); }
button.chip { font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.preview-frame { position: relative; overflow: hidden; height: max(420px, calc(100vh - 270px)); border: 1px solid var(--divider); border-radius: var(--radius-md); background: var(--surface-sunken); }
.preview-frame iframe { position: absolute; top: 0; left: 0; border: 0; background: var(--white); transform-origin: 0 0; }
/* The review step of making a form: the page at the frame's own width, not scaled. */
.preview-frame--plain { height: 560px; }
.preview-frame--plain iframe { width: 100%; height: 100%; }
/* A group of options that folds away under its heading. */
.fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; min-height: 32px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; width: 8px; height: 8px; flex: none; margin-right: 4px; border-right: 1.5px solid var(--ink-muted); border-bottom: 1.5px solid var(--ink-muted); transform: rotate(45deg); }
.fold[open] > summary::after { transform: rotate(-135deg); margin-top: 6px; }
.fold__body { margin-top: 14px; }
.steps-list--tight li { grid-template-columns: 32px 1fr; }
/* A service marked to be removed when the form is saved: struck out, unnumbered, after the others. */
.steps-list li.is-removed { counter-increment: none; background: var(--surface-sunken); }
.steps-list li.is-removed::before { content: "\2013"; }
.steps-list li.is-removed strong { color: var(--ink-muted); text-decoration: line-through; }
.steps-list--tight li > .row { grid-column: 2; }
.wizard { max-width: 752px; }
.savebar { position: sticky; bottom: var(--nav-h); z-index: 5; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 0; background: var(--surface); border-top: 1px solid var(--divider); }
.color-row { display: flex; gap: 8px; align-items: center; }
.color-row .color-pick { width: 44px; height: 44px; flex: none; padding: 3px; border: 1px solid var(--border-control); border-radius: var(--radius-sm); background: var(--surface-raised); cursor: pointer; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13px; }
.swatch { display: inline-flex; gap: 8px; align-items: center; }
.swatch__chip { display: inline-grid; place-items: center; min-width: 36px; height: 28px; padding: 0 6px; border-radius: var(--radius-xs); border: 1px solid var(--border-control); font-weight: 600; font-size: 13px; }
.swatch code { font-size: 13px; }
.pic-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
/* A checked backdrop, so a white or see-through logo can be seen at all. */
.pic-thumb { height: 64px; max-width: 180px; object-fit: contain; border: 1px solid var(--divider); border-radius: var(--radius-sm); background: repeating-conic-gradient(#E5E5E5 0% 25%, #FFFFFF 0% 50%) 50% / 14px 14px; }
.textarea--short { min-height: 72px; }
.count { margin: 4px 0 0; }
.count:empty { display: none; }
.preview-open, .preview-close { display: none !important; }
@media (max-width: 1099px) {
  .editor.is-editing .editor__preview { position: fixed; inset: 0; z-index: 40; padding: 16px; background: var(--surface); overflow: auto; display: none; }
  .editor.is-editing .editor__preview.is-open { display: flex; }
  .editor.is-editing .editor__preview .preview-frame { flex: 1; height: auto; min-height: 420px; }
  .editor.is-editing .preview-open, .editor.is-editing .preview-close { display: inline-flex !important; }
  html.preview-is-open { overflow: hidden; }
}
@media (min-width: 1000px) { .savebar { bottom: 0; } }
@media (min-width: 1100px) {
  .editor.has-js.is-editing { grid-template-columns: minmax(0, 1fr) 440px; }
  .editor.is-editing .editor__preview { position: sticky; top: 16px; }
  .editor.is-editing .preview-frame { height: max(360px, calc(100vh - 190px)); }
}
/* One service's price: only the boxes of the way it is priced show. */
form:not(:has(input[name=pricing][value=per_unit]:checked)) .only-per-unit { display: none; }
form:not(:has(input[name=pricing][value=tiers]:checked)) .only-tiers { display: none; }
form:not(:has(input[name=pricing][value=flat]:checked)) .only-flat { display: none; }
form:not(:has(input[name=pricing][value=per_unit]:checked, input[name=pricing][value=tiers]:checked)) .only-sized { display: none; }
/* A service's page (Nov 18, 2026). Each part is a card that shows one sentence and opens to edit;
   the sentence goes while the part is open. Only the boxes that apply to the choices made show. */
.fold__title { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.fold[open] > summary .fold__sum { display: none; }
.fold--plain > summary { justify-content: flex-start; min-height: 44px; }
.fold--plain > summary::after { content: none; }
.choice__hint { font-weight: 400; }
.nested { margin: 0 0 6px 30px; }
form:not(:has(input[name=mode][value=fixed]:checked)) .only-fixed { display: none; }
.part-sub { border-top: 1px solid var(--divider); padding-top: 14px; }
.qblock { border: 1px solid var(--divider); border-radius: var(--radius-md); padding: 10px 12px; }
.qblock:has(.qtype input[value=count]:checked) .only-answers, .qblock:not(:has(.qtype input[value=count]:checked)) .only-count { display: none; }
.chip:has(input:checked) { background: var(--surface-raised); box-shadow: var(--shadow-pop); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
label.chip { cursor: pointer; }
/* A box with its unit beside it: "$ [1.10]", "[25] %", "Up to [150] ft". */
.affix { display: flex; align-items: center; gap: 8px; }
.affix > span { flex: none; color: var(--ink-muted); }
.affix--short .input { max-width: 150px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: end; }
.pair--rate { max-width: 420px; }
.tier { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
/* An add-on on a phone: its name on a line of its own, then its price. */
.addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.addon > label:first-of-type { grid-column: 1 / -1; }
.answer { display: grid; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--divider); }
.answer__does { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.answer__does > .field { flex: 1 1 110px; min-width: 0; }
.answer__does > .answer__amount { flex: 0 0 64px; }
.answer__amount .input, .answer__amount .select { padding-left: 8px; }
.answer:not(:has(option[value=add]:checked, option[value=off]:checked)) .answer__amount, .answer:not(:has(option[value=look]:checked)) .answer__look { display: none; }
.season { padding: 12px; border: 1px solid var(--divider); border-radius: var(--radius-md); }
.joblen:not(:has(option[value=other]:checked)) .only-other { display: none; }
.lines { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.lines__row { display: flex; justify-content: space-between; gap: 12px; }
.lines__total { padding-top: 8px; border-top: 1px solid var(--divider); font-size: 16px; font-weight: 600; }
/* With the page's script on, rows are removed with their own button, so the typed way isn't explained. */
.has-js [data-nojs] { display: none; }
@media (min-width: 720px) {
  .answer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
  .answer__look { grid-column: 1 / -1; }
  .answer__does { flex-wrap: nowrap; }
  .addon { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; }
  .addon > label:first-of-type { grid-column: auto; }
}

/* Booking settings: each person's week, one row a day, up to three blocks of time. */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; }
.person + .person { border-top: 1px solid var(--divider); padding-top: 18px; margin-top: 8px; }
/* Each day on its own lines: the day, then its blocks side by side where they fit. The card is
   narrow at every width, so this is the layout everywhere. */
table.hours, table.hours tbody, table.hours tr { display: block; width: 100%; font-size: 14px; }
table.hours thead { display: none; }
table.hours tr { padding: 8px 0; border-bottom: 1px solid var(--divider); }
table.hours th { display: block; padding: 3px 0; text-align: left; border: 0; }
table.hours td { display: inline-block; padding: 3px 14px 3px 0; vertical-align: middle; border: 0; }
.input--time { min-height: 44px; padding: 6px 8px; width: 9em; max-width: 100%; }

/* The dashboard: figures, a trend, and lists. */
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.figure { border: 1px solid var(--divider); border-radius: var(--radius-lg); padding: 14px 16px; background: var(--surface-raised); box-shadow: var(--shadow-xs); }
.figure__label { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.figure__value { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.figure__note { font-size: 13px; line-height: 18px; color: var(--ink-muted); margin-top: 6px; }
.trend { width: 100%; height: 160px; display: block; }
.trend line { stroke: var(--divider); }
.trend path { fill: var(--series-blue); }
.trend-axis { display: flex; justify-content: space-between; margin-top: 6px; }
@media (min-width: 720px) { .figures { grid-template-columns: repeat(4, 1fr); } }

/* On a phone a table becomes a list of small cards, each cell with its column name. */
@media (max-width: 719px) {
  table.rows thead { display: none; }
  table.rows, table.rows tbody { display: block; }
  table.rows tr { display: block; padding: 10px 12px; border-bottom: 1px solid var(--divider); }
  table.rows tr:last-child { border-bottom: 0; }
  table.rows td, table.rows th[scope=row] { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border: 0; padding: 3px 0; text-align: right; white-space: normal; }
  table.rows th[scope=row] { font-size: 14px; color: var(--ink); text-align: left; padding-bottom: 5px; }
  table.rows td::before { content: attr(data-label); color: var(--ink-muted); font-weight: 400; font-size: 13px; text-align: left; flex: none; }
  table.rows td:empty { display: none; }
  .only-wide { display: none !important; }
}
@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .choices--days { grid-template-columns: repeat(7, 1fr); }
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: repeat(3, 1fr); }
  .cols--2 { grid-template-columns: 1fr 1fr; }
  .cols--aside { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .timeline__item { grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
  tbody tr:hover { background: var(--surface-sunken); }
}
@media (min-width: 1000px) {
  .input, .select, .textarea { min-height: 36px; padding: 7px 12px; font-size: 14px; }
  .textarea { min-height: 96px; }
  .textarea--short { min-height: 72px; }
  .input--time { min-height: 36px; }
  .btn { min-height: 36px; padding: 7px 16px; }
  .btn--small { min-height: 32px; padding: 5px 12px; }
  .link-btn { min-height: 36px; padding: 7px 2px; }
  .choice { min-height: 40px; padding: 9px 12px; }
  .chip { min-height: 30px; padding: 4px 10px; }
  .card { padding: 24px; }
  .tiles, .figures, .cols { gap: 16px; }
  .cols--aside { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
  .board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile, .figure { padding: 20px 24px; }
  .figure__value { font-size: 30px; line-height: 36px; }
  .shell { display: grid; grid-template-columns: 256px minmax(0, 1fr); align-items: start; }
  .side { flex-direction: column; align-items: stretch; gap: 0; height: 100vh; padding: 0; background: var(--surface-sunken); border-bottom: 0; border-right: 1px solid var(--divider); }
  .workspace { flex: none; height: var(--bar-h); min-height: 0; padding: 0 12px; border-bottom: 1px solid var(--divider); }
  .nav { position: static; height: auto; flex: 1 1 0; min-height: 0; overflow-y: auto; flex-direction: column; gap: 2px; padding: 8px; background: none; border-top: 0; }
  .nav a, .nav a.nav--desktop { flex: none; display: flex; flex-direction: row; justify-content: flex-start; gap: 8px; height: 32px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ink); transition: background-color .15s; }
  .nav a svg { width: 16px; height: 16px; }
  .nav a.nav--phone { display: none; }
  .nav a:hover { background: var(--surface-hover); }
  .nav a[aria-current="page"] { background: var(--surface-selected); font-weight: 500; }
  .nav a.is-parent { font-weight: 400; }
  .nav__label { display: flex; align-items: center; flex: none; height: 32px; margin-top: 12px; padding: 0 8px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-muted); }
  .nav__label:first-child { margin-top: 0; }
  .nav a.nav__end { margin-top: auto; }
  .nav__count { display: block; margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: var(--radius-full); background: var(--callout-pending); color: var(--status-pending); font-size: 12px; line-height: 20px; font-weight: 600; text-align: center; }
  .side .side__new { display: flex; flex: none; margin: 12px 8px 4px; }
  .tabs a { min-height: 36px; }
  .side__foot { flex: none; padding: 12px; border-top: 1px solid var(--divider); }
  .avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--radius-sm); background: var(--surface-selected); font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; }
  .side__who { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
  .side__name { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side__mail { font-size: 12px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side__out { margin-left: auto; }
  .side__out .link-btn { justify-content: center; width: 32px; height: 32px; min-height: 0; padding: 0; border-radius: var(--radius-sm); color: var(--ink); }
  .side__out .link-btn:hover { background: var(--surface-hover); }
  .side__out svg { display: block; width: 16px; height: 16px; flex: none; }
  .side__out .link-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .frame { min-width: 0; }
  .bar-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: var(--bar-h); padding: 0 24px; border-bottom: 1px solid var(--divider); font-size: 14px; line-height: 20px; white-space: nowrap; }
  .bar-top__group, .bar-top__sep { color: var(--ink-muted); }
  .bar-top__page { font-weight: 500; }
  .bar-top a { text-decoration: none; }
  .bar-top__where { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .bar-top__search .input { width: 240px; min-height: 32px; padding: 5px 10px; }
  .tag__x { min-width: 24px; min-height: 24px; }
  .bar-top a:hover { text-decoration: underline; }
  .main { padding: 24px 24px 56px; margin: 0; max-width: 1200px; min-height: calc(100vh - var(--bar-h)); }
}
/* Day tiles: four across on a phone has to fit a 326 px card, so they are tighter than other choices. */
.choices--days .choice { padding: 10px 8px; gap: 6px; min-width: 0; }
