/* Presentation overrides apply only to the independent review document. */
.connected-review{font-size:15px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}
.connected-review #workspace h1{font-weight:550;letter-spacing:-.02em}.connected-review #workspace h2{font-weight:550}.connected-review #workspace h3{font-weight:500}
:root[data-theme="dark"] .connected-review{background:radial-gradient(ellipse at 70% 0%,#17335444,transparent 45%),#0a111e;color:#e2e8f0}
:root[data-theme="dark"] .connected-review #workspace .card,:root[data-theme="dark"] .connected-review dialog{background:rgba(19,31,51,.85);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 10px 30px -10px rgba(0,0,0,.5)}
.connected-review .section-nav .nav-group{margin:10px 0}.connected-review .section-nav .nav-group summary{font-size:13px;font-weight:600;letter-spacing:.075em;text-transform:uppercase;border:1px solid #94a3b824;border-radius:8px;padding:10px;background:#94a3b80e}.connected-review .section-nav .nav-group>div{margin:7px 0 5px 12px;padding-left:8px;border-left:1px solid #94a3b82e}.connected-review .section-nav .nav-group a{font-size:14px;font-weight:400;padding:9px 7px}.connected-review .section-nav a[aria-current="page"]{border-left:3px solid #38bdf8;background:linear-gradient(90deg,#38bdf81c,transparent)}
.connected-review table,.connected-review label,.connected-review input,.connected-review select,.connected-review button,.connected-review textarea{font-size:14px}.connected-review #workspace p,.connected-review #workspace .muted{font-size:14px}.connected-review footer{font-size:13px}.connected-review dialog{max-height:90vh;overflow:auto}

/* Dedicated new-UI login, using the existing authenticated login form unchanged. */
body.connected-review:has(#login:not([hidden])){background:radial-gradient(ellipse at 60% 20%,#17335477,transparent 55%),radial-gradient(ellipse at 20% 90%,#30245944,transparent 50%),#0a111e;color:#e2e8f0;min-height:100vh}
.connected-review:has(#login:not([hidden]))>header{display:none}.connected-review:has(#login:not([hidden])) main{display:flex;justify-content:center;align-items:center;min-height:calc(100vh - 60px);padding:32px 20px;margin:0;max-width:none;width:100%}
.connected-review #login.control-login{display:flex;flex-direction:column;gap:0;width:460px;max-width:100%;min-height:0;margin:0;padding:30px;background:rgba(19,31,51,.75);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.10);border-radius:20px;box-shadow:0 20px 60px -20px #0009;color:#e2e8f0}
.connected-review #login[hidden]{display:none!important}.connected-review #login .login-command{padding:0 0 25px;background:transparent;border:0;border-bottom:1px solid #ffffff10;min-height:0;border-radius:0}.connected-review #login .login-command-copy,.connected-review #login .login-network,.connected-review #login .login-capabilities{display:none}.connected-review #login .login-brand{margin:0;gap:12px}.connected-review #login .login-brand strong{font-size:22px;font-weight:550;color:#fff}.connected-review #login .login-brand span{color:#94a3b8;font-size:11px;letter-spacing:.16em}.connected-review #login .gatekeeper-mark{width:40px;height:40px}.connected-review #login .login-access{padding:25px 0 0;background:none;border:0;min-width:0}.connected-review #login .login-access-label{color:#38bdf8;font-size:12px;letter-spacing:.1em}.connected-review #login h1{font-size:28px;font-weight:550;color:#fff;letter-spacing:-.02em;margin:12px 0}.connected-review #login .login-instruction{font-size:14px;color:#94a3b8;line-height:1.6;margin-bottom:22px}.connected-review #login label{color:#cbd5e1;font-size:14px;font-weight:450}.connected-review #login input{background:#0a111e99;color:#fff;border:1px solid #ffffff20;border-radius:9px;padding:12px;font-size:16px}.connected-review #login input:focus{outline:2px solid #38bdf8;outline-offset:2px}.connected-review #login .login-password-field input{padding-right:48px}.connected-review #login #login-password-toggle{background:transparent;border:0;color:#94a3b8}.connected-review #login button.primary{background:#38bdf8;color:#082035;border:1px solid #38bdf8;border-radius:9px;font-size:15px;font-weight:600;padding:12px;width:100%;margin-top:12px}.connected-review #login button.primary:hover{background:#7dd3fc}.connected-review #login #forgot-password,.connected-review #login #login-switch-account{color:#7dd3fc;background:none;border:0;font-size:14px}.connected-review #login .login-access-note{color:#7891ad;font-size:12px}.connected-review #login #login-error{color:#fda4af;font-size:14px}.connected-review:has(#login:not([hidden])) footer{margin:0;padding:18px;text-align:center;color:#7891ad;background:transparent;border:0}.connected-review:has(#login:not([hidden])) footer a{color:#7dd3fc}@media(max-width:540px){.connected-review #login.control-login{padding:24px}.connected-review:has(#login:not([hidden])) main{padding:24px 16px}}

/* Desktop sign-in has a wider editorial layout; phones keep the compact form. */
@media(min-width:900px){
.connected-review #login.control-login{width:1040px;min-height:560px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);padding:0;overflow:hidden;border-radius:24px}
.connected-review #login .login-command{display:flex;flex-direction:column;justify-content:space-between;padding:44px;background:linear-gradient(145deg,#16334b99,#131f3322);border-bottom:0;border-right:1px solid #ffffff10}
.connected-review #login .login-command-copy{display:block;margin-top:40px}.connected-review #login .login-command-copy .login-kicker{font-size:12px;letter-spacing:.12em;color:#38bdf8;margin-bottom:18px}.connected-review #login .login-command-copy h2{font-size:38px;font-weight:500;line-height:1.15;letter-spacing:-.025em;color:#fff;margin:0 0 20px}.connected-review #login .login-command-copy>p:last-child{font-size:15px;color:#a2b3c8;line-height:1.75;max-width:360px}
.connected-review #login .login-capabilities{display:flex;gap:8px;flex-wrap:wrap;margin-top:36px}.connected-review #login .login-capabilities span{font-size:10px;letter-spacing:.08em;padding:7px 9px;border:1px solid #38bdf824;border-radius:6px;background:#38bdf808;color:#8cabc3}
.connected-review #login .login-access{display:flex;flex-direction:column;justify-content:center;padding:44px}.connected-review #login .login-access-label{margin:0 0 12px}.connected-review #login h1{font-size:30px;margin:0 0 12px}.connected-review #login .login-instruction{margin:0 0 28px}.connected-review #login .login-access-note{margin-top:24px;padding-top:20px;border-top:1px solid #ffffff10}
.connected-review:has(#login:not([hidden])) main{padding:56px 48px}
}
@media(min-width:1400px){.connected-review #login.control-login{width:1120px;min-height:600px}.connected-review #login .login-command,.connected-review #login .login-access{padding:52px}}

/* Focused infrastructure health panel, exclusive to the new interface. */
dialog.infrastructure-dialog{width:min(720px,calc(100vw - 32px));max-width:720px;max-height:calc(100dvh - 48px);padding:28px;border-radius:20px;overflow:auto}
.infrastructure-dialog #details-title{font-size:23px;font-weight:550;letter-spacing:-.4px}.health-summary{color:#cbd5e1;margin:6px 0 20px;font-size:15px}.infrastructure-list{display:grid;gap:9px}.infrastructure-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid #ffffff0d;border-left:3px solid #94a3b8;background:#94a3b805;border-radius:10px}.infrastructure-row.healthy{border-left-color:#34d399}.infrastructure-row.degraded{border-left-color:#fbbf24}.infrastructure-row.failed{border-left-color:#fb7185}.infrastructure-copy{min-width:0}.infrastructure-copy h3{font-size:16px;color:#f1f5f9;font-weight:550;margin:0}.infrastructure-copy p{font-size:14px;line-height:1.45;color:#94a3b8;margin:4px 0 0;overflow-wrap:anywhere}.health-status{font-size:14px;font-weight:600;padding:6px 12px;flex-shrink:0}.health-status.failed{background:#fb718518;color:#fda4af;border-color:#fb718545}.health-status.failed .dot{animation:none;background:#fb7185;box-shadow:none}.health-scope{background:#38bdf808;border:1px solid #38bdf81c;border-radius:10px;padding:12px 14px;color:#94a3b8;font-size:13px;margin:18px 0}.infrastructure-dialog form{display:flex;justify-content:flex-end;margin:0}.infrastructure-dialog form .button{font-size:15px;padding:9px 22px}@media(max-width:560px){dialog.infrastructure-dialog{padding:20px}.infrastructure-row{gap:10px;padding:12px}.health-status{font-size:12px;padding:5px 8px}.infrastructure-copy h3{font-size:15px}.infrastructure-copy p{font-size:13px}}

/* Alternate health overview: compact service tiles with status first. */
dialog.infrastructure-dialog{width:min(880px,calc(100vw - 32px));max-width:880px;padding:30px;background:linear-gradient(145deg,#17283d,#101a2a)}
.infrastructure-dialog #details-title{font-size:26px}.health-summary{display:block;padding:14px 18px;margin:14px 0 20px;border:1px solid #38bdf82b;border-radius:12px;background:linear-gradient(100deg,#38bdf810,#818cf80a);color:#e2e8f0;font-size:18px;font-weight:500}
.infrastructure-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.infrastructure-row{display:grid;grid-template-columns:1fr;align-content:start;gap:12px;padding:18px;border-left:1px solid #ffffff12;border-top:3px solid #94a3b8;background:#ffffff03;min-height:140px}.infrastructure-row.healthy{border-left-color:#ffffff12;border-top-color:#34d399}.infrastructure-row.degraded{border-left-color:#ffffff12;border-top-color:#fbbf24}.infrastructure-row.failed{border-left-color:#ffffff12;border-top-color:#fb7185}.health-status{grid-row:1;justify-self:start;font-size:15px;padding:5px 12px}.infrastructure-copy h3{font-size:17px}.infrastructure-copy p{font-size:14px;margin-top:5px}.health-scope{margin:18px 0 14px;background:transparent;border:0;border-top:1px solid #ffffff10;border-radius:0;padding:14px 0 0}.infrastructure-dialog form .button{background:#38bdf81c;border-color:#38bdf83a;color:#bae6fd}@media(max-width:560px){dialog.infrastructure-dialog{padding:20px}.infrastructure-list{grid-template-columns:1fr}.infrastructure-row{min-height:0;padding:14px}.health-summary{font-size:16px}.health-status{font-size:14px}}

/* Quiet health list: restrained surfaces, readable status labels. */
dialog.infrastructure-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;background:#131e2d;padding:28px;border:1px solid #ffffff12;box-shadow:0 24px 80px #0005}
.infrastructure-dialog #details-title{font-size:22px;font-weight:500}.health-summary{padding:0;border:0;background:none;font-size:14px;font-weight:400;color:#94a3b8;margin:6px 0 22px}.infrastructure-list{display:block;border-top:1px solid #ffffff0d}.infrastructure-row,.infrastructure-row.healthy,.infrastructure-row.degraded,.infrastructure-row.failed{display:flex;align-items:center;justify-content:space-between;min-height:0;border:0;border-bottom:1px solid #ffffff0d;border-radius:0;background:none;padding:15px 0;gap:24px}.infrastructure-copy h3{font-size:15px;font-weight:500;color:#e2e8f0}.infrastructure-copy p{font-size:13px;color:#8c9bae;margin-top:3px}.health-status{font-size:13px;font-weight:500;padding:4px 9px;background:#34d39909;border-color:#34d3991c;color:#8bd8bb}.health-status .dot{width:6px;height:6px;animation:none;box-shadow:none}.health-status.warn{background:#fbbf2408;color:#d9be7b;border-color:#fbbf241c}.health-status.failed{background:#fb718508;color:#e4a0aa;border-color:#fb71851c}.health-status.neutral{background:#94a3b806;color:#a7b3c3;border-color:#94a3b81c}.health-scope{border:0;font-size:12px;line-height:1.55;color:#8291a5;margin:16px 0;padding:0}.infrastructure-dialog form .button{background:#ffffff04;border-color:#ffffff16;color:#cbd5e1;font-size:14px;padding:8px 20px}@media(max-width:560px){dialog.infrastructure-dialog{padding:20px}.infrastructure-row{gap:12px}.infrastructure-copy h3{font-size:14px}.health-status{font-size:12px}.infrastructure-copy p{font-size:12px}}

.health-timestamp{display:block;font-size:12px;color:#91a0b3;margin-top:7px;font-variant-numeric:tabular-nums}.infrastructure-copy{flex:1}.infrastructure-row{align-items:flex-start}.health-status{margin-top:2px}

dialog.infrastructure-dialog{color:#e2e8f0!important;background:#131e2d!important}dialog.infrastructure-dialog .badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #34d3991c;border-radius:999px;white-space:nowrap}dialog.infrastructure-dialog .dot{display:inline-block;border-radius:50%;background:currentColor}dialog.infrastructure-dialog::backdrop{background:#030812aa;backdrop-filter:blur(8px)}

/* Compact Relay registration: external styles required by CSP. */
#router-dialog[data-mode="create"]{width:min(820px,calc(100vw - 48px));max-height:90vh}#router-dialog[data-mode="create"] .relay-setup-grid,#router-dialog[data-mode="create"] .pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}#router-dialog[data-mode="create"] label{min-width:0;margin-bottom:10px}#router-dialog[data-mode="create"] input,#router-dialog[data-mode="create"] select{width:100%;min-width:0}#router-dialog[data-mode="create"] .muted{font-size:14px;line-height:1.5}#router-dialog[data-mode="create"] #router-hosting-fields{padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:14px}#router-dialog[data-mode="create"] #router-hosting-fields>label{max-width:calc(50% - 10px)}#router-dialog[data-mode="create"] .profile-actions{gap:12px}#router-dialog[data-mode="create"] textarea{min-height:64px}#router-dialog[data-mode="create"] h2{margin-bottom:18px}@media(max-width:700px){#router-dialog[data-mode="create"] .relay-setup-grid,#router-dialog[data-mode="create"] .pair{grid-template-columns:1fr}#router-dialog[data-mode="create"] #router-hosting-fields>label{max-width:none}}
#router-dialog[data-mode="create"]{max-width:820px!important;padding:24px!important}#router-dialog[data-mode="create"] [hidden]{display:none!important}#router-dialog[data-mode="create"] .router-editable-fields{min-width:0}#router-dialog[data-mode="create"] .pair>label:only-child{grid-column:1}#router-dialog[data-mode="create"] .profile-actions{position:sticky;bottom:0;padding-top:14px}

/* Relay registration sizing: uniform Safari controls, wider desktop dialog. */
#router-dialog[data-mode="create"]{width:min(1080px,calc(100vw - 48px))!important;max-width:1080px!important;padding:26px!important}
#router-dialog[data-mode="create"] input:not([type="checkbox"]):not([type="radio"]),#router-dialog[data-mode="create"] select{box-sizing:border-box;height:44px!important;min-height:44px!important;padding:10px 12px!important;font-family:inherit;font-size:16px!important;line-height:22px!important;border-radius:8px}
#router-dialog[data-mode="create"] select{-webkit-appearance:menulist;appearance:auto;padding-right:38px!important}
#router-dialog[data-mode="create"] .pair,#router-dialog[data-mode="create"] .relay-setup-grid{align-items:start;gap:14px 22px}
#router-dialog[data-mode="create"] .profile-actions{position:static;border-top:1px solid rgba(255,255,255,.12);margin-top:14px;padding-top:14px}
#router-dialog[data-mode="create"] textarea{min-height:72px;box-sizing:border-box;font-family:inherit;font-size:16px}
@media(max-width:700px){#router-dialog[data-mode="create"]{width:calc(100vw - 24px)!important;padding:18px!important}}

/* Unified Gatekeeper navigation: quiet hierarchy and consistent rhythm. */
:is(.section-nav,.bento-nav) .nav-primary{display:flex!important;flex-direction:column!important;gap:4px!important;padding:12px 10px!important}
:is(.section-nav,.bento-nav) .nav-primary>a,:is(.section-nav,.bento-nav) .nav-group a{display:flex!important;align-items:center!important;gap:12px!important;min-height:44px!important;margin:0!important;padding:10px 12px!important;border:0!important;border-left:3px solid transparent!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;font-size:15px!important;font-weight:500!important;line-height:1.45!important;color:#aebed0!important;text-decoration:none!important}
:is(.section-nav,.bento-nav) .nav-primary>a:hover,:is(.section-nav,.bento-nav) .nav-group a:hover{background:rgba(148,163,184,.07)!important;color:#edf4fc!important}
:is(.section-nav,.bento-nav) .nav-primary>a[aria-current="page"],:is(.section-nav,.bento-nav) .nav-group a[aria-current="page"]{border-left-color:#38bdf8!important;background:linear-gradient(90deg,rgba(56,189,248,.12),rgba(56,189,248,.025))!important;color:#e5f5ff!important}
:is(.section-nav,.bento-nav) .nav-group{margin:10px 0 0!important;padding:0!important;border:0!important;background:none!important;border-radius:0!important}
:is(.section-nav,.bento-nav) .nav-group>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:36px!important;margin:0!important;padding:8px 14px!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;font-size:12px!important;font-weight:600!important;letter-spacing:.08em!important;color:#8297af!important;cursor:pointer}
:is(.section-nav,.bento-nav) .nav-group>summary:hover{color:#d7e4f2!important;background:rgba(148,163,184,.04)!important}
:is(.section-nav,.bento-nav) .nav-group>div{display:flex!important;flex-direction:column!important;gap:3px!important;margin:4px 0 4px 13px!important;padding:0 0 0 5px!important;border-left:1px solid rgba(148,163,184,.12)!important}
:is(.section-nav,.bento-nav) .nav-group:not([open])>div{display:none!important}
:is(.section-nav,.bento-nav) .nav-icon{width:20px!important;height:20px!important;flex:0 0 20px!important;opacity:.85}
:is(.section-nav,.bento-nav) a:focus-visible,:is(.section-nav,.bento-nav) summary:focus-visible{outline:2px solid #38bdf8!important;outline-offset:2px!important}

/* Organization form rhythm and action separation. */
[data-page="organizations"] .heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
#organization-form{margin-top:24px;padding-top:20px;border-top:1px solid rgba(148,163,184,.15)}
#organization-form .pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:18px}
#organization-form label{display:block;margin:0 0 8px}#organization-form input{height:44px;box-sizing:border-box;width:100%}
#organization-form .profile-actions{display:flex!important;align-items:center;gap:12px!important;margin:22px 0 26px!important;padding:0!important}
#organization-form .profile-actions button,[data-page="organizations"] #organization-new{height:44px;min-height:44px;margin:0;padding:10px 18px;line-height:22px;box-sizing:border-box}
[data-page="organizations"] .table-wrap{margin-top:20px}
@media(max-width:700px){#organization-form .pair{grid-template-columns:1fr}}

#organization-services-panel{margin:24px 0;padding:20px 0;border-top:1px solid rgba(148,163,184,.15);border-bottom:1px solid rgba(148,163,184,.15)}
#organization-services-panel select{height:44px;min-height:44px;padding:10px 12px;box-sizing:border-box;font:inherit}
#organization-rows tr[tabindex]{cursor:pointer}#organization-rows tr[tabindex]:hover{background:rgba(56,189,248,.04)}#organization-rows tr[tabindex]:focus-visible{outline:2px solid #38bdf8;outline-offset:-2px}

.organization-service-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0}.organization-service-switch button{display:flex;align-items:center;gap:12px;min-width:148px;background:transparent;border:0}.organization-toggle-track{width:42px;height:24px;flex-shrink:0;background:#64748b;border-radius:99px;padding:3px;box-sizing:border-box}.organization-toggle-track>span{display:block;width:18px;height:18px;border-radius:50%;background:white;transition:transform .15s}#organization-service-toggle[aria-checked="true"] .organization-toggle-track{background:#059669}#organization-service-toggle[aria-checked="true"] .organization-toggle-track>span{transform:translateX(18px)}#organization-suspension-dialog{width:min(560px,calc(100vw - 40px))}#organization-suspension-dialog .profile-actions{margin-top:24px}#organization-suspension-error{color:#fda4af}

.organization-details-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}.organization-details-heading h3{margin:0}.organization-details-heading .badge{white-space:nowrap}

.organization-details-heading .organization-service-switch{margin-left:auto;padding:0;gap:14px}.organization-details-heading .organization-service-switch>span{color:#94a3b8;font-size:14px}.organization-details-heading{padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.08)}

#organization-top-service-control[hidden],#organization-linked-devices[hidden],#organization-edit-details[hidden]{display:none!important}#organization-linked-devices{margin-top:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}#organization-linked-devices ul{padding-left:20px;line-height:1.8;overflow-wrap:anywhere}#organization-form input:disabled,#organization-form textarea:disabled{opacity:1;color:#cbd5e1;background:transparent;border-color:transparent}#organization-edit-details{min-height:40px}

#organization-form{display:flex;flex-direction:column;gap:24px}#organization-form[hidden]{display:none!important}#organization-form>.organization-details-heading{margin:0;padding-bottom:20px}#organization-form>.pair{margin:0;gap:20px}#organization-form>label{margin:0}#organization-form>p{margin:0}#organization-services-panel{margin:0;padding:20px 0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}#organization-services-panel h3{margin:0 0 12px}#organization-services-panel p{margin:0 0 12px}#organization-services-panel p:last-child{margin-bottom:0}#organization-services-panel p:empty{display:none}#organization-linked-devices{margin:0;padding:0;border:0;display:grid;grid-template-columns:1fr;gap:12px}#organization-linked-devices h3,#organization-linked-devices ul,#organization-linked-devices p{margin:0}#organization-linked-devices h3:not(:first-child){margin-top:12px}#organization-form>.profile-actions{margin:0;gap:12px}#organization-form>.profile-actions:has(#organization-save[hidden]){padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}

#organization-edit-dialog{width:min(720px,calc(100vw - 40px));max-height:85vh;overflow:auto}#organization-edit-fields{display:flex;flex-direction:column;gap:20px}#organization-edit-fields>.pair,#organization-edit-fields>label,#organization-edit-fields>p{margin:0}#organization-edit-actions{margin-top:24px;gap:12px}#organization-edit-error{color:#fda4af}

#organization-notes,#organization-form #organization-notes:disabled{border:1px solid rgba(148,163,184,.3);border-radius:8px;padding:12px;min-height:96px}#organization-services-panel:has(#organization-services-status:empty):has(#organization-control-feedback:empty){display:none}#organization-feedback:empty{display:none}

#organization-notes,#organization-form #organization-notes:disabled{min-height:48px;height:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;resize:none;overflow-y:hidden;box-sizing:border-box}

#router-dialog[data-mode="create"] #router-owner-field{grid-column:1/-1}#router-owner-field select:disabled{opacity:.55}

/* Compact registration layout; existing Relay detail views retain their layout. */
#router-dialog[data-mode="create"]{width:min(960px,calc(100vw - 40px))!important;max-width:960px!important;max-height:90vh;padding:24px!important;overflow:auto}
#router-dialog[data-mode="create"] .router-editor-columns{display:block}
#router-dialog[data-mode="create"] .router-general-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
#router-dialog[data-mode="create"] #router-hosting-fields,#router-dialog[data-mode="create"] .relay-setup-grid,#router-dialog[data-mode="create"] .router-general-fields>.pair{display:contents}
#router-dialog[data-mode="create"] #router-owner-field{grid-column:auto}
#router-dialog[data-mode="create"] label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}
#router-dialog[data-mode="create"] #router-hosting-fields>label{max-width:none}
#router-dialog[data-mode="create"] .router-general-fields>p,#router-dialog[data-mode="create"] #router-hosting-fields>p,#router-dialog[data-mode="create"] #router-owner-field>.muted{display:none}
#router-dialog[data-mode="create"] .router-general-fields>label:has(#router-remarks){grid-column:1/-1}
#router-dialog[data-mode="create"] #router-aws-fields{grid-column:1/-1}
#router-dialog[data-mode="create"] .router-geography-fields{margin-top:20px;padding-top:18px;border-top:1px solid rgba(148,163,184,.15)}
#router-dialog[data-mode="create"] .router-geography-fields>label{max-width:calc(50% - 12px)}
#router-dialog[data-mode="create"] #router-form>.muted{display:none}
#router-dialog[data-mode="create"] #router-form-result:empty{display:none}
#router-dialog[data-mode="create"] .profile-actions{display:flex;gap:12px;margin:20px 0 0;padding-top:18px;position:static}
#router-dialog[data-mode="create"] h2{margin:0 0 20px;font-size:24px}
#router-dialog[data-mode="create"] textarea{min-height:60px;line-height:1.5}
#router-dialog[data-mode="create"] label>.muted{font-size:13px;line-height:1.4;margin:0}
@media(max-width:680px){#router-dialog[data-mode="create"]{width:calc(100vw - 24px)!important;padding:18px!important}#router-dialog[data-mode="create"] .router-general-fields{grid-template-columns:1fr;gap:16px}#router-dialog[data-mode="create"] .router-geography-fields>label{max-width:none}}

#router-dialog[data-mode="create"] #router-aws-fields:not([hidden]){display:contents}#router-dialog[data-mode="create"] #router-aws-fields>p{grid-column:1/-1;margin:0;font-size:14px;line-height:1.5}

.relay-directory-table th,.relay-directory-table td{padding:14px 12px;vertical-align:middle}.relay-directory-table td:nth-child(3){font-size:14px;min-width:100px}.relay-directory-table td:nth-child(4){white-space:nowrap}.relay-directory-table td:nth-child(6){min-width:140px}.relay-capacity-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;white-space:nowrap;line-height:1.8}.relay-capacity-line>span{color:#94a3b8;font-size:13px}.relay-capacity-line>strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.relay-directory-table td:last-child{white-space:nowrap}.relay-status-help{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:0;padding:0;margin:0 0 0 8px;border:1px solid rgba(148,163,184,.25);border-radius:50%;background:transparent;color:#94a3b8;font-size:13px}.relay-status-help:hover,.relay-status-help:focus-visible{color:#e2e8f0;border-color:#38bdf8}.relay-directory-table td:nth-child(7),.relay-directory-table td:nth-child(8){font-variant-numeric:tabular-nums}

#workspace #enrollment-generator-dialog{width:min(760px,calc(100vw - 40px));max-width:760px;max-height:85vh;padding:24px;box-sizing:border-box;overflow:auto}#workspace #enrollment-generator-dialog h2{margin:0 0 12px}#workspace #enrollment-generator-dialog>p{margin:0 0 20px;line-height:1.5}#workspace #enrollment-generator-dialog .enrollment-owner-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}#workspace #enrollment-generator-dialog .enrollment-owner-row>label{margin:0;display:flex;flex-direction:column;gap:6px;min-width:0}#workspace #enrollment-generator-dialog .enrollment-generate-row{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(190px,1.3fr) max-content;gap:16px;align-items:end;margin:20px 0}#workspace #enrollment-generator-dialog input,#workspace #enrollment-generator-dialog select,#workspace #enrollment-generator-dialog #generate-enrollment{height:44px;min-height:44px;box-sizing:border-box;font:inherit;margin:0;width:100%;padding:10px 12px}#workspace #enrollment-generator-dialog .enrollment-generate-row>label{min-width:0;margin:0;display:flex;flex-direction:column;gap:6px}#workspace #enrollment-generator-dialog #generate-enrollment{width:auto;white-space:nowrap;padding:10px 18px}#workspace #enrollment-generator-dialog .enrollment-popup-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid rgba(148,163,184,.15)}#workspace #enrollment-generator-dialog .enrollment-popup-footer form,#workspace #enrollment-generator-dialog .enrollment-popup-footer button{margin:0}@media(max-width:620px){#workspace #enrollment-generator-dialog .enrollment-owner-row,#workspace #enrollment-generator-dialog .enrollment-generate-row{grid-template-columns:1fr}#workspace #enrollment-generator-dialog #generate-enrollment{width:100%}}

#workspace #enrollment-generator-dialog [hidden]{display:none!important}#workspace #enrollment-generator-dialog #enrollment-batch-name-label{grid-column:1/-1}#workspace #enrollment-generator-dialog[data-key-mode="single"] .enrollment-generate-row{grid-template-columns:minmax(0,1fr) max-content}@media(max-width:620px){#workspace #enrollment-generator-dialog[data-key-mode="single"] .enrollment-generate-row{grid-template-columns:1fr}}

.relay-directory-table th:nth-child(7),.relay-directory-table td:nth-child(7),.relay-directory-table th:nth-child(8),.relay-directory-table td:nth-child(8){width:76px;min-width:0;max-width:76px;padding-left:8px;padding-right:8px;text-align:center}.relay-directory-table th:nth-child(7),.relay-directory-table th:nth-child(8){font-size:13px;line-height:1.35;white-space:normal;overflow-wrap:normal}.relay-directory-table td:nth-child(7),.relay-directory-table td:nth-child(8){font-size:15px;line-height:1.4}.relay-directory-table th:nth-child(2),.relay-directory-table td:nth-child(2){width:210px;min-width:180px}.relay-directory-table th:nth-child(6),.relay-directory-table td:nth-child(6){width:180px}.relay-directory-table td:nth-child(8){white-space:nowrap}

.relay-directory-table th:first-child,.relay-directory-table td.relay-row-number{width:34px;min-width:34px;max-width:34px;padding:12px 6px;text-align:center;font-variant-numeric:tabular-nums;color:#94a3b8}.relay-directory-table .relay-status-cell{white-space:normal;min-width:150px}.relay-status-cell .badge{font-size:13px;margin:3px 4px 3px 0;white-space:nowrap}.relay-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(130px,1fr));gap:14px;align-items:end}@media(max-width:1100px){.relay-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.relay-filters>label:first-child{grid-column:1/-1}}@media(max-width:650px){.relay-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

.enrollment-history-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(130px,1fr));gap:14px;align-items:end;margin:20px 0}.enrollment-history-filters label{margin:0;min-width:0}.enrollment-history-filters input,.enrollment-history-filters select{height:44px;box-sizing:border-box;width:100%;font:inherit}.enrollment-history-value{max-width:260px;overflow-wrap:anywhere}.enrollment-history-value textarea{width:100%;font-family:monospace;box-sizing:border-box}.enrollment-history-value button{margin:4px 8px 4px 0}[data-page="enrollment-key-history"] td small{display:block;overflow-wrap:anywhere;color:#94a3b8}@media(max-width:1100px){.enrollment-history-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.enrollment-history-filters>label:first-child{grid-column:1/-1}}@media(max-width:650px){.enrollment-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}

[data-page="enrollment-key-history"] table{min-width:1180px;table-layout:auto}[data-page="enrollment-key-history"] th:nth-child(7),[data-page="enrollment-key-history"] td:nth-child(7){width:110px;min-width:110px;white-space:nowrap;word-break:normal;overflow-wrap:normal}[data-page="enrollment-key-history"] th:nth-child(8),[data-page="enrollment-key-history"] td:nth-child(8){width:160px;min-width:140px;max-width:190px;white-space:normal;word-break:normal;overflow-wrap:normal}[data-page="enrollment-key-history"] .enrollment-history-value textarea{width:100%;min-width:0;min-height:72px;line-height:1.5;white-space:pre-wrap;overflow-wrap:normal;word-break:normal;resize:vertical}[data-page="enrollment-key-history"] .enrollment-history-value button{white-space:nowrap;word-break:normal;min-width:68px}[data-page="enrollment-key-history"] th:last-child{white-space:nowrap}

[data-page="enrollment-key-history"] th:nth-child(4),[data-page="enrollment-key-history"] td:nth-child(4){width:180px;min-width:150px;max-width:190px;overflow-wrap:normal;word-break:normal;white-space:normal}[data-page="enrollment-key-history"] td:nth-child(4) small{font-size:12px;line-height:1.5}

[data-page="enrollment-key-history"] th,[data-page="enrollment-key-history"] td{word-break:normal;overflow-wrap:normal}[data-page="enrollment-key-history"] td:nth-child(4) small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}[data-page="enrollment-key-history"] .enrollment-history-value{max-width:190px;word-break:normal;overflow-wrap:normal}

.appliance-summary-dialog{width:min(1180px,calc(100vw - 64px));max-width:1180px;box-sizing:border-box;padding:24px;max-height:calc(100vh - 48px);overflow:auto}.appliance-summary-dialog h2{margin:0 0 18px}.appliance-summary-dialog h3{margin:18px 0 10px}.appliance-summary-dialog .profile-summary{display:grid;grid-template-columns:160px minmax(0,1fr) 160px minmax(0,1fr);gap:0 16px;margin:0}.appliance-summary-dialog .profile-summary dt,.appliance-summary-dialog .profile-summary dd{margin:0;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.08);word-break:normal;overflow-wrap:normal;min-width:0}.appliance-summary-dialog .profile-summary dd{overflow-wrap:anywhere}.appliance-summary-dialog details{margin:12px 0}.appliance-summary-dialog textarea{width:100%;box-sizing:border-box}.enrollment-history-filters input[type=date]{color-scheme:dark}@media(max-width:850px){.appliance-summary-dialog .profile-summary{grid-template-columns:150px minmax(0,1fr)}.appliance-summary-dialog{width:calc(100vw - 32px)}}

.appliance-summary-actions{display:flex;justify-content:flex-end;gap:12px;margin:-48px 0 20px;padding-left:280px}.appliance-summary-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px}.appliance-summary-footer button{margin:0}.appliance-action-dialog{width:min(580px,calc(100vw - 40px));box-sizing:border-box;padding:24px}.appliance-action-dialog details{display:block}.appliance-action-dialog p{line-height:1.6}.appliance-action-dialog textarea{width:100%;box-sizing:border-box}.appliance-action-dialog .danger{border-color:#ef4444;color:#fca5a5}@media(max-width:650px){.appliance-summary-actions{margin:0 0 16px;padding-left:0;flex-wrap:wrap}}

.notification-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}.notification-layout h3{margin:24px 0 12px}.notification-toggle{display:flex;align-items:center;gap:12px;margin:12px 0!important;line-height:1.5;font-weight:400}.notification-toggle input{width:18px!important;height:18px!important;flex:0 0 18px;accent-color:#38bdf8}.notification-condition-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.notification-event{padding:16px;margin:12px 0;border:1px solid rgba(255,255,255,.1);border-left:3px solid #fbbf24;border-radius:10px}.notification-event.recovered{border-left-color:#34d399}.notification-event p{margin:8px 0}.notification-event small{display:block;color:#94a3b8}.notification-event button{margin-top:12px}#notification-appliance-choices{max-height:260px;overflow:auto}@media(max-width:900px){.notification-layout{grid-template-columns:1fr}}

.notification-toggle input[type=checkbox]{appearance:none;width:36px!important;height:20px!important;flex-basis:36px;background:#24364b;border:1px solid rgba(255,255,255,.18);border-radius:999px;position:relative;padding:0;cursor:pointer}.notification-toggle input[type=checkbox]::before{content:'';position:absolute;width:14px;height:14px;left:2px;top:2px;background:#94a3b8;border-radius:50%;transition:transform .15s}.notification-toggle input[type=checkbox]:checked{background:rgba(56,189,248,.25);border-color:#38bdf8}.notification-toggle input[type=checkbox]:checked::before{transform:translateX(16px);background:#38bdf8}.notification-toggle input[type=checkbox]:focus-visible{outline:2px solid #38bdf8;outline-offset:3px}

:is(.section-nav,.bento-nav) a>.nav-icon,:is(.section-nav,.bento-nav) button>.nav-icon,#logout svg{display:block;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important;flex:0 0 20px!important;stroke-width:1.7;vertical-align:middle}

.relay-service-switch{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;margin:0}.relay-service-switch input{appearance:none;width:42px;height:24px;min-height:24px;border:1px solid #53718a;border-radius:20px;background:#34485b;padding:2px;cursor:pointer}.relay-service-switch input::before{content:"";display:block;width:18px;height:18px;border-radius:50%;background:#d6e5f0;transition:transform .15s}.relay-service-switch input:checked{background:#237eaa}.relay-service-switch input:checked::before{transform:translateX(17px)}.relay-service-switch input:focus-visible{outline:2px solid #72d8ff;outline-offset:3px}.relay-service-switch input:disabled{opacity:.5;cursor:default}

/* Compact directory: intact words and addresses; technical explanations in dialog. */
[data-page="ddns-clients"] table{table-layout:auto;width:100%}
[data-page="ddns-clients"] th,[data-page="ddns-clients"] td{word-break:normal;overflow-wrap:normal}
[data-page="ddns-clients"] td:first-child{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[data-page="ddns-clients"] td:nth-child(6),[data-page="ddns-clients"] td:nth-child(7),[data-page="ddns-clients"] .badge{white-space:nowrap}
[data-page="ddns-clients"] td:nth-child(8),[data-page="ddns-clients"] td:nth-child(9){width:1%;white-space:nowrap}
.directory-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;align-items:end;margin:14px 0 20px}.directory-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0}.connected-review .directory-filters input,.connected-review .directory-filters select,.connected-review .directory-filters button{box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0;padding:0 12px;line-height:normal;font:inherit}.connected-review .directory-filters button{align-self:end}
#directory-technical-dialog{width:min(1000px,94vw);max-height:88vh;overflow:auto}
#directory-technical-fields{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,2fr);gap:12px 24px;margin:20px 0}
#directory-technical-fields dt{color:var(--muted,#94a3b8)}
#directory-technical-fields dd{margin:0;overflow-wrap:anywhere}
@media(max-width:600px){#directory-technical-fields{grid-template-columns:1fr;gap:6px}#directory-technical-fields dd{margin-bottom:12px}}

/* Content-aware Relay table: compact counts/identity, intact dates and words. */
.relay-directory-table{table-layout:auto;min-width:1180px}
.relay-directory-table th,.relay-directory-table td{word-break:normal;overflow-wrap:normal;padding:12px 10px}
.relay-directory-table th:nth-child(2),.relay-directory-table td:nth-child(2){width:170px;min-width:150px;max-width:190px}
.relay-directory-table .relay-identity-id{display:block;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.relay-directory-table th:nth-child(6),.relay-directory-table td:nth-child(6){width:150px;min-width:145px}
.relay-capacity-line{justify-content:flex-start;gap:8px;display:grid;grid-template-columns:max-content max-content;line-height:1.7}
.relay-capacity-line>strong{text-align:right}
.relay-directory-table th:nth-child(10),.relay-directory-table td:nth-child(10){width:125px;min-width:120px}
.relay-enrolled-at>span{display:block;white-space:nowrap}
.relay-directory-table th:last-child,.relay-directory-table .relay-status-cell{width:90px;min-width:90px}
.relay-status-cell .badge{display:block;width:fit-content;max-width:100%;margin:5px 0;white-space:nowrap}

/* Directory primary tools stay together; secondary filters use one native picker. */
.directory-toolbar{display:grid;grid-template-columns:minmax(240px,2fr) minmax(220px,1fr) auto;gap:14px;align-items:end;margin:20px 0}
.directory-toolbar>label{margin:0;min-width:0}
.connected-review .directory-toolbar>label input{box-sizing:border-box;width:100%;height:44px;margin:6px 0 0}
.directory-filter-picker{position:relative;margin:0;align-self:end}
.directory-filter-picker>summary{box-sizing:border-box;min-height:44px;padding:11px 18px;border:1px solid #39566e;border-radius:8px;background:#19374e;color:#e2e8f0;cursor:pointer;white-space:nowrap}
.directory-filter-picker>summary:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}
.directory-filter-picker .directory-filters{position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:min(560px,calc(100vw - 64px));box-sizing:border-box;padding:18px;margin:0;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #39566e;border-radius:10px;background:#142a3d;box-shadow:0 12px 30px #0006}
.directory-filter-picker .directory-filters button{grid-column:1/-1}
[data-page="ddns-clients"] .profile-actions[hidden]{display:none!important}
@media(max-width:750px){.directory-toolbar{grid-template-columns:minmax(0,1fr) auto}.directory-toolbar>label:first-child{grid-column:1/-1}.directory-filter-picker .directory-filters{width:min(460px,calc(100vw - 48px))}}

.directory-box-identity strong,.directory-box-identity small{display:block;line-height:1.5}
.directory-box-identity small{color:#94a3b8;margin-top:3px}
[data-page="ddns-clients"] .directory-box-identity{min-width:160px;max-width:230px;white-space:normal}
[data-page="ddns-clients"] .directory-user-count{text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap;width:1%}

/* Shared Gatekeeper navigation and lighter type hierarchy. */
.header-notification-bell{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:40px;height:40px;padding:7px;color:#b9d7e8;border:1px solid #ffffff18;border-radius:9px;text-decoration:none}
.header-notification-bell .notification-nav-count{font-size:11px;font-weight:500;color:#7dd3fc}
:is(.section-nav,.bento-nav) .nav-primary>a,:is(.section-nav,.bento-nav) .nav-group a{font-size:14px!important;font-weight:400!important;padding:9px 8px!important;gap:10px!important;line-height:1.4!important}
:is(.section-nav,.bento-nav) .nav-group>summary{font-weight:500!important;font-size:11px!important}
:is(.section-nav,.bento-nav) .nav-group>div{margin-left:4px!important;padding-left:4px!important}
:is(.section-nav,.bento-nav) .nav-bottom{padding:12px 10px;border-top:1px solid #ffffff12;flex-shrink:0}
:is(.section-nav,.bento-nav) .nav-bottom button{width:100%;min-height:42px;padding:9px 14px;border:1px solid #ffffff25;border-radius:8px;background:transparent;color:#cbd5e1;font-weight:400;font-size:14px}

.connected-review{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:400}
.connected-review #workspace :is(h1,h2,h3){font-weight:500}
.connected-review #workspace :is(label,button,th){font-weight:400}
.connected-review #workspace strong{font-weight:500}
.connected-review .notification-layout{grid-template-columns:minmax(0,1fr);max-width:1000px}
.online-user-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:14px;align-items:end}
.online-user-filters label{margin:0;min-width:0}.connected-review .online-user-filters :is(input,select,button){height:44px;box-sizing:border-box;margin-bottom:0}
.online-user-filters button{align-self:end;margin:0}
@media(min-width:851px){.connected-review .section-nav{width:272px}.connected-review:has(#workspace:not([hidden])) main{margin-left:272px}.connected-review:has(#workspace:not([hidden])) footer{margin-left:272px}}
@media(max-width:700px){.online-user-filters{grid-template-columns:1fr}.online-user-filters button{justify-self:start}}

/* Unread alert count is a badge, separate from the bell icon. */
.header-notification-bell .notification-nav-count:not(:empty){display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:21px;padding:0 6px;border-radius:999px;background:#fbbf2422;border:1px solid #fbbf2470;color:#fde68a;font-size:11px;font-weight:500;line-height:1;white-space:nowrap}

.notification-inbox-toolbar,.notification-inbox-pager{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.notification-inbox-toolbar label{display:flex;align-items:center;gap:8px;margin:0}.notification-inbox-toolbar select{width:auto;min-width:130px}.notification-table-wrap{overflow-x:auto}.notification-compact-table{width:100%;border-collapse:collapse}.notification-compact-table th,.notification-compact-table td{padding:9px 12px;vertical-align:middle;font-size:14px}.notification-compact-table th:first-child,.notification-compact-table td:first-child{width:40px}.notification-compact-table input[type=checkbox]{width:17px;height:17px;margin:0}.notification-compact-table td:nth-child(4){white-space:nowrap;font-size:12px;color:var(--muted)}.notification-compact-table td:last-child{width:80px}.notification-kind{display:inline-block;padding:3px 8px;border-radius:999px;font-size:12px;white-space:nowrap}.notification-kind.recovered{color:#6ee7b7;background:#10b98118}.notification-kind.attention{color:#fcd34d;background:#fbbf2418}.notification-kind.test{color:#cbd5e1;background:#94a3b818}.notification-inbox-pager{justify-content:flex-end}#notification-inbox-page{color:var(--muted);font-size:13px}

.online-user-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(180px,1fr) auto;align-items:end;gap:12px}.online-user-filters button{align-self:end}@media(max-width:900px){.online-user-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.online-user-filters{grid-template-columns:1fr}}

.directory-box-id{font-size:11px;opacity:.7;white-space:nowrap}.directory-box-identity{min-width:150px;max-width:240px}

/* Keep notification actions readable; generic table rules must not squeeze controls. */
.connected-review #workspace .notification-compact-table{table-layout:auto;min-width:640px;width:100%}
.connected-review #workspace .notification-compact-table th,.connected-review #workspace .notification-compact-table td{padding:8px 12px;vertical-align:middle}
.connected-review #workspace .notification-compact-table th:first-child,.connected-review #workspace .notification-compact-table td:first-child{width:44px;min-width:44px;white-space:nowrap}
.connected-review #workspace .notification-compact-table th:nth-child(2),.connected-review #workspace .notification-compact-table td:nth-child(2){width:1%;white-space:nowrap}
.connected-review #workspace .notification-compact-table th:nth-child(4),.connected-review #workspace .notification-compact-table td:nth-child(4){width:1%;white-space:nowrap}
.connected-review #workspace .notification-compact-table th:last-child,.connected-review #workspace .notification-compact-table td:last-child{width:104px;min-width:104px;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.connected-review #workspace .notification-compact-table td:last-child button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:76px;margin:0;padding:7px 12px;line-height:1.3;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.connected-review #workspace .notification-compact-table td:nth-child(3){overflow-wrap:anywhere}

/* Relay table: compact metrics, with room for the Admin Mobile count. */
.relay-directory-table th:nth-child(6),.relay-directory-table td:nth-child(6),.relay-directory-table th:nth-child(7),.relay-directory-table td:nth-child(7),.relay-directory-table th:nth-child(8),.relay-directory-table td:nth-child(8){width:108px;min-width:92px;max-width:132px;padding-left:8px;padding-right:8px;text-align:center}
.relay-directory-table th:nth-child(6),.relay-directory-table th:nth-child(7),.relay-directory-table th:nth-child(8){font-size:13px;line-height:1.35;white-space:normal;overflow-wrap:normal}
.relay-directory-table td:nth-child(6),.relay-directory-table td:nth-child(7),.relay-directory-table td:nth-child(8){font-size:15px;line-height:1.4}
.relay-directory-table td:nth-child(6){min-width:92px;width:108px}

.directory-status-stack{min-width:180px}.directory-status-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 0}.directory-status-item+.directory-status-item{border-top:1px solid var(--border,#26384b);margin-top:3px;padding-top:6px}.directory-status-stack .badge{white-space:nowrap}

.gmail-test-connection{display:flex;justify-content:space-between;align-items:center;gap:1.25rem;padding:1rem;border:1px solid var(--line,#29415a);border-radius:12px;background:rgba(8,24,39,.4)}
.gmail-test-connection .profile-actions{display:flex;gap:.65rem;flex-wrap:wrap;justify-content:flex-end}
.gmail-test-intro #gmail-test-feedback{min-height:1.25em}
@media(max-width:760px){.gmail-test-connection{align-items:stretch;flex-direction:column}.gmail-test-connection .profile-actions{justify-content:flex-start}}

/* Keep the public address readable without wrapping in the Relay directory. */
.relay-directory-table th:nth-child(3),.relay-directory-table td:nth-child(3){width:160px;min-width:160px;white-space:nowrap}
.relay-directory-table td:nth-child(5)>span{display:block;white-space:nowrap}
