:root {
  --primary: #0a2464;
  --primary-soft: #eef3ff;
  --border: #e1e5eb;
  --muted: #667085;
  --bg: #f1f2f6;
  --card: #fff;
  --text: #111827;
}
*{box-sizing:border-box}
body{margin:0;font-family:'Poppins',sans-serif;background:var(--bg);color:var(--text);zoom:.96}
.header-top-line{height:4px;background:#97abd5;width:100%}
.ti-header{display:flex;justify-content:space-between;align-items:center;padding:5px 5%;background:#0a2464;box-shadow:0 1px 1px rgb(0 0 0 / 16%);flex-wrap:wrap;position:relative;z-index:20}
.header-content{display:flex;align-items:center;gap:40px;width:100%;justify-content:space-between}
.logo-container{display:flex;align-items:center;gap:12px}
.logo-container img{margin-left:100px;height:50px;width:70px;object-fit:contain}
.navbar-menu{flex:1;display:flex;justify-content:center}.menu{display:flex;gap:30px;list-style:none;margin:0;padding:0;justify-content:center;flex-wrap:wrap}.menu li a{text-decoration:none;color:#cdd5e7;font-weight:300;font-size:15px;padding:8px 0;transition:color .3s;display:flex;align-items:center;gap:8px}.menu li a:hover,.menu li a.active{color:#fff;text-decoration:underline}
.btn-acesso{background:rgba(0,0,0,.8);color:#fff;padding:12px 24px;border-radius:100px;text-decoration:none;display:flex;align-items:center;gap:8px;font-size:13px;width:fit-content;justify-content:center;transition:all .3s;border:none;cursor:pointer;font-weight:500}.btn-acesso:hover{background:rgba(0,0,0,.9);transform:translateY(-2px)}
.mobile-menu-toggle{display:none;background:none;border:none;font-size:24px;color:#fff;cursor:pointer}.mobile-menu{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:1000;padding:15px}.mobile-menu.active{display:block}.mobile-menu ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.mobile-menu a{display:block;text-decoration:none;color:#0a2464;padding:10px 4px;border-bottom:1px solid #eee}
.doc-shell{max-width:1420px;margin:0 auto;padding:28px 5% 45px}.doc-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:24px;align-items:end;margin-bottom:24px}.doc-kicker{color:#365998;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:600;margin-bottom:6px}.doc-hero h1{font-size:30px;margin:0 0 7px}.doc-hero p{margin:0;color:var(--muted);max-width:750px}.project-box{background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px;box-shadow:0 4px 14px rgba(15,23,42,.04)}.project-box label{display:block;font-size:12px;font-weight:600;color:#475467;margin-bottom:7px}.project-select{width:100%;height:44px;border:1px solid #cfd6df;border-radius:9px;padding:0 12px;font:inherit;background:#fff;outline:none}.project-select:focus{border-color:#5579c1;box-shadow:0 0 0 3px rgba(85,121,193,.12)}
.project-summary{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 4px 14px rgba(15,23,42,.04);overflow:hidden;margin-bottom:24px}.summary-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 20px;border-bottom:1px solid var(--border)}.summary-head h2{font-size:18px;margin:0}.summary-actions{display:flex;gap:8px;flex-wrap:wrap}.doc-btn{border:none;border-radius:8px;padding:10px 14px;font:inherit;font-size:13px;font-weight:500;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:7px}.doc-btn-primary{background:#0a2464;color:#fff}.doc-btn-light{background:#f4f6f9;color:#344054;border:1px solid #e2e7ee}.pdf-wrap{height:520px;background:#e8ebef}.pdf-wrap iframe{width:100%;height:100%;border:0;display:block}.pdf-empty{padding:50px;text-align:center;color:var(--muted)}
.api-panel{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 4px 14px rgba(15,23,42,.04);overflow:hidden}.api-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border);flex-wrap:wrap}.api-toolbar h2{font-size:18px;margin:0}.api-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.api-search{height:40px;min-width:260px;border:1px solid #d7dde5;border-radius:8px;padding:0 12px;font:inherit;font-size:13px}.api-count{font-size:12px;color:#667085;background:#f5f7fa;padding:7px 10px;border-radius:999px}.collection{border-bottom:1px solid #edf0f4}.collection:last-child{border-bottom:0}.collection-title{padding:14px 20px;background:#fafbfc;font-weight:600;font-size:14px;display:flex;justify-content:space-between;align-items:center}.collection-title span{font-size:12px;color:#98a2b3;font-weight:500}.endpoint{border-top:1px solid #edf0f4}.endpoint summary{list-style:none;display:grid;grid-template-columns:88px minmax(170px,1.1fr) minmax(200px,1.5fr) 30px;gap:12px;align-items:center;padding:13px 20px;cursor:pointer;transition:background .15s}.endpoint summary::-webkit-details-marker{display:none}.endpoint summary:hover{background:#fbfcfe}.method-badge{display:inline-flex;align-items:center;justify-content:center;min-width:74px;height:30px;border-radius:6px;font-size:12px;font-weight:700;letter-spacing:.03em;color:#fff}.method-get{background:#246bfd}.method-post{background:#16875d}.method-put{background:#e67e22}.method-patch{background:#9b7b12}.method-delete{background:#d92d20}.method-head{background:#667085}.method-options{background:#7a5af8}.route{font-family:Consolas,'Courier New',monospace;font-size:13px;font-weight:600;color:#1f2937;overflow-wrap:anywhere}.endpoint-name{font-size:13px;color:#475467}.chevron{color:#98a2b3;text-align:right;transition:transform .2s}.endpoint[open] .chevron{transform:rotate(180deg)}.endpoint-body{padding:0 20px 20px 120px;background:#fcfcfd}.endpoint-description{font-size:13px;color:#475467;margin:0 0 14px}.doc-specific{white-space:pre-wrap;font-size:13px;line-height:1.65;background:#fff;border:1px solid #e5e9ef;border-radius:8px;padding:13px;margin-bottom:16px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-card{border:1px solid #e4e7ec;border-radius:9px;overflow:hidden;background:#fff}.detail-card h4{margin:0;padding:11px 13px;font-size:13px;background:#f8f9fb;border-bottom:1px solid #e4e7ec}.mini-table{width:100%;border-collapse:collapse;font-size:12px}.mini-table th,.mini-table td{padding:9px 10px;text-align:left;border-bottom:1px solid #edf0f3;vertical-align:top}.mini-table th{color:#667085;font-weight:500}.mini-table tr:last-child td{border-bottom:0}.required{display:inline-flex;padding:2px 6px;border-radius:999px;background:#fef3f2;color:#b42318;font-size:10px;font-weight:600}.optional{display:inline-flex;padding:2px 6px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:10px}.code-block{margin:0;background:#101828;color:#f2f4f7;padding:14px;overflow:auto;font-family:Consolas,'Courier New',monospace;font-size:12px;line-height:1.55;min-height:70px;white-space:pre-wrap;word-break:break-word}.empty-state{padding:55px 25px;text-align:center;color:#667085}.empty-state i{font-size:28px;color:#98a2b3;margin-bottom:10px}.empty-state strong{display:block;color:#344054;margin-bottom:4px}
.footer{background:#fff;padding:20px 5%;border-top:1px solid #e0e0e0;font-size:13px;color:#555}.footer-content{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}.footer-links{display:flex;gap:16px;flex-wrap:wrap}.footer-links a{text-decoration:none;color:#2563eb}.footer-links a:hover{text-decoration:underline}
@media(max-width:1024px){.logo-container img{margin-left:20px}.doc-shell{padding-left:3%;padding-right:3%}.details-grid{grid-template-columns:1fr}.endpoint-body{padding-left:20px}}
@media(max-width:768px){.ti-header{padding:12px 3%}.logo-container img{margin-left:0;height:60px;width:60px}.navbar-menu{display:none}.mobile-menu-toggle{display:block}.btn-acesso{display:none}.doc-hero{grid-template-columns:1fr}.pdf-wrap{height:440px}.endpoint summary{grid-template-columns:80px 1fr 24px}.endpoint-name{display:none}.api-search{min-width:0;width:100%}.api-tools{width:100%}.api-toolbar{align-items:flex-start}.endpoint-body{padding:0 12px 15px}.mini-table{display:block;overflow:auto}}
@media(max-width:480px){.doc-hero h1{font-size:24px}.pdf-wrap{height:360px}.summary-head{align-items:flex-start;flex-direction:column}.footer-content{flex-direction:column;text-align:center}.endpoint summary{padding:11px 12px}.method-badge{min-width:68px}.route{font-size:12px}}

/* Layout da documentação: rotas à esquerda e PDF à direita */
.doc-shell.doc-shell-project{
  display:grid;
  grid-template-columns:minmax(430px,.9fr) minmax(560px,1.35fr);
  gap:24px;
  align-items:start;
}
.doc-shell.doc-shell-project .doc-hero{
  grid-column:1 / -1;
  width:100%;
  margin-bottom:0;
}
.doc-shell.doc-shell-project .api-panel{
  grid-column:1;
  grid-row:2;
  min-width:0;
  max-height:760px;
  display:flex;
  flex-direction:column;
}
.doc-shell.doc-shell-project .project-summary{
  grid-column:2;
  grid-row:2;
  min-width:0;
  margin-bottom:0;
  position:sticky;
  top:18px;
}
.doc-shell.doc-shell-project .api-toolbar{
  flex:0 0 auto;
  position:sticky;
  top:0;
  z-index:4;
  background:#fff;
  padding:16px 14px;
}
.doc-shell.doc-shell-project #apiCollections{
  min-height:0;
  overflow:auto;
}
.doc-shell.doc-shell-project .api-tools{
  width:100%;
}
.doc-shell.doc-shell-project .api-search{
  min-width:0;
  flex:1;
}
.doc-shell.doc-shell-project .collection-title{
  padding:13px 14px;
}
.doc-shell.doc-shell-project .endpoint summary{
  grid-template-columns:76px minmax(150px,1fr) 26px;
  gap:10px;
  padding:12px 14px;
}
.doc-shell.doc-shell-project .endpoint-name{
  display:none;
}
.doc-shell.doc-shell-project .method-badge{
  min-width:68px;
}
.doc-shell.doc-shell-project .endpoint-body{
  padding:0 14px 16px;
}
.doc-shell.doc-shell-project .details-grid{
  grid-template-columns:1fr;
}
.doc-shell.doc-shell-project .pdf-wrap{
  height:680px;
}

@media(max-width:1180px){
  .doc-shell.doc-shell-project{
    display:block;
  }
  .doc-shell.doc-shell-project .doc-hero{
    margin-bottom:24px;
  }
  .doc-shell.doc-shell-project .api-panel{
    max-height:none;
    margin-bottom:24px;
  }
  .doc-shell.doc-shell-project #apiCollections{
    overflow:visible;
  }
  .doc-shell.doc-shell-project .project-summary{
    position:static;
  }
  .doc-shell.doc-shell-project .endpoint summary{
    grid-template-columns:88px minmax(170px,1.1fr) minmax(200px,1.5fr) 30px;
    gap:12px;
    padding:13px 20px;
  }
  .doc-shell.doc-shell-project .endpoint-name{
    display:block;
  }
  .doc-shell.doc-shell-project .endpoint-body{
    padding:0 20px 20px 120px;
  }
  .doc-shell.doc-shell-project .details-grid{
    grid-template-columns:1fr 1fr;
  }
  .doc-shell.doc-shell-project .pdf-wrap{
    height:560px;
  }
}

@media(max-width:768px){
  .doc-shell.doc-shell-project .endpoint summary{
    grid-template-columns:80px 1fr 24px;
    padding:13px 12px;
  }
  .doc-shell.doc-shell-project .endpoint-name{display:none}
  .doc-shell.doc-shell-project .endpoint-body{padding:0 12px 15px}
  .doc-shell.doc-shell-project .details-grid{grid-template-columns:1fr}
  .doc-shell.doc-shell-project .pdf-wrap{height:440px}
}

@media(max-width:480px){
  .doc-shell.doc-shell-project .pdf-wrap{height:360px}
}
