.bq-widget,
.bq-toast,
.bq-toast *,
.bq-widget * {
    box-sizing: border-box;
}

.bq-widget {
    margin: 16px 0;
    color: #1c2430;
    font-size: 16px;
    line-height: 1.45;
}

.bq-panel:empty {
    display: none;
}

.bq-widget .bq-button[hidden],
.bq-toast .bq-button[hidden] {
    display: none;
}

.bq-widget .bq-button,
.bq-toast .bq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    background: #0e7a4b;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(14, 122, 75, 0.22);
}

.bq-widget .bq-button:hover,
.bq-widget .bq-button:focus,
.bq-toast .bq-button:hover,
.bq-toast .bq-button:focus {
    background: #0b5e39;
    color: #fff;
}

.bq-widget .bq-button:focus-visible,
.bq-toast .bq-button:focus-visible,
.bq-link-btn:focus-visible {
    outline: 2px solid #0e7a4b;
    outline-offset: 3px;
}

.bq-widget .bq-button:disabled,
.bq-toast .bq-button:disabled {
    opacity: 0.65;
    cursor: progress;
}

.bq-kicker {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0e7a4b;
}

.bq-toast.is-failed .bq-kicker {
    color: #9d2c2c;
}

.bq-lead,
.bq-hint,
.bq-meta {
    margin: 0 0 10px;
}

.bq-code {
    display: inline-block;
    margin: 4px 0 8px;
    padding: 10px 14px;
    border: 1px dashed #0e7a4b;
    border-radius: 8px;
    background: #f4faf7;
    color: #143026;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    user-select: all;
}

.bq-time,
.bq-pages {
    height: 6px;
    margin: 8px 0 12px;
    overflow: hidden;
    border-radius: 99px;
    background: #e6eeea;
}

.bq-time > span,
.bq-pages > span {
    display: block;
    height: 100%;
    width: 0;
    background: #c6a15b;
}

.bq-time > span.is-paused {
    opacity: 0.45;
}

.bq-time > span.is-ready,
.bq-pages > span {
    background: #0e7a4b;
}

.bq-link-btn {
    display: inline-block;
    margin: 8px 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0e7a4b;
    font: 600 14px/1.2 inherit;
    text-decoration: underline;
    cursor: pointer;
}

.bq-error {
    margin: 8px 0 0;
    color: #9d2c2c;
}

.bq-noscript {
    margin: 8px 0 0;
}

.bq-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(28, 36, 48, 0.45);
}

.bq-toast {
    position: fixed;
    z-index: 99999;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: min(380px, calc(100vw - 32px));
    padding: 16px 18px;
    border: 1px solid #d5e8df;
    border-radius: 12px;
    background: #fff;
    color: #1c2430;
    box-shadow: 0 16px 40px rgba(28, 36, 48, 0.18);
    font-size: 15px;
    line-height: 1.45;
}

.bq-toast.is-failed {
    border-color: #e7c7c7;
}

.bq-toast.is-modal {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(440px, calc(100vw - 32px));
    transform: translate(-50%, -50%);
}

.bq-backdrop[hidden],
.bq-toast[hidden] {
    display: none !important;
}

.bq-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
