/* Mobile field workspace: readable rows, large tap targets, and a sticky view selector.
   Shared across the private admin shell; no construction values or external resources. */
:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; color: #202b28; background: #f5f6f2; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main { max-width: 56rem; margin: auto; padding: 1rem; }
header { padding-bottom: .5rem; }
h1 { font-size: 1.6rem; margin: .5rem 0; }
h2 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
a { color: #215d4b; }
nav { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem;
  background: #f5f6f2; padding: .5rem; border-bottom: 1px solid #cbd5cc; }
button, input, textarea, select {
  font: inherit;
  min-height: 44px;
  border: 1px solid #9aaba0;
  border-radius: .3rem;
}
button { background: white; color: #215d4b; padding: .5rem .7rem; cursor: pointer; }
button[aria-pressed="true"], button[type="submit"] { background: #215d4b; color: white; }
button:disabled { opacity: .55; cursor: wait; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #a37e19;
}
input, textarea, select { width: 100%; background: white; color: inherit; padding: .5rem; }
label { display: block; margin: .5rem 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 650; }
article { padding: 1rem 0; border-bottom: 1px solid #cbd5cc; overflow-wrap: anywhere; }
p { margin: .4rem 0; }
.meta, details p, form p { font-size: .9rem; color: #4c5c51; }
.late { color: #8c361c; font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0; }
summary { cursor: pointer; min-height: 44px; padding: .6rem 0; font-weight: 650; }
.date-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
#message { padding: .5rem 0; }
#message.error { color: #8c361c; }
#log-form { scroll-margin-top: 8rem; }
#summary dl { display: grid; grid-template-columns: 1fr; margin: 1rem 0; }
#summary dt { font-size: .9rem; color: #4c5c51; }
#summary dd { margin: 0 0 1rem; font-size: 1.65rem; font-weight: 650; }
.photos { display: flex; flex-wrap: wrap; gap: .5rem; }
.photos img { width: 96px; height: 96px; object-fit: cover; }
[hidden] { display: none !important; }
#passkey-audit { overflow-wrap: anywhere; }
@media (min-width: 42rem) { #summary dl { grid-template-columns: 1fr 1fr; } }
