/* Shared cabinet components use the typography, surfaces and controls of the workshop. */
.tech-theme {
  --btn:#336f5e;--btn-hover:#285c4e;--btn-ink:#fff;--h-font:var(--f-body);
  --shadow:none;--h1:22px;--h-tt:none;--card-top:1px;
}
.tech-theme .snav details.tw-nav-group {margin:0;padding:0;border:0;background:none;min-width:0}
.tech-theme .tw-nav-group:not(:has(.tw-nav-items a)) {display:none}
.tech-theme .tw-nav-group>summary {list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;min-height:36px;padding:8px 11px;color:#36455b;border-radius:6px;font:600 13px/18px var(--f-body);letter-spacing:0;text-transform:none}
.tech-theme .tw-nav-group>summary::-webkit-details-marker {display:none}
.tech-theme .tw-nav-group>summary::before {display:none}
.tech-theme .tw-nav-group>summary::after {content:"";width:6px;height:6px;margin-left:auto;margin-right:3px;border-width:0 1.5px 1.5px 0;border-style:solid;border-color:currentColor;transform:rotate(-45deg)}
.tech-theme .tw-nav-group[open]>summary::after {transform:rotate(45deg) translateY(-2px)}
.tech-theme .tw-nav-group>summary:hover,.tech-theme .tw-nav-items a:hover {background:#eff3f5}
.tech-theme .tw-nav-items {margin:3px 0 6px 5px;padding:0 0 0 5px;border-left:1px solid #e1e7eb}
.tech-theme .tw-nav-items .pz-nav {margin:0;padding:0;border:0}
.tech-theme .tw-nav-items a {display:flex;align-items:center;gap:10px;min-height:35px;margin:1px 0;padding:7px 9px;color:#42516b;border:1px solid transparent;border-radius:6px;font:400 13px/18px var(--f-body)}
.tech-theme .tw-nav-items a.on {background:#e4efeb;color:#285e4f;font-weight:600}
.tech-theme .tw-nav-group .i {width:17px;height:17px;flex:0 0 17px;stroke-width:1.65}
.tech-theme.tw-compact .tw-nav-group>summary {justify-content:center;padding:8px 0}
.tech-theme.tw-compact .tw-nav-group>summary span,.tech-theme.tw-compact .tw-nav-group>summary::after {display:none}
.tech-theme.tw-compact .tw-nav-items {border:0;margin-left:0;padding:0}
.tech-theme.tw-compact .tw-nav-items a {font-size:0;padding:7px 0;gap:0}
.tech-theme .main :is(.ph,.lh) {border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:16px}
.tech-theme .main h1,.tech-theme .auth h1 {font:600 22px/1.24 var(--f-body);letter-spacing:-.025em;text-transform:none}
.tech-theme .main .kicker,.tech-theme .auth .kicker {font:500 11px/1.4 var(--f-body);letter-spacing:.015em;text-transform:none;color:var(--muted)}
.tech-theme .main .kicker::before {content:none}
.tech-theme .main :is(.card,.tile3,.si-t,.scard,.col,.kcard),.tech-theme .auth-card {background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:none}
.tech-theme .main :is(.ch,.sech) {color:var(--ink);font-family:var(--f-body);font-weight:600;letter-spacing:0;text-transform:none}
.tech-theme .main :is(.tabs,.qtabs,.pills,.seg-ctl) {display:flex;align-items:center;gap:3px;border:0;flex-wrap:wrap}
.tech-theme .main :is(.tabs,.qtabs,.pills,.seg-ctl)>:is(a,button) {padding:6px 10px;min-height:30px;background:#fff;color:#49586c;border:1px solid var(--line);border-radius:5px;font:500 12px/16px var(--f-body);letter-spacing:0;text-transform:none}
.tech-theme .main :is(.tabs,.qtabs,.pills,.seg-ctl)>:is(a,button).on {background:#e5efeb;border-color:#c3d9cf;color:#2a6150}
.tech-theme .main :is(.filters,.hintline,.side-note) {background:#f1f4f6;border:1px solid var(--line);border-radius:6px}
.tech-theme .main .hintline {padding:9px 12px;font:400 12px/1.5 var(--f-body);color:#526176}
.tech-theme .main :is(.tbl,.wtbl) th {background:#f6f8fa;color:#526176;font:500 11px/1.4 var(--f-body);text-transform:none;letter-spacing:.01em}
.tech-theme .main .tbl td {border-color:var(--line);font-size:13px}
.tech-theme .main :is(.num,.mono,.q-time,.si-v,.amt,.col-sum) {font-family:var(--f-body);font-variant-numeric:tabular-nums}
.tech-theme .main :is(.shm,.q-t,.who,.sc-n,.ch1) {color:var(--ink)}
.tech-theme .main .empty {color:var(--muted);font:400 13px/1.5 var(--f-body)}
.tech-theme .main :is(.ph-a,.btnrow) {gap:6px}
.tech-theme :is(.auth,.main) :is(input,select,textarea):not([type=checkbox],[type=radio],[type=range],[type=color]) {font-family:var(--f-body);border-color:var(--line-2);border-radius:5px}
.tech-theme .auth {color:var(--ink)}
.tech-theme .auth-card {padding:24px}
.tech-theme .auth .wide,.tech-theme .main .btn {font-family:var(--f-body);font-weight:500}
.tech-theme .roles-t {background:#f7f9fa;border-color:#dae2e5;border-radius:6px}
.tech-theme .roles-t button {border-radius:4px;font-size:12px}
.tech-theme .roles-t button.on {background:#dfede7;color:#225f4b}
.tech-theme .va-top {background:white}
.tech-theme .tw-queue {display:grid;gap:0;list-style:none;counter-reset:queue;margin:0 0 14px;padding:0}
.tech-theme .tw-queue li {counter-increment:queue;display:grid;grid-template-columns:15px minmax(0,1fr) 27px 27px;align-items:center;border-bottom:1px solid var(--line);padding:4px 0;gap:2px}
.tech-theme .tw-queue li::before {content:counter(queue);font-size:11px;color:var(--muted)}
.tech-theme .tw-queue button {border:0;border-radius:5px;background:transparent;color:#33485a;padding:2px;min-height:27px;font-size:14px}
.tech-theme .tw-queue button:hover {background:#e9f1ee}
.tech-theme .tw-queue button:disabled {opacity:.28;cursor:default}
.tech-theme .tw-queue button.tw-queue-item {display:block;text-align:left;min-width:0}
.tech-theme .tw-queue-item b,.tech-theme .tw-queue-item small {display:block;font:500 11px/1.45 var(--f-body)}
.tech-theme .tw-queue-item small {color:var(--muted);font-size:10px}
.tech-theme .tw-queue [aria-pressed=true] {background:#e1eee8}
.tech-theme .tw-calendar {min-width:calc(var(--names) + var(--ticks)*44px)}
.tech-theme .tw-ticks {grid-template-columns:repeat(var(--ticks),minmax(0,1fr))}
.tech-theme .tw-lane {background-size:auto;background-image:repeating-linear-gradient(to right,transparent 0 calc(100% / var(--ticks) - 1px),#e8ecf0 calc(100% / var(--ticks) - 1px) calc(100% / var(--ticks)))}
.tech-theme .tw-drop {padding:3px 8px;min-height:22px;border-radius:5px}
@media (max-width:820px) {
  .tech-theme .main .filters {max-width:100%}
  .tech-theme .main .tw {overflow:auto}
  .tech-theme .tw-queue li {grid-template-columns:16px minmax(0,1fr) 36px 36px}
  .tech-theme .tw-queue button {min-height:36px}
}

/* A record uses the same hierarchy as a selected workstation. */
.tech-theme .main :is(.exec,.et-pane,.dcard,.tile) {border:1px solid var(--line);border-radius:7px;background:var(--paper)}
.tech-theme .main .et-pane.empty {background:var(--soft)}
.tech-theme .main :is(.tile3 .mono,.dc dt,.et-sum span) {color:var(--muted);font:500 11px/1.45 var(--f-body);letter-spacing:normal;text-transform:none}
.tech-theme .main .dc dd {font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.tech-theme .main .tile3 b {font:600 15px/1.4 var(--f-body)}
.tech-theme .main :is(.et-ob,.st-b,.chip) {border-radius:5px;font-family:var(--f-body)}
.tech-theme .main :is(.et-ob.sel,.st-b.cur,.chip.on) {color:#235e4b;background:#e3efe9;border-color:#a9cbbd;box-shadow:none}
.tech-theme .main .et-ob.sel small {color:#405e54}
.tech-theme .main .st-b {padding:6px 11px;font-size:13px}
.tech-theme .main .et-pane h3,.tech-theme .main .dc-h h3 {font:600 15px/1.4 var(--f-body)}
.tech-theme .main .kcard.is-late {border-left:3px solid var(--red)}
.tech-theme .main .kcard.is-today,.tech-theme .main .kcard.is-stuck {border-left:3px solid #ae7636}
.tech-theme .tw-row.over .tw-lane {outline:2px solid #629984;outline-offset:-2px}
.tech-theme :is(.tw-nav-group summary,.tw-nav-items a,.tw-queue button):focus-visible {outline:2px solid #337664;outline-offset:-2px}
.tech-theme .main h3,.tech-theme .main .lbl {text-transform:none;letter-spacing:normal}
.tech-theme .main .card h3 {font:600 14px/1.4 var(--f-body);color:var(--ink)}
.tech-theme .main .card h3 small {font-weight:400;color:var(--muted)}

.tech-theme .newf {max-width: 64rem}
.tech-theme .lgrid2 + .card {margin-top: 1rem}

.tech-theme .admin-role-options button {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
}
.admin-role-options .role-tick {
  display:inline-grid; place-items:center; box-sizing:border-box; flex:none;
  width:15px; height:15px; border:1px solid #718278; border-radius:4px;
  background:white; font-size:12px; line-height:1;
}
.admin-role-options [aria-pressed="true"] .role-tick {
  background:#28664f; border-color:#28664f; color:white;
}
.admin-role-options button:focus-visible {outline:2px solid #28664f; outline-offset:1px}
