/* Asientos Contables — mismo lenguaje visual que el módulo de Contabilidad de Pendientes FCA. Todo bajo .asc */
.asc, .asc-gestor, .asc-toast, #asc-printarea {
	--asc-bg: #f5f7fb; --asc-surface: #fff; --asc-line: #dfe3e8; --asc-fg: #1b2430; --asc-muted: #5f6b7a;
	--asc-accent: #2563c9; --asc-accent-soft: #e8f0fd;
	--asc-done: #2c7a4b; --asc-done-soft: #e3f2e8;
	--asc-urg: #b42318; --asc-urg-soft: #fde8e6;
	--asc-proc: #8a6a00; --asc-proc-soft: #fbf3d6;
	--asc-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--asc-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.asc { color: var(--asc-fg); font: 15px/1.45 var(--asc-sans); display: flex; flex-direction: column; gap: 14px; margin: 1em 0 2em; max-width: 100%; }
.asc *, .asc *::before, .asc *::after { box-sizing: border-box; }
.asc [hidden] { display: none !important; }
.asc button, .asc select, .asc input, .asc textarea { font: inherit; color: inherit; box-shadow: none; letter-spacing: normal; text-transform: none; }
.asc :focus-visible { outline: 2px solid var(--asc-accent); outline-offset: 2px; }
.asc h2, .asc h3 { font-family: var(--asc-sans); letter-spacing: normal; }

