:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#193248;background:#f3f6f8;line-height:1.5}*{box-sizing:border-box}body{margin:0}header{background:#123a53;color:white;padding:14px max(24px,calc((100vw - 1150px)/2));display:flex;align-items:center;justify-content:space-between;gap:18px;overflow:hidden}.header-branding{display:flex;align-items:center;gap:14px;min-width:0;flex:1}.brand-logo{width:auto;height:56px;max-width:84px;max-height:56px;display:block;object-fit:contain;flex:0 0 auto}.brand-text{min-width:0;overflow:hidden}.brand-title{font-weight:850;font-size:28px;letter-spacing:-.6px;line-height:1.05;white-space:normal}.brand-subtitle{display:block;font-size:11px;letter-spacing:.7px;text-transform:uppercase;margin-top:4px;color:#dfeaf0}.header-right{display:flex;align-items:center;gap:16px;font-size:14px;flex:0 0 auto}main{max-width:1150px;margin:28px auto;padding:0 20px;min-height:70vh}h1{font-size:30px;line-height:1.2;margin:20px 0}h2{font-size:20px;margin:0 0 14px}h3{font-size:16px}nav{display:flex;flex-wrap:wrap;gap:16px;padding:10px 0;border-bottom:1px solid #d2dfe7}a{color:#176c84;font-weight:650}section,.panel{background:white;border:1px solid #dce5eb;border-radius:12px;padding:22px;margin:16px 0;box-shadow:0 2px 7px #18324708}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.grid section{margin:0}.metric{font-size:32px;font-weight:800;color:#176c84}label{display:block;font-weight:600;margin:12px 0}input:not([type=checkbox]),select,textarea{display:block;width:100%;max-width:100%;padding:11px;border:1px solid #b9cbd5;border-radius:7px;background:white;color:#193248;font:inherit;margin-top:5px}textarea{min-height:90px}input[type=checkbox]{margin-right:7px}button,.btn{background:#176c84;color:white;border:0;border-radius:7px;padding:11px 17px;font:inherit;font-weight:650;cursor:pointer;text-decoration:none;display:inline-block}button.secondary,.btn.secondary{background:#e6eef3;color:#193248}button.danger{background:#a23434}button:disabled{opacity:.5;cursor:not-allowed}.notice{background:#fff4d9;border-left:4px solid #bd892a;padding:14px;margin:14px 0}.muted{color:#536a7a;font-size:14px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:11px;border-bottom:1px solid #dce5eb;vertical-align:top}th{background:#eaf1f5}footer{text-align:center;color:#536a7a;padding:24px;font-size:13px}.vacancy{display:flex;align-items:center;gap:12px;border:1px solid #dce5eb;border-radius:8px;padding:12px;margin:8px 0}.vacancy span{flex:1}.vacancy button{padding:6px 10px}.vacancy .rank{flex:0 0 32px;color:#176c84;font-weight:800}.actions{display:flex;flex-wrap:wrap;gap:8px}.pre{white-space:pre-wrap;overflow-wrap:anywhere}.photo{max-width:280px;max-height:320px}.print-only{display:none}@media(max-width:720px){header{align-items:flex-start;flex-direction:column;padding:14px}.header-branding{width:100%}.brand-logo{height:46px;max-width:72px;max-height:46px}.brand-title{font-size:22px}.brand-subtitle{font-size:10px;letter-spacing:.35px}.header-right{width:100%;justify-content:flex-end}main{margin:16px auto;padding:0 12px}section{padding:15px}.vacancy{flex-wrap:wrap}h1{font-size:25px}}@media print{header,nav,footer,button,.btn,.no-print{display:none!important}body,main,section{background:white;margin:0;box-shadow:none;border:0}.print-only{display:block}}

[hidden]{display:none!important}

/* Identidade visual: limites explícitos, inclusive em telas pequenas. */
header .header-branding{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 auto}header img.brand-logo{width:auto!important;height:54px!important;max-width:84px!important;max-height:54px!important;object-fit:contain;flex:none!important;display:block}header .brand-text{min-width:0;overflow-wrap:anywhere}header{min-width:0;max-width:100%;overflow:hidden;padding-top:8px;padding-bottom:8px} @media(max-width:720px){header img.brand-logo{height:44px!important;max-height:44px!important;max-width:70px!important}header .brand-title{font-size:20px}}

/* Cabeçalho institucional V4 */
header{padding-top:14px;padding-bottom:14px;gap:16px;min-height:82px}header .header-branding{gap:16px;align-items:center}header img.brand-logo{width:44px!important;height:54px!important;max-width:44px!important;max-height:54px!important;object-fit:contain}header .brand-text{border-left:1px solid #ffffff40;padding-left:16px;overflow:visible;overflow-wrap:normal}header .brand-title{font-size:24px;font-weight:650;letter-spacing:-.35px;line-height:1.2}header .brand-subtitle{font-size:12px;letter-spacing:.15px;text-transform:none;color:#dfeaf0;margin-top:5px;font-weight:400;line-height:1.35}header .header-right{margin-left:auto}header .header-right button{padding:8px 16px;font-size:13px} @media(max-width:720px){header{flex-direction:row;align-items:center;padding:12px;gap:8px;min-height:72px}header .header-branding{width:auto;gap:10px}header img.brand-logo{width:34px!important;height:42px!important;max-width:34px!important;max-height:42px!important}header .brand-text{padding-left:10px}header .brand-title{font-size:18px}header .brand-subtitle{font-size:10px;margin-top:3px}header .header-right{width:auto}header .header-right button{padding:7px 10px}}
