:root {
  color-scheme: light;
  --ink: #192d48;
  --navy: #11243d;
  --dim: #54667a;
  --line: #dce2e8;
  --cloud: #f3f6f8;
  --white: #fff;
  --orange: #fd945d;
  --dark-orange: #94380d;
  --peach: #fff0e6;
  --blue: #284d72;
  --sky: #e7eff6;
  --green: #346956;
  --green-bg: #e5f2eb;
  --radius: 10px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cloud);
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
a {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #de6d32;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.3rem, 4.5vw, 4.1rem);
  font-weight: 690;
}
h2 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 660;
}
h3 {
  font-size: 1.05rem;
}
button svg,
a svg,
.ico {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.loading {
  padding: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo,
.mobile-brand-logo {
  display: block;
  object-fit: cover;
  object-position: center;
}
.brand-logo {
  width: 146px;
  height: 88px;
}
.mobile-brand-logo {
  display: none;
}
.micro,
.table-label,
th,
.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.micro,
.table-label,
.section-tag {
  color: var(--dim);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  border-radius: 7px;
  padding: 9px 15px;
  border: 1px solid transparent;
  background: var(--ink);
  color: #fff;
  font-size: 0.87rem;
  line-height: 1.25;
  text-decoration: none;
  font-weight: 630;
}
.btn:hover {
  background: #2f4b6c;
}
.btn.light {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.btn.light:hover,
.text-btn:hover {
  background: var(--cloud);
}
.btn.signal {
  background: var(--orange);
  color: var(--navy);
}
.btn.signal:hover {
  background: #ffa573;
}
.btn.small {
  min-height: 33px;
  padding: 6px 10px;
  font-size: 0.8rem;
}
.text-btn,
.icon-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 630;
}
.text-btn {
  font-size: 0.83rem;
  padding: 8px;
  border-radius: 6px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}
.icon-btn:hover {
  background: var(--cloud);
}
.soft {
  color: var(--dim);
}
.tiny {
  font-size: 0.8rem;
}
.mono,
.value,
.shift-time,
td.numeric {
  font-variant-numeric: tabular-nums;
}
.muted-line {
  color: var(--dim);
  font-size: 0.85rem;
  line-height: 1.6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.signin {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(370px, 0.88fr);
  background: white;
}
.signin-art {
  background: var(--navy);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(28px, 5vw, 78px);
  position: relative;
  isolation: isolate;
}
.signin-art .brand {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--white);
}
.signin-art:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, #ffffff07 1px, transparent 1px),
    linear-gradient(0deg, #ffffff07 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(155deg, transparent 10%, black);
}
.signin-art h1 {
  font-size: clamp(3.4rem, 6.8vw, 7.9rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
  margin: 34px 0 32px;
}
.signin-art h1 span {
  color: var(--orange);
}
.shift-graphic {
  color: #a9bfce;
  max-width: 560px;
  margin: 30px 0;
}
.shift-graphic header,
.shift-graphic footer {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.67rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.13em;
}
.shift-graphic .diagram-lines {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin: 12px 0;
  gap: 8px;
  height: 99px;
  align-content: center;
  padding: 14px 0;
  border-block: 1px solid #53677d;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(8.333% - 1px),
    #8ba8c01e calc(8.333% - 1px),
    #8ba8c01e 8.333%
  );
}
.shift-graphic i {
  height: 13px;
  background: #92abc2;
  border-radius: 3px;
  grid-column: 1/6;
}
.shift-graphic i:nth-child(2) {
  grid-column: 7/11;
  background: var(--orange);
}
.shift-graphic i:nth-child(3) {
  grid-column: 3/10;
  background: #d1dce6;
}
.print-line {
  font-size: 0.75rem;
  color: #a4b6c6;
  letter-spacing: 0.04em;
}
.signin-panel {
  padding: clamp(28px, 6vw, 92px);
  display: grid;
  align-content: center;
  justify-content: center;
}
.signin-box {
  width: min(100%, 380px);
}
.signin-box h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
.signin-box form,
.fields {
  display: grid;
  gap: 16px;
}
.signin-box form .btn {
  margin-top: 1px;
}
.form-label {
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 620;
  min-width: 0;
}
.form-label input,
.form-label select,
.toolbar input,
.toolbar select {
  min-height: 43px;
  width: 100%;
  border: 1px solid #b9c5d0;
  border-radius: 7px;
  background: white;
  padding: 9px 11px;
  color: var(--ink);
  min-width: 0;
}
.form-label input::placeholder {
  color: #758393;
}
.demo-choice {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  gap: 12px;
}
.demo-choice h3 {
  font-size: 1.1rem;
}
.demo-choice .muted-line {
  font-size: 0.82rem;
}
.error {
  font-size: 0.86rem;
  color: #942f23;
  line-height: 1.45;
}
.error:empty {
  display: none;
}
.signin-mobile-brand {
  display: none;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
}
.rail {
  height: 100dvh;
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--white);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 31px 18px 19px;
}
.rail .brand {
  padding: 0 6px 24px;
}
.rail nav {
  display: grid;
  gap: 4px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border: 0;
  color: var(--dim);
  background: transparent;
  border-radius: 7px;
  font-weight: 610;
  font-size: 0.91rem;
}
.nav-item:hover {
  background: var(--cloud);
}
.nav-item[aria-current="page"] {
  color: var(--ink);
  background: var(--sky);
}
.nav-item[aria-current="page"] .ico {
  stroke: var(--blue);
}
.rail-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue);
  font-weight: 700;
}
.rail-user {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
}
.rail-user strong,
.rail-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rail-user span {
  font-size: 0.72rem;
  color: var(--dim);
  margin-top: 2px;
}
.workspace {
  min-width: 0;
}
.topbar {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(20px, 4vw, 62px);
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.breadcrumb,
.top-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.77rem;
  color: var(--dim);
}
.breadcrumb .ico {
  width: 15px;
  height: 15px;
}
.breadcrumb b {
  color: var(--ink);
  font-weight: 600;
}
.office-sara-trigger.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  white-space: nowrap;
}
.office-sara-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.07em;
}
.office-sara-mark {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}
.office-sara {
  position: fixed;
  z-index: 7;
  inset-inline-end: clamp(12px, 3vw, 38px);
  inset-block-end: clamp(12px, 3vh, 26px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  width: min(420px, calc(100vw - 24px));
  max-height: min(670px, calc(100dvh - 88px));
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 55px #10253d3b;
}
.office-sara[hidden],
.office-sara [hidden] {
  display: none;
}
.office-sara-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 17px;
  background: var(--navy);
  color: var(--white);
  border-top: 3px solid #e8b960;
}
.office-sara-head h2 {
  margin-bottom: 4px;
  font-size: 1.28rem;
}
.office-sara-head p {
  color: #d8e5ee;
  font-size: .83rem;
}
.office-sara-head .office-sara-close {
  margin-inline-start: auto;
  color: var(--white);
  font-size: 1.35rem;
  min-width: 36px;
  min-height: 36px;
}
.office-sara-head .office-sara-close:hover {
  background: #ffffff20;
}
.office-sara-form {
  grid-row: 4;
  padding: 14px 16px;
}
.office-sara-disclosure {
  margin-top: 8px;
  color: var(--dim);
  font-size: .77rem;
  line-height: 1.4;
}
.office-sara-form label {
  display: block;
  margin-bottom: 5px;
  font-size: .86rem;
  font-weight: 700;
}
.office-sara-form > div {
  display: flex;
  gap: 8px;
}
.office-sara-form input {
  min-width: 0;
  flex: 1;
  padding: 8px 9px;
  border: 1px solid var(--dim);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}
