:root { color-scheme: dark; font: 16px/1.85 system-ui, -apple-system, "Noto Sans JP", sans-serif; color: #d9e5e6; background: #070b11; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at top, #11252c, #070b11 620px); }
a { color: #8cf2cb; text-underline-offset: .22em; }
:where(a, summary):focus-visible { outline: 2px solid #b5ffe5; outline-offset: 4px; }
.lesson-shell { width: min(100%, 880px); margin-inline: auto; padding: 18px clamp(14px, 5vw, 44px) 36px; overflow-wrap: anywhere; }
.lesson-breadcrumb { display: flex; gap: 6px 10px; flex-wrap: wrap; font-size: .78rem; color: #9bb2bb; }
.lesson-hero { margin-top: 28px; padding: clamp(16px, 5vw, 32px); border: 1px solid #345448; background: #102019; border-radius: 12px; }
.lesson-hero h1 { margin: 8px 0 14px; font-size: clamp(1.55rem, 5.4vw, 2.35rem); line-height: 1.42; color: #f3faf7; }
.lesson-hero p { margin: 0 0 14px; }
.lesson-hero .lesson-kicker { color: #97d7bf; font-size: .76rem; font-weight: 700; letter-spacing: .08em; }
.lesson-hero .lesson-note { margin: 8px 0 0; color: #adc6bf; font-size: .76rem; }
.lesson-cta { display: inline-flex; align-items: center; min-height: 46px; border-radius: 7px; padding: 8px 14px; background: #52ebb1; color: #07231b; font-weight: 800; text-decoration: none; }
.lesson-cta:hover { background: #8cf2cb; }
article section, .lesson-related { border-bottom: 1px solid #263841; padding-block: 26px; }
h2 { margin: 0 0 12px; font-size: clamp(1.18rem, 4vw, 1.48rem); line-height: 1.5; color: #f0faf6; }
h3 { margin: 14px 0 6px; font-size: 1rem; }
p, ol, ul { margin: 0 0 12px; }
ol, ul { padding-inline-start: 1.5em; }
li + li { margin-top: 5px; }
li::marker { color: #74e8ba; }
details, .lesson-play { background: #101f20; border: 1px solid #31534a; border-radius: 8px; padding: 14px; margin-top: 16px; }
details summary { cursor: pointer; color: #a4f8d6; font-weight: 700; }
details p { margin: 12px 0 0; }
.lesson-play { margin-block: 24px 0; padding: 22px; }
.lesson-sources, .lesson-related, footer { font-size: .89rem; }
.lesson-shell footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; color: #9bb2bb; }
table { width: 100%; border-collapse: collapse; text-align: right; font-variant-numeric: tabular-nums; font-size: clamp(.75rem, 3vw, .9rem); }
caption { color: #9bb2bb; text-align: left; margin-bottom: 6px; }
th, td { border-bottom: 1px solid #2a3e47; padding: 8px 5px; }
thead { background: #17282c; }
.lesson-table th:first-child, .lesson-table td:first-child { text-align: left; }
.reading-example { margin: 18px 0 0; padding: 14px; background: #0d1720; border: 1px solid #2a3e47; border-radius: 8px; }
.reading-example-panels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.reading-example-panels h3 { margin-top: 0; }
.reading-example-panels p, .reading-example figcaption { font-size: .81rem; color: #afc6ca; margin-top: 12px; }
.reading-example .example-sell { color: #ff97a5; }
.reading-example .example-buy { color: #7be6bd; }
@media (max-width: 560px) {
  :root { font-size: 15px; }
  .reading-example-panels { grid-template-columns: 1fr; }
}
