body:has(.encounter-page,.encounter-note){overflow-x:clip}.encounter-page,.encounter-note.note-layout{max-width:1160px;margin-inline:auto;padding:44px 24px 0}.encounter-intro{justify-content:space-between;align-items:flex-end;gap:30px;display:flex}.encounter-title{letter-spacing:-.035em;margin-top:16px;font-size:clamp(28px,4vw,42px);line-height:1.35}.encounter-lead{max-width:62ch;font-family:var(--font-jp);color:var(--muted-foreground);margin-top:14px;font-size:14px;line-height:1.9}.encounter-stats{flex-shrink:0;gap:28px;padding-bottom:4px;display:flex}.encounter-stats div+div{border-left:1px solid var(--line);padding-left:28px}.encounter-stats dt{color:var(--muted-foreground);font-size:11px}.encounter-stats dd{font-variant-numeric:tabular-nums;margin-top:4px;font-size:30px;font-weight:600;line-height:1.2}.encounter-links{flex-wrap:wrap;gap:10px 22px;margin-top:22px;display:flex}.encounter-links a{min-height:32px;color:var(--accent-ink);align-items:center;gap:10px;font-size:12px;font-weight:600;display:inline-flex}.encounter-links a:hover{color:var(--accent)}.encounter-toolbar{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 55%, var(--background));border-radius:22px;margin-top:24px;padding:22px}.encounter-toolbar h2{margin-bottom:14px;font-size:14px}.encounter-search-fields{grid-template-columns:minmax(0,1fr) minmax(200px,.65fr);gap:12px;display:grid}.encounter-search-wrap{min-width:0;position:relative}.encounter-search-icon{color:var(--faint);pointer-events:none;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.encounter-toolbar .filter-field{border-radius:12px;width:100%;min-width:0;min-height:50px}.encounter-toolbar .encounter-search{padding-left:44px}.encounter-chapter-select{cursor:pointer}.encounter-toolbar-footer{border-top:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:12px;display:flex}.encounter-toolbar-footer>span{color:var(--muted-foreground);font-variant-numeric:tabular-nums;font-size:12px}.encounter-toolbar-footer button{min-height:28px}.encounter-guide{border:1px solid var(--line);border-radius:16px;margin-top:16px;overflow:clip}.encounter-guide summary{cursor:pointer;min-height:56px;font-family:var(--font-jp);align-items:center;gap:14px;padding:15px 18px;font-size:13px;font-weight:600;list-style:none;display:flex}.encounter-guide summary::-webkit-details-marker{display:none}.encounter-guide summary::marker{content:""}.encounter-guide summary>svg{color:var(--faint);flex-shrink:0;margin-left:auto}.encounter-guide[open] summary>svg{transform:rotate(180deg)}.encounter-guide summary:hover{background:var(--accent-surface)}.encounter-guide-hint{color:var(--muted-foreground);font-size:11px;font-weight:400}.encounter-guide-body{border-top:1px solid var(--line-soft);padding:4px 20px 22px}.encounter-scope-note{border-left:2px solid var(--accent-line);font-family:var(--font-jp);color:var(--muted-foreground);margin-top:16px;padding-left:13px;font-size:11px;line-height:1.9}.encounter-list-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;margin-top:34px;display:flex}.encounter-list-heading h2{font-size:20px}.encounter-list-heading>span{color:var(--muted-foreground);font-size:11px}.encounter-chapters{margin-top:24px}.encounter-chapter{scroll-margin-top:24px}.encounter-chapter+.encounter-chapter{margin-top:34px}.encounter-chapter-heading{align-items:center;gap:12px;margin-bottom:14px;display:flex}.encounter-chapter-heading h3{min-width:0;font-size:16px;line-height:1.6}.encounter-chapter-count{color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex-shrink:0;margin-left:auto;font-size:11px}.encounter-code{border:1px solid var(--line-soft);background:var(--accent-surface);min-width:32px;font-family:var(--font-mono);color:var(--accent-ink);white-space:nowrap;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;padding:6px 9px;font-size:12px;font-weight:600;line-height:1.25;display:inline-flex}.encounter-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.encounter-card{border:1px solid var(--line);height:100%;min-height:170px;color:inherit;border-radius:17px;flex-direction:column;gap:12px;padding:18px;text-decoration:none;display:flex}.encounter-card:hover{border-color:var(--accent);background:var(--accent-surface)}.encounter-card-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.encounter-card-arrow{color:var(--faint);font-size:13px}.encounter-card-title{font-family:var(--font-jp);overflow-wrap:anywhere;font-size:16px;font-weight:600;line-height:1.65}.encounter-card-aliases{color:var(--muted-foreground);font-family:var(--font-jp);overflow-wrap:anywhere;font-size:11px;line-height:1.8}.encounter-card-foot{border-top:1px solid var(--line-soft);color:var(--muted-foreground);align-items:baseline;gap:8px;margin-top:auto;padding-top:10px;font-size:10px;line-height:1.7;display:flex}.encounter-card-foot>span{font-variant-numeric:tabular-nums;margin-left:auto}.encounter-empty{border:1px dashed var(--line);color:var(--muted-foreground);text-align:center;border-radius:18px;margin-top:24px;padding:32px 20px;font-size:13px;line-height:1.8}.encounter-note .note-header{margin-top:28px}.encounter-note-kicker{color:var(--muted-foreground);flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;display:flex}.encounter-note-kicker .encounter-code{padding:8px 12px;font-size:16px}.encounter-status{border-left:1px solid var(--line);padding-left:10px;font-size:10px}.encounter-note .note-header h1{overflow-wrap:anywhere;max-width:28ch;margin-top:18px;font-size:clamp(28px,4vw,40px);line-height:1.4}.encounter-note .note-header>p{font-family:var(--font-jp);margin-top:10px;font-size:13px;line-height:1.8}.encounter-note-context{color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 20px;margin-top:18px;font-size:11px;line-height:1.9;display:flex}.encounter-note .note-meta{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 35%, var(--background));border-radius:16px;row-gap:12px;margin-top:20px;padding:18px 20px}.encounter-note .note-meta .chip{padding:5px 10px;font-size:11px;font-weight:400;line-height:1.7}.encounter-note .note-reading-layout{grid-template-columns:minmax(0,1fr) 210px;align-items:start;gap:32px;margin-top:30px;display:grid}.encounter-note .note-content{grid-area:1/1;min-width:0;margin-top:0;font-size:15px;line-height:1.95}.encounter-note .note-reading-layout:not(:has(.note-toc)) .note-content{grid-row:1}.encounter-note .note-toc{border:0;border-left:1px solid var(--line);scrollbar-width:thin;border-radius:0;grid-area:1/2;max-height:calc(100dvh - 48px);margin-top:0;padding:4px 0 4px 18px;position:sticky;top:24px;overflow-y:auto}.encounter-note .note-toc>p{margin-bottom:16px}.encounter-note .note-toc ol{grid-template-columns:1fr;gap:10px}.encounter-note .note-toc a{font-size:11px;font-weight:400;line-height:1.7}.encounter-note .note-toc .numeral{font-family:var(--font-mono);font-size:9px;line-height:1.9}.encounter-note :is(h2,h3,[id]){scroll-margin-top:24px}.encounter-overview>*+*{margin-top:1.25rem}.encounter-note .note-content h2{border-bottom:1px solid var(--line);margin-top:36px;margin-bottom:14px;padding-bottom:12px;font-size:22px;line-height:1.65}.encounter-note .note-content h3{font-size:17px}.encounter-note .note-content .rfe-fixed{background:color-mix(in srgb, var(--surface) 60%, var(--background));border-left-width:2px;border-radius:0 14px 14px 0;margin-top:0;padding:17px 20px}.encounter-note .note-content .rfe-fixed-title{font-size:13px}.encounter-note .note-content .rfe-fixed-list{margin-top:10px;font-size:12px;line-height:1.9}.encounter-note .note-content .rfe-fixed-list li+li{margin-top:4px}.encounter-note .note-content .rfe-flag{border-radius:15px;padding:18px 18px 18px 20px}.encounter-note .note-content .rfe-flag-finding{font-size:14px}.encounter-note .note-content .rfe-flag-chip{border-color:color-mix(in srgb, var(--flag) 45%, transparent);border-radius:7px}.encounter-note .note-content .rfe-table-wrap{border:1px solid var(--line);border-radius:16px;overflow-x:auto}.encounter-note .note-content .rfe-table{margin:0}.encounter-note .note-content .rfe-table thead{background:var(--surface)}.encounter-note .note-content .rfe-table td,.encounter-note .note-content .rfe-table th{padding:12px}.encounter-note .note-content .rfe-table tbody tr:hover{background:var(--accent-surface)}.encounter-note .note-content .rfe-co-col{border-radius:16px;min-width:0;padding:18px}.encounter-note .note-content .rfe-co-head{flex-direction:column;align-items:flex-start;gap:5px}.encounter-note .note-content .rfe-co-col h3{border-bottom:1px solid var(--line-soft);margin-top:0;padding-bottom:12px;font-size:14px}.encounter-note .note-content .rfe-co-dx{overflow-wrap:anywhere}.encounter-note .note-content .rfe-cond-list{border-radius:16px}.encounter-note .note-content .rfe-cond-row{padding:16px 18px}.encounter-note .note-content .rfe-pie{border-radius:16px}.encounter-note .note-content .rfe-pie .mermaid-diagram{background:0 0}.encounter-note .note-sources,.encounter-note>.icpc-attribution,.encounter-note>[data-note-feedback]{max-width:calc(100% - 242px)}.encounter-note .note-sources h2{font-family:var(--font-jp);letter-spacing:normal;color:var(--foreground);margin-bottom:20px;font-size:15px;font-weight:600;line-height:1.6}.encounter-note .note-sources ol{gap:0}.encounter-note .note-sources li{overflow-wrap:anywhere;padding-block:16px;font-size:12px}.encounter-note .note-sources li+li{border-top:1px solid var(--line-soft)}.encounter-note .note-sources li:first-child{padding-top:0}.encounter-note .note-sources li:last-child{padding-bottom:0}.encounter-note .note-sources a{color:var(--accent-ink)}:is(.encounter-page,.encounter-note) .icpc-attribution{border-top:1px solid var(--line);background:0 0;border-radius:0;padding:20px 0 0}:is(.encounter-page,.encounter-note) .icpc-attribution p{font-size:11px;line-height:1.9}:is(.encounter-page,.encounter-note) .icpc-attribution ul{padding-left:0;font-size:11px;list-style:none}.encounter-note>.icpc-attribution{background:color-mix(in srgb, var(--surface) 45%, var(--background));border:0;border-radius:16px;margin-top:28px;padding:18px 20px}.encounter-note>[data-note-feedback]{border-top:0;align-items:center;gap:18px;margin-top:24px;padding-top:0;display:flex}.encounter-note>[data-note-feedback]>a{flex-shrink:0}.encounter-note>[data-note-feedback]>p{min-width:0;margin-top:0;font-size:11px;line-height:1.9}.encounter-coverage-summary{flex-wrap:wrap;margin-top:24px}.encounter-coverage-table{border:1px solid var(--line);border-radius:18px;padding:8px}.encounter-coverage-table .cov-table{margin:0}@media (width>=768px){.encounter-page,.encounter-note.note-layout{padding:56px 40px 0}}@media (width<=959px){.encounter-intro{flex-direction:column;align-items:flex-start;gap:20px}.encounter-stats dd{font-size:24px}.encounter-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.encounter-note .note-reading-layout{grid-template-columns:minmax(0,1fr);gap:24px}.encounter-note .note-toc{border:1px solid var(--line);border-radius:16px;grid-area:1/1;max-height:220px;padding:18px;position:static}.encounter-note .note-toc ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.encounter-note .note-content{grid-row:2}.encounter-note .note-sources,.encounter-note>.icpc-attribution,.encounter-note>[data-note-feedback]{max-width:100%}}@media (width<=599px){.encounter-page,.encounter-note.note-layout{padding:30px 18px 0}.encounter-page .eyebrow{letter-spacing:.12em;font-size:9px;line-height:1.6}.encounter-search-fields,.encounter-card-grid{grid-template-columns:minmax(0,1fr)}.encounter-toolbar{border-radius:18px;padding:16px}.encounter-toolbar .filter-field{font-size:16px}.encounter-guide-hint{display:none}.encounter-guide-body{padding-inline:16px}.encounter-card{min-height:150px;padding:16px}.encounter-chapter-heading{gap:9px}.encounter-chapter-heading h3{font-size:14px}.encounter-note .note-meta{row-gap:8px;padding:16px}.encounter-note .note-meta dt:not(:first-child){margin-top:6px}.encounter-note .note-toc{max-height:210px}.encounter-note .note-content{font-size:14px}.encounter-note .note-content h2{font-size:20px}.encounter-note .note-content .rfe-fixed{padding:15px 16px}.encounter-note .note-content .rfe-flag{padding:16px}.encounter-note .note-content .rfe-flag-head{flex-direction:column;gap:9px}.encounter-note .note-content .rfe-cond-row{padding:14px 16px}.encounter-note>.icpc-attribution{padding:16px}.encounter-note>[data-note-feedback]{flex-direction:column;align-items:flex-start;gap:10px}}
