/* ============================================================================
   shared/cf-acesso-editor.css — M52.acesso-operacional
   ============================================================================ */
.cf-acesso-editor-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .55);
  display: flex; align-items: center; justify-content: center;
  z-index: 9700;
  padding: 20px;
}
.cf-acesso-editor {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35);
  font-family: 'Inter', system-ui, sans-serif;
}

.cf-acesso-editor > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.cf-acesso-editor > header h3 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 16px;
  margin: 0;
  color: #0f172a;
  line-height: 1.3;
}
.cf-acesso-editor > header small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
}
.cf-aed-pill {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cf-aed-demo { background: #fef3c7; color: #854d0e; }
.cf-aed-close {
  background: transparent; border: 0;
  color: #64748b; cursor: pointer;
  padding: 4px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.cf-aed-close:hover { background: rgba(0,0,0,.06); color: #0f172a; }
.cf-aed-close i { width: 16px; height: 16px; }

.cf-aed-body {
  padding: 16px 20px;
  overflow-y: auto;
  display: grid;
  gap: 18px;
}

.cf-aed-current {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 14px;
}
.cf-aed-current strong {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 600;
}
.cf-aed-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}
.cf-aed-rows > div {
  display: flex; justify-content: space-between;
  font-size: 12px;
}
.cf-aed-rows span { color: #64748b; }
.cf-aed-rows b { color: #0f172a; font-weight: 600; }

.cf-aed-form strong {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 600;
}
.cf-aed-form label {
  display: block;
  margin-bottom: 12px;
}
.cf-aed-form label > span {
  display: block;
  font-size: 11.5px;
  color: #475569;
  margin-bottom: 4px;
  font-weight: 500;
}
.cf-aed-form input,
.cf-aed-form select,
.cf-aed-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12.5px;
  font-family: inherit;
  background: #fff;
  color: #0f172a;
  outline: none;
  transition: border-color 100ms;
}
.cf-aed-form input:focus,
.cf-aed-form select:focus,
.cf-aed-form textarea:focus {
  border-color: #1E5BAA;
  box-shadow: 0 0 0 3px rgba(30, 91, 170, .14);
}
.cf-aed-form textarea { resize: vertical; min-height: 48px; }

.cf-aed-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cf-aed-row-2 > label { margin-bottom: 0; }

.cf-aed-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}
.cf-aed-quick small {
  font-size: 11px;
  color: #94a3b8;
  margin-right: 4px;
}
.cf-aed-mini {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: background 120ms, border-color 120ms;
}
.cf-aed-mini:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}
.cf-aed-mini-danger { color: #dc2626; }
.cf-aed-mini-danger:hover { background: #fee2e2; border-color: #fecaca; }

.cf-acesso-editor > footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.cf-aed-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  border: 0;
}
.cf-aed-btn-ghost {
  background: transparent;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.cf-aed-btn-ghost:hover { background: #f1f5f9; }
.cf-aed-btn-primary {
  background: #1E5BAA;
  color: #fff;
}
.cf-aed-btn-primary:hover { background: #143C7E; }

/* Player open button (inline, reuse em vários lugares) */
.cf-mini-player-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #1E5BAA14;
  color: #1E5BAA;
  border: 1px solid #1E5BAA33;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms;
}
.cf-mini-player-btn:hover { background: #1E5BAA22; }
.cf-mini-player-btn i { width: 11px; height: 11px; }
