﻿/* ============================================================================================
   MRW control site - a copy of the community admin's admin.css (MRW.Admin\css) plus the control bits at the end.
   MRW community admin. Bootstrap 5.3 + the community's colours (--mrw-primary / --mrw-accent from MRW.Core.Theme)
   and their light or dark choice (data-bs-theme on <html>).
   ============================================================================================ */
:root {
    --adm-side-w: 248px;
    --adm-radius: 10px;
    --mrw-heading-font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
[data-bs-theme="dark"] {
    --bs-body-bg: #0d1015; --bs-body-bg-rgb: 13, 16, 21; --bs-body-color: #c9d1d9; --bs-emphasis-color: #fff;
    --bs-secondary-color: #8b949e; --bs-border-color: #262d36; --bs-tertiary-bg: #161b22;
    --adm-surface: #12161c; --adm-surface-2: #181e26; --adm-side: #0a0d11;
}
[data-bs-theme="light"] {
    --bs-body-bg: #f4f6f9; --bs-body-bg-rgb: 244, 246, 249; --bs-body-color: #2b333d; --bs-emphasis-color: #11161c;
    --bs-secondary-color: #5f6b77; --bs-border-color: #dde2e8;
    --adm-surface: #fff; --adm-surface-2: #f6f8fb; --adm-side: #fff;
}
:root, [data-bs-theme] {
    --bs-primary: var(--mrw-primary); --bs-primary-rgb: var(--mrw-primary-rgb);
    --bs-link-color: var(--mrw-primary); --bs-link-color-rgb: var(--mrw-primary-rgb); --bs-link-hover-color: var(--mrw-primary);
}
.btn-primary { --bs-btn-bg: var(--mrw-primary); --bs-btn-border-color: var(--mrw-primary); --bs-btn-color: var(--mrw-on-primary);
    --bs-btn-hover-bg: var(--mrw-primary); --bs-btn-hover-border-color: var(--mrw-primary); --bs-btn-hover-color: var(--mrw-on-primary);
    --bs-btn-active-bg: var(--mrw-primary); --bs-btn-active-border-color: var(--mrw-primary); --bs-btn-active-color: var(--mrw-on-primary); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline-primary { --bs-btn-color: var(--mrw-primary); --bs-btn-border-color: var(--mrw-primary); --bs-btn-hover-bg: var(--mrw-primary);
    --bs-btn-hover-border-color: var(--mrw-primary); --bs-btn-hover-color: var(--mrw-on-primary); --bs-btn-active-bg: var(--mrw-primary); --bs-btn-active-color: var(--mrw-on-primary); }
.btn-discord { --bs-btn-bg: #5865f2; --bs-btn-border-color: #5865f2; --bs-btn-color: #fff; --bs-btn-hover-bg: #4752c4; --bs-btn-hover-border-color: #4752c4;
    --bs-btn-hover-color: #fff; --bs-btn-active-bg: #3c45a5; --bs-btn-active-color: #fff; font-weight: 600; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: rgba(var(--mrw-primary-rgb), .7); box-shadow: 0 0 0 .2rem rgba(var(--mrw-primary-rgb), .2); }
.form-check-input:checked { background-color: var(--mrw-primary); border-color: var(--mrw-primary); }
h1, h2, h3 { color: var(--bs-emphasis-color); font-weight: 700; }
.adm-muted { color: var(--bs-secondary-color); }

/* ---------- shell: side menu + main ---------- */
.adm-shell { display: flex; min-height: 100vh; }
.adm-side { background: var(--adm-side); border-right: 1px solid var(--bs-border-color); display: flex; flex-direction: column; }
@media (min-width: 992px) {
    .adm-side { position: sticky; top: 0; height: 100vh; width: var(--adm-side-w); flex: 0 0 var(--adm-side-w); }
}
@media (max-width: 991.98px) { .adm-side { --bs-offcanvas-width: 280px; } }
.adm-side::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--mrw-primary) 70%, var(--mrw-accent) 70%); }
.adm-brand { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--bs-border-color); }
.adm-brand-link { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--bs-emphasis-color); min-width: 0; }
.adm-brand-link img { height: 36px; width: auto; }
.adm-brand-link > span:last-child { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.adm-brand-link b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-brand-link small { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--bs-secondary-color); }
.adm-badge { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 .4rem; border-radius: 8px; font-weight: 800; font-size: .8rem;
    letter-spacing: .03em; background: var(--mrw-primary); color: var(--mrw-on-primary); }
