/* 3e.25 (CJ 11-02): the app is dark - tell the browser, so its own bits (the clock / calendar icons in time and date boxes,
   drop-down lists, scrollbars) are drawn light, not black on the dark boxes */
:root{color-scheme:dark}@media print{:root{color-scheme:light}}
:root{--navy:#173F73;--blue:#1E64B5;--bg:#15171a;--card:#26292f;--text:#e6e8eb;--muted:#9aa0a8;--ok:#1f6b3a;--bad:#7d2c28}
*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.45 -apple-system,system-ui,Segoe UI,Roboto,sans-serif}
.top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 16px;padding-top:calc(12px + env(safe-area-inset-top,0px));background:var(--navy);color:#e6e8eb}
.brand{font-weight:700;font-size:18px;display:flex;align-items:center;gap:8px}.logo{background:#fff;color:var(--navy);border-radius:6px;padding:2px 6px;font-size:14px}
.nav{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}.nav a,.nav .link{color:#dbe6f7;text-decoration:none;background:none;border:0;font:inherit;padding:0;cursor:pointer}
.inline{display:inline}.wrap{max-width:560px;margin:0 auto;padding:16px}h1{font-size:24px;margin:8px 0 12px}h2{font-size:17px;margin:18px 0 8px}
.card{background:var(--card);border-radius:12px;padding:14px;margin:10px 0}.card.off{opacity:.6}.muted{color:var(--muted);font-size:14px}
label{display:block;font-size:13px;color:var(--muted);margin-top:10px}input,select{width:100%;padding:12px;border-radius:8px;border:1px solid #3d4550;background:#1c1e22;color:var(--text);font:inherit;margin-top:4px}
button{margin-top:14px;padding:12px 16px;border:0;border-radius:10px;background:var(--blue);color:#fff;font:inherit;font-weight:600;cursor:pointer}
button.big{width:100%;padding:16px;font-size:18px}button.small{padding:8px 12px;margin-top:8px;background:#3d4550}button.warn{background:var(--bad)}
.flash{padding:12px;border-radius:10px;margin:10px 0}.flash.ok{background:var(--ok)}.flash.bad,.flash.error{background:var(--bad)}.flash.warn{background:#5c4a0c;border:1px solid #c9a227}
.grid label{margin-top:8px}.chk{display:flex;align-items:center;gap:8px;color:var(--text);font-size:15px}.chk input{width:auto;margin:0}
.row{display:flex;gap:10px;flex-wrap:wrap}summary{cursor:pointer;font-size:16px}details[open] summary{margin-bottom:8px}
.log div{padding:6px 0;border-bottom:1px solid #3d4550;font-size:13.5px;overflow-wrap:anywhere}.foot{text-align:center;color:var(--muted);font-size:12px;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px))}

.state{font-size:18px;font-weight:600;margin-bottom:6px}button.out{background:#7d2c28}.pw{display:flex;gap:6px;align-items:center}.pw input{flex:1}.eye{margin:4px 0 0;padding:10px 12px;background:#3d4550}
.punch{padding:8px 0;border-top:1px solid #3d4550;font-size:14.5px}.punch.flag{background:#3a2d12;border-radius:8px;padding:8px}.flagtext{color:#ffd27a;font-size:13.5px}.ok-text{color:#7fd39a}
.log .flag{color:#ffd27a}.area{border-top:1px solid #3d4550;padding-top:8px;margin-top:8px}.grid input,.grid select{padding:9px}.row form{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}
.mapbox{width:100%}
/* 1e.1: iPhones draw date and time boxes wider than their box - they ran past the card's edge on Time off */
input[type=date],input[type=time]{-webkit-appearance:none;appearance:none;display:block;min-width:0;max-width:100%;min-height:46px;text-align:left}
input[type=date]::-webkit-date-and-time-value,input[type=time]::-webkit-date-and-time-value{text-align:left}
.dl{font-weight:600}
a{color:#8ec1ff}a:visited{color:#8ec1ff}.muted a{color:#8ec1ff}

.cal{background:var(--card);border-radius:12px;padding:8px}.calhead,.calrow{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.calhead div{text-align:center;color:var(--muted);font-size:12px;padding:4px 0}
.cell{min-height:58px;background:#1c1e22;border-radius:6px;padding:3px;font-size:11px;overflow:hidden}.cell.dim{opacity:.4}.cell.today{outline:2px solid #8ec1ff}.cell.hol{background:#2a2430}.dnum{color:var(--muted);font-size:11px}
.tag{border-radius:4px;padding:1px 4px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag.approved{background:#1f6b3a}.tag.pending{background:#5a4a14;color:#ffd27a}.holtag{background:#4b3a66}
.key{display:block;background:#1c1e22;padding:10px;border-radius:8px;word-break:break-all;font-size:14px}

/* 1e.4 (CJ): Sign out at the top right; the page you are on is underlined; the Admin sub-header (wraps on a phone) */
.top{display:grid;grid-template-columns:1fr auto;align-items:center;row-gap:10px}
.top .brand{grid-column:1/2;grid-row:1}.top .signout{grid-column:2/3;grid-row:1;justify-self:end;margin:0}.top .nav{grid-column:1/3;grid-row:2}
.signout .link{color:#dbe6f7;background:rgba(255,255,255,.12);border:0;border-radius:8px;padding:6px 12px;margin:0;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.nav a.on{color:#fff;font-weight:700;border-bottom:2px solid #fff;padding-bottom:2px}
.sub{background:#1d2c45;padding:2px 16px;display:flex;flex-wrap:wrap;column-gap:18px;border-bottom:1px solid #2c3d5c}
.sub a,.sub a:visited{display:inline-block;color:#b9c9e3;text-decoration:none;padding:9px 0;font-size:15px}
.sub a.on{color:#fff;font-weight:700;box-shadow:inset 0 -3px 0 #8ec1ff}
/* 2w (CJ 10-25): the Reports tab's own rows of sub-tabs */
.sub.repsub{background:#263a5b}.sub.repsub a{font-size:14px;padding:7px 0}
.sub.repsub2{background:#2f4569}.sub.repsub2 a{font-size:13px;padding:6px 0}.sub.repsub2 .soon{font-size:13px;padding:6px 0;color:#a3aec0}
.mgrcards{display:grid;gap:10px}.mgrcard{border:1px solid #3a3f47;border-radius:8px;padding:10px 12px;background:var(--card);color:var(--text)}
.mgrcard summary{cursor:pointer}.mgrcard .days{display:flex;flex-wrap:wrap;gap:8px}.mgrcard textarea{width:100%;min-height:54px}
.mgrcard .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mgrsends td{font-size:13px}
/* 1e.4: an OK'd flag reads plainly, not orange */
.okd{color:var(--muted);font-size:13px}.okform{display:flex;gap:6px;align-items:flex-end;flex-wrap:wrap}.okform input{flex:1;min-width:140px;padding:8px}
.okd .link{background:none;border:0;color:#8ec1ff;padding:0;margin:0 0 0 6px;font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}

/* 1e.5: the update bar; Approve / Deny */
.updbar{background:#1f6b3a;color:#fff;padding:10px 16px;font-size:15px}.updbar button{margin:0 0 0 8px;background:#fff;color:#173F73}
button.ok{background:var(--ok)}.approve{margin-top:6px}
.lochelp{background:#3a2d12;border-radius:8px;padding:10px;margin-top:8px;font-size:14px;color:#ffd27a}

/* 1e.6 (CJ): on a computer or iPad the manager pages and the time-off calendar use the screen; a phone is unchanged */
@media (min-width:900px){
  .wrap.wide{max-width:1200px}
  .wide .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px;align-items:start;margin:10px 0}
  .wide .cards>.card{margin:0}.wide .cards>details[open]{grid-column:1/-1}
  .wide form.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));column-gap:14px;align-items:end}
  .wide form.grid>:not(label){grid-column:1/-1;justify-self:start}.wide form.grid>.mapbox,.wide form.grid>.muted{justify-self:stretch}
  .wide .cell{min-height:110px;font-size:13px}.wide .dnum{font-size:13px}
}

/* 2a: Messages */
.badge{display:inline-block;min-width:18px;padding:0 5px;margin-left:5px;border-radius:9px;background:#d9534f;color:#fff;font-size:12px;line-height:18px;text-align:center;font-weight:600}
.badge[hidden]{display:none}
.msgwrap{display:block}.chhead{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}
.sortsw{display:flex;gap:4px}.sortsw button{margin-top:0;padding:6px 10px;font-size:13px}.sortsw button.on{background:#2f6fb5}
.chrow{display:flex;justify-content:space-between;gap:8px;padding:12px;margin:6px 0;border-radius:10px;background:var(--card);color:var(--text);text-decoration:none}
.chrow.unread .chname,.chrow.unread .chcount{font-weight:700;color:#fff}.chrow.on{outline:2px solid #8ec1ff}.chcount{color:#8ec1ff}
.msgwrap.inchannel .chlist{display:none}.pickone{display:none}
.convhead{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.convhead h2{margin:8px 0;flex:1}.convhead .back{text-decoration:none}
.rename summary{font-size:13px;color:var(--muted)}.rename form{margin-top:4px}
.msgs{display:flex;flex-direction:column;gap:8px;padding-bottom:8px}
.msg{background:var(--card);border-radius:12px;padding:8px 12px;max-width:88%;align-self:flex-start;position:relative;overflow-wrap:anywhere}
.msg.mine{background:#1d3a5f;align-self:flex-end}.msg.pending{opacity:.75}
.mhead{display:flex;align-items:baseline;gap:6px;font-size:13px}.mtime{color:var(--muted);font-size:12px;flex:1}
.mmenu{background:none;border:0;color:var(--muted);font-size:18px;padding:0 4px;margin:0;cursor:pointer;line-height:1}
.mbody{white-space:pre-wrap;margin-top:2px;font-size:15px}
.mfile{margin-top:6px}.mfile img{max-width:100%;max-height:320px;border-radius:8px;display:block}.mfile video{max-width:100%;max-height:360px;border-radius:8px}
.mfile .pdf{display:inline-block;padding:8px 10px;background:#2a2d33;border-radius:8px;text-decoration:none}
.thumbs{background:#2a2d33;border:0;border-radius:12px;color:var(--text);padding:3px 8px;margin:6px 0 0;font-size:13px;cursor:pointer}.thumbs.on{background:#2f6fb5}
.seen,.medited,.mstate{font-size:12px;color:var(--muted);margin-top:4px}
.msgmenu{position:absolute;z-index:30;flex-direction:column;background:#2a2d33;border-radius:10px;padding:4px;box-shadow:0 4px 18px rgba(0,0,0,.5)}
.msgmenu button{background:none;border:0;color:var(--text);text-align:left;padding:10px 14px;font-size:15px;margin:0;cursor:pointer}
.composer{position:sticky;bottom:0;background:var(--bg,#15171a);padding:8px 0 calc(8px + env(safe-area-inset-bottom,0px))}
/* 2y (CJ 10-28): on a phone the typing box is held at the bottom of the screen (or just above the keyboard) - messages.html sets html.mfix, --kb and --ch */
html.mfix .composer{position:fixed;left:12px;right:12px;bottom:var(--kb,0px);z-index:20;box-shadow:0 0 0 12px var(--bg,#15171a)}
html.mfix .msgs{padding-bottom:calc(var(--ch,120px) + 8px)}
.crow{display:flex;gap:8px;align-items:flex-end}.crow textarea{flex:1;resize:none;min-height:42px;max-height:160px;padding:10px;font:inherit;border-radius:10px;border:1px solid #3d4550;background:#1c1e22;color:var(--text)}
.crow button{margin:0;padding:10px 16px}.clip{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0;font-size:22px;cursor:pointer;color:var(--text)}
.clip input{display:none}.picked{display:flex;flex-wrap:wrap;gap:6px}.chip{background:#2a2d33;border-radius:12px;padding:3px 8px;font-size:13px}
.chip .link{background:none;border:0;color:#8ec1ff;margin:0;padding:0 2px;cursor:pointer}
#older{margin:6px auto 10px;display:block}
@media (min-width:900px), (min-width:600px) and (hover:hover) and (pointer:fine){   /* 2l.5: two columns on a narrower computer window too */
  .msgwrap{display:grid;grid-template-columns:var(--listw,280px) 8px minmax(0,1fr);gap:6px;align-items:start}
  .msplit{display:block!important}
  .wrap.wide:has(> .msgwrap){max-width:1200px}                   /* (the page itself is wide enough for both) */
  .msgwrap.inchannel .chlist{display:block}.chlist{position:sticky;top:12px}
  .convhead .back{display:none}.pickone{display:block;padding:40px;text-align:center}
  /* 2o.3 (CJ 10-20): the conversation fills the window, so a long channel list can't push the typing line up under the top bar */
  .msgwrap.inchannel .chpane{display:flex;flex-direction:column;min-height:calc(100vh - 120px);min-height:calc(100dvh - 120px);align-self:stretch}.msgwrap.inchannel .chpane .msgs{flex:1 0 auto}
}

/* 2a.2: the space table on Settings */
.space{width:100%;border-collapse:collapse;font-size:14px;margin:6px 0}.space td{padding:4px 0;border-bottom:1px solid #3d4550}.space td:last-child{text-align:right;white-space:nowrap}

/* 2a.3: the message menu - a panel from the bottom on a phone, beside the ⋯ on a computer; the one-click 👍 */
.menuback{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:29}
.msgmenu.sheet{position:fixed;left:0;right:0;bottom:0;border-radius:16px 16px 0 0;padding:8px 8px calc(12px + env(safe-area-inset-bottom,0px))}
.msgmenu.sheet button{padding:14px 16px;font-size:17px;border-top:1px solid #3d4550}
.msgmenu.pop{min-width:190px}
.mwho{color:var(--muted);font-size:13px;padding:8px 14px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msg.chosen{outline:2px solid #8ec1ff}
.qthumb{visibility:hidden;background:none;border:0;padding:0 4px;margin:0;font-size:15px;cursor:pointer;line-height:1}
.msg:hover .qthumb{visibility:visible}
@media (hover:none){ .qthumb{display:none} .msg{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none} }

/* 2a.5 (CJ): the header stays at the top of the screen; on a phone it shrinks to the one menu row when scrolled */
:root{--toph:120px}
html{scroll-padding-top:calc(var(--toph) + 8px)}
.topwrap{position:fixed;top:0;left:0;right:0;z-index:40;box-shadow:0 2px 10px rgba(0,0,0,.35)}
.topwrap .nav a{white-space:nowrap}
.topwrap{transition:transform .22s ease}.topwrap.gone{transform:translateY(-100%);box-shadow:none}   /* 2r (CJ 10-21): slides away while scrolling down (phones) */
.lwpin,.convhead{transition:top .22s ease}
@media (max-width:899px){ .topwrap .nav{flex-wrap:nowrap;column-gap:13px;font-size:15.5px} }
.convhead{position:sticky;top:var(--toph);z-index:35;background:var(--bg);margin:0 -16px;padding:2px 16px;border-bottom:1px solid #2c3d5c}
@media (min-width:900px){ .convhead{margin:0;padding:2px 0} .chlist{top:calc(var(--toph) + 12px)} }
.menuback{z-index:50}.msgmenu{z-index:51}
/* 2a.6: Timecards days fold up (summary line per day); Who can clock in here; the tech's Password card */
.daysum{list-style:none;cursor:pointer;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-size:15px}
.daysum::-webkit-details-marker{display:none}
.daysum:before{content:"▸";color:var(--muted);width:12px}
details[open]>.daysum:before{content:"▾"}
.daysum .h{font-weight:700}.daysum .rv{color:#ffd27a}
details.day.empty{padding:10px 14px;opacity:.75}
.wkbtns{display:flex;gap:8px;margin:8px 0;flex-wrap:wrap}.wkbtns button{margin-top:0}
.radio{display:flex;flex-direction:column;gap:8px;margin-top:4px;align-items:flex-start;grid-column:1/-1}
.who{padding-left:24px;display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:6px;grid-column:1/-1}
.radio label,.who label{display:flex;gap:6px;align-items:center;justify-content:flex-start;width:auto;color:var(--text);font-size:15px;margin:0;white-space:nowrap}
.radio input,.who input{width:auto;margin:0}
.wholabel{grid-column:1/-1;margin-top:10px}
a.btnlink{display:inline-block;margin-top:8px;padding:8px 12px;border-radius:10px;background:#3d4550;color:#fff;font-weight:600;text-decoration:none}
.storefix{color:var(--muted);font-size:13px}
/* 2b: search, Scheduled / Reminders, the GIF and Send-later buttons, the panel, the email switches */
.sbox{display:flex;gap:6px;margin:6px 0 8px}.sbox input{margin:0}.sbox button{margin:0}
.chlinks{display:flex;gap:14px;font-size:14px;margin:0 0 8px;flex-wrap:wrap}.chlinks:empty{display:none}
.crow .gifbtn{display:flex;align-items:center;justify-content:center;height:42px;padding:0 8px;margin:0;font-size:13px;font-weight:700;background:#3d4550;border-radius:8px}
.crow .laterbtn{margin:0;padding:10px;background:#3d4550;font-size:17px}
.sheet2{position:fixed;left:0;right:0;bottom:0;background:#2a2d33;border-radius:16px 16px 0 0;padding:14px 16px calc(20px + env(safe-area-inset-bottom,0px));z-index:61;box-shadow:0 -4px 18px rgba(0,0,0,.5);max-height:85vh;max-height:85dvh;overflow:auto}
#sheetback{z-index:60}
@media (min-width:900px){ .sheet2{left:50%;right:auto;bottom:auto;top:12vh;top:12dvh;transform:translateX(-50%);width:520px;border-radius:14px} }
.sheet2 h3{margin:0 0 8px;font-size:17px}.sheet2 .row button{margin-top:10px}.sheetmsg{min-height:1em;margin-top:6px}
.daytime{display:flex;gap:10px}.daytime label{flex:1}.edittext{width:100%;min-height:90px}
.gifgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}
.giftile{margin:0;padding:0;background:#1c1e22;border-radius:8px;overflow:hidden;height:92px}.giftile img{width:100%;height:100%;object-fit:cover;display:block}
.pby{font-size:11px;color:var(--muted);text-align:right;margin-top:8px}.pby b{color:#fff;letter-spacing:.5px}
.res{display:block;background:var(--card);border-radius:10px;padding:10px 12px;margin:8px 0;color:var(--text);text-decoration:none;overflow-wrap:anywhere}
.res .w,.sch .w{font-size:13px;color:var(--muted)}.sch .w{color:#ffd27a}.res mark{background:#5a4a12;color:#fff;border-radius:3px;padding:0 2px}
.sch{background:var(--card);border-radius:10px;padding:10px 12px;margin:8px 0;overflow-wrap:anywhere}.schbody{display:block;margin-top:4px;white-space:pre-wrap;color:var(--text)}
.sch .row button{margin-top:8px}.sch details.change summary{font-size:14px;color:#8ec1ff;margin-top:8px}
.msg.found{outline:2px solid #ffd27a}.mdeleted{font-style:italic}.msgmenu .mdel{color:#ff9a8f}
.emailbox{border-top:1px solid #3d4550;margin-top:12px;padding-top:4px}.emailbox h3{font-size:16px;margin:8px 0 4px}
.sw{display:flex;align-items:center;gap:8px;color:var(--text);font-size:15px;margin-top:8px}.sw input{width:auto;margin:0}
.swtime{align-items:center;margin:6px 0 0 26px}.swtime input{width:140px;margin:0}
.sheetquote{margin:0 0 6px;color:var(--text);overflow-wrap:anywhere}
/* 2b.1: the in-app viewer (photos, GIFs, PDFs) */
.viewer{position:fixed;inset:0;z-index:80;background:#000;flex-direction:column}
.vbar{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px}
.vname{flex:1;color:#ccd;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vclose{margin:0;width:48px;height:48px;border-radius:24px;background:#3d4550;font-size:22px;padding:0;color:#fff}
.vdown{color:#8ec1ff;font-size:15px;text-decoration:none;padding:8px 4px}
.vbody{flex:1;display:flex;align-items:center;justify-content:center;overflow:auto;padding:0 6px calc(10px + env(safe-area-inset-bottom,0px))}
.vimg{max-width:100%;max-height:100%;object-fit:contain}
.vpdf{width:100%;height:100%;border:0;background:#fff;border-radius:6px}
body.noscroll{overflow:hidden}
/* 2b.2: the away note (only the sender sees it) and part days on the Time off calendar */
.awaynote{margin-top:8px;background:#1d2a3a;border:1px dashed #4a6a90;border-radius:10px;padding:6px 10px;font-size:14px;color:#cfe0f5}
.awaynote .who{font-size:12px;color:#8ec1ff;margin-bottom:2px}
.partbox{grid-column:1/-1}.part{display:flex;gap:10px}.part label{flex:1}
.tag.partday{background:#3a3550;white-space:normal}.parttime{font-size:10px;opacity:.85;line-height:1.15}
/* 2c: Today's reports (Home) and Admin -> Reports today */
.rpt{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border-radius:10px;background:#30343b;margin-top:8px;color:var(--text);text-decoration:none}
a.rpt:visited{color:var(--text)}.rpt b{font-size:16px}.rpt .when{color:var(--muted);font-size:14px;white-space:nowrap}
.rpt.hot{outline:2px solid #e5534b;background:#3a2626}
.hotline{color:#ff7b72;font-weight:700;font-size:14px;margin-top:4px}
.rtable{width:100%;border-collapse:collapse;font-size:15px}.rtable td,.rtable th{padding:8px 6px;border-bottom:1px solid #3a3f47;text-align:left;vertical-align:top}
.rtable th{color:var(--muted);font-weight:600;font-size:13px}.rtable tr.hot td{background:#3a2626}
.redbox{border:2px solid #e5534b;border-radius:10px;padding:10px 12px;margin:10px 0;background:#3a2626}.redtxt{color:#ff7b72;font-weight:700}
.featppl{display:flex;flex-wrap:wrap;gap:4px 14px;margin:6px 0}

/* 2c.3 (CJ, sample A): the buttons say what they do - 📎 Attach · GIF · ⏱ Send later · Send. On a phone the text box has
   its own full-width line and the four buttons fill the row under it, Send the biggest. The Mac keeps one line. */
.crow .clip{width:auto;height:42px;padding:0 12px;gap:6px;background:#3d4550;border-radius:8px;font-size:14px;font-weight:700;white-space:nowrap}
.crow .laterbtn{font-size:14px;white-space:nowrap}
@media (max-width:899px){
  .crow{flex-wrap:wrap;row-gap:8px}
  .crow textarea{order:-1;flex:1 1 100%;min-height:48px}
  .crow .clip,.crow .gifbtn,.crow .laterbtn,.crow #msend{height:46px;margin:0;padding:0 6px;min-width:0;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:6px;font-weight:700;white-space:nowrap}
  .crow .clip{flex:1.1;font-size:14px}
  .crow .gifbtn{flex:.55;font-size:13px}
  .crow .laterbtn{flex:1.2;font-size:13px;order:1}
  .crow #msend{flex:1.65;font-size:18px;order:2}
}

/* 2c.4: the Send later / Remind me later calendar and time drop-downs */
.daytime2 .pkhead{display:flex;justify-content:space-between;align-items:center;margin:10px 0 6px}.daytime2 .pkhead b{font-size:16px}
.daytime2 .arrow{margin:0;width:38px;height:34px;padding:0;border-radius:8px;background:#3d4550;font-size:18px}.daytime2 .arrow:disabled{opacity:.35}
.daytime2 .pkcal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.daytime2 .pkdn{color:var(--muted);font-size:12px;padding:2px 0}
.daytime2 .pkd{margin:0;padding:9px 0;border-radius:8px;font-size:15px;background:#30343b;color:var(--text);font-weight:400}
.daytime2 .pkd.past{background:none;color:#555b63}.daytime2 .pkd.today{outline:2px solid #8ec1ff}.daytime2 .pkd.pick{background:var(--blue);font-weight:700}.daytime2 .pkd.blank{background:none;pointer-events:none}
.daytime2 .tl{margin-top:12px;font-size:13px;color:var(--muted)}.daytime2 .trow{display:flex;gap:8px;margin-top:4px}
.daytime2 .trow select{flex:1;padding:10px;border-radius:10px;background:#1c1e22;color:var(--text);border:1px solid #3d4550;font:inherit;font-size:16px}
.daytime2 .when{margin-top:10px;font-weight:700;min-height:20px}
.sheet .files{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}
/* 2d: channel names - blue ONLY when there are unread messages, white otherwise (the phone's "visited link" blue was misleading) */
.chrow,.chrow:visited{color:#fff;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;align-items:center}
.chrow .chname{color:#fff;font-weight:400}.chrow.unread .chname{color:#8ec1ff;font-weight:700}.chrow.unread .chcount{color:#8ec1ff;font-weight:700}
.chright{display:flex;align-items:center;gap:6px}
.chmore{background:none;border:0;margin:0;padding:0 6px;color:var(--muted);font-size:20px;line-height:1;cursor:pointer}
.hidwrap{margin-top:14px}.hidwrap summary{color:var(--muted);cursor:pointer;padding:8px 2px;font-size:15px}
.hidwrap .chrow{opacity:.75}.chnote{padding:6px 14px 8px;font-size:13px}
/* 2d: replies */
.replybar{display:flex;align-items:center;gap:8px;background:#1f2a3a;border-left:3px solid #8ec1ff;border-radius:8px;padding:6px 8px 6px 10px;margin-bottom:6px}
.replybar .rtext{flex:1;min-width:0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.replyx{background:none;border:0;margin:0;padding:4px 8px;color:var(--muted);font-size:18px}
.mquote{display:block;width:100%;text-align:left;margin:4px 0 6px;padding:6px 10px;border:0;border-left:3px solid #8ec1ff;border-radius:8px;background:rgba(0,0,0,.22);color:var(--text);font-weight:400;font-size:14px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mquote b{margin-right:6px}.mquote.gone span{font-style:italic;color:var(--muted)}
/* 2d: Clock In / Out - grey while finding you (with a 20-second bar), green with a check when it's done */
button.big.busy,button.big.busy:disabled{background:#5b6270;color:#fff;opacity:1}
button.big.done{background:#2e9e4f;color:#fff}
.fixbar{height:6px;border-radius:3px;background:#3d4550;margin-top:8px;overflow:hidden}.fixbar span{display:block;height:100%;width:0;background:#8ec1ff}
/* 2d.1: the "read them first" popup line */
.chnote.chask{color:var(--text);font-size:15px;padding:10px 14px}
/* 2d.2: Friday "Next week needs a look" card */
.nextweek{border-left:4px solid #ffd27a}.nextweek ul{margin:6px 0 8px 18px;padding:0}.nextweek li{margin:4px 0}
/* 2d.2: "Did you submit all your invoices for the day?" before Clock Out (CJ, Option A) */
.invback{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:60}
.invq{position:fixed;left:16px;right:16px;top:28%;max-width:420px;margin:0 auto;z-index:61;background:#2a2d33;border-radius:16px;padding:20px 18px;box-shadow:0 8px 30px rgba(0,0,0,.6)}
.invq h3{margin:0 0 6px;font-size:19px}.invq p{margin:0 0 8px}.invstep{font-size:12px;color:#ffd27a;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-bottom:6px}
.invq button{display:block;width:100%;padding:14px;font-size:16px;margin-top:10px}.invq .invyes{background:#2e9e4f}.invq .invno{background:#3d4550}
/* 2e: the Office hub (a big screen at the office) */
html.embedded .topwrap,html.embedded #topspace,html.embedded #updbar{display:none!important}html.embedded{--toph:0px!important}
.hubbody{margin:0;height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column;background:var(--bg)}
.htop{flex:0 0 auto;min-height:52px;flex-wrap:wrap;row-gap:4px;background:#173F73;display:flex;align-items:center;gap:22px;padding:0 20px;color:#fff}
.htop b{font-size:18px}.htop nav{display:flex;gap:18px}.htop nav a{color:#b9c9e3;text-decoration:none;font-size:14px}.htop nav a.on{color:#fff;font-weight:700;border-bottom:2px solid #fff;padding-bottom:2px}
.hright{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:14px;color:#cfe0f7}
.hlive{display:flex;align-items:center;gap:6px}.hdot{width:9px;height:9px;border-radius:50%;background:#4cc27a;box-shadow:0 0 6px #4cc27a}.hdot.off{background:#ff8a80;box-shadow:none}
.hvol{display:flex;align-items:center;gap:8px;color:#cfe0f7;font-size:14px;margin:0}.hvol input{width:120px;margin:0;padding:0}
.hsound{background:#4d3a12;color:#ffd27a;text-align:center;padding:6px;font-size:14px}
.hmain{flex:1;display:flex;min-height:0}
.hmsgs{width:var(--hubw,60%);flex:0 0 auto;border:0;height:100%;background:var(--bg)}
.hside{flex:1 1 0;min-width:0;overflow-y:auto;padding:12px 14px;container-type:inline-size}
.hgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:start}
.hcard{background:var(--card);border-radius:12px;padding:12px 14px}.hwide{grid-column:1 / span 2}
.hcard h4{margin:0 0 8px;font-size:15px;display:flex;justify-content:space-between;align-items:baseline;gap:8px}.hcard h4 small{color:var(--muted);font-weight:400;font-size:12px}
.hcard ul{margin:0;padding-left:18px;font-size:13.5px}.hcard li{margin:3px 0}
.htab{width:100%;border-collapse:collapse;font-size:13.5px}.htab th{color:var(--muted);font-weight:500;text-align:left;padding:4px 6px;border-bottom:1px solid #33373e;font-size:12px}
.htab td{padding:7px 6px;border-bottom:1px solid #2e3239;vertical-align:top}.htab tr:last-child td{border-bottom:0}
.hpill{display:inline-block;border-radius:10px;padding:1px 8px;font-size:12px;font-weight:600;white-space:nowrap}
.hpill.in{background:#1f4d33;color:#9ff0bd}.hpill.out{background:#33373e;color:#cfd3d9}.hpill.not{background:#4d3a12;color:#ffd27a}.hpill.off{background:#2a2f4d;color:#b6c2ff}
.hflag{color:#ffd27a;font-size:12px;margin-top:2px}.hst{color:var(--muted)}.hv{color:#4cc27a}.hx{color:#6b717a}
.hok{display:flex;gap:10px}.hokb{flex:1;background:#1f2227;border-radius:10px;padding:10px;text-align:center;text-decoration:none;color:var(--text)}.hokb b{display:block;font-size:24px;color:#ffd27a}.hokb span{font-size:12px;color:var(--muted)}
.hrl{display:flex;flex-wrap:wrap;justify-content:space-between;column-gap:10px;padding:5px 0;border-bottom:1px solid #2e3239;font-size:13.5px}.hrl:last-child{border:0}
.hokb:hover{outline:1px solid #8ec1ff}
.r-ok{color:#4cc27a;white-space:nowrap}.r-hot{color:#ffd27a;white-space:nowrap}.r-late{color:#ff8a80}.r-wait{color:var(--muted)}
.hnw{border-left:4px solid #ffd27a}
/* 2l.5 (CJ 10-19): a divider to drag, a narrower window, very narrow = Messages | Today tabs */
.hsplit{flex:0 0 8px;cursor:col-resize;background:#22252a;border-left:1px solid #33373e;border-right:1px solid #33373e;touch-action:none;position:relative}
.hsplit::after{content:"";position:absolute;left:2px;top:50%;width:2px;height:36px;margin-top:-18px;border-left:1px solid #6b717a;border-right:1px solid #6b717a}
.hsplit:hover,.hsplit:focus-visible,.hdrag .hsplit{background:#2f5f9e;outline:none}
.hdrag .hmsgs{pointer-events:none}.hdrag{cursor:col-resize;user-select:none}
.hrl>span:last-child{margin-left:auto;text-align:right}
@container (max-width:560px){ .hgrid{grid-template-columns:1fr} .hwide{grid-column:auto} }
@container (max-width:430px){
  .htab tr:first-child{display:none} .htab tr{display:grid;grid-template-columns:auto 1fr;column-gap:8px;padding:6px 0;border-bottom:1px solid #2e3239}
  .htab td{border:0;padding:2px 4px} .htab td:nth-child(3),.htab td:nth-child(4){grid-column:1 / span 2}
}
.htabs{display:none}
@media (max-width:1100px){ .htop{gap:12px;padding:6px 14px} .htop nav{gap:12px} .hright{gap:12px} .hvol input{width:80px} }
@media (max-width:860px){ .hvolt{display:none} }
@media (max-width:719px){
  .htabs{display:flex;flex:0 0 auto;background:#1c1f24;border-bottom:1px solid #33373e}
  .htabs button{flex:1;margin:0;border-radius:0;background:none;color:var(--muted);padding:10px;font-weight:600;border-bottom:3px solid transparent}
  .htabs button.on{color:#fff;border-bottom-color:#8ec1ff}
  .hsplit{display:none} .hmain .hmsgs{width:100%} .hmain[data-tab="msgs"] .hside{display:none} .hmain[data-tab="side"] .hmsgs{display:none}
}
/* 2u (CJ 10-23): the Office hub is in the phone's menu row too (2e hid it) - on a phone it shows the Today cards only */
.hubbody{height:100dvh}
html.hphone .htabs,html.hphone .hsplit,html.hphone .hmsgs,html.hphone .hvol,html.hphone .hsound{display:none!important}
html.hphone .hside{padding:10px 10px calc(16px + env(safe-area-inset-bottom))}
html.hphone .htop{gap:6px 14px;padding:8px 12px}html.hphone .htop b{font-size:16px}
html.hphone .htop nav{order:3;flex:1 0 100%;overflow-x:auto;scrollbar-width:none;gap:16px;white-space:nowrap;padding-bottom:2px}html.hphone .htop nav::-webkit-scrollbar{display:none}
html.hphone .htop nav a{font-size:15px}html.hphone .hright{gap:10px;font-size:13px}
/* 2e: paste / drop pictures into Messages */
.pastehint{font-size:12px;margin-top:4px}@media (max-width:899px),(hover:none){.pastehint{display:none}}
.chpane.dropping{outline:3px dashed #8ec1ff;outline-offset:-6px;border-radius:12px}
/* 2e: inside the Office hub the message box sits at the bottom even when a channel has only a few messages */
html.embedded .chpane{display:flex;flex-direction:column;min-height:calc(100vh - 60px);min-height:calc(100dvh - 60px)}html.embedded .chpane .msgs{flex:1 0 auto}

/* 2f: direct and group conversations */
.newmsg{margin:0;font-size:14px;padding:7px 12px}.sysline{align-self:center;background:none;color:var(--muted);font-size:13px;text-align:center;padding:4px 10px;max-width:100%}
.convpeople summary,.rename summary{cursor:pointer}.convpeople{margin-left:10px}.cpl{margin:6px 0}.cpp{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:3px 0}
.cpp form{display:inline}.addppl{margin:8px 0}.newconv .chk{margin:8px 0}.readlist{display:flex;flex-direction:column;gap:10px;margin-top:10px}.readlist .msg{max-width:none}
.readlist .mfile img{max-width:320px;border-radius:8px}
/* 2f.3: scheduled off / no work planned (from AA Tools' week) */
.hpill.sched,.hpill.none{background:#2b2f36;color:#9aa0a8}
/* 2g (CJ 10-14): People - the tick boxes on their own full-width row, one line each, a short grey note under it */
.ticks{grid-column:1/-1;display:flex;flex-direction:column;gap:12px;margin:14px 0 2px}
.tick{display:flex;gap:10px;align-items:flex-start;color:var(--text);font-size:15px;margin:0;max-width:640px}
.tick input{width:auto;margin:3px 0 0;flex:none}.tick span{min-width:0}
.tick small{display:block;color:var(--muted);font-size:13px;margin-top:2px;line-height:1.4}
.hpill.con{background:#2b2f36;color:#cfd3d9}
/* 2h (CJ 10-14): Admin -> Schedule - the look of the sample CJ liked */
.stabs{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:12px 0 6px}
.stab{background:var(--card);color:var(--text);border:1px solid #3d4550;border-radius:999px;padding:7px 14px;font-size:14px;text-decoration:none}
.stab.on{background:var(--blue);border-color:var(--blue);font-weight:600}
.sweek{margin-left:6px;font-size:14px;color:var(--muted)}.sweek a{color:var(--text);text-decoration:none;padding:4px 8px;font-size:18px}
.skey{display:flex;gap:14px;flex-wrap:wrap}.skey span{display:inline-flex;gap:6px;align-items:center}
.skey .swatch{display:inline-block;width:12px;height:12px;border-radius:3px}.chipsw{background:#22344d}.offsw{background:#3a2d12}.chgsw{background:#f0c674;border-radius:50%}
.schedinfo{background:#22344d}
.slayout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start;margin:10px 0}
@media (max-width:900px){.slayout{grid-template-columns:minmax(0,1fr)}}
.sgrid{overflow-x:auto;background:var(--card);border-radius:12px}
.sgrid table{border-collapse:collapse;width:100%;min-width:760px}
.sgrid th,.sgrid td{border-bottom:1px solid #3d4550;vertical-align:top;text-align:left}
.sgrid thead th{font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:10px;font-weight:600}
.sgrid thead th .d{display:block;text-transform:none;letter-spacing:0;font-size:13px;color:var(--text)}
.sgrid thead th.hol .d{color:#f0c674}
.sgrid tbody th{padding:12px 10px;font-size:15px;white-space:nowrap;width:120px}.sgrid tbody th .tag{display:block;font-size:11.5px;font-weight:400;color:var(--muted)}
.sgrid td{padding:6px}
.scell{width:100%;min-height:62px;display:flex;flex-direction:column;gap:4px;align-items:flex-start;background:transparent;border:1px solid transparent;border-radius:8px;padding:6px;margin:0;color:inherit;font:inherit;font-weight:400;cursor:pointer;text-align:left;position:relative}
.scell:hover{border-color:#3d4550;background:#1c1e22}.scell.sel{border-color:var(--blue);background:#1c1e22}
.scell .chip{background:#22344d;color:#cfe0f6;border-radius:6px;padding:2px 7px;font-size:12.5px;line-height:1.35}
.scell .chip .kind{display:block;font-size:11px;color:var(--muted)}
.scell .off,.scell .add{color:var(--muted);font-size:13px}.scell .off{font-style:italic}
.scell .to{background:#3a2d12;color:#f0c674;border-radius:6px;padding:2px 7px;font-size:12.5px}
.scell .note,.scell .who{font-size:11.5px;color:#f0c674}.scell .who{color:var(--muted)}
.scell .chg{position:absolute;top:6px;right:6px;width:7px;height:7px;border-radius:50%;background:#f0c674}
.spanel{background:var(--card);border-radius:12px;padding:14px;position:sticky;top:calc(env(safe-area-inset-top,0px) + 12px)}
.spanel h2{font-size:16px;margin:0 0 2px}.spanel .snote{color:#f0c674;font-size:13px;margin:6px 0}
.schips{display:flex;flex-direction:column;gap:6px;margin:12px 0}
.prow{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;background:#1c1e22;border:1px solid #3d4550;border-radius:8px;padding:7px 10px;font-size:14px;min-width:0}
.pstore{display:flex;flex-direction:column;gap:6px;min-width:0}.pstore span{overflow-wrap:anywhere}
.seg{display:inline-flex;border:1px solid #3d4550;border-radius:8px;overflow:hidden;align-self:flex-start;margin-top:4px}
.seg button{background:transparent;border:0;color:var(--muted);font:inherit;font-size:13px;padding:5px 10px;margin:0;cursor:pointer;border-radius:0}
.seg button+button{border-left:1px solid #3d4550}.seg button.on{background:var(--blue);color:#fff;font-weight:600}
.only{font-size:11.5px;color:var(--muted)}
.prow .x{background:none;border:0;color:var(--muted);font-size:18px;cursor:pointer;padding:0 4px;margin:0;line-height:1}
.spanel .btns{display:flex;flex-wrap:wrap;gap:8px}.serr{color:#f0a3a3;font-size:13px;min-height:1em}
.snotebox{background:#3a2d12;color:#f0d9a3}.snotebox ul{margin:6px 0 0 18px;padding:0;font-size:14px}.snotebox button{margin-top:8px}

/* 2h.3 (CJ 10-14): Settings in layout B - full-width rows under headings; words left, controls right; stacks on a phone */
.sgroup{margin:26px 0 8px;font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:#cfe0f6;font-weight:700}
.sgroup:first-of-type{margin-top:8px}
.srows{display:flex;flex-direction:column;gap:12px}
.srow{background:var(--card);border-radius:12px;padding:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:22px}
.srow h2{font-size:17px;margin:0 0 6px}.srow .sl p{margin:0 0 8px}
.srow .sc form.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));column-gap:12px;align-items:end}
.srow .sc form.grid>button,.srow .sc form.grid>.chk,.srow .sc form.grid>.radio{grid-column:1/-1;justify-self:start}
.srow .featform+.featform{border-top:1px solid #3d4550;margin-top:14px;padding-top:12px}
.srow .featform p{margin:0 0 4px}
.keyok{color:#9ff0bd;font-size:13.5px;margin:8px 0 0}.keybad{color:#f0a3a3;font-size:13.5px;margin:6px 0 0}.keynone{color:var(--muted);font-size:13.5px;margin:8px 0 0}
@media (max-width:760px){.srow{grid-template-columns:minmax(0,1fr);gap:8px}}
/* 2h.5: a report on its own page - the bar stays at the top while you scroll (‹ Back / Share / Download) */
body.rvpage{background:#3a3d42;min-height:100vh;min-height:100dvh}   /* 2j: the grey fills a short page too */
.rvbar{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;padding-top:calc(8px + env(safe-area-inset-top,0px));background:var(--navy);box-shadow:0 2px 8px #0006}
.rvbar button,.rvbar a{margin:0;border:0;border-radius:10px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;color:#fff;white-space:nowrap}
.rvback{background:#ffffff24;font-size:17px;font-weight:700;padding:11px 14px}
.rvsp{flex:1}
.rvshare{background:#ffffff24;font-size:15px;padding:11px 12px}
.rvdown{background:var(--blue);font-size:15px;padding:11px 12px}
.rvdown:visited{color:#fff}
.rvname{flex-basis:100%;color:#dbe6f7;font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px 2px}
.rvmsg{display:none;margin:10px 12px 0;padding:10px 12px;border-radius:10px;background:#26292f;color:var(--text)}
.rvpages{max-width:900px;margin:0 auto;padding:10px 10px calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:10px}
.rvpg{display:block;width:100%;height:auto;background:#fff;border-radius:3px;box-shadow:0 2px 6px #0005}
.rvnone{margin:10px 0}
.addmiss{margin:6px 0}.addmiss .flagtext{margin-bottom:2px}
.limtable input{width:7em;padding:8px;margin:0}.limtable td{vertical-align:middle}

/* 2j (CJ 10-16): a Missing Photo Report as a phone list - one card per car (Option A) */
.lhead{max-width:900px;margin:0 auto;padding:12px 14px 2px;color:#fff}.lhead h1{font-size:20px;margin:0 0 2px}.lsub{color:#c9ced6;font-size:14px}
.openfull{display:block;max-width:876px;margin:10px auto 4px;padding:12px;text-align:center;border-radius:10px;background:#26292f;color:#e6e8eb;font-weight:700;text-decoration:none;font-size:16px}
@media (max-width:900px){.openfull{margin:10px 12px 4px}}
.openfull:visited{color:#e6e8eb}
.carlist{max-width:900px;margin:0 auto;padding:0 0 calc(16px + env(safe-area-inset-bottom,0px))}
.car{background:#fff;color:#111;margin:10px 12px;border-radius:10px;padding:12px 12px 10px;box-shadow:0 1px 4px #0006}
.car .ctop{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.car .stk{font-size:22px;font-weight:800;letter-spacing:.3px;overflow-wrap:anywhere}
.car .days{font-size:15px;font-weight:700;color:#333;white-space:nowrap}
/* 2j.1 (CJ 10-16): In stock / In transit sections; in-transit cards tinted yellow */
.sechead{max-width:876px;margin:18px 12px 0;display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:15px;letter-spacing:.6px;text-transform:uppercase}
.sechead:after{content:"";flex:1;height:2px;background:#ffffff40}
.sechead.tr{color:#ffd96b}.sechead.tr:after{background:#ffd96b80}
@media (min-width:901px){.sechead{margin:18px auto 0}}
.car.transit{background:#fff6d1;border-left:6px solid #e0a800}.car.transit .days{color:#8a5a00}
.car .veh{font-weight:700;font-size:16px;margin-top:4px}
.car .vin{font-family:ui-monospace,Menlo,monospace;font-size:15px;letter-spacing:.3px;margin-top:2px;overflow-wrap:anywhere}
.car .col{color:#555;font-size:14px}
.car .notes{margin-top:8px;padding-top:8px;border-top:1px solid #e3e3e3;font-size:14.5px;line-height:1.4}
.car .notes .msi{color:#333}.car .notes .nt{color:#a15c00;font-weight:600;white-space:pre-line;overflow-wrap:anywhere}
/* 2k (CJ 10-16): Lot Walk - the start page, and walk the lot (layout A cards; search, filters and sort pinned under the header) */
@media (max-width:899px){ .topwrap .nav{overflow-x:auto;scrollbar-width:none;column-gap:12px} .topwrap .nav::-webkit-scrollbar{display:none} }
.lwstore{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border-radius:10px;background:#30343b;margin-top:8px;color:var(--text);text-decoration:none}
.lwstore b{font-size:16px}.lwgo{color:#8ec1ff;font-weight:700;white-space:nowrap}
.walkit{display:block;text-align:right;margin:4px 2px 0;color:#8ec1ff;font-weight:700;text-decoration:none;font-size:15px;padding:4px 0}
.lwstores{columns:2 220px;margin-top:4px}.lwstores .sw{break-inside:avoid}
.lwpin{position:sticky;top:var(--toph);z-index:30;background:var(--bg);margin:-16px -16px 0;padding:10px 16px 6px;box-shadow:0 6px 10px -8px #000c}
.lwhead{display:flex;align-items:center;gap:10px}.lwback{color:#8ec1ff;text-decoration:none;font-weight:700;white-space:nowrap}
.lwtitle{min-width:0;display:flex;flex-direction:column}.lwtitle b{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lwtitle .muted{font-size:13px}
.lwsearch{position:relative;margin-top:8px}.lwsearch input{margin:0;padding:11px 44px 11px 12px;font-size:16px;border-radius:10px;background:#2c3138;border:0}
.lwsearch input::-webkit-search-cancel-button{display:none}
.lwclr{position:absolute;right:6px;top:50%;transform:translateY(-50%);margin:0;width:32px;height:32px;padding:0;border-radius:50%;background:#4a505a;font-size:14px}
.lwfilters{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.lwf{margin:0;display:flex;justify-content:space-between;align-items:center;gap:6px;border-radius:10px;background:#2c3138;color:#c9ced6;font-size:13.5px;padding:9px 10px;text-align:left}
.lwf i{font-style:normal;font-size:10px;opacity:.75;white-space:nowrap}.lwf.on{background:var(--blue);color:#fff}.lwf:disabled{opacity:.4;cursor:default}
.lwf.reset{justify-content:center;background:none;border:1px dashed #4a505a}
.lwsort{display:flex;align-items:center;gap:8px;margin-top:6px}.lwsort span{flex:1;min-width:0;font-size:13px}
.lwsort select{width:auto;max-width:62%;margin:0;padding:7px 8px;font-size:13.5px;border-radius:8px;background:#2c3138;border:0}
.lwbar{display:flex;align-items:center;gap:10px;justify-content:space-between;margin:8px 0;padding:10px 12px;border-radius:10px;background:#fff3cd;color:#7a4b00;font-weight:700}
.lwbar[hidden]{display:none}.lwbar button{margin:0;background:#7a4b00}.lwcheck{margin:8px 2px}
.lwlist{padding:4px 0 24px}
.lwcar{display:flex;gap:10px;width:100%;margin:8px 0 0;background:#fff;color:#111418;border-radius:10px;padding:10px;box-shadow:0 1px 3px #0005;text-align:left;font-weight:400}
.lwcar.tr{background:#fff6d1}
.lwtile{flex:none;width:62px;height:50px;border-radius:8px;background:#e9edf2;color:#9aa6b2;position:relative;display:flex;align-items:center;justify-content:center}
.lwtile svg{width:44px}.lwtile span{position:absolute;left:-4px;bottom:-5px;background:#2e7d32;color:#fff;font-weight:800;font-size:12px;border-radius:999px;padding:1px 7px;border:2px solid #fff}
.lwtile.miss span{background:#c62828}.lwtile em{position:absolute;right:-4px;top:-6px;font-style:normal;font-size:13px}
.lwmid{flex:1;min-width:0}.lwmid .l1{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.lwmid .l1 b{font-size:18px}
.lwmid .d{font-weight:700;color:#333;white-space:nowrap;font-size:14px}
.lwmid .l2{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lwmid .l3{color:#555;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lwmid .nt{color:#a15c00;font-weight:600;font-size:13px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lwmid .tg{margin-top:4px;display:flex;gap:4px;flex-wrap:wrap}.lwmid .tg i{font-style:normal;font-size:11.5px;font-weight:700;background:#fdecc8;color:#7a4b00;border-radius:6px;padding:2px 6px}
.lwmid .tg i.g{background:#dff0e2;color:#1b5e20}
.nu{font-size:11px;font-weight:800;border-radius:5px;padding:1px 5px;vertical-align:1px}.nu.N{background:#dff0e2;color:#1b5e20}.nu.U{background:#e3eefc;color:#173F73}
.lwempty{text-align:center;color:var(--muted);padding:30px 16px}
.lwback2{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:60}
.lwsheet{position:fixed;left:0;right:0;bottom:0;background:#2a2d33;border-radius:16px 16px 0 0;padding:14px 16px calc(20px + env(safe-area-inset-bottom,0px));z-index:61;box-shadow:0 -4px 18px rgba(0,0,0,.5);max-height:85vh;max-height:85dvh;overflow:auto}
@media (min-width:900px){ .lwsheet{left:50%;right:auto;bottom:auto;top:12vh;top:12dvh;transform:translateX(-50%);width:520px;border-radius:14px} }
.lwsh{display:flex;align-items:center;gap:8px}.lwsh b{font-size:20px}.lwx{margin:0 0 0 auto;width:36px;height:36px;padding:0;border-radius:50%;background:#4a505a}
.lwv{font-weight:600;margin:4px 0 8px}.lwrow{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #3d4550;font-size:15px}
.lwrow span{color:var(--muted)}.lwrow b{text-align:right;font-weight:600;overflow-wrap:anywhere}.lwrow .red{color:#ff7b72}.mono{font-family:ui-monospace,Menlo,Consolas,monospace}
.lwnote{border-top:1px solid #3d4550;padding-top:7px;margin-top:2px}.lwnote span{color:var(--muted);font-size:13px}
.lwnote pre{margin:4px 0 6px;white-space:pre-wrap;font:600 14.5px/1.4 -apple-system,system-ui,Segoe UI,Roboto,sans-serif;color:#ffb366}
.lwheld{margin:8px 0;padding:9px 12px;border-radius:10px;background:#fff3cd;color:#7a4b00;font-weight:700;font-size:14px}   /* 2k.2 */
/* 2l (CJ 10-16): Lot Walk - the car panel, the key machine page, the shoot list, Finish */
.lwcar{position:relative;cursor:pointer;align-items:flex-start}.lwcar.sel{outline:3px solid var(--blue)}.lwcar.cant{background:#fff5f5}.lwcar.oth{opacity:.6}
.lwcar .pick{flex:none;width:34px;height:34px;margin:0;padding:0;border-radius:50%;border:2px solid #9aa3ad;align-self:center;background:#fff;color:#fff;font:800 16px -apple-system,system-ui,sans-serif}
.lwcar .pick.on{background:var(--blue);border-color:var(--blue)}.lwcar .pick:disabled{opacity:.3}
.lwmid .loc2{font-size:12.5px;color:#444;font-weight:600;margin-top:2px}
.lwmid .stt{margin-top:5px;font-weight:800;font-size:12.5px;border-radius:6px;padding:3px 7px;display:inline-block;background:#fde3e3;color:#a11a1a}
.lwmid .othl{display:inline-block;margin-top:5px;font-weight:800;font-size:12.5px;color:#444;background:#e5e7eb;border-radius:6px;padding:3px 7px}
.lwlist{padding-bottom:90px}
.lwfoot{position:fixed;left:0;right:0;bottom:0;z-index:31;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#11151a;border-top:1px solid #333;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))}
@media (min-width:600px){ .lwfoot{left:50%;transform:translateX(-50%);max-width:560px;border-radius:12px 12px 0 0} }
.lwfoot span{font-size:14.5px}.lwfoot button{margin:0;padding:11px 14px;font-size:15px;font-weight:700}.lwfoot button.green{background:#2e7d32}.lwfoot button:disabled{opacity:.4}
.lwwait{margin-top:6px;padding:6px 10px;border-radius:8px;background:#5c4a0c;color:#ffe08a;font-size:13px;font-weight:700}
.lwwait[hidden]{display:none}
.lwlink{background:none;border:0;padding:0;margin:0;color:#8ec1ff;font-weight:700;font-size:inherit;cursor:pointer}
.lwtabs{display:flex;gap:6px;margin-top:8px}.lwtab{flex:1;margin:0;padding:9px;border-radius:10px;background:#2c3138;color:#c9ced6;font-size:14px}.lwtab.on{background:var(--blue);color:#fff}
.lwkmcount{margin:6px 2px 0}
.km{background:#fff;color:#111418;margin:8px 0 0;border-radius:12px;padding:10px 12px 12px;box-shadow:0 1px 4px #0006}
.km.got{background:#eef5ff}.km.nok{background:#fff0f0}
.km .t{display:flex;gap:10px}.km .n{font-weight:800;color:var(--blue);font-size:18px;min-width:22px}
.km .lk{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.km .lk b{font-size:20px}.km .loc{font-size:13px;font-weight:600;color:#444;white-space:nowrap}
.km .vv{font-weight:600;font-size:14px}.km .vin{font-size:13px;color:#666;overflow-wrap:anywhere}
.kmst{margin-top:6px;font-weight:800;font-size:13px;border-radius:6px;padding:3px 7px;display:inline-block}.kmst.ok{background:#dff0e2;color:#1b5e20}.kmst.no{background:#fde3e3;color:#a11a1a}
.kmb{display:flex;gap:8px;margin-top:10px}.kmbtn{flex:1;margin:0;padding:12px 8px;border-radius:10px;font-size:15px;font-weight:800;background:#e8f0fb;color:#173F73;border:2px solid #b9cdea}
.kmbtn.on{background:#2e7d32;color:#fff;border-color:#2e7d32}.kmbtn.red{background:#fdecec;color:#a11a1a;border-color:#f1b7b7}.kmbtn.red.on{background:#c62828;color:#fff;border-color:#c62828}
.kmbtn.grey{background:#eef0f3;color:#333;border-color:#d0d5dc}
.big2{display:block;width:100%;margin:10px 0 0;padding:14px;border-radius:12px;font-size:16px;font-weight:800}.big2.red{background:#c62828}.big2.ghost{background:#3d4550}.big2:disabled{opacity:.5}
.lwacts{display:grid;gap:0;margin:4px 0 6px}
.lwloc{margin-top:6px}.lwloc select{margin-top:4px}
.lwrowin{display:flex;gap:8px;align-items:center;margin:6px 0}.lwrowin input{margin:0}.lwrowin button{margin:0;white-space:nowrap}
.lwrowin[hidden]{display:none}
.lwreasons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.lwreasons.one{grid-template-columns:1fr}
.lwr{margin:0;padding:13px 8px;border-radius:10px;background:#3d4550;font-size:15px}.lwr.on{background:#c62828;outline:2px solid #fff}
.lwhist{font-size:13.5px;line-height:1.5;margin-top:4px}
.lwst{font-size:13px;color:#cfe0f7;margin-top:2px}.lwst.walking{color:#8ec1ff;font-weight:700}.lwst.done{color:#7ee2a0;font-weight:700}
.lwtoast{position:fixed;left:50%;transform:translateX(-50%);bottom:84px;z-index:70;background:#111;color:#fff;padding:10px 14px;border-radius:10px;font-weight:700;box-shadow:0 4px 14px #000a;max-width:90vw;text-align:center}
.lwsync{margin:8px auto 0;max-width:560px;padding:9px 12px;border-radius:10px;background:#5c4a0c;border:1px solid #c9a227;color:#ffe08a;font-weight:700;font-size:14px}   /* 2l.1 */
.lwsync[hidden]{display:none}
.lwfail{display:block;width:calc(100% - 32px);max-width:560px;margin:8px auto 0;padding:9px 12px;border-radius:10px;background:#5a1d1d;border:1px solid #e5534b;color:#ffd0cc;font-weight:700;font-size:14px;text-align:left}   /* 2l.2 */
.lwfail[hidden]{display:none}
.lwfailbox{position:fixed;left:50%;top:12vh;top:12dvh;transform:translateX(-50%);width:min(520px,92vw);max-height:76vh;max-height:76dvh;overflow:auto;z-index:80;background:#2a2d33;border-radius:14px;padding:16px;box-shadow:0 8px 30px #000c}
.lwfailbox[hidden]{display:none}.lwfailbox h3{margin:0 0 6px}.lwfrow{border-top:1px solid #3d4550;padding:8px 0;font-size:14.5px}

/* 2l.5 (CJ 10-19): the divider between the channel list and the conversation (drag; double-click = normal) */
.msplit{display:none;align-self:stretch;cursor:col-resize;border-radius:4px;background:linear-gradient(#2e3239,#2e3239) center/1px 100% no-repeat;touch-action:none;min-height:200px;position:sticky;top:12px;height:calc(100vh - 24px);height:calc(100dvh - 24px)}
.msplit::after{content:"";display:block;width:2px;height:36px;margin:calc(50vh - 30px) auto 0;margin:calc(50dvh - 30px) auto 0;border-left:1px solid #4a5059;border-right:1px solid #4a5059}
.msplit:hover,.msplit:focus-visible,.msplit.dragging{background:linear-gradient(#8ec1ff,#8ec1ff) center/2px 100% no-repeat,#2f5f9e33;outline:none}
.msgwrap.mdrag{cursor:col-resize;user-select:none}
/* 2m (CJ 10-16): Lot Walk - the Can't do list and Share, Found the key / returns, Share my list / Join, what changed */
.lwrow2{display:flex;align-items:center;gap:10px;margin-top:6px;flex-wrap:wrap}
.lwpill{margin:0;padding:7px 12px;border-radius:999px;background:#5a2a2a;color:#ffd0cc;font-size:13.5px;font-weight:700}
.lwhead .lwpill{margin-left:auto}
.lwsw{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--text);cursor:pointer;position:relative;margin:0}
.lwsw input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.lwsw .trk{width:40px;height:24px;border-radius:999px;background:#4a505a;position:relative;flex:none;transition:background .15s}
.lwsw .trk:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s}
.lwsw input:checked+.trk{background:#2e7d32}.lwsw input:checked+.trk:after{left:19px}.lwsw input:focus-visible+.trk{outline:3px solid #7fb2ff;outline-offset:2px}
.lwshared{font-size:14px}
.lwjoin{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0;padding:10px 12px;border-radius:10px;background:#1d3557;border:1px solid #3c6fb0}
.lwjoin button{margin:0;white-space:nowrap}
.lwchg{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;margin:8px 0;padding:10px 12px;border-radius:10px;background:#fff3cd;color:#5c3d00;font-size:14px}
.lwchg .muted{color:#7a5a20}.lwchg .lwx{background:#e7d6a5;color:#5c3d00}
.kmflag{margin-top:6px;font-weight:700;font-size:13px;border-radius:6px;padding:4px 8px;background:#eceff3;color:#333}.kmflag.g{background:#dff0e2;color:#1b5e20}
.kmret{margin-top:8px;padding:8px 10px;border-radius:8px;background:#fff3cd;color:#5c3d00;font-weight:700;font-size:13.5px}
.kmret button{margin:6px 0 0;background:#7a4b00}
.kmretbar{margin:8px 0;padding:10px 12px;border-radius:10px;background:#fff3cd;color:#5c3d00;font-size:14px}.kmretbar div{margin-top:4px}
.kmretbar .lwlink{color:#173F73}
.kmbtn.found{background:#fff3cd;color:#5c3d00;border-color:#e2c46b}
.lwchips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;width:100%}.lwchips::-webkit-scrollbar{display:none}
.lwchips .chip{flex:none;margin:0;padding:7px 11px;border-radius:999px;background:#2c3138;color:#c9ced6;font-size:13px;white-space:nowrap}.lwchips .chip.on{background:var(--blue);color:#fff}
.invkeys{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#fff3cd;color:#5c3d00;font-size:14px;text-align:left}
.invkeys div{margin-top:6px;display:flex;justify-content:space-between;align-items:center;gap:8px}.invkeys button{margin:0;padding:6px 10px;background:#7a4b00}

.sheetmsg.bad{color:#ff8a80;font-weight:700;margin:6px 0}   /* 2n (CJ 10-20): the reminder / send-later sheet says what's missing, in red */

/* 2n (CJ 10-20): the Lot Walk dashboard (Admin -> Lot Walk) and the Office hub card */
.lwdhead{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px}.lwdhead h1{margin:8px 0}
.lwdtabs{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 12px}.lwdtabs a{padding:8px 14px;border-radius:999px;background:#2a2d33;color:#d5d9df;text-decoration:none;font-size:14px}
.lwdtabs a.on{background:#2f6fd1;color:#fff;font-weight:600}
.lwdfilter{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;background:#1f2227;padding:12px;border-radius:12px;margin:0 0 12px}
.lwdfilter label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);margin:0}.lwdfilter select,.lwdfilter input{margin:0}
.lwdfilter button{margin:0}.lwdfilter .lwddl{margin-left:auto}.lwdq{flex:1 1 300px}
.lwdtiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 12px}.lwdtiles.four{grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 0}.lwdtiles.five{margin:10px 0}
.lwdtile{background:var(--card);border-radius:12px;padding:10px 14px}.lwdtile span{display:block;font-size:12px;color:var(--muted)}.lwdtile b{font-size:24px}.lwdtile small{font-size:14px;color:var(--muted);font-weight:400}
.lwdtile b.ok,.lwdtable .ok{color:#6fd99a}.lwdtile b.warn,.lwdtable .warn,.lwdrow .warn,a.warn{color:#ffd27a}.lwdtile b.bad,.lwdtable .bad,.lwdrow .bad{color:#ff9c94}
.lwdrow .ok{color:#6fd99a}.lwdscroll{overflow-x:auto}.lwdscroll.fits{overflow:visible}.lwdscroll.fits .rtable th{position:sticky;top:var(--toph);z-index:6;background:var(--card)}/* 3d.15: headings stay at the top (CJ) */.pinhead{position:fixed;z-index:25;overflow:hidden;display:none;background:var(--card);box-shadow:0 6px 10px -8px #000c;pointer-events:none}.pinhead table{margin:0;border-collapse:collapse;table-layout:fixed}.pinhead th{background:var(--card);box-sizing:border-box}/* 3e.14: the heading row held under the menu bar for a table wider than the screen (CJ, phone) */.lwdtable{min-width:760px}.lwdtable tr.muted td{color:var(--muted)}.lwdsel td{background:#1d3557}
.lwdsplit{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start}.lwdsplit>*{flex:1 1 440px;min-width:0;margin:0}
.lwdrow{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid #33373e;font-size:14px}.lwdrow>span:last-child{margin-left:auto;text-align:right}
.lwdcant{margin:8px 0 0}
.lwdone h2{margin:0 0 4px}.lwdcarhead{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:flex-start}.lwdcarhead h2{margin:0 0 4px}
.lwdflag{padding:6px 10px;border-radius:999px;background:#4d3a12;color:#ffd27a;font-size:13px;font-weight:700}
.lwdstory{display:grid;grid-template-columns:150px 80px minmax(0,1fr);gap:10px;padding:8px 0;border-top:1px solid #33373e;font-size:14px}
@media (max-width:700px){ .lwdtiles{grid-template-columns:repeat(2,minmax(0,1fr))} .lwdstory{grid-template-columns:minmax(0,1fr)} .lwdfilter .lwddl{margin-left:0} }
.hgreen{color:#6fd99a!important}.hmore{display:inline-block;margin-top:6px;font-size:13px}
/* 2o (CJ 10-20): sections and key breaks - the "Lot Walk Dashboard & Sections Samples" canvas */
.lwfoot.two{flex-wrap:wrap;row-gap:8px}.lwfoot.two span{flex:1 1 100%}.lwfoot.two button{flex:1 1 0}
.lwfoot button.brk{background:#4d3a12;color:#ffd27a;border:1px solid #c9a227}.lwfoot button.brk[hidden]{display:none}
.lwlist:has(~ .lwfoot.two){padding-bottom:130px}
.kmbackrow{display:flex;gap:8px;margin-top:8px}.kmbackrow[hidden]{display:none}.kmbackrow button{flex:1;margin:0;padding:11px;border-radius:10px;background:#2c3138;color:#e8eaed;font-weight:700;font-size:14.5px}
.secchips{margin-top:8px}.secchips[hidden]{display:none}.lwchips .chip.done{opacity:.75}
.lwsechead{margin:8px 0 0;padding:10px 12px;border-radius:10px;background:#1d3557;border:1px solid #3c6fb0;font-size:14px;display:flex;flex-direction:column;gap:5px}
.lwsechead.done{background:#1f2a22;border-color:#2e7d32}.lwsechead .t b{font-size:15px}.secbtns{display:flex;gap:8px;flex-wrap:wrap}.secbtns button{margin:0}
.kmsec{margin:14px 2px 0;font-size:12px;color:#9ec5ff;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.kmbrk{display:flex;align-items:center;gap:8px;margin:12px 0 0;color:#ffd27a;font-weight:700;font-size:13px;user-select:none}
.kmbrk .ln{flex:1;border-top:2px dashed #ffd27a}.kmbrk .lb{margin:0;padding:4px 8px;background:none;border:0;color:#ffd27a;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap;max-width:70%;overflow:hidden;text-overflow:ellipsis}
.kmbrk .hd{touch-action:none;cursor:grab;padding:6px 8px;border-radius:8px;background:#4d3a12;font-size:16px;line-height:1}
.kmbrk.drag{opacity:.85}.kmbrk.drag .hd{cursor:grabbing;background:#c9a227;color:#15171a}
.kmfold{margin:8px 0 0;padding:10px 12px;border-radius:10px;background:#1f2a22;color:#b9e4bc;font-size:14px}
.lwcar .tg i.s{background:#22344d;color:#cfe0f6}
.lwjoin.give{background:#1f2a22;border-color:#2e7d32}.lwownnote{margin:4px 0 8px;font-size:13px}
.lwpill.key{background:#4d3a12;color:#ffd27a}.lwpill[hidden]{display:none}
.lwkeys{border:1px solid #c9a227}.lwkrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #2c3138}.lwkrow:first-of-type{border-top:0}.lwkrow button{margin:0;flex:none}.lwkok{color:#9be29f;font-weight:700;flex:none}
.lwpractice{border:1px dashed #7e57c2}.lwpracticebar{margin:8px 0;padding:8px 12px;border-radius:10px;background:#2a2340;border:1px dashed #7e57c2;color:#e2d6ff;font-size:13.5px}
/* 2p: the server's own store lists - the lock, Lot Walk notes, the Print look (no bar, cards in rows, no tint behind) */
.car .lock{font-size:.85em}
.car .lwnt{color:#7a4a00}
@media print{
  .rvmsg,.openfull,.rvbar button,.rvbar a,.rvsp{display:none!important}
  .rvbar{position:static!important;background:#fff!important;box-shadow:none!important;padding:0 0 4px!important}
  .rvbar .rvname,.rvpage .lhead h1,.rvpage .lsub{color:#000!important}
  .rvbar .rvname{font-size:1.3em;font-weight:700}
  body.rvpage{background:#fff!important;color:#000}
  .rvpage .car{break-inside:avoid;box-shadow:none;border:1px solid #999;margin:0 0 6px}
  .rvpage .sechead{break-after:avoid}
}
.rtabs{margin:-4px 0 10px}
.mystore h2{margin-bottom:6px}.mystore .msrow{padding:6px 0;border-top:1px solid #0001}.mystore .msrow.hot{background:#fde8e8}
.pill{display:inline-block;font-size:.7em;padding:1px 8px;border-radius:9px;background:var(--navy);color:#fff;vertical-align:middle}
.cmp.diff{border-left:4px solid #c0392b}
/* 2p.3 (CJ 10-20): the Practice Lot tutorial and the how-to video */
.lwhowbtns{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.lwhowbtns .small,.btnlink.small{font-size:.9em;padding:6px 10px}
.lwtour{position:fixed;inset:0;z-index:95}
.lwtour .hole{position:fixed;border-radius:10px;box-shadow:0 0 0 9999px rgba(0,0,0,.68);border:2px solid #ffd54a;pointer-events:none;transition:all .2s}
.lwtour .hole[hidden]{display:block!important;left:50%!important;top:0!important;width:0!important;height:0!important;border:0}
.lwtour .card{position:fixed;left:12px;right:12px;max-width:460px;margin:0 auto;background:#2a2d33;color:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 8px 30px #000c;max-height:60vh;max-height:60dvh;overflow:auto}
.lwtour .card .n{font-size:.8em;color:#ffd54a;font-weight:700;margin-bottom:2px}
.lwtour .card b#lwth{font-size:1.1em}
.lwtour .card .tx{margin:8px 0 12px;line-height:1.4}
.lwtour .card ul{margin:6px 0;padding-left:20px}
.lwtour .btns{display:flex;gap:8px;align-items:center}.lwtour .btns span{flex:1}
.lwtour .btns button{margin:0;padding:8px 14px}
.lwtour .btns .ghost{background:transparent;border:1px solid #556;color:#ddd}
.howvid{width:100%;max-width:420px;display:block;margin:0 auto;border-radius:12px;background:#000}
/* 2p.4: the filters, sort and pills scroll with the list (only the header + search are pinned) */
.lwunpin{padding-top:2px}
/* 2q: battery (the tech's line; the hub), Lot Walk's Refresh */
.battline{background:#5a4a12;color:#ffe9a8;border-radius:10px;padding:8px 12px;margin:0 0 10px;font-weight:600}
.battline.red{background:#6b1d1d;color:#ffd0d0}
.hbatt{font-size:12px;white-space:nowrap;color:#9ff0bd;margin-left:4px}.hbatt small{color:#8a93a0;font-size:11px}
.hbatt.low{color:#ffd27a}.hbatt.red{color:#ff8f8f}.hbatt.old{opacity:.5}
.lwrf{margin-left:auto;background:#2c3138;border:0;border-radius:10px;padding:6px 10px;font-size:15px;color:#fff;cursor:pointer;flex:none}
.lwrf:disabled{opacity:.5}
.lwrfmsg{font-size:13px;margin-top:4px}

/* 2r (CJ 10-21): Scan VIN / type the VIN under the search box */
.lwvin{display:flex;gap:6px;align-items:stretch;margin:8px 0 4px}
.lwvin .lwscan{margin:0;display:flex;align-items:center;gap:6px;padding:0 12px;min-height:44px;white-space:nowrap}
.lwvin input{margin:0;flex:1;min-width:0;text-transform:uppercase;font-family:ui-monospace,Menlo,monospace;letter-spacing:.02em}
.lwvin .small{margin:0;min-height:44px}
.lwvinmsg{margin:8px 0 12px}.lwnu{display:flex;gap:18px;margin:6px 0}.lwnu label{display:flex;align-items:center;gap:6px;color:var(--text);font-size:16px;margin:0}.lwnu input{width:auto;margin:0}
.lwmiles{margin-top:6px}
.lwcar .tg i.w{background:#5c4a0c;color:#ffe9a6}
.vinscan{position:fixed;inset:0;z-index:80;background:#000;overflow:hidden}
.vinscan video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* 3e.74 (CJ 11-13): always landscape - the controls are drawn sideways while the screen is upright (.rot; .ccw = the phone's top to the right) */
.vinui{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center}
.vinui.rot{transform:translate(-50%,-50%) rotate(90deg)}.vinui.rot.ccw{transform:translate(-50%,-50%) rotate(-90deg)}
.vinframe{position:relative;width:84%;height:34%;max-height:240px;border:3px solid #fff;border-radius:12px;box-shadow:0 0 0 9999px rgba(0,0,0,.45)}
.vinline{position:absolute;left:4%;right:4%;top:50%;height:3px;margin-top:-1px;background:#ff2d2d;border-radius:2px;box-shadow:0 0 10px 2px rgba(255,45,45,.75);animation:vinpulse 1s ease-in-out infinite}
@keyframes vinpulse{0%,100%{opacity:.25}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.vinline{animation:none;opacity:.9}}
.vinhint{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));left:64px;right:64px;margin:0;color:#fff;text-align:center;font-weight:600;text-shadow:0 1px 3px #000}
.vinround{position:absolute;width:52px;height:52px;margin:0;padding:0;border-radius:50%;border:2px solid #fff;background:rgba(0,0,0,.35);color:#fff;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center}
.vinlight{left:16px;top:16px}.vinlight.on{background:#ffd54a;color:#000;border-color:#ffd54a}
.vinclose{right:16px;bottom:16px}
.vinmore{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:12px;padding:0 80px}
.vinmore .small{margin:0;min-height:44px;padding:10px 18px}
.vinmore[hidden],.vinround[hidden],.vinscan label[hidden],.vinscan button[hidden]{display:none}
.vintools{position:absolute;left:16px;bottom:76px;display:flex;align-items:center;gap:8px;color:#fff;text-shadow:0 1px 3px #000}.vintools input{width:120px}
.grp{border-top:1px solid #3d4550;padding-top:8px;margin-top:8px}.grp h3{margin:4px 0;font-size:16px}.grpwho{display:flex;flex-wrap:wrap;gap:4px 16px}

/* 2s (CJ 10-22) */
.awayline{margin-top:12px}
.readlist .dayline{display:flex;align-items:center;gap:10px;margin:14px 0 6px;color:var(--muted);font-size:13px;font-weight:600}
.readlist .dayline:before,.readlist .dayline:after{content:"";flex:1;border-top:1px solid #3d4550}
.toedit{margin-top:8px}.toedit summary{cursor:pointer;color:#9cc3f5;font-size:14px}.toedit form{margin-top:8px}

/* 2t (CJ 10-23): "is typing…" */
.typingline{font-size:13px;color:var(--muted);padding:2px 4px 4px;font-style:italic}

/* 2w.3 (CJ 10-26): Lot Walk search folds the filters away (lotwalk_store.html foldLine) */
.lwfold{display:flex;align-items:center;gap:6px;width:100%;margin:6px 0 2px;padding:7px 12px;white-space:nowrap;overflow:hidden;border-radius:10px;background:#22272e;border:1px dashed #3d4550;color:#e6e8eb;font-size:14px;text-align:left}
.lwfold b{font-weight:600;overflow:hidden;text-overflow:ellipsis;min-width:0}.lwfold .muted{overflow:hidden;text-overflow:ellipsis;min-width:0}.lwfold .fr{margin-left:auto;color:#8fb8ff;white-space:nowrap}.lwfold:disabled{opacity:1;border-style:solid;background:#1d2a3d}
body.lwfolded #vwalk2>:not(#lwfold){display:none}
body.lwsrch #lwpracticebar,body.lwsrch #lwheld,body.lwsrch #lwcheck,body.lwsrch #lwjoin,body.lwsrch #lwchg,body.lwsrch #lwgive,body.lwsrch #lwnew{display:none}

/* 2w.6 (CJ 10-26): Stores -> In-transit pages: the HomeNet Comment 1 boxes */
.c1box label{display:block;font-size:13px;margin:0 0 4px}.c1box input{width:7em;margin:2px 0 0}.c1box .muted{display:block;font-size:12px}
/* 2w.7: Stores -> In transit & allocated: the Use drop-down's note */
.c1now{display:block;font-size:12px;margin-top:4px;max-width:12em}

/* 2x.2 (CJ 10-27): Lot Walk Overview - every number opens its cars */
a.lwdtile{text-decoration:none;color:inherit;display:block}a.lwdtile:hover,a.lwdn:hover{outline:1px solid #4a6fa5;border-radius:6px}
a.lwdn{font-weight:700;text-decoration:underline}
.lwdlisthead{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.lwdlisthead h2{margin:0}
/* 2x.4 (CJ 10-27): every report's car list - photos, MSI / in transit, detailed, notes. Columns on a computer;
   on a phone the columns hide and the same facts sit under the car. */
.xs{display:none}
.cxline{font-size:13px;color:var(--muted);margin-top:3px}.cxline>span{margin-right:10px;white-space:nowrap}.cxline>span.redtxt{color:#ff9c94}
.cxn{font-size:13px;line-height:1.35}.cxn>div+div{margin-top:2px}.cxline .cxn{margin-top:2px}
.cxmore summary{cursor:pointer;color:#8fb3ff;font-size:12px}
td.xc{white-space:nowrap}td.xc.cxn{white-space:normal;min-width:180px;max-width:340px}
.lwdrow .cxline{flex-basis:100%;margin-top:0}
@media (max-width:760px){
  .xc{display:none}.xs{display:block}
  .lwdtable.cx{min-width:0}
}
.cxwhy{font-size:13px;margin-top:3px}
/* 2x.6 (CJ 10-27): Lot Walk Overview - a Used and a New line under each store */
.lwdtable tr.lwdsub td{font-size:13px;padding-top:3px;padding-bottom:3px;border-top:none}.lwdtable tr.lwdsub td:first-child{padding-left:22px;color:var(--muted)}
.lwdtile a.lwdtilen{text-decoration:none;color:inherit;display:block}.lwdtile .lwdnu{display:block;margin-top:4px;font-size:12px;color:var(--muted)}.lwdtile .lwdnu a{color:inherit}
/* 2x.7 (CJ 10-27): MSI spreadsheets - the cars that didn't match the inventory */
.msiunm summary{cursor:pointer;display:inline}.msiunm[open] summary{display:block;margin-bottom:6px}.msiunm table{font-size:13px;margin-top:4px}
/* 2z (CJ 10-28): Blocked In - the car panel button, the sheet, the key machine tags, the report notes; keys found with no photos */
.big2.blk{background:#283a6b}
.kmtag{margin-top:6px;font-weight:800;font-size:12px;border-radius:6px;padding:3px 7px;display:inline-block;letter-spacing:.02em}
.kmtag.mv{background:#fff3cd;color:#7a4a00}.kmtag.bl{background:#283a6b;color:#fff}
.kmflag.r{background:#fde3e3;color:#a11a1a}
.km .typed{font-size:13px;color:#666;font-style:italic}
.bkres{display:flex;flex-direction:column;gap:6px;margin:6px 0}.bkres button{margin:0;text-align:left;padding:10px 12px;border-radius:10px;background:#3d4550;font-size:15px}
.bkres button:disabled{opacity:.5}.bkres small{color:#c9ced6;font-weight:400}
.bkpicked{display:flex;flex-direction:column;gap:6px;margin:8px 0}.bkpicked>div{display:flex;align-items:center;gap:8px;background:#2a2d33;border-radius:10px;padding:8px 10px}
.bkpicked .n{font-weight:800;color:#8ec1ff;min-width:18px}.bkpicked .x{flex:1;min-width:0}.bkpicked .x small{display:block;color:#9aa0a8}.bkpicked button{margin:0;padding:4px 10px}
.bklbl{display:block;font-size:14px;font-weight:700;margin-top:10px}
.lwblk{font-weight:800;font-size:11px;border-radius:5px;padding:1px 6px;background:#283a6b;color:#fff;margin-right:2px}
.lwred{color:#ff8a80;font-weight:700}.car .lwred{color:#b42318}
.npbox{border:2px solid #c62828;background:#3a1f1f;border-radius:12px;padding:12px 14px;margin:10px 0;color:#e6e8eb}
.npbox h2,.npbox h3{margin:0 0 6px;font-size:16px}.npbox .np{margin:6px 0;font-size:14px;line-height:1.4}
.npbox form{display:inline}.npbox form button{margin:4px 4px 0 0;padding:4px 10px;font-size:13px}.npbox .npok{background:#4a505a}.npbox .npstop{background:#2a2d33}
.npbox .nphint{font-size:13px;color:#f3c4c4;margin:0 0 6px}
.npcar{display:flex;justify-content:space-between;align-items:center;background:#2a2d33;border-radius:10px;padding:12px;margin-top:8px;color:#e6e8eb;text-decoration:none}
.npcar b{font-size:17px;color:#8ec1ff}.npcar small{display:block;color:#9aa0a8;font-size:13px}.npcar .gt{font-size:20px;color:#8ec1ff}
/* 2z.1 (CJ 10-28): Lot Walk start page - the stores below "Your stores today" */
.lwmore{display:block;margin-top:10px;padding:10px 12px;border-radius:10px;background:#2a2d33;color:#8ec1ff;font-weight:700;text-decoration:none}
/* 3a (CJ 10-28): the Inventory dashboard and a car's page */
.invfilter label select{min-width:0}.invsort{color:inherit;text-decoration:none;border-bottom:1px dotted #6b7380}.invsort.on{color:#8ec1ff;border-bottom-color:#8ec1ff}
.okc{color:#7bd88f;font-weight:700}.cxline>span.okc{color:#7bd88f}.xs0{font-size:12px;margin-top:2px}
.invtable td{vertical-align:top}
.invcar{display:flex;gap:14px;flex-wrap:wrap;align-items:flex-start}.invcar>.main{flex:999 1 520px;min-width:0}.invcar>.side{flex:1 1 320px;min-width:0}
.invrows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.invrows>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #3a3f47;padding:7px 0;font-size:14px}.invrows>div span{color:var(--muted)}.invrows>div b{text-align:right;overflow-wrap:anywhere}
@media (max-width:760px){.invrows{grid-template-columns:1fr}}
.invcant{border:2px solid #c62828;background:#3a1f1f;border-radius:12px;padding:14px;margin:0 0 14px}
.invcant h2{margin:0 0 6px;font-size:18px}.invcant .lwreasons{margin:8px 0}.invcant .lwr input{position:absolute;opacity:0;pointer-events:none}
.invcant .lwr{display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;text-align:center}.invcant .lwr:has(input:checked){background:#c62828;outline:2px solid #fff}
.invcant .lwr:focus-within{outline:2px solid #8ec1ff}
.invedit{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin:8px 0}.invedit label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
/* 3b (CJ 10-28): the managers' menu - one row of 8 on a computer; on a phone a Menu button opens them as two rows of four,
   a section's pages show under the grid, and the menu tucks away once a page is picked (the section's pages: one swipeable row) */
.menubtn{display:none}
.sub .soon{display:inline-block;color:#7f8da3;padding:9px 0;font-size:15px;cursor:default}
.mpeek{background:#1e2632;padding:10px 14px 14px;border-top:1px solid #2c3d5c}
.mpeekh{font-size:13px;color:#9aa0a8;margin-bottom:6px}
.mchips{display:flex;flex-wrap:wrap;gap:6px}
.mchips a,.mchips a:visited,.mchips .soon{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border-radius:999px;border:1px solid #3a4658;color:#dbe4f0;text-decoration:none;font-size:14.5px}
.mchips a.on{background:#2f4a72;color:#fff;font-weight:700}.mchips .soon{color:#7f8da3;border-style:dashed}
@media (max-width:899px){
  .top.mgr{grid-template-columns:minmax(0,1fr) auto auto;column-gap:8px}
  .top.mgr .menubtn{display:flex;align-items:center;gap:6px;grid-row:1;grid-column:2;margin:0;padding:8px 14px;min-height:44px;background:rgba(255,255,255,.14);color:#fff;border-radius:10px;font-size:15px;font-weight:700}
  .top.mgr .signout{grid-column:3}
  .top.mgr .mnav{display:none}
  .topwrap.mopen .top.mgr .mnav{display:grid;grid-template-columns:repeat(4,minmax(min-content,1fr));gap:8px;grid-column:1/4;grid-row:2;overflow:visible}   /* 3h8: min-content - a long word (Dashboards) widens its own tile instead of running out of it */
  .topwrap.mopen .mnav a{display:flex;align-items:center;justify-content:center;gap:4px;text-align:center;white-space:normal;min-height:52px;padding:6px 4px;border:1px solid #3a4c6c;border-radius:10px;background:#26324a;color:#fff;font-size:14px;font-weight:700;line-height:1.2}
  .topwrap.mopen .mnav a.on{border-color:#d0d5dc;border-bottom:1px solid #d0d5dc;padding-bottom:6px}
  .topwrap.mopen .mnav a.peek{background:#2f4a72}
  .topwrap.mopen .msub,.topwrap.mopen .repsub2{display:none}
  .msub,.repsub2{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;column-gap:16px}
  .msub::-webkit-scrollbar,.repsub2::-webkit-scrollbar{display:none}
  .msub a,.msub .soon,.repsub2 a,.repsub2 .soon{white-space:nowrap;flex:none}
}
/* 3b (CJ 10-28, samples #3-#5): the inventory list's notes row; a car's header, grouped info and the Can't do bar */
.invtable tr.hasnote td{border-bottom:0;padding-bottom:2px}
.invtable tr.invnoterow td{padding-top:0;padding-bottom:9px;color:#c9ced6}
.invhead{display:flex;flex-direction:column;gap:6px;margin:4px 0 14px}
.invh1{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.invh1 h1{margin:0;font-size:26px}
.invtype{background:#3d4550;border-radius:6px;padding:3px 9px;font-size:14px;font-weight:800;align-self:center}
.invh2{display:flex;gap:6px 18px;flex-wrap:wrap;font-size:17px;color:#c9ced6}.invh2 b{color:#fff}.invh2 .mono{overflow-wrap:anywhere}
.invcert{display:flex;flex-direction:column;gap:2px;font-size:15px;color:var(--muted);margin-top:2px}.invcert b{color:#fff}
.invgroups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}
.invgroup h2{margin:0 0 4px;font-size:15px;color:#8ec1ff}
.invrow{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #3a3f47;padding:6px 0;font-size:14px}.invrow span{color:var(--muted)}.invrow b{text-align:right;overflow-wrap:anywhere}
@media (max-width:760px){.invgroups{grid-template-columns:1fr}}
.invcantbox{margin:0 0 14px}
.invcantbar{list-style:none;display:flex;align-items:center;gap:10px;background:#3a1f1f;border:2px solid #c62828;border-radius:12px;padding:12px 14px;cursor:pointer}
.invcantbar::-webkit-details-marker{display:none}
.invcantt{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.invcantt b{font-size:17px}.invcantt span{font-size:14px;color:#f3c4c4}
.invcantgo{font-size:14px;font-weight:700;white-space:nowrap}
.invcantbox[open] .invcantbar{border-radius:12px 12px 0 0;border-bottom:0}
.invcantbox[open] .invcant{border-radius:0 0 12px 12px;border-top:0;margin:0}
.invcantbox>.invedit{margin:8px 0 0}
.invcantbtns{display:flex;gap:8px}.invcantbtns .big2{flex:1;margin-top:6px}
.invcant .lwr{position:relative}.invcant .lwr input{left:0;top:0;width:1px;height:1px}   /* 3b: the hidden radio stays inside its tile (it pushed the page wider) */
/* 3d (CJ 10-29): the Overview's sixth box (All Cars Touched); No Keys split saw the car / didn't */
.lwdtiles:not(.four){grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:1100px){ .lwdtiles:not(.four){grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:700px){ .lwdtiles:not(.four){grid-template-columns:repeat(2,minmax(0,1fr))} }
.lwdtile b.blu{color:#8ec1ff}.lwdtile small.lwdnk{display:block;margin-top:2px}.lwdtile small.lwdnk a.redtxt{color:#ff9c94}
/* 3d: No Keys - saw the car? · who added each car on a shared list */
.nkq{margin:10px 0 4px;font-weight:600}
.lwreasons.nkseen{grid-template-columns:1fr 1fr}
.kmby{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:9px;background:#2b3a55;color:#cfe0ff;font-size:11px;font-weight:700;letter-spacing:.3px;vertical-align:middle}
.kmwho{margin:4px 0 8px}
.lwdby{display:inline-block;padding:1px 6px;border-radius:9px;background:#2b3a55;color:#cfe0ff;font-size:11px;font-weight:700}

/* 3d.1 (CJ 10-29): managers - Menu on the right, Sign out in the menu */
.top.mgr .msignout{display:flex;align-items:center;grid-row:auto;grid-column:auto;margin:0 0 0 auto;padding-left:8px}
@media (max-width:899px){
  .top.mgr{grid-template-columns:minmax(0,1fr) auto}
  .top.mgr .menubtn{grid-column:2;justify-self:end}
  .topwrap.mopen .top.mgr .mnav{grid-column:1/3}
  .topwrap.mopen .mnav .msignout{grid-column:1/-1;grid-row:auto;order:99;justify-self:stretch;margin:2px 0 0;padding:0}
  .topwrap.mopen .mnav .msignout .link{width:100%;min-height:48px;border:1px dashed #5a6d8f;border-radius:10px;background:#1f2a3f;color:#dbe6f7;font-weight:700}
  .top.mgr .mnav .msignout{display:none}.topwrap.mopen .top.mgr .mnav .msignout{display:flex}
}

/* 3d.1: the logo picker (Settings) and the sign-in logo */
.logopick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}
.logoopt{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;border:2px solid #3a4658;border-radius:12px;cursor:pointer;background:#1e2229;font-size:13px;color:#dbe4f0}
.logoopt{position:relative}.logoopt input{position:absolute;left:0;top:0;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}.logoopt img{display:block;border-radius:16px}.logoopt.on,.logoopt:has(input:checked){border-color:#8ec1ff;background:#243244}
.loginlogo{display:flex;justify-content:center;margin:6px 0 2px}.loginlogo img{border-radius:24px}

/* 3d.1: Inventory - the store / group pick top right */
.invpick{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);margin:0;min-width:220px}.invpick select{margin:0}
/* 3d.6 / 3d.9: the Update page's log */
.updlog{background:#121417;color:#d7dce3;border-radius:10px;padding:10px 12px;max-height:50vh;max-height:50dvh;overflow:auto;font-size:12.5px;line-height:1.45;white-space:pre-wrap;word-break:break-word;margin:8px 0 0}

/* 3d.9: the key card - one line per thing AA Tools does */
.keyseen{margin:4px 0 0;padding:0 0 0 18px;font-size:12.5px;line-height:1.5}.keyseen li{margin:0}

/* 3d.11: Key machine info (Home) */
.kmbox{margin-top:8px}.kmrow{display:grid;grid-template-columns:96px 1fr;gap:8px;padding:8px 0;border-top:1px solid var(--line,#2a2f36)}.kmrow b{color:var(--muted)}.kmrow code{font-size:15px}
.kmtable textarea{width:100%;min-width:200px}.kmtable input{min-width:120px}
/* 3d.11: vehicle alerts on a store's Lot Walk + the car panel */
.lwalerts{margin:8px 0}.lwalert{background:#3a2d00;border:1px solid #a07a00;border-radius:12px;padding:10px 12px;color:#ffe9a8}.lwalertt{font-weight:700;margin-bottom:6px}
.lwalertrow{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 0;border-top:1px solid #6a5200}.lwalertrow b{color:#fff}.lwalertrow .muted{color:#d8c27a}
.pnalert{background:#3a2d00;border:1px solid #a07a00;border-radius:10px;padding:8px 10px;color:#ffe9a8;margin:8px 0}
.pnnote{padding:6px 0;border-top:1px solid var(--line,#2a2f36)}.pnnote .muted{font-size:12px}.pnnotes .lwrowin{display:flex;gap:8px;margin-top:8px}.pnnotes .lwrowin input{flex:1}

/* 3e.7: section links + folding headings on long pages */
.secnav{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:2px 0 8px;margin:0 -4px 6px;scrollbar-width:none}.secnav::-webkit-scrollbar{display:none}
.secnav:empty{display:none}.secnav a{flex:0 0 auto;font-size:13px;color:#c9d6ea;background:#2b3650;border-radius:8px;padding:5px 9px;text-decoration:none;white-space:nowrap;margin-left:4px}
h2.sechead{cursor:pointer;user-select:none}h2.sechead::before{content:"▾";display:inline-block;width:1em;color:#8ec1ff;font-size:14px}h2.sechead.secclosed::before{content:"▸"}
.secfold{display:none !important}
h2.sechead:focus{outline:none}h2.sechead:focus-visible{outline:2px solid #8ec1ff;outline-offset:2px}
/* 3e.15: Monthly Numbers - CJ's colours, as words (PTO green, Sick purple, Leave orange, Not Scheduled blue, Holiday / Weather pink, Call Out yellow, No Show red) */
.mnbar{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-bottom:8px}.mnbar select{font-size:16px;padding:6px}.mnbar .btnlink{margin-top:0}
.mntabs a{display:inline-block;padding:6px 12px;border-radius:10px;color:#dbe6f7;text-decoration:none;background:#2e333a;margin-right:4px}.mntabs a.on{background:var(--blue);color:#fff}
.mnkey .mnw{display:inline-block;padding:1px 6px;border-radius:6px;margin:2px 3px 2px 0;font-size:13px}
.mngrid{font-size:14px}.mngrid td,.mngrid th{padding:3px 4px;white-space:nowrap}.mngrid .mnd{font-weight:600}
.mnbox{position:relative;display:inline-block}.mnc input.mnv{width:5.9em;padding:7px 18px 7px 6px;font-size:16px;font-weight:700;border:1px solid #3a3f47;border-radius:6px;background:#1c1f24;color:var(--text)}
.mnc input.mnv[readonly]{padding-right:4px;background:transparent;border-color:transparent;font-weight:600}
.mnc .mnpick{margin:0;width:auto;min-height:0;position:absolute;right:2px;top:50%;transform:translateY(-50%);background:none;border:0;color:var(--muted);padding:2px 3px;font-size:12px;cursor:pointer;line-height:1}
.mnc.auto input.mnv::placeholder{color:inherit;font-style:normal;opacity:1}.mnc input.mnv.bad{border-color:#e05a52;box-shadow:0 0 0 1px #e05a52}
.mnw.pto,.mnc.pto input{background:#1f5a32!important;color:#e9fff0}.mnw.sick,.mnc.sick input{background:#4f2f72!important;color:#f3eaff}
.mnw.leave,.mnc.leave input{background:#8a4a12!important;color:#fff2e6}.mnw.nsch,.mnc.nsch input{background:#1d4f86!important;color:#e8f2ff}
.mnw.hol,.mnc.hol input,.mnw.wx,.mnc.wx input{background:#8a2f62!important;color:#ffeaf5}.mnw.co,.mnc.co input{background:#c9a614!important;color:#1b1600}
.mnw.ns,.mnc.ns input{background:#a12a24!important;color:#fff}.mnc.co .mnpick{color:#3a3000}
.mngrid tr.mnwe td{opacity:.55}.mngrid tr.mnwk td{background:#2e333a;font-weight:600}.mngrid tr.mnmonth td,.mnsum tr.mnmonth td{background:#1d3557;font-weight:700}
.mngrid .mnt{font-weight:700}.mngrid input.mnnote{width:14em;font-size:13px;padding:4px;border:1px solid #3a3f47;border-radius:6px;background:#1c1f24;color:var(--text)}
.mnmenu{position:absolute;z-index:40;display:flex;flex-direction:column;gap:3px;background:#2e333a;border-radius:10px;padding:6px;box-shadow:0 8px 20px #000a;min-width:150px}
.mnmenu[hidden]{display:none}.mnmenu button{text-align:left;padding:8px 10px;border-radius:7px;border:0;font-size:15px;background:#3d4550;color:#fff;cursor:pointer;margin:0}
.mnphone{display:none}.mnphead{display:flex;gap:8px;align-items:center;margin:6px 0}.mnphead select{flex:1;font-size:17px;padding:8px}.mnphead button{font-size:22px;padding:4px 16px;margin:0}
.mnprow{display:flex;justify-content:space-between;align-items:center;padding:5px 0;border-bottom:1px solid #3a3f47}.mnprow .mnc input.mnv{width:6.4em;font-size:19px;font-weight:700;padding:9px 24px 9px 8px}
.mnpnote{display:block;margin-top:8px}.mnpnote input{width:100%}
.mnmonthf{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:end}.mnmonthf input{width:9em}.mncolchk{display:inline-block;margin:4px 14px 4px 0}
.mnsum .mnup{color:#6fd99a}.mnsum .mndown{color:#f08a84}
@media (max-width:700px){.mngridwrap{display:none}.mnphone{display:block}}
/* 3e.17: Monthly Numbers Part B - grey starting numbers, keys found, confirm, the order arrows, the Calendar */
.mnc.start input.mnv::placeholder{color:#cfd6df;font-style:normal;font-weight:600;opacity:.75}.mnstartkey{display:inline-block;padding:0 6px;border:1px dashed #6b7480;border-radius:6px;color:#cfd6df;font-weight:600}
.mnkf{font-size:11px;color:var(--muted);margin-left:3px;white-space:nowrap}.mngrid .mnok{margin:0 0 0 4px;padding:1px 7px;font-size:13px;background:#1f5a32;color:#e9fff0;border:0;border-radius:6px}
.mnokp{display:block;width:100%;margin-top:10px;background:#1f5a32;color:#e9fff0}.mnok[hidden]{display:none}
.mncollist{display:flex;flex-direction:column;gap:2px;margin:6px 0}.mncolrow{display:flex;align-items:center;gap:8px}.mnarrows button{margin:0 2px 0 0;padding:2px 9px;min-height:0}
.mncalwrap{overflow-x:auto}.mncal{width:100%;border-collapse:collapse;table-layout:fixed;min-width:700px}.mncal th{font-size:13px;color:var(--muted);padding:4px;text-align:left}
.mncal td{vertical-align:top;border:1px solid #3a3f47;padding:5px;height:96px;font-size:13px}.mncal td.mnwe{background:#1c1f24}.mncal td.mncalx{background:transparent;border-color:#26292f}
.mncaln{display:flex;justify-content:space-between;font-weight:600;color:var(--muted)}.mncalt{color:var(--text);font-size:15px}.mncalo{margin-top:3px}.mncalo .mnw{font-size:11px;padding:0 4px;border-radius:4px}
.mncalm{margin-top:3px;font-size:11px;padding:1px 4px;border-radius:4px;display:inline-block}.mncalnote{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mncolrow label.mncolchk,.mncolrow span.mncolchk{display:flex;align-items:center;gap:7px;margin:0;font-size:15px;color:var(--text)}.mncolrow label.mncolchk input{width:auto;margin:0}
.uptime+.uptime{margin-top:6px;padding-top:6px;border-top:1px dashed #3a3f47}/* 3e.18: one person, two HomeNet names - each upload window */
/* 3e.19 (Monthly Numbers Part C): an edit waiting on this device for signal */
.mnc input.mnv.waiting,input.mnnote.waiting{outline:2px dashed #e0a526;outline-offset:-2px}
/* 3e.19 (CJ 11-02): a Holiday / Weather is centered across the bottom of its day on the Calendar */
.mncal td{height:110px;padding:0}.mncalin{display:flex;flex-direction:column;min-height:110px;height:100%;padding:5px;box-sizing:border-box}
.mncalmk{margin-top:auto;padding-top:6px;display:flex;flex-direction:column;gap:3px}.mncalmk .mncalm{display:block;text-align:center;font-size:12px;padding:3px 4px;border-radius:5px;margin:0;font-weight:600}
.mnsum td.mnvs .mngv{font-size:13px;opacity:.9;margin-top:1px}/* 3e.19: gross vs that year, under the cars */
/* 3e.20 (CJ 11-02): Monthly Numbers uses the whole window on a computer, and the grid has a size: Small / Normal / Large / Extra large */
@media (min-width:900px){.wrap.wide.full{max-width:none;padding-left:24px;padding-right:24px}}
.mnsize{margin:4px 0 8px;color:var(--muted);font-size:14px}.mnsize button{margin:0 0 0 6px;padding:4px 10px;background:#2e333a;color:#dbe6f7;border:0}.mnsize button.on{background:var(--blue);color:#fff}
@media (max-width:700px){.mnsize{display:none}}
.mnsz-s .mngrid{font-size:13px}.mnsz-s .mnc input.mnv{width:5.6em;font-size:14px;padding:5px 16px 5px 5px}.mnsz-s .mngrid input.mnnote{width:12em}
.mnsz-m .mngrid{font-size:15px}.mnsz-m .mnc input.mnv{width:5.9em;font-size:18px;padding:8px 18px 8px 7px}.mnsz-m .mngrid td,.mnsz-m .mngrid th{padding:4px 5px}.mnsz-m .mngrid input.mnnote{width:16em;font-size:14px}
.mnsz-l .mngrid{font-size:17px}.mnsz-l .mnc input.mnv{width:6em;font-size:20px;padding:9px 20px 9px 7px}.mnsz-l .mngrid td,.mnsz-l .mngrid th{padding:5px 6px}.mnsz-l .mngrid input.mnnote{width:18em;font-size:16px}.mnsz-l .mnc .mnpick{font-size:14px}
.mnsz-xl .mngrid{font-size:19px}.mnsz-xl .mnc input.mnv{width:6.1em;font-size:22px;padding:10px 22px 10px 8px}.mnsz-xl .mngrid td,.mnsz-xl .mngrid th{padding:6px 7px}.mnsz-xl .mngrid input.mnnote{width:20em;font-size:18px}.mnsz-xl .mnc .mnpick{font-size:15px}
.mnbadrow td{background:#3a2323}/* 3e.20: an older year's month that doesn't match its sheet / the Summary */
.amber{color:#e0a43a}
.mnly{color:#8a93a3;font-size:.8em;font-weight:normal;line-height:1.1}
/* 3e.23 (CJ 11-02): Reminders - its page, and inside the Office Hub */
.rmwrap{max-width:760px}.rmwrap [hidden]{display:none!important}.rmwrap button{margin:0;font-weight:500}.rmwrap input,.rmwrap select{margin:0}
.rmhead{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}.rmhead h1{margin:4px 0 8px}
.rmhide{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.rmtabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.rmtabs button{border-radius:999px;padding:8px 16px;background:#353a42;color:var(--text);font-size:14px}
.rmtabs button.on{background:var(--blue);color:#fff;font-weight:700}
.rmadd{background:#1b1e22;border:1px solid #3a3f47;border-radius:12px;padding:10px;margin-bottom:6px}
.rmline{display:flex;gap:8px}.rmline input{flex:1;min-width:0;padding:10px 12px}.rmline button{padding:0 14px;white-space:nowrap}
.rmmorebtn{background:#353a42;color:var(--text);font-size:14px}.rmgo{background:var(--blue);color:#fff;font-weight:700!important}
.rmopts{display:flex;flex-direction:column;gap:8px;margin-top:10px}.rmorow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px}
.rmlab{color:var(--muted);width:52px}.rmchips{display:flex;flex-wrap:wrap;gap:6px}.rmchips button{padding:6px 12px;border-radius:8px;background:#353a42;color:var(--text);font-size:13.5px}
.rmchips button.on{background:var(--blue);color:#fff;font-weight:700}
/* 3e.25: Every week's days, the Done page's way back, its link */
.rmdays{display:flex;flex-wrap:wrap;gap:6px}.rmdays button{min-width:46px;padding:6px 8px;border-radius:8px;background:#353a42;color:var(--text);font-size:13.5px}.rmdays button.on{background:var(--blue);color:#fff;font-weight:700}
.rmback{margin:-4px 0 10px}.rmback a{color:var(--muted);text-decoration:none}.rmback a:hover{color:var(--text)}
a.rmearlier{text-decoration:none;display:inline-block}a.rmearlier:hover{color:var(--text)}
.rmedays{align-items:center}.rmedays label.chk{flex-direction:row;align-items:center;gap:4px}
.rmpick input,.rmtime input{width:auto;padding:6px 8px}.rmtime{display:flex;gap:8px;align-items:center}
.rmorow .chk{margin:0;font-size:14px}
.rmerr{background:var(--bad);border-radius:8px;padding:8px 10px;margin-top:8px;font-size:14px}
.rmg{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:14px 0 2px}
.rmg-overdue{color:#ffb4a8}.rmg-today{color:#8ec1ff}
.rmit{display:flex;gap:12px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #33373e}
.rmchk{flex:0 0 auto;width:26px;height:26px;border-radius:7px;border:2px solid #5b616b!important;background:none!important;padding:0!important;display:flex;align-items:center;justify-content:center}
.st-overdue .rmchk{border-color:#ff8a80!important}.st-today .rmchk{border-color:#8ec1ff!important}
.rmit.done .rmchk{background:var(--ok)!important;border-color:var(--ok)!important}
.rmtx{flex:1;min-width:0}.rmt{font-size:15.5px;overflow-wrap:anywhere}.rmm{font-size:12.5px;color:var(--muted)}
.st-overdue .rmm{color:#ffb4a8}.st-today .rmm{color:#8ec1ff}
.rmit.done .rmt{color:var(--muted);text-decoration:line-through}
.rmdots{background:none!important;color:var(--muted);font-size:20px;line-height:1;padding:2px 8px!important}
.rmmenu{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:8px 0 10px 38px;font-size:14px}.rmmenu button{padding:7px 12px;background:#353a42;color:var(--text);font-size:14px}
.rmmenu .rmwarn{background:var(--bad);color:#fff}
.rmedit{display:flex;flex-direction:column;gap:8px;padding:10px;margin:6px 0;background:#1b1e22;border:1px solid #1E64B5;border-radius:10px}
.rmedit input[type=text]{padding:9px 12px}.rmerow{display:flex;gap:10px;flex-wrap:wrap}.rmerow label{margin:0;display:flex;flex-direction:column;gap:2px}.rmerow input,.rmerow select{width:auto;padding:6px 8px}
.rmerow2{display:flex;gap:8px;justify-content:flex-end}.rmerow2 button{padding:8px 16px;background:#353a42;color:var(--text)}.rmerow2 .rmgo{background:var(--blue);color:#fff}
.rmnone{color:var(--muted);padding:16px 0}
.rmearlier{display:block;margin-top:14px!important;background:none!important;color:var(--muted);padding:6px 0!important;font-size:13.5px}
html.embedded .rmwrap{max-width:none;padding:10px 12px}html.embedded .rmhead h1{font-size:17px;margin:0 0 6px}
/* 3e.23 / 3e.24: Reminders on the Office Hub - fills its area */
.hrem{background:var(--card);overflow:hidden;height:100%}.hrem iframe{border:0;width:100%;height:100%;display:block;background:var(--card)}
html.hphone .hrem{display:none}
/* 3e.24 (CJ 11-02): the Office Hub in areas - 7 layouts, grab bars, each area's ⋯ (kept on this screen) */
.hmain.hlay{display:flex;flex-direction:column;padding:10px 12px 12px;gap:0}
.hlay>.hrow,.hlay>.hcol{flex:1;min-height:0;min-width:0}
.hrow{display:flex;flex-direction:row;min-height:0;min-width:0}.hcol{display:flex;flex-direction:column;min-height:0;min-width:0}
.hrow>*{min-width:0;flex:1 1 0}.hcol>*{min-height:0;flex:1 1 0}
.hrow>.hfx{flex:0 0 var(--hx,50%)}.hcol>.hfy{flex:0 0 var(--hy,50%)}
.hrow>.hbar,.hcol>.hbar{flex:0 0 12px}
.hbar{position:relative;touch-action:none;border-radius:6px}.hbx{cursor:col-resize}.hby{cursor:row-resize}
.hbar::after{content:"";position:absolute;background:#4a5568;border-radius:3px;left:50%;top:50%}
.hbx::after{width:4px;height:44px;margin:-22px 0 0 -2px}.hby::after{width:56px;height:4px;margin:-2px 0 0 -28px}
.hbar:hover,.hbar:focus-visible,.hdrag .hbar:active{background:#2f5f9e;outline:none}.hbar:hover::after,.hbar:focus-visible::after{background:#cfe0f7}
.hdrag{user-select:none}.hdrag iframe{pointer-events:none}
.harea{display:flex;flex-direction:column;background:#1b1e22;border:1px solid #2c3d5c;border-radius:12px;overflow:hidden}
.hah{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 6px 3px 12px;border-bottom:1px solid #2c3d5c;background:#1e2229}
.haht{font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hamenu{margin:0;padding:2px 10px;background:none;color:var(--muted);font-size:18px;line-height:1.1;border-radius:6px}.hamenu:hover,.hamenu[aria-expanded=true]{background:#353a42;color:#fff}
.hab{flex:1;min-height:0;position:relative;overflow:hidden}
.hab>.hmsgs{width:100%!important;height:100%;display:block}.hab>.hside{height:100%;overflow-y:auto;padding:10px 12px}
.hab>.hrem{height:100%}
.haempty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:14px;border:2px dashed #3f5a85;border-radius:10px;margin:8px;height:calc(100% - 16px)}
.haadd{margin:0;width:60px;height:60px;border-radius:50%;font-size:32px;line-height:1;padding:0}
.hgrid.hone{grid-template-columns:1fr}.hgrid.hone .hwide{grid-column:auto}.hnone{color:var(--muted);font-size:14px;padding:6px 2px}
@container (min-width:1000px){ .hgrid:not(.hone){grid-template-columns:repeat(auto-fill,minmax(300px,1fr))} .hgrid:not(.hone) .hwide{grid-column:span 2} }
.hlaybtn{margin:0;display:flex;align-items:center;gap:6px;background:#fff;color:#173F73;padding:5px 12px;font-size:13px;border-radius:8px}
html.hphone .hlaybtn{display:none!important}@media (max-width:719px){ .hlaybtn{display:none} }
.hpop{position:fixed;z-index:90;min-width:240px;max-width:min(560px,94vw);max-height:80vh;max-height:80dvh;overflow:auto;background:#2a2d33;border:1px solid #3a3f47;border-radius:12px;padding:6px;box-shadow:0 10px 30px rgba(0,0,0,.6)}
.hpop button{display:block;width:100%;text-align:left;margin:0;background:none;color:var(--text);font-weight:500;font-size:14px;padding:8px 10px;border-radius:8px}
.hpop button:hover,.hpop button:focus-visible{background:#353a42;outline:none}.hpop button.on{color:#8ec1ff;font-weight:700}.hpop small{color:var(--muted);font-weight:400}
.hpoph{font-size:12px;color:var(--muted);padding:8px 10px 4px}.hpopsep{border-top:1px solid #3a3f47;margin:6px 4px}
.hlays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:4px}.hpop .hlay{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;text-align:center}
.hpop .hlay small{font-size:11px;line-height:1.2}.hpop .hlay.on{background:#1f3557}
.hth{display:grid;gap:3px;width:62px;height:46px;padding:4px;border:2px solid #4a5260;border-radius:7px}.hlay.on .hth{border-color:#8ec1ff}
.hth i{background:#5b6475;border-radius:2px;display:block}.hlay.on .hth i{background:#1E64B5}
.ht-q4{grid-template:1fr 1fr/1fr 1fr}
.ht-h2{grid-template:1fr/1fr 1fr}.ht-h2 i:nth-child(n+3){display:none}
.ht-v2{grid-template:1fr 1fr/1fr}.ht-v2 i:nth-child(n+3){display:none}
.ht-hc{grid-template:1fr 1fr/1fr 1fr}.ht-hc i:nth-child(1){grid-row:1/span 2}.ht-hc i:nth-child(4){display:none}
.ht-ch{grid-template:1fr 1fr/1fr 1fr}.ht-ch i:nth-child(1){grid-area:1/1}.ht-ch i:nth-child(2){grid-area:2/1}.ht-ch i:nth-child(3){grid-area:1/2/span 2}.ht-ch i:nth-child(4){display:none}
.ht-b2{grid-template:1fr 2fr/1fr 1fr}.ht-b2 i:nth-child(1){grid-column:1/span 2}.ht-b2 i:nth-child(4){display:none}
.ht-tb{grid-template:2fr 1fr/1fr 1fr}.ht-tb i:nth-child(3){grid-column:1/span 2}.ht-tb i:nth-child(4){display:none}
@media (max-width:719px){ .hmain[data-tab="msgs"] .hrem,.hmain[data-tab="side"] .hrem{display:none} .hmain[data-tab="rem"] .hmsgs,.hmain[data-tab="rem"] .hside{display:none} .hmain .hrem{flex:1;height:auto} }
.mnhid{margin:10px 0 4px}.mnhid summary{cursor:pointer;color:var(--muted);font-size:14px}
/* 3e.26 (CJ 11-02): Reminders - projects, sticker orders, Later */
.rmprojbar{margin:2px 0 6px}.rmnewp{margin:0;padding:6px 12px;background:#353a42;color:var(--text);font-size:13.5px;border-radius:8px}
.rmpnew{background:#1b1e22;border:1px solid #3a3f47;border-radius:12px;padding:10px;margin-bottom:6px;display:flex;flex-direction:column;gap:8px}
.rmpnew textarea,.rmoedit textarea{width:100%;padding:9px 12px;border-radius:8px;border:1px solid #3d4550;background:#1c1e22;color:var(--text);font:inherit;resize:vertical}
.rmpj{border:1px solid #3a3f47;border-radius:10px;background:#1f2226;margin:6px 0}
.rmpjh{display:flex;align-items:center;gap:8px;padding:6px 8px 4px 10px}
.rmpjt{flex:1;text-align:left;margin:0;padding:4px 0!important;background:none!important;color:var(--text);font-weight:600!important;font-size:15px;display:flex;gap:8px;align-items:center}
.rmpjc{color:var(--muted);width:14px;display:inline-block}.rmpj.pdone .rmpjc{color:#7fd39a}
.rmpjn{color:var(--muted);font-size:13px;white-space:nowrap}.rmpj.pdone .rmpjn{color:#7fd39a}
.rmbar{height:4px;background:#33373e;border-radius:2px;margin:0 10px 8px}.rmbar i{display:block;height:4px;border-radius:2px;background:#4caf6e}
.rmpjb{padding:0 10px 6px}.rmpjb .rmit:last-of-type{border-bottom:0}
.rmpadd{margin:4px 0 2px}.rmpadd input{padding:8px 10px;font-size:14px}
.rmpmenu{padding-left:10px}.rmpren{display:flex;gap:8px;flex:1}.rmpren input{flex:1;padding:7px 10px}
.rmstk{border:1.5px solid #b8892f;border-radius:12px;padding:6px 10px 4px;margin:8px 0 4px;background:#1f2226}
.rmg-stk{color:#f0c36a;margin-top:4px}
.rmord{border-top:1px solid #33373e;padding:6px 0}.rmord:first-of-type{border-top:0}
.rmordh{display:flex;align-items:center;gap:8px}.rmordw{font-weight:600;color:var(--text);text-decoration:none;flex:0 1 auto}.rmordw:hover{text-decoration:underline}
.rmordh .rmpjn{margin-left:auto}
.rmpill{font-size:12px;padding:1px 8px;border-radius:6px;background:#4a3a14;color:#f0c36a}
.rmpill-bad{background:#5a2a10;color:#ffb070}
.rmunsent{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:6px 10px;border-top:1px solid #3a3a3a}
.rmunsent .rmm{flex:1 1 160px}
.rmunsent button{font:inherit;font-size:13px;padding:4px 10px;border-radius:8px;border:1px solid #555;background:#2a2a2a;color:inherit;cursor:pointer}
.rm-oi{padding:5px 0;border-bottom:0}.rm-oi .rmchk{width:22px;height:22px}
.rmoedit{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.rmdot{display:inline-block;min-width:18px;margin-left:6px;padding:0 6px;border-radius:999px;background:#b8892f;color:#111;font-size:12px;font-weight:700;text-align:center}
.rmlaterbox .rmit:last-child{border-bottom:0}
span.rmchk.on{background:var(--ok)!important;border-color:var(--ok)!important}
/* 3e.26 (CJ 11-02): Summary - the year's highest Cars / Gross month, the best month on record */
.mnsum .mnbest{background:#1f5132;color:#8ff0b0;font-weight:700;padding:2px 8px;border-radius:6px}
.mnsum tr.mnrec td{background:#23272d;color:var(--muted);font-size:14px}.mnsum tr.mnrec td:first-child{color:var(--text)}
/* 3e.26 (CJ 11-02): calendar - the day's cars big and bold; who's out grouped at the bottom, above the Weather / Holiday bar */
.mncal .mncalt{font-size:22px;font-weight:800;line-height:1;color:var(--text)}
.mncalbot{margin-top:auto;padding-top:6px}.mncalbot .mncalmk{margin-top:4px;padding-top:0}.mncalbot .mncalo{margin-top:2px;line-height:1.35}
/* 3e.26 (CJ 11-02): Lot Walk today - can't do, New / Used under each store */
.hok .hred{color:#ff8a80}.r-cant{color:#ff8a80}
.hlws{border-bottom:1px solid #2f343b;padding:2px 0 4px}.hlws .hrl{border-bottom:0}
.hlwc{display:flex;gap:10px;font-size:13px;padding:1px 0 1px 14px}.hlwk{color:var(--muted);width:40px;flex:0 0 auto}
.hlwy{font-size:12px;color:var(--muted);padding:1px 0 2px 14px}
/* 3e.26 (CJ 11-02): the Today cards - small cards stack in one narrow column on a wide area; no card stretches to the tallest */
.hgrid{align-items:start}
.hstack{display:contents}
@container (min-width:1000px){ .hgrid:not(.hone) .hstack{display:flex;flex-direction:column;gap:12px;min-width:0} .hgrid:not(.hone) .hstack>.hcard{grid-column:auto} }
/* 3e.28 (CJ 11-03): the Office Hub's Today cards in columns you arrange (wide area only) - the area's ⋯ -> Move the cards */
.hgrid.hcols{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px}
.hcolm{display:flex;flex-direction:column;gap:12px;flex:2 1 0;min-width:340px}
.hcolm.narrow{flex:1 1 0;min-width:260px}
.hgrid.hcols .hcard{grid-column:auto}
.hcbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:8px 12px;margin:0 0 12px;border:1px dashed var(--blue);border-radius:10px;font-size:13.5px;color:var(--text)}
.hcbar[hidden]{display:none}.hcbar .hcbtn{display:flex;gap:6px;flex-wrap:wrap}.hcbar button{margin:0}
.harr .hcolm{min-height:140px;border:1px dashed #4a505a;border-radius:12px;padding:8px}
.harr .hcard{cursor:grab;touch-action:none;outline:1px solid #3a3f47}.harr .hcard *{pointer-events:none}
.harr .hcard:focus-visible{outline:2px solid #8ec1ff}
.hcolh{display:flex;gap:6px;flex-wrap:wrap;justify-content:space-between;align-items:center}.hcolh button{margin:0;font-size:12px}
.hcdrag{position:fixed!important;z-index:60;pointer-events:none;opacity:.92;box-shadow:0 10px 30px rgba(0,0,0,.55);cursor:grabbing}
.hcph{border:2px dashed #8ec1ff;border-radius:12px;min-height:40px}
/* 3e.28 (CJ 11-03): the Monthly Numbers Calendar tab follows the Size buttons (the same choice as the Month tab) */
.mncalwrap.mnsz-s .mncal td{font-size:12px}.mncalwrap.mnsz-s .mncal .mncalt{font-size:18px}.mncalwrap.mnsz-s .mncal td,.mncalwrap.mnsz-s .mncalin{height:96px;min-height:96px}
.mncalwrap.mnsz-l .mncal td{font-size:15px}.mncalwrap.mnsz-l .mncal th{font-size:14px}.mncalwrap.mnsz-l .mncal .mncalt{font-size:26px}.mncalwrap.mnsz-l .mncalo .mnw,.mncalwrap.mnsz-l .mncalm{font-size:13px}.mncalwrap.mnsz-l .mncal td,.mncalwrap.mnsz-l .mncalin{height:124px;min-height:124px}
.mncalwrap.mnsz-xl .mncal td{font-size:17px}.mncalwrap.mnsz-xl .mncal th{font-size:15px}.mncalwrap.mnsz-xl .mncal .mncalt{font-size:30px}.mncalwrap.mnsz-xl .mncalo .mnw,.mncalwrap.mnsz-xl .mncalm{font-size:14.5px}.mncalwrap.mnsz-xl .mncal td,.mncalwrap.mnsz-xl .mncalin{height:140px;min-height:140px}
/* 3e.28: the Office Hub's small calendar (/admin/numbers/mini) - laid out (3e.26 shipped it with no styles) and sized S / M / L / XL */
.mnmini{padding:6px 8px;font-size:14px}.mnmini.mmsz-s{font-size:12px}.mnmini.mmsz-l{font-size:16.5px}.mnmini.mmsz-xl{font-size:19px}
.mnmh{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0 0 6px}.mnmh b{font-size:1.15em}
.mnmsz{margin-left:auto;display:inline-flex;gap:2px}.mnmsz button{margin:0;padding:2px 7px;font-size:12px;font-weight:600;background:#2e333a;color:var(--muted);border-radius:6px}
.mnmsz button.on{background:var(--blue);color:#fff}
.mnmcal{width:100%;border-collapse:collapse;table-layout:fixed}
.mnmcal th{font-size:.8em;color:var(--muted);padding:2px 4px;text-align:left;font-weight:600}
.mnmcal td{border:1px solid #3a3f47;vertical-align:top;padding:0;height:4.4em}
.mnmcal td.mnwe{background:#1c1f24}.mnmcal td.mncalx{border-color:#26292f}.mnmcal td.mnmtoday{outline:2px solid #8ec1ff;outline-offset:-2px}
.mnmin{display:flex;flex-direction:column;height:100%;min-height:4.4em;padding:3px 4px;box-sizing:border-box;color:var(--text);text-decoration:none}
.mnmtop{display:flex;justify-content:space-between;align-items:baseline;gap:4px}.mnmn{color:var(--muted);font-weight:600;font-size:.85em}
.mnmt{font-size:1.4em;font-weight:800;line-height:1}
.mnmbot{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:.78em;line-height:1.25;min-width:0;max-width:100%}
.mnmo{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.mnmo .mnw,.mnmm{padding:0 3px;border-radius:4px}

/* 3e.28 (CJ 11-03): Lot Walk - Finished / Walking now / Section lines (Office Hub card and dashboard); the card's numbers are links */
a.hlk{text-decoration:none}
a.hlk:not([class*="r-"]){color:inherit}
.hlk:hover,.hlk:focus-visible{text-decoration:underline}
.hlwf{font-size:13px;padding:2px 0 1px 14px}
.hlwc.hlwsec{padding-left:28px;font-size:12.5px}
.hlwk2{min-width:0;margin-right:8px}
.lwdfin{white-space:nowrap}
.lwdfin a{text-decoration:none}
.lwdfin a:hover{text-decoration:underline}
.lwdsec{font-size:.85em;margin-left:12px;white-space:nowrap}
.lwdfin-ok{color:#6fd99a}
.lwdfin-wait{color:var(--muted)}
.lwdfin-hot{color:#ff8a80}
/* 3e.29 (CJ 11-03): the Office Hub's pages under its top bar - Office Hub · Monthly Numbers · Reminders */
.hsub{flex:0 0 auto;display:flex;gap:18px;padding:5px 20px 6px;background:#12345f;border-top:1px solid rgba(255,255,255,.08);overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.hsub::-webkit-scrollbar{display:none}
.hsub a{color:#b9c9e3;text-decoration:none;font-size:13px;flex:none}
.hsub a:hover,.hsub a:focus-visible{color:#fff;text-decoration:underline}
.hsub a.on{color:#fff;font-weight:700}
html.hphone .hsub{padding:5px 12px 6px;gap:16px}html.hphone .hsub a{font-size:14px}
/* 3e.30: the QuickBooks page */
.qbbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}.qbt td{vertical-align:top}.qbl{margin-top:4px;font-size:13px}.qbl td{padding:2px 6px}
.qbrem{display:inline-block;background:#2b4a1f;color:#cfe9c0;border-radius:6px;padding:0 6px;font-size:12px}.qbpick{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}.qbpick select{max-width:420px}
.srow code{word-break:break-all}   /* 3e.30: the long QuickBooks return address wraps on a phone */
.qbscroll{overflow-x:auto}.qbt{min-width:900px}.qbt2{min-width:760px}   /* 3e.30: the invoice tables scroll sideways on a phone; the page itself never does */
.qbrun{padding:10px 14px}.qbrunline{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap}.qbprog{height:10px;border-radius:5px;background:#3a3f47;margin-top:8px;overflow:hidden}.qbprogin{height:100%;background:#4c9aff;transition:width .4s}.qbrun.qbok .qbprogin{background:#3fb950}.qbrun.qbbad .qbprogin{background:#e5534b}   /* 3e.35: the Approve bar */
details.qbday{margin:6px 0}details.qbday>summary{cursor:pointer;padding:6px 0;list-style:none}details.qbday>summary::before{content:"▸ ";color:#9aa4b2}details.qbday[open]>summary::before{content:"▾ "}   /* 3e.35: In QuickBooks by day */
/* 3e.37: the alert tap trail - a tap that got where it should is green, one still being asked about is amber */
#taplog .tap-done{color:#9fe0a9}#taplog .tap-went{color:#cfe0ff}#taplog .tap-ask{color:#f3d58a}
.lwlists{margin:8px 0 2px}.lwlists .chip{font-weight:700}
/* 3e.43 (CJ 11-06): Select text on a phone - the one place in Messages where the text can be dragged over */
.seltext{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;font:inherit;line-height:1.4}

/* 3e.43 (CJ 11-06): a computer uses the whole window - every manager page (the Schedule, Time Off, the tables, Conversations) grows
   with it; a phone is unchanged. And Aa in the menu row: S / M / L / XL for every page on this computer (Monthly Numbers keeps its own). */
@media (min-width:900px){
  .wrap.wide{max-width:none;padding-left:24px;padding-right:24px}
  .wrap.wide:has(> .msgwrap){max-width:none}
  .slayout{grid-template-columns:minmax(0,1fr) 340px;gap:20px}
  .sgrid tbody th{font-size:16px;width:140px;padding:14px 12px}
  .sgrid thead th{font-size:13px}.sgrid thead th .d{font-size:14px}
  .scell{min-height:70px;padding:8px;gap:5px}.scell .chip{font-size:14px;padding:3px 9px;line-height:1.35}.scell .chip .kind{font-size:12px}
  .scell .off,.scell .add{font-size:14px}.scell .to{font-size:14px}.scell .note,.scell .who{font-size:12.5px}
  .cell{min-height:84px;font-size:13px;padding:5px}.dnum{font-size:12.5px}.calhead div{font-size:13px}.calhead,.calrow{gap:5px}
}
.aasz{display:none}
@media (min-width:900px){
  .aasz{display:inline-flex;align-items:center;gap:2px;margin-left:6px;padding:2px 4px;border-radius:8px;background:rgba(255,255,255,.1)}
  .aasz .aaszl{color:#dbe6f7;font-size:13px;font-weight:700;padding:0 4px}
  .hright .aasz{margin:0 4px}.hright .aasz button{background:none;border:0;cursor:pointer}
  .nav .aasz button,.nav .aasz .link,.hright .aasz button{font-size:12.5px;padding:3px 7px;border-radius:6px;min-width:0;color:#b9c7dc;margin:0}.nav .aasz button.on,.hright .aasz button.on{background:#fff;color:var(--navy);font-weight:700}
}
html[data-sz=s] body{zoom:.9}html[data-sz=l] body{zoom:1.15}html[data-sz=xl] body{zoom:1.3}
html[data-sz] body:has(> main.full){zoom:1}     /* Monthly Numbers: its own Size buttons rule there */
.km.tapcar{cursor:pointer}.km.tapcar:active{background:#ffe0e0}   /* 3e.43: the Can't do list's cars open the car's sheet */
.pocard h2{margin:0;font-size:17px}.porow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.porow select{flex:1;min-width:160px;width:auto;margin:0;padding:8px 10px}   /* 3e.43: Photo order on Home */
.walled{border:1px solid #3a4c6c;background:#1e2632;margin:10px 0}.walled .walledgo{margin-left:6px;font-weight:700}.walled .muted{margin-top:4px}   /* 3e.44: a closed conversation */

.sisec{margin-top:12px;border-top:1px solid #3a3f47;padding-top:8px}.sisec h3{margin:0;font-size:15.5px}.sisec .kmbox{margin-top:2px}.sisec .kmrow:first-child{border-top:0}   /* 3e.47: Store info on Home */
.simap{display:block;text-align:center;padding:11px;margin-top:8px;border-radius:10px;background:var(--blue);color:#fff;text-decoration:none;font-weight:600}.simap:visited{color:#fff}
/* 3e.48: Preshots - Still needs AA Photos (Inventory list + car page; Lot Walk uses its own tag) */
.pretag{display:inline-block;background:#5a3b00;color:#ffd27a;border:1px solid #b77a00;border-radius:6px;padding:1px 7px;font-size:13px;font-weight:600;margin:3px 0}
.aaundo{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.lwcar .tg i.p,.lwmid .tg i.p{background:#5a3b00;color:#ffd27a}
.invcount{margin:-4px 0 10px;font-size:15px}   /* 3e.54: "N cars match these filters" on the Inventory list */
/* 3e.59 (CJ 11-09): edit / delete a car's note; Shot ticks and Done up to here on the shoot list; Can't do New / Used; Finish for them */
.pnedit{margin-top:4px}.pnedit summary{cursor:pointer;color:var(--muted);font-size:13px}.pndel{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
button.small.danger{background:#c62828;color:#fff;border-color:#c62828}
.kmbtn.shot.on{background:#1565c0;color:#fff;border-color:#1565c0}.kmbtn.upto{flex:0 0 auto;background:transparent;border-style:dashed}
.kmfold.shotf{border-left:4px solid #1565c0}
.cantrows{flex:1 1 100%;min-width:0}.lwchips.nuchips{margin-bottom:6px}
.lwfin{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line,#2a2f36)}.lwfin:first-of-type{border-top:0}
/* 3e.61 (CJ 11-10): the car page's Vehicle History foot - Add a note on the left, Download on the right (stacks on a phone) */
.histfoot{display:flex;align-items:flex-start;gap:12px;margin-top:12px;flex-wrap:wrap}.histfoot form{flex:1 1 320px;min-width:0;margin:0}.histfoot .lwrowin{margin:0}.histfoot #histcsv{margin-left:auto;white-space:nowrap}     /* 3e.75: top-aligned - Add a note now has "Add photos" under it, the download stays beside the note box */
/* 3e.61 (CJ 11-10): the car page without a side bar - the car on the left, Where is it? / the alert on the right; Vehicle History in two columns */
.invcar>.main{flex:1 1 100%}
.invhead{flex-direction:row;flex-wrap:wrap;gap:14px 40px;align-items:flex-start;justify-content:space-between}
.invhl{display:flex;flex-direction:column;gap:10px;flex:1 1 520px;min-width:0}.invhr{display:flex;flex-direction:column;gap:12px;flex:0 1 720px;min-width:0}
.invh2s{align-items:center}.invstk{margin:0}.invstkl{display:flex;align-items:center;gap:8px;color:#c9ced6;font-size:17px}
.invstkbox{position:relative;display:inline-flex}.invstkbox input{width:170px;margin:0;font-weight:700;font-size:17px;padding:6px 40px 6px 10px}
.invstkok{position:absolute;right:4px;top:50%;transform:translateY(-50%);margin:0;padding:0;width:30px;height:30px;border-radius:8px;font-size:17px;line-height:30px;background:#2e7d32;color:#fff;border:0}
.invstkok:disabled{background:transparent;color:#5b6472;cursor:default}.invstkhn{font-size:12px}
.invhr .invedit{margin:0;align-items:flex-end}.invwhere select{min-width:150px}.invwhere label:nth-child(6){flex:1 1 200px}.invwhere input{width:100%}
.invalert{display:flex;flex-direction:column;gap:6px}.invalert .invedit label{flex:1 1 360px}.invalert .invedit input{width:100%}
.histcols{display:flex;gap:22px;flex-wrap:wrap;align-items:flex-start}.histl{flex:999 1 480px;min-width:0}.histr{flex:1 1 300px;max-width:400px;min-width:0;margin-left:auto}
.histr .invcantbox{margin:0 0 14px}.invnotes h2{margin-top:0}
#invstory .lwdstory{grid-template-columns:150px 130px minmax(0,1fr)}
@media (max-width:700px){.invhr{flex-basis:100%}.histr{max-width:none;margin-left:0}#invstory .lwdstory{grid-template-columns:minmax(0,1fr)}}
/* 3e.62 (CJ 11-10): a note edited on its Vehicle History line - the pencil, the box (its check mark like the stock #), the old words greyed */
.nrow{display:flex;gap:8px;align-items:flex-start}.nrow .ntext{flex:1;min-width:0}
.nedit{background:none;border:0;color:#8a94a6;padding:0 4px;margin:0;font-size:16px;line-height:1.4;cursor:pointer}.nedit:hover{color:#fff}
.nrow.editing>.ntext,.nrow.editing>.nedit{display:none}.nrow .nform{flex:1;display:flex;gap:6px;align-items:center;margin:0}.nrow .nform[hidden]{display:none}
.nbox{flex:1}.nbox input{width:100%;margin:0;padding:6px 40px 6px 10px;font-size:15px}
.ndel,.ncancel{margin:0;padding:6px 9px;font-size:14px;background:#2a2f36;border:0;border-radius:8px}
.nold{display:block;color:#6f7886;font-size:13px;text-decoration:line-through;text-decoration-color:#4a5260;margin-top:2px}.nold.nnot{text-decoration:none;margin-top:0}
.lwdstory.ndeleted{color:#6f7886}.lwdstory.ndeleted b{color:#6f7886}
#invstory .lwdstory>span,#invstory .ntext,#invstory .nold{overflow-wrap:anywhere;min-width:0}     /* 3e.62: a long word (no spaces) wraps instead of pushing the page sideways */
/* 3e.65 (CJ 11-10, sample "Store switches"): the Stores page's one table of per-store switches */
.swscroll{overflow-x:auto}.swtable{min-width:900px}.swtable td{vertical-align:middle}.swtable .g{border-left:2px solid #3a3f47}
.swtable tr.grp th{border-bottom:none;padding-bottom:0;color:#cfd6df}.swtable td input:not([type=checkbox]){width:4.5em;padding:4px 8px;margin:0}
.swtable .swno{font-size:13px}dl.swkey{display:grid;grid-template-columns:max-content 1fr;gap:4px 12px;margin:8px 0}dl.swkey dt{font-weight:600}dl.swkey dd{margin:0;color:var(--muted);font-size:14px}
@media (max-width:640px){dl.swkey{grid-template-columns:1fr}dl.swkey dd{margin-bottom:6px}}

/* 3e.68 (CJ 11-10): Manager's pick on a car's page */
.ddpick{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 0}.ddpick form{margin:0}
.ddadd{background:#283a6b;color:#fff;border:0;border-radius:10px;padding:10px 14px;font-weight:700;font-size:14.5px;cursor:pointer}
.ddin{background:#1f6b3a;color:#fff;border-radius:10px;padding:9px 14px;font-weight:700;font-size:14.5px}
.ddundo button{background:none;border:0;padding:0;margin:0;width:auto;min-height:0;color:#8ec1ff;text-decoration:underline;font-size:14px;font-weight:600;cursor:pointer}
.tagdd{display:inline-block;background:#4b3a66;color:#e8dcff;border-radius:6px;padding:1px 7px;font-size:12px;font-weight:700}
/* 3e.70 (CJ 11-12): the Daily Report - managers' page, the techs' tab, the message's link (the app's dark colors) */
.mlink{display:inline-block;margin-top:6px;font-weight:600}
.drnav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:6px 0 12px}
.drnav form{display:inline-flex;gap:6px;align-items:center}
.drg{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin:8px 0}
.drm{background:var(--card);border-radius:10px;padding:8px 10px;color:var(--text)}.drm span{display:block;font-size:12px;color:var(--muted)}.drm b{font-size:22px;color:#ffd27a}
.drm b.hot{color:#ff8a80}.drm b.ok{color:#7dd99a}
.drtech h2{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.drtech h2 small{font-weight:400;color:var(--muted);font-size:13px}
.drrow{display:grid;grid-template-columns:minmax(0,2.2fr) repeat(7,minmax(0,1fr));gap:6px;font-size:14px;padding:6px 0;border-top:1px solid #3a3e45;align-items:center}
.drrow.h{font-size:12px;color:var(--muted);border-top:0}.drrow.tot{font-weight:600}.drrow .n{text-align:right}
.drcar{font-size:13px;padding:2px 0 2px 14px;line-height:1.5}.drcar.hot{color:#ff8a80}.drcar.wait{color:#ffd27a}.drcar.ok{color:#7dd99a}
.drpill{font-size:12px;padding:1px 8px;border-radius:8px;white-space:nowrap;background:#3a3e45;color:var(--text)}.drpill.hot{background:#5a2420;color:#ffb4ab}.drpill.ok{background:#1f4a2c;color:#a6e3b5}.drpill.wait{background:#4d3a12;color:#ffd27a}
.drans{border:1px solid #7d2c28;border-radius:8px;padding:10px;margin:8px 0}.drans.done{border-color:#1f6b3a}
.drans form{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:6px}.drans select,.drans input[type=text]{max-width:100%}
@media (max-width:640px){.drrow{grid-template-columns:minmax(0,1.6fr) repeat(4,minmax(0,1fr))}.drrow .x{display:none}}
/* 3e.75 (CJ 11-13): photos on a car's note - small pictures under the note (tap = full size); the waiting ones on Add a note */
.nphotos{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.nphotos img{width:72px;height:72px;object-fit:cover;border-radius:6px;border:1px solid #3a3f47;display:block;background:#22252a}
.lwdstory.ndeleted .nphotos img{opacity:.55}
.nphadd{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
.nphw{position:relative;display:inline-block}
.nphw .nphx{position:absolute;top:-6px;right:-6px;width:24px;height:24px;min-height:0;padding:0;border-radius:50%;font-size:12px;line-height:1;background:#2b2f35;border:1px solid #555c66;color:#e6e8eb}
.nphadd button[disabled]{opacity:.5}
/* 3e.76 (CJ 11-14): + Add Saturday / Sunday on the Schedule's week view; a weekend column is marked */
.sweekend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 10px}
.sweekend .sweadd{background:var(--card);color:var(--text);border:1px dashed #5a6472;border-radius:999px;padding:6px 12px;font-size:14px;text-decoration:none}
.sgrid thead th.wkend{color:#9fd3ff}
/* 3e.77 (CJ 11-14): Finish this car - finished cars folded at the bottom of the key machine list; the un-tick question */
.km.kmfin{opacity:.62}
.kmfold.kmfinfold{margin:10px 0 8px}
.kmflag.g .small{margin-left:4px}
.lwunk{margin:2px 0 10px;font-size:14px}
#rsmistake{margin-top:10px}
/* 3e.88 (CJ 11-20): a manager's Sold / Don't Do - red on the Lot Walk list, a bold red pill on the Inventory list and the car page */
.lwcar .tg i.r,.lwmid .tg i.r{background:#b3261e;color:#fff}
.lwholdh{margin:18px 12px 6px;font-size:14px;color:#ff9c94;border-top:1px solid #5c2b2b;padding-top:10px}
.holdpill{display:inline-block;background:#b3261e;color:#fff;font-weight:800;font-size:14px;letter-spacing:.05em;border-radius:7px;padding:2px 9px;margin:4px 0 2px}
.holdnote{font-size:12.5px;color:#ff9c94;font-weight:600}
tr.invhold>td{background:rgba(229,83,75,.10)}
.invholdbox{margin:8px 0}.invholdbox summary{cursor:pointer;color:#ff9c94;font-weight:600;font-size:13px}
.invholdbox form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px}.invholdbox input[name=note]{max-width:16em}
.invholdmini summary{font-size:12px;font-weight:600;color:var(--muted)}
/* 3e.89 (CJ 11-19): Clock Out - finish the Lot Walk stores you started first */
.lwq{top:18%;max-height:72vh;max-height:72dvh;overflow-y:auto}
.lwqlist{margin:8px 0 0}
.lwqrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #3d4550;text-align:left}
.lwqrow:first-child{border-top:0}
.invq .lwqrow button{display:inline-block;width:auto;margin:0;padding:10px 14px;font-size:15px;white-space:nowrap}
.invq .lwqrow .lwqfin{background:#2e9e4f}.invq .lwqrow .lwqleave{background:#5a6472}
.lwqmsg{margin:8px 0 0;font-size:14px;color:#c9ced6}.lwqmsg.bad{color:#ffb4a8}
/* 3e.90 (CJ 11-23): the optional note with a Can't do reason */
.lwcnote{width:100%;box-sizing:border-box;margin:4px 0 10px}

/* 3e.92 (CJ 11-24): Screen look - the half-moon button next to Sign out (and on the Office Hub's top bar) and its sheet.
   The Dim and Light looks are in looks.css, made from this file by tools/make_looks.py - run it after any colour change here. */
.signout{display:flex;align-items:center;gap:8px}
.signout .lookbtn,.hright .lookbtn{margin:0;width:34px;height:34px;min-height:0;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:rgba(255,255,255,.14);color:#fff;flex:0 0 auto}
.hright .lookbtn{width:30px;height:30px}
.lookdlg{width:min(420px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #3d4550;border-radius:16px;padding:20px 18px;background:var(--card);color:var(--text)}
.lookdlg::backdrop{background:rgba(0,0,0,.55)}
.lookdlg h2{margin:0 0 6px;font-size:20px}
.lookdlg .looknew{margin:0 0 6px;font-size:15px}
.lookdlg .lookwhere{margin:10px 0 0}
.lookopts{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.lookdlg .lookopt{margin:0;display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px;border-radius:12px;border:1px solid #3d4550;background:#1c1e22;color:var(--text);font-weight:400}
.lookdlg .lookopt[aria-checked=true]{border:2px solid #8ec1ff;padding:11px}
.lookswatch{width:34px;height:34px;border-radius:8px;border:1px solid #8a919b;flex:0 0 auto}
.looktxt{display:flex;flex-direction:column}.looktxt span{color:var(--muted);font-size:13.5px}
.lookdlg #lookdone{margin-top:14px}

/* 3e.93 (CJ 11-24): Monthly Numbers - short words (Rain / Snow / Off) so the cells are narrower, a little taller, bigger bold
   numbers; the grid no longer stretches across the page; keys found + the upload number (only when it differs) under the number */
.mngridwrap table.mngrid{width:auto}.mngrid td,.mngrid th{vertical-align:top}
.mnc input.mnv::placeholder{font-weight:700}.mnc.auto input.mnv::placeholder{font-weight:700}
.mnsub{display:flex;gap:6px;font-size:12.5px;line-height:1.2;white-space:nowrap}.mnsub>span{margin-top:3px}
.mnsub .mnkf{margin-left:0;font-size:12.5px}.mnup{font-size:12.5px;color:#f0a24a;font-weight:700}.mnup[hidden]{display:none}
.mnprow .mnup{margin-left:4px}
/* 3e.93 (CJ 11-24): a message that came in while the conversation was open - still unread until a click / tap here */
.msg.mnew{box-shadow:0 0 0 2px #f0a24a}.msg.mnew .mhead::after{content:"New";margin-left:8px;padding:0 6px;border-radius:6px;background:#f0a24a;color:#1b1600;font-size:12px;font-weight:700}
.invmail{margin:8px 0 0;gap:8px;flex-wrap:wrap;align-items:center}.invmail input{margin:0}     /* 3e.93: the Inventory page's email button */
/* 3e.95 (CJ 11-25): the logo beside the words in the top bar (every page, the Office Hub too) and the sign-in page's two drawings */
.brandlogo{display:block;flex:none;width:30px;height:30px;border-radius:7px}.htop b.hbrand{display:flex;align-items:center;gap:8px}
html.hphone .htop .brandlogo{width:26px;height:26px}
.loginlogo img.lllight{display:none}
/* 3e.97: the nightly invoicing check - orange = a difference, red = held / failed */
.mnbill{font-size:12.5px;color:var(--muted)}.mnbill[hidden]{display:none}.mnbill.mnbilld{color:#f0a24a;font-weight:700}.mnprow .mnbill{margin-left:4px}
.ivcday{border-top:1px solid #2e3239;padding:10px 0}.ivcday:first-of-type{border-top:0}.ivchead b{font-size:15.5px}
.ivc-attention .ivchead b,.ivc-waiting .ivchead b{color:#f0a24a}.ivc-failed .ivchead b,.ivc-didnt_run .ivchead b{color:#ff7b72}.ivc-ready .ivchead b{color:#4cc27a}
.ivcwhy{margin:6px 0 8px 18px;padding:0}.ivcwhy li{margin:2px 0}.ivct td,.ivct th{text-align:left}.ivct tr.ivcd>td{color:#f0a24a}.ivco{color:#f0a24a}
.ivccars td{padding-top:0}.ivccars ul{margin:3px 0 8px 18px;padding:0}.ivccars li{font-size:13.5px;margin:2px 0}.ivcoff{color:#ff7b72}
/* 3g (CJ 11-29): Monthly Numbers - the counts on grey bands with the names again and a Total; the month card's table (this month / last month / last year); the invoicing check's "OK this day" */
.mngridwrap{padding-bottom:10px}.mnto{margin:6px 0 4px}.mnto td,.mnto th{text-align:left}
.mnto tr.mncount td{background:#30353d;color:var(--text);font-size:14px}.mnto tr.mncount:nth-of-type(odd) td{background:#383e47}
.mnto tr.mncount td.mncn{font-size:16px;font-weight:700}.mnto tr.mncount td.mncn:empty::after{content:"\2013";color:var(--muted);font-weight:400}
.mnto .mnct{border-left:2px solid #4a515d}
.mntosub{font-size:13px;font-weight:400}.mntoh{margin:18px 0 0;font-size:13px;font-weight:600;color:var(--muted)}.mntocmp{margin-top:6px}
.mncmp{margin:14px 0 8px}.mncmp td,.mncmp th{text-align:left}.mncmp tr.mncmp-this td{font-weight:700;background:#2e333a}
.mncmp tr.mncmp-prev .mncmpl{color:#8fb4ee;font-weight:600}.mncmp tr.mncmp-ly .mncmpl{color:#e8b46a;font-weight:600}
.mncmp .mnup{color:#6fd99a}.mncmp .mndown{color:#f08a84}
.ivcokd{color:#4cc27a}.ivcokf{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:end;margin:8px 0}.ivcokf input[name=reason]{width:24em;max-width:100%}
.ivcwas{margin:6px 0 0}.ivcwasl{opacity:.85}
/* 3h5 (CJ 12-02): an approved day with differences nobody OK'd is orange; the OK'd days fold away at the bottom */
.ivc-open .ivchead b{color:#f0a24a}.ivcokdd{border-top:1px solid #2e3239;margin-top:8px;padding-top:8px}.ivcokdd>summary{cursor:pointer;color:#8fb8ff;font-weight:600;padding:6px 0}.ivcokdd .ivcday:first-of-type{border-top:0}
/* 3h3 (CJ 12-01): the Lot Walk dashboard lists - headings that sort */
.lwdtable th a.lwdsort{color:inherit;text-decoration:none;white-space:nowrap;display:inline-block;padding:2px 0}
.lwdtable th a.lwdsort:hover,.lwdtable th a.lwdsort.on{text-decoration:underline}
/* 3h6 (CJ 11-30 / 12-03): the button inside an alert that goes to where the issue is fixed (templates/_fix.html) */
a.btnlink.fixbtn{margin:6px 0 0 8px;white-space:nowrap;vertical-align:middle}
a.btnlink.fixbtn,.flash a.btnlink.fixbtn,.redbox a.btnlink.fixbtn,.redtxt a.btnlink.fixbtn{background:#2f6fde;color:#fff;text-decoration:none;font-weight:700}
a.btnlink.fixbtn.hfix{margin-left:0}
/* 3h6 (CJ 12-03, his phone: the Office Hub had "no menu option"): on a phone the Office Hub's menu row becomes the Menu
   button every other page has - the sections as a grid of four, Sign out under them. A computer, the Office TV, an iPad and
   an open folding phone (600 wide and up) keep the row exactly as it was. */
.hmenubtn,.htop .hsignout{display:none}
@media (max-width:599px){
  html.hphone .htop .hmenubtn{display:flex;align-items:center;justify-content:center;gap:6px;order:3;flex:1 0 100%;margin:0;padding:8px 14px;min-height:44px;border:0;border-radius:10px;background:rgba(255,255,255,.14);color:#fff;font-size:15px;font-weight:700}
  html.hphone .htop nav{display:none}
  html.hphone .htop.hmopen nav{display:grid;grid-template-columns:repeat(4,minmax(min-content,1fr));gap:8px;order:4;flex:1 0 100%;min-width:0;max-width:100%;overflow:visible;white-space:normal;padding-bottom:0}   /* 3h8 (CJ 12-04, the closed folding phone, 382 wide): "Dashboards" ran out of its tile and the page went wider than the screen */
  html.hphone .htop.hmopen nav a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;padding:6px 4px;border:1px solid #3a4c6c;border-radius:10px;background:#26324a;color:#fff;font-size:14px;font-weight:700;line-height:1.2}
  html.hphone .htop.hmopen nav a.on{border-color:#d0d5dc;border-bottom:1px solid #d0d5dc;padding-bottom:6px}
  html.hphone .htop.hmopen .hsignout{display:block;order:5;flex:1 0 100%;margin:0 0 4px;padding:0}
  html.hphone .htop.hmopen .hsignout .link{width:100%;min-height:48px;margin:0;border:1px dashed #5a6d8f;border-radius:10px;background:#1f2a3f;color:#dbe6f7;font-weight:700}
}
/* 3h8 (CJ 12-04): the Invoicing check - "Approve numbers": a day waiting for it reads orange like a day waiting on Monthly Numbers; a
   day whose numbers are approved (its invoices not yet) is one line that opens */
.ivc-stamp .ivchead b{color:#f0a24a}
.ivctuckd>summary{cursor:pointer;padding:2px 0;color:#4cc27a}.ivctuckd>summary b{font-size:15.5px}.ivctuckd[open]>summary{margin-bottom:6px}
.ivcokf select[name=why]{max-width:100%}.ivcokf input[name=reason]{width:18em}
/* 3h8 (CJ 12-04): Monthly Numbers - the occasional columns' "Show ..." buttons above the grid, and their tick in the Columns box */
.mnocc{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:4px 0 8px}.mnocc form{margin:0}.mnocc button.small{font-size:13px;padding:5px 10px;min-height:0}.mnoccchk{margin-left:14px}
/* 3h7 (CJ 12-03): an iPhone enlarges the text of a long paragraph by itself when the page is wide (the open folding phone) - one long message came out bigger than the short ones. Off: text is the size the page says. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* 3h7: the Office Hub's navy runs up behind the phone's clock and battery, and round a notch at the sides (hub.html now has viewport-fit=cover; on a computer these are all 0) */
.htop{border-top:env(safe-area-inset-top,0px) solid #173F73;border-left:env(safe-area-inset-left,0px) solid #173F73;border-right:env(safe-area-inset-right,0px) solid #173F73}
/* 3h7: the colours for what the two blocks below lay out (the blocks themselves set no colour): the Hub's Sign out on its bar as plain words, the outline of the car whose panel is open beside the list */
.htop .hsignout .link{background:none;border:0;color:#cfe0f7}
.lwcar.cur{outline-color:#8ec1ff}
/* 3h5 (CJ 12-02, claude/AA_Field_Tech_iPhone_Duo_Layout_Plan_v1.md): a folding phone held OPEN, and a small tablet. ONLY a touch
   screen (hover:none + pointer:coarse). 3h7 (CJ's real phone: 669 x 951 upright, 867 x 669 sideways) moved the line between the two:
   "open upright" = 600-799 wide, or 800-899 wide and taller than 720 (a small tablet upright); "open sideways" = 800-1000 wide and
   no taller than 720 (3h5 had 600-899 / 900-1000, from a guessed 951 x 585) - and in both cases at least 500 tall, so an ordinary
   phone turned on its side (844 x 390, 932 x 430) is NOT one of them. A phone (under 600 wide, or under 500 tall), a computer at any window width (a mouse
   is not a coarse pointer) and an iPad held sideways (1024+) match neither block - nothing here reaches them. No colours here (looks.css is not
   touched by this block). No device is detected: it is the page's width and the kind of pointer, nothing else. */
/* 3i (CJ 12-05, from his measurements on the iPhone Duo): nothing runs off the side or the top of the screen.
   - the sides the phone keeps for itself (an ordinary iPhone held sideways, the notch) are left clear on every page;
   - a box or a typing field is never wider than the screen; the store tables on Stores (photos, Key machine, Storage lot, in-transit pages)
     scroll inside their own box on a phone instead of making the whole page wider;
   - on a touch screen the page can't be dragged sideways - something too wide is cut at the edge rather than pushing the
     top bar and Menu button off the screen. Full-height layouts use dvh (the Duo upright: 100vh is 951, the page is 869). */
body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
.top{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
input,textarea,select{max-width:100%}
@media (pointer:coarse){ html{overflow-x:hidden} body{overflow-x:clip} }
@media (max-width:599px){ .kmtable,.lwetable{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch} .kmtable textarea{min-width:160px} .kmtable input{min-width:90px} }
/* 3j (CJ 12-05, his screenshots of 3h9 on the phone): the open folding phone keeps a strip for its clock - across the top held
   upright, down the right side held sideways - that is OUTSIDE the page; iOS fills it with the page's background COLOUR
   (iphone-duo-side-strip.md, found on the real phone). So there, in the Home Screen app only (html.aastand, set by the page),
   the background colour of html and body is the bar's navy, and the page's real colour is painted over it as a background
   picture of one flat colour - the page itself looks exactly as before; only what iOS colours from "the background colour"
   turns navy. Nothing here on a computer, in Safari, or on a phone under 600 wide. NOT SEEN ON THE PHONE - see HANDOFF. */
@media (hover:none) and (pointer:coarse) and (min-width:600px) and (max-width:1000px) and (min-height:500px){
  html.aastand:root,html.aastand:root body{background:linear-gradient(var(--bg),var(--bg)) var(--navy);color:var(--text)}   /* the text colour is said again so tools/make_looks.py keeps it in Light */
}
/* 3h5 (CJ 12-02, claude/AA_Field_Tech_iPhone_Duo_Layout_Plan_v1.md): a folding phone held OPEN, and a small tablet. ONLY a touch
   screen (hover:none + pointer:coarse). 3h7 (CJ's real phone: 669 x 951 upright, 867 x 669 sideways) moved the line between the two:
   "open upright" = 600-799 wide, or 800-899 wide and taller than 720 (a small tablet upright); "open sideways" = 800-1000 wide and
   no taller than 720 (3h5 had 600-899 / 900-1000, from a guessed 951 x 585) - and in both cases at least 500 tall, so an ordinary
   phone turned on its side (844 x 390, 932 x 430) is NOT one of them. A phone (under 600 wide, or under 500 tall), a computer at any window width (a mouse
   is not a coarse pointer) and an iPad held sideways (1024+) match neither block - nothing here reaches them. No colours here (looks.css is not
   touched by this block). No device is detected: it is the page's width and the kind of pointer, nothing else. */
@media (min-width:600px) and (max-width:799px) and (min-height:500px) and (hover:none) and (pointer:coarse), (min-width:800px) and (max-width:899px) and (min-height:721px) and (hover:none) and (pointer:coarse){
  /* the managers' menu: the row of eight instead of the Menu button (they fit); Sign out sits at the right of the top line */
  .top.mgr{position:relative}
  .top.mgr .menubtn{display:none}
  .top.mgr .mnav{display:flex;grid-column:1/3;grid-row:2}
  .top.mgr .mnav .msignout{display:flex;position:absolute;right:16px;top:calc(8px + env(safe-area-inset-top,0px));margin:0;padding:0}
  /* the manager pages use the width (they sat in a 560 column) */
  .wrap.wide{max-width:none;padding-left:20px;padding-right:20px}
  .wrap.wide:has(> .msgwrap){max-width:none}
  /* Lot Walk at a store: two columns of cars (headings and notes run across). 3h9 (CJ 12-04): the two boxes of a row are the same height */
  .wrap:has(> #lwlist){max-width:none;padding-left:20px;padding-right:20px}
  #lwlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;align-items:stretch}
  #lwlist>:not(.lwcar){grid-column:1/-1}
  #lwlist .lwmid .l2,#lwlist .lwmid .l3{white-space:normal;overflow:visible;overflow-wrap:anywhere}   /* a narrower card: the car and the whole VIN wrap, never cut */
  /* Lot Walk dashboard: three tiles across */
  .lwdtiles,.lwdtiles:not(.four){grid-template-columns:repeat(3,minmax(0,1fr))}
  /* Team > Schedule: Monday to Friday fit the page */
  .sgrid table{min-width:0}.sgrid tbody th{width:92px;padding:12px 8px;white-space:normal}.sgrid thead th{padding:10px 6px}.sgrid td{padding:4px}
  /* the jump buttons at the top of Stores / Settings wrap instead of running off the side */
  .secnav{flex-wrap:wrap;overflow-x:visible;row-gap:6px}
  /* ---- 3h7 (CJ 12-03, from his real iPhone Duo): open UPRIGHT ---- */
  /* Lot Walk: the "Your list / Key machine" bar runs across the whole bottom (3h5 left it phone-wide, floating over the cars) */
  .lwfoot{left:0;right:0;transform:none;max-width:none;border-radius:0;padding-left:20px;padding-right:20px}
  /* Office Hub (a phone's hub: the Today cards): Sign out on the top line; each tech's battery on its own line under the name */
  html.hphone .htop .hsignout{display:block;order:2;margin:0;padding:0}
  html.hphone .htop .hsignout .link{margin:0;padding:6px 2px;font-size:14px;font-weight:500}
  html.hphone .htab .hbatt{display:block;margin-left:0}
}

@media (min-width:800px) and (max-width:1000px) and (min-height:500px) and (max-height:720px) and (hover:none) and (pointer:coarse){
  /* the top bar on ONE line - logo, menu, Sign out - and thinner rows under it: the screen is only about 585 tall */
  .top{grid-template-columns:auto minmax(0,1fr) auto;column-gap:14px;row-gap:0;padding-top:calc(6px + env(safe-area-inset-top,0px));padding-bottom:6px}
  .top .brand{grid-column:1;grid-row:1}.top .nav{grid-column:2;grid-row:1;min-width:0}.top .signout{grid-column:3;grid-row:1}
  .top.mgr .brand{font-size:0;gap:0}
  .top .nav .aasz{display:none}
  .sub a,.sub .soon{padding:5px 0}.sub.repsub a,.sub.repsub2 a,.sub.repsub2 .soon{padding:4px 0}
  /* Lot Walk at a store: TWO columns of cars, as upright (3h9, CJ 12-04: "I dislike the 3 columns very much" - it was three), and the
     two boxes of a row are the same height (nothing trimmed: the taller box sets the row) */
  .wrap:has(> #lwlist){max-width:none;padding-left:24px;padding-right:24px}
  #lwlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;align-items:stretch}
  #lwlist>:not(.lwcar){grid-column:1/-1}
  #lwlist .lwmid .l2,#lwlist .lwmid .l3{white-space:normal;overflow:visible;overflow-wrap:anywhere}   /* a narrower card: the car and the whole VIN wrap, never cut */
  /* Team > Schedule: the week gets the width; "Edit a day" goes under it */
  .slayout{grid-template-columns:minmax(0,1fr)}
  .sgrid table{min-width:0}.sgrid tbody th{width:110px}
  /* ---- 3h7 (CJ 12-03, from his real iPhone Duo): open SIDEWAYS. The phone gives a web app 867 x 669 there (the clock and battery
     take an 84-point column on the camera side, which no web page can draw in) - so these rules now start at 800 wide, not 900. ---- */
  /* the managers' menu row instead of the Menu button, on the bar's one line - said here too, because under 900 wide the rules above this block give the Menu button */
  .top.mgr{grid-template-columns:auto minmax(0,1fr)}
  .top.mgr .menubtn{display:none}
  .top.mgr .mnav{display:flex;grid-column:2;grid-row:1;gap:14px}
  .top.mgr .mnav .msignout{display:flex}
  .wrap.wide{max-width:none;padding-left:24px;padding-right:24px}
  .secnav{flex-wrap:wrap;overflow-x:visible;row-gap:6px}
  /* Lot Walk: the bar across the whole bottom; a tapped car opens BESIDE the list (the list stays, ONE column from 3h9 - two would be
     about 220 wide each beside the panel; tap another car and the panel changes to it). Every other sheet (Can't do, Blocked In, Finish ...) is the centred box a wide screen has. */
  .lwfoot{left:0;right:0;transform:none;max-width:none;border-radius:0;padding-left:24px;padding-right:24px}
  .lwsheet{left:50%;right:auto;bottom:auto;top:10vh;top:10dvh;transform:translateX(-50%);width:520px;max-height:82vh;max-height:82dvh;border-radius:14px}
  .lwsheet.lwside{left:auto;right:0;top:var(--toph);bottom:0;transform:none;width:372px;max-height:none;border-radius:14px 0 0 0;padding-right:calc(16px + env(safe-area-inset-right,0px))}
  body.lwcaropen .lwback2{display:none}
  body.lwcaropen .wrap:has(> #lwlist){padding-right:392px}
  body.lwcaropen #lwlist{grid-template-columns:minmax(0,1fr)}
  body.lwcaropen .lwfoot{right:372px}
  #lwlist .lwcar.cur{outline-style:solid;outline-width:3px;outline-offset:-3px}
  /* Messages: the channel list beside the conversation (as on a computer) */
  .msgwrap{display:grid;grid-template-columns:240px 8px minmax(0,1fr);gap:6px;align-items:start}
  .msgwrap>.chlist{grid-column:1}.msgwrap>.chpane{grid-column:3}   /* (the drag bar between them shows from 900 wide, as on a computer; under 900 its column is just the gap) */
  .wrap.wide:has(> .msgwrap),.wrap:has(> .msgwrap){max-width:none;padding-left:20px;padding-right:20px}
  .msgwrap.inchannel .chlist{display:block}.chlist{position:sticky;top:calc(var(--toph) + 10px);max-height:calc(100vh - var(--toph) - 20px);max-height:calc(100dvh - var(--toph) - 20px);overflow-y:auto}
  .convhead{margin:0;padding:2px 0}.convhead .back{display:none}.pickone{display:block;padding:40px;text-align:center}
  .msgwrap.inchannel .chpane{display:flex;flex-direction:column;min-height:calc(100vh - var(--toph) - 24px);min-height:calc(100dvh - var(--toph) - 24px);align-self:stretch}.msgwrap.inchannel .chpane .msgs{flex:1 0 auto}
  /* Office Hub (a phone's hub): one line on top - logo, menu, clock, Sign out. The cards (3h9, CJ 12-04): "Today - who's where" the
     full width at the top (under the Daily Report and Keys-found cards when they show), the small cards two to a row under it */
  html.hphone .htop{flex-wrap:nowrap;gap:14px;padding-top:6px;padding-bottom:6px}
  html.hphone .htop .hbrand{font-size:0;gap:0}
  html.hphone .htop nav{order:0;flex:1 1 auto;min-width:0;gap:14px;padding-bottom:0}
  html.hphone .htop .hright{flex:0 0 auto}
  html.hphone .htop .hsignout{display:block;order:2;margin:0;padding:0;flex:0 0 auto}
  html.hphone .htop .hsignout .link{margin:0;padding:6px 2px;font-size:14px;font-weight:500;white-space:nowrap}
  html.hphone .htop nav a{font-size:14px}html.hphone .htop .hright{gap:10px}html.hphone .htop .aasz{display:none}
  html.hphone .hlive #hlive{display:none}   /* the green / red dot stays; the words 'Live - updated 1:24:03 AM' would push the menu off the line */
  html.hphone .hgrid:not(.hone){grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
  html.hphone .hgrid:not(.hone) .hstack{display:contents}                                   /* its cards sit in the grid themselves */
  html.hphone .hgrid:not(.hone)>.hcard,html.hphone .hgrid:not(.hone) .hstack>.hcard{grid-column:auto;min-width:0}
  html.hphone .hgrid:not(.hone)>.hcard[data-card=dr],html.hphone .hgrid:not(.hone)>.hcard[data-card=np],html.hphone .hgrid:not(.hone)>.hcard[data-card=who]{grid-column:1/-1}
  /* an odd number of small cards: the last one takes the row. The stack holds Who's out and Store Reports always, Needs your OK and
     Invoicing when they have something; Lot Walk today and Next week follow it. "odd stack" = exactly one of OK / Invoicing. */
  html.hphone .hgrid:not(.hone):has(>.hstack>[data-card=ok]):has(>.hstack>[data-card=ivc]):not(:has(>[data-card=lw]))>[data-card=nw],
  html.hphone .hgrid:not(.hone):not(:has(>.hstack>[data-card=ok])):not(:has(>.hstack>[data-card=ivc])):not(:has(>[data-card=lw]))>[data-card=nw],
  html.hphone .hgrid:not(.hone):has(>.hstack>[data-card=ok]):not(:has(>.hstack>[data-card=ivc])):has(>[data-card=lw])>[data-card=nw],
  html.hphone .hgrid:not(.hone):has(>.hstack>[data-card=ivc]):not(:has(>.hstack>[data-card=ok])):has(>[data-card=lw])>[data-card=nw],
  html.hphone .hgrid:not(.hone):has(>.hstack>[data-card=ok]):has(>.hstack>[data-card=ivc]):not(:has(>[data-card=nw]))>[data-card=lw],
  html.hphone .hgrid:not(.hone):not(:has(>.hstack>[data-card=ok])):not(:has(>.hstack>[data-card=ivc])):not(:has(>[data-card=nw]))>[data-card=lw],
  html.hphone .hgrid:not(.hone):has(>.hstack>[data-card=ok]):not(:has(>.hstack>[data-card=ivc])):not(:has(>[data-card=lw])):not(:has(>[data-card=nw]))>.hstack>[data-card=rep],
  html.hphone .hgrid:not(.hone):has(>.hstack>[data-card=ivc]):not(:has(>.hstack>[data-card=ok])):not(:has(>[data-card=lw])):not(:has(>[data-card=nw]))>.hstack>[data-card=rep]{grid-column:1/-1}
  /* (3h8 stacked the who's-where rows here because the card was 447 wide. At the full width it is a table again: tech, clock, stores.) */
}
