/* Document destinations: the settings panel, recent saves, and the "Save to …" dialog. */
.dest{display:grid;gap:22px}
.dest h2{margin:0}
.dest-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.dest-muted{margin:6px 0 0;color:#4f5d75;font-size:13px;line-height:1.55}
.dest-badge{flex:none;padding:4px 10px;border-radius:999px;background:#eef2f8;color:#4f5d75;font-size:12px;font-weight:700}
.dest-badge.is-on{background:#e3f4ea;color:#17663a}
.dest-form{display:grid;gap:14px;max-width:720px}
.dest-form label{display:grid;gap:6px;font-weight:650}
.dest-form small{margin-left:0!important;font-weight:400;color:#4f5d75;line-height:1.5}
.dest-form fieldset{margin:0;padding:0;border:0;display:grid;gap:8px}
.dest-form legend{margin-bottom:8px;padding:0;font-weight:700}
.dest-kinds{grid-template-columns:repeat(3,minmax(0,1fr))}
.dest-kind{display:flex!important;align-items:flex-start;gap:10px;padding:12px;border:1px solid #dbe3ef;border-radius:9px;cursor:pointer}
.dest-kind:has(input:checked){border-color:#1d61c5;background:#f3f7ff}
.dest-kind input{margin-top:3px;accent-color:#1d61c5}
.dest-kind span{display:grid;gap:3px}
.dest-section{display:grid;gap:14px}
.dest-section[hidden],[data-for][hidden]{display:none!important}
.dest-help{padding:10px 12px;border:1px solid #dbe3ef;border-radius:9px;background:#f7f9fc;font-size:13px}
.dest-help summary{cursor:pointer;font-weight:650}
.dest-help ol{margin:10px 0 0;padding-left:20px;display:grid;gap:6px;line-height:1.5;color:#33415c}
.dest-example{font-family:ui-monospace,Consolas,monospace;overflow-wrap:anywhere}
.dest-tokens{display:flex;flex-wrap:wrap;gap:6px;margin-top:-6px}
.dest-token{padding:4px 9px;border:1px solid #c9d3e3;border-radius:999px;background:#fff;color:#1a3d78;font:12px ui-monospace,Consolas,monospace;cursor:pointer}
.dest-token:hover,.dest-token:focus-visible{background:#f1f6ff}
.dest-actions{display:flex;flex-wrap:wrap;gap:10px}
.dest-test-summary{margin:0 0 8px;font-weight:650}
.dest-test-summary.is-ok{color:#17663a}
.dest-test-summary.is-bad{color:#a4222a}
.dest-steps{display:grid;gap:6px;margin:0;padding:0;list-style:none;font-size:13px}
.dest-steps li{display:flex;gap:8px;align-items:flex-start}
.dest-steps small{display:block;color:#a4222a}
.dest-step-mark{width:18px;flex:none;font-weight:800;text-align:center}
.dest-steps .is-ok .dest-step-mark{color:#17663a}
.dest-steps .is-bad .dest-step-mark{color:#a4222a}
.dest-history{display:grid;gap:10px}
.dest-history-head{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.dest-history-head h3{margin:0;margin-right:auto;font-size:15px}
.dest-filter{display:flex!important;align-items:center;gap:6px;font-size:12px;font-weight:600}
.dest-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.dest-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid #e1e8f2;border-radius:8px}
.dest-item.is-failed{border-color:#efc4c8;background:#fff8f8}
.dest-item-copy{display:grid;gap:3px;min-width:0}
.dest-item-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.dest-item-copy small{overflow-wrap:anywhere;color:#4f5d75;font-size:12px}
.dest-item-copy .dest-item-error{color:#a4222a;font-weight:600}
.dest-state{padding:3px 9px;border-radius:999px;background:#eef2f8;color:#4f5d75;font-size:11px;font-weight:700;white-space:nowrap}
.dest-state.is-saved{background:#e3f4ea;color:#17663a}
.dest-state.is-failed{background:#fbe4e6;color:#a4222a}
.dest-state.is-retrying,.dest-state.is-saving,.dest-state.is-queued{background:#fff4dc;color:#7a4e00}
.dest-item-actions{display:flex;gap:10px}
.dest-empty{padding:12px;color:#4f5d75;font-size:13px}
.dest .sr-only,.dest-dialog .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.dest-dialog-form{display:grid;gap:12px;padding:22px}
.dest-dialog-form h2{margin:0;font-size:18px}
.dest-path code{display:block;padding:8px 10px;border-radius:7px;background:#f4f7fb;font:12px ui-monospace,Consolas,monospace;overflow-wrap:anywhere}
.dest-dialog-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dest-files{display:grid;gap:6px;margin:0;padding:0;border:0}
.dest-files legend{margin-bottom:6px;font-weight:700;font-size:12px}
.dest-file{display:flex!important;align-items:center;gap:8px;font-weight:500!important;font-size:12px!important}
.dest-dialog input[type=checkbox]{display:inline-block;width:auto;height:auto;margin:0;accent-color:#1d61c5}
.dest-dialog-status{min-height:1.2em;color:#17663a;font-size:12px;font-weight:600}
@media (max-width:760px){.dest-kinds{grid-template-columns:1fr}.dest-item{grid-template-columns:1fr}.dest-dialog-fields{grid-template-columns:1fr}}