.adm-nav { flex: 1; padding: .75rem .6rem; overflow-y: auto; }
.adm-nav ul { list-style: none; margin: 0; padding: 0; }
.adm-nav-link { display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; margin-bottom: 2px; border-radius: 8px; font-weight: 600; font-size: .93rem;
    color: var(--bs-body-color); text-decoration: none; }
.adm-nav-link i { font-size: 1.05rem; width: 1.2rem; text-align: center; color: var(--bs-secondary-color); }
a.adm-nav-link:hover { background: var(--adm-surface-2); color: var(--bs-emphasis-color); }
.adm-nav-link.active { background: rgba(var(--mrw-primary-rgb), .14); color: var(--bs-emphasis-color); }
.adm-nav-link.active i { color: var(--mrw-primary); }
.adm-nav-link.is-soon { opacity: .5; cursor: default; }
.adm-nav-link em { margin-left: auto; font-style: normal; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    padding: .1rem .4rem; border-radius: 5px; border: 1px solid var(--bs-border-color); }
.adm-side-foot { padding: .9rem 1.1rem; border-top: 1px solid var(--bs-border-color); }
.adm-view-site { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--bs-secondary-color); }
.adm-view-site:hover { color: var(--bs-emphasis-color); }

.adm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-top { position: sticky; top: 0; z-index: 1010; display: flex; align-items: center; gap: .75rem; padding: .6rem 1.5rem; min-height: 58px;
    background: rgba(var(--bs-body-bg-rgb), .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bs-border-color); }
.adm-burger { border: 0; background: none; font-size: 1.6rem; color: var(--bs-emphasis-color); padding: 0 .25rem; }
.adm-top-title { font-weight: 700; color: var(--bs-emphasis-color); }
@media (min-width: 992px) { .adm-top-title { display: none; } }
.adm-user { display: inline-flex; align-items: center; gap: .5rem; padding: .2rem .65rem .2rem .2rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
    color: var(--bs-emphasis-color); background: var(--adm-surface); border: 1px solid var(--bs-border-color); }
.adm-user img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.adm-content { padding: 1.75rem 1.5rem 3rem; max-width: 1280px; width: 100%; }
@media (min-width: 1200px) { .adm-content { padding: 2rem 2.5rem 3rem; } }

/* ---------- building blocks ---------- */
.adm-head { margin-bottom: 1.5rem; }
.adm-head h1 { font-size: 1.75rem; margin-bottom: .25rem; }
.adm-card { background: var(--adm-surface); border: 1px solid var(--bs-border-color); border-radius: var(--adm-radius); padding: 1.25rem 1.4rem; }
.adm-card h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.adm-form { margin-bottom: 1.25rem; scroll-margin-top: 80px; }
.adm-form .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.adm-form .form-text { font-size: .82rem; }
.adm-stat { display: flex; flex-direction: column; gap: .1rem; padding: 1rem 1.15rem; height: 100%; background: var(--adm-surface);
    border: 1px solid var(--bs-border-color); border-radius: var(--adm-radius); }
