/* Poppins: the Viory Design System's typeface (self-hosted; Light = figures, Regular = text, Bold = headings and labels) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300-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: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700-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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  /* Viory Design System tokens */
  --viory-deep-blue: #170d9c; --viory-electric-blue: #0349ff; --viory-red-stream: #ee263e; --viory-black: #000; --viory-dark-grey: #191919;
  --blue-electric-hover: #0038d6; --blue-electric-press: #002dab; --blue-electric-08: rgba(3,73,255,.08); --blue-electric-16: rgba(3,73,255,.16);
  --font-viory: "Poppins", "Futura", "Century Gothic", "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* the names the pages already use, now carrying the brand */
  --bg: #f7f7f7; --card: #fff; --text: #000; --muted: #555; --line: #e4e4e4; --line-strong: #cfcfcf;
  --accent: var(--viory-electric-blue); --accent-text: #fff; --focus: var(--viory-electric-blue); --link: var(--viory-electric-blue);
  --err: var(--viory-red-stream); --err-bg: rgba(238,38,62,.10); --ok: var(--viory-electric-blue); --ok-bg: rgba(3,73,255,.10);
  --readonly: #f2f2f2; --kpi: var(--blue-electric-08);
  --radius-xs: 2px; --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --ease: cubic-bezier(.2, 0, .2, 1);
}
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; --bg: #000; --card: #191919; --text: #fff; --muted: rgba(255,255,255,.68); --line: rgba(255,255,255,.14); --line-strong: rgba(255,255,255,.28);
  --readonly: #262626; --kpi: rgba(3,73,255,.24); --focus: #6f95ff; --link: #6f95ff; --ok: #6f95ff; --ok-bg: rgba(111,149,255,.18); --err-bg: rgba(238,38,62,.22); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.5 var(--font-viory); }
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 80px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; margin-bottom: 16px; }
.head { border-top: 8px solid var(--accent); }
h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.25; }
h2 { margin: 0 0 14px; font-size: 19px; }
h3 { margin: 22px 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.muted { color: var(--muted); margin: 0 0 8px; } .small { font-size: 13px; }
.req { color: var(--err); }
.bullets { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }

.field { margin-bottom: 16px; } .field:last-child { margin-bottom: 0; }
.field.narrow { max-width: 260px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea, select { width: 100%; font: inherit; color: inherit; background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--focus); outline-offset: -1px; border-color: transparent; }
input[readonly] { background: var(--readonly); color: var(--muted); }
textarea { resize: vertical; min-height: 76px; }
.datebox { position: relative; }
.datebox input.date { padding-right: 46px; }
.datebox .cal { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 38px; border: 0; border-radius: 6px;
  background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.datebox .cal:hover, .datebox .cal:focus-visible { background: var(--readonly); color: var(--text); }
.datebox .cal svg { width: 20px; height: 20px; }
.datebox .picker { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
@media print { .datebox .cal { display: none; } .datebox input.date { padding-right: 12px; } }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.err { color: var(--err); font-size: 13px; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.invalid { border-color: var(--err) !important; }

.choices { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; cursor: pointer; font-weight: 400; margin: 0; }
.choice input { width: auto; margin-top: 4px; accent-color: var(--viory-electric-blue); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--kpi); }
.choice small { color: var(--muted); }

.item { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.item .num { font-weight: 700; color: var(--muted); font-size: 12.5px; margin-bottom: 8px; display: block; }
.item .q { font-weight: 600; margin-bottom: 8px; }
.item .field { margin-bottom: 10px; }
.item .field label { font-weight: 500; font-size: 13.5px; }

.weights { display: grid; grid-template-columns: 1fr 110px; gap: 10px 16px; align-items: center; }
.weights label { margin: 0; font-weight: 500; }
.total { margin-top: 14px; font-weight: 700; }
.total.bad { color: var(--err); } .total.good { color: var(--ok); }

.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--readonly); }
.calc td:last-child, .calc th:last-child { text-align: right; }

.skill h2 { display: flex; justify-content: space-between; gap: 12px; }
.skill .w { font-size: 13px; font-weight: 600; background: var(--kpi); border-radius: 999px; padding: 2px 10px; white-space: nowrap; align-self: flex-start; }
.skill .res { margin: 6px 0 14px; font-size: 13.5px; color: var(--muted); }
.scale-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.scale-pick label { margin: 0; font-weight: 500; font-size: 12.5px; text-align: center; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 4px; cursor: pointer; }
.scale-pick input { position: absolute; opacity: 0; width: 0; }
.scale-pick label b { display: block; font-size: 18px; }
.scale-pick label:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.scale-pick label:has(input:focus-visible) { outline: 2px solid var(--focus); }
@media (max-width: 560px) { .scale-pick { grid-template-columns: 1fr; } .scale-pick label { text-align: left; display: flex; gap: 8px; align-items: baseline; } }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.kpi { background: var(--kpi); border-radius: 10px; padding: 14px; text-align: center; }
.kpi span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
.kpi b { font-size: 32px; } .kpi small { display: block; color: var(--muted); }

.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: sticky; bottom: 8px; box-shadow: 0 4px 18px rgba(0,0,0,.12); }
.actions .err { flex-basis: 100%; margin: 0 0 4px; }
.btn { font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--card); color: var(--text);
  border-radius: 8px; padding: 10px 18px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn:hover { background: var(--readonly); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { filter: brightness(.95); }
.btn:disabled { opacity: .6; cursor: wait; }

.banner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--kpi);
  border: 1px solid var(--accent); border-radius: 10px; padding: 12px 14px; margin-top: 16px; }
