#lms-cc-root,
.lms-cc-inline {
    font:
        15px/1.5 system-ui,
        -apple-system,
        sans-serif;
    color: #20292e;
    text-align: left;
}
#lms-cc-root *,
.lms-cc-inline * {
    box-sizing: border-box;
}
#lms-cc-root .lms-cc-panel {
    position: fixed;
    z-index: 2147483000;
    left: 50%;
    transform: translateX(-50%);
    bottom: 70px;
    width: 900px;
    max-width: 90vw;
    max-height: calc(100dvh - 100px);
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid #acb6ba;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 6px 32px #0003;
}
#lms-cc-root .lms-cc-tab {
    position: fixed;
    z-index: 2147483001;
    bottom: 18px;
    right: 18px;
    box-shadow: 0 2px 12px #0002;
}
#lms-cc-root .lms-cc-button,
.lms-cc-inline .lms-cc-button {
    appearance: none;
    font: inherit;
    text-transform: none;
    letter-spacing: normal;
    display: inline-block;
    width: auto;
    height: auto;
    min-height: 42px;
    border: 1px solid #465861;
    background: #fff;
    color: #172b35;
    border-radius: 5px;
    padding: 9px 13px;
    cursor: pointer;
    margin: 0;
    line-height: 1.35;
}
#lms-cc-root .lms-cc-button:hover,
.lms-cc-inline .lms-cc-button:hover {
    background: #edf2f3;
}
#lms-cc-root :focus-visible,
.lms-cc-inline :focus-visible {
    outline: 3px solid #086ab0;
    outline-offset: 3px;
}
#lms-cc-root h2,
.lms-cc-inline h2 {
    color: inherit;
    font:
        700 21px/1.25 system-ui,
        sans-serif;
    margin: 0 0 12px;
    clear: none;
}
#lms-cc-root p,
.lms-cc-inline p {
    margin: 0 0 12px;
    font-size: inherit;
}
#lms-cc-root .lms-cc-copy,
.lms-cc-inline .lms-cc-copy {
    white-space: pre-line;
    overflow-wrap: anywhere;
}
#lms-cc-root .lms-cc-minimize {
    display: block;
    margin: 0 0 14px auto;
    min-height: 36px;
    padding: 6px 10px;
}
.lms-cc-categories {
    border: 0;
    padding: 0;
    margin: 16px 0;
    min-width: 0;
}
.lms-cc-category {
    border-top: 1px solid #d7dfe2;
    padding: 12px 0 0;
}
.lms-cc-label {
    display: flex;
    gap: 9px;
    align-items: center;
    font-weight: 600;
    margin: 0 0 7px;
    cursor: pointer;
}
#lms-cc-root input[type="checkbox"],
.lms-cc-inline input[type="checkbox"] {
    appearance: auto;
    position: static;
    opacity: 1;
    margin: 0;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    accent-color: #244b5a;
}
.lms-cc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 12px;
}
.lms-cc-actions .lms-cc-button {
    flex: 1 1 130px;
}
.lms-cc-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 15px;
}
#lms-cc-root a,
.lms-cc-inline a {
    color: #155270;
    text-decoration: underline;
}
.lms-cc-inline {
    max-width: 760px;
    background: #fff;
    border: 1px solid #c7d0d4;
    padding: 22px;
    border-radius: 8px;
    margin: 20px 0;
}
.lms-cc-meta {
    font-size: 12px !important;
    white-space: pre-line;
    overflow-wrap: anywhere;
    margin-top: 16px !important;
}
.lms-cc-error {
    padding: 10px;
    background: #fff0ec;
    color: #842c15;
    border-left: 3px solid #a53b1d;
}
.lms-cc-note {
    padding: 10px;
    background: #edf3f5;
}
.lms-cc-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (max-width: 480px) {
    #lms-cc-root .lms-cc-panel {
        right: 10px;
        width: calc(100vw - 20px);
        padding: 16px;
    }
    .lms-cc-inline {
        padding: 16px;
    }
}