.adm-stat i { font-size: 1.2rem; color: var(--mrw-primary); margin-bottom: .35rem; }
.adm-stat b { font-size: 1.6rem; line-height: 1.1; color: var(--bs-emphasis-color); }
.adm-stat span { font-size: .85rem; color: var(--bs-secondary-color); }
.adm-stat.is-warn { border-color: rgba(255, 193, 7, .5); }
.adm-stat.is-warn i { color: #ffc107; }
.adm-check { list-style: none; padding: 0; margin: 0 0 1rem; }
.adm-check li { display: flex; gap: .6rem; align-items: flex-start; padding: .45rem 0; border-bottom: 1px solid var(--bs-border-color); }
.adm-check li:last-child { border-bottom: 0; }
.adm-check li.done { color: var(--bs-secondary-color); text-decoration: line-through; text-decoration-color: rgba(127, 127, 127, .5); }
.adm-check li.done i { color: #2ea043; }
.adm-check li.todo i { color: var(--bs-secondary-color); }
.adm-soon { list-style: none; padding: 0; margin: 0; }
.adm-soon li { display: flex; gap: .75rem; padding: .5rem 0; }
.adm-soon i { color: var(--mrw-primary); font-size: 1.1rem; }

/* settings */
.adm-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.1rem; margin-top: .5rem;
    background: rgba(var(--bs-body-bg-rgb), .92); backdrop-filter: blur(8px); border: 1px solid var(--bs-border-color); border-radius: var(--adm-radius); }
.adm-toc { position: sticky; top: 80px; }
.adm-toc ul { list-style: none; padding: 0 0 0 .9rem; margin: 0; border-left: 2px solid var(--bs-border-color); }
.adm-toc a { display: block; padding: .3rem 0; font-size: .9rem; text-decoration: none; color: var(--bs-secondary-color); }
.adm-toc a:hover { color: var(--bs-emphasis-color); }
.adm-colour .form-control-color { max-width: 3.2rem; padding: .3rem; }
.adm-colour input[type="text"] { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.adm-mode { display: flex; gap: .75rem; }
.adm-mode-opt { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .9rem .5rem .5rem; border-radius: 9px; cursor: pointer; font-weight: 600;
    border: 1px solid var(--bs-border-color); background: var(--adm-surface-2); }
.adm-mode-opt input { position: absolute; opacity: 0; pointer-events: none; }
.adm-mode-opt .sw { width: 34px; height: 26px; border-radius: 6px; border: 1px solid var(--bs-border-color); }
.adm-mode-opt.is-dark .sw { background: linear-gradient(135deg, #0d1015 60%, #1f2630 60%); }
.adm-mode-opt.is-light .sw { background: linear-gradient(135deg, #ffffff 60%, #e6eaef 60%); }
.adm-mode-opt:has(input:checked) { border-color: var(--mrw-primary); box-shadow: 0 0 0 2px rgba(var(--mrw-primary-rgb), .25); }
.adm-mode-opt:has(input:focus-visible) { outline: 2px solid var(--mrw-primary); outline-offset: 2px; }
.adm-img-preview { margin-top: .5rem; padding: .5rem; display: inline-block; border-radius: 8px; border: 1px dashed var(--bs-border-color); background: var(--adm-surface-2); }
.adm-img-preview img { max-height: 70px; max-width: 260px; display: block; }
.adm-help { font-size: .92rem; padding: .9rem 1rem; margin-bottom: 1rem; border-radius: 8px; background: var(--adm-surface-2); border: 1px solid var(--bs-border-color); }
.adm-help ol { margin: .5rem 0 0; padding-left: 1.2rem; }
.adm-help li { margin-bottom: .4rem; }
.adm-copy { display: flex; align-items: center; gap: .5rem; margin: .35rem 0; }
.adm-copy code { flex: 1; min-width: 0; overflow-wrap: anywhere; padding: .3rem .55rem; border-radius: 6px; font-size: .82rem;
    background: var(--adm-surface); border: 1px solid var(--bs-border-color); color: var(--bs-emphasis-color); }

/* admins */
.adm-table { --bs-table-bg: transparent; margin-bottom: .5rem; }
.adm-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--bs-secondary-color); font-weight: 700; white-space: nowrap; }
.adm-table tr.is-off td { opacity: .55; }
.adm-roles-key { padding-left: 1.1rem; margin: .5rem 0 0; }
.adm-role-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .4rem 1rem; }

/* sign-in (no menu) */
.adm-bare { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(var(--mrw-primary-rgb), .16), transparent 60%), var(--bs-body-bg); }
.adm-signin { width: 100%; max-width: 400px; padding: 2rem 1.75rem; text-align: center; background: var(--adm-surface); border: 1px solid var(--bs-border-color);
    border-radius: 14px; border-top: 3px solid var(--mrw-primary); }
.adm-signin h1 { font-size: 1.45rem; margin: 1rem 0 .5rem; }
.adm-signin-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--bs-emphasis-color); }

