/* Controles 2.1: eliminación reversible y caja sobre el listado de inscritos. */
.delete-control{display:inline-block;position:relative;font-size:11px;margin-top:9px;max-width:310px}.delete-control>summary{cursor:pointer;color:var(--danger);font-size:11px;font-weight:650;list-style:none;padding:5px 0}.delete-control>summary::-webkit-details-marker{display:none}.delete-control>summary:before{content:'×';font-size:15px;margin-right:5px}.delete-control[open]>summary{margin-bottom:7px}.delete-control-body{padding:13px;border:1px solid #eed0d6;background:#fff7f8;border-radius:10px;min-width:210px;max-width:310px}.delete-control-body p{font-size:10px;line-height:1.65;color:#89505b;margin-bottom:10px}.delete-control-body form{display:grid;gap:9px}.delete-control-body input{font-size:11px!important;min-height:34px!important}.course-card .delete-control{margin-top:12px}.cash-cell{min-width:124px;vertical-align:top}.cash-option{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650;min-height:39px;padding:7px 8px;border:1px solid #dce6e3;border-radius:8px;background:#fff;cursor:pointer}.cash-option input{margin:0;width:17px;height:17px;flex-shrink:0}.cash-option:has(input:checked){background:#e2f5ec;border-color:#80bca4;color:#166548}.cash-option:has(input:disabled){cursor:default;background:#f5f7f9;color:#9aa5b5;border-color:#e6ebef}.cash-option small{display:block;font-size:9px;line-height:1.5;font-weight:500;margin-top:3px;white-space:nowrap}.cash-amount-wrap{margin-top:8px;min-width:108px}.cash-amount-wrap input{min-height:37px!important;font-size:12px!important;width:110px!important;max-width:100%;background:#fffef5!important;border-color:#d5c68b!important}.cash-amount-wrap input:invalid{border-color:var(--danger)!important}.cash-amount-wrap .hint{font-size:9px;text-align:right;margin-top:3px}.cash-after{color:var(--teal-dark);font-size:9px;max-width:150px}.is-cash-selected{background:#f3faf6!important}.cash-batch-form{padding:23px;background:#f8fbfa;border-top:1px solid #d6e6e0}.cash-batch-fields{display:grid;grid-template-columns:minmax(260px,1.3fr) minmax(170px,1fr) minmax(170px,1fr);gap:18px;align-items:end}.cash-methods{border:0;padding:0;margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.cash-methods legend{padding:0;margin-bottom:9px;font-size:11px;color:#34425b;font-weight:650}.cash-methods label{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #d7e2dd;background:#fff;border-radius:7px;font-size:10px;cursor:pointer;min-height:37px}.cash-methods label:has(input:checked){border-color:#78b9a3;background:#e6f4ec;color:#25694e}.cash-methods input{width:14px;height:14px;margin:0}.cash-batch-fields .field label{font-size:11px}.cash-batch-fields .field input{font-size:12px;min-height:39px}.cash-savebar{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #dbe9e3;padding-top:19px;margin-top:20px}.cash-savebar strong{font-size:12px;color:#1c4c3f}.cash-savebar .hint{font-size:10px}.cash-savebar .btn{white-space:nowrap}.receipt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.receipt-link{display:block;padding:15px;border:1px solid #cfe7dc;background:#f7fcf9;border-radius:10px;color:var(--ink)}.receipt-link:hover{background:#ebf7f0;border-color:#9ccdb7;text-decoration:none}.receipt-link strong{display:block;font-size:12px;margin-bottom:6px}.receipt-link>span{display:block;font-size:10px;margin-top:4px;color:var(--muted)}.receipt-link>span.text-link{color:var(--teal);font-weight:650;margin-top:10px}.cash-receipts{border-color:#bcdccc}.cash-receipts .panel-head{background:#edf8f1}.cash-receipts .panel-head p{font-size:11px}
.cash-course-filters{padding:0 23px 18px;border-bottom:1px solid var(--line)}.cash-course-filters>summary{font-size:12px;font-weight:650;cursor:pointer;color:var(--teal-dark)}.cash-course-filters>summary>span{font-weight:400;font-size:10px;color:var(--muted);margin-left:6px}.cash-filter-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px;max-height:190px;overflow:auto;padding:2px}.cash-filter-links>a{padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:11px;max-width:260px;line-height:1.5}.cash-filter-links>a.active{background:var(--teal);border-color:var(--teal);color:#fff}.cash-filter-links>a>strong{font-size:11px;font-weight:600;display:block}.cash-filter-links>a>span{display:block;font-size:9px;opacity:.78;margin-top:3px}.cash-filter-links>a:hover{text-decoration:none;border-color:var(--teal)}#general-cash-table{min-width:860px}#payment-history{scroll-margin-top:100px}
@media(max-width:1100px){.cash-batch-fields{grid-template-columns:1fr 1fr}.cash-methods{grid-column:1/-1}.receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-savebar{flex-wrap:wrap}}
@media(max-width:600px){.cash-batch-form{padding:18px 16px}.cash-batch-fields{grid-template-columns:1fr;gap:15px}.cash-methods{grid-column:auto}.cash-methods label{font-size:11px;padding:9px 11px;min-height:40px}.cash-batch-fields .field input{font-size:16px!important}.cash-savebar{display:block}.cash-savebar .btn{width:100%;white-space:normal;margin-top:15px;min-height:45px}.cash-savebar .hint{font-size:11px;line-height:1.75}.receipt-grid{grid-template-columns:1fr}.delete-control-body{max-width:260px;min-width:205px}.delete-control-body input{font-size:16px!important}.cash-amount-wrap input{font-size:16px!important;min-height:42px!important}.cash-option{min-height:42px}.cash-cell{min-width:130px}.cash-after{max-width:155px}}
@media(max-width:640px){#general-cash-table{display:block;min-width:0;width:100%}#general-cash-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#general-cash-table tbody{display:block}#general-cash-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 11px;padding:18px 16px;border-bottom:1px solid var(--line)}#general-cash-table tbody td{display:block;padding:0;border:0;min-width:0}#general-cash-table tbody td:nth-child(1),#general-cash-table tbody td:nth-child(2),#general-cash-table tbody td:nth-child(3),#general-cash-table tbody td:nth-child(6){grid-column:1/-1}#general-cash-table tbody td:nth-child(1) .cell-title{font-size:14px}#general-cash-table tbody td:nth-child(2){padding-bottom:6px}#general-cash-table tbody td:nth-child(2) .cell-title{font-size:11px;color:var(--teal-dark)}#general-cash-table tbody td:nth-child(3){padding:10px 12px;background:#f3f7f8;border-radius:8px;margin:2px 0 4px}#general-cash-table .cell-meta{font-size:10px;line-height:1.6}#general-cash-table .cell-amount{font-size:13px}#general-cash-table .cash-option{width:100%;min-height:50px;font-size:12px}#general-cash-table .cash-option small{font-size:10px}#general-cash-table .cash-amount-wrap input{width:100%!important}#general-cash-table .cash-after{max-width:none;font-size:10px}#general-cash-table td:nth-child(6){padding-top:5px}#general-cash-table td:nth-child(6) .actions{display:flex;flex-wrap:wrap}#general-cash-table td:nth-child(6) .btn{flex:1;min-height:37px}.cash-course-filters{padding-left:16px;padding-right:16px}}
@media(max-width:640px){.people-table{display:block!important;min-width:0!important;width:100%}.people-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.people-table tbody{display:block}.people-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:18px 16px;border-bottom:1px solid var(--line)}.people-table tbody td{display:block;min-width:0;padding:0;border:0}.people-table tbody td:nth-child(1),.people-table tbody td:nth-child(2),.people-table tbody td:nth-child(5){grid-column:1/-1}.people-table tbody td:nth-child(1) .cell-title{font-size:14px;line-height:1.55}.people-table tbody td:nth-child(1) .cell-person>div{min-width:0}.people-table .cell-meta{font-size:11px;line-height:1.6}.people-table tbody td:nth-child(2){padding-left:49px}.people-table tbody td:nth-child(3),.people-table tbody td:nth-child(4){align-self:center}.people-table tbody td:nth-child(5){display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding-top:3px}.people-table td:nth-child(5)>.btn{min-height:39px;flex:1}.people-table .delete-control{margin:0}.people-table .delete-control>summary{font-size:12px;padding:8px 0}.people-table .delete-control[open]{flex-basis:100%;max-width:none}.people-table .delete-control-body{max-width:none}}
@media print{.delete-control,.cash-batch-form,.cash-cell,.cash-receipts{display:none!important}}
