/*
 * Shared minimal styling for the public API documentation pages
 * (index.html, error.html). Self-contained on purpose: these pages must
 * render correctly both from the standalone /openapi/ context (local
 * exploded-WAR layout) and from the packaged WAR, without depending on
 * the platform CSS.
 */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f4f5f7;
    color: #202124;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.panel {
    max-width: 720px;
    width: 100%;
    margin: 48px 16px;
    padding: 32px 40px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
h1 {
    font-size: 22px;
    margin: 0 0 4px;
}
h2 {
    font-size: 15px;
    margin: 28px 0 8px;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px;
}
.subtitle {
    color: #5f6368;
    margin-bottom: 20px;
}
ul.doclist {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.doclist li {
    padding: 14px 0;
    border-top: 1px solid #e8eaed;
}
ul.doclist p {
    margin: 6px 0 0;
    color: #5f6368;
}
.doc-kind {
    float: right;
    font-size: 11px;
    color: #80868b;
    background: #f1f3f4;
    border-radius: 10px;
    padding: 2px 10px;
}
a {
    color: #1a73e8;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
code {
    background: #f1f3f4;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 13px;
}
ol.steps {
    font-size: 14px;
    line-height: 1.7;
    padding-left: 20px;
    margin: 0;
}
ol.steps li {
    margin-bottom: 6px;
}
footer {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #e8eaed;
    font-size: 12px;
    color: #80868b;
}
@media (max-width: 560px) {
    .panel { padding: 24px 20px; margin: 16px 8px; }
}
