/* Three-column frame: menu tree | selected page | calendar + arrivals. Tablet: icon rail, calendar on top. Phone: drawer menu, week strip. */
body{background:var(--bg);color:var(--ink);font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:16px;line-height:1.45}
button,input,select,textarea{font-family:inherit}
.g{flex:1;min-width:0}

/* frame */
.fr{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh;min-height:100dvh}
.fr[hidden]{display:none}
.nv{background:var(--card);border-right:1px solid var(--line);padding:20px 16px;position:sticky;top:0;height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.nv-brand{display:block;padding:4px 8px 18px;border-bottom:1px solid var(--line);margin-bottom:14px}
.lg-mk{display:none}
.nv-find{display:flex;align-items:center;gap:8px;background:var(--bg);border:0;border-radius:12px;padding:10px 12px;color:var(--muted);font-size:14.5px;margin-bottom:12px;cursor:pointer;text-align:left;width:100%}
.nv-find .ico{width:18px;height:18px}
.nv-tree{flex:1;overflow-y:auto;overflow-x:hidden;padding-bottom:8px}
.nv-i{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:12px;font-weight:600;font-size:15.5px;color:var(--ink);margin-bottom:2px;text-decoration:none;background:none;border:0;width:100%;text-align:left;cursor:pointer;line-height:1.25}
.nv-i:hover{background:var(--hover)}
.nv-c{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;flex:none}
.nv-c .ico{width:18px;height:18px}
.nv-cv{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;margin-left:auto;color:var(--slate-l);flex:none;cursor:pointer}
.nv-cv .ico{width:16px;height:16px}
.nv-grp.open>.nv-i .nv-cv .ico{transform:rotate(90deg)}
.nv-i.on{background:var(--navy);color:var(--on-color)}.nv-i.on .nv-cv{color:var(--on-color)}.nv-i.on:hover{background:var(--navy)}
.nv-i.on .nv-c{background:rgba(255,255,255,.16)!important;color:var(--on-color)!important}
.nv-k{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;margin:0 0 0 26px;border-left:2px solid var(--line);transition:grid-template-rows .22s ease,opacity .22s ease,margin .22s ease,visibility 0s .22s}
.nv-k>.nv-ki{min-height:0;overflow:hidden;padding-left:12px}
.nv-grp.open>.nv-k{grid-template-rows:1fr;opacity:1;visibility:visible;margin:2px 0 6px 26px;transition:grid-template-rows .22s ease,opacity .22s ease,margin .22s ease,visibility 0s}
.nv-cv .ico{transition:transform .22s ease}
@media (prefers-reduced-motion:reduce){.nv-k,.nv-grp.open>.nv-k,.nv-cv .ico{transition:none}}
.nv-k .nv-i{font-size:14.5px;padding:7px 10px;color:var(--ink-2)}
.nv-k .nv-i.on{background:var(--sky);color:var(--navy);font-weight:800}
.nv-b{margin-left:auto;font-size:12px;font-weight:800;border-radius:999px;padding:2px 8px;background:var(--red-soft);color:var(--red)}
.nv-foot{border-top:1px solid var(--line);padding-top:10px}
.nv-foot .nv-i{color:var(--muted);font-size:14.5px}
.nv-i .nv-t{flex:1;min-width:0}
.fr.slim{grid-template-columns:92px minmax(0,1fr)}

.wrapx{min-width:0;display:flex;flex-direction:column}
.tb{height:84px;background:var(--bg);display:flex;align-items:center;gap:14px;padding:0 28px;position:sticky;top:0;z-index:20}
.burger,.mlogo{display:none}
.tb-crumb{display:flex;flex-direction:column;min-width:0;flex-shrink:0;max-width:40%}
.tb-crumb small{font-size:13px;color:var(--muted);font-weight:600}
.tb-crumb small a{color:var(--blue);text-decoration:none;font-weight:700}
.tb-crumb b{font-size:21px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp{flex:1}
.tb-search{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:11px 18px;flex:none;color:var(--ink);font-weight:700;font-size:15px;cursor:pointer;text-align:left}
.tb-search .ico{flex:none}.tb-search .tx{white-space:nowrap;overflow:hidden;min-width:0}
.tb-search .ico{width:20px;height:20px}
.hb{width:46px;height:46px;border-radius:14px;border:1px solid var(--line);background:var(--card);display:grid;place-items:center;position:relative;flex:none;color:var(--ink);padding:0;cursor:pointer}
.hb .ico{width:22px;height:22px}
.hb.burger{display:none}
.dotc{position:absolute;top:-5px;right:-5px;min-width:22px;height:22px;border-radius:11px;background:var(--red);color:var(--on-color);font-size:12px;font-weight:800;display:grid;place-items:center;border:2px solid var(--card);padding:0 4px}
.dotc[hidden]{display:none}
.prof{position:relative}
.profb{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--card);border-radius:16px;padding:5px 12px 5px 5px;cursor:pointer;font:inherit;color:var(--ink)}
.av{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,color-mix(in srgb,var(--orange) 75%,#fff),var(--orange));color:var(--on-color);font-weight:800;display:grid;place-items:center;font-size:15px;flex:none}
.pn{text-align:left}.pn b{display:block;font-size:14.5px;line-height:1.15;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pn small{font-size:12.5px;color:var(--muted);font-weight:600}
.cv .ico{width:16px;height:16px;color:var(--muted);transform:rotate(90deg)}
.pmenu{position:absolute;right:0;top:58px;width:300px;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 50px rgba(15,27,45,.18);padding:10px;z-index:30}
.pmenu[hidden]{display:none}
.pm-h{display:flex;gap:12px;align-items:center;padding:8px 8px 14px;border-bottom:1px solid var(--line);margin-bottom:6px}
.pm-h .av{width:46px;height:46px;font-size:17px}.pm-h b{font-size:16px;display:block}.pm-h small{color:var(--muted);font-size:13px;word-break:break-all}
.pm-i{display:flex;align-items:center;gap:12px;padding:11px 10px;border-radius:12px;font-weight:600;font-size:15px;width:100%;background:none;border:0;cursor:pointer;color:var(--ink);text-align:left}
.pm-i:hover{background:var(--bg)}.pm-i .ico{width:20px;height:20px}
.pm-i.out{color:var(--red);border-top:1px solid var(--line);border-radius:0 0 12px 12px;margin-top:4px}
.tsz{margin-left:auto;display:flex;gap:4px}.tsz button{border:1px solid var(--line);border-radius:8px;padding:1px 8px;font-weight:800;background:var(--card);color:var(--ink);cursor:pointer;font-size:14px}.tsz button.on{background:var(--navy);color:var(--on-color);border-color:var(--navy)}
.pm-row{display:flex;align-items:center;gap:12px;padding:11px 10px;font-weight:600;font-size:15px}.pm-row .ico{width:20px;height:20px}

.bodyx{display:grid;grid-template-columns:minmax(0,1fr) 348px;grid-template-areas:"main side";gap:24px;padding:24px 28px 40px;align-items:start}
#app{grid-area:main;padding:0;max-width:none;margin:0;min-width:0;container-type:inline-size;container-name:center}
.side{grid-area:side;display:flex;flex-direction:column;gap:20px;min-width:0}
.scrim{display:none}

/* widget = title + grouped container */
.xw{background:var(--card);border:0;border-radius:var(--r-card);padding:18px 20px;box-shadow:var(--shadow);min-width:0}
.xwh{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.xwi{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none}
.xwi .ico{width:18px;height:18px}
.xwh h3{margin:0;font-size:17px;font-weight:800;flex:1;line-height:1.2}
.xwh h3 small{display:block;font-size:13px;font-weight:600;color:var(--muted)}
.xbtn{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14.5px;border-radius:12px;padding:9px 14px;background:var(--bg);color:var(--ink);white-space:nowrap;border:0;cursor:pointer;text-decoration:none}
.xcnt{font-size:13px;font-weight:800;border-radius:999px;padding:2px 10px}

/* calendar */
.calnav{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.calnav .ar{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);display:grid;place-items:center;background:var(--card);color:var(--ink);padding:0;cursor:pointer}
.calnav .ar .ico{width:16px;height:16px}.calnav .ar.l .ico{transform:rotate(180deg)}
.calnav .mo{flex:1;text-align:center;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center;gap:6px;background:none;border:0;cursor:pointer;color:var(--ink);padding:6px}
.calnav .mo .ico{width:14px;height:14px;transform:rotate(90deg);color:var(--muted)}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}
.cal .dw{font-size:12px;font-weight:800;color:var(--muted);padding:4px 0}
.cal .d{height:40px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:700;font-size:14.5px;position:relative;background:none;border:0;color:var(--ink);cursor:pointer;padding:0}
.cal .d.x{color:var(--slate-l)}
.cal .d.tod{box-shadow:inset 0 0 0 2px var(--orange)}
.cal .d.sel{background:var(--navy);color:var(--on-color);box-shadow:none}
.cal .d i{display:flex;gap:3px;position:absolute;bottom:4px}
.cal .d i em{width:5px;height:5px;border-radius:50%;display:block}
.qd{display:flex;gap:6px;margin-top:12px}
.qd button{flex:1;text-align:center;font-weight:700;font-size:13px;border-radius:10px;padding:8px 2px;background:var(--bg);border:0;color:var(--ink);cursor:pointer}
.qd button.on{background:var(--sky);color:var(--navy);box-shadow:inset 0 0 0 1.5px var(--bar-line)}
.clg{display:flex;gap:14px;margin-top:10px;font-size:12.5px;color:var(--muted);font-weight:600;flex-wrap:wrap}
.clg em{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:5px}
.mpick{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.mpick button{padding:12px 0;border-radius:12px;border:0;background:var(--bg);font-weight:700;color:var(--ink);cursor:pointer}
.mpick button.on{background:var(--navy);color:var(--on-color)}
.wkh{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.wkh .ar{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);display:grid;place-items:center;background:var(--card);padding:0;color:var(--ink);cursor:pointer}
.wkh .ar .ico{width:16px;height:16px}.wkh .ar.l .ico{transform:rotate(180deg)}
.wkh b{flex:1;text-align:center;font-size:16px}
.wks{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.wks button{border-radius:14px;padding:7px 0 9px;text-align:center;background:none;border:0;color:var(--ink);cursor:pointer;font:inherit}
.wks small{display:block;font-size:11px;font-weight:800;color:var(--muted)}
.wks b{font-size:18px}
.wks button.sel{background:var(--sky);color:var(--ink)}.wks button.sel small{color:var(--ink-2)}
.wks button.tod{box-shadow:inset 0 0 0 2px var(--orange)}
.wks i{display:flex;gap:3px;justify-content:center;height:5px;margin-top:2px}
.wks i em{width:5px;height:5px;border-radius:50%}
.ringed .cal .d i,.ringed .wks i{height:8px}.ringed .cal .d i em,.ringed .wks i em{width:8px;height:8px}   /* with a ring, both dots take the legend's size so the ring reads as a ring (Style 2026-10-28) */

/* arriving / departing rows */
.ga{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--line);width:100%;text-align:left;background:none;border-left:0;border-right:0;border-bottom:0;color:var(--ink);font:inherit}
.ga:first-of-type{border-top:0;padding-top:0}
.ga .nm{font-weight:700;font-size:15px}.ga .s{font-size:13px;color:var(--muted);line-height:1.3}
.ga .pad{font-weight:800;font-size:14px;border-radius:10px;padding:7px 0;width:52px;text-align:center;flex:none}
.ga .pill{font-size:12.5px;padding:4px 10px}
.ga-none{color:var(--muted);font-size:14px;padding:2px 0}

/* home */
.qa{display:flex;gap:10px;flex-wrap:wrap}
.qa button{display:inline-flex;align-items:center;gap:8px;background:var(--card);border:0;border-radius:999px;padding:10px 18px;font-weight:700;font-size:14.5px;color:var(--ink);cursor:pointer;box-shadow:var(--shadow)}
.qa button.o{background:var(--orange);color:var(--on-color)}
.qa .ico{width:18px;height:18px}
.hstats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
/* One Home for every park size (John 2026-10-26): one-line tiles for empty counts, then summary widgets whose rows open details */
.st.one{flex-direction:row;align-items:center;gap:10px;padding-top:8px;padding-bottom:8px}
.st.one .stt{flex:1 1 auto}
.st.one .stv{font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.home .hm-w{margin-top:16px}
.hm-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:0 1.5rem}
.hm-dv{display:flex;align-items:center;gap:10px;font-size:.8125rem;font-weight:800;color:var(--muted);margin:.6rem 0 .1rem}
.hm-dv::after{content:"";flex:1;height:1px;background:var(--line)}
.hm-row{display:flex;align-items:center;gap:10px;width:100%;border:0;border-top:1px solid var(--line);background:none;font:inherit;color:var(--ink);text-align:left;padding:.5rem 0;cursor:pointer;min-height:var(--btn-h);box-sizing:border-box}
.hm-dv+.hm-row,.hm-dv+.hm-cols>.hm-row:nth-child(-n+2){border-top:0}
.hm-row .g{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.hm-row small{color:var(--muted);font-weight:600;font-size:.8125rem}
.hm-row .hm-chev{width:1rem;height:1rem;color:var(--muted);flex:none}
.hm-foldin{padding:.25rem 0 .75rem}
.hm-foldin .agdiv{display:none}.hm-foldin .agdiv.cdiv{display:flex;margin:4px 0 0}.hm-foldin .agdiv.cdiv::before{display:none}   /* only Completed shows, like the Today divider (John 2026-10-28) */   /* the row above already names the list (John 2026-10-26) */
.hm-n{font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.hm-bar{display:block;height:.5rem;border-radius:999px;background:var(--soft);overflow:hidden;margin-top:.35rem}
.hm-bar i{display:block;height:100%;background:var(--info)}
.hm-tbl{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.hm-tbl th{font-size:.8125rem;color:var(--muted);font-weight:800;text-align:right;padding:.1rem 0 .35rem}
.hm-tbl td{padding:.55rem 0;border-top:1px solid var(--line);text-align:right;font-weight:700}
.hm-tbl th:first-child,.hm-tbl td:first-child{text-align:left}
.hm-tbl tr.tot td{font-weight:800}
.hm-tot{font-size:1.625rem;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.hm-pills{display:flex;flex-wrap:wrap;gap:6px}
/* Things to do nearby (feature localEvents): outline symbol on the event tint, never emoji or a fixed color */
.evpic{background:var(--c-event);color:var(--c-event-d);font-size:inherit}
.evpic .ico{width:1.75rem;height:1.75rem;position:relative}
.evpic img+.ico{display:none}
.evacts{display:flex;flex-wrap:wrap;gap:6px;margin-top:.5rem}
.evacts .xbtn{display:inline-flex;align-items:center;gap:.3em;min-height:var(--btn-h-sm,38px)}.evacts .xbtn .ico{width:1em;height:1em}
.evtop{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:8px;margin-bottom:.75rem}
.k-event .evpic{background:var(--card)}
.evsym{justify-content:flex-start}.evsym .chip{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem}.evsym .chip .ico{width:1.25rem;height:1.25rem}
.evkind{margin-bottom:.75rem;max-width:100%}.evkind span{text-align:center}
.evmore-link{display:inline-flex;align-items:center;gap:.3em;color:var(--blue);text-decoration:underline;font-weight:700;white-space:nowrap}.evmore-link .ico{width:1em;height:1em}
@media (max-width:699px){.x-ev .xwh h3 small{display:none}.x-ev .evadd span{display:none}.x-ev .evadd{min-width:var(--btn-h,44px);min-height:var(--btn-h,44px);justify-content:center}}
.evhid{margin-top:1rem}.evhid>.hm-row{color:var(--muted)}
.st{border:0;border-radius:22px;padding:14px 16px 16px;text-align:left;cursor:pointer;color:var(--ink);font:inherit;display:block}
.st.lav{background:var(--lav)}.st.sun{background:var(--sun)}
.st{display:flex;flex-direction:column}
.st .sth{display:flex;align-items:center;gap:10px;margin-bottom:12px;min-width:0}
.st .stt{font-size:15px;font-weight:700;min-width:0;overflow-wrap:anywhere}
.st .stb{flex:1 1 auto}
.st .stf{display:flex;margin-top:12px}
.st .chip{background:var(--card);border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:800}
.st .big{font-size:26px;font-weight:700;line-height:1.1;white-space:nowrap}
.st .lab{font-size:15px;font-weight:600;margin-top:2px}
.st small{display:block;font-size:12.5px;color:color-mix(in srgb,var(--ink) 62%,transparent);font-weight:600;margin-top:2px}
.hrow{display:grid;grid-template-columns:1fr;gap:20px;align-items:stretch}
.home{display:flex;flex-direction:column;gap:20px}
.xw .card.d{all:unset}
.wxbox{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.wxbox .t{font-size:44px;font-weight:800;line-height:1}
.wxbox .s{font-size:14px}
.wxdays{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:100%;margin-top:8px}
.wxdays div{text-align:center;border-radius:14px;padding:8px 2px;background:var(--bg);font-size:13px;font-weight:700}
.wxdays .ico{display:block;margin:4px auto;width:22px;height:22px}
.al{border-radius:14px;border-left-width:5px}
.xw .note{background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:10px 0;margin:0}
.xw .note:first-of-type{border-top:0;padding-top:0}
.xw .note .x{top:10px}
.xw .lr:first-of-type{border-top:0}

/* existing pages in the new look */
.widget,.card.d,.jb,.sheet,.today div{border-radius:20px}
.widget{border:0;box-shadow:var(--shadow)}
.jb{border:0;box-shadow:var(--shadow)}
.jb .ji{border-radius:12px}
.hubnote{border-width:1px}
.see,.btnw{border-radius:12px}
h1,.sheet h2{letter-spacing:-.01em}
.center-title{display:none}
.tab>h2:first-child{margin-top:0}
@container center (min-width:0px){
  .jumps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .widgets,.widgets:not([style]){grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
}
@container center (min-width:560px){
  .jumps{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container center (min-width:760px){
  .jumps{grid-template-columns:repeat(var(--jc,5),minmax(0,1fr))}
  .widgets{grid-template-columns:repeat(min(var(--n,2),2),minmax(0,1fr));align-items:stretch}
  .widgets:not([style]){grid-template-columns:repeat(2,minmax(0,1fr))}
  .widget.s2{grid-column:span 2}
  .widgets:not([style]) .wp-occ,.widgets:not([style]) .wp-open,.widgets:not([style]) .wp-leave,.widgets:not([style]) .wp-long{order:0;grid-column:span 2}
}
@container center (min-width:1000px){
  .widgets{grid-template-columns:repeat(var(--n,2),minmax(0,1fr))}
  .widgets:not([style]){grid-template-columns:repeat(3,minmax(0,1fr))}
  .widgets:not([style]) .wp-leave,.widgets:not([style]) .wp-long{grid-column:auto}
}

/* ---------- tablet: icon rail, calendar and arrivals across the top ---------- */
@media (max-width:1199px){
  .tb{padding:0 22px}.tb-search{padding:11px 14px}
  .bodyx{grid-template-columns:minmax(0,1fr) 320px;padding:20px 22px 40px;gap:20px}
  .side{position:static}
  .pn{display:none}.profb{padding:4px}.profb .cv{display:none}
}
/* the icon menu: the tablet default (unless the person chose names, html.navw), and the phone drawer's base */
@media (max-width:699px){
  .fr,.fr.slim{grid-template-columns:92px minmax(0,1fr)}
  .nv{padding:16px 8px;align-items:center}
  .nv-brand{padding:0 0 14px;margin-bottom:10px;width:100%;display:flex;justify-content:center}
  .lg-full{display:none}
  .lg-mk{display:block}
  .nv-find,.nv-k,.nv-cv,.nv-b,.nv-foot{display:none!important}
  .nv-tree{width:100%}
  .nv-i{flex-direction:column;gap:4px;font-size:11.5px;padding:8px 2px;text-align:center;font-weight:700;align-items:center}
  .nv-i .nv-t{flex:none}
  .nv-i.on{background:var(--sky);color:var(--navy)}
  .nv-i.on .nv-c{background:var(--navy)!important}
}
@media (min-width:700px) and (max-width:1199px){
  :where(html:not(.navw)) .fr,:where(html:not(.navw)) .fr.slim{grid-template-columns:92px minmax(0,1fr)}
  :where(html:not(.navw)) .nv{padding:16px 8px;align-items:center}
  :where(html:not(.navw)) .nv-brand{padding:0 0 14px;margin-bottom:10px;width:100%;display:flex;justify-content:center}
  :where(html:not(.navw)) .lg-full{display:none}
  :where(html:not(.navw)) .lg-mk{display:block}
  :where(html:not(.navw)) .nv-find,:where(html:not(.navw)) .nv-k,:where(html:not(.navw)) .nv-cv,:where(html:not(.navw)) .nv-b,:where(html:not(.navw)) .nv-foot{display:none!important}
  :where(html:not(.navw)) .nv-tree{width:100%}
  :where(html:not(.navw)) .nv-i{flex-direction:column;gap:4px;font-size:11.5px;padding:8px 2px;text-align:center;font-weight:700;align-items:center}
  :where(html:not(.navw)) .nv-i .nv-t{flex:none}
  :where(html:not(.navw)) .nv-i.on{background:var(--sky);color:var(--navy)}
  :where(html:not(.navw)) .nv-i.on .nv-c{background:var(--navy)!important}
}
/* ---------- phone: menu in a drawer, week strip calendar ---------- */
@media (max-width:699px){
  body{font-size:16.5px}
  .fr,.fr.slim{display:block}
  .nv{position:fixed;left:0;top:0;bottom:0;width:84px;z-index:50;transform:translateX(-100%);transition:transform .2s;align-items:center;padding:18px 8px}
  body.drawer .nv{transform:none;box-shadow:20px 0 60px rgba(15,27,45,.25)}
  body.drawer .scrim{display:block;position:fixed;inset:0;background:rgba(15,27,45,.45);z-index:40}
  /* the phone drawer shows each section's name beside its icon (John 2026-10-24); it is as wide as its longest name */
  .nv{width:max-content;max-width:80vw;align-items:stretch;padding:18px 12px}
  .nv-i{flex-direction:row;justify-content:flex-start;gap:12px;padding:12px 16px 12px 12px;font-size:16px;text-align:left}
  .nv-i.on{background:var(--sky);color:var(--ink)}
  .tb{height:64px;padding:0 14px;gap:10px;padding-top:env(safe-area-inset-top);position:sticky;top:0;background:var(--bg)}
  .hb.burger,.mlogo{display:grid}.tb-crumb{display:none}.tb-search{display:none}
  .hb{width:44px;height:44px}
  .bodyx{padding:14px 14px 40px;gap:16px}
  .side{display:flex;flex-direction:column;align-items:stretch;gap:16px}
  .xw{padding:16px;border-radius:18px}
  .hstats{gap:12px}
  .qa button{flex:1 1 40%;justify-content:center;padding:12px 8px}
  .home{gap:16px}
}
/* Menu width (John 2026-10-26): the person can switch the menu to icons only (html.navi) on any screen; shell.js keeps
   the choice. The same icon menu as the tablet default; in the phone drawer it is a narrow strip. */
:where(html.navi) .fr,:where(html.navi) .fr.slim{grid-template-columns:92px minmax(0,1fr)}
:where(html.navi) .nv{padding:16px 8px;align-items:center}
:where(html.navi) .nv-brand{padding:0 0 14px;margin-bottom:10px;width:100%;display:flex;justify-content:center}
:where(html.navi) .lg-full{display:none}
:where(html.navi) .lg-mk{display:block}
:where(html.navi) .nv-find,:where(html.navi) .nv-k,:where(html.navi) .nv-cv,:where(html.navi) .nv-b,:where(html.navi) .nv-foot{display:none!important}
:where(html.navi) .nv-tree{width:100%}
:where(html.navi) .nv-i{flex-direction:column;gap:4px;font-size:11.5px;padding:8px 2px;text-align:center;font-weight:700;align-items:center}
:where(html.navi) .nv-i .nv-t{flex:none}
:where(html.navi) .nv-i.on{background:var(--sky);color:var(--navy)}
:where(html.navi) .nv-i.on .nv-c{background:var(--navy)!important}
@media (max-width:699px){:where(html.navi) .nv{width:92px;padding:18px 8px}:where(html.navi) .nv-i{flex-direction:column;gap:4px;padding:8px 2px}}

@container center (min-width:720px){.hrow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container center (min-width:860px){.hstats{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* phone: top bar shows the page title on every page but Home */
@media (max-width:699px){
  .fr.sub .tb-crumb{display:flex}.fr.sub .mlogo{display:none}.tb-crumb small #tbDate{display:none}
  .tb-crumb b{font-size:19px}
}
.mlogo{align-items:center}
.cw.pick #impFile{max-width:100%}

.tdy{margin-left:auto;border:0;background:var(--bg);border-radius:999px;padding:4px 12px;font-weight:700;font-size:12.5px;color:var(--ink);cursor:pointer}
.calnav .ar{border:0;background:var(--bg)}
/* upcoming agenda */
.aglist{display:flex;flex-direction:column;gap:10px}
.ag{display:flex;align-items:center;gap:12px;border:0;border-radius:16px;padding:12px 14px;text-align:left;font:inherit;color:var(--ink);width:100%;cursor:default}
button.ag{cursor:pointer}
.ag .al-t{width:auto;max-width:7.5em;flex:none;font-size:12.5px;font-weight:800;color:color-mix(in srgb,var(--ink) 70%,transparent);border-right:1px solid color-mix(in srgb,var(--ink) 12%,transparent);padding-right:10px;line-height:1.2}
/* John 2026-10-24: the label column is only as wide as its word (Note, Arriving, Overdue…), so widths vary by card type */
.ag .g b{display:block;font-size:15px;line-height:1.25}
.ag .g .gt{display:block;font-size:13px;font-weight:800;color:color-mix(in srgb,var(--ink) 72%,transparent);line-height:1.3;margin-bottom:2px}
.ag .g small{display:block;font-size:12.5px;color:color-mix(in srgb,var(--ink) 62%,transparent);font-weight:600;line-height:1.3}
.ag .pill{flex:none;font-size:12px;padding:3px 9px}
/* activity cards: checklist status on its own row under the card's text */
.ag:has(.ast){flex-wrap:wrap;row-gap:8px}
.ag .ast{flex:1 0 100%;display:flex;background:none;align-items:center;gap:6px;font-size:12.5px;font-weight:800;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--ink) 10%,transparent)}
.ag .ast .ico{width:16px;height:16px}
.ag.done>.g b{text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--ink) 35%,transparent)}.ag .ast.sched{color:color-mix(in srgb,var(--ink) 70%,transparent);font-weight:700}.ag .ast.idle{color:var(--slate)}.ag .ast.info{color:var(--info)}.ag .ast.ok{color:var(--ok-d)}

/* ---------- SchoolHub palette: lavender page, pastel accents, thin gray outline icons ---------- */
.ico{stroke-width:1.5}
.nv-c{background:none!important;color:var(--muted)!important;width:26px;height:26px}
.nv-c .ico{width:20px;height:20px;stroke-width:1.5}
.nv-i{color:var(--ink-2);border-radius:14px}
.nv-i:hover{background:var(--hover)}
.nv-i.on,.nv-i.on:hover{background:var(--sky);color:var(--ink)}
.nv-i.on .nv-c{background:none!important;color:var(--ink)!important}
.nv-i.on .nv-cv{color:var(--ink)}
.nv-k .nv-i.on{background:var(--sky);color:var(--ink)}
.nv{border-right:0;box-shadow:0 4px 18px rgba(40,55,100,.06)}
.nv-find,.hb,.profb,.tb-search{background:var(--card);border-color:transparent}
.hb .ico{stroke-width:1.5}
.cal .d.sel,.wks button.sel{background:var(--sky);color:var(--ink)}
.cal .d.tod,.wks button.tod{box-shadow:inset 0 0 0 2px var(--lav-d)}
.wks button.sel small{color:var(--ink-2)}
.tsz button.on,.mpick button.on{background:var(--lav-d);border-color:var(--lav-d);color:var(--on-color)}
.qd button.on{background:var(--sky);box-shadow:none}
.ag.blue{background:var(--sky)}.ag.orange{background:var(--c-note)}.ag.purple{background:var(--c-activity)}.ag.teal{background:var(--sky)}.ag.green{background:var(--c-activity)}.ag.red{background:var(--c-alert)}
.st .chip{color:var(--ok)}
.st .chip.dn{color:var(--red)}
.qa button.o{background:var(--lav-dd);color:var(--on-color)}
.xwi{background:var(--soft)!important}
.xwi .ico{color:var(--lav-dd)!important}
.xbtn{background:var(--lav);color:var(--ink)}
@media (max-width:1199px){.nv-i.on{background:var(--sky);color:var(--ink)}.nv-i.on .nv-c{background:none!important}}
@media (max-width:699px){.nv-i.on{background:var(--sky);color:var(--ink)}.nv-i.on .nv-c{background:none!important}.nv-k .nv-i.on{background:var(--sky);color:var(--ink)}.tb{background:var(--bg)}}

/* weather on one line, full width; no page title on Home, no date anywhere */
.x-wx,.x-ev{grid-column:1/-1}
.x-wx .wxbox{flex-wrap:nowrap;gap:18px}
.x-wx .wxbox .g{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px}
.x-wx .wxbox .g .t{margin-right:0}
.x-wx .wxdays{width:auto;margin:0 0 0 auto;grid-template-columns:repeat(3,76px);flex:none}
@media (max-width:699px){.x-wx .wxbox{flex-wrap:wrap}.x-wx .wxdays{width:100%;margin:8px 0 0;grid-template-columns:repeat(3,1fr)}}
/* forecast: 5 days when the card is wide, then 4, then 3 as it narrows */
.x-wx{container-type:inline-size}
.x-wx .wxdays>div:nth-child(n+6){display:none}
@media (min-width:700px){
  .x-wx .wxdays{grid-template-columns:repeat(5,76px)}
  @container (max-width:739px){.x-wx .wxdays{grid-template-columns:repeat(4,76px)}.x-wx .wxdays>div:nth-child(n+5){display:none}}
  @container (max-width:639px){.x-wx .wxdays{grid-template-columns:repeat(3,76px)}.x-wx .wxdays>div:nth-child(n+4){display:none}}
  @container (max-width:479px){.x-wx .wxdays{grid-template-columns:repeat(2,76px)}.x-wx .wxdays>div:nth-child(n+3){display:none}}
}
@media (max-width:699px){
  .x-wx .wxdays{grid-template-columns:repeat(5,1fr)}
  @container (max-width:339px){.x-wx .wxdays{grid-template-columns:repeat(4,1fr)}.x-wx .wxdays>div:nth-child(n+5){display:none}}
  @container (max-width:279px){.x-wx .wxdays{grid-template-columns:repeat(3,1fr)}.x-wx .wxdays>div:nth-child(n+4){display:none}}
}
/* week strip scales with the calendar card so the days never crowd */
.cw{container-type:inline-size}
@container (max-width:320px){.wks{gap:2px}.wks b{font-size:clamp(14px,5.6cqi,18px)}.wks small{font-size:clamp(9.5px,3.4cqi,11px)}.wks button{border-radius:12px}}
.up .xwh h3 small{margin-top:5px}
.wks button{padding-left:2px;padding-right:2px;min-width:0}
#tbDate{display:none}
.fr:not(.sub) .tb-crumb{display:none}

/* office calendar, summary boxes */
.ofnav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.ofnav b{font-size:18px;flex:1;text-align:center;min-width:150px}
/* Calendar week bar: arrows hug the date, centered in the space left of Today and Add shift */
.wknav .ofwk{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}
.wknav .ofwk b{flex:none;min-width:0;padding:0 4px}
.wknav .ofwkb{display:flex;align-items:center;gap:6px;height:40px;padding:0 10px;border:0;border-radius:var(--btn-r);background:transparent;color:var(--ink);font:inherit;cursor:pointer;min-width:0}
.wknav .ofwkb:hover{background:var(--hover)}
.wknav .ofwkb .ico{width:14px;height:14px;transform:rotate(90deg);color:var(--muted);flex:none}
.sheet .ofwkr{justify-content:space-between}.sheet .ofwkr small{color:var(--muted);font-weight:600}
.sheet .ofwkr.past{opacity:.5}.sheet .ofwkr.on{border-color:var(--lav-d)}
.ofnav .ar{width:40px;height:40px;border-radius:12px;border:0;background:var(--card);display:grid;place-items:center;cursor:pointer;color:var(--ink);padding:0}
.ofnav .ar .ico{width:16px;height:16px}.ofnav .ar.l .ico{transform:rotate(180deg)}
/* Calendar day cards: never narrower than 380px (a bit wider than Home's Upcoming), so tiles keep room; columns come and go with the page width */
.ofgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(380px,100%),1fr));gap:16px}
/* Calendar week (John 2026-10-23): seven small day cards on one row; narrow screens scroll the row sideways. Past days fade. */
#officeBody{container-type:inline-size}
.ofweek{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;padding:2px 2px 8px}
.ofd{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-height:170px;padding:12px;border:0;border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);color:var(--ink);font:inherit;text-align:left;cursor:pointer;min-width:0}
.ofd:hover{background:var(--hover)}
.ofd.past{opacity:.5}
.ofd.tod{box-shadow:inset 0 0 0 2px var(--lav-d),var(--shadow)}
.ofd-h b{display:block;font-size:16px;font-weight:800}.ofd-h small{display:block;font-size:12.5px;color:var(--muted);font-weight:600}
.ofd-staff{display:flex;flex-direction:column;gap:4px}
.ofd-s{font-size:13px;font-weight:700;background:var(--c-shift);color:var(--ink);border-radius:calc(var(--radius) / 2);padding:3px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ofd-s small{font-weight:600;color:var(--muted)}
.ofd-s.need{white-space:normal;background:transparent;border:1.5px dashed var(--c-shift-d);color:var(--c-shift-d)}
.ofd-s.ro{background:var(--soft);color:var(--muted)}
.ofd-cs{display:flex;flex-direction:column;gap:3px}
.ofd-c{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;white-space:nowrap}
.ofd-c i{width:8px;height:8px;border-radius:50%;flex:none}
.ofd-none{font-size:12.5px;color:var(--muted)}
/* Week view fits the width: 7 across when wide, 2 columns of day rows when medium, one full-width row per day on phones. No sideways scroll. */
@container (max-width:899px){
  .ofweek{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ofd{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:12px;row-gap:6px;min-height:0;align-items:start}
  .ofd-h{grid-row:1 / span 2}
  .ofd-staff,.ofd-cs,.ofd-none{grid-column:2}
  .ofd-cs{flex-direction:row;flex-wrap:wrap;gap:4px 12px}
}
@container (max-width:559px){
  .ofweek{grid-template-columns:1fr}
  .wknav .ofwk{gap:6px}
  .wknav .ofwk b{font-size:15px;padding:0}
  .wknav .ofwkb{padding:0 4px}
  .ofd.empty{display:flex;flex-direction:row;align-items:baseline;gap:10px;padding:8px 12px}
  .ofd.empty .ofd-h{display:flex;align-items:baseline;gap:6px}
  .ofd.empty .ofd-staff{display:none}
}
.of.tod{box-shadow:inset 0 0 0 2px var(--lav-d),var(--shadow)}
.ofh{margin:0 0 10px;font-size:17px;font-weight:800}.ofh small{display:block;font-size:13px;color:var(--muted);font-weight:600}
/* "Office needs staff" on a day card: dashed shift-colored box; tapping it starts the shift questions */
.needstaff{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;margin:0 0 8px;padding:12px 14px;border:2px dashed var(--c-shift-d);border-radius:16px;background:var(--card);color:var(--ink);font:inherit;font-weight:700;text-align:left;cursor:pointer}
.needstaff .ico{width:18px;height:18px;color:var(--c-shift-d)}
.needstaff.ro{cursor:default;border-color:var(--line);color:var(--muted);font-weight:600}
.of .ag{margin-bottom:8px}.of .aglist{gap:8px}.of .aglist .ag{margin-bottom:0}
.note[data-act],.lr.ev[data-act]{cursor:pointer}
.note[data-act]:hover,.lr.ev[data-act]:hover{background:var(--hover)}

.tb-note{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:11px 18px;background:var(--card);color:var(--ink);font-weight:700;font-size:15px;cursor:pointer;flex:none}
.tb-note .ico{width:18px;height:18px}
@media (max-width:1199px){.tb-note{padding:11px 14px}}
.tb-note .pic{display:none}


@media (min-width:700px){.tb-crumb{display:flex!important}.tb-crumb b{font-size:24px}}
.ag.yellow{background:var(--c-note)}
.note.done{opacity:.6}

.hb.burger{width:auto;min-width:48px;padding:0 8px}
@media (max-width:699px){.mlogo{display:none!important}.hb.burger{display:grid}}
@container center (min-width:860px){.hstats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.home .x-notes{grid-column:1/-1}

/* menu disclosure: big tap target at the trailing end */
.nv-cv{width:52px;height:auto;align-self:stretch;margin:-8px -10px -8px auto;border-radius:12px;display:grid;place-items:center}
.nv-cv:hover{background:var(--hover)}
.nv-cv .ico{width:18px;height:18px}
.reasons{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.reasons .chip.on{background:var(--lav-dd);color:var(--on-color);border-color:var(--lav-dd)}
/* .one: chips share a single row and shrink to fit the screen (tighter padding on phones) */
.reasons.one{flex-wrap:nowrap}.reasons.one .chip{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:699px){.reasons.one{gap:6px}.reasons.one .chip{padding-left:8px;padding-right:8px}}
/* Money pages: account cards stack one per row and the Count now button runs full width on phones */
.cntgo{max-width:320px;margin-bottom:16px}
@media (max-width:699px){.mstats{grid-template-columns:1fr}.cntgo{max-width:none}}
/* Admin > Money accounts: two boxes side by side, stacked on phones */
.ma-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ma-2 label{display:block;min-width:0}
@media (max-width:699px){.ma-2{grid-template-columns:1fr}}
/* Admin > Prices by site type: a row per type; its boxes 2 across on phones, 4 on tablets, all 8 in one row on desktops */
.tp-row{margin-bottom:12px}.tp-name{display:block;margin-bottom:6px}.tp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px;align-items:end}.tp-grid label{display:block;min-width:0}
@media (max-width:699px){.tp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1200px){.tp-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media (min-width:1200px){.dealsbody.ma-wide{max-width:none}.ma-list{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.ma-list>section{margin-bottom:0!important}}
.reply{background:var(--hover);border-radius:14px;padding:10px 12px;margin:8px 0;font-size:15.5px;color:var(--ink)}
.reply b{font-weight:800}

/* phone: behave like an app (no double-tap or pinch zoom, no rubber-band, no text selection or tap flash on controls) */
html{touch-action:manipulation;-webkit-text-size-adjust:100%}
@media (max-width:699px){
  html,body{overscroll-behavior-y:none}
  body{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}
  button,a,.nv,.tb,.xw,.ag,.st,.cw,.chip,.note,.lr{-webkit-user-select:none;user-select:none}
  input,textarea,select,[contenteditable]{-webkit-user-select:text;user-select:text;font-size:16px}
}
.staff input.uphone,.staff input.uemail{max-width:320px;padding:8px 10px;font-size:17px;display:block;margin-top:6px;width:100%}

/* under 900px: calendar on top, Upcoming right below, then the page; weather becomes a small button in the top bar */
.wxbtn{display:none;align-items:center;gap:6px;border:0;border-radius:999px;background:var(--card);padding:9px 14px;font:inherit;font-weight:800;font-size:15px;color:var(--ink);cursor:pointer;flex:none}
.wxbtn .ico{width:22px;height:22px;stroke-width:1.8}
.wxbtn[hidden]{display:none!important}
.sheet .x-wx{box-shadow:none;padding:0;margin-top:8px}
@media (max-width:899px){
  .bodyx{grid-template-columns:minmax(0,1fr);grid-template-areas:"side" "main";gap:16px}
  .side{display:flex;flex-direction:column;gap:16px}
  .home .x-wx{display:none}
  .wxbtn{display:inline-flex}
}

.st .stb{display:flex;align-items:center;justify-content:space-between;gap:10px}
.st .dn{width:84px;height:84px;flex:none}
/* under 900px, and on submenu pages: calendar and Upcoming float from a top-bar calendar icon over a dimmed page */
.calbtn,.calclose{display:none}
body.sub .bodyx{grid-template-columns:minmax(0,1fr);grid-template-areas:"main"}
body.sub .side{display:none}
body.sub .calbtn{display:grid}
body.calopen .side{display:flex;position:fixed;left:12px;right:12px;top:calc(72px + env(safe-area-inset-top));max-height:calc(100vh - 96px - env(safe-area-inset-top));overflow-y:auto;background:var(--bg);border-radius:24px;padding:12px;z-index:35;box-shadow:0 0 0 100vmax rgba(15,27,45,.5)}
body.calopen .calclose{display:grid;place-items:center;position:fixed;right:20px;top:calc(76px + env(safe-area-inset-top));width:36px;height:36px;border:0;border-radius:50%;background:var(--card);font-size:20px;line-height:1;color:var(--ink);z-index:36;box-shadow:0 2px 8px rgba(15,27,45,.2)}
.calbtn{place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--card);color:var(--ink);cursor:pointer;flex:none}
.calbtn .ico{width:22px;height:22px}
@media (min-width:900px){body.calopen .side{left:auto;right:28px;width:380px;top:84px}body.calopen .calclose{right:36px;top:88px}}
@media (max-width:899px){
  .bodyx{grid-template-areas:"main"}
  .side{display:none}
  .calbtn{display:grid}
}
/* large screens: weather and calendar widgets sit side by side at the same height (calendar may grow when opened to a month) */
@media (min-width:900px){
  .home .x-wx,.side .cw{min-height:192px;box-sizing:border-box}
  .home .x-wx{display:flex;flex-direction:column;justify-content:center}
}
.st .dn .tr{stroke:color-mix(in srgb,var(--card) 55%,transparent)}
.st.lav .dn .fg{stroke:var(--lav-dd)}.st.sun .dn .fg{stroke:var(--accent)}
.st .dn .tx{fill:color-mix(in srgb,var(--ink) 72%,transparent)}
/* under 900px: on Home the calendar and Upcoming are normal widgets above the rest; other pages use the calendar icon */
@media (max-width:899px){
  body.ishome .bodyx{grid-template-areas:"side" "main"}
  body.ishome .side{display:flex;flex-direction:column;gap:16px}
  body.ishome .calbtn{display:none}
}

/* Pages in NO_SIDE (app.js), e.g. Calendar and Tasks: no right-column calendar or Upcoming, and no calendar icon */
body.noside .bodyx{grid-template-columns:minmax(0,1fr);grid-template-areas:"main"}
body.noside .side,body.noside .calbtn{display:none!important}

/* park map: whole map on large screens; under 1200px one third at a time (Left: storage and green space, Center: rows and roads,
   Right: everything else) or All (the whole map, scrolls sideways). Each third keeps the same layout it has in the whole map. */
.mpanes{display:none}
@media (max-width:1199px){
  .mpanes{display:flex;gap:6px;background:var(--card);border-radius:999px;padding:4px;margin:6px 0 10px}
  .mpanes button{flex:1;border:0;background:none;border-radius:999px;padding:10px 6px;font:inherit;font-weight:700;color:var(--muted);cursor:pointer}
  .mpanes button.on{background:var(--sky);color:var(--ink)}
  .pmap:not([data-show="A"]){display:block;min-width:0;padding-bottom:14px}
  .pmap:not([data-show="A"])>.mroad,.pmap:not([data-show="A"])>.mhwy{display:none}
  .pmap:not([data-show="A"])>[data-p]{display:none}
  /* Left is turned a quarter turn: storage runs in two rows, H01/H02 at the left (by the office) to H39/H40 at the right,
     with the green space and the office below it on the left. */
  .pmap[data-show="L"]{display:grid;grid-template-columns:auto;grid-template-rows:auto auto;gap:10px 0;width:max-content}
  .pmap[data-show="L"]>[data-p="L"]{display:flex}
  .pmap[data-show="L"] .mstore{grid-row:1;grid-column:1}
  .pmap[data-show="L"] .mlabel{text-align:left}
  .pmap[data-show="L"] .mstgrid{grid-auto-flow:column;grid-template-rows:30px 30px;grid-template-columns:none;grid-auto-columns:46px;direction:rtl}
  .pmap[data-show="L"] .mstgrid>*{direction:ltr}
  .pmap[data-show="L"] .mgreen{grid-row:2;grid-column:1;flex-direction:row;align-items:center;gap:16px;min-height:110px}
  .pmap[data-show="L"] .mgreen .mf{order:-1;width:120px;flex:none}
  .pmap[data-show="L"] .mgreen .glabel{justify-content:flex-start}
  .pmap[data-show="C"]>[data-p="C"]{display:grid;min-width:480px}
  .pmap[data-show="R"]>[data-p="R"]{display:grid;min-width:520px}
}
/* Every Add button, top bar and page alike, is one color: --add (John 2026-10-25) */
.tb-note,.tb-note.alt,.addbtn{background:var(--add);color:var(--on-color)}
.tb-note .ic{display:grid}.tb-note .ic .ico{width:18px;height:18px}
/* phone: Note, Money, Problem and Guest stay as icon-only buttons (always on screen); weather shows as its card on Home instead of a top-bar button */
@media (max-width:699px){
  #wxBtn{display:none!important}
  .home .x-wx{display:block}
}
/* small tablets: search is icon-only so the top bar fits */
@media (max-width:899px){.tb{gap:8px}.tb-crumb{flex-shrink:1}.tb-search{padding:11px}.tb-search .tx{display:none}.tb-note{padding:10px 12px;gap:5px}}
/* popup close button (on its own line at the top right, John 2026-10-23) and the "lose your changes?" bar */
.sheet{position:relative}
.sheet .sheetx{position:sticky;top:0;z-index:2;width:max-content;height:var(--btn-h-sm,38px);margin:-6px -4px 8px auto;padding:0 14px;border:0;border-radius:var(--btn-r);background:var(--lav);color:var(--ink);font:inherit;font-weight:700;font-size:var(--btn-fs-sm,14px);cursor:pointer;display:grid;place-items:center}
.sheetask{position:sticky;top:0;z-index:3;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;background:var(--c-leave);border-radius:14px;padding:12px 14px;margin:0 0 12px;clear:both}
.sheetask span{display:flex;gap:8px}
.sheet .sheetx{min-width:0;min-height:0}
/* Close stays on a solid halo, so fields scroll under it, not beside it */
.sheet .sheetx{box-shadow:0 0 0 6px var(--card)}   /* no clip-path: Safari hid the whole button with it (John 2026-10-28) */
/* reply box with Save beside it */
.sheet .replyrow{display:flex;gap:8px;align-items:stretch;margin-top:8px}
.sheet .replyrow textarea{flex:1;min-height:52px;height:52px;margin:0;resize:vertical}
.sheet .replyrow .btnw{width:auto;flex:none;margin:0;padding:0 20px}

/* Section bar (sectionNavHtml + fitSectionNav): the pages of a section as one row of pills under the page title */
.secwrap{position:relative;margin:0 0 18px}
.secnav{display:flex;gap:6px;align-items:center;background:var(--card);border-radius:18px;padding:8px;overflow:hidden}
.secnav .sn-p,.secnav .sn-more,.sn-menu .sn-mi{display:flex;align-items:center;gap:7px;padding:9px 14px;border-radius:12px;font:inherit;font-weight:700;font-size:14px;color:var(--ink-2);white-space:nowrap;text-decoration:none;flex:none;border:0;background:none;cursor:pointer}
.secnav .sn-p[hidden],.secnav .sn-more[hidden],.sn-menu .sn-mi[hidden]{display:none}
.secnav .ico,.sn-menu .ico{width:17px;height:17px}
.secnav .sn-p.on,.sn-menu .sn-mi.on{background:var(--sky);color:var(--ink)}
.secnav em,.sn-menu em{font-style:normal;font-size:11.5px;font-weight:800;background:var(--bg);border-radius:999px;padding:1px 7px;color:var(--ink-2)}
.secnav em:empty{display:none}
.secnav .sn-p.on em{background:var(--card)}
.secnav .sn-more{margin-left:auto;color:var(--blue)}
.secnav .sn-more .ico{transform:rotate(90deg);width:14px;height:14px}
.sn-menu{position:absolute;right:8px;top:calc(100% + 6px);z-index:30;background:var(--card);border-radius:14px;padding:6px;box-shadow:0 12px 32px rgba(15,27,45,.16);min-width:220px}
.sn-menu .sn-mi{width:100%}
.sn-menu .sn-mi:hover,.secnav .sn-p:not(.on):hover{background:var(--hover)}
@media (max-width:699px){
  .secwrap{margin:0 -14px 14px}
  .secnav{border-radius:0;padding:8px 14px}
  .secnav .sn-p,.secnav .sn-more{padding:9px 11px}
}

/* Meter reader (the .wiz screen): full screen on phones and tablets so staff can walk the park with it; a centered popup on desktop */
@media (min-width:1200px){
  .wiz{inset:auto;top:50%;left:50%;transform:translate(-50%,-50%);width:min(560px,92vw);height:min(880px,92vh);border-radius:22px;overflow:hidden;padding-top:0;box-shadow:0 0 0 100vmax rgba(15,27,45,.45),0 24px 60px rgba(15,27,45,.3)}
}
/* Tablet: the reader stays full screen, but the keypad lines up with the 520px reading column instead of stretching edge to edge */
@media (min-width:700px) and (max-width:1199px){
  .wiz .keypad{padding-left:max(8px,calc((100% - 520px) / 2 + 16px));padding-right:max(8px,calc((100% - 520px) / 2 + 16px))}
}
/* Desktop: the month and day picker popup is only as tall as its content */
@media (min-width:1200px){ .wiz:has(.wizpick){height:auto} .wiz:has(.wizpick) .wizpick{padding-bottom:28px} }

/* Checklist blocks in a guest or booking view (visitRowHtml): Start buttons side by side, started checklists full width */
.vrow{display:flex;flex-wrap:wrap;gap:0 10px}
.vrow>.btnw{flex:1 1 180px;width:auto}
.vrow>.vblk{flex:1 1 100%}

/* guest tag after a name in a popup title (titleHtml in views.js) */
/* nameHtml() in views.js: a person's role after their name, half size in the secondary color (John 2026-10-23). */
.nrole{font-size:max(.5em,12px);font-weight:600;color:var(--muted);vertical-align:middle;margin-left:6px;white-space:nowrap}

/* One corner radius for every action button on the site (John 2026-10-21): the Add shift shape.
   Round icon buttons (sheet X, calendar, info, profile) stay round; cards and tiles keep their own radius. */
button,.button,.btnw,.see,.xbtn,.tb-note,.tb-search,.hb,.wxbtn,.sheet .opt,.chip,.st .chip,.qa button,.qd button,.mpick button,.mpanes button,.tsz button,
.wks button,.rvrow button,.rv.big button,button.huge,.fixbtn,.infobtn.more,.calnav .ar,.wkh .ar,.ofnav .ar,.secnav .sn-p,.secnav .sn-more{border-radius:var(--btn-r)}
/* Top bar: + Note / + Task / + Guest sit centered between the page title and Search (spacers on both sides);
   on phones they stay trailing-aligned. */
@media (max-width:699px){.tb .sp2{display:none}}

/* Reports: notes, alerts and events lists use the shared item colors (ITEM_COLORS) */
.xw .aglist{display:flex;flex-direction:column;gap:8px}.ag.done{opacity:.6}
.lr.ev.k-event{background:var(--c-event);border-radius:16px;padding:12px 14px;margin-bottom:8px;border:0}

.tb-crumb .tbt{display:flex;align-items:center;min-width:0}
/* Library: each item is a tile; tiles reflow 1 to 4 across with the page width */
.widget.libw{grid-column:1/-1}
.hours{display:grid;gap:12px;grid-template-columns:1fr}
@media (min-width:700px){.hours{grid-template-columns:repeat(2,minmax(0,1fr))}}   /* tablet: 2 across */
@media (min-width:1200px){.hours{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}   /* desktop: 3 to 4 across */
.hrow{display:flex;flex-direction:column;gap:8px;align-items:flex-start;padding:14px;border-radius:14px;background:var(--pcl-library)}
.hrow .ji{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--card);color:var(--orange)}
.hrow b{display:block;font-size:1.02em}
.hrow b .tbd{margin-left:4px;font-weight:600;vertical-align:1px}
.hrow .hh{display:block;font-weight:600;color:var(--brand);margin-top:2px}
.hrow small{display:block;color:var(--muted);margin-top:4px}
.tbd{display:inline-block;padding:0 6px;border-radius:6px;background:var(--tbd);color:var(--c-note-d);font-size:.9em}
.hrow.link{color:inherit;text-decoration:none;cursor:pointer}
.hrow.link:hover{filter:brightness(.97)}
.hrow.link b::after{content:" ›";color:var(--orange)}

/* Icon-only menu (tablet): the section icon stays highlighted while on one of its sub pages (kid-on, renderNav).
   The full menu (desktop, phone drawer) highlights only the sub page. */
@media (min-width:700px) and (max-width:1199px){.nv-i.kid-on,.nv-i.kid-on:hover{background:var(--sky);color:var(--ink)}.nv-i.kid-on .nv-c{background:none!important;color:var(--ink)!important}}

/* phone box left with a partial number (see the phone formatter in app.js) */
input[type=tel].bad{border-color:var(--red)!important;box-shadow:0 0 0 3px rgba(220,38,38,.15)}

/* Section bar groups: a pill that drops down its pages (Reports) */
.secnav .sn-g .sn-cv{display:flex;margin-left:-2px}.secnav .sn-g .sn-cv .ico{width:13px;height:13px;transform:rotate(90deg)}
.sn-grp{right:auto}
.sn-menu .sn-mg[hidden]{display:none}.sn-menu .sn-mg b{display:block;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:8px 14px 2px}
/* Printed map */
.mapbar{align-items:center;flex-wrap:wrap}
.mapbar button,.mapbar .button{display:inline-flex;align-items:center;gap:6px}
.mapbar [data-z]{min-width:44px;justify-content:center;font-size:1.1em}
.mapbar .mapz{min-width:48px;color:var(--muted);font-weight:600}
.mapbar .mapgap{flex:1}
.mapbar .ico{width:16px;height:16px}
@media print{
  body.printmap *{visibility:hidden}
  body.printmap .mapimg{visibility:visible;position:fixed;inset:0;width:100%!important;height:auto}
}
/* Park > Buildings and equipment: one card per building */
.bldgs{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.bldgs .bldg{width:100%;text-align:left;font:inherit;cursor:pointer;margin:0}
.bldgs .bldg .s svg{width:14px;height:14px;vertical-align:-2px}
.pchart{margin:10px 0}

/* Home (focus today): stat cards take their item color (ITEM_COLORS); donut ring uses the item's ink */
.st .dn .fg{stroke:var(--st-ink,var(--lav-dd))}
.home .hq{margin-top:-4px}
.home .x-count .btnw{margin-top:4px}

/* Money: end of day counts */
.cntrow .cnts{display:flex;flex-wrap:wrap;gap:6px 16px;margin:6px 0 2px}.cntrow .cnt{font-size:14px}.cntrow .cnt b{font-weight:700;color:var(--muted)}
.cntrow em{font-style:normal;font-weight:800;font-size:12px;border-radius:999px;padding:1px 8px}.cntrow em.ok{background:var(--c-event);color:var(--ok-d)}.cntrow em.off{background:var(--red-soft);color:var(--red)}
.pill.warn{background:var(--c-leave);color:var(--warn)}
/* Guests overview: two stacked columns of widgets on desktop */
.gcols{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
.gcols .widgets{grid-template-columns:minmax(0,1fr)}
@media (min-width:700px){.gcols{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
.secmask{letter-spacing:.08em;color:var(--c-note-d);background:var(--tbd);border-radius:6px;padding:1px 8px;font-weight:600}

/* Business > Guest facts trends */
.trends{margin-top:48px;padding-top:28px;border-top:2px solid var(--line)}.trendh{font-size:22px;margin:0 0 4px}.trends .summary{margin:16px 0 20px}
.hbars{display:flex;flex-direction:column;gap:7px}.hbars .hb{display:grid;grid-template-columns:minmax(90px,38%) 1fr auto;align-items:center;gap:10px;font-size:14px}
.hbars .hl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hbars .hbar{background:var(--bg);border-radius:6px;height:12px;overflow:hidden}.hbars .hbar i{display:block;height:100%;background:var(--pc);border-radius:6px}.hbars b{min-width:28px;text-align:right}

/* Business pages: room between the number tiles and the widgets */
#tab-biz-occupancy .summary,#tab-biz-revenue .summary,#tab-biz-work .summary,#tab-biz-guests .summary{margin-bottom:20px}
#tab-biz-guests .widgets,#tab-biz-revenue .widgets,#tab-biz-work .widgets,#tab-biz-occupancy .widgets{margin-bottom:20px}

/* Phones: the app is locked to the screen width; nothing can be dragged sideways (John 2026-10-23). */
@media (max-width:699px){
  html,body{max-width:100%;overflow-x:hidden}
  @supports (overflow-x:clip){html,body{overflow-x:clip}}
  .wrapx,.bodyx,#app,.side{min-width:0;max-width:100vw}
}
/* Home stat cards: text shrinks and wraps instead of pushing the donut off the card */
.st .stb>div{min-width:0}
.st .big,.st .lab{overflow-wrap:anywhere}
@media (max-width:519px){.home .hstats{grid-template-columns:1fr}.st .big{white-space:normal}}
/* Usage chart inside a sheet (pad, guest and building views) */
.sheet .pchart.chart{margin:12px 0;padding:10px 8px 6px}
.chart text.in{fill:var(--on-color);font-weight:700}
/* Top bar: every button shares one height (John 2026-10-23) */
.tb .tb-note,.tb .tb-search,.tb .wxbtn,.tb .hb,.tb .profb{box-sizing:border-box;height:var(--tb-h);min-height:var(--tb-h);padding-top:0;padding-bottom:0;align-items:center}
.tb .hb,.tb .calbtn{width:var(--tb-h);height:var(--tb-h)}
.tb .hb.burger{width:auto;min-width:var(--tb-h)}
.tb .profb{padding-left:3px}
.tb .profb .av{width:calc(var(--tb-h) - 8px);height:calc(var(--tb-h) - 8px)}
/* Stat card tags: solid in the card's own ink so they stand out from the card and the page (John 2026-10-23) */
.st .chip{background:var(--st-ink,var(--ok));color:var(--on-color)}
.st .chip.dn{background:var(--red);color:var(--on-color)}
/* Work today card: a stronger teal than the page background (John 2026-10-23) */
.home .st.k-work{background:color-mix(in srgb,var(--c-task) 82%,var(--c-task-d))!important}
/* Side column: the calendar sits inside the Upcoming widget, so the two read as one card */
.xw.up>.cw{background:none;box-shadow:none;border-radius:0;padding:0;margin:0 0 14px;min-height:0}   /* no line under the calendar: each card section has its own divider (John 2026-10-24) */
@media (max-width:429px){.tb{gap:5px;padding-left:10px;padding-right:10px}.tb .hb.burger{min-width:0;padding:0 4px}}
@media (max-width:699px){.mapbar .mapgap{display:none}.hrow{flex-direction:row;gap:12px;padding:12px}.hrow .ji{width:36px;height:36px}}   /* Library on phones: compact rows, icon on the left */
/* Top bar fits every width (screen-size rule, John 2026-10-23): on tablets the Note/Money/Problem/Guest buttons show
   their icon only so the page title never disappears; on narrow desktops the profile shows just its picture. */
@media (min-width:1200px) and (max-width:1399px){.tb .pn,.tb .profb .cv{display:none}.tb .profb{padding:3px}}

/* Phone (max 699px): tables marked .stk become one card per row, each value with its column name (stackTables in app.js) */
@media (max-width:699px){
  .tablewrap.stk{overflow:visible;background:none;border:0;border-radius:0}
  .tablewrap.stk thead{display:none}
  .tablewrap.stk table,.tablewrap.stk tbody{display:block;width:100%;min-width:0}
  .tablewrap.stk tr{display:block;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:8px 12px;margin-bottom:8px}
  .tablewrap.stk td{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:3px 0;border:0;text-align:right;white-space:normal}
  .tablewrap.stk td::before{content:attr(data-label);color:var(--muted);font-weight:600;text-align:left;flex:none}
  .tablewrap.stk td:not([data-label])::before,.tablewrap.stk td[data-label=""]::before{content:none}
  .tablewrap.stk td:not([data-label]){display:block;text-align:left}
}
/* Two form fields on one row (e.g. Guest + Where on a note); stacked on phones */
.fpair{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.fpair>div{min-width:0}
.fpair input,.fpair select{box-sizing:border-box;height:var(--btn-h-lg,54px);margin:8px 0!important;font-size:16px!important;padding:0 12px!important}
@media (max-width:699px){.fpair{grid-template-columns:1fr;gap:0}}
/* "Changes were made" banner at the very top of the page, and the change list (whatsnew.js; also Library > App changes) */
.wnbar,.demobar{display:flex;align-items:center;gap:8px;margin:8px 16px 0;padding:6px 6px 6px 8px;border-radius:var(--btn-r)}   /* the two top bars share one shape */
.wnbar{background:var(--brand);color:var(--on-color);box-shadow:var(--shadow)}
.wnbar button{min-height:var(--btn-h-sm,38px);border:0;background:none;color:inherit;font:inherit;cursor:pointer}
.wnbar .wn-open{flex:1;min-width:0;text-align:left;font-weight:600}
.wnbar .wn-x,.wnbar .wn-r{flex:none;padding:0 12px;border-radius:var(--btn-r);background:color-mix(in srgb,var(--on-color) 16%,transparent)}
.wnbar .wn-r{font-weight:700}
.wnbar .wn-r[hidden]{display:none}
.demobar{background:var(--info-soft);color:var(--ink)}   /* seeded park: made-up data */
.demobar .ico{flex:none;color:var(--info)}
@media (max-width:699px){.wnbar,.demobar{margin:8px 12px 0;padding:4px 4px 4px 6px}.demobar{font-size:14px;line-height:1.3}.wnbar .wn-open{font-size:14px;line-height:1.3;padding:4px 6px}.wnbar .wn-x,.wnbar .wn-r{padding:0 10px}}   /* one row on phones: text beside Dismiss (John 2026-10-24: no padding for padding's sake) */
.wn-list{display:flex;flex-direction:column;gap:10px;margin:8px 0 12px}
.wn-item{padding:10px 12px;border:1px solid var(--line);border-radius:var(--btn-r);background:var(--card)}
.wn-item b{display:block}
.wn-item small{display:block;color:var(--muted)}
.wn-item details{margin-top:6px}
.wn-item summary{cursor:pointer;color:var(--info);font-weight:600}
.wn-item details p{margin:6px 0 0}
.wn-item .wn-img{display:block;max-width:min(100%,360px);height:auto;margin-top:8px;border:1px solid var(--line);border-radius:var(--btn-r);background:var(--bg)}
/* Top-bar add buttons shed parts as space shrinks (John 2026-10-23): + icon word, then + word, then word, then icon only (phone) */
.tb .tb-note{gap:6px}
.tb .tb-note .ti{display:grid}.tb .tb-note .ti .ico{width:18px;height:18px}
.tb .tb-note>.pl{width:16px;height:16px;stroke-width:2.4}
@media (max-width:699px){.tb .tb-note .ti{display:none}}
/* Today at the Park: notes ("Heads up") use the same card as every other item, in the note color (John 2026-10-23) */
/* + To-do form: Urgent / broken switch */
/* Home: full-width Today at the Park strip above the stat cards and the calendar (John 2026-10-23) */
.daystrip{grid-area:strip;display:none;min-width:0}
body.ishome .daystrip{display:block}
body.ishome .bodyx{grid-template-areas:"strip strip" "main side"}
@media (max-width:899px){body.ishome .bodyx{grid-template-areas:"strip" "side" "main"}}
body.ishome .wxbtn{display:none!important}
.dstrip .xwh{flex-wrap:nowrap;margin:0;min-width:0}
.dswx{margin-left:auto;display:flex;align-items:center;flex-wrap:nowrap;flex:none;gap:14px;border:0;background:var(--soft);border-radius:var(--btn-r);min-height:var(--btn-h);padding:4px 14px;font:inherit;color:var(--ink);cursor:pointer}
.dswx .now,.dswx .day{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.dswx .now b{font-size:18px}.dswx .day{color:var(--muted);font-weight:700;font-size:14px}
.dswx .ico{width:20px;height:20px}
/* Today bar: its own background (theme token, same on every page) and one line only; fitDayStrip() trims it.
   Title and weather never shrink, so any squeeze shows up as overflow that fitDayStrip() can measure. */
.dstrip{background:var(--today-bg,var(--sky))}
.dstrip .xwh{flex-wrap:nowrap;margin:0;min-width:0;overflow:hidden}
.dstrip .xwh h3{white-space:nowrap;flex:0 0 auto}
.dstrip .xwh h3 .sm{display:none}.dstrip.short .xwh h3 .lg{display:none}.dstrip.short .xwh h3 .sm{display:inline}
.dstrip .dswx{margin-left:auto;flex:0 0 auto;background:none;padding:0;gap:6px;min-height:0}
.dswx [hidden]{display:none!important}
/* Each forecast day is its own capsule, like the day tiles in the full weather pop-up */
.dstrip .dswx .day{flex-direction:column;justify-content:center;gap:2px;min-width:58px;padding:6px 8px;border-radius:14px;background:var(--card);color:var(--ink);font-size:13px;font-weight:700}
.dstrip .dswx .day .ico{width:20px;height:20px}
.dstrip .dswx .now{padding:0 8px 0 4px}

/* Leaving soon rows: phone and tablet put the date under the name; desktop puts them on one line */
.lrow{flex-direction:column;gap:2px}
.lrow .lr-when{white-space:nowrap}
@media (min-width:1200px){.lrow{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:2px 12px}.lrow .lr-who{min-width:0}}

/* Admin settings home (views.js adminHtml): one row per setting screen, status under the name, orange when it needs a look */
.setline{color:inherit;text-decoration:none}
.setline .g{flex:1;min-width:0}.setline .nm{font-weight:700;color:var(--ink)}
.setline .s{font-size:14px;color:var(--muted);margin-top:2px}.setline .s.warn{color:var(--warn);font-weight:700}
.setline svg{width:18px;height:18px;flex:none;color:var(--muted)}.setline:hover .nm{color:var(--pc-admin)}
.setgrp .row{margin-top:10px}
.lg-name{display:block;font-weight:800;font-size:20px;color:var(--brand);text-align:center;line-height:1.2}
/* Admin > Park setup: logo + icon side by side, two colors side by side; stacked on phones */
.ps-imgs,.ps-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:10px 0 14px}
.ps-imgs .button{margin-right:8px}.ps-cols input[type=color]{width:100%;height:var(--btn-h);padding:4px;display:block;margin-top:6px}
@media (max-width:699px){.ps-imgs,.ps-cols{grid-template-columns:minmax(0,1fr)}}
.ps-spot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0 12px}.ps-spot input{width:100%;min-width:0}

/* Admin > Find a setting: the search box drops down every setting (reuses the Nav bar's group menu look). */
.setfind{position:relative;margin:0 0 14px}.setfind input{width:100%}
.sn-menu.setdrop{left:0;right:0;min-width:0;max-height:min(60vh,440px);overflow-y:auto;overscroll-behavior:contain}
/* Scratch pad (John 2026-10-24): floats above every page and pop-up; moved by its title, resized by its corner.
   Phones: docked full width at the bottom, the title row sets the height. */
.scratch{position:fixed;z-index:45;display:flex;flex-direction:column;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 50px rgba(15,27,45,.18);padding:10px 12px 12px;min-width:0;overflow:hidden}
.scratch[hidden]{display:none}
.scratch .sch{display:flex;align-items:center;gap:6px;min-width:0}
.scratch .scg{display:flex;align-items:center;gap:6px;flex:1 1 auto;min-width:0;cursor:move;touch-action:none;user-select:none;height:var(--btn-h-sm,38px)}
.scratch .scg .ico{width:18px;height:18px;flex:none;color:var(--muted)}
.scratch .scg b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scratch .scb{display:inline-flex;align-items:center;gap:6px;flex:none;height:var(--btn-h-sm,38px);padding:0 12px;border:0;border-radius:var(--btn-r);background:var(--bg);color:var(--ink);font:inherit;font-weight:700;font-size:var(--btn-fs-sm,14px);cursor:pointer;white-space:nowrap}
.scratch .scb:disabled{opacity:.45;cursor:default}
.scratch .scb .ico{width:16px;height:16px}
.scratch .scb .ico+.ico{margin-left:-4px}
.scratch .sci{max-height:40vh;overflow-y:auto}
.scratch .sci h4{margin:0 0 8px;font-size:14px}
.scratch .scs{display:flex;flex-wrap:wrap;gap:6px}
.scratch .scs button{height:var(--btn-h-sm,38px);padding:0 12px;border:0;border-radius:var(--btn-r);background:var(--bg);color:var(--ink);font:inherit;font-weight:700;font-size:var(--btn-fs-sm,14px);cursor:pointer}
.scratch .sfq{display:flex;gap:8px;margin:0 0 8px}.scratch .sfq label{flex:1 1 0;min-width:0}.scratch .sfq input{width:100%}
.scratch .sft{margin:0 0 8px}
.scratch .sci:has(.sfq){flex:1 1 auto;max-height:none;min-height:0;display:flex;flex-direction:column;overflow:hidden}.scratch .sci[hidden]{display:none}.scratch .sfo{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.scratch .sfo>p{margin:0 0 8px}.scratch .sfl{flex:1 1 auto;min-height:0;overflow-y:auto}.scratch .sci:has(.sfq):not([hidden])~textarea{flex:0 0 auto;min-height:var(--btn-h,44px);height:var(--btn-h,44px)}
.scratch .sfr{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;width:100%;margin:0 0 6px;padding:8px 12px;border:0;border-radius:12px;background:var(--bg);color:var(--ink);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.scratch .sfr>b{font-size:15px}.scratch .sfr>span{flex:1 1 100%;color:var(--ink-2)}.scratch .sfr>.sfk{flex:0 0 auto;color:var(--muted)}
.scratch .sfr>.sfn{display:flex;align-items:flex-start;gap:4px}.scratch .sfn .ico{width:14px;height:14px;flex:none;margin-top:calc((1lh - 14px) / 2);color:var(--muted)}
.scratch .sfr{min-height:var(--btn-h,44px)}.scratch .sfr:hover{background:var(--hover)}.scratch .sfr:focus-visible{outline:2px solid var(--info);outline-offset:2px}
.scratch .scb.on{background:var(--sky);color:var(--ink);box-shadow:inset 0 0 0 1px var(--pick-line,transparent)}
.scratch .scp .nm{border:0;background:none;padding:0;font:inherit;cursor:pointer;text-align:left}
.scratch .scp .scu{flex:none;margin-left:auto;display:grid;place-items:center;width:28px;height:28px;padding:0;min-width:0;min-height:0;border:0;border-radius:50%;background:var(--card);color:var(--ink);cursor:pointer}
.scratch .scp .scu .ico{width:14px;height:14px}
.scratch .scx{position:static;margin:0;flex:none}
.scratch .scf input{width:100%}
.scratch .scr{max-height:40vh;overflow-y:auto}
.scratch .scp{display:flex;align-items:center;gap:6px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--bg);border-radius:12px;padding:8px 12px;font-size:14px;min-width:0;flex:none}
.scratch .scp[hidden]{display:none}
.scratch .scp>span{flex:none;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--ink-2)}
.scratch .scp>span:nth-last-child(2){flex:0 1 auto}
.scratch .scp>.nm{flex:0 0 auto;max-width:60%;overflow:hidden;text-overflow:ellipsis;color:var(--ink);font-weight:700}
.scratch textarea{flex:1 1 auto;min-height:80px;width:100%;resize:none;margin:0}
.scratch .scz{position:absolute;right:0;bottom:0;width:22px;height:22px;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 55%,var(--line) 55% 62%,transparent 62% 72%,var(--line) 72% 79%,transparent 79%)}
@media (max-width:699px){
  .scratch{left:8px;right:8px;bottom:8px;top:auto;height:45vh;max-height:calc(100vh - 90px)}
  .scratch .scz{display:none}
  .scratch .scg{cursor:ns-resize}
}
/* Narrow pad: buttons drop their words, keeping their icons */
@container scratch (max-width:490px){.scratch .scg b{display:none}}
.scratch{container:scratch/inline-size}
/* Admin > Updates and the profile menu's version line */
.pm-outrow{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);margin-top:4px}
.pm-outrow .pm-i.out{border-top:0;margin-top:0;flex:none;width:auto;white-space:nowrap}
.pm-ver{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;margin-left:auto;text-align:right;border:0;background:none;font:inherit;font-size:var(--btn-fs-sm);color:var(--muted);padding:8px 10px;cursor:default;white-space:nowrap}
button.pm-ver{cursor:pointer}button.pm-ver:hover{color:var(--ink)}
.upd-now b{font-size:var(--btn-fs-lg)}
#updNow{display:inline-flex;align-items:center;gap:8px}
.upd-ents{margin:8px 0 0;padding-left:18px}.upd-ents li{margin:0 0 6px}.upd-ents span{display:block;color:var(--muted)}
#updatesBody h2,#impCampspot>h2,#featBody h2{margin-top:22px}#updatesBody h2:first-child{margin-top:0}
/* Note view: delete icon at the top left, author only (Close stays top right) */
.sheet .sheetdel[hidden],.sheet .sheetx[hidden]{display:none}
/* A note with Delete never scrolls, so its Close needs no sticky strip; Safari dropped the sticky, clipped button here */
.sheet:has(.sheetdel) .sheetx{position:relative;z-index:4;box-shadow:none}
.sheet .sheetdel{position:absolute;left:18px;top:16px;z-index:3;height:var(--btn-h,44px);min-width:0;min-height:0;padding:0 14px;border:0;border-radius:var(--btn-r);background:var(--red);color:var(--on-color);font:inherit;font-weight:700;font-size:var(--btn-fs-sm,14px);cursor:pointer}
/* Editing a note (John 2026-10-24): the pop-up never scrolls; only the text box grows or shrinks to fit the screen.
   Sized from the screen height, not a flex column, because Safari hid the Close button inside a flex pop-up. */
.sheet .noteedit{width:100%;height:clamp(90px,min(24vh,100dvh - 440px),280px);margin:4px 0 8px}
.opt .gsite{color:var(--muted);font-weight:600}
/* Open guest row stays on one line: the name shortens with … before anything wraps */
.opt .glab,.opt .gsite{flex:none;white-space:nowrap}
.opt .gname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Notes in Today at the Park: eyes button = I read it; read notes sit under a small "Read" divider, dimmed */
.ag .ast .agread{flex:none;margin-left:auto;display:grid;place-items:center;padding:0 2px;color:inherit;cursor:pointer}
.ag .ast .agread .ico{width:18px;height:18px}
.agdiv{display:flex;align-items:center;gap:10px;margin:6px 2px 0;font-size:12.5px;font-weight:700;color:var(--muted)}
.agdiv::before,.agdiv::after{content:"";flex:1;height:1px;background:var(--line)}
.ag.read,.ag.past{opacity:.55}
/* One guest row everywhere (John 2026-10-24): name and site on top, one muted line, chevron. views.js guestRow() */
.guestrow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:2px;width:100%;min-height:var(--btn-h);margin:8px 0 0;padding:10px 12px 10px 14px;border:1px solid var(--line);border-radius:var(--btn-r);background:var(--card);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.guestrow:hover{background:var(--hover)}
.guestrow .gr-t{grid-column:1;display:flex;align-items:center;gap:8px;min-width:0;font-weight:700}
.guestrow .gr-t .pname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.guestrow .gr-s{flex:none;font-size:var(--btn-fs-sm);font-weight:700;padding:2px 9px;border-radius:999px;background:var(--pcl-res);color:var(--pc-res);white-space:nowrap}
.guestrow .gr-l{grid-column:1;font-size:13px;color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.guestrow .gr-c{grid-column:2;grid-row:1/span 2;width:18px;height:18px;color:var(--muted)}
/* Phone banner: action buttons that don't fit sit under More (fitTopActions, John 2026-10-24) */
.tb .tb-note[hidden]{display:none!important}
.tb .tbmore{display:flex!important;gap:6px;width:auto!important}.tb .tbmore .ico{transform:rotate(90deg);width:14px;height:14px}
.tb .tbmore .pic{display:grid!important}
.tb .tbmore em{font-style:normal;font-size:12.5px;font-weight:800;background:var(--bg);border-radius:999px;padding:0 8px}
.tbmenu{top:calc(100% - 4px);right:10px}
.tbmenu .sn-mi .ico{width:18px;height:18px}
/* Admin guided mode (John 2026-10-25): Guided / All settings switch, topic tiles, one question at a time */
#adminMode{display:flex;justify-content:flex-end;margin-bottom:12px}
.segsw{display:inline-flex;background:var(--bar-bg);border:1px solid var(--bar-line);border-radius:999px;padding:3px}
.segsw label{position:relative;display:flex}
.segsw input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.segsw span{display:flex;align-items:center;min-height:var(--btn-h-sm);padding:0 14px;border-radius:999px;font-weight:700;color:var(--ink)}
.segsw input:checked+span{background:var(--card)}
.segsw input:focus-visible+span{outline:2px solid var(--pc);outline-offset:1px}
.guide{max-width:760px}.guide h2{margin:6px 0 4px}.guide>.opt{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left}
.guide .ststartgrid.guidegrid{grid-template-columns:1fr 1fr;margin-top:12px}
@media (max-width:699px){.guide .ststartgrid.guidegrid{grid-template-columns:1fr}}
@media (min-width:1200px){.guide.start{max-width:none}.guide .ststartgrid.guidegrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.guide .wz-kind input{position:absolute;opacity:0;pointer-events:none}.guide .wz-kh{cursor:pointer;margin:0}
.guide .wz-kind:has(input:focus-visible){outline:2px solid var(--pc);outline-offset:1px}

/* iPhone link pop-up (Admin > Users, profile menu, sign-in): the QR code and the park code to type */
.qrbox{display:flex;justify-content:center;margin:16px 0}
.qrbox .qr{width:min(240px,70vw);height:auto;border-radius:12px;display:block}
.qrcode{font-size:24px;font-weight:800;letter-spacing:.12em;color:var(--ink);user-select:all;margin:4px 0 12px}

/* Admin > Jobs, Who hears about what: one row per kind of automatic note, job chips under it */
#jobsBody h2{margin-top:22px}
.audrow{padding:10px 0;border-top:1px solid var(--line)}.audrow .whohead{display:none}.audrow .chips{margin-top:6px;justify-content:flex-start}

/* New here (John 2026-10-26, Style): a dot on the menu button and on the button of a page with something new, and a one-line
   banner at the top of that page until the person closes it (whatsnew.js pageNews, ui.js newBanner). --new is Style's token. */
.has-new{position:relative}
.has-new::after{content:'';position:absolute;top:4px;right:4px;width:8px;height:8px;border-radius:50%;background:var(--new,var(--accent));box-shadow:0 0 0 2px var(--card);pointer-events:none}
/* The dot trails the name of the thing that is new, centered on its text (John 2026-10-26): menu rows (wide and icons
   only), section pills, their drop-down rows and More. Only icon-only buttons (the phone's menu button) keep the corner dot. */
.nv-i.has-new::after{display:none}
.nv-i.has-new .nv-t::after{content:'';display:inline-block;vertical-align:middle;width:8px;height:8px;margin:-2px 0 0 6px;border-radius:50%;background:var(--new,var(--accent))}
.nv-i.has-new .nv-t{flex:0 1 auto}.nv-i.has-new>.nv-t+*{margin-left:auto}.nv-i.has-new .nv-b~.nv-cv{margin-left:0}
:is(.sn-p,.sn-more,.sn-mi).has-new::after{position:static;order:1;flex:none;align-self:center;box-shadow:none}
:is(.sn-p,.sn-more,.sn-mi).has-new>em,.sn-p.has-new>.sn-cv,.sn-more.has-new>.ico{order:2}
.pgnew{display:flex;align-items:center;gap:10px;background:var(--sky);color:var(--ink);border-radius:12px;padding:6px 6px 6px 12px;margin:0 0 12px}
.pgnew .pn-cap{flex:none;background:var(--new,var(--accent));color:var(--on-color);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:800}
.pgnew .pn-t{flex:1;min-width:0;display:flex;gap:6px;text-align:left;background:none;border:0;padding:6px 0;font:inherit;font-weight:700;color:inherit;cursor:pointer;white-space:nowrap}
.pgnew .pn-l{min-width:0;overflow:hidden;text-overflow:ellipsis}.pgnew .pn-m{flex:none;font-weight:600}
@media (max-width:799px){.pgnew .pn-t{display:block;white-space:normal;line-height:1.3}.pgnew .pn-l{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.pgnew .pn-m{display:block}}
.pgnew .pn-x{flex:none;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:none;color:var(--ink);cursor:pointer}
.pgnew .pn-x .ico{width:18px;height:18px}
/* Help (Help thread 2026-10-26): the ? beside the page title, the Explain this page pop-up and the Help page */
.tbhelp{flex:none;display:grid;place-items:center;width:var(--btn-h-sm);height:var(--btn-h-sm);margin-left:4px;padding:0;border:0;border-radius:50%;background:none;color:var(--muted);cursor:pointer}
.tbhelp[hidden],.pghelp[hidden]{display:none}
.pghelp{display:flex;align-items:center;gap:6px;margin:8px 14px -6px auto;min-height:var(--btn-h-sm);padding:0 4px;border:0;background:none;color:var(--blue);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.pghelp .ico{width:18px;height:18px}
@media (max-width:699px){.tbhelp{display:none}}
@media (min-width:700px){.pghelp{display:none}}
.tbhelp .ico{width:22px;height:22px}.tbhelp:hover{background:var(--soft);color:var(--ink)}
.hlp h2{display:flex;align-items:center;gap:8px}.hlp h2 .ico{width:22px;height:22px;color:var(--muted);flex:none}
.hlp h3{font-size:15px;margin:16px 0 6px}
.hlp-for{font-weight:700;margin:0 0 4px}
.hlp-can,.hlp-steps{margin:0;padding-left:22px}.hlp-can li,.hlp-steps li{margin:4px 0}
.hlp-words{margin:0}.hlp-words dt{font-weight:700;margin-top:8px}.hlp-words dd{margin:2px 0 0;color:var(--muted)}
.hlp-list{display:flex;flex-direction:column}
.hlp-list .setline{width:100%;min-height:var(--btn-h);text-align:left;font:inherit;color:inherit;background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:13px 0;cursor:pointer}.hlp-list .setline:first-child{border-top:0}
.hlp .pgnew{margin:10px 0 0}.hlp-newt{flex:1;min-width:0;font-weight:700;padding:6px 6px 6px 0}
.hlp-all{display:inline-flex;align-items:center;gap:6px;margin-top:16px;min-height:var(--btn-h);padding:0;border:0;background:none;color:var(--blue);font:inherit;font-weight:700;cursor:pointer}
.hlp .btnw{margin-top:16px;background:var(--brand);color:var(--on-color)}
.hlp-h{font-size:18px;margin:18px 0 10px}.hlp-h:first-of-type{margin-top:4px}
.hlp-grid{display:grid;gap:16px;grid-template-columns:1fr;align-items:start}
@media (min-width:700px){.hlp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1200px){.hlp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.hlp-card p{margin:0 0 8px}
/* Help tours: a ring around the button to use, and a small card that says what to do. Nothing behind is blocked. */
#tourBox{position:fixed;inset:0;z-index:80;pointer-events:none}
.tourring{position:fixed;box-shadow:0 0 0 2px var(--card),0 0 0 5px var(--info),0 0 0 9999px rgba(16,24,40,.45);transition:all .2s}
.tourpop{position:fixed;visibility:hidden;pointer-events:auto;width:min(340px,calc(100vw - 16px));background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:var(--r-card);padding:12px 16px 14px}
.tourpop.mid{top:50%;left:50%;transform:translate(-50%,-50%)}
.tourpop b{display:block;font-size:17px;margin:2px 0 4px}.tourpop p{margin:0 0 12px}
.tp-h{display:flex;align-items:center;justify-content:space-between}.tp-n{font-size:13px;font-weight:700;color:var(--muted)}
.tp-f{display:flex;justify-content:flex-end;gap:8px}.tp-f button,.tp-x{min-height:var(--btn-h-sm);padding:0 14px;border-radius:var(--btn-r,12px);border:1px solid var(--line);background:var(--soft);color:var(--ink);font:inherit;font-weight:700;cursor:pointer}
.tp-f .tp-go{background:var(--brand);border-color:var(--brand);color:var(--on-color)}
.tp-ok{color:var(--ok)}.hlp-sub{margin:0 0 6px;color:var(--muted)}
@media (max-width:699px){.tourpop,.tourpop.mid{top:auto;left:8px;right:8px;bottom:8px;width:auto;transform:none}}
.jbhelp{margin:10px 0 14px}.jbhelp>label{display:block;margin:0 0 6px}.jbhelp .whohead{display:none}
.hlp-pic{margin:12px 0 4px;text-align:center}
.hlp-pic img{display:block;width:100%;max-width:280px;height:auto;aspect-ratio:390/460;object-fit:cover;object-position:top;margin:0 auto;border:1px solid var(--line);border-radius:var(--r-card)}
.hlp a.termlink{color:var(--blue);font-weight:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.hlp-terms{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 8px}
.hlp-terms a.termlink{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border:0;border-radius:999px;background:var(--soft);color:var(--ink);text-decoration:none;font-weight:700;font-size:15px}
.hlp-pic figcaption{font-size:13px;color:var(--muted);margin-top:6px}
#psLike{margin-bottom:18px}

/* Embedded in the iPhone app (?app=ios, embed.js; hybrid trial): the native shell owns navigation, so no web menu, top bar or Today strip */
.embed .nv,.embed .tb,.embed .daystrip,.embed .scrim{display:none}
.embed .fr,.embed .fr.slim{grid-template-columns:minmax(0,1fr)}
.embed body{padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.ev-add{display:flex;gap:8px;margin:8px 0 18px}.ev-add input{flex:1;min-width:0}
.ev-cal{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--line)}.ev-cal span{flex:1;min-width:0;overflow-wrap:anywhere}
/* Idle lock (lock.js): while locked, only the lock shows; the app underneath is hidden, not just covered (Architecture 2026-10-26) */
body.locked>*:not(#lock){display:none!important}
#lock .pinin,.sheet .pinin{-webkit-text-security:disc;font-size:1.75em;letter-spacing:.6em;text-align:center;font-weight:700;min-height:var(--btn-h-lg)}
#lock .apple{width:100%;min-height:var(--btn-h-lg)}
#lock{width:calc(100% - 32px);box-sizing:border-box}
#lock .lg-name{color:var(--muted)}
.lockset select{width:auto;min-height:var(--btn-h);margin-left:8px}
#plStorageBody h2.rfhead{margin-top:32px}
#libSetBody h2.libhead{margin-top:32px}
#libSetBody .libtiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));grid-auto-rows:1fr;gap:8px;margin:0 0 12px}
#libSetBody .libtiles .opt{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:auto;margin:0;text-align:center}#libSetBody .libtiles .opt small{font-weight:600}
#libSetBody .opt.libr{display:flex;flex-direction:row;align-items:center;gap:12px;margin:8px 0;text-align:left}#libSetBody .opt.libr>.ico:first-child{color:var(--pc,var(--ink));flex:none}#libSetBody .opt.libr .g{flex:1;min-width:0;display:flex;flex-direction:column;text-align:left}#libSetBody .opt.libr .g small{font-weight:600}#libSetBody .opt.libr>.ico:last-child{color:var(--muted);flex:none}
#libSetBody h2.libgh{display:flex;align-items:baseline;gap:16px;margin-bottom:8px}#libSetBody h2.libgh span{flex:1;min-width:0}#libSetBody h2.libgh .link{font-size:var(--btn-fs-sm,14px);font-weight:600;padding:0}
.prdays-sub{display:block}.prdays{display:flex;align-items:center;gap:8px;margin-top:4px}.prdays input{width:120px}
/* Money > Storage fees: the renter's small line (Style 2026-10-26) */
.stdue small{font-size:13px;font-weight:400;color:var(--muted)}
.rfagree{display:block;margin:12px 0}.rfagree[hidden]{display:none}

/* Guests > stay editor: a small bold title over each part of the form (Style 2026-10-26) */
.syhead{margin:1rem 0 .4rem;font-size:.875rem;font-weight:800;color:var(--ink)}
/* An Add button keeps the Add color even when it is also a wide button (design.css .btnw loads later) */
.btnw.addbtn{background:var(--add);color:var(--on-color)}

/* Add a photo or scan: a small attach button inside its switch's group */
.tgl+.scanpick{margin-top:-2px}
.scanpick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px}
.scanpick .xbtn{min-height:var(--btn-h)}
.scanpick .link{padding:0;color:var(--pc);font-weight:700}
.sheet .xbtn.wide{display:flex;width:100%;justify-content:center;margin-top:8px;min-height:var(--btn-h)}
/* Park fact sheet (Admin > Park fact sheet) */
#factsBody>.row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0 4px}
.pfs{margin:16px 0 0}.pfh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.pfh h2{margin:0 0 4px}
.pfr{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:8px 0;border-bottom:1px solid var(--line)}.pfl{color:var(--muted);font-size:14px}.pfv{font-weight:600;overflow-wrap:anywhere}.pfh a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}a.pill.warn{text-decoration:none}.pfhit{outline:2px solid var(--accent);outline-offset:2px}
@media (min-width:700px){.pfr{grid-template-columns:200px minmax(0,1fr);gap:16px}}

.ab-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid var(--line)}.ab-row input{width:100%;min-width:0}.ab-row [data-v]{grid-column:1/-1;grid-row:3}.ab-row [data-x]{grid-column:2;grid-row:1}.ab-row [data-g]{grid-column:1;grid-row:1}.ab-row [data-k]{grid-column:1/-1;grid-row:2}
@media (min-width:700px){.ab-row{grid-template-columns:140px 200px minmax(0,1fr) auto}.ab-row [data-g],.ab-row [data-k],.ab-row [data-v],.ab-row [data-x]{grid-column:auto;grid-row:auto}}
.rd-row{margin:10px 0;border:1px solid var(--line);border-radius:var(--btn-r);background:var(--card)}.rd-row .tgl{margin:0;border:0;background:none}.rd-chk{display:block;padding:0 12px 12px 24px}

/* The logo flips the menu between icons and names while you are on Home (John 2026-10-28). */
.nv-brand,.mlogo{cursor:pointer}
/* Admin > Prices and Money accounts: one line per item with a chevron (Style 2026-10-28) */
.opt.prrow{display:flex;align-items:center;gap:10px;min-height:44px;text-align:left}.opt.prrow .g{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.opt.prrow small{color:var(--muted);font-weight:600;font-size:.8125rem}.opt.prrow .hm-chev{width:1rem;height:1rem;color:var(--muted);flex:none}
.prgroup{padding:4px 0 12px}.prrename{justify-content:center;margin-top:8px}
#pricesBody>.hm-row{border-top:2px solid var(--line);margin-top:8px;padding-top:12px}

/* Library Overview (Design 2026-10-28): the Home tile, one column on a phone and more as the screen widens */
.hstats.libov{grid-template-columns:repeat(auto-fill,minmax(15rem,1fr))}
/* The themed yes/no pop-up (John 2026-10-28): replaces the browser's confirm() and alert(). It sits over every other pop-up. */
.askbg{z-index:60;align-items:center;padding:16px}
.sheet.ask{max-width:420px;border-radius:24px;padding:20px 20px calc(20px + env(safe-area-inset-bottom));overflow:visible}
.sheet.ask h2{font-size:21px;line-height:1.25;margin:0 0 8px}
.sheet.ask .ask-b{margin:0 0 8px;color:var(--ink-2);font-size:16px;line-height:1.45}
.ask-row{display:flex;gap:10px;margin-top:14px}
.ask-row>button{flex:1 1 0;justify-content:center;min-width:0;margin:0;min-height:var(--btn-h-lg);border:0;border-radius:var(--btn-r);font:inherit;font-weight:700;cursor:pointer}
.sheet .ask-row .btnw{margin:0}
.ask-row .ask-no{background:var(--soft);color:var(--ink)}
.ask-row .ask-yes{background:var(--pc,var(--brand));color:var(--on-color)}
.ask-row .ask-yes.red{background:var(--c-alert-d);color:var(--on-color)}   /* Style: this red passes 4.5:1 with white text */
@media (max-width:420px){.ask-row{flex-direction:column-reverse}}   /* phones: the action on top, the way out under it */

/* Needs a look (John 2026-10-28): the part of a count that wants attention is a red number pill, "5 of 6". See needCount() in ui.js. */
.hm-n .need{display:inline-block;min-width:1.6em;padding:0 .5em;border-radius:999px;background:var(--red-soft);color:var(--red);text-align:center}
.hm-n .of{color:var(--muted);font-weight:700}

/* Info pill (John 2026-10-28): a small "i" in a pill at the end of a row. The look is small, the tap area is the full 38px. */
.ipill{position:relative;flex:none;display:inline-grid;place-items:center;min-width:30px;height:22px;padding:0 9px;border:1.5px solid var(--info);border-radius:999px;background:var(--info-soft);color:var(--info);font:inherit;font-weight:800;font-size:13px;line-height:1;cursor:pointer}
.ipill::after{content:"";position:absolute;inset:-11px -7px}   /* the tap area is 44 by 44 (Style), so a small pill is still easy to hit */
.ipill:focus-visible{outline:2px solid var(--info);outline-offset:2px}
.tgl .ipill{margin-left:auto}
.info-lead{margin:14px 0 4px;font-weight:800}
.info-list{margin:0 0 10px;padding-left:20px}.info-list li{margin:4px 0}

/* Top banner (John 2026-10-28): add buttons keep their + and word and move under More when short of room; Scratch is a tool pill (no +),
   the bell is round, Print lives under More. */
.tb [hidden]{display:none!important}
.tb .tb-tool,.tb .tbmore{background:var(--card);color:var(--ink);border:1px solid var(--line)}
.tb #bellBtn{border-radius:999px}
@media (max-width:699px){.tb{gap:6px}.tb .tb-note{padding:0 10px;gap:4px;font-size:14px}.tb .tb-note .pic{display:none}.tb .hb,.tb .calbtn{width:40px}}
.tb .tbmore.has-alert::after{content:'';position:absolute;top:6px;right:6px;width:10px;height:10px;border-radius:50%;background:var(--c-alert-d);border:2px solid var(--card)}
.tb .tbmore{position:relative}

/* One-line rows and filters (John 2026-10-28, Design): see valueRow() and filterBar() in ui.js */
.vrow{display:flex;align-items:center;gap:10px;width:100%;min-height:var(--btn-h);box-sizing:border-box;padding:.5rem 0;border:0;border-top:1px solid var(--line);background:none;font:inherit;color:var(--ink);text-align:left}
button.vrow{cursor:pointer}.vrow:first-child{border-top:0}
.vrow .vr-t{flex:1 1 auto;min-width:0;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vrow .vr-m{color:var(--muted);font-weight:600;font-size:.8125rem;white-space:nowrap}
.vrow .vr-v{font-weight:700;white-space:nowrap}
.vrow .vr-c{color:var(--muted)}
.fbar{display:flex;align-items:center;gap:8px;background:var(--card);border-radius:999px;padding:6px 8px;position:relative;min-width:0}
.fbar .fb-s{flex:1 1 180px;min-width:0}
.fbar .fb-s input{width:100%;box-sizing:border-box;height:36px;border-radius:999px;border:1px solid var(--line);background:var(--bg);padding:0 14px;font:inherit;color:var(--ink)}
.fbar .fb-c{display:flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0}
.fbar .fsel,.fbar .fb-c input[type=date]{height:36px;border-radius:999px;border:1px solid var(--line);background:var(--bg);padding:0 12px;font:inherit;font-weight:700;font-size:14px;color:var(--ink)}
.fbar .fb-b{display:none;height:36px;border-radius:999px;border:0;padding:0 14px;background:var(--card);color:var(--ink);font:inherit;font-weight:700;border:1px solid var(--line);cursor:pointer}
.fbar .fb-b.on{background:var(--brand);color:var(--on-color);border-color:transparent}.fbar .fb-b em{font-style:normal;margin-left:4px}
@media (max-width:699px){
  .fbar .fb-b{display:inline-flex;align-items:center}
  .fbar .fb-c{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:6;flex-direction:column;align-items:stretch;background:var(--card);border-radius:16px;padding:12px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
  .fbar.open .fb-c{display:flex}
}
.tb .tbmore,.tbmenu .sn-mi{min-height:44px}
.fbar .fb-b{min-height:44px}.fbar .fb-x{display:none}
@media (max-width:699px){.fbar .fb-x{display:block;min-height:44px}}
@media (prefers-reduced-motion:reduce){.tbmenu,.fbar .fb-c{animation:none!important;transition:none!important}}
