:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #f3f7fc; color: #18304e; }
.topbar { background: #102b52; color: #fff; padding: 16px max(18px, calc((100vw - 850px) / 2)); display: flex; justify-content: space-between; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 800; }
.wrap { width: min(100% - 32px, 760px); margin: 30px auto 80px; }
h1 { margin: 0 0 8px; font-size: clamp(1.65rem, 6vw, 2.5rem); }
.intro { margin: 0 0 26px; color: #4e627c; line-height: 1.5; }
label { display: block; font-weight: 700; margin-bottom: 8px; }
.select { display: block; width: 100%; min-height: 48px; border: 1px solid #b7c8df; border-radius: 12px; background: white; color: #102b52; padding: 10px 14px; font-size: 1rem; margin-bottom: 22px; }
.topic-card { background: white; border-radius: 15px; border: 1px solid #e0e9f4; margin: 12px 0; box-shadow: 0 3px 12px #102b520c; overflow: hidden; }
.topic-card summary { list-style: none; cursor: pointer; min-height: 62px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 750; }
.topic-card summary::-webkit-details-marker { display: none; }
.topic-card[open] .chevron { transform: rotate(180deg); }
.chevron { color: #138ba4; font-size: 1.4rem; transition: transform .15s; }
.subtopics { border-top: 1px solid #e0e9f4; padding: 4px 12px 12px; }
.subtopic { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 50px; padding: 12px; color: #124c80; text-decoration: none; border-bottom: 1px solid #edf2f8; }
.subtopic:last-child { border-bottom: 0; }
.subtopic:focus-visible, .topic-card summary:focus-visible { outline: 3px solid #06a9ca; outline-offset: -3px; }
.status { display: block; color: #a32d36; margin-bottom: 12px; }
.note { margin-top: 24px; color: #61748c; font-size: .9rem; }
@media (min-width: 650px) { .wrap { margin-top: 50px; } }
.literature-settings {
    background: #fff;
    border: 1px solid #dce7f2;
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
}

    .literature-settings p {
        margin: 8px 0 16px;
        color: #526780;
    }

.literature-link {
    display: inline-block;
    background: #123b70;
    color: #fff;
    padding: 12px 18px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 600;
}
