/* Shared institutional identity; original logo artwork is never altered. */
.identity-logos { display:inline-flex; align-items:center; gap:10px; flex:none; line-height:1; }
.brand .identity-logos img,.admin-brand .identity-logos img,.login-identity .identity-logos img,.print-report-header .identity-logos img { width:48px; height:54px; object-fit:contain; border-radius:0; flex:none; }
.brand .identity-text,.admin-brand .identity-text { display:block; min-width:0; max-width:220px; font-size:16px; line-height:1.3; letter-spacing:0; }
.identity-text strong { display:block; font-size:inherit; overflow-wrap:normal; }
.brand .identity-logos .institution-logo,.admin-brand .identity-logos .institution-logo,.login-identity .identity-logos .institution-logo,.print-report-header .identity-logos .institution-logo { width:112px; height:48px; }
.brand .identity-text small,.admin-brand .identity-text small { display:block; font-size:10px; font-weight:400; letter-spacing:0; line-height:1.45; margin-top:5px; color:inherit; }
.navbar { gap:20px; }
.navbar .brand { gap:12px; }
.site-footer .brand { align-items:flex-start; flex-wrap:wrap; max-width:100%; }
.site-footer .identity-text { color:white; }
.site-footer .identity-logos { background:white; padding:8px; border-radius:8px; }
.process-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }
.admin-brand { flex-wrap:wrap; gap:10px; padding-bottom:18px; }
.admin-brand .identity-text { max-width:210px; font-size:15px; }
.admin-brand .identity-logos img { width:42px; height:46px; }
.admin-brand .identity-logos { gap:12px; }
.sidebar-collapsed .admin-brand .identity-text { display:none; }
.sidebar-collapsed .admin-brand .identity-logos { display:inline-flex; flex-direction:column; gap:5px; }
.sidebar-collapsed .admin-brand { padding:0 0 16px; justify-content:center; }
.sidebar-collapsed .admin-brand .identity-logos img { width:34px; height:36px; }
.sidebar-collapsed .admin-brand .identity-logos .institution-logo { width:52px; height:24px; }
.login-identity { margin-bottom:20px; }
.saved-result-identity { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0; }
.saved-result-identity dt { font-size:12px; color:var(--muted,#526b6f); }
.saved-result-identity dd { margin:4px 0 0; font-weight:700; overflow-wrap:anywhere; }
.result-next-step { padding:24px 0; }
.result-next-step p { margin:12px 0; }
.result-symbol svg { width:32px; height:32px; }
.screening-result-card h2 { font-size:clamp(24px,4vw,36px); margin:8px 0 16px; }
.settings-group { border:1px solid var(--admin-border); border-radius:10px; padding:20px; margin:22px 0; min-width:0; }
.settings-group legend { font-weight:700; padding:0 8px; }
.profile-password-form { display:grid; gap:18px; max-width:640px; margin:24px 0; }
.profile-password-form label { display:grid; gap:8px; font-size:14px; }
.profile-password-form input { padding:14px; border:1px solid var(--line); border-radius:8px; min-height:46px; font:inherit; }
.profile-password-form button { justify-self:start; }
.print-summary { display:flex; flex-wrap:wrap; gap:12px 24px; margin:20px 0; }
.print-report-header { display:flex; align-items:center; gap:20px; padding-bottom:20px; border-bottom:2px solid var(--admin-border,#ddd); }
.print-report-header h2 { margin:8px 0; font-size:18px; }
.print-report-header strong { text-transform:uppercase; }
.report-filter-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.report-filter-summary dd { margin:0; overflow-wrap:anywhere; }
.report-filter-summary dt { font-size:12px; color:var(--text-secondary); }
.report-breakdowns table { width:100%; }
.report-breakdowns th,.report-breakdowns td { text-align:left; padding:8px; }
@media(max-width:1180px) { .navbar .brand .identity-text { max-width:210px; } }
@media(max-width:767px) {
 .navbar { gap:8px; }
 .navbar .brand { gap:8px; min-width:0; flex:1; }
 .brand .identity-logos { gap:6px; }
 .navbar .identity-logos img { width:34px; height:40px; }
 .navbar .identity-logos .institution-logo { width:74px; height:32px; }
 .navbar .brand .identity-text { font-size:12px; max-width:140px; letter-spacing:0; }
 .navbar .identity-text small { display:none; }
 .menu-toggle { flex:none; }
 .service-strip .container { justify-content:center; }
 .service-strip .container > span:first-child { display:none; }
 .process-steps { grid-template-columns:1fr; }
 .saved-result-identity,.report-filter-summary { grid-template-columns:1fr; }
 .print-report-header { gap:12px; align-items:flex-start; flex-wrap:wrap; }
 .print-report-header h2 { font-size:16px; }
 .settings-group { padding:14px; }
}
@page { size:A4 portrait; margin:15mm 12mm; }
@media print {
 body { background:white!important; font-size:10pt; color:black!important; }
 .admin-sidebar,.admin-topbar,.sidebar-overlay,.admin-footer,.breadcrumb,.page-heading,.prototype-notice,.filter-bar,.report-filter-panel,.screening-list,.pagination,.screen-only,.skip-link,#admin-toast,#admin-modal,#debug-icon,#debug-bar,.admin-shell > main > .stats-grid,.dashboard-grid { display:none!important; }
 .admin-shell { margin:0!important; }
 #admin-main { padding:0!important; }
 #admin-content > .stats-grid { display:none!important; }
 .report-recap { padding:0!important; border:0!important; box-shadow:none!important; }
 .print-report-header { display:flex!important; flex-wrap:nowrap; border-color:black; }
 .print-report-header .identity-logos img { width:14mm; height:17mm; }
 .print-report-header .identity-logos .institution-logo { width:30mm; height:14mm; }
 .print-report-header h2 { font-size:12pt; }
 .print-report-header p { margin:2mm 0; }
 .report-breakdowns { display:block!important; }
 .report-breakdowns section { margin:5mm 0; }
 table { width:100%!important; table-layout:auto; border-collapse:collapse; }
 th,td { white-space:normal!important; overflow-wrap:anywhere; font-size:9pt; padding:2mm!important; }
 thead { display:table-header-group; }
 tr { break-inside:avoid; }
 h3 { break-after:avoid; }
 .table-scroll { overflow:visible!important; }
 .print-report-footer { margin-top:6mm; font-size:8pt; }
}
