/* Responsive Stylesheet for QWQ-32B Report */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 2.0;
    color: #0e0e0e;
    background-color: #ffffff;
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

h1, h2, h3, h4 {
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.6;
}

p, p.p5, p.p6, p.p7, p.p9 {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 2.1;
}

@media (max-width: 768px) {
    body {
        padding: 15px;
        font-size: 14px;
    }
    h1, h2, h3, h4 {
        font-size: 1.4rem;
    }
    p, p.p5, p.p6, p.p7, p.p9 {
        line-height: 2.0;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
        font-size: 13px;
    }
    h1, h2, h3, h4 {
        font-size: 1.3rem;
    }
    p, p.p5, p.p6, p.p7, p.p9 {
        margin-bottom: 18px;
        line-height: 1.9;
    }
}

/* Heading Styles */
p.p1, p.p3, p.p4 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* List Styling（修正版） */
p.p7 {
    margin-left: 10px;
    text-indent: 0;
}

/* Apple-tab-spanのスペース調整 */
span.Apple-tab-span {
    display: inline-block;
    width: 8px;
}

/* Highlight Styles */
span.s1 {
    font-weight: bold;
    color: #222;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure long words or URLs don't break layout */
pre, code, pre code {
    white-space: pre-wrap;
}