/* Robworks IT console. One column for Windows Magnifier: 22px text, 52px targets,
   a bright focus ring, words carry meaning (colour only backs them up).
   Brand: generalit branding/ (navy #0B3A5E gear, ROBWORKS IT wordmark with IT in
   blue #1D7FC1, Segoe UI). Link and button shades are adjusted from the brand to
   hold 7:1: blue text is #0A5288 on light and #8CC8F5 on dark. */

:root {
  --rw-navy: #0B3A5E;
  --rw-blue: #1D7FC1;
  --rw-ink: #0D1B2A;
  --rw-page: #F2F5F9;
  --rw-panel: #FFFFFF;
  --rw-rule: #A7B4C4;
  --rw-muted: #3F4F63;
  --rw-link: #0A5288;
  --rw-accent: #1D7FC1;
  --rw-online: #1E6B3A;
  --rw-alert: #9A1A12;
  --rw-brand: #0B3A5E;
  --rw-brand-hover: #082C48;
  --rw-wordmark: #0B3A5E;
  --rw-wordmark-it: #1D7FC1;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --rw-ink: #EEF3F8;
    --rw-page: #0A1625;
    --rw-panel: #13233A;
    --rw-rule: #3E5675;
    --rw-muted: #C3D0DE;
    --rw-link: #8CC8F5;
    --rw-accent: #4DB0F5;
    --rw-online: #6FDC9B;
    --rw-alert: #FF9B91;
    --rw-brand: #12558C;
    --rw-brand-hover: #0B3A5E;
    --rw-wordmark: #EEF3F8;
    --rw-wordmark-it: #4DB0F5;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --rw-ink: #EEF3F8;
  --rw-page: #0A1625;
  --rw-panel: #13233A;
  --rw-rule: #3E5675;
  --rw-muted: #C3D0DE;
  --rw-link: #8CC8F5;
  --rw-accent: #4DB0F5;
  --rw-online: #6FDC9B;
  --rw-alert: #FF9B91;
  --rw-brand: #12558C;
  --rw-brand-hover: #0B3A5E;
  --rw-wordmark: #EEF3F8;
  --rw-wordmark-it: #4DB0F5;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--rw-page); color: var(--rw-ink);
  font: 400 22px/1.5 "Segoe UI", Arial, sans-serif; }
body::before { content: ""; display: block; height: 6px; background: var(--rw-blue); }
header, main, footer { max-width: 40ch; margin: 0 auto; padding: 16px; }
main { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: "Segoe UI", Arial, sans-serif; }
h1 { font-size: 30px; margin: 0 0 12px; }
h2 { font-size: 26px; font-weight: 700; margin: 16px 0 8px; }
h3 { font-size: 24px; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.brand { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-name { font: 900 28px/1.1 "Segoe UI Black", "Arial Black", "Segoe UI", Arial, sans-serif;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--rw-wordmark); }
.brand-name .it { color: var(--rw-wordmark-it); }
.brand-note { font: 600 22px/1.2 "Segoe UI", Arial, sans-serif; color: var(--rw-muted); }
p, li, dt, dd, label, button, a, input { font-size: 22px; }
label { display: block; font-weight: 700; }
input { width: 100%; min-height: 52px; padding: 8px 12px; border: 2px solid var(--rw-ink); border-radius: 6px;
  background: var(--rw-panel); color: var(--rw-ink); font-family: inherit; }
button, a { min-height: 52px; padding: 8px 16px; border: 2px solid var(--rw-ink); border-radius: 6px;
  background: var(--rw-panel); color: var(--rw-link); font-weight: 700; text-decoration: none; font-family: inherit;
  display: inline-flex; align-items: center; cursor: pointer; }
button[disabled] { color: var(--rw-muted); border-style: dashed; cursor: not-allowed; }
:focus-visible { outline: 4px solid var(--rw-accent); outline-offset: 3px; }
.client { display: flex; flex-direction: column; align-items: flex-start; width: 100%; margin: 12px 0 0;
  color: var(--rw-ink); text-align: left; }
.client-name { font-size: 24px; overflow-wrap: anywhere; }
.client-line { font-weight: 400; color: var(--rw-muted); }
.pc { background: var(--rw-panel); border: 2px solid var(--rw-rule); border-left-width: 12px;
  border-radius: 6px; padding: 12px 16px; margin: 12px 0; }
.pc.attention, .pc.failing { border-left-color: var(--rw-alert); }
.pc.ok { border-left-color: var(--rw-online); }
.pc.offline { border-left-style: dashed; }
.status { font-weight: 700; margin: 4px 0; }
.health { margin: 4px 0; color: var(--rw-muted); }
.problems { margin: 4px 0; padding-left: 1.2em; }
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.actions a, .actions button { width: 100%; justify-content: center; }
.actions a { background: var(--rw-brand); border-color: var(--rw-brand); color: #FFFFFF; }
.actions a:hover { background: var(--rw-brand-hover); }
.reason { font-size: 20px; color: var(--rw-muted); margin: 0; }
.details { margin: 12px 0 0; }
.details dt { font-weight: 700; }
.details dd { margin: 0 0 8px; overflow-wrap: anywhere; }
.back { margin-bottom: 8px; }
.notice { font-weight: 700; color: var(--rw-alert); }
footer { display: flex; flex-wrap: wrap; gap: 12px; border-top: 2px solid var(--rw-rule); margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.pc .device { margin: 0 0 4px; font-weight: 600; }
.setname { display: grid; gap: 8px; margin-top: 12px; }
.setname input { font: inherit; min-height: 48px; padding: 8px 12px; border: 2px solid currentColor; border-radius: 6px; background: transparent; color: inherit; width: 100%; box-sizing: border-box; }
.setname .note { margin: 0; font-weight: 600; }