/* Encabezado */
.asc-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.asc .asc-h1 { margin: 0; padding: 0; font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--asc-fg); }
.asc-sub { color: var(--asc-muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 10px; min-height: 1em; }
.asc-saved { color: var(--asc-muted); font-size: 12px; }
.asc-saved:not(:empty)::before { content: "● "; color: var(--asc-done); font-size: 9px; vertical-align: 1px; }
.asc-actions, .asc-dlg-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.asc-spacer { flex: 1; }
.asc-notice { background: var(--asc-proc-soft); color: var(--asc-proc); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 0; }
.asc-notice a { color: inherit; font-weight: 600; }

/* Botones */
.asc .asc-btn, .asc-gestor .asc-btn {
	border: 1px solid var(--asc-line); background: var(--asc-surface); color: var(--asc-fg); border-radius: 8px;
	padding: 8px 14px; cursor: pointer; font-weight: 500; line-height: 1.3; min-height: 0; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center;
}
.asc .asc-btn:hover, .asc-gestor .asc-btn:hover { border-color: var(--asc-accent); background: var(--asc-surface); color: var(--asc-fg); }
.asc .asc-btn.primary, .asc-gestor .asc-btn.primary { background: linear-gradient(135deg, #2f6fd6, #1f5fbf); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(37, 99, 201, .28); }
.asc .asc-btn.primary:hover, .asc-gestor .asc-btn.primary:hover { filter: brightness(1.07); color: #fff; }
.asc .asc-btn.danger { color: var(--asc-urg); }
.asc .asc-btn.danger.arm { background: var(--asc-urg); border-color: var(--asc-urg); color: #fff; }
.asc .asc-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--asc-accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.asc .asc-link:hover { text-decoration: underline; background: none; }
.asc .asc-link.danger { color: var(--asc-urg); }
.asc .asc-xbtn { border: 0; background: none; color: var(--asc-muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 6px; border-radius: 6px; min-height: 0; }
.asc .asc-xbtn:hover { color: var(--asc-urg); background: var(--asc-urg-soft); }

/* Selector de ejercicio */
.asc .asc-sel-ej { border: 1px solid var(--asc-line); background-color: var(--asc-surface); border-radius: 8px; padding: 7px 28px 7px 10px; font-size: 14px; min-height: 36px; max-width: 280px; font-weight: 600; }

/* Menú "Más" */
.asc-more { position: relative; }
.asc-more > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.asc-more > summary::-webkit-details-marker { display: none; }
.asc-more > summary::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.asc-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--asc-surface); border: 1px solid var(--asc-line); border-radius: 10px; box-shadow: 0 8px 24px rgba(20, 30, 50, .12); padding: 6px; min-width: 220px; display: flex; flex-direction: column; }
.asc .asc-menu button { border: 0; background: none; text-align: left; padding: 9px 12px; border-radius: 6px; cursor: pointer; font-size: 14px; color: var(--asc-fg); line-height: 1.3; }
.asc .asc-menu button:hover { background: var(--asc-bg); }

/* Pestañas segmentadas */
.asc-seg { display: inline-flex; flex-wrap: wrap; align-self: flex-start; gap: 2px; background: var(--asc-surface); border: 1px solid var(--asc-line); border-radius: 9px; padding: 3px; box-shadow: 0 1px 2px rgba(20, 40, 80, .04), 0 6px 18px rgba(20, 40, 80, .04); }
.asc .asc-seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 10px; border-radius: 6px; cursor: pointer; color: var(--asc-muted); font-weight: 500; font-size: 14px; line-height: 1.3; min-height: 0; }
.asc .asc-seg button:hover { color: var(--asc-fg); background: none; }
.asc .asc-seg button[aria-pressed="true"] { background: var(--asc-accent-soft); color: var(--asc-accent); }

/* Mensajes */
.asc-msg { border-radius: 8px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.asc-msg.ok { background: var(--asc-done-soft); color: var(--asc-done); }
.asc-msg.bad { background: var(--asc-urg-soft); color: var(--asc-urg); }
.asc-help { color: var(--asc-muted); font-size: 13px; margin: 0; }
.asc-list { background: var(--asc-surface); border: 1px solid var(--asc-line); border-radius: 10px; overflow: hidden; }
.asc-empty { padding: 40px 16px; text-align: center; color: var(--asc-muted); }
.asc-blank { background: var(--asc-surface); border: 1px dashed var(--asc-line); border-radius: 12px; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.asc-blank h2 { margin: 0; font-size: 20px; }
.asc-blank p { margin: 0 0 8px; color: var(--asc-muted); max-width: 460px; }
.asc-mono { font-family: var(--asc-mono); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--asc-muted); }
.asc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Enunciado */
.asc-enun { background: var(--asc-surface); border: 1px solid var(--asc-line); border-radius: 12px; padding: 10px 14px; }
.asc-enun summary { cursor: pointer; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--asc-muted); font-weight: 600; }
.asc .asc-enun textarea { width: 100%; margin-top: 8px; font-size: 14px; line-height: 1.5; border: 1px solid var(--asc-line); border-radius: 8px; background: var(--asc-bg); padding: 8px 10px; resize: vertical; }

/* Libro diario: un asiento por tarjeta */
.asc-diario { display: flex; flex-direction: column; gap: 12px; }
.asc-as { background: var(--asc-surface); border: 1px solid var(--asc-line); border-left: 4px solid var(--asc-done); border-radius: 12px; padding: 10px 12px 8px; }
.asc-as.bad { border-left-color: var(--asc-urg); }
.asc-as.ver-ok { box-shadow: 0 0 0 2px var(--asc-done-soft); }
.asc-as.ver-mal { border-left-color: var(--asc-urg); box-shadow: 0 0 0 2px var(--asc-urg-soft); }
.asc-tab { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; background: none; border: 0; }
.asc .asc-tab th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--asc-muted); font-weight: 600; padding: 4px 6px; text-align: left; border: 0; border-bottom: 1px solid var(--asc-line); background: none; }
.asc .asc-tab th.asc-amt, .asc .asc-tab td.asc-amt { width: 150px; text-align: right; }
.asc .asc-tab .asc-x { width: 34px; text-align: center; }
.asc-hc { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.asc-n { display: inline-flex; align-items: center; gap: 6px; color: var(--asc-fg); font-size: 13px; }
.asc .asc-tab .asc-n input { width: 64px; min-height: 30px; font: 700 14px var(--asc-mono); text-align: center; padding: 2px 4px; }
.asc .asc-tab .asc-hc input[type=date] { width: auto; min-height: 30px; font-size: 13px; padding: 2px 6px; text-transform: none; letter-spacing: normal; }
.asc-fecha { text-transform: none; letter-spacing: normal; font-weight: 400; }
.asc .asc-tab td { padding: 3px 6px; vertical-align: middle; border: 0; background: none; }
.asc .asc-tab select, .asc .asc-tab input { width: 100%; min-height: 34px; height: auto; font-size: 14px; border: 1px solid transparent; background: var(--asc-bg); border-radius: 6px; padding: 4px 8px; margin: 0; max-width: none; }
.asc .asc-tab select:hover, .asc .asc-tab input:hover { border-color: var(--asc-line); }
.asc .asc-tab select:focus, .asc .asc-tab input:focus { border-color: var(--asc-accent); background: var(--asc-surface); outline: none; }
.asc .asc-amt input { text-align: right; font-family: var(--asc-mono); }
.asc-mov.abono .asc-cell-c { padding-left: 48px !important; }
.asc .asc-tab tfoot td { border-top: 1px solid var(--asc-line); padding-top: 6px; }
.asc .asc-tab tfoot input { background: none; font-style: italic; color: var(--asc-muted); }
.asc-sum { font: 700 14px var(--asc-mono); padding-right: 14px !important; }
.asc-asf { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 6px 6px 0; font-size: 13px; }
.asc-asf .ok, .asc-ver.ok { color: var(--asc-done); }
.asc-asf .bad, .asc-ver.bad, .asc-check.bad, .asc-tot em.bad { color: var(--asc-urg); }
.asc-ver { font-weight: 700; }
.asc-as.lectura .asc-cell-c { padding: 6px !important; }
.asc-as.lectura .asc-mov.abono .asc-cell-c { padding-left: 48px !important; }
.asc-as.lectura td.asc-amt { padding: 6px 14px 6px 6px; }
.asc-concepto-txt { font-style: italic; color: var(--asc-muted); }
.asc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.asc-tot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.asc-tot b { font: 700 15px var(--asc-mono); min-width: 120px; text-align: right; }
.asc-tot em { font-style: normal; font-weight: 600; color: var(--asc-done); }

/* Esquemas de mayor */
.asc-mayor { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.asc-t { background: var(--asc-surface); border: 1px solid var(--asc-line); border-radius: 12px; padding: 10px 12px; }
.asc .asc-t h3 { margin: 0 0 6px; font-size: 14px; text-align: center; border-bottom: 2px solid var(--asc-fg); padding-bottom: 6px; font-weight: 700; }
.asc-t h3 small { display: block; font: 500 11px var(--asc-mono); color: var(--asc-muted); }
.asc .asc-t table { width: 100%; border-collapse: collapse; font: 13px var(--asc-mono); margin: 0; border: 0; }
.asc .asc-t td { padding: 2px 4px; text-align: right; border: 0; background: none; }
.asc .asc-t td:nth-child(2) { border-right: 2px solid var(--asc-fg); }
.asc .asc-t td.n { width: 22px; color: var(--asc-muted); font-size: 10px; text-align: left; }
.asc .asc-t tfoot .mov td { border-top: 1px solid var(--asc-fg); font-weight: 700; }
.asc .asc-t tfoot .sal td { border-right: 0; font-weight: 700; color: var(--asc-accent); text-align: center; padding-top: 4px; }
.asc-t.contrario { border-color: #f3c3bd; }
.asc .asc-t.contrario tfoot .sal td { color: var(--asc-urg); }
.asc-t-aviso { margin: 4px 0 0; text-align: center; font-size: 11px; color: var(--asc-urg); }

/* Balanza y catálogo */
.asc-bal, .asc-cat { width: 100%; border-collapse: collapse; background: var(--asc-surface); border: 1px solid var(--asc-line); font-size: 13px; margin: 0; }
.asc .asc-bal th, .asc .asc-cat th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--asc-muted); font-weight: 600; padding: 6px 8px; border: 0; border-bottom: 1px solid var(--asc-line); text-align: center; background: none; }
.asc .asc-bal td, .asc .asc-cat td { padding: 5px 8px; border: 0; border-bottom: 1px solid var(--asc-line); background: none; }
.asc .asc-bal td:nth-child(n+3) { text-align: right; font-family: var(--asc-mono); }
.asc .asc-bal tfoot td { font-weight: 700; border-top: 2px solid var(--asc-fg); }
.asc-check { font-weight: 600; color: var(--asc-done); margin: 10px 0 0; }
.asc .asc-cat tr.n1 td { font-weight: 700; background: var(--asc-bg); }
.asc .asc-cat tr.n2 td { font-weight: 600; }
.asc-cat tr.ed { cursor: pointer; }
.asc .asc-cat tr.ed:hover td { background: var(--asc-accent-soft); }
.asc-ayuda { display: block; color: var(--asc-muted); font-size: 12px; font-weight: 400; }
.asc-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }

/* Diálogos */
.asc-dlg { border: 1px solid var(--asc-line); border-radius: 12px; background: var(--asc-surface); color: var(--asc-fg); padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; margin: auto; display: block; }
.asc-dlg:not([open]) { display: none; }
.asc-dlg::backdrop { background: rgba(10, 15, 25, .45); }
.asc-sheet { display: flex; flex-direction: column; gap: 14px; padding: 20px; margin: 0; }
.asc .asc-sheet h2 { margin: 0; font-size: 19px; color: var(--asc-fg); }
.asc-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.asc-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.asc-field > label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--asc-muted); font-weight: 600; }
.asc .asc-field input, .asc .asc-field select, .asc .asc-field textarea { border: 1px solid var(--asc-line); background-color: var(--asc-bg); border-radius: 8px; padding: 8px 10px; width: 100%; max-width: none; min-height: 40px; height: 40px; line-height: 1.3; margin: 0; }
.asc .asc-field textarea { height: auto; resize: vertical; min-height: 60px; }
.asc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.asc-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.asc-toggle { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; padding-top: 18px; }
.asc-toggle small { color: var(--asc-muted); }

