/* /Pages/LiveProfiles.razor.rz.scp.css */
/* Profile setup is a bounded form, not a full-width monitoring workspace.
   Grids own their gaps; scoped label resets avoid the shared panel margins
   adding a second, uneven layer of spacing between routing controls. */
.live-profiles[b-khbvsyr565] {
    display: grid;
    gap: 1.25rem;
    max-width: 1480px;
    min-width: 0;
    margin: 0 auto;
}

.live-profiles__heading[b-khbvsyr565],
.live-profiles__section-heading[b-khbvsyr565] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.live-profiles__heading h1[b-khbvsyr565] {
    margin: 0;
}

.live-profiles__heading .muted[b-khbvsyr565] {
    max-width: 70ch;
    margin: .5rem 0 0;
}

.live-profiles__heading > .btn[b-khbvsyr565] {
    flex: 0 0 auto;
    margin-top: .25rem;
    text-decoration: none;
}

.live-profiles .live-profiles__editor[b-khbvsyr565],
.live-profiles .live-profiles__accounts[b-khbvsyr565],
.live-profiles .live-profiles__import[b-khbvsyr565] {
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 14px;
}

.live-profiles .live-profiles__section-heading h2[b-khbvsyr565] {
    margin-bottom: .35rem;
    font-size: 1.25rem;
}

.live-profiles__section-heading p[b-khbvsyr565] {
    max-width: 86ch;
    margin: 0;
}

.live-profiles__badge[b-khbvsyr565],
.live-profiles__connection-state[b-khbvsyr565] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: #eef3f0;
    color: #52665c;
    font-size: .8rem;
    font-weight: 650;
}

.live-profiles__selector[b-khbvsyr565] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.15rem 0 1.4rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e5ebe7;
}

.live-profiles__profile-button.is-selected[b-khbvsyr565] {
    border-color: #13795b;
    background: #eaf6ef;
    color: #0f654c;
    box-shadow: inset 0 0 0 1px #13795b;
}

.live-profiles .live-profiles__fields[b-khbvsyr565] {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.live-profiles .live-profiles__fields label[b-khbvsyr565] {
    min-width: 0;
    margin-bottom: 0;
}

.live-profiles__basics[b-khbvsyr565] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 1.25rem;
    align-items: start;
}

.live-profiles__input-row[b-khbvsyr565],
.live-profiles__youtube-row[b-khbvsyr565] {
    min-width: 0;
}

.live-profiles__subsection[b-khbvsyr565] {
    min-width: 0;
    padding-top: 1.25rem;
    border-top: 1px solid #e5ebe7;
}

.live-profiles h3[b-khbvsyr565] {
    margin: 0 0 .5rem;
    color: #22302c;
    font-size: 1rem;
    font-weight: 700;
}

.live-profiles__subsection > p[b-khbvsyr565] {
    margin: 0 0 .85rem;
}

.live-profiles__routing[b-khbvsyr565] {
    display: grid;
    gap: .75rem;
}

.live-profiles__platform[b-khbvsyr565] {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 1fr);
    gap: .9rem;
    align-items: center;
    min-width: 0;
    padding: .9rem 1rem;
    border: 1px solid #e0e8e3;
    border-radius: 10px;
    background: #f8faf9;
}

.live-profiles__platform h4[b-khbvsyr565] {
    margin: 1rem 0 0;
    color: #245242;
    font-size: 1rem;
    font-weight: 700;
}

.live-profiles input[b-khbvsyr565],
.live-profiles select[b-khbvsyr565] {
    min-width: 0;
    max-width: 100%;
}

.live-profiles .btn[b-khbvsyr565] {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.live-profiles__youtube-row[b-khbvsyr565] {
    max-width: 65rem;
}

.live-profiles__stream-state[b-khbvsyr565] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .75rem;
    margin: .85rem 0 0;
    font-size: .875rem;
}

.live-profiles__stream-state > span[b-khbvsyr565] {
    color: #5f6d68;
}

