/* Cleantelligence — one stylesheet. Colours and shapes follow the Cleanie App (app.css / appshell.css, 10 Nov 2026). */
/* deploy 56 (27 Nov 2026): .formgrid .wide2 - the staff record company box is two columns wide */
@font-face { font-family: "Anton"; font-weight: 400; font-display: block; src: url(fonts/anton-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: block; src: url(fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: block; src: url(fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: block; src: url(fonts/poppins-600.woff2) format("woff2"); }
:root { --gold: #c1aa82; --green: #022011; --surface: #0A3A22; --lime: #deef65; --paper: #f7f8f4; --line: #dfe3dc; --muted: #5c6b60; --pale: #eef3e6;
  --warn: #8f3513; --warnbg: #f7e4d9; --okbg: #e2ebe5; --tanbg: #eadfca; --shadow: 0 2px 10px rgba(2,32,17,.06);
  --grad: linear-gradient(180deg, #022011 0%, #0A3A22 50%, #1A5C37 100%); }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: var(--green); background: var(--paper); }
a { color: var(--green); }
h1, h2 { font-family: "Anton", "Arial Narrow", Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; margin: 0; }
h1 { font-size: 44px; line-height: 1.05; color: #fff; } h1 .hl { color: var(--lime); }
h2 { font-size: 24px; line-height: 1.15; }
p { margin: 0; line-height: 1.5; }
.shell { display: flex; min-height: 100vh; }
.side { width: 232px; flex: none; background: var(--green); padding: 26px 16px 22px; display: flex; flex-direction: column; gap: 28px; }
.side .logo { width: 100%; margin-left: 0; display: block; }   /* the tightly cropped logo, exactly as wide as the highlight bar of a menu item (Daniel, 14 Nov 2026 12:56) */
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: #fff; }
.side nav a.on { background: var(--lime); color: var(--green); font-weight: 600; }
.side .me { margin-top: auto; padding: 14px 14px 0; border-top: 1px solid #2c4a3a; font-size: 13px; color: #fff; }
.side .me small { display: block; font-size: 12px; color: #c9d3cd; margin-top: 2px; }
main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.head { position: relative; overflow: hidden; background: var(--grad); border-radius: 0 0 28px 0; padding: 30px 36px 32px; display: flex; flex-direction: column; gap: 10px; }
.head.lift { padding-bottom: 96px; }
.head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 90% at 100% 0%, rgba(193,170,130,.25), transparent 60%); }
.head > * { position: relative; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.head p { font-size: 15px; color: #dbe3de; }
.body { padding: 0 36px 40px; margin-top: 26px; display: flex; flex-direction: column; gap: 24px; }
.body.lift { margin-top: -66px; position: relative; }
.tiles { display: flex; gap: 16px; }
.tile { flex: 1; min-width: 0; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(2,32,17,.10); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.tile b { font-family: "Anton", sans-serif; font-weight: 400; font-size: 44px; line-height: 1; }
.tile span { font-size: 13px; font-weight: 500; line-height: 1.4; }
.tile.warn { background: var(--warnbg); } .tile.warn b { color: var(--warn); }
.card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.card.quiet { background: var(--pale); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.note { font-size: 13px; color: var(--muted); }
.note.next { font-size: 14px; color: var(--green); background: var(--pale); border-left: 4px solid var(--lime); border-radius: 10px; padding: 10px 14px; margin-top: 12px; } .note.next a { font-weight: 600; margin-left: 6px; }
.stageline .dot { margin: 0 6px; color: var(--muted); } details.later { margin-top: 8px; }
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 10px 12px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1.5px solid var(--green); text-align: left; vertical-align: bottom; line-height: 1.3; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th.n, td.n { text-align: right; } td.b { font-weight: 600; }
tr.total td { font-weight: 600; border-bottom: none; }
.client { font-weight: 600; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; text-decoration: none; }
.sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.muted { color: var(--muted); white-space: nowrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--muted); background: var(--pale); }
.pill.warn { color: var(--warn); background: var(--warnbg); } .pill.ok { color: var(--green); background: var(--okbg); }
.pill.tan { color: var(--green); background: var(--tanbg); } .pill.dark { color: #fff; background: var(--surface); }
.pill.lime { color: var(--green); background: var(--lime); } .pill.glass { color: #fff; background: rgba(255,255,255,.16); }
.pill.big { padding: 5px 12px; font-size: 13px; }
button, .btn { font-family: inherit; font-size: 14px; font-weight: 600; min-height: 48px; padding: 0 24px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  color: var(--green); background: var(--lime); border: 1.5px solid var(--lime); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button.ghost, .btn.ghost, a.btn.ghost, a.btn.ghost:visited, .card a.btn.ghost, .btn.ghost.small { background: var(--surface); border-color: var(--surface); color: var(--lime); }   /* Daniel, 14 Nov 2026 22:56: no white buttons with a pale outline. Every button that is not the main action is dark green with lime words (A2). */ button.dark, .btn.dark { background: var(--surface); border-color: var(--surface); color: #fff; }
button.small { min-height: 44px; padding: 0 18px; font-size: 13px; } button.full { width: 100%; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
input[type=text], input[type=number], input[type=date], select { font-family: inherit; font-size: 15px; color: var(--green); height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; width: 100%; min-width: 0; }
label.chk { flex-direction: row; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; color: var(--green); cursor: pointer; }
input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--green); margin: 0; flex: none; }
.cols { display: flex; gap: 20px; align-items: flex-start; } .cols > .wide { flex: 1.7; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cols > .narrow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.kv { display: flex; gap: 16px; line-height: 1.45; } .kv dt { width: 140px; flex: none; color: var(--muted); } .kv dd { margin: 0; font-weight: 500; flex: 1; min-width: 0; }
dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.line { background: var(--pale); border-radius: 8px; padding: 12px 14px; line-height: 1.5; } .line b { display: block; font-weight: 600; } .line span { color: var(--muted); }
.stats { display: flex; gap: 10px; } .stat { flex: 1; min-width: 0; background: var(--pale); border-radius: 14px; padding: 12px 14px; }
.stat b { display: block; font-family: "Anton", sans-serif; font-weight: 400; font-size: 30px; line-height: 1.05; } .stat span { font-size: 12px; line-height: 1.35; }
.stat.strong { background: var(--surface); color: #fff; } .stat.strong b { color: var(--lime); }
.problem { background: var(--warnbg); color: var(--warn); border-radius: 14px; padding: 14px 16px; font-weight: 500; }
.board { display: flex; gap: 14px; align-items: flex-start; } .col { flex: 1; min-width: 0; background: #e9ece6; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.col h3 { margin: 0; font-size: 15px; font-weight: 600; } .deal { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.deal b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .formgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; } .formgrid .wide2 { grid-column: span 2; }  /* 27 Nov 2026: the staff record company box, wide enough for the full legal name */
tr.warnrow th, tr.warnrow td { background: var(--warnbg); } tr.warnrow td b { color: var(--warn); }
td.money b { display: block; font-size: 15px; } th[scope=row] { border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--green); padding: 12px; }
.inline { display: inline; } .tabbar { display: none; }
.denied { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; padding: 28px; }
.denied div { max-width: 460px; display: flex; flex-direction: column; gap: 22px; } .denied img { width: 280px; } .denied p { font-size: 16px; color: #dbe3de; }
@media (max-width: 820px) {
  .side { display: none; } .head { border-radius: 0 0 28px 28px; padding: 22px 20px 26px; } .head.lift { padding-bottom: 84px; } h1 { font-size: 36px; }
  .body { padding: 0 16px 96px; margin-top: 22px; gap: 18px; } .body.lift { margin-top: -62px; }
  .tiles { flex-wrap: wrap; gap: 12px; } .tile { flex: 1 1 calc(50% - 6px); } .tile b { font-size: 34px; }
  .cols { flex-direction: column; } .cols > .wide, .cols > .narrow { width: 100%; flex: none; } .card { padding: 16px; } .stats { flex-wrap: wrap; } .stat { flex: 1 1 28%; }
  .board { flex-direction: column; } .col { width: 100%; } .formgrid { grid-template-columns: 1fr; } .formgrid .wide2 { grid-column: auto; } .kv { flex-direction: column; gap: 0; } .kv dt { width: auto; font-size: 12px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); padding: 6px 6px 14px; z-index: 5; }
  .tabbar a { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; text-decoration: none; font-size: 11px; font-weight: 500; color: #c9d3cd; }
  .tabbar a.on { color: var(--lime); font-weight: 600; }
}
td:first-child { min-width: 210px; } td { overflow-wrap: normal; }

.side { overflow-y: auto; gap: 20px; } .side nav { gap: 2px; } .side nav a { min-height: 38px; justify-content: space-between; font-size: 14px; }
.side nav .sec { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8fa598; padding: 14px 16px 4px; }
.side nav a.later { color: #b9c6bd; } .side nav a.later span { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8fa598; }
.side nav a.later.on { color: var(--green); } .side nav a.later.on span { color: var(--green); }
a.tile { text-decoration: none; color: inherit; }
.menurow { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--green); font-weight: 500; }
.menurow:last-child { border-bottom: none; }
table.tight th, table.tight td { padding: 10px 8px; } table.tight td:first-child { min-width: 170px; } table.tight button.small { padding: 0 12px; min-height: 40px; }
h3.grp { margin: 14px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
dl.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; } dl.two .kv { flex-direction: column; gap: 0; } dl.two .kv dt { width: auto; font-size: 12px; }
dd.none { color: var(--muted); font-weight: 400; } .kv dd { overflow-wrap: anywhere; }
@media (max-width: 820px) { dl.two { grid-template-columns: 1fr; } }
.headrow { display: flex; align-items: center; gap: 22px; } .headtext { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.portrait { width: 116px; height: 116px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 3px solid var(--lime); background: rgba(255,255,255,.12); }
.portrait.none { display: flex; align-items: center; justify-content: center; font-family: "Anton", sans-serif; font-size: 40px; color: #fff; border-color: rgba(255,255,255,.35); }
@media (max-width: 820px) { .portrait { width: 76px; height: 76px; } .portrait.none { font-size: 26px; } .headrow { gap: 14px; } }
form.stack { display: flex; flex-direction: column; gap: 12px; }
textarea { font-family: inherit; font-size: 15px; line-height: 1.5; color: var(--green); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; resize: vertical; }

table.week { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 900px; }   /* 900, not 980: all seven days fit the card on a laptop, Sunday included (audit 19 Nov 2026) */
table.week th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 6px; border-bottom: 1.5px solid var(--green); }
table.week th:first-child { width: 180px; } table.week th span { font-family: "Anton", sans-serif; font-size: 18px; color: var(--green); letter-spacing: 0; margin-left: 4px; }
table.week th.today { color: var(--green); } table.week th.today span { background: var(--lime); border-radius: 99px; padding: 0 8px; }
table.week td { vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--line); } table.week td + td { padding: 8px 4px; } table.week .chip b { white-space: nowrap; }   /* a shift's times stay on one line (audit 19 Nov 2026) */
.chip { display: block; background: var(--okbg); border-radius: 10px; padding: 7px 9px; margin-bottom: 6px; text-decoration: none; color: var(--green); font-size: 12px; line-height: 1.35; }
.chip b { display: block; font-weight: 600; font-size: 12.5px; } .chip span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.chip i { font-style: normal; font-weight: 600; } .chip.short { background: var(--warnbg); color: var(--warn); }
.daypick { display: flex; gap: 6px; flex-wrap: wrap; } .daypick label { flex-direction: row; cursor: pointer; }
.daypick input { position: absolute; opacity: 0; width: 0; height: 0; } .daypick span { display: block; min-width: 44px; text-align: center; padding: 9px 0; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.daypick input:checked + span { background: var(--green); border-color: var(--green); color: #fff; } .daypick input:focus-visible + span { outline: 2px solid var(--lime); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 13px; display: inline-flex; align-items: center; text-decoration: none; color: var(--green); }
.head p a { color: #dbe3de; }

.bar { height: 10px; border-radius: 99px; background: var(--pale); overflow: hidden; } .bar i { display: block; height: 100%; border-radius: 99px; }
.bar i.ok { background: #1A5C37; } .bar i.mid { background: #c1aa82; } .bar i.bad { background: var(--warn); }
table.score td.n { font-variant-numeric: tabular-nums; }
.latecard { background: var(--warnbg); box-shadow: none; } .latecard h2 { color: var(--warn); }
.lategrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 12px; }
.lateitem { background: #fff; border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--green); display: block; }
.lateitem b { display: block; font-weight: 600; } .lateitem span { display: block; font-size: 13px; color: var(--muted); } .lateitem i { display: block; font-style: normal; font-weight: 600; color: var(--warn); margin-top: 4px; font-size: 13px; }
a.btn.dark, a.btn.dark:visited, .card a.btn.dark { color: #fff; }

/* The job form (design draft, 13 Nov 2026). */
input[type=email], input[type=tel], input[type=time] { font-family: inherit; font-size: 15px; color: var(--green); height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; width: 100%; min-width: 0; }
form.intake input:focus, form.intake select:focus, form.intake textarea:focus { outline: none; border-color: var(--surface); box-shadow: 0 0 0 3px rgba(222,239,101,.55); }
form.intake ::placeholder { color: #9aa79e; }
form.intake label small { font-size: 12px; font-weight: 400; color: var(--muted); }
form.intake label em, form.intake .lbl em { font-style: normal; font-weight: 400; }
.steph { display: flex; align-items: center; gap: 12px; }
.steph i { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--surface); color: var(--lime); font-family: "Anton", sans-serif; font-style: normal; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; } .lbl { font-size: 13px; font-weight: 500; color: var(--muted); }
.formgrid.g2 { grid-template-columns: repeat(2, 1fr); align-items: start; } .formgrid.g3 { grid-template-columns: repeat(3, 1fr); align-items: start; }
.pick { display: grid; gap: 10px; } .pick.two { grid-template-columns: repeat(2, 1fr); } .pick.three { grid-template-columns: repeat(3, 1fr); }
.pick.seg { display: inline-flex; gap: 0; align-self: flex-start; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.pick.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; flex-direction: row; cursor: pointer; color: var(--green); }
.pick input { position: absolute; opacity: 0; width: 0; height: 0; }
.pick label > span { display: block; width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 12.5px; font-weight: 400; line-height: 1.4; color: var(--muted); background: #fff; }
.pick label > span b { display: block; font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 2px; }
.pick input:checked + span { background: var(--surface); border-color: var(--surface); color: #c9d3cd; } .pick input:checked + span b { color: var(--lime); }
.pick input:focus-visible + span { box-shadow: 0 0 0 3px rgba(222,239,101,.7); }
.pick.seg label > span, .pick.chips label > span { border-radius: 999px; padding: 0 18px; min-height: 38px; display: flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--green); white-space: nowrap; }
.pick.seg label > span { border-color: transparent; background: transparent; } .pick.chips label > span { min-height: 42px; }
.pick.seg input:checked + span, .pick.chips input:checked + span { color: var(--lime); background: var(--surface); border-color: var(--surface); }
.join { display: flex; gap: 8px; } .join select { width: 104px; flex: none; }
.join.money { gap: 0; } .join.money b { flex: none; height: 44px; padding: 0 14px; display: flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--green); background: var(--pale); border: 1.5px solid var(--line); border-right: none; border-radius: 12px 0 0 12px; }
.join.money input { border-radius: 0 12px 12px 0; }
.scope { display: flex; flex-direction: column; gap: 8px; background: var(--pale); border-radius: 14px; padding: 14px; }
.steprow { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; } .steprow i { padding-top: 10px; } .stepbox { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; } .stepbox textarea { width: 100%; } form.intake label textarea { width: 100%; } .steprow i { flex: none; width: 26px; text-align: center; font-family: "Anton", sans-serif; font-style: normal; font-size: 16px; color: var(--green); }
.card.sum { position: sticky; top: 20px; box-shadow: 0 10px 30px rgba(2,32,17,.10); } .card.sum .kv dt { width: 104px; }
.card.sum .note.ok { color: var(--green); font-weight: 600; } .card.sum .line + button.full { margin-top: 18px; }
ol.next { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }
[hidden] { display: none !important; }
@media (max-width: 820px) { .formgrid.g2, .formgrid.g3, .pick.two, .pick.three { grid-template-columns: 1fr; } .card.sum { position: static; } .pick.seg { align-self: stretch; } .pick.seg label { flex: 1; } .pick.seg label > span { justify-content: center; } }

.problem ul { margin: 8px 0 0; padding-left: 20px; font-weight: 400; } .problem li { margin-top: 3px; }
.finder { position: relative; } .found { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--surface); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(2,32,17,.14); }
.found .hit, .already .hit { all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--green); padding: 11px 14px; border-bottom: 1px solid var(--line); min-height: 0; }
.found .hit:last-child { border-bottom: none; } .found .hit:hover, .found .hit:focus-visible { background: var(--pale); } .found i { font-style: normal; font-size: 13px; color: var(--warn); padding: 11px 14px; }
.already { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--warn); background: var(--warnbg); border-radius: 10px; padding: 8px 10px; }
.already .hit.small { border: 1.5px solid var(--warn); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; color: var(--warn); background: #fff; }
.people { grid-column: 1 / -1; } .pick.chips .who { all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 40px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--green); background: #fff; }
.pick.chips .who.on { background: var(--surface); border-color: var(--surface); color: var(--lime); } .pick.chips .who.new { border-style: dashed; font-weight: 500; color: var(--muted); }
.card.here { box-shadow: 0 0 0 2px var(--lime), var(--shadow); } .formgrid.addrow { grid-template-columns: 1.3fr 1.2fr 1fr 1.2fr auto; border-top: 1px solid var(--line); padding-top: 14px; }
.head p a { text-decoration: underline; }
@media (max-width: 820px) { .formgrid.addrow { grid-template-columns: 1fr; } }
.row.acct { flex-wrap: nowrap; align-items: flex-start; } .row.acct > div { flex: 1; min-width: 0; } .row.acct > .btn { flex: none; }
@media (max-width: 820px) { .row.acct { flex-wrap: wrap; } }

table.tight td { overflow-wrap: anywhere; }                                          /* a long email in a contact table wraps (17 Nov 2026) */
table.tight.stafflist td:nth-child(2), table.tight.stafflist td:nth-child(3) { overflow-wrap: normal; min-width: 118px; } table.tight.stafflist td.b a.client { white-space: normal; }
/* 19 Nov 2026, Daniel: "three tables too wide ... please fix asap". Candidates on a laptop, Visa Work, and the Schedule week on a phone. */
table.candt td.b a.client { white-space: normal; } table.candt td:nth-child(1) { min-width: 190px; } table.candt td:nth-child(2) { min-width: 120px; } table.candt td.why { min-width: 120px; max-width: 220px; overflow-wrap: anywhere; } table.candt .pill { white-space: nowrap; } table.candt td:last-child { min-width: 104px; } table.candt th, table.candt td { padding-left: 8px; padding-right: 8px; } table.candt td:nth-child(1) { min-width: 170px; } table.candt td.why { min-width: 100px; max-width: 190px; }
table.tight.hirest td:first-child { min-width: 120px; } table.tight.hirest td.b a.client { white-space: normal; } table.tight.hirest th, table.tight.hirest td { padding-left: 6px; padding-right: 6px; } table.tight.hirest button.small { padding: 0 10px; } table.tight.hirest summary { white-space: nowrap; padding: 0 12px; } main details:not(.grp) > summary, .card details:not(.grp) > summary { white-space: nowrap; } table.tight.hirest th { font-size: 12px; } table.tight.hirest td:first-child { max-width: 150px; }
table.tight.fit td:first-child { min-width: 120px; } table.tight.fit td.b a.client { white-space: normal; } table.tight.fit td { overflow-wrap: normal; } table.tight.fit td[style] { white-space: normal !important; } table.tight.fit .pill { white-space: nowrap; } table.tight.fit td:first-child { min-width: 100px; } table.tight.fit th, table.tight.fit td { padding-left: 6px; padding-right: 6px; }
@media (max-width: 820px) { table.week { min-width: 0; table-layout: auto; } table.week thead { display: none; } table.week, table.week tbody, table.week tr, table.week td { display: block; width: auto; } table.week tr { border-bottom: 1.5px solid var(--green); padding: 8px 0; } table.week td { border: 0; padding: 4px 0; } table.week td.none { display: none; } table.week td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; } }   /* the Staff list: a role or a company is never broken letter by letter (audit 19 Nov 2026) */
/* Emails screen: on a phone each email is a block, so what happened to it is never off the side of the screen.
   Since 17 Nov 2026 every table does the same on a phone or tablet (Daniel 10:09: "sometimes things are going off screen"); base.html labels each cell with its column. */
@media (max-width: 820px) {
  table.autostack td[data-label]::before { content: attr(data-label) ": "; color: var(--muted, #6b746d); font-weight: 400; }
  table.autostack td.n { text-align: left; }
  table.autostack td.b a { max-width: none !important; }
  table.stack td a, table.stack td { overflow-wrap: anywhere; }                       /* a long email address wraps instead of running off the side */
  .row.acct > div { flex-basis: 100%; }                                               /* the account name gets the full width; its button goes under it */
  a.menurow { flex-wrap: wrap; gap: 6px; } a.menurow .pill { margin-left: 0; }       /* a job's stage goes under its name, not squeezed beside it */
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 14px 0; border-bottom: 1px solid var(--line, #e3e6e1); }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack td { padding: 3px 0; border: 0; }
  table.stack td.when { font-size: 12px; } table.stack td.when .sub { display: inline; margin-left: 6px; }
  table.stack td:empty { display: none; }
  table.stack td form { margin-top: 8px; }
}
/* A table that is wider than its card on a small laptop or a tablet held sideways stacks the same way, so its last column (often the button) is never cut off.
   base.html measures each table and marks the ones that do not fit with "nofit" (audit 19 Nov 2026: "Accept" and "Add" were cut off at a 1024-wide window). */
table.autostack.nofit td[data-label]::before, table.leadt.nofit td[data-label]::before { content: attr(data-label) ": "; color: var(--muted, #6b746d); font-weight: 400; }
table.autostack.nofit td.n { text-align: left; } table.autostack.nofit td.b a { max-width: none !important; }
table.stack.nofit thead { display: none; }
table.stack.nofit, table.stack.nofit tbody, table.stack.nofit tr, table.stack.nofit td { display: block; width: 100%; }
table.stack.nofit tr { padding: 14px 0; border-bottom: 1px solid var(--line, #e3e6e1); } table.stack.nofit tr:last-child { border-bottom: 0; }
table.stack.nofit td { padding: 3px 0; border: 0; overflow-wrap: anywhere; } table.stack.nofit td:empty { display: none; } table.stack.nofit td form { margin-top: 8px; }

/* The job page: what has changed, in plain words */
.change { padding: 14px 0; border-top: 1px solid var(--line); } .change:first-of-type { border-top: 0; padding-top: 6px; }
.change .who { font-size: 13px; color: var(--muted); } .change .who b { color: var(--green); font-weight: 600; }
.change .why { font-size: 14px; margin-top: 4px; font-style: italic; }
table.was { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 14px; }
table.was th { text-align: left; font-weight: 500; color: var(--muted); width: 150px; padding: 5px 12px 5px 0; vertical-align: top; }
table.was td { padding: 5px 0; vertical-align: top; white-space: pre-line; border: 0; }
table.was td.old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(92,107,96,.45); width: 36%; }
table.was td.arrow { width: 28px; text-align: center; color: var(--muted); } table.was td.new { font-weight: 500; }
@media (max-width: 760px) {
  table.was, table.was tbody, table.was tr, table.was th, table.was td { display: block; width: 100%; }
  table.was tr { padding: 6px 0; } table.was th { padding: 0; font-size: 12px; } table.was td { padding: 1px 0; } table.was td.arrow { display: none; }
  table.was td.old { width: 100%; } table.was td.new::before { content: "→ "; color: var(--muted); font-weight: 400; }
}
table.was th, table.was td { border: 0 !important; } table.was th { font-size: 13px; }

/* Given free: each thing given at no charge on a job, as its own line */
.freeline { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.freeline b { font-weight: 600; } .freeline .worth { font-weight: 600; white-space: nowrap; } .freeline .worth em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 13px; }
.formgrid.freeadd { grid-template-columns: 1.4fr 1fr 1.4fr auto; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
@media (max-width: 820px) { .formgrid.freeadd > button, .formgrid.resignform > button, .formgrid.signadd > button { margin-top: 18px; } .formgrid.freeadd { grid-template-columns: 1fr; } .freeline { grid-template-columns: 1fr auto; } .freeline form { grid-column: 1 / -1; } .freeline > div { min-width: 0; overflow-wrap: break-word; } .freeline .pill { white-space: normal; display: inline-block; } }

/* CleanieSign on the job page */
.formgrid.signadd { grid-template-columns: 1.3fr 1fr 1.6fr; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; align-items: end; }
.formgrid.signadd button { justify-self: start; }
.line.signlink { background: var(--pale); border-radius: 12px; padding: 12px 14px; margin: 6px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.line.signlink input { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.line.signlink span { font-size: 12px; color: var(--muted); }
@media (max-width: 820px) { .formgrid.signadd { grid-template-columns: 1fr; } }
.freeline details.resign { grid-column: 1 / -1; } details.resign summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--green, #022011); } .formgrid.resignform { grid-template-columns: 1fr 1fr auto; align-items: end; margin-top: 10px; } .formgrid.resignform .note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 820px) { .formgrid.resignform { grid-template-columns: 1fr; } }
h2.csword span { color: #deef65; -webkit-text-stroke: 1px #022011; paint-order: stroke fill; }   /* the name on white: Sign in lime with a thin dark green edge (Daniel, 14 Nov 2026 02:03) */
.signwait { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.signwait b { font-weight: 600; } .signwait .signnow { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--pale, #eef3e6); border-radius: 12px; padding: 12px 14px; }
.signwait details.resign { grid-column: 1 / -1; } label.tick { display: flex; flex-direction: row; gap: 10px; align-items: center; font-weight: 500; flex: 1 1 320px; }
label.tick input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--green, #022011); }
.formgrid.backform { grid-template-columns: 1fr auto; align-items: end; margin-top: 10px; }
@media (max-width: 820px) { .signwait { grid-template-columns: 1fr; } .formgrid.backform { grid-template-columns: 1fr; } }
.side nav details.grp { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.side nav details.grp > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #c9d3cd; }
.side nav details.grp > summary::-webkit-details-marker { display: none; }
.side nav details.grp > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #8fa598; border-bottom: 2px solid #8fa598; transform: rotate(-45deg); transition: transform .15s; }
.side nav details.grp[open] > summary::after { transform: rotate(45deg); }
.side nav details.grp > summary:hover { background: #0a3a22; color: #fff; }
.side nav details.grp[open] > summary { color: #fff; }
.side nav details.grp > a { margin-left: 8px; }
.formgrid.letterform { grid-template-columns: 1fr 1fr 1fr; align-items: end; } .formgrid.letterform .wide { grid-column: 1 / -1; } .formgrid.letterform button { justify-self: start; grid-column: 1 / -1; }
.formgrid.letterform textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; line-height: 1.5; resize: vertical; }
@media (max-width: 820px) { .formgrid.letterform { grid-template-columns: 1fr; } }
.formgrid.three { grid-template-columns: 1fr 1fr 1fr; align-items: end; } .formgrid.three .wide { grid-column: 1 / -1; }
.formgrid.six { grid-template-columns: repeat(6, 1fr); align-items: end; } .formgrid.six .span2 { grid-column: span 2; } .formgrid.six .span4 { grid-column: span 4; }
.optline { padding: 12px 0; border-top: 1px solid var(--line); } .propform textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
.proptable td.num, .proptable th.num { text-align: right; white-space: nowrap; } .proptable tr.sum td { color: var(--muted); } .proptable tr.sum.strong td { color: var(--green); font-weight: 600; }
.card .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 14px; } ul.warnlist { margin: 8px 0 0; padding-left: 20px; color: var(--warn); font-size: 14px; } ul.warnlist li { margin: 4px 0; }
.crumbs { margin: 14px 0 0; font-size: 14px; } .crumbs a { color: #fff; font-weight: 600; }
@media (max-width: 820px) { .formgrid.three, .formgrid.six { grid-template-columns: 1fr 1fr; } .formgrid.six .span2, .formgrid.six .span4 { grid-column: 1 / -1; } }

.formgrid.seven { grid-template-columns: repeat(7, 1fr); align-items: end; } .formgrid.seven .span2 { grid-column: span 2; }
@media (max-width: 820px) { .formgrid.seven { grid-template-columns: 1fr 1fr; } .formgrid.seven .span2 { grid-column: 1 / -1; } }

.formgrid.letterform .two { grid-column: span 2; }
@media (max-width: 820px) { .formgrid.letterform .two { grid-column: auto; } }

/* The proposal form: the live form's guidance under each question, in the job form's style (14 Nov 2026). */
.propform label small { font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.45; }
.propform input:focus, .propform select:focus, .propform textarea:focus { outline: none; border-color: var(--surface); box-shadow: 0 0 0 3px rgba(222,239,101,.55); }
.propform ::placeholder { color: #9aa79e; }
.propform .formgrid.three { align-items: start; } .propform .formgrid .all { grid-column: 1 / -1; } .propform .formgrid.three .span2of3 { grid-column: span 2; }
.propform .helpbox { background: #f6f7f1; border-radius: 12px; padding: 12px 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); } .propform .helpbox > b { color: var(--green); font-size: 13px; }
.propform .helpbox ul { margin: 6px 0 0; padding-left: 18px; } .propform .helpbox li { margin-top: 3px; } .propform .helpbox li b { color: var(--green); font-weight: 600; }
.propform [hidden] { display: none; }
@media (max-width: 820px) { .propform .formgrid.three { grid-template-columns: 1fr; } .propform .formgrid.three .span2of3 { grid-column: 1 / -1; } }

/* terms and conditions card (030): the status is plain words with a dot, so it is never mistaken for a button (Daniel 14 Nov 2026 20:02) */
.tstatus { font-size: 13px; color: var(--muted); white-space: nowrap; }
.tstatus b { color: var(--ink, #022011); }
.tstatus i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #c1aa82; margin-right: 8px; }
.tstatus i.ok { background: #0a3a22; } .tstatus i.bad { background: #8f3513; }
.tfacts { margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.tform { display: flex; flex-direction: column; gap: 14px; } .tsub { margin-top: 4px; }

/* Clarity sweep, 15 Nov 2026 (Daniel: links and prompts must be easy to see and understand, across the system) */
.stepnote { margin: -4px 0 14px; }
/* 1. A link in a page reads as a link: the lighter brand green, underlined. Buttons, tiles, chips and the menus keep their own look. */
.card a:not(.btn):not(.tile):not(.chip):not(.menurow):not(.lateitem):not(.client) { color: #1A5C37; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.card a:not(.btn):hover { color: var(--green); }
a.client { color: #1A5C37; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.head p a { text-decoration: underline; text-underline-offset: 3px; }   /* only links in the heading's sentence; the chips under it keep their own colours */
/* 2. A line that opens more is a button with an arrow, and what it opens sits in a pale panel. The side menu's groups are not touched. */
main details:not(.grp) > summary, .card details:not(.grp) > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 20px; border-radius: 999px; background: var(--surface); color: var(--lime); font-weight: 600; font-size: 14px; }
main details:not(.grp) > summary::-webkit-details-marker, .card details:not(.grp) > summary::-webkit-details-marker { display: none; }
main details:not(.grp) > summary::after, .card details:not(.grp) > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg); margin-top: -3px; }
main details:not(.grp)[open] > summary::after, .card details:not(.grp)[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
main details:not(.grp)[open], .card details:not(.grp)[open] { background: var(--pale); border-radius: 18px; padding: 14px 16px 16px; }
/* 3. A pressed button says so, and cannot be pressed twice. */
button.busy, .btn.busy { opacity: .75; pointer-events: none; }
button.busy::before, .btn.busy::before { content: ""; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; vertical-align: -2px; animation: ctspin .7s linear infinite; }
@keyframes ctspin { to { transform: rotate(360deg); } }

/* 4. The '?' on a page, and what it opens. */
.pagehelp { margin: 18px 36px 0; background: #fff; border: 2px solid var(--surface); border-radius: 18px; padding: 20px 24px; }
.pagehelp h2 { margin: 0 0 8px; } .pagehelp ul { margin: 8px 0 10px; padding-left: 20px; } .pagehelp li { margin: 6px 0; line-height: 1.5; }
.pagehelp a { color: #1A5C37; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 820px) { .pagehelp { margin: 14px 16px 0; } }
/* 5. Start Here: its own look, so the way in does not read like one more page of white cards (Daniel, 15 Nov 2026: too much looks the same). */
.st { display: flex; flex-direction: column; gap: 34px; }
.st h2 { font: 400 30px/1.05 "Anton", sans-serif; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 14px; color: var(--green); }
.st-quiet { color: var(--muted); font-size: 14px; }
.st-intro { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; padding: 6px 4px 0; }
.st-intro h2 { font-size: 64px; line-height: .98; margin: 0; } .st-intro p { margin: 0 0 12px; font-size: 17px; line-height: 1.6; max-width: 62ch; }
.st-road { background: var(--grad); border-radius: 18px; padding: 30px 34px 34px; color: #fff; }
.st-road h2 { color: #fff; }
.st-road ol { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; position: relative; }
.st-roadtop { display: flex; align-items: center; gap: 20px; } .st-roadtop h2 { margin: 0; } .st-roadtop > div { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; } .st-roadtop a.btn.small.line { background: none; border: 1.5px solid var(--lime); color: var(--lime); }
.st-road ol::before { content: ""; position: absolute; left: 18px; right: calc(100% / 6 - 40px); top: 18px; border-top: 2px dashed rgba(222,239,101,.55); }
.st-road li { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.st-road .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--green); font: 400 19px "Anton", sans-serif; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px #0c3a23; margin-bottom: 14px; }
.st-road b { font-size: 15px; color: var(--lime); white-space: nowrap; } .st-road p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: #dfe8e1; }
.st-road a.btn.small { min-height: 36px; padding: 0 14px; margin-top: auto; }
.st-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 16px; }   /* eight tiles, all the same size (Daniel, 15 Nov 2026, 13:00: uniformity on a page) */
.st-bento .tile { border-radius: 18px; padding: 22px 22px 20px; }
.st-bento svg { width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.st-bento b { display: block; white-space: nowrap; font: 400 21px/1.1 "Anton", sans-serif; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 8px; color: var(--green); }
.st-bento p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #2f4337; max-width: 60ch; }
.st-bento .tile { background: #fff; box-shadow: var(--shadow); border-top: 5px solid var(--gold); min-height: 0; }
.st-bento .tile.lead { background: var(--surface); border-top-color: var(--lime); } .st-bento .tile.lead b { color: var(--lime); } .st-bento .tile.lead p { color: #e6eee8; } .st-bento .tile.lead svg { stroke: var(--lime); }
.st-soon { margin: 16px 2px 0; font-size: 14px; color: var(--muted); } .st-soon b { color: var(--green); margin-right: 8px; }
.st-where { background: #fff; border-radius: 18px; padding: 28px 32px 30px; }   /* white, with underlined names, as Daniel chose on 15 Nov 2026 at 13:30 after seeing it in beige and as rows */
.st-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 40px; margin-top: 18px; }
.st-groups h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--green); padding-bottom: 8px; border-bottom: 2px solid var(--lime); }
.st-groups ul { list-style: none; margin: 0; padding: 0; } .st-groups li { padding: 8px 0; border-bottom: 1px solid var(--line); } .st-groups li:last-child { border-bottom: 0; }
.st-groups a { color: #1A5C37; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; } .st-groups span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.st-know { background: var(--lime); border-radius: 18px; padding: 28px 32px; }
.st-know ul { list-style: none; margin: 0 0 14px; padding: 0; columns: 2; column-gap: 44px; }
.st-know li { break-inside: avoid; position: relative; padding: 0 0 14px 30px; line-height: 1.5; }
.st-know li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); }
.st-know li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid var(--lime); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.st-know p { margin: 0; font-size: 14px; color: var(--surface); }
@media (max-width: 1100px) { .st-bento { grid-template-columns: 1fr 1fr; } .st-road ol { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } .st-road ol::before { display: none; } .st-groups { grid-template-columns: 1fr 1fr; } .st-intro h2 { font-size: 48px; } }
@media (max-width: 820px) { .st-intro, .st-groups { grid-template-columns: 1fr; } .st-road ol { grid-template-columns: 1fr; } .st-bento { grid-template-columns: 1fr; grid-auto-rows: auto; } .st-know ul { columns: 1; } .st-intro h2 { font-size: 40px; } }

/* 6. Navigation approved 15 Nov 2026, 12:09: the green heading runs the full width and carries the logo; on a laptop the menu sits beneath it on the page, with no dark slab;
      on a phone the menu is a button at the top right that opens a full-screen green menu with the fade, as cleanie.ae's does. */
.head { border-radius: 0 0 28px 28px; padding: 20px 36px 30px; }
.ub { display: flex; align-items: center; margin-bottom: 16px; } .ublogo { display: block; line-height: 0; } .ublogo img { height: 62px; width: auto; display: block; }
.ub .who { margin-left: auto; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px 0 5px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 13px; white-space: nowrap; }
.ub .who b { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.ub .helpq { margin-left: 12px; height: 42px; min-height: 0; padding: 0 18px 0 6px; border: 0; border-radius: 999px; background: var(--lime); color: var(--green); font: 600 13px "Poppins", sans-serif; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ub .helpq i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 15px; } .ub .helpq.open { background: #fff; }
.burger { display: none; }
.side { width: 244px; background: transparent; padding: 26px 8px 22px 28px; }
.side nav a { color: var(--green); } .side nav a.on { background: var(--surface); color: var(--lime); }
.side nav a.later { color: #7a877e; } .side nav a.later span { color: #7a877e; } .side nav a.later.on, .side nav a.later.on span { color: var(--lime); }
.side nav details.grp { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; }
.side nav details.grp > summary { color: var(--green); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.side nav details.grp > summary::after { border-color: var(--green); } .side nav details.grp > summary:hover { background: var(--pale); color: var(--green); } .side nav details.grp[open] > summary { color: var(--green); }
.side nav a:not(.on):hover { background: var(--pale); }
.ov { position: fixed; inset: 0; z-index: 50; background: var(--grad); padding: 16px 18px 22px; display: flex; flex-direction: column; overflow-y: auto; } .ov[hidden] { display: none; }
.ovtop { display: flex; align-items: center; margin-bottom: 22px; } .ovtop img { height: 44px; }
.ovx { margin-left: auto; width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; background: none; border: 1.5px solid rgba(255,255,255,.55); color: #fff; font: 600 17px "Poppins", sans-serif; cursor: pointer; }
.ov nav { display: flex; flex-direction: column; }
.ov a.ovrow, .ov details.ovg > summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.16); font: 400 19px "Anton", sans-serif; text-transform: uppercase; letter-spacing: .02em; color: #fff; text-decoration: none; list-style: none; cursor: pointer; }
.ov details.ovg > summary::-webkit-details-marker { display: none; } .ov a.ovrow.on, .ov details.ovg[open] > summary { color: var(--lime); }
.ov details.ovg > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg); margin-right: 6px; } .ov details.ovg[open] > summary::after { transform: rotate(-135deg); margin-top: 6px; }
.ovkids { margin: 10px 0 12px 4px; padding: 2px 0 2px 16px; border-left: 2px solid var(--lime); display: flex; flex-direction: column; }
.ovkids a { color: #fff; font-size: 16px; padding: 9px 0; display: flex; align-items: center; gap: 10px; text-decoration: none; } .ovkids a.on { color: var(--lime); font-weight: 600; } .ovkids a.later { color: #b5c7bb; }
.ovkids em { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; border: 1px solid #7d9486; border-radius: 999px; padding: 2px 8px; }
.ovfoot { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.ovfoot a { height: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; text-decoration: none; }
.ovstart { border: 1.5px solid var(--lime); color: var(--lime); } .ovlog { background: var(--lime); color: var(--green); }
.ovwho { margin: 6px 0 0; text-align: center; font-size: 13px; color: #cfdcd3; }
.helpline { display: none; }
@media (max-width: 820px) {
  .head { padding: 16px 18px 24px; } .ub { margin-bottom: 14px; } .ublogo img { height: 44px; } .ub .who, .ub .helpq { display: none; }
  .burger { margin-left: auto; width: 44px; height: 44px; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; background: none; border: 0; padding: 0 2px; cursor: pointer; }
  .burger i { display: block; width: 26px; height: 2.5px; border-radius: 2px; background: #fff; }
  .side { display: none; } .body { margin-top: 18px; }
  .helpline { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 38px; padding: 0 16px 0 5px; border: 0; border-radius: 999px; background: var(--lime); color: var(--green); font: 600 13px "Poppins", sans-serif; cursor: pointer; }
  .helpline i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 14px; }
}
@media (min-width: 821px) { .ov { display: none !important; } }

#photos a { overflow-wrap: anywhere; }   /* the photo page address is long: it wraps on a phone and no longer pushes the page sideways (found 15 Nov 2026 in the every-page check) */

/* 7. Colour and life, approved 15 Nov 2026, 12:24 (Daniel: staff are on this all day; it should be a pleasure, not monotonous). Lime stays for the one thing most worth pressing; tables of figures stay on white. */
.qa { background: var(--grad); border-radius: 18px; padding: 26px 30px; display: flex; align-items: center; gap: 28px; color: #fff; }
.qa h2 { font: 400 30px/1.05 "Anton", sans-serif; text-transform: uppercase; color: #fff; margin: 0; flex: none; max-width: 230px; }
.qa > div:not(.qatext) { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.qa a { height: 46px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; text-decoration: none; border: 1.5px solid var(--lime); color: var(--lime); }
.qa a.go { background: var(--lime); color: var(--green); }
.tiles .tile { box-shadow: none; border-radius: 18px; padding: 22px 22px 20px; position: relative; min-height: 138px; }
.tiles .tile:not(.warn) { background: #fff; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.tiles .tile:not(.warn):first-child { background: var(--surface); border-top-color: var(--lime); } .tiles .tile:not(.warn):first-child b { color: var(--lime); } .tiles .tile:not(.warn):first-child span { color: #fff; }
.tiles a.tile:not(.warn):first-child::after { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23022011' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }
.tiles .tile b { font-size: 56px; } .tiles .tile span { font-size: 14px; }
.tiles a.tile { padding-right: 62px; }
.tiles a.tile::after { content: ""; position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23deef65' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/18px no-repeat; }
/* A side panel that only tells you something (no boxes to fill, no table) takes a brand tone; anything you type into or read figures from stays white. */
.cols .narrow > .card:not(:has(form, table, input, select, textarea)), .dash .cols .wide > .card:not(:has(form, table, input, select, textarea)) { border-top: 5px solid var(--gold); }
.qa p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #dfe8e1; max-width: 46ch; } .qa .qatext { flex: 1 1 auto; min-width: 0; } .qa .qatext h2 { max-width: none; }
@media (max-width: 820px) { .qa { flex-direction: column; align-items: stretch; gap: 16px; padding: 22px 18px; } .qa h2 { max-width: none; font-size: 26px; } .qa > div:not(.qatext) { margin-left: 0; } .qa a { flex: 1 1 calc(50% - 5px); justify-content: center; padding: 0 12px; }
  .tiles .tile { min-height: 120px; padding: 18px 16px; } .tiles .tile b { font-size: 44px; } .tiles a.tile { padding-right: 52px; } .tiles a.tile::after { right: 12px; top: 12px; width: 30px; height: 30px; } }

/* Corners: the website's large blocks are rounded at 18, so every panel here is 18 too (Daniel, 15 Nov 2026, 12:34: keep as close to cleanie.ae as possible). Buttons stay full pills, as on the website. */

/* 8. The bottom bar on a phone is the Cleanie App's own, as on the staff phone pages: dark green, a symbol above each word, the current page in lime, and the thing done most (Log A Job) raised in a lime circle in the middle, as Pay is in the app (Daniel, 15 Nov 2026, 12:45). Values from phone.css .tabs. */
.tabbar svg { display: none; }
@media (max-width: 820px) {
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; background: var(--surface); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); z-index: 20; }
  .tabbar a { min-height: 0; flex-direction: column; gap: 3px; font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,.6); }
  .tabbar svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.on { color: var(--lime); }
  .tabbar a.tabmid { color: #fff; } .tabbar a.tabmid.on { color: var(--lime); }
  .tabbar a.tabmid .pp { width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: var(--surface); display: grid; place-items: center; margin-top: -22px; box-shadow: 0 0 0 4px var(--surface); }
  .tabbar a.tabmid .pp svg { stroke-width: 2.4; }
}

/* 9. A page opens with one big line and, beside it, the sentence saying what the page is for, as Start Here does. The sentence used to sit small in the green heading, where it went unread. */
.pgintro { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; padding: 8px 4px 2px; }
.pgintro h2 { font: 400 50px/1 "Anton", sans-serif; text-transform: uppercase; letter-spacing: .01em; margin: 0; color: var(--green); }
.pgintro p { margin: 0; font-size: 17px; line-height: 1.6; max-width: 62ch; color: var(--green); }
@media (max-width: 1100px) { .pgintro h2 { font-size: 40px; } } @media (max-width: 820px) { .pgintro { grid-template-columns: 1fr; gap: 10px; } .pgintro h2 { font-size: 34px; } .pgintro p { font-size: 15px; } }
.pgintro { margin-bottom: 22px; }
.pgsteps { background: var(--grad); border-radius: 18px; padding: 26px 30px 28px; color: #fff; margin-bottom: 22px; display: grid; grid-template-columns: 196px 1fr; gap: 20px; align-items: center; }
.pgsteps h2 { color: #fff; margin: 0; font: 400 33px/1 "Anton", sans-serif; text-transform: uppercase; white-space: nowrap; }
.pgsteps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (min-width: 821px) { .pgsteps ol:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* a band of two fills the width on a laptop; on a phone every band stacks (page lock, Daniel APPROVE 21 Nov 2026) */
.pgsteps li { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: start; }
.pgsteps .dot { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--green); font: 400 19px "Anton", sans-serif; display: flex; align-items: center; justify-content: center; }
.pgsteps b { font-size: 15px; color: var(--lime); white-space: nowrap; } .pgsteps p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: #fff; }
@media (max-width: 1100px) { .pgsteps { grid-template-columns: 1fr; gap: 18px; } } @media (max-width: 820px) { .pgsteps { padding: 22px 20px; } .pgsteps ol { grid-template-columns: 1fr; gap: 16px; } .pgsteps h2 { font-size: 28px; } }

/* 10. Start Here: the Claude section, a whole beige section as cleanie.ae has one. */
.st-claude { background: #fff; box-shadow: var(--shadow); border-radius: 18px; padding: 34px; color: var(--surface); display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.st-claude h2 { font: 400 44px/1 "Anton", sans-serif; text-transform: uppercase; margin: 0 0 12px; color: var(--surface); }
.st-claude > div p { margin: 0; font-size: 16px; line-height: 1.6; }
.st-claude ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.st-claude li { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; background: var(--surface); border: 1px solid rgba(2,32,17,.22); box-shadow: 0 16px 36px -20px rgba(2,32,17,.55); border-radius: 18px; padding: 16px 18px; }
.st-claude .dot { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--surface); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.st-claude b { font-size: 16px; color: #fff; } .st-claude li p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.74); }
@media (max-width: 820px) { .st-claude { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; } .st-claude h2 { font-size: 34px; } }

/* 11. The side menu's two cards (15 Nov 2026): the lime "Got An Idea?" box, exactly as wide as a menu item's highlight with its button centred, and Handy Numbers under it. Laptop only: the phone has no side menu. */
.sidex { display: grid; gap: 14px; }
.ideabox { background: var(--lime); color: var(--green); border-radius: 18px; padding: 18px 16px 16px; }
.ideabox b, .handy > b { display: block; font: 400 22px Anton, sans-serif; text-transform: uppercase; }
.ideabox p { margin: 6px 0 14px; font-size: 13px; line-height: 1.45; color: var(--green); }
.ideabox .btn { display: flex; justify-content: center; width: 100%; margin: 0; background: var(--green); color: #fff; }
.handy { background: #fff; border: 1px solid #dfe3dc; border-radius: 18px; padding: 16px 16px 6px; color: var(--green); }
.handy > b { font-size: 20px; margin-bottom: 8px; }
.handy div { padding: 9px 0; border-top: 1px solid #dfe3dc; }
.handy span { display: block; font-size: 11.5px; color: #5c6b60; }
.handy strong { display: block; font-size: 13.5px; font-weight: 600; }
.handy a { display: block; font-size: 13.5px; color: var(--green); text-decoration: none; }
.formgrid.ideaform { grid-template-columns: 1fr; max-width: 720px; align-items: start; } .ideaform select { max-width: 340px; } .ideaform textarea { min-height: 170px; } .ideaform button { justify-self: start; }
.ideasent p { max-width: 62ch; margin: 0; } .ideasent p + p { display: flex; gap: 10px; flex-wrap: wrap; }

/* 12. Company Documents (look approved by Daniel 15 Nov 2026 16:07, with the DWC branch group as drawn after): groups of documents to tick on the left, the Send These panel on the right. */
.cd { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.cd h3 { font: 400 22px/1 "Anton", sans-serif; text-transform: uppercase; margin: 0 0 12px; color: var(--green); }
.cd .grp { background: #fff; border-radius: 18px; padding: 20px 22px 8px; box-shadow: var(--shadow); margin-bottom: 18px; }
.cd .row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 172px 64px; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); cursor: pointer; position: relative; color: var(--green); font-size: 14px; font-weight: 400; margin: 0; }
.cd .row input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.cd .row b { font-size: 15px; font-weight: 600; color: var(--green); display: block; } .cd .row .d { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }
.cd .tick { width: 24px; height: 24px; border-radius: 7px; border: 2px solid #8da396; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--green); }
.cd .row input:focus-visible + .tick { outline: 3px solid var(--lime); outline-offset: 2px; }
.cd .row.on { background: var(--pale); margin: 0 -22px; padding-left: 22px; padding-right: 22px; } .cd .row.on .tick { background: var(--lime); border-color: var(--surface); } .cd .row.on .tick::before { content: "✓"; }
.cd .row.off { cursor: default; } .cd .row.off input { cursor: default; } .cd .row.off .tick { border-style: dashed; background: var(--paper); } .cd .row.off b { color: var(--muted); font-weight: 500; }
.cd .st { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; justify-self: start; white-space: nowrap; }
.cd .st.ok { background: var(--okbg); color: var(--surface); } .cd .st.soon { background: var(--warnbg); color: var(--warn); } .cd .st.expired { background: var(--warn); color: #fff; }
.cd .open { font-size: 13.5px; font-weight: 600; text-decoration: underline; justify-self: end; white-space: nowrap; position: relative; }
.cd .send { background: var(--grad); color: #fff; border-radius: 18px; padding: 22px; position: sticky; top: 18px; }
.cd .send h3 { color: #fff; margin-bottom: 4px; } .cd .send .n { color: var(--lime); font-size: 13.5px; font-weight: 600; margin: 0 0 12px; }
.cd .send ul { list-style: none; margin: 0 0 16px; padding: 0; } .cd .send li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.16); font-size: 13.5px; line-height: 1.4; }
.cd .send li span { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.cd .send label { display: block; font-size: 12.5px; color: #dfe8e1; margin: 10px 0 0; }
.cd .send input, .cd .send textarea { display: block; width: 100%; margin-top: 5px; border: 0; border-radius: 12px; padding: 11px 13px; font: inherit; font-size: 14px; background: #fff; color: var(--green); }
.cd .send textarea { height: 92px; resize: none; line-height: 1.5; }
.cd .send .go { display: flex; justify-content: center; width: 100%; margin-top: 16px; background: var(--lime); color: var(--green); border: 0; border-radius: 999px; padding: 14px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.cd .send small { display: block; margin-top: 12px; font-size: 12px; line-height: 1.5; color: #dfe8e1; }
.card.cdsent { box-shadow: 0 0 0 2px var(--lime), var(--shadow); } .card.cdoff h2, .card.cdsent h2 { margin-top: 0; }
@media (max-width: 1100px) { .cd { grid-template-columns: 1fr; } .cd .send { position: static; } }
@media (max-width: 560px) { .cd .grp { padding: 18px 16px 6px; } .cd .row { grid-template-columns: 26px minmax(0, 1fr) auto; } .cd .row .st { grid-column: 2; grid-row: 2; margin-top: -6px; } .cd .row .open { grid-column: 3; grid-row: 1 / span 2; } .cd .row.on { margin: 0 -16px; padding-left: 16px; padding-right: 16px; } }

/* 13. Equipment Register (built plainly on the existing card, form and table patterns, 15 Nov 2026; not yet looked at by Daniel). */
.formgrid.eqform { align-items: start; } .formgrid.eqform .w2 { grid-column: span 2; } .formgrid.eqform .w4 { grid-column: 1 / -1; }
.card.eqnote { box-shadow: 0 0 0 2px var(--lime), var(--shadow); } .card.eqnote h2 { margin-top: 0; }
table.eqlist td.b a { font-weight: 600; } .kvs { margin: 12px 0 0; }
@media (max-width: 820px) { .formgrid.eqform .w2 { grid-column: auto; } }
/* 14. The idea box and Handy Numbers in the phone menu (drawn 15 Nov 2026 evening; NOT yet approved by Daniel): the same two cards as the laptop's side menu, under the menu's groups. */
/* (15 Nov 2026 23:52, Daniel: the idea box and Handy Numbers cards do not belong in the phone menu. They are two plain rows there now; the cards stay in the laptop's side menu.) */
/* 15. Ideas From The Team: each idea answered in one press (built plainly 15 Nov 2026 evening; not yet looked at by Daniel). */
.ideaitem { border-top: 1px solid var(--line); padding: 16px 0 14px; } .ideaitem .who { margin: 0 0 6px; font-size: 13px; color: var(--muted); } .ideaitem .who b { color: var(--green); }
.ideaitem .said { margin: 0 0 12px; font-size: 15px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; } .ideaitem .ans { margin: 0 0 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ideaans { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .ideaans.again { opacity: .9; } .ideaitem.just { background: var(--pale); margin: 0 -22px; padding-left: 22px; padding-right: 22px; }
@media (max-width: 560px) { .ideaans button { flex: 1 1 100%; } .ideaitem.just { margin: 0 -16px; padding-left: 16px; padding-right: 16px; } }

/* 16. Technical works and AMC proposal (15 Nov 2026): the scope of work shown as it will print */
.scopeshown { white-space: pre-wrap; margin: 10px 0 0; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.55; color: var(--green); }
.formgrid.six .span3 { grid-column: span 3; } @media (max-width: 820px) { .formgrid.six .span3 { grid-column: 1 / -1; } }
.formgrid.six .span5 { grid-column: span 5; } @media (max-width: 820px) { .formgrid.six .span5 { grid-column: 1 / -1; } }   /* the short quote: a wide line for what the work is, a narrow one for its price */
@media (max-width: 820px) { .row.cvrow { flex-wrap: wrap !important; width: 100%; } .row.cvrow label { flex-direction: column !important; align-items: flex-start !important; width: 100%; } .row.cvrow input[type=file] { max-width: 100% !important; width: 100%; } .row.cvrow button { margin: 10px 0 8px; } }   /* Candidates on a phone: Start from a CV, the file and the button sit on their own lines, so nothing runs off the screen (audit 19 Nov 2026) */

/* 17. Help, and help requests (built plainly 15 Nov 2026 late evening; not yet looked at by Daniel). The guide prints as a clean document. */
details.stuck { border-top: 1px solid var(--line); padding: 12px 0; } details.stuck summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--green); } details.stuck p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--green); }
.guidepage { border-top: 1px solid var(--line); padding: 12px 0; break-inside: avoid; } .guidepage b { font-size: 15px; color: var(--green); } .guidepage p { margin: 4px 0 6px; font-size: 14px; line-height: 1.55; }
.guidepage ol { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.ticket { border-top: 1px solid var(--line); padding: 14px 0; } .ticket .who { margin: 0 0 6px; font-size: 13px; color: var(--muted); } .ticket .who b { color: var(--green); }
.ticket .said { margin: 0 0 10px; font-size: 15px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; } .ticket .ans { margin: 0 0 10px; padding: 12px 14px; background: var(--pale); border-radius: 12px; font-size: 14px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.ticketform textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
@media print { .noprint, header nav, aside, .side, .menu, .tabs, .ovbtn, .bottombar { display: none !important; } .card.guide { box-shadow: none; border: 0; padding: 0; } body { background: #fff; } }

/* 18. Handy Numbers as its own small page, reached from the phone menu (15 Nov 2026 late; not yet looked at by Daniel). */
.contactrow { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 2px; } .contactrow span { font-size: 12.5px; color: var(--muted); } .contactrow strong { font-size: 16px; color: var(--green); } .contactrow a { font-size: 16px; font-weight: 600; }
/* 19. Help on a phone (Daniel, 16 Nov 2026 00:01: "it's just too long"): the guide folds by part of the menu. The fold-outs keep the system's own look for a
   fold-out (the dark pill of section 9, `main details:not(.grp) > summary`); a different look here would be a design change, which is Daniel's to make. */
details.fold { border-top: 1px solid var(--line); padding: 12px 0; } details.fold > summary em { font-style: normal; font-weight: 400; font-size: 12.5px; opacity: .8; margin-left: 6px; }
details.fold .guidepage:first-of-type { margin-top: 10px; }
/* 20. Help brought into line with the other pages (16 Nov 2026 00:40, after Daniel at 00:30: "rushed and not in line with the other pages built"). DRAFT, NOT YET APPROVED.
   The page now opens as every page does (big line, sentence, How It Works band). The problems and the guide are plain full-width rows, as the phone menu's rows are,
   in place of dark pills of uneven width. Asking for help sits beside the problems on a laptop. Got An Idea? is the side menu's own lime box, shown here only on a phone. */
.faqs { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
main .card details.faq:not(.grp), main .card details.faq:not(.grp)[open] { border-top: 1px solid var(--line); padding: 0; background: none; border-radius: 0; }
main .card details.faq:not(.grp) > summary { display: flex; align-items: center; justify-content: flex-start; gap: 14px; min-height: 56px; padding: 8px 6px 8px 2px; border-radius: 0; background: none; color: var(--green); font-weight: 600; font-size: 15.5px; line-height: 1.35; }
main .card details.faq:not(.grp) > summary::after { border-color: var(--green); flex: none; margin-left: auto; margin-right: 4px; }
main .card details.faq:not(.grp) > summary:hover { background: var(--pale); }
main .card details.faq > summary em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); opacity: 1; margin-left: 0; }
main .card details.faq.stuck > p { margin: 0 2px 18px; font-size: 14.5px; line-height: 1.6; color: var(--green); max-width: 68ch; }
main .card details.faq.stuck > summary { white-space: normal; line-height: 1.35; }      /* a long question wraps: on a phone it ran off the screen and the whole Help page slid sideways (found 20 Nov 2026) */
main .card details.faq.fold > summary { font: 400 20px/1.1 "Anton", sans-serif; text-transform: uppercase; letter-spacing: .01em; }
main .card details.faq.fold > summary em { font-family: "Poppins", sans-serif; text-transform: none; letter-spacing: 0; }
main .card details.faq.fold .guidepage:first-of-type { margin-top: 0; } main .card details.faq.fold .guidepage { padding: 14px 2px; }
.formgrid.helpform { grid-template-columns: 1fr; align-items: start; }
.helpidea { display: none; margin-top: 20px; } .helpidea .btn { width: auto; display: inline-flex; padding: 0 22px; }
@media (max-width: 820px) { .helpidea { display: block; } }
/* 21. A beige card (Daniel, 16 Nov 2026 00:46: a section "could be beige"; 00:49: not Ask For Help, "the white fields are throwing that off"; 00:54: not
   Your Help Requests; "when something's gone wrong … or how each page works. One of those guys."). DRAFT, NOT YET APPROVED. As Start Here's beige section: the lighter
   dark green for words on beige, never the darker one. A beige card holds words and rows only, no boxes to type in. */
.card.beige { background: var(--gold); box-shadow: none; color: var(--surface); }
.card.beige h2, .card.beige .note, .card.beige .note b { color: var(--surface); }
.card.beige .faqs { border-bottom-color: rgba(10,58,34,.3); }
main .card.beige details.faq:not(.grp), main .card.beige details.faq:not(.grp)[open] { border-top-color: rgba(10,58,34,.3); }
main .card.beige details.faq:not(.grp) > summary { color: var(--surface); } main .card.beige details.faq:not(.grp) > summary::after { border-color: var(--surface); }
main .card.beige details.faq:not(.grp) > summary:hover { background: rgba(255,255,255,.22); }
main .card.beige details.faq > summary em, main .card.beige details.faq.stuck > p { color: var(--surface); }
.card.beige .guidepage { border-top-color: rgba(10,58,34,.2); } .card.beige .guidepage b, .card.beige .guidepage p, .card.beige .guidepage ol { color: var(--surface); }
@media print { .card.beige.guide { background: #fff; } }
/* 22. Help: Ask For Help is as tall as When Something Goes Wrong on a laptop (Daniel, 16 Nov 2026 00:57: "so that it's not got a strange gap on the page").
   The two cards stretch to the taller one and the What Happened box takes up the spare height. On a phone they stack, so nothing changes there. DRAFT, NOT YET APPROVED. */
@media (min-width: 821px) {
  .helpcols { align-items: stretch; } .helpcols > .wide > .card, .helpcols > .narrow > .card { flex: 1; }
  .helpcols #ask form { flex: 1; display: flex; flex-direction: column; } .helpcols #ask .formgrid.helpform { flex: 1; grid-template-rows: auto auto 1fr; }
  .helpcols #ask .formgrid.helpform label:last-child { display: flex; flex-direction: column; } .helpcols #ask .formgrid.helpform textarea { flex: 1; resize: none; }
}
/* 23. Ask For Help is the beige section, with its boxes in a lighter beige, not white (Daniel, 16 Nov 2026 01:01: "keep the ask for help beige. A lighter beige
   information fields."). How Each Page Works and When Something Goes Wrong stay white. The button is dark green with lime words so it stands on the beige. DRAFT, NOT YET APPROVED. */
.card.beige label { color: var(--surface); }
.card.beige input, .card.beige select, .card.beige textarea { background: #ebe6da; border-color: rgba(10,58,34,.22);   /* the brand's Cream, #ebe6da (09. Brand Guidelines section 1; also in cleanie.ae's own pages), in place of my own mix #e3d9c7: Daniel, 01:03, "a little tiny bit lighter" */ color: var(--surface); }
.card.beige input::placeholder, .card.beige textarea::placeholder { color: rgba(10,58,34,.6); }
.card.beige input:focus, .card.beige select:focus, .card.beige textarea:focus { border-color: var(--surface); outline: none; }
.card.beige .actions button { background: var(--surface); color: var(--lime); }

/* The Send By WhatsApp button under the private signing link (Daniel, 16 Nov 2026 16:12, picture "... draft 1611"). */
.line.signlink .wasend { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }

/* Start Here intro, approved by Daniel 16 Nov 2026 21:17 ("approved") on the picture "UNAPPROVED - Start Here intro - title 3 lines bigger, text wider, same height - draft 2118".
   Wider screens: the title always on three lines and growing with the screen (66 to 88 px); the text fills the room beside it and grows a little; the two about the same height. Phones unchanged. */
@media (min-width: 821px) {
  .st-intro { grid-template-columns: max-content 1fr; gap: 64px; align-items: stretch; }
  .st-intro h2 span { display: block; }
  .st-intro h2 { font-size: clamp(56px, 5.6vw, 88px); line-height: .96; align-self: center; }
  .st-intro > div { display: flex; flex-direction: column; justify-content: center; }
  .st-intro p { max-width: none; font-size: clamp(17px, 1.25vw, 22px); }
  .st-intro p:last-child { margin-bottom: 0; }
}

/* The red count on the phone bar's Leads tab (Daniel, 16 Nov 2026 22:15, draft 2158). */
.tabbar a { position: relative; } .tabbar .tabcount { position: absolute; top: 4px; left: calc(50% + 6px); background: #c0392b; color: #fff; border-radius: 999px; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; line-height: 16px; text-align: center; padding: 0 4px; }

/* DRAFT 18 Nov 2026, NOT APPROVED: Claude one click away on every page - the badge in the top bar, the button under each title, the owner's list, and Start Here's connect steps */
.ub .clbadge { margin-left: auto; height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 18px 0 14px; border-radius: 999px; font: 600 13px "Poppins", sans-serif; text-decoration: none; white-space: nowrap; }
.ub .clbadge i { width: 10px; height: 10px; border-radius: 50%; }
.ub .clbadge.on { background: rgba(222,239,101,.16); color: var(--lime); } .ub .clbadge.on i { background: var(--lime); box-shadow: 0 0 0 4px rgba(222,239,101,.25); }
.ub .clbadge.off { background: #fff; color: var(--surface); } .ub .clbadge.off i { background: #e0a43a; }
.ub .clbadge + .who { margin-left: 12px; }
.headbtns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.askclaude { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; min-height: 42px; padding: 0 20px 0 6px; border-radius: 999px; background: #fff; color: var(--surface); font: 600 14px "Poppins", sans-serif; text-decoration: none; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.askclaude i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.askclaude:hover { background: var(--lime); }
.st-connect { margin-top: 20px; background: rgba(255,255,255,.55); border-radius: 14px; padding: 16px 18px; }
.st-connect b { display: block; font-size: 15px; margin-bottom: 6px; color: var(--surface); } .st-connect ol { list-style: decimal; margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.6; display: block; } .st-connect li { all: revert; } .st-connect p { font-size: 14px !important; }
.st-try { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-try b { font-size: 15px; margin-right: 6px; color: var(--surface); }
.st-try a { background: var(--surface); color: var(--lime); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; text-decoration: none; }
@media (max-width: 820px) { .ub .clbadge { display: none; } .askclaude { margin-top: 2px; } }
.st-how { grid-column: 1 / -1; background: rgba(255,255,255,.55); border-radius: 14px; padding: 20px 22px; }
.st-how > b { display: block; font: 400 26px/1 "Anton", sans-serif; text-transform: uppercase; color: var(--surface); margin-bottom: 14px; }
.st-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.st-how li { all: unset; display: flex; gap: 12px; align-items: flex-start; } .st-how li span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); color: var(--lime); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.st-how li p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--surface); } .st-how strong { font-weight: 600; }
.st-eg { margin: 16px 0 0; font-size: 14.5px; color: var(--surface); } .st-eg q { font-weight: 600; }
@media (max-width: 820px) { .st-how ol { grid-template-columns: 1fr; } }
/* Try Asking: six equal tiles, three by two, never a lone one on a last line (Daniel, 18 Nov 2026: "I can't stand it when something's uneven") */
.st-try { display: block; } .st-try > b { display: block; font: 400 26px/1 "Anton", sans-serif; text-transform: uppercase; color: var(--surface); margin: 0 0 14px; }
.st-trygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.st-trygrid a { display: flex; align-items: center; min-height: 64px; border-radius: 16px; padding: 12px 18px; font-size: 14px; line-height: 1.4; }
@media (max-width: 820px) { .st-trygrid { grid-template-columns: 1fr; } }
.clhint { margin: 2px 0 0; font-size: 13px; color: rgba(255,255,255,.82); } .clhint b { color: var(--lime); font-weight: 600; } .clhint a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.cl-limits { margin-top: 24px; } .cl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cl-two > div { background: var(--pale); border-radius: 14px; padding: 18px 20px; } .cl-two b { display: block; font-size: 16px; margin-bottom: 8px; color: var(--surface); }
.cl-two ul { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.6; } .cl-two li + li { margin-top: 6px; }
@media (max-width: 820px) { .cl-two { grid-template-columns: 1fr; } }
/* Brought into the design lock, 18 Nov 2026: "Lime is for what you press"; on a beige section cards are solid #0A3A22, white headings, white text at 74% */
.askclaude { background: var(--lime); color: var(--surface); } .askclaude i { background: var(--surface); color: var(--lime); } .askclaude:hover { background: #fff; }
.st-connect, .st-how { background: var(--surface); border: 1px solid rgba(2,32,17,.22); box-shadow: 0 16px 36px -20px rgba(2,32,17,.55); border-radius: 18px; }
.st-connect b, .st-how > b { color: #fff; } .st-connect ol, .st-connect p { color: rgba(255,255,255,.74); }
.st-how li span { background: var(--lime); color: var(--surface); } .st-how li p { color: rgba(255,255,255,.74); } .st-how strong { color: #fff; }
.st-eg { color: rgba(255,255,255,.74); } .st-eg q { color: var(--lime); }
/* Uniformity, 18 Nov 2026 (Daniel: "the same size boxes … I like uniformity"): on a phone, number tiles in a set are all one height, and an odd set never leaves one tile alone on the last row - the first tile (the dark green lead tile) runs the full width instead */
@media (max-width: 820px) { .tiles { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; } .tiles > .tile:first-child:nth-last-child(odd) { grid-column: 1 / -1; } }
/* Uniformity sweep fixes, 18 Nov 2026 (sweep_uniform.py): every set of boxes or buttons fills its rows evenly */
.qa[aria-label="What Do You Want To Do?"] > div { display: grid; grid-template-columns: repeat(3, 1fr); } .qa[aria-label="What Do You Want To Do?"] a { justify-content: center; }
.st-groups { grid-auto-rows: 1fr; }
@media (max-width: 820px) {
  .qa[aria-label="What Do You Want To Do?"] > div { grid-template-columns: 1fr 1fr; }
  .row:has(> .btn + .btn) { flex-wrap: wrap; } .row:has(> .btn + .btn) > .btn { flex: 1 1 100%; justify-content: center; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
}

/* No more than two green sections in a row (Daniel, 18 Nov 2026: "three sections in a row that are green. That shouldn't be happening. Maximum 2 sections."): when number tiles follow a green band, the first tile is white, not the dark green lead tile */
.qa + .tiles .tile:not(.warn):first-child, .pgsteps + .tiles .tile:not(.warn):first-child { background: #fff; border-top-color: var(--gold); }
.qa + .tiles .tile:not(.warn):first-child b, .pgsteps + .tiles .tile:not(.warn):first-child b { color: var(--surface); }
.qa + .tiles .tile:not(.warn):first-child span, .pgsteps + .tiles .tile:not(.warn):first-child span { color: var(--muted); }
.qa + .tiles a.tile:not(.warn):first-child::after, .pgsteps + .tiles a.tile:not(.warn):first-child::after { background-color: var(--surface); }


/* Claude at the foot of every page (18 Nov 2026 03:5x, DRAFT): a white panel, so it never makes a third green section */
.clstrip { margin-top: 28px; background: #fff; border-radius: 18px; border-top: 5px solid var(--gold); box-shadow: var(--shadow); padding: 24px 28px; display: flex; align-items: center; gap: 24px; }
.clstrip h2 { font: 400 26px/1.05 "Anton", sans-serif; text-transform: uppercase; color: var(--surface); margin: 0 0 6px; } .clstrip p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 60ch; }
.clstrip p b { color: var(--surface); } .clstrip p a { color: var(--surface); font-weight: 600; margin-left: 4px; } .clstrip .askclaude { margin-left: auto; flex: none; box-shadow: none; background: var(--surface); color: var(--lime); } .clstrip .askclaude i { background: var(--lime); color: var(--surface); } .clstrip .askclaude:hover { background: var(--green); }   /* A2: dark green with lime words on a white panel; lime does not sit on white */
@media (max-width: 820px) { .clstrip { flex-direction: column; align-items: stretch; padding: 20px 18px; } .clstrip .askclaude { margin-left: 0; justify-content: center; } }


/* Try Asking, draft 0450 (Daniel 04:4x: "a little much on the screen"): one dark card holding six plain links, two columns of three, instead of six heavy tiles */
.st-try { background: var(--surface); border: 1px solid rgba(2,32,17,.22); border-radius: 18px; padding: 20px 24px; box-shadow: 0 16px 36px -20px rgba(2,32,17,.55); }
.st-try > b { color: #fff; font-size: 22px; margin-bottom: 10px; }
.st-trygrid { grid-template-columns: 1fr 1fr; gap: 0 28px; }
.st-trygrid a { background: none; border-radius: 0; min-height: 0; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.88); font-weight: 500; font-size: 14px; justify-content: space-between; gap: 12px; }
.st-trygrid a::after { content: "\2192"; color: var(--lime); font-weight: 600; flex: none; }
.st-trygrid a:hover { color: var(--lime); }
.st-trygrid a:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 820px) { .st-trygrid { grid-template-columns: 1fr; } .st-trygrid a:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); } }


/* Try Asking sits straight on the beige, no card, so the section is not one green block after another (draft 0455) */
.st-try { background: none; border: 0; box-shadow: none; padding: 4px 0 0; }
.st-try > b { color: var(--surface); }
.st-trygrid a { color: var(--surface); border-bottom-color: rgba(10,58,34,.22); font-weight: 600; }
.st-trygrid a::after { color: var(--surface); }
.st-trygrid a:hover { color: var(--green); text-decoration: underline; }
@media (max-width: 820px) { .st-trygrid a:nth-last-child(2) { border-bottom-color: rgba(10,58,34,.22); } }


/* The example under How To Ask gets its own breathing room (Daniel 04:5x: "needs to be one line lower to create a space") */
.st-eg { margin-top: 26px !important; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }

/* The Dashboard's top row holds six tiles since Open Proposals joined it (Daniel, 20 Nov 2026): three to a row on a laptop so the words have room, six in a row on a wide screen, two on a phone */
.tile.money b { white-space: nowrap; } .tile.money b i { font-style: normal; } .tile.money b .short { display: none; } @media (max-width: 820px) { .tile.money b .full { display: none; } .tile.money b .short { display: inline; } }   /* a phone shows a large amount short, 1.24M (Daniel, 20 Nov 2026); never rounded up */
@media (min-width: 821px) and (max-width: 1699px) { .tiles.six { flex-wrap: wrap; } .tiles.six .tile { flex: 1 1 calc(33.333% - 11px); } }
/* HR Letters made plainer, the same way as Log A Job (Daniel, 20 Nov 2026): boxes tinted so they stand out from the card, dark labels, a tag on every box, an example or a plain line with each */
form.letterform label { color: var(--green); font-weight: 600; font-size: 14px; }
form.letterform input[type=text], form.letterform input[type=number], form.letterform input[type=date], form.letterform select, form.letterform textarea { background: #f1f5ec; border-color: #c3cec4; }
form.letterform input:focus, form.letterform select:focus, form.letterform textarea:focus { background: #fff; }
form.letterform ::placeholder { color: #8a988e; font-style: italic; }
form.letterform b.need, form.letterform i.opt { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; white-space: nowrap; }
form.letterform .pickfirst { margin: 0; padding: 14px 16px; border: 1.5px dashed #c3cec4; border-radius: 14px; background: var(--paper); font-size: 13.5px; color: var(--green); }
.nowbox { padding: 16px 18px; border-radius: 14px; background: var(--surface); color: #fff; } .nowbox > b { display: block; color: var(--lime); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.nowbox dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 18px; margin: 12px 0 0; } .nowbox dt { font-size: 12px; color: #c9d6cc; } .nowbox dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; color: #fff; }
.nowbox .gap { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: #fff; } .nowbox .gap a { color: var(--lime); font-weight: 600; }
form.letterform small b.nowline { color: var(--green); font-weight: 600; font-size: 12.5px; } form.letterform small b.nowline.warn { color: var(--warn); }
@media (max-width: 820px) { .nowbox dl { grid-template-columns: 1fr 1fr; } .nowbox dl .wide { grid-column: 1 / -1; } }
form.letterform .formgrid { align-items: start; }
form.letterform .calc.span2of3 { grid-column: span 2; align-self: start; } @media (max-width: 820px) { form.letterform .calc.span2of3 { grid-column: 1 / -1; } } @media (min-width: 821px) { form.letterform .calc.span2of3 { margin-top: 27px; } } form.letterform .calc { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--pale); font-size: 13.5px; line-height: 1.5; color: var(--green); } form.letterform .calc.bad { background: var(--warnbg); color: var(--warn); }
form.letterform b.need { background: var(--surface); color: var(--lime); } form.letterform i.opt { background: var(--pale); color: var(--muted); }
/* PHONE FIXES - sweep 22 Nov 2026, Daniel "must be fixed as a priority". DRAFT, NOT LIVE until he approves the deploy.
   1. The header held the logo (51px high, 288px wide, the screen lock), Sign Out and the menu button; on a 390px phone Sign Out ran 17px off the screen
      and the menu button sat off it altogether. On a phone Sign Out leaves the header: it is already at the foot of the phone menu, under "Signed in as".
      The logo keeps its locked size and place.
   2. A person's page: the two forms side by side (inline grid) stack on a phone.
   3. Roster Load: a long status pill wraps instead of running off the screen. */
@media (max-width: 820px) {
  .ub > form { display: none !important; }
  .grid2 { grid-template-columns: 1fr !important; }
  .pill.big { white-space: normal; max-width: 100%; }
}
/* Phone menu foot (22 Nov 2026, picture shown to Daniel): Sign Out matches Log A Job in size and width, right under it; dark green, lime outline and words. */
.ovfoot .ovout { margin: 10px 0 0; width: 100%; }
.ovfoot .ovout button { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: #0A3A22; color: #DEEF65; border: 1.5px solid #DEEF65; padding: 0; cursor: pointer; }
.ovfoot .ovwho { margin-top: 14px; text-align: center; }
/* QUICK LEAD (22 Nov 2026, Daniel APPROVE; drawn and measured at 1280 and 390): the four "How did you find out?" choices in one row on a laptop, two by two on a phone. */
.quicklead .qlhow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.quicklead .qlhow label { width: 100%; } .quicklead .qlhow label > span { width: 100%; display: flex; justify-content: center; }
.quicklead .qlsave { width: 100%; margin-top: 18px; } .quicklead .qlnote { margin-top: 10px; text-align: center; }
@media (max-width: 820px) { .quicklead .qlhow { grid-template-columns: 1fr 1fr; } }
/* SEND A STATEMENT - DRAFT 22 Nov 2026, not approved to build */
.soaform { display: flex; flex-direction: column; gap: 18px; }
.soaacc { display: flex; flex-direction: column; gap: 8px; }
.soarow { display: flex !important; flex-direction: row !important; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; background: #fff; cursor: pointer; }
.soarow input[type=checkbox] { width: 20px; height: 20px; flex: none; accent-color: #0A3A22; }
.soarow > span { flex: 1; min-width: 0; display: flex; flex-direction: column; } .soarow b { font-weight: 600; color: var(--green); overflow-wrap: anywhere; } .soarow small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.soarow em { font-style: normal; font-weight: 600; text-align: right; white-space: nowrap; }
.soarow.maybe { border-style: dashed; background: var(--pale); }
.soasm { font-size: 13px; color: var(--muted); }
.soatiles .tile b { font-size: clamp(30px, 2.8vw, 44px); white-space: nowrap; } @media (max-width: 1180px) { .soatiles { flex-wrap: wrap; } .soatiles .tile { flex: 1 1 calc(50% - 8px); } } .soaage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; } .soaage div { background: var(--pale); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.soaage span { font-size: 12px; color: var(--muted); } .soaage b { font-weight: 600; }
.soainner, .soapick { display: flex; flex-direction: column; gap: 14px; } .soacopy { margin: 4px 0 0; } .soainner > button.ghost, .soabtns { margin-top: 18px; } .soainner > button.ghost { align-self: flex-start; white-space: normal; }
.soaform .qlsave { width: 100%; margin-top: 18px; } .soaform .qlnote { margin-top: 10px; text-align: center; }      /* the main button as on Quick Lead: the same space above it, its note centred under it */
.soabtns { display: flex; gap: 10px; } .soacopy { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; font-weight: 500; } .soacopy input { width: 20px; height: 20px; accent-color: #0A3A22; }
@media (max-width: 820px) { .soatiles .tile b { font-size: 26px; } .soaage { grid-template-columns: 1fr 1fr; } .soaage div:last-child { grid-column: span 2; } .soarow { flex-wrap: wrap; } .soarow em { width: 100%; text-align: left; padding-left: 34px; }
  .soabtns .btn, .soainner > button.ghost { width: 100%; justify-content: center; align-self: stretch; } .soaco label > span { white-space: normal !important; min-height: 48px; padding: 8px 18px !important; line-height: 1.3; } }
/* LOG A JOB - no button alone on a row (22 Nov 2026, found in the render at 1280 and 390): kind of property 3 + 3 (2 + 2 + 2 on a phone);
   how it reached us keeps its rows on a laptop, and on a phone the last one takes the whole row */
.pick.chips.jpprop { display: grid; grid-template-columns: repeat(3, 1fr); } .pick.chips.jpprop label > span { justify-content: center; }
@media (max-width: 820px) { .pick.chips.jpprop { grid-template-columns: 1fr 1fr; } .pick.chips.jpsrc { display: grid; grid-template-columns: 1fr 1fr; }
  .pick.chips.jpsrc label > span { justify-content: center; } .pick.chips.jpsrc label:last-child:nth-child(odd) { grid-column: span 2; } }
/* ---- PIPELINE CHECK (Daniel, 22 Nov 2026, APPROVE) ---- */
.pcbar { justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0; flex-wrap: wrap; }
.pcall { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 10px; font-weight: 600; margin: 0; }
.pcall input, .pcmove td:first-child input { width: 20px; height: 20px; margin: 0; }
.pcmove, .pcold { table-layout: auto; width: 100%; }
.pcmove th:first-child, .pcmove td:first-child { width: 36px; min-width: 36px; padding-right: 4px; }
.pcmove td:nth-child(2) { min-width: 210px; }
.pcmove td.money, .pcold td.money { white-space: nowrap; }
.pcact button.keep { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.pcmove td .sub, .pcold td .sub, .pcdup td .sub { display: block; }
.pcdup { table-layout: auto; width: 100%; } .pcdup td { vertical-align: top; } .pcdup td:first-child { min-width: 230px; }
.pcmove td, .pcold td { vertical-align: top; }
.pcact { display: flex; gap: 6px; flex-wrap: nowrap; justify-content: flex-end; margin: 0; }
.pcact button { margin: 0; }
@media (max-width: 760px) { .pcact { flex-wrap: wrap; justify-content: flex-start; } .pcbar button { width: 100%; } }

.sestart { display: flex; flex-direction: column; gap: 16px; } .sestartbtn { align-self: flex-start; min-width: 260px; }
.seread { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; gap: 8px 18px; margin: 6px 0 14px; } .seread dt { color: var(--muted); font-size: 13px; } .seread dd { margin: 0; }
.segrp { margin: 14px 0 4px; font-size: 16px; }
.sereadphotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; } .sereadphotos img { width: 100%; border-radius: 12px; display: block; } .sereadphotos figcaption { font-size: 12.5px; color: var(--muted); margin: 6px 0; }
@media (max-width: 820px) { .seread { grid-template-columns: 1fr; gap: 2px; } .seread dd { margin-bottom: 8px; } .sestartbtn { width: 100%; } }
/* ---- SITE ESTIMATE (DRAWN 22 Nov 2026, not approved) - made for an iPad on a walk-round, and a phone ---- */
.senav { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 0 12px; margin-bottom: 6px; background: var(--paper); }
.senav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--green); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 42px; display: inline-flex; align-items: center; background: #fff; }
.senav .sesaved { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.seform { display: flex; flex-direction: column; gap: 18px; } .seform .card { scroll-margin-top: 70px; margin: 0; }
@media (min-width: 600px) and (max-width: 820px) { .seform .formgrid.g2 { grid-template-columns: repeat(2, 1fr); } .seform .formgrid.g3, .seform .pick.three.sekind { grid-template-columns: repeat(3, 1fr); } }
.seform .pick.chips label > span { min-height: 48px; padding: 0 20px; }
.seform input, .seform select, .seform textarea { min-height: 48px; font-size: 16px; }
.sekind input:disabled + span { opacity: .45; cursor: default; }
.seroom { border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; margin: 6px 0 16px; display: flex; flex-direction: column; gap: 14px; }
.seroomhead { justify-content: space-between; align-items: center; } .seroomhead h3, .seacross h3 { margin: 0; }
.sefixed h3, .sesub { margin: 0; } .sesub { margin: 8px 0 0; }
.seadd { width: 100%; min-height: 52px; }
.seacross { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.sedocs { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: 18px; }
.sedoc { display: flex; flex-direction: column; gap: 8px; } .sedoc > b { font-size: 14px; color: var(--green); }
.secheck { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; font-weight: 500; } .secheck input { width: 22px; height: 22px; min-height: 0; flex: none; }
.selater { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: var(--tanbg); }
.selater ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; } .selater li b { margin-right: 6px; }
.seend { width: 100%; min-height: 56px; margin-top: 18px; } .sedone { text-align: center; margin-top: 10px; }
@media (max-width: 600px) { .seform .pick.chips { display: grid; grid-template-columns: 1fr 1fr; } .seform .pick.chips label > span { justify-content: center; text-align: center; padding: 0 10px; } .seform .pick.chips label:last-child:nth-child(odd) { grid-column: span 2; }
  .senav { display: grid; grid-template-columns: 1fr 1fr; } .senav a { justify-content: center; } .senav .sesaved { grid-column: span 2; } }
@media (max-width: 820px) { .senav { margin: 0 -2px 6px; } .senav a { padding: 0 12px; font-size: 13px; } .senav .sesaved { width: 100%; margin-left: 0; } .seroom { padding: 14px; } }

/* Daniel APPROVE 23 Nov 2026 (item 8): on a phone a long summary button wraps inside a rounded box rather than pushing the page sideways (the proposal page ran 101px off at 390) */
@media (max-width: 600px) { main details:not(.grp) > summary, .card details:not(.grp) > summary { white-space: normal; max-width: 100%; border-radius: 20px; padding-top: 10px; padding-bottom: 10px; line-height: 1.35; } }
/* Clarity (Daniel, 29 Nov 2026, "approve full set"): numbered sections, an On This Page box, a one-line "what this area is for", one Back. */
.numt{display:flex;align-items:center;gap:10px}
.numt .num,.toc .num{display:inline-grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border-radius:50%;background:var(--green,#0a3a22);color:var(--lime,#e2f06a);font:700 15px/1 Poppins,system-ui,sans-serif}
.what{margin:-2px 0 14px;padding-left:10px;border-left:4px solid var(--lime,#e2f06a);font-size:14px;color:#56705f}
.toc{display:block;margin:0 0 20px;padding:16px 18px 18px;border-radius:18px;background:var(--pale,#eef3e6);border:1px solid var(--line,#dfe3dc)}
.toc>b{display:block;margin:0 0 10px;font:700 12px Poppins,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--muted,#5c6b60)}
.toc .tocgrid{display:flex;flex-wrap:wrap;gap:8px}
.toc .tocgrid>a{flex:1 1 150px}      /* 30 Nov 2026 (Daniel: tiles not too large or laid out strangely): every row is filled edge to edge, short names on one line */
.toc a{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 12px;border-radius:12px;background:#fff;border:1px solid var(--line,#dfe3dc);color:var(--green,#022011);text-decoration:none;font-weight:600;font-size:14px;line-height:1.25;box-shadow:var(--shadow);transition:border-color .15s,transform .15s}
.toc a:hover{border-color:var(--green,#022011);transform:translateY(-1px)}
.toc a::after{content:"";margin-left:auto}      /* desktop: the whole tile is the link; the arrow gave the name no room */
.toc .num{width:26px;height:26px;font-size:12px}
@media (max-width:520px){.toc{padding:14px 14px 14px}.toc .tocgrid{flex-direction:column;gap:6px}.toc .tocgrid>a{flex:0 0 auto}.toc a::after{content:"↓";padding-left:4px;color:var(--muted,#5c6b60);font-weight:400}.toc a{min-height:42px;padding:6px 12px;font-size:15px}}
.subt{margin:18px 0 6px;font:700 15px Poppins,system-ui,sans-serif;color:var(--green,#0a3a22);padding-bottom:4px;border-bottom:2px solid var(--lime,#e2f06a)}
.subt:first-of-type{margin-top:6px}
.backlink{font-weight:600}
.sentline{display:block;margin:6px 0 12px;padding:12px 14px;border-radius:12px;background:var(--okbg,#eef6d2);color:var(--green,#0a3a22)}
.sentline b{display:block;font-size:15px}
table.moneytable th[scope=row]{font:700 15px Poppins,system-ui,sans-serif;color:var(--green,#0a3a22)}
table.moneytable.stack th[scope=row]{display:block;font-size:16px;padding:10px 0 6px;border-bottom:2px solid var(--lime,#e2f06a);background:none}
.row>.what{flex:1 0 100%;order:5;margin-top:2px}
.moneyco{margin-top:6px}.moneyco .subt a{color:inherit;text-decoration:none}
.moneypair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 8px}
.moneypair>div{padding:12px 14px;border-radius:12px;background:var(--pale,#eef3e6)}
.moneypair .mlabel{display:block;font:700 13px Poppins,system-ui,sans-serif;color:var(--green,#022011);margin-bottom:4px}
.moneypair b{display:block;font-size:20px}
/* 30 Nov 2026: on a won job, the record of the sale sits under the work, under its own plain heading */
.recordhead{margin:34px 0 4px;font-size:22px;color:var(--muted,#55615a);letter-spacing:.02em}
/* Logo rule, approved by Daniel 16 Nov 2026 14:32 on the picture "... CORRECTED - Logo size position and space to the title ... draft 1429".
   Desktop: logo 71 high, 30 above it, 20 to the line under it, 30 below the last line of text (the block is centred top to bottom in the green top).
   Phone: logo 51 high, the same distance from the top as from the left (18), 16 to the line under it, 18 below. Mid-size screens follow the phone until he has seen them. */
.head { padding: 30px 36px 28px; } .ub { margin-bottom: 10px; } .ublogo img { height: 71px; }
/* A very wide monitor: the page stops growing at 1640 wide and sits in the middle, so boxes and tables do not stretch right across (Daniel, 19 Nov 2026: "a smart idea"). The green band still runs edge to edge; what is inside it lines up with the page. A laptop is not touched. */
@media (min-width: 1700px) { .shell { max-width: 1640px; margin-left: auto; margin-right: auto; } .head { padding-left: calc((100vw - 1640px) / 2 + 36px); padding-right: calc((100vw - 1640px) / 2 + 36px); } }
/* Log A Job made plainer (Daniel, 19 Nov 2026, after Elmira found it "a touch confusing"): boxes tinted so they stand out from the card, dark labels, a Needed or Optional tag on every box */
form.intake label, form.intake .lbl { color: var(--green); font-weight: 600; font-size: 14px; }
form.intake .pick label { font-weight: 400; }
form.intake input[type=text], form.intake input[type=number], form.intake input[type=date], form.intake input[type=email], form.intake input[type=tel], form.intake input[type=time], form.intake select, form.intake textarea { background: #f1f5ec; border-color: #c3cec4; }
form.intake input:focus, form.intake select:focus, form.intake textarea:focus { background: #fff; }
form.intake ::placeholder { color: #8a988e; font-style: italic; }
form.intake b.need, form.intake i.opt { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
form.intake b.need { background: var(--surface); color: var(--lime); } form.intake i.opt { background: var(--pale); color: var(--muted); }
form.intake .pickfirst { margin: 0; padding: 14px 16px; border: 1.5px dashed #c3cec4; border-radius: 14px; background: var(--paper); }
form.intake .sum [data-left] { font-size: 13px; line-height: 1.5; color: var(--green); } form.intake .sum [data-left].ok { font-weight: 600; }
/* Ready To Log follows the page all the way down (Daniel, 19 Nov 2026: it came with the page "just for a little bit", then slid over the card under it and scrolled away) */
form.intake .narrow { align-self: stretch; } form.intake .follow { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 20px; } form.intake .card.sum { position: static; }
@media (max-width: 820px) { form.intake .follow { position: static; } }
form.intake .follow > .card:not(:has(form, table, input, select, textarea)) { border-top: 5px solid var(--gold); }
form.intake .formgrid.g2 > label, form.intake .formgrid.g3 > label { align-self: start; }
/* ===== 30 Nov 2026: one clear way to work (Daniel, APPROVE). The same top on every page, three shapes with one meaning each, and every press answers back. ===== */
.onpage{display:block;margin:0 0 20px;padding:10px 18px;border-radius:14px;background:#fff;border:1px solid var(--line,#dfe3dc)}
.onpage[hidden]{display:none}
.onpage>span{display:block;font:700 11.5px Poppins,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#5c6b60);margin:2px 0}
.onpage a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line,#dfe3dc);font-weight:600;color:var(--green,#022011);text-decoration:underline;text-underline-offset:3px}
.onpage a:first-of-type{border-top:0}
.onpage a em{font-style:normal;font-weight:400;color:var(--muted,#5c6b60);white-space:nowrap}
@media (min-width:900px){.onpage{display:flex;flex-wrap:wrap;align-items:center;gap:6px 24px;padding:12px 18px}.onpage>span{margin:0}.onpage a{border:0;padding:0;gap:6px}}
.howfold{margin:0 0 20px}
.howfold>.pgsteps,.howfold>.qa{margin:14px 0 0}
.donebox{position:fixed;z-index:60;left:50%;top:50%;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 32px));padding:26px 26px 22px;border-radius:18px;background:var(--lime,#e2f06a);border:2px solid var(--green,#022011);color:var(--green,#022011);font-size:16px;line-height:1.5;text-align:center;box-shadow:0 0 0 100vmax rgba(2,32,17,.32),0 18px 50px rgba(2,32,17,.35);transition:opacity .5s}
.donebox b{display:block;font:400 30px/1.05 "Anton",sans-serif;text-transform:uppercase;margin:0 0 8px}
.donebox span{display:block}
.donebox.gone{opacity:0;pointer-events:none}
.donebox button{display:block;margin:16px auto 0;min-height:44px;padding:0 34px;border:0;border-radius:999px;background:var(--green,#022011);color:var(--lime,#e2f06a);font-size:14px;font-weight:600;cursor:pointer}
tr:target>td{background:#f4f8d9}
.showrow{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.showrow>span{flex-basis:100%;font-size:13px;font-weight:600;color:var(--green,#022011)}
.showrow a.pill{flex:1 1 0;box-sizing:border-box;min-width:0;border-width:2px;border-style:solid;max-width:340px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;min-height:44px;padding:6px 12px !important}
@media (max-width:820px){.showrow{flex-direction:column;flex-wrap:nowrap}.showrow>span{flex-basis:auto}.showrow a.pill{flex:none;max-width:none}}
.showrow.act a.btn{flex:none}
@media (max-width:820px){.showrow.many{display:grid;grid-template-columns:1fr 1fr}.showrow.many>span{grid-column:1/-1}.showrow.many a.pill:last-child:nth-child(even){grid-column:1/-1}.showrow.act{flex-direction:row}}
.note a.pill.dark, .note a.pill.lime, .card a.pill.dark, .card a.pill.lime{color:var(--lime)!important}
.head .headbtns .helpline{display:none}
/* Three shapes, one meaning each (Daniel, 30 Nov 2026, APPROVE). A filter is a link: lime with a dark green outline, and the chosen one is dark green with lime words.
   A stage, a status or a key is never a link: a small coloured dot with plain words, no outline, so it never looks pressable. */
a.pill, a.pill.glass, a.pill:visited{background:var(--lime,#e2f06a);color:var(--green,#022011);border:2px solid var(--green,#022011);padding:5px 14px;font-size:13px;text-decoration:none}
a.pill.lime, a.pill.dark{background:var(--green,#022011);color:var(--lime,#e2f06a);border-color:var(--green,#022011)}
span.pill, span.pill.big{background:none;padding:0;border-radius:0;color:var(--green,#022011);font-weight:500;font-size:13px;white-space:normal;display:inline-flex;align-items:center;gap:7px}
span.pill.warn, span.pill.ok, span.pill.tan, span.pill.dark, span.pill.lime, span.pill.glass{background:none} span.pill.dark{color:var(--green,#022011)} span.pill + span.pill{margin-left:12px}
span.pill::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #9aa59e;box-sizing:border-box}
span.pill.warn{color:var(--green,#022011)} span.pill.warn::before{background:var(--warn,#b4541a);border-color:var(--warn,#b4541a)}
span.pill.ok::before, span.pill.lime::before{background:#2f7d4f;border-color:#2f7d4f}
span.pill.tan::before{background:#c1aa82;border-color:#c1aa82}
span.pill.dark::before{background:var(--green,#022011);border-color:var(--green,#022011)}
.head span.pill, .head span.pill.big{color:#fff} .head span.pill.lime::before{background:var(--lime,#e2f06a);border-color:var(--lime,#e2f06a)} .head span.pill.glass::before{background:transparent;border-color:#fff}
/* Deploy 67 (Daniel APPROVE, 1 Dec 2026): the Map's five steps, on the job page (#bystep, #stepbar) and on The Board (.nb). Measured by tests/test_by_step_1201.py. */
#bystep details.step, .nb details.step{margin:14px 0 0;border-radius:18px;padding:0;background:none}
#bystep details.step[open], .nb details.step[open]{background:none;padding:0;border-radius:18px}
#bystep details.step > summary.sh, .nb details.step > summary.sh{list-style:none;cursor:pointer;display:grid;grid-template-columns:40px minmax(0,1fr) auto;column-gap:14px;row-gap:2px;align-items:center;padding:16px 18px;border-radius:18px;background:#fff;color:var(--green,#022011);box-shadow:0 1px 3px rgba(2,32,17,.12);font-weight:400;min-height:0;width:auto}
#bystep details.step > summary.sh::-webkit-details-marker, .nb details.step > summary.sh::-webkit-details-marker{display:none}
#bystep details.step > summary.sh::after, #bystep details.step > summary.sh::before, .nb details.step > summary.sh::after, .nb details.step > summary.sh::before{display:none !important;content:none !important}
#bystep details.now > summary.sh{background:var(--green,#022011);color:#fff}
#bystep details.later > summary.sh{background:#f1f3ec;box-shadow:none}
#bystep .sn, .nb .sn{grid-row:1 / span 2;width:40px;height:40px;border-radius:50%;background:var(--lime,#e2f06a);color:var(--green,#022011);display:grid;place-items:center;font:400 22px/1 "Anton",sans-serif}
#bystep .st, .nb .st{grid-column:2;font:400 26px/1.05 "Anton",sans-serif;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap}
#bystep .sl, .nb .sl{grid-column:2 / span 2;font-size:14px;line-height:1.35;font-family:"Poppins",sans-serif}
.nb .sl{color:#3d5347}
#bystep .ss, .nb .ss{grid-column:3;grid-row:1;display:flex;align-items:center;gap:8px;font:600 14px/1.2 "Poppins",sans-serif;white-space:nowrap}
#bystep .ss i{width:10px;height:10px;border-radius:50%;display:inline-block;border:2px solid currentColor;box-sizing:border-box}
#bystep details.done .ss i{background:var(--green,#022011)} #bystep details.now .ss i{background:var(--lime,#e2f06a);border-color:var(--lime,#e2f06a)}
#bystep .ss::after, .nb .ss::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 2px 0 4px;opacity:.7}
#bystep details[open] > summary .ss::after, .nb details[open] > summary .ss::after{transform:rotate(-135deg);margin-top:4px}
#bystep details.step > summary.nonum{grid-template-columns:minmax(0,1fr) auto} #bystep summary.nonum .st{grid-column:1} #bystep summary.nonum .sl{grid-column:1 / span 2} #bystep summary.nonum .ss{grid-column:2}
#bystep .sb{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:18px 0 4px;align-items:stretch}
#bystep .sb > form, #bystep .sb .cols, #bystep .sb .wide, #bystep .sb .narrow{display:contents}
#bystep .sb section.card{margin:0 !important;min-width:0} #bystep .sb section.card.span2{grid-column:1 / -1}
#stepbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;padding:16px 10px 14px;background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(2,32,17,.12)}
#stepbar a{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;font-weight:600;font-size:14px;text-align:center;min-width:0;text-decoration:none;color:var(--green,#022011)}
#stepbar b{position:relative;z-index:1;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font:400 16px/1 "Anton",sans-serif;border:2px solid var(--green,#022011);background:#fff;color:var(--green,#022011)}
#stepbar a:not(:first-child)::before{content:"";position:absolute;top:15px;right:50%;width:100%;height:2px;background:#c9d0c3}
#stepbar a.d:not(:first-child)::before, #stepbar a.n:not(:first-child)::before{background:var(--green,#022011)}
#stepbar a.d b{background:var(--green,#022011);color:#fff} #stepbar a.n b{background:var(--lime,#e2f06a)} #stepbar a.l{color:#55685c} #stepbar a.l b{border-color:#9aa69d;color:#55685c}
#stepbar em{font-style:normal} #stepbar a.n em{text-decoration:underline;text-underline-offset:4px}
.nb details.later > summary.sh{background:transparent;box-shadow:none;outline:2px dashed #7d8f84;outline-offset:-2px;cursor:default} .nb details.later .ss::after{display:none} .nb details.later .st, .nb details.later .ss{color:#55685c}
.nb .body{padding:4px 0 6px} .nb .stage{margin:14px 0 0;scroll-margin-top:80px}
.nb .sth{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0 2px 10px;padding-bottom:6px;border-bottom:2px solid var(--lime,#e2f06a)}
.nb .sth b{font-weight:600;font-size:16px} .nb .sth span{font-size:14px;color:#3d5347} .nb .sth span.r{margin-left:auto;font-weight:600;color:var(--green,#022011)}
.nb .cards{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:14px;align-items:stretch}
.nb a.jc{display:flex;flex-direction:column;gap:4px;background:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 1px 3px rgba(2,32,17,.12);text-decoration:none;color:var(--green,#022011);min-width:0}
.nb a.jc > b{font-weight:600;font-size:15px;line-height:1.3;overflow-wrap:anywhere} .nb a.jc small{font-size:13px;color:#3d5347}
.nb a.jc .f{margin-top:auto;padding-top:10px;display:flex;flex-direction:column;gap:3px;font-size:14px} .nb a.jc .f b{font-size:15px;font-weight:600}
.nb a.jc .d{display:flex;align-items:center;gap:6px;color:#3d5347} .nb a.jc .d i{flex:none;width:9px;height:9px;border-radius:50%;background:#2f7d4f;display:inline-block}
.nb a.jc .d.in{padding-left:15px} .nb a.jc .d.late{color:var(--warn,#8f3513);font-weight:600} .nb a.jc .d.late i{background:var(--warn,#8f3513)}
.nb .more{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:12px 2px 0} .nb .more a.btn{margin:0} .nb p.note.none{margin:0 2px}
.nb details.step[open] > summary.sh{background:var(--green,#022011);color:#fff} .nb details.step[open] .sl{color:#fff}
.nb .sa{grid-column:3;grid-row:2;justify-self:end;font:600 12.5px/18.9px "Poppins",sans-serif;height:18.9px;color:var(--warn,#8f3513);background:var(--warnbg,#f7e4d9);border-radius:999px;padding:0 9px;white-space:nowrap}
.nb .sl{grid-column:2}
.nb .body{padding:14px 0 4px;display:flex;flex-direction:column;gap:14px}
.nb .nbh{margin:34px 0 0} .nb .nbh:first-child{margin-top:0} .nb > p.what{margin:6px 0 0}
.nb section.stage{margin:0;background:#fff;border-radius:16px;padding:16px 18px 18px;box-shadow:0 1px 3px rgba(2,32,17,.12)}
.nb .sth{border-bottom:0;margin:0 0 12px;padding:0;align-items:center} .nb .sth b{font-size:17px} .nb .sth span.r{color:var(--warn,#8f3513);background:var(--warnbg,#f7e4d9);border-radius:999px;padding:3px 10px;font-size:13px}
.nb a.jc{background:#f1f3ec;box-shadow:none;gap:8px} .nb a.jc .f{padding-top:0;gap:4px}
@media (max-width:800px){
  #bystep .sb{grid-template-columns:minmax(0,1fr)} #bystep .sb section.card.span2{grid-column:auto}
  #bystep details.step > summary.sh, .nb details.step > summary.sh{grid-template-columns:34px minmax(0,1fr) auto;column-gap:12px;padding:14px}
  #bystep .sn, .nb .sn{width:34px;height:34px;font-size:19px} #bystep .st, .nb .st{font-size:21px} #bystep .sl, .nb .sl{font-size:13px} #bystep .ss, .nb .ss{font-size:13px;gap:6px}
  #bystep details.step > summary.nonum{grid-template-columns:minmax(0,1fr) auto}
  #stepbar{padding:14px 4px 12px} #stepbar a{font-size:10.5px;gap:6px} #stepbar b{width:28px;height:28px;font-size:15px} #stepbar a:not(:first-child)::before{top:14px}
  .nb summary.sh:has(.sa) .sl{display:none} .nb .sa{grid-column:2;justify-self:start;font-size:12px;line-height:17.55px;height:17.55px}
  .nb .cards{grid-template-columns:minmax(0,1fr) !important;gap:10px} .nb .sth span.r{margin-left:0} .nb section.stage{padding:14px}
}
.kv dd.msg { white-space: pre-line; }      /* Daniel, 2 Dec 2026: Their message keeps its lines, one item per line */
.kv dd .s { font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }      /* the smaller second line of a booking row */
/* Deploy 70 (Daniel, 2 Dec 2026: "claude connected very close to logo", then APPROVE to take the badge off): the logo always keeps a clear gap, and the name and Help sit on the far right. */
@media (min-width: 821px) { .ub .ublogo{margin-right:24px;flex:none} }      /* laptops only: on a phone the locked 20px to the menu lines stands (test_screen_lock) */
/* Deploy 71: the Dashboard redrawn (Daniel, 2 Dec 2026). Scoped to .dsh; its sections keep the page's own spacing. */
.dsh{display:contents} .dsh .acts{justify-content:flex-start;gap:8px;flex-wrap:wrap} .dsh section.card.bare{background:none;box-shadow:none;padding:0}
.dsh .tiles.four .tile span{font-size:14px} .dsh h3.subt{margin:6px 0 0} .dsh details.who{margin-top:4px}
.dsh .own .four.three, .own .four.three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (min-width: 821px) and (max-width: 1279px) { .dsh .own .four.three{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width: 820px) { .dsh .own .four.three{grid-template-columns:minmax(0,1fr)} .dsh .acts{display:none} }      /* on a phone the bar at the foot already holds Log A Job and Leads */
/* Deploy 70: the Pipeline as the owner's view (Daniel: drawing APPROVED 30 Nov 2026, build APPROVED 2 Dec 2026). Every rule sits under .own so nothing else on the site moves. */
.own{display:contents}   /* its sections take the page's own spacing */
.own section.card.bare{background:none;box-shadow:none;padding:0}
.own .four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.own .n4{background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(2,32,17,.10);padding:18px 20px;display:flex;flex-direction:column;gap:6px;min-width:0}
.own .n4 h3{font-family:"Poppins",sans-serif;font-size:13px;font-weight:600;letter-spacing:.02em;margin:0;text-transform:none}
.own .n4 b.big{font-family:"Anton",sans-serif;font-weight:400;font-size:36px;line-height:1.05}
.own .n4 b.mid{font-family:"Anton",sans-serif;font-weight:400;font-size:22px;line-height:1.1;margin-top:8px}
.own .n4 .u{font-size:12px;font-weight:600;margin-top:-2px}
.own .n4 .vs{font-size:12px;color:#56705f;border-top:1px solid #dfe3dc;padding-top:8px;margin-top:auto;line-height:1.5;display:flex;flex-direction:column;gap:2px}
.own .n4 .vs .pill{margin-left:0;align-self:flex-start} .own .n4 .vs .pill + span + .pill{margin-top:6px}
.own .n4.strong{background:#0A3A22;color:#fff} .own .n4.strong b.big{color:#deef65} .own .n4.strong .vs{color:#d5ddd8;border-color:rgba(255,255,255,.2)}
.own .n4.wait{background:#f1f3ec;box-shadow:none} .own .n4.wait b.big{font-size:26px;line-height:1.15}
.own .vb{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.own .vb .co{border:1.5px solid #022011;border-radius:14px;overflow:hidden;background:#fff}
.own .vb .co h3{margin:0;background:#0A3A22;color:#fff;font-family:"Anton",sans-serif;font-weight:400;font-size:22px;text-transform:uppercase;padding:12px 16px}
.own .vb .r{padding:12px 16px;border-top:1px solid #dfe3dc} .own .vb .r:first-of-type{border-top:0} .own .vb .r:nth-of-type(even){background:#eef3e6}
.own .vb .r h4{margin:0 0 6px;font-family:"Poppins",sans-serif;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#4f6156}
.own .vb .r p{margin:0;display:flex;justify-content:space-between;align-items:baseline;gap:10px} .own .vb .r p + p{margin-top:4px}
.own .vb .r b{font-family:"Anton",sans-serif;font-weight:400;font-size:24px;white-space:nowrap} .own .vb .r span{font-size:12px;font-weight:500;text-align:right}
.own .trendsum{margin:0 0 6px;display:flex;gap:6px 18px;flex-wrap:wrap} .own .trendsum .pill{margin-left:0;font-size:14px;font-weight:600}
.own .lc{display:grid;grid-template-columns:1.3fr 2fr auto;gap:14px;align-items:center;padding:11px 0;border-top:1px solid #dfe3dc} .own .lc:first-child{border-top:0}
.own .lc .nm{font-weight:600;font-size:14px;min-width:0;overflow-wrap:anywhere} .own .lc .bar{height:14px;border-radius:99px;background:#eef3e6;overflow:hidden}
.own .lc .bar i{display:block;height:100%;background:#0A3A22;border-radius:99px;min-width:6px}
.own .lc .am{text-align:right;min-width:150px} .own .lc .am b{font-family:"Anton",sans-serif;font-weight:400;font-size:19px}
.own .lc .am span{display:inline-block;width:44px;font-size:13px;font-weight:600;color:#56705f}
.own .lc.rest .nm{font-weight:500;color:#56705f} .own .lc.rest .bar i{background:#9bb0a3}
.own tr.quiet th, .own tr.quiet td, .own tr.quiet td b{color:#56705f}
@media (min-width: 821px) and (max-width: 1279px) { .own .four{grid-template-columns:repeat(2,minmax(0,1fr))} }      /* found on live 2 Dec: at 1,024 wide the figures broke over two lines */
@media (max-width: 820px) { .own .four{grid-template-columns:minmax(0,1fr);gap:12px} .own .n4 b.big{font-size:32px} .own .vb{grid-template-columns:minmax(0,1fr)}
  .own .lc{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px} .own .lc .bar{grid-column:1/-1;order:3} .own .lc .am{min-width:0} }
@media (max-width: 820px) { .head { padding: 18px 18px 18px; } .ub { margin-bottom: 6px; } .ublogo img { height: 51px; }
  /* The phone menu's logo follows the same rule: 51 high, 18 from the top and the left (Daniel, 16 Nov 2026 23:33: not the same size or place as on the page). */
  .ov { padding-top: 18px; } .ovtop img { height: 51px; } }
