:root {
  /* Colorado-inspired identity, independent of State of Colorado / CDE marks. */
  --bg: #f7f8fa;
  --paper: #ffffff;
  --surface: #fdfdfe;
  --surface-soft: #f0f2f5;
  --blue-tint: #e0eafa;
  --ink: #1c2e49;
  --muted: #53657c;
  --line: #dce0e6;
  --border-strong: #8b9eb9;
  --primary: #294f8a;
  --primary-strong: #1c345e;
  --on-dark: #dce8fa;
  --gold: #efc565;
  --accent: #b33242;
  --accent-strong: #8f2635;
  --accent-tint: #faedef;
  --red: #a63843;
  --danger-bg: #faeaec;
  --amber: #795716;
  --warning-bg: #fcf3df;
  --success: #246249;
  --success-bg: #e8f3ed;
  --chart-empty: #e7edf5;
  --chart-track: #45618c;
  --mountain-sky: #dce8f8;
  --mountain-far: #b7cce9;
  --mountain-near: #8eaed6;
  --demo-text: #38557f;
  --shadow-soft: #1c345e0c;
  --shadow: #1c345e22;
  --overlay: #15274466;
  --radius: 12px;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled,
[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 650;
  margin-bottom: 10px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  font-weight: 650;
  margin-bottom: 6px;
}
h3 {
  font-size: 15px;
  margin-bottom: 5px;
}
p {
  margin-bottom: 15px;
}
small,
.tiny {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--muted);
  margin-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.9px;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: inline-block;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: url("/brand-mark.svg") center / contain no-repeat;
  border-radius: 10px;
}

