:root { --ink: #14211e; --sub: #47554f; --line: #cdd6d0; --bg: #eef2ee; --card: #fff; --brand: #12332c; --brand2: #1c4a40; --accent: #a84b15; --tint: #dfe8e2; --bad: #a3191f; --badbg: #fbe9e9; --warnbg: #f6ebe2; --r: 6px; --display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", Roboto, system-ui, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 "Avenir Next", "Segoe UI", Roboto, system-ui, sans-serif; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.2; margin: 0 0 12px; } h1 { font-size: 26px; } h2 { font-size: 19px; } h3 { font-size: 16px; margin-top: 18px; }
p { margin: 8px 0; }
.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--brand); color: #fff; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; }
.tools { display: flex; gap: 8px; align-items: center; min-width: 0; } .top b { white-space: nowrap; } .top > b { overflow: hidden; text-overflow: ellipsis; min-width: 0; } .demo select { display: inline-block; width: auto; min-height: 0; height: 34px; padding: 2px 6px; margin: 2px 0 0; }
.top select { font-size: 14px; padding: 6px; max-width: 200px; min-height: 0; margin: 0; width: auto; }
main { max-width: 900px; margin: 0 auto; padding: 12px 12px 96px; }
.card { background: var(--card); border-top: 2px solid var(--brand); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 1px 2px rgba(18, 51, 44, .12); padding: 16px; margin: 0 0 12px; }
.signin { max-width: 380px; margin: 12vh auto 0; }
.sub { color: var(--sub); font-size: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .wide { grid-column: 1 / -1; } .grid2 > *, .grid3 > * { min-width: 0; }
label { display: block; font-size: 14px; font-weight: 600; margin: 6px 0; }
input, select, textarea { display: block; width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #7f8c85; border-radius: var(--r); padding: 10px; margin-top: 4px; min-height: 46px; min-width: 0; }
input[readonly] { background: var(--bg); }
:focus-visible { outline: 3px solid #2f6fb5; outline-offset: 1px; }
button { font: inherit; color: var(--ink); cursor: pointer; border: 0; background: none; text-align: left; }
.big { display: block; width: 100%; background: var(--brand); color: #fff; border-radius: var(--r); padding: 14px; font-weight: 700; text-align: center; margin: 12px 0; }
.small { display: inline-block; background: #fff; border: 1px solid var(--brand); color: var(--ink); border-radius: var(--r); padding: 10px 14px; font-weight: 600; font-size: 15px; min-height: 44px; }
.small.wide { text-align: center; } .small.danger { border-color: var(--bad); color: var(--bad); }
.link { color: var(--ink); text-decoration: underline; padding: 8px 0; min-height: 40px; } .x { color: var(--bad); font-size: 14px; padding: 10px 4px; text-decoration: underline; }
.row { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); min-height: 48px; } .count { white-space: nowrap; font-weight: 700; color: var(--accent); }
.row.late { background: var(--badbg); margin: 0 -16px; padding: 12px 16px; width: auto; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; background: var(--tint); color: var(--ink); border-radius: 4px; padding: 2px 7px; } .tag.bad { background: var(--bad); color: #fff; }
.notice { display: block; width: 100%; background: var(--warnbg); border: 1px solid var(--accent); border-radius: var(--r); padding: 12px; margin: 0 0 12px; font-weight: 600; } .notice.bad { background: var(--badbg); border-color: var(--bad); color: var(--bad); max-width: 876px; margin: 12px auto 0; }
.row > .small { white-space: nowrap; flex: none; } .sample { font-weight: 600; } .demo { background: var(--warnbg); margin: 0; padding: 8px 16px; font-size: 14px; text-align: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; } .stats div { background: var(--card); padding: 10px; font-size: 13px; color: var(--sub); } .stats b { display: block; font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 25px; color: var(--ink); line-height: 1.2; }
.bar { margin-top: 12px; font-size: 14px; } .bar div { display: flex; justify-content: space-between; } .bar i { display: block; height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; margin-top: 3px; } .bar u { display: block; height: 100%; background: var(--accent); }
.item { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 12px; margin: 0 0 10px; } .itemhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
fieldset { border: 0; padding: 0; margin: 12px 0 0; } legend { font-size: 14px; font-weight: 600; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; } .chip { margin: 0; display: flex; align-items: center; } .chip input { position: absolute; opacity: 0; width: 1px; min-height: 0; height: 1px; padding: 0; } .chip span { border: 1px solid #98a2af; border-radius: 20px; padding: 9px 14px; font-weight: 500; } .chip input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); } .chip input:focus-visible + span { outline: 3px solid #2f6fb5; }
.err { color: var(--bad); font-weight: 600; } .warn { color: #5c2c10; background: var(--warnbg); border-radius: 8px; padding: 8px 10px; } .ok b { color: var(--ink); }
dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 8px 0; } dt { color: var(--sub); } dd { margin: 0; overflow-wrap: anywhere; }
.photos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; } .ph { width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--bg); padding: 0; font-size: 12px; } .ph img { width: 100%; height: 100%; object-fit: cover; display: block; } .file { position: relative; overflow: hidden; margin: 0; } .file input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.viewer { position: fixed; inset: 0; z-index: 50; background: rgba(10, 15, 22, .92); display: flex; align-items: center; justify-content: center; } .viewer img { max-width: 100%; max-height: 100%; }
.scroll { overflow-x: auto; } table { border-collapse: collapse; width: 100%; font-size: 14px; } th, td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); white-space: nowrap; } td:not(:first-child) { font-variant-numeric: tabular-nums; }
.months { display: flex; align-items: flex-end; gap: 6px; } .months div { flex: 1; text-align: center; font-size: 13px; } .months i { display: block; background: var(--accent); border-radius: 4px 4px 0 0; } .months b { font-size: 13px; }
.season { display: grid; grid-template-columns: 1fr 92px 92px; gap: 8px; align-items: center; font-size: 14px; } pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; } summary { cursor: pointer; padding: 6px 0; } .request { border: 2px solid var(--accent); } .linkout { overflow-wrap: anywhere; font-size: 13px; }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 5; display: flex; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); } .tabs button { flex: 1; text-align: center; padding: 8px 1px 9px; font-size: 12px; font-weight: 600; color: var(--sub); } .tabs .on { color: var(--ink); box-shadow: inset 0 3px var(--accent); } .tabs button svg { display: block; width: 24px; height: 24px; margin: 0 auto 2px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 84px; z-index: 60; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r); max-width: 90vw; } .toast.bad { background: var(--bad); }
.mapcard { padding: 12px; } .map { position: relative; height: 58vh; min-height: 320px; overflow: hidden; border-radius: var(--r); background: #e3e9e5; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; } .map .tiles img { position: absolute; max-width: none; pointer-events: none; } .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.shape { fill-opacity: .5; stroke: #a3191f; stroke-width: 2; stroke-linejoin: round; cursor: pointer; } .shape.on { stroke: #1c2430; stroke-width: 4; } .lab { font: 700 12px system-ui, sans-serif; text-anchor: middle; fill: #1c2430; stroke: #fff; stroke-width: 3; paint-order: stroke; pointer-events: none; } .acc { fill: #2f6fb5; fill-opacity: .18; pointer-events: none; } .me { fill: #2f6fb5; stroke: #fff; stroke-width: 3; pointer-events: none; }
.mapbtns { position: absolute; right: 8px; top: 8px; display: grid; gap: 6px; } .mapbtns button { width: 46px; height: 46px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; text-align: center; padding: 0; } .attr { position: absolute; right: 0; bottom: 0; margin: 0; font-size: 11px; background: rgba(255, 255, 255, .85); padding: 1px 6px; } .inline { display: flex; align-items: center; gap: 8px; margin: 0; } .inline select { width: auto; margin: 0; min-height: 40px; padding: 6px; }
.desk { display: none; }
/* Phones and small tablets. Fields must stay at 16px or more: iPhone Safari zooms the page in on anything smaller and leaves it there. */
@media screen and (max-width: 999px) {
  body { font-size: 15px; line-height: 1.4; }
  h1 { font-size: 21px; } h2 { font-size: 17px; margin-bottom: 8px; } h3 { font-size: 15px; margin-top: 14px; }
  p { margin: 6px 0; } .sub, .bar, table, legend { font-size: 13px; } label { font-size: 13px; margin: 4px 0; }
  input, select, textarea, .top select, .inline select { font-size: 16px; } input, select { height: 42px; min-height: 42px; padding: 6px 10px; } textarea { padding: 8px 10px; }
  input[type="date"], input[type="time"] { -webkit-appearance: none; appearance: none; max-width: 100%; } input::-webkit-date-and-time-value { text-align: left; margin: 0; }
  .top { padding: calc(8px + env(safe-area-inset-top)) 14px 8px; min-height: calc(44px + env(safe-area-inset-top)); } .top select { height: 34px; padding: 2px 6px; }
  .demo { font-size: 12px; padding: 5px 12px; }
  main { padding: 10px 10px calc(78px + env(safe-area-inset-bottom)); } .card { padding: 12px; margin-bottom: 10px; }
  .big { padding: 11px; margin: 0 0 10px; } .small { font-size: 14px; padding: 8px 12px; min-height: 42px; } .notice { padding: 10px 12px; margin-bottom: 10px; }
  .row { padding: 8px 0; min-height: 44px; } .row.late { margin: 0 -12px; padding: 8px 12px; } .tag { font-size: 11px; }
  .item { padding: 10px; margin-bottom: 8px; } .grid2, .grid3 { gap: 6px 10px; } .grid2 > .small { align-self: end; margin-bottom: 4px; }
  .stats { grid-template-columns: repeat(4, 1fr); } .v-reports .stats { grid-template-columns: repeat(3, 1fr); } .stats div { padding: 8px 4px; font-size: 12px; line-height: 1.25; text-align: center; } .stats b { font-size: 19px; }
  .chips { gap: 6px; } .chip span { padding: 8px 12px; font-size: 14px; }
  .bar { margin-top: 9px; } .bar i { height: 8px; } .photos .ph { width: 72px; height: 72px; }
  .season { font-size: 13px; grid-template-columns: 1fr 88px 88px; } .tabs button { font-size: 11.5px; }
  .mapcard { padding: 10px; } .map { height: 56vh; height: 56dvh; } .mapbtns button { width: 42px; height: 42px; }
  .toast { bottom: calc(72px + env(safe-area-inset-bottom)); }
}
/* Desktop: side menu, tables and columns. Phones and small tablets keep the layout above. */
@media screen and (min-width: 1000px) {
  .phone { display: none !important; } .desk { display: block; }
  body, input, select, textarea { font-size: 15px; } input, select { min-height: 40px; padding: 7px 10px; } textarea { padding: 8px 10px; }
  .top { padding: 0 24px; height: 56px; font-size: 17px; }
  main { margin: 0 0 0 220px; max-width: 1560px; padding: 24px; }
  .demo { margin-left: 220px; } .notice.bad { margin: 16px 24px 0 244px; max-width: none; width: auto; }
  .card { padding: 20px; margin: 0 0 16px; }
  .tabs { top: 56px; right: auto; width: 220px; flex-direction: column; border-top: 0; border-right: 1px solid var(--line); padding: 12px 0; overflow-y: auto; }
  .tabs button { flex: none; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 22px; font-size: 15px; } .tabs button svg { margin: 0; width: 22px; height: 22px; flex: none; } .tabs button:hover { background: var(--bg); } .tabs .on { background: var(--bg); box-shadow: inset 4px 0 var(--accent); }
  .side { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; } .side p { font-size: 13px; color: var(--sub); padding: 12px 24px 4px; margin: 10px 0 0; border-top: 1px solid var(--line); }
  .big { display: inline-block; width: auto; min-width: 200px; padding: 11px 24px; margin: 8px 8px 8px 0; } .signin .big { display: block; width: 100%; }
  .small { min-height: 38px; padding: 7px 14px; } .small:hover, .row.act:hover { background: var(--bg); } .big:hover { background: var(--brand2); } .big.alt:hover { background: var(--bg); }
  .row.act { padding-left: 8px; padding-right: 8px; } .link[data-go="more"] { display: none; }
  .toast { bottom: 28px; }
  .rows td, .rows th { padding: 9px 14px 9px 0; white-space: normal; vertical-align: top; } .rows tbody tr { position: relative; } .rows tbody tr:hover { background: var(--bg); } .rowlink { padding: 0; color: var(--ink); font-weight: 700; } .rowlink::after { content: ""; position: absolute; inset: 0; } .n { text-align: right !important; padding-right: 22px !important; }
  .filters { grid-template-columns: repeat(4, 1fr); }
  .v-home { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; } .v-home > * { grid-column: 1 / -1; } .v-home > .big { justify-self: start; margin-bottom: 16px; } .v-home > .c-out { grid-column: 1; } .v-home > .c-year { grid-column: 2; }
  .v-log form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; } .v-log form > section { grid-column: 1; } .v-log form > section:nth-of-type(3) { grid-column: 2; grid-row: 1 / span 3; }
  .v-outing .card, .v-targets .card, .v-settings .card, .v-survey .card { max-width: 980px; } .v-targets .grid2 { grid-template-columns: repeat(4, 1fr); } .v-settings .grid2 { grid-template-columns: repeat(3, 1fr); } .season { grid-template-columns: 220px 110px 110px; margin-bottom: 6px; }
  .v-people .card, .v-places .card, .v-surveys .card { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 0 14px; align-items: stretch; } .v-people .card > :not(.item), .v-places .card > :not(.item), .v-surveys .card > :not(.item) { grid-column: 1 / -1; justify-self: start; }
  .mapcard { display: grid; grid-template-columns: 1fr 300px; grid-template-rows: auto 1fr auto; gap: 12px 20px; padding: 16px 20px; } .mapcard > :first-child { grid-column: 1 / -1; } .mapcard > .map { grid-row: 2 / span 2; height: calc(100vh - 200px); } .mapcard > .small { justify-self: start; }
  .v-reports > .card:first-child { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; } .v-reports > .card:first-child h2 { width: 100%; margin: 0; } .v-reports > .card:first-child > * { margin: 0; }
}
@media screen and (min-width: 1300px) {
  .v-reports { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; } .v-reports > * { min-width: 0; } .v-reports > .card:first-child, .v-reports > .card:nth-of-type(n+8) { grid-column: 1 / -1; }
  .v-home { grid-template-columns: 2fr 3fr; }
}
.big.alt { background: #fff; color: var(--ink); border: 2px solid var(--brand); }
.also .lab2 { font-size: 13px; font-weight: 600; margin: 4px 0; } .also .pick { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 10px; background: var(--tint); border-radius: var(--r); padding: 3px 6px 3px 12px; margin: 0 0 6px; font-size: 14px; font-weight: 600; min-height: 44px; } .also .pick span { min-width: 0; overflow-wrap: anywhere; } .also .x { margin: 0; padding: 10px 6px; flex: none; }
/* A PC with a mouse has no useful position, so those buttons go. A tablet keeps them. */
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) { .gpsbtn { display: none !important; } }
.logo { height: 26px; width: 23px; vertical-align: -6px; margin-right: 9px; } .brand { display: flex; align-items: center; gap: 12px; } .brand .logo { height: 46px; width: 40px; margin: 0; }
/* Home and the sign-in page open on the ground itself */
.band { position: relative; overflow: hidden; background: var(--brand); color: #fff; margin: -12px -12px 14px; padding: 20px 18px 22px; } .band > * { position: relative; } .band .art { position: absolute; inset: 0; width: 100%; height: 100%; } .band .k { font-size: 13px; font-weight: 600; margin: 0; } .band .y { font: 700 30px/1.05 var(--display); margin: 2px 0 12px; } .band ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; } .band li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 4px; background: #2b4a43; } .band h1 { margin: 0; }
.card.signin { border-top: 0; overflow: hidden; } .card.signin > .band { margin: -16px -16px 14px; }
@media screen and (max-width: 999px) { .band { margin: -10px -10px 12px; } .card.signin { width: calc(100% - 20px); } .card.signin > .band { margin: -12px -12px 12px; } }
@media screen and (min-width: 1000px) { .v-home > .band { margin: -24px -24px 20px; padding: 30px 28px 34px; } .v-home > .band .y { font-size: 42px; } .card.signin > .band { margin: -20px -20px 16px; } }
.front .brand.y { margin: 0; }
@media screen and (min-width: 1000px) {
  #app > .signin:not(.phonehelp) { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(460px, 1fr); max-width: none; width: 100%; min-height: 100vh; min-height: 100dvh; margin: 0; padding: 0; border-radius: 0; box-shadow: none; }
  #app > .signin > .front { margin: 0; display: grid; align-items: end; padding: 64px; } .front .brand.y { font-size: 84px; gap: 24px; } .front .brand .logo { height: 104px; width: 90px; } .front .k { font-size: 22px; margin-top: 10px; }
  #app > .signin > .fields { align-self: center; justify-self: center; width: 100%; max-width: 440px; padding: 40px 32px; font-size: 16px; } #app > .signin > .fields label { font-size: 15px; margin: 12px 0; } #app > .signin > .fields input { min-height: 48px; font-size: 16px; } #app > .signin > .fields .big { padding: 14px; margin: 18px 0 12px; font-size: 16px; } #app > .signin > .fields h1 { font-size: 30px; }
  #app > .phonehelp { max-width: 820px; margin: 40px auto; padding: 32px 40px; }
}
.card.signin.about > .band { margin: 8px 0 14px; border-radius: var(--r); } .about .brand.y { margin: 0; } .about a { color: var(--ink); }
.installbtn { display: none !important; } .can-install .installbtn.big { display: block !important; } .can-install .noinstall { display: none; } .can-install .installbtn.small { display: inline-block !important; background: var(--brand); color: #fff; } .ishare { width: 18px; height: 18px; vertical-align: -3px; }
.phonehelp ol, .phonehelp ul { padding-left: 22px; margin: 6px 0 12px; } .phonehelp li { margin: 6px 0; line-height: 1.45; } .phonehelp.signin { max-width: 640px; margin: 12px auto; }
.outform { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 4px; } .outform .small { margin: 4px 4px 4px 0; }
.pin { fill: #b3261e; stroke: #fff; stroke-width: 2; pointer-events: none; } .where { font-size: 13px; font-weight: 600; margin: 6px 0; }
.draw { fill: rgba(21, 101, 192, .18); stroke: #0b4a9e; stroke-width: 3; pointer-events: none; } .corner { fill: #fff; stroke: #0b4a9e; stroke-width: 3; pointer-events: none; }
@media print { body { background: #fff; font-size: 12px; } .top, .tabs, .noprint, .toast { display: none !important; } main { max-width: none; padding: 0; } .card { border: 0; padding: 0; margin: 0 0 18px; } th, td { white-space: normal; font-size: 10px; padding: 3px 5px 3px 0; } .scroll { overflow: visible; } tr, .item { break-inside: avoid; } .months i, .bar u { print-color-adjust: exact; -webkit-print-color-adjust: exact; } @page { size: A4 landscape; margin: 12mm; } }
