.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 8px;
  z-index: 99;
  background: var(--card);
  padding: 12px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.demo-banner {
  padding: 6px 24px;
  background: #fff1ca;
  color: #65450f;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-banner[hidden] {
  display: none;
}
.demo-banner select {
  width: auto;
  font-size: 12px;
  padding: 2px 6px;
}
.demo-banner button {
  background: transparent;
  border: 0;
  text-decoration: underline;
}
.top {
  height: auto;
  min-height: 56px;
  flex-wrap: wrap;
  padding-block: 8px;
}
.brand i {
  font-size: 12px;
}
.nav {
  flex-wrap: wrap;
}
.me small {
  display: block;
}
.page {
  min-height: 60vh;
}
.empty {
  padding: 36px;
  text-align: center;
  color: var(--muted);
}
.listpane {
  min-width: 0;
}
.edtop {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.edtop h2 {
  font-size: 20px;
  margin: 4px 0;
}
.edbody {
  padding: 18px 20px;
  max-height: 68vh;
  overflow: auto;
}
.edfoot {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  position: sticky;
  bottom: 0;
  background: var(--card);
}
.edfoot .grow {
  flex: 1;
}
dialog {
  max-height: 95vh;
}
dialog.wide {
  width: min(850px, 96vw);
}
.formerror {
  white-space: pre-line;
  color: var(--danger);
  padding: 0 20px 12px;
  max-height: 25vh;
  overflow: auto;
}
.formerror:empty {
  display: none;
}
.warnlist {
  background: var(--note-bg);
  border: 1px solid var(--note-line);
  padding: 12px;
  margin: 12px 0;
  border-radius: 8px;
}
.warnlist p {
  margin: 4px 0;
}
.fieldpair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.formcheck {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
}
.formcheck input {
  width: auto;
}
.fieldnote {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0;
}
.btn.pri {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.btn.danger {
  color: var(--danger);
}
.search {
  max-width: 280px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.grow {
  flex: 1;
}
.calwrap {
  overflow: auto;
  border-radius: 10px;
}
.calwrap button {
  color: var(--ink);
}
.caltb {
  gap: 10px;
}
.caltb .sp {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.calhead {
  margin-right: auto;
  min-width: 180px;
}
.ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-top: 6px;
}
.arrows {
  display: flex;
  gap: 4px;
}
.arrows button {
  border: 0;
  background: none;
  padding: 5px;
}
.lastupd {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 5px;
}
#classic td {
  padding: 0;
  vertical-align: top;
}
#classic .mband {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  text-align: left;
  min-height: 65px;
  font-size: 12px;
}
#classic .dts {
  height: auto;
  min-height: 25px;
}
#classic .railtd {
  width: 62px;
}
#classic .railtd button {
  display: block;
  margin: 8px auto;
  font-size: 11px;
}
#classic th {
  padding: 10px;
  font-size: 11px;
}
#classic .bs {
  display: block;
}
.cnm {
  font-weight: 650;
}
.swap {
  color: #c00000;
}
.opennm {
  color: #0d4dbf;
}
.cslot {
  display: block;
  text-align: left;
  width: 100%;
  cursor: pointer;
  border: 1px solid var(--line);
  border-left: 5px solid var(--tier0);
  border-radius: 6px;
  padding: 7px;
  margin: 4px 0;
  background: #fff;
  font-size: 12px;
  color: #1f1e1b;
}
.cslot.alpha {
  border-left-color: var(--alpha);
}
.cslot.bravo {
  border-left-color: var(--bravo);
}
.cslot.charlie {
  border-left-color: var(--charlie);
}
.cslot.adjusted {
  border-left: 8px solid var(--hrs-bar);
}
.cslot.placeholder {
  border-left: 8px solid var(--open-bar);
  background: #fff8dc;
}
.cslot.unfilled {
  background: #dedede;
  border-style: dashed;
  min-height: 45px;
  color: #666;
}
.cslot .sub {
  display: block;
  font-size: 11px;
  color: #6b6760;
}
.cslot .red {
  color: #c00000;
}
.cgrp {
  padding: 6px;
}
.cwk {
  min-width: 1050px;
}
.chead {
  min-width: 1050px;
}
.cday {
  min-width: 0;
}
.cdtop {
  min-height: 32px;
}
.cgh {
  font-size: 11px;
  color: #6b6760;
}
.crail {
  padding: 8px 4px;
}
.legend {
  padding: 12px;
  font-size: 12px;
}
.stat {
  display: flex;
  gap: 22px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.stat b {
  margin-right: 6px;
}
.stat .w {
  margin-left: auto;
  color: var(--warn);
  cursor: pointer;
}
.pcard {
  min-width: 0;
}
.pcard a {
  color: inherit;
}
.pcard .pmain {
  min-width: 140px;
}
.cards .pcard {
  cursor: pointer;
}
.plbl {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pcol {
  overflow-wrap: anywhere;
}
.chip.alpha {
  color: #2f5f9e;
  background: #e4eef8;
}
.chip.bravo {
  color: #925313;
  background: #fff0de;
}
.chip.charlie {
  color: #237575;
  background: #e1f2f0;
}
.chip.tag {
  background: var(--soft);
  color: var(--ink);
}
.chip.res {
  background: #fff0de;
  color: #925313;
}
.chip.app {
  background: #fbe2e0;
  color: #9b2b22;
}
.chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.siterow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.siterow input[type='checkbox'] {
  width: auto;
}
.siterow select {
  width: 110px;
}
.edsec {
  font-weight: 650;
  margin-top: 20px;
  margin-bottom: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.schwrap {
  overflow: auto;
}
.sch {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  table-layout: fixed;
}
.sch th,
.sch td {
  border: 1px solid var(--line);
  padding: 10px 7px;
}
.sch th:first-child {
  width: 170px;
}
.sch th.tot {
  width: 70px;
}
.sch .bad {
  color: var(--danger);
}
.wtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.wtable td,
.wtable th {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.table-scroll {
  overflow: auto;
}
.report {
  white-space: pre-wrap;
  line-height: 1.6;
}
.entry {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.entry b {
  flex: none;
}
.note {
  margin: 10px 0;
  padding: 14px;
  background: var(--note-bg);
  border: 1px solid var(--note-line);
  border-radius: 9px;
}
.note .meta {
  margin-top: 10px;
  color: var(--muted);
}
.msg {
  padding: 12px;
  margin: 10px 0;
  background: var(--soft);
  border-radius: 9px;
  white-space: pre-wrap;
}
.msg.me {
  margin-left: 10%;
  display: block;
}
.msg .who {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.thread {
  cursor: pointer;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.thread.on {
  background: var(--navactive-bg);
  color: var(--navactive-ink);
}
.thread .meta {
  font-size: 11px;
  margin-top: 5px;
}
.auth {
  max-width: 390px;
  margin: 8vh auto;
  padding: 30px;
}
.auth h1 {
  font-size: 24px;
}
.auth .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}
.token {
  font-family: monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.side .btn {
  display: block;
  margin: 10px;
  color: inherit;
}
.sideh {
  display: flex;
  justify-content: space-between;
  padding: 16px;
}
.side nav {
  display: grid;
  padding: 12px;
}
.side nav button {
  text-align: left;
  padding: 12px;
  background: none;
  color: inherit;
  border: 0;
}
.side .on {
  background: rgba(255, 255, 255, 0.15);
}
.side .sectionlabel {
  font-size: 11px;
  opacity: 0.7;
  margin: 20px 14px 6px;
}
#actions {
  right: 0;
  left: auto;
  transform: translateX(105%);
}
#actions.open {
  transform: translateX(0);
}
.toolbar-line {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  align-items: center;
  flex-wrap: wrap;
}
.warningdot {
  color: var(--warn);
}
.print-only {
  display: none;
}
body.busy {
  cursor: progress;
}
.btn.sm {
  height: 30px;
  padding: 0 9px;
  font-size: 12px;
}
.spinner {
  padding: 50px;
  text-align: center;
}
.status-error {
  color: var(--danger);
}
.summarygrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.summarygrid b {
  font-size: 24px;
  display: block;
}
.a-shell {
  max-width: 650px;
  margin: auto;
  padding: 16px;
}
.dar-recorder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 0 24px;
}
.dar-mic {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid var(--brand);
  background: var(--navactive-bg);
  color: var(--navactive-ink);
  box-shadow: 0 5px 0 var(--brand);
  cursor: pointer;
  touch-action: manipulation;
}
.dar-mic:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 7px;
}
.dar-mic:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--brand);
}
.dar-mic[aria-pressed='true'] {
  background: var(--danger-bg);
  border-color: var(--danger);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--danger);
}
.dar-mic .dar-stop-icon,
.dar-mic[aria-pressed='true'] .dar-mic-icon {
  display: none;
}
.dar-mic[aria-pressed='true'] .dar-stop-icon {
  display: block;
}
.dar-mic-status {
  margin: 4px 0 0;
  min-height: 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 650;
}
.dar-recorder > .btn {
  min-height: 44px;
}
.a-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.a-tabs {
  display: flex;
  overflow: auto;
  margin-bottom: 15px;
}
.a-tabs button {
  background: none;
  border: 0;
  padding: 12px;
  white-space: nowrap;
}
.a-tabs .on {
  border-bottom: 2px solid var(--brand);
  font-weight: 700;
}
.a-shift {
  padding: 16px;
  margin: 10px 0;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--card);
}
.a-shift h3 {
  margin: 0 0 8px;
}
.a-mic {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  border: 0;
  font-size: 32px;
  display: block;
  margin: 22px auto;
}
.a-mic.recording {
  background: #a13f31;
}
.a-bottom {
  position: sticky;
  bottom: 0;
  padding: 12px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.a-bottom .btn {
  width: 100%;
  justify-content: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 900px) {
  .demo-banner {
    padding: 6px 12px;
    flex-wrap: wrap;
  }
  .top .nav,
  .top .me,
  .top .theme {
    display: none;
  }
  .top {
    flex-wrap: nowrap;
  }
  .brand {
    font-size: 16px;
  }
  .page {
    padding: 12px;
  }
  .calhead {
    min-width: 0;
  }
  .caltb .sp {
    margin-left: auto;
  }
  .pcard .pcol {
    display: none;
  }
  .pcard {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }
  .pcard .btn {
    font-size: 12px;
  }
  .pcard .mact {
    display: flex;
  }
  .fieldpair {
    grid-template-columns: 1fr;
  }
  .split .detail {
    display: block;
  }
  .split.detail-open .listpane {
    display: block;
  }
  .split {
    display: block;
  }
  .split .detail {
    margin-top: 14px;
  }
  .edbody {
    max-height: none;
    flex: 1;
    overflow: auto;
  }
  dialog {
    max-height: 100dvh;
    height: 100dvh;
  }
  dialog form {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .edfoot {
    flex-shrink: 0;
  }
  .summarygrid {
    grid-template-columns: 1fr;
  }
  .formerror {
    max-height: 25vh;
  }
  .tloc {
    font-size: 19px;
    max-width: 100%;
  }
  .btn {
    font-size: 13px;
  }
  .wtable {
    min-width: 600px;
  }
  .tabs {
    overflow: auto;
    white-space: nowrap;
  }
  .a-shell {
    padding: 12px;
  }
}
.side > .btn,
.side > nav,
.side > .sideh,
.side > .sectionlabel {
  flex-shrink: 0;
}
.side > .btn {
  display: flex;
  align-items: center;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  height: 38px;
  margin: 0 6px;
}
.side .sectionlabel {
  margin: 14px 6px 2px;
}
.side .sideh {
  padding: 6px;
}
.side .sideh button {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.side nav {
  gap: 4px;
}
.side.open {
  display: flex;
}
#drawer.open {
  transform: translateX(0);
}
.nav button {
  padding-inline: 8px;
}
.top .theme button {
  padding-inline: 6px;
}
.top .nav {
  column-gap: 0;
}
.a-tabs {
  scrollbar-width: thin;
}
dialog {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  width: min(570px, 96vw);
}
dialog::backdrop {
  background: #0008;
}
.a-shell h2 {
  font-size: 20px;
}
.a-shell .entry p {
  margin: 8px 0;
}
.a-shell .a-shift h3 {
  font-size: 17px;
}
@media (min-width: 901px) {
  #actions {
    display: flex;
  }
  .top .nav {
    flex-wrap: nowrap;
  }
  .top .me .av {
    display: none;
  }
}
@media (max-width: 900px) {
  .top > .desk {
    display: none;
  }
  .side .btn {
    font-size: 14px;
  }
  dialog {
    border-radius: 0;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    max-height: 100dvh;
  }
}
@media print {
  .top,
  .demo-banner,
  .toolbar-line,
  .h1,
  .caltb,
  .stat,
  .legend,
  .side,
  #toast,
  .no-print,
  dialog {
    display: none !important;
  }
  .page {
    padding: 0;
    max-width: none;
  }
  .print-only {
    display: block;
  }
  .calwrap,
  .schwrap {
    overflow: visible;
  }
  #classic,
  .sch {
    min-width: 0;
  }
  .cwk,
  .chead {
    min-width: 0;
  }
  .cslot {
    font-size: 8px;
  }
  .wkcard {
    break-inside: avoid;
  }
  .crail button,
  .dnote {
    display: none;
  }
  .panel {
    border: 0;
  }
  .calwrap {
    color: #111;
  }
  .print-head {
    font-size: 16px;
    margin-bottom: 12px;
  }
}
