Spaces:
Running
Running
/* Base styles */ | |
:root { | |
--primary-color: #003366; | |
--secondary-color: #1e3a8a; | |
--success-color: #10b981; | |
--text-color: #333; | |
--border-color: #e5e7eb; | |
--bg-light: #f8fafc; | |
} | |
body { | |
font-family: 'Times New Roman', serif; | |
margin: 0 auto; | |
max-width: 800px; | |
line-height: 1.8; | |
color: var(--text-color); | |
background-color: #fff; | |
padding: 40px; | |
font-size: 12pt; | |
} | |
/* Typography */ | |
h1, h2, h3 { | |
color: #000; | |
font-family: 'Times New Roman', serif; | |
margin-top: 2em; | |
border-bottom: 2px solid #000; | |
padding-bottom: 0.5em; | |
} | |
h1 { font-size: 28px; text-align: center; margin-bottom: 2em; } | |
h2 { font-size: 24px; } | |
h3 { font-size: 20px; } | |
p, li { font-size: 16px; } | |
/* Layout */ | |
.section { | |
margin-bottom: 30px; | |
padding: 15px 20px; | |
background-color: #fff; | |
} | |
.section:not(:last-child) { | |
border-bottom: 1px solid var(--border-color); | |
} | |
/* Components */ | |
.info-card { | |
border: 2px solid var(--primary-color); | |
border-radius: 8px; | |
padding: 20px; | |
text-align: center; | |
background: #fff; | |
} | |
.info-card h3 { | |
color: var(--primary-color); | |
border: none; | |
margin: 10px 0; | |
} | |
.medical-interface { | |
border: 1px solid var(--border-color); | |
border-radius: 8px; | |
overflow: hidden; | |
background: var(--bg-light); | |
margin: 20px 0; | |
} | |
.interface-header { | |
background: var(--primary-color); | |
color: white; | |
padding: 10px; | |
font-size: 0.9em; | |
} | |
.data-output { | |
padding: 15px; | |
background: white; | |
} | |
.analysis-text { | |
padding: 15px; | |
background: #f3f4f6; | |
border-top: 1px solid var(--border-color); | |
} | |
/* Utilities */ | |
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } | |
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } | |
/* Print styles */ | |
@media print { | |
body { | |
padding: 0; | |
margin: 2.54cm; | |
font-size: 11pt; | |
} | |
.section { | |
page-break-inside: avoid; | |
margin-bottom: 20px; | |
} | |
} | |
@page { | |
margin: 2.54cm; | |
size: A4 portrait; | |
} | |
/* Responsive */ | |
@media (max-width: 768px) { | |
body { padding: 20px; } | |
.grid-2, .grid-3 { grid-template-columns: 1fr; } | |
} |