:root{scrollbar-gutter:stable;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#24392f;background:#f5f4ee;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--accent: #235a49;--accent-soft: #e4ece5;--muted: #65736b;--line: #d3dcd5}*{box-sizing:border-box}body{margin:0;min-width:280px}body[data-course=pharmacology]{--accent: #67478b;--accent-soft: #ece6f3;--muted: #796a88;--line: #ded5e6;color:#352741;background:#f6f3f8}body[data-course=integrated-care]{background:#f4f6ef}button{font:inherit;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button:disabled{cursor:wait;opacity:.65}button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button,a{touch-action:manipulation}button{transition:background .15s ease,transform .15s ease}button:active:not(:disabled){transform:scale(.98)}button svg{width:22px;height:22px}[hidden]{display:none!important}main{max-width:760px;margin:auto}#error{position:relative;margin:12px;padding:18px;background:#fff0e8;color:#7b3325;border-radius:12px;z-index:2;line-height:1.5}.home{min-height:100svh;max-width:440px;margin:auto;padding:14vh 28px 30px;display:flex;flex-direction:column}.home-brand{font-family:Georgia,serif;text-decoration:none;font-size:30px;margin-bottom:38px;color:var(--accent)}.home h1{font:400 clamp(32px,6vw,42px)/1.15 Georgia,serif;letter-spacing:-.02em;margin:0 0 32px;max-width:330px}.time-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.time-options button{min-height:62px;border:1px solid var(--line);background:#fff9;border-radius:15px;font-size:18px}.time-options button[data-minutes=null]{grid-column:1/-1;color:#fff;background:var(--accent);border-color:var(--accent)}.home-tools{margin-top:auto;padding-top:50px;display:flex;gap:20px}.text-button{background:transparent;border:0;min-height:44px;padding:0;color:var(--muted);font-size:14px}.study{min-height:100svh;display:flex;flex-direction:column;position:relative}.study:before{content:"";position:fixed;top:0;left:0;right:0;height:4px;background:var(--accent);opacity:.7}.study-tools{display:flex;justify-content:space-between;align-items:center;padding:max(12px,env(safe-area-inset-top)) 14px 8px;min-height:82px}.icon-button{display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:50%;background:transparent;color:var(--muted)}.icon-button:hover{background:var(--accent-soft)}.knowledge-shape{width:120px;height:68px;color:var(--accent);overflow:visible;transition:opacity .4s ease}.knowledge-shape.resting{opacity:.2}.knowledge-shape.stepping{opacity:.65}.knowledge-shape circle{fill:currentColor;transition:r .35s ease}.knowledge-shape .active{stroke:currentColor;stroke-width:5px;stroke-opacity:.13}.card{backface-visibility:hidden;transform-origin:center;flex:1;width:calc(100% - 32px);margin:0 16px 10px;padding:24px 20px 30px;border-radius:20px;background:#ffffffb3;border:1px solid var(--line)}.question-prompt{font:400 clamp(24px,4.5vw,32px)/1.3 Georgia,serif;letter-spacing:-.015em;margin:0;max-width:640px;text-wrap:pretty}.learning-visual{margin:26px 0 0;display:flex;justify-content:center}.learning-visual img{max-width:100%;width:auto;max-height:290px;height:auto;object-fit:contain;border-radius:10px}.answer{margin:28px 0 0;border-top:1px solid var(--line);padding-top:16px;font-size:22px;line-height:1.5;outline:none}.answer p{margin:0 0 14px}.answer p:last-child{margin-bottom:0}.answer-controls{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;background:linear-gradient(transparent,#f4f6ef 15px);padding:22px 20px max(20px,env(safe-area-inset-bottom))}body[data-course=pharmacology] .answer-controls{background:linear-gradient(transparent,#f6f3f8 15px)}.answer-controls button{min-height:56px;border-radius:14px;padding:14px 8px;border:1px solid var(--line);background:#fff;font-size:16px;font-weight:500}.answer-controls .primary{background:var(--accent);border-color:var(--accent);color:#fff}.answer-controls .secondary{background:var(--accent-soft);border-color:transparent}.answer-controls .next{grid-column:1/-1}.rating-controls{grid-template-columns:repeat(4,1fr);gap:8px}.rating-controls button{background:var(--accent-soft);border:0;min-height:62px;font-size:15px}.rating-controls .wrong{background:#f1e7e2;color:#7b4a40}dialog{width:min(90vw,560px);max-height:85svh;border:1px solid var(--line);border-radius:20px;padding:34px 26px;background:#faf9f5;color:#24392f;line-height:1.55}dialog::backdrop{background:#1d302b55;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}dialog .close{position:sticky;top:0;float:right;margin:-20px -12px 0 8px}dialog h2{margin:0 30px 20px 0;font:400 28px/1.2 Georgia,serif}dialog h3{font-size:17px;margin-bottom:4px}.source{border-top:1px solid var(--line);padding-top:12px;margin-top:20px}.source p{color:var(--muted);margin-top:0;font-size:14px}.source blockquote{margin:12px 0;font-size:16px}@media(min-width:760px){.study{padding:0 32px}.study-tools{padding-top:20px}.card{padding-top:38px}.learning-visual img{max-height:350px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}@media(min-width:1024px){.home-brand{position:fixed;top:32px;left:32px;margin:0}}.choice-list{display:grid;gap:10px;margin-top:28px}.choice-list button{background:#fff;border:1px solid var(--line);border-radius:14px;text-align:left;padding:16px 18px;min-height:56px;font-size:19px}.choice-list .selected-wrong{border-color:#ad5d4a;background:#f8eae5}.choice-list .selected-correct{border-color:#235a49;background:#e4ece5}.choice-result{margin:22px 0 0;font-size:22px}.response-input{width:100%;min-height:190px;resize:vertical;margin-top:24px;padding:16px;border:1px solid var(--line);border-radius:12px;font:inherit;font-size:20px;line-height:1.5;background:#fff;color:inherit}.dictation-help{display:block;margin:12px 0 0 auto;border:0;background:transparent;padding:8px;font-size:16px;color:var(--muted)}.model-points{padding-left:24px}.model-points li{margin-bottom:18px}.open-model .answer-controls{position:static}.answer h2{font-size:18px;font-weight:500}.raas-diagram{width:100%;max-height:330px;margin-top:28px}textarea:focus{outline:2px solid var(--accent);outline-offset:2px}.app-version{display:block;margin-top:12px;color:var(--muted);font-size:12px}.open-introduction{color:var(--muted);font-size:1rem;line-height:1.5}