.banner.bad { background: var(--err-bg); border-color: var(--err); }
.banner > span { flex: 1 1 260px; }
.banner .btn { padding: 6px 12px; font-size: 14px; }
.draftstat { margin-left: auto; font-size: 13px; color: var(--muted); }
.draftrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.draftrow .btn { padding: 6px 12px; font-size: 14px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 9px; border-radius: 999px; background: var(--kpi); white-space: nowrap; }
.tag.test { background: transparent; border: 1px dashed var(--muted); color: var(--muted); font-size: 11px; letter-spacing: .04em; }
@media print { .banner, .draftstat, #drafts { display: none !important; } }

#done { text-align: center; }
#done .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 16px 0; }
.ok { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 30px;
  line-height: 52px; margin: 0 auto 12px; }


[hidden] { display: none !important; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .card { padding: 18px; } h1 { font-size: 22px; } }

@media print {
  body { background: #fff; color: #000; }
  .actions, #done, .hint, #clear, .choices .choice:not(:has(input:checked)) { display: none !important; }
  .card, .item { break-inside: avoid; border-color: #bbb; }
  .wrap { max-width: none; padding: 0; }
  textarea { border: none; padding: 0; resize: none; overflow: visible; }
}

/* ═══════════ Navigation, links ═══════════ */
a { color: var(--link); }
.topnav { position: sticky; top: 0; z-index: 20; background: var(--card); border-bottom: 1px solid var(--line); }
.topnav .in { max-width: 1480px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 4px; height: 52px; }
.topnav .brand { font-weight: 700; margin-right: auto; display: flex; align-items: center; gap: 8px; }
.topnav .brand i { width: 10px; height: 22px; border-radius: 3px; background: var(--accent); display: inline-block; }
.topnav a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.topnav a:hover { background: var(--readonly); }
.topnav a[aria-current="page"] { background: var(--kpi); }
.topnav svg { width: 18px; height: 18px; flex: none; }
@media print { .topnav, #minibar { display: none !important; } }
@media (max-width: 700px) { .topnav a.desk-only { display: none; } }

/* ═══════════ Wide screens ═══════════ */
@media (min-width: 1200px) {
  .wrap { max-width: 1000px; }
  .wrap.wide { max-width: 1240px; }
  /* the form: goals, focus areas and skill cards stay one per line, full width */
  .formpage .weights { grid-template-columns: 1fr 110px 1fr 110px; }
  /* review detail: two columns, with the header / history across the full width */
  #detail { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  #detail > .card { margin: 0; }
  #detail > .head, #detail > .hist-card, #detail > .notice { grid-column: 1 / -1; }
}
@media (min-width: 1600px) {
  .wrap.wide { max-width: 1520px; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .metrics-grid .span2 { grid-column: span 2 !important; }
  .metrics-grid .span3 { grid-column: 1 / -1 !important; }
  /* 3 columns: dist | skills | goals, then dept (2 wide) | month, then managers across */
  .metrics-grid #c-goals { order: 3; } .metrics-grid #c-dept { order: 4; } .metrics-grid #c-month { order: 5; } .metrics-grid #c-mgr { order: 6; }
  .tiles { gap: 16px; }
}

/* ═══════════ Phones: a different layout, not just a narrower one ═══════════ */
#minibar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 72px; -webkit-text-size-adjust: 100%; }
  .wrap, .wrap.wide { padding: 12px 12px 24px; }
  .card { padding: 16px; border-radius: 10px; margin-bottom: 12px; }
  h1 { font-size: 20px; } h2 { font-size: 17px; }
  input, textarea, select { font-size: 16px; padding: 12px; }      /* 16px stops iOS zooming into fields */
  .btn { min-height: 44px; padding: 10px 16px; }
  .choice { padding: 14px; } .choice input { transform: scale(1.2); }

  /* bottom tab bar instead of a top bar */
  .topnav { position: fixed; top: auto; bottom: 0; left: 0; right: 0; border-top: 1px solid var(--line); border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .topnav .in { height: 56px; padding: 0; gap: 0; }
  .topnav .brand { display: none; }
  .topnav a { flex: 1; flex-direction: column; justify-content: center; gap: 2px; font-size: 11px; padding: 6px 2px; border-radius: 0; text-align: center; }
  .topnav svg { width: 22px; height: 22px; }

  /* sticky "who / what / score" strip so you never lose your place in a long form */
  #minibar.on { display: flex; position: sticky; top: 0; z-index: 15; margin: -12px -12px 12px; padding: 10px 12px; gap: 6px 12px; flex-wrap: wrap;
    background: var(--card); border-bottom: 1px solid var(--line); font-size: 13px; align-items: center; }
  #minibar b { font-size: 14px; } #minibar .sp { margin-left: auto; font-weight: 600; }
  #minibar .bad { color: var(--err); }

  /* action bar: full-width, sits above the tab bar */
  .actions { position: sticky; bottom: 64px; padding: 12px; gap: 8px; }
  .actions .btn.primary { flex: 1 1 100%; }
  .actions .btn:not(.primary) { flex: 1 1 40%; }
  .draftstat { flex-basis: 100%; margin: 0; }
  .banner .btn { flex: 1 1 40%; }
  .scale-pick { grid-template-columns: 1fr; } .scale-pick label { display: flex; gap: 10px; align-items: baseline; text-align: left; padding: 12px; }
  .scale-pick label b { font-size: 16px; min-width: 18px; }
  .weights { grid-template-columns: 1fr 96px; }

  /* tables become stacked cards */
  table.cardy, table.list, table.t { display: block; border: 0; }
  table.cardy thead, table.list thead, table.t thead { display: none; }
  table.cardy tbody, table.list tbody, table.t tbody { display: block; }
  table.cardy tr, table.list tr, table.t tr { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
  table.cardy td, table.list td, table.t td { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; border: 0; padding: 5px 0; text-align: right; }
  table.cardy td::before, table.list td::before, table.t td::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-align: left; flex: none; padding-top: 2px; }
  table.cardy td:first-child, table.list td:first-child, table.t td:first-child { display: block; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
  table.cardy td:first-child::before, table.list td:first-child::before, table.t td:first-child::before { content: none; }
  table.list td.num { text-align: right; }

  /* metrics & tracker */
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; } .tile { padding: 12px; } .tile b { font-size: 24px; }
  .hrow, .srow { grid-template-columns: 1fr 44px; gap: 4px 8px; margin-bottom: 12px; }
  .hrow .hl, .srow .hl { grid-column: 1 / -1; }
  .haxis { grid-template-columns: 1fr; } .haxis > span { display: none; }
  .mgr { grid-template-columns: 1fr 44px 1fr; }
  .filters { grid-template-columns: 1fr !important; } .filters.flex, .filters .field { min-width: 0 !important; }
}

/* long manager list scrolls inside its card instead of stretching the page */
#c-mgr .tablewrap { max-height: 520px; overflow: auto; }
@media (max-width: 700px) { #c-mgr .tablewrap { max-height: none; } }

/* long draft lists scroll inside their card */
#drafts-list { max-height: 360px; overflow: auto; }
@media (max-width: 700px) { #drafts-list { max-height: 240px; } }

/* ═══════════ "View as" bar (dev mode), who-am-I chip, access screen, release status ═══════════ */
.devbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 16px; background: #3a2f00; color: #ffe9a3; border-bottom: 2px solid var(--accent); font-size: 13px; }
.devbar .tag-dev { background: var(--accent); color: var(--accent-text); font-weight: 800; letter-spacing: .06em; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.devbar label { font-weight: 700; margin: 0; }
.devbar input { width: min(380px, 100%); padding: 6px 10px; font-size: 14px; border-radius: 6px; }
.devbar .quick { display: inline-flex; gap: 4px; }
.devbar .quick button { font: inherit; font-size: 12px; font-weight: 700; border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 99px; padding: 3px 10px; cursor: pointer; }
.devbar .quick button:hover { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.devbar .now { margin-left: auto; } .devbar .hint { flex-basis: 100%; opacity: .75; font-size: 12px; margin: 0; }
.topnav .who { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; }
.topnav .who small { color: var(--muted); }
.access { text-align: center; padding: 40px 24px; margin-top: 40px; }
.stt { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 9px; border-radius: 999px; white-space: nowrap; background: var(--readonly); color: var(--muted); }
.stt.released { background: var(--kpi); color: var(--text); }
.stt.approved { background: var(--ok-bg); color: var(--ok); }
.chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); margin-right: 4px; }
@media (max-width: 700px) {
  .devbar { padding: 8px 12px; } .devbar .hint { display: none; } .devbar .now { margin-left: 0; flex-basis: 100%; }
  .topnav .who { display: none; }
}
@media print { .devbar { display: none !important; } }

label.check { display: flex; gap: 8px; align-items: center; font-weight: 500; margin-top: 12px; }
label.check input { width: auto; }

/* dev bar can be hidden for presenting; this pill brings it back */
.devbar .hide { font: inherit; font-size: 12px; font-weight: 700; border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 99px; padding: 3px 10px; cursor: pointer; margin-left: 4px; }
.devpill { position: fixed; left: 12px; bottom: 12px; z-index: 40; font: 700 11px system-ui, sans-serif; letter-spacing: .05em; background: var(--accent); color: var(--accent-text); border: 0; border-radius: 99px; padding: 6px 12px; cursor: pointer; opacity: .85; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.devpill:hover { opacity: 1; }
@media (max-width: 700px) { .devpill { bottom: 70px; } }
@media print { .devpill { display: none !important; } }

/* read status of approved reviews, and the environment label for a test deployment */
.stt.read { background: var(--ok-bg); color: var(--ok); }
.stt.need { background: var(--viory-electric-blue); color: #fff; }
.stt.unread { background: var(--readonly); color: var(--muted); border: 1px dashed var(--muted); }
.envlabel { margin-left: 10px; font: 800 11px system-ui, sans-serif; letter-spacing: .08em; padding: 3px 9px; border-radius: 4px; background: #d92d20; color: #fff; white-space: nowrap; }

/* in-page message / confirmation box (replaces the browser's own pop-ups) */
dialog.msgbox { border: 1px solid var(--line); border-radius: 12px; padding: 22px; width: min(440px, 92vw); background: var(--card); color: var(--text); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
dialog.msgbox::backdrop { background: rgba(0,0,0,.55); }
dialog.msgbox h2 { margin: 0 0 8px; font-size: 18px; }
dialog.msgbox p { margin: 0; color: var(--muted); white-space: pre-line; }
dialog.msgbox .row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }

.devbar .fb { font: inherit; font-size: 12px; font-weight: 700; border: 1px solid currentColor; background: var(--accent); color: var(--accent-text); border-color: var(--accent); border-radius: 99px; padding: 3px 12px; cursor: pointer; margin-left: 4px; }
.devbar .fb:hover { opacity: .85; }
dialog.fbbox { width: min(560px, 94vw); max-height: 92vh; overflow: auto; }
dialog.fbbox p { margin-bottom: 12px; }
dialog.fbbox .field { margin-bottom: 12px; }
dialog.fbbox #fbprev { display: block; max-width: 100%; max-height: 180px; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; }
dialog.fbbox .fberr { color: var(--err); min-height: 1.2em; margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════════════════════════════
   Viory brand layer (from the Viory Design System). Scheme 3: 70 % white / 20 % Electric Blue / 10 % black.
   One typeface, three weights (Light = figures, Regular = headlines and text, Bold = in-text headings and labels),
   hairlines instead of boxes, no shadows except on things that float, 2/4/8/12 px corners, no gradients.
   Red Stream is kept for errors and destructive actions only.
   ═══════════════════════════════════════════════════════════════════════════════════════════════ */
body { font-family: var(--font-viory); font-size: 15px; line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased; }
::selection { background: var(--viory-electric-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a.btn:hover, .topnav a:hover, .go:hover { text-decoration: none; }

/* headlines are Regular, never Bold; in-text headings are Bold; labels are the uppercase tier */
h1 { font-weight: 400; font-size: 30px; line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-weight: 700; font-size: 17px; line-height: 1.28; letter-spacing: 0; }
h3 { font-weight: 700; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
strong, b { font-weight: 700; }
.kpi b, .tile b, .focus .big, .stat b { font-weight: 300; letter-spacing: -0.01em; }      /* statistical figures are Light */
.kpi span, .tile span, .focus .k { font-weight: 700; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }

/* surfaces */
.card { border-radius: var(--radius-md); box-shadow: none; }
.head { border-top: 4px solid var(--viory-deep-blue); }
:root[data-theme="dark"] .head { border-top-color: var(--viory-electric-blue); }
.item, .draftrow, .choice, .banner, .cal .row, details.q { border-radius: var(--radius-sm); }

/* controls: 4 px corners, Electric Blue focus ring */
label { font-weight: 700; font-size: 13px; }
input, textarea, select { font-family: inherit; border-radius: var(--radius-sm); border-color: var(--line); min-height: 40px; }
/* Fixed skill weightings (read-only for managers): plain text, no dropdown arrow */
.weights select:disabled { -webkit-appearance: none; appearance: none; background-image: none; opacity: 1; color: inherit; cursor: default; text-align: center; text-align-last: center; }
textarea { min-height: 76px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--viory-electric-blue); box-shadow: 0 0 0 3px var(--blue-electric-16); }
input[type="checkbox"], input[type="radio"] { min-height: 0; accent-color: var(--viory-electric-blue); }
.btn { font-weight: 400; font-size: 14px; letter-spacing: .01em; border-radius: var(--radius-sm); min-height: 40px; padding: 9px 18px;
  border-color: var(--line-strong); background: transparent; color: var(--text);
  transition: background-color 140ms var(--ease), color 140ms var(--ease), border-color 140ms var(--ease); }
.btn:hover { background: var(--readonly); }
.btn:active { background: var(--line); }
.btn.primary { background: var(--viory-electric-blue); border-color: var(--viory-electric-blue); color: #fff; }
.btn.primary:hover { background: var(--blue-electric-hover); border-color: var(--blue-electric-hover); filter: none; }
.btn.primary:active { background: var(--blue-electric-press); border-color: var(--blue-electric-press); }
.btn:disabled { opacity: .55; }
.btn.danger { color: var(--viory-red-stream); border-color: var(--viory-red-stream); }
.btn.danger:hover { background: var(--err-bg); }

/* scale picker, choices, skill weights */
.scale-pick label { border-radius: var(--radius-sm); }
.scale-pick label b { font-weight: 300; }
.choice:has(input:checked) { border-color: var(--viory-electric-blue); background: var(--kpi); }
.skill .w { border-radius: var(--radius-xs); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* tables: hairlines, label-tier headers */
table { font-size: 14px; }
th, td { border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; }
th { background: transparent; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.tablewrap { border-radius: var(--radius-sm); }
table tbody tr:last-child td { border-bottom: 0; }

/* status flags (the Viory badge: 2 px corners, uppercase Bold) */
.stt, .st, .tag, .chip { border-radius: var(--radius-xs); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; }
.stt.released { background: var(--readonly); color: var(--text); }
.stt.approved, .stt.read, .st.ok { background: var(--ok-bg); color: var(--ok); }
.stt.unread { background: transparent; border: 1px dashed var(--muted); color: var(--muted); }
.st.late { background: var(--err-bg); color: var(--err); }
.st.now, .go .n { background: var(--viory-electric-blue); color: #fff; }
.tag { background: var(--readonly); color: var(--text); }
.tag.test { background: transparent; border: 1px dashed var(--muted); color: var(--muted); }

/* tabs: Regular, the active one Bold with a 2 px Electric Blue rule */
.tabs { gap: 28px; border-bottom: 1px solid var(--line); }
.tabs button { font-family: inherit; font-weight: 400; font-size: 15px; padding: 8px 0 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected=true] { font-weight: 700; color: var(--text); border-bottom-color: var(--viory-electric-blue); }
.tabs button:hover { color: var(--text); }

/* top navigation: white bar, wordmark, Regular links, the active one Bold with a rule */
.topnav { background: var(--card); border-bottom: 1px solid var(--line); }
.topnav .in { height: 64px; gap: 8px; padding: 0 24px; }
.topnav .brand { gap: 12px; margin-right: auto; font-weight: 400; }
.topnav .brand picture, .topnav .brand img { display: block; }
.topnav .brand img { height: 22px; width: auto; }
.topnav .brand .app { font-size: 14px; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); line-height: 22px; }
.topnav a { border-radius: 0; font-weight: 400; color: var(--muted); padding: 22px 12px 20px; border-bottom: 2px solid transparent; }
.topnav a:hover { background: transparent; color: var(--text); }
.topnav a[aria-current="page"] { background: transparent; color: var(--text); font-weight: 700; border-bottom-color: var(--viory-electric-blue); }
.topnav .who b { font-weight: 700; }
.envlabel { margin-left: 4px; font: 700 10.5px/1 var(--font-viory); letter-spacing: .09em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-xs); background: var(--viory-black); color: #fff; }
:root[data-theme="dark"] .envlabel { background: #fff; color: #000; }
@media (max-width: 700px) {
  .topnav a { padding: 6px 2px; border-bottom: 0; color: var(--muted); }
  .topnav a[aria-current="page"] { color: var(--viory-electric-blue); font-weight: 700; }
  .topnav svg { width: 22px; height: 22px; }
}

/* the testing bar (Scheme 2: black, white text) */
.devbar { background: var(--viory-black); color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); }
.devbar .tag-dev { background: var(--viory-electric-blue); color: #fff; border-radius: var(--radius-xs); font-weight: 700; letter-spacing: .09em; font-size: 10.5px; }
.devbar input { border-radius: var(--radius-sm); background: #191919; color: #fff; border: 1px solid rgba(255,255,255,.28); min-height: 32px; }
.devbar input:focus { border-color: var(--viory-electric-blue); }
.devbar .quick button, .devbar .hide { border-color: rgba(255,255,255,.5); color: #fff; font-weight: 400; }
.devbar .quick button:hover { background: var(--viory-electric-blue); border-color: var(--viory-electric-blue); color: #fff; }
.devbar .fb { background: var(--viory-electric-blue); border-color: var(--viory-electric-blue); color: #fff; font-weight: 400; }
.devbar .fb:hover { background: var(--blue-electric-hover); opacity: 1; }
.devpill { background: var(--viory-electric-blue); color: #fff; font-family: var(--font-viory); border-radius: var(--radius-xs); }

/* dialogs float, so they may carry a shadow */
dialog, dialog.msgbox { border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.25); font-family: var(--font-viory); }
dialog.msgbox h2 { font-weight: 700; }

/* progress bars and the "done" mark */
.bar i, .bar2 .bar i, .ht i { background: var(--viory-electric-blue); }
.ok { background: var(--viory-electric-blue); }
.total.good { color: var(--viory-electric-blue); }
:root[data-theme="dark"] .total.good { color: var(--ok); }
.access { border-radius: var(--radius-md); }

/* print keeps its own look */
@media print { .devbar { display: none !important; } }

/* Poppins is wider than the old system font: keep the top bar on one line */
.topnav a, .topnav .brand .app, .topnav .who { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 701px) { .topnav .brand .app, .topnav .who { display: none; } .topnav .in { padding: 0 16px; } }
@media (max-width: 900px) and (min-width: 701px) { .topnav a { padding-left: 8px; padding-right: 8px; font-size: 13px; gap: 6px; } .topnav svg { width: 16px; height: 16px; } }

/* tab bar basics (shared by Admin, Reviews ...) */
.tabs { display: flex; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; cursor: pointer; color: var(--muted); }

/* the two wordmarks (the white one in dark mode) */
.topnav .brand .logo-dark { display: none; }
:root[data-theme="dark"] .topnav .brand .logo-dark { display: block; }
:root[data-theme="dark"] .topnav .brand .logo-light { display: none; }
@media (max-width: 700px) { .topnav .in { height: 56px; padding: 0; gap: 0; } .topnav a { flex: 1 1 0; min-width: 0; padding: 6px 1px; font-size: 10.5px; } }

/* ═══ Testing bar: Deep Blue with white text and white controls. It stands out from the page in light AND in dark mode, and every control has strong contrast. ═══ */
.devbar { background: var(--viory-deep-blue); color: #fff; border-bottom: 0; padding: 10px 16px; gap: 10px 14px; font-size: 14px; line-height: 1.3; }
.devbar label { font-size: 14px; font-weight: 700; color: #fff; }
.devbar .tag-dev { background: #fff; color: var(--viory-deep-blue); font-size: 11px; font-weight: 700; letter-spacing: .09em; padding: 4px 9px; border-radius: var(--radius-xs); }
.devbar input { background: #fff; color: #000; border: 1px solid #fff; border-radius: var(--radius-sm); min-height: 36px; padding: 6px 10px; font-size: 14px; }
.devbar input::placeholder { color: #555; opacity: 1; }
.devbar input:focus { outline: 2px solid #fff; outline-offset: 2px; box-shadow: none; border-color: #fff; }
.devbar .quick button, .devbar .hide, .devbar .themeopts button { font: inherit; font-size: 13px; font-weight: 400; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius-sm); padding: 6px 12px; min-height: 32px; cursor: pointer; }
.devbar .quick button:hover, .devbar .hide:hover, .devbar .themeopts button:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.devbar .themeopts { display: inline-flex; align-items: center; }
.devbar .themeopts .lbl { font-weight: 700; margin-right: 8px; }
.devbar .themeopts button { border-radius: 0; margin-left: -1px; padding: 6px 11px; }
.devbar .themeopts .lbl + button { border-radius: var(--radius-sm) 0 0 var(--radius-sm); margin-left: 0; }
.devbar .themeopts button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.devbar .themeopts button[aria-pressed="true"] { background: #fff; color: var(--viory-deep-blue); border-color: #fff; font-weight: 700; position: relative; z-index: 1; }
.devbar .fb { background: #fff; color: #000; border: 1px solid #fff; font-weight: 700; font-size: 13px; padding: 6px 14px; min-height: 32px; border-radius: var(--radius-sm); }
.devbar .fb:hover { background: var(--readonly); opacity: 1; }
.devbar .now { color: #fff; font-size: 13.5px; }
.devbar .hint { color: rgba(255,255,255,.88); opacity: 1; font-size: 12.5px; }
.devbar :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.devpill { background: var(--viory-deep-blue); color: #fff; border: 1px solid rgba(255,255,255,.7); font-size: 12px; padding: 8px 14px; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
:root[data-theme="dark"] .devbar { border-bottom: 1px solid rgba(255,255,255,.22); }
@media (max-width: 700px) { .devbar .themeopts { flex-basis: 100%; } }

/* in-page links (e.g. "How it works") glide to their section, and stop below the sticky top bar; people who prefer less motion get an instant jump */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
@media (max-width: 700px) { [id] { scroll-margin-top: 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* the wordmark always leads Home */
.topnav a.brandlink { display: block; padding: 0; border: 0; line-height: 0; background: transparent; }
.topnav a.brandlink:hover { background: transparent; }
.topnav a.brandlink:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

/* draft rows: the buttons stay on the right; only the text (name + tags) wraps to a new line when it is long */
.draftrow { flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; border-radius: var(--radius-sm); }
.draftrow .dtext { flex: 1 1 auto; min-width: 0; line-height: 1.9; overflow-wrap: anywhere; }
.draftrow .dtext .info { vertical-align: middle; margin-right: 6px; }
.draftrow .dtext .tag { margin-left: 4px; vertical-align: middle; }
.draftrow .dbtns { flex: none; display: flex; gap: 8px; margin-left: auto; }
.draftrow .btn { flex: none; white-space: nowrap; }
@media (max-width: 700px) { .draftrow { padding: 10px; gap: 8px; } .draftrow .dbtns { gap: 6px; } .draftrow .btn { padding: 6px 10px; min-height: 40px; } }

/* the (i) that reveals details, and its floating tooltip */
.info { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: help; }
.info svg { width: 18px; height: 18px; }
.info:hover, .info:focus-visible { color: var(--viory-electric-blue); background: var(--kpi); }
.tip { position: fixed; z-index: 90; max-width: min(280px, 90vw); padding: 8px 10px; border-radius: var(--radius-sm); background: var(--viory-black); color: #fff;
  font-size: 13px; line-height: 1.4; white-space: pre-line; pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
:root[data-theme="dark"] .tip { background: #fff; color: #000; }
@media print { .tip, .info { display: none !important; } }

/* ═══ the assistant: a round button bottom-right and a small chat window ═══ */
.aibtn { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--viory-electric-blue); color: #fff; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: background-color 140ms var(--ease); }
.aibtn svg { width: 26px; height: 26px; }
.aibtn:hover { background: var(--blue-electric-hover); } .aibtn:active { background: var(--blue-electric-press); } .aibtn.on { background: var(--viory-deep-blue); }
.aibtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
body:has(.actions) .aibtn:not(.on) { bottom: 84px; }
.aipanel { position: fixed; right: 20px; bottom: 88px; z-index: 60; width: min(390px, calc(100vw - 24px)); height: min(580px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 40px rgba(0,0,0,.28); overflow: hidden; font-family: var(--font-viory); }
.aipanel[hidden] { display: none; }
.aihead { display: flex; align-items: center; gap: 4px; padding: 12px 8px 12px 16px; background: var(--viory-deep-blue); color: #fff; }
.aihead > div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; } .aihead b { font-size: 15px; } .aihead small { font-size: 12px; opacity: .85; }
.aiicon { width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.aiicon:hover { background: rgba(255,255,255,.16); } .aiicon svg { width: 18px; height: 18px; } .aiicon:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.aimsgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.aimsg { max-width: 88%; padding: 9px 12px; border-radius: var(--radius-md); font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.aimsg.bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line); }
.aimsg.me { align-self: flex-end; background: var(--viory-electric-blue); color: #fff; }
.aimsg.wait { color: var(--muted); font-style: italic; } .aimsg.blocked { border-left: 3px solid var(--muted); }
.aiideas { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.aiidea { font: inherit; font-size: 13px; text-align: left; padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
.aiidea:hover { background: var(--readonly); border-color: var(--viory-electric-blue); }
.aictx { display: flex; gap: 8px; align-items: flex-start; padding: 8px 14px; margin: 0; font-size: 12.5px; font-weight: 400; background: var(--kpi); border-top: 1px solid var(--line); }
.aictx input { width: auto; min-height: 0; margin-top: 2px; }
.aiform { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--card); align-items: flex-end; }
.aiform textarea { flex: 1; min-height: 44px; max-height: 120px; resize: none; padding: 9px 10px; font-size: 14px; }
.aisend { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-sm); background: var(--viory-electric-blue); color: #fff; cursor: pointer; display: grid; place-items: center; }
.aisend svg { width: 20px; height: 20px; } .aisend:hover { background: var(--blue-electric-hover); } .aisend:disabled { opacity: .5; cursor: wait; }
.ainote { padding: 7px 14px 9px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--card); line-height: 1.35; }
@media (max-width: 700px) {
  .aibtn { bottom: 72px; right: 14px; width: 52px; height: 52px; }
  .aipanel { right: 8px; left: 8px; width: auto; bottom: 132px; height: min(70vh, calc(100vh - 190px)); }
  body:has(.actions) .aibtn:not(.on) { bottom: 140px; }
}
@media print { .aibtn, .aipanel { display: none !important; } }

.yrnote { font-weight: 400; color: var(--muted); }

/* sortable column headers (reviews.js and sortable.js) */
th.sortable { padding: 0; } th.sortable button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 10px; cursor: pointer; font-weight: 700; text-transform: inherit; letter-spacing: inherit; font-size: inherit; color: inherit; }
th.sortable.r button, th.r.sortable button { justify-content: flex-end; }
th.sortable button:hover { background: var(--line); } th.sortable button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.arrow { font-size: 11px; opacity: .35; } th[aria-sort] .arrow { opacity: 1; color: var(--text); }

.draftsort { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; color: var(--muted); } .draftsort select { width: auto; }
.sortbar { display: none; }
@media (max-width: 700px) { .sortbar { display: block; margin: 0 0 10px; } .sortbar select { width: 100%; } }

/* the overall rating: the total score on the same 1-5 scale as the skills */
.kpi .rlabel { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--viory-electric-blue); }
:root[data-theme="dark"] .kpi .rlabel { color: var(--link); }
.rscale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.rscale > div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 4px; text-align: center; color: var(--muted); background: transparent; }
.rscale b { display: block; font-size: 20px; font-weight: 300; line-height: 1.2; color: var(--text); }
.rscale span { display: block; font-size: 11px; line-height: 1.25; }
.rscale > div.on { background: var(--viory-electric-blue); border-color: var(--viory-electric-blue); color: #fff; }
.rscale > div.on b { color: #fff; font-weight: 700; }
@media (max-width: 560px) { .rscale { gap: 4px; } .rscale > div { padding: 6px 2px; } .rscale span { font-size: 9.5px; } }
@media print { .rscale > div.on { background: #ddd; color: #000; border-color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; } .rscale > div.on b { color: #000; } }

/* notification bell (top bar, left of the person's name) and its list */
.topnav .bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 8px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; flex: none; }
.topnav .bell:hover, .topnav .bell[aria-expanded="true"] { background: var(--readonly); color: var(--text); }
.topnav .bell:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.topnav .bell svg { width: 20px; height: 20px; }
.bellbadge { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box; border-radius: 99px; background: var(--viory-red-stream); color: #fff; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }
.bellbadge[hidden] { display: none; }
.bellpanel { position: fixed; z-index: 60; background: var(--card); color: var(--text); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); max-height: min(70vh, 480px); overflow: auto; }
.bellpanel h2 { margin: 0; padding: 12px 16px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--line); }
.bellpanel .bellitems a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.4; }
.bellpanel .bellitems a:last-child { border-bottom: 0; }
.bellpanel .bellitems a:hover, .bellpanel .bellitems a:focus-visible { background: var(--readonly); }
.bellpanel .bellitems b { background: var(--accent); color: var(--accent-text); border-radius: 99px; padding: 0 8px; margin-right: 2px; }
.bellpanel .bellempty { margin: 0; padding: 18px 16px; color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .topnav .bell { flex: 1 1 0; width: auto; height: 56px; margin: 0; border-radius: 0; } .bellbadge { top: 6px; right: calc(50% - 20px); } }
@media print { .bell, .bellpanel { display: none !important; } }
.stt.returned { background: var(--err-bg); color: var(--err); }
.retmsg b { color: var(--err); } .retmsg .btn { margin-left: 10px; vertical-align: middle; }
#retnote { color: var(--err); font-weight: 700; }
/* "Status: [badge]" on a review: the badge is centred on the heading text */
.notice.flow > h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
