.h3-submit-overlay { position:fixed; top:0; right:0; bottom:0; left:0; z-index:100010; background:rgba(0,0,0,.6); display:flex; align-items:center; justify-content:center; padding:20px; text-align:left; }
.h3-submit-dialog { width:760px; max-width:100%; max-height:90vh; display:flex; flex-direction:column; background:var(--ws-surface,#fff); color:var(--ws-text,#292929); border:1px solid #8886; border-radius:14px; box-shadow:0 12px 45px #0005; overflow:hidden; }
.h3-submit-dialog header,.h3-submit-dialog footer { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-bottom:1px solid #8884; }
.h3-submit-dialog footer { border-top:1px solid #8884; border-bottom:0; }
.h3-submit-dialog h2 { font-size:20px; margin:0; color:inherit; }
.h3-submit-body { min-height:0; overflow:auto; overscroll-behavior:contain; padding:18px; }
.h3-submit-card { margin:14px 0; border:1px solid #8885; border-radius:10px; padding:12px; }
.h3-submit-card.selected { border-color:#7761d6; box-shadow:inset 3px 0 #7761d6; }
.h3-submit-choice { display:flex; align-items:center; gap:12px; cursor:pointer; margin:0; color:inherit; }
.h3-submit-choice input { flex:0 0 auto; width:20px; height:20px; accent-color:#7761d6; }
.h3-submit-choice img,.h3-submit-no-image { width:76px; height:76px; object-fit:contain; border-radius:6px; flex:0 0 auto; background:#8882; }
.h3-submit-no-image { display:flex; align-items:center; justify-content:center; font-size:12px; text-align:center; }
.h3-submit-choice small { display:block; margin-top:4px; font-size:13px; opacity:.8; }
.h3-submit-prompt { margin-top:10px; font-size:14px; }
.h3-submit-prompt summary { cursor:pointer; }
.h3-submit-excerpt, .h3-submit-prompt p { white-space:pre-wrap; overflow-wrap:anywhere; margin:8px 0 0; }
.night_mode .h3-submit-dialog, [data-theme="dark"] .h3-submit-dialog, body.dark-mode .h3-submit-dialog { background:#242424; color:#e9e9e9; }
.page .h3-submit-overlay { top:var(--app-page-header-height,45px); bottom:var(--app-page-footer-height,80px); padding:0; }
.page .h3-submit-dialog { width:100%; height:100%; max-height:100%; border-radius:0; }
@media(max-width:767px) { .h3-submit-overlay { padding:8px; } .h3-submit-dialog { max-height:95dvh; } .h3-submit-dialog header,.h3-submit-dialog footer,.h3-submit-body { padding:12px; } .h3-submit-choice { gap:8px; } .h3-submit-choice img,.h3-submit-no-image { width:56px; height:64px; } }
