.phero-bg {
position: absolute; inset: 0; z-index: -1; pointer-events: none;
background:
radial-gradient(60% 60% at 50% 0%, rgba(109, 77, 246, 0.12), transparent 70%),
linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 96px,
linear-gradient(90deg, var(--line) 1px, transparent 1px) 50% 0 / 96px 100%;
-webkit-mask-image: radial-gradient(80% 80% at 50% 0%, #000 0%, transparent 75%);
mask-image: radial-gradient(80% 80% at 50% 0%, #000 0%, transparent 75%);
}
.help-search-btn { display: inline-flex; align-items: center; gap: 10px; height: 38px; min-width: 210px; padding: 0 8px 0 12px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--paper); color: var(--ink-3); font-size: 0.875rem; transition: box-shadow var(--d-1) linear, color var(--d-1) linear; }
.help-search-btn:hover { box-shadow: inset 0 0 0 1px var(--ink-3); color: var(--ink-2); }
.help-search-btn svg { width: 16px; height: 16px; }
.help-search-btn span { margin-right: auto; }
kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); font: 500 0.75rem var(--font); color: var(--ink-3); }
.nav.is-night .help-search-btn { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: rgba(244, 242, 255, 0.7); }
.hhero { position: relative; padding: calc(var(--nav-h) + clamp(56px, 8vw, 112px)) 0 clamp(40px, 5vw, 72px); text-align: center; overflow: clip; }
.hhero .t-lede { margin-top: var(--s-4); }
.hhero-search { margin-top: var(--s-7); }
.hsearch { width: 100%; max-width: 640px; height: 64px; margin-inline: auto; display: flex; align-items: center; gap: 14px; padding: 0 18px 0 22px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e-2); color: var(--ink-3); font-size: 1.0625rem; text-align: left; transition: box-shadow var(--d-2) var(--ease), transform var(--d-2) var(--ease); }
.hsearch:hover { box-shadow: var(--e-3); transform: translateY(-1px); }
.hsearch:active { transform: scale(0.995); }
.hsearch svg { width: 22px; height: 22px; color: var(--violet); flex: none; }
.hsearch span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hchips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-top: var(--s-5); }
.hchip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); background: rgba(255, 255, 255, 0.7); transition: box-shadow var(--d-1) linear, color var(--d-1) linear, background-color var(--d-1) linear; }
.hchip:hover { color: var(--violet-deep); box-shadow: inset 0 0 0 1px var(--violet-line); background: var(--violet-wash); }
.hroles .tabs-list { background: var(--mist); box-shadow: none; }
.hrole { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-8); margin-top: var(--s-7); align-items: start; }
.hrole[hidden] { display: none; }
.hrole-intro { display: grid; gap: var(--s-5); justify-items: start; }
.hrole-intro .link-go svg:first-child { width: 18px; height: 18px; color: var(--violet); }
.hrole.is-entering .hrole-intro > *, .hrole.is-entering .hrole-list li { animation: h-in 600ms var(--ease) both; animation-delay: calc(var(--n, 0) * 45ms); }
.hrole.is-entering .hrole-list li:nth-child(2) { --n: 1; } .hrole.is-entering .hrole-list li:nth-child(3) { --n: 2; } .hrole.is-entering .hrole-list li:nth-child(4) { --n: 3; }
.hrole.is-entering .hrole-list li:nth-child(5) { --n: 4; } .hrole.is-entering .hrole-list li:nth-child(6) { --n: 5; }
@keyframes h-in { from { opacity: 0; transform: translateY(10px); } }
.hrole-list { border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-7); }
.hrole-list li { border-bottom: 1px solid var(--line-strong); }
.hrole-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 16px 0; min-height: 72px; }
.hrole-list b { display: block; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; transition: color var(--d-1) linear; }
.hrole-list small { display: block; font-size: 0.8125rem; color: var(--ink-3); margin-top: 2px; }
.hrole-list svg { width: 18px; height: 18px; flex: none; color: var(--violet); opacity: 0; transform: translateX(-8px); transition: opacity var(--d-1) linear, transform var(--d-2) var(--ease); }
.hrole-list a:hover b { color: var(--violet-deep); }
.hrole-list a:hover svg, .hrole-list a:focus-visible svg { opacity: 1; transform: none; }
.hgroups { display: grid; gap: var(--s-7); }
.hgroup { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line-strong); }
.hgroup > h3 { padding-top: 14px; font-size: var(--t-small); color: var(--ink-2); }
.hgroup-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px var(--s-5); }
.htopic { display: grid; grid-template-columns: 44px 1fr auto; gap: var(--s-4); align-items: center; padding: 12px; margin-inline: -12px; border-radius: var(--r-md); transition: background-color var(--d-1) linear; }
.htopic:hover, .htopic:focus-visible { background: var(--paper); box-shadow: var(--e-1); }
.htopic-ico { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--violet); transition: background-color var(--d-1) linear, color var(--d-1) linear, transform var(--d-2) var(--ease-spring); }
.htopic-ico svg { width: 20px; height: 20px; }
.htopic:hover .htopic-ico { background: var(--violet); color: #fff; box-shadow: none; }
.htopic-text b { display: block; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.htopic-text span { display: block; font-size: 0.875rem; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.htopic-n { font-size: 0.8125rem; color: var(--ink-3); min-width: 28px; height: 24px; padding: 0 8px; border-radius: 99px; background: var(--mist-2); display: grid; place-items: center; }
.hcommon { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-8); align-items: start; }
.hguides { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5); }
.hguide { display: grid; gap: 6px; align-content: start; }
.hguide-sheet { display: block; aspect-ratio: 8.5 / 11; border-radius: var(--r-xs); background: var(--paper); box-shadow: var(--e-2); padding: 18% 14%; margin-bottom: var(--s-3); transition: transform var(--d-3) var(--ease), box-shadow var(--d-3) var(--ease); transform-origin: 50% 100%; }
.hguide-sheet i { display: block; height: 5px; border-radius: 3px; background: var(--mist-2); margin-bottom: 12%; }
.hguide-sheet i:first-child { width: 46%; height: 9px; background: var(--violet); margin-bottom: 20%; }
.hguide-sheet i:nth-child(3) { width: 82%; } .hguide-sheet i:nth-child(4) { width: 64%; }
.hguide:hover .hguide-sheet { transform: translateY(-6px) rotate(-1.5deg); box-shadow: var(--e-3); }
.hguide b { font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.hguide > span:last-child { font-size: 0.875rem; color: var(--ink-3); line-height: 1.45; }
.hsupport { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); padding: var(--s-6) 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.hsupport p { margin-top: 6px; max-width: 34rem; }
.hsupport .btn svg { width: 16px; height: 16px; }
.doc { display: grid; grid-template-columns: 248px minmax(0, 1fr) 220px; gap: clamp(32px, 4vw, 64px); padding-top: calc(var(--nav-h) + 8px); align-items: start; }
.dside { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; padding: var(--s-6) var(--s-3) var(--s-8) 0; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.dside-group + .dside-group { margin-top: var(--s-5); }
.dside-label { margin: 0; padding: 0 10px 6px; }
.dside a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 7px 10px; line-height: 1.3; border-radius: var(--r-sm); font-size: 0.9375rem; color: var(--ink-2); transition: background-color var(--d-1) linear, color var(--d-1) linear; }
.dside a svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); transition: color var(--d-1) linear; }
.dside a:hover { background: var(--mist); color: var(--ink); }
.dside a[aria-current="page"] { background: var(--violet-wash); color: var(--violet-deep); font-weight: 500; }
.dside a[aria-current="page"] svg { color: var(--violet); }
.dmain { min-width: 0; padding: var(--s-6) 0 var(--s-9); }
.dbar { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-6); }
.dbar-btn { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 0.875rem; font-weight: 500; }
.dbar-btn svg { width: 18px; height: 18px; }
.dbar-btn.is-search { margin-left: auto; padding: 0; width: 40px; justify-content: center; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--ink-3); min-width: 0; }
.crumbs a { transition: color var(--d-1) linear; }
.crumbs a:hover { color: var(--violet-deep); }
.crumbs svg { width: 14px; height: 14px; flex: none; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dhead { padding-bottom: var(--s-6); margin-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
.dhead-ico { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--violet-wash); color: var(--violet); margin-bottom: var(--s-5); }
.dhead-ico svg { width: 26px; height: 26px; }
.dhead .t-h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.dhead .t-lede { margin-top: var(--s-3); }
.dhead-meta { display: flex; align-items: center; gap: var(--s-5); margin-top: var(--s-5); color: var(--ink-3); }
.dhead-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; color: var(--ink-2); transition: color var(--d-1) linear; }
.dhead-btn:hover { color: var(--violet-deep); }
.dhead-btn svg { width: 16px; height: 16px; }
.prose { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); max-width: 44rem; }
.dsec { padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.dsec:last-child { border-bottom: 0; }
.dsec-alias { display: block; height: 0; }
.dsec h2 { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 1.375rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: var(--s-3); }
.dsec-a { transition: color var(--d-1) linear; }
.dsec-a:hover { color: var(--violet-deep); }
.dsec-copy { position: relative; flex: none; width: 30px; height: 30px; margin-top: 1px; border-radius: var(--r-xs); display: grid; place-items: center; color: var(--ink-3); opacity: 0; transition: opacity var(--d-1) linear, background-color var(--d-1) linear, color var(--d-1) linear; }
.dsec-copy svg { width: 16px; height: 16px; }
.dsec h2:hover .dsec-copy, .dsec-copy:focus-visible, .dsec-copy.is-done { opacity: 1; }
.dsec-copy:hover { background: var(--mist); color: var(--violet-deep); }
.dsec-copy.is-done { color: var(--ok); }
.dsec-tip { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px); padding: 4px 8px; border-radius: 6px; background: var(--ink); color: #fff; font: 500 0.75rem var(--font); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--d-1) linear, transform var(--d-2) var(--ease); }
.dsec-copy:hover .dsec-tip, .dsec-copy:focus-visible .dsec-tip, .dsec-copy.is-done .dsec-tip { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .dsec-copy { opacity: 1; } }
@media (max-width: 900px) { .dsec-tip { left: auto; right: 0; transform: translateY(4px); } .dsec-copy:hover .dsec-tip, .dsec-copy:focus-visible .dsec-tip, .dsec-copy.is-done .dsec-tip { transform: none; } }
.dsec:target h2 .dsec-a { color: var(--violet-deep); }
.dsec:target { animation: target 1600ms var(--ease) 200ms both; }
@keyframes target { from { background: var(--violet-wash); box-shadow: -16px 0 0 var(--violet-wash), 16px 0 0 var(--violet-wash); } to { background: transparent; box-shadow: -16px 0 0 transparent, 16px 0 0 transparent; } }
.prose p { margin: 0 0 var(--s-4); }
.prose p:last-child, .prose ul:last-child, .prose ol:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a:not(.dsec-a) { color: var(--violet-deep); font-weight: 500; text-decoration: underline; text-decoration-color: var(--violet-line); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color var(--d-1) linear; }
.prose a:not(.dsec-a):hover { text-decoration-color: currentColor; }
.prose ul { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
.prose ul li { margin-bottom: 8px; padding-left: 4px; }
.prose ul li::marker { color: var(--violet); }
.prose code { font: 500 0.9em ui-monospace, "SF Mono", Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: var(--mist); color: var(--ink); }
.prose blockquote { margin: 0 0 var(--s-4); padding: 4px 0 4px var(--s-4); border-left: 2px solid var(--violet-line); color: var(--ink-2); }
.prose ol.step-list { list-style: none; margin: var(--s-4) 0; padding: 0; counter-reset: step; display: grid; }
.prose ol.step-list li { counter-increment: step; position: relative; padding: 0 0 18px 44px; }
.prose ol.step-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 0.8125rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.prose ol.step-list li::after { content: ""; position: absolute; left: 13.5px; top: 32px; bottom: 4px; width: 1px; background: var(--line); }
.prose ol.step-list li:last-child { padding-bottom: 0; }
.prose ol.step-list li:last-child::after { display: none; }
.prose ol:not(.step-list) { margin: 0 0 var(--s-4); padding-left: 1.4rem; }
.callout { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: var(--s-4) 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--violet-wash); color: var(--ink); font-size: 0.9375rem; line-height: 1.6; }
.callout-icon { color: var(--violet); padding-top: 2px; }
.callout-icon svg { width: 20px; height: 20px; }
.callout p { margin: 0; }
.dtoc { position: sticky; top: var(--nav-h); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; padding: var(--s-6) 0 var(--s-8); scrollbar-width: none; }
.dtoc::-webkit-scrollbar { display: none; }
.dtoc-label { margin: 0 0 var(--s-3); }
.dtoc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); position: relative; }
.dtoc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 0.8125rem; line-height: 1.4; color: var(--ink-3); transition: color var(--d-1) linear, border-color var(--d-2) linear; }
.dtoc a:hover { color: var(--ink); }
.dtoc a.is-active { color: var(--violet-deep); border-left-color: var(--violet); font-weight: 500; }
.dtoc-m { display: none; }
.dfeedback { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-7); padding: var(--s-5); border-radius: var(--r-lg); background: var(--mist); }
.dfeedback p { margin: 0; }
.dfeedback-btns { display: flex; gap: var(--s-2); margin-left: auto; }
.dfeedback button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; background: var(--paper); box-shadow: var(--e-1); font-size: 0.875rem; font-weight: 500; transition: transform var(--d-2) var(--ease-spring), color var(--d-1) linear, background-color var(--d-1) linear; }
.dfeedback button svg { width: 16px; height: 16px; transition: transform var(--d-3) var(--ease-spring); }
.dfeedback button:hover { color: var(--violet-deep); }
.dfeedback button:hover svg { transform: translateY(-2px) rotate(-8deg); }
.dfeedback button:active { transform: scale(0.95); }
.dfeedback button.is-picked { background: var(--ink); color: #fff; }
.dfeedback-msg { flex-basis: 100%; animation: h-in 500ms var(--ease) both; }
.dfeedback-msg a { color: var(--violet-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.dnext { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-6); }
.dnext a { display: grid; gap: 4px; padding: var(--s-5); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow var(--d-2) linear, background-color var(--d-2) linear; }
.dnext a:hover { box-shadow: inset 0 0 0 1px var(--violet); background: var(--violet-wash); }
.dnext a.is-next { text-align: right; justify-items: end; }
.dnext b { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.01em; }
.dnext svg { width: 18px; height: 18px; color: var(--violet); transition: transform var(--d-2) var(--ease); }
.dnext a:not(.is-next) svg { transform: rotate(180deg); }
.dnext a:not(.is-next):hover svg { transform: rotate(180deg) translateX(4px); }
.dnext a.is-next:hover svg { transform: translateX(4px); }
.drelated { margin-top: var(--s-8); }
.drelated ul { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.drelated .htopic { grid-template-columns: 40px 1fr; margin: 0; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); align-items: start; height: 100%; }
.drelated .htopic:hover { box-shadow: inset 0 0 0 1px var(--violet-line); background: var(--violet-wash); }
.drelated .htopic-ico { width: 40px; height: 40px; background: var(--mist); box-shadow: none; }
.dmain > .hsupport { margin-top: var(--s-8); }
.dprint-foot { display: none; }
.dfaq { padding: var(--s-6) 0 var(--s-5); }
.dfaq > h2 { margin-bottom: var(--s-4); }
.dfaq .acc-q { font-size: 1.0625rem; padding: 18px 0; }
.acc-a-in strong { color: var(--ink); font-weight: 500; }
.pal { position: fixed; inset: 0; z-index: 300; display: grid; justify-items: center; align-items: start; padding: min(14vh, 120px) 16px 16px; visibility: hidden; }
.pal.is-open { visibility: visible; }
.pal-scrim { position: absolute; inset: 0; background: rgba(19, 15, 38, 0.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity var(--d-2) linear; }
.pal.is-open .pal-scrim { opacity: 1; }
.pal-box { position: relative; width: 100%; max-width: 660px; max-height: min(640px, 76vh); display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e-3), 0 0 0 1px rgba(20, 18, 31, 0.08); overflow: hidden; opacity: 0; transform: translateY(-10px) scale(0.975); transition: opacity 180ms var(--ease), transform 320ms var(--ease); }
.pal.is-open .pal-box { opacity: 1; transform: none; }
.pal-top { display: flex; align-items: center; gap: 12px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--line); }
.pal-top > svg { width: 20px; height: 20px; color: var(--violet); flex: none; }
.pal-input { flex: 1; min-width: 0; height: 60px; border: 0; background: none; font-size: 1.0625rem; color: var(--ink); outline: none; }
.pal-input::placeholder { color: var(--ink-3); }
.pal-input::-webkit-search-cancel-button { display: none; }
.pal-close { height: 26px; padding: 0 8px; border-radius: 6px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.75rem; font-weight: 500; color: var(--ink-3); }
.pal-list { overflow-y: auto; overscroll-behavior: contain; padding: 8px; scroll-padding: 8px; }
.pal-label { padding: 10px 12px 6px; font-size: var(--t-label); font-weight: 500; color: var(--ink-3); }
.pal-item { display: grid; grid-template-columns: 36px 1fr 18px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); scroll-margin: 8px; }
.pal-item-ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--mist); color: var(--ink-3); }
.pal-item-ico svg { width: 18px; height: 18px; }
.pal-item > span:nth-child(2) { min-width: 0; }
.pal-item b { display: block; font-weight: 500; font-size: 0.9375rem; line-height: 1.35; letter-spacing: -0.01em; }
.pal-item small { display: block; font-size: 0.8125rem; color: var(--ink-3); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-item mark { background: none; color: var(--violet-deep); font-weight: 700; }
.pal-item small mark { font-weight: 500; }
.pal-item > svg { width: 16px; height: 16px; color: var(--violet); opacity: 0; transform: translateX(-6px); transition: opacity 100ms linear, transform 200ms var(--ease); }
.pal-item.is-sel { background: var(--violet-wash); }
.pal-item.is-sel .pal-item-ico { background: var(--violet); color: #fff; }
.pal-item.is-sel > svg { opacity: 1; transform: none; }
.pal-empty { padding: 36px 20px 40px; text-align: center; color: var(--ink-2); }
.pal-empty b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.pal-empty a { color: var(--violet-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.pal-foot { display: flex; align-items: center; gap: var(--s-4); padding: 10px 16px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--ink-3); background: #fcfbfe; }
.pal-foot span { display: inline-flex; align-items: center; gap: 6px; }
.pal-foot kbd { min-width: 20px; height: 20px; font-size: 0.6875rem; background: var(--paper); }
.pal-foot .pal-count { margin-left: auto; }
@media (max-width: 640px) { .pal { padding: 0; } .pal-box { max-width: none; max-height: none; height: 100%; border-radius: 0; } .pal-foot span:not(.pal-count) { display: none; } }
.drawer-scrim { display: none; }
@media (max-width: 1180px) {
.doc { grid-template-columns: 232px minmax(0, 1fr); }
.dtoc { display: none; }
.dtoc-m { display: block; margin: var(--s-5) 0 0; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line-strong); }
.dtoc-m summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 0.9375rem; font-weight: 500; cursor: pointer; list-style: none; }
.dtoc-m summary::-webkit-details-marker { display: none; }
.dtoc-m summary svg { width: 16px; height: 16px; color: var(--ink-3); transition: transform var(--d-2) var(--ease); }
.dtoc-m[open] summary svg { transform: rotate(180deg); }
.dtoc-m ol { list-style: none; margin: 0; padding: 0 16px 12px; border-top: 1px solid var(--line); }
.dtoc-m a { display: block; padding: 9px 0; font-size: 0.9375rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.dtoc-m li:last-child a { border-bottom: 0; }
}
@media (max-width: 900px) {
.doc { grid-template-columns: minmax(0, 1fr); }
.dbar-btn { display: inline-flex; }
.dbar .crumbs a, .dbar .crumbs svg { display: none; }
.dside { position: fixed; z-index: 120; inset: 0 auto 0 0; width: min(86vw, 340px); height: 100%; top: 0; background: var(--paper); padding: var(--s-6) var(--s-4) var(--s-8); box-shadow: var(--e-3); transform: translateX(-104%); visibility: hidden; transition: transform 460ms var(--ease), visibility 0s linear 460ms; }
.dside.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.dside a { min-height: 44px; font-size: 1rem; }
.drawer-scrim { display: block; position: fixed; inset: 0; z-index: 119; background: rgba(19, 15, 38, 0.42); opacity: 0; visibility: hidden; transition: opacity var(--d-2) linear, visibility 0s linear var(--d-2); }
.drawer-scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.hrole, .hcommon { grid-template-columns: 1fr; gap: var(--s-6); }
.hgroup { grid-template-columns: 1fr; gap: var(--s-2); }
.hgroup > h3 { padding-top: 0; }
.hguides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
.drelated ul { grid-template-columns: 1fr; }
.hsupport { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
.hrole-list, .hgroup-list { grid-template-columns: 1fr; }
.hrole-list svg { opacity: 1; transform: none; }
.hsearch { height: 56px; font-size: 1rem; }
.hsearch kbd { display: none; }
.dnext { grid-template-columns: 1fr; }
.dfeedback-btns { margin-left: 0; }
.prose { font-size: 1rem; }
.dsec h2 { font-size: 1.25rem; }
}
@media print {
.nav, .sheet, .footer, .dside, .dtoc, .dtoc-m, .dbar, .dfeedback, .dnext, .drelated, .hsupport, .dhead-meta, .dsec-copy, .pal, .skip-link { display: none !important; }
.doc { display: block; padding: 0; max-width: none; }
.dmain { padding: 0; }
.prose { max-width: none; font-size: 10.5pt; }
.dsec { break-inside: avoid; padding: 12pt 0; }
.dsec h2 { font-size: 13pt; }
.dhead .t-h1 { font-size: 24pt; }
.dprint-foot { display: block; margin-top: 24pt; font-size: 8.5pt; color: #777; }
body { background: #fff; }
.js [data-reveal] { opacity: 1 !important; transform: none !important; visibility: visible !important; }
}
