:root {
  --ink: #182522;
  --muted: #78847f;
  --line: #e1e7df;
  --paper: #f5f7f1;
  --white: #fff;
  --green: #205b3c;
  --gold: #c6a34a;
  --coral: #ee735b;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 95% 0, rgba(198, 163, 74, 0.07), transparent 28rem),
    var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.app-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
body:not(.authenticated) .app-shell {
  display: none;
}
body.role-student:not(.role-demo) .reservation-controls,
body.role-student:not(.role-demo) .professor-only-field {
  display: none;
}
body.role-demo #calendar-create-reservation,
body.role-demo #conflict-suggestions {
  display: none !important;
}
body.role-professor .hero-general-menu {
  display: none;
}
body.role-student #department-schedule-view #department-schedule {
  display: none;
}
.student-readonly-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  padding: 25px;
  max-width: 700px;
}
.professor-code-panel,
.student-access-panel {
  margin-top: 18px;
  background: #f2f6f3;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.professor-code-panel {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.student-access-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}
.student-access-panel h2 {
  margin: 0;
  font: 400 26px var(--serif);
}
.schedule-access-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.schedule-access-form input {
  flex: 1 1 220px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
}
#access-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
body.role-student .student-readonly-panel {
  display: block;
}
.student-dashboard-access {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #dfe9e1;
  border-left: 4px solid var(--green);
  border-radius: 4px;
  background: #f7faf7;
}
.student-dashboard-access[hidden] {
  display: none;
}
.professor-dashboard-access {
  border-left-color: #53766a;
}
.student-dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.student-dashboard-heading .kicker {
  margin: 0 0 5px;
}
.student-dashboard-heading h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font: 400 21px var(--serif);
}
.student-dashboard-heading p:last-child {
  margin: 0;
  color: #78847f;
  font-size: 11px;
}
.student-dashboard-heading-actions,
.professor-approval-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.professor-approval-heading {
  justify-content: space-between;
  margin-bottom: 12px;
}
.professor-approval-heading .profile-code-label {
  margin: 0;
}
.student-dashboard-access h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font: 400 17px var(--serif);
}
.student-dashboard-access-list {
  display: grid;
  gap: 8px;
}
.subject-group-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 10px;
}
.subject-group-form label {
  display: grid;
  gap: 6px;
  color: #68776e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.subject-group-form input,
.subject-group-form select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.subject-group-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.subject-group-card {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e8eee8;
  border-radius: 3px;
  background: #fff;
}
.subject-group-card > div {
  display: grid;
  gap: 3px;
}
.subject-group-card small {
  color: #78847f;
  font-size: 10px;
}
.subject-group-card code {
  padding: 7px 9px;
  border-radius: 3px;
  background: #f0f5f0;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.4px;
}
.student-subject-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}
.student-subject-filter select {
  min-height: 36px;
  max-width: 290px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
.student-access-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(80px, auto);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e8eee8;
  border-radius: 3px;
  background: #fff;
}
.student-access-row > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.student-access-row strong {
  color: var(--ink);
  font-size: 11px;
}
.student-access-row span,
.student-access-row small {
  overflow-wrap: anywhere;
  color: #78847f;
  font-size: 10px;
}
.student-access-row b {
  font-size: 10px;
}
.student-access-row .access-approved {
  color: #287044;
}
.student-access-row .access-pending {
  color: #9a6d2d;
}
.profile-password-section {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #edf0ed;
}
.profile-password-section h3 {
  margin: 0;
  color: var(--ink);
  font: 400 17px var(--serif);
}
.profile-password-section label {
  display: grid;
  gap: 6px;
  color: #68776e;
  font-size: 11px;
  font-weight: 700;
}
.profile-password-section input {
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #d5ded6;
  border-radius: 3px;
}
.profile-password-section p {
  margin: 0;
  color: #78847f;
  font-size: 10px;
  line-height: 1.5;
}
.student-readonly-panel h2 {
  margin: 0 0 10px;
  font: 400 27px var(--serif);
}
.student-readonly-panel p:not(.kicker) {
  color: #748078;
  font-size: 12px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 18px;
}
.student-readonly-panel .primary-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: 230px;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(165deg, #173b2f 0%, #1d4938 62%, #17372e 100%);
  color: #eaf4ea;
  padding: 32px 20px 22px;
  display: flex;
  flex-direction: column;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 2px 76px;
}
.logout-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(201, 235, 211, 0.2);
  border-radius: 6px;
  background: transparent;
  color: #c9ebd3;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.logout-button[hidden] {
  display: none;
}
.logout-icon {
  width: 18px;
  font-size: 18px;
  text-align: center;
}
.logout-button:hover,
.logout-button:focus-visible {
  background: #285247;
  border-color: #84da9b;
  outline: none;
}
.profile-trigger {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 2px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.profile-trigger:hover,
.profile-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: 2px solid #c9ebd3;
  outline-offset: 2px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(198, 163, 74, 0.55);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eyebrow,
.kicker {
  color: #94a79e;
  font:
    500 10px "DM Mono",
    monospace;
  letter-spacing: 1.4px;
}
.eyebrow {
  margin: 0 12px 16px;
}
.nav-list {
  display: grid;
  gap: 7px;
}
.nav-item {
  border: 0;
  background: transparent;
  color: #adc1b8;
  text-align: left;
  padding: 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.nav-item:hover,
.nav-item.active {
  color: #fff;
  background: #285247;
}
.nav-icon {
  width: 18px;
  font-size: 18px;
  text-align: center;
}
.nav-count {
  margin-left: auto;
  color: #c9ebd3;
  font:
    11px "DM Mono",
    monospace;
}
.sidebar-footer {
  margin-top: auto;
}
.sidebar-institution {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 9px;
  color: #bfd0c5;
  font-size: 9px;
  line-height: 1.5;
}
.sidebar-institution img {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 2px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.sidebar-institution strong {
  color: #fff;
  font-weight: 700;
}
.status-dot {
  border-top: 1px solid #31584d;
  padding: 18px 10px;
  color: #91a9a0;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.status-dot span,
.live-label i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #84da9b;
  box-shadow: 0 0 0 3px #376254;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #dfb59d;
  color: #583b2d;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.profile-form {
  display: grid;
  position: fixed;
  z-index: 1001;
  top: 50%;
  left: 50%;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  gap: 16px;
  margin: 0;
  padding: 24px;
  transform: translate(-50%, -50%);
  border: 1px solid #dfe7df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(13, 35, 25, 0.24);
}
body:has(.profile-form:not(.hidden))::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(12, 31, 24, 0.58);
  content: "";
}
.profile-form-heading h2 {
  margin: 0;
  color: var(--ink);
  font:
    600 21px/1.2 "Manrope",
    sans-serif;
}
.profile-form-heading p {
  margin: 7px 0 0;
  color: #718078;
  font-size: 12px;
}
.professor-profile-code {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid #dce6dd;
  border-radius: 5px;
  background: #f4f8f4;
}
.profile-code-label {
  color: #52635a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.profile-code-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profile-code-value output {
  color: var(--green);
  font:
    700 16px "DM Mono",
    monospace;
  user-select: all;
}
.profile-code-copy {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #d5dfd7;
  border-radius: 3px;
  background: #fff;
  color: #52635a;
  font-size: 11px;
  cursor: pointer;
}
.profile-code-copy:hover {
  background: #e9f2ea;
}
.professor-profile-code p {
  margin: 0;
  color: #718078;
  font-size: 11px;
  line-height: 1.45;
}
.professor-approval-panel {
  display: grid;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid #e5ebe6;
}
.professor-approval-panel > div {
  display: grid;
  gap: 8px;
  color: #718078;
  font-size: 11px;
}
.professor-approval-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px;
  border: 1px solid #e0e7e1;
  border-radius: 4px;
  color: #52635a;
  overflow-wrap: anywhere;
}
.approve-access-button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}
.approve-access-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.profile-form .professor-profile-only.hidden {
  display: none;
}
.profile-form label {
  display: grid;
  gap: 6px;
  color: #52635a;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.profile-form label.hidden {
  display: none;
}
.profile-form input,
.profile-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d5dfd7;
  border-radius: 4px;
  background: #fbfcfb;
  color: var(--ink);
  padding: 9px 11px;
  font-size: 12px;
  text-transform: none;
  outline-color: var(--green);
}
.profile-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid #edf0ed;
}
.profile-form .primary-button {
  width: auto;
}
.profile-form .text-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #d5dfd7;
  border-radius: 3px;
  background: #fff;
  color: #52635a;
  font-size: 12px;
  cursor: pointer;
}
.profile-form .text-button:hover {
  background: #f3f7f4;
}
.small-button {
  padding: 8px 12px;
  min-height: 32px;
}
.hidden {
  display: none;
}
.more {
  margin-left: auto;
  color: #91a9a0;
  letter-spacing: 2px;
}
.main-content {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5%;
}
.breadcrumb {
  color: #a0aaa5;
  font-size: 12px;
  display: flex;
  gap: 10px;
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 600;
}
.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.help-menu-wrap {
  position: relative;
}
.help-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: max-content;
  min-width: 230px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 49, 34, 0.14);
}
.help-menu button {
  border: 0;
  border-radius: 3px;
  padding: 10px;
  background: transparent;
  color: #43564a;
  font-size: 11px;
  text-align: left;
}
.help-menu button:hover,
.help-menu button:focus-visible {
  background: #f0f5f0;
  color: var(--green);
}
.icon-button,
.help-button {
  border: 0;
  background: transparent;
  color: #61706a;
  position: relative;
  font-size: 19px;
}
.help-button {
  border: 1px solid #cbd4cd;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
}
.notification-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  top: 2px;
  right: 0;
  border-radius: 50%;
  background: var(--coral);
}
.page-section {
  padding: 46px 5.5% 70px;
  max-width: 1440px;
  margin: auto;
}
.prd-heading {
  margin-bottom: 30px;
}
.prd-heading h1 {
  max-width: 850px;
}
.prd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.prd-meta span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #64736a;
  font-size: 11px;
}
.prd-meta strong {
  margin-right: 5px;
  color: var(--ink);
}
.prd-layout {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.prd-toc {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 4px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.prd-toc strong {
  margin: 0 7px 7px;
  color: var(--ink);
  font-size: 12px;
}
.prd-toc a {
  padding: 7px;
  border-radius: 3px;
  color: #52635a;
  font-size: 11px;
  text-decoration: none;
}
.prd-toc a:hover,
.prd-toc a:focus-visible {
  background: #f0f5f0;
  color: var(--green);
}
.prd-content {
  min-width: 0;
  padding: 25px clamp(18px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(24, 49, 34, 0.035);
}
.prd-content section {
  scroll-margin-top: 24px;
  padding: 0 0 23px;
  margin: 0 0 23px;
  border-bottom: 1px solid #edf0ed;
}
.prd-content section:last-of-type {
  margin-bottom: 0;
  border-bottom: 0;
}
.prd-content h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font: 400 22px/1.3 var(--serif);
}
.prd-content h3 {
  margin: 18px 0 6px;
  color: var(--green);
  font-size: 13px;
}
.prd-content p,
.prd-content li {
  color: #596860;
  font-size: 12px;
  line-height: 1.75;
}
.prd-content p {
  margin: 0 0 10px;
}
.prd-content ul,
.prd-content ol {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 21px;
}
.prd-content li strong {
  color: #31463a;
}
.prd-table-wrap {
  overflow-x: auto;
}
.prd-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}
.prd-table th,
.prd-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #edf0ed;
  color: #596860;
  font-size: 11px;
  line-height: 1.6;
  vertical-align: top;
}
.prd-table thead th {
  background: #f5f8f4;
  color: #344a3c;
  font-weight: 700;
}
.prd-table tbody th {
  min-width: 105px;
  color: var(--ink);
  font-weight: 700;
}
.prd-footnote {
  margin-top: 22px !important;
  padding-top: 14px;
  border-top: 1px solid #edf0ed;
  color: #78847f !important;
  font-size: 10px !important;
}
.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 42px;
}
.kicker {
  margin: 0 0 11px;
  color: #9aa59f;
}
.hero-live-clock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.live-clock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font: 700 9px "DM Mono", monospace;
  letter-spacing: 0.06em;
}
.live-clock-indicator::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45a46a;
  content: "";
  box-shadow: 0 0 0 3px #45a46a20;
}
.hero-row h1,
.subpage-heading h1 {
  margin: 0;
  font: 400 clamp(39px, 4vw, 61px)/0.98 var(--serif);
  letter-spacing: -2.5px;
}
.hero-row h1 em {
  color: var(--green);
}
.hero-copy {
  color: #74807a;
  max-width: 415px;
  line-height: 1.6;
  margin: 21px 0 0;
  font-size: 13px;
}
.hero-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid #cbd5cd;
  padding-bottom: 11px;
  min-width: 160px;
}
.stat-number {
  font: 400 48px var(--serif);
  color: var(--green);
}
.stat-label {
  color: #74807a;
  line-height: 1.3;
  font-size: 11px;
}
.booking-panel {
  background: #fff;
  border: 1px solid #e2e8e1;
  box-shadow: 0 14px 35px rgba(29, 55, 44, 0.07);
  padding: 26px 28px 22px;
  margin-bottom: 49px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.panel-heading > div {
  display: flex;
  gap: 14px;
  align-items: center;
}
.panel-index {
  color: var(--coral);
  font:
    11px "DM Mono",
    monospace;
}
.panel-heading h2,
.results-header h2,
.section-title h2 {
  font: 600 19px "Manrope";
  letter-spacing: -0.5px;
  margin: 0;
}
.live-label {
  color: #7d8b83;
  font:
    10px "DM Mono",
    monospace;
}
.live-label i {
  margin-right: 8px;
  box-shadow: none;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.form-grid label {
  color: #77847c;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.form-grid input,
.form-grid select {
  display: block;
  width: 100%;
  margin-top: 8px;
  color: var(--ink);
  border: 1px solid #d6ded7;
  background: #fbfcfa;
  border-radius: 3px;
  padding: 11px 10px;
  outline-color: var(--green);
  font-size: 12px;
  text-transform: none;
  font-weight: 500;
}
.cohort-help {
  margin: 12px 0 0;
  color: #78847f;
  font-size: 11px;
  line-height: 1.5;
}
.password-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 8px;
}
.password-field input {
  margin-top: 0;
  padding-right: 38px;
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #61706a;
  font-size: 16px;
  line-height: 1;
  padding: 4px;
}
.password-toggle .eye-icon {
  display: inline-block;
  transform: translateY(-1px);
}
.primary-button {
  height: 39px;
  border: 0;
  padding: 0 17px;
  color: #fff;
  background: var(--green);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.primary-button:hover {
  background: #17452e;
  box-shadow: 0 4px 12px rgba(32, 91, 60, 0.18);
}
.primary-button span {
  font-size: 17px;
  margin-left: 13px;
}
.results-header,
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 20px;
}
.results-header .kicker {
  margin-bottom: 8px;
}
.results-header h2 span {
  color: #a1aba5;
  font:
    400 12px "DM Mono",
    monospace;
  margin-left: 10px;
}
.filter-button,
.text-button {
  border: 0;
  background: transparent;
  color: #66756d;
  font-size: 11px;
}
.filter-button {
  border: 1px solid #d7ded7;
  padding: 9px 12px;
}
.filter-button span {
  margin-left: 15px;
  font-size: 16px;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.room-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 21px;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.room-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(29, 55, 44, 0.08);
}
.room-card.best {
  border: 2px solid var(--green);
  padding: 20px;
}
.match-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--green);
  color: #fff;
  padding: 8px 11px;
  font:
    10px "DM Mono",
    monospace;
}
.room-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 28px;
}
.room-number {
  font:
    11px "DM Mono",
    monospace;
  color: #9ba7a0;
}
.room-card h3 {
  margin: 5px 0 4px;
  font: 600 18px var(--serif);
}
.room-meta {
  color: #839087;
  font-size: 11px;
}
.room-availability {
  color: var(--green);
  font-size: 10px;
}
.room-availability.occupied {
  color: var(--coral);
}
.room-reserved-note {
  color: #a75d4e;
  background: #fff2ee;
  border-left: 2px solid var(--coral);
  padding: 8px 9px;
  margin: -12px 0 15px;
  font-size: 10px;
  line-height: 1.4;
}
.score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.score-row strong {
  font: 400 27px var(--serif);
  color: var(--green);
}
.score-bar {
  flex: 1;
  height: 5px;
  background: #e8eee8;
}
.score-bar span {
  display: block;
  height: 100%;
  background: #82c795;
}
.match-details {
  border-top: 1px solid #edf0ec;
  border-bottom: 1px solid #edf0ec;
  padding: 13px 0;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tag {
  color: #68776e;
  background: #f2f5f0;
  padding: 5px 7px;
  font-size: 10px;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 17px;
}
.risk {
  color: #a37b47;
  font:
    10px "DM Mono",
    monospace;
}
.reserve-button {
  border: 0;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  font-size: 11px;
}
.best .reserve-button {
  background: var(--coral);
}
.reserve-button:hover {
  opacity: 0.8;
}
.reserve-button:disabled {
  background: #d7dfd9;
  color: #718078;
  cursor: not-allowed;
  opacity: 1;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr;
  gap: 25px;
  margin-top: 55px;
}
.section-title {
  align-items: flex-end;
}
.section-title h2 {
  font-size: 17px;
}
.text-button {
  color: var(--green);
}
.upcoming-row {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
}
.date-block {
  border-left: 3px solid #e4b85c;
  padding-left: 9px;
}
.date-block strong,
.date-block small {
  display: block;
}
.date-block strong {
  font: 18px var(--serif);
}
.date-block small {
  color: #8b9790;
  font: 9px "DM Mono";
  margin-top: 2px;
}
.upcoming-row h4 {
  margin: 0 0 5px;
  font-size: 12px;
}
.upcoming-row p {
  margin: 0;
  color: #839087;
  font-size: 10px;
}
.upcoming-status {
  color: var(--green);
  background: #ebf6ec;
  padding: 6px 8px;
  font: 9px "DM Mono";
}
.insight-panel {
  background: #183b32;
  color: white;
  padding: 24px;
  min-height: 210px;
}
.insight-top {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #acd8b6;
}
.insight-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #4d7968;
  border-radius: 50%;
}
.insight-panel h3 {
  font: 400 25px var(--serif);
  margin: 22px 0 9px;
}
.insight-panel p {
  color: #adc3b8;
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
}
.insight-panel strong {
  color: #d5f1da;
}
.mini-bars {
  height: 38px;
  display: flex;
  align-items: end;
  gap: 5px;
  margin-top: 22px;
}
.mini-bars span {
  width: 17px;
  background: #537c6d;
}
.mini-bars .bar-active {
  background: #e8bb5a;
}
.bar-labels {
  display: flex;
  justify-content: space-between;
  width: 145px;
  color: #789b8b;
  font: 8px "DM Mono";
  margin-top: 5px;
}
.hidden-view {
  display: none;
}
.subpage-heading {
  margin-bottom: 35px;
}
.professor-schedule-back {
  margin: 0 0 22px;
  padding: 0;
  color: var(--green);
}
.professor-schedule-back:hover {
  color: #285247;
}
.subpage-heading p:last-child {
  color: #75827b;
}
.reservation-table {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
}
.reservation-table > .table-row {
  grid-template-columns:
    minmax(100px, 1fr)
    minmax(150px, 1.4fr)
    minmax(120px, 1fr)
    minmax(80px, 0.7fr)
    minmax(250px, 2fr);
  min-width: 850px;
}
.reservation-editor {
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  background: #fff;
}
.reservation-editor[hidden] {
  display: none;
}
.reservation-time-guidance {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dfe9df;
  border-radius: 6px;
  background: #f5f8f4;
  color: #64746a;
  font-size: 11px;
  line-height: 1.5;
}
.reservation-editor .reservation-time-guidance {
  margin-top: 2px;
}
.reservation-editor-heading h2 {
  margin: 0;
  font: 400 22px var(--serif);
}
.reservation-editor-heading .kicker {
  margin: 0 0 6px;
}
.reservation-edit-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}
.reservation-edit-form label {
  display: grid;
  gap: 7px;
  color: #68776e;
  font-size: 11px;
  font-weight: 700;
}
.reservation-edit-form input,
.reservation-edit-form select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}
.reservation-editor-actions,
.reservation-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reservation-editor-actions {
  grid-column: 1 / -1;
  padding-top: 4px;
}
.reservation-editor-actions .text-button {
  min-height: 40px;
}
.reservation-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}
.reservation-action-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}
.reservation-action-button:hover {
  transform: translateY(-1px);
}
.reservation-action-button:focus-visible {
  outline: 3px solid #75a987;
  outline-offset: 2px;
}
.reservation-action-button span {
  font-size: 15px;
  line-height: 0.8;
}
.reservation-action-edit {
  border-color: #d7e5d9;
  background: #f2f7f2;
  color: #285247;
}
.reservation-action-edit:hover {
  border-color: #b6d0bb;
  background: #e6f0e7;
}
.reservation-action-complete {
  border-color: #cbe3d1;
  background: #eaf5ed;
  color: #28603b;
}
.reservation-action-complete:hover {
  border-color: #a7d0b1;
  background: #dcefe1;
}
.reservation-action-delete {
  border-color: #efd6d2;
  background: #fff5f3;
  color: #a34436;
}
.reservation-action-delete:hover {
  border-color: #e6b9b1;
  background: #fbe9e6;
}
.edit-button,
.cancel-button {
  padding: 6px 2px;
}
.edit-button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 11px;
}
.reservation-empty-state {
  padding: 24px;
  color: #7e8a83;
  font-size: 12px;
}
#professor-schedule-view .professor-schedule-heading {
  margin-bottom: 24px;
}
#professor-schedule-view .reservation-table {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(22, 47, 37, 0.06);
}
#professor-schedule-view .schedule-table-row {
  grid-template-columns: minmax(130px, 1fr) minmax(180px, 1.4fr) minmax(
      140px,
      1fr
    ) 110px;
  gap: 18px;
  min-height: 64px;
  padding: 17px 22px;
  font-size: 12px;
}
#professor-schedule-view .schedule-table-row.heading {
  min-height: 42px;
  background: #f4f7f4;
  color: #78857d;
}
.approved-professor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 24px;
}
.approved-professor-grid[hidden] {
  display: none;
}
.approved-professor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(22, 47, 37, 0.08);
}
.approved-professor-card.is-selected {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.approved-professor-banner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 100px;
  padding: 12px;
}
.tone-navy .approved-professor-banner {
  background: #203f65;
  color: #dce8f7;
}
.tone-green .approved-professor-banner {
  background: #155238;
  color: #d9f2e3;
}
.tone-coral .approved-professor-banner {
  background: #783e35;
  color: #fae3db;
}
.approved-professor-badge {
  position: relative;
  z-index: 1;
  padding: 5px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  font:
    700 9px "DM Mono",
    monospace;
}
.approved-professor-initials {
  position: absolute;
  top: 13px;
  right: 14px;
  color: rgba(255, 255, 255, 0.2);
  font: 700 42px/1 var(--serif);
}
.approved-professor-details {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.approved-professor-details h3 {
  margin: 0;
  color: var(--ink);
  font:
    600 17px/1.3 "Manrope",
    sans-serif;
  overflow-wrap: anywhere;
}
.approved-professor-details p {
  margin: 0;
  color: #75827b;
  font-size: 12px;
}
.approved-professor-button {
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.approved-professor-button:hover,
.approved-professor-card.is-selected .approved-professor-button {
  background: #285247;
}
.table-row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1.2fr 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #edf0ec;
  font-size: 12px;
}
.table-row:last-child {
  border-bottom: 0;
}
.table-heading {
  color: #91a098;
  font: 10px "DM Mono";
  text-transform: uppercase;
}
.table-room {
  font-weight: 700;
}
.table-muted {
  color: #7e8a83;
  font-size: 11px;
}
.cancel-button {
  border: 0;
  background: transparent;
  color: var(--coral);
  font-size: 11px;
}
.directory-grid {
  display: grid;
  gap: 20px;
}
.directory-plan {
  overflow: hidden;
  border: 1px solid #d9e4db;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(240, 246, 242, 0.95), rgba(232, 240, 234, 0.96)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 24px,
      rgba(67, 99, 82, 0.05) 24px,
      rgba(67, 99, 82, 0.05) 25px
    );
  box-shadow: 0 14px 30px rgba(17, 37, 29, 0.06);
}
.directory-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid #d9e4db;
  background: rgba(255, 255, 255, 0.18);
}
.directory-plan-header h3 {
  margin: 6px 0 0;
  font: 600 20px/1.2 "Manrope", sans-serif;
  color: #162e27;
}
.directory-plan-header span {
  color: #5c7468;
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.directory-floor {
  padding: 18px 20px 20px;
  border-bottom: 1px solid #dfe7e0;
}
.directory-floor:last-child {
  border-bottom: 0;
}
.directory-floor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #5d7168;
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.directory-floor-header strong {
  color: #1f382f;
  font-weight: 700;
}
.directory-floor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.directory-room {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 92px;
  padding: 9px 10px 8px;
  border: 1px solid rgba(55, 78, 69, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  color: #233c34;
  text-align: left;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.directory-room::before {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(38, 62, 55, 0.2);
  border-radius: 7px;
  content: "";
}
.directory-room:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(17, 37, 29, 0.08);
}
.directory-room.available {
  background: rgba(244, 248, 244, 0.7);
}
.directory-room.reserved {
  border-color: rgba(34, 94, 70, 0.6);
  background: linear-gradient(180deg, #dff4e4, #cfe9d7);
}
.directory-room-code,
.directory-room-name,
.directory-room-capacity {
  position: relative;
  z-index: 1;
}
.directory-room-code {
  color: #4d5d59;
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.08em;
}
.directory-room-name {
  font: 600 15px/1.1 "Manrope", sans-serif;
}
.directory-room-capacity {
  color: #5e766e;
  font-size: 10px;
}
.schedule-empty-state {
  padding: 28px 18px;
  border: 1px dashed #d2ddd6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  color: #64736a;
}
.schedule-empty-state h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font: 600 21px/1.2 var(--serif);
}
.schedule-empty-state p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.toast {
  position: fixed;
  z-index: 30;
  right: 25px;
  bottom: 25px;
  background: var(--ink);
  color: white;
  padding: 14px 18px;
  font-size: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: 0.25s;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 72px 1fr;
  }
  .sidebar {
    width: 72px;
    padding-right: 10px;
    padding-left: 10px;
  }
  .sidebar-header {
    flex-direction: column;
    margin: 0 auto 30px;
  }
  .brand {
    margin: 0 auto;
  }
  .brand > span:last-child,
  .eyebrow,
  .nav-item:not(.active)::after,
  .nav-item {
    font-size: 0;
  }
  .nav-item {
    justify-content: center;
    padding: 12px 0;
  }
  .nav-icon {
    font-size: 18px;
  }
  .nav-count,
  .more,
  .status-dot {
    display: none;
  }
  .sidebar-institution {
    display: none;
  }
  .logout-button {
    justify-content: center;
    padding: 9px 0;
  }
  .logout-button > span:last-child {
    display: none;
  }
  .form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reservation-edit-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .subject-group-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .primary-button {
    width: 100%;
  }
  .results-grid,
  .directory-grid,
  .approved-professor-grid {
    grid-template-columns: 1fr;
  }
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .directory-floor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .topbar {
    padding: 0 20px;
  }
  .page-section {
    padding: 32px 20px 45px;
  }
  .hero-row {
    display: block;
  }
  .hero-stat {
    margin-top: 25px;
    width: 160px;
  }
  .hero-row h1 {
    font-size: 44px;
  }
  .booking-panel {
    padding: 19px;
  }
  .subject-group-form,
  .subject-group-card {
    grid-template-columns: 1fr;
  }
  .student-subject-filter {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel-heading {
    align-items: start;
  }
  .live-label {
    font-size: 8px;
    text-align: right;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid label:first-child,
  .form-grid label:nth-child(5),
  .primary-button {
    grid-column: span 2;
  }
  .lower-grid {
    margin-top: 40px;
  }
  .table-row {
    grid-template-columns: 1fr 1fr;
  }
  .reservation-table > .table-row {
    min-width: 0;
  }
  .reservation-table .reservation-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .table-heading {
    display: none;
  }
  .table-row .cancel-button {
    grid-column: 2;
  }
  .subpage-heading h1 {
    font-size: 44px;
  }
}
.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: #f7f8f4;
}
.auth-screen.signup-mode {
  overflow-y: auto;
  align-content: start;
}
.auth-screen.signup-mode .auth-panel {
  align-self: start;
  margin: 32px auto;
}
.auth-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 54% 46%, rgba(198, 163, 74, 0.16), transparent 16rem),
    linear-gradient(145deg, #17372e 0%, #205b3c 100%);
  color: #eaf4ea;
  padding: 8vh 8vw;
  display: flex;
  align-items: flex-end;
}
.auth-art:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid #4b7567;
  border-radius: 50%;
  top: 10%;
  left: 12%;
  opacity: 0.7;
}
.auth-orbit {
  position: absolute;
  border: 1px solid #6a9782;
  border-radius: 50%;
  opacity: 0.45;
}
.orbit-one {
  width: 360px;
  height: 360px;
  top: 20%;
  left: 22%;
  transform: rotate(35deg) skewY(-10deg);
}
.orbit-two {
  width: 190px;
  height: 190px;
  top: 36%;
  left: 42%;
  border-color: var(--gold);
}
.auth-mark {
  position: absolute;
  top: 19%;
  left: 31%;
  width: min(34vw, 270px);
  aspect-ratio: 1;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 48px rgba(5, 25, 16, 0.25), 0 0 0 8px rgba(198, 163, 74, 0.2);
  object-fit: cover;
}
.auth-art-label {
  position: relative;
  margin: 0;
  font:
    500 11px/1.8 "DM Mono",
    monospace;
  letter-spacing: 2px;
  color: #a9c7b6;
}
.auth-art-label strong {
  font:
    700 26px "Manrope",
    sans-serif;
  letter-spacing: 5px;
  color: #fff;
}
.auth-institution-logos {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
}
.auth-institution-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 10px 7px 7px;
  border: 1px solid #e6ebe3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #496153;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.auth-institution-logo img {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.auth-panel {
  width: min(430px, 88%);
  align-self: center;
  justify-self: center;
}
.auth-heading h1 {
  margin: 0;
  font: 400 48px/1 var(--serif);
  letter-spacing: -2px;
}
.auth-heading .kicker {
  color: var(--green);
  font-weight: 700;
}
.auth-heading > p:last-child {
  color: #7b8881;
  font-size: 13px;
  margin: 15px 0 32px;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 25px;
  margin-bottom: 24px;
}
.auth-tab {
  border: 0;
  background: transparent;
  padding: 0 0 12px;
  color: #98a39d;
  font-size: 12px;
}
.auth-tab.active {
  color: var(--ink);
  border-bottom: 2px solid var(--coral);
  font-weight: 700;
}
.auth-field {
  display: block;
  color: #718078;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.auth-field input,
.auth-field select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 12px;
  border: 1px solid #d5ded6;
  background: #fff;
  border-radius: 3px;
  color: var(--ink);
  outline-color: var(--green);
  font-size: 12px;
  text-transform: none;
  font-weight: 500;
}
.password-hint {
  display: block;
  color: #7b8881;
  font-size: 10px;
  line-height: 1.5;
  margin: -8px 0 16px;
}
.password-requirements {
  display: grid;
  gap: 5px;
}
.password-requirement {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7b8881;
}
.password-requirement-check {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid #aeb9b1;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.password-requirement.is-met {
  color: #287044;
}
.password-requirement.is-met .password-requirement-check {
  border-color: #287044;
  background: #e6f3e9;
}
.captcha-panel {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 4px 0 12px;
}
.captcha-panel .auth-field {
  flex: 1;
  margin: 0;
}
.captcha-panel .auth-field span {
  margin-left: 5px;
  color: #287044;
  font-weight: 700;
}
.captcha-refresh {
  width: 42px;
  height: 42px;
  border: 1px solid #d5ded6;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}
.captcha-refresh:disabled {
  opacity: 0.6;
}
.admin-restore-card {
  margin-top: 24px;
  padding: 22px;
}
.history-sort-note {
  margin: -12px 0 16px;
  color: #78847f;
  font-size: 11px;
}
.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}
.dashboard-heading h1 {
  margin: 4px 0 6px;
  font: 400 clamp(28px, 4vw, 40px) var(--serif);
}
.dashboard-heading p:last-child {
  margin: 0;
  color: #75827b;
  font-size: 12px;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
body.role-admin .dashboard-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.dashboard-stat-card,
.dashboard-summary-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(24, 49, 34, 0.035);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.dashboard-stat-card:hover,
.dashboard-summary-card:hover {
  transform: translateY(-2px);
  border-color: #cbd9ca;
  box-shadow: 0 10px 24px rgba(24, 49, 34, 0.07);
}
.dashboard-stat-card {
  display: grid;
  gap: 8px;
}
.dashboard-stat-card > span {
  color: #6d7b73;
  font-size: 11px;
  font-weight: 700;
}
.dashboard-stat-card > strong {
  color: var(--ink);
  font: 600 30px var(--serif);
}
.dashboard-stat-card > small {
  color: #89948e;
  font-size: 10px;
  line-height: 1.5;
}
.dashboard-admin-actions {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #ead8c7;
  border-left: 4px solid #d88764;
  border-radius: 4px;
  background: #fffaf5;
}
.dashboard-admin-actions[hidden] {
  display: none;
}
.dashboard-admin-actions-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.dashboard-admin-actions-heading .kicker {
  margin: 0 0 5px;
}
.dashboard-admin-actions-heading h2 {
  margin: 0;
  color: var(--ink);
  font: 400 20px var(--serif);
}
.dashboard-admin-actions-heading h2 span {
  display: inline-grid;
  min-width: 25px;
  min-height: 25px;
  margin-left: 5px;
  padding: 2px 6px;
  place-items: center;
  border-radius: 20px;
  background: #f3e4d7;
  color: #9c573b;
  font: 700 12px Manrope, sans-serif;
}
.dashboard-pending-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.dashboard-pending-item {
  display: grid;
  gap: 4px;
  padding: 11px;
  border: 1px solid #f0e5da;
  border-radius: 3px;
  background: #fff;
}
.dashboard-pending-item strong {
  color: var(--ink);
  font-size: 11px;
}
.dashboard-pending-item span,
.dashboard-pending-item small {
  color: #78847f;
  font-size: 10px;
  line-height: 1.4;
}
.dashboard-charts,
.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.dashboard-charts .analytics-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(24, 49, 34, 0.035);
}
.dashboard-charts canvas {
  display: block;
  width: 100%;
}
.dashboard-summary-card h2 {
  margin: 0 0 12px;
  font: 400 19px var(--serif);
}
.dashboard-list {
  display: grid;
  gap: 10px;
}
.dashboard-list-item {
  display: grid;
  gap: 4px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf0ed;
  font-size: 11px;
}
.dashboard-list-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.dashboard-list-item strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.dashboard-list-item span,
.dashboard-list-item small,
.dashboard-empty {
  margin: 0;
  color: #78847f;
  font-size: 10px;
  line-height: 1.5;
}
.dashboard-status-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #edf0ed;
  color: #68776e;
  font-size: 11px;
}
.dashboard-status-item:last-child {
  border-bottom: 0;
}
.dashboard-status-item strong {
  color: #9a6d2d;
  text-transform: capitalize;
}
.dashboard-status-item strong.status-online {
  color: #287044;
}
.admin-restore-card > p:not(.kicker) {
  max-width: 760px;
  color: #78847f;
  font-size: 12px;
  line-height: 1.6;
}
.admin-audit-panel {
  margin: 22px 0;
  padding: 20px;
}
.admin-audit-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.admin-audit-heading .kicker {
  margin: 0 0 5px;
  color: var(--green);
}
.admin-audit-heading h2 {
  margin: 0 0 5px;
  color: var(--ink);
  font: 400 22px var(--serif);
}
.admin-audit-heading p:last-child {
  margin: 0;
  color: #78847f;
  font-size: 11px;
  line-height: 1.5;
}
.admin-audit-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
}
.admin-audit-filters label {
  display: grid;
  flex: 1 1 145px;
  gap: 5px;
  color: #68776e;
  font-size: 10px;
  font-weight: 700;
}
.admin-audit-filters input,
.admin-audit-filters select {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #d5ded6;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
.admin-audit-table-wrap {
  overflow: auto;
  max-height: 440px;
  border: 1px solid #e4e9e3;
  border-radius: 4px;
}
.admin-audit-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 10px;
  text-align: left;
}
.admin-audit-table th,
.admin-audit-table td {
  padding: 10px 11px;
  border-bottom: 1px solid #edf0ed;
  white-space: nowrap;
}
.admin-audit-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #edf4ed;
  color: #355443;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.admin-audit-table tbody tr:hover {
  background: #f7faf6;
}
.admin-audit-table tbody td:nth-child(3) {
  color: #205b3c;
  font-weight: 700;
}
.admin-audit-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
  color: #78847f;
  font-size: 10px;
}
.admin-audit-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.restore-file-label {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 16px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.restore-file-label input {
  width: 100%;
  padding: 10px;
  border: 1px solid #d5ded6;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
.restore-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.restore-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.restore-status {
  margin-bottom: 0;
}
.restore-status[data-state="error"] {
  color: #a33b32;
}
.restore-status[data-state="success"] {
  color: #287044;
}
.dashboard-range-filter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #66746d;
  font-size: 11px;
}
.dashboard-range-filter[hidden],
.admin-users-panel[hidden],
.admin-password-panel[hidden] {
  display: none;
}
.dashboard-range-filter select,
.admin-reservation-filters input,
.admin-reservation-filters select,
.admin-users-heading input,
.admin-user-row select,
.admin-password-form input {
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #d5ded6;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.admin-reservation-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.admin-reservation-filters label,
.admin-users-heading label,
.admin-user-row label,
.admin-password-form label {
  display: grid;
  gap: 6px;
  color: #68776e;
  font-size: 11px;
  font-weight: 700;
}
.admin-reservation-filters label:first-child {
  flex: 1;
}
.admin-reservation-filters label:not(:first-child) {
  min-width: 130px;
}
.admin-reservation-filters .admin-active-filter {
  display: grid;
  min-width: 190px;
  gap: 5px;
  color: #52635a;
  font-size: 11px;
  font-weight: 700;
}
.admin-active-filter > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.admin-active-filter input {
  width: 16px;
  height: 16px;
  min-height: 0;
  accent-color: var(--green);
}
.admin-active-filter small {
  color: #78847f;
  font-size: 9px;
  font-weight: 500;
}
.admin-reservation-filters #admin-clear-reservation-filters {
  min-height: 36px;
}
.admin-report-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #dfe8de;
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: linear-gradient(110deg, #f8fbf6, #fff);
}
.admin-report-tools .kicker {
  margin: 0 0 5px;
  color: var(--green);
}
.admin-report-tools h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font: 400 20px var(--serif);
}
.admin-report-tools p:last-child {
  margin: 0;
  color: #78847f;
  font-size: 10px;
  line-height: 1.5;
}
.admin-report-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}
.admin-report-actions label {
  display: grid;
  min-width: 190px;
  gap: 6px;
  color: #68776e;
  font-size: 10px;
  font-weight: 700;
}
.admin-report-actions select {
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #d5ded6;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.admin-report-actions .primary-button {
  min-height: 36px;
  height: auto;
}
.admin-reservation-row {
  grid-template-columns: minmax(100px, 1fr) minmax(150px, 1.2fr) minmax(100px, 1fr) 78px 88px minmax(135px, 1.1fr);
  gap: 10px;
}
.admin-review-actions {
  display: grid;
  grid-template-columns: minmax(100px, 1fr);
  gap: 5px;
}
.admin-review-actions > div {
  display: flex;
  gap: 5px;
}
.admin-review-actions input {
  width: 100%;
  min-width: 0;
  padding: 5px 6px;
  border: 1px solid #d5ded6;
  border-radius: 3px;
  font: 10px Manrope, sans-serif;
}
.admin-review-actions button {
  padding: 6px 8px;
  font-size: 10px;
}
.admin-review-actions button:disabled {
  opacity: 0.6;
}
.admin-review-note {
  overflow: hidden;
  color: #78847f;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-filter-empty {
  padding: 18px;
}
.admin-users-panel,
.admin-password-panel {
  margin-top: 20px;
  padding: 18px;
}
.admin-users-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
}
.admin-users-heading h2,
.admin-password-panel h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font: 400 21px var(--serif);
}
.admin-users-heading p:last-child {
  max-width: 640px;
  margin: 0;
  color: #78847f;
  font-size: 11px;
  line-height: 1.5;
}
.admin-users-heading label {
  min-width: min(250px, 100%);
}
.admin-users-list {
  display: grid;
  gap: 8px;
}
.admin-user-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(130px, 180px) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #edf0ed;
  border-radius: 3px;
}
.admin-user-row > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.admin-user-row > div strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 11px;
}
.account-approval-status {
  width: fit-content;
  padding: 3px 6px;
  border-radius: 3px;
  background: #edf2ee;
  color: #52625a !important;
  text-transform: capitalize;
}
.account-approval-status.pending {
  background: #fff4d8;
  color: #805c0b !important;
}
.account-approval-status.rejected {
  background: #fce9e5;
  color: #9c3d2c !important;
}
.admin-user-approval-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.admin-user-row > div span,
.admin-user-row > div small {
  overflow-wrap: anywhere;
  color: #78847f;
  font-size: 10px;
}
.admin-user-row > button:disabled,
.admin-user-row select:disabled {
  opacity: 0.55;
}
.admin-password-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}
.admin-password-form p {
  grid-column: 1 / -1;
  margin: 0;
  color: #78847f;
  font-size: 10px;
}
.auth-submit {
  width: 100%;
  height: 45px;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}