.office-sara-clear {
  margin-top: 8px;
}
.office-sara-history {
  grid-row: 2;
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 0;
  max-height: 395px;
  overflow: auto;
  margin: 0;
  padding: 13px 16px;
  list-style: none;
}
.office-sara-history li {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--cloud);
}
.office-sara-history li strong {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
  font-size: .83rem;
}
.office-sara-history .office-sara-mark {
  width: 18px;
  height: 18px;
}
.office-sara-history p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.48;
}
.office-sara-history .office-sara-user {
  width: fit-content;
  max-width: 100%;
  justify-self: end;
  background: var(--sky);
}
.office-sara-link {
  max-width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.office-sara-status {
  grid-row: 3;
  padding-inline: 16px;
  color: var(--dim);
  font-size: .85rem;
}
.office-sara-status:empty {
  display: none;
}
.office-sara-footer {
  grid-row: 5;
  padding: 9px 16px;
  border-top: 1px solid var(--line);
  background: var(--cloud);
}
.demo-tag {
  padding: 4px 8px;
  background: var(--peach);
  color: var(--dark-orange);
  font-size: 0.68rem;
  font-weight: 680;
  border-radius: 4px;
  white-space: nowrap;
}
.mobile-toggle {
  display: none;
}
.page {
  padding: clamp(24px, 3.5vw, 52px) clamp(20px, 4vw, 62px) 60px;
  max-width: 1640px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.page-head .section-tag {
  margin-bottom: 10px;
}
.page-head h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}
.page-head .muted-line {
  margin-top: 10px;
}
.dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.75fr);
  gap: 16px;
  margin-bottom: 27px;
}
.coverage-card {
  color: white;
  background: var(--ink);
  padding: 24px 26px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.coverage-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.coverage-card h2,
.queue-card h2 {
  font-size: 1.03rem;
  letter-spacing: -0.02em;
}
.coverage-card header .ico {
  color: #a8bdce;
}
.coverage-main {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin: 14px 0 13px;
}
.coverage-main strong {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  letter-spacing: -0.08em;
  font-weight: 680;
  line-height: 0.95;
}
.coverage-main span {
  font-size: 0.82rem;
  color: #c2cfda;
}
.coverage-track {
  display: flex;
  align-items: stretch;
  gap: 3px;
  height: 12px;
  width: 100%;
}
.coverage-track i {
  flex: 1;
  background: #556b80;
  border-radius: 2px;
}
.coverage-track .occupied {
  background: var(--orange);
}
.coverage-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  color: #cad6df;
  font-size: 0.72rem;
}
.queue-card,
.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
}
.queue-card {
  padding: 23px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.queue-card .count-line {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.queue-card .count-line strong {
  font-size: 3.1rem;
  font-weight: 670;
  letter-spacing: -0.08em;
  line-height: 1;
}
.queue-card .text-btn {
  margin: auto auto 0 -7px;
  color: var(--blue);
}
.queue-card .text-btn svg {
  width: 15px;
  height: 15px;
}
.queue-card .micro {
  font-size: 0.68rem;
}
.panel {
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font-size: 1.28rem;
}
.panel-head .count {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dim);
  margin-left: 7px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.toolbar select,
.toolbar input {
  min-height: 34px;
  font-size: 0.8rem;
  padding: 5px 8px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.87rem;
}
th {
  background: #f8fafb;
  color: var(--dim);
  letter-spacing: 0.07em;
  font-size: 0.65rem;
  white-space: nowrap;
}
th,
td {
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-weight: 620;
}
td small,
.line-detail {
  color: var(--dim);
  font-size: 0.77rem;
  display: block;
  margin-top: 3px;
}
td:last-child .actions {
  justify-content: flex-end;
}
.shift-list {
  display: grid;
}
.shift-row {
  width: 100%;
  display: grid;
  align-items: center;
  grid-template-columns:
    54px minmax(0, 1.35fr) minmax(75px, 0.7fr) minmax(94px, 0.8fr)
    18px;
  gap: 16px;
  padding: 16px 24px;
  text-align: left;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.shift-row:last-child {
  border-bottom: 0;
}
.shift-row:hover {
  background: #f8fafb;
}
.date-tile {
  background: var(--cloud);
  border-radius: 7px;
  padding: 6px 5px;
  text-align: center;
}
.date-tile b,
.date-tile small {
  display: block;
}
.date-tile b {
  font-size: 1.3rem;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.date-tile small {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}
.shift-name,
.shift-site {
  overflow-wrap: anywhere;
}
.shift-name strong,
.shift-site strong {
  font-size: 0.9rem;
}
.shift-time {
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 3px;
  display: block;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 0.73rem;
  line-height: 1.2;
  font-weight: 650;
  color: var(--blue);
  background: var(--sky);
}
.chip:before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}
.chip.open,
.chip.submitted {
  color: var(--dark-orange);
  background: var(--peach);
}
.chip.full,
.chip.approved {
  color: var(--green);
  background: var(--green-bg);
}
.arrow {
  color: #81909f;
}
.empty {
  padding: 29px 24px;
  font-size: 0.9rem;
  color: var(--dim);
  line-height: 1.6;
}
.totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.total {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 17px 20px;
}
.total strong {
  display: block;
  margin-top: 7px;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  letter-spacing: -0.05em;
}
.stack {
  display: grid;
  gap: 17px;
}
.note-line {
  margin: 13px 0 17px;
}
dialog {
  background: white;
  color: var(--ink);
  width: min(615px, calc(100% - 24px));
  max-height: 88dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0;
  box-shadow: 0 22px 90px #11243d38;
}
dialog::backdrop {
  background: #14233885;
}
.dialog-head {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 1.45rem;
}
.dialog-body {
  padding: 22px 23px;
}
.dialog-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 13px 23px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-note {
  color: var(--dim);
  font-size: 0.83rem;
  line-height: 1.5;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 16px 0 22px;
}
.detail-grid dt {
  color: var(--dim);
  font-size: 0.75rem;
}
.detail-grid dd {
  margin: 3px 0 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.detail-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.detail-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.detail-list strong {
  font-weight: 620;
}
.dialog-section {
  margin-top: 20px;
}
.dialog-section h3 {
  margin-bottom: 6px;
}
.audit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.audit-list li {
  display: grid;
  grid-template-columns: minmax(90px, 0.65fr) minmax(80px, 0.6fr) minmax(
      0,
      1.7fr
    );
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 13px 23px;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.audit-list li:last-child {
  border: 0;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: var(--navy);
  color: white;
  border-radius: 7px;
  box-shadow: 0 4px 18px #10243d30;
  padding: 12px 17px;
  max-width: min(430px, 90vw);
  font-size: 0.87rem;
  z-index: 8;
}
@media (max-width: 1050px) {
  .shell {
    grid-template-columns: 194px minmax(0, 1fr);
  }
  .rail {
    padding-inline: 12px;
  }
  .shift-row {
    gap: 11px;
    padding-inline: 16px;
  }
  .shift-site {
    display: none;
  }
  .shift-row {
    grid-template-columns: 47px minmax(0, 1.3fr) minmax(100px, 0.65fr) 16px;
  }
  .page {
    padding-inline: 24px;
  }
  .signin-panel {
    padding: 35px;
  }
  .signin-art {
    padding: 45px;
  }
}
@media (max-width: 750px) {
  .signin {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }
  .signin-art {
    padding: 23px 26px;
    justify-content: flex-start;
    gap: 10px;
  }
  .signin-art h1 {
    font-size: 2.4rem;
    line-height: 1.05;
    margin: 13px 0 5px;
  }
  .signin-art h1 br {
    display: none;
  }
  .signin-art h1 span:before {
    content: " ";
  }
  .signin-art .shift-graphic,
  .signin-art .print-line {
    display: none;
  }
  .signin-panel {
    padding: 26px 24px 34px;
    align-content: start;
  }
  .signin-box {
    width: min(100%, 410px);
    margin: auto;
  }
  .signin-panel {
    display: block;
  }
  .signin-box h2 {
    font-size: 1.7rem;
    margin-bottom: 16px;
  }
  .shell {
    display: block;
  }
  .rail {
    display: none;
    height: auto;
    position: relative;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 15px;
  }
  .rail.open {
    display: flex;
  }
  .rail .brand {
    display: none;
  }
  .rail nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rail-footer {
    margin-top: 12px;
    padding-top: 10px;
  }
  .topbar {
    min-height: 53px;
    padding-inline: 13px;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .mobile-brand-logo {
    display: block;
    flex: none;
    width: 52px;
    height: 32px;
  }
  .breadcrumb {
    gap: 5px;
    min-width: 0;
  }
  .breadcrumb b {
    overflow-wrap: anywhere;
  }
  .top-status {
    flex-shrink: 0;
  }
  .top-status time {
    display: none;
  }
  .page {
    padding: 25px 14px 40px;
  }
  .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
  .page-head h1 {
    font-size: 2.45rem;
  }
  .dashboard-top {
    grid-template-columns: minmax(0, 1.28fr) minmax(140px, 0.72fr);
    gap: 9px;
    margin-bottom: 16px;
  }
  .coverage-card,
  .queue-card {
    padding: 16px;
  }
  .coverage-main {
    flex-wrap: wrap;
    gap: 5px;
  }
  .coverage-track {
    gap: 2px;
    height: 10px;
  }
  .coverage-legend {
    gap: 2px;
    font-size: 0.66rem;
  }
  .queue-card {
    gap: 10px;
  }
  .queue-card .count-line strong {
    font-size: 2.3rem;
  }
  .queue-card .text-btn {
    font-size: 0.72rem;
    text-align: left;
  }
  .panel-head {
    padding: 16px;
    flex-wrap: wrap;
  }
  .shift-row {
    grid-template-columns: 40px minmax(0, 1fr) auto 12px;
    gap: 9px;
    padding: 12px;
  }
  .shift-row .ico {
    width: 14px;
  }
  .shift-name strong {
    font-size: 0.84rem;
  }
  .shift-time {
    font-size: 0.72rem;
  }
  .chip {
    font-size: 0.66rem;
    padding: 5px 6px;
  }
  .totals {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
  }
  .total strong {
    margin: 0;
  }
  .dialog-body,
  .dialog-head,
  .dialog-foot {
    padding-inline: 16px;
  }
  .two {
    gap: 8px;
  }
  th,
  td {
    padding: 11px 12px;
  }
  .top-status {
    gap: 5px;
  }
}
@media (max-width: 440px) {
  .topbar {
    gap: 7px;
    padding-inline: 8px;
  }
  .mobile-brand-logo {
    width: 42px;
    height: 28px;
  }
  .topbar .icon-btn {
    width: 36px;
  }
  .top-status .demo-tag {
    display: none;
  }
  .topbar .office-sara-trigger.btn {
    min-height: 44px;
    padding-inline: 7px;
  }
  .office-sara-head .office-sara-close {
    min-width: 44px;
    min-height: 44px;
  }
  .coverage-main strong {
    font-size: 2.5rem;
  }
  .coverage-main span {
    font-size: 0.74rem;
  }
  .coverage-card header svg {
    display: none;
  }
  .coverage-card,
  .queue-card {
    padding: 14px 11px;
  }
  .panel-head .toolbar {
    width: 100%;
  }
  .shift-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 7px;
  }
  .shift-row > .arrow {
    display: none;
  }
  .nav-item {
    font-size: 0.82rem;
  }
  .audit-list li {
    grid-template-columns: 1fr 1fr;
  }
  .audit-list li span:last-child {
    grid-column: 1/-1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background-color 0.15s,
      color 0.15s;
  }
  dialog[open] {
    animation: appear 0.13s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.75;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.period {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.period .form-label {
  font-size: 0.75rem;
  min-width: 130px;
}
.period .btn {
  min-height: 40px;
}
.period .error {
  width: 100%;
}
.signin-box > .section-tag {
  display: block;
  margin-bottom: 10px;
}
.signin-desc {
  margin: -7px 0 19px;
}
.signin-box > .btn {
  margin-top: 15px;
  width: 100%;
}
.signin-box #login-error:not(:empty) {
  margin-top: 12px;
}
.fields details summary {
  cursor: pointer;
  font-weight: 620;
  font-size: 0.85rem;
}
.fields details[open] summary {
  margin-bottom: 12px;
}
.workspace-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 560px) {
  .workspace-name {
    display: none;
  }
}
.named-login {
  margin: 1rem 0;
  color: #344963;
}
.named-login summary {
  cursor: pointer;
  padding: 0.5rem 0;
}
.named-login h2 {
  font-size: 1.2rem;
  margin: 0.8rem 0;
}
.inbox-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: baseline;
  padding: 1.35rem;
}
#inbox-summary:not(:empty) {
  margin-top: 1.25rem;
}
