/* EIC Academy 36.21.7 | Recompensas: mismo lenguaje de Notas de servicio */
.ryg217-app{--ryg-line:#d9e1eb;--ryg-ink:#202a37;--ryg-muted:#697990;display:block;max-width:1360px;min-width:0;padding:10px 0 24px;font-family:inherit;color:var(--ryg-ink)}
.ryg217-app *{box-sizing:border-box}
.ryg217-app [hidden]{display:none!important}
.ryg217-front{display:grid;gap:12px;min-width:0}
.ryg217-head{display:flex;align-items:center;gap:13px;padding:8px 3px 15px;border-bottom:1px solid #e3e9f0;min-width:0}
.ryg217-head-icon{width:43px;height:43px;object-fit:contain;flex:0 0 43px;background:transparent;border:0;border-radius:0}
.ryg217-head h1{font-size:clamp(21px,2.3vw,27px);font-weight:800;line-height:1.16;letter-spacing:-.035em;margin:0;min-width:0;color:#1d2530}
.ryg217-head-tools{display:flex;align-items:center;gap:7px;margin-left:auto}
.ryg217-icon-button{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;background:#fff;border:1px solid #d9e1eb;border-radius:9px;color:#243345;font-size:24px;cursor:pointer;line-height:1}
.ryg217-small-button,.ryg217-secondary{display:inline-flex;justify-content:center;align-items:center;min-height:35px;border:1px solid #d9e1eb;border-radius:9px;padding:7px 12px;font:inherit;font-size:11px;font-weight:740;color:#27364a;background:#fff;cursor:pointer}
.ryg217-primary{display:inline-flex;justify-content:center;align-items:center;min-height:35px;border:1px solid #222b39;border-radius:9px;padding:7px 14px;font:inherit;font-size:11px;font-weight:780;background:#222b39;color:#fff;cursor:pointer;white-space:nowrap}
.ryg217-primary:hover{background:#111722}.ryg217-primary:disabled{opacity:.55;cursor:wait}
.ryg217-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ryg217-metrics button{min-width:0;min-height:68px;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:11px 14px;border:1px solid var(--ryg-line);border-radius:12px;background:#fff;color:#263445;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.ryg217-metrics button:hover{border-color:#b1bed0}.ryg217-metrics button.active{border-color:#222b39;box-shadow:inset 0 0 0 1px #222b39}
.ryg217-metrics button span{font-size:10.5px;line-height:1.2;font-weight:730;color:#697990}
.ryg217-metrics button strong{font-size:23px;line-height:1.1;letter-spacing:-.025em;font-weight:830;color:#1a2431;font-variant-numeric:tabular-nums}
.ryg217-filter-line{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ryg217-filter-line label{display:grid;gap:4px;min-width:0;font-size:10.5px;color:#58697e;font-weight:760}
.ryg217-filter-line label span{display:block}
.ryg217-filter-line input,.ryg217-filter-line select{width:100%;min-width:0;height:36px;border:1px solid var(--ryg-line);border-radius:10px;padding:5px 9px;background:#fff;color:#243345;font:inherit;font-size:11px}
.ryg217-history-section{padding:14px 15px;background:#fff;border:1px solid var(--ryg-line);border-radius:15px;min-width:0}
.ryg217-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ryg217-history-head h2{font-size:17px;font-weight:800;line-height:1.2;letter-spacing:-.025em;margin:0;color:#202a37}
.ryg217-actions{display:flex;align-items:center;gap:7px}
.ryg217-views{display:flex;gap:2px;padding:3px;border:1px solid #e0e6ed;border-radius:10px;background:#f1f4f8}
.ryg217-views button{border:0;border-radius:7px;background:transparent;color:#66768a;width:28px;height:28px;padding:5px;cursor:pointer}
.ryg217-views button.active{color:#fff;background:#222b39}
.ryg217-views svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}
.ryg217-history-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.ryg217-history-list{display:grid;grid-template-columns:1fr;gap:7px}
.ryg217-history-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:11px;border:1px solid var(--ryg-line);border-radius:11px;background:#fff}
.ryg217-history-grid .ryg217-history-card{aspect-ratio:1 / 1;overflow:hidden}
.ryg217-history-main{display:flex;flex-direction:column;gap:7px;min-width:0}
.ryg217-history-main strong{font-size:11.5px;font-weight:780;line-height:1.2;word-break:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ryg217-chip{align-self:flex-start;display:inline-flex;align-items:center;border-radius:100px;padding:3px 7px;font-size:9px;line-height:1.15;font-weight:770;background:#edf1f6;color:#54687e;max-width:100%}
.ryg217-chip.ryg217-amber{color:#8b5b09;background:#fff2d7}.ryg217-chip.ryg217-green{color:#157343;background:#e1f6ea}.ryg217-chip.ryg217-red{color:#b02b44;background:#ffe8ec}.ryg217-chip.ryg217-blue{color:#175cd3;background:#eff8ff}
.ryg217-history-info{display:flex;flex-direction:column;min-width:0;gap:4px;color:#596b80;font-size:9.5px;line-height:1.2}
.ryg217-history-info>span,.ryg217-history-info>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ryg217-history-info>small{font-size:9px;color:#8594a7}
.ryg217-reward-choices{display:flex;gap:4px;flex-wrap:wrap;margin-top:auto}
.ryg217-reward-choices button{border:1px solid #d7e1ed;background:#f8fafc;border-radius:6px;font-size:9px;font-weight:750;padding:3px 5px;cursor:pointer;color:#263445}
.ryg217-history-list .ryg217-history-card{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.3fr) auto;align-items:center;aspect-ratio:auto;gap:12px}
.ryg217-history-list .ryg217-history-main{flex-direction:row;align-items:center;flex-wrap:wrap}
.ryg217-history-list .ryg217-history-info{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px}
.ryg217-history-list .ryg217-history-info>span,.ryg217-history-list .ryg217-history-info>small{max-width:140px}
.ryg217-empty{grid-column:1/-1;text-align:center;padding:34px 12px;color:#74839a;font-size:12px;border:1px dashed #d9e1eb;border-radius:11px;margin:0}
.ryg217-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#64758a;font-size:10px;margin-top:10px}
.ryg217-pagination>span:first-child{margin-right:auto}
.ryg217-pagination label{display:flex;align-items:center;gap:5px;font-size:10px}
.ryg217-pagination select{height:28px;padding:3px 6px;border:1px solid var(--ryg-line);border-radius:7px;background:#fff;color:#243345;font:inherit;font-size:11px}
.ryg217-pagination button{background:#fff;border:1px solid var(--ryg-line);border-radius:7px;font:inherit;padding:6px 9px;color:#314158;cursor:pointer;font-size:10px}
.ryg217-pagination button:disabled{opacity:.35;cursor:default}
.ryg217-overlay{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(17,24,39,.48)}
.ryg217-dialog{width:min(100%,510px);max-height:min(92dvh,760px);overflow:auto;box-shadow:0 22px 80px #10182835;background:#fff;border:1px solid #d9e1eb;border-radius:18px;padding:20px;display:grid;gap:16px}
.ryg217-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ryg217-dialog-head small{font-size:10px;color:#74829a;font-weight:700;display:block;margin-bottom:5px}
.ryg217-dialog-head h2{font-size:23px;letter-spacing:-.025em;font-weight:800;margin:0}
.ryg217-step{display:grid;gap:13px}
.ryg217-step label{font-size:11px;font-weight:750;display:grid;gap:6px;color:#3b475b}
.ryg217-step label small{font-size:10px;color:#97a2b0;font-weight:500}
.ryg217-step input,.ryg217-step select{width:100%;min-width:0;min-height:41px;padding:9px 11px;border:1px solid #d6dfea;border-radius:9px;color:#202a37;background:#fff;font:inherit;font-size:12px}
.ryg217-step input[readonly]{background:#f5f7fa;color:#6b778a}
.ryg217-step .ryg217-agreement{display:flex;flex-direction:row;align-items:center;gap:7px;line-height:1.4;font-weight:650;margin-top:5px}
.ryg217-agreement input{width:16px;min-height:0;height:16px;accent-color:#222b39;flex:none}
.ryg217-agreement a{color:#253b55;text-underline-offset:2px}
.ryg217-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.ryg217-dialog-actions .ryg217-secondary{margin-right:auto}
.ryg217-modal-error{border:1px solid #fbc5cf;color:#aa1834;border-radius:9px;background:#fff4f6;font-size:11px;padding:10px 12px}
.ryg217-app button:focus-visible,.ryg217-app a:focus-visible,.ryg217-app input:focus-visible,.ryg217-app select:focus-visible{outline:2px solid #253b55;outline-offset:2px}
.ryg217-app #ryg217-admin-host{min-width:0}
.ryg217-app #ryg217-admin-host .ryg-panel[data-ryg-panel="admin"]{display:block;min-width:0}
@media(max-width:1300px){.ryg217-history-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1050px){.ryg217-history-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.ryg217-history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ryg217-history-list .ryg217-history-card{grid-template-columns:1fr;gap:6px}}
@media(max-width:590px){.ryg217-app{padding-top:4px}.ryg217-front{gap:9px}.ryg217-head{padding:3px 2px 11px;gap:10px}.ryg217-head-icon{width:33px;height:33px;flex-basis:33px}.ryg217-head h1{font-size:21px}.ryg217-icon-button{width:33px;min-width:33px;height:33px}.ryg217-metrics{gap:5px}.ryg217-metrics button{min-height:61px;padding:8px 6px;border-radius:10px}.ryg217-metrics button span{font-size:9px;letter-spacing:-.015em}.ryg217-metrics button strong{font-size:19px}.ryg217-filter-line{gap:5px}.ryg217-filter-line label{font-size:9px}.ryg217-filter-line input,.ryg217-filter-line select{height:33px;font-size:9px;padding:4px 5px}.ryg217-history-section{padding:10px 9px;border-radius:12px}.ryg217-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.ryg217-history-card{padding:9px;gap:5px}.ryg217-history-main strong{font-size:10.5px}.ryg217-history-info{font-size:9px}.ryg217-history-head h2{font-size:16px}.ryg217-pagination{gap:5px;font-size:9px;flex-wrap:wrap}.ryg217-pagination label{font-size:9px}.ryg217-pagination button{padding:5px 6px;font-size:9px}.ryg217-history-list .ryg217-history-card{display:grid;grid-template-columns:1fr}.ryg217-dialog{padding:15px}}
@media(max-width:360px){.ryg217-head h1{font-size:19px}.ryg217-head{gap:6px}.ryg217-filter-line input,.ryg217-filter-line select{font-size:8.5px}.ryg217-metrics button span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.ryg217-app *{transition:none!important;scroll-behavior:auto!important}}

/* v36.21.9 — Recompensas canceladas */
.ryg217-metrics button[data-r217-metric="cancelled"] span{white-space:normal;overflow-wrap:normal;line-height:1.15}
.ryg217-reason-button{align-self:flex-start;margin-top:auto;padding:3px 0;border:0;background:none;color:#a4233b;text-decoration:underline;text-underline-offset:2px;font:inherit;font-size:10px;font-weight:750;cursor:pointer}
.ryg217-reason-dialog{width:min(420px,calc(100vw - 32px));max-height:70dvh;overflow:auto;border:1px solid #d9e1eb;border-radius:15px;background:#fff;color:#202a37;box-shadow:0 20px 55px #10182828;padding:18px 20px}
.ryg217-reason-dialog::backdrop{background:rgba(17,24,39,.42)}
.ryg217-reason-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ryg217-reason-heading h3{font-size:17px;font-weight:800;margin:0}
.ryg217-reason-heading button{font:inherit;font-size:22px;color:#344054;border:1px solid #d9e1eb;border-radius:8px;background:#fff;cursor:pointer;width:34px;height:34px}
.ryg217-reason-dialog p{font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
@media(max-width:590px){.ryg217-metrics button[data-r217-metric="cancelled"]{min-height:65px}.ryg217-metrics button[data-r217-metric="cancelled"] span{font-size:8.6px;letter-spacing:-.025em}}
