/* HASAN POLYCLINIC — A4 report skin, mockup-inspired. Clinical data remains database-driven. */
.lab-modern{--lab-teal:#008c91;--lab-dark:#073a50;--lab-pale:#d9f3f4;position:relative;isolation:isolate;overflow:hidden;max-width:210mm;margin:18px auto;padding:23mm 10mm 15mm!important;background:#fff!important;border:1px solid #c8e3e6!important;border-radius:9px!important;box-shadow:0 12px 34px #123b4c20!important;color:#132d39!important;font-family:Arial,'Helvetica Neue',sans-serif;min-height:265mm}
.lab-modern:before{content:"";position:absolute;left:-3%;right:-3%;top:0;height:24mm;z-index:-1;background:linear-gradient(168deg,#ffffff 35%,#d5f6f6 35.5%,#82d4d5 48%,#008c91 50%,#00767f 73%,#064e5d 74%,#ffffff 88%);clip-path:polygon(0 0,100% 0,100% 95%,82% 75%,60% 89%,36% 64%,15% 87%,0 68%)}
.lab-modern:after{content:"";position:absolute;left:-2%;right:-2%;bottom:0;height:13mm;z-index:-1;background:linear-gradient(170deg,#6fd7d9,#008c91 52%,#07515b 85%);clip-path:polygon(0 40%,17% 12%,36% 36%,57% 8%,79% 35%,100% 2%,100% 100%,0 100%)}
.lab-modern .lab-accent{display:none!important}
.lab-modern .v2-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0 0 14px!important;margin:0 0 12px!important;border-bottom:2px solid #07999c!important}
.lab-modern .v2-report-head>div:first-child{flex:1;min-width:0}
.lab-modern .lab-eyebrow{color:#007c83!important;letter-spacing:1.4px!important;font-size:10px!important;font-weight:800}
.lab-modern .v2-report-head h2{font-size:26px!important;line-height:1.08!important;letter-spacing:-.5px!important;color:#092b48!important;margin:6px 0!important;font-weight:900!important}
.lab-modern .v2-report-head h2:before{content:'✚';display:inline-grid;place-items:center;background:linear-gradient(140deg,#03a9a9,#036c7a);color:#fff;font-size:21px;width:36px;height:36px;border-radius:8px;margin-right:9px;vertical-align:middle}
.lab-modern .v2-report-head h3{display:inline-block;background:linear-gradient(95deg,#008f92,#006c79);color:white!important;font-size:15px!important;font-weight:800!important;letter-spacing:.8px;margin:12px 0 0!important;padding:9px 24px!important;border-radius:14px 3px 14px 3px}
.lab-modern .v2-report-head p{font-size:11px!important;color:#526e77!important;margin:5px 0!important}
.lab-modern .v2-report-id{min-width:140px;display:flex;flex-direction:column;gap:6px;align-items:flex-end;text-align:right;font-size:11px!important}
.lab-modern .lab-report-label{color:#008c91!important;font-weight:900!important}
.lab-modern .lab-section-title{background:linear-gradient(90deg,#bdebed,#e8f7f7)!important;border-left:0!important;border-radius:6px!important;padding:8px 12px!important;font-size:13px!important;color:#07314e!important;letter-spacing:.15px!important;margin:17px 0 8px!important}
.lab-modern .v2-report-meta{border:1px solid #c7e4e7!important;border-radius:6px!important;background:#fff!important;grid-template-columns:1fr 1fr!important}
.lab-modern .v2-report-meta span{font-size:11px!important;padding:8px 6px!important}
.lab-modern .v2-result-table{width:100%!important;border-collapse:collapse!important;border:1px solid #a6cdd1!important;table-layout:fixed!important}
.lab-modern .v2-result-table th{background:#c3eaed!important;color:#092c45!important;font-size:11px!important;padding:9px 8px!important;border:1px solid #a6cdd1!important;text-align:left!important}
.lab-modern .v2-result-table td{font-size:11px!important;padding:9px 8px!important;border:1px solid #d5e5e8!important;overflow-wrap:anywhere}
.lab-modern .v2-result-table th:nth-child(1){width:39%}.lab-modern .v2-result-table th:nth-child(2){width:18%}.lab-modern .v2-result-table th:nth-child(3){width:17%}.lab-modern .v2-result-table th:nth-child(4){width:26%}
.lab-modern .v2-result-table tbody tr:nth-child(even){background:#f4fafb!important}
.lab-modern .v2-result-table input{width:100%;min-width:0}
.lab-modern .v2-security-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;border-top:1px solid #b4dce0!important;padding:12px 0!important}
.lab-modern .v2-report-sign{margin:14px 0 20px!important;padding-top:16px!important;border-top:1px solid #b7dce0!important;text-align:right!important;color:#0b3850!important;font-weight:700!important}
.lab-modern .v2-report-warning{background:#fff3e9!important;border:1px solid #e6bda0!important;color:#843e22!important;padding:12px!important;margin:12px 0!important}
.lab-modern .lab-report-footer{margin:22px 0 8px;text-align:center;color:#49727a;font-size:10px;line-height:1.5}
.lab-modern .lab-report-footer strong{display:block;color:#075c68;font-size:11px}
@media(max-width:767px){.lab-modern{padding:24mm 12px 15mm!important;min-height:0}.lab-modern .v2-report-head{flex-wrap:wrap}.lab-modern .v2-report-id{align-items:flex-start;text-align:left}.lab-modern .v2-report-head h2{font-size:21px!important}.lab-modern .v2-report-meta{grid-template-columns:1fr!important}.lab-modern .v2-result-table th,.lab-modern .v2-result-table td{font-size:9px!important;padding:6px 4px!important}}
@media print{@page{size:A4;margin:0}html,body{margin:0!important;padding:0!important;background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body:has(.lab-modern) .clinic-sidebar,body:has(.lab-modern) .clinic-topbar,body:has(.lab-modern) .heading,body:has(.lab-modern) .hp-admin-mobile-nav,body:has(.lab-modern) footer{display:none!important}body:has(.lab-modern) .clinic-main,body:has(.lab-modern) main{margin:0!important;padding:0!important;max-width:none!important}.lab-modern{width:210mm!important;max-width:210mm!important;min-height:297mm!important;margin:0!important;padding:26mm 10mm 16mm!important;box-sizing:border-box!important;box-shadow:none!important;border:0!important;border-radius:0!important;overflow:visible!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.lab-modern:before,.lab-modern:after{position:fixed!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.lab-modern .v2-report-head h3{color:#fff!important}.lab-modern .v2-result-table th{background:#c3eaed!important;color:#092c45!important}.lab-modern .lab-section-title{background:#bdebed!important}.lab-modern .v2-result-table tr,.lab-modern .v2-report-head,.lab-modern .v2-report-meta,.lab-modern .v2-security-row{break-inside:avoid}.lab-modern .no-print{display:none!important}}
