/* v4.3.0 Control Room upgrade. Scoped, no changes to other pages or plugin UI. */
.cm430-station .cm330-heading {margin-bottom:18px}
.cm430-status-strip {display:flex;gap:9px;flex-wrap:wrap;margin:0 0 14px}
.cm430-status-strip>span {display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;border:1px solid #4c7086;background:#ffffff0a;color:#d8ecfa;border-radius:99px;font-size:.73rem;font-weight:750;letter-spacing:.015em;line-height:1.45}
.cm430-status-strip>span:first-child {color:#ffcb78;border-color:#a8844f}
.cm430-quicklinks {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 22px}
.cm430-quicklinks a {display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:50px;padding:12px 15px;border:1px solid #506e87;border-radius:11px;background:#ffffff0b;color:#f7edda!important;text-decoration:none!important;font-size:.83rem;font-weight:800;line-height:1.35}
.cm430-quicklinks a span {color:#ffcb77}
.cm430-quicklinks a:hover,.cm430-quicklinks a:focus-visible {border-color:#e4b267;background:#fff2;outline-offset:2px}
.cm430-channel-control {display:flex;align-items:center;flex-wrap:wrap;gap:9px 13px;margin:4px 0 0}
.cm430-channel-control label {font-size:.81rem;font-weight:800;color:#dae8f7}
.cm430-channel-control select {flex:1 1 205px;max-width:100%;min-width:0;min-height:43px;border:1px solid #6b859c;border-radius:9px;padding:9px 30px 9px 12px;background:#102b42;color:#fff;font-weight:700;font-size:.88rem;line-height:1.4;font-family:inherit;color-scheme:dark}
.cm430-channel-control select:focus-visible {outline:3px solid #ffbd62;outline-offset:2px}
.cm430-station .cm160-selector {display:flex;flex-wrap:wrap;gap:7px}
.cm430-station .cm160-channel-button {min-width:62px;flex:1 0 auto}
html[data-cm-theme="light"] .cm430-status-strip>span {color:#25445e;border-color:#afc6d6;background:#ffffffb5}
html[data-cm-theme="light"] .cm430-status-strip>span:first-child {color:#785014;border-color:#c5ad88}
html[data-cm-theme="light"] .cm430-quicklinks a {background:#fff;color:#23465b!important;border-color:#b5cbd9}
html[data-cm-theme="light"] .cm430-quicklinks a span {color:#835313}
html[data-cm-theme="light"] .cm430-channel-control label {color:#2c5069}
html[data-cm-theme="light"] .cm430-channel-control select {background:#f7fbff;border-color:#89a5b8;color:#1b344a;color-scheme:light}
@media(max-width:1000px){.cm430-quicklinks {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.cm430-station .cm330-heading {margin-bottom:13px}.cm430-status-strip>span {font-size:.69rem;min-height:32px}.cm430-quicklinks{gap:8px}.cm430-quicklinks a{font-size:.73rem;min-height:45px;padding:10px}.cm430-channel-control{align-items:stretch;flex-direction:column}.cm430-channel-control select{width:100%;flex:auto}.cm430-station .cm160-channel-button{min-width:calc(50% - 4px)}}
@media(max-width:340px){.cm430-quicklinks{grid-template-columns:minmax(0,1fr)}.cm430-quicklinks a{min-height:40px}}
@media(prefers-reduced-motion:reduce){.cm430-quicklinks a{transition:none!important}}

/* Prevent a sparse one- or two-module station from leaving a blank desktop column. */
@media(min-width:1001px){
 .cm430-station[data-panel-count="1"] .cm330-card{grid-column:1/-1}
 .cm430-station[data-panel-count="2"] .cm330-card[data-module="channel"]{grid-column:span 7}
 .cm430-station[data-panel-count="2"] .cm330-card:not([data-module="channel"]){grid-column:span 5}
}
