@font-face{font-family:Jomolhari;src:url(/fonts/jomolhari.woff2)}
:root{font-family:system-ui,sans-serif;color:#202d32;background:#fafafa;line-height:1.5}
*{box-sizing:border-box}
body{margin:0}header{padding:.85rem clamp(1rem,4vw,4rem);display:flex;align-items:center;gap:1.5rem;border-bottom:1px solid #cfdad8;background:#fff}header a{color:#175951;font-weight:650}#identity{margin-left:auto;color:#425853}
main{max-width:90rem;margin:auto;padding:1rem clamp(1rem,4vw,4rem) 4rem}h1,h2,h3{font-family:Georgia,serif;line-height:1.2;color:#233b36}h1{font-size:2.4rem}.columns{display:grid;grid-template-columns:minmax(15rem,1fr) minmax(0,2.3fr);gap:2rem;align-items:start}
aside,section{border:1px solid #d8e0dc;border-radius:.5rem;padding:1rem;background:white}label{display:block;font-weight:600;margin:.7rem 0}
input,select,textarea,button{font:inherit}input,select,textarea{display:block;width:100%;border:1px solid #a8b9b2;border-radius:.35rem;padding:.5rem;background:white;color:inherit}
textarea{min-height:4rem;resize:vertical}#bo,#en{min-height:7rem;max-height:25rem;line-height:1.7;font-weight:400}#bo,#results button:lang(bo){font-family:Jomolhari,serif;font-size:1.15rem;line-height:1.9}
button{cursor:pointer;border:1px solid #396d62;border-radius:.3rem;background:#22594d;color:white;padding:.4rem .8rem}
button:disabled{opacity:.4;cursor:default}
#results{max-height:50vh;overflow:auto}#results button{display:block;text-align:left;width:100%;padding:.55rem .3rem;background:white;border:0;border-bottom:1px solid #dbe5df;color:#243c36;overflow-wrap:anywhere}
#results button:hover,#results button[aria-current=true]{background:#e8f3ed}
nav{display:flex;gap:1rem;margin:1rem 0}.hint,#kind,#count,#locator,summary{color:#496159}
#locator,pre{font: .9rem/1.5 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
#history article{border-left:3px solid #809e89;padding:.5rem .85rem;margin:.5rem 0;background:#f4f7f4}
#history button{margin:.4rem .4rem 0 0}
#notice:empty{display:none}#notice{padding:.75rem;background:#edf4ee;margin:0 0 1rem}
@media(max-width:700px){.columns{grid-template-columns:1fr}#results{max-height:12rem}header span:nth-child(2){display:none}}

#pairs button,#unlistedResults button{margin:.25rem;padding:.35rem .65rem}#unlistedResults{max-height:30rem;overflow:auto}details{margin:.8rem 0}summary{cursor:pointer}
