/* The plan pages' look. Built on the owner pages' variables (the control plane's /pay/s/pay.css, copied in below) with the boards' tones
   (design/canvas/s_plan.py, P). No page has inline style (the CSP blocks it): everything is a class here. One column under 720px (Plan-Phone). */
:root{color-scheme:light dark;
  --bg:#F7F7F5;--card:#FFFFFF;--raise:#eeefec;--fill:#F3F4F1;--fg:#111614;--muted:#5A6360;--faint:#6B7370;--line:#E6E7E3;--line2:#D9DBD6;--ring:rgba(0,0,0,.12);
  --accent:#3b7c72;--accent-t:#2F6F65;--focus:#6fa597;--btn:#111614;--btn-fg:#fff;--btn-hover:#323835;
  --okbg:#E8F3EF;--warn:#8A5A12;--warnbg:#FBF3E1;--bad:#A9452D;--badbg:#F8E8E3;--blue:#2F5A80;--bluebg:#DDEBF6;
  --plum:#5B3F86;--plumbg:#E9E1F2;--sand:#7A5A1E;--sandbg:#F3EBD9;
  --shadow:0 1px 2px rgba(17,22,20,.04),0 8px 24px rgba(17,22,20,.06)}
@media (prefers-color-scheme:dark){:root{
  --bg:#171c1a;--card:#1d2220;--raise:#262b29;--fill:#262b29;--fg:#f7f7f5;--muted:#acada9;--faint:#848784;--line:rgba(255,255,255,.08);--line2:rgba(255,255,255,.14);
  --ring:rgba(255,255,255,.16);--accent-t:#8ccfb6;--btn:#f2f3f0;--btn-fg:#111614;--btn-hover:#e6e7e3;
  --okbg:#14361d;--warn:#f2cf76;--warnbg:#4b4025;--bad:#f17471;--badbg:#3d1f1c;--blue:#9cc3e6;--bluebg:#1d2c3a;
  --plum:#c9b3ea;--plumbg:#2c2340;--sand:#e3c58a;--sandbg:#3a311f;
  --shadow:0 2px 4px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.3),0 0 0 .5px rgba(255,255,255,.16)}}
*{box-sizing:border-box}
html,body{margin:0}
body{min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--fg);
  font:15px/1.55 "Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased;text-size-adjust:100%}
a{color:var(--accent-t);text-underline-offset:2px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
h1,h2,h3{margin:0;color:var(--fg)}
p{margin:0}
.muted{color:var(--muted)}
.small{font-size:13.5px;line-height:20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ic{flex-shrink:0}

/* ---- the top bar */
.top{height:72px;padding:0 48px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);background:var(--card)}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--fg)}
.brand .name{font-size:17px;font-weight:650;letter-spacing:-.01em}
.top .tag{margin-left:0;font-size:13px;color:var(--muted)}
.top .right{margin-left:auto;display:inline-flex;align-items:center;gap:12px;font-size:13.5px;color:var(--muted)}
.top .right a{color:var(--fg);font-weight:550;text-decoration:none}
.inline{display:inline;margin:0}
.link{border:0;background:none;padding:0;font:inherit;font-weight:550;color:var(--fg);cursor:pointer}
.note{margin:16px 48px 0;padding:12px 16px;border-radius:12px;background:var(--okbg);color:var(--accent-t);font-weight:600;font-size:14px}

/* ---- buttons, pills, cards */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 22px;border:0;border-radius:999px;background:var(--btn);color:var(--btn-fg);
  font:inherit;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer}
.btn:hover{background:var(--btn-hover)}
.btn.big{height:52px;padding:0 26px;font-size:16px}
.btn.light{background:#FFFFFF;color:#111614}
.pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;background:var(--fill);color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap;width:fit-content}
.pill.ok{background:var(--okbg);color:var(--accent-t)}
.pill.warn{background:var(--warnbg);color:var(--warn)}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:24px}
.kind{display:inline-flex;align-items:center;gap:6px;height:20px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:650;white-space:nowrap;width:fit-content}
.kind .sq{width:6px;height:6px;border-radius:2px;background:currentColor}
.kind-ai{background:var(--bluebg);color:var(--blue)}
.kind-tool{background:var(--okbg);color:var(--accent-t)}
.kind-routine{background:var(--sandbg);color:var(--sand)}
.kind-custom{background:var(--plumbg);color:var(--plum)}
.tile{flex-shrink:0;display:block}
.tiles{display:inline-flex;gap:3px}
.num{width:28px;height:28px;border-radius:999px;background:var(--fg);color:var(--bg);font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}

