/* The office console's and the sales page's styles, loaded by console/index.html.
   Taken out of an inline <style> on 6 November 2026 (docs/plans/2026-11-05-ai-readable-site.md, R2c): 60,000
   characters of CSS sat before the page's first word, so any reader that takes a page's first part as raw HTML
   (an AI assistant's capped fetch among them) saw only styles. Same rules, same order, now cached on their own. */
/* --ink-3 (muted text), the active module's overlay and the environment tag (.logo .env) reach 4.5:1 on every
   background they sit on (WCAG 1.4.3; job-money J7 accessibility pass, 9 November 2026: they were #6b7683, .2 and
   .75, at 4.01 to 4.49). */
:root{
  --ink:#12161c; --ink-2:#3f4854; --ink-3:#616b77;
  --line:#dde3ea; --line-2:#eef2f6;
  --bg:#f6f8fa; --panel:#ffffff;
  --brand:#0b5fa5; --brand-ink:#ffffff; --brand-soft:#e7f0fa;
  --ok:#16794a; --ok-soft:#e6f4ec;
  --warn:#8a5a00; --warn-soft:#fdf3e0;
  --bad:#a3231f; --bad-soft:#fbeceb;
  --radius:6px;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
button{font:inherit;cursor:pointer}
input,select{font:inherit}
a{color:var(--brand)}

/* ---------- sign in ---------- */
/* The signed-out view is also the public page for NexaTrack. It stays at this URL on purpose, so
   every sign in link, bookmark and `#/issues/<uuid>` deep link keeps working unchanged. Everything
   for it is scoped under #signin and prefixed lp-, so none of it can reach the console itself.
   Self contained like support.html and privacy.html: no external font, stylesheet or script. */
#signin{display:flex;flex-direction:column;min-height:100vh;background:#fff;color:#0e1a26;
  --lp-ink:#0e1a26; --lp-ink-2:#475566; --lp-ink-3:#6a7787;
  --lp-blue:#0b5fa5; --lp-blue-deep:#094b83; --lp-mist:#f2f5f8; --lp-line:#dce3ea;
  --lp-amber:#e8a317; --lp-amber-soft:#fdf2da;
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
:where(#signin) a{color:inherit}
#signin :focus-visible{outline:3px solid var(--lp-amber);outline-offset:2px}
.lp-wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}
.lp-mono{font-family:var(--mono);font-variant-numeric:tabular-nums}
.lp-eyebrow{font:600 12px/1.2 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--lp-blue)}
#signin h2{font-size:clamp(26px,3.4vw,38px);line-height:1.12;letter-spacing:-.02em;margin:10px 0 14px;
  font-weight:800;text-wrap:balance}
.lp-lede{font-size:18px;color:var(--lp-ink-2);max-width:60ch;margin:0}
.lp-section{padding:88px 0}
.lp-section.mist{background:var(--lp-mist)}

/* top bar */
.lp-top{position:absolute;top:0;left:0;right:0;z-index:2}
.lp-top .lp-wrap{display:flex;align-items:center;gap:28px;height:68px}
.lp-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;letter-spacing:-.3px;
  color:#fff;text-decoration:none}
.lp-brand img{width:30px;height:30px;border-radius:7px;display:block;box-shadow:0 0 0 1px rgba(255,255,255,.35)}
.lp-top nav{display:flex;gap:22px;margin-left:auto;align-items:center}
.lp-top nav a{color:#dbe9f7;text-decoration:none;font-size:15px}
.lp-top nav a:hover{color:#fff}
.lp-top nav a.lp-signin-link{color:#fff;border:1px solid rgba(255,255,255,.45);padding:7px 14px;border-radius:6px;font-weight:600}
.lp-top nav a.lp-signin-link:hover{background:rgba(255,255,255,.1)}

/* hero: the brand blue with a drawing grid, because this is a product for people who read plans */
.lp-hero{position:relative;color:#fff;padding:136px 0 96px;
  background-color:var(--lp-blue-deep);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px),
    linear-gradient(160deg,var(--lp-blue) 0%,var(--lp-blue-deep) 70%);
  background-size:120px 120px,120px 120px,24px 24px,24px 24px,100% 100%}
.lp-hero .lp-wrap{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:56px;align-items:center}
.lp-hero .lp-eyebrow{color:#9fc8ee}
.lp-hero h1{font-size:clamp(38px,5.6vw,64px);line-height:1.02;letter-spacing:-.035em;font-weight:850;
  margin:14px 0 20px;text-wrap:balance}
.lp-hero h1 em{font-style:normal;color:#ffd27a}
.lp-hero p.lp-lede{color:#d6e6f5;font-size:19px}
.lp-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.lp-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:7px;font-weight:700;
  font-size:16px;text-decoration:none;border:1px solid transparent;line-height:1.2}
#signin a.lp-btn.primary{background:var(--lp-amber);color:#1d1504}
#signin a.lp-btn.primary:hover{background:#f2b23a}
#signin a.lp-btn.quiet{color:#fff;border-color:rgba(255,255,255,.45)}
#signin a.lp-btn.quiet:hover{background:rgba(255,255,255,.1)}
.lp-proofline{display:flex;flex-wrap:wrap;gap:8px 22px;margin:34px 0 0;padding:0;list-style:none;color:#bcd6ee;font-size:14px}
.lp-proofline li::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--lp-amber);margin-right:9px;vertical-align:1px}

/* the existing sign in form, now sitting in the hero */
#signin .card{max-width:none;padding:30px;border:0;border-radius:12px;color:var(--lp-ink);
  box-shadow:0 1px 2px rgba(5,20,40,.2),0 24px 48px rgba(5,20,40,.28)}
#signin .card h3{margin:0 0 4px;font-size:20px;letter-spacing:-.2px}
#signin .card .sub{margin:0 0 20px;color:var(--ink-3);font-size:14px}
#signin .card .field input{padding:11px 12px;font-size:15px}
#signin .card .btn{padding:12px 14px;font-size:15px}
#signin .card .lp-help{margin:16px 0 0;font-size:13px;color:var(--ink-3)}
#signin .card .lp-help a{color:var(--lp-blue)}
#signin .card .field-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
#signin .card .lp-help.su-why{margin:-6px 0 12px}
#signin .card .check{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:14px;color:var(--ink-2)}
#signin .card .check input{width:16px;height:16px;margin:0}
#signin .card .field select{width:100%;padding:11px 12px;font-size:15px;border:1px solid var(--line, #d5dbe3);border-radius:var(--radius);background:#fff}
#signin .card .btn.ghostlink{margin-top:10px;background:transparent;color:var(--lp-blue);border:1px solid currentColor}
#signin .card .bignum{font-size:56px;font-weight:700;letter-spacing:6px;text-align:center;margin:10px 0 16px;font-variant-numeric:tabular-nums}
.card{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:28px;width:100%;max-width:380px;
  box-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.06)}
/* Rounded here and only here: on a white card the square reads as a box. The favicon and the
   apple-touch-icon stay square because the browser and the OS apply their own mask. */
#signin .mark{width:44px;height:44px;border-radius:10px;display:block;margin:0 0 14px}

/* price comparison, drawn to one scale: the NexaTrack bar is 145/699 of the other */
.lp-compare{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px;align-items:center}
.lp-bars{display:grid;gap:22px}
.lp-bar-row .lp-bar-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;font-weight:700}
.lp-bar-row .lp-bar-head .lp-mono{font-size:22px;font-weight:700;letter-spacing:-.02em}
.lp-bar-row .lp-bar-head .lp-mono small{font-size:13px;color:var(--lp-ink-3);font-weight:500}
.lp-bar{height:18px;border-radius:4px;background:#c9d2dc}
.lp-bar.nt{background:var(--lp-blue);width:20.74%}
.lp-bar-row.them .lp-bar-head{color:var(--lp-ink-2);font-weight:600}
.lp-save{margin-top:26px;padding-top:20px;border-top:1px solid var(--lp-line);display:flex;gap:26px;flex-wrap:wrap}
.lp-save div{font-size:14px;color:var(--lp-ink-3)}
.lp-save b{display:block;font:700 26px/1.2 var(--mono);color:var(--lp-ink);letter-spacing:-.02em}
.lp-fn{font-size:12.5px;color:var(--lp-ink-3);margin-top:18px;max-width:62ch}

/* the schedule demo */
.lp-sched-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:end;margin-bottom:34px}
.lp-sched-intro ul{margin:0;padding:0;list-style:none;display:grid;gap:10px;color:var(--lp-ink-2)}
.lp-sched-intro li{padding-left:22px;position:relative}
.lp-sched-intro li::before{content:"";position:absolute;left:0;top:.62em;width:10px;height:2px;background:var(--lp-blue)}
.lp-gantt-box{background:#fff;border:1px solid var(--lp-line);border-radius:10px;box-shadow:0 12px 32px rgba(14,26,38,.07)}
.lp-gantt-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--lp-line)}
.lp-gantt-bar strong{font-size:15px}
.lp-tag{font:600 11px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;padding:5px 8px;border-radius:4px;
  background:var(--lp-mist);color:var(--lp-ink-2)}
