html { scroll-behavior:smooth; }
.dictionary-page { --dm-muted:#667080; --dm-soft:#f4f6fa; }
.dictionary-page [hidden] { display:none!important; }
.dictionary-page main button, .dictionary-page dialog button { font:inherit; cursor:pointer; }
.dictionary-page main :focus-visible, .dm-dialog :focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
.dm-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.dm-hero { padding-top:15px; padding-bottom:23px; }
.dm-back { display:inline-flex; align-items:center; min-height:28px; font-size:11px; color:var(--dm-muted); }
.dm-back:hover { color:var(--blue); }
.dm-hero-layout { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-top:14px; }
.dm-eyebrow { font-size:10px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; line-height:1.5; color:var(--dm-muted); }
.dm-hero h1 { font-size:clamp(44px,5vw,70px); font-weight:650; line-height:1; letter-spacing:-.072em; margin-top:8px; }
.dm-hero h1 span, .dm-next-section h2 span { color:var(--blue); }
.dm-hero-note { display:flex; align-items:center; gap:26px; padding-bottom:4px; }
.dm-aa { position:relative; color:var(--blue); font-size:clamp(72px,8vw,112px); font-weight:550; letter-spacing:-.085em; line-height:.9; padding-right:22px; }
.dm-aa > span { position:absolute; top:-10px; right:0; font-size:29px; font-weight:400; letter-spacing:0; }
.dm-hero-note > p { color:var(--dm-muted); font-size:13px; line-height:1.55; }
.dm-catalog { scroll-margin-top:calc(var(--nav-h) + 18px); }
.dm-catalog:focus { outline:0; }
.dm-search-bar { display:flex; align-items:center; gap:16px; padding:0 22px; background:#14171b; color:white; border-radius:8px; min-height:61px; }
.dm-search-bar:focus-within { box-shadow:0 0 0 2px var(--blue); }
.dm-search-bar > svg { flex:none; color:#a5b3d6; }
.dm-search-bar input { width:100%; min-width:0; border:0; padding:17px 0; background:none; color:white; font:inherit; font-size:17px; font-weight:400; letter-spacing:-.025em; outline:none!important; }
.dm-search-bar input::placeholder { color:#c6ccd7; opacity:1; }
.dm-search-bar input::-webkit-search-cancel-button { display:none; }
.dm-search-bar button { width:30px; height:30px; display:grid; place-items:center; color:white; background:none; flex:none; }
.dm-search-bar kbd { display:grid; place-items:center; border:1px solid #59606d; border-radius:4px; width:26px; height:27px; flex:none; font:12px inherit; color:#9aa4b7; }
.dm-filter-row { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:59px; border-bottom:1px solid var(--line); }
.dm-categories { display:flex; align-self:stretch; gap:24px; overflow:auto; scrollbar-width:none; }
.dm-categories::-webkit-scrollbar { display:none; }
.dm-categories button { flex:none; background:none; position:relative; padding:18px 0; font-size:12px!important; font-weight:500!important; color:var(--dm-muted); }
.dm-categories button[aria-pressed='true'] { color:var(--blue); }
.dm-categories button[aria-pressed='true']::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--blue); }
.dm-categories button:hover { color:var(--ink); }
#dm-count { font-size:10px; color:var(--dm-muted); white-space:nowrap; }
.dm-alphabet { display:flex; align-items:center; gap:5px; min-height:46px; padding-block:7px; overflow:auto; scrollbar-width:none; }
.dm-alphabet::-webkit-scrollbar { display:none; }
.dm-alphabet button { flex:none; background:none; border-radius:4px; width:25px; height:27px; padding:0; font-size:10px!important; font-weight:500!important; color:#687182; }
.dm-alphabet button:first-child { width:39px; margin-right:12px; }
.dm-alphabet button[aria-pressed='true'] { color:white; background:var(--blue); }
.dm-alphabet button:disabled { color:#cbd0d8; cursor:default; }
.dm-alphabet button:not(:disabled):not([aria-pressed='true']):hover { color:var(--blue); background:#f0f3ff; }
.dm-workspace { display:grid; grid-template-columns:minmax(220px,.73fr) minmax(0,1.65fr); border-block:1px solid var(--line); min-height:488px; }
.dm-index { padding-right:27px; min-width:0; }
.dm-index-label { display:flex; align-items:center; justify-content:space-between; padding:18px 9px 12px 0; font-size:9px; color:var(--dm-muted); text-transform:uppercase; letter-spacing:.07em; }
.dm-list { height:444px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#ced4e0 transparent; padding-right:8px; padding-bottom:9px; }
.dm-term-link { display:flex; justify-content:space-between; align-items:center; min-height:64px; padding:10px 12px; border-radius:5px; gap:13px; color:var(--ink); position:relative; margin-bottom:2px; transition:background .17s ease, color .17s ease; }
.dm-term-link > span:first-child { min-width:0; }
.dm-term-link strong { display:block; font-size:16px; line-height:1.2; font-weight:520; letter-spacing:-.035em; overflow-wrap:anywhere; }
.dm-term-link small { display:block; font-size:10px; color:var(--dm-muted); margin-top:5px; }
.dm-link-arrow { color:#929bae; font-size:17px; transition:transform .17s; }
.dm-term-link:hover { background:#f3f5fa; }
.dm-term-link:hover .dm-link-arrow { transform:translate(2px,-2px); color:var(--blue); }
.dm-term-link.is-selected { background:#edf1ff; color:var(--blue); }
.dm-term-link.is-selected::before { content:''; position:absolute; left:0; top:13px; bottom:13px; width:2px; border-radius:1px; background:var(--blue); }
.dm-term-link.is-selected .dm-link-arrow { color:var(--blue); }
.dm-reader-slot { border-left:1px solid var(--line); min-width:0; }
.dm-reader { padding:20px 0 12px 37px; }
.dm-reader-top { display:flex; align-items:center; justify-content:space-between; min-height:31px; gap:15px; }
.dm-category-label { font-size:9px; text-transform:uppercase; letter-spacing:.07em; color:var(--blue); font-weight:550; }
.dm-reader-actions { display:flex; align-items:center; gap:9px; }
.dm-reader-actions button { width:32px; height:32px; display:grid; place-items:center; color:var(--ink); border:1px solid var(--line); border-radius:50%; background:white; }
.dm-reader-actions button:hover { border-color:var(--blue); color:var(--blue); }
.dm-copy-feedback { font-size:10px; color:var(--dm-muted); }
#dm-close { display:none; }
.dm-alias { color:var(--dm-muted); font-size:11px; line-height:1.5; margin-top:15px; min-height:16px; }
#dm-term-title { font-size:clamp(33px,3.6vw,51px); font-weight:620; line-height:1.06; letter-spacing:-.065em; margin-top:4px; overflow-wrap:anywhere; }
#dm-term-title:focus { outline:0; }
.dm-definition { font-size:15px; line-height:1.65; letter-spacing:-.015em; color:#3d4655; margin-top:17px; max-width:65ch; }
.dm-example { display:grid; grid-template-columns:1fr 84px; align-items:center; gap:22px; border-radius:7px; background:#f4f6fb; padding:22px; margin-top:23px; }
.dm-example .dm-eyebrow { color:var(--blue); font-size:9px; }
#dm-example-copy { font-size:12px; line-height:1.65; margin-top:9px; color:#556073; }
#dm-symbol { color:#244bff; font-size:41px; font-weight:550; line-height:1; letter-spacing:-.065em; text-align:center; overflow-wrap:anywhere; }
.dm-related { margin-top:22px; }
.dm-related h3 { font-size:10px; font-weight:500; color:var(--dm-muted); }
#dm-related-links { display:flex; flex-wrap:wrap; align-items:center; gap:9px 20px; margin-top:9px; }
#dm-related-links a { display:flex; gap:10px; font-size:12px; font-weight:500; color:var(--ink); min-height:26px; align-items:center; }
#dm-related-links a:hover { color:var(--blue); }
#dm-related-links a > span { color:var(--blue); }
.dm-tool-link { display:inline-flex; align-items:center; gap:22px; color:var(--blue); font-size:11px; margin-top:15px; padding-bottom:5px; border-bottom:1px solid #c2ccff; }
.dm-reader-bottom { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); margin-top:22px; padding-top:11px; }
#dm-position { color:var(--dm-muted); font-size:10px; }
.dm-reader-bottom > div { display:flex; gap:5px; }
.dm-reader-bottom button { display:grid; place-items:center; width:33px; height:30px; font-size:19px!important; background:none; color:var(--ink); border-radius:3px; }
.dm-reader-bottom button:hover:not(:disabled) { background:#f0f3ff; color:var(--blue); }
.dm-reader-bottom button:disabled { opacity:.25; cursor:default; }
.dm-empty { padding:28px 10px; }
.dm-empty > span { font-size:63px; line-height:1; color:var(--blue); }
.dm-empty h2 { font-size:24px; font-weight:600; line-height:1.1; letter-spacing:-.05em; margin-top:20px; }
.dm-empty p { font-size:12px; line-height:1.6; color:var(--dm-muted); margin-top:12px; }
.dm-empty button { display:flex; gap:20px; align-items:center; background:none; color:var(--blue); font-size:11px!important; text-align:left; padding:0; min-height:44px; margin-top:14px; }
.dm-reader-empty { min-height:450px; display:flex; flex-direction:column; justify-content:center; align-items:center; }
.dm-reader-empty > span { font-size:110px; letter-spacing:-.09em; font-weight:550; color:#dde3f1; }
.dm-reader-empty p { text-align:center; font-size:15px; line-height:1.5; color:var(--dm-muted); }
.dm-dialog { --dm-muted:#667080; padding:0; border:0; background:white; color:var(--ink); width:calc(100% - 26px); max-width:560px; max-height:calc(100dvh - 40px); margin:auto; border-radius:12px; box-shadow:0 20px 80px #0004; overscroll-behavior:contain; }
.dm-dialog::backdrop { background:#0c1029a8; backdrop-filter:blur(4px); }
.dm-dialog[open] { animation:dm-dialog-in .2s ease-out; }
.dm-dialog .dm-reader { padding:20px; }
.dm-dialog #dm-close { display:grid; }
.dm-dialog .dm-reader-top { position:sticky; top:0; background:white; z-index:1; padding-block:5px; }
.dm-dialog #dm-term-title { font-size:37px; }
.dm-dialog .dm-definition { font-size:14px; }
.dm-dialog .dm-example { grid-template-columns:1fr; padding:18px; gap:14px; margin-top:20px; }
.dm-dialog #dm-symbol { display:none; }
.dm-dialog .dm-reader-bottom { margin-top:21px; }
.dm-dialog .dm-reader-bottom button { width:40px; height:38px; }
.dm-fallback { padding-top:30px; }
.dm-fallback article { padding-block:24px; border-top:1px solid var(--line); scroll-margin-top:var(--nav-h); }
.dm-fallback h3 { font-size:24px; }
.dm-fallback p { margin-top:12px; line-height:1.6; }
.dm-next-section { display:grid; grid-template-columns:1fr 1.5fr; gap:65px; padding-block:44px 52px; }
.dm-next-section h2 { font-size:clamp(32px,3.7vw,49px); font-weight:610; letter-spacing:-.065em; line-height:1.03; margin-top:9px; }
.dm-next-links { border-top:1px solid var(--line); }
.dm-next-links > a { display:flex; align-items:center; gap:23px; min-height:88px; border-bottom:1px solid var(--line); padding:17px 0; }
.dm-next-symbol { color:var(--blue); font-size:37px; width:36px; flex:none; text-align:center; letter-spacing:-.06em; font-weight:500; }
.dm-next-links a > span:nth-child(2) { flex:1; }
.dm-next-links strong { display:block; font-size:16px; font-weight:550; letter-spacing:-.035em; }
.dm-next-links small { display:block; font-size:12px; line-height:1.5; color:var(--dm-muted); margin-top:6px; }
.dm-next-links a > span:last-child { color:var(--blue); font-size:22px; }
.dm-next-links a:hover strong { color:var(--blue); }
@keyframes dm-dialog-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@media(min-width:1500px) { .dm-hero,.dm-catalog,.dm-next-section { max-width:1260px; } }
@media(max-width:1050px) {
 .dm-hero-note { gap:20px; }.dm-aa { font-size:83px; }.dm-hero-note p { max-width:25ch; font-size:12px; }
 .dm-categories { gap:20px; }.dm-alphabet { gap:3px; }.dm-alphabet button { width:23px; }
 .dm-workspace { grid-template-columns:minmax(195px,.7fr) minmax(0,1.5fr); }.dm-index { padding-right:22px; }.dm-reader { padding-left:27px; }
 .dm-example { grid-template-columns:1fr 63px; gap:17px; padding:18px; } #dm-symbol { font-size:35px; }
 .dm-next-section { gap:40px; }
}
@media(max-width:760px) {
 .dm-hero { padding-top:12px; padding-bottom:21px; }.dm-hero-layout { align-items:flex-start; gap:18px; margin-top:15px; }
 .dm-hero h1 { font-size:clamp(39px,7vw,54px); }.dm-hero-note { padding-top:28px; }.dm-aa { font-size:57px; padding-right:16px; }.dm-aa > span { font-size:22px; top:-6px; }.dm-hero-note > p { display:none; }
 .dm-eyebrow { font-size:9px; }.dm-search-bar { padding-inline:15px; gap:12px; min-height:58px; }.dm-search-bar input { font-size:15px; padding-block:17px; }.dm-search-bar kbd { display:none; }
 .dm-filter-row { gap:0; flex-wrap:wrap; padding-top:2px; }.dm-categories { width:100%; gap:22px; }.dm-categories button { min-height:50px; padding-block:14px; }.dm-filter-row > p { display:none; }
 .dm-alphabet { gap:3px; padding-block:10px; }.dm-alphabet button { width:28px; height:31px; }.dm-alphabet button:first-child { margin-right:5px; }
 .dm-workspace { display:block; min-height:0; }.dm-index { padding:0; }.dm-index-label { padding-top:16px; font-size:10px; }.dm-list { height:430px; padding-right:4px; padding-bottom:10px; }
 .dm-term-link { min-height:66px; padding-inline:12px; }.dm-term-link strong { font-size:17px; }.dm-term-link small { font-size:11px; }.dm-link-arrow { font-size:21px; }
 .dm-reader-slot { display:none; }.dm-empty { padding-block:30px 38px; }
 .dm-next-section { grid-template-columns:1fr; gap:23px; padding-block:35px 40px; }.dm-next-section h2 { font-size:34px; }.dm-next-section h2 br { display:none; }
 .dm-next-links > a { gap:16px; }.dm-next-links strong { font-size:15px; }.dm-next-links small { font-size:11px; }
}
@media(max-width:390px) { .dm-aa { display:none; }.dm-hero-layout { gap:0; }.dm-hero h1 { font-size:43px; }.dm-search-bar input { font-size:14px; }.dm-search-bar { gap:10px; }.dm-dialog .dm-reader { padding:17px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.dictionary-page *, .dm-dialog { animation:none!important; transition:none!important; } }
.dm-page-link { margin-right:22px; }
