/* Additions for the live application (on top of the mockup stylesheet). */
.side-btn { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border-radius: 10px; color: var(--ink-2); font: inherit; font-weight: 600; font-size: .95rem; background: none; border: 0; width: 100%; cursor: pointer; text-align: start; }
.side-btn:hover { background: var(--bg); }
.admin .side-btn { color: #c3c9d8; } .admin .side-btn:hover { background: rgba(255,255,255,.06); }
ul.plain { list-style: none; padding: 0; margin: 0; }
.field ul { list-style: none; padding: 0; margin: 0; }
.ms-grid > div { display: contents; }
.ms-grid label { display: flex; align-items: center; gap: .5rem; border: 1.5px solid var(--line-2); border-radius: 10px; padding: .45rem .7rem; cursor: pointer; font-weight: 600; margin: 0; background: #fff; }
.ms-grid label:has(input:checked) { border-color: var(--teal); background: var(--teal-50); color: var(--teal-600); }
.ms-grid input { accent-color: var(--teal); width: 1rem; height: 1rem; margin: 0; }
.checkgrid { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.checkgrid label { display: inline-flex; gap: .45rem; align-items: center; font-weight: 500; }
.slot-radio { position: absolute; opacity: 0; }
.slot-radio:checked + .slot { background: var(--brand); color: #fff; border-color: var(--brand); }
.slot-radio:focus-visible + .slot { outline: 3px solid rgba(51,70,211,.3); }
.scale-input { display: flex; gap: .4rem; flex-wrap: wrap; }
.scale-input label { margin: 0; }
.scale-input input { position: absolute; opacity: 0; }
.scale-input span { display: inline-flex; flex-direction: column; align-items: center; min-width: 84px; padding: .5rem; border: 1.5px solid var(--line-2); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: .82rem; background: #fff; }
.scale-input span b { font-size: 1.15rem; }
.scale-input input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-600); box-shadow: 0 0 0 2px var(--brand-100); }
.empty { color: var(--ink-3); text-align: center; padding: 1.5rem; }
pre.mail { white-space: pre-wrap; font-size: .8rem; background: #f7f8fb; border: 1px solid var(--line); border-radius: 8px; padding: .6rem; max-height: 300px; overflow: auto; }
.helptext { display: none; }

/* ---------- Brand header: black with white text, TestRun logo ---------- */
.logo-img { height: 38px; width: auto; display: block; }
.site-header { background: #000; border-bottom-color: #000; }
.site-header .site-nav a { color: #fff; }
.site-header .site-nav a:hover, .site-header .site-nav a.on { background: rgba(255,255,255,.12); color: #fff; }
.site-header .site-nav .btn.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.site-header .site-nav .btn.secondary:hover { background: rgba(255,255,255,.12); }
.site-header .site-nav .badge { background: #caff00; color: #000; }
.site-header .icon-btn { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
@media (max-width: 860px) { .site-header .site-nav { background: #000; border-bottom-color: #000; } }
.app-top { background: #000; border-bottom-color: #000; color: #fff; }
.app-top .title { color: #fff; }
.app-top .who, .app-top .who b { color: #fff; }
.app-top .icon-btn { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.app-top .badge.info { background: rgba(255,255,255,.15); color: #fff; }
.sidebar .logo { background: #000; margin: -1rem -.75rem 1rem; padding: 0 1rem; min-height: 60px; display: flex; align-items: center; }
.site-footer .logo { margin-bottom: .25rem; }
.site-footer .logo-img { height: 34px; }