/* Aviso flotante */
.asc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1b2430; color: #fff; padding: 9px 16px; border-radius: 8px; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; z-index: 100000; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.asc-toast[hidden] { display: none; }

/* Panel de WordPress */
.wp-admin .asc { margin: .5em 0 0; }

/* Móvil (igual que Pendientes FCA) */
@media (max-width: 640px) {
	.asc .asc-h1 { font-size: 22px; }
	.asc .asc-sel-ej { max-width: 100%; flex: 1 1 100%; }
	.asc-tab, .asc-tab tbody, .asc-tab thead, .asc-tab tfoot { display: block; }
	.asc-tab tr { display: grid; grid-template-columns: 1fr 1fr 30px; gap: 4px; align-items: center; }
	.asc .asc-tab thead th.asc-amt, .asc .asc-tab thead th.asc-x { display: none; }
	.asc .asc-tab thead th { grid-column: 1 / -1; border: 0; }
	.asc .asc-tab td { padding: 2px 0; }
	.asc .asc-tab th.asc-amt, .asc .asc-tab td.asc-amt { width: auto; }
	.asc .asc-tab td.asc-cell-c { grid-column: 1 / -1; }
	.asc-mov { border-top: 1px solid var(--asc-line); padding-top: 6px; margin-top: 4px; }
	.asc-mov.abono .asc-cell-c, .asc-as.lectura .asc-mov.abono .asc-cell-c { padding-left: 18px !important; }
	.asc .asc-mov .asc-x { grid-column: 3; grid-row: 2; }
	.asc .asc-tab tfoot td:first-child { grid-column: 1 / -1; }
	.asc-as.lectura .asc-tab tr { grid-template-columns: 1fr 1fr; }
	.asc-tot { gap: 10px; }
	.asc-tot b { min-width: 0; }
	.asc-grid2, .asc-grid3 { grid-template-columns: 1fr; }
	.asc-toggle { padding-top: 0; }
}

