/* Extensión de la superficie contable: perla, blanco y azul apagado. */
html[data-ui="festival"] #contab-panel-auditoria-ia [hidden] { display:none!important; }
html[data-ui="festival"] #accounting-review { color:var(--text,#202a3a); font-size:14px; line-height:1.5; min-width:0; background:transparent; }
html[data-ui="festival"] #accounting-review #ar-detail { background:transparent; }
#accounting-review .ar-heading { display:flex; align-items:start; justify-content:space-between; gap:16px; }
#accounting-review h3 { font-size:20px; line-height:1.3; margin:0 0 6px; }
#accounting-review h4 { font-size:16px; margin:24px 0 8px; }
#accounting-review p { margin:0 0 12px; }
#accounting-review .ar-heading p, #accounting-review small, #accounting-review .ar-caption { color:#59667b; }
#accounting-review .ar-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#accounting-review .ar-summary { display:flex; flex-wrap:wrap; gap:16px 40px; margin:24px 0 10px; padding:18px 0; border-block:1px solid #e0e4eb; }
#accounting-review .ar-summary div { display:flex; flex-direction:column; gap:4px; }
#accounting-review dt { font-size:14px; color:#59667b; }
#accounting-review dd { margin:0; font-size:24px; font-weight:600; font-variant-numeric:tabular-nums; }
#accounting-review .ar-caption { font-size:12px; }
#accounting-review .ar-link { color:#4e6dab; background:none; border:0; padding:6px 0; cursor:pointer; font:inherit; text-decoration:underline; text-underline-offset:3px; }
#accounting-review .ar-review-note { padding:16px 18px; background:#f1f3f7; border-radius:12px; margin:20px 0; }
#accounting-review .ar-review-note p { margin:4px 0 0; max-width:75ch; }
#accounting-review .ar-stale { background:var(--warning-bg,#fff6e9); color:var(--warning,hsl(37 83% 30%)); }
#accounting-review .ar-filters { display:grid; grid-template-columns:minmax(160px,1.4fr) 100px minmax(160px,1.1fr) minmax(160px,1.2fr) minmax(150px,1fr); gap:12px; align-items:end; }
#accounting-review label { display:flex; flex-direction:column; gap:6px; min-width:0; font-size:12px; font-weight:500; color:#59667b; }
html[data-ui="festival"] #accounting-review :is(input,select) { width:100%; min-width:0; height:42px; padding:8px 10px; border:1px solid #d3dae5; border-radius:12px; background:#fff; color:#202a3a; font-size:14px; }
#accounting-review .ar-extra { grid-column:1/-1; font-size:14px; }
#accounting-review summary { cursor:pointer; padding:8px 0; color:#4e6dab; }
#accounting-review .ar-extra>div { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin:8px 0; }
#accounting-review .ar-extra p { color:#59667b; font-size:12px; }
#accounting-review .ar-filters>.ar-link { justify-self:start; }
#accounting-review .ar-results-bar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; padding:16px 0 10px; border-top:1px solid #e0e4eb; margin-top:16px; }
#accounting-review .ar-results-bar p { margin:0; font-weight:600; }
#accounting-review .ar-results-bar span { color:#59667b; font-size:12px; }
html[data-ui="festival"] #accounting-review .ar-table { width:100%; table-layout:fixed; border-collapse:collapse; border:0; box-shadow:none; border-radius:0; }
#accounting-review .ar-table th { background:#f1f3f7; color:#59667b; font-size:12px; font-weight:500; text-align:left; }
#accounting-review .ar-table :is(th,td) { padding:14px 12px; border-bottom:1px solid #e0e4eb; vertical-align:middle; overflow-wrap:anywhere; }
#accounting-review .ar-table th:first-child { width:46%; }
#accounting-review .ar-table th:nth-child(2) { width:21%; }
#accounting-review .ar-table th:last-child { width:124px; }
#accounting-review .ar-table .btn { white-space:nowrap; padding:9px 12px; }
#accounting-review .ar-table strong { display:block; font-weight:600; }
#accounting-review .ar-table small { display:block; font-size:12px; margin-top:4px; }
#accounting-review .ar-money { text-align:right; font-variant-numeric:tabular-nums; }
html[data-ui="festival"] #accounting-review .ar-table tr.ar-selected td { background:#f0f3fa; }
#accounting-review .ar-pagination { display:flex; justify-content:flex-end; gap:14px; align-items:center; padding:16px 0; font-size:14px; }
#accounting-review #ar-detail { border-top:1px solid #d3dae5; padding-top:24px; margin:16px 0; scroll-margin-top:24px; }
#accounting-review #ar-detail>p { max-width:75ch; overflow-wrap:anywhere; }
#accounting-review .ar-evidence { margin:16px 0; }
#accounting-review pre { padding:14px; border-radius:12px; background:#f1f3f7; font-size:12px; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; max-height:400px; overflow:auto; }
#accounting-review .ar-detail-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; padding:16px 0; border-top:1px solid #e0e4eb; }
#accounting-review .ar-detail-footer p { max-width:65ch; margin:0; color:#59667b; }
#accounting-review .ar-limits { border-top:1px solid #e0e4eb; padding-top:12px; font-size:14px; }
#accounting-review .ar-hash { overflow-wrap:anywhere; }
#accounting-review #ar-references>label { max-width:360px; margin:20px 0 10px; }
#accounting-review #ar-ref-pages:empty { display:none; }
#accounting-review #ar-ref-pages { flex-wrap:wrap; }
#accounting-review .ar-empty, #accounting-review .ar-error, #accounting-review .ar-loading { padding:32px 0; }
#accounting-review :is(button,input,select,summary,a):focus-visible { outline:2px solid #4e6dab; outline-offset:3px; }
#accounting-review button:disabled { opacity:.55; cursor:default; }
#accounting-review input { caret-color:#4e6dab; }
#accounting-review ::selection { background:var(--fc-selected,#f0f3fa); color:#202a3a; }
@media(max-width:1100px) {
 #accounting-review .ar-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #accounting-review .ar-search { grid-column:1/-1; }
 #accounting-review .ar-extra>div { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 #accounting-review .ar-heading { flex-direction:column; }
 #accounting-review .ar-summary { gap:16px 28px; }
 #accounting-review .ar-table, #accounting-review .ar-table tbody, #accounting-review .ar-table tr, #accounting-review .ar-table td { display:block; width:100%; }
 #accounting-review .ar-table thead { display:none; }
 #accounting-review .ar-table tr { padding:16px 0; border-bottom:1px solid #e0e4eb; }
 #accounting-review .ar-table td { padding:4px 0; border:0; }
 #accounting-review .ar-money { text-align:left; }
 #accounting-review .ar-table td:nth-child(3)::before { content:'Importe a revisar: '; color:#59667b; font-size:12px; }
 html[data-ui="festival"] #accounting-review :is(input,select) { font-size:16px; min-height:44px; }
 #accounting-review .btn, #accounting-review .ar-link, #accounting-review summary { min-height:44px; }
 #accounting-review .ar-pagination { justify-content:space-between; gap:8px; }
}
