@import"https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&family=Zen+Old+Mincho:wght@600;700&display=swap";.mri-catalog .domain-body>a .lesson-sequence{align-self:flex-start;color:#315f83;font-size:12px;font-weight:800;letter-spacing:.04em}.feedback-card label,.lesson-rating label{display:block;margin:12px 0 5px;font-size:13px;font-weight:700}.feedback-card select,.feedback-card textarea,.lesson-rating textarea{display:block;width:100%;padding:11px;border:1px solid #b8c7d3;border-radius:10px;font:inherit;resize:vertical}.feedback-card button:disabled,.rating-submit:disabled{opacity:.45}.feedback-privacy{font-size:12px!important;color:#657586!important;line-height:1.6}.lesson-rating{margin:30px 0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:18px}.lesson-rating h2{font-size:18px;margin:0 0 6px}.lesson-rating>p{font-size:13px;color:var(--muted);line-height:1.6}.rating-options{display:flex;gap:9px}.rating-options button{min-width:44px;min-height:44px;border:1px solid #b8c7d3;border-radius:10px;background:#fff;color:var(--navy);font-weight:800}.rating-options button.selected{background:var(--navy);border-color:var(--navy);color:#fff}.rating-submit{margin-top:12px;padding:12px 20px;border:0;border-radius:10px;background:var(--navy);color:#fff;font-weight:700}.lesson-rating .rating-submit-hint{margin:12px 0 0;color:#35536b;font-size:13px;line-height:1.5}.feedback-card .feedback-checkbox{display:flex;align-items:center;gap:8px;margin-top:16px}.feedback-card .feedback-checkbox input{width:18px;height:18px;flex:none}.feedback-card input[type=email]{display:block;width:100%;padding:11px;border:1px solid #b8c7d3;border-radius:10px;font:inherit}.feedback-card input[aria-invalid=true]{border-color:#b84a42}.feedback-privacy a{margin-left:4px}.mri-catalog .domain-card{scroll-margin-top:90px}.mri-catalog .domain-body>a svg{flex:none;width:20px;height:20px;color:#7c8b98}.mri-catalog .domain-body>a svg[aria-label=解放済み]{color:#19735a}.mri-catalog .domain-body>a .lesson-unlocked-label{color:#19735a;font-weight:800}.access-icon-placeholder{width:20px;height:20px}.access-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;padding:16px;border-radius:16px;background:#eef3f8;border:1px solid #cfdae4}.access-summary.is-unlocked{background:#e9f6ef;border-color:#b9dfcc}.access-summary>svg{color:#667d90;flex:none}.access-summary.is-unlocked>svg{color:#19735a}.access-summary>div{display:flex;flex:1;min-width:180px;flex-direction:column;gap:3px}.access-summary strong{font-size:15px}.access-summary span{font-size:12px;color:#526879}.access-summary a{display:inline-flex;align-items:center;gap:4px;color:var(--navy);font-size:12px;font-weight:800}.mri-group-nav{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.mri-group-nav a{padding:8px 11px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:700;color:var(--navy)}.mri-group-nav span{color:var(--muted);margin-left:3px}.learning-status-guide{margin:18px 0 8px;color:var(--muted);font-size:12px;line-height:1.6}.mri-catalog .domain-body>a>div{min-width:0}.mri-catalog .domain-body>a .lesson-status-line{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;margin-top:3px}.mri-catalog .lesson-status-line span{display:inline-flex;align-items:center;padding:3px 7px;border-radius:99px;font-size:11px;line-height:1.4;font-weight:700}.mri-catalog .learning-badge.new{background:#eef1f4;color:#52677a}.mri-catalog .learning-badge.read{background:#eaf1fb;color:#285f91}.mri-catalog .learning-badge.done{background:#e5f4eb;color:#19735a}.mri-catalog .lesson-status-line .review-badge{background:#fff0d5;color:#805600}.mri-catalog .lesson-status-line .access-badge{background:transparent;color:#657586;border:1px solid #dce4ea}.mri-catalog .lesson-row.done svg{color:#19735a}.mri-catalog .lesson-row.read svg{color:#285f91}.mri-catalog .lesson-row.review-due svg{color:#a77300}.lesson-read-button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;margin:24px 0 12px;padding:10px 14px;border:1px solid #7ca6ca;border-radius:12px;background:#f0f7fc;color:#164e7a;font-weight:800;cursor:pointer}.lesson-read-confirmation{display:flex;align-items:center;gap:8px;margin:24px 0 12px;color:#19735a;font-size:14px;font-weight:700;line-height:1.6}.lesson-read-confirmation svg{flex:none}.lesson-search{margin:20px 0 24px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px}.lesson-search label{display:block;font-size:16px;font-weight:800;color:var(--navy)}.lesson-search p{margin:5px 0 13px;color:var(--muted);font-size:12px;line-height:1.6}.lesson-search-field{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 12px;border:1px solid #b8c7d3;border-radius:12px}.lesson-search-field:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #2b65971c}.lesson-search-field>svg{flex:none;color:var(--blue)}.lesson-search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#183047;font-size:16px}.lesson-search-results h2{display:flex;align-items:baseline;gap:8px;margin:0 0 12px;font-size:18px}.lesson-search-results h2 span{font-size:13px;color:var(--muted)}.lesson-search-list{display:grid;gap:10px}.lesson-search-result{display:flex;flex-direction:column;gap:6px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px}.lesson-search-result strong{font-size:16px;line-height:1.5}.lesson-search-meta{font-size:12px;color:var(--blue);font-weight:800}.lesson-search-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:13px;line-height:1.7;color:var(--muted)}.lesson-search-open{display:inline-flex;align-items:center;gap:3px;color:var(--blue);font-size:12px;font-weight:800}.lesson-search-empty{padding:24px;background:#fff;border:1px dashed var(--line);border-radius:14px;color:var(--muted);font-size:13px;line-height:1.7}.review-practice-card{display:grid;grid-template-columns:auto 1fr;gap:14px;margin:0 0 28px;padding:20px;background:#edf5fc;border:1px solid #c9dfef;border-radius:18px}.review-practice-card>svg{color:var(--blue)}.review-practice-card h2{font-size:19px;line-height:1.45;margin:0 0 8px}.review-practice-card p:not(.eyebrow){margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.7}.review-practice-card .primary-button,.review-practice-card .secondary-button{max-width:320px}.review-section-title{display:flex;align-items:center;justify-content:space-between;font-size:19px;margin:0 0 14px}.review-section-title span{font-size:13px;color:var(--muted)}.practice-source{color:var(--blue);font-size:13px;font-weight:700;margin:12px 0}.practice-page .progress-bar{margin-bottom:14px}.review-lessons{margin:0 0 32px}.review-section-copy{margin:-4px 0 16px;color:var(--muted);font-size:13px;line-height:1.7}.review-lesson-list{display:grid;gap:10px}.review-lesson-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px}.review-lesson-card>div{display:flex;flex-direction:column;gap:5px;min-width:0}.review-lesson-card small{color:var(--blue);font-weight:700}.review-lesson-card strong{font-size:14px;line-height:1.5}.review-lesson-card a{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;color:var(--blue);font-size:13px;font-weight:800}.review-lesson-locked{flex-shrink:0;color:var(--muted);font-size:12px}@media(max-width:420px){.review-lesson-card{align-items:flex-start;flex-direction:column;gap:10px}}.quick-grid>a:last-child:nth-child(odd){grid-column:1/-1}.news-list{display:grid;gap:14px}.news-card{position:relative;display:block;padding:20px 48px 20px 20px;background:#fff;border:1px solid var(--line);border-radius:16px}.news-card>svg{position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--blue)}.news-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.news-meta span{background:#e9f3fa;border-radius:99px;padding:4px 9px;color:var(--blue);font-weight:700}.news-card h2{font-size:17px;line-height:1.5;margin:10px 0 6px}.news-card p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 8px}.news-card small{color:var(--blue);font-weight:700}.news-detail header{margin:20px 0 30px}.news-detail header h1{font-family:Zen Old Mincho;font-size:clamp(25px,6vw,36px);line-height:1.5;margin:0 0 10px}.news-detail header>p:last-child{color:var(--muted);font-size:13px}.news-detail section{padding:20px 0;border-top:1px solid var(--line)}.news-detail section h2{font-size:18px}.news-detail section p{white-space:pre-line;line-height:1.9}.news-detail .source-notice{margin:16px 0 24px}.news-admin h2{display:flex;align-items:center;gap:8px}.admin-feedback-item{border-top:1px solid var(--line);padding:12px 0}.admin-feedback-item strong{display:block}.admin-feedback-item small{color:var(--muted)}.admin-feedback-item p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.quiz-later-note{color:var(--muted);font-size:13px;line-height:1.6;margin:9px 0 0}:root{font-family:Noto Sans JP,sans-serif;color:#183047;background:#f4f7fa;font-synthesis:none;--navy:#123c69;--blue:#2b6597;--gold:#e9a93f;--paper:#fff;--muted:#657586;--line:#dbe4ec}*{box-sizing:border-box}body{margin:0;min-width:320px;background:linear-gradient(180deg,#edf3f8 0,#f8fafc 250px);color:#183047}a{color:inherit;text-decoration:none}button,input{font:inherit}.app-shell{min-height:100vh;padding-bottom:82px}.topbar{height:72px;padding:0 max(20px,calc((100vw - 760px)/2));display:flex;align-items:center;gap:12px;background:#ffffffe6;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand-mark{width:38px;height:38px;border-radius:12px;background:var(--navy);color:#fff;display:grid;place-items:center;font-family:Zen Old Mincho;font-size:22px}.topbar>div:last-child{display:flex;flex-direction:column}.topbar strong{font-family:Zen Old Mincho;font-size:18px}.topbar span{font-size:11px;color:var(--muted)}main{max-width:760px;margin:auto}.page{padding:28px 20px 50px}.welcome{padding:18px 4px 22px}.eyebrow{margin:0 0 8px;color:var(--blue);font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.welcome h1,.page-heading h1,.lesson-header h1{font-family:Zen Old Mincho;font-size:clamp(28px,7vw,40px);line-height:1.45;letter-spacing:.01em;margin:0 0 12px;color:#102f4c}.welcome>p:last-child,.page-heading>p:last-child,.lesson-header>p{color:var(--muted);line-height:1.8;margin:0}.continue-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;background:var(--navy);color:#fff;border-radius:20px;padding:20px;box-shadow:0 12px 30px #123c6928}.continue-card .icon-disc{width:46px;height:46px;border-radius:14px;background:#ffffff20;display:grid;place-items:center}.continue-card div:nth-child(2){display:flex;flex-direction:column;gap:3px}.continue-card small{color:#bcd3e8}.continue-card strong{line-height:1.45}.continue-card span{font-size:12px;color:#d8e5ef}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 34px}.quick-grid a{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:grid;grid-template-columns:auto 1fr;gap:5px 9px}.quick-grid svg{grid-row:1/3;color:var(--blue)}.quick-grid strong{font-size:14px}.quick-grid span{color:var(--muted);font-size:13px}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-family:Zen Old Mincho;margin:0}.section-heading a{display:flex;align-items:center;gap:4px;color:var(--blue);font-size:13px;font-weight:700}.section-copy{color:var(--muted);line-height:1.7}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:74px;padding-bottom:env(safe-area-inset-bottom);display:flex;justify-content:center;background:#fffffff2;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:10}.bottom-nav a{width:min(20%,110px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#7b8996;font-size:11px;font-weight:600}.bottom-nav a.active{color:var(--navy)}.page-heading{margin-bottom:28px}.page-heading h1{font-size:32px}.domain-list{display:grid;gap:14px}.domain-card{display:grid;grid-template-columns:48px 1fr;gap:12px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}.domain-number{font-family:Zen Old Mincho;font-size:24px;color:var(--gold)}.domain-body h2{margin:0;font-size:18px}.domain-body>p{margin:4px 0 12px;color:var(--muted);font-size:13px}.domain-body>a{border-top:1px solid var(--line);padding:13px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.domain-body>a div{display:flex;flex-direction:column;gap:4px}.domain-body>a span{font-size:11px;color:var(--blue)}.lesson-header{padding-bottom:22px;border-bottom:1px solid var(--line)}.lesson-header h1{font-size:32px}.draft-badge{display:inline-block;background:#fff2d8;color:#805000;border:1px solid #f1ce86;border-radius:99px;padding:5px 9px;font-size:12px;font-weight:700;margin-bottom:14px}.meta{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:13px;color:var(--muted)}.markdown{font-size:16px;line-height:2;color:#263b4e}.markdown h2{font-family:Zen Old Mincho;font-size:24px;line-height:1.55;color:#143854;margin:42px 0 12px;padding-left:13px;border-left:4px solid var(--gold)}.markdown img{display:block;max-width:100%;margin:24px auto;border-radius:12px;background:#fff}.markdown table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px;background:#fff}.markdown th,.markdown td{border:1px solid var(--line);padding:10px;text-align:left}.markdown th{background:#eaf1f7}.key-points{background:#eaf2f8;border-radius:18px;padding:20px;margin:30px 0}.key-points h2{font-family:Zen Old Mincho;margin:0 0 10px}.key-points li{margin:8px 0;line-height:1.7}.primary-button{width:100%;min-height:54px;border:0;border-radius:14px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;cursor:pointer}.primary-button:disabled{opacity:.4}.quiz-page header h1{font-family:Zen Old Mincho;font-size:25px;line-height:1.6}.progress-bar{height:5px;background:#dce5ed;border-radius:99px;overflow:hidden}.progress-bar span{display:block;height:100%;background:var(--gold)}.choices{display:grid;gap:10px;margin:24px 0}.choices button{display:flex;align-items:center;gap:12px;padding:15px;text-align:left;border:1px solid var(--line);border-radius:14px;background:#fff;color:#253a4d}.choices button>span{min-width:32px;height:32px;border-radius:50%;background:#edf2f6;display:grid;place-items:center;font-weight:800}.choices button.selected{border:2px solid var(--blue);background:#eef6fc}.feedback{padding:20px;border-radius:16px;margin-top:18px}.feedback.correct{background:#e8f6ef}.feedback.wrong{background:#fff0ed}.feedback h2{display:flex;align-items:center;gap:8px}.feedback p{white-space:pre-line;line-height:1.8}.feedback .primary-button{margin-top:18px}.empty-card{background:#fff;border:1px dashed #bdcbd7;border-radius:18px;padding:32px;text-align:center;color:var(--muted)}.empty-card svg{color:var(--blue)}.empty-card h2{color:#183047;font-family:Zen Old Mincho}.empty-card a{display:inline-block;color:var(--blue);font-weight:700;margin-top:8px}.review-list,.topic-list{display:grid;gap:12px}.review-list a,.topic-list a{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;display:flex;flex-direction:column;gap:6px}.review-list small,.topic-list small{color:var(--blue);font-weight:700}.topic-list a{flex-direction:row;align-items:center;justify-content:space-between}.topic-list a div{display:flex;flex-direction:column;gap:7px}.topic-list p{margin:0;color:var(--muted);line-height:1.6}.settings-card{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:17px;margin:14px 0}.settings-card>svg{color:var(--blue)}.settings-card h2{margin:0;font-size:17px}.settings-card p{color:var(--muted);font-size:13px;line-height:1.7}.settings-card input{width:100%;padding:13px;border:1px solid #b8c7d3;border-radius:10px;margin:8px 0}.settings-card button{border:0;background:var(--navy);color:#fff;padding:11px 14px;border-radius:10px;font-weight:700}.notice{background:#e9f4fb;border-radius:12px;padding:13px}.transfer-code{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:12px;background:#eef3f7;border-radius:10px;letter-spacing:.16em}.transfer-code button{padding:8px}.device-id{text-align:center;color:#87939e;font-size:11px}.loading{padding:80px;text-align:center;color:var(--muted)}@media(min-width:720px){.page{padding:40px 24px 70px}.home-page{padding-top:34px}.domain-card{grid-template-columns:70px 1fr;padding:24px}.domain-number{font-size:32px}}.domain-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.domain-heading>span{white-space:nowrap;color:var(--muted);font-size:12px;font-weight:700}.domain-progress{height:5px;margin-top:10px;overflow:hidden;border-radius:99px;background:#e5ebf0}.domain-progress span{display:block;height:100%;border-radius:inherit;background:var(--gold)}.upcoming-domains{margin-top:18px;border:1px solid var(--line);border-radius:16px;background:#fff}.upcoming-domains summary{cursor:pointer;padding:17px 18px;font-weight:700;list-style-position:inside}.upcoming-domains summary span{float:right;min-width:24px;padding:2px 7px;border-radius:99px;background:#eaf1f7;color:var(--blue);font-size:12px;text-align:center}.upcoming-domains>div{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 18px}.upcoming-domains>div span{padding:7px 10px;border-radius:99px;background:#f1f5f8;color:var(--muted);font-size:12px}.update-prompt{position:fixed;left:50%;bottom:86px;z-index:20;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;width:min(calc(100% - 24px),600px);padding:17px 16px;transform:translate(-50%);border-radius:16px;background:#102f4c;border:3px solid #e9a93f;box-shadow:0 14px 35px #0d263d77;color:#fff}.update-prompt>div{display:flex;flex-direction:column;gap:3px}.update-prompt strong{font-size:16px}.update-prompt span{color:#edf4fa;font-size:13px;line-height:1.55}.update-prompt button{border:0;cursor:pointer}.first-use-hint{position:fixed;z-index:19;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translate(-50%);width:min(calc(100% - 24px),600px);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 8px 24px #0d263d30;color:var(--text-strong);font-size:12px;line-height:1.6}.first-use-hint button{flex:none;min-height:44px;padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface-subtle);color:var(--blue);font:inherit;font-weight:700;cursor:pointer}.app-shell:has(.first-use-hint) main{padding-bottom:82px}.update-action{display:flex;align-items:center;gap:5px;min-height:44px;padding:9px 13px;border-radius:10px;background:var(--gold);color:#17334b;font-weight:800}.reading-progress{position:fixed;top:72px;left:0;right:0;z-index:6;height:3px;background:transparent}.reading-progress span{display:block;width:100%;height:100%;border-radius:0 99px 99px 0;background:var(--gold);transform:scaleX(0);transform-origin:left center;will-change:transform}.markdown img{width:auto;height:auto}.lesson-figure-trigger{display:block;width:fit-content;max-width:100%;padding:0;margin:20px auto 4px;border:0;border-radius:12px;background:transparent;cursor:zoom-in}.markdown .lesson-figure-trigger img{margin:0}.lesson-figure-trigger span{display:block;width:fit-content;margin:5px 0 0 auto;padding:4px 8px;border-radius:6px;background:#102f4ce8;color:#fff;font-size:11px;line-height:1.4}.lesson-figure-dialog{position:fixed;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#152533;color:#fff}.lesson-figure-dialog::backdrop{background:#06111be8}.lesson-figure-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;height:62px;padding:6px 14px;font-size:14px;font-weight:800}.lesson-figure-toolbar>div{display:flex;gap:8px}.lesson-figure-toolbar button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #9eafbc;border-radius:10px;background:#27445a;color:#fff;cursor:pointer}.lesson-figure-toolbar button:disabled{opacity:.45;cursor:default}.lesson-figure-toolbar .lesson-figure-close{background:#f7f9fa;color:#102f4c}.lesson-figure-viewport{width:100%;height:calc(100dvh - 116px - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;text-align:center;touch-action:pan-x pan-y}.lesson-figure-viewport img{display:block;max-width:none;height:auto;margin:auto;background:#fff}.lesson-figure-hint{margin:0;padding:9px 14px calc(9px + env(safe-area-inset-bottom));text-align:center;font-size:12px;color:#dae5ed}.trade-disclosure{margin:0}.trade-disclosure>div{display:grid;grid-template-columns:minmax(120px,34%) 1fr;border-bottom:1px solid var(--line)}.trade-disclosure>div:last-child{border-bottom:0}.trade-disclosure dt,.trade-disclosure dd{margin:0;padding:13px 10px;line-height:1.7;overflow-wrap:anywhere}.trade-disclosure dt{font-weight:800;background:#edf3f7}.trade-disclosure a{color:var(--blue);text-decoration:underline}@media(max-width:480px){.trade-disclosure>div{grid-template-columns:1fr}.trade-disclosure dt{padding-bottom:3px}.trade-disclosure dd{padding-top:7px}}.key-points{margin:16px 0 12px;padding:0;border:1px solid #cddde9;border-radius:12px;background:#f8fbfd;scroll-margin-top:128px}.key-points summary{display:flex;align-items:center;gap:8px;min-height:50px;padding:11px 14px;color:var(--navy);cursor:pointer;list-style:none}.key-points summary::-webkit-details-marker{display:none}.key-points summary strong{font-size:14px}.key-points summary span{margin-left:auto;color:var(--muted);font-size:12px}.key-points summary:after{content:"⌄";color:var(--blue);font-size:19px;line-height:1}.key-points[open] summary:after{transform:rotate(180deg)}.key-points .keypoint-list{display:grid;gap:0;margin:0;padding:0 12px 12px 40px;border-top:1px solid #dbe6ee}.key-points .keypoint-list li{margin:0;padding:0 0 0 2px;color:var(--blue);line-height:1.6}.keypoint-list li+li{border-top:1px solid #e3ebf1}.keypoint-list button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:10px 4px;border:0;border-radius:7px;background:transparent;color:var(--navy);text-align:left;font-size:13px;line-height:1.65;cursor:pointer}.keypoint-list button svg{flex:none;color:var(--blue)}.keypoint-unlinked{display:block;padding:10px 4px;color:var(--navy);font-size:13px}.key-points summary:focus-visible,.keypoint-list button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}@media(hover:hover){.keypoint-list button:hover{background:#eaf2f8}}.markdown h2[id^=section-]{scroll-margin-top:128px}.lesson-toc-dialog button:focus-visible,.learning-goals summary:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.recall-toolbar{margin:12px 0 0;padding:12px 14px;border:1px solid #c6d8e5;border-radius:12px;background:#f4f9fc}.recall-toolbar>p{margin:0;font-size:13px;line-height:1.6}.recall-toolbar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.recall-toolbar-actions button{min-height:44px;padding:7px 11px;border:1px solid #9ab5c8;border-radius:9px;background:#fff;color:#173a58;font-size:13px;font-weight:800;cursor:pointer}.recall-toolbar-actions button.selected{border-color:#173a58;background:#173a58;color:#fff;box-shadow:0 2px 7px #173a582e}.recall-toolbar-actions button:disabled{opacity:.55;cursor:default}.recall-toolbar-actions button:focus-visible,.recall-mask:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.recall-toolbar .recall-visibility-status{margin:9px 0 0;color:#285f91;font-size:12px;font-weight:800}.recall-toolbar details{margin-top:8px}.recall-toolbar details summary{width:max-content;min-height:38px;display:flex;align-items:center;color:var(--blue);font-size:12px;font-weight:800;cursor:pointer}.recall-toolbar details p{margin:3px 0 10px;font-size:12px;line-height:1.6}.recall-toolbar details button{min-height:40px;padding:7px 11px;border:1px solid #b6cbd9;border-radius:8px;background:#fff;color:#173a58;font-size:12px;font-weight:700}.recall-toolbar .recall-missed-button{min-height:40px;margin-top:8px;padding:6px 10px;border:1px solid #d7ae82;border-radius:8px;background:#fffaf3;color:#87521c;font-size:12px;font-weight:800}.recall-toolbar .recall-notice{margin-top:10px;color:#a04419;font-weight:700}.recall-reset-confirm{margin-top:10px;padding:10px;border:1px solid #d6ba9a;border-radius:8px;background:#fffaf2}.recall-reset-confirm button{min-height:40px;margin:8px 8px 0 0;padding:6px 10px;border:1px solid #9ab5c8;border-radius:7px;background:#fff;color:#173a58;font-weight:700}.recall-sheet{position:relative}.recall-overlays{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:2}.recall-mask{position:absolute;box-sizing:border-box;min-width:10px;padding:0;border:1px solid #173a58;border-radius:4px;cursor:pointer;pointer-events:auto;font-size:12px;font-weight:900;line-height:1}.recall-mask.hidden{background:#24547e;color:#fff;box-shadow:0 1px 4px #173a5866}.recall-mask.hidden:hover{background:#173a58}.recall-mask.revealed{background:#ffffff14;border-style:dashed;border-color:#6c9bc0;color:transparent}.recall-mask.user-mark.hidden{border-style:dashed;border-color:#e5c277}.recall-mask.missed{box-shadow:0 0 0 2px #e8a263}.recall-self-check,.recall-mark-menu{position:absolute;display:flex;gap:5px;padding:5px;border:1px solid #bfd0dd;border-radius:9px;background:#fff;box-shadow:0 4px 16px #1b35402b;z-index:4;pointer-events:auto}.recall-self-check button,.recall-mark-menu button,.recall-add-selection{min-height:36px;padding:6px 8px;border:1px solid #b6cbd9;border-radius:6px;background:#fff;color:#173a58;font-size:11px;font-weight:700}.recall-add-selection{position:absolute;z-index:5;min-width:72px;background:#173a58;color:#fff;pointer-events:auto}.back-link{display:inline-flex;align-items:center;gap:3px;margin-bottom:18px;color:var(--blue);font-size:13px;font-weight:700}.learning-goals{margin:18px 0 0;border:1px solid #cddde9;border-radius:12px;background:#f8fbfd}.learning-goals summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 14px;color:var(--blue);font-size:13px;font-weight:800;cursor:pointer;list-style:none}.learning-goals summary::-webkit-details-marker{display:none}.learning-goals summary:after{content:"⌄";margin-left:2px;font-size:18px;line-height:1}.learning-goals[open] summary:after{transform:rotate(180deg)}.learning-goals summary small{margin-left:auto;color:var(--muted);font-size:11px}.learning-goals ol{margin:0;padding:0 20px 12px 40px;font-size:13px}.lesson-upfront-toc{margin:14px 0 0;padding:10px 11px 9px;border:1px solid #cddde9;border-radius:12px;background:#f8fbfd}.lesson-upfront-toc-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 4px}.lesson-upfront-toc-head strong{color:var(--navy);font-size:14px}.lesson-upfront-toc-head span{color:var(--muted);font-size:12px}.lesson-upfront-toc ol{display:grid;gap:1px;margin:0;padding:0;list-style:none}.lesson-upfront-toc li{min-width:0}.lesson-upfront-toc li button{display:flex;align-items:center;gap:7px;width:100%;min-height:33px;padding:3px 4px;border:0;border-radius:8px;background:none;color:var(--navy);text-align:left;font-size:13px;line-height:1.35;cursor:pointer}.lesson-upfront-toc .lesson-toc-number{width:21px;height:21px;font-size:10px}.lesson-upfront-toc-title{flex:1;min-width:0;overflow-wrap:anywhere}.lesson-upfront-toc li small{flex:none;align-self:center;color:var(--blue);font-size:11px;font-weight:800}.lesson-upfront-toc li button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}@media(hover:hover){.lesson-upfront-toc li button:hover{background:#eaf2f8}}.lesson-resume-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:18px 0 4px;padding:14px 16px;border:1px solid #9bbbd5;border-radius:13px;background:#edf5fb;color:var(--navy);text-align:left;font-weight:700;cursor:pointer}@media(hover:hover){.lesson-resume-button:hover{background:#e1eff8}}.lesson-current-section{position:fixed;top:75px;left:50%;z-index:7;display:flex;align-items:center;gap:8px;width:min(100%,760px);min-height:42px;padding:6px 20px;transform:translate(-50%);border:0;border-bottom:1px solid var(--line);background:#fffffff5;box-shadow:0 4px 12px #123c6918;color:var(--navy);text-align:left;cursor:pointer}.lesson-current-section svg,.lesson-current-count,.lesson-current-action{flex:none}.lesson-current-count{font-size:12px;font-weight:800;white-space:nowrap}.lesson-current-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.lesson-current-action{margin-left:auto;color:var(--blue);font-size:11px;font-weight:700}.lesson-toc-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:min(calc(100% - 28px),560px);max-width:none;max-height:min(84dvh,760px);margin:auto;padding:0;overflow:hidden;border:1px solid #c7d6e2;border-radius:18px;background:#fff;color:var(--navy);box-shadow:0 22px 70px #09294845}.topbar>.topbar-brand{display:flex;flex:1;flex-direction:column;min-width:0}.topbar-brand strong,.topbar-brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lesson-header-tools-trigger,.lesson-header-recall-trigger{display:flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:44px;padding:8px 7px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--blue);font-size:13px;font-weight:700;cursor:pointer}.lesson-header-tools-trigger span,.lesson-header-recall-trigger span{color:inherit;font-size:13px;white-space:nowrap}.lesson-header-recall-trigger.active{border-color:#9bbdd4;background:#e4f1fa;color:var(--navy)}.lesson-header-tools-trigger:focus-visible,.lesson-header-recall-trigger:focus-visible{outline:3px solid var(--gold);outline-offset:2px}@media(hover:hover){.lesson-header-tools-trigger:hover{background:#edf5fa}}@media(hover:hover){.lesson-header-recall-trigger:hover{background:#edf5fa}}.lesson-toc-dialog::backdrop{background:#0b27435c}.lesson-toc-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line)}.lesson-toc-dialog-head div{display:flex;align-items:baseline;gap:8px}.lesson-toc-dialog-head strong{font-size:18px}.lesson-toc-dialog-head span{color:var(--muted);font-size:12px}.lesson-toc-dialog-head>button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:9px;background:#eff4f8;color:var(--navy);cursor:pointer}.lesson-toc-dialog-body{max-height:calc(min(84dvh,760px) - 73px);padding:0 10px calc(12px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}.lesson-toc-dialog ol{display:grid;gap:2px;margin:0;padding:0;list-style:none}.lesson-tools-group{padding:12px 4px}.lesson-tools-group+.lesson-tools-group{border-top:1px solid var(--line)}.lesson-tools-group h3{margin:0 0 6px;color:var(--blue);font-size:13px}.lesson-tools-action{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;margin:5px 0;padding:9px 11px;border:1px solid #bfd1df;border-radius:9px;background:#f4f8fb;color:var(--navy);text-align:left;font-size:13px;font-weight:700;cursor:pointer}@media(hover:hover){.lesson-tools-action:hover{background:#e6f1f8}}.lesson-toc-dialog li{border-radius:10px}.lesson-toc-dialog li.current{background:#eaf2f8}.lesson-toc-dialog li button{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:9px 10px;border:0;border-radius:10px;background:none;color:var(--navy);text-align:left;line-height:1.5;cursor:pointer}@media(hover:hover){.lesson-toc-dialog li button:hover{background:#eef5fa}}.lesson-toc-dialog li.current button{font-weight:800}.lesson-toc-number{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#edf2f6;color:var(--blue);font-size:11px;font-weight:800}.lesson-toc-dialog li.current .lesson-toc-number{background:var(--navy);color:#fff}.lesson-toc-dialog li button>span:nth-child(2){flex:1}.lesson-toc-dialog li small{flex:none;color:var(--blue);font-size:11px}.lesson-current-section:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.toc-bookmark{flex:none;color:var(--muted);font-size:11px}.markdown h2[data-section-index]{scroll-margin-top:140px}.lesson-body-end{height:1px}.lesson-end-divider{display:flex;align-items:center;gap:14px;margin:30px 0 18px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.08em;text-align:center}.lesson-end-divider:before,.lesson-end-divider:after{content:"";flex:1;height:1px;background:var(--line)}.lesson-end-divider span{flex:none}.quiz-selection-note{margin:0 0 12px;color:var(--muted);font-size:13px}.learning-goals li{margin:8px 0;padding-left:4px;line-height:1.65}.learning-goals li::marker{color:var(--gold);font-weight:800}.references{margin:26px 0;border:1px solid var(--line);border-radius:15px;background:var(--paper)}.references summary{cursor:pointer;padding:16px 18px;color:var(--text-reference);font-size:14px;font-weight:800}.references summary span{float:right;min-width:24px;padding:2px 7px;border-radius:99px;background:var(--surface-pill);color:var(--blue);font-size:11px;text-align:center}.references ol{margin:0;padding:0 18px 10px 44px}.references li{padding:2px 0 12px 2px;color:var(--muted)}.references a{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;color:var(--text-reference-link)}.references a span{display:flex;flex-direction:column;gap:4px}.references a strong{font-size:13px;line-height:1.55}.references a small{color:var(--muted);font-size:11px}.references a svg{flex:0 0 auto;margin-top:3px}.multi-hint{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#eaf2f8;color:#315a7a;font-size:13px;font-weight:700}.choices .choice-text{flex:1;background:transparent;font-weight:500}.choices .choice-status{flex:0 0 auto}.choices button.correct-choice{border:2px solid #3b9670;background:#e9f7ef;color:#1f654b}.choices button.correct-choice>span:first-child{background:#cfead9}.choices button.wrong-choice{border:2px solid #d16a5d;background:#fff0ed;color:#8d392f}.choices button.wrong-choice>span:first-child{background:#f5d3cd}.choices button.dimmed-choice{opacity:.55}.quiz-result{padding-top:64px;text-align:center}.result-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 18px;border-radius:22px;background:#eaf2f8;color:var(--blue)}.result-icon svg{width:34px;height:34px}.quiz-result h1{margin:0 0 12px;font-family:Zen Old Mincho;font-size:30px}.book-test-mistakes{max-width:560px;margin:24px auto;text-align:left}.book-test-mistakes h2{font-size:18px}.book-test-mistakes>div{padding:12px 0;border-top:1px solid var(--line)}.book-test-mistakes p{margin:0 0 6px;line-height:1.6;overflow-wrap:anywhere}.book-test-mistakes a,.book-test-lesson-link a{display:inline-flex;align-items:center;gap:4px;min-height:44px;color:var(--blue);font-size:14px;font-weight:800}.book-test-lesson-link{margin-top:12px}.book-test-page .choices button{min-width:0;overflow-wrap:anywhere}.book-test-page .choices .choice-text{min-width:0;display:block;flex:1;background:none;border-radius:0;font-weight:400}.book-test-result .result-actions button{font:inherit}html[data-theme=dark] .book-test-mistakes a,html[data-theme=dark] .book-test-lesson-link a{color:#aad9ff}.book-test-image{width:100%;max-width:100%;margin:0 0 22px;min-width:0}.book-test-image .lesson-figure-trigger{display:block;width:100%;max-width:100%;padding:8px;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:#f4f6f8}.book-test-image img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}.book-test-image figcaption{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}html[data-theme=dark] .book-test-image .lesson-figure-trigger{background:#283a4a}.quiz-result>p:not(.eyebrow){max-width:520px;margin:0 auto;color:var(--muted);line-height:1.8}.result-actions{display:grid;gap:10px;max-width:440px;margin:30px auto 0}.next-lesson{margin:34px 0 0;padding:20px 0 0;border-top:1px solid var(--line);text-align:left}.next-lesson h2{margin:0 0 12px;color:var(--text-strong);font-size:16px}.next-lesson-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--text-strong)}.next-lesson-link span{display:grid;gap:4px;min-width:0}.next-lesson-link small{color:var(--blue);font-size:12px;font-weight:700}.next-lesson-link strong{font-size:14px;line-height:1.5}.next-lesson-link svg{flex:none;color:var(--blue)}.next-lesson-pack{margin-top:14px}.next-lesson-pack p{margin:0 0 4px;color:var(--muted);font-size:13px;line-height:1.6}.next-lesson-pack a{display:inline-flex;align-items:center;gap:5px;min-height:44px;color:var(--blue);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.quiz-result .next-lesson{max-width:440px;margin:34px auto 0}.quiz-result .next-lesson-pack p{max-width:none;text-align:left}.secondary-button{min-height:50px;display:flex;align-items:center;justify-content:center;border:1px solid #b9c9d6;border-radius:14px;background:#fff;color:var(--navy);font-weight:800}.review-priority{background:linear-gradient(135deg,#123c69,#235f8e)}.resume-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;margin-top:12px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--blue)}.resume-row>div{display:flex;flex-direction:column;gap:2px}.resume-row small{color:var(--muted);font-size:11px}.resume-row strong{color:#203c53;font-size:14px}.completion-card{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid #bcdcca;border-radius:18px;background:#edf8f2;color:#27694f}.completion-card>div{display:flex;flex-direction:column;gap:4px}.completion-card span{color:#547766;font-size:12px}.progress-overview{margin:20px 0 16px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}.progress-overview-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.progress-overview-heading .eyebrow{margin-bottom:2px}.progress-overview-heading h2{margin:0;font-family:Zen Old Mincho;font-size:26px}.progress-overview-heading h2 small{color:var(--muted);font-family:Noto Sans JP;font-size:13px}.progress-overview-heading>strong{color:var(--blue);font-size:24px}.overall-progress{height:8px;margin:13px 0 16px;overflow:hidden;border-radius:99px;background:#e5ebf0}.overall-progress span,.mini-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--gold),#efbf66)}.domain-progress-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.domain-progress-grid a{padding:11px;border-radius:11px;background:var(--surface-subtle)}.domain-progress-grid a>div:first-child{display:flex;justify-content:space-between;gap:8px}.domain-progress-grid strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.domain-progress-grid a span{color:var(--muted);font-size:10px;white-space:nowrap}.mini-progress{height:4px;margin-top:8px;overflow:hidden;border-radius:99px;background:#dfe7ed}.quick-placeholder{background:#f4f6f8!important;color:#8a969f}.quick-placeholder svg{color:#9ca7af!important}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}button,a,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e9a93f;outline-offset:3px}.bottom-nav{height:calc(74px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.app-shell{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.bottom-nav a{min-height:48px}.domain-body>a,.topic-list a,.review-list a{min-height:52px}.choices button{min-height:58px}.settings-card button,.settings-card input,.references summary{min-height:44px}.purchase-unlocked{display:grid;gap:7px;margin:12px 0;padding:13px 15px;border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:11px;background:var(--surface-tint)}.purchase-unlocked strong{color:var(--text-strong);font-size:14px}.purchase-unlocked a{color:var(--blue);font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px}.settings-card label{display:block;margin-top:10px;color:#35536b;font-size:12px;font-weight:700}.settings-card button:disabled{cursor:not-allowed;opacity:.45}.markdown,.lesson-header,.quiz-page header{overflow-wrap:anywhere;word-break:normal}.markdown .table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.markdown .table-scroll table{display:table;width:100%;min-width:100%}.markdown th,.markdown td{min-width:112px}.markdown th:first-child,.markdown td:first-child{min-width:90px}.markdown pre,.markdown code{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:380px){.page,.topbar{padding-right:14px;padding-left:14px}.welcome h1,.page-heading h1,.lesson-header h1{font-size:27px}.domain-card{grid-template-columns:38px 1fr;gap:8px;padding:15px 13px}.domain-number{font-size:21px}.domain-heading{align-items:flex-start}.domain-body h2{font-size:16px}.domain-body>a strong{font-size:14px;line-height:1.55}.quick-grid{gap:8px}.quick-grid a,.quick-placeholder{padding:13px 10px}.domain-progress-grid{grid-template-columns:1fr}.update-prompt{grid-template-columns:1fr auto}.update-prompt>div{grid-column:1 / -1}.update-close{position:absolute;top:6px;right:6px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.network-status{position:fixed;top:82px;left:50%;z-index:18;display:flex;align-items:center;gap:10px;width:min(calc(100% - 24px),560px);padding:11px 14px;transform:translate(-50%);border:1px solid #c8d4de;border-radius:13px;background:#fff;box-shadow:0 8px 25px #15334d26;color:#29455d;font-size:12px}.network-status.offline{border-color:#e6c582;background:#fff8e8;color:#71521b}.network-status.synced{border-color:#b9dcc8;background:#edf8f2;color:#27694f}.network-status.sync-error{border-color:#e6c582;background:#fff3e5;color:#7a4914}.network-status svg{flex:0 0 auto}.network-status span{display:flex;flex-direction:column;gap:1px}.network-status strong{font-size:13px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.connection-error{max-width:620px;margin:28px auto 0}.connection-error .primary-button{margin:20px 0 6px}.connection-error>a{min-height:44px;display:inline-flex;align-items:center}.screen-reader-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.markdown .inline-highlight{padding:0;border-radius:0;color:inherit;font-weight:800;background:none;box-decoration-break:clone;-webkit-box-decoration-break:clone}.markdown .inline-highlight.important{color:inherit;background:none}.markdown .inline-highlight.danger{color:#a72d28;background:none}.highlight-warning-icon{display:inline-block;margin-right:.25em;font-style:normal}.lesson-emphasis-legend{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 5px;margin:12px 0 0;color:var(--muted);font-size:11px;line-height:1.7}.lesson-emphasis-legend strong{color:var(--text-strong)}.lesson-emphasis-legend .legend-danger{color:#a72d28;font-weight:800}.lesson-emphasis-legend .legend-term{color:#205f91;text-decoration:underline;text-underline-offset:2px}.lesson-emphasis-legend .legend-user-mark{padding:0 2px;background:#ffe895;color:#243b4f}.markdown .lesson-callout{margin:24px 0;padding:15px 17px;border:1px solid #d5e0e9;border-left:5px solid #7690a5;border-radius:12px;background:#f5f8fa;color:#263b4e}.markdown .lesson-callout p{margin:0}.markdown .lesson-callout p+p{margin-top:8px}.markdown .lesson-callout.important{border-color:#ecd486;border-left-color:#d69b21;background:#fff8df}.markdown .lesson-callout.danger{border-color:#edc0bb;border-left-color:#c84b40;background:#fff1ef}.markdown .lesson-callout.tip{border-color:#b8d8eb;border-left-color:#3e88b5;background:#eef8fd}.markdown .lesson-callout.standard{border-color:#bdd8c7;border-left-color:#43845d;background:#eff8f2}.markdown .lesson-callout.pitfall{padding:15px;border:0;border-radius:16px;background:#eeedfe}.markdown .lesson-callout.pitfall .pitfall-heading{margin:0 0 10px;color:#534ab7;font-size:12px;font-weight:700;letter-spacing:.06em}.markdown .lesson-callout.pitfall .pitfall-list{display:grid;gap:9px;margin:0;padding:0;list-style:none}.markdown .lesson-callout.pitfall .pitfall-card{margin:0;padding:12px 13px;border:0;border-radius:12px;background:#fff;line-height:1.65}.markdown .lesson-callout.pitfall .pitfall-question{display:grid;grid-template-columns:21px minmax(0,1fr);gap:8px;align-items:start;color:#263b4e}.markdown .lesson-callout.pitfall .pitfall-question strong{min-width:0;font-weight:700;overflow-wrap:anywhere}.markdown .lesson-callout.pitfall .pitfall-q{display:inline-grid;width:21px;height:21px;margin-top:2px;place-items:center;border-radius:50%;background:#534ab7;color:#fff;font-size:11px;font-weight:800}.markdown .lesson-callout.pitfall .pitfall-q:before{content:"Q"}.markdown .lesson-callout.pitfall .pitfall-period{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.markdown .lesson-callout.pitfall .pitfall-answer{margin:3px 0 0 29px;color:#526277;overflow-wrap:anywhere}.view-switch{display:flex;gap:6px;width:100%;margin-bottom:14px;padding:5px;border-radius:13px;background:var(--surface-switch)}.view-switch button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:700}.view-switch button.active{background:var(--paper);color:var(--text-strong);box-shadow:0 2px 8px #17334b18}.event-filters{margin-bottom:18px;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.filter-label{display:flex;align-items:center;gap:6px;margin-bottom:10px;color:var(--text-filter);font-size:13px;font-weight:800}.filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.event-filters select,.event-form input,.event-form select,.event-form textarea{width:100%;min-height:43px;padding:9px 10px;border:1px solid #bdcbd7;border-radius:9px;background:var(--surface-input);color:var(--text-input);font:inherit}.deadline-toggle{display:flex;align-items:center;gap:8px;margin-top:11px;color:var(--text-filter-note);font-size:13px}.deadline-toggle input{width:18px;height:18px}.event-list{display:grid;gap:12px}.event-card{display:grid;grid-template-columns:58px 1fr;gap:14px;padding:17px;border:1px solid var(--line);border-radius:17px;background:#fff}.event-card.deadline-soon{border-color:#e1b555;box-shadow:inset 4px 0 #e9a93f}.event-card time{display:flex;flex-direction:column;align-items:center;align-self:start;padding:8px 4px;border-radius:12px;background:#eaf2f8;color:var(--navy)}.event-card time strong{font-size:25px;line-height:1}.event-card time span{margin-top:4px;font-size:11px}.event-tags{display:flex;flex-wrap:wrap;gap:6px}.event-tags span,.event-tags b{padding:4px 8px;border-radius:99px;background:#eaf2f8;color:var(--blue);font-size:11px}.event-tags b{background:#fff0cf;color:#875900}.event-card h2{margin:8px 0 4px;color:#18364e;font-size:16px;line-height:1.5}.event-card p{margin:0 0 8px;color:var(--muted);font-size:12px}.event-card small{color:#476277;line-height:1.6}.event-card .event-verification{display:block;margin-top:8px;font-size:11px;color:var(--muted)}.event-detail .source-notice small{display:block;margin-top:7px;font-size:11px;color:var(--muted)}.event-calendar{margin-bottom:18px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.calendar-heading{display:flex;align-items:center;justify-content:space-between;padding:13px}.calendar-heading h2{margin:0;font-size:17px}.calendar-heading button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:#eef3f7;color:var(--navy)}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.calendar-week span{padding:7px 0;background:#f2f5f8;color:var(--muted);font-size:11px;text-align:center}.calendar-grid>div{min-width:0;min-height:72px;padding:6px 3px;border-top:1px solid #e7edf2;border-right:1px solid #e7edf2}.calendar-grid>div:nth-child(7n){border-right:0}.calendar-grid>div>span{display:grid;place-items:center;width:23px;height:23px;margin:0 auto 3px;font-size:11px}.calendar-grid>div.today>span{border-radius:50%;background:var(--gold);color:#17334b;font-weight:800}.calendar-grid a{display:block;overflow:hidden;margin:2px;padding:3px;border-radius:4px;background:#dcecf7;color:#24577e;font-size:8px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.event-detail header{margin-bottom:22px}.event-detail header h1{margin:12px 0 8px;font-family:Zen Old Mincho;font-size:clamp(27px,7vw,36px);line-height:1.5;color:#102f4c}.event-detail header p{color:var(--muted)}.event-facts{overflow:hidden;margin:0 0 22px;border:1px solid var(--line);border-radius:17px;background:#fff}.event-facts div{display:grid;grid-template-columns:112px 1fr;gap:10px;padding:15px 17px;border-bottom:1px solid var(--line)}.event-facts div:last-child{border-bottom:0}.event-facts dt{display:flex;align-items:center;gap:7px;color:var(--blue);font-size:12px;font-weight:800}.event-facts dt svg{width:17px}.event-facts dd{margin:0;color:#263f53;line-height:1.6}.event-note,.source-notice{margin:18px 0;padding:17px;border-radius:14px;background:#edf3f7}.event-note h2{margin:0 0 7px;font-size:16px}.event-note p,.source-notice p{margin:0;color:#496276;line-height:1.7}.source-notice{border:1px solid #e8cb8e;background:#fff8e8}.source-notice strong{display:block;margin-bottom:5px;color:#72521a}.event-editor h2{display:flex;align-items:center;gap:8px}.event-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.event-form label{color:#40596d;font-size:12px;font-weight:700}.event-form label.wide{grid-column:1/-1}.event-form input,.event-form select,.event-form textarea{display:block;margin-top:5px}.event-form textarea{min-height:90px;resize:vertical}.editor-actions{display:flex;gap:8px;margin-top:14px}.editor-actions button,.event-admin-actions button{min-height:40px;border:0;border-radius:9px;padding:8px 12px}.editor-actions .admin-save{flex:1;background:var(--navy);color:#fff;font-weight:800}.editor-actions .admin-save:disabled{opacity:.4}.admin-notice{padding:10px 12px;border-radius:9px;background:#eaf5ef;color:#28694f;font-size:13px;font-weight:700}.admin-event-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0;padding:4px;border-radius:11px;background:#edf2f6}.admin-event-tabs button{min-height:42px;border:0;border-radius:8px;background:transparent;color:#536a7c;font-weight:700}.admin-event-tabs button.active{background:#fff;color:var(--navy);box-shadow:0 1px 4px #18364c21}.admin-event-tabs b{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:3px;padding:0 6px;border-radius:99px;background:#dfe7ed;font-size:11px}.admin-event-tabs button.active b{background:#dceef4}.admin-event-filter{display:flex;align-items:center;gap:9px;margin:0 0 12px;color:#536a7c;font-size:12px;font-weight:700}.admin-event-filter select{min-height:40px;flex:1;padding:7px 9px;border:1px solid #bdcbd7;border-radius:9px;background:#fff;color:#203b51;font:inherit}.admin-event-list{display:grid;gap:9px}.admin-event-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid var(--line);border-radius:11px}.admin-event-list article.possible-duplicate{border-color:#dfad47;background:#fffdf5}.admin-event-main{min-width:0}.admin-event-badges{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.admin-event-list h3{margin:5px 0 3px;font-size:14px}.admin-event-list p{margin:0;color:var(--muted);font-size:11px}.event-status,.event-modality,.event-warning{display:inline-flex;align-items:center;gap:3px;padding:3px 7px;border-radius:99px;background:#f0f2f4;color:#64727e;font-size:10px;font-weight:800}.event-status.published{background:#e5f5ec;color:#26704f}.event-status.rejected{background:#f7e9e7;color:#914238}.event-modality{background:#e7f1f6;color:#315f77}.event-warning{background:#fff0c8;color:#815b08}.admin-event-list .event-missing{display:flex;align-items:center;gap:4px;margin-top:7px;color:#9a5c13;font-weight:700}.event-source-link{display:inline-flex;align-items:center;gap:4px;margin-top:8px;color:#166d88;font-size:12px;font-weight:700}.event-admin-actions{display:flex;gap:5px;flex:0 0 auto}.event-admin-actions button{display:flex;align-items:center;justify-content:center;gap:3px;min-width:40px;background:#edf2f6;color:#39576e}.event-admin-actions button span{font-size:11px;font-weight:800}.event-admin-actions .approve{background:#e3f3ea;color:#26704f}.event-admin-actions .reject{background:#fae9e7;color:#a23f34}@media(max-width:520px){.admin-event-list article{align-items:flex-start;flex-direction:column}.event-admin-actions{width:100%}.event-admin-actions button{flex:1}.event-admin-actions button:first-child{flex:0 0 44px}}.event-tags .vendor-tag{background:#e9e2f7;color:#61428d}.event-tags .modality-tag{background:#dff1ea;color:#286a53;font-weight:800}.modality-filter{width:100%;min-height:43px;margin-bottom:8px;padding:9px 10px;border:1px solid #bdcbd7;border-radius:9px;background:#fff;color:#203b51;font:inherit}.source-admin h2{display:flex;align-items:center;gap:8px}.source-admin h3{margin:20px 0 8px;color:#35536b;font-size:14px}.source-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:7px}.source-row>div{display:flex;flex-direction:column;gap:4px}.source-row strong{font-size:13px}.source-row span{color:var(--muted);font-size:11px;line-height:1.5}.source-row.stale{border-color:#e0b45b;background:#fff9eb}.source-row button{flex:0 0 auto;min-height:38px;padding:8px 10px;border:0;border-radius:8px;background:var(--navy);color:#fff;font-size:11px;font-weight:700}.source-error{color:#a33b30!important}.collection-log{margin-top:15px}.collection-log summary{cursor:pointer;color:var(--blue);font-size:13px;font-weight:700}.collection-log p{margin:8px 0;color:var(--muted);font-size:11px;line-height:1.5}@media(max-width:480px){.filter-row,.event-form{grid-template-columns:1fr}.event-form label.wide{grid-column:auto}.event-facts div{grid-template-columns:1fr;gap:5px}.calendar-grid>div{min-height:58px}.calendar-grid a{font-size:0;width:7px;height:7px;margin:2px auto;padding:0;border-radius:50%;background:var(--blue)}}.lock-card{max-width:560px;margin:30px auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px;text-align:center;box-shadow:0 14px 40px #123c6912}.lock-icon{width:62px;height:62px;margin:0 auto 18px;border-radius:20px;background:#eef3f7;color:var(--navy);display:grid;place-items:center}.lock-card h1{font-family:Zen Old Mincho;font-size:28px;line-height:1.5}.lock-card>p{color:var(--muted);line-height:1.8}.lock-card .eyebrow{color:var(--gold)}.lock-copy{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.lock-card .primary-button{margin-top:22px}.lock-secondary-link{display:inline-block;margin-top:16px;color:var(--blue);font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.pack-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 20px;padding:18px 20px;border-radius:16px;background:#eaf2f8;color:var(--navy)}.pack-entry div{display:grid;gap:4px}.pack-entry span{color:var(--muted);font-size:13px}.settings-link{display:inline-flex;margin-top:8px;border:1px solid var(--navy);color:var(--navy);padding:10px 14px;border-radius:10px;font-weight:700}.admin-entry{text-align:center;margin:24px 0}.admin-entry a{color:var(--blue);font-size:13px;font-weight:700}.admin-login{display:grid;grid-template-columns:auto 1fr;gap:16px;max-width:520px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px}.admin-login>svg{color:var(--blue)}.admin-login h2{margin:0}.admin-login p{color:var(--muted);line-height:1.6}.admin-login input{width:100%;padding:12px;border:1px solid #b8c7d3;border-radius:10px}.admin-login button,.admin-toolbar button{border:0;border-radius:10px;background:var(--navy);color:#fff;padding:11px 14px;font-weight:700}.admin-login button{width:100%;margin-top:10px}.admin-login label{display:block;margin:12px 0 6px;font-size:13px;font-weight:700}.admin-key-input{display:flex;align-items:stretch;gap:8px}.admin-key-input input{min-width:0;flex:1}.admin-login .admin-key-input button{flex:none;width:48px;margin:0;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface-tint);color:var(--text-strong)}.admin-saved-key{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0}.admin-saved-key span{width:100%;color:var(--muted);font-size:12px}.admin-login .admin-saved-key button{width:auto;min-height:40px;margin:0;padding:8px 10px;border:1px solid var(--line);background:var(--surface-tint);color:var(--text-strong);font-size:12px}.admin-error{color:#a33225!important;font-weight:700}.admin-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:var(--muted)}.admin-toolbar button{display:flex;align-items:center;gap:6px;padding:8px 12px}.metric-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px}.metric-grid>div{display:grid;grid-template-columns:auto 1fr;gap:4px 9px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px}.metric-grid svg{grid-row:1 / 3;color:var(--blue)}.metric-grid span{color:var(--muted);font-size:13px}.metric-grid strong{font-size:24px}.admin-panel{margin:14px 0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:17px}.admin-panel h2{margin:0 0 16px;font-family:Zen Old Mincho;font-size:20px}.admin-panel h2 small{font-family:Noto Sans JP;color:var(--muted);font-size:11px;font-weight:500}.funnel-bars{display:grid;gap:10px}.funnel-bars>div{display:grid;grid-template-columns:88px 1fr 32px;align-items:center;gap:8px;font-size:13px}.funnel-bars-split>div{grid-template-columns:minmax(116px,36%) minmax(0,1fr) 32px}.funnel-bars>div>div{height:9px;border-radius:99px;background:#e7edf2;overflow:hidden}.funnel-bars i{display:block;height:100%;background:var(--blue);border-radius:inherit}.table-wrap{max-width:100%;overflow-x:auto}.admin-panel table{width:100%;border-collapse:collapse;font-size:13px}.admin-panel th,.admin-panel td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}.admin-panel th:first-child,.admin-panel td:first-child{text-align:left}.admin-panel th{color:var(--muted);font-weight:600}.admin-user-id{border:0;background:transparent;color:var(--blue);cursor:pointer;padding:4px 0;font:inherit;font-weight:700}.admin-user-id:hover{text-decoration:underline}.admin-user-detail-button{border:1px solid var(--line);border-radius:8px;background:var(--surface-input);color:var(--blue);padding:5px 10px;cursor:pointer;font-weight:700}.admin-user-scopes{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.admin-user-scopes button,.admin-internal-device button{border:1px solid var(--line);border-radius:9px;background:var(--surface-input);color:var(--blue);padding:8px 12px;cursor:pointer;font-weight:700}.admin-user-scopes button[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}.admin-user-detail{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface-subtle);scroll-margin-top:90px}.admin-user-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.admin-user-detail-heading h3{margin:0}.admin-user-detail-heading button{border:0;background:transparent;color:inherit;cursor:pointer}.admin-user-full-id{overflow-wrap:anywhere;font-size:12px;color:var(--muted)}.admin-user-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-user-detail-grid>div{display:grid;gap:3px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-input)}.admin-user-detail-grid small,.admin-user-detail-grid span{color:var(--muted)}.admin-user-detail-grid strong{overflow-wrap:anywhere}.admin-user-detail details{margin-top:12px}.admin-user-detail details p{overflow-wrap:anywhere;font-size:13px;line-height:1.6}.admin-user-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;color:var(--muted);font-size:13px}.admin-user-pagination>div{display:flex;align-items:center;gap:10px}.admin-user-pagination button{border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit;padding:6px 10px;cursor:pointer}.admin-user-pagination button:disabled{cursor:default;opacity:.45}.admin-attention-grid{display:grid;gap:10px}.admin-attention-grid a{display:grid;gap:4px;padding:14px;border:1px solid var(--line);border-radius:12px;color:inherit;text-decoration:none}.admin-attention-grid a:hover{border-color:var(--blue)}.admin-page #admin-feedback,.admin-page #admin-sources,.admin-page #admin-events{scroll-margin-top:90px}.admin-attention-grid strong{color:var(--blue);font-size:24px}.admin-attention-grid small{color:var(--muted);line-height:1.5}.admin-feedback-filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}.admin-feedback-filters label,.admin-feedback-actions label{display:grid;gap:4px;color:var(--muted);font-size:12px}.admin-feedback-filters select,.admin-feedback-actions select{min-height:36px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface-input);color:inherit}.admin-feedback-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-feedback-status{padding:2px 8px;border-radius:99px;background:#fff2d4;color:#704900;font-size:11px;font-weight:700}.admin-feedback-status.in_progress{background:#e4efff;color:#184c8b}.admin-feedback-status.done{background:#e2f3e8;color:#1f6538}.admin-feedback-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-top:10px}@media(min-width:720px){.admin-attention-grid{grid-template-columns:repeat(3,1fr)}}.attention{color:#a76400;font-weight:800}.admin-note,.admin-empty{color:var(--muted);font-size:13px}@media(min-width:720px){.metric-grid{grid-template-columns:repeat(4,1fr)}}.records-entry{display:inline-flex;margin-top:18px;color:var(--blue);font-size:14px;font-weight:800}.event-personal-record{margin:28px 0;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.event-personal-record h2{margin:0 0 8px;font-size:18px}.event-personal-record p{font-size:13px;color:var(--muted);line-height:1.7}.event-personal-record .secondary-button{width:100%;cursor:pointer}.my-records>section{margin:30px 0}.my-records>section>h2{display:flex;align-items:center;gap:8px;margin:0 0 7px;font-size:20px;color:var(--navy)}.my-records>section>h2 small{margin-left:auto;color:var(--muted);font-size:12px}.records-help{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.75}.records-list{display:grid;gap:14px}.record-card,.qualification-form{padding:20px;background:#fff;border:1px solid var(--line);border-radius:16px}.record-card small{color:var(--muted);font-size:12px}.record-card h3{margin:7px 0 10px;font-size:17px;line-height:1.5}.record-card p{color:var(--muted);font-size:13px}.record-card>a{display:inline-flex;align-items:center;gap:4px;color:var(--blue);font-size:12px;font-weight:700}.record-card label,.qualification-form label{display:block;margin:14px 0 0;color:#35536b;font-size:13px;font-weight:700}.record-card input,.record-card textarea,.qualification-form input,.qualification-form textarea{display:block;width:100%;min-height:44px;margin-top:6px;padding:11px;border:1px solid #b8c7d3;border-radius:10px;font:inherit;color:var(--navy);resize:vertical}.qualification-form{margin-bottom:16px}.qualification-form .primary-button{margin-top:16px}.record-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.record-actions button{min-height:44px;padding:10px 14px;border:1px solid #b8c7d3;border-radius:10px;background:#f0f5f9;color:var(--navy);font-weight:700;cursor:pointer}.record-actions button:disabled{cursor:default;opacity:.45}.record-actions .record-delete{background:#fff;color:#815959}.renewal-badge{display:inline-block;padding:5px 9px;border-radius:99px;background:#eaf1f7;color:#285f91;font-size:12px;font-weight:800}.renewal-badge.soon{background:#fff2d8;color:#805000}.renewal-badge.urgent,.renewal-badge.expired{background:#fff0ed;color:#a34438}.question-section-link{display:inline-flex;align-items:center;gap:4px;min-height:44px;margin:5px 0;color:var(--blue);font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px}.markdown a,.feedback p a{color:var(--blue);font-weight:800;text-decoration:underline;text-underline-offset:3px}.mri-reference-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 18px}.mri-reference-nav a{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:46px;padding:9px 12px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--blue);font-size:13px;font-weight:800}.lesson-search-section{font-size:13px;font-weight:800;color:var(--navy)}.lesson-search-results>h2{margin:22px 0 10px}.lesson-search-results>h2:first-child{margin-top:0}.lesson-search-limit{color:var(--muted);font-size:12px}.quick-reference-card{padding:18px;border:1px solid var(--line);border-radius:17px;background:var(--paper)}.quick-reference-card h2:first-child{margin-top:0}.reference-table-scroll th:last-child,.reference-table-scroll td:last-child{white-space:nowrap}.reference-trial-notice{margin:0 0 14px;padding:10px 14px;border:1px solid #bfd7e5;border-radius:10px;background:#eef7fc;color:var(--navy);font-size:13px;line-height:1.6}.recovery-alert{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 20px 0;padding:12px 14px;border:1px solid #d0a362;border-radius:12px;background:#fff5e5;color:#543c17;font-size:13px;line-height:1.6}.recovery-alert p{flex:1 1 100%;margin:0}.recovery-alert a{text-decoration:underline;font-weight:700}.recovery-alert button{border:1px solid #b08b57;border-radius:8px;background:transparent;color:inherit;padding:7px 10px;cursor:pointer}.sync-health .sync-health-error{color:#a04419;font-weight:700}.glossary-list,.lesson-notes-list{display:grid;gap:12px}.glossary-card,.lesson-note-card{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.glossary-card{scroll-margin-top:125px}.glossary-card h2,.lesson-note-card h2{margin:0 0 4px;font-size:18px}.glossary-card small,.lesson-note-card small{color:var(--muted)}.glossary-card p,.lesson-note-card p{line-height:1.7;white-space:pre-wrap}.glossary-card>div{display:flex;flex-wrap:wrap;gap:7px}.glossary-card>div a,.lesson-note-card>a{display:inline-block;padding:7px 9px;border-radius:8px;background:#eaf2f8;color:var(--blue);font-size:12px;font-weight:800}.orphan-note{display:inline-block;color:#8c5b19;font-size:12px;font-weight:800}.notes-copy{display:flex;align-items:center;gap:7px;margin-bottom:14px;padding:10px 14px;border:0;border-radius:9px;background:var(--navy);color:#fff;font-weight:800}.glossary-search{margin:-8px 0 20px}.glossary-search label{display:block;margin-bottom:7px;color:var(--navy);font-size:14px;font-weight:800}.glossary-search input{width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:inherit}.glossary-index{scroll-margin-top:90px;margin-bottom:20px}.glossary-index h2{margin:0 0 9px;font-size:16px;color:var(--navy)}.glossary-index>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.glossary-index button{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--navy);font-size:12px;font-weight:700;text-align:left;cursor:pointer;overflow-wrap:anywhere}.glossary-index button span{flex:none;color:var(--muted);font-size:11px;white-space:nowrap}.glossary-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.glossary-controls p{margin:0;color:var(--muted);font-size:12px}.glossary-controls>div{display:flex;gap:6px}.glossary-controls button{min-height:36px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--blue);font-size:12px;font-weight:700;cursor:pointer}.glossary-groups{display:grid;gap:8px}.glossary-group{scroll-margin-top:90px}.glossary-group>h2{margin:0;font-size:16px}.glossary-group>h2 button{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--navy);font-weight:800;text-align:left;cursor:pointer}.glossary-group>h2 button:disabled{cursor:default}.glossary-group>h2 span{margin-left:auto;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}.glossary-group>h2 svg{flex:none;transition:transform .2s}.glossary-group>h2 button[aria-expanded=true] svg{transform:rotate(180deg)}.glossary-group-body{padding-top:10px}.glossary-back-index{display:inline-block;margin:14px 2px 7px;color:var(--blue);font-size:13px;font-weight:800}.glossary-card h3{margin:0 0 4px;font-size:18px}@media(min-width:600px){.glossary-index>div{grid-template-columns:repeat(3,minmax(0,1fr))}}.lesson-note{margin:18px 0 8px;padding:8px 10px;border:1px dashed #bad0df;border-radius:10px;background:#f6f9fb;font-size:12px;line-height:1.6}.lesson-note:not(.has-note):not(:has(textarea)){margin:12px 0 4px;padding:0;border:0;background:transparent}.lesson-note.has-note{border-style:solid;background:#edf5fa}.lesson-note>p{margin:0 0 6px;white-space:pre-wrap;overflow-wrap:anywhere}.lesson-note>button{min-height:36px;padding:4px 0;border:0;background:transparent;color:var(--blue);font-weight:800;cursor:pointer}.lesson-note label{display:block;font-weight:800}.lesson-note textarea{display:block;width:100%;margin-top:6px;padding:9px;border:1px solid #aec6d8;border-radius:8px;font:inherit;resize:vertical}.lesson-note small{display:block;text-align:right;color:var(--muted)}.lesson-note-actions{display:flex;gap:8px;margin-top:8px}.lesson-note-actions button{min-height:38px;padding:7px 12px;border:1px solid #a9c3d5;border-radius:8px;background:#fff;color:var(--blue);font-weight:800}.lesson-note-actions button:first-child{background:var(--navy);color:#fff}.lesson-note-actions button:disabled{opacity:.45}.lesson-note-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.lesson-note-card-actions>a{display:inline-block;padding:7px 9px;border-radius:8px;background:#eaf2f8;color:var(--blue);font-size:12px;font-weight:800}.note-delete-trigger{min-height:38px;padding:7px 12px;border:1px solid #b57e78;border-radius:8px;background:transparent;color:#8e3531;font-weight:800;cursor:pointer}.lesson-note-actions .note-delete-trigger{margin-left:auto;color:#8e3531}.note-delete-dialog{width:min(90vw,370px);max-width:calc(100vw - 32px);padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--navy);box-shadow:0 20px 55px #172a3c55}.note-delete-dialog::backdrop{background:#0c1f30aa}.note-delete-dialog h2{margin:0 0 8px;font-size:18px}.note-delete-dialog p{margin:0 0 18px;color:var(--muted);line-height:1.6}.note-delete-actions{display:flex;justify-content:flex-end;gap:9px}.note-delete-actions button{min-height:44px;padding:9px 13px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--navy);font-weight:800}.note-delete-actions .note-delete-confirm{background:#a23b35;border-color:#a23b35;color:#fff}.lesson-note-actions .note-delete-actions button:first-child{background:var(--paper);color:var(--navy)}.legal-document{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:16px}.legal-document h2:first-of-type{margin-top:22px}.legal-document ol,.legal-document ul{padding-left:1.5em}.legal-document li{margin:6px 0;line-height:1.8}.legal-document p{line-height:1.9}.legal-notice,.settings-legal-note,.pack-legal-links{line-height:1.7}.legal-notice a,.settings-legal-note a,.pack-legal-links a,.feedback-privacy a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.settings-legal-links{display:flex;flex-wrap:wrap;gap:10px}.settings-legal-links a{padding:9px 12px;border:1px solid var(--line);border-radius:9px;color:var(--blue);font-weight:700}.account-delete-card>svg{color:#a23b35}.account-delete-card button{background:#a23b35}.account-delete-dialog{width:min(92vw,460px);max-width:calc(100vw - 28px);padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--navy);box-shadow:0 22px 60px #0c1f3055}.account-delete-dialog::backdrop{background:#0c1f30b8}.account-delete-dialog h2{margin:0 0 12px;font-size:20px}.account-delete-dialog p{line-height:1.8}.account-delete-dialog>div{display:flex;justify-content:flex-end;gap:10px}.account-delete-dialog button{min-height:44px;padding:9px 15px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--navy);font-weight:800}.account-delete-dialog button:last-child{background:#a23b35;border-color:#a23b35;color:#fff}.admin-feedback-item button{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--blue);font-weight:700}.admin-feedback-item small{display:block}.theme-settings select{display:block;width:100%;min-height:44px;margin-top:7px;padding:9px;border:1px solid #b8c7d3;border-radius:9px;background:#fff;color:#183047;font:inherit}:root{--surface-subtle:#f4f7fa;--surface-tint:#eaf2f8;--surface-switch:#e5ecf2;--surface-pill:#eaf1f7;--surface-input:#fff;--surface-pack-icon:#e9f2f8;--line-pack-situation:#d6e4ef;--text-strong:#123c69;--text-reference:#29445c;--text-reference-link:#264b69;--text-filter:#35536b;--text-filter-note:#425d73;--text-input:#203b51;--text-pack-heading:#102f4c;--text-pack-benefit:#163954;--text-pack-scope:#526d82;--text-pack-fact:#5d7183;--text-pack-icon:#246391;--text-pack-situation:#284e70}html[data-theme=dark]{color-scheme:dark;--paper:#192d3e;--muted:#acbdcb;--line:#40586a;--blue:#8ac7f2;--surface-subtle:#243c4f;--surface-tint:#29475d;--surface-switch:#243c4f;--surface-pill:#29475d;--surface-input:#21394d;--surface-pack-icon:#29475d;--line-pack-situation:#40586a;--text-strong:#eaf4fc;--text-reference:#e6eef5;--text-reference-link:#a9dbf8;--text-filter:#e6eef5;--text-filter-note:#acbdcb;--text-input:#e6eef5;--text-pack-heading:#eaf4fc;--text-pack-benefit:#eaf4fc;--text-pack-scope:#acbdcb;--text-pack-fact:#acbdcb;--text-pack-icon:#a9dbf8;--text-pack-situation:#e6eef5;color:#e6eef5;background:#101e2b}html[data-theme=dark] body{background:linear-gradient(180deg,#101e2b,#142635 260px);color:#e6eef5}html[data-theme=dark] .topbar,html[data-theme=dark] .bottom-nav,html[data-theme=dark] .lesson-current-section{background:#172c3bf2;color:#e6eef5}html[data-theme=dark] .brand-mark,html[data-theme=dark] .primary-button,html[data-theme=dark] .settings-card button,html[data-theme=dark] .rating-submit{background:#3573a3;color:#fff}html[data-theme=dark] .lesson-rating .rating-submit-hint{color:#c6d9e8}html[data-theme=dark] .welcome h1,html[data-theme=dark] .page-heading h1,html[data-theme=dark] .lesson-header h1,html[data-theme=dark] .markdown h2,html[data-theme=dark] .empty-card h2,html[data-theme=dark] .lesson-current-section,html[data-theme=dark] .lesson-toc-dialog,html[data-theme=dark] .lesson-toc-dialog li button{color:#eaf4fc}html[data-theme=dark] .markdown{color:#e0ebf3}html[data-theme=dark] :is(.domain-card,.quick-grid a,.lesson-search,.lesson-search-result,.settings-card,.empty-card,.lesson-rating,.event-card,.review-lesson-card,.admin-panel,.admin-login,.metric-grid>div,.lock-card,.news-card,.record-card,.event-calendar,.event-facts,.lesson-toc-dialog,.lesson-upfront-toc,.recall-toolbar,.key-points,.learning-goals,.lesson-note,.quick-reference-card,.glossary-card){background:#1a3041;color:#e6eef5;border-color:var(--line)}html[data-theme=dark] .admin-feedback-status.open{background:#4d3b20;color:#ffe0a1}html[data-theme=dark] .admin-feedback-status.in_progress{background:#244867;color:#c8e4ff}html[data-theme=dark] .admin-feedback-status.done{background:#254b37;color:#c6f1d1}html[data-theme=dark] :is(.access-summary,.pack-entry,.review-practice-card,.lesson-resume-button,.lesson-search-field,.source-notice,.event-note){background:#243c4f;color:#e6eef5;border-color:var(--line)}html[data-theme=dark] .reference-trial-notice{background:#243c4f;color:#e6eef5;border-color:var(--line)}html[data-theme=dark] :is(.markdown table,.markdown td,.markdown th,.quick-reference-card table,.quick-reference-card td,.quick-reference-card th){background:#1c3447;color:#e6eef5;border-color:#4a6478}html[data-theme=dark] :is(.markdown th,.quick-reference-card th){background:#2b4860}html[data-theme=dark] .markdown img[src$=".svg"]{background:#fff;padding:10px}html[data-theme=dark] .markdown img:not([src$=".svg"]){background:#fff}html[data-theme=dark] .markdown .inline-highlight.important{background:none;color:inherit}html[data-theme=dark] .markdown .inline-highlight.danger{background:none;color:#ff928b}html[data-theme=dark] .lesson-emphasis-legend .legend-danger{color:#ff928b}html[data-theme=dark] .lesson-emphasis-legend .legend-term{color:#a9dbf8}html[data-theme=dark] .lesson-emphasis-legend .legend-user-mark{background:#6b561c;color:#fff0bd}html[data-theme=dark] .markdown .lesson-callout{background:#263e4e;color:#e9f1f7;border-color:#587082}html[data-theme=dark] .markdown .lesson-callout.important{background:#453b22;border-left-color:#e9bb5e}html[data-theme=dark] .markdown .lesson-callout.danger{background:#462f31;border-left-color:#df796e}html[data-theme=dark] .markdown .lesson-callout.tip{background:#263f52;border-left-color:#76bde9}html[data-theme=dark] .markdown .lesson-callout.standard{background:#254336;border-left-color:#78c397}html[data-theme=dark] .markdown .lesson-callout.pitfall{background:#302842;color:#f3ebfa;border:0}html[data-theme=dark] .markdown .lesson-callout.pitfall .pitfall-heading{color:#d5bcff}html[data-theme=dark] .markdown .lesson-callout.pitfall .pitfall-card{background:#453b58}html[data-theme=dark] .markdown .lesson-callout.pitfall .pitfall-question{color:#f7f2ff}html[data-theme=dark] .markdown .lesson-callout.pitfall .pitfall-answer{color:#e0d5ee}html[data-theme=dark] .recall-mask.hidden{background:#a36718;border-color:#efc36d;color:#fff;box-shadow:0 0 0 2px #efc36d55}html[data-theme=dark] .recall-mask.hidden:hover{background:#80500f}html[data-theme=dark] .recall-mask.revealed{background:#ffffff12;border-color:#82b0ce}html[data-theme=dark] .recall-toolbar-actions button.selected{background:#3978a8;color:#fff;border-color:#8ac7f2}html[data-theme=dark] :is(.recall-toolbar-actions button,.recall-toolbar details button,.recall-self-check,.recall-self-check button,.recall-mark-menu,.recall-mark-menu button,.lesson-toc-dialog-head>button,.lesson-search-field input,.theme-settings select,.settings-card input,.settings-card textarea,.settings-card select,.lesson-note textarea){background:#21394d;color:#e6eef5;border-color:#557084}html[data-theme=dark] .choices button{background:#1b3040;color:#e7f0f7;border-color:#4d6578}html[data-theme=dark] .choices button>span:first-child{background:#2e475a;color:#eaf4fc}html[data-theme=dark] .choices button.selected{background:#244b65;border-color:#89c8ed}html[data-theme=dark] .choices button.correct-choice{background:#1e513c;border-color:#6dd3a0}html[data-theme=dark] .choices button.wrong-choice{background:#633431;border-color:#ee948b}html[data-theme=dark] .feedback.correct{background:#204535;color:#e8faef}html[data-theme=dark] .feedback.wrong{background:#523432;color:#fff0ed}html[data-theme=dark] .question-section-link{color:#9ed4f5}html[data-theme=dark] .key-points summary,html[data-theme=dark] .keypoint-list button,html[data-theme=dark] .keypoint-unlinked{color:#e6eef5}html[data-theme=dark] .key-points .keypoint-list,html[data-theme=dark] .keypoint-list li+li{border-color:#3b566b}html[data-theme=dark] .lesson-toc-dialog li.current,html[data-theme=dark] .learning-goals,html[data-theme=dark] .key-points{background:#243d50}html[data-theme=dark] .lesson-header-tools-trigger,html[data-theme=dark] .lesson-header-recall-trigger{background:transparent;color:#a9dbf8}html[data-theme=dark] .lesson-header-recall-trigger.active{background:#34546b;color:#fff;border-color:#6b9dbb}html[data-theme=dark] .lesson-tools-action{background:#21394d;color:#e6eef5;border-color:#557084}html[data-theme=dark] .lesson-tools-group h3{color:#a9dbf8}html[data-theme=dark] .lesson-upfront-toc-head strong,html[data-theme=dark] .lesson-upfront-toc li button{color:#eaf4fc}@media(hover:hover){html[data-theme=dark] .keypoint-list button:hover{background:#2a4a60}html[data-theme=dark] .lesson-resume-button:hover{background:#2f5067}html[data-theme=dark] .lesson-toc-dialog li button:hover,html[data-theme=dark] .lesson-upfront-toc li button:hover{background:#2a4a60}html[data-theme=dark] .lesson-header-tools-trigger:hover,html[data-theme=dark] .lesson-header-recall-trigger:hover,html[data-theme=dark] .lesson-tools-action:hover{background:#34546b}}html[data-theme=dark] .notice{background:#24465c;color:#e4f4ff}html[data-theme=dark] :is(.settings-card label,.settings-link,.bottom-nav a.active,.lesson-search-section,.mri-reference-nav a,.lesson-note-card h2,.glossary-card h2){color:#a9dbf8}html[data-theme=dark] .settings-link{border-color:#6da4ca}html[data-theme=dark] :is(.lesson-note-card,.glossary-card){background:#1a3041;color:#e6eef5;border-color:var(--line)}html[data-theme=dark] :is(.glossary-index h2,.glossary-search label){color:#eaf4fc}html[data-theme=dark] :is(.glossary-index button,.glossary-controls button,.glossary-group>h2 button,.glossary-search input){background:#1a3041;color:#eaf4fc;border-color:var(--line)}html[data-theme=dark] .glossary-search input::placeholder{color:#a9bdcb}html[data-theme=dark] :is(.glossary-card>div a,.lesson-note-card>a){background:#29475d;color:#a9dbf8}html[data-theme=dark] .lesson-note-card-actions>a{background:#29475d;color:#a9dbf8}html[data-theme=dark] .note-delete-dialog{background:#1a3041;color:#e6eef5;border-color:var(--line)}html[data-theme=dark] .note-delete-actions button:not(.note-delete-confirm){background:#243c4f;color:#e6eef5}html[data-theme=dark] .note-delete-trigger{color:#ffb0a8;border-color:#c77d77}html[data-theme=dark] .event-card h2{color:#eaf4fc}html[data-theme=dark] .event-card small{color:#acbdcb}html[data-theme=dark] :is(.legal-document,.account-delete-dialog){background:#1a3041;color:#e6eef5;border-color:var(--line)}html[data-theme=dark] .trade-disclosure dt{background:#2b4860;color:#e6eef5}html[data-theme=dark] .account-delete-dialog button:first-child{background:#243c4f;color:#e6eef5}html[data-theme=dark] .lesson-note:not(.has-note):not(:has(textarea)){background:transparent}html[data-theme=dark] a:focus-visible,html[data-theme=dark] button:focus-visible,html[data-theme=dark] input:focus-visible{outline:3px solid #f1bf68;outline-offset:2px}.mri-bookshelf{margin:18px 0 16px;padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden}.bookshelf-heading{display:flex;align-items:end;justify-content:space-between;gap:12px}.bookshelf-heading .eyebrow{margin-bottom:3px}.bookshelf-heading h2{margin:0;color:var(--text-strong);font-family:Zen Old Mincho,serif;font-size:21px}.bookshelf-heading>span{color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}.bookshelf-help{margin:7px 0 0;color:var(--muted);font-size:12px}.bookshelf-scroll{overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.bookshelf-books{display:flex;align-items:end;gap:7px;width:max-content;min-width:100%;margin-top:6px;padding:31px 5px 7px;border-bottom:6px solid #8a705c;box-shadow:inset 0 -1px #c8ad91}.bookshelf-spine{position:relative;display:flex;flex:none;flex-direction:column;align-items:center;justify-content:space-between;width:48px;height:181px;padding:8px 3px 7px;border:1px solid #0004;border-radius:4px 4px 2px 2px;background:#123d6b;color:#fff;text-align:center;cursor:pointer;box-shadow:inset 3px 0 #ffffff20,inset -3px 0 #0002,2px 2px 4px #0003;transition:transform .18s ease,box-shadow .18s ease}.bookshelf-spine:hover{transform:translateY(-4px)}.bookshelf-spine:disabled{opacity:.68;cursor:not-allowed;filter:saturate(.55)}.bookshelf-spine:disabled:hover{transform:none}.bookshelf-spine.selected{transform:translateY(-9px);box-shadow:inset 3px 0 #ffffff29,inset -3px 0 #0003,0 7px #aa8c72,2px 10px 12px #0004}.bookshelf-spine:focus-visible{outline:3px solid #e5a83e;outline-offset:3px}.bookshelf-spine .spine-number{font-size:10px;font-weight:800;letter-spacing:.08em;color:#ffffffe0}.bookshelf-spine .spine-title{writing-mode:vertical-rl;text-orientation:mixed;line-height:1.2;font-size:14px;font-weight:800;letter-spacing:.03em}.bookshelf-spine .spine-count{font-size:9px;font-weight:700;white-space:nowrap;color:#ffffffe8}.bookshelf-spine .spine-coming{position:absolute;top:-25px;left:50%;transform:translate(-50%);padding:3px 5px;border-radius:4px;background:#fff0d1;color:#604000;font-size:10px;font-weight:800;white-space:nowrap}.bookshelf-spine:has(.spine-coming) .spine-recent{top:-43px}.bookshelf-spine .spine-recent{position:absolute;top:-23px;left:50%;transform:translate(-50%);padding:2px 5px;border-radius:4px;background:#fff0d1;color:#604000;font-size:10px;font-weight:800;white-space:nowrap;box-shadow:0 1px 3px #0003}.spine-sequence{background:#163f72}.spine-parameters{background:#225b91}.spine-artifacts{background:#236979}.spine-contrast{background:#235d4c}.spine-equipment{background:#5b626c}.spine-safety{background:#8b483b}.spine-workflow{background:#655041}.spine-intro{background:#454e5c}.spine-additional{background:#704b79}.spine-free{background:#a66a10;color:#fff;border-color:#6b4009}.spine-free .spine-number{padding:2px 5px;border-radius:4px;background:#fff;color:#754900;letter-spacing:0}.bookshelf-categories{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px;color:var(--muted);font-size:11px;font-weight:700}.bookshelf-categories span{display:inline-flex;align-items:center;gap:5px}.bookshelf-categories span:before{content:"";display:inline-block;width:12px;height:4px;border-radius:4px;background:#245f88}.bookshelf-categories span:nth-child(2):before{background:#865b49}.bookshelf-categories span:nth-child(3):before{background:#704b79}.bookshelf-open{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:18px;scroll-margin-top:90px}.bookshelf-open-header{margin-bottom:15px}.bookshelf-open-meta{margin:0 0 6px;color:var(--blue);font-size:12px;font-weight:800}.bookshelf-open-header h2{margin:0;color:var(--text-strong);font-family:Zen Old Mincho,serif;font-size:24px}.bookshelf-open-header>p:last-child{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.65}.bookshelf-open-header .book-coming-note{margin:10px 0 0;padding:9px 12px;border-radius:9px;background:var(--surface-subtle);color:var(--text-strong);font-size:12px;font-weight:700}.free-book-pack-link{display:inline-flex;align-items:center;gap:4px;margin-top:8px;color:var(--blue);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.free-book-pack-link:focus-visible{outline:3px solid #e5a83e;outline-offset:3px}.lesson-row-coming{display:flex;align-items:center;min-height:58px;padding:13px 0;border-top:1px solid var(--line);color:var(--muted);opacity:.72}.lesson-row-coming strong{display:block;font-size:14px;line-height:1.55}.lesson-row-coming .access-badge{background:var(--surface-subtle);color:var(--muted)}.lesson-coming-inline{color:var(--muted);font-size:inherit;line-height:inherit}.bookshelf-open .domain-progress{margin-bottom:14px}.lesson-row-entry{display:flex;flex-direction:column;align-items:flex-end;border-top:1px solid var(--line)}.bookshelf-open .lesson-row-main{display:flex;align-items:center;justify-content:space-between;gap:10px;align-self:stretch;min-height:58px;padding:13px 0}.bookshelf-open .lesson-row-main>div{min-width:0}.bookshelf-open .lesson-row-main strong{display:block;font-size:14px;line-height:1.55}.bookshelf-open .lesson-row-main svg{flex:none;width:20px;height:20px;color:#7c8b98}.bookshelf-open .lesson-row-main .lesson-sequence{display:block;color:#315f83;font-size:12px;font-weight:800;letter-spacing:.04em}.bookshelf-open .lesson-row-main .lesson-status-line{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;margin-top:3px}.bookshelf-open .lesson-row-entry.done .lesson-row-main svg{color:#19735a}.bookshelf-open .lesson-row-entry.read .lesson-row-main svg{color:#285f91}.bookshelf-open .lesson-row-entry.review-due .lesson-row-main svg{color:#a77300}.lesson-row-quiz{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;margin:0 0 8px;padding:8px 12px;border:1px solid #a7c3d9;border-radius:9px;background:#f1f7fb;color:#205b86;font-size:13px;font-weight:800}.lesson-row-quiz:focus-visible,.lesson-row-main:focus-visible{outline:3px solid #e5a83e;outline-offset:2px}@media(hover:hover){.lesson-row-quiz:hover{background:#e4f1fa}}.bookshelf-open .lesson-status-line span{display:inline-flex;align-items:center;padding:3px 7px;border-radius:99px;font-size:11px;line-height:1.4;font-weight:700}.bookshelf-open .recent-lesson-badge{background:#fff0d1;color:#70510d}html[data-theme=dark] .bookshelf-books{border-bottom-color:#866f5e;box-shadow:inset 0 -1px #b49577}html[data-theme=dark] .bookshelf-open,html[data-theme=dark] .mri-bookshelf{background:#1a3041;color:#e6eef5;border-color:var(--line)}html[data-theme=dark] .bookshelf-open .recent-lesson-badge{background:#624b20;color:#fff1c7}html[data-theme=dark] .lesson-row-quiz{background:#243f54;border-color:#507895;color:#c2e5fb}@media(hover:hover){html[data-theme=dark] .lesson-row-quiz:hover{background:#315773}}html[data-theme=dark] .spine-free{background:#875416;color:#fff;border-color:#d49a42}html[data-theme=dark] .spine-free .spine-number{background:#fff0c9;color:#593700}@media(max-width:380px){.mri-bookshelf,.bookshelf-open{padding:15px}}.book-test-entry{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding:18px;border:1px solid #a7c3d9;border-radius:14px;background:#f1f7fb;overflow-wrap:anywhere}.bookshelf-spine .spine-passed{display:block;margin-top:5px;color:#e0fff0;font-size:11px;font-weight:800;white-space:nowrap}.book-test-entry>div{min-width:0;flex:1 1 190px}.book-test-entry strong{display:block;color:#153e62}.book-test-entry p{margin:5px 0;color:#52677a;font-size:13px;line-height:1.6}.book-test-entry small{display:block;margin-top:5px;color:#52677a}.book-test-passed{display:inline-block;margin-top:5px;padding:3px 8px;border-radius:99px;background:#dff3e8;color:#176344;font-size:12px;font-weight:800}.book-test-entry>a,.book-test-locked{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:8px 12px;border-radius:9px;font-size:13px;font-weight:800}.book-test-entry>a{background:#123c69;color:#fff}.book-test-locked{color:#52677a}.book-test-entry>a:focus-visible{outline:3px solid #e5a83e;outline-offset:2px}html[data-theme=dark] .book-test-entry{background:#243f54;border-color:#507895}html[data-theme=dark] .book-test-entry strong{color:#e6eef5}html[data-theme=dark] .book-test-entry p,html[data-theme=dark] .book-test-entry small,html[data-theme=dark] .book-test-locked{color:#c2d7e7}html[data-theme=dark] .book-test-passed{background:#245c46;color:#d5f5e4}html[data-theme=dark] .book-test-entry>a{background:#d5eaff;color:#123c69}@media(prefers-reduced-motion:reduce){.bookshelf-spine{transition:none}}.compact-heading{margin-bottom:16px}.brand-logo{display:block;flex:none;width:38px;height:38px}.compact-heading h1{margin-bottom:5px;font-size:27px}.compact-heading>p:last-child{font-size:13px;line-height:1.65}.mri-catalog .mri-bookshelf{margin-top:0}.catalog-pack-note{margin-top:24px;padding:14px 0 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.catalog-pack-note p{margin:0 0 6px}.catalog-pack-note>div{display:flex;flex-wrap:wrap;gap:8px 20px}.catalog-pack-note a{display:inline-flex;align-items:center;gap:4px;min-height:44px;color:var(--blue);font-weight:700}.lookup-page .lesson-search{margin:0 0 18px;background:var(--paper)}.lookup-page .lesson-search label{margin-bottom:12px;color:var(--text-strong)}.lookup-page .lesson-search-field{background:var(--surface-input)}.lookup-page .lesson-search-field input{color:var(--text-input)}.lookup-result-count{margin:0 0 20px;font-size:12px;color:var(--muted)}.lookup-result-nav{display:flex;flex-wrap:wrap;gap:7px;margin:-8px 0 20px}.lookup-result-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:99px;background:var(--paper);color:var(--blue);font-size:12px;font-weight:700}.lookup-results>section[id]{scroll-margin-top:90px}.lookup-results>section{margin-bottom:26px}.lookup-results h2{display:flex;align-items:baseline;gap:8px;margin:0 0 12px;font-size:18px;color:var(--text-strong)}.lookup-results h2 span{font-size:12px;font-weight:500;color:var(--muted)}.lookup-empty{margin:0;padding:15px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px;line-height:1.8}.lookup-empty a{color:var(--blue);font-weight:700}.lookup-lesson-result{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}.lookup-lesson-result>.lesson-search-result{border:0;border-radius:0;background:transparent}.lookup-section-results{margin:0 16px 12px;border-top:1px solid var(--line)}.lookup-section-results>a{display:grid;gap:5px;padding:12px 0;border-bottom:1px solid var(--line)}.lookup-section-results>a:last-of-type{border-bottom:0}.lookup-section-results strong{display:flex;align-items:center;gap:6px;color:var(--blue);font-size:13px}.lookup-section-results strong svg{flex:none}.lookup-section-results span{font-size:12px;line-height:1.75;color:var(--muted);overflow-wrap:anywhere}.lookup-section-results small{display:block;margin-top:7px;color:var(--muted);font-size:11px}.lookup-more-sections summary{display:flex;align-items:center;min-height:44px;color:var(--blue);font-size:12px;font-weight:700;cursor:pointer}.lookup-more-sections>div{display:grid;gap:12px;padding:6px 0 10px}.lookup-more-sections a{display:grid;gap:5px}.lookup-resources{display:grid;gap:10px;margin-top:24px}.lookup-resources>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:18px 16px;background:var(--paper);border:1px solid var(--line);border-radius:15px}.lookup-resources svg{color:var(--blue)}.lookup-resources>a>div{display:grid;gap:5px}.lookup-resources strong{font-size:16px;color:var(--text-strong)}.lookup-resources span{font-size:12px;line-height:1.7;color:var(--muted)}.lookup-resources small{font-size:11px;color:var(--muted)}.lesson-note-card[id]{scroll-margin-top:90px}.lesson-note-card:target,.lesson-note-card.is-search-target{outline:2px solid var(--blue);outline-offset:3px}.home-focused{padding-top:20px}.home-greeting{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;margin-bottom:15px}.home-greeting h1{margin:0;font-family:Zen Old Mincho,serif;font-size:24px;color:var(--text-strong)}.home-greeting p{margin:0;font-size:12px;color:var(--muted)}.first-use-card{margin:0 0 14px;padding:16px;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:14px;background:var(--paper);color:var(--text-strong)}.first-use-card h2{margin:0 0 8px;font-size:16px}.first-use-card p{margin:4px 0;color:var(--muted);font-size:12px;line-height:1.7}.first-use-card>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.first-use-card a,.first-use-card button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:9px 13px;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer}.first-use-card a{background:var(--navy);color:#fff}.first-use-card button{border:1px solid var(--line);background:var(--paper);color:var(--muted)}.first-use-card .first-use-picks{display:grid;gap:8px;margin-top:13px}.first-use-card .first-use-picks a{display:flex;justify-content:space-between;min-width:0;padding:12px;background:var(--surface-tint);color:var(--text-strong);text-align:left}.first-use-picks a span{display:grid;min-width:0;gap:3px}.first-use-picks a strong{font-size:13px;line-height:1.5}.first-use-picks a small{color:var(--muted);font-size:11px;line-height:1.5}.home-focused .continue-card{padding:18px 16px;gap:11px}.home-focused .continue-card>div:nth-child(2){min-width:0}.home-focused .continue-card strong{font-size:15px;overflow-wrap:anywhere}.home-focused .continue-card>svg{width:18px;height:18px}.home-focused .icon-disc{width:38px;height:42px}.home-review-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-top:12px;padding:16px;background:var(--paper);border:1px solid var(--line);border-radius:15px}.home-review-card>svg,.home-review-card>b{color:var(--blue)}.home-review-card>div{display:grid;gap:4px}.home-review-card strong{font-size:15px;color:var(--text-strong)}.home-review-card span{font-size:11px;line-height:1.7;color:var(--muted)}.home-review-card>b{font-size:18px;white-space:nowrap}.home-review-card.has-review{border-color:var(--blue)}.home-focused .progress-overview{padding:16px;margin:16px 0 24px}.home-focused .progress-overview-heading h2{font-size:23px}.home-focused .progress-overview-heading>strong{font-size:20px}.home-focused .overall-progress{height:6px;margin:10px 0 12px;background:var(--surface-switch)}.home-category-progress{display:flex;flex-wrap:wrap;gap:8px 20px}.home-category-progress p{display:flex;gap:8px;margin:0;color:var(--muted);font-size:12px}.home-category-progress strong{color:var(--text-strong)}.home-external h2{margin:0 0 10px;font-size:14px;color:var(--muted)}.home-external-cards{display:grid;gap:10px}.home-external-cards>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.home-external-cards svg{color:var(--blue)}.home-external-cards>a>div{display:grid;gap:4px}.home-external-cards strong{font-size:14px;color:var(--text-strong)}.home-external-cards span{font-size:12px;color:var(--muted)}.home-pack-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:24px;padding:16px;border-radius:14px;background:var(--surface-subtle);border:1px solid var(--line);color:var(--blue)}.home-pack-card>div{display:grid;gap:5px}.home-pack-card strong{font-size:13px}.home-pack-card span{font-size:12px;color:var(--muted)}@media(min-width:720px){.home-external-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.home-external-cards>a:only-child{grid-column:1/-1}}.staging-badge{position:fixed;right:8px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:9;padding:4px 8px;border:1px solid #a97014;border-radius:999px;background:#fff0c8;color:#654000;font-size:11px;font-weight:800;box-shadow:0 2px 8px #0002;pointer-events:none}.install-guide{margin:0 0 14px;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--text-strong)}.install-guide.settings-card{display:block;margin:14px 0}.install-guide-head{display:flex;align-items:flex-start;gap:10px}.install-guide-head>svg{flex:none;color:var(--blue)}.install-guide h2{margin:0;font-size:15px}.install-guide p{margin:5px 0;color:var(--muted);font-size:12px;line-height:1.7}.install-guide-browser{margin-top:12px!important}.install-guide-steps{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}.install-guide-steps li{display:flex;align-items:center;gap:6px;min-height:42px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface-tint);font-size:11px}.install-guide-steps li span{display:grid;place-items:center;color:var(--blue)}.install-guide-steps b{font-weight:700}.install-guide-action,.install-guide-dismiss{min-height:44px;margin-top:12px;padding:8px 12px;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer}.install-guide-action{border:0;background:var(--navy);color:#fff}.install-guide-dismiss{border:1px solid var(--line);background:var(--paper);color:var(--muted)}.install-guide-installed{display:flex;align-items:center;gap:6px;margin-top:12px!important;color:var(--blue)!important}.lesson-page .recall-prose>ul{border-left:2px solid var(--line);list-style-type:square;margin:1.3em 0;padding-left:1.7em}.lesson-page .recall-prose>ul>li{margin:1em 0;line-height:1.95;padding-left:.15em}.lesson-page .recall-prose>ul>li::marker{color:var(--blue);font-size:.8em}.lesson-page .recall-prose>ol{counter-reset:lesson-step;list-style:none;margin:1.3em 0;padding-left:0}.lesson-page .recall-prose>ol>li{counter-increment:lesson-step;margin:1em 0;min-height:1.9em;padding-left:2.45em;position:relative;line-height:1.95}.lesson-page .recall-prose>ol>li:before{align-items:center;background:var(--navy);border-radius:50%;color:#fff;content:counter(lesson-step);display:flex;font-size:.75em;font-weight:800;height:2.25em;justify-content:center;left:0;line-height:1;position:absolute;top:.35em;width:2.25em}html[data-theme=dark] .lesson-page .recall-prose>ol>li:before{background:var(--blue);color:#102638}.markdown .glossary-term-trigger{display:inline;padding:0;border:0;border-radius:0;background:transparent;color:var(--blue);font:inherit;font-weight:800;line-height:inherit;text-align:inherit;text-decoration:underline;text-decoration-style:solid;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer}.markdown a.lesson-inline-link,.lesson-inline-link{color:var(--blue);font-weight:800;text-decoration:none;white-space:nowrap}.lesson-inline-link:after{content:" →";font-size:.8em}.lesson-inline-link:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:3px}.markdown .glossary-term-trigger:hover,.markdown .glossary-term-trigger:active{background:var(--surface-tint)}.markdown .glossary-term-trigger:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:3px}.glossary-term-dialog{width:min(440px,calc(100vw - 24px));max-width:none;max-height:min(70vh,540px);margin:auto auto max(12px,env(safe-area-inset-bottom));padding:0;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--text-strong);box-shadow:0 22px 70px #0c1f3066}.glossary-term-dialog::backdrop{background:#0c1f30a8}.glossary-term-sheet{padding:18px 20px 20px}.glossary-term-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.glossary-term-head strong{font-size:19px;line-height:1.45}.glossary-term-head button{flex:none;min-width:54px;min-height:44px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--blue);font-size:13px;font-weight:800;cursor:pointer}.glossary-term-sheet small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.glossary-term-sheet p{margin:14px 0 18px;font-size:15px;line-height:1.85}.glossary-term-sheet>a{display:inline-flex;align-items:center;min-height:44px;color:var(--blue);font-size:14px;font-weight:800;text-decoration:underline;text-underline-offset:3px}html[data-theme=dark] .markdown .glossary-term-trigger:hover{background:#29475d}html[data-theme=dark] .glossary-term-dialog{background:#1a3041;color:#eaf4fc;border-color:#557084}html[data-theme=dark] .glossary-term-head button{background:#21394d;color:#a9dbf8;border-color:#557084}.lesson-section-heading{padding-right:88px;min-height:40px}.lesson-section-actions{position:relative;display:flex;justify-content:flex-end;gap:3px;height:0;top:-42px;margin-bottom:0}.lesson-section-actions button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--blue);cursor:pointer}.lesson-section-actions button[aria-pressed=true]{background:#e1edf7;color:#164e7a}.lesson-section-actions button:focus-visible,.text-selection-menu button:focus-visible,.text-mark-menu button:focus-visible,.user-text-mark-focus:focus-visible{outline:3px solid #df9515;outline-offset:2px}.lesson-note{margin:4px 0 14px}.lesson-note:not(.has-note):not(:has(textarea)){display:none}.lesson-note .section-note-indicator{display:inline-flex;align-items:center;gap:5px;min-height:36px}.lesson-note .note-privacy-hint{margin:4px 0;color:var(--muted);font-size:11px}.lesson-note .existing-note-text{white-space:pre-wrap;overflow-wrap:anywhere}.user-text-mark{position:absolute;border-radius:2px;pointer-events:none;mix-blend-mode:multiply}.user-text-mark.yellow{background:#ffd3437a;box-shadow:inset 0 -2px #c28a12}.user-text-mark.blue{background:#5db8e466;box-shadow:inset 0 -2px #2874a1}.user-text-mark.pink{background:#eb7ab161;box-shadow:inset 0 -2px #b04777}.user-text-mark.note-only{box-shadow:inset 0 -2px #527d9d}.user-text-mark-focus{position:absolute;z-index:3;padding:0;border:0;border-radius:2px;background:transparent;pointer-events:none}.user-text-mark-note{position:absolute;z-index:3;color:#275374;pointer-events:none;filter:drop-shadow(0 0 2px var(--paper))}.text-action-menu{z-index:8;width:max-content;max-width:min(330px,calc(100vw - 24px));max-height:calc(100dvh - 150px);overflow:auto;padding:5px;border:1px solid #9db7c8;border-radius:13px;background:var(--paper);color:var(--navy);box-shadow:0 5px 22px #132f4450;pointer-events:auto;font-size:12px}.text-action-menu.is-near{position:absolute}.text-action-menu.is-docked{position:fixed;left:50%;bottom:max(76px,calc(66px + env(safe-area-inset-bottom)));transform:translate(-50%)}.text-action-row{display:flex;align-items:center;gap:2px}.text-action-row button{display:grid;place-items:center;flex:none;width:43px;height:43px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--navy);cursor:pointer}.text-action-row button[aria-pressed=true]{background:#e6f0f6}@media(hover:hover){.text-action-row button:hover{background:#e6f0f6}}.mark-color-dot{display:block;width:20px;height:20px;border:1px solid #7b8891;border-radius:50%}.mark-color-dot.yellow{background:#f1c54e}.mark-color-dot.blue{background:#74b6d6}.mark-color-dot.pink{background:#e6a2c4}.text-action-row button[aria-pressed=true] .mark-color-dot{outline:2px solid var(--navy);outline-offset:2px}.text-action-note{display:grid;gap:5px;width:min(318px,calc(100vw - 36px));padding:6px 3px 3px}.text-action-note label{font-weight:700}.text-action-note textarea{display:block;width:100%;min-height:70px;padding:8px;border:1px solid #9db7c8;border-radius:7px;background:var(--paper);color:var(--navy);font:inherit;resize:vertical}.text-action-note button{min-height:43px;padding:7px 12px;border:1px solid #9db7c8;border-radius:7px;background:#e6f0f6;color:var(--navy);font:inherit;font-weight:700;cursor:pointer}.text-action-note button:disabled{opacity:.55;cursor:not-allowed}.my-marks-tabs{display:flex;gap:6px;margin:16px 0;overflow-x:auto}.my-marks-tabs button{min-height:42px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--navy);white-space:nowrap;font-weight:700}.my-marks-tabs button[aria-selected=true]{background:var(--navy);color:#fff}.my-mark-excerpt{padding:8px 10px;border-radius:8px;background:#f1f6fa;white-space:pre-wrap;overflow-wrap:anywhere}.my-mark-color{display:inline-block;width:12px;height:12px;margin-right:5px;border-radius:50%;background:#d9a829}.my-mark-color.blue{background:#3689b8}.my-mark-color.pink{background:#c25e91}html[data-theme=dark] .lesson-section-actions button,html[data-theme=dark] .text-action-menu,html[data-theme=dark] .text-action-note textarea,html[data-theme=dark] .my-marks-tabs button{background:#203a4d;color:#e6eef5;border-color:#66869a}html[data-theme=dark] .text-action-row button{color:#e6eef5}html[data-theme=dark] .text-action-row button[aria-pressed=true],html[data-theme=dark] .text-action-note button{background:#34546b;color:#e6eef5}@media(hover:hover){html[data-theme=dark] .text-action-row button:hover{background:#34546b;color:#e6eef5}}html[data-theme=dark] .user-text-mark-note{color:#c9e7f6}html[data-theme=dark] .my-marks-tabs button[aria-selected=true]{background:#a9dbf8;color:#102b3b}html[data-theme=dark] .my-mark-excerpt{background:#203a4d}html[data-theme=dark] .user-text-mark{mix-blend-mode:screen}.faq-groups{display:grid;gap:28px;margin-top:24px}.faq-group h2{display:flex;align-items:baseline;gap:10px;margin:0 0 12px;font-size:19px;color:var(--text-strong)}.faq-group h2 span{font-size:12px;font-weight:500;color:var(--muted)}.faq-list{display:grid;gap:9px}.faq-item{border:1px solid var(--line);border-radius:14px;background:var(--paper);scroll-margin-top:130px;overflow:hidden}.faq-item[open]{border-color:var(--blue)}.faq-item summary{display:flex;align-items:flex-start;gap:11px;min-height:54px;padding:15px;cursor:pointer;color:var(--text-strong);font-size:14px;font-weight:700;line-height:1.7;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"+";margin-left:auto;color:var(--blue);font-size:21px;line-height:1}.faq-item[open] summary:after{content:"−"}.faq-item summary>span:nth-child(2){flex:1;min-width:0}.faq-question-number{flex:none;color:var(--blue);font-size:12px}.faq-answer{border-top:1px solid var(--line);padding:0 15px 16px 43px}.faq-answer p{margin:13px 0;color:var(--text-strong);font-size:14px;line-height:1.85;overflow-wrap:anywhere}.faq-links{display:grid;gap:5px}.faq-links a{display:flex;align-items:center;min-height:44px;color:var(--blue);font-size:12px;font-weight:700;line-height:1.55}.faq-links a:hover{text-decoration:underline}@media(max-width:390px){.faq-answer{padding-left:15px}}.topbar-notice-link{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;margin-left:auto;border-radius:10px;color:var(--blue)}.topbar-notice-link:hover,.topbar-notice-link.active{background:var(--surface-tint)}.topbar-notice-count{position:absolute;top:1px;right:0;display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border-radius:99px;background:#b43b38;color:#fff!important;font-size:10px!important;font-weight:800}.home-notice-card,.app-notice-item{border:1px solid var(--line);border-radius:15px;background:var(--paper);color:var(--text-strong)}.home-notice-card{margin:0 0 15px;padding:16px;border-left:4px solid var(--blue)}.home-notice-head,.app-notice-heading{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.home-notice-head span{color:var(--blue);font-weight:800}.home-notice-card h2{margin:9px 0 5px;font-size:16px;line-height:1.5}.home-notice-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;color:var(--muted);font-size:13px;line-height:1.7}.home-notice-actions{display:flex;align-items:center;gap:10px;margin-top:12px}.home-notice-actions a,.home-notice-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 13px;border-radius:9px;font-size:12px;font-weight:700}.home-notice-actions a{background:var(--navy);color:#fff}.home-notice-actions button{border:1px solid var(--line);background:var(--paper);color:var(--text-strong);cursor:pointer}.app-notices-page .page-heading{margin-bottom:19px}.push-settings{margin:0 0 18px;padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--paper);color:var(--text-strong)}.push-settings h2{margin:0 0 6px;font-size:16px}.push-settings p{margin:6px 0 10px;font-size:13px;line-height:1.6;color:var(--muted)}.push-settings button{min-height:44px;padding:9px 14px;border:0;border-radius:9px;background:var(--navy);color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.push-settings button:disabled{opacity:.5}.push-settings a{color:var(--blue);text-decoration:underline}html[data-theme=dark] .push-settings{background:#1a3041;color:#e6eef5}html[data-theme=dark] .push-settings button{background:#3573a3}.app-notice-list{display:grid;gap:11px}.app-notice-item{scroll-margin-top:90px;overflow:hidden}.app-notice-item.is-unread{border-left:4px solid var(--blue)}.app-notice-item summary{display:grid;gap:5px;padding:15px 17px;cursor:pointer;list-style:none}.app-notice-item summary::-webkit-details-marker{display:none}.app-notice-item summary strong{font-size:15px;line-height:1.5}.app-notice-item.is-read summary strong{font-weight:600}.app-notice-unread,.app-notice-pinned{padding:2px 6px;border-radius:99px;font-size:10px;font-weight:700}.app-notice-unread{background:var(--surface-tint);color:var(--blue)}.app-notice-pinned{background:#fff0d3;color:#805300}.app-notice-open{font-size:11px;color:var(--blue)}.app-notice-item[open] .app-notice-open{display:none}.app-notice-body{padding:0 17px 17px;border-top:1px solid var(--line);font-size:13px;line-height:1.8;overflow-wrap:anywhere}.app-notice-body p{margin:13px 0}.app-notice-body ul,.app-notice-body ol{padding-left:21px}.app-notice-body a,.app-notice-legal a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}.app-notice-destination{display:inline-block;margin-top:5px;font-weight:700}.app-notice-legal{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:24px;font-size:12px}html[data-theme=dark] .topbar-notice-link{color:#a9dbf8}html[data-theme=dark] .topbar-notice-link:hover,html[data-theme=dark] .topbar-notice-link.active{background:#29475d}html[data-theme=dark] .app-notice-pinned{background:#4d3b20;color:#ffe0a1}html[data-theme=dark] .home-notice-actions a{background:#3573a3}@media(max-width:390px){.topbar{gap:7px}.topbar-brand span,.lesson-header-tools-trigger span,.lesson-header-recall-trigger span{display:none}.lesson-header-tools-trigger,.lesson-header-recall-trigger{min-width:36px;padding:7px}}