/* ---------- stewarding ---------- */
.adm-count { margin-left: auto; min-width: 1.4rem; padding: .05rem .4rem; border-radius: 999px; font-size: .72rem; font-weight: 800; text-align: center;
    background: #ffc107; color: #1a1400; }
.adm-seg .adm-count { margin-left: .3rem; }
.adm-tabs { display: flex; gap: .25rem; flex-wrap: wrap; margin-bottom: 1.25rem; border-bottom: 1px solid var(--bs-border-color); }
.adm-tabs a { padding: .55rem .9rem; margin-bottom: -1px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--bs-secondary-color); border-bottom: 2px solid transparent; }
.adm-tabs a:hover { color: var(--bs-emphasis-color); }
.adm-tabs a.active { color: var(--bs-emphasis-color); border-bottom-color: var(--mrw-primary); }
.adm-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.adm-filter-champ { display: flex; align-items: center; }
.adm-filter-champ .form-select { min-width: 220px; }
.adm-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--adm-surface); border: 1px solid var(--bs-border-color); }
.adm-seg a { display: inline-flex; align-items: center; padding: .3rem .8rem; border-radius: 7px; font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--bs-secondary-color); }
.adm-seg a.active { background: var(--mrw-primary); color: var(--mrw-on-primary); }
.adm-pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; white-space: nowrap;
    background: var(--adm-surface-2); border: 1px solid var(--bs-border-color); color: var(--bs-secondary-color); }
