/* ropts.css: render options block (dashboard theme vars) */
details.ro{margin:14px 0 4px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.03);min-width:0}
details.ro>summary{cursor:pointer;padding:10px 12px;font-weight:700;list-style-position:inside}
details.ro>summary small{color:var(--mut);font-weight:500;margin-left:6px}
.ro-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;padding:0 12px 12px;min-width:0}
.ro-f{display:flex;flex-direction:column;gap:5px;min-width:0}.ro-f>span{font-size:12px;color:var(--mut);font-weight:600}
.ro-f input,.ro-f select{width:100%;min-width:0}
.ro-sw{display:flex;gap:8px;align-items:center;font-size:14px;min-height:38px}
.ro-lrow{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ro-prev{width:40px;height:40px;object-fit:contain;border-radius:10px;background:rgba(255,255,255,.06)}
.ro-stats{grid-column:1/-1}.ro-st{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:6px}
@media (max-width:560px){.ro-grid{grid-template-columns:minmax(0,1fr)}}
.ro-sw input[type=checkbox]{width:18px;height:18px;min-width:18px;flex:none;margin:0;accent-color:var(--acc)}
.ro-sw{justify-content:flex-start;text-align:left;cursor:pointer}
/* the compact New Short dialog grows with render options: let it scroll instead of running off screen */
dialog#dlg:has(> .dlg-short){max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
/* t213u: style picker with Custom */
.ro-style{margin:10px 0 4px}
.ro-style>select{max-width:100%}
.ro-custom{margin-top:8px;padding:10px 12px;border:1px solid var(--line2,#333);border-radius:12px;display:grid;gap:8px}
.ro-custom[hidden]{display:none}
.ro-custom textarea{width:100%;min-height:88px;resize:vertical}
.ro-custom .ro-lrow{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ro-custom .ro-lrow input[type=url]{flex:1 1 220px;min-width:0}
.ro-custom small{font-weight:500;opacity:.7;margin-left:6px}
.gq-style{margin:8px 0}
