/* Identidad visual común del laboratorio y la Web autenticada. */
:root{
 color-scheme:light;
 --nav:#0D1726;
 --nav-soft:#1A2740;
 --nav-divider:#294c67;
 --nav-text:#dbe9f7;
 --nav-muted:#a8bfd5;
 --ink:#25313c;
 --muted:#6d7882;
 --line:#d6e3f0;
 --disabled-bg:#e8edf3;
 --bg:#f1f4f7;
 --surface:#ffffff;
 --accent:#ef9b96;
 --accent-hover-soft:#e98781;
 --accent-line:#f4c6c2;
 --accent-soft:#fff2f1;
 --accent-action:#bd4f4b;
 --accent-action-hover:#a63f3c;
 --accent-dark:#9d3937;
 --focus-ring:#bd4f4b33;
 --shadow-card:0 2px 14px #102b430a;
 --success:#55a878;
 --success-ink:#246b46;
 --success-soft:#eaf7ef;
 --warning:#e5a94c;
 --warning-ink:#895918;
 --warning-soft:#fff5e6;
 --warning-line:#ecd7ad;
 --error:#d65c5c;
 --error-ink:#a6383d;
 --error-soft:#fff0f0;
 /* Alias para los controles existentes mientras comparten el tema. */
 --accent-bright:var(--accent);
 --accent-strong:var(--accent-action);
 --accent-hover:var(--accent-action-hover);
 --soft:var(--accent-soft);
 --light:var(--accent-soft);
 --green:var(--accent-action);
 --green-dark:var(--accent-action-hover);
 --amber:#94611c;
 --amber-light:var(--warning-soft);
 --red:#b33f43;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
 outline:2px solid var(--accent-action);
 outline-offset:2px;
 box-shadow:0 0 0 4px var(--focus-ring);
}
input:focus,select:focus,textarea:focus{border-color:var(--accent-action)}
button:disabled,[aria-disabled="true"]{cursor:not-allowed}
.sidebar nav a:hover,.sidebar .nav-link:hover{background:var(--nav-soft);color:var(--nav-text)}
.sidebar nav a.active,.sidebar .nav-link.selected{background:var(--accent);color:var(--ink);border-color:var(--accent)}
.sidebar nav a.active:hover,.sidebar .nav-link.selected:hover{background:var(--accent-hover-soft)}
.quiet-button{border-color:var(--accent-line);color:var(--accent-dark)}
.quiet-button:hover,.pre-page button:not(#calculate):hover{background:var(--accent-soft);border-color:var(--accent-hover-soft);color:var(--accent-dark)}
.team-card,.inspector,.employee-summary,.employee-inner-pane,.cards article,.welcome-card,.context-bar,.pre-grid,.pre-totals{box-shadow:var(--shadow-card)}
tbody tr:hover td{background:var(--accent-soft)}
::selection{background:var(--accent);color:var(--ink)}
