:root {
  --ink: #17222c;
  --navy: #102a35;
  --navy-2: #183b47;
  --teal: #1f8f87;
  --teal-dark: #13726d;
  --teal-soft: #dff2ef;
  --coral: #ef785f;
  --amber: #b87918;
  --amber-soft: #fff1d6;
  --red: #b74b4b;
  --red-soft: #fde8e6;
  --green: #28775c;
  --green-soft: #e3f2ea;
  --paper: #f5f5f0;
  --white: #fff;
  --surface: #fff;
  --surface-soft: #f6f8f6;
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --accent: var(--teal);
  --danger: var(--red);
  --line: #dfe4e1;
  --line-dark: #cbd3cf;
  --muted: #66747c;
  --muted-2: #8b969b;
  --shadow: 0 10px 35px rgba(16, 42, 53, .08);
  --shadow-soft: 0 8px 28px rgba(16, 42, 53, .06);
  --shadow-lift: 0 18px 44px rgba(16, 42, 53, .10);
  --radius: 16px;
  --radius-lg: 22px;
  --sidebar: 250px;
}

/* Non-destructive archive and history controls */
.archive-history-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;cursor:pointer;border-left:5px solid #d28b18;background:linear-gradient(100deg,#fff9eb,#fff)}
.archive-history-panel>summary span{display:grid;gap:4px}.archive-history-panel>summary strong{font-size:1.08rem}.archive-history-panel>summary small{color:var(--muted)}
.archive-history-panel[open]>summary{border-bottom:1px solid var(--line)}
.archive-cutoff-form{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:12px;align-items:end;padding:16px;border:1px solid #e8cf9a;border-radius:14px;background:#fffaf0}
.archive-cutoff-form small{grid-column:1/-1;color:var(--muted)}
.archive-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.archive-history-grid>section{display:grid;gap:10px;align-content:start}.archive-history-grid h3{margin:0}
.archive-record-list{display:grid;gap:8px;max-height:430px;overflow:auto;padding-right:4px}
.archive-record-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.archive-record-list article>div{display:flex;align-items:center;gap:8px}.archive-record-list article>div:first-child{display:grid;gap:3px}.archive-record-list article span{font-size:.82rem;color:var(--muted)}
@media(max-width:850px){.archive-history-grid{grid-template-columns:1fr}.archive-cutoff-form{grid-template-columns:1fr}.archive-cutoff-form small{grid-column:auto}.archive-record-list article{align-items:flex-start;flex-direction:column}.archive-record-list article>div:last-child{width:100%;justify-content:space-between}}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31,143,135,.08), transparent 32rem),
    radial-gradient(circle at 88% 8%, rgba(239,120,95,.07), transparent 26rem),
    linear-gradient(180deg,#f8f8f3 0%, var(--paper) 42%, #f1f3ef 100%);
  font: 14px/1.5 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(31,143,135,.2);
  outline-offset: 2px;
}
a:focus-visible, summary:focus-visible, .nav-item:focus-visible, .icon-button:focus-visible, [data-route]:focus-visible {
  outline: 3px solid rgba(31,143,135,.26);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(31,143,135,.08);
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  border: 1px solid rgba(123,219,209,.45);
  border-radius: 999px;
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(6,24,31,.28);
  transition: transform .16s ease;
}
.skip-link:focus-visible { transform: translateY(0); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4, .brand { font-family: 'Manrope', system-ui, sans-serif; }
h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.035em; }
h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: 17px; letter-spacing: -.015em; }
h4 { font-size: 14px; }
.hidden,
.package-scope-hidden { display: none !important; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand { display: flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { display: inline-block; width: 36px; height: 36px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(4,19,26,.22)); }
.brand-light .brand-mark { filter: drop-shadow(0 12px 22px rgba(0,0,0,.28)); }
.mobile-brand { display: none; align-items: center; gap: 11px; margin-bottom: 28px; font-family: 'Manrope'; font-size: 20px; font-weight: 800; }

.login-shell { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(400px, .94fr); min-height: 100vh; background: var(--white); }
.login-story {
  position: relative;
  min-width: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 34px;
  padding: clamp(38px, 5.4vw, 72px) clamp(42px, 6.2vw, 96px);
  color: white;
  background:
    radial-gradient(circle at 12% 18%, rgba(120,208,199,.25), transparent 19rem),
    radial-gradient(circle at 84% 20%, rgba(239,120,95,.18), transparent 21rem),
    radial-gradient(circle at 74% 86%, rgba(242,164,93,.13), transparent 20rem),
    linear-gradient(115deg, transparent 0 58%, rgba(120,208,199,.06) 58% 58.7%, transparent 58.7% 100%),
    linear-gradient(118deg, transparent 0 67%, rgba(239,120,95,.06) 67% 67.6%, transparent 67.6% 100%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(135deg, #071d28 0%, #0d2c38 52%, #071d28 100%),
    #0d2732;
  background-size: auto, auto, auto, auto, auto, 42px 42px, 42px 42px, auto;
}
.login-story::before, .login-story::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.login-story::before { right: -280px; top: -170px; width: 560px; height: 560px; border-radius: 34px; transform: rotate(-14deg); background: linear-gradient(135deg, rgba(120,208,199,.12), rgba(255,255,255,.03)); box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 28px 80px rgba(0,0,0,.16); }
.login-story::after { left: -150px; bottom: -190px; border-color: rgba(239,120,95,.12); background: radial-gradient(circle, rgba(239,120,95,.2), transparent 66%); filter: blur(1px); }
.login-story > * { position: relative; z-index: 1; }
.story-copy { max-width: 760px; }
.story-copy .eyebrow { color: #78d0c7; margin-bottom: 20px; }
.story-copy h1 { margin: 22px 0 30px; font-size: clamp(40px, 5vw, 64px); line-height:.98; overflow-wrap: anywhere; font-weight: 700; letter-spacing:-.04em; }
.story-copy p { max-width: 600px; color: #c7d8dc; font-size: 17px; }
.positioning-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 720px;
  margin: 22px 0 24px;
}
.positioning-points span {
  border: 1px solid rgba(123,219,209,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  color: #e6f8f6;
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 12px 30px rgba(0,0,0,.12);
}
.story-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.13); }
.story-proof div { display: flex; flex-direction: column; gap: 2px; }
.story-proof strong { font: 700 20px 'Manrope'; }
.story-proof span { color: #a9c0c5; font-size: 11px; }

.login-panel { min-width: 0; display: grid; place-items: center; padding: 40px; background: #fbfbf8; }
.login-card { width: min(420px, 100%); }
.login-card h2 { margin: 8px 0 8px; font-size: 34px; }
.login-card > .muted { margin-bottom: 30px; }
label { display: grid; gap: 7px; margin-bottom: 17px; color: #394851; font-size: 12px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 13px;
  transition: border-color .15s, box-shadow .15s;
}
input:hover, textarea:hover, select:hover { border-color: #9eaba7; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,143,135,.11); outline: none; }
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.form-error { min-height: 20px; margin-top: 9px; color: var(--red); font-size: 12px; }
.demo-accounts { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 22px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.demo-accounts span { width: 100%; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.demo-accounts button { border: 0; border-radius: 999px; padding: 5px 9px; background: var(--teal-soft); color: var(--teal-dark); cursor: pointer; font-size: 11px; font-weight: 700; }
.demo-accounts small { color: var(--muted-2); }
.login-help-links { display:flex; justify-content:space-between; gap:12px; margin:-7px 0 17px; }
.login-help-links button { border:0; padding:0; background:transparent; color:var(--teal-dark); cursor:pointer; font-size:11px; font-weight:700; }
.login-help-links button:hover { text-decoration:underline; }
.privacy-note { margin: 20px 0 0; color: var(--muted-2); text-align: center; font-size: 11px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: white;
  padding: 9px 15px;
  color: #34434a;
  cursor: pointer;
  font-weight: 700;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(16,42,53,.09); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.button.primary { border-color: var(--teal); background: var(--teal); color: white; }
.button.primary:hover { background: var(--teal-dark); }
.button.danger { border-color: #e3b8b3; color: var(--red); }
.button.ghost { border-color: transparent; background: transparent; }
.button.compact { min-height: 35px; padding: 7px 12px; font-size: 12px; }
.button.full { width: 100%; }
.button.loading::before { content: ''; width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.45); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.app-shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar {
  position: fixed;
  z-index: 10;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar);
  flex-direction: column;
  padding: 27px 18px 18px;
  color: #d5e1e3;
  background: var(--navy);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(123,219,209,.45) transparent;
}
.sidebar::-webkit-scrollbar { width: 7px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(123,219,209,.35); border-radius: 999px; }
.sidebar nav { flex: 0 0 auto; }
.sidebar .brand { padding: 0 10px 30px; color: white; }
.workspace-home-button {
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.workspace-home-button:hover .brand-copy strong,
.workspace-home-button:focus-visible .brand-copy strong { color:#fff; }
.workspace-home-button:focus-visible {
  outline:3px solid rgba(255,255,255,.78);
  outline-offset:3px;
  border-radius:9px;
}

/* Simplified category navigation */
.workspace-hub-nav{min-height:48px;margin-bottom:5px}
.workspace-hub-nav>span:last-child{font-weight:760}
.workspace-hub-card:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 48%,transparent);outline-offset:2px}
.workspace-hub-heading{margin-bottom:16px}
.workspace-hub-section{margin:0 0 30px}
.workspace-hub-section-heading{margin:0 0 13px}
.workspace-hub-section-heading h2{margin:3px 0 5px}
.workspace-hub-section-heading p{margin:0;color:var(--text-muted);max-width:760px}
.workspace-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.workspace-hub-advanced{margin-top:16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.64);padding:0 14px 14px}
.workspace-hub-advanced>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;cursor:pointer;color:var(--navy);font-weight:850}
.workspace-hub-advanced>summary span{display:grid;min-width:28px;min-height:28px;place-items:center;border-radius:999px;background:#eef2f5;color:#425466;font-size:.76rem}
.workspace-hub-advanced .workspace-hub-grid{margin-top:4px}
.program-evidence-index{overflow:hidden;padding:0}
.program-evidence-index>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:16px 20px;cursor:pointer;list-style:none}
.program-evidence-index>summary::-webkit-details-marker{display:none}
.program-evidence-index>summary span{display:grid;gap:4px}.program-evidence-index>summary small{color:var(--muted);font-weight:650}.program-evidence-index>summary b{color:var(--navy);font-size:.82rem}
.workspace-hub-card{display:flex;flex-direction:column;align-items:flex-start;min-height:150px;padding:20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 91%,var(--accent) 9%));color:var(--text);text-align:left;cursor:pointer;box-shadow:var(--shadow-sm)}
.workspace-hub-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 55%,var(--line));box-shadow:var(--shadow)}
.workspace-hub-card span{font-size:1.03rem;font-weight:820}
.workspace-hub-card p{margin:8px 0 18px;color:var(--text-muted);line-height:1.48}
.workspace-hub-card b{margin-top:auto;color:var(--accent-strong)}
@media(max-width:720px){.workspace-hub-grid{grid-template-columns:1fr}.workspace-hub-card{min-height:128px}}
.sidebar nav { display: grid; gap: 5px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 10px 12px;
  color: #abc0c5;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.nav-item:hover { background: rgba(255,255,255,.05); color: white; }
.nav-item.active { background: rgba(73,179,168,.16); color: #7bdbd1; }
.nav-icon { display: grid; flex:0 0 28px; width: 28px; min-width:28px; place-items: center; color: inherit; font-size: 13px; white-space:nowrap; letter-spacing:-.02em; }
.nav-item small { flex:0 0 auto; margin-left:auto; border:1px solid currentColor; border-radius:999px; padding:1px 5px; font-size:7px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.nav-group { display:grid; }
.nav-group > summary { display:flex; align-items:center; gap:11px; min-width:0; padding:11px 12px; border-radius:9px; color:#b7c8cc; cursor:pointer; list-style:none; font-size:12px; font-weight:650; line-height:1.25; transition:.18s ease; }
.nav-group > summary::-webkit-details-marker { display:none; }
.nav-group > summary:hover, .nav-group[open] > summary { background:rgba(255,255,255,.05); color:white; }
.nav-chevron { flex:0 0 auto; margin-left:auto; transition:transform .18s ease; }
.nav-group[open] .nav-chevron { transform:rotate(180deg); }
.nav-submenu { display:grid; gap:3px; margin:3px 0 5px 14px; padding-left:8px; border-left:1px solid rgba(255,255,255,.12); }
.nav-submenu .nav-item { padding:9px 10px; font-size:11px; }
.nav-section-group { margin-bottom: 3px; }
.nav-section-group > summary { color: #d2e1e4; background: rgba(255,255,255,.025); }
.nav-section-group[open] > summary { background: rgba(73,179,168,.12); color: white; }
.nav-section-group.hidden { display: none !important; }
.nav-nested-group { margin:5px 0 3px; }
.nav-nested-group > summary { min-height:36px; border:1px solid rgba(123,219,209,.12); background:rgba(255,255,255,.035); padding:8px 9px; font-size:11px; }
.nav-nested-group > .nav-submenu { margin-left:12px; }
.user-block { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 9px; margin-top: 15px; padding: 13px 6px 0; border-top: 1px solid rgba(255,255,255,.08); }
.avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #2f5e68; color: white; font-weight: 800; }
.user-block strong, .user-block span { display: block; }
.user-block strong { color: white; font-size: 11px; }
.user-block span { color: #91a9ae; font-size: 9px; text-transform: capitalize; }
.user-block button { border: 0; background: transparent; color: #8ba4a9; cursor: pointer; }
.user-actions { display: flex; align-items: center; gap: 3px; }
.user-actions button { width: 25px; height: 25px; border-radius: 6px; }
.user-actions button:hover { background: rgba(255,255,255,.08); color: white; }

.main { grid-column: 2; min-width: 0; }
.topbar { position: sticky; z-index: 8; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 67px; border-bottom: 1px solid var(--line); background: rgba(251,251,248,.94); padding: 0 34px; backdrop-filter: blur(12px); }
#breadcrumbs { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 12px; }
#breadcrumbs b { color: #c7ceca; }
#breadcrumbs strong { color: var(--ink); }
.global-search { position: relative; flex: 1 1 420px; max-width: 560px; min-width: 230px; display: flex; align-items: center; gap: 8px; height: 40px; margin: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: white; padding: 0 8px 0 13px; box-shadow: 0 8px 24px rgba(16,42,53,.06); }
.global-search > span { color: var(--teal-dark); font-size: 15px; }
.global-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.global-search input::placeholder { color: var(--muted-2); }
.global-search #global-search-clear { display: grid; width: 24px; height: 24px; place-items: center; border: 0; border-radius: 50%; background: #eef3f2; color: var(--muted); cursor: pointer; }
.global-search #global-search-clear:hover { background: #e1eeee; color: var(--navy); }
.global-search-panel { position: absolute; z-index: 30; top: calc(100% + 10px); left: 0; right: 0; max-height: min(680px,calc(100vh - 95px)); overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 24px 70px rgba(13,39,50,.22); padding: 13px; }
.global-search-help, .global-search-count { padding: 11px 12px; border-radius: 12px; background: #f6faf9; color: var(--muted); font-size: 11px; }
.global-search-help strong, .global-search-count strong { color: var(--navy); }
.global-search-help p { margin: 3px 0 0; line-height: 1.45; }
.global-result-section { display: grid; gap: 7px; margin-top: 12px; }
.global-result-section h3 { margin: 0; color: var(--muted-2); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.global-result-section button, .global-result-section a { display: grid; gap: 3px; width: 100%; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 10px 11px; color: var(--text); text-align: left; text-decoration: none; cursor: pointer; }
.global-result-section button:hover, .global-result-section a:hover { border-color: rgba(31,143,135,.34); background: #f7fbfa; }
.global-result-section strong { color: var(--navy); font-size: 12px; }
.global-result-section span, .global-result-section small, .global-search-empty { color: var(--muted); font-size: 10px; line-height: 1.45; }
.global-student-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; border: 1px solid rgba(31,143,135,.18); border-radius: 14px; background: linear-gradient(135deg,#fff,#f3fbf9); padding: 11px; }
.global-student-card p { margin: 3px 0 1px; color: var(--muted); font-size: 10px; }
.global-result-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.student-search-summary .modal-body { display: grid; gap: 14px; background: #fbfdfd; }
.student-search-summary .compact-metrics { margin: 0; }
.student-summary-requirements article { background: white; }
.student-completion-panel { border-top:5px solid #d3a635; background:linear-gradient(180deg,#fffdf6,#ffffff); }
.student-completion-panel.ready { border-top-color:var(--teal); }
.student-completion-panel.complete { border-top-color:var(--green); background:linear-gradient(180deg,#f6fffb,#ffffff); }
.student-completion-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-bottom:12px; }
.student-completion-summary span { display:grid; gap:2px; border:1px solid rgba(203,211,207,.82); border-radius:12px; background:#fff; padding:11px; }
.student-completion-summary strong { color:var(--navy); font-size:20px; line-height:1; }
.student-completion-summary small { color:var(--muted); font-size:9px; font-weight:850; text-transform:uppercase; letter-spacing:.06em; }
.student-file-checklist article { background:#fff; }
.student-summary-skills { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.student-summary-skills article { display: grid; gap: 3px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.student-summary-skills strong { color: var(--navy); font-size: 12px; }
.student-summary-skills span { color: var(--teal-dark); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.student-summary-skills small { color: var(--muted); font-size: 10px; }
.topbar-actions { display: flex; flex-wrap:wrap; align-items: center; justify-content:flex-end; gap: 10px; min-width:0; }
.icon-button { position: relative; display: grid; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; place-items: center; background: white; cursor: pointer; }
.icon-button .dot { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.menu-button { display: none; }

.page { width: min(1480px, 100%); margin: 0 auto; padding: 34px 34px 120px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.page-heading h1 { margin: 4px 0 6px; font-size: 31px; }
.page-heading p { margin: 0; color: var(--muted); }
.heading-actions { display: flex; flex-wrap:wrap; gap: 9px; min-width:0; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border: 1px solid #e8d39d;
  border-radius: 12px;
  background: var(--amber-soft);
  padding: 13px 15px;
  color: #775419;
  font-size: 12px;
}
.notice strong { display: block; margin-bottom: 2px; }
.notice.danger { border-color: #e9bcb8; background: var(--red-soft); color: #7c3737; }
.notice.info { border-color: #badfd9; background: var(--teal-soft); color: #245e5b; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-bottom: 25px; }
.metric-card { position: relative; overflow: hidden; min-height: 135px; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 19px; box-shadow: 0 3px 15px rgba(16,42,53,.025); }
.metric-card-action { display:block; width:100%; appearance:none; font:inherit; color:inherit; text-align:left; cursor:pointer; }
.metric-card-action:hover,.metric-card-action:focus-visible,.metric-card-action.active { border-color:rgba(31,143,135,.38); transform:translateY(-2px); box-shadow:0 14px 34px rgba(16,42,53,.11); }
.metric-card-action.active { background:linear-gradient(180deg,#fff,#f2fbf9); }
.metric-card::after { content: ''; position: absolute; right: -25px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--teal-soft); opacity: .55; }
.metric-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; }
.metric-icon { display: grid; width: 30px; height: 30px; border-radius: 9px; place-items: center; background: #eef5f3; color: var(--teal-dark); }
.metric-value { margin-top: 10px; font: 800 30px 'Manrope'; letter-spacing: -.04em; }
.metric-foot { color: var(--muted-2); font-size: 10px; }
.metric-open { position:relative; z-index:1; display:block; margin-top:8px; color:var(--teal-dark); font-size:10px; font-weight:900; }
.metric-foot.up { color: var(--green); }
.metric-card.alert .metric-icon { background: var(--red-soft); color: var(--red); }
.metric-card.warn .metric-icon { background: var(--amber-soft); color: var(--amber); }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 4px 20px rgba(16,42,53,.035); }
.panel-header { display: flex; align-items: center; justify-content: space-between; min-height: 63px; border-bottom: 1px solid var(--line); padding: 14px 19px; }
.panel-header h2, .panel-header h3 { margin: 0; }
.panel-header p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.panel-body { padding: 20px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(270px,.65fr); gap: 18px; }
.side-stack { display: grid; align-content: start; gap: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.filter-row input, .filter-row select { width: auto; min-width: 140px; padding: 8px 10px; font-size: 11px; }
.filter-row input { flex: 1; }
.dashboard-drill-summary { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; border:1px solid rgba(31,143,135,.18); border-radius:13px; background:#f3fbf9; padding:11px 12px; }
.dashboard-drill-summary strong,.dashboard-drill-summary span { display:block; }
.dashboard-drill-summary strong { color:var(--navy); font-size:13px; }
.dashboard-drill-summary span { color:var(--text-muted); font-size:11px; }
.dashboard-summary-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th { border-bottom: 1px solid var(--line); padding: 9px 10px; color: var(--muted-2); text-align: left; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.data-table td { border-bottom: 1px solid #eef1ef; padding: 12px 10px; font-size: 11px; }
.data-table tbody tr { cursor: pointer; }
.data-table tbody tr:hover { background: #fafbf9; }
.data-table tr:last-child td { border-bottom: 0; }
.student-cell { display: flex; align-items: center; gap: 9px; }
.student-avatar { display: grid; width: 30px; height: 30px; border-radius: 8px; place-items: center; background: #edf3f2; color: var(--teal-dark); font-size: 10px; font-weight: 800; }
.student-cell strong, .student-cell span { display: block; }
.student-cell span { color: var(--muted-2); font-size: 9px; }

.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 8px; background: #edf1ef; color: #61716f; font-size: 9px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.pass, .badge.finalized, .badge.reviewed { background: var(--green-soft); color: var(--green); }
.badge.fail, .badge.confirmed, .badge.failed { background: var(--red-soft); color: var(--red); }
.badge.pending, .badge.pending-review, .badge.unreviewed, .badge.transcribing { background: var(--amber-soft); color: var(--amber); }
.badge.draft, .badge.uploaded { background: #edf1ef; color: #6d7977; }
.badge.ready, .badge.transcribed { background: var(--teal-soft); color: var(--teal-dark); }

.queue-list { display: grid; gap: 13px; }
.queue-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.queue-icon { display: grid; width: 34px; height: 34px; border-radius: 9px; place-items: center; background: var(--amber-soft); color: var(--amber); }
.queue-item strong, .queue-item span { display: block; }
.queue-item strong { font-size: 11px; }
.queue-item span { color: var(--muted-2); font-size: 9px; }
.queue-item b { color: var(--amber); font-size: 11px; }
.source-meter { display: grid; gap: 12px; }
.source-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; color: var(--muted); font-size: 10px; }
.source-row .bar { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: #edf1ef; overflow: hidden; }
.source-row .bar i { display: block; height: 100%; border-radius: inherit; background: var(--teal); }

.form-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: 18px; align-items: start; }
.form-section { border-bottom: 1px solid var(--line); padding: 20px; }
.form-section:last-child { border-bottom: 0; }
.section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-title h3 { margin-bottom: 3px; }
.section-title p { margin: 0; color: var(--muted); font-size: 11px; }
.section-title-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; align-items:center; }
.button.small.help-choose-button { min-height:30px; padding:6px 9px; border-color:rgba(31,143,135,.18); color:var(--teal-dark); font-size:10px; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 15px; }
.field-grid .wide { grid-column: 1 / -1; }
.helper { margin-top: -11px; margin-bottom: 16px; color: var(--muted-2); font-size: 10px; }
.required { color: var(--coral); }
.mode-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-card { position: relative; display: block; cursor: pointer; }
.mode-card input { position: absolute; opacity: 0; }
.mode-card span { display: block; min-height: 80px; border: 1px solid var(--line-dark); border-radius: 11px; padding: 13px; }
.mode-card strong, .mode-card small { display: block; }
.mode-card small { margin-top: 4px; color: var(--muted); font-weight: 400; }
.mode-card input:checked + span { border-color: var(--teal); background: var(--teal-soft); box-shadow: 0 0 0 1px var(--teal); }
.upload-zone { display: grid; min-height: 150px; border: 1.5px dashed #aebcb8; border-radius: 13px; place-items: center; padding: 24px; text-align: center; background: #fbfcfa; cursor: pointer; }
.upload-zone:hover, .upload-zone.drag { border-color: var(--teal); background: var(--teal-soft); }
.upload-zone input { display: none; }
.upload-zone strong { display: block; margin: 8px 0 3px; }
.upload-zone span { color: var(--muted); font-size: 10px; }
.upload-icon { display: grid; width: 42px; height: 42px; border-radius: 12px; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font-size: 18px; }
.summary-card { position: sticky; top: 86px; }
.summary-list { display: grid; gap: 13px; }
.summary-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 12px; border-bottom: 1px solid #eef1ef; }
.summary-row:last-child { border: 0; padding-bottom: 0; }
.summary-row span { color: var(--muted); font-size: 10px; }
.summary-row strong { text-align: right; font-size: 11px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 17px; }

.detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.detail-title { display: flex; gap: 14px; }
.detail-title .student-avatar { width: 46px; height: 46px; border-radius: 13px; font-size: 14px; }
.detail-title h1 { margin: 0 0 3px; font-size: 27px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 7px 15px; color: var(--muted); font-size: 11px; }
.detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.stepper { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 22px; border: 1px solid var(--line); border-radius: 13px; background: white; overflow: hidden; }
.step { position: relative; display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 12px 16px; color: var(--muted-2); font-size: 10px; font-weight: 700; }
.step:not(:last-child) { border-right: 1px solid var(--line); }
.step b { display: grid; width: 23px; height: 23px; border-radius: 50%; place-items: center; background: #edf1ef; font-size: 9px; }
.step.done { color: var(--green); }
.step.done b { background: var(--green-soft); }
.step.active { color: var(--teal-dark); background: #f1f8f6; }
.step.active b { background: var(--teal); color: white; }

.tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; border:1px solid var(--line); border-radius:16px; background:#f7fbfa; padding:6px; }
.tab { flex:0 1 auto; min-height:38px; border:1px solid transparent; border-radius:999px; background:transparent; padding:9px 13px; color:var(--muted); cursor:pointer; font-size:11px; font-weight:800; line-height:1.25; white-space:normal; }
.tab:hover { background:#fff; color:var(--navy); }
.tab.active { border-color:rgba(31,143,135,.26); background:#fff; color:var(--teal-dark); box-shadow:0 5px 14px rgba(15,23,42,.06); }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(270px,.55fr); gap: 18px; align-items: start; }
.audio-card { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 12px; background: #f8faf8; padding: 13px; }
.audio-play { display: grid; width: 38px; height: 38px; border: 0; border-radius: 50%; place-items: center; background: var(--teal); color: white; cursor: pointer; }
.audio-info { min-width: 0; flex: 1; }
.audio-info strong, .audio-info span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audio-info strong { font-size: 11px; }
.audio-info span { color: var(--muted); font-size: 9px; }
.audio-wave { display: flex; align-items: center; gap: 2px; width: 100px; height: 28px; }
.audio-wave i { display: block; width: 2px; border-radius: 2px; background: #8dc9c2; }

.report-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; border-radius: 15px; padding: 23px; color: white; background: linear-gradient(120deg,var(--navy),var(--navy-2)); }
.report-hero h2 { margin: 4px 0 6px; font-size: 24px; }
.report-hero p { margin: 0; color: #bad0d4; font-size: 11px; }
.trust-assessment-panel { overflow:hidden; border-top:5px solid var(--teal); }
.trust-assessment-panel.trust-no { border-top-color:var(--red); }
.trust-assessment-panel .panel-header { align-items:center; gap:16px; }
.trust-answer { display:grid; min-width:128px; border-radius:16px; background:var(--teal-soft); padding:14px 16px; color:var(--teal-dark); text-align:center; }
.trust-no .trust-answer { background:var(--red-soft); color:var(--red); }
.trust-answer strong { font:900 30px/1 'Manrope',system-ui,sans-serif; letter-spacing:-.05em; }
.trust-answer span { margin-top:4px; font-size:10px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.trust-question { margin:0 0 12px; color:var(--navy); font-size:14px; font-weight:800; line-height:1.45; }
.trust-confidence { height:9px; margin-bottom:14px; overflow:hidden; border-radius:999px; background:#edf2f1; }
.trust-confidence i { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,var(--teal),#7bd7ce); }
.trust-no .trust-confidence i { background:linear-gradient(90deg,var(--red),#ef9a88); }
.score-confidence-summary { display:flex; align-items:center; gap:16px; margin:0 0 18px; padding:13px 15px; border:1px solid #b9ddd8; border-radius:13px; background:#f2fbf9; }
.score-confidence-summary > div { flex:0 0 auto; min-width:112px; }
.score-confidence-summary span { display:block; color:#35645f; font-size:.72rem; font-weight:850; letter-spacing:.05em; text-transform:uppercase; }
.score-confidence-summary strong { display:block; margin-top:2px; color:var(--navy); font-size:1.32rem; }
.score-confidence-summary p { flex:1; margin:0; color:var(--text-muted); font-size:.82rem; line-height:1.45; }
.score-confidence-summary .explain-button { flex:0 0 auto; }
@media (max-width:640px) { .score-confidence-summary { align-items:flex-start; flex-wrap:wrap; } .score-confidence-summary p { flex-basis:100%; } }
.trust-reasoning { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.trust-reasoning li { position:relative; border:1px solid rgba(223,228,225,.82); border-radius:12px; background:#fbfdfc; padding:10px 11px 10px 30px; color:var(--muted); font-size:11px; line-height:1.5; }
.trust-reasoning li::before { content:'✓'; position:absolute; left:11px; top:10px; color:var(--teal-dark); font-weight:900; }
.trust-no .trust-reasoning li::before { content:'!'; color:var(--red); }
.score-orb { display: grid; width: 88px; height: 88px; border: 5px solid rgba(255,255,255,.15); border-top-color: #67c9bf; border-radius: 50%; place-items: center; }
.score-orb strong { display: block; font: 800 27px 'Manrope'; line-height: 1; text-align: center; }
.score-orb span { display: block; color: #a9c2c6; font-size: 9px; text-align: center; }
.score-table { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.score-row { display: grid; grid-template-columns: 190px 55px 1fr; gap: 12px; align-items: start; background: white; padding: 14px; }
.score-row > strong { font-size: 11px; text-transform: capitalize; }
.score-value { font: 800 17px 'Manrope'; color: var(--teal-dark); }
.score-row.has-reduction .score-value { color:#a52820; }
.score-row p { margin: 0; color: var(--muted); font-size: 10px; }
.score-reduction { margin-top:10px; border:1px solid #efb0aa; border-left:5px solid #b42318; border-radius:10px; background:#fff1f0; padding:10px 12px; }
.score-reduction strong { display:block; color:#991b1b; font-size:10px; letter-spacing:.015em; }
.score-reduction ul { margin:6px 0 0; padding-left:18px; color:#7f1d1d; font-size:10px; line-height:1.55; }
.score-reduction li::marker { color:#c0392b; }
.evidence-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.evidence-chip { border-radius: 999px; background: var(--green-soft); padding: 3px 7px; color: var(--green); font-size: 8px; font-weight: 700; }
.evidence-chip.not-observed { background:#fff3d6;color:#8a5a00;border:1px solid #f1d38a; }
.critical-list { display: grid; gap: 9px; }
.critical-item { border: 1px solid var(--line); border-radius: 11px; padding: 12px; }
.critical-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.critical-head strong { font-size: 10px; text-transform: capitalize; }
.critical-item p { margin: 0; color: var(--muted); font-size: 9px; }
.list-clean { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.list-clean li { position: relative; padding-left: 17px; color: var(--muted); font-size: 10px; }
.list-clean li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.list-clean.negative li::before { content: '—'; color: var(--amber); }
.list-filter-hidden { display: none !important; }
.list-controls { display: grid; grid-template-columns: minmax(160px,1fr) minmax(210px,320px) auto; gap: 10px; align-items: end; margin: 0 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #f8fbfa; }
.list-control-copy { display: grid; gap: 2px; }
.list-control-copy strong { color: var(--navy); font-size: 12px; }
.list-control-copy span { color: var(--muted); font-size: 10px; }
.list-search { display: grid; gap: 4px; margin: 0; color: var(--muted-2); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.list-search input { min-height: 36px; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 8px 10px; color: var(--text); font-size: 12px; text-transform: none; letter-spacing: 0; }
.list-search input:focus { outline: 2px solid rgba(31,143,135,.18); border-color: var(--teal); }
.list-control-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.list-empty-state { margin: 10px 0 0; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.table-list-controls { margin: 0 0 10px; border-radius: 12px; }

.form-grid.two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 15px; }
.calibration-evidence { min-height: 180px; }
.calibration-report { display: grid; gap: 18px; margin-top: 18px; }
.calibration-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; color: white; background: linear-gradient(120deg,var(--navy),var(--navy-2)); }
.calibration-summary .eyebrow { color: #78d2c8; }
.calibration-summary h2 { margin: 5px 0 7px; color: white; }
.calibration-summary p { margin: 0; color: #c6d8db; font-size: 11px; }
.calibration-score { display: flex; align-items: baseline; gap: 3px; font: 800 38px 'Manrope'; color: white; }
.calibration-score span { color: #a9c2c6; font-size: 12px; }
.calibration-domain-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.calibration-domain { padding: 17px; }
.domain-score { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.domain-score strong { font-size: 12px; }
.domain-score span { border-radius: 999px; background: var(--teal-soft); padding: 4px 8px; color: var(--teal-dark); font-size: 10px; font-weight: 800; }
.calibration-domain > p { color: var(--muted); font-size: 10px; }
.calibration-domain h4, .calibration-report h4 { margin: 14px 0 7px; color: var(--muted-2); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.coaching-note { margin-top: 13px; border-left: 3px solid var(--amber); background: var(--amber-soft); padding: 10px; color: var(--muted); font-size: 10px; }
.coaching-note strong { display: block; margin-bottom: 3px; color: var(--amber); }
.hint-event-list { display: grid; gap: 10px; }
.hint-event { border: 1px solid var(--line); border-radius: 11px; padding: 11px; }
.hint-event p { margin: 7px 0 4px; font-size: 10px; }
.hint-event > span { color: var(--muted); font-size: 9px; }

.knowledge-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.knowledge-card { border: 1px solid var(--line); border-radius: 14px; background: white; padding: 17px; transition: opacity .15s, border-color .15s; }
.knowledge-card.retired { border-style: dashed; background: #f7f8f8; opacity: .72; }
.knowledge-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.file-icon { display: grid; width: 36px; height: 40px; margin-bottom: 12px; border-radius: 7px; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.knowledge-card h3 { min-height: 42px; margin-bottom: 8px; font-size: 13px; }
.knowledge-governance { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:14px; }
.knowledge-governance article { border:1px solid rgba(31,143,135,.18); border-radius:16px; background:linear-gradient(135deg,#ffffff,#f1fbfa); padding:15px; box-shadow:var(--shadow-soft); }
.knowledge-governance strong { display:block; color:var(--navy); font-size:20px; line-height:1; margin-bottom:5px; }
.knowledge-governance span { display:block; color:var(--teal-dark); font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.knowledge-governance small { display:block; margin-top:7px; color:var(--muted); line-height:1.45; }
.knowledge-explainer { border:1px solid rgba(31,143,135,.18); background:linear-gradient(135deg,#ffffff,#f4fbfa); }
.knowledge-explainer-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.knowledge-explainer-grid article { border:1px solid rgba(30,58,95,.08); border-radius:14px; background:#fff; padding:12px; }
.knowledge-explainer-grid strong { display:block; color:var(--navy); font-size:11px; margin-bottom:5px; }
.knowledge-explainer-grid p { color:var(--muted); font-size:10px; line-height:1.45; margin:0; }
.knowledge-order-panel .panel-body { padding-top:0; }
.knowledge-card[draggable="true"] { cursor:grab; position:relative; }
.knowledge-card.dragging { opacity:.55; border-color:var(--teal); box-shadow:0 18px 36px rgba(31,143,135,.18); }
.knowledge-priority-badge { display:inline-flex; align-items:center; gap:7px; border:1px solid rgba(31,143,135,.18); border-radius:999px; background:#eefbf9; color:var(--teal-dark); padding:5px 9px; margin:10px 0 0; font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.knowledge-priority-badge strong { color:var(--navy); font-size:12px; }
.knowledge-grading-use { display:grid; gap:3px; border:1px solid rgba(30,58,95,.1); border-radius:12px; padding:10px; margin:10px 0; background:#f8fbfb; }
.knowledge-grading-use strong { font-size:11px; color:var(--navy); }
.knowledge-grading-use span { color:var(--muted); font-size:10px; line-height:1.35; }
.knowledge-grading-use.on { border-color:rgba(31,143,135,.28); background:#effbf9; }
.knowledge-grading-use.on strong { color:var(--teal-dark); }
.knowledge-grading-use.off { border-color:rgba(181,90,58,.18); background:#fff8f5; }
.knowledge-study-category { display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid rgba(88,103,216,.16); border-radius:999px; padding:8px 10px; margin:8px 0; background:#f4f6ff; }
.knowledge-study-category strong { color:#3949ab; font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.knowledge-study-category span { color:var(--navy); font-weight:800; font-size:12px; text-align:right; }
.knowledge-grading-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.knowledge-grading-choice { display:grid; grid-template-columns:auto 1fr; gap:4px 10px; align-items:start; border:1px solid var(--line); border-radius:14px; background:#fff; padding:13px; cursor:pointer; }
.knowledge-grading-choice input { grid-row:1 / span 2; margin-top:2px; }
.knowledge-grading-choice strong { color:var(--navy); font-size:12px; }
.knowledge-grading-choice span { color:var(--muted); font-size:10px; line-height:1.45; }
.knowledge-grading-choice.selected { border-color:rgba(31,143,135,.45); background:#effbf9; box-shadow:0 12px 26px rgba(31,143,135,.12); }
.knowledge-card-scope { border:1px solid rgba(30,58,95,.08); border-radius:12px; background:#f8fbfb; padding:10px; margin:10px 0; }
.knowledge-card-scope strong { display:block; color:var(--navy); font-size:11px; margin-bottom:3px; }
.knowledge-card-scope span { display:block; color:var(--teal-dark); font-size:10px; font-weight:800; }
.knowledge-card-scope small { display:block; margin-top:5px; color:var(--muted); line-height:1.4; }
.knowledge-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; color: var(--muted-2); font-size: 9px; }
.knowledge-meta span:not(:last-child)::after { content: '·'; margin-left: 10px; }
.knowledge-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.knowledge-actions .button.small { min-height: 31px; padding: 6px 10px; font-size: 9px; }
.modal.modal-wide { width: min(920px,calc(100vw - 32px)); }
.knowledge-preview { min-height: 430px; resize: vertical; font: 10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; white-space: pre-wrap; }
.grading-config-panel { border:1px solid rgba(30,58,95,.12); }
.grading-config-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid rgba(31,143,135,.18); border-radius:14px; background:#f2fbfa; padding:12px; margin:12px 0; color:var(--muted); font-size:11px; }
.grading-config-summary strong { color:var(--navy); font-size:13px; }
.grading-category-list { display:grid; gap:12px; margin-top:12px; }
.grading-category-row { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:start; border:1px solid var(--line); border-radius:16px; background:#fff; padding:13px; }
.grading-category-number { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#eef5f5; color:var(--teal-dark); font-weight:900; }
.grading-category-fields textarea { min-height:76px; }

.external-import-layout { display: grid; grid-template-columns: minmax(320px,.9fr) minmax(360px,1.1fr); gap: 16px; align-items: start; }
.external-import-layout textarea#external-import-csv { min-height: 220px; font: 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; }
.external-import-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:0 0 16px; }
.external-import-steps article { display:grid; grid-template-columns:auto 1fr; gap:3px 10px; align-items:start; border:1px solid rgba(203,211,207,.88); border-radius:14px; background:linear-gradient(180deg,#fff,#f7fbfa); padding:13px; box-shadow:var(--shadow-clean); }
.external-import-steps b { display:grid; grid-row:1 / 3; width:29px; height:29px; place-items:center; border-radius:50%; background:var(--teal-soft); color:var(--teal-dark); font-size:12px; }
.external-import-steps strong { color:var(--navy); font-size:12px; }
.external-import-steps span { color:var(--muted); font-size:10px; line-height:1.45; }
.import-template-panel { border-top:5px solid var(--teal); }
.import-template-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.import-template-card { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; border:1px solid rgba(203,211,207,.88); border-radius:14px; background:linear-gradient(180deg,#fff,#f8fbfb); padding:14px; box-shadow:var(--shadow-clean); }
.import-template-card strong { display:block; color:var(--navy); font-size:13px; }
.import-template-card p { margin:5px 0; color:var(--muted); font-size:10px; line-height:1.5; }
.import-template-card small { display:block; color:var(--muted-2); font-size:9px; line-height:1.45; }
.external-import-help { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:14px; }
.external-import-help article { border:1px solid rgba(31,143,135,.16); border-radius:12px; background:#f6fbfa; padding:12px; }
.external-import-help strong { display:block; color:var(--teal-dark); font-size:12px; }
.external-import-help span { display:block; margin-top:4px; color:var(--muted); font-size:10px; line-height:1.45; }
.import-template-actions { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:end; }
.column-map-panel { display:grid; gap:12px; margin:14px 0; border:1px solid rgba(31,143,135,.16); border-radius:14px; background:#f6fbfa; padding:14px; }
.column-map-panel h3 { margin:2px 0 4px; color:var(--navy); font-size:16px; }
.column-map-panel p { margin:0; color:var(--muted); font-size:11px; }
.column-map-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.column-map-grid label { margin:0; }
.column-map-grid small { color:var(--muted-2); font-size:9px; }
.mapping-empty { display:grid; gap:3px; border:1px dashed rgba(31,143,135,.24); border-radius:12px; background:white; padding:12px; color:var(--muted); font-size:11px; }
.mapping-empty strong { color:var(--navy); font-size:12px; }
.import-preview-guide { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0 0 14px; }
.import-preview-guide article { border:1px solid var(--line); border-left:4px solid var(--teal); border-radius:12px; background:white; padding:12px; }
.import-preview-guide article.watch { border-left-color:var(--amber); }
.import-preview-guide article.ready { border-left-color:var(--green); }
.import-preview-guide strong { display:block; color:var(--navy); font-size:12px; }
.import-preview-guide span { color:var(--muted); font-size:10px; line-height:1.45; }
.external-preview-panel { margin-top: 18px; border-top: 5px solid var(--teal); background: linear-gradient(180deg,#ffffff,#fbfdfd); }
.external-preview-panel .table-wrap { max-height: 520px; overflow: auto; }
.external-preview-panel .metric-grid { margin-bottom: 15px; }
.external-import-layout .evaluation-list { max-height: 620px; overflow: auto; padding-right: 3px; }

.processing-heading { border-bottom:1px solid rgba(203,211,207,.72); padding-bottom:14px; }
.processing-stage-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:0 0 16px; }
.processing-stage-strip article { display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; border:1px solid rgba(203,211,207,.88); border-radius:14px; background:linear-gradient(180deg,#fff,#f7fbfa); padding:13px; box-shadow:var(--shadow-clean); }
.processing-stage-strip b { display:grid; width:30px; height:30px; place-items:center; border-radius:50%; background:var(--teal-soft); color:var(--teal-dark); font-size:12px; }
.processing-stage-strip strong { color:var(--navy); font-size:12px; }
.processing-stage-strip p { margin:4px 0 0; color:var(--muted); font-size:10px; line-height:1.45; }
.processing-status-panel { border-top:5px solid var(--navy); }
.processing-status-list { display:grid; gap:10px; }
.processing-status-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,240px); gap:14px; align-items:center; border:1px solid var(--border); border-left:5px solid var(--teal); border-radius:14px; background:white; padding:14px; box-shadow:var(--shadow-clean); }
.processing-status-row.critical { border-left-color:#bf3f4c; background:#fff8f8; }
.processing-status-row.warning { border-left-color:#d3a635; background:#fffdf5; }
.processing-status-main { display:grid; grid-template-columns:auto minmax(0,1fr); gap:11px; align-items:start; }
.processing-status-main strong { color:var(--navy); font-size:13px; }
.processing-status-main p { margin:4px 0; color:var(--text-muted); font-size:11px; line-height:1.45; }
.processing-status-main small { color:var(--muted-2); font-size:9px; text-transform:uppercase; letter-spacing:.04em; font-weight:800; }
.processing-dot { width:30px; height:30px; border-radius:50%; background:var(--teal-soft); box-shadow:inset 0 0 0 8px rgba(255,255,255,.58); }
.processing-dot.running { background:#f3d98c; animation:pulseDot 1.4s ease-in-out infinite; }
.processing-dot.failed { background:#eaa0a6; }
.processing-dot.needs_review,.processing-dot.ready { background:#d9bd70; }
.processing-dot.complete { background:#99c9a4; }
.processing-status-side { display:grid; gap:8px; justify-items:end; }
.processing-progress { width:100%; max-width:180px; height:8px; border-radius:999px; background:#edf1ef; overflow:hidden; }
.processing-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--teal),var(--navy)); }
@keyframes pulseDot { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.08); opacity:.76; } }

.student360-panel { border-top:5px solid var(--teal); }
.student360-tools { display:grid; grid-template-columns:minmax(240px,1fr) minmax(180px,260px); gap:12px; align-items:end; margin-bottom:16px; }
.student360-tools label { margin:0; }
.student360-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.student360-card { display:grid; gap:13px; border:1px solid rgba(203,211,207,.86); border-radius:16px; background:linear-gradient(180deg,#fff,#f9fcfb); padding:15px; box-shadow:var(--shadow-clean); transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease; }
.student360-card:hover { transform:translateY(-1px); border-color:rgba(31,143,135,.34); box-shadow:var(--shadow-lift); }
.student360-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; }
.student360-head h3 { margin:0; color:var(--navy); font-size:15px; }
.student360-head p { margin:2px 0 0; color:var(--muted); font-size:10px; }
.student360-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.student360-stats span { display:grid; gap:2px; border:1px solid rgba(223,228,225,.92); border-radius:12px; background:#fff; padding:10px; }
.student360-stats strong { color:var(--navy); font-size:17px; line-height:1.1; }
.student360-stats small { color:var(--muted-2); font-size:8px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.student360-note { min-height:54px; border-radius:12px; background:#f5f8f7; padding:11px; color:var(--muted); font-size:10px; line-height:1.55; }
.student360-note strong { color:var(--navy); }
.student360-actions { display:flex; flex-wrap:wrap; gap:7px; }

.accreditation-binder-checklist { border-top:5px solid #8b6f3e; }
.binder-check-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.binder-check-grid article { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:start; border:1px solid rgba(203,211,207,.86); border-radius:15px; background:linear-gradient(180deg,#fff,#fbfcfb); padding:14px; box-shadow:var(--shadow-clean); }
.binder-check-grid article.complete { border-color:rgba(31,143,135,.3); background:linear-gradient(180deg,#fff,#f2fbf8); }
.binder-check-grid article.needs-action { border-color:rgba(184,121,24,.32); background:#fffaf0; }
.binder-check-grid article.missing { border-color:rgba(183,75,75,.22); background:#fff8f7; }
.binder-check-number { display:grid; width:32px; height:32px; place-items:center; border-radius:10px; background:#f1ebdc; color:#7a6032; font-weight:900; }
.binder-check-grid h3 { margin:2px 0 5px; color:var(--navy); font-size:15px; }
.binder-check-grid p { margin:0; color:var(--muted); font-size:11px; line-height:1.5; }
.binder-check-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:11px; }
.binder-check-actions a { display:inline-flex; align-items:center; min-height:31px; border:1px solid rgba(31,143,135,.18); border-radius:9px; background:white; padding:6px 10px; color:var(--teal-dark); font-size:10px; font-weight:800; text-decoration:none; }
.binder-check-actions a:hover { border-color:rgba(31,143,135,.38); background:var(--teal-soft); }

.empty { display: grid; min-height: 240px; place-items: center; padding: 40px; text-align: center; }
.empty-icon { display: grid; width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 14px; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font-size: 20px; }
.empty h3 { margin-bottom: 5px; }
.empty p { max-width: 390px; color: var(--muted); font-size: 11px; }

.toast-region { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: grid; gap: 9px; width: min(350px,calc(100vw - 44px)); }
.toast { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 13px; box-shadow: var(--shadow); animation: toast-in .2s ease-out; }
.toast.success { border-left: 4px solid var(--green); }
.toast.error { border-left: 4px solid var(--red); }
.toast strong { display: block; font-size: 11px; }
.toast span { color: var(--muted); font-size: 9px; }
.toast button { border: 0; background: transparent; cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.modal-backdrop { position: fixed; z-index: 600; inset: 0; display: grid; place-items: center; background: rgba(6,24,31,.54); padding: 22px; backdrop-filter: blur(4px); }
.modal { width: min(590px,100%); max-height: calc(100vh - 44px); overflow: auto; border-radius: 17px; background: white; box-shadow: 0 25px 80px rgba(5,24,31,.3); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 19px 21px; }
.modal-header h2 { margin: 0 0 3px; font-size: 20px; }
.modal-header p { margin: 0; color: var(--muted); font-size: 10px; }
.modal-close { border: 0; background: transparent; cursor: pointer; font-size: 19px; }
.modal-body { padding: 21px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); padding: 15px 21px; }
.review-before-submit .modal-body, .help-choose-modal .modal-body { display:grid; gap:14px; background:linear-gradient(180deg,#fbfdfd,#fff); }
.review-row-list { display:grid; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:white; }
.review-row { display:grid; grid-template-columns:minmax(130px,.45fr) minmax(0,1fr); gap:12px; padding:12px 14px; border-bottom:1px solid var(--line); }
.review-row:last-child { border-bottom:0; }
.review-row span { color:var(--muted); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.review-row strong { color:var(--navy); font-size:12px; line-height:1.35; }
.review-checklist { border:1px solid rgba(31,143,135,.18); border-radius:12px; background:var(--teal-soft); padding:12px; }
.review-checklist label { display:flex; gap:9px; align-items:flex-start; margin:0; color:var(--navy); font-size:12px; font-weight:800; }
.choice-guide-list { display:grid; gap:10px; }
.choice-guide-list article { display:grid; grid-template-columns:34px minmax(0,1fr); gap:11px; border:1px solid var(--line); border-radius:14px; background:white; padding:13px; }
.choice-guide-list b { display:grid; width:30px; height:30px; place-items:center; border-radius:10px; background:var(--teal-soft); color:var(--teal-dark); }
.choice-guide-list strong { color:var(--navy); }
.choice-guide-list p { margin:4px 0 0; color:var(--muted); font-size:11px; line-height:1.5; }
.override-grid { display: grid; grid-template-columns: 1fr 100px; gap: 8px 13px; align-items: center; margin-bottom: 18px; }
.override-grid label { margin: 0; }
.override-grid input, .override-grid select { padding: 8px 10px; }

@media (max-width: 1450px) {
  .metric-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-grid, .form-layout, .detail-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .knowledge-grid, .knowledge-governance, .knowledge-explainer-grid { grid-template-columns: repeat(2,1fr); }
  .external-import-layout { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .login-panel { min-height: 100vh; padding: 26px; }
  .mobile-brand { display: flex; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { transform: translateX(-100%); transition: transform .2s; box-shadow: 20px 0 50px rgba(0,0,0,.2); }
  .app-shell.menu-open .sidebar { transform: translateX(0); }
  .main { grid-column: 1; }
  .topbar { padding: 0 16px; }
  .menu-button { display: grid; }
  #breadcrumbs { display: none; }
  .page { padding: 22px 16px 120px; }
  .page-heading, .detail-header { align-items: flex-start; flex-direction: column; }
  .heading-actions, .detail-actions { width: 100%; justify-content: flex-start; }
  .stepper { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .wide { grid-column: auto; }
  .score-row { grid-template-columns: 1fr 45px; }
  .score-row p, .score-row .evidence-chips { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .metric-grid, .knowledge-grid, .knowledge-governance, .knowledge-explainer-grid, .knowledge-grading-choice-grid, .calibration-domain-grid, .form-grid.two { grid-template-columns: 1fr; }
  .grading-category-row { grid-template-columns: 1fr; }
  .new-eval-button { font-size: 0; }
  .new-eval-button::after { content: '＋'; font-size: 17px; }
  .mode-selector { grid-template-columns: 1fr; }
  .report-hero { grid-template-columns: 1fr; }
  .score-orb { width: 76px; height: 76px; }
}

.metric-card, .notice > div, .panel, .dashboard-grid > *, .topbar > * { min-width: 0; }
.notice { overflow: hidden; }
.notice > div { overflow-wrap: anywhere; }

/* Student portal */
.student-evaluation-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.student-evaluation-card { padding:20px; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.student-evaluation-card:hover { transform:translateY(-2px); border-color:#9bc9c2; box-shadow:0 12px 32px rgba(16,42,53,.08); }
.student-card-top, .student-card-foot { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.student-card-top h2 { margin:5px 0 0; font-size:18px; }
.student-score { display:flex; align-items:baseline; gap:7px; margin:24px 0 12px; }
.student-score strong { font:800 38px 'Manrope'; color:var(--teal-dark); letter-spacing:-.05em; }
.student-score span { color:var(--muted-2); font-size:9px; font-weight:800; }
.student-evaluation-card > p { min-height:48px; color:var(--muted); font-size:11px; line-height:1.55; }
.student-card-practice { display:grid; gap:4px; margin-top:12px; border:1px solid rgba(239,120,95,.14); border-radius:11px; background:#fff8f5; padding:10px 12px; }
.student-card-practice strong { color:var(--coral); font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.student-card-practice span { color:var(--navy); font-size:11px; line-height:1.45; }
.student-card-foot { align-items:center; margin-top:20px; padding-top:14px; border-top:1px solid var(--line); color:var(--muted-2); font-size:10px; }
.student-result-header { align-items:center; border-radius:17px; padding:24px; color:white; background:linear-gradient(120deg,var(--navy),var(--navy-2)); }
.student-result-header h1 { margin:7px 0; color:white; }
.student-result-header .eyebrow { display:block; margin-top:16px; color:#78d2c8; }
.student-result-header .detail-meta { color:#c5d7da; }
.student-result-header .text-link { color:#9ddbd5; }
.student-result-score { display:grid; width:118px; height:118px; border:5px solid rgba(255,255,255,.16); border-top-color:#67c9bf; border-radius:50%; place-items:center; text-align:center; }
.student-result-score strong, .student-result-score span { display:block; }
.student-result-score strong { font:800 36px 'Manrope'; line-height:1; }
.student-result-score span { margin-top:4px; color:#abc5c8; font-size:9px; }
.student-result-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:18px; align-items:start; }
.student-feedback-panel { border-top:4px solid var(--teal); }
.student-feedback-copy { margin:0; color:#314b50; font-size:15px; line-height:1.75; }
.student-list { gap:11px; }
.student-list li { font-size:11px; line-height:1.5; }
.focus-panel { border-color:#d7c59c; background:#fffdf7; }
.focus-panel p { margin:0; color:#5e563e; font-size:12px; line-height:1.65; }
.demo-logins { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.demo-logins button { border:1px solid var(--line); border-radius:999px; background:white; padding:5px 9px; color:var(--muted); font-size:9px; cursor:pointer; }
.demo-institution-login{display:grid!important;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;margin-top:10px!important;border:1px solid rgba(31,143,135,.28)!important;background:linear-gradient(135deg,#edf9f6,#f7fbff)!important;color:var(--navy)!important;text-align:left!important;box-shadow:none!important}
.demo-institution-login>span{grid-row:1/3;display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:var(--teal);color:#fff;font-size:18px}
.demo-institution-login strong{font-size:12px;line-height:1.2}.demo-institution-login small{color:var(--text-muted);font-size:10px;font-weight:600}
.demo-institution-login:hover{border-color:var(--teal)!important;transform:translateY(-1px)}
@media (max-width:1100px) { .student-evaluation-grid { grid-template-columns:repeat(2,1fr); } .student-result-grid { grid-template-columns:1fr; } }
@media (max-width:620px) { .student-evaluation-grid { grid-template-columns:1fr; } .student-result-header { align-items:flex-start; } .student-result-score { width:90px; height:90px; } }

/* Monthly AI evaluation allowance */
.quota-panel { display:grid; grid-template-columns:1fr minmax(220px,.7fr); align-items:center; gap:24px; margin-bottom:18px; padding:20px; overflow:hidden; }
.quota-copy h2 { margin:5px 0 3px; font-size:27px; }
.quota-copy h2 small { color:var(--muted); font-size:12px; font-weight:700; }
.quota-copy p { margin:0; color:var(--muted-2); font-size:10px; }
.quota-meter { height:12px; border-radius:999px; background:#edf1ef; overflow:hidden; }
.quota-meter span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--teal),#ef9b7a); transition:width .2s ease; }
@media (max-width:780px) { .quota-panel { grid-template-columns:1fr; } }

.cancellation-readiness-panel {
  border-top: 5px solid var(--navy);
  background: linear-gradient(180deg,#fff,#f8fbfb);
}
.cancellation-readiness-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.cancellation-readiness-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 16px;
  background: #fff;
  padding: 15px;
}
.cancellation-readiness-grid strong {
  color: var(--navy);
  font-size: 14px;
}
.cancellation-readiness-grid p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.cancellation-readiness-grid .button {
  justify-content: center;
}
@media (max-width:960px) { .cancellation-readiness-grid { grid-template-columns:1fr; } }

/* Program review timeframe */
.date-range-panel { display:grid; grid-template-columns:minmax(220px,1fr) repeat(2,minmax(150px,.35fr)) auto auto; align-items:end; gap:12px; margin-bottom:18px; padding:17px 19px; }
.date-range-panel h3 { margin:4px 0 0; }
.date-range-panel label { margin:0; }
.date-range-panel input { min-height:40px; }
@media (max-width:900px) { .date-range-panel { grid-template-columns:1fr 1fr; } .date-range-panel > div { grid-column:1 / -1; } }
@media (max-width:520px) { .date-range-panel { grid-template-columns:1fr; } .date-range-panel > div { grid-column:auto; } }

.guidance-list { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 10px; }
.guidance-list li { color: var(--text-muted); line-height: 1.55; }
.guidance-list strong { color: var(--text); }

.recorder-panel { border: 1px solid var(--border); border-radius: 14px; padding: 18px; background: var(--surface-soft); display: grid; gap: 14px; }
.recorder-panel p { margin: 4px 0 0; color: var(--text-muted); }
.recorder-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.recording-timer { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .08em; }
.recording-controls-floating { position:fixed; z-index:550; top:calc(env(safe-area-inset-top, 0px) + 145px); right:22px; display:flex; align-items:stretch; gap:9px; border:2px solid rgba(14,43,58,.92); border-radius:21px; background:linear-gradient(145deg,rgba(12,38,52,.98),rgba(29,61,77,.97)); box-shadow:0 0 0 4px rgba(255,255,255,.86),0 18px 44px rgba(10,29,41,.38); padding:10px; backdrop-filter:blur(14px); }
.recording-controls-floating.recording { border-color:rgba(220,38,38,.9); background:linear-gradient(145deg,rgba(66,20,25,.98),rgba(18,39,52,.98)); box-shadow:0 0 0 4px rgba(255,255,255,.9),0 0 28px rgba(239,68,68,.42),0 18px 46px rgba(10,29,41,.42); }
.recording-controls-floating[hidden] { display:none !important; }
.recording-timer-floating { position:fixed; z-index:90; top:calc(env(safe-area-inset-top, 0px) + 112px); right:22px; display:flex; align-items:center; gap:10px; min-width:132px; justify-content:center; border:3px solid rgba(220,38,38,.86); border-radius:15px; background:rgba(255,247,247,.99); color:#8f1515; box-shadow:0 0 0 5px rgba(239,68,68,.2),0 0 28px rgba(239,68,68,.58),0 15px 36px rgba(15,23,42,.27); padding:12px 16px; font-size:1.15rem; font-weight:950; pointer-events:none; backdrop-filter:blur(10px); animation:recording-timer-glow 1.65s ease-in-out infinite; }
.recording-controls-floating .recording-timer-floating { position:static !important; inset:auto !important; transform:none !important; }
.recording-controls-floating:not(.recording) .recording-timer-floating { border-color:rgba(7,141,131,.62); color:#075f59; box-shadow:0 10px 28px rgba(15,23,42,.14); animation:none; }
.recording-controls-floating:not(.recording) .recording-timer-floating::before { content:'READY'; background:#087f76; animation:none; }
.floating-recording-toggle { min-width:132px; border-width:2px; border-radius:15px; box-shadow:0 12px 28px rgba(15,23,42,.2); font-weight:900; }
body > #floating-recording-timer { position:fixed !important; z-index:550; top:calc(env(safe-area-inset-top, 0px) + 112px); right:22px; bottom:auto; left:auto; transform:none !important; }
.recording-timer-stack{display:grid;gap:7px;align-content:start}
.cpr-timer-floating{display:flex;align-items:center;justify-content:space-between;gap:10px;border:2px solid #ef4444;border-radius:12px;background:#fff;color:#8f1515;padding:7px 10px;box-shadow:0 0 18px rgba(239,68,68,.36)}
.cpr-timer-floating[hidden]{display:none!important}.cpr-timer-floating small{font-size:.66rem;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.cpr-timer-floating strong{font-variant-numeric:tabular-nums;font-size:1rem}.cpr-timer-floating.paused{border-color:#d89a2b;background:#fff8e8;color:#7a5100;box-shadow:none}
.recording-timer-floating::before { content:'REC'; border-radius:8px; background:#b91c1c; color:#fff; padding:5px 7px; font-size:.7rem; font-weight:950; letter-spacing:.09em; animation:recording-pulse 1.1s infinite; }
@keyframes recording-timer-glow { 0%,100% { box-shadow:0 0 0 5px rgba(239,68,68,.17),0 0 22px rgba(239,68,68,.46),0 15px 36px rgba(15,23,42,.24); } 50% { box-shadow:0 0 0 8px rgba(239,68,68,.25),0 0 36px rgba(239,68,68,.72),0 16px 40px rgba(15,23,42,.29); } }
[data-action="skills-report"] { display:none !important; }
.scenario-action-reference { border-left:3px solid #4f8ea7; background:#f5fafc; padding:10px 12px; }
@media (max-width:760px) { .recording-timer-floating { top:calc(env(safe-area-inset-top, 0px) + 102px); right:12px; min-width:120px; padding:10px 12px; font-size:1.05rem; } }
@media (max-width:760px) { body > #floating-recording-timer { top:calc(env(safe-area-inset-top, 0px) + 102px); right:12px; } }
@media (max-width:760px) { .recording-controls-floating { top:calc(env(safe-area-inset-top, 0px) + 132px); right:12px; gap:7px; padding:7px; border-radius:18px; }.floating-recording-toggle{min-width:112px;padding-inline:10px;font-size:.8rem} }
@media print { .recording-timer-floating { display:none !important; } }
.evaluation-participant-list{display:block;margin:4px 0 2px;color:#365c70;font-size:.78rem;font-weight:800}
.code-summary-panel{border-top-color:#b91c1c!important}.code-summary-panel>.panel-header{background:linear-gradient(100deg,#fff0f0,#fff 62%)!important}
.paired-student-select{grid-template-rows:auto auto auto!important}.paired-student-select>select{height:112px!important;min-height:112px!important;padding-block:8px}
.instructor-actions-panel{overflow:visible!important}
.instructor-actions-panel [data-action="finalize"].evaluation-action-target{margin-top:74px!important}
.review-before-submit .review-checklist{border:2px solid #5688b5;background:#edf6fb}
.review-before-submit .review-checklist label{color:#142f3d;font-size:.95rem;line-height:1.45}
.review-before-submit .review-checklist input[type="checkbox"],.checkbox-line input[type="checkbox"],.check-row input[type="checkbox"]{flex:0 0 22px;width:22px;height:22px;opacity:1;accent-color:#245a8d}
@media(max-width:900px){
  .review-before-submit .review-checklist{padding:15px}
  .individual-evaluation-page .no-phi-attestation{grid-template-columns:26px minmax(0,1fr);gap:11px;background:#fff;border-width:2px;border-color:#81669a}
  .individual-evaluation-page .no-phi-attestation input{width:22px;height:22px}
  .individual-evaluation-page .no-phi-attestation strong{color:#321f48;font-size:.95rem}
  .individual-evaluation-page .no-phi-attestation small{color:#3f3744;font-size:.84rem}
}
.recording-live { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--danger); }
.recording-live i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; animation: recording-pulse 1.2s infinite; }
.recording-live span { width: 100%; color: var(--text-muted); }
.recording-ready audio { width: min(420px, 100%); margin-top: 8px; display: block; }
.audio-or { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: .86rem; text-transform: uppercase; letter-spacing: .05em; }
.audio-or::before, .audio-or::after { content: ''; height: 1px; background: var(--border); flex: 1; }
.audio-timeline-options { display:grid; gap:14px; border:1px solid var(--border); border-radius:16px; padding:16px; background:#f8fbfa; }
.audio-timeline-options p { margin:4px 0 0; color:var(--text-muted); }
.audio-timeline-mode-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.audio-timeline-mode { display:flex; gap:10px; min-height:92px; border:1px solid var(--border); border-radius:14px; padding:12px; background:white; cursor:pointer; }
.audio-timeline-mode:has(input:checked) { border-color:rgba(31,143,135,.55); box-shadow:0 10px 24px rgba(31,143,135,.12); background:var(--teal-soft); }
.audio-timeline-mode input { margin-top:3px; accent-color:var(--teal); }
.audio-timeline-mode strong,.audio-timeline-mode small { display:block; }
.audio-timeline-mode small { margin-top:4px; color:var(--text-muted); line-height:1.35; }
.audio-timeline-preview { display:grid; gap:10px; border:1px solid var(--border); border-radius:16px; padding:14px; background:#fff; }
.audio-timeline-summary { display:flex; align-items:center; gap:12px; }
.audio-timeline-summary > div { min-width:0; flex:1; }
.audio-timeline-summary strong,.audio-timeline-summary span,.audio-timeline-summary small { display:block; }
.audio-timeline-summary span,.audio-timeline-summary small { color:var(--text-muted); }
.audio-file-stack { display:grid; gap:8px; }
.audio-file-row { display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:12px; padding:9px 10px; background:#f8faf9; }
.audio-file-row b { display:grid; place-items:center; width:24px; height:24px; border-radius:999px; background:var(--navy); color:white; font-size:11px; }
.audio-file-row span { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.audio-file-row small { display:block; color:var(--text-muted); }
@media (max-width:900px) { .audio-timeline-mode-list { grid-template-columns:1fr; } .audio-timeline-summary { align-items:flex-start; } }
@keyframes recording-pulse { 50% { opacity: .35; transform: scale(.8); } }


.student-report-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.student-report-title h1 { margin: 5px 0; }
.student-result-summary { display: flex; align-items: center; gap: 16px; }
.student-report-notice { margin-bottom: 18px; }
.student-feedback-summary { border-top:5px solid var(--teal); margin-bottom:18px; overflow:hidden; }
.student-feedback-summary .panel-body { display:grid; gap:15px; background:linear-gradient(180deg,#fbfdfd,#fff); }
.student-summary-lead { display:grid; gap:6px; border:1px solid rgba(31,143,135,.16); border-radius:14px; background:white; padding:16px; }
.student-summary-lead strong { color:var(--teal-dark); font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.student-summary-lead p { margin:0; color:var(--navy); font-size:16px; line-height:1.55; }
.student-summary-lead small { color:var(--text-muted); font-size:12px; line-height:1.5; }
.student-summary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.student-summary-grid article { display:grid; grid-template-columns:34px minmax(0,1fr); gap:11px; align-items:start; border:1px solid var(--border); border-radius:14px; background:white; padding:14px; }
.student-summary-grid article > span { display:grid; width:31px; height:31px; place-items:center; border-radius:10px; background:var(--teal-soft); color:var(--teal-dark); font-weight:900; }
.student-summary-grid article.work > span { background:#fff0ea; color:var(--coral); }
.student-summary-grid article.practice > span { background:#eef3fb; color:#395b84; }
.student-summary-grid strong { display:block; margin-bottom:7px; color:var(--navy); font-size:13px; }
.student-summary-grid ul { display:grid; gap:7px; margin:0; padding-left:17px; color:var(--text-muted); font-size:12px; line-height:1.45; }
.student-feedback-panel { border-top: 4px solid var(--teal); }
.student-feedback-copy { max-width: 880px; font-size: 1.02rem; line-height: 1.75; }
.student-total-score { color: var(--coral); font-size: 1.35rem; }
.tsop-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.tsop-scale span { padding: 10px; border-radius: 10px; background: var(--surface-soft); text-align: center; color: var(--text-muted); font-size: .76rem; }
.tsop-scale b { display: block; color: var(--text); font-size: 1rem; }
.student-domain-grid { display: grid; gap: 12px; }
.student-domain-card { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.student-domain-score { width: 58px; height: 58px; display: flex; align-items: baseline; justify-content: center; padding-top: 13px; border-radius: 50%; background: var(--navy); color: white; }
.student-domain-score strong { font-size: 1.5rem; line-height: 1; }
.student-domain-score span { font-size: .72rem; color: #c9d7d3; }
.student-domain-card h3 { margin: 0; }
.student-score-meaning { display: block; margin-top: 3px; color: var(--coral); font-size: .78rem; font-weight: 700; }
.student-domain-card p { margin: 8px 0; color: var(--text-muted); line-height: 1.5; }
.student-evidence-group { margin-top: 10px; padding: 10px 12px; border-radius: 9px; background: #f0faf7; }
.student-evidence-group.needs-work { background: #fff5f1; }
.student-evidence-group.observation-only { border:1px solid #f1d38a; background:#fff8e7; }
.student-evidence-group.observation-only > strong { color:#7a5100; }
.student-evidence-group.observation-only > p { margin:3px 0 0; color:#8a6418; font-size:.74rem; }
.student-evidence-group ul { margin: 6px 0 0; padding-left: 19px; color: var(--text-muted); }
.student-feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.student-action-plan { border-left: 4px solid var(--coral); }
.student-action-plan .panel-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.student-remediation { padding: 15px; border-radius: 10px; background: #fff8f2; }
.student-remediation p, .student-action-plan li { color: var(--text-muted); line-height: 1.55; }
.student-privacy-note { margin-top: 18px; }
@media (max-width: 760px) { .student-report-title, .student-result-summary { align-items: flex-start; flex-direction: column; } .student-summary-grid, .student-feedback-grid, .student-action-plan .panel-body { grid-template-columns: 1fr; } .tsop-scale { grid-template-columns: 1fr 1fr; } .student-domain-card { grid-template-columns: 48px minmax(0,1fr); padding: 12px; } .student-domain-score { width: 46px; height: 46px; padding-top: 10px; } }

/* Knowledge-grounded Scenario Builder */
.scenario-builder-grid { display:grid; grid-template-columns:minmax(360px,.85fr) minmax(420px,1.15fr); gap:18px; align-items:start; }
.scenario-summary { border-top:4px solid var(--teal); }
.scenario-summary h2 { margin:5px 0 8px; }
.scenario-summary > p { color:var(--muted); line-height:1.65; }
.scenario-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:12px 0 20px; }
.scenario-facts span { display:flex; flex-direction:column; gap:4px; border:1px solid var(--line); border-radius:10px; padding:11px; color:var(--muted); font-size:11px; }
.scenario-facts strong { color:var(--ink); font-size:9px; text-transform:uppercase; letter-spacing:.06em; }
.scenario-stages { display:grid; gap:14px; }
.scenario-stages article { border:1px solid var(--line); border-radius:12px; padding:16px; background:#fff; }
.scenario-stages h4 { margin:4px 0 10px; }
.scenario-stages h5 { margin:10px 0 5px; }
.scenario-stages p { color:var(--muted); line-height:1.55; }
.scenario-command-dashboard { display:grid; gap:14px; border:1px solid rgba(31,143,135,.18); border-radius:18px; background:linear-gradient(135deg,#f6fbfa,#fff); padding:18px; box-shadow:0 18px 42px rgba(15,23,42,.08); }
.scenario-dashboard-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,.28fr); gap:18px; align-items:stretch; }
.scenario-dashboard-hero h2 { margin:5px 0 8px; color:var(--navy); font-size:26px; }
.scenario-dashboard-hero p { margin:0; color:var(--text-muted); line-height:1.6; }
.scenario-dashboard-patient { display:grid; align-content:center; gap:4px; border-radius:16px; background:var(--navy); color:white; padding:16px; }
.scenario-dashboard-patient strong { font-size:26px; line-height:1; }
.scenario-dashboard-patient span { color:#cde1dd; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.scenario-dashboard-patient b { margin-top:5px; font-size:13px; line-height:1.35; }
.scenario-dispatch-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px; }
.scenario-dispatch-grid article { border:1px solid rgba(31,143,135,.16); border-radius:14px; background:white; padding:13px; }
.scenario-dispatch-grid span { display:block; margin-bottom:4px; color:var(--teal-dark); font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.scenario-dispatch-grid strong { color:var(--navy); font-size:13px; line-height:1.45; }
.scenario-dispatch-grid small { display:block; margin-top:8px; border-top:1px solid rgba(31,143,135,.15); padding-top:8px; color:var(--muted); font-size:12px; line-height:1.45; }
.scenario-dispatch-grid small b { color:#9b4a16; }
.scenario-alteration-panel { border-top:4px solid #7357b8; }
.scenario-version-label { display:inline-flex; margin-left:7px; border-radius:999px; padding:2px 7px; background:#e4f4ef; color:#17685f; font-size:10px; font-style:normal; font-weight:900; text-transform:uppercase; vertical-align:2px; }
.scenario-version-label.version-1 { background:#fff0d5; color:#95500d; }
.scenario-version-one-notice { border-width:2px; }
.scenario-version-warning .modal-header { border-top:6px solid #d48018; }
.scenario-alteration-actions { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.scenario-objective-picker { margin:18px 0; border:1px solid rgba(38,92,128,.24); border-radius:16px; background:#f7fbff; overflow:hidden; }
.scenario-objective-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 16px; border-left:5px solid #3f7db1; }
.scenario-objective-heading span { display:grid; gap:3px; }
.scenario-objective-heading strong { color:var(--navy); font-size:15px; }
.scenario-objective-heading small { color:var(--muted); }
.scenario-objective-heading b { border-radius:999px; background:#dcecff; color:#28577a; padding:7px 11px; font-size:11px; }
.scenario-objective-picker.has-selection .scenario-objective-heading b { background:#dff3e9; color:#176247; }
.scenario-objective-menu { display:grid; gap:14px; max-height:520px; overflow:auto; border-top:1px solid rgba(38,92,128,.18); background:#fff; padding:16px; }
.scenario-objective-search { position:sticky; top:-16px; z-index:2; background:#fff; padding:2px 0 10px; }
.scenario-objective-group { display:grid; gap:7px; }
.scenario-objective-group h4 { margin:4px 0; color:#315b75; }
.scenario-objective-option { display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px; align-items:start; border:1px solid #dce6eb; border-radius:12px; background:#fbfdfe; padding:10px 12px; cursor:pointer; }
.scenario-objective-option[hidden],.scenario-objective-group[hidden] { display:none !important; }
.scenario-objective-option:has(input:checked) { border-color:#3f7db1; background:#edf6ff; box-shadow:0 0 0 2px rgba(63,125,177,.1); }
.scenario-objective-option input { margin-top:3px; }
.scenario-objective-option span { display:grid; gap:4px; }
.scenario-objective-option strong { font-size:13px; line-height:1.35; }
.scenario-objective-option small { color:var(--muted); font-size:10px; }
.national-objective-list { display:grid; gap:9px; }
.national-objective-list article { display:grid; gap:4px; border-left:4px solid #3f7db1; border-radius:10px; background:#f0f7ff; padding:10px 12px; }
.national-objective-list span { color:#315b75; font-size:10px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.scenario-generated-objectives { margin-top:14px; }
.structured-debrief { display:grid; gap:12px; }
.structured-debrief-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.structured-debrief-heading h4 { margin:3px 0 0; }
.structured-debrief > article { display:grid; grid-template-columns:minmax(150px,.45fr) minmax(0,1fr); gap:16px; border:1px solid #e0e7eb; border-radius:14px; background:#fbfcfd; padding:13px; }
.structured-debrief > article > div { display:grid; align-content:start; gap:4px; }
.structured-debrief > article small { color:var(--muted); line-height:1.4; }
.structured-debrief > article ul { margin:0; }
.evaluation-debrief-guide { border-top:4px solid #6d5aa8; }
.scenario-feedback-panel { border-top:5px solid #e6813b; }
.scenario-feedback-questions { display:grid; gap:12px; margin-bottom:18px; }
.scenario-feedback-questions fieldset { border:1px solid #dfe7eb; border-radius:14px; padding:12px; }
.scenario-feedback-questions legend { padding:0 6px; color:var(--navy); font-weight:850; }
.scenario-rating-scale { display:grid; grid-template-columns:minmax(90px,1fr) repeat(5,40px) minmax(90px,1fr); align-items:center; gap:7px; }
.scenario-rating-scale > span { color:var(--muted); font-size:10px; font-weight:750; }
.scenario-rating-scale > span:last-child { text-align:right; }
.scenario-rating-scale label { display:grid; place-items:center; cursor:pointer; }
.scenario-rating-scale input { position:absolute; opacity:0; pointer-events:none; }
.scenario-rating-scale b { display:grid; place-items:center; width:36px; height:36px; border:1px solid #cdd9df; border-radius:50%; background:#fff; color:#315b75; }
.scenario-rating-scale input:checked + b { border-color:#d46a27; background:#e6813b; color:#fff; box-shadow:0 0 0 4px rgba(230,129,59,.15); }
.scenario-feedback-score-grid { display:grid; gap:7px; }
.scenario-feedback-score-grid article { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #e4eaed; padding:8px 0; }
.scenario-feedback-score-grid span { font-size:12px; }
.scenario-feedback-score-grid strong { color:#b85620; white-space:nowrap; }
.scenario-safety-statement { margin-bottom:14px; }
.scenario-run-analytics{margin-bottom:18px;border-top:4px solid #4c7896}
.scenario-run-chart{display:grid;gap:10px}
.scenario-run-chart article{display:grid;grid-template-columns:minmax(150px,240px) minmax(100px,1fr) 42px;align-items:center;gap:12px}
.scenario-run-chart article>span{font-size:12px;font-weight:780;color:var(--navy)}
.scenario-run-chart article>div{height:13px;border-radius:999px;background:#e8eef1;overflow:hidden}
.scenario-run-chart i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3f7db1,#6c5c9d)}
.scenario-run-chart strong{text-align:right;color:#315b75}
.scenario-library-panel{overflow:hidden}
.scenario-library-tabs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f6f8f9}
.scenario-library-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:13px 14px;color:var(--muted);font:inherit;font-weight:820;cursor:pointer}
.scenario-library-tabs button.active{border-bottom-color:#3f7db1;background:#fff;color:var(--navy)}
.scenario-library-pane{padding:14px}
.scenario-library-search{display:grid;gap:6px;margin-bottom:12px;color:var(--navy);font-size:11px;font-weight:800}
.scenario-repository-locked{display:grid;justify-items:start;gap:9px;padding:22px;border:1px dashed #b8cbd5;border-radius:14px;background:#f7fafb}
.scenario-repository-locked>span{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;background:#dceaf1;color:#315b75;font-size:20px}
.scenario-repository-locked h3,.scenario-repository-locked p{margin:0}
.scenario-repository-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;border-radius:10px;background:#e8f5ef;padding:9px 12px;color:#246149;font-size:11px;font-weight:800}
.scenario-reader-tabs{position:sticky;top:0;z-index:8;margin-bottom:18px;background:rgba(247,249,250,.96);backdrop-filter:blur(8px)}
.moulage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.moulage-grid article{border:1px solid #dfe7eb;border-radius:14px;background:#fbfcfd;padding:14px}
.moulage-grid h3{margin:0 0 8px;color:#315b75}
.moulage-grid ul{margin:0}
.moulage-grid .moulage-safety{border-color:#e5c78f;background:#fff9ed}
@media(max-width:720px){.scenario-run-chart article{grid-template-columns:1fr 42px}.scenario-run-chart article>div{grid-column:1/3}.moulage-grid{grid-template-columns:1fr}.scenario-reader-tabs{top:0}}
.scenario-dashboard-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:18px; align-items:start; }
.scenario-dashboard-grid > *,.scenario-body-layout > * { min-width:0; }
.scenario-body-card { grid-column:1 / -1; grid-row:auto; }
.scenario-body-layout { display:grid; grid-template-columns:minmax(280px,560px) minmax(320px,1fr); gap:22px; align-items:start; }
.scenario-dashboard-grid,.scenario-body-layout,.scenario-info-group { overflow:visible; }
.scenario-body-map { display:grid; place-items:center; gap:8px; min-height:500px; border-radius:24px; background:linear-gradient(180deg,#f9fcfb,#edf7f5); border:1px solid rgba(31,143,135,.18); overflow:hidden; padding:12px; }
.scenario-human-reference { position:relative; width:min(100%,560px); aspect-ratio:1/1; border:1px solid rgba(16,42,53,.12); border-radius:22px; background:#fff; overflow:hidden; box-shadow:0 18px 34px rgba(15,23,42,.12); }
.scenario-human-reference img { position:absolute; left:14%; top:14%; display:block; width:72%; height:72%; object-fit:contain; }
.body-hotspot { position:absolute; z-index:6; border:2px solid transparent; border-radius:999px; background:rgba(31,143,135,.001); cursor:pointer; outline:none; transition:border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; }
.body-hotspot:hover,.body-hotspot:focus-visible,.body-hotspot.active { border-color:rgba(31,143,135,.9); background:rgba(31,143,135,.16); box-shadow:0 0 0 4px rgba(31,143,135,.12); }
.body-hotspot:focus-visible { transform:scale(1.02); }
.body-hotspot span { display:none; }
.body-hotspot.front-head { left:28.4%; top:16.2%; width:11.5%; height:13%; }
.body-hotspot.front-neuro { left:31.3%; top:19%; width:5.8%; height:5.8%; }
.body-hotspot.front-airway { left:32%; top:23.4%; width:5.8%; height:4.4%; }
.body-hotspot.front-chest { left:25.5%; top:28.4%; width:18%; height:13%; }
.body-hotspot.front-cardiac { left:32%; top:32%; width:5.1%; height:5.8%; }
.body-hotspot.front-abdomen { left:26.2%; top:41.4%; width:16.6%; height:11.6%; }
.body-hotspot.front-pelvis { left:28.4%; top:52.9%; width:13%; height:8.7%; }
.body-hotspot.front-left-arm { left:19.8%; top:29.8%; width:8%; height:30.3%; }
.body-hotspot.front-right-arm { left:39.9%; top:29.8%; width:7.2%; height:30.3%; }
.body-hotspot.front-legs { left:25.5%; top:58.6%; width:18%; height:24.5%; }
.body-hotspot.posterior-back { left:57.9%; top:23.4%; width:20.2%; height:38.2%; }
.body-hotspot.skin-surface { left:21.9%; top:27%; width:5.1%; height:15.2%; }
.body-map-label { position:absolute; z-index:8; display:inline-flex; align-items:center; min-height:24px; max-width:108px; border:1px solid rgba(16,42,53,.18); border-radius:999px; background:rgba(255,255,255,.94); color:#102a35; box-shadow:0 8px 18px rgba(15,23,42,.16); padding:4px 8px; font-size:10px; font-weight:900; line-height:1.12; cursor:pointer; text-align:center; transition:transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.body-map-label:hover,.body-map-label:focus-visible,.body-map-label.active { border-color:rgba(31,143,135,.9); background:#e8f8f6; box-shadow:0 0 0 4px rgba(31,143,135,.12),0 10px 22px rgba(15,23,42,.16); transform:translateY(-1px); outline:none; }
.body-map-label.finding-improved{border-color:#278c59;background:#e9f8ef;color:#165c3c}.body-map-label.finding-deteriorated{border-color:#c64b42;background:#fff0ed;color:#8e2d27}.finding-color-key{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.finding-color-key span{padding:5px 9px;border-radius:999px;border:1px solid #ccd8dc;background:#f7fafb;font-size:11px;font-weight:850}.finding-color-key .improved{border-color:#78ba96;background:#e9f8ef;color:#165c3c}.finding-color-key .deteriorated{border-color:#dc8c85;background:#fff0ed;color:#8e2d27}.finding-comparison{display:grid;gap:8px}.finding-comparison p{margin:0;padding:10px 12px;border-radius:10px}.finding-comparison small{display:block;margin-bottom:4px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.finding-comparison .finding-old{background:#f3f6f7;border-left:4px solid #8a9ba3}.finding-comparison.improved .finding-new{background:#e9f8ef;border-left:4px solid #278c59;color:#165c3c}.finding-comparison.deteriorated .finding-new{background:#fff0ed;border-left:4px solid #c64b42;color:#8e2d27}
.body-map-label::after,.body-map-label::before { display:none; }
.label-head { left:1.5%; top:4%; }
.label-airway { left:1.5%; top:13%; }
.label-neuro { left:1.5%; top:22%; }
.label-chest { left:1.5%; top:31%; }
.label-cardiac { left:1.5%; top:40%; }
.label-abdomen { left:1.5%; top:49%; }
.label-pelvis { left:1.5%; top:58%; }
.label-arms { left:1.5%; top:67%; }
.label-legs { left:1.5%; top:82%; }
.label-back { right:1.5%; top:27%; }
.label-skin { right:1.5%; top:39%; }
.scenario-anatomy-svg { width:min(100%,390px); height:auto; filter:drop-shadow(0 18px 30px rgba(15,23,42,.12)); }
.anatomy-shadow ellipse { fill:rgba(15,23,42,.12); }
.anatomy-region { cursor:pointer; outline:none; }
.human-skin-base,.posterior-skin-base { fill:#f0c5aa; stroke:#7f5b4f; stroke-width:2.4; }
.body-contour-line { fill:none; stroke:rgba(97,64,54,.34); stroke-width:2; stroke-linecap:round; }
.human-detail-lines { fill:#5f4239; stroke:#5f4239; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; opacity:.66; pointer-events:none; }
.human-detail-lines path { fill:none; }
.human-detail-lines .navel-dot { fill:#8a604f; stroke:none; opacity:.5; }
.posterior-skin-base { opacity:.92; }
.anatomy-region .region-fill { fill:rgba(31,143,135,.06); stroke:rgba(31,143,135,.22); stroke-width:1.9; transition:.16s ease; }
.anatomy-region .skin-region,.anatomy-region .thorax-zone,.anatomy-region .abdomen-zone,.anatomy-region .pelvis-zone,.anatomy-region .head-zone,.anatomy-region .spine-click-zone { fill:rgba(31,143,135,.001); stroke:transparent; }
.anatomy-region .region-label { fill:#0d2732; font-size:15px; font-weight:900; text-anchor:middle; pointer-events:none; paint-order:stroke; stroke:rgba(255,255,255,.72); stroke-width:3px; stroke-linejoin:round; }
.anatomy-region .region-label.small { font-size:11px; }
.anatomy-region .region-label.tiny { font-size:9px; letter-spacing:.04em; }
.anatomy-region .spine-text { text-anchor:middle; font-size:12px; }
.anatomy-region .anatomy-line { fill:none; stroke:#0d2732; stroke-width:2.5; stroke-linecap:round; opacity:.58; pointer-events:none; }
.anatomy-region .diaphragm-line { stroke-width:2; opacity:.38; }
.anatomy-region .anatomy-lung { fill:rgba(255,255,255,.44); stroke:rgba(13,39,50,.18); stroke-width:1.5; pointer-events:none; }
.anatomy-region:hover .region-fill,.anatomy-region:focus-visible .region-fill,.anatomy-region.active .region-fill { fill:rgba(31,143,135,.36); stroke:#0d2732; }
.anatomy-region:hover .region-label,.anatomy-region:focus-visible .region-label,.anatomy-region.active .region-label { fill:#fff; stroke:rgba(13,39,50,.28); }
.anatomy-region:hover .anatomy-lung,.anatomy-region.active .anatomy-lung { fill:rgba(255,255,255,.22); stroke:rgba(255,255,255,.62); }
.anatomy-region.cardiac .heart-fill { fill:#f4b4a6; stroke:#b74e3c; }
.anatomy-region.cardiac:hover .heart-fill,.anatomy-region.cardiac.active .heart-fill { fill:#d9533f; stroke:#7c281d; }
.anatomy-region.neuro .neuro-fill { fill:#c9d8ff; stroke:#5168b8; }
.anatomy-region.neuro:hover .neuro-fill,.anatomy-region.neuro.active .neuro-fill { fill:#556ee6; stroke:#293a91; }
.anatomy-region.skin .skin-callout { fill:#fff4d8; stroke:#d59c25; }
.anatomy-region.skin:hover .skin-callout,.anatomy-region.skin.active .skin-callout { fill:#d59c25; stroke:#8a6419; }
.anatomy-region.spine .spine-fill { fill:#d7e1e8; stroke:#426b81; }
.anatomy-region.spine:hover .spine-click-zone,.anatomy-region.spine.active .spine-click-zone { fill:rgba(66,107,129,.28); stroke:#163244; }
.anatomy-region.spine:hover .spine-fill,.anatomy-region.spine.active .spine-fill { fill:#426b81; stroke:#163244; }
.leg-separator { fill:none; stroke:rgba(97,64,54,.42); stroke-width:2; stroke-linecap:round; pointer-events:none; }
.scenario-body-hint { margin:0; color:var(--text-muted); font-size:12px; font-weight:800; text-align:center; }
.scenario-info-button:hover,.scenario-info-button.active { border-color:var(--teal); background:var(--teal); color:white; }
.scenario-info-group { display:grid; gap:12px; }
.mnemonic-grid { grid-template-columns:repeat(auto-fit,minmax(112px,1fr)); }
.vital-click-grid { grid-template-columns:repeat(auto-fit,minmax(126px,1fr)); }
.scenario-info-button { display:flex; min-height:82px; flex-direction:column; align-items:center; justify-content:center; border:1px solid rgba(31,143,135,.18); border-radius:16px; background:linear-gradient(180deg,#fff,#f7fbfa); color:var(--navy); padding:12px 10px; cursor:pointer; transition:.16s ease; text-align:center; box-shadow:0 8px 18px rgba(15,23,42,.05); }
.scenario-info-button strong { display:block; margin-bottom:6px; font-size:20px; line-height:1; }
.scenario-info-button span { display:block; max-width:100%; overflow-wrap:anywhere; font-size:11px; font-weight:850; line-height:1.25; }
.scenario-info-panels { position:relative; z-index:20; grid-column:1 / -1; display:grid; isolation:isolate; }
.scenario-info-panel { position:relative; z-index:21; display:grid; grid-template-columns:42px minmax(0,1fr); gap:12px; align-items:start; border:1px solid rgba(31,143,135,.22); border-radius:16px; background:#fff; padding:16px; box-shadow:0 18px 44px rgba(15,23,42,.14); max-height:none; overflow:visible; }
.scenario-info-panel:not(.hidden) { z-index:35; }
.scenario-info-panel > span { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background:var(--teal-soft); color:var(--teal-dark); font-weight:950; }
.scenario-info-panel > div { display:grid; gap:5px; min-width:0; }
.scenario-info-panel strong { display:block; margin:0; color:var(--navy); font-size:15px; line-height:1.3; overflow-wrap:anywhere; }
.scenario-info-panel strong[hidden] { display:none !important; }
.scenario-info-panel [data-scenario-selected-value] { min-width:0; }
.scenario-info-panel p { margin:0; color:var(--text-muted); font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.scenario-assessment-switcher { display:flex; align-items:center; gap:8px; margin:14px 0 10px; padding:9px; border:2px solid #c9d7e2; border-radius:15px; background:#f7fafc; box-shadow:0 8px 20px rgba(15,39,58,.08); overflow-x:auto; }
.scenario-assessment-switcher > span { flex:0 0 auto; padding:0 5px; color:#38566b; font-size:11px; font-weight:950; letter-spacing:.06em; text-transform:uppercase; }
.scenario-assessment-switcher button { flex:0 0 auto; min-height:38px; border:1px solid #b8c9d5; border-radius:10px; background:#fff; color:#17384c; padding:8px 13px; cursor:pointer; font-weight:850; }
.scenario-assessment-switcher button:hover { border-color:#2b78b8; background:#eef7ff; }
.scenario-assessment-switcher button.active,.scenario-assessment-switcher button[aria-selected="true"] { border-color:#176f9e; background:#176f9e; color:#fff; box-shadow:0 5px 14px rgba(23,111,158,.24); }
.scenario-dashboard-grid[data-scenario-assessment-view]:not([data-scenario-assessment-view="all"]) { grid-template-columns:minmax(0,1fr); }
.scenario-dashboard-grid[data-scenario-assessment-view] > [data-scenario-section][hidden] { display:none !important; }
.scenario-dashboard-grid[data-scenario-assessment-view]:not([data-scenario-assessment-view="all"]) > [data-scenario-section]:not([hidden]) { grid-column:1 / -1; grid-row:auto; }
.body-findings { align-self:stretch; }
.scenario-vitals-card { border-top:4px solid var(--teal); }
.source-alignment { padding:12px 0; border-bottom:1px solid var(--line); }
.source-alignment:last-child { border-bottom:0; }
.source-alignment p { margin:4px 0 0; color:var(--muted); }
@media (max-width:960px) { .scenario-builder-grid,.scenario-dashboard-grid,.scenario-dashboard-hero,.scenario-body-layout,.scenario-dispatch-grid { grid-template-columns:1fr; } .scenario-facts { grid-template-columns:repeat(2,minmax(0,1fr)); } .scenario-body-card { grid-row:auto; } .scenario-body-map { min-height:430px; } }
@media (max-width:560px) { .scenario-facts,.mnemonic-grid,.vital-click-grid { grid-template-columns:1fr 1fr; } .scenario-body-map { min-height:390px; } .scenario-anatomy-svg { width:min(100%,330px); } }
@media (max-width:560px) { .scenario-info-panel { grid-template-columns:36px minmax(0,1fr); padding:12px; } .scenario-info-panel > span { width:36px; height:36px; border-radius:11px; font-size:12px; } .scenario-assessment-switcher { border-radius:12px; } }
@media (max-width:620px) { .scenario-alteration-actions { align-items:stretch; flex-direction:column; } }
@media (max-width:700px) { .structured-debrief > article { grid-template-columns:1fr; } .scenario-rating-scale { grid-template-columns:repeat(5,1fr); } .scenario-rating-scale > span { grid-column:1/-1; } .scenario-rating-scale > span:last-child { text-align:left; } }
@media print { .sidebar,.topbar,.heading-actions,.text-link { display:none !important; } .app-shell,.main { display:block; } .main { grid-column:auto; } .page { padding:0; } .panel { break-inside:avoid; box-shadow:none; } }
 .transcription-nudge {
  align-items: flex-start;
  border: 1px solid rgba(43, 127, 255, .28);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
  margin-bottom: 16px;
}
.transcription-nudge p {
  margin: 4px 0 12px;
}
.transcription-nudge .button {
  width: fit-content;
}

@media print {
  body.printing-student-summary .app-shell,
  body.printing-student-summary .toast-region,
  body.printing-student-summary .modal-actions,
  body.printing-student-summary .modal-close { display:none !important; }
  body.printing-student-summary .modal-backdrop { position:static; display:block; padding:0; background:white; backdrop-filter:none; }
  body.printing-student-summary .modal { width:100%; max-height:none; overflow:visible; border-radius:0; box-shadow:none; }
  body.printing-student-summary .modal-header,
  body.printing-student-summary .modal-body { padding:14px 0; }
}

/* Scenario reader accessibility and action emphasis */
.scenario-reader { font-size:16px; }
.scenario-reader .page-heading > div > p { font-size:14px; line-height:1.6; }
.scenario-reader .panel h2 { font-size:25px; }
.scenario-reader .panel h3 { font-size:19px; }
.scenario-reader .panel h4 { font-size:16px; }
.scenario-reader .panel-body,
.scenario-reader .scenario-summary > p,
.scenario-reader .scenario-stages p,
.scenario-reader .source-alignment p { font-size:14px; line-height:1.7; }
.scenario-reader .list-clean { gap:9px; }
.scenario-reader .list-clean li { font-size:14px; line-height:1.6; }
.scenario-major-actions { margin-top:20px; border:2px solid #eaa08f; border-left-width:6px; border-radius:12px; background:#fff3ef; padding:15px 17px; }
.scenario-major-actions h4 { margin:0 0 10px; color:#943c2d; }
.scenario-major-actions li { color:#6f2f25; font-weight:750; }
.scenario-action-highlight { border:2px solid #e4bd62; border-radius:11px; background:#fff9e8; padding:12px 15px; }
.scenario-action-highlight h5 { color:#70520d; font-size:14px; }
.scenario-action-highlight li { color:#594719; font-weight:700; }
.scenario-vital-change { display:grid; gap:5px; margin:14px 0; border:2px solid #65bdb4; border-left-width:6px; border-radius:11px; background:#edf9f7; padding:13px 15px; }
.scenario-vital-change strong { color:#176b64; font-size:11px; text-transform:uppercase; letter-spacing:.07em; }
.scenario-vital-change span { color:#164b48; font-size:16px; font-weight:800; line-height:1.5; }
.vital-signs span { border:2px solid #8fcfc8; background:#f0faf8; color:#174e4a; font-size:15px; font-weight:800; }
.vital-signs strong { color:#26756e; }
@media print { .scenario-major-actions,.scenario-action-highlight,.scenario-vital-change,.vital-signs span { -webkit-print-color-adjust:exact; print-color-adjust:exact; } }

/* Live evaluation scenario checklist */
.live-scenario { display:grid; gap:18px; font-size:16px; }
.live-scenario .panel-body,.live-scenario p,.live-scenario li { font-size:14px; line-height:1.65; }
.scenario-live-actions { display:grid; gap:9px; }
.scenario-response-shortcut { align-items:center; border:2px solid rgba(31,143,135,.28); background:linear-gradient(135deg,#ecfaf8,#fff); box-shadow:0 12px 26px rgba(17,86,82,.08); }
.scenario-response-shortcut > span { background:#dff5f2; color:var(--teal-dark); }
.scenario-response-shortcut .button { margin-left:auto; white-space:nowrap; }
.scenario-response-panel { border-top:6px solid var(--teal); box-shadow:0 16px 36px rgba(17,86,82,.12); }
.scenario-response-panel.worse { border-top-color:var(--red); }
.scenario-response-panel.improved { border-top-color:var(--green); }
.scenario-response-summary { display:grid; gap:5px; border:1px solid rgba(31,143,135,.14); border-radius:14px; background:#f7fcfb; padding:14px; }
.scenario-response-panel.worse .scenario-response-summary { border-color:rgba(199,78,62,.18); background:#fff6f4; }
.scenario-response-panel.improved .scenario-response-summary { border-color:rgba(39,140,89,.18); background:#f1fbf5; }
.scenario-response-summary strong { color:var(--navy); font-size:15px; }
.scenario-response-summary p { margin:0; color:var(--text-muted); font-size:13px; line-height:1.55; }
.scenario-response-summary span { color:var(--teal-dark); font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.05em; }
.scenario-response-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.scenario-response-actions .button.primary { box-shadow:0 10px 24px rgba(31,143,135,.18); }
.scenario-response-inline { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; border:2px solid rgba(31,143,135,.22); border-radius:16px; background:linear-gradient(135deg,#f4fbfa,#fff); padding:14px 16px; box-shadow:0 12px 28px rgba(16,70,72,.08); }
.scenario-response-inline.improved { border-color:rgba(39,140,89,.28); background:linear-gradient(135deg,#f1fbf5,#fff); }
.scenario-response-inline.worse { border-color:rgba(199,78,62,.28); background:linear-gradient(135deg,#fff4f1,#fff); }
.scenario-response-inline strong { display:block; color:var(--navy); font-size:16px; margin-top:2px; }
.scenario-response-inline p { margin:3px 0 0; color:var(--text-muted); font-size:13px; }
.scenario-response-inline-actions { display:flex; flex-wrap:wrap; gap:7px; }
.scenario-body-card .scenario-response-inline { margin-bottom:14px; }
.scenario-action-row { display:grid; grid-template-columns:1fr auto; align-items:center; gap:14px; border:2px solid var(--line); border-radius:11px; background:white; padding:11px 12px 11px 15px; transition:.15s ease; }
.scenario-action-row > span { color:var(--ink); font-size:14px; font-weight:700; line-height:1.5; }
.scenario-action-row.marked-done { border-color:#70ba91; background:#effaf4; }
.scenario-action-row.marked-missed { border-color:#e08f7f; background:#fff1ee; }
.scenario-mark-controls { display:flex; gap:7px; }
.scenario-mark { display:grid; width:38px; height:38px; place-items:center; border:2px solid var(--line-dark); border-radius:9px; background:white; cursor:pointer; font-size:18px; font-weight:900; }
.scenario-mark.check { color:#187a4a; }
.scenario-mark.x { color:#aa3e2e; }
.scenario-mark.check[aria-pressed="true"] { border-color:#278c59; background:#278c59; color:white; }
.scenario-mark.x[aria-pressed="true"] { border-color:#bd4c3b; background:#bd4c3b; color:white; }
.scenario-mark:hover { transform:translateY(-1px); box-shadow:0 4px 12px rgba(16,42,53,.1); }

/* Recording-time scenario guide and prominent instructor cues */
.form-layout.scenario-preview-active { grid-template-columns:1fr; }
.form-layout.scenario-preview-active .summary-card { position:static; }
.recording-scenario-guide { margin:18px 0; border:2px solid #3c8f88; border-radius:18px; background:#f7fcfb; padding:16px; max-height:min(78vh,820px); overflow:auto; box-shadow:0 10px 28px rgba(16,70,72,.1); scroll-behavior:smooth; }
.recording-scenario-guide [data-scenario-section],
.recording-scenario-guide [data-recording-section] { scroll-margin-top:86px; }
.recording-scenario-guide .scenario-command-dashboard { margin-top:12px; padding:14px; }
.recording-scenario-guide .scenario-dashboard-hero { grid-template-columns:minmax(0,1fr) minmax(150px,.22fr); gap:12px; }
.recording-scenario-guide .scenario-dashboard-hero h2 { font-size:22px; margin-bottom:5px; }
.recording-scenario-guide .scenario-dashboard-hero p { font-size:13px; line-height:1.48; }
.recording-scenario-guide .scenario-dashboard-patient { padding:12px; }
.recording-scenario-guide .scenario-dashboard-patient strong { font-size:22px; }
.recording-scenario-guide .scenario-dispatch-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.recording-scenario-guide .scenario-dispatch-grid article { padding:10px; }
.recording-scenario-guide .scenario-dashboard-grid { grid-template-columns:minmax(420px,1.08fr) minmax(320px,.92fr); gap:14px; }
.recording-scenario-guide .scenario-body-card { grid-column:auto; grid-row:span 2; }
.recording-scenario-guide .scenario-body-layout { grid-template-columns:1fr; gap:12px; }
.recording-scenario-guide .scenario-body-map { min-height:390px; padding:8px; }
.recording-scenario-guide .scenario-human-reference { width:min(100%,440px); }
.recording-scenario-guide .scenario-info-button { min-height:66px; padding:9px 8px; }
.recording-scenario-guide .scenario-info-button strong { font-size:17px; }
.recording-scenario-guide .scenario-info-panel { padding:12px; grid-template-columns:34px minmax(0,1fr); }
.recording-scenario-guide .scenario-info-panel > span { width:34px; height:34px; border-radius:12px; }
.recording-scenario-guide .scenario-dashboard-grid[data-scenario-assessment-view]:not([data-scenario-assessment-view="all"]) { grid-template-columns:minmax(0,1fr); }
.recording-scenario-guide .scenario-dashboard-grid[data-scenario-assessment-view]:not([data-scenario-assessment-view="all"]) > [data-scenario-section]:not([hidden]) { grid-column:1 / -1; grid-row:auto; }
.scenario-recording-dashboard-note { margin:0 0 14px; }
.scenario-question-helper { margin:6px 0 0; padding:8px 9px; border:1px solid rgba(28,108,154,.25); border-radius:14px; background:rgba(244,250,255,.97); box-shadow:0 8px 18px rgba(18,75,106,.08); backdrop-filter:blur(10px); }
.scenario-question-helper form,.scenario-question-helper [data-scenario-question-form] { margin:0; }
.scenario-question-row { display:grid; grid-template-columns:minmax(180px,1fr) auto auto; align-items:center; gap:7px; }
.scenario-question-row input { min-width:0; min-height:36px; padding:7px 10px; }
.scenario-question-row .button { min-height:36px; white-space:nowrap; }
.scenario-question-status { display:flex; align-items:center; gap:7px; margin-top:5px; padding-left:2px; color:#527080; font-size:10px; font-weight:750; }
.listening-dot { width:9px; height:9px; border-radius:50%; background:#e23c4b; box-shadow:0 0 0 4px rgba(226,60,75,.14); animation:recordingPulse 1.2s infinite; }
.scenario-question-answer { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:12px; padding:13px 14px; border:2px solid #208c82; border-radius:14px; background:#fff; box-shadow:0 10px 24px rgba(22,101,95,.13); }
.scenario-question-answer > div { display:grid; gap:3px; }
.scenario-question-answer span { color:#16746d; font-size:10px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.scenario-question-answer strong { color:#113f43; font-size:18px; }
.scenario-question-answer small { color:var(--muted); }
.screen-recording-option { display:flex; align-items:flex-start; gap:10px; margin:12px 0; padding:12px 14px; border:1px solid rgba(42,107,153,.24); border-radius:14px; background:#f5faff; cursor:pointer; }
.screen-recording-option input { width:18px; height:18px; margin-top:2px; }
.screen-recording-option span { display:grid; gap:3px; }
.screen-recording-option strong { color:#163f59; }
.screen-recording-option small { color:var(--muted); line-height:1.45; }
.screen-recording-status { display:grid; gap:3px; margin:-4px 0 12px; padding:10px 13px; border-radius:12px; background:#122f43; color:#fff; }
.screen-recording-status strong { display:flex; align-items:center; gap:7px; }
.screen-recording-status strong i { width:9px; height:9px; border-radius:50%; background:#ff4458; box-shadow:0 0 0 4px rgba(255,68,88,.18); animation:recordingPulse 1.2s infinite; }
.screen-recording-status span { color:#c5dce8; font-size:12px; }
.screen-evidence-panel { border-color:rgba(36,99,142,.35); background:linear-gradient(135deg,#f7fbff,#edf6fb); }
.dispatch-playback-controls{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.dispatch-playback-controls label{display:grid;gap:3px;margin:0;min-width:190px}.dispatch-playback-controls label span{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;color:var(--teal-dark)}.dispatch-playback-controls select{min-height:34px;padding:6px 30px 6px 9px;font-size:12px;background:#fff}.detail-actions .dispatch-playback-controls{align-items:center}.detail-actions .dispatch-playback-controls label{min-width:175px}
.dispatch-playback-controls [data-read-dispatch]{min-width:126px}.dispatch-playback-controls [data-read-dispatch].danger{box-shadow:0 0 0 3px rgba(194,45,54,.14)}

/* Team Evaluation beta */
.badge.beta{background:#f2eaff;color:#6540a4;border-color:#d9c8f5}.evaluation-style-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}.evaluation-style-selector label{margin:0}.evaluation-style-selector input{position:absolute;opacity:0;pointer-events:none}.evaluation-style-selector label>span{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 10px;min-height:72px;padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:#fff;cursor:pointer}.evaluation-style-selector strong{color:var(--navy)}.evaluation-style-selector small{grid-column:2;color:var(--muted);line-height:1.35}.evaluation-style-selector b{grid-row:1/3;align-self:center;padding:5px 7px;border-radius:999px;background:#eee3ff;color:#6540a4;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.evaluation-style-selector input:checked+span{border-color:var(--teal);box-shadow:0 0 0 3px rgba(31,143,135,.12);background:#f5fffd}.evaluation-style-selector .team-style-card input:checked+span{border-color:#8060b7;box-shadow:0 0 0 3px rgba(101,64,164,.12);background:#fbf8ff}.team-evaluation-setup{margin:18px 0 4px;padding:18px;border:1px solid #d9c8f5;border-radius:16px;background:linear-gradient(145deg,#fbf8ff,#f7fbff)}.team-beta-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}.team-beta-heading h3{margin:7px 0 3px;color:var(--navy)}.team-beta-heading p{margin:0;color:var(--muted);max-width:740px}.team-field-disabled{opacity:.5}.team-evaluation-summary{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(420px,1.6fr) auto;gap:18px;align-items:center;margin:0 0 18px;padding:18px;border:1px solid #d9c8f5;border-radius:18px;background:linear-gradient(120deg,#fbf8ff,#f3fbff)}.team-evaluation-summary h2{margin:7px 0 3px}.team-evaluation-summary p{margin:0;color:var(--muted)}.team-evaluation-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.team-evaluation-summary-grid article{padding:10px;border:1px solid rgba(101,64,164,.14);border-radius:11px;background:rgba(255,255,255,.75)}.team-evaluation-summary-grid span{display:block;color:#6540a4;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.team-evaluation-summary-grid strong{display:block;margin-top:3px;color:var(--navy);font-size:12px;line-height:1.4}
.team-evaluation-link{display:inline-flex;align-items:center;gap:8px;transform:translateY(9px);border-color:#bba5e1;background:#fbf8ff;color:#513681}.team-evaluation-page{position:relative}.team-evaluation-page::before{content:"TEAM EVALUATION · BETA";display:block;margin:0 0 10px;padding:8px 14px;border-radius:10px;background:#513681;color:#fff;font-size:11px;font-weight:900;letter-spacing:.12em;text-align:center}.team-evaluation-page-heading{border:1px solid #cbb9e9;background:linear-gradient(120deg,#f7f1ff 0%,#edfafa 100%);box-shadow:inset 5px 0 0 #6540a4}.team-evaluation-page-heading .eyebrow{color:#6540a4}.team-evaluation-page .evaluation-step-one{border-top:4px solid #6540a4}.team-evaluation-page .evaluation-step-two{border-top:4px solid #14867d}.team-evaluation-page .evaluation-step-three{border-top:4px solid #c37a12}.team-evaluation-page .team-evaluation-setup{border-width:2px;box-shadow:0 10px 28px rgba(81,54,129,.08)}
.team-guide-content{display:grid;gap:18px}.team-guide-content.compact{padding-bottom:4px}.notice.beta{border-color:#d9c8f5;background:#fbf8ff}.notice.beta>span{background:#6540a4;color:#fff}.team-connection-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;position:relative}.team-connection-map article{position:relative;min-height:142px;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 8px 20px rgba(14,42,65,.05)}.team-connection-map article>span{display:block;margin-bottom:8px;color:var(--teal-dark);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.team-connection-map article strong{display:block;color:var(--navy);font-size:15px}.team-connection-map article p{margin:5px 0;color:var(--muted);font-size:12px;line-height:1.45}.team-connection-map article b{display:block;margin-top:8px;color:#31516b;font-size:11px;line-height:1.4}.team-connection-map .drone{border-top:4px solid #2b78b8}.team-connection-map .audio{border-top:4px solid #1f8f87}.team-connection-map .action{border-top:4px solid #d9862b}.team-connection-map .camera360{border-top:4px solid #8060b7}.team-connection-map .team-connection-hub{grid-column:1/3;min-height:110px;border:2px solid var(--navy);background:#eef5fa}.team-connection-map .team-connection-network{grid-column:3/5;min-height:110px;border:2px solid var(--teal);background:#effbf8}.team-connection-map .team-connection-power,.team-connection-map .team-connection-storage{grid-column:span 2;min-height:90px}.team-guide-lanes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.team-guide-lanes article{padding:18px;border-radius:16px;background:#fff;border:1px solid var(--line)}.team-guide-lanes article:first-child{border-top:5px solid var(--teal)}.team-guide-lanes article:last-child{border-top:5px solid #d9862b}.team-guide-lanes span{color:var(--teal-dark);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.team-guide-lanes h3{margin:5px 0 9px;color:var(--navy)}.team-guide-lanes ol{display:grid;gap:8px;margin:0;padding-left:21px}.team-guide-lanes li{padding-left:3px;color:#385267;line-height:1.45}.team-guide-checklist{padding:18px;border:1px solid var(--line);border-radius:16px;background:#f8fbfd}.team-guide-checklist h3{margin:0 0 12px}.team-guide-checklist>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.team-guide-checklist label{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px;border-radius:10px;background:#fff}.team-guide-checklist input{margin-top:2px}.team-guide-modal .modal-body{max-height:72vh;overflow:auto}
@media(max-width:900px){.team-connection-map{grid-template-columns:repeat(2,minmax(0,1fr))}.team-connection-map .team-connection-hub,.team-connection-map .team-connection-network,.team-connection-map .team-connection-power,.team-connection-map .team-connection-storage{grid-column:span 2}.team-evaluation-summary{grid-template-columns:1fr}.team-evaluation-summary-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.evaluation-style-selector,.team-guide-lanes,.team-guide-checklist>div,.team-evaluation-summary-grid,.team-connection-map{grid-template-columns:1fr}.team-connection-map .team-connection-hub,.team-connection-map .team-connection-network,.team-connection-map .team-connection-power,.team-connection-map .team-connection-storage{grid-column:1}.team-beta-heading{display:grid}.team-beta-heading .button{width:100%}}
.team-guide-checklist label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:9px;cursor:pointer}
.team-guide-checklist input{width:18px;min-width:18px;max-width:18px;height:18px;margin:1px 0 0;padding:0;justify-self:center}
.team-guide-checklist label>span{display:block;min-width:0;line-height:1.45}
.team-setup-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
.team-setup-path>span{display:grid;grid-template-columns:30px minmax(0,1fr);gap:0 9px;align-items:center;padding:9px 11px;border:1px solid #d9c8f5;border-radius:12px;background:#fff}
.team-setup-path b{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#6540a4;color:#fff}
.team-setup-path strong{color:var(--navy)}
.team-setup-path small{color:var(--muted)}
.team-setup-path .optional b{background:#607984}
.team-setup-stage{margin-top:10px;padding:13px;border:1px solid rgba(101,64,164,.2);border-radius:14px;background:rgba(255,255,255,.72)}
.team-setup-stage>header{display:flex;align-items:flex-start;gap:10px;margin-bottom:11px}
.team-setup-stage>header>b{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#6540a4;color:#fff}
.team-setup-stage>header>div{flex:1;min-width:0}
.team-setup-stage>header h4{margin:1px 0 2px;color:var(--navy);font-size:14px}
.team-setup-stage>header p{margin:0;color:var(--muted);font-size:10px;line-height:1.4}
.team-setup-stage>header>.badge{margin-left:auto}
.team-setup-stage>.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.team-setup-stage>.field-grid>label{margin:0}
.team-identity-fields>label:first-child{grid-row:span 2}
.optional-map-stage{border-style:dashed}
.optional-map-stage .caltopo-team-map-panel{margin:0}
.team-evaluation-setup .team-setup-stage .notice{margin:10px 0 0}
@media(max-width:700px){.team-setup-stage>.field-grid,.team-setup-path{grid-template-columns:1fr}.team-identity-fields>label:first-child{grid-row:auto}}
.team-evaluation-link{transform:translateY(15px)}
@media(max-width:780px){.team-evaluation-link{transform:none;margin-top:5px}}
.recording-scenario-sticky-tools { position:sticky; top:0; z-index:45; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:9px; margin:0 0 12px; }
.recording-scenario-sticky-main { min-width:0; }
.recording-scenario-nav { position:static; display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin:0; border:1px solid rgba(31,143,135,.24); border-radius:15px; background:rgba(247,252,251,.96); padding:9px; box-shadow:0 10px 22px rgba(16,70,72,.1); backdrop-filter:blur(10px); }
.recording-scenario-nav span { margin-right:4px; color:var(--teal-dark); font-size:10px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.recording-scenario-nav .button { padding:7px 10px; }
.recording-marker-dock { position:relative; width:190px; border:1px solid rgba(31,143,135,.32); border-radius:15px; background:rgba(236,249,247,.98); box-shadow:0 10px 22px rgba(16,70,72,.14); backdrop-filter:blur(10px); }
.recording-marker-dock summary { display:grid; grid-template-columns:30px 1fr; align-items:center; gap:0 8px; min-height:48px; padding:7px 10px; cursor:pointer; list-style:none; }
.recording-marker-dock summary::-webkit-details-marker { display:none; }
.recording-marker-dock summary>span { display:grid; grid-row:1 / span 2; width:30px; height:30px; place-items:center; border-radius:9px; background:#197f77; color:white; font-size:17px; }
.recording-marker-dock summary strong { color:#124e4a; font-size:12px; }.recording-marker-dock summary small { color:#52716e; font-size:10px; }
.recording-marker-dock[open] { width:min(390px,calc(100vw - 64px)); }
.recording-marker-dock-body { display:grid; gap:10px; max-height:min(70vh,620px); overflow:auto; border-top:1px solid #b9ddd8; padding:11px; }
.recording-marker-quick { display:grid; grid-template-columns:1fr 1fr; gap:6px; }.recording-marker-quick .button { min-height:34px; padding:7px 8px; white-space:normal; line-height:1.25; }.recording-marker-toggle { grid-column:1 / -1; }
.recording-marker-dock-body label { color:#31585d; font-size:11px; font-weight:800; }.recording-marker-dock-body label>div { display:grid; grid-template-columns:1fr auto; gap:6px; margin-top:4px; }.recording-marker-dock-body input { min-width:0; padding:8px; }
.recording-marker-dock-body p { margin:0; color:#607875; font-size:10px; }.recording-marker-dock .recording-event-list { max-height:94px; overflow:auto; }
.capture-recorder-panel>.recording-event-tools { display:none; }
.capture-recorder-panel>.recording-marker-dock { margin:12px 0; }
.evaluation-collapsible { grid-column:1 / -1; margin:4px 0; border:1px solid var(--border); border-radius:14px; background:#f8fbfa; }
.evaluation-collapsible>summary { display:flex; align-items:center; min-height:50px; padding:10px 14px; cursor:pointer; list-style:none; }
.evaluation-collapsible>summary::-webkit-details-marker { display:none; }
.evaluation-collapsible>summary::after { content:'＋'; margin-left:auto; color:var(--teal); font-weight:900; }
.evaluation-collapsible[open]>summary::after { content:'−'; }
.evaluation-collapsible>summary strong,.evaluation-collapsible>summary small { display:block; }
.evaluation-collapsible>summary small { margin-top:2px; color:var(--text-muted); font-weight:500; }
.evaluation-collapsible-body { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:0 14px 14px; }
.evaluation-collapsible-body>.upload-zone,.evaluation-collapsible-body>.audio-or,.evaluation-collapsible-body>.audio-timeline-options,.evaluation-collapsible-body>.attachment-selection,.evaluation-collapsible-body>.summary-list,.evaluation-collapsible-body>.notice { grid-column:1 / -1; }
.evaluation-collapsible.compact .evaluation-collapsible-body { grid-template-columns:1fr; }
#new-evaluation-form.form-layout { grid-template-columns:minmax(0,1fr); }
#new-evaluation-form .summary-card { position:static; }
#new-evaluation-form .capture-mode-selector input { width:1px; height:1px; }
.evaluation-step-block { overflow:hidden; border:1px solid transparent; border-left-width:6px; border-radius:18px; }
.evaluation-step-one { border-color:#8bb9ee; background:linear-gradient(135deg,#f4f9ff 0%,#fff 64%); }
.evaluation-step-two { border-color:#62c8b6; background:linear-gradient(135deg,#f0fbf8 0%,#fff 64%); }
.evaluation-step-three { border-color:#efb15c; background:linear-gradient(135deg,#fff8ed 0%,#fff 70%); }
.evaluation-step-block .section-title h3,.evaluation-step-three .panel-header h3 { font-size:18px; }
.evaluation-step-one .section-title h3 { color:#1f5f9f; }
.evaluation-step-one{padding:12px 14px}.evaluation-step-one>.section-title{margin-bottom:9px;align-items:center}.evaluation-step-one>.section-title h3{font-size:16px}.evaluation-step-one>.section-title p{font-size:10px;line-height:1.35}.evaluation-step-one>.field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 12px}.evaluation-step-one>.field-grid>label{margin-bottom:7px;font-size:10px}.evaluation-step-one>.field-grid>label input,.evaluation-step-one>.field-grid>label select{padding:8px 10px;min-height:36px}.evaluation-step-one>.field-grid>label small{font-size:9px;line-height:1.3}.evaluation-step-one .evaluation-collapsible{margin:1px 0;border-radius:11px}.evaluation-step-one .evaluation-collapsible>summary{min-height:40px;padding:7px 11px}.evaluation-step-one .evaluation-collapsible>summary small{font-size:9px}.evaluation-step-one .evaluation-mode-visible{grid-template-columns:minmax(145px,.3fr) minmax(0,1fr);align-items:center;gap:12px;margin-top:10px;padding-top:10px}.evaluation-step-one .evaluation-mode-visible .mode-card span{min-height:54px;padding:9px 11px}.evaluation-step-one .evaluation-mode-visible .mode-card small{font-size:9px;line-height:1.25}.evaluation-step-one .team-evaluation-setup{margin:10px 0 0;padding:12px}.evaluation-step-one .team-beta-heading{margin-bottom:9px}.evaluation-step-one .team-beta-heading h3{margin:4px 0 2px;font-size:15px}.evaluation-step-one .team-beta-heading p{font-size:10px;line-height:1.35}.evaluation-step-one .team-evaluation-setup>.field-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px}.evaluation-step-one .team-evaluation-setup>.field-grid>label{margin-bottom:4px;font-size:10px}.evaluation-step-one .team-evaluation-setup textarea{min-height:72px;padding:8px 10px}.evaluation-step-one .team-evaluation-setup>.field-grid>label:first-child{grid-column:span 2}.evaluation-step-one .team-evaluation-setup .notice{margin-top:8px;padding:9px 11px}
.evaluation-step-two .section-title h3 { color:#147568; }
.evaluation-step-two{padding:15px}.evaluation-step-two>.section-title{margin-bottom:11px}.evidence-notes-row{display:grid;grid-template-columns:minmax(190px,.32fr) minmax(0,1fr);gap:12px;align-items:start}.evidence-notes-row>label{margin-bottom:8px}.evidence-notes-row textarea{min-height:68px}.simplified-evidence-recorder{gap:10px;padding:14px;border:1px solid rgba(20,117,104,.22);border-radius:15px;background:rgba(255,255,255,.78)}.simplified-evidence-recorder .capture-recorder-heading p{margin:2px 0 0;color:var(--text-muted);font-size:10px}.evidence-record-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.evidence-record-path span{display:flex;align-items:center;gap:7px;padding:7px 9px;border-radius:9px;background:#eef8f5;color:#315d57;font-size:10px;font-weight:750}.evidence-record-path b{display:grid;width:20px;height:20px;place-items:center;border-radius:50%;background:#147568;color:#fff;font-size:9px}.simplified-evidence-recorder .capture-mode-selector{gap:8px}.simplified-evidence-recorder .capture-mode-selector span{min-height:52px;padding:9px 11px}.evidence-check-button{justify-self:start;min-height:38px}.evidence-check-help{margin-top:-6px;color:var(--text-muted);font-size:9px}.simplified-evidence-recorder .capture-device-settings{padding:4px;border:1.5px solid #8bbab4;border-radius:12px;background:#f3faf8}.simplified-evidence-recorder .capture-device-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;padding:9px 11px;border-radius:9px;list-style:none;color:#123f3a;cursor:pointer}.simplified-evidence-recorder .capture-device-settings>summary::-webkit-details-marker{display:none}.simplified-evidence-recorder .capture-device-settings>summary:hover,.simplified-evidence-recorder .capture-device-settings>summary:focus-visible{background:#e4f4f0;outline:2px solid rgba(20,117,104,.22);outline-offset:1px}.device-settings-summary-copy{display:grid;gap:2px}.device-settings-summary-copy strong{font-size:11px}.simplified-evidence-recorder .device-settings-summary-copy small{color:#58716e;font-size:9px;font-weight:500}.device-settings-expander{display:flex;flex:0 0 auto;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:#147568;color:#fff;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.03em}.device-settings-expander i{font-style:normal;font-size:17px;line-height:.7;transition:transform .18s ease}.device-settings-expander .when-open{display:none}.capture-device-settings[open]{padding:4px 11px 11px;border-color:#147568;background:#f8fcfb}.capture-device-settings[open]>summary{margin:0 -7px 8px;border-bottom:1px solid #c8e0dc;border-radius:9px 9px 0 0;background:#eaf7f4}.capture-device-settings[open] .device-settings-expander .when-closed{display:none}.capture-device-settings[open] .device-settings-expander .when-open{display:inline}.capture-device-settings[open] .device-settings-expander i{transform:rotate(180deg)}.simplified-evidence-recorder .screen-recording-option{margin:10px 0 0}.simplified-evidence-recorder .recorder-actions{margin-top:2px}.simplified-evidence-recorder .recording-status .helper{margin:0}.evaluation-step-two>.evaluation-collapsible{margin-top:10px}
.evaluation-step-three .panel-header h3 { color:#9a5709; }
.evaluation-mode-visible { grid-column:1 / -1; display:grid; gap:10px; margin-top:18px; border-top:1px solid rgba(31,95,159,.2); padding-top:18px; }
.evaluation-mode-visible>div>strong { color:#1f5f9f; font-size:14px; }
.evaluation-mode-visible>div>p { margin:3px 0 0; color:var(--text-muted); font-size:11px; }
@media(max-width:1050px){.evaluation-step-one>.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.evaluation-step-one .team-evaluation-setup>.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.evaluation-collapsible-body,.evaluation-step-one>.field-grid,.evaluation-step-one .team-evaluation-setup>.field-grid{grid-template-columns:1fr}.evaluation-step-one .team-evaluation-setup>.field-grid>label:first-child{grid-column:auto}.evaluation-step-one .evaluation-mode-visible{grid-template-columns:1fr}.evaluation-step-one{padding:12px}}
@media(max-width:700px){.evidence-notes-row,.evidence-record-path{grid-template-columns:1fr}.simplified-evidence-recorder .capture-device-settings>summary{align-items:flex-start;flex-direction:column}.device-settings-expander{align-self:stretch;justify-content:center}.evidence-check-button{width:100%}}
.recording-section-focus { animation:recording-section-focus .9s ease; }
@keyframes recording-section-focus { 0% { box-shadow:0 0 0 0 rgba(31,143,135,.38); } 45% { box-shadow:0 0 0 7px rgba(31,143,135,.16); } 100% { box-shadow:inherit; } }
.recording-scenario-progress { margin-top:16px; }
.recording-scenario-header { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; padding-bottom:14px; border-bottom:1px solid #b9ddd8; }
.recording-scenario-header h3 { margin:4px 0 7px; font-size:22px; }
.recording-scenario-header p { margin:0; color:var(--muted); font-size:14px; line-height:1.65; }
.recording-scenario-stages { display:grid; gap:10px; margin-top:8px; }
.recording-stage-detail { border:1px solid var(--line); border-radius:13px; background:white; overflow:hidden; }
.recording-stage-detail summary { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:4px 12px; align-items:center; padding:13px 15px; cursor:pointer; list-style:none; }
.recording-stage-detail summary::-webkit-details-marker { display:none; }
.recording-stage-detail summary::after { content:'Open'; grid-row:1 / span 2; grid-column:3; align-self:center; border:1px solid rgba(31,143,135,.22); border-radius:999px; padding:5px 9px; color:var(--teal-dark); font-size:11px; font-weight:900; }
.recording-stage-detail[open] summary::after { content:'Close'; }
.recording-stage-detail summary strong { color:var(--navy); font-size:15px; }
.recording-stage-detail summary small { grid-column:2; color:var(--muted); font-size:12px; line-height:1.4; }
.recording-stage-body { display:grid; gap:9px; border-top:1px solid var(--line); padding:14px 15px 15px; }
.recording-scenario-stages p,.recording-scenario-stages li { font-size:14px; line-height:1.6; }
.scenario-instructor-cues { margin-top:14px; border:3px solid #ef8a70; border-left-width:8px; border-radius:12px; background:#173f4a; padding:14px 16px; color:white; box-shadow:0 7px 18px rgba(12,45,55,.15); }
.scenario-instructor-cues h5 { margin:0 0 9px !important; color:#ffb19d !important; font-size:15px !important; text-transform:uppercase; letter-spacing:.06em; }
.scenario-instructor-cues .list-clean { margin:0; }
.scenario-instructor-cues .list-clean li { color:white !important; font-size:15px !important; font-weight:750; line-height:1.6; }
.scenario-instructor-cues .list-clean li::before { color:#ff9b83; }
@media (max-width:980px) { .recording-scenario-guide .scenario-dashboard-grid,.recording-scenario-guide .scenario-dispatch-grid,.recording-scenario-guide .scenario-dashboard-hero { grid-template-columns:1fr; } .recording-scenario-guide .scenario-body-card { grid-row:auto; } }
@media (max-width:620px) { .recording-scenario-guide { max-height:none; } .recording-scenario-sticky-tools { grid-template-columns:1fr; }.recording-marker-dock,.recording-marker-dock[open] { width:100%; }.recording-scenario-header { display:grid; } .recording-stage-detail summary { grid-template-columns:1fr; } .recording-stage-detail summary small { grid-column:1; } .recording-stage-detail summary::after { grid-column:1; grid-row:auto; justify-self:start; } .scenario-question-row { grid-template-columns:minmax(150px,1fr) auto auto; overflow-x:auto; }.scenario-question-answer { align-items:flex-start; } }

/* Complete patient presentation inside recording guide */
.recording-patient-presentation { margin-top:16px; border:2px solid #9dcfc9; border-radius:13px; background:white; padding:17px; }
.recording-patient-presentation > h4 { margin:5px 0 8px; color:var(--ink); font-size:20px; }
.recording-patient-presentation > h5 { margin:18px 0 8px; color:#28545a; font-size:14px; text-transform:uppercase; letter-spacing:.05em; }
.presentation-copy { margin:0 0 13px; color:#29464b; font-size:15px !important; font-weight:650; line-height:1.7 !important; }
.recording-context { display:grid; grid-template-columns:1fr 1fr; gap:10px; border-radius:10px; background:#eef6f5; padding:11px 13px; }
.recording-context p { margin:0; color:#31585d; }
.recording-setup-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:17px; }
.recording-setup-grid > div { border:1px solid var(--line); border-radius:10px; padding:12px; }
.recording-setup-grid h5 { margin:0 0 7px; font-size:14px; }
@media (max-width:620px) { .recording-context,.recording-setup-grid { grid-template-columns:1fr; } }


/* Program value suite: competency trends, remediation, and accreditation evidence */
.program-value-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr); gap:18px; align-items:start; }
.competency-bar { width:100%; min-width:140px; height:10px; overflow:hidden; border-radius:999px; background:#e7efed; }
.competency-bar i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--coral),var(--teal)); }
.remediation-summary { border-top:4px solid var(--coral); }
.remediation-metrics { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.remediation-metrics div { display:flex; flex-direction:column; padding:14px; border-radius:10px; background:var(--surface-soft); }
.remediation-metrics strong { font-size:1.6rem; color:var(--navy); }
.remediation-metrics span,.table-subtext { display:block; color:var(--text-muted); font-size:.76rem; }
.gap-chip { display:inline-block; margin:2px 4px 2px 0; padding:4px 7px; border-radius:999px; background:#fff1ec; color:#924331; font-size:.7rem; font-weight:700; }
.trend-up { color:#14766d; }
.trend-down { color:#b24a37; }
@media (max-width:900px) { .program-value-grid { grid-template-columns:1fr; } }


/* Instructor-verified skills evidence */
.skills-entry-head,.skill-entry { display:grid; grid-template-columns:1.05fr .65fr .72fr 1.35fr; gap:8px; align-items:center; }
.skills-entry-head { padding:0 4px 6px; color:var(--text-muted); font-size:.7rem; font-weight:800; text-transform:uppercase; }
.skill-entry { margin-bottom:8px; }
.skills-report-grid { display:grid; gap:9px; }
.skill-result { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 14px; padding:13px; border:1px solid var(--border); border-left:4px solid #9aa9a5; border-radius:10px; }
.skill-result.successful { border-left-color:var(--teal); background:#f2fbf8; }
.skill-result.needs_improvement { border-left-color:var(--coral); background:#fff6f2; }
.skill-result div { display:flex; flex-direction:column; }
.skill-result div span { color:var(--text-muted); font-size:.72rem; }
.skill-result p { grid-column:1/-1; margin:0; color:var(--text-muted); line-height:1.45; }
.skills-overall-notes { margin-top:15px; padding:12px; border-radius:9px; background:var(--surface-soft); }
@media (max-width:760px) { .skills-entry-head { display:none; } .skill-entry { grid-template-columns:1fr; padding:12px; border:1px solid var(--border); border-radius:10px; } }


/* Program value dashboard and guided setup */
.value-metrics { grid-template-columns:repeat(5,minmax(0,1fr)); }
.estimate-note { margin:-6px 0 18px; color:var(--text-muted); font-size:.75rem; }
.guided-setup { border-top:4px solid var(--teal); }
.guided-setup .panel-header > strong { font-size:1.7rem; color:var(--teal); }
.setup-progress { height:9px; margin:0 22px; overflow:hidden; border-radius:999px; background:#e6efec; }
.setup-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--teal),#74c9bd); }
.guided-setup ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:0; margin:0; list-style:none; }
.guided-setup li { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; padding:11px 12px; border:1px solid var(--border); border-radius:10px; }
.guided-setup li > span { color:var(--coral); font-size:1.1rem; }
.guided-setup li.complete { background:#f1faf7; border-color:#b9ddd5; }
.guided-setup li.complete > span { color:var(--teal); }
.guided-setup li small { color:var(--teal); font-weight:800; }
.weakness-panel { border-left:4px solid var(--coral); }
.weakness-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.weakness-cards article { display:flex; flex-direction:column; gap:5px; padding:15px; border-radius:11px; background:#fff6f2; }
.weakness-cards article > span { color:var(--coral); font-size:1.4rem; font-weight:850; }
.weakness-cards article small { color:var(--text-muted); }
@media (max-width:1100px) { .value-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px) { .value-metrics,.guided-setup ol,.weakness-cards { grid-template-columns:1fr; } }


/* Guided usability helpers */
.next-action-card { display:flex; justify-content:space-between; gap:18px; align-items:center; border-left:5px solid var(--teal); background:linear-gradient(135deg,#f1fbf8,#fff); }
.next-action-card h2 { margin:3px 0 6px; }
.next-action-card p { margin:0; color:var(--text-muted); }
.next-action-buttons,.header-actions,.student-score-actions,.trust-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.explain-button { border:1px solid rgba(31,143,135,.28); border-radius:999px; background:#f2fbf9; padding:7px 10px; color:var(--teal-dark); font-size:10px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; cursor:pointer; }
.explain-button:hover { border-color:var(--teal); background:#e6f7f4; }
.student-dashboard-heading { margin-bottom:18px; }
.student-dashboard-band { margin:22px 0; border:1px solid rgba(30,58,95,.1); border-radius:24px; padding:16px; box-shadow:0 16px 42px rgba(30,58,95,.06); }
.student-dashboard-band > .panel, .student-dashboard-band > .student-evaluation-grid { margin-bottom:0; }
.student-status-band { background:linear-gradient(135deg,#fffdf7,#f7fbfb); border-color:rgba(211,166,53,.25); }
.student-practice-band { background:linear-gradient(135deg,#f3fbfa,#ffffff); border-color:rgba(31,143,135,.2); }

.scenario-testing-governance { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,360px) auto; gap:18px; align-items:end; padding:20px; margin-bottom:20px; }
.scenario-testing-governance h3, .scenario-testing-governance p { margin:0; }
.scenario-testing-governance p { margin-top:6px; color:var(--muted); }
.requirement-card-heading { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.requirement-grid article > .button { margin-top:14px; }
@media (max-width:800px){.scenario-testing-governance{grid-template-columns:1fr;align-items:stretch}}
.capture-video-stage .lecture-record-preview{display:block;width:100%;height:100%;max-height:none;margin:0;border-radius:0;object-fit:contain}
.student-evaluations-band { background:linear-gradient(135deg,#f8fbff,#ffffff); border-color:rgba(30,58,95,.12); }
.student-section-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; padding:4px 4px 15px; margin-bottom:16px; border-bottom:1px solid rgba(30,58,95,.08); }
.student-section-heading h2 { margin:4px 0 5px; color:var(--navy); font-size:1.35rem; }
.student-section-heading p { margin:0; max-width:780px; color:var(--text-muted); font-size:12px; line-height:1.5; }
.student-section-icon { display:grid; place-items:center; min-width:44px; height:44px; padding:0 8px; border-radius:16px; background:var(--navy); color:white; font-size:12px; font-weight:900; letter-spacing:.04em; box-shadow:0 12px 28px rgba(30,58,95,.16); }
.student-status-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr); gap:16px; align-items:start; }
.student-status-grid .course-completion-card { margin-bottom:0; height:100%; }
.student-metrics-strip { grid-template-columns:1fr; gap:12px; margin:0; }
.student-metrics-strip .metric-card { min-height:118px; border-left:4px solid rgba(31,143,135,.32); }
.student-command-center { overflow:hidden; border:1px solid rgba(31,143,135,.18); box-shadow:0 20px 48px rgba(30,58,95,.08); }
.student-command-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; padding:22px; background:radial-gradient(circle at top right,rgba(31,143,135,.16),transparent 34%),linear-gradient(135deg,#f3fbfa,#fff8f4); border-bottom:1px solid rgba(31,143,135,.14); }
.student-command-hero h2 { margin:5px 0 7px; color:var(--navy); font-size:1.6rem; }
.student-command-hero p { margin:0; max-width:860px; color:var(--text-muted); line-height:1.55; }
.student-command-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.student-command-badge { display:grid; place-items:center; width:118px; height:118px; border-radius:30px; background:var(--navy); color:white; box-shadow:0 18px 40px rgba(30,58,95,.22); text-align:center; }
.student-command-badge strong { font-size:1.45rem; letter-spacing:.06em; }
.student-command-badge span { color:#dceceb; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.student-command-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; padding:16px; }
.student-command-grid article { display:grid; grid-template-columns:34px minmax(0,1fr); gap:12px; align-items:start; padding:14px; border:1px solid var(--border); border-radius:13px; background:var(--surface-soft); }
.student-command-grid p { margin:4px 0 6px; color:var(--text-muted); font-size:11px; line-height:1.45; }
.student-command-grid small { display:block; margin-bottom:8px; color:var(--teal-dark); font-size:10px; font-weight:850; }
.student-learning-hub { border-top:4px solid var(--navy); }
.learning-hub-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.learning-hub-grid article { display:grid; grid-template-columns:34px minmax(0,1fr); gap:12px; align-items:start; padding:14px; border:1px solid var(--border); border-radius:13px; background:var(--surface-soft); }
.learning-hub-grid article.learning-hub-feature { border-color:rgba(31,143,135,.35); background:linear-gradient(135deg,#f0fbf9,#fff); box-shadow:0 10px 28px rgba(31,143,135,.1); }
.hub-icon,.learning-library-grid article > span { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--navy); color:white; font-size:12px; font-weight:900; }
.learning-hub-grid strong,.learning-library-grid strong { color:var(--navy); font-size:13px; }
.learning-hub-grid p,.learning-hub-grid li,.learning-library-grid p,.learning-library-grid small { color:var(--text-muted); font-size:11px; line-height:1.45; }
.learning-hub-grid ul { margin:5px 0 0; padding-left:17px; }
.evaluation-process-status { display:flex; gap:13px; align-items:center; margin:0 0 18px; padding:15px 17px; border:1px solid rgba(31,143,135,.35); border-left:5px solid var(--teal); border-radius:14px; background:linear-gradient(135deg,#eefaf7,#fff); box-shadow:0 10px 28px rgba(31,143,135,.1); }
.evaluation-process-status strong { display:block; color:var(--navy); font-size:14px; }
.evaluation-process-status p { margin:3px 0 0; color:var(--text-muted); font-size:12px; line-height:1.45; }
.evaluation-process-spinner { box-sizing:border-box; display:block; flex:0 0 28px; width:28px; min-width:28px; height:28px; min-height:28px; aspect-ratio:1; border:4px solid #dbe7ec; border-top-color:#0878ff; border-right-color:#1f8f87; border-radius:50%; background:transparent; box-shadow:0 4px 12px rgba(8,36,91,.14); animation:evaluation-process-spin .78s linear infinite; }
.evaluation-process-spinner::after { content:none; }
.evaluation-action-target { position:relative !important; z-index:6; overflow:visible !important; border:3px solid #ffd400 !important; box-shadow:0 0 0 6px rgba(255,212,0,.48),0 0 32px rgba(255,225,0,.95),0 0 58px rgba(255,225,0,.62),0 14px 32px rgba(30,58,95,.24) !important; animation:evaluation-next-pulse 1.2s ease-in-out infinite; }
.evaluation-action-target::before { content:attr(data-next-label); position:absolute; right:0; bottom:calc(100% + 25px); width:max-content; max-width:270px; padding:10px 13px; border:3px solid #ffd400; border-radius:11px; background:#08245b; color:#fff; font-size:13px; font-weight:950; line-height:1.25; text-align:left; white-space:normal; pointer-events:none; box-shadow:0 0 22px rgba(255,225,0,.72),0 13px 28px rgba(8,36,91,.35); }
.evaluation-action-target::after { content:'\2B07'; position:absolute; right:15px; bottom:calc(100% - 8px); color:#0878ff; font-family:Arial Black,Impact,sans-serif; font-size:44px; font-weight:1000; line-height:.8; pointer-events:none; -webkit-text-stroke:2px #fff; paint-order:stroke fill; filter:drop-shadow(0 3px 0 #052a67) drop-shadow(0 0 8px rgba(8,120,255,.9)); animation:evaluation-next-arrow .55s ease-in-out infinite alternate; }
@keyframes evaluation-process-spin { to { transform:rotate(360deg); } }
@keyframes evaluation-next-pulse { 0%,100% { box-shadow:0 0 0 5px rgba(255,212,0,.42),0 0 25px rgba(255,225,0,.78),0 0 45px rgba(255,225,0,.42),0 12px 28px rgba(30,58,95,.18); } 50% { box-shadow:0 0 0 12px rgba(255,212,0,.52),0 0 45px rgba(255,225,0,1),0 0 72px rgba(255,225,0,.72),0 16px 38px rgba(30,58,95,.27); } }
@keyframes evaluation-next-arrow { from { transform:translateY(-4px) scale(1); } to { transform:translateY(7px) scale(1.12); } }
.learning-library-overview { margin-bottom:18px; border-top:4px solid var(--coral); }
.learning-library-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.learning-library-grid article { display:grid; grid-template-columns:32px minmax(0,1fr); gap:10px; align-items:start; padding:13px; border:1px solid var(--border); border-radius:12px; background:#fffaf7; }
@media (max-width:1100px) { .student-status-grid { grid-template-columns:1fr; } .student-command-grid,.learning-library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .student-metrics-strip { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px) { .next-action-card { flex-direction:column; align-items:flex-start; } .student-dashboard-band { padding:12px; border-radius:18px; } .student-section-heading { flex-direction:column; } .student-command-hero { grid-template-columns:1fr; } .student-command-badge { width:96px; height:96px; } .student-command-grid,.student-metrics-strip,.learning-hub-grid,.learning-library-grid { grid-template-columns:1fr; } .evaluation-action-target::before { right:auto; left:0; max-width:min(240px,75vw); } .evaluation-action-target::after { right:auto; left:18px; } }

/* Platform-owner evaluation multi-view */
.multiview-heading { border-bottom:1px solid rgba(88,103,216,.16); padding-bottom:16px; }
.multiview-filter-panel { margin:16px 0; border-top:4px solid #5867d8; overflow:hidden; }
.multiview-filter-panel .panel-header { align-items:flex-start; background:linear-gradient(135deg,#f6f7ff,#ffffff); }
.multiview-filter-panel .panel-body { display:grid; gap:12px; }
.multiview-filter-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.multiview-filter-grid label { margin:0; }
.multiview-filter-grid select { min-height:138px; padding:9px; }
.multiview-filter-grid small { display:block; margin-top:6px; color:var(--text-muted); font-size:11px; line-height:1.35; }
.multiview-filter-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; padding:10px 12px; border:1px solid rgba(88,103,216,.16); border-radius:13px; background:#f7f8ff; }
.multiview-filter-actions span { color:#53616c; font-size:12px; font-weight:750; }
.multiview-status-strip { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin:16px 0; }
.multiview-status-strip article { padding:15px; border:1px solid rgba(88,103,216,.18); border-radius:16px; background:linear-gradient(135deg,#f6f7ff,#ffffff); box-shadow:0 12px 28px rgba(30,58,95,.06); }
.multiview-status-strip strong { display:block; color:#5867d8; font:900 28px/1 'Manrope',system-ui,sans-serif; }
.multiview-status-strip span { color:var(--text-muted); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.multiview-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.multiview-eval-card { overflow:hidden; border:1px solid rgba(13,39,50,.1); border-radius:20px; background:white; box-shadow:0 18px 44px rgba(16,24,40,.08); }
.multiview-eval-card.active { border-top:4px solid #5867d8; }
.multiview-eval-card.complete { border-top:4px solid var(--teal); }
.multiview-eval-card.scenario,.multiview-scenario-card { border-top:4px solid #d3a635; }
.multiview-eval-card header { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; padding:16px; background:linear-gradient(135deg,#f8fbff,#fff); }
.multiview-eval-card h3 { margin:3px 0; color:var(--navy); }
.multiview-eval-card p { margin:0; color:var(--text-muted); line-height:1.45; }
.multiview-screen { margin:0 16px; padding:14px; border-radius:16px; background:linear-gradient(160deg,#0b1220,#172438); color:#d7f7f2; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
.multiview-screen-top,.multiview-chip-row { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
.multiview-screen-top span,.multiview-chip-row span { display:inline-flex; align-items:center; min-height:24px; padding:4px 8px; border-radius:999px; background:rgba(255,255,255,.1); color:#b9c4d1; font-size:10px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.multiview-score-row { display:flex; justify-content:space-between; gap:12px; align-items:end; margin:12px 0; }
.multiview-score-row strong { color:#9ff7c8; font:900 34px/1 'Manrope',system-ui,sans-serif; }
.multiview-score-row span { color:#d7f7f2; font-weight:850; text-align:right; }
.multiview-mini-wave { display:flex; align-items:end; gap:3px; height:42px; margin:8px 0 10px; padding:7px; border-radius:10px; background:rgba(159,247,200,.08); }
.multiview-mini-wave i { flex:1; border-radius:999px 999px 0 0; background:#64ff9c; box-shadow:0 0 8px rgba(100,255,156,.35); }
.scenario-feed .multiview-mini-wave i,.multiview-mini-wave.scenario-pulse i { background:#ffd66b; box-shadow:0 0 8px rgba(255,214,107,.35); }
.multiview-screen p { max-height:76px; overflow:auto; color:#c8d6de; font-size:12px; }
.multiview-chip-row { padding:12px 16px 0; }
.multiview-chip-row span { background:#f3f6fa; color:#53616c; }
.multiview-eval-card footer { display:flex; justify-content:flex-end; gap:8px; padding:14px 16px 16px; }
.multiview-off-panel { min-height:220px; display:grid; place-items:center; text-align:center; background:linear-gradient(135deg,#f6f7ff,#fffaf7); }
.multiview-off-panel h2 { margin:5px 0; color:var(--navy); }
.multiview-off-panel p { max-width:680px; color:var(--text-muted); line-height:1.55; }
.multiview-operator-notes { margin-top:16px; }
.operator-note-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.operator-note-grid article { padding:14px; border:1px solid var(--border); border-radius:13px; background:var(--surface-soft); }
.operator-note-grid strong { color:var(--navy); }
.operator-note-grid p { margin:6px 0 0; color:var(--text-muted); font-size:12px; line-height:1.45; }
.multiview-detail-modal .modal-body { display:grid; gap:14px; }
.multiview-detail-hero { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.multiview-detail-hero article { padding:14px; border:1px solid rgba(88,103,216,.18); border-radius:14px; background:#f7f8ff; }
.multiview-detail-hero span { display:block; color:var(--text-muted); font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.multiview-detail-hero strong { display:block; margin-top:5px; color:#5867d8; font:900 22px/1.1 'Manrope',system-ui,sans-serif; }
.multiview-critical-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.multiview-critical-grid article { padding:12px; border:1px solid var(--border); border-radius:12px; background:var(--surface-soft); }
.multiview-critical-grid strong,.multiview-critical-grid span { display:block; }
.multiview-critical-grid span { margin:4px 0; color:var(--teal-dark); font-size:12px; font-weight:850; }
.multiview-critical-grid p { margin:0; color:var(--text-muted); font-size:12px; line-height:1.45; }
.multiview-transcript-preview { max-height:260px; overflow:auto; white-space:pre-wrap; color:var(--text); font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; }
@media (max-width:1000px) { .multiview-grid,.multiview-filter-grid,.operator-note-grid,.multiview-critical-grid { grid-template-columns:1fr; } .multiview-status-strip,.multiview-detail-hero { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .multiview-status-strip,.multiview-detail-hero { grid-template-columns:1fr; } .multiview-eval-card footer { flex-direction:column; } }


/* Universal accreditation and certification resources */
.resource-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.resource-list { display:grid; gap:9px; }
.resource-link { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:center; padding:13px; border:1px solid var(--border); border-radius:11px; color:var(--text); text-decoration:none; transition:.15s ease; }
.resource-link:hover { transform:translateY(-1px); border-color:var(--teal); background:#f4fbf9; }
.resource-link p { margin:4px 0 0; color:var(--text-muted); font-size:.78rem; line-height:1.45; }
.resource-link > b { color:var(--teal); font-size:1.1rem; }
.resource-org { min-width:64px; padding:6px 8px; border-radius:8px; background:var(--navy); color:white; text-align:center; font-size:.68rem; font-weight:850; letter-spacing:.04em; }
@media (max-width:850px) { .resource-groups { grid-template-columns:1fr; } }


/* Student-facing training tools */
.training-tools-heading { border-bottom:1px solid rgba(31,143,135,.14); padding-bottom:18px; }
.training-safety-note { margin-bottom:18px; }
.study-reference-heading { border-bottom:1px solid rgba(88,103,216,.14); padding-bottom:16px; }
.study-reference-layout { display:grid; grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr); gap:18px; align-items:start; }
.study-question-panel,.study-answer-panel { overflow:hidden; }
.study-question-panel .panel-header,.study-answer-panel .panel-header { background:linear-gradient(135deg,#f6f7ff,#ffffff); }
.study-suggestion-row { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:13px; }
.study-suggestion-row button { border:1px solid rgba(88,103,216,.22); border-radius:999px; background:#f6f7ff; color:#39446b; padding:8px 11px; font-size:12px; font-weight:850; cursor:pointer; }
.study-suggestion-row button:hover { background:#e9ecff; transform:translateY(-1px); }
#study-reference-form { display:grid; gap:10px; }
#study-reference-form textarea { min-height:145px; resize:vertical; }
.study-source-list { display:grid; gap:8px; margin-top:16px; padding-top:14px; border-top:1px solid var(--border); }
.study-source-list h3 { margin:0; color:var(--navy); font-size:14px; }
.study-source-list article { display:flex; justify-content:space-between; gap:10px; padding:10px 12px; border:1px solid rgba(13,39,50,.09); border-radius:12px; background:#fbfdfd; }
.study-source-list strong { color:var(--navy); font-size:13px; }
.study-source-list span,.study-source-list p { margin:0; color:var(--text-muted); font-size:12px; }
.study-answer-empty { display:grid; place-items:center; gap:8px; min-height:280px; text-align:center; color:var(--text-muted); }
.study-answer-empty span { display:grid; place-items:center; width:54px; height:54px; border-radius:18px; background:#5867d8; color:white; font-weight:900; }
.study-answer-empty h3 { margin:0; color:var(--navy); }
.study-answer-empty p { max-width:520px; margin:0; line-height:1.5; }
.study-answer-card { display:grid; gap:13px; padding:16px; border:1px solid rgba(88,103,216,.18); border-radius:18px; background:linear-gradient(180deg,#ffffff,#f8fbff); box-shadow:0 14px 34px rgba(16,24,40,.06); }
.study-answer-card.not-found { border-color:rgba(196,81,66,.24); background:linear-gradient(180deg,#fff,#fff8f6); }
.study-answer-card.general-ai { border-color:rgba(217,119,6,.32); background:linear-gradient(180deg,#fffdf7,#fff8ec); }
.study-answer-card.topic-mismatch { border-color:rgba(88,103,216,.34); background:linear-gradient(180deg,#fff,#f4f6ff); }
.study-answer-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.study-answer-head h2,.study-answer-card h3 { margin:3px 0 0; color:var(--navy); }
.study-answer-card p { margin:0; color:var(--text); line-height:1.6; }
.study-answer-card ul { margin:0; padding-left:18px; color:var(--text-muted); line-height:1.5; }
.practice-question-set { display:grid; gap:16px; }
.practice-question-set-head { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; padding:16px; border:1px solid rgba(31,143,135,.18); border-radius:18px; background:linear-gradient(135deg,#f6fffd,#ffffff); }
.practice-question-set-head h2 { margin:3px 0; color:var(--navy); }
.practice-question-set-head p { margin:0; color:var(--muted); line-height:1.5; }
.practice-question-list { display:grid; gap:14px; }
.practice-question-card { border:1px solid rgba(30,58,95,.12); border-radius:18px; background:#fff; padding:16px; box-shadow:0 12px 28px rgba(16,24,40,.05); }
.practice-question-card-head { display:flex; justify-content:space-between; gap:10px; align-items:center; margin-bottom:8px; color:var(--muted); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.practice-question-card-head > div { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.practice-question-card h3 { margin:0 0 12px; color:var(--navy); line-height:1.35; }
.practice-question-card ol { margin:0 0 12px; padding-left:22px; color:var(--text); line-height:1.55; }
.practice-question-card details { border-top:1px solid rgba(30,58,95,.1); padding-top:10px; }
.practice-question-card summary { cursor:pointer; color:var(--teal-dark); font-weight:900; }
.practice-choice-list { display:grid; gap:8px; margin:12px 0; }
.practice-choice { display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border:1px solid rgba(30,58,95,.12); border-radius:14px; background:#fff; cursor:pointer; line-height:1.45; }
.practice-choice:hover { border-color:rgba(31,143,135,.35); background:#f7fffd; }
.practice-choice input { margin-top:3px; accent-color:var(--teal); }
.practice-choice.selected { border-color:rgba(30,58,95,.35); background:#f5f8fb; }
.practice-choice.correct { border-color:rgba(22,163,74,.45); background:#ecfdf3; }
.practice-choice.incorrect { border-color:rgba(220,38,38,.42); background:#fff1f2; }
.practice-question-card.answered-correct { border-color:rgba(22,163,74,.35); box-shadow:0 12px 28px rgba(22,163,74,.09); }
.practice-question-card.answered-incorrect { border-color:rgba(220,38,38,.3); box-shadow:0 12px 28px rgba(220,38,38,.08); }
.practice-quiz-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; padding:8px 0; }
.practice-quiz-score { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:14px 16px; border-radius:16px; background:#eef8f7; border:1px solid rgba(31,143,135,.24); color:var(--navy); }
.practice-quiz-score span { color:var(--muted); }
.practice-rationale { margin-top:10px; padding:12px; border-radius:14px; background:#f8fbfb; color:var(--text); }
.practice-rationale p { margin:6px 0; line-height:1.55; }
.practice-rationale small { display:block; color:var(--muted); }
.study-general-ai-option { align-items:flex-start; gap:9px; line-height:1.35; }
.study-general-ai-option span { display:block; margin-top:2px; color:var(--text-muted); font-size:12px; font-weight:500; }
.study-source-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding-top:10px; border-top:1px solid var(--border); }
.study-source-row strong { color:var(--navy); margin-right:4px; }
.study-source-row span { display:inline-flex; min-height:26px; align-items:center; padding:5px 9px; border-radius:999px; background:#eef6f4; color:var(--teal-dark); font-size:11px; font-weight:850; }
@media (max-width:900px) { .study-reference-layout { grid-template-columns:1fr; } }
.student-survey-overview { margin-bottom:16px; border-top:4px solid #5867d8; overflow:hidden; }
.student-survey-overview .panel-header { background:linear-gradient(135deg,#f6f7ff,#ffffff); }
.student-survey-overview .panel-body { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }
.student-survey-overview p { flex:1 1 360px; margin:0; color:var(--text-muted); line-height:1.55; }
.patient-narrative-panel { margin:18px 0; border-top:4px solid var(--navy); overflow:hidden; }
.patient-narrative-panel .panel-header { background:linear-gradient(135deg,#f5fbfb,#fff8f4); align-items:flex-start; }
.patient-narrative-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:18px; align-items:start; margin-top:16px; }
.narrative-editor,.narrative-recording-card { display:grid; gap:13px; }
.narrative-toolbar { display:flex; flex-wrap:wrap; gap:10px; align-items:end; }
.narrative-toolbar label { min-width:190px; margin:0; }
.narrative-doc-upload { min-height:42px; align-content:center; }
.narrative-editor textarea { min-height:260px; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:13px; line-height:1.6; resize:vertical; }
.narrative-form-actions,.narrative-recording-actions,.narrative-action-strip { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.narrative-recording-card { padding:16px; border:1px solid rgba(31,143,135,.18); border-radius:18px; background:linear-gradient(180deg,#f8fcfb,#fff); box-shadow:0 14px 34px rgba(16,24,40,.06); }
.narrative-recording-card h3 { margin:0; color:var(--navy); }
.narrative-recording-card p { margin:0; color:var(--text-muted); font-size:13px; line-height:1.5; }
.recording-status-box { display:grid; gap:8px; min-height:78px; padding:13px; border:1px dashed rgba(31,143,135,.38); border-radius:14px; background:#f1faf7; color:var(--text-muted); font-size:12px; }
.recording-status-box strong { color:var(--teal-dark); font-size:14px; }
.recording-status-box audio { width:100%; }
.narrative-transcript-preview details { border:1px solid var(--border); border-radius:12px; padding:10px; background:white; }
.narrative-transcript-preview pre,.narrative-revised-preview pre { max-height:220px; overflow:auto; white-space:pre-wrap; color:var(--text); font-size:12px; line-height:1.55; }
.narrative-result-panel { margin-top:18px; padding:16px; border:1px solid rgba(11,59,68,.13); border-radius:18px; background:#fbfdfd; }
.narrative-empty-result { display:grid; place-items:center; gap:8px; min-height:160px; text-align:center; color:var(--text-muted); }
.narrative-empty-result span { display:grid; place-items:center; width:48px; height:48px; border-radius:16px; background:var(--navy); color:white; font-weight:900; }
.narrative-empty-result h3 { margin:0; color:var(--navy); }
.narrative-empty-result p { max-width:620px; margin:0; line-height:1.5; }
.narrative-score-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:center; padding:16px; border-radius:18px; background:linear-gradient(135deg,#0b3b44,#1f8f87); color:white; box-shadow:0 18px 42px rgba(11,59,68,.18); }
.narrative-score-card .eyebrow,.narrative-score-card p { color:rgba(255,255,255,.78); }
.narrative-score-card strong { display:block; margin:4px 0; font:900 25px/1.05 'Manrope',system-ui,sans-serif; }
.narrative-score-card > b { font:900 42px/1 'Manrope',system-ui,sans-serif; letter-spacing:-.05em; }
.narrative-score-card > b span { display:block; font-size:13px; letter-spacing:0; color:rgba(255,255,255,.72); }
.narrative-highlight-panel { margin-top:14px; padding:14px; border:1px solid rgba(13,39,50,.12); border-radius:16px; background:linear-gradient(180deg,#ffffff,#f8fbfb); }
.narrative-highlight-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; margin-bottom:10px; }
.narrative-highlight-head h3 { margin:0 0 4px; color:var(--navy); }
.narrative-highlight-head p { margin:0; color:var(--text-muted); font-size:12px; line-height:1.5; }
.narrative-highlight-legend { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:10px; }
.narrative-legend { display:inline-flex; align-items:center; min-height:24px; padding:4px 9px; border:1px solid rgba(13,39,50,.1); border-radius:999px; color:var(--navy); font-size:10px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.narrative-highlight-text { max-height:260px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; padding:13px; border:1px solid var(--border); border-radius:13px; background:white; color:var(--text); font:13px/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.narrative-mark { padding:2px 3px; border-radius:5px; box-decoration-break:clone; -webkit-box-decoration-break:clone; color:#24313a; font-weight:850; }
.narrative-mark.accepted { opacity:.62; text-decoration:line-through; }
.narrative-mark-spelling { background:#fff0a6; box-shadow:0 0 0 1px #ead66f inset; }
.narrative-mark-abbreviation { background:#dff7ee; box-shadow:0 0 0 1px #93d9c5 inset; }
.narrative-mark-grammar { background:#dceeff; box-shadow:0 0 0 1px #9cc8ef inset; }
.narrative-mark-phi { background:#ffe0dc; box-shadow:0 0 0 1px #f4a59a inset; }
.narrative-mark-missing { background:#ffe7bf; box-shadow:0 0 0 1px #efbf77 inset; }
.narrative-mark-clarity { background:#ece4ff; box-shadow:0 0 0 1px #c6b7ef inset; }
.narrative-mark-format { background:#dff5ff; box-shadow:0 0 0 1px #a1d8eb inset; }
.narrative-result-columns { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
.narrative-result-columns section,.narrative-phi-box { padding:14px; border:1px solid var(--border); border-radius:14px; background:white; }
.narrative-result-columns h3,.narrative-phi-box h3,.narrative-result-panel h3 { margin:0 0 9px; color:var(--navy); }
.narrative-result-columns ul,.narrative-phi-box ul { margin:0; padding-left:18px; color:var(--text-muted); line-height:1.5; font-size:13px; }
.narrative-phi-box { margin-top:12px; border-color:#f0c2bb; background:#fff8f6; }
.narrative-action-strip { margin:14px 0; padding:12px; border-radius:14px; background:#f5f8fa; border:1px solid var(--border); }
.narrative-suggestion-list { display:grid; gap:10px; }
.narrative-suggestion { display:grid; gap:9px; padding:13px; border:1px solid var(--border); border-radius:14px; background:white; }
.narrative-suggestion.accepted { opacity:.66; background:#f7fbf9; }
.narrative-suggestion header { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.narrative-suggestion header p { margin:4px 0 0; color:var(--text-muted); font-size:12px; line-height:1.45; }
.narrative-suggestion-change { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:8px; align-items:center; padding:10px; border-radius:12px; background:#f8fbfb; color:var(--text-muted); font-size:12px; }
.narrative-suggestion-change span { padding:8px; border-radius:10px; background:white; border:1px solid var(--border); overflow-wrap:anywhere; }
.narrative-suggestion-change b { color:var(--teal); }
.narrative-revised-preview { margin-top:12px; border:1px solid var(--border); border-radius:14px; padding:12px; background:white; }
.training-tool-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.training-tool-card { overflow:hidden; border-top:4px solid var(--teal); }
.training-tool-card.wide { grid-column:1/-1; }
.training-tool-card:nth-child(2n) { border-top-color:var(--coral); }
.ventilator-tool-card { border-top-color:var(--navy); }
.training-tool-card .panel-header { min-height:112px; align-items:flex-start; background:linear-gradient(180deg,#fbfdfc 0%,#fff 100%); }
.training-tool-card .panel-header h2 { margin-top:3px; }
.training-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.training-form-grid label { font-size:11px; }
.inline-input { display:flex; align-items:center; border:1px solid var(--border); border-radius:10px; background:var(--surface); overflow:hidden; }
.inline-input:focus-within { border-color:var(--teal); box-shadow:0 0 0 3px rgba(31,143,135,.12); }
.inline-input input { border:0; border-radius:0; background:transparent; box-shadow:none; }
.inline-input span { padding:0 10px; color:var(--text-muted); font-size:11px; font-weight:850; white-space:nowrap; }
.training-result { display:grid; gap:7px; margin:0 0 14px; padding:15px 16px; border:2px solid rgba(31,143,135,.28); border-radius:15px; background:linear-gradient(135deg,#effaf7,#fff); box-shadow:0 10px 28px rgba(31,143,135,.08); }
.training-result-label { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.training-result-label span { display:inline-flex; align-items:center; border-radius:999px; background:var(--teal); padding:4px 9px; color:white; font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.training-result-label small { color:var(--text-muted); font-size:10px; font-weight:800; }
.training-result strong { color:var(--teal-dark); font:900 30px/1.05 'Manrope',system-ui,sans-serif; letter-spacing:-.04em; }
.training-result > span { color:var(--text-muted); font-size:11px; line-height:1.45; }
.training-result .training-result-label span { color:white; }
.training-result.warning { border-color:#efc7bd; background:linear-gradient(135deg,#fff4f1,#fff); }
.training-result.warning strong { color:var(--coral); }
.ventilator-quick-guide { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:14px; }
.ventilator-quick-guide article { display:grid; gap:5px; padding:12px; border:1px solid var(--border); border-radius:12px; background:#f8fbfb; }
.ventilator-quick-guide strong { color:var(--navy); font-size:12px; }
.ventilator-quick-guide span { color:var(--text-muted); font-size:11px; line-height:1.45; }
.training-checklists { margin-top:18px; }
.training-checklist-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.training-checklist-grid article { display:grid; grid-template-columns:30px minmax(0,1fr); gap:10px; align-items:start; padding:13px; border:1px solid var(--border); border-radius:12px; background:var(--surface-soft); }
.training-checklist-grid article span { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--navy); color:white; font-size:11px; font-weight:900; }
.training-checklist-grid article p { margin:0; color:var(--text-muted); font-size:12px; line-height:1.5; }
@media (max-width:980px) { .training-tool-grid,.patient-narrative-layout,.narrative-result-columns { grid-template-columns:1fr; } }
@media (max-width:760px) { .ventilator-quick-guide { grid-template-columns:1fr; } }
@media (max-width:640px) { .training-form-grid,.training-checklist-grid,.narrative-suggestion-change { grid-template-columns:1fr; } .training-tool-card .panel-header { min-height:0; } .narrative-score-card,.narrative-highlight-head { grid-template-columns:1fr; } .narrative-highlight-head { display:grid; } .narrative-highlight-text { max-height:220px; font-size:12px; } }


/* Role-specific onboarding */
.role-setup { margin-bottom:18px; }
.role-setup .panel-body { padding-top:14px; }
@media (min-width:1000px) { .role-setup ol { grid-template-columns:repeat(3,minmax(0,1fr)); } }


/* Cohorts, competencies, and terminal approval */
.program-config-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; }
.inline-assignment { display:grid; grid-template-columns:minmax(220px,1fr) minmax(180px,.8fr) minmax(180px,.8fr) auto; gap:12px; align-items:end; }
.inline-assignment .form-error { grid-column:1/-1; }
.requirement-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.requirement-grid article { display:flex; flex-direction:column; gap:7px; padding:14px; border:1px solid var(--border); border-radius:11px; background:var(--surface-soft); }
.requirement-grid article h3,.requirement-grid article p { margin:0; }
.requirement-grid article p,.requirement-grid article small { color:var(--text-muted); }
@media (max-width:900px) { .program-config-grid,.requirement-grid { grid-template-columns:1fr; } .inline-assignment { grid-template-columns:1fr; align-items:stretch; } }


/* Private evaluation supporting files */
.attachment-selection { display:grid; gap:6px; margin-top:10px; }
.attachment-selection span { padding:8px 10px; border:1px solid var(--border); border-radius:8px; background:var(--surface-soft); font-size:12px; }
.attachment-list { display:grid; gap:8px; margin-bottom:14px; }
.attachment-row { width:100%; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; padding:10px; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:inherit; text-align:left; cursor:pointer; }
.attachment-row:hover { border-color:var(--accent); background:var(--surface-soft); }
.attachment-row div { min-width:0; display:grid; gap:2px; }
.attachment-row strong, .attachment-row small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.attachment-row b { font-size:11px; color:var(--accent); }
.compact-upload { display:grid; gap:6px; margin-bottom:8px; font-weight:700; }
.compact-upload input { font-weight:400; }
.skill-result.skipped { border-left:3px solid #8b95a5; opacity:.86; }


/* Accreditation-oriented student resource survey */
.survey-question-list { display:grid; gap:10px; margin-bottom:22px; }
.survey-question { display:grid; grid-template-columns:minmax(0,1fr) 220px; align-items:center; gap:18px; padding:14px; border:1px solid var(--border); border-radius:11px; background:var(--surface-soft); }
.survey-question > span { display:grid; grid-template-columns:30px minmax(0,1fr); gap:10px; align-items:start; }
.survey-question > span > b { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--navy); color:white; font-size:.76rem; }
.survey-question strong, .survey-question small { display:block; }
.survey-question small { margin-top:4px; color:var(--text-muted); line-height:1.4; }
.survey-results { display:grid; gap:15px; }
.survey-results article { display:grid; grid-template-columns:minmax(220px,1fr) minmax(140px,1fr) 64px; gap:16px; align-items:center; }
.survey-results article small { display:block; margin-top:3px; color:var(--text-muted); }
.survey-results article b { text-align:right; font-size:1.05rem; }
.survey-results article b span { font-size:.7rem; color:var(--text-muted); }
.survey-comments { display:grid; gap:10px; }
.survey-comments article { padding:12px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.survey-comments article p { margin:8px 0; line-height:1.55; }
@media (max-width:760px) { .survey-question { grid-template-columns:1fr; } .survey-results article { grid-template-columns:1fr 54px; } .survey-results article .bar { grid-column:1; grid-row:2; } .survey-results article b { grid-column:2; grid-row:2; } }

/* Electronic student counseling forms */
.counseling-layout { align-items:start; }
.counseling-send-form { border-top:4px solid var(--teal); }
.counseling-records-panel { border-top:4px solid #d3a635; }
.counseling-list, .counseling-history { display:grid; gap:14px; }
.counseling-history .counseling-record { box-shadow:none; }
.counseling-record { overflow:hidden; border-left:4px solid #d3a635; }
.counseling-record.acknowledged { border-left-color:var(--teal); }
.counseling-record.pending { background:linear-gradient(180deg,#fffaf0 0%, var(--surface) 44%); }
.counseling-stamp-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:16px; }
.counseling-stamp-row span { display:grid; gap:3px; min-width:0; padding:10px 12px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); color:var(--text-muted); font-size:.8rem; }
.counseling-stamp-row strong { display:block; color:var(--ink); font-size:.68rem; letter-spacing:.05em; text-transform:uppercase; }
.counseling-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.counseling-detail-grid article { padding:13px; border:1px solid var(--border); border-radius:12px; background:var(--surface); }
.counseling-detail-grid strong { display:block; margin-bottom:6px; color:var(--navy); font-size:.74rem; letter-spacing:.04em; text-transform:uppercase; }
.counseling-detail-grid p { margin:0; white-space:pre-wrap; color:#364850; line-height:1.58; }
.counseling-ack-form { display:grid; gap:12px; margin-top:16px; padding:15px; border:1px solid #badfd9; border-radius:14px; background:#f3fbf9; }
.counseling-ack-summary { display:grid; gap:5px; margin-top:16px; padding:14px; border:1px solid #badfd9; border-radius:12px; background:#f3fbf9; }
.counseling-ack-summary strong { color:var(--green); }
.counseling-ack-summary span, .counseling-ack-summary small { color:var(--text-muted); }
.counseling-ack-summary p { margin:6px 0; white-space:pre-wrap; }
.counseling-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:14px; }
.checkbox-line { display:flex; grid-template-columns:none; align-items:flex-start; gap:9px; margin:0; color:#34434a; line-height:1.45; }
.checkbox-line input { width:auto; margin-top:3px; }
@media (max-width:980px) { .counseling-stamp-row,.counseling-detail-grid { grid-template-columns:1fr; } }


/* Student course completion checklist */
.course-completion-card { border-top:4px solid #d3a635; margin-bottom:20px; }
.course-completion-card.complete { border-top-color:var(--teal); background:linear-gradient(180deg,#f6fffc 0%,var(--surface) 46%); }
.completion-checklist { display:grid; gap:8px; }
.completion-checklist article { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:10px; align-items:center; padding:11px 12px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.completion-checklist article > span { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:#e8edf0; color:var(--text-muted); font-weight:850; }
.completion-checklist article.complete > span { background:#dff4ec; color:#14745d; }
.completion-checklist article strong, .completion-checklist article small { display:block; }
.completion-checklist article small { margin-top:3px; color:var(--text-muted); }
@media (max-width:640px) { .completion-checklist article { grid-template-columns:28px 1fr; } .completion-checklist article .button { grid-column:2; justify-self:start; } }


/* Medical Director simplified review hub */
.medical-director-hub { border:1px solid #cddfe4; border-radius:18px; padding:24px; background:linear-gradient(135deg,#f8fbfb 0%,#eef7f6 52%,#fffaf0 100%); box-shadow:0 18px 40px rgba(19,47,59,.08); }
.medical-director-hub h1 { font-size:clamp(2rem,3vw,3.15rem); letter-spacing:-.04em; }
.medical-director-metrics { margin-top:16px; }
.medical-director-action-grid { display:grid; grid-template-columns:minmax(0,1.22fr) minmax(320px,.78fr); gap:18px; align-items:start; margin-top:18px; }
.medical-director-action-card { border-top:4px solid #c7a23a; }
.medical-director-action-card.primary-action { border-top-color:var(--teal); }
.medical-director-ready-list { display:grid; gap:10px; }
.medical-director-ready-list article { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; padding:13px; border:1px solid var(--border); border-radius:12px; background:var(--surface-soft); }
.medical-director-ready-list strong,.medical-director-ready-list small { display:block; }
.medical-director-ready-list small { margin-top:4px; color:var(--text-muted); }
.medical-director-ready-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.medical-director-guide-grid { margin-top:18px; }
.medical-director-guide { border-left:5px solid var(--navy); }
.medical-director-guide ol { display:grid; gap:12px; margin:0; padding:0; list-style:none; }
.medical-director-guide li { display:grid; grid-template-columns:1fr; gap:3px; padding:12px; border:1px solid var(--border); border-radius:12px; background:var(--surface-soft); }
.medical-director-guide li strong,.medical-director-guide li span { display:block; }
.medical-director-guide li span { color:var(--text-muted); line-height:1.45; }
@media (max-width:980px) { .medical-director-action-grid { grid-template-columns:1fr; } .medical-director-ready-list article { grid-template-columns:1fr; } .medical-director-ready-actions { justify-content:flex-start; } }


/* Platform Owner read-only role previews */
.view-switcher { display:flex; align-items:center; gap:7px; padding:5px 7px 5px 10px; border:1px solid var(--border); border-radius:9px; background:var(--surface); }
.view-switcher span { font-size:.68rem; font-weight:800; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em; }
.view-switcher select { width:auto; min-width:145px; border:0; padding:4px 24px 4px 4px; background-color:transparent; font-weight:750; }
.mode-switcher select { min-width:92px; }
.preview-banner { margin:14px 28px 0; padding:10px 14px; border:1px solid #e1bb57; border-radius:10px; background:#fff7dc; color:#694f0a; font-size:.82rem; }
@media (max-width:820px) { .view-switcher span { display:none; } .view-switcher select { min-width:120px; } .preview-banner { margin:10px 14px 0; } }

/* Privacy-safe platform product analytics */
.analytics-period { display:grid; gap:5px; min-width:170px; }
.analytics-period span { font-size:.7rem; font-weight:850; color:var(--text-muted); letter-spacing:.06em; text-transform:uppercase; }
.analytics-layout { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr); gap:18px; margin-top:18px; align-items:start; }
.analytics-bars { display:grid; gap:10px; }
.analytics-bar-row { display:grid; grid-template-columns:42px minmax(100px,1fr) 38px 70px; gap:9px; align-items:center; font-size:.76rem; }
.analytics-bar-row > div { height:10px; overflow:hidden; border-radius:999px; background:#e7edf0; }
.analytics-bar-row i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#286c85,#e5a63a); }
.analytics-bar-row b { color:var(--navy); text-align:right; }
.analytics-bar-row small { color:var(--text-muted); }
.analytics-role-list { display:grid; gap:9px; }
.analytics-role-list article { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:10px; align-items:center; padding:10px 0; border-bottom:1px solid var(--border); }
.analytics-role-list article:last-child { border-bottom:0; }
.analytics-role-list strong,.analytics-role-list small { display:block; }
.analytics-role-list small { margin-top:3px; color:var(--text-muted); }
.analytics-role-list article > b { font-size:.76rem; color:var(--navy); }
.analytics-boundary { margin-top:18px; border-top:4px solid #286c85; }
.analytics-boundary .panel-body { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.analytics-boundary .panel-body > div { padding:14px; border:1px solid var(--border); border-radius:12px; background:var(--surface-soft); }
.analytics-boundary p { margin:6px 0 0; color:var(--text-muted); line-height:1.55; }
@media (max-width:900px) { .analytics-layout,.analytics-boundary .panel-body { grid-template-columns:1fr; } }
@media (max-width:540px) { .analytics-bar-row { grid-template-columns:38px minmax(80px,1fr) 30px; } .analytics-bar-row small { display:none; } }

.workspace-choice-modal { width:min(760px,calc(100vw - 28px)); }
.workspace-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.workspace-choice-grid button { display:grid; gap:8px; min-height:180px; padding:22px; border:2px solid var(--border); border-radius:16px; background:var(--surface); color:var(--text); text-align:left; cursor:pointer; transition:.18s ease; }
.workspace-choice-grid button:hover,.workspace-choice-grid button:focus-visible { border-color:#286c85; transform:translateY(-2px); box-shadow:0 14px 30px rgba(24,61,75,.12); }
.workspace-choice-grid button:last-child { background:linear-gradient(145deg,#f0f8fa,#fffaf0); }
.workspace-choice-grid span { width:max-content; padding:5px 8px; border-radius:999px; background:var(--navy); color:white; font-size:.68rem; font-weight:900; letter-spacing:.08em; }
.workspace-choice-grid strong { color:var(--navy); font-size:1.2rem; }
.workspace-choice-grid small { color:var(--text-muted); font-size:.84rem; line-height:1.55; }
@media (max-width:620px) { .workspace-choice-grid { grid-template-columns:1fr; } .workspace-choice-grid button { min-height:135px; } }


/* Required monthly student reviews of instructors */
.instructor-review-list { display:grid; gap:9px; }
.instructor-review-list article { display:grid; grid-template-columns:30px minmax(0,1fr) auto; gap:11px; align-items:center; padding:12px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.instructor-review-list article > span { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#e8edf0; font-weight:850; }
.instructor-review-list article.complete > span { background:#dff4ec; color:#14745d; }
.instructor-review-list article.overdue { border-color:#d98787; background:#fff8f8; }
.instructor-review-list strong, .instructor-review-list small { display:block; }
.instructor-review-list small { margin-top:3px; color:var(--text-muted); }
.survey-mini-score { display:flex; justify-content:space-between; gap:12px; padding:7px 0; border-bottom:1px solid var(--border); font-size:.78rem; }
.survey-mini-score span { color:var(--text-muted); }
@media (max-width:620px) { .instructor-review-list article { grid-template-columns:30px 1fr; } .instructor-review-list .button { grid-column:2; justify-self:start; } }


/* Saved advisory committee meeting reports */
.advisory-builder-grid { display:grid; grid-template-columns:minmax(340px,.9fr) minmax(420px,1.1fr); gap:18px; align-items:start; }
.advisory-report-document { max-width:1100px; margin:0 auto; padding:30px; background:white; border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow); color:var(--text); }
.advisory-report-document > header { display:flex; justify-content:space-between; gap:24px; padding-bottom:20px; border-bottom:3px solid var(--navy); }
.advisory-report-document h1 { margin:6px 0; }
.advisory-document-actions { display:flex; gap:8px; align-items:flex-start; }
.advisory-summary, .advisory-section { margin-top:22px; padding-top:4px; }
.advisory-summary { padding:18px; border-radius:12px; background:#f2f7f7; }
.advisory-summary p, .advisory-section p { line-height:1.65; }
.advisory-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:18px; }
.advisory-metrics article { padding:13px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.advisory-metrics span, .advisory-metrics strong, .advisory-metrics small { display:block; }
.advisory-metrics span { font-size:.7rem; color:var(--text-muted); text-transform:uppercase; font-weight:800; }
.advisory-metrics strong { margin:5px 0; font-size:1.35rem; }
.advisory-finding-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.advisory-finding-grid article, .advisory-review { padding:13px; border:1px solid var(--border); border-radius:10px; }
.advisory-review { display:grid; grid-template-columns:1fr auto; gap:6px 16px; margin-bottom:9px; }
.advisory-review p, .advisory-review blockquote { grid-column:1/-1; }
.advisory-review blockquote { margin:4px 0; padding:9px 12px; border-left:3px solid var(--teal); background:var(--surface-soft); font-size:.8rem; }
.advisory-report-document footer { margin-top:28px; padding-top:14px; border-top:1px solid var(--border); color:var(--text-muted); font-size:.72rem; }
@media (max-width:900px) { .advisory-builder-grid { grid-template-columns:1fr; } .advisory-metrics { grid-template-columns:repeat(2,1fr); } }
@media print {
  body * { visibility:hidden !important; }
  .advisory-report-document, .advisory-report-document * { visibility:visible !important; }
  .advisory-report-document { position:absolute; inset:0; max-width:none; padding:0; border:0; box-shadow:none; }
  .advisory-document-actions, .sidebar, .topbar, .preview-banner { display:none !important; }
  .advisory-section, .advisory-summary, .advisory-review, .advisory-finding-grid article { break-inside:avoid; }
}


/* Accreditation Evidence Center and automated operations queue */
.evidence-center-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; margin-bottom:18px; }
.evidence-map, .action-register, .operations-list { display:grid; gap:9px; }
.evidence-map article { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:10px; align-items:center; padding:11px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.evidence-map article > span { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:#e8edf0; font-weight:850; }
.evidence-map article.complete > span { background:#dff4ec; color:#14745d; }
.evidence-map strong, .evidence-map small { display:block; }
.evidence-map small { margin-top:3px; color:var(--text-muted); }
.action-register article { display:grid; grid-template-columns:1fr 150px; gap:14px; align-items:start; padding:12px; border:1px solid var(--border); border-radius:10px; }
.action-register p { margin:7px 0 0; color:var(--text-muted); }
.operations-list article { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:12px; align-items:center; padding:13px; border:1px solid var(--border); border-left-width:4px; border-radius:10px; }
.operations-list article.critical { border-left-color:#bf3f4c; background:#fff8f8; }
.operations-list article.warning { border-left-color:#d3a635; background:#fffdf5; }
.operations-list article.info { border-left-color:var(--teal); }
.operations-list article > span { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#edf1f2; font-weight:900; }
.operations-list p { margin:4px 0; color:var(--text-muted); }
.operations-list small { text-transform:uppercase; letter-spacing:.04em; font-weight:800; color:var(--text-muted); }
@media (max-width:850px) { .evidence-center-grid { grid-template-columns:1fr; } }
@media (max-width:620px) { .operations-list article { grid-template-columns:34px 1fr; } .operations-list .button { grid-column:2; justify-self:start; } .action-register article { grid-template-columns:1fr; } }

/* Role-based Action Center */
.action-center-heading h1 { letter-spacing:-.04em; }
.action-center-tabs,.calculation-workspace-tabs { display:flex; flex-wrap:wrap; gap:7px; padding:4px; border:1px solid var(--border); border-radius:12px; background:#f4f7f6; }
.action-center-tabs .button,.calculation-workspace-tabs .button { min-height:34px; border-color:transparent; box-shadow:none; }
.action-center-view { display:grid; gap:18px; }
.action-center-panel { border-top:5px solid var(--navy); }
.action-type-strip { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.action-type-strip span { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--border); border-radius:999px; background:#f7faf9; padding:7px 10px; color:var(--text-muted); font-size:11px; font-weight:800; }
.action-type-strip b { color:var(--navy); }
.action-filter-row { display:grid; grid-template-columns:auto auto auto auto minmax(220px,1fr); gap:8px; align-items:center; margin-bottom:14px; }
.action-center-list article { transition:transform .12s ease, box-shadow .12s ease; }
.action-center-list article:hover { transform:translateY(-1px); box-shadow:var(--shadow-soft); }
@media (max-width:760px) { .action-filter-row { grid-template-columns:repeat(2,minmax(0,1fr)); } .action-filter-row input { grid-column:1/-1; } }


/* Guided accreditation evidence records and private attachments */
.evidence-guide-grid, .evidence-record-list { display:grid; gap:12px; }
.evidence-guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.evidence-guide-grid article { padding:14px; border:1px solid var(--border); border-radius:11px; background:var(--surface-soft); }
.evidence-guide-grid article.complete { border-color:#8dcab8; background:#f5fcf9; }
.evidence-guide-head { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:10px; align-items:start; }
.evidence-guide-head > span { display:grid; place-items:center; width:27px; height:27px; border-radius:50%; background:#e7edef; font-weight:900; }
.evidence-guide-head h3 { margin:2px 0 5px; font-size:.96rem; }
.evidence-guide-head p { margin:0; color:var(--text-muted); font-size:.78rem; line-height:1.5; }
.official-form-links { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.official-form-links a { padding:6px 9px; border-radius:8px; background:white; border:1px solid var(--border); color:var(--teal); text-decoration:none; font-size:.72rem; font-weight:800; }
.evidence-add-panel { margin:18px 0; overflow:hidden; }
.evidence-add-panel > summary { display:flex; justify-content:space-between; align-items:center; padding:16px 18px; cursor:pointer; list-style:none; }
.evidence-add-panel > summary span span, .evidence-add-panel > summary strong, .evidence-add-panel > summary small { display:block; }
.evidence-add-panel > summary small { margin-top:4px; color:var(--text-muted); font-weight:400; }
.evidence-record-card { padding:16px; border:1px solid var(--border); border-radius:12px; background:var(--surface); }
.evidence-record-card > header { display:flex; justify-content:space-between; gap:16px; }
.evidence-record-card h3 { margin:5px 0; }
.evidence-record-card header p { margin:0; color:var(--text-muted); line-height:1.55; }
.evidence-record-meta { display:flex; flex-wrap:wrap; gap:8px 16px; margin:12px 0; padding:10px; border-radius:9px; background:var(--surface-soft); font-size:.75rem; }
.evidence-files { display:grid; gap:7px; margin-top:10px; }
.evidence-file { display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:9px; align-items:center; width:100%; padding:9px; border:1px solid var(--border); border-radius:9px; background:white; text-align:left; cursor:pointer; }
.evidence-file span small { display:block; color:var(--text-muted); margin-top:2px; }
.evidence-file b { color:var(--teal); font-size:.72rem; }
.evidence-upload-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:9px; align-items:center; margin-top:10px; }
.evidence-upload-row small { color:var(--text-muted); }
@media (max-width:800px) { .evidence-guide-grid { grid-template-columns:1fr; } }
@media (max-width:620px) { .evidence-guide-head { grid-template-columns:28px 1fr; } .evidence-guide-head .badge { grid-column:2; justify-self:start; } .evidence-upload-row { grid-template-columns:1fr; } }

/* Accreditation evidence guide visual board */
.evidence-guide-panel { overflow:hidden; border-top:5px solid #8b6f3e; background:linear-gradient(180deg,#fff 0%,#fbf8f0 100%); }
.evidence-guide-panel > .panel-header { border-bottom:1px solid #eadfca; background:linear-gradient(90deg,#fff6df 0%,#fff 78%); }
.evidence-guide-panel .panel-header h2::before { content:'▥'; display:inline-grid; width:30px; height:30px; margin-right:9px; place-items:center; border-radius:9px; background:#8b6f3e; color:white; font-size:14px; vertical-align:middle; }
.evidence-guide-grid { gap:16px; counter-reset:evidenceGuide; }
.evidence-guide-grid article { position:relative; overflow:hidden; min-height:205px; padding:0; border:1px solid #e4d8c1; border-top:4px solid #8b6f3e; border-radius:14px; background:white; box-shadow:0 12px 30px rgba(55,45,28,.06); counter-increment:evidenceGuide; }
.evidence-guide-grid article::before { content:'Area ' counter(evidenceGuide); position:absolute; right:14px; top:13px; z-index:2; padding:4px 8px; border-radius:999px; background:#fff6df; color:#7a5d27; font-size:8px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.evidence-guide-grid article::after { content:''; position:absolute; right:-38px; bottom:-46px; width:120px; height:120px; border-radius:50%; background:rgba(139,111,62,.08); pointer-events:none; }
.evidence-guide-grid article.complete { border-color:#b8ddd7; border-top-color:var(--teal); background:linear-gradient(180deg,#fff 0%,#f4fbf9 100%); }
.evidence-guide-grid article.complete::before { background:#e9f8f5; color:var(--teal-dark); }
.evidence-guide-head { min-height:138px; padding:18px 98px 14px 18px; border-bottom:1px solid #eee3cf; background:linear-gradient(135deg,#fffdfa 0%,#fff 100%); }
.evidence-guide-grid article.complete .evidence-guide-head { border-bottom-color:#d2e9e4; background:linear-gradient(135deg,#f1faf7 0%,#fff 100%); }
.evidence-guide-head > span { width:34px; height:34px; color:white; background:#8b6f3e; box-shadow:0 8px 16px rgba(139,111,62,.18); font-size:9px; text-transform:uppercase; }
.evidence-guide-grid article.complete .evidence-guide-head > span { background:var(--teal); }
.evidence-guide-head h3 { margin:0 0 7px; color:var(--navy); font-size:1.05rem; line-height:1.25; }
.evidence-guide-head p { max-width:760px; color:#667071; font-size:.82rem; }
.evidence-guide-head .badge { justify-self:end; margin-top:2px; }
.evidence-guide-grid article .official-form-links { position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0; padding:14px 18px 18px; background:rgba(255,255,255,.72); }
.evidence-guide-grid article .official-form-links::before { content:'Official source links'; grid-column:1 / -1; color:#8b6f3e; font-size:9px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.evidence-guide-grid article.complete .official-form-links::before { color:var(--teal-dark); }
.evidence-guide-grid article .official-form-links a { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 11px; border-color:#eadfca; border-radius:10px; background:#fffdf8; color:#77591e; box-shadow:0 7px 16px rgba(55,45,28,.045); }
.evidence-guide-grid article.complete .official-form-links a { border-color:#c9e3df; background:#f7fcfb; color:var(--teal-dark); }
.evidence-guide-grid article .official-form-links a:hover { border-color:#8b6f3e; transform:translateY(-1px); }
@media (max-width:760px) {
  .evidence-guide-head { grid-template-columns:34px 1fr; padding-right:18px; }
  .evidence-guide-head .badge { grid-column:2; justify-self:start; }
  .evidence-guide-grid article::before { position:static; display:inline-block; margin:14px 0 -6px 18px; }
  .evidence-guide-grid article .official-form-links { grid-template-columns:1fr; }
}

/* Platform-owner core grading governance */
.core-grading-heading { background:radial-gradient(circle at 88% 8%,rgba(31,143,135,.22),transparent 15rem),radial-gradient(circle at 65% 120%,rgba(89,103,216,.20),transparent 18rem),linear-gradient(135deg,#fff,#eefaf7 58%,#f1f4ff); }
.core-grading-layout { display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.8fr);gap:18px;align-items:start; }
.core-live-toggle { padding:14px;border:1px solid rgba(31,143,135,.3);border-radius:14px;background:#eefaf7;font-weight:800; }
.core-anchor-grid { display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0; }
.core-anchor-grid label { display:grid;gap:7px; }
.core-anchor-grid label span { color:var(--navy);font-weight:800; }
.core-anchor-grid label b { display:inline-grid;place-items:center;width:28px;height:28px;margin-right:5px;border-radius:9px;background:#5967d8;color:#fff; }
.core-anchor-grid textarea { min-height:115px; }
.core-comparison-result { margin-top:18px;border-top:5px solid #1f8f87; }
.core-score-delta { display:inline-flex;align-items:center;justify-content:center;min-width:48px;padding:6px 10px;border-radius:999px;font-weight:900; }
.core-score-delta.up { color:#0b6b55;background:#daf5eb; }
.core-score-delta.down { color:#9b2c2c;background:#fee2e2; }
.core-score-delta.same { color:#52606d;background:#edf1f5; }
.core-preview-grid { display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0; }
.core-preview-grid article { padding:16px;border:1px solid var(--border);border-radius:15px;background:linear-gradient(145deg,#fff,#f6f8fb); }
.core-preview-grid article strong,.core-preview-grid article p { display:block;margin:0; }
.core-preview-grid article b { display:block;margin:6px 0;color:var(--navy);font-size:28px; }
.core-preview-grid article p { color:var(--text-muted);font-size:12px;line-height:1.5; }
.core-full-report-heading { margin:24px 0 12px;padding-top:20px;border-top:1px solid var(--border); }
.core-full-report-heading h3,.core-full-report-heading p { margin:3px 0; }
.core-full-report-heading p { color:var(--text-muted); }
.core-report-comparison { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;margin:14px 0 22px; }
.core-report-column { overflow:hidden;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(30,58,95,.08); }
.core-report-column.saved { border-top:6px solid #5967d8; }
.core-report-column.preview { border-top:6px solid #1f8f87; }
.core-report-column-head { display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px;background:linear-gradient(145deg,#fff,#f5f7fb); }
.core-report-column.saved .core-report-column-head { background:linear-gradient(145deg,#fff,#f1f3ff); }
.core-report-column.preview .core-report-column-head { background:linear-gradient(145deg,#fff,#eaf9f5); }
.core-report-column-head h3 { margin:4px 0 2px;color:var(--navy);font-size:29px; }
.core-report-column-head p { margin:0;color:var(--text-muted);font-size:12px;font-weight:800; }
.core-report-confidence { display:grid;min-width:92px;text-align:right; }
.core-report-confidence b { color:var(--navy);font-size:24px;line-height:1; }
.core-report-confidence span { margin-top:5px;color:var(--text-muted);font-size:10px;font-weight:800;text-transform:uppercase; }
.core-report-section { padding:17px 18px;border-top:1px solid var(--border); }
.core-report-section>h4,.core-report-guidance h4 { margin:0 0 9px;color:var(--navy);font-size:14px; }
.core-report-section>p,.core-report-guidance p { margin:0;color:var(--text-muted);font-size:12px;line-height:1.55; }
.core-confidence-rationale { margin-top:10px!important;padding:10px;border-radius:10px;background:#f5f7fb; }
.core-report-domains { display:grid;gap:12px; }
.core-report-domain { overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#fff; }
.core-report-domain-head { display:flex;justify-content:space-between;gap:12px;padding:11px 12px;background:#eef2f7;color:var(--navy); }
.core-report-domain-head span { padding:2px 8px;border-radius:999px;background:#fff;font-weight:900;white-space:nowrap; }
.core-report-rationale { margin:0;padding:11px 12px;color:var(--text-muted);font-size:12px;line-height:1.5; }
.core-report-evidence-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 10px 10px; }
.core-report-evidence-grid section { min-width:0;padding:9px;border-radius:10px;background:#edf8f4;border:1px solid #cce9de; }
.core-report-evidence-grid section.not-observed { background:#fff8e8;border-color:#f1d795; }
.core-report-evidence-grid section.not-confirmed { background:#fff1f1;border-color:#f0caca; }
.core-report-evidence-grid b { display:block;margin-bottom:5px;color:var(--navy);font-size:10px;text-transform:uppercase; }
.core-report-list { margin:0;padding-left:16px;color:#37485d;font-size:10px;line-height:1.45; }
.core-report-list li+li { margin-top:4px; }
.core-report-list li.empty { color:var(--text-muted);font-style:italic; }
.core-critical-rows { display:grid;gap:8px; }
.core-critical-row { display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:10px;border-radius:11px;background:#f5f7fb; }
.core-critical-row strong { color:var(--navy);font-size:11px; }
.core-critical-row p { margin:3px 0 0;color:var(--text-muted);font-size:10px;line-height:1.4; }
.core-critical-row .status-badge { flex:none;font-size:9px; }
.core-report-guidance { display:grid;gap:12px; }
.core-report-guidance>div { padding:11px;border-radius:12px;background:#f5f7fb; }
.core-report-guidance .core-report-list { font-size:12px; }
.core-history-panel { margin-top:18px;border-top:5px solid #5967d8; }
.core-history-legend { display:flex;gap:14px;align-items:center;color:var(--text-muted);font-size:11px;font-weight:800; }
.core-history-legend span::before { content:"";display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px;background:#5967d8; }
.core-history-legend span.preview::before { background:#1f8f87; }
.core-history-legend span.faculty::before { background:#d8872f; }
.core-history-summary { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px; }
.core-history-summary article { padding:13px;border:1px solid var(--border);border-radius:13px;background:#f5f7fb; }
.core-history-summary span { display:block;color:var(--text-muted);font-size:10px;font-weight:800;text-transform:uppercase; }
.core-history-summary b { display:block;margin-top:4px;color:var(--navy);font-size:24px; }
.core-history-summary article.up { background:#e9f8f2;border-color:#c6eadd; }
.core-history-summary article.down { background:#fff0f0;border-color:#f1cccc; }
.core-history-summary article.faculty { background:#fff6e8;border-color:#efd2a6; }
.core-history-filters { display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;margin-bottom:15px;padding:14px;border:1px solid var(--border);border-radius:14px;background:#f7f9fc; }
.core-history-filters .core-history-search{grid-column:1/-1}
.core-history-filters label,.core-history-selection label { display:grid;gap:5px;color:var(--navy);font-size:10px;font-weight:850;text-transform:uppercase; }
.core-history-selection { display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:end;margin:0 0 14px;padding:13px;border:1px solid rgba(89,103,216,.25);border-radius:14px;background:#f2f4ff; }
.core-history-selection>div { display:flex;flex-wrap:wrap;gap:8px;align-items:center; }
.core-history-selection strong { color:var(--navy);font-size:12px; }
.core-history-selection label { min-width:250px; }
.core-history-chart { display:grid;gap:9px;max-height:620px;overflow:auto;padding:4px 6px 4px 2px; }
.core-history-row { display:grid;grid-template-columns:28px minmax(185px,.8fr) minmax(280px,1.8fr) 56px;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:#fff; }
.core-history-check { display:grid;place-items:center;margin:0; }
.core-history-check input { width:18px;height:18px;accent-color:#5967d8; }
.sr-only { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.core-history-label { min-width:0; }
.core-history-label strong,.core-history-label span { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.core-history-label strong { color:var(--navy);font-size:12px; }
.core-history-label span { margin-top:3px;color:var(--text-muted);font-size:9px;text-transform:uppercase; }
.core-history-bars { display:grid;gap:5px; }
.core-history-bar { position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) 24px;gap:7px;align-items:center;color:var(--text-muted);font-size:9px;font-weight:900;text-transform:uppercase; }
.core-history-bar::after { content:"";position:absolute;z-index:0;left:37px;right:31px;height:8px;border-radius:999px;background:#edf1f5; }
.core-history-bar i { z-index:1;height:8px;border-radius:999px;background:#5967d8; }
.core-history-bar.preview i { background:#1f8f87; }
.core-history-bar.faculty i { background:#d8872f; }
.core-history-bar span,.core-history-bar b { z-index:1; }
.core-history-bar b { color:var(--navy);font-size:11px; }
.core-evidence-json { max-height:440px;overflow:auto;white-space:pre-wrap;padding:14px;border-radius:12px;background:#132238;color:#e8f2ff;font-size:11px;line-height:1.5; }
@media (max-width:1050px){.core-report-comparison{grid-template-columns:1fr}}
@media (max-width:1100px){.core-history-filters{grid-template-columns:repeat(3,1fr)}}
@media (max-width:980px){.core-grading-layout{grid-template-columns:1fr}.core-anchor-grid{grid-template-columns:1fr}.core-preview-grid{grid-template-columns:1fr}}
@media (max-width:760px){.core-history-summary{grid-template-columns:repeat(2,1fr)}.core-history-filters{grid-template-columns:1fr 1fr}.core-history-selection{align-items:stretch}.core-history-selection label{min-width:0;flex:1}.core-history-row{grid-template-columns:28px 1fr 56px}.core-history-label{grid-column:2}.core-history-bars{grid-column:2/-1;grid-row:2}.core-history-row>.core-score-delta{grid-column:3;grid-row:1}.core-history-legend{width:100%;justify-content:flex-start}}
@media (max-width:520px){.core-history-filters{grid-template-columns:1fr}.core-history-selection{display:grid}.core-history-selection>div{display:grid;grid-template-columns:1fr 1fr}.core-history-selection strong{grid-column:1/-1}}
@media (max-width:620px){.core-report-evidence-grid{grid-template-columns:1fr}.core-report-column-head{align-items:stretch}.core-report-confidence{text-align:left}}

/* Private platform-owner simulation sound library */
.sound-library-heading { background:radial-gradient(circle at 88% 12%,rgba(89,103,216,.20),transparent 15rem),radial-gradient(circle at 70% 110%,rgba(229,138,74,.24),transparent 18rem),linear-gradient(135deg,#fff,#f1f4ff 56%,#eefaf7); }
.sound-library-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:16px; }
.sound-library-card { display:grid; gap:16px; border:1px solid rgba(89,103,216,.22); border-top:5px solid #5967d8; border-radius:20px; background:linear-gradient(145deg,#fff,#f5f6ff 62%,#eefaf7); padding:18px; box-shadow:0 15px 34px rgba(30,58,95,.09); }
.sound-library-card-top { display:grid; grid-template-columns:46px minmax(0,1fr); gap:12px; align-items:start; }
.sound-library-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:15px; color:#fff; background:linear-gradient(135deg,#5967d8,#1f8f87); font-size:22px; font-weight:900; box-shadow:0 9px 20px rgba(89,103,216,.22); }
.sound-library-card h2 { margin:2px 0 5px; color:var(--navy); font-size:18px; }
.sound-library-card p { margin:0; color:var(--text-muted); font-size:12px; line-height:1.5; }
.sound-library-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.sound-library-actions .playing { border-color:#d85f66; background:linear-gradient(135deg,#e58a4a,#d85f66); animation:patient-sound-pulse .8s ease-in-out infinite alternate; }
.sound-library-shortcut { color:var(--text-muted); font-size:11px; }
.sound-library-shortcut strong { color:#5967d8; }
.sound-library-card > label { display:grid; gap:6px; margin:0; color:var(--navy); font-size:11px; font-weight:850; }
.sound-library-card select { width:100%; }
@keyframes patient-sound-pulse { from { box-shadow:0 0 0 0 rgba(229,138,74,.25); } to { box-shadow:0 0 0 7px rgba(229,138,74,0); } }
@media (max-width:560px) { .sound-library-grid { grid-template-columns:1fr; } }


/* Enterprise bulk workflows and expert AI validation */
.bulk-cohort-panel { margin:18px 0; }
.bulk-cohort-panel > summary { display:flex; justify-content:space-between; padding:16px 18px; cursor:pointer; list-style:none; }
.bulk-cohort-panel summary span span, .bulk-cohort-panel summary strong, .bulk-cohort-panel summary small { display:block; }
.bulk-cohort-panel summary small { margin-top:4px; color:var(--text-muted); font-weight:400; }
.validation-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:18px; align-items:start; }
.validation-score-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:14px 0; }
.validation-case-list { display:grid; gap:10px; }
.validation-case-list article { display:grid; grid-template-columns:1fr auto; gap:16px; padding:13px; border:1px solid var(--border); border-radius:10px; }
.validation-case-list small, .validation-case-list b, .validation-case-list span { display:block; }
.validation-case-list small, .validation-case-list span { color:var(--text-muted); }
.validation-case-list p { margin:7px 0 0; }
@media (max-width:800px) { .validation-grid { grid-template-columns:1fr; } }
@media (max-width:580px) { .validation-score-grid { grid-template-columns:1fr; } .validation-case-list article { grid-template-columns:1fr; } }


/* Official-language Resource Assessment and Annual Report wizard */
.official-survey-list { display:grid; gap:10px; margin-bottom:18px; }
.official-survey-list fieldset { margin:0; padding:13px; border:1px solid var(--border); border-radius:10px; background:var(--surface-soft); }
.official-survey-list legend { display:grid; grid-template-columns:28px minmax(0,1fr); gap:9px; width:100%; padding:0; }
.official-survey-list legend > span { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--navy); color:white; font-weight:850; font-size:.72rem; }
.official-survey-list legend small, .official-survey-list legend strong { display:block; }
.official-survey-list legend small { color:var(--text-muted); margin-bottom:3px; }
.survey-choice-row { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 0 37px; }
.survey-choice-row label { display:flex; align-items:center; gap:6px; padding:7px 11px; border:1px solid var(--border); border-radius:8px; background:white; font-weight:750; }
.template-import-panel { margin:18px 0; }
.template-import-panel > summary { display:flex; justify-content:space-between; padding:16px 18px; cursor:pointer; list-style:none; }
.template-import-panel summary span span, .template-import-panel summary strong, .template-import-panel summary small { display:block; }
.template-import-panel summary small { margin-top:4px; color:var(--text-muted); font-weight:400; }
.ram-report-stack { display:grid; gap:18px; }
.annual-outcome-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:start; }
.outcome-preview { display:flex; align-items:center; gap:12px; margin:12px 0; padding:12px; border-radius:10px; background:var(--surface-soft); }
.outcome-preview strong { font-size:1.5rem; color:var(--teal); }
.outcome-preview span { color:var(--text-muted); font-size:.78rem; }
@media (max-width:1050px) { .annual-outcome-grid { grid-template-columns:1fr; } }
@media (max-width:600px) { .survey-choice-row { margin-left:0; } }


/* Guided CoAEMSP Annual Report workflow */
.annual-wizard-overview { padding:22px; display:grid; grid-template-columns:minmax(240px,1fr) minmax(220px,.8fr); align-items:center; gap:24px; }
.annual-wizard-overview h2 { margin:4px 0; }
.annual-progress { height:12px; overflow:hidden; border-radius:999px; background:#e6ecec; box-shadow:inset 0 1px 2px rgba(0,0,0,.08); }
.annual-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--teal),#73c9be); transition:width .25s ease; }
.official-paperwork .official-form-links { padding:0 22px 22px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.official-paperwork .official-form-links a, .annual-guidance a { padding:12px 14px; border:1px solid var(--border); border-radius:10px; background:#f7fbfb; color:var(--teal-dark); font-weight:700; text-decoration:none; }
.annual-wizard-steps { display:grid; gap:14px; }
.annual-wizard-step { overflow:hidden; }
.annual-wizard-step > summary { display:flex; align-items:center; gap:14px; padding:18px 22px; cursor:pointer; list-style:none; }
.annual-wizard-step > summary::-webkit-details-marker { display:none; }
.annual-wizard-step > summary > span:nth-child(2) { display:grid; flex:1; }
.annual-wizard-step > summary strong { font-size:17px; }
.annual-wizard-step > summary small { color:var(--muted); margin-top:3px; }
.annual-step-number { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; flex:0 0 auto; background:var(--navy); color:white; font-weight:800; }
.annual-wizard-step[open] > summary { border-bottom:1px solid var(--border); background:#fbfdfd; }
.annual-guidance { margin-bottom:18px; padding:14px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-radius:10px; background:#eef8f7; }
.annual-guidance p { margin:0; max-width:680px; }
.annual-guidance a { flex:0 0 auto; background:white; }
.annual-outcome-form label small { display:block; margin-top:5px; color:var(--muted); font-weight:400; line-height:1.35; }
.wizard-save-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.wizard-save-row span { color:var(--muted); font-size:12px; }
.annual-attachments { padding:18px 22px 22px; border-top:1px solid var(--border); background:#fbfdfd; }
.annual-attachments .panel-header { padding:0 0 12px; }
@media (max-width:760px) {
  .annual-wizard-overview { grid-template-columns:1fr; }
  .official-paperwork .official-form-links { grid-template-columns:1fr; }
  .annual-guidance { align-items:flex-start; flex-direction:column; }
}

/* Accreditation command center: crosswalk, binder, mock review */
.accreditation-visual-hero { position:relative; overflow:hidden; display:grid; grid-template-columns:150px minmax(260px,.85fr) minmax(340px,1.15fr); gap:20px; align-items:center; padding:24px; border-color:#b8ddd7; background:linear-gradient(135deg,#f4fbf9 0%,#fff 58%,#eef6f4 100%); }
.accreditation-visual-hero::before { content:''; position:absolute; inset:auto -60px -120px auto; width:260px; height:260px; border-radius:50%; background:rgba(31,143,135,.09); }
.readiness-orb { position:relative; z-index:1; display:grid; place-items:center; width:128px; height:128px; border-radius:50%; background:conic-gradient(var(--teal) calc(var(--value) * 1%), #e2ecea 0); box-shadow:0 18px 40px rgba(13,39,50,.12); }
.readiness-orb::after { content:''; position:absolute; inset:12px; border-radius:50%; background:white; box-shadow:inset 0 1px 2px rgba(0,0,0,.06); }
.readiness-orb span,.readiness-orb small { position:relative; z-index:1; display:block; text-align:center; }
.readiness-orb span { color:var(--navy); font-size:31px; font-weight:900; line-height:1; }
.readiness-orb small { width:76px; margin-top:5px; color:var(--text-muted); font-size:9px; font-weight:800; line-height:1.2; text-transform:uppercase; letter-spacing:.04em; }
.accreditation-visual-hero.action .readiness-orb { background:conic-gradient(#b85f3a calc(var(--value) * 1%), #eee4df 0); }
.accreditation-visual-hero.watch .readiness-orb { background:conic-gradient(#c5942e calc(var(--value) * 1%), #eee8d8 0); }
.readiness-story { position:relative; z-index:1; }
.readiness-story h2 { margin:4px 0 8px; color:var(--navy); font-size:clamp(22px,2vw,30px); }
.readiness-story p { margin:0; color:var(--text-muted); line-height:1.55; }
.readiness-highlights { display:flex; flex-wrap:wrap; gap:7px; margin-top:14px; }
.readiness-highlights span { padding:6px 9px; border:1px solid rgba(31,143,135,.24); border-radius:999px; background:white; color:var(--teal-dark); font-size:10px; font-weight:850; }
.accreditation-journey { position:relative; z-index:1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.accreditation-journey article { min-height:118px; padding:13px; border:1px solid var(--border); border-radius:13px; background:rgba(255,255,255,.92); box-shadow:0 10px 25px rgba(13,39,50,.06); }
.accreditation-journey article > span { display:grid; width:30px; height:30px; place-items:center; margin-bottom:10px; border-radius:50%; background:var(--navy); color:white; font-size:12px; font-weight:900; }
.accreditation-journey article.ready > span { background:var(--teal); }
.accreditation-journey article.watch > span { background:#c5942e; }
.accreditation-journey article.action > span { background:#b85f3a; }
.accreditation-journey strong,.accreditation-journey b,.accreditation-journey small { display:block; }
.accreditation-journey strong { color:var(--navy); font-size:12px; }
.accreditation-journey b { margin-top:7px; color:var(--teal-dark); font-size:19px; }
.accreditation-journey small { margin-top:2px; color:var(--text-muted); font-size:9px; line-height:1.25; }
.standard-crosswalk-list { display:grid; gap:14px; }
.standard-crosswalk-card { padding:16px; border:1px solid var(--border); border-left-width:5px; border-radius:13px; background:white; }
.standard-crosswalk-card.complete { border-left-color:var(--teal); }
.standard-crosswalk-card.in-progress { border-left-color:#c5942e; }
.standard-crosswalk-card.needs-action,.standard-crosswalk-card.missing { border-left-color:#b85f3a; }
.standard-crosswalk-card header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.standard-crosswalk-card h3 { margin:4px 0 6px; color:var(--navy); }
.standard-crosswalk-card p { margin:0; color:var(--text-muted); line-height:1.45; }
.crosswalk-columns { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0; }
.crosswalk-columns > div { padding:13px; border-radius:10px; background:var(--surface-soft); }
.crosswalk-columns strong,.binder-contents strong,.mock-review-summary strong { display:block; color:var(--navy); }
.crosswalk-columns ul,.binder-contents ul,.mock-review-summary ul,.mock-review-body ul { margin:8px 0 0; padding-left:18px; color:var(--text-muted); }
.binder-readiness { display:grid; grid-template-columns:220px minmax(0,1fr); gap:16px; align-items:start; }
.binder-readiness > div:first-child { padding:20px; border-radius:14px; background:linear-gradient(145deg,#eef8f6,#fff); border:1px solid #b8ddd7; }
.binder-readiness > div:first-child strong { display:block; color:var(--teal-dark); font-size:42px; line-height:1; }
.binder-readiness > div:first-child span { display:block; margin-top:8px; color:var(--navy); font-weight:850; }
.binder-readiness > div:first-child small { display:block; margin-top:8px; color:var(--text-muted); line-height:1.45; }
.binder-section-list { display:grid; gap:9px; }
.binder-section-list article { display:grid; grid-template-columns:105px minmax(0,1fr); gap:10px; align-items:start; padding:12px; border:1px solid var(--border); border-radius:10px; background:white; }
.binder-section-list article.complete { background:#f3fbf8; border-color:#b8ddd7; }
.binder-section-list article.needs-action { background:#fff8f4; border-color:#e7c3aa; }
.binder-section-list p { margin:4px 0 0; color:var(--text-muted); }
.binder-contents { margin-top:16px; padding:15px; border-radius:11px; background:var(--surface-soft); }
.mock-review-summary { display:grid; grid-template-columns:220px minmax(0,1fr); gap:16px; margin-bottom:16px; }
.mock-review-summary > div { padding:16px; border:1px solid var(--border); border-radius:12px; background:white; }
.mock-review-summary > div:first-child strong { color:var(--teal-dark); font-size:42px; line-height:1; }
.mock-review-summary > div:first-child span { display:block; margin-top:8px; color:var(--navy); font-weight:850; }
.mock-review-list { display:grid; gap:10px; }
.mock-review-question { overflow:hidden; border:1px solid var(--border); border-radius:12px; background:white; }
.mock-review-question.complete { border-left:5px solid var(--teal); }
.mock-review-question.in-progress { border-left:5px solid #c5942e; }
.mock-review-question.needs-action,.mock-review-question.missing { border-left:5px solid #b85f3a; }
.mock-review-question summary { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:12px; align-items:center; padding:14px; cursor:pointer; list-style:none; }
.mock-review-question summary::-webkit-details-marker { display:none; }
.mock-review-question summary > span { display:grid; width:30px; height:30px; place-items:center; border-radius:50%; background:var(--navy); color:white; font-weight:850; }
.mock-review-question summary strong,.mock-review-question summary small { display:block; }
.mock-review-question summary small { margin-top:3px; color:var(--text-muted); }
.mock-review-body { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; padding:0 14px 14px 60px; }
.mock-review-body > div { padding:13px; border-radius:10px; background:var(--surface-soft); }
.mock-review-body h4 { margin:0 0 7px; color:var(--navy); }
.mock-review-body p { margin:0; color:var(--text-muted); line-height:1.45; }

/* Stronger visual distinction inside accreditation review tools */
.standards-crosswalk-panel { border-top:5px solid var(--teal); background:linear-gradient(180deg,#ffffff 0%,#f7fbfa 100%); }
.standards-crosswalk-panel > .panel-header { border-bottom:1px solid #cfe6e2; background:linear-gradient(90deg,#edf8f5 0%,#fff 78%); }
.mock-review-panel { border-top:5px solid #395b84; background:linear-gradient(180deg,#ffffff 0%,#f6f8fb 100%); }
.mock-review-panel > .panel-header { border-bottom:1px solid #d6dfed; background:linear-gradient(90deg,#eef3fa 0%,#fff 78%); }
.standard-crosswalk-card { position:relative; overflow:hidden; padding:0; box-shadow:0 10px 28px rgba(13,39,50,.055); }
.standard-crosswalk-card::before { content:'Evidence map'; position:absolute; top:12px; right:12px; z-index:1; padding:4px 8px; border-radius:999px; background:rgba(31,143,135,.1); color:var(--teal-dark); font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.standard-crosswalk-card header { padding:18px 108px 15px 18px; border-bottom:1px solid var(--border); background:linear-gradient(90deg,#fbfdfd 0%,#fff 100%); }
.standard-crosswalk-card.complete header { background:linear-gradient(90deg,#effaf7 0%,#fff 100%); }
.standard-crosswalk-card.in-progress header { background:linear-gradient(90deg,#fff9e9 0%,#fff 100%); }
.standard-crosswalk-card.needs-action header,.standard-crosswalk-card.missing header { background:linear-gradient(90deg,#fff4ef 0%,#fff 100%); }
.standard-crosswalk-card .official-form-links { padding:0 18px 18px; }
.standard-crosswalk-card .official-form-links a { border-color:#c9e3df; background:white; box-shadow:0 6px 14px rgba(13,39,50,.035); }
.crosswalk-columns { margin:16px 18px; }
.crosswalk-columns > div { position:relative; min-height:112px; padding:16px 15px 15px 46px; border:1px solid var(--border); background:white; }
.crosswalk-columns > div::before { position:absolute; left:14px; top:15px; display:grid; width:22px; height:22px; place-items:center; border-radius:50%; color:white; font-size:11px; font-weight:900; }
.crosswalk-columns > div:first-child { border-color:#b8ddd7; background:linear-gradient(145deg,#f0faf8 0%,#fff 92%); }
.crosswalk-columns > div:first-child::before { content:'✓'; background:var(--teal); }
.crosswalk-columns > div:nth-child(2) { border-color:#ecc6ae; background:linear-gradient(145deg,#fff7f3 0%,#fff 92%); }
.crosswalk-columns > div:nth-child(2)::before { content:'!'; background:#b85f3a; }
.crosswalk-columns > div:first-child strong { color:var(--teal-dark); }
.crosswalk-columns > div:nth-child(2) strong { color:#8f4527; }
.crosswalk-columns li { margin-bottom:5px; line-height:1.35; }
.mock-review-summary > div:first-child { border-color:#bfd0e7; background:linear-gradient(145deg,#eef3fa,#fff); }
.mock-review-summary > div:nth-child(2) { border-color:#e4c9b7; background:linear-gradient(145deg,#fff8f4,#fff); }
.mock-review-question { box-shadow:0 10px 28px rgba(13,39,50,.055); }
.mock-review-question[open] { border-color:#bfd0e7; }
.mock-review-question[open] summary { border-bottom:1px solid #dce5f1; background:linear-gradient(90deg,#f2f6fb,#fff); }
.mock-review-question summary > span { background:#395b84; box-shadow:0 7px 16px rgba(57,91,132,.2); }
.mock-review-question.complete summary > span { background:var(--teal); }
.mock-review-question.needs-action summary > span,.mock-review-question.missing summary > span { background:#b85f3a; }
.mock-review-body > div { border:1px solid var(--border); box-shadow:inset 0 1px 0 rgba(255,255,255,.55); }
.mock-review-body > div:nth-child(1) { border-color:#bfd0e7; background:linear-gradient(145deg,#f3f7fd,#fff); }
.mock-review-body > div:nth-child(2) { border-color:#b8ddd7; background:linear-gradient(145deg,#f0faf8,#fff); }
.mock-review-body > div:nth-child(3) { border-color:#ecc6ae; background:linear-gradient(145deg,#fff7f3,#fff); }
.mock-review-body h4 { display:flex; align-items:center; gap:7px; }
.mock-review-body h4::before { display:grid; width:22px; height:22px; place-items:center; border-radius:7px; color:white; font-size:10px; font-weight:900; }
.mock-review-body > div:nth-child(1) h4::before { content:'A'; background:#395b84; }
.mock-review-body > div:nth-child(2) h4::before { content:'E'; background:var(--teal); }
.mock-review-body > div:nth-child(3) h4::before { content:'!'; background:#b85f3a; }
@media (max-width:900px) {
  .accreditation-visual-hero { grid-template-columns:1fr; }
  .readiness-orb { margin:auto; }
  .accreditation-journey { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .crosswalk-columns,.binder-readiness,.mock-review-summary,.mock-review-body { grid-template-columns:1fr; }
  .mock-review-body { padding-left:14px; }
}
@media (max-width:620px) {
  .accreditation-visual-hero { padding:18px; }
  .accreditation-journey { grid-template-columns:1fr; }
  .standard-crosswalk-card header,.binder-section-list article { grid-template-columns:1fr; display:grid; }
  .mock-review-question summary { grid-template-columns:30px minmax(0,1fr); }
  .mock-review-question summary .badge { grid-column:2; justify-self:start; }
}


/* Resource survey separation and leadership workspace */
.nav-group > summary small { margin-left:auto; border:1px solid currentColor; border-radius:999px; padding:2px 6px; font-size:7px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.nav-group > summary small + .nav-chevron { margin-left:0; }
.resource-leadership-grid { display:grid; grid-template-columns:minmax(280px,.85fr) minmax(340px,1.15fr); gap:16px; align-items:start; }
.simple-workflow { list-style:none; padding:0; margin:0; display:grid; gap:14px; counter-reset:resource-step; }
.simple-workflow li { display:grid; grid-template-columns:88px 1fr; gap:12px; align-items:start; padding-bottom:14px; border-bottom:1px solid var(--border); }
.simple-workflow li:last-child { border-bottom:0; padding-bottom:0; }
.simple-workflow strong { color:var(--navy); }
.simple-workflow span { color:var(--muted); line-height:1.45; }
.resource-results-heading { margin:28px 0 12px; }
.resource-results-heading h2 { margin:3px 0; }
.resource-results-heading p { margin:0; color:var(--muted); }
.leadership-response-panel { margin-top:18px; }
.leadership-response-panel > summary { padding:18px 22px; cursor:pointer; }
.leadership-response-panel .resource-survey-card { margin:0; border:0; border-top:1px solid var(--border); border-radius:0; box-shadow:none; }
.comment-details { margin-top:16px; }
@media (max-width:850px) { .resource-leadership-grid { grid-template-columns:1fr; } }


/* Login value story refresh */
.story-copy { align-self:center; width:100%; margin:auto 0; }
.story-copy .hero-kicker { display:inline-flex; align-items:center; gap:10px; width:max-content; max-width:100%; margin:0; padding:10px 14px; border:1px solid rgba(120,208,199,.34); border-radius:999px; background:linear-gradient(135deg,rgba(120,208,199,.18),rgba(255,255,255,.06)); color:#dff8f5; box-shadow:0 14px 34px rgba(0,0,0,.12); font-size:16px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.story-copy .hero-kicker::before { content:''; display:block; width:9px; height:9px; border-radius:50%; background:#78d0c7; box-shadow:0 0 0 5px rgba(120,208,199,.14); }
.headline-accent { display:inline-block; color:#fff2dd; text-shadow:0 0 34px rgba(239,120,95,.42); }
.story-message { display:grid; gap:18px; max-width:740px; }
.story-copy .story-lead { margin:0; max-width:none; padding:20px 22px; border:1px solid rgba(120,208,199,.32); border-left:5px solid #78d0c7; border-radius:18px; background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(120,208,199,.08)); color:#f1fbfc; box-shadow:0 18px 40px rgba(0,0,0,.14); font-size:18px; line-height:1.64; }
.story-copy .story-secondary { display:grid; gap:7px; margin:0; max-width:none; padding:16px 18px; border:1px solid rgba(239,120,95,.24); border-left:5px solid rgba(239,120,95,.9); border-radius:16px; background:linear-gradient(135deg,rgba(239,120,95,.12),rgba(5,23,31,.32)); color:#9fc2c6; font-size:15px; line-height:1.6; }
.story-copy .story-secondary strong { color:#fff; font-size:13px; letter-spacing:.035em; text-transform:uppercase; }
.story-copy .story-secondary span { display:block; color:#bdd4d7; }
.login-panel { background:linear-gradient(155deg,#f8faf8 0%,#eef5f3 100%); }
.login-card { position:relative; overflow:hidden; padding:34px; border:1px solid rgba(18,61,73,.1); border-radius:18px; background:rgba(255,255,255,.94); box-shadow:0 24px 60px rgba(13,39,50,.12); }
.login-card::before { content:''; position:absolute; inset:0 0 auto; height:5px; background:linear-gradient(90deg,#78d0c7,#ef785f,#f2a45d); }
.mobile-login-value { display:none; margin-bottom:24px; padding:14px; border-radius:11px; background:var(--teal-soft); }
.mobile-login-value strong,.mobile-login-value span { display:block; }
.mobile-login-value strong { color:var(--navy); font-size:14px; }
.mobile-login-value span { margin-top:4px; color:var(--text-muted); font-size:11px; line-height:1.45; }
@media (max-height:850px) and (min-width:781px) {
  .login-story { padding-top:30px; padding-bottom:30px; }
  .story-copy .hero-kicker { padding:8px 12px; font-size:13px; }
  .story-copy h1 { margin:14px 0 22px; font-size:clamp(36px,4.4vw,54px); }
  .story-copy .story-lead { padding:14px 16px; font-size:16px; }
  .story-copy .story-secondary { padding:13px 15px; font-size:13px; }
  .story-actions.demo-cta { padding:12px; }
  .story-actions.demo-cta strong { font-size:14px; }
  .story-actions.demo-cta button { min-height:42px; padding:10px 14px; }
  .hero-snapshot { display:none; }
  .story-section-label { margin-top:12px; }
  .public-how-it-works { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .public-how-it-works article:nth-child(n+3) { display:none; }
}
@media (max-width:780px) {
  .login-card { padding:26px; }
  .mobile-login-value { display:block; }
  .story-actions.demo-cta { align-items:stretch; flex-direction:column; }
  .story-actions.demo-cta button { width:100%; }
  .command-preview-main { grid-template-columns:1fr; }
  .readiness-ring { width:150px; margin:auto; }
}


/* Guided first-use experience */
.first-use-welcome { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:18px; padding:22px; overflow:hidden; border-color:#acd8d1; background:linear-gradient(120deg,#f0fbf8 0%,#fff 72%); }
.first-use-welcome h2 { margin:4px 0; }
.first-use-welcome p { max-width:700px; margin:0; color:var(--text-muted); }
.first-use-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.next-step-button { position:fixed; z-index:8; right:24px; bottom:24px; display:flex; align-items:center; gap:9px; border:0; border-radius:999px; padding:11px 17px 11px 11px; background:var(--navy); color:white; cursor:pointer; box-shadow:0 12px 35px rgba(13,39,50,.28); }
.next-step-button:hover { transform:translateY(-1px); background:#174b58; }
.next-step-button > span { display:grid; width:28px; height:28px; place-items:center; border-radius:50%; background:var(--teal); font-weight:900; }
.next-step-button strong { font-size:11px; }
.floating-helper-dismiss { position:fixed; z-index:10; display:flex; width:auto; min-width:48px; height:31px; align-items:center; justify-content:center; gap:4px; padding:0 9px; border:2px solid rgba(255,255,255,.92); border-radius:999px; background:var(--coral); color:white; cursor:pointer; box-shadow:0 10px 24px rgba(190,88,48,.30),0 0 0 3px rgba(255,255,255,.76); font-weight:900; line-height:1; }
.floating-helper-dismiss span { display:block; font-size:17px; line-height:1; transform:translateY(-1px); }
.floating-helper-dismiss strong { color:inherit; font-size:9px; letter-spacing:.06em; text-transform:uppercase; }
.floating-helper-dismiss:hover { transform:translateY(-1px); background:#a94725; color:white; box-shadow:0 14px 34px rgba(190,88,48,.4),0 0 0 4px rgba(255,255,255,.86); }
.next-step-dismiss { right:16px; bottom:70px; }
.support-feedback-dismiss { left:calc(var(--sidebar) + 16px); bottom:70px; }
.first-use-modal,.sample-workspace-modal,.next-step-modal { width:min(780px,calc(100vw - 32px)); }
.tour-stop-list { display:grid; gap:10px; }
.tour-stop-list article { display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:12px; padding:13px; border:1px solid var(--border); border-radius:11px; }
.tour-stop-list article > span { display:grid; width:34px; height:34px; place-items:center; border-radius:50%; background:var(--navy); color:white; font-weight:850; }
.tour-stop-list p { margin:3px 0 0; color:var(--text-muted); font-size:.78rem; line-height:1.45; }
.tour-launch-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:13px; }
.tour-launch-summary article { padding:13px; border:1px solid rgba(31,143,135,.18); border-radius:12px; background:linear-gradient(135deg,#f2fbf9,#fff); }
.tour-launch-summary strong { display:block; color:var(--navy); font-size:12px; }
.tour-launch-summary span { display:block; margin-top:4px; color:var(--text-muted); font-size:10px; line-height:1.4; }
.tour-stop-list.walkthrough article { grid-template-columns:38px minmax(0,1fr) auto; align-items:start; border-color:#d8e6e3; background:#fff; }
.tour-stop-list.walkthrough small { display:block; margin-bottom:2px; color:var(--coral); font-size:8px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.tour-stop-list.walkthrough em { display:block; margin-top:6px; color:#6b7e84; font-size:10px; line-height:1.4; font-style:normal; }
.sample-safety-note { display:flex; flex-direction:column; gap:3px; margin-top:14px; padding:13px; border-radius:10px; background:var(--surface-soft); }
.sample-safety-note span { color:var(--text-muted); font-size:.78rem; }
.sample-program-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.sample-program-grid article { padding:17px; border:1px solid var(--border); border-radius:12px; background:white; }
.sample-program-grid h3 { margin:5px 0; }
.sample-program-grid p,.sample-program-grid small { color:var(--text-muted); }
.sample-progress { height:9px; margin:15px 0 7px; overflow:hidden; border-radius:999px; background:#e6efec; }
.sample-progress i { display:block; height:100%; border-radius:inherit; background:var(--teal); }
.sample-score { display:flex; align-items:center; gap:9px; margin-top:14px; }
.sample-score > strong { color:var(--navy); font-size:2rem; }
.sample-score > span:not(.badge) { color:var(--text-muted); font-size:.72rem; }
.sample-workspace-modal { width:min(1040px,calc(100vw - 32px)); }
.sample-demo-hero { display:grid; grid-template-columns:minmax(0,.82fr) minmax(360px,1.18fr); gap:14px; align-items:stretch; padding:18px; border:1px solid rgba(31,143,135,.16); border-radius:16px; background:linear-gradient(135deg,#f0fbf8,#fff); }
.sample-demo-hero h3 { margin:5px 0; color:var(--navy); font-size:24px; }
.sample-demo-hero p { margin:0; color:var(--text-muted); line-height:1.6; }
.sample-demo-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.sample-demo-metrics article { display:grid; gap:3px; padding:12px; border:1px solid rgba(13,39,50,.08); border-radius:12px; background:white; }
.sample-demo-metrics strong { color:var(--teal-dark); font-size:22px; line-height:1; }
.sample-demo-metrics span { color:var(--navy); font-size:11px; font-weight:850; text-transform:uppercase; letter-spacing:.05em; }
.sample-demo-metrics small { color:var(--text-muted); font-size:10px; line-height:1.35; }
.sample-demo-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin-top:13px; }
.sample-demo-panel { border:1px solid var(--border); border-radius:15px; background:white; padding:14px; }
.sample-demo-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:11px; }
.sample-demo-panel-head span { color:var(--coral); font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.1em; }
.sample-demo-panel-head strong { color:var(--navy); font-size:14px; }
.sample-student-list,.sample-eval-list,.sample-evidence-grid { display:grid; gap:9px; }
.sample-student-list article,.sample-eval-list article,.sample-evidence-grid article { display:grid; align-items:center; gap:8px; border:1px solid rgba(13,39,50,.07); border-radius:12px; background:#fbfdfd; padding:11px; }
.sample-student-list article { grid-template-columns:minmax(0,1fr) auto; border-left:4px solid var(--teal); }
.sample-student-list article.watch { border-left-color:var(--coral); background:#fff8f5; }
.sample-student-list article.ready { border-left-color:var(--green); background:#f5fbf8; }
.sample-student-list strong,.sample-eval-list strong,.sample-evidence-grid strong { display:block; color:var(--navy); font-size:12px; }
.sample-student-list span,.sample-eval-list span,.sample-evidence-grid p { margin:2px 0 0; color:var(--text-muted); font-size:10px; line-height:1.4; }
.sample-student-list b,.sample-eval-list b,.sample-evidence-grid b { justify-self:end; color:var(--teal-dark); font-size:12px; }
.sample-student-list small { grid-column:1 / -1; color:var(--text-muted); font-size:10px; }
.sample-evidence-map { margin-top:13px; }
.sample-evidence-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.sample-evidence-grid.compact { grid-template-columns:repeat(2,minmax(0,1fr)); }
.sample-evidence-grid article { grid-template-columns:28px minmax(0,1fr); align-items:start; }
.sample-evidence-grid article > span { display:grid; width:26px; height:26px; place-items:center; border-radius:9px; background:var(--teal-soft); color:var(--teal-dark); font-size:10px; font-weight:900; }
.sample-evidence-grid b { grid-column:1 / -1; justify-self:start; padding:4px 8px; border-radius:999px; background:#fff0ea; color:var(--coral); }
.sample-workflow { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; align-items:center; gap:8px; margin-top:14px; }
.sample-workflow > div { min-height:105px; padding:12px; border-radius:10px; background:var(--surface-soft); }
.sample-workflow > div span { display:grid; width:24px; height:24px; place-items:center; margin-bottom:8px; border-radius:50%; background:var(--teal); color:white; font-size:.7rem; font-weight:850; }
.sample-workflow strong,.sample-workflow small { display:block; }
.sample-workflow small { margin-top:4px; color:var(--text-muted); font-size:.66rem; line-height:1.35; }
.next-step-choice { display:flex; align-items:center; gap:14px; margin-bottom:16px; padding:18px; border-radius:12px; background:#eef8f6; }
.next-step-choice > span { color:var(--teal); font-size:2rem; }
.next-step-choice p { margin:4px 0 0; color:var(--text-muted); }
.app-assistant-button > span { background:#f1b434; color:#102c35; }
.app-assistant-modal form label > span { display:block; margin-bottom:7px; font-size:12px; font-weight:800; color:var(--navy); }
.app-assistant-question-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; }
.app-assistant-question-row input { min-width:0; }
.app-assistant-examples { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.app-assistant-answer { display:flex; gap:12px; align-items:flex-start; margin-top:18px; padding:16px; border:1px solid #c9e1df; border-radius:14px; background:#f4fbfa; }
.app-assistant-answer > span { display:grid; flex:0 0 30px; width:30px; height:30px; place-items:center; border-radius:50%; background:var(--teal); color:white; font-weight:900; }
.app-assistant-answer p { margin:3px 0 10px; line-height:1.5; }
.assistant-loading { border:3px solid rgba(255,255,255,.45); border-top-color:#fff; animation:spin .8s linear infinite; }
@media (max-width:620px) {
  .app-assistant-question-row { grid-template-columns:1fr; }
}
@media (max-width:780px) {
  .first-use-welcome { align-items:flex-start; flex-direction:column; }
  .first-use-actions { justify-content:flex-start; }
  .next-step-button { right:14px; bottom:14px; }
  .floating-helper-dismiss { min-width:54px; height:33px; padding:0 10px; box-shadow:0 11px 28px rgba(190,88,48,.34),0 0 0 3px rgba(255,255,255,.90); }
  .floating-helper-dismiss strong { font-size:9px; }
  .next-step-dismiss { right:9px; bottom:59px; }
  .sample-program-grid { grid-template-columns:1fr; }
  .tour-launch-summary { grid-template-columns:1fr; }
  .tour-stop-list.walkthrough article { grid-template-columns:34px minmax(0,1fr); }
  .tour-stop-list.walkthrough button { grid-column:2; justify-self:start; }
  .sample-demo-hero,.sample-demo-grid,.sample-evidence-grid,.sample-evidence-grid.compact { grid-template-columns:1fr; }
  .sample-demo-metrics { grid-template-columns:1fr 1fr; }
  .sample-workflow { grid-template-columns:1fr; }
  .sample-workflow > b { display:none; }
  .sample-workflow > div { min-height:0; }
}


/* Billing and credit center */
.billing-center-heading h1 { letter-spacing:-.03em; }
.billing-plan-hero { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px; border-color:#cfe5e0; background:linear-gradient(135deg,#f6fbfa,#fff 58%,#fff4ef); }
.billing-plan-hero h2 { margin:4px 0; color:var(--navy); font-size:28px; }
.billing-plan-hero p { margin:0; color:var(--text-muted); }
.billing-center-grid { display:grid; grid-template-columns:minmax(300px,.95fr) minmax(360px,1.05fr); gap:18px; align-items:start; }
.billing-meter-panel .panel-body,.billing-center-grid .panel-body { display:grid; gap:12px; }
.billing-meter { display:grid; gap:10px; padding:14px; border:1px solid var(--border); border-radius:14px; background:#fff; }
.billing-meter strong { display:block; margin-top:4px; color:var(--navy); font-size:24px; }
.billing-meter strong small { color:var(--text-muted); font-size:12px; font-weight:700; }
.billing-meter p { margin:0; color:var(--text-muted); font-size:12px; line-height:1.45; }
.billing-meter.scenario { border-color:#f1d6cd; background:#fffaf8; }
.billing-addon-grid { display:grid; gap:12px; }
.billing-addon-card { display:grid; gap:14px; padding:16px; border:1px solid #d8e6e3; border-radius:16px; background:linear-gradient(135deg,#fff,#f8fcfb); box-shadow:0 12px 30px rgba(13,39,50,.05); }
.billing-addon-card.disabled { opacity:.7; }
.billing-addon-card h3 { margin:4px 0; color:var(--navy); font-size:18px; }
.billing-addon-card p { margin:0; color:var(--text-muted); line-height:1.5; }
.billing-addon-meta { display:grid; gap:4px; padding:12px; border-radius:12px; background:#fff8f5; border:1px solid #f3d8cf; }
.billing-addon-meta strong { color:#8a3d2e; font-size:18px; }
.billing-addon-meta span { color:var(--navy); font-weight:800; }
.billing-addon-meta small { color:var(--text-muted); line-height:1.35; }
@media (max-width:900px) { .billing-center-grid { grid-template-columns:1fr; } .billing-plan-hero { align-items:flex-start; flex-direction:column; } }

/* Public self-service subscription signup */
.signup-divider { display:flex; align-items:center; gap:10px; margin:18px 0 12px; color:var(--muted); font-size:10px; }
.signup-divider::before,.signup-divider::after { content:''; height:1px; flex:1; background:var(--line); }
.signup-button { border-color:#9dcfc8; background:#f0faf8; color:var(--teal-dark); }
.public-signup-modal { width:min(980px,calc(100vw - 32px)); }
.public-signup-intro { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; padding:13px 14px; border:1px solid #b8ddd7; border-radius:12px; background:#f1faf8; }
.public-signup-intro strong { color:var(--teal-dark); font-size:12px; }
.public-signup-intro span { max-width:640px; color:var(--text-muted); font-size:10px; line-height:1.45; }
.public-plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.public-plan-card { position:relative; margin:0; cursor:pointer; }
.public-plan-card > input { position:absolute; width:1px; height:1px; opacity:0; }
.public-plan-card > span { display:flex; min-height:178px; flex-direction:column; gap:5px; padding:15px; border:1px solid var(--border); border-radius:12px; background:white; transition:.16s ease; }
.public-plan-card > input:checked + span { border-color:var(--teal); box-shadow:0 0 0 3px rgba(31,143,135,.12); background:#f4fbf9; }
.public-plan-card.featured > span::after { content:'Popular'; position:absolute; top:10px; right:10px; padding:3px 7px; border-radius:999px; background:var(--coral); color:white; font-size:7px; font-weight:850; text-transform:uppercase; }
.public-plan-card strong { color:var(--navy); font-size:15px; }
.public-plan-card b { margin:5px 0; color:var(--teal-dark); font-size:20px; }
.public-plan-card small { color:var(--text-muted); font-size:10px; line-height:1.35; }
.public-plan-card .plan-setup-fee { margin-top:5px; padding:6px 8px; border-radius:8px; background:#fff4ea; color:#7d4d2f; font-weight:750; }
.public-plan-card .plan-setup-fee.waived { background:#eaf7f3; color:var(--teal-dark); }
.public-plan-card em { margin-top:auto; color:#7d4d2f; font-size:9px; line-height:1.35; font-style:normal; }
.public-addon-section { display:grid; gap:10px; margin-top:14px; padding:14px; border:1px solid #d8e6e3; border-radius:14px; background:#fbfdfd; }
.public-addon-section h3 { margin:3px 0; color:var(--navy); font-size:16px; }
.public-addon-section p { margin:0; color:var(--text-muted); font-size:11px; line-height:1.5; }
.public-addon-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.public-addon-card { position:relative; display:grid; gap:10px; min-height:132px; padding:13px; border:1px solid var(--border); border-radius:12px; background:white; cursor:pointer; transition:.16s ease; }
.public-addon-card:focus-visible { outline:3px solid rgba(17,128,121,.24); outline-offset:2px; }
.public-addon-card.selected { border-color:var(--coral); box-shadow:0 0 0 3px rgba(239,120,95,.13); background:#fff8f5; }
.public-addon-choice { display:inline-flex; align-items:center; gap:8px; width:max-content; padding:7px 10px; border:1px solid #d8e6e3; border-radius:999px; color:var(--navy); background:#f7fbfa; font-size:11px; font-weight:800; cursor:pointer; }
.public-addon-choice input { position:absolute; width:1px; height:1px; opacity:0; }
.public-addon-checkmark { display:grid; place-items:center; width:18px; height:18px; border:1px solid #b8c9c5; border-radius:50%; color:transparent; background:white; font-size:11px; line-height:1; }
.public-addon-card.selected .public-addon-choice { border-color:rgba(239,120,95,.55); color:#8a3d2e; background:#fff3ef; }
.public-addon-card.selected .public-addon-checkmark { border-color:var(--coral); color:white; background:var(--coral); }
.public-addon-content { display:grid; gap:6px; }
.public-addon-card.disabled { cursor:not-allowed; opacity:.66; }
.public-addon-card strong { color:var(--navy); font-size:13px; }
.public-addon-card small { color:var(--text-muted); font-size:10px; line-height:1.45; }
.public-addon-card b { color:var(--teal-dark); font-size:12px; }
.public-addon-card em { color:#7d4d2f; font-size:9px; font-style:normal; }
.payment-link-result { margin-top:12px; }
.payment-link-result input { width:100%; margin:8px 0; font-size:11px; }
.payment-link-result .helper { margin:4px 0 0; }
.setup-fee-checkout { margin:12px 0 16px; }
.setup-fee-checkout p { margin:4px 0 10px; color:var(--text-muted); font-size:11px; line-height:1.5; }
.setup-fee-checkout .button { width:max-content; max-width:100%; }
.professional-service-line-item{align-items:end;grid-template-columns:minmax(240px,2fr) minmax(100px,.55fr) minmax(130px,.7fr) auto;margin-bottom:10px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft)}
.professional-service-line-item .button{margin-bottom:2px}
.contract-signoff-builder{margin:24px 0;padding:18px;border:1px solid rgba(30,58,95,.16);border-radius:16px;background:linear-gradient(145deg,rgba(239,245,250,.92),rgba(255,255,255,.98))}
.contract-signoff-builder .section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}
.contract-signoff-builder .section-heading h3{margin:3px 0 4px}
.contract-signoff-builder .section-heading p{margin:0;max-width:720px;color:var(--text-muted)}
.professional-service-signoff{margin-top:12px;padding:16px;border:1px solid var(--border);border-left:4px solid var(--blue);border-radius:12px;background:var(--surface)}
.professional-service-signoff .form-grid{margin-top:10px}
.professional-service-signoff textarea{min-height:92px}
@media(max-width:850px){.professional-service-line-item{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.contract-signoff-builder .section-heading{flex-direction:column}.professional-service-signoff .form-grid{grid-template-columns:1fr}}
.mfa-modal{max-width:760px}
.mfa-enrollment{display:grid;grid-template-columns:minmax(190px,240px) 1fr;gap:22px;align-items:start;margin-bottom:20px;padding:18px;border:1px solid rgba(30,58,95,.16);border-radius:14px;background:var(--surface-soft)}
.mfa-enrollment img{display:block;width:100%;max-width:240px;aspect-ratio:1;border:10px solid #fff;border-radius:10px}
.mfa-enrollment ol{margin:0 0 16px;padding-left:22px}
.mfa-enrollment li+li{margin-top:7px}
.mfa-secret{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;border-radius:10px;background:#fff}
.mfa-secret span{width:100%;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}
.mfa-secret code{max-width:100%;overflow-wrap:anywhere;font-size:13px}
.mfa-modal input[autocomplete="one-time-code"]{max-width:220px;font-size:1.3rem;letter-spacing:.18em;font-variant-numeric:tabular-nums}
@media(max-width:680px){.mfa-enrollment{grid-template-columns:1fr}.mfa-enrollment img{margin:auto}}
.signup-details { margin-top:18px; padding:18px; border-radius:12px; background:var(--surface-soft); }
.signup-consent { display:block; position:relative; padding-left:28px; line-height:1.55; }
.signup-consent input { position:absolute; top:2px; left:0; width:auto; margin:0; }
.signup-consent > span { display:block; min-width:0; }
.signup-consent a { display:inline; margin:0 .12em; white-space:normal; }
.signup-provisioning { display:flex; align-items:center; gap:14px; padding:18px; border-radius:12px; background:#eef8f6; }
.signup-provisioning div { display:grid; gap:4px; }
.signup-provisioning small { color:var(--text-muted); }
@media (max-width:850px) { .public-plan-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .public-plan-grid,.public-addon-grid { grid-template-columns:1fr; } .public-plan-card > span { min-height:0; } }

.included-platform-note { display:flex; align-items:center; gap:12px; margin-top:14px; padding:12px 14px; border:1px solid #b8ddd7; border-radius:10px; background:#f1faf8; }
.included-platform-note strong { flex:0 0 auto; color:var(--teal-dark); font-size:11px; }
.included-platform-note span { color:var(--text-muted); font-size:10px; line-height:1.45; }
@media (max-width:620px) { .included-platform-note,.public-signup-intro { align-items:flex-start; flex-direction:column; gap:4px; } }

.login-legal-links { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; margin-top:10px; }
.login-legal-links a { color:var(--muted); font-size:9px; text-decoration:none; }
.login-legal-links a:hover { color:var(--teal-dark); text-decoration:underline; }
.signup-consent a { color:var(--teal-dark); }

/* Required student documents and recording guide */
.required-document-heading { padding:22px; border-radius:18px; background:linear-gradient(125deg,#effaf6,#f3f7ff 58%,#fff8e7); border:1px solid #cfe3dc; }
.student-document-status { display:inline-flex; align-items:center; gap:8px; width:max-content; max-width:100%; padding:8px 11px; border-radius:999px; font-size:12px; font-weight:800; line-height:1.2; }
.student-document-status b { display:grid; place-items:center; min-width:22px; height:22px; border-radius:50%; color:#fff; }
.student-document-status.complete { color:#116b50; background:#e1f6ed; border:1px solid #a9ddca; }
.student-document-status.complete b { background:#168765; }
.student-document-status.pending { color:#8a4b00; background:#fff3d9; border:1px solid #efd092; }
.student-document-status.pending b { background:#c97808; }
.student-name-with-verification { display:inline-flex; align-items:center; gap:6px; }
.student-document-verified { display:inline-grid; place-items:center; width:18px; height:18px; flex:0 0 18px; border-radius:50%; background:linear-gradient(145deg,#20a878,#087352); border:2px solid #fff; color:#fff; box-shadow:0 0 0 1px #168765,0 2px 6px rgba(9,103,75,.25); font-size:11px; font-weight:950; line-height:1; vertical-align:middle; }
.compact-document-verification-note { margin:16px 0; }.compact-document-verification-note > .student-document-verified { width:24px; height:24px; flex-basis:24px; font-size:14px; }
.document-gate-notice { box-shadow:0 0 0 4px rgba(211,166,53,.12); }
.required-document-list { display:grid; gap:16px; margin-top:18px; }
.required-document-card { overflow:hidden; border-top:5px solid #d39525; }
.required-document-card.complete { border-top-color:#168765; }
.required-document-card .panel-header { align-items:flex-start; }
.document-step { display:inline-flex; margin-bottom:7px; color:#16755b; font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.document-version-row { display:flex; justify-content:space-between; gap:12px; color:var(--text-muted); font-size:12px; margin-bottom:12px; }
.required-document-text { max-height:360px; overflow:auto; white-space:normal; line-height:1.65; padding:17px; margin:10px 0 15px; border:1px solid var(--border); border-radius:12px; background:#fbfcfc; color:var(--text); }
.acknowledgement-box { padding:14px; border-left:4px solid var(--teal); background:#f0faf7; border-radius:8px; }
.acknowledgement-box p { margin:5px 0 0; line-height:1.5; }
.student-document-sign-form { display:grid; gap:13px; margin-top:16px; }
.signed-document-record { display:flex; gap:11px; align-items:center; margin-top:14px; padding:13px; border-radius:11px; background:#eaf8f2; color:#116b50; }
.signed-document-record > span { display:grid; place-items:center; width:30px; height:30px; color:#fff; background:#168765; border-radius:50%; font-weight:900; }
.signed-document-record small { display:block; margin-top:3px; color:#47776a; }
.documentation-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:16px 0; }
.documentation-summary article { display:grid; gap:4px; padding:16px; border-radius:14px; background:#fff; border:1px solid var(--border); border-top:4px solid var(--teal); }
.documentation-summary strong { font-size:27px; color:var(--navy); }.documentation-summary span { color:var(--text-muted); font-size:12px; font-weight:750; }
.document-student-roster { display:grid; gap:8px; }
.document-student-roster article { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:11px; align-items:center; padding:11px; border:1px solid var(--border); border-radius:12px; background:#fff; }
.document-student-roster article.complete { border-left:5px solid #168765; }.document-student-roster article.pending { border-left:5px solid #d39525; }
.document-student-roster small { display:block; margin-top:3px; color:var(--text-muted); }
.document-management-grid { align-items:start; margin-top:18px; }
.builtin-document-list,.document-template-grid { display:grid; gap:10px; }
.document-template-choice { display:grid; grid-template-columns:auto 1fr; gap:10px; align-items:start; padding:11px; border:1px solid var(--border); border-radius:11px; background:#fff; }
.document-template-choice.added { opacity:.64; background:#f4f7f6; }.document-template-choice small { display:block; margin-top:3px; color:var(--text-muted); }
.document-preview-button { display:block; width:max-content; margin-top:9px; }.document-template-choice.added .document-preview-button { opacity:1; }
.document-template-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px; }
.document-template-actions .document-preview-button { display:inline-flex; margin-top:0; }
.document-editor-field-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:15px 0 7px; }
.document-editor-text { min-height:280px; font-family:inherit; line-height:1.55; }
.document-reassignment-choice { margin-top:16px; padding:14px; border:1px solid #e2c46f; border-radius:13px; background:#fff9e8; align-items:flex-start; }
.document-reassignment-choice span { display:grid; gap:4px; }.document-reassignment-choice small { color:var(--text-muted); line-height:1.4; }
.document-manager-preview { max-height:50vh; min-height:130px; }.document-preview-modal .acknowledgement-box { margin-top:15px; }
.document-template-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.7fr); gap:18px; padding:17px; border:1px solid var(--border); border-radius:14px; background:#fff; }
.document-template-card h3 { margin:8px 0 5px; }.document-template-card p { color:var(--text-muted); }
.document-requirement-form { display:grid; gap:9px; padding:12px; background:#f5f9f8; border-radius:11px; }
.active-document-requirement { grid-column:1/-1; display:flex; justify-content:space-between; align-items:center; gap:10px; padding:8px 10px; border-radius:9px; background:#e9f6f1; color:#175f4d; font-weight:750; }
.signature-audit-panel { margin-top:18px; overflow:hidden; }.signature-audit-panel > summary { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:17px; cursor:pointer; list-style:none; }.signature-audit-panel > summary::-webkit-details-marker { display:none; }.signature-audit-panel > summary small { display:block; margin-top:4px; color:var(--text-muted); font-weight:500; }.signature-audit-panel[open] > summary { border-bottom:1px solid var(--border); background:#f5faf8; }
.recording-guide-heading { padding:22px; border-radius:18px; background:linear-gradient(120deg,#ecf8f4,#eef4ff 62%,#fff7e1); border:1px solid #cbded8; }
.recording-priority-strip { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:13px; margin:16px 0; border-radius:13px; color:#fff; background:linear-gradient(100deg,#12374f,#176b66); }
.recording-priority-strip span { padding:6px 9px; border-radius:999px; background:rgba(255,255,255,.13); font-size:12px; font-weight:750; }
.recording-guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:16px; }
.recording-guide-card { padding:18px; border:1px solid var(--border); border-top:5px solid var(--teal); border-radius:15px; background:#fff; box-shadow:0 8px 24px rgba(24,60,73,.06); }
.recording-guide-card:nth-child(3n+2) { border-top-color:#3f6fb6; }.recording-guide-card:nth-child(3n) { border-top-color:#d39525; }
.recording-guide-card > span { color:var(--teal-dark); font-size:10px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.recording-guide-card h2 { margin:5px 0 10px; font-size:18px; }.recording-guide-card ul { display:grid; gap:8px; margin:0; padding-left:20px; color:var(--text-muted); line-height:1.45; }
.recording-guide-toc { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; padding:10px; border:1px solid #cbded8; border-radius:14px; background:#fff; position:sticky; top:10px; z-index:4; box-shadow:0 8px 22px rgba(24,60,73,.08); }
.recording-guide-toc a { padding:8px 12px; border-radius:999px; background:#edf7f5; color:var(--teal-dark); font-weight:800; text-decoration:none; }
.recording-guide-toc a:hover,.recording-guide-toc a:focus-visible { background:var(--teal); color:#fff; }
.recording-guide-reference,.recording-guide-troubleshooting { margin:18px 0; padding:20px; border:1px solid #cbded8; border-radius:18px; background:linear-gradient(135deg,#f7fcfb,#f4f7ff); }
.recording-guide-reference > div:first-child,.recording-guide-troubleshooting > div:first-child { margin-bottom:14px; }
.recording-guide-reference h2,.recording-guide-troubleshooting h2 { margin:4px 0; }
.recording-guide-reference ol { display:grid; gap:10px; margin:0; padding:0; list-style:none; counter-reset:guide-step; }
.recording-guide-reference li { counter-increment:guide-step; display:grid; grid-template-columns:34px minmax(0,1fr); gap:10px; align-items:start; padding:11px; border-radius:12px; background:#fff; }
.recording-guide-reference li::before { content:counter(guide-step); display:grid; place-items:center; width:30px; height:30px; border-radius:10px; background:var(--teal); color:#fff; font-weight:900; grid-row:1 / span 2; }
.recording-guide-reference li strong,.recording-guide-reference li span { grid-column:2; }
.recording-guide-reference li span { color:var(--text-muted); line-height:1.45; }
.recording-troubleshooting-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.recording-troubleshooting-grid article { padding:14px; border-left:5px solid #d39525; border-radius:12px; background:#fff; }
.recording-troubleshooting-grid p { margin:5px 0 0; color:var(--text-muted); line-height:1.45; }
.recording-guide-boundary { margin-top:18px; }
.recording-guide-intro-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.recording-guide-intro-steps article { display:grid; grid-template-columns:38px minmax(0,1fr); gap:10px; padding:14px; border:1px solid var(--border); border-radius:14px; background:#fff; }
.recording-guide-intro-steps b { display:grid; place-items:center; width:36px; height:36px; border-radius:12px; background:var(--teal); color:#fff; }
.recording-guide-intro-steps p { margin:5px 0 0; color:var(--text-muted); line-height:1.45; }
.recording-guide-dismiss-choice { margin-top:16px; padding:12px; border-radius:12px; background:#f4f7f7; }
@media (max-width:800px){.documentation-summary,.recording-guide-grid{grid-template-columns:1fr}.document-template-card{grid-template-columns:1fr}.document-student-roster article{grid-template-columns:42px 1fr}.document-student-roster .student-document-status{grid-column:2}.required-document-heading{padding:16px}}
@media (max-width:620px){.document-editor-field-heading{align-items:flex-start;flex-direction:column}.document-template-actions{width:100%}.document-template-actions .button{flex:1}}
@media (max-width:800px){.recording-guide-intro-steps,.recording-troubleshooting-grid{grid-template-columns:1fr}.recording-guide-toc{position:static}.recording-guide-reference,.recording-guide-troubleshooting{padding:15px}}

.production-checklist { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.production-checklist a { display:flex; flex-direction:column; gap:4px; padding:15px; border:1px solid var(--border); border-radius:11px; color:var(--text); text-decoration:none; background:var(--surface-soft); }
.production-checklist a:hover { border-color:var(--teal); }
.production-checklist span { color:var(--text-muted); font-size:11px; line-height:1.45; }
@media (max-width:700px) { .production-checklist { grid-template-columns:1fr; } }

/* Public EMS Education Command Center */
.story-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:30px}
.story-actions.demo-cta{max-width:720px;padding:18px 18px 18px 20px;border:1px solid rgba(239,120,95,.48);border-radius:20px;background:linear-gradient(135deg,rgba(239,120,95,.27),rgba(120,208,199,.1) 62%,rgba(255,255,255,.07));box-shadow:0 24px 58px rgba(239,120,95,.17),0 14px 34px rgba(0,0,0,.17)}
.story-actions.demo-cta>div{display:grid;gap:4px;min-width:0}
.story-actions.demo-cta>div>span{width:max-content;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.15);color:#ffd8c8;font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.story-actions.demo-cta strong{color:#fff;font-size:20px;line-height:1.2}
.story-actions button,.mobile-login-value button{border:1px solid rgba(127,212,202,.45);border-radius:999px;background:rgba(120,208,199,.12);padding:10px 15px;color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.story-actions.demo-cta button{flex:0 0 auto;min-height:54px;border:0;background:linear-gradient(135deg,#ef785f,#f2a45d);padding:14px 22px;color:white;box-shadow:0 16px 32px rgba(239,120,95,.38);font-size:14px}
.story-actions.demo-cta button span{display:inline-grid;width:22px;height:22px;place-items:center;border-radius:50%;background:rgba(255,255,255,.22)}
.story-actions button:hover{background:rgba(120,208,199,.22);transform:translateY(-1px)}
.story-actions.demo-cta button:hover{background:linear-gradient(135deg,#f28b73,#f6b266);transform:translateY(-2px);box-shadow:0 18px 34px rgba(239,120,95,.42)}
.story-actions small{color:#ffe1d4;font-size:11px}
.mobile-login-value button{margin-top:10px;border-color:rgba(31,143,135,.25);background:#fff;color:var(--teal-dark)}
.hero-snapshot{display:grid;gap:14px;max-width:720px;margin-top:18px;padding:18px;border:1px solid rgba(120,208,199,.24);border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.11),rgba(5,23,31,.27));box-shadow:0 22px 54px rgba(0,0,0,.18)}
.snapshot-head{display:flex;align-items:center;gap:9px;color:#d8eeee}
.snapshot-head>span{display:block;width:10px;height:10px;border-radius:50%;background:#78d0c7;box-shadow:0 0 0 6px rgba(120,208,199,.13)}
.snapshot-head strong{font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.snapshot-head small{margin-left:auto;color:#a8c3c8;font-size:11px}
.command-preview-main{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:stretch}
.readiness-ring{display:grid;place-items:center;align-content:center;min-height:150px;border-radius:50%;background:radial-gradient(circle at center,#09232e 0 52%,transparent 53%),conic-gradient(#78d0c7 0 84%,rgba(255,255,255,.12) 84% 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 14px 34px rgba(0,0,0,.16)}
.readiness-ring b,.readiness-ring span{display:block;text-align:center}
.readiness-ring b{color:#fff;font-size:34px;line-height:1}
.readiness-ring span{max-width:90px;margin-top:7px;color:#bdd4d7;font-size:11px;line-height:1.25}
.preview-stack{display:grid;gap:10px}
.preview-stack article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.06)}
.preview-stack small{color:#bdd4d7;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.preview-stack strong{grid-row:1 / span 2;color:#fff;font-size:30px;line-height:1}
.preview-stack span{color:#a8c3c8;font-size:11px}
.preview-alerts{display:flex;flex-wrap:wrap;gap:8px}
.preview-alerts span{padding:7px 10px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.06);color:#c2d5d8;font-size:11px;font-weight:800}
.preview-alerts .ready{border-color:rgba(120,208,199,.3);color:#dff8f5}.preview-alerts .warn{border-color:rgba(239,120,95,.35);color:#ffd8c8}
.snapshot-signal{display:flex;align-items:end;gap:6px;height:34px;padding:8px;border-radius:13px;background:rgba(7,29,40,.46)}
.snapshot-signal i{display:block;flex:1;border-radius:999px;background:linear-gradient(180deg,#78d0c7,#1f8f87)}
.snapshot-signal i:nth-child(1){height:34%}.snapshot-signal i:nth-child(2){height:66%;background:linear-gradient(180deg,#f2a45d,#ef785f)}.snapshot-signal i:nth-child(3){height:45%}.snapshot-signal i:nth-child(4){height:82%}.snapshot-signal i:nth-child(5){height:58%;background:linear-gradient(180deg,#f2a45d,#ef785f)}.snapshot-signal i:nth-child(6){height:72%}.snapshot-signal i:nth-child(7){height:50%}.snapshot-signal i:nth-child(8){height:88%;background:linear-gradient(180deg,#f2a45d,#ef785f)}
.story-section-label{display:inline-flex;margin-top:34px;padding:6px 10px;border-radius:999px;background:rgba(120,208,199,.1);color:#86ddd4;font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.public-how-it-works{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:13px}
.public-how-it-works article{position:relative;display:grid;grid-template-columns:1fr;gap:7px;align-items:start;overflow:hidden;padding:14px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(255,255,255,.062)}
.public-how-it-works article::before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:#78d0c7}
.public-how-it-works article:nth-child(2)::before{background:#ef785f}
.public-how-it-works article:nth-child(3)::before{background:#f2a45d}
.public-how-it-works article:nth-child(4)::before{background:#8fd9d2}
.public-how-it-works b{display:grid;width:26px;height:26px;place-items:center;grid-row:1 / span 2;border-radius:50%;background:rgba(120,208,199,.16);color:#86ddd4;font-size:11px}
.public-how-it-works article:nth-child(2) b{background:rgba(239,120,95,.18);color:#ffb8a5}
.public-how-it-works article:nth-child(3) b{background:rgba(242,164,93,.18);color:#ffd19c}
.public-how-it-works strong{color:white;font-size:13px;line-height:1.25}
.public-how-it-works small{color:#c2d5d8;font-size:11px;line-height:1.48}
.public-command-demo{width:min(980px,calc(100vw - 28px))}
.public-command-demo .modal-body{background:#f7faf9;border-radius:18px}
.command-demo-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;padding:8px;border:1px solid rgba(13,39,50,.08);border-radius:18px;background:#fff}
.command-demo-nav button{flex:1 1 170px; min-height:42px; border:1px solid transparent;border-radius:999px;background:transparent;padding:10px 14px;color:var(--text-muted);font-size:11px;font-weight:850;line-height:1.25;white-space:normal;cursor:pointer;transition:all .18s ease}
.command-demo-nav button:hover{background:#f7fbfa;color:var(--navy)}
.command-demo-nav button.active{border-color:rgba(31,143,135,.28);background:var(--teal-soft);color:var(--teal-dark)}
#command-demo-stage{overflow:hidden;border:1px solid rgba(13,39,50,.08);border-radius:20px;background:#fff}
.command-demo-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,310px);gap:18px;padding:22px}
.command-demo-board > *{min-width:0}
.command-demo-feature{padding:20px;border:1px solid rgba(13,39,50,.07);border-radius:16px;background:#fff}
.command-demo-copy h3{max-width:640px;margin:8px 0 10px;color:var(--navy);font-size:27px;line-height:1.14}
.command-demo-copy p{max-width:670px;margin:0;color:var(--text-muted);font-size:14px;line-height:1.7}
.command-demo-points{display:grid;gap:10px;margin:18px 0 0;padding:0;list-style:none}
.command-demo-points li{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid rgba(31,143,135,.11);border-radius:12px;background:#f9fcfb;color:var(--text-muted)}
.command-demo-points li span{display:grid;flex:0 0 21px;width:21px;height:21px;place-items:center;border-radius:50%;background:var(--teal-soft);color:var(--teal-dark);font-size:11px;font-weight:900}
.command-demo-points li p{margin:0;font-size:12px;line-height:1.5}
.command-demo-visual{align-self:start;display:flex;flex-direction:column;border:1px solid rgba(13,39,50,.09);border-radius:18px;background:#fbfdfd;color:var(--navy)}
.demo-window-bar{display:flex;align-items:center;gap:7px;padding:13px 15px;border-bottom:1px solid rgba(13,39,50,.08)}
.demo-window-bar span{width:8px;height:8px;border-radius:50%;background:#d9e5e3}
.demo-window-bar span:first-child{background:#ef785f}.demo-window-bar span:nth-child(2){background:#f2a45d}.demo-window-bar span:nth-child(3){background:#78d0c7}
.demo-window-bar strong{margin-left:auto;color:var(--text-muted);font-size:10px;text-transform:uppercase;letter-spacing:.12em}
.demo-window-main{display:grid;gap:12px;padding:15px}
.demo-primary-stat{display:grid;gap:4px;padding:16px;border:1px solid rgba(31,143,135,.14);border-radius:15px;background:var(--teal-soft)}
.demo-primary-stat small,.demo-snapshot-list span,.demo-snapshot-footer span{color:var(--text-muted);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.demo-primary-stat strong{color:var(--navy);font-size:34px;line-height:1.05}
.demo-primary-stat span{color:var(--text-muted);font-size:12px;line-height:1.45}
.demo-snapshot-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.demo-snapshot-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 11px;border:1px solid rgba(13,39,50,.07);border-radius:12px;background:#fff}
.demo-snapshot-list b{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#f1f6f5;color:var(--teal-dark);font-size:10px}
.demo-snapshot-list strong{color:var(--navy);font-size:13px;line-height:1.25;overflow-wrap:anywhere}
.demo-snapshot-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-radius:12px;background:#fff}
.demo-snapshot-footer b{padding:5px 8px;border-radius:999px;background:#fff0ea;color:var(--coral);font-size:10px;text-transform:uppercase;letter-spacing:.07em}
.command-demo-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 22px 18px}
.command-demo-role-grid article{padding:15px;border:1px solid rgba(13,39,50,.08);border-radius:14px;background:#fff}
.command-demo-role-grid article span{display:block;width:26px;height:3px;margin-bottom:9px;border-radius:999px;background:var(--teal)}
.command-demo-role-grid strong{display:block;color:var(--navy);font-size:13px}
.command-demo-role-grid p{margin:6px 0 0;color:var(--text-muted);font-size:12px;line-height:1.55}
.command-demo-sample-data{padding:0 22px 18px}
.command-demo-sample-data .sample-demo-grid{margin-top:0}
.command-demo-signal{display:flex;gap:12px;margin:0 22px 22px;padding:15px;border:1px solid rgba(239,120,95,.16);border-left:4px solid var(--coral);border-radius:14px;background:#fff7f3}
.command-demo-signal>span{display:grid;flex:0 0 31px;width:31px;height:31px;place-items:center;border-radius:50%;background:#fff0ea;color:var(--coral);font-size:18px}
.command-demo-signal small{display:block;color:var(--coral);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.command-demo-signal strong{display:block;margin-top:2px;color:var(--navy);font-size:13px}
.command-demo-signal p{margin:4px 0 0;color:var(--text-muted);font-size:12px;line-height:1.55}
.command-demo-flow{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:16px;color:var(--text-muted);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.command-demo-flow b{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:var(--teal-soft);color:var(--teal-dark)}
@media(max-width:820px){.command-demo-board{grid-template-columns:1fr}.command-demo-visual{width:100%}.command-demo-role-grid{grid-template-columns:1fr 1fr}.command-demo-flow{align-items:stretch;flex-direction:column;text-align:center}.command-demo-flow b{margin:auto;transform:rotate(90deg)}}
@media(max-width:560px){.command-demo-nav button{flex:1 1 45%}.command-demo-role-grid{grid-template-columns:1fr}.command-demo-board{padding:14px}.command-demo-feature{padding:17px}.command-demo-copy h3{font-size:23px}.command-demo-role-grid{padding-inline:14px}.command-demo-signal{margin-inline:14px}.demo-primary-stat strong{font-size:31px}}

@media(max-width:760px){
  .list-controls { grid-template-columns: 1fr; align-items: stretch; }
  .list-control-actions { justify-content: flex-start; }
}


/* Professional command-center visual polish */
.sidebar {
  background:
    radial-gradient(circle at 18% 8%, rgba(123,219,209,.16), transparent 18rem),
    linear-gradient(180deg,#0d2732 0%,#102a35 48%,#0b212a 100%);
  box-shadow: 10px 0 38px rgba(8,31,40,.14);
}
.sidebar .brand { border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; padding-bottom: 22px; }
.sidebar .brand-mark { filter: drop-shadow(0 12px 22px rgba(0,0,0,.22)); }
.nav-item, .nav-group > summary { transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease; }
.nav-item:hover, .nav-group > summary:hover { transform: translateX(2px); }
.nav-item.active {
  background: linear-gradient(90deg,rgba(123,219,209,.20),rgba(123,219,209,.08));
  box-shadow: inset 3px 0 0 #7bdbd1;
  color: #b9fff7;
}
.nav-submenu { margin-left: 18px; border-left-color: rgba(123,219,209,.18); }

.topbar {
  border-bottom-color: rgba(203,211,207,.72);
  background: rgba(250,250,246,.84);
  box-shadow: 0 10px 28px rgba(16,42,53,.045);
}
.icon-button, .view-switcher {
  box-shadow: 0 3px 12px rgba(16,42,53,.04);
}
.page { padding-top: 30px; }
.page-heading {
  align-items: center;
  border: 1px solid rgba(203,211,207,.74);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 20%, rgba(31,143,135,.10), transparent 18rem),
    linear-gradient(135deg,rgba(255,255,255,.94),rgba(249,251,249,.86));
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
}
.page-heading h1 { color: #122d37; }
.page-heading p { max-width: 760px; line-height: 1.55; }
.heading-actions { align-items: center; flex-wrap: wrap; }
.heading-actions label { margin: 0; }

.panel {
  border-color: rgba(203,211,207,.86);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-soft);
}
.panel-header {
  background: linear-gradient(180deg,rgba(250,252,250,.94),rgba(255,255,255,.98));
}
.panel-header h2, .panel-header h3 { color: #132d37; }
.panel-body { background: linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.94)); }

.metric-card {
  border-color: rgba(203,211,207,.76);
  background:
    linear-gradient(180deg,#fff,#fbfcfb);
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.metric-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg,var(--teal),rgba(31,143,135,.16));
}
.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31,143,135,.32);
  box-shadow: var(--shadow-lift);
}
.metric-value { color: #12333d; }
.metric-icon { box-shadow: inset 0 0 0 1px rgba(31,143,135,.08); }
.metric-card.alert::before { background: linear-gradient(90deg,var(--red),rgba(183,75,75,.12)); }
.metric-card.warn::before { background: linear-gradient(90deg,var(--amber),rgba(184,121,24,.12)); }

.button {
  box-shadow: 0 3px 10px rgba(16,42,53,.035);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
}
.button.primary {
  border-color: #187e78;
  background: linear-gradient(135deg,#238f88,#176f69);
  box-shadow: 0 8px 20px rgba(31,143,135,.18);
}
.button.primary:hover {
  background: linear-gradient(135deg,#197f78,#115f5b);
  box-shadow: 0 12px 26px rgba(31,143,135,.22);
}
.button.ghost:hover { background: rgba(31,143,135,.08); box-shadow: none; }

input, textarea, select {
  background: linear-gradient(180deg,#fff,#fdfefd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
label { color: #344650; }

.notice {
  border-left-width: 5px;
  box-shadow: 0 6px 18px rgba(16,42,53,.04);
}
.notice.info { background: linear-gradient(180deg,#e9f7f5,#f4fbfa); }
.notice.warning, .notice:not(.info):not(.danger):not(.neutral) { background: linear-gradient(180deg,#fff5de,#fffaf0); }
.notice.neutral { border-color: var(--line); background: #f8faf8; color: var(--muted); }

.table-wrap {
  border: 1px solid rgba(223,228,225,.72);
  border-radius: 13px;
  background: white;
}
.data-table th {
  background: #f7faf8;
  color: #748389;
}
.data-table td { font-size: 12px; }
.data-table tbody tr { transition: background .12s ease; }
.data-table tbody tr:nth-child(even) { background: rgba(246,248,246,.46); }
.data-table tbody tr:hover { background: #eef8f6; }

.evaluation-list { display: grid; gap: 9px; }
.evaluation-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(223,228,225,.92);
  border-radius: 13px;
  background: linear-gradient(180deg,#fff,#fbfcfb);
  padding: 12px 13px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.evaluation-row:hover {
  transform: translateY(-1px);
  border-color: rgba(31,143,135,.34);
  background: #f5fbfa;
  box-shadow: 0 10px 24px rgba(16,42,53,.07);
}
.evaluation-row strong, .evaluation-row small { display: block; }
.evaluation-row small { color: var(--text-muted); font-size: 10px; line-height: 1.35; }
.evaluation-row > span:last-of-type { color: var(--muted-2); font-size: 10px; font-weight: 700; }
.evaluation-row > b { color: var(--teal-dark); font-size: 18px; }

.badge { box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.avatar, .student-avatar {
  background: linear-gradient(135deg,#2d6570,#173f4a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.student-avatar { background: linear-gradient(135deg,#e7f5f2,#d4ebe7); color: var(--teal-dark); }

.modal-backdrop { background: rgba(6,24,31,.58); }
.modal {
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 30px 90px rgba(5,24,31,.34);
}
.modal-header { background: linear-gradient(180deg,#fbfdfc,#fff); }

.resource-link, .attachment-row, .evidence-file, .tour-stop-list article, .sample-program-grid article, .requirement-grid article {
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.resource-link:hover, .attachment-row:hover, .evidence-file:hover, .tour-stop-list article:hover, .sample-program-grid article:hover, .requirement-grid article:hover {
  transform: translateY(-1px);
  border-color: rgba(31,143,135,.34);
  box-shadow: 0 10px 24px rgba(16,42,53,.06);
}

@media (max-width: 780px) {
  .page-heading { align-items: flex-start; padding: 18px; }
  .evaluation-row { grid-template-columns: auto minmax(0,1fr) auto; }
  .evaluation-row > span:last-of-type { grid-column: 2 / -1; }
}


/* Interface cleanup pass: calmer, tighter, easier to scan */
:root {
  --shadow-clean: 0 4px 18px rgba(16,42,53,.045);
  --line-clean: rgba(211,219,215,.82);
}
.app-shell { grid-template-columns: 242px 1fr; }
.sidebar {
  width: 242px;
  padding: 22px 14px 16px;
}
.sidebar .brand {
  gap: 9px;
  margin-bottom: 8px;
  padding: 0 8px 18px;
  font-size: 16px;
  line-height: 1.15;
}
.sidebar .brand-mark { width: 34px; height: 34px; }
.sidebar nav { gap: 3px; }
.nav-item {
  min-height: 38px;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 12px;
}
.nav-icon { flex-basis:26px; width:26px; min-width:26px; font-size:12px; }
.nav-group > summary {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 11px;
}
.nav-submenu { margin-left: 13px; padding-left: 7px; }
.nav-submenu .nav-item { min-height: 34px; padding: 7px 9px; }
.user-block {
  grid-template-columns: 32px 1fr auto;
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
}
.user-block .avatar { width: 32px; height: 32px; border-radius: 9px; font-size: 11px; }

.topbar {
  height: 60px;
  padding-inline: 28px;
}
.icon-button { width: 34px; height: 34px; }
.button.compact { min-height: 33px; }

.page {
  width: min(1360px, 100%);
  padding: 26px 30px 120px;
}
.page-heading {
  align-items: flex-start;
  border: 0;
  border-bottom: 1px solid var(--line-clean);
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 20px;
  padding: 0 0 18px;
}
.page-heading h1 {
  margin-top: 2px;
  margin-bottom: 5px;
  font-size: clamp(25px, 2.6vw, 34px);
  letter-spacing: -.035em;
}
.page-heading p {
  max-width: 820px;
  color: #5d6c73;
  font-size: 13px;
}
.page-heading .eyebrow {
  border: 1px solid rgba(31,143,135,.16);
  border-radius: 999px;
  background: rgba(223,242,239,.48);
  padding: 3px 8px;
  color: var(--teal-dark);
  font-size: 9px;
  letter-spacing: .1em;
}
.heading-actions { gap: 7px; }

.metric-grid {
  gap: 12px;
  margin-bottom: 18px;
}
.metric-card {
  min-height: 112px;
  border-radius: 14px;
  padding: 15px;
  box-shadow: var(--shadow-clean);
}
.metric-card::after { opacity: .22; transform: scale(.82); }
.metric-top { font-size: 10px; }
.metric-icon { width: 27px; height: 27px; border-radius: 8px; font-size: 12px; }
.metric-value {
  margin-top: 8px;
  font-size: 27px;
}
.metric-foot { font-size: 9px; }

.dashboard-grid,
.detail-grid,
.form-layout,
.program-value-grid,
.program-config-grid,
.student-result-grid {
  gap: 15px;
}
.side-stack { gap: 15px; }
.panel {
  border-color: var(--line-clean);
  border-radius: 14px;
  box-shadow: var(--shadow-clean);
}
.panel-header {
  min-height: auto;
  padding: 13px 16px;
}
.panel-header h2 { font-size: 21px; }
.panel-header h3 { font-size: 15px; }
.panel-header p { font-size: 10px; line-height: 1.45; }
.panel-body { padding: 16px; }

.filter-row {
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-clean);
  border-radius: 12px;
  background: #f8faf8;
  margin-bottom: 13px;
  padding: 8px;
}
.filter-row input,
.filter-row select {
  min-height: 34px;
  border-color: transparent;
  background: white;
  padding: 7px 10px;
}

.table-wrap { border-radius: 12px; }
.data-table th {
  padding: 8px 10px;
  font-size: 8px;
}
.data-table td {
  padding: 10px;
  font-size: 11px;
}
.student-cell { gap: 8px; }
.student-avatar { width: 28px; height: 28px; }

.evaluation-list { gap: 7px; }
.evaluation-row {
  border-radius: 12px;
  gap: 10px;
  padding: 10px 11px;
}
.evaluation-row .avatar { width: 32px; height: 32px; border-radius: 9px; font-size: 11px; }
.evaluation-row small { font-size: 9px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.row-actions .button { min-height: 31px; padding: 6px 10px; font-size: 10px; }

.empty {
  min-height: 176px;
  padding: 28px;
}
.empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 17px;
}
.empty h3 { font-size: 16px; }
.empty p { font-size: 10px; }

.tabs {
  gap: 5px;
  border: 1px solid var(--line-clean);
  border-radius: 999px;
  background: #f7faf8;
  margin-bottom: 14px;
  padding: 5px;
  overflow-x: auto;
}
.tab {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
}
.tab.active {
  background: white;
  box-shadow: 0 4px 12px rgba(16,42,53,.055);
}

.stepper {
  border-radius: 12px;
  margin-bottom: 18px;
}
.step {
  min-height: 48px;
  padding: 10px 13px;
}
.step b { width: 21px; height: 21px; }

label { margin-bottom: 13px; }
input, textarea, select {
  border-radius: 9px;
  padding: 10px 12px;
}
textarea { min-height: 112px; }
.form-section { padding: 17px; }
.section-title { margin-bottom: 14px; }
.helper { margin-bottom: 12px; }
.form-actions { margin-top: 14px; }
.summary-card { top: 76px; }

.badge {
  padding: 3px 7px;
  font-size: 8px;
}
.notice {
  border-radius: 11px;
  margin-bottom: 16px;
  padding: 12px 13px;
}

.modal { border-radius: 15px; }
.modal-header { padding: 16px 18px; }
.modal-body { padding: 18px; }
.modal-actions { padding: 13px 18px; }

.first-use-welcome,
.guided-setup,
.quota-panel,
.date-range-panel,
.student-result-header {
  border-radius: 14px;
}
.guided-setup ol { gap: 7px; }
.guided-setup li { padding: 9px 10px; }
.requirement-grid { gap: 9px; }
.requirement-grid article { padding: 12px; }
.resource-link { padding: 11px; }

/* Accreditation support suite */
.support-workspace-grid,
.assistant-workspace-grid {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: start;
}
.support-entry-panel,
.assistant-prompt-panel {
  position: sticky;
  top: 82px;
}
.support-fieldset {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}
.support-fieldset legend {
  padding: 0 6px;
  color: var(--navy);
  font-weight: 850;
}
.support-record-list {
  display: grid;
  gap: 14px;
}
.support-record-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--line-dark);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-soft);
}
.support-record-card.site-visit-ready { border-left-color: var(--teal); }
.support-record-card.needs-update,
.support-record-card.missing { border-left-color: var(--amber); background: #fffbf5; }
.support-record-card header {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}
.support-record-card h3 {
  margin: 3px 0 4px;
}
.support-record-card p {
  color: var(--muted);
}
.support-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 11px 0;
}
.support-meta span {
  display: grid;
  min-width: 120px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
}
.support-meta strong {
  color: var(--navy);
}
.support-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 13px;
}
.support-checklist span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8f6f0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.support-checklist span.complete {
  border-color: #b8ddd7;
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.support-summary {
  margin: 12px 0;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg,#f8fbfa,#fff);
  border: 1px solid #d8e8e4;
}
.support-summary strong,
.support-files strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}
.support-summary p {
  margin: 0;
}
.support-files {
  margin-top: 12px;
}
.support-file-row {
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 7px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  cursor: pointer;
  text-align: left;
}
.support-file-row > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.support-file-row small {
  display: block;
  color: var(--muted);
}
.support-file-row b {
  color: var(--teal-dark);
  font-size: 12px;
}
.assistant-suggestions {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.assistant-suggestions button {
  padding: 11px 12px;
  border: 1px solid #cfe6e2;
  border-radius: 11px;
  background: linear-gradient(180deg,#ffffff,#f3fbf8);
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}
.assistant-answer-card {
  display: grid;
  gap: 14px;
}
.assistant-section-list {
  display: grid;
  gap: 12px;
}
.assistant-section-list section,
.assistant-safeguards {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}
.assistant-section-list h3,
.assistant-safeguards h3 {
  margin-bottom: 8px;
}
.assistant-section-list ul,
.assistant-safeguards ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

/* Pilot launch and feedback */
.support-feedback-button {
  position: fixed;
  z-index: 9;
  left: calc(var(--sidebar) + 24px);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px 11px 11px;
  background: var(--teal-dark);
  color: white;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(16,42,53,.24);
}
.support-feedback-button:hover { transform: translateY(-1px); background: var(--teal); }
.support-feedback-button > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  font-weight: 900;
}
.support-feedback-button strong { font-size: 11px; }
.pilot-path {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
  gap: 12px;
}
.pilot-path article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 15px;
  border: 1px solid #d7e7e3;
  border-radius: 15px;
  background: linear-gradient(180deg,#ffffff,#f5fbf9);
}
.pilot-path article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-weight: 900;
}
.pilot-role-path article { border-top-width:6px; }
.pilot-role-path .pilot-step-tone-1 { border-top-color:#2f6fb2; background:linear-gradient(180deg,#f1f7ff,#fff); }
.pilot-role-path .pilot-step-tone-2 { border-top-color:#1f8f87; background:linear-gradient(180deg,#eefaf8,#fff); }
.pilot-role-path .pilot-step-tone-3 { border-top-color:#e29a32; background:linear-gradient(180deg,#fff8e9,#fff); }
.pilot-role-path .pilot-step-tone-4 { border-top-color:#8b66b2; background:linear-gradient(180deg,#f7f1fc,#fff); }
.pilot-role-path .pilot-step-tone-1 > span { background:#2f6fb2; }
.pilot-role-path .pilot-step-tone-2 > span { background:#1f8f87; }
.pilot-role-path .pilot-step-tone-3 > span { background:#b66a00; }
.pilot-role-path .pilot-step-tone-4 > span { background:#76519d; }
.pilot-ready-panel { border-top:6px solid #1f8f87; }
.pilot-ready-panel .pilot-check-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px 24px; }
.pilot-boundary { margin-top:16px; }
.pilot-introduction-panel { border-top:6px solid #194f7a; }
.pilot-introduction-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.pilot-introduction-grid article {
  display:flex;
  gap:12px;
  align-items:flex-start;
  min-height:150px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(150deg,#f4f9fd 0%,#fff 70%);
}
.pilot-introduction-grid article > span {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:50%;
  background:#194f7a;
  color:#fff;
  font-weight:800;
}
.pilot-introduction-grid h3 { margin:2px 0 7px; }
.pilot-introduction-grid p { margin:0; color:var(--muted); }
.pilot-introduction-note { margin-top:16px; }
.pilot-launch-gate{border-top:7px solid #b9403b!important}
.pilot-launch-gate>.panel-header{background:linear-gradient(105deg,#fff0ee,#fff 64%)!important}
.pilot-gate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pilot-gate-grid article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;padding:15px;border:1px solid #dfc3bf;border-radius:14px;background:linear-gradient(145deg,#fff7f5,#fff);box-shadow:0 5px 15px rgba(80,39,33,.06)}
.pilot-gate-grid article>span{display:grid;width:31px;height:31px;place-items:center;border-radius:10px;background:#a83d37;color:#fff;font-weight:900}
.pilot-gate-grid strong{display:block;color:#233d4a;font-size:.84rem}
.pilot-gate-grid p{min-height:52px;margin:5px 0 11px;color:#5b6b73;font-size:.69rem;line-height:1.5}
.pilot-scope-panel{border-top:7px solid #2f6d8a!important}
.pilot-scope-panel>.panel-header{background:linear-gradient(105deg,#edf6fa,#fff 64%)!important}
.pilot-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.pilot-scope-grid article{padding:17px;border:1px solid #cedce3;border-radius:14px;background:#f8fbfc}
.pilot-scope-grid article:first-child{border-left:5px solid #3f7661;background:#eef8f3}
.pilot-scope-grid article:last-child{border-left:5px solid #a96b18;background:#fff7e7}
.pilot-scope-grid strong{display:block;color:#203946;font-size:.9rem}
.pilot-scope-grid ul{margin:9px 0 0;padding-left:20px;color:#4d626d;font-size:.72rem;line-height:1.65}
.pilot-freeze-note{margin-top:14px}
.pilot-path h3 { margin-bottom: 6px; }
.pilot-path p { color: var(--muted); }
.pilot-packet-grid,
.pilot-info-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.pilot-info-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 16px 0;
}
.pilot-packet-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.pilot-packet-grid ol,
.pilot-check-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.pilot-packet-grid li,
.pilot-check-list li {
  margin: 6px 0;
}
@media (max-width:1100px) {
  .pilot-path,
  .pilot-packet-grid,
  .pilot-info-grid,
  .pilot-introduction-grid,
  .pilot-gate-grid,
  .pilot-scope-grid { grid-template-columns: 1fr; }
}

/* Scenario completion grid */
.scenario-grid-heading .heading-actions {
  align-items: end;
}

.scenario-grid-heading .heading-actions label {
  min-width: min(360px, 72vw);
}

.scenario-grid-metrics {
  margin-bottom: 20px;
}

.scenario-grid-panel {
  border-top: 5px solid #19766f;
  overflow: hidden;
}

.scenario-grid-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #d7e5e4;
  border-radius: 12px;
  background: #f7fbfb;
  color: #385552;
  font-size: .84rem;
  font-weight: 700;
}

.scenario-grid-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.scenario-grid-legend i {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  border: 1px solid #d4dfdf;
  background: white;
  font-style: normal;
  font-weight: 900;
}

.scenario-grid-legend i.passed { color: #08765d; background: #dbf5eb; border-color: #8bd3bd; }
.scenario-grid-legend i.failed { color: #a62d35; background: #fde7e8; border-color: #edafb3; }
.scenario-grid-legend i.pending { color: #8d5a00; background: #fff2d5; border-color: #e8c875; }
.scenario-grid-legend i.complete { background: #16876e; border-color: #16876e; box-shadow: inset 0 0 0 5px #d9f4eb; }

.scenario-grid-table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid #d8e2e1;
  border-radius: 14px;
  background: white;
}

.scenario-grid-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .88rem;
}

.scenario-grid-table th,
.scenario-grid-table td {
  min-width: 112px;
  height: 66px;
  padding: 9px 10px;
  border-right: 1px solid #dfe8e7;
  border-bottom: 1px solid #dfe8e7;
  text-align: center;
  background: #fff;
}

.scenario-grid-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 78px;
  background: #eaf4f3;
  color: #173f3b;
  box-shadow: 0 1px 0 #cbdad8;
}

.scenario-grid-table thead th span {
  display: block;
  max-width: 150px;
  margin: auto;
  line-height: 1.25;
}

.scenario-grid-table .scenario-grid-student-column {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 210px;
  max-width: 250px;
  text-align: left;
  background: #f8fbfb;
  box-shadow: 1px 0 0 #cbdad8;
}

.scenario-grid-table thead .scenario-grid-student-column {
  z-index: 5;
  background: #dcecea;
}

.scenario-grid-table .scenario-grid-student-column strong,
.scenario-grid-table .scenario-grid-student-column small {
  display: block;
}

.scenario-grid-table .scenario-grid-student-column small {
  margin-top: 3px;
  color: #69807e;
  font-weight: 500;
}

.scenario-grid-table tr.student-complete .scenario-grid-student-column {
  color: #075b49;
  background: #d9f4e9;
  box-shadow: inset 5px 0 #16876e, 1px 0 #9bcabb;
}

.scenario-grid-cell {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border-radius: 11px;
  border: 1px solid #d7e1e0;
  background: #fff;
  color: #829391;
}

button.scenario-grid-cell {
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

button.scenario-grid-cell:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgb(19 61 56 / 15%);
}

.scenario-grid-cell strong {
  font-size: 1.35rem;
  line-height: 1;
}

.scenario-grid-cell.passed { color: #08765d; background: #d9f4e9; border-color: #83cbb4; }
.scenario-grid-cell.failed { color: #aa2832; background: #fde4e6; border-color: #e8a2a8; }
.scenario-grid-cell.pending { color: #8a5900; background: #fff0cf; border-color: #e4c069; }
.scenario-grid-cell.empty { background: #fff; }
.scenario-grid-total strong { color: #08765d; }
.scenario-grid-total span { color: #5c706e; font-weight: 800; }

.scenario-grid-editor-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.scenario-grid-editor-columns > section {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dae5e4;
  border-radius: 14px;
  background: #f8fbfb;
}

.scenario-grid-choice-list {
  display: grid;
  gap: 7px;
  max-height: 300px;
  overflow: auto;
  padding-right: 4px;
}

.scenario-grid-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid #dce5e4;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.scenario-grid-choice:has(input:checked) {
  border-color: #58a997;
  background: #e9f7f3;
}

.scenario-grid-choice input {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  justify-self: center;
  flex: 0 0 18px;
}

.scenario-grid-choice span,
.scenario-grid-choice strong,
.scenario-grid-choice small {
  display: block;
}

.scenario-grid-choice > span {
  min-width: 0;
}

.scenario-grid-choice small {
  margin-top: 2px;
  color: #6a7e7c;
}

.scenario-grid-empty .empty {
  min-height: 330px;
}

@media (max-width: 760px) {
  .scenario-grid-editor-columns { grid-template-columns: 1fr; }
  .scenario-grid-table .scenario-grid-student-column { min-width: 170px; max-width: 190px; }
  .scenario-grid-heading .heading-actions,
  .scenario-grid-heading .heading-actions label { width: 100%; min-width: 0; }
}

/* Platform-owner SSD backup and recovery */
.backup-page-heading{border-left:6px solid #0b6b57;padding-left:1.15rem}
.backup-metric-grid .metric-card{border-top:4px solid #0b6b57}
.ssd-backup-panel{border:2px solid rgba(11,107,87,.28);box-shadow:0 18px 45px rgba(11,43,54,.1)}
.ssd-backup-panel>.panel-header{background:linear-gradient(120deg,rgba(11,107,87,.1),rgba(23,92,140,.08))}
.backup-source-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.25rem}
.backup-source-map>div{position:relative;padding:1.15rem 1rem 1rem 3.65rem;border:1px solid rgba(22,54,72,.14);border-radius:16px;background:#f7fbfc;min-height:130px}
.backup-source-map span{position:absolute;left:1rem;top:1rem;display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#0b6b57;color:#fff;font-weight:900}
.backup-source-map strong{display:block;color:#123544;margin-bottom:.35rem}
.backup-source-map p,.backup-contents p{margin:.35rem 0 0;color:#546b77;line-height:1.55}
.backup-actions{display:flex;align-items:center;gap:.75rem;padding:1rem 0}
.ssd-backup-progress{margin:1rem 0;padding:1rem;border-radius:14px;background:#eef7f5;border:1px solid rgba(11,107,87,.24)}
.backup-progress-label{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.65rem}
.backup-progress-label span{max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4e6874}
.backup-progress-track{height:12px;overflow:hidden;border-radius:999px;background:#d6e6e3;box-shadow:inset 0 1px 3px rgba(11,43,54,.14)}
.backup-progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b6b57,#21a477);transition:width .2s ease}
.backup-live-failures{margin-top:.85rem;padding:.8rem 1rem;border-radius:10px;background:#fff4f2;border:1px solid #e9a89e;color:#8a2f25}
.backup-live-failures ul{margin:.45rem 0 0;padding-left:1.2rem}
.backup-contents{margin-top:1rem;padding:1rem 1.1rem;border-radius:14px;background:#fff;border:1px solid rgba(22,54,72,.12)}
.backup-contents ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1.5rem;margin:.8rem 0;padding-left:1.25rem;color:#304f5d}
@media (max-width:900px){
  .backup-source-map{grid-template-columns:1fr}
  .backup-source-map>div{min-height:0}
}
@media (max-width:650px){
  .backup-actions{align-items:stretch;flex-direction:column}
  .backup-actions .button{width:100%}
  .backup-progress-label{align-items:flex-start;flex-direction:column}
  .backup-progress-label span{max-width:100%}
  .backup-contents ul{grid-template-columns:1fr}
}

/* Platform-owner quality control program */
.qc-page-heading{border-left:6px solid #176b78;padding-left:1.15rem}
.qc-document-banner{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(480px,1.3fr);gap:1.25rem;margin-bottom:1rem;padding:1.25rem;border-radius:20px;color:#fff;background:linear-gradient(125deg,#0d3449,#176b78 58%,#248d83);box-shadow:0 18px 42px rgba(13,52,73,.2)}
.qc-document-banner>div>span{display:block;margin-bottom:.35rem;color:#bfecea;font-size:.76rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.qc-document-banner>div>strong{display:block;font-size:1.15rem}
.qc-document-banner p{margin:.35rem 0 0;color:#d9f2f0}
.qc-document-banner dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0}
.qc-document-banner dl div{padding:.75rem .85rem;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.08)}
.qc-document-banner dt{color:#bfecea;font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.qc-document-banner dd{margin:.25rem 0 0;font-weight:750;line-height:1.4}
.qc-objectives{border-top:5px solid #d08127}
.qc-objectives ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1.5rem;margin:0;padding-left:1.25rem}
.qc-objectives li{line-height:1.55;color:#304f5d}
.qc-program-sections{display:grid;gap:.8rem;margin:1rem 0}
.qc-program-section{overflow:hidden;border:1px solid rgba(21,72,87,.18);border-radius:16px;background:#fff;box-shadow:0 9px 24px rgba(17,50,65,.07)}
.qc-program-section summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1rem 1.1rem;cursor:pointer;list-style:none;background:linear-gradient(90deg,rgba(23,107,120,.09),rgba(255,255,255,.98))}
.qc-program-section summary::-webkit-details-marker{display:none}
.qc-program-section summary strong,.qc-program-section summary small{display:block}
.qc-program-section summary strong{color:#123b4b;font-size:1.03rem}
.qc-program-section summary small{margin-top:.22rem;color:#617782;line-height:1.4}
.qc-section-number{display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:12px;background:#176b78;color:#fff;font-weight:900}
.qc-section-toggle{color:#176b78;font-size:1.5rem;font-weight:900;transition:transform .15s ease}
.qc-program-section[open] .qc-section-toggle{transform:rotate(180deg)}
.qc-section-body{padding:1rem 1.25rem 1.2rem;border-top:1px solid rgba(21,72,87,.12)}
.qc-section-body h3{margin:0 0 .65rem;color:#123b4b;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase}
.qc-section-body ul{margin:0;padding-left:1.25rem}
.qc-section-body li{margin:.42rem 0;color:#304f5d;line-height:1.52}
.qc-records{margin-top:1rem;padding:.85rem 1rem;border-radius:12px;background:#f4f8f8}
.qc-records>strong{display:block;margin-bottom:.55rem;color:#123b4b}
.qc-records>div{display:flex;flex-wrap:wrap;gap:.45rem}
.qc-records span{padding:.32rem .58rem;border:1px solid rgba(23,107,120,.18);border-radius:999px;background:#fff;color:#41616d;font-size:.82rem;font-weight:750}
.qc-references{border-top:5px solid #176b78}
.qc-references ul{margin:0;padding-left:1.25rem}
.qc-references li{margin:.4rem 0}
@media (max-width:850px){
  .qc-document-banner{grid-template-columns:1fr}
  .qc-objectives ul{grid-template-columns:1fr}
}
@media (max-width:560px){
  .qc-document-banner dl{grid-template-columns:1fr}
  .qc-program-section summary{gap:.7rem;padding:.85rem}
  .qc-section-body{padding:.9rem}
}
@media print{
  .qc-document-banner{box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .qc-program-section{break-inside:avoid;box-shadow:none}
  .qc-program-section:not([open])>.qc-section-body{display:block}
}

/* Comprehensive Scope of Practice Testing Board */
.tsop-board-layout {
  display: grid;
  grid-template-columns: minmax(280px,.85fr) minmax(360px,1.15fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}
.tsop-self-panel { border-top: 5px solid var(--teal); }
.tsop-assign-panel { border-top: 5px solid #2674b8; }
.tsop-status-buttons,
.ai-why-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tsop-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(245px,1fr));
  gap: 14px;
}
.tsop-board-card {
  border: 1px solid var(--line-clean);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}
.tsop-board-card.needs_lead { border-color: #d25c43; box-shadow: 0 16px 36px rgba(210,92,67,.14); }
.tsop-board-card.available { border-color: rgba(31,143,135,.45); }
.tsop-board-card.busy,
.tsop-board-card.assigned { border-color: rgba(20,45,74,.3); }
.tsop-command-panel {
  border-top: 6px solid #2674b8;
  margin-bottom: 18px;
}
.tsop-step-blue { border-top-color:#2674b8; background:linear-gradient(180deg,rgba(235,245,255,.78),#fff 160px); }
.tsop-step-teal > .panel,.tsop-instructor-step.step-teal { border-top:6px solid #1f8f87; background:linear-gradient(180deg,rgba(235,250,247,.82),#fff 170px); }
.tsop-step-amber { border-top:6px solid #d88a20; background:linear-gradient(180deg,rgba(255,247,229,.85),#fff 170px); }
.tsop-instructor-step { margin-bottom:18px; overflow:hidden; }
.tsop-instructor-heading { align-items:flex-start; flex-wrap:wrap; }
.tsop-instructor-heading > div:first-child { flex:1 1 500px; min-width:0; }
.tsop-instructor-heading .heading-actions { flex:0 1 270px; }
.tsop-instructor-step.step-blue { border-top:6px solid #2674b8; }
.tsop-instructor-step .panel-header { align-items:flex-start; }
.tsop-step-number { float:left; display:grid; place-items:center; width:34px; height:34px; margin:0 10px 8px 0; border-radius:50%; background:currentColor; color:#fff; font-size:16px; font-weight:900; }
.tsop-instructor-step.step-blue .tsop-step-number { background:#2674b8; }
.tsop-instructor-step.step-teal .tsop-step-number { background:#1f8f87; }
.tsop-instructor-step.step-amber .tsop-step-number { background:#b66a00; }
.tsop-my-assignment .tsop-board-card { max-width:640px; box-shadow:none; }
.tsop-status-buttons .button { border-width:2px; font-weight:900; }
.tsop-status-available { border-color:#298b5b; color:#17653f; background:#effaf4; }
.tsop-status-busy { border-color:#2674b8; color:#174e7d; background:#eef6fd; }
.tsop-status-needs_lead { border-color:#c75445; color:#8d3026; background:#fff1ee; }
.tsop-status-offline { border-color:#82929a; color:#516168; background:#f4f7f8; }
.tsop-status-buttons .button.is-current { box-shadow:0 0 0 4px rgba(31,143,135,.16); color:#fff; }
.tsop-status-buttons .tsop-status-available.is-current { background:#298b5b; }
.tsop-status-buttons .tsop-status-busy.is-current { background:#2674b8; }
.tsop-status-buttons .tsop-status-needs_lead.is-current { background:#c75445; }
.tsop-status-buttons .tsop-status-offline.is-current { background:#66777f; }
.tsop-command-grid,
.tsop-queue-grid {
  display: grid;
  gap: 12px;
}
.tsop-command-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin-bottom: 16px;
}
.tsop-command-grid article {
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 16px;
  background: #f8fbfb;
  padding: 14px;
}
.tsop-command-grid article.alert {
  border-color: rgba(210,92,67,.35);
  background: #fff7f3;
}
.tsop-command-grid span,
.tsop-queue-list span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tsop-command-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 28px;
}
.tsop-command-grid small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.tsop-queue-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin-bottom: 16px;
}
.tsop-queue-grid section {
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 16px;
  background: #fff;
  padding: 13px;
}
.tsop-queue-grid h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 13px;
}
.tsop-queue-list {
  display: grid;
  gap: 8px;
}
.tsop-queue-list article {
  border-radius: 12px;
  background: #f8fbfb;
  padding: 10px;
}
.tsop-queue-list strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 12px;
}
.tsop-queue-list small,
.tsop-queue-list p {
  display: block;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.tsop-warning-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}
.tsop-warning-list article {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  gap: 9px;
  align-items: start;
  border: 1px solid rgba(211,166,53,.24);
  border-left: 4px solid #d3a635;
  border-radius: 12px;
  background: #fffdf5;
  padding: 9px 10px;
}
.tsop-warning-list article.critical {
  border-color: rgba(210,92,67,.24);
  border-left-color: #d25c43;
  background: #fff7f3;
}
.tsop-warning-list article.info {
  border-color: rgba(31,143,135,.18);
  border-left-color: var(--teal);
  background: #f7fbfa;
}
.tsop-warning-list article>span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--coral);
  font-weight: 900;
}
.tsop-warning-list strong {
  color: var(--navy);
  font-size: 12px;
}
.tsop-warning-list p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.tsop-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tsop-card-actions .button {
  flex: 1 1 auto;
}
.tsop-start-notice {
  margin-bottom: 18px;
}
.tsop-card-top {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.tsop-card-top small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.tsop-card-body {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.tsop-card-body p {
  margin: 0;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  gap: 8px;
  font-size: 12px;
}
.tsop-card-body b {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 10px;
}

/* AI explanation while grading */
.ai-why-panel {
  border-top: 5px solid var(--amber);
}
.ai-why-panel textarea {
  min-height: 92px;
  margin-top: 10px;
}
.ai-answer-box {
  margin-top: 12px;
  padding: 13px;
  border-radius: 14px;
  background: #f8fbfb;
  border: 1px solid rgba(31,143,135,.24);
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}
.ai-answer-box p {
  margin: 8px 0 0;
  color: var(--muted);
}
.ai-answer-box small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width:1100px) {
  .tsop-board-layout { grid-template-columns: 1fr; }
  .tsop-command-grid,
  .tsop-queue-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:680px) {
  .tsop-command-grid,
  .tsop-queue-grid { grid-template-columns: 1fr; }
}
@media (max-width:780px) {
  .support-feedback-button { left: 14px; bottom: 70px; }
  .support-feedback-dismiss { left: 9px; bottom: 115px; }
}
@media print {
  .sidebar,.topbar,.next-step-button,.support-feedback-button,.floating-helper-dismiss,.heading-actions,.toast-region { display:none !important; }
  .app-shell { display:block; }
  .main,.page { padding:0 !important; }
  .panel { break-inside: avoid; box-shadow:none !important; }
}

@media (max-width: 1050px) {
  .support-workspace-grid,
  .assistant-workspace-grid {
    grid-template-columns: 1fr;
  }
  .support-entry-panel,
  .assistant-prompt-panel {
    position: static;
  }
  .student360-grid,
  .binder-check-grid,
  .import-template-grid,
  .external-import-help,
  .processing-stage-strip,
  .external-import-steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .external-import-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { width: 242px; }
  .topbar { height: 58px; padding-inline: 14px; }
  .global-search { flex: 1 1 auto; min-width: 0; max-width: none; margin: 0 8px; }
  .global-search input { font-size: 11px; }
  .global-search-panel { position: fixed; top: 64px; left: 10px; right: 10px; max-height: calc(100vh - 78px); }
  .global-student-card { grid-template-columns: auto minmax(0,1fr); }
  .global-result-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .student-summary-skills { grid-template-columns: 1fr; }
  .student-completion-summary { grid-template-columns: 1fr; }
  .page { padding: 20px 14px 120px; }
  .page-heading {
    border-bottom: 1px solid var(--line-clean);
    padding: 0 0 16px;
  }
  .metric-grid { gap: 10px; }
  .panel-header,
  .modal-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .filter-row input,
  .filter-row select {
    width: 100%;
  }
  .student360-tools,
  .student360-grid,
  .binder-check-grid,
  .import-template-grid,
  .external-import-help,
  .processing-stage-strip,
  .external-import-steps,
  .import-preview-guide,
  .column-map-grid,
  .import-template-actions {
    grid-template-columns: 1fr;
  }
  .import-template-card,
  .processing-status-row {
    grid-template-columns: 1fr;
  }
  .import-template-card {
    flex-direction:column;
  }
  .processing-status-side {
    justify-items:start;
  }
  .binder-check-grid article,
  .student360-head {
    grid-template-columns: auto minmax(0,1fr);
  }
  .binder-check-grid article > .badge,
  .student360-head > .badge {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.practice-scenario-heading {
  background: linear-gradient(135deg, rgba(13, 71, 96, .08), rgba(14, 165, 166, .08));
  border: 1px solid rgba(13, 71, 96, .12);
  border-radius: 24px;
  padding: 22px;
}

.practice-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.practice-session-list .evaluation-list {
  max-height: 680px;
  overflow: auto;
  padding-right: 4px;
}

.practice-session-list .evaluation-row.active {
  border-color: rgba(14, 165, 166, .42);
  background: rgba(14, 165, 166, .08);
}

.practice-session-panel .panel-body {
  display: grid;
  gap: 16px;
}

.practice-dispatch {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(13, 71, 96, .16);
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(232, 246, 248, .82));
  border-radius: 20px;
  padding: 18px;
}

.practice-dispatch span,
.practice-chat-thread article span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.practice-dispatch strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.practice-chat-thread {
  display: grid;
  gap: 12px;
  max-height: 520px;
  overflow: auto;
  padding: 4px;
}

.practice-chat-thread article,
.practice-chat-empty {
  border: 1px solid var(--line-clean);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.practice-chat-thread article.student {
  margin-left: clamp(18px, 10%, 110px);
  background: #0d4760;
  color: #fff;
  border-color: rgba(13, 71, 96, .2);
}

.practice-chat-thread article.student span,
.practice-chat-thread article.student small {
  color: rgba(255,255,255,.72);
}

.practice-chat-thread article.patient {
  margin-right: clamp(18px, 10%, 110px);
}

.practice-chat-thread article p {
  margin: 6px 0 0;
  line-height: 1.55;
}

.practice-message-form {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line-clean);
  padding-top: 16px;
}

.practice-message-form textarea {
  min-height: 120px;
}

.practice-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.practice-score-report {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line-clean);
  padding-top: 16px;
}

.practice-score-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(18, 135, 104, .12), rgba(14, 165, 166, .08));
}

.practice-score-hero h2 {
  margin: 4px 0;
  font-size: 34px;
}

.practice-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.practice-score-grid article {
  border: 1px solid var(--line-clean);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}

.practice-score-grid h3,
.practice-answer-key h4 {
  margin-top: 0;
}

.practice-answer-key {
  border: 1px dashed rgba(13, 71, 96, .28);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(248, 250, 252, .9);
}

.practice-answer-key summary {
  cursor: pointer;
  font-weight: 800;
}

.practice-allocation-table input {
  width: 92px;
}

.practice-allocation-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.practice-allocation-form .form-error {
  flex-basis: 100%;
}

@media (max-width: 1100px) {
  .practice-layout,
  .practice-score-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 2026 visual refinement: warmer command-center depth without changing workflows. */
:root {
  --aqua: #22b8ad;
  --aqua-glow: rgba(34,184,173,.18);
  --copper: #f19a5b;
  --copper-glow: rgba(241,154,91,.16);
  --violet: #6d6ee8;
  --sky: #4aa3ff;
  --glass: rgba(255,255,255,.76);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 14%, rgba(34,184,173,.13), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(241,154,91,.12), transparent 25rem),
    radial-gradient(circle at 68% 92%, rgba(109,110,232,.08), transparent 30rem);
}

.app-main,
main {
  background:
    linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0) 340px),
    radial-gradient(circle at 72% 0%, rgba(34,184,173,.06), transparent 28rem);
}

.page-heading {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(246,250,249,.82)),
    radial-gradient(circle at 92% 16%, var(--aqua-glow), transparent 16rem);
  box-shadow: 0 22px 60px rgba(16,42,53,.09);
}

.page-heading::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -120px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241,154,91,.22), transparent 64%);
}

.page-heading > * {
  position: relative;
  z-index: 1;
}

.panel,
.metric,
.evaluation-row,
.student-card,
.sample-demo-panel,
.billing-addon-card {
  border-color: rgba(191,205,200,.82);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88)),
    radial-gradient(circle at 100% 0%, rgba(34,184,173,.045), transparent 12rem);
  box-shadow: 0 12px 34px rgba(16,42,53,.065);
}

.panel {
  backdrop-filter: blur(12px);
}

.panel-header {
  border-bottom-color: rgba(223,228,225,.74);
}

.metric {
  position: relative;
  overflow: hidden;
}

.metric::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--aqua), var(--copper));
  opacity: .84;
}

.metric strong {
  color: #0e3947;
}

.metric.warn::before {
  background: linear-gradient(180deg, #f5b45f, #ef785f);
}

.metric.alert::before {
  background: linear-gradient(180deg, #ef785f, #b74b4b);
}

.button.primary {
  border-color: #168a83;
  background: linear-gradient(135deg, #1f9f96, #13726d);
  box-shadow: 0 12px 24px rgba(19,114,109,.18);
}

.button.primary:hover {
  background: linear-gradient(135deg, #28b1a7, #13726d);
}

.sidebar {
  background:
    radial-gradient(circle at 24% 0%, rgba(34,184,173,.2), transparent 18rem),
    radial-gradient(circle at 100% 42%, rgba(241,154,91,.12), transparent 16rem),
    linear-gradient(180deg, #0b2631 0%, #102a35 62%, #091d27 100%);
  box-shadow: 18px 0 48px rgba(7,29,40,.16);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(34,184,173,.22), rgba(255,255,255,.055));
  box-shadow: inset 3px 0 0 #7bdbd1;
}

.quota-panel {
  background:
    linear-gradient(135deg, rgba(13,71,96,.96), rgba(18,92,99,.9)),
    radial-gradient(circle at 92% 18%, rgba(123,219,209,.24), transparent 13rem);
  color: #fff;
}

.quota-panel .eyebrow,
.quota-panel p,
.quota-panel small {
  color: rgba(255,255,255,.75);
}

.quota-panel .quota-meter {
  background: rgba(255,255,255,.14);
}

.quota-panel .quota-meter span {
  background: linear-gradient(90deg, #7bdbd1, #f2a45d);
}

.quota-panel-evaluations,
.quota-panel-scenario {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  align-items: stretch;
}

.quota-number-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 10px;
}

.quota-number-row strong {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: .9;
  letter-spacing: -.06em;
}

.quota-number-row span {
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.quota-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.quota-stat-tile {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  padding: 13px;
}

.quota-stat-tile strong,
.quota-stat-tile span {
  display: block;
}

.quota-stat-tile strong {
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.05;
}

.quota-stat-tile span {
  margin-top: 4px;
  color: rgba(255,255,255,.76);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quota-meter.labeled {
  position: relative;
  grid-column: 1 / -1;
  min-height: 38px;
  border-radius: 14px;
}

.quota-meter.labeled span {
  min-width: 7px;
}

.quota-meter.labeled small {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.quota-meter.empty span {
  opacity: .26;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.8) 8px, rgba(255,255,255,.35) 8px, rgba(255,255,255,.35) 16px);
}

.quota-meter.unlimited span {
  background: linear-gradient(90deg, #7bdbd1, #b9f0eb);
}

.billing-meter .quota-meter.labeled {
  min-height: 32px;
  background: #edf1ef;
}

.billing-meter .quota-meter.labeled small {
  color: var(--navy);
}

.billing-meter .quota-meter.empty span {
  opacity: .48;
  background: repeating-linear-gradient(135deg, #dce8e5, #dce8e5 8px, #f3f7f6 8px, #f3f7f6 16px);
}

.billing-meter.balance strong small {
  color: var(--text-muted);
}

@media (max-width:780px) {
  .quota-panel-evaluations,
  .quota-panel-scenario {
    grid-template-columns: 1fr;
  }
  .quota-number-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .quota-visual-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.offline-workspace-panel {
  border-color: rgba(34,184,173,.28);
  background:
    linear-gradient(135deg, rgba(236,250,248,.96), rgba(255,250,244,.94)),
    radial-gradient(circle at 94% 0%, rgba(241,154,91,.22), transparent 18rem);
}

.offline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 16px 0;
}

.offline-import-box {
  flex: 1 1 280px;
  margin: 0;
  border: 1px dashed rgba(19,114,109,.38);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.68);
}

.offline-import-box input {
  margin-top: 8px;
}

.offline-transfer-group {
  border: 1px solid rgba(19,114,109,.14);
  border-radius: 18px;
  padding: 14px;
  margin: 12px 0;
  background: rgba(255,255,255,.72);
}

.offline-transfer-group > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.offline-transfer-group p {
  margin: 4px 0 0;
  color: var(--muted);
}

.offline-transfer-items {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.offline-transfer-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(10,61,58,.08);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
}

.offline-transfer-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.metric-grid .metric {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 108px;
  border: 1px solid rgba(168,188,184,.42);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,252,251,.9));
  padding: 16px 16px 14px 20px;
  box-shadow: 0 10px 24px rgba(16,42,53,.055);
}

.metric-grid .metric strong {
  display: block;
  color: #0b3542;
  font: 850 28px/1 'Manrope', system-ui, sans-serif;
  letter-spacing: -.04em;
}

.metric-grid .metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.offline-workspace-panel,
.offline-workspace-panel .panel-header,
.offline-workspace-panel .panel-body,
.offline-workspace-panel .notice,
.offline-workspace-panel .offline-actions {
  min-width: 0;
  max-width: 100%;
}

.offline-workspace-panel .offline-actions .button {
  flex: 0 1 auto;
  white-space: normal;
}

.offline-workspace-panel .metric-grid {
  margin-bottom: 16px;
}

@media (max-width: 1100px) {
  .offline-workspace-panel .metric-grid,
  .panel .metric-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .offline-workspace-panel .metric-grid,
  .panel .metric-grid {
    grid-template-columns: 1fr;
  }
}


.login-card {
  border: 1px solid rgba(223,228,225,.9);
  border-radius: 28px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.92)),
    radial-gradient(circle at 100% 0%, rgba(34,184,173,.08), transparent 14rem);
  box-shadow: 0 24px 70px rgba(16,42,53,.12);
}

.story-actions,
.hero-snapshot,
.public-how-it-works article {
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

/* Command-center visual refresh: make the public page feel meaningfully redesigned. */
.login-story {
  background:
    radial-gradient(circle at 10% 12%, rgba(34,184,173,.34), transparent 22rem),
    radial-gradient(circle at 78% 8%, rgba(74,163,255,.16), transparent 24rem),
    radial-gradient(circle at 92% 68%, rgba(241,154,91,.2), transparent 26rem),
    linear-gradient(115deg, transparent 0 56%, rgba(34,184,173,.09) 56% 56.7%, transparent 56.7% 100%),
    linear-gradient(118deg, transparent 0 67%, rgba(241,154,91,.09) 67% 67.7%, transparent 67.7% 100%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(145deg, #061a24 0%, #0d3443 48%, #061923 100%);
  background-size: auto, auto, auto, auto, auto, 38px 38px, 38px 38px, auto;
}

.login-story::before {
  right: -210px;
  top: -120px;
  width: 620px;
  height: 620px;
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(34,184,173,.2), rgba(255,255,255,.035)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 26px);
  box-shadow: 0 0 0 82px rgba(255,255,255,.018), 0 38px 100px rgba(0,0,0,.22);
}

.login-story::after {
  left: auto;
  right: 18%;
  bottom: -220px;
  width: 520px;
  height: 520px;
  background:
    radial-gradient(circle, rgba(241,154,91,.22), transparent 60%),
    conic-gradient(from 120deg, rgba(34,184,173,.1), transparent, rgba(241,154,91,.12), transparent);
}

.story-copy h1 {
  max-width: 760px;
  font-size: clamp(44px, 5.8vw, 74px);
  text-wrap: balance;
}

.headline-accent {
  position: relative;
}

.headline-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: .08em;
  bottom: -.08em;
  height: .12em;
  border-radius: 999px;
  background: linear-gradient(90deg, #78d0c7, #f2a45d);
  opacity: .85;
}

.hero-kicker {
  width: max-content;
  border: 1px solid rgba(123,219,209,.35);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(123,219,209,.11);
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
}

.positioning-points {
  gap: 10px;
}

.positioning-points span {
  background:
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.055)),
    radial-gradient(circle at 0 0, rgba(123,219,209,.16), transparent 8rem);
  color: #f2fffd;
}

.story-actions.demo-cta {
  border: 1px solid rgba(242,164,93,.7);
  background:
    linear-gradient(135deg, rgba(239,120,95,.32), rgba(242,164,93,.2) 42%, rgba(34,184,173,.14)),
    radial-gradient(circle at 0 0, rgba(255,255,255,.18), transparent 12rem);
  box-shadow: 0 28px 70px rgba(239,120,95,.26), 0 14px 42px rgba(0,0,0,.22);
}

.story-actions.demo-cta strong {
  font-size: 22px;
}

.story-actions.demo-cta button {
  min-height: 60px;
  background:
    linear-gradient(135deg, #ff8b6d, #f2a45d),
    radial-gradient(circle at 20% 0, rgba(255,255,255,.35), transparent 6rem);
  box-shadow: 0 22px 42px rgba(239,120,95,.45);
}

.hero-snapshot.command-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(123,219,209,.34);
  background:
    linear-gradient(180deg, rgba(8,32,43,.94), rgba(9,45,58,.9)),
    radial-gradient(circle at 20% 10%, rgba(123,219,209,.18), transparent 18rem),
    radial-gradient(circle at 92% 80%, rgba(242,164,93,.14), transparent 18rem);
  box-shadow: 0 36px 100px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}

.hero-snapshot.command-preview::before {
  content: '';
  position: absolute;
  inset: -40% -30% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(123,219,209,.28), transparent, rgba(242,164,93,.18), transparent);
  filter: blur(.2px);
  opacity: .9;
}

.hero-snapshot.command-preview::after {
  content: 'Comprehensive Scope of Practice • EVIDENCE • FEEDBACK • REMEDIATION • ACCREDITATION';
  position: absolute;
  right: -34px;
  bottom: 18px;
  transform: rotate(-90deg);
  transform-origin: right bottom;
  color: rgba(255,255,255,.14);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}

.hero-snapshot.command-preview > * {
  position: relative;
  z-index: 1;
}

.command-status-strip {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 14px 15px;
  background:
    linear-gradient(135deg, rgba(123,219,209,.16), rgba(255,255,255,.045)),
    radial-gradient(circle at 100% 0, rgba(242,164,93,.16), transparent 10rem);
}

.command-status-strip b {
  color: #fff;
  font-size: 15px;
  letter-spacing: -.01em;
}

.command-status-strip span {
  color: #b7d6da;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.command-preview-main {
  grid-template-columns: 164px minmax(0, 1fr);
}

.readiness-ring {
  min-height: 164px;
  background:
    radial-gradient(circle at center, #08212c 0 49%, transparent 50%),
    conic-gradient(#78d0c7 0 64%, #f2a45d 64% 84%, rgba(255,255,255,.14) 84% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 20px 46px rgba(0,0,0,.25);
}

.readiness-ring b {
  font-size: 42px;
}

.preview-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-stack article {
  min-height: 94px;
  align-content: center;
  background:
    linear-gradient(150deg, rgba(255,255,255,.095), rgba(255,255,255,.045)),
    radial-gradient(circle at 100% 0, rgba(123,219,209,.12), transparent 9rem);
}

.preview-stack article:nth-child(3),
.preview-stack article:nth-child(4) {
  border-color: rgba(242,164,93,.18);
  background:
    linear-gradient(150deg, rgba(242,164,93,.11), rgba(255,255,255,.04)),
    radial-gradient(circle at 100% 0, rgba(242,164,93,.12), transparent 9rem);
}

.preview-stack strong {
  font-size: clamp(24px, 2.1vw, 32px);
}

.command-flow-map {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 10px;
  background: rgba(7,29,40,.44);
}

.command-flow-map span {
  color: #e6f8f6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.command-flow-map i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #78d0c7, #f2a45d);
  box-shadow: 0 0 18px rgba(123,219,209,.4);
}

.login-panel {
  background:
    radial-gradient(circle at 10% 8%, rgba(34,184,173,.12), transparent 18rem),
    radial-gradient(circle at 95% 85%, rgba(241,154,91,.12), transparent 20rem),
    linear-gradient(155deg,#fbfcfa 0%,#eef6f3 100%);
}

.login-card {
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(16,42,53,.18);
}

.login-card h2 {
  font-size: 38px;
}

@media (min-width: 1080px) {
  .login-story {
    padding: clamp(42px, 5vw, 74px) clamp(46px, 5.7vw, 92px);
  }

  .story-copy {
    display: grid;
    grid-template-columns: minmax(470px, 1.02fr) minmax(380px, .82fr);
    gap: 16px 36px;
    align-items: start;
    max-width: 1180px;
  }

  .story-copy .hero-kicker,
  .story-copy h1,
  .story-message,
  .positioning-points,
  .story-actions,
  .story-section-label {
    grid-column: 1;
  }

  .hero-snapshot.command-preview {
    grid-column: 2;
    grid-row: 1 / span 6;
    margin-top: 0;
    align-self: stretch;
    min-height: 590px;
  }

  .public-how-it-works {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1180px) {
  .preview-stack {
    grid-template-columns: 1fr;
  }

  .hero-snapshot.command-preview {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .command-status-strip,
  .command-flow-map {
    display: none;
  }
}

/* Stabilize the landing layout after the command-center refresh. */
.login-shell {
  align-items: stretch;
}

.login-panel {
  min-height: 100vh;
  align-items: start;
  justify-items: center;
  place-items: start center;
  padding-top: clamp(28px, 5vh, 54px);
}

.story-copy {
  display: block;
  max-width: 820px;
}

.story-copy h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.03;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-snapshot.command-preview {
  width: min(720px, 100%);
  min-height: 0;
  margin-top: 22px;
}

.hero-snapshot.command-preview::after {
  display: none;
}

.command-preview-main {
  grid-template-columns: minmax(132px, 156px) minmax(0, 1fr);
}

.readiness-ring {
  min-height: 150px;
}

.preview-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-stack article {
  min-height: 84px;
}

.public-how-it-works {
  max-width: 820px;
}

@media (min-width: 1080px) {
  .story-copy {
    display: block;
    max-width: 820px;
  }

  .story-copy .hero-kicker,
  .story-copy h1,
  .story-message,
  .positioning-points,
  .story-actions,
  .story-section-label,
  .hero-snapshot.command-preview,
  .public-how-it-works {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-snapshot.command-preview {
    align-self: auto;
    min-height: 0;
  }
}

@media (max-width: 1180px) {
  .story-copy h1 {
    font-size: clamp(32px, 4.8vw, 48px);
  }
}

@media (max-width: 760px) {
  .login-panel {
    place-items: center;
    padding-top: 26px;
  }

  .story-copy h1 {
    overflow-wrap: anywhere;
  }
}

/* Final landing-page polish: keep the sign-in view readable instead of poster-sized. */
#login-screen .story-panel {
  align-items: start;
  padding-top: clamp(40px, 6vh, 72px);
  padding-bottom: clamp(40px, 6vh, 72px);
}

#login-screen .story-copy {
  max-width: 760px;
}

#login-screen .story-copy h1 {
  max-width: 710px;
  margin: 12px 0 18px;
  font-size: clamp(32px, 3.35vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

#login-screen .story-message {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

#login-screen .story-copy .story-lead {
  max-width: 710px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.45;
  color: #eef8f7;
}

#login-screen .story-copy .story-secondary {
  display: block;
  padding: 12px 14px;
  border-left-width: 4px;
  font-size: 14px;
  line-height: 1.45;
}

#login-screen .story-copy .story-secondary strong {
  display: block;
  margin-bottom: 4px;
}

#login-screen .positioning-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 18px;
}

#login-screen .positioning-points span {
  min-height: 0;
  padding: 8px 10px;
  font-size: 12px;
}

#login-screen .story-actions.demo-cta {
  margin: 14px 0 18px;
  padding: 12px 14px;
  gap: 14px;
}

#login-screen .story-actions.demo-cta strong {
  font-size: 17px;
}

#login-screen .story-actions.demo-cta button {
  min-height: 46px;
  padding: 11px 18px;
}

#login-screen .hero-snapshot.command-preview {
  width: min(680px, 100%);
  margin-top: 18px;
  padding: 14px;
}

#login-screen .command-status-strip {
  padding: 10px 12px;
}

#login-screen .readiness-ring {
  min-height: 126px;
}

#login-screen .preview-stack article {
  min-height: 74px;
  padding: 10px;
}

#login-screen .impact-preview .readiness-ring span {
  max-width: 112px;
}

#login-screen .impact-preview .preview-stack strong {
  font-size: clamp(20px, 1.75vw, 27px);
}

.audio-processing-note {
  margin: 8px 0 0;
  padding: 9px 11px;
  border: 1px solid rgba(31, 143, 135, .16);
  border-radius: 12px;
  background: rgba(31, 143, 135, .07);
  color: var(--text-muted);
}

#login-screen .story-section-label,
#login-screen .public-how-it-works {
  display: none;
}

@media (max-width: 760px) {
  #login-screen .story-panel {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #login-screen .story-copy h1 {
    font-size: clamp(32px, 11vw, 42px);
  }

  #login-screen .positioning-points,
  #login-screen .preview-stack {
    grid-template-columns: 1fr;
  }

  #login-screen .hero-snapshot.command-preview {
    display: none;
  }
}

/* Product-wide visual refresh: richer command-center depth, clearer sections, calmer contrast. */
:root {
  --visual-ink: #102a35;
  --visual-card: rgba(255,255,255,.90);
  --visual-card-strong: rgba(255,255,255,.96);
  --visual-border: rgba(168,188,184,.58);
  --visual-border-strong: rgba(31,143,135,.26);
  --visual-shadow: 0 16px 44px rgba(12,38,49,.075);
  --visual-shadow-lift: 0 22px 58px rgba(12,38,49,.12);
  --visual-highlight: linear-gradient(135deg, rgba(34,184,173,.16), rgba(241,154,91,.10));
}

html { background:#eef4f2; }
body {
  background:
    radial-gradient(circle at 8% 9%, rgba(34,184,173,.16), transparent 28rem),
    radial-gradient(circle at 93% 7%, rgba(241,154,91,.13), transparent 26rem),
    radial-gradient(circle at 66% 94%, rgba(80,126,255,.08), transparent 32rem),
    linear-gradient(180deg,#f7faf8 0%,#eef4f2 48%,#f5f0e8 100%);
}
body::after {
  content:'';
  position:fixed;
  inset:auto -18vw -32vh auto;
  z-index:-1;
  width:58vw;
  height:58vw;
  pointer-events:none;
  border-radius:50%;
  background:radial-gradient(circle, rgba(239,120,95,.12), transparent 62%);
  filter:blur(1px);
}

.main {
  position:relative;
  isolation:isolate;
}
.main::before {
  content:'';
  position:fixed;
  inset:0 0 auto var(--sidebar);
  z-index:-1;
  height:240px;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(31,143,135,.10), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,0));
}

.topbar {
  border-bottom:1px solid rgba(255,255,255,.62);
  background:rgba(250,252,250,.72);
  box-shadow:0 18px 42px rgba(13,39,50,.075);
  backdrop-filter:blur(18px) saturate(1.2);
}
.global-search,
.icon-button,
.view-switcher select,
.mode-switcher select {
  border-color:rgba(168,188,184,.54);
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 26px rgba(16,42,53,.055);
}
.global-search:focus-within {
  border-color:rgba(31,143,135,.44);
  box-shadow:0 14px 34px rgba(31,143,135,.12), 0 0 0 4px rgba(31,143,135,.08);
}

.sidebar {
  border-right:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 12% 4%, rgba(123,219,209,.24), transparent 14rem),
    radial-gradient(circle at 104% 38%, rgba(241,154,91,.17), transparent 18rem),
    linear-gradient(180deg,#071f2a 0%,#102a35 56%,#071c26 100%);
}
.sidebar .brand {
  color:#f7fffd;
}
.nav-item,
.nav-group > summary {
  position:relative;
}
.nav-item::after,
.nav-group > summary::after {
  content:'';
  position:absolute;
  inset:7px auto 7px 0;
  width:3px;
  border-radius:999px;
  background:transparent;
}
.nav-item:hover,
.nav-group > summary:hover {
  background:rgba(255,255,255,.075);
}
.nav-item.active {
  color:#e8fffb;
  background:linear-gradient(90deg, rgba(34,184,173,.28), rgba(255,255,255,.06));
}
.nav-item.active::after { background:#7bdbd1; }

.page {
  max-width:1420px;
}
.page-heading {
  margin-bottom:24px;
  border:1px solid rgba(255,255,255,.76);
  border-radius:28px;
  background:
    radial-gradient(circle at 88% 16%, rgba(34,184,173,.17), transparent 16rem),
    linear-gradient(135deg,rgba(255,255,255,.94),rgba(248,252,251,.74));
  box-shadow:var(--visual-shadow);
  padding:clamp(22px,3vw,34px);
}
.page-heading::before {
  content:'';
  position:absolute;
  left:0;
  top:22px;
  bottom:22px;
  width:5px;
  border-radius:0 999px 999px 0;
  background:linear-gradient(180deg,var(--aqua),var(--copper));
}
.page-heading h1 {
  color:var(--visual-ink);
  text-wrap:balance;
}
.page-heading p {
  color:#51646c;
  font-size:14px;
}
.page-heading .eyebrow {
  border-color:rgba(31,143,135,.20);
  background:linear-gradient(135deg,rgba(223,242,239,.92),rgba(255,255,255,.72));
}

.panel,
.metric-card,
.metric,
.evaluation-row,
.knowledge-card,
.training-tool-card,
.resource-group,
.student-command-center,
.student-dashboard-band,
.counseling-record,
.practice-session-panel,
.practice-session-list,
.support-entry-panel,
.assistant-prompt-panel,
.assistant-output-panel {
  border-color:var(--visual-border);
  background:
    linear-gradient(180deg,var(--visual-card-strong),var(--visual-card)),
    radial-gradient(circle at 100% 0%, rgba(34,184,173,.06), transparent 13rem);
  box-shadow:var(--visual-shadow);
}
.panel:hover,
.metric-card:hover,
.evaluation-row:hover,
.knowledge-card:hover,
.training-tool-card:hover,
.resource-link:hover {
  border-color:var(--visual-border-strong);
  box-shadow:var(--visual-shadow-lift);
}
.panel-header {
  position:relative;
  border-bottom-color:rgba(215,225,222,.78);
  background:
    linear-gradient(180deg,rgba(255,255,255,.90),rgba(250,253,252,.72));
}
.panel-header::before {
  content:'';
  position:absolute;
  left:16px;
  right:16px;
  top:0;
  height:1px;
  background:linear-gradient(90deg,rgba(31,143,135,.26),transparent 55%);
}
.panel-header h2,
.panel-header h3 {
  color:#102d38;
}
.panel-body {
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(250,252,251,.70));
}

.metric-grid {
  align-items:stretch;
}
.metric-card,
.metric {
  min-height:118px;
}
.metric-card::before {
  height:5px;
  background:linear-gradient(90deg,var(--aqua),var(--copper));
}
.metric-card::after {
  opacity:.32;
  background:radial-gradient(circle, rgba(34,184,173,.22), transparent 66%);
}
.metric-icon,
.empty-icon,
.file-icon,
.queue-icon,
.hub-icon {
  background:linear-gradient(135deg,rgba(223,242,239,.98),rgba(255,255,255,.76));
  color:var(--teal-dark);
  box-shadow:inset 0 0 0 1px rgba(31,143,135,.13), 0 8px 20px rgba(31,143,135,.08);
}
.metric-value,
.metric strong {
  color:#0b3542;
}

.button {
  border-color:rgba(168,188,184,.72);
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,250,.92));
  box-shadow:0 8px 18px rgba(16,42,53,.055);
}
.button:hover {
  border-color:rgba(31,143,135,.34);
  box-shadow:0 13px 28px rgba(16,42,53,.09);
}
.button.primary {
  border-color:#137a74;
  background:linear-gradient(135deg,#24aaa1 0%,#13726d 62%,#0f5c59 100%);
  box-shadow:0 14px 28px rgba(19,114,109,.22);
}
.button.primary:hover {
  background:linear-gradient(135deg,#2bbcb2 0%,#167e78 64%,#105f5b 100%);
}
.button.danger {
  background:linear-gradient(180deg,#fff,#fff7f5);
}

input,
textarea,
select,
.inline-input,
.upload-zone,
.list-controls,
.filter-row,
.tabs,
.stepper {
  border-color:rgba(168,188,184,.70);
  background:rgba(255,255,255,.82);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
input:focus,
textarea:focus,
select:focus {
  border-color:rgba(31,143,135,.64);
  box-shadow:0 0 0 4px rgba(31,143,135,.11), inset 0 1px 0 rgba(255,255,255,.8);
}

.notice {
  border-color:rgba(226,190,112,.62);
  background:linear-gradient(135deg,#fff7e8,#fffdf7);
  box-shadow:0 12px 28px rgba(16,42,53,.055);
}
.notice.info {
  border-color:rgba(31,143,135,.28);
  background:linear-gradient(135deg,#e9faf7,#ffffff);
}
.notice.danger {
  border-color:rgba(183,75,75,.28);
  background:linear-gradient(135deg,#fff0ee,#ffffff);
}
.notice.neutral {
  background:linear-gradient(135deg,#f7faf9,#ffffff);
}

.table-wrap {
  border-color:rgba(168,188,184,.58);
  box-shadow:0 10px 26px rgba(16,42,53,.045);
}
.data-table th {
  background:linear-gradient(180deg,#f3f8f7,#f9fbfa);
}
.data-table tbody tr:nth-child(even) {
  background:rgba(246,250,249,.62);
}
.data-table tbody tr:hover {
  background:linear-gradient(90deg,rgba(223,242,239,.72),rgba(255,255,255,.88));
}

.evaluation-row {
  position:relative;
  overflow:hidden;
}
.evaluation-row::before {
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,rgba(34,184,173,.74),rgba(241,154,91,.58));
  opacity:.55;
}
.evaluation-row:hover::before {
  opacity:1;
}
.evaluation-row > * {
  position:relative;
  z-index:1;
}

.badge {
  border:1px solid rgba(255,255,255,.62);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.64), 0 5px 12px rgba(16,42,53,.035);
}
.empty {
  border:1px dashed rgba(168,188,184,.70);
  border-radius:22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34,184,173,.08), transparent 16rem),
    rgba(255,255,255,.58);
}
.modal {
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(18px);
}
.modal-header {
  background:
    radial-gradient(circle at 92% 0%, rgba(34,184,173,.10), transparent 12rem),
    linear-gradient(180deg,#ffffff,#f8fbfa);
}

.tabs {
  background:rgba(255,255,255,.64);
  box-shadow:0 8px 22px rgba(16,42,53,.04);
}
.tab.active {
  color:var(--teal-dark);
  background:linear-gradient(180deg,#ffffff,#f5fbfa);
}
.step.active {
  background:linear-gradient(135deg,rgba(223,242,239,.90),rgba(255,255,255,.76));
}

.training-tool-card,
.knowledge-card,
.resource-link,
.requirement-grid article,
.student-file-checklist article,
.completion-checklist article,
.action-register article,
.operations-list article {
  border-color:rgba(168,188,184,.58);
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,252,251,.86));
}

@media (max-width: 900px) {
  .main::before { left:0; }
  .page-heading { border-radius:22px; }
}

@media (max-width: 640px) {
  .page { padding-inline:14px; padding-bottom:120px; }
  .page-heading {
    border-radius:20px;
    padding:20px 18px;
  }
  .page-heading::before {
    top:16px;
    bottom:16px;
  }
  .topbar { background:rgba(250,252,250,.88); }
}

/* Warm accent pass: add copper, coral, and muted indigo while keeping the green sidebar anchored. */
:root {
  --accent-warm: #e58a4a;
  --accent-warm-dark: #b75f2f;
  --accent-warm-soft: #fff0df;
  --accent-rose: #d85f66;
  --accent-rose-soft: #ffe9eb;
  --accent-indigo: #5967d8;
  --accent-indigo-soft: #eef0ff;
  --accent-gold: #d19a31;
  --accent-gold-soft: #fff4d8;
}

body {
  background:
    radial-gradient(circle at 8% 9%, rgba(34,184,173,.13), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(229,138,74,.18), transparent 28rem),
    radial-gradient(circle at 74% 82%, rgba(89,103,216,.10), transparent 32rem),
    linear-gradient(180deg,#f9faf7 0%,#eef4f2 48%,#f6eee5 100%);
}

body::before {
  background:
    radial-gradient(circle at 16% 14%, rgba(34,184,173,.11), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(229,138,74,.17), transparent 25rem),
    radial-gradient(circle at 68% 92%, rgba(89,103,216,.10), transparent 30rem);
}

.page-heading {
  background:
    radial-gradient(circle at 88% 16%, rgba(229,138,74,.17), transparent 15rem),
    radial-gradient(circle at 18% 100%, rgba(89,103,216,.08), transparent 17rem),
    linear-gradient(135deg,rgba(255,255,255,.95),rgba(250,252,251,.78));
}
.page-heading::before {
  background:linear-gradient(180deg,var(--aqua) 0%, var(--accent-warm) 54%, var(--accent-indigo) 100%);
}
.page-heading .eyebrow {
  border-color:rgba(229,138,74,.24);
  background:linear-gradient(135deg,rgba(255,240,223,.90),rgba(255,255,255,.72));
  color:var(--accent-warm-dark);
}

.panel-header::before {
  background:linear-gradient(90deg,rgba(229,138,74,.35),rgba(89,103,216,.16),transparent 66%);
}

.metric-card::before,
.metric::before {
  background:linear-gradient(180deg,var(--accent-warm),var(--accent-indigo));
}
.metric-card:nth-child(3n+1)::before { background:linear-gradient(90deg,var(--aqua),var(--accent-warm)); }
.metric-card:nth-child(3n+2)::before { background:linear-gradient(90deg,var(--accent-indigo),var(--aqua)); }
.metric-card:nth-child(3n+3)::before { background:linear-gradient(90deg,var(--accent-warm),var(--accent-rose)); }
.metric-card::after {
  background:radial-gradient(circle, rgba(229,138,74,.22), transparent 66%);
}
.metric-grid .metric-card:nth-child(2n) .metric-icon,
.dashboard-grid .metric-card:nth-child(2n) .metric-icon,
.metric-card:nth-child(2n) .metric-icon {
  background:linear-gradient(135deg,var(--accent-warm-soft),rgba(255,255,255,.82));
  color:var(--accent-warm-dark);
  box-shadow:inset 0 0 0 1px rgba(229,138,74,.18), 0 8px 20px rgba(229,138,74,.10);
}
.metric-card:nth-child(3n) .metric-icon {
  background:linear-gradient(135deg,var(--accent-indigo-soft),rgba(255,255,255,.82));
  color:var(--accent-indigo);
  box-shadow:inset 0 0 0 1px rgba(89,103,216,.15), 0 8px 20px rgba(89,103,216,.08);
}

.button.primary {
  border-color:#a95529;
  background:linear-gradient(135deg,#f0a15d 0%,#d9743b 58%,#ad5429 100%);
  box-shadow:0 14px 28px rgba(183,95,47,.22);
}
.button.primary:hover {
  background:linear-gradient(135deg,#f3ad6f 0%,#df7f44 60%,#b95e2f 100%);
}
.new-eval-button,
.signup-button,
#public-signup-button,
#stripe-checkout-button {
  border-color:#a95529;
  background:linear-gradient(135deg,#f0a15d 0%,#d9743b 58%,#ad5429 100%);
  color:white;
}
.button:not(.primary):not(.danger):hover {
  border-color:rgba(229,138,74,.38);
}

.badge.ready,
.badge.transcribed {
  background:linear-gradient(135deg,var(--teal-soft),#ffffff);
}
.badge.pending,
.badge.pending-review,
.badge.unreviewed,
.badge.transcribing {
  background:linear-gradient(135deg,var(--accent-gold-soft),#ffffff);
  color:#9b6b18;
}
.badge.draft,
.badge.uploaded {
  background:linear-gradient(135deg,var(--accent-indigo-soft),#ffffff);
  color:#4f5cb8;
}

.notice.info {
  border-color:rgba(31,143,135,.28);
  background:
    linear-gradient(135deg,rgba(233,250,247,.94),#ffffff),
    radial-gradient(circle at 100% 0%,rgba(229,138,74,.12),transparent 13rem);
}
.notice:not(.info):not(.danger):not(.neutral) {
  border-color:rgba(229,138,74,.34);
  background:linear-gradient(135deg,var(--accent-warm-soft),#ffffff);
}

.tabs {
  background:linear-gradient(135deg,rgba(255,240,223,.58),rgba(239,246,244,.74));
}
.tab.active {
  color:var(--accent-warm-dark);
  box-shadow:0 6px 16px rgba(183,95,47,.08);
}
.step.active b {
  background:var(--accent-warm);
}
.step.done b {
  background:var(--accent-indigo-soft);
  color:var(--accent-indigo);
}

.evaluation-row::before {
  background:linear-gradient(180deg,var(--accent-warm),var(--accent-indigo));
}
.evaluation-row:hover {
  background:
    linear-gradient(90deg,rgba(255,240,223,.58),rgba(255,255,255,.92)),
    radial-gradient(circle at 100% 0%, rgba(89,103,216,.08), transparent 12rem);
}

.data-table tbody tr:hover {
  background:linear-gradient(90deg,rgba(255,240,223,.62),rgba(255,255,255,.88));
}

.resource-link b,
.evaluation-row > b,
.metric-open {
  color:var(--accent-warm-dark);
}

.training-tool-card:nth-child(3n+1),
.knowledge-card:nth-child(3n+1),
.requirement-grid article:nth-child(3n+1) {
  border-top:4px solid var(--accent-warm);
}
.training-tool-card:nth-child(3n+2),
.knowledge-card:nth-child(3n+2),
.requirement-grid article:nth-child(3n+2) {
  border-top:4px solid var(--accent-indigo);
}
.training-tool-card:nth-child(3n+3),
.knowledge-card:nth-child(3n+3),
.requirement-grid article:nth-child(3n+3) {
  border-top:4px solid var(--teal);
}

.narrative-score-card,
.report-hero,
.calibration-summary {
  background:
    radial-gradient(circle at 88% 12%,rgba(229,138,74,.22),transparent 15rem),
    linear-gradient(135deg,#0b3b44,#23455f 58%,#3f407f);
}

.modal-header {
  background:
    radial-gradient(circle at 92% 0%, rgba(229,138,74,.15), transparent 12rem),
    linear-gradient(180deg,#ffffff,#f9fbfa);
}

@media (max-width: 640px) {
  .metric-card:nth-child(2n) .metric-icon,
  .metric-card:nth-child(3n) .metric-icon {
    box-shadow:inset 0 0 0 1px rgba(168,188,184,.20);
  }
}

/* Credit visibility guard: keep credit panels readable after global visual-theme overrides. */
.quota-panel.quota-panel-evaluations,
.quota-panel.quota-panel-scenario {
  border-color: rgba(123,219,209,.26) !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(123,219,209,.28), transparent 16rem),
    radial-gradient(circle at 12% 100%, rgba(229,138,74,.18), transparent 16rem),
    linear-gradient(135deg, #092834 0%, #0f4653 52%, #18385b 100%) !important;
  box-shadow: 0 20px 48px rgba(7,29,40,.18) !important;
  color: #fff !important;
}

.quota-panel.quota-panel-evaluations:hover,
.quota-panel.quota-panel-scenario:hover {
  border-color: rgba(123,219,209,.42) !important;
}

.quota-panel .eyebrow,
.quota-panel p,
.quota-panel small,
.quota-panel .quota-number-row span,
.quota-panel .quota-stat-tile span {
  color: rgba(255,255,255,.82) !important;
}

.quota-panel .quota-number-row strong,
.quota-panel .quota-stat-tile strong {
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.12);
}

.quota-panel .quota-stat-tile {
  border-color: rgba(255,255,255,.22) !important;
  background: rgba(255,255,255,.13) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16) !important;
}

.quota-panel .quota-meter.labeled {
  background: rgba(255,255,255,.16) !important;
}

.quota-panel .quota-meter.labeled span {
  background: linear-gradient(90deg, #7bdbd1, #f2a45d) !important;
}

.quota-panel .quota-meter.labeled small {
  color: #fff !important;
}

/* Institution user management modal cleanup. */
.account-status-card,
.account-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(168,188,184,.62);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,252,251,.88)),
    radial-gradient(circle at 100% 0%, rgba(34,184,173,.10), transparent 12rem);
  padding: 15px;
  margin: 14px 0;
}

.institution-switcher-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -8px 0 18px;
  border-color: rgba(31,143,135,.18);
  background:
    linear-gradient(135deg, rgba(236,250,248,.96), rgba(255,250,244,.92)),
    radial-gradient(circle at 100% 0%, rgba(229,138,74,.12), transparent 16rem);
  padding: 15px 17px;
}

.institution-switcher-panel strong,
.institution-switcher-panel span,
.institution-switcher-panel p {
  display: block;
}

.institution-switcher-panel > div {
  min-width: 0;
}

.institution-switcher-panel strong {
  color: var(--navy);
  font-size: 15px;
}

.institution-switcher-panel p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}

.institution-switcher-panel label {
  flex: 0 1 420px;
  margin: 0;
}

.institution-switcher-panel label > span {
  margin-bottom: 5px;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.institution-switcher-panel select {
  min-height: 42px;
}

@media (max-width: 760px) {
  .institution-switcher-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .institution-switcher-panel label {
    flex-basis: auto;
    width: 100%;
  }
}

/* Topbar control alignment: keep Mode/View-as dropdowns fully inside the sticky header. */
.topbar {
  min-height: 72px !important;
  height: auto !important;
  align-items: center !important;
  overflow: visible;
  padding-block: 8px !important;
}

.topbar-actions {
  align-items: center !important;
  align-self: center;
}

.topbar-actions .view-switcher {
  align-items: center;
  align-self: center;
  min-height: 44px;
  margin: 0;
  padding: 7px 8px 7px 10px;
}

.topbar-actions .view-switcher select,
.topbar-actions .mode-switcher select {
  min-height: 30px;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .topbar {
    min-height: 66px !important;
    padding-block: 7px !important;
  }
}

.account-status-card strong,
.account-danger-zone strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.account-status-card p,
.account-danger-zone p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.account-status-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 154px;
  margin: 0;
  border: 1px solid rgba(31,143,135,.25);
  border-radius: 999px;
  background: #fff;
  padding: 9px 12px;
  cursor: pointer;
}

.account-status-switch input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--teal);
}

.account-status-switch b,
.account-status-switch small {
  display: block;
}

.account-status-switch b {
  color: var(--teal-dark);
  font-size: 12px;
}

.account-status-switch small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.2;
}

.account-danger-zone {
  border-color: rgba(183,75,75,.26);
  background:
    linear-gradient(135deg, #fff4f1, #ffffff),
    radial-gradient(circle at 100% 0%, rgba(183,75,75,.10), transparent 12rem);
}

.account-danger-zone > div {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.danger-dot {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 900;
}

@media (max-width: 640px) {
  .account-status-card,
  .account-danger-zone {
    align-items: stretch;
    flex-direction: column;
  }
  .account-status-switch,
  .account-danger-zone .button {
    width: 100%;
    justify-content: center;
  }
}

/* Public demo upgrade: show the system as a command center, not a flat feature list. */
#login-screen .hero-snapshot.command-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
}

#login-screen .command-preview-main {
  grid-template-columns: minmax(140px, 164px) minmax(0, 1fr);
  gap: 13px;
  align-items: stretch;
}

#login-screen .readiness-ring {
  min-height: 154px;
  padding: 16px;
  text-align: center;
}

#login-screen .readiness-ring span {
  max-width: 118px;
  font-size: 11px;
  line-height: 1.35;
}

#login-screen .preview-stack {
  gap: 10px;
}

#login-screen .preview-stack article {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 4px;
  min-height: 96px;
  padding: 12px 13px;
  overflow: hidden;
}

#login-screen .preview-stack article small {
  font-size: 9px;
  line-height: 1.2;
}

#login-screen .preview-stack article strong {
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

#login-screen .preview-stack article span {
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

#login-screen .preview-alerts {
  flex-wrap: wrap;
  gap: 7px;
}

.public-command-demo {
  width: min(1120px, calc(100vw - 28px));
}

.public-command-demo .modal-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(31,143,135,.12), transparent 20rem),
    radial-gradient(circle at 100% 92%, rgba(241,154,91,.13), transparent 22rem),
    #f6faf8;
}

.command-demo-nav {
  gap: 9px;
  border-radius: 20px;
}

.command-demo-nav button {
  flex: 1 1 145px;
  border-radius: 15px;
  text-align: left;
}

.command-demo-nav button.active {
  box-shadow: inset 0 0 0 1px rgba(31,143,135,.14), 0 12px 26px rgba(31,143,135,.10);
}

#command-demo-stage {
  border-color: rgba(31,143,135,.14);
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(246,252,250,.94)),
    radial-gradient(circle at 0% 0%, rgba(31,143,135,.12), transparent 18rem);
  box-shadow: 0 22px 58px rgba(14,49,59,.10);
}

.command-demo-board {
  grid-template-columns: minmax(0,1.18fr) minmax(300px,.82fr);
  gap: 20px;
  padding: 24px;
}

.command-demo-feature {
  border-color: rgba(31,143,135,.13);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)),
    radial-gradient(circle at 100% 0%, rgba(31,143,135,.10), transparent 13rem);
}

.command-demo-copy h3 {
  font-size: clamp(25px, 2.6vw, 34px);
  letter-spacing: -.03em;
}

.command-demo-copy > p {
  font-size: 15px;
}

.command-demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.command-demo-chips span {
  border: 1px solid rgba(31,143,135,.18);
  border-radius: 999px;
  background: rgba(31,143,135,.08);
  padding: 7px 10px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
}

.command-demo-lane {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.command-demo-lane li {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 15px;
  background:
    linear-gradient(180deg, #ffffff, #f7fbfa),
    radial-gradient(circle at 0 0, rgba(31,143,135,.12), transparent 8rem);
  padding: 13px;
}

.command-demo-lane li span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.command-demo-lane li strong {
  display: block;
  margin-top: 9px;
  color: var(--navy);
  font-size: 13px;
}

.command-demo-lane li p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.45;
}

.command-demo-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  padding: 0 24px 18px;
}

.command-demo-outcomes article {
  min-width: 0;
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 16px;
  background: #fff;
  padding: 15px;
  box-shadow: 0 14px 30px rgba(14,49,59,.06);
}

.command-demo-outcomes b {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #fff0ea;
  color: var(--coral);
  font-size: 10px;
}

.command-demo-outcomes strong {
  display: block;
  margin-top: 9px;
  color: var(--navy);
  font-size: 13px;
}

.command-demo-outcomes p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.command-demo-visual {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 16px 42px rgba(14,49,59,.08);
}

.demo-primary-stat {
  background:
    linear-gradient(135deg, rgba(31,143,135,.13), rgba(255,255,255,.88)),
    radial-gradient(circle at 100% 0, rgba(241,154,91,.14), transparent 10rem);
}

@media (max-width: 1180px) {
  #login-screen .command-preview-main {
    grid-template-columns: 1fr;
  }

  #login-screen .readiness-ring {
    min-height: 132px;
  }
}

@media (max-width: 900px) {
  .command-demo-board {
    grid-template-columns: 1fr;
  }

  .command-demo-lane,
  .command-demo-outcomes {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 560px) {
  .command-demo-nav button {
    flex-basis: 100%;
  }

  .command-demo-lane,
  .command-demo-outcomes {
    grid-template-columns: 1fr;
  }

  .command-demo-outcomes {
    padding-inline: 14px;
  }
}

/* Clearer top shortcut: Action Center should read like a task inbox, not a mystery icon. */
.topbar-action-center-button {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 8px;
  min-height: 44px;
  border: 1px solid rgba(239,120,95,.35);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,247,243,.94)),
    radial-gradient(circle at 0 0, rgba(239,120,95,.16), transparent 8rem);
  padding: 7px 14px 7px 11px;
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(14,49,59,.08);
  cursor: pointer;
}

.topbar-action-center-button strong,
.topbar-action-center-button small {
  line-height: 1.05;
}

.topbar-action-center-button strong {
  font-size: 12px;
  font-weight: 900;
}

.topbar-action-center-button small {
  color: var(--coral);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.topbar-action-center-button .action-center-pulse {
  grid-row: 1 / span 2;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: #fff0ea;
}

.topbar-action-center-button .action-center-pulse::before {
  content: '!';
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
}

.topbar-action-center-button .dot {
  position: absolute;
  right: 9px;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--coral);
}

.topbar-action-center-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(239,120,95,.16);
}

/* Video-style public demo reel. */
.command-demo-nav-compact button {
  flex-basis: 155px;
}

.command-demo-video {
  display: grid;
  grid-template-columns: minmax(0,.74fr) minmax(430px,1.1fr);
  gap: 22px;
  padding: 24px;
}

.command-demo-video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  border: 1px solid rgba(31,143,135,.13);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)),
    radial-gradient(circle at 100% 0, rgba(31,143,135,.12), transparent 14rem);
  padding: 22px;
}

.command-demo-video-copy h3 {
  margin: 10px 0;
  color: var(--navy);
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.command-demo-video-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.command-demo-video-metrics {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-top: 18px;
}

.command-demo-video-metrics article {
  border: 1px solid rgba(13,39,50,.07);
  border-radius: 15px;
  background: #fff;
  padding: 12px;
}

.command-demo-video-metrics small {
  display: block;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.command-demo-video-metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.1;
}

.command-demo-video-metrics span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.35;
}

.demo-reel {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(13,39,50,.10);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(31,143,135,.18), transparent 18rem),
    radial-gradient(circle at 100% 100%, rgba(239,120,95,.16), transparent 18rem),
    linear-gradient(145deg,#102a35,#0b1f29);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 22px 60px rgba(14,49,59,.22);
}

.demo-reel-frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  gap: 16px;
  padding: 22px;
  opacity: 0;
  transform: translateX(18px) scale(.985);
  animation: demoReelFrame 30s infinite;
  animation-delay: calc(var(--frame-index) * 6s);
}

.demo-reel-meta span {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  background: rgba(120,208,199,.18);
  padding: 5px 9px;
  color: #b7fff7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.demo-reel-meta strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 25px;
  line-height: 1.12;
}

.demo-reel-meta p {
  max-width: 650px;
  margin: 7px 0 0;
  color: #c9dde0;
  font-size: 13px;
  line-height: 1.55;
}

.demo-reel-screen {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 58px rgba(0,0,0,.25);
}

.demo-reel-screen-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(13,39,50,.08);
  padding: 12px 14px;
  background: #f8fbfa;
}

.demo-reel-screen-bar b {
  margin-right: auto;
  color: var(--navy);
  font-size: 12px;
}

.demo-reel-screen-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9e5e3;
}

.demo-reel-screen-bar i:nth-child(2) { background: #ef785f; }
.demo-reel-screen-bar i:nth-child(3) { background: #f2a45d; }
.demo-reel-screen-bar i:nth-child(4) { background: #78d0c7; }

.demo-reel-transcript {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 18px;
  background:
    linear-gradient(180deg,#ffffff,#f7fbfa),
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(31,143,135,.035) 34px 35px);
}

.demo-reel-transcript p {
  margin: 0;
  border: 1px solid rgba(31,143,135,.12);
  border-radius: 13px;
  background: #fff;
  padding: 11px 13px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 10px 22px rgba(14,49,59,.05);
}

.demo-reel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(13,39,50,.08);
  padding: 12px 14px;
  background: #fff;
}

.demo-reel-badges span {
  border-radius: 999px;
  background: var(--teal-soft);
  padding: 6px 9px;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
}

.demo-reel-playbar {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 16px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.demo-reel-playbar span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#78d0c7,#f2a45d,#ef785f);
  transform-origin: left;
  animation: demoReelPlaybar 30s linear infinite;
}

@keyframes demoReelFrame {
  0%, 16% { opacity: 1; transform: translateX(0) scale(1); }
  20%, 100% { opacity: 0; transform: translateX(-18px) scale(.985); }
}

@keyframes demoReelPlaybar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 920px) {
  .command-demo-video {
    grid-template-columns: 1fr;
  }

  .demo-reel {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .topbar-action-center-button {
    grid-template-columns: auto;
    gap: 0;
    min-width: 44px;
    padding: 9px;
  }

  .topbar-action-center-button strong,
  .topbar-action-center-button small {
    display: none;
  }

  .topbar-action-center-button .action-center-pulse {
    grid-row: auto;
  }

  .demo-reel {
    min-height: 500px;
  }

  .demo-reel-frame {
    padding: 16px;
  }

  .command-demo-video-metrics {
    grid-template-columns: 1fr;
  }
}

/* Calm landing value card: readable beats clever here. */
#login-screen .hero-snapshot.program-value-simple {
  width: min(620px, 100%);
  display: grid;
  gap: 14px;
  min-height: 0;
  border: 1px solid rgba(123,219,209,.22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(8,32,43,.96), rgba(10,42,53,.94)),
    radial-gradient(circle at 100% 0, rgba(123,219,209,.10), transparent 16rem);
  padding: 20px;
  box-shadow: 0 28px 68px rgba(0,0,0,.28);
}

#login-screen .program-value-simple .command-status-strip,
#login-screen .program-value-simple .command-preview-main,
#login-screen .program-value-simple .preview-alerts,
#login-screen .program-value-simple .command-flow-map,
#login-screen .program-value-simple .snapshot-signal {
  display: none !important;
}

.program-value-lead {
  margin: 0;
  color: #d8eaeb;
  font-size: 15px;
  line-height: 1.55;
}

.program-value-list {
  display: grid;
  gap: 10px;
}

.program-value-list article {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  gap: 11px;
  align-items: start;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 15px;
  background: rgba(255,255,255,.055);
  padding: 12px;
}

.program-value-list b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(120,208,199,.16);
  color: #aef4ed;
  font-size: 12px;
}

.program-value-list strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

.program-value-list span {
  display: block;
  margin-top: 4px;
  color: #bdd4d7;
  font-size: 12px;
  line-height: 1.45;
}

.program-value-note {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  border: 1px solid rgba(242,164,93,.24);
  border-radius: 14px;
  background: rgba(242,164,93,.10);
  padding: 11px 12px;
  color: #f7dfc1;
  font-size: 12px;
  line-height: 1.4;
}

.program-value-note strong {
  color: #ffd29b;
}

/* Make the public demo look more like the actual application workspace. */
.demo-app-screenshot {
  display: grid;
  grid-template-columns: 148px minmax(0,1fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: #eef5f2;
  box-shadow: 0 28px 58px rgba(0,0,0,.25);
}

.demo-app-screenshot aside {
  display: grid;
  align-content: start;
  gap: 8px;
  background: linear-gradient(180deg,#102a35,#0c222c);
  padding: 14px 11px;
}

.demo-app-screenshot aside b {
  margin-bottom: 6px;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}

.demo-app-screenshot aside span {
  border-radius: 11px;
  padding: 8px 9px;
  color: #c6dadc;
  font-size: 10px;
  font-weight: 800;
}

.demo-app-screenshot aside span.active {
  background: rgba(120,208,199,.16);
  color: #fff;
}

.demo-app-screenshot section {
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr);
  min-width: 0;
}

.demo-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(13,39,50,.08);
  background: #fff;
  padding: 12px 14px;
}

.demo-app-top strong {
  color: var(--navy);
  font-size: 13px;
}

.demo-app-top small {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
}

.demo-app-tabs {
  display: flex;
  gap: 7px;
  overflow: hidden;
  border-bottom: 1px solid rgba(13,39,50,.08);
  background: #f8fbfa;
  padding: 9px 12px;
}

.demo-app-tabs span {
  flex: 0 0 auto;
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 999px;
  background: #fff;
  padding: 6px 9px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 900;
}

.demo-app-tabs span.active {
  border-color: rgba(31,143,135,.22);
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.demo-app-panel {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  grid-template-rows: 1fr auto;
  gap: 10px;
  min-height: 0;
  padding: 13px;
}

.demo-app-summary {
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 15px;
  background: #fff;
  padding: 14px;
}

.demo-app-summary h4 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.2;
}

.demo-app-summary p {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.demo-app-panel .demo-reel-transcript {
  align-content: start;
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 15px;
  padding: 12px;
}

.demo-app-panel .demo-reel-badges {
  grid-column: 1 / -1;
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 15px;
}

@media (max-width: 720px) {
  .demo-app-screenshot {
    grid-template-columns: 1fr;
  }

  .demo-app-screenshot aside {
    display: none;
  }

  .demo-app-panel {
    grid-template-columns: 1fr;
  }
}

/* Simplified public demo: big picture first, details second. */
.public-command-demo.simplified-demo {
  width: min(920px, calc(100vw - 28px));
}

.simplified-demo .modal-header p {
  max-width: 720px;
}

.simplified-demo .command-demo-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.simplified-demo .command-demo-nav button {
  text-align: center;
  justify-content: center;
}

.command-demo-simple-story {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.command-demo-simple-story h3 {
  max-width: 680px;
  margin: 8px 0 8px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.command-demo-simple-story > div > p {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.simple-story-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.simple-story-cards article {
  border: 1px solid rgba(13,39,50,.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg,#fff,#f8fbfa),
    radial-gradient(circle at 100% 0, rgba(31,143,135,.10), transparent 10rem);
  padding: 18px;
  box-shadow: 0 14px 30px rgba(14,49,59,.06);
}

.simple-story-cards b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.simple-story-cards strong {
  display: block;
  margin-top: 13px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
}

.simple-story-cards p {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.simplified-demo .command-demo-board {
  grid-template-columns: minmax(0,1.05fr) minmax(260px,.78fr);
  padding: 20px;
}

.simplified-demo .command-demo-copy h3 {
  font-size: clamp(24px, 2.4vw, 31px);
}

.simplified-demo .command-demo-points {
  margin-top: 14px;
}

.simplified-demo .command-demo-signal {
  margin-bottom: 18px;
}

@media (max-width: 740px) {
  .simplified-demo .command-demo-nav,
  .simple-story-cards {
    grid-template-columns: 1fr;
  }
}

/* Softer demo reading surface: less white, more command-center depth. */
.public-command-demo.simplified-demo {
  background: linear-gradient(145deg, #102b35, #173f45 48%, #edf6f3);
  border: 1px solid rgba(255,255,255,.16);
}

.public-command-demo.simplified-demo .modal-header {
  color: #f7fbfa;
}

.public-command-demo.simplified-demo .modal-header h2 {
  color: #ffffff;
}

.public-command-demo.simplified-demo .modal-header p,
.public-command-demo.simplified-demo .modal-header .eyebrow {
  color: rgba(244,251,249,.78);
}

.public-command-demo.simplified-demo .modal-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(120,208,199,.22), transparent 20rem),
    linear-gradient(145deg, #e8f2ef, #dfe9e5);
  border: 1px solid rgba(255,255,255,.58);
}

.simplified-demo .command-demo-nav {
  background: rgba(12,42,51,.88);
  border-color: rgba(255,255,255,.16);
}

.simplified-demo .command-demo-nav button {
  color: rgba(244,251,249,.74);
}

.simplified-demo .command-demo-nav button:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.simplified-demo .command-demo-nav button.active {
  background: linear-gradient(135deg, #f19a5b, #78d0c7);
  border-color: rgba(255,255,255,.32);
  color: #102b35;
}

.simplified-demo #command-demo-stage {
  background: linear-gradient(145deg, #eef6f2, #dbe8e2);
  border-color: rgba(15,55,65,.16);
}

.simplified-demo .command-demo-simple-story,
.simplified-demo .command-demo-board {
  background:
    radial-gradient(circle at 100% 0, rgba(241,154,91,.16), transparent 17rem),
    linear-gradient(145deg, #f4f8f5, #e3eee9);
}

.simplified-demo .simple-story-cards article,
.simplified-demo .command-demo-feature,
.simplified-demo .command-demo-visual,
.simplified-demo .demo-window-main {
  background: rgba(255,253,247,.72);
  border-color: rgba(18,70,82,.13);
}

.simplified-demo .command-demo-signal {
  background: linear-gradient(135deg, #102b35, #174550);
  border: 1px solid rgba(120,208,199,.24);
  color: #f7fbfa;
}

.simplified-demo .command-demo-signal p,
.simplified-demo .command-demo-signal small {
  color: rgba(247,251,250,.76);
}

/* Hidden-condition patient interview practice. */
.practice-interview-guide {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(241,154,91,.26);
  border-radius: 18px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(241,154,91,.18), transparent 12rem),
    linear-gradient(135deg, rgba(255,248,238,.96), rgba(236,249,247,.88));
}

.practice-interview-guide span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.practice-interview-guide strong {
  color: var(--navy);
  font-size: 18px;
}

.practice-interview-guide p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.practice-prompt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-button {
  border: 1px solid rgba(31,143,135,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 8px 11px;
}

.chip-button:hover {
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.practice-diagnosis-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(13,71,96,.16);
  border-radius: 20px;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(120,208,199,.22), transparent 14rem),
    linear-gradient(135deg, #f7fbfa, #eef6f2);
}

.practice-diagnosis-card h3 {
  margin: 4px 0 8px;
  color: var(--navy);
  font-size: 22px;
}

.practice-diagnosis-card p {
  margin: 5px 0 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.institution-tab-hidden {
  display: none !important;
}

.tab-access-matrix {
  display: grid;
  gap: 10px;
}

.tab-access-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(92px, .7fr));
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(13,71,96,.12);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,.76);
}

.tab-access-row.header {
  background: rgba(13,71,96,.07);
  font-size: 12px;
  font-weight: 850;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tab-access-row strong {
  color: var(--navy);
}

.tab-access-check {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 12px;
  font-weight: 750;
  color: var(--text-muted);
}

.tab-access-check input {
  width: auto;
  min-height: 0;
}

.tab-access-check.unavailable {
  opacity: .35;
}

.pending-update-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.pending-update-list article {
  border: 1px solid rgba(31,143,135,.16);
  border-radius: 16px;
  padding: 12px;
  background: rgba(240,250,247,.74);
}

.platform-source-focus {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(23, 86, 118, .18);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(228, 244, 255, .92), rgba(240, 250, 247, .92));
}

.platform-source-focus small {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
}

#learning-question-list {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.learning-question-editor {
  border: 1px solid rgba(23, 86, 118, .14);
  background: rgba(255, 255, 255, .86);
}

.learning-generated-result {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.generated-question-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(31, 143, 135, .16);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, .88);
}

.generated-question-card input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.generated-question-card small {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.learning-question-review-modal {
  width: min(1120px, calc(100vw - 24px));
}

.learning-question-review-modal .modal-body {
  max-height: min(76vh, 820px);
  overflow: auto;
  padding-right: 6px;
}

.learning-review-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px;
  margin: 10px 0 14px;
  border: 1px solid rgba(31, 143, 135, .16);
  border-radius: 16px;
  background: rgba(248, 253, 252, .96);
  backdrop-filter: blur(8px);
}

.learning-review-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.learning-review-list,
.learning-final-copy {
  display: grid;
  gap: 14px;
}

.learning-review-card,
.learning-final-copy section {
  border: 1px solid rgba(30, 58, 95, .12);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbfb);
  padding: 16px;
  box-shadow: 0 14px 32px rgba(16, 24, 40, .06);
}

.learning-review-card.removed {
  opacity: .52;
  background: #f4f6f6;
}

.learning-review-card-head,
.learning-final-copy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.learning-review-card-head label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--navy);
}

.learning-review-card-head input {
  width: auto;
  min-height: 0;
}

.learning-review-card-head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.learning-review-card h3,
.learning-final-copy h3 {
  margin: 0 0 12px;
  color: var(--navy);
  line-height: 1.35;
}

.learning-review-choice-list {
  margin: 0;
  padding-left: 22px;
  color: var(--text);
  line-height: 1.55;
}

.learning-review-choice-list li.correct {
  color: #0f766e;
  font-weight: 900;
}

.learning-review-answer {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(31, 143, 135, .18);
  border-radius: 14px;
  background: #effbf8;
}

.learning-review-answer p {
  margin: 6px 0 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.overview-shortcuts { margin:16px 0; }
.overview-shortcut-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:12px; }
.overview-shortcut-grid button { display:grid; grid-template-columns:auto 1fr; gap:4px 10px; align-items:start; text-align:left; border:1px solid rgba(31,143,135,.16); border-radius:16px; background:linear-gradient(135deg,#fff,#f3fbfa); padding:14px; cursor:pointer; box-shadow:0 12px 26px rgba(16,24,40,.05); }
.overview-shortcut-grid button:hover { border-color:rgba(31,143,135,.38); transform:translateY(-1px); }
.overview-shortcut-grid span { grid-row:1 / span 2; display:grid; place-items:center; min-width:34px; height:34px; border-radius:12px; background:var(--teal-soft); color:var(--teal-dark); font-size:11px; font-weight:900; }
.overview-shortcut-grid strong { color:var(--navy); font-size:13px; }
.overview-shortcut-grid small { color:var(--text-muted); line-height:1.4; }

.platform-owner-pulse {
  margin: 16px 0 18px;
  border-color: rgba(20, 83, 112, .18);
  background:
    radial-gradient(circle at top right, rgba(28, 116, 175, .12), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,250,252,.96));
}

.platform-pulse-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
  padding: 16px 18px 6px;
}

.platform-pulse-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) repeat(2, minmax(220px, .85fr));
  gap: 14px;
  padding: 12px 18px 18px;
}

.platform-pulse-grid > section {
  border: 1px solid rgba(31, 143, 135, .14);
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  padding: 14px;
  min-width: 0;
}

.mini-panel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.mini-panel-head strong {
  color: var(--navy);
  font-size: 13px;
}

.platform-watch-list {
  display:grid;
  gap:8px;
}

.platform-watch-list article {
  display:grid;
  gap:2px;
  border: 1px solid rgba(20, 83, 112, .1);
  border-radius: 13px;
  background: #fff;
  padding: 10px 11px;
}

.platform-watch-list strong {
  color: var(--navy);
  font-size: 12px;
}

.platform-watch-list span {
  color: var(--text-muted);
  font-size: 11px;
}

.empty.mini {
  min-height: auto;
  padding: 14px;
}

@media (max-width: 1100px) {
  .platform-pulse-grid {
    grid-template-columns: 1fr;
  }
}

.learning-assignment-row {
  cursor: pointer;
}

.learning-submit-list {
  display: grid;
  gap: 12px;
}

.learning-category-plan {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid rgba(31, 143, 135, .18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 251, 247, .92), rgba(241, 247, 255, .9));
  box-sizing: border-box;
  overflow: hidden;
}

.learning-category-plan * {
  box-sizing: border-box;
}

.learning-category-plan strong,
.learning-category-plan p,
.learning-category-plan .helper {
  overflow-wrap: anywhere;
}

.learning-category-plan p {
  margin: 4px 0 0;
  color: var(--text-muted);
}

#learning-category-plan-rows {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.learning-category-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, 120px);
  gap: 10px;
  align-items: end;
  min-width: 0;
  max-width: 100%;
  padding: 10px;
  border: 1px solid rgba(15, 44, 38, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
}

.learning-category-row label,
.learning-category-row select,
.learning-category-row input {
  min-width: 0;
  max-width: 100%;
}

.learning-category-row select,
.learning-category-row input {
  width: 100%;
}

.learning-category-row [data-remove-learning-category] {
  grid-column: 1 / -1;
  justify-self: start;
  max-width: 100%;
  white-space: normal;
}

.learning-row-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.learning-assignment-row {
  border-left: 4px solid rgba(31, 143, 135, .35);
}

.learning-assignment-row .table-subtext,
.student-learning-summary .table-subtext {
  color: var(--text-muted);
}

.learning-released-answer {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(18, 88, 115, .18);
  border-radius: 14px;
  background: rgba(232, 245, 255, .84);
}

.learning-released-answer p {
  margin: 0;
}

.learning-released-answer span {
  font-weight: 700;
  color: var(--text-strong);
}

.student-learning-summary {
  border-color: rgba(31, 143, 135, .18);
  background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 249, 247, .9));
}

.student-learning-summary .learning-stats {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

@media (max-width: 760px) {
  .learning-category-row {
    grid-template-columns: 1fr;
  }

  .learning-row-actions {
    justify-content: flex-start;
  }
}
/* Isolated fictional institution workspace for sales and role training. */
.demo-dashboard-heading{padding:20px;border:1px solid rgba(31,143,135,.16);border-radius:18px;background:linear-gradient(125deg,#edf9f6 0%,#f5f8ff 58%,#fff7f1 100%)}
.demo-safety-notice{margin:14px 0}.demo-safety-notice>span{background:var(--teal)!important;color:#fff!important}
.demo-role-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0}
.demo-role-links button{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;align-items:center;min-width:0;padding:13px;border:1px solid rgba(13,39,50,.09);border-radius:14px;background:#fff;color:var(--navy);text-align:left;cursor:pointer;box-shadow:0 8px 24px rgba(13,39,50,.05);transition:.16s ease}
.demo-role-links button:hover{border-color:rgba(31,143,135,.35);transform:translateY(-2px);box-shadow:0 13px 28px rgba(13,39,50,.09)}
.demo-role-links button>span{grid-row:1/3;display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:var(--teal-soft);color:var(--teal-dark);font-size:10px;font-weight:900}
.demo-role-links strong{min-width:0;font-size:12px;line-height:1.25}.demo-role-links small{color:var(--text-muted);font-size:9px}
.demo-progress{width:120px;max-width:100%;height:7px;margin-bottom:4px;overflow:hidden;border-radius:999px;background:#e6efed}.demo-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--teal),#69b8df)}
.demo-insight-grid,.demo-station-grid,.demo-feature-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.demo-insight-grid article,.demo-station-grid article,.demo-feature-preview article{padding:17px;border:1px solid rgba(13,39,50,.09);border-radius:15px;background:linear-gradient(145deg,#fff,#f7fbfa)}
.demo-insight-grid article>span{color:var(--teal-dark);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.demo-insight-grid article>strong{display:block;margin:7px 0 5px;color:var(--navy);font-size:24px}.demo-insight-grid p,.demo-station-grid p,.demo-feature-preview p{color:var(--text-muted);font-size:11px;line-height:1.55}
.demo-station-grid{margin:0}.demo-station-grid article{display:grid;gap:6px}.demo-station-grid article>strong{color:var(--navy);font-size:15px}.demo-station-grid small{color:var(--text-muted)}
.demo-student-tasks{display:grid;gap:10px}.demo-student-tasks article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px;border:1px solid rgba(13,39,50,.08);border-radius:13px;background:#fbfdfc}.demo-student-tasks article>span{display:grid;width:29px;height:29px;place-items:center;border-radius:10px;background:var(--teal-soft);color:var(--teal-dark);font-weight:900}.demo-student-tasks strong{color:var(--navy);font-size:12px}.demo-student-tasks p{margin:3px 0 0;color:var(--text-muted);font-size:10px;line-height:1.45}
.demo-feedback{margin:0;padding:16px;border-left:4px solid var(--teal);border-radius:0 12px 12px 0;background:#f1faf8;color:var(--navy);font-size:13px;line-height:1.65}.demo-trust{margin-top:12px;padding:14px;border:1px solid rgba(239,120,95,.2);border-radius:13px;background:#fff7f3}.demo-trust small{display:block;color:var(--coral);font-weight:900;text-transform:uppercase;letter-spacing:.08em}.demo-trust strong{display:block;margin:5px 0;color:var(--navy)}.demo-trust p{margin:0;color:var(--text-muted);font-size:11px}
.demo-route-panel{margin-top:14px}.demo-feature-preview{margin:0}.demo-feature-preview article>span{display:grid;width:30px;height:30px;place-items:center;margin-bottom:10px;border-radius:10px;background:var(--teal-soft);color:var(--teal-dark);font-weight:900}.demo-feature-preview strong{color:var(--navy);font-size:13px}
.demo-workbench-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:14px;align-items:start}
.demo-builder-card,.demo-output-card{display:grid;gap:12px;padding:18px;border:1px solid rgba(13,39,50,.1);border-radius:16px;background:linear-gradient(145deg,#fff,#f7fbfa)}
.demo-builder-wide{max-width:none}.demo-builder-card h3,.demo-output-card h3{margin:0;color:var(--navy);font-size:18px}.demo-builder-card label{min-width:0}.demo-builder-card textarea{min-height:120px}
.demo-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.demo-eval-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.demo-cost-note{display:block;color:var(--text-muted);font-size:10px;line-height:1.45}
.demo-created-list,.demo-qa-history{display:grid;gap:9px}.demo-created-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:11px;border:1px solid rgba(13,39,50,.08);border-radius:12px;background:#fff}.demo-created-list strong{color:var(--navy);font-size:12px}.demo-created-list p{margin:3px 0 0;color:var(--text-muted);font-size:10px}
.demo-qa-history article{padding:12px;border:1px solid rgba(31,143,135,.12);border-radius:12px;background:#fff}.demo-qa-history strong{color:var(--teal-dark);font-size:10px;text-transform:uppercase;letter-spacing:.07em}.demo-qa-history p{margin:5px 0;color:var(--navy);font-size:12px;font-weight:750}.demo-qa-history span{color:var(--text-muted);font-size:10px;line-height:1.5}
.demo-generated-panel{margin-top:14px}.demo-question-drafts{display:grid;gap:11px}.demo-question-drafts>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;padding:14px;border:1px solid rgba(13,39,50,.09);border-radius:14px;background:#fbfdfc}.demo-question-drafts article>div:first-child{display:grid;gap:7px}.demo-question-drafts article span{color:var(--teal-dark);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.demo-question-drafts article strong{color:var(--navy);font-size:13px;line-height:1.5}.demo-question-drafts ol{margin:0;padding-left:22px;color:var(--text-muted);font-size:11px;line-height:1.65}.demo-question-drafts small{color:var(--text-muted);font-size:9px}.demo-question-drafts article>div:last-child{display:flex;gap:6px;align-items:flex-start}
.demo-practice-grade{display:grid;gap:11px;margin-top:14px}.demo-answer-review{display:grid;gap:8px}.demo-answer-review article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:11px 12px;border:1px solid rgba(13,39,50,.08);border-radius:12px;background:#fff}.demo-answer-review article>span{display:grid;width:26px;height:26px;place-items:center;border-radius:9px;font-weight:900}.demo-answer-review article.correct>span{background:var(--teal-soft);color:var(--teal-dark)}.demo-answer-review article.incorrect>span{background:#ffe8e3;color:#b64937}.demo-answer-review strong{color:var(--navy);font-size:11px}.demo-answer-review p{margin:4px 0 0;color:var(--text-muted);font-size:10px;line-height:1.5}
.demo-scenario-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.demo-scenario-preview-grid article{padding:14px;border:1px solid rgba(13,39,50,.09);border-radius:13px;background:#f8fbfa}.demo-scenario-preview-grid span{color:var(--teal-dark);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.demo-scenario-preview-grid p{margin:6px 0 0;color:var(--navy);font-size:12px;line-height:1.55}
.demo-highlighted-narrative{padding:17px;border:1px solid rgba(13,39,50,.08);border-radius:13px;background:#fff;color:var(--navy);font-size:14px;line-height:1.9}.demo-highlighted-narrative mark{padding:2px 4px;border-radius:4px}.demo-highlighted-narrative mark.privacy{background:#ffd9d2}.demo-highlighted-narrative mark.grammar{background:#fff0b8}.demo-highlighted-narrative mark.missing{background:#dbeeff}.demo-suggestion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.demo-suggestion-grid article{padding:12px;border-radius:12px;background:#f6faf9}.demo-suggestion-grid strong{color:var(--navy);font-size:11px}.demo-suggestion-grid p{margin:5px 0 0;color:var(--text-muted);font-size:10px;line-height:1.45}
.demo-generic-action{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:15px;padding:15px;border:1px dashed rgba(31,143,135,.35);border-radius:14px;background:var(--teal-soft)}.demo-generic-action strong{color:var(--navy)}.demo-generic-action p{margin:4px 0 0;color:var(--text-muted);font-size:11px}
@media(max-width:1180px){.demo-role-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.demo-workbench-grid{grid-template-columns:1fr}}
@media(max-width:760px){.demo-role-links,.demo-insight-grid,.demo-station-grid,.demo-feature-preview,.demo-scenario-preview-grid,.demo-suggestion-grid{grid-template-columns:1fr}.demo-student-tasks article{grid-template-columns:auto minmax(0,1fr)}.demo-student-tasks article .button{grid-column:2;width:max-content}.demo-dashboard-heading{padding:15px}.demo-question-drafts>article{grid-template-columns:1fr}.demo-created-list article{grid-template-columns:minmax(0,1fr) auto}.demo-created-list article .button{grid-column:1/3;width:max-content}.demo-generic-action{align-items:stretch;flex-direction:column}}

/* Overview command-center design */
.overview-hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  align-items:center;
  border-color:rgba(25,56,84,.42);
  background:
    radial-gradient(circle at 88% 8%,rgba(69,213,197,.30),transparent 15rem),
    radial-gradient(circle at 68% 115%,rgba(241,154,91,.35),transparent 18rem),
    linear-gradient(125deg,#102f47 0%,#174e5c 54%,#295785 100%);
  box-shadow:0 24px 54px rgba(16,47,71,.22);
}
.overview-hero::before {
  top:0;
  bottom:0;
  width:7px;
  background:linear-gradient(180deg,#4fe1cf 0%,#ffc06f 52%,#9ba8ff 100%);
}
.overview-hero::after {
  content:'';
  position:absolute;
  z-index:-1;
  right:-48px;
  bottom:-92px;
  width:260px;
  height:260px;
  border:34px solid rgba(255,255,255,.055);
  border-radius:50%;
}
.overview-hero h1 { color:#fff; font-size:clamp(30px,4vw,44px); }
.overview-hero p { color:#d8ecef; font-size:15px; }
.overview-hero .eyebrow {
  color:#103a43;
  border-color:rgba(255,255,255,.42);
  background:linear-gradient(135deg,#b8f2e8,#fff0cf);
}
.overview-hero .heading-actions .button:not(.primary) {
  color:#143a4d;
  border-color:rgba(255,255,255,.72);
  background:rgba(255,255,255,.94);
}
.overview-hero .heading-actions .button.primary {
  color:#44200d;
  border-color:#ffc482;
  background:linear-gradient(135deg,#ffd096,#f2a45f);
  box-shadow:0 14px 30px rgba(4,26,39,.25);
}
.overview-hero-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.overview-hero-chips span {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:999px;
  color:#efffff;
  background:rgba(255,255,255,.10);
  font-size:11px;
  font-weight:850;
  letter-spacing:.035em;
}

.overview-metric-grid { gap:14px; }
.overview-metric-grid .metric-card {
  min-height:146px;
  border-width:1px;
  box-shadow:0 14px 34px rgba(16,42,53,.075);
}
.overview-metric-grid .metric-card:nth-child(4n+1) { background:linear-gradient(145deg,#e8faf6,#fff 72%); border-color:rgba(31,143,135,.25); }
.overview-metric-grid .metric-card:nth-child(4n+2) { background:linear-gradient(145deg,#eef0ff,#fff 72%); border-color:rgba(89,103,216,.22); }
.overview-metric-grid .metric-card:nth-child(4n+3) { background:linear-gradient(145deg,#fff1e3,#fff 72%); border-color:rgba(229,138,74,.25); }
.overview-metric-grid .metric-card:nth-child(4n+4) { background:linear-gradient(145deg,#fff0f1,#fff 72%); border-color:rgba(216,95,102,.22); }
.overview-metric-grid .metric-card:nth-child(4n+1)::before { background:linear-gradient(90deg,#21a99e,#70d5c9); }
.overview-metric-grid .metric-card:nth-child(4n+2)::before { background:linear-gradient(90deg,#5967d8,#929cf0); }
.overview-metric-grid .metric-card:nth-child(4n+3)::before { background:linear-gradient(90deg,#e58a4a,#f3bd72); }
.overview-metric-grid .metric-card:nth-child(4n+4)::before { background:linear-gradient(90deg,#d85f66,#ef9aa0); }
.overview-metric-grid .metric-value { font-size:clamp(29px,3vw,39px); }
.overview-metric-grid .metric-open { color:#214e62; font-weight:850; }
.overview-metric-pending { background:linear-gradient(145deg,#fff4da,#fff 72%) !important; border-color:rgba(209,154,49,.34) !important; }
.overview-metric-critical { background:linear-gradient(145deg,#ffe9eb,#fff 72%) !important; border-color:rgba(216,95,102,.34) !important; }
.overview-metric-transcripts { background:linear-gradient(145deg,#e8f7ff,#fff 72%) !important; border-color:rgba(47,133,182,.27) !important; }

.overview-evaluation-panel { overflow:hidden; border-color:rgba(89,103,216,.22); }
.overview-evaluation-panel > .panel-header {
  border-bottom-color:rgba(89,103,216,.16);
  background:
    radial-gradient(circle at 92% 0,rgba(229,138,74,.18),transparent 13rem),
    linear-gradient(120deg,#eef0ff 0%,#f5fbfa 58%,#fff7ee 100%);
}
.overview-evaluation-panel > .panel-header::before { height:4px; left:0; right:0; background:linear-gradient(90deg,#5967d8,#21a99e,#e58a4a); }
.overview-evaluation-panel .filter-row { border-color:rgba(89,103,216,.16); background:linear-gradient(90deg,#f6f7ff,#f7fcfb); }

.overview-leadership-grid > .side-stack:first-child > .panel:first-child { border-top:5px solid #d85f66; }
.overview-leadership-grid > .side-stack:first-child > .panel:last-child { border-top:5px solid #21a99e; }
.overview-leadership-grid > .side-stack:last-child > .panel:first-child { border-top:5px solid #5967d8; }
.overview-leadership-grid > .side-stack:last-child > .panel:last-child { border-top:5px solid #e58a4a; }
.overview-outcome-grid > article:nth-child(1) { border-top:5px solid #d85f66; background:linear-gradient(145deg,#fff0f1,#fff); }
.overview-outcome-grid > article:nth-child(2) { border-top:5px solid #5967d8; background:linear-gradient(145deg,#eef0ff,#fff); }
.overview-outcome-grid > article:nth-child(3) { border-top:5px solid #e58a4a; background:linear-gradient(145deg,#fff1e3,#fff); }
.medical-director-action-grid > .panel { border-top:5px solid #21a99e; }
.medical-director-action-grid .side-stack > .panel:first-child { border-top:5px solid #d85f66; }
.medical-director-action-grid .side-stack > .panel:last-child { border-top:5px solid #5967d8; }

.first-use-welcome { border-left:5px solid #5967d8; background:linear-gradient(120deg,#eef0ff,#f2fbf9 52%,#fff4e8); }
.next-action-card { border-left-color:#e58a4a; background:linear-gradient(125deg,#fff1e3,#fff 48%,#eef0ff); }
.role-setup { border-top:4px solid #21a99e; }

@media (max-width:760px) {
  .overview-hero { align-items:flex-start; }
  .overview-hero h1 { font-size:31px; }
  .overview-hero .heading-actions { width:100%; }
  .overview-hero .heading-actions .button { width:100%; justify-content:center; }
  .overview-metric-grid .metric-card { min-height:126px; }
}

/* Instructor station QR and optional direct video evidence. */
.instructor-login-arrival{display:flex;gap:11px;align-items:center;margin:0 0 15px;padding:12px 14px;border:1px solid rgba(18,88,115,.2);border-radius:14px;background:linear-gradient(135deg,#eaf6ff,#eefaf6);color:var(--navy)}
.instructor-login-arrival>span{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#155873;color:#fff;font-size:18px}.instructor-login-arrival strong,.instructor-login-arrival small{display:block}.instructor-login-arrival small{margin-top:3px;color:var(--text-muted);font-size:10px}
.instructor-qr-card{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:24px;align-items:center;padding:22px;border:2px solid rgba(31,143,135,.25);border-radius:20px;background:linear-gradient(145deg,#fff,#eff9f7)}
.instructor-qr-card img{display:block;width:100%;border:10px solid #fff;border-radius:15px;box-shadow:0 12px 30px rgba(13,39,50,.1)}.instructor-qr-card strong{display:block;color:var(--navy);font-size:22px}.instructor-qr-card span{display:block;margin-top:8px;color:var(--teal-dark);font-weight:800}.instructor-qr-card small{display:block;margin-top:12px;overflow-wrap:anywhere;color:var(--text-muted)}
.capture-recorder-panel{display:grid;gap:14px}.capture-recorder-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.capture-mode-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.capture-mode-selector label{margin:0}.capture-mode-selector input{position:absolute;opacity:0;pointer-events:none}.capture-mode-selector span{display:grid;gap:3px;min-height:68px;padding:13px 15px;border:1px solid rgba(13,39,50,.12);border-radius:14px;background:#fff;cursor:pointer}.capture-mode-selector input:checked+span{border-color:#155873;box-shadow:0 0 0 3px rgba(21,88,115,.11);background:#eef7fb}.capture-mode-selector small{color:var(--text-muted);font-size:10px}.capture-device-settings{padding:12px 14px;border:1px solid rgba(13,39,50,.1);border-radius:14px;background:#f8fbfa}.capture-device-settings summary{cursor:pointer;color:var(--navy);font-weight:850}.capture-device-settings .field-grid{margin-top:13px}.camera-preview,.evaluation-video-player{display:block;width:100%;max-height:520px;border-radius:16px;background:#071419;object-fit:contain}.camera-preview{max-height:340px}.recording-ready.video-ready{align-items:flex-start}.recording-ready.video-ready .audio-info{width:100%}.recording-ready.video-ready video{width:min(520px,100%);margin-top:10px;border-radius:12px;background:#071419}
.capture-device-settings-prominent{border:2px solid rgba(21,88,115,.5);background:linear-gradient(135deg,#eef8fc,#f3fbf8);box-shadow:0 10px 24px rgba(21,88,115,.08)}.capture-device-settings-prominent>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;font-size:14px}.capture-device-settings-prominent>summary small{color:#155873;font-size:10px;font-weight:800}.capture-device-settings-prominent[open]>summary{border-bottom:1px solid rgba(21,88,115,.18);padding-bottom:11px}
.gcs-practice-card .gcs-case-prompt{padding:15px 17px;border-radius:14px;background:#eef7fb;border-left:4px solid #155873}.gcs-case-prompt p{margin:5px 0 0;font-size:16px}.gcs-score-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.gcs-actions{display:flex;gap:10px;flex-wrap:wrap}.training-result.correct{border-color:#278c59;background:#e9f8ef;color:#165c3c}.training-result.incorrect{border-color:#c64b42;background:#fff0ed;color:#8e2d27}.training-result span{display:block;margin-top:3px}.student-result-video .panel-body{display:grid;gap:10px}@media(max-width:760px){.gcs-score-grid{grid-template-columns:1fr}}
.attachment-selection.compression-needed{border-color:#c88928;background:#fff8e8;color:#70480b}.attachment-selection.compression-needed span::before{content:'⇩';display:inline-grid;place-items:center;width:22px;height:22px;margin-right:8px;border-radius:50%;background:#f2c66d;color:#543300;font-weight:950}
.capture-video-stage{position:relative;width:min(440px,100%);aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#071419;border:2px solid rgba(21,88,115,.22);box-shadow:0 12px 30px rgba(7,20,25,.16)}.capture-video-stage .camera-preview{width:100%;height:100%;max-height:none;border-radius:0;object-fit:contain}.camera-preview-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#cbd5e1;font-weight:800;background:linear-gradient(145deg,#0f2933,#071419);z-index:1}.capture-video-stage>small{position:absolute;right:9px;bottom:8px;z-index:3;padding:4px 7px;border-radius:7px;color:#e2e8f0;background:rgba(2,6,23,.72)}.recording-live-badge{display:none;position:absolute;left:10px;top:10px;z-index:4;align-items:center;gap:6px;padding:6px 9px;border-radius:8px;color:#fff;background:rgba(153,27,27,.92);font-size:.78rem;font-weight:900;letter-spacing:.08em;box-shadow:0 4px 14px rgba(0,0,0,.25)}.recording-live-badge i{width:9px;height:9px;border-radius:50%;background:#ff3b30;box-shadow:0 0 0 4px rgba(255,59,48,.2);animation:recording-pulse 1.1s infinite}.capture-video-stage.recording{border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.15),0 12px 30px rgba(7,20,25,.2)}.capture-video-stage.recording .recording-live-badge{display:flex}@keyframes recording-pulse{50%{opacity:.35}}
.video-upload-zone{border-color:rgba(18,88,115,.24);background:linear-gradient(135deg,rgba(234,246,255,.65),rgba(255,255,255,.9))}.video-evidence-panel{display:grid;gap:14px;margin:18px 0;padding:17px;border:1px solid rgba(18,88,115,.16);border-radius:17px;background:linear-gradient(145deg,#f7fbff,#fff)}.video-evidence-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.video-evidence-heading h3,.video-evidence-heading p{margin:4px 0 0}.video-review-form{display:grid;grid-template-columns:150px minmax(220px,1fr) auto;gap:10px;align-items:end}.video-review-form label{margin:0}.video-review-form .form-error{grid-column:1/-1}.video-review-list{display:grid;gap:9px}.video-review-list article{padding:12px 14px;border:1px solid rgba(13,39,50,.09);border-radius:13px;background:#fff}.video-review-list header{display:flex;justify-content:space-between;gap:10px;align-items:center}.video-review-list p{margin:7px 0;color:var(--text-muted);line-height:1.5}.video-review-list small{color:var(--text-muted)}
@media(max-width:760px){.instructor-qr-card,.capture-mode-selector,.video-review-form{grid-template-columns:1fr}.instructor-qr-card img{max-width:260px;margin:auto}.capture-recorder-heading,.video-evidence-heading{align-items:stretch;flex-direction:column}.video-review-form .form-error{grid-column:auto}}
.capture-preflight{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:14px 0}
.capture-preflight article{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid var(--line,#dbe5e2);border-radius:12px;background:#f7faf9}
.capture-preflight article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e7efed;color:#244842;font-size:10px;font-weight:800}
.capture-preflight article div{display:flex;flex:1;min-width:0;flex-direction:column}.capture-preflight article small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.capture-preflight article>b{font-size:11px;color:#8a5a20}
.capture-preflight article.ready{border-color:#8ccbbe;background:#effaf6}.capture-preflight article.ready>b{color:#176958}.capture-preflight article.warning{border-color:#e1b283;background:#fff8ef}
.recording-event-tools{margin:14px 0;padding:14px;border:1px solid #c9dce7;border-radius:14px;background:#f3f8fb}.recording-event-tools>div{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0}.recording-event-tools label{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.recording-event-tools label input{grid-column:1}.recording-event-tools label button{grid-column:2;grid-row:1/3}
.recording-event-list{display:flex!important;flex-wrap:wrap;gap:7px}.recording-marker-chip{display:flex;align-items:center;gap:6px;border:1px solid #b7d3df;border-radius:999px;background:white;padding:5px 9px;color:#24444f}.recording-marker-chip b{color:#a23b32}
.video-event-markers{display:grid;gap:8px;margin:14px 0;padding:14px;border-radius:14px;background:#eef5f8}.video-event-markers>div{display:flex;justify-content:space-between;gap:10px}.video-event-markers>div span{font-size:12px;color:#52656d}.video-event-marker{display:grid;grid-template-columns:65px 1fr auto;gap:10px;align-items:center;width:100%;border:1px solid #bdd4dd;border-radius:10px;background:white;padding:10px;text-align:left}.video-event-marker b{color:#176078}.video-event-marker em{font-style:normal;font-size:10px;font-weight:800;color:#a72d27}.video-event-marker.critical{border-color:#e1a09a;background:#fff6f5}
@media(max-width:700px){.capture-preflight{grid-template-columns:1fr}.recording-event-tools label{display:flex;flex-direction:column;align-items:stretch}.video-event-markers>div{flex-direction:column}.video-event-marker{grid-template-columns:58px 1fr}.video-event-marker em{grid-column:2}}
.lecture-heading{background:linear-gradient(125deg,rgba(29,78,216,.09),rgba(13,148,136,.1));border:1px solid rgba(29,78,216,.14);border-radius:24px;padding:24px}.lecture-create-panel{border-top:4px solid #2563eb}.lecture-form{display:grid;gap:18px}.lecture-audience-options{display:flex;flex-wrap:wrap;gap:10px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--surface-subtle,#f7faf9)}.lecture-audience-options strong{flex-basis:100%}.lecture-choice{display:flex!important;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:var(--surface,#fff);border:1px solid var(--border)}.lecture-choice input{width:auto!important}.lecture-capture-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lecture-source{padding:18px;border-radius:18px;border:1px solid var(--border);background:linear-gradient(145deg,#f8fafc,#eff6ff)}.lecture-source p{color:var(--muted);font-size:.92rem;min-height:42px}.lecture-record-preview{width:100%;max-height:340px;margin-top:14px;border-radius:14px;background:#0f172a}.lecture-upload-progress{display:grid;gap:7px}.lecture-upload-progress>div{height:10px;overflow:hidden;background:#dbeafe;border-radius:999px}.lecture-upload-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#2563eb,#14b8a6);transition:width .18s ease}.lecture-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-top:20px}.lecture-card{overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--surface,#fff);box-shadow:0 10px 28px rgba(15,23,42,.07)}.lecture-thumb{min-height:145px;display:grid;place-items:center;position:relative;color:white;background:radial-gradient(circle at 70% 25%,rgba(45,212,191,.55),transparent 35%),linear-gradient(135deg,#0f5132,#1d4ed8)}.lecture-thumb>span{display:grid;place-items:center;width:58px;height:58px;padding-left:4px;border-radius:50%;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.7);font-size:1.5rem}.lecture-thumb small{position:absolute;right:12px;bottom:10px;background:rgba(15,23,42,.74);padding:4px 8px;border-radius:8px}.lecture-card-body{display:grid;gap:9px;padding:17px}.lecture-card-body h3,.lecture-card-body p{margin:0}.lecture-card-body p{color:var(--muted);line-height:1.5}.lecture-card-meta{display:flex;flex-wrap:wrap;gap:7px}.lecture-card-meta span{font-size:.76rem;font-weight:800;color:#1e40af;background:#dbeafe;border-radius:999px;padding:4px 8px}.lecture-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}.lecture-complete{color:#047857;font-weight:800}.lecture-empty{grid-column:1/-1;min-height:260px}.lecture-player-modal{width:min(980px,92vw)}.lecture-player-frame{position:relative;width:100%;aspect-ratio:16/9;background:#020617}.lecture-player-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.notice.compact{padding:8px 10px;font-size:.85rem}
@media(max-width:760px){.lecture-heading{padding:18px}.lecture-capture-grid{grid-template-columns:1fr}.lecture-source p{min-height:0}.lecture-library-grid{grid-template-columns:1fr}.lecture-player-modal{width:94vw}.lecture-form .form-grid{grid-template-columns:1fr}}

.learning-video-status{margin-bottom:18px}.learning-video-review-modal{width:min(1180px,96vw)}.learning-video-review-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:20px;align-items:start;margin-bottom:22px}.learning-video-review-grid>section{min-width:0;border:1px solid var(--border);border-radius:18px;padding:15px;background:var(--surface,#fff)}.learning-transcript-list{display:grid;gap:8px;max-height:480px;overflow:auto;padding-right:5px}.learning-transcript-segment{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;width:100%;padding:10px 12px;text-align:left;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle,#f8fafc);color:inherit;cursor:pointer}.learning-transcript-segment:hover,.learning-transcript-segment:focus-visible{border-color:#2563eb;background:#eff6ff}.learning-transcript-segment strong{color:#1d4ed8;font-variant-numeric:tabular-nums}.learning-transcript-segment span{line-height:1.45}.learning-video-review-grid .lecture-player-frame{border-radius:16px;overflow:hidden}.learning-video-status .panel-body{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.learning-video-status .panel-body p{flex:1 1 280px;margin:0}
@media(max-width:900px){.learning-video-review-grid{grid-template-columns:1fr}.learning-transcript-list{max-height:360px}}

#evaluation-mux-player{aspect-ratio:16/9;min-height:280px;border:0}

/* Timestamp preview cards override the earlier text-only marker layout. */
.video-event-marker{grid-template-columns:112px 65px minmax(0,1fr) auto}
.video-event-marker img,.video-marker-placeholder{width:112px;aspect-ratio:16/9;object-fit:cover;border-radius:7px;background:#071419;color:#d9edf2;display:grid;place-items:center;font-size:10px;font-weight:800}
@media(max-width:700px){.video-event-marker{grid-template-columns:88px 58px minmax(0,1fr)}.video-event-marker img,.video-marker-placeholder{width:88px}.video-event-marker em{grid-column:3}}
.video-replacement{margin:14px 0;border:1px solid #e3a39e;border-radius:12px;background:#fff8f7}.video-replacement summary{cursor:pointer;padding:12px 14px;font-weight:800;color:#8b2f29}.video-replacement>div{display:grid;gap:10px;padding:0 14px 14px}.video-replacement p{margin:0;color:#5f4a48}.video-replacement .lecture-upload-progress{margin:0}

.calculation-practice-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:20px;align-items:start}.calculation-practice-controls{position:sticky;top:18px}.calculation-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:17px}.calculation-type-option{margin:0}.calculation-type-option input{position:absolute;opacity:0;pointer-events:none}.calculation-type-option span{display:flex;align-items:center;min-height:52px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle,#f8fafc);font-weight:800;cursor:pointer}.calculation-type-option input:checked+span{border-color:#155873;background:#eaf5f8;box-shadow:0 0 0 2px rgba(21,88,115,.11)}.calculation-practice-stage .panel-body{min-height:480px;display:grid;align-content:start}.calculation-case{display:grid;gap:17px}.calculation-case-heading{display:flex;align-items:start;justify-content:space-between;gap:15px}.calculation-case-heading h2{margin:4px 0 0}.calculation-answer-input{max-width:300px}.calculation-case .training-result{display:grid;gap:6px}.calculation-case .training-result span{display:block}.calculation-practice-stage .study-answer-empty{min-height:400px}@media(max-width:850px){.calculation-practice-layout{grid-template-columns:1fr}.calculation-practice-controls{position:static}.calculation-type-grid{grid-template-columns:1fr}}
.calculation-generate-action{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:18px;clear:both}.calculation-generate-action .button{width:100%;min-height:46px;white-space:normal}.calculation-generate-action .helper{display:block;width:100%;margin:0;line-height:1.45;text-align:center}

/* EMS visual identity: clinical education, simulation, and restrained monitor cues. */
:root {
  --navy:#082735;
  --navy-soft:#103f50;
  --teal:#078d83;
  --teal-dark:#05685f;
  --ems-monitor:#48d9b3;
  --ems-red:#ed5549;
  --ems-amber:#ffc15b;
}
body {
  background-color:#f4f7f6;
  background-image:linear-gradient(rgba(8,39,53,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(8,39,53,.022) 1px,transparent 1px);
  background-size:32px 32px;
}
.brand-copy { display:grid; gap:2px; min-width:0; }
.brand-copy strong { line-height:1.08; }
.brand-copy small { color:inherit; font-size:9px; font-weight:850; letter-spacing:.12em; line-height:1.25; opacity:.68; text-transform:uppercase; }
#login-screen { --navy:#102a35; --navy-soft:#183b47; --teal:#1f8f87; --teal-dark:#13726d; }

.sidebar {
  background:
    linear-gradient(rgba(72,217,179,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(72,217,179,.035) 1px,transparent 1px),
    linear-gradient(180deg,#061f2a,#092f3d 64%,#061f2a);
  background-size:26px 26px,26px 26px,auto;
  border-right:1px solid rgba(72,217,179,.17);
}
.sidebar::after { content:''; position:absolute; inset:0 0 auto; height:4px; background:linear-gradient(90deg,var(--ems-red) 0 33%,#f5f7f6 33% 66%,var(--ems-monitor) 66%); }
.sidebar .brand-copy small { color:#8bdcc7; opacity:1; }
.sidebar .nav-item { border-left:3px solid transparent; }
.sidebar .nav-item:hover { border-left-color:rgba(72,217,179,.55); background:rgba(72,217,179,.08); }
.sidebar .nav-item.active { border-left-color:var(--ems-red); background:linear-gradient(90deg,rgba(237,85,73,.16),rgba(72,217,179,.08)); box-shadow:inset 0 0 0 1px rgba(72,217,179,.1); }
.sidebar .nav-icon { border:1px solid rgba(72,217,179,.16); color:#a9ead8; background:rgba(72,217,179,.08); }

.topbar { border-bottom-color:rgba(8,39,53,.13); background:rgba(247,250,249,.94); box-shadow:0 8px 24px rgba(8,39,53,.055); }
.new-eval-button { border-color:#d84940 !important; color:#fff !important; background:linear-gradient(135deg,#ed5549,#bd352f) !important; box-shadow:0 9px 20px rgba(189,53,47,.23) !important; }

.page-heading { position:relative; overflow:hidden; border-color:rgba(8,39,53,.13); background:linear-gradient(120deg,#fff 0%,#f0f8f6 72%,#e4f4ef 100%); box-shadow:0 14px 34px rgba(8,39,53,.07); }
.page-heading::before { background:linear-gradient(180deg,var(--ems-red) 0 34%,#f9fbfa 34% 65%,var(--ems-monitor) 65% 100%) !important; }
.page-heading .eyebrow { color:#08655f; background:#def5ef; }
.page-heading .eyebrow::before { content:'EMS \2022  '; color:var(--ems-red); }
.page-heading h1 { color:#082f3d; }
.page-heading.overview-hero h1,
.page-heading.overview-hero h1 * {
  color:#fff;
  text-shadow:0 2px 12px rgba(0,18,28,.42);
}
.panel { border-color:rgba(8,39,53,.11); box-shadow:0 10px 28px rgba(8,39,53,.055); }
.panel-header { border-bottom-color:rgba(8,39,53,.1); }
.panel-header::before { background:linear-gradient(90deg,var(--ems-red),var(--ems-amber),var(--ems-monitor)); }
.metric-card:nth-child(3n+1)::before { background:var(--ems-monitor); }
.metric-card:nth-child(3n+2)::before { background:var(--ems-amber); }
.metric-card:nth-child(3n+3)::before { background:var(--ems-red); }
.capture-recorder-panel,.scenario-workbench,.video-evidence-panel { border-top:4px solid var(--ems-monitor); }
.capture-video-stage { border-color:rgba(72,217,179,.45); box-shadow:0 0 0 1px rgba(72,217,179,.08),0 16px 34px rgba(7,20,25,.19); }

.overview-hero { border-color:rgba(72,217,179,.35); background:linear-gradient(rgba(72,217,179,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(72,217,179,.045) 1px,transparent 1px),radial-gradient(circle at 88% 10%,rgba(72,217,179,.26),transparent 16rem),linear-gradient(125deg,#072732,#0b4850 58%,#0a3343); background-size:28px 28px,28px 28px,auto,auto; }
.overview-hero::before { background:linear-gradient(180deg,var(--ems-red),#fff 50%,var(--ems-monitor)); }
.overview-hero .eyebrow { color:#17332d; background:linear-gradient(135deg,#c9f7e9,#fff1ce); }
.overview-hero .heading-actions .button.primary { color:#fff; border-color:#d84b42; background:linear-gradient(135deg,#ed5549,#bd352f); }
.overview-metric-grid .metric-card:nth-child(4n+1),.overview-outcome-grid > article:nth-child(1) { border-top-color:var(--ems-monitor); background:linear-gradient(145deg,#e9faf5,#fff); }
.overview-metric-grid .metric-card:nth-child(4n+2),.overview-outcome-grid > article:nth-child(2) { border-top-color:var(--ems-amber); background:linear-gradient(145deg,#fff7e7,#fff); }
.overview-metric-grid .metric-card:nth-child(4n+3),.overview-outcome-grid > article:nth-child(3) { border-top-color:var(--ems-red); background:linear-gradient(145deg,#fff0ee,#fff); }
.overview-evaluation-panel > .panel-header { background:linear-gradient(120deg,#eaf8f4,#fff 56%,#fff4e5); }
.overview-evaluation-panel > .panel-header::before { background:linear-gradient(90deg,var(--ems-red),var(--ems-amber),var(--ems-monitor)); }

@media (max-width:760px) {
  .mobile-brand .brand-copy small { display:block; }
}

/* Release-controlled learning video and timestamped faculty voiceovers */
.lecture-player-frame mux-player{position:absolute;inset:0;width:100%;height:100%}
.lecture-voiceover-tools{display:grid;grid-template-columns:1fr minmax(220px,.75fr) auto;gap:14px;align-items:center;padding:18px;background:#eff8f6;border-bottom:1px solid var(--border)}
.lecture-voiceover-tools p{margin:3px 0 0;color:var(--muted);font-size:.88rem}
.lecture-voiceover-section{padding:18px}
.lecture-voiceover-section h3{margin:0 0 12px}
.lecture-voiceover-list{display:grid;gap:8px}
.lecture-voiceover-marker{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;width:100%;padding:11px 13px;text-align:left;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--ink);cursor:pointer}
.lecture-voiceover-marker>b{color:#1d4ed8}
.lecture-voiceover-marker span>*{display:block}
.lecture-voiceover-marker small{color:var(--muted)}
.lecture-voiceover-marker i{font-style:normal;font-weight:800;color:#0f766e}
.lecture-voiceover-marker:hover{border-color:#14b8a6;background:#f0fdfa}
@media(max-width:760px){.lecture-voiceover-tools{grid-template-columns:1fr}.lecture-voiceover-marker{grid-template-columns:50px 1fr}.lecture-voiceover-marker i{display:none}}
.supplemental-evidence-panel{border-left:4px solid #0f766e}.supplemental-video-list{display:grid;gap:9px;padding:0 18px 16px}.supplemental-video-card{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 15px;border:1px solid var(--border);border-radius:14px;background:#f8fafc}.supplemental-video-card div>*{display:block}.supplemental-video-card small{color:var(--muted)}.supplemental-evidence-upload{margin:0 18px 18px;border:1px solid #99d7cb;border-radius:15px;background:#effaf7}.supplemental-evidence-upload>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;cursor:pointer}.supplemental-evidence-upload>summary span>*{display:block}.supplemental-evidence-upload>summary small{color:var(--muted);font-weight:500}.supplemental-evidence-upload>div{padding:0 15px 15px}.supplemental-evidence-upload .form-grid{margin-bottom:14px}

/* Search, preview, and release-gated import of existing evaluation videos */
.evaluation-video-import-modal,.evaluation-video-import-confirm{width:min(1040px,94vw)}
.evaluation-video-import-search{position:sticky;top:0;z-index:2;padding:4px 0 14px;background:var(--surface,#fff)}
.evaluation-video-import-list{display:grid;gap:9px;max-height:58vh;overflow:auto;padding-right:4px}
.evaluation-video-import-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:13px;align-items:center;padding:13px 14px;border:1px solid var(--border);border-radius:15px;background:#fff}
.evaluation-video-import-row:hover{border-color:#73bbae;background:#f6fbfa}
.evaluation-video-import-row>div:nth-child(2)>*{display:block}
.evaluation-video-import-row span,.evaluation-video-import-row small{color:var(--muted)}
.evaluation-video-import-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#0f766e,#1d4ed8);color:#fff}
.evaluation-video-import-preview{aspect-ratio:16/9;overflow:hidden;margin-bottom:16px;border-radius:17px;background:#020617}
.evaluation-video-import-preview iframe{width:100%;height:100%;border:0}
.evaluation-video-release-options{display:grid;gap:10px;margin:18px 0;padding:16px;border:1px solid var(--border);border-radius:16px}
.evaluation-video-release-options legend{padding:0 7px;font-weight:850}
.evaluation-video-release-options .mode-card{min-height:auto}
@media(max-width:700px){.evaluation-video-import-row{grid-template-columns:42px 1fr}.evaluation-video-import-row>div:last-child{grid-column:1/-1}.evaluation-video-import-row .button{width:100%}}
.supplemental-evidence-panel{border:2px solid rgba(24,119,113,.24)!important;background:linear-gradient(145deg,rgba(225,247,243,.7),rgba(255,255,255,.96))}
.supplemental-evidence-panel .video-evidence-heading{align-items:center;gap:18px}
.multi-camera-create-note{margin:14px 0}
.uploaded-video-quality{margin-top:10px}
.uploaded-video-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
.uploaded-video-controls .uploaded-video-quality{margin-top:0}
.quota-panel.quota-panel-video{
  border-color:#17646c!important;
  background:
    radial-gradient(circle at 90% 12%,rgba(82,196,186,.28),transparent 16rem),
    linear-gradient(135deg,#082f3b 0%,#0d5660 58%,#16436b 100%)!important;
  box-shadow:0 20px 48px rgba(7,38,48,.22)!important;
  color:#fff!important;
}
.quota-panel.quota-panel-video .eyebrow,
.quota-panel.quota-panel-video p,
.quota-panel.quota-panel-video small,
.quota-panel.quota-panel-video .quota-number-row span,
.quota-panel.quota-panel-video .quota-stat-tile span{color:rgba(255,255,255,.88)!important}
.quota-panel.quota-panel-video .quota-number-row strong,
.quota-panel.quota-panel-video .quota-stat-tile strong{color:#fff!important}
.quota-panel.quota-panel-video .quota-stat-tile{border-color:rgba(255,255,255,.24)!important;background:rgba(255,255,255,.14)!important}
.quota-panel.quota-panel-video .quota-meter.labeled{background:rgba(255,255,255,.18)!important}
.quota-panel.quota-panel-video .quota-meter.labeled span{background:linear-gradient(90deg,#79e3d6,#ffc170)!important}
.certification-institution-select{min-width:min(320px,100%)}
.certification-institution-select>span{display:block;margin-bottom:6px;font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.certification-requirements{margin:22px 0}
.certification-requirements .section-heading{max-width:850px;margin-bottom:16px}
.certification-level-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.certification-level-card{overflow:hidden;border:1px solid #b7d4d1;border-radius:18px;background:linear-gradient(145deg,#fff,#f3faf9);box-shadow:0 12px 30px rgba(14,75,79,.08)}
.certification-level-card header{padding:18px 20px 14px;border-bottom:1px solid #d5e7e5;background:linear-gradient(135deg,#0b4e59,#13766f);color:#fff}
.certification-level-card header span{display:block;margin-bottom:5px;color:#a8eee5;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.certification-level-card header h3{margin:0;color:#fff;font-size:1.05rem}
.certification-level-card ul{display:grid;gap:8px;margin:0;padding:18px 22px 8px 38px;color:#173d42}
.certification-level-card p{margin:8px 20px 20px;padding:12px;border-radius:12px;background:#e5f3f1;color:#174e52;font-weight:750}
.certification-person-list{display:grid;gap:9px}
.certification-person-row{display:grid;grid-template-columns:46px minmax(0,1fr) minmax(220px,.75fr) auto;align-items:center;gap:14px;width:100%;padding:14px;border:1px solid var(--border);border-radius:15px;background:#fff;text-align:left;cursor:pointer}
.certification-person-row:hover{border-color:#61aaa3;background:#f4faf9}
.certification-person-row>span:nth-child(2)>*{display:block}
.certification-person-row small{color:var(--muted)}
.certification-person-status{display:grid;justify-items:start;gap:5px}
.certification-person-status em{color:#9b4d17;font-size:.72rem}
.certification-award-fieldset{margin-top:18px;border:2px solid #9ccac5;border-radius:16px;background:#f6fbfa}
.certification-checklist{display:grid;gap:8px;margin-top:14px}
#manage-user-form .qualification-fields{display:none}
@media(max-width:850px){.certification-level-grid{grid-template-columns:1fr}.certification-person-row{grid-template-columns:42px 1fr}.certification-person-status,.certification-person-row>b{grid-column:2}}
@media(max-width:720px){.uploaded-video-controls{grid-template-columns:1fr}}
.knowledge-submission-list{display:grid;gap:14px}
.knowledge-submission-card{padding:20px;border:1px solid var(--border);border-left:5px solid #16847c;border-radius:16px;background:linear-gradient(135deg,#fff,#f5fbfa)}
.knowledge-submission-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.knowledge-submission-card-head h3{margin:4px 0 0}
.knowledge-submission-meta{display:flex;gap:8px 14px;flex-wrap:wrap;margin:10px 0;color:var(--muted);font-size:.82rem}
.knowledge-submission-category{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.knowledge-submission-category>*{padding:5px 9px;border-radius:999px;background:#e6f4f2;font-size:.8rem}
.knowledge-submission-file-summary{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px;border-radius:12px;background:#f1f7f6;margin-bottom:16px}
.compatibility-reference{display:block!important}
.compatibility-reference>div:first-child{max-width:820px;margin-bottom:22px}
.compatibility-table td{vertical-align:top}
.recording-quality-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}
.recording-quality-options article{display:grid;gap:5px;padding:18px;border:1px solid var(--border);border-radius:14px;background:#fff}
.recording-quality-options article>span{width:max-content;padding:3px 8px;border-radius:999px;background:#0e716a;color:#fff;font-size:.7rem;font-weight:900;letter-spacing:.08em}
.recording-quality-options p{margin:0;color:var(--muted)}
@media(max-width:720px){.recording-quality-options{grid-template-columns:1fr}.knowledge-submission-card-head,.knowledge-submission-file-summary{display:grid}}

/* CalTopo Teams connection and live map inside Team Evaluation */
.caltopo-team-map-panel{margin:18px 0;border:1px solid #a8c6d8;border-radius:18px;overflow:hidden;background:linear-gradient(160deg,#edf7fb 0%,#fff 62%);box-shadow:0 10px 24px rgba(18,67,92,.08)}
.caltopo-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;border-bottom:1px solid #c8dce7;background:linear-gradient(105deg,#dceef7,#f7fbfd)}
.caltopo-panel-heading h3{margin:3px 0 4px}.caltopo-panel-heading p{margin:0;color:var(--muted)}
#caltopo-map-panel-body{padding:18px}
.caltopo-empty{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px dashed #7ca8bf;border-radius:14px;background:#fff}
.caltopo-empty>div:first-child{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center}.caltopo-empty h4,.caltopo-empty p{grid-column:2;margin:0}
.caltopo-empty>div:last-child,.caltopo-control-buttons,.team-summary-actions{display:flex;flex-wrap:wrap;gap:8px}
.caltopo-map-icon{grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#155f79;color:#fff;font-weight:900;font-size:.78rem}
.caltopo-map-controls{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:14px;margin-bottom:12px}
.caltopo-live-status{display:flex;align-items:center;gap:8px;min-height:32px;color:#285266;font-size:.9rem}
.caltopo-live-map{height:420px;border:1px solid #9bb9c9;border-radius:15px;overflow:hidden;background:#dfe9ee}.caltopo-live-map:empty{display:none}
.caltopo-basemap-note{margin:8px 2px 0}
.caltopo-directions{display:grid;gap:14px}
.caltopo-directions>section{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:16px;border:1px solid var(--border);border-radius:14px;background:#fff}
.caltopo-directions>section>b{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#155f79;color:#fff;font-size:1rem}
.caltopo-directions h3{margin:4px 0 8px}.caltopo-directions ol{margin:0;padding-left:20px}.caltopo-directions li+li{margin-top:6px}.caltopo-directions section p{margin:10px 0 0;color:var(--muted)}
.team-summary-actions{margin-top:12px}.leaflet-container{font:inherit}.leaflet-popup-content strong{display:block;margin-bottom:3px}
@media(max-width:760px){.caltopo-panel-heading,.caltopo-empty{flex-direction:column}.caltopo-map-controls{grid-template-columns:1fr}.caltopo-live-map{height:340px}}

/* Simplified role-aware workspace shell. Keeps semantic green for success only. */
:root {
  --navy:#142b3a;
  --navy-soft:#213f52;
  --teal:#347d78;
  --teal-dark:#2b6663;
  --workspace-blue:#2f6d8a;
  --workspace-blue-soft:#edf4f8;
  --workspace-coral:#bd482f;
  --workspace-coral-dark:#963623;
  --workspace-slate:#657580;
}
body {
  background-color:#f5f6f7;
  background-image:none;
}
.sidebar {
  background:linear-gradient(180deg,#122a3a,#172f3f 64%,#102634);
  background-size:auto;
  border-right-color:rgba(255,255,255,.08);
}
.sidebar::after {
  height:3px;
  background:var(--workspace-coral);
}
.sidebar .brand-copy small { color:#b8c7cf; }
.sidebar nav { gap:7px; }
.nav-section-group {
  margin:0;
  border:1px solid transparent;
  border-radius:11px;
}
.nav-section-group > summary {
  min-height:44px;
  padding:9px 10px;
  border-radius:10px;
  color:#dbe4e8;
  background:rgba(255,255,255,.025);
  font-size:12px;
  font-weight:780;
}
.nav-section-group > summary .nav-icon {
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  color:#dce7eb;
  background:rgba(255,255,255,.06);
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
}
.nav-section-group > summary:hover {
  background:rgba(255,255,255,.07);
}
.nav-section-group[open] {
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
}
.nav-section-group[open] > summary {
  color:#fff;
  background:rgba(47,109,138,.28);
}
.nav-section-group[open] > summary .nav-icon {
  border-color:rgba(255,255,255,.2);
  color:#fff;
  background:#2f6d8a;
}
.nav-submenu {
  margin:3px 7px 7px 20px;
  padding:2px 0 2px 10px;
  border-left-color:rgba(255,255,255,.1);
}
.sidebar .nav-item {
  border-left:0;
  color:#b9c7cd;
}
.sidebar .nav-item:hover {
  border-left-color:transparent;
  color:#fff;
  background:rgba(255,255,255,.065);
}
.sidebar .nav-item.active {
  border-left-color:transparent;
  color:#fff;
  background:#2f6d8a;
  box-shadow:0 7px 16px rgba(3,17,27,.18);
}
.sidebar .nav-submenu .nav-icon {
  border:0;
  color:#9fb3bd;
  background:transparent;
}
.sidebar .nav-item.active .nav-icon { color:#fff; }
.nav-nested-group > summary {
  border-color:rgba(255,255,255,.1);
  background:rgba(255,255,255,.025);
}

.topbar {
  border-bottom-color:#dfe4e7;
  background:rgba(255,255,255,.95);
  box-shadow:0 5px 18px rgba(20,43,58,.045);
}
.global-search {
  border-color:#d9e0e4;
  border-radius:11px;
  box-shadow:none;
}
.global-search > span { color:var(--workspace-blue); }
.button.primary,
.new-eval-button,
.overview-hero .heading-actions .button.primary {
  border-color:var(--workspace-coral) !important;
  color:#fff !important;
  background:var(--workspace-coral) !important;
  box-shadow:0 8px 18px rgba(185,71,47,.2) !important;
}
.button.primary:hover,
.new-eval-button:hover,
.overview-hero .heading-actions .button.primary:hover {
  border-color:var(--workspace-coral-dark) !important;
  background:var(--workspace-coral-dark) !important;
}
.button.ghost { color:var(--workspace-blue); }

.page-heading {
  border-color:#dfe5e8;
  background:#fff;
  box-shadow:0 8px 24px rgba(20,43,58,.055);
}
.page-heading::before {
  background:var(--workspace-blue) !important;
}
.page-heading .eyebrow {
  color:#315f78;
  background:#edf4f8;
}
.page-heading .eyebrow::before { content:none; }
.overview-hero {
  border-color:#dce4e8;
  background:linear-gradient(125deg,#18364a,#285269);
  background-size:auto;
  box-shadow:0 14px 34px rgba(20,43,58,.16);
}
.overview-hero::before { background:var(--workspace-coral); }
.overview-hero::after { display:none; }
.overview-hero .eyebrow {
  color:#d7e5ec;
  border-color:rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);
}
.overview-hero-chips span {
  border-color:rgba(255,255,255,.13);
  color:#dce7ec;
  background:rgba(255,255,255,.055);
}
.overview-metric-grid .metric-card,
.overview-metric-grid .metric-card:nth-child(n) {
  min-height:126px;
  border-color:#dfe5e8 !important;
  background:#fff !important;
  box-shadow:0 6px 18px rgba(20,43,58,.045);
}
.overview-metric-grid .metric-card::before,
.overview-metric-grid .metric-card:nth-child(n)::before {
  background:var(--workspace-blue);
}
.overview-metric-grid .overview-metric-pending::before { background:#d59b31; }
.overview-metric-grid .overview-metric-critical::before { background:#c64d45; }
.overview-evaluation-panel > .panel-header {
  background:#f7f9fa;
}
.overview-evaluation-panel > .panel-header::before {
  background:var(--workspace-blue);
}

/* Evaluation remains complete, but the normal path reads as three clear steps. */
#new-evaluation-form {
  gap:14px;
}
.individual-evaluation-page{max-width:1180px;margin-inline:auto}
#app-shell .individual-evaluation-page>.individual-evaluation-heading{min-height:0;padding-right:0;margin-bottom:12px}
.individual-evaluation-heading h1{max-width:none}
.evaluation-setup-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:7px;border:1px solid #dbe3e7;border-radius:14px;background:#f3f6f8}
.evaluation-setup-progress button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;border:0;border-radius:10px;background:transparent;color:#526672;font:800 .78rem system-ui,sans-serif;cursor:pointer}
.evaluation-setup-progress button:hover,.evaluation-setup-progress button:focus-visible{background:#fff;color:var(--navy);box-shadow:0 3px 12px rgba(20,43,58,.08)}
.evaluation-setup-progress b{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#fff;color:var(--workspace-blue);box-shadow:inset 0 0 0 1px #cbd9e0}
.individual-evaluation-page #new-evaluation-form>.panel{border:0;background:transparent;box-shadow:none;padding:0}
.individual-evaluation-page #new-evaluation-form>.panel>.form-section{margin-bottom:14px;padding:20px}
.individual-evaluation-page #new-evaluation-form .evaluation-step-one>.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.individual-evaluation-page #new-evaluation-form .evaluation-step-one>.field-grid>.evaluation-collapsible{grid-column:1/-1}
.individual-evaluation-page .evaluation-mode-visible{margin-top:16px;padding:16px;border:1px solid #dce4e8;border-radius:12px;background:#f7f9fa}
.individual-evaluation-page .evaluation-mode-visible>div:first-child p{margin:3px 0 12px;color:var(--muted)}
.individual-evaluation-page .evaluation-mode-visible>.mode-selector{margin-bottom:10px}
.individual-evaluation-page .scoring-sensitivity-details{margin-top:10px;background:#fff}
.individual-evaluation-page .scoring-sensitivity-selector{margin:0;border:0;background:transparent;padding:0}
.individual-evaluation-page .evaluation-written-observations{margin-bottom:14px}
.individual-evaluation-page .evaluation-written-observations textarea{min-height:90px}
.individual-evaluation-page .capture-recorder-panel{padding:17px}
.individual-evaluation-page .capture-recorder-heading{margin-bottom:12px}
.individual-evaluation-page .multi-camera-create-note{margin-top:14px}
.individual-evaluation-page .evaluation-step-three{padding:0}
.individual-evaluation-page .evaluation-step-three .panel-header{padding:17px 20px}
.individual-evaluation-page .evaluation-step-three .panel-body{padding:18px 20px}
.individual-evaluation-page .no-phi-attestation{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:12px;margin:2px 0 16px;padding:14px 16px;border:1px solid #bca9cc;border-radius:13px;background:#fbf8fd}
.individual-evaluation-page .no-phi-attestation input{width:20px;height:20px;margin:2px 0 0;accent-color:#68458d}
.individual-evaluation-page .no-phi-attestation>span{display:grid;gap:4px;min-width:0}
.individual-evaluation-page .no-phi-attestation strong{display:block;color:#4e316c;font-size:.86rem;line-height:1.35}
.individual-evaluation-page .no-phi-attestation small{display:block;color:#5d5364;font-size:.74rem;line-height:1.5}
.evaluation-step-block {
  position:relative;
  border:1px solid #dce3e7;
  border-left-width:5px;
  border-radius:15px;
  background:#fff;
  box-shadow:0 7px 20px rgba(20,43,58,.045);
}
.evaluation-step-one {
  border-color:#a9c6d6;
  border-left-color:var(--workspace-blue);
  background:#fff;
}
.evaluation-step-two {
  border-color:#d7dfe3;
  border-left-color:#5e7180;
  background:#fff;
}
.evaluation-step-three {
  border-color:#ead5cd;
  border-left-color:var(--workspace-coral);
  background:#fff;
}
.evaluation-step-one .section-title h3,
.evaluation-step-two .section-title h3,
.evaluation-step-three .panel-header h3 {
  color:var(--navy);
}
.evaluation-step-block .section-title,
.evaluation-step-three .panel-header {
  border-bottom:1px solid #edf0f2;
  padding-bottom:11px;
}
.simplified-evidence-recorder {
  border-color:#dbe2e6;
  background:#f8fafb;
}
.evidence-record-path span {
  border:1px solid #dbe5ea;
  color:#415866;
  background:#fff;
}
.evidence-record-path b {
  background:var(--workspace-blue);
}
.simplified-evidence-recorder .capture-mode-selector input:checked + span {
  border-color:var(--workspace-blue);
  background:var(--workspace-blue-soft);
  box-shadow:0 0 0 3px rgba(47,109,138,.1);
}
.simplified-evidence-recorder .capture-device-settings {
  border-color:#cbd8df;
  background:#fff;
}
.simplified-evidence-recorder .capture-device-settings > summary {
  color:#243e4d;
}
.simplified-evidence-recorder .capture-device-settings > summary:hover,
.simplified-evidence-recorder .capture-device-settings > summary:focus-visible,
.capture-device-settings[open] > summary {
  background:#edf4f8;
  outline-color:rgba(47,109,138,.2);
}
.device-settings-expander {
  background:var(--workspace-blue);
}
.capture-device-settings[open] {
  border-color:var(--workspace-blue);
  background:#fff;
}
.capture-device-settings[open] > summary {
  border-bottom-color:#d4e2e9;
}
.recorder-actions #start-recording-button {
  min-height:46px;
  padding-inline:20px;
  font-size:14px;
}
.evaluation-step-three .form-actions .button.primary {
  min-height:48px;
  font-size:14px;
}
.evaluation-collapsible {
  border-color:#d9e1e5;
  background:#fff;
}
.team-evaluation-link {
  border-color:#b9c7d8;
  color:#445e78;
  background:#f6f8fb;
}

@media(max-width:760px) {
  .nav-section-group > summary { min-height:46px; }
  .overview-hero-chips { display:none; }
}

/* Global authenticated-interface simplification.
   This layer changes presentation only: routes, controls, handlers, and permissions remain intact. */
#app-shell {
  --ui-border:#dce2e6;
  --ui-border-strong:#c9d2d8;
  --ui-surface:#fff;
  --ui-surface-muted:#f6f8f9;
  --ui-surface-blue:#edf4f8;
  --ui-text:#213540;
  --ui-muted:#63737d;
  --ui-radius:12px;
  --ui-shadow:0 4px 14px rgba(20,43,58,.045);
}
#app-shell .page {
  width:min(1320px,100%);
  padding:24px 28px 110px;
}
#app-shell .page > * + * {
  margin-top:16px;
}
#app-shell .page-heading {
  min-height:0;
  margin:0 0 18px;
  border:0;
  border-bottom:1px solid var(--ui-border);
  border-radius:0;
  background:transparent;
  padding:0 0 16px;
  box-shadow:none;
}
#app-shell .page-heading::before {
  display:none;
}
#app-shell .page-heading > div:first-child {
  min-width:0;
  max-width:850px;
}
#app-shell .page-heading h1 {
  margin:3px 0 5px;
  color:var(--ui-text);
  font-size:clamp(25px,2.5vw,34px);
  line-height:1.12;
}
#app-shell .page-heading p {
  max-width:780px;
  color:var(--ui-muted);
  font-size:12px;
  line-height:1.5;
}
#app-shell .page-heading .eyebrow,
#app-shell .panel-header .eyebrow,
#app-shell .section-heading .eyebrow {
  display:block;
  width:max-content;
  max-width:100%;
  border:0;
  border-radius:0;
  background:transparent;
  padding:0;
  color:var(--workspace-blue);
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}
#app-shell .heading-actions {
  align-items:center;
  justify-content:flex-end;
  gap:7px;
}
#app-shell .heading-actions .button:not(.primary) {
  min-height:36px;
  border-color:var(--ui-border-strong);
  background:#fff;
  box-shadow:none;
}

/* Preserve a single strong Overview introduction without decorative clutter. */
#app-shell .page-heading.overview-hero {
  align-items:center;
  margin-bottom:16px;
  border:0;
  border-radius:14px;
  background:linear-gradient(125deg,#18364a,#285269);
  padding:22px 24px;
  box-shadow:0 10px 26px rgba(20,43,58,.13);
}
#app-shell .page-heading.overview-hero h1 { color:#fff; }
#app-shell .page-heading.overview-hero p { color:#d9e4e9; }
#app-shell .page-heading.overview-hero .eyebrow { color:#bcd2dd; }
#app-shell .overview-hero-chips { display:none; }

/* One flat surface language replaces competing card treatments. */
#app-shell .panel,
#app-shell .support-record-card,
#app-shell .knowledge-submission-card,
#app-shell .certification-level-card,
#app-shell .demo-builder-card,
#app-shell .demo-output-card {
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius);
  background:var(--ui-surface);
  box-shadow:var(--ui-shadow);
}
#app-shell .panel::before,
#app-shell .panel::after,
#app-shell .panel-header::before,
#app-shell .panel-header::after {
  display:none;
}
#app-shell .panel-header {
  min-height:0;
  gap:14px;
  border-bottom:1px solid #e8ecef;
  background:#fff;
  padding:13px 16px;
}
#app-shell .panel-header h2 {
  color:var(--ui-text);
  font-size:19px;
  line-height:1.2;
}
#app-shell .panel-header h3 {
  color:var(--ui-text);
  font-size:15px;
  line-height:1.25;
}
#app-shell .panel-header p {
  max-width:760px;
  margin-top:3px;
  color:var(--ui-muted);
  font-size:10px;
  line-height:1.45;
}
#app-shell .panel-body { padding:16px; }
#app-shell .side-stack,
#app-shell .dashboard-grid,
#app-shell .detail-grid,
#app-shell .form-layout,
#app-shell .program-value-grid,
#app-shell .program-config-grid,
#app-shell .student-result-grid,
#app-shell .support-workspace-grid,
#app-shell .assistant-workspace-grid {
  gap:14px;
}

/* Metrics read as compact information, not another row of feature cards. */
#app-shell .metric-grid {
  gap:9px;
  margin-bottom:16px;
}
#app-shell .metric-card,
#app-shell .overview-metric-grid .metric-card,
#app-shell .overview-metric-grid .metric-card:nth-child(n) {
  min-height:96px;
  border:1px solid var(--ui-border) !important;
  border-radius:11px;
  background:#fff !important;
  padding:13px 14px;
  box-shadow:none;
}
#app-shell .metric-card::before,
#app-shell .metric-card::after {
  display:none;
}
#app-shell .metric-top {
  color:var(--ui-muted);
  font-size:9px;
}
#app-shell .metric-icon {
  width:24px;
  height:24px;
  border-radius:7px;
  background:var(--ui-surface-blue);
  color:var(--workspace-blue);
}
#app-shell .metric-value {
  margin-top:5px;
  color:var(--ui-text);
  font-size:25px;
}
#app-shell .metric-foot,
#app-shell .metric-open {
  font-size:9px;
}
#app-shell .metric-open { color:var(--workspace-blue); }
#app-shell .metric-card-action:hover,
#app-shell .metric-card-action:focus-visible,
#app-shell .metric-card-action.active {
  border-color:#8fb3c7 !important;
  background:var(--ui-surface-blue) !important;
  transform:none;
  box-shadow:0 0 0 2px rgba(47,109,138,.1);
}

/* Actions have one obvious primary hierarchy everywhere. */
#app-shell .button {
  min-height:37px;
  border-radius:9px;
  padding:8px 13px;
  box-shadow:none;
  font-size:11px;
}
#app-shell .button:hover {
  transform:none;
  box-shadow:0 3px 10px rgba(20,43,58,.08);
}
#app-shell .button.small,
#app-shell .button.compact {
  min-height:32px;
  padding:6px 10px;
  font-size:10px;
}
#app-shell .button:not(.primary):not(.danger) {
  border-color:var(--ui-border-strong);
  background:#fff;
  color:#405762;
}
#app-shell .button.ghost {
  border-color:transparent;
  background:transparent;
  color:var(--workspace-blue);
}
#app-shell .button.danger {
  border-color:#e4bbb4;
  background:#fff;
  color:#a13d31;
}
#app-shell .text-link {
  color:var(--workspace-blue);
  font-weight:750;
}

/* Forms use fewer nested boxes and a consistent reading width. */
#app-shell label {
  margin-bottom:11px;
  color:#314852;
  font-size:10px;
  font-weight:800;
}
#app-shell input,
#app-shell textarea,
#app-shell select {
  min-height:38px;
  border:1px solid var(--ui-border-strong);
  border-radius:8px;
  background:#fff;
  padding:9px 10px;
  color:var(--ui-text);
  font-size:11px;
  box-shadow:none;
}
#app-shell textarea {
  min-height:96px;
  line-height:1.5;
}
#app-shell input:focus,
#app-shell textarea:focus,
#app-shell select:focus {
  border-color:var(--workspace-blue);
  outline:3px solid rgba(47,109,138,.1);
}
#app-shell .form-section {
  border-bottom-color:#e7ebee;
  padding:16px;
}
#app-shell .section-title {
  gap:14px;
  margin-bottom:13px;
}
#app-shell .section-title h3 {
  color:var(--ui-text);
  font-size:16px;
}
#app-shell .section-title p,
#app-shell .helper {
  color:var(--ui-muted);
  font-size:9px;
  line-height:1.45;
}
#app-shell .field-grid { gap:3px 12px; }
#app-shell fieldset {
  border-color:var(--ui-border);
  border-radius:10px;
}
#app-shell .mode-card span,
#app-shell .capture-mode-selector span,
#app-shell .calculation-type-option span {
  border-color:var(--ui-border-strong);
  border-radius:9px;
  background:#fff;
  box-shadow:none;
}
#app-shell .mode-card input:checked + span,
#app-shell .capture-mode-selector input:checked + span,
#app-shell .calculation-type-option input:checked + span {
  border-color:var(--workspace-blue);
  background:var(--ui-surface-blue);
  box-shadow:0 0 0 2px rgba(47,109,138,.1);
}
#app-shell .upload-zone {
  min-height:118px;
  border-color:#b8c5cc;
  border-radius:10px;
  background:#fafbfc;
  padding:18px;
}
#app-shell .upload-zone:hover,
#app-shell .upload-zone.drag {
  border-color:var(--workspace-blue);
  background:var(--ui-surface-blue);
}
#app-shell .upload-icon {
  border-radius:9px;
  background:var(--ui-surface-blue);
  color:var(--workspace-blue);
}

/* Tabs, filters, tables, and lists are compact and recognizable. */
#app-shell .tabs {
  gap:2px;
  margin-bottom:14px;
  border:0;
  border-bottom:1px solid var(--ui-border);
  border-radius:0;
  background:transparent;
  padding:0;
}
#app-shell .tab {
  min-height:38px;
  border:0;
  border-bottom:3px solid transparent;
  border-radius:0;
  background:transparent;
  padding:8px 11px;
  color:var(--ui-muted);
}
#app-shell .tab:hover { background:var(--ui-surface-muted); }
#app-shell .tab.active {
  border-color:var(--workspace-blue);
  background:transparent;
  color:var(--workspace-blue);
  box-shadow:none;
}
#app-shell .filter-row,
#app-shell .list-controls {
  gap:7px;
  margin-bottom:12px;
  border:1px solid var(--ui-border);
  border-radius:10px;
  background:var(--ui-surface-muted);
  padding:8px;
}
#app-shell .filter-row input,
#app-shell .filter-row select {
  min-height:34px;
  border-color:var(--ui-border);
}
#app-shell .table-wrap {
  border:1px solid var(--ui-border);
  border-radius:10px;
  background:#fff;
}
#app-shell .data-table th {
  border-bottom-color:var(--ui-border);
  background:var(--ui-surface-muted);
  padding:8px 9px;
  color:#61717b;
  font-size:8px;
}
#app-shell .data-table td {
  border-bottom-color:#edf0f2;
  padding:9px;
  font-size:10px;
}
#app-shell .data-table tbody tr:hover { background:#f6f9fb; }
#app-shell .evaluation-list,
#app-shell .queue-list,
#app-shell .requirement-grid,
#app-shell .support-record-list,
#app-shell .lecture-library-grid,
#app-shell .certification-person-list {
  gap:8px;
}
#app-shell .evaluation-row,
#app-shell .queue-item,
#app-shell .requirement-grid article,
#app-shell .student-summary-skills article,
#app-shell .resource-link,
#app-shell .certification-person-row,
#app-shell .supplemental-video-card {
  border:1px solid var(--ui-border);
  border-radius:9px;
  background:#fff;
  padding:10px 11px;
  box-shadow:none;
}

/* Notices remain visible but only status determines color. */
#app-shell .notice {
  gap:10px;
  margin-bottom:13px;
  border:1px solid #d9e1e5;
  border-left:4px solid #7892a1;
  border-radius:9px;
  background:#f7f9fa;
  padding:10px 12px;
  color:#40545f;
  font-size:10px;
  line-height:1.45;
}
#app-shell .notice.info {
  border-color:#c8dce7;
  border-left-color:var(--workspace-blue);
  background:#f2f7fa;
  color:#31566b;
}
#app-shell .notice.warning {
  border-color:#ead8ad;
  border-left-color:#bd8625;
  background:#fffbf1;
  color:#71561e;
}
#app-shell .notice.danger {
  border-color:#e8c4be;
  border-left-color:#b94b3e;
  background:#fff7f5;
  color:#7e3e36;
}
#app-shell .badge {
  border-radius:6px;
  padding:3px 6px;
  font-size:8px;
}

/* Expandable areas look like controls, without surrounding feature-card decoration. */
#app-shell details:not(.nav-group) {
  border-color:var(--ui-border);
  border-radius:9px;
  background:#fff;
  box-shadow:none;
}
#app-shell details:not(.nav-group) > summary {
  min-height:42px;
  color:#314a58;
}
#app-shell details:not(.nav-group)[open] > summary {
  border-bottom-color:#e7ecef;
  background:var(--ui-surface-muted);
}

/* Modals and empty states are calmer and shorter. */
#app-shell .modal {
  border:1px solid var(--ui-border);
  border-radius:13px;
  box-shadow:0 24px 65px rgba(20,43,58,.2);
}
#app-shell .modal-header {
  border-bottom:1px solid var(--ui-border);
  background:#fff;
  padding:15px 17px;
}
#app-shell .modal-body { padding:17px; }
#app-shell .modal-actions {
  border-top:1px solid var(--ui-border);
  background:var(--ui-surface-muted);
  padding:12px 17px;
}
#app-shell .empty {
  min-height:130px;
  border:1px dashed var(--ui-border-strong);
  border-radius:10px;
  background:#fafbfc;
  padding:22px;
}
#app-shell .empty-icon {
  border-radius:9px;
  background:var(--ui-surface-blue);
  color:var(--workspace-blue);
}

/* Keep Evaluation's explicit three-step and recording safety hierarchy. */
#app-shell #new-evaluation-form .evaluation-step-block {
  border-left-width:5px;
  background:#fff;
}
#app-shell #page:has(#new-evaluation-form) > .page-heading {
  box-sizing:border-box;
  min-height:92px;
  padding-right:340px;
}
#app-shell #new-evaluation-form .evaluation-step-one { border-left-color:var(--workspace-blue); }
#app-shell #new-evaluation-form .evaluation-step-two { border-left-color:#5e7180; }
#app-shell #new-evaluation-form .evaluation-step-three { border-left-color:var(--workspace-coral); }
#app-shell #new-evaluation-form .evidence-record-path span {
  background:#fff;
}
#app-shell #new-evaluation-form .recorder-actions #start-recording-button,
#app-shell #new-evaluation-form .evaluation-step-three .button.primary {
  min-height:46px;
}
#app-shell .recording-floating-card,
#app-shell .floating-recording-card {
  box-shadow:0 12px 30px rgba(20,43,58,.2);
}

@media(max-width:1050px) {
  #app-shell .dashboard-grid,
  #app-shell .detail-grid,
  #app-shell .form-layout,
  #app-shell .program-value-grid,
  #app-shell .program-config-grid,
  #app-shell .student-result-grid,
  #app-shell .support-workspace-grid,
  #app-shell .assistant-workspace-grid {
    grid-template-columns:1fr;
  }
  #app-shell .summary-card,
  #app-shell .support-entry-panel,
  #app-shell .assistant-prompt-panel {
    position:static;
  }
  #app-shell #page:has(#new-evaluation-form) > .page-heading {
    min-height:0;
    padding-right:0;
    padding-bottom:84px;
  }
}
@media(max-width:760px) {
  #app-shell .page { padding:18px 14px 100px; }
  #app-shell .page-heading,
  #app-shell .page-heading.overview-hero {
    align-items:flex-start;
    flex-direction:column;
    padding:0 0 14px;
  }
  #app-shell .page-heading.overview-hero { padding:18px; }
  #app-shell .heading-actions {
    width:100%;
    justify-content:flex-start;
  }
  #app-shell .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #app-shell .metric-card,
  #app-shell .overview-metric-grid .metric-card:nth-child(n) { min-height:90px; }
  #app-shell .field-grid { grid-template-columns:1fr; }
  .individual-evaluation-page #new-evaluation-form .evaluation-step-one>.field-grid{grid-template-columns:1fr}
  .evaluation-setup-progress{grid-template-columns:1fr;padding:5px}
  .evaluation-setup-progress button{justify-content:flex-start;padding-inline:12px}
  #app-shell .tabs { flex-wrap:nowrap; overflow-x:auto; }
}
@media(max-width:480px) {
  #app-shell .metric-grid { grid-template-columns:1fr; }
  #app-shell .heading-actions .button { flex:1 1 auto; }
}

/* Professional finish pass: refined hierarchy, alignment, and interaction quality. */
#app-shell {
  color:var(--ui-text);
  background:#f3f5f7;
}
#app-shell .main {
  background:
    linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,0) 210px),
    #f3f5f7;
}
#app-shell .main::before { display:none; }
#app-shell .topbar {
  min-height:64px !important;
  height:64px !important;
  border-bottom:1px solid #d9e0e4;
  background:rgba(255,255,255,.97);
  padding-block:6px !important;
  box-shadow:0 2px 10px rgba(20,43,58,.045);
  backdrop-filter:blur(16px) saturate(1.08);
}
#app-shell #breadcrumbs {
  color:#7a8991;
  font-size:10px;
  white-space:nowrap;
}
#app-shell #breadcrumbs strong {
  color:#2c414c;
  font-weight:850;
}

#app-shell .term-switcher{
  display:flex;
  align-items:center;
  gap:7px;
  color:#405967;
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
#app-shell .term-switcher select{
  min-width:168px;
  max-width:230px;
  min-height:38px;
  padding:7px 30px 7px 10px;
  border:1px solid #9eb3bf;
  border-radius:10px;
  background:#fff;
  color:#102f3d;
  font-size:13px;
  font-weight:750;
  text-transform:none;
  letter-spacing:0;
}
#app-shell .term-switcher.hidden{display:none!important}

.academic-term-list{display:grid;gap:10px;margin-bottom:14px}
.academic-term-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #c7d5dc;border-left:5px solid #7893a1;border-radius:12px;background:#fff}
.academic-term-card.current{border-left-color:#167aa6;background:#edf8fc;box-shadow:0 5px 16px rgba(22,122,166,.10)}
.academic-term-card.archived{background:#f4f5f5;color:#61717a}
.academic-term-card>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.academic-term-card>div:first-child{display:grid;gap:3px}
.academic-term-card strong{color:#123747}
.academic-term-card span{font-size:12px}
.academic-term-create{margin-top:12px;border-top:1px solid #d4dee3;padding-top:12px}
.academic-term-create>summary{cursor:pointer;font-weight:800;color:#145a78}
.academic-term-create form{display:grid;gap:12px;margin-top:14px}
@media(max-width:900px){#app-shell .term-switcher span{display:none}#app-shell .term-switcher select{min-width:132px;max-width:160px}.academic-term-card{align-items:flex-start;flex-direction:column}}
#app-shell .global-search {
  height:38px;
  max-width:620px;
  border-color:#d5dde2;
  border-radius:10px;
  background:#f9fafb;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
#app-shell .global-search:focus-within {
  border-color:#7ca5bc;
  background:#fff;
  box-shadow:0 0 0 3px rgba(47,109,138,.1);
}
#app-shell .global-search input {
  color:#263c47;
  font-size:11px;
}
#app-shell .global-search input::placeholder { color:#8a969d; }
#app-shell .icon-button {
  border-color:#d5dde2;
  border-radius:9px;
  box-shadow:none;
}

/* Sidebar behaves like professional application navigation, not stacked cards. */
#app-shell .sidebar {
  border-right:1px solid #203d4d;
  padding:22px 13px 15px;
  background:linear-gradient(180deg,#132d3d,#173545 70%,#112a39);
  box-shadow:8px 0 26px rgba(12,31,43,.08);
}
#app-shell .sidebar::after {
  height:2px;
  background:var(--workspace-coral);
}
#app-shell .sidebar .brand {
  gap:10px;
  margin-bottom:10px;
  padding:0 8px 19px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
#app-shell .sidebar .brand-mark {
  width:39px;
  height:39px;
  filter:drop-shadow(0 7px 12px rgba(0,0,0,.2));
}
#app-shell .sidebar .brand-copy strong {
  color:#fff;
  font-size:14px;
  letter-spacing:-.02em;
}
#app-shell .sidebar .brand-copy small {
  margin-top:3px;
  color:#a9bbc4;
  font-size:7px;
  letter-spacing:.14em;
}
#app-shell .sidebar nav { gap:3px; }
#app-shell .nav-section-group,
#app-shell .nav-section-group[open] {
  margin:0;
  border:0;
  background:transparent;
}
#app-shell .nav-section-group > summary,
#app-shell .nav-section-group[open] > summary {
  min-height:40px;
  border-radius:8px;
  background:transparent;
  color:#c8d5db;
  padding:8px 9px;
  font-size:11px;
}
#app-shell .nav-section-group > summary:hover,
#app-shell .nav-section-group[open] > summary:hover {
  background:rgba(255,255,255,.055);
  color:#fff;
}
#app-shell .nav-section-group[open] > summary {
  color:#fff;
}
#app-shell .nav-section-group > summary .nav-icon,
#app-shell .nav-section-group[open] > summary .nav-icon {
  width:25px;
  min-width:25px;
  height:25px;
  border-color:rgba(255,255,255,.1);
  border-radius:7px;
  background:rgba(255,255,255,.055);
  color:#cfe0e6;
}
#app-shell .nav-section-group[open] > summary .nav-icon {
  border-color:rgba(93,160,196,.38);
  background:rgba(47,109,138,.45);
  color:#fff;
}
#app-shell .nav-submenu {
  gap:2px;
  margin:1px 4px 5px 18px;
  padding:2px 0 2px 8px;
  border-left-color:rgba(255,255,255,.1);
}
#app-shell .sidebar .nav-item {
  min-height:34px;
  border-radius:7px;
  padding:7px 9px;
  color:#b5c4ca;
  font-size:10px;
  font-weight:650;
}
#app-shell .sidebar .nav-item:hover {
  background:rgba(255,255,255,.055);
  color:#fff;
}
#app-shell .sidebar .nav-item.active {
  position:relative;
  color:#fff;
  background:#2f6d8a;
  box-shadow:0 5px 13px rgba(5,21,31,.18);
}
#app-shell .sidebar .nav-item.active::before {
  content:'';
  position:absolute;
  inset:7px auto 7px -9px;
  width:3px;
  border-radius:0 3px 3px 0;
  background:#74bfdc;
}
#app-shell .sidebar .user-block {
  margin-top:12px;
  border-top-color:rgba(255,255,255,.1);
  padding:13px 5px 0;
}
#app-shell .sidebar .user-block strong { font-size:10px; }
#app-shell .sidebar .user-block span { color:#93a8b2; }
#app-shell .sidebar .avatar {
  background:#284b5c;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}

/* Crisp typography and balanced whitespace. */
#app-shell .page { padding-top:27px; }
#app-shell .page-heading {
  margin-bottom:20px;
  padding-bottom:17px;
}
#app-shell .page-heading h1 {
  color:#1a303b;
  font-weight:780;
  letter-spacing:-.038em;
}
#app-shell .page-heading p {
  color:#62727b;
  font-size:12px;
}
#app-shell .page-heading .eyebrow,
#app-shell .panel-header .eyebrow,
#app-shell .section-heading .eyebrow {
  color:#53798d;
  font-size:8px;
  letter-spacing:.13em;
}
#app-shell .page-heading.overview-hero {
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 88% 14%,rgba(93,160,196,.2),transparent 18rem),
    linear-gradient(125deg,#173447,#234b60);
  box-shadow:0 12px 30px rgba(20,43,58,.15);
}
#app-shell .page-heading.overview-hero h1 {
  letter-spacing:-.04em;
  text-shadow:none;
}

/* Subtle depth and precise edges. */
#app-shell .panel,
#app-shell .support-record-card,
#app-shell .knowledge-submission-card,
#app-shell .certification-level-card {
  border-color:#d9e0e4;
  box-shadow:0 3px 12px rgba(20,43,58,.04);
}
#app-shell .panel-header {
  border-bottom-color:#e7ebee;
  padding:14px 17px;
}
#app-shell .panel-body { padding:17px; }
#app-shell .panel-header h2 { font-weight:780; }
#app-shell .panel-header h3 { font-weight:780; }
#app-shell .metric-card,
#app-shell .overview-metric-grid .metric-card:nth-child(n) {
  border-color:#d9e0e4 !important;
  padding:14px 15px;
}
#app-shell .metric-value {
  font-variant-numeric:tabular-nums;
  font-weight:800;
}
#app-shell .metric-card-action {
  transition:border-color .14s ease,background .14s ease,box-shadow .14s ease;
}

/* Refined controls and accessible interaction feedback. */
#app-shell .button {
  border-radius:8px;
  font-weight:780;
  letter-spacing:.005em;
  transition:border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease;
}
#app-shell .button.primary,
#app-shell .new-eval-button {
  background:linear-gradient(180deg,#df6749,#ce5337) !important;
  box-shadow:0 5px 13px rgba(185,71,47,.2) !important;
}
#app-shell .button.primary:hover,
#app-shell .new-eval-button:hover {
  background:linear-gradient(180deg,#d45a3d,#b9472f) !important;
  box-shadow:0 7px 17px rgba(185,71,47,.25) !important;
}
#app-shell .button:not(.primary):not(.danger):hover {
  border-color:#aebdc5;
  background:#f7f9fa;
  color:#233d4a;
}
#app-shell button:focus-visible,
#app-shell input:focus-visible,
#app-shell textarea:focus-visible,
#app-shell select:focus-visible,
#app-shell summary:focus-visible,
#app-shell a:focus-visible {
  outline:3px solid rgba(47,109,138,.2);
  outline-offset:2px;
  box-shadow:0 0 0 1px rgba(47,109,138,.32);
}
#app-shell input,
#app-shell textarea,
#app-shell select {
  border-color:#cbd5da;
  background:#fff;
  color:#233943;
  font-size:11px;
}
#app-shell input:hover,
#app-shell textarea:hover,
#app-shell select:hover {
  border-color:#a9b8c0;
}
#app-shell input:focus,
#app-shell textarea:focus,
#app-shell select:focus {
  border-color:#5f8da7;
  outline:3px solid rgba(47,109,138,.1);
  box-shadow:none;
}
#app-shell label {
  color:#344b56;
  font-size:10px;
  letter-spacing:.005em;
}
#app-shell .helper { color:#72818a; }

/* Data-heavy pages feel deliberate and easier to scan. */
#app-shell .table-wrap {
  border-color:#d8e0e4;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
#app-shell .data-table th {
  color:#596b75;
  font-weight:900;
  letter-spacing:.085em;
}
#app-shell .data-table td {
  color:#314751;
  font-size:10px;
}
#app-shell .data-table tbody tr:nth-child(even) { background:#fbfcfc; }
#app-shell .data-table tbody tr:hover { background:#eef5f8; }
#app-shell .evaluation-row,
#app-shell .resource-link,
#app-shell .certification-person-row,
#app-shell .student360-card,
#app-shell .knowledge-card {
  transition:border-color .14s ease,background .14s ease,box-shadow .14s ease;
}
#app-shell .evaluation-row:hover,
#app-shell .resource-link:hover,
#app-shell .certification-person-row:hover,
#app-shell .student360-card:hover,
#app-shell .knowledge-card:hover {
  border-color:#a9bec9;
  background:#f8fbfc;
  box-shadow:0 4px 13px rgba(20,43,58,.055);
  transform:none;
}
#app-shell .tabs {
  scrollbar-width:thin;
  scrollbar-color:#b9c5cb transparent;
}
#app-shell .tab {
  font-weight:800;
  letter-spacing:.01em;
}
#app-shell .tab.active { color:#285f7b; }
#app-shell details:not(.nav-group) > summary {
  padding-inline:12px;
  font-weight:780;
}
#app-shell details:not(.nav-group) > summary:hover {
  background:#f5f8f9;
}
#app-shell .badge {
  border:1px solid rgba(83,105,116,.12);
  font-weight:850;
  letter-spacing:.04em;
}

/* Floating assistance remains available without dominating the workspace. */
#app-shell .next-step-button,
#app-shell .support-feedback-button {
  min-height:40px;
  gap:7px;
  border:1px solid rgba(255,255,255,.12);
  padding:6px 12px 6px 7px;
  box-shadow:0 8px 22px rgba(20,43,58,.2);
}
#app-shell .next-step-button { right:18px; bottom:18px; }
#app-shell .support-feedback-button {
  left:calc(var(--sidebar) + 18px);
  bottom:18px;
  background:#244c60;
}
#app-shell .next-step-button > span,
#app-shell .support-feedback-button > span {
  width:26px;
  height:26px;
}
#app-shell .next-step-button strong,
#app-shell .support-feedback-button strong {
  font-size:10px;
}
#app-shell .floating-helper-dismiss {
  min-width:42px;
  height:26px;
  border:1px solid rgba(255,255,255,.9);
  padding:0 7px;
  background:#697982;
  box-shadow:0 5px 14px rgba(20,43,58,.16);
}
#app-shell .floating-helper-dismiss:hover {
  background:#4f6069;
  box-shadow:0 7px 17px rgba(20,43,58,.2);
}
#app-shell .floating-helper-dismiss strong { font-size:7px; }
#app-shell .floating-helper-dismiss span { font-size:14px; }

/* Evaluation keeps stronger live-state cues while matching the polished shell. */
#app-shell #new-evaluation-form .evaluation-step-block {
  border-color:#d6dfe4;
  box-shadow:0 4px 15px rgba(20,43,58,.045);
}
#app-shell #new-evaluation-form .simplified-evidence-recorder {
  border-color:#d4dde2;
  background:#f8fafb;
}
#app-shell .recording-controls-floating {
  filter:none;
}

* {
  scrollbar-width:thin;
  scrollbar-color:#aebcc3 transparent;
}
*::-webkit-scrollbar { width:8px; height:8px; }
*::-webkit-scrollbar-thumb {
  border:2px solid transparent;
  border-radius:999px;
  background:#aebcc3;
  background-clip:padding-box;
}
*::-webkit-scrollbar-track { background:transparent; }

@media(max-width:760px) {
  #app-shell .topbar {
    min-height:60px !important;
    height:60px !important;
    padding-block:5px !important;
  }
  #app-shell .global-search { height:36px; }
  #app-shell .support-feedback-button { left:14px; bottom:14px; }
  #app-shell .next-step-button { right:14px; bottom:14px; }
  #app-shell .page { padding-top:20px; }
}

/* Tasteful color layer: functional accents on a professional neutral foundation. */
#app-shell {
  --accent-blue:#3d7897;
  --accent-sky:#5b94b7;
  --accent-coral:#d56347;
  --accent-amber:#bd8730;
  --accent-plum:#765b8c;
  --accent-green:#3f8168;
  --tint-blue:#eef5f8;
  --tint-sky:#f0f6fa;
  --tint-coral:#fff3ef;
  --tint-amber:#fff8e9;
  --tint-plum:#f6f2f8;
  --tint-green:#eff7f3;
}

/* Overview + Action Center consolidation — July 28, 2026 */
#app-shell .overview-action-center{
  overflow:hidden;
  border-color:#cfdae0;
  box-shadow:0 10px 28px rgba(20,45,58,.07);
}
#app-shell .overview-action-center>.panel-header{
  align-items:center;
  border-left:4px solid var(--workspace-coral,#d56347);
  background:linear-gradient(90deg,#fff7f4 0,#fff 42%);
}
#app-shell .overview-action-tabs{display:flex;gap:6px;flex-wrap:wrap}
#app-shell .overview-action-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-bottom:12px;
}
#app-shell .overview-action-summary button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding:9px 12px;
  border:1px solid #d6e0e5;
  border-radius:10px;
  color:#425762;
  background:#f8fafb;
  font:inherit;
  cursor:pointer;
}
#app-shell .overview-action-summary button:hover,
#app-shell .overview-action-summary button.active{
  border-color:#7ca7bc;
  color:#173d50;
  background:#edf6fa;
}
#app-shell .overview-action-summary button:first-child strong{color:#b94d40}
#app-shell .overview-action-summary button:nth-child(2) strong{color:#a57525}
#app-shell .overview-action-summary button:nth-child(3) strong{color:#3d7897}
#app-shell .overview-action-summary span{font-size:12px;font-weight:800}
#app-shell .overview-action-summary strong{font-size:20px}
#app-shell .overview-action-search{grid-template-columns:minmax(220px,1fr);margin-bottom:10px}
#app-shell .overview-action-search input{width:100%}
#app-shell .overview-action-center .action-center-list{
  max-height:430px;
  overflow:auto;
  padding-right:4px;
}
#app-shell .overview-action-center>.action-center-view[data-action-center-view="processing"]{
  padding:16px;
  background:#f7f9fa;
}
#app-shell .overview-action-center>.action-center-view[data-action-center-view="processing"]>.metric-grid{margin:0 0 12px}
#app-shell .overview-action-center>.action-center-view[data-action-center-view="processing"]>.processing-status-panel{
  margin:12px 0 0;
  box-shadow:none;
}
#app-shell .compact-empty{min-height:120px}
@media(max-width:760px){
  #app-shell .overview-action-center>.panel-header{align-items:flex-start}
  #app-shell .overview-action-center>.panel-header .heading-actions{width:100%}
  #app-shell .overview-action-summary{grid-template-columns:1fr 1fr}
  #app-shell .overview-action-tabs{width:100%}
  #app-shell .overview-action-tabs .button{flex:1}
}

/* Each primary workspace area has a distinct but restrained identity. */
#app-shell #nav-section-command > summary .nav-icon {
  border-color:rgba(91,148,183,.38);
  background:rgba(91,148,183,.2);
  color:#bfe0f0;
}
#app-shell #nav-section-evaluate > summary .nav-icon {
  border-color:rgba(213,99,71,.4);
  background:rgba(213,99,71,.2);
  color:#ffd1c5;
}
#app-shell #nav-section-students > summary .nav-icon {
  border-color:rgba(86,153,190,.38);
  background:rgba(86,153,190,.2);
  color:#c3e7f7;
}
#app-shell #nav-section-program > summary .nav-icon {
  border-color:rgba(189,135,48,.42);
  background:rgba(189,135,48,.2);
  color:#f4d79e;
}
#app-shell #nav-section-admin > summary .nav-icon {
  border-color:rgba(161,126,182,.42);
  background:rgba(118,91,140,.25);
  color:#dec8eb;
}
#app-shell #nav-section-command[open] > summary { background:rgba(61,120,151,.13); }
#app-shell #nav-section-evaluate[open] > summary { background:rgba(213,99,71,.1); }
#app-shell #nav-section-students[open] > summary { background:rgba(91,148,183,.11); }
#app-shell #nav-section-program[open] > summary { background:rgba(189,135,48,.1); }
#app-shell #nav-section-admin[open] > summary { background:rgba(118,91,140,.12); }
#app-shell #nav-section-evaluate .nav-item.active {
  background:linear-gradient(90deg,#a94c39,#c45c43);
}
#app-shell #nav-section-students .nav-item.active {
  background:linear-gradient(90deg,#326f91,#4384a7);
}
#app-shell #nav-section-program .nav-item.active {
  background:linear-gradient(90deg,#8c672b,#aa7c31);
}
#app-shell #nav-section-admin .nav-item.active {
  background:linear-gradient(90deg,#604b72,#765b8c);
}
#app-shell #nav-section-evaluate .nav-item.active::before { background:#ffb6a4; }
#app-shell #nav-section-program .nav-item.active::before { background:#f2d391; }
#app-shell #nav-section-admin .nav-item.active::before { background:#d9bce8; }

/* Small color signatures keep headings and panels from feeling generic. */
#app-shell .page-heading:not(.overview-hero) {
  position:relative;
}
#app-shell .page-heading:not(.overview-hero)::after {
  content:'';
  position:absolute;
  left:0;
  bottom:-1px;
  display:block;
  width:58px;
  height:3px;
  border-radius:3px 3px 0 0;
  background:linear-gradient(90deg,var(--accent-blue),var(--accent-sky));
}
#app-shell .team-evaluation-page-heading::after {
  background:linear-gradient(90deg,var(--accent-plum),#a17eb6) !important;
}
#app-shell .page-heading .eyebrow {
  color:var(--accent-blue);
}
#app-shell .team-evaluation-page-heading .eyebrow { color:var(--accent-plum); }
#app-shell .training-tools-heading .eyebrow,
#app-shell .study-reference-heading .eyebrow { color:#417fa2; }
#app-shell .lecture-heading .eyebrow { color:#6b5a97; }

#app-shell .panel {
  --panel-accent:#7fa4b7;
}
#app-shell .panel-header {
  box-shadow:inset 3px 0 0 var(--panel-accent);
  background:linear-gradient(90deg,#fff 0%,#fff 72%,rgba(238,245,248,.48) 100%);
}
#app-shell .overview-evaluation-panel,
#app-shell .processing-status-panel,
#app-shell .action-center-list { --panel-accent:var(--accent-blue); }
#app-shell .scenario-workbench,
#app-shell .scenario-builder-panel,
#app-shell .capture-recorder-panel,
#app-shell .evaluation-step-two { --panel-accent:var(--accent-coral); }
#app-shell .student-result-header,
#app-shell .student-completion-panel,
#app-shell .student-search-summary { --panel-accent:var(--accent-sky); }
#app-shell .program-value-panel,
#app-shell .program-config-panel,
#app-shell .guided-setup,
#app-shell .role-setup { --panel-accent:var(--accent-amber); }
#app-shell .accreditation-workspace,
#app-shell .accreditation-panel,
#app-shell .certification-level-card,
#app-shell .team-evaluation-setup { --panel-accent:var(--accent-plum); }
#app-shell .quality-control-panel,
#app-shell .production-health-panel,
#app-shell .backup-panel { --panel-accent:var(--accent-green); }

/* Workflow and content accents remain light enough for long working sessions. */
#app-shell .first-use-welcome {
  border-color:#c7dae4;
  background:linear-gradient(120deg,var(--tint-blue),#fff 72%);
}
#app-shell .role-setup {
  border-top-color:var(--accent-amber);
}
#app-shell .guided-setup li:nth-child(3n+1) {
  border-color:#c9dde7;
  background:linear-gradient(135deg,var(--tint-blue),#fff);
}
#app-shell .guided-setup li:nth-child(3n+2) {
  border-color:#ead9b9;
  background:linear-gradient(135deg,var(--tint-amber),#fff);
}
#app-shell .guided-setup li:nth-child(3n+3) {
  border-color:#e5cec7;
  background:linear-gradient(135deg,var(--tint-coral),#fff);
}
#app-shell .empty-icon {
  border:1px solid #d1e2ea;
  background:linear-gradient(145deg,var(--tint-blue),#fff);
  color:var(--accent-blue);
}
#app-shell .upload-icon {
  border:1px solid #d1e2ea;
  background:var(--tint-blue);
  color:var(--accent-blue);
}
#app-shell .queue-icon {
  background:var(--tint-amber);
  color:#9b6b1e;
}
#app-shell .student-avatar {
  background:var(--tint-sky);
  color:#376f8f;
}
#app-shell .source-row .bar i,
#app-shell .annual-progress i {
  background:linear-gradient(90deg,var(--accent-blue),var(--accent-sky));
}
#app-shell .quota-meter span {
  background:linear-gradient(90deg,var(--accent-blue),var(--accent-coral));
}

/* Status remains semantic and consistent. */
#app-shell .badge.pass,
#app-shell .badge.finalized,
#app-shell .badge.reviewed,
#app-shell .badge.complete {
  border-color:#c6dfd3;
  background:var(--tint-green);
  color:#327058;
}
#app-shell .badge.pending,
#app-shell .badge.pending-review,
#app-shell .badge.transcribing {
  border-color:#ead8ad;
  background:var(--tint-amber);
  color:#8a611f;
}
#app-shell .badge.fail,
#app-shell .badge.confirmed,
#app-shell .badge.failed {
  border-color:#e7c7c0;
  background:var(--tint-coral);
  color:#a04434;
}
#app-shell .badge.beta {
  border-color:#d9cce1;
  background:var(--tint-plum);
  color:#675078;
}

/* Evaluation remains easy to distinguish step by step. */
#app-shell #new-evaluation-form .evaluation-step-one {
  border-left-color:var(--accent-blue);
  background:linear-gradient(90deg,rgba(238,245,248,.52),#fff 16%);
}
#app-shell #new-evaluation-form .evaluation-step-two {
  border-left-color:var(--accent-coral);
  background:linear-gradient(90deg,rgba(255,243,239,.48),#fff 16%);
}
#app-shell #new-evaluation-form .evaluation-step-three {
  border-left-color:var(--accent-amber);
  background:linear-gradient(90deg,rgba(255,248,233,.5),#fff 18%);
}
#app-shell #new-evaluation-form .evidence-record-path span:nth-child(1) b { background:var(--accent-blue); }
#app-shell #new-evaluation-form .evidence-record-path span:nth-child(2) b { background:var(--accent-coral); }
#app-shell #new-evaluation-form .evidence-record-path span:nth-child(3) b { background:var(--accent-amber); }
#app-shell .team-evaluation-page::before {
  background:linear-gradient(90deg,#604b72,#806399);
}
#app-shell .team-evaluation-page .evaluation-step-one { border-color:#8c6da0; }
#app-shell .team-evaluation-page .evaluation-step-two { border-color:#c66149; }
#app-shell .team-evaluation-page .evaluation-step-three { border-color:#bd8730; }

@media (prefers-reduced-motion:no-preference) {
  #app-shell .button,
  #app-shell .nav-item,
  #app-shell .metric-card-action,
  #app-shell .resource-link,
  #app-shell .evaluation-row {
    transition-duration:.16s;
  }
}

/* Institution agreement center and access gate */
.agreement-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.agreement-library-card{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--workspace-border,#d9e1e6);border-radius:14px;background:#fff}
.agreement-library-card header span,.agreement-library-card header strong,.agreement-library-card header small{display:block}
.agreement-library-card header span{color:#526b78;font-size:.72rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.agreement-library-card header strong{margin-top:5px;color:#17313d;font-size:1rem}
.agreement-library-card header small{margin-top:4px;color:#647985}
.agreement-library-card p{flex:1;margin:0;color:#526771}
.agreement-document-text{white-space:pre-wrap;max-height:62vh;overflow:auto;padding:20px;border:1px solid #d8e1e5;border-radius:12px;background:#fbfcfd;font-family:Georgia,serif;line-height:1.65}
.agreement-package-builder{display:grid;gap:12px;margin:18px 0;padding:16px;border:1px solid #cfdce2;border-radius:14px;background:#f8fafb}
.agreement-package-document{border:1px solid #d7e0e4;border-radius:12px;background:#fff;overflow:hidden}
.agreement-package-document summary{padding:12px 14px;cursor:pointer;background:#f2f6f8}
.agreement-package-document summary::marker{color:#526b78}
.agreement-package-document>p,.agreement-package-document>label{margin:12px 14px}
.agreement-package-document textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.82rem;line-height:1.45}
.agreement-package-document.package-document-disabled{opacity:.62}
.institution-agreement-gated #primary-nav,.institution-agreement-gated .topbar-actions,.institution-agreement-gated .global-search,.institution-agreement-gated #app-assistant-button{display:none!important}
.agreement-access-gate{width:min(760px,100%);margin:8vh auto;padding:clamp(24px,5vw,48px);border:1px solid #d7e0e4;border-radius:22px;background:#fff;box-shadow:0 22px 60px rgba(16,42,49,.12);text-align:center}
.agreement-access-gate .agreement-gate-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:18px;color:#fff;background:#274f68;font-size:2rem;font-weight:900}
.agreement-access-gate h1{margin:10px 0 14px;color:#16313d}
.agreement-access-gate>p{color:#526771;font-size:1.05rem}
.agreement-access-gate .notice{text-align:left}
.agreement-access-gate .button-row{justify-content:center;margin-top:22px}
@media(max-width:700px){.agreement-library-grid{grid-template-columns:1fr}.agreement-access-gate{margin:3vh auto;padding:24px 18px}.agreement-access-gate .button-row{display:grid}.agreement-access-gate .button{width:100%}}

/* Restrained category color: stronger wayfinding without turning pages into card walls. */
.workspace-tone-coral{--workspace-accent:#c45b46;--workspace-accent-strong:#8d3d2e;--workspace-soft:#fff1ed;--workspace-line:#edc8bf}
.workspace-tone-sky{--workspace-accent:#347f9f;--workspace-accent-strong:#225d78;--workspace-soft:#edf7fb;--workspace-line:#bfdae5}
.workspace-tone-plum{--workspace-accent:#80638f;--workspace-accent-strong:#5d466b;--workspace-soft:#f6f0f8;--workspace-line:#d9c9df}
.workspace-tone-amber{--workspace-accent:#a97222;--workspace-accent-strong:#795016;--workspace-soft:#fff7e8;--workspace-line:#ead4aa}
.workspace-tone-navy{--workspace-accent:#365f79;--workspace-accent-strong:#24465c;--workspace-soft:#eef4f7;--workspace-line:#c5d5dd}
.workspace-tone-green{--workspace-accent:#3f8067;--workspace-accent-strong:#2e604d;--workspace-soft:#eff8f3;--workspace-line:#c5decf}
.workspace-tone-slate{--workspace-accent:#596d77;--workspace-accent-strong:#3e515b;--workspace-soft:#f0f4f5;--workspace-line:#ccd7db}

#app-shell .page[class*="workspace-tone-"]>.page-heading{
  border-color:var(--workspace-line);
  background:
    radial-gradient(circle at 88% 12%,color-mix(in srgb,var(--workspace-accent) 20%,transparent),transparent 17rem),
    linear-gradient(135deg,#fff 0%,var(--workspace-soft) 100%);
}
#app-shell .page[class*="workspace-tone-"]>.page-heading::before{background:var(--workspace-accent)}
#app-shell .page[class*="workspace-tone-"]>.page-heading::after{background:radial-gradient(circle,color-mix(in srgb,var(--workspace-accent) 18%,transparent),transparent 66%)}
#app-shell .page[class*="workspace-tone-"]>.page-heading .eyebrow,
.workspace-hub-section .eyebrow{
  border-color:var(--workspace-line);
  background:var(--workspace-soft);
  color:var(--workspace-accent-strong);
}

.workspace-hub-card:focus-visible{outline-color:color-mix(in srgb,var(--workspace-accent) 62%,transparent)}

.workspace-hub-section{
  border-left:4px solid var(--workspace-accent);
  border-radius:18px;
  background:linear-gradient(90deg,var(--workspace-soft),rgba(255,255,255,0) 54%);
  padding:18px 0 18px 20px;
}
.workspace-hub-card{
  position:relative;
  overflow:hidden;
  min-height:132px;
  padding:17px;
  border-color:var(--workspace-line);
  background:linear-gradient(145deg,#fff 38%,var(--workspace-soft));
}
.workspace-hub-card::after{
  content:'';
  position:absolute;
  right:-30px;
  top:-34px;
  width:92px;
  height:92px;
  border-radius:50%;
  background:color-mix(in srgb,var(--workspace-accent) 11%,transparent);
  pointer-events:none;
}
.workspace-hub-card:hover{border-color:var(--workspace-accent);box-shadow:0 14px 32px color-mix(in srgb,var(--workspace-accent) 13%,transparent)}
.workspace-hub-card span{position:relative;z-index:1;color:var(--workspace-accent-strong)}
.workspace-hub-card b{color:var(--workspace-accent-strong)}
.workspace-hub-card b[aria-hidden="true"]{font-size:1.15rem}
.workspace-hub-more{background:rgba(255,255,255,.8)}

.workspace-hub-nav .nav-icon{border:1px solid rgba(255,255,255,.12);border-radius:8px;background:rgba(255,255,255,.055)}
.workspace-hub-nav[data-route="dashboard"] .nav-icon{color:#dceef4;background:rgba(79,143,172,.18)}
.workspace-hub-nav[data-route="evaluations-hub"] .nav-icon{color:#ffc3b6;background:rgba(196,91,70,.20)}
.workspace-hub-nav[data-route="students-hub"] .nav-icon{color:#b8e3f4;background:rgba(52,127,159,.22)}
.workspace-hub-nav[data-route="learning-hub"] .nav-icon{color:#e0c8ea;background:rgba(128,99,143,.22)}
.workspace-hub-nav[data-route="program-hub"] .nav-icon{color:#f5d99f;background:rgba(169,114,34,.22)}
.workspace-hub-nav[data-route="administration-hub"] .nav-icon{color:#bfe8d5;background:rgba(63,128,103,.22)}
.workspace-hub-nav[data-route="platform-operations-hub"] .nav-icon{color:#d2dfe4;background:rgba(89,109,119,.28)}

@media(max-width:720px){
  .workspace-hub-section{padding:15px 0 10px 14px}
}

.professional-signature-directions{margin:0 0 18px;border:1px solid #c7d8df;border-radius:16px;background:linear-gradient(135deg,#f3f8fa,#fff);box-shadow:0 8px 24px rgba(16,42,53,.055);overflow:hidden}
.professional-signature-directions>summary{display:flex;align-items:center;gap:11px;padding:14px 16px;cursor:pointer;list-style:none;color:#24465c}
.professional-signature-directions>summary::-webkit-details-marker{display:none}
.professional-signature-directions>summary>span{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;border-radius:9px;background:#365f79;color:#fff;font-weight:900}
.professional-signature-directions>summary strong,.professional-signature-directions>summary small{display:block}
.professional-signature-directions>summary small{margin-top:2px;color:var(--text-muted);font-size:.78rem}
.professional-signature-directions[open]>summary{border-bottom:1px solid #d6e2e7;background:#eef5f8}
.professional-signature-directions-body{padding:16px 20px 18px}
.professional-signature-directions-body ol{margin:0;padding-left:23px}
.professional-signature-directions-body li{margin:0 0 11px;padding-left:4px;color:var(--text-muted);line-height:1.52}
.professional-signature-directions-body li strong{color:var(--text)}
.professional-signature-directions-body .notice{margin:15px 0 0}

/* WCAG 2.2 AA shared accessibility hardening. */
html{scroll-padding-top:96px}
#page:focus{outline:none}
:where(#app-shell h1,#app-shell h2,#app-shell h3,#app-shell section,#app-shell [id]){scroll-margin-top:104px}
#app-shell button,
#app-shell summary,
#app-shell input:not([type="hidden"]),
#app-shell select,
#app-shell textarea{min-inline-size:24px;min-block-size:24px}
#app-shell .user-actions button{min-width:32px;min-height:32px}
#app-shell .login-help-links button,
#app-shell .text-link{min-height:28px;padding-block:4px}
#app-shell :where(a,button,input,select,textarea,summary):focus-visible,
#login-screen :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #b84432!important;outline-offset:3px!important;box-shadow:0 0 0 2px #fff!important}
.table-wrap[tabindex="0"]:focus-visible,
.scenario-grid-table-wrap[tabindex="0"]:focus-visible{outline:3px solid #b84432;outline-offset:3px}
.recording-controls-floating[role="region"]{isolation:isolate}
.recording-controls-floating .floating-recording-toggle[aria-pressed="true"]{border-color:#fff}
@media (forced-colors:active){
  #app-shell .button,#app-shell .nav-item,#app-shell .panel,#app-shell .notice,#app-shell .badge,#app-shell input,#app-shell select,#app-shell textarea,#app-shell summary,.recording-controls-floating{border:1px solid CanvasText!important;box-shadow:none!important}
  #app-shell .button.primary,#app-shell .button.danger,#app-shell .nav-item.active{forced-color-adjust:none;background:Highlight!important;color:HighlightText!important}
  .recording-live i,.recording-live-badge i,.listening-dot{forced-color-adjust:none;background:Highlight!important}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .recording-timer-floating,.recording-timer-floating::before,.recording-live i,.recording-live-badge i,.listening-dot{animation:none!important}
}
@media print{#assertive-announcer,#polite-announcer,.skip-link{display:none!important}}

/* Simulated student-facing CAD preview and second-screen launcher. */
.cad-display-button{border-color:#315d72!important;background:#edf5f8!important;color:#234c60!important}
.scenario-cad-modal{width:min(1120px,96vw)}
.scenario-cad-modal .modal-body{display:grid;gap:16px}
.cad-screen{overflow:hidden;border:2px solid #315d72;border-radius:14px;background:#07151e;color:#e8f6ff;box-shadow:0 18px 45px rgba(7,21,30,.2);font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.cad-screen header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 21px;border-bottom:2px solid #315a6b;background:#0d2632}
.cad-screen header span,.cad-screen small{color:#89d5ee;font-size:.68rem;font-weight:850;letter-spacing:.08em}
.cad-screen h2{margin:5px 0 0;color:#fff;font-size:clamp(1.25rem,3vw,2rem);line-height:1.08}
.cad-screen header>strong{border:2px solid #f17474;border-radius:8px;background:#401619;color:#fff;padding:9px 12px;font-size:.82rem}
.cad-alert-line{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#315a6b}
.cad-alert-line>span{padding:11px 15px;background:#102731;color:#b6ccd5;font-size:.7rem}
.cad-alert-line b{display:block;margin-top:3px;color:#fff;font-size:1rem}
.cad-tabs{display:flex;gap:4px;padding:8px 10px;border-bottom:1px solid #315a6b;background:#0a1d27}
.cad-tabs button{min-height:42px;border:1px solid #527c8d;border-radius:7px;background:#102731;color:#c7dce4;padding:8px 18px;font:800 .78rem ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.04em;cursor:pointer}
.cad-tabs button[aria-selected="true"]{border-color:#ffd166;background:#214455;color:#fff;box-shadow:inset 0 -3px #ffd166}
.cad-tabs button:focus-visible{outline:3px solid #ffd166;outline-offset:2px}
.cad-tab-panel[hidden]{display:none!important}
.cad-location{padding:15px 20px;border-bottom:1px solid #315a6b;background:#09202c}
.cad-location strong{display:block;margin-top:6px;color:#ffd166;font-size:clamp(1rem,2.5vw,1.45rem)}
.cad-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.cad-grid article{min-width:0;padding:15px 20px;border-right:1px solid #315a6b;border-bottom:1px solid #315a6b}
.cad-grid strong,.cad-grid p{display:block;margin:6px 0 0;color:#fff;font-size:.92rem;line-height:1.45;overflow-wrap:anywhere}
.cad-grid .cad-wide{grid-column:1/-1}
.cad-grid .cad-safety{border-left:6px solid #f0a23a;background:#1e1a0d}
.cad-units ul{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;list-style:none}
.cad-units li{border:1px solid #6592a3;border-radius:999px;background:#13313d;color:#fff;padding:7px 11px;font-size:.8rem;font-weight:800}
.cad-map-layout,.cad-scene-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.7fr);gap:0;min-height:390px}
.cad-realistic-visual{min-height:390px;border-right:1px solid #315a6b;background:#14252d center/cover no-repeat;display:grid;place-items:center;color:#c4d6dd;font-weight:800;text-align:center;padding:20px}
.cad-realistic-visual.ready{display:block;padding:0;background-size:200% 100%;background-repeat:no-repeat}.cad-realistic-visual.ready.aerial{background-position:left center}.cad-realistic-visual.ready.ground{background-position:right center}
.cad-visual-unavailable{min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:36px;text-align:center;border-right:1px solid #315a6b;background:linear-gradient(145deg,#11252e,#1b3541);color:#dbe8ed}.cad-visual-unavailable>span{display:grid;place-items:center;width:50px;height:50px;border:1px solid #5f7d89;border-radius:50%;font-size:1.4rem}.cad-visual-unavailable strong{font-size:1.05rem}.cad-visual-unavailable p{max-width:420px;margin:0;color:#aebfc6}
.cad-simulated-map{position:relative;min-height:390px;overflow:hidden;border-right:1px solid #b7c0c4;background:#e7eadf}
.cad-road{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;border:1px solid #c4c8c9;background:#fff;color:#626b70;font-size:.62rem;font-style:normal;font-weight:750;letter-spacing:.02em;box-shadow:0 1px 2px rgba(43,55,60,.16)}
.cad-road span{position:relative;z-index:2;border-radius:4px;background:rgba(255,255,255,.88);padding:2px 6px;white-space:nowrap}
.road-one{left:-8%;right:-8%;top:46%;height:38px;transform:rotate(-7deg)}
.road-two{top:-10%;bottom:-10%;left:67%;width:32px;writing-mode:vertical-rl}
.cad-map-block{position:absolute;z-index:1;border:1px solid #c7cbc8;border-radius:4px;background:#d7dad6;box-shadow:none}
.block-one{left:8%;top:12%;width:25%;height:20%}.block-two{right:9%;top:13%;width:19%;height:21%}.block-three{left:17%;bottom:9%;width:30%;height:20%}
.cad-simulated-map.cad-env-rural{background:radial-gradient(circle at 25% 20%,#b9d4ad 0 7%,transparent 8%),radial-gradient(circle at 82% 74%,#b9d4ad 0 9%,transparent 10%),#dce8d4}.cad-simulated-map.cad-env-rural .cad-map-block{border-radius:50%;background:#bcd3b3}.cad-simulated-map.cad-env-rural .block-two{display:none}
.cad-simulated-map.cad-env-roadway .road-one{top:38%;height:54px;border-color:#d3bd78;background:#f2d58a}.cad-simulated-map.cad-env-roadway .road-two{left:78%}.cad-simulated-map.cad-env-roadway .cad-map-block{background:#d5d9d4}
.cad-simulated-map.cad-env-industrial{background:#e3e6e5}.cad-simulated-map.cad-env-industrial .cad-map-block{border-color:#aeb6b8;border-radius:2px;background:#c5cbcc}
.cad-simulated-map.cad-env-campus{background:#dcebd7}.cad-simulated-map.cad-env-campus .cad-map-block{border-color:#c5c9c6;background:#d6d8d5}
.cad-simulated-map.cad-env-commercial{background:#e6e9e7}.cad-simulated-map.cad-env-commercial .cad-map-block{background:#ccd2d2}
.cad-map-marker{position:absolute;z-index:5;display:block;width:31px;height:31px;border:3px solid #fff;border-radius:50% 50% 50% 0;background:#d83b34;transform:rotate(-45deg);box-shadow:0 3px 9px rgba(44,52,56,.38)}
.cad-map-marker::after{content:"";position:absolute;left:8px;top:8px;width:9px;height:9px;border-radius:50%;background:#fff}
.cad-map-label{position:absolute;z-index:5;border:1px solid #d3d8da;border-radius:5px;background:#fff;color:#39474d;padding:5px 8px;font-size:.65rem;font-weight:850;box-shadow:0 2px 6px rgba(43,55,60,.18)}
.cad-map-place{position:absolute;z-index:3;max-width:130px;color:#526168;font:700 .62rem system-ui,sans-serif;text-align:center;text-shadow:0 1px #fff}.cad-map-place.place-1{left:10%;top:22%}.cad-map-place.place-2{right:8%;top:18%}.cad-map-place.place-3{left:18%;bottom:14%}
.cad-map-compass{position:absolute;z-index:5;right:18px;top:16px;display:grid;width:36px;height:36px;place-items:center;border:1px solid #c1c9cc;border-radius:50%;background:#fffffff0;color:#435158;font-weight:950;box-shadow:0 2px 6px rgba(43,55,60,.18)}.cad-map-compass::before{content:"";position:absolute;top:-6px;border-width:0 5px 8px;border-style:solid;border-color:transparent transparent #d83b34}
.cad-map-scale{position:absolute;z-index:5;left:16px;bottom:14px;border-bottom:3px solid #4b585e;color:#4b585e;padding:0 10px 3px;font-size:.6rem;font-weight:900;letter-spacing:.04em}
.cad-map-details,.cad-scene-details{padding:24px;background:#0b202a}
.cad-map-details small,.cad-scene-details small{display:block;margin-top:18px}.cad-map-details small:first-child,.cad-scene-details small:first-child{margin-top:0}
.cad-map-details strong,.cad-scene-details strong{display:block;margin-top:7px;color:#ffd166;font-size:1.1rem}.cad-map-details p,.cad-scene-details p{color:#fff;line-height:1.5}
.cad-landmark-list{margin:7px 0 0;padding-left:20px;color:#fff}.cad-landmark-list li{margin:5px 0}
.cad-map-disclaimer{margin:0;padding:10px 18px;border-top:1px solid #315a6b;background:#081821;color:#adc2ca!important;font:700 .7rem system-ui,sans-serif!important}
.cad-scene-visual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#315a6b}
.cad-scene-visual-grid figure{position:relative;min-width:0;margin:0;background:#102731}
.cad-scene-visual-grid figcaption{position:absolute;z-index:3;left:12px;top:12px;border:1px solid #85b1c2;border-radius:5px;background:#07151edb;color:#fff;padding:6px 9px;font-size:.68rem;font-weight:900;letter-spacing:.08em}
.cad-scene-visual-grid .cad-realistic-visual,.cad-scene-visual-grid .cad-visual-unavailable{min-height:330px;border-right:0}
.cad-scene-visual-grid .cad-realistic-visual.ready{background-size:200% 100%}
.cad-scene-illustration{position:relative;min-height:390px;overflow:hidden;border-right:1px solid #315a6b;background:#84b2c6}
.cad-sky{position:absolute;inset:0 0 42%;background:linear-gradient(#79afca,#d6e3e5)}.cad-ground{position:absolute;inset:58% 0 0;background:linear-gradient(165deg,#60744d 0 38%,#4d5558 39% 60%,#718052 61%)}
.cad-building{position:absolute;z-index:2;left:23%;top:23%;width:53%;height:43%;border:4px solid #3d464a;background:#c8b79d;box-shadow:12px 12px 0 rgba(0,0,0,.2)}
.cad-building::before{content:"";position:absolute;left:-9%;right:-9%;top:-28%;height:30%;background:#394a52;clip-path:polygon(50% 0,100% 100%,0 100%)}
.cad-door{position:absolute;z-index:3;left:46%;top:46%;width:10%;height:20%;border:3px solid #25333a;background:#6c4c37}
.cad-response-unit{position:absolute;z-index:4;right:8%;bottom:9%;display:grid;width:115px;height:60px;place-items:center;border:4px solid #dbe8ee;border-radius:12px 12px 5px 5px;background:#f4f6f7;color:#173d50;font-size:1.1rem;font-weight:950;box-shadow:0 8px 14px rgba(0,0,0,.3)}
.cad-scene-illustration.cad-env-rural .cad-building{left:34%;width:35%;background:#93775a}.cad-scene-illustration.cad-env-roadway .cad-building{display:none}.cad-scene-illustration.cad-env-roadway .cad-ground{inset:48% 0 0;background:linear-gradient(170deg,#64784e 0 22%,#4b5256 23% 78%,#6f7c50 79%)}
.cad-scene-illustration.cad-env-industrial .cad-building{left:13%;top:18%;width:70%;height:52%;background:#89969a}.cad-scene-illustration.cad-env-industrial .cad-building::before{height:12%;top:-12%;clip-path:none;background:#454e51}
.cad-scene-illustration.cad-env-campus .cad-building{left:14%;width:68%;background:#9c5545}.cad-scene-illustration.cad-env-commercial .cad-building{left:17%;width:65%;background:#a7b6bb}.cad-scene-illustration.cad-env-commercial .cad-building::before{height:12%;top:-12%;clip-path:none;background:#365363}
.cad-screen footer{display:flex;justify-content:space-between;gap:12px;padding:10px 20px;color:#91a9b3;font-size:.68rem}
.cad-screen footer b{color:#ffd166}
.cad-participant-body{min-height:100vh;margin:0;padding:clamp(16px,4vw,48px);background:#050b10;color:#e8f6ff}.cad-participant-body .display-shell{width:min(1500px,100%);margin:auto}.cad-participant-body .display-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;color:#c1d0d6}.cad-participant-body .display-tools p{margin:0}.cad-participant-body .display-tools button{min-height:44px;border:2px solid #6cd5ff;border-radius:8px;background:#0b3546;color:#fff;padding:10px 16px;font-weight:800}
@media(max-width:720px){.cad-screen header{align-items:flex-start;flex-direction:column}.cad-alert-line,.cad-grid,.cad-map-layout,.cad-scene-layout,.cad-scene-visual-grid{grid-template-columns:1fr}.cad-grid .cad-wide{grid-column:1}.cad-screen footer,.cad-participant-body .display-tools{align-items:flex-start;flex-direction:column}.cad-simulated-map,.cad-scene-illustration{min-height:310px;border-right:0;border-bottom:1px solid #315a6b}.cad-scene-visual-grid .cad-realistic-visual,.cad-scene-visual-grid .cad-visual-unavailable{min-height:280px}.cad-tabs{overflow-x:auto}.cad-tabs button{flex:1 0 auto}}
@media(forced-colors:active){.cad-screen,.cad-screen *{border-color:CanvasText!important}.cad-screen header>strong{background:Highlight!important;color:HighlightText!important}}
.scenario-visual-generator{margin:16px 0;border:1px solid var(--line);border-radius:12px;background:#f8fbfc;padding:12px}.scenario-visual-generator>summary{cursor:pointer;font-weight:850;color:var(--navy)}.scenario-visual-generator form{display:grid;gap:13px;margin-top:14px}
.scenario-visual-repository-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;margin-top:12px}.scenario-visual-repository-grid article{display:flex;flex-direction:column;padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff}.scenario-visual-repository-grid article p{flex:1}.scenario-visual-repository-grid article>div{display:flex;flex-wrap:wrap;gap:8px}
.scenario-visual-pair-preview{display:block;width:100%;max-height:68vh;border:1px solid var(--line);border-radius:12px;object-fit:contain;background:#07151e}

/* Individual evaluation: stronger hierarchy and unmistakable progressive disclosure. */
.individual-evaluation-page .evaluation-setup-progress{border:0;background:#e8edf1;box-shadow:inset 0 0 0 1px #c9d4da}
.individual-evaluation-page .evaluation-setup-progress button{background:#fff;color:#243c4a;box-shadow:0 2px 8px rgba(14,39,52,.08);font-size:.82rem}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(1){border-bottom:4px solid #24769a}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(2){border-bottom:4px solid #d25f35}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(3){border-bottom:4px solid #1c8067}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(1) b{background:#24769a;color:#fff;box-shadow:none}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(2) b{background:#d25f35;color:#fff;box-shadow:none}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(3) b{background:#1c8067;color:#fff;box-shadow:none}
.individual-evaluation-page #new-evaluation-form .evaluation-step-block{border-width:2px;border-left-width:8px;border-radius:17px;box-shadow:0 10px 28px rgba(17,42,55,.09)}
.individual-evaluation-page #new-evaluation-form .evaluation-step-one{border-color:#7eb4ca;border-left-color:#24769a;background:#f8fcfe}
.individual-evaluation-page #new-evaluation-form .evaluation-step-two{border-color:#e2a087;border-left-color:#d25f35;background:#fffaf7}
.individual-evaluation-page #new-evaluation-form .evaluation-step-three{border-color:#77bca9;border-left-color:#1c8067;background:#f8fdfa}
.individual-evaluation-page .evaluation-step-one>.section-title,.individual-evaluation-page .evaluation-step-two>.section-title{margin:-20px -20px 18px;padding:18px 20px 15px;border-bottom-width:2px}
.individual-evaluation-page .evaluation-step-one>.section-title{border-bottom-color:#a9cfdf;background:linear-gradient(100deg,#dceff7,#f7fcfe)}
.individual-evaluation-page .evaluation-step-two>.section-title{border-bottom-color:#efc0ae;background:linear-gradient(100deg,#ffe8dd,#fff9f5)}
.individual-evaluation-page .evaluation-step-three>.panel-header{border-bottom:2px solid #abd9cd;background:linear-gradient(100deg,#dcf3ec,#f8fdfa)}
.individual-evaluation-page .evaluation-step-block .section-title h3,.individual-evaluation-page .evaluation-step-three .panel-header h3{margin:0;color:#132f3e;font-size:1.35rem;font-weight:900;letter-spacing:-.02em}
.individual-evaluation-page .evaluation-step-block .section-title p,.individual-evaluation-page .evaluation-step-three .panel-header p{margin:5px 0 0;color:#526874;font-size:.82rem;line-height:1.45}
.individual-evaluation-page #new-evaluation-form label{color:#203946;font-size:.77rem;font-weight:820}
.individual-evaluation-page #new-evaluation-form label small{color:#607681;font-size:.68rem;font-weight:560;line-height:1.42}
.individual-evaluation-page .evaluation-mode-visible{border:2px solid #8dbbce;background:#edf7fb;box-shadow:inset 5px 0 #24769a}
.individual-evaluation-page .evaluation-mode-visible>div:first-child>strong{color:#173d50;font-size:1rem;font-weight:900}
.individual-evaluation-page .mode-card span{border-width:2px;background:#fff}
.individual-evaluation-page .mode-card input:checked+span{border-color:#24769a;background:#dff1f8;box-shadow:0 0 0 3px rgba(36,118,154,.13)}
.individual-evaluation-page .simplified-evidence-recorder{border:2px solid #e2a087;background:#fff2eb;box-shadow:inset 5px 0 #d25f35}
.individual-evaluation-page .capture-recorder-heading strong{color:#7b2d16;font-size:1.08rem;font-weight:900}
.individual-evaluation-page .capture-recorder-heading p{font-size:.75rem!important;color:#715d54!important}
.individual-evaluation-page .simplified-evidence-recorder .capture-mode-selector span{border-width:2px}
.individual-evaluation-page .simplified-evidence-recorder .capture-mode-selector input:checked+span{border-color:#d25f35;background:#ffe0d2;box-shadow:0 0 0 3px rgba(210,95,53,.14)}
.individual-evaluation-page #start-recording-button{border-color:#a82924;background:#bd332c;color:#fff;box-shadow:0 7px 17px rgba(189,51,44,.24)}
.individual-evaluation-page .evaluation-step-three .form-actions .button.primary{background:#176c58;color:#fff;box-shadow:0 7px 18px rgba(23,108,88,.23)}
.individual-evaluation-page .evaluation-collapsible{overflow:hidden;border:2px solid #9fb7c3;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(18,48,62,.06)}
.individual-evaluation-page .evaluation-collapsible>summary{min-height:60px;padding:11px 14px;background:#edf3f6;color:#17384a}
.individual-evaluation-page .evaluation-collapsible>summary:hover,.individual-evaluation-page .evaluation-collapsible>summary:focus-visible{background:#dfeaf0;outline:3px solid rgba(36,118,154,.22);outline-offset:-3px}
.individual-evaluation-page .evaluation-collapsible>summary strong{font-size:.84rem;font-weight:900}
.individual-evaluation-page .evaluation-collapsible>summary small{font-size:.69rem;color:#5b707b}
.individual-evaluation-page .evaluation-collapsible>summary::after{content:'Open  ▼';display:grid;min-width:82px;min-height:28px;margin-left:auto;place-items:center;border-radius:999px;background:#245f7a;color:#fff;padding:4px 10px;text-align:center;font-size:.66rem;font-weight:900;line-height:1;letter-spacing:.02em;white-space:nowrap}
.individual-evaluation-page .evaluation-collapsible[open]>summary{border-bottom:2px solid #a9bfca;background:#dce9ef}
.individual-evaluation-page .evaluation-collapsible[open]>summary::after{content:'Close  ▲';background:#163f53}
.individual-evaluation-page .evaluation-collapsible-body{padding:16px;background:#fff}
.individual-evaluation-page .capture-device-settings{border-width:2px!important;border-color:#8faebb!important;background:#edf4f7!important;box-shadow:0 3px 12px rgba(21,64,82,.08)}
.individual-evaluation-page .capture-device-settings>summary{min-height:64px!important;background:#e1edf2!important}
.individual-evaluation-page .capture-device-settings .device-settings-summary-copy strong{font-size:.82rem;color:#153b4e}
.individual-evaluation-page .capture-device-settings .device-settings-summary-copy small{font-size:.68rem!important;color:#546d78!important}
.individual-evaluation-page .device-settings-expander{background:#245f7a;font-size:.66rem}
@media(max-width:760px){.individual-evaluation-page .evaluation-step-one>.section-title,.individual-evaluation-page .evaluation-step-two>.section-title{margin:-20px -20px 16px}.individual-evaluation-page .evaluation-collapsible>summary{align-items:flex-start}.individual-evaluation-page .evaluation-collapsible>summary::after{min-width:62px}}

/* Distinct evaluation landmarks: blue setup, orange evidence, violet completion. */
.individual-evaluation-page .evaluation-setup-progress button:nth-child(1){border-bottom-color:#245a8d}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(2){border-bottom-color:#c9562f}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(3){border-bottom-color:#68458d}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(1) b{background:#245a8d}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(2) b{background:#c9562f}
.individual-evaluation-page .evaluation-setup-progress button:nth-child(3) b{background:#68458d}
.individual-evaluation-page #new-evaluation-form .evaluation-step-one{border-color:#5688b5;border-left-color:#245a8d;background:#fff}
.individual-evaluation-page #new-evaluation-form .evaluation-step-two{border-color:#d77b59;border-left-color:#c9562f;background:#fff}
.individual-evaluation-page #new-evaluation-form .evaluation-step-three{border-color:#9274ae;border-left-color:#68458d;background:#fff}
.individual-evaluation-page .evaluation-step-one>.section-title{border-bottom-color:#17466f;background:linear-gradient(105deg,#173f68,#2f73aa)}
.individual-evaluation-page .evaluation-step-two>.section-title{border-bottom-color:#923519;background:linear-gradient(105deg,#a83f20,#dc7049)}
.individual-evaluation-page .evaluation-step-three>.panel-header{border-bottom-color:#4b2f69;background:linear-gradient(105deg,#4b306c,#8059a3)}
.individual-evaluation-page .evaluation-step-one>.section-title h3,.individual-evaluation-page .evaluation-step-two>.section-title h3,.individual-evaluation-page .evaluation-step-three>.panel-header h3{color:#fff!important}
.individual-evaluation-page .evaluation-step-one>.section-title p,.individual-evaluation-page .evaluation-step-two>.section-title p,.individual-evaluation-page .evaluation-step-three>.panel-header p{color:rgba(255,255,255,.88)!important}
.individual-evaluation-page .evaluation-step-one>.section-title .badge,.individual-evaluation-page .evaluation-step-two>.section-title .badge{border-color:rgba(255,255,255,.5);background:#fff;color:#213b4a}
.individual-evaluation-page .evaluation-step-one>.section-title .help-choose-button,.individual-evaluation-page .evaluation-step-two>.section-title .help-choose-button{border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.14);color:#fff}
.individual-evaluation-page .evaluation-mode-visible{border-color:#5688b5;background:#eef5fb;box-shadow:inset 5px 0 #245a8d}
.individual-evaluation-page .mode-card input:checked+span{border-color:#245a8d;background:#dceaf6;box-shadow:0 0 0 3px rgba(36,90,141,.15)}
.individual-evaluation-page .simplified-evidence-recorder{border-color:#d77b59;background:#fff4ee;box-shadow:inset 5px 0 #c9562f}
.individual-evaluation-page .capture-recorder-heading strong{color:#873017}
.individual-evaluation-page .simplified-evidence-recorder .capture-mode-selector input:checked+span{border-color:#c9562f;background:#ffe1d5;box-shadow:0 0 0 3px rgba(201,86,47,.16)}
.individual-evaluation-page .evaluation-collapsible{border-color:#aebbc3;background:#fff}
.individual-evaluation-page .evaluation-collapsible>summary{background:#edf0f2;color:#253c49}
.individual-evaluation-page .evaluation-collapsible>summary:hover,.individual-evaluation-page .evaluation-collapsible>summary:focus-visible{background:#dde3e7}
.individual-evaluation-page .evaluation-step-one .evaluation-collapsible>summary::after{background:#245a8d}
.individual-evaluation-page .evaluation-step-two .evaluation-collapsible>summary::after{background:#a83f20}
.individual-evaluation-page .evaluation-step-three .evaluation-collapsible>summary::after{background:#68458d}
.individual-evaluation-page .evaluation-step-one .evaluation-collapsible[open]>summary::after{background:#173f68}
.individual-evaluation-page .evaluation-step-two .evaluation-collapsible[open]>summary::after{background:#7c2d16}
.individual-evaluation-page .evaluation-step-three .evaluation-collapsible[open]>summary::after{background:#4b306c}
.individual-evaluation-page .capture-device-settings{border-color:#c98568!important;background:#fff!important}
.individual-evaluation-page .capture-device-settings>summary{background:#f7e8e1!important}
.individual-evaluation-page .device-settings-expander{background:#934021}
.individual-evaluation-page .evaluation-step-three .form-actions .button.primary{background:#68458d;box-shadow:0 7px 18px rgba(104,69,141,.25)}
.individual-evaluation-page .device-settings-expander{display:grid;grid-template-columns:auto 12px;align-items:center;justify-content:center;min-width:112px;min-height:30px;border-radius:999px;padding:4px 9px;font-size:.66rem;line-height:1;white-space:nowrap}
.individual-evaluation-page .device-settings-expander i{display:grid;width:12px;height:12px;place-items:center;font-size:9px;line-height:1;transform:none!important}
.individual-evaluation-page .device-settings-expander i .when-closed,.individual-evaluation-page .device-settings-expander i .when-open{line-height:1}
.individual-evaluation-page .evaluation-step-one>.field-grid>label{display:grid;grid-template-rows:36px 42px minmax(0,auto);align-content:start;margin:0}
.individual-evaluation-page .evaluation-step-one>.field-grid>label>input,.individual-evaluation-page .evaluation-step-one>.field-grid>label>select{box-sizing:border-box;width:100%;height:42px;min-height:42px;margin:0}
.individual-evaluation-page .evaluation-step-one>.field-grid>label>small{margin-top:6px}
.individual-evaluation-page .field-label{display:flex;align-items:center;gap:7px;min-width:0;color:#203946;font-weight:850;line-height:1.2}
.individual-evaluation-page .field-label .muted{font-weight:600}
.individual-evaluation-page .required-badge{display:inline-flex;align-items:center;min-height:18px;border-radius:999px;background:#fce8e6;color:#9f2f28;padding:2px 7px;font-size:.58rem;font-weight:900;line-height:1;text-transform:uppercase;letter-spacing:.035em}
@media(max-width:760px){.individual-evaluation-page .evaluation-step-one>.field-grid>label{grid-template-rows:auto 42px auto;gap:5px}.individual-evaluation-page .evaluation-step-one>.field-grid>label>small{margin-top:0}}

/* Testing and Practice must be distinguishable before and after selection. */
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="testing"]+span{border-color:#d39a95;background:#fff4f2;color:#7d2925}
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="testing"]+span strong{color:#8f2f2a}
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="testing"]:checked+span{border-color:#a93631;background:#f8d9d6;box-shadow:0 0 0 4px rgba(169,54,49,.16),inset 5px 0 #a93631}
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="practice"]+span{border-color:#84b49d;background:#f0faf5;color:#245e45}
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="practice"]+span strong{color:#26684b}
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="practice"]:checked+span{border-color:#2e7a58;background:#d9f0e4;box-shadow:0 0 0 4px rgba(46,122,88,.16),inset 5px 0 #2e7a58}

/* Selectable evaluation controls use a soft glow so the page reads as interactive. */
.individual-evaluation-page #new-evaluation-form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.individual-evaluation-page #new-evaluation-form select,
.individual-evaluation-page #new-evaluation-form textarea,
.individual-evaluation-page .mode-card>span,
.individual-evaluation-page .capture-mode-selector label>span,
.individual-evaluation-page .upload-zone,
.individual-evaluation-page .evaluation-collapsible,
.individual-evaluation-page .capture-device-settings,
.individual-evaluation-page .screen-recording-option,
.individual-evaluation-page .no-phi-attestation{transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}
.individual-evaluation-page .evaluation-step-one input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.individual-evaluation-page .evaluation-step-one select,
.individual-evaluation-page .evaluation-step-one textarea{border-color:#8fb3d0;box-shadow:0 0 0 3px rgba(36,90,141,.09),0 5px 15px rgba(36,90,141,.09)}
.individual-evaluation-page .evaluation-step-two input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.individual-evaluation-page .evaluation-step-two select,
.individual-evaluation-page .evaluation-step-two textarea{border-color:#dda087;box-shadow:0 0 0 3px rgba(201,86,47,.08),0 5px 15px rgba(201,86,47,.09)}
.individual-evaluation-page .evaluation-step-three input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.individual-evaluation-page .evaluation-step-three select,
.individual-evaluation-page .evaluation-step-three textarea{border-color:#a993bd;box-shadow:0 0 0 3px rgba(104,69,141,.08),0 5px 15px rgba(104,69,141,.09)}
.individual-evaluation-page .evaluation-step-one .evaluation-collapsible{box-shadow:0 0 0 3px rgba(36,90,141,.08),0 7px 18px rgba(36,90,141,.10)}
.individual-evaluation-page .evaluation-step-two .evaluation-collapsible,
.individual-evaluation-page .simplified-evidence-recorder .capture-device-settings{box-shadow:0 0 0 3px rgba(201,86,47,.08),0 7px 18px rgba(201,86,47,.10)!important}
.individual-evaluation-page .evaluation-step-three .evaluation-collapsible,
.individual-evaluation-page .no-phi-attestation{box-shadow:0 0 0 3px rgba(104,69,141,.08),0 7px 18px rgba(104,69,141,.10)}
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="testing"]+span{box-shadow:0 0 0 3px rgba(169,54,49,.11),0 10px 20px rgba(67,31,29,.20)}
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="practice"]+span{box-shadow:0 0 0 3px rgba(46,122,88,.11),0 10px 20px rgba(24,61,45,.20)}
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="testing"]:checked+span{box-shadow:0 0 0 5px rgba(169,54,49,.20),0 0 22px rgba(169,54,49,.22),0 13px 25px rgba(67,31,29,.24),inset 5px 0 #a93631}
.individual-evaluation-page .evaluation-mode-visible .mode-card input[value="practice"]:checked+span{box-shadow:0 0 0 5px rgba(46,122,88,.20),0 0 22px rgba(46,122,88,.22),0 13px 25px rgba(24,61,45,.24),inset 5px 0 #2e7a58}
.individual-evaluation-page .simplified-evidence-recorder .capture-mode-selector label>span{box-shadow:0 0 0 3px rgba(201,86,47,.08),0 7px 18px rgba(201,86,47,.10)}
.individual-evaluation-page .simplified-evidence-recorder .capture-mode-selector input:checked+span{box-shadow:0 0 0 5px rgba(201,86,47,.18),0 0 20px rgba(201,86,47,.18)}
.individual-evaluation-page .upload-zone{box-shadow:0 0 0 3px rgba(201,86,47,.08),0 7px 18px rgba(201,86,47,.10)}
.individual-evaluation-page .screen-recording-option{box-shadow:0 0 0 3px rgba(201,86,47,.08),0 6px 16px rgba(201,86,47,.09)}
.individual-evaluation-page .mode-card input:focus-visible+span,
.individual-evaluation-page .capture-mode-selector input:focus-visible+span{outline:3px solid #111;outline-offset:3px}
.individual-evaluation-page .screen-recording-option:has(input:focus-visible),
.individual-evaluation-page .no-phi-attestation:has(input:focus-visible){outline:3px solid #111;outline-offset:3px}
@media(hover:hover){
  .individual-evaluation-page #new-evaluation-form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]):hover,
  .individual-evaluation-page #new-evaluation-form select:hover,
  .individual-evaluation-page #new-evaluation-form textarea:hover{box-shadow:0 0 0 4px rgba(36,90,141,.12),0 7px 20px rgba(22,57,82,.13)}
  .individual-evaluation-page .mode-card>span:hover,
  .individual-evaluation-page .capture-mode-selector label>span:hover,
  .individual-evaluation-page .upload-zone:hover,
  .individual-evaluation-page .evaluation-collapsible:hover,
  .individual-evaluation-page .capture-device-settings:hover,
  .individual-evaluation-page .screen-recording-option:hover,
  .individual-evaluation-page .no-phi-attestation:hover{box-shadow:0 0 0 4px rgba(48,90,118,.13),0 9px 24px rgba(20,49,67,.15)!important}
}
.individual-evaluation-page #new-evaluation-form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]):focus,
.individual-evaluation-page #new-evaluation-form select:focus,
.individual-evaluation-page #new-evaluation-form textarea:focus{box-shadow:0 0 0 5px rgba(36,90,141,.18),0 0 22px rgba(36,90,141,.16);outline:0}
.individual-evaluation-page .embedded-recording-marker-tools{grid-column:1/-1;display:grid;gap:10px;margin-bottom:4px;padding:14px;border:1px solid #e0aa94;border-radius:12px;background:#fff8f4;box-shadow:0 5px 14px rgba(120,54,29,.08)}
.individual-evaluation-page .embedded-tool-heading{display:grid;gap:3px}
.individual-evaluation-page .embedded-tool-heading strong{color:#7d321a;font-size:.86rem;font-weight:900}
.individual-evaluation-page .embedded-tool-heading small{color:#6f625d;font-size:.69rem}
.individual-evaluation-page .embedded-recording-marker-tools .recording-event-tools{margin:0;border:0;background:transparent;padding:0}
.individual-evaluation-page .saved-scenario-picker{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:6px;min-width:0;z-index:8}
.individual-evaluation-page .saved-scenario-search-label #generated-scenario-search{width:100%;height:42px;min-width:0;border-width:2px;background:#fff;box-shadow:0 0 0 3px rgba(36,90,141,.11),0 6px 16px rgba(36,90,141,.12);font-weight:720}
.individual-evaluation-page .saved-scenario-search-label #generated-scenario-search::placeholder{color:#637985;font-weight:600}
.individual-evaluation-page .saved-scenario-search-label #generated-scenario-select[hidden]{display:none!important}
.individual-evaluation-page .saved-scenario-toggle{display:grid;width:44px;height:42px;place-items:center;border:2px solid #315f88;border-radius:10px;background:#245a8d;color:#fff;box-shadow:0 5px 13px rgba(25,65,101,.25);cursor:pointer}
.individual-evaluation-page .saved-scenario-toggle span{font-size:.85rem;transition:transform .16s ease}
.individual-evaluation-page .saved-scenario-picker.open .saved-scenario-toggle span{transform:rotate(180deg)}
.individual-evaluation-page .saved-scenario-toggle:hover,.individual-evaluation-page .saved-scenario-toggle:focus-visible{background:#173f68;outline:3px solid rgba(36,90,141,.22);outline-offset:2px}
.individual-evaluation-page .saved-scenario-suggestions{position:absolute;z-index:80;top:calc(100% + 7px);left:0;right:0;max-height:min(340px,45vh);overflow-y:auto;border:2px solid #315f88;border-radius:13px;background:#fff;padding:6px;box-shadow:0 16px 34px rgba(18,45,66,.28)}
.individual-evaluation-page .saved-scenario-choice{display:grid;width:100%;gap:3px;border:0;border-bottom:1px solid #dce5eb;border-radius:8px;background:#fff;padding:10px 11px;text-align:left;cursor:pointer}
.individual-evaluation-page .saved-scenario-choice:last-of-type{border-bottom:0}
.individual-evaluation-page .saved-scenario-choice strong{color:#173f68;font-size:.79rem;font-weight:850}
.individual-evaluation-page .saved-scenario-choice small{color:#60727c;font-size:.66rem;font-weight:620}
.individual-evaluation-page .saved-scenario-choice:hover,.individual-evaluation-page .saved-scenario-choice:focus-visible{background:#e7f1f8;outline:2px solid #5688b5;outline-offset:-2px}
.individual-evaluation-page .saved-scenario-choice[aria-selected="true"]{background:#dceaf6;box-shadow:inset 5px 0 #245a8d}
.individual-evaluation-page .saved-scenario-empty{margin:0;padding:14px;color:#62747d;text-align:center;font-size:.72rem}

/* Active scenario tools sit above the preview with unmistakable contrast. */
.recording-scenario-sticky-tools{padding:10px;border:2px solid #405764;border-radius:19px;background:rgba(222,230,234,.98);box-shadow:0 15px 32px rgba(14,35,47,.24),0 0 0 4px rgba(255,255,255,.72);backdrop-filter:blur(12px)}
.recording-scenario-nav{border:2px solid #123b61;background:linear-gradient(105deg,#163d63,#235f8d);box-shadow:0 9px 20px rgba(17,51,79,.28)}
.recording-scenario-nav span{color:#fff}
.recording-scenario-nav .button.ghost{border:1px solid rgba(255,255,255,.78);background:#fff;color:#173f68;box-shadow:0 3px 8px rgba(8,30,48,.20);font-weight:850}
.recording-scenario-nav .button.ghost:hover,.recording-scenario-nav .button.ghost:focus-visible{border-color:#ffd166;background:#fff4cc;color:#102f4b;outline:3px solid rgba(255,209,102,.50);outline-offset:1px}
.scenario-question-helper{border:2px solid #b87813;background:#fff8e7;box-shadow:0 9px 20px rgba(112,73,13,.23)}
.scenario-question-row input{border:2px solid #9b6918;background:#fff;color:#1c313d;box-shadow:inset 0 1px 2px rgba(25,40,49,.08),0 0 0 3px rgba(184,120,19,.10)}
.scenario-question-row input:focus{border-color:#744b0d;box-shadow:0 0 0 4px rgba(216,153,44,.26),0 6px 16px rgba(112,73,13,.17);outline:0}
.scenario-question-row button[type="submit"]{border-color:#7b520f;background:#8e6015;color:#fff;box-shadow:0 4px 10px rgba(89,56,6,.22)}
.scenario-question-status{color:#634d27}
.recording-marker-dock{border:2px solid #a84320;background:#fff0e8;box-shadow:0 10px 22px rgba(113,45,20,.25)}
.recording-marker-dock summary{background:linear-gradient(105deg,#fff0e8,#ffe0d2);border-radius:13px}
.recording-marker-dock summary>span{background:#ad3f1d;box-shadow:0 4px 9px rgba(103,35,14,.28)}
.recording-marker-dock summary strong{color:#65230f;font-weight:900}
.recording-marker-dock summary small{color:#704b3f}
.recording-marker-dock[open] summary{border-radius:13px 13px 0 0}
.recording-marker-dock-body{border-top:2px solid #d48468;background:#fffaf7}
.recording-marker-dock summary:hover,.recording-marker-dock summary:focus-visible{background:#ffd8c7;outline:3px solid rgba(168,67,32,.24);outline-offset:1px}
@media(max-width:620px){.recording-scenario-sticky-tools{padding:8px;border-radius:16px}.recording-scenario-nav{padding:8px}.recording-marker-dock{width:100%}}

/* Authenticated color rhythm: clearer sections without relying on color alone. */
#app-shell{
  --clinical-blue:#2f6d8a;
  --clinical-blue-soft:#edf6fa;
  --clinical-coral:#c9573f;
  --clinical-coral-soft:#fff0ec;
  --clinical-amber:#a96b18;
  --clinical-amber-soft:#fff7e7;
  --clinical-plum:#76508c;
  --clinical-plum-soft:#f7f0fa;
  --clinical-green:#3f7661;
  --clinical-green-soft:#eef8f3;
}
#app-shell .main{
  background:
    radial-gradient(circle at 92% 8%,rgba(47,109,138,.07),transparent 25rem),
    radial-gradient(circle at 68% 72%,rgba(201,87,63,.045),transparent 28rem),
    #f5f7f8;
}
/* Launch-focused overview: keep secondary information available without giving it equal first-screen weight. */
#app-shell .overview-more-details{
  margin:16px 0;
  overflow:hidden;
  border:1px solid rgba(32,65,82,.16);
  border-radius:16px;
  background:rgba(255,255,255,.82);
  box-shadow:0 8px 24px rgba(15,42,54,.05);
}
#app-shell .overview-more-details>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:64px;
  padding:14px 17px;
  list-style:none;
  cursor:pointer;
  border-left:5px solid var(--clinical-blue);
  background:linear-gradient(90deg,var(--clinical-blue-soft),rgba(255,255,255,.92) 58%);
}
#app-shell .overview-more-details>summary::-webkit-details-marker{display:none}
#app-shell .overview-more-details>summary>span{display:grid;gap:3px}
#app-shell .overview-more-details>summary strong{color:var(--navy);font-size:14px}
#app-shell .overview-more-details>summary small{color:var(--text-muted);font-size:10px;font-weight:550}
#app-shell .overview-more-details>summary b{display:flex;align-items:center;gap:5px;white-space:nowrap;color:var(--clinical-blue);font-size:10px;text-transform:uppercase;letter-spacing:.045em}
#app-shell .overview-more-details .when-open{display:none}
#app-shell .overview-more-details[open] .when-open{display:inline}
#app-shell .overview-more-details[open] .when-closed{display:none}
#app-shell .overview-more-details[open]>summary{border-bottom:1px solid rgba(32,65,82,.12)}
#app-shell .overview-more-details[open]>summary b{transform:rotate(180deg)}
#app-shell .overview-more-details[open]>summary b span{transform:rotate(180deg)}
#app-shell .overview-more-details-body{padding:16px}
#app-shell .demo-more-tools .demo-role-links{margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}
#app-shell .overview-more-work{margin:12px 0 0;box-shadow:none}
#app-shell .overview-more-work .overview-more-details-body{padding:10px 14px 14px}
@media(max-width:760px){
  #app-shell .overview-more-details>summary{align-items:flex-start}
  #app-shell .demo-more-tools .demo-role-links{grid-template-columns:1fr}
}

/* Keep institution administration focused on one primary action. */
#app-shell .page-heading:has(.admin-action-menu){overflow:visible}
#app-shell .page-heading:has(.admin-action-menu[open]){z-index:6}
#app-shell .admin-action-menu{position:relative;margin:0;overflow:visible;border:0;background:transparent;box-shadow:none}
#app-shell .admin-action-menu>summary{list-style:none;white-space:nowrap;cursor:pointer}
#app-shell .admin-action-menu>summary::-webkit-details-marker{display:none}
#app-shell .admin-action-menu>div{position:absolute;z-index:30;right:0;top:calc(100% + 8px);display:grid;min-width:245px;max-height:min(440px,60dvh);overflow-y:auto;gap:7px;padding:10px;border:1px solid rgba(32,65,82,.18);border-radius:14px;background:#fff;box-shadow:0 18px 42px rgba(15,42,54,.18)}
#app-shell .admin-action-menu>div .button{justify-content:flex-start;width:100%;text-align:left}
@media(max-width:760px){#app-shell .admin-action-menu{width:100%}#app-shell .admin-action-menu>summary{width:100%}#app-shell .admin-action-menu>div{position:static;margin-top:8px;min-width:0;width:100%;max-height:none;overflow:visible}}

/* Sticky scenario-reader navigation must remain legible over long scenario content. */
#app-shell .scenario-reader-tabs{
  top:8px;
  z-index:35;
  gap:7px;
  margin-bottom:18px;
  border:3px solid #167aa6;
  border-radius:14px;
  background:#fff;
  padding:8px;
  box-shadow:0 10px 26px rgba(15,42,54,.2),0 0 0 4px rgba(22,122,166,.16);
  backdrop-filter:none;
}
#app-shell .scenario-reader-tabs .tab{
  border:1px solid #c5d1d7;
  border-radius:9px;
  background:#eef3f5;
  color:#334f5d;
  padding:9px 14px;
}
#app-shell .scenario-reader-tabs .tab:hover{border-color:#7894a3;background:#e4ecef;color:#183f53}
#app-shell .scenario-reader-tabs .tab.active{
  border-color:#285f7b;
  background:#285f7b;
  color:#fff;
  box-shadow:0 4px 10px rgba(40,95,123,.22);
}
@media(max-width:720px){#app-shell .scenario-reader-tabs{top:6px;flex-wrap:nowrap;overflow-x:auto}}

/* Quick Capture keeps the evaluation engine while presenting only mobile field essentials. */
#app-shell .quick-capture-page{max-width:900px;margin-inline:auto}
#app-shell .quick-capture-page .quick-capture-hidden{display:none!important}
#app-shell .quick-capture-page .quick-capture-form{display:block}
#app-shell .quick-capture-page .quick-capture-form>.panel{display:block}
#app-shell .quick-capture-page .quick-capture-form>.panel>.form-section{margin-bottom:14px;padding:18px;border:1px solid #cad8df;border-top:5px solid #2f6d8a;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(17,47,63,.1)}
#app-shell .quick-capture-page .quick-capture-status-strip{position:sticky;top:6px;z-index:32;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 14px;padding:8px;border:2px solid #315f77;border-radius:15px;background:#fff;box-shadow:0 10px 26px rgba(15,42,54,.18)}
#app-shell .quick-capture-page .quick-capture-status-strip span{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border-radius:10px;background:#edf4f7;color:#24495c;font-size:.75rem;font-weight:850;text-align:center}
#app-shell .quick-capture-page .quick-capture-status-strip b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#2f6d8a;color:#fff;font-size:.72rem}
#app-shell .quick-capture-page .evaluation-step-one>.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#app-shell .quick-capture-page .evaluation-mode-visible{margin:0;padding:0;border:0;background:transparent}
#app-shell .quick-capture-page .evaluation-mode-visible>.mode-selector{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#app-shell .quick-capture-page .evaluation-mode-visible>.mode-selector .mode-card{min-height:86px;border-width:2px}
#app-shell .quick-capture-page .quick-capture-notes{margin:0 0 14px}
#app-shell .quick-capture-page .quick-capture-notes textarea{min-height:76px}
#app-shell .quick-capture-page .quick-audio-recorder{padding:16px;border:2px solid #2f6d8a;background:linear-gradient(145deg,#eef6f9,#fff 62%);box-shadow:0 14px 34px rgba(30,75,98,.14)}
#app-shell .quick-capture-page .quick-audio-recorder .capture-recorder-heading{margin:0}
#app-shell .quick-capture-page .quick-audio-recorder .recorder-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#app-shell .quick-capture-page .quick-audio-recorder .recorder-actions .button{min-height:54px;font-size:.95rem}
#app-shell .quick-capture-page .embedded-recording-marker-tools{margin-top:2px;border-top:2px solid #b9cdd7;padding-top:15px}
#app-shell .quick-capture-page .recording-event-tools>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#app-shell .quick-capture-page .recording-event-tools>div .button,#app-shell .quick-capture-page .quick-capture-more-actions .button{min-height:48px;padding:8px;font-size:.76rem;white-space:normal;line-height:1.2}
#app-shell .quick-capture-page .quick-capture-more-actions{margin-top:10px;border:1px solid #b8cad3;border-radius:12px;background:#fff;overflow:hidden}
#app-shell .quick-capture-page .quick-capture-more-actions>summary{display:flex;justify-content:space-between;gap:10px;padding:13px 14px;color:#274e62;font-weight:850;cursor:pointer}
#app-shell .quick-capture-page .quick-capture-more-actions>summary span{display:grid;place-items:center;min-width:26px;height:22px;border-radius:999px;background:#e4eef2}
#app-shell .quick-capture-page .quick-capture-more-actions>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 10px 10px}
#app-shell .quick-capture-page .evaluation-step-three{margin-top:14px;border:2px solid #3f7661!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 30px rgba(27,76,57,.12)!important}
#app-shell .quick-capture-page .evaluation-step-three>.panel-header{background:#edf7f2!important}
@media(max-width:720px){
  #app-shell .quick-capture-page{width:100%}
  #app-shell .quick-capture-page .individual-evaluation-heading{align-items:flex-start}
  #app-shell .quick-capture-page .quick-capture-status-strip{grid-template-columns:repeat(2,minmax(0,1fr));top:4px}
  #app-shell .quick-capture-page .evaluation-step-one>.field-grid{grid-template-columns:1fr!important}
  #app-shell .quick-capture-page .recording-event-tools>div,#app-shell .quick-capture-page .quick-capture-more-actions>div{grid-template-columns:repeat(2,minmax(0,1fr))}
  #app-shell .quick-capture-page .recording-event-tools>div .button,#app-shell .quick-capture-page .quick-capture-more-actions .button{min-height:54px;font-size:.82rem}
}

/* Task tabs preserve the live form and recorder while reducing administration scroll. */
#app-shell .evaluation-workspace-tabs{position:sticky;top:6px;z-index:35;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:7px;margin:0 0 16px;border:1px solid #aec3d0;border-radius:14px;background:#fff;box-shadow:0 5px 18px #183e521c}
#app-shell .evaluation-workspace-tabs button,#app-shell .evaluation-run-tabs button{min-height:48px;padding:9px 12px;border:1px solid #c3d2dc;border-radius:9px;background:#edf3f7;color:#24465b;font:750 .88rem system-ui;cursor:pointer}
#app-shell .evaluation-workspace-tabs [aria-selected="true"],#app-shell .evaluation-run-tabs [aria-selected="true"],#app-shell .tabbed-scenario-reference .recording-scenario-nav [aria-selected="true"]{background:#245a8d;color:#fff;border-color:#245a8d;box-shadow:0 3px 8px #15395125}
#app-shell .evaluation-tabbed-form{display:block!important;padding-bottom:100px}
#app-shell .evaluation-tabbed-form [hidden]{display:none!important}
#app-shell .evaluation-tabbed-form>[data-evaluation-pane]{margin:0!important;min-width:0}
#app-shell .evaluation-tabbed-form>.evaluation-step-block{padding:20px!important;border:1px solid #c4d2dc!important;border-radius:14px;background:#fff!important}
#app-shell .evaluation-capture-setup{margin-top:18px;border:1px solid #c4d2dc;border-radius:12px;background:#f5f8fa}
#app-shell .evaluation-capture-setup>summary{padding:14px;cursor:pointer;font-weight:800;color:#25465a}
#app-shell .evaluation-capture-setup>div{padding:0 14px 14px}
#app-shell .evaluation-run-tabs{display:flex;gap:8px;margin:14px 0}
#app-shell .evaluation-run-tabs button{flex:1}
#app-shell .evaluation-run-pane .capture-recorder-panel{margin:0;padding:12px 16px;border:1px solid #b6cbd5;background:#f5f9fb;box-shadow:none}
#app-shell .evaluation-run-pane .capture-recorder-heading p{margin:3px 0;font-size:.8rem}
#app-shell .evaluation-run-pane .recorder-actions{margin:8px 0;display:flex;gap:10px}
#app-shell .evaluation-run-pane .recorder-actions .button{min-height:48px}
#app-shell .evaluation-run-pane .recording-status{margin:4px 0}
#app-shell .evaluation-run-pane .capture-video-stage{max-width:420px;max-height:235px}
#app-shell .evaluation-run-pane .recording-scenario-guide{max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none}
#app-shell .evaluation-no-scenario{padding:24px;background:#f0f5f8;border-radius:12px}
#app-shell #run-reference:has(.recording-scenario-guide:not(.hidden))>.evaluation-no-scenario{display:none}
#app-shell .tabbed-scenario-reference .recording-scenario-sticky-tools{position:static;display:block;padding:0;background:#fff;box-shadow:none;border:0}
#app-shell .tabbed-scenario-reference .recording-scenario-sticky-main{display:block}
#app-shell .tabbed-scenario-reference .recording-scenario-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:0;border:0;background:transparent}
#app-shell .tabbed-scenario-reference .recording-scenario-nav button{flex:1;min-height:44px;white-space:nowrap;border:1px solid #b7cad6;background:#eef4f7;color:#23445a}
#app-shell .tabbed-scenario-reference .recording-response-inline{padding:10px 12px;margin:0 0 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
#app-shell .tabbed-scenario-reference .recording-response-inline .eyebrow,#app-shell .tabbed-scenario-reference .recording-response-inline p{display:none}
#app-shell .tabbed-scenario-reference .scenario-dashboard-grid{display:block}
#app-shell .tabbed-scenario-reference .scenario-dashboard-grid>.panel{margin:12px 0 0}
#app-shell #run-actions .recording-event-tools>div:first-of-type{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#app-shell #run-actions .recording-event-tools>div:first-of-type .button{min-height:48px;white-space:normal}
#app-shell .evaluation-next-tab{display:block;margin:18px 0 0 auto;min-height:44px}
#app-shell .evaluation-workspace-tabs button:focus-visible,#app-shell .evaluation-run-tabs button:focus-visible,#app-shell .tabbed-scenario-reference .recording-scenario-nav button:focus-visible{outline:3px solid #e5a72e;outline-offset:3px}
@media(max-width:720px){
 #app-shell .evaluation-workspace-tabs{top:4px;gap:4px;padding:5px}
 #app-shell .evaluation-workspace-tabs button{padding:7px 3px;font-size:.74rem}
 #app-shell .evaluation-tabbed-form>.evaluation-step-block{padding:14px!important}
 #app-shell .tabbed-scenario-reference .recording-scenario-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 #app-shell .tabbed-scenario-reference .recording-response-inline{display:block}
 #app-shell .tabbed-scenario-reference .scenario-response-inline-actions{margin-top:8px;display:flex;flex-wrap:wrap}
 #app-shell #run-actions .recording-event-tools>div:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))}
}
body:has(.evaluation-tabbed-form) .recording-controls-floating{top:auto!important;bottom:16px!important;right:16px;max-width:calc(100vw - 32px)}
#app-shell .tabbed-scenario-reference .recording-scenario-nav button[aria-selected="true"]{background:#245a8d;color:#fff;border-color:#245a8d}
#app-shell .evaluation-run-pane .capture-recorder-panel{display:grid;grid-template-columns:1fr auto;gap:4px 14px;align-items:center}
#app-shell .evaluation-run-pane .capture-recorder-heading{margin:0!important}
#app-shell .evaluation-run-pane .recorder-actions{margin:0!important}
#app-shell .evaluation-run-pane .recording-status,#app-shell .evaluation-run-pane .capture-video-stage{grid-column:1/-1}
#app-shell .evaluation-run-pane .recording-status p{margin:0;font-size:.75rem}
#app-shell .evaluation-tabbed-form .scenario-vitals-card .panel-body{padding:12px}
@media(max-width:720px){
 #app-shell .evaluation-run-pane .capture-recorder-panel{display:block}
 #app-shell .evaluation-run-pane .recorder-actions{margin:10px 0!important}
 body:has(.evaluation-tabbed-form) .recording-controls-floating{bottom:max(10px,env(safe-area-inset-bottom))!important;right:10px;padding:7px}
}
#app-shell #page:has(.evaluation-tabbed-form:not([data-active-evaluation-pane="setup"]))>.page-heading{display:none}
#app-shell #page:has(.evaluation-tabbed-form)>.page-heading{min-height:0;padding-bottom:14px;margin-bottom:14px}
@media(max-width:720px){
 #app-shell .tabbed-scenario-reference .scenario-vitals-card .vital-click-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 #app-shell .tabbed-scenario-reference .scenario-vitals-card [data-scenario-info]{min-height:44px;padding:7px 4px}
 #app-shell .tabbed-scenario-reference .scenario-vitals-card [data-scenario-info] small{display:none}
}


/* Scenario Builder tutorial opens in place without lengthening the design form. */
#app-shell .scenario-builder-tutorial{margin:0 0 18px;border:1px solid #b5cbd6;border-radius:13px;background:#f2f8fb;overflow:hidden}
#app-shell .scenario-builder-tutorial>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;cursor:pointer;color:#244e65}
#app-shell .scenario-builder-tutorial>summary strong,#app-shell .scenario-builder-tutorial>summary small{display:block}
#app-shell .scenario-builder-tutorial>summary small{margin-top:4px;font-size:.78rem;font-weight:500}
#app-shell .scenario-builder-tutorial>summary:focus-visible{outline:3px solid #cb932d;outline-offset:-4px}
#app-shell .scenario-builder-tutorial-body{padding:0 18px 18px}
#app-shell .scenario-builder-tutorial video{display:block;width:100%;max-width:1040px;aspect-ratio:8/5;max-height:70vh;margin:0 auto;background:#123747;border-radius:10px}
#app-shell .scenario-builder-tutorial-body p{font-size:.85rem;line-height:1.5;color:#415e6f}

/* Fixed-square, hollow processing indicator; flex layouts cannot stretch it into an oval. */
.evaluation-process-spinner,.loading-spinner,.spinner,.app-assistant-answer>.assistant-loading,.button.loading::before{
 --spinner-size:28px;box-sizing:border-box!important;display:inline-block!important;flex:0 0 var(--spinner-size)!important;width:var(--spinner-size)!important;height:var(--spinner-size)!important;min-width:var(--spinner-size)!important;max-width:var(--spinner-size)!important;min-height:var(--spinner-size)!important;max-height:var(--spinner-size)!important;aspect-ratio:1!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent url('/assets/processing-spinner.svg') center/contain no-repeat!important;box-shadow:none!important;align-self:center;animation:spin .9s linear infinite;vertical-align:middle;
}
.button.loading::before{content:'';--spinner-size:20px;margin-right:6px}
.loading-spinner.small{--spinner-size:18px}
@media(prefers-reduced-motion:reduce){.evaluation-process-spinner,.loading-spinner,.spinner,.app-assistant-answer>.assistant-loading,.button.loading::before{animation:none!important}}

/* Focus the builder on one task while keeping the live form and library state. */
#app-shell .scenario-workspace-tabs{display:flex;gap:6px;padding:6px;margin:0 0 18px;border:1px solid #b9cbd6;border-radius:12px;background:#fff}
#app-shell .scenario-workspace-tabs button{flex:1;min-width:0;min-height:46px;padding:10px 14px;border:0;border-radius:8px;background:transparent;color:#345367;font:700 .9rem system-ui;cursor:pointer}
#app-shell .scenario-workspace-tabs button:hover{background:#edf3f7}
#app-shell .scenario-workspace-tabs button[aria-selected="true"],#app-shell .scenario-workspace-tabs button[aria-selected="true"]:hover{background:#245a8d;color:#fff}
#app-shell .scenario-workspace-tabs button:focus-visible,#app-shell #breadcrumbs button:focus-visible{outline:3px solid #b67b16;outline-offset:2px}
#app-shell .scenario-builder-grid.scenario-workspace{display:block}
#app-shell .scenario-workspace>[data-scenario-workspace-pane]{min-width:0}
#app-shell .scenario-workspace>[data-scenario-workspace-pane][hidden],#app-shell .scenario-workspace [hidden]{display:none!important}
#app-shell .scenario-workspace #scenario-builder-form{max-width:100%;margin:0}
#app-shell .scenario-workspace #scenario-builder-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#app-shell .scenario-workspace #scenario-builder-form .form-grid label{margin:0}
#app-shell .scenario-workspace #scenario-builder-form [name="focus"]{min-height:100px}
#app-shell .scenario-workspace .scenario-objective-group{grid-template-columns:repeat(2,minmax(0,1fr))}
#app-shell .scenario-workspace .scenario-objective-group h4{grid-column:1/-1}
#app-shell .scenario-workspace .scenario-library-panel,#app-shell .scenario-workspace .scenario-run-analytics{margin:0}
#app-shell .scenario-search-summary{margin:0 18px 12px;color:#4d6574;font-size:.85rem}
#app-shell .scenario-search-empty{padding:28px 20px;text-align:center;background:#f4f8fa;border-radius:12px;margin:12px 18px}
#app-shell .scenario-search-empty p{margin:6px 0 16px;color:#4d6574}
#app-shell #breadcrumbs button{min-height:40px;border:0;background:transparent;color:#325d7a;padding:4px 0;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#app-shell #breadcrumbs{flex-wrap:wrap;row-gap:0}
#app-shell .report-review-actions{margin:0 0 18px;border:1px solid #b9cbd6;border-top:3px solid #245a8d;border-radius:12px;background:#fff}
#app-shell .report-review-actions .panel-header{padding:16px 18px;background:#edf4f8}
#app-shell .report-review-actions-buttons{display:flex;flex-wrap:wrap;gap:10px;padding:16px 18px}
#app-shell .report-review-actions-buttons .button.full{width:auto;flex:1 1 auto;min-height:44px;margin:0!important}
#app-shell .report-review-actions-buttons [data-action="release"]{border:2px solid #245a8d;color:#245a8d;font-weight:750}
#app-shell .report-review-actions .evaluation-action-target{border:2px solid #245a8d!important;box-shadow:0 0 0 3px #dceaf4!important;animation:none!important}
#app-shell .report-review-actions .evaluation-action-target::before,#app-shell .report-review-actions .evaluation-action-target::after{display:none!important}
#app-shell .report-review-actions .report-next-action{display:inline-block;margin:10px 0 0;padding:5px 9px;border-radius:6px;background:#dceaf4;color:#174b75;font-weight:750;font-size:.8rem}
.mobile-nav-header,.navigation-backdrop{display:none}
html.mobile-navigation-open,html.mobile-navigation-open body{overflow:hidden;overscroll-behavior:none}
@media(max-width:780px){
 #app-shell .sidebar{visibility:hidden;transition:transform .2s,visibility .2s;max-width:calc(100vw - 48px)}
 #app-shell.menu-open .sidebar{visibility:visible;z-index:561}
 #app-shell .mobile-nav-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;color:#fff}
 #navigation-close-button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #647c89;border-radius:10px;background:#ffffff0d;color:#fff;font-size:28px;cursor:pointer}
 #navigation-close-button:focus-visible{outline:3px solid #8ed9ed;outline-offset:3px}
 #app-shell .navigation-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:560;border:0;border-radius:0;margin:0;padding:0;background:#07151eb3;cursor:pointer;touch-action:none}
}
@media(prefers-reduced-motion:reduce){#app-shell .sidebar{transition:none}}

/* Short, contextual tutorials share one role-aware Help collection. */
.app-tutorial-panel{margin:0 0 18px;border:1px solid #b5cbd6;border-radius:12px;background:#f4f9fc;overflow:hidden}
.app-tutorial-panel>summary{display:flex;align-items:center;gap:13px;min-height:62px;padding:13px 16px;list-style:none;color:#244e65;cursor:pointer}
.app-tutorial-panel>summary::-webkit-details-marker{display:none}
.app-tutorial-panel>summary strong,.app-tutorial-panel>summary small{display:block}
.app-tutorial-panel>summary strong{font-size:.9rem}
.app-tutorial-panel>summary small{margin-top:4px;font-size:.78rem;font-weight:500;color:#506c7e}
.app-tutorial-panel>summary:focus-visible,.tutorial-help-entry:focus-visible{outline:3px solid #bd8522;outline-offset:-4px}
.tutorial-play-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;color:#245a8d;background:#dfedf5;font-size:13px}
.tutorial-expand-icon{margin-left:auto;font-size:20px}
.app-tutorial-panel[open] .tutorial-expand-icon{transform:rotate(180deg)}
.app-tutorial-body{padding:0 16px 16px}
.app-tutorial-body>p{font-size:.9rem;line-height:1.5;color:#425f70}
.app-tutorial-body video{display:block;width:100%;max-width:1040px;aspect-ratio:8/5;max-height:58vh;margin:auto;background:#123747;border-radius:9px}
.tutorial-resource-links{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:10px}
.tutorial-resource-links a,.tutorial-resource-links button{border:0;background:transparent;padding:8px 0;color:#245a8d;font:650 .85rem system-ui;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:40px}
.tutorial-demo-note{display:block;margin-top:5px;color:#607585;font-size:.75rem;line-height:1.5}
.tutorial-help-entry{display:flex;align-items:center;gap:14px;width:100%;padding:16px;margin:0 0 20px;border:1px solid #b5cbd6;border-radius:12px;background:#edf6fb;color:#244e65;text-align:left;cursor:pointer}
.tutorial-help-entry strong,.tutorial-help-entry small{display:block}
.tutorial-help-entry strong{font-size:1rem}
.tutorial-help-entry small{margin-top:5px;font-size:.82rem;font-weight:400;line-height:1.4}
.tutorial-help-entry b{margin-left:auto}
.tutorial-library{width:min(960px,96vw)}
.tutorial-library .modal-body{overflow:auto;max-height:72vh}
.tutorial-library-search{margin-bottom:8px}
.tutorial-library [hidden]{display:none!important}
.tutorial-library-empty{text-align:center;padding:24px 12px;background:#f4f8fa;border-radius:12px;color:#345367}
@media(max-width:600px){
 .app-tutorial-panel>summary{padding:12px;gap:10px}
 .app-tutorial-panel>summary strong{font-size:.84rem}
 .app-tutorial-body{padding:0 12px 12px}
 .tutorial-library .modal-body{padding:16px}
}
@media(max-width:720px){
 #app-shell .scenario-workspace-tabs{gap:3px;padding:4px}
 #app-shell .scenario-workspace-tabs button{padding:9px 6px;font-size:.82rem}
 #app-shell .scenario-workspace .scenario-library-tabs button{min-height:44px}
 #app-shell .scenario-workspace #scenario-builder-form .form-grid,#app-shell .scenario-workspace .scenario-objective-group{grid-template-columns:minmax(0,1fr)}
 #app-shell .report-review-actions-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #app-shell .report-review-actions-buttons [data-action="finalize"],#app-shell .report-review-actions-buttons [data-action="release"]{grid-column:1/-1}
}

/* Maynard workspace: a consistent, quiet surface for faculty and student records. */
#app-shell,#modal-root,#login-screen{
 --ink:#192f3a;--navy:#193b4b;--navy-2:#244857;--teal:#16635f;--teal-dark:#13544f;
 --teal-soft:#edf5f3;--paper:#f6f7f7;--muted:#526873;--muted-2:#657a84;
 --line:#dce3e6;--line-dark:#becbd1;--surface:#fff;--surface-soft:#f6f8f8;
 --red:#ab392e;--red-soft:#fff1ef;--amber:#835317;--amber-soft:#fff8ec;
 --green:#286347;--green-soft:#eef7f2;--radius:7px;--radius-lg:9px;
 --shadow:none;--shadow-soft:none;--shadow-lift:0 5px 14px #142f3c12;
 font-family:'Segoe UI',system-ui,sans-serif;font-size:14px;line-height:1.5;color:var(--ink);
}
#app-shell .main{background:#f6f7f7}
#app-shell .sidebar{background:#132f3c;box-shadow:none;border-right:1px solid #294653}
#app-shell .sidebar::before,#app-shell .sidebar::after,#app-shell .topbar::after{display:none}
#app-shell .sidebar .brand{font-family:inherit;border-bottom-color:#36505d}
#app-shell .sidebar .brand-mark{filter:none}
#app-shell .brand-copy strong{font-size:14px;line-height:1.25;font-weight:600;letter-spacing:0}
#app-shell .brand-copy small{font-size:10px;font-weight:500;letter-spacing:.06em;color:#c0d2da}
#app-shell .topbar{background:#fff;box-shadow:none;border-bottom:1px solid var(--line)}
#app-shell .nav-item{min-height:44px;padding:10px 12px;border-radius:5px;font-size:13px;font-weight:500;letter-spacing:0;color:#d6e3e8;box-shadow:none;transition:background .15s}
#app-shell .nav-item:hover{background:#213e4b;transform:none}
#app-shell .nav-item.active{color:#fff;background:#2c4855;box-shadow:none;border-left-color:transparent}
#app-shell .nav-item.active::before,#app-shell .nav-item.active::after{display:none}
#app-shell .user-block{border-top-color:#36505d}
#app-shell .user-block strong{font-size:13px;font-weight:500}
#app-shell .page{--workspace-accent:#193b4b!important;--workspace-accent-strong:#193b4b!important;--workspace-soft:#f4f7f8!important;--workspace-line:#dce3e6!important;--section-accent:#dce3e6;--section-soft:#f6f8f8;max-width:1560px;padding-top:26px}
#app-shell .page-heading{padding:0 0 18px;margin-bottom:20px;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0;background:none!important;box-shadow:none!important;min-height:0;align-items:flex-start}
#app-shell .page-heading::before,#app-shell .page-heading::after{display:none!important}
#app-shell h1,#app-shell h2,#app-shell h3,#app-shell h4,#modal-root h1,#modal-root h2,#modal-root h3,#login-screen h1,#login-screen h2{font-family:inherit;font-weight:600;letter-spacing:-.02em}
#app-shell .page-heading h1{font-size:28px;line-height:1.25;color:var(--ink);margin:0 0 6px;font-weight:600}
#app-shell .page-heading p{font-size:14px;line-height:1.5;color:var(--muted);margin:0;max-width:780px}
#app-shell .eyebrow,#app-shell .panel-header .eyebrow,#app-shell .page-heading .eyebrow,#modal-root .eyebrow{font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.07em;color:var(--muted)}
#app-shell .panel,#modal-root .panel{border:1px solid var(--line)!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important}
#app-shell .panel-header,#modal-root .panel-header{padding:16px 18px;background:#fff!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0;box-shadow:none!important}
#app-shell .panel-header h2,#modal-root .panel-header h2{font-size:18px;font-weight:600;line-height:1.35;color:var(--ink)}
#app-shell .panel-header h3,#modal-root .panel-header h3{font-size:16px;font-weight:600;color:var(--ink)}
#app-shell .panel-header p,#modal-root .panel-header p{font-size:13px;line-height:1.5;color:var(--muted)}
#app-shell .panel-body,#modal-root .panel-body{padding:18px}
#app-shell .panel .panel,#modal-root .panel .panel{box-shadow:none!important}
#app-shell .metric-grid .metric-card,#app-shell .overview-metric-grid .metric-card:nth-child(n),#modal-root .metric-card{--metric-accent:#526873;--metric-soft:#f6f8f8;border:1px solid var(--line)!important;border-radius:6px;background:#fff!important;box-shadow:none!important}
#app-shell .metric-card .metric-value,#modal-root .metric-card .metric-value{font-family:inherit;font-size:26px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.03em;color:var(--ink)}
#app-shell .metric-card .metric-top,#modal-root .metric-card .metric-top{font-size:12px;font-weight:500;color:var(--muted)}
#app-shell .metric-card .metric-foot,#modal-root .metric-card .metric-foot{font-size:12px;color:var(--muted)}
#app-shell .metric-icon,#modal-root .metric-icon{display:none}
#app-shell .metric-card.warn .metric-value,#modal-root .metric-card.warn .metric-value{color:var(--amber)}
#app-shell .metric-card.alert .metric-value,#modal-root .metric-card.alert .metric-value{color:var(--red)}
#app-shell .metric-card.ready .metric-value,#modal-root .metric-card.ready .metric-value{color:var(--green)}
#app-shell .workspace-hub-card,#app-shell .demo-role-links button,#app-shell .overview-shortcut-grid button{border:1px solid var(--line);border-radius:6px;background:#fff!important;box-shadow:none!important;transform:none}
#app-shell .workspace-hub-card::after{display:none}
#app-shell .workspace-hub-card:hover,#app-shell .demo-role-links button:hover{border-color:#7a969f;background:#f4f7f8!important}
#app-shell .workspace-hub-card span,#app-shell .workspace-hub-card b{color:var(--navy);font-weight:600}
#app-shell .workspace-hub-card p{font-size:13px;line-height:1.5}
#app-shell .workspace-hub-section{border-left:0;padding-left:0}
#app-shell .workspace-hub-more,#app-shell .overview-more-details{border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:none}
#app-shell .button,#modal-root .button,#login-screen .button{font-family:inherit;font-weight:600;font-size:13px;line-height:1.35;min-height:42px;border:1px solid var(--line-dark);border-radius:5px;background:#fff;color:var(--navy);box-shadow:none!important;transform:none!important;text-shadow:none}
#app-shell .button:hover,#modal-root .button:hover,#login-screen .button:hover{background:#edf3f5;border-color:#738d98}
#app-shell .button.primary,#modal-root .button.primary,#login-screen .button.primary{background:#193b4b!important;color:#fff!important;border-color:#193b4b!important;box-shadow:none!important}
#app-shell .button.primary:hover,#modal-root .button.primary:hover,#login-screen .button.primary:hover{background:#244e60!important}
#app-shell .button.danger,#modal-root .button.danger{color:var(--red);border-color:#d9b0aa;background:#fff}
#app-shell .button.danger.primary,#modal-root .button.danger.primary{background:var(--red)!important;border-color:var(--red)!important;color:#fff!important}
#app-shell .button.small,#modal-root .button.small{font-size:12px;min-height:36px}
#app-shell .button:disabled,#modal-root .button:disabled{opacity:.5;cursor:not-allowed}
#app-shell label,#modal-root label{font-family:inherit;font-size:14px;line-height:1.5;font-weight:500;letter-spacing:0;color:var(--ink)}
#app-shell input,#app-shell select,#app-shell textarea,#modal-root input,#modal-root select,#modal-root textarea,#login-screen input{font-family:inherit;font-size:14px;font-weight:400;border:1px solid var(--line-dark);border-radius:5px;background:#fff;color:var(--ink);box-shadow:none!important}
#app-shell input:not([type="checkbox"]):not([type="radio"]),#app-shell select,#modal-root input:not([type="checkbox"]):not([type="radio"]),#modal-root select{min-height:42px}
#app-shell label small,#app-shell .helper,#modal-root label small,#modal-root .helper{font-size:12px;line-height:1.5;font-weight:400;color:var(--muted)}
#app-shell input[type="checkbox"],#app-shell input[type="radio"],#modal-root input[type="checkbox"],#modal-root input[type="radio"]{accent-color:#193b4b}
#app-shell .data-table th,#modal-root .data-table th{background:#f6f8f8;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.025em;border-bottom:1px solid var(--line)}
#app-shell .data-table td,#modal-root .data-table td{font-size:13px;padding-block:14px;line-height:1.5}
#app-shell .data-table td small,#modal-root .data-table td small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
#app-shell .data-table tr:hover td{background:#f2f6f7}
#app-shell .badge,#app-shell .status,#modal-root .badge,#modal-root .status{border-radius:4px;box-shadow:none;font-size:11px;font-weight:600;letter-spacing:.015em}
#app-shell .notice,#modal-root .notice{border-radius:6px;box-shadow:none;background-image:none}
#app-shell .notice strong,#modal-root .notice strong{font-weight:600}
#app-shell .student360-card{border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:none}
#app-shell .student360-head h3{font-size:17px;font-weight:600}
#app-shell .student360-stats strong,#modal-root .student360-stats strong{font-family:inherit;font-size:17px;font-weight:600}
#app-shell .student360-stats span,#app-shell .student360-note,#modal-root .student360-stats span{border-radius:4px;box-shadow:none;background:#f7f9f9}
#app-shell .student360-actions{gap:8px}
#app-shell .student360-actions .button{flex:1 1 auto}
#modal-root .modal{border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 55px #0e26372b}
#modal-root .modal-header{padding:18px 22px;background:#fff}
#modal-root .modal-header h2{font-size:22px}
#modal-root .modal-header p{font-size:13px;color:var(--muted)}
#modal-root .modal-actions{background:#fafbfb}
#app-shell .evaluation-workspace-tabs,#app-shell .scenario-workspace-tabs,#app-shell .evaluation-run-tabs{display:flex;gap:18px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#f6f7f7;box-shadow:none}
#app-shell .evaluation-workspace-tabs button,#app-shell .scenario-workspace-tabs button,#app-shell .evaluation-run-tabs button{flex:1;min-width:0;min-height:46px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font:500 14px/1.35 'Segoe UI',system-ui,sans-serif;box-shadow:none}
#app-shell .evaluation-workspace-tabs button[aria-selected="true"],#app-shell .scenario-workspace-tabs button[aria-selected="true"],#app-shell .evaluation-run-tabs button[aria-selected="true"]{background:transparent;color:var(--navy);border-bottom-color:var(--navy);font-weight:600;box-shadow:none}
#app-shell .evaluation-workspace-tabs button:hover,#app-shell .scenario-workspace-tabs button:hover,#app-shell .evaluation-run-tabs button:hover{background:#eaf1f3}
#app-shell .evaluation-tabbed-form>.evaluation-step-block,#app-shell .quick-capture-page .quick-capture-form>.panel>.form-section{border:1px solid var(--line)!important;border-radius:7px!important;box-shadow:none!important;background:#fff!important}
#app-shell .evaluation-step-block>.section-title,#app-shell .evaluation-step-three>.panel-header{background:#f7f9f9!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important}
#app-shell .evaluation-step-block>.section-title h3,#app-shell .evaluation-step-three>.panel-header h3{font-size:18px;font-weight:600;color:var(--ink)!important}
#app-shell .evaluation-step-block>.section-title p,#app-shell .evaluation-step-three>.panel-header p{font-size:13px;color:var(--muted)!important}
#app-shell .form-section,#app-shell .mode-choice,#app-shell .scenario-question-helper,#app-shell .recording-marker-dock,#app-shell .scenario-response-inline{border-radius:6px;box-shadow:none!important;background-image:none!important}
#app-shell .form-section{border:0;border-bottom:1px solid var(--line);background:#fff}
#app-shell .section-title{box-shadow:none!important;border-left:0!important}
#app-shell .quick-capture-status-strip{border:1px solid var(--line)!important;border-radius:5px!important;box-shadow:none!important;padding:4px!important}
#app-shell .quick-capture-status-strip span{border-radius:3px!important;font-size:12px!important;font-weight:500!important;background:#f6f8f8!important}
#app-shell .quick-capture-status-strip b{background:var(--navy)!important}
#app-shell .quick-capture-page .quick-audio-recorder{border:1px solid var(--line)!important;border-radius:6px!important;box-shadow:none!important;background:#fff!important}
#app-shell .scenario-question-helper{border:1px solid var(--line);background:#f6f8f8}
#app-shell .recording-scenario-nav{border:0;background:#fff;box-shadow:none!important}
#app-shell .tabbed-scenario-reference .recording-scenario-nav .button{border-radius:4px;background:#fff;color:var(--muted);font-weight:500}
#app-shell .tabbed-scenario-reference .recording-scenario-nav [aria-selected="true"]{background:#eaf1f3;border-color:#7d99a7;color:var(--navy);box-shadow:none}
#app-shell .recording-marker-dock,#app-shell .recording-marker-dock summary{background:#f7f9f9;border-color:var(--line);box-shadow:none!important;border-radius:6px}
#app-shell .recording-response-inline{border-width:1px}
#app-shell .recording-controls-floating{padding:8px;border:1px solid #b6c9d1!important;border-radius:8px!important;background:#fff!important;box-shadow:0 4px 16px #193b4b26!important;filter:none!important}
#app-shell .recording-controls-floating::before,#app-shell .recording-controls-floating::after{display:none!important}
#app-shell .recording-controls-floating .floating-recording-timer,#app-shell .recording-controls-floating .recording-timer{border-radius:4px!important;box-shadow:none!important;background:#f3f7f7!important;border-width:1px!important}
#app-shell .floating-recording-toggle{border-radius:5px!important;font:600 13px/1.3 'Segoe UI',system-ui,sans-serif!important;box-shadow:none!important;background:#193b4b!important;color:#fff!important}
#app-shell .floating-recording-toggle[aria-pressed="true"]{background:#ab392e!important}
#app-shell .report-hero{border:1px solid var(--line);border-radius:7px;background:#fff!important;box-shadow:none!important;color:var(--ink)}
#app-shell .report-hero h2,#app-shell .report-hero h3,#app-shell .report-hero p{color:var(--ink)}
#app-shell .report-review-actions{border:1px solid var(--line)}
#app-shell .report-review-actions [data-action="release"]{border:1px solid var(--navy);color:var(--navy)}
#app-shell .app-tutorial-panel,#app-shell .scenario-builder-tutorial,#modal-root .app-tutorial-panel{border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:none}
#app-shell .app-tutorial-panel>summary,#app-shell .scenario-builder-tutorial>summary,#modal-root .app-tutorial-panel>summary{min-height:52px;padding:11px 14px}
#app-shell .app-tutorial-panel>summary strong,#modal-root .app-tutorial-panel>summary strong{font-size:13px;font-weight:600}
#app-shell .tutorial-play-icon,#modal-root .tutorial-play-icon{width:28px;height:28px;flex-basis:28px;background:#edf3f5;color:var(--navy)}
#app-shell .overview-action-center>.panel-header{border-left:0;background:#fff}
#app-shell .overview-action-summary{display:flex;flex-wrap:wrap;gap:8px}
#app-shell .overview-action-summary button{border:1px solid var(--line);border-radius:4px;background:#fff;box-shadow:none;color:var(--muted)}
#app-shell .overview-action-summary button[hidden]{display:none!important}
#app-shell .overview-action-summary button.active{background:#eaf1f3;border-color:#7d99a7;color:var(--navy)}
#app-shell .overview-idle-work{margin-bottom:20px;border-bottom:1px solid var(--line)}
#app-shell .overview-idle-work>summary{display:flex;justify-content:space-between;gap:16px;padding:10px 0 16px;cursor:pointer;font-size:13px;color:var(--muted)}
#app-shell .overview-idle-work>summary span:first-child{color:var(--green)}
#app-shell .overview-idle-work>summary span:last-child{text-decoration:underline;text-underline-offset:3px}
#app-shell .overview-queue-bar{display:flex;flex-wrap:wrap;gap:22px;border-bottom:1px solid var(--line);margin-bottom:20px}
#app-shell .overview-queue-bar button{min-height:44px;padding:9px 0;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font:500 14px/1.3 'Segoe UI',system-ui,sans-serif;cursor:pointer}
#app-shell .overview-queue-bar button.active{color:var(--navy);border-bottom-color:var(--navy)}
#app-shell .overview-queue-bar button span{margin-left:7px;font-size:12px;font-variant-numeric:tabular-nums}
#app-shell .first-use-welcome{padding:18px}
#app-shell .first-use-welcome h2{font-size:19px}
#app-shell .first-use-welcome p{font-size:13px}
#app-shell .workspace-return-link{display:inline-flex;align-items:center;min-height:40px;gap:7px;padding:6px 0;margin-bottom:10px;border:0;background:none;color:var(--navy);font:500 13px/1.4 'Segoe UI',system-ui,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#app-shell .search-target-highlight{outline:3px solid #16635f!important;outline-offset:5px;background-color:#edf5f3!important;scroll-margin-top:110px}
#login-screen{background:#f6f7f7}
#login-screen .login-story{background:#132f3c!important;border:0;padding:44px 9%;color:#e9f0f3}
#login-screen .login-story::before,#login-screen .login-story::after,#login-screen .headline-accent::after{display:none!important}
#login-screen .story-copy{max-width:620px}
#login-screen .story-copy h1{font-size:clamp(32px,3.2vw,46px);line-height:1.2;letter-spacing:-.035em;color:#fff;font-weight:600}
#login-screen .headline-accent{color:#c9dce5;background:none;text-shadow:none}
#login-screen .story-lead{font-size:18px;line-height:1.6;max-width:500px;color:#dbe7ec}
#login-screen .story-secondary{padding:20px 0 0;border:0;border-top:1px solid #36505d;border-radius:0;background:none;box-shadow:none;font-size:14px;line-height:1.6;color:#c9dce5}
#login-screen .story-secondary strong{font-weight:600;text-transform:none;font-size:14px}
#login-screen .positioning-points{display:flex;flex-wrap:wrap;gap:18px}
#login-screen .positioning-points span{padding:0;border:0;border-radius:0;background:none;box-shadow:none;font-size:12px;font-weight:400;color:#b9ced8}
#login-screen .login-panel{background:#f6f7f7}
#login-screen .login-card{border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:none;padding:32px;max-width:460px}
#login-screen .login-card h2{font-size:28px;color:var(--ink)}
#login-screen .login-card label{font-size:14px;font-weight:500}
#login-screen .login-card input{min-height:44px}
#login-screen .signup-button{background:#fff!important;color:var(--navy)!important;border:1px solid var(--line-dark)!important}
#login-screen .privacy-note{font-size:12px;line-height:1.5;color:var(--muted)}
#login-screen .login-legal-links a{font-size:11px}
#app-shell :where(a,button,input,select,textarea,summary):focus-visible,#modal-root :where(a,button,input,select,textarea,summary):focus-visible,#login-screen :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #16635f!important;outline-offset:3px!important;box-shadow:0 0 0 2px #fff!important}
@media(max-width:780px){
 #app-shell .page{padding:20px 16px 90px}
 #app-shell .page-heading{gap:14px;flex-wrap:wrap}
 #app-shell .page-heading h1{font-size:25px}
 #app-shell .page-heading p{font-size:13px}
 #app-shell .panel-body,#modal-root .panel-body{padding:15px}
 #app-shell .evaluation-workspace-tabs,#app-shell .scenario-workspace-tabs,#app-shell .evaluation-run-tabs{gap:4px}
 #app-shell .evaluation-workspace-tabs button,#app-shell .scenario-workspace-tabs button,#app-shell .evaluation-run-tabs button{font-size:12px;padding:10px 5px;min-height:46px}
 #app-shell .overview-queue-bar{gap:16px}
 #app-shell .overview-queue-bar button{font-size:13px}
 #app-shell .overview-idle-work>summary{display:grid;gap:3px}
 #modal-root .modal-header{padding:16px}
 #modal-root .modal-header h2{font-size:21px}
 #login-screen .login-card{padding:25px;border-radius:7px}
 #app-shell .button.small,#modal-root .button.small{min-height:40px}
}
@media(prefers-reduced-motion:reduce){#app-shell .nav-item{transition:none}}
@media(forced-colors:active){
 #app-shell .button.primary,#modal-root .button.primary,#login-screen .button.primary{background:Highlight!important;color:HighlightText!important;border-color:Highlight!important}
 #app-shell .nav-item.active{background:Highlight!important;color:HighlightText!important}
 #app-shell .evaluation-workspace-tabs button[aria-selected="true"],#app-shell .scenario-workspace-tabs button[aria-selected="true"]{border-bottom:3px solid Highlight!important}
}

/* Original local outline symbols share one size, stroke, and color. */
#evaluation-camera-workspace{width:min(560px,100%);min-width:0}
#evaluation-camera-workspace[hidden]{display:none!important}
#evaluation-camera-workspace .capture-video-stage{width:100%;border-radius:6px;box-shadow:none}
#evaluation-camera-controls{display:flex;align-items:end;gap:12px;margin-top:10px}
#evaluation-camera-controls .button{min-height:44px;flex-shrink:0;display:inline-flex;align-items:center;gap:8px}
#evaluation-camera-controls svg{width:22px;height:22px;flex:none}
#evaluation-camera-controls label{flex:1;min-width:0;display:grid;gap:4px}
#evaluation-camera-controls select{width:100%;min-width:0;min-height:44px}
#evaluation-camera-status{margin:8px 0 0;font-size:13px;line-height:1.5}
@media(max-width:480px){#evaluation-camera-controls{gap:8px}#evaluation-camera-controls .button{padding:9px 10px;font-size:13px}}
#app-shell .workspace-hub-nav .nav-icon{font-size:0!important;width:18px;height:18px;min-width:18px;border:0!important;border-radius:0;background:none!important;color:inherit!important}
#app-shell .workspace-hub-nav .nav-icon::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:var(--maynard-nav-icon) center/contain no-repeat}
#app-shell .workspace-hub-nav[data-route="dashboard"]{--maynard-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010%2012%203l9%207M5%209v12h5v-7h4v7h5V9%22%2F%3E%3C%2Fsvg%3E")}
#app-shell .workspace-hub-nav[data-route="evaluations-hub"]{--maynard-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%204H6a2%202%200%200%200-2%202v14a1%201%200%200%200%201%201h14a1%201%200%200%200%201-1V6a2%202%200%200%200-2-2h-3M9%203h6v4H9zM8%2014l3%203%205-6%22%2F%3E%3C%2Fsvg%3E")}
#app-shell .workspace-hub-nav[data-route="students-hub"]{--maynard-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2M9%2011a4%204%200%201%200%200-8%204%204%200%200%200%200%208M22%2021v-2a4%204%200%200%200-3-3.87M16%203.13a4%204%200%200%201%200%207.75%22%2F%3E%3C%2Fsvg%3E")}
#app-shell .workspace-hub-nav[data-route="learning-hub"]{--maynard-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206v15M12%206C9%203%205%203%202%204v16c3-1%207-1%2010%201%203-2%207-2%2010-1V4c-3-1-7-1-10%202%22%2F%3E%3C%2Fsvg%3E")}
#app-shell .workspace-hub-nav[data-route="program-hub"]{--maynard-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207l9-4%209%204-9%204zM3%2012l9%204%209-4M3%2017l9%204%209-4%22%2F%3E%3C%2Fsvg%3E")}
#app-shell .workspace-hub-nav[data-route="administration-hub"]{--maynard-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v4M12%2017v4M3%2012h4M17%2012h4M5.6%205.6l2.8%202.8M15.6%2015.6l2.8%202.8M18.4%205.6l-2.8%202.8M8.4%2015.6l-2.8%202.8M12%208a4%204%200%201%200%200%208%204%204%200%200%200%200-8%22%2F%3E%3C%2Fsvg%3E")}
#app-shell .workspace-hub-nav[data-route="platform-operations-hub"]{--maynard-nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%203H3v6h6zM21%203h-6v6h6zM9%2015H3v6h6zM21%2015h-6v6h6z%22%2F%3E%3C%2Fsvg%3E")}

/* Live controls are attached to body so they stay available while the page scrolls. */
body>.recording-controls-floating{padding:8px;border:1px solid #b6c9d1!important;border-radius:7px!important;background:#fff!important;box-shadow:0 4px 14px #193b4b26!important;filter:none!important;backdrop-filter:none}
body>.recording-controls-floating.recording{border-color:#b86d63!important;background:#fff8f7!important}
body>.recording-controls-floating .recording-timer-floating{border-radius:4px!important;border-width:1px!important;padding:8px!important;font:600 16px/1.4 'Segoe UI',system-ui,sans-serif!important;box-shadow:none!important;background:#f3f7f7!important;color:#193b4b!important;min-width:0}
body>.recording-controls-floating .recording-timer-floating::before{font:600 10px/1.4 'Segoe UI',system-ui,sans-serif;padding:4px 5px;border-radius:3px}
body>.recording-controls-floating .floating-recording-toggle{border-radius:5px!important;border:1px solid #193b4b!important;font:600 13px/1.3 'Segoe UI',system-ui,sans-serif!important;box-shadow:none!important;background:#193b4b!important;color:#fff!important;min-width:118px}
body>.recording-controls-floating .floating-recording-toggle[aria-pressed="true"]{background:#ab392e!important;border-color:#ab392e!important}
#app-shell .sidebar .nav-item{font-size:13px;font-weight:500;min-height:44px;color:#d6e3e8}
#app-shell .sidebar .nav-item.active{background:#2c4855!important;color:#fff!important;box-shadow:none!important}
#app-shell .topbar .new-eval-button,#app-shell .topbar .new-eval-button:hover{background:#193b4b!important;border-color:#193b4b!important;color:#fff!important}
#app-shell .capture-recorder-panel h3{font-size:18px;font-weight:600;color:var(--ink)}
#app-shell .scenario-info-button,#app-shell .scenario-info-detail,#app-shell .scenario-info-choice{border-radius:5px!important;box-shadow:none!important;background-image:none!important}
@media(max-width:780px){#app-shell .topbar .new-eval-button{font-size:0!important;min-width:42px;width:42px;padding:9px!important}#app-shell .topbar .new-eval-button::after{content:'＋';font-size:20px}}
@media(forced-colors:active){body>.recording-controls-floating .floating-recording-toggle,#app-shell .topbar .new-eval-button{background:Highlight!important;border-color:Highlight!important;color:HighlightText!important}}

#app-shell .page-heading h1,#app-shell .page-heading.overview-hero h1{color:#192f3a!important;font-weight:600!important}
#app-shell .page-heading p,#app-shell .page-heading.overview-hero p{color:#526873!important;font-weight:400!important}
#app-shell .page-heading.overview-hero{padding:0 0 18px!important;border-radius:0!important}
#app-shell .scenario-info-panel{border:1px solid var(--line);border-radius:5px;box-shadow:none!important;grid-template-columns:minmax(70px,.15fr) minmax(0,1fr)}
#app-shell .scenario-info-panel>span{width:auto;height:auto;justify-content:start;background:none;border-radius:0;color:var(--muted);font-size:13px;font-weight:500}
#app-shell .scenario-info-button strong{font-size:15px;font-weight:600}
#app-shell .scenario-info-button span{font-size:12px;font-weight:400}
#app-shell .overview-action-summary button{display:flex;align-items:center;gap:8px;font-weight:500}
#app-shell .overview-action-summary button strong{font-size:15px;font-weight:600}
#app-shell .operations-list article{border-radius:5px;box-shadow:none}
#app-shell .operations-list article strong{font-weight:600}
#app-shell .operations-list article small{font-size:11px;font-weight:500;letter-spacing:.035em}
#app-shell .scenario-objectives-panel,#app-shell .scenario-objective-choice{border-radius:5px;box-shadow:none}
#login-screen .login-card::before,#login-screen .login-card::after{display:none!important}
#login-screen .story-copy p{font-family:'Segoe UI',system-ui,sans-serif}
#app-shell .metric-card::before,#app-shell .metric-card::after,#modal-root .metric-card::before,#modal-root .metric-card::after{display:none!important}
#app-shell .capture-recorder-heading strong{font-size:18px;font-weight:600;color:var(--ink)}
#app-shell .student360-stats small,#modal-root .student360-stats small{font-size:11px;font-weight:500;letter-spacing:.02em}
#app-shell #evaluation-draft-status{padding:12px 14px;margin-bottom:16px}
#app-shell #evaluation-draft-status strong{font-size:13px;font-weight:600}
#app-shell #evaluation-draft-status p{font-size:12px;line-height:1.5;margin:4px 0 10px}
#app-shell #evaluation-draft-status .button-row{display:flex;flex-wrap:wrap;gap:8px}
#login-screen .mobile-brand,#login-screen .brand{font-family:'Segoe UI',system-ui,sans-serif;font-weight:600}
#login-screen .mobile-login-value{background:none;padding:0 0 14px;border:0;border-bottom:1px solid var(--line);border-radius:0}
@media(max-width:780px){#app-shell .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#app-shell .metric-card{min-width:0;padding:14px}#app-shell .metric-card .metric-top{min-height:32px}#app-shell .metric-card .metric-foot{font-size:11px}}
#modal-root .panel::before,#modal-root .panel::after,#modal-root .panel-header::before,#modal-root .panel-header::after{display:none!important}
#learning-submit-form .check-row{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;margin:0;font-weight:400}
#learning-submit-form .check-row input[type="radio"],#learning-submit-form .check-row input[type="checkbox"]{display:inline-block;flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;margin:2px 0 0;padding:0}
#learning-submit-form .check-row>span{flex:1;min-width:0}
#app-shell .student-command-hero,#app-shell .student-narrative-launch{background:#fff!important;border-bottom:1px solid var(--line);box-shadow:none!important;border-radius:0;padding:20px}
#app-shell .student-command-hero h2{font-size:21px;font-weight:600}
#app-shell .student-command-hero p{font-size:14px;color:var(--muted)}
#app-shell .student-command-badge{width:92px;height:80px;border:1px solid var(--line);border-radius:5px;background:#f6f8f8;color:var(--navy);box-shadow:none}
#app-shell .student-command-badge strong{font-size:19px;font-weight:600;letter-spacing:.03em}
#app-shell .student-command-badge span{color:var(--muted);font-weight:500;font-size:10px}
#app-shell .student-command-grid article{border-radius:5px;background:#fff;box-shadow:none}
#app-shell .student-command-grid p{font-size:12px}
#app-shell .student-command-grid small{font-size:11px;font-weight:500;color:var(--muted)}
#app-shell .quick-capture-page .evaluation-mode-visible{padding:12px 16px}
#app-shell .evaluation-next-student-notice{padding:12px 14px}
#app-shell .evaluation-next-student-notice strong{font-size:14px;font-weight:600}
#app-shell .evaluation-next-student-notice p{font-size:13px;line-height:1.5;margin:4px 0 0}

/* A scenario choice leads into a short, stable evaluation setup. */
#app-shell .workspace-hub-nav[data-route="scenarios-hub"]{--maynard-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3h12l4 4v14H4zM16 3v5h4M8 12h8M8 16h5'/%3E%3C/svg%3E")}
#app-shell .workspace-hub-nav[data-route="settings-hub"] .nav-icon::before{mask:none;background:none;content:'⚙';font-size:21px;line-height:18px}
#app-shell #evaluation-defaults-form .text-link{border:0;background:none;padding:0;text-decoration:underline;font:inherit;cursor:pointer}
#app-shell #evaluation-defaults-form fieldset{border:0;padding:0;margin:0;min-width:0}
#app-shell #evaluation-defaults-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}
#app-shell #evaluation-defaults-form label{min-width:0}
#app-shell #evaluation-defaults-form select{width:100%;min-width:0;max-width:100%;min-height:44px}
#app-shell #evaluation-defaults-form small{display:block;font-size:12px;color:var(--muted);margin-top:6px}
@media(max-width:700px){#app-shell #evaluation-defaults-form .form-grid{grid-template-columns:1fr}}
#app-shell #page .evaluation-guided-setup .evaluation-setup-summary{background:none;border:0;border-left:2px solid var(--line-dark);padding:4px 12px;margin-bottom:16px}
#app-shell #page .evaluation-guided-setup .evaluation-setup-steps{margin-bottom:16px}
#app-shell #page .evaluation-guided-setup .evaluation-start-heading{margin-bottom:16px}
#app-shell #page .evaluation-guided-setup .evaluation-guided-fields{gap:12px 24px}
#app-shell #page .evaluation-guided-setup [data-guided-adjustments]>summary,#app-shell #page .evaluation-guided-setup [data-guided-partners]>summary{padding:8px 12px}
#app-shell #page .evaluation-guided-setup .evaluation-setup-actions{margin-top:12px;padding-top:12px}
#app-shell #page .evaluation-guided-setup .evaluation-mode-visible{display:block;border:0;box-shadow:none;background:none;padding:0;margin:16px 0}
#app-shell #page .evaluation-guided-setup .evaluation-mode-visible .mode-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#app-shell #page .evaluation-guided-setup .evaluation-mode-visible .mode-card{min-height:0;padding:10px 14px;margin:0}
#app-shell #page .evaluation-guided-setup .evaluation-mode-visible .mode-card small{display:none}
#app-shell #page .evaluation-guided-setup .evaluation-mode-visible .mode-card strong{white-space:normal}
#app-shell #page .evaluation-guided-setup [data-guided-adjustments]>summary,#app-shell #page .evaluation-guided-setup [data-guided-partners]>summary{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start;align-items:center;padding:12px 14px;min-height:44px;background:#fafbfb;box-shadow:none}
#app-shell #page .evaluation-guided-setup [data-guided-adjustments]>summary>span,#app-shell #page .evaluation-guided-setup [data-guided-partners]>summary>span{font-weight:400;font-size:12px;color:var(--muted)}
#app-shell #page .evaluation-guided-setup [data-guided-adjustments]>summary::after,#app-shell #page .evaluation-guided-setup [data-guided-partners]>summary::after{content:'⌄';margin-left:auto;min-width:0;width:auto;background:none;color:var(--ink);padding:0}
#app-shell #page .evaluation-guided-setup [data-guided-adjustments][open]>summary::after,#app-shell #page .evaluation-guided-setup [data-guided-partners][open]>summary::after{content:'⌃'}
#app-shell #page .evaluation-guided-setup [data-guided-adjustments]>.evaluation-guided-fields,#app-shell #page .evaluation-guided-setup [data-guided-adjustments]>.helper,#app-shell #page .evaluation-guided-setup [data-guided-partners]>label{padding:14px}
#app-shell .workspace-hub-nav[data-route="evaluation-settings"] .nav-icon::before{mask:none;background:none;content:'⚙';font-size:21px;line-height:18px}
#app-shell .evaluation-workspace-tabs[hidden],#app-shell .evaluation-draft-status[hidden]{display:none!important}
body:has(.evaluation-guided-form[data-active-evaluation-pane="setup"]) .recording-controls-floating:not(.recording){display:none!important}
#app-shell .evaluation-draft-compact{padding:8px 14px}
#app-shell .evaluation-draft-compact>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;width:100%}
#app-shell .evaluation-draft-compact p{display:none}
#app-shell .evaluation-draft-compact .button-row{margin:0}
#app-shell .evaluation-draft-compact strong{font-size:12px}
#app-shell .evaluation-guided-setup [data-guided-adjustments],#app-shell .evaluation-guided-setup [data-guided-partners]{margin-top:14px}
#app-shell .evaluation-guided-setup .evaluation-setup-summary p{font-size:13px;color:var(--muted);margin:6px 0 0;line-height:1.5}
#app-shell .evaluation-guided-setup .evaluation-mode-visible{margin-top:14px;padding:12px 0;border:0;background:none}
#app-shell .evaluation-guided-setup .evaluation-mode-visible>div:first-child{display:none}
#app-shell .evaluation-guided-setup .evaluation-mode-visible .mode-card{min-height:0;padding:12px}
#app-shell .evaluation-guided-setup{min-width:0}
#app-shell .evaluation-guided-setup [data-guided-step][hidden]{display:none!important}
#app-shell .evaluation-guided-setup .evaluation-start-heading{margin:0 0 20px;max-width:760px}
#app-shell .evaluation-guided-setup .evaluation-start-heading h2{margin:0 0 7px;color:var(--ink);font-size:22px;line-height:1.3;font-weight:600;letter-spacing:-.015em}
#app-shell .evaluation-guided-setup .evaluation-start-heading p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
#app-shell .evaluation-guided-setup .evaluation-start-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
#app-shell .evaluation-guided-setup .evaluation-start-choice{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;min-width:0;min-height:160px;width:100%;padding:20px;border:1px solid var(--line-dark);border-radius:6px;background:#fff;color:var(--navy);box-shadow:none;text-align:left;white-space:normal;overflow-wrap:anywhere;font:inherit;cursor:pointer}
#app-shell .evaluation-guided-setup .evaluation-start-choice strong{font-size:16px;line-height:1.4;font-weight:600}
#app-shell .evaluation-guided-setup .evaluation-start-choice span{font-size:13px;line-height:1.6;font-weight:400;color:var(--muted)}
#app-shell .evaluation-guided-setup .evaluation-start-choice small{margin-top:auto;font-size:12px;line-height:1.5;font-weight:500;color:var(--navy)}
#app-shell .evaluation-guided-setup .evaluation-start-choice:hover{border-color:#6b8998;background:#f6f9fa}
#app-shell .evaluation-guided-setup .evaluation-start-choice[aria-pressed="true"]{border-color:var(--navy);background:#f0f6f8;box-shadow:inset 0 3px 0 var(--navy)}
#app-shell .evaluation-guided-setup .evaluation-start-choice:disabled{opacity:.55;cursor:not-allowed}
#app-shell .evaluation-guided-setup .evaluation-setup-steps{display:flex;gap:12px;min-width:0;margin:0 0 24px;padding:0;border-bottom:1px solid var(--line)}
#app-shell .evaluation-guided-setup .evaluation-setup-steps button{flex:1 1 0;min-width:0;min-height:46px;padding:10px 4px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);box-shadow:none;text-align:left;white-space:normal;overflow-wrap:anywhere;font:500 13px/1.45 'Segoe UI',system-ui,sans-serif;cursor:pointer}
#app-shell .evaluation-guided-setup .evaluation-setup-steps button[aria-current="step"]{border-bottom-color:var(--navy);color:var(--navy);font-weight:600}
#app-shell .evaluation-guided-setup .evaluation-setup-steps button:hover:not(:disabled){background:#f2f6f7}
#app-shell .evaluation-guided-setup .evaluation-setup-steps button:disabled{color:#697b84;cursor:not-allowed;opacity:.65}
#app-shell .evaluation-guided-setup .evaluation-guided-step{min-width:0;max-width:100%}
#app-shell .evaluation-guided-setup .evaluation-guided-step>h3{margin:0 0 7px;color:var(--ink);font-size:19px;line-height:1.4;font-weight:600}
#app-shell .evaluation-guided-setup .evaluation-guided-step>p{margin:0 0 18px;color:var(--muted);font-size:14px;line-height:1.6}
#app-shell .evaluation-guided-setup .evaluation-guided-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;min-width:0;align-items:start}
#app-shell .evaluation-guided-setup .evaluation-guided-fields>label{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;margin:0;font-size:13px;line-height:1.5;font-weight:500}
#app-shell .evaluation-guided-setup .evaluation-guided-fields label>.field-label{min-height:0;line-height:1.5}
#app-shell .evaluation-guided-setup .evaluation-guided-fields label>input,#app-shell .evaluation-guided-setup .evaluation-guided-fields label>select,#app-shell .evaluation-guided-setup .evaluation-guided-fields label>textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;margin:0;font-size:14px;font-weight:400}
#app-shell .evaluation-guided-setup .evaluation-guided-fields label>small{margin:0;color:var(--muted);font-size:12px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
#app-shell .evaluation-guided-setup .evaluation-guided-fields>.evaluation-collapsible,#app-shell .evaluation-guided-setup .evaluation-guided-fields>.saved-scenario-search-label{grid-column:1/-1}
#app-shell .evaluation-guided-setup .saved-scenario-search-label{display:block;min-width:0;max-width:100%;margin:0}
#app-shell .evaluation-guided-setup .saved-scenario-search-label>.field-label{display:block;margin:0 0 7px;font-size:13px;line-height:1.5;font-weight:500}
#app-shell .evaluation-guided-setup .saved-scenario-search-label>small{display:block;margin:8px 0 0;font-size:12px;line-height:1.5;font-weight:400;color:var(--muted)}
#app-shell .evaluation-guided-setup .saved-scenario-picker{min-width:0;max-width:100%}
#app-shell .evaluation-guided-setup .saved-scenario-search-label #generated-scenario-search{height:46px;min-width:0;border-width:1px;box-shadow:none;font-size:14px;font-weight:400}
#app-shell .evaluation-guided-setup .saved-scenario-search-label #generated-scenario-search::placeholder{font-weight:400}
#app-shell .evaluation-guided-setup .saved-scenario-suggestions{min-width:0;max-width:100%}
#app-shell .evaluation-guided-setup .saved-scenario-choice{white-space:normal;overflow-wrap:anywhere}
#app-shell .evaluation-guided-setup .evaluation-setup-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
#app-shell .evaluation-guided-setup .evaluation-setup-actions .button{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#app-shell .evaluation-guided-setup .evaluation-setup-actions .button.primary{margin-left:auto}
#app-shell .evaluation-guided-setup .evaluation-setup-summary{min-width:0;margin:0 0 20px;padding:16px 18px;border:1px solid var(--line);border-radius:5px;background:#f7f9f9}
#app-shell .evaluation-guided-setup .evaluation-setup-summary dl,#app-shell .evaluation-guided-setup dl.evaluation-setup-summary{display:grid;grid-template-columns:minmax(110px,.35fr) minmax(0,1fr);gap:10px 20px}
#app-shell .evaluation-guided-setup .evaluation-setup-summary dl{margin:0}
#app-shell .evaluation-guided-setup .evaluation-setup-summary dt{margin:0;color:var(--muted);font-size:13px;line-height:1.5;font-weight:400}
#app-shell .evaluation-guided-setup .evaluation-setup-summary dd{min-width:0;margin:0;color:var(--ink);font-size:13px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
#app-shell .evaluation-guided-setup .evaluation-scenario-status{margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#app-shell .evaluation-guided-setup .evaluation-guided-error{margin:12px 0 0;padding:10px 12px;border-left:3px solid var(--red);background:#fff6f4;color:#923c31;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#app-shell .evaluation-guided-setup .evaluation-guided-error:empty{display:none}
#app-shell .evaluation-guided-setup .evaluation-start-choice:focus-visible,#app-shell .evaluation-guided-setup .evaluation-setup-steps button:focus-visible{outline:3px solid #bc8d22;outline-offset:3px}
#app-shell .evaluation-builder-handoff{display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;min-width:0;margin:0 0 20px;padding:18px 20px;border:1px solid #bccfd7;border-left:3px solid var(--navy);border-radius:5px;background:#f3f8fa;box-shadow:none}
#app-shell .evaluation-builder-handoff>div{flex:1 1 300px;min-width:0}
#app-shell .evaluation-builder-handoff h2{margin:0 0 5px;color:var(--navy);font-size:18px;line-height:1.4;font-weight:600}
#app-shell .evaluation-builder-handoff p{margin:0;color:var(--muted);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#app-shell .evaluation-builder-handoff .button{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){
 #app-shell .evaluation-guided-setup .evaluation-start-choices{grid-template-columns:1fr;gap:10px}
 #app-shell .evaluation-guided-setup .evaluation-start-choice{min-height:0;padding:16px;gap:6px}
 #app-shell .evaluation-guided-setup .evaluation-start-heading{margin-bottom:16px}
 #app-shell .evaluation-guided-setup .evaluation-start-heading h2{font-size:20px}
 #app-shell .evaluation-guided-setup .evaluation-setup-steps{gap:8px;margin-bottom:20px}
 #app-shell .evaluation-guided-setup .evaluation-setup-steps button{padding:9px 2px;font-size:12px}
}
@media(max-width:700px){
 #app-shell .evaluation-guided-setup .evaluation-guided-fields{grid-template-columns:1fr;gap:18px}
 #app-shell .evaluation-guided-setup .evaluation-guided-fields>.evaluation-collapsible,#app-shell .evaluation-guided-setup .evaluation-guided-fields>.saved-scenario-search-label{grid-column:auto}
 #app-shell .evaluation-guided-setup .evaluation-setup-summary{padding:14px}
 #app-shell .evaluation-guided-setup .evaluation-setup-summary dl,#app-shell .evaluation-guided-setup dl.evaluation-setup-summary{grid-template-columns:1fr;gap:3px}
 #app-shell .evaluation-guided-setup .evaluation-setup-summary dd:not(:last-child){margin-bottom:10px}
 #app-shell .evaluation-builder-handoff{padding:15px;gap:12px}
}
@media(max-width:380px){
 #app-shell .evaluation-guided-setup .evaluation-setup-steps{gap:4px}
 #app-shell .evaluation-guided-setup .evaluation-setup-actions{align-items:stretch;gap:8px}
 #app-shell .evaluation-guided-setup .evaluation-setup-actions .button{flex:1 1 100%;width:100%;margin-left:0}
 #app-shell .evaluation-builder-handoff>.button{width:100%}
}
@media(forced-colors:active){
 #app-shell .evaluation-guided-setup .evaluation-start-choice[aria-pressed="true"]{border:2px solid Highlight}
 #app-shell .evaluation-guided-setup .evaluation-setup-steps button[aria-current="step"]{border-bottom-color:Highlight;color:Highlight}
 #app-shell .evaluation-guided-setup .evaluation-start-choice:focus-visible,#app-shell .evaluation-guided-setup .evaluation-setup-steps button:focus-visible{outline-color:Highlight}
}
