/* Only unavailable labels dim; transport LEDs and access icons retain their colors. */
.transport .capability-unavailable{color:#a1aaa6}
#mode-menu button[aria-disabled=true]{color:#a1aaa6;background:#202925;cursor:help;transform:none}
#mode-menu button[aria-disabled=true] small{display:inline-block;margin:0 7px;font:9px system-ui;color:#a1aaa6}
#mode-menu button[aria-disabled=true] .mode-lock{color:#cabb88;opacity:1}
.setup-guide{font-size:12px;padding:10px;border:1px solid #d9f79933;border-radius:10px;color:#d9f799}


.source-journey{padding:11px 12px;margin-bottom:12px;border:1px solid #c1dc9b66;border-radius:10px;background:#202925d9}
.source-journey-heading{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:#e3f1cc}
.source-journey-heading span{font-size:10px;color:#a9b8ad}.source-journey-actions{display:flex;gap:8px;margin-top:9px;flex-wrap:wrap}
.decoder-panel .source-journey-actions button{min-height:38px;padding:8px 13px;font-size:12px}
.decoder-panel #connect-my-radio{background:#c1dc9b;color:#101715;font-weight:650}
.source-journey>p{font-size:10px;color:#b6c6b7;margin:8px 0 0}
#radio-connect-panel{margin-top:10px;border-top:1px solid #c1dc9b33;padding-top:8px;max-height:48vh;overflow:auto}
#radio-connect-panel label{display:block;max-width:none;margin:10px 0;font-size:12px}
#radio-connect-panel label input,#radio-connect-panel label select{width:100%;margin-top:5px}
#radio-connect-panel .checkline{display:flex}#radio-connect-panel .checkline input{width:auto}
#radio-connect-panel p,#radio-connect-panel small{font-size:11px}
/* Expanded hardware setup participates in page flow instead of overflowing the console. */
.decoder-panel:has(#radio-connect-panel:not([hidden])) .decoder-content{height:auto;min-height:0}
.decoder-panel:has(#radio-connect-panel:not([hidden])) #transcript{height:180px;flex:none;min-height:150px}
/* Hardware setup uses the page's scroll; inputs are not trapped in a small inner window. */
#radio-connect-panel{max-height:none;overflow:visible}
/* The live receive action remains legible inside the decoder's control palette. */
.decoder-panel #start-receive{background:#c1dc9b;color:#101715;font-weight:650;min-height:36px}

/* Setup groups follow the same calm instrument style as the operating page. */
.setup-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.setup-dialog-heading h2{margin:0 auto 0 0;color:#d5ad73;font-size:20px}
.setup-companion,.setup-mesh-entry{padding:16px;margin:12px 0 20px;background:#ffffff05;border:1px solid #c4a66a26;border-radius:12px}
.setup-companion h3,.setup-mesh-entry h3{margin:0 0 8px;font-size:17px;color:var(--ink)}
.setup-companion p{font-size:14px;line-height:1.5;margin:8px 0 12px}
.setup-companion input{width:100%;box-sizing:border-box}
.setup-companion>button{margin:8px 8px 0 0}.setup-companion>a{display:inline-block;margin:8px 0}
.setup-mesh-entry{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.setup-mesh-entry h3{margin:0 auto 0 0}.setup-mesh-entry a{font-size:14px}
.setup-saved{border-top:1px solid #c4a66a26;padding-top:12px}.setup-saved summary{font-weight:600;cursor:pointer}.setup-saved input,.setup-saved select{margin:12px 8px 8px 0;max-width:100%}
.station-setup-dialog .setup-save-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #c4a66a26;padding-top:16px;margin-top:24px}.station-setup-dialog .setup-save-actions span{font-size:13px}
.station-setup-dialog>button{margin-top:12px}.station-setup-dialog [role=tabpanel] a{color:inherit;text-underline-offset:3px}

.setup-companion{padding:14px}.setup-companion details{margin:8px 0!important;padding:2px 0!important}.setup-companion #companion-status{margin:6px 0;font-size:13px}.setup-pair-row{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.setup-pair-row label{flex:1;min-width:160px;margin:0!important}.setup-pair-row button{flex:none;margin:0}.setup-pair-row input{min-height:44px}.setup-companion>details:last-child{font-size:13px}.setup-companion #adapter-status{font-size:13px}
/* Keep the heading fixed and center the launcher in the remaining card body.
   Split the existing 14px bottom inset above/below the button, not added height. */
.station-column>.panel:has(>#station-title){display:grid;grid-template-rows:auto 1fr;padding-block-end:0}
.station-column>.panel:has(>#station-title)>button[aria-haspopup=dialog]{place-self:center;margin:7px auto}
