:root{--brand: #0ea5e9;--muted: #e5e7eb}body{font-family:system-ui,Segoe UI,Roboto,sans-serif;font-size:12px;line-height:1.25;margin:0;padding:0}.page{width:8.5in;min-height:10.3in;margin:0 auto;padding:.35in;display:flex;flex-direction:column;gap:10px;justify-content:space-between;color:#1f2937}.header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.header__logo img,.header__logo svg{max-height:40px;height:40px;width:auto}.header-right{text-align:right}.clinic-name{font-weight:700;font-size:14px}.visit-date{font-size:11px;color:#6b7280}.patient-meta{font-size:11.5px;color:#6b7280;margin-top:6px;margin-bottom:8px}.content{flex:1;display:flex;flex-direction:column;gap:10px}.card{border:1px solid var(--muted);border-left:4px solid var(--brand);padding:10px 12px;page-break-inside:avoid}.card h2{font-size:15px;margin:0 0 6px;color:var(--brand);font-weight:600}.twocol{columns:2;column-gap:16px}.twocol li{margin:2px 0;break-inside:avoid}ul{list-style:disc;padding-left:16px;margin:0}table{width:100%;border-collapse:collapse;font-size:11px}th,td{padding:6px 8px;text-align:left;border-bottom:1px solid var(--muted);line-height:1.2}th{font-weight:600;background:#f9fafb}td:last-child{text-align:right;white-space:nowrap}.red-flags{border-left-color:#dc2626;background:#fef2f2}.red-flags h2{color:#dc2626}.footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#9ca3af;margin-top:8px}.actions{position:fixed;top:20px;right:20px;display:flex;gap:8px;z-index:1000}.btn{padding:8px 16px;border:none;border-radius:4px;background:var(--brand);color:#fff;cursor:pointer;font-size:12px}.btn:hover{opacity:.9}@media print{@page{size:letter;margin:.35in}body{margin:0}.actions{display:none!important}}.report-root{width:8.5in;min-height:11in}.report-root.compact{font-size:12px;line-height:1.25}.report-root.compact h1,.report-root.compact h2,.report-root.compact h3{margin:4px 0}.report-root.compact .card,.report-root.compact .section{padding:6px;margin:6px 0;border-radius:6px}.report-root.compact table{border-collapse:collapse;width:100%}.report-root.compact th,.report-root.compact td{padding:3px 4px;border-top:1px solid #eee;vertical-align:top}.report-root.compact .two-col{columns:2;column-gap:16px}.report-root.compact ul{margin:0;padding-left:16px}.report-root.compact .muted{opacity:.85}@media print{.report-root{box-shadow:none}}#report-root,.report-root{width:var(--page-width);margin:0 auto;box-sizing:border-box;overflow:visible}img,svg{max-width:100%;height:auto}.section,.card,table,ul,li{break-inside:avoid}@page{size:Letter;margin:.35in}:root{--page-width: 7.8in}html,body{width:8.5in}#report-root,.report-root{width:var(--page-width);margin:0 auto;box-sizing:border-box;padding:0!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}.section,.card,h1,h2,h3{margin:6px 0!important}p,li{margin:4px 0!important;line-height:1.25!important}table{width:100%;border-collapse:collapse}table td,table th{padding:4px 6px!important}@media print{.actions,.action-buttons,#header-actions,[data-actions],.no-print{display:none!important}}@media screen{.no-screen{display:none!important}}@media screen{.actions,.action-buttons,#header-actions,[data-actions]{display:inline-flex!important;gap:8px;align-items:center;pointer-events:auto!important;visibility:visible!important}#header-actions{position:fixed;top:16px;right:16px;z-index:99999}}#print-root,#report-root,.report-root{padding-bottom:0!important}#print-root .print-footer-fixed,#report-root .print-footer-fixed,.print-footer-fixed{display:none!important}
