.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.resource-card { --accent: #14866d; --accent-soft: color-mix(in srgb, var(--accent) 11%, var(--panel)); position: relative; overflow: hidden; padding: 23px; border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: 17px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 4%, var(--panel)), var(--panel) 48%); box-shadow: var(--shadow-soft); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.resource-card::before { position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); content: ""; }
.resource-card:hover, .resource-card:focus-within { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 14%, transparent), var(--shadow-soft); }
.resource-card:nth-child(7n + 2) { --accent: #2864d7; }
.resource-card:nth-child(7n + 3) { --accent: #1597a5; }
.resource-card:nth-child(7n + 4) { --accent: #7956bf; }
.resource-card:nth-child(7n + 5) { --accent: #ca7c20; }
.resource-card:nth-child(7n + 6) { --accent: #c74d68; }
.resource-card:nth-child(7n) { --accent: #17826b; }
.resource-card .resource-index { color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, var(--panel)); }
.resource-card h3 { color: color-mix(in srgb, var(--accent) 78%, var(--ink)); }
.resource-domain-note { margin: -7px 0 12px; color: var(--muted); font-size: 12px; }
.resource-index { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--accent); background: var(--accent-soft); font-size: 12px; font-weight: 850; }
.resource-card h3 { margin: 15px 0 13px; font-size: 20px; }
.resource-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.resource-links a { position: relative; display: grid; gap: 4px; padding: 12px 36px 12px 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); text-decoration: none; transition: border-color .18s, transform .18s; }
.resource-links a:hover, .resource-links a:focus-visible { transform: translateY(-1px); border-color: var(--accent); outline: none; }
.resource-links strong { font-size: 14px; }
.resource-links a > span:nth-of-type(1) { color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 540px) { .resource-links { gap: 6px; }.resource-links a { padding: 10px 26px 10px 10px; }.resource-links strong { font-size: 12px; }.resource-links a > span:nth-of-type(1) { font-size: 11px; line-height: 1.4; } }
.resource-open { position: absolute; top: 13px; right: 13px; color: var(--accent); font-size: 15px; }
.resource-note { display: flex; align-items: center; gap: 10px; margin-top: 11px; color: var(--muted); font-size: 14px; }
.resource-note span { color: var(--accent); font: 800 12px/1 ui-monospace, monospace; }
.faq-jumps { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.faq-jumps a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--accent); background: var(--panel); font-size: 13px; font-weight: 700; text-decoration: none; }
.faq-list { display: grid; gap: 9px; max-width: 900px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-soft); scroll-margin-top: 180px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 19px; color: var(--ink); font-size: 16px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 8px; color: var(--accent); background: var(--accent-soft); font-size: 18px; transition: transform .18s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item > div { padding: 0 19px 18px; }
.faq-item p { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.glossary-search { display: flex; align-items: center; gap: 9px; min-height: 46px; margin: 14px 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.glossary-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.glossary-search > span { color: var(--accent); font-size: 20px; }
.glossary-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 14px; }
.glossary-aside > p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.glossary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.glossary-card { min-height: 185px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); box-shadow: var(--shadow-soft); }
.glossary-card > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.glossary-card h3 { margin: 0; font-size: 17px; }
.glossary-abbr { flex: 0 0 auto; padding: 4px 7px; border-radius: 7px; color: var(--accent); background: var(--accent-soft); font: 800 10px/1.3 ui-monospace, monospace; }
.glossary-card p { margin: 13px 0 0; color: var(--ink); font-size: 14px; line-height: 1.65; }
.glossary-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.glossary-empty { grid-column: 1/-1; padding: 22px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.practice-main { max-width: 1220px; }
.practice-hero { grid-template-columns: minmax(0, 1.5fr) minmax(270px, .75fr); }
.practice-promise { align-self: stretch; }
.practice-symbol { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: var(--accent); background: var(--accent-soft); font-size: 25px; }
.practice-promise h2 { margin: 18px 0 6px; font-size: 20px; }
.practice-promise p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.practice-card { display: flex; flex-direction: column; min-height: 295px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); box-shadow: var(--shadow-soft); }
.practice-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.practice-number { color: var(--accent); font: 800 12px/1 ui-monospace, monospace; }
.practice-tag { padding: 6px 9px; border-radius: 8px; color: var(--accent); background: var(--accent-soft); font-size: 11px; font-weight: 750; }
.practice-card h3 { margin: 17px 0 7px; font-size: 21px; }
.practice-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.practice-outcome { display: grid; gap: 4px; margin-top: 16px; padding: 11px 12px; border-left: 3px solid var(--accent); border-radius: 0 9px 9px 0; background: color-mix(in srgb, var(--accent-soft) 42%, var(--panel)); }
.practice-outcome strong { color: var(--ink); font-size: 12px; }
.practice-outcome span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.practice-courses { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 17px; }
.practice-courses a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--panel); font-size: 12px; font-weight: 700; text-decoration: none; }
.practice-courses a:hover, .practice-courses a:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.practice-courses img { width: 21px; height: 21px; object-fit: contain; }
.practice-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--accent-soft) 38%, var(--panel)); }
.practice-callout h2 { margin: 4px 0 5px; font-size: 20px; }
.practice-callout p:last-child { max-width: 730px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
@media (max-width: 800px) { .practice-hero { grid-template-columns: 1fr; }.practice-grid { grid-template-columns: 1fr; }.practice-callout { align-items: flex-start; flex-direction: column; } }
.cheat-main { max-width: 1220px; font-size: 16px; }
.cheat-hero { grid-template-columns: minmax(0, 1.5fr) minmax(270px, .8fr); }
.cheat-intro { align-self: stretch; }
.cheat-intro-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 13px; color: var(--accent); background: var(--accent-soft); font: 800 19px/1 ui-monospace, monospace; }
.cheat-intro h2 { margin: 17px 0 6px; font-size: 20px; }
.cheat-intro > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.cheat-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 10px; }
.cheat-index-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; flex: 1 1 285px; min-height: 82px; padding: 13px 15px; }
.cheat-index-icons { display: inline-flex; align-items: center; gap: 2px; }
.cheat-index-icons img { width: 29px; height: 29px; object-fit: contain; }
.cheat-index-card > span { display: grid; align-content: center; gap: 4px; }
.cheat-index-card strong { color: var(--ink); font-size: 15px; }
.cheat-index-card small { color: var(--muted); font-size: 12px; font-weight: 500; }
.cheat-index-card > b { color: var(--accent); font-size: 19px; }
.cheat-index-card:hover strong { color: var(--accent); }
.cheat-index-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--panel); font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .16s, transform .16s; }
.cheat-index-link:hover, .cheat-index-link:focus-visible { transform: translateY(-1px); border-color: var(--accent); color: var(--accent); outline: none; }
.cheat-index-link img { width: 23px; height: 23px; object-fit: contain; }
.cheat-copy-status { min-height: 24px; margin: 8px 0 5px; color: var(--accent); font-size: 14px; }
.cheat-list { display: grid; gap: 10px; }
.cheat-course { overflow: clip; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow-soft); scroll-margin-top: 180px; }
.cheat-course > summary { display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 14px 18px; cursor: pointer; list-style: none; }
.cheat-course > summary::-webkit-details-marker { display: none; }
.cheat-course > summary:hover { background: color-mix(in srgb, var(--accent-soft) 35%, var(--panel)); }
.cheat-course-icons { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.cheat-course-icons img { width: 34px; height: 34px; object-fit: contain; }
.cheat-course-name { display: grid; gap: 4px; min-width: 0; }
.cheat-course-name strong { color: var(--ink); font-size: 17px; }
.cheat-course-name small { color: var(--muted); font-size: 12px; }
.cheat-course-open { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; margin-left: auto; border-radius: 9px; color: var(--accent); background: var(--accent-soft); font-size: 20px; transition: transform .18s; }
.cheat-course[open] .cheat-course-open { transform: rotate(45deg); }
.cheat-course-body { padding: 0 18px 18px; border-top: 1px solid var(--line); }
.cheat-course-standalone { overflow: visible; }
.cheat-course-heading { display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 14px 18px; }
.cheat-course-heading .cheat-course-name strong { font-size: 20px; }
.cheat-course-standalone .cheat-course-body { border-top: 1px solid var(--line); }
.cheat-command-group { scroll-margin-top: 110px; }
.cheat-command-group { margin-top: 18px; }
.cheat-command-group > h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; color: var(--ink); font-size: 15px; }
.cheat-command-group > h3 span { display: inline-grid; min-width: 23px; height: 23px; place-items: center; padding-inline: 5px; border-radius: 99px; color: var(--accent); background: var(--accent-soft); font-size: 11px; }
.cheat-course-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 13px 0; }
.cheat-course-tools .info-button { min-height: 35px; padding: 7px 11px; font-size: 14px; }
.cheat-doc-link { color: var(--accent); font-size: 14px; font-weight: 700; text-decoration: none; }
.cheat-doc-link:hover, .cheat-doc-link:focus-visible { text-decoration: underline; }
.cheat-command-list { display: grid; gap: 8px; }
.cheat-command { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr); grid-template-areas: "description terminal"; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--accent-soft) 19%, var(--panel)); }
.cheat-command-description { grid-area: description; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.cheat-command-label { display: block; max-width: 18em; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; }
.cheat-terminal { --terminal-header: #142238; --terminal-bg: #0b1424; --terminal-border: #31445f; --terminal-text: #d8e2f0; --terminal-muted: #9aacc5; --terminal-accent: #62b6ff; grid-area: terminal; min-width: 0; overflow: hidden; border: 1px solid var(--terminal-border); border-radius: 10px; background: var(--terminal-bg); box-shadow: 0 5px 14px rgba(8, 16, 29, .14); }
.cheat-terminal-bar { display: flex; align-items: center; gap: 10px; min-height: 35px; padding: 0 8px 0 10px; border-bottom: 1px solid var(--terminal-border); color: var(--terminal-muted); background: var(--terminal-header); font: 600 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .04em; }
.cheat-terminal-title { flex: 1; }
.cheat-terminal-lights { display: inline-flex; gap: 4px; }
.cheat-terminal-lights i { width: 7px; height: 7px; border-radius: 50%; background: #ff6c63; }
.cheat-terminal-lights i:nth-child(2) { background: #f2bd4f; }.cheat-terminal-lights i:nth-child(3) { background: #43c77a; }
.cheat-terminal pre { overflow: hidden; margin: 0; padding: 11px 13px; color: var(--terminal-text); background: var(--terminal-bg); white-space: pre-wrap; overflow-wrap: anywhere; }
.cheat-terminal code { color: inherit; font: 12px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; }
.cheat-terminal code::selection { color: #fff; background: #315b91; }
.cheat-mode { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 8px; border-radius: 8px; color: var(--muted); background: var(--panel); font-size: 12px; font-weight: 750; white-space: nowrap; }
.cheat-mode svg, .cheat-copy svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cheat-mode.changes { color: #a34b15; background: #fff0e3; }
:root[data-theme="dark"] .cheat-mode.changes { color: #ffbd87; background: #382718; }
.cheat-copy { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; padding: 5px; border: 1px solid var(--terminal-border); border-radius: 7px; color: var(--terminal-text); background: var(--terminal-header); cursor: pointer; }
.cheat-copy:hover, .cheat-copy:focus-visible { border-color: var(--terminal-accent); color: #fff; background: #203654; outline: none; }
.cheat-copy:focus-visible { box-shadow: 0 0 0 3px rgba(98, 182, 255, .25); }
.cheat-copy.copied { color: #a6f2c6; border-color: #4b9c74; background: #183c31; }
@media (max-width: 850px) { .cheat-hero { grid-template-columns: 1fr; }.cheat-command { grid-template-columns: minmax(0,1fr); grid-template-areas: "description" "terminal"; }.cheat-command-description { align-self: end; } }
@media (max-width: 540px) { .cheat-course > summary { min-height: 68px; padding: 12px; }.cheat-course-body { padding: 0 10px 10px; }.cheat-command { gap: 8px; padding: 9px; }.cheat-command-label { font-size: 13px; }.cheat-command code { font-size: 11px; }.cheat-index { gap: 6px; }.cheat-index-link { min-height: 38px; padding: 5px 8px; font-size: 12px; }.cheat-index-link img { width: 20px; height: 20px; } }
@media (max-width: 800px) { .resource-grid { grid-template-columns: 1fr; }.glossary-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 540px) { .glossary-grid { grid-template-columns: 1fr; }.resource-card { padding: 18px; }.faq-item summary { padding: 14px; font-size: 15px; }.faq-item > div { padding: 0 14px 16px; } }
