@page {
    size: letter;
    margin: 0.5in;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 10pt;
    line-height: 1.4;
    color: #333;
    max-width: 8.5in;
    margin: 0 auto;
    padding: 20px;
}

.header {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.header-brand { position: relative; min-height: 80px; padding: 0 85px; }
.header-img { width: 80px; height: 80px; position: absolute; left: 0; top: 0; z-index: 1; }
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url(staff_no_clef.jpg) repeat-x center;
    opacity: 0.08;
    rotate: -2deg;
}

.logo { font-size: 28pt; font-weight: bold; color: #4CAF50; margin-bottom: 5px; }
.subtitle { font-size: 12pt; color: #666; font-weight: 600; }
h1 { font-size: 16pt; color: #2e7d32; margin: 15px 0 10px; border-bottom: 2px solid #e0e0e0; padding-bottom: 5px; }
h2 { font-size: 12pt; color: #2e7d32; margin: 12px 0 8px; }
h3 { font-size: 11pt; color: #2e7d32; margin: 10px 0 6px; }
h4, h5 { font-size: 10pt; margin: 8px 0 6px; }
h1, h2, h3, h4, h5 { break-after: avoid; }
p { margin: 6px 0; orphans: 3; widows: 3; }
ul, ol { margin: 8px 0; padding-left: 25px; }
li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 9pt; }
thead { display: table-header-group; }
tr { break-inside: avoid; }
th { background: #4CAF50; color: white; padding: 6px; text-align: left; font-weight: 600; }
td { padding: 6px; border: 1px solid #ddd; overflow-wrap: anywhere; }
tr:nth-child(even) { background: #f9f9f9; }
a { color: #1565c0; overflow-wrap: anywhere; }
strong { color: #2e7d32; }
code, .schools-email-field { font-family: 'Courier New', monospace; font-size: 0.9em; overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid #ddd; margin: 20px 0; }
.schools-callout { border-left: 4px solid #4CAF50; padding: 10px; margin: 10px 0; }
.schools-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.schools-email-link { display: inline-block; margin: 6px 0; }
.schools-diagram { text-align: center; margin: 15px 0; }
svg { max-width: 100%; height: auto; }
.schools-legend-item { display: inline-block; margin: 6px 10px; }
.schools-color-box { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: middle; border: 1px solid #333; }
.footer { margin-top: 20px; padding-top: 10px; border-top: 2px solid #e0e0e0; font-size: 9pt; color: #666; text-align: center; }
.contact-info { font-size: 9pt; text-align: center; margin: 10px 0; break-inside: avoid; }
.date { text-align: right; font-size: 9pt; color: #666; font-style: italic; }
.schools-fine-print { font-size: 9pt; }
.schools-copy-button { display: none; }

@media print {
    body { font-size: 11pt; padding: 0; max-width: none; }
    * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .no-print { display: none; }
}

@media screen and (max-width: 600px) {
    .schools-contact-grid { grid-template-columns: 1fr; }
}
