.preview-bar{font-size:11px}.preview-inner{min-height:30px}.preview-label{letter-spacing:0;text-transform:none}.slot-list{max-height:52vh;overflow:auto;display:grid;gap:9px;margin:20px 0}.slot-option{width:100%;text-align:left;border:1px solid #dce5d2;border-radius:10px;padding:14px;background:#f7faf3;color:#34532e;font-size:13px;line-height:1.6}.slot-option:hover{border-color:#729257;background:#eef5e6}.slot-confirmation{display:grid;gap:12px}.slot-confirmation p{margin:0}#modal-body{overflow-wrap:anywhere}#modal-body>h2{margin:10px 0 16px}#modal-body>p{line-height:1.8;margin-bottom:14px}#assistant-form{display:grid;gap:12px;margin-top:18px}#assistant-message{width:100%;border:1px solid #dce5d2;border-radius:9px;padding:12px;font:inherit;resize:vertical}#assistant-answer{white-space:pre-wrap;display:block}.row-main{min-width:0}.page-panel>.muted{line-height:1.8}.page-panel .button{margin:12px 12px 0 0}.document-row{flex-wrap:wrap}.definition-row dd{overflow-wrap:anywhere}.auth-test-help p{line-height:1.8}#booking-status{white-space:pre-wrap}@media(max-width:600px){.document-row>.button{width:100%;justify-content:center}.definition-row{gap:16px}}
#page-content>.next-step-card{margin-bottom:17px}
.appointment-card{padding:22px 0;border-top:1px solid #e7ebe3}.appointment-card:first-child{border-top:0}.appointment-card-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.appointment-card h3{margin:0}.appointment-card p{margin:12px 0}.appointment-actions{display:flex;flex-wrap:wrap;gap:10px}.appointment-actions .button{margin:4px 0 0}.appointment-card .document-meta{font-size:12px}@media(max-width:600px){.appointment-actions .button{width:100%;justify-content:center}}

.direct-lab-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.direct-lab-option{display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:110px;padding:20px;border:1px solid #ccd9c3;border-radius:14px;background:#f8faf5;color:#244730;text-decoration:none;transition:background .15s,border-color .15s}.direct-lab-option strong{font-size:17px;line-height:1.4}.direct-lab-option span{font-size:14px;line-height:1.5}.direct-lab-option:hover{background:#edf4e7;border-color:#789468}.direct-lab-option:focus-visible,.direct-text-button:focus-visible{outline:2px solid #456b36;outline-offset:3px}.direct-status{min-height:22px;line-height:1.6;color:#47633c;font-size:14px}.direct-status[role=alert]{color:#903c2c}.direct-booking-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.direct-reported-visit{border:1px solid #e0e6d8;border-radius:14px;background:#f8faf5;padding:20px;margin:22px 0}.direct-reported-visit h3{font-size:20px;margin:15px 0 10px}.direct-reported-visit p{line-height:1.6;margin:8px 0}.direct-text-button{border:0;padding:8px 0;background:none;color:#416333;font:inherit;font-size:14px;text-decoration:underline;cursor:pointer}.direct-report-form{display:grid;gap:10px;margin-top:22px}.direct-report-form label{font-size:14px;font-weight:550;color:#2f4931;line-height:1.5}.direct-report-form label span{font-weight:400;color:#72806b}.direct-report-form input,.direct-report-form select{box-sizing:border-box;width:100%;min-width:0;min-height:47px;border:1px solid #cbd7c2;border-radius:9px;padding:11px 12px;background:white;color:#28442e;font:inherit;font-size:15px}.direct-report-form input:focus-visible,.direct-report-form select:focus-visible{outline:2px solid #6e8c5c;outline-offset:2px}.direct-report-form>input,.direct-report-form>select{margin-bottom:8px}.direct-date-time{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:8px}.direct-date-time>div{display:grid;gap:10px;min-width:0}.direct-appointment-date{font-size:18px}.direct-appointment-card{padding-bottom:4px}.direct-appointment-card .appointment-actions{margin-top:10px}#modal .direct-booking-actions .button{margin:0}#modal #direct-report-summary:empty{display:none}@media(max-width:520px){.direct-lab-options{grid-template-columns:1fr}.direct-lab-option{min-height:88px;padding:16px}.direct-booking-actions>.button{width:100%;justify-content:center}.direct-date-time{grid-template-columns:1fr}.direct-reported-visit{padding:16px}.direct-report-form input,.direct-report-form select{font-size:16px}}

.lab-report-field {
  display: grid;
  gap: 8px;
  margin: 18px 0 4px;
}
.lab-report-field label {
  color: #193e2a;
  font-weight: 650;
}
.lab-report-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 7px;
  border: 1px solid #cbd7c2;
  border-radius: 12px;
  background: #f8faf5;
  color: #294030;
  font: inherit;
  font-size: 14px;
}
.lab-report-field input::file-selector-button {
  min-height: 44px;
  margin-inline-end: 10px;
  padding: 8px 12px;
  border: 1px solid #cbd7c2;
  border-radius: 8px;
  background: #eaf1e3;
  color: #193e2a;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.lab-report-field input::file-selector-button:hover {
  background: #dde9d5;
}
.lab-report-field input:focus-visible {
  outline: 2px solid #456b36;
  outline-offset: 3px;
}
#page-content .page-panel h2[tabindex="-1"]:focus-visible {
  width: fit-content;
  border-radius: 2px;
  outline: 2px solid #456b36;
  outline-offset: 3px;
}

.auth-account-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e7ece1;
}
.auth-account-choice p {
  margin: 0;
  color: #617b4c;
  font-size: 13px;
  line-height: 1.6;
}
.auth-create-account {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #cbd7c2;
  border-radius: 9px;
  background: #f8faf5;
  color: #244730;
  font-size: 13px;
}
.auth-signin-switch {
  min-height: 44px;
  padding: 8px 0;
  background: transparent;
  color: #244730;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-create-account:focus-visible,
.auth-signin-switch:focus-visible {
  outline: 2px solid #456b36;
  outline-offset: 3px;
}
.auth-layout:has(#patient-signup) {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 48px;
  max-width: 1080px;
  padding-top: 48px;
}
.auth-layout:has(#patient-signup) .auth-welcome {
  padding-top: 34px;
}
.auth-signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.auth-signup-grid legend {
  margin-bottom: 16px;
  padding: 0;
  color: #244730;
  font-size: 16px;
  font-weight: 600;
}
.auth-signup-address {
  margin-top: 25px;
}
.auth-signup-field {
  min-width: 0;
}
.auth-signup-field:has(#signup-email),
.auth-signup-field:has(#signup-address1),
.auth-signup-field:has(#signup-address2) {
  grid-column: 1 / -1;
}
.auth-signup-field .auth-field {
  font-size: 13px;
}
.auth-signup-field input,
.auth-signup-field select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 12px;
  border: 1px solid #dce5d2;
  border-radius: 9px;
  background: #fff;
  color: #2d4b31;
  font: inherit;
  font-size: 16px;
}
.auth-signup-field select:focus-visible {
  outline: 2px solid #6e8c5c;
  outline-offset: 2px;
}
.auth-signup-field [aria-invalid="true"] {
  border-color: #a45139;
}
.auth-signup-help,
.auth-signup-error {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
}
.auth-signup-help {
  color: #617b4c;
  margin-top: 20px;
}
.auth-signup-error {
  color: #903c2c;
}
@media (max-width: 760px) {
  .auth-layout:has(#patient-signup) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 550px;
    gap: 0;
    padding: 32px 0 45px;
  }
}
@media (max-width: 420px) {
  .auth-signup-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-account-choice {
    align-items: flex-start;
  }
}

/* Signed-in care home */
.site-header .header-inner {
  height: 66px;
  max-width: 1296px;
}
.main-shell:has(.lab-next-step) {
  max-width: 586px;
  padding-top: 32px;
}
#page-heading {
  white-space: pre-line;
}
.page-description:empty {
  display: none;
}
.lab-next-step {
  padding: 24px;
  border-radius: 16px;
}
.treatment-label {
  margin-bottom: 14px;
  color: #375c43;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.lab-next-step h2 {
  margin-top: 16px;
  font-size: 25px;
}
.lab-next-step .action-copy {
  margin-top: 7px;
}
.lab-next-step .care-progress {
  gap: 12px;
  margin: 18px 0;
  padding: 0;
}
.lab-next-step .care-step {
  align-items: center;
}
.lab-next-step .care-step-label {
  font-size: 12px;
  color: #667067;
}
.lab-next-step .care-step.active .care-step-label {
  color: #243b2c;
  font-weight: 600;
}
.lab-next-step .primary-actions {
  display: flex;
  flex-wrap: wrap;
}
.lab-next-step .primary-actions > * {
  flex: 1 1 190px;
  margin: 0;
}
.lab-next-step .primary-actions .button > span[aria-hidden] {
  display: none;
}
.lab-next-step summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: auto;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.lab-next-step details[open] summary::after {
  transform: rotate(225deg);
}
.lab-next-step .accordion-content {
  padding-left: 0;
  font-size: 14px;
  color: #626c66;
}
.visit-when {
  margin-top: 12px;
  font-weight: 600;
}
.visit-where {
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.support-section .support-card {
  flex-direction: column;
  gap: 4px;
  color: #45574a;
  font-size: 14px;
}
@media (max-width: 760px) {
  .site-header .header-inner { height: auto; }
  .lab-next-step { padding: 20px; }
  .main-shell:has(.lab-next-step) { padding-top: 24px; }
  .lab-next-step .care-step-label { font-size: 11px; }
}

.site-footer {justify-content:center;text-align:center}

/* Unified portal step checklist & order headers */
.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.order-card-head .treatment-label {
  margin-bottom: 0;
}
.order-number-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #edf2ec;
  color: #355240;
  font-size: 12px;
  font-weight: 600;
}
.status-pill.status-success {
  background: #e4f2e8;
  color: #16512c;
}
.step-checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #dfe7dc;
  background: #f8faf7;
  font-size: 14px;
  line-height: 1.4;
}
.check-item.done {
  background: #f2f7f2;
  border-color: #cde0cf;
  color: #2f523a;
}
.check-item.todo {
  background: #fffdf7;
  border-color: #ead7a7;
  color: #2c2a21;
  font-weight: 600;
}
.check-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.check-item.done .check-mark {
  background: #193d2b;
  color: #fff;
}
.check-item.todo .check-mark {
  background: #fff3d1;
  color: #825c07;
  border: 1px solid #dfb861;
}
.check-title {
  flex: 1 1 auto;
}
.check-state {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  color: #5b695f;
}
.check-item.todo .check-state {
  color: #8a5e00;
}
.gate-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f2f5f2;
  color: #364a3d;
  font-size: 13px;
  line-height: 1.5;
}
.lab-next-step .primary-actions {
  gap: 10px;
}
.support-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.check-item.todo .check-state {
  padding: 2px 9px;
  border-radius: 999px;
  background: #fdecec;
  color: #a61d24;
  border: 1px solid #f3b5b8;
  font-weight: 700;
}
.admin-preview-banner {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  background: #102c24;
  color: #f4faf6;
  border-bottom: 2px solid #eab308;
  font-size: 13.5px;
}
.admin-preview-exit {
  padding: 5px 12px !important;
  font-size: 12.5px !important;
  min-height: 0 !important;
}