.live-profiles code[b-khbvsyr565] {
    color: #245242;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.live-profiles__save-row[b-khbvsyr565] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5ebe7;
}

.live-profiles__save-row .btn[b-khbvsyr565] {
    flex: 0 0 auto;
}

.live-profiles__save-row p[b-khbvsyr565] {
    max-width: 80ch;
    margin: 0;
    font-size: .875rem;
}

.live-profiles__note[b-khbvsyr565] {
    margin-top: 1rem;
    font-size: .875rem;
}

.live-profiles__note summary[b-khbvsyr565] {
    width: fit-content;
    color: #39604e;
    cursor: pointer;
}

.live-profiles__note p[b-khbvsyr565] {
    max-width: 100ch;
    margin: .6rem 0 0;
}

.live-profiles__accounts-layout[b-khbvsyr565] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr);
    gap: 1rem;
    margin-top: 1.15rem;
    align-items: start;
}

.live-profiles__account-grid[b-khbvsyr565] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-width: 0;
}

.live-profiles__account[b-khbvsyr565],
.live-profiles__new-connection[b-khbvsyr565] {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #e0e8e3;
    border-radius: 10px;
}

.live-profiles__account[b-khbvsyr565] {
    display: grid;
    align-content: start;
    gap: .9rem;
    height: 100%;
    box-sizing: border-box;
}

.live-profiles__account > .btn[b-khbvsyr565] {
    justify-self: start;
}

.live-profiles__account-heading[b-khbvsyr565] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: .5rem .75rem;
}

.live-profiles__account-heading > div[b-khbvsyr565] {
    flex: 1 1 10rem;
    min-width: 0;
}

.live-profiles__account-heading h3[b-khbvsyr565] {
    overflow-wrap: anywhere;
}

.live-profiles__account-heading p[b-khbvsyr565] {
    margin: 0;
    font-size: .875rem;
    overflow-wrap: anywhere;
}

.live-profiles__connection-state.is-connected[b-khbvsyr565] {
    background: #e2f5ea;
    color: #17603e;
}

.live-profiles .live-profiles__upload label[b-khbvsyr565] {
    margin-bottom: .4rem;
    font-size: .875rem;
}

.live-profiles__upload[b-khbvsyr565] {
    min-width: 0;
    padding-top: .85rem;
    border-top: 1px solid #e5ebe7;
}

.live-profiles__upload small[b-khbvsyr565] {
    display: block;
    margin-top: .5rem;
    line-height: 1.5;
}

/* InputFile renders its own element, so CSS isolation needs an explicit
   descendant bridge. Keep the native chooser visible and keyboard accessible. */
.live-profiles__upload[b-khbvsyr565]  input[type="file"] {
    display: block;
    min-width: 0;
    max-width: 100%;
    padding: .35rem;
    font-size: .8rem;
}

.live-profiles__upload[b-khbvsyr565]  input[type="file"]::file-selector-button {
    margin-right: .5rem;
    padding: .35rem .5rem;
    border: 1px solid #afc2b7;
    border-radius: 5px;
    background: #f2f7f4;
    color: #245242;
    cursor: pointer;
}

.live-profiles__new-connection[b-khbvsyr565] {
    background: #f8faf9;
}

.live-profiles__new-connection .live-profiles__fields[b-khbvsyr565] {
    gap: .85rem;
}

.live-profiles__new-connection p[b-khbvsyr565] {
    margin: 0;
    font-size: .875rem;
}

.live-profiles__pairing[b-khbvsyr565] {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #c8ddd1;
    border-radius: 10px;
    background: #f1f8f4;
}

.live-profiles__pairing p[b-khbvsyr565] {
    margin: .5rem 0;
}

.live-profiles__empty[b-khbvsyr565] {
    grid-column: 1 / -1;
    margin: 0;
    padding: 1.25rem;
    border: 1px dashed #ccd9d1;
    border-radius: 10px;
}

