#rep-reputacion-section{margin-bottom:12px;padding:12px 14px;border:1px solid #dce9e2;border-radius:16px;background:linear-gradient(110deg,#fff,#f2f8f4);box-shadow:0 3px 12px #06452a06}
#rep-reputacion-section .rep-reputation-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
#rep-reputacion-section .rep-reputation-title{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--verde);margin-bottom:4px}
#rep-reputacion-section .rep-reputation-title i{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#fff0ca;color:#d89b12;font-size:12px}
#rep-reputacion-resumen{font-size:11px;line-height:1.5;color:var(--texto3)}
#rep-reputacion-resumen strong{font-size:12px}
#rep-reputacion-puesto{flex-shrink:0;padding:7px 10px;border-radius:11px;background:#e6f2eb;color:var(--verde);font-size:15px;font-weight:900;text-align:center;white-space:nowrap}
#rep-reputacion-puesto:empty{display:none}
#rep-reputacion-detalle{margin-top:7px}
#rep-reputacion-detalle:empty{display:none}
#rep-reputacion-detalle summary{font-size:11px;color:var(--verde);font-weight:700;cursor:pointer}

/* Compact ranking cards. */
.rep-rank-row{display:grid;grid-template-columns:44px 40px minmax(0,1fr) 54px;gap:10px;align-items:center;padding:13px 12px;background:#fff;border:1px solid #e0eae3;border-radius:15px;margin-bottom:9px;color:var(--texto)}
.rep-rank-top{background:linear-gradient(110deg,#f2f8f4,#fff);border-color:#cfe3d6}.rep-rank-place{text-align:center;background:#edf5ef;border-radius:11px;padding:6px 2px;color:var(--verde)}.rep-rank-place small{display:block;font-size:9px;line-height:1.4}.rep-rank-place strong{font-size:16px}
.rep-rank-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#edf5ef;color:var(--verde)}.rep-rank-avatar img{width:100%;height:100%;object-fit:cover}
.rep-rank-person{min-width:0}.rep-rank-person>strong{display:block;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.rep-rank-person small{display:block;font-size:10px;line-height:1.5;color:var(--texto3);margin-top:2px}.rep-rank-score{text-align:right}.rep-rank-score span{display:block;font-size:15px;font-weight:800;color:var(--verde)}.rep-rank-score small{font-size:9px;color:var(--texto3)}
.rep-rank-reviews{grid-column:3 / -1}.rep-rank-reviews summary{font-size:10px;color:var(--verde);font-weight:700;cursor:pointer}
#rep-reputacion-section{background:#fff;border-radius:18px;padding:15px;border-color:#dbe9df}#rep-reputacion-section .rep-reputation-heading>div:first-child{min-width:0}
#rep-reputacion-section .rep-own-rating strong{display:block;font-size:25px;line-height:1.25;color:var(--verde);letter-spacing:-.5px}.rep-own-rating strong>span{color:#e3a416;font-size:20px}.rep-own-rating strong small{font-size:11px;font-weight:600;color:var(--texto3);margin-left:4px}.rep-own-rating>span{display:block;font-size:10px;color:var(--texto3);margin-top:3px}
#rep-reputacion-puesto{background:linear-gradient(135deg,var(--verde2),var(--verde));color:white;min-width:74px;border-radius:13px;padding:9px 10px;box-shadow:none}#rep-reputacion-puesto strong{display:block;font-size:20px;line-height:1.3}#rep-reputacion-puesto small{display:block;font-size:9px;line-height:1.4;color:#dbefe2;font-weight:600}
@media(max-width:360px){.rep-rank-row{grid-template-columns:36px 32px minmax(0,1fr) 48px;gap:7px;padding:11px 9px}.rep-rank-avatar{width:32px;height:32px}.rep-rank-score span{font-size:13px}}

.rep-month-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.rep-month-heading label{font-weight:800;color:var(--verde);font-size:13px}.rep-month-heading select{margin-left:8px;border:1px solid #dce9e2;border-radius:9px;background:white;padding:7px;font:inherit;color:#06452a}.rep-month-heading>span,.rep-month-info{font-size:11px;color:#60776b;line-height:1.5}.rep-excellence-note{display:flex;flex-direction:column;gap:4px;margin:10px 0 14px;padding:11px 13px;border-radius:12px;background:#f1f7f2;border:1px solid #dce9e2;font-size:11px;color:#355d49;line-height:1.5}.rep-excellence-note strong{color:#07502e;font-size:12px}

/* Distinción del mes: junto al saludo, sin ampliar la tarjeta del mapa. */
#rep-map-saludo{display:inline;vertical-align:middle}.rep-month-badge{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;vertical-align:middle;margin-left:6px;border-radius:8px;box-sizing:border-box;padding:2px;background:#ecf7f3}.rep-month-badge svg{display:block;width:20px;height:20px}.rep-month-badge-2{background:#fff6df}.rep-month-badge-3{background:#f0f4f6}
