.continuous-response-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    width: 100%;
    max-width: 22rem;
}

/* Match Subscription plan CTAs (rounded rect, not native controls) */
.voice-stage.is-finished-book-response .continuous-response-actions .plan-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 13px 24px;
    border: 1px solid var(--st-ink, #111);
    border-radius: 10px;
    background: transparent;
    color: var(--st-ink, #111);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    transition:
        background-color var(--st-duration, 220ms) var(--st-ease, ease),
        border-color var(--st-duration, 220ms) var(--st-ease, ease),
        color var(--st-duration, 220ms) var(--st-ease, ease);
}

.voice-stage.is-finished-book-response
    .continuous-response-actions
    .finished-book-action--primary {
    background: var(--st-ink, #111);
    color: #fff;
    border-color: transparent;
}

.voice-stage.is-finished-book-response
    .continuous-response-actions
    .finished-book-action--primary:hover {
    background: #2a2a2a;
}

.voice-stage.is-finished-book-response
    .continuous-response-actions
    .finished-book-action--outline:hover {
    background: var(--st-bg-soft, #f7f7f7);
    border-color: #ccc;
}

/* Finished-book Export: match Let's Begin (btn-begin tokens; width stays from .plan-cta) */
.voice-stage.is-finished-book-response
    .continuous-response-actions
    [data-finished-book-action="export"].finished-book-action.btn-begin {
    border: none;
    border-radius: var(--st-radius-pill);
    background: var(--st-ink);
    color: #fff;
    min-height: var(--st-touch);
    padding: 12px 28px;
    font-size: var(--st-size-body);
}

.voice-stage.is-finished-book-response
    .continuous-response-actions
    [data-finished-book-action="export"].finished-book-action.btn-begin:hover {
    background: #2a2a2a;
}

.voice-stage.is-finished-book-response
    .continuous-response-actions
    [data-finished-book-action="export"].finished-book-action.btn-begin:active {
    background: #000;
}

.voice-stage.is-finished-book-response
    .continuous-response-actions
    .plan-cta:focus-visible {
    outline: 1px solid var(--st-focus-ring, #111);
    outline-offset: 2px;
}

.continuous-response-links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 22rem;
}

.continuous-response-publish-note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.45;
    opacity: 0.85;
    max-width: 28rem;
}

.voice-stage.is-finished-book-response .continuous-response-publish-note {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.finished-book-confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Completion screen: centered milestone, no Talk composer chrome */
#screen-app.is-active:has(> .voice-stage.is-finished-book-response) > .voice-stage,
#screen-app.is-active:has(> .app-layout.voice-stage.is-finished-book-response)
    > .voice-stage {
    justify-content: center;
    align-items: center;
    min-height: calc(100dvh - var(--st-page-pad-y) * 2 - 3.5rem);
}

.voice-stage.is-continuous-response.is-finished-book-response {
    justify-content: center;
    align-items: center;
    padding: clamp(1.25rem, 4vh, 2.5rem) 0;
    box-sizing: border-box;
}

.voice-stage.is-continuous-response.is-finished-book-response
    > .continuous-response-panel {
    flex: 0 1 auto;
    align-self: center;
    width: min(36rem, 92vw);
    max-width: min(36rem, 92vw);
    margin: 0 auto;
    padding: clamp(0.5rem, 2vh, 1.25rem) 1.25rem clamp(1rem, 3vh, 1.75rem);
    text-align: center;
}

.voice-stage.is-finished-book-response .continuous-response-title,
.voice-stage.is-finished-book-response .continuous-response-body,
.voice-stage.is-finished-book-response .continuous-response-followup {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.voice-stage.is-finished-book-response .continuous-response-actions,
.voice-stage.is-finished-book-response .continuous-response-links {
    margin-left: auto;
    margin-right: auto;
}

.voice-stage.is-finished-book-response .continuous-response-links {
    margin-top: 1.35rem;
    opacity: 0.92;
}

.voice-stage.is-finished-book-response .finished-book-link {
    font-size: 0.9375rem;
}

.voice-stage.is-finished-book-response > .voice-recorder-anchor,
.voice-stage.is-finished-book-response > .status-area,
.voice-stage.is-finished-book-response > .app-status-area,
.voice-stage.is-finished-book-response > .app-say {
    display: none !important;
    flex: 0 0 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

@media (max-width: 480px) {
    .continuous-response-actions,
    .continuous-response-links {
        max-width: 100%;
    }

    .voice-stage.is-continuous-response.is-finished-book-response
        > .continuous-response-panel {
        width: min(100%, 92vw);
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