.live-profiles__import-grid[b-khbvsyr565] {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.15rem;
}

.live-profiles__import-choices[b-khbvsyr565] {
    display: grid;
    gap: .75rem;
}

.live-profiles__import-action[b-khbvsyr565] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1rem;
    margin-top: 1.25rem;
}

.live-profiles__message[b-khbvsyr565] {
    margin: 0;
    overflow-wrap: anywhere;
}

.live-profiles :is(button, a, input, select, summary):focus-visible[b-khbvsyr565],
.live-profiles__upload[b-khbvsyr565]  input[type="file"]:focus-visible {
    outline: 3px solid #5d9e83;
    outline-offset: 3px;
}

.live-profiles .live-profiles__fields :is(input, select):disabled[b-khbvsyr565],
.live-profiles__upload[b-khbvsyr565]  input[type="file"]:disabled {
    background: #f0f3f1;
    color: #6b7771;
    cursor: not-allowed;
}

@media (max-width: 1050px) {
    .live-profiles__basics[b-khbvsyr565],
    .live-profiles__accounts-layout[b-khbvsyr565] {
        grid-template-columns: minmax(0, 1fr);
    }

    .live-profiles__new-connection .live-profiles__fields[b-khbvsyr565] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .live-profiles__new-connection :is(legend, p, button)[b-khbvsyr565] {
        grid-column: 1 / -1;
    }

    .live-profiles__new-connection button[b-khbvsyr565] {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .live-profiles__heading[b-khbvsyr565],
    .live-profiles__section-heading[b-khbvsyr565],
    .live-profiles__save-row[b-khbvsyr565] {
        flex-direction: column;
        align-items: stretch;
    }

    .live-profiles__heading > .btn[b-khbvsyr565],
    .live-profiles__section-heading > .live-profiles__badge[b-khbvsyr565] {
        align-self: flex-start;
    }

    .live-profiles__platform[b-khbvsyr565],
    .live-profiles__account-grid[b-khbvsyr565],
    .live-profiles__import-grid[b-khbvsyr565],
    .live-profiles__new-connection .live-profiles__fields[b-khbvsyr565],
    .live-profiles__input-row[b-khbvsyr565],
    .live-profiles__youtube-row[b-khbvsyr565] {
        grid-template-columns: minmax(0, 1fr);
    }

    .live-profiles__platform h4[b-khbvsyr565] {
        margin: 0;
    }

    .live-profiles__platform[b-khbvsyr565] {
        padding: .85rem;
    }

    .live-profiles__input-row > .btn[b-khbvsyr565],
    .live-profiles__youtube-row > .btn[b-khbvsyr565] {
        justify-self: stretch;
    }
}

.live-profiles__import-lookup[b-khbvsyr565] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1rem;
}

.live-profiles__import-preview[b-khbvsyr565] {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #c8ddd1;
    border-radius: 10px;
    background: #f1f8f4;
    overflow-wrap: anywhere;
}

.live-profiles__import-preview dl[b-khbvsyr565] {
    display: grid;
    gap: .5rem;
    margin: .75rem 0;
}

.live-profiles__import-preview dl > div[b-khbvsyr565] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
}

.live-profiles__import-preview dt[b-khbvsyr565] {
    flex: 0 0 9rem;
    font-weight: 650;
}

.live-profiles__import-preview dd[b-khbvsyr565] {
    min-width: 0;
    margin: 0;
}

.live-profiles__import-preview p[b-khbvsyr565] {
    margin: .75rem 0 0;
}

.live-profiles__import-warning[b-khbvsyr565] {
    color: #704514;
    font-weight: 600;
}

.live-profiles__import-feedback[b-khbvsyr565] {
    margin: 1rem 0 0;
    overflow-wrap: anywhere;
}

.live-profiles__link-field[b-khbvsyr565] {
    display: grid;
    align-content: start;
    gap: .35rem;
    min-width: 0;
}
/* /Pages/Privacy.razor.rz.scp.css */
.privacy-page[b-t890aex8ql] {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 6vw, 5rem);
}

