﻿:root { color-scheme: light; font: 16px/1.55 system-ui, sans-serif; color: #19313b; background: #f3f8f7; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2rem, 960px); margin-inline: auto; }
header { background: #0f4c48; color: white; }
header .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .75rem; padding-block: .9rem; }
header a { color: inherit; }
.brand { font-weight: 750; text-decoration: none; }
main { padding-block: 1.5rem 4rem; }
h1 { font-size: clamp(1.8rem, 5vw, 2.75rem); line-height: 1.12; margin: .7rem 0 1rem; }
h2 { margin: 0 0 .6rem; font-size: 1.35rem; }
a { color: #146a65; }
.panel { background: white; border: 1px solid #cfdeda; border-radius: 14px; padding: clamp(1rem, 3vw, 1.75rem); margin: 1.1rem 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: grid; gap: .25rem; font-weight: 600; }
input, select, textarea, button { font: inherit; }
input:not([type=checkbox]), select, textarea { width: 100%; min-height: 2.75rem; border: 1px solid #819e99; border-radius: 6px; padding: .55rem; background: white; color: inherit; }
textarea { min-height: 5rem; resize: vertical; }
.wide { grid-column: 1 / -1; }
.check { display: flex; align-items: baseline; gap: .55rem; margin: 1rem 0; }
input[type=checkbox] { accent-color: #146a65; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
button { background: #146a65; border: 1px solid #146a65; color: white; padding: .55rem .95rem; min-height: 2.75rem; border-radius: 7px; cursor: pointer; }
button:hover { background: #0f4c48; }
button:disabled { opacity: .58; cursor: default; }
:focus-visible { outline: 3px solid #147e75; outline-offset: 3px; }
.search { margin-top: 1rem; max-width: 22rem; }
.records { padding-inline-start: 1.4rem; }
.records li { padding-block: .25rem; overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: minmax(6rem, 1fr) minmax(0, 2fr); gap: .3rem 1rem; }
dt { font-weight: 650; }
dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
#status { color: #174c47; }
.dashboard-layout { display: grid; grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
.dashboard-nav { display: grid; gap: .25rem; padding: .5rem; background: white; border: 1px solid #cfdeda; border-radius: 12px; }
.dashboard-nav a { display: block; padding: .62rem .7rem; border-radius: 7px; font-weight: 600; text-decoration: none; }
.dashboard-nav a:hover { background: #edf7f4; }
.dashboard-nav a[aria-current] { background: #146a65; color: white; }
.dashboard-content .panel { margin: 0; }
.dashboard-content #client-access { overflow-wrap: anywhere; }
.dashboard-content #invitation-result { margin-top: 1rem; }
.dashboard-content #copy-invitation { margin-top: .65rem; }
.assessment-reminder { border-inline-start: 4px solid #146a65; }
.assessment-reminder p:first-child { margin-top: 0; }
.assessment-reminder p:last-child { margin-bottom: 0; }
.assessment-request-button { display: inline-block; background: #146a65; color: white; font-weight: 650; text-decoration: none; padding: .6rem .9rem; border-radius: 7px; }
.assessment-request-button:hover { background: #0f4c48; }
.assessment-nav button { text-align: start; background: white; color: #0f4c48; border-color: transparent; padding: .62rem .7rem; }
.assessment-nav button:hover { background: #edf7f4; }
.assessment-nav button[aria-current] { background: #146a65; color: white; }
.assessment-nav small { display: block; margin-top: .25rem; font-weight: 500; }
#ayurveda-questions { display: grid; gap: .9rem; }
@media (max-width: 600px) { .fields { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .dashboard-layout { grid-template-columns: minmax(0, 1fr); }
  .dashboard-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
