/* SAVED WORK — the shared Save / Open dialog (core/work-store.js, Plan 2 · 7.1, 12fp). The overlay, card, head and
   buttons are the shell's dl-modal; this is only what sits inside it, plus the header buttons' group. */
.dlw-btns{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}
.dlw-card{max-width:520px}
.dlw-card.dlw-wide{max-width:600px}
.dlw-form{display:flex;flex-direction:column;gap:12px}
.dlw-f{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1 1 0}
.dlw-f>span{font-size:12px;font-weight:700;color:#4a5568;letter-spacing:.01em}
.dlw-row{display:flex;gap:12px}
.dlw-in{font:inherit;font-size:14px;color:#1a2233;background:#fff;border:1px solid #d7dde7;border-radius:10px;height:38px;padding:0 11px;min-width:0;width:100%;box-sizing:border-box}
.dlw-in:focus{outline:none;border-color:#1159da;box-shadow:0 0 0 3px rgba(17,89,218,.16)}
.dlw-how{border:0;margin:0;padding:10px 12px;border-radius:10px;background:#f4f6fa;display:flex;flex-direction:column;gap:7px;font-size:13.5px;color:#2a3344}
.dlw-how label{display:flex;align-items:center;gap:8px;cursor:pointer}
.dlw-how input{margin:0;accent-color:#1159da}
.dlw-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.dlw-note{margin:0;font-size:12.5px;line-height:1.5;color:#5b6577}
.dlw-find{margin-bottom:10px}
.dlw-list{max-height:min(56vh,460px);overflow:auto;margin:0 -4px 16px;padding:0 4px}
.dlw-grp+.dlw-grp{margin-top:12px}
.dlw-grp-h{font-size:11.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6b7486;padding:2px 2px 6px}
.dlw-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid #e6e9f0;border-radius:11px;background:#fff}
.dlw-item+.dlw-item{margin-top:6px}
.dlw-item-t{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.dlw-item-t b{font-size:14px;color:#1a2233;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dlw-item-t span{font-size:12px;color:#6b7486;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dlw-item-a{display:flex;gap:6px;flex:none}
.dlw-item-a .dl-modal-btn{height:32px;padding:0 13px}
.dlw-del{width:32px;padding:0!important;color:#9a3b33}
.dlw-del:hover{background:#fdecec!important}
.dlw-empty{margin:4px 0 18px;font-size:13.5px;line-height:1.55;color:#4a5568}
.dlw-ok{background:#e7f6ec!important;color:#1d7a3a!important}
.dlw-done .dl-modal-btn i{margin-right:6px}
@media (max-width:520px){
  .dlw-row{flex-direction:column}
  .dlw-item{flex-wrap:wrap}
  .dlw-item-a{width:100%;justify-content:flex-end}
}
html.dark .dlw-f>span,html.dark .dlw-note,html.dark .dlw-empty{color:#aab3c2}
html.dark .dlw-in{background:#0d1117;color:#e6e9ef;border-color:#2f3643}
html.dark .dlw-in:focus{border-color:#4d8dff;box-shadow:0 0 0 3px rgba(77,141,255,.22)}
html.dark .dlw-how{background:#1a1f28;color:#d7dbe2}
html.dark .dlw-grp-h,html.dark .dlw-item-t span{color:#8f99ab}
html.dark .dlw-item{background:#161b22;border-color:#2a2f3a}
html.dark .dlw-item-t b{color:#e6e9ef}
html.dark .dlw-del{color:#ff8f86}
html.dark .dlw-del:hover{background:#3a1f1f!important}
html.dark .dlw-ok{background:#163222!important;color:#5fd38a!important}
