.pub-scripts-hero {
    padding: 3rem 0 2rem;
}

.pub-script-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    height: 100%;
}

.pub-script-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.pub-script-actions .btn {
    min-width: 5.5rem;
}

.pub-script-code .pub-script-source {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.5rem;
    padding: 0.85rem 1rem;
    max-height: 22rem;
    overflow: auto;
}

.pub-script-code .pub-script-source pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #0f172a;
    background: transparent;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
}

.pub-script-code .pub-script-source code {
    color: inherit;
    background: transparent;
}

.pub-script-code .pub-script-source ::selection {
    background: rgba(124, 92, 255, 0.22);
    color: #0f172a;
}

.pub-setup-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.pub-setup-card pre {
    font-size: 0.85rem;
    margin: 0;
}

.pub-notecard-example {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.5rem;
    padding: 1rem 1.1rem;
}

.pub-notecard-example pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #0f172a;
    background: transparent;
    white-space: pre-wrap;
    word-break: break-word;
}

.pub-notecard-example ::selection {
    background: rgba(124, 92, 255, 0.22);
    color: #0f172a;
}