/* PublicInput developer docs shell around Redoc (served from /docs-assets, see SwaggerApplicationBuilderExtensions). */
:root {
    --pi-docs-header-height: 56px;
    --pi-docs-brand: #0395ff;
    --pi-docs-brand-text: #0b63a8;
    --pi-docs-ink: #1f2937;
    --pi-docs-muted: #6b7280;
    --pi-docs-border: #e5e7eb;
    --pi-docs-surface: #ffffff;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--pi-docs-surface);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pi-docs-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-sizing: border-box;
    height: var(--pi-docs-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 24px;
    background: var(--pi-docs-surface);
    border-bottom: 1px solid var(--pi-docs-border);
}

.pi-docs-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pi-docs-ink);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.pi-docs-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--pi-docs-brand);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.pi-docs-brand-sub {
    color: var(--pi-docs-muted);
    font-weight: 400;
}

.pi-docs-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pi-docs-nav a {
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--pi-docs-ink);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.pi-docs-nav a:hover,
.pi-docs-nav a:focus-visible {
    background: #f3f4f6;
}

.pi-docs-nav a[aria-current="page"] {
    color: var(--pi-docs-brand-text);
    font-weight: 600;
}

.pi-docs-nav a:focus-visible,
.pi-docs-brand:focus-visible {
    outline: 2px solid var(--pi-docs-brand-text);
    outline-offset: 2px;
}

.pi-docs-nav a.pi-docs-nav-cta {
    margin-left: 8px;
    background: var(--pi-docs-brand-text);
    color: #ffffff;
}

.pi-docs-nav a.pi-docs-nav-cta:hover,
.pi-docs-nav a.pi-docs-nav-cta:focus-visible {
    background: #094f86;
}

@media (max-width: 640px) {
    .pi-docs-header {
        padding: 0 16px;
    }

    .pi-docs-brand-sub,
    .pi-docs-nav a.pi-docs-nav-cta {
        display: none;
    }
}
