.gid-auth {
  display: grid;
  gap: 22px;
}
.gid-auth__intro {
  text-align: center;
}
.gid-auth__eyebrow,
.gid-admin__eyebrow,
.gid-profile__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef8fa;
  color: #0f7181;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.gid-auth__intro h2,
.gid-profile h2 {
  margin: 12px 0 8px;
  color: #172033;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -.04em;
}
.gid-auth__intro p,
.gid-profile > p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}
.gid-auth__tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: #f1f5f9;
}
.gid-auth__tab {
  border: 0;
  border-radius: 10px;
  padding: 11px 14px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.gid-auth__tab.is-active {
  background: #fff;
  color: #172033;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .08);
}
.gid-auth__panel { display: none; }
.gid-auth__panel.is-active { display: block; }
.gid-google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid #dbe3eb;
  border-radius: 12px;
  background: #fff;
  color: #172033;
  text-decoration: none;
  font-weight: 750;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.gid-google-button:hover {
  border-color: #b8c6d4;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
}
.gid-google-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  color: #fff;
  font-weight: 900;
  font-family: Arial, sans-serif;
}
.gid-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #94a3b8;
  font-size: 12px;
}
.gid-auth__divider::before,
.gid-auth__divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #e2e8f0;
}
.gid-form { display: grid; gap: 15px; }
.gid-field { display: grid; gap: 7px; color: #334155; font-size: 13px; font-weight: 700; }
.gid-field__control {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #dbe3eb;
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.gid-field__control:focus-within {
  border-color: #0ea5b7;
  box-shadow: 0 0 0 4px rgba(14, 165, 183, .12);
}
.gid-field__control .material-symbols-rounded { color: #94a3b8; font-size: 21px; }
.gid-field__control input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font: inherit;
  font-weight: 550;
}
.gid-field__control.is-readonly { background: #f8fafc; }
.gid-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  background: #203f56;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.gid-primary-button:hover { background: #142f43; box-shadow: 0 10px 24px rgba(32, 63, 86, .22); transform: translateY(-1px); }
.gid-primary-button:disabled { opacity: .65; cursor: wait; transform: none; }
.gid-auth__secondary-link { display: block; margin-top: 14px; text-align: center; color: #557086; font-size: 13px; text-decoration: none; }
.gid-auth__fineprint { margin: 13px 0 0; color: #64748b; font-size: 12px; text-align: center; }
.gid-auth__message,
.gid-auth__notice {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.gid-auth__message.is-error { background: #fff1f2; color: #be123c; }
.gid-auth__message.is-success { background: #ecfdf5; color: #047857; }
.gid-auth__notice { display: flex; gap: 10px; align-items: center; }
.gid-auth__notice div { display: grid; gap: 2px; }
.gid-auth__notice--success { background: #ecfdf5; color: #047857; }

.gid-profile { display: grid; gap: 18px; }
.gid-profile .gid-form { margin-top: 4px; }

.gid-admin { display: grid; gap: 22px; }
.gid-admin__hero,
.gid-admin__page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fbfc 0%, #eef8fa 100%);
  border: 1px solid #dbecef;
}
.gid-admin__hero h1,
.gid-admin__page-head h1 { margin: 10px 0 8px; color: #172033; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.045em; }
.gid-admin__hero p,
.gid-admin__page-head p { margin: 0; max-width: 720px; color: #64748b; line-height: 1.65; }
.gid-admin__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.gid-admin__toggle .material-symbols-rounded { font-size: 30px; }
.gid-admin__toggle.is-on { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.gid-admin__toggle.is-off { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.gid-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gid-kpi {
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e6edf3;
  box-shadow: 0 10px 34px rgba(15, 23, 42, .045);
}
.gid-kpi__icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 12px; background: #eef8fa; color: #0f7181; }
.gid-kpi div { display: grid; min-width: 0; }
.gid-kpi span:not(.gid-kpi__icon) { color: #64748b; font-size: 12px; font-weight: 700; }
.gid-kpi strong { margin: 4px 0; color: #172033; font-size: 25px; letter-spacing: -.03em; }
.gid-kpi small { color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gid-admin__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.gid-panel { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid #e6edf3; box-shadow: 0 10px 34px rgba(15, 23, 42, .04); }
.gid-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.gid-panel__header span { color: #94a3b8; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.gid-panel__header h2 { margin: 4px 0 0; color: #172033; font-size: 20px; }
.gid-panel__header a { color: #0f7181; font-size: 13px; font-weight: 800; text-decoration: none; }
.gid-status-list,
.gid-event-list { display: grid; gap: 12px; }
.gid-status-row { display: flex; gap: 11px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #eef2f6; }
.gid-status-row:last-child { border-bottom: 0; }
.gid-status-row .material-symbols-rounded.is-ok { color: #059669; }
.gid-status-row .material-symbols-rounded.is-warn { color: #d97706; }
.gid-status-row div { display: grid; gap: 3px; }
.gid-status-row strong { color: #334155; }
.gid-status-row span { color: #64748b; font-size: 13px; line-height: 1.45; }
.gid-event { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; }
.gid-event__dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.gid-event__dot.is-ok { background: #10b981; }
.gid-event__dot.is-error { background: #ef4444; }
.gid-event div { display: grid; min-width: 0; }
.gid-event strong { color: #334155; font-size: 13px; }
.gid-event span { color: #64748b; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gid-event time { color: #94a3b8; font-size: 11px; }
.gid-empty { color: #94a3b8; }
.gid-admin__saved { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-radius: 12px; background: #ecfdf5; color: #047857; font-weight: 700; }
.gid-settings { display: grid; gap: 18px; }
.gid-switch { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #eef2f6; cursor: pointer; }
.gid-switch:last-of-type { border-bottom: 0; }
.gid-switch > span:first-child { display: grid; gap: 4px; }
.gid-switch strong { color: #334155; }
.gid-switch small { color: #64748b; line-height: 1.5; }
.gid-switch input { position: absolute; opacity: 0; pointer-events: none; }
.gid-switch__track { position: relative; width: 48px; height: 28px; border-radius: 999px; background: #cbd5e1; transition: background .2s ease; }
.gid-switch__track::after { content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.2); transition: transform .2s ease; }
.gid-switch input:checked + .gid-switch__track { background: #0ea5b7; }
.gid-switch input:checked + .gid-switch__track::after { transform: translateX(20px); }
.gid-settings__field { display: grid; gap: 7px; margin-top: 16px; color: #334155; font-size: 13px; font-weight: 700; }
.gid-settings__field input,
.gid-settings__field select { min-height: 44px; padding: 0 12px; border: 1px solid #dbe3eb; border-radius: 10px; background: #fff; color: #172033; font: inherit; }
.gid-settings__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gid-callback { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 14px; background: #f8fafc; }
.gid-callback > .material-symbols-rounded { color: #0f7181; }
.gid-callback div { display: grid; gap: 4px; min-width: 0; }
.gid-callback strong { color: #334155; font-size: 12px; }
.gid-callback code { overflow: hidden; color: #64748b; text-overflow: ellipsis; white-space: nowrap; }
.gid-callback button { border: 0; background: #e2e8f0; color: #334155; border-radius: 9px; padding: 8px 11px; cursor: pointer; font-weight: 750; }
.gid-settings__actions { display: flex; justify-content: flex-end; }
.gid-pill { display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 999px; font-size: 11px !important; }
.gid-pill.is-ok { background: #ecfdf5; color: #047857 !important; }
.gid-pill.is-warn { background: #fff7ed; color: #c2410c !important; }
.gid-pill.is-error { background: #fff1f2; color: #be123c !important; }
.gid-panel--table { padding: 0; overflow: hidden; }
.gid-table-wrap { overflow-x: auto; }
.gid-table { width: 100%; border-collapse: collapse; }
.gid-table th { padding: 13px 16px; background: #f8fafc; color: #64748b; font-size: 11px; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
.gid-table td { padding: 14px 16px; border-top: 1px solid #eef2f6; color: #475569; font-size: 13px; vertical-align: top; }
.gid-table code { color: #64748b; }
.gid-empty-cell { text-align: center; color: #94a3b8 !important; padding: 34px !important; }

@media (max-width: 900px) {
  .gid-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gid-admin__grid { grid-template-columns: 1fr; }
  .gid-admin__hero { align-items: flex-start; flex-direction: column; }
  .gid-admin__toggle { min-width: 0; }
}
@media (max-width: 620px) {
  .gid-kpis { grid-template-columns: 1fr; }
  .gid-settings__two { grid-template-columns: 1fr; }
  .gid-callback { grid-template-columns: auto 1fr; }
  .gid-callback button { grid-column: 1 / -1; }
  .gid-admin__hero,
  .gid-admin__page-head,
  .gid-panel { padding: 18px; }
}

/* 1.1.0 · login personalizable */
.gid-auth {
  --gid-accent: #203f56;
  --gid-text: #172033;
  --gid-muted: #64748b;
  --gid-input-radius: 14px;
  --gid-button-radius: 14px;
  --gid-card-padding: 30px;
  display: block;
  padding: var(--gid-card-padding);
  color: var(--gid-text);
}
.gid-auth__brand { display: grid; justify-items: center; gap: 4px; margin: 0 0 24px; text-align: center; }
.gid-auth__brand img { display: block; max-width: min(220px, 80%); max-height: 110px; object-fit: contain; margin-bottom: 4px; }
.gid-auth__brand strong { color: var(--gid-text); font-size: 21px; line-height: 1.2; }
.gid-auth__brand span { color: var(--gid-muted); font-size: 13px; }
.gid-auth__intro { margin: 0 0 22px; text-align: center; }
.gid-auth__eyebrow { display: inline-flex; margin: 0 0 13px; padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--gid-accent) 9%, white); color: var(--gid-accent); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.gid-auth__title { color: var(--gid-text); font-size: clamp(28px, 6vw, 42px); line-height: 1.14; letter-spacing: -.035em; }
.gid-auth__title strong { font-weight: 800; }
.gid-auth__lead { max-width: 560px; margin: 14px auto 0; color: var(--gid-muted); font-size: 15px; line-height: 1.65; }
.gid-auth__tabs { margin: 0 0 24px; }
.gid-auth__tab { color: var(--gid-muted); }
.gid-auth__tab.is-active { color: var(--gid-text); }
.gid-google-button { border-radius: var(--gid-button-radius); color: var(--gid-text); }
.gid-field { color: var(--gid-text); }
.gid-field__control { border-radius: var(--gid-input-radius); }
.gid-primary-button { border-radius: var(--gid-button-radius); background: var(--gid-accent); }
.gid-primary-button:hover { background: color-mix(in srgb, var(--gid-accent) 82%, black); }
.gid-auth__secondary-link { color: var(--gid-muted); }
.gid-auth__fineprint { color: var(--gid-muted); }
.gid-auth__notice { margin: 0 0 18px; border: 1px solid transparent; }
.gid-auth__notice--info { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.gid-auth__notice--warning { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.gid-auth__notice--maintenance { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.gid-auth__notice--success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.gid-auth__notice strong { display: block; }
.gid-auth__notice span:not(.material-symbols-rounded) { display: block; margin-top: 2px; line-height: 1.5; }

/* Configurador visual */
.gid-config { max-width: none; }
.gid-admin__saved { align-items: flex-start; }
.gid-admin__saved div { display: grid; gap: 2px; }
.gid-admin__saved div span { font-size: 12px; font-weight: 500; opacity: .82; }
.gid-admin__page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.gid-preview-link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid #dbe3eb; border-radius: 11px; background: #fff; color: #334155; text-decoration: none; font-weight: 750; white-space: nowrap; }
.gid-preview-link:hover { color: #0f7181; border-color: #9bd5dd; }
.gid-google-status { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid #fed7aa; background: #fff7ed; }
.gid-google-status.is-ready { background: #ecfdf5; border-color: #a7f3d0; }
.gid-google-status > div:first-child { display: flex; gap: 11px; align-items: flex-start; }
.gid-google-status > div:first-child > .material-symbols-rounded { color: #c2410c; }
.gid-google-status.is-ready > div:first-child > .material-symbols-rounded { color: #047857; }
.gid-google-status > div:first-child div { display: grid; gap: 3px; }
.gid-google-status strong { color: #172033; }
.gid-google-status span { color: #64748b; font-size: 13px; }
.gid-google-status__checks { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.gid-google-status__checks span { padding: 6px 9px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; font-size: 11px; font-weight: 750; }
.gid-google-status__checks span.is-ok { background: #d1fae5; border-color: #a7f3d0; color: #047857; }
.gid-config__form { display: grid; gap: 18px; }
.gid-config__workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); gap: 22px; align-items: start; }
.gid-config__editor { min-width: 0; }
.gid-config__tabs { display: flex; gap: 6px; margin: 0 0 14px; padding: 5px; border: 1px solid #e2e8f0; border-radius: 13px; background: #f8fafc; }
.gid-config__tabs button { flex: 1; min-height: 39px; border: 0; border-radius: 9px; background: transparent; color: #64748b; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.gid-config__tabs button.is-active { background: #fff; color: #172033; box-shadow: 0 3px 12px rgba(15,23,42,.08); }
.gid-config__section { display: none; gap: 16px; }
.gid-config__section.is-active { display: grid; }
.gid-settings__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gid-settings__field small { color: #64748b; font-size: 11px; font-weight: 500; line-height: 1.45; }
.gid-settings__field input[type="color"] { width: 100%; height: 44px; padding: 4px; }
.gid-settings__field input[type="range"] { width: 100%; accent-color: #0ea5b7; }
.gid-checkline { display: flex; gap: 9px; align-items: center; margin-top: 12px; color: #475569; font-size: 12px; cursor: pointer; }
.gid-checkline input { accent-color: #0ea5b7; }
.gid-upload-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; margin-top: 16px; }
.gid-upload-preview { display: grid; place-items: center; width: 110px; height: 82px; overflow: hidden; border: 1px dashed #cbd5e1; border-radius: 14px; background: #f8fafc; color: #94a3b8; }
.gid-upload-preview img { width: 100%; height: 100%; object-fit: contain; }
.gid-upload-preview--background img { object-fit: cover; }
.gid-rich-field { position: relative; }
.gid-rich-toolbar { display: flex; gap: 4px; margin-bottom: -1px; padding: 6px; border: 1px solid #dbe3eb; border-bottom: 0; border-radius: 10px 10px 0 0; background: #f8fafc; }
.gid-rich-toolbar button { display: grid; place-items: center; min-width: 30px; height: 28px; padding: 0 7px; border: 0; border-radius: 6px; background: transparent; color: #475569; cursor: pointer; }
.gid-rich-toolbar button:hover { background: #e2e8f0; color: #172033; }
.gid-rich-toolbar .material-symbols-rounded { font-size: 17px; }
.gid-rich-editor { display: block; min-height: 82px; padding: 11px 12px; border: 1px solid #dbe3eb; border-radius: 0 0 10px 10px; background: #fff; color: #172033; font-weight: 500; line-height: 1.55; outline: none; }
.gid-rich-editor:focus { border-color: #67c5d0; box-shadow: 0 0 0 3px rgba(14,165,183,.1); }
.gid-preview-pane { position: sticky; top: 82px; display: grid; gap: 10px; }
.gid-preview-pane__head { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.gid-preview-pane__head div { display: grid; gap: 2px; }
.gid-preview-pane__head div span { color: #64748b; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.gid-preview-pane__head strong { color: #172033; }
.gid-live-dot { display: inline-flex; align-items: center; gap: 6px; color: #047857; font-size: 11px; font-weight: 800; }
.gid-live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.gid-live-preview { min-height: 720px; display: grid; place-items: center; padding: 28px 18px; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg,#08111f,#0ea5b7); box-shadow: 0 18px 45px rgba(15,23,42,.12); }
.gid-live-preview__card { width: min(100%, 390px); padding: 24px; border-radius: 22px; background: #fff; color: #172033; box-shadow: 0 24px 60px rgba(2,6,23,.25); }
.gid-live-brand { display: grid; justify-items: center; gap: 3px; margin-bottom: 18px; text-align: center; }
.gid-live-brand strong { font-size: 17px; }
.gid-live-brand > span { color: #64748b; font-size: 10px; }
.gid-live-logo { display: grid; place-items: center; width: 56px; height: 48px; color: #203f56; }
.gid-live-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gid-live-intro { text-align: center; }
.gid-live-eyebrow { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #eef8fa; color: #0f7181; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.gid-live-title { margin-top: 10px; font-size: 25px; line-height: 1.14; letter-spacing: -.03em; }
.gid-live-copy { margin-top: 8px; color: #64748b; font-size: 11px; line-height: 1.5; }
.gid-live-alert { margin-top: 14px; padding: 9px 11px; border-radius: 9px; font-size: 9px; line-height: 1.4; }
.gid-live-alert--info { background: #eff6ff; color: #1d4ed8; }
.gid-live-alert--warning { background: #fff7ed; color: #c2410c; }
.gid-live-alert--maintenance { background: #fef3c7; color: #92400e; }
.gid-live-alert--success { background: #ecfdf5; color: #047857; }
.gid-live-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 17px; padding: 4px; border-radius: 9px; background: #f1f5f9; color: #64748b; font-size: 10px; font-weight: 750; text-align: center; }
.gid-live-tabs span { padding: 7px; border-radius: 6px; }
.gid-live-tabs .is-active { background: #fff; color: #172033; }
.gid-live-google { width: 100%; margin-top: 14px; padding: 10px; border: 1px solid #dbe3eb; border-radius: 10px; background: #fff; color: #172033; font: inherit; font-size: 10px; font-weight: 750; }
.gid-live-google b { margin-right: 5px; color: #4285f4; }
.gid-live-divider { display: flex; align-items: center; gap: 8px; margin: 10px 0; color: #94a3b8; font-size: 8px; }
.gid-live-divider::before,.gid-live-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.gid-live-preview__card label { display: grid; gap: 5px; margin-top: 10px; color: #334155; font-size: 9px; font-weight: 750; }
.gid-live-preview__card label div { display: flex; align-items: center; gap: 7px; padding: 9px 10px; border: 1px solid #dbe3eb; border-radius: 10px; }
.gid-live-preview__card label .material-symbols-rounded { color: #94a3b8; font-size: 15px; }
.gid-live-preview__card label input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 10px; }
.gid-live-primary { display: flex; width: 100%; justify-content: center; align-items: center; gap: 7px; margin-top: 13px; padding: 11px; border: 0; border-radius: 10px; background: #203f56; color: #fff; font: inherit; font-size: 10px; font-weight: 800; }
.gid-live-primary .material-symbols-rounded { font-size: 15px; }
.gid-live-preview__card > a { display: block; margin-top: 10px; color: #64748b; font-size: 9px; text-align: center; }
.gid-config__savebar { position: sticky; bottom: 12px; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 14px 13px 18px; border: 1px solid #dbe3eb; border-radius: 15px; background: rgba(255,255,255,.96); box-shadow: 0 18px 45px rgba(15,23,42,.12); backdrop-filter: blur(12px); }
.gid-config__savebar > div { display: grid; gap: 2px; }
.gid-config__savebar strong { color: #172033; }
.gid-config__savebar span { color: #64748b; font-size: 12px; }
.gid-config__savebar .gid-primary-button { width: auto; min-width: 190px; }

@media (max-width: 1180px) {
  .gid-config__workspace { grid-template-columns: 1fr; }
  .gid-preview-pane { position: static; }
  .gid-live-preview { min-height: 620px; }
}
@media (max-width: 760px) {
  .gid-auth { padding: 20px; }
  .gid-auth__title { font-size: 31px; }
  .gid-admin__page-head,.gid-google-status,.gid-config__savebar { align-items: stretch; flex-direction: column; }
  .gid-settings__three,.gid-settings__two { grid-template-columns: 1fr; }
  .gid-config__tabs { overflow-x: auto; }
  .gid-config__tabs button { min-width: 110px; }
  .gid-upload-row { grid-template-columns: 82px 1fr; }
  .gid-upload-preview { width: 82px; height: 72px; }
  .gid-config__savebar .gid-primary-button { width: 100%; }
}
.gid-live-preview__card { --preview-accent:#203f56; --preview-text:#172033; --preview-muted:#64748b; color:var(--preview-text); }
.gid-live-brand strong,.gid-live-title,.gid-live-tabs .is-active,.gid-live-preview__card label { color:var(--preview-text); }
.gid-live-brand > span,.gid-live-copy,.gid-live-preview__card > a { color:var(--preview-muted); }
.gid-live-eyebrow { color:var(--preview-accent); background:color-mix(in srgb,var(--preview-accent) 9%,white); }
.gid-live-primary { background:var(--preview-accent); }
.gid-live-tabs button { padding: 7px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; font-weight: 750; cursor: pointer; }
.gid-live-tabs button.is-active { background: #fff; color: var(--preview-text); box-shadow: 0 2px 8px rgba(15,23,42,.06); }
.gid-live-panel { display: none; }
.gid-live-panel.is-active { display: block; }
.gid-live-fineprint { margin-top: 9px; color: var(--preview-muted); font-size: 8px; line-height: 1.45; text-align: center; }

/* 1.2.0 · integración web */
.gid-settings__field textarea { width: 100%; padding: 12px; border: 1px solid #dbe3eb; border-radius: 10px; background: #fff; color: #172033; font: inherit; resize: vertical; }
.gid-code { margin: 16px 0; padding: 15px; overflow: auto; border-radius: 12px; background: #0f172a; color: #dbeafe; font-size: 12px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.gid-embed-complete { min-height: 320px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; color: #172033; }
.gid-embed-complete .material-symbols-rounded { font-size: 54px; color: #059669; }
.gid-embed-complete strong { font-size: 22px; }
.gid-embed-complete span:last-child { color: #64748b; }
html.gid-embed-page, body.gid-embed-page { margin: 0; min-height: 100%; background: transparent; }
body.gid-embed-page .gid-auth { max-width: 620px; margin: 0 auto; background: var(--gid-card-background, #fff); border-radius: 22px; }


/* Integración web: el código debe conservar contraste aun con estilos globales del panel. */
.gid-code code {
  display: block;
  color: inherit !important;
  background: transparent !important;
  font: inherit;
  white-space: inherit;
}

.gid-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #172033;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.gid-copy-button:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  transform: translateY(-1px);
}

.gid-copy-button .material-symbols-rounded {
  font-size: 19px;
}
