/* Blog tools are local and scoped to the editorial resource fragment. */
.recurso-editorial :is(.tool,.disclaimer,.examples-box,details) {
  border: 1px solid rgba(181,210,225,.22);
  border-radius: 14px;
  padding: clamp(.85rem,2.5vw,1.5rem);
  background: #111d2a;
}
.recurso-editorial .tool { border-color: var(--accent,#c9b8ff); }
.recurso-editorial .tool :is(h2,h3,p) { margin-block: .5rem 1rem; }
.recurso-editorial :is(table,.table-scroll) { max-width: 100%; }
.recurso-editorial table { display: block; overflow-x: auto; }
.recurso-editorial th { text-align: left; }
.recurso-editorial :is(th,td) { overflow-wrap: anywhere; }
.recurso-editorial .field { display: flex; flex-direction: column; gap: .25rem; margin: .5rem 0; min-width: 0; }
.recurso-editorial :is(input,select,textarea) {
  background: #0a141e; color: #f8fbff; border: 1px solid #8194a5;
  border-radius: 8px; padding: .55rem; width: 100%; min-width: 0; font: inherit;
}
.recurso-editorial input[type="checkbox"] { width: auto; }
.recurso-editorial :is(.grid,.actions) { display: flex; flex-wrap: wrap; gap: .5rem; align-items: start; }
.recurso-editorial .grid > * { flex: 1 1 10rem; }
.recurso-editorial button {
  background: var(--accent,#c9b8ff); color: #111d2a; border: 1px solid transparent;
  border-radius: 10px; padding: .45rem .65rem; font: inherit; cursor: pointer;
}
.recurso-editorial button.secondary { background: #283b50; color: #fff; border-color: #8194a5; }
.recurso-editorial :is(input,select,textarea,button,summary):focus-visible {
  outline: 2px solid #b9eaf2; outline-offset: 2px;
}
.recurso-editorial .tool-output { max-width: 100%; overflow-wrap: anywhere; }
.recurso-editorial svg { max-width: 100%; height: auto; background: #f6f9fc; border-radius: 8px; }
.recurso-editorial details + details { margin-top: .5rem; }
.recurso-editorial :is(input,select,textarea,button) { min-height: 42px; }
.recurso-editorial input[type="checkbox"] { min-height: auto; }
