/* V18 fully scoped section-wise layout for Pathology & Community Medicine. */
body[data-department="pathology"] #specialtyRoot.v18-root,body[data-department="community_medicine"] #specialtyRoot.v18-root{max-width:1180px;width:100%;padding:24px clamp(12px,3vw,35px) 55px;color:#1c3858;font-family:'Segoe UI',Arial,sans-serif;scroll-margin-top:90px}
#navlinks.v18-sidebar{display:block!important;padding-bottom:22px}
#navlinks.v18-sidebar .v18-navhead{font:750 10px/1.4 'Segoe UI',sans-serif;color:#aac8e1;letter-spacing:1.35px;margin:20px 9px 7px;text-transform:uppercase}
#navlinks.v18-sidebar a.v18-link{display:flex!important;align-items:center;gap:9px;min-height:39px;margin:2px 7px;padding:8px 8px;border:0;border-radius:7px;color:#dceeff;text-decoration:none;background:transparent;font:550 12.5px/1.35 'Segoe UI',sans-serif;letter-spacing:0;white-space:normal}
#navlinks.v18-sidebar .v18-link:hover{background:#ffffff17}
#navlinks.v18-sidebar .v18-link.active{background:#2b628d;color:white;box-shadow:inset 3px 0 #a7d5fc;font-weight:740}
#navlinks.v18-sidebar .v18-navnum{display:inline-flex;align-items:center;justify-content:center;flex:0 0 27px;min-height:25px;border-radius:5px;font-size:11px;font-weight:730;color:#d0e3fa;background:#ffffff12}
#specialtyRoot.v18-root .v18-page{max-width:1050px;margin:0 auto}
#specialtyRoot.v18-root .v18-breadcrumb{color:#65809c;font-size:11px;font-weight:700;letter-spacing:.3px;margin-bottom:14px}
#specialtyRoot.v18-root .v18-title{background:#fff;padding:22px 25px;border:1px solid #d7e3f0;border-radius:12px;margin:0 0 18px;border-left:5px solid #226fba}
#specialtyRoot.v18-root .v18-title h2{font:800 clamp(21px,2.7vw,28px)/1.22 Georgia,'Times New Roman',serif;color:#123e6d;margin:0 0 7px}
#specialtyRoot.v18-root .v18-title p{font-size:12px;color:#627791;margin:0}
#specialtyRoot.v18-root .v18-box{margin:14px 0;padding:22px 23px;border:1px solid #d7e3f0;border-radius:11px;background:#fff;box-shadow:0 4px 18px rgba(20,49,76,.04)}
#specialtyRoot.v18-root .v18-box h3{font-size:16px;font-weight:760;color:#184772;margin:0 0 12px}
#specialtyRoot.v18-root .v18-box h2{color:#123e6d}
#specialtyRoot.v18-root .v18-box p{margin:9px 0;color:#405e7c;font-size:13px;line-height:1.6}
#specialtyRoot.v18-root .v18-statgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 16px}
#specialtyRoot.v18-root .v18-box.v18-stat{margin:0;padding:16px;text-align:center}
#specialtyRoot.v18-root .v18-stat strong{display:block;font-size:27px;color:#123e6d}
#specialtyRoot.v18-root .v18-stat small{font-size:11px;color:#627791;display:block}
#specialtyRoot.v18-root .v18-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:17px 0}
#specialtyRoot.v18-root .v18-indexcard{border:1px solid #d3e0ee;background:white;border-radius:10px;padding:15px 18px;text-align:left;display:flex;flex-direction:column;gap:5px;color:#244767;font-family:inherit;min-height:103px;cursor:pointer;transition:box-shadow .15s,border-color .15s}
#specialtyRoot.v18-root .v18-indexcard:hover{border-color:#6e9ccc;box-shadow:0 5px 17px rgba(25,77,126,.09)}
#specialtyRoot.v18-root .v18-indexcard strong{font-size:14px;color:#123e6d;line-height:1.3}
#specialtyRoot.v18-root .v18-indexcard small{color:#627791;font-size:11px}
#specialtyRoot.v18-root .v18-ordinal{font-size:10px;font-weight:790;color:#3174ad;letter-spacing:.9px}
#specialtyRoot.v18-root .v18-curriculum{padding:11px 13px;background:#f2f7fc;border-left:3px solid #4383ba;color:#264f76;font-size:12px;line-height:1.65}
#specialtyRoot.v18-root .v18-source,#specialtyRoot.v18-root .v18-helper{font-size:12px!important;color:#70849a!important}
#specialtyRoot.v18-root .v18-register{padding:16px 21px;margin:11px 0}
#specialtyRoot.v18-root .v18-register-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
#specialtyRoot.v18-root .v18-register-head small{font-size:10px;color:#5483af;font-weight:800;letter-spacing:.6px}
#specialtyRoot.v18-root .v18-register-head h3{margin:4px 0!important;font-size:15px!important}
#specialtyRoot.v18-root .v18-count{font-size:11px;color:#467595;background:#edf5fc;display:inline-block;padding:5px 9px;border-radius:15px;margin-top:5px}
#specialtyRoot.v18-root .v18-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:13px 0}
#specialtyRoot.v18-root .btn{border:1px solid #adc5dd;color:#1c5685;background:#fff;padding:9px 13px;font-size:12px;font-weight:730;border-radius:7px;white-space:normal}
#specialtyRoot.v18-root .btn:hover{background:#edf6ff}
#specialtyRoot.v18-root .btn.primary{background:#1763a3;color:white;border-color:#1763a3}
#specialtyRoot.v18-root .btn.primary:hover{background:#104e84}
#specialtyRoot.v18-root .v18-table-scroll{overflow-x:auto;width:100%}
#specialtyRoot.v18-root .v18-table{border-collapse:collapse;width:100%;min-width:580px;font-size:12px;color:#2a4661}
#specialtyRoot.v18-root .v18-table th{background:#e9f2fa;color:#174a73;font-weight:760;text-align:left;white-space:normal;border:1px solid #d1dfeb;padding:10px 12px}
#specialtyRoot.v18-root .v18-table td{border:1px solid #dde7f0;padding:9px 10px;vertical-align:top;word-break:break-word}
#specialtyRoot.v18-root .v18-table tr:nth-child(even) td{background:#f8fbff}
#specialtyRoot.v18-root .v18-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:680;color:#375c7b;min-width:0;margin:9px 0}
#specialtyRoot.v18-root .v18-field input,#specialtyRoot.v18-root .v18-field select,#specialtyRoot.v18-root .v18-field textarea{width:100%;border:1px solid #bfcfe0;border-radius:7px;background:#fff;padding:10px 11px;color:#203d59;font:12.5px/1.45 'Segoe UI',Arial,sans-serif}
#specialtyRoot.v18-root .v18-field textarea{min-height:75px}
#specialtyRoot.v18-root .v18-field :disabled{background:#f4f7fb;color:#516981;opacity:1}
#specialtyRoot.v18-root .v18-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 20px}
#specialtyRoot.v18-root .v18-form-grid label:has(textarea){grid-column:1/-1}
#specialtyRoot.v18-root .v18-warning{background:#fff6e9;border-left:3px solid #b77628;padding:11px;color:#915315!important}
#specialtyRoot.v18-root .v18-receipt{padding:8px 10px;background:#ecf8f2;color:#1d6d52!important;border-radius:6px;font-size:11px!important}
#specialtyRoot.v18-root .v18-search{padding:11px 13px;border:1px solid #b9ccdd;border-radius:8px;width:100%;max-width:480px}
#specialtyRoot.v18-root .v18-profilehead{display:flex;gap:20px;align-items:center;white-space:pre-line;margin-bottom:20px}
#specialtyRoot.v18-root .v18-photo{width:110px;height:135px;flex:0 0 110px;border:1px dashed #9cbbd4;background:#f6faff;display:grid;place-items:center;text-align:center;font-size:12px;color:#718ca3;padding:10px}
#specialtyRoot.v18-root .v18-profiletext{line-height:1.9;font-size:13px;color:#284f75}
#specialtyRoot.v18-root .v18-signatures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;text-align:center;margin-top:75px}
#specialtyRoot.v18-root .v18-signatures strong,#specialtyRoot.v18-root .v18-signatures small{display:block;line-height:1.8;color:#27435d}
#specialtyRoot.v18-root .v18-signline{margin-bottom:7px}
#specialtyRoot.v18-root .v18-certificate{padding:38px 35px}
#specialtyRoot.v18-root .v18-foot{font-size:10px;text-align:center;color:#68819a;padding:25px 5px}
@media(max-width:900px){#specialtyRoot.v18-root .v18-statgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#specialtyRoot.v18-root .v18-index{grid-template-columns:1fr}#specialtyRoot.v18-root .v18-form-grid{grid-template-columns:1fr}#specialtyRoot.v18-root .v18-title{padding:16px}#specialtyRoot.v18-root .v18-box{padding:16px}#specialtyRoot.v18-root .v18-register-head{align-items:flex-start;flex-direction:column}#specialtyRoot.v18-root .v18-signatures{grid-template-columns:1fr;gap:40px}#specialtyRoot.v18-root .v18-profilehead{align-items:flex-start}}
@media print{body[data-department="pathology"] #specialtyRoot.v18-root,body[data-department="community_medicine"] #specialtyRoot.v18-root{margin:0!important;padding:0!important;max-width:none!important}#specialtyRoot.v18-root .v18-page{max-width:none}#specialtyRoot.v18-root .v18-breadcrumb,#specialtyRoot.v18-root .v18-actions,#specialtyRoot.v18-root button,#specialtyRoot.v18-root .v18-foot{display:none!important}#specialtyRoot.v18-root .v18-title,#specialtyRoot.v18-root .v18-box{border-radius:0;box-shadow:none;border:0;break-inside:auto}}