.lp-slip-btn{margin-left:auto;border:1px solid var(--lp-blue);background:var(--lp-blue);color:#fff;
  padding:8px 14px;border-radius:6px;font-weight:700;font-size:14px}
.lp-slip-btn:hover{background:var(--lp-blue-deep)}
.lp-slip-btn[aria-pressed="true"]{background:#fff;color:var(--lp-blue)}
.lp-gantt-scroll{overflow-x:auto}
.lp-gantt{min-width:640px;padding:10px 18px 18px;--cols:16}
.lp-g-row{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;min-height:40px}
.lp-g-name{font-size:14px;font-weight:600;padding-right:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lp-g-name span{display:block;font-weight:400;font-size:12px;color:var(--lp-ink-3)}
.lp-g-track{position:relative;height:40px;
  background-image:linear-gradient(90deg,var(--lp-line) 1px,transparent 1px);
  background-size:calc(100% / var(--cols)) 100%;border-right:1px solid var(--lp-line)}
.lp-g-head .lp-g-track{height:26px;background:none;border:0;display:grid;grid-template-columns:repeat(var(--cols),1fr)}
.lp-g-head .lp-g-track span{font:500 11px/26px var(--mono);color:var(--lp-ink-3);text-align:center}
.lp-g-head .lp-g-name{font:600 11px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--lp-ink-3)}
.lp-g-b{position:absolute;top:9px;height:22px;border-radius:4px;background:var(--lp-blue);
  left:calc(var(--s) * 100% / var(--cols));width:calc(var(--d) * 100% / var(--cols) - 3px);
  transition:left .6s cubic-bezier(.3,.7,.2,1),background-color .3s;
  display:flex;align-items:center;padding:0 7px;color:#fff;font:600 11px/1 var(--mono);white-space:nowrap}
.lp-g-b.done{background:#8aa4bd}
.lp-g-b .lag{margin-left:auto;background:rgba(255,255,255,.22);padding:3px 5px;border-radius:3px}
.lp-gantt.slipped .lp-g-b.moves{background:var(--lp-amber);color:#1d1504}
.lp-gantt.slipped .lp-g-b.moves .lag{background:rgba(0,0,0,.12)}
.lp-gantt.slipped .lp-g-b.moves{left:calc((var(--s) + 2) * 100% / var(--cols))}
.lp-g-status{padding:14px 18px;border-top:1px solid var(--lp-line);font-size:14.5px;color:var(--lp-ink-2);min-height:52px}
.lp-g-status b{color:var(--lp-ink)}

/* features: a ruled list, not a wall of cards */
.lp-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 44px;margin-top:40px}
.lp-feature{padding:26px 0;border-top:2px solid var(--lp-ink)}
.lp-feature h3{margin:0 0 8px;font-size:19px;letter-spacing:-.01em}
.lp-feature p{margin:0;color:var(--lp-ink-2);font-size:15.5px}
.lp-watch{display:inline-block;margin-top:10px;font-size:14.5px;font-weight:700;color:var(--lp-blue)}
.lp-watch:hover{text-decoration:underline}
/* Ask your AI (docs/plans/2026-11-05-ai-readable-site.md step G): the prompt is plain text, so it reads without script */
.lp-ask{margin-top:26px;padding:18px 20px;border:1px solid var(--lp-line);border-radius:10px;background:#fff}
.lp-ask p{margin:0 0 10px;font-size:15.5px;color:var(--lp-ink-2)}
.lp-ask p b{color:var(--lp-ink)}
.lp-ask-prompt{font-size:14.5px;line-height:1.5;padding:10px 12px;border-radius:7px;background:#f3f6f9;color:var(--lp-ink)}
.lp-ask-copy{font:inherit;font-size:14.5px;font-weight:700;padding:8px 14px;border-radius:7px;border:1px solid var(--lp-blue);background:#fff;color:var(--lp-blue);cursor:pointer}
.lp-ask-copy[hidden]{display:none}

/* pricing */
.lp-pricing{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.lp-plan{border:1px solid var(--lp-line);border-radius:12px;padding:32px;background:#fff;box-shadow:0 12px 32px rgba(14,26,38,.07)}
.lp-plan .lp-price{font:800 56px/1 var(--mono);letter-spacing:-.04em}
.lp-plan .lp-price small{font:500 16px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:var(--lp-ink-3);letter-spacing:0}
.lp-plan ul{margin:22px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.lp-plan li{padding-left:26px;position:relative;color:var(--lp-ink-2)}
.lp-plan li::before{content:"";position:absolute;left:2px;top:.5em;width:12px;height:6px;border:solid var(--lp-blue);
  border-width:0 0 2px 2px;transform:rotate(-45deg)}
.lp-plan li b{color:var(--lp-ink)}
.lp-calc{margin-top:26px;padding-top:22px;border-top:1px solid var(--lp-line)}
.lp-calc label{display:flex;justify-content:space-between;font-weight:600;font-size:15px;margin-bottom:10px}
.lp-calc input[type=range]{width:100%;accent-color:var(--lp-blue)}
.lp-calc-out{display:flex;justify-content:space-between;align-items:baseline;margin-top:12px;font-size:14px;color:var(--lp-ink-3)}
.lp-calc-out b{font:700 24px/1 var(--mono);color:var(--lp-ink)}

/* close */
.lp-price-mail{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.lp-form-frame{display:block;width:100%;height:520px;border:0;border-radius:10px;background:#fff}
@media (max-width:900px){.lp-price-mail{grid-template-columns:1fr;gap:20px}}
.lp-close{background:var(--lp-blue-deep);color:#fff;text-align:left}
.lp-close .lp-wrap{display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between}
.lp-close h2{color:#fff;margin:0 0 8px}
.lp-close p{margin:0;color:#cfe0f1;max-width:56ch}
/* The field app's store badges (5 October 2026): Apple's and Google's own artwork, served from console/badges so
   the enforced CSP (img-src 'self') allows them. Google's PNG carries its clear space inside the image, so it is drawn
   1.5 times the App Store badge's height with that space taken back by a negative margin; both badges then show
   at the same height. Neither is redrawn or recoloured, as both stores' badge rules require. */
.lp-app{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 40px;margin-top:48px;
  padding:28px 32px;border:1px solid var(--lp-line);border-radius:12px;background:var(--lp-mist)}
.lp-app h3{margin:0 0 6px;font-size:20px;letter-spacing:-.01em}
.lp-app p{margin:0;color:var(--lp-ink-2);max-width:52ch}
.lp-stores{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.lp-stores a{display:block;line-height:0;border-radius:9px}
.lp-stores img.apple{height:48px;width:auto}
.lp-stores img.play{height:72px;width:auto;margin:-12px}
#signin .card .lp-help.lp-get-app{margin-top:8px}
.lp-foot{padding:34px 0 40px;font-size:13px;color:var(--lp-ink-3);background:#fff}
.lp-foot .lp-wrap{display:grid;gap:12px}
.lp-foot p{margin:0;max-width:90ch}
.lp-foot a{color:var(--lp-ink-2)}

@media (max-width:900px){
  .lp-hero{padding:112px 0 64px}
  .lp-hero .lp-wrap,.lp-compare,.lp-sched-intro,.lp-pricing{grid-template-columns:minmax(0,1fr);gap:36px}
  .lp-features{grid-template-columns:minmax(0,1fr)}
  .lp-section{padding:64px 0}
  .lp-top nav a:not(.lp-signin-link){display:none}
}
@media (max-width:520px){
  .lp-wrap{padding:0 16px}
  .lp-plan{padding:24px}
}
@media (prefers-reduced-motion:reduce){ .lp-g-b{transition:none} }
.card h1{margin:0 0 4px;font-size:20px;letter-spacing:-.2px}
.card .sub{margin:0 0 20px;color:var(--ink-3);font-size:13px}
.field{margin-bottom:14px}
.field label{display:block;font-size:12px;font-weight:600;color:var(--ink-2);margin-bottom:5px}
.field input{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.field input:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}
/* `.field` styled its input and not its textarea, so a textarea inside one got the browser default
   and sat unbordered next to bordered inputs. Added with the Clients reply box, 21 September. */
.field textarea{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:var(--radius);
  background:#fff;font:inherit;resize:vertical}
.field textarea:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}
.btn{background:var(--brand);color:var(--brand-ink);border:1px solid var(--brand);
  padding:9px 14px;border-radius:var(--radius);font-weight:600}
.btn:hover{filter:brightness(1.08)}
.btn:disabled{opacity:.55;cursor:not-allowed;filter:none}
.btn.wide{width:100%}
.btn.ghost{background:#fff;color:var(--ink-2);border-color:var(--line)}
.btn.ghost:hover{background:var(--line-2);filter:none}
.btn.sm{padding:5px 10px;font-size:12.5px}
.msg{padding:9px 11px;border-radius:var(--radius);font-size:13px;margin-bottom:14px;display:none}
.msg.err{display:block;background:var(--bad-soft);color:var(--bad);border:1px solid #f2cdcb}
.msg.note{display:block;background:var(--lp-mist);color:var(--ink-2);border:1px solid var(--lp-line)}

/* ---------- shell ---------- */
#app{display:none;min-height:100vh;flex-direction:column}
/* One window tall above 820 px, so the Job list and the page beside it each scroll on their own (Jody, 6 October 2026:
   scrolling the list of open Jobs scrolled the whole page, and the Schedule went out of sight above). The parts were
   already built to scroll inside (main min-height 0, .joblist and section.content overflow-y auto); only this height
   was missing. At 820 px and under the rail is a bar above the page and the page scrolls as before. */
@media(min-width:821px){#app{height:100vh;height:100dvh}}
header.top{background:var(--brand);color:#fff;display:flex;align-items:center;gap:22px;
  padding:0 16px;height:52px;flex:0 0 auto}
.logo{display:flex;align-items:center;gap:9px;font-weight:700;letter-spacing:-.3px;font-size:16px;white-space:nowrap}
.logo img{width:22px;height:22px;display:block}
.logo .env{font-weight:500;font-size:11px;opacity:.8;margin-left:6px;text-transform:uppercase;letter-spacing:.4px}
/* Every email is going to one auditing inbox and no customer is receiving anything. That state
   looks exactly like a working product from in here, so it gets a badge that does not fade into
   the bar the way the environment label does. */
.logo .env.audit{opacity:1;background:#b3541e;color:#fff;padding:2px 7px;border-radius:999px;font-weight:700}
nav.modules{display:flex;gap:2px;flex:1 1 auto;flex-wrap:nowrap;overflow:hidden;min-width:0}
/* More (ledger 119): what does not fit on the one-line bar. The list drops below the button, over the page. */
nav.modules .more{position:relative;flex:0 0 auto}
nav.modules .more[hidden]{display:none}
nav.modules .moreList{position:fixed;z-index:50;display:flex;flex-direction:column;min-width:180px;padding:6px;background:var(--brand,#0b5fa5);border-radius:var(--radius);box-shadow:0 8px 24px rgba(0,0,0,.25)}
nav.modules .moreList[hidden]{display:none}
nav.modules .moreList button{text-align:left}
nav.modules::-webkit-scrollbar{display:none}
nav.modules button{background:transparent;border:0;color:#fff;opacity:.82;padding:8px 12px;border-radius:var(--radius);white-space:nowrap}
nav.modules button:hover{opacity:1;background:rgba(255,255,255,.12)}
nav.modules button[aria-current="true"]{opacity:1;background:rgba(255,255,255,.16);font-weight:600}
nav.modules button[disabled]{opacity:.4;cursor:not-allowed}
nav.modules button[disabled]:hover{background:transparent}
.who{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:13px;flex:0 0 auto}
.who .name{opacity:.9}
.who{position:relative}
.acctbtn{background:rgba(255,255,255,.14);color:inherit;border:1px solid rgba(255,255,255,.35);border-radius:6px;padding:3px 8px;font:inherit;cursor:pointer;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.acctbtn .dot{display:inline-block;min-width:16px;padding:0 4px;margin-left:6px;border-radius:8px;background:#f59e0b;color:#111;font-size:11px;font-weight:700}
.acctmenu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:min(320px,calc(100vw - 32px));background:var(--panel,#fff);color:var(--ink,#111);border:1px solid var(--line,#d0d5dd);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.18);padding:12px;white-space:normal;font-size:14px}
.acctmenu h4{margin:0 0 6px;font-size:13px;opacity:.75}
.acctmenu .row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid var(--line,#eee)}
.acctmenu .row > span:last-child{flex:0 0 auto;white-space:nowrap}
.acctmenu select{max-width:100%}
.acctmenu .row:first-of-type{border-top:0}
/* The page-wide .msg is hidden until it gets a class; the menu's note is shown whenever it has text. */
.acctmenu .msg{display:block;margin:8px 0 0;font-size:13px}
.acctmenu .msg:empty{display:none}
.who button{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);color:#fff;
  padding:5px 10px;border-radius:var(--radius);font-size:12.5px}
.who button:hover{background:rgba(255,255,255,.24)}
/* The company menu sits inside .who but on a white panel: its buttons are the page's own, not the blue bar's. */
.acctmenu button{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
.acctmenu button:hover{background:var(--brand);filter:brightness(1.08)}
.acctmenu button:disabled{opacity:.55;cursor:not-allowed;filter:none}
.acctmenu button.linkish{background:none;border:0;color:var(--brand);padding:0}
.who .fieldlink{color:#fff;text-decoration:none;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);
  padding:5px 10px;border-radius:var(--radius);font-size:12.5px}
.who .fieldlink:hover{background:rgba(255,255,255,.24)}
/* In-app Messages, 23 September 2026 (migration 0064). The bell is the way in, not a fifteenth tab:
   the header already wraps below 1320px and ledger 119 is open on exactly that width. An icon and a
   number fit where a word would not. */
.who .bell{position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:30px;padding:0}
.who .bell svg{width:17px;height:17px;display:block}
.who .bell .badge{position:absolute;top:-6px;right:-7px;min-width:18px;height:18px;padding:0 5px;
  border-radius:999px;background:#d93a2b;color:#fff;font-size:11px;font-weight:700;line-height:18px;
  text-align:center;box-shadow:0 0 0 2px var(--brand)}
.who .bell .badge[hidden]{display:none}
/* Help, 9 October 2026 (docs/plans/2026-10-08-in-app-help-h1.md): the ? beside the bell, and its articles. */
.who .helpbtn{font-size:16px;font-weight:700;line-height:1}
.help-art{border:1px solid var(--line);border-radius:var(--radius);margin-bottom:6px;background:var(--panel)}
.help-art summary{cursor:pointer;padding:9px 12px;font-weight:600}
.help-art .help-body{padding:0 14px 10px;line-height:1.5}
.help-art .help-body ol,.help-art .help-body ul{padding-left:22px;margin:6px 0}
.help-art .help-h{margin:10px 0 4px}
.help-foot{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
#helpSearch{width:100%;margin-bottom:10px;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius);font:inherit;background:var(--panel);color:inherit}
/* THE FLASH, decided 9-23-2026: about six seconds, then a steady badge. One pulse a second, well
   under the three-a-second line above which flashing can trigger a photosensitive seizure. It fires
   at sign-in when something is unread and again when the count goes up, and stops, because a badge
   that never stops moving stops meaning anything within a day. */
@keyframes bellPulse{0%,100%{transform:scale(1);background:rgba(255,255,255,.14)}
  50%{transform:scale(1.18);background:#ffb020}}
.who .bell.pulse{animation:bellPulse 1s ease-in-out 6}
@media (prefers-reduced-motion: reduce){.who .bell.pulse{animation:none;outline:2px solid #ffb020}}
.msg-thread{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);margin-bottom:8px}
/* It wraps, and the subject keeps at least 12em, so on a phone the status and time move under the subject instead of
   squeezing it to one word a line (seen at 390 px, 1 November 2026). */
.msg-thread > button.head{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;width:100%;text-align:left;background:none;
  border:0;padding:10px 12px;cursor:pointer;color:var(--ink)}
.msg-thread.unread > button.head .subj{font-weight:700}
.msg-thread .dot{width:8px;height:8px;border-radius:50%;background:#d93a2b;flex:0 0 auto;align-self:center}
.msg-thread .dot.read{background:transparent}
.msg-thread .subj{flex:1 1 12em;min-width:0;overflow-wrap:anywhere}
.msg-thread .meta{color:var(--ink-3);font-size:12px;white-space:nowrap}
.msg-body{padding:0 12px 12px}
.msg-one{border-top:1px solid var(--line-2);padding:10px 0}
.msg-one .by{font-size:12px;color:var(--ink-3);margin-bottom:4px}
.msg-one .by strong{color:var(--ink-2)}
.msg-one.us .by strong{color:var(--brand)}
.msg-one .text{white-space:pre-wrap;overflow-wrap:anywhere}
/* A photo or screenshot on a report or a message (0072). A link to the full size, a bounded preview. */
.msg-photo{display:inline-block;margin-top:8px}
.msg-photo img{display:block;max-width:min(320px,100%);max-height:240px;border:1px solid var(--line);border-radius:var(--radius)}
.photo-pick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0;font-size:13px}
.photo-pick .name{color:var(--ink-3)}
.msg-notice{background:var(--brand-soft)}
.msg-err{color:var(--bad);font-size:13px;margin:4px 0}
/* The newest unread notice from NexaTrack, across the page (contract Section 13 item 5). One click
   opens it, and opening it reads it, which takes the bar away. */
.noticebar{display:block;width:100%;border:0;border-bottom:1px solid #f0d9a0;background:#fff6dc;color:#5c4400;
  padding:8px 16px;text-align:left;font-size:13.5px;cursor:pointer}
.noticebar[hidden]{display:none}
.noticebar strong{margin-right:6px}
/* A message from us waiting to be read: the same bar, red, and it stays until the thread is opened
   (docs/plans/2026-09-24-two-way-messaging.md Phase 2). */
.noticebar.urgent{background:#a3231f;color:#fff;border-bottom-color:#7d1a17;font-weight:600}
/* The full-screen message. Shown only when nothing is being typed and no form or dialog is open,
   so it never lands on top of work in progress. */
.interrupt{position:fixed;inset:0;z-index:1000;background:rgba(15,23,42,.62);display:flex;align-items:center;
  justify-content:center;padding:16px}
.interrupt[hidden]{display:none}
.interrupt-box{background:var(--panel);border-radius:10px;max-width:520px;width:100%;padding:22px 22px 18px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);border-top:6px solid #a3231f}
.interrupt-kicker{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#a3231f;margin-bottom:6px}
.interrupt-box h2{margin:0 0 10px;font-size:20px;line-height:1.3;color:var(--ink)}
.interrupt-body{white-space:pre-wrap;color:var(--ink-2,var(--ink));font-size:14.5px;line-height:1.5;max-height:40vh;overflow:auto;margin-bottom:16px}
/* A long message scrolls inside the box, and macOS and iPad show no scrollbar until you scroll, so the cut-off edge
   fades and a button says there is more (Jody, 19 October 2026: "it just stops and the buttons appear"). */
.interrupt-body.more{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 44px),transparent);
  mask-image:linear-gradient(to bottom,#000 calc(100% - 44px),transparent)}
.interrupt-more{display:block;margin:-8px 0 14px;font-size:14px;font-weight:600}
.interrupt-more[hidden]{display:none}
.interrupt-foot{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.interrupt-foot button{font-size:14.5px;padding:9px 16px}
.linkish{background:none;border:0;color:var(--brand);text-decoration:underline;cursor:pointer;font-size:13px;padding:0}
.linkish[hidden]{display:none}
.msg-one.sys{text-align:center;color:var(--ink-3);font-style:italic;font-size:13px}
.msg-one.sys .by{display:none}
.msg-seen{font-size:12px;color:var(--ink-3);text-align:right;margin-top:4px}
.msg-section{margin:18px 0 8px;font-size:13px;font-weight:700;color:var(--ink-3);text-transform:uppercase;letter-spacing:.04em;
  display:flex;align-items:center;justify-content:space-between;gap:8px}
.msg-hint{margin:-4px 0 8px;font-size:13px;color:var(--ink-3)}
.report-text{padding:4px 0 10px;border-bottom:1px solid var(--line-2)}
.report-text .by{font-size:12px;color:var(--ink-3);margin-bottom:4px}
.report-text .text{white-space:pre-wrap}
.pill.rp-open{background:var(--line-2);color:var(--ink-3)}
.pill.rp-triaged{background:var(--warn-soft);color:var(--warn)}
.pill.rp-fixed{background:var(--ok-soft);color:var(--ok)}
.pill.rp-wont_fix{background:var(--line-2);color:var(--ink-3)}
.msg-err:empty{display:none}

main{display:flex;flex:1;min-height:0}

/* ---------- left rail ---------- */
aside{width:270px;flex:0 0 270px;background:var(--panel);border-right:1px solid var(--line);
  display:flex;flex-direction:column;min-height:0}
.rail-head{padding:12px 14px;border-bottom:1px solid var(--line-2)}
/* Three business names can be longer than the rail. Two lines, then an ellipsis, with the full
   list on the title attribute. */
.rail-head .entity{font-weight:700;font-size:13px;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden}
.rail-head .tenant{color:var(--ink-3);font-size:12px}
.rail-search{padding:10px 12px;border-bottom:1px solid var(--line-2)}
/* `+ Job` sits above the search, full width, where the tool crews already know puts Add New Job. Empty for
   anyone who may not create one, and an empty span takes no space. */
#newJobWrap:not(:empty){display:block;margin-bottom:8px}
#newJobWrap .btn{width:100%}
.rail-search input{width:100%;padding:7px 10px;border:1px solid var(--line);border-radius:var(--radius)}
.rail-search select{width:100%;margin-top:7px;padding:6px 8px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink-2)}
.agenda{display:grid;grid-template-columns:repeat(7,1fr);gap:0;border-top:1px solid var(--line-2)}
.agenda .d{padding:10px 8px;border-right:1px solid var(--line-2);min-height:76px}
.agenda .d:last-child{border-right:0}
.agenda .d.off{background:#fafbfc}
.agenda .d.today{background:var(--brand-soft)}
.agenda .dn{font-size:17px;font-weight:700;line-height:1.1}
.agenda .dw{font-size:11px;color:var(--ink-3);text-transform:uppercase;letter-spacing:.4px}
.agenda .nw{font-size:11px;color:var(--ink-3);margin-top:6px}
.queue{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:0}
.queue .q{padding:14px 16px;border-right:1px solid var(--line-2)}
.queue .q:last-child{border-right:0}
.queue .qh{font-size:11px;font-weight:700;letter-spacing:.5px;color:var(--ink-3);text-transform:uppercase;margin-bottom:8px}
.clocked{font-size:14px}
.clocked b{font-size:19px}
.rail-count{padding:8px 14px;font-size:11px;font-weight:700;letter-spacing:.5px;color:var(--ink-3);
  text-transform:uppercase;border-bottom:1px solid var(--line-2)}
.joblist{overflow-y:auto;flex:1;min-height:0}
.joblist button{display:block;width:100%;text-align:left;background:transparent;border:0;
  border-bottom:1px solid var(--line-2);padding:9px 14px;color:var(--ink)}
.joblist button:hover{background:var(--line-2)}
.joblist button[aria-current="true"]{background:var(--brand-soft);box-shadow:inset 3px 0 0 var(--brand);font-weight:600}
.joblist .jname{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.joblist .jaddr{display:block;font-size:11.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- content ---------- */
section.content{flex:1;min-width:0;overflow-y:auto;padding:18px 22px 40px}
.page-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:4px}
.page-head h2{margin:0;font-size:19px;letter-spacing:-.2px}
.page-sub{color:var(--ink-3);font-size:13px;margin:0 0 16px}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:18px}
.panel-head{padding:11px 14px;border-bottom:1px solid var(--line-2);font-weight:600;font-size:13px;
  display:flex;align-items:center;justify-content:space-between;gap:10px}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:9px 14px;border-bottom:1px solid var(--line-2);vertical-align:top}
th{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--ink-3);font-weight:700;background:#fbfcfd}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fbfcfd}
.scroll-x{overflow-x:auto}
/* Estimates (estimates.js): pinned Top and Scroll to bottom on its long pages. */
.jm-scroll{position:fixed;right:16px;bottom:16px;z-index:40;display:flex;gap:6px}
/* At least 24px to press on a touch screen (WCAG 2.5.8; intuitive-ui run 2026-11-06 measured 13 to 23px on an
   iPad: checkboxes, column sorts, date fields, calendar bars). A mouse keeps the compact sizes. */
@media (pointer: coarse){#content button,#content select,#content input:not([type=checkbox]):not([type=radio]){min-height:24px}
#content input[type=checkbox],#content input[type=radio]{width:24px;height:24px;flex:0 0 auto}
/* A checkbox beside a long label in a flex row was squeezed to 13px wide (after-run 2026-11-06-1549, the push switch), and
   a calendar bar is pressed to open its item, so it gets the same height. */
#content .cal-bar{height:24px}#content .cal-lanes{--cal-lane:26px}}
.jumpto{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 14px}.jumpto .muted{font-size:13px;margin-right:2px}
.jm-lines input,.jm-lines select{min-width:0}
.pill{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:600;white-space:nowrap}
.pill.tag{background:var(--line-2);color:var(--ink-2);font-weight:500}
.tagchips{margin-top:4px;display:flex;gap:4px;flex-wrap:wrap}
.pill.open{background:var(--ok-soft);color:var(--ok)}
.pill.presale{background:var(--brand-soft);color:var(--brand)}
.pill.warranty{background:var(--warn-soft);color:var(--warn)}
.pill.closed{background:var(--line-2);color:var(--ink-3)}
/* Referenced by ISSUE_STATE for Triaged since the Issues screen was built and defined nowhere, so
   a triaged report showed a pill with no fill. Found 21 September 2026 while adding Clients, by
   listing every .pill class the stylesheet defines against every one the code asks for. */
.pill.draft{background:var(--line-2);color:var(--ink-3)}
.pill.pending{background:var(--warn-soft);color:var(--warn)}
.pill.approved{background:var(--ok-soft);color:var(--ok)}
.pill.returned{background:var(--bad-soft);color:var(--bad)}
.pill.oob{background:var(--bad-soft);color:var(--bad)}
/* Not red. A punch with no location is UNKNOWN, not wrong, and the crew member usually did nothing
   wrong at all. Colouring it like Out of Bounds would invite a manager to treat the two the same. */
.pill.nolocation{background:var(--warn-soft,#fdf3e3);color:var(--warn,#8a5a12)}
/* Compliance states. Expired and missing are deliberately different colours as well as different
   words: one is a live exposure, the other an onboarding gap. */
.pill.cmp-ok{background:var(--ok-soft);color:var(--ok)}
.pill.cmp-expiring{background:var(--warn-soft);color:var(--warn)}
.pill.cmp-expired{background:var(--bad-soft);color:var(--bad)}
.pill.cmp-missing{background:var(--line-2);color:var(--ink-3)}
/* Secondary line inside a table cell: a contact's email under their name, a hint under a filter. */
.sub-2{font-size:11.5px;color:var(--ink-3);margin-top:2px}
/* Padded body for a panel whose content is not a table. Only the Job status panel uses it. */
.pad{padding:14px 16px}
.pad .sub-2{margin:0 0 10px}
.muted{color:var(--ink-3)}
.actions{display:flex;gap:6px;flex-wrap:wrap}
.empty{padding:30px 16px;text-align:center;color:var(--ink-3)}
.empty strong{display:block;color:var(--ink-2);margin-bottom:4px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:18px}
.stat{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:13px 15px}
.stat .n{font-size:23px;font-weight:700;letter-spacing:-.5px;line-height:1.15}
.stat .l{font-size:11.5px;color:var(--ink-3);text-transform:uppercase;letter-spacing:.4px;font-weight:600}
.rail-modes{padding:10px 12px 0}
.rail-modes .seg{width:100%}
.rail-modes .seg button{flex:1;font-size:12.5px;padding:5px 0}
/* The Jobs Map. No tiles and no mapping library: this console has no bundler, and a tile provider
   would put every Job address into a third party log. Pins are placed on a scaled plot of lat and
   lng, which answers which Jobs are near each other and which have no pin at all. */
.jobmap{position:relative;height:440px;margin:12px;border:1px solid var(--line);border-radius:8px;
  background:repeating-linear-gradient(0deg,var(--line-2) 0 1px,transparent 1px 44px),
             repeating-linear-gradient(90deg,var(--line-2) 0 1px,transparent 1px 44px),var(--panel)}
.mappin{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;cursor:pointer;
  border:1px solid var(--line);max-width:190px;overflow:hidden;text-overflow:ellipsis;font:inherit;
  font-size:11.5px;font-weight:600;padding:3px 8px;border-radius:999px}
.mappin:hover{z-index:2;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.sortbtn{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;
  text-transform:inherit;letter-spacing:inherit;font-weight:inherit}
.sortbtn[aria-current="true"]{color:var(--brand)}
.linkbtn{background:none;border:0;padding:0;font:inherit;font-weight:700;color:var(--brand);cursor:pointer;text-align:left}
/* Pinned jobs plan: the star on each Jobs grid row, and a column header only a screen reader reads. */
.starbtn{background:none;border:0;padding:0;width:32px;height:32px;font-size:20px;line-height:1;color:var(--ink-3);cursor:pointer}
.starbtn.on{color:var(--warn)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.linkbtn:hover{text-decoration:underline}
/* A stat you can click: the Documents folder tiles. Same look, so a folder set reads as counts
   rather than as a second kind of control, and the current one is outlined rather than filled. */
button.stat{font:inherit;text-align:left;cursor:pointer;width:100%}
button.stat:hover{border-color:var(--ink-3)}
button.stat[aria-current="true"]{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
/* A checkbox in a filter BAR reads across, not down. `.filtergroup label` stacks its label over its
   control, which is right for "Show [select]" and wrong for a tickbox: it put the box above its own
   words on the People screen from the day that screen shipped. */
.filtergroup label.chk2{flex-direction:row;align-items:center;font-weight:600;color:var(--ink-2)}
.filtergroup label.chk2 input{margin-right:6px}
.notice{background:var(--warn-soft);border:1px solid #f0dcb4;color:var(--warn);
  padding:10px 13px;border-radius:var(--radius);font-size:13px;margin-bottom:16px}
.logtext{white-space:pre-wrap;max-width:56ch}
.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;padding:14px}
.thumb{position:relative;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fbfcfd}
.thumb img{display:block;width:100%;height:130px;object-fit:cover;background:var(--line-2)}
.thumb .meta{padding:7px 9px;font-size:11.5px;color:var(--ink-3)}
/* Photos you can download (29 September 2026): a checkbox to pick a tile, a PDF tile, and a row of
   actions under the caption. The viewer is the field page's, for the office: black, full window. */
.thumb .pick{position:absolute;top:6px;left:6px;width:18px;height:18px;margin:0;z-index:1;accent-color:var(--brand)}
.thumb .pdf{display:flex;align-items:center;justify-content:center;height:130px;background:var(--line-2);
  color:var(--ink-2);font-weight:700;font-size:20px;letter-spacing:.06em}
.thumb .acts{display:flex;gap:6px;padding:0 9px 9px}
#viewer{position:fixed;inset:0;z-index:70;background:#000;display:none;align-items:center;justify-content:center}
#viewer img{max-width:100%;max-height:100%;object-fit:contain}
#viewer .vbar{position:absolute;left:0;right:0;display:flex;justify-content:space-between;align-items:center;
  gap:10px;padding:10px 12px;color:#fff;font-size:13px}
#viewer .vbar:first-child{top:0} #viewer .vbar:last-child{bottom:0}
#viewer .vbtn{min-height:36px;padding:0 14px;border-radius:18px;border:0;background:rgba(255,255,255,.18);
  color:#fff;font-size:13px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center}
#viewer .vbtn:hover{background:rgba(255,255,255,.3)}
.tc-person .panel-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
/* A Shift's notes in the Time Clock (30 September 2026): wrapped, so a note makes the row taller rather than the
   table wider; the server's review lines in the warning colour. */
.tc-note{min-width:140px;max-width:280px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12.5px}
.note-flag{color:var(--warn);font-weight:600}
/* A video tile. `position:relative` so the play button can sit over the poster, and the button is a
   real <button> rather than an overlay div so it is reachable by keyboard and announced to a screen
   reader, which the rest of this console already assumes of its controls. */
.thumb.is-video{position:relative}
.thumb .play{position:absolute;top:44px;left:50%;transform:translateX(-50%);width:44px;height:44px;
  border-radius:50%;border:0;background:rgba(17,24,39,.72);color:#fff;font-size:15px;line-height:1;
  cursor:pointer;display:flex;align-items:center;justify-content:center;padding-left:3px}
.thumb .play:hover{background:rgba(17,24,39,.88)}
.thumb .play:disabled{opacity:.6;cursor:default}
.thumb mux-player{width:100%;display:block}
#toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:var(--ink);color:#fff;
  padding:10px 16px;border-radius:var(--radius);font-size:13px;display:none;z-index:50;max-width:min(560px,92vw)}
.railtoggle{display:none}
/* The module tabs need about 910px at the tight padding below, and 1132px at the normal one.
   Beside the logo, the email, Field and Sign out they were silently cut off (Jody saw "Settin" at
   1400px, 15 September 2026), and the nav scrollbar is hidden, so nothing said there was more. The
   email goes first, then the tabs take their own row.

   THE SECOND BREAKPOINT WAS 1180px UNTIL 22 September 2026 AND THAT LEFT A HOLE, measured in a
   browser on the real file at 1190 and 1200 wide: 13 tabs need 885px, the nav box was 830px, and
   Settings hung 55px past its right edge with no scrollbar to say so. Settings is one of only two
   ways to reach Report a problem, so a laptop at 1280 or under could not see one of them. Raised to
   1320px, which is the width at which the tabs stop fitting beside the header. Nothing is clipped at
   any width now; the sweep that proves it is in the ledger. */
@media(max-width:1500px){
  .who .name{display:none}
  nav.modules button{padding:8px 9px}
}
@media(max-width:1320px){
  header.top{gap:6px 12px;flex-wrap:wrap;height:auto;padding-top:8px;padding-bottom:4px}
  /* Its own row from here down. It wrapped to a second line until 28 September 2026 (measured at 900 on 22 September:
     the row 868px, the tabs 885px); now what does not fit goes under More (ledger 119), so no tab is ever out of
     sight and the header stays one row of tabs tall. */
  nav.modules{order:3;flex:1 0 100%}
  .who{margin-left:auto}
}
@media(max-width:820px){
  /* The rail used to be display:none here, which left a manager on a phone with no way to pick a
     Job, so Schedule, Cost Study, New Task and Job status could not be reached at all (found by the
     click-through on 15 September 2026). It becomes a bar above the content that opens the list. */
  main{flex-direction:column}
  aside{width:auto;flex:0 0 auto;border-right:0;border-bottom:1px solid var(--line)}
  .rail-head{display:flex;align-items:center;gap:10px}
  .rail-head > div:first-child{flex:1 1 auto;min-width:0}
  .railtoggle{display:block;flex:0 1 auto;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    border:1px solid var(--line);background:#fff;color:var(--ink);padding:6px 10px;border-radius:var(--radius);font-weight:600}
  aside.collapsed .rail-search,aside.collapsed .rail-count,aside.collapsed .joblist{display:none}
  .joblist{max-height:45vh}
  /* On a phone the tab row is its own line and what does not fit goes under More, as at every width (ledger 119). */
  nav.modules button{padding:6px 8px}
  /* The email is the first thing to go: the module nav has to stay reachable on a phone,
     and the header must never be what makes the page scroll sideways. */
  .who .name{display:none}
  section.content{padding:14px 12px 32px}
  /* 0167: the company button shrinks with the name cut short; its menu shows the whole name. */
  .acctbtn{max-width:110px;white-space:nowrap}
}

/* ---------- Schedule (Phase W3) ---------- */
.sched-banner{display:flex;align-items:center;gap:14px;justify-content:space-between;
  padding:11px 14px;border-radius:var(--radius);font-size:13px;margin-bottom:14px;border:1px solid}
.sched-banner.draft{background:var(--warn-soft);border-color:#f0dcb4;color:var(--warn)}
.sched-banner.online{background:var(--ok-soft);border-color:#c7e6d5;color:var(--ok)}
.sched-banner button{white-space:nowrap;border:1px solid currentColor;background:#fff;
  color:inherit;padding:6px 12px;border-radius:var(--radius);font-weight:600}
.sched-banner button.primary{background:var(--brand);border-color:var(--brand);color:#fff}

.sched-bar{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap}
/* The filter and saved-view row. Its own class so it can sit tighter than the view switcher above
   it, and so the two rows read as one control area rather than two unrelated toolbars. */
.sched-bar.filters{margin-top:-4px;padding:10px 12px;background:var(--line-2);border-radius:var(--radius);
  align-items:flex-end;gap:16px}
.filtergroup{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.filtergroup label{display:flex;flex-direction:column;gap:4px;font-size:11.5px;font-weight:600;color:var(--ink-3)}
.filtergroup select{border:1px solid var(--line);border-radius:var(--radius);padding:5px 8px;background:#fff;
  font:inherit;font-size:13px;color:var(--ink)}
.filtergroup button{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:6px 10px;
  font-size:12.5px}
/* A .btn inside a filter bar keeps its own colours.

   Without these two lines the rule above gives it a white BACKGROUND while .btn keeps its white
   TEXT, and the button renders as a blank white rectangle. It is still there and still clickable,
   which is why an accessibility snapshot shows it and a screenshot does not: the four primary
   actions shipped on 21 September 2026 were all invisible. + Sub, + Person, "Create this Job" and
   "Send the invite", and the Job one reached production the same day.

   Found by reading computed colours for every solid .btn inside a .filtergroup on every screen,
   not by looking at a page. A snapshot lists a control whether or not a person can see it. */
.filtergroup button.btn{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
.filtergroup button.btn.ghost{background:#fff;color:var(--ink-2);border-color:var(--line)}
.sched-bar.filters .pill{background:var(--warn-soft);color:var(--warn);align-self:center}
/* The all-Jobs calendar's people and Subs filter (ledger 206): a closed summary in the bar, a list of boxes when open. */
.ovwho{position:relative}
.ovwho summary{cursor:pointer;list-style:none;border:1px solid var(--line);background:#fff;border-radius:var(--radius);
  padding:6px 10px;font-size:13px;font-weight:600;color:var(--ink-2)}
.ovwho summary::-webkit-details-marker{display:none}
.ovwho[open] summary{border-color:var(--brand)}
.ovwho-list{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;padding:10px 12px;background:#fff;
  border:1px solid var(--line);border-radius:var(--radius);max-width:min(760px,calc(100vw - 48px))}
.ovwho-group{display:flex;flex-direction:column;gap:4px;min-width:160px}
.ovwho-head{font-size:11.5px;font-weight:700;color:var(--ink-3);text-transform:uppercase;letter-spacing:.03em}
.filtergroup label.ovwho-opt{font-weight:500;color:var(--ink);font-size:13px}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.seg button{border:0;background:#fff;padding:6px 14px;color:var(--ink-2)}
.seg button[aria-current="true"]{background:var(--brand);color:#fff;font-weight:600}
.monthnav{display:flex;align-items:center;gap:8px}
.monthnav button{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:5px 10px;color:var(--ink-2)}
.mlabel{font-weight:600;min-width:150px;text-align:center}
button.primary{background:var(--brand);color:#fff;border:1px solid var(--brand);
  padding:7px 13px;border-radius:var(--radius);font-weight:600}
button.primary:disabled{opacity:.55;cursor:not-allowed}
button.danger{background:var(--bad-soft);color:var(--bad);border:1px solid #f2cdcb;
  padding:7px 13px;border-radius:var(--radius);font-weight:600}

/* Month grid. Each week is three stacked layers over one background grid: the day numbers, an
   invisible drop layer for dragging, and the bars themselves. */
.cal{padding:0}
.cal-head{display:grid;grid-template-columns:repeat(7,1fr);background:#fbfcfd;
  border-bottom:1px solid var(--line-2)}
.cal-head div{padding:7px 9px;font-size:11px;text-transform:uppercase;letter-spacing:.5px;
  color:var(--ink-3);font-weight:700}
.cal-week{position:relative;border-bottom:1px solid var(--line-2);min-height:92px}
.cal-week:last-child{border-bottom:0}
.cal-bg{position:absolute;inset:0;display:grid;grid-template-columns:repeat(7,1fr);z-index:0}
.cal-cell{border-right:1px solid var(--line-2)}
.cal-cell:last-child{border-right:0}
.cal-cell.nonwork{background:#fbfcfd}
.cal-cell.other{background:#f3f5f8}
.cal-cell.today{background:var(--brand-soft)}
.cal-drop{position:absolute;inset:0;display:grid;grid-template-columns:repeat(7,1fr);z-index:1}
.cal-drop-cell.over{background:rgba(28,78,128,.16);outline:2px dashed var(--brand);outline-offset:-3px}
.cal-nums{position:relative;display:grid;grid-template-columns:repeat(7,1fr);z-index:2;pointer-events:none}
.cal-num{padding:4px 7px;font-size:12px;font-weight:600;color:var(--ink-2)}
.cal-num.other{color:var(--ink-3);opacity:.6}
.cal-num .nw{display:block;font-size:9.5px;font-weight:500;color:var(--ink-3);
  text-transform:uppercase;letter-spacing:.3px}
.cal-lanes{position:relative;display:grid;grid-template-columns:repeat(7,1fr);gap:2px;
  padding:0 3px 6px;z-index:3}
/* During a drag every bar is made transparent to pointer events so the drop lands on the day
   cell underneath rather than on whichever bar happens to be in the way. */
body.dragging .cal-lanes{pointer-events:none}
.cal-bar{display:flex;align-items:center;gap:5px;min-width:0;height:20px;padding:0 7px;
  border-radius:4px;color:#fff;font-size:11.5px;font-weight:600;cursor:pointer;
  box-shadow:0 1px 1px rgba(16,24,40,.12);overflow:hidden}
.cal-bar:hover{filter:brightness(1.1)}
.cal-bar .t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cal-bar .who{opacity:.85;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cal-bar.done{opacity:.62}
.cal-bar.done .t{text-decoration:line-through}
.cal-bar .tick{flex:0 0 auto}
.cal-bar .draft{flex:0 0 auto;padding:0 5px;border-radius:3px;background:rgba(255,255,255,.88);color:#12161c;font-size:11px;font-weight:600}
.cal-bar.contfrom{border-top-left-radius:0;border-bottom-left-radius:0}
.cal-bar.contto{border-top-right-radius:0;border-bottom-right-radius:0}

.swatch{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:7px;vertical-align:baseline}
.tagpill{display:inline-block;padding:1px 6px;border-radius:999px;font-size:10.5px;font-weight:600;
  background:var(--line-2);color:var(--ink-3)}
tr.done td{opacity:.62}
.conf{display:inline-block;margin-right:7px;font-size:11px;font-weight:600;white-space:nowrap}
.conf.ok{color:var(--ok)} .conf.bad{color:var(--bad)} .conf.none{color:var(--ink-3)}
.confrow{padding:8px 0 4px}

/* ---------- modal ---------- */
#modal{position:fixed;inset:0;background:rgba(16,24,40,.42);display:none;align-items:flex-start;
  justify-content:center;z-index:60;padding:34px 16px;overflow-y:auto}
.modal-box{background:var(--panel);border-radius:8px;width:100%;max-width:640px;padding:20px 22px;
  box-shadow:0 12px 40px rgba(16,24,40,.22)}
.modal-box h3{margin:0 0 12px;font-size:17px;letter-spacing:-.2px}
.modal-box .err{color:var(--bad)}
.modal-foot{display:flex;align-items:center;gap:10px;margin-top:18px;padding-top:14px;
  border-top:1px solid var(--line-2)}
.modal-foot .spacer{flex:1 1 auto}
.modal-foot button:not(.primary):not(.danger){border:1px solid var(--line);background:#fff;
  color:var(--ink-2);padding:7px 13px;border-radius:var(--radius)}
.form{display:flex;flex-direction:column;gap:11px}
.form label,.form .flabel{display:block;font-size:12px;font-weight:600;color:var(--ink-2)}
.form input[type="text"],.form input[type="date"],.form input[type="datetime-local"],.form input[type="number"],.form textarea{
  display:block;width:100%;margin-top:4px;padding:8px 10px;border:1px solid var(--line);
  border-radius:var(--radius);background:#fff;font-weight:400;color:var(--ink)}
.form input:disabled{background:var(--line-2);color:var(--ink-3)}
.form input[type="color"]{margin-top:4px;width:56px;height:32px;padding:2px;border:1px solid var(--line);
  border-radius:var(--radius);background:#fff}
.row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:11px}
.form select,.form textarea{display:block;width:100%;margin-top:4px;padding:8px 10px;
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;font-weight:400;color:var(--ink)}
.form select:disabled{background:var(--line-2);color:var(--ink-3)}
.form textarea{resize:vertical;font:inherit}
/* Two columns on a desktop, one on a laptop rail or a phone. The Job Info screen the first customer uses today is two
   columns and people who have typed it a hundred times read it that way. */
.jobform{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
@media (max-width:1100px){.jobform{grid-template-columns:1fr}}
/* The pin map. Same tiles the field page draws, one point, and a click moves it. */
.pinmap{position:relative;height:240px;margin-top:8px;border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;background:var(--line-2);cursor:crosshair}
.pinmap img.tile{position:absolute;width:256px;height:256px;user-select:none;pointer-events:none}
.pinmap .pin{position:absolute;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;
  background:var(--brand);border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.45);pointer-events:none}
.pinmap .zoom{position:absolute;right:8px;top:8px;display:flex;flex-direction:column;gap:3px}
.pinmap .zoom button{width:26px;height:26px;border:1px solid var(--line);background:#fff;
  border-radius:var(--radius);font-weight:700;line-height:1}
.pinmap .attr{position:absolute;right:4px;bottom:2px;font-size:10px;background:rgba(255,255,255,.8);
  padding:1px 4px;border-radius:3px}
.pinmap-empty{display:flex;align-items:center;justify-content:center;height:100%;color:var(--ink-3);font-size:13px}
.form label.chk,.form label.chk2{font-weight:600;color:var(--ink-2)}
.form label.chk input,.form label.chk2 input{margin-right:6px}
.assignees{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:5px;
  margin-top:5px;max-height:150px;overflow-y:auto;border:1px solid var(--line);
  border-radius:var(--radius);padding:9px}
.pickone{font-weight:400!important;font-size:13px;display:flex;align-items:center;gap:5px}
.tabs{display:flex;gap:2px;margin:16px 0 0;border-bottom:1px solid var(--line)}
.tabs button{border:0;background:transparent;padding:8px 12px;color:var(--ink-3);font-size:13px;
  border-bottom:2px solid transparent}
.tabs button[aria-current="true"]{color:var(--brand);border-bottom-color:var(--brand);font-weight:600}
.tabbody{padding:12px 0;min-height:80px}
.tabbody textarea{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:var(--radius);
  font:inherit}
.filelist{list-style:none;margin:0;padding:0}
.filelist li{padding:7px 0;border-bottom:1px solid var(--line-2);font-size:13px}
.filelist li:last-child{border-bottom:0}
.addpred{display:flex;gap:7px;margin-top:11px;flex-wrap:wrap}
.addpred select,.addpred input{padding:6px 9px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.addpred input{width:74px}
.addpred button{border:1px solid var(--line);background:#fff;padding:6px 11px;border-radius:var(--radius);color:var(--ink-2)}
button.link{border:0;background:transparent;color:var(--brand);padding:0 0 0 7px;font-size:12.5px;text-decoration:underline}
.notify{margin:6px 0 0;padding-left:20px;font-size:13px}
.notify li{padding:2px 0}
td.was{color:var(--ink-3);text-decoration:line-through}
td.now{font-weight:600}
@media(max-width:820px){
  .row3{grid-template-columns:1fr}
  .cal-bar .who{display:none}
}

/* ---------- Gantt ---------- */
.gantt{padding:0}
.g-grid{display:flex;align-items:flex-start}
.g-left{flex:0 0 210px;border-right:1px solid var(--line);background:#fbfcfd}
.g-lhead{height:46px;display:flex;align-items:flex-end;padding:0 10px 6px;font-size:11px;
  text-transform:uppercase;letter-spacing:.5px;color:var(--ink-3);font-weight:700;
  border-bottom:1px solid var(--line-2)}
.g-lrow{height:30px;display:flex;align-items:center;gap:0;padding:0 10px;font-size:12.5px;
  white-space:nowrap;overflow:hidden;cursor:pointer;border-bottom:1px solid var(--line-2)}
.g-lrow:last-child{border-bottom:0}
.g-lrow:hover{background:var(--brand-soft)}
.g-lrow.done .g-ltext{text-decoration:line-through;color:var(--ink-3)}
.g-ltext{overflow:hidden;text-overflow:ellipsis}
.g-right{flex:1 1 auto;overflow-x:auto;overflow-y:hidden}
.g-canvas{position:relative}
.g-months{display:flex;height:24px;border-bottom:1px solid var(--line-2)}
.g-month{font-size:11.5px;font-weight:700;color:var(--ink-2);padding:4px 8px;
  border-right:1px solid var(--line-2);white-space:nowrap;overflow:hidden}
.g-days{display:flex;height:22px;border-bottom:1px solid var(--line-2)}
.g-day{width:26px;flex:0 0 26px;text-align:center;font-size:10.5px;color:var(--ink-3);padding-top:3px}
.g-day.nonwork{background:#f3f5f8}
.g-body{position:relative}
.g-cols{position:absolute;inset:0;display:flex;z-index:0}
.g-col{width:26px;flex:0 0 26px;border-right:1px solid var(--line-2)}
.g-col.nonwork{background:#f3f5f8}
.g-col.today{background:var(--brand-soft)}
.g-arrows{position:absolute;left:0;top:0;z-index:1;pointer-events:none;overflow:visible}
.g-arrow{fill:none;stroke:#6b7683;stroke-width:1.3}
.g-arrow.lead{stroke-dasharray:3 2;stroke:var(--warn)}
.g-bar{position:absolute;z-index:2;height:18px;display:flex;align-items:center;gap:5px;
  padding:0 7px;border-radius:4px;color:#fff;font-size:11.5px;font-weight:600;cursor:grab;
  box-shadow:0 1px 1px rgba(16,24,40,.14);overflow:hidden;user-select:none}
.g-bar:hover{filter:brightness(1.1)}
.g-bar.dragging{cursor:grabbing;opacity:.85;box-shadow:0 3px 10px rgba(16,24,40,.3)}
.g-bar.done{opacity:.6}
.g-bar.done .t{text-decoration:line-through}
.g-bar .t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.g-bar .tick{pointer-events:none}
.g-grip{position:absolute;right:0;top:0;bottom:0;width:8px;cursor:ew-resize;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45))}
.g-legend{margin:10px 14px 12px}
/* Wraps rather than clips: at 360 and 375 px the Sun chip ended past the panel's edge (audit Q-CONSOLE-1). */
.wdstrip{display:flex;gap:5px;flex-wrap:wrap}
button.wd{cursor:pointer;font:inherit;font-size:12px}
.wd{padding:5px 11px;border:1px solid var(--line);border-radius:var(--radius);font-size:12px;
  color:var(--ink-3);background:#fff}
.wd.on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}
.barright{display:flex;gap:8px;align-items:center}
.sched-bar .barright button:not(.primary){border:1px solid var(--line);background:#fff;
  color:var(--ink-2);padding:7px 13px;border-radius:var(--radius)}
.assignbulk{display:flex;gap:6px;margin-top:5px}
.assignbulk button{border:1px solid var(--line);background:#fff;color:var(--ink-2);
  padding:4px 10px;border-radius:var(--radius);font-size:12px}
/* Notes on a Job (ledger 244, notes.js): the Jobs with notes beside one Job's notes, one column on a narrow screen. */
.jn-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;align-items:start}
@media (max-width:900px){.jn-grid{grid-template-columns:minmax(0,1fr)}}
.jn-jobs{list-style:none;margin:8px 0 0;padding:0}
.jn-job{display:block;width:100%;text-align:left;background:none;border:1px solid var(--line);border-radius:6px;padding:8px 10px;margin:0 0 6px;cursor:pointer;color:inherit;font:inherit}
.jn-job.on{border-color:var(--ink-2)}
.jn-count{display:block;font-size:12px}
.jn-card{border:1px solid var(--line);border-radius:6px;padding:10px 12px;margin:0 0 8px}
.jn-card.pinned{border-left:3px solid var(--ink-2)}
.jn-card.done{opacity:.7}
.jn-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}
.jn-foot{font-size:12px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.jn-actions{margin-left:auto;display:flex;flex-wrap:wrap;gap:4px}
.jn-internal{background:var(--line-2);border-radius:6px;padding:8px 12px;margin:0 0 10px}
