/* Assure: the look agreed in the phase 1 mockup (28 Nov 2026). Slate #354F63, gold #AF976F, laptop widths only.
   No inline styles anywhere (CSP style-src 'self'): every look is a class here. */
@font-face { font-family: "Geist"; src: url("/static/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/static/fonts/Outfit-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root { --slate: #354F63; --slate-dark: #2C4354; --gold: #AF976F; --ink: #1E2A33; --ink2: #36444F; --muted: #4F5E6B;
  --line: #DCE2E7; --line2: #EDF0F3; --bg: #F3F5F7; --green-bg: #E6F2EC; --green: #1F5C40; --amber-bg: #FBF0DC;
  --amber: #7A4F00; --red-bg: #FBE7E4; --red: #8F2A1C; --blue-bg: #E3EEF8; --blue: #1F4E79; --grey-bg: #EDF0F3; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); font-family: Geist, system-ui, sans-serif; color: var(--ink); font-size: 14px; }
a { color: #2B5D85; } a:hover { color: #1B3F5C; }
button, input, select { font-family: inherit; font-size: 14px; }
h1 { margin: 0; font-family: Outfit, sans-serif; font-weight: 500; font-size: 28px; }
h2 { margin: 0; font-family: Outfit, sans-serif; font-weight: 500; font-size: 24px; }
h3 { margin: 0; font-size: 16px; font-weight: 600; }
table { border-collapse: collapse; width: 100%; }
th { font-size: 12px; font-weight: 600; color: var(--muted); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { font-size: 14px; padding: 11px 12px; border-bottom: 1px solid var(--line2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }

.top { background: var(--slate); color: #fff; display: flex; align-items: center; gap: 16px; padding: 12px 24px; }
.top .logo { height: 34px; width: auto; display: block; }
.top nav { display: flex; gap: 4px; margin-left: 16px; }
.top nav a { color: #DCE5EB; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.top nav a.on, .top nav a:hover { background: var(--slate-dark); color: #fff; }
.top .spacer { flex: 1 1 auto; }
.who { display: flex; align-items: center; gap: 10px; color: #DCE5EB; font-size: 13px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; text-decoration: none; }
.linkbtn { background: none; border: 0; color: #DCE5EB; cursor: pointer; text-decoration: underline; padding: 0; font-size: 13px; }
.testbar { background: #8F2A1C; color: #fff; text-align: center; font-weight: 700; padding: 4px; font-size: 12px; letter-spacing: 0.06em; }

.page { padding: 28px 24px; width: 100%; display: flex; flex-direction: column; gap: 18px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.head .grow { flex: 1 1 320px; }
.sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.small { font-size: 12px; color: var(--muted); }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.col { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.card.pad { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.card .cardtitle { padding: 14px 16px 0; font-size: 15px; font-weight: 600; }
.scroll { overflow-x: auto; }
.label { width: 210px; color: var(--muted); }

.btn { height: 44px; padding: 0 18px; border-radius: 8px; border: 0; background: var(--slate); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn:hover { background: var(--slate-dark); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border: 1px solid #B9C4CC; font-weight: 500; }
.btn.light:hover { background: var(--bg); }
.btn.small { height: 36px; padding: 0 14px; font-size: 13px; }
.btn.outline { background: #fff; color: var(--slate); border: 1px solid var(--slate); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.pill { min-height: 40px; padding: 0 14px; border-radius: 8px; font-size: 13px; cursor: pointer; border: 1px solid #B9C4CC; background: #fff; color: var(--ink); }
.pill.on { border: 2px solid var(--slate); background: var(--blue-bg); font-weight: 600; }
.chipbtn { min-height: 36px; padding: 0 12px; border-radius: 18px; font-size: 13px; cursor: pointer; border: 1px solid #B9C4CC; background: #fff; color: var(--ink); }
.chipbtn.on { border-color: var(--slate); background: var(--slate); color: #fff; font-weight: 600; }

.chip { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip.green { background: var(--green-bg); color: var(--green); }
.chip.amber, .chip.soon { background: var(--amber-bg); color: var(--amber); }
.chip.red, .chip.passed { background: var(--red-bg); color: var(--red); }
.chip.grey { background: var(--grey-bg); color: var(--ink2); }
.chip.blue { background: var(--blue-bg); color: var(--blue); }
.chip.later { background: transparent; color: var(--ink); padding-left: 0; font-weight: 400; font-size: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.inline .field { flex: 1 1 160px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select { height: 42px; border-radius: 8px; border: 1px solid #B9C4CC; padding: 0 12px; background: #fff; }
.field input.code { height: 48px; font-size: 22px; letter-spacing: 0.3em; }
.error { padding: 10px 12px; border-radius: 8px; background: var(--red-bg); color: var(--red); font-size: 14px; }
.ok { padding: 10px 12px; border-radius: 8px; background: var(--green-bg); color: var(--green); font-size: 14px; }
.warn { padding: 10px 12px; border-radius: 10px; background: #FBF7EF; border: 1px solid #E5D7BC; color: #5C4A26; font-size: 13px; line-height: 1.45; }
.hidden { display: none !important; }

.signin { padding: 48px 24px; display: flex; justify-content: center; }
.signin .card { width: 100%; max-width: 440px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.signin .qr { width: 200px; height: 200px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 8px; }
.signin .secret { font-family: monospace; font-size: 13px; word-break: break-all; }

.results:empty { display: none; }
.results { border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; }
.result { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line2); cursor: pointer; text-align: left; background: #fff; color: var(--ink); }
.result:last-child { border-bottom: 0; }
.result:hover { background: var(--bg); }
.result.on { background: var(--blue-bg); box-shadow: inset 3px 0 0 var(--slate); }

.filehead { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.filehead .name { font-family: Outfit, sans-serif; font-size: 22px; font-weight: 500; }
.filebody { display: flex; align-items: stretch; flex: 1 1 auto; }
.sidenav { flex: 0 0 240px; background: #fff; border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; min-height: calc(100vh - 140px); }
.sidenav .title { font-size: 11px; font-weight: 600; color: var(--muted); padding: 0 10px 8px; letter-spacing: 0.04em; }
.sidenav a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.sidenav a.on { background: var(--slate); color: #fff; font-weight: 600; }
.sidenav a .cnt { margin-left: auto; font-size: 12px; color: var(--muted); }
.sidenav a.on .cnt { color: #fff; }
.sidenav .later { font-size: 12px; color: var(--muted); padding: 12px 10px 0; line-height: 1.45; }
.main { flex: 1 1 560px; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 20px; }

.drop { border: 2px dashed #B9C4CC; border-radius: 12px; padding: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.drop.over { border-color: var(--slate); background: var(--blue-bg); }
.drop .text { flex: 1 1 300px; color: var(--ink2); line-height: 1.5; }
.progress { background: var(--bg); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bar { height: 8px; border-radius: 4px; background: var(--line); }
.bar > div { height: 8px; border-radius: 4px; background: var(--slate); width: 0; }
.checkrow { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid #B9C4CC; cursor: pointer; }
.checkrow input { width: 20px; height: 20px; margin: 2px 0 0; }

.clientcell { min-width: 180px; }
th .small { font-weight: 400; }

/* The i button: a short plain explanation with an example, on hover or keyboard focus (Chris, 28 Nov 2026). */
.labelrow { display: flex; align-items: center; gap: 6px; }
.info { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  color: var(--slate); cursor: help; flex: none; border-radius: 50%; }
.info:hover { color: var(--ink); }
.info:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.info-icon { display: block; }
.info .tip { display: none; position: absolute; left: 26px; top: -8px; z-index: 10; width: 340px; padding: 12px 14px;
  border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 400; font-style: normal;
  line-height: 1.5; box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.info:hover .tip, .info:focus .tip { display: block; }
