/* ═══════════════════════════════════════════════════════
   Rey de la Colina · Calendario — estilos
   Reutiliza las variables del sistema admin (--surface, --border,
   --radius, --text, --text-muted, --primary, --bg).
   ═══════════════════════════════════════════════════════ */

/* ── Layout "on the fold": el panel llena el viewport sin scroll de página.
   El selector de ciudad se movió al sidebar, así que ya no hay barra global
   que descontar: el panel usa el alto completo de la ventana.
   El calendario (flex:1) absorbe el espacio restante. ── */
#panel-hill_calendar.active {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px 20px 12px;
}
#panel-hill_calendar .panel-header { margin-bottom: 12px; flex-shrink: 0; }

/* ── Toggle de alcance (ciudad / todas) ── */
.hc-scope { display: inline-flex; gap: 4px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.hc-scope-btn {
    display: inline-flex; align-items: center; gap: 6px;
    border: none; background: transparent; color: var(--text-muted);
    font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.hc-scope-btn .material-icons-outlined { font-size: 16px; }
.hc-scope-btn:hover { color: var(--text); }
.hc-scope-btn.active { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(59,130,246,.35); }

/* ── Stats ── */
.hc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; flex-shrink: 0; }
.hc-stat {
    display: flex; align-items: center; gap: 12px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl, 16px); padding: 10px 14px;
}
.hc-stat-ico {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.hc-stat-ico .material-icons-outlined { font-size: 20px; }
.hc-stat-val { font-size: 20px; font-weight: 900; color: var(--text); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hc-stat-lbl { font-size: 11px; font-weight: 600; color: var(--text-muted); margin-top: 2px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Tarjeta del calendario (flex:1 → llena el alto disponible) ── */
.hc-cal-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl, 16px); padding: 14px; margin-bottom: 12px;
    flex: 1; min-height: 0; display: flex; flex-direction: column;
}
.hc-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; flex-shrink: 0; }
.hc-month-label { font-size: 20px; font-weight: 900; color: var(--text); letter-spacing: -.3px; }
.hc-month-label span { color: var(--text-muted); font-weight: 700; }
.hc-head-actions { display: flex; align-items: center; gap: 8px; }
.hc-nav {
    width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
    background: var(--bg); color: var(--text); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.hc-nav:hover { border-color: var(--primary); color: var(--primary); }
.hc-today-btn {
    border: 1px solid var(--border); background: var(--bg); color: var(--text);
    font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 10px; cursor: pointer; transition: all .15s;
}
.hc-today-btn:hover { border-color: var(--primary); color: var(--primary); }

.hc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hc-dow-row { margin-bottom: 6px; flex-shrink: 0; }
.hc-dow { text-align: center; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); padding: 2px 0; }

/* Cuerpo del mes: una fila por semana; cada semana llena el alto disponible. */
.hc-month { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.hc-week {
    flex: 1; min-height: 0; position: relative;
    display: grid; grid-template-columns: repeat(7, 1fr);
    column-gap: 6px; row-gap: 3px; align-content: start;
    border-top: 1px solid var(--border); padding-top: 4px;
}

/* Número de día (fila 1 del grid de la semana). */
.hc-wnum { font-size: 12px; font-weight: 800; color: var(--text-muted); text-align: center; line-height: 1.5; position: relative; z-index: 1; }
.hc-wnum-out { opacity: .32; }
.hc-wnum-today {
    color: #fff; background: var(--primary); border-radius: 999px;
    width: 22px; height: 22px; margin: 0 auto; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--primary) 50%, transparent);
}
/* Resalte de la columna de hoy (detrás de todo, abarca toda la altura). */
.hc-col-today { background: color-mix(in srgb, var(--primary) 8%, transparent); border-radius: 10px; }

/* ── Barra de premio (abarca su rango inicio → fin) ──
   Relleno de color sólido propio del premio (--c) con texto blanco, para que
   cada premio se distinga claramente del resto en claro Y oscuro. Los extremos
   se redondean solo donde el premio realmente empieza/termina; si el rango
   sigue en otra semana se muestra una flecha de continuación. */