.adm-pill.ok { background: rgba(46, 160, 67, .15); border-color: transparent; color: #2ea043; }
.adm-pill.warn { background: rgba(255, 193, 7, .18); border-color: transparent; color: #b58100; }
.adm-pill.bad { background: rgba(218, 54, 51, .15); border-color: transparent; color: #da3633; }
[data-bs-theme="dark"] .adm-pill.ok { color: #56d364; }
[data-bs-theme="dark"] .adm-pill.warn { color: #ffc107; }
[data-bs-theme="dark"] .adm-pill.bad { color: #ff7b72; }
.adm-inc-table tbody tr { cursor: pointer; }
.adm-inc-table tbody tr:hover td { background: var(--adm-surface-2); }
.adm-inc-table td, .adm-inc-table th { padding: .7rem .9rem; }
.adm-ref { font-weight: 800; text-decoration: none; }
.adm-empty { text-align: center; padding: 2.5rem 1rem; color: var(--bs-secondary-color); }
.adm-empty i { font-size: 2rem; color: var(--mrw-primary); }
.adm-empty p { margin: .5rem 0 0; }
.adm-back { display: inline-block; margin-bottom: .6rem; font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--bs-secondary-color); }
.adm-back:hover { color: var(--bs-emphasis-color); }
.adm-inc-head h1 span { font-weight: 600; color: var(--bs-secondary-color); font-size: 1.15rem; margin-left: .35rem; }
.adm-inc-status { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.adm-dl { display: grid; grid-template-columns: 8.5rem 1fr; gap: .35rem 1rem; margin: 0; font-size: .93rem; }
.adm-dl dt { color: var(--bs-secondary-color); font-weight: 600; }
.adm-dl dd { margin: 0; color: var(--bs-emphasis-color); }
.adm-quote { padding: .8rem 1rem; border-radius: 8px; border-left: 3px solid var(--mrw-primary); background: var(--adm-surface-2); font-size: .95rem; }
.adm-video { border-radius: 8px; overflow: hidden; }
.adm-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.adm-card-head h2 { margin: 0; }
.adm-pen-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.adm-pen-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; margin-bottom: .4rem; border-radius: 8px;
    background: var(--adm-surface-2); border: 1px solid var(--bs-border-color); border-left: 3px solid #da3633; }
.adm-add { border-top: 1px solid var(--bs-border-color); padding-top: .75rem; }
.adm-add > summary { cursor: pointer; font-weight: 600; color: var(--mrw-primary); list-style: none; }
.adm-add > summary::-webkit-details-marker { display: none; }
.adm-add .form-label { font-weight: 600; font-size: .88rem; margin-bottom: .25rem; }
.adm-chip-checks { display: flex; flex-wrap: wrap; gap: .4rem; }
.adm-chip-checks label { cursor: pointer; }
.adm-chip-checks input { position: absolute; opacity: 0; pointer-events: none; }
.adm-chip-checks span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
    border: 1px solid var(--bs-border-color); background: var(--adm-surface-2); }
.adm-chip-checks input:checked + span { background: rgba(var(--mrw-primary-rgb), .16); border-color: var(--mrw-primary); color: var(--bs-emphasis-color); }
.adm-chip-checks input:checked + span::before { content: "\2713"; font-weight: 800; color: var(--mrw-primary); }
.adm-chip-checks input:focus-visible + span { outline: 2px solid var(--mrw-primary); outline-offset: 2px; }
.adm-actions { display: flex; gap: .6rem; flex-wrap: wrap; padding-top: .5rem; }
.adm-stat.is-link { text-decoration: none; color: inherit; transition: border-color .15s; }
.adm-stat.is-link:hover { border-color: rgba(var(--mrw-primary-rgb), .6); }
.adm-w-order { width: 5.5rem; }
.adm-w-pts { width: 4.8rem; }

/* licence points */
.adm-lic-list { list-style: none; padding: 0; margin: 0; }
.adm-lic-list li { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr 2.5rem; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--bs-border-color); }
.adm-lic-list li:last-child { border-bottom: 0; }
.adm-lic-name { display: flex; flex-direction: column; min-width: 0; }
.adm-lic-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-lic-bar { position: relative; height: 10px; border-radius: 999px; background: var(--adm-surface-2); border: 1px solid var(--bs-border-color); }
.adm-lic-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.adm-lic-bar span.l0 { background: var(--mrw-primary); }
.adm-lic-bar span.l1 { background: #ffc107; }
.adm-lic-bar span.l2 { background: #f0883e; }
.adm-lic-bar span.l3 { background: #da3633; }
.adm-lic-bar i { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--bs-secondary-color); opacity: .7; }
.adm-lic-total { text-align: right; font-size: 1.1rem; color: var(--bs-emphasis-color); }
@media (max-width: 575.98px) { .adm-lic-list li { grid-template-columns: 1fr 2.5rem; } .adm-lic-bar { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- championships ---------- */
.adm-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.adm-group { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bs-secondary-color); margin: 0 0 .6rem; }
.adm-click tbody tr[data-adm-href] { cursor: pointer; }
.adm-click tbody tr[data-adm-href]:hover td { background: var(--adm-surface-2); }
.adm-table td, .adm-table th { padding: .65rem .85rem; }
.adm-w-move { width: 2.5rem; padding-left: .4rem !important; padding-right: 0 !important; }
.adm-move { display: flex; flex-direction: column; }
.adm-move .btn { padding: 0 .3rem; line-height: 1; color: var(--bs-secondary-color); }
.adm-move .btn:hover:not(:disabled) { color: var(--mrw-primary); }
.adm-w-len { width: 7rem; }
.adm-w-time { width: 9rem; }
.adm-sessions td:first-child { font-weight: 600; }
.adm-sessions tr.adm-second { display: none; }
.adm-sessions tr.adm-second.is-shown { display: table-row; }
.adm-sub { padding: .9rem 1rem; border-radius: 8px; background: var(--adm-surface-2); border: 1px dashed var(--bs-border-color); }
.adm-preview-box { margin-top: .25rem; }
.adm-preview-box > summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--mrw-primary); }
.adm-preview { margin-top: .6rem; padding: 1rem 1.1rem; border-radius: 8px; border: 1px solid var(--bs-border-color); background: var(--bs-body-bg); min-height: 3rem; }
.adm-preview > :last-child { margin-bottom: 0; }
.adm-preview h3 { font-size: 1.2rem; margin-top: 1rem; }
.adm-preview h4 { font-size: 1.05rem; margin-top: .8rem; }
.adm-champ-img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 8px; border: 1px solid var(--bs-border-color); }
.adm-savebar .ms-auto { margin-left: auto; }

/* ---------- entry lists ---------- */
.adm-class-row td { background: var(--adm-surface-2) !important; font-weight: 700; font-size: .85rem; color: var(--bs-emphasis-color); padding-top: .5rem !important; padding-bottom: .5rem !important; }
.adm-num { display: inline-grid; place-items: center; min-width: 2.3rem; height: 1.8rem; padding: 0 .35rem; border-radius: 6px; font-weight: 800; font-variant-numeric: tabular-nums;
    background: var(--adm-surface-2); border: 1px solid var(--bs-border-color); color: var(--bs-emphasis-color); }
.adm-num.is-clash { border-color: #da3633; color: #da3633; }
.adm-table tr.is-editing td { background: rgba(var(--mrw-primary-rgb), .08); }

/* results */
.adm-results td, .adm-results th { padding: .4rem .5rem; }
.adm-results .form-control-sm, .adm-results .form-select-sm { min-width: 0; }
.adm-results .adm-w-pos { width: 5rem; } .adm-results .adm-w-laps { width: 5.5rem; } .adm-results .adm-w-pen { width: 5.5rem; }
.adm-results .adm-w-tm { width: 9rem; } .adm-results .adm-w-st { width: 9.5rem; }
.adm-results tr.is-out td:not(:first-child) { opacity: .45; }
.adm-sess .btn { margin: .15rem .25rem .15rem 0; white-space: nowrap; }

/* ---------- control site ---------- */
.adm-pill.info { background: rgba(var(--mrw-primary-rgb), .15); border-color: transparent; color: var(--mrw-primary); }
.ctl-hosts { list-style: none; padding: 0; margin: 0 0 1rem; }
.ctl-hosts li { display: flex; align-items: center; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--bs-border-color); overflow-wrap: anywhere; }
.ctl-hosts li:last-child { border-bottom: 0; }
.ctl-dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0; font-size: .92rem; }
.ctl-dl dt { font-weight: 600; color: var(--bs-secondary-color); }
.ctl-dl dd { margin: 0; overflow-wrap: anywhere; }
.ctl-log { list-style: none; padding: 0; margin: .5rem 0 0; font-size: .92rem; }
.ctl-log li { display: flex; gap: .55rem; align-items: flex-start; padding: .3rem 0; overflow-wrap: anywhere; }
.ctl-log li.is-ok i { color: #2ea043; } .ctl-log li.is-warn i { color: #ffc107; } .ctl-log li.is-fail i { color: #da3633; } .ctl-log li.is-info i { color: var(--bs-secondary-color); }
.is-busy { pointer-events: none; opacity: .75; }
.ctl-pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .82rem; max-height: 32rem; overflow: auto; margin: 0; padding: .75rem; border-radius: 8px;
    background: var(--adm-surface-2); border: 1px solid var(--bs-border-color); color: var(--bs-emphasis-color); }
.ctl-log-table .ctl-msg { max-width: 36rem; overflow-wrap: anywhere; }
