.hub-nav summary{cursor:pointer;padding:12px 10px;color:inherit;border-radius:6px;font-weight:600}.hub-sites{display:grid;gap:3px;padding-left:12px}.hub-sites button{text-align:left;font-size:13px}.hub-head{display:grid;gap:12px;margin-bottom:18px}.hub-head h2,.hub-head p{margin:0}.hub-head .actions{flex-wrap:wrap}.hub-scroll{overflow-x:auto;border:1px solid #dce4e1;border-radius:10px;background:var(--panel,#fff)}.hub-table{width:100%;min-width:1160px;border-collapse:collapse;table-layout:auto}.hub-table th{background:#f5f7f6;white-space:nowrap;font-size:12px;color:#4a5852}.hub-table th,.hub-table td{padding:12px 10px;border-bottom:1px solid #e8eeeb;text-align:left;vertical-align:middle}.hub-table tbody tr:last-child td{border-bottom:0}.hub-table tbody tr:hover{background:#f9fbfa}.hub-table td small{display:block;font-size:11px;color:#77847e;margin-top:4px;max-width:180px;overflow-wrap:anywhere}.hub-table td:nth-child(3){min-width:140px}.hub-table td:nth-child(4){min-width:140px}.hub-table td:last-child{min-width:260px}.hub-table .actions{display:flex;flex-wrap:wrap;gap:5px}.hub-table .btn{padding:6px 9px;font-size:12px}.hub-tags{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.hub-tag{display:inline-flex;align-items:center;border-radius:4px;background:#eaf1ed;padding:3px 5px;font-size:12px;gap:3px}.hub-tag[draggable=true]{cursor:grab}.hub-tag .btn{border:0;background:transparent;padding:0 3px}.hub-choice{display:flex;gap:9px;margin:8px 0}.hub-drag{border:0;background:transparent;cursor:grab;color:#65766c;font-size:20px;vertical-align:middle}.hub-signal.btn{font-size:20px;line-height:1;padding:2px 5px;background:transparent;border:0}.hub-online{color:#20b477!important}.hub-offline,.hub-stopped{color:#df5064!important}.hub-delayed{color:#de9a23!important}.hub-unknown{color:#96a39d!important}.hub-state{font-size:11px;display:block;white-space:nowrap}.hub-table input[type=checkbox]{width:15px;height:15px}.modal textarea[readonly]{width:100%;font-family:monospace;box-sizing:border-box}.hub-table .copyable-value{overflow-wrap:anywhere}@media(max-width:760px){.hub-head .actions .btn{flex:1}.hub-table{min-width:1080px}}
.hub-table{min-width:960px;table-layout:fixed}.hub-table th,.hub-table td{padding:10px 7px;overflow-wrap:anywhere}.hub-table td:nth-child(3),.hub-table td:nth-child(4),.hub-table td:last-child{min-width:0}.hub-table th:nth-child(1){width:4%}.hub-table th:nth-child(2){width:6%}.hub-table th:nth-child(3){width:12%}.hub-table th:nth-child(4){width:10%}.hub-table th:nth-child(5){width:14%}.hub-table th:nth-child(6){width:8%}.hub-table th:nth-child(7){width:9%}.hub-table th:nth-child(8){width:10%}.hub-table th:nth-child(9){width:17%}.hub-table .btn{padding:5px 6px}.hub-table td:nth-child(5) .btn{word-break:break-all}.hub-table th{white-space:normal}@media(max-width:760px){.hub-table{min-width:960px}}
.hub-table th:nth-child(3){width:11%}.hub-table th:nth-child(4){width:12%}.hub-table th:nth-child(9){width:16%}.hub-tag{white-space:nowrap;padding:2px 4px;font-size:11px;line-height:18px}.hub-tag .btn{min-height:0;height:auto;line-height:16px;padding:0 2px;font-size:12px}.hub-tags>.btn{min-height:0;padding:3px 5px;line-height:18px}.hub-tags{gap:4px}.hub-table td{padding-top:9px;padding-bottom:9px}

.hub-sortable-tag{cursor:grab;touch-action:none;user-select:none}.hub-sortable-tag:active{cursor:grabbing}.hub-tag-over{outline:2px solid #279866;outline-offset:2px}.hub-tags[aria-busy=true]{opacity:.65;pointer-events:none}

.table-sort{border:0;background:transparent;color:inherit;cursor:pointer;padding:0;font:inherit;font-weight:600;white-space:nowrap}.table-sort:hover{color:#16744f}.table-sort:focus-visible{outline:2px solid #16744f;outline-offset:3px}.hub-inline-name>.btn{font-weight:700;color:inherit;text-align:left;border:0;background:transparent;padding:0!important}.hub-inline-name>input{width:min(240px,100%);padding:3px 5px;border:1px solid #239965;border-radius:4px}.detection-settings{padding:16px;max-width:680px}.detection-settings .field{margin-top:12px}.detection-settings h3{margin-top:0}

.detection-history{table-layout:fixed;min-width:1160px}.detection-history th:first-child{width:24%}.detection-history td:first-child{font-weight:600;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.detection-history th:nth-child(2){width:16%}.detection-history th:nth-child(3){width:12%}.detection-history th:nth-child(n+4){width:9.6%}.detection-history td{white-space:normal;overflow-wrap:anywhere}.detection-history td small{max-width:none}.manual-check-results .hub-table{min-width:720px}.manual-check-results .hub-table td{white-space:normal;overflow-wrap:anywhere}.hub-table .hub-inline-name>input{font:inherit;min-height:32px}

.detection-history td:nth-child(n){min-width:0;max-width:none;white-space:normal}.modal:has(.manual-check-results){width:min(960px,95vw)}

.hub-inline-name>.btn{font-size:inherit}

/* Balance the existing nine columns around compact TZ resource/traffic blocks. */
.hub-node-table{min-width:1080px}
.hub-node-table th:nth-child(1){width:3%}.hub-node-table th:nth-child(2){width:5%}.hub-node-table th:nth-child(3){width:12%}.hub-node-table th:nth-child(4){width:8%}.hub-node-table th:nth-child(5){width:17%}.hub-node-table th:nth-child(6){width:11%}.hub-node-table th:nth-child(7){width:16%}.hub-node-table th:nth-child(8){width:9%}.hub-node-table th:nth-child(9){width:19%}
.hub-node-table .hub-host-address{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.hub-node-table .hub-machine-copy{display:inline-flex;align-items:center;gap:3px;max-width:100%;min-width:0}
.hub-node-table .hub-machine-copy>.btn{padding:3px 0;min-width:0;overflow-wrap:anywhere;text-align:left}
.hub-node-table .hub-machine-copy>.copy-button{flex:0 0 24px;opacity:.8}
.hub-node-table .hub-node-resources{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:7px}
.hub-node-table .hub-node-resources .resource-label{font-size:11px;gap:8px}.hub-node-table .hub-node-resources .resource-track{height:5px}
.hub-node-table .hub-node-traffic .probe-flow-lines{min-width:0;gap:4px}
.hub-node-table .hub-node-traffic .probe-flow-lines>div{padding:4px 6px;gap:3px 6px;line-height:1.3}
.hub-node-table .hub-node-traffic .probe-flow-lines span{font-size:11px}
.hub-node-table .hub-node-traffic .probe-flow-lines strong{font-size:14px}
.hub-node-table .hub-node-traffic .probe-flow-total strong{font-size:13px}
.hub-node-table .hub-traffic-note{margin-top:4px;font-size:11px}
@media(max-width:760px){.hub-node-table{min-width:1080px}.hub-node-table .hub-machine-copy>.copy-button{opacity:1}}

/* Compact the traffic blocks and return room to addresses and actions. */
.hub-node-table th:nth-child(5){width:19%}.hub-node-table th:nth-child(7){width:13%}.hub-node-table th:nth-child(9){width:20%}
.hub-node-table .hub-node-traffic .probe-flow-lines{max-width:155px}
.hub-node-table .hub-node-traffic .probe-flow-lines>div{padding:4px;gap:3px 4px}
.auto-dns-domains{display:grid;gap:8px}.auto-dns-domain{display:grid;grid-template-columns:18px minmax(0,1fr);gap:4px 8px;align-items:start}.auto-dns-domain small{grid-column:2;color:#64748b;overflow-wrap:anywhere}.auto-dns-history{display:grid;gap:8px;margin-top:12px}.auto-dns-history>div{padding:8px;background:#f5f8f6;border-radius:6px;overflow-wrap:anywhere}.auto-dns-history small{display:block;color:#64748b}

.auto-dns-domain strong{overflow-wrap:anywhere;word-break:break-word}

/* Keep the address column proportional to its compact controls. */
.hub-node-table th:nth-child(3){width:13%}.hub-node-table th:nth-child(4){width:9%}.hub-node-table th:nth-child(5){width:14%}.hub-node-table th:nth-child(6){width:12%}.hub-node-table th:nth-child(8){width:10%}.hub-node-table th:nth-child(9){width:21%}

/* One reusable card per API site; the optional source selector stays collapsed. */
.deployment-site-choice{display:flex;align-items:stretch;gap:6px;min-width:0}
.deployment-site-choice>.deployment-profile-choice{flex:1;min-width:0;overflow-wrap:anywhere}
.deployment-site-choice>.btn{flex-shrink:0;align-self:center}
.deployment-profile-picker{max-height:320px;overflow:auto}



/* Backup workspace: inherit the panel palette and shared controls. */
.system-page{display:grid;gap:16px;min-width:0;max-width:100%}
.system-page>.panel{margin:0}
.recovery-panel{padding:22px}
.recovery-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.recovery-heading h3{margin:0;font-size:18px}
.recovery-heading p{margin:6px 0 0;color:var(--muted);font-size:14px;line-height:1.6}
.recovery-service{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;border-radius:20px;padding:6px 11px;font-size:12px;background:var(--soft);color:var(--muted)}
.recovery-service:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.recovery-service.is-ready{background:var(--green-soft);color:var(--green)}
.recovery-service.is-unavailable{background:var(--amber-soft);color:var(--amber)}
.recovery-panel fieldset{border:0;padding:0;margin:0;min-width:0}
.recovery-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.recovery-card{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}
.recovery-card-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}
.recovery-step{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:8px;background:var(--green-soft);color:var(--green);font-size:13px;font-weight:700}
.recovery-card-head h4{margin:0;font-size:16px;line-height:1.4}
.recovery-card-head p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
.recovery-scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px;padding:15px;background:var(--soft);border-radius:6px;color:var(--muted);font-size:13px}
.recovery-scope span:before{content:'✓';color:var(--green);margin-right:8px}
.recovery-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.recovery-panel .field{min-width:0;margin:0 0 12px}
.recovery-panel .field label,.recovery-file-field>span{display:block;font-size:13px;font-weight:600;line-height:1.5;margin-bottom:7px}
.recovery-panel .field input{width:100%;max-width:100%;height:40px;font-size:14px}
.recovery-file-field{display:block}
.recovery-file-control{border:1px solid #b9c4bf;border-radius:6px;overflow:hidden;background:white;margin-bottom:6px}
.recovery-file-control input[type=file]{display:block;width:100%;height:40px;padding:0;border:0;box-shadow:none;border-radius:0;font-size:12px;line-height:40px}
.recovery-file-control input::file-selector-button{height:40px;border:0;border-right:1px solid var(--line);padding:0 12px;margin:0 10px 0 0;background:var(--soft);color:var(--ink);cursor:pointer;font-size:13px}
.recovery-file-field>small,.recovery-card-footer>small{display:block;color:var(--muted);font-size:12px;line-height:1.6}
.recovery-help{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 18px}
.recovery-card-footer{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}
.recovery-card-footer>.btn{min-height:38px;padding:8px 14px;white-space:normal}
.recovery-card-footer>small{width:100%}
.recovery-preview:empty,.recovery-downloads:empty{display:none}
.recovery-preview{padding:13px 14px;margin:0 0 18px;background:var(--green-soft);border-radius:6px;font-size:13px;overflow-wrap:anywhere}
.recovery-preview p{margin:0 0 8px;line-height:1.7}
.recovery-preview p:last-child{margin-bottom:0}
.recovery-preview-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.recovery-preview-meta span{display:block;color:var(--muted);font-size:12px}
.recovery-preview-meta strong{font-weight:500}
.recovery-preview-counts{padding-top:8px;border-top:1px solid #cde3d6}
.recovery-panel>.notice{margin:16px 0 0;line-height:1.7;font-size:13px}
.recovery-panel>.notice:not(.danger){background:var(--soft);border:1px solid var(--line);color:var(--ink)}
.recovery-downloads{margin-top:16px;padding:14px;background:var(--soft);border-radius:6px;align-items:center;gap:10px;min-width:0}
.recovery-downloads small{width:100%;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;color:var(--muted)}
.recovery-notes{margin-top:18px;border-top:1px solid var(--line);padding-top:14px;font-size:13px;color:var(--muted)}
.recovery-notes summary{cursor:pointer;color:var(--ink);font-weight:500;line-height:1.6}
.recovery-notes ul{margin:12px 0 0;padding-left:20px;line-height:1.8}
.recovery-notes li+li{margin-top:5px}
.system-fold-heading{padding:17px 20px;cursor:pointer;font-size:14px;font-weight:600;line-height:1.5}
.system-page>.system-settings,.system-page>.system-capacity{padding:0}
.system-settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:0 20px 20px}
.system-settings-grid>.settings-form{width:auto;max-width:none;margin:0;padding:18px;border:1px solid var(--line);border-radius:7px}
.system-settings-grid h3{margin:0 0 16px;font-size:15px}
.system-settings-grid p,.system-settings-grid .notice{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.system-settings-grid input,.system-settings-grid select{max-width:100%;min-width:0}
.system-capacity-body{padding:0 20px 20px;min-width:0}
.system-capacity-body p{font-size:13px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}
.system-capacity-body .actions{margin-top:16px}
.system-info{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0 3px 8px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
@media(max-width:1100px){.recovery-columns{grid-template-columns:1fr}.system-settings-grid{grid-template-columns:1fr}.recovery-card-footer{margin-top:4px}}
@media(max-width:640px){.recovery-panel{padding:15px}.recovery-heading{align-items:flex-start;gap:10px;margin-bottom:16px}.recovery-heading h3{font-size:17px}.recovery-heading p{font-size:13px}.recovery-service{font-size:11px;padding:5px 8px}.recovery-columns{gap:14px}.recovery-card{padding:15px}.recovery-form-grid{grid-template-columns:1fr;gap:0}.recovery-card-head{margin-bottom:16px}.recovery-card-head p{font-size:12px}.recovery-scope{margin-bottom:18px;padding:12px;gap:10px}.recovery-card-footer>.btn{width:100%}.recovery-card-footer{padding-top:14px}.recovery-preview-meta{grid-template-columns:1fr;gap:0}.system-settings-grid{padding:0 14px 14px}.system-settings-grid>.settings-form{padding:14px}.system-fold-heading{padding:15px}.system-capacity-body{padding:0 15px 15px}.system-info{gap:7px 12px}}

.admin-nav{min-width:0}
.admin-nav>summary{cursor:pointer;padding:12px 10px;color:inherit;border-radius:6px;font-weight:600}
.admin-links{display:grid;gap:3px;padding-left:14px;margin-top:3px}
.admin-links>button{text-align:left;font-size:13px;min-width:0;overflow-wrap:anywhere}
.admin-nav.has-active>summary{color:#fff}
@media(max-width:680px){.sidebar .admin-nav{width:100%}.admin-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding-left:10px}.admin-links>button{white-space:normal}}
.telegram-page .telegram-settings,.telegram-page .telegram-history{padding:24px}.telegram-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.telegram-panel-heading h3{margin:0 0 6px;font-size:20px}.telegram-panel-heading p{margin:0;font-size:13px}.telegram-badge{background:var(--green-soft);color:var(--green);border-radius:20px;padding:7px 12px;font-size:12px;white-space:nowrap}.telegram-fields{display:grid;gap:16px;margin-top:20px}.telegram-page .field input{min-height:40px;font-size:14px}.telegram-page .recovery-notes{margin-top:18px}.telegram-page .recovery-notes .field{margin-top:14px}.telegram-subscriptions{display:grid;gap:10px}.telegram-subscription{padding:10px 12px;background:var(--soft);border:1px solid var(--line);border-radius:8px}.telegram-subscription label{margin:0}.telegram-subscription small{display:block;color:var(--muted);font-size:12px;margin:5px 0 0 26px}.telegram-form-footer{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.telegram-form-footer p{margin:0}.telegram-history-scroll{overflow:auto;max-width:100%}.telegram-history table{table-layout:fixed;min-width:780px;width:100%}.telegram-history th:nth-child(1){width:150px}.telegram-history th:nth-child(2){width:130px}.telegram-history th:nth-child(3){width:90px}.telegram-history th:nth-child(4){width:60px}.telegram-history th:nth-child(6){width:180px}.telegram-history td{overflow-wrap:anywhere;vertical-align:top}.telegram-page .recovery-columns{align-items:start}.telegram-page .recovery-card{min-width:0}.telegram-page .notice{margin-top:16px}@media(max-width:640px){.telegram-page .telegram-settings,.telegram-page .telegram-history{padding:16px}.telegram-panel-heading{align-items:flex-start;gap:10px}.telegram-panel-heading h3{font-size:18px}.telegram-form-footer .actions{width:100%}.telegram-form-footer .actions .btn{flex:1}.telegram-badge{padding:6px 8px}}
.management-page{display:grid;gap:18px;min-width:0}.management-page>.panel{margin:0;padding:24px;border:1px solid var(--line);border-radius:10px;background:#fff}.management-heading>.toolbar,.management-heading>.page-heading{margin:0}.management-heading h2{font-size:21px;margin:0}.management-heading>p{font-size:13px;margin:10px 0 0}.management-page .field input,.management-page .field select{min-height:40px;font-size:14px}.management-records h3,.management-form h3{font-size:16px;margin:0 0 18px}.management-record-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.management-record-heading h3,.management-record-heading p{margin:0}.management-records>.hub-scroll,.management-records>.table-wrap{margin:0;max-width:100%;overflow:auto}.management-records td{overflow-wrap:anywhere}.detection-page .management-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.detection-page .management-form>h3,.detection-page .management-form>label:first-of-type,.detection-page .management-form>p{grid-column:1/-1}.detection-page .management-form>.btn{justify-self:start}.detection-page .management-records>.field{max-width:260px;margin:18px 0}.management-page .aws-workspace{min-width:0;display:grid;gap:18px}.aws-management-page .aws-toolbar,.aws-management-page .aws-filterbar{padding:18px;background:#fff;border:1px solid var(--line);border-radius:10px;gap:14px}.aws-management-page .aws-summary{gap:14px}.aws-management-page .aws-summary-item{padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:#fff}.aws-management-page .aws-workspace>.panel{padding:24px;border-radius:10px;margin:0}.aws-management-page #aws-instance-results{min-width:0}.aws-management-page #aws-instance-results>.table-wrap{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:auto}.traffic-center.management-page .traffic-controls{display:grid;grid-template-columns:minmax(220px,2fr) minmax(180px,1fr);gap:18px}.traffic-center.management-page .traffic-summary{gap:14px;margin:0}.traffic-center.management-page .traffic-summary-card{padding:20px;border:1px solid var(--line);border-radius:10px;background:#fff}.traffic-center.management-page .traffic-summary-card strong{font-size:25px}.management-task-modal{width:min(1100px,95vw);max-width:1100px}.hub-task-history{min-width:0}.hub-task-history>.table-wrap{overflow:auto;max-width:100%}.hub-task-history>.actions{margin-top:18px;align-items:center}.hub-task-history td{overflow-wrap:anywhere}@media(max-width:900px){.detection-page .management-form{grid-template-columns:1fr 1fr}.management-page>.panel,.aws-management-page .aws-workspace>.panel{padding:18px}}@media(max-width:640px){.management-page{gap:14px}.management-page>.panel,.aws-management-page .aws-workspace>.panel{padding:16px}.detection-page .management-form,.traffic-center.management-page .traffic-controls{grid-template-columns:minmax(0,1fr)}.management-heading .toolbar{flex-wrap:wrap;gap:12px}.management-heading .actions{flex-wrap:wrap}.management-records>.hub-scroll{overflow:auto}.management-records table{min-width:700px}.management-page .traffic-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.management-page .aws-toolbar,.management-page .aws-filterbar{padding:14px}.management-task-modal .modal-body{padding:14px}.hub-task-history table{min-width:650px}}
.detection-page .detection-settings{max-width:none;width:100%}.detection-page .detection-settings .field{margin-top:0}.detection-page .detection-settings>h3{margin-bottom:0}.detection-page .detection-settings>p{margin:0}.aws-management-page .aws-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:transparent;border:0;padding:0}.hub-task-history td small{display:block;margin-top:5px}.management-heading .toolbar-actions{flex-wrap:wrap}.management-page .field{min-width:0}@media(max-width:640px){.aws-management-page .aws-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.management-heading .toolbar-actions{width:100%}}
.probe-inline-name{display:inline;min-width:0}.probe-inline-name>.btn{font:inherit;font-weight:700;color:inherit;text-align:left;padding:0!important;border:0;background:transparent;white-space:normal;overflow-wrap:anywhere;min-height:0}.probe-inline-name>.btn:hover{color:var(--green);text-decoration:underline}.probe-inline-name>input{width:min(240px,100%);font:inherit;padding:4px 6px;border:1px solid var(--green);border-radius:5px;min-width:0}.deployment-main-menu .deployment-tabs{flex-wrap:wrap;gap:8px}
.detection-config-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;min-width:0}.detection-config-columns>.panel{margin:0;padding:24px;border-radius:10px;border:1px solid var(--line);background:#fff;min-width:0}.detection-config-columns h3{font-size:16px;margin:0}.detection-config-columns p{font-size:13px;line-height:1.7}.detection-config-columns .management-form{grid-template-columns:1fr 1fr;align-content:start;gap:16px}.detection-config-columns .management-form>.field:first-of-type{grid-column:1/-1}.detection-individual-fields{display:grid;gap:16px;margin-top:18px}.detection-individual .management-record-heading{align-items:flex-start;flex-wrap:wrap}.detection-individual .recovery-card-footer{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}.detection-page .hub-scroll{max-height:520px;overflow:auto}.detection-page .hub-table thead th{position:sticky;top:0;background:var(--soft)}@media(max-width:1100px){.detection-config-columns{grid-template-columns:1fr}}@media(max-width:640px){.detection-config-columns>.panel{padding:16px}.detection-config-columns .management-form{grid-template-columns:1fr}.detection-config-columns .management-form>.field{grid-column:1/-1}}
.individual-node-list{display:grid;gap:12px;margin-top:18px;max-height:620px;overflow:auto;padding:1px}.individual-node-row{border:1px solid var(--line);border-radius:9px;padding:16px;background:#fafcfb;display:grid;grid-template-columns:minmax(260px,1fr) minmax(380px,1fr);gap:18px;align-items:center}.individual-node-row.is-enabled{border-color:#aad8bd;background:#f3faf6}.individual-node-identity{display:flex;gap:9px;align-items:center;flex-wrap:wrap;min-width:0}.individual-node-toggle{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.individual-node-name{background:#e5f2eb;color:#206442;padding:5px 8px;border-radius:5px;font-weight:600;overflow-wrap:anywhere}.individual-node-ip{background:#eaf0fd;color:#315c9d;padding:5px 8px;border-radius:5px;font-family:monospace;overflow-wrap:anywhere}.individual-node-state{color:var(--muted);font-size:12px}.is-enabled .individual-node-state{color:#19734a;font-weight:600}.individual-node-fields{display:grid;grid-template-columns:1fr 1.2fr auto;gap:12px;align-items:end}.individual-node-fields .field{margin:0}.individual-node-fields>.btn{min-height:40px}.detection-individual>p{font-size:13px;line-height:1.7}.detection-individual>.field{max-width:440px}.detection-page>.management-form{gap:16px}@media(max-width:1000px){.individual-node-row{grid-template-columns:1fr}}@media(max-width:640px){.individual-node-row{padding:12px}.individual-node-fields{grid-template-columns:1fr 1fr}.individual-node-fields>.btn{grid-column:1/-1}.individual-node-list{max-height:none;overflow:visible}}
.individual-node-picker{position:relative;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fff;margin:18px 0;max-width:780px}.individual-node-picker>summary{cursor:pointer;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.individual-node-picker>summary:after{content:'▾';margin-left:auto;color:var(--muted)}.individual-node-picker>.field{margin:14px 0}.individual-picker-options{display:grid;gap:6px;max-height:270px;overflow:auto}.individual-picker-options>.btn{display:flex;gap:10px;align-items:center;flex-wrap:wrap;text-align:left;justify-content:flex-start;padding:8px;background:#fafcfb}.individual-draft{margin:12px 0 24px}.individual-draft .individual-node-row{background:#f6f8fa;border-style:dashed}.individual-active-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px}.individual-active-heading h4{font-size:15px;margin:0}.individual-active-heading .field{margin:0;min-width:230px}.individual-node-fields>.actions{flex-wrap:wrap;gap:8px}.individual-check-result{font-size:12px;color:var(--muted)}.individual-check-result.ok{color:#167347;background:#e5f5eb;padding:4px 7px;border-radius:4px}.individual-check-result.failed,.individual-check-result.expired{color:#b42318;background:#feeceb;padding:4px 7px;border-radius:4px}@media(max-width:640px){.individual-active-heading .field{width:100%}.individual-node-fields>.actions{grid-column:1/-1}.individual-node-fields>.actions>.btn{flex:1}}
.individual-add-preview{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center;background:var(--soft);border:1px dashed var(--line);border-radius:8px;padding:16px}.individual-add-panel .individual-draft{margin-bottom:0}.individual-active-panel .individual-active-heading{border-top:0;padding-top:0}.individual-active-panel h3{font-size:16px;margin:0}.individual-active-panel .individual-node-row{grid-template-columns:minmax(220px,1fr) minmax(480px,1.4fr)}@media(max-width:1100px){.individual-active-panel .individual-node-row{grid-template-columns:1fr}}@media(max-width:640px){.individual-add-preview>.btn{width:100%}.individual-active-panel .individual-node-fields{grid-template-columns:1fr 1fr}}
.deployment-card-form{padding:18px!important}.deployment-card-form>.deployment-create-head{margin-bottom:14px}.deployment-card-form .deployment-create-head h3{font-size:18px;margin:0 0 4px}.deployment-card-form .deployment-create-head p{font-size:12px;margin:0}.deployment-card-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.deployment-card-columns>.recovery-card{padding:16px;border:1px solid var(--line);border-radius:9px;background:#fff;min-width:0}.deployment-card-columns .recovery-card-head{margin-bottom:12px;gap:9px}.deployment-card-columns h4{margin:0;font-size:16px}.deployment-card-columns .recovery-step{width:29px;height:29px;font-size:12px}.deployment-machine-grid,.deployment-node-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.deployment-card-form .field{margin:0;min-width:0;gap:5px}.deployment-card-form .field>span{font-size:12px}.deployment-card-form .field input,.deployment-card-form .field select{min-height:36px;padding:7px 10px;font-size:13px}.deployment-card-form .field-wide{grid-column:1/-1}.deployment-card-form .deployment-target-panel{margin-top:12px;padding:0;border:0;background:transparent}.deployment-card-form .deployment-intent-tabs{margin:0 0 12px}.deployment-card-form .deployment-target-tabs{margin:0}.deployment-card-form .deployment-quick-profile{margin-bottom:12px;padding:10px}.deployment-card-form .deployment-profile-picker{max-height:125px;overflow:auto}.deployment-card-form .deployment-profile-choice{padding:7px 9px}.deployment-card-form .deployment-site-choice{gap:6px}.deployment-card-form .deployment-quick-profile .notice{font-size:11px;padding:7px;margin-top:8px}.deployment-card-form .deployment-quick-profile p{font-size:12px}.deployment-form-options{display:flex;gap:20px;align-items:start;flex-wrap:wrap;margin-top:12px}.deployment-notes,.deployment-system-options{font-size:12px;margin:0}.deployment-system-options{flex:1}.deployment-notes>summary,.deployment-system-options>summary{cursor:pointer;color:var(--muted);padding:5px 0}.deployment-notes p,.deployment-system-options .notice{font-size:12px;line-height:1.6}.deployment-card-form .deployment-submit-row{margin-top:12px;padding-top:12px;border-top:1px solid var(--line);justify-content:space-between;gap:12px}.deployment-card-form .deployment-submit-row small{font-size:11px;color:var(--muted)}.default-password-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}.default-password-controls label{display:inline-flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap}.default-password-controls input[type=checkbox]{width:14px;min-height:14px;height:14px;padding:0}.default-password-controls>.btn{font-size:12px;padding:3px 6px;min-height:0}.default-password-controls>small{font-size:11px}.probe-deployed-list{display:grid;gap:10px}.probe-deployed-row{border:1px solid var(--line);background:var(--soft);border-radius:7px;padding:11px 12px;display:grid;gap:7px}.probe-deployed-row>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap;overflow-wrap:anywhere}.probe-deployed-group{font-size:11px;color:#206442;background:#e5f2eb;border-radius:4px;padding:2px 5px}.probe-deployed-row small{font-size:11px}.batch-deployment-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.batch-deployment-layout .recovery-card{padding:16px;border:1px solid var(--line);border-radius:9px}.batch-deployment-layout h3{font-size:16px;margin:0 0 14px}.batch-machine-fields,.batch-site-fields{display:grid;gap:12px}.batch-node-config-row{display:grid;grid-template-columns:auto 1fr 2fr;gap:12px;align-items:center;padding:12px!important;margin:10px 0!important}.batch-node-config-row .field{margin:0}.modal:has(.batch-deployment-layout){width:min(1120px,96vw);max-width:1120px}@media(max-width:900px){.deployment-card-columns,.batch-deployment-layout{grid-template-columns:1fr}}@media(max-width:640px){.deployment-card-form{padding:12px!important}.deployment-card-columns>.recovery-card{padding:12px}.deployment-card-form .deployment-submit-row{flex-direction:column;align-items:stretch}.deployment-card-form .deployment-submit-row>.btn{width:100%}.batch-node-config-row{grid-template-columns:1fr}.default-password-controls{gap:6px}}
.deployment-card-form>.deployment-create-head{padding:0 0 12px;min-height:0}.deployment-card-form .deployment-submit-row{padding:12px 0 0;margin:10px 0 0}.deployment-card-form .deployment-group-select{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 36px;align-items:center}.deployment-card-form .deployment-group-select>span{grid-column:1/-1}.deployment-card-form .deployment-group-select>.btn{font-size:12px;padding:7px;min-height:36px}.deployment-card-form .deployment-node-grid>.field{align-self:start}.deployment-card-form .field input:not([type=checkbox]),.deployment-card-form .field select{height:36px}.deployment-card-form .deployment-system-options{padding:0;border:0;background:transparent;max-width:none}.deployment-card-form .deployment-system-options>.field{margin-top:8px}.deployment-card-form .deployment-form-options{margin-top:8px}.deployment-card-form .deployment-form-state{font-size:11px}.deployment-card-form .deployment-target-panel>.deployment-form-grid{padding:0;gap:10px 12px}
.deployment-reuse-toggle{margin:0 0 10px}.deployment-reuse-toggle>label{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;cursor:pointer}.deployment-reuse-toggle input{width:15px;height:15px;accent-color:var(--green)}.deployment-card-form .deployment-quick-profile{display:flex;align-items:center;gap:10px;padding:9px 10px;margin:0 0 12px;background:var(--soft);border:1px solid var(--line);border-radius:7px;min-width:0}.deployment-card-form .deployment-quick-profile[hidden]{display:none}.deployment-card-form .compact-site-picker{height:34px;min-height:34px;max-height:none;max-width:100%;min-width:0;width:auto;flex:1;padding:6px 9px;font-size:13px;border:1px solid var(--line);border-radius:5px;background:#fff}.deployment-card-form .deployment-quick-profile .deployment-advanced{padding:0;margin:0;border:0;background:transparent;min-width:0}.deployment-card-form .deployment-quick-profile .deployment-advanced>summary{font-size:12px;white-space:nowrap;padding:5px 6px;cursor:pointer}.deployment-card-form .deployment-quick-profile .deployment-advanced[open]{flex:1;max-width:55%}.deployment-card-form .deployment-quick-profile .deployment-advanced p{display:none}.deployment-card-form .deployment-quick-profile .deployment-advanced .field>span{display:none}.deployment-card-form .deployment-quick-profile .deployment-advanced select{height:32px;font-size:12px;margin-top:5px}.deployment-card-form .deployment-group-select{grid-template-columns:minmax(0,1fr) max-content;gap:5px 8px;align-items:end}.deployment-card-form .deployment-group-select>select,.deployment-card-form .deployment-group-select>.btn{height:36px;min-height:36px;margin:0;align-self:end}.deployment-card-form .deployment-group-select>.btn{padding:7px 8px;line-height:20px}.deployment-card-form .deployment-target-tabs{display:flex;flex-wrap:wrap}.deployment-card-form .deployment-target-tabs>button{white-space:normal;flex:1}@media(max-width:640px){.deployment-card-form .deployment-group-select{grid-template-columns:minmax(0,1fr) auto}.deployment-card-form .deployment-quick-profile{flex-wrap:wrap}.deployment-card-form .compact-site-picker{width:100%;flex-basis:100%}.deployment-card-form .deployment-quick-profile .deployment-advanced[open]{max-width:100%}.deployment-card-form .deployment-target-tabs>button{font-size:12px;padding:8px}}
.deployment-card-form .deployment-group-select>label{grid-column:1/-1;grid-row:1}.deployment-card-form .deployment-group-select>select{grid-column:1;grid-row:2;width:100%;min-width:0}.deployment-card-form .deployment-group-select>.btn{grid-column:2;grid-row:2}.deployment-card-form .field>label{font-size:12px}.deployment-card-form .deployment-quick-profile .deployment-advanced .field>label{display:none}

/* Batch records: choose one batch, read its full details without a wide clipped table. */
.modal.batch-records-modal{width:min(1480px,96vw);max-width:1480px;max-height:calc(100dvh - 32px)}
.batch-records-modal .modal-body{padding:20px;overflow:auto;min-width:0}
.batch-records-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:22px;align-items:start}
.batch-records-list{display:grid;gap:10px;min-width:0}.batch-record-choice{display:grid!important;text-align:left;gap:5px;width:100%;white-space:normal!important;overflow-wrap:anywhere;padding:12px!important}.batch-record-choice[aria-pressed=true]{background:#e7f3ec;border-color:#2a805a}.batch-record-choice span,.batch-record-choice small{font-size:12px;color:var(--muted)}
.batch-record-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.batch-record-detail{border:1px solid var(--line);border-radius:10px;padding:20px;min-width:0}.batch-record-detail h3{margin:0 0 18px;overflow-wrap:anywhere;font-size:18px}.batch-record-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}.batch-record-field{display:grid;gap:5px;min-width:0;margin-bottom:12px}.batch-record-field>span{font-size:12px;color:var(--muted)}.batch-record-field>strong{font-size:13px;overflow-wrap:anywhere;font-weight:500;white-space:normal}.batch-record-error{padding:14px;border-radius:7px;background:var(--soft);margin:14px 0}.batch-record-error>strong{font-size:13px}.batch-record-error p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:13px;margin:8px 0 0}
.hub-site-menu{position:relative}.hub-site-menu>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center}.hub-site-menu>summary::-webkit-details-marker{display:none}.hub-site-menu-items{position:absolute;top:calc(100% + 6px);left:0;z-index:70;min-width:160px;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 8px 24px #0002;display:grid;gap:4px}.hub-site-menu-items>.btn{text-align:left;border:0;white-space:nowrap}.hub-site-menu:not([open])>.hub-site-menu-items{display:none}
@media(max-width:900px){.batch-records-layout{grid-template-columns:210px minmax(0,1fr)}.batch-record-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.modal.batch-records-modal{width:96vw;max-height:calc(100dvh - 16px)}.batch-records-layout{grid-template-columns:1fr}.batch-records-list{grid-template-columns:1fr 1fr}.batch-record-pagination{grid-column:1/-1}.batch-records-modal .modal-body{padding:12px}.batch-record-detail{padding:14px}}

.hub-toolbar-actions{justify-content:space-between;align-items:flex-start;width:100%}.hub-primary-actions{flex:1;min-width:0}.hub-right-actions{margin-left:auto;flex-shrink:0}.hub-site-menu-items{left:auto;right:0}
.deployment-main-menu,.deployment-main-menu>.deployment-tabs{width:100%}.deployment-main-menu>.deployment-tabs{display:flex;flex-wrap:wrap;gap:8px}.deployment-tabs>.deployment-records-entry{margin-left:auto}.deployment-record-tabs{margin-bottom:16px}.deployment-batch-records{padding:20px;border:1px solid var(--line);border-radius:10px;background:#fff}.batch-inline-form .batch-deployment-layout{align-items:start}.batch-inline-form .batch-machine-fields,.batch-inline-form .batch-site-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.batch-inline-form .batch-machine-fields>.field:last-child,.batch-inline-form .batch-site-fields>.field:nth-child(3),.batch-inline-form .batch-site-fields>.field:nth-child(4){grid-column:1/-1}.batch-inline-form .batch-node-configs{margin:14px 0}
.migration-result-list{display:grid;gap:8px;margin:12px 0}.migration-result-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 12px;background:var(--soft);border-radius:6px;overflow-wrap:anywhere}.migration-result-row>strong{font-size:13px}.migration-result-row>.notice{grid-column:1/-1;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px}.migration-cleanup-record{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.migration-cleanup-record .notice{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:900px){.hub-toolbar-actions .hub-right-actions{flex-wrap:wrap}.batch-inline-form .batch-machine-fields,.batch-inline-form .batch-site-fields{grid-template-columns:1fr}.batch-inline-form .field{grid-column:auto!important}}
@media(max-width:640px){.hub-right-actions{width:100%;justify-content:flex-end}.deployment-tabs>.deployment-records-entry{margin-left:0}.deployment-batch-records{padding:12px}.migration-result-row{grid-template-columns:1fr}}

.actions.deployment-main-menu>.deployment-tabs{display:flex;max-width:none;margin:0;overflow:visible}.deployment-main-menu .deployment-tabs>.deployment-records-entry{margin-left:auto}@media(max-width:640px){.deployment-main-menu .deployment-tabs>.deployment-records-entry{margin-left:0}}

.migration-record-detail .batch-record-fields{gap:10px;margin-bottom:10px}.migration-record-detail .batch-record-field{margin-bottom:4px}.migration-record-detail .migration-result-row>.notice{padding:7px 10px}.migration-cleanup-record>details{margin-top:7px;font-size:12px}.migration-cleanup-record>.actions>strong{font-size:12px}

.access-record-controls>.actions{align-items:end}.access-record-controls .field{min-width:180px;max-width:340px;flex:1}.access-record-controls .field label{font-size:12px}.management-records>.actions{margin-top:16px}

#deployment-create-view,#deployment-batch-view,#deployment-cross-view,#deployment-task-view{width:100%;max-width:none;min-width:0}.deployment-card-form,.deployment-create{width:100%;max-width:none!important}.deployment-card-form .deployment-create-head{padding:0 0 14px;align-items:start}.deployment-card-form .deployment-create-head p{line-height:1.6}.deployment-target-tabs>.btn,.deployment-main-menu .deployment-records-entry{background:#218158!important;color:#fff!important;border-color:#218158!important}.deployment-target-tabs>.btn.active,.deployment-main-menu .deployment-records-entry.active{background:#145b3c!important;border-color:#145b3c!important}.deployment-batch-records{padding:0;border:0;background:transparent}#deployment-task-center,.deployment-batch-records{background:#fff;padding:20px;border:1px solid var(--line);border-radius:10px}.deployment-record-tabs .btn{background:#e7f3ec;color:#176741;border-color:#bed9ca}.deployment-record-tabs .btn.active{background:#218158;color:#fff}.deployment-task-controls{align-items:end}.cross-profile-choices{display:grid;gap:8px;margin-top:14px;max-height:400px;overflow:auto}.cross-inline-form .batch-machine-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.cross-inline-form .batch-machine-fields>.field:last-child{grid-column:1/-1}.batch-site-fields>.field:last-child{grid-column:1/-1}@media(max-width:640px){.cross-inline-form .batch-machine-fields{grid-template-columns:1fr}#deployment-task-center,.deployment-batch-records{padding:12px}}

/* Shared deployment records and compact balanced forms. */
.deployment-record-menu{position:relative;margin-left:auto}.deployment-record-menu>summary{list-style:none;cursor:pointer}.deployment-record-menu>summary::-webkit-details-marker{display:none}.deployment-record-menu:not([open])>.hub-site-menu-items{display:none}.deployment-record-tabs[hidden]{display:none!important}
#deployment-task-center,.deployment-batch-records{width:100%;min-height:520px;box-sizing:border-box}.modal:has(.deployment-details),.modal.batch-records-modal,.modal.management-task-modal{width:min(1480px,96vw);max-width:1480px;max-height:calc(100dvh - 32px)}
.batch-deployment-layout{align-items:stretch!important}.batch-deployment-layout .recovery-card{min-width:0}.batch-deployment-layout .field{margin:0}.batch-deployment-layout .field>label{font-size:12px;margin-bottom:5px}.batch-deployment-layout input:not([type=checkbox]),.batch-deployment-layout select{height:36px;min-height:36px}.batch-deployment-layout .batch-machine-fields,.batch-deployment-layout .batch-site-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.batch-site-fields>.field:nth-child(3),.batch-site-fields>.field:nth-child(4),.batch-machine-fields>.field:last-child{grid-column:1/-1}.batch-site-fields>.field:last-child{grid-column:auto}.batch-deployment-layout .deployment-target-tabs{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}.batch-deployment-layout .deployment-target-tabs>.btn{flex:0 1 auto!important;width:auto!important;font-size:12px!important;padding:6px 10px!important;min-height:32px!important;background:#e7f3ec!important;color:#176741!important;border-color:#bed9ca!important}.batch-deployment-layout .deployment-target-tabs>.btn.active{background:#218158!important;color:white!important;border-color:#218158!important}
.certificate-domain-controls{gap:5px}.certificate-domain-controls>.btn{font-size:11px}.field>select[hidden],.field>input[hidden]{display:none!important}.certificate-domain-controls input{width:14px!important;height:14px!important;min-height:14px!important}.batch-node-config-row{align-items:start}.deployment-record-menu .hub-site-menu-items{right:0;left:auto}
@media(max-width:640px){.batch-deployment-layout .batch-machine-fields,.batch-deployment-layout .batch-site-fields{grid-template-columns:1fr}.batch-deployment-layout .field{grid-column:auto!important}.deployment-record-menu{margin-left:0}#deployment-task-center,.deployment-batch-records{min-height:300px}}

.modal.deployment-record-detail-modal,.modal.batch-records-modal{width:min(1480px,96vw);max-width:1480px;height:min(820px,calc(100dvh - 32px));max-height:calc(100dvh - 32px)}.deployment-record-detail-modal .modal-body,.batch-records-modal .modal-body{overflow:auto;padding:20px;min-height:0}

.batch-deployment-layout .deployment-target-tabs{width:max-content;max-width:100%;border:0;background:transparent;padding:0}.deployment-main-menu .deployment-record-menu>summary{background:#218158!important;color:#fff!important;border:1px solid #218158!important}.deployment-main-menu .deployment-record-menu[open]>summary{background:#145b3c!important}

/* Aligned, compact site/source controls in both deployment workflows. */
.deployment-card-form .deployment-quick-profile.site-reuse-picker,.site-reuse-picker{display:grid;grid-template-columns:minmax(140px,240px) minmax(140px,200px);gap:12px;align-items:start;justify-content:start;max-width:100%;padding:10px!important;margin-bottom:12px;background:var(--soft);border:1px solid var(--line);border-radius:7px}.site-reuse-picker[hidden]{display:none!important}.site-reuse-picker .field{margin:0!important;min-width:0}.site-reuse-picker label{display:block;font-size:12px;margin:0 0 5px!important;line-height:18px}.site-reuse-picker select,.deployment-card-form .site-reuse-picker .compact-site-picker{width:100%!important;max-width:100%;height:36px!important;min-height:36px!important;font-size:13px;margin:0!important;padding:6px 9px;box-sizing:border-box}.quick-source-field{min-width:0}.batch-reuse-panel{margin-bottom:12px}.batch-site-fields>.field{align-self:start}.batch-site-fields>.deployment-group-select{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:18px 36px;gap:5px 8px;align-items:end}.batch-site-fields>.deployment-group-select>label{grid-column:1/-1;grid-row:1;margin:0!important;line-height:18px}.batch-site-fields>.deployment-group-select>select{grid-column:1;grid-row:2;min-width:0;width:100%}.batch-site-fields>.deployment-group-select>.btn{grid-column:2;grid-row:2;height:36px;min-height:36px;padding:6px 8px;font-size:12px;margin:0}.batch-site-fields{grid-template-columns:repeat(2,minmax(0,260px))!important;justify-content:start}.batch-site-fields>.field:nth-child(2)>label{line-height:18px;height:18px;margin-bottom:5px}.batch-site-fields input,.batch-site-fields select{width:100%;min-width:0;box-sizing:border-box}
@media(max-width:640px){.deployment-card-form .deployment-quick-profile.site-reuse-picker,.site-reuse-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.batch-site-fields{grid-template-columns:1fr!important}}

#deployment-task-view>#deployment-task-center,#deployment-task-view>.deployment-batch-records{width:100%;max-width:none!important;margin:0;box-sizing:border-box}.batch-site-fields>.field:nth-child(2){display:grid;grid-template-rows:18px 36px;gap:5px;align-items:end}.batch-site-fields>.field:nth-child(2)>label{margin:0!important;line-height:18px}.batch-site-fields>.field:nth-child(2)>select{margin:0!important;height:36px;min-height:36px}

.deployment-card-form .deployment-submit-aligned{display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box}.deployment-submit-aligned>.btn[type=submit]{margin-left:auto}.cross-selected-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--soft)}.cross-selected-row>div{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.cross-selected-row strong{font-size:13px}.cross-selected-row small{font-size:12px}.cross-picker-list{max-height:50dvh;overflow:auto;display:grid;gap:14px}.cross-picker-group h4{margin:4px 0 8px;font-size:14px}.cross-picker-group .hub-choice{margin:6px 0;padding:9px;border:1px solid var(--line);border-radius:6px;align-items:center}.cross-picker-group .hub-choice>span{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.cross-picker-group small{font-size:12px}.modal:has(.cross-picker-list){width:min(860px,94vw);max-width:860px}
@media(max-width:640px){.deployment-submit-aligned>.btn[type=submit]{margin-left:0}.deployment-submit-aligned>small{width:100%}}

.machine-picker-control{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:100%;min-height:40px;text-align:left}.machine-name-chip{display:inline-block;background:#e4f3e9;color:#226745;border:1px solid #c7e5d2;border-radius:5px;padding:4px 8px;overflow-wrap:anywhere}.machine-ip-chip{display:inline-block;background:#edf3ff;color:#245d9a;border:1px solid #d2e0f7;border-radius:5px;padding:4px 8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.machine-choice-list{display:grid;gap:8px;max-height:55vh;overflow:auto}.machine-choice-row{display:flex;align-items:center;gap:10px;text-align:left;width:100%;flex-wrap:wrap;padding:10px}.swap-profile-list{max-height:30vh;overflow:auto;margin-top:12px;border-top:1px solid #e2e8f0;padding-top:8px}.machine-picker-control>span:last-child{margin-left:auto}

/* Ten columns: move tags left while reserving address/action space. */
.hub-node-table{min-width:1220px}.hub-node-table th:nth-child(1){width:3%}.hub-node-table th:nth-child(2){width:5%}.hub-node-table th:nth-child(3){width:10%}.hub-node-table th:nth-child(4){width:8%}.hub-node-table th:nth-child(5){width:8%}.hub-node-table th:nth-child(6){width:15%}.hub-node-table th:nth-child(7){width:11%}.hub-node-table th:nth-child(8){width:12%}.hub-node-table th:nth-child(9){width:9%}.hub-node-table th:nth-child(10){width:19%}.hub-node-table td:nth-child(6) .btn{word-break:break-all}.hub-node-table .probe-ddns{font-size:11px}

/* Row actions float outside the scroll table to avoid clipping. */
.hub-row-menu{position:fixed;z-index:10000;display:flex;flex-direction:column;gap:4px;width:176px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow-y:auto;padding:7px;background:#fff;border:1px solid #ccd8d3;border-radius:9px;box-shadow:0 8px 26px #182f2429}.hub-row-menu .btn{width:100%;text-align:left;justify-content:flex-start;min-height:34px}

.machine-picker-search{display:grid;gap:10px;min-width:0}.machine-picker-search>.field{margin:0}.machine-picker-search input[type=search]{width:100%;box-sizing:border-box}.machine-picker-search .machine-choice-list{max-height:45vh;max-height:45dvh}

.migration-result-row .migration-failure{grid-column:1/-1;background:#fff1ef;border:1px solid #f0c7c2;border-radius:6px;padding:9px 11px;color:#8e1d14;overflow-wrap:anywhere}.migration-failure>p{margin:5px 0;font-size:12px}.migration-failure>small{display:block;font-size:11px}.migration-result-row>.btn{justify-self:start}

/* One visual system for deployment, migration/swap and batch records. */
.modal.task-records-modal{width:min(1480px,96vw);max-width:1480px;height:min(860px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);display:flex;flex-direction:column}.task-records-modal>.modal-head,.task-records-modal>.modal-foot{flex:none}.task-records-modal>.modal-body{flex:1;min-height:0;overflow:auto;padding:20px;background:#f7faf8}.record-navigation{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.record-footer{margin-top:14px}.task-records-modal .batch-records-layout{align-items:start;min-height:380px;gap:20px}.task-records-modal .batch-record-detail{background:#fff;min-width:0}.record-failure{background:#fff1ef;border:1px solid #f0c7c2;border-radius:7px;padding:10px 12px;color:#8e1d14;overflow-wrap:anywhere;margin:10px 0}.record-failure>p{margin:6px 0;font-size:12px}.record-failure>small{font-size:11px}.record-task-actions{margin:10px 0;flex-wrap:wrap}.migration-result-row>.record-task-actions,.migration-result-row>.record-failure{grid-column:1/-1}.task-records-modal .deployment-task-controls{margin-bottom:16px}.record-overview>.record-task-actions{position:sticky;top:-20px;background:#fff;padding:10px 0;z-index:2}
@media(max-width:640px){.modal.task-records-modal{width:96vw;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.task-records-modal>.modal-body{padding:12px}.record-navigation{gap:5px}.record-navigation>.btn{font-size:12px;padding:7px 9px}.task-records-modal .batch-records-layout{gap:12px}.record-overview>.record-task-actions{top:-12px}}

.fixed-dns-setting{padding:12px 14px;margin:10px 0;background:#f2f8f4;border:1px solid #d5e7dc;border-radius:8px}.fixed-dns-setting>.field{max-width:300px;margin:8px 0}.record-center-filters{grid-template-columns:minmax(130px,1fr) minmax(150px,1fr) minmax(220px,2fr)}.record-primary-actions{justify-content:flex-end}.unified-record-modal .deployment-task-summary{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}@media(max-width:640px){.record-center-filters{grid-template-columns:1fr 1fr}.record-center-filters>.field:last-child{grid-column:1/-1}.record-primary-actions{justify-content:flex-start}}

.machine-name-chip,.machine-ip-chip{white-space:normal;min-width:0;max-width:100%;line-height:1.5}.machine-picker-control{max-width:100%;box-sizing:border-box;white-space:normal}.machine-choice-row{white-space:normal;min-width:0}.machine-choice-row>.machine-name-chip{flex:1 1 180px}.machine-choice-row>.machine-ip-chip{flex:0 1 auto}

.deployment-card-form .deployment-target-tabs,.batch-deployment-layout .deployment-target-tabs{display:flex;gap:6px;margin:0 0 12px;flex-wrap:wrap}
.deployment-card-form .deployment-target-tabs>.btn,.batch-deployment-layout .deployment-target-tabs>.btn{flex:0 1 auto!important;width:auto!important;font-size:12px!important;padding:6px 10px!important;min-height:32px!important;background:#e7f3ec!important;color:#176741!important;border-color:#bed9ca!important}
.deployment-card-form .deployment-target-tabs>.btn.active,.batch-deployment-layout .deployment-target-tabs>.btn.active{background:#218158!important;color:#fff!important;border-color:#218158!important}
.batch-deployment-layout .recovery-card-head{display:flex;align-items:center;gap:9px;margin-bottom:12px}.batch-deployment-layout .recovery-card-head h4{font-size:16px;margin:0}.batch-deployment-layout .recovery-step{width:29px;height:29px;font-size:12px}

.node-profile-editor{width:min(820px,96vw)!important;max-width:820px!important}.editor-profile-fields,.editor-sync-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.editor-profile-fields .field,.editor-sync-fields .field{margin:0;min-width:0}.editor-sync-panel{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.editor-sync-panel h4{margin:0 0 8px}.editor-sync-fields>.field:last-child{grid-column:1/-1}.node-profile-editor .modal-foot{flex-wrap:wrap}@media(max-width:640px){.editor-profile-fields,.editor-sync-fields{grid-template-columns:1fr}.node-profile-editor .modal-foot>.btn{flex:1}}

.unified-record-modal>.record-center-footer{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;background:#fff;flex-shrink:0;position:relative;z-index:2}.record-center-footer>.btn:last-child{margin-left:auto}.record-center-footer>.btn{white-space:nowrap}@media(max-width:640px){.unified-record-modal>.record-center-footer{gap:6px;padding:12px}.record-center-footer>.btn{font-size:12px;padding:8px}}

.modal.cleanup-identity-modal{width:min(1000px,96vw);max-width:1000px}.cleanup-identity-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.cleanup-identity-columns>section,.cleanup-identity-verification{min-width:0}.cleanup-identity-verification>summary{cursor:pointer;font-weight:600}.cleanup-identity-verification .recovery-card{padding:12px;border:1px solid var(--line);border-radius:8px}.cleanup-identity-verification h4{margin:0 0 12px;overflow-wrap:anywhere}@media(max-width:700px){.cleanup-identity-columns{grid-template-columns:1fr}}

/* Site -> deployment backend navigation, same palette as existing sidebar. */
.hub-site-nav{min-width:0}.hub-nav .hub-site-nav>summary{padding:9px 8px;font-size:13px;font-weight:500;overflow-wrap:anywhere;display:list-item}.hub-site-nav>summary>span{margin-right:6px}.hub-site-nav small,.hub-backend-links small{color:#c2cfc8;background:#34433d;border-radius:4px;padding:1px 5px;font-size:11px}.hub-backend-links{display:grid;gap:3px;margin:3px 0 6px 13px;padding-left:8px;border-left:1px solid #48594f}.hub-sites .hub-backend-links button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;width:100%;font-size:12px}.hub-site-nav:has(button.active)>summary{color:#e2f6e9;background:#293c32}@media(max-width:760px){.sidebar .nav .hub-sites{display:grid!important;width:100%}.hub-backend-links{max-width:100%}}