.auth-submit:hover {
  background: #17452e;
  box-shadow: 0 5px 16px rgba(32, 91, 60, 0.16);
}
.auth-submit span:last-child {
  font-size: 18px;
}
.demo-accounts {
  border-top: 1px solid var(--line);
  margin-top: 29px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.demo-accounts span {
  width: 100%;
  color: #a0aaa5;
  font:
    9px "DM Mono",
    monospace;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.demo-accounts button {
  border: 1px solid #d5ded6;
  background: transparent;
  color: var(--green);
  padding: 7px 10px;
  font-size: 10px;
}
.demo-accounts button:hover {
  background: #e7f3e8;
}
.auth-note {
  color: #9aa59f;
  font-size: 10px;
  margin-top: 20px;
}
.hidden-field {
  display: none;
}
.role-nav,
.admin-nav {
  display: none;
}
.schedule-toolbar {
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
  padding: 15px 20px;
  color: #728078;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.schedule-legend {
  display: flex;
  gap: 8px;
  align-items: center;
  font:
    10px "DM Mono",
    monospace;
}
.schedule-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
}
.legend-confirmed {
  background: var(--coral);
}
.legend-pending {
  background: #d3a742;
}
.legend-completed {
  background: #54856b;
}
.legend-cancelled {
  background: #9a6b69;
}
.schedule-table-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr 1.2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #edf0ec;
  font-size: 11px;
}
.schedule-table-row:last-child {
  border-bottom: 0;
}
.schedule-table-row.heading {
  color: #91a098;
  font:
    10px "DM Mono",
    monospace;
  text-transform: uppercase;
}
.booking-owner {
  font-weight: 700;
}
.owner-role {
  color: #87938c;
  font-size: 10px;
  display: block;
  margin-top: 3px;
}
.reservation-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cohort-details {
  display: block;
  flex-basis: 100%;
  margin-top: 3px;
  color: #748179;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}
.reservation-source:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #82c795;
}
.reservation-source.professor:before {
  background: var(--coral);
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.admin-metrics div {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 20px;
}
.admin-metrics strong,
.admin-metrics span {
  display: block;
}
.admin-metrics strong {
  font: 400 32px var(--serif);
  color: var(--green);
}
.admin-metrics span {
  color: #7c8981;
  font-size: 10px;
  margin-top: 4px;
}
.reset-password-trigger {
  margin: 12px 0 0;
  padding: 0;
}
.password-reset-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.password-reset-form .auth-submit {
  margin-top: 0;
}
.calendar-controls,
.analytics-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 0 10px;
}
.calendar-controls {
  flex-wrap: wrap;
  justify-content: flex-start;
}
.calendar-period-button {
  border: 0;
  padding: 6px 10px;
  border-radius: 7px;
  background: #edf3ee;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.calendar-period-button:hover,
.calendar-period-button:focus-visible {
  background: #dfeae1;
}
.department-calendar {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}
.calendar-grid {
  display: grid;
  grid-template-columns: 58px repeat(7, minmax(100px, 1fr));
  min-width: 760px;
}
.calendar-time-column,
.calendar-day-heading,
.calendar-hour,
.calendar-slot {
  border-right: 1px solid #edf0ec;
  border-bottom: 1px solid #edf0ec;
}
.calendar-day-heading {
  height: 54px;
  padding: 7px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}
.calendar-day-heading strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
}
.calendar-hour,
.calendar-slot {
  height: 66px;
}
.calendar-hour {
  padding: 5px;
  color: var(--muted);
  font: 9px "DM Mono", monospace;
  text-align: right;
}
.calendar-slot {
  position: relative;
}
.calendar-event {
  position: absolute;
  z-index: 1;
  left: 3px;
  right: 3px;
  overflow: hidden;
  border-left: 3px solid var(--coral);
  border-radius: 4px;
  padding: 4px;
  background: #fff0ec;
  color: #793f32;
  font-size: 9px;
  line-height: 1.35;
}
.calendar-event-professor,
.calendar-event-details {
  display: block;
}
.calendar-event-professor {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-event-details {
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-event.pending {
  border-color: #d3a742;
  background: #fff8df;
}
.calendar-event.completed,
.calendar-month-event.completed {
  border-color: #54856b;
  background: #eaf5ed;
  color: #315b40;
}
.calendar-event.cancelled,
.calendar-event.rejected,
.calendar-month-event.cancelled,
.calendar-month-event.rejected {
  border-color: #9a6b69;
  background: #f5ebea;
  color: #72504e;
}
.calendar-month-grid {
  min-width: 700px;
}
.calendar-month-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-month-heading {
  padding: 10px 6px;
  background: #f7f9f6;
  color: var(--muted);
  font: 10px "DM Mono", monospace;
  text-align: center;
  text-transform: uppercase;
}
.calendar-month-header {
  background: #f7f9f6;
}
.calendar-month-day {
  min-height: 92px;
  padding: 7px;
  border: 0;
  border-right: 1px solid #edf0ec;
  border-top: 1px solid #edf0ec;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.calendar-month-day:hover,
.calendar-month-day:focus-visible {
  background: #f1f7f2;
  outline: 2px solid #9bb9a2;
  outline-offset: -2px;
}
.calendar-month-day.outside-month {
  background: #f8f9f7;
  color: #a4ada6;
}
.calendar-month-date {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 700;
}
.calendar-month-event {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  padding: 3px 4px;
  border-left: 2px solid var(--coral);
  border-radius: 3px;
  background: #fff0ec;
  color: #793f32;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-month-event.pending {
  border-color: #d3a742;
  background: #fff8df;
  color: #715d25;
}
.calendar-month-more {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}
.calendar-week-history {
  padding: 17px;
  border-top: 1px solid var(--line);
  background: #fbfcfa;
}
.calendar-week-history h2 {
  margin: 0 0 10px;
  color: var(--green);
  font: 400 20px var(--serif);
}
.calendar-week-history-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  width: 100%;
  padding: 10px 4px;
  border: 0;
  border-top: 1px solid #edf0ec;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.calendar-week-history-row:hover,
.calendar-week-history-row:focus-visible {
  color: var(--green);
}
.calendar-week-history-row strong {
  color: var(--green);
}
.conflict-suggestions {
  margin: 14px 0;
  padding: 18px;
  border: 1px solid #f0c2b7;
  border-radius: 10px;
  background: #fff8f6;
}
.conflict-suggestions h3 {
  margin: 0 0 12px;
  font-size: 14px;
}
.conflict-suggestion-list {
  display: grid;
  gap: 8px;
}
.conflict-suggestion-list article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 11px;
}
.analytics-toolbar {
  margin-top: 28px;
}
.analytics-toolbar .kicker {
  margin: 0;
}
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.analytics-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(24, 49, 34, 0.035);
}
.analytics-card h2 {
  margin: 0 0 12px;
  font: 400 18px var(--serif);
}
.analytics-card canvas {
  display: block;
  width: 100%;
}
@media (max-width: 700px) {
  .prd-layout {
    grid-template-columns: 1fr;
  }
  .prd-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .prd-toc strong {
    grid-column: 1 / -1;
  }
  .prd-content {
    padding: 20px 16px;
  }
  .admin-audit-panel {
    padding: 14px;
  }
  .admin-audit-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-audit-filters label {
    flex-basis: 100%;
  }
  .admin-report-tools,
  .admin-report-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-report-actions label {
    min-width: 0;
  }
  .admin-report-actions .primary-button {
    width: 100%;
  }
  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.role-admin .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-charts,
  .dashboard-summary-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-stat-card {
    padding: 14px;
  }
  .dashboard-stat-card > strong {
    font-size: 25px;
  }
  .auth-screen {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-panel {
    width: calc(100% - 40px);
  }
  .schedule-toolbar {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .schedule-table-row {
    grid-template-columns: 1fr 1fr;
  }
  .schedule-table-row.heading {
    display: none;
  }
  .schedule-table-row > *:nth-child(3) {
    display: none;
  }
  .admin-reservation-row {
    grid-template-columns: 1fr 1fr;
  }
  .admin-reservation-row > *:nth-child(4) {
    display: none;
  }
  .admin-reservation-filters,
  .admin-users-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-user-row {
    grid-template-columns: 1fr 1fr;
  }
  .admin-password-form {
    grid-template-columns: 1fr;
  }
  .admin-password-form p {
    grid-column: auto;
  }
  .student-dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .student-dashboard-heading-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .student-access-row {
    grid-template-columns: 1fr auto;
  }
  .student-access-row small {
    grid-column: 1 / -1;
  }
  .admin-metrics {
    grid-template-columns: 1fr;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .conflict-suggestion-list article {
    align-items: flex-start;
    flex-direction: column;
  }
}
