/* GENERATED by tools/build-css.php from assets/css/src/*.css - do not edit this file. */
/* 13-offline.css */
.sv-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; min-height: 30px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: transparent; color: var(--text); font: 500 var(--fs-xs)/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background-color var(--t), border-color var(--t), color var(--t); }
.sv-btn:hover { border-color: var(--text); background: var(--surface-2); }
.sv-btn .icon { width: 14px; height: 14px; color: var(--signal-ink); }
.sv-btn.is-saved { border-color: color-mix(in srgb, var(--moss) 55%, var(--border)); background: color-mix(in srgb, var(--moss) 10%, var(--surface)); color: var(--moss-ink); }
.sv-btn.is-saved .icon { color: currentColor; }
.sv-btn.is-saved .icon path { d: path("M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"); }
@media (pointer: coarse) { .sv-btn { min-height: 40px; padding: 6px 14px; } }
@media print { .sv-btn { display: none !important; } }
.saved-page .sv-offline { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--ember) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ember) 35%, var(--border)); color: var(--text); }
.saved-page .sv-offline[hidden] { display: none; }
.sv-block { margin: 28px 0; }
.sv-block h2 small { font: 600 1rem var(--body); color: var(--text-muted); }
.sv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sv-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.sv-link { flex: 1; min-width: 0; display: grid; gap: 2px; color: var(--text); text-decoration: none; }
.sv-link strong { font: 700 1.05rem/1.3 var(--head); }
.sv-link small { color: var(--text-muted); font-size: .85rem; }
.sv-link:hover strong { color: var(--link-hover); }
.sv-remove { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-muted); font: 600 .85rem var(--body); cursor: pointer; }
.sv-remove:hover { color: var(--text); border-color: var(--text-muted); background: var(--surface-2); }
.sv-empty { padding: 22px; border: 1.5px dashed var(--border-strong); border-radius: var(--r); color: var(--text-muted); }
.sv-empty[hidden] { display: none; }
.sv-empty p:first-child { margin-top: 0; }
.sv-how ul { padding-left: 1.2em; color: var(--text-muted); }
.sv-how li { margin: 6px 0; }
/* 14-test.css */
.test-page .gl-chip[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 85%, #000); color: #fff; }
.test-page .gl-chip[aria-pressed="true"] .icon, .test-page .gl-chip[aria-pressed="true"] small { color: #fff; }
.test-page .gl-chip { cursor: pointer; font: inherit; }
.sk-test { margin-top: 10px; }
.sk-test .quiz { margin-top: 18px; }
.sk-src { display: inline-block; margin-left: 4px; font-weight: 600; }
.sk-reread-h { margin: 14px 0 4px; font-weight: 700; }
.sk-reread { margin: 0 0 16px; padding-left: 1.2em; }
.sk-how { margin-top: 36px; color: var(--text-muted); }
.sk-how .btn { margin: 4px 6px 4px 0; }
/* 30-hubs.css */
[style*="--accent"], :root { --hb-on-panel: color-mix(in srgb, var(--accent, var(--signal)) 72%, #16181a); }
.page-head { margin: 22px 0 34px; }
.page-head h1 { margin: .15em 0 .3em; }
.page-head .lead, .hb-404 .lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--text-muted); max-width: 38em; margin: 0; }
.hb-head { padding: clamp(14px, 2.4vw, 32px) 0 clamp(22px, 3vw, 36px); border-bottom: 1px solid var(--rule); }
.hb-head h1, .hb-hero h1 { font-size: clamp(2.4rem, 1.35rem + 3.9vw, 4.4rem); line-height: .98; letter-spacing: -.02em; margin: .34em 0 .32em; max-width: 15em; }
.hb-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--text-soft); }
.hb-kicker .hb-code { padding: 4px 6px 3px; background: var(--text); color: var(--bg); border-radius: var(--r-sm); }
.hb-kicker-icon { display: inline-flex; color: var(--accent-ink); }
.hb-kicker-icon .icon { width: 16px; height: 16px; }
.hb-kicker-q { color: var(--text); text-transform: none; letter-spacing: 0; }
.hb-plain-head h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); margin-bottom: 0; }
.hb-sec-head { margin: clamp(56px, 7vw, 88px) 0 24px; padding-top: 16px; border-top: 2px solid var(--rule-ink); }
.hb-sec-head .hb-sec-label { margin: 0 0 10px; }
.hb-sec-head h2, .hb-section-title { margin: 0; scroll-margin-top: 90px; }
.hb-sec-head + .tool-cards, .hb-sec-head + .cards { margin-top: 0; }
.hb-hero.pillar-head {
display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(24px, 4vw, 64px); align-items: end;
margin: 22px 0 0; padding: clamp(14px, 2.4vw, 32px) 0 clamp(26px, 3.4vw, 44px); border-bottom: 1px solid var(--rule);
background: none; border-radius: 0; box-shadow: none;
}
.hb-hero-txt { min-width: 0; }
.hb-hero .lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); max-width: 32em; }
.hb-index { border-top: 2px solid var(--rule-ink); }
.hb-index-title { margin: 10px 0 4px; }
.hb-jumps { list-style: none; margin: 0; padding: 0; }
.hb-jumps li { border-bottom: 1px solid var(--rule); }
.hb-jump {
display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto 18px; align-items: center; gap: 10px;
min-height: 48px; padding: 8px 0; color: var(--text); text-decoration: none; font-weight: 500; line-height: 1.3;
}
.hb-jump-n, .hb-jump-c { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .06em; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.hb-jump .icon { width: 16px; height: 16px; color: var(--accent-ink); transform: rotate(90deg); }
.hb-jump:hover { color: var(--signal-ink); }
.hb-jump:hover .hb-jump-t { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .18em; }
@media (max-width: 900px) {
.hb-hero.pillar-head { grid-template-columns: 1fr; }
.hb-index { margin-top: 26px; }
}
.hb-introrow { margin: clamp(28px, 4vw, 48px) 0 0; }
.hb-intro { max-width: 68ch; font-size: var(--fs-base); line-height: 1.72; }
.hb-intro > :first-child { margin-top: 0; }
.hb-intro > p:first-child { font-size: var(--fs-lg); line-height: 1.6; color: var(--text); }
@media (max-width: 560px) { .hb-intro > p:first-child { font-size: var(--fs-base); } }
.hb-scheme.fig { margin: 28px 0 0; }
.hb-scheme .fig-img { padding: 0; overflow: hidden; }
.hb-scheme img { border: 0; border-radius: 0; box-shadow: none; background: var(--panel); filter: none; }
.hb-introrow.has-fig .hb-scheme { margin: clamp(28px, 3.5vw, 44px) 0 0; }
@media (max-width: 760px) {
.hb-scheme .fig-img { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.hb-scheme .fig-img img { width: 860px; max-width: none; height: auto; }
.hb-scheme .fig-img:focus-visible { box-shadow: var(--ring); outline: none; }
}
.hb-groups-nav { margin: 0 0 8px; }
.hb-groups-nav ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: clamp(16px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.hb-groups-nav li { border-bottom: 1px solid var(--rule); }
.hb-groups-nav a { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 46px; padding: 8px 0; color: var(--text); text-decoration: none; font-weight: 500; line-height: 1.3; }
.hb-groups-i, .hb-groups-n { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .06em; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.hb-groups-i { color: var(--signal-ink); }
.hb-groups-nav a:hover { color: var(--signal-ink); }
.hb-groups-nav a:hover .hb-groups-t { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.hb-group { margin: clamp(44px, 5vw, 64px) 0 0; scroll-margin-top: 80px; }
.hb-group-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: end; margin: 0 0 22px; padding: 0; border: 0; }
.hb-group-head .sec-num { grid-column: 1 / -1; margin-bottom: 8px; }
.hb-group-head h2 { grid-column: 1; margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); }
.hb-group-desc { grid-column: 1; margin: 6px 0 0; color: var(--text-muted); max-width: 46em; }
.hb-group-n { grid-column: 2; grid-row: 2; margin: 0 0 4px; white-space: nowrap; }
@media (max-width: 560px) { .hb-group-n { display: none; } }
.hb-longform { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: clamp(56px, 7vw, 88px) 0 0; padding-top: 18px; border-top: 2px solid var(--rule-ink); }
@media (min-width: 1000px) {
.hb-longform { grid-template-columns: 260px minmax(0, 70ch); gap: clamp(40px, 5vw, 72px); }
.hb-toc { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 104px); overflow-y: auto; }
}
.hb-toc { padding: 0; border: 0; border-radius: 0; background: none; font-size: .92rem; }
.hb-toc-title { margin: 0 0 8px; font: 500 var(--fs-xs)/1.35 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); }
.hb-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: hbtoc; border-top: 1px solid var(--rule); }
.hb-toc li { counter-increment: hbtoc; margin: 0; border-bottom: 1px solid var(--rule); }
.hb-toc a { display: grid; grid-template-columns: 2.2em 1fr; gap: 6px; padding: 9px 0; color: var(--text-muted); text-decoration: none; line-height: 1.4; }
.hb-toc a::before { content: counter(hbtoc, decimal-leading-zero); font: 500 var(--fs-xs)/1.9 var(--mono); color: var(--signal-ink); }
.hb-toc a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); }
.hb-longform-body > .pillar-section:first-child .sec-num { margin-top: 0; }
.pillar-section { scroll-margin-top: 80px; }
.pillar-section .sec-num { margin: 2.6em 0 10px; }
.pillar-section h2 { margin: 0 0 .6em; padding-top: 0; }
.pillar-section h2::before { content: none; }
.pillar-section p, .pillar-section li { line-height: 1.72; }
.pillar-section h3 { font-size: 1.25rem; }
.pillar-section .table-wrap { margin: 24px 0; }
.pillar-section blockquote { background: var(--surface); border-left: 2px solid var(--rule-ink); border-radius: 0; }
.pillar-section .dg-title { color: var(--text); }
.hb-faq { scroll-margin-top: 80px; margin-top: 0; max-width: 820px; }
.hb-faq .hb-sec-head h2 { margin: 0; }
.hb-faq details, .hb-faq details[open] { margin: 0; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; }
.hb-faq summary { padding: 16px 0; min-height: 48px; align-items: center; font-weight: 600; border-radius: 0; }
.hb-faq summary::after { font: 400 1.3rem/1 var(--mono); color: var(--signal-ink); }
.hb-faq summary:hover { color: var(--signal-ink); }
.hb-faq details > div { padding: 0 0 18px; color: var(--text-muted); max-width: 68ch; }
.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.card.hb-card {
position: relative; display: flex; flex-direction: column; overflow: visible;
background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: none;
transition: border-color var(--t);
}
.card.hb-card::before { content: ""; position: absolute; left: -1px; top: -1px; z-index: 2; width: 32px; height: 4px; background: var(--accent); border-top-left-radius: var(--r); }
.card.hb-card:hover { border-color: var(--border-strong); box-shadow: none; transform: none; }
.card.hb-card:focus-within { box-shadow: var(--ring); }
.hb-card-media { position: relative; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--panel); border-bottom: 1px solid var(--border); border-radius: var(--r) var(--r) 0 0; }
.hb-card .card-img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: none; }
.hb-card:hover .card-img { transform: none; }
.hb-card-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--hb-on-panel); background: none; }
.hb-card-ph .icon { width: 52px; height: 52px; }
.hb-card .card-body { position: static; display: flex; flex-direction: column; flex: 1; padding: 14px 16px 14px; background: transparent; }
.hb-card .hb-card-kicker { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 8px; font: 500 var(--fs-xs)/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--text-soft); }
.hb-card-code { color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hb-card-sec { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-card-kicker .card-icon { color: var(--accent-ink); }
.hb-card-kicker .card-icon .icon { width: 15px; height: 15px; }
.hb-card .card-body h3 { margin: 0 0 6px; font: 600 1.22rem/1.2 var(--head); letter-spacing: 0; }
.hb-card .card-body h3 a { color: var(--text); text-decoration: none; }
.hb-card:hover .card-body h3 a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.hb-card .card-body h3 a:focus-visible { box-shadow: none; outline: none; }
.card-body p.hb-card-desc { margin: 0 0 14px; color: var(--text-muted); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .hb-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--rule); font: 400 var(--fs-xs)/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.hb-dot { color: var(--border-strong); }
.hb-card .badge { align-self: flex-start; margin-top: auto; padding: 3px 7px; background: var(--surface-3); color: var(--text-muted); }
.card-soon.hb-card { opacity: 1; background: var(--surface-2); border-style: dashed; }
.card-soon.hb-card :is(.card-img, .hb-card-ph) { opacity: .7; }
.card-soon.hb-card .card-img { filter: grayscale(.5); }
@media (max-width: 560px) {
.cards { gap: 12px; }
.card.hb-card { flex-direction: row; align-items: stretch; }
.hb-card-media { flex: 0 0 34%; aspect-ratio: auto; min-height: 104px; border-bottom: 0; border-right: 1px solid var(--border); border-radius: var(--r) 0 0 var(--r); }
.hb-card .card-body { padding: 10px 12px 10px; min-width: 0; }
.hb-card .card-body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.hb-card .hb-card-kicker { margin-bottom: 4px; font-size: .68rem; }
.hb-card-sec { display: none; }
.card-body p.hb-card-desc { font-size: .86rem; margin-bottom: 8px; }
.card-body .hb-card-meta { padding-top: 6px; font-size: .68rem; }
}
.gl-filter { gap: 6px; margin: 28px 0 8px; }
.gl-chip, .test-page .gl-chip {
min-height: 40px; padding: 7px 12px; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--r-sm); box-shadow: none;
color: var(--text); font: 500 .9rem/1.2 var(--body); transition: background-color var(--t), border-color var(--t), color var(--t);
}
.gl-chip .icon { width: 16px; height: 16px; color: var(--accent-ink); }
.gl-chip small { font: 400 var(--fs-xs)/1 var(--mono); color: var(--text-soft); font-variant-numeric: tabular-nums; }
.gl-chip:hover { border-color: var(--text); background: var(--surface); color: var(--text); }
.gl-chip[aria-current], .gl-chip[style][aria-current], .test-page .gl-chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.gl-chip[aria-current] .icon, .gl-chip[aria-current] small, .test-page .gl-chip[aria-pressed="true"] .icon, .test-page .gl-chip[aria-pressed="true"] small { color: var(--bg); }
@media (max-width: 640px) {
.gl-filter { flex-wrap: nowrap; overflow-x: auto; margin: 22px calc(-1 * var(--gutter)) 8px; padding: 2px var(--gutter) 10px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
.gl-filter::-webkit-scrollbar { display: none; }
.gl-chip { flex: none; min-height: 44px; scroll-snap-align: start; }
}
.gl-group { margin: clamp(44px, 5vw, 64px) 0 10px; padding-top: 16px; border-top: 2px solid var(--rule-ink); scroll-margin-top: 80px; }
.gl-code { margin-bottom: 10px; }
.gl-head { gap: 6px 12px; margin: 0 0 20px; font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); }
.gl-head a { color: var(--text); text-decoration: none; }
.gl-head a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .16em; }
.gl-head small { font: 400 var(--fs-xs)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.gl-head .gl-head-icon, .lp-head .gl-head-icon { width: auto; height: auto; background: none; border-radius: 0; box-shadow: none; color: var(--accent-ink); }
.gl-head .gl-head-icon .icon { width: 28px; height: 28px; }
.gl-list { gap: clamp(14px, 1.8vw, 22px); }
.gl-item { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: none; transition: border-color var(--t); }
.gl-item::before { content: ""; position: absolute; left: 0; top: 0; z-index: 2; width: 32px; height: 4px; background: var(--accent); }
.gl-item:hover { border-color: var(--border-strong); box-shadow: none; transform: none; }
.gl-item:focus-within { box-shadow: var(--ring); }
.gl-strip { gap: 4px; padding: 6px; background: var(--panel); border-bottom: 1px solid var(--border); }
.gl-frame { background: transparent; }
.gl-frame b { left: 4px; top: 4px; width: auto; height: auto; padding: 3px 5px 2px; border-radius: var(--r-sm); background: #16181a; color: #f4f2ee; font: 500 .68rem/1 var(--mono); box-shadow: none; }
.gl-more { right: 10px; bottom: 10px; padding: 3px 6px; background: #16181a; color: #f4f2ee; border-radius: var(--r-sm); font: 500 .68rem/1.3 var(--mono); letter-spacing: .04em; }
.gl-text-steps { color: var(--text-muted); }
.gl-body { padding: 12px 16px 14px; }
.gl-body h3 { font: 600 1.2rem/1.25 var(--head); margin: 0 0 4px; }
.gl-body h3 a { color: var(--text); }
.gl-item:hover .gl-body h3 a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.gl-body h3 a:focus-visible { box-shadow: none; }
.gl-body p { color: var(--text-soft); font-size: .88rem; }
.lp-index { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 0; margin: 32px 0 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.lp-tile {
grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "n n" "i t" "s s"; column-gap: 10px; row-gap: 6px; align-items: center; align-content: start;
padding: 16px 18px 26px; background: transparent; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; color: var(--text);
transition: background-color var(--t);
}
.lp-tile::before { content: ""; position: absolute; left: -1px; top: -1px; width: 32px; height: 4px; background: var(--accent); }
.lp-tile:hover { background: var(--surface); color: var(--text); box-shadow: none; transform: none; }
.lp-tile:hover strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.lp-tile:focus-visible { box-shadow: inset 0 0 0 2px var(--ring-c); border-radius: 0; }
.lp-tile-n { grid-area: n; margin-bottom: 4px; font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .06em; color: var(--text); }
.lp-tile-icon { grid-area: i; grid-row: auto; width: auto; height: auto; background: none; border-radius: 0; color: var(--accent-ink); }
.lp-tile-icon .icon { width: 22px; height: 22px; }
.lp-tile strong { grid-area: t; font: 600 1.15rem/1.2 var(--head); }
.lp-tile small { grid-area: s; font: 400 var(--fs-xs)/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--text-soft); }
.lp-bar { left: 18px; right: 18px; bottom: 12px; height: 3px; border-radius: 0; background: var(--surface-3); }
.lp-bar i { background: var(--accent); }
.lp-path { margin: clamp(56px, 7vw, 88px) 0 0; padding: 16px 0 0; background: none; border: 0; border-top: 2px solid var(--rule-ink); border-radius: 0; scroll-margin-top: 76px; }
.lp-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(20px, 4vw, 64px); align-items: end; margin: 0 0 22px; }
.lp-head .lp-code { grid-column: 1 / -1; margin-bottom: 8px; }
.lp-head h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; }
.lp-head .gl-head-icon { margin: 0; }
.lp-head .gl-head-icon .icon { width: 30px; height: 30px; }
.lp-head-main p { margin: 0; color: var(--text-muted); max-width: 40em; }
.lp-head-meta p { margin: 0; }
.lp-head .lp-meta { padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.lp-head .lp-progress { margin-top: 8px; font: 500 var(--fs-sm)/1.4 var(--mono); color: var(--signal-ink); }
.lp-steps { border-top: 1px solid var(--rule); }
.lp-steps::before { left: 21px; top: 0; bottom: 0; width: 1px; background: var(--border-strong); }
.lp-step { grid-template-columns: 44px 120px minmax(0, 1fr); gap: 18px; margin: 0; padding: 14px 0; }
.lp-step::after { content: ""; position: absolute; left: 62px; right: 0; bottom: 0; height: 1px; background: var(--rule); }
.lp-num { width: 44px; height: 28px; border: 1px solid var(--text); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: 500 .8rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.lp-step.is-done .lp-num { background: var(--moss-ink); border-color: var(--moss-ink); color: var(--bg); }
.lp-thumb { width: 120px; height: 63px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--panel); box-shadow: none; }
.lp-thumb-icon { color: var(--hb-on-panel); }
.lp-body { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.lp-body:focus-within { box-shadow: var(--ring); }
.lp-body h3 { font: 600 1.18rem/1.25 var(--head); }
.lp-body h3 a { color: var(--text); }
.lp-body h3 a:focus-visible { box-shadow: none; }
.lp-step:hover .lp-body h3 a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.lp-body p { color: var(--text-muted); font-size: .95rem; line-height: 1.5; }
.lp-body small { display: block; margin-top: 4px; font: 400 var(--fs-xs)/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--text-soft); }
.lp-done-label { color: var(--moss-ink); }
.lp-note { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--text-soft); font-size: .9rem; }
@media (max-width: 760px) { .lp-head { grid-template-columns: 1fr; } .lp-head-meta { margin-top: 14px; } }
@media (max-width: 640px) {
.lp-step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.lp-steps::before { left: 19px; }
.lp-num { width: 40px; }
.lp-step::after { left: 54px; }
.lp-head h2 { font-size: 1.6rem; }
}
.search-form { margin: 0 0 28px; gap: 6px; padding: 4px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--field-line); box-shadow: none; transition: border-color var(--t); }
.search-form:focus-within { border-color: var(--text); box-shadow: var(--ring); }
.search-form input { border: 0; border-radius: var(--r-sm); background: transparent; padding: 10px 12px; min-height: 44px; color: var(--text); outline: none; }
.search-form input:focus, .search-form input:focus-visible { box-shadow: none; }
.search-form .btn { background: var(--ember-strong); color: var(--on-signal); border: 0; border-radius: var(--r-sm); min-height: 44px; padding: 10px 18px; }
.search-form .btn:hover { background: color-mix(in srgb, var(--ember-strong) 85%, #000); color: var(--on-signal); }
@media (max-width: 640px) { .search-form .btn { padding: 10px 14px; } }
.search-page .page-head + .search-form { margin-top: -8px; }
.sr-count { margin: 0 0 10px; font: 500 var(--fs-xs)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.sr-list { counter-reset: sr; border-top: 2px solid var(--rule-ink); }
.sr-item {
position: relative; display: grid; grid-template-columns: 3em minmax(0, 1fr); column-gap: 8px; align-content: start;
margin: 0; padding: 16px 0 18px; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; counter-increment: sr;
}
.sr-item::before { content: counter(sr, decimal-leading-zero); grid-column: 1; grid-row: 1 / span 3; padding-top: 2px; font: 500 var(--fs-xs)/1.4 var(--mono); color: var(--text-soft); font-variant-numeric: tabular-nums; }
.sr-item > * { grid-column: 2; }
.sr-item:focus-within { box-shadow: var(--ring); }
.sr-kind { order: -1; margin: 0 0 4px; font: 500 var(--fs-xs)/1.4 var(--mono); letter-spacing: .08em; color: var(--text-soft); }
.sr-kind.sr-guide { color: var(--text); }
.sr-kind.sr-tool { color: var(--signal-ink); }
.sr-kind.sr-pillar, .sr-kind.sr-term { color: var(--moss-ink); }
.sr-title { font: 600 1.25rem/1.25 var(--head); color: var(--text); text-decoration: none; }
.sr-title::after { content: ""; position: absolute; inset: 0; }
.sr-title:hover, .sr-item:hover .sr-title { color: var(--text); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.sr-title:focus-visible { box-shadow: none; }
.sr-item p { color: var(--text-muted); font-size: .95rem; line-height: 1.55; margin: 6px 0 0; }
@media (max-width: 560px) { .sr-item { grid-template-columns: 2.4em minmax(0, 1fr); } }
.sr-browse { margin: 48px 0 0; padding-top: 14px; border-top: 2px solid var(--rule-ink); font-size: var(--fs-h3); }
.hb-pills.pill-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0; margin: 18px 0 40px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); justify-content: stretch; }
.hb-pills .pill {
position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px; border-radius: 0;
background: transparent; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); box-shadow: none;
color: var(--text); font-weight: 500; text-decoration: none; transition: background-color var(--t);
}
.hb-pills .pill[style]::before { content: ""; position: absolute; left: -1px; top: -1px; width: 24px; height: 4px; background: var(--accent); }
.hb-pills .pill .icon { width: 18px; height: 18px; color: color-mix(in srgb, var(--accent, var(--signal)) 66%, var(--text)); }
.hb-pills .pill[style] .icon { color: var(--accent-ink); }
.hb-pill-code { min-width: 4.4em; font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .06em; color: var(--text-soft); }
.hb-pills .pill:hover { background: var(--surface); color: var(--text); border-color: var(--rule); transform: none; text-decoration: underline; text-decoration-color: var(--accent, var(--signal)); }
.hb-pills .pill:focus-visible { box-shadow: inset 0 0 0 2px var(--ring-c); border-radius: 0; }
@media (max-width: 560px) { .hb-pills.pill-list { grid-template-columns: 1fr 1fr; } .hb-pill-code { display: none; } .hb-pills .pill { padding: 10px 12px; } }
.glossary-page .lead-prose { max-width: 68ch; margin: 26px 0 0; color: var(--text-muted); }
.az { top: 61px; gap: 3px; margin: 26px 0 8px; padding: 10px 0; background: var(--bg); border-top: 2px solid var(--rule-ink); border-bottom: 1px solid var(--rule); backdrop-filter: none; -webkit-backdrop-filter: none; }
.az a { min-width: 32px; height: 36px; border-radius: var(--r-sm); background: transparent; border: 1px solid var(--border); box-shadow: none; color: var(--text); font: 500 .9rem/1 var(--mono); transition: background-color var(--t), color var(--t), border-color var(--t); }
.az a:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.az-group { scroll-margin-top: 124px; }
.az-group h2 { display: flex; align-items: baseline; gap: 14px; margin: 44px 0 0; padding: 0 0 10px; border: 0; border-bottom: 2px solid var(--rule-ink); font: 700 2.2rem/1 var(--head); color: var(--text); }
.az-group h2::after { content: none; }
.terms { margin: 0; }
.term {
display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); column-gap: 28px; margin: 0; padding: 14px 0;
background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; scroll-margin-top: 130px;
}
.term:target { background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); padding-left: 14px; border-radius: 0; }
.term dt { position: relative; font: 600 1.12rem/1.3 var(--head); color: var(--text); }
.term dt small { display: block; margin: 4px 0 0; font: 400 var(--fs-xs)/1.4 var(--mono); letter-spacing: .04em; color: var(--text-soft); }
.term dd { margin: 0; color: var(--text-muted); line-height: 1.65; }
.term-cat { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 0; background: none; border-radius: 0; font: 500 .7rem/1.4 var(--mono); letter-spacing: .08em; color: var(--accent-ink); vertical-align: 1px; }
.term-cat::before { content: ""; width: 4px; height: .9em; background: var(--accent); }
.term-cat:hover { color: var(--text); }
.glossary-page .terms + .search-form, .glossary-page .az-group:last-of-type + .search-form { margin-top: 48px; }
@media (max-width: 640px) {
.az { position: static; margin: 20px 0 6px; padding: 10px 0; }
.az a { min-width: 44px; height: 44px; }
.term { grid-template-columns: 1fr; row-gap: 6px; }
}
.hb-static .hb-plain-head { margin-bottom: 36px; }
.hb-doc { max-width: var(--w-text); font-size: var(--fs-base); line-height: 1.75; counter-reset: hbdoc; }
.hb-doc > p:first-child { font-size: var(--fs-lg); line-height: 1.6; color: var(--text); }
.hb-doc h2 { counter-increment: hbdoc; margin: 1.7em 0 .5em; padding-top: 14px; border-top: 1px solid var(--rule); font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); }
.hb-doc h2::before { content: "§ " counter(hbdoc, decimal-leading-zero); display: block; margin: 0 0 10px; font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .08em; color: var(--signal-ink); }
.hb-doc h3 { margin: 1.6em 0 .4em; font-size: 1.22rem; }
.hb-doc ul, .hb-doc ol { padding-left: 1.3em; }
.hb-doc li { margin: .35em 0; }
.hb-doc li::marker { color: var(--signal-ink); }
.hb-doc blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; background: none; border-left: 2px solid var(--rule-ink); border-radius: 0; color: var(--text); }
.test-page .gl-filter { margin-top: 28px; }
.sk-test { max-width: 860px; }
.sk-how { margin-top: 56px; padding-top: 14px; border-top: 2px solid var(--rule-ink); color: var(--text-muted); }
.sk-how h2 { margin-top: 0; }
.saved-page .sv-offline { border-radius: var(--r); background: var(--signal-soft); border: 1px solid color-mix(in srgb, var(--signal) 45%, var(--border)); border-left: 4px solid var(--signal); font-weight: 500; }
.saved-page .sv-block { margin: 40px 0 0; padding-top: 14px; border-top: 2px solid var(--rule-ink); }
.saved-page .sv-block h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; }
.saved-page .sv-block h2 small { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .08em; color: var(--text-soft); }
.saved-page .sv-list { gap: 0; border-top: 1px solid var(--rule); }
.saved-page .sv-item { padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; }
.saved-page .sv-link strong { font: 600 1.15rem/1.25 var(--head); }
.saved-page .sv-link small { font: 400 var(--fs-xs)/1.4 var(--mono); letter-spacing: .04em; color: var(--text-soft); }
.saved-page .sv-link:hover strong { color: var(--text); text-decoration: underline; text-decoration-color: var(--signal); }
.saved-page .sv-remove { min-height: 40px; border-radius: var(--r-sm); font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.saved-page .sv-empty { padding: 20px 22px; border: 1px dashed var(--border-strong); border-radius: var(--r); background: var(--surface); }
.saved-page .sv-how ul { padding-left: 1.2em; }
.saved-page .sv-how li::marker { color: var(--signal-ink); }
.hb-404 { padding-top: clamp(32px, 6vw, 72px); padding-bottom: 10px; }
.hb-404-code { margin: 0; }
.hb-404-mark { display: inline-flex; color: var(--signal-ink); }
.hb-404-mark .icon { width: 18px; height: 18px; }
.hb-404 h1 { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.8rem); line-height: .98; letter-spacing: -.02em; margin: .32em 0 .3em; }
.hb-404 .lead { margin: 0 0 28px; max-width: 32em; }
.hb-404 .search-form { max-width: 560px; margin: 0 0 8px; }
.hb-404 .pill-list { margin: 32px 0 40px; }
.gl-chip:focus-visible, .az a:focus-visible, .hb-jump:focus-visible, .hb-groups-nav a:focus-visible { box-shadow: var(--ring); }
@media print {
.hb-index, .hb-toc, .hb-groups-nav { display: none !important; }
.hb-hero.pillar-head { display: block; border: 0; padding: 0; }
.hb-longform { display: block; }
}
/* 40-article.css (rules used here) */
:root {
--ar-measure: 68ch;
--ar-head-top: 76px;
--ar-ok: var(--moss-ink);
--ar-ok-soft: color-mix(in srgb, var(--moss) 12%, var(--surface));
}
.article > section, .article > .table-wrap { scroll-margin-top: var(--ar-head-top); }
section[id], h2[id], h3[id] { scroll-margin-top: calc(var(--ar-head-top) + 8px); }
.ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 0 -1.4em; padding: 0; font: 400 .8125rem/1.5 var(--mono); color: var(--text-soft); font-variant-numeric: tabular-nums; }
.ar-meta > span { white-space: nowrap; }
.ar-meta > span::before { content: "·"; display: inline-block; width: 1.4em; text-align: center; color: var(--border-strong); }
.ar-meta a { color: var(--text); }
.ar-meta time { color: var(--text-muted); }
.ar-meta .sv-btn { margin-left: auto; }
.ar-meta > span:last-of-type { margin-right: 1.4em; }
.lead-prose { font-size: var(--fs-lg); line-height: 1.62; color: var(--text); }
.lead-prose > p { margin: 0 0 1em; }
.article .prose > p, .article .prose > ul, .article .prose > ol, .article .prose > blockquote, .article .prose > h3, .lead-prose > * { max-width: var(--ar-measure); }
.article .prose { line-height: 1.72; }
.article .prose p { margin: 0 0 1.05em; }
.article .prose h3 { margin: 1.9em 0 .5em; font-size: 1.3rem; line-height: 1.25; }
.article .prose h2 + h3 { margin-top: .6em; }
.article .prose > ul, .article .prose > ol { padding-left: 1.35em; margin: 0 0 1.2em; }
.article .prose > ul > li, .article .prose > ol > li { margin: .4em 0; padding-left: .2em; }
.article .prose > ul > li::marker { color: var(--signal); }
.article .prose > ol > li::marker { color: var(--signal-ink); font: 500 .9em var(--mono); }
.article .prose strong { color: var(--text); font-weight: 600; }
.article .prose .dg-layer-bar strong { color: inherit; }
.article .prose blockquote { margin: 1.6em 0; padding: 2px 0 2px 20px; border: 0; border-left: 2px solid var(--rule-ink); background: none; border-radius: 0; font: 400 1.12rem/1.6 var(--body); color: var(--text-muted); }
.article .prose blockquote p:last-child { margin: 0; }
.article .ar-sec > .sec-num, .article .box > .sec-num { margin-bottom: 12px; }
.toc a.active { color: var(--text); font-weight: 500; }
.article .scheme { margin: 1.8em 0; }
.article .scheme img { border-radius: var(--r); border: 1px solid var(--border); box-shadow: none; background: var(--panel); }
.article .dg { margin: 2em 0; }
.article .dg-title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 500 var(--fs-xs)/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.article .dg-title::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.article .dg-note, .article .scheme figcaption:not(.dg-title), .article .vis-fig figcaption:not(.dg-title), .article .dg-knot figcaption:not(.dg-title) { margin: 8px 0 0; color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.45; text-align: left; }
.article .dg-flow ol { gap: 26px; }
.article .dg-flow li { padding: 16px 14px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: none; text-align: left; }
.article .dg-flow li:not(:last-child)::after { color: var(--signal); font: 400 1.2rem/1 var(--mono); }
.article .dg-flow-n { width: 34px; height: 34px; margin: 0 0 10px; background: none; border: 1px solid var(--border-strong); border-radius: var(--r-sm); color: var(--accent-ink); box-shadow: none; font: 500 .95rem/1 var(--mono); }
.article .dg-flow-n .icon { width: 20px; height: 20px; }
.article .dg-flow strong { font: 600 1.05rem/1.25 var(--head); }
.article .dg-flow span:not(.dg-flow-n) { color: var(--text-muted); }
.article .dg-layer-bar { border-radius: var(--r-sm); }
.article .dg-layer-text { color: var(--text-muted); }
.article .dg-sides { gap: 0 20px; }
.article .dg-side { padding: 12px 0 4px; background: none; border: 0; border-top: 2px solid var(--rule-ink); border-radius: 0; box-shadow: none; }
.article .dg-side.r { border-top-color: var(--rule-ink); }
.article .dg-side-h { font: 600 1.1rem/1.3 var(--head); margin: 0 0 8px; }
.article .dg-side li { padding: 6px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.article .dg-side li:last-child { border-bottom: 0; }
.article .dg-vs { align-self: start; margin-top: 14px; width: auto; height: auto; display: block; background: none; border-radius: 0; font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.article .dg-check, .article .dg-steps, .article .dg-kv, .article .dg-bars, .article .dg-decision { padding: 4px 0 0; background: none; border: 0; border-top: 2px solid var(--rule-ink); border-bottom: 1px solid var(--rule-ink); border-radius: 0; box-shadow: none; }
.article :is(.dg-check, .dg-steps, .dg-kv, .dg-bars, .dg-decision) > .dg-title { margin: 8px 0 6px; }
.article :is(.dg-check, .dg-steps, .dg-kv, .dg-bars, .dg-decision) > .dg-title::after { content: none; }
.article .dg-check ul { list-style: none; margin: 0; padding: 0; }
.article .dg-check li { position: relative; margin: 0; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--rule); }
.article .dg-check li:last-child { border-bottom: 0; }
.article .dg-check li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 14px; border: 1.5px solid var(--text-muted); border-radius: var(--r-sm); background: none; -webkit-mask: none; mask: none; }
.article .dg-bars .bars { padding: 6px 0 10px; }
.article .bar { background: var(--surface-3); border-radius: 0; }
.article .bar i { background: var(--text); border-radius: 0; }
.article .dg-bars b { font: 500 var(--fs-sm) var(--mono); }
.article .dg-decision li { padding: 12px 0 12px 44px; border-bottom: 1px solid var(--rule); }
.article .dg-decision li:last-child { border-bottom: 0; }
.article .dg-decision li::before { content: counter(d, decimal-leading-zero); top: 13px; width: auto; height: auto; display: block; background: none; color: var(--signal-ink); border-radius: 0; font: 500 var(--fs-sm)/1.4 var(--mono); }
.article .dg-q { font: 600 1.05rem/1.35 var(--head); }
.article .dg-ans span { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.article .dg-ans b { font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }
.article .dg-ans .yes b { color: var(--ar-ok); }
.article .dg-ans .no b { color: var(--signal-ink); }
.dg-callout.callout { display: block; box-shadow: none; }
.dg-callout.callout > div > strong, .callout .ar-callout-h { display: block; margin: 0 0 4px; font: 600 1.08rem/1.3 var(--head); color: var(--text); }
.dg-callout.callout p { margin: 0 0 .5em; line-height: 1.6; }
.dg-callout.callout p:last-child, .dg-callout.callout > div > div > :last-child { margin-bottom: 0; }
.article .callout { margin: 1.8em 0; max-width: calc(var(--ar-measure) + 40px); }
.article .table-wrap { margin: 2em 0; border-radius: 0; }
.article table { width: 100%; border-collapse: collapse; background: transparent; border-radius: 0; box-shadow: none; overflow: visible; font-size: .94rem; line-height: 1.5; }
.article caption { text-align: left; }
.article th, .article td { padding: 10px 14px 10px 0; vertical-align: top; text-align: left; }
.article th:last-child, .article td:last-child { padding-right: 0; }
.article thead th { background: var(--bg); white-space: nowrap; }
.article tbody th { color: var(--text); font-weight: 600; }
.article tbody tr:hover > * { background: var(--signal-soft); }
@media (min-width: 900px) {
.article .table-wrap:not(:has(> figure)) { overflow: visible; }
.article .table-wrap:not(:has(> figure)) thead th { position: sticky; top: 61px; z-index: 2; }
}
@media (max-width: 600px) {
.article .table-wrap { margin-left: -16px; margin-right: -16px; padding: 0 16px; }
.article th, .article td { padding: 9px 12px 9px 0; }
.article thead th { white-space: normal; }
}
.article .box { padding: 18px 0 0; background: none; border: 0; border-top: 1px solid var(--rule-ink); border-radius: 0; box-shadow: none; }
.article .box h2 { display: block; margin: 0 0 10px; font-size: 1.6rem; line-height: 1.15; color: var(--text); }
.article .box ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rule-ink); }
.article .box li { position: relative; margin: 0; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); line-height: 1.55; }
.article .box li:last-child { border-bottom: 0; }
.article .box .checklist li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 14px; height: 14px; border: 1.5px solid var(--text-muted); border-radius: var(--r-sm); background: none; -webkit-mask: none; mask: none; }
.article .box .checklist li::after { content: none; }
.article .faq details { margin: 0; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; transition: none; }
.article .faq details:first-of-type { border-top: 2px solid var(--rule-ink); }
.article .faq details:last-of-type { border-bottom-color: var(--rule-ink); }
.article .faq details[open] { box-shadow: none; }
.article .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; font: 600 1.04rem/1.4 var(--body); color: var(--text); }
.article .faq summary:hover { color: var(--link-hover); }
.article .faq summary:focus-visible { box-shadow: var(--ring); }
.article .faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: none; color: var(--text); font: 400 1.05rem/1 var(--mono); transform: none; transition: border-color var(--t); }
.article .faq summary:hover::after { border-color: var(--text); }
.article .faq details[open] summary::after { content: "\2212"; transform: none; background: var(--text); border-color: var(--text); color: var(--bg); }
.article .faq details > div { padding: 0 44px 18px 0; color: var(--text-muted); line-height: 1.7; max-width: calc(var(--ar-measure) + 44px); }
.article .faq details > div p { margin: 0 0 .7em; }
.article .faq details > div > :last-child { margin-bottom: 0; }
.article .quiz { margin: 72px 0 0; padding: 22px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--rule-ink); border-radius: 0 0 var(--r) var(--r); box-shadow: none; }
.article .quiz-head h2 { font-size: 1.5rem; }
.article .quiz-head h2 .icon { color: var(--signal); width: 22px; height: 22px; }
.article .quiz-badge { background: var(--ar-ok-soft); color: var(--ar-ok); border-radius: var(--r-sm); font: 500 var(--fs-xs)/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.article .quiz-lead { color: var(--text-muted); }
.article .quiz-list { gap: 0; border-top: 1px solid var(--rule); }
.article .quiz-q { padding: 16px 0 14px; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
.article .quiz-q:last-child { border-bottom: 0; }
.article .quiz-n { font: 500 var(--fs-xs)/1.4 var(--mono); letter-spacing: .08em; color: var(--text-soft); }
.article .quiz-q.q-right .quiz-n { color: var(--ar-ok); }
.article .quiz-q.q-wrong .quiz-n { color: var(--signal-ink); }
.article .quiz-text { font: 600 1.1rem/1.35 var(--head); }
.article .quiz-ctx { background: var(--surface-2); color: var(--text); border-left: 2px solid var(--rule-ink); border-radius: 0; }
.article .quiz-opt { min-height: 46px; border: 1px solid var(--field-line); background: var(--surface); color: var(--text); border-radius: var(--r); transition: border-color var(--t), background-color var(--t); }
.article .quiz-opt:hover:not(:disabled) { border-color: var(--text); background: var(--surface-2); }
.article .quiz-opt:focus-visible { box-shadow: var(--ring); }
.article .quiz-opt.is-right { border-color: var(--moss); background: var(--ar-ok-soft); }
.article .quiz-opt.is-right::before { color: var(--ar-ok); }
.article .quiz-opt.is-wrong { border-color: var(--signal); background: var(--signal-soft); }
.article .quiz-opt.is-wrong::before { color: var(--signal-ink); }
.article .q-right .quiz-fb { color: var(--ar-ok); }
.article .q-wrong .quiz-fb { color: var(--signal-ink); }
.article .quiz-score { font: 600 1.15rem var(--head); }
.article-side { top: var(--ar-head-top); max-height: calc(100vh - var(--ar-head-top) - 16px); margin-top: 32px; padding: 0 4px 0 0; }
.side-toc { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.side-toc ol { border: 0; border-top: 2px solid var(--rule-ink); }
.side-toc li { margin: 0; }
.side-toc a { position: relative; display: grid; grid-template-columns: 2.2em 1fr; align-items: baseline; margin: 0; padding: 7px 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; color: var(--text-muted); font-size: .86rem; line-height: 1.35; text-decoration: none; transition: color var(--t); }
.side-toc a:hover { color: var(--text); background: none; }
.side-toc a.active { color: var(--text); font-weight: 500; background: none; border-left: 0; }
.side-toc a.active::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 2px; background: var(--signal); }
.side-toc a:focus-visible { box-shadow: var(--ring); }
.guided { background: var(--forest2); color: var(--on-dark); }
.guided::after { content: none; }
.gd-top { gap: 14px; }
.gd-bar { height: 2px; background: rgba(255,255,255,.16); border-radius: 0; }
.gd-bar i { background: var(--ember2); border-radius: 0; }
.gd-x { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); color: var(--on-dark); font: 400 1rem/1 var(--mono); transition: background-color var(--t), border-color var(--t); }
.gd-x:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.gd-x:focus-visible { box-shadow: 0 0 0 2px var(--forest2), 0 0 0 4px var(--ember2); border-radius: var(--r); }
.gd-kicker { font: 500 var(--fs-xs)/1.4 var(--mono); letter-spacing: .12em; color: var(--ember2); }
.gd-body h2 { color: var(--on-dark); font-family: var(--head); letter-spacing: -.01em; }
.gd-text { color: #d3d5d7; }
.gd-num { width: auto; height: auto; padding: 0; background: none; border-radius: 0; box-shadow: none; color: var(--ember2); font: 500 clamp(3rem, 10vw, 5rem)/1 var(--mono); }
.gd-img { background: var(--panel); border-radius: var(--r); box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.gd-done { color: var(--ember2); font-family: var(--mono); }
.gd-gear label { border-bottom: 1px solid rgba(255,255,255,.12); padding: 8px 0; }
.gd-gear input { accent-color: var(--ember2); }
.gd-nav .btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); color: var(--on-dark); }
.gd-nav .btn-ghost:hover:not(:disabled) { background: rgba(255,255,255,.08); border-color: var(--on-dark); color: var(--on-dark); }
.gd-nav .btn:focus-visible { box-shadow: 0 0 0 2px var(--forest2), 0 0 0 4px var(--ember2); }
.article sup.cite { margin-left: 1px; font: 500 .72em/0 var(--mono); vertical-align: super; }
.article sup.cite a { color: var(--signal-ink); text-decoration: none; }
.article sup.cite a:hover { text-decoration: underline; }
.article sup.cite a:focus-visible { box-shadow: var(--ring); border-radius: 2px; }
@media (max-width: 600px) {
.ar-meta { font-size: .78rem; }
.ar-meta .sv-btn { margin-left: 1.4em; }
.lead-prose { font-size: 1.08rem; }
.article .prose { line-height: 1.68; }
.article .quiz { padding: 18px 14px; }
.article .faq details > div { padding-right: 0; }
}
@media print {
.article thead th { position: static !important; background: none; }
.article tbody tr:hover > * { background: inherit; }
.article .callout { break-inside: avoid; }
}
/* 50-tools.css (rules used here) */
.card.tool-card {
position: relative; display: flex; flex-direction: column; overflow: visible;
background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: none;
transition: border-color var(--t);
}
.card.tool-card::before { content: ""; position: absolute; left: -1px; top: -1px; z-index: 2; width: 32px; height: 4px; background: var(--accent); border-top-left-radius: var(--r); }
.card.tool-card:hover { border-color: var(--border-strong); box-shadow: none; transform: none; }
.card.tool-card:focus-within { box-shadow: var(--ring); }
.tool-card-media { position: relative; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--panel); border-bottom: 1px solid var(--border); border-radius: var(--r) var(--r) 0 0; }
.tool-card .card-img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transform: none; transition: none; }
.tool-card .card-body { position: static; display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; background: transparent; }
.tool-card .tool-card-kicker { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 8px; font: 500 var(--fs-xs)/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--text-soft); }
.tool-card-code { color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tool-card-sec { display: inline-flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.tool-card .card-icon { color: var(--accent-ink); }
.tool-card .card-icon .icon { width: 15px; height: 15px; }
.tool-card .kind { margin: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.tool-card .card-body h3 { margin: 0 0 6px; font: 600 1.22rem/1.2 var(--head); letter-spacing: 0; }
.tool-card .card-body h3 a { color: var(--text); text-decoration: none; }
.tool-card:hover .card-body h3 a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.tool-card .card-body h3 a:focus-visible { box-shadow: none; outline: none; }
.tool-card .card-body p.tool-card-desc { margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) {
.card.tool-card { flex-direction: row; align-items: stretch; }
.tool-card-media { flex: 0 0 34%; aspect-ratio: auto; min-height: 96px; border-bottom: 0; border-right: 1px solid var(--border); border-radius: var(--r) 0 0 var(--r); }
.tool-card .card-body { padding: 10px 12px; min-width: 0; }
.tool-card .card-body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.tool-card .tool-card-kicker { margin-bottom: 4px; font-size: .68rem; }
.tool-card .card-body p.tool-card-desc { font-size: .86rem; }
}
