/* v1.1 — identidade alinhada aos cards existentes */
.gc-medi.area{ background:var(--bg, #2E6D63); color:var(--text,#1f3a33) }
.gc-medi .gc-wrap-in{ max-width:var(--max,1180px); margin:auto; padding:clamp(10px,1.8vw,18px) }

.gc-medi-hdr h3{
  font-family:"Darker Grotesque",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:#fff; font-weight:800; letter-spacing:.5px; margin:0 0 4px; text-align:center;
  font-size:calc(clamp(18px,2.2vw,28px) * var(--gc-scale,1));
}
.gc-medi-hdr p{ color:#e3f2ec; text-align:center; margin:0 0 8px; font-size:calc(15px * var(--gc-scale,1)) }

.gc-medi-controls{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; align-items:center; margin-bottom:8px }
.gc-input{ border:1.5px solid color-mix(in srgb, var(--brand, #2E9F87) 28%, #fff); border-radius:999px; padding:.5rem .8rem; background:#fff; color:#114e40; box-shadow:var(--shadow,0 4px 16px rgba(0,0,0,.08)); font-weight:600; min-width:220px }
.gc-btn{
  border:2px solid color-mix(in srgb, var(--brand, #2E9F87) 60%, #0000);
  background:#fff; color:#114e40; padding:.42rem .7rem; border-radius:999px; font-weight:800; cursor:pointer;
  box-shadow:var(--shadow,0 4px 16px rgba(0,0,0,.08)); font-size:.95rem; white-space:nowrap;
}
.gc-btn:hover{ transform:translateY(-1px) }
.gc-tab.is-active{ background:var(--brand,#2E9F87); color:#fff }

.gc-medi-summary{ display:flex; flex-wrap:wrap; gap:10px 14px; justify-content:center; align-items:center; color:#e8fff7; font-weight:800; margin-bottom:10px }
.gc-medi-actions{ display:flex; gap:6px; flex-wrap:wrap }

/* GRID/base igual aos outros cards */
.gc-grid{ display:grid; gap:12px; grid-template-columns:repeat(12,1fr) }
.gc-card{ grid-column:span 6; display:flex; gap:12px; align-items:center; background:var(--card,#FFF7EF); border-radius:12px; padding:12px; border:1.5px solid color-mix(in srgb, var(--brand,#2E9F87) 28%, #fff 72%); box-shadow:var(--shadow,0 4px 16px rgba(0,0,0,.08)); min-height:56px }
.gc-ico{ flex:0 0 auto; width:44px; height:44px; border-radius:10px; background:color-mix(in srgb, var(--brand,#2E9F87) 20%, #fff); display:grid; place-items:center }
.gc-ico svg, .gc-ico i[data-lucide]{ width:24px; height:24px; stroke:#206F5D; stroke-width:2; fill:none; stroke-linecap:round; stroke-linejoin:round }
.gc-card h4{ font-size:calc(clamp(16px,1.9vw,18px) * var(--gc-scale,1)); margin:0; line-height:1.15; font-family:"Darker Grotesque",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; font-weight:800; color:#1f3a33 }
.gc-card p{ font-size:calc(14px * var(--gc-scale,1)); margin:2px 0 0; color:#4b4b4b }
.gc-badges{ display:flex; gap:6px; flex-wrap:wrap; margin-top:6px }
.gc-badge{ display:inline-flex; align-items:center; gap:6px; padding:4px 8px; border-radius:999px; background:color-mix(in srgb, var(--brand,#2E9F87) 14%, #fff); border:1px solid color-mix(in srgb, var(--brand,#2E9F87) 24%, #fff); font-weight:700; color:#2b4a44 }
.gc-cta{ margin-left:auto; display:flex; flex-direction:column; gap:6px }
.gc-cta button{ background:var(--brand,#2E9F87); color:#fff; border:0; border-radius:10px; padding:.45rem .75rem; font-weight:800; cursor:pointer }
.gc-cta button:hover{ background:var(--brand-600,#21806C) }
@media (max-width:1060px){ .gc-card{ grid-column:span 12 } }

/* Dialog/print */
.gc-medi-dialog{ border:0; padding:0; width:min(900px,96vw) }
.gc-medi-dialog::backdrop{ background:rgba(0,0,0,.45) }
.gc-medi-dialog-inner{ position:relative; background:#fff; border-radius:12px; padding:14px }
.gc-close{ position:absolute; right:10px; top:8px; background:#fff; border:2px solid #0e5a4a; width:32px; height:32px; border-radius:999px; font-weight:900; cursor:pointer }

@media print{
  .gc-medi-controls, .gc-medi-actions, .gc-medi-summary, .gc-close{ display:none !important }
  .gc-card{ page-break-inside:avoid }
}
