:root{--b164-ink:#123d57;--b164-muted:#526b7a;--b164-green:#23883d;--b164-line:#dce8ee;--b164-bg:#f4f8fa}
.b164-header,.b164-notice,.b164-guide,.b164-access,.b164-steps{font-family:Arial,Helvetica,sans-serif;box-sizing:border-box}
.b164-header{grid-column:1/-1;width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px max(24px,calc((100vw - 1120px)/2));background:white;border-bottom:1px solid var(--b164-line)}
.b164-header img{display:block;width:270px;max-width:48vw;height:auto}.b164-header nav{display:flex;gap:24px}.b164-header a{color:var(--b164-ink);text-decoration:none;font-weight:700;font-size:14px}
.b164-notice{padding:12px 20px;background:#edf5fa;color:var(--b164-ink);font-size:13px;line-height:1.6;text-align:center}
.b164-notice a{color:var(--b164-ink)}
body.bolsa-auth.b164-auth{margin:0;padding:0;min-height:100vh;display:grid;grid-template-columns:minmax(0,520px) minmax(0,480px);justify-content:center;align-content:start;column-gap:64px;background:var(--b164-bg);font-family:Arial,Helvetica,sans-serif;color:var(--b164-ink)}
.b164-auth>.b164-header{width:100vw;margin-left:calc((100% - 100vw)/2)}
.b164-guide{padding:80px 0 48px}.b164-kicker{display:inline-block;padding:7px 12px;border-radius:50px;background:#eaf6ed;border:1px solid #d3ebdb;color:#247e3a;font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.b164-guide h2{font-size:44px;line-height:1.12;letter-spacing:-1.2px;margin:22px 0;color:var(--b164-ink);max-width:490px}
.b164-guide>p{font-size:17px;line-height:1.7;color:var(--b164-muted);max-width:460px}.b164-guide ol{list-style:none;margin:30px 0;padding:0;display:grid;gap:22px;counter-reset:guide}
.b164-guide li{display:grid;grid-template-columns:38px 1fr;column-gap:14px;counter-increment:guide}.b164-guide li:before{content:counter(guide);grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;color:var(--b164-green);background:#e4f2e8;border-radius:50%;font-weight:700}
.b164-guide li strong{font-size:16px}.b164-guide li span{color:var(--b164-muted);font-size:14px;line-height:1.6}.b164-caption{border-top:1px solid var(--b164-line);padding-top:20px;font-size:13px!important}
.b164-auth>.auth-card{margin:54px 0!important;padding:0!important;width:100%!important;max-width:480px!important;align-self:start;min-width:0}.b164-auth .auth-card>.card{border:1px solid var(--b164-line)!important;border-radius:24px!important;box-shadow:0 12px 36px #123d5709!important;overflow:hidden}.b164-auth .bolsa-auth-brand{padding:34px 32px 6px!important;text-align:left!important}.b164-auth .bolsa-auth-brand>a{display:none}.b164-auth .bolsa-auth-brand h1{font-size:30px!important;margin:0 0 10px!important;font-weight:700!important;color:var(--b164-ink)!important}.b164-auth .bolsa-auth-brand p{font-size:15px!important;color:var(--b164-muted)!important;line-height:1.6!important}.b164-auth .card-body{padding:24px 32px 32px!important}.b164-auth .form-control{min-height:52px;border:1px solid #c9dce5!important;border-radius:10px!important;font-size:16px!important;background:#fbfdfe!important}.b164-auth .form-label{font-size:14px!important;font-weight:700!important;color:var(--b164-ink)!important}.b164-auth .input-group-text{display:none}.b164-auth .btn-primary{min-height:52px;background:var(--b164-green)!important;border:1px solid var(--b164-green)!important;border-radius:10px!important;font-weight:700!important}.b164-auth .forgot-password a,.b164-auth .register-link a,.b164-auth .back-home a{color:#236484!important;line-height:1.5}.b164-auth .register-link{padding:18px 16px;border-radius:12px;background:#f3f8fa;font-size:14px}.b164-auth input:focus{outline:3px solid #b8ddc4;outline-offset:2px;box-shadow:none!important}.b164-auth .divider{margin:22px 0!important}.b164-auth .alert{font-size:14px;line-height:1.6}
.b164-access-page{margin:0;background:var(--b164-bg);color:var(--b164-ink);font-family:Arial,Helvetica,sans-serif;min-height:100vh}.b164-access{max-width:760px;margin:54px auto;padding:0 24px 48px}.b164-access h1{font-size:38px;line-height:1.18;letter-spacing:-1px;margin:20px 0 14px}.b164-access>p{color:var(--b164-muted);font-size:17px;line-height:1.7}.b164-access .b164-panel{margin-top:28px;background:white;border:1px solid var(--b164-line);border-radius:20px;padding:28px}.b164-panel ol{padding-left:24px;line-height:1.7;color:var(--b164-muted)}.b164-panel li{padding-left:6px;margin:14px 0}.b164-panel strong{color:var(--b164-ink)}.b164-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.b164-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:10px 20px;background:var(--b164-green);border:1px solid var(--b164-green);color:white!important;font-weight:700;border-radius:10px;text-decoration:none;box-sizing:border-box}.b164-button.secondary{background:white;color:var(--b164-ink)!important;border-color:#c7dce6}.b164-panel p{color:var(--b164-muted);line-height:1.7}.b164-panel a:not(.b164-button){color:#236484;overflow-wrap:anywhere}
.bolsa-solicitar-page .bolsa-solicitar-shell{max-width:1040px!important}.bolsa-solicitar-page .bolsa-solicitar-intro h1{font-size:40px;line-height:1.15;letter-spacing:-1px}.bolsa-solicitar-page .bolsa-solicitar-intro>p{max-width:740px;line-height:1.7}.b164-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;margin:22px 0 30px}.b164-steps li{background:white;border:1px solid var(--b164-line);border-radius:14px;padding:18px;color:var(--b164-muted);font-size:14px;line-height:1.6}.b164-steps strong{display:block;color:var(--b164-ink);font-size:15px;margin-bottom:5px}.b164-steps b{display:inline-grid;place-items:center;width:25px;height:25px;background:#eaf6ed;color:var(--b164-green);border-radius:50%;margin-right:7px}
.bolsa-solicitar-page .bolsa-request-form{counter-reset:section;gap:24px}.bolsa-solicitar-page .bolsa-request-section{border:1px solid var(--b164-line);border-radius:18px;padding:26px;margin-bottom:24px;box-shadow:0 7px 24px #123d5705;background:white;counter-increment:section}.bolsa-solicitar-page .bolsa-request-section legend{font-size:19px;line-height:1.5;padding:0 8px;color:var(--b164-ink)}.bolsa-solicitar-page .bolsa-request-section legend:before{content:counter(section);display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eaf6ed;color:var(--b164-green);font-size:14px;margin-right:9px}.bolsa-solicitar-page .bolsa-form-field input,.bolsa-solicitar-page textarea,.bolsa-solicitar-page select{min-height:48px;font-size:16px!important;background:#fcfdfe;border-radius:10px!important}.bolsa-solicitar-page .bolsa-form-field>span{font-size:14px;line-height:1.5}.bolsa-solicitar-page fieldset p{font-size:15px;line-height:1.7}.bolsa-solicitar-page input:focus,.bolsa-solicitar-page select:focus,.bolsa-solicitar-page textarea:focus{outline:3px solid #b8ddc4;outline-offset:2px}.bolsa-solicitar-page textarea{min-height:130px}.bolsa-solicitar-page .bolsa-solicitar-note{border-left:4px solid #3989ac;border-radius:12px}.bolsa-solicitar-page .bolsa-selected-course{border:1px solid var(--b164-line);border-radius:18px}.bolsa-solicitar-page .bolsa-request-actions button{min-height:52px;background:var(--b164-green)}
@media(max-width:1120px){body.bolsa-auth.b164-auth{grid-template-columns:minmax(0,440px) minmax(0,440px);column-gap:32px;padding:0 24px}.b164-guide h2{font-size:38px}.b164-auth>.b164-header{margin-left:-24px}.b164-header{padding:20px 24px}}
@media(max-width:760px){body.bolsa-auth.b164-auth{display:block;padding:0;background:var(--b164-bg)}.b164-auth>.b164-header{margin:0;width:100%}.b164-header{gap:16px;padding:18px 20px}.b164-header img{width:210px}.b164-header nav{gap:16px}.b164-header nav a{font-size:13px}.b164-guide{padding:30px 22px 0}.b164-guide h2{font-size:30px;letter-spacing:-.6px;margin:16px 0}.b164-guide>p{font-size:15px}.b164-guide ol,.b164-caption{display:none}.b164-auth>.auth-card{margin:24px auto 40px!important;width:calc(100% - 40px)!important}.b164-auth .bolsa-auth-brand{padding:26px 24px 0!important}.b164-auth .bolsa-auth-brand h1{font-size:25px!important}.b164-auth .card-body{padding:22px 24px!important}.b164-access{margin:30px auto}.b164-access h1{font-size:30px}.b164-access .b164-panel{padding:22px}.b164-buttons>*{width:100%}.b164-steps{grid-template-columns:1fr;gap:10px}.b164-steps li{padding:14px 16px}.bolsa-solicitar-page .bolsa-solicitar-intro h1{font-size:30px}.bolsa-solicitar-page .bolsa-request-section{padding:20px 16px}.bolsa-solicitar-page .bolsa-request-section legend{font-size:17px}.b164-notice{font-size:12px;padding:10px 16px}}

/* 166: painel com navegação clara e etapas recolhidas. */
body.b166-panel-page{margin:0!important;padding:0!important;font-family:Arial,Helvetica,sans-serif!important;background:#f4f8fa!important;color:#123d57!important}
.b166-panel-page>main{max-width:1120px!important;margin:28px auto!important;padding:0 24px!important}
.b166-panel-page h1{font-size:32px!important;line-height:1.2!important;margin-bottom:18px!important}
.b166-panel-page main>p:first-of-type{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.b166-panel-page main>p:first-of-type a{display:inline-flex;padding:10px 16px;border:1px solid #d4e3ea;background:white;border-radius:10px;text-decoration:none;font-weight:700;color:#1d617c}
.b166-panel-page .b125{padding:24px!important;background:white!important;border:1px solid #dce8ee!important;border-radius:18px!important;max-width:100%!important}
.b166-panel-page .b125>article{padding:22px!important;border:1px solid #dce8ee!important;box-shadow:0 4px 18px #123d5705;border-radius:14px!important}
.b166-panel-page .b125>article h3{font-size:18px!important;line-height:1.5!important}
.b166-panel-page .b125>article>p{font-size:15px!important;color:#526b7a;line-height:1.6}
.b166-panel-page .b125 summary{padding:12px 0;color:#235d78;font-size:15px}
.b166-panel-page .b142-actions{display:flex;flex-wrap:wrap;gap:12px}
.b166-panel-page .b142-actions a{padding:11px 16px;border-radius:9px;font-size:14px;text-decoration:none}
.b166-panel-page .b125>p:last-child{color:#526b7a;line-height:1.6}
@media(max-width:760px){.b166-panel-page>main{padding:0 16px!important;margin:20px auto!important}.b166-panel-page h1{font-size:26px!important}.b166-panel-page .b125{padding:16px!important}.b166-panel-page .b125>article{padding:16px!important}.b166-panel-page .b142-actions a{width:100%;text-align:center}}

/* 167: lista e detalhe, com hierarquia e navegação próprias. */
.b167-page [hidden]{display:none!important}.b167-page .b167-header{display:flex;align-items:center;justify-content:space-between;gap:24px;background:white;padding:22px max(24px,calc((100vw - 1120px)/2));border-bottom:1px solid #dce8ee}.b167-header img{display:block;width:260px;height:auto;max-width:48vw}.b167-header nav{display:flex;gap:26px;flex-wrap:wrap}.b167-header nav a{color:#23546b;text-decoration:none;font-weight:700;font-size:14px}.b167-header nav a[aria-current]{color:#23883d}
.b167-page>main.b167-main{margin:36px auto 60px!important;max-width:1120px!important;padding:0 24px!important}.b167-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.b167-page .b167-top h1{font-size:36px!important;letter-spacing:-1px;margin:8px 0 12px!important}.b167-eyebrow{color:#23883d;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;margin:0}.b167-lead{color:#526b7a;font-size:16px;line-height:1.6;margin:0;max-width:730px}.b167-link{color:#23546b;text-decoration:none;font-weight:700;font-size:14px;white-space:nowrap}.b167-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.b167-metrics>div{background:white;border:1px solid #dce8ee;border-radius:16px;padding:20px 22px}.b167-metrics span{color:#526b7a;font-size:14px}.b167-metrics strong{display:block;font-size:32px;margin-top:8px;color:#123d57}.b167-small{font-size:13px;line-height:1.6;color:#526b7a;margin:14px 0 26px}
.b167-tools{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin-bottom:22px}.b167-tools>div{flex:1;min-width:220px;max-width:650px}.b167-tools label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}.b167-tools input{width:100%;box-sizing:border-box;min-height:48px;background:white;border:1px solid #c7dce6;border-radius:10px;padding:12px 14px;font:16px Arial,sans-serif}.b167-tools input:focus{outline:3px solid #b8ddc4;outline-offset:2px}.b167-tools button{padding:13px 18px;border-radius:10px;border:1px solid #c7dce6;background:white;color:#23546b;cursor:pointer;font-weight:700}.b167-tools>p{font-size:13px;color:#526b7a;margin:0 0 15px}
.b167-list{display:grid;gap:20px}.b167-card{padding:26px;background:white;border:1px solid #dce8ee;border-radius:18px;box-shadow:0 6px 24px #123d5704;overflow-wrap:anywhere}.b167-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.b167-label{display:block;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#526b7a}.b167-card h2{font-size:18px;margin:7px 0 14px;line-height:1.5}.b167-stage{font-size:12px;font-weight:700;color:#23546b;background:#edf5fa;border:1px solid #d9e8ef;padding:8px 12px;border-radius:50px;max-width:45%;text-align:center}.b167-card .b167-course{font-size:20px;margin:0 0 8px;color:#123d57}.b167-school{font-size:13px;color:#526b7a;margin:0 0 22px;line-height:1.6}.b167-next{background:#f2f8f6;border:1px solid #dcece3;border-left:4px solid #23883d;padding:17px 20px;border-radius:12px}.b167-next h3{font-size:16px;margin:9px 0 7px;line-height:1.5}.b167-next p{font-size:14px;line-height:1.7;color:#385a6a;margin:0}.b167-details{margin:18px 0}.b167-details summary{cursor:pointer;padding:10px 0;font-weight:700;font-size:14px;color:#23546b}.b167-details[open] summary{margin-bottom:14px}.b167-actions{display:flex;flex-wrap:wrap;gap:12px;padding-top:16px;border-top:1px solid #e6eef2}.b167-primary,.b167-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;box-sizing:border-box;padding:11px 18px;border-radius:10px;font-size:14px;font-weight:700;text-decoration:none}.b167-primary{background:#23883d;color:white!important;border:1px solid #23883d}.b167-secondary{background:white;color:#23546b!important;border:1px solid #bed5e0}.b167-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0}.b167-footnote{padding:22px 0;border-top:1px solid #dce8ee;margin-top:26px}.b167-footnote strong{font-size:14px}.b167-footnote p{color:#526b7a;font-size:13px;line-height:1.7;margin:8px 0 0}.b167-empty{padding:32px;border:1px dashed #c7dce6;border-radius:16px;text-align:center;background:white}.b167-empty h2{font-size:21px}.b167-empty p{color:#526b7a;line-height:1.7}.b167-empty a{color:#23883d}
@media(max-width:760px){.b167-page .b167-header{align-items:flex-start;flex-direction:column;padding:18px 20px;gap:18px}.b167-header img{width:230px;max-width:80vw}.b167-header nav{gap:18px}.b167-page>main.b167-main{padding:0 18px!important;margin:26px auto!important}.b167-top{align-items:flex-start;flex-direction:column;gap:16px}.b167-page .b167-top h1{font-size:29px!important}.b167-lead{font-size:15px}.b167-metrics{grid-template-columns:repeat(2,1fr);gap:12px}.b167-metrics>div{padding:16px}.b167-metrics strong{font-size:28px}.b167-card{padding:20px 18px}.b167-card-top{flex-direction:column;gap:0}.b167-stage{max-width:100%;margin-bottom:18px;text-align:left}.b167-card h2{font-size:16px}.b167-card .b167-course{font-size:19px}.b167-next{padding:16px}.b167-actions a{width:100%}.b167-tools>p{width:100%;margin:0}.b167-pagination>*{width:100%;text-align:center}.b167-footnote{margin-top:22px}}

/* B169: titulo e numero dentro do card, preservando legend acessivel. */
.bolsa-solicitar-page .bolsa-request-section legend{float:left;box-sizing:border-box;width:100%;max-width:100%;padding:0;margin:0 0 20px;display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}
.bolsa-solicitar-page .bolsa-request-section legend:before{flex:0 0 28px;margin-right:0}
.bolsa-solicitar-page .bolsa-request-section legend~*{clear:both}

/* B171: gestao compacta, todos os dados no card do pedido. */
.b171-pedido{width:100%;box-sizing:border-box}
.b171-resumo{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0;cursor:pointer;color:#123d57}
.b171-resumo::-webkit-details-marker{display:none}
.b171-resumo strong{display:block;font-size:20px;overflow-wrap:anywhere}
.b171-curso{display:block;font-size:18px;font-weight:700;margin-top:10px}
.b171-status{display:block;font-size:14px;color:#527080;margin-top:8px}
.b171-abrir{display:block;padding:13px 18px;border-radius:10px;background:#23883d;color:white;font-weight:700;text-align:center;flex-shrink:0}
.b171-pedido[open]>.b171-resumo .b171-abrir{background:#123d57}
.b171-resumo:focus-visible{outline:3px solid #b8ddc4;outline-offset:6px}
.b171-conteudo{border-top:1px solid #dde8ed;padding-top:24px;margin-top:20px;min-width:0}
@media(max-width:700px){.b171-resumo{align-items:stretch;flex-direction:column;gap:16px}.b171-abrir{width:100%;box-sizing:border-box}.b171-resumo strong{font-size:18px}}

/* B172: lista unica de acompanhamento e gestao. */
.b171-resumo>span:first-child{flex:1;min-width:0}
.b172-proximo{display:block;background:#eff7f3;border-left:4px solid #23883d;border-radius:10px;padding:14px 16px;margin-top:16px}
.b172-proximo b{display:block;font-size:15px}.b172-proximo>span{display:block;font-size:14px;line-height:1.6;margin-top:6px}
.b171-resumo .b171-abrir{max-width:230px;white-space:normal}
@media(max-width:700px){.b171-resumo .b171-abrir{max-width:none}}

/* B173: proporcoes e hierarquia do card de gestao. */
.bolsa-pedidos-main .b171-pedido{border:0;background:transparent;padding:0;margin:0;border-radius:0}
.bolsa-pedidos-main .b171-resumo{font-weight:400;border:0;padding:0;margin:0;gap:24px;align-items:flex-start;background:transparent}
.bolsa-pedidos-main .b171-resumo strong{font-size:18px;line-height:1.4;font-weight:700}
.bolsa-pedidos-main .b171-curso{font-size:17px;line-height:1.4;font-weight:600;margin-top:8px}
.bolsa-pedidos-main .b171-status{font-size:13px;font-weight:400;line-height:1.5;margin-top:8px}
.bolsa-pedidos-main .b172-proximo{padding:12px 14px;margin-top:14px}
.bolsa-pedidos-main .b172-proximo b{font-size:14px;line-height:1.5;font-weight:700}
.bolsa-pedidos-main .b172-proximo>span{font-size:14px;line-height:1.6;font-weight:400;margin-top:5px}
.bolsa-pedidos-main .b171-resumo .b171-abrir{box-sizing:border-box;width:180px;max-width:180px;min-width:0;padding:12px 16px;margin:0;font-size:14px;line-height:1.5;font-weight:600;white-space:normal;overflow-wrap:anywhere;align-self:center;border-radius:9px}
@media(max-width:700px){.bolsa-pedidos-main .b171-resumo{gap:16px}.bolsa-pedidos-main .b171-resumo .b171-abrir{width:100%;max-width:none;align-self:stretch}.bolsa-pedidos-main .b171-resumo strong{font-size:17px}}
