/* Harbour: the Datatainment Survey look (chosen 17 Sep 2026; Slate before it). Fonts are self-hosted so the tablet app has them offline. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/shared/fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/shared/fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/shared/fonts/hanken-grotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/shared/fonts/hanken-grotesk-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --logo-face: #FDF8F3;                                               /* what sits behind the logo's top face: the page by default, a bar's colour on bars */
  --bg: #FDF8F3; --surface: #ffffff; --text: #1F2B3A; --muted: #55606E; --line: #E6DFD7;
  --accent: #4E6F98; --accent-ink: #ffffff; --accent-soft: #E3EAF3; --accent-deep: #7599BD; --accent-hi: #5B7CA5;
  --top-bg: #7599BD; --top-ink: #ffffff; --top-line: #5F82A6;           /* the steel-blue bars */
  --neutral-soft: #EEE6DE; --hover: #FBF6F0;                            /* warm neutrals for chips, tab strips and hover rows */
  --ok: #04C9A8; --ok-ink: #1F5A3A; --ok-soft: #C6E9D5; --warn: #8A3A45; --warn-soft: #FFE0E1; --bad: #b91c1c;
  --radius: 10px; --shadow: 0 1px 2px rgba(31,43,58,.05), 0 4px 16px rgba(31,43,58,.05);
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font: "Hanken Grotesk", var(--font-system);
  --font-display: "Manrope", var(--font-system);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); font-size: 15px; color: var(--text); background: var(--bg); line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.2; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: 24px; font-weight: 800; } h2 { font-size: 18px; } h3 { font-size: 15px; letter-spacing: -.01em; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1 1 auto; }
button, .btn { font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px; padding: 9px 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
button:hover, .btn:hover { border-color: #B7C6D8; }
button:disabled { opacity: .5; cursor: default; }
.btn-primary { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: linear-gradient(180deg, #4E6F98, #3F5C80); border-color: #3F5C80; }
.btn-primary:disabled, .btn-primary:disabled:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft); opacity: 1; cursor: default; }
button:focus-visible, .btn:focus-visible { outline: 2px solid rgba(78,111,152,.45); outline-offset: 2px; }
.btn-go { background: #C9E9D2; color: #1F5A3A; border-color: #B3DCC1; }
.btn-go:hover { background: #B9E0C5; border-color: #9FD0B0; color: #164A2F; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-danger { color: var(--bad); }
.btn-sm { padding: 5px 10px; font-size: 13px; border-radius: 6px; }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(78,111,152,.28); border-color: var(--accent); }
label.field { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
label.field > input, label.field > select, label.field > textarea { margin-top: 4px; font-weight: 400; color: var(--text); }
.check { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.check input { width: auto; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--neutral-soft); color: var(--muted); }
.pill.live { background: var(--ok-soft); color: var(--ok-ink); }
.pill.draft { background: var(--warn-soft); color: var(--warn); }
.pill.closed { background: var(--neutral-soft); color: var(--muted); }
.error { color: var(--bad); font-weight: 600; }
.notice { padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.notice.ok { background: var(--ok-soft); color: var(--ok-ink); }
.notice.bad { background: #fee2e2; color: var(--bad); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: var(--neutral-soft); padding: 1px 5px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

/* Interim Datatainment branding */
.dt-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.dt-icon { display: block; color: currentColor; }
.dt-word { display: block; color: currentColor; }
.dt-suffix { margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.dt-anim .dot1 { animation: dt-dot1 2.4s linear infinite; }
.dt-anim .dot2 { animation: dt-dot2 2.4s linear infinite; }
.dt-anim .dot3 { animation: dt-dot3 2.4s linear infinite; }
/* On the steel-blue bars the logo and its suffix turn white; nothing else about them changes. */
.on-bar .dt-logo, .on-bar .dt-suffix { color: var(--top-ink); }
.on-bar .dt-suffix { border-left-color: rgba(255,255,255,.45); opacity: .85; }
@keyframes dt-dot1 { 0%, 24.99% { opacity: 0; } 25%, 100% { opacity: 1; } }
@keyframes dt-dot2 { 0%, 49.99% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes dt-dot3 { 0%, 74.99% { opacity: 0; } 75%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dt-anim .dot1, .dt-anim .dot2, .dt-anim .dot3 { animation: none; } }
