/* #354. /free-dog-food-calculator-widget/: snippet box, live preview frame, optional resize script. */
.pp-embed-page__h1 {
    margin: 24px 0 16px;
    text-wrap: balance;
}

.pp-embed-page__h2 {
    margin: 24px 0 8px;
    font-size: 20px;
    text-wrap: balance;
}

.pp-embed-page__note {
    margin: 0 0 12px;
    color: #555;
    text-wrap: pretty;
}

.pp-embed-page__textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;
    padding: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #222;
    background: #f7f7f5;
    border: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    resize: vertical;
}

.pp-embed-page__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 148px;
    margin-top: 12px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #e8760a;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition-property: background-color, transform;
    transition-duration: 150ms;
}

.pp-embed-page__copy:hover,
.pp-embed-page__copy:focus-visible {
    background: #c96308;
}

.pp-embed-page__copy:active {
    transform: scale(0.96);
}

.pp-embed-page__frame {
    display: block;
    width: 100%;
    max-width: 800px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pp-embed-page__resize {
    max-width: 800px;
    margin: 24px 0;
}

.pp-embed-page__resize summary {
    min-height: 40px;
    padding: 8px 0;
    cursor: pointer;
    font-weight: 600;
}

.pp-embed-page__pre {
    max-width: 100%;
    margin: 0;
    padding: 12px;
    overflow-x: auto;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre;
    background: #f7f7f5;
    border-radius: 10px;
}
