.imob-nano-banana-panel {
  border: 1px solid #c4b5fd;
  background: linear-gradient(180deg, #faf7ff 0%, #ffffff 100%);
}
.imob-nano-heading { display: flex; justify-content: space-between; gap: 16px; }
.imob-nano-heading h5 { margin: 7px 0 4px; color: #172033; font-size: 16px; }
.imob-nano-heading p { margin: 0; color: #64748b; font-size: 12px; line-height: 1.55; }
.imob-nano-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ede9fe;
  color: #6d28d9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.imob-nano-safety {
  display: grid;
  gap: 3px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 11px;
  background: #f0fdf4;
  color: #166534;
}
.imob-nano-safety strong { font-size: 12px; }
.imob-nano-safety span { font-size: 11px; line-height: 1.5; }
.imob-nano-grid {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr);
  gap: 16px;
  align-items: stretch;
}
.imob-nano-preview {
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ddd6fe;
  border-radius: 13px;
  background: #111827;
  color: #cbd5e1;
  font-size: 12px;
}
.imob-nano-preview img { width: 100%; height: 100%; max-height: 440px; object-fit: contain; }
.imob-nano-controls {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #fff;
}
.imob-nano-controls label { display: grid; gap: 6px; color: #475569; font-size: 11px; font-weight: 800; }
.imob-nano-controls input {
  min-height: 43px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}
.imob-nano-generate,
.imob-nano-activate {
  min-height: 44px;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.imob-nano-generate { border: 1px solid #7c3aed; background: #7c3aed; color: #fff; }
.imob-nano-activate { border: 1px solid #047857; background: #047857; color: #fff; }
.imob-nano-generate:disabled,
.imob-nano-activate:disabled { cursor: wait; opacity: .48; }
#imobNanoBananaMessage {
  min-height: 36px;
  margin: 0;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  line-height: 1.5;
}
#imobNanoBananaMessage[data-type="success"] { background: #ecfdf5; color: #047857; }
#imobNanoBananaMessage[data-type="warning"] { background: #fffbeb; color: #a16207; }
#imobNanoBananaMessage[data-type="error"] { background: #fff1f2; color: #be123c; }
@media (max-width: 760px) {
  .imob-nano-grid { grid-template-columns: 1fr; }
  .imob-nano-preview { min-height: 210px; }
}
