.nds-page{min-height:100vh;background:var(--bg)}
.nds-topbar{position:sticky;top:0;z-index:20;background:var(--card);border-bottom:1px solid var(--line);padding:10px 14px;display:flex;align-items:center;gap:12px}
.nds-title{font-weight:900;display:flex;gap:8px;align-items:center}
.nds-actions{margin-left:auto}
.nds-grid{display:grid;grid-template-columns:460px 1fr;gap:12px;padding:12px;align-items:start}
.form-grid,.dest-edit-grid{display:grid;gap:12px}
.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-grid label,.dest-edit-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted);font-weight:700}
.form-grid .full,.dest-edit-grid .full{grid-column:1/-1}
.section-h{margin:14px 0 10px;font-weight:900;color:#0f172a}
.chk-line{flex-direction:row !important;align-items:center;gap:8px !important;color:var(--text) !important}
.field-note{font-size:12px;line-height:1.5;color:#475569;padding:10px 12px;border-radius:12px;border:1px dashed #cbd5e1;background:#f8fafc}
.network-share-list{display:flex;flex-direction:column;gap:6px;max-height:190px;overflow:auto;padding:4px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}
.network-share-item{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid #dbe4f0;border-radius:10px;background:#fff;padding:8px 10px;text-align:left;cursor:pointer}
.network-share-item:hover{border-color:#94bfe0;background:#f8fcff}
.network-share-item.active{border-color:#0b5ed7;background:#eff6ff}
.network-share-main{min-width:0;display:flex;flex-direction:column;gap:2px}
.network-share-main strong{font-size:12px;color:#0f172a}
.network-share-main span{font-size:11px;color:#64748b;word-break:break-all;line-height:1.35}
.network-share-meta{font-size:11px;color:#0b5b7e;font-weight:800;text-align:right;white-space:nowrap}
.network-share-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.network-share-note{flex:1 1 260px}
.image-size-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.image-size-card{border:1px solid var(--line);border-radius:14px;padding:14px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.image-size-card-h{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:900;color:#0f172a}
.image-size-card-sub{margin-top:4px;font-size:12px;line-height:1.45;color:#64748b}
.image-size-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.image-size-fields.single-col{grid-template-columns:1fr}
.image-size-fields label{margin:0}
.ratio-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}
.ratio-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:900}
.chk-line.compact{font-size:12px !important;font-weight:800 !important;color:#334155 !important}
.frame-preview{margin-top:12px;border:1px dashed #cbd5e1;border-radius:14px;padding:14px;background:#f8fafc;display:flex;align-items:center;justify-content:center;min-height:150px}
.frame-preview-box{--frame-aspect:16 / 9;width:min(100%,240px);aspect-ratio:var(--frame-aspect);border:2px solid #0b5ed7;border-radius:16px;background:linear-gradient(180deg,#dbeafe 0%,#eff6ff 100%);display:flex;align-items:center;justify-content:center;padding:14px;text-align:center;color:#1e3a8a;font-size:12px;font-weight:800;line-height:1.5}
.scale-preview{margin-top:12px;padding:12px 14px;border-radius:12px;border:1px solid #dbe4f0;background:#f8fafc;color:#334155;font-size:12px;line-height:1.55;font-weight:700}
.modality-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px}
.modality-option{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#0f172a;font-size:12px;font-weight:800}
.modality-option input{margin:0}
.dest-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.dest-list{display:flex;flex-direction:column;gap:8px;max-height:480px;overflow:auto}
.dest-item{border:1px solid var(--line);border-radius:12px;padding:10px;cursor:pointer;background:#fff}
.dest-item.active{border-color:rgba(11,94,215,.35);background:rgba(11,94,215,.06)}
.dest-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.dest-item .meta{font-size:12px;color:#64748b;line-height:1.45;margin-top:4px}
.status-pill,.chip{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid transparent}
.status-pill.ok,.chip.ok{background:#ecfdf5;border-color:#86efac;color:#166534}
.status-pill.err,.chip.err{background:#fef2f2;border-color:#fca5a5;color:#b91c1c}
.status-pill.neutral{background:#f8fafc;border-color:#cbd5e1;color:#475569}
.verify-box{border:1px dashed #cbd5e1;border-radius:12px;padding:12px;background:#f8fafc;color:#334155;line-height:1.5;margin-bottom:12px}
.verify-title{font-weight:900;margin-bottom:8px}
.verify-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.verify-meta{font-size:12px;color:#475569}
.verify-box pre{white-space:pre-wrap;word-break:break-word;background:#0f172a;color:#e2e8f0;padding:10px;border-radius:10px;overflow:auto;font-size:12px}
.clamp-2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media (max-width:1200px){.nds-grid{grid-template-columns:1fr}.cols-2,.image-size-grid,.image-size-fields{grid-template-columns:1fr}.ratio-summary-row{align-items:flex-start}}
