/* Tema exclusivo del panel administrativo, para escritorio y móvil. */
.admin-wrap {--admin-background:#120d12;--admin-panel:#281723;--admin-accent:#a56686;--admin-text:#e4d3dd;
 background:var(--admin-background)!important;color:var(--admin-text)!important;border-color:var(--admin-accent)!important;}
.admin-wrap :is(h1,h2,h3,.admin-note,.admin-meta) {color:var(--admin-text)!important;}
.admin-wrap :is(.admin-member,.hpa-season-admin,.hpa-reward-actions,.hpa-memory-card,.hpa-event-card,.hpa-calendar-card,.hpa-request-card,.hpa-absence-card,.hpa-admin-theme-tools) {background:var(--admin-panel)!important;border-color:var(--admin-accent)!important;color:var(--admin-text)!important;}
.admin-wrap :is(button,input,select,textarea,.hpa-admin-nav a) {border-color:var(--admin-accent)!important;color:var(--admin-text)!important;}
.admin-wrap :is(button,.hpa-admin-nav a) {background-color:var(--admin-panel)!important;}
.admin-wrap :is(button:hover,button:focus-visible,.hpa-admin-nav a:hover) {outline-color:var(--admin-accent)!important;filter:brightness(1.18);}
.admin-wrap :is(input,select,textarea) {background-color:var(--admin-background)!important;}
.admin-wrap :is(.hpa-admin-nav,.hpa-season-admin,.admin-member,#hpa-content-admin,#hpa-calendar-admin,#hpa-rules-admin,#hpa-connections-admin,#hpa-rewards-admin,#hpa-requests-section,#hpa-admin-requests,.hpa-audit-panel,.hpa-reward-actions) {border-color:var(--admin-accent)!important;}
.hpa-admin-theme-tools {position:relative;display:flex;justify-content:flex-end;margin:0 0 12px;}
#hpa-admin-theme-toggle {font:inherit;font-size:12px;padding:10px 12px;cursor:pointer;border:1px solid var(--admin-accent);}
#hpa-admin-theme-editor {position:absolute;z-index:20;right:0;top:calc(100% + 6px);width:min(340px,calc(100vw - 65px));padding:15px;background:var(--admin-panel);border:1px solid var(--admin-accent);box-shadow:0 8px 25px #000a;color:var(--admin-text);}
#hpa-admin-theme-editor[hidden] {display:none!important;}
#hpa-admin-theme-editor h2 {font-size:15px;margin:0 0 12px;}
.hpa-admin-theme-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.hpa-admin-theme-grid label {display:flex;flex-direction:column;gap:5px;font-size:12px;}
.hpa-admin-theme-grid input {width:100%;height:42px;cursor:pointer;padding:2px;}
.hpa-admin-theme-buttons {display:flex;gap:8px;flex-wrap:wrap;margin:14px 0;}
.hpa-admin-theme-buttons button {padding:9px 12px;cursor:pointer;}
#hpa-admin-theme-editor small {font-size:11px;line-height:1.6;display:block;}
@media(max-width:600px){.hpa-admin-theme-tools{justify-content:flex-end}#hpa-admin-theme-toggle{font-size:11px}#hpa-admin-theme-editor{width:min(340px,calc(100vw - 52px));}}
