.dp-head .lede { max-width: 44em; }
.dp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dp-meta .ico { width: 16px; height: 16px; }
.dp-wrap { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: 56px; align-items: start; width: min(var(--wrap), 100% - 48px); margin: 0 auto; padding: 0 0 96px; }
.dp-toc { position: sticky; top: calc(var(--head-h) + 24px); }
.dp-toc > p { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.dp-toc ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.dp-toc a { display: grid; grid-template-columns: 22px minmax(0, 1fr); padding: 6px 8px; border-radius: var(--radius-s); font-size: 14px; line-height: 1.45; color: var(--ink-2); text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.dp-toc a::before { counter-increment: toc; content: counter(toc); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dp-toc a:hover, .dp-toc a.is-on { background: var(--surface-2); color: var(--ink); }
.dp-body { min-width: 0; }
.dp-body > h2:first-child { margin-top: 0; }
.dp-body h2 { scroll-margin-top: calc(var(--head-h) + 20px); }
.dp-body .table-wrap td { line-height: 1.65; }
.dp-body .table-wrap td:first-child { min-width: 8em; font-weight: 650; color: var(--ink); }
.dp-body ul.dp-list { display: grid; gap: 8px; padding-left: 1.2em; }
.dp-body code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); font-size: 0.86em; overflow-wrap: anywhere; }
.dp-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 15.5px; }
.dp-card dt { font-weight: 650; color: var(--ink-3); }
.dp-card dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.dp-card a { color: var(--ink); text-underline-offset: 3px; }
.ab-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; width: min(var(--wrap), 100% - 48px); margin: 0 auto 64px; }
.ab-note { padding: 26px 28px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.ab-note h2 { font-size: 22px; letter-spacing: -0.025em; }
.ab-note p { margin-top: 12px; font-size: 16px; line-height: 1.85; color: var(--ink-2); word-break: keep-all; }
.ab-sign { margin-top: 18px; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.ab-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ab-facts li { display: grid; align-content: start; gap: 8px; padding: 20px; border-radius: var(--radius-l); background: var(--surface-2); }
.ab-facts .swipe-ico { width: 46px; height: 42px; }
.ab-facts .swipe-ico .ico { width: 32px; height: 32px; }
.ab-facts b { font-size: 16px; letter-spacing: -0.02em; }
.ab-facts p { font-size: 14px; line-height: 1.65; color: var(--ink-2); word-break: keep-all; }
.prose .ab-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 1.6em 0 1.4em; padding: 0; list-style: none; background: linear-gradient(var(--line-2), var(--line-2)) no-repeat center 21px / calc(80% + 8px) 1px; }
.prose .ab-flow li { display: grid; justify-items: center; align-content: start; gap: 4px; margin: 0; padding: 0; text-align: center; word-break: keep-all; }
.ab-flow .swipe-ico { width: 46px; height: 42px; margin-bottom: 4px; background-color: var(--bg); box-shadow: 0 0 0 6px var(--bg); }
.ab-flow .swipe-ico .ico { width: 30px; height: 30px; }
.ab-flow b { font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.ab-flow li > span:last-child { font-size: 13px; line-height: 1.5; color: var(--ink-3); text-wrap: balance; }
.ab-ua { display: block; margin: 4px 0 0; padding: 12px 14px; border-radius: var(--radius-s); background: var(--surface-2); font-size: 14px; overflow-wrap: anywhere; }
.tl-wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; padding: 0 0 96px; }
.tl-wrap .tgroup + .tgroup { margin-top: 40px; }
.tl-sec { margin-top: 64px; }
.tl-sec > h2 { font-size: 24px; letter-spacing: -0.025em; }
.tl-sec > p { max-width: 46em; margin-top: 10px; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.tl-sec .table-wrap { margin-top: 18px; }
.tl-links { margin-top: 18px; }
.tl-links a { line-height: 1.45; }
.tl-sec td a { font-weight: 650; color: var(--ink); text-underline-offset: 3px; }
.nf { display: grid; justify-items: center; gap: 14px; max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; text-align: center; }
.nf-code { display: inline-flex; align-items: center; font-size: clamp(64px, 12vw, 120px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.nf-code svg { width: 0.98em; height: 0.98em; margin: 0 -0.04em 0 -0.02em; filter: drop-shadow(0 8px 16px rgb(255 90 31 / 0.25)); }
.nf h1 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.03em; }
.nf .lede { margin: 0; }
.nf .btn-row { justify-content: center; margin-top: 6px; }
.nf-links, .tl-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 26px 0 0; padding: 0; list-style: none; text-align: left; }
.nf-links a, .tl-links a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 15px; font-weight: 650; color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.nf-links a:hover, .tl-links a:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.nf-links .swipe-ico, .tl-links .swipe-ico { flex: none; width: 38px; height: 34px; }
.nf-links img { flex: none; width: 34px; height: 34px; }
.nf-links .swipe-ico .ico, .tl-links .swipe-ico .ico { width: 26px; height: 26px; }
@media (max-width: 1020px) {
.dp-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.dp-toc { position: static; }
.dp-toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-toc a { display: inline-flex; gap: 4px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13.5px; }
.dp-toc a::before { content: counter(toc) "."; }
.ab-lead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
.ab-note { padding: 22px 20px; }
.ab-facts { grid-template-columns: minmax(0, 1fr); }
.dp-card { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.dp-card dd + dt { margin-top: 8px; }
.nf-links, .tl-links { grid-template-columns: minmax(0, 1fr); }
.prose .ab-flow { grid-template-columns: minmax(0, 1fr); gap: 16px; background-position: 22px 21px; background-size: 1px calc(100% - 42px); }
.prose .ab-flow li { grid-template-columns: 46px minmax(0, 1fr); justify-items: start; column-gap: 14px; row-gap: 2px; text-align: left; }
.ab-flow .swipe-ico { grid-row: span 2; margin: 0; box-shadow: none; }
.dp-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dp-stack, .dp-stack tbody, .dp-stack tr, .dp-stack td { display: block; }
.dp-stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.dp-stack tr:last-child { border-bottom: 0; }
.dp-stack td { padding: 0; border: 0; }
.dp-stack td + td { margin-top: 8px; }
.table-wrap .dp-stack td:first-child { min-width: 0; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.dp-stack td + td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
}
.dp-sum { margin-bottom: 8px; }
@media (max-width: 600px) {
.dp-wrap, .ab-lead, .tl-wrap { width: calc(100% - 32px); }
}
