/* STREAMING_CHUNK: Styling the clinical paper aesthetic and print configurations */
body {
background-color: #e8e4dc;
color: #3d3831;
font-family: Georgia, Cambria, "Times New Roman", Times, serif;
margin: 0;
padding: 0;
}

.paper-texture {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background-color: #e8e4dc;
pointer-events: none;
opacity: 0.05;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.paper-sheet {
background-color: #ffffff;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
border: 1px solid #d6d3d1;
border-radius: 4px;
}

/* STREAMING_CHUNK: Custom markdown typography mappings */
.prose-clinical h1 {
font-size: 2.25rem;
font-weight: 800;
border-bottom: 2px solid #3d3831;
padding-bottom: 0.5rem;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
letter-spacing: -0.025em;
}

.prose-clinical h2 {
font-size: 1.65rem;
font-weight: 700;
margin-top: 2rem;
margin-bottom: 1rem;
border-bottom: 1px solid #e7e5e4;
padding-bottom: 0.25rem;
}

.prose-clinical h3 {
font-size: 1.25rem;
font-weight: 600;
margin-top: 1.5rem;
margin-bottom: 0.75rem;
}

.prose-clinical p {
margin-bottom: 1.25rem;
line-height: 1.625;
font-size: 1.05rem;
}

.prose-clinical ul, .prose-clinical ol {
margin-left: 1.5rem;
margin-bottom: 1.25rem;
list-style-type: disc;
}

.prose-clinical li {
margin-bottom: 0.5rem;
line-height: 1.5;
}

/* STREAMING_CHUNK: Setting up watermark and page break print rules /
@media print {
.no-print, .donate-overlay {
display: none !important;
}
body {
background: white !important;
color: black !important;
}
.paper-sheet {
border: none !important;
box-shadow: none !important;
padding: 0 !important;
background: transparent !important;
}
@page {
size: A4;
margin: 20mm;
}
/ Multi-page clean break rules */
h1, h2, h3 {
page-break-after: avoid;
}
p, ul, ol, .mermaid {
page-break-inside: avoid;
}
body::after {
content: "MedicoQZ Official";
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-45deg);
font-size: 80px;
font-weight: bold;
color: rgba(61, 56, 49, 0.05);
z-index: 1000;
pointer-events: none;
white-space: nowrap;
}
}

.donate-overlay {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 50;
transition: transform 0.2s;
}
.donate-overlay:hover {
transform: scale(1.05);
}