.knowledge-page{--kc-bg:#07180f;--kc-card:#0c2416;--kc-border:rgba(112,184,133,.2);--kc-muted:#9bb3a3;--kc-text:#eef8f1;--kc-green:#63ec82;padding-bottom:36px}.knowledge-page *{box-sizing:border-box}.help-icon{width:22px;height:22px;display:inline-block;vertical-align:middle}.knowledge-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);min-height:330px;margin:2px 0 28px;padding:44px 48px;border:1px solid rgba(100,233,133,.24);border-radius:24px;background:radial-gradient(circle at 82% 30%,rgba(75,235,114,.18),transparent 32%),linear-gradient(135deg,#0b2918 0%,#071a10 55%,#0a2315 100%);box-shadow:0 24px 70px rgba(0,0,0,.24)}.knowledge-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(120,220,145,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(120,220,145,.035) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,#000,transparent)}.knowledge-hero-copy{position:relative;z-index:2;align-self:center}.knowledge-kicker,.feature-label{display:inline-flex;align-items:center;gap:7px;color:#80ef9a;font-size:10px;font-weight:900;letter-spacing:.16em}.knowledge-hero h1{margin:9px 0 8px;color:#fff;font-size:38px;line-height:1.08;letter-spacing:-.035em}.knowledge-hero p{max-width:680px;margin:0 0 23px;color:#b0c7b7;font-size:14px}.knowledge-search{display:flex;align-items:center;max-width:720px;min-height:56px;padding:6px 7px 6px 18px;border:1px solid rgba(142,226,163,.28);border-radius:15px;background:rgba(5,19,11,.82);box-shadow:0 12px 30px rgba(0,0,0,.2)}.knowledge-search svg{flex:0 0 auto;color:#7ba88a}.knowledge-search input{min-width:0;flex:1;padding:0 13px;border:0!important;outline:0;background:transparent!important;color:#ecf8ef;font-size:13px;box-shadow:none!important}.knowledge-search button{height:42px;padding:0 21px;border:0;border-radius:10px;background:#61e97f;color:#06220e;font-size:12px;font-weight:900;cursor:pointer}.knowledge-quick-links{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px;color:#7f9d88;font-size:10px}.knowledge-quick-links a{padding:5px 9px;border:1px solid rgba(120,191,139,.18);border-radius:999px;color:#bfdbc6;text-decoration:none}.knowledge-quick-links a:hover{border-color:#5fe57d;color:#75f091}.knowledge-hero-art{position:relative;z-index:1;min-height:235px}.art-card{position:absolute;border:1px solid rgba(124,227,151,.3);border-radius:20px;background:linear-gradient(150deg,rgba(19,66,37,.95),rgba(7,29,16,.96));box-shadow:0 25px 55px rgba(0,0,0,.34)}.art-card-main{right:26px;top:18px;width:285px;height:205px;padding:20px;transform:rotate(-2deg)}.art-window{display:flex;gap:6px}.art-window span{width:7px;height:7px;border-radius:50%;background:#5ee47c;opacity:.55}.art-search{height:30px;margin:19px 0 16px;border-radius:8px;background:rgba(104,238,138,.12);box-shadow:inset 0 0 0 1px rgba(115,221,142,.15)}.art-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.art-grid i{height:48px;border-radius:10px;background:linear-gradient(135deg,rgba(105,239,139,.2),rgba(105,239,139,.04));border:1px solid rgba(115,221,142,.12)}.art-orbit{position:absolute;border:1px dashed rgba(91,226,126,.22);border-radius:50%}.orbit-one{right:-20px;top:-15px;width:330px;height:290px}.orbit-two{right:55px;top:30px;width:190px;height:190px}.art-float{position:absolute;display:grid;place-items:center;width:56px;height:56px;border:1px solid rgba(121,226,148,.28);border-radius:16px;background:#10331e;color:#71eb8e;box-shadow:0 14px 32px rgba(0,0,0,.26)}.art-book{right:286px;top:52px;transform:rotate(-8deg)}.art-check{right:4px;bottom:19px;transform:rotate(7deg)}.art-bolt{right:248px;bottom:5px;width:45px;height:45px;border-radius:13px;color:#e2cc67}.knowledge-section{margin:30px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:17px}.section-heading.compact{margin-bottom:12px}.section-heading h2,.search-result-head h2{margin:4px 0 4px;color:#eef8f1;font-size:22px;letter-spacing:-.02em}.section-heading p{margin:0;color:#91aa99;font-size:12px}.section-action{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #2a603c;border-radius:10px;color:#bcebc7;text-decoration:none;font-size:11px;font-weight:800}.section-action .help-icon{width:17px}.knowledge-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.knowledge-category{--tone:#61e97f;position:relative;display:flex;align-items:center;gap:14px;min-height:116px;padding:18px;border:1px solid var(--kc-border);border-radius:17px;background:linear-gradient(145deg,rgba(13,41,24,.95),rgba(7,25,14,.96));color:#eef8f1;text-decoration:none;transition:.2s ease;overflow:hidden}.knowledge-category:before{content:"";position:absolute;inset:auto -35px -55px auto;width:130px;height:130px;border-radius:50%;background:var(--tone);opacity:.06}.knowledge-category:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--tone) 54%,transparent);box-shadow:0 18px 35px rgba(0,0,0,.2)}.category-icon,.mini-icon{display:grid;place-items:center;flex:0 0 auto;width:46px;height:46px;border-radius:13px;background:color-mix(in srgb,var(--tone) 13%,transparent);color:var(--tone)}.category-content{display:block;min-width:0}.category-content strong{display:block;margin-bottom:5px;font-size:14px}.category-content small{display:-webkit-box;overflow:hidden;color:#90aa98;font-size:10.5px;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}.category-arrow{margin-left:auto;color:#668974}.category-arrow .help-icon{width:17px}.tone-emerald{--tone:#61e97f}.tone-lime{--tone:#a4ed69}.tone-cyan{--tone:#63d9e8}.tone-violet{--tone:#ad8bff}.tone-orange{--tone:#f5a75f}.tone-green{--tone:#5be4a1}.tone-blue{--tone:#72a8ff}.tone-amber{--tone:#f2c869}.tone-rose{--tone:#f47f9c}.tone-purple{--tone:#c184ff}.tone-teal{--tone:#58d5c7}.tone-indigo{--tone:#8b9cff}.tone-pink{--tone:#ed87d5}.knowledge-feature-grid{display:grid;grid-template-columns:1.55fr .75fr;gap:14px;margin:28px 0}.knowledge-feature{position:relative;min-height:225px;padding:26px;border:1px solid var(--kc-border);border-radius:20px;overflow:hidden}.feature-flow{background:radial-gradient(circle at 92% 20%,rgba(85,220,123,.13),transparent 33%),linear-gradient(145deg,#0d2c1a,#081d11)}.feature-release{background:radial-gradient(circle at 80% 15%,rgba(173,139,255,.2),transparent 38%),linear-gradient(145deg,#151b34,#0b1427)}.knowledge-feature h2{margin:7px 0 7px;font-size:21px}.knowledge-feature p{max-width:670px;color:#9eb5a5;font-size:12px}.flow-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:22px 0}.flow-line span{padding:7px 10px;border:1px solid rgba(112,213,139,.24);border-radius:9px;background:rgba(15,55,30,.75);color:#d8eee0;font-size:10px;font-weight:800}.flow-line b{color:#54d875}.feature-link{display:inline-flex;align-items:center;gap:8px;color:#71ee8e;text-decoration:none;font-size:11px;font-weight:900}.feature-link .help-icon{width:16px}.release-icon{position:absolute;right:21px;top:21px;display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:rgba(176,143,255,.14);color:#c4a8ff}.popular-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.popular-list>a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;min-height:82px;padding:14px 16px;border:1px solid var(--kc-border);border-radius:14px;background:rgba(9,31,18,.84);color:#edf8f0;text-decoration:none}.popular-list>a:hover{border-color:#388b52;background:#0d3820}.popular-number{color:#58df78;font-size:10px;font-weight:900}.popular-list strong{display:block;font-size:12px}.popular-list small{display:block;margin-top:4px;color:#87a190;font-size:10px}.popular-list .help-icon{width:17px;color:#668974}.search-result-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}.help-shell{display:grid;grid-template-columns:275px minmax(0,1fr);gap:18px;align-items:start}.help-sidebar,.help-content,.test-card{border:1px solid var(--kc-border);border-radius:18px;background:rgba(8,29,16,.9)}.help-sidebar{position:sticky;top:84px;padding:13px;max-height:calc(100vh - 110px);overflow:auto}.help-sidebar-title{display:flex;align-items:center;gap:10px;padding:10px 8px 14px;border-bottom:1px solid rgba(105,151,119,.17)}.help-sidebar-title>span{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#143e24;color:#67e985}.help-sidebar-title .help-icon{width:18px}.help-sidebar-title strong,.help-sidebar-title small{display:block}.help-sidebar-title strong{font-size:12px}.help-sidebar-title small{margin-top:2px;color:#7f9987;font-size:9px}.help-group{margin:16px 8px 6px;color:#6f9479;font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.help-link{display:flex;align-items:center;gap:9px;padding:8px;border-radius:10px;color:#bed0c3;text-decoration:none;font-size:11px;transition:.15s}.help-link:hover,.help-link.active{background:#123820;color:#79ed94}.help-link .mini-icon{width:30px;height:30px;border-radius:8px}.help-link .help-icon{width:15px}.help-content{overflow:hidden}.article-header{--tone:#61e97f;display:flex;gap:19px;padding:27px 29px;border-bottom:1px solid rgba(105,151,119,.17);background:radial-gradient(circle at 95% 10%,color-mix(in srgb,var(--tone) 12%,transparent),transparent 35%),linear-gradient(145deg,rgba(17,54,31,.72),rgba(8,29,16,.92))}.article-icon{display:grid;place-items:center;flex:0 0 auto;width:60px;height:60px;border-radius:17px;background:color-mix(in srgb,var(--tone) 13%,transparent);color:var(--tone)}.article-icon .help-icon{width:28px;height:28px}.help-meta{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.help-badge{padding:4px 8px;border:1px solid rgba(112,201,135,.18);border-radius:999px;background:rgba(28,73,42,.62);color:#a8d9b4;font-size:9px;font-weight:800}.article-header h1{margin:0 0 5px;color:#f4fbf6;font-size:25px;letter-spacing:-.025em}.help-summary{margin:0;color:#9fb5a5;font-size:12px}.article-index{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:13px 29px;border-bottom:1px solid rgba(105,151,119,.14);background:rgba(5,20,11,.46)}.article-index strong{margin-right:4px;color:#789584;font-size:9px;text-transform:uppercase;letter-spacing:.12em}.article-index a{padding:5px 8px;border-radius:7px;background:rgba(26,64,38,.52);color:#a8c9b1;text-decoration:none;font-size:9px}.help-section{display:grid;grid-template-columns:40px 1fr;gap:16px;padding:25px 29px;border-top:1px solid rgba(105,151,119,.14);scroll-margin-top:95px}.help-section:first-of-type{border-top:0}.section-marker{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#123a21;color:#6de98a;font-size:9px;font-weight:900}.section-body h2{margin:4px 0 9px;color:#ebf7ee;font-size:16px}.section-body>p{margin:0;color:#b3c4b8;font-size:12px;line-height:1.7}.help-list{display:grid;gap:8px;margin:11px 0 0;padding:0;list-style:none}.help-list li{display:flex;align-items:flex-start;gap:9px;color:#b7c9bc;font-size:11.5px;line-height:1.55}.help-list li>span{display:grid;place-items:center;flex:0 0 auto;width:18px;height:18px;margin-top:1px;border-radius:50%;background:#143e24;color:#66e584;font-size:9px;font-weight:900}.help-steps{display:grid;gap:9px;margin:12px 0 0;padding:0;list-style:none}.help-steps li{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(110,175,128,.15);border-radius:10px;background:rgba(12,43,24,.5);color:#c0d0c4;font-size:11.5px}.help-steps li>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#1b5130;color:#72ed8f;font-size:9px;font-weight:900}.help-callout{display:flex;align-items:flex-start;gap:12px;margin-top:12px;padding:14px 15px;border:1px solid rgba(248,189,77,.25);border-left:4px solid #efc461;border-radius:11px;background:rgba(97,67,14,.16)}.help-callout>span{color:#efc461}.help-callout .help-icon{width:20px}.help-callout strong{display:block;color:#f0d999;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.help-callout p{margin:4px 0 0;color:#d5c8a5;font-size:11.5px;line-height:1.55}.article-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 24px 24px;padding:20px 22px;border:1px solid rgba(102,223,133,.22);border-radius:15px;background:linear-gradient(135deg,rgba(17,60,32,.86),rgba(8,29,16,.92))}.article-footer h3{margin:4px 0 4px;font-size:15px}.article-footer p{margin:0;color:#8ea494;font-size:10.5px}.article-footer .btn{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.article-footer .help-icon{width:16px}.help-empty{padding:24px;text-align:center;color:#95aa9b}.hom-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:16px 0}.test-list{display:grid;gap:12px}.test-card{padding:17px}.test-head{display:grid;grid-template-columns:1fr 180px auto;gap:12px;align-items:center}.test-code{font-size:10px;color:#66dd85;letter-spacing:.1em}.test-card h3{font-size:15px;margin:3px 0}.test-meta{font-size:11px;color:#91aa99}.test-body{display:none;padding-top:15px;margin-top:14px;border-top:1px solid rgba(105,151,119,.2)}.test-card.open .test-body{display:block}.test-body h4{font-size:12px;margin:13px 0 6px;color:#a9d8b4}.test-body p,.test-body li{font-size:12.5px;line-height:1.6}.test-form{display:grid;grid-template-columns:180px 1fr auto;gap:10px;align-items:end;margin-top:14px}.test-card[data-status="aprovado"]{border-color:#2f8a4b}.test-card[data-status="reprovado"]{border-color:#a84f42}.test-card[data-status="bloqueado"]{border-color:#a17b33}.help-dashboard{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:15px 0}.help-stat{background:rgba(8,31,18,.88);border:1px solid #275137;border-radius:14px;padding:15px}.help-stat strong{display:block;font-size:24px}.help-stat span{font-size:11px;color:#9fb2a4}@media(max-width:1180px){.knowledge-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-hero{grid-template-columns:1fr .7fr}.art-card-main{right:0}.art-book{right:245px}.knowledge-feature-grid{grid-template-columns:1fr}}@media(max-width:900px){.knowledge-hero{grid-template-columns:1fr;padding:32px}.knowledge-hero-art{display:none}.help-shell{grid-template-columns:1fr}.help-sidebar{position:relative;top:auto;max-height:none}.knowledge-category-grid,.popular-list{grid-template-columns:1fr 1fr}.article-footer{align-items:flex-start;flex-direction:column}.test-head,.test-form{grid-template-columns:1fr}.help-dashboard{grid-template-columns:1fr 1fr}}@media(max-width:620px){.knowledge-hero{padding:25px 20px}.knowledge-hero h1{font-size:30px}.knowledge-search{display:grid;grid-template-columns:auto 1fr}.knowledge-search button{grid-column:1/-1;width:100%;margin-top:5px}.knowledge-category-grid,.popular-list{grid-template-columns:1fr}.section-heading,.search-result-head{align-items:flex-start;flex-direction:column}.article-header{padding:22px 18px}.article-index,.help-section{padding-left:18px;padding-right:18px}.help-section{grid-template-columns:1fr}.section-marker{display:none}.flow-line{align-items:flex-start;flex-direction:column}.flow-line b{transform:rotate(90deg);margin-left:18px}}

/* RC16.30.10h — Homologação Responsive Containment (dark + light) */
.test-card{min-width:0;overflow:hidden}
.test-head{
  grid-template-columns:minmax(0,1fr) minmax(96px,150px) auto;
}
.test-head>div{min-width:0}
.test-head .help-badge{
  max-width:150px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
}
.test-head .js-toggle-test{min-width:88px;white-space:nowrap}
.test-code,.test-card h3,.test-meta{overflow-wrap:anywhere}
.hom-toolbar select{min-width:0;max-width:100%}
@media(max-width:1120px){
  .test-head{grid-template-columns:minmax(0,1fr) auto}
  .test-head .help-badge{grid-column:1/2;justify-self:start;max-width:180px}
  .test-head .js-toggle-test{grid-column:2;grid-row:1/3}
}
@media(max-width:760px){
  .test-head{grid-template-columns:1fr}
  .test-head .help-badge,.test-head .js-toggle-test{grid-column:auto;grid-row:auto;justify-self:stretch;max-width:none}
  .hom-toolbar{display:grid;grid-template-columns:1fr 1fr}
  .hom-toolbar select{grid-column:1/-1;width:100%}
}

/* RC16.30.10cd — Knowledge Center Light Contrast Hotfix
   Alertas de "Regra importante" no tema claro usam contraste próprio,
   sem afetar a aparência consolidada do tema escuro. */
html[data-theme="light"] .knowledge-page .help-callout{
  background:#fff8e8!important;
  border-color:#e8cd82!important;
  border-left-color:#d99b20!important;
  box-shadow:0 5px 14px rgba(92,72,24,.06)!important;
}
html[data-theme="light"] .knowledge-page .help-callout>span{
  color:#b77908!important;
}
html[data-theme="light"] .knowledge-page .help-callout strong{
  color:#5f4a14!important;
}
html[data-theme="light"] .knowledge-page .help-callout p{
  color:#545b54!important;
}
