/* Latest owner screenshot: compact four-shortcut clinical layout. */
.home-view { background:#fff; }
.home-view > .topbar { display:none; }
.home-view > main { display:block;max-width:1040px;padding:0 28px 28px; }
.reference-home { color:#142820;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
.reference-header { position:relative;display:flex;align-items:flex-start;gap:4px;padding:12px 6px 43px;min-height:137px;isolation:isolate; }
.reference-header::before { content:"";position:absolute;inset:0 -28px;z-index:-1;background:url('/illustrations/header-leaf.webp') center/100% 100% no-repeat; }
.reference-course { flex:1;min-width:0;display:flex;align-items:center;gap:8px;border:0;background:none;padding:8px 0 0;text-align:left;color:#064635; }
.reference-course>span:last-child { min-width:0; }
.reference-course h1 { font-family:inherit;font-size:17px;line-height:1.15;font-weight:700;letter-spacing:-.3px;margin:0 0 5px; }
.reference-course small { display:block;font-size:10px;line-height:1.4;color:#62766c;white-space:nowrap; }
.reference-profession { flex:0 0 52px; }
.reference-profession img { display:block;width:52px;height:60px;object-fit:contain; }
.reference-header-actions { display:flex;gap:0;flex-shrink:0; }
.reference-icon { display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;padding:9px;background:radial-gradient(circle,#f4fcf8ed 0 19px,transparent 19px);color:#064635; }
.reference-icon svg { width:25px;height:25px; }
.reference-motto { position:absolute;right:10px;bottom:10px;font-size:10px;line-height:1.1;font-style:italic;color:white;text-align:right; }
.reference-content { position:relative;margin-top:-5px;border-radius:16px 16px 0 0;padding-top:8px;background:white; }
.reference-continue { display:flex;align-items:flex-start;gap:10px;padding:11px;border-radius:12px;background:#e2f5ee; }
.continue-icon { display:grid;place-items:center;flex:0 0 43px;height:43px;border-radius:50%;background:#c5ebdc;color:#006044; }
.continue-icon svg { width:29px;height:29px; }
.continue-copy { flex:1;min-width:0; }
.continue-copy>small { font-size:11px;color:#064635; }
.continue-copy h2 { font-family:inherit;font-size:14px;line-height:1.25;letter-spacing:-.2px;margin:3px 0 5px;color:#142820; }
.continue-copy p { font-size:10px;line-height:1.4;margin:0;color:#65776b; }
.continue-bottom { display:flex;align-items:center;gap:9px;margin-top:7px; }
.continue-progress { flex:1;min-width:0;display:flex;align-items:center;gap:5px; }
.continue-progress .home-meter { flex:1;height:6px;background:#c5ebdc;border-radius:5px;overflow:hidden; }
.home-meter>span { display:block;height:100%;background:#006044; }
.continue-progress small { font-size:10px;color:#65776b; }
.continue-bottom .primary { min-height:34px;padding:7px 15px;border-radius:10px;background:#006044;color:white;font-size:12px;gap:6px; }
.continue-bottom .primary svg { width:13px;height:13px; }
.reference-shortcuts { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:11px 0; }
.reference-shortcut { position:relative;display:block;min-height:108px;padding:10px 9px;border-radius:11px;color:#142820; }
.shortcut-notes { background:#e2f5ee;--accent:#006044;--bubble:#c5ebdc; }
.shortcut-mocks { background:#e6effc;--accent:#2f6db5;--bubble:#ccddf6; }
.shortcut-saved { background:#fdf3e1;--accent:#a8721a;--bubble:#f6e2b8; }
.shortcut-progress { background:#f0ebfb;--accent:#6b4fb8;--bubble:#dcd3f5; }
.shortcut-icon { display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--bubble);color:var(--accent);margin-bottom:6px; }
.shortcut-icon svg { width:25px;height:25px; }
.reference-shortcut strong { display:block;font-family:inherit;font-size:12px;line-height:1.2;margin-bottom:4px;white-space:nowrap; }
.reference-shortcut small { display:block;font-size:10px;line-height:1.3;color:#65776b; }
.reference-shortcut>svg { position:absolute;right:5px;bottom:10px;width:14px;height:14px;color:var(--accent); }
.reference-topics .section-heading { display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;gap:5px;min-height:36px; }
.reference-topics .section-heading h2 { font-family:inherit;font-size:18px;line-height:1.3;letter-spacing:-.4px;margin:0; }
.reference-topics .section-heading a { display:flex;align-items:center;gap:3px;font-size:11px;font-weight:600;color:#064635;min-height:36px; }
.reference-topics .section-heading svg { width:14px;height:14px; }
.reference-topic-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
.reference-topic { position:relative;display:block;min-height:88px;border:0;border-radius:11px;text-align:left;padding:10px 8px 26px 76px;overflow:hidden;color:#142820; }
.tone-0 { background:#e6f4ec;--bubble:#cdebdb; }
.tone-1 { background:#fbeaed;--bubble:#f6d0d7; }
.tone-2 { background:#e6effc;--bubble:#ccddf6; }
.tone-3 { background:#fdf3e1;--bubble:#f6e2b8; }
.tone-4 { background:#f0ebfb;--bubble:#dcd3f5; }
.tone-5 { background:#e2f5ee;--bubble:#c5ebdc; }
.reference-topic-copy strong { display:block;font-family:inherit;font-size:11px;line-height:14px;letter-spacing:-.1px; }
.reference-topic-copy small { display:block;font-size:9px;line-height:12px;margin-top:5px;color:#65776b; }
.topic-open { position:absolute;bottom:6px;right:7px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--bubble);color:#064635; }
.topic-open svg { width:13px;height:13px; }
.raster-art { display:block;position:relative;overflow:hidden;width:56px;height:56px;flex:0 0 56px; }
.raster-cell { position:absolute;overflow:hidden; }
.raster-cell>img { position:absolute;width:200%;height:300%;max-width:none;object-fit:fill; }
.reference-topic>.raster-art { position:absolute;left:0;top:50%;margin-top:-35px;width:78px;height:78px; }
.profession>.raster-art { width:56px;height:56px;flex-basis:56px; }
.note-card>.raster-art { width:58px;height:58px;flex-basis:58px; }
.topic-card>span.raster-art { width:54px;height:54px;flex:0 0 54px; }
.reference-tip { display:flex;align-items:center;gap:10px;padding:12px;margin-top:12px;border-radius:12px;background:#e2f5ee;color:#064635; }
.tip-symbol { flex-shrink:0;color:#c89c10; }
.tip-symbol svg { width:35px;height:35px; }
.reference-tip>span:nth-child(2) { flex:1; }
.reference-tip strong { display:block;font-size:12px;margin-bottom:3px; }
.reference-tip small { display:block;font-size:11px;line-height:15px;color:#65776b; }
.reference-tip>svg { width:14px;height:14px; }
.reference-home .home-offline { font-size:11px;margin:4px 0;min-height:40px; }
.mobile-nav nav { grid-template-columns:repeat(5,minmax(0,1fr));gap:0; }
.mobile-nav .nav-item.active { position:relative;background:none;border-radius:0;color:#006044; }
.mobile-nav .nav-item.active::before { content:"";position:absolute;top:-6px;width:38px;height:3px;border-radius:4px;background:#006044; }
.workspace:not(.home-view) .page-title h1 { font-size:24px;color:#064635;letter-spacing:-.5px; }
.workspace:not(.home-view) .page-title p { font-size:14px;line-height:1.5;max-width:520px; }
.workspace:not(.home-view) main { max-width:1080px; }
.note-card { border-radius:13px;padding:13px;gap:12px;align-items:center; }
.note-card h2 { font-size:15px;line-height:1.35; }
.note-card .bookmark { align-self:center; }
.practice-banner { background:#e2f5ee!important;border:0;position:relative;overflow:hidden;padding:17px; }
.practice-banner::after { content:"";position:absolute;top:8px;right:6px;width:72px;height:66px;background:url('/illustrations/mock-paper-clock.webp') center/contain no-repeat;pointer-events:none; }
.practice-banner h2,.practice-banner p { padding-right:65px; }
.practice-banner h2 { color:#064635;font-size:17px; }
.practice-banner p { color:#45675e;font-size:13px; }
.practice-banner>svg { color:#006044; }
.practice-banner .primary { position:relative;z-index:1;background:#006044;color:white;min-height:44px; }
.paper-card { background:#edf5ff;border-radius:14px;padding:18px; }
.paper-card h2 { font-size:17px;color:#143f62; }
.stat-row>div { border-radius:13px; }
.stat-row>div:nth-child(1) { background:#e7f7ef; }
.stat-row>div:nth-child(2) { background:#edf5ff; }
.stat-row>div:nth-child(3) { background:#f3edfc; }
.activity-chart span { background:#14835c; }
.settings-list { border:1px solid #e0eae4;border-radius:14px; }
.settings-list>button,.settings-list>a { min-height:70px; }
.quiz-top { color:#345a49; }
.option.chosen { border-color:#006044; }
.option.correct,.feedback { background:#e7f7ef; }
.feedback.incorrect { background:#fff2ed; }
.reader .note-body h2 { color:#064635; }
@media(max-width:760px) {
 .home-view>main { padding:0 12px 18px; }
 .reference-header { padding:12px 4px 39px;min-height:132px; }
 .reference-header::before { left:-12px;right:-12px; }
 .reference-course h1 { font-size:15px; }
 .reference-course small { font-size:9px; }
 .reference-header-actions { gap:0; }
 .reference-shortcut { min-height:102px;padding-left:8px;padding-right:7px; }
 .mobile-nav { padding:7px 6px max(9px,env(safe-area-inset-bottom)); }
 .mobile-nav .nav-item { min-height:47px;font-size:10px; }
 .workspace:not(.home-view) main { padding-left:16px;padding-right:16px; }
 .topic-card,.topic-card:first-child,.topic-card:last-child { padding:12px;min-height:80px;gap:12px;border-radius:13px; }
 .topic-card strong { font-size:14px;line-height:1.3; }
}
@media(min-width:761px) {
 .reference-header { max-width:720px; }
 .reference-content { max-width:720px; }
 .reference-topic-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .reference-topic { min-height:100px; }
 .reference-shortcuts { max-width:560px; }
}
@media(max-width:370px) {
 .reference-profession { flex-basis:40px; }
 .reference-profession svg { width:40px;height:48px; }
 .reference-course { gap:5px; }
 .reference-course h1 { font-size:14px; }
 .reference-course small { font-size:8px; }
 .reference-icon { width:32px;height:32px; }
 .reference-shortcut strong { font-size:11px; }
 .reference-topic { padding-left:66px; }
 .reference-topic>.raster-art { width:68px;height:68px;margin-top:-30px; }
}
@media(prefers-contrast:more) { .reference-shortcut,.reference-topic,.reference-continue { border:1px solid #6b8b7d; } }

/* Profile and shared readable labels. */
.reference-topic-copy strong,.reference-shortcut strong,.continue-copy h2,.note-card h2,.topic-card strong { color:#111;font-weight:700; }
.profile-screen { max-width:560px; }
.profile-screen .page-title { margin-bottom:22px; }
.profile-screen .page-title h1 { color:#111!important; }
.profile-person { display:flex;align-items:center;gap:15px;padding-bottom:22px; }
.profile-avatar { display:grid;place-items:center;width:66px;height:66px;flex:0 0 66px;border-radius:50%;background:#eaf3ec;color:#006044; }
.profile-avatar svg { width:38px;height:38px; }
.profile-person h2 { font-size:21px;line-height:26px;color:#111;margin:0 0 5px; }
.profile-person p { font-size:13px;margin:0 0 5px;color:#65776b; }
.profile-person small { font-size:11px;color:#65776b; }
.profile-course { border:1px solid #dfe7e0;border-radius:18px;background:#fff;padding:17px;position:relative;overflow:hidden; }
.profile-course::before { content:"";display:block;height:7px;background:url('/illustrations/header-leaf.webp') center bottom/100% auto;margin:-17px -17px 17px; }
.profile-course-label { display:block;font-size:11px;font-weight:600;color:#65776b;margin-bottom:13px; }
.profile-course-identity { display:flex;align-items:center;gap:12px;margin-bottom:13px; }
.profile-course-icon { display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:12px;background:#eaf3ec;color:#006044; }
.profile-course-identity h2 { font-size:17px;line-height:22px;font-weight:700;color:#111;margin:0 0 4px; }
.profile-course-identity p { margin:0;font-size:12px;color:#65776b; }
.profile-switch { display:flex;align-items:center;justify-content:space-between;min-height:44px;width:100%;border:0;border-radius:10px;background:#eaf3ec;color:#006044;padding:10px 13px;font-weight:700;font-size:13px; }
.profile-switch svg { width:18px;height:18px; }
.profile-stats { display:flex;gap:10px;margin:12px 0 25px; }
.profile-stats a { flex:1;display:flex;align-items:center;gap:10px;border:1px solid #dfe7e0;border-radius:13px;padding:14px;background:#fff; }
.profile-stats strong { font-size:24px;color:#111; }
.profile-stats span { font-size:12px;color:#65776b; }
.profile-section-title { font-size:15px;font-weight:700;margin:0 0 9px;color:#111; }
.profile-menu,.profile-information { border:1px solid #dfe7e0;border-radius:15px;background:white;overflow:hidden; }
.profile-menu>a,.profile-menu>button { display:flex;align-items:center;gap:12px;padding:13px 12px;width:100%;text-align:left;border:0;background:#fff;color:#111;min-height:72px; }
.profile-menu>*+*,.profile-information>*+* { border-top:1px solid #edf1ee; }
.profile-row-icon { display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:11px;background:#eaf3ec;color:#006044; }
.profile-row-icon svg { width:22px;height:22px; }
.profile-menu>*>span:nth-child(2) { flex:1; }
.profile-menu strong { display:block;font-size:15px;font-weight:700; }
.profile-menu small { display:block;font-size:12px;line-height:17px;color:#65776b;margin-top:4px; }
.profile-menu>*>svg { width:16px;height:16px;color:#89988f; }
.profile-information { margin-top:20px; }
.profile-information summary { display:flex;align-items:center;gap:12px;min-height:60px;padding:12px 16px;font-size:14px;font-weight:600;cursor:pointer;list-style:none; }
.profile-information summary::-webkit-details-marker { display:none; }
.profile-information summary>span { flex:1; }
.profile-information summary>svg { width:20px;height:20px;color:#006044; }
.profile-information summary>svg:last-child { width:14px;height:14px;color:#89988f; }
.profile-information details[open] summary>svg:last-child { transform:rotate(90deg); }
.profile-information p { padding:0 16px 16px;margin:0;font-size:13px;line-height:20px; }

.question-meta{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.question-meta .tag{white-space:normal;text-transform:none}.key-points{margin-top:16px}.key-points h3{font-size:15px;font-weight:700;margin:0 0 8px}.key-points ul{padding-left:20px;margin:0;line-height:1.6}.key-points li+li{margin-top:6px}
