/* Zajednički vizualni elementi BIOMAX aplikacija, prema BIOMAX Semaforu. */
:root {
  color-scheme: light;
  font-family: "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
  --ink: #172139;
  --muted: #56647a;
  --fine: #dbe1eb;
  --page: #f6f8fb;
  --blue: #264acf;
  --radius: 16px;
  --focus: #4775fa;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.45; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.mast { background: white; border-bottom: 1px solid var(--fine); }
.mast-inner { height: 72px; display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 3rem); }
.brand-logo { width: 9rem; height: auto; display: block; flex: none; }
.main-nav { display: flex; align-self: stretch; gap: clamp(.75rem, 2vw, 2rem); }
.main-nav a { display: inline-flex; align-items: center; padding: 2px .2rem 0; border-bottom: 3px solid transparent; color: var(--muted); text-decoration: none; font-weight: 620; font-size: .92rem; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--blue); }
.main-nav a[aria-current] { border-color: var(--blue); }
.primary { background: var(--blue); color: white; border: 1px solid var(--blue); border-radius: 8px; padding: .58rem 1.35rem; font-size: .92rem; font-weight: 640; }
.primary:hover { background: #1d39ad; }
.tone-open { --accent: #9c5308; --wash: #fff0d8; --line: #f1bf74; --glyph: #b65e05; }
.tone-proof { --accent: #46526a; --wash: #edf1f6; --line: #afbbcf; --glyph: #526179; }
.tone-done { --accent: #146854; --wash: #dff4eb; --line: #86cbb0; --glyph: #218164; }
.tone-error { --accent: #97342a; --wash: #fff0ec; --line: #e49e8f; --glyph: #a23b2f; }
.status { display: inline-flex; align-items: center; padding: .19rem .5rem; background: var(--wash, #edf1f6); color: var(--accent, #46526a); border-radius: 6px; font-weight: 640; }
.stage-card { position: relative; isolation: isolate; overflow: hidden; background: white; color: var(--ink); border: 1px solid var(--fine); border-radius: var(--radius); text-align: left; }
.stage-card::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--line); }
.stage-card:hover, .stage-card[aria-pressed=true] { background: color-mix(in srgb, var(--wash) 44%, white); border-color: var(--line); }
.stage-card[aria-pressed=true] { outline: 2px solid var(--glyph); outline-offset: -2px; }
