:root{--navy:#020b1b;--navy2:#031328;--navy3:#061d3b;--gold:#d49b2a;--gold2:#f2c75b;--text:#f8fbff;--muted:#b9c6d8;--panel:rgba(4,16,35,.78);--border:rgba(212,155,42,.28);--line:rgba(255,255,255,.12);--shadow:0 24px 70px rgba(0,0,0,.42)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:linear-gradient(180deg,#020914,#05162f 54%,#020a16);color:var(--text)}a{text-decoration:none;color:inherit}.app{min-height:100vh;display:grid;grid-template-columns:286px 1fr}.sidebar{height:100vh;position:sticky;top:0;background:linear-gradient(180deg,#03142c 0%,#020916 100%);border-right:1px solid rgba(212,155,42,.34);padding:26px 22px;display:flex;flex-direction:column;gap:22px;z-index:20}.brand{display:flex;align-items:center;gap:14px;padding-bottom:8px}.brand-logo{width:76px;height:76px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(212,155,42,.42),0 18px 38px rgba(0,0,0,.45)}.brand h1{font-size:20px;margin:0;letter-spacing:.06em}.brand p{margin:4px 0 0;color:var(--gold2);font-size:12px}.nav-group{display:flex;flex-direction:column;gap:7px}.divider{height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:.62;margin:6px 0}.nav-link{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:14px;color:#e9eff8;font-size:15px;border:1px solid transparent;transition:.25s ease}.nav-link svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8}.nav-link:hover,.nav-link.active{background:linear-gradient(90deg,rgba(212,155,42,.25),rgba(255,255,255,.045));border-color:rgba(212,155,42,.3);transform:translateX(4px)}.nav-link.active{color:var(--gold2)}.sidebar-footer{margin-top:auto;padding-top:18px;border-top:1px solid rgba(212,155,42,.24);display:flex;align-items:center;gap:12px}.version-dot{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(212,155,42,.1);color:var(--gold2);border:1px solid rgba(212,155,42,.3);font-weight:900}.version-text strong{display:block;color:#fff}.version-text span{font-size:12px;color:var(--gold2);font-weight:700}.main{min-width:0;overflow:hidden}.hero{position:relative;height:420px;min-height:420px;background-image:linear-gradient(90deg,rgba(2,8,18,.92),rgba(2,13,30,.28),rgba(2,8,18,.7)),url('../assets/rio-bg.svg');background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(212,155,42,.25)}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 30%,rgba(212,155,42,.18),transparent 26%),linear-gradient(180deg,transparent 62%,#020b1b 100%)}.hero:after{content:"";position:absolute;inset:0;background-image:url('../assets/logo-yaba.png');background-repeat:no-repeat;background-size:460px;background-position:center 46%;opacity:.04;filter:blur(.2px)}.hero-inner{position:relative;z-index:2;text-align:center;display:flex;align-items:center;gap:34px;padding:0 36px;filter:drop-shadow(0 28px 50px rgba(0,0,0,.45))}.hero-logo{width:220px;height:220px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 1px rgba(212,155,42,.45),0 0 50px rgba(212,155,42,.18)}.hero-separator{width:1px;height:165px;background:linear-gradient(transparent,var(--gold2),transparent)}.hero-title{text-align:left}.hero-title h2{margin:0;font-family:"Playfair Display",Georgia,serif;font-size:60px;letter-spacing:.08em;color:var(--gold2);line-height:1}.hero-title p{margin:12px 0 0;font-size:21px;letter-spacing:.22em;text-transform:uppercase;color:#fff}.content{position:relative;z-index:3;max-width:1240px;margin:-64px auto 0;padding:0 36px 44px}.welcome-panel{border:1px solid rgba(212,155,42,.26);border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.1),rgba(255,255,255,.035));box-shadow:var(--shadow);backdrop-filter:blur(16px);padding:28px 32px;margin-bottom:32px}.welcome-top{display:grid;grid-template-columns:88px 1fr;gap:22px;align-items:center}.welcome-icon,.card-icon{display:grid;place-items:center;border:1px solid rgba(212,155,42,.35);background:rgba(212,155,42,.08);color:var(--gold2)}.welcome-icon{width:76px;height:76px;border-radius:50%}.welcome-icon svg,.card-icon svg{stroke:currentColor;fill:none;stroke-width:1.7}.welcome-icon svg{width:38px;height:38px}.welcome-panel h2{margin:0;font-size:31px}.welcome-panel p{margin:10px 0 0;color:#d9e4f2;line-height:1.65}.feature-row{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:24px}.feature{display:flex;align-items:center;gap:10px;padding:12px 10px;border-left:1px solid rgba(255,255,255,.12);color:#e4ecf8}.feature:first-child{border-left:0}.feature svg{width:27px;height:27px;stroke:var(--gold2);fill:none;stroke-width:1.8}.section-title{text-align:center;margin:34px auto 24px}.section-title small{color:var(--gold2);letter-spacing:.22em;text-transform:uppercase;font-weight:800}.section-title h2{font-size:34px;margin:8px 0 0}.select-cta{display:inline-flex;align-items:center;gap:14px;color:var(--gold2);font-size:27px;font-weight:900;text-shadow:0 0 18px rgba(212,155,42,.55),0 5px 14px rgba(0,0,0,.45);cursor:pointer;transition:.28s ease}.select-cta:hover{transform:translateY(-2px);filter:brightness(1.25)}.select-cta:before,.select-cta:after{content:"";width:88px;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}.grid{display:grid;gap:18px}.areas-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.support-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:880px;margin:0 auto}.card{position:relative;padding:25px 21px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 48px rgba(0,0,0,.28);overflow:hidden;transition:.3s ease}.card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 24% 0,rgba(212,155,42,.18),transparent 32%);opacity:.9}.card:hover{transform:translateY(-8px);border-color:rgba(212,155,42,.44);box-shadow:0 28px 72px rgba(0,0,0,.42)}.card-icon{position:relative;width:64px;height:64px;border-radius:20px;margin-bottom:18px}.card-icon svg{width:32px;height:32px}.card h3{position:relative;margin:0 0 9px;font-size:22px}.card p{position:relative;color:#d5dfec;margin:0 0 22px;line-height:1.55;font-size:14px}.btn{position:relative;display:inline-flex;align-items:center;gap:10px;padding:11px 18px;border-radius:12px;border:1px solid rgba(212,155,42,.45);background:linear-gradient(135deg,rgba(212,155,42,.28),rgba(212,155,42,.08));font-weight:800;transition:.25s ease}.btn svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2}.card:hover .btn,.btn:hover{background:linear-gradient(135deg,var(--gold),#a77113);box-shadow:0 0 22px rgba(212,155,42,.36)}.page-header{padding:44px 36px}.page-card{max-width:1100px;margin:0 auto;padding:32px;border-radius:24px;background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow)}.page-card h1{margin:0 0 10px;font-size:38px}.page-card p{color:#cbd8e8;line-height:1.65}.list-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.mini{padding:20px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.11)}.mini h3{margin:0 0 8px}.mini p{margin:0;color:#cbd8e8}.placeholder{display:grid;place-items:center;min-height:360px;border:1px dashed rgba(212,155,42,.42);border-radius:18px;text-align:center;padding:24px}.footer{padding:26px 36px;border-top:1px solid rgba(212,155,42,.18);display:flex;justify-content:space-between;gap:18px;color:#b8c5d8;background:rgba(0,0,0,.18)}.footer strong{color:var(--gold2)}.reveal{opacity:0;transform:translateY(18px);transition:.65s ease}.reveal.visible{opacity:1;transform:none}@media(max-width:1180px){.app{grid-template-columns:94px 1fr}.brand{justify-content:center}.brand h1,.brand p,.nav-link span,.version-text{display:none}.sidebar{padding:22px 14px}.nav-link{justify-content:center}.areas-grid{grid-template-columns:repeat(3,1fr)}.feature-row{grid-template-columns:repeat(3,1fr)}.hero-logo{width:170px;height:170px}.hero-title h2{font-size:46px}}@media(max-width:820px){.app{display:block}.sidebar{position:static;height:auto;overflow-x:auto;flex-direction:row;padding:12px}.brand,.sidebar-footer{display:none}.nav-group{flex-direction:row}.divider{display:none}.nav-link{white-space:nowrap}.hero{height:330px;min-height:330px}.hero-inner{gap:18px;flex-direction:column}.hero-separator{display:none}.hero-logo{width:150px;height:150px}.hero-title{text-align:center}.hero-title h2{font-size:36px}.hero-title p{font-size:13px}.content{margin:-44px auto 0;padding:0 16px 32px}.welcome-top{grid-template-columns:1fr;text-align:center}.welcome-icon{margin:0 auto}.feature-row,.areas-grid,.support-grid,.list-cards{grid-template-columns:1fr}.feature{border-left:0;border-top:1px solid rgba(255,255,255,.12);justify-content:center}.feature:first-child{border-top:0}.select-cta{font-size:20px}.select-cta:before,.select-cta:after{width:36px}.footer{flex-direction:column;text-align:center}}

/* V1.1 - busca, notificações, status dos agentes e calendário pequeno */
.utility-bar{display:grid;grid-template-columns:1fr auto;gap:16px;margin-bottom:20px;align-items:center}.global-search{position:relative;border:1px solid rgba(212,155,42,.26);background:linear-gradient(135deg,rgba(255,255,255,.1),rgba(255,255,255,.035));box-shadow:0 18px 48px rgba(0,0,0,.25);border-radius:18px;display:flex;align-items:center;padding:0 16px;min-height:58px;backdrop-filter:blur(14px)}.global-search svg{width:22px;height:22px;stroke:var(--gold2);fill:none;stroke-width:2;margin-right:10px}.global-search input{width:100%;background:transparent;border:0;outline:0;color:#fff;font:600 15px Inter,Arial,sans-serif}.global-search input::placeholder{color:#9fb0c6}.notify-button{position:relative;width:58px;height:58px;border-radius:18px;border:1px solid rgba(212,155,42,.35);background:linear-gradient(135deg,rgba(212,155,42,.22),rgba(255,255,255,.04));color:var(--gold2);cursor:pointer;transition:.25s ease;box-shadow:0 18px 48px rgba(0,0,0,.25)}.notify-button:hover{transform:translateY(-3px);filter:brightness(1.15)}.notify-button svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.9}.notify-badge{position:absolute;top:-7px;right:-7px;width:24px;height:24px;border-radius:999px;background:#e85252;color:#fff;font-size:12px;font-weight:900;display:grid;place-items:center;box-shadow:0 0 0 4px rgba(2,11,27,.85);transition:.2s ease}
.notify-badge.is-hidden{opacity:0;transform:scale(.6);pointer-events:none}.search-results{display:none;position:absolute;left:0;right:0;top:calc(100% + 10px);background:#061429;border:1px solid rgba(212,155,42,.28);border-radius:18px;box-shadow:0 24px 65px rgba(0,0,0,.48);padding:10px;z-index:50}.search-results.open{display:block}.search-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;color:#eaf1fb;transition:.2s ease}.search-result:hover{background:rgba(212,155,42,.14)}.search-result strong{display:block}.search-result small{color:#9fb0c6}.search-empty{padding:12px 14px;color:#9fb0c6}.notification-toast{position:fixed;right:28px;top:24px;z-index:80;width:320px;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#071a35,#031022);border:1px solid rgba(212,155,42,.34);box-shadow:0 24px 75px rgba(0,0,0,.48);display:none}.notification-toast.show{display:block;animation:toastIn .28s ease}.notification-toast strong{display:block;color:#fff}.notification-toast span{display:block;color:#b8c6d9;margin-top:5px;font-size:13px}@keyframes toastIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}.ops-grid{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:18px;margin:10px 0 34px}.ops-card{border:1px solid rgba(212,155,42,.24);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));box-shadow:0 18px 48px rgba(0,0,0,.27);padding:20px;min-height:216px}.ops-head{display:flex;align-items:center;gap:10px;padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1)}.ops-head span{font-size:20px}.ops-head h3{margin:0;font-size:20px}.agent-list,.agenda-list,.notice-list{display:flex;flex-direction:column;gap:12px}.agent-item,.notice{display:flex;gap:11px;align-items:flex-start}.agent-item strong,.agenda-list strong,.notice strong{display:block;color:#fff;font-size:14px;line-height:1.35}.agent-item small,.notice small,.agenda-list time{display:block;color:#9fb0c6;font-size:12px;margin-top:3px}.status-dot{width:11px;height:11px;border-radius:50%;margin-top:5px;box-shadow:0 0 16px currentColor}.status-dot.online{background:#5ee282;color:#5ee282}.status-dot.dev{background:#f4b841;color:#f4b841}.agenda-list div{padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06)}.notice span{width:10px;height:10px;border-radius:50%;background:#5aa7ff;margin-top:5px}.notice.new span{background:#e85252}.mini-link{display:inline-flex;margin-top:16px;color:var(--gold2);font-weight:800;font-size:13px}.footer span{display:block;color:#91a4bd;font-size:12px;margin-top:4px}@media(max-width:1180px){.ops-grid{grid-template-columns:1fr}.utility-bar{grid-template-columns:1fr auto}}@media(max-width:820px){.utility-bar{grid-template-columns:1fr}.notify-button{width:100%;height:52px}.ops-grid{grid-template-columns:1fr}.notification-toast{left:16px;right:16px;top:16px;width:auto}.footer span{display:inline;margin-left:6px}}

/* v1.1 - Correção da pesquisa global: mantém os resultados acima dos cards */
.utility-bar{
  position: relative;
  z-index: 9000;
}
.global-search{
  position: relative;
  z-index: 9100;
}
.search-results{
  z-index: 9999 !important;
  max-height: 420px;
  overflow-y: auto;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.welcome-panel,
.ops-grid,
.sector-grid,
.hero,
.main-content,
.content-card{
  position: relative;
}
.welcome-panel,
.ops-grid,
.sector-grid,
.content-card{
  z-index: 1;
}
.search-result{
  text-decoration: none;
}
.search-results::-webkit-scrollbar{
  width: 8px;
}
.search-results::-webkit-scrollbar-track{
  background: rgba(255,255,255,.04);
  border-radius: 999px;
}
.search-results::-webkit-scrollbar-thumb{
  background: rgba(212,155,42,.45);
  border-radius: 999px;
}

/* V1.1 - Hub Aflora e transição entre empresas */
.transition-overlay{position:fixed;inset:0;background:rgba(4,7,18,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);z-index:99999;display:grid;place-items:center;opacity:0;pointer-events:none;transition:opacity .28s ease}.transition-overlay.is-active{opacity:1;pointer-events:auto}.transition-card{display:flex;align-items:center;gap:14px;padding:18px 24px;border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.04));border:1px solid rgba(250,172,37,.38);box-shadow:0 30px 90px rgba(0,0,0,.45);color:#fff;font-weight:900}.transition-card .aflora-mark{width:42px;height:42px}
.theme-aflora{--aflora:#d13f74;--aflora-dark:#7c173e;--aflora-gold:#faac25;--aflora-cream:#fcf9f0;--aflora-soft:#ffdeed;--aflora-text:#4b2333;background:radial-gradient(circle at 70% 10%,rgba(250,172,37,.18),transparent 38%),linear-gradient(135deg,#2b1020 0%,#4a1730 35%,#170812 100%);color:#fff}.aflora-sidebar{background:linear-gradient(180deg,#4b102b 0%,#2b0c1a 68%,#170710 100%);border-right:1px solid rgba(250,172,37,.28)}.aflora-brand .aflora-mark{width:54px;height:54px}.aflora-mark{display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,var(--aflora),var(--aflora-gold));color:white;font:900 24px Inter,Arial,sans-serif;box-shadow:0 18px 45px rgba(209,63,116,.35), inset 0 1px 0 rgba(255,255,255,.35)}.nav-section-label{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,222,237,.65);font-weight:900;padding:8px 12px 3px}.aflora-sidebar .divider{background:linear-gradient(90deg,transparent,rgba(250,172,37,.58),transparent)}.aflora-sidebar .nav-link:hover,.aflora-sidebar .nav-link.active{background:linear-gradient(90deg,rgba(250,172,37,.18),rgba(209,63,116,.12));border-color:rgba(250,172,37,.32)}.aflora-sidebar .nav-link.active:before{background:var(--aflora-gold)}.aflora-sidebar .nav-link svg{stroke:#ffdeed}.aflora-sidebar .version-dot{background:linear-gradient(135deg,var(--aflora),var(--aflora-gold));color:#fff}.aflora-main{background:radial-gradient(circle at 90% 8%,rgba(250,172,37,.16),transparent 32%),linear-gradient(160deg,#3b1027 0%,#170812 72%)}.aflora-hero{min-height:420px;position:relative;overflow:hidden;border-bottom:1px solid rgba(250,172,37,.22);background:linear-gradient(135deg,rgba(209,63,116,.96),rgba(95,18,51,.9) 55%,rgba(39,10,27,.96)),radial-gradient(circle at 20% 20%,rgba(252,249,240,.28),transparent 30%)}.aflora-hero:before{content:"";position:absolute;inset:-30%;background:radial-gradient(circle at 22% 15%,rgba(255,222,237,.36),transparent 22%),radial-gradient(circle at 78% 25%,rgba(250,172,37,.22),transparent 20%),linear-gradient(115deg,transparent 0 45%,rgba(255,255,255,.06) 45% 46%,transparent 46% 100%);opacity:.88}.aflora-hero:after{content:"";position:absolute;right:-100px;bottom:-120px;width:420px;height:420px;border-radius:50%;border:1px solid rgba(250,172,37,.35);box-shadow:inset 0 0 80px rgba(250,172,37,.08),0 0 70px rgba(250,172,37,.16)}.aflora-hero-content{position:relative;z-index:2;max-width:820px;padding:86px 42px 80px}.aflora-hero .eyebrow{display:inline-flex;color:#2b0c1a;background:var(--aflora-gold);padding:8px 12px;border-radius:999px;font-weight:950;font-size:12px;letter-spacing:.16em;box-shadow:0 10px 30px rgba(250,172,37,.25)}.aflora-hero h1{font:900 clamp(44px,6vw,74px) Inter,Arial,sans-serif;letter-spacing:-.06em;margin:18px 0 14px;color:#fff;line-height:.95;text-shadow:0 16px 42px rgba(43,12,26,.55)}.aflora-hero p{font-size:18px;line-height:1.7;color:#ffe8f1;max-width:650px;margin:0 0 24px}.aflora-cta{display:inline-flex;align-items:center;gap:8px;padding:14px 18px;border-radius:15px;background:linear-gradient(135deg,var(--aflora-gold),#ffd56d);color:#441222;font-weight:950;box-shadow:0 18px 44px rgba(250,172,37,.25);transition:.24s ease}.aflora-cta:hover{transform:translateY(-3px);filter:brightness(1.06)}.aflora-content{margin:-70px auto 0}.aflora-panel,.aflora-ops,.aflora-card,.aflora-page-card{border-color:rgba(250,172,37,.28);background:linear-gradient(180deg,rgba(255,222,237,.10),rgba(252,249,240,.045));box-shadow:0 22px 70px rgba(0,0,0,.28)}.aflora-icon{background:linear-gradient(135deg,var(--aflora),var(--aflora-gold));color:#fff;box-shadow:0 22px 52px rgba(209,63,116,.24)}.aflora-icon svg,.aflora-card .card-icon svg{stroke:#fff}.aflora-card .card-icon{background:linear-gradient(135deg,var(--aflora),var(--aflora-gold));box-shadow:0 16px 44px rgba(209,63,116,.24)}.aflora-card:hover{border-color:rgba(250,172,37,.55);box-shadow:0 32px 80px rgba(209,63,116,.22);transform:translateY(-8px)}.aflora-card .btn,.aflora-ops .mini-link,.aflora-select{color:var(--aflora-gold)}.aflora-card .btn{background:linear-gradient(135deg,rgba(250,172,37,.18),rgba(209,63,116,.16));border-color:rgba(250,172,37,.26)}.aflora-select{text-shadow:0 0 24px rgba(250,172,37,.4)}.aflora-search{border-color:rgba(250,172,37,.33);background:linear-gradient(135deg,rgba(255,222,237,.12),rgba(209,63,116,.06))}.aflora-search svg{stroke:var(--aflora-gold)}.aflora-notify{border-color:rgba(250,172,37,.4);background:linear-gradient(135deg,rgba(250,172,37,.22),rgba(209,63,116,.10));color:var(--aflora-gold)}.aflora-toast{border-color:rgba(250,172,37,.38);background:linear-gradient(135deg,#4b102b,#2b0c1a)}.aflora-footer{border-top-color:rgba(250,172,37,.2)}.aflora-page-header{min-height:100vh;padding:44px;display:grid;place-items:center}.aflora-page-card{max-width:980px}.aflora-page-card h1{font-size:clamp(38px,6vw,66px)}.group-switch{text-decoration:none;color:inherit;padding:0}.group-switch:hover strong{color:var(--aflora-gold)}@media(max-width:820px){.aflora-hero{min-height:340px}.aflora-hero-content{padding:54px 22px 72px}.aflora-content{margin:-46px auto 0}.aflora-page-header{padding:20px}.nav-section-label{display:none}}

/* V1.1 - ajustes Aflora: banner limpo, projetos reorganizados e transição mais elegante */
.theme-aflora .transition-overlay{
  background: radial-gradient(circle at 50% 35%, rgba(250,172,37,.16), transparent 30%), rgba(29, 6, 18, .82);
  transition: opacity .34s ease;
}
.theme-aflora .transition-card{
  min-width: 300px;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(145deg, rgba(255,222,237,.16), rgba(209,63,116,.10));
  border-color: rgba(250,172,37,.48);
  color: #fcf9f0;
  transform: translateY(10px) scale(.98);
  transition: .34s ease;
}
.theme-aflora .transition-overlay.is-active .transition-card{
  transform: translateY(0) scale(1);
}
.theme-aflora .transition-card:after{
  content:"";
  width: 160px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #faac25, transparent);
  animation: afloraLoad 1.05s ease-in-out infinite;
}
@keyframes afloraLoad{0%,100%{opacity:.35;transform:scaleX(.55)}50%{opacity:1;transform:scaleX(1)}}

.aflora-hero-clean{
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 46px 32px;
  background:
    radial-gradient(circle at 22% 40%, rgba(255,222,237,.30), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(250,172,37,.16), transparent 24%),
    linear-gradient(120deg, rgba(209,63,116,.92), rgba(101,19,54,.94) 48%, rgba(39,9,27,.98));
}
.aflora-hero-clean:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg, transparent 0 43%, rgba(255,255,255,.055) 43% 44%, transparent 44% 100%),
    radial-gradient(circle at 50% 105%, rgba(250,172,37,.16), transparent 32%);
  opacity:.9;
}
.aflora-hero-clean:after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-150px;
  width:390px;
  height:390px;
  border-radius:50%;
  border:1px solid rgba(250,172,37,.34);
  box-shadow:inset 0 0 90px rgba(250,172,37,.09),0 0 80px rgba(250,172,37,.14);
}
.aflora-hero-brand{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  width:min(940px, 100%);
  padding:26px 32px;
  border-radius:32px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border:1px solid rgba(250,172,37,.22);
  box-shadow:0 32px 90px rgba(36,7,22,.34);
  backdrop-filter: blur(10px);
}
.aflora-logo-slot{
  width:150px;
  height:150px;
  border-radius:34px;
  display:grid;
  place-items:center;
  background:
    linear-gradient(135deg, rgba(252,249,240,.96), rgba(255,222,237,.86));
  border:1px dashed rgba(250,172,37,.8);
  box-shadow:0 24px 60px rgba(209,63,116,.35), inset 0 1px 0 rgba(255,255,255,.75);
}
.aflora-logo-slot span{
  text-align:center;
  color:#d13f74;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:13px;
  line-height:1.35;
}
.aflora-hero-separator{
  width:1px;
  height:130px;
  background:linear-gradient(transparent,#faac25,transparent);
}
.aflora-hero-name strong{
  display:block;
  color:#fff;
  font:900 clamp(46px, 7vw, 84px) Inter, Arial, sans-serif;
  letter-spacing:-.055em;
  line-height:.9;
  text-shadow:0 24px 55px rgba(43,12,26,.58);
}
.aflora-hero-name span{
  display:block;
  margin-top:14px;
  color:#faac25;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:17px;
}
.aflora-content{margin:-34px auto 0;}
.aflora-panel{margin-bottom:22px;}
.aflora-project-shell{
  margin:30px auto 34px;
  padding:28px;
  border-radius:28px;
  border:1px solid rgba(250,172,37,.24);
  background:linear-gradient(135deg, rgba(255,222,237,.085), rgba(255,255,255,.025));
  box-shadow:0 26px 80px rgba(0,0,0,.26);
}
.aflora-project-title{
  text-align:center;
  max-width:780px;
  margin:0 auto 24px;
}
.aflora-project-title small{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#faac25;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:950;
  font-size:12px;
}
.aflora-project-title small:before,
.aflora-project-title small:after{
  content:"";
  width:62px;
  height:1px;
  background:linear-gradient(90deg, transparent, #faac25, transparent);
}
.aflora-project-title h2{
  margin:10px 0 8px;
  color:#fff;
  font-size:clamp(28px, 3.1vw, 42px);
  letter-spacing:-.04em;
}
.aflora-project-title p{
  margin:0;
  color:#ffdeed;
  opacity:.82;
  line-height:1.65;
}
.aflora-project-grid{
  grid-template-columns:repeat(2,minmax(280px, 420px));
  justify-content:center;
  gap:24px;
}
.aflora-project-grid .aflora-card{
  min-height:310px;
  padding:30px;
}
.aflora-project-grid .aflora-card h3{
  font-size:25px;
}
.aflora-project-grid .aflora-card p{
  font-size:15px;
  min-height:92px;
}
.aflora-project-grid .aflora-card .btn{
  width:100%;
  justify-content:center;
}
@media(max-width:820px){
  .aflora-hero-clean{min-height:310px;padding:34px 16px;}
  .aflora-hero-brand{flex-direction:column;gap:18px;padding:24px 18px;}
  .aflora-logo-slot{width:118px;height:118px;border-radius:28px;}
  .aflora-hero-separator{width:160px;height:1px;background:linear-gradient(90deg,transparent,#faac25,transparent)}
  .aflora-hero-name{text-align:center;}
  .aflora-hero-name span{font-size:13px;}
  .aflora-project-shell{padding:20px;margin-top:22px;}
  .aflora-project-title small:before,.aflora-project-title small:after{width:28px;}
  .aflora-project-grid{grid-template-columns:1fr;}
}


/* V1.1 - refinamento Aflora + busca glassmorphism por tema */
/* Busca padrão/Yabá em glassmorphism */
.search-results{
  background:linear-gradient(145deg,rgba(4,18,38,.82),rgba(2,10,24,.68)) !important;
  border:1px solid rgba(212,155,42,.34) !important;
  box-shadow:0 32px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06) !important;
  backdrop-filter:blur(22px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(22px) saturate(125%) !important;
}
.search-result{
  border:1px solid transparent;
}
.search-result:hover{
  background:linear-gradient(90deg,rgba(212,155,42,.18),rgba(255,255,255,.055)) !important;
  border-color:rgba(212,155,42,.22);
  transform:translateX(3px);
}

/* Busca Aflora no tom da marca */
.theme-aflora .search-results{
  background:linear-gradient(145deg,rgba(255,222,237,.82),rgba(252,249,240,.72)) !important;
  border:1px solid rgba(250,172,37,.56) !important;
  box-shadow:0 34px 92px rgba(45,7,25,.48), inset 0 1px 0 rgba(255,255,255,.72) !important;
  backdrop-filter:blur(24px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(24px) saturate(130%) !important;
}
.theme-aflora .search-result{
  color:#4b2333;
  border:1px solid transparent;
}
.theme-aflora .search-result:hover{
  background:linear-gradient(90deg,rgba(250,172,37,.22),rgba(209,63,116,.12)) !important;
  border-color:rgba(209,63,116,.18);
  transform:translateX(3px);
}
.theme-aflora .search-result strong{color:#4b2333;}
.theme-aflora .search-result small{color:rgba(75,35,51,.72);}
.theme-aflora .search-empty{color:rgba(75,35,51,.72);}
.theme-aflora .search-results::-webkit-scrollbar-track{background:rgba(209,63,116,.07);}
.theme-aflora .search-results::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#d13f74,#faac25);}

/* Banner Aflora mais premium e menos pesado */
.aflora-hero-clean{
  min-height:320px;
  background:
    radial-gradient(circle at 24% 34%, rgba(255,222,237,.27), transparent 26%),
    radial-gradient(circle at 78% 25%, rgba(250,172,37,.16), transparent 23%),
    linear-gradient(120deg, rgba(209,63,116,.88), rgba(105,22,57,.94) 48%, rgba(36,8,25,.98));
}
.aflora-hero-brand{
  width:min(860px,100%);
  padding:24px 34px;
  border-radius:30px;
  background:linear-gradient(135deg,rgba(255,255,255,.105),rgba(255,255,255,.035));
  border:1px solid rgba(250,172,37,.30);
  box-shadow:0 30px 86px rgba(37,7,23,.38), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter:blur(18px) saturate(125%);
  -webkit-backdrop-filter:blur(18px) saturate(125%);
}
.aflora-logo-slot{
  width:132px;
  height:132px;
  border-radius:32px;
  background:linear-gradient(145deg,rgba(252,249,240,.92),rgba(255,222,237,.80));
  box-shadow:0 22px 58px rgba(209,63,116,.28), inset 0 1px 0 rgba(255,255,255,.78);
}
.aflora-hero-separator{height:118px;opacity:.88;}
.aflora-hero-name strong{
  font-family:"Playfair Display", Georgia, serif;
  font-weight:800;
  letter-spacing:.035em;
  font-size:clamp(48px,6vw,76px);
  line-height:.95;
  text-transform:uppercase;
  text-shadow:0 22px 55px rgba(43,12,26,.48);
}
.aflora-hero-name span{
  margin-top:12px;
  font-size:15px;
  letter-spacing:.22em;
  color:#ffd56d;
}
.aflora-logo-slot span{
  color:#d13f74;
  letter-spacing:.15em;
  font-size:12px;
}

@media(max-width:820px){
  .aflora-hero-brand{padding:22px 18px;}
  .aflora-logo-slot{width:112px;height:112px;}
  .aflora-hero-name strong{font-size:42px;}
}


/* V1.1 - Pesquisa com glassmorphism escuro e legível */
.search-results{
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 12px);
  z-index:120 !important;
  max-height:430px;
  overflow-y:auto;
  padding:12px;
  border-radius:22px;
  background:linear-gradient(145deg,rgba(6,18,38,.94),rgba(2,10,24,.91)) !important;
  border:1px solid rgba(212,155,42,.34) !important;
  box-shadow:0 30px 85px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.07) !important;
  backdrop-filter:blur(14px) saturate(120%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(120%) !important;
}
.search-results.open{display:block;}
.search-result{
  display:grid !important;
  grid-template-columns:40px 1fr auto;
  align-items:center;
  gap:12px;
  padding:13px 14px;
  margin:4px 0;
  border-radius:16px;
  color:#f2f7ff !important;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.065) !important;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.search-result:hover{
  background:linear-gradient(90deg,rgba(212,155,42,.18),rgba(255,255,255,.06)) !important;
  border-color:rgba(212,155,42,.36) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  transform:translateX(4px);
}
.search-icon{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(212,155,42,.14);
  border:1px solid rgba(212,155,42,.24);
  font-size:17px;
}
.search-copy strong{display:block;color:#fff;font-size:15px;line-height:1.2;}
.search-copy small{display:block;color:#aebed3;font-size:12px;margin-top:4px;}
.search-arrow{color:var(--gold2);font-weight:900;font-size:18px;}
.search-empty{padding:14px 16px;color:#b8c6d9;background:rgba(255,255,255,.035);border-radius:14px;}
.search-results::-webkit-scrollbar{width:8px;}
.search-results::-webkit-scrollbar-track{background:rgba(255,255,255,.04);border-radius:999px;}
.search-results::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(212,155,42,.85),rgba(240,190,90,.55));border-radius:999px;}

/* V1.1 - Variação da pesquisa para Aflora, ainda escura e legível */
.theme-aflora .search-results{
  background:linear-gradient(145deg,rgba(69,14,38,.94),rgba(34,7,22,.92)) !important;
  border:1px solid rgba(250,172,37,.42) !important;
  box-shadow:0 32px 88px rgba(35,5,20,.66), inset 0 1px 0 rgba(255,222,237,.10) !important;
  backdrop-filter:blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(125%) !important;
}
.theme-aflora .search-result{
  color:#fff8fb !important;
  background:rgba(255,222,237,.055) !important;
  border:1px solid rgba(255,222,237,.10) !important;
}
.theme-aflora .search-result:hover{
  background:linear-gradient(90deg,rgba(209,63,116,.25),rgba(250,172,37,.16)) !important;
  border-color:rgba(250,172,37,.35) !important;
  box-shadow:0 14px 36px rgba(45,7,25,.35);
}
.theme-aflora .search-icon{
  background:linear-gradient(135deg,rgba(209,63,116,.34),rgba(250,172,37,.18));
  border-color:rgba(250,172,37,.32);
}
.theme-aflora .search-copy strong{color:#fff !important;}
.theme-aflora .search-copy small{color:rgba(255,232,241,.78) !important;}
.theme-aflora .search-arrow{color:#faac25;}
.theme-aflora .search-empty{color:rgba(255,232,241,.82);background:rgba(255,222,237,.055);}
.theme-aflora .search-results::-webkit-scrollbar-track{background:rgba(255,222,237,.055);}
.theme-aflora .search-results::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#d13f74,#faac25);}

/* V1.1 - Aflora light theme redesign */
body.theme-aflora{
  --aflora-primary:#d13f74;
  --aflora-gold:#faac25;
  --aflora-cream:#fcf9f0;
  --aflora-pink:#ffdeed;
  --aflora-text:#4b2333;
  --aflora-muted:#7b4b5e;
  background:
    radial-gradient(circle at 15% 8%, rgba(255,222,237,.95), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(250,172,37,.18), transparent 24%),
    linear-gradient(180deg,#fcf9f0 0%,#fff8fb 48%,#fcf9f0 100%);
  color:var(--aflora-text);
}
body.theme-aflora .sidebar.aflora-sidebar{
  background:linear-gradient(180deg,#fff 0%,#fcf9f0 100%);
  border-right:1px solid rgba(209,63,116,.18);
  box-shadow:18px 0 46px rgba(209,63,116,.08);
}
body.theme-aflora .aflora-brand .aflora-mark,
body.theme-aflora .transition-card .aflora-mark{
  background:linear-gradient(135deg,#d13f74,#faac25);
  color:#fff;
  box-shadow:0 14px 34px rgba(209,63,116,.28);
}
body.theme-aflora .brand h1,
body.theme-aflora .version-text strong{color:#4b2333}
body.theme-aflora .brand p,
body.theme-aflora .version-text span{color:#d13f74}
body.theme-aflora .nav-section-label{color:#d13f74;opacity:.85}
body.theme-aflora .nav-link{color:#5f3445;border:1px solid transparent}
body.theme-aflora .nav-link:hover,
body.theme-aflora .nav-link.active{
  color:#d13f74;
  background:linear-gradient(90deg,rgba(209,63,116,.12),rgba(255,222,237,.55));
  border-color:rgba(209,63,116,.18);
  box-shadow:0 8px 24px rgba(209,63,116,.09);
}
body.theme-aflora .nav-link.active{box-shadow:inset 4px 0 0 #d13f74,0 8px 24px rgba(209,63,116,.09)}
body.theme-aflora .divider{background:linear-gradient(90deg,transparent,#faac25,transparent);opacity:.75}
body.theme-aflora .sidebar-footer{border-top:1px solid rgba(209,63,116,.16)}
body.theme-aflora .version-dot{background:rgba(209,63,116,.1);color:#d13f74;border-color:rgba(209,63,116,.24)}

body.theme-aflora .aflora-main{background:transparent;color:var(--aflora-text)}
body.theme-aflora .aflora-hero{
  min-height:320px;
  height:320px;
  background:
    radial-gradient(circle at 50% 44%,rgba(255,222,237,.9),transparent 29%),
    radial-gradient(circle at 18% 18%,rgba(250,172,37,.22),transparent 22%),
    radial-gradient(circle at 84% 18%,rgba(209,63,116,.16),transparent 24%),
    linear-gradient(135deg,#ffffff 0%,#fcf9f0 48%,#ffedf5 100%);
  border-bottom:1px solid rgba(209,63,116,.14);
  box-shadow:0 24px 80px rgba(209,63,116,.12);
  overflow:hidden;
}
body.theme-aflora .aflora-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle at 2px 2px,rgba(209,63,116,.12) 1px,transparent 1px),
    linear-gradient(120deg,transparent 0%,transparent 52%,rgba(250,172,37,.12) 52%,transparent 64%);
  background-size:34px 34px,100% 100%;
  opacity:.55;
}
body.theme-aflora .aflora-hero:after{
  content:"";
  position:absolute;
  width:360px;height:360px;
  right:-140px;top:-150px;
  border-radius:50%;
  border:1px solid rgba(209,63,116,.18);
  box-shadow:0 0 0 34px rgba(255,222,237,.42),0 0 0 68px rgba(250,172,37,.09);
}
body.theme-aflora .aflora-hero-brand{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:32px;padding:0 28px}
body.theme-aflora .aflora-logo-slot{
  width:132px;height:132px;border-radius:32px;
  background:rgba(255,255,255,.82);
  border:1px dashed rgba(209,63,116,.38);
  box-shadow:0 26px 70px rgba(209,63,116,.16),inset 0 1px 0 rgba(255,255,255,.9);
}
body.theme-aflora .aflora-logo-slot span{color:#d13f74;font-weight:950;letter-spacing:.14em}
body.theme-aflora .aflora-hero-separator{height:108px;background:linear-gradient(transparent,#faac25,transparent)}
body.theme-aflora .aflora-hero-name strong{
  color:#d13f74;
  font-family:"Playfair Display",Georgia,serif;
  letter-spacing:.035em;
  text-shadow:0 8px 28px rgba(209,63,116,.12);
}
body.theme-aflora .aflora-hero-name span{color:#8f3659;font-weight:900;letter-spacing:.18em}
body.theme-aflora .aflora-content{margin:-32px auto 0}

body.theme-aflora .welcome-panel,
body.theme-aflora .aflora-project-shell,
body.theme-aflora .ops-card,
body.theme-aflora .page-card{
  background:rgba(255,255,255,.88);
  color:var(--aflora-text);
  border:1px solid rgba(209,63,116,.14);
  box-shadow:0 20px 55px rgba(209,63,116,.10);
  backdrop-filter:blur(12px);
}
body.theme-aflora .welcome-panel p,
body.theme-aflora .page-card p,
body.theme-aflora .mini p{color:var(--aflora-muted)}
body.theme-aflora .welcome-panel h2,
body.theme-aflora .section-title h2,
body.theme-aflora .aflora-project-title h2,
body.theme-aflora .page-card h1{color:#4b2333}
body.theme-aflora .welcome-icon,
body.theme-aflora .aflora-icon,
body.theme-aflora .card-icon{
  background:linear-gradient(135deg,rgba(255,222,237,.9),rgba(252,249,240,.96));
  color:#d13f74;
  border-color:rgba(209,63,116,.24);
}
body.theme-aflora .aflora-project-title small{color:#d13f74}
body.theme-aflora .aflora-project-title small:before,
body.theme-aflora .aflora-project-title small:after{background:linear-gradient(90deg,transparent,#faac25,transparent)}
body.theme-aflora .aflora-project-title p{color:#7b4b5e;opacity:1}
body.theme-aflora .aflora-card,
body.theme-aflora .card.aflora-card{
  background:#fff;
  color:var(--aflora-text);
  border:1px solid rgba(209,63,116,.14);
  box-shadow:0 16px 45px rgba(209,63,116,.10);
}
body.theme-aflora .aflora-card:before{background:radial-gradient(circle at 20% 0,rgba(255,222,237,.85),transparent 36%)}
body.theme-aflora .aflora-card h3{color:#4b2333}
body.theme-aflora .aflora-card p{color:#7b4b5e}
body.theme-aflora .aflora-card:hover{border-color:rgba(250,172,37,.7);box-shadow:0 24px 70px rgba(209,63,116,.17)}
body.theme-aflora .btn,
body.theme-aflora .mini-link{
  color:#4b2333;
  border-color:rgba(250,172,37,.65);
  background:linear-gradient(135deg,rgba(250,172,37,.8),rgba(250,172,37,.22));
}
body.theme-aflora .btn:hover,
body.theme-aflora .card:hover .btn{background:linear-gradient(135deg,#faac25,#f7c55a);color:#4b2333;box-shadow:0 0 24px rgba(250,172,37,.35)}

body.theme-aflora .global-search.aflora-search,
body.theme-aflora .global-search{
  background:rgba(255,255,255,.9);
  border-color:rgba(209,63,116,.18);
  box-shadow:0 20px 50px rgba(209,63,116,.10);
}
body.theme-aflora .global-search input{color:#4b2333}
body.theme-aflora .global-search input::placeholder{color:#9c6b7e}
body.theme-aflora .global-search svg{stroke:#d13f74}
body.theme-aflora .search-results{
  background:rgba(255,255,255,.96);
  color:#4b2333;
  border:1px solid rgba(209,63,116,.18);
  box-shadow:0 28px 75px rgba(97,28,55,.20);
  backdrop-filter:blur(10px);
}
body.theme-aflora .search-result-item{border-bottom:1px solid rgba(209,63,116,.10);color:#4b2333}
body.theme-aflora .search-result-item:hover{background:linear-gradient(90deg,rgba(255,222,237,.68),rgba(250,172,37,.16))}
body.theme-aflora .search-result-icon{background:rgba(255,222,237,.8);color:#d13f74;border-color:rgba(209,63,116,.18)}
body.theme-aflora .search-result-meta{color:#8e6071}
body.theme-aflora .notify-button.aflora-notify,
body.theme-aflora .notify-button{
  background:#fff;
  border-color:rgba(209,63,116,.2);
  color:#d13f74;
  box-shadow:0 18px 44px rgba(209,63,116,.10);
}
body.theme-aflora .notify-button svg{stroke:#d13f74}
body.theme-aflora .notify-badge{background:#d13f74;color:#fff}
body.theme-aflora .notification-toast{
  background:#fff;
  color:#4b2333;
  border-color:rgba(209,63,116,.18);
  box-shadow:0 22px 60px rgba(209,63,116,.16);
}
body.theme-aflora .notification-toast span{color:#7b4b5e}
body.theme-aflora .ops-card h3,
body.theme-aflora .notice strong,
body.theme-aflora .agenda-list strong,
body.theme-aflora .agent-item strong{color:#4b2333}
body.theme-aflora .notice small,
body.theme-aflora .agenda-list time,
body.theme-aflora .agent-item small{color:#7b4b5e}
body.theme-aflora .notice.new > span,
body.theme-aflora .status-dot.online{background:#d13f74}
body.theme-aflora .status-dot.dev{background:#faac25}
body.theme-aflora .agent-item{background:#fff;border-color:rgba(209,63,116,.13)}
body.theme-aflora .agent-item:hover{background:#ffdeed}
body.theme-aflora .footer.aflora-footer,
body.theme-aflora .footer{
  color:#7b4b5e;
  background:rgba(255,255,255,.74);
  border-top:1px solid rgba(209,63,116,.12);
}
body.theme-aflora .footer strong{color:#d13f74}
body.theme-aflora .footer span{color:#d13f74}
body.theme-aflora .transition-overlay{background:rgba(252,249,240,.58);backdrop-filter:blur(16px)}
body.theme-aflora .transition-card{background:#fff;color:#4b2333;border:1px solid rgba(209,63,116,.2);box-shadow:0 30px 80px rgba(209,63,116,.18)}


/* V1.1 - Aflora clara com identidade mais forte: branco + rosa + amarelo */
:root{
  --aflora:#d13f74;
  --aflora-gold:#faac25;
  --aflora-bg:#fcf9f0;
  --aflora-soft:#ffdeed;
  --aflora-ink:#4b2234;
  --aflora-muted:#7d5063;
}
body.theme-aflora{
  background:
    radial-gradient(circle at 88% 10%, rgba(250,172,37,.20), transparent 24%),
    radial-gradient(circle at 16% 18%, rgba(255,222,237,.72), transparent 27%),
    linear-gradient(180deg,var(--aflora-bg) 0%,#fff7fb 52%,var(--aflora-bg) 100%);
  color:var(--aflora-ink);
}
.theme-aflora .app{background:transparent;}
.theme-aflora .main.aflora-main{
  background:
    radial-gradient(circle at 88% 5%, rgba(250,172,37,.18), transparent 24%),
    radial-gradient(circle at 10% 28%, rgba(255,222,237,.88), transparent 32%),
    linear-gradient(180deg,var(--aflora-bg) 0%,#fff 46%,#fff8fb 100%) !important;
  color:var(--aflora-ink);
}
.theme-aflora .sidebar.aflora-sidebar{
  background:linear-gradient(180deg,#ffdeed 0%,#fff7fb 55%,#fcf9f0 100%) !important;
  color:var(--aflora-ink);
  border-right:1px solid rgba(209,63,116,.22);
  box-shadow:10px 0 45px rgba(209,63,116,.08);
}
.theme-aflora .brand h1,.theme-aflora .version-text strong{color:var(--aflora-ink)!important;}
.theme-aflora .brand p,.theme-aflora .version-text span{color:var(--aflora)!important;}
.theme-aflora .nav-section-label{color:var(--aflora);opacity:1;}
.theme-aflora .aflora-sidebar .nav-link{color:#69384d;border-color:transparent;}
.theme-aflora .aflora-sidebar .nav-link svg{stroke:#d13f74!important;}
.theme-aflora .aflora-sidebar .nav-link:hover{
  background:rgba(209,63,116,.10)!important;
  border-color:rgba(209,63,116,.20)!important;
  transform:translateX(4px);
}
.theme-aflora .aflora-sidebar .nav-link.active{
  background:linear-gradient(90deg,var(--aflora),#e4568d)!important;
  color:#fff!important;
  border-color:rgba(209,63,116,.42)!important;
  box-shadow:0 12px 32px rgba(209,63,116,.22);
}
.theme-aflora .aflora-sidebar .nav-link.active svg{stroke:#fff!important;}
.theme-aflora .divider{background:linear-gradient(90deg,transparent,rgba(250,172,37,.95),transparent)!important;}
.theme-aflora .version-dot{
  background:linear-gradient(135deg,var(--aflora),var(--aflora-gold))!important;
  color:#fff!important;
  border:0;
}
.theme-aflora .aflora-hero-clean{
  min-height:335px!important;
  background:
    radial-gradient(circle at 18% 40%, rgba(255,222,237,.95), transparent 30%),
    radial-gradient(circle at 92% 16%, rgba(250,172,37,.22), transparent 24%),
    linear-gradient(115deg,#fff 0%,#fff6fa 47%,#ffdeed 100%)!important;
  border-bottom:1px solid rgba(209,63,116,.18);
}
.theme-aflora .aflora-hero-clean:before{
  background:
    radial-gradient(circle at 92% 4%, rgba(209,63,116,.11), transparent 24%),
    linear-gradient(115deg, transparent 0 44%, rgba(209,63,116,.055) 44% 45%, transparent 45% 100%),
    radial-gradient(circle at 0% 80%, rgba(250,172,37,.14), transparent 28%)!important;
}
.theme-aflora .aflora-hero-clean:after{
  border-color:rgba(209,63,116,.18)!important;
  box-shadow:inset 0 0 70px rgba(209,63,116,.06),0 0 55px rgba(250,172,37,.10)!important;
}
.theme-aflora .aflora-hero-brand{
  background:rgba(255,255,255,.78)!important;
  border:1px solid rgba(209,63,116,.22)!important;
  box-shadow:0 24px 70px rgba(209,63,116,.16), inset 0 1px 0 rgba(255,255,255,.82)!important;
  backdrop-filter:blur(10px);
}
.theme-aflora .aflora-logo-slot{
  background:linear-gradient(135deg,#fff,var(--aflora-soft))!important;
  border:1px dashed rgba(209,63,116,.62)!important;
  box-shadow:0 18px 46px rgba(209,63,116,.18)!important;
}
.theme-aflora .aflora-logo-slot span{color:var(--aflora)!important;}
.theme-aflora .aflora-hero-separator{background:linear-gradient(transparent,var(--aflora),transparent)!important;}
.theme-aflora .aflora-hero-name strong{
  color:var(--aflora)!important;
  font-family:"Playfair Display",Georgia,serif!important;
  text-shadow:none!important;
  letter-spacing:.02em!important;
}
.theme-aflora .aflora-hero-name span{color:var(--aflora-gold)!important;}
.theme-aflora .utility-bar{position:relative;z-index:10;}
.theme-aflora .global-search.aflora-search{
  background:rgba(255,255,255,.86)!important;
  border:1px solid rgba(209,63,116,.42)!important;
  box-shadow:0 16px 38px rgba(209,63,116,.12)!important;
  backdrop-filter:blur(12px);
}
.theme-aflora .global-search.aflora-search svg{stroke:var(--aflora)!important;}
.theme-aflora .global-search.aflora-search input{color:var(--aflora-ink)!important;}
.theme-aflora .global-search.aflora-search input::placeholder{color:#9a6579!important;}
.theme-aflora .search-results{
  background:rgba(255,255,255,.96)!important;
  border:1px solid rgba(209,63,116,.25)!important;
  box-shadow:0 30px 70px rgba(209,63,116,.18)!important;
  backdrop-filter:blur(16px);
}
.theme-aflora .search-result{color:var(--aflora-ink)!important;border-bottom:1px solid rgba(209,63,116,.10)!important;}
.theme-aflora .search-result:hover{background:linear-gradient(90deg,rgba(255,222,237,.78),rgba(250,172,37,.14))!important;}
.theme-aflora .search-copy strong{color:var(--aflora-ink)!important;}
.theme-aflora .search-copy small{color:var(--aflora-muted)!important;}
.theme-aflora .search-arrow{color:var(--aflora-gold)!important;}
.theme-aflora .notify-button.aflora-notify{
  background:var(--aflora)!important;
  border-color:rgba(209,63,116,.45)!important;
  color:#fff!important;
  box-shadow:0 16px 36px rgba(209,63,116,.22)!important;
}
.theme-aflora .notify-button.aflora-notify svg{stroke:#fff!important;}
.theme-aflora .notify-badge{background:var(--aflora-gold)!important;color:#3b1027!important;}
.theme-aflora .welcome-panel.aflora-panel{
  background:linear-gradient(135deg,var(--aflora-soft),#fff)!important;
  border:1px solid rgba(209,63,116,.22)!important;
  box-shadow:0 22px 58px rgba(209,63,116,.13)!important;
  color:var(--aflora-ink);
}
.theme-aflora .aflora-panel h2{color:var(--aflora)!important;}
.theme-aflora .aflora-panel p{color:#704158!important;}
.theme-aflora .welcome-icon.aflora-icon,.theme-aflora .aflora-card .card-icon{
  background:linear-gradient(135deg,var(--aflora),var(--aflora-gold))!important;
  color:#fff!important;
  box-shadow:0 18px 44px rgba(209,63,116,.24)!important;
}
.theme-aflora .aflora-project-shell{
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(209,63,116,.18)!important;
  box-shadow:0 28px 80px rgba(209,63,116,.12)!important;
}
.theme-aflora .aflora-project-title small{color:var(--aflora)!important;}
.theme-aflora .aflora-project-title small:before,.theme-aflora .aflora-project-title small:after{background:linear-gradient(90deg,transparent,var(--aflora-gold),transparent)!important;}
.theme-aflora .aflora-project-title h2{color:var(--aflora-ink)!important;}
.theme-aflora .aflora-project-title p{color:var(--aflora-muted)!important;opacity:1!important;}
.theme-aflora .card.aflora-card{
  background:linear-gradient(180deg,#fff,#fff8fb)!important;
  border:1px solid rgba(209,63,116,.22)!important;
  box-shadow:0 20px 58px rgba(209,63,116,.10)!important;
  color:var(--aflora-ink)!important;
}
.theme-aflora .card.aflora-card:before{background:radial-gradient(circle at 18% 0,rgba(255,222,237,.9),transparent 36%)!important;}
.theme-aflora .card.aflora-card:hover{
  border-color:rgba(209,63,116,.52)!important;
  box-shadow:0 28px 70px rgba(209,63,116,.18)!important;
}
.theme-aflora .card.aflora-card h3{color:var(--aflora-ink)!important;}
.theme-aflora .card.aflora-card p{color:#75465a!important;}
.theme-aflora .card.aflora-card .btn{
  background:linear-gradient(135deg,var(--aflora-gold),#ffd679)!important;
  border-color:rgba(250,172,37,.75)!important;
  color:#3a1424!important;
  box-shadow:0 14px 30px rgba(250,172,37,.18)!important;
}
.theme-aflora .card.aflora-card:hover .btn,.theme-aflora .card.aflora-card .btn:hover{
  background:linear-gradient(135deg,var(--aflora),#e65a91)!important;
  color:#fff!important;
}
.theme-aflora .ops-card.aflora-ops{
  background:#fff!important;
  border:1px solid rgba(209,63,116,.18)!important;
  box-shadow:0 20px 55px rgba(209,63,116,.10)!important;
  color:var(--aflora-ink)!important;
}
.theme-aflora .ops-card.aflora-ops h3,.theme-aflora .ops-card.aflora-ops strong{color:var(--aflora-ink)!important;}
.theme-aflora .ops-card.aflora-ops small,.theme-aflora .ops-card.aflora-ops time{color:var(--aflora-muted)!important;}
.theme-aflora .ops-card.aflora-ops .mini-link{color:var(--aflora)!important;}
.theme-aflora .aflora-footer.footer{
  background:linear-gradient(90deg,var(--aflora-soft),#fff7fb)!important;
  border-top:1px solid rgba(209,63,116,.18)!important;
  color:#75465a!important;
}
.theme-aflora .aflora-footer strong{color:var(--aflora)!important;}
.theme-aflora .aflora-footer span{color:var(--aflora-gold)!important;font-weight:800;}
.theme-aflora .notification-toast.aflora-toast{
  background:#fff!important;
  border:1px solid rgba(209,63,116,.28)!important;
  color:var(--aflora-ink)!important;
  box-shadow:0 24px 70px rgba(209,63,116,.18)!important;
}
@media(max-width:820px){
  .theme-aflora .sidebar.aflora-sidebar{background:#ffdeed!important;}
  .theme-aflora .aflora-hero-brand{gap:18px;}
}


/* V1.1 - Aflora com logo oficial + áreas administrativas + Colmeia Social */
.aflora-brand-logo{
  width:70px;height:46px;border-radius:14px;object-fit:contain;background:#fff;padding:6px;border:1px solid rgba(209,63,116,.20);box-shadow:0 10px 26px rgba(209,63,116,.14);
}
.aflora-logo-official{
  width:min(360px, 42vw);max-height:140px;object-fit:contain;background:#fff;border-radius:24px;padding:18px 24px;box-shadow:0 18px 45px rgba(209,63,116,.12);border:1px solid rgba(209,63,116,.18);
}
.theme-aflora .aflora-hero-clean{
  background:
    radial-gradient(circle at 18% 20%, rgba(255,222,237,.9), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(250,172,37,.28), transparent 24%),
    linear-gradient(135deg, #fcf9f0 0%, #ffdeed 48%, #fcf9f0 100%) !important;
}
.theme-aflora .aflora-hero-brand{background:rgba(255,255,255,.74)!important;border-color:rgba(209,63,116,.22)!important;box-shadow:0 26px 70px rgba(209,63,116,.16)!important;}
.theme-aflora .aflora-hero-name strong{color:#d13f74!important;text-shadow:none!important;letter-spacing:-.04em!important;}
.theme-aflora .aflora-hero-name span{color:#faac25!important;}
.theme-aflora .aflora-hero-separator{background:linear-gradient(transparent,#d13f74,transparent)!important;}
.aflora-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0 20px}.aflora-admin-card{display:block;background:#fff;border:1px solid rgba(209,63,116,.18);border-radius:24px;padding:24px;box-shadow:0 18px 45px rgba(209,63,116,.10);transition:.24s ease}.aflora-admin-card span{font-size:30px}.aflora-admin-card h3{color:#d13f74;margin:12px 0 8px;font-size:22px}.aflora-admin-card p{margin:0;color:#7a4558;line-height:1.55}.aflora-admin-card:hover{transform:translateY(-6px);border-color:#faac25;box-shadow:0 24px 60px rgba(209,63,116,.18)}
.nav-link.sub-link{padding-left:24px;font-size:14px}.theme-aflora .nav-section-label{color:#d13f74;letter-spacing:.16em}
@media(max-width:980px){.aflora-admin-grid{grid-template-columns:1fr}.aflora-logo-official{width:min(300px,80vw)}}

/* Colmeia */
.theme-colmeia{background:#F8F5EC;color:#3A2418}.colmeia-main{background:linear-gradient(180deg,#F8F5EC 0%,#fffaf0 55%,#F2E8D5 100%);min-height:100vh}.colmeia-sidebar{background:linear-gradient(180deg,#F2E8D5,#F8F5EC);border-right:1px solid rgba(92,52,33,.18);color:#3A2418}.colmeia-sidebar .brand h1,.colmeia-sidebar .version-text strong{color:#3A2418}.colmeia-sidebar .brand p,.colmeia-sidebar .version-text span{color:#D9A11A}.colmeia-sidebar .nav-link{color:#5C3421}.colmeia-sidebar .nav-link:hover,.colmeia-sidebar .nav-link.active{background:linear-gradient(90deg,rgba(217,161,26,.28),rgba(255,255,255,.48));border-color:rgba(217,161,26,.38);color:#3A2418}.colmeia-sidebar .divider{background:linear-gradient(90deg,transparent,#D9A11A,transparent)}.colmeia-mark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#D9A11A,#E6B63D);color:#3A2418;font-size:32px;font-weight:900;box-shadow:0 14px 32px rgba(217,161,26,.28)}.colmeia-mark.small{width:54px;height:54px;font-size:28px}.colmeia-hero{position:relative;min-height:340px;display:grid;place-items:center;padding:48px 32px;overflow:hidden;background:linear-gradient(135deg,#F8F5EC 0%,#fff7df 45%,#F2E8D5 100%)}.colmeia-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(30deg,rgba(217,161,26,.12) 12%,transparent 12.5%,transparent 87%,rgba(217,161,26,.12) 87.5%,rgba(217,161,26,.12)),linear-gradient(150deg,rgba(217,161,26,.12) 12%,transparent 12.5%,transparent 87%,rgba(217,161,26,.12) 87.5%,rgba(217,161,26,.12));background-size:54px 94px;opacity:.28}.colmeia-hero:after{content:"";position:absolute;right:-120px;top:-120px;width:360px;height:360px;border:1px solid rgba(217,161,26,.32);border-radius:50%;box-shadow:0 0 80px rgba(230,182,61,.22)}.colmeia-hero-brand{position:relative;z-index:1;display:flex;align-items:center;gap:34px;justify-content:center;width:min(880px,100%);padding:28px 34px;background:rgba(255,255,255,.72);border:1px solid rgba(217,161,26,.25);border-radius:32px;box-shadow:0 26px 70px rgba(92,52,33,.12);backdrop-filter:blur(8px)}.colmeia-logo-slot{width:130px;height:130px;border-radius:28px;display:grid;place-items:center;font-size:72px;color:#D9A11A;background:#fff;border:1px dashed rgba(217,161,26,.8)}.colmeia-hero-separator{width:1px;height:120px;background:linear-gradient(transparent,#D9A11A,transparent)}.colmeia-hero-name strong{display:block;font:900 clamp(42px,7vw,78px) Inter,Arial,sans-serif;color:#5C3421;letter-spacing:-.055em;line-height:.9}.colmeia-hero-name span{display:block;margin-top:14px;color:#D9A11A;font-weight:950;letter-spacing:.14em;text-transform:uppercase}.colmeia-content{width:min(1200px,calc(100% - 48px));margin:-30px auto 0;position:relative;z-index:2}.colmeia-search{background:#fff;border:1px solid rgba(217,161,26,.42);box-shadow:0 20px 50px rgba(92,52,33,.10)}.colmeia-search input{color:#3A2418}.colmeia-search input::placeholder{color:#8a6b55}.colmeia-search svg{stroke:#D9A11A}.colmeia-notify{background:#fff;border-color:rgba(217,161,26,.45);color:#D9A11A}.colmeia-panel,.colmeia-project-shell,.colmeia-ops,.colmeia-page-card{background:#fff;border:1px solid rgba(217,161,26,.22);box-shadow:0 18px 55px rgba(92,52,33,.10);border-radius:28px}.colmeia-panel h2,.colmeia-page-card h1{color:#5C3421}.colmeia-panel p,.colmeia-page-card p,.colmeia-card p,.colmeia-project-title p{color:#6b4a35}.colmeia-icon,.colmeia-card .card-icon{color:#D9A11A;border-color:rgba(217,161,26,.30);background:rgba(242,232,213,.45)}.colmeia-project-shell{padding:28px;margin:30px 0}.colmeia-project-title{text-align:center;max-width:760px;margin:0 auto 24px}.colmeia-project-title small{display:inline-flex;color:#D9A11A;font-weight:950;text-transform:uppercase;letter-spacing:.18em}.colmeia-project-title h2{color:#5C3421;margin:10px 0;font-size:clamp(30px,3vw,42px);letter-spacing:-.04em}.colmeia-grid{grid-template-columns:repeat(3,minmax(230px,1fr));gap:22px}.colmeia-card{background:#fff;border:1px solid rgba(217,161,26,.26);border-radius:24px;padding:26px;box-shadow:0 14px 38px rgba(92,52,33,.09);transition:.24s ease}.colmeia-card h3{color:#5C3421}.colmeia-card .btn{background:linear-gradient(90deg,#D9A11A,#E6B63D);color:#3A2418;border-color:rgba(92,52,33,.08)}.colmeia-card:hover{transform:translateY(-6px);box-shadow:0 22px 60px rgba(217,161,26,.24)}.colmeia-ops .mini-link,.colmeia-footer strong{color:#D9A11A}.colmeia-footer{background:#fff;border-top:1px solid rgba(217,161,26,.24);color:#5C3421}.theme-colmeia .search-results{background:rgba(255,255,255,.94)!important;border:1px solid rgba(217,161,26,.38)!important;box-shadow:0 24px 70px rgba(92,52,33,.18)!important;color:#3A2418!important}.theme-colmeia .search-result strong{color:#5C3421}.theme-colmeia .search-result small{color:#7b5b45}.theme-colmeia .search-result:hover{background:rgba(230,182,61,.20)!important}.theme-colmeia .search-icon,.theme-colmeia .search-arrow{color:#D9A11A}.colmeia-transition{background:#fff;color:#5C3421;border-color:rgba(217,161,26,.4)}
@media(max-width:980px){.colmeia-content{width:calc(100% - 24px)}.colmeia-grid{grid-template-columns:1fr}.colmeia-hero-brand{flex-direction:column;text-align:center}.colmeia-hero-separator{width:160px;height:1px;background:linear-gradient(90deg,transparent,#D9A11A,transparent)}}


/* === V1.1 banner cleanup: only official logo in every hub === */
.hero.hero-logo-only{height:315px;min-height:315px;box-shadow:0 22px 55px rgba(0,0,0,.34)}
.hero.hero-logo-only .hero-inner{display:grid;place-items:center;gap:0;padding:0 32px}
.hero.hero-logo-only .hero-logo{width:230px;height:230px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(212,155,42,.45),0 0 55px rgba(212,155,42,.20),0 24px 70px rgba(0,0,0,.42)}
.hero.hero-logo-only .hero-separator,.hero.hero-logo-only .hero-title{display:none!important}

.aflora-hero-clean.aflora-logo-only{min-height:280px;height:280px;display:grid;place-items:center;padding:34px 24px;background:linear-gradient(135deg,#ffdeed 0%,#fcf9f0 52%,#fff 100%);border-bottom:1px solid rgba(209,63,116,.18);box-shadow:0 22px 55px rgba(209,63,116,.12)}
.aflora-hero-clean.aflora-logo-only:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 30%,rgba(209,63,116,.13),transparent 24%),radial-gradient(circle at 82% 20%,rgba(250,172,37,.16),transparent 22%),linear-gradient(115deg,transparent 0 45%,rgba(209,63,116,.055) 45% 47%,transparent 47% 100%);opacity:1}
.aflora-hero-clean.aflora-logo-only:after{content:"";position:absolute;right:-130px;top:-135px;width:360px;height:360px;border-radius:50%;border:1px solid rgba(209,63,116,.16);box-shadow:0 0 70px rgba(250,172,37,.12)}
.aflora-hero-brand-only{position:relative;z-index:2;width:min(610px,78vw);display:grid;place-items:center;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important}
.aflora-official-logo{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 16px 34px rgba(209,63,116,.16))}
.aflora-logo-slot,.aflora-hero-separator,.aflora-hero-name{display:none!important}
.aflora-sidebar-logo{width:170px;max-width:100%;height:auto;display:block;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(209,63,116,.14))}
.aflora-sidebar .brand{justify-content:flex-start;min-height:70px;padding:8px 0 12px}

.theme-colmeia{background:#F8F5EC;color:#3A2418}.colmeia-main{background:linear-gradient(180deg,#F8F5EC 0%,#fffaf0 55%,#F2E8D5 100%);min-height:100vh}.colmeia-sidebar{background:linear-gradient(180deg,#F2E8D5,#F8F5EC);border-right:1px solid rgba(92,52,33,.18);color:#3A2418}.colmeia-sidebar .brand h1,.colmeia-sidebar .version-text strong{color:#3A2418}.colmeia-sidebar .brand p,.colmeia-sidebar .version-text span{color:#D9A11A}.colmeia-sidebar .nav-link{color:#5C3421}.colmeia-sidebar .nav-link:hover,.colmeia-sidebar .nav-link.active{background:linear-gradient(90deg,rgba(217,161,26,.28),rgba(255,255,255,.48));border-color:rgba(217,161,26,.38);color:#3A2418}.colmeia-sidebar .divider{background:linear-gradient(90deg,transparent,#D9A11A,transparent)}.colmeia-mark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#D9A11A,#E6B63D);color:#3A2418;font-size:32px;font-weight:900;box-shadow:0 14px 32px rgba(217,161,26,.28)}.colmeia-mark.small{width:54px;height:54px;font-size:28px}
.colmeia-hero.colmeia-logo-only{position:relative;height:280px;min-height:280px;display:grid;place-items:center;padding:34px 24px;overflow:hidden;background:linear-gradient(135deg,#F8F5EC 0%,#fff7df 45%,#F2E8D5 100%);border-bottom:1px solid rgba(217,161,26,.2);box-shadow:0 22px 55px rgba(92,52,33,.11)}.colmeia-hero.colmeia-logo-only:before{content:"";position:absolute;inset:0;background-image:linear-gradient(30deg,rgba(217,161,26,.12) 12%,transparent 12.5%,transparent 87%,rgba(217,161,26,.12) 87.5%,rgba(217,161,26,.12)),linear-gradient(150deg,rgba(217,161,26,.12) 12%,transparent 12.5%,transparent 87%,rgba(217,161,26,.12) 87.5%,rgba(217,161,26,.12));background-size:54px 94px;opacity:.20}.colmeia-hero.colmeia-logo-only:after{content:"";position:absolute;right:-120px;top:-120px;width:360px;height:360px;border:1px solid rgba(217,161,26,.26);border-radius:50%;box-shadow:0 0 80px rgba(230,182,61,.15)}.colmeia-hero-brand-only{position:relative;z-index:2;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.colmeia-logo-only-mark{display:flex;align-items:center;gap:16px;color:#5C3421;filter:drop-shadow(0 16px 26px rgba(92,52,33,.12))}.colmeia-logo-only-mark span{font-size:74px;color:#D9A11A}.colmeia-logo-only-mark strong{font-family:"Playfair Display",Georgia,serif;font-size:58px;line-height:1;text-transform:lowercase;letter-spacing:-.03em}.colmeia-content{margin-top:-48px}.colmeia-panel,.colmeia-card,.colmeia-ops,.colmeia-footer{background:#fff;border:1px solid rgba(217,161,26,.25);box-shadow:0 18px 48px rgba(92,52,33,.10);color:#3A2418}.colmeia-panel p,.colmeia-card p{color:#5C3421}.colmeia-panel h2,.colmeia-card h3{color:#5C3421}.colmeia-icon,.colmeia-card .card-icon{background:#fff7df;color:#D9A11A;border-color:rgba(217,161,26,.35)}.colmeia-card .btn,.colmeia-card:hover .btn{background:linear-gradient(135deg,#D9A11A,#E6B63D);border-color:#D9A11A;color:#3A2418}.colmeia-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.colmeia-search{background:#fff!important;border:1px solid rgba(217,161,26,.45)!important;color:#3A2418!important}.colmeia-search input{color:#3A2418!important}.colmeia-search svg{stroke:#5C3421}.colmeia-notify{background:#fff;border-color:rgba(217,161,26,.45);color:#5C3421}.colmeia-footer{margin-top:34px}.theme-colmeia .section-title small{color:#D9A11A}.theme-colmeia .section-title h2{color:#3A2418}.theme-colmeia .footer span{display:block;color:#5C3421}

@media(max-width:820px){.hero.hero-logo-only{height:250px;min-height:250px}.hero.hero-logo-only .hero-logo{width:170px;height:170px}.aflora-hero-clean.aflora-logo-only,.colmeia-hero.colmeia-logo-only{height:230px;min-height:230px}.aflora-hero-brand-only{width:min(430px,86vw)}.colmeia-logo-only-mark span{font-size:48px}.colmeia-logo-only-mark strong{font-size:36px}.colmeia-grid{grid-template-columns:1fr}.aflora-sidebar-logo{width:120px}}

/* === V1.1 - correção final dos banners: sem repetição, sem quadrado e com logo proporcional === */
.hero.hero-logo-only{
  height:285px !important;
  min-height:285px !important;
  background:
    linear-gradient(90deg,rgba(2,8,18,.96),rgba(5,24,54,.72),rgba(2,8,18,.86)),
    url('../assets/rio-bg.svg') center/cover no-repeat !important;
  border-bottom:1px solid rgba(212,155,42,.30) !important;
  box-shadow:0 20px 52px rgba(0,0,0,.34) !important;
}
.hero.hero-logo-only:before{
  background:
    radial-gradient(circle at 50% 42%,rgba(212,155,42,.16),transparent 24%),
    linear-gradient(180deg,transparent 64%,rgba(2,11,27,.88) 100%) !important;
}
.hero.hero-logo-only:after{
  opacity:.035 !important;
  background-size:380px !important;
  background-position:center !important;
}
.hero.hero-logo-only .hero-inner{
  width:100%;
  height:100%;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
}
.hero.hero-logo-only .hero-logo,
.hero.hero-logo-only .hero-logo-clean{
  width:168px !important;
  height:168px !important;
  object-fit:contain !important;
  border-radius:50% !important;
  background:transparent !important;
  box-shadow:0 0 0 1px rgba(212,155,42,.30),0 18px 55px rgba(0,0,0,.30),0 0 42px rgba(212,155,42,.13) !important;
}
body:not(.theme-aflora):not(.theme-colmeia) .content{margin-top:-44px !important;}

/* Aflora: banner limpo, logo real sem caixa branca e na proporção certa */
body.theme-aflora .aflora-hero-clean.aflora-logo-only{
  height:265px !important;
  min-height:265px !important;
  padding:24px !important;
  display:grid !important;
  place-items:center !important;
  background:
    radial-gradient(circle at 18% 35%,rgba(255,222,237,.85),transparent 28%),
    radial-gradient(circle at 86% 18%,rgba(250,172,37,.18),transparent 24%),
    linear-gradient(135deg,#fcf9f0 0%,#fff 46%,#ffdeed 100%) !important;
  border-bottom:1px solid rgba(209,63,116,.18) !important;
  box-shadow:0 18px 48px rgba(209,63,116,.10) !important;
}
body.theme-aflora .aflora-hero-clean.aflora-logo-only:before{
  background:
    radial-gradient(circle at 8% 20%,rgba(209,63,116,.12),transparent 22%),
    radial-gradient(circle at 100% 0%,rgba(250,172,37,.13),transparent 26%),
    linear-gradient(115deg,transparent 0 46%,rgba(209,63,116,.045) 46% 48%,transparent 48% 100%) !important;
  opacity:1 !important;
}
body.theme-aflora .aflora-hero-clean.aflora-logo-only:after{
  width:330px !important;
  height:330px !important;
  right:-150px !important;
  top:-150px !important;
  border-color:rgba(209,63,116,.13) !important;
  box-shadow:0 0 0 34px rgba(255,222,237,.22),0 0 70px rgba(250,172,37,.10) !important;
}
body.theme-aflora .aflora-hero-brand-only{
  width:min(470px,70vw) !important;
  height:auto !important;
  display:grid !important;
  place-items:center !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  backdrop-filter:none !important;
}
body.theme-aflora .aflora-official-logo{
  width:100% !important;
  max-height:145px !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 12px 24px rgba(209,63,116,.14)) !important;
}
body.theme-aflora .aflora-content{margin-top:-28px !important;}

/* Colmeia: banner mais baixo e sem texto gigante repetido */
.theme-colmeia .colmeia-hero.colmeia-logo-only{
  height:265px !important;
  min-height:265px !important;
  padding:24px !important;
  background:
    radial-gradient(circle at 24% 36%,rgba(230,182,61,.24),transparent 28%),
    linear-gradient(135deg,#F8F5EC 0%,#fffaf0 46%,#F2E8D5 100%) !important;
  box-shadow:0 18px 48px rgba(92,52,33,.10) !important;
}
.theme-colmeia .colmeia-hero-brand-only{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.theme-colmeia .colmeia-logo-only-mark{
  gap:13px !important;
  padding:14px 20px !important;
  border-radius:26px !important;
  background:rgba(255,255,255,.28) !important;
  border:1px solid rgba(217,161,26,.18) !important;
  backdrop-filter:blur(5px) !important;
}
.theme-colmeia .colmeia-logo-only-mark span{font-size:52px !important;}
.theme-colmeia .colmeia-logo-only-mark strong{
  font-size:42px !important;
  color:#5C3421 !important;
  letter-spacing:-.02em !important;
}
.theme-colmeia .colmeia-content{margin-top:-34px !important;}

@media(max-width:820px){
  .hero.hero-logo-only{height:230px !important;min-height:230px !important;}
  .hero.hero-logo-only .hero-logo{width:132px !important;height:132px !important;}
  body.theme-aflora .aflora-hero-clean.aflora-logo-only,
  .theme-colmeia .colmeia-hero.colmeia-logo-only{height:220px !important;min-height:220px !important;}
  body.theme-aflora .aflora-hero-brand-only{width:min(350px,82vw) !important;}
  body.theme-aflora .aflora-official-logo{max-height:112px !important;}
  .theme-colmeia .colmeia-logo-only-mark strong{font-size:30px !important;}
  .theme-colmeia .colmeia-logo-only-mark span{font-size:38px !important;}
}


/* V1.1 - Avisos automáticos */
.hub-avisos-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px;text-align:left}
.aviso-card{position:relative;border-radius:22px;padding:22px;min-height:170px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 40px rgba(0,0,0,.16);overflow:hidden}
.aviso-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--gold,#d1a23d)}
.aviso-card h3{margin:14px 0 8px;font-size:20px}.aviso-card p{margin:0;color:var(--muted,#b9c4d6);line-height:1.55}.aviso-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.aviso-meta span{color:var(--gold,#d1a23d)}.aviso-meta time{color:var(--muted,#b9c4d6);font-weight:700}.aviso-link{display:inline-flex;margin-top:18px;color:var(--gold,#d1a23d);font-weight:800;text-decoration:none}.prioridade-alta:before{background:#ef4444}.prioridade-alta .aviso-meta span{color:#ef4444}.prioridade-media:before{background:var(--gold,#d1a23d)}.prioridade-baixa:before{background:#22c55e}.prioridade-baixa .aviso-meta span{color:#22c55e}.avisos-loading,.avisos-empty{grid-column:1/-1;padding:28px;border-radius:22px;border:1px dashed rgba(255,255,255,.18);color:var(--muted,#b9c4d6);text-align:center}.theme-aflora .aviso-card{background:#fff;border-color:rgba(209,63,116,.18);box-shadow:0 18px 40px rgba(209,63,116,.08)}.theme-aflora .aviso-card h3{color:#4b2333}.theme-aflora .aviso-card p,.theme-aflora .aviso-meta time{color:#8a5366}.theme-aflora .aviso-card:before{background:#d13f74}.theme-aflora .aviso-meta span,.theme-aflora .aviso-link{color:#d13f74}.theme-aflora .avisos-loading,.theme-aflora .avisos-empty{background:#fff;border-color:#ffdeed;color:#8a5366}.theme-colmeia .aviso-card{background:#fffaf0;border-color:rgba(217,161,26,.26);box-shadow:0 18px 40px rgba(92,52,33,.08)}.theme-colmeia .aviso-card h3{color:#5c3421}.theme-colmeia .aviso-card p,.theme-colmeia .aviso-meta time{color:#7a5948}.theme-colmeia .aviso-card:before{background:#d9a11a}.theme-colmeia .aviso-meta span,.theme-colmeia .aviso-link{color:#b77908}.theme-colmeia .avisos-loading,.theme-colmeia .avisos-empty{background:#fffaf0;border-color:#f2e8d5;color:#7a5948}@media(max-width:980px){.hub-avisos-list{grid-template-columns:1fr}}

/* V1.1 - painel de avisos dinâmico */
.notification-toast{
  width:min(420px, calc(100vw - 32px));
  padding:14px;
}
.toast-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:4px 4px 12px;border-bottom:1px solid rgba(255,255,255,.10);margin-bottom:10px}
.toast-head strong{font-size:17px;color:#fff!important}.toast-head small{font-size:12px;color:#9fb0c6;font-weight:800;text-transform:uppercase;letter-spacing:.07em;margin-top:2px}.toast-list{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow:auto;padding-right:2px}.toast-item{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;text-decoration:none;border-radius:14px;padding:12px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);transition:.2s ease}.toast-item:hover{background:rgba(212,155,42,.13);transform:translateY(-1px)}.toast-priority{font-size:16px}.toast-copy b{display:block;color:#fff;font-size:14px;line-height:1.25}.toast-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#a9b8cc;font-size:12px;line-height:1.35;margin-top:3px}.toast-arrow{color:var(--gold2);font-weight:900}.toast-empty{padding:16px;border-radius:14px;background:rgba(255,255,255,.05);color:#a9b8cc;text-align:center}.toast-all{display:flex;justify-content:center;margin-top:12px;padding:10px 12px;border-radius:12px;text-decoration:none;font-weight:900;color:var(--gold2);background:rgba(212,155,42,.10);border:1px solid rgba(212,155,42,.22)}.aviso-expira{display:block;margin-top:10px;color:var(--muted,#b9c4d6);font-weight:800}
.theme-aflora .notification-toast{background:rgba(255,255,255,.96)!important;border-color:rgba(209,63,116,.24)!important;box-shadow:0 24px 75px rgba(209,63,116,.20)!important}.theme-aflora .toast-head{border-bottom-color:rgba(209,63,116,.14)}.theme-aflora .toast-head strong{color:#4b2333!important}.theme-aflora .toast-head small,.theme-aflora .toast-copy small{color:#8a5366!important}.theme-aflora .toast-item{background:#fff7fb;border-color:rgba(209,63,116,.12)}.theme-aflora .toast-item:hover{background:#ffdeed!important}.theme-aflora .toast-copy b{color:#4b2333}.theme-aflora .toast-arrow,.theme-aflora .toast-all{color:#d13f74}.theme-aflora .toast-all{background:#ffdeed;border-color:rgba(209,63,116,.18)}.theme-aflora .toast-empty{background:#ffdeed;color:#8a5366}
.theme-colmeia .notification-toast{background:rgba(255,250,240,.97)!important;border-color:rgba(217,161,26,.32)!important;box-shadow:0 24px 75px rgba(92,52,33,.18)!important}.theme-colmeia .toast-head{border-bottom-color:rgba(217,161,26,.20)}.theme-colmeia .toast-head strong{color:#3A2418!important}.theme-colmeia .toast-head small,.theme-colmeia .toast-copy small{color:#7a5948}.theme-colmeia .toast-item{background:#fffaf0;border-color:rgba(217,161,26,.22)}.theme-colmeia .toast-item:hover{background:#F2E8D5!important}.theme-colmeia .toast-copy b{color:#5C3421}.theme-colmeia .toast-arrow,.theme-colmeia .toast-all{color:#b77908}.theme-colmeia .toast-all{background:#F2E8D5;border-color:rgba(217,161,26,.24)}.theme-colmeia .toast-empty{background:#F2E8D5;color:#7a5948}

/* V1.1 - painel do sininho posicionado abaixo do botão */
.notification-toast{
  top:88px;
  z-index:120;
}
.notification-toast.show{
  transform-origin:top right;
}
@media(max-width:700px){
  .notification-toast{
    width:auto!important;
    right:16px!important;
    left:16px!important;
  }
}

/* V1.1 - correções finais: sidebar com rolagem e Colmeia Social com brandbook oficial */
.sidebar{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-width:thin;
  scrollbar-color:rgba(212,155,42,.45) transparent;
}
.sidebar::-webkit-scrollbar{width:7px;}
.sidebar::-webkit-scrollbar-track{background:transparent;}
.sidebar::-webkit-scrollbar-thumb{background:rgba(212,155,42,.42);border-radius:999px;}
.sidebar-footer{flex-shrink:0;}
.nav-group{flex-shrink:0;}
@media(max-width:820px){
  .sidebar{overflow-x:auto!important;overflow-y:hidden!important;}
}

/* Colmeia Social - paleta oficial do brandbook */
.theme-colmeia{
  --colmeia-laranja:#FC6200;
  --colmeia-mel:#FF9F00;
  --colmeia-bege:#F9F5F2;
  --colmeia-marrom:#4E2B0F;
}
.theme-colmeia .colmeia-sidebar{
  background:linear-gradient(180deg,#F9F5F2,#fffaf5 72%,#F2E8D5)!important;
  border-right-color:rgba(78,43,15,.18)!important;
}
.theme-colmeia .colmeia-sidebar .nav-link{color:#4E2B0F!important;}
.theme-colmeia .colmeia-sidebar .nav-link:hover,
.theme-colmeia .colmeia-sidebar .nav-link.active{
  background:linear-gradient(90deg,rgba(252,98,0,.16),rgba(255,159,0,.14))!important;
  border-color:rgba(252,98,0,.28)!important;
  color:#4E2B0F!important;
}
.theme-colmeia .colmeia-sidebar .divider{background:linear-gradient(90deg,transparent,#FF9F00,transparent)!important;}
.theme-colmeia .colmeia-sidebar .version-dot{background:rgba(252,98,0,.10)!important;color:#FC6200!important;border-color:rgba(252,98,0,.28)!important;}
.theme-colmeia .colmeia-sidebar .version-text span{color:#FC6200!important;}
.colmeia-brand-logo{
  width:78px!important;
  height:62px!important;
  border-radius:0!important;
  object-fit:contain!important;
  background:transparent!important;
  box-shadow:none!important;
}
.theme-colmeia .colmeia-hero.colmeia-logo-only{
  background:
    radial-gradient(circle at 18% 34%,rgba(255,159,0,.22),transparent 26%),
    radial-gradient(circle at 82% 14%,rgba(252,98,0,.16),transparent 23%),
    linear-gradient(135deg,#F9F5F2 0%,#fffaf5 48%,#F2E8D5 100%)!important;
  border-bottom-color:rgba(252,98,0,.18)!important;
}
.colmeia-official-logo{
  display:block!important;
  width:min(420px,70vw)!important;
  max-height:190px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 16px 28px rgba(78,43,15,.14))!important;
}
.theme-colmeia .colmeia-panel,
.theme-colmeia .colmeia-card,
.theme-colmeia .colmeia-ops,
.theme-colmeia .colmeia-footer{
  border-color:rgba(252,98,0,.18)!important;
  box-shadow:0 18px 48px rgba(78,43,15,.10)!important;
}
.theme-colmeia .colmeia-panel h2,
.theme-colmeia .colmeia-card h3,
.theme-colmeia .colmeia-footer strong{color:#4E2B0F!important;}
.theme-colmeia .colmeia-icon,
.theme-colmeia .colmeia-card .card-icon{
  color:#FC6200!important;
  background:#fff5ea!important;
  border-color:rgba(252,98,0,.28)!important;
}
.theme-colmeia .colmeia-card .btn,
.theme-colmeia .colmeia-card:hover .btn{
  background:linear-gradient(135deg,#FC6200,#FF9F00)!important;
  border-color:#FC6200!important;
  color:#fff!important;
}
.theme-colmeia .colmeia-search,
.theme-colmeia .colmeia-notify{border-color:rgba(252,98,0,.38)!important;}
.theme-colmeia .colmeia-search svg{stroke:#FC6200!important;}
.theme-colmeia .section-title small{color:#FC6200!important;}
@media(max-width:820px){
  .colmeia-official-logo{width:min(320px,78vw)!important;max-height:145px!important;}
  .colmeia-brand-logo{width:58px!important;height:48px!important;}
}

/* V1.1 - calendários incorporados e ajustes finais */
.calendar-frame{width:100%;margin-top:24px;border-radius:22px;overflow:hidden;border:1px solid rgba(212,155,42,.28);box-shadow:0 22px 58px rgba(0,0,0,.18);background:#fff;}
.calendar-embed{width:100%;height:680px;border:0;display:block;background:#fff;}
.theme-aflora .calendar-frame{border-color:rgba(209,63,116,.28);box-shadow:0 22px 58px rgba(209,63,116,.12);}
.theme-colmeia .calendar-frame{border-color:rgba(252,98,0,.22);box-shadow:0 22px 58px rgba(78,43,15,.12);}
.colmeia-sidebar-logo{width:58px;height:58px;object-fit:contain;border-radius:16px;background:#F9F5F2;box-shadow:0 12px 30px rgba(78,43,15,.10);}
@media(max-width:820px){.calendar-embed{height:560px}.calendar-frame{border-radius:18px}}


/* V1.1 - Calendários integrados */
.calendar-embed-shell{
  width:100%;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--border, rgba(255,255,255,.14));
  background:rgba(255,255,255,.04);
  box-shadow:0 24px 70px rgba(0,0,0,.18);
}
.calendar-embed-shell iframe{
  width:100%;
  min-height:680px;
  display:block;
  border:0;
}
.mini-calendar-embed{
  width:100%;
  height:230px;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  margin:12px 0 14px;
}
.mini-calendar-embed iframe{
  width:100%;
  height:300px;
  border:0;
  display:block;
  filter:saturate(.95);
}
.theme-aflora .mini-calendar-embed,.theme-aflora .calendar-embed-shell{
  background:#fff;
  border-color:rgba(209,63,116,.22);
  box-shadow:0 18px 45px rgba(209,63,116,.12);
}
.theme-colmeia .mini-calendar-embed,.theme-colmeia .calendar-embed-shell{
  background:#fff;
  border-color:rgba(252,98,0,.22);
  box-shadow:0 18px 45px rgba(252,98,0,.12);
}
.calendar-note{
  margin-top:12px;
  font-size:.9rem;
  opacity:.72;
}
@media(max-width:720px){
  .calendar-embed-shell iframe{min-height:620px}
  .mini-calendar-embed{height:210px}
}


/* V1.1 - Próximos compromissos sem iframe */
.calendar-events-list{display:grid;gap:12px;margin:10px 0 14px;}
.event-card{padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}
.event-card time{display:block;margin-bottom:4px;font-size:.82rem;font-weight:700;color:#9fb0c8;}
.event-card strong{display:block;color:#fff;font-size:.98rem;line-height:1.25;}
.event-card small{display:block;margin-top:4px;color:#9fb0c8;}
.event-loading,.event-empty{padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.055);border:1px dashed rgba(255,255,255,.12);color:#b7c3d4;}
.event-empty strong{display:block;color:#fff;margin-bottom:4px}.event-empty span{font-size:.88rem;}
.theme-aflora .event-card,.theme-aflora .event-loading,.theme-aflora .event-empty{background:#fff;border-color:rgba(209,63,116,.18);box-shadow:0 12px 32px rgba(209,63,116,.08);}
.theme-aflora .event-card time,.theme-aflora .event-card small,.theme-aflora .event-empty span{color:#9a5b72}.theme-aflora .event-card strong,.theme-aflora .event-empty strong{color:#4b2333}
.theme-colmeia .event-card,.theme-colmeia .event-loading,.theme-colmeia .event-empty{background:#fff;border-color:rgba(252,98,0,.22);box-shadow:0 12px 32px rgba(252,98,0,.08);}
.theme-colmeia .event-card time,.theme-colmeia .event-card small,.theme-colmeia .event-empty span{color:#7a5339}.theme-colmeia .event-card strong,.theme-colmeia .event-empty strong{color:#4E2B0F}


/* V1.1 - padronização das home pages Yabá e Aflora */
.hub-section-shell{
  margin:30px auto 34px;
  padding:28px;
  border-radius:28px;
  border:1px solid rgba(212,155,42,.22);
  background:linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow:0 26px 80px rgba(0,0,0,.26);
}
body.theme-aflora .hub-section-shell{border-color:rgba(250,172,37,.24)}
.hub-section-shell-yaba{background:linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));}
.hub-section-title{
  text-align:center;
  max-width:820px;
  margin:0 auto 24px;
}
.hub-section-title small{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--gold2);
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:950;
  font-size:12px;
}
.hub-section-title small:before,
.hub-section-title small:after{
  content:"";
  width:62px;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hub-section-title h2{
  margin:10px 0 8px;
  color:#fff;
  font-size:clamp(28px, 3.1vw, 42px);
  letter-spacing:-.04em;
}
.hub-section-title p{
  margin:0;
  color:#d5dfec;
  opacity:.88;
  line-height:1.65;
}
.hub-section-title-aflora small{color:#faac25}
.hub-section-title-aflora small:before,
.hub-section-title-aflora small:after{background:linear-gradient(90deg, transparent, #faac25, transparent)}
.hub-section-title-aflora p{color:#ffdeed}
.hub-sector-grid{
  max-width:1120px;
  margin:0 auto;
  gap:24px;
}
.yaba-sector-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.aflora-sector-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.hub-sector-grid .card,
.support-shell .card{min-height:290px;}
.hub-sector-grid .card h3,
.support-shell .card h3{font-size:23px;}
.hub-sector-grid .card p,
.support-shell .card p{font-size:14px;}
.hub-sector-grid .btn,
.support-shell .btn{min-width:140px;justify-content:center}
.support-shell .support-grid{max-width:960px;gap:24px}
.theme-aflora .hub-section-shell,
.theme-aflora .support-shell{
  border-color:rgba(250,172,37,.24);
  background:linear-gradient(135deg, rgba(255,222,237,.085), rgba(255,255,255,.025));
}
.theme-aflora .support-shell .support-grid{max-width:960px}
@media(max-width:1180px){
  .yaba-sector-grid,.aflora-sector-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:820px){
  .hub-section-shell{padding:20px;margin:22px auto 26px}
  .hub-section-title small:before,.hub-section-title small:after{width:28px}
  .yaba-sector-grid,.aflora-sector-grid,.support-shell .support-grid{grid-template-columns:1fr}
  .hub-sector-grid .card,.support-shell .card{min-height:auto}
}


/* V1.1 - correção de contraste dos títulos da Aflora */
.theme-aflora .hub-section-shell .hub-section-title h2,
.theme-aflora .support-shell .hub-section-title h2{
  color:#4b2333 !important;
}
.theme-aflora .hub-section-shell .hub-section-title p,
.theme-aflora .support-shell .hub-section-title p{
  color:#8a5a6f !important;
  opacity:1 !important;
}
.theme-aflora .hub-section-shell .hub-section-title small,
.theme-aflora .support-shell .hub-section-title small{
  color:#f2a114 !important;
}
.theme-aflora .hub-section-shell .hub-section-title small:before,
.theme-aflora .hub-section-shell .hub-section-title small:after,
.theme-aflora .support-shell .hub-section-title small:before,
.theme-aflora .support-shell .hub-section-title small:after{
  background:linear-gradient(90deg, transparent, #f2a114, transparent) !important;
}


/* V1.1 - calendário sem CORS: iframe agenda no card de próximos compromissos */
.home-calendar-frame{
  position:relative;
  width:100%;
  height:245px;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(212,155,42,.22);
  background:rgba(255,255,255,.04);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.home-calendar-embed{
  width:100%;
  height:100%;
  border:0;
  filter:saturate(.92);
}
.theme-aflora .home-calendar-frame{
  border-color:rgba(250,172,37,.28);
  background:rgba(255,255,255,.72);
}
.theme-colmeia .home-calendar-frame{
  border-color:rgba(252,98,0,.28);
  background:rgba(255,255,255,.72);
}
.calendar-card .mini-link,
.aflora-ops .mini-link,
.colmeia-ops .mini-link{
  margin-top:14px;
}
@media(max-width:820px){
  .home-calendar-frame{height:300px;}
}


/* V1.1 - expansão da Colmeia no padrão da Yabá */
.colmeia-section-shell,
.colmeia-support-shell{
  border-color:rgba(252,98,0,.18);
  background:#fff;
  box-shadow:0 18px 48px rgba(92,52,33,.10);
}
.hub-section-title-colmeia small{color:#FC6200 !important;}
.hub-section-title-colmeia small:before,
.hub-section-title-colmeia small:after{background:linear-gradient(90deg, transparent, #FC6200, transparent) !important;}
.hub-section-title-colmeia h2{color:#4E2B0F !important;}
.hub-section-title-colmeia p{color:#7a5339 !important; opacity:1 !important;}
.colmeia-sector-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1120px;margin:0 auto;gap:24px;}
.colmeia-sector-grid .colmeia-card,.colmeia-support-shell .colmeia-card{min-height:290px;}
.colmeia-sector-grid .colmeia-card .btn,.colmeia-support-shell .colmeia-card .btn{display:inline-flex;align-items:center;gap:10px;}
.colmeia-sector-grid .colmeia-card .btn svg,.colmeia-support-shell .colmeia-card .btn svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2;}
.theme-colmeia .hub-section-shell .hub-section-title h2,
.theme-colmeia .support-shell .hub-section-title h2{color:#4E2B0F !important;}
.theme-colmeia .hub-section-shell .hub-section-title p,
.theme-colmeia .support-shell .hub-section-title p{color:#7a5339 !important; opacity:1 !important;}
.theme-colmeia .hub-section-shell .hub-section-title small,
.theme-colmeia .support-shell .hub-section-title small{color:#FC6200 !important;}
.theme-colmeia .hub-section-shell .hub-section-title small:before,
.theme-colmeia .hub-section-shell .hub-section-title small:after,
.theme-colmeia .support-shell .hub-section-title small:before,
.theme-colmeia .support-shell .hub-section-title small:after{background:linear-gradient(90deg, transparent, #FC6200, transparent) !important;}
.theme-colmeia .colmeia-ops .ops-head h3,.theme-colmeia .colmeia-ops .agent-item strong,.theme-colmeia .colmeia-ops .event-empty strong{color:#4E2B0F;}
.theme-colmeia .colmeia-ops .agent-item small,.theme-colmeia .colmeia-ops .event-empty span{color:#7a5339;}
.theme-colmeia .colmeia-ops .mini-link{color:#FC6200;}
@media(max-width:1180px){.colmeia-sector-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:820px){.colmeia-sector-grid,.colmeia-support-shell .support-grid{grid-template-columns:1fr}.colmeia-sector-grid .colmeia-card,.colmeia-support-shell .colmeia-card{min-height:auto;}}


/* V1.1 - Advocacy Saúde: roxo + branco leve, com base visual dos outros hubs */
.theme-advocacy{
  --adv-purple:#5b16b8;
  --adv-purple-2:#7e2fd3;
  --adv-lilac:#efe6ff;
  --adv-lilac-2:#f7f2ff;
  --adv-text:#2b1745;
  --adv-muted:#735f8a;
  background:radial-gradient(circle at 82% 4%,rgba(126,47,211,.14),transparent 32%),linear-gradient(180deg,#ffffff 0%,#f7f2ff 48%,#ffffff 100%);
  color:var(--adv-text);
}
.advocacy-sidebar{
  background:linear-gradient(180deg,#ffffff 0%,#f7f2ff 58%,#efe6ff 100%);
  border-right:1px solid rgba(91,22,184,.16);
  box-shadow:12px 0 40px rgba(91,22,184,.06);
}
.advocacy-sidebar-logo{width:122px;max-width:100%;display:block;filter:drop-shadow(0 12px 22px rgba(91,22,184,.13));}
.advocacy-brand{align-items:center;gap:12px;flex-direction:column;text-align:center;}
.advocacy-brand h1{font-size:17px;color:var(--adv-text);letter-spacing:-.02em;}
.advocacy-brand p{color:var(--adv-purple-2);font-weight:900;letter-spacing:.12em;text-transform:uppercase;}
.advocacy-sidebar .nav-section-label{color:rgba(91,22,184,.58);}
.advocacy-sidebar .divider{background:linear-gradient(90deg,transparent,rgba(126,47,211,.34),transparent);}
.advocacy-sidebar .nav-link{color:#3c2858;}
.advocacy-sidebar .nav-link svg{stroke:#6b35bb;}
.advocacy-sidebar .nav-link:hover,.advocacy-sidebar .nav-link.active{
  background:linear-gradient(90deg,rgba(126,47,211,.14),rgba(255,255,255,.70));
  border-color:rgba(126,47,211,.20);
  color:var(--adv-purple);
}
.advocacy-sidebar .version-dot{background:linear-gradient(135deg,var(--adv-purple-2),var(--adv-purple));color:#fff;border-color:transparent;}
.advocacy-sidebar .version-text strong{color:var(--adv-text)}
.advocacy-sidebar .version-text span{color:var(--adv-purple);}
.advocacy-main{background:radial-gradient(circle at 92% 8%,rgba(126,47,211,.13),transparent 34%),linear-gradient(180deg,#fff 0%,#fbf8ff 100%);}
.advocacy-hero{
  min-height:330px;
  display:grid;
  place-items:center;
  padding:42px 28px 78px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#ffffff 0%,#f6f0ff 55%,#ffffff 100%);
  border-bottom:1px solid rgba(126,47,211,.12);
}
.advocacy-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 24% 48%,rgba(126,47,211,.12),transparent 28%),radial-gradient(circle at 74% 22%,rgba(181,140,255,.18),transparent 26%);}
.advocacy-hero:after{content:"";position:absolute;right:-130px;bottom:-160px;width:420px;height:420px;border-radius:50%;border:1px solid rgba(126,47,211,.18);box-shadow:inset 0 0 80px rgba(126,47,211,.06);}
.advocacy-hero-card{position:relative;z-index:2;display:grid;place-items:center;text-align:center;gap:10px;width:min(820px,100%);padding:24px;border-radius:32px;background:rgba(255,255,255,.62);border:1px solid rgba(126,47,211,.12);box-shadow:0 24px 70px rgba(91,22,184,.10);backdrop-filter:blur(12px);}
.advocacy-logo{width:min(520px,90%);display:block;filter:drop-shadow(0 18px 34px rgba(91,22,184,.18));}
.advocacy-hero-card p{margin:0;color:var(--adv-purple);font-weight:900;letter-spacing:.04em;}
.advocacy-content{margin-top:-48px;}
.advocacy-panel,.advocacy-card,.advocacy-ops,.advocacy-footer,.advocacy-page-card{
  background:#fff;
  border:1px solid rgba(126,47,211,.16);
  box-shadow:0 20px 58px rgba(91,22,184,.10);
  color:var(--adv-text);
}
.advocacy-panel h2,.advocacy-card h3,.advocacy-page-card h1,.advocacy-footer strong{color:var(--adv-text)!important;}
.advocacy-panel p,.advocacy-card p,.advocacy-page-card p{color:var(--adv-muted)!important;}
.advocacy-icon,.advocacy-card .card-icon{
  background:linear-gradient(135deg,#b58cff,var(--adv-purple-2));
  border-color:rgba(126,47,211,.18);
  color:#fff;
  box-shadow:0 14px 34px rgba(126,47,211,.18);
}
.advocacy-card .card-icon svg,.advocacy-icon svg{stroke:#fff;fill:none;}
.advocacy-search{background:#fff!important;border-color:rgba(126,47,211,.22)!important;color:var(--adv-text)!important;}
.advocacy-search input{color:var(--adv-text)!important;}
.advocacy-search svg{stroke:var(--adv-purple-2)!important;}
.advocacy-notify{background:#fff;border-color:rgba(126,47,211,.22);color:var(--adv-purple);}
.advocacy-toast{background:#fff!important;border-color:rgba(126,47,211,.18)!important;color:var(--adv-text)!important;box-shadow:0 24px 80px rgba(91,22,184,.12)!important;}
.advocacy-ops .ops-head h3,.advocacy-ops .agent-item strong,.advocacy-ops .event-empty strong{color:var(--adv-text)!important;}
.advocacy-ops .agent-item small,.advocacy-ops .event-empty span{color:var(--adv-muted)!important;}
.advocacy-ops .mini-link{color:var(--adv-purple)!important;}
.advocacy-section-shell{
  border-color:rgba(126,47,211,.16);
  background:#fff;
  box-shadow:0 20px 58px rgba(91,22,184,.10);
}
.hub-section-title-advocacy small{color:var(--adv-purple-2)!important;}
.hub-section-title-advocacy small:before,.hub-section-title-advocacy small:after{background:linear-gradient(90deg,transparent,var(--adv-purple-2),transparent)!important;}
.hub-section-title-advocacy h2{color:var(--adv-text)!important;}
.hub-section-title-advocacy p{color:var(--adv-muted)!important;opacity:1!important;}
.advocacy-sector-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1120px;margin:0 auto;gap:24px;}
.advocacy-sector-grid .advocacy-card{min-height:285px;}
.advocacy-card .btn,.advocacy-card:hover .btn{
  background:linear-gradient(135deg,#7e2fd3,#5b16b8);
  border-color:rgba(91,22,184,.22);
  color:#fff;
}
.advocacy-card .btn svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2;}
.advocacy-page-header{background:radial-gradient(circle at 90% 10%,rgba(126,47,211,.12),transparent 30%),linear-gradient(180deg,#fff,#f7f2ff);}
.advocacy-page-card .mini{background:#fbf8ff;border-color:rgba(126,47,211,.14);}
.advocacy-page-card .mini h3{color:var(--adv-text)}
.advocacy-page-card .mini p{color:var(--adv-muted)}
.advocacy-footer{margin-top:34px;}
.advocacy-footer span{display:block;color:var(--adv-muted)}
.advocacy-transition{background:#fff!important;border-color:rgba(126,47,211,.18)!important;color:var(--adv-text)!important;}
.advocacy-transition img{width:150px;}
.theme-advocacy .home-calendar-frame{background:#fff;border-color:rgba(126,47,211,.18);}
@media(max-width:1180px){.advocacy-sector-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.advocacy-sidebar-logo{width:58px}.advocacy-brand h1,.advocacy-brand p{display:none;}}
@media(max-width:820px){.advocacy-hero{min-height:280px;padding:28px 16px 62px}.advocacy-content{margin-top:-34px}.advocacy-sector-grid{grid-template-columns:1fr}.advocacy-sector-grid .advocacy-card{min-height:auto}.advocacy-logo{width:100%;}}

/* V1.1 - avisos próprios do Advocacy Saúde */
.theme-advocacy .hub-avisos-list{
  margin-top:24px;
}
.theme-advocacy .aviso-card{
  background:#fff;
  border-color:rgba(111,76,255,.18);
  box-shadow:0 18px 40px rgba(74,39,150,.08);
}
.theme-advocacy .aviso-card h3{color:#351c75;}
.theme-advocacy .aviso-card p,
.theme-advocacy .aviso-meta time{color:#6f5f92;}
.theme-advocacy .aviso-card:before{background:#7c4dff;}
.theme-advocacy .aviso-meta span,
.theme-advocacy .aviso-link{color:#6f35d8;}
.theme-advocacy .avisos-loading,
.theme-advocacy .avisos-empty{
  background:#fff;
  border-color:rgba(111,76,255,.18);
  color:#6f5f92;
}

/* V1.1 - cards internos de recursos por setor */
.resource-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:26px;
}
.resource-card{
  display:flex;
  flex-direction:column;
  min-height:205px;
  padding:22px;
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 48px rgba(0,0,0,.24);
  transition:.28s ease;
}
.resource-card:hover{
  transform:translateY(-6px);
  border-color:rgba(212,155,42,.46);
  box-shadow:0 26px 70px rgba(0,0,0,.36);
}
.resource-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.resource-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(212,155,42,.12);
  border:1px solid rgba(212,155,42,.28);
  font-size:22px;
}
.resource-status{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(212,155,42,.12);
  color:var(--gold2);
  border:1px solid rgba(212,155,42,.24);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.resource-card h3{
  margin:0 0 10px;
  color:#fff;
  font-size:21px;
}
.resource-card p{
  margin:0;
  color:#d5dfec;
  line-height:1.58;
  font-size:14px;
}
.pending-link{cursor:default;}
@media(max-width:1080px){
  .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  .resource-grid{grid-template-columns:1fr;}
  .resource-card{min-height:auto;}
}

/* V1.1 - estrutura dos agentes de IA da Yabá */
.ai-tools-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:28px;
}
.ai-tool-card{
  border-radius:24px;
  border:1px solid rgba(212,155,42,.28);
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
  box-shadow:0 20px 58px rgba(0,0,0,.25);
  overflow:hidden;
}
.ai-tool-card summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:24px;
}
.ai-tool-card summary::-webkit-details-marker{display:none;}
.ai-tool-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(212,155,42,.12);
  border:1px solid rgba(212,155,42,.30);
  font-size:26px;
}
.ai-tool-card summary strong{
  display:block;
  color:#fff;
  font-size:24px;
  margin-bottom:5px;
}
.ai-tool-card summary small{
  display:block;
  color:#d5dfec;
  line-height:1.45;
}
.ai-tool-card summary b{
  color:var(--gold2);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ai-tool-card[open] summary{
  border-bottom:1px solid rgba(212,155,42,.18);
}
.ai-tool-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  padding:22px 24px 24px;
}
.ai-tool-actions .resource-card{
  min-height:220px;
}
@media(max-width:820px){
  .ai-tool-card summary{grid-template-columns:auto 1fr;align-items:start;}
  .ai-tool-card summary b{grid-column:1/-1;}
  .ai-tool-actions{grid-template-columns:1fr;padding:18px;}
}

/* V1.1 - cards internos dos projetos da Aflora */
.aflora-project-tools{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:28px;
}
.aflora-resource-card{
  display:flex;
  flex-direction:column;
  min-height:190px;
  padding:22px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(209,63,116,.18);
  box-shadow:0 18px 44px rgba(209,63,116,.08);
  transition:.28s ease;
  color:#4b2333;
}
.aflora-resource-card:hover{
  transform:translateY(-5px);
  border-color:rgba(250,172,37,.44);
  box-shadow:0 24px 62px rgba(209,63,116,.14);
}
.aflora-resource-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.aflora-resource-icon,.aflora-tool-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#fff4dc;
  border:1px solid rgba(250,172,37,.32);
  font-size:23px;
}
.aflora-resource-status{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:#fff4dc;
  color:#b46a00;
  border:1px solid rgba(250,172,37,.30);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.aflora-resource-card h3{
  margin:0 0 10px;
  color:#4b2333;
  font-size:21px;
}
.aflora-resource-card p{
  margin:0;
  color:#8a5366;
  line-height:1.58;
  font-size:14px;
}
.aflora-tool-group{
  border-radius:26px;
  border:1px solid rgba(209,63,116,.20);
  background:linear-gradient(180deg,#fff,#fff7fb);
  box-shadow:0 18px 48px rgba(209,63,116,.08);
  overflow:hidden;
}
.aflora-tool-group summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:24px;
}
.aflora-tool-group summary::-webkit-details-marker{display:none;}
.aflora-tool-group summary strong{
  display:block;
  color:#4b2333;
  font-size:24px;
  margin-bottom:5px;
}
.aflora-tool-group summary small{
  display:block;
  color:#8a5366;
  line-height:1.45;
}
.aflora-tool-group summary b{
  color:#d13f74;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.aflora-tool-group[open] summary{
  border-bottom:1px solid rgba(209,63,116,.14);
}
.aflora-tool-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  padding:22px 24px 24px;
}
.aflora-tool-group:nth-of-type(3) .aflora-tool-actions{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:1120px){
  .aflora-tool-actions,
  .aflora-tool-group:nth-of-type(3) .aflora-tool-actions{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:720px){
  .aflora-tool-group summary{grid-template-columns:auto 1fr;align-items:start;}
  .aflora-tool-group summary b{grid-column:1/-1;}
  .aflora-tool-actions,
  .aflora-tool-group:nth-of-type(3) .aflora-tool-actions{grid-template-columns:1fr;padding:18px;}
  .aflora-resource-card{min-height:auto;}
}

/* V1.1 - status dos agentes clicável para a página de IA */
.agent-item.agent-link{
  color:inherit;
  text-decoration:none;
  transition:.22s ease;
  border-radius:14px;
  margin:-4px -6px;
  padding:4px 6px;
}
.agent-item.agent-link:hover{
  background:rgba(212,155,42,.10);
  transform:translateX(4px);
}
.ai-tool-card:target{
  border-color:rgba(242,199,91,.78);
  box-shadow:0 0 0 3px rgba(242,199,91,.18),0 26px 70px rgba(0,0,0,.36);
}
.ai-tool-card:target summary{
  background:rgba(212,155,42,.08);
}


/* V1.1 - estrutura final de setores e links */
.resource-link .resource-status.active-link{background:rgba(36,201,126,.14);border-color:rgba(36,201,126,.34);color:#72e4ad;}
.resource-link:hover{border-color:rgba(36,201,126,.45);}
.nav-emoji{width:22px;display:inline-grid;place-items:center;font-size:15px;}
.aflora-v7-sector-shell{margin-top:28px;}
.theme-aflora .aflora-v7-sector-shell{background:#fff;border-color:rgba(209,63,116,.18);box-shadow:0 18px 48px rgba(209,63,116,.08);}
.aflora-v7-sector-shell .card-icon{font-size:25px;}
@media(min-width:1121px){.aflora-tool-actions{grid-template-columns:repeat(4,minmax(0,1fr));}}

/* V1.1 - Audiovisual tools */
.audiovisual-tools-card{grid-column:1/-1;}
.audiovisual-tools-note{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;margin:14px 0 0;border:1px solid rgba(240,190,61,.22);border-radius:14px;background:rgba(240,190,61,.07);color:var(--text-secondary);}
.audiovisual-tools-note strong{color:var(--text-primary);white-space:nowrap;}
.tool-info-card{cursor:default;}
.tool-info-card:hover{transform:none;border-color:rgba(255,255,255,.12);}


/* V1.1 - Botão de execução de agentes */
.agent-run-card{border:1px solid rgba(74,126,115,.3);background:linear-gradient(135deg,rgba(74,126,115,.11),rgba(255,255,255,.9));text-align:left;font:inherit;color:inherit;cursor:pointer;width:100%;}
.agent-run-card:hover{transform:translateY(-3px);border-color:rgba(74,126,115,.62);box-shadow:0 15px 30px rgba(74,126,115,.13);}
.agent-run-card:disabled{cursor:wait;opacity:.78;}
.agent-run-card.is-success{border-color:rgba(56,142,60,.55);}
.agent-run-card.is-error{border-color:rgba(198,68,68,.55);}


/* V1.1 - Login visual com Netlify Identity */
.hub-auth-gate{
  position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:24px;
  background:
    radial-gradient(circle at 12% 12%, rgba(87,174,181,.16) 0 8%, transparent 29%),
    radial-gradient(circle at 88% 16%, rgba(229,181,81,.18) 0 8%, transparent 28%),
    radial-gradient(circle at 82% 86%, rgba(163,121,194,.14) 0 10%, transparent 30%),
    linear-gradient(135deg,#f6f9fb 0%,#fcfcfa 47%,#f4f8fb 100%);
  transition:opacity .35s ease,visibility .35s ease;
}
.hub-auth-gate:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(49,69,95,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(49,69,95,.03) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 76%);pointer-events:none}
.hub-auth-shape{position:absolute;border:1px solid rgba(42,63,88,.10);border-radius:50%;pointer-events:none}
.hub-auth-shape.shape-a{width:360px;height:360px;left:-130px;bottom:-160px}
.hub-auth-shape.shape-b{width:260px;height:260px;right:-100px;top:120px}
.hub-auth-shape.shape-c{width:110px;height:110px;right:18%;bottom:8%;border-style:dashed}
.hub-auth-card{position:relative;width:min(900px,100%);padding:54px 48px 38px;text-align:center;border:1px solid rgba(32,52,80,.12);border-radius:30px;background:rgba(255,255,255,.88);box-shadow:0 28px 76px rgba(52,78,112,.16);backdrop-filter:blur(12px);animation:hubAuthEnter .8s cubic-bezier(.2,.8,.2,1) both}
.hub-auth-eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#667285}
.hub-auth-eyebrow:before,.hub-auth-eyebrow:after{content:"";width:30px;height:1px;background:rgba(42,63,88,.16)}
.hub-auth-title-wrap h1{margin:18px 0 10px;font-size:clamp(32px,5vw,56px);line-height:1.02;letter-spacing:-.05em;color:#1d2838}
.hub-auth-title-wrap p{max-width:590px;margin:0 auto;color:#667285;font-size:16px;line-height:1.6}
.hub-auth-brands{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:700px;margin:42px auto 30px}
.hub-auth-brand{min-height:112px;padding:22px 18px;border:1px solid rgba(32,52,80,.10);border-radius:18px;background:#fff;display:grid;place-items:center;box-shadow:0 10px 24px rgba(47,72,96,.06)}
.hub-auth-brand img{max-width:100%;max-height:50px;object-fit:contain}
.hub-auth-google{border:0;border-radius:999px;padding:15px 23px;display:inline-flex;align-items:center;gap:10px;background:#202c3d;color:#fff;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 13px 28px rgba(31,43,60,.22);transition:.2s transform,.2s box-shadow}
.hub-auth-google:hover{transform:translateY(-2px);box-shadow:0 17px 34px rgba(31,43,60,.28)}
.hub-google-mark{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#fff;color:#4285F4;font-weight:900;font-size:14px}
.hub-auth-help{margin:17px 0 0;font-size:12px;color:#8490a0}
.hub-auth-help.is-error{color:#a52828;font-weight:700}
.hub-auth-user{position:fixed;top:16px;right:18px;z-index:100000;display:flex;align-items:center;gap:9px;padding:9px 11px 9px 13px;border:1px solid rgba(33,52,79,.13);border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 8px 22px rgba(35,54,81,.10);font-size:12px;color:#4d5a6c;backdrop-filter:blur(10px)}
.hub-auth-user[hidden]{display:none!important}
.hub-auth-user-dot{width:8px;height:8px;border-radius:50%;background:#5fa98e}
.hub-auth-user button{border:0;background:#202c3d;color:#fff;border-radius:999px;padding:6px 10px;font:inherit;font-weight:800;cursor:pointer}
.hub-auth-dialog{width:min(520px,calc(100% - 32px));padding:0;border:1px solid rgba(31,43,60,.14);border-radius:26px;background:#fff;color:#1d2838;box-shadow:0 30px 90px rgba(20,32,50,.28);overflow:hidden}
.hub-auth-dialog::backdrop{background:rgba(20,30,45,.48);backdrop-filter:blur(6px)}
.hub-auth-dialog[open]{animation:hubAuthDialogEnter .24s ease both}
.hub-auth-dialog-icon{width:54px;height:54px;margin:34px auto 18px;display:grid;place-items:center;border-radius:50%;background:#fff1f1;color:#a52828;border:1px solid rgba(165,40,40,.16);font-size:28px;font-weight:900}
.hub-auth-dialog-close{position:absolute;top:14px;right:16px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f4f7;color:#5d6878;font-size:24px;line-height:1;cursor:pointer}
.hub-auth-dialog-copy{padding:0 34px;text-align:center}
.hub-auth-dialog-eyebrow{display:block;color:#a52828;font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.hub-auth-dialog h2{margin:8px 0 10px;color:#1d2838;font-size:28px;letter-spacing:-.035em}
.hub-auth-dialog-message{margin:0;color:#657184;font-size:14px;line-height:1.6}
.hub-auth-dialog-domains{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:20px 0 26px}
.hub-auth-dialog-domains span{padding:7px 10px;border-radius:999px;background:#f2f6f8;color:#465467;font-size:11px;font-weight:800}
.hub-auth-dialog-retry{width:100%;padding:17px 22px;border:0;border-top:1px solid rgba(31,43,60,.09);background:#202c3d;color:#fff;font:inherit;font-weight:900;cursor:pointer}
.hub-auth-dialog-retry:hover{background:#2a384c}
html.hub-authenticated .hub-auth-gate{opacity:0;visibility:hidden;pointer-events:none}
@keyframes hubAuthEnter{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes hubAuthDialogEnter{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:680px){
  .hub-auth-gate{padding:16px}
  .hub-auth-card{padding:38px 20px 28px;border-radius:24px}
  .hub-auth-brands{grid-template-columns:1fr;gap:11px;margin:28px auto 24px}
  .hub-auth-brand{min-height:82px;padding:16px}
  .hub-auth-brand img{max-height:38px}
  .hub-auth-user{top:10px;right:10px}
}


/* V1.1 - Login Google via SDK atual do Netlify Identity */
.hub-auth-google.is-loading{opacity:.72;cursor:wait;transform:none}
.hub-auth-google.is-loading .hub-google-mark{animation:hubGooglePulse 1s infinite ease-in-out}
@keyframes hubGooglePulse{0%,100%{transform:scale(.82);opacity:.55}50%{transform:scale(1.08);opacity:1}}
