*{box-sizing:border-box}body{margin:0;background:#f8fafc;color:#17243a;font:15px/1.65 system-ui,-apple-system,Segoe UI,Arial,sans-serif}header{height:70px;background:#102a46;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1400px)/2));gap:25px}a{color:#1263a1;text-decoration:none}a:hover{text-decoration:underline}.brand{color:white;font-weight:800;letter-spacing:.07em;font-size:20px}.brand span{font-size:12px;font-weight:500;color:#b7c9dc}nav{display:flex;gap:24px}nav a{color:#dce9f5;font-size:13px}.layout{display:grid;grid-template-columns:245px minmax(0,920px);gap:55px;max-width:1400px;margin:auto;min-height:75vh}aside{padding:35px 22px;border-right:1px solid #e3eaf1;display:flex;flex-direction:column;gap:12px}.sidehead{font-size:11px;letter-spacing:.12em;font-weight:800;color:#64748b;margin-bottom:10px}aside a{color:#3c536d}aside small{color:#64748b}main{padding:44px 22px 80px 0;min-width:0}h1{font-size:clamp(28px,3vw,40px);line-height:1.2;letter-spacing:-.035em;margin:12px 0 20px}h2{font-size:22px;margin-top:42px;border-bottom:1px solid #e4ebf2;padding-bottom:10px}h3{font-size:17px}p{max-width:80ch}.eyebrow{font-size:12px;color:#47728d;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.lead{font-size:18px;color:#52647b}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:14px;margin-top:22px}.card{display:block;background:white;border:1px solid #dfe7ef;border-radius:8px;padding:18px;color:#1b324a}.card:hover{border-color:#4d8dbc;text-decoration:none}.card strong{display:block;font-size:17px}.card small{display:block;color:#66778a;margin-top:5px}.endpoint{background:white;border:1px solid #dfe7ef;border-radius:7px;padding:14px 18px;margin:10px 0;display:block}.method{display:inline-block;font-size:11px;font-weight:800;color:#fff;background:#27699d;padding:2px 7px;border-radius:4px;margin-right:10px}.method.post{background:#268463}.method.delete{background:#b04444}.method.put,.method.patch{background:#aa742b}code,pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}code{overflow-wrap:anywhere}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#101e30;color:#f0f5fb;padding:18px;border-radius:6px}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;border-bottom:1px solid #e1e7ef;padding:12px 8px;vertical-align:top}footer{border-top:1px solid #e1e7ef;padding:22px;text-align:center;color:#65758a;font-size:13px}@media(max-width:800px){header{height:auto;padding:18px;display:block}nav{flex-wrap:wrap;gap:12px;margin-top:10px}.layout{display:block}aside{border:0;border-bottom:1px solid #ddd;padding:15px;display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}aside hr,aside small,.sidehead{display:none}main{padding:24px 18px 60px}}
.searchpage{max-width:980px;margin:auto;padding:40px 20px}input[type=search]{width:min(100%,650px);padding:13px;border:1px solid #bac8d8;border-radius:5px;font:inherit}button,select{padding:13px;border:1px solid #bac8d8;border-radius:5px;background:white;font:inherit}button{background:#123b61;color:white;cursor:pointer}form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}form label{font-weight:700}

.sample-section{margin-top:40px;border-top:2px solid #d9e2ea;padding-top:24px}.sample-block{margin:20px 0}.sample-note{font-size:.9rem;color:#546474}.sample-section pre{overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;border:1px solid #dce4ec;background:#f5f8fb;border-radius:6px}.sample-section code{font-size:.85rem}

/* Contraste dos exemplos: manter blocos legiveis no Safari/iOS */
.sample-section pre,.sample-block pre{background:#111f32!important;color:#f3f7ff!important;border:1px solid #263d58!important;-webkit-text-fill-color:#f3f7ff!important;opacity:1!important}.sample-section pre code,.sample-block pre code{color:inherit!important;-webkit-text-fill-color:inherit!important;background:transparent!important;opacity:1!important;font-size:13px!important;line-height:1.65!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}.sample-section pre::selection,.sample-section pre code::selection{background:#2d6ea7;color:white}

/* Navegação universal e responsiva */
header nav,header .docs-quicknav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}header nav a,header .docs-quicknav a{white-space:nowrap}header nav a[href="/pesquisa/"],header .docs-quicknav a[href="/pesquisa/"]{font-weight:700}header{min-height:70px;height:auto;box-sizing:border-box}@media(max-width:800px){header{padding:12px 16px!important}header nav,header .docs-quicknav{display:flex;gap:8px 14px;margin-top:10px}header nav a,header .docs-quicknav a{font-size:13px}.layout main{min-width:0}.layout pre{max-width:100%}}

.source-confirmed{margin:32px 0;padding:22px;border:1px solid #c7d8e8;border-radius:8px;background:#f6f9fc}.source-confirmed pre{background:#111f32;color:#f3f7ff;overflow:auto}.source-confirmed pre code{color:#f3f7ff}

.runtime-evidence{border-top:2px solid #d9e2ea;padding-top:24px;margin-top:32px}.runtime-evidence pre{background:#111f32;color:#f3f7ff}.runtime-evidence pre code{color:inherit}

.confirmed-examples{margin:30px 0;padding:24px;border-left:4px solid #176a9e;background:#f4f8fb;border-radius:6px}.confirmed-examples pre{background:#111f32;color:#fff;max-width:100%;overflow:auto}.confirmed-examples pre code{color:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.confirmed-examples h3{margin-top:20px}

/* Request and response first API documentation */
.api-summary{background:#edf4fa;padding:14px 16px;border-radius:7px;line-height:1.7;font-size:13px}
.api-contract{border-bottom:1px solid #dce6ef;padding:12px 0 22px;margin-bottom:18px}
.api-contract h2{font-size:21px}.api-contract h3{font-size:16px;margin-top:21px}
.codeframe{background:#102035;color:#f5f8ff;border-radius:8px;overflow:hidden;margin:15px 0}
.codeframe-head{display:flex;justify-content:space-between;align-items:center;background:#1d3a57;color:#cbdbe8;padding:8px 14px;font-size:12px}
.codeframe .api-copy{background:#315b7f;color:#fff;border:1px solid #6e95b3;border-radius:5px;padding:6px 12px;cursor:pointer}
.codeframe pre{background:transparent!important;color:#f5f8ff!important;padding:16px!important;margin:0!important;white-space:pre!important;overflow-x:auto!important;overflow-wrap:normal!important;border:0!important}
.codeframe pre code{background:transparent!important;color:inherit!important;-webkit-text-fill-color:#f5f8ff!important;font-size:12px;line-height:1.6;white-space:inherit!important;overflow-wrap:inherit!important}
.api-tablewrap{width:100%;overflow-x:auto}.api-tablewrap table{min-width:550px}
.source-note{color:#586a79;font-size:13px;line-height:1.65}.api-pending{background:#f2f5f8;border-left:3px solid #8c9eaf;padding:14px}
@media(max-width:800px){.api-contract h2{font-size:19px}.codeframe pre{padding:12px!important}}
