/* The site app on a phone: big targets, plain colours, the client's own green (or charcoal). */
[hidden] { display: none !important; }
:root { --cta:#00B050; --cta-hover:#009845; --ink:#15181c; --muted:#5d6670; --line:#e1e4e8; --shell:#f3f4f6; --amber:#B45F06; --amber-bg:#FFF3D6; --red:#C62828; --red-bg:#FDECEC; --ok-bg:#E7F6EC; --safe-b: env(safe-area-inset-bottom, 0px); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--shell); color: var(--ink); font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: var(--cta); }
.bar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.bar-in { display: flex; align-items: center; gap: 12px; padding: 10px 16px; max-width: 760px; margin: 0 auto; min-height: 58px; }
.bar-logo { height: 36px; width: auto; }
.bar-back { font-size: 34px; line-height: 1; text-decoration: none; color: var(--ink); padding: 0 8px 4px 0; }
.bar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bar-title strong { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-title span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.netbar { background: #333; color: #fff; font-size: 14px; text-align: center; padding: 6px 12px; }
.netbar.ok { background: var(--cta); }
.wrap { max-width: 760px; margin: 0 auto; padding: 14px 14px calc(96px + var(--safe-b)); }
.flash { background: var(--ok-bg); border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; }
.flash-bad { background: var(--red-bg); color: var(--red); }
.flash-quiet { background: #eceef1; color: var(--muted); }
h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 22px 4px 8px; }
h2:first-child { margin-top: 4px; }
.card { background: #fff; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 12px; overflow: hidden; }
.card-pad { padding: 14px 16px; }
.row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; min-height: 56px; }
.row:first-child { border-top: 0; }
a.row:active { background: #f6f7f8; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-weight: 600; display: block; }
.row-meta { font-size: 14px; color: var(--muted); display: block; }
.row-go { color: #a3a9b0; font-size: 22px; }
.swatch { width: 8px; align-self: stretch; border-radius: 4px; flex: none; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 2px 10px; background: #eceef1; color: var(--muted); white-space: nowrap; }
.pill-submitted { background: var(--amber-bg); color: var(--amber); }
.pill-returned { background: var(--red-bg); color: var(--red); }
.pill-signed_off { background: var(--ok-bg); color: #1d7a3a; }
.pill-cta { background: var(--cta); color: #fff; }
.tick { width: 28px; height: 28px; flex: none; border-radius: 8px; border: 2px solid #c3c8ce; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; }
.tick-submitted { border-color: #F0A400; background: #F0A400; }
.tick-returned { border-color: var(--red); background: var(--red); }
.tick-signed_off { border-color: var(--cta); background: var(--cta); }
.bar-meter { height: 6px; background: #e8eaed; border-radius: 3px; overflow: hidden; margin-top: 6px; }
.bar-meter i { display: block; height: 100%; background: var(--cta); }
label { display: block; font-weight: 600; font-size: 15px; margin: 12px 0 6px; }
input[type=text], input[type=password], input[type=date], input[type=search], select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 12px; border: 1px solid #c9ced4; border-radius: 10px; background: #fff; color: inherit; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--cta) 45%, transparent); outline-offset: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; margin: 14px 0; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--cta); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 16px; padding: 12px 18px; min-height: 48px; border-radius: 12px; border: 1px solid #c9ced4; background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); }
.btn-danger { color: var(--red); border-color: #e9b4b4; }
.btn-wide { width: 100%; }
.btn-small { min-height: 38px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btns .btn { flex: 1; }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; background: #fff; border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; padding: 8px 2px 9px; color: var(--muted); text-decoration: none; position: relative; }
.tabs a .ti { font-size: 20px; line-height: 1.1; }
.tabs a.on { color: var(--cta); font-weight: 700; }
.badge { position: absolute; top: 3px; left: calc(50% + 8px); background: var(--red); color: #fff; border-radius: 999px; font-size: 11px; min-width: 18px; padding: 1px 5px; text-align: center; }
.badge-quiet { background: #8a939c; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; margin: 10px 0; }
.photos a, .photos .ph { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #e8eaed; display: block; position: relative; }
.photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 16px; }
.note { background: #f6f7f8; border-radius: 10px; padding: 10px 12px; margin: 8px 0; white-space: pre-wrap; }
.note-bad { background: var(--red-bg); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.empty { color: var(--muted); text-align: center; padding: 26px 16px; }
.split { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.timeline li:first-child { border-top: 0; }
.timeline time { display: block; color: var(--muted); font-size: 13px; }
details.add > summary { list-style: none; cursor: pointer; }
details.add > summary::-webkit-details-marker { display: none; }
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(20,22,26,.55); display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-in { background: #fff; width: 100%; max-width: 560px; border-radius: 18px 18px 0 0; padding: 22px 20px calc(20px + var(--safe-b)); max-height: 92vh; overflow: auto; }
@media (min-width: 600px) { .sheet { align-items: center; } .sheet-in { border-radius: 18px; } }
.walk-step { text-align: center; }
.walk-step .big { font-size: 54px; line-height: 1; margin: 6px 0 10px; color: var(--cta); }
.walk-step h3 { margin: 6px 0 8px; font-size: 21px; }
.walk-step p { margin: 6px 0; color: #3b424a; }
.walk-dots { display: flex; justify-content: center; gap: 6px; margin: 16px 0 4px; }
.walk-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d3d7dc; }
.walk-dots i.on { background: var(--cta); }
.steps { text-align: left; margin: 10px 0; padding-left: 22px; }
.steps li { margin: 6px 0; }
.login { max-width: 420px; margin: 40px auto; }
.login img { display: block; height: 70px; margin: 0 auto 18px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid #c9ced4; background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 15px; }
.chip.on { background: var(--cta); color: #fff; border-color: var(--cta); }
.mine { outline: 2px solid var(--cta); }
.initials { font-size: 12px; font-weight: 800; background: var(--cta); color: #fff; border-radius: 6px; padding: 1px 6px; }
.queue { font-size: 14px; color: var(--amber); }
.linkbox { font-size: 13px; word-break: break-all; background: #f6f7f8; border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
