/* Reserve the viewport scrollbar width while Wiki search results change. */
html:has(body[data-view=wiki]){scrollbar-gutter:stable}
a.wiki-link,.wiki-reading a,.wiki-document a{color:var(--color-wiki-link);text-decoration:none!important;border-bottom:0!important;cursor:pointer}a.wiki-link:hover,.wiki-reading a:hover{color:var(--color-wiki-link-hover);text-decoration:none!important}a.wiki-link:focus-visible,.wiki-document a:focus-visible{outline:2px solid var(--color-compat-line-49);outline-offset:3px;border-radius:3px}
body[data-view=wiki] #main{width:100%;max-width:1250px;margin:auto;padding:46px 48px 90px;font-family:'Longinus Pretendard',sans-serif}.wiki-hero{margin:16px 0 40px}.wiki-hero>p{font-size:12px;letter-spacing:.12em;color:var(--color-compat-ink-18)}.wiki-hero h1{font-size:48px;letter-spacing:-.035em;margin:14px 0 28px}.wiki-hero h1 span{color:var(--color-compat-ink-4)}.wiki-hero form{display:flex;gap:12px;max-width:800px}.wiki-hero input{flex:1;min-width:0}.wiki-home-bar{display:flex;align-items:center;justify-content:space-between}.wiki-home-bar h2{font-size:19px}.wiki-kinds{display:flex;gap:8px;border-bottom:1px solid var(--color-compat-line-50);margin:12px 0 24px}.wiki-kinds button{background:none;border:0;border-radius:0;padding:12px 18px;color:var(--color-compat-ink-18)}.wiki-kinds button[aria-pressed=true]{color:var(--color-compat-ink-9);box-shadow:inset 0 -2px var(--color-compat-shadow-12)}.wiki-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wiki-result{display:flex;flex-direction:column;gap:10px;background:var(--color-compat-surface-63);border:1px solid var(--color-compat-line-35);border-radius:16px;padding:20px;color:var(--color-compat-ink-9);text-decoration:none;min-width:0}.wiki-result:hover{background:var(--color-compat-surface-29)}.wiki-result strong{font-size:17px;font-weight:600}.wiki-result span,.wiki-result small{color:var(--color-compat-muted-18);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.wiki-document-head{border-bottom:1px solid var(--color-compat-line-37);padding-bottom:25px;margin-bottom:32px}.wiki-document-head>button:nth-child(2){float:right}.wiki-document h1{font-size:38px;line-height:1.3;letter-spacing:-.03em;margin:24px 0 16px;overflow-wrap:anywhere}.wiki-aliases{font-size:13px;color:var(--color-compat-ink-128);line-height:1.7}.wiki-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:40px;align-items:start}.wiki-toc{position:sticky;top:20px;max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;gap:10px;font-size:13px;line-height:1.5;padding:18px;background:var(--color-compat-surface-80);border-radius:14px}.wiki-toc strong{margin-bottom:8px}.wiki-toc .level-2{padding-left:12px}.wiki-toc .level-3{padding-left:24px}.wiki-reading{min-width:0;font-size:16px;line-height:1.85;overflow-wrap:anywhere;color:var(--color-compat-ink-129)}.wiki-reading h2{font-size:24px;letter-spacing:-.02em;border-bottom:1px solid var(--color-compat-line-37);margin:40px 0 18px;padding-bottom:12px;color:var(--color-compat-ink-130)}.wiki-reading>h2:first-child{margin-top:0}.wiki-reading h3{font-size:20px;margin:28px 0 12px}.wiki-reading h4{font-size:17px}.wiki-reading p{margin:12px 0 20px}.wiki-reading li{margin:8px 0}.wiki-reading section,.wiki-reading h2,.wiki-reading h3,.wiki-reading h4,.wiki-sources li{scroll-margin-top:24px}.wiki-reading small{font-size:14px;color:var(--color-compat-muted-18);font-weight:400}.wiki-chips,.wiki-question-links{display:flex;flex-wrap:wrap;gap:8px 18px}.wiki-question-links a{font-variant-numeric:tabular-nums}.wiki-sources{font-size:13px;color:var(--color-compat-ink-16);padding-left:22px}.wiki-table-wrap{overflow:auto;margin:24px 0}.wiki-reading table{border-collapse:collapse;width:100%;font-size:14px}.wiki-reading td,.wiki-reading th{padding:12px 15px;border:1px solid var(--color-compat-line-51);text-align:left}.wiki-reading th{background:var(--color-compat-surface-81)}.wiki-reading caption{text-align:left;padding-bottom:12px;font-weight:600}.wiki-fold,.wiki-diagram,.wiki-bars{margin:26px 0;padding:20px;border:1px solid var(--color-compat-line-52);border-radius:14px;background:var(--color-compat-surface-80)}.wiki-fold summary{cursor:pointer}.wiki-diagram ol{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0}.wiki-diagram li{padding:12px;border:1px solid var(--color-compat-line-53);border-radius:10px}.wiki-diagram li+li:before{content:'→';margin-right:12px;color:var(--color-compat-ink-18)}.wiki-bars>div{display:grid;grid-template-columns:minmax(120px,1fr) 2fr 35px;gap:12px;align-items:center;font-size:14px}.wiki-bars meter{width:100%;accent-color:var(--color-compat-ink-4)}.wiki-bars p{font-size:12px;color:var(--color-compat-ink-18)}.wiki-editor{max-width:900px;margin:auto}.wiki-editor label{display:block;margin:20px 0}.wiki-editor input,.wiki-editor textarea{display:block;width:100%;margin-top:9px}.wiki-editor>p{font-size:13px;color:var(--color-compat-ink-16)}.wiki-editor textarea{line-height:1.7}.wiki-section-number{color:var(--color-compat-ink-4)!important}.wiki-question-scope{font-size:13px;color:var(--color-compat-ink-18);margin-bottom:24px}
@media(max-width:900px){.wiki-results{grid-template-columns:repeat(2,minmax(0,1fr))}.wiki-layout{grid-template-columns:1fr}.wiki-toc{position:static;max-height:none}.wiki-document h1{font-size:32px}}@media(max-width:600px){body[data-view=wiki] #main{padding:28px 20px 64px}.wiki-results{grid-template-columns:1fr}.wiki-hero h1{font-size:38px}}

[data-view=question] #question-reveal{display:block;margin:24px auto 0;border:0;border-radius:999px;padding:13px 36px;background:var(--color-compat-surface-76);color:var(--color-compat-ink-131);font-weight:600}
[data-view=question] .question-heading{margin-bottom:28px}
[data-view=question] .question-heading .question-description{margin:8px 0 0;font-size:14px;font-weight:400;line-height:1.6;color:var(--color-compat-muted-19)}

/* Keep each supplementary heading closer to its own content than the preceding section. */
.wiki-reading>section{display:flow-root;margin-top:48px}
.wiki-reading>section>h2{margin:0 0 14px;padding-bottom:10px;line-height:1.4}
.wiki-reading>section>:last-child{margin-bottom:0}
.wiki-reading>section>ul,.wiki-reading>section>ol{margin-top:0}
.wiki-reading>section .wiki-chips>p,.wiki-reading>section .wiki-question-links>p{margin:0}
.wiki-sources li:first-child{margin-top:0}
@media(max-width:600px){.wiki-reading>section{margin-top:36px}}

.wiki-categories{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin:-12px 0 22px;padding:8px 12px;border:1px solid var(--color-compat-line-54);border-radius:4px;font-size:13px;line-height:1.6}
.wiki-categories>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}.wiki-categories>div+div{border-left:1px solid var(--color-compat-line-55);padding-left:16px}.wiki-categories b,.wiki-categories span{color:var(--color-compat-ink-132);font-weight:500}.wiki-categories strong{font-weight:600;color:var(--color-compat-ink-133)}
.wiki-navigation{margin:0 0 24px;display:grid;gap:10px}.wiki-navigation:empty{display:none}
.wiki-navbox{border:1px solid var(--color-compat-line-56);border-radius:4px;overflow:hidden;background:var(--color-compat-surface-72);font-size:13px;line-height:1.75}
.wiki-navbox-title{min-width:0;text-align:left;font-size:15px;font-weight:650}
.wiki-navbox>details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;background:var(--color-compat-surface-82);padding:12px 16px;color:var(--color-compat-ink-134);font-weight:500}.wiki-navbox>details>summary::-webkit-details-marker{display:none}.wiki-navbox summary:focus-visible,.wiki-nav-tabs button:focus-visible{outline:2px solid var(--color-compat-line-57);outline-offset:-3px}
.wiki-navbox-toggle{flex:none;font-size:12px;color:var(--color-muted)}.wiki-navbox-toggle:after{content:'펼치기'}.wiki-navbox details[open]>summary .wiki-navbox-toggle:after{content:'접기'}
.wiki-navbox table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0}.wiki-nav-parent{width:90px}.wiki-nav-label{width:160px}.wiki-navbox th{background:var(--color-compat-surface-84);color:var(--color-compat-ink-136);font-weight:500;text-align:center}.wiki-navbox th.wiki-nav-group{background:var(--color-compat-surface-85);color:var(--color-compat-ink-137);font-weight:600}.wiki-navbox td,.wiki-navbox th{padding:9px 14px;vertical-align:middle;border:1px solid var(--color-compat-line-58)}.wiki-navbox td>div{display:flex;flex-wrap:wrap;gap:3px 18px}.wiki-navbox [aria-current=page]{color:var(--color-compat-ink-138);font-weight:700}.wiki-navbox-content>p{margin:0;padding:12px 16px;color:var(--color-compat-ink-132);font-size:12px;border-top:1px solid var(--color-compat-line-58)}.wiki-navbox-sources{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0 16px 12px;font-size:11px}.wiki-navbox caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.wiki-nav-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:12px;background:var(--color-compat-surface-65)}.wiki-nav-tabs button{padding:6px 16px;border:1px solid var(--color-compat-line-59);border-radius:5px;background:transparent;color:var(--color-compat-ink-139);font:inherit;cursor:pointer}.wiki-nav-tabs button[aria-selected=true]{background:var(--color-compat-accent-wash-7);color:var(--color-compat-accent-7)}.wiki-navbox [hidden]{display:none!important}
@media(max-width:600px){.wiki-nav-parent{width:64px}.wiki-nav-label{width:100px}.wiki-navbox td,.wiki-navbox th{padding:7px 8px}.wiki-categories{gap:6px 12px}.wiki-categories>div+div{border:0;padding:0}.wiki-navbox td>div{gap:4px 12px}.wiki-nav-tabs{gap:6px}.wiki-nav-tabs button{padding:5px 10px}}
.wiki-navbox>details{margin:0;padding:0;border:0;border-radius:0}.wiki-navbox>details>summary{margin:0}
.wiki-related-list{padding-left:24px;margin:12px 0 0;list-style:disc}.wiki-related-list li{padding-left:3px;margin:10px 0}
#wiki-browse>.wiki-navigation{max-width:860px;margin:24px auto 0}#wiki-browse .wiki-navbox>header{font-size:15px;padding:9px 14px}#wiki-browse .wiki-nav-parent{width:70px}#wiki-browse .wiki-nav-label{width:125px}
body[data-view=wiki] #main:has(.wiki-document){padding-right:72px}
.wiki-section-rail{position:fixed;right:14px;top:18px;bottom:18px;width:24px;z-index:12;pointer-events:none}
.wiki-section-track{position:absolute;inset:0 0 135px -24px;pointer-events:auto}.wiki-section-marker{position:absolute;right:0;width:22px;height:22px;padding:0;border:0;background:transparent;pointer-events:auto;cursor:pointer;display:grid;place-items:center}
.wiki-section-marker:after{content:'';width:5px;height:5px;border-radius:50%;background:var(--color-compat-surface-86);transition:background .15s,transform .15s}.wiki-section-marker[aria-current]:after{background:var(--color-compat-surface-87);transform:scale(1.5)}
.wiki-section-marker>span{position:absolute;right:25px;white-space:nowrap;max-width:min(280px,65vw);overflow:hidden;text-overflow:ellipsis;padding:3px 8px;border:1px solid var(--color-compat-line-60);border-radius:5px;background:var(--color-compat-surface-88);color:var(--color-compat-ink-140);font-size:12px;font-weight:400;opacity:0;pointer-events:none;transition:opacity .15s}
.show-labels .wiki-section-marker>span,.wiki-section-track:hover .wiki-section-marker>span,.wiki-section-track:focus-within .wiki-section-marker>span{opacity:1;pointer-events:auto}.wiki-section-marker[aria-current]>span{color:var(--color-compat-ink-141);border-color:var(--color-compat-line-61)}
.wiki-section-controls{position:absolute;bottom:0;right:0;display:grid;gap:5px;pointer-events:auto}.wiki-section-controls button{width:32px;height:32px;padding:0;border:1px solid var(--color-compat-line-62);border-radius:6px;background:var(--color-compat-surface-89);color:var(--color-compat-ink-142);font-size:21px;cursor:pointer}.wiki-section-controls button[aria-pressed=true]{color:var(--color-compat-ink-143);border-color:var(--color-compat-line-63)}.wiki-section-rail button:focus-visible{outline:2px solid var(--color-compat-line-64);outline-offset:2px}
@media(max-width:600px){body[data-view=wiki] #main:has(.wiki-document){padding-right:48px}.wiki-section-rail{right:8px}.wiki-section-controls button{width:28px;height:30px}#wiki-browse .wiki-nav-label{width:88px}#wiki-browse .wiki-nav-parent{width:55px}}
@media(prefers-reduced-motion:reduce){.wiki-section-marker:after,.wiki-section-marker>span{transition:none}}
/* Local positions and links to other articles have distinct visual roles. */
.wiki-toc>a[href^="#"],.wiki-toc .wiki-toc-title{color:var(--color-compat-ink-144)!important}.wiki-toc .wiki-toc-number{color:var(--color-compat-ink-4)!important}.wiki-toc .wiki-toc-title a[data-wiki],.wiki-toc .wiki-toc-title a[data-question]{color:var(--color-compat-ink-145)!important}.wiki-toc-entry{line-height:1.65}.wiki-toc-entry a:hover{filter:brightness(1.18)}
.wiki-question-years{display:grid;gap:8px}.wiki-question-year{margin:0;padding:0;border:1px solid var(--color-compat-line-65);border-radius:8px;background:var(--color-compat-surface-90);overflow:hidden}.wiki-question-year>summary{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:0;cursor:pointer;list-style:none;font-size:15px;font-weight:550;color:var(--color-compat-ink-146)}.wiki-question-year>summary::-webkit-details-marker{display:none}.wiki-question-year>summary:before{content:'›';display:inline-block;color:var(--color-compat-ink-4);transition:transform .15s}.wiki-question-year[open]>summary:before{transform:rotate(90deg)}.wiki-question-year>summary small{margin-left:auto;font-size:12px;color:var(--color-compat-muted-20);font-weight:400}.wiki-question-year>.wiki-question-links{padding:14px 16px 18px;border-top:1px solid var(--color-compat-line-66);font-size:14px;gap:8px 18px}.wiki-question-year>summary:hover{background:var(--color-compat-surface-91)}.wiki-question-year>summary:focus-visible{outline:2px solid var(--color-compat-line-5);outline-offset:-3px}
@media(prefers-reduced-motion:reduce){.wiki-question-year>summary:before{transition:none}}

.dentition-template{margin:0 0 24px}.dentition-content{padding-top:16px}
.dentition-guide,.dentition-note{text-align:center;color:var(--muted,var(--color-compat-ink-16));font-size:14px;padding:0 16px}.dentition-chart{position:relative;max-width:620px;aspect-ratio:1 / 1.22;margin:0 auto}.dentition-tooth{position:absolute;translate:-50% -50%;--focus-ring-width:0px;width:7.8%;text-align:center;color:var(--color-compat-ink-120);z-index:1;line-height:1.1;border-radius:8px}.dentition-tooth svg{display:block;width:100%;fill:var(--color-tooth-enamel);stroke:var(--color-tooth-contour);stroke-width:1.4}.dentition-tooth .fissure{fill:none;stroke-width:1.2;opacity:.7}.dentition-tooth span{font-size:clamp(10px,1.1vw,13px);display:block}.dentition-tooth:is(:hover,:focus,:active){outline:none;box-shadow:none}.dentition-tooth:focus-visible span{text-decoration:underline;text-underline-offset:3px}.dentition-tooth:hover svg{fill:var(--color-tooth-enamel-hover)}
.dentition-side{position:absolute;top:4%;font-size:12px;color:var(--color-compat-ink-16)}.dentition-side.right{left:4%}.dentition-side.left{right:4%}.dentition-center{position:absolute;left:50%;transform:translateX(-50%);font-size:20px;font-weight:600;color:var(--color-compat-ink-149)}.dentition-center.upper{top:25%}.dentition-center.lower{bottom:25%}.dentition-midline{position:absolute;left:50%;top:8%;bottom:8%;border-left:1px dashed var(--color-compat-line-67);pointer-events:none;opacity:.3}.dentition-legend{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;padding:8px 12px}.dentition-legend a{padding:8px 2px;border:0;border-radius:0;font-size:11px;color:var(--color-muted);text-decoration:none}.dentition-legend a:hover,.dentition-legend a:focus-visible{color:var(--color-ink);text-decoration:underline;text-underline-offset:5px}.dentition-chart .group-1{color:var(--color-compat-ink-150)}.dentition-chart .group-2{color:var(--color-compat-ink-151)}.dentition-chart .group-3{color:var(--color-compat-ink-152)}.dentition-chart .group-4{color:var(--color-compat-ink-153)}.wiki-backlink-fold{margin:0;border:1px solid var(--color-compat-line-69);border-radius:8px}.wiki-backlink-fold>summary{padding:16px 20px;cursor:pointer;color:var(--text,var(--color-compat-ink-9))}.wiki-backlink-fold .wiki-chips{padding:4px 20px 20px}.wiki-backlink-fold>summary:hover{background:var(--color-compat-surface-93)}

.dentition-tooth{width:6.5%}.dentition-tooth span{position:absolute;white-space:nowrap}.dentition-tooth.anterior span{bottom:calc(100% + 3px);left:50%;transform:translateX(-50%)}.dentition-tooth.posterior span{top:50%;transform:translateY(-50%)}.dentition-tooth.posterior.right span{right:calc(100% + 6px)}.dentition-tooth.posterior.left span{left:calc(100% + 6px)}
.dentition-tooth.lower.anterior span{top:calc(100% + 3px);bottom:auto}.dentition-tooth .fissure{stroke-linecap:round;stroke-linejoin:round}.dentition-tooth svg{overflow:visible}.dentition-guide{margin:14px 0 8px}.dentition-note{margin:10px 0 16px}
.wiki-exam-summary{margin:22px 0 36px;border:1px solid var(--color-compat-line-70);border-radius:12px;overflow:hidden;background:var(--color-compat-surface-77)}
.wiki-exam-summary>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 22px;background:var(--color-compat-surface-94);color:var(--color-compat-ink-154)}
.wiki-exam-summary>header>span{font-size:13px;color:var(--color-compat-ink-155)}
.wiki-summary-title{display:inline-flex;align-items:center;gap:9px}
.wiki-summary-beta{display:inline-block;padding:2px 6px;border:1px solid var(--color-compat-line-71);border-radius:4px;font-size:11px;font-weight:500;line-height:1.3;letter-spacing:.02em;color:var(--color-compat-ink-54)}
.wiki-exam-summary-body{padding:4px 22px 20px}
.wiki-exam-summary .wiki-exam-summary-body>section{margin:22px 0 0;padding:0}
.wiki-exam-summary h4{font-size:17px;margin:0 0 10px;color:var(--color-compat-ink-156)}
.wiki-exam-summary p,.wiki-exam-summary li{font-size:15px;line-height:1.8}
.wiki-exam-summary p{margin:8px 0}.wiki-exam-summary ul{margin:8px 0;padding-left:22px}
.wiki-exam-summary .wiki-summary-note{font-size:12px;color:var(--color-compat-ink-132)}
.wiki-exam-summary table{font-size:14px;width:100%;margin:10px 0}
.wiki-exam-summary .wiki-summary-strategy{border-top:1px solid var(--color-compat-line-72);padding-top:18px}
.wiki-exam-summary .wiki-table-wrap{margin:10px 0}.wiki-exam-summary td,.wiki-exam-summary th{padding:6px 10px}
@media(min-width:1100px){.wiki-exam-summary-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.wiki-exam-summary .wiki-summary-strategy{border:0;padding:0}}
.dentition-chart{aspect-ratio:1 / 1.3}.dentition-tooth svg{stroke-linejoin:round}.dentition-tooth .marginal-ridge{fill:none;stroke-width:.7;stroke-dasharray:1.1 1.8;opacity:.55}.dentition-tooth .fissure{stroke-width:1;opacity:.8}.dentition-center.upper{top:22%}.dentition-center.lower{bottom:22%}
.wiki-footnote-preview{position:fixed;z-index:100;box-sizing:border-box;width:360px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;padding:14px 18px;border:1px solid var(--color-compat-line-73);border-radius:10px;background:var(--color-compat-surface-95);color:var(--color-compat-ink-157);box-shadow:0 8px 28px var(--color-compat-shadow-13);font-family:'Longinus Pretendard',sans-serif;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.wiki-footnote-preview[hidden]{display:none}.wiki-footnote-preview>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px}.wiki-footnote-preview>header button{background:none;border:0;color:var(--color-compat-ink-158);font-size:24px;line-height:1;padding:2px 5px;cursor:pointer}.wiki-footnote-preview a{color:var(--color-compat-ink-159);text-decoration:none}.wiki-footnote-preview .wiki-footnote-jump{margin-top:12px;padding:0;border:0;background:none;color:var(--color-compat-ink-160);font-size:12px;cursor:pointer}.wiki-footnote-preview button:focus-visible,.wiki-reading sup a:focus-visible{outline:2px solid var(--color-compat-line-74);outline-offset:3px}.wiki-reading sup a[aria-expanded=true]{color:var(--color-compat-ink-161);background:var(--color-compat-surface-96);border-radius:3px}
/* Wiki search and account-local recent queries. */
.wiki-hero #wiki-search{gap:10px;align-items:stretch;max-width:800px}
.wiki-search-field{position:relative;display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:0 16px;border:1px solid var(--color-compat-line-75);border-radius:12px;background:var(--color-compat-surface-45);transition:border-color .15s,box-shadow .15s}
.wiki-search-field:focus-within{border-color:var(--color-compat-line-76);box-shadow:0 0 0 3px var(--color-compat-shadow-14)}
.wiki-search-field>svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--color-compat-ink-162);stroke-width:1.7;stroke-linecap:round}
:is(.wiki-hero #wiki-query,.wiki-search-field>input[type="search"]){width:100%;min-width:0;height:50px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--color-compat-ink-163);font-size:15px;outline:none;box-shadow:none;appearance:none}
:is(.wiki-hero #wiki-query,.wiki-search-field>input[type="search"])::placeholder{color:var(--color-compat-muted-21);opacity:1}
:is(.wiki-hero #wiki-query,.wiki-search-field>input[type="search"])::-webkit-search-cancel-button{display:none}
.wiki-hero #wiki-search>.primary{min-width:76px;border-radius:12px;font-size:14px}
.wiki-search-clear,.wiki-search-remove{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--color-compat-ink-164);font-size:21px;line-height:1}
.wiki-search-clear[hidden],.wiki-search-history[hidden]{display:none}
.wiki-search-clear:hover,.wiki-search-remove:hover{background:var(--color-compat-surface-41);color:var(--color-compat-ink-41)}
.wiki-search-history{position:absolute;z-index:30;left:-1px;right:-1px;top:calc(100% + 8px);padding:8px;border:1px solid var(--color-compat-line-77);border-radius:12px;background:var(--color-compat-surface-97);box-shadow:0 12px 30px var(--color-compat-shadow-1);max-height:340px;overflow:auto;scrollbar-gutter:stable}
.wiki-search-history-head{padding:8px 10px 10px;font-size:12px;font-weight:600;color:var(--color-compat-ink-165)}
.wiki-search-history-row{display:flex;align-items:center;gap:8px;border-radius:8px;padding-right:6px}
.wiki-search-history-row:hover{background:var(--color-compat-surface-34)}
.wiki-search-term{flex:1;min-width:0;padding:10px;border:0;border-radius:8px;background:transparent;text-align:left;font-size:14px;color:var(--color-compat-ink-166);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wiki-search-term:focus-visible,.wiki-search-remove:focus-visible,.wiki-search-clear:focus-visible{outline:2px solid var(--color-compat-line-76);outline-offset:-2px}
.wiki-search-history-empty{padding:8px 10px 14px;margin:0;font-size:13px;color:var(--color-compat-ink-77)}
@media(max-width:600px){.wiki-search-field{padding:0 10px;gap:8px}:is(.wiki-hero #wiki-query,.wiki-search-field>input[type="search"]){font-size:14px}.wiki-hero #wiki-search>.primary{min-width:60px;padding:10px}}
.wiki-network-fold{border:1px solid var(--color-compat-line-78);border-radius:12px;background:var(--color-compat-surface-98);overflow:hidden}
.wiki-network-fold>summary{padding:14px 18px;color:var(--color-compat-ink-167);cursor:pointer;background:var(--color-compat-surface-99)}
.wiki-network-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:18px 18px 8px;font-size:13px}
.wiki-network-toolbar label{display:flex;align-items:center;gap:7px;color:var(--color-compat-ink-168)}
.wiki-network-toolbar input,.wiki-network-toolbar select,.wiki-network-toolbar button{border:1px solid var(--color-compat-line-79);border-radius:7px;background:var(--color-compat-surface-100);color:var(--color-compat-ink-166);padding:8px;min-width:0;font:inherit}
.wiki-network-toolbar input{flex:1;width:160px}
.wiki-network-legend{display:flex;gap:16px;flex-wrap:wrap;padding:0 18px;font-size:12px}
.wiki-network-legend .out{color:var(--color-compat-ink-169)}.wiki-network-legend .in{color:var(--color-compat-ink-170)}.wiki-network-legend .both{color:var(--color-compat-ink-171)}
.wiki-network-status,.wiki-network-help{padding:0 18px;font-size:12px;color:var(--color-compat-ink-172)}
.wiki-network-canvas{background:radial-gradient(ellipse at center,var(--color-compat-surface-101),var(--color-compat-surface-102));border-block:1px solid var(--color-compat-line-80);overflow:hidden}
.wiki-network-canvas svg{display:block;width:100%;height:auto;touch-action:none;cursor:grab}
.wiki-network-canvas line{stroke:var(--color-compat-ink-173);stroke-width:1;opacity:.4}.wiki-network-canvas line.highlight{stroke:var(--color-compat-ink-174);stroke-width:2;opacity:.95}
.wiki-network-node circle{fill:var(--color-compat-ink-169);stroke:var(--color-compat-ink-175);stroke-width:1.5}.wiki-network-node.in circle{fill:var(--color-compat-ink-176);stroke:var(--color-compat-ink-177)}.wiki-network-node.both circle{fill:var(--color-compat-ink-178);stroke:var(--color-compat-ink-179)}.wiki-network-node.center circle{fill:var(--color-compat-ink-180);stroke:var(--color-compat-ink-41);stroke-width:3}
.wiki-network-node text{font-size:13px;fill:var(--color-compat-ink-181);paint-order:stroke;stroke:var(--color-compat-ink-182);stroke-width:4px;stroke-linejoin:round}.wiki-network-node.center text{font-size:16px;font-weight:700}.wiki-network-node:hover circle,.wiki-network-node:focus circle{stroke:var(--color-compat-ink-41);stroke-width:4}
.wiki-network-list{padding:0 18px 16px;font-size:14px}.wiki-network-list summary{cursor:pointer;color:var(--color-compat-ink-183)}.wiki-network-list ul{columns:2;padding-left:20px}
@media(max-width:600px){.wiki-network-toolbar{padding:12px;gap:8px}.wiki-network-list ul{columns:1}.wiki-network-canvas svg{min-height:350px}}
/* Search suggestions join the input; results use compact document rows. */
.wiki-search-field:has(.wiki-search-history:not([hidden])){border-radius:12px 12px 0 0}
.wiki-search-history{top:100%;border-top:0;border-radius:0 0 12px 12px;max-height:430px;padding:6px;background:var(--color-compat-surface-45)}
.wiki-search-suggestion{display:flex;align-items:center;gap:12px;padding:12px 10px;border-radius:7px;color:var(--color-compat-ink-166);font-size:14px;line-height:1.5}
.wiki-search-suggestion:hover,.wiki-search-suggestion:focus-visible{background:var(--color-compat-surface-103);outline:0;box-shadow:inset 3px 0 var(--color-compat-shadow-15)}
.wiki-search-suggestion>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wiki-search-suggestion-icon{color:var(--color-compat-ink-184);font-size:23px;line-height:1;width:20px;flex:none}
.wiki-search-suggestion small{font-size:11px;color:var(--color-compat-muted-22);max-width:35%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.wiki-home,.concept-deck-builder) .wiki-results{display:flex;flex-direction:column;gap:0}
:is(.wiki-home,.concept-deck-builder) .wiki-result{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,1fr) minmax(100px,.6fr);align-items:center;gap:20px;padding:17px 12px;border:0;border-bottom:1px solid var(--color-compat-line-16);border-radius:0;background:transparent}
:is(.wiki-home,.concept-deck-builder) .wiki-result:hover,:is(.wiki-home,.concept-deck-builder) .wiki-result:focus-visible{background:var(--color-compat-surface-104)}
:is(.wiki-home,.concept-deck-builder) .wiki-result strong{font-size:16px;color:var(--color-compat-ink-185)}
:is(.wiki-home,.concept-deck-builder) .wiki-result span{font-size:12px}:is(.wiki-home,.concept-deck-builder) .wiki-result small{text-align:right;font-size:12px}
@media(max-width:650px){:is(.wiki-home,.concept-deck-builder) .wiki-result{grid-template-columns:1fr auto;gap:5px 12px;padding:15px 8px}:is(.wiki-home,.concept-deck-builder) .wiki-result>span{grid-column:1/-1;grid-row:2}:is(.wiki-home,.concept-deck-builder) .wiki-result small{max-width:140px}.wiki-hero .wiki-search-suggestion small{display:none}}
/* Restrained network panel: shape encodes document kind, color encodes direction. */
.wiki-network-fold{background:var(--color-compat-surface-105);border-color:var(--color-compat-line-81);border-radius:14px}
.wiki-network-fold>summary{display:flex;justify-content:space-between;align-items:center;list-style:none;background:transparent;padding:18px 22px;color:var(--color-compat-ink-186);font-size:14px;font-weight:500}
.wiki-network-fold>summary::-webkit-details-marker{display:none}
.network-fold-state::after{content:'펼치기 ＋';font-size:12px;color:var(--color-compat-ink-187)}.wiki-network-fold[open] .network-fold-state::after{content:'접기 −'}
.wiki-network-toolbar{padding:4px 22px 12px;gap:8px}
.wiki-network-toolbar input,.wiki-network-toolbar select,.wiki-network-toolbar button{background:var(--color-compat-surface-106);border-color:var(--color-compat-line-82);border-radius:8px;padding:8px 10px;font-size:12px}
.wiki-network-toolbar button:hover{background:var(--color-compat-surface-107)}.wiki-network-toolbar input:focus,.wiki-network-toolbar select:focus{outline:1px solid var(--color-compat-line-83);outline-offset:1px}
.wiki-network-toolbar .network-label-toggle{margin-left:auto;font-size:11px;white-space:nowrap}.wiki-network-toolbar input[type=checkbox]{flex:none;width:14px;accent-color:var(--color-compat-ink-14)}
.wiki-network-legend{padding:0 22px;margin:4px 0!important;gap:18px;font-size:11px}
.wiki-network-types{display:flex;gap:16px;padding:4px 22px;color:var(--color-compat-ink-188);font-size:11px}
.wiki-network-status{padding:0 22px;font-size:11px;margin:8px 0 14px!important;color:var(--color-compat-ink-189)}
.wiki-network-canvas{background:var(--color-compat-surface-108);border-color:var(--color-compat-line-84);background-image:radial-gradient(var(--color-compat-surface-9) .8px,transparent .8px);background-size:20px 20px}
.wiki-network-canvas line{stroke:var(--color-compat-ink-190);opacity:.19;stroke-width:1}.wiki-network-canvas line.highlight{stroke:var(--color-compat-ink-191);opacity:.9;stroke-width:1.8}
.wiki-network-node .node-shape{fill:var(--color-compat-ink-192);stroke:var(--color-compat-ink-193);stroke-width:1.3}.wiki-network-node.in .node-shape{fill:var(--color-compat-ink-194);stroke:var(--color-compat-ink-195)}.wiki-network-node.both .node-shape{fill:var(--color-compat-ink-196);stroke:var(--color-compat-ink-197)}.wiki-network-node.center .node-shape{fill:var(--color-compat-ink-198);stroke:var(--color-compat-ink-199);stroke-width:2.5}
.wiki-network-node text{fill:var(--color-compat-ink-200);stroke:var(--color-compat-ink-201);stroke-width:5px;font-size:12px}.wiki-network-node.center text{fill:var(--color-compat-ink-202);font-size:15px}
.wiki-network-node:hover .node-shape,.wiki-network-node:focus .node-shape{stroke:var(--color-compat-ink-41);stroke-width:3}
.wiki-network-node:hover text,.wiki-network-node:focus text{fill:var(--color-compat-ink-41);font-size:14px}
.network-dense .wiki-network-node:not(.center) text{opacity:0}.network-dense .wiki-network-node:hover text,.network-dense .wiki-network-node:focus text,.show-all-labels .network-dense .wiki-network-node text{opacity:1}
.wiki-network-help{font-size:11px;padding:0 22px;color:var(--color-compat-ink-189)}.wiki-network-list{padding:0 22px 18px;font-size:12px}
/* Small markers and a muted Longinus palette; keep labels readable at rest. */
.wiki-network-node .node-shape{fill:var(--color-compat-muted-23);stroke:var(--color-compat-muted-24);stroke-width:1}.wiki-network-node.in .node-shape{fill:var(--color-compat-ink-203);stroke:var(--color-compat-ink-204)}.wiki-network-node.both .node-shape{fill:var(--color-compat-ink-205);stroke:var(--color-compat-ink-206)}.wiki-network-node.center .node-shape{fill:var(--color-compat-ink-192);stroke:var(--color-compat-ink-207);stroke-width:1.5}
.wiki-network-legend .out{color:var(--color-compat-ink-208)}.wiki-network-legend .in{color:var(--color-compat-ink-46)}.wiki-network-legend .both{color:var(--color-compat-ink-206)}
.wiki-network-node text{font-size:11px;fill:var(--color-compat-ink-209);stroke:var(--color-compat-ink-201);stroke-width:3px}.wiki-network-node.center text{font-size:12px;font-weight:600;fill:var(--color-compat-ink-210)}.wiki-network-node:hover text,.wiki-network-node:focus text{font-size:11px;fill:var(--color-compat-ink-211)}.wiki-network-node.center:hover text,.wiki-network-node.center:focus text{font-size:12px}
.wiki-network-node:hover .node-shape,.wiki-network-node:focus .node-shape{stroke:var(--color-compat-ink-212);stroke-width:2}
.wiki-network-canvas line.highlight{stroke:var(--color-compat-ink-213);stroke-width:1.3}.wiki-network-canvas line{stroke:var(--color-compat-ink-214);opacity:.17}
/* Quiet hover feedback: labels stay on one line and full names use a tooltip. */
.wiki-network-canvas line{opacity:.22;stroke-width:1;transition:opacity 240ms ease,stroke 240ms ease,stroke-width 240ms ease}
.wiki-network-canvas line.highlight{stroke:var(--color-compat-ink-215);opacity:.52;stroke-width:1.15}
.wiki-network-node .node-shape{transition:stroke 220ms ease,stroke-width 220ms ease}
.wiki-network-node:hover .node-shape,.wiki-network-node:focus .node-shape{stroke:var(--color-compat-ink-216);stroke-width:1.3}
.wiki-network-node.center:hover .node-shape,.wiki-network-node.center:focus .node-shape{stroke-width:1.5}
.wiki-network-node text{transition:fill 220ms ease,opacity 220ms ease}
.wiki-network-node:hover text,.wiki-network-node:focus text{fill:var(--color-compat-ink-217)}
.wiki-network-tooltip{position:fixed;z-index:90;pointer-events:none;max-width:calc(100vw - 32px);box-sizing:border-box;padding:7px 11px;border:1px solid var(--color-compat-line-85);border-radius:6px;background:var(--color-compat-surface-109);color:var(--color-compat-ink-218);font:12px/1.5 'Longinus Pretendard',sans-serif;overflow-wrap:anywhere;box-shadow:0 3px 12px var(--color-compat-shadow-8)}
.wiki-network-tooltip[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.wiki-network-canvas line,.wiki-network-node .node-shape,.wiki-network-node text{transition:none}}

/* One connection style; subjects use a crisp, hollow square. */
.wiki-network-node:not(.center) .node-shape{fill:var(--color-compat-ink-219);stroke:var(--color-compat-ink-220)}
.wiki-network-node.subject:not(.center) .node-shape{fill:var(--color-compat-ink-201);stroke:var(--color-compat-ink-221);stroke-width:1.6}
.wiki-network-types span{display:inline-flex;align-items:center;gap:5px}
.wiki-network-types svg{width:20px;height:20px;fill:var(--color-compat-ink-219);stroke:var(--color-compat-ink-220);stroke-width:1}
.wiki-network-types rect{fill:var(--color-compat-ink-201);stroke:var(--color-compat-ink-221);stroke-width:1.6}
.wiki-network-node.subject:hover .node-shape,.wiki-network-node.subject:focus .node-shape{stroke:var(--color-compat-ink-216);stroke-width:1.6}
.wiki-filter-panel{padding:16px 0 20px;border-bottom:1px solid var(--color-compat-line-86)}.wiki-filter-panel[hidden],.wiki-filter-selected[hidden]{display:none}.wiki-filter-panel>p{font-size:13px;color:var(--color-compat-ink-16);margin:0 0 12px}.wiki-filter-options{display:flex;flex-wrap:wrap;gap:8px;max-height:240px;overflow:auto;scrollbar-gutter:stable}.wiki-filter-options button,.wiki-filter-selected button{font:inherit;font-size:13px;color:var(--color-compat-accent-8);background:transparent;border:1px solid var(--color-compat-accent-line-4);border-radius:7px;padding:8px 12px;cursor:pointer}.wiki-filter-options button:hover,.wiki-filter-options button[aria-pressed=true]{color:var(--color-compat-ink-222);border-color:var(--color-compat-line-87);background:var(--color-compat-surface-110)}.wiki-filter-options button:focus-visible,.wiki-filter-selected button:focus-visible{outline:2px solid var(--color-compat-accent-line-5);outline-offset:2px}.wiki-filter-selected{display:flex;flex-wrap:wrap;gap:8px;padding:14px 0}.wiki-filter-selected button{color:var(--color-compat-accent-9);border-color:transparent;padding:5px 8px}.wiki-kinds button[aria-expanded=true]{color:var(--color-compat-ink-222)}
.wiki-filter-selected:not([hidden])+.wiki-filter-panel:not([hidden]){padding-top:0}
/* Compact filter spacing; explicit border-box height supports interrupted toggles. */
.wiki-home .wiki-kinds{margin-bottom:0}
.wiki-filter-selected{padding:6px 0;gap:4px 8px}
.wiki-filter-selected button{padding:3px 8px}
.wiki-filter-panel{box-sizing:border-box;overflow:hidden;padding:10px 0 12px}
.wiki-filter-panel>p{margin-bottom:8px}

/* Align the Wiki landing title with the library title in each shell pane. */
body.embedded[data-view=wiki] #main:has(>.wiki-home){padding-top:52px}
.wiki-home .wiki-hero{margin-top:0}
.wiki-home .wiki-hero h1{margin-top:0;line-height:1.16}
@media(min-width:1500px){body.embedded[data-view=wiki] #main:has(>.wiki-home){padding-top:68px}}
@media(max-width:1050px){body.embedded[data-view=wiki] #main:has(>.wiki-home){padding-top:40px}}
@media(max-width:760px){body.embedded[data-view=wiki] #main:has(>.wiki-home){padding-top:32px}}

/* Wiki documents start at the same height as the library, with actions beside the title. */
body.embedded[data-view=wiki] #main:has(>.wiki-document){padding-top:52px}
.wiki-document-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.wiki-document-title-row h1{flex:1;min-width:0;margin:0;line-height:1.16}
.wiki-document-actions{display:flex;align-items:center;gap:8px;flex:none;white-space:nowrap}
@media(min-width:1500px){body.embedded[data-view=wiki] #main:has(>.wiki-document){padding-top:68px}}
@media(max-width:1050px){body.embedded[data-view=wiki] #main:has(>.wiki-document){padding-top:40px}}
@media(max-width:760px){body.embedded[data-view=wiki] #main:has(>.wiki-document){padding-top:32px}}

.dentition-tooth .crown-outline{fill:var(--color-tooth-enamel);stroke:var(--color-tooth-contour);stroke-linejoin:round;stroke-linecap:round}.dentition-tooth:hover .crown-outline{fill:var(--color-tooth-enamel-hover)}

.wiki-document-meta-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px}
.wiki-document-meta-row .wiki-aliases{flex:1;min-width:0;margin:0}
.wiki-document-meta-row .wiki-document-actions{flex:none}

/* One disclosure surface owns both the selector and its expanded content. */
.wiki-filter-disclosure{margin:12px 0 16px;border-radius:16px;overflow:hidden;background:var(--color-selection-track)}
.wiki-home .wiki-filter-disclosure>.wiki-kinds{margin:0;border:0;background:transparent}
.wiki-filter-disclosure>.wiki-filter-panel{padding:0;border:0;background:transparent}
.wiki-filter-disclosure .wiki-filter-panel>p{padding:12px 16px 0;margin:0 0 10px}
.wiki-filter-disclosure .wiki-filter-options{padding:0 16px 16px;scroll-padding:16px;gap:8px}

button.wiki-search-suggestion{width:100%;border:0;background:transparent;text-align:left;font-family:inherit}

/* Both searches share one outer surface, including its corners when expanded. */
#main .wiki-search-field[data-field=search],
html[data-longinus-platform] #main .wiki-search-field[data-field=search]:has(.wiki-search-history:not([hidden])){
 display:grid;grid-template-columns:auto minmax(0,1fr) auto;row-gap:0;
 padding-inline:var(--search-inset,12px);border-radius:var(--search-radius,12px);overflow:hidden;
}
html[data-longinus-platform=ios] #main .wiki-search-field{--search-radius:17px}
html #main .wiki-search-field[data-field=search]>.wiki-search-history{
 position:static;grid-column:1/-1;margin-inline:calc(-1 * var(--search-inset,12px));
 border:0;border-radius:0;box-shadow:none;background:transparent!important;
 max-height:min(22rem,45dvh);overflow:auto;overscroll-behavior:contain;
}
.wiki-hero #wiki-search>.primary{align-self:start;min-height:50px}
@media(prefers-reduced-motion:no-preference){
 .wiki-search-history[data-open=true]{animation:search-list-appear 100ms ease-out}
 @keyframes search-list-appear{from{opacity:.55}to{opacity:1}}
}
.wiki-result .wiki-subjects{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0 .4em}
.wiki-result .wiki-subjects>span{white-space:nowrap}