.hc-bar {
    --c: #888; --cb: #666;
    align-self: center; height: 20px; min-width: 0; z-index: 2;
    display: flex; align-items: center; gap: 5px; padding: 0 9px;
    background: var(--c); border: 1px solid var(--cb);
    border-radius: 4px; color: #fff; font-size: 11px; font-weight: 700;
    text-shadow: 0 1px 1px rgba(0,0,0,.28);
    cursor: pointer; overflow: hidden; text-align: left;
    transition: transform .12s, filter .12s;
}
.hc-bar:hover { transform: translateY(-1px); filter: brightness(1.08); z-index: 3; }
.hc-bar:not(.hc-bar-l) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.hc-bar:not(.hc-bar-r) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.hc-bar-l { border-top-left-radius: 999px; border-bottom-left-radius: 999px; }
.hc-bar-r { border-top-right-radius: 999px; border-bottom-right-radius: 999px; }
.hc-bar-img { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(255,255,255,.6); }
.hc-bar-ico { font-size: 12px; flex-shrink: 0; text-shadow: none; }
.hc-bar-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hc-bar-cont { flex-shrink: 0; font-weight: 900; color: #fff; opacity: .9; }
.hc-bar-cont-r { margin-left: auto; }
.hc-bar-active { animation: hcPulse 2.4s ease-in-out infinite; }

@keyframes hcPulse {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 45%, transparent); }
}

/* Miniatura usada por los chips de borrador. */
.hc-chip-img { width: 24px; height: 24px; border-radius: 6px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); }
.hc-chip-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-chip-emoji { font-size: 14px; }

/* ── Leyenda ── */
.hc-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 0; padding: 2px 4px 0; flex-shrink: 0; }
.hc-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.hc-lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.hc-lg-rainbow { background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6); }
.hc-lg-draft { background: #6b7280; }

/* ── Borradores sin programar (compacto, con scroll propio si crece) ── */
.hc-drafts { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-xl, 16px); padding: 10px 14px; margin-top: 10px; flex-shrink: 0; max-height: 22vh; overflow-y: auto; }
.hc-drafts-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--text); margin-bottom: 10px; flex-wrap: wrap; }
.hc-drafts-head .material-icons-outlined { color: var(--text-muted); font-size: 18px; }
.hc-drafts-hint { font-size: 11px; font-weight: 500; color: var(--text-muted); }
.hc-draft-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-draft-chip {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px 6px 6px;
    transition: border-color .15s, transform .12s;
}
.hc-draft-chip:hover { border-color: var(--primary); transform: translateY(-1px); }
.hc-draft-chip .hc-chip-img { width: 30px; height: 30px; border-radius: 7px; }
.hc-draft-txt { display: flex; flex-direction: column; line-height: 1.25; }
.hc-draft-txt strong { font-size: 12px; color: var(--text); font-weight: 700; }
.hc-draft-city { font-size: 10px; color: var(--text-muted); }

/* ── Modal de detalle ── */
.hc-detail { padding: 22px; }
.hc-d-hero { display: flex; gap: 16px; align-items: flex-start; }
.hc-d-img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.hc-d-img-ph { display: flex; align-items: center; justify-content: center; font-size: 40px; background: var(--bg); }
.hc-d-hero-txt { flex: 1; min-width: 0; }
.hc-d-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.hc-d-badge .material-icons-outlined { font-size: 14px; }
.hc-d-title { font-size: 20px; font-weight: 900; color: var(--text); line-height: 1.2; }
.hc-d-season { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-top: 2px; }
.hc-d-date { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.hc-d-range { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text); margin-top: 8px; background: var(--bg); border: 1px solid var(--border); padding: 6px 11px; border-radius: 8px; }
.hc-d-range .material-icons-outlined { font-size: 15px; color: var(--text-muted); }
.hc-d-range b { font-weight: 800; }
.hc-d-cd { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 18px; font-weight: 900; color: #f59e0b; font-variant-numeric: tabular-nums; }
.hc-d-cd .material-icons-outlined { font-size: 18px; }
.hc-d-desc { font-size: 13px; color: var(--text); line-height: 1.5; margin: 16px 0 0; padding: 12px 14px; background: var(--bg); border-radius: 10px; border: 1px solid var(--border); }

.hc-d-king { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; background: var(--bg); border-radius: 12px; border: 1px solid var(--border); }
.hc-d-king img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.hc-d-king-ph { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--surface); }
.hc-d-king-lbl { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); }
.hc-d-king-name { font-size: 15px; font-weight: 800; color: var(--text); }
.hc-d-king-since { font-size: 11px; color: var(--text-muted); }
.hc-d-king-empty { font-size: 13px; color: var(--text-muted); justify-content: center; }

