/* Pollination Station: colours from the hive's own logo (static/label-logo.png):
   cream label, deep-teal ink, honey-gold rings, sage leaves, lavender and clover flowers */
:root {
  --bg: #f6f1e1; --panel: #fffcf2; --fg: #173536; --muted: #566a68; --line: #ddd3b6;
  --accent: #8f6417; --accent-soft: #f3e4bf; --gold: #c89c46; --ink: #1f4246;
  --good: #3f7748; --warn: #a06a0c; --bad: #b0412e;
  --s1: #b07d20; --s2: #1f6f78; --s3: #5f7a3c; --s4: #8a6cb4; --s5: #b85a86; --s6: #6c7b78;
  --display: "Rockwell", "Roboto Slab", "Zilla Slab", "Cambria", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e2324; --panel: #15302f; --fg: #f1ead5; --muted: #a9b8b1; --line: #2a4744;
    --accent: #e0b25a; --accent-soft: #3a3016; --gold: #c89c46; --ink: #f1ead5;
    --good: #7cc48a; --warn: #e6b04e; --bad: #ec8a74;
    --s1: #e5b24f; --s2: #5fc0c8; --s3: #a7c46f; --s4: #b9a1e3; --s5: #e692b8; --s6: #9fb0ab;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.5 var(--body); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.15; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; margin: 18px 0 8px; }
a { color: var(--accent); }
.top { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-inner { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; padding-block: 10px; }
.sub { margin: 0; color: var(--muted); font-size: .85rem; }
.sim { color: var(--warn); }
.jump { display: flex; gap: 14px; font-size: .9rem; }
.jump a { text-decoration: none; color: var(--muted); }
.jump a:hover { color: var(--accent); }
main { display: grid; gap: 18px; padding-block: 18px 48px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.card .k { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card .v { font-family: var(--display); font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.card .d { font-size: .8rem; color: var(--muted); }
.card.alert { border-color: var(--bad); }
.card.alert .v { color: var(--bad); }
.card .k { display: flex; align-items: center; gap: 6px; }
.card.out { border-color: var(--warn); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-fc { display: block; width: 30px; height: 30px; margin: 2px 0; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card.alert .ic { stroke: var(--bad); }
.range { margin-top: 8px; }
.range .track { position: relative; height: 6px; border-radius: 3px; background: var(--line); }
.range .band { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: color-mix(in srgb, var(--good) 45%, transparent); }
.range .mark { position: absolute; top: -4px; width: 3px; height: 14px; margin-left: -1.5px; border-radius: 2px; background: var(--fg); box-shadow: 0 0 0 1.5px var(--panel); }
.range.out .mark { background: var(--warn); }
.range.info .band { background: color-mix(in srgb, var(--s2) 35%, transparent); }
.range.info.out .mark { background: var(--fg); }
.card.alert .range .mark { background: var(--bad); }
.range-txt { font-size: .72rem; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the four brood probes under "Brood, warmest" */
.probes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.probes span { text-align: center; font-size: .8rem; font-variant-numeric: tabular-nums; padding: 2px 0 3px;
  border-radius: 5px; background: var(--accent-soft); color: var(--fg); }
.probes b { display: block; font-size: .62rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.probes .in { background: color-mix(in srgb, var(--good) 16%, transparent); }
.probes .out { background: color-mix(in srgb, var(--warn) 20%, transparent); color: var(--warn); }
.probes .none { opacity: .55; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.stage { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.stage.likely_ready { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.headline { font-family: var(--display); font-size: 1.25rem; margin: 4px 0; }
.muted { color: var(--muted); margin: 0 0 8px; max-width: 75ch; }
.fine { color: var(--muted); font-size: .82rem; margin: 8px 0 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; margin: 12px 0; }
.stats div { border-left: 3px solid var(--accent); padding-left: 10px; }
.stats dt { font-size: .75rem; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--display); font-size: 1.25rem; font-variant-numeric: tabular-nums; }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
figure { margin: 0; min-width: 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.chart-box { position: relative; height: 240px; }
.chart-box.tall { height: 300px; }

button { font: inherit; padding: 7px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); cursor: pointer; }
button:hover { border-color: var(--accent); }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.small { font-size: .8rem; padding: 4px 10px; margin-top: 8px; }
button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg button { border: 0; border-radius: 0; border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--accent); color: #fff; }

.video { background: #000; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; display: grid; place-items: center; }
.video img { width: 100%; height: 100%; object-fit: contain; }

.forecast { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.fday { border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: .82rem; }
.fday b { display: block; font-family: var(--display); font-size: 1rem; }
.fday .fly { font-size: 1.1rem; color: var(--accent); font-variant-numeric: tabular-nums; }

.note-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 10px; }
.note-form label { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.note-form .wide, .note-form .form-end { grid-column: 1 / -1; }
.form-end { display: flex; align-items: center; gap: 12px; }
input, select, textarea { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; width: 100%; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 420px; overflow: auto; }
.list li { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: .88rem; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.list .when { font-size: .75rem; color: var(--muted); }
.list .cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.list .txt { grid-column: 1 / -1; white-space: pre-wrap; overflow-wrap: anywhere; }
.list button { font-size: .75rem; padding: 2px 8px; }
@media (max-width: 520px) { .jump { display: none; } .chart-box { height: 210px; } }

/* ---- v2: health, system, scrubber, login ---- */
.pill { font: 600 .68rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; vertical-align: middle; margin-left: 6px; border: 1px solid transparent; }
.pill.ok { color: var(--good); border-color: var(--good); }
.pill.watch { color: var(--warn); border-color: var(--warn); }
.pill.alert { color: #fff; background: var(--bad); }
.pill.unknown { color: var(--muted); border-color: var(--line); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 8px; }
.checks li { display: grid; grid-template-columns: 12px 1fr; gap: 2px 10px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; min-width: 0; }
.checks .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--muted); }
.checks .ok .dot { background: var(--good); }
.checks .watch .dot { background: var(--warn); }
.checks .alert .dot { background: var(--bad); }
.checks li.alert { border-color: var(--bad); }
.checks .lab { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.checks .val { font-family: var(--display); font-size: 1.1rem; font-weight: 600; }
.checks .det { grid-column: 2; font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.headline.small { font-size: 1.1rem; }
.scrub { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 10px; font-size: .85rem; color: var(--muted); }
.scrub select { width: auto; }
.scrub input[type=range] { flex: 1 1 180px; padding: 0; accent-color: var(--accent); }
.mono { font-variant-numeric: tabular-nums; }
.set-form { display: grid; gap: 10px; }
.set-form label { display: grid; grid-template-columns: 1fr 120px; gap: 10px; align-items: center; font-size: .88rem; color: var(--muted); }
.btns.spaced { margin-top: 14px; }
.btns form { margin: 0; }
.err { color: var(--bad); margin: 0; }
.login { display: grid; place-items: center; min-height: 80vh; }
.login form { display: grid; gap: 12px; width: min(100%, 340px); }
@media (max-width: 520px) { .set-form label { grid-template-columns: 1fr 96px; } }

/* ---- v3: entrance activity ---- */
.video { position: relative; }
#cam-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#cam-overlay line { stroke: #ffb020; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
#cam-overlay .arrow { stroke-width: 2; }
#cam-overlay circle { fill: #ffb020; }
.video.picking { cursor: crosshair; outline: 2px solid var(--accent); }
.anoms { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.anoms li { border: 1px solid var(--bad); border-left-width: 4px; border-radius: 6px; padding: 7px 10px; font-size: .9rem; }
.anoms .cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--bad); display: block; }

/* accounts */
a.btn { display: inline-block; padding: 7px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); text-decoration: none; }
a.btn:hover { border-color: var(--accent); }
.account { margin-top: 18px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; margin: 8px 0; }
.inline-form label { display: grid; gap: 4px; font-size: .85rem; flex: 1 1 140px; }
.reveal { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 8px; padding: 10px 12px; margin: 8px 0; font-size: .88rem; }
.reveal p { margin: 0 0 6px; }
.reveal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; user-select: all; }
.list.compact { max-height: 220px; }
.list select { font-size: .78rem; padding: 2px 4px; width: auto; flex: 0 0 auto; }
.login .panel p { margin: 0; }

/* ---- 3.2: alert record ---- */
.list .tag { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; border: 1px solid currentColor; align-self: center; }
.list .tag.real { color: var(--bad); }
.list .tag.false { color: var(--muted); }
.review li.watch { border-color: var(--warn); }
.review li.watch .cat { color: var(--warn); }
.list .btns { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.warn-line { color: var(--warn); }
.list .btns a.btn { font-size: .75rem; padding: 2px 8px; }

/* ---- 3.2: honey ratings ---- */
.list ul.comments { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.list ul.comments li { display: block; border: 0; border-left: 3px solid var(--accent-soft); border-radius: 0; padding: 2px 0 2px 10px; }
.list ul.comments .st, .list .txt b { color: var(--accent); letter-spacing: .05em; }
.table-wrap { overflow-x: auto; margin-top: 10px; }
table.taste { border-collapse: collapse; width: 100%; font-size: .85rem; font-variant-numeric: tabular-nums; }
table.taste th, table.taste td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.taste th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
#taste-finding { margin: 6px 0 10px; }
details.setup { margin: 10px 0 4px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
details.setup summary { cursor: pointer; font-weight: 600; }
details.setup ol { padding-left: 18px; margin: 8px 0; }
details.setup li { margin-bottom: 4px; }

/* ---- Pollination Station brand ---- */
body { background:
  radial-gradient(circle at 12% -10%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 40%),
  var(--bg) fixed; }
.top { background: var(--panel); border-bottom: 3px double var(--gold); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 2px var(--gold); background: #f8f6e6; }
.brand .tag { font-family: var(--script); color: var(--accent); font-size: 1rem; margin-left: 2px; }
h1 { letter-spacing: .02em; color: var(--ink); }
h2 { color: var(--ink); letter-spacing: .03em; }
.panel { border-color: var(--line); border-top: 3px solid var(--gold); border-radius: 12px; box-shadow: 0 1px 2px rgb(31 66 70 / .06); }
.card { border-radius: 10px; border-left: 3px solid var(--gold); }
.card.alert { border-left-color: var(--bad); }
button.primary, .seg button.on { background: var(--ink); border-color: var(--ink); color: var(--panel); }
@media (prefers-color-scheme: dark) {
  button.primary, .seg button.on { background: var(--accent); border-color: var(--accent); color: #15302f; }
}
.stats div { border-left-color: var(--gold); }
.login .brand { flex-direction: column; text-align: center; }
.login .brand img { width: 120px; height: 120px; }
@media (max-width: 520px) { .brand img { width: 40px; height: 40px; } .brand .tag { display: none; } }

/* ---- forms in their own sheet ---- */
dialog.sheet { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; padding: 0 20px 20px;
  border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 14px; background: var(--panel); color: var(--fg);
  box-shadow: 0 18px 50px rgb(14 35 36 / .28); }
dialog.sheet::backdrop { background: rgb(14 35 36 / .45); backdrop-filter: blur(2px); }
.sheet-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--panel); padding: 16px 0 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.sheet-head .x { border: 0; background: transparent; font-size: 1.1rem; line-height: 1; padding: 8px; color: var(--muted); }
.sheet-head .x:hover { color: var(--fg); }
dialog.sheet .note-form { margin-top: 6px; }
dialog.sheet ol { padding-left: 18px; }
dialog.sheet ol li { margin-bottom: 4px; }
.form-end { flex-wrap: wrap; }
.panel > .btns, section .btns + .list { margin-bottom: 10px; }
@media (max-width: 600px) {
  dialog.sheet { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; border: 0; border-top: 4px solid var(--gold); }
  .set-form label { grid-template-columns: 1fr; }
}
details.about { margin-top: 8px; }
details.about summary { cursor: pointer; font-size: .85rem; color: var(--accent); }

/* ---------------------------------------------------------------- hive diagram ("The hive now")
   The scene keeps its own colours in light and dark mode: it is a picture of the sky and the hive. */
.scene-panel .panel-head .sub.alert { color: var(--bad); font-weight: 600; }
.scene-wrap { border-radius: 8px; overflow: hidden; line-height: 0; }
.scene { display: block; width: 100%; height: 300px; font-family: var(--body); --sky-top: #97aabb; --sky-bot: #d7dee3; --cloud: #e9edf0; }
.scene .sky-top { stop-color: var(--sky-top); transition: stop-color 1.5s; }
.scene .sky-bot { stop-color: var(--sky-bot); transition: stop-color 1.5s; }

/* sky: what shows depends on the weather class (wx-*) and on day or night */
.scene .sc-stars { fill: #fff; opacity: 0; transition: opacity 1.5s; }
.scene.night.wx-sun .sc-stars, .scene.night.wx-partly .sc-stars { opacity: .85; }
.scene .sc-sun circle:last-child { fill: #ffd451; }
.scene .sc-sun, .scene .sc-moon { opacity: 0; transition: opacity 1.5s; }
.scene.day.wx-sun .sc-sun, .scene.day.wx-partly .sc-sun { opacity: 1; }
.scene.night.wx-sun .sc-moon, .scene.night.wx-partly .sc-moon { opacity: 1; }
.scene .sc-moon { fill: #f1ead5; }
.scene .sc-clouds use { fill: var(--cloud); opacity: 0; transition: opacity 1.5s, fill 1.5s; }
.scene.wx-partly .sc-clouds .c-a { opacity: .95; }
.scene:is(.wx-cloud, .wx-rain, .wx-thunder, .wx-snow, .wx-fog) .sc-clouds use { opacity: .95; }

.scene .sc-rain, .scene .sc-snow, .scene .sc-bolt, .scene .sc-fog { display: none; }
.scene:is(.wx-rain, .wx-thunder) .sc-rain { display: inline; }
.scene.wx-snow .sc-snow, .scene.wx-fog .sc-fog { display: inline; }
.scene.wx-thunder .sc-bolt { display: inline; }
.scene .sc-rain line { stroke: #dfe8f0; stroke-width: 1.4; stroke-linecap: round; opacity: .75; animation: sc-fall linear infinite; }
.scene .sc-snow circle { fill: #fff; opacity: .95; animation: sc-drift linear infinite; }
.scene .sc-bolt { fill: #fff6c2; opacity: 0; animation: sc-flash 7s infinite; }
.scene .sc-fog rect { fill: #f2f4f5; opacity: .55; }
.scene.night .sc-fog rect { fill: #8b959c; opacity: .45; }
@keyframes sc-fall { from { transform: translateY(-20px); } to { transform: translateY(360px); } }
@keyframes sc-drift { 0% { transform: translate(0, -10px); } 50% { transform: translate(9px, 170px); } 100% { transform: translate(-4px, 350px); } }
@keyframes sc-flash { 0%, 90%, 92.5%, 95.5%, 100% { opacity: 0; } 91%, 94% { opacity: 1; } }

/* ground */
.scene .sc-ground { fill: #82a35a; transition: fill 1.5s; }
.scene .sc-ground-edge { fill: #6c8c47; }
.scene.wx-snow .sc-ground { fill: #eef2f5; }
.scene.wx-snow .sc-ground-edge { fill: #d3dce3; }
.scene.night .sc-ground { fill: #2e4730; }
.scene.night .sc-ground-edge { fill: #253b27; }
.scene.night.wx-snow .sc-ground { fill: #4d5a66; }

/* hive */
.scene .wood { fill: #dcae62; stroke: #9c6a26; stroke-width: 1.2; transition: filter 1.5s; }
.scene .wood.dark { fill: #6d5a44; stroke: #4f3f2d; }
.scene .wood.crown { fill: #c9964b; }
.scene .sc-grain { stroke: #c39046; stroke-width: 1; fill: none; opacity: .6; }
.scene .sc-door { fill: #3a2814; }
.scene .sc-excl { fill: #8b8f8f; }
.scene .sc-scale { fill: #8c7b66; stroke: #5f5040; stroke-width: 1.2; }
.scene .sc-frames rect { fill: #f0cf86; stroke: #9c6a26; stroke-width: .8; opacity: 0; transition: opacity .6s; }
.scene.roof-off .sc-frames rect { opacity: 1; }
.scene .sc-lid { fill: #5d7c76; stroke: #3f5753; stroke-width: 1.2; }
.scene .sc-lid-top { fill: #85a29b; }
.scene.night :is(.wood, .sc-lid, .sc-lid-top, .sc-scale, .sc-screen) { filter: brightness(.72); }
.scene .sc-screen { fill: #f4f1ea; stroke: #a9a293; stroke-width: 1.2; }
.scene .sc-slats { stroke: #b9b2a3; stroke-width: 1.2; }

/* the roof lifts up and to the left when it is off */
.scene .sc-roof { transform-box: fill-box; transform-origin: 0% 100%; transition: transform .9s cubic-bezier(.3, 1.3, .5, 1); }
.scene .sc-roof.lifted { transform: translate(-22px, -30px) rotate(-8deg); }
.scene .sc-off { opacity: 0; transition: opacity .4s; }
.scene .sc-off.show { opacity: 1; }
.scene .sc-off rect { fill: #b0412e; }
.scene .sc-off text { fill: #fff; font-size: 12.5px; font-weight: 700; }

/* labels: each reading sits in a pill tinted by its temperature (cold blue to hot red) */
.scene .sc-pill rect { stroke: rgb(23 53 54 / .35); stroke-width: 1; transition: fill 1s; }
.scene .sc-pill text { fill: #173536; font-size: 13.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.scene .sc-pill.sc-plain rect { fill: #f6f1e1; }
.scene .sc-cap { fill: #3b2a14; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; opacity: .8; }
.scene .sc-cap.light { fill: #f1ead5; opacity: .95; }
.scene .sc-num { fill: #3b2a14; font-size: 10px; opacity: .65; }
.scene .sc-outcap { fill: #173536; opacity: 1; paint-order: stroke; stroke: rgb(255 255 255 / .55); stroke-width: 3px; }
.scene.night .sc-outcap { fill: #f1ead5; stroke: rgb(0 0 0 / .45); }
.scene .sc-wx rect { fill: rgb(255 255 255 / .72); }
.scene .sc-wx text { fill: #173536; font-size: 12.5px; font-weight: 600; }
.scene.night .sc-wx rect { fill: rgb(10 20 30 / .6); }
.scene.night .sc-wx text { fill: #f1ead5; }
.scene .sc-legend text { fill: #173536; font-size: 10.5px; font-weight: 600; }
.scene.night .sc-legend text { fill: #f1ead5; }

/* the outdoor SHT31 on its bracket at the back left of the hive, pointing slightly up */
.scene .sc-probe { stroke: #e9ece9; stroke-width: 7; stroke-linecap: round; fill: none; }
.scene.night .sc-probe { stroke: #b9bfbc; }
/* the bee lines: bees fly out of the entrance and back in; one bee for about 300 an hour */
.scene .sc-lane { fill: none; stroke: rgb(255 255 255 / .6); stroke-width: 1.6; stroke-dasharray: 1.5 5; stroke-linecap: round; }
.scene.night .sc-lane { stroke: rgb(255 255 255 / .22); }
.scene .sc-beeline.idle .sc-lane { opacity: .45; }
.scene .sc-bee .b { fill: #f2b632; stroke: #3b2a14; stroke-width: .8; }
.scene .sc-bee .s { stroke: #3b2a14; stroke-width: 1.1; fill: none; }
.scene .sc-bee .h { fill: #3b2a14; }
.scene .sc-bee .w { fill: rgb(255 255 255 / .85); stroke: #3b2a14; stroke-width: .5; }
.scene .sc-pill.sc-beepill rect { fill: #fff6d8; stroke: #c89c46; stroke-width: 1.2; }
.scene:not(.ready) *, .scene:not(.ready) .sc-roof { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .scene *, .scene .sc-roof { animation: none !important; transition: none !important; }
}