/* ---- steps */
.steps ol{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.steps li{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:500;color:var(--muted)}
.steps li.now,.steps li.done{color:var(--fg)}
.steps li.now{font-weight:650}
.steps .dot{width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:11.5px;font-weight:700;
  background:var(--card);color:var(--muted);border:1px solid var(--line2)}
.steps li.now .dot,.steps li.done .dot{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.steps li+li::before{content:"";width:32px;height:1px;background:var(--line2);margin-right:4px}

/* ---- the public page (Plan-Landing) */
.landing{display:flex;flex-direction:column;gap:56px;padding:64px 96px 72px;max-width:1440px;width:100%;margin:0 auto}
.hero{display:flex;gap:64px;align-items:center}
.hero-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:22px}
.hero h1{font-size:46px;line-height:52px;font-weight:650;letter-spacing:-.025em;text-wrap:balance}
.lede{font-size:18px;line-height:27px;color:var(--muted);max-width:620px;text-wrap:pretty}
.cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;font-size:14px}
.mini{width:520px;flex-shrink:0;padding:20px;display:flex;flex-direction:column;gap:12px}
.mini-head{display:flex;align-items:center;gap:8px}
.mini-head .pill{margin-left:auto}
.lp{width:22px;height:22px;border-radius:6px;background:#3B7C72;color:#FFFFFF;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.mini-title{font-size:13.5px;font-weight:650}
.mini-work{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:12px;background:var(--fill);font-size:12px;font-weight:650;color:var(--muted)}
.bar{display:block;height:8px;border-radius:4px;background:var(--line2)}
.bar.w92{width:92%}.bar.w78{width:78%}.bar.w60{width:60%}
.prows{display:flex;flex-direction:column}
.prow{display:grid;grid-template-columns:minmax(0,1fr) 40px 188px 52px;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}
.prow .job{min-width:0;font-size:13px;line-height:18px;font-weight:600}
.prow .cost{text-align:right;font-size:12.5px;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.cols{display:flex;gap:20px}
.col{flex:1 1 0;min-width:0;padding:22px;display:flex;flex-direction:column;gap:14px}
.col-head{display:flex;align-items:center;gap:10px}
.col-head h2{font-size:17px;font-weight:650}
.badge{width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}
.badge.blue{background:var(--bluebg);color:var(--blue)}
.badge.green{background:var(--okbg);color:var(--accent-t)}
.badge.red{background:var(--badbg);color:var(--bad)}
.ticks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.ticks li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;line-height:21px}
.ticks li .ic{margin-top:2px}
.ticks li.yes .ic{color:var(--accent-t)}
.ticks li.no .ic{color:var(--bad)}
.how{display:flex;flex-direction:column;gap:24px}
.how>h2{font-size:22px;line-height:28px;font-weight:650;letter-spacing:-.01em}
.how-steps{display:flex;gap:32px}
.how-step{flex:1 1 0;min-width:0;display:flex;gap:14px;align-items:flex-start}
.how-step h3{font-size:16px;font-weight:650;margin-bottom:4px}
.how-step p{font-size:14px;line-height:21px;color:var(--muted)}
.band{display:flex;align-items:center;gap:20px;padding:28px 32px;border-radius:20px;background:#111614;color:#FFFFFF}
.band>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.band h2{font-size:20px;font-weight:650;color:#FFFFFF}
.band p{font-size:14.5px;color:rgba(255,255,255,.72)}
.narrow{max-width:640px;width:100%;margin:48px auto;padding:0 24px;display:flex;flex-direction:column;gap:14px}
.narrow h1{font-size:28px;line-height:34px;font-weight:650}
.privacy h3{font-size:17px;line-height:24px;font-weight:650;margin:10px 0 0}
.privacy p,.privacy ul{margin:0}
.privacy ul{padding-left:22px;display:flex;flex-direction:column;gap:6px}
.stack{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.stack .field{align-self:stretch}
.error{padding:12px 16px;border-radius:12px;background:var(--badbg);color:var(--bad);font-weight:550}
.signin h1{overflow-wrap:anywhere}
.signin .or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13.5px}
.signin .or::before,.signin .or::after{content:"";flex:1;border-top:1px solid var(--line2)}

/* ---- feedback, on every page */
.feedback{margin:32px 48px 0;align-self:flex-start;max-width:520px}
.feedback summary{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:1px solid var(--line2);border-radius:999px;background:var(--card);
  font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.feedback summary::-webkit-details-marker{display:none}
.fb-form{margin-top:12px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px}
.fb-form h2{font-size:17px;font-weight:650}
.fb-form fieldset{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 16px}
.choice{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.field{display:flex;flex-direction:column;gap:6px;font-size:13.5px;font-weight:550}
.field input,.field textarea{font:inherit;font-size:16px;font-weight:400;padding:10px 12px;border:1px solid var(--line2);border-radius:10px;background:var(--card);color:var(--fg);width:100%}
.fb-form .btn{align-self:flex-start}

/* ---- connect (Plan-Connect) and its wait page */
.connect{max-width:968px;width:100%;margin:0 auto;padding:40px 24px 56px;display:flex;flex-direction:column;gap:24px}
.connect-head{display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}
.connect-head h1{font-size:32px;line-height:38px;font-weight:650;letter-spacing:-.02em}
.signed-as{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;font-size:13.5px;color:var(--accent-t);font-weight:600}
.signed-as .muted{font-weight:500}
.connect .lede{font-size:16px;line-height:24px;max-width:640px}
.providers{display:flex;gap:16px}
.provider-form{flex:1 1 0;min-width:0;margin:0}
.provider{width:100%;min-height:76px;padding:12px 20px;border:1px solid var(--line2);border-radius:16px;background:var(--card);color:var(--fg);font:inherit;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;text-align:left;cursor:pointer;box-shadow:var(--shadow)}
.provider:hover{border-color:var(--fg)}
.pname{font-size:16px;font-weight:650}
.psub{font-size:13px;color:var(--muted)}
.provider{position:relative;padding-right:48px}
.pchev{position:absolute;right:20px;top:50%;transform:translateY(-50%);color:var(--muted);display:inline-flex}
.boxes{display:flex;gap:16px;align-items:stretch}
.box-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:16px}
.box{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:16px}
.box h2{font-size:16px;font-weight:650}
.box.grey{background:var(--fill)}
.box.green{background:var(--okbg)}
.ticks .t{display:block}
.ticks .sub{display:block;font-size:13px;line-height:19px;color:var(--muted)}
.center{text-align:center}
.said{padding:14px 16px;border-radius:12px;background:var(--fill);line-height:22px}
@media (max-width:720px){.connect{padding:28px 16px 40px}.connect-head h1{font-size:26px;line-height:32px}.providers,.boxes{flex-direction:column}}

/* ---- the reading page (Plan-Reading), with the game in the middle (Task 19) */
.reading{max-width:1248px;width:100%;margin:0 auto;padding:32px 24px 48px;display:flex;flex-direction:column;gap:20px}
.reading>.signed-as{align-self:center}
.rtop{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 18px;border-radius:14px;box-shadow:none}
.spin{width:20px;height:20px;border-radius:999px;border:3px solid var(--okbg);border-top-color:var(--accent);flex-shrink:0;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spin{animation:none}}
.rtitle{font-size:15px;font-weight:650;white-space:nowrap}
.rstep{font-size:13.5px}
.rbar{flex:1;min-width:80px;height:6px;border:0;border-radius:999px;background:var(--fill);color:var(--accent);overflow:hidden;appearance:none;-webkit-appearance:none}
.rbar::-webkit-progress-bar{background:var(--fill);border-radius:999px}
.rbar::-webkit-progress-value{background:var(--accent);border-radius:999px}
.rbar::-moz-progress-bar{background:var(--accent);border-radius:999px}
.rleft{font-size:13.5px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.rleave{font-size:13px}
.rnotes{flex-basis:100%;list-style:none;margin:2px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13.5px}
.rnotes:empty{display:none}
.rnotes li{display:flex;align-items:center;gap:8px}
.rnotes li::before{content:"\2713";flex:none;width:18px;height:18px;border-radius:50%;background:var(--okbg);color:var(--ok);
  font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.rnotes li.new{animation:note-in .35s ease-out}
@keyframes note-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.rnotes li.new{animation:none}}
.rmid{display:flex;gap:24px;align-items:flex-start}
.rgame{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:14px;--game-ink:#3E4643}
.rgame-head{display:flex;align-items:center;gap:8px}
.rgame-head h2{font-size:18px;line-height:24px;font-weight:650}
.rgame-head .pill{margin-left:auto}
#plan-game{display:block;width:100%;height:auto;aspect-ratio:784/440;border-radius:16px;border:1px solid var(--line);background:var(--card);
  cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
#plan-game:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
@media (prefers-color-scheme:dark){.rgame{--game-ink:#8A928F}}
.rqs{flex:0 0 340px;display:flex;flex-direction:column;gap:12px}
.rqs-head{display:flex;align-items:center;gap:8px}
.rqs-head .pill{margin-left:auto}
.rqs-title{font-size:14.5px;font-weight:650}
.qlist{display:flex;flex-direction:column;gap:12px}
.qcard{margin:0;display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:16px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}
.qsrc{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:650;color:var(--muted)}
.qtext{font-size:14.5px;line-height:21px;font-weight:600}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line2);background:var(--card);color:var(--fg);
  font:inherit;font-size:13.5px;font-weight:550;white-space:nowrap;cursor:pointer}
.chip.on{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.chip .ic{display:none}
.chip.on .ic{display:inline-block}    /* the board's check on the chosen answer; plan.js moves "on" */
.chip.found{height:26px;padding:0 10px;border:0;background:var(--fill);font-size:12.5px;font-weight:600;cursor:default}
.rfound{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 16px;border-radius:14px;box-shadow:none}
.rlabel{font-size:12.5px;font-weight:650;color:var(--muted);margin-right:4px}
.rtools,.rjobs{display:inline-flex;flex-wrap:wrap;gap:8px}
.rsep{width:1px;height:20px;background:var(--line2);margin:0 6px}
@media (max-width:900px){.rmid{flex-direction:column;align-items:stretch}.rqs{flex:none}}
@media (max-width:720px){.rgame{padding:16px}.rgame-head{flex-wrap:wrap}.rgame-head .pill{margin-left:0}}
@media (max-width:720px){.reading{padding:24px 16px 40px}.rsep{display:none}}

/* ---- the plan page (Plan-Your-Plan); one column under 720px (Plan-Phone) */
.btn.ghost{background:var(--card);color:var(--fg);border:1px solid var(--line2)}
.btn.ghost:hover{background:var(--fill)}
.btn.bad{background:var(--bad);color:#FFFFFF}
.btn.bad:hover{background:var(--bad);opacity:.9}
.plan{max-width:1248px;width:100%;margin:0 auto;padding:32px 24px 48px;display:flex;flex-direction:column;gap:28px}
.phead{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 24px}
.ptitle{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.ptitle h1{font-size:34px;line-height:40px;font-weight:650;letter-spacing:-.02em;overflow-wrap:anywhere}
.pbiz{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}
.pact{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.h2row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px 16px}
.h2row h2{font-size:20px;line-height:26px;font-weight:650;letter-spacing:-.01em}
.h2row p{margin-top:4px;font-size:14px}
.more{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.label{font-size:12.5px;font-weight:650;color:var(--muted)}
.work{display:flex;gap:28px;padding:26px}
.work-main{flex:1.6 1 0;min-width:0;display:flex;flex-direction:column;gap:18px}
.summary{display:flex;flex-direction:column;gap:8px}
.summary p{font-size:16px;line-height:25px}
.found{display:flex;flex-direction:column;gap:8px}
.tchips{display:flex;flex-wrap:wrap;gap:8px}
.tchip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px 0 6px;border-radius:999px;background:var(--fill);font-size:13px;font-weight:600;
  max-width:100%;overflow-wrap:anywhere}
.tchip .site{font-weight:500}
.assumed{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:14px;background:var(--fill)}
.notright summary,.change summary{font-size:14px;font-weight:600;color:var(--accent-t);cursor:pointer}
.notright .fb-form{margin-top:10px}
.facts{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.fact{margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.fact-name{font-size:14px;font-weight:600}
.totals{display:flex;gap:16px}
.total{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:18px;background:var(--card);border:1px solid var(--line)}
.total.strong{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.total.paid{background:var(--fill);border-color:var(--fill)}
.tlabel{font-size:13.5px;font-weight:600;color:var(--muted)}
.total.strong .tlabel,.total.strong .titems,.total.strong .tsub{color:inherit;opacity:.8}
.amt{font-size:30px;line-height:36px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.per{font-size:14px;font-weight:500;letter-spacing:0}
.tsub{font-size:13px;color:var(--muted)}
.titems{font-size:12.5px;line-height:18px;color:var(--faint)}
.prices{margin-top:-16px}
.jobs-sec,.cases-sec{display:flex;flex-direction:column;gap:14px}
.legend{display:flex;flex-wrap:wrap;gap:8px 20px}
.legend-item{display:inline-flex;align-items:center;gap:8px;font-size:12.5px}
.card.flush{padding:0;overflow:hidden}
.jobs{width:100%;border-collapse:collapse;font-size:14px;line-height:20px}
.jobs thead th{padding:12px 16px;background:var(--fill);text-align:left;font-size:11.5px;font-weight:650;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.jobs th[scope=row],.jobs td{padding:16px;border-top:1px solid var(--line);text-align:left;vertical-align:top}
.jobs th[scope=row]{width:22%;font-weight:400}
.jname{display:block;font-weight:650}
.jname a{color:var(--fg)}
.jhow{display:block;font-size:13px;margin-top:2px}
.way{width:30%}
.way-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px}
.way-words{display:block;font-weight:600}
.why{display:block;font-size:13px;margin-top:4px}
.jobs td.cost{white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}
.acc span{display:block;font-size:13px;color:var(--muted)}
.acc span+span{margin-top:4px}
.fit{display:inline-flex;align-items:flex-start;gap:6px;font-size:13.5px}
.fit .ic{margin-top:2px}
.fit.yes .ic{color:var(--accent-t)}
.fit.no .ic{color:var(--bad)}
.fit .sub{display:block;font-size:12.5px;line-height:18px;color:var(--muted)}
.jrow.nofit .way{opacity:.7}
.cases{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.case{display:flex;flex-direction:column;gap:10px;padding:20px;min-width:0}
.case .who{font-size:13.5px;font-weight:650}
.case p{font-size:14.5px;line-height:21px}
.src{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:auto;font-size:12.5px}
.post{display:inline-flex;align-items:center;gap:4px;font-weight:600;text-decoration:none;margin-left:auto}
.cases-sec .small .ic{vertical-align:-3px;margin-right:6px}
.example{display:flex;flex-direction:column;gap:12px}
.xwarn{display:flex;align-items:flex-start;gap:8px;padding:12px 14px;border-radius:12px;background:var(--warnbg);color:var(--warn);font-weight:600;font-size:14px}
.xwarn .ic{margin-top:2px}
.xfacts{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:14px}
.xfact{display:flex;flex-direction:column}
.draft{border:1px solid var(--line2);border-radius:14px;overflow:hidden}
.dhead{display:flex;flex-direction:column;gap:4px;padding:12px 16px;background:var(--fill);font-size:13.5px;overflow-wrap:anywhere}
.dbody{padding:16px;display:flex;flex-direction:column;gap:10px;font-size:14.5px;line-height:22px}
.dfy{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding:24px 28px;border-radius:20px;background:var(--okbg)}
.dfy>div:first-child{flex:1;min-width:240px;display:flex;flex-direction:column;gap:4px;font-size:14.5px}
.dfy-title{font-size:18px;font-weight:650}
.delete h2{font-size:17px;font-weight:650}
@media (max-width:900px){.work{flex-direction:column}.totals{flex-direction:column}}
@media (max-width:720px){
  .plan{padding:20px 16px 32px;gap:22px}
  .ptitle h1{font-size:26px;line-height:32px}
  .work{padding:18px}
  .total{padding:18px}
  .amt{font-size:26px;line-height:32px}
  .total.paid .titems{display:none}
  .jobs thead{display:none}
  .jobs,.jobs tbody,.jobs tr,.jobs th[scope=row],.jobs td{display:block;width:auto}
  .jobs tr{padding:14px 16px;border-top:1px solid var(--line)}
  .jobs tr:first-child{border-top:0}
  .jobs th[scope=row],.jobs td{padding:0;border-top:0}
  .jobs td{margin-top:8px}
  .jobs td.acc,.why{display:none}
  .jobs td.cost{color:var(--muted)}
  .pact .btn,.dfy .btn{width:100%}
  .pact,.pact form{width:100%}
}

/* ---- one job opened (Plan-Job), which tool does what (Plan-Overlap), how others use AI (Plan-Use-Cases) */
.crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13.5px}
.crumb a{font-weight:600;text-decoration:none}
.jobpage .lede,.toolspage .lede,.expage .lede{font-size:16px;line-height:24px;max-width:780px}
.opts-sec{display:flex;flex-direction:column;gap:12px}
.opts-sec>h2,.jcard h2{font-size:17px;font-weight:650}
.opts{display:flex;gap:14px;align-items:stretch}
.opt{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:16px;background:var(--card);border:1px solid var(--line)}
.opt.chosen{border:2px solid var(--fg)}
.opt-top{display:flex;align-items:center;gap:8px;min-height:24px}
.opt-top .pill{margin-left:auto}
.pill.dark{background:var(--fg);color:var(--bg)}
.blank{width:24px;height:24px;border-radius:6px;background:var(--fill);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.opt-title{font-size:15.5px;line-height:22px;font-weight:650;overflow-wrap:anywhere}
.opt-cost{font-size:20px;font-weight:650;font-variant-numeric:tabular-nums}
.ruled{display:flex;flex-direction:column;gap:8px}
.opt.no{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 16px;border:0;border-radius:12px;background:var(--badbg)}
.opt-name{font-size:14px;font-weight:600}
.opt-fit{flex:1;min-width:200px;display:flex}
.jgrid{display:flex;gap:24px;align-items:flex-start}
.jgrid>.example{flex:1 1 0;min-width:0}
.jside{flex:0 1 520px;min-width:0;display:flex;flex-direction:column;gap:20px}
.jside.full{flex:1 1 auto}
.jcard{display:flex;flex-direction:column;gap:14px}
.locks .ic{color:var(--muted)}
.setup-steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.setup-steps li{display:flex;gap:14px;align-items:flex-start;font-size:14.5px;line-height:21px}
.setup-steps .num{width:26px;height:26px}
.setup-offer{display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid var(--line)}
.offer{font-weight:600}
.diy{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;font-size:13.5px}
.btn.small-btn{height:36px;padding:0 16px;font-size:13.5px}
.rule{display:flex;gap:16px;align-items:flex-start;padding:22px 24px;border-radius:18px;background:#111614;color:#FFFFFF}
.rule .ic{color:#ADCCC2;margin-top:2px}
.rule h2{font-size:17px;font-weight:650;color:#FFFFFF;margin-bottom:8px}
.rule p{font-size:15px;line-height:23px;color:rgba(255,255,255,.88)}
.said .pill{height:auto;min-height:24px;padding:3px 10px;white-space:normal}
.ogrid{display:grid;grid-template-columns:240px minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:center}
.ohead{padding:14px 24px;background:var(--fill);font-size:12px;font-weight:650;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.orow{display:flex;flex-direction:column;gap:10px;padding:14px 24px;border-top:1px solid var(--line)}
.ojob{display:flex;flex-direction:column;gap:3px}
.ojob .jname{font-size:16px}
.opick{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:14px;background:var(--okbg);border:2px solid var(--accent);min-width:0}
.opick.none{background:var(--badbg);border-color:var(--badbg);font-size:14px;font-weight:600}
.opick-t{display:flex;flex-direction:column;gap:4px;min-width:0}
.opick-w{font-size:15px;line-height:20px;font-weight:650;overflow-wrap:anywhere}
.opick-k{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ours{font-size:12px;font-weight:650;color:var(--accent-t)}
.others{display:flex;flex-wrap:wrap;gap:10px 20px}
.other{display:inline-flex;align-items:center;gap:8px;min-width:0}
.other-t{display:flex;flex-direction:column;min-width:0}
.other-name{font-size:13.5px;font-weight:600;line-height:18px}
.other .sub{font-size:12px;line-height:16px;color:var(--muted)}
.other .bad-t{color:var(--bad)}
.owhy{font-size:14px;line-height:21px}
.filters{display:flex;flex-direction:column;gap:12px;padding:16px 20px}
.frow{display:flex;align-items:center;gap:12px}
.flabel{width:44px;flex-shrink:0;font-size:12.5px;font-weight:650;color:var(--muted)}
a.chip{text-decoration:none}
.chip .n{color:var(--muted);font-variant-numeric:tabular-nums}
.chip.on .n{color:inherit;opacity:.7}
.uc-note .ic{vertical-align:-3px;margin-right:6px}
@media (max-width:900px){.opts,.jgrid{flex-direction:column;align-items:stretch}.jside{flex:none}.ogrid{grid-template-columns:minmax(0,1fr)}.ohead{display:none}}
@media (max-width:720px){.rule{padding:18px}.orow{padding:14px 16px}.frow{align-items:flex-start;flex-direction:column;gap:6px}.chip{white-space:normal;height:auto;min-height:34px}}

/* ---- the footer */
.foot{margin-top:auto;padding:20px 48px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}

/* ---- one column on a phone (Plan-Phone) */
@media (max-width:1100px){.landing{padding:48px 40px 56px}.hero{flex-direction:column;align-items:stretch}.mini{width:auto}}
@media (max-width:720px){
  .top{height:auto;min-height:60px;padding:12px 16px;flex-wrap:wrap}.top .tag{display:none}
  .note{margin:12px 16px 0}
  .landing{padding:28px 16px 40px;gap:36px}
  .hero h1{font-size:32px;line-height:38px}
  .lede{font-size:16px;line-height:24px}
  .cols,.how-steps{flex-direction:column}
  .prow{grid-template-columns:minmax(0,1fr) auto;row-gap:6px}
  .prow .tiles{justify-self:end}
  .prow .cost{grid-column:2}
  .band{flex-direction:column;align-items:flex-start;padding:22px}
  .feedback{margin:24px 16px 0;max-width:none;align-self:stretch}
  .foot{padding:16px}
}
/* Plan-Next: the saved card on the left, "Have Suprsuit set this up" on the right (Task 15a) */
.ngrid{display:flex;gap:24px;align-items:flex-start}
.nleft{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:20px}
.nright{flex:0 1 600px;min-width:0}
.setup h2{font-size:26px;line-height:32px}
.setup-form,.setup-form .filled{align-self:stretch}
.filled{padding:16px 18px;border-radius:14px;background:var(--fill)}
.filled-head{display:flex;flex-direction:column;gap:2px}
.flabel{display:flex;align-items:center;gap:8px}
.flabel .change{margin-left:auto;font-size:13px;font-weight:600;color:var(--accent-t)}
.field.boxes,.setup fieldset{border:0;margin:0;padding:0;min-width:0}
.setup legend{padding:0;margin-bottom:6px;width:100%}
.ticks-row{display:flex;flex-wrap:wrap;gap:8px 14px}
.fixed{font-size:15px;font-weight:400;overflow-wrap:anywhere}
.whatnext{align-self:stretch;padding:18px;border-radius:14px;background:var(--fill)}
.whatnext li div{display:flex;flex-direction:column;gap:2px}
@media (max-width:900px){.ngrid{flex-direction:column;align-items:stretch}.nright{flex:none}}
/* Plan-Next: Send to a friend (Task 16) */
.friend-form{align-self:stretch}
.frow{display:flex;gap:12px}
.frow .field{flex:1 1 0;min-width:0}
.safe{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:12px;background:var(--okbg);font-size:13.5px;line-height:20px}
.safe .ic{color:var(--accent);display:inline-flex;margin-top:1px}
.safe b{font-weight:650}
@media (max-width:720px){.frow{flex-direction:column}}
.consent{margin:8px 0 0;font-size:14px;line-height:20px}
/* The admin review list (Task 22b) */
.admin .change{margin:12px 0}
.admin table.diff,.admin table.jobs{width:100%;border-collapse:collapse;margin:8px 0;font-size:14px}
.admin table.diff th,.admin table.diff td,.admin table.jobs th,.admin table.jobs td{text-align:left;vertical-align:top;padding:6px 8px;border-top:1px solid var(--line)}
.admin table.diff ul{margin:0;padding-left:18px}
.admin del{color:var(--bad);text-decoration:line-through}
.admin ins{text-decoration:none;font-weight:550}
.admin .actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:12px}
.admin .actions .reject{display:inline-flex;align-items:flex-end;gap:8px}
.admin .tick{display:inline-flex;align-items:center;gap:6px;font-size:13.5px}
.admin select{font:inherit;font-size:16px;padding:10px 12px;border:1px solid var(--line2);border-radius:10px;background:var(--card);color:var(--fg)}

/* ---- Dec 2: the phone comes first. Most people do this on a phone, and the first try on one looked broken. ---- */
/* Pages change with a short fade instead of a flash (browsers without it just change page). */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s}
main{animation:page-in .22s ease-out}
@keyframes page-in{from{opacity:0}to{opacity:1}}
body.leaving main{opacity:0;transition:opacity .16s ease-in}
@media (prefers-reduced-motion:reduce){main{animation:none}body.leaving main{transition:none}::view-transition-old(root),::view-transition-new(root){animation:none}}

/* The steps sit in the page's own column, with its gutter, and never wrap. */
.steps{width:100%;max-width:1248px;margin:0 auto;padding:20px 24px 0;box-sizing:border-box}
.steps ol{flex-wrap:nowrap}
.steps li{white-space:nowrap;min-width:0}
.steps li+li{flex:0 1 auto}

/* Feedback is pinned to the bottom corner on every page, clear of the home bar, and opens upward as a sheet. */
.feedback{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));margin:0;z-index:20;max-width:min(520px,calc(100vw - 32px));
  align-self:auto;text-align:right}
.feedback summary{box-shadow:var(--shadow)}
.feedback[open]{left:16px;display:flex;flex-direction:column-reverse;align-items:flex-end;gap:10px}
.feedback .fb-form{margin:0;text-align:left;width:100%;box-sizing:border-box;max-height:calc(100vh - 140px);overflow:auto}
.foot{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
body.game-full .feedback{display:none}

/* Waiting for the sign-in page, and a reading that ended: a calm card, not a bare line. */
.waiting{display:flex;align-items:center;gap:12px;color:var(--muted)}
/* Dec 3: what the next screen will ask, so the wait is not an empty page */
.wnext{display:flex;flex-direction:column;gap:14px}
.wnext h2{margin:0;font-size:17px}
.wnext ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;counter-reset:wn}
.wnext li{counter-increment:wn;display:flex;align-items:flex-start;gap:12px;line-height:1.45}
.wnext li::before{content:counter(wn);flex:0 0 28px;height:28px;border-radius:999px;background:var(--fg);color:var(--bg);font-size:13px;font-weight:650;display:inline-flex;align-items:center;justify-content:center}
.wnext li span{padding-top:3px}
.ended{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:24px}
.ended .error{margin:0}

/* The notice that never interrupts a game: pinned to the top, with one button. */
.rnotice{position:fixed;left:50%;transform:translateX(-50%);top:calc(12px + env(safe-area-inset-top,0px));z-index:60;display:flex;align-items:center;gap:12px;
  width:max-content;max-width:calc(100vw - 24px);box-sizing:border-box;padding:10px 10px 10px 16px;border-radius:999px;background:var(--fg);color:var(--bg);
  font-size:14.5px;font-weight:600;box-shadow:0 8px 28px rgba(0,0,0,.28);animation:notice-in .3s ease-out}
.rnotice[hidden]{display:none}
.rnotice .btn{height:36px;padding:0 14px;background:var(--bg);color:var(--fg);white-space:nowrap}
@keyframes notice-in{from{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%,0)}}
@media (prefers-reduced-motion:reduce){.rnotice{animation:none}}

/* The game's own buttons: full screen, and close. */
.rgame-full,.rgame-close{height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line2);background:var(--card);color:var(--fg);font:inherit;
  font-size:13.5px;font-weight:600;cursor:pointer}
.rgame-full[hidden],.rgame-close[hidden]{display:none}
.rgame-close{display:none}
.gtop{display:none}
/* Dec 3, the board Plan-Game-A: full screen, the game IS the screen, the way the phone is held. A strip on it says what the reading is doing,
   the score sits under the strip, and a question waits as a button at the foot. Tap anywhere to jump. */
.rgame.full{position:fixed;inset:0;height:100vh;height:100dvh;z-index:50;margin:0;border:0;border-radius:0;background:var(--card);padding:0;display:block;
  touch-action:manipulation;-webkit-user-select:none;user-select:none;animation:game-in .26s cubic-bezier(.2,.8,.2,1)}
.rgame.full.closing{animation:game-out .18s ease-in forwards}
@keyframes game-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@keyframes game-out{to{opacity:0;transform:scale(.98)}}
.rgame.full .rgame-head,.rgame.full>p{display:none}
.rgame.full #plan-game{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0}
.rgame.full .gtop{display:block;position:absolute;left:0;right:0;top:0;z-index:2;pointer-events:none;padding-top:env(safe-area-inset-top,0px)}
.gbar{height:6px;background:var(--line)}
.gbar span{display:block;height:100%;width:0;background:var(--accent);transition:width .6s ease}
.gstat{display:flex;flex-direction:column;gap:2px;padding:14px 72px 0 16px}
.gstat-title{font-size:16px;line-height:22px;font-weight:650;color:var(--fg)}
.gstat-sub{font-size:13px;line-height:18px;color:var(--muted)}
/* Dec 3: what the reading has seen so far, one line that changes as it learns */
.gstat-insight{font-size:13.5px;line-height:19px;font-weight:600;color:var(--accent-t,var(--accent));margin-top:4px;min-height:19px}
.gstat-insight.new,.rinsight-text.new{animation:insight-in .35s ease-out}
@keyframes insight-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.gstat-insight.new,.rinsight-text.new{animation:none}}
.rinsight{display:flex;align-items:baseline;gap:8px;margin:0;font-size:14.5px;line-height:21px;flex:1 1 100%;order:6}
.rinsight[hidden]{display:none}
.rinsight-label{flex:none;font-size:12.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.rinsight-text{font-weight:600;color:var(--accent-t,var(--accent))}
.rgame.full .rgame-close{display:inline-flex;align-items:center;justify-content:center;position:absolute;z-index:3;top:calc(18px + env(safe-area-inset-top,0px));right:14px;
  width:44px;height:44px;padding:0}
.rgame-turn{display:none}
.rgame.full>p.rgame-turn{display:block;position:absolute;left:16px;right:16px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:2;margin:0;
  font-size:13px;color:var(--muted);text-align:center;pointer-events:none}
@media (prefers-reduced-motion:reduce){.rgame.full,.rgame.full.closing{animation:none}.gbar span{transition:none}}
body.game-full{overflow:hidden}

@media (max-width:720px){
  /* The top bar stays one line: the name, then the address cut short, then Sign out. */
  .top{flex-wrap:nowrap;gap:10px;min-height:56px;padding:8px 16px}
  .top .right{min-width:0;gap:10px}
  .top .who{min-width:0;max-width:38vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .brand{gap:10px;flex:none}
  /* The steps, compact: every step's number, and only the present step's name. */
  .steps{padding:14px 16px 0}
  .steps ol{gap:8px}
  .steps li{font-size:0;gap:0}
  .steps li.now{font-size:14px;gap:8px}
  .steps .dot{font-size:11.5px}
  .steps li+li::before{width:auto;flex:1 1 16px;min-width:12px;margin-right:8px}
  .steps li+li{flex:1 1 auto}
  .steps li.now{flex:0 0 auto}
  /* "Signed in as" is already in the top bar on a phone. */
  .reading>.signed-as,.connect-head>.signed-as{display:none}
  .narrow{margin:28px auto;padding:0 16px;box-sizing:border-box}
  .narrow h1{font-size:24px;line-height:30px}
  .reading{gap:14px;padding-top:16px}
  .rtop{padding:14px 16px}
  .rtop .rbar{flex:1 1 100%;order:3}
  .rtop .rleft{order:4}
  .rtop .rleave{order:5;flex-basis:100%}
  .rtop .rnotes{order:6}
  .rtop .rstep{flex-basis:100%}
}

/* ---- the admin pages: a column with a gutter, and a nav that scrolls sideways on a phone instead of breaking the page. */
.admin{width:100%;max-width:960px;margin:0 auto;padding:28px 24px 56px;box-sizing:border-box;display:flex;flex-direction:column;gap:16px}
.admin>h1{font-size:26px;line-height:32px}
.admin .card{margin:0}
.admin code{font-size:12.5px;overflow-wrap:anywhere;background:var(--okbg);padding:1px 6px;border-radius:6px}
.admin table{display:block;overflow-x:auto}
.admin-top .right a[aria-current=page]{text-decoration:underline;text-underline-offset:6px}
@media (max-width:720px){
  .admin{padding:20px 16px 48px}
  .admin-top{flex-wrap:wrap;row-gap:6px}
  .admin-top .right{margin-left:0;flex:1 1 100%;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:4px;gap:18px}
  .admin-top .right a,.admin-top .right .link{flex:none;min-height:36px;display:inline-flex;align-items:center}
  .admin-top .who{display:none}
  .admin .card{padding:18px 16px}
}
/* The steps' joining lines share the space evenly. The game's page keeps Feedback at its foot, so it never sits on the game. */
@media (max-width:720px){
  .steps li+li,.steps li.now{flex:1 1 auto}
  .steps li:first-child{flex:0 0 auto}
  .reading>form.inline,.connect-head>form.inline,.reading>p:empty{display:none}
}
body:has(main.reading) .feedback{position:static;align-self:flex-end;margin:0 16px 16px;text-align:right}
body:has(main.reading) .feedback[open]{align-self:stretch}
body:has(main.reading) .foot{padding-bottom:20px}
/* Full screen, a notice is the button at the foot (the board Plan-Game-A): it waits there and never stops the game. */
body.game-full .rnotice{top:auto;bottom:calc(56px + env(safe-area-inset-bottom,0px));left:16px;right:16px;width:auto;max-width:none;transform:none;
  min-height:52px;border-radius:14px;padding:8px 8px 8px 16px;justify-content:space-between;animation:notice-up .3s ease-out}
@keyframes notice-up{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){body.game-full .rnotice{animation:none}}
/* The top bar already says who is signed in, with Sign out: the second line under the steps is not shown at any width. */
.reading>.signed-as,.reading>form.inline,.reading>p:empty,.connect-head>.signed-as,.connect-head>form.inline,.connect-head>p:empty{display:none}

/* ---- the review list, made for a phone: each change is one line, opened with a tap */
.admin details.fold{padding:0;margin:0;overflow:hidden}
.admin details.fold>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding:14px 44px 14px 16px;
  position:relative;min-height:48px;box-sizing:border-box}
.admin details.fold>summary::-webkit-details-marker{display:none}
.admin details.fold>summary::after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:translateY(-70%) rotate(45deg)}
.admin details.fold[open]>summary::after{transform:translateY(-30%) rotate(225deg)}
.admin details.fold[open]>summary{border-bottom:1px solid var(--line)}
.admin .ch-name{font-weight:650;font-size:15.5px;min-width:0;overflow-wrap:anywhere}
.admin .ch-kind{font-size:12.5px;grid-column:2;grid-row:1}
.admin .ch-gist{grid-column:1 / -1;font-size:13.5px;line-height:19px;min-width:0;overflow-wrap:anywhere}
.admin details.fold>summary .pill.warn{grid-column:1 / -1;justify-self:start;background:var(--warnbg);color:var(--warn)}
.admin details.fold>:not(summary){margin-left:16px;margin-right:16px}
.admin details.fold>:last-child{margin-bottom:16px}
.admin details.fold>summary+*{margin-top:14px}
.admin h3{font-size:15px;margin-top:8px}
.admin .stack{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.admin table.diff,.admin table.jobs{display:table;table-layout:fixed;width:100%}
.admin table.diff td,.admin table.diff th{overflow-wrap:anywhere;word-break:break-word}
.admin table.diff th:first-child,.admin table.diff td:first-child{width:34%}
.admin .change a{overflow-wrap:anywhere}
.admin .actions .reject{flex:1 1 100%}
.admin .actions .reject .field{flex:1 1 auto;min-width:0}
.admin input[type=text],.admin textarea,.admin select{max-width:100%;box-sizing:border-box}

/* ---- Dec 2, after 20 blind reviews on a phone ---- */
/* Tick boxes and radio buttons were stretched to the full width by the text-field rule, which scattered them. Each choice is now one row. */
.choice input[type=checkbox],.choice input[type=radio],.field input[type=checkbox],.field input[type=radio],.tick input[type=checkbox]{
  width:22px;height:22px;min-width:22px;flex:none;padding:0;margin:0;accent-color:var(--accent)}
.choice{gap:10px;min-height:44px;font-size:15px;font-weight:500;cursor:pointer}
.ticks-row{gap:4px 20px}
.keep .delete .btn.bad{background:transparent;color:var(--bad);border:1px solid var(--bad)}
.setup-first .setup>h2{display:none}
.consents{display:flex;flex-direction:column;gap:8px}
.ended p{margin:0}
@media (max-width:720px){
  .ticks-row{flex-direction:column;gap:0}
  .ticks-row .choice,.fb-form fieldset .choice,form .choice{display:flex;width:100%;min-height:48px;align-items:center}
  .flabel .change{display:none}
  .fb-form fieldset{flex-direction:column;gap:0}
  /* Feedback sits at the foot of the page on a phone, where it covers nothing (it floated over buttons and prices). */
  .feedback,body:has(main.reading) .feedback{position:static;align-self:flex-end;margin:8px 16px 16px;text-align:right;max-width:none}
  .feedback[open]{align-self:stretch;display:block}
  .feedback .fb-form{margin-top:12px;max-height:none}
  .foot{padding-bottom:20px}
  /* The connect page reads from the left, and its buttons come first. */
  .connect-head{align-items:flex-start;text-align:left}
  .connect-head h1{text-wrap:balance}
  .consents .consent{font-size:14.5px;line-height:21px}
  /* A question from what was found comes before the game, with buttons a thumb can hit. */
  .rqs:has(.qcard){order:-1}
  .qcard .chips{display:flex;gap:10px;width:100%}
  .qcard .chip{flex:1 1 0;min-height:48px;justify-content:center;font-size:15px}
  /* The admin menu wraps onto two lines instead of running off the screen. */
  .admin-top .right{flex-wrap:wrap;overflow:visible;white-space:normal;gap:4px 18px}
}
/* The admin edit page: one row a job, each tick with its own words. */
.admin ul.jobs{list-style:none;margin:8px 0;padding:0;display:flex;flex-direction:column}
.admin ul.jobs li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 16px;padding:8px 0;border-top:1px solid var(--line)}
.admin ul.jobs .jname{font-weight:600;flex:1 1 200px;min-width:0}
.admin ul.jobs .jticks{display:flex;gap:20px}
.admin .tick.choice{flex:1 1 100%}
.admin .actions{align-items:center}
.admin .actions .btn{min-height:44px}
@media (max-width:720px){.flabel{white-space:nowrap}}

/* ---- Dec 2, second round from the phone reviews ---- */
:root{--muted:#4A5350}
@media (prefers-color-scheme:dark){:root{--muted:#c2c4bf}
  .total.strong{background:#0d1110;border-color:var(--accent);color:var(--fg)}}
.top .tag{display:none}
.jopen{display:inline-flex;align-items:center;gap:4px;margin-top:6px;font-size:13.5px;font-weight:600;color:var(--accent-t);text-decoration:none}
.jrow th .jname a{text-decoration:none}
.rfound:not(:has(.rtools>*,.rjobs>*)){display:none}
.rfound .chip,.rfound .pill{display:inline-flex;align-items:center;height:auto;min-height:30px;padding-top:4px;padding-bottom:4px}
.pshort{padding:20px;display:flex;flex-direction:column;gap:10px}
.pshort h2{font-size:18px}
.pshort ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px}
.privacy a{overflow-wrap:anywhere}
.admin .verdict{margin:0;padding:14px 16px;font-weight:600}
.admin .verdict.ok{background:var(--okbg);border-color:transparent}
.admin .verdict.warn{background:var(--warnbg);border-color:transparent;color:var(--warn)}
.admin .verdict.bad{background:var(--badbg);border-color:transparent;color:var(--bad)}
.admin-top .pill{background:var(--warnbg);color:var(--warn);font-weight:650}
@media (max-width:720px){
  .legend{flex-direction:column;gap:8px}
  .legend-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:13.5px}
  .small,.titems,.jhow,.why{font-size:14px;line-height:20px}
}

@media (max-width:720px){.jrow td,.jrow th,.jrow span{white-space:normal;overflow-wrap:anywhere}}

/* ---- Dec 2: the plan on a phone leads with the answer. One line about the business, two totals, one compact row a job; the rest folds away. */
.mlead{display:none}
.mfold>summary{display:none}
.mfold{display:contents}
@media (min-width:721px){
  /* wide: the folds read as plain sections, and the work comes before the totals, as the board has it */
  .plan>.mwork{display:block;order:-1}
  .plan>.steps{order:-3}.plan>.phead{order:-2}
  .plan>details.mfold:not([open])>:not(summary){display:block}
}
@media (max-width:720px){
  .plan{gap:16px}
  .mlead{display:block;font-size:16px;line-height:24px;color:var(--muted);margin-top:-6px}
  .phead .pact,.phead>.btn,.phead a.btn{display:none}
  /* totals: two tiles side by side, and what you pay now as one slim line */
  .plan .totals{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .plan .total{padding:14px;gap:4px;border-radius:14px}
  .plan .total .tlabel{font-size:12.5px;line-height:17px;min-height:34px}
  .plan .total .amt{font-size:24px;line-height:28px}
  .plan .total .per{display:block;font-size:12.5px;font-weight:500}
  .plan .total .titems,.plan .total .tsub{display:none}
  .plan .total.paid{grid-column:1 / -1;flex-direction:row;align-items:baseline;justify-content:space-between;padding:12px 14px}
  .plan .total.paid .tlabel{min-height:0;font-size:13.5px}
  .plan .total.paid .amt{font-size:17px;line-height:22px}
  .plan .total.paid .per{display:inline}
  .plan p.prices{margin-top:-8px}
  /* jobs: name, what to do, the tools and the cost; the whole row opens the job */
  .jobs-sec .h2row h2{font-size:20px;line-height:26px}
  .jobs-sec .h2row p,.jobs-sec .legend{display:none}
  .plan .jobs tr.jrow{position:relative;padding:14px 44px 14px 16px;min-height:64px}
  .plan .jobs tr.jrow::after{content:"";position:absolute;right:20px;top:50%;width:8px;height:8px;border-right:2px solid var(--muted);border-top:2px solid var(--muted);
    transform:translateY(-50%) rotate(45deg)}
  .plan .jrow .jhow,.plan .jrow .way-top .kind,.plan .jrow .why,.plan .jrow .jopen,.plan .jrow td.acc,.plan .jrow .fit.yes{display:none}
  .plan .jrow .jname{font-size:16.5px;line-height:22px}
  .plan .jrow .jname a::after{content:"";position:absolute;inset:0;z-index:1}
  .plan .jrow td{margin-top:0}
  .plan .jrow td.way{display:flex;flex-direction:column}
  .plan .jrow .way-words{order:1;font-weight:500;font-size:14.5px;line-height:20px;color:var(--muted);margin-top:3px}
  .plan .jrow .way-top{order:2;margin:10px 0 0;min-height:24px;padding-right:120px}
  .plan .jrow td.cost{position:absolute;right:44px;bottom:15px;max-width:150px;text-align:right;font-size:14px;line-height:18px;font-weight:650;color:var(--fg)}
  .plan .jrow td.fitcol:has(.fit.no){margin-top:8px}
  .plan .jrow.nofit td.cost{display:none}
  /* the rest folds away */
  .mfold{display:block;border:1px solid var(--line);border-radius:14px;background:var(--card);overflow:hidden}
  .mfold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:14px 16px;min-height:52px;
    box-sizing:border-box;font-size:15.5px;font-weight:650}
  .mfold>summary::-webkit-details-marker{display:none}
  .mfold>summary::after{content:"";flex:none;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin-right:6px}
  .mfold[open]>summary::after{transform:rotate(225deg)}
  .mfold[open]>summary{border-bottom:1px solid var(--line)}
  .mfold>section,.mfold>.card{border:0;border-radius:0;box-shadow:none;margin:0}
  .mfold.mcases>section{padding:16px}
  .mfold.mdelete>summary{font-weight:500;color:var(--muted)}
  .mfold .work>.work-main>.h2row h2,.mfold.mcases h2,.mfold.mdelete h2{display:none}
}

@media (max-width:720px){.plan .jrow td.cost .cmore{display:none}}
/* wide: the cost's reason sits under the amount, so the cost column stays narrow */
@media (min-width:721px){.jobs td.cost{white-space:normal;width:16%}.jobs td.cost .cmore{display:block;font-weight:500;font-size:13px;line-height:18px;color:var(--muted)}
  .jobs td.acc{width:20%}.jobs td.fitcol{width:17%}}

/* ---- Dec 3: measured on a phone. Every tap target is at least 44 px tall, and no label is under 13 px. */
@media (max-width:900px){
  .top .brand,.top .right a,.top .right .link,.top .right button,.crumb a,a.more,button.link,.rgame-full,.rgame-close,.feedback summary,
  .admin a:not(.btn),.admin-top .right a,.admin-top .right .link,.jopen,.ptitle a,.narrow a:not(.btn),.signin button.link{
    min-height:44px;display:inline-flex;align-items:center}
  .feedback summary{height:44px}
  p a:not(.btn),li a:not(.btn),.muted a:not(.btn),.foot a{min-height:0;display:inline}          /* a link inside a sentence stays in the line */
  .admin p a:not(.btn),.admin li a:not(.btn),.narrow p a:not(.btn){min-height:0;display:inline}
  .admin .actions a:not(.btn){min-height:44px;display:inline-flex}
  .pill,.kind,.qsrc,small.muted,.admin small,.lp{font-size:13px;line-height:18px}
  .admin input[type=text],.admin select,.admin textarea,.field input,.field select{min-height:44px}
}

img.tile.logo{border-radius:5px;object-fit:contain;background:#fff}

/* ---- Dec 3, ask first: one question at a time, then the list to check */
.rqs.has{order:-1}
.qnow{display:flex;flex-direction:column;gap:8px}
.qcount{font-size:13px;font-weight:600}
.qcard{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:var(--shadow)}
.qcard .qtext{font-size:18px;line-height:25px;font-weight:650}
.qcard .qwhy{font-size:14.5px;line-height:21px}
.qform .chips{display:flex;flex-direction:column;gap:10px;width:100%}
.qform .chip{width:100%;min-height:52px;justify-content:center;font-size:16px;font-weight:600;white-space:normal;text-align:center;padding:10px 14px;cursor:pointer}
.qother>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--accent-t);list-style:none}
.qother>summary::-webkit-details-marker{display:none}
.qskip{align-self:flex-start}
.qdone{display:flex;align-items:baseline;gap:8px;font-size:14px;line-height:20px;color:var(--muted);padding:6px 0;flex-wrap:wrap}
.qdone .qsaid{font-weight:650;color:var(--fg)}
.qwait{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:14px;background:var(--fill)}
.ccard{padding:20px;gap:12px}
.ccard h2{font-size:20px;line-height:26px}
.cjobs{display:flex;flex-direction:column;align-self:stretch}
.cjob{align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}
.cjob:first-child{border-top:0}
.cjob>span{display:flex;flex-direction:column;gap:2px}
.cjob .muted{font-size:13.5px;line-height:19px;font-weight:400}
.cadd>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--accent-t);list-style:none}
.cadd>summary::-webkit-details-marker{display:none}
.ccard .btn.big{align-self:stretch;justify-content:center;min-height:52px}
@media (min-width:901px){.rqs.has{order:0}}
.rgame:not(.full) .rgame-close{display:none}

/* Dec 3: the plan found nothing new to buy. That is good news, and it is said first. */
.allset{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-radius:16px;background:var(--okbg);color:var(--accent-t);border:1px solid var(--line)}
.allset svg{flex:none;margin-top:3px}
.allset h2{margin:0;font-size:18px;line-height:24px;font-weight:650;color:var(--fg)}
.allset p{margin:4px 0 0;font-size:14.5px;line-height:21px;color:var(--fg)}
/* Dec 3: what else the owner said they want done */
.asked{display:flex;flex-direction:column;gap:12px}
.asked h2{margin:0;font-size:18px}
.asked ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.asked li{display:flex;flex-direction:column;gap:6px}
.asked li p{margin:0;font-size:14.5px;line-height:21px}
.asked-tools{display:flex;flex-wrap:wrap;gap:6px}
/* Dec 3 (final UI review): a "Jobs" or "Found so far" label with nothing after it yet is not shown */
.rfound .rlabel:has(+ .rjobs:empty),.rfound .rlabel:has(+ .rtools:empty),.rfound .rsep:has(+ .rlabel + .rjobs:empty){display:none}
.rfound:not(:has(.chip,.pill)){display:none}
