/* Atlas BioScan DEV — Gestión forestal colectiva */
.atlas-workspace-card.atlas-collective-launch{border-left:3px solid #10bf8a}
.afc-overlay[hidden]{display:none!important}.afc-overlay{position:fixed;inset:0;z-index:2147483001;background:rgba(14,22,31,.73);display:flex;align-items:center;justify-content:center;padding:20px;font-family:inherit;color:#292f35}.afc-overlay *{box-sizing:border-box}.afc-panel{width:min(1130px,100%);max-height:94vh;display:flex;flex-direction:column;background:#f1f3f5;border:1px solid #d4dbe0;border-radius:22px;overflow:hidden;box-shadow:0 28px 75px rgba(0,0,0,.32)}.afc-header{display:flex;justify-content:space-between;align-items:center;padding:22px 28px;border-bottom:1px solid #ccd4da}.afc-brand{font-size:12px;letter-spacing:1.5px;color:#10a67b;font-weight:800}.afc-header h2{margin:6px 0;font-size:25px}.afc-header p{margin:0;color:#637285;font-size:13px}.afc-close{font-size:27px;background:#e9edf0;border:1px solid #cbd4da;border-radius:12px;width:44px;height:44px;cursor:pointer}.afc-tabs{display:flex;gap:7px;overflow-x:auto;padding:12px 22px;background:#e1e6e9;border-bottom:1px solid #cbd3d9}.afc-tab{white-space:nowrap;border:1px solid #c4d0d7;border-radius:9px;background:#f7f9fa;padding:9px 13px;color:#3d4951;cursor:pointer;font-weight:600}.afc-tab[aria-selected=true]{background:#197d60;color:#fff;border-color:#197d60}.afc-body{overflow:auto;padding:24px 28px;min-height:340px}.afc-pane[hidden]{display:none}.afc-card{padding:18px;background:white;border:1px solid #dbe1e5;border-radius:14px;margin:0 0 14px}.afc-card h3{margin:0 0 10px;font-size:18px}.afc-card p{line-height:1.5;color:#576674}.afc-action{background:#168566;color:white;border:0;border-radius:9px;padding:11px 16px;cursor:pointer;font-weight:700}.afc-action:disabled{opacity:.5;cursor:not-allowed}.afc-secondary{background:white;border:1px solid #b5c6cb;color:#255748;border-radius:9px;padding:10px 14px;cursor:pointer}.afc-muted{color:#667782;font-size:13px}.afc-status{padding:12px;background:#e5f3ed;border-radius:9px;margin:12px 0}.afc-record{border-bottom:1px solid #e0e5e8;padding:11px 0}.afc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.afc-field{display:block;width:100%;padding:10px;border:1px solid #c5d0d5;border-radius:8px;margin:6px 0 10px}.afc-footer{padding:12px 28px;border-top:1px solid #d2dbe0;color:#6b7983;font-size:12px}.afc-badge{display:inline-block;background:#e6f4ed;border-radius:6px;padding:4px 8px;font-size:12px;color:#176a50}.afc-overlay button:focus-visible{outline:3px solid #10bf8a;outline-offset:2px}@media(max-width:680px){.afc-overlay{padding:5px}.afc-panel{max-height:98vh;border-radius:12px}.afc-header{padding:14px}.afc-header h2{font-size:19px}.afc-body{padding:14px}.afc-tabs{padding:9px}.afc-footer{padding:10px}}
/* v0.6 private management */
#afc-admin-tab[hidden]{display:none!important}.afc-admin-record{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #dde6e8;padding:12px 0}.afc-admin-record p{margin:5px 0 0}.afc-admin-buttons{display:flex;gap:6px;flex-wrap:wrap}.afc-admin-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.afc-admin-heading h3{margin:0}.afc-admin-error{background:#fff0ef;color:#a32d25}@media(max-width:680px){.afc-admin-record{align-items:flex-start;flex-direction:column}}

/* BOSCAT v0.6.1 — forced native light fields */
/* Scope deliberately limited to the collective popup; no global Atlas changes. */
.afc-overlay #afc-admin-pane input.afc-field,
.afc-overlay #afc-admin-pane select.afc-field,
.afc-overlay #afc-admin-pane textarea.afc-field {
  box-sizing: border-box !important;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid #c5d0d5 !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #29343b !important;
  -webkit-text-fill-color: #29343b !important;
  color-scheme: light !important;
  box-shadow: none !important;
  opacity: 1;
  font: inherit;
}
.afc-overlay #afc-admin-pane input.afc-field::placeholder,
.afc-overlay #afc-admin-pane textarea.afc-field::placeholder {
  color: #788590 !important;
  -webkit-text-fill-color: #788590 !important;
  opacity: 1;
}
.afc-overlay #afc-admin-pane select.afc-field { appearance: auto; cursor: pointer; }
.afc-overlay #afc-admin-pane select.afc-field option {
  background: #fff !important;
  color: #29343b !important;
}
.afc-overlay #afc-admin-pane input[type="file"].afc-field {
  height: auto;
  min-height: 48px;
  cursor: pointer;
}
.afc-overlay #afc-admin-pane input[type="file"].afc-field::file-selector-button {
  background: #edf2f3;
  color: #34434d;
  border: 1px solid #c5d0d5;
  border-radius: 7px;
  padding: 7px 12px;
  margin-right: 12px;
  font: inherit;
  cursor: pointer;
}
.afc-overlay #afc-admin-pane input.afc-field:focus,
.afc-overlay #afc-admin-pane select.afc-field:focus,
.afc-overlay #afc-admin-pane textarea.afc-field:focus {
  outline: 2px solid #168566 !important;
  outline-offset: 1px;
  border-color: #168566 !important;
}
.afc-overlay #afc-admin-pane label {
  color: #303a42 !important;
  font-weight: 600;
}


/* BOSCAT - Botón de cierre visible */
.afc-overlay .afc-close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  flex-shrink: 0 !important;
  background: #ffffff !important;
  color: #26343b !important;
  -webkit-text-fill-color: #26343b !important;
  border: 1px solid #c7d3d8 !important;
  border-radius: 12px !important;
  font-size: 29px !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  cursor: pointer !important;
  transition: background .2s, border-color .2s !important;
}

.afc-overlay .afc-close:hover {
  background: #e7f3ee !important;
  color: #117b5d !important;
  -webkit-text-fill-color: #117b5d !important;
  border-color: #168566 !important;
}

