:root { color-scheme: light; --bg: #f7f8fa; --surface: #fff; --text: #1f2328; --muted: #59636e; --border: #d8dee4; --accent: #0969da; --accent-bg: #ddf4ff; --code-bg: #f6f8fa; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.55 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.shell { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 100px; }
.site-header { margin-bottom: 28px; }
.brand { color: var(--text); font-size: 26px; font-weight: 720; letter-spacing: -.04em; }
.brand:hover { text-decoration: none; }
.site-header p { margin: 6px 0 0; color: var(--muted); }
code { padding: .12em .34em; border-radius: 4px; background: var(--code-bg); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.filters, .skill-card, .detail-card { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.filters { padding: 20px; }
.search-label, .filter-heading { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
input[type="search"] { width: 100%; padding: 11px 12px; border: 1px solid #aeb8c2; border-radius: 7px; color: var(--text); background: #fff; outline: none; }
input[type="search"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #b6e3ff; }
.filter-group { margin-top: 18px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; color: #364152; background: #fff; cursor: pointer; }
.chip:hover, .chip[aria-pressed="true"] { border-color: #54aeff; background: var(--accent-bg); color: #0550ae; }
.text-button, .secondary-button, .primary-button { border: 0; border-radius: 6px; cursor: pointer; font-weight: 600; }
.text-button { margin-top: 18px; padding: 0; color: var(--accent); background: transparent; }
.results { margin-top: 28px; }
.results-heading { display: flex; align-items: center; justify-content: space-between; min-height: 22px; color: var(--muted); }
.results-heading p { margin: 0; }
.skill-list { display: grid; gap: 12px; margin-top: 12px; }
.skill-card { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; padding: 18px; }
.skill-select { width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--accent); }
.skill-content { min-width: 0; }
.skill-name { margin: 0; font-size: 17px; line-height: 1.35; }
.skill-name a { color: var(--text); }
.skill-description { margin: 5px 0 13px; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 7px 10px; align-items: center; }
.category { color: #364152; font-weight: 600; }
.tag { color: #57606a; font-size: 13px; }
.detail-link { align-self: center; white-space: nowrap; padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--accent); font-weight: 600; }
.detail-link:hover { background: var(--code-bg); text-decoration: none; }
.empty-state { margin: 32px 0; color: var(--muted); text-align: center; }
.selection-bar { position: fixed; z-index: 2; right: 24px; bottom: 24px; left: 24px; display: flex; width: min(780px, calc(100% - 48px)); align-items: center; justify-content: space-between; gap: 16px; margin: auto; padding: 12px 14px; border: 1px solid #8c959f; border-radius: 10px; background: #24292f; color: #fff; box-shadow: 0 8px 26px #1f232850; }
.selection-bar[hidden] { display: none; }
.selection-bar > div { display: flex; gap: 8px; }
.secondary-button { padding: 8px 10px; color: #fff; background: transparent; }
.primary-button { padding: 8px 11px; color: #fff; background: #1f6feb; }
.primary-button:hover { background: #0969da; }
.toast { position: fixed; z-index: 3; bottom: 28px; left: 50%; max-width: calc(100% - 32px); transform: translate(-50%, 100px); padding: 10px 14px; border-radius: 7px; background: #1f2328; color: #fff; opacity: 0; transition: opacity .18s, transform .18s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.detail-shell { width: min(900px, calc(100% - 32px)); }
.detail-nav { margin-bottom: 28px; font-weight: 650; }
.detail-card { padding: 28px; }
.detail-card h1 { margin: 0; font-size: 30px; line-height: 1.25; letter-spacing: -.035em; }
.detail-description { margin: 9px 0 18px; color: var(--muted); font-size: 16px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; padding-top: 22px; border-top: 1px solid var(--border); }
.detail-actions .primary-button, .detail-actions .secondary-button { border: 1px solid var(--border); color: var(--text); background: #fff; }
.detail-actions .primary-button { border-color: var(--accent); color: #fff; background: var(--accent); }
.markdown { padding-top: 8px; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.markdown h1, .markdown h2, .markdown h3 { margin-top: 1.5em; line-height: 1.3; }
.markdown h1 { font-size: 24px; }.markdown h2 { font-size: 19px; }.markdown h3 { font-size: 16px; }
.markdown pre { overflow-x: auto; padding: 14px; border-radius: 6px; background: var(--code-bg); }
.markdown pre code { padding: 0; background: transparent; }
.markdown blockquote { margin: 1em 0; padding-left: 14px; border-left: 3px solid var(--border); color: var(--muted); }
.markdown table { width: 100%; border-collapse: collapse; }.markdown th, .markdown td { padding: 7px; border: 1px solid var(--border); text-align: left; }
.error-card { padding: 20px; border: 1px solid #ff8182; border-radius: 8px; background: #ffebe9; color: #82071e; }
@media (max-width: 640px) { .shell { width: min(100% - 24px, 1040px); padding-top: 28px; }.skill-card { grid-template-columns: 24px 1fr; padding: 14px; }.detail-link { grid-column: 2; justify-self: start; }.selection-bar { right: 12px; bottom: 12px; left: 12px; width: auto; flex-direction: column; align-items: stretch; }.selection-bar > div { justify-content: flex-end; }.detail-card { padding: 18px; }.detail-card h1 { font-size: 26px; } }
