.af-section{margin-top:40px;color:var(--ink);scroll-margin-top:24px}
.af-section *{box-sizing:border-box}
.af-heading{max-width:80ch}
.af-kicker{display:block;margin-bottom:8px;color:var(--accent);font-size:.75rem;font-weight:650;letter-spacing:.1em;text-transform:uppercase}
.af-heading h2{margin:0;font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.2;letter-spacing:-.03em}
.af-heading p{margin:13px 0 0;line-height:1.6}
.af-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}
.af-type{display:flex;align-items:center;gap:8px;min-width:0;padding:12px 9px;border:1px solid var(--line,#d8dfd8);border-radius:9px}
.af-type-map{display:block;width:96px;min-width:72px;flex:0 1 96px;height:auto}
.af-type>div{min-width:0}
.af-type h3{margin:0;font-size:.97rem;line-height:1.3}
.af-type p{margin:5px 0;font-size:.79rem;line-height:1.4}
.af-type code{color:var(--blue);font-size:.83rem;font-weight:650}
.af-section svg text{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-anchor:middle}
.af-map-title{fill:var(--ink);font-size:11px;font-weight:650}
.af-map-view{fill:var(--muted,#62716f);font-size:9px}
.af-face-label{fill:var(--muted,#62716f);font-size:10px;font-weight:650}
.af-face-boundary{fill:none;stroke:var(--muted,#62716f);stroke-width:.8;stroke-dasharray:2 2;opacity:.65}
.af-tile{fill:var(--paper);stroke:var(--line,#d8dfd8);stroke-width:1}
.af-main-face{fill:var(--panel,#f0f3eb)}
.af-target{stroke-width:1.5}
.af-legend-target{fill:var(--blue);stroke:var(--blue)}
.af-target-2{fill:var(--orange);stroke:var(--orange)}
.af-target-3{fill:var(--purple);stroke:var(--purple)}
.af-marker{fill:var(--paper);font-size:11px;font-weight:750}
.af-buffer{fill:var(--blue);stroke:var(--blue);stroke-width:1.5}
.af-buffer-marker{fill:var(--paper);font-size:11px;font-weight:750}
.af-map-note{max-width:94ch;margin:14px 0 0;font-size:.82rem;line-height:1.6;color:var(--muted,#62716f)}
.af-collection{margin-top:20px;border:1px solid var(--line,#d8dfd8);border-radius:10px;padding:15px 18px}
.af-collection>summary{color:var(--ink);font-weight:650;font-size:.96rem;cursor:pointer;line-height:1.6}
.af-collection>summary>span{display:inline-block;margin-left:10px;color:var(--muted,#62716f);font-size:.8rem;font-weight:400}
.af-key{display:flex;flex-wrap:wrap;gap:12px 22px;margin:18px 0 8px}
.af-key-item{display:inline-flex;align-items:center;gap:7px;font-size:.82rem}
.af-key-item>b{display:inline-grid;width:23px;height:23px;place-items:center;border-radius:4px;font-size:.8rem;color:var(--paper)}
.af-key-item>.af-key-buffer{background:var(--blue);color:var(--paper)}
.af-key-one{background:var(--orange)}
.af-key-two{background:var(--purple)}
.af-small{margin:8px 0 18px;font-size:.82rem;line-height:1.55;color:var(--muted,#62716f)}
.af-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.af-card{display:flex;flex-direction:column;min-width:0;border-top:2px solid var(--line,#d8dfd8);padding-top:12px}
.af-card-heading{display:flex;align-items:start;gap:8px;min-height:42px}
.af-index{flex:0 0 auto;color:var(--accent);font:600 .83rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
.af-card-heading h3{margin:0;font-size:.95rem;line-height:1.35}
.af-pair-map{display:block;width:100%;height:auto;max-height:138px;margin:7px 0 3px}
.af-example{display:flex;align-items:baseline;justify-content:center;gap:6px;margin:0 0 9px;font-size:.78rem}
.af-example>span:first-child{color:var(--muted,#62716f);font-size:.73rem}
.af-example code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:650}
.af-one{color:var(--orange)}
.af-two{color:var(--purple)}
.af-hint{margin:0 0 15px;font-size:.82rem;line-height:1.55}
.af-explore{display:flex;justify-content:space-between;align-items:center;gap:9px;width:100%;min-height:39px;margin-top:auto;padding:8px 10px;border:1px solid var(--line,#d8dfd8);border-radius:6px;background:var(--paper);color:var(--accent);font:600 .8rem/1.4 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.af-explore:hover{background:var(--panel,#f0f3eb)}
.af-explore:focus-visible,.af-collection>summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.af-source{margin:22px 0 0;padding-top:15px;border-top:1px solid var(--line,#d8dfd8);font-size:.78rem;line-height:1.6;color:var(--muted,#62716f)}
.af-source a{color:var(--accent);text-underline-offset:3px}
@media(max-width:1000px){.af-legend,.af-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.af-type-map{flex-basis:100px;width:100px}.af-card-heading{min-height:0}.af-pair-map{max-height:142px}}
@media(max-width:520px){.af-legend{gap:8px}.af-type{display:block;padding:8px}.af-type-map{width:92px;min-width:0;margin:0 auto 7px}.af-type h3{text-align:center}.af-type p{font-size:.77rem}.af-type code{display:block;text-align:center}.af-collection{padding:13px 12px}.af-collection>summary>span{display:block;margin-left:0}.af-grid{grid-template-columns:1fr}.af-card{padding-top:14px}.af-pair-map{max-height:155px}.af-hint{font-size:.86rem}.af-key{gap:10px 13px}.af-key-item{font-size:.76rem}.af-key-item>b{width:20px;height:20px}.af-explore{min-height:42px;font-size:.86rem}}
