.doc-page {
    background: #f7f3eb;
}

.doc-shell {
    max-width: 980px;
    min-width: 0;
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
}

.doc-content {
    background: #fffdf8;
    border: 1px solid rgba(22, 50, 46, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(26, 37, 35, 0.08);
    padding: clamp(1.4rem, 4vw, 3rem);
    min-width: 0;
    max-width: 100%;
}

.doc-content h1,
.doc-content h2,
.doc-content h3,
.doc-content h4 {
    color: #183b36;
    letter-spacing: 0;
}

.doc-content h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-top: 0;
}

.doc-content h2 {
    border-top: 1px solid rgba(22, 50, 46, 0.14);
    margin-top: 2.6rem;
    padding-top: 1.6rem;
}

.doc-content p,
.doc-content li {
    color: #273f3b;
    font-size: 1rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.doc-content a {
    color: #145c54;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.doc-content code {
    background: #efe7d8;
    border-radius: 4px;
    color: #203935;
    overflow-wrap: anywhere;
    padding: 0.08rem 0.28rem;
    word-break: break-word;
}

.doc-content pre {
    background: #132421;
    border-radius: 8px;
    color: #f7f3eb;
    overflow-x: auto;
    padding: 1rem;
    max-width: 100%;
}

.doc-content pre code {
    background: transparent;
    color: inherit;
    overflow-wrap: normal;
    padding: 0;
    white-space: pre;
    word-break: normal;
}

.doc-content blockquote {
    border-left: 4px solid #2a8f83;
    color: #244844;
    margin: 1.4rem 0;
    padding: 0.1rem 0 0.1rem 1rem;
}

.doc-content table {
    border-collapse: collapse;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
}

.doc-content img {
    height: auto;
    max-width: 100%;
}

@media (max-width: 760px) {
    .doc-shell {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .doc-content {
        padding: 1rem;
    }
}

.doc-content th,
.doc-content td {
    border: 1px solid rgba(22, 50, 46, 0.14);
    padding: 0.65rem;
    text-align: left;
}
