/* 🔍 InspectUs inspections add-on: the same dark look as the staff area, brand colour from org.js (--acc). */
:root { --bg: #16171a; --card: #202227; --card2: #282b31; --line: #34373e; --tx: #eceef1; --mut: #9aa0aa; --acc: #ff766e; --ok: #3ccf7a; --warn: #f2b33d; --bad: #ff5a5a; --mon: #5fa8ff; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--tx); font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: var(--acc); }
button, input, select, textarea { font: inherit; color: inherit; }
.boot { padding: 40px 16px; text-align: center; color: var(--mut); }
header.top { position: sticky; top: 0; z-index: 5; background: rgba(22,23,26,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding: calc(8px + env(safe-area-inset-top)) 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.brand img { height: 28px; max-width: 120px; object-fit: contain; }
.brand b { font-size: 16px; }
.brand .sp { flex: 1; }
.brand .who { color: var(--mut); font-size: 12px; text-align: right; }
@media (max-width: 560px) { .brand .who .em, .brand b { display: none; } }
.sync { font-size: 12px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--mut); white-space: nowrap; }
.sync.off { color: var(--warn); border-color: var(--warn); }
nav.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-top: 6px; }
nav.tabs::-webkit-scrollbar { display: none; }
nav.tabs a { flex: none; padding: 8px 12px; border-radius: 10px 10px 0 0; color: var(--mut); text-decoration: none; font-weight: 600; font-size: 14px; }
nav.tabs a.on { color: var(--tx); background: var(--card); box-shadow: inset 0 -2px 0 var(--acc); }
main { max-width: 1100px; margin: 0 auto; padding: 14px 12px calc(80px + env(safe-area-inset-bottom)); }
h2 { font-size: 20px; margin: 4px 0 12px; }
h3 { font-size: 16px; margin: 18px 0 8px; }
.mut { color: var(--mut); }
.small { font-size: 13px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row .sp { flex: 1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2); cursor: pointer; font-weight: 600; text-decoration: none; color: var(--tx); }
.btn.pri { background: var(--acc); border-color: var(--acc); color: #111; }
.btn.bad { color: var(--bad); }
.btn.sm { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: default; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea { width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: #121316; }
textarea { min-height: 70px; resize: vertical; }
label.f { display: block; margin: 10px 0 4px; font-size: 13px; color: var(--mut); font-weight: 600; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 8px; margin-bottom: 10px; }
@media (max-width: 800px) { .filters { grid-template-columns: 1fr 1fr; } .filters .q { grid-column: 1 / -1; } }
.list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.li { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-bottom: 1px solid var(--line); background: var(--card); cursor: pointer; }
.li:last-child { border-bottom: 0; }
.li:hover { background: var(--card2); }
.li .main { flex: 1; min-width: 0; }
.li .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .s { color: var(--mut); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .end { text-align: right; font-size: 13px; flex: none; }
.tag { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: #111; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; border: 1px solid currentColor; white-space: nowrap; }
.pill.ok { color: var(--ok); } .pill.warn { color: var(--warn); } .pill.bad { color: var(--bad); } .pill.mut { color: var(--mut); } .pill.mon { color: var(--mon); } .pill.acc { color: var(--acc); }
.due.over { color: var(--bad); font-weight: 700; } .due.soon { color: var(--warn); font-weight: 700; }
.empty { padding: 26px 12px; text-align: center; color: var(--mut); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 12px; }
.kv div:nth-child(odd) { color: var(--mut); }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } .kv div:nth-child(odd) { margin-top: 6px; } }
.qr { width: 132px; height: 132px; background: #fff; border-radius: 8px; padding: 4px; }
.qr svg { width: 100%; height: 100%; display: block; }
.sec { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--card); }
.sec > .hd { padding: 10px 12px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.sec > .hd b { flex: 1; }
.q { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.q:last-child { border-bottom: 0; }
.q .qt { font-weight: 600; }
.q .qm { color: var(--mut); font-size: 12px; margin-top: 2px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.opt { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2); cursor: pointer; font-weight: 600; }
.opt.on { background: var(--tx); color: #111; }
.opt.on.pass { background: var(--ok); } .opt.on.fail, .opt.on.unsafe { background: var(--bad); } .opt.on.repair { background: var(--warn); } .opt.on.monitor { background: var(--mon); }
.edq { display: grid; grid-template-columns: 1fr 150px; gap: 8px; }
@media (max-width: 640px) { .edq { grid-template-columns: 1fr; } }
.optrow { display: grid; grid-template-columns: 1fr 120px 90px 34px; gap: 6px; margin-top: 6px; align-items: center; }
.chk { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--mut); }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--tx); color: #111; padding: 10px 16px; border-radius: 12px; font-weight: 600; z-index: 50; box-shadow: 0 6px 24px rgba(0,0,0,.4); max-width: 92vw; }
.toast.err { background: var(--bad); color: #fff; }
.signin { max-width: 380px; margin: 8vh auto; }
.badge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--card2); font-size: 12px; text-align: center; }
/* printable QR labels */
.labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media screen and (max-width: 640px) { .labels { grid-template-columns: 1fr; } }
.label { background: #fff; color: #000; border-radius: 6px; padding: 8px; display: flex; gap: 8px; align-items: center; break-inside: avoid; }
.label .qr { width: 86px; height: 86px; padding: 0; flex: none; }
.label b { font-size: 15px; font-family: ui-monospace, Menlo, monospace; }
.label small { display: block; font-size: 11px; line-height: 1.25; }
@media print {
  header.top, .noprint { display: none !important; }
  html, body { background: #fff; }
  main { padding: 0; max-width: none; }
  .labels { gap: 4mm; }
  .label { border: 1px solid #000; }
}
/* ---- stage 2–5 */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-decoration: none; color: var(--tx); display: flex; flex-direction: column; gap: 2px; }
.tile b { font-size: 26px; line-height: 1.1; }
.tile span { color: var(--mut); font-size: 13px; }
.tile.bad b { color: var(--bad); } .tile.warn b { color: var(--warn); } .tile.ok b { color: var(--ok); } .tile.acc b { color: var(--acc); }
.runhd { position: sticky; top: 86px; z-index: 4; display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; margin-bottom: 10px; }
.runhd .t { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt.big { padding: 11px 16px; font-size: 16px; min-width: 64px; text-align: center; }
.defect { margin-top: 10px; padding: 10px; border-radius: 10px; background: rgba(242,179,61,.08); border: 1px dashed var(--warn); }
.defect select { margin-top: 6px; }
.danger { padding: 12px; border-radius: 12px; background: rgba(255,90,90,.12); border: 1px solid var(--bad); margin-bottom: 10px; }
.danger a { margin-left: 8px; font-weight: 700; }
.q.miss { box-shadow: inset 3px 0 0 var(--warn); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.thumbs .th { position: relative; }
.thumbs img { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; background: #222; cursor: zoom-in; display: block; }
.thumbs .x { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--bad); color: #fff; cursor: pointer; }
.thumbs .mk { position: absolute; bottom: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--card); box-shadow: 0 1px 4px #0008; cursor: pointer; font-size: 14px; }
.ttab { border-collapse: collapse; margin-top: 6px; font-size: 13px; } .ttab th, .ttab td { border: 1px solid var(--line); padding: 4px 6px; text-align: left; }
.ttab.run td { padding: 3px; } .ttab.run select, .ttab.run input[type=text], .ttab.run input[type=number] { min-width: 90px; padding: 6px; } .ttab.run input[type=checkbox] { width: 22px; height: 22px; }
.tsel.r-pass { background: var(--ok); color: #111; } .tsel.r-fail, .tsel.r-unsafe { background: var(--bad); color: #fff; } .tsel.r-repair { background: var(--warn); color: #111; } .tsel.r-monitor { background: var(--mon); color: #111; }
.cert .ttab th, .cert .ttab td { border-color: #ccc; }
.qref { width: 84px; height: 62px; object-fit: cover; border-radius: 6px; cursor: zoom-in; margin: 6px 6px 2px 0; border: 1px solid var(--line); vertical-align: middle; }
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; padding: 16px; }
.mbox { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; width: min(560px, 100%); max-height: 92vh; overflow: auto; }
canvas.sig { width: 100%; height: auto; aspect-ratio: 900 / 360; background: #fff; border-radius: 10px; margin-top: 10px; touch-action: none; }
.btn.big { padding: 14px 20px; font-size: 17px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 8px; overflow-x: auto; }
.week .day { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-height: 120px; display: flex; flex-direction: column; gap: 6px; }
.vchip { display: block; padding: 6px 8px; border-radius: 8px; background: var(--card2); color: var(--tx); text-decoration: none; font-size: 13px; border-left: 3px solid var(--acc); }
.vchip.due { border-left-color: var(--warn); }
.scrollx { overflow-x: auto; }
table.grid { border-collapse: collapse; width: 100%; font-size: 13px; }
table.grid th, table.grid td { border: 1px solid var(--line); padding: 6px; text-align: center; }
table.grid td:first-child, table.grid th:first-child { text-align: left; white-space: nowrap; }
.bar { display: grid; grid-template-columns: minmax(90px, 40%) 1fr 40px; gap: 8px; align-items: center; font-size: 13px; margin-top: 6px; }
.bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar i { display: block; height: 10px; border-radius: 5px; background: var(--acc); }
.bar i.bad { background: var(--bad); } .bar i.warn { background: var(--warn); }
.bar b { text-align: right; }
/* ---- certificates (printed white on A4) */
.cert { background: #fff; color: #111; border-radius: 8px; padding: 24px; margin-top: 12px; font-size: 12.5px; position: relative; }
.cert a { color: #111; }
.c-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--acc); padding-bottom: 10px; margin-bottom: 12px; }
.c-head > div:first-child { display: flex; gap: 12px; align-items: center; }
.c-logo { height: 54px; max-width: 160px; object-fit: contain; }
.c-firm { font-size: 11.5px; line-height: 1.35; }
.c-title { text-align: right; }
.c-title h1 { font-size: 20px; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .02em; }
.c-title div { font-size: 11px; color: #444; max-width: 320px; margin-left: auto; }
.c-t { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.c-t th, .c-t td { border: 1px solid #bbb; padding: 5px 7px; text-align: left; vertical-align: top; }
.c-t th { background: #f1f2f4; width: 22%; font-weight: 600; font-size: 11.5px; }
.c-multi th { width: auto; }
.c-checks td:last-child { width: 32%; }
.c-sec { background: #f7f7f7; font-weight: 700; }
.c-ans.r-pass { color: #0a7a39; font-weight: 700; } .c-ans.r-fail, .c-ans.r-unsafe { color: #c11; font-weight: 700; } .c-ans.r-repair { color: #b36b00; font-weight: 700; } .c-ans.r-monitor { color: #1f5fbf; font-weight: 700; }
.c-def { font-size: 11px; color: #444; margin-top: 2px; }
.c-pass { color: #0a7a39; } .c-fail { color: #c11; }
.c-h { font-size: 13px; margin: 12px 0 6px; text-transform: uppercase; color: #333; }
.c-sig { height: 46px; margin-top: 4px; }
.c-legal { font-size: 10.5px; color: #333; margin-top: 8px; }
.c-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-top: 1px solid #bbb; padding-top: 8px; margin-top: 12px; font-size: 11px; }
.c-qr { text-align: center; } .c-qr svg { width: 90px; height: 90px; } .c-qr small { display: block; font-size: 9px; }
.c-draft { position: absolute; top: 40%; left: 0; right: 0; text-align: center; font-size: 110px; font-weight: 900; color: rgba(200,0,0,.08); transform: rotate(-18deg); pointer-events: none; }
@media print {
  .cert { padding: 0; margin: 0; border-radius: 0; font-size: 11.5px; }
  @page { size: A4; margin: 12mm; }
  .tiles, .runhd { display: none; }
}

/* ===================================================================== InspectUs classic (15 Nov 2026)
   The look of the FileMaker InspectUs web app: red bar + logo band, charcoal page, light panel, steel-blue tabs, charcoal/blue table
   heads, blue ID chips, salmon IDs, teal action buttons, status colours from the FileMaker legend. Phones get the same, compacted. */
:root { --bg: #f4f4f4; --card: #ffffff; --card2: #ececec; --line: #d6d6d6; --tx: #1f1f1f; --mut: #6b6b6b; --acc: #0a78a3; --ok: #4f9a2a; --warn: #d99a00; --bad: #d0281e; --mon: #c9a800;
  --hdr: #a30a04; --hdrtx: #ff9a8c; --tab: #3a76a2; --tab2: #2f6e9b; --th: #424242; --teal: #4ba8bf; --sal: #ff7061; --cust: #0079a4; --cust2: #005a7c; --page: #3d3d3d; color-scheme: light; }
html, body { background: var(--page); color: var(--tx); font-family: Helvetica, Arial, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--acc); }
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.gbar { background: var(--hdr); color: var(--hdrtx); display: flex; align-items: center; gap: 14px; padding: calc(7px + env(safe-area-inset-top)) 16px 7px; font-size: 13px; position: sticky; top: 0; z-index: 6; }
.gbar .who b { color: var(--hdrtx); } .gbar .who a { color: #fff; text-decoration: none; } .gbar .who .vsep { color: #fff; opacity: .7; }
.gmenu { flex: 1; display: flex; justify-content: center; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.gmenu::-webkit-scrollbar { display: none; }
.gmenu a { color: var(--hdrtx); text-decoration: none; text-transform: uppercase; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.gmenu a.on, .gmenu a:hover { color: #fff; }
.gend { display: flex; gap: 10px; align-items: center; } .gend .gi { color: #fff; text-decoration: none; font-size: 18px; }
.gbar .sync { border-color: rgba(255,255,255,.5); color: #fff; } .gbar .sync.off { color: #ffd34d; border-color: #ffd34d; }
.band { background: var(--hdr); min-height: 104px; display: flex; justify-content: center; align-items: flex-start; padding: 6px 16px 40px; }
.blogo img { height: 64px; max-width: 240px; object-fit: contain; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 6px 12px; display: block; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.blogo.txt { color: #fff; font-size: 26px; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.band.cust { background: var(--cust); display: block; min-height: 0; padding: 12px 16px 0; }
.cbar { display: flex; align-items: baseline; gap: 12px; max-width: 1240px; margin: 0 auto; }
.cbar .cback { color: #fff; text-decoration: none; font-size: 24px; } .cbar .cname { color: var(--sal); font-size: 24px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.cbar .csub { color: #fff; font-weight: 600; text-transform: uppercase; font-size: 14px; }
.cnav { display: flex; gap: 2px; max-width: 1240px; margin: 10px auto 0; overflow-x: auto; scrollbar-width: none; }
.cnav a { color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: 13px; padding: 9px 18px; letter-spacing: .03em; flex: none; }
.cnav a.on { background: var(--cust2); }
.panel { background: var(--bg); width: calc(100% - 32px); max-width: 1240px; margin: -32px auto 0; border-radius: 6px 6px 0 0; box-shadow: 0 4px 22px rgba(0,0,0,.35); flex: 1; display: flex; flex-direction: column; min-height: 70vh; }
.in-co .panel { margin-top: 0; border-radius: 0; }
.ftabs { display: flex; gap: 2px; padding: 10px 10px 0; overflow-x: auto; scrollbar-width: none; }
.ftabs a { flex: 1 0 auto; text-align: center; background: var(--tab); color: #fff; text-decoration: none; padding: 9px 14px; font-size: 15px; border-radius: 4px 4px 0 0; white-space: nowrap; }
.ftabs a.on { background: var(--bg); color: #111; box-shadow: 0 -1px 0 var(--line), 1px 0 0 var(--line), -1px 0 0 var(--line); }
.fsub { display: flex; gap: 2px; padding: 0 10px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.fsub a { background: var(--tab); color: #fff; text-decoration: none; padding: 6px 22px; font-size: 14px; border-radius: 0 0 4px 4px; white-space: nowrap; }
.fsub a.on { background: var(--bg); color: #111; box-shadow: 0 1px 0 var(--line), 1px 0 0 var(--line), -1px 0 0 var(--line); }
.panel > main { max-width: none; width: 100%; margin: 0; padding: 16px 20px 40px; }
.gfoot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #e6e6e6; font-size: 13px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }
.gfoot .pby { text-align: right; color: #bbb; } .gfoot .pby b { color: #ff7a6e; font-size: 16px; } .gfoot .pby i { color: var(--teal); font-style: normal; }
h2, .ptitle { color: var(--tab); text-transform: uppercase; font-weight: 800; letter-spacing: .01em; }
h3 { color: var(--tab2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.btn { background: #fff; border: 1px solid #c4c4c4; color: #333; border-radius: 4px; }
.btn:hover { background: #f0f0f0; }
.btn.pri { background: var(--teal); border-color: var(--teal); color: #fff; } .btn.pri:hover { background: #3b97ad; }
.btn.bad { color: var(--bad); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=datetime-local], select, textarea { background: #fff; border: 1px solid #c4c4c4; border-radius: 4px; color: #1f1f1f; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(10,120,163,.35); border-color: var(--acc); }
label.f { color: var(--tab2); font-weight: 700; }
.list { border: 0; border-radius: 0; display: flex; flex-direction: column; gap: 3px; }
.li { background: #e6e6e6; border: 0; border-radius: 2px; }
.li:hover { background: #dfedfa; }
.li .t { color: #1f1f1f; } .li .s { color: #5c5c5c; }
.li[data-go]::after { content: '›'; font-size: 26px; line-height: 1; color: #9a9a9a; margin-left: 4px; font-weight: 300; }
.tag { background: var(--tab2); color: #fff; border: 0; border-radius: 3px; font-weight: 700; }
.badge { background: #fdd0ce; color: #5a1a17; }
.pill { background: #fff; }
.opt { background: #fff; border: 1px solid #c4c4c4; color: #222; }
.opt.on { background: #333; color: #fff; border-color: #333; }
.opt.on.pass { background: #6aa84f; border-color: #6aa84f; color: #fff; } .opt.on.fail, .opt.on.unsafe { background: var(--bad); border-color: var(--bad); color: #fff; } .opt.on.repair { background: #f9be00; border-color: #f9be00; color: #111; } .opt.on.monitor { background: #f8e04b; border-color: #e0c600; color: #111; } .opt.on.na { background: #2ab0bf; border-color: #2ab0bf; color: #fff; }
.sec { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.sec > .hd { background: var(--tab); color: #fff; border-bottom: 0; }
.sec > .hd .pill { background: transparent; color: #fff; }
.q { border-bottom: 1px solid #ececec; }
.defect { background: #fff6dc; border: 1px dashed #e0a400; }
.danger { background: #fde3e1; border: 1px solid var(--bad); color: #5a1a17; }
.toast { background: #333; color: #fff; }
.thumbs img { background: #ddd; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 6px; color: #1f1f1f; }
.runhd { top: 40px; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.vchip { background: #e6e6e6; color: #1f1f1f; }
.week .day { background: #fff; }
.mbox { background: #fff; color: #1f1f1f; border-radius: 8px; }
.kv div:nth-child(odd) { color: var(--tab2); font-weight: 600; }
table.grid th { background: var(--th); color: #fff; font-size: 11px; text-transform: uppercase; } table.grid td, table.grid th { border-color: #d0d0d0; }
.ftab { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 10px; } .ftab th { background: var(--th); color: #fff; text-align: left; font-size: 11px; text-transform: uppercase; padding: 6px 8px; letter-spacing: .03em; }
.ftab td { padding: 7px 8px; border-bottom: 1px solid #e3e3e3; } .ftab tr:nth-child(even) td { background: #f7f7f7; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; } .pills a { background: #424242; color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 3px; border: 1px solid var(--acc); font-size: 13px; } .pills a.on { background: #f9fb00; color: #111; border-color: #d7d900; }
/* ⚙ settings menu grid */
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.smenu h4 { margin: 0 0 8px; color: var(--tab2); text-transform: uppercase; font-size: 15px; letter-spacing: .03em; border-bottom: 2px solid var(--hdr); padding-bottom: 4px; }
.sbtn { display: block; background: #3a3a3a; color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: 13px; padding: 10px 12px; margin-bottom: 6px; border-radius: 3px; letter-spacing: .02em; }
.sbtn:hover { background: var(--tab); } .sbtn small { display: block; text-transform: none; font-weight: 400; color: #cfcfcf; font-size: 11.5px; margin-top: 2px; }
/* phones */
@media (max-width: 760px) {
  .gbar { flex-wrap: wrap; gap: 6px 10px; padding-left: 10px; padding-right: 10px; }
  .gbar .who { order: 1; flex: 1; } .gend { order: 2; } .gmenu { order: 3; flex: 1 0 100%; justify-content: flex-start; gap: 18px; }
  .band { min-height: 0; padding: 4px 10px 26px; } .blogo img { height: 40px; } .blogo.txt { font-size: 20px; }
  .panel { width: calc(100% - 12px); margin-top: -20px; }
  .ftabs a { flex: none; font-size: 14px; padding: 8px 12px; }
  .panel > main { padding: 12px 10px 30px; }
  .gfoot { grid-template-columns: 1fr; text-align: center; gap: 4px; } .gfoot .pby { text-align: center; }
  .running .band { display: none; } .running .panel { margin-top: 6px; }
  .cbar .cname { font-size: 18px; }
}
@media print {
  .gbar, .band, .ftabs, .fsub, .gfoot, .cnav { display: none !important; }
  html, body { background: #fff; } .panel { box-shadow: none; margin: 0; width: auto; max-width: none; border-radius: 0; background: #fff; } .panel > main { padding: 0; }
}
/* 📅 year planner (FileMaker "Schedules overview") */
.gbar .who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30%; }
.yhead { display: flex; align-items: center; gap: 30px; margin: 4px 0 10px; } .yhead b { color: var(--tab); font-size: 22px; text-transform: uppercase; } .yhead .yr { color: var(--tab); font-size: 24px; font-weight: 800; } .yhead .yr a { color: #222; text-decoration: none; margin: 0 8px; }
.yblocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 12px; }
.mb { min-width: 0; } .mb h5 { margin: 0 0 2px; background: var(--tab); color: #fff; padding: 4px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; } .mb.cur h5 { background: #a01e16; }
.vr { display: grid; grid-template-columns: 62px 56px 1fr; gap: 2px; margin-top: 2px; font-size: 12px; text-decoration: none; }
.vr span { padding: 3px 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.vr:hover { filter: brightness(1.08); } .vnone { height: 20px; background: #ececec; }
.st-proposed, .vr.st-proposed span { background: #f2e94e; color: #222; } .st-progress, .vr.st-progress span { background: #7ab648; color: #fff; } .st-fixed, .vr.st-fixed span { background: #e8432f; color: #fff; }
.st-done, .vr.st-done span { background: #977a7c; color: #fff; } .st-over, .vr.st-over span { background: #6cc4f0; color: #0d2c3a; }
.vlegend { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--line); } .vlegend span { text-align: center; padding: 4px; font-size: 13px; }
@media (max-width: 980px) { .yblocks { grid-template-columns: repeat(2, 1fr); } .vlegend { gap: 6px; } }
@media (max-width: 560px) { .yblocks { grid-template-columns: 1fr; } .vlegend { grid-template-columns: repeat(2, 1fr); } }
/* 🦺 job packs: method statements / risk assessments (FileMaker profile screens + A4 prints like MS1) */
.rhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; background: #3d3d3d; color: #fff; padding: 12px 14px; border-radius: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.rhead b { font-size: 22px; text-transform: uppercase; } .rhead .small { color: #bbb; text-transform: uppercase; letter-spacing: .04em; } .rhead .rref { color: #8fd3ea; font-weight: 700; } .rhead .pill { color: #ddd; background: transparent; }
.ftabs.rt3 { padding: 0; margin-bottom: 10px; } .ftabs.rt3 a { flex: 1; }
.bandh { background: var(--tab); color: #fff; padding: 6px 10px; margin: 14px 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; border-radius: 2px; }
.bandh input { color: #111; }
textarea.red, input.red { color: #c8281e; }
.msx { display: grid; grid-template-columns: 280px 1fr; gap: 14px; } @media (max-width: 860px) { .msx { grid-template-columns: 1fr; } }
.mslist tr[data-act] { cursor: pointer; } .mslist tr.sel td { background: var(--tab); color: #fff; }
.msq td { vertical-align: top; } .msq input[type=text] { margin: 0; }
.picgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } @media (max-width: 640px) { .picgrid { grid-template-columns: 1fr 1fr; } }
.picbox { background: #fff; border: 1px dashed #bbb; border-radius: 4px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.picadd { display: flex; align-items: center; justify-content: center; min-height: 92px; color: var(--mut); cursor: pointer; background: #f6f6f6; border-radius: 4px; text-align: center; font-size: 13px; }
.persons { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 12px; padding: 8px 10px; border: 1px solid var(--tab); border-radius: 4px; } .persons > span { white-space: nowrap; }
.hz td { vertical-align: top; } .hz textarea { min-height: 44px; } .hz .lc input { width: 54px; display: block; margin-bottom: 3px; padding: 5px; }
.rlc { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-size: 13px; padding: 0 4px; background: #ddd; color: #333; }
.rl1, .rlc.rl1 { background: #7ab648; color: #fff; } .rl2, .rlc.rl2 { background: #f2e94e; color: #222; } .rl3, .rlc.rl3 { background: #f39c34; color: #fff; } .rl4, .rlc.rl4 { background: #d0281e; color: #fff; }
.rlkey { font-size: 12px; margin: 10px 0; display: grid; gap: 4px; } .rlkey .rlc { width: auto; height: auto; border-radius: 3px; padding: 1px 6px; font-size: 11px; }
.ntile { display: inline-block; background: var(--tab2); color: #fff; border-radius: 3px; padding: 6px 0; width: 32px; text-align: center; font-weight: 700; }
.rlist tr[data-go] { cursor: pointer; } .rlist tr[data-go]:hover td { background: #dfedfa; } .rlist .rt { color: #3a8aa8; text-transform: uppercase; } .rlist .rlvl { color: #3a8aa8; text-transform: uppercase; } .rlist .rdesc { color: #b0281e; font-weight: 700; text-transform: uppercase; font-size: 12px; }
.chev { font-size: 26px; color: #999; text-align: right; width: 30px; } tr[data-go] { cursor: pointer; }
.signon { border-left: 4px solid var(--teal); }
/* printed pack */
.pdoc { background: #fff; color: #111; padding: 22px 26px 70px; margin-bottom: 14px; font-size: 12.5px; position: relative; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.pbanner { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #2f5fd0; color: #fff; padding: 10px 16px; border-radius: 0 40px 0 0; font-size: 11px; text-align: right; }
.pbanner img { height: 54px; background: #fff; padding: 4px 8px; border-radius: 3px; }
.ptl { text-align: center; color: #111; text-transform: none; font-weight: 400; font-size: 20px; margin: 14px 0 10px; }
.pdoc h4 { margin: 14px 0 6px; font-size: 13px; } .pdoc .pre { white-space: pre-wrap; margin: 6px 0; }
.ph td { width: 50%; } .pred { color: #c8281e; } .pred.big { font-size: 16px; }
.pteam td { height: 30px; } .prows { width: 100%; border-collapse: collapse; } .prows td { padding: 3px 6px 3px 0; vertical-align: top; } .prows td:first-child { width: 34%; } .prows td:nth-child(2) { width: 12%; font-weight: 700; }
.pstmt { font-size: 14px; margin: 8px 0; } .ppics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; } .ppics img { width: 100%; height: 150px; object-fit: contain; background: #f4f4f4; } .ppics figure { margin: 0; } .ppics figcaption { font-size: 11px; text-align: center; }
.phz td.rl1, .phz td.rl2, .phz td.rl3, .phz td.rl4 { text-align: center; font-weight: 800; }
.pfoot { position: absolute; left: 26px; right: 26px; bottom: 14px; text-align: center; font-size: 11px; border-top: 1px solid #ddd; padding-top: 6px; } .pfoot .pred { margin-top: 3px; }
.pbreak { height: 0; break-after: page; }
@media print {
  .pdoc { box-shadow: none; padding: 0 0 4mm; margin: 0; } .psec { break-inside: avoid-page; } .pteam, .ph { break-inside: avoid; }
  .pfoot { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; }
  @page { size: A4; margin: 12mm 12mm 24mm; @bottom-right { content: "Page " counter(page) " of " counter(pages); font-size: 9pt; } }
}
/* 🏠 app-style home */
.apphead { display: flex; align-items: baseline; gap: 12px; margin: 2px 0 14px; } .apphead b { font-size: 24px; color: var(--tab); } .apphead span { color: var(--mut); }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 18px 12px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: #222; -webkit-tap-highlight-color: transparent; }
.app .ic { position: relative; width: 76px; height: 76px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: var(--tc, #3a76a2); color: var(--tci, #fff); box-shadow: 0 4px 12px rgba(0,0,0,.18); transition: transform .12s; }
.app .ic svg { width: 40px; height: 40px; }
.app:active .ic, .app:hover .ic { transform: scale(1.06); }
.app b { font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; }
.app .ic i { position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--tab2); color: #fff; font-size: 12px; font-style: normal; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.app .ic i.w { background: var(--bad); }
/* 🎨 solid tile colours (look.js): white drawings on top; a colour picked in 🎨 My Home sets --tc on the tile itself */
.app.c1 { --tc: #0a78a3; } .app.c2 { --tc: #3a76a2; } .app.c3 { --tc: #d97706; } .app.c4 { --tc: #0369a1; } .app.c5 { --tc: #5b6770; } .app.c6 { --tc: #d0281e; } .app.c7 { --tc: #ea580c; } .app.c8 { --tc: #a30a04; } .app.c9 { --tc: #424242; }
.app.c10 { --tc: #4f9a2a; } .app.c11 { --tc: #2f6e9b; } .app.c12 { --tc: #7a1d18; } .app.c13 { --tc: #6b4aa3; } .app.c14 { --tc: #2b8ca6; } .app.c15 { --tc: #8a6d3b; } .app.c16 { --tc: #1f9479; } .app.c17 { --tc: #4b5563; }
@media (max-width: 420px) { .apps { grid-template-columns: repeat(3, 1fr); gap: 16px 6px; } .app .ic { width: 68px; height: 68px; border-radius: 18px; } .app .ic svg { width: 36px; height: 36px; } }
.rsel { width: 20px; height: 20px; flex: none; margin-right: 2px; } .bulkbar { position: sticky; top: 44px; z-index: 3; background: #fffbe6; border-color: #e0c600; }
.fixcard { border-left: 4px solid var(--ok); margin-top: 12px; }

/* ===================================================================== 📱 FileMaker Go look on phones (goshell.js, 15 Nov 2026)
   From the InspectUs3 "iPhone" layouts: blue title bar (‹ · TITLE · ☰), yellow customer + white site line, blue section bands, white
   rows edge to edge with a coloured strip on the right (green in date, orange due soon, red overdue, grey none), question cards with a
   number strip, an orange REQUIRED tag and icon answer buttons, black bar along the bottom. */
.qn { display: none; }
.qreq { display: inline-block; background: #f5a623; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 1px 6px; border-radius: 2px; vertical-align: 2px; margin-left: 4px; }
.opt .oi { font-style: normal; margin-right: 5px; opacity: .8; }
.gofab { position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; background: #1f5878; color: #fff; border: 0; border-radius: 22px; padding: 10px 16px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.go { --gob: var(--brand-gob, #1f5878); --gob2: #17465f; --goy: #f3c94b; --goo: #f39c12; --gog: #6cb33f; min-height: 100vh; background: #e2e2e2; color: #222; }
.go.home { background: var(--gob); }
.gohd { position: sticky; top: 0; z-index: 8; background: var(--gob); color: var(--goink, #fff); padding-top: env(safe-area-inset-top); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.gohd.fix { background: #5aae3c; }
.gorow { display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; min-height: 54px; }
.gorow.home { grid-template-columns: auto 1fr 54px; padding-left: 10px; }
.gob { background: none; border: 0; color: inherit; font-size: 28px; line-height: 1; padding: 8px 0; cursor: pointer; text-align: center; -webkit-tap-highlight-color: transparent; }
.gob.back { font-size: 44px; font-weight: 200; padding: 0 0 6px; }
.gotitle { text-align: center; text-transform: uppercase; font-size: 18px; font-weight: 500; letter-spacing: .02em; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.golog img { height: 34px; max-width: 170px; object-fit: contain; display: block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); border-radius: 6px; padding: 2px 8px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.golog b { font-size: 22px; font-weight: 800; }
.gosub { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 10px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.gosub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gosub .c { color: var(--goy); } .gosub .s { color: inherit; }
.gosub .sync { flex: none; border: 0; padding: 0; color: #cfe3ee; text-transform: none; font-weight: 600; } .gosub .sync.off { color: #ffd34d; }
.gosrch { display: flex; align-items: center; gap: 12px; background: #c9c9c9; padding: 9px 10px; text-decoration: none; box-shadow: inset 0 -1px 0 #aaa; }
.gosrch span { flex: 1; background: var(--gob); color: #fff; border-radius: 10px; padding: 11px 12px; text-align: center; font-size: 15px; box-shadow: inset 0 2px 5px rgba(0,0,0,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gosrch b { font-size: 26px; filter: grayscale(1) brightness(.4); }
.gomain { max-width: 720px; margin: 0 auto; padding: 10px 8px calc(86px + env(safe-area-inset-bottom)); }
.go.running .gomain { padding-bottom: 30px; }
.gotab { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; background: #1a1a1a; padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); }
.gotab a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; color: #9a9a9a; text-decoration: none; font-size: 11px; padding: 3px 2px; white-space: nowrap; }
.gotab a i { font-style: normal; line-height: 1; height: 24px; display: flex; align-items: center; opacity: .8; } .gotab a i svg { width: 22px; height: 22px; }
.gotab a.on { color: #fff; } .gotab a.on i { opacity: 1; }
.gotab .sync { border: 0; padding: 0; font-size: 11px; color: inherit; border-radius: 0; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .gotab .sync.off { color: #ffd34d; }
.godim { position: fixed; inset: 0; z-index: 9; background: rgba(0,0,0,.45); }
.godrawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 10; width: min(82vw, 310px); overflow-y: auto; background: #fff; padding-bottom: env(safe-area-inset-bottom); box-shadow: -6px 0 22px rgba(0,0,0,.35); }
.godrawer .dh { background: var(--gob); color: #fff; padding: calc(16px + env(safe-area-inset-top)) 16px 14px; font-weight: 800; text-transform: uppercase; font-size: 15px; }
.godrawer .dh small { display: block; text-transform: none; font-weight: 400; opacity: .8; font-size: 12px; margin-top: 2px; }
/* ☰ 16 Nov 2026: the main menu as one-colour buttons (like the computer's top bar), then a short plain list with grey line icons */
.gdgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 12px 12px; border-bottom: 1px solid #e6e6e6; }
.gdb { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 6px 10px; border-radius: 14px; text-decoration: none; color: #1f2a33; font-weight: 700; font-size: 14px;
  background: color-mix(in srgb, var(--tc, #3a76a2) 8%, #fff); border: 1px solid color-mix(in srgb, var(--tc, #3a76a2) 28%, #fff); box-shadow: 0 1px 3px rgba(0,0,0,.08); -webkit-tap-highlight-color: transparent; transition: transform .08s; }
.gdb .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tc, #3a76a2); color: var(--tci, #fff); }
.gdb .ic svg { width: 24px; height: 24px; }
.gdb:active { transform: translateY(1px); }
.gdb.on { background: var(--tc, #3a76a2); border-color: var(--tc, #3a76a2); color: var(--tci, #fff); box-shadow: 0 3px 10px rgba(0,0,0,.22); }
.gdb.on .ic { background: color-mix(in srgb, var(--tci, #fff) 18%, transparent); }
.gdlist { padding: 4px 0 10px; }
.gdlist a { display: flex; align-items: center; gap: 14px; padding: 11px 18px; color: #2b333a; text-decoration: none; font-weight: 600; font-size: 15px; }
.gdlist a i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; color: #6b7780; flex: none; } .gdlist a i svg { width: 20px; height: 20px; }
.gdlist a.on { color: var(--gob); } .gdlist a.on i { color: var(--gob); }
.gdlist a:active { background: #f0f3f5; }
/* Main */
.go.home .gomain { padding-top: 16px; }
.go.home .apphead b, .go.home .apphead span { color: #fff; } .go.home .app b { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.go.home .app .ic i { border-color: var(--gob); } .go.home .app .ic { box-shadow: 0 0 0 1.5px rgba(255,255,255,.28), 0 4px 12px rgba(0,0,0,.28); }
/* page parts */
.go h2 { font-size: 17px; color: var(--gob); }
.go h3 { background: var(--gob); color: #fff; text-transform: uppercase; font-size: 12px; letter-spacing: .03em; padding: 6px 10px; margin: 14px -8px 0; }
.go h3 .badge { background: rgba(255,255,255,.2); color: #fff; }
.go h3 + .list, .go h3 + .card, .go h3 + div > .list:first-child { margin-top: 0; }
.go .card { border-radius: 3px; margin-left: -2px; margin-right: -2px; }
.go .list { gap: 0; margin: 0 -8px 10px; border-top: 1px solid #c4c4c4; }
.go .li { position: relative; background: #f6f6f6; border-radius: 0; border-bottom: 1px solid #c4c4c4; padding: 9px 10px; }
.go .li:hover { background: #eef4f8; }
.go .li .t { text-transform: uppercase; font-size: 13.5px; font-weight: 800; color: #2b2b2b; letter-spacing: .01em; }
.go .li .s { font-size: 12px; color: #555; }
.go .li .end { font-size: 11.5px; }
.go .li .end .btn { margin-top: 3px; }
.go .li[data-go]::after { display: none; }
.go .li:has(.due) { padding-right: 24px; }
.go .li:has(.due)::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 13px; background: var(--gog); }
.go .li:has(.due.soon)::before { background: var(--goo); } .go .li:has(.due.over)::before { background: #d0281e; } .go .li:has(.due .mut)::before { background: #b9b9b9; }
.go[data-p="cos"] .li .t { color: #1f78b4; }
.go .pills a { border-radius: 2px; }
.go .kv { grid-template-columns: 110px 1fr; gap: 0; background: #fff; border-top: 1px solid #e3e3e3; }
.go .kv > div { padding: 8px 6px; border-bottom: 1px solid #e3e3e3; margin: 0 !important; }
.go .kv > div:nth-child(odd) { text-align: right; color: #1f78b4; font-size: 12px; font-weight: 500; padding-right: 10px; }
.go .ftab { font-size: 12px; } .go .ftab th { font-size: 10px; }
.go .btn.pri.big { width: 100%; justify-content: center; padding: 14px; font-size: 17px; }
.go .row > .btn.pri.big + .sp + .btn { margin: 4px auto 0; }
/* asset card: FileMaker's dark EDIT · ADD SIMILAR · DELETE bar */
.go[data-p="a"] .gomain > .row.noprint:first-child { background: #3a3a3a; margin: -10px -8px 0; gap: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.go[data-p="a"] .gomain > .row.noprint:first-child > a:first-child, .go[data-p="a"] .gomain > .row.noprint:first-child > .sp { display: none; }
.go[data-p="a"] .gomain > .row.noprint:first-child .btn { flex: 1 0 auto; background: transparent; color: #fff; border: 0; border-right: 1px solid #575757; border-radius: 0; text-transform: uppercase; font-size: 12px; padding: 12px 12px; justify-content: center; }
.go[data-p="a"] .qr { width: 86px; height: 86px; }
/* the inspection (Event Creator) */
.go .runhd { top: var(--goh, 74px); margin: -10px -8px 0; border-radius: 0; border: 0; border-bottom: 1px solid #c4c4c4; box-shadow: none; padding: 8px 10px; }
.go .runhd > a.btn, .go .runhd .s { display: none; }
.go .sec { margin: 10px -8px; border-radius: 0; border-left: 0; border-right: 0; background: #e2e2e2; }
.go .sec > .hd { background: var(--gob); color: #fff; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; padding: 8px 10px; }
.go .sec > .hd .btn { text-transform: none; }
.go .q { position: relative; background: #fff; padding: 10px 10px 12px; border-bottom: 6px solid #e2e2e2; } .go .q:has(> .qn) { padding-right: 46px; }
.go .q:last-child { border-bottom: 0; }
.go .q .qt { color: #1f78b4; font-weight: 500; font-size: 14px; }
.go .qn { display: flex; position: absolute; top: 0; right: 0; bottom: 0; width: 34px; justify-content: center; padding-top: 10px; background: #8f8f8f; color: #fff; font-size: 12px; font-weight: 700; }
.go .q.ans .qn { background: var(--gog); } .go .q.bad .qn { background: #d0281e; } .go .q.miss .qn { background: var(--goo); }
.go .q .qreq { display: table; margin: 5px 0 0; }
.go .opts { gap: 4px; margin-top: 8px; }
.go .opt.big { flex: 1 1 56px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 7px 3px 6px; font-size: 11px; font-weight: 700; line-height: 1.15; text-align: center; border-radius: 3px; background: #ececec; border: 1px solid #d3d3d3; color: #666; }
.go .opt .oi { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0; border-radius: 50%; background: #c7c7c7; color: #fff; font-size: 16px; font-weight: 800; opacity: 1; }
.go .opt.big.on { background: #333; border-color: #333; color: #fff; } .go .opt.on .oi { background: rgba(255,255,255,.3); }
.go .opt.big.on.pass { background: #57a845; border-color: #4a9439; } .go .opt.big.on.fail, .go .opt.big.on.unsafe { background: #d0281e; border-color: #b3221a; }
.go .opt.big.on.repair { background: #f5a623; border-color: #e0951a; } .go .opt.big.on.monitor { background: #f2d33a; border-color: #dcbd22; color: #222; }
.go .opt .oi.repair { font-size: 21px; }
.go .opt.big.on.na { background: #7a7a7a; border-color: #6a6a6a; }
.go.home .apphead b { font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .go.home .apphead { flex-wrap: wrap; }
.go .defect { margin-top: 8px; border-radius: 3px; }
/* the 7-day view as one list down the phone (FileMaker Go "My Schedule") */
.go .week { grid-template-columns: 1fr; gap: 0; margin: 0 -8px; overflow: visible; border-top: 1px solid #c4c4c4; }
.go .week .day { min-height: 0; border-radius: 0; border-width: 0 0 1px; border-color: #c4c4c4; padding: 8px 10px; }
.go .week .day > b:first-child, .go .week .day > .dh:first-child { color: var(--gob); text-transform: uppercase; font-size: 12px; }

/* 📱 one section per screen, schedule card tabs, row photos, customer chips (15 Nov 2026, Nick: "do all four") */
.pgstrip, .pgnav, .vband, .vtabs, .vtonly, .athumb, .cchips, .copin { display: none; }
.go .pg:not(.cur) { display: none; }
.go .pgstrip { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; background: #2f2f2f; position: sticky; top: calc(var(--goh, 74px) + var(--runh, 50px)); z-index: 3; }
.go .pgstrip::-webkit-scrollbar { display: none; }
.go .pgstrip a { flex: none; color: #ddd; text-decoration: none; font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 9px 12px; border-right: 1px solid #444; white-space: nowrap; }
.go .pgstrip a b { display: inline-flex; min-width: 19px; height: 19px; padding: 0 5px; margin-right: 5px; border-radius: 10px; background: #8f8f8f; color: #fff; align-items: center; justify-content: center; font-size: 11px; }
.go .pgstrip a.ok b { background: var(--gog); } .go .pgstrip a.bad b { background: #d0281e; }
.go .pgstrip a i { font-style: normal; font-weight: 600; opacity: .7; margin-left: 4px; }
.go .pgstrip a.on { background: var(--goo); color: #fff; } .go .pgstrip a.on b { background: rgba(0,0,0,.25); }
.go .pgnav { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; background: #1a1a1a; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
.go .pgnav .btn { flex: 1 1 0; min-width: 0; display: block; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 12px 8px; font-size: 15px; }
.go .pgnav > span:not(.pgof) { flex: 1 1 0; }
.go .pgnav .pgof { flex: none; color: #aaa; font-size: 12px; }
.go.running .gomain { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.go .vband { display: flex; justify-content: space-between; gap: 10px; background: var(--goo); color: #fff; margin: 10px -8px 0; padding: 8px 10px; font-size: 13px; }
.go .vband.ok { background: var(--gog); } .go .vband.mut { background: #7a7a7a; } .go .vband.acc { background: var(--gob); }
.go .vtabs { display: flex; overflow-x: auto; scrollbar-width: none; background: #2f2f2f; margin: 0 -8px 10px; }
.go .vtabs::-webkit-scrollbar { display: none; }
.go .vtabs a { flex: 1 0 auto; text-align: center; color: #ddd; text-decoration: none; text-transform: uppercase; font-size: 11.5px; font-weight: 700; padding: 11px 9px; border-right: 1px solid #444; white-space: nowrap; }
.go .vtabs a.on { background: #fff; color: var(--gob); }
.go .vt:not(.on) { display: none; }
.go .vtonly { display: block; }
.go[data-p="visit"] .gomain > .row:first-child > a.btn:first-child { display: none; }
.go .athumb { display: block; flex: none; width: 54px; height: 54px; background: #d5d5d5; border-radius: 2px; overflow: hidden; }
.go .athumb:empty::after { content: '📷'; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 20px; opacity: .3; }
.go .athumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aphoto { width: 130px; height: 130px; object-fit: cover; border-radius: 4px; background: #ddd; cursor: zoom-in; flex: none; }
.go .aphoto { width: 96px; height: 96px; }
.go .cchips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.go .cchips span { background: #e1e1e1; color: #555; font-size: 10.5px; text-transform: uppercase; font-weight: 700; letter-spacing: .02em; padding: 2px 6px; border-radius: 2px; }
.go .cchips span b { color: #222; margin-left: 2px; } .go .cchips .ov { background: #fbe1df; color: #a01d15; }
.go .copin { display: flex; flex: none; align-self: stretch; align-items: center; justify-content: center; width: 46px; margin: -9px -10px -9px 6px; background: #1f1f1f; color: #fff; text-decoration: none; font-size: 20px; }
.go .copin.off { background: #c4c4c4; }
.go .li.co .end { display: none; }

/* 🎨 branding (brand.js): text on a chosen bar / button colour stays readable */
.gbar .who a, .gmenu a.on, .gmenu a:hover, .gend .gi, .gbar .who .vsep, .blogo.txt { color: var(--barink, #fff); }
.gbar .sync { color: var(--barink, #fff); }
.btn.pri, .btn.pri:hover { color: var(--btnink, #fff); }
.gend .gpin { font-size: 16px; opacity: .55; filter: grayscale(1); } .gend .gpin.on, .gend .gpin:hover { opacity: 1; filter: none; }
.brgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; } @media (max-width: 860px) { .brgrid { grid-template-columns: 1fr; } }
.brprev { position: sticky; top: 50px; }
.brsw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.brsw button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #bbb; cursor: pointer; padding: 0; }
.brsw button.on { box-shadow: 0 0 0 3px #111; }
.brpick { position: relative; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red); cursor: pointer; font-size: 0; }
.brpick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.brth span { display: inline-block; width: 10px; height: 16px; } .brth span:nth-child(3) { margin-right: 4px; }
.bp-classic { border: 1px solid #ccc; border-radius: 6px; overflow: hidden; margin-top: 8px; font-size: 11px; }
.bp-bar { padding: 5px 8px; display: flex; gap: 10px; justify-content: space-between; } .bp-bar span { font-weight: 700; }
.bp-band { padding: 4px 8px 18px; display: flex; justify-content: center; }
.bp-logo { height: 34px; max-width: 160px; object-fit: contain; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 6px; padding: 2px 8px; color: #fff; font-size: 16px; }
.bp-logo.sm { height: 26px; font-size: 13px; }
.bp-panel { background: #f4f4f4; margin: -12px 8px 0; padding: 6px 8px 10px; border-radius: 4px 4px 0 0; }
.bp-tabs span { display: inline-block; color: #fff; padding: 3px 8px; margin-right: 2px; border-radius: 3px 3px 0 0; } .bp-tabs span.on { background: #fff; color: #111; border: 1px solid #ddd; }
.bp-panel h4 { margin: 8px 0 6px; font-size: 13px; }
.bp-btn { display: inline-block; padding: 5px 12px; border-radius: 4px; font-weight: 700; }
.bp-phone { width: 190px; margin: 12px auto 0; border: 6px solid #1a1a1a; border-radius: 18px; overflow: hidden; background: #e2e2e2; padding-bottom: 8px; text-align: center; font-size: 11px; }
.bp-ph { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; } .bp-ph span { font-size: 16px; }
.bp-phb { padding: 4px 8px 8px; } .bp-pill { display: block; background: rgba(0,0,0,.28); color: #fff; border-radius: 6px; padding: 5px; }
.bp-pq { display: flex; justify-content: space-between; background: #fff; margin: 8px 0; text-align: left; } .bp-pq span { padding: 8px; color: #1f78b4; } .bp-pq i { background: #8f8f8f; color: #fff; font-style: normal; padding: 8px 9px; }
/* 📌 My pins (Home) */
.pins { margin: 0 0 16px; } .pinhd { display: flex; align-items: center; margin-bottom: 8px; } .pinhd b { font-size: 15px; color: var(--tab); } .pinhd .sp { flex: 1; } .pinhd a { font-size: 13px; }
.pingrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.pin { display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; color: #222; text-align: center; }
.pin .ic { position: relative; width: 52px; height: 52px; border-radius: 14px; background: var(--tc, var(--tab, #3a76a2)); color: var(--tci, #fff); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.18); } .pin .ic svg { width: 28px; height: 28px; }
.pin .ic i { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--bad); color: #fff; font-size: 11px; font-style: normal; display: flex; align-items: center; justify-content: center; }
.pin b { font-size: 12px; font-weight: 600; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.go.home .pinhd b, .go.home .pinhd a, .go.home .pin b { color: #fff; }
/* 📌 notice board banner */
.ntcs { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.ntc { --nc: #eab308; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; background: color-mix(in srgb, var(--nc) 14%, #fff); border: 2px solid var(--nc); border-radius: 10px; padding: 10px 12px; color: #1f1f1f; }
.ntci { font-size: 18px; } .ntcb b { display: block; font-size: 15px; } .ntcb > div { margin-top: 2px; white-space: pre-line; }
.ntcx { background: none; border: 0; font-size: 18px; color: #777; cursor: pointer; padding: 0 2px; line-height: 1; }

/* 🔔 "Get notices on this phone?" (brand.js) */
.pushb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #eef6fb; border: 1px solid #b9d7ea; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; color: #1f1f1f; }
.pushb > span { font-size: 22px; } .pushb > div { flex: 1; min-width: 180px; } .pushb b { display: block; }

/* 🚫 an inspection marked N/A on one asset */
.li.na { opacity: .7; }
.li.na .t { text-decoration: line-through; text-decoration-color: var(--mut, #888); }

/* ✍ signatures: the whole signature on white, never cropped into a square photo thumbnail */
.thumbs.sigs img, .go .thumbs.sigs img { width: 240px; max-width: 100%; height: 96px; object-fit: contain; background: #fff; border: 1px solid var(--line, #ddd); }
.c-sig { max-width: 220px; object-fit: contain; }

/* 🛠 form builder (forms.js), laid out like the DF app's form builder: one row per question with its answer type, ✳ Required,
   ↑ ↓ ⧉ ✕ and ⚙ for the rest; a ＋ Add bar with every answer type under each section */
.fbq { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.fbq.open { background: var(--card2); }
.fbq-row { display: grid; grid-template-columns: 28px minmax(180px, 1fr) minmax(150px, 220px) auto auto; gap: 8px; align-items: center; }
.fbq-n { width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.fbq-t { font-weight: 600; }
.fb-ck { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 13px; cursor: pointer; }
.fb-ck input { width: auto; margin: 0; }
.fb-mv { display: inline-flex; gap: 4px; flex-wrap: nowrap; }
.fbq .chip, .fb-add .chip { padding: 5px 9px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--tx); cursor: pointer; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.fb-add .chip:hover, .fbq .chip:hover { border-color: var(--acc); }
.fbq .chip.on { background: var(--acc); color: #fff; border-color: var(--acc); }
.fbq .chip.bad { color: var(--bad); }
.fbq .chip:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.fbq .fb-opts, .fbq .fb-unit { display: block; margin: 6px 0 0 36px; width: calc(100% - 36px); font-size: 13px; }
.fbq .fb-unit { max-width: 320px; }
.fb-hint, .fb-ans, .fb-tags { margin: 4px 0 0 36px; font-size: 12px; color: var(--mut); }
.fb-sec > .fb-hint { margin: 0; }
.fb-ans { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.fb-ans .fa { padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); background: var(--card2); color: var(--tx); font-weight: 600; }
.fb-ans .fa.pass { border-color: var(--ok); color: var(--ok); } .fb-ans .fa.fail, .fb-ans .fa.unsafe { border-color: var(--bad); color: var(--bad); }
.fb-ans .fa.repair { border-color: var(--warn); color: var(--warn); } .fb-ans .fa.monitor { border-color: var(--mon); color: var(--mon); }
.fb-tags { display: flex; flex-wrap: wrap; gap: 6px; } .fb-tags span { background: var(--card2); border-radius: 6px; padding: 1px 6px; }
.fb-adv { margin: 8px 0 0 36px; padding: 10px; border: 1px dashed var(--line); border-radius: 10px; background: var(--card); }
.fb-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 12px; background: var(--card2); border-radius: 0 0 12px 12px; }
.fb-addl { font-weight: 700; font-size: 13px; margin-right: 2px; }
.fb-add select { width: auto; padding: 5px 10px; font-size: 13px; border-radius: 99px; }
button.link { background: none; border: 0; padding: 0 4px; color: var(--acc); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
select.qsel { max-width: 420px; }
.fb-sec > .hd .chk { background: rgba(255,255,255,.94); color: #1f2937; padding: 4px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; margin: 0; cursor: pointer; text-transform: none; letter-spacing: 0; }
.fb-sec > .hd .chk input { width: auto; margin: 0 4px 0 0; }
@media (max-width: 640px) {
  .fbq-row { grid-template-columns: 28px 1fr; }
  .fbq-row > :not(.fbq-n) { grid-column: 2; }
  .fbq-row .fbq-n { grid-row: 1; }
  .fbq-row .fb-ck { justify-self: start; }
  .fb-hint, .fb-ans, .fb-tags, .fb-adv { margin-left: 0; }
  .fbq .fb-opts, .fbq .fb-unit { margin-left: 0; width: 100%; max-width: none; }
}

/* 🔍 quick find in front of customer drop-downs (qfind.js) */
.qfind { display: block; width: 100%; margin: 0 0 4px; padding: 7px 10px; font-size: 14px; border-radius: 8px; }
.row > .qfind, .card.row > .qfind { display: inline-block; width: 170px; max-width: 45%; margin: 0; }

/* 🗓 month calendar (cal.js) */
.calviews { margin: 4px 0 10px; flex-wrap: wrap; gap: 6px; }
.calviews .seg { display: inline-flex; gap: 0; } .calviews .seg .btn { border-radius: 0; } .calviews .seg .btn:first-child { border-radius: 8px 0 0 8px; } .calviews .seg .btn:last-child { border-radius: 0 8px 8px 0; }
.calhd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .calhd b { font-size: 18px; min-width: 170px; text-align: center; }
.mcal { border: 1px solid var(--line, #ccc); border-radius: 12px; overflow: hidden; background: var(--card, #fff); }
.mcw, .mcg { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mcw span { padding: 6px; font-size: 12px; font-weight: 700; text-align: center; background: var(--card2, #eee); }
.mcd { min-height: 96px; border-top: 1px solid var(--line, #ddd); border-left: 1px solid var(--line, #ddd); padding: 3px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; min-width: 0; }
.mcd:nth-child(7n+1) { border-left: 0; } .mcd.out { opacity: .45; } .mcd.tdy .dn { background: var(--acc, #ff766e); color: #fff; border-radius: 10px; padding: 0 6px; }
.mcd.sel { outline: 2px solid var(--acc, #ff766e); outline-offset: -2px; }
.mcd .dn { font-size: 12px; font-weight: 700; align-self: flex-start; }
.cchip { display: block; font-size: 11.5px; line-height: 1.25; padding: 2px 4px; border-radius: 5px; background: var(--card2, #eee); color: var(--tx, #222); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid #9aa; }
.cchip { display: flex; gap: 3px; align-items: baseline; } .cchip .cn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .cchip b, .cchip i { flex-shrink: 0; }
.cchip i { font-style: normal; font-weight: 700; color: var(--gob, #1f5878); } .cchip i.none { color: var(--bad, #c00); }
.cchip.st-proposed { border-left-color: #e0d530; } .cchip.st-fixed { border-left-color: #e8432f; } .cchip.st-progress { border-left-color: #7ab648; } .cchip.st-done { border-left-color: #977a7c; opacity: .75; } .cchip.st-hold { border-left-color: #666; }
.cchip.due { background: transparent; border: 1px dashed #e0a800; border-left-width: 3px; }
.mcd .more { font-size: 11px; color: var(--mut, #777); } .mcd .dots { display: none; }
.dots i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 2px; background: #9aa3ad; } .dots i.st-proposed { background: #e0d530; } .dots i.st-fixed { background: #e8432f; } .dots i.st-progress { background: #7ab648; } .dots i.st-done { background: #977a7c; }
.vlegend .st-due { border: 1px dashed #e0a800; padding: 0 6px; border-radius: 6px; }
.ini { display: inline-block; min-width: 22px; padding: 0 4px; border-radius: 10px; background: var(--gob, #1f5878); color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.calpeek { position: fixed; inset: 0; background: #0006; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.calpeek .cpbox { background: var(--card, #fff); color: var(--tx, #222); width: min(520px, 100%); border-radius: 16px 16px 0 0; padding: 14px 16px 18px; max-height: 80vh; overflow: auto; box-shadow: 0 -6px 30px #0004; }
@media (min-width: 700px) { .calpeek { align-items: center; } .calpeek .cpbox { border-radius: 16px; } }
/* phones: dots in the grid, the day's jobs listed underneath when you tap it */
@media (max-width: 640px) { .mcd { min-height: 54px; } .mcd .cchip, .mcd .more { display: none; } .mcd .dots { display: block; } .calhd b { min-width: 0; flex: 1; font-size: 16px; } }

/* 🧰 job pack on a schedule visit (jobs.js) */
.jtg h4 { margin: 10px 0 4px; font-size: 14px; } .jtg:first-of-type h4 { margin-top: 0; }
.jtask { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line, #e4e4e4); }
.jtask label { flex: 1; display: flex; gap: 8px; align-items: center; cursor: pointer; } .jtask input { width: 20px; height: 20px; flex-shrink: 0; }
.jtask.done label span { text-decoration: line-through; color: var(--mut, #888); }
.jtadd { margin-top: 10px; } .jwadd { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line, #ccc); }
.jday { padding: 6px 0; border-bottom: 1px solid var(--line, #e4e4e4); } .jday:last-child { border-bottom: 0; }
.opt.clash { border-color: var(--bad, #c00) !important; }

/* 🧾 certificate templates (certtpl.js): your design as the page, the data in boxes on top (sizes scale with the page) */
.ctpl { position: relative; width: 100%; container-type: inline-size; background: #fff; color: #000; overflow: hidden; margin: 0 auto; }
.ctpl .ctbg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.ctf { position: absolute; overflow: hidden; font-size: calc(var(--fs, 9) * 100cqw / 595); line-height: 1.15; white-space: pre-line; font-family: Arial, Helvetica, sans-serif; }
.ctf.b { font-weight: 700; } .ctf.al-center { text-align: center; } .ctf.al-right { text-align: right; }
.ctf.img { display: flex; align-items: center; } .ctf.img img, .ctf.img svg { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctf.al-center.img { justify-content: center; } .ctf.al-right.img { justify-content: flex-end; }
.ctf .ctchk, .ctmore .ctchk { width: 100%; border-collapse: collapse; } .ctf .ctchk td { padding: 0 .3em; border-bottom: 1px solid #ddd; font-size: .9em; }
.ctchk td.sec { font-weight: 700; background: #eee; } .ctchk .r-fail, .ctchk .r-unsafe { color: #b00; font-weight: 700; }
.ctdraft { position: absolute; top: 40%; left: 0; right: 0; text-align: center; font-size: 12cqw; color: #d00a; transform: rotate(-20deg); font-weight: 800; pointer-events: none; }
.ctmore { margin-top: 18px; break-before: page; } .ctmore .ctchk td { padding: 3px 6px; border-bottom: 1px solid #ddd; }
.cert.tpl { padding: 0; }
.ctpl.edit { border: 1px solid var(--line, #ccc); box-shadow: 0 2px 12px #0002; touch-action: none; }
.ctpl.edit .ctf { outline: 1.5px dashed #2f7bd8; background: #2f7bd81a; cursor: move; min-height: 6px; }
.ctpl.edit .ctf[data-on] { outline: 2px solid #e8590c; background: #e8590c22; z-index: 2; }
.ctpl.edit .ctf::after { content: ''; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; background: #2f7bd8; cursor: nwse-resize; }
.ctpl.edit .ph { color: #2f7bd8; font-style: italic; }
.ctwrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.ctright { position: sticky; top: 8px; } .ctflist { display: flex; flex-wrap: wrap; gap: 4px; } .ctflist a { font-size: 12px; padding: 3px 8px; border-radius: 12px; background: var(--card2, #eee); text-decoration: none; color: inherit; }
.ctlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } .ctcard { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; background: var(--card, #fff); border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 8px; }
.ctcard img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid #ddd; } .ctcard span { font-size: 12px; color: var(--mut, #777); }
@media (max-width: 800px) { .ctwrap { grid-template-columns: 1fr; } .ctright { position: static; } }
@page ctpage { size: A4; margin: 0; }
@media print { .cert.tpl .ctpl { page: ctpage; width: 100%; break-after: page; } .ctpl .ctbg { print-color-adjust: exact; -webkit-print-color-adjust: exact; } .ctmore { break-before: auto; } }
/* 🏢 template header and footer built from company details */
.cthead, .ctfoot { position: absolute; left: 0; right: 0; background: #fff; display: flex; align-items: center; gap: 2.5cqw; padding: 0 4cqw; box-sizing: border-box; z-index: 1; font-family: Arial, Helvetica, sans-serif; color: #222; }
.cthead { top: 0; border-bottom: .5cqw solid #1f5878; } .ctfoot { bottom: 0; border-top: .25cqw solid #1f5878; justify-content: space-between; }
.cthead img { height: 70%; max-width: 28cqw; object-fit: contain; }
.cthf { display: flex; flex-direction: column; gap: .2cqw; min-width: 0; } .ctttl { margin-left: auto; text-align: right; font-size: 3.1cqw; font-weight: 700; line-height: 1.15; max-width: 45%; } .ctttl small { display: block; font-size: 1.3cqw; font-weight: 400; color: #555; }
.cthead .cthf b { font-size: 2.6cqw; } .cthead .cthf span { font-size: 1.45cqw; } .ctfoot .cthf span { font-size: 1.25cqw; }
.ctqr { height: 80%; aspect-ratio: 1; } .ctqr svg { width: 100%; height: 100%; }
.c-fc { color: #555; }
/* 🏠 our own kit, pinned at the top of Customers */
.owncard { border: 2px solid var(--acc, #ff766e) !important; background: color-mix(in srgb, var(--acc, #ff766e) 7%, var(--card, #fff)) !important; margin-bottom: 10px; }
/* 💼 Business tiles on Home (staff-area features) */
.appsh { margin: 18px 4px 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--mut, #777); }

/* 🗂 management system (mgmt.js) */
.mwrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; align-items: start; }
.mtree { display: flex; flex-direction: column; gap: 2px; background: var(--card, #fff); border: 1px solid var(--line, #ddd); border-radius: 12px; padding: 6px; position: sticky; top: 8px; }
.mfold { display: flex; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: inherit; font-size: 14px; }
.mfold small { margin-left: auto; color: var(--mut, #777); } .mfold.on { background: var(--acc, #ff766e); color: #fff; } .mfold.on small { color: #fff; }
.msec { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 8px; margin-bottom: 8px; } .msec textarea { width: 100%; margin-top: 6px; }
.mbody h3 { margin: 14px 0 4px; } .mbody p { margin: 0 0 8px; line-height: 1.45; }
.mdue { border-left: 4px solid var(--warn, #f39c12); margin-bottom: 10px; }
@media (max-width: 760px) { .mwrap { grid-template-columns: 1fr; } .mtree { position: static; flex-direction: row; flex-wrap: wrap; } .mtree .mfold { padding-left: 8px !important; border: 1px solid var(--line, #ddd); } }

/* 🔌 PAT testing (pat.js) */
.pattest label.f { margin-top: 12px; } .pattest input[type=number] { font-size: 20px; padding: 8px 10px; }
.patverdict { border-left: 6px solid var(--line, #ccc); } .patverdict b { font-size: 20px; } .patverdict.pass { border-left-color: #2e9e5b; background: #2e9e5b14; } .patverdict.fail { border-left-color: #c0392b; background: #c0392b14; }
.patlabels { display: grid; grid-template-columns: repeat(auto-fill, 62mm); gap: 4mm; }
.plab { width: 62mm; height: 30mm; border: 1px solid #999; border-radius: 2mm; overflow: hidden; background: #fff; color: #000; font: 8.5pt/1.2 Arial, sans-serif; break-inside: avoid; }
.plh { color: #fff; font-weight: 800; font-size: 13pt; padding: 1mm 2mm; display: flex; justify-content: space-between; align-items: baseline; } .plh small { font-size: 7pt; font-weight: 700; }
.plab.pass .plh { background: #1e8e4e; } .plab.fail .plh { background: #c0392b; }
.plb { display: flex; justify-content: space-between; padding: 1mm 2mm; } .plq { width: 17mm; height: 17mm; } .plq svg { width: 100%; height: 100%; }
.pattab th, .pattab td { font-size: 9px; padding: 3px 4px; }
@media print { .patlabels { gap: 2mm; } .plab { print-color-adjust: exact; -webkit-print-color-adjust: exact; } }

/* 🕘 timesheets and 🚐 tracker (track.js) */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } @media (max-width: 640px) { .grid4 { grid-template-columns: 1fr 1fr; } }
.tscard { border-left: 4px solid var(--acc, #ff766e); } .tsweek td, .tsweek th { text-align: center; } .tsweek td:first-child, .tsweek th:first-child { text-align: left; }

/* 🗓 rota and 🏖 holidays (rota.js) */
.rota td.rc { min-width: 92px; font-size: 12px; cursor: pointer; vertical-align: top; } .rota td.rc small { display: block; color: var(--mut, #777); }
.rota td.rc.ts { background: #2f7bd810; } .rota td.rc small.ts { color: #2f7bd8; } .rota .tdy { outline: 2px solid var(--acc, #ff766e); outline-offset: -2px; }
.rota tr.me th { color: var(--acc, #ff766e); } .rota th small { display: block; font-weight: 400; color: #b07d00; }
.rst { font-weight: 700; } .rst.hol { color: #2f7bd8; } .rst.sick { color: var(--bad, #c0392b); } .rst.off { color: var(--mut, #777); }
.holsum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; } .holsum small { display: block; color: var(--mut, #777); font-size: 11px; } .holsum b { font-size: 22px; } .holsum b.neg { color: var(--bad); }
@media (max-width: 640px) { .holsum { grid-template-columns: repeat(3, 1fr); } }

/* ✅ actions and 🦺 toolbox talks */
.tchk { display: flex; align-items: center; padding-right: 8px; } .tchk input { width: 22px; height: 22px; }
.tbvid { position: relative; padding-top: 56.25%; margin: 10px 0; border-radius: 10px; overflow: hidden; background: #000; } .tbvid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tbq { padding: 10px 0; border-bottom: 1px solid var(--line, #ddd); } .tbq .opt.pass { background: #2e9e5b; color: #fff; } .tbq .opt.fail { background: #c0392b; color: #fff; }
/* 🎨 My Home (look.js): the button by your name, the panel, the colour bar along the bottom, and Home's own background colour / picture */
.lkbtn { margin-left: auto; align-self: center; border: 1px solid var(--line, #ccc); background: rgba(255,255,255,.85); color: #333; border-radius: 16px; padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.go.home .lkbtn { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); }
.lkpanel { margin: 0 0 14px; } .lkpanel .row { flex-wrap: wrap; }
.lkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 0 0; margin-top: 8px; border-top: 1px solid var(--line, #e3e3e3); } .lkrow > b { min-width: 86px; }
.lkop { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; } .lkop input[type=range] { width: 120px; }
.lksw { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lksw button { width: 30px; height: 30px; border-radius: 9px; border: 2px solid rgba(0,0,0,.15); cursor: pointer; padding: 0; font-size: 14px; color: #fff; }
.lksw button.on { outline: 3px solid var(--tab, #3a76a2); outline-offset: 2px; }
.lksw .lkstd { width: auto; padding: 0 10px; background: #fff; color: #333; font-size: 13px; font-weight: 600; }
.lkany { position: relative; width: 30px; height: 30px; border-radius: 9px; border: 2px dashed #999; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; background: #fff; }
.lkany input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lksheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n d" "s s"; align-items: center; gap: 6px 12px; padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; color: #222; box-shadow: 0 -4px 18px rgba(0,0,0,.25); }
.lksheet > b { grid-area: n; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lksheet > .btn { grid-area: d; }
.lksheet .lksw { grid-area: s; flex-wrap: nowrap; overflow-x: auto; padding: 5px 4px; -webkit-overflow-scrolling: touch; } .lksheet .lksw > * { flex: 0 0 auto; } .lksheet .lksw button, .lksheet .lkany { width: 34px; height: 34px; }
.app.lkhl .ic, .go.home .app.lkhl .ic { box-shadow: 0 0 0 3px #fff, 0 0 0 7px var(--hl), 0 4px 12px rgba(0,0,0,.25); }
/* ✨ highlighted tiles: a still ring only, no pulsing (Nick 16 Nov 16m: "dont want icons pulsing"; 16j's pulse taken out) */
/* ⭐ choosing Home tiles: ✓ on the ones on Home, the rest faded */
.app.lkout .ic { opacity: .35; } .app.lkout b { opacity: .55; }
.app.lkin .ic::after { content: '✓'; position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.app.lksel .ic { outline: 3px dashed #f59e0b; outline-offset: 10px; transform: scale(1.06); }
.lksw .lkstd i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.2); }
.lkwrap { position: relative; isolation: isolate; }
.lkbg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: center / cover no-repeat; border-radius: inherit; }
.lkcol .apphead b, .lkcol .app b, .lkcol .pin b, .lkcol .pinhd b, .lkcol .pinhd a { color: var(--lkink); text-shadow: none; }
.lkcol .apphead span, .lkcol .appsh { color: var(--lkmut); } .lkcol .lkbtn { background: transparent; color: var(--lkink); border-color: var(--lkmut); }
.lkpic .app b, .lkpic .pin b { color: #fff; background: rgba(0,0,0,.5); padding: 1px 7px; border-radius: 8px; text-shadow: none; }
.lkpic .apphead, .lkpic .appsh, .lkpic .pinhd { text-shadow: 0 1px 3px rgba(0,0,0,.35); }
body:has(.lksheet) main, body:has(.lksheet) .gomain { padding-bottom: 150px; }
.lkpanel .lktabs { margin: 0 0 0 6px; }
/* 🦺 toolbox talks: TBT numbers and the search row */
.tbref { display: inline-block; font-size: .78em; font-weight: 800; letter-spacing: .03em; padding: 1px 7px; border-radius: 6px; background: var(--tab, #3a76a2); color: #fff; vertical-align: 1px; margin-right: 4px; }
.tbfind { gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0 10px; }
/* 🔘 the top menu as buttons (Nick 16 Nov: "make home, dashboard navigation more button like"): a shape for each, the current page filled in */
.gmenu { gap: 8px; align-items: center; }
.gmenu a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 9px; border: 1px solid color-mix(in srgb, var(--barink, #fff) 32%, transparent); background: color-mix(in srgb, var(--barink, #fff) 10%, transparent); color: var(--barink, #fff); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 13px; transition: background .12s, transform .08s; }
.gmenu a svg { width: 16px; height: 16px; flex: none; }
.gmenu a:hover { background: color-mix(in srgb, var(--barink, #fff) 22%, transparent); color: var(--barink, #fff); }
.gmenu a:active { transform: translateY(1px); }
.gmenu a.on, .gmenu a.on:hover { background: var(--barink, #fff); color: var(--hdr, #a30a04); border-color: var(--barink, #fff); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
@media (max-width: 760px) { .gmenu { gap: 6px; padding-bottom: 2px; } .gmenu a { padding: 5px 10px; } }
/* 16 Nov 2026: line icons instead of emoji on the My Home button and the My pins heading */
.lkbtn { display: inline-flex; align-items: center; gap: 6px; } .lkbtn svg, .pinhd b svg, .pinhd a svg { width: 15px; height: 15px; flex: none; }
.pinhd b, .pinhd a { display: inline-flex; align-items: center; gap: 6px; }
.gosrch b svg { width: 26px; height: 26px; display: block; }
/* 🔐 SIGNIN (signin.js): the sign-in choices, and the quick PIN lock screen */
.si-opts { display: grid; gap: 8px; margin: 8px 0 10px; }
.si-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.si-opt input { width: auto; margin: 3px 0 0; flex: 0 0 auto; }
.si-opt span { display: grid; gap: 2px; } .si-opt small { color: var(--mut); font-size: 12px; font-weight: 400; }
.si-why { background: #fff4dc; color: #6b4300; padding: 8px 10px; border-radius: 8px; margin: 0 0 8px; }
.insp-lock { position: fixed; inset: 0; z-index: 9999; background: var(--brand-gob, #1f5878); color: #fff; display: flex; align-items: center; justify-content: center; padding: 20px; overflow: auto; }
.il-card { width: min(100%, 320px); text-align: center; display: grid; gap: 10px; justify-items: center; }
.il-card img { max-height: 48px; max-width: 200px; object-fit: contain; }
.il-ic svg { width: 40px; height: 40px; display: block; }
.il-card h2 { margin: 0; color: #fff; } .il-card p { margin: 0; color: #fff; }
.il-dots { font-size: 26px; letter-spacing: 10px; line-height: 1; }
.il-err { min-height: 18px; font-size: 14px; }
.il-pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px; margin-top: 6px; }
.il-pad button { width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; font-size: 26px; font-weight: 600; cursor: pointer; }
.il-pad button:active { background: rgba(255,255,255,.3); }
.il-pw { background: none; border: 0; color: #fff; text-decoration: underline; font-size: 15px; cursor: pointer; margin-top: 8px; }

/* 📝 meeting minutes (minutes.js): the date badge on each meeting */
.mtgb { flex: 0 0 auto; min-width: 58px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; padding: 5px 6px; border-radius: 10px; background: var(--card2); color: inherit; }
.mtgb b { font-size: 20px; } .mtgb small { font-size: 11px; opacity: .8; white-space: nowrap; }
.mtgb.soon { background: var(--acc); color: #fff; } .mtgb.today { background: var(--ok); color: #fff; }
.mtgrow { align-items: flex-start; } .mtgpt textarea { width: 100%; }
/* 📝 quote writing (quote.js): an option card, its lines as small boxes of figures, the option's sums */
.qopt { border-left: 3px solid var(--acc); } .qopt.qoff { opacity: .6; border-left-color: var(--line); }
.qsec { margin-top: 10px; } .qsec > b { display: block; font-size: 13px; color: var(--mut); margin-bottom: 4px; }
.qln { border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin: 6px 0; background: var(--card); }
.qlg { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 0 8px; } .qlg label.f { margin: 6px 0 2px; font-size: 12px; }
.qsum { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; }
input[type=tel] { width: 100%; padding: 9px 10px; border-radius: 4px; border: 1px solid #c4c4c4; background: #fff; color: #1f1f1f; }
/* 🗓 CRM calendar (crmjob.js) */
.calgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calday { min-height: 64px; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--tx); text-align: left; cursor: pointer; font: inherit; overflow: hidden; }
.calday.today { border-color: var(--acc); } .calday.sel { outline: 2px solid var(--acc); }
.calchip { display: block; font-size: 11px; line-height: 1.3; padding: 1px 4px; border-radius: 4px; background: var(--acc); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .calchip.done { opacity: .5; }
@media (max-width: 640px) { .calday { min-height: 48px; } .calchip { font-size: 0; padding: 0; width: 7px; height: 7px; border-radius: 50%; display: inline-block; } }
.qln.qused { border-color: var(--ok); }

/* 💷 spend on an asset (spend.js) */
.spendtot { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.spendtot > div { background: var(--card2); border-radius: 10px; padding: 8px 10px; }
.spendtot small { display: block; color: var(--mut); font-size: 12px; }
.spendtot b { font-size: 18px; }

/* 📱 2026.11.23b, the store app on iPhone (440 pt) and iPad (Nick: "fix the InspectUs layout problems first")
   iOS zooms into any text box or list under 16px when it's tapped, and stays zoomed: the page then scrolls sideways and the
   bottom bar slips under the home indicator. iOS only (-webkit-touch-callout), so computers keep their sizes. */
@supports (-webkit-touch-callout: none) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]), select, textarea { font-size: 16px !important; }
}
body { overflow-x: clip; }
.go, .shell { max-width: 100%; }
/* the computer / tablet top menu: starts at Home when it's too wide (a centred scroll strip cut its left end off) */
@media (min-width: 761px) { .gmenu { justify-content: flex-start; } .gmenu > a:first-child { margin-left: auto; } .gmenu > a:last-child { margin-right: auto; } }
/* tablets: the menu gets its own row and wraps, so every button shows */
@media (min-width: 761px) and (max-width: 1279px) {
  .gbar { flex-wrap: wrap; row-gap: 8px; } .gbar .who { order: 1; flex: 1; } .gend { order: 2; margin-left: auto; }
  .gmenu { order: 3; flex: 1 0 100%; flex-wrap: wrap; justify-content: center; overflow: visible; row-gap: 8px; }
  .gmenu > a:first-child, .gmenu > a:last-child { margin-left: 0; margin-right: 0; }
}

/* 🧭 2026.11.23c left icon menu (rail.js) on computers and iPads for team logins, like the DF app's New menu */
.irail { position: fixed; z-index: 7; left: 0; top: 0; bottom: 0; width: calc(84px + env(safe-area-inset-left)); box-sizing: border-box; padding: calc(10px + env(safe-area-inset-top)) 0 calc(10px + env(safe-area-inset-bottom)) env(safe-area-inset-left); background: color-mix(in srgb, var(--hdr, #1f5878) 78%, #000); display: flex; flex-direction: column; align-items: center; gap: 2px; overflow-y: auto; scrollbar-width: none; }
.irail::-webkit-scrollbar { display: none; }
.irail .ir { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 76px; padding: 7px 2px 6px; border-radius: 12px; text-decoration: none; color: #fff; font-size: 11.5px; line-height: 1.15; text-align: center; }
.irail .ir b { font-weight: 600; }
.irail .ir .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tc, #3a76a2); color: var(--tci, #fff); box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 2px 6px rgba(0,0,0,.3); }
.irail .ir .ic svg { width: 24px; height: 24px; }
.irail .ir:hover { background: rgba(255,255,255,.1); }
.irail .ir.on { background: rgba(255,255,255,.18); } .irail .ir.on .ic { box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.3); }
.shell.has-rail { margin-left: calc(84px + env(safe-area-inset-left)); }
.shell.has-rail .gmenu { display: none; }
.shell.has-rail .gbar .who { flex: 1; } .shell.has-rail .gend { margin-left: auto; }
@media print { .irail { display: none; } .shell.has-rail { margin-left: 0; } }

/* ↩ 2026.11.24a CRMNAV: customer → jobs inside the customer (crm.js, shell.js): the trail, the job's tabs, 📋 Lists, filter chips, notes */
.crumbs { flex-wrap: wrap; gap: 4px 6px; font-size: 14px; align-items: center; margin-bottom: 6px; }
.crumbs a { color: var(--tab2, #1f5878); text-decoration: none; font-weight: 600; } .crumbs .sep { color: #999; } .crumbs b { font-weight: 700; }
.jtabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 10px 0; padding-bottom: 2px; }
.jtabs::-webkit-scrollbar { display: none; }
.jtabs a { flex: none; white-space: nowrap; text-decoration: none; padding: 7px 12px; border-radius: 16px; background: #e6e6e6; color: #222; font-size: 13.5px; font-weight: 600; }
.jtabs a.on { background: var(--teal, #2f8aa0); color: #fff; }
.go .jtabs { background: #2f2f2f; margin: 0 -8px 10px; gap: 0; padding: 0; }
.go .jtabs a { border-radius: 0; background: none; color: #ddd; text-transform: uppercase; font-size: 11.5px; font-weight: 700; padding: 11px 10px; border-right: 1px solid #444; }
.go .jtabs a.on { background: #fff; color: var(--gob, #1f5878); }
.crmbar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.crmlists { position: relative; } .crmlists > summary { list-style: none; cursor: pointer; } .crmlists > summary::-webkit-details-marker { display: none; }
.crmlm { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; min-width: 220px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid #c4c4c4; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.18); padding: 4px; display: flex; flex-direction: column; }
.crmlm a { padding: 10px 12px; text-decoration: none; color: #222; border-radius: 4px; white-space: nowrap; } .crmlm a:hover { background: #f0f0f0; } .crmlm a.on { background: #dfedfa; font-weight: 700; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 8px; }
.chips a { text-decoration: none; padding: 6px 11px; border-radius: 14px; background: #e6e6e6; color: #222; font-size: 13px; white-space: nowrap; } .chips a b { font-weight: 700; margin-left: 3px; } .chips a.on { background: #424242; color: #fff; }
.note1 { border-left: 3px solid var(--teal, #2f8aa0); background: #f6f6f6; padding: 8px 10px; margin-bottom: 8px; border-radius: 3px; } .note1.old { border-left-color: #9a9a9a; }
.note1 .h { font-size: 12px; color: #666; margin-bottom: 3px; } .note1 p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.money { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; } .money div { background: #f6f6f6; padding: 8px 10px; border-radius: 4px; }
.money small { display: block; color: #666; font-size: 12px; } .money b { font-size: 16px; } .money .over { color: var(--bad, #c62828); }
.go .crmlm a { font-size: 15px; }
@media print { .jtabs, .crmbar, .crumbs { display: none !important; } }

/* ✅ ACTFULL 2026.11.25: ✅ Actions like the Staff area's (actions.js): 🔍 search at the top, the list, ➕ Task / handover, an action's card (left: what it is,
   description, people, checklists, attachments; right: 💬 Comments | ✉️ Emails; 🕘 Activity folded), 🔄 Sync check, and a customer's / job's ✅ Actions (crm.js) */
.act-search { display: flex; gap: 8px; margin: 4px 0 10px; } .act-search input[type=search] { flex: 1; min-width: 0; height: 46px; font-size: 16px; border: 2px solid var(--acc, #0a78a3); border-radius: 10px; padding: 8px 12px; }
.act-search .btn { white-space: nowrap; }
.act-bar { margin-bottom: 8px; gap: 8px; } .act-bar .pills { margin: 0; }
.act-list .act-li, .act-crm .act-li, .act-li { align-items: flex-start; gap: 10px; }
.act-li .t { white-space: normal; overflow-wrap: anywhere; } .act-li.done .t { text-decoration: line-through; opacity: .7; }
.act-li .s.act-meta { white-space: normal; display: flex; flex-wrap: wrap; gap: 3px 10px; margin-top: 2px; align-items: center; }
.act-tick { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--mut, #888); background: var(--card, #fff); color: #fff; font-weight: 800; font-size: 15px; line-height: 1; cursor: pointer; padding: 0; margin-top: 1px; }
.act-tick:hover { border-color: var(--ok, #4f9a2a); } .act-tick.on { background: var(--ok, #4f9a2a); border-color: var(--ok, #4f9a2a); } .act-tick.sure { background: var(--warn, #d99a00); border-color: var(--warn, #d99a00); } .act-tick:disabled { opacity: .35; cursor: default; }
.act-k { font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: var(--card2, #ececec); color: var(--tx, #222); }
.act-k.handover { background: #e3f0fb; color: #1f5878; } .act-k.group { background: #efe6fb; color: #4b2a7a; } .act-k.mtg { background: #fff3d6; color: #6b4c00; } .act-k.jt { background: #e2f3e6; color: #22603a; } .act-k.old { background: #eee; color: #555; }
.act-chip { display: inline-block; font-size: 12.5px; font-weight: 600; text-decoration: none; padding: 2px 9px; border-radius: 99px; background: #dfedfa; color: #1f5878; border: 1px solid #c3dbef; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.act-chip:hover { background: #cfe3f6; }
.act-due { white-space: nowrap; } .act-due.over, .act-li .over, .act-who .over { color: var(--bad, #d0281e); font-weight: 700; } .act-due.soon { color: var(--warn, #d99a00); font-weight: 700; }
.act-li .ok, .al-h .ok { color: var(--ok, #4f9a2a); font-weight: 700; }
.act-grp { margin: 14px 0 6px; } .act-grp > summary { cursor: pointer; padding: 6px 2px; } .act-grp > summary b { font-size: 15px; }
.act-new { border-left: 4px solid var(--acc, #0a78a3); } .act-kinds { margin-top: 0; }
.act-more { margin-top: 10px; } .act-more > summary { cursor: pointer; } .act-ppl { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; } .act-ppl .chk { color: inherit; }
.act-pick { background: var(--card2, #f3f3f3); border-radius: 8px; padding: 10px; margin: 6px 0 8px; } .act-ml { margin-top: 6px; max-height: 320px; overflow: auto; } .act-ml .li { cursor: pointer; }
.act-mailnone { background: var(--card2, #f3f3f3); border-radius: 8px; padding: 8px 10px; }
.act-crm { margin-top: 14px; } .act-crm h3 { margin: 0; }
.act-donebox { margin-top: 8px; } .act-donebox > summary { cursor: pointer; padding: 4px 0; }
.act-ctop { margin-bottom: 8px; gap: 6px; }
.act-card { padding: 16px; } .act-chead { margin-bottom: 10px; } .act-title { margin: 2px 0 0; text-transform: none; font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; } .act-title.done { text-decoration: line-through; opacity: .75; } .act-ren { vertical-align: middle; }
.act-cbody { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.act-cr { border-left: 1px solid var(--line, #d6d6d6); padding-left: 16px; min-width: 0; }
@media (max-width: 860px) { .act-cbody { grid-template-columns: minmax(0, 1fr); } .act-cr { border-left: 0; padding-left: 0; border-top: 1px solid var(--line, #d6d6d6); padding-top: 12px; } }
.act-sec { margin: 0 0 16px; } .act-sec h4 { margin: 0 0 6px; font-size: 14px; color: var(--tab2, inherit); }
.act-dobar { margin-bottom: 14px; } .act-done { background: #e8f5e4; border: 1px solid #bfe2b5; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.act-donenote { flex-basis: 100%; } .act-doneform { background: var(--card2, #f3f3f3); border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; } .act-doneform label.f { margin-top: 0; }
.act-det { background: var(--card2, #f6f6f6); border-radius: 8px; padding: 10px 12px; max-height: 50vh; overflow: auto; overflow-wrap: anywhere; } .act-det.ed { cursor: text; } .act-det.ed:hover { box-shadow: inset 0 0 0 1px var(--acc, #0a78a3); } .act-det.empty { color: var(--mut, #777); }
.act-pl { white-space: pre-wrap; overflow-wrap: anywhere; } .rte-md p { margin: 0 0 6px; } .rte-md p:last-child { margin-bottom: 0; } .rte-md h3, .rte-md h4 { margin: 8px 0 4px; } .rte-md ul, .rte-md ol { margin: 4px 0 6px; padding-left: 22px; } .rte-md a, .act-pl a { overflow-wrap: anywhere; }
.act-wchip { display: inline-flex; align-items: center; gap: 4px; background: #dfedfa; color: #1f5878; border-radius: 99px; padding: 3px 4px 3px 10px; font-size: 13px; font-weight: 600; }
.act-wchip button { border: 0; background: transparent; cursor: pointer; padding: 0 5px; color: inherit; font-size: 13px; }
.act-hand { background: var(--card2, #f3f3f3); border-radius: 8px; padding: 10px 12px; } .act-hand label.f { margin-top: 0; }
.al-list { border: 1px solid var(--line, #d6d6d6); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; background: var(--card, #fff); }
.al-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .al-h .sp { flex: 1; } .lk { border: 0; background: none; color: var(--acc, #0a78a3); cursor: pointer; font-size: 12.5px; padding: 2px 4px; } .lk.bad, .al-ib .bad { color: var(--bad, #d0281e); font-weight: 700; }
.al-bar { display: block; height: 5px; border-radius: 3px; background: var(--card2, #e6e6e6); margin: 6px 0; overflow: hidden; } .al-bar i { display: block; height: 100%; background: var(--teal, #4ba8bf); } .al-bar.ok i { background: var(--ok, #4f9a2a); }
.al-i { display: flex; align-items: flex-start; gap: 6px; padding: 4px 0; border-bottom: 1px dashed var(--line, #e2e2e2); flex-wrap: wrap; } .al-i:last-of-type { border-bottom: 0; } .al-i.sub { margin-left: 26px; }
.al-i label { display: flex; gap: 8px; align-items: flex-start; flex: 1; min-width: 160px; cursor: pointer; } .al-i label input { width: 18px; height: 18px; margin-top: 2px; flex: none; } .al-i.done label span { text-decoration: line-through; opacity: .7; }
.al-i small { flex-basis: 100%; padding-left: 26px; } .al-ib { display: inline-flex; gap: 2px; } .al-ib button { border: 0; background: none; cursor: pointer; padding: 1px 5px; font-size: 13px; color: var(--mut, #777); } .al-ib button:hover { color: var(--tx, #222); }
.al-i.editing input { flex: 1; min-width: 160px; } .al-add { margin-top: 6px; flex-wrap: nowrap; } .al-add input { flex: 1; min-width: 0; }
.act-files { display: flex; flex-wrap: wrap; gap: 8px; } .act-f { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; }
.act-fimg img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line, #d6d6d6); display: block; }
.act-file { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border: 1px solid var(--line, #d6d6d6); border-radius: 8px; text-decoration: none; color: var(--tx, #222); background: var(--card, #fff); max-width: 260px; } .act-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-fx { border: 0; background: none; cursor: pointer; font-size: 13px; padding: 2px 4px; } .act-fx.sure { color: var(--bad, #d0281e); font-weight: 700; }
.act-foot { margin: 4px 0 8px; }
.act-rtabs { display: flex; gap: 4px; margin-bottom: 10px; border-bottom: 1px solid var(--line, #d6d6d6); } .act-rtabs a { padding: 8px 12px; text-decoration: none; color: var(--mut, #666); font-weight: 700; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.act-rtabs a.on { color: var(--tx, #222); border-bottom-color: var(--acc, #0a78a3); } .act-rtabs a b { font-size: 11px; background: var(--card2, #ececec); border-radius: 99px; padding: 1px 6px; margin-left: 3px; }
.act-feed { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow: auto; } .act-feed > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line, #ececec); } .act-feed > li.mut { display: block; }
.act-av { width: 30px; height: 30px; border-radius: 50%; background: var(--teal, #4ba8bf); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; } .act-av.sm { width: 24px; height: 24px; font-size: 10px; } .act-av.em { background: #fff3d6; }
.act-cmb { min-width: 0; overflow-wrap: anywhere; } .act-cmb > b { font-size: 13.5px; } .act-cmb .rte-md, .act-cmb .act-pl { margin: 3px 0; }
.act-cmbox { margin-top: 10px; } .act-cmbox textarea { min-height: 76px; }
.act-emtop { margin-bottom: 8px; } .act-embar { gap: 6px; margin-bottom: 4px; } .act-emnew { background: var(--card2, #f3f3f3); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; } .act-emnew label.f { margin-top: 6px; }
.act-em.in .act-cmb { border-left: 3px solid #f2b33d; padding-left: 8px; } .act-em.out .act-cmb { border-left: 3px solid var(--teal, #4ba8bf); padding-left: 8px; } .act-emsub { font-weight: 700; margin-top: 2px; }
.act-emtx.clamp { max-height: 9.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.act-actv { margin-top: 14px; border-top: 1px solid var(--line, #d6d6d6); padding-top: 8px; } .act-actv > summary { cursor: pointer; font-weight: 700; padding: 4px 0; } .act-hl { max-height: 50vh; } .act-hl > li { grid-template-columns: 26px minmax(0, 1fr); font-size: 13.5px; padding: 5px 0; }
.act-dup { border-top: 1px solid var(--line, #e2e2e2); padding: 8px 0; } .act-dup .btn { margin-top: 6px; }
@media (max-width: 640px) { .act-search input[type=search] { height: 44px; } .act-bar .sp { display: none; } .act-card { padding: 12px; } .act-title { font-size: 19px; } .act-feed { max-height: none; } .act-det { max-height: none; } }
@media print { .act-search, .act-bar, .act-tick, .act-cmbox, .act-embar { display: none !important; } }
