:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #1c1b19;
  --muted: #5f5c56;
  --line: #dcd9d2;
  --accent: #8a2f1e;
  --accent-ink: #ffffff;
  --soft: #f3e6e2;
  --note: #fbf4dc;
  --note-ink: #5b4a06;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161513;
    --surface: #201f1c;
    --ink: #ece9e2;
    --muted: #a8a49b;
    --line: #36342f;
    --accent: #d9634a;
    --accent-ink: #161513;
    --soft: #2d1f1b;
    --note: #2b2611;
    --note-ink: #e6d58a;
  }
}
:root[data-theme="dark"] {
  --bg: #161513;
  --surface: #201f1c;
  --ink: #ece9e2;
  --muted: #a8a49b;
  --line: #36342f;
  --accent: #d9634a;
  --accent-ink: #161513;
  --soft: #2d1f1b;
  --note: #2b2611;
  --note-ink: #e6d58a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}

/* Site header */
.sitebar { background: var(--surface); border-bottom: 1px solid var(--line); }
.sitebar .inner { max-width: 860px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sitebar .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; flex: 1 1 auto; }
.mark { width: 46px; height: 46px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; flex: 0 0 auto; }
.sitebar .name { font-weight: 700; font-size: 19px; line-height: 1.2; margin: 0; }
.sitebar .tag { color: var(--muted); font-size: 14px; margin: 0; }
.sitebar nav { display: flex; gap: 6px; flex-wrap: wrap; }
.sitebar nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); }
.sitebar nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.band { background: var(--line); height: 8px; }

