.cca-qcp {
    --cca-qcp-primary: #1f6feb;
    --cca-qcp-text: #fff;
    --cca-qcp-hover-text: #fff;
    --cca-qcp-panel-bg: #fff;
    --cca-qcp-tab-resting: #fff;
    --cca-qcp-tab-bg: var(--cca-qcp-primary);
    --cca-qcp-tab-text: var(--cca-qcp-text);
    --cca-qcp-tab-border: var(--cca-qcp-tab-bg);
    --cca-qcp-z: 9999;
    position: fixed;
    z-index: var(--cca-qcp-z);
    font-family: inherit;
    box-sizing: border-box;
}
.cca-qcp *, .cca-qcp *::before, .cca-qcp *::after { box-sizing: border-box; }
.cca-qcp-position-bottom-right { right: 20px; bottom: 20px; }
.cca-qcp-position-bottom-left { left: 20px; bottom: 20px; }
.cca-qcp-actions { display: flex; gap: 10px; }
.cca-qcp-layout-stack .cca-qcp-actions { flex-direction: column; align-items: flex-end; }
.cca-qcp-position-bottom-left.cca-qcp-layout-stack .cca-qcp-actions { align-items: flex-start; }
.cca-qcp-spacing-compact .cca-qcp-actions { gap: 6px; }
.cca-qcp-spacing-wide .cca-qcp-actions { gap: 14px; }
.cca-qcp-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    background: var(--cca-qcp-primary);
    color: var(--cca-qcp-text);
    text-decoration: none;
    line-height: 1;
    font-weight: 600;
    border: 0;
    transition: transform .18s ease, opacity .18s ease, color .18s ease;
}
.cca-qcp-action:hover,
.cca-qcp-action:focus { color: var(--cca-qcp-hover-text); text-decoration: none; transform: translateY(-1px); }
.cca-qcp-action:focus-visible,
.cca-qcp-tab-button:focus-visible { outline: 3px solid rgba(31, 111, 235, .35); outline-offset: 3px; }
.cca-qcp-has-shadow .cca-qcp-action,
.cca-qcp-has-shadow .cca-qcp-tab-button,
.cca-qcp-has-shadow .cca-qcp-drawer { box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.cca-qcp-icon { display: inline-flex; width: 20px; height: 20px; flex: 0 0 20px; }
.cca-qcp-icon svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.cca-qcp-shape-pill .cca-qcp-action { border-radius: 999px; }
.cca-qcp-shape-round .cca-qcp-action { border-radius: 50%; width: 50px; height: 50px; padding: 0; }
.cca-qcp-shape-round .cca-qcp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cca-qcp-hide-labels .cca-qcp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cca-qcp-hide-labels .cca-qcp-action { width: 50px; height: 50px; padding: 0; border-radius: 50%; }
.cca-qcp-size-small .cca-qcp-action { min-height: 40px; padding-left: 13px; padding-right: 13px; font-size: 14px; }
.cca-qcp-size-small.cca-qcp-shape-round .cca-qcp-action,
.cca-qcp-size-small.cca-qcp-hide-labels .cca-qcp-action { width: 42px; height: 42px; }
.cca-qcp-size-large .cca-qcp-action { min-height: 54px; padding-left: 20px; padding-right: 20px; font-size: 17px; }
.cca-qcp-size-large.cca-qcp-shape-round .cca-qcp-action,
.cca-qcp-size-large.cca-qcp-hide-labels .cca-qcp-action { width: 58px; height: 58px; }

.cca-qcp-layout-tab {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}
.cca-qcp-side-right { right: 0; }
.cca-qcp-side-left { left: 0; }
.cca-qcp-tab-button {
    appearance: none;
    border: 1px solid var(--cca-qcp-tab-border) !important;
    border-color: var(--cca-qcp-tab-border) !important;
    background: var(--cca-qcp-tab-resting) !important;
    background-color: var(--cca-qcp-tab-resting) !important;
    color: var(--cca-qcp-tab-text) !important;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    letter-spacing: .01em;
    padding: 12px 10px;
    min-width: 46px;
}
.cca-qcp-tab-button:hover,
.cca-qcp-tab-button:focus,
.cca-qcp.is-open .cca-qcp-tab-button {
    background: var(--cca-qcp-tab-bg) !important;
    background-color: var(--cca-qcp-tab-bg) !important;
    border-color: var(--cca-qcp-tab-border) !important;
    color: var(--cca-qcp-tab-hover-text) !important;
}
.cca-qcp-tab-button span {
    display: block;
    writing-mode: vertical-rl;
}
.cca-qcp-side-right .cca-qcp-tab-button {
    border-radius: 10px 0 0 10px;
}
.cca-qcp-side-right .cca-qcp-tab-button span {
    transform: rotate(180deg);
}
.cca-qcp-side-left .cca-qcp-tab-button {
    border-radius: 0 10px 10px 0;
}
.cca-qcp-drawer {
    position: absolute;
    top: 50%;
    width: min(300px, calc(100vw - 56px));
    max-height: min(80vh, 540px);
    overflow: auto;
    background: var(--cca-qcp-panel-bg);
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 12px;
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
}
.cca-qcp-side-right .cca-qcp-drawer { right: 56px; transform: translate(20px, -50%); }
.cca-qcp-side-left .cca-qcp-drawer { left: 56px; transform: translate(-20px, -50%); }
.cca-qcp.is-open .cca-qcp-drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.cca-qcp-side-right.is-open .cca-qcp-drawer,
.cca-qcp-side-left.is-open .cca-qcp-drawer { transform: translate(0, -50%); }
.cca-qcp-layout-tab .cca-qcp-actions { flex-direction: column; align-items: stretch; }
.cca-qcp-layout-tab .cca-qcp-action { justify-content: flex-start; width: 100%; }
.cca-qcp-layout-tab.cca-qcp-hide-labels .cca-qcp-action,
.cca-qcp-layout-tab.cca-qcp-shape-round .cca-qcp-action { justify-content: center; width: 50px; margin-left: auto; margin-right: auto; }

@media (min-width: 783px) {
    .cca-qcp-hide-desktop { display: none !important; }
    .cca-qcp-action-hide-desktop { display: none !important; }
}
@media (max-width: 782px) {
    .cca-qcp-hide-mobile { display: none !important; }
    .cca-qcp-action-hide-mobile { display: none !important; }
    .cca-qcp-position-bottom-right,
    .cca-qcp-position-bottom-left { bottom: max(16px, env(safe-area-inset-bottom)); }
    .cca-qcp-position-bottom-right { right: 14px; }
    .cca-qcp-position-bottom-left { left: 14px; }
    .cca-qcp-layout-tab { top: auto; bottom: max(88px, calc(72px + env(safe-area-inset-bottom))); transform: none; }
    .cca-qcp-drawer { top: auto; bottom: 0; max-height: 70vh; }
    .cca-qcp-side-right .cca-qcp-drawer { right: 52px; transform: translate(16px, 0); }
    .cca-qcp-side-left .cca-qcp-drawer { left: 52px; transform: translate(-16px, 0); }
    .cca-qcp-side-right.is-open .cca-qcp-drawer,
    .cca-qcp-side-left.is-open .cca-qcp-drawer { transform: translate(0, 0); }
}
