:root {
  --navy: #162d3d;
  --green: #437256;
  --lime: #dfeac6;
  --paper: #f7f8f4;
  --muted: #75818a;
  --line: #e4e8e5;
  --blue: #567ca4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #9dc5b1;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 224px;
  flex: 0 0 224px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 34px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
}
.brand-symbol {
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  font-family: Georgia, serif;
  font-size: 33px;
  letter-spacing: -3px;
  border-radius: 11px;
  padding-right: 3px;
}
.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: 5px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #8a9399;
  margin: 54px 10px 17px;
}
.nav {
  display: flex;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 15px 13px;
  border-radius: 8px;
  text-align: left;
  color: #697980;
  margin: 4px 0;
  gap: 10px;
  font-weight: 600;
}
.nav.active {
  background: #edf2e9;
  color: #345c43;
}
.nav-icon {
  font-size: 22px;
  width: 23px;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  background: #dce7d2;
  padding: 2px 7px;
  border-radius: 5px;
}
.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #adb7bf;
  margin-left: auto;
}
.side-note {
  margin-top: auto;
  padding: 22px 10px;
  font-size: 10px;
  color: #718077;
  line-height: 1.6;
}
.side-note p {
  font-size: 13px;
  color: #80908b;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #7ba97e;
  border-radius: 50%;
  margin-right: 5px;
}
.sidebar-bottom {
  display: flex;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}