.hc-d-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hc-d-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); padding: 7px 12px; border-radius: 999px; }
.hc-d-meta-item .material-icons-outlined { font-size: 15px; }

.hc-d-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.hc-d-manage { background: var(--primary); color: #fff; border: none; padding: 10px 18px; border-radius: var(--radius); font-weight: 700; cursor: pointer; }

/* ── Pestañas + host de vista ── */
.hc-head-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hc-tabs { display: inline-flex; gap: 4px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.hc-tab {
    display: inline-flex; align-items: center; gap: 6px; border: none; background: transparent;
    color: var(--text-muted); font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.hc-tab .material-icons-outlined { font-size: 16px; }
.hc-tab:hover { color: var(--text); }
.hc-tab.active { background: var(--orange, #f59e0b); color: #fff; box-shadow: 0 2px 8px rgba(245, 158, 11, .35); }

.hc-view-host { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* ── Vista Planeación (scroll propio) ── */
.hc-plan { flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; }
/* Dos columnas: Pronóstico (izquierda, ancho acotado) · Próximos premios
   (derecha, ocupa el resto). En pantallas chicas se apilan. */
.hc-plan-cols { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 20px; align-items: start; }
.hc-plan-col { min-width: 0; }
@media (max-width: 900px) { .hc-plan-cols { grid-template-columns: 1fr; gap: 0; } }
.hc-plan-block { margin-bottom: 18px; }
.hc-block-head {
    display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800;
    color: var(--text); margin-bottom: 12px; letter-spacing: .2px;
}
.hc-block-head > .material-icons-outlined { font-size: 19px; color: var(--orange, #f59e0b); }
.hc-block-count { background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); font-size: 11px; font-weight: 800; padding: 1px 9px; border-radius: 999px; }
.hc-add-idea { margin-left: auto; }
.hc-plan-empty {
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    color: var(--text-muted); padding: 32px 20px; background: var(--surface);
    border: 1px dashed var(--border); border-radius: var(--radius-xl, 16px);
}
.hc-plan-empty .material-icons-outlined { font-size: 38px; opacity: .35; }
.hc-plan-empty p { font-size: 13px; font-weight: 500; max-width: 440px; }

/* ── Tarjetas de pronóstico ── */
.hc-forecast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.hc-fc-card {
    background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--hc-accent, #f59e0b);
    border-radius: var(--radius-xl, 16px); padding: 16px 18px;
}
.hc-fc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hc-fc-title { font-size: 15px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-fc-city, .hc-idea-city { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.hc-fc-city .material-icons-outlined, .hc-idea-city .material-icons-outlined { font-size: 12px; }
.hc-fc-verdict { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.hc-fc-proj { margin: 12px 0 4px; }
.hc-fc-big { font-size: 30px; font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.hc-fc-sub { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-top: 6px; }
.hc-fc-date { font-size: 19px; font-weight: 900; line-height: 1.1; letter-spacing: -.3px; margin-top: 1px; }
.hc-fc-band { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary, var(--text-muted)); margin-top: 8px; background: var(--bg); border: 1px solid var(--border); padding: 6px 11px; border-radius: 8px; }
.hc-fc-band .material-icons-outlined { font-size: 15px; color: var(--text-muted); }
.hc-fc-band b { font-weight: 800; color: var(--text); }
.hc-fc-verdesc { font-size: 12px; color: var(--text-muted); margin: 10px 0 12px; line-height: 1.4; }
.hc-fc-prob { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hc-fc-prob-bar { flex: 1; height: 7px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.hc-fc-prob-fill { height: 100%; border-radius: 999px; transition: width .3s; }
.hc-fc-prob-lbl { font-size: 11px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.hc-fc-prob-lbl b { font-weight: 800; color: var(--text); }
.hc-fc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.hc-fc-metric { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.hc-fc-mlbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); }
.hc-fc-mval { font-size: 15px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.hc-fc-mval small { font-size: 10px; font-weight: 600; color: var(--text-muted); }
.hc-fc-maturity { }
.hc-fc-mat-top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--text-muted); margin-bottom: 5px; }
.hc-fc-bar { height: 7px; background: var(--bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.hc-fc-bar-fill { height: 100%; border-radius: 999px; transition: width .3s; }
.hc-fc-mat-sub { font-size: 10px; color: var(--text-muted); margin-top: 5px; line-height: 1.35; }

/* ── Historial (estadísticas del scope) ── */
.hc-hist { margin-top: 4px; }
.hc-hist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hc-hist-cell { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.hc-hist-cell > .material-icons-outlined { font-size: 20px; color: var(--orange, #f59e0b); flex-shrink: 0; }
.hc-hist-val { font-size: 18px; font-weight: 900; color: var(--text); line-height: 1.1; white-space: nowrap; }
.hc-hist-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); margin-top: 2px; }
.hc-hist-wide { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.hc-hist-wcell { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.hc-hist-wcell > .material-icons-outlined { font-size: 18px; color: var(--orange, #f59e0b); flex-shrink: 0; }
.hc-hist-wtxt { flex: 1; min-width: 0; }
.hc-hist-wtop { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.hc-hist-wlbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); }
.hc-hist-wval { font-size: 14px; font-weight: 900; color: var(--text); white-space: nowrap; }
.hc-hist-wsub { font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

/* ── Backlog "Próximos premios" ── */
.hc-idea-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.hc-idea-card {
    background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--hc-accent, #9ca3af);
    border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px;
}
.hc-idea-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hc-idea-status {
    font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 8px;
    background: var(--bg); color: var(--text); border: 1px solid var(--border); cursor: pointer; max-width: 60%;
}
.hc-idea-actions { display: flex; gap: 2px; }
.hc-idea-title { font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.25; }
.hc-idea-notes { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.hc-idea-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 2px; }
.hc-idea-meta > span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-muted); font-weight: 600; }
.hc-idea-meta .material-icons-outlined { font-size: 13px; }

/* ── Formulario de idea (dentro del modal) ── */
.hc-idea-modal { display: flex; flex-direction: column; }
.hc-im-field { margin-bottom: 16px; }
.hc-im-field .form-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--text); }
.hc-im-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hc-im-prize { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.hc-im-prize-ico {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(245,158,11,.18), rgba(180,83,9,.12));
    border: 1px solid rgba(245,158,11,.35);
}
.hc-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hc-pill {
    display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700;
    padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--border);
    background: var(--bg); color: var(--text-muted); cursor: pointer; transition: all .15s;
}
.hc-pill:hover { border-color: var(--p); color: var(--text); }
.hc-pill.active { background: color-mix(in srgb, var(--p) 15%, transparent); border-color: var(--p); color: var(--p); }
.hc-im-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.hc-im-save {
    display: inline-flex; align-items: center; gap: 4px; background: var(--primary); color: #fff;
    border: none; padding: 10px 20px; border-radius: var(--radius); font-weight: 700; font-size: 13px;
    cursor: pointer; transition: filter .15s; box-shadow: 0 2px 10px rgba(59,130,246,.3);
}
.hc-im-save:hover { filter: brightness(1.06); }

/* ── Responsive ──
   En pantallas chicas el "on the fold" no aplica (stats apiladas + celdas
   tocables): restauramos scroll natural y celdas con altura mínima. ── */
@media (max-width: 720px) {
    #panel-hill_calendar.active { height: auto; overflow: visible; padding: 12px 14px; }
    .hc-stats { grid-template-columns: 1fr; }
    .hc-cal-card { flex: none; }
    .hc-month { overflow: visible; }
    .hc-week { flex: none; min-height: 64px; }
    .hc-bar { font-size: 10px; }
    .hc-month-label { font-size: 17px; }
    .hc-d-hero { flex-direction: column; }
    .hc-plan { overflow: visible; }
    .hc-im-grid { grid-template-columns: 1fr; }
    .hc-head-controls { width: 100%; }
    .hc-tabs, .hc-scope { flex: 1; justify-content: center; }
}
