.content-show-page {
    color: #1f2937;
}

.content-page-title {
    color: #1f2937;
    margin-bottom: 0.7rem;
}

.content-page-actions {
    margin: 0 0 0.85rem;
}

.btn {
    display: inline-block;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    background: #fff;
    margin-right: 6px;
}

.doc-card {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    padding: 14px;
    color: #1f2937;
}

.content-show-page.is-landing-fragment {
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.content-show-page.is-landing-fragment .doc-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.content-show-page.is-landing-fragment .doc-content {
    width: 100%;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.pill {
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    text-transform: uppercase;
}

.pill-home {
    border-color: #3f7d2b;
    color: #166534;
}

.pill-fullpage {
    border-color: #1a7a8a;
    color: #0f5e6a;
}

.summary {
    color: #334155;
    font-size: 15px;
}

.doc-content {
    line-height: 1.65;
    color: #1f2937;
}

.doc-content :is(p, li, h1, h2, h3, h4, h5, h6, blockquote, figcaption, td, th) {
    color: inherit;
}

.doc-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.doc-content .vg-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.doc-content figcaption {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.doc-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    background: #fff;
}

.doc-content th,
.doc-content td {
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    vertical-align: top;
}

.doc-content th {
    background: #f3f4f6;
}

.content-show-page.is-full-page {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.fullpage-container {
    width: 100%;
    background: transparent;
}

.fullpage-container * {
    box-sizing: border-box;
}

.fullpage-container > :first-child {
    margin-top: 0 !important;
}

.fullpage-container body {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.floating-actions {
    position: fixed;
    right: 0.9rem;
    bottom: 0.8rem;
    z-index: 16;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(8px);
}

.floating-action-link {
    display: inline-flex;
    align-items: center;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 6px 10px;
    text-decoration: none;
    background: #fff;
    color: #111827;
    font-weight: 600;
    font-size: 0.86rem;
    line-height: 1;
}

@media (max-width: 960px) {
    .floating-actions {
        right: 0.55rem;
        left: 0.55rem;
        bottom: 0.65rem;
    }
}
