.relationship-menu{width:100%;min-width:0}.relationship-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:12px;padding:11px 12px;color:inherit;font-size:inherit}.relationship-menu summary::-webkit-details-marker{display:none}.relationship-menu summary::after{content:'›';margin-left:auto;transition:transform .15s}.relationship-menu[open] summary::after{transform:rotate(90deg)}.relationship-menu .nav-item{padding-left:30px!important;min-height:34px!important;width:100%}.relationship-menu .nav-item span{overflow-wrap:anywhere}.rel-metrics{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))!important;gap:8px!important;margin-bottom:14px}.rel-metrics .metric{min-height:65px;padding:10px}.rel-metrics .metric strong{font-size:21px}.rel-metrics .metric span{font-size:11px}.rel-metrics [aria-pressed=true]{border-color:var(--ws-accent);background:var(--ws-soft)}.rel-row{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--ws-border);padding:12px 9px;gap:4px;color:var(--ink);border-radius:7px;overflow-wrap:anywhere;cursor:pointer}.rel-row:hover,.rel-row.rel-selected{background:var(--ws-soft);color:var(--ws-ink)}.rel-row.rel-selected{box-shadow:inset 3px 0 var(--ws-accent)}.rel-row strong{font-size:13px}.rel-row small,.rel-row span{font-size:11px;color:var(--muted)}.rel-row .pill{color:inherit}.rel-filters{display:grid;gap:7px;margin-bottom:9px}.rel-filters input{width:100%;min-width:0}.rel-panel{padding:18px;min-width:0;overflow-wrap:anywhere}.rel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding-bottom:14px}.rel-head h2{margin:0;font-size:22px}.rel-form{min-width:0}.rel-form fieldset{border:1px solid var(--ws-border);border-radius:8px;padding:12px;min-width:0}.rel-form fieldset[hidden]{display:none!important}.rel-form input,.rel-form select,.rel-form textarea{min-width:0;max-width:100%}.rel-choice{display:block;margin:4px 0;white-space:normal;text-align:left}.rel-check{display:flex!important;align-items:center;gap:7px;margin:12px 0}.rel-check input{width:auto!important;flex:none}.rel-form [role=alert]{color:var(--red,#b84a42)}.rel-layout .btn.primary,.rel-form .btn.primary{background:var(--ws-accent)!important;border-color:var(--ws-accent)!important;color:#fff!important}:root[data-theme=dark] .rel-layout .btn.primary,:root[data-theme=dark] .rel-form .btn.primary{color:var(--accent-on)!important}.rel-panel .ws-data{margin-bottom:15px}.rel-panel .ws-pre{white-space:pre-wrap}.ws-inline .rel-row{margin-bottom:4px}@media(max-width:850px){.rel-panel{padding:12px}.rel-head h2{font-size:18px}.rel-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rel-layout.ws-selected .ws-detail{display:block}.rel-layout.ws-selected .ws-list{display:none}#main:has(.rel-layout.ws-selected)>.rel-metrics{display:none}.rel-form .form-grid{grid-template-columns:1fr!important}.rel-panel .ws-data{grid-template-columns:1fr}.rel-head [data-rel-action=expand]{display:none}}

[data-rel-legacy]{display:none!important}

.rel-queue-mode [data-rel-queue] .rel-row{padding:14px 12px;gap:6px}.rel-queue-mode [data-rel-queue] .rel-row strong{font-size:15px}.rel-form [data-rel-quick]{margin-top:10px}.rel-form [data-rel-quick] label{margin:8px 0}.rel-form [data-rel-quick] button{margin:6px 5px 0 0}
@media(max-width:850px){.rel-layout.rel-queue-mode{display:flex;flex-direction:column;gap:12px}.rel-layout.rel-queue-mode .ws-detail{display:block;width:100%;order:-1;min-height:0}.rel-layout.rel-queue-mode .ws-list{width:100%}.rel-layout.rel-queue-mode .rel-panel{padding:12px}}

.rel-delete{color:#c04040!important;}

.rel-confirm h2{margin:0 0 14px}.rel-confirm .modal-footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.rel-confirm [role=alert]{color:var(--red)}
