:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #111e20; color: #e8f3f2; }
* { box-sizing: border-box; }
body { margin: 0; }
.mock-picker { width: min(calc(100% - 32px), 1468px); margin: 12px auto 0; padding: 18px; border: 1px solid #425e5d; border-radius: 16px; background: #192a2c; }
.mock-picker h2 { margin: 0; font-size: 1.15rem; }
.mock-picker p { margin: 5px 0 14px; color: #a3bdbb; }
.mock-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.mock-options a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 16px; border: 1px solid #7acabd; border-radius: 10px; background: #304e4d; color: #e8f3f2; font-weight: 700; text-decoration: none; }
.mock-options a:hover { background: #3b605d; }
.mock-options span { color: #bce9e1; }
.page-header, main, footer { width: min(100%, 1500px); margin: auto; padding: 16px; }
.page-header { padding-bottom: 4px; }
h1 { margin: 0; font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
.page-header p { margin: 5px 0 0; color: #a3bdbb; }
button, a { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #8fe2d5; outline-offset: 2px; }
.group, .topic { min-width: 0; border: 1px solid #425e5d; border-radius: 16px; background: #192a2c; overflow: hidden; }
.group[open], .topic[open] { border-color: #7acabd; background: #233b3b; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.group-header, .topic-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 18px; }
.group[open] > .group-header, .topic[open] > .topic-header { background: #304e4d; }
.group-header h2, .topic-header h3 { margin: 0; line-height: 1.35; }
.group-header h2 { font-size: 1.15rem; }
.topic-header h3 { font-size: 1rem; }
.count { color: #a8c1bf; font-size: .85rem; white-space: nowrap; }
.chevron { width: 11px; height: 11px; margin: 0 4px 5px; border-right: 2px solid #8ad7ca; border-bottom: 2px solid #8ad7ca; transform: rotate(45deg); }
details[open] > summary .chevron { transform: rotate(225deg); margin-bottom: -5px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; padding: 12px; }
.topic-header { min-height: 76px; padding: 14px; }
.topic-body { padding: 0 12px 12px; }
.sets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.set { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 108px; padding: 35px 7px 10px; border: 1px solid #486261; border-radius: 10px; background: #192a2c; color: inherit; text-decoration: none; overflow: hidden; }
.set:hover { border-color: #8ad7ca; }
.set strong { font-size: .88rem; }
.status { margin-top: auto; color: #a8c1bf; font-size: .73rem; line-height: 1.35; overflow-wrap: anywhere; }
.badge { position: absolute; top: 5px; right: 5px; padding: 2px 6px; border-radius: 99px; font-size: .7rem; font-weight: 600; }
.badge-all { background: #374151; color: #e0e5ef; }
.badge-easy { background: #14532d; color: #bbf7d0; }
.badge-medium { background: #78350f; color: #fde68a; }
.badge-hard { background: #7f1d1d; color: #fecaca; }
.bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: #425e5d; }
.bar span { display: block; height: 100%; background: #80d3c4; }
.read-link { display: inline-block; margin-top: 10px; color: #9de1d6; font-size: .82rem; }
footer { color: #9bb3b1; font-size: .8rem; padding-top: 0; }
@media (max-width: 1050px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .topic-grid { grid-template-columns: minmax(0, 1fr); } .group-header, .topic-header { gap: 8px; padding: 12px; } .group-header { grid-template-columns: minmax(0, 1fr) auto; } .group-header .count { grid-column: 1; grid-row: 2; } .group-header .chevron { grid-column: 2; grid-row: 1 / 3; } }