.brand-dot {
  color: var(--red);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 11px 17px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover {
  background: var(--surface-soft);
  text-decoration: none;
}
.btn.primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn.primary:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}
.btn.small {
  padding: 8px 12px;
}
.btn.danger {
  color: var(--red);
}
.btn.ghost {
  background: transparent;
}
.wide {
  width: 100%;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.icon {
  height: 18px;
  width: 18px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-button {
  background: transparent;
  border: 0;
  padding: 7px;
  border-radius: 6px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button:hover {
  background: var(--surface-soft);
  color: var(--ink);
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  z-index: 1000;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.loading {
  margin: 70px;
  text-align: center;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 225px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.workspace-switch {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 3px 28px;
  background: white;
}
.workspace-switch .square {
  width: 29px;
  height: 29px;
  background: var(--surface-soft);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--primary);
}
.workspace-switch strong {
  font-size: 11px;
  display: block;
}
.workspace-switch small {
  font-size: 10px;
  color: var(--muted);
}
.nav-label {
  padding: 0 12px;
  margin: 20px 0 10px;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
  font-weight: 700;
}
.nav-item {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 13px;
  margin: 3px 0;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
  text-decoration: none;
}
.nav-item:hover {
  background: var(--surface-soft);
  text-decoration: none;
}
.nav-item.active {
  background: var(--blue-tint);
  color: var(--primary-strong);
  font-weight: 650;
}
.nav-item .count {
  margin-left: auto;
  font-size: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 5px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-callout {
  margin: 28px 3px 20px;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.sidebar-callout p {
  font-size: 11px;
  margin: 7px 0;
  color: var(--muted);
}
.sidebar-callout strong {
  font-size: 11px;
}
.sidebar-callout a {
  font-size: 11px;
  font-weight: 600;
}
.user-card {
  border-top: 1px solid var(--line);
  padding: 18px 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-card strong {
  font-size: 11px;
  display: block;
}
.user-card small {
  font-size: 9px;
  color: var(--muted);
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.3px;
}
.avatar.dark {
  background: var(--blue-tint);
  color: var(--primary);
}
.main-shell {
  margin-left: 225px;
  width: calc(100% - 225px);
}
.topbar {
  height: 74px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 13px;
}
.breadcrumbs strong {
  font-weight: 500;
  color: var(--ink);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.year-pill {
  font-size: 11px;
  border-right: 1px solid var(--line);
  padding-right: 18px;
  color: var(--muted);
}
.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 5px;
  padding: 4px 7px;
  color: var(--demo-text);
  font-size: 9px;
}
.demo-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}
.content {
  max-width: 1600px;
  margin: auto;
  padding: 33px 36px 45px;
}
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.heading-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.greeting {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-select {
  font-size: 11px;
  min-width: 133px;
  max-width: 240px;
  padding: 9px 30px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--surface);
}
.filter-caption {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 24px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px 20px;
  position: relative;
}
.metric .metric-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.metric strong {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  display: block;
  line-height: 1.2;
}
.metric .metric-foot {
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.metric.selected {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.metric.selected .metric-label {
  color: var(--muted);
}
.metric.selected .metric-foot {
  color: var(--muted);
}
.metric.selected .icon {
  color: var(--primary);
}
.metric-track {
  height: 3px;
  background: var(--chart-empty);
  border-radius: 10px;
  margin-top: 15px;
}
.metric-track > span {
  height: 100%;
  background: var(--gold);
  display: block;
  border-radius: 10px;
}
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}
.panel-pad {
  padding: 23px;
}
.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 23px 14px;
}
.panel-header p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.text-link {
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}
.legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 2px;
  background: var(--primary);
}
.dot.pending {
  background: var(--gold);
}
.dot.missing {
  background: var(--chart-empty);
}
.chart {
  padding: 14px 23px 15px;
}
.chart-row {
  display: grid;
  grid-template-columns: 51px 1fr 40px;
  align-items: center;
  gap: 18px;
  margin: 21px 0;
  font-size: 11px;
  color: var(--muted);
}
.stacked-bar {
  height: 25px;
  display: flex;
  overflow: hidden;
  background: var(--chart-empty);
  border-radius: 4px;
}
.stacked-bar > span {
  height: 100%;
  display: block;
  background: var(--primary);
}
.stacked-bar > span:nth-child(2) {
  background: var(--gold);
}
.stacked-bar > span:nth-child(3) {
  background: var(--chart-empty);
}
.chart-row strong {
  font-size: 12px;
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}
.panel-foot {
  border-top: 1px solid var(--line);
  padding: 13px 23px;
  color: var(--muted);
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.queue-item {
  display: flex;
  gap: 13px;
  padding: 14px 23px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.queue-item:last-child {
  border: 0;
}
.queue-icon {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  background: var(--warning-bg);
  color: var(--amber);
  display: grid;
  place-items: center;
}
.queue-icon.red {
  background: var(--danger-bg);
  color: var(--red);
}
.queue-item strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
}
.queue-item small {
  color: var(--muted);
  font-size: 10px;
}
.queue-item .queue-number {
  margin-left: auto;
  font-size: 21px;
  letter-spacing: -0.5px;
  color: var(--muted);
}
.support-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 4px 23px 19px;
  padding: 14px;
  background: var(--surface-soft);
  border-radius: 7px;
}
.support-strip strong {
  font-size: 11px;
  display: block;
}
.support-strip small {
  font-size: 10px;
  color: var(--muted);
}
.support-strip .icon {
  color: var(--primary);
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
}
th {
  font-size: 9px;
  letter-spacing: 0.6px;
  color: var(--muted);
  font-weight: 550;
  text-transform: uppercase;
  background: var(--surface);
  white-space: nowrap;
}
th,
td {
  text-align: left;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  color: var(--muted);
}
td strong {
  font-size: 11px;
  color: var(--ink);
  font-weight: 550;
}
.student-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.student-name {
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0;
  text-align: left;
}
.student-name:hover {
  text-decoration: underline;
}
.student-cell small {
  font-size: 9px;
  display: block;
  margin-top: 2px;
  color: var(--muted);
}
.status {
  border-radius: 5px;
  font-size: 9px;
  padding: 4px 7px;
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  background: var(--warning-bg);
  color: var(--amber);
}
.status.reviewed,
.status.complete {
  background: var(--success-bg);
  color: var(--success);
}
.status.missing {
  background: var(--danger-bg);
  color: var(--red);
}
.status.not_applicable {
  background: var(--chart-empty);
  color: var(--muted);
}
.status.pending {
  background: var(--warning-bg);
  color: var(--amber);
}
.mini-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-progress .track {
  width: 65px;
  height: 4px;
  border-radius: 5px;
  background: var(--surface-soft);
  overflow: hidden;
}
.mini-progress .track > i {
  display: block;
  background: var(--primary);
  height: 100%;
}
.row-arrow {
  color: var(--muted);
}
.notice {
  padding: 15px 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 8px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 11px;
}
.notice strong {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.notice p {
  margin: 3px 0 0;
  font-size: 10px;
}
.notice .icon {
  margin-top: 2px;
}
.notice a {
  margin-left: auto;
  align-self: center;
  font-size: 10px;
  white-space: nowrap;
}
.search {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 210px;
  background: white;
}
.page-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.subtabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 20px 0;
}
.subtabs button {
  border: 0;
  background: none;
  padding: 12px 0;
  font-size: 12px;
  color: var(--muted);
}
.subtabs button.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.empty {
  text-align: center;
  padding: 50px;
  color: var(--muted);
  font-size: 12px;
}
.requirement-card {
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.requirement-card:last-child {
  border-bottom: 0;
}
.domain {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 650;
  flex-shrink: 0;
}
.requirement-card p {
  font-size: 11px;
  margin: 5px 0;
  color: var(--muted);
}
.requirement-card .actions {
  margin-left: auto;
}
.requirement-card .detail {
  flex: 1;
}
.source-tag {
  color: var(--muted);
  font-size: 9px;
  display: inline-flex;
  border: 1px solid var(--line);
  padding: 2px 5px;
  border-radius: 4px;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 40;
}
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(720px, 96vw);
  background: var(--surface);
  z-index: 41;
  box-shadow: -15px 0 70px var(--shadow-soft);
  overflow-y: auto;
}
.drawer-head {
  padding: 27px 30px 20px;
  border-bottom: 1px solid var(--line);
  background: white;
  position: sticky;
  top: 0;
  z-index: 2;
}
.drawer-head .actions {
  justify-content: space-between;
  margin-bottom: 20px;
}
.drawer-title {
  display: flex;
  gap: 16px;
  align-items: center;
}
.drawer-title .avatar {
  height: 44px;
  width: 44px;
  font-size: 14px;
}
.drawer-title h1 {
  font-size: 25px;
  margin-bottom: 3px;
}
.drawer-title p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.drawer-body {
  padding: 0 30px 35px;
}
.drawer-section {
  margin: 20px 0;
}
.drawer-section p {
  font-size: 12px;
  color: var(--muted);
}
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.summary-card {
  padding: 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.summary-card strong {
  font-size: 15px;
}
.summary-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 7px;
}
.drawer .requirement-card {
  padding: 15px;
}
.drawer .requirement-card h3 {
  font-size: 12px;
}
.drawer .requirement-card p {
  font-size: 10px;
}
.drawer .requirement-card .btn {
  padding: 7px 10px;
  font-size: 10px;
}
.drawer .requirement-card .actions {
  gap: 5px;
  flex-direction: column;
  align-items: flex-end;
}
.source-note {
  font-size: 10px;
  color: var(--muted);
  padding: 11px 0;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px;
  width: min(550px, 94vw);
  max-height: 90vh;
  overflow: auto;
  color: var(--ink);
  box-shadow: 0 25px 100px var(--shadow);
}
dialog::backdrop {
  background: var(--overlay);
}
dialog h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
dialog p {
  font-size: 12px;
  color: var(--muted);
}
label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin: 14px 0;
  color: var(--muted);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: white;
}
textarea {
  min-height: 80px;
  resize: vertical;
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 22px;
}
/* Guidance stays beside the field; only the optional builder expands. */
dialog label {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
}
dialog input,
dialog select,
dialog textarea {
  font-size: 16px;
}
dialog > form > p {
  font-size: 14px;
}
.entry-field {
  margin: 20px 0;
}
.entry-field > label {
  margin-top: 0;
}
dialog .entry-hint {
  font-size: 14px;
  line-height: 1.5;
  margin: 7px 0 10px;
  color: var(--muted);
}
.entry-help {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.entry-help > summary {
  padding: 10px 12px;
  cursor: pointer;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}
.entry-help-kind {
  display: block;
  margin: 2px 0 0 16px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.entry-help-content {
  padding: 0 12px 12px;
}
dialog .entry-help-content p,
.entry-questions {
  font-size: 14px;
  color: var(--muted);
}
dialog .entry-advisory,
dialog .entry-sources {
  font-size: 13px;
  margin: 10px 0;
}
.entry-example {
  padding: 10px 12px;
  border-left: 3px solid var(--primary);
  background: white;
  border-radius: 3px;
  font-size: 14px;
}
.entry-example p {
  margin: 5px 0 0;
}
.entry-questions {
  padding-left: 20px;
}
.entry-questions li + li {
  margin-top: 6px;
}
.entry-builder label {
  margin-top: 16px;
}
.entry-builder input::placeholder {
  color: var(--muted);
}
dialog .entry-preview-label {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}
.entry-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 6px;
  background: white;
  font-size: 14px;
}
.entry-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.entry-buttons [hidden] {
  display: none;
}
dialog .entry-builder-message {
  color: var(--primary);
  font-size: 14px;
}
.entry-sources a {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-error {
  color: var(--red);
  font-size: 12px;
  margin: 10px 0;
}
.badge-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 12px;
}
.export-preview {
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px;
  background: white;
  margin-top: 16px;
}
.export-preview h1 {
  font-size: 23px;
}
.export-preview h2 {
  font-size: 14px;
}
.export-preview p {
  font-size: 11px;
}
.export-preview table {
  font-size: 9px;
}
.export-preview th,
.export-preview td {
  padding: 6px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 30px var(--shadow);
  font-size: 12px;
  z-index: 100;
  display: none;
}
#toast.visible {
  display: block;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.privacy-banner {
  background: var(--primary-strong);
  color: var(--on-dark);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 22px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.privacy-banner h2 {
  color: white;
  font-size: 22px;
}
.privacy-banner p {
  font-size: 12px;
  margin: 0;
  color: var(--on-dark);
}
.privacy-banner .icon {
  width: 30px;
  height: 30px;
  color: var(--on-dark);
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  margin: 14px 0;
  color: var(--muted);
}
.check-row .icon {
  color: var(--primary);
}
.audit-row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 15px;
  font-size: 11px;
}
.audit-row time {
  font-size: 10px;
  color: var(--muted);
  min-width: 100px;
}
.billing-card {
  background: white;
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 12px;
  max-width: 700px;
  margin: 20px auto;
}
.billing-card h1 {
  font-size: 30px;
}
.billing-card ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}
.mobile-menu,
.mobile-nav-close {
  display: none;
}
.marketing {
  background: var(--bg);
}
.marketing-nav {
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 60px;
  border-bottom: 1px solid var(--line);
}
.marketing-nav > div {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}
.marketing main {
  max-width: 1400px;
  margin: auto;
}
.hero {
  padding: 80px 60px 90px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.hero h1 {
  font-size: 64px;
  font-weight: 550;
  letter-spacing: -3px;
  line-height: 1.06;
}
.hero em {
  font-style: normal;
  color: var(--primary);
}
.hero-copy {
  max-width: 400px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 24px 0;
}
.hero .actions {
  margin: 28px 0 17px;
}
.hero-preview {
  border-radius: 13px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 12px 35px var(--shadow-soft);
  transform: none;
}
.preview-top {
  background: #fff;
  padding: 19px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
}
.preview-top .brand-mark {
  width: 24px;
  height: 25px;
  font-size: 21px;
}
.live-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-left: auto;
}
.preview-body {
  padding: 30px 26px 0;
}
.preview-body h2 {
  font-size: 33px;
  line-height: 1.15;
  font-weight: 550;
}
.preview-stats {
  display: flex;
  gap: 23px;
  margin: 28px 0;
}
.preview-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 450;
  color: var(--primary);
}
.preview-stats span {
  font-size: 10px;
  color: var(--muted);
}
.preview-mini {
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.preview-mini strong {
  font-size: 10px;
  display: block;
}
.preview-mini small {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.preview-mini .status {
  margin-left: auto;
}
.mountains {
  height: 120px;
  position: relative;
  overflow: hidden;
  margin: 20px -26px 0;
  background: var(--mountain-sky);
}
.mountains i {
  position: absolute;
  width: 180px;
  height: 180px;
  transform: rotate(45deg);
  background: var(--mountain-far);
  border-radius: 8px;
  bottom: -135px;
  left: 0;
}
.mountains i:nth-child(2) {
  left: 140px;
  bottom: -110px;
  background: var(--mountain-near);
}
.mountains i:nth-child(3) {
  left: 290px;
  background: var(--mountain-far);
}
.mountains span {
  position: absolute;
  bottom: 12px;
  left: 25px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 2px;
}
.approach {
  padding: 70px 60px;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.approach h2,
.pricing-section h2 {
  font-size: 36px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -1.2px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 45px;
}
.feature-number {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--primary);
}
.feature-grid h3 {
  font-size: 17px;
  font-weight: 550;
  margin-top: 12px;
}
.feature-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 300px;
}
.pricing-section {
  padding: 85px 60px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 40px;
}
.plan {
  padding: 32px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 11px;
  position: relative;
}
.plan h3 {
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.8px;
}
.plan p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.plan .plan-price {
  margin: 20px 0 16px;
  color: var(--ink);
  font-size: 48px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.plan-price span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
.plan .plan-price-detail {
  font-size: 14px;
  margin: 0 0 20px;
}
.plan ul {
  list-style: none;
  margin: 25px 0;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.plan li {
  margin: 12px 0;
}
.plan li:before {
  content: "✓";
  margin-right: 12px;
  color: var(--primary);
}
.plan small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
}
.plan.featured {
  background: var(--surface-soft);
  border-color: var(--line);
}
.plan-label {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--primary);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 8px;
  letter-spacing: 1px;
  color: white;
}
.closing {
  background: var(--surface-soft);
  text-align: center;
  padding: 65px 20px;
}
.closing h2 {
  font-size: 40px;
  font-weight: 550;
  margin-bottom: 26px;
}
.closing p:last-child {
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}
footer {
  padding: 30px 60px;
  display: flex;
  align-items: center;
  gap: 35px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
footer .brand {
  font-size: 17px;
}
footer > div {
  margin-left: auto;
  display: flex;
  gap: 20px;
}
.login-page {
  min-height: 100vh;
  background: var(--bg);
  padding: 36px;
}
.login-page > .brand {
  max-width: 1100px;
  margin: auto;
}
.login-card {
  max-width: 420px;
  margin: 65px auto 40px;
  background: white;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 10px 50px var(--shadow-soft);
}
.login-card h1 {
  font-size: 35px;
  margin: 18px 0 7px;
}
.login-card .wide {
  margin-top: 10px;
}
.bootstrap-login {
  margin-top: 23px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.bootstrap-login summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--primary);
}
.bootstrap-login p {
  margin-top: 15px;
}
.login-demo {
  border-top: 1px solid var(--line);
  margin: 25px 0;
  padding-top: 20px;
}
.login-demo p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.login-demo a {
  font-size: 12px;
}
.login-footer {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
#login-error {
  color: var(--red);
  font-size: 12px;
}
.doc-page {
  max-width: 950px;
  margin: 50px auto;
  background: white;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.doc-page h1 {
  font-size: 36px;
}
.doc-page h2 {
  margin-top: 32px;
}
.doc-page p,
.doc-page li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.doc-page code {
  font-size: 12px;
  background: var(--surface-soft);
  padding: 3px 6px;
}
.doc-page pre {
  overflow: auto;
  background: var(--surface-soft);
  padding: 16px;
  border-radius: 7px;
}
.checkbox-label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.checkbox-label input {
  width: auto;
  margin: 2px 0;
}
.badge-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
@media (min-width: 1600px) {
  .content {
    padding: 40px 50px;
  }
  .main-grid {
    grid-template-columns: 1.7fr 1fr;
  }
  .metrics {
    gap: 23px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding: 25px 13px;
  }
  .main-shell {
    margin-left: 200px;
    width: calc(100% - 200px);
  }
  .content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .main-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 15px;
  }
  .metric {
    padding: 15px;
  }
  .metrics {
    gap: 12px;
  }
  td,
  th {
    padding: 13px 15px;
  }
  .hero {
    gap: 30px;
    padding: 60px 35px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .marketing-nav {
    padding: 25px 35px;
  }
  .preview-body h2 {
    font-size: 29px;
  }
  .marketing-nav > div {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .heading-row {
    align-items: flex-start;
  }
  .filter-caption {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-preview {
    max-width: 520px;
  }
  .feature-grid {
    gap: 20px;
  }
  .marketing-nav > div > a:not(.btn) {
    display: none;
  }
  .hero h1 {
    font-size: 60px;
  }
  .pricing-section,
  .approach {
    padding: 55px 35px;
  }
  .pricing-grid {
    gap: 15px;
  }
  .plan {
    padding: 25px;
  }
  footer {
    padding: 30px;
    flex-wrap: wrap;
  }
  footer > div {
    margin-left: 0;
  }
}
@media (max-width: 650px) {
  .sidebar {
    display: none;
  }
  .sidebar.open {
    display: flex;
    width: 225px;
    box-shadow: 10px 0 50px var(--shadow);
  }
  .main-shell {
    margin: 0;
    width: 100%;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .mobile-nav-close {
    display: inline-flex;
    align-self: flex-end;
    flex-shrink: 0;
    min-height: 44px;
    gap: 8px;
    margin: -17px 0 8px;
  }
  .topbar {
    padding: 0 17px;
    height: 64px;
  }
  .top-actions {
    gap: 8px;
  }
  .breadcrumbs {
    gap: 7px;
  }
  .breadcrumbs > span {
    display: none;
  }
  .year-pill {
    padding-right: 8px;
    font-size: 10px;
  }
  .content {
    padding: 23px 17px;
  }
  .heading-row {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .heading-row h1 {
    font-size: 27px;
  }
  .heading-row .actions {
    width: 100%;
    margin-top: 6px;
  }
  .metrics {
    gap: 11px;
  }
  .metric {
    padding: 15px;
  }
  .metric strong {
    font-size: 28px;
  }
  .metric .metric-label {
    font-size: 10px;
  }
  .filters {
    gap: 8px;
  }
  .filter-select {
    min-width: 0;
    flex: 1;
    max-width: none;
    width: 45%;
    font-size: 10px;
  }
  .panel-header {
    padding: 19px 17px 12px;
  }
  .chart {
    padding: 6px 17px;
  }
  .chart-row {
    gap: 10px;
  }
  .panel-header h2 {
    font-size: 16px;
  }
  .panel-header .text-link {
    font-size: 10px;
  }
  .panel-foot {
    padding: 12px 17px;
  }
  .queue-item {
    padding: 13px 17px;
  }
  .support-strip {
    margin: 5px 17px 17px;
  }
  .notice {
    padding: 13px;
  }
  .notice a {
    display: none;
  }
  .page-tools {
    flex-wrap: wrap;
  }
  .search {
    width: 100%;
  }
  .drawer-head {
    padding: 20px;
  }
  .drawer-body {
    padding: 0 18px 30px;
  }
  .drawer-head .btn {
    font-size: 10px;
    padding: 8px 10px;
  }
  .drawer .requirement-card .domain {
    display: none;
  }
  .requirement-card {
    padding: 17px;
  }
  .requirement-card .actions {
    flex-direction: column;
  }
  .subtabs {
    gap: 18px;
  }
  .subtabs button {
    font-size: 11px;
  }
  .summary-grid {
    gap: 10px;
  }
  .summary-card {
    padding: 13px;
  }
  .summary-card strong {
    font-size: 13px;
  }
  .two-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .privacy-banner {
    padding: 20px;
  }
  .privacy-banner h2 {
    font-size: 19px;
  }
  .marketing-nav {
    padding: 20px;
  }
  .marketing-nav .brand {
    font-size: 20px;
  }
  .marketing-nav .btn {
    font-size: 10px;
    padding: 8px;
  }
  .hero {
    padding: 50px 23px;
  }
  .hero h1 {
    font-size: 47px;
    letter-spacing: -2px;
  }
  .hero-copy {
    font-size: 13px;
  }
  .preview-body h2 {
    font-size: 29px;
  }
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .approach,
  .pricing-section {
    padding: 45px 23px;
  }
  .approach h2,
  .pricing-section h2 {
    font-size: 30px;
  }
  .feature-grid {
    margin-top: 30px;
    gap: 23px;
  }
  .feature-grid p {
    max-width: none;
  }
  .closing h2 {
    font-size: 30px;
  }
  .login-page {
    padding: 25px 18px;
  }
  .login-card {
    margin: 45px auto 25px;
    padding: 28px;
  }
  .doc-page {
    margin: 0;
    padding: 25px;
    border: 0;
  }
  .doc-page h1 {
    font-size: 29px;
  }
  .status {
    font-size: 8px;
  }
  .sidebar-callout {
    margin-top: 20px;
  }
  .user-card {
    padding-top: 12px;
  }
}
@media print {
  .sidebar,
  .topbar,
  .filters,
  .heading-row .actions,
  .btn,
  .notice,
  .drawer-overlay {
    display: none !important;
  }
  .main-shell {
    margin: 0;
    width: 100%;
  }
  .content {
    padding: 0;
  }
  .drawer {
    position: static;
    width: 100%;
    box-shadow: none;
  }
  .drawer-head {
    position: static;
  }
  .shell {
    display: none;
  }
  .export-preview {
    max-height: none;
  }
}

.sidebar {
  overflow-y: auto;
}
.sidebar-bottom {
  flex-shrink: 0;
}
.workspace-switch {
  flex-shrink: 0;
}

/* Small text remains readable on pale surfaces. */
.eyebrow,
.nav-label,
.filter-caption,
.metric .metric-foot,
.legend,
.chart-row,
.panel-foot,
th,
td,
.student-cell small,
.queue-item small,
.support-strip small,
.source-note,
.audit-row time,
.marketing .muted,
.marketing footer,
.plan small,
.hero-copy,
.preview-mini small,
.preview-stats span,
.feature-grid p,
.plan p,
.login-footer {
  color: var(--muted);
}
.metric.selected .metric-foot {
  color: var(--muted);
}
.status.reviewed,
.status.complete {
  color: var(--success);
}
.status.pending {
  color: var(--amber);
}
.status.missing {
  color: var(--red);
}
.status.not_applicable {
  color: var(--muted);
}
.subtabs button {
  color: var(--muted);
}
.subtabs button.active {
  color: var(--primary);
}
@media (max-width: 650px) {
  .filters > .filter-select {
    flex: 1 1 calc(50% - 8px);
    width: calc(50% - 8px);
    max-width: none;
  }
}
.source-tag {
  color: var(--muted);
}

/* Guidance is part of the workflow, with detail available when it is needed. */
.icap-start {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 24px 64px 24px 24px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}
.icap-start > div {
  flex: 1;
}
.icap-start-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
}
.icap-start > .icap-start-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.icap-start h2 {
  font-size: 1.25rem;
}
.icap-start p {
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 850px;
}
.icap-start .eyebrow {
  font-size: 0.75rem;
  margin-top: 0;
}
.icap-start .tiny {
  font-size: 0.8125rem;
}
.guide-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0;
}
.guide-steps article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.guide-steps p {
  flex: 1;
}
.guide-steps p,
.guide-introduction p,
.guide-readiness p,
.guide-boundaries p,
.guide-boundaries li {
  font-size: 1rem;
  line-height: 1.7;
}
.guide-boundaries,
.guide-readiness,
.glossary {
  margin: 22px 0;
}
.guide-boundaries ul {
  padding-left: 22px;
}
.guide-detail {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}
.guide-detail summary {
  padding: 14px 16px;
  cursor: pointer;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.guide-detail summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 8px;
}
.guide-detail[open] > summary {
  border-bottom: 1px solid var(--line);
}
.guide-detail-body {
  padding: 4px 16px 16px;
}
.guide-detail-body p,
.guide-detail-body li,
.guide-resources > p {
  font-size: 1rem;
  line-height: 1.7;
}
.guide-detail-body ol {
  padding-left: 24px;
}
.guide-detail-body li + li {
  margin-top: 12px;
}
.guide-steps .guide-detail {
  margin: 0 0 18px;
}
.guide-steps .guide-detail p {
  flex: none;
}
.guide-example {
  padding: 12px 14px;
  border-left: 3px solid var(--primary);
  background: var(--surface);
  margin-bottom: 0;
}
.guide-resources {
  margin: 22px 0;
}
.guide-resource-topics {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.guide-resource-list {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.guide-resource-list li {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.guide-resource-list a {
  color: var(--primary);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.guide-resource-agency {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.guide-resource-list p {
  margin: 6px 0 0;
}
.guide-resources .guide-resource-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.guide-boundaries li {
  margin: 12px 0;
}
.status-explainer {
  padding: 18px 22px;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
.status-explainer summary,
.check-guidance summary,
.glossary summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--primary);
}
.status-explainer dl,
.support-primer dl,
.glossary dl {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
.status-explainer dt,
.support-primer dt,
.glossary dt {
  font-size: 0.875rem;
  font-weight: 650;
}
.status-explainer dd,
.support-primer dd,
.glossary dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}
.status-explainer p,
.support-primer p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}
.support-primer {
  padding: 20px;
  margin: 20px 0;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.panel-pad > .support-primer {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.guide-notice {
  margin: 0 0 20px;
}
.guide-notice p {
  font-size: 0.875rem;
  line-height: 1.65;
}
.guide-requirement {
  padding: 26px;
  gap: 24px;
}
.guide-requirement .actions {
  min-width: 130px;
  max-width: 160px;
  align-items: flex-end;
  text-align: right;
  flex-direction: column;
}
.guide-requirement .actions strong {
  font-size: 1.5rem;
  font-weight: 550;
}
.guide-requirement .actions small {
  white-space: normal;
}
.requirement-explanation p,
.guide-requirement .requirement-explanation p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}
.requirement-explanation .applicability {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--surface-soft);
  border-radius: 7px;
}
.check-guidance {
  margin: 15px 0;
}
.check-guidance h4 {
  font-size: 0.875rem;
  margin: 18px 0 7px;
}
.check-guidance ul {
  padding-left: 22px;
  margin: 8px 0;
}
.check-guidance li {
  margin: 7px 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.requirement-explanation .guidance-example-note {
  font-size: 0.8125rem;
}
.guide-source {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 17px;
}
.guide-source a {
  font-size: 0.8125rem;
}
.guide-counts {
  margin-top: 12px;
  font-size: 0.8125rem;
}
dialog .requirement-explanation {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .icap-start {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 650px) {
  .icap-start {
    padding: 20px 60px 20px 20px;
    gap: 16px;
  }
  .icap-start-actions .btn {
    white-space: normal;
  }
  .guide-steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .guide-requirement {
    padding: 20px;
    flex-direction: column;
    gap: 12px;
  }
  .guide-requirement .actions {
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }
  .guide-requirement .actions strong {
    font-size: 1.25rem;
  }
  .status-explainer {
    padding: 17px;
  }
}

/* Readable application typography; compact metadata is secondary only. */
body {
  font-size: 1rem;
}
.btn,
.nav-item,
.filter-select,
.metric .metric-label,
.student-name,
td,
td strong,
.status,
label,
.subtabs button,
.queue-item strong,
.support-strip strong,
.requirement-card h3,
.drawer .requirement-card h3,
.drawer .requirement-card .btn,
.heading-row p,
.panel-header p,
.drawer-section p,
.sidebar-callout strong,
.sidebar-callout a,
.user-card strong,
.workspace-switch strong {
  font-size: 0.875rem;
}
small,
.tiny,
.eyebrow,
.nav-label,
.metric .metric-foot,
.legend,
.filter-caption,
.panel-foot,
th,
.student-cell small,
.queue-item small,
.support-strip small,
.source-note,
.source-tag,
.audit-row,
.audit-row time,
.demo-pill,
.year-pill,
.workspace-switch small,
.user-card small,
.sidebar-callout p,
.drawer-title p,
.drawer .requirement-card p,
.summary-card small,
.breadcrumbs {
  font-size: 0.75rem;
}
.requirement-card p,
dialog p,
.summary-card p,
.drawer-section p {
  font-size: 0.875rem;
}
.marketing p,
.hero-copy,
.feature-grid p,
.plan p,
.plan ul,
.doc-page p,
.doc-page li,
.login-card > p {
  font-size: 1rem;
}
.marketing .eyebrow,
.marketing .tiny,
.marketing small,
.feature-number,
.preview-top,
.preview-stats span,
.preview-mini strong,
.preview-mini small,
.mountains span,
.plan-label,
.login-footer,
footer {
  font-size: 0.75rem;
}
.marketing-nav > div,
.text-link,
.marketing-nav .btn {
  font-size: 0.875rem;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2353657c' stroke-width='1.5'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.filters > .filter-select {
  width: auto;
  flex: 0 1 auto;
  max-width: 215px;
}
@media (max-width: 650px) {
  .filters > .filter-select {
    flex: 1 1 calc(50% - 8px);
    width: calc(50% - 8px);
    max-width: none;
  }
  .topbar .year-pill {
    display: none;
  }
  .subtabs {
    gap: 12px;
    flex-wrap: wrap;
  }
  .drawer .subtabs button {
    font-size: 0.875rem;
  }
  .heading-row h1 {
    font-size: 1.65rem;
  }
}

/* Demo discovery is primary; live and administrator access share the login flow. */
.marketing-nav .try-it-nav {
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
}
.marketing-nav .login-link {
  background: transparent;
  border-color: transparent;
  color: var(--primary);
}
.try-it-login {
  font-size: 1rem;
  padding: 0.9rem 1rem;
}
.demo-description {
  text-align: center;
  margin: 0.7rem 0 1.5rem;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.4rem 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.login-card .bootstrap-login {
  margin-bottom: 1.6rem;
}
@media (max-width: 650px) {
  .marketing-nav > div {
    gap: 8px;
  }
  .marketing-nav .try-it-nav {
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
  }
  .marketing-nav .login-link {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
}

.icap-start p,
.requirement-explanation p,
.guide-requirement .requirement-explanation p,
.check-guidance li,
.status-explainer dd,
.status-explainer p,
.support-primer dd,
.support-primer p,
.glossary dd {
  font-size: 1rem;
}
.icap-start .tiny,
.requirement-explanation .guidance-example-note {
  font-size: 0.8125rem;
}
.guide-notice strong {
  font-size: 1rem;
}

.tier-pill {
  border: 0;
  font-family: inherit;
  font-weight: 600;
  cursor: help;
  line-height: 1.5;
  text-align: left;
}
.tier-pill:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}
.tier-pill:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.tier-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.25rem;
}
.domain-tier-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.domain-tier-heading .eyebrow {
  margin: 0;
}
.summary-card > .tier-pill {
  margin-top: 0.5rem;
}
.tier-tooltip {
  position: fixed;
  z-index: 110;
  box-sizing: border-box;
  width: min(28rem, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: var(--surface-soft);
  color: var(--muted);
  box-shadow: 0 8px 30px var(--shadow);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  white-space: normal;
}
.tier-tooltip[hidden] {
  display: none;
}
.tier-tooltip h3,
.tier-tooltip dt {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}
.tier-tooltip h3 {
  margin: 0 0 0.625rem;
}
.tier-tooltip p {
  margin: 0 0 1rem;
  font-size: 1rem;
}
.tier-tooltip p:last-child {
  margin-bottom: 0;
}
.tier-tooltip dl {
  display: grid;
  gap: 0.875rem;
  margin: 0 0 1rem;
}
.tier-tooltip dd {
  margin: 0.25rem 0 0;
}

/* Blue anchors the identity; Colorado red and gold punctuate key details. */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
input,
textarea,
select {
  accent-color: var(--primary);
}
::selection {
  background: var(--blue-tint);
  color: var(--primary-strong);
}
.sidebar,
.marketing-nav {
  border-top: 4px solid var(--primary-strong);
}
.topbar {
  border-top: 4px solid var(--primary-strong);
}
.nav-item.active {
  box-shadow: inset 3px 0 var(--accent);
}
.metric.selected {
  border-top: 3px solid var(--gold);
}
.metric-track > span {
  background: var(--primary);
}
.preview-top {
  background: var(--primary-strong);
  color: white;
  border-left: 4px solid var(--accent);
  border-bottom: 3px solid var(--gold);
}
.live-dot {
  background: var(--gold);
}
.hero em {
  color: var(--primary);
}
.hero .eyebrow,
.feature-number {
  color: var(--accent-strong);
}
.hero-preview {
  box-shadow: 0 18px 44px var(--shadow);
}
.mountains::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  top: 18px;
  right: 36px;
}
.mountains span {
  z-index: 1;
  color: var(--primary-strong);
  font-weight: 650;
  letter-spacing: 1.3px;
}
.plan.featured {
  border-top: 3px solid var(--accent);
}
.login-card {
  border-top: 3px solid var(--gold);
}
.plan-label {
  background: var(--primary-strong);
}
.status {
  color: var(--amber);
}
.status.reviewed,
.status.complete {
  color: var(--success);
  background: var(--success-bg);
}
.status.missing {
  color: var(--red);
  background: var(--danger-bg);
}
.status.pending {
  color: var(--amber);
  background: var(--warning-bg);
}
.status.not_applicable {
  color: var(--muted);
  background: var(--chart-empty);
}
.sidebar-callout {
  border-left: 3px solid var(--gold);
}
.brand {
  letter-spacing: -0.75px;
}
.brand-mark {
  font-size: 0;
  font-style: normal;
}

.subtabs button.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.icap-start {
  border-left: 3px solid var(--accent);
}

/* District account controls */
.account-intro { margin-bottom: 28px; }
.account-intro h1 { margin: 6px 0 12px; }
.account-intro > p:last-child { color: var(--muted); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.account-details { margin: 24px 0; }
.account-details > div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.account-details dt { color: var(--muted); }
.account-details dd { margin: 0; text-align: right; font-weight: 600; }
.account-notice { padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--pale, #eff6f4); line-height: 1.65; margin: 18px 0 24px; }
#ai-settings-title { scroll-margin-top: 24px; }
.ai-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border: 0; padding: 0; margin: 24px 0; min-width: 0; }
.ai-mode-card { display: flex; align-items: flex-start; gap: 12px; padding: 20px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; margin: 0; font-weight: 400; }
.ai-mode-card:has(input:checked) { border-color: var(--green, #176c53); background: #f0f8f4; }
.ai-mode-card:has(input:focus-visible) { outline: 3px solid #67bca5; outline-offset: 3px; }
.ai-mode-card input, .ai-consent input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--green, #176c53); }
.ai-mode-card strong { display: block; font-size: 1.125rem; }
.ai-boundary { display: block; font-size: .875rem; color: var(--green, #176c53); margin: 8px 0 14px; }
.ai-mode-description { display: block; line-height: 1.65; }
.ai-mode-privacy { margin-top: 16px; }
.ai-mode-card small { display: block; font-size: .875rem; line-height: 1.6; color: var(--muted); margin-top: 16px; }
.ai-consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; line-height: 1.65; }
.ai-consent[hidden] { display: none; }
.account-ai .actions { flex-wrap: wrap; }
.account-reminders { margin-top: 24px; font-size: 1rem; line-height: 1.65; }
.reminder-controls { border: 0; padding: 0; min-width: 0; }
.reminder-schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.account-reminders label { display: block; font-size: 1rem; }
.account-reminders label > input:not([type="checkbox"]), .account-reminders label > select { display: block; width: 100%; margin-top: 8px; }
.reminder-critical { display: flex; flex-wrap: wrap; gap: 24px; margin: 20px 0; }
.reminder-critical .ai-consent { display: flex; }
.reminder-recipient { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.reminder-recipient > * { min-width: 0; }
.account-reminders .actions { flex-wrap: wrap; }
@media (max-width: 1000px) { .reminder-recipient { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .reminder-schedule, .reminder-recipient { grid-template-columns: 1fr; } .reminder-recipient button { justify-self: start; } }
.ai-assistance { padding: 16px; margin: 16px 0; border: 1px solid var(--line); border-radius: 10px; background: #f0f8f4; }
.ai-suggestion { white-space: pre-wrap; line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button:disabled { cursor: not-allowed; opacity: .6; }
@media (max-width: 1150px) { .ai-modes { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .account-grid { grid-template-columns: 1fr; } .account-details > div { flex-wrap: wrap; } .account-details dd { text-align: left; } }
.account-grid, .account-ai { font-size: 1rem; line-height: 1.65; }
.account-grid label, .account-ai label { font-size: 1rem; }
.account-grid .tiny, .account-ai .tiny, .account-grid small { font-size: .875rem; }
.pricing-student-note {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid #b8cbe7;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: #edf3fc;
  font-size: 1rem;
  line-height: 1.7;
}
.pricing-student-note strong { color: var(--primary-strong); font-size: 1.125rem; }
.pricing-student-note p { margin: 6px 0 0; color: var(--muted); }
.pricing-student-note + .pricing-grid { margin-top: 28px; }
.pricing-ai-summary { margin-top: 40px; padding: 32px; background: #eef2f8; border: 1px solid #c6d2e3; border-radius: 16px; }
.pricing-ai-summary > h3 { margin: 8px 0 12px; font-size: 1.75rem; line-height: 1.25; letter-spacing: -.5px; }
.pricing-ai-summary > p:not(.eyebrow) { font-size: 1rem; line-height: 1.7; color: var(--muted); }
.pricing-ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0; }
.pricing-ai-card {
  --ai-accent: #294f8a;
  --ai-tint: #e3edfc;
  padding: 24px;
  background: white;
  border: 1px solid #ccd6e5;
  border-top: 5px solid var(--ai-accent);
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--shadow-soft);
}
.pricing-ai-safe { --ai-accent: #246249; --ai-tint: #e4f3e9; }
.pricing-ai-off { --ai-accent: #4c5c73; --ai-tint: #edf0f4; }
.pricing-ai-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--ai-tint);
  color: var(--ai-accent);
  font-size: .875rem;
  font-weight: 650;
}
.pricing-ai-grid h4 { color: var(--ai-accent); font-size: 1.5rem; line-height: 1.25; margin: 20px 0 10px; }
.pricing-ai-grid p { font-size: 1rem; line-height: 1.7; color: var(--muted); margin: 12px 0 0; }
.pricing-ai-grid .pricing-ai-lead { color: var(--ink); font-weight: 650; margin: 0; }
.pricing-ai-note { font-size: .875rem; line-height: 1.7; padding-top: 20px; border-top: 1px solid var(--line); }
/* Workspace question search and live account policy indicator. */
.topbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 510px) minmax(0, 1fr); gap: 24px; }
.top-actions { justify-content: flex-end; white-space: nowrap; }
.breadcrumbs { min-width: 0; }
.breadcrumbs strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-search { display: flex; align-items: center; gap: 9px; position: relative; min-width: 0; }
.workspace-search-form { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; margin: 0; height: 42px; padding: 0 7px 0 13px; background: #f4f7fb; border: 1px solid #d7dfeb; border-radius: 9px; }
.workspace-search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px #dce7f8; background: white; }
.workspace-search-form > .icon { width: 18px; height: 18px; flex-shrink: 0; color: #62748e; }
.workspace-search-form input { width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font: inherit; font-size: .875rem; color: var(--ink); outline: none; box-shadow: none; }
.workspace-search-form input::placeholder { color: #62748e; opacity: 1; }
.workspace-search-submit { border: 0; background: #e4ebf7; border-radius: 5px; color: #294f8a; font: inherit; font-size: .875rem; font-weight: 650; padding: 5px 9px; cursor: pointer; }
.search-mode { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; height: 38px; padding: 0 8px; border-radius: 9px; border: 1px solid #d6dfeb; background: #edf2f8; color: #53627b; cursor: pointer; font: inherit; font-size: .75rem; font-weight: 650; }
.search-mode .icon { width: 20px; height: 20px; }
.search-mode-full { color: #3353a0; background: #eef1fd; border-color: #d4dcf5; }
.search-mode-safe { color: #246249; background: #edf7f1; border-color: #cbe1d3; }
.search-mode.needs-setup { border-style: dashed; }
.search-mode-tooltip { display: none; position: absolute; top: calc(100% + 10px); right: 0; width: 270px; z-index: 41; text-align: left; background: #203654; color: white; padding: 13px 15px; border-radius: 9px; box-shadow: 0 10px 30px #1b31542b; font-size: .875rem; line-height: 1.55; font-weight: 400; pointer-events: none; }
.search-mode-tooltip strong { display: block; margin-bottom: 5px; }
.search-mode:hover .search-mode-tooltip, .search-mode:focus-visible .search-mode-tooltip { display: block; }
.workspace-search-results { position: absolute; top: calc(100% + 14px); left: 0; width: min(640px, calc(100vw - 40px)); max-height: min(680px, calc(100dvh - 130px)); overflow: auto; z-index: 40; padding: 22px; background: white; border: 1px solid #d6dfeb; border-radius: 13px; box-shadow: 0 18px 55px #18345226; font-size: .9375rem; line-height: 1.65; }
.workspace-search-results[hidden] { display: none; }
.search-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search-results-head > strong { font-size: 1.0625rem; color: var(--ink); }
.search-results-head .icon-button { font-size: 24px; line-height: 1; padding: 2px 8px; }
.search-privacy { padding: 11px 13px; margin: 12px 0 20px; background: #eef3fb; border-radius: 7px; color: #415c81; font-size: .875rem; }
.search-hint { color: var(--muted); font-size: .875rem; }
.search-examples { display: grid; gap: 8px; }
.search-examples button { border: 1px solid var(--line); background: white; padding: 11px 13px; border-radius: 7px; text-align: left; color: var(--ink); cursor: pointer; font: inherit; }
.search-examples button:hover { background: #f1f5fb; border-color: #adbed6; }
.search-facts > p, .search-ai-output p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0 18px; }
.search-ai-output:empty { display: none; }
.search-ai-output { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; color: #42546c; }
.search-ai-output strong { color: var(--ink); font-size: .875rem; }
.search-result-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
@media (max-width: 1500px) { .topbar { grid-template-columns: minmax(120px, 1fr) minmax(270px, 440px) auto; gap: 16px; } .topbar .year-pill { display: none; } }
@media (max-width: 1150px) { .topbar { grid-template-columns: minmax(90px, 1fr) minmax(250px, 420px) auto; gap: 12px; padding-inline: 20px; } .breadcrumbs > span { display: none; } .top-actions { gap: 10px; } .topbar .demo-pill { display: none; } .search-mode-label { display: none; } }
@media (max-width: 720px) { .topbar { height: auto; min-height: 114px; padding: 12px 20px; grid-template-columns: 1fr auto; gap: 10px 12px; } .workspace-search { grid-column: 1 / -1; grid-row: 2; } .top-actions { grid-row: 1; grid-column: 2; } .workspace-search-results { width: calc(100vw - 40px); max-height: calc(100dvh - 160px); padding: 18px; } .search-mode-label { display: inline; } }
@media print { .workspace-search { display: none; } }
@media (max-width: 1050px) { .pricing-ai-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 850px) { .pricing-ai-summary { padding: 24px; } }
@media (max-width: 480px) { .pricing-ai-summary { padding: 20px 16px; } .pricing-ai-card { padding: 20px; } .pricing-student-note { padding: 18px 20px; } }

/* A deliberate reveal is required; private text is omitted from the markup. */
.privacy-toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.privacy-button {
  gap: 7px;
  min-height: 36px;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 11px;
  white-space: nowrap;
}
.privacy-button[aria-pressed="true"] {
  background: var(--surface-soft);
}
.privacy-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.privacy-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100;
  width: 230px;
  max-width: calc(100vw - 32px);
  padding: 9px 12px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  visibility: hidden;
  opacity: 0;
}
.privacy-toggle:hover .privacy-tooltip,
.privacy-toggle:focus-within .privacy-tooltip {
  visibility: visible;
  opacity: 1;
}
.modal-privacy-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.privacy-gate .privacy-tooltip,
.drawer .privacy-tooltip {
  left: 0;
  right: auto;
}
.privacy-gate p {
  color: var(--muted);
  line-height: 1.65;
}
.search:disabled {
  cursor: not-allowed;
  color: var(--muted);
}
@media (max-width: 650px) {
  .top-actions .privacy-button > span {
    display: none;
  }
  .top-actions .privacy-button {
    min-width: 36px;
  }
  .drawer-head > .actions {
    flex-wrap: wrap;
  }
}
@media print {
  .privacy-toggle,
  .modal-privacy-bar {
    display: none !important;
  }
}

/* Keep the student visibility control beside its column label. */
.student-table-heading {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.student-table-heading .privacy-toggle {
  position: static;
}
.student-table-heading .privacy-button {
  min-width: 32px;
  min-height: 32px;
  padding: 6px;
  border-color: transparent;
}
.student-table-heading .privacy-tooltip {
  white-space: normal;
  left: 0;
  right: auto;
  letter-spacing: normal;
  text-transform: none;
}

/* Evidence is reachable from portfolios, requirement reviews and workspace search. */
.workspace-attach { border: 0; background: transparent; font: inherit; font-size: 24px; color: #294f8a; padding: 0 5px; cursor: pointer; }
.workspace-attach-control { display: inline-flex; flex-shrink: 0; }
.workspace-attach-tooltip { display: none; position: absolute; top: calc(100% + 8px); right: 0; width: min(300px, calc(100vw - 48px)); padding: 12px 15px; border-radius: 8px; background: #203654; color: white; box-shadow: 0 10px 30px #1b31542b; font-size: .875rem; line-height: 1.55; z-index: 42; pointer-events: none; }
.workspace-attach-control:hover .workspace-attach-tooltip, .workspace-attach-control:focus-within .workspace-attach-tooltip { display: block; }
.workspace-attach:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.search-evidence-fields { display: grid; gap: 9px; }
.search-evidence-fields label { margin: 5px 0 0; font-weight: 650; }
.search-evidence-fields select { width: 100%; min-width: 0; margin: 0; font: inherit; }
.search-evidence-fields p { margin: 3px 0; }
.search-evidence-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 15px; }
.search-evidence-review, .search-evidence-receipt { overflow-wrap: anywhere; }
.search-evidence-review h3 { margin: 0 0 12px; }
.workspace-search-results { overscroll-behavior: contain; }
.search-evidence-review dl { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 6px 12px; margin: 0; }
.search-evidence-review dt { color: var(--muted); }
.search-evidence-review dd { margin: 0; font-weight: 600; }
.search-evidence-review ul { padding-left: 20px; }
.workspace-search-form [hidden] { display: none; }
.workspace-attachments { position: absolute; top: calc(100% + 5px); left: 0; right: 0; display: flex; gap: 5px; overflow-x: auto; padding: 4px; background: white; border: 1px solid var(--line); border-radius: 6px; z-index: 39; }
.workspace-attachments[hidden], .workspace-drop-hint { display: none; }
.workspace-attachments span { display: flex; align-items: center; gap: 7px; white-space: nowrap; padding: 3px 7px; font-size: 12px; border-radius: 4px; background: #edf2f8; }
.workspace-attachments button { border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.workspace-search:has(.workspace-attachments:not([hidden])) .workspace-search-results { top: calc(100% + 49px); }
.workspace-search.drag-over .workspace-search-form, .evidence-drop-zone.drag-over { background: #e8f4ef; outline: 2px dashed #246249; }
.workspace-search.drag-over .workspace-drop-hint { display: block; position: absolute; inset: 0; background: #e8f4ef; padding: 10px; border: 2px dashed #246249; border-radius: 9px; color: #246249; pointer-events: none; }
.evidence-drop-zone { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 2px dashed #bac8db; border-radius: 9px; background: #f6f8fc; cursor: pointer; }
.evidence-drop-zone span { font-size: 13px; color: var(--muted); line-height: 1.6; }
.evidence-drop-zone input { max-width: 100%; background: white; }
.evidence-selected-file { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; overflow-wrap: anywhere; }
.evidence-document-list { margin: 12px 0 22px; }
.evidence-document { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 15px; background: white; margin-bottom: 9px; overflow-wrap: anywhere; }
.evidence-document > div:first-child { min-width: 0; }
.evidence-document strong { font-size: 14px; }
.evidence-document small { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.evidence-document .actions { flex-shrink: 0; margin: 0; flex-wrap: wrap; }
.evidence-document p { font-size: 13px; margin: 8px 0 0; }
.evidence-preview-dialog { width: min(1100px, 96vw); padding: 0; max-height: 94dvh; }
.evidence-preview-head { display: flex; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid var(--line); }
.evidence-preview-head > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.evidence-preview-head h2 { font-size: 19px; margin: 0 0 5px; }
.evidence-preview-head p { margin: 0; }
.evidence-preview-body { min-height: 250px; padding: 16px; text-align: center; background: #f3f5f8; }
.evidence-preview-body img { display: block; max-width: 100%; max-height: 73dvh; object-fit: contain; margin: auto; }
@media (max-width: 720px) { .evidence-document { align-items: flex-start; flex-direction: column; } .evidence-preview-head { flex-wrap: wrap; gap: 8px; } .evidence-preview-head > div { flex-basis: 100%; } }
.pdf-preview-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; font-size: 13px; }
.pdf-preview-page { overflow: auto; }
.pdf-preview-page canvas { display: block; width: 100%; height: auto; margin: auto; background: white; }

/* Keep student privacy controls visible within the managed hosting offer. */
.plan-privacy { margin: 24px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.plan-privacy h4 { margin: 0; font-size: 1.125rem; line-height: 1.4; }
.plan .plan-privacy ul { margin: 16px 0; font-size: 1rem; line-height: 1.6; }
.plan .plan-privacy p { font-size: 0.875rem; line-height: 1.6; }

.account-button {
  border: 0;
  cursor: pointer;
}

.search-results-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.search-results-privacy { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 9px; border: 1px solid #d6dfeb; border-radius: 7px; background: #f4f7fb; color: #415c81; cursor: pointer; font: inherit; font-size: .875rem; white-space: nowrap; }
.search-results-privacy .icon { width: 18px; height: 18px; }
.search-results-privacy:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 480px) { .search-results-head { flex-wrap: wrap; gap: 8px; } .search-results-controls { margin-left: auto; } }

/* Shared deadline column for student rosters and review queues. */
.due-date { display: block; min-width: 125px; color: var(--ink); white-space: nowrap; }
.due-date time { font-weight: 400; }
.due-date-value { display: inline-flex; align-items: center; gap: 7px; }
.overdue-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; color: var(--red, #a43a3a); font-size: 12px; line-height: 1; font-weight: 400; }
.student-roster th, .student-roster td, .student-roster .student-name, .student-roster .tier-pill,
.review-table th, .review-table td, .review-table td strong, .review-table .student-name { font-weight: 400; }
.due-date small, .review-table td > small { display: block; margin-top: 5px; font-size: 10px; color: var(--muted); }
.due-date.overdue time { color: var(--danger, #a43a3a); }
.review-table { min-width: 860px; }
.review-table td { vertical-align: top; }
.review-table td:first-child { min-width: 240px; }
.review-table td p { margin: 6px 0; font-size: 11px; }
.student-roster { table-layout: fixed; min-width: 860px; }
.student-roster .roster-student { width: 27%; }
.student-roster .roster-grade { width: 7%; }
.student-roster .roster-owner { width: 18%; }
.student-roster .roster-support { width: 22%; }
.student-roster .roster-due { width: 21%; }
.student-roster .roster-open { width: 5%; }
.student-roster th, .student-roster td { padding: 18px 16px; }
.student-roster th:first-child, .student-roster td:first-child { padding-left: 24px; }
.student-roster th:last-child, .student-roster td:last-child { padding: 12px 8px; text-align: center; }
.student-roster .student-cell > div { min-width: 0; overflow-wrap: anywhere; }
.student-roster .student-cell .avatar { flex-shrink: 0; }
.student-roster .student-cell small { margin-top: 5px; line-height: 1.5; }
.student-record-row { cursor: pointer; }
.student-record-row:hover, .student-record-row:focus-within { background: var(--surface-soft); }
.review-table .student-name { white-space: nowrap; }

/* Center the search field itself, independently of the navigation actions. */
@media (min-width: 721px) {
  .topbar { grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 420px) minmax(0, 1fr); }
  .workspace-search { grid-column: 2; width: 100%; }
  .workspace-search-results { left: 50%; transform: translateX(-50%); }
  .workspace-search > .search-mode { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); }
  .top-actions { grid-column: 3; justify-self: end; }
}
@media (min-width: 721px) and (max-width: 2100px) { .topbar .year-pill { display: none; } }
@media (min-width: 721px) and (max-width: 1700px) { .search-mode-label { display: none; } }
@media (min-width: 721px) and (max-width: 1500px) {
  .top-actions { gap: 10px; }
  .top-actions .privacy-button > span { display: none; }
  .top-actions .privacy-button { min-width: 36px; }
}
@media (min-width: 721px) and (max-width: 1300px) { .topbar .demo-pill { display: none; } }

/* District branding fits wide and square logos without cropping. */
.workspace-switch { flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; }
.district-logo { width: 100%; min-width: 0; min-height: 52px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.district-logo img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 160px; object-fit: contain; }
.district-logo strong { text-align: center; overflow-wrap: anywhere; line-height: 1.45; }
.district-logo [hidden] { display: none; }
.workspace-switch > small { display: block; text-align: center; }
.account-branding { margin-top: 22px; margin-bottom: 22px; }
.district-logo-preview { width: min(100%, 280px); padding: 16px; margin: 18px 0; border: 1px solid var(--line); border-radius: 8px; background: white; }
.district-logo-preview img { max-height: 180px; }
.account-branding input[type="file"] { display: block; max-width: 100%; margin-top: 8px; }

/* School branding sits beside the account menu; product branding stays in the sidebar. */
.sidebar .brand { margin: 0 9px 8px; }
.workspace-switch > strong { text-align: center; line-height: 1.45; overflow-wrap: anywhere; }
.topbar-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar-school-logo { flex-shrink: 0; max-width: 112px; }
.topbar-school-logo .district-logo { width: auto; min-height: 0; }
.topbar-school-logo .district-logo img { width: auto; max-width: 112px; height: 52px; max-height: 52px; object-fit: contain; }
.topbar-school-logo .district-logo strong { font-size: 14px; font-weight: 500; text-align: center; }
.topbar-heading .breadcrumbs { flex: 1; gap: 9px; overflow: hidden; }
.topbar-heading .breadcrumbs > span { flex-shrink: 0; }
@media (max-width: 720px) {
  .topbar-heading { gap: 10px; }
  .topbar-school-logo { max-width: 90px; }
  .topbar-school-logo .district-logo img { max-width: 90px; height: 40px; max-height: 40px; }
}

.staff-invite-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.staff-invite-fields input, .staff-invite-fields select { width: 100%; }
.staff-access-entry { padding: 18px 0; border-bottom: 1px solid var(--line, #ddd); }
.account-staff h3 { margin-top: 28px; }
@media (max-width: 800px) { .staff-invite-fields { grid-template-columns: 1fr; } }

/* Identity and role-aware account actions remain available at every viewport. */
.account-menu { position: relative; flex-shrink: 0; }
.account-menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; list-style: none; cursor: pointer; }
.account-menu-toggle::-webkit-details-marker { display: none; }
.account-menu-toggle .icon { fill: currentColor; stroke: none; }
.account-menu-toggle:hover, .account-menu[open] .account-menu-toggle { background: var(--blue-tint); }
.account-menu-toggle:focus-visible, .account-menu-options button:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.account-menu-options { position: absolute; top: calc(100% + 12px); right: 0; z-index: 50; width: min(300px, calc(100vw - 40px)); padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 15px 45px #18345226; font-size: 1rem; }
.account-menu-identity { display: grid; gap: 6px; padding: 12px 10px 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.account-menu-identity strong { font-size: 1rem; }
.account-menu-identity span, .account-menu-identity small { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.account-menu-identity .account-menu-status { color: var(--primary); }
.account-menu-options button { display: block; width: 100%; padding: 12px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.account-menu-options button:hover { background: var(--blue-tint); }
@media (max-width: 400px) { .topbar { padding-inline: 14px; column-gap: 8px; } .top-actions { gap: 6px; } .topbar-school-logo, .topbar-school-logo .district-logo img { max-width: 70px; } .topbar-school-logo .district-logo strong { font-size: 14px; max-width: 70px; max-height: 60px; overflow: auto; } }
@media print { .account-menu { display: none; } }

/* District branding replaces the duplicate sidebar identity and sign-out block. */
.sidebar-school-logo { display: grid; place-items: center; margin: 22px 6px 0; padding: 22px 12px 8px; border-top: 1px solid var(--line); }
.sidebar-school-logo .district-logo { max-width: 160px; min-height: 88px; }
.sidebar-school-logo .district-logo img { width: auto; max-width: 100%; max-height: 104px; }
.sidebar-school-logo .district-logo strong { font-size: .875rem; color: var(--muted); }
.topbar-school-logo { margin-right: 10px; }
@media (max-width: 720px) { .topbar-school-logo { margin-right: 4px; } }

.license-terms { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.65; }
#license-import { margin: 24px 0; }
#license-import label { display: block; font-weight: 600; margin-bottom: 8px; }