/* Impresión */
#asc-printarea { display: none; }
@media print {
	html.asc-printing body > *:not(#asc-printarea) { display: none !important; }
	html.asc-printing #asc-printarea { display: block; font: 12px/1.4 system-ui, sans-serif; color: #000; }
	.asc-print h2 { margin: 0; font-size: 16px; }
	.asc-print p { margin: 2px 0 8px; color: #444; }
	.asc-print h3 { font-size: 13px; margin: 12px 0 6px; }
	.asc-pdiario { width: 100%; border-collapse: collapse; font-size: 11px; }
	.asc-pdiario th, .asc-pdiario td { padding: 2px 6px; border-bottom: 1px solid #ddd; text-align: left; }
	.asc-pdiario td:nth-child(3), .asc-pdiario td:nth-child(4), .asc-pdiario th:nth-child(3), .asc-pdiario th:nth-child(4) { text-align: right; width: 110px; }
	.asc-pdiario tr.hd td { font-weight: 700; border-top: 1px solid #999; }
	.asc-pdiario td.ab { padding-left: 36px; }
	.asc-pdiario tr.cp td { font-style: italic; color: #555; }
	.asc-pdiario tfoot td { font-weight: 700; border-top: 2px solid #000; }
	.asc-print .asc-mayor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.asc-print .asc-t { border: 1px solid #ccc; border-radius: 6px; padding: 6px 8px; break-inside: avoid; }
	.asc-print .asc-t h3 { margin: 0 0 4px; font-size: 12px; text-align: center; border-bottom: 2px solid #000; }
	.asc-print .asc-t table { width: 100%; border-collapse: collapse; font: 11px ui-monospace, monospace; }
	.asc-print .asc-t td { text-align: right; padding: 1px 3px; }
	.asc-print .asc-t td:nth-child(2) { border-right: 2px solid #000; }
	.asc-print .asc-bal, .asc-print .asc-cat { width: 100%; border-collapse: collapse; font-size: 11px; }
	.asc-print .asc-bal th, .asc-print .asc-bal td, .asc-print .asc-cat th, .asc-print .asc-cat td { border-bottom: 1px solid #ccc; padding: 2px 6px; }
	.asc-print .asc-bal td:nth-child(n+3) { text-align: right; }
}

/* ---------- Gestión de ejercicios en el sitio ([asientos_profesor]) ---------- */
.asc-gestor { color: var(--asc-fg); font: 15px/1.5 var(--asc-sans); margin: 1em 0 2em; }
.asc-gestor *, .asc-gestor *::before, .asc-gestor *::after { box-sizing: border-box; }
.asc-gestor h2 { margin: 0; font-size: 22px; font-weight: 700; font-family: var(--asc-sans); }
.asc-g-cabecera { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.asc-g-volver { font-size: 14px; text-decoration: none; color: var(--asc-accent); font-weight: 600; }
.asc-g-msg { border-radius: 8px; margin: 0 0 16px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.asc-g-bien { background: var(--asc-done-soft); color: var(--asc-done); }
.asc-g-mal { background: var(--asc-urg-soft); color: var(--asc-urg); }
.asc-g-aviso, .asc-g-vacio { color: var(--asc-muted); background: var(--asc-surface); border: 1px dashed var(--asc-line); border-radius: 12px; padding: 24px; text-align: center; }
.asc-g-aviso a { color: var(--asc-accent); font-weight: 600; }
.asc-g-tabla { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--asc-surface); border: 1px solid var(--asc-line); font-size: 14px; margin: 0; }
.asc-gestor .asc-g-tabla th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--asc-muted); font-weight: 600; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--asc-line); text-align: center; background: none; white-space: nowrap; }
.asc-gestor .asc-g-tabla td { padding: 10px; border: 0; border-bottom: 1px solid var(--asc-line); text-align: center; vertical-align: middle; background: none; }
.asc-gestor .asc-g-tabla tr:hover td { background: var(--asc-bg); }
.asc-gestor .asc-izq { text-align: left !important; }
.asc-gestor .asc-scroll { overflow-x: auto; }
.asc-g-titulo { font-weight: 600; text-decoration: none; color: var(--asc-fg); }
.asc-g-titulo:hover { color: var(--asc-accent); }
.asc-g-autor { display: block; color: var(--asc-muted); font-size: 12px; }
.asc-g-fecha { color: var(--asc-muted); white-space: nowrap; font-family: var(--asc-mono); font-size: 13px; }
.asc-g-estado { border-radius: 99px; display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; background: var(--asc-bg); color: var(--asc-muted); white-space: nowrap; }
.asc-g-estado-publish { background: var(--asc-done-soft); color: var(--asc-done); }
.asc-g-estado-pending { background: var(--asc-proc-soft); color: var(--asc-proc); }
.asc-g-acciones { text-align: right !important; white-space: nowrap; }
.asc-g-acciones a { font-size: 13px; font-weight: 600; margin-left: 12px; text-decoration: none; color: var(--asc-accent); }
.asc-g-acciones a:hover { text-decoration: underline; }
.asc-g-acciones .asc-g-borrar { color: var(--asc-urg); }
.asc-g-form { display: flex; flex-direction: column; gap: 18px; background: var(--asc-surface); border: 1px solid var(--asc-line); border-radius: 12px; padding: 20px; }
.asc-g-campo { margin: 0; min-width: 0; border: 0; padding: 0; }
.asc-g-campo > label, .asc-g-campo legend, .asc-g-mas label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--asc-muted); font-weight: 600; margin-bottom: 6px; }
.asc-g-dos { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.asc-gestor .asc-g-form input[type="text"], .asc-gestor .asc-g-form input[type="number"], .asc-gestor .asc-g-form input[type="date"], .asc-gestor .asc-g-form textarea {
	border: 1px solid var(--asc-line); background-color: var(--asc-bg); border-radius: 8px; padding: 8px 10px; width: 100%; min-height: 40px; font: inherit; color: inherit; margin: 0; box-shadow: none;
}
.asc-gestor .asc-g-form input:focus, .asc-gestor .asc-g-form textarea:focus { border-color: var(--asc-accent); background: var(--asc-surface); outline: none; }
.asc-gestor #asc_titulo { font-size: 17px; font-weight: 600; }
.asc-gestor .asc-g-corto { width: 8em !important; }
.asc-g-ayuda { color: var(--asc-muted); font-size: 13px; margin: 0 0 8px; }
.asc-g-form .wp-editor-wrap { border: 1px solid var(--asc-line); border-radius: 8px; overflow: hidden; }
.asc-g-form .wp-editor-container { border: 0; }
.asc-g-form .asc { margin: 0; background: var(--asc-bg); border-radius: 12px; padding: 12px; }
.asc-g-opciones label { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-size: 14px; text-transform: none; letter-spacing: normal; color: var(--asc-fg); font-weight: 400; }
.asc-g-mas summary { cursor: pointer; color: var(--asc-accent); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.asc-g-mas textarea { margin-bottom: 12px !important; }
.asc-g-botones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; border-top: 1px solid var(--asc-line); padding-top: 16px; }
.asc-g-ver { font-size: 14px; color: var(--asc-accent); font-weight: 600; }
.asc-g-editar { display: inline-block; font-size: 14px; font-weight: 600; margin: .25em 0 .75em; color: #2563c9; }
.asc-enunciado { background: #fff; border: 1px solid #dfe3e8; border-radius: 12px; padding: 12px 16px; margin: 1em 0; }
@media (max-width: 640px) { .asc-g-dos { grid-template-columns: 1fr; } }
.asc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.asc-gestor .asc-g-form select.asc-g-select { border: 1px solid var(--asc-line); background-color: var(--asc-bg); border-radius: 8px; padding: 8px 28px 8px 10px; min-height: 40px; font: inherit; color: inherit; max-width: 360px; width: 100%; }
.asc-g-materia { font-size: 13px; color: var(--asc-muted); white-space: nowrap; }
