.img-btn{
  display:inline-flex;align-items:center;gap:4px;
  margin-top:8px;padding:6px 12px;border-radius:999px;
  border:1px solid #D5E2E6;background:#F5FAFA;color:#0B3D4A;
  font-size:.78rem;font-weight:650;cursor:pointer;font-family:inherit;
}
.img-btn:hover{background:#D8EEF0;border-color:#0B6E7A}
.img-btn-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.doc-link{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding:10px 0;border-bottom:1px solid #EEF3F4;cursor:pointer;
}
.doc-link:last-child{border-bottom:0}
.doc-link:hover .doc-title{color:#0B6E7A}
.doc-title{font-size:.9rem;font-weight:650}
.doc-meta{font-size:.78rem;color:#5A717C}
#srcViewer{
  position:fixed;inset:0;z-index:9999;display:none;
  background:rgba(11,61,74,.88);padding:12px;
  align-items:center;justify-content:center;
}
#srcViewer.open{display:flex}
#srcViewer .panel{
  width:min(1100px,100%);height:min(92dvh,100%);
  background:#0B3D4A;border-radius:14px;overflow:hidden;
  display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.35);
}
#srcViewer .bar{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:10px 12px;background:#0B3D4A;color:#EAF3F2;flex-shrink:0;
}
#srcViewer .bar .title{font-size:.88rem;font-weight:650;line-height:1.3}
#srcViewer .bar .actions{display:flex;gap:6px;flex-wrap:wrap}
#srcViewer .bar button{
  border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);
  color:#fff;border-radius:999px;padding:6px 12px;font-size:.78rem;
  font-weight:650;cursor:pointer;font-family:inherit;
}
#srcViewer .bar button:disabled{opacity:.35;cursor:default}
#srcViewer .stage{
  flex:1;min-height:0;overflow:auto;background:#111;
  display:flex;align-items:flex-start;justify-content:center;padding:8px;
  -webkit-overflow-scrolling:touch;
}
#srcViewer .stage img{
  max-width:100%;height:auto;display:block;border-radius:4px;
}
