/* MY_chatter design: strictly the Toster brand (toster_site/src/styles/global.css), dark variant.
   Chosen by Jos 2026-10-09 (mockup A). Every page uses ONLY these tokens and components: no loose
   colours per page. Accent = teal from the logo spectrum; green/orange only for feedback marks.
   Fonts self-hosted (copied from toster_site, no Google request). */
@font-face { font-family: "Bebas Neue"; src: url(bebas-neue-latin.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; font-weight: 400 700; src: url(archivo-latin.woff2) format("woff2"); font-display: swap; }

:root {
  --ink: #0a0a0b;     /* page background, near-black */
  --coal: #141417;    /* raised panels, the 3D studio background */
  --steel: #1f1f24;   /* borders, hairlines */
  --steel-2: #2c2c33; /* borders on hover / inputs */
  --bone: #ece8e1;    /* primary text, warm off-white */
  --ash: #8c877d;     /* muted text */
  --teal: #00d3a7;    /* the one accent: main buttons, active tab, focus */
  --green: #7bd938;   /* feedback: goed */
  --orange: #ff7a00;  /* feedback: kan beter */
  --red: #ff3b6b;     /* errors, delete */
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  color-scheme: dark;
}

/* ---- base ---- */
html, body { margin: 0; background: var(--ink); color: var(--bone); font: 16px/1.45 var(--body);
             -webkit-font-smoothing: antialiased; }
a { color: var(--bone); }
a:hover { color: var(--teal); }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: .95; }
h1 { font-size: 40px; margin: 22px 0 6px; }
h2 { font-size: 26px; margin: 0 0 10px; }
h3 { font: 600 11px var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--ash); margin: 18px 0 8px; }
::selection { background: var(--bone); color: var(--ink); }

/* ---- the Toster logo block ---- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); }
.brand i { width: 40px; height: 40px; background: url(logo.png) center / contain no-repeat; flex: none; }
.brand b { display: block; font: 400 26px/1 var(--display); letter-spacing: .04em; }
.brand small { display: block; margin-top: 1px; font: 500 9px/1 var(--body); letter-spacing: .34em; color: var(--ash); }
/* the small Chatter logo, on the right of the Toster logo's line (placed just before .brand in the page) */
.chatter-mark { float: right; height: 30px; margin-top: 5px; }

/* ---- small uppercase label (kicker) ---- */
.kicker { font: 600 10px var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--teal); }
.muted, .small { color: var(--ash); font-size: 13px; }

/* ---- buttons: square, uppercase, spaced; primary = teal ---- */
button, .btn { font: 600 11px var(--body); letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
               padding: 10px 16px; border-radius: 0; border: 1px solid var(--steel-2); background: transparent; color: var(--bone); }
button:hover, .btn:hover { border-color: var(--ash); }
button.primary, .btn.primary { background: var(--teal); border-color: var(--teal); color: var(--ink); }
button.primary:hover { filter: brightness(1.08); }
button.danger { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, transparent); }
button:disabled { opacity: .45; cursor: default; }

/* ---- fields ---- */
input, select, textarea { font: 15px var(--body); color: var(--bone); background: var(--ink); border: 1px solid var(--steel-2);
                          border-radius: 0; padding: 9px 10px; box-sizing: border-box; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); }
input::placeholder, textarea::placeholder { color: var(--ash); }
input[type=checkbox], input[type=range] { accent-color: var(--teal); }

/* ---- cards: coal, steel hairline, teal rail when they matter ---- */
.card { background: var(--coal); border: 1px solid var(--steel); padding: 18px; margin-top: 14px; }
.card.rail { border-left: 3px solid var(--teal); }

/* ---- tabs: muted labels, the active one bone with a teal underline ---- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tabs button { border: 0; border-bottom: 2px solid transparent; color: var(--ash); padding: 6px 10px; }
.tabs button.on { color: var(--bone); border-bottom-color: var(--teal); }

/* ---- feedback marks ---- */
.mark { display: inline-block; min-width: 84px; padding: 2px 6px; border: 1px solid currentColor; text-align: center;
        font: 700 10px var(--body); letter-spacing: .12em; text-transform: uppercase; }
.mark.ok { color: var(--green); } .mark.half { color: var(--orange); } .mark.none { color: var(--ash); }

/* ---- tables ---- */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--steel); vertical-align: middle; }
th { font: 600 10px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- messages ---- */
.msg { min-height: 1.3em; margin-top: 8px; font-size: 14px; color: var(--ash); }
.msg.err, .err { color: var(--red); }