.sidebar-bottom small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.avatar.dark {
  background: #edf0f0;
}
.avatar.green {
  background: var(--green);
  color: white;
  font-family: Georgia, serif;
  font-size: 27px;
}
main {
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 75px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  font-size: 11px;
  color: #7d8790;
}
.topbar span span {
  padding: 0 12px;
  color: #b8c0c3;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.demo-pill {
  font-size: 8px;
  background: #eaeedc;
  color: #637047;
  letter-spacing: 1.4px;
  border-radius: 4px;
  padding: 5px 8px;
  font-weight: 700;
}
.page {
  max-width: 1580px;
  margin: auto;
  padding: 38px 42px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 750;
  color: #7a8c79;
}
.page-heading h1 {
  font-size: 34px;
  letter-spacing: -1.3px;
  line-height: 1.2;
  margin: 10px 0 12px;
  font-weight: 650;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.mobile-break {
  display: none;
}
.court-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-right: 24px;
  opacity: 0.8;
}
.court-mark i {
  width: 25px;
  height: 49px;
  background: linear-gradient(
    transparent 49%,
    #bccbb5 49%,
    #bccbb5 51%,
    transparent 51%
  );
  border: 1px solid #bccbb5;
  border-radius: 2px;
}
.court-mark b {
  position: absolute;
  right: 0;
  top: -9px;
  background: var(--paper);
  font-size: 10px;
  color: #7e9377;
  padding: 2px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #e1e8d8;
  background: #eef3e6;
  border-radius: 7px;
  padding: 10px 15px;
  color: #607254;
  margin-bottom: 24px;
  font-size: 10px;
}
.notice p {
  margin: 0;
  line-height: 1.6;
}
.notice > span {
  font-size: 20px;
}
.notice.blue {
  background: #edf2f7;
  border-color: #dce5ed;
  color: #637e97;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 21px 0;
  margin-bottom: 26px;
}
.metrics > div {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.metrics > div:last-child {
  border: 0;
}
.metrics > div > span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.metrics strong {
  font-weight: 600;
  font-size: 25px;
}
.metrics small {
  font-size: 10px;
  font-weight: 400;
  color: #8c969c;
  margin-left: 5px;
}
.metrics .status-label {
  font-size: 17px;
  color: var(--green);
  line-height: 29px;
}
.padel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 22px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel-header {
  padding: 21px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
h2 {
  font-size: 14px;
  letter-spacing: -0.2px;
  margin: 0;
  font-weight: 650;
}
.panel-header p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
}
.date-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}
.icon-button,
.small-button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 31px;
  color: #526571;
  padding: 6px 10px;
  font-size: 10px;
}
.icon-button {
  font-size: 13px;
}
.date-controls input {
  width: 112px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px;
  color: #526571;
  font-size: 10px;
  height: 31px;
}
.calendar-scroll {
  max-height: 572px;
  overflow: auto;
  scroll-behavior: smooth;
  position: relative;
}
.calendar-head {
  display: grid;
  grid-template-columns: 49px repeat(3, minmax(0, 1fr));
  height: 62px;
  position: sticky;
  top: 0;
  background: white;
  z-index: 3;
  box-shadow: 0 1px 0 var(--line);
}
.calendar-head > span {
  font-size: 8px;
  color: #a0a8ac;
  padding: 25px 10px;
}
.calendar-head > div {
  text-align: center;
  border-left: 1px solid var(--line);
  padding: 16px 4px;
}
.calendar-head b {
  font-size: 11px;
}
.calendar-head small {
  display: block;
  font-size: 6px;
  letter-spacing: 1.4px;
  color: #9da89b;
  margin-top: 5px;
}
.calendar-body {
  height: 900px;
  display: grid;
  grid-template-columns: 49px repeat(3, minmax(0, 1fr));
  position: relative;
}
.time-column {
  position: relative;
}
.time-label {
  position: absolute;
  font-size: 8px;
  color: #99a3a7;
  left: 11px;
  transform: translateY(-5px);
}
.court-column {
  position: relative;
  border-left: 1px solid var(--line);
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 29px,
    #f1f3f0 29px,
    #f1f3f0 30px,
    transparent 30px,
    transparent 59px,
    #e5e9e4 59px,
    #e5e9e4 60px
  );
}
.booking {
  position: absolute;
  left: 6px;
  right: 6px;
  min-height: 25px;
  padding: 9px 8px;
  border: 0;
  border-left: 3px solid #71936b;
  border-radius: 5px;
  background: #eaf1e2;
  text-align: left;
  overflow: hidden;
  color: #486540;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 9px;
}
.booking.court-2 {
  background: #e9eff5;
  border-color: #7995b4;
  color: #4e6b89;
}
.booking.court-3 {
  background: #f4efe2;
  border-color: #bca67b;
  color: #86734c;
}
.booking b {
  font-size: 10px;
}
.booking small {
  font-size: 8px;
  opacity: 0.75;
}
.calendar-footer {
  display: flex;
  justify-content: space-between;
  padding: 13px 17px;
  font-size: 8px;
  color: #8a9698;
  border-top: 1px solid var(--line);
  gap: 10px;
}
.legend-dot {
  display: inline-block;
  background: #b3cca0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  margin-right: 5px;
}
.booking-detail {
  background: #f7f9f3;
  padding: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
}
.danger-button {
  border: 1px solid #e4c9c1;
  background: white;
  color: #a45e4a;
  border-radius: 5px;
  padding: 7px 10px;
  margin-top: 7px;
  font-size: 10px;
}
.assistant-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.assistant-title h2 {
  font-size: 12px;
}
.assistant-title p {
  font-size: 9px;
}
.chat-messages {
  height: 307px;
  overflow-y: auto;
  padding: 19px 17px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.bubble {
  font-size: 11px;
  line-height: 1.7;
  border-radius: 9px;
  padding: 12px 13px;
  max-width: 95%;
  white-space: pre-wrap;
  word-break: break-word;
}
.bubble.assistant {
  background: #f1f4ed;
  align-self: flex-start;
  color: #586b51;
}
.bubble.customer {
  background: #1e3e4b;
  color: white;
  align-self: flex-end;
}
.bubble small {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  opacity: 0.7;
}
.bubble.loading {
  color: var(--muted);
  background: #f5f6f5;
}
.confirm-button {
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 10px;
  margin-top: 8px;
  align-self: flex-start;
}
.suggestions {
  padding: 5px 17px 13px;
}
.suggestions button {
  background: white;
  color: #69815c;
  border: 1px solid #e0e6d9;
  border-radius: 5px;
  padding: 7px 9px;
  font-size: 9px;
}
#chat-form {
  margin: 0 17px;
  display: flex;
  border: 1px solid #e0e5df;
  border-radius: 7px;
  padding: 9px;
  background: #fff;
  align-items: flex-end;
}
#chat-input {
  resize: vertical;
  border: 0;
  background: none;
  min-height: 40px;
  max-height: 130px;
  width: 100%;
  font-size: 10px;
  line-height: 1.6;
  color: var(--navy);
  outline: none;
}
#chat-send {
  border: 0;
  border-radius: 5px;
  background: var(--navy);
  color: white;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  font-size: 17px;
}
.chat-footnote {
  font-size: 8px;
  color: #9aa39d;
  padding: 10px 15px;
  text-align: center;
}
.connection-box {
  background: #f7f9f4;
  padding: 19px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.connection-box a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin: 10px 0;
}
.connection-box p {
  font-size: 9px;
  color: #8a948b;
  line-height: 1.7;
  margin: 0;
}
.activity-panel {
  margin-top: 24px;
}
.quiet-badge {
  font-size: 7px;
  color: #9da89e;
  letter-spacing: 1px;
}
.activity-list {
  padding: 0 22px;
  max-height: 300px;
  overflow: auto;
}
.activity-row {
  display: grid;
  grid-template-columns: 75px 1fr 85px;
  gap: 15px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid #f0f2ee;
  font-size: 10px;
}
.activity-row p {
  margin: 0 0 5px;
  white-space: pre-line;
  line-height: 1.6;
}
.activity-row small {
  color: #8e989e;
  font-size: 9px;
}
.source-badge {
  font-size: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #f0f4ec;
  color: #68815e;
  text-align: center;
}
.source-badge.web {
  background: #edf2f7;
  color: #6e8ba3;
}
.empty {
  font-size: 11px;
  color: #97a19a;
  padding: 15px 0;
}
.heading-arrow {
  font-size: 65px;
  color: #d7e0e8;
  margin-right: 20px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 25px;
}
.team-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 19px 17px;
}
.team-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-card .avatar {
  background: #e9eef5;
  color: #5d7896;
}
.team-card:nth-child(2) .avatar {
  background: #f5ece3;
  color: #ac8663;
}
.team-card:nth-child(3) .avatar {
  background: #edf2e6;
  color: #74855d;
}
.team-card:nth-child(4) .avatar {
  background: #efeaf5;
  color: #8a75a8;
}
.team-card b {
  font-size: 11px;
}
.team-card small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 5px;
}
.team-card p {
  font-size: 9px;
  line-height: 1.65;
  color: #89959b;
  margin: 15px 0 0;
}
.inbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
}
.inbox-panel {
  min-height: 360px;
}
.count-badge {
  font-size: 9px;
  background: #edf1f4;
  padding: 3px 7px;
  border-radius: 4px;
  margin-left: 5px;
}
.empty-large {
  text-align: center;
  padding: 54px 15px;
  color: #91a0a9;
}
.empty-large > span {
  font-size: 30px;
  color: #bcc8ce;
}
.empty-large h3 {
  font-size: 13px;
  color: #70818d;
  font-weight: 500;
}
.empty-large p {
  font-size: 11px;
  line-height: 1.8;
}
.test-instructions {
  padding: 24px;
}
.test-instructions h2 {
  font-size: 18px;
  margin: 11px 0 20px;
}
.test-instructions ol {
  padding-left: 17px;
  color: #85919a;
  font-size: 10px;
  line-height: 1.8;
}
.test-instructions li {
  margin-bottom: 12px;
  padding-left: 3px;
}
.test-instructions strong {
  display: block;
  font-weight: 600;
  color: #627a8c;
  overflow-wrap: anywhere;
}
.test-instructions code {
  display: inline-block;
  font-size: 9px;
  background: #edf1f4;
  color: #697e8c;
  padding: 2px 5px;
  border-radius: 3px;
}
.primary-button {
  background: var(--navy);
  color: white;
  display: block;
  text-align: center;
  border-radius: 6px;
  padding: 11px;
  font-size: 10px;
  text-decoration: none;
  margin: 20px 0 13px;
}
.muted,
.small-muted {
  color: #8f9aa1;
  font-size: 10px;
  line-height: 1.7;
}
.small-muted {
  font-size: 9px;
}
.rule-box {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 18px;
  font-size: 10px;
}
.rule-box p {
  font-size: 10px;
  line-height: 1.7;
  color: #8a959b;
}
.email-row {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  width: 100%;
  text-align: left;
  color: var(--navy);
}
.email-row:hover {
  background: #f8fafb;
}
.mail-avatar {
  background: #f1f4f5;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #8b9fae;
}
.email-row b {
  font-size: 11px;
  display: block;
  line-height: 1.6;
}
.email-row p {
  font-size: 9px;
  color: #8e9ba3;
  margin: 5px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.route-badge {
  font-size: 8px;
  background: #edf3e9;
  padding: 6px 8px;
  color: #6a8460;
  border-radius: 4px;
  align-self: center;
}
.route-badge.review {
  background: #faf1e1;
  color: #a4834c;
}
.email-detail {
  margin-top: 22px;
  padding: 25px;
}
.email-detail h2 {
  font-size: 17px;
  margin: 7px 0 10px;
}
.email-detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 35px;
  margin-top: 20px;
}
.email-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.9;
  color: #6e7d86;
  max-height: 350px;
  overflow: auto;
  background: #f8f9f6;
  padding: 20px;
  border-radius: 7px;
}
.decision-card {
  padding: 0 7px;
}
.decision-recipient {
  font-size: 17px;
  margin: 10px 0;
}
.decision-card p {
  font-size: 10px;
  line-height: 1.7;
  color: #8c979d;
}
.distribution-row {
  display: grid;
  grid-template-columns: 105px 1fr 38px;
  gap: 10px;
  align-items: center;
  font-size: 9px;
  margin-top: 13px;
  color: #7a8b93;
}
.distribution-track {
  height: 5px;
  background: #edf0f1;
  border-radius: 5px;
  overflow: hidden;
}
.distribution-bar {
  height: 100%;
  background: #8ca7bc;
  border-radius: 5px;
}
.decision-meta {
  font-size: 9px;
  color: #9aa6ad;
  margin-top: 22px;
  line-height: 1.7;
}
footer {
  padding: 15px 42px 30px;
  color: #9da8a8;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.7px;
  display: flex;
  gap: 16px;
  align-items: center;
}
footer span {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
}
footer span:last-child {
  margin-left: auto;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 13px 20px;
  border-radius: 8px;
  z-index: 8;
  font-size: 12px;
  max-width: 90vw;
  box-shadow: 0 5px 30px #0002;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (min-width: 1550px) {
  .page {
    padding-top: 48px;
  }
  .page-heading h1 {
    font-size: 40px;
  }
  .padel-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
  .calendar-scroll {
    max-height: 640px;
  }
  .chat-messages {
    height: 375px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 185px;
    flex-basis: 185px;
    padding: 28px 15px;
  }
  .page {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .padel-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 15px;
  }
  .date-controls {
    gap: 3px;
  }
  .panel-header {
    padding: 18px 15px;
  }
  .date-controls input {
    width: 101px;
  }
  .date-controls .small-button {
    display: none;
  }
  .metrics > div {
    padding: 0 16px;
  }
  .metrics small {
    display: block;
    margin-top: 5px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .inbox-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 72px;
    flex-basis: 72px;
    padding: 25px 12px;
  }
  .brand > span:last-child,
  .nav-label,
  .nav-count,
  .nav-dot,
  .side-note,
  .sidebar-bottom {
    display: none;
  }
  .brand-symbol {
    width: 41px;
  }
  .nav {
    font-size: 0;
    padding: 12px;
    margin-top: 12px;
  }
  .nav-icon {
    font-size: 22px;
  }
  .sidebar nav {
    margin-top: 40px;
  }
  .padel-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .calendar-panel .panel-header {
    flex-wrap: wrap;
  }
  .metrics .status-label {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    width: 100%;
    height: 65px;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand > span:last-child {
    display: block;
    font-size: 14px;
  }
  .brand small {
    font-size: 6px;
  }
  .brand-symbol {
    height: 33px;
    width: 33px;
    font-size: 28px;
  }
  .sidebar nav {
    display: flex;
    margin: 0;
    gap: 5px;
  }
  .nav {
    font-size: 11px;
    padding: 8px 10px;
    width: auto;
    margin: 0;
    gap: 5px;
  }
  .nav-icon {
    font-size: 18px;
    width: 18px;
  }
  .topbar {
    height: 44px;
    padding: 0 19px;
    font-size: 9px;
  }
  .today-label {
    display: none;
  }
  .page {
    padding: 26px 18px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 29px;
    line-height: 1.16;
    letter-spacing: -1px;
  }
  .mobile-break {
    display: block;
  }
  .page-heading p {
    font-size: 10px;
    line-height: 1.8;
    max-width: 260px;
  }
  .court-mark {
    padding-right: 5px;
    gap: 3px;
  }
  .court-mark i {
    width: 18px;
    height: 37px;
  }
  .court-mark b {
    right: -7px;
  }
  .notice {
    font-size: 9px;
    padding: 10px 12px;
    align-items: flex-start;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    margin-bottom: 20px;
  }
  .metrics > div {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }
  .metrics > div:nth-child(2) {
    border-right: 0;
  }
  .metrics > div:nth-child(n + 3) {
    border-bottom: 0;
  }
  .metrics > div > span {
    font-size: 9px;
    margin-bottom: 7px;
  }
  .metrics strong {
    font-size: 22px;
  }
  .metrics small {
    display: inline;
    font-size: 8px;
  }
  .padel-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .calendar-panel .panel-header {
    padding: 17px 14px;
  }
  .panel-header h2 {
    font-size: 12px;
  }
  .panel-header p {
    font-size: 9px;
  }
  .date-controls input {
    width: 107px;
  }
  .calendar-scroll {
    max-height: 480px;
  }
  .calendar-body,
  .calendar-head {
    grid-template-columns: 39px repeat(3, minmax(0, 1fr));
  }
  .time-label {
    left: 6px;
    font-size: 7px;
  }
  .booking {
    left: 3px;
    right: 3px;
    padding: 7px 5px;
    font-size: 8px;
  }
  .booking b {
    font-size: 9px;
  }
  .booking small {
    font-size: 7px;
  }
  .calendar-footer {
    font-size: 7px;
    padding: 12px;
  }
  .assistant-panel .chat-messages {
    height: 250px;
  }
  .bubble {
    font-size: 12px;
  }
  .suggestions button {
    font-size: 10px;
  }
  #chat-input {
    font-size: 12px;
  }
  .connection-box p {
    font-size: 10px;
  }
  .activity-row {
    grid-template-columns: 56px 1fr;
    gap: 9px;
  }
  .activity-row > small {
    grid-column: 2;
  }
  .quiet-badge {
    display: none;
  }
  .activity-list {
    padding: 0 15px;
  }
  .heading-arrow {
    font-size: 48px;
    margin-right: 0;
  }
  .team-grid {
    gap: 10px;
  }
  .team-card {
    padding: 15px 12px;
  }
  .team-card > div {
    gap: 8px;
  }
  .team-card .avatar {
    height: 29px;
    width: 29px;
    font-size: 10px;
  }
  .team-card b {
    font-size: 10px;
  }
  .team-card small {
    font-size: 8px;
  }
  .team-card p {
    font-size: 8px;
    margin-top: 12px;
  }
  .inbox-layout {
    grid-template-columns: 1fr;
  }
  .test-instructions {
    order: -1;
    padding: 20px;
  }
  .test-instructions h2 {
    font-size: 17px;
  }
  .test-instructions ol {
    font-size: 11px;
  }
  .test-instructions strong {
    display: inline;
  }
  .test-instructions .rule-box {
    display: none;
  }
  .primary-button {
    max-width: 300px;
  }
  .email-row {
    padding: 15px;
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }
  .route-badge {
    grid-column: 2;
    justify-self: start;
  }
  .email-detail {
    padding: 20px;
  }
  .email-detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .email-detail h2 {
    font-size: 14px;
  }
  footer {
    padding: 8px 18px 22px;
    flex-wrap: wrap;
    gap: 10px;
  }
  footer span:last-child {
    margin-left: 0;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/* The official Allexus mark is designed for a dark background. */
.official-allexus {
  background: #162d3d;
  color: #fff;
  padding: 13px 10px;
  border-radius: 10px;
  letter-spacing: -1px;
  font-size: 25px;
}
.official-allexus img {
  flex: 0 0 auto;
}
.official-allexus small {
  color: #c89b16;
  font-size: 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.partner-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.partner-brand > span {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #75818a;
}
.partner-brand img {
  display: block;
  max-width: 100%;
  height: auto;
}
.logout-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  margin-left: 18px;
  padding: 8px 13px;
  font-size: 12px;
}
.login-page {
  min-height: 100svh;
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  padding: 0;
}
.login-story {
  background: #162d3d;
  color: #fff;
  padding: 58px clamp(32px, 6vw, 100px);
  display: flex;
  flex-direction: column;
}
.login-story .official-allexus {
  align-self: flex-start;
  padding: 0;
  font-size: 40px;
  gap: 17px;
}
.login-story .official-allexus small {
  font-size: 9px;
  letter-spacing: 1.4px;
}
.login-intro {
  margin: auto 0;
  padding: 70px 0;
}
.login-intro .eyebrow {
  color: #c5d8c9;
  font-size: 10px;
  letter-spacing: 2px;
}
.login-intro h1 {
  font-size: clamp(40px, 5.3vw, 78px);
  letter-spacing: -3px;
  line-height: 1.05;
  font-weight: 500;
  margin: 23px 0 28px;
}
.login-intro > p:last-of-type {
  color: #bdcace;
  font-size: 17px;
  line-height: 1.8;
}
.login-areas {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-top: 23px;
  border-top: 1px solid #3a4c58;
  font-size: 11px;
  color: #d5dfd9;
  letter-spacing: 0.5px;
}
.login-story-note {
  color: #a5b5bb;
  font-size: 10px;
  letter-spacing: 0.8px;
}
.login-access {
  padding: 60px clamp(28px, 6vw, 100px) 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
}
.login-card {
  width: 100%;
  max-width: 380px;
  margin: auto 0;
  padding: 60px 0;
}
.login-card .eyebrow {
  color: var(--green);
}
.login-card h2 {
  font-size: 38px;
  letter-spacing: -1.5px;
  font-weight: 500;
  margin: 16px 0;
}
.login-card > p {
  font-size: 14px;
  color: #697780;
  line-height: 1.7;
}
.login-card form {
  margin-top: 36px;
}
.login-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 11px;
}
.login-card input {
  display: block;
  font-size: 16px;
  width: 100%;
  height: 52px;
  border: 1px solid #cad2cd;
  border-radius: 7px;
  background: #fff;
  padding: 12px 15px;
  color: var(--navy);
}
.login-card .primary-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none;
  margin-top: 18px;
  height: 50px;
  border: 0;
  padding: 14px 18px;
}
.login-card .login-private {
  font-size: 11px;
  color: #7f8b85;
  margin-top: 22px;
}
.login-error {
  color: #a73535;
  font-size: 12px;
  line-height: 1.6;
}
.login-partner {
  width: 100%;
  max-width: 380px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
@media (max-width: 760px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 30px 28px;
  }
  .login-story .official-allexus {
    font-size: 32px;
  }
  .login-story .official-allexus img {
    width: 48px;
    height: 48px;
  }
  .login-story .official-allexus small {
    font-size: 7px;
  }
  .login-intro {
    padding: 35px 0 8px;
  }
  .login-intro h1 {
    font-size: 40px;
    letter-spacing: -1.6px;
    margin: 14px 0;
  }
  .login-intro > p:last-of-type {
    font-size: 14px;
  }
  .login-areas {
    margin-top: 24px;
    padding-top: 18px;
  }
  .login-story-note {
    display: none;
  }
  .login-access {
    padding: 20px 28px 30px;
  }
  .login-card {
    padding: 25px 0;
  }
  .login-card h2 {
    font-size: 30px;
  }
  .login-card form {
    margin-top: 25px;
  }
  .sidebar .official-allexus {
    padding: 8px 10px;
    font-size: 22px;
  }
  .sidebar .official-allexus img {
    width: 34px;
    height: 34px;
  }
  .sidebar .partner-brand {
    display: flex;
    border: 0;
    padding: 12px 0 0;
    margin-left: auto;
  }
  .sidebar .partner-brand > span {
    display: none;
  }
  .sidebar .partner-brand img {
    width: 100px;
  }
  .logout-button {
    margin-left: 12px;
  }
}
@media (min-width: 761px) and (max-width: 950px) {
  .sidebar .official-allexus {
    padding: 4px;
  }
  .sidebar .partner-brand {
    display: flex;
    margin-top: auto;
  }
  .sidebar .partner-brand > span {
    display: none;
  }
  .sidebar .partner-brand img {
    width: 48px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
  }
  .sidebar nav {
    order: 3;
    width: 100%;
  }
  .sidebar .partner-brand {
    padding: 0;
  }
  .sidebar .official-allexus > span {
    font-size: 22px;
  }
}
.login-story .official-allexus > span {
  font-size: inherit;
}
@media (max-width: 760px) {
  .login-story {
    padding: 24px 28px;
  }
  .login-intro {
    padding: 24px 0 0;
  }
  .login-intro h1 {
    font-size: 32px;
  }
  .login-intro > p:last-of-type {
    display: none;
  }
  .login-areas {
    margin-top: 20px;
    padding-top: 16px;
  }
}
