/* Academium Design System 3.10.5
   Shared visual primitives for dashboards, modals, tables and action controls. */
:root{
  --ac-color-ink:#13263d;
  --ac-color-muted:#7d8ca0;
  --ac-color-line:#dfe8f1;
  --ac-color-panel:#ffffff;
  --ac-color-soft:#f7fafc;
  --ac-color-primary:#1767d7;
  --ac-color-accent:#13a8ba;
  --ac-color-success:#12a87d;
  --ac-radius-sm:9px;
  --ac-radius-md:14px;
  --ac-radius-lg:20px;
  --ac-shadow-card:0 12px 34px rgba(16,36,58,.055);
  --ac-shadow-float:0 20px 55px rgba(10,24,42,.16);
  --ac-control-h:36px;
  --ac-icon-btn:29px;
  --ac-transition:.16s ease;
}
/* Shared icon-button geometry. Existing component selectors opt in without markup changes. */
.ac-btn-icon,
.acp-batch-catalog .batch-icon-action,
.acp-logout,
.ruta-side-logout{
  box-sizing:border-box;
  align-items:center;
  justify-content:center;
}
.ac-btn-icon svg,
.acp-batch-catalog .batch-icon-action svg,
.acp-logout svg,
.ruta-side-logout svg{
  stroke-linecap:round;
  stroke-linejoin:round;
}
/* Shared card and control language for future modules. */
.ac-card{background:var(--ac-color-panel);border:1px solid var(--ac-color-line);border-radius:var(--ac-radius-md);box-shadow:var(--ac-shadow-card)}
.ac-btn{min-height:var(--ac-control-h);border-radius:10px;border:1px solid var(--ac-color-line);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;font-weight:750;transition:transform var(--ac-transition),box-shadow var(--ac-transition),border-color var(--ac-transition),background var(--ac-transition)}
.ac-btn-primary{color:#fff;background:linear-gradient(135deg,#159db4,#20c58f);border-color:transparent;box-shadow:0 8px 20px rgba(17,166,161,.16)}
.ac-btn-primary:hover{transform:translateY(-1px);box-shadow:0 11px 24px rgba(17,166,161,.21)}
.ac-badge{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:4px 9px;border-radius:999px;font-size:11.5px;font-weight:800}

/* Academium 3.10.6 — compact code control */
.acops-code-control{padding:18px!important}
.acops-code-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.acops-code-head>div{display:flex;align-items:flex-start;gap:10px;min-width:0}.acops-code-head h3{margin:0 0 3px!important}.acops-code-head p{margin:0!important;color:#7f8da0;font-size:12px;line-height:1.45}.acops-code-count{flex:0 0 auto;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;background:#f2f6fa;border:1px solid #e4ebf2;color:#718196;font-size:11.5px;font-weight:800}
.acops-code-table{border:1px solid #e3eaf2;border-radius:14px;overflow:auto;max-height:430px;background:#fff;scrollbar-width:thin;scrollbar-color:#c8d3df transparent}
.acops-code-table::-webkit-scrollbar{width:6px;height:6px}.acops-code-table::-webkit-scrollbar-thumb{background:#c8d3df;border-radius:999px}.acops-code-table::-webkit-scrollbar-track{background:transparent}
.acops-code-table table{width:100%!important;min-width:0!important;margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important}
.acops-code-table thead{position:sticky;top:0;z-index:2}.acops-code-table th{height:34px!important;padding:0 12px!important;background:#f7f9fc!important;color:#748297!important;font-size:11px!important;font-weight:850!important;letter-spacing:.05em!important;text-transform:uppercase!important;border-bottom:1px solid #e9eef4!important;white-space:nowrap}
.acops-code-table td{height:48px!important;padding:6px 12px!important;background:#fff!important;border-bottom:1px solid #eef2f6!important;vertical-align:middle!important;font-size:12px!important}.acops-code-table tbody tr:last-child td{border-bottom:0!important}.acops-code-table tbody tr:hover td{background:#fbfdff!important}
.acops-code-table th:nth-child(1){width:46%}.acops-code-table th:nth-child(2){width:26%}.acops-code-table th:nth-child(3){width:17%}.acops-code-table th:nth-child(4){width:52px;text-align:center}.acops-code-table td:last-child{text-align:center}
.acops-code-meta{display:grid;gap:2px;min-width:0}.acops-code-meta strong{font-size:12px;line-height:1.2;color:#26394e;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acops-code-meta small{font-size:11px;line-height:1.2;color:#8a97a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acops-code-value{display:inline-flex;align-items:center;max-width:100%;height:26px;padding:0 8px;border-radius:7px;background:#f2f6fb;border:1px solid #e1e8f0;color:#30445a;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acops-code-status{display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:24px;padding:0 9px;border-radius:999px;font-size:11px;font-weight:850}.acops-code-status.is-active{background:#eaf9f4;color:#0c8f6b;border:1px solid #d7f1e8}.acops-code-status.is-cancelled{background:#f3f5f7;color:#7f8b99;border:1px solid #e4e9ee}
.acops-code-cancel{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #f0d8dc;border-radius:8px;background:#fff6f7;color:#c94458;cursor:pointer;transition:.16s ease;padding:0}.acops-code-cancel svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.acops-code-cancel:hover{background:#c94458;color:#fff;border-color:#c94458;transform:translateY(-1px);box-shadow:0 6px 14px rgba(201,68,88,.16)}.acops-code-dash{color:#a4afbb}
.acops-code-cancel-modal{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important}.acops-code-cancel-backdrop{position:absolute;inset:0;background:rgba(8,20,35,.58);backdrop-filter:blur(8px)}.acops-code-cancel-dialog{position:relative;width:min(460px,calc(100vw - 28px));overflow:hidden;border:1px solid rgba(255,255,255,.76);border-radius:22px;background:rgba(255,255,255,.97);box-shadow:0 28px 90px rgba(5,20,37,.28)}
.acops-code-cancel-head{display:grid;grid-template-columns:42px 1fr 34px;gap:12px;align-items:center;padding:18px 18px 14px;border-bottom:1px solid #e8edf3;background:linear-gradient(180deg,#fff,#fbfcfe)}.acops-code-cancel-icon{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#fff1f3;color:#c94458;border:1px solid #f5dce1}.acops-code-cancel-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.acops-code-cancel-head span:not(.acops-code-cancel-icon){display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:850;color:#c94458}.acops-code-cancel-head h3{margin:2px 0 2px!important;font-size:18px!important}.acops-code-cancel-head p{margin:0!important;font-size:12px;color:#8090a3}.acops-code-cancel-x{width:32px;height:32px;border:1px solid #e1e8ef;background:#fff;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;color:#64758a;cursor:pointer}
.acops-code-cancel-form{padding:16px 18px 18px}.acops-code-cancel-form label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#34495f}.acops-code-cancel-form textarea{width:100%;min-height:82px;resize:vertical;border:1px solid #dfe7ef;border-radius:12px;padding:11px 12px;font:inherit;outline:0;box-sizing:border-box}.acops-code-cancel-form textarea:focus{border-color:#62a9e9;box-shadow:0 0 0 3px rgba(43,132,211,.09)}.acops-code-cancel-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.acops-code-cancel-actions .btn{width:auto!important;min-width:110px}
@media(max-width:700px){.acops-code-table{max-height:none;overflow:visible;border:0}.acops-code-table table{display:block}.acops-code-table thead{display:none}.acops-code-table tbody{display:grid;gap:8px}.acops-code-table tr{display:grid!important;grid-template-columns:1fr auto!important;border:1px solid #e4eaf1!important;border-radius:12px!important;overflow:hidden}.acops-code-table td{display:block!important;height:auto!important;padding:9px 10px!important;border-bottom:0!important}.acops-code-table td:nth-child(1){grid-column:1}.acops-code-table td:nth-child(2){grid-column:1}.acops-code-table td:nth-child(3){grid-column:2;grid-row:1}.acops-code-table td:nth-child(4){grid-column:2;grid-row:2;text-align:center}.acops-code-head{align-items:center}.acops-code-head p{display:none}}

/* Academium 3.10.7 — bulk code cancellation */
.acops-code-toolbar{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:8px 10px;border:1px solid #e5ebf2;border-radius:12px;background:#f9fbfd;flex-wrap:wrap}
.acops-code-select-all{display:inline-flex!important;align-items:center!important;gap:8px!important;margin:0!important;font-size:11.5px!important;font-weight:800!important;color:#42566d!important;cursor:pointer}.acops-code-select-all input,.acops-code-check{width:15px!important;height:15px!important;accent-color:#159db4;cursor:pointer;margin:0!important}
.acops-code-selected-count{font-size:11.5px;color:#8290a2;font-weight:750}.acops-code-bulk-btn{margin-left:auto;min-height:30px;padding:0 12px;border:1px solid #f0d8dc;border-radius:9px;background:#fff6f7;color:#c94458;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11.5px;font-weight:850;cursor:pointer;transition:.16s ease}.acops-code-bulk-btn svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.acops-code-bulk-btn:hover:not(:disabled){background:#c94458;color:#fff;border-color:#c94458;box-shadow:0 7px 16px rgba(201,68,88,.16)}.acops-code-bulk-btn:disabled{opacity:.42;cursor:not-allowed}
.acops-code-table th.acops-code-check-col,.acops-code-table td.acops-code-check-col{width:36px!important;text-align:center!important;padding-left:10px!important;padding-right:4px!important}.acops-code-table th:nth-child(2){width:42%}.acops-code-table th:nth-child(3){width:24%}.acops-code-table th:nth-child(4){width:15%}.acops-code-table th:nth-child(5){width:112px;text-align:center}.acops-code-table td:last-child{text-align:center}
.acops-code-cancel{width:auto!important;min-width:82px!important;height:28px!important;padding:0 9px!important;gap:6px!important}.acops-code-cancel span{display:inline!important;font-size:11px;font-weight:850;line-height:1}.acops-code-cancel svg{flex:0 0 auto}
.acops-code-bulk-dialog{width:min(720px,calc(100vw - 28px))!important;max-height:min(88vh,760px)!important;display:flex!important;flex-direction:column!important}.acops-code-bulk-form{display:flex;flex-direction:column;min-height:0;flex:1}.acops-code-cancel-scroll{padding:16px 18px 8px;overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#c8d3df transparent}.acops-code-cancel-scroll::-webkit-scrollbar{width:6px}.acops-code-cancel-scroll::-webkit-scrollbar-thumb{background:#c8d3df;border-radius:999px}.acops-code-cancel-scroll::-webkit-scrollbar-track{background:transparent}
.acops-bulk-summary,.acops-reason-mode{border:1px solid #e4ebf2;border-radius:15px;background:#fbfdff;padding:13px}.acops-reason-mode{margin-top:12px}.acops-bulk-summary-head,.acops-reason-mode-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.acops-bulk-summary-head strong,.acops-reason-mode-head strong{font-size:12px;color:#283d53}.acops-bulk-summary-head span,.acops-reason-mode-head span{font-size:11px;color:#8a98aa}.acops-bulk-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.acops-bulk-code{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;align-items:center;padding:8px;border-radius:10px;background:#fff;border:1px solid #edf1f5}.acops-bulk-index,.acops-individual-code>span{width:26px;height:26px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#eef7ff;color:#2379c7;font-size:11px;font-weight:900}.acops-bulk-code strong,.acops-individual-code strong{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;color:#2f4359;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acops-bulk-code small,.acops-individual-code small{display:block;margin-top:2px;font-size:11px;color:#8b99aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acops-bulk-more{grid-column:1/-1;text-align:center;padding:7px;border-radius:9px;background:#f3f6f9;color:#738398;font-size:11px;font-weight:800}
.acops-segmented{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:11px}.acops-segmented label{margin:0!important;cursor:pointer}.acops-segmented input{position:absolute;opacity:0;pointer-events:none}.acops-segmented span{min-height:34px;border:1px solid #dfe7ef;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;padding:0 10px;font-size:11.5px;font-weight:800;color:#61748a;transition:.15s ease}.acops-segmented input:checked+span{background:#eaf9f7;border-color:#bfe8df;color:#0a8b78;box-shadow:0 0 0 2px rgba(26,174,150,.06)}
.acops-shared-reason{display:grid;grid-template-columns:210px 1fr;gap:10px}.acops-shared-reason label{display:grid;gap:6px;font-size:11.5px;font-weight:800;color:#42566d}.acops-shared-reason select,.acops-shared-reason textarea,.acops-individual-reason select,.acops-individual-reason textarea{width:100%;box-sizing:border-box;border:1px solid #dfe7ef;border-radius:10px;background:#fff;padding:9px 10px;font:inherit;color:#34495f;outline:0}.acops-shared-reason select,.acops-individual-reason select{height:38px}.acops-shared-reason textarea{min-height:76px;resize:vertical}.acops-shared-reason select:focus,.acops-shared-reason textarea:focus,.acops-individual-reason select:focus,.acops-individual-reason textarea:focus{border-color:#62a9e9;box-shadow:0 0 0 3px rgba(43,132,211,.08)}
.acops-individual-reasons{display:grid;gap:8px}.acops-individual-reason{display:grid;grid-template-columns:minmax(175px,1fr) 180px minmax(190px,1.2fr);gap:8px;align-items:center;padding:9px;border:1px solid #e9eef4;border-radius:11px;background:#fff}.acops-individual-code{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;align-items:center;min-width:0}.acops-individual-reason textarea{min-height:38px;height:38px;resize:vertical}
.acops-code-cancel-actions.acops-bulk-step1,.acops-bulk-confirm{flex:0 0 auto;padding:12px 18px 16px;border-top:1px solid #e8edf3;background:#fff}.acops-bulk-confirm-copy{display:flex;align-items:center;gap:11px;margin-bottom:10px}.acops-confirm-shield{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff1f3;color:#c94458;border:1px solid #f4dce1}.acops-confirm-shield svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.acops-bulk-confirm-copy strong{font-size:12px;color:#2d4055}.acops-bulk-confirm-copy p{margin:2px 0 0!important;font-size:11.5px;color:#7e8da0}.acops-confirm-check{display:flex!important;align-items:flex-start!important;gap:8px!important;margin:0!important;padding:10px 11px;border:1px solid #f1d9de;border-radius:10px;background:#fff8f9;color:#59444b;font-size:11.5px!important;font-weight:750!important}.acops-confirm-check input{margin-top:1px!important;accent-color:#c94458}.acops-bulk-confirm .acops-code-cancel-actions{padding:0!important;border:0!important;margin-top:11px!important}.acops-bulk-confirm .btn:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.2)}
@media(max-width:700px){.acops-code-toolbar{align-items:stretch}.acops-code-bulk-btn{margin-left:0;width:100%}.acops-code-table th.acops-code-check-col,.acops-code-table td.acops-code-check-col{width:auto!important}.acops-code-table tr{grid-template-columns:34px 1fr auto!important}.acops-code-table td:nth-child(1){grid-column:1;grid-row:1/3;display:flex!important;align-items:center;justify-content:center}.acops-code-table td:nth-child(2){grid-column:2}.acops-code-table td:nth-child(3){grid-column:2}.acops-code-table td:nth-child(4){grid-column:3;grid-row:1}.acops-code-table td:nth-child(5){grid-column:3;grid-row:2}.acops-bulk-list{grid-template-columns:1fr}.acops-shared-reason{grid-template-columns:1fr}.acops-individual-reason{grid-template-columns:1fr}.acops-individual-code{margin-bottom:2px}.acops-segmented{grid-template-columns:1fr}.acops-code-bulk-dialog{max-height:92vh!important}}

/* Academium 3.11.0 — scalable code control + premium cancellation flow */
.acops-code-tools{display:grid;gap:9px;margin-bottom:10px}
.acops-code-filter{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;border:1px solid #e4ebf3;border-radius:12px;background:linear-gradient(180deg,#fbfdff,#f7fafc);box-shadow:inset 0 1px 0 #fff}
.acops-code-search-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#edf7fa;color:#119db0;border:1px solid #d9eef2}.acops-code-search-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.acops-code-filter input[type=search]{min-height:34px!important;height:34px!important;padding:0 10px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:12px!important;color:#26394e!important}.acops-code-filter input[type=search]::placeholder{color:#9aa7b6}
.acops-code-page-size{display:flex!important;align-items:center!important;gap:6px!important;font-size:11px!important;color:#78879a!important;font-weight:750!important}.acops-code-page-size select{width:66px!important;min-height:32px!important;height:32px!important;padding:0 8px!important;border-radius:9px!important;font-size:11.5px!important;background:#fff!important}
.acops-code-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px 0;color:#8290a2;font-size:11.5px;font-weight:700}.acops-code-page-buttons{display:flex;align-items:center;gap:4px}.acops-code-page-buttons button{width:28px;height:28px;border:1px solid #dfe7ef;border-radius:8px;background:#fff;color:#51657a;font-size:11.5px;font-weight:800;cursor:pointer}.acops-code-page-buttons button:hover:not(:disabled){border-color:#b9d9e3;color:#0d8fa4;background:#f4fbfc}.acops-code-page-buttons button.is-active{background:linear-gradient(135deg,#159db4,#1cbf91);border-color:transparent;color:#fff;box-shadow:0 6px 14px rgba(20,158,171,.18)}.acops-code-page-buttons button:disabled{opacity:.35;cursor:default}.acops-code-page-buttons span{color:#a5b0bd;padding:0 1px}
.acops-code-count b{font:inherit;color:inherit}
.acops-code-table tr[hidden]{display:none!important}

/* Modal: más aire, jerarquía y controles compactos */
.acops-code-cancel-backdrop{background:rgba(5,16,30,.64)!important;-webkit-backdrop-filter:blur(14px) saturate(120%)!important;backdrop-filter:blur(14px) saturate(120%)!important}
.acops-code-bulk-dialog{width:min(760px,calc(100vw - 32px))!important;max-height:min(88dvh,790px)!important;border-radius:24px!important;background:linear-gradient(180deg,#fbfdff,#f6f9fc)!important;border:1px solid rgba(220,231,241,.96)!important;box-shadow:0 38px 110px rgba(3,15,30,.38),0 8px 26px rgba(21,47,77,.13),inset 0 1px 0 rgba(255,255,255,.98)!important}
.acops-code-bulk-dialog.is-single{width:min(600px,calc(100vw - 32px))!important}
.acops-code-cancel-head{grid-template-columns:46px minmax(0,1fr) 34px!important;padding:20px 20px 17px!important;background:rgba(252,254,255,.97)!important;-webkit-backdrop-filter:blur(18px)!important;backdrop-filter:blur(18px)!important}.acops-code-cancel-icon{width:46px!important;height:46px!important;border-radius:14px!important;background:linear-gradient(145deg,#fff0f2,#fff7f8)!important;box-shadow:0 8px 18px rgba(201,68,88,.08),inset 0 1px 0 #fff!important}.acops-code-cancel-head h3{font-size:20px!important;letter-spacing:-.02em!important}.acops-code-cancel-head p{font-size:12px!important;line-height:1.45!important}.acops-code-cancel-x{border-radius:10px!important;box-shadow:0 5px 14px rgba(19,43,69,.05)!important}
.acops-code-cancel-scroll{padding:18px 20px 10px!important}.acops-bulk-summary,.acops-reason-mode,.acops-single-reason{border:1px solid #e2eaf2;border-radius:15px;background:rgba(255,255,255,.88);box-shadow:0 8px 22px rgba(24,49,77,.045),inset 0 1px 0 #fff}.acops-bulk-summary{padding:13px!important;margin-bottom:12px!important}.acops-bulk-summary.is-single{padding:12px!important}.acops-bulk-summary-head{margin-bottom:9px!important}.acops-bulk-summary-head strong{font-size:12px!important}.acops-bulk-summary-head span{font-size:11px!important}.acops-bulk-list{gap:6px!important}.acops-bulk-code{min-height:42px!important;padding:7px 9px!important;border-radius:10px!important;background:#f8fbfd!important}.acops-bulk-code strong{font-size:11.5px!important}.acops-bulk-code small{font-size:11px!important}.acops-bulk-index{width:27px!important;height:27px!important;font-size:11px!important}
.acops-reason-mode,.acops-single-reason{padding:14px!important}.acops-reason-mode-head,.acops-single-reason-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.acops-reason-mode-head strong,.acops-single-reason-title strong{font-size:12px!important;color:#26394e}.acops-reason-mode-head span,.acops-single-reason-title span{font-size:11px!important;color:#8391a3;text-align:right}
.acops-segmented{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;padding:4px!important;margin-bottom:11px!important;border-radius:11px!important;background:#eef3f7!important;border:1px solid #e1e8ef!important}.acops-segmented label{margin:0!important}.acops-segmented label span{min-height:31px!important;height:31px!important;padding:0 9px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:8px!important;font-size:11.5px!important;line-height:1.1!important;font-weight:800!important;white-space:nowrap!important;color:#617387!important}.acops-segmented input:checked+span{background:#fff!important;color:#26394e!important;box-shadow:0 3px 10px rgba(31,55,80,.08)!important}
.acops-shared-reason{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:10px!important}.acops-shared-reason-single{grid-template-columns:1fr!important}.acops-shared-reason label,.acops-individual-reason label{display:grid!important;gap:5px!important;font-size:11px!important;color:#607286!important;font-weight:800!important}.acops-shared-reason select,.acops-shared-reason textarea,.acops-individual-reason select,.acops-individual-reason textarea{min-height:38px!important;border-radius:10px!important;border:1px solid #dbe5ee!important;background:#fff!important;font-size:11.5px!important;padding:9px 10px!important}.acops-shared-reason textarea,.acops-individual-reason textarea{min-height:64px!important;resize:vertical!important}
.acops-individual-reasons{display:grid;gap:8px;margin-top:10px}.acops-individual-reason{display:grid!important;grid-template-columns:minmax(165px,.8fr) minmax(155px,.8fr) minmax(190px,1fr)!important;align-items:end!important;gap:8px!important;padding:9px!important;border:1px solid #e4ebf2!important;border-radius:12px!important;background:#fbfdff!important}.acops-individual-code{min-width:0}.acops-individual-code strong{font-size:11.5px!important}.acops-individual-code small{font-size:11px!important}.acops-individual-code>span{font-size:11px!important}
.acops-code-cancel-actions.acops-bulk-step1,.acops-bulk-confirm{padding:13px 20px 16px!important;background:rgba(252,254,255,.98)!important}.acops-code-cancel-actions .btn{min-height:36px!important;min-width:116px!important;border-radius:10px!important;font-size:11.5px!important}.acops-bulk-confirm{padding:18px 20px!important}.acops-bulk-confirm-copy strong{font-size:12.5px!important}.acops-bulk-confirm-copy p{font-size:11.5px!important;line-height:1.4!important}

/* Menú: un poco más legible sin alterar densidad */
.acp-nav-menu>a,.acp-group-toggle{font-size:13.8px!important}.acp-group-items a,.acp-group-items .acp-submenu-text{font-size:12.5px!important}.ruta-side-nav a{font-size:12.5px!important}

@media(max-width:760px){.acops-code-filter{grid-template-columns:30px minmax(0,1fr)}.acops-code-page-size{grid-column:1/-1;justify-content:flex-end}.acops-code-pager{align-items:flex-start;flex-direction:column}.acops-code-page-buttons{flex-wrap:wrap}.acops-shared-reason{grid-template-columns:1fr!important}.acops-individual-reason{grid-template-columns:1fr!important}.acops-reason-mode-head,.acops-single-reason-title{align-items:flex-start;flex-direction:column}.acops-reason-mode-head span,.acops-single-reason-title span{text-align:left}.acops-segmented label span{white-space:normal!important;text-align:center!important;height:auto!important;min-height:34px!important}.acops-code-bulk-dialog{max-height:92dvh!important}}

/* 3.11.1 — selección visible robusta + modal de cancelación premium */
.acops-code-select-visible-btn{appearance:none;border:1px solid #dce7f1;background:linear-gradient(180deg,#fff,#f7fafc);border-radius:13px;min-height:48px;padding:7px 12px 7px 8px;display:inline-flex;align-items:center;gap:9px;color:#30465d;cursor:pointer;box-shadow:0 7px 18px rgba(26,52,80,.055),inset 0 1px 0 #fff;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.acops-code-select-visible-btn:hover{transform:translateY(-1px);border-color:#a9dfe1;box-shadow:0 10px 22px rgba(22,78,101,.09)}.acops-code-select-visible-btn.is-selected{background:linear-gradient(135deg,#edfdf8,#eaf8ff);border-color:#9fddd2}.acops-code-select-visible-icon{width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,#e7fbf7,#eef7ff);color:#0ba7a7;display:grid;place-items:center;flex:0 0 32px}.acops-code-select-visible-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.acops-code-select-visible-copy{display:grid;gap:1px;text-align:left}.acops-code-select-visible-copy strong{font-size:12px;line-height:1.15;color:#293f55}.acops-code-select-visible-copy small{font-size:11px;color:#8796a7;font-weight:650}.acops-code-selected-count.has-selection{color:#0a8b7b;background:#ebfaf6;border-color:#cdeee5}

.acops-code-cancel-dialog.acops-code-bulk-dialog{width:min(760px,calc(100vw - 30px))!important;max-height:min(90dvh,800px)!important;border-radius:26px!important;border:1px solid rgba(255,255,255,.88)!important;background:rgba(250,253,255,.985)!important;box-shadow:0 36px 110px rgba(4,20,38,.32),0 3px 12px rgba(4,20,38,.08),inset 0 1px 0 #fff!important}.acops-code-cancel-head{grid-template-columns:48px minmax(0,1fr) 36px!important;padding:21px 22px 17px!important;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(248,252,255,.97))!important}.acops-code-cancel-icon{width:48px!important;height:48px!important;border-radius:15px!important;background:linear-gradient(145deg,#fff0f1,#fff7f8)!important;color:#c33e54!important;border:1px solid #f5d4da!important;box-shadow:0 10px 24px rgba(190,58,80,.10),inset 0 1px 0 #fff!important}.acops-code-cancel-icon svg,.acops-code-cancel-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.acops-code-cancel-x{font-size:0!important;width:34px!important;height:34px!important;border-radius:11px!important}.acops-code-cancel-x svg{width:16px;height:16px}.acops-code-cancel-head>div>span{font-size:11px!important;letter-spacing:.12em!important;color:#bd3c51!important}.acops-code-cancel-head h3{font-size:21px!important;font-weight:760!important;color:#15283c!important;margin:2px 0 3px!important}.acops-code-cancel-head p{font-size:12px!important;color:#7e8fa2!important;max-width:540px}
.acops-cancel-stepper{display:flex;align-items:center;justify-content:center;gap:10px;padding:11px 22px;border-bottom:1px solid #e8eef4;background:#f9fbfd}.acops-cancel-stepper span{display:flex;align-items:center;gap:7px;color:#97a4b3;font-size:11.5px;font-weight:800}.acops-cancel-stepper span i{font-style:normal;width:23px;height:23px;border-radius:8px;display:grid;place-items:center;background:#edf2f6;color:#8291a2;font-size:11px;transition:.18s ease}.acops-cancel-stepper span.is-active{color:#1c5062}.acops-cancel-stepper span.is-active i{background:linear-gradient(135deg,#0ea5a9,#28c68c);color:#fff;box-shadow:0 5px 12px rgba(15,167,159,.18)}.acops-cancel-stepper em{width:54px;height:1px;background:linear-gradient(90deg,#dce5ec,#e8eef3)}
.acops-code-cancel-scroll{padding:18px 22px 12px!important}.acops-bulk-summary,.acops-reason-mode,.acops-single-reason{border-radius:17px!important;border:1px solid #e2eaf1!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 10px 28px rgba(23,50,78,.05),inset 0 1px 0 #fff!important}.acops-bulk-summary{padding:14px!important}.acops-bulk-summary-head>div{display:grid;gap:2px}.acops-bulk-summary-head strong{font-size:12px!important;color:#263d54!important}.acops-bulk-summary-head span{font-size:11px!important;color:#8b99aa!important}.acops-bulk-code{border-radius:11px!important;background:#f7fafc!important;border-color:#e8eef4!important;box-shadow:none!important}.acops-bulk-index{background:linear-gradient(135deg,#edf7ff,#ecfbf8)!important;color:#128a9c!important}
.acops-reason-mode,.acops-single-reason{margin-top:13px!important;padding:15px!important}.acops-reason-mode-head,.acops-single-reason-title{margin-bottom:11px!important}.acops-reason-mode-head>div,.acops-single-reason-title>div{display:grid;gap:2px}.acops-reason-mode-head strong,.acops-single-reason-title strong{font-size:12px!important;color:#263d54!important}.acops-reason-mode-head span,.acops-single-reason-title span{font-size:11px!important;color:#8998aa!important}.acops-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px}.acops-mode-card{position:relative;display:grid!important;grid-template-columns:38px minmax(0,1fr) 24px;align-items:center;gap:9px;padding:10px!important;border:1px solid #e1e9f0;border-radius:13px;background:#fbfdff;cursor:pointer;transition:.16s ease}.acops-mode-card:hover{border-color:#b8dfe0;box-shadow:0 8px 20px rgba(17,91,107,.06);transform:translateY(-1px)}.acops-mode-card input{position:absolute;opacity:0;pointer-events:none}.acops-mode-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#eef8fb;color:#0a97a0}.acops-mode-icon svg,.acops-mode-check svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.acops-mode-copy{display:grid;gap:2px}.acops-mode-copy strong{font-size:11.5px;color:#294057}.acops-mode-copy small{font-size:11px;color:#8a99aa;line-height:1.3}.acops-mode-check{width:22px;height:22px;border-radius:8px;display:grid;place-items:center;background:#edf2f5;color:#9eabb8}.acops-mode-check svg{width:13px;height:13px}.acops-mode-card:has(input:checked){border-color:#86d7cf;background:linear-gradient(135deg,#f2fcfa,#f3fbff);box-shadow:0 9px 22px rgba(9,133,136,.075)}.acops-mode-card:has(input:checked) .acops-mode-check{background:linear-gradient(135deg,#0ea7a7,#2ac78c);color:#fff}.acops-shared-reason{gap:10px!important}.acops-shared-reason label>span,.acops-individual-reason label>span{font-size:11px!important;color:#607489!important}.acops-shared-reason select,.acops-shared-reason textarea,.acops-individual-reason select,.acops-individual-reason textarea{border-radius:11px!important;border:1px solid #dfe7ef!important;background:#fff!important;box-shadow:inset 0 1px 2px rgba(19,43,69,.025)!important;font-size:11.5px!important;transition:.15s ease}.acops-shared-reason select:focus,.acops-shared-reason textarea:focus,.acops-individual-reason select:focus,.acops-individual-reason textarea:focus{border-color:#79cfd0!important;box-shadow:0 0 0 3px rgba(19,164,168,.08)!important;outline:0!important}.acops-individual-reason{border-radius:13px!important;border:1px solid #e5ebf1!important;background:#fbfdff!important;padding:10px!important}
.acops-code-cancel-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;margin:0!important;padding:13px 22px 17px!important;border-top:1px solid #e8eef4!important;background:rgba(252,254,255,.98)!important}.acops-modal-action{appearance:none;border:0;min-height:40px;border-radius:12px;padding:0 15px 0 11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11.5px;font-weight:820;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.acops-modal-action:hover:not(:disabled){transform:translateY(-1px)}.acops-modal-action-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center}.acops-modal-action-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.acops-modal-action.secondary{background:#f2f6f9;color:#53677b;border:1px solid #e0e7ed;box-shadow:inset 0 1px 0 #fff}.acops-modal-action.secondary .acops-modal-action-icon{background:#fff;color:#6c7d8e}.acops-modal-action.primary{color:#fff;background:linear-gradient(135deg,#0c9da6,#27c88e);box-shadow:0 10px 22px rgba(12,157,166,.18)}.acops-modal-action.primary .acops-modal-action-icon{background:rgba(255,255,255,.16)}.acops-modal-action.danger{color:#fff;background:linear-gradient(135deg,#c54157,#e45c68);box-shadow:0 10px 24px rgba(197,65,87,.20)}.acops-modal-action.danger .acops-modal-action-icon{background:rgba(255,255,255,.15)}.acops-modal-action:disabled{opacity:.48;cursor:not-allowed;filter:saturate(.6)}
.acops-confirm-stage{padding:22px;overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#c8d3df transparent}.acops-confirm-hero{display:grid;grid-template-columns:52px minmax(0,1fr);gap:13px;align-items:center;padding:16px;border:1px solid #f0d5dc;border-radius:17px;background:linear-gradient(135deg,#fff7f8,#fff)}.acops-confirm-hero>span{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#fff0f2,#fff7f8);color:#c33e54;border:1px solid #f3d6dc}.acops-confirm-hero>span svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.acops-confirm-hero small{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#c0475b;font-weight:900}.acops-confirm-hero h4{margin:3px 0 3px!important;font-size:17px!important;color:#243b52!important}.acops-confirm-hero p{margin:0!important;font-size:11.5px!important;color:#7d8da0!important}.acops-confirm-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.acops-confirm-metrics>div{display:grid;gap:2px;padding:11px 12px;border:1px solid #e4eaf0;border-radius:13px;background:#fbfdff}.acops-confirm-metrics strong{font-size:12px;color:#294057}.acops-confirm-metrics span{font-size:11px;color:#8998aa}.acops-confirm-check{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:12px 13px!important;border-radius:13px!important;background:#fff8f9!important;border:1px solid #f0d7dc!important}.acops-confirm-check>span{display:grid;gap:2px}.acops-confirm-check b{font-size:11.5px;color:#5b3e46}.acops-confirm-check small{font-size:11px;color:#8f767d;font-weight:600}.acops-bulk-step2{padding:13px 22px 17px!important}
@media(max-width:700px){.acops-mode-grid{grid-template-columns:1fr}.acops-confirm-metrics{grid-template-columns:1fr}.acops-code-cancel-dialog.acops-code-bulk-dialog{max-height:94dvh!important}.acops-code-cancel-actions{justify-content:stretch!important}.acops-modal-action{flex:1}.acops-code-select-visible-btn{min-width:0;flex:1}.acops-code-select-visible-copy small{display:none}}

/* Academium 3.11.3 — cancelación premium estable + historial */
#acops-code-cancel-modal [hidden],
#acops-code-history-modal [hidden]{display:none!important}
#acops-code-cancel-modal,
#acops-code-history-modal{font-family:inherit!important}
#acops-code-cancel-modal .acops-code-cancel-dialog.acops-code-bulk-dialog{
  width:min(780px,calc(100vw - 32px))!important;
  max-height:min(90dvh,820px)!important;
  border-radius:28px!important;
  overflow:hidden!important;
  background:rgba(252,254,255,.99)!important;
  border:1px solid rgba(255,255,255,.94)!important;
  box-shadow:0 42px 120px rgba(4,18,34,.34),0 12px 36px rgba(13,39,64,.14),inset 0 1px 0 rgba(255,255,255,.98)!important;
}
#acops-code-cancel-modal .acops-code-cancel-head{
  min-height:82px!important;
  padding:20px 22px 17px!important;
  grid-template-columns:50px minmax(0,1fr) 36px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  border-bottom:1px solid #e8eef4!important;
}
#acops-code-cancel-modal .acops-code-cancel-head h3{font-size:21px!important;line-height:1.15!important;font-weight:780!important;letter-spacing:-.02em!important}
#acops-code-cancel-modal .acops-code-cancel-head p{font-size:11.5px!important;line-height:1.45!important}
#acops-code-cancel-modal .acops-code-cancel-icon{width:50px!important;height:50px!important;border-radius:16px!important}
#acops-code-cancel-modal .acops-code-cancel-x{width:34px!important;height:34px!important;border-radius:11px!important;padding:0!important}
#acops-code-cancel-modal .acops-code-cancel-x svg,
#acops-code-cancel-modal .acops-code-cancel-icon svg,
#acops-code-cancel-modal .acops-modal-action svg{display:block!important;max-width:none!important;max-height:none!important}
#acops-code-cancel-modal .acops-cancel-stepper{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;
  padding:12px 22px!important;background:#f8fbfd!important;border-bottom:1px solid #e7edf3!important;
}
#acops-code-cancel-modal .acops-cancel-stepper span{display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:11.5px!important;line-height:1!important;white-space:nowrap!important}
#acops-code-cancel-modal .acops-cancel-stepper span i{width:24px!important;height:24px!important;border-radius:8px!important;display:grid!important;place-items:center!important;font-size:11px!important}
#acops-code-cancel-modal .acops-cancel-stepper em{display:block!important;width:64px!important;min-width:64px!important;height:1px!important;background:#dce5ec!important}
#acops-code-cancel-modal .acops-code-bulk-form{min-height:0!important;overflow:hidden!important}
#acops-code-cancel-modal .acops-code-cancel-scroll,
#acops-code-cancel-modal .acops-confirm-stage{padding:18px 22px 16px!important;overflow:auto!important;overscroll-behavior:contain!important}
#acops-code-cancel-modal .acops-bulk-summary,
#acops-code-cancel-modal .acops-reason-mode,
#acops-code-cancel-modal .acops-single-reason{
  border-radius:18px!important;background:#fff!important;border:1px solid #e4ebf2!important;
  box-shadow:0 10px 28px rgba(22,49,76,.055),inset 0 1px 0 #fff!important;
}
#acops-code-cancel-modal .acops-bulk-list{gap:8px!important}
#acops-code-cancel-modal .acops-bulk-code{min-height:48px!important;padding:9px 10px!important;border-radius:12px!important}
#acops-code-cancel-modal .acops-mode-grid{gap:10px!important}
#acops-code-cancel-modal .acops-mode-card{min-height:66px!important;padding:11px 12px!important;border-radius:14px!important}
#acops-code-cancel-modal .acops-mode-copy strong{font-size:12px!important}
#acops-code-cancel-modal .acops-mode-copy small{font-size:11px!important;line-height:1.35!important}
#acops-code-cancel-modal .acops-shared-reason{grid-template-columns:minmax(210px,.72fr) minmax(260px,1.28fr)!important;gap:11px!important}
#acops-code-cancel-modal .acops-shared-reason select,
#acops-code-cancel-modal .acops-shared-reason textarea,
#acops-code-cancel-modal .acops-individual-reason select,
#acops-code-cancel-modal .acops-individual-reason textarea{font-size:11.5px!important;border-radius:11px!important}
#acops-code-cancel-modal .acops-code-cancel-actions{
  min-height:68px!important;padding:13px 22px 16px!important;margin:0!important;border-top:1px solid #e7edf3!important;
  background:rgba(252,254,255,.99)!important;gap:10px!important
}
#acops-code-cancel-modal .acops-modal-action{
  min-width:142px!important;height:42px!important;min-height:42px!important;padding:0 15px 0 10px!important;border-radius:12px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  font-size:11.5px!important;line-height:1!important;font-weight:820!important;text-decoration:none!important
}
#acops-code-cancel-modal .acops-modal-action-icon{width:28px!important;height:28px!important;min-width:28px!important;border-radius:9px!important;display:grid!important;place-items:center!important}
#acops-code-cancel-modal .acops-modal-action-icon svg{width:15px!important;height:15px!important}
#acops-code-cancel-modal .acops-modal-action.secondary{background:#f3f6f9!important;color:#52677b!important;border:1px solid #dfe7ed!important;box-shadow:inset 0 1px 0 #fff!important}
#acops-code-cancel-modal .acops-modal-action.primary{background:linear-gradient(135deg,#0b9fa8,#25c78d)!important;color:#fff!important;border:0!important;box-shadow:0 11px 24px rgba(11,159,168,.2)!important}
#acops-code-cancel-modal .acops-modal-action.danger{background:linear-gradient(135deg,#c64057,#e25a68)!important;color:#fff!important;border:0!important;box-shadow:0 11px 24px rgba(198,64,87,.22)!important}
#acops-code-cancel-modal .acops-confirm-hero{border-radius:18px!important;padding:17px!important}
#acops-code-cancel-modal .acops-confirm-metrics>div{min-height:58px!important;border-radius:14px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
#acops-code-cancel-modal .acops-confirm-check{border-radius:14px!important;padding:13px 14px!important}

/* Historial: botón visible y modal coherente con el sistema premium */
.acops-code-detail{
  appearance:none!important;min-width:92px!important;height:30px!important;padding:0 10px!important;border-radius:9px!important;
  border:1px solid #d8e4ee!important;background:linear-gradient(180deg,#f7fbff,#eef6fb)!important;color:#2d6f9c!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  font-size:11px!important;font-weight:850!important;line-height:1!important;cursor:pointer!important;
  box-shadow:inset 0 1px 0 #fff,0 5px 12px rgba(41,103,148,.07)!important;transition:.16s ease!important
}
.acops-code-detail svg{width:14px!important;height:14px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.acops-code-detail:hover{background:linear-gradient(135deg,#2b84d3,#2aa7bc)!important;color:#fff!important;border-color:transparent!important;transform:translateY(-1px)!important;box-shadow:0 8px 18px rgba(43,132,211,.18)!important}
.acops-code-history-modal{position:fixed!important;inset:0!important;z-index:2147483001!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important}
.acops-code-history-backdrop{position:absolute!important;inset:0!important;background:rgba(7,19,33,.58)!important;backdrop-filter:blur(9px) saturate(115%)!important}
.acops-code-history-dialog{position:relative!important;width:min(520px,calc(100vw - 30px))!important;border-radius:24px!important;overflow:hidden!important;background:rgba(252,254,255,.99)!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:0 36px 105px rgba(5,20,37,.3)!important}
.acops-code-history-head{display:grid!important;grid-template-columns:44px minmax(0,1fr) 34px!important;gap:12px!important;align-items:center!important;padding:18px 19px!important;border-bottom:1px solid #e7edf3!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}
.acops-code-history-head>span{width:44px!important;height:44px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#eef7ff,#ecfbf8)!important;color:#168fa3!important;border:1px solid #dcecf2!important}
.acops-code-history-head>span svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
.acops-code-history-head h3{margin:0 0 2px!important;font-size:17px!important;color:#21384f!important}
.acops-code-history-head p{margin:0!important;font-size:11.5px!important;color:#8796a7!important}
.acops-code-history-close{width:32px!important;height:32px!important;border-radius:10px!important;border:1px solid #dfe7ed!important;background:#fff!important;color:#6a7b8d!important;display:grid!important;place-items:center!important;font-size:18px!important;cursor:pointer!important}
.acops-code-history-body{display:grid!important;gap:10px!important;padding:17px 19px 20px!important}
.acops-code-history-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.acops-code-history-card{padding:12px 13px!important;border-radius:13px!important;border:1px solid #e5ebf1!important;background:linear-gradient(180deg,#fff,#f9fbfd)!important;box-shadow:0 7px 18px rgba(23,50,78,.04)!important}
.acops-code-history-card small{display:block!important;margin-bottom:3px!important;font-size:11px!important;color:#8a99aa!important;text-transform:uppercase!important;letter-spacing:.04em!important;font-weight:800!important}
.acops-code-history-card strong{display:block!important;font-size:12px!important;color:#294057!important;overflow-wrap:anywhere!important}
@media(max-width:700px){
  #acops-code-cancel-modal{padding:10px!important}
  #acops-code-cancel-modal .acops-code-cancel-dialog.acops-code-bulk-dialog{width:100%!important;max-height:95dvh!important;border-radius:22px!important}
  #acops-code-cancel-modal .acops-shared-reason{grid-template-columns:1fr!important}
  #acops-code-cancel-modal .acops-code-cancel-actions{justify-content:stretch!important}
  #acops-code-cancel-modal .acops-modal-action{min-width:0!important;flex:1!important}
  .acops-code-history-grid{grid-template-columns:1fr!important}
}


/* Academium 3.11.4 — contrast fix for code actions */
.acops-code-select-visible-btn{background:linear-gradient(135deg,#0866cf 0%,#0c8ec4 58%,#11a99f 100%)!important;border-color:rgba(3,90,168,.38)!important;color:#fff!important;box-shadow:0 9px 20px rgba(7,102,180,.20),inset 0 1px 0 rgba(255,255,255,.20)!important}
.acops-code-select-visible-btn:hover{background:linear-gradient(135deg,#075dbd 0%,#087fb3 58%,#0d9a91 100%)!important;color:#fff!important}
.acops-code-select-visible-btn.is-selected{background:linear-gradient(135deg,#087f76,#0aa99b)!important;border-color:rgba(6,132,122,.45)!important}
.acops-code-select-visible-btn .acops-code-select-visible-copy strong{color:#fff!important}
.acops-code-select-visible-btn .acops-code-select-visible-copy small{color:rgba(255,255,255,.78)!important}
.acops-code-select-visible-btn .acops-code-select-visible-icon{background:rgba(255,255,255,.16)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important}
.acops-code-detail{height:31px!important;min-width:88px!important;padding:0 11px!important;border:1px solid #c9def2!important;border-radius:9px!important;background:linear-gradient(135deg,#eaf5ff,#eef9ff)!important;color:#1668b7!important;font-size:11.5px!important;font-weight:850!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;cursor:pointer!important;box-shadow:0 5px 14px rgba(31,105,170,.10),inset 0 1px 0 rgba(255,255,255,.95)!important;opacity:1!important;visibility:visible!important}
.acops-code-detail span{color:inherit!important;opacity:1!important;visibility:visible!important;white-space:nowrap!important}
.acops-code-detail svg{color:inherit!important;opacity:1!important;visibility:visible!important}
.acops-code-detail:hover{background:linear-gradient(135deg,#1f79cf,#23a9ba)!important;color:#fff!important;border-color:transparent!important;transform:translateY(-1px)!important;box-shadow:0 9px 20px rgba(31,121,207,.20)!important}


/* Academium 3.14.13 — accessibility pass for dense lists/tables.
   Font size only: row/card/button dimensions remain unchanged. */
.acops-code-table th,
.acstudents-front-table th,
.acops-advisor-table-wrap th{font-size:12.5px!important;line-height:1.08!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
.acops-code-table td,
.acstudents-front-table td,
.acops-advisor-table-wrap td{font-size:13px!important;line-height:1.2!important}
.acstudents-front-copy strong,.acstudents-course-top>strong,.acops-advisor-person strong{font-size:13px!important}
.acstudents-front-copy small,.acstudents-course-mini>small,.acstudents-doc-stack>small,.acstudents-doc-mini small,.acops-advisor-person small{font-size:12px!important}
.acstudents-front-badge,.acstudents-front-view,.acops-chip,.acops-code-detail{font-size:12px!important}
.acstudents-front-foot,.acstudents-front-pages button{font-size:12.5px!important}


/* Academium 3.14.13 — Encabezados de tablas/listas legibles y centrados */
.academium-shell table thead th,
.academium-app table thead th,
.academium-dashboard table thead th,
.acd-shell table thead th,
.acd-app table thead th,
.acd-dashboard table thead th,
[class*="academium"] table thead th,
[class*="acd-"] table thead th {
    text-align: center !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    text-overflow: clip !important;
    overflow: visible !important;
}

/* Si una tabla necesita más ancho, conservar el encabezado completo y permitir desplazamiento
   en su contenedor en lugar de partir o truncar las palabras. */
.academium-shell .table-responsive,
.academium-shell .acd-table-wrap,
.academium-shell .academium-table-wrap,
.academium-app .table-responsive,
.academium-app .acd-table-wrap,
.academium-app .academium-table-wrap,
[class*="academium"] .table-responsive,
[class*="academium"] .acd-table-wrap,
[class*="academium"] .academium-table-wrap {
    overflow-x: auto;
}
