/* RAS ÍRIS Condomínios — experiência visual leve 2026.09
   Escopo deliberadamente restrito ao atributo aplicado pelo loader do condomínio. */
html[data-iris-condominio-theme="estacio-light-001"],
html[data-iris-condominio-theme="estacio-light-001"] body{
  --condo-bg:#f5f7fb;
  --condo-surface:#ffffff;
  --condo-border:#e2e8f0;
  --condo-text:#111827;
  --condo-muted:#64748b;
  --condo-primary:#2563eb;
  --condo-primary-soft:#eff6ff;
  --condo-success:#16835d;
  --condo-warn:#b7791f;
  --condo-danger:#c2414b;
  --condo-shadow:0 8px 26px rgba(15,23,42,.06);
  background:var(--condo-bg)!important;
  color:var(--condo-text)!important;
  color-scheme:light!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

html[data-iris-condominio-theme="estacio-light-001"] body,
html[data-iris-condominio-theme="estacio-light-001"] main{
  background:var(--condo-bg)!important;
}

html[data-iris-condominio-theme="estacio-light-001"] *,
html[data-iris-condominio-theme="estacio-light-001"] *::before,
html[data-iris-condominio-theme="estacio-light-001"] *::after{box-sizing:border-box}

/* Remove o visual global soft-3D apenas no ecossistema Condomínios. */
html[data-iris-condominio-theme="estacio-light-001"] button,
html[data-iris-condominio-theme="estacio-light-001"] .btn,
html[data-iris-condominio-theme="estacio-light-001"] a.btn,
html[data-iris-condominio-theme="estacio-light-001"] .button{
  box-shadow:none!important;
  transform:none!important;
  text-shadow:none!important;
  border-radius:10px!important;
  font-weight:700!important;
}
html[data-iris-condominio-theme="estacio-light-001"] button:hover,
html[data-iris-condominio-theme="estacio-light-001"] .btn:hover,
html[data-iris-condominio-theme="estacio-light-001"] a.btn:hover{transform:none!important}

/* Página principal */
html[data-iris-condominio-theme="estacio-light-001"] .app{
  min-height:100vh!important;
  display:grid!important;
  grid-template-columns:250px minmax(0,1fr)!important;
  background:var(--condo-bg)!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .sidebar{
  position:sticky!important;
  top:0!important;
  height:100vh!important;
  background:#fff!important;
  color:var(--condo-text)!important;
  border-right:1px solid var(--condo-border)!important;
  padding:18px 14px 12px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:auto!important;
  box-shadow:none!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .brand{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-height:84px!important;
  padding:6px 4px 16px!important;
  margin:0 0 10px!important;
  border:0!important;
  border-bottom:1px solid var(--condo-border)!important;
  background:#fff!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .brand-mark,
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-fallback{
  width:54px!important;height:54px!important;border-radius:14px!important;
  display:grid!important;place-items:center!important;
  background:var(--condo-primary-soft)!important;color:var(--condo-primary)!important;
  font-size:24px!important;font-weight:900!important;border:1px solid #dbeafe!important;
  box-shadow:none!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-logo{
  width:78px!important;max-height:70px!important;object-fit:contain!important;display:block!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .brand strong{
  color:var(--condo-text)!important;font-size:15px!important;line-height:1.2!important;display:block!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .brand small{
  color:var(--condo-muted)!important;font-size:11px!important;line-height:1.35!important;display:block!important;margin-top:4px!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .nav{
  display:flex!important;flex-direction:column!important;gap:3px!important;flex:1!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .nav button{
  width:100%!important;min-height:43px!important;padding:10px 12px!important;
  border:0!important;background:transparent!important;color:#334155!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;
  border-radius:9px!important;font-size:13px!important;font-weight:700!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .nav button:hover{background:#f8fafc!important;color:#0f172a!important}
html[data-iris-condominio-theme="estacio-light-001"] .nav button.active{
  background:var(--condo-primary-soft)!important;color:var(--condo-primary)!important;
  box-shadow:inset 3px 0 0 var(--condo-primary)!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .nav button.premium{color:#334155!important}
html[data-iris-condominio-theme="estacio-light-001"] .nav button.premium.active{color:var(--condo-primary)!important}

html[data-iris-condominio-theme="estacio-light-001"] .condo-powered-by{
  margin-top:14px!important;padding:12px 6px 4px!important;border-top:1px solid var(--condo-border)!important;
  color:#94a3b8!important;font-size:10px!important;line-height:1.35!important;letter-spacing:.03em!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .condo-powered-by strong{color:#64748b!important;font-size:10px!important}

html[data-iris-condominio-theme="estacio-light-001"] .main{min-width:0!important;background:var(--condo-bg)!important}
html[data-iris-condominio-theme="estacio-light-001"] .topbar{
  position:sticky!important;top:0!important;z-index:30!important;
  min-height:82px!important;padding:16px 30px!important;background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid var(--condo-border)!important;box-shadow:none!important;
  backdrop-filter:blur(10px)!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .topbar h1{font-size:20px!important;color:var(--condo-text)!important;margin:0 0 3px!important}
html[data-iris-condominio-theme="estacio-light-001"] .topbar p{color:var(--condo-muted)!important;margin:0!important;font-size:12px!important}
html[data-iris-condominio-theme="estacio-light-001"] .top-actions{display:flex!important;align-items:center!important;gap:8px!important}
html[data-iris-condominio-theme="estacio-light-001"] .status-dot{box-shadow:none!important}
html[data-iris-condominio-theme="estacio-light-001"] .content{padding:26px 30px 42px!important;max-width:1500px!important;margin:0 auto!important}

html[data-iris-condominio-theme="estacio-light-001"] .hero,
html[data-iris-condominio-theme="estacio-light-001"] .panel,
html[data-iris-condominio-theme="estacio-light-001"] .service-card,
html[data-iris-condominio-theme="estacio-light-001"] .notice{
  background:var(--condo-surface)!important;border:1px solid var(--condo-border)!important;
  box-shadow:var(--condo-shadow)!important;color:var(--condo-text)!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .hero{border-radius:18px!important;padding:25px!important}
html[data-iris-condominio-theme="estacio-light-001"] .hero h2{color:var(--condo-text)!important;font-size:30px!important;letter-spacing:-.02em!important}
html[data-iris-condominio-theme="estacio-light-001"] .hero p,
html[data-iris-condominio-theme="estacio-light-001"] .service-card p,
html[data-iris-condominio-theme="estacio-light-001"] .section-head p{color:var(--condo-muted)!important}
html[data-iris-condominio-theme="estacio-light-001"] .hero-side{border-left:1px solid var(--condo-border)!important}
html[data-iris-condominio-theme="estacio-light-001"] .hero-side span{color:var(--condo-muted)!important}
html[data-iris-condominio-theme="estacio-light-001"] .hero-side strong{color:var(--condo-text)!important}
html[data-iris-condominio-theme="estacio-light-001"] .eyebrow{color:#475569!important;letter-spacing:.12em!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase!important}

html[data-iris-condominio-theme="estacio-light-001"] .btn{
  min-height:39px!important;padding:9px 14px!important;border:1px solid #cbd5e1!important;
  background:#fff!important;color:#334155!important;text-decoration:none!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .btn.primary{
  background:var(--condo-primary)!important;color:#fff!important;border-color:var(--condo-primary)!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .btn.soft{background:var(--condo-primary-soft)!important;color:var(--condo-primary)!important;border-color:#dbeafe!important}

html[data-iris-condominio-theme="estacio-light-001"] .metrics{gap:14px!important;margin:18px 0 24px!important}
html[data-iris-condominio-theme="estacio-light-001"] .metric{
  appearance:none!important;text-align:left!important;cursor:pointer!important;position:relative!important;
  min-height:142px!important;padding:18px!important;border:1px solid var(--condo-border)!important;
  background:#fff!important;color:var(--condo-text)!important;border-radius:16px!important;
  box-shadow:var(--condo-shadow)!important;overflow:hidden!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .metric:hover{border-color:#bfdbfe!important;background:#fff!important}
html[data-iris-condominio-theme="estacio-light-001"] .metric-label{color:#475569!important;font-size:12px!important;font-weight:800!important}
html[data-iris-condominio-theme="estacio-light-001"] .metric strong{color:#020617!important;font-size:28px!important;line-height:1.1!important;margin-top:12px!important;display:block!important}
html[data-iris-condominio-theme="estacio-light-001"] .metric small{color:var(--condo-muted)!important;font-size:11px!important}
html[data-iris-condominio-theme="estacio-light-001"] .metric-icon{
  width:34px!important;height:34px!important;border-radius:10px!important;background:#eff6ff!important;color:#2563eb!important;display:grid!important;place-items:center!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .metric:nth-child(2) .metric-icon{background:#ecfdf5!important;color:#047857!important}
html[data-iris-condominio-theme="estacio-light-001"] .metric:nth-child(3) .metric-icon{background:#fff7ed!important;color:#c2410c!important}
html[data-iris-condominio-theme="estacio-light-001"] .metric:nth-child(4) .metric-icon{background:#f5f3ff!important;color:#7c3aed!important}

html[data-iris-condominio-theme="estacio-light-001"] .section-head{margin:25px 0 13px!important}
html[data-iris-condominio-theme="estacio-light-001"] .section-head h2{color:var(--condo-text)!important;font-size:22px!important;margin:2px 0 4px!important}
html[data-iris-condominio-theme="estacio-light-001"] .panel{border-radius:16px!important;overflow:hidden!important}
html[data-iris-condominio-theme="estacio-light-001"] .panel-head{background:#fff!important;border-bottom:1px solid var(--condo-border)!important;color:var(--condo-text)!important}
html[data-iris-condominio-theme="estacio-light-001"] .panel-body{background:#fff!important}
html[data-iris-condominio-theme="estacio-light-001"] .quick{
  background:#fff!important;border:1px solid var(--condo-border)!important;color:var(--condo-text)!important;border-radius:14px!important;
  box-shadow:none!important;text-decoration:none!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .quick:hover{border-color:#bfdbfe!important;background:#f8fbff!important;transform:none!important}
html[data-iris-condominio-theme="estacio-light-001"] .quick b{color:var(--condo-text)!important}
html[data-iris-condominio-theme="estacio-light-001"] .quick small{color:var(--condo-muted)!important}
html[data-iris-condominio-theme="estacio-light-001"] .service-card{border-radius:16px!important}
html[data-iris-condominio-theme="estacio-light-001"] .service-card h3{color:var(--condo-text)!important}

/* Editor de identidade */
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-editor{
  margin-top:16px;padding:20px;border:1px solid var(--condo-border);border-radius:16px;background:#fff;box-shadow:var(--condo-shadow);
}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-editor__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-editor h3{margin:0 0 4px;color:var(--condo-text)}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-editor p{margin:0;color:var(--condo-muted);font-size:12px}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-editor__grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:start}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-preview{height:140px;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;display:grid;place-items:center;padding:14px;overflow:hidden;color:#64748b;text-align:center;font-size:12px}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-preview img{max-width:100%;max-height:110px;object-fit:contain}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-fields{display:grid;gap:13px}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-fields label{display:grid;gap:6px;color:#334155;font-size:12px;font-weight:800}
html[data-iris-condominio-theme="estacio-light-001"] input,
html[data-iris-condominio-theme="estacio-light-001"] select,
html[data-iris-condominio-theme="estacio-light-001"] textarea{
  background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1!important;border-radius:10px!important;box-shadow:none!important;
}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-fields input{min-height:42px;padding:9px 11px}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-editor__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}
html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-status{font-size:12px;color:var(--condo-muted);min-height:18px}

/* Contexto compartilhado nas telas secundárias */
html[data-iris-condominio-theme="estacio-light-001"] .condo-context-bar{
  position:relative;z-index:2147481000;display:flex;align-items:center;justify-content:space-between;gap:14px;
  min-height:66px;padding:10px clamp(14px,3vw,28px);background:#fff;border-bottom:1px solid var(--condo-border);color:var(--condo-text);
}
html[data-iris-condominio-theme="estacio-light-001"] .condo-context-brand{display:flex;align-items:center;gap:10px;min-width:0}
html[data-iris-condominio-theme="estacio-light-001"] .condo-context-brand img{width:48px;height:42px;object-fit:contain}
html[data-iris-condominio-theme="estacio-light-001"] .condo-context-brand__fallback{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:var(--condo-primary-soft);color:var(--condo-primary);font-weight:900}
html[data-iris-condominio-theme="estacio-light-001"] .condo-context-brand strong{display:block;font-size:14px;color:var(--condo-text)}
html[data-iris-condominio-theme="estacio-light-001"] .condo-context-brand small{display:block;font-size:10px;color:var(--condo-muted);margin-top:2px}
html[data-iris-condominio-theme="estacio-light-001"] .condo-context-actions{display:flex;gap:8px;align-items:center}
html[data-iris-condominio-theme="estacio-light-001"] .condo-context-actions a{padding:8px 11px;border:1px solid #cbd5e1;border-radius:9px;text-decoration:none;color:#334155;background:#fff;font-size:12px;font-weight:800}

/* Harmonização genérica das páginas secundárias do condomínio. */
html[data-iris-condominio-theme="estacio-light-001"] :is(.card,.box,.panel,.section-card,.content-card,.form-card,.dashboard-card,.stat-card,.tile){
  border-color:var(--condo-border)!important;box-shadow:var(--condo-shadow)!important;background:#fff!important;color:var(--condo-text)!important;
}
html[data-iris-condominio-theme="estacio-light-001"] :is(h1,h2,h3,h4,strong,label,legend){color:var(--condo-text)!important}
html[data-iris-condominio-theme="estacio-light-001"] :is(p,small,.muted,.subtitle,.help,.hint){color:var(--condo-muted)!important}
html[data-iris-condominio-theme="estacio-light-001"] table{background:#fff!important;color:var(--condo-text)!important;border-color:var(--condo-border)!important}
html[data-iris-condominio-theme="estacio-light-001"] th{background:#f8fafc!important;color:#475569!important;border-color:var(--condo-border)!important}
html[data-iris-condominio-theme="estacio-light-001"] td{background:#fff!important;color:#334155!important;border-color:var(--condo-border)!important}

/* Há apenas um launcher: o Sol IA global. */
html[data-iris-condominio-theme="estacio-light-001"] #solWidget,
html[data-iris-condominio-theme="estacio-light-001"] .sol:not(#ras-sol-ia-root),
html[data-iris-condominio-theme="estacio-light-001"] .sol-btn:not(.ras-sol-ia__launcher){display:none!important}
html[data-iris-condominio-theme="estacio-light-001"] #ras-sol-ia-root{z-index:2147482500!important}
html[data-iris-condominio-theme="estacio-light-001"] .ras-sol-ia__launcher{box-shadow:0 10px 30px rgba(37,99,235,.18)!important;border-radius:999px!important}

.condo-print-brand,.condo-print-footer{display:none}
@media print{
  html[data-iris-condominio-theme="estacio-light-001"] body{background:#fff!important;padding-top:88px!important;padding-bottom:28px!important}
  html[data-iris-condominio-theme="estacio-light-001"] .condo-context-bar,
  html[data-iris-condominio-theme="estacio-light-001"] .sidebar,
  html[data-iris-condominio-theme="estacio-light-001"] .topbar,
  html[data-iris-condominio-theme="estacio-light-001"] #ras-sol-ia-root,
  html[data-iris-condominio-theme="estacio-light-001"] #solWidget,
  html[data-iris-condominio-theme="estacio-light-001"] .no-print{display:none!important}
  .condo-print-brand{display:flex!important;position:fixed;left:0;right:0;top:0;height:74px;align-items:center;gap:12px;border-bottom:1px solid #dbe2ea;background:#fff;padding:8px 14px;z-index:999999}
  .condo-print-brand img{width:72px;max-height:56px;object-fit:contain}
  .condo-print-brand strong{display:block;font-size:15px;color:#111827!important}
  .condo-print-brand small{display:block;font-size:10px;color:#64748b!important;margin-top:2px}
  .condo-print-footer{display:block!important;position:fixed;left:0;right:0;bottom:0;padding:5px 12px;border-top:1px solid #e5e7eb;text-align:right;font-size:8px;color:#94a3b8;background:#fff}
}

@media(max-width:900px){
  html[data-iris-condominio-theme="estacio-light-001"] .app{grid-template-columns:1fr!important}
  html[data-iris-condominio-theme="estacio-light-001"] .sidebar{position:relative!important;height:auto!important;max-height:none!important;border-right:0!important;border-bottom:1px solid var(--condo-border)!important}
  html[data-iris-condominio-theme="estacio-light-001"] .nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html[data-iris-condominio-theme="estacio-light-001"] .topbar{position:relative!important;padding:14px 16px!important}
  html[data-iris-condominio-theme="estacio-light-001"] .content{padding:18px 14px 34px!important}
  html[data-iris-condominio-theme="estacio-light-001"] .condo-brand-editor__grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  html[data-iris-condominio-theme="estacio-light-001"] .nav{grid-template-columns:1fr!important}
  html[data-iris-condominio-theme="estacio-light-001"] .hero{padding:18px!important}
  html[data-iris-condominio-theme="estacio-light-001"] .hero h2{font-size:24px!important}
  html[data-iris-condominio-theme="estacio-light-001"] .condo-context-bar{align-items:flex-start;flex-direction:column}
  html[data-iris-condominio-theme="estacio-light-001"] .condo-context-actions{width:100%;flex-wrap:wrap}
}
