/* SourceNotes styles supplied within the same self-contained browser directory. */
#source-note-links:empty{display:none}
#source-note-links{display:flex;gap:.45rem;flex-wrap:wrap;padding:.35rem .8rem;font-size:.82rem}
#source-note-links button{padding:.25rem .5rem;border:1px solid #b6cbd6;background:white;border-radius:4px}
.sn-dialog{box-sizing:border-box;max-width:min(1060px,96vw);max-height:92vh;width:min(850px,96vw);border:1px solid #9cabb6;border-radius:10px;padding:1rem;color:#23384a;background:#fff;overflow:auto;box-shadow:0 12px 50px #162b4480}
.sn-dialog::backdrop{background:#0b192c99}
.sn-top{display:flex;justify-content:space-between;align-items:start;gap:1rem;border-bottom:1px solid #dbe3eb;padding-bottom:.65rem}
.sn-top h2{font-size:1.1rem;margin:.1rem 0}
.sn-top button{flex:none}
.sn-refs{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.85rem;color:#4a5a6a;padding:.5rem 0}
.sn-refs a{color:#1e5a81;text-decoration:underline}
.sn-texts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:1rem}
.sn-texts h3{font-size:.85rem;font-weight:650;margin:.3rem 0}
.sn-texts p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.3rem 0 .7rem;line-height:1.6}
.sn-actions{display:flex;gap:.4rem;flex-wrap:wrap}
.sn-actions button[aria-pressed=true]{color:white}
.sn-viewport{overflow:auto;max-height:49vh;min-height:170px;background:#e4e9ed;position:relative;padding:1rem;text-align:center}
.sn-viewport svg{display:block;max-width:none;margin:auto}
.sn-message{margin:.7rem 0;color:#965328}
.sn-dialog label{display:inline-flex;align-items:center;gap:.4rem;margin:.5rem 0}
.sn-dialog a,.sn-dialog button{cursor:pointer}
.sn-dialog [lang=gez],.sn-texts [lang=gez]{font-family:'Noto Sans Ethiopic',sans-serif}
