/* assets/css/topology.css */
/* CrossWatch - Sync topology advisor styles */
/* Copyright (c) 2025-2026 CrossWatch / Cenodude (https://github.com/cenodude/CrossWatch) */

#sec-sync{--cw-sync-surface:var(--cw-theme-surface);--cw-sync-raised:var(--cw-theme-surface-raised);--cw-sync-border:var(--cw-theme-border);--cw-sync-card:linear-gradient(115deg,color-mix(in srgb,var(--cw-theme-accent) 4%,var(--cw-sync-raised)),var(--cw-sync-surface));--cw-sync-badge:color-mix(in srgb,var(--cw-theme-accent) 22%,var(--cw-sync-surface))}
html[data-cw-theme="flat-dark"] #sec-sync{--cw-sync-surface:#080a0d;--cw-sync-raised:#0b0e13;--cw-sync-border:#1c222c;--cw-sync-card:linear-gradient(115deg,color-mix(in srgb,var(--cw-theme-accent) 1.5%,var(--cw-sync-raised)),var(--cw-sync-surface))}
.topology-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px;margin:18px 0 24px;padding:22px;border:1px solid var(--cw-sync-border);border-radius:18px;background:var(--cw-sync-card);box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 24px rgba(0,0,0,.08)}
html[data-cw-theme="flat-dark"] .topology-summary{--cw-theme-surface:#080a0d;--cw-theme-surface-raised:#0b0e13;--cw-theme-border:#1c222c}
.topology-summary-content{display:flex;align-items:flex-start;gap:22px;flex:1 1 540px;min-width:0}


.topology-summary-main{min-width:0;flex:1}.topology-summary-title{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap}
.topology-kicker{margin:0;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--cw-theme-muted)}
.topology-summary .topology-kicker{font-size:18px;letter-spacing:.015em;line-height:1.3;color:var(--cw-theme-text)}
.topology-status{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--cw-theme-good)}
.topology-status.is-review{color:var(--cw-theme-warning)}.topology-status.is-attention{color:var(--cw-theme-danger)}
.topology-status .material-symbol{font-size:22px}.topology-counters{display:flex;gap:8px 0;flex-wrap:wrap;margin-top:20px;color:var(--cw-theme-muted);font-size:14px}
.topology-counters>span{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap;padding-right:18px;margin-right:18px;border-right:1px solid var(--cw-theme-border-strong)}.topology-counters>span:last-child{border-right:0;padding-right:0;margin-right:0}.topology-counters strong{color:var(--cw-theme-text);font-size:22px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums}
.topology-copy{margin:16px 0 0;font-size:13px;color:var(--cw-theme-muted);line-height:1.6}.topology-scope{color:var(--cw-theme-muted);font-size:11px}.topology-copy .topology-scope{display:inline-block;margin-left:10px;font-size:inherit}
.topology-summary-actions{display:flex;gap:12px;flex-wrap:wrap}.topology-summary-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 18px;border:1px solid var(--cw-theme-border-strong);border-radius:12px;background:transparent;color:var(--cw-theme-text);font-size:15px;font-weight:700;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}
.topology-summary-actions .btn.topology-primary{background:var(--cw-sync-badge);border-color:color-mix(in srgb,var(--cw-theme-accent) 35%,var(--cw-sync-border));color:var(--cw-theme-text);box-shadow:none}
.topology-summary-actions .btn:hover{border-color:var(--cw-theme-accent);background:color-mix(in srgb,var(--cw-theme-accent) 8%,var(--cw-theme-surface))}.topology-summary-actions .btn.topology-primary:hover{background:color-mix(in srgb,var(--cw-theme-accent) 30%,var(--cw-sync-surface));box-shadow:none}
#sec-sync #pairs_list .pair-card{background:var(--cw-sync-card)!important;border-color:var(--cw-sync-border)!important;border-radius:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;transition:border-color .15s,background .15s}
#sec-sync #pairs_list .pair-card:hover{border-color:color-mix(in srgb,var(--cw-theme-accent) 38%,var(--cw-sync-border))!important}
#sec-sync #pairs_list .pair-card::before{display:none}
#sec-sync #pairs_list .pair-pill{background:var(--cw-sync-surface)!important;border-color:var(--cw-sync-border)!important;border-radius:12px}
#sec-sync #pairs_list .pair-pill.src,#sec-sync #pairs_list .pair-pill.dst{min-height:42px;height:auto;padding:8px 16px}
#sec-sync #pairs_list .pair-pill-text{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left;line-height:1.25}
#sec-sync #pairs_list .pair-pill-text>span,#sec-sync #pairs_list .pair-instance-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#sec-sync #pairs_list .pair-instance-name{display:block;font-size:10px;font-weight:500;color:var(--cw-theme-muted)!important;letter-spacing:0;text-transform:none}
#sec-sync #pairs_list .ord-badge{background:var(--cw-sync-badge)!important;border-color:color-mix(in srgb,var(--cw-theme-accent) 35%,var(--cw-sync-border))!important;color:var(--cw-theme-text)!important;border-radius:11px;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important}
#sec-sync #pairs_list .arrow{background:var(--cw-sync-badge)!important;border-color:color-mix(in srgb,var(--cw-theme-accent) 22%,var(--cw-sync-border))!important;color:var(--cw-theme-accent)!important}
#sec-sync #pairs_list .pair-actions{background:transparent!important;border-color:transparent!important}
#sec-sync #pairs_list .pair-left{flex:1 1 auto;min-width:0}
#sec-sync #pairs_list .pair-actions{flex:0 0 auto}
#sec-sync #pairs_list .pair-pill.src,#sec-sync #pairs_list .pair-pill.dst{flex:0 1 var(--chip-w);min-width:96px}
#sec-sync #pairs_list .pair-pill.mode{flex:0 0 auto;width:auto;min-width:0;padding:8px 14px}
#sec-sync #pairs_list .feat-beads{background:var(--cw-sync-surface)!important;border-color:var(--cw-sync-border)!important}
#sec-sync #pairs_list .icon-btn:not(.power):not(.danger){background:color-mix(in srgb,var(--cw-theme-text) 8%,var(--cw-sync-raised))!important;border-color:color-mix(in srgb,var(--cw-theme-text) 35%,var(--cw-sync-border))!important;color:var(--cw-theme-text)!important}
#sec-sync #pairs_list .icon-btn:not(.power):not(.danger):not(:disabled):hover,#sec-sync #pairs_list .icon-btn:not(.power):not(.danger):focus-visible{background:var(--cw-sync-badge)!important;border-color:var(--cw-theme-accent)!important}
#sec-sync #pairs_list .icon-btn:focus-visible,#sec-sync #pairs_list .icon-btn:has(input:focus-visible){outline:2px solid var(--cw-theme-accent);outline-offset:3px}
#sec-sync #pairs_list .icon-btn:disabled{cursor:not-allowed!important;transform:none!important}
#sec-sync #pairs_list .pair-card.pair-disabled{background:var(--cw-sync-surface)!important;border-color:var(--cw-sync-border)!important}
.topology-pair-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:25px;height:25px;padding:0 6px;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--cw-theme-accent) 40%,var(--cw-theme-border));border-radius:8px;background:color-mix(in srgb,var(--cw-theme-accent) 18%,var(--cw-theme-surface));color:var(--cw-theme-text);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1}
.topology-edge-badge rect{fill:color-mix(in srgb,var(--cw-theme-accent) 22%,var(--cw-theme-surface));stroke:color-mix(in srgb,var(--cw-theme-accent) 55%,var(--cw-theme-border));stroke-width:1}
.topology-badge-leader{fill:none;stroke:var(--cw-theme-accent);stroke-width:1;opacity:.6}
.topology-edge-badge text{fill:var(--cw-theme-text);font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.topology-edge-badge.is-selected rect{fill:var(--cw-theme-accent);stroke:var(--cw-theme-accent)}.topology-edge-badge.is-selected text{fill:#fff}.topology-edge-badge.is-muted{opacity:.35}
.topology-finding-pairs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px;color:var(--cw-theme-muted);font-size:11px}
.topology-paths>.topology-numbered-route{display:flex;align-items:center;gap:10px;border-left:0;padding-left:0}
.topology-route-details .topology-route-list{list-style:none;padding-left:0}.topology-route-list>li{display:flex;align-items:flex-start;gap:10px}
.cx-modal-shell.cw-topology-shell{width:min(1360px,calc(100vw - 48px));max-width:calc(100vw - 48px);height:auto;max-height:min(780px,calc(100dvh - 48px));background:var(--cw-theme-surface)!important;border-color:var(--cw-theme-border);color:var(--cw-theme-text)}
html[data-cw-theme="flat-dark"] .cw-topology-shell{--cw-theme-surface:#171a22;--cw-theme-surface-raised:#20242d;--cw-theme-surface-strong:#242936;--cw-theme-border:#343945;--cw-theme-border-strong:#454b5b;color-scheme:dark}
html:has(.cw-topology-shell),body:has(.cw-topology-shell){overflow:hidden}
.topology-modal{display:flex;flex-direction:column;max-height:inherit;min-height:0;font-size:13px}.topology-modal *{box-sizing:border-box}
.topology-modal-head{display:flex;flex-wrap:nowrap;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:var(--cw-theme-surface);border-bottom:0}
.topology-modal-head>div{min-width:0;flex:1}
.topology-modal-head h2{font-size:23px;line-height:1.25;font-weight:800;margin:0 0 6px;letter-spacing:-.025em}.topology-modal-head p{margin:0;color:var(--cw-theme-muted);line-height:1.5;font-size:13px}
.topology-close{display:grid;place-items:center;width:34px;height:34px;padding:0;flex:none}.topology-close .material-symbol{font-size:20px}
.topology-modal-body{padding:0 20px 16px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;background:var(--cw-theme-surface)}
.topology-features{display:flex;gap:3px;flex-wrap:wrap;padding:3px;border:1px solid var(--cw-theme-border);border-radius:12px;background:var(--cw-theme-surface)}.topology-features button{font:inherit;font-size:12px;border:1px solid transparent;color:var(--cw-theme-muted);padding:8px 12px;border-radius:9px;background:transparent;cursor:pointer}
.topology-features button:hover{background:var(--cw-theme-surface-raised);color:var(--cw-theme-text)}
.topology-features button[aria-pressed=true]{color:var(--cw-theme-text);border-color:color-mix(in srgb,var(--cw-theme-accent) 40%,var(--cw-theme-border));background:color-mix(in srgb,var(--cw-theme-accent) 14%,var(--cw-theme-surface))}
.topology-content{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:stretch}.topology-map{container-type:inline-size;display:flex;flex-direction:column;min-width:0;border:1px solid var(--cw-theme-border);border-radius:14px;background:var(--cw-theme-surface-raised);overflow:hidden}
.topology-map-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;min-height:58px;padding:10px 14px;color:var(--cw-theme-muted);font-size:11px}
.topology-map-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;flex:1 1 180px;min-width:0}.topology-map-context .topology-scope{flex-basis:100%}.topology-map-heading .topology-features{margin-left:auto;justify-content:flex-end}
.topology-clear{font:inherit;font-size:11px;color:var(--cw-theme-text);background:transparent;border:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.topology-graph{min-width:0;height:auto;flex:0 1 auto;aspect-ratio:var(--topology-aspect,16/9);max-height:min(62vh,760px);min-height:320px;background-color:var(--cw-theme-surface);background-image:radial-gradient(color-mix(in srgb,var(--cw-theme-muted) 18%,transparent) .65px,transparent .65px);background-size:20px 20px;overflow:hidden}
.topology-graph.is-zoomed{cursor:grab;touch-action:none;user-select:none}.topology-graph.is-dragging{cursor:grabbing}
.topology-svg{display:block;width:100%;max-width:100%;height:100%;min-height:0;margin:auto;overflow:hidden;font-family:inherit}
.topology-map-footer{display:flex;align-items:center;flex-wrap:nowrap;gap:16px;padding:12px 16px;border-top:1px solid var(--cw-theme-border)}
.topology-zoom{display:flex;align-items:center;flex-wrap:nowrap;flex:0 1 260px;min-width:0;margin-left:auto;gap:8px;color:var(--cw-theme-muted);font-size:11px}
.topology-zoom button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:4px 8px;border:1px solid var(--cw-theme-border);border-radius:8px;background:var(--cw-theme-surface);color:var(--cw-theme-text);font:inherit;cursor:pointer}.topology-zoom button .material-symbol{font-size:18px}.topology-zoom button:hover{border-color:var(--cw-theme-accent)}.topology-zoom button:disabled{opacity:.4;cursor:default}
.topology-zoom input[type=range]{appearance:none;width:110px;max-width:110px;min-width:30px;flex:1;height:30px;padding:0;margin:0;border:0;background:transparent!important;box-shadow:none!important;accent-color:var(--cw-theme-accent);cursor:pointer}.topology-zoom output{min-width:34px;font-variant-numeric:tabular-nums;text-align:center}.topology-pan-hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.topology-zoom input:focus-visible{outline:2px solid var(--cw-theme-accent);outline-offset:4px}
.topology-zoom input::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:var(--cw-theme-border-strong)}.topology-zoom input::-webkit-slider-thumb{appearance:none;width:14px;height:14px;margin-top:-5px;border-radius:50%;background:var(--cw-theme-accent);border:0}.topology-zoom input::-moz-range-track{height:4px;border-radius:4px;background:var(--cw-theme-border-strong)}.topology-zoom input::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--cw-theme-accent);border:0}
.topology-edge{fill:none;stroke:color-mix(in srgb,var(--cw-theme-accent) 35%,var(--cw-theme-muted));stroke-width:1.6}.topology-edge.is-selected{stroke:var(--cw-theme-accent);stroke-width:2.5}
#topology-arrow path{fill:var(--cw-theme-muted)}#topology-arrow-selected path{fill:var(--cw-theme-accent)}
.topology-node-surface{fill:var(--cw-theme-surface-strong);stroke:var(--cw-theme-border-strong);stroke-width:1.2;filter:none}
.topology-node.is-selected .topology-node-surface{stroke:var(--cw-theme-accent);stroke-width:1.8}.topology-node-icon-bg{fill:var(--cw-theme-surface-raised)}
.topology-node text{fill:var(--cw-theme-text);font-size:12px;font-weight:700}.topology-node .topology-node-detail{fill:var(--cw-theme-muted);font-size:10px;font-weight:400}
.topology-node.is-muted,.topology-edge.is-muted{opacity:.3}.topology-legend{display:flex;align-items:center;gap:18px;color:var(--cw-theme-muted);font-size:11px;flex:none;white-space:nowrap}
.topology-legend span{display:inline-flex;align-items:center;gap:7px}.topology-legend b{font-size:20px;font-weight:500;color:var(--cw-theme-text)}
.topology-route-details{padding:12px 16px;border-top:1px solid var(--cw-theme-border);font-size:12px;color:var(--cw-theme-muted)}.topology-route-details summary{cursor:pointer}.topology-route-list{padding-left:16px;margin:12px 0 0;display:grid;gap:10px;overflow-wrap:anywhere}.topology-route-list small{display:block;margin-top:3px}
.topology-findings{min-width:0;display:flex;flex-direction:column;padding:14px;border:1px solid var(--cw-theme-border);border-radius:14px;background:var(--cw-theme-surface-raised)}.topology-findings-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}.topology-findings-heading h3{font-size:14px;margin:0}.topology-finding-count{font-size:11px;color:var(--cw-theme-muted)}
.topology-finding-list{display:grid;gap:10px;padding:0}.topology-finding{display:block;text-align:left;appearance:none;font:inherit;color:var(--cw-theme-text);padding:12px;border:1px solid var(--cw-theme-border);border-radius:12px;background:var(--cw-theme-surface);cursor:pointer;width:100%;overflow-wrap:anywhere}
.topology-finding:hover{border-color:var(--cw-theme-border-strong)}.topology-finding.is-selected{border-color:color-mix(in srgb,var(--cw-theme-accent) 70%,var(--cw-theme-border));background:color-mix(in srgb,var(--cw-theme-accent) 4%,var(--cw-theme-surface))}
.topology-finding-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--cw-theme-muted);margin-bottom:10px}.topology-severity{padding:4px 8px;border:1px solid var(--cw-theme-border);border-radius:999px;background:var(--cw-theme-surface-raised)}.topology-severity.is-warning{color:var(--cw-theme-warning)}.topology-severity.is-conflict{color:var(--cw-theme-danger)}
.topology-finding-title{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:800;line-height:1.5}.topology-finding-title .material-symbol{font-size:17px;color:var(--cw-theme-muted)}
.topology-finding-copy,.topology-advice{display:block;color:var(--cw-theme-muted);font-size:13px;line-height:1.6;margin-top:8px}.topology-paths{display:grid;gap:8px;margin-top:12px;font-size:11px;line-height:1.6}.topology-paths>span{display:block;border-left:2px solid var(--cw-theme-border-strong);padding-left:9px}.topology-paths small{display:block;color:var(--cw-theme-muted);font-size:10px;margin-bottom:2px}
.topology-finding-hint{display:flex;align-items:center;gap:10px;color:var(--cw-theme-muted);font-size:10px;margin-top:12px;padding:10px;border:1px solid var(--cw-theme-border);border-radius:10px;background:var(--cw-theme-surface-raised)}.topology-finding-hint>span:nth-child(2){flex:1}.topology-finding-hint strong{display:block;font-size:11px;color:var(--cw-theme-text)}.topology-finding-hint small{display:block;font-size:10px;margin-top:3px}.topology-finding-hint>.material-symbol{font-size:20px!important;flex:none}.topology-finding-hint>.material-symbol:first-child{color:var(--cw-theme-accent)}.topology-advice{border-top:1px solid var(--cw-theme-border);padding-top:10px;margin-top:12px}
.topology-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:10px;min-height:220px;padding:28px 20px;color:var(--cw-theme-muted)}.topology-empty>.material-symbol{font-size:26px;color:var(--cw-theme-accent)}.topology-empty>.topology-good{color:var(--cw-theme-good)}.topology-empty strong{color:var(--cw-theme-text);font-size:13px}.topology-empty p{font-size:12px;line-height:1.65;margin:0;max-width:290px}
.topology-capability-note{padding:12px;border:1px solid var(--cw-theme-border);border-radius:10px;color:var(--cw-theme-warning);font-size:12px;line-height:1.6}
.topology-footnote{display:flex;align-items:flex-start;gap:7px;color:var(--cw-theme-muted);font-size:11px;line-height:1.65;margin:12px 0 0}.topology-footnote .material-symbol{font-size:16px;flex:none;margin-top:1px}
.topology-summary button:focus-visible,.topology-modal button:focus-visible,.topology-modal summary:focus-visible,.topology-graph:focus-visible{outline:2px solid var(--cw-theme-accent);outline-offset:3px}
.topology-modal [hidden]{display:none!important}
.topology-modal-body{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--cw-theme-muted) 55%,transparent) var(--cw-theme-surface)}
.topology-modal .topology-heading-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid color-mix(in srgb,var(--cw-theme-accent) 40%,var(--cw-theme-border));border-radius:13px;background:color-mix(in srgb,var(--cw-theme-accent) 15%,var(--cw-theme-surface));color:var(--cw-theme-accent);font-size:27px}
.topology-context-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--cw-theme-surface);font-size:18px}
.topology-findings-heading>div{flex:1;min-width:0}.topology-findings-heading p{margin:5px 0 0;color:var(--cw-theme-muted);font-size:10px;line-height:1.4}.topology-finding-count{white-space:nowrap;align-self:flex-start;margin-top:4px}
.topology-health-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:14px}
.topology-health-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:82px;padding:10px 4px;border:1px solid var(--cw-theme-border);border-radius:11px;background:var(--cw-theme-surface);text-align:center}
.topology-health-stats .material-symbol{color:var(--cw-theme-accent);font-size:21px}.topology-health-stats strong{font-size:19px;font-weight:800;line-height:1.2}.topology-health-stats small{font-size:9px;color:var(--cw-theme-muted)}
.topology-health-stats .topology-health-status strong{font-size:12px}.topology-health-status.is-healthy .material-symbol{color:var(--cw-theme-good)}.topology-health-status.is-review .material-symbol{color:var(--cw-theme-warning)}.topology-health-status.is-attention .material-symbol{color:var(--cw-theme-danger)}
.topology-paths>.topology-numbered-route{padding:8px!important;border:1px solid var(--cw-theme-border);border-radius:10px;background:var(--cw-theme-surface-raised)}
.topology-numbered-route .topology-pair-badge{min-width:29px;height:29px;font-size:14px}
.topology-analysis-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:auto;padding-top:16px;color:var(--cw-theme-muted);font-size:10px}.topology-analysis-footer:before{content:"";height:1px;background:var(--cw-theme-border);flex:1}
.topology-refresh{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--cw-theme-muted);cursor:pointer}.topology-refresh:hover{border-color:var(--cw-theme-accent);color:var(--cw-theme-text)}.topology-refresh .material-symbol{font-size:18px}
.topology-route-details summary{font-weight:700;color:var(--cw-theme-text)}.topology-route-details summary small{display:inline;margin-left:12px;font-size:10px;font-weight:400;color:var(--cw-theme-muted)}
.topology-modal .topology-close{border:1px solid var(--cw-theme-border);border-radius:10px;background:var(--cw-theme-surface-raised)}
@media(max-width:600px){.topology-route-details summary small{display:none}.topology-modal-head>.topology-heading-icon{width:38px;height:38px;font-size:23px}.topology-health-stats{gap:6px}}
@media(prefers-reduced-motion:reduce){.topology-modal *{transition:none!important}}
@media(max-width:1000px){.topology-graph{height:auto;flex:none;min-height:0}.topology-svg{height:auto}.topology-content{grid-template-columns:minmax(0,1fr)}.topology-finding-list{grid-template-columns:repeat(2,minmax(0,1fr))}.topology-findings .topology-empty{min-height:140px;grid-column:1/-1}.topology-capability-note{grid-column:1/-1}}
@media(max-width:720px){#sec-sync #pairs_list .pair-left{display:grid;grid-template-columns:30px minmax(0,1fr) 26px minmax(0,1fr);gap:8px;width:100%}#sec-sync #pairs_list .ord-badge{min-width:30px;width:30px;height:30px}#sec-sync #pairs_list .pair-pill.src,#sec-sync #pairs_list .pair-pill.dst{width:100%;min-width:0;padding:8px 10px;font-size:12px}#sec-sync #pairs_list .pair-pill.mode{grid-column:2/-1;width:fit-content;min-width:0;min-height:30px;padding:5px 10px;font-size:11px}#sec-sync #pairs_list .pair-actions{padding:0;justify-content:flex-start;gap:8px}}
@media(max-width:760px){.topology-summary{gap:18px;padding:18px}.topology-summary-content{flex-basis:100%;gap:14px}.topology-summary .topology-kicker{font-size:15px}.topology-summary-actions{width:100%}.topology-summary-actions .btn{flex:1;font-size:13px;min-height:44px;padding:10px 14px}.topology-summary-title{gap:8px 14px}.topology-status{font-size:12px}.topology-status .material-symbol{font-size:18px}.topology-counters{font-size:12px;margin-top:16px;gap:10px 0}.topology-counters>span{gap:6px;padding-right:10px;margin-right:10px}.topology-counters strong{font-size:19px}.topology-copy{font-size:12px;margin-top:12px}.topology-copy .topology-scope{display:block;margin:4px 0 0}.topology-modal-head{padding:20px 18px 16px}.topology-modal-body{padding:16px 18px}.topology-modal-head h2{font-size:21px}.topology-finding-list{grid-template-columns:minmax(0,1fr)}.topology-features button{padding:8px 10px}}

@container(max-width:600px){.topology-legend .topology-legend-label{display:none}.topology-map-footer{gap:10px}.topology-legend{gap:10px}}
@container(max-width:420px){.topology-map-footer{padding:10px;gap:8px}.topology-legend{gap:8px}.topology-zoom{gap:4px}.topology-zoom button{min-width:26px;padding:4px 6px}.topology-zoom output{min-width:30px}}
@container(max-width:340px){.topology-zoom button[data-zoom="out"],.topology-zoom button[data-zoom="in"]{display:none}}
