.lexicon { --lex-ink:#243c45; --lex-muted:#687173; --lex-line:#dddcd3; --lex-green:#275e51; color:var(--lex-ink); padding:2rem 0 4rem; max-width:1120px; margin:auto; }
.lexicon :is(h1,h2,h3,p) { margin-top:0; }
.lexicon a { text-underline-offset:4px; }
.lexicon a:focus-visible,.lexicon summary:focus-visible,.lexicon input:focus-visible,.lexicon select:focus-visible { outline:2px solid #986426; outline-offset:4px; }
.lex-heading { padding:2rem 0 1.6rem; }
.lex-kicker,.lex-pos,.lex-source-label { font:650 .75rem/1.5 "Manrope",system-ui,sans-serif; color:var(--lex-green); }
.lex-heading h1,.lex-word-heading h1 { font:500 clamp(2.8rem,5.6vw,5rem)/1.06 Georgia,serif; letter-spacing:-.045em; margin:0 0 1.25rem; }
.lex-heading>p:last-child { color:#526266; font-size:1.08rem; line-height:1.7; }
.lex-search { padding:1.4rem; background:#edf0e7; display:grid; grid-template-columns:minmax(0,1fr) 13rem; gap:1.3rem; align-items:end; border-radius:.5rem; }
.lex-search label { display:block; font-size:.83rem; font-weight:600; margin-bottom:.6rem; }
.lex-search-field>div { display:flex; gap:.5rem; }
.lex-search input[type=search],.lex-search select { min-width:0; width:100%; height:3.2rem; border:1px solid #bbc4b8; border-radius:.3rem; background:#fffefa; color:var(--lex-ink); padding:.65rem .8rem; font:inherit; }
.lex-search input[type=submit] { flex-shrink:0; padding:.7rem 1.3rem; border-radius:.3rem; background:var(--lex-green); color:white; font-weight:650; cursor:pointer; }
.lex-explore { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; margin:1rem 0 2.7rem; font-size:.9rem; }
.lex-explore span { color:var(--lex-muted); }
.lex-explore a { color:var(--lex-green); border-bottom:1px solid #becab7; }
.lex-results-heading { display:flex; align-items:end; justify-content:space-between; gap:1rem; padding-bottom:1rem; border-bottom:2px solid var(--lex-ink); }
.lexicon h2 { font:500 clamp(1.55rem,3vw,2rem)/1.2 Georgia,serif; letter-spacing:-.025em; margin-bottom:.8rem; }
.lex-results-heading h2 { margin-bottom:.4rem; }
.lex-results-heading p,.lex-muted { font-size:.85rem; color:var(--lex-muted); line-height:1.6; margin-bottom:0; }
.lex-results-heading>a,.lex-footnote,.lex-filter-note { font-size:.83rem; line-height:1.7; }
.lex-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:3rem; }
.lex-result { position:relative; padding:.85rem .2rem .85rem 0; border-bottom:1px solid var(--lex-line); min-width:0; transition:background-color .15s ease; }
.lex-result:hover { background:#edf0e766; }
.lex-result-title { display:flex; align-items:baseline; flex-wrap:wrap; gap:.3rem .65rem; margin-bottom:.25rem; }
.lex-result .lex-pos { margin:0; font:500 .7rem/1.4 "Manrope",system-ui,sans-serif; color:var(--lex-muted); }
.lex-result h3 { font:500 1.25rem/1.3 Georgia,serif; margin:0; overflow-wrap:anywhere; min-width:0; }
.lex-result h3 a::after { content:""; position:absolute; inset:0; }
.lex-result h3 a:hover { color:var(--lex-green); }
.lex-result:has(a:focus-visible) { outline:2px solid #986426; outline-offset:3px; }
.lex-result h3 a:focus-visible { outline:none; }
.lex-result-meaning { font-size:.85rem; line-height:1.5; color:#526266; margin:0; overflow-wrap:anywhere; }
.lex-result .lex-language-note { margin:.25rem 0 0; font-size:.7rem; }
.lex-pagination { display:flex; justify-content:center; align-items:center; gap:2rem; padding:2rem 0; font-size:.9rem; }
.lex-pagination a { padding:.7rem .3rem; }
.lex-footnote { color:var(--lex-muted); border-top:1px solid var(--lex-line); margin-top:2rem; padding-top:1.3rem; }
.lex-filter-note { padding:1rem; background:#fff2db; margin:1rem 0; }
.lex-empty { padding:3rem 0; }
.lex-empty p { color:var(--lex-muted); }
.lex-word-heading { padding:1.3rem 0 1.2rem; border-bottom:2px solid var(--lex-ink); overflow-wrap:anywhere; }
.lex-word-heading h1 { font-size:clamp(3rem,6vw,4.6rem); margin-bottom:.6rem; }
.lex-word-translation { font:500 clamp(1.5rem,2.8vw,2rem)/1.35 "Manrope",system-ui,sans-serif; letter-spacing:-.025em; margin:.7rem 0; max-width:40rem; text-wrap:pretty; }
.lex-pronunciations { display:flex; gap:1rem; flex-wrap:wrap; color:var(--lex-muted); font-size:1rem; }
.lex-pronunciations small { font-size:.75rem; }
.lex-word-actions { display:flex; flex-wrap:wrap; gap:.8rem 2rem; margin-top:.7rem; font-size:.86rem; color:var(--lex-green); }
.lex-word-actions a { padding:.4rem 0; }
.lex-article-layout { display:grid; grid-template-columns:minmax(0,1fr) 17rem; gap:2.5rem; margin-top:1.6rem; align-items:start; }
.lex-main-column { min-width:0; }
.lex-source-label { margin:1.3rem 0 .5rem; }
.lex-sense { display:grid; grid-template-columns:1.8rem minmax(0,1fr); gap:.6rem; padding:1rem 0; scroll-margin-top:6rem; }
.lex-sense+.lex-sense { border-top:1px solid var(--lex-line); }
.lex-sense-number { font:500 1.3rem/1.4 Georgia,serif; color:#8b9b91; }
.lex-sense h3 { font-size:1.05rem; line-height:1.6; font-weight:600; margin:0 0 .6rem; }
.lex-sense-body { min-width:0; overflow-wrap:anywhere; }
.lex-definition { color:#566368; font-size:.93rem; line-height:1.7; }
.lex-example { border-left:2px solid #92ad93; padding:.25rem 0 .25rem 1rem; margin:.85rem 0; }
.lex-example p { font-size:.9rem; line-height:1.7; margin:0; }
.lex-example p[lang=de] { font-size:1rem; color:var(--lex-green); }
.lex-example p+p { margin-top:.4rem; color:var(--lex-muted); }
.lex-example cite { display:block; margin-top:.5rem; font-size:.75rem; line-height:1.6; color:var(--lex-muted); }
.lex-provenance { color:var(--lex-muted); font-size:.75rem; line-height:1.6; margin-top:1rem; }
.lexicon summary { cursor:pointer; padding:.5rem 0; }
.lex-provenance p { margin:.4rem 0; }
.lex-provenance code { font-size:.65rem; overflow-wrap:anywhere; }
.lex-other-source { border-top:1px solid var(--lex-line); padding:.9rem 0; }
.lex-other-source>summary { font-weight:600; font-size:.95rem; }
.lex-sidebar { padding:1.2rem; background:#edf0e7; border-radius:.3rem; }
.lex-sidebar h2 { font:600 .93rem/1.4 "Manrope",system-ui,sans-serif; }
.lex-sidebar>p,.lex-sidebar>a,.lex-categories { font-size:.75rem; line-height:1.7; color:#53635b; }
.lex-completeness { list-style:none; padding:0; margin:1rem 0; }
.lex-completeness li { display:flex; align-items:baseline; justify-content:space-between; gap:.6rem; padding:.5rem 0; font-size:.75rem; }
.lex-completeness strong { font-size:.66rem; white-space:nowrap; font-weight:500; }
.lex-completeness .is-present { color:#27604a; }
.lex-completeness .is-missing { color:#77664c; }
.lex-categories { border-top:1px solid #ced6c8; margin-top:1rem; padding-top:.5rem; }
.lex-categories ul { padding-left:1rem; overflow-wrap:anywhere; }
.lex-word-network,.lex-forms { border-top:1px solid var(--lex-line); margin-top:1.5rem; padding-top:1.2rem; }
.lex-network-branch { border-left:2px solid #b5c4ac; padding:.6rem 0 .6rem 1.2rem; margin:.85rem 0; }
.lex-network-branch h3,.lex-sense-links strong { display:block; font-size:.8rem; font-weight:650; margin:0 0 .6rem; }
.lex-network-branch>div,.lex-sense-links>div { display:flex; flex-wrap:wrap; gap:.45rem; }
.lex-link { display:inline-block; padding:.35rem .65rem; border:1px solid #c7d2c0; border-radius:.3rem; background:#f6f8f0; color:#315c4b; font-size:.9rem; overflow-wrap:anywhere; max-width:100%; }
.lex-link:hover { background:#e5ebda; }
.lex-sense-links { margin:1.2rem 0 .7rem; }
.lex-forms dl>div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1rem; padding:.7rem 0; border-bottom:1px solid var(--lex-line); font-size:.86rem; overflow-wrap:anywhere; }
.lex-forms dd { color:var(--lex-muted); margin:0; }
.lex-annotations { background:#f3f0e3; padding:.7rem; font-size:.85rem; }
.lex-annotations small { color:var(--lex-muted); }
.lex-totals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem; border-block:1px solid var(--lex-line); padding:1.5rem 0 1.7rem; margin-bottom:3rem; }
.lex-totals dt { color:var(--lex-muted); font-size:.8rem; line-height:1.5; }
.lex-totals dd { font:500 clamp(1.8rem,4vw,3rem)/1.3 Georgia,serif; margin:.4rem 0 0; }
.lex-coverage>p,.lex-source-inventory>p,.lex-next p { color:var(--lex-muted); font-size:.9rem; line-height:1.7; max-width:52rem; }
.lex-coverage-row { display:grid; grid-template-columns:1fr 1fr 10rem; gap:2rem; align-items:center; border-bottom:1px solid var(--lex-line); padding:1.3rem 0; }
.lex-coverage-row h3 { font-size:.95rem; font-weight:600; margin-bottom:.3rem; }
.lex-coverage-row p { color:var(--lex-muted); font-size:.78rem; margin:0; }
.lex-coverage-row a { font-size:.8rem; justify-self:end; }
.lex-coverage-row meter { width:100%; height:.65rem; accent-color:#54734d; }
.lex-source-inventory,.lex-next { margin-top:3rem; }
.lex-source-inventory dl>div { display:flex; justify-content:space-between; gap:1rem; max-width:35rem; padding:.65rem 0; border-bottom:1px solid var(--lex-line); font-size:.86rem; }
.lex-source-inventory dd { margin:0; }
.lex-source-inventory details { font-size:.83rem; line-height:1.7; }
@media(max-width:1000px) { .lex-article-layout { grid-template-columns:minmax(0,1fr) 15rem; gap:2rem; } }
@media(max-width:760px) {
  .lexicon { padding-top:1rem; }
  .lex-heading { padding-top:1.3rem; }
  .lex-search { grid-template-columns:1fr; gap:.9rem; padding:1rem; }
  .lex-search input[type=search] { font-size:16px; }
  .lex-search input[type=submit] { padding:.6rem .8rem; }
  .lex-filters { display:flex; gap:.8rem; align-items:center; }
  .lex-filters label { margin:0; white-space:nowrap; }
  .lex-filters select { height:2.8rem; font-size:.85rem; }
  .lex-results { grid-template-columns:1fr; }
  .lex-results-heading { display:block; }
  .lex-results-heading>a { display:inline-block; margin-top:.7rem; }
  .lex-article-layout { grid-template-columns:1fr; gap:2rem; }
  .lex-sidebar { max-width:none; }
  .lex-word-heading { padding-top:1.4rem; }
  .lex-word-heading h1 { font-size:clamp(2.4rem,12vw,4rem); }
  .lex-totals { grid-template-columns:1fr; gap:1.2rem; }
  .lex-totals>div { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; }
  .lex-totals dd { font-size:1.9rem; margin:0; }
  .lex-coverage-row { grid-template-columns:1fr auto; gap:.8rem; }
  .lex-coverage-row meter { grid-column:1/-1; grid-row:2; }
}
@media(min-width:761px) and (max-width:1050px) { .masthead-inner { gap:.6rem; } .desktop-links .nav-link { padding-inline:.65rem; font-size:.86rem; } }


.lex-link.is-unavailable { background:transparent; border-color:var(--lex-line); color:var(--lex-muted); }
.lex-link.is-unavailable small { font-size:.65rem; margin-left:.3rem; }
.lex-mention-links { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0 1.5rem; }

.lex-language-note { color:#806139; font-size:.78rem; line-height:1.6; margin:.5rem 0; }
.lex-grammar-note { color:var(--lex-green); font-size:.85rem; margin:.6rem 0; }
.lex-link small { font-size:.7rem; }

.lex-translation-note { font-size:.72rem; color:var(--lex-muted); margin:0 0 .45rem; }
.lex-example-word { background:#e4ebc9; color:inherit; font-weight:700; padding:.05em .16em; border-radius:.15em; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.lex-article .lex-kicker { margin-bottom:.35rem; }
.lex-forms dl { margin:.4rem 0 0; }