main { max-width: 860px; margin: 0 auto; padding: 32px 16px 48px; }
header.top { border-bottom: 3px solid var(--accent); padding-bottom: 20px; margin-bottom: 28px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 0 0 12px; }
.lede { font-size: 19px; color: var(--muted); margin: 0; }
h2 { font-size: 22px; margin: 40px 0 14px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
h3 { font-size: 18px; margin: 20px 0 8px; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 6px; }
a { color: var(--accent); }

.callout {
  background: var(--soft);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 24px;
}
.callout h2 { margin: 0 0 10px; border: 0; padding: 0; font-size: 20px; }
.callout .big { font-size: 24px; font-weight: 700; margin: 6px 0; }
.callout .big a { text-decoration: none; }
.note {
  background: var(--note);
  color: var(--note-ink);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 15px;
  margin: 0 0 24px;
}

.people { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .people { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 4px; font-size: 24px; }
.card h3 a { text-decoration: none; color: inherit; }
.card .sub { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; }
.photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 220px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 0;
  margin: 0 0 16px;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .ph { display: none; padding: 12px; }
.photo.empty .ph { display: block; }
.profile { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: 8px; }
@media (min-width: 680px) { .profile { grid-template-columns: 220px 1fr; } }
dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 15px; }
dt { color: var(--muted); }
dd { margin: 0; }

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 18px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.wrap { overflow-x: auto; }
@media (max-width: 640px) {
  table thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 10px 12px; margin: 0 0 12px; }
  td { border: 0; padding: 4px 0; }
  td::before { content: attr(data-label); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
}
.fine { font-size: 14px; color: var(--muted); }

/* Site footer */
.sitefoot { background: #2b2a27; color: #d8d5ce; margin-top: 24px; }
.sitefoot .inner { max-width: 860px; margin: 0 auto; padding: 36px 16px 24px; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .sitefoot .inner { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.sitefoot h4 { color: #ffffff; font-size: 15px; margin: 0 0 10px; }
.sitefoot p, .sitefoot li { font-size: 14px; line-height: 1.5; margin: 0 0 6px; }
.sitefoot ul { list-style: none; padding: 0; margin: 0; }
.sitefoot a { color: #ffffff; }
.sitefoot .legal { max-width: 860px; margin: 0 auto; padding: 16px 16px 28px; font-size: 13px; color: #a8a49b; border-top: 1px solid #3f3d39; }

/* Share bar */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 28px; }
.share span { font-size: 14px; color: var(--muted); margin-right: 2px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }

/* Anonymous tip form */
.tipbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 24px; }
.tipbox h2 { margin: 0 0 8px; border: 0; padding: 0; font-size: 20px; }
.tipbox label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.tipbox textarea, .tipbox input[type="text"] { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.tipbox textarea { resize: vertical; min-height: 120px; }
.tipbox input#captcha { max-width: 180px; letter-spacing: .2em; text-transform: uppercase; }
.captcha-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.captcha-row img { border: 1px solid var(--line); border-radius: 6px; background: #f7f6f3; }
.linkish { font: inherit; font-size: 14px; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn { display: inline-block; margin-top: 16px; font: inherit; font-weight: 700; color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 6px; padding: 10px 18px; cursor: pointer; }
.tip-status { border-radius: 6px; padding: 10px 12px; font-size: 15px; margin: 0 0 8px; }
.tip-status.ok { background: #e6f2e6; color: #1f5a22; }
.tip-status.bad { background: var(--soft); color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tip-status.ok { background: #1f2d1f; color: #a9d9ab; } }

/* Shared reference-inspired visual theme. Independent site identity. */
:root, :root[data-theme="dark"], :root:not([data-theme="light"]) {
  --bg: #fff; --surface: #fff; --ink: #343635; --muted: #555957;
  --line: #c6c9c8; --accent: #244c5a; --accent-ink: #fff;
  --soft: #f4f7f7; --note: #f3f5f5; --note-ink: #343635;
  --radius: 6px;
}
body { font-size: 16px; line-height: 1.5; }
.sitebar { border-bottom: 1px solid #aaa; }
.sitebar .inner { max-width: 1160px; padding: 24px 32px; gap: 22px; }
.sitebar .brand { gap: 20px; }
.mark { width: 64px; height: 64px; border-radius: 50%; font-size: 25px; background: #244c5a; }
.sitebar .name { font-size: 28px; font-weight: 800; }
.sitebar .tag { font-size: 18px; color: #343635; margin-top: 3px; }
.sitebar nav { width: 100%; padding-top: 12px; gap: 20px; }
.sitebar nav a { border: 0; border-radius: 0; padding: 8px 0; font-size: 16px; border-bottom: 3px solid transparent; }
.sitebar nav a[aria-current="page"] { background: transparent; color: var(--accent); border-color: var(--accent); }
.band { height: 48px; background: #eaeaea; }
main { max-width: 1060px; padding: 64px 32px 72px; }
header.top { border: 0; padding-bottom: 0; margin-bottom: 32px; }
h1 { font-size: clamp(34px, 4.5vw, 48px); font-weight: 800; line-height: 1.25; margin-bottom: 22px; letter-spacing: -.025em; }
h2 { font-size: 28px; font-weight: 800; border: 0; margin: 44px 0 20px; padding: 0; }
h3 { font-size: 23px; font-weight: 750; }
.kicker { color: var(--accent); font-size: 12px; letter-spacing: .07em; margin-bottom: 14px; }
.lede { font-size: 18px; line-height: 1.65; color: var(--ink); max-width: 900px; }
a { text-underline-offset: 3px; }
.callout, .note { background: white; border-left: 12px solid var(--accent); box-shadow: 0 1px 10px #00000016; padding: 24px; border-radius: 7px; }
.callout h2 { font-size: 24px; }
.card { border: 1px solid #ddd; border-radius: 6px; padding: 28px; box-shadow: 0 2px 8px #0000000a; }
.card h3 { font-size: 27px; }
.tipbox { border: 0; padding: 28px; box-shadow: 0 1px 10px #00000016; }
.tipbox h2 { font-size: 28px; }
.tipbox textarea, .tipbox input[type="text"] { background: white; border: 1px solid #999; border-radius: 4px; padding: 13px 16px; }
.tipbox label { font-size: 14px; }
.btn { padding: 12px 28px; border-radius: 4px; }
.share { margin: 0 0 32px; }
.share a, .share button { border-color: #c6c9c8; border-radius: 4px; padding: 8px 12px; }
th { background: #e9eded; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 700; }
th, td { padding: 16px 12px; }
tbody tr:nth-child(even) { background: #f6f7f7; }
dl { font-size: 16px; line-height: 1.6; }
dd { overflow-wrap: anywhere; min-width: 0; }
.sitefoot { background: #303c40; color: #fff; margin-top: 0; }
.sitefoot .inner { max-width: 1160px; padding: 48px 32px; gap: 48px; }
.sitefoot h4 { font-size: 23px; margin-bottom: 18px; }
.sitefoot p, .sitefoot li { font-size: 15px; line-height: 1.65; }
.sitefoot .legal { max-width: 1160px; border-color: #6b777b; color: #e0e6e8; padding: 24px 32px 32px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #326c80; outline-offset: 4px; }
@media (max-width: 680px) {
  .sitebar .inner { padding: 20px; }
  .mark { width: 48px; height: 48px; font-size: 20px; }
  .sitebar .brand { gap: 14px; }
  .sitebar .name { font-size: 22px; }
  .sitebar .tag { font-size: 14px; }
  .sitebar nav { gap: 18px; }
  .band { height: 32px; }
  main { padding: 40px 20px 48px; }
  h1 { font-size: 34px; }
  .callout, .note, .tipbox, .card { padding: 20px; }
  dl { grid-template-columns: 1fr; gap: 3px; }
  dd { margin-bottom: 12px; }
  .sitefoot .inner { padding: 36px 20px; gap: 28px; }
  .sitefoot .legal { padding: 24px 20px; }
}

/* Photo status ribbon */
.photo { position: relative; }
.warrant-ribbon { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; background: #8a2529; color: #fff; padding: 9px 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; line-height: 1.4; }
.photo.empty .ph { padding-bottom: 48px; }

.edson-photos { min-width: 0; }
.edson-photos figure { margin: 0 0 22px; }
.edson-photos figcaption { max-width: 220px; font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.edson-photos .photo { margin-bottom: 0; }
.original-photo { justify-content: flex-start; }
.original-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.stylized-photo { aspect-ratio: 1; }

[data-photo-slider] figure[hidden] { display: none; }
[data-photo-slider] figure:not(:first-of-type):not([hidden]) { display: block; }
[data-photo-slider]:not(:has(figure[hidden])) figure:not(:first-of-type) { display: none; }
.photo-controls { display: flex; align-items: center; justify-content: space-between; max-width: 220px; gap: 12px; margin-bottom: 22px; }
.photo-controls button { width: 44px; height: 40px; border: 1px solid var(--line); border-radius: 4px; color: var(--accent); background: white; font-size: 26px; cursor: pointer; }
.photo-controls span { font-size: 14px; color: var(--muted); }

/* About panel and file upload */
.about-panel { background: var(--soft); border-left: 12px solid var(--accent); border-radius: 7px; padding: 24px; margin: 0 0 28px; }
.about-panel h2 { font-size: 24px; margin: 0 0 12px; }
.about-panel p { margin: 0 0 12px; }
.about-panel p:last-child { margin-bottom: 0; }
.tipbox .fine { margin: 6px 0 0; }
.tipbox .opt { font-weight: 400; color: var(--muted); }
.tipbox input[type="file"] { width: 100%; font: inherit; font-size: 15px; padding: 10px; border: 1px dashed #999; border-radius: 4px; background: #fff; }
.filelist { list-style: none; margin: 10px 0 0; padding: 0; }
.filelist li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.filelist li span:last-child { color: var(--muted); white-space: nowrap; }
.filelist li.bad, .filelist li.bad span:last-child { color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: default; }
@media (max-width: 680px) { .about-panel { padding: 20px; } }

/* ---- Utah Capitol banner, reward, gray bar ---- */
header.top {
  position: relative; overflow: hidden; color: #fff; border-radius: 7px; margin: 0 0 28px; padding: 56px 40px 52px;
  background:
    linear-gradient(180deg, rgba(14,28,34,.80) 0%, rgba(14,28,34,.64) 55%, rgba(14,28,34,.84) 100%),
    url("images/utah-capitol.jpg") center 38% / cover no-repeat #1c3038;
}
header.top h1, header.top .lede { color: #fff; }
header.top h1 { text-shadow: 0 1px 3px rgba(0,0,0,.4); margin-bottom: 18px; }
header.top .kicker { color: #ffd9d2; }
header.top .lede a { color: #fff; }
.photo-credit { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: rgba(255,255,255,.85); text-decoration: none; }
.photo-credit:hover { text-decoration: underline; }
@media (max-width: 680px) { header.top { padding: 36px 20px 40px; } }

.reward { display: flex; align-items: center; gap: 18px; max-width: 900px; margin: 0 0 20px; padding: 14px 18px; background: #8a2529; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; color: #fff; }
.reward .amt { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.reward p { margin: 0; font-size: 16px; line-height: 1.45; color: #fff; }
.reward a { color: #fff; }
.reward details { margin-top: 8px; font-size: 14px; }
.reward summary { cursor: pointer; text-decoration: underline; }
.reward details p { margin: 8px 0 0; font-size: 14px; }
@media (max-width: 680px) { .reward { flex-direction: column; align-items: flex-start; gap: 8px; } }

.band { height: auto; min-height: 44px; padding: 8px 0; }
.band .inner { max-width: 1160px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: #343635; }
.band .views { margin: 0; }
.band .views strong { font-variant-numeric: tabular-nums; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; }
.langs button { font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid #c6c9c8; border-radius: 4px; padding: 3px 11px; cursor: pointer; }
.langs button:hover { border-color: var(--accent); }
.langs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 680px) { .band .inner { padding: 0 20px; } }

/* Google Translate injects its own bar and highlights. The site shows its own buttons instead. */
.goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { position: absolute; left: -9999px; top: 0; height: 0; overflow: hidden; }
html.translated-rtl main, html.translated-rtl .sitefoot { direction: rtl; }

/* ---- Message board ---- */
.board h2 { margin-top: 36px; }
.board h2:first-child { margin-top: 0; }
.composer { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px; box-shadow: 0 1px 10px #00000016; }
.composer label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.composer .opt { font-weight: 400; color: var(--muted); }
.composer input[type="text"], .composer textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #999; border-radius: 4px; padding: 11px 14px; }
.composer textarea { min-height: 110px; resize: vertical; }
.composer input#b-captcha { max-width: 180px; letter-spacing: .2em; text-transform: uppercase; }
.composer .row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.composer .reply-note { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--accent); }
.msg { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; margin: 0 0 16px; }
.msg-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.msg-head .who { font-weight: 700; color: var(--ink); }
.msg .text { margin: 0 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg .acts { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.msg .acts button { font: inherit; font-size: 14px; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.msg .acts button.like[aria-pressed="true"] { font-weight: 700; text-decoration: none; cursor: default; }
.replies { margin: 14px 0 0 14px; padding-left: 16px; border-left: 3px solid #d7dcdc; }
.replies:empty { display: none; }
.replies .msg { background: #f8fafa; margin-bottom: 10px; }
.reply-slot:not(:empty) { margin-top: 14px; }

/* Photo request and default profile */
.photo-ask { max-width: 220px; margin: 10px 0 18px; font-size: 13px; line-height: 1.45; }
.photo-ask a { font-weight: 700; }
.photo-col { min-width: 0; }
.photo.empty { background: #e4eaeb; }
.photo.empty .ph { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 0 0 42px; color: #7d8b8f; }
.photo.empty .ph svg { width: 68%; height: auto; }
.photo.empty .ph em { font-style: normal; font-size: 13px; font-weight: 700; color: #5f6b6e; }

/* Blue navigation bar, brand in the footer */
.sitebar { background: #1f394e; border-bottom: 0; }
.sitebar .inner { padding: 0 32px; gap: 0; }
.sitebar nav { width: 100%; padding-top: 0; gap: 0 6px; }
.sitebar nav a { color: #fff; font-weight: 600; padding: 17px 16px; border-bottom: 4px solid transparent; }
.sitebar nav a:hover { background: rgba(255,255,255,.14); }
.sitebar nav a[aria-current="page"] { background: rgba(255,255,255,.18); color: #fff; border-bottom-color: #fff; }
.sitebar a:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
@media (max-width: 680px) {
  .sitebar .inner { padding: 0 10px; }
  .sitebar nav { gap: 0; }
  .sitebar nav a { padding: 14px 7px; font-size: 14px; }
}

.foot-brand { max-width: 1160px; margin: 0 auto; padding: 40px 32px 0; }
.foot-brand .brand { display: inline-flex; align-items: center; gap: 18px; color: #fff; text-decoration: none; }
.foot-brand .mark { background: #1f394e; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.foot-brand .name { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; color: #fff; }
.foot-brand .tag { margin: 3px 0 0; font-size: 15px; color: #e0e6e8; }
.foot-brand + .inner { border-top: 1px solid #6b777b; margin-top: 28px; }
@media (max-width: 680px) { .foot-brand { padding: 32px 20px 0; } .foot-brand .name { font-size: 19px; } }

/* Same banner height on every page */
header.top { display: flex; flex-direction: column; justify-content: center; min-height: 430px; }
@media (max-width: 680px) { header.top { min-height: 0; } }

/* Confirmation and error messages */
.tip-status { margin: 16px 0 0; padding: 12px 16px; border-radius: 4px; border-left: 5px solid; font-size: 15px; font-weight: 600; line-height: 1.4; }
.tip-status.ok { background: #e7eff6; border-left-color: #1f394e; color: #1f394e; }
.tip-status.bad { background: #f8e9ea; border-left-color: #8a2529; color: #7a1f23; }
.tip-status.ok::before { content: "\2713\00a0\00a0"; }
.tip-status.bad::before { content: "!\00a0\00a0"; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tip-status.ok { background: #e7eff6; color: #1f394e; }
  :root:not([data-theme="light"]) .tip-status.bad { background: #f8e9ea; color: #7a1f23; }
}

/* Language flags */
.langs button { display: inline-flex; align-items: center; gap: 7px; }
.langs .flag { width: 20px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.22); }
@media (max-width: 380px) { .langs button { padding: 3px 8px; gap: 5px; font-size: 13px; } }

/* Photos on board messages */
.photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.photos img { display: block; max-width: 220px; max-height: 180px; border: 1px solid var(--line); border-radius: 4px; }
.composer input[type="file"] { width: 100%; font: inherit; font-size: 15px; padding: 10px; border: 1px dashed #999; border-radius: 4px; background: #fff; }
.composer .fine { margin: 6px 0 0; }

/* Page views in the navy bar, languages on the right of the gray bar */
.sitebar .inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sitebar nav { width: auto; flex: 1 1 auto; }
.sitebar .views { margin: 0; padding-left: 16px; color: #fff; font-size: 14px; white-space: nowrap; }
.sitebar .views strong { font-variant-numeric: tabular-nums; }
.band .inner { justify-content: flex-end; }
@media (max-width: 680px) {
  .sitebar .views { width: 100%; padding: 0 0 10px; text-align: right; font-size: 13px; }
}

/* Resources list */
.reslist { list-style: none; margin: 0 0 28px; padding: 0; }
.reslist li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.reslist a.name { display: block; font-size: 18px; font-weight: 700; }
.reslist a.url { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }

/* Floating share bar */
.share-float { position: fixed; z-index: 60; left: 12px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; max-height: calc(100vh - 24px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 4px 18px rgba(0,0,0,.2); }
.share-float .label { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.share-float a, .share-float button { display: flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; color: #fff; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.share-float a:hover, .share-float button:hover { transform: scale(1.12); box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.share-float svg { width: 20px; height: 20px; }
.share-float [data-net="facebook"] { background: #1877f2; }
.share-float [data-net="x"], .share-float [data-net="threads"] { background: #000; }
.share-float [data-net="whatsapp"] { background: #25d366; }
.share-float [data-net="telegram"] { background: #26a5e4; }
.share-float [data-net="email"] { background: #5f6b6e; }
.share-float button { background: #1f394e; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.share-toast { position: fixed; z-index: 70; left: 78px; top: 50%; transform: translateY(-50%); padding: 8px 14px; border-radius: 6px; background: #1f394e; color: #fff; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .15s; }
.share-toast.on { opacity: 1; }
@media (max-width: 1179px) {
  .share-float { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; justify-content: safe center; gap: 10px; padding: 8px 10px; max-height: none; overflow-x: auto; overflow-y: hidden; border-width: 1px 0 0; border-radius: 0; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
  .share-float .label { display: none; }
  .share-toast { left: 50%; top: auto; bottom: 68px; transform: translateX(-50%); }
  body { padding-bottom: 62px; }
}
@media print { .share-float, .share-toast { display: none; } }
