@font-face {
  font-family: Inter;
  src: url("/fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #203b32;
  --muted: #5f6a61; /* AA (5.2:1) on --bg */
  --green: #193e32;
  --accent: #d5e8a8;
  --bg: #f5f6f2;
  --line: #e1e6df;
  --red: #a43930;
  --amber: #95601d;
  --white: #fff;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
}
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(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 9px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  margin-bottom: 12px;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}
.stack {
  display: grid;
  gap: 16px;
}
.tight {
  gap: 8px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.wrap {
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.end {
  justify-content: flex-end;
}
.spacer {
  flex: 1;
}
.icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}
.button,
button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  line-height: 1.3;
}
.button:hover,
button:hover {
  background: #f1f5ed;
  text-decoration: none;
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.primary:hover {
  background: #285342;
}
.ghost {
  background: transparent;
  border-color: transparent;
}
.danger {
  color: var(--red);
  border-color: #efcfc9;
}
.sm {
  padding: 7px 10px;
  min-height: 32px;
  font-size: 12px;
}
.full {
  width: 100%;
}
.button-icon {
  padding: 9px;
  min-width: 40px;
}
.link {
  color: var(--green);
  font-size: 13px;
  padding: 0;
  min-height: 24px;
  border: none;
  background: none;
}
.desktop-hidden {
  display: none;
}
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 224px 1fr;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  background: var(--green);
  color: #e6ecdf;
  padding: 28px 18px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  font-size: 24px;
  color: white;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  padding: 0 12px 22px;
}
.brand:hover {
  text-decoration: none;
}
.brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.brand-identity {
  display: block;
  line-height: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--green);
}
.brand-logo {
  display: block;
  width: 126px;
  height: auto;
}
.sidebar .brand-identity,
.auth-brand .brand-identity {
  padding: 0;
  background: transparent;
}
.brand .brand-product {
  display: block;
  color: inherit;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.auth-brand .brand-logo {
  width: 166px;
}
.student-brand .brand-logo {
  width: 112px;
}
.runner-brand .brand-logo {
  width: 90px;
}
.sidebar {
  overflow-y: auto;
}
.brand-mark {
  display: grid;
  grid-template-columns: 7px 7px;
  gap: 3px;
  transform: rotate(-5deg);
}
.brand-mark i {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
}
.brand-mark i:nth-child(3) {
  opacity: 0.5;
}
.brand small {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #b9c9ba;
  display: block;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: -3px;
}
.nav-section {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: #9db4a4;
  padding: 20px 12px 8px;
}
.nav {
  display: grid;
  gap: 4px;
}
.nav a {
  color: #c4d3c7;
  padding: 11px 13px;
  min-height: 44px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 7px;
  font-size: 13px;
}
.nav a:hover {
  background: #ffffff0c;
  text-decoration: none;
}
.nav a.active {
  background: var(--accent);
  color: #1e3b2c;
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 10px 0;
  border-top: 1px solid #ffffff18;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dce8d2;
  color: #234633;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.sidebar-bottom small {
  color: #aac0af;
}
/* Let the name column shrink so the sign-out button stays inside the 224px sidebar. */
.sidebar-bottom .spacer {
  min-width: 0;
}
.sidebar-bottom .row {
  gap: 8px;
}
.sidebar-bottom .name {
  font-size: 12px;
  max-width: 115px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logout {
  color: #dbe6d8;
  padding: 6px;
  background: none;
  border: none;
  min-height: 44px;
  min-width: 44px;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fafbf8;
}
.topbar .crumb {
  font-size: 12px;
  color: #7e877f;
}
.topbar .crumb b {
  font-weight: 500;
  color: var(--ink);
}
.topbar .today {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.workspace main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 32px 36px 70px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.page-head p {
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 0;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.toolbar input,
.toolbar select {
  width: auto;
  min-width: 150px;
  background: white;
}
.toolbar label {
  margin: 0;
}
.toolbar .filter-label {
  font-size: 12px;
  color: var(--muted);
  margin-right: 3px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  min-width: 0;
}
.card.flush {
  padding: 0;
  overflow: hidden;
}
.card-head {
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.card-head h2 {
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  padding: 20px 22px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.stat-icon {
  background: #f0f4eb;
  border-radius: 8px;
  padding: 7px;
  color: #76905e;
}
.stat-value {
  font-size: 32px;
  letter-spacing: -1.3px;
  font-weight: 500;
  margin: 14px 0 2px;
  line-height: 1.15;
}
.stat-value small {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}
.stat-sub {
  font-size: 11px;
  color: var(--muted);
}
.grid2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.section-space {
  margin-top: 24px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
  background: #fafbf8;
  padding: 12px 18px;
}
td {
  padding: 17px 18px;
  font-size: 12px;
  border-top: 1px solid #edf0e9;
  vertical-align: middle;
}
td strong {
  font-size: 13px;
  font-weight: 500;
}
td small {
  display: block;
  margin-top: 2px;
}
td .button {
  display: inline-flex;
}
td.long {
  white-space: normal;
  min-width: 250px;
  max-width: 580px;
}
.tag {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.4;
  background: #f0f2ed;
  color: #4f5a50;
  white-space: nowrap;
}
.tag.good {
  background: #ebf4df;
  color: #3d5a20;
}
.tag.warn {
  background: #fff4da;
  color: #74500f;
}
.tag.bad {
  background: #faece7;
  color: #8c3a2d;
}
.tag.dark {
  background: #e6ede7;
  color: #30513e;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.rating {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.rating.good {
  color: #5e7a2f;
}
.rating.warn {
  color: #aa741f;
}
.rating.bad {
  color: var(--red);
}
.score-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.score-line:last-child {
  border-bottom: 0;
}
.bar {
  height: 5px;
  background: #eef2e9;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 8px;
}
.bar span {
  display: block;
  height: 100%;
  background: #9fbd66;
  border-radius: 5px;
}
.category-name {
  font-size: 12px;
  font-weight: 500;
}
.mini-label {
  font-size: 10px;
  color: var(--muted);
}
.empty {
  text-align: center;
  padding: 42px 20px;
  max-width: 520px;
  margin: auto;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #f0f4eb;
  color: #809467;
  border-radius: 14px;
  margin-bottom: 15px;
}
.empty-icon .icon {
  width: 25px;
  height: 25px;
}
.empty h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.empty p {
  color: var(--muted);
  font-size: 12px;
  max-width: 390px;
  margin: 0 auto 18px;
}
.empty .button {
  font-size: 12px;
}
.callout {
  padding: 13px 16px;
  border-radius: 8px;
  background: #f0f4e9;
  border: 1px solid #e0e9d4;
  color: #536540;
  font-size: 12px;
  line-height: 1.7;
}
.callout.warn {
  background: #fff8e8;
  border-color: #f0e1bb;
  color: #80612d;
}
.callout.bad {
  background: #fff2ee;
  border-color: #edd0c8;
  color: #964c3e;
}
.callout p {
  margin-bottom: 0;
}
.callout .row {
  flex-wrap: wrap;
}
.checklist {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.checklist p {
  font-size: 12px;
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.checkmark {
  width: 21px;
  height: 21px;
  border: 1px solid #cad8b9;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  color: #739444;
}
.checkmark.todo {
  border-color: var(--line);
  color: #9a9f93;
}
.property-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.property-card .property-icon {
  background: #f0f4eb;
  border-radius: 10px;
  padding: 10px;
  color: #6f8752;
}
.property-card h2 {
  margin-bottom: 4px;
}
.property-card p {
  font-size: 12px;
  margin-bottom: 0;
  color: var(--muted);
}
.property-card footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
label,
.field-label {
  display: block;
  color: #526156;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce2d7;
  border-radius: 7px;
  background: white;
  padding: 11px 12px;
  color: var(--ink);
  min-height: 42px;
}
input:not([type="checkbox"]):not([type="file"]),
select:not([multiple]) {
  height: 42px;
  padding-top: 9px;
  padding-bottom: 9px;
  line-height: 22px;
}
select:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m5 6 3 3 3-3' fill='none' stroke='%235e715b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}
input[type="month"],
input[type="date"],
input[type="datetime-local"] {
  appearance: none;
  -webkit-appearance: none;
}
input::-webkit-datetime-edit {
  padding: 0;
  line-height: 22px;
}
input::-webkit-calendar-picker-indicator {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #93aa73;
  outline: 2px solid #dce8cc;
}
textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--green);
  margin: 0;
}
input[type="file"] {
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.maps-link-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.maps-link-control input {
  min-width: 0;
}
.maps-link-control button {
  white-space: nowrap;
}
.form-field {
  min-width: 0;
}
.form-field.wide {
  grid-column: 1/-1;
}
.checkbox-list {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 8px;
  max-height: 220px;
  overflow: auto;
}
.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.error {
  color: var(--red);
  font-size: 12px;
  line-height: 1.6;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fcfdf9;
}
.auth-brand {
  background: var(--green);
  padding: 52px 9%;
  display: flex;
  flex-direction: column;
  color: white;
  position: relative;
  overflow: hidden;
}
.auth-brand .brand {
  padding: 0;
}
.auth-brand h1 {
  font-size: 48px;
  line-height: 1.13;
  font-weight: 500;
  letter-spacing: -2px;
  max-width: 430px;
  margin-top: auto;
  margin-bottom: 22px;
  z-index: 1;
}
.auth-brand p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.8;
  color: #b8cbbb;
  margin-bottom: auto;
  z-index: 1;
}
.auth-decoration {
  position: absolute;
  width: 470px;
  height: 470px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  bottom: -180px;
  right: -200px;
  box-shadow:
    0 0 0 65px #ffffff05,
    0 0 0 130px #ffffff04;
}
.auth-footer {
  font-size: 11px;
  color: #8fae98;
}
.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
}
.auth-box {
  width: 100%;
  max-width: 360px;
}
.auth-box h1 {
  font-size: 28px;
}
.auth-box form {
  margin-top: 28px;
}
.auth-box .primary {
  margin-top: 6px;
}
.auth-box p {
  color: var(--muted);
  font-size: 13px;
}
.auth-caption {
  margin-top: 25px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 100px #15271830;
  padding: 0;
  width: 560px;
  max-width: calc(100vw - 28px);
  max-height: 88vh;
  color: var(--ink);
}
dialog::backdrop {
  background: #14271b65;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.modal-head h2 {
  margin: 0;
  overflow-wrap: anywhere;
}
/* One scroll area: the dialog is a fixed-height column and only the body scrolls. */
dialog[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-head {
  flex: none;
}
.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px 24px 0;
  overflow: auto;
  overscroll-behavior: contain;
}
/* No bottom padding on the body, so the pinned buttons sit flush and nothing shows beneath them. */
.modal-body .form-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: white;
  padding: 12px 0 22px;
  border-top: 1px solid var(--line);
}
/* Inside a dialog, lists grow with the form instead of opening a second scroll box. */
.modal-body .checkbox-list {
  max-height: none;
  overflow: visible;
}
.loading {
  padding: 80px 24px;
  text-align: center;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--green);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 6px 24px #193e3222;
  max-width: 90vw;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.bad {
  background: #9b4136;
}
.tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: #ebefe5;
  border-radius: 8px;
  width: max-content;
}
.tabs button {
  background: none;
  border: 0;
  font-size: 12px;
  padding: 8px 14px;
  min-height: 32px;
  color: var(--muted);
}
.tabs button.active {
  background: white;
  box-shadow: 0 1px 4px #223e2810;
  color: var(--ink);
}
details {
  border-top: 1px solid var(--line);
}
summary {
  padding: 17px 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}
summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}
details[open] summary::after {
  content: "−";
}
.question-row {
  padding: 16px 20px;
  border-top: 1px solid #edf0e9;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.qnumber {
  color: #9ba68e;
  font-size: 11px;
  min-width: 30px;
}
.question-row p {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.question-row .critical-check {
  margin-left: auto;
  display: flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
  font-size: 11px;
}
.detail-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 20px;
  font-size: 12px;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  word-break: break-word;
}
.review-item {
  padding: 17px 20px;
  border-top: 1px solid var(--line);
}
.review-item p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 10px;
}
.review-item .answer {
  font-size: 12px;
  font-weight: 600;
}
.thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.thumbs img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.thumb {
  position: relative;
}
.thumb button {
  position: absolute;
  right: -6px;
  top: -6px;
  border-radius: 50%;
  padding: 3px;
  min-height: 20px;
  width: 20px;
  background: white;
  font-size: 10px;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.timeline li:last-child {
  border-bottom: 0;
}
.timeline small {
  display: block;
  margin-top: 4px;
}
.runner-shell {
  max-width: 760px;
  margin: auto;
}
.runner-header {
  margin-bottom: 12px;
}
.runner-sticky {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--bg);
  padding: 10px 0 2px;
  margin-bottom: 12px;
}
.runner-sticky h1 {
  font-size: 23px;
}
.runner-sticky .runner-progress {
  margin: 8px 0;
}
.upload-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}
.upload-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.upload-list li span:first-child {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-list .upload-failed {
  color: var(--red);
}
.upload-list .upload-uploaded {
  color: var(--muted);
}
.runner-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
  margin: 18px 0;
}
.runner-progress .bar {
  flex: 1;
  margin: 0;
}
.runner-card {
  padding: 34px;
}
.runner-card h2 {
  font-size: 21px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 20px 0 28px;
}
.answer-options {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.answer-options button {
  min-height: 68px;
  font-size: 15px;
  border-radius: 9px;
}
.answer-options button.selected {
  border: 2px solid #658544;
  background: #f0f7e5;
  color: #3a5d21;
}
.answer-options button.selected.no {
  border-color: #c29377;
  background: #fff4e9;
  color: #9e603a;
}
.runner-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.runner-saving {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.runner-note {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 22px;
}
.runner-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}
.runner-tools button {
  flex: 1;
  min-height: 44px;
}
.runner-navigation {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.runner-navigation > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  cursor: pointer;
  font-weight: 500;
}
.runner-navigation > summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
}
.runner-navigation[open] > summary::after {
  content: "−";
}
.runner-navigation > summary small {
  color: var(--muted);
  font-weight: 400;
  margin-left: auto;
}
.runner-navigation-body {
  max-height: 420px;
  overflow: auto;
  border-top: 1px solid var(--line);
  padding: 16px;
}
.runner-unfinished-filter {
  font-size: 12px;
  gap: 8px;
  margin-bottom: 18px;
}
.runner-category + .runner-category {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}
.runner-category-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.runner-category-head button {
  padding: 0;
  min-height: 32px;
  font-weight: 600;
  text-align: left;
}
.runner-category-head span {
  color: var(--muted);
  font-size: 11px;
}
.runner-question-map {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.runner-question-link {
  min-width: 52px;
  min-height: 42px;
  padding: 8px 10px;
  font-size: 12px;
}
.runner-question-link.is-complete {
  color: #365f51;
  background: #f1f6ec;
  border-color: #c7d8bb;
}
.runner-question-link.is-current {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.runner-evidence-link {
  margin: 10px 0 0;
  padding-left: 0;
  font-size: 11px;
}
.runner-review-warning {
  margin-bottom: 18px;
}
@media (max-width: 480px) {
  .runner-tools button {
    flex-basis: 100%;
  }
  .runner-navigation > summary {
    padding: 14px;
  }
  .runner-navigation > summary small {
    font-size: 10px;
    margin-left: 0;
  }
  .runner-navigation-body {
    max-height: 55vh;
    padding: 14px;
  }
}
.location-card {
  margin-top: 20px;
}
.student-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}
.student-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.student-brand .brand {
  color: var(--green);
  padding: 0;
}
.student-brand .brand-mark i {
  background: #83a355;
}
.student-shell h1 {
  font-size: 27px;
}
.student-category {
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.student-category h3 {
  margin: 0 0 3px;
}
.student-question {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.student-question p {
  font-size: 14px;
  line-height: 1.7;
}
.student-question .answer-options button {
  min-height: 45px;
  font-size: 13px;
}
.smileys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.smileys button {
  display: grid;
  gap: 6px;
  padding: 11px 4px;
  font-size: 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  min-height: 85px;
}
.smileys button span {
  font-size: 24px;
}
.smileys button.selected {
  background: #f0f7e5;
  border-color: #87a066;
  color: var(--ink);
}
.chart-list {
  display: grid;
  gap: 17px;
}
.chart-list .row {
  font-size: 12px;
}
.chart-list .bar {
  height: 7px;
}
.print-only {
  display: none;
}
@media (min-width: 1500px) {
  .workspace main {
    padding-top: 38px;
  }
  .stats {
    gap: 20px;
  }
  .stat {
    padding: 24px;
  }
}
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 195px 1fr;
  }
  .sidebar {
    width: 195px;
  }
  .workspace main {
    padding: 26px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .sidebar .brand {
    font-size: 22px;
  }
  .auth-brand h1 {
    font-size: 40px;
  }
  .card-head {
    padding: 17px 18px;
  }
}
@media (max-width: 720px) {
  .layout {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 235px;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 0 100vmax #14271b65;
  }
  .workspace {
    width: 100%;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .desktop-hidden {
    display: inline-flex;
  }
  .topbar .today {
    font-size: 10px;
  }
  .workspace main {
    padding: 25px 16px 55px;
  }
  .page-head {
    margin-bottom: 22px;
    gap: 12px;
  }
  .page-head h1 {
    font-size: 24px;
    letter-spacing: -0.8px;
  }
  .page-head p {
    font-size: 12px;
  }
  .page-head > .button {
    font-size: 11px;
    padding: 9px 10px;
    white-space: nowrap;
  }
  .stats {
    gap: 10px;
    margin-bottom: 18px;
  }
  .stat {
    padding: 15px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-icon {
    padding: 5px;
  }
  .stat-icon .icon {
    width: 15px;
    height: 15px;
  }
  .stat-value {
    font-size: 27px;
    margin-top: 13px;
  }
  .stat-sub {
    font-size: 9px;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .toolbar {
    gap: 8px;
  }
  .toolbar input,
  .toolbar select {
    min-width: 0;
    max-width: 48%;
    font-size: 12px;
  }
  .card {
    padding: 18px;
  }
  .card-head {
    padding: 16px;
  }
  .card-head h2 {
    font-size: 16px;
  }
  th {
    padding: 11px 14px;
  }
  td {
    padding: 14px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field.wide {
    grid-column: auto;
  }
  .modal-body {
    padding: 20px 20px 0;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    padding: 25px 26px;
  }
  .auth-brand h1,
  .auth-brand p,
  .auth-decoration,
  .auth-footer {
    display: none;
  }
  .auth-form {
    padding: 40px 25px;
    align-items: flex-start;
  }
  .auth-brand .brand {
    font-size: 23px;
  }
  .auth-brand .brand small {
    display: none;
  }
  .auth-caption {
    line-height: 1.7;
  }
  .runner-card {
    padding: 24px 20px;
  }
  .runner-card h2 {
    font-size: 18px;
    margin: 18px 0 24px;
  }
  .answer-options {
    gap: 8px;
  }
  .answer-options button {
    min-height: 58px;
    font-size: 13px;
    padding: 9px;
  }
  .runner-sticky h1 {
    font-size: 18px;
  }
  .runner-footer {
    position: sticky;
    bottom: 0;
    padding: 12px 0;
    background: var(--bg);
    z-index: 5;
  }
  .runner-saving {
    font-size: 10px;
  }
  .student-shell {
    padding: 22px 16px 45px;
  }
  .student-shell .card {
    padding: 18px;
  }
  .student-brand {
    padding-bottom: 18px;
    margin-bottom: 22px;
  }
  .student-brand .tag {
    font-size: 9px;
  }
  .smileys button {
    font-size: 11px;
    line-height: 1.3;
    min-height: 76px;
  }
  .smileys button span {
    font-size: 23px;
  }
  .detail-list {
    grid-template-columns: 110px 1fr;
  }
  .question-row {
    padding: 15px 14px;
    gap: 8px;
  }
  .question-row .critical-check {
    font-size: 11px;
    min-height: 44px;
  }
  .question-row p {
    font-size: 13px;
  }
  .empty {
    padding: 32px 12px;
  }
  .tabs {
    max-width: 100%;
    overflow: auto;
  }
  .tabs button {
    white-space: nowrap;
  }
}
.nav-dismiss,
.nav-backdrop {
  display: none;
}
.field-error {
  padding: 12px 14px;
  border: 1px solid #e7c5bd;
  background: #fff5f1;
  border-radius: 8px;
  color: #8e372c;
  font-size: 13px;
}
.groups-heading {
  flex-wrap: wrap;
  align-items: flex-start;
}
.groups-heading > div {
  flex: 1;
  min-width: 200px;
}
.groups-heading > button {
  flex-shrink: 0;
  white-space: nowrap;
}
.intake-property {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.intake-property > div {
  min-width: 0;
}
.intake-property h3 {
  margin-bottom: 6px;
}
.intake-property p {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.intake-property > button {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .intake-property {
    flex-direction: column;
  }
  .intake-property > button {
    width: 100%;
  }
}
.field-error[hidden] {
  display: none;
}
.question-needs-answer {
  border-left: 3px solid #ae584a;
  padding-left: 12px;
}
@media (max-width: 720px) {
  .nav-dismiss {
    display: inline-flex;
    position: absolute;
    right: 10px;
    top: 8px;
    color: #e6ecdf;
  }
  .nav-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 19;
    border: 0;
    border-radius: 0;
    background: #14271b65;
  }
  .sidebar.open {
    box-shadow: none;
  }
  .topbar .crumb {
    min-width: 0;
  }
  .topbar .today {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .record-table,
  .record-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .record-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .record-table tbody tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .record-table tbody tr:last-child {
    border-bottom: 0;
  }
  .record-table td {
    display: block;
    position: relative;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 7px 0 7px 110px;
    border: 0;
    font-size: 13px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .record-table td::before {
    content: attr(data-label);
    position: absolute;
    top: 9px;
    left: 0;
    width: 100px;
    font-size: 11px;
    color: #627065;
  }
  .record-table td:first-child {
    padding: 0 0 10px;
  }
  .record-table td:last-child {
    padding: 10px 0 0;
  }
  .record-table td:first-child::before,
  .record-table td:last-child::before {
    display: none;
  }
  .record-table td:last-child .button,
  .record-table td:last-child button {
    width: 100%;
    min-height: 44px;
  }
  .question-row {
    flex-wrap: wrap;
  }
  .question-row > div {
    flex: 1;
    min-width: 0;
  }
  .question-row .critical-check {
    margin: 0 0 0 38px;
  }
  .student-category {
    flex-wrap: wrap;
  }
  .student-category .spacer {
    min-width: 170px;
  }
  .student-shell input,
  .student-shell textarea,
  .student-shell select {
    font-size: 16px;
  }
  .student-brand {
    gap: 12px;
    flex-wrap: wrap;
  }
  .student-brand .brand small {
    font-size: 9px;
  }
  .runner-footer button {
    min-height: 44px;
  }
}
@media (max-width: 380px) {
  .smileys {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .topbar .today {
    display: none;
  }
  .modal-head {
    padding: 18px 20px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions button {
    flex: 1;
  }
}
@media print {
  .sidebar,
  .topbar,
  .toolbar,
  button,
  .button {
    display: none !important;
  }
  .layout {
    display: block;
  }
  .workspace main {
    padding: 0;
  }
  .card {
    break-inside: avoid;
  }
  .print-only {
    display: block;
  }
}

.runner-brand {
  color: var(--green);
  font-size: 18px;
  padding: 0;
  margin-top: 20px;
}

.setup-property {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.setup-property > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.setup-property > summary small {
  margin-left: auto;
  font-weight: 400;
}
.toolbar.action-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}
.toolbar.action-filters .form-field {
  min-width: 0;
}
.toolbar.action-filters input,
.toolbar.action-filters select {
  width: 100%;
  min-width: 0;
  max-width: none;
}
@media (max-width: 1000px) {
  .toolbar.action-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .toolbar.action-filters {
    grid-template-columns: minmax(0, 1fr);
  }
  .setup-property > summary small {
    margin-left: 0;
  }
}
.setup-steps {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.setup-steps li,
.reference-record,
.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.reference-record {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.reference-record small {
  display: block;
  margin-top: 4px;
}
.planning-property {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin: 16px 0;
  min-width: 0;
}
.planning-property legend {
  font-weight: 600;
  padding: 0 6px;
}
.plan-row {
  margin: 10px 0;
}
.plan-row select {
  max-width: 100%;
  flex: 1;
  min-width: 160px;
}
.location-precheck h2 {
  font-size: 16px;
}
.password-page {
  max-width: 560px;
  margin: 40px auto;
  padding: 20px;
}
.location-precheck p {
  margin-bottom: 10px;
}
@media (max-width: 480px) {
  .setup-steps li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .plan-row select {
    flex-basis: 100%;
  }
}
.runner-brand small {
  display: none;
}
.runner-header .runner-brand + h1 {
  margin-top: 12px;
}

.target-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 12px;
  display: grid;
  gap: 10px;
}
.target-row label {
  margin-bottom: 4px;
}
.target-row select,
.target-row input {
  font-size: 12px;
}
.target-row [hidden] {
  display: none;
}

.rating-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.page-head > div:first-child {
  min-width: 0;
}
.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.rating-cards .stat-sub {
  margin: 12px 0 0;
}
.analytics-metrics,
.perspective-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.analytics-metrics > div,
.perspective-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.analytics-metrics small,
.analytics-metrics strong,
.block {
  display: block;
}
.analytics-metrics strong {
  font-size: 24px;
  font-weight: 600;
  margin: 5px 0;
}
.analytics-metrics small {
  font-size: 11px;
}
.analytics-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  margin: 18px 0;
  color: var(--muted);
}
.analytics-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.analytics-legend i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}
.answer-bar {
  height: 12px;
  display: flex;
  overflow: hidden;
  border-radius: 4px;
  background: #edf0eb;
  margin: 8px 0 18px;
}
.segment-good {
  background: #86a954;
}
.segment-bad {
  background: #b65247;
}
.segment-na {
  background: #c9d0c6;
}
.segment-empty {
  background: #e8d6b2;
}
.analytics-table caption {
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
}
.analytics-table th {
  white-space: nowrap;
}
[id^="category-answers-"] {
  scroll-margin-top: 90px;
}
.padded {
  padding: 20px;
}
@media (max-width: 1000px) {
  .analytics-metrics,
  .perspective-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .page-head {
    flex-direction: column;
    align-items: stretch;
  }
  .page-actions {
    width: 100%;
    gap: 8px;
  }
  .page-actions .button {
    font-size: 11px;
  }
  .rating-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rating-cards .stat {
    min-height: 0;
  }
  .analytics-metrics,
  .perspective-grid {
    gap: 10px;
  }
  .analytics-metrics > div,
  .perspective-item {
    padding: 12px;
  }
  .analytics-metrics strong {
    font-size: 20px;
  }
  .audit-category-chart .row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Questionnaire page: admin-only source wording (QuestionTextUx) */
.question-row .source-wording {
  margin: 6px 0 8px;
  color: #535d55;
  font-size: 12px;
}

/* ---- Audit runner, audit list & review (RunnerUx) ---- */
.runner-header {
  margin-bottom: 4px;
}
.runner-header .link,
.runner-shell > .link,
.maps-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.runner-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.runner-sticky .runner-title h1 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.runner-title h1 small,
.runner-title > span {
  font-size: 12px;
  font-weight: 400;
  color: #5c645d;
  white-space: nowrap;
}
.runner-sticky > .bar {
  margin: 6px 0 4px;
}
.runner-shell button,
.runner-category-head button,
.runner-question-link {
  min-height: 44px;
}
.runner-unfinished-filter {
  min-height: 44px;
  align-items: center;
}
.runner-unfinished-filter input {
  width: 22px;
  height: 22px;
}
.runner-shell .thumb button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  right: -14px;
  top: -14px;
  font-size: 18px;
  line-height: 1;
}
.target-heading {
  font-weight: 600;
  margin-bottom: 10px;
}
.location-result {
  font-size: 13px;
  margin: 10px 0 0;
}
.location-result.good {
  color: #2f5b22;
}
.location-result.bad {
  color: var(--red);
}
.receipt-code {
  font-family: ui-monospace, monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.accept-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 40vh;
  overflow: auto;
}
.accept-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
@media (max-width: 480px) {
  .runner-tools button {
    flex: 1 1 0;
  }
  .runner-tools {
    flex-wrap: nowrap;
  }
}
.target-row .row small {
  text-transform: capitalize;
}
/* Shell & shared controls (UX review #10, #13, #16): inline errors, phone tap targets, action filter sheet. */
.inline-error {
  color: var(--red);
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0 0;
}
[aria-invalid="true"] {
  border-color: var(--red);
}
.filter-sheet {
  margin-bottom: 16px;
}
.filter-sheet > summary {
  display: none;
}
@media (max-width: 720px), (pointer: coarse) {
  .button,
  button,
  .sm,
  .toolbar select,
  .toolbar input {
    min-height: 44px;
  }
  .button-icon {
    min-width: 44px;
  }
}
@media (max-width: 720px) {
  .filter-sheet {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
  }
  .filter-sheet > summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-height: 48px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
  }
  .filter-sheet > summary::after {
    margin-left: auto;
  }
  .filter-sheet > summary small {
    order: 1;
    flex-basis: 100%;
    font-weight: 400;
    color: var(--muted);
  }
  .filter-sheet .toolbar.action-filters {
    padding: 0 14px 14px;
    margin: 0;
  }
}

/* ---- Admin & student screens: property tabs, planning, student feedback, email, activity ---- */
.property-tabs {
  margin: 0 0 18px;
  max-width: 100%;
  overflow-x: auto;
}
.property-tabs button {
  min-height: 44px;
  font-size: 14px;
  padding: 10px 18px;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .property-tabs button {
    flex: 1 1 0;
    padding: 10px 6px;
  }
}
.reference-tools .form-field {
  flex: 1 1 260px;
}
.plan-row {
  margin: 4px 0;
  min-height: 48px;
}
.plan-tick,
.response-tick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
.plan-tick {
  min-width: 140px;
}
.plan-tick input,
.response-tick input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
}
.plan-row select {
  min-height: 44px;
}
.plan-row .muted {
  font-size: 13px;
}
.share-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.share-row:last-child {
  border-bottom: 0;
}
.share-row small {
  display: block;
  overflow-wrap: anywhere;
}
.share-row .sm {
  min-height: 44px;
  font-size: 13px;
}
.skip-list {
  padding-left: 18px;
}
.skip-list small {
  display: block;
}
.email-panel h3 {
  font-size: 16px;
}
.email-actions {
  margin-top: 4px;
}
.otp-channel {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.otp-channel[hidden] {
  display: none;
}
.email-settings button:disabled {
  opacity: 1;
  background: #eef0eb;
  border-color: #d4d9d1;
  color: #4b5850;
  cursor: not-allowed;
}
.toolbar.activity-filters {
  flex-wrap: wrap;
  align-items: end;
}
.activity-object {
  margin: 4px 0 0;
  font-size: 14px;
}
#student-content button,
#student-content .button {
  min-height: 44px;
}
.setup-steps a,
.setup-checklist p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.student-brand .tag {
  font-size: 12px;
  color: var(--ink);
}
#student-content button:disabled {
  opacity: 1;
  background: #eef0eb;
  border-color: #d4d9d1;
  color: #4b5850;
}
/* Questionnaire page: admin-added questions (AddQuestions) */
.question-row.custom-question {
  background: #fbfaf3;
}
.question-row .question-actions {
  margin-top: 8px;
  gap: 8px;
}
.question-add {
  padding: 12px 20px 16px;
  border-top: 1px solid #edf0e9;
}
.comment-prompt {
  margin: 0 0 6px;
  font-weight: 600;
}
@media (max-width: 720px) {
  .question-row .question-actions button,
  .question-add button {
    min-height: 44px;
  }
  .question-add {
    padding: 12px 14px 16px;
  }
}
/* Audit runner (AuditFlowFix): small visible remove dot on a 44 px tap target; prominent send problem. */
.runner-shell .thumb button {
  right: -12px;
  top: -12px;
  padding: 0;
  border: 0;
  color: white;
  font-size: 15px;
  background: radial-gradient(circle, rgba(20, 26, 22, 0.78) 11px, transparent 12px);
}
.send-problem {
  margin-bottom: 18px;
}
.send-problem strong {
  display: block;
  margin-bottom: 4px;
}
.request-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.request-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.request-list li:last-child {
  border-bottom: 0;
}
.request-list li > div:first-child {
  flex: 1 1 260px;
  min-width: 0;
}
.request-list small {
  display: block;
  overflow-wrap: anywhere;
}
.request-list .sm {
  min-height: 44px;
}
.toolbar [name="student_search"] {
  flex: 1 1 auto;
  max-width: 420px;
  margin: 0;
}
.card + .toolbar {
  margin-top: 24px;
}
@media (max-width: 720px) {
  .card-head {
    flex-wrap: wrap;
  }
  .card-head h2 {
    flex-shrink: 0;
  }
}
.detail-list a[href^="/students/"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