.privacy-card[b-t890aex8ql] {
    display: grid;
    gap: 1.6rem;
    padding: clamp(1.15rem, 4vw, 3rem);
    border: 1px solid var(--border, #d9e2e8);
    border-radius: 24px;
    background: var(--surface, #fff);
    box-shadow: 0 18px 60px rgba(31, 58, 72, 0.08);
}

.privacy-hero[b-t890aex8ql] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.1rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--border, #d9e2e8);
}

.privacy-hero h1[b-t890aex8ql] {
    margin: 0.15rem 0 0.45rem;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.04;
}

.privacy-lead[b-t890aex8ql] {
    max-width: 720px;
    margin: 0;
    color: var(--muted, #5e6d75);
    font-size: 1.05rem;
}

.privacy-meta[b-t890aex8ql] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.4rem;
    color: var(--muted, #5e6d75);
    font-size: 0.9rem;
}

.privacy-card section[b-t890aex8ql] {
    max-width: 820px;
}

.privacy-card h2[b-t890aex8ql] {
    margin: 0 0 0.65rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.privacy-card p[b-t890aex8ql],
.privacy-card li[b-t890aex8ql] {
    line-height: 1.65;
}

.privacy-card ul[b-t890aex8ql],
.privacy-card ol[b-t890aex8ql] {
    display: grid;
    gap: 0.45rem;
    margin: 0.65rem 0 0;
    padding-left: 1.4rem;
}

.privacy-card a:not(.btn)[b-t890aex8ql] {
    color: var(--link, #276d76);
    text-underline-offset: 0.16em;
}

.privacy-callout[b-t890aex8ql] {
    padding: 1.2rem 1.3rem;
    border: 1px solid #9bc9c3;
    border-radius: 18px;
    background: #eef9f7;
}

.privacy-footer[b-t890aex8ql] {
    padding-top: 0.4rem;
}

@media (max-width: 640px) {
    .privacy-card[b-t890aex8ql] {
        border-radius: 18px;
    }

    .privacy-hero[b-t890aex8ql] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Terms.razor.rz.scp.css */
.terms-page[b-6uap82228b] {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 6vw, 5rem);
}

.terms-card[b-6uap82228b] {
    display: grid;
    gap: 1.6rem;
    padding: clamp(1.15rem, 4vw, 3rem);
    border: 1px solid var(--border, #d9e2e8);
    border-radius: 24px;
    background: var(--surface, #fff);
    box-shadow: 0 18px 60px rgba(31, 58, 72, 0.08);
}

.terms-hero[b-6uap82228b] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.1rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--border, #d9e2e8);
}

.terms-hero h1[b-6uap82228b] {
    margin: 0.15rem 0 0.45rem;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.04;
}

.terms-lead[b-6uap82228b] {
    max-width: 720px;
    margin: 0;
    color: var(--muted, #5e6d75);
    font-size: 1.05rem;
}

.terms-meta[b-6uap82228b] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.4rem;
    color: var(--muted, #5e6d75);
    font-size: 0.9rem;
}

.terms-card section[b-6uap82228b] {
    max-width: 820px;
}

.terms-card h2[b-6uap82228b] {
    margin: 0 0 0.65rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.terms-card p[b-6uap82228b],
.terms-card li[b-6uap82228b] {
    line-height: 1.65;
}

.terms-card ul[b-6uap82228b] {
    display: grid;
    gap: 0.45rem;
    margin: 0.65rem 0 0;
    padding-left: 1.4rem;
}

.terms-card a:not(.btn)[b-6uap82228b] {
    color: var(--link, #276d76);
    text-underline-offset: 0.16em;
}

.terms-footer[b-6uap82228b] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.4rem;
}

@media (max-width: 640px) {
    .terms-card[b-6uap82228b] {
        border-radius: 18px;
    }

    .terms-hero[b-6uap82228b] {
        grid-template-columns: 1fr;
    }
}
