/* Streamcio 1.7.4 · stany modułów i szybkie przełączniki */
.owner-exact-modules-content-v151 {
    gap: 4px;
}

.owner-exact-module-row-v174 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.owner-exact-module-row-v174 .owner-exact-module-link-v151 {
    min-width: 0;
}

.owner-exact-module-row-v174 .owner-exact-module-link-v151 small {
    margin-left: auto;
    color: #ffbe45;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.owner-exact-module-row-v174.is-api-error .owner-exact-module-link-v151 small {
    color: #ff6b7d;
}

.sidebar-module-toggle-v174 {
    margin: 0;
    line-height: 0;
}

.sidebar-switch-v174 {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 19px;
    cursor: pointer;
}

.sidebar-switch-v174 input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.sidebar-switch-v174 span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(141, 156, 190, .26);
    border-radius: 999px;
    background: #101522;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55);
    transition: background .18s ease, border-color .18s ease;
}

.sidebar-switch-v174 span::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #f7f9ff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .55);
    transition: transform .18s ease;
}

.sidebar-switch-v174 input:checked + span {
    border-color: rgba(132, 222, 62, .78);
    background: linear-gradient(90deg, #5a9e21, #8bd83a);
    box-shadow: 0 0 10px rgba(127, 211, 54, .30), inset 0 1px 2px rgba(255, 255, 255, .18);
}

.sidebar-switch-v174 input:checked + span::after {
    transform: translateX(15px);
}

.sidebar-switch-v174 input:focus-visible + span {
    outline: 2px solid #9a72ff;
    outline-offset: 2px;
}

.module-page-stage-v174 {
    position: relative;
    min-height: calc(100vh - 88px);
    isolation: isolate;
}

.module-state-veil-v174 {
    position: absolute;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    background-color: rgba(12, 15, 22, .975);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='230' height='165' viewBox='0 0 230 165'%3E%3Ctext x='20' y='88' fill='%23826700' fill-opacity='.72' font-family='Arial,sans-serif' font-size='22' transform='rotate(42 20 88)'%3EWYŁĄCZONE%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

.module-state-veil-v174.is-api-error {
    background-color: rgba(20, 12, 17, .975);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='170' viewBox='0 0 250 170'%3E%3Ctext x='16' y='92' fill='%23b73b50' fill-opacity='.74' font-family='Arial,sans-serif' font-size='21' font-weight='700' transform='rotate(39 16 92)'%3EAWARIA API%3C/text%3E%3C/svg%3E");
}

.module-state-veil-card-v174 {
    max-width: min(520px, calc(100% - 40px));
    padding: 18px 22px;
    border: 1px solid rgba(255, 190, 69, .38);
    border-radius: 14px;
    background: rgba(13, 17, 27, .93);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .46);
    text-align: center;
}

.module-state-veil-v174.is-api-error .module-state-veil-card-v174 {
    border-color: rgba(255, 86, 112, .48);
}

.module-state-veil-card-v174 strong {
    display: block;
    color: #fff;
    font-size: clamp(20px, 2vw, 28px);
}

.module-state-veil-card-v174 p {
    margin: 8px 0 0;
    color: #b9c3da;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .owner-exact-module-row-v174 { gap: 5px; }
    .sidebar-switch-v174 { width: 31px; height: 18px; }
    .sidebar-switch-v174 input:checked + span::after { transform: translateX(12px); }
    .module-page-stage-v174 { min-height: calc(100vh - 72px); }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-switch-v174 span,
    .sidebar-switch-v174 span::after { transition: none; }
}

/* Streamcio 1.7.4 · Owner source health */
.owner-source-health-v174 {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(126, 143, 179, .20);
    border-radius: 12px;
    background: rgba(8, 13, 25, .50);
}
.owner-source-health-v174 header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.owner-source-health-v174 header small { margin-left: auto; color: #9ca9c4; }
.owner-source-health-dot-v174 {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #78839b;
    box-shadow: 0 0 9px rgba(120, 131, 155, .35);
}
.owner-source-health-v174.is-ok .owner-source-health-dot-v174 { background: #35df88; box-shadow: 0 0 10px rgba(53, 223, 136, .48); }
.owner-source-health-v174.is-degraded .owner-source-health-dot-v174 { background: #ffc34d; box-shadow: 0 0 10px rgba(255, 195, 77, .45); }
.owner-source-health-v174.is-api_error .owner-source-health-dot-v174 { background: #ff6177; box-shadow: 0 0 10px rgba(255, 97, 119, .50); }
.owner-source-health-v174 dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 12px;
    margin: 0;
}
.owner-source-health-v174 dl div { min-width: 0; }
.owner-source-health-v174 dt { color: #8795b2; font-size: 11px; }
.owner-source-health-v174 dd { margin: 2px 0 0; color: #edf2ff; font-size: 12px; overflow-wrap: anywhere; }
.owner-source-health-v174 > p { margin: 10px 0 0; color: #aebad2; font-size: 12px; }
@media (max-width: 720px) {
    .owner-source-health-v174 dl { grid-template-columns: 1fr; }
    .owner-source-health-v174 header { align-items: flex-start; flex-wrap: wrap; }
    .owner-source-health-v174 header small { width: 100%; margin-left: 17px; }
}
