.portal-banner, .daily-header, .daily-section-heading {display:flex; align-items:center; justify-content:space-between; gap:1.25rem}
.portal-banner h2, .portal-banner p, .daily-header p.meta {margin:0}
.portal-banner .actions, .daily-clock .actions {margin-top:0}
.hero.home-signed-in {min-height:238px}
.home-signed-in .hero-content {padding-block:24px}
.home-dashboard {display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); align-items:start; gap:16px}
.home-dashboard-side {display:grid; gap:16px; min-width:0}
.home-panel {padding:16px 20px}
.home-panel h2 {font-size:1.15rem; margin-bottom:.45rem}
.home-panel-head {display:flex; align-items:baseline; justify-content:space-between; gap:.5rem 1rem; flex-wrap:wrap; margin-bottom:.5rem}
.home-panel-head h2 {margin:0}
.home-panel-head .text-link,.home-card-hint {font-size:.85rem}
.home-stats-list {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem 1.25rem; margin:0}
.home-stats-list dt {color:var(--muted); font-size:.85rem}
.home-stats-list dd,.home-grade-list dd {margin:0; font-variant-numeric:tabular-nums; font-weight:750; color:var(--purple-dark)}
.home-stats-list dd {font-size:1.2rem}
.home-grade-list {margin:0}
.home-grade-list > div {display:flex; justify-content:space-between; gap:.8rem; padding:.3rem 0; border-top:1px solid var(--line)}
.home-grade-list dt {min-width:0; overflow-wrap:anywhere}
.home-card-hint {margin:.4rem 0 0}
.home-panel .home-online-list {max-height:11rem; padding:0; margin:0}
.home-online-list li+li {margin-top:0}
.home-more-tasks {margin:.65rem 0}
.home-more-tasks:not([open]) .more-tasks-open,.home-more-tasks[open] .more-tasks-closed {display:none}
.weekly-layout {display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:1.25rem}
.weekly-layout h3 {font-size:1rem;margin:.3rem 0 .4rem}
.weekly-layout .weekly-events,.weekly-layout .weekly-days {list-style:none;padding:0;margin:0}
.weekly-events {max-height:19rem;overflow:auto}
.weekly-events li,.weekly-days li,.module-drive-list li {display:flex;gap:.5rem .75rem;border-top:1px solid var(--line);padding:.35rem 0}
.weekly-events time {flex:none;color:var(--muted);font-size:.85rem}
.weekly-events li+li,.weekly-days li+li {margin-top:0}
.weekly-days li,.module-drive-list li {justify-content:space-between;align-items:baseline}
.weekly-done {color:#1e634a;font-weight:700}
[data-grade-goal] .grade-fields {grid-template-columns:repeat(3,minmax(0,1fr))}
[data-grade-goal] select,[data-drive-module-choice] {
  width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #d8cde4;border-radius:10px;
  color:var(--ink);background:var(--white);font:inherit;font-weight:400
}
[data-grade-goal-answer]:not(:empty) {margin-top:.8rem;font-weight:700}
.panel .module-drive-list {list-style:none;padding:0}
.module-drive-list li {flex-wrap:wrap}
.care-speech-button {margin-bottom:.25rem}
[data-care-speech-status]:empty {display:none}
@media (max-width:830px) {
  .home-dashboard,.weekly-layout {grid-template-columns:1fr}
}
@media (max-width:560px) {
  .home-panel {padding:14px 16px}
  .home-stats-list {grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-grade-goal] .grade-fields {grid-template-columns:1fr}
}
@media print { [data-module-drive] { display:none } }
.account-panel {max-width:36rem}
.account-form {display:grid; gap:.8rem}
.account-form button {justify-self:start}
.account-form .field {margin:0}
.account-form input, .account-form select {width:100%; margin-top:.3rem; min-height:2.8rem; padding:.55rem .7rem; border:1px solid #b5a9c4; border-radius:8px; background:white; color:inherit; font:inherit}
.account-panel [role=status]:empty, .daily-header + [role=status]:empty {display:none}
.top-tools {display:flex; align-items:center; gap:.25rem; flex-shrink:0}
.feedback-link {display:grid; place-items:center; min-width:40px; min-height:40px; padding:0; background:var(--lavender); color:var(--purple-dark)}
.feedback-link:hover,.feedback-link[aria-current] {background:var(--purple-dark);color:#fff}
.feedback-panel {max-width:42rem}
.feedback-panel .field {margin:0}
.feedback-panel textarea {
  display:block; width:100%; margin-top:.35rem; min-height:8rem; padding:.65rem; resize:vertical;
  background:#fff; color:inherit; border:1px solid #b5a9c4; border-radius:8px; font:inherit;
}
.feedback-panel #feedback-audience {font-size:.9rem}
.feedback-status:empty {display:none}
.admin-feedback-list {list-style:none; padding:0}
.admin-tabs {margin-bottom:1rem}
.admin-feedback-list li {padding:.8rem 0; border-top:1px solid var(--line)}
.admin-feedback-list p {white-space:pre-wrap; overflow-wrap:anywhere; margin:.35rem 0 0}
.feedback-meta,.feedback-status-form {display:flex; align-items:center; flex-wrap:wrap; gap:.6rem}
.feedback-status-form {margin-top:.65rem}
.feedback-status-form select,.mixed-exam-date select {
  background:#fff; color:inherit; padding:.48rem .6rem; border:1px solid #b5a9c4; border-radius:8px; font:inherit;
}
.feedback-badge,.chat-admin {
  display:inline-block; padding:.18rem .5rem; border-radius:99px; background:var(--lavender); color:var(--purple-dark);
  font-size:.8rem; font-weight:700;
}
@media(max-width:1030px) { .top-tools {grid-column:2;grid-row:1;justify-self:end} }
.portal-error {color:#8b2435; font-weight:650}
.portal-privacy h2:not(:first-child) {margin-top:1.2rem}
.daily-header {align-items:flex-start}
.daily-clock {display:grid; gap:.6rem; min-width:13rem; padding:1rem; border-radius:12px; background:var(--lavender)}
.daily-clock strong {font-variant-numeric:tabular-nums; font-size:1.35rem}
.daily-clock .btn {min-height:2.7rem}
.daily-section-heading {margin-top:1.5rem}
.daily-section {margin-top:.85rem}
.daily-section p {max-width:72ch}
.daily-item {padding:.65rem 0; border-bottom:1px solid #e4ddeb}
.daily-item:last-child {border-bottom:0}
.daily-item summary {cursor:pointer; font-weight:650}
.daily-item summary small {margin-left:.35rem; font-size:.875rem}
.daily-item button[hidden] {display:none}
.daily-item .options {margin:.75rem 0}
.daily-item .answer-box {margin-top:.75rem}
.daily-history {max-height:34rem; overflow:auto}
@media(max-width:630px) {
  .portal-banner, .daily-header {display:grid; gap:.9rem}
  .daily-clock {min-width:0; width:100%}
  #account-link {padding-inline:.45rem}
  #account-link .ico {display:none}
  .daily-section-heading {align-items:baseline}
}

.chat-panel {max-width:54rem; display:grid; gap:1rem}
.chat-layout {display:grid; grid-template-columns:minmax(0,2.15fr) minmax(13rem,1fr); gap:1rem; align-items:start}
.chat-participants {min-width:0}
.chat-members {list-style:none; padding:0; margin:0; max-height:26rem; overflow:auto}
.chat-members li {display:flex; justify-content:space-between; align-items:center; gap:.45rem; padding:.5rem 0; border-top:1px solid var(--line)}
.chat-members li span:first-child {min-width:0; overflow-wrap:anywhere}
.chat-presence {display:inline-flex; align-items:center; flex-shrink:0; gap:.35rem; font-size:.85rem; color:var(--muted)}
.chat-presence::before {content:''; width:.55rem; height:.55rem; border-radius:50%; background:#9690a0}
.chat-presence.online {color:#1e634a}
.chat-presence.online::before {background:#287e5e}
.chat-presence-note {font-size:.84rem}
@media(max-width:740px) { .chat-layout {grid-template-columns:minmax(0,1fr)} .chat-participants {grid-row:1} .chat-members {max-height:13rem} }
.chat-log {height:clamp(14rem,45vh,26rem); overflow:auto; padding:1rem; border:1px solid var(--line); border-radius:10px; background:#faf9fb}
.chat-log:focus-visible {outline:2px solid var(--purple); outline-offset:2px}
.chat-message {width:fit-content; min-width:min(15rem,100%); max-width:min(36rem,94%); margin:0 0 .65rem; padding:.65rem .85rem; border-radius:10px; background:var(--white); border:1px solid var(--line)}
.chat-own {margin-left:auto; background:var(--lavender)}
.chat-meta {display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:.25rem 1rem; color:var(--muted); font-size:.875rem}
.chat-meta strong,.chat-message p {overflow-wrap:anywhere}
.chat-message p {white-space:pre-wrap; margin:.3rem 0 0}
.chat-name summary {cursor:pointer}
.chat-name-form,.chat-compose {display:flex; align-items:flex-end; flex-wrap:wrap; gap:.65rem}
.chat-name-form .field,.chat-compose .field {flex:1 1 14rem; margin:0}
.chat-name-form input,.chat-compose textarea {min-height:2.8rem; width:100%; padding:.55rem .7rem; margin-top:.3rem; border:1px solid #b5a9c4; border-radius:8px; background:var(--white); color:inherit; font:inherit}
.chat-compose textarea {resize:vertical}
#chat-status {margin:0}
#chat-status:empty {display:none}
@media(min-width:1031px) {
  .top-inner nav {flex-wrap:wrap; gap:4px}
  .top-inner nav a {padding-inline:8px}
}

.admin-table-wrap {overflow:auto}
.admin-table {width:100%; border-collapse:collapse; text-align:left}
.admin-table th,.admin-table td {padding:.65rem .75rem; border-bottom:1px solid var(--line)}
.admin-table td:first-child {overflow-wrap:anywhere}
.admin-table th {background:var(--lavender)}
.admin-approval-label {display:inline-block; padding:.25rem .55rem; border-radius:8px; font-size:.82rem; font-weight:700; white-space:nowrap}
.admin-approval-label.waiting {background:#fff1da; color:#6a3a06}
.admin-approval-label.approved {background:#def1e7; color:#14543d}
[data-approval-feedback]:empty {display:none}
.admin-profile {margin-block:1rem}
.admin-profile h2 {margin-top:.65rem}
.admin-profile .year-tabs {margin-bottom:0}
.admin-results details,.admin-empty-day {padding:.8rem 0; border-top:1px solid var(--line)}
.admin-results summary {cursor:pointer; color:var(--purple-dark); font-weight:700; overflow-wrap:anywhere}
.admin-test-answers li + li {margin-top:.55rem}
.admin-journal dt {font-weight:700}
.admin-journal dd {margin:.3rem 0 1rem; white-space:pre-wrap; overflow-wrap:anywhere}
.admin-table td:last-child,.admin-table td:nth-child(2) {white-space:nowrap}
.google-list { display: grid; gap: .55rem; padding-left: 1.3rem; }
.google-list li { overflow-wrap: anywhere; }
.google-list .btn { margin-block: .15rem; }
#google-services h3 { margin-top: 1.5rem; }
#drive-picker { margin: 3rem auto; padding-inline: 1rem; }

.book-reference { list-style: none; }
.book-reference summary { color: inherit; font-weight: 400; }
.book-reference summary::marker { color: var(--purple-dark); }
.book-reference summary:hover strong { color: var(--purple-dark); text-decoration: underline; }
.book-section { border-top: 1px solid var(--line); margin-block: .85rem; padding-top: .8rem; }
.book-section h3 { font-size: 1.05rem; }
.book-label { font-size: .86rem; font-weight: 750; }
.book-excerpt { margin: .7rem 0 0; padding: .85rem; border-radius: 10px; background: #f6f2fc; }
.book-excerpt blockquote { margin: .3rem 0; padding-inline-start: .65rem; border-inline-start: 2px solid #8869be; }
.book-excerpt cite { display: block; font-size: .82rem; color: var(--muted); }

.anatomy-navigation { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: 1rem; }
.anatomy-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.anatomy-stat-link { display: inline-flex; align-items: center; gap: .35rem; }
.anatomy-stat-link .ico { width: 1rem; height: 1rem; }
.anatomy-stat-link[aria-current="page"] { background: var(--lavender); color: var(--purple-dark); border-color: #d9c8f1; }
.anatomy-history-score { display: grid; justify-items: end; flex-shrink: 0; }
.anatomy-tips {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: .85rem;
  margin-bottom: 1rem; border-color: #e9d599; background: #fff9e9;
}
.anatomy-tip-icon {
  display: grid; place-items: center; width: 2.55rem; aspect-ratio: 1; border-radius: 11px;
  background: #f8e7af; color: #68480c;
}
.anatomy-tips h2 { margin-bottom: .3rem; }
.anatomy-tips p { margin: 0; }
.anatomy-tips-list { display: grid; gap: .55rem; padding: 0; margin: .7rem 0 0; list-style: none; }
.anatomy-tips-list li { display: flex; gap: .45rem .65rem; flex-wrap: wrap; align-items: center; }
.anatomy-tips-list .filter { color: var(--purple-dark); text-align: left; cursor: pointer; }
.anatomy-mode { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.anatomy-mode .filter { font: inherit; font-weight: 700; cursor: pointer; }
.anatomy-mode .filter[aria-pressed="true"] { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; }
.anatomy-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr); gap: 1rem; align-items: start; }
.anatomy-figure { margin: 0; min-width: 0; }
.anatomy-figure h2 { margin-bottom: .75rem; }
.anatomy-stage {
  position: relative; width: min(100%, calc(35rem * var(--figure-ratio))); margin-inline: auto;
  background: radial-gradient(ellipse at center, #fff 38%, #f4f2f8); border-radius: 14px;
}
.anatomy-drawing { display: block; width: 100%; height: auto; }
.anatomy-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.anatomy-lines g { color: #5b4b78; opacity: .63; }
.anatomy-lines .active { color: #503083; opacity: 1; }
.anatomy-lines line { stroke: currentColor; stroke-width: 1.6px; vector-effect: non-scaling-stroke; }
.anatomy-lines .active line { stroke-width: 2.5px; }
.anatomy-lines circle { fill: currentColor; stroke: #fff; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.anatomy-marker {
  position: absolute; left: var(--pin-x); top: var(--pin-y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: clamp(23px, 2.5vw, 32px); aspect-ratio: 1;
  padding: 0; border: 2px solid #fff; border-radius: 50%; background: #5c477c; color: #fff;
  font-family: inherit; font-size: .76rem; font-weight: 750; line-height: 1;
  cursor: pointer; box-shadow: 0 1px 5px #2a193a55;
}
.anatomy-marker[aria-pressed="true"] { z-index: 1; background: #4d2c88; outline: 2px solid #6d49ad; }
.anatomy-marker-name { display: none; position: absolute; top: 50%; left: calc(100% + 5px); transform: translateY(-50%); width: max-content; max-width: min(10rem, 42vw); padding: .37rem .5rem; border: 1px solid #d7c5ed; border-radius: 7px; color: #33214f; background: #fbf8ff; line-height: 1.25; text-align: left; box-shadow: 0 2px 5px #30204022; pointer-events: none; }
.anatomy-marker.marker-left .anatomy-marker-name { left: auto; right: calc(100% + 5px); }
.anatomy-marker[aria-pressed="true"] .anatomy-marker-name { display: block; }
.anatomy-target { background: #55308b; outline: 2px solid #7045af; font-size: 1rem; cursor: default; }
.anatomy-pin-correct {background:#17694b; outline:2px solid #17694b; z-index:1}
.anatomy-pin-wrong {background:#a3344a; outline:2px solid #a3344a}
.anatomy-locate-term {font-size:1.25rem; color:var(--purple-dark)}
.anatomy-marker:focus-visible, .anatomy-labels button:focus-visible { outline: 3px solid #31836c; outline-offset: 3px; }
.anatomy-caption { display: grid; gap: .15rem; margin-top: .75rem; font-size: .88rem; color: var(--muted); }
.anatomy-caption a { color: var(--purple-dark); }
.anatomy-extra-links {margin-top:.65rem; padding:.6rem .75rem; border-radius:10px; background:var(--lavender)}
.anatomy-extra-links summary {color:var(--purple-dark); font-weight:700; cursor:pointer}
.anatomy-extra-links ul {margin:.5rem 0 0; padding-left:1.35rem}
.anatomy-extra-links li + li {margin-top:.25rem}
.book-source-note {font-size:.88rem; color:var(--muted)}
.book-source-note a {color:var(--purple-dark)}
.anatomy-study { display: grid; gap: 1rem; }
.anatomy-definition { border-color: #c0e3d8; background: #e8f7f0; }
.anatomy-definition h2 { margin-bottom: .18rem; }
.anatomy-definition p { margin-top: .4rem; }
.anatomy-labels { display: grid; gap: .3rem; padding: 0; list-style: none; }
.anatomy-labels li { margin: 0; }
.anatomy-labels button {
  width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .65rem;
  padding: .48rem; border: 1px solid transparent; border-radius: 9px; background: #f8f7fa;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.anatomy-labels button[aria-pressed="true"] { border-color: #cbb5ed; background: #f0e8fc; }
.anatomy-number { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #6d5591; color: #fff; font-size: .76rem; font-weight: 750; }
.anatomy-question progress { width: 100%; height: .55rem; accent-color: var(--purple); }
.anatomy-progress-label { margin: 0; color: var(--muted); font-weight: 700; }
.anatomy-question h2 { margin-top: .65rem; }
.anatomy-options { display: grid; gap: .45rem; }
.anatomy-option {
  min-height: 2.8rem; padding: .58rem .7rem; border-radius: 9px; border: 1px solid #ddd3e8;
  color: inherit; background: #f8f5fb; text-align: left; font: inherit; font-weight: 650; cursor: pointer;
}
.anatomy-option:hover:enabled { background: #ebe0f8; border-color: #9c81c2; }
.anatomy-option:disabled { cursor: default; }
.anatomy-option small { display: block; font-weight: 600; }
.anatomy-feedback { border: 1px solid; border-radius: 10px; padding: .8rem; margin-block: .8rem; }
.anatomy-feedback p { margin: .25rem 0 0; }
.anatomy-options .correct, .anatomy-feedback.correct { background: #e5f4eb; border-color: #a8d3b8; color: #234e3b; }
.anatomy-options .incorrect, .anatomy-feedback.incorrect { background: #fbefed; border-color: #e6b5b0; color: #783435; }
.anatomy-score { font-size: 1.2rem; }
.anatomy-review { padding-left: 1.2rem; }
.anatomy-review span { display: block; }
.anatomy-topics { display: grid; gap: .52rem; }
.anatomy-topic { border: 1px solid #e4dbef; border-radius: 10px; background: #faf7fd; }
.anatomy-topic summary { padding: .68rem .8rem; font-weight: 750; cursor: pointer; }
.anatomy-topic[open] summary { margin-bottom: .4rem; border-bottom: 1px solid #e4dbef; }
.anatomy-topic p { margin: 0 .8rem .68rem; }
.anatomy-topic h3 { margin: .75rem .8rem .25rem; font-size: .94rem; }
.anatomy-topic-pins { display: flex; flex-wrap: wrap; gap: .35rem; margin: .7rem .8rem .8rem; }
.anatomy-topic-pins .filter { text-align: left; cursor: pointer; }

@media (max-width: 770px) {
  .anatomy-layout { grid-template-columns: minmax(0, 1fr); }
  .anatomy-practising .anatomy-study,.anatomy-locating .anatomy-study { grid-row: 1; }
  .anatomy-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anatomy-labels button { height: 100%; }
}
@media (max-width: 430px) {
  .anatomy-stats { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .anatomy-labels { grid-template-columns: minmax(0, 1fr); }
  .anatomy-stage { width: min(100%, calc(31rem * var(--figure-ratio))); }
  .anatomy-testing .anatomy-stage { width: min(100%, calc(23rem * var(--figure-ratio))); }
}
@media print {
  .anatomy-layout { display: block; }
  .anatomy-navigation { display: none; }
}

.journal-layout {display:grid; grid-template-columns:minmax(0,2.45fr) minmax(260px,1fr); gap:1.15rem; align-items:start}
.journal-editor,.journal-sidebar,.journal-field {min-width:0}
.journal-sidebar {display:grid; gap:1rem; align-content:start}
.journal-meta {display:grid; gap:.85rem; grid-template-columns:minmax(0,.63fr) minmax(0,1fr); align-items:end}
.journal-meta .journal-field:first-child {grid-column:1 / -1}
.journal-field {display:grid; gap:.4rem}
.journal-field-head {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem}
.journal-field label {font-weight:700; overflow-wrap:anywhere}
.journal-field input,.journal-field textarea {box-sizing:border-box; display:block; width:100%; min-width:0; padding:.75rem .85rem; border:1px solid #cfc3dd; border-radius:10px; background:#fff; color:inherit; font:inherit}
.journal-field input {min-height:2.9rem}
.journal-field textarea {min-height:9rem; resize:vertical; line-height:1.6}
.journal-field :is(textarea,input):focus {outline:2px solid #a388cc; outline-offset:1px}
.journal-section {min-width:0; margin:1.3rem 0; padding:clamp(.8rem,2vw,1.25rem); border:1px solid var(--line); border-radius:14px; background:#faf8fd}
.journal-section legend {max-width:100%; padding:0 .45rem; font-weight:750; overflow-wrap:anywhere}
.journal-section .journal-field + .journal-field {margin-top:1rem}
.journal-mic {display:inline-flex; align-items:center; gap:.35rem; min-height:2rem; padding:.3rem .55rem; border:1px solid #e0d4ed; border-radius:8px; color:#52318f; background:white; cursor:pointer; font:inherit; font-size:.8rem; font-weight:700; white-space:nowrap}
.journal-mic:hover,.journal-mic[aria-pressed=true] {background:#efdefa; border-color:#9e6ac3}
.journal-mic-note,.journal-speech-status {margin:.45rem 0 .8rem; font-size:.87rem}
.journal-speech-status:not(:empty) {padding:.45rem .65rem; background:#eaf5ef; border-radius:8px}
.journal-speech-status:empty {display:none}
.journal-actions {gap:.65rem}
.journal-feedback { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: #ebf7f2; }
.journal-feedback details p { white-space: pre-wrap; overflow-wrap: anywhere; }
.journal-feedback details + details { margin-top: .55rem; }
.journal-feedback .btn { margin-top: .75rem; }
.journal-list-head {display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; justify-content:space-between}
.journal-list-head h2 {margin:0}
.journal-entries {display:grid; gap:.55rem; padding:0; list-style:none; margin:.9rem 0 0}
.journal-entry {display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.6rem; align-items:center; padding:.7rem .75rem; border:1px solid var(--line); border-radius:10px; color:#4d2989; text-decoration:none; overflow-wrap:anywhere; white-space:normal; min-width:0}
.journal-entry:hover,.journal-entry[aria-current=page] {background:#f4eefb; border-color:#cbb6e0}
.journal-entry small,.journal-examples summary small {display:block; margin-top:.24rem; color:#635970; font-weight:500}
.journal-entry > span:last-child {font-size:1.4rem; line-height:1}
.journal-examples details {border-top:1px solid var(--line); padding:.7rem 0; overflow-wrap:anywhere}
.journal-examples summary {cursor:pointer; color:#4d2989}
.journal-examples dl {margin:.85rem 0 0}
.journal-examples dt {font-weight:700}
.journal-examples dd {margin:.2rem 0 .75rem}
.journal-status:empty { display: none; }
.journal-draft-bar {padding:.65rem .8rem; margin:.75rem 0; background:#f3eef9; border-radius:10px; font-size:.9rem}
.journal-draft-bar p {margin:0}
.journal-draft-bar button {margin-top:.45rem}
.journal-draft-bar [hidden] {display:none}
.exam-plan-days {list-style:none; padding:0; display:grid; gap:.65rem}
.exam-plan-days > li {display:grid; grid-template-columns:minmax(10rem,.65fr) minmax(0,1.35fr); align-items:start; gap:1rem; padding:.8rem .9rem; border:1px solid var(--line); border-radius:12px}
.exam-plan-days small {display:block; color:var(--muted); margin-top:.2rem}
.exam-plan-days ul {list-style:none; padding:0; margin:0}
.exam-plan-days ul li {display:flex; flex-wrap:wrap; justify-content:space-between; gap:.35rem; margin:.1rem 0}
.exam-plan-days ul li span {color:var(--muted); font-size:.85rem}
.admin-week-compare summary {cursor:pointer; color:#52318f; font-weight:700}
.admin-week-compare dl,.admin-week-compare dd {margin:.45rem 0 0}
.admin-week-compare dt {font-weight:700; margin-top:.5rem}
.admin-week-compare dd {font-size:.85rem}
.study-material-filters {display:grid; grid-template-columns:1.2fr repeat(2,minmax(0,1fr)); gap:.7rem}
.study-material-filters .field {max-width:none; margin:0; gap:.35rem}
.study-material-filters input,.study-material-filters select {width:100%; padding:.55rem; border:1px solid var(--line); border-radius:8px; background:#fff; color:inherit; font:inherit; font-weight:500}
.study-material-grid .tile {gap:.45rem; min-height:0}
.study-material-grid .tile[hidden] {display:none}
.study-material-grid h2,.book-training-rounds h2 {font-size:1.2rem; margin:.15rem 0}
.study-material-grid .btn {align-self:flex-start; margin-top:.45rem}
.book-training-rounds {margin-top:1rem}
.resume-list {margin-bottom:1rem}
.resume-status {min-height:1.1em; margin:0 0 .65rem; font-size:.88rem; overflow-wrap:anywhere}
.resume-status:empty {display:none}
.learning-tools-links {margin-bottom:1rem}
.bookmark-button[aria-pressed=true] {background:#f4ecfb; border-color:#ad91ca; color:#4d2989}
.bookmark-items {display:grid; gap:.65rem; list-style:none; padding:0}
.bookmark-items li {display:flex; align-items:flex-start; justify-content:space-between; gap:.75rem; flex-wrap:wrap}
.bookmark-items h2 {font-size:1.18rem; margin:.22rem 0 0; overflow-wrap:anywhere}
[data-bookmark-status]:empty {display:none}
.competence-row {display:grid; grid-template-columns:minmax(9rem,.65fr) minmax(0,1.35fr); align-items:start; gap:.7rem 1rem; border-top:1px solid var(--line); padding:.85rem 0}
.competence-row h3,.competence-row ul {margin:.2rem 0}
.competence-row small {display:block; margin-top:.35rem}
.competence-label {display:inline-block; border-radius:7px; padding:.15rem .45rem; font-size:.84rem; font-weight:700; color:#534868; background:#f1edf5}
.competence-label.done {color:#1b593c; background:#e4f3eb}
.competence-label.priority {color:#7a3442; background:#f9e9ec}
.competence-label.practice {color:#754716; background:#fff2db}
@media (max-width:640px) {.competence-row {grid-template-columns:minmax(0,1fr)}}
@media (max-width:650px) {
  .study-material-filters,.exam-plan-days > li {grid-template-columns:minmax(0,1fr)}
}
.daily-focus {border-inline-start:4px solid #7d55b4}
.admin-week-tools {display:flex; align-items:center; gap:.7rem; flex-wrap:wrap; margin:.85rem 0}
.admin-week-grid {min-width:910px}
.admin-week-grid th[scope=row] {background:#f9f7fc; min-width:130px}
.admin-week-grid small {display:block; color:var(--muted); font-weight:500; margin-top:.3rem}
.admin-week-grid td:last-child {white-space:normal; min-width:125px}
.admin-week-grid ul {margin:.1rem 0 .4rem; padding-inline-start:1rem}
.admin-week-status {display:inline-block; padding:.18rem .32rem; border-radius:5px; font-weight:700; font-size:.8rem; background:#f0ebf7; color:#59486c}
.admin-week-status.done {background:#e1f3e9; color:#17553a}
.admin-week-status.partial {background:#fff1d6; color:#774518}
.admin-week-status.missed {background:#fae8e9; color:#852a35}
.admin-week-status.future {background:transparent; color:inherit}

.exam-training-links {margin-bottom:1rem}
.mixed-exam-date select {display:block; max-width:100%; margin-top:.35rem}
.mixed-module-group {min-width:0; border:1px solid var(--line); border-radius:12px; margin:1rem 0; padding:.6rem .85rem}
.mixed-module-group legend {padding-inline:.3rem; font-weight:700}
.mixed-modules {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap:.4rem .65rem}
.mixed-modules label {display:flex; align-items:start; gap:.4rem; cursor:pointer}
.mixed-modules input {margin-top:.25rem; accent-color:var(--purple)}
.quiz-picture.anatomy-stage {width:min(100%,calc(20rem * var(--figure-ratio))); margin-block:.85rem}
.quiz-context,.care-situation {background:#f7f2fd}
.quiz-context {padding:.8rem; border-radius:10px}
.mixed-scores {margin-top:.5rem}
.care-stage textarea {display:block; width:100%; padding:.55rem; margin-top:.35rem; color:inherit; font:inherit; resize:vertical; border:1px solid #b5a9c4; border-radius:8px}
.care-results li {padding:.7rem .35rem; border-bottom:1px solid var(--line)}
.care-results p {white-space:pre-wrap; overflow-wrap:anywhere}
.care-source {font-size:.88rem}
.case-update {margin-top:.75rem; padding:.65rem 0 0 .85rem; border-left:3px solid var(--line)}
.case-update h3 {font-size:1rem; margin:0}
.case-update p {margin:.25rem 0}
.personal-exam-form > .field,.learning-module {max-width:30rem}
.personal-exams .actions {margin:0}
.learning-checks .btn {flex-shrink:0}
.goal-repeat {background:#fff1da; color:#633800; border-radius:8px; padding:.16rem .38rem}
.feedback-status-form .feedback-reply {flex:1 0 100%}
.feedback-reply p,.admin-feedback-list > li > p {white-space:pre-wrap; overflow-wrap:anywhere}
.admin-tabs [hidden] {display:none}

.support-card {
  display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 1.1rem;
  padding: clamp(1rem, 3vw, 2rem); border: 1px solid #e6cc9a; border-radius: 22px;
  background: #fff0d1; color: #382442;
}
.support-icon { display: grid; place-items: center; width: 3.8rem; height: 3.8rem; border-radius: 18px; background: #624091; color: #fff3da; }
.support-icon svg { width: 2.55rem; height: 2.55rem; }
.support-card h2 { margin: 0; }
.support-card p { margin-top: .3rem; }
.support-payment { display: grid; gap: .4rem; }
.support-payment strong { white-space: nowrap; }
.support-status:empty { display: none; }
@media (max-width: 770px) {
  .journal-layout { grid-template-columns: minmax(0, 1fr); }
  .support-card { grid-template-columns: auto minmax(0, 1fr); }
  .support-payment { grid-column: 2; justify-items: start; }
}
@media (max-width: 410px) {
  .journal-meta { grid-template-columns: minmax(0, 1fr); }
  .support-icon { width: 3.2rem; height: 3.2rem; }
}

#nav .learner-dashboard-nav {color:var(--purple-dark); background:#f7f1ff}
#nav .learner-dashboard-nav:is(:hover,[aria-current]) {background:#e9ddfa}
.learner-dashboard {display:grid; gap:1rem}
.dashboard-next {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.8rem 1.3rem; background:#e7f4ee; border-color:#cfe8dd}
.dashboard-next h2 {margin-bottom:.3rem; font-size:1.18rem}
.dashboard-next strong {font-size:1.12rem; overflow-wrap:anywhere}
.dashboard-next [data-dashboard-next-action]:empty {display:none}
.dashboard-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:1rem}
.dashboard-card {min-width:0; overflow-wrap:anywhere}
.dashboard-card h2 {display:flex; align-items:center; gap:.6rem; margin-bottom:.85rem; font-size:1.5rem}
.dashboard-card h2 .ico {color:var(--purple)}
.dashboard-card h3 {font-size:1rem; margin:.75rem 0 .4rem}
.dashboard-card .text-link,.dashboard-next .text-link {white-space:normal}
.dashboard-card > .text-link,.dashboard-block > .text-link {display:inline-block; margin-top:.55rem}
.dashboard-card .meter {margin:.4rem 0 .8rem}
.dashboard-block {border-top:1px solid var(--line); padding-top:.7rem; margin-top:.9rem}
.dashboard-block h3:first-child {margin-top:0}
.dashboard-rows {list-style:none; padding:0; margin:.3rem 0}
.dashboard-rows > li {display:flex; align-items:baseline; justify-content:space-between; gap:.25rem .7rem; padding:.36rem 0; border-bottom:1px solid var(--line)}
.dashboard-rows > li > div,.dashboard-disclosure > summary > span:first-of-type {min-width:0}
.dashboard-rows small,.dashboard-disclosure small {display:block; font-size:.82rem}
.dashboard-answers > li {display:block; padding:.5rem .3rem}
.dashboard-disclosure {border-bottom:1px solid var(--line); padding:.37rem 0}
.dashboard-disclosure > summary {display:flex; align-items:baseline; gap:.55rem; cursor:pointer}
.dashboard-disclosure > summary::before {content:'▸'; color:var(--purple); flex-shrink:0}
.dashboard-disclosure[open] > summary::before {content:'▾'}
.dashboard-disclosure > summary .dashboard-value,.dashboard-grade-empty > span {margin-left:auto; white-space:nowrap}
.dashboard-disclosure > .dashboard-rows,.dashboard-disclosure > p {margin-left:1rem}
.dashboard-grade-empty {display:flex; align-items:baseline; gap:.55rem; padding-left:1.04rem}
.dashboard-value {color:var(--purple-dark); font-weight:800; font-variant-numeric:tabular-nums}
.dashboard-status {font-size:.8rem; font-weight:700; color:#514268; background:#f3ecfa; border-radius:8px; padding:.12rem .45rem; white-space:nowrap}
.dashboard-status.done {color:#14543d; background:#def1e7}
.dashboard-status.missed {color:#7b390f; background:#fbeade}
.dashboard-links {display:flex; flex-wrap:wrap; gap:.4rem 1rem; margin-top:.8rem}
@media (max-width:720px) {.dashboard-grid {grid-template-columns:minmax(0,1fr)}}
