/* Inicio como tablero: cabecera liviana y todas las tarjetas a la vista. */
#content .hm-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:4px 2px 20px}
#content .hm-fest{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:clamp(30px,4vw,42px);font-weight:800;letter-spacing:-.035em;line-height:1;color:var(--ink,#252632)}
#content .hm-fest svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:.45;transition:transform .2s,opacity .2s}
#content .hm-fest:hover svg{opacity:.8;transform:translateY(2px)}
#content .hm-fest:focus-visible{outline:2px solid #e0003c;outline-offset:4px;border-radius:8px}
#content .hm-when{margin:8px 0 0;font-size:14px;color:var(--muted);text-transform:none}
#content .hm-when::first-letter{text-transform:uppercase}
#content .hm-count{display:flex;align-items:baseline;gap:6px;color:#e0003c;flex-shrink:0}
#content .hm-count strong{font-size:clamp(40px,5vw,56px);font-weight:800;letter-spacing:-.04em;line-height:.9;font-variant-numeric:tabular-nums}
#content .hm-count span{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}

#content .hm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
#content .hm-col{display:grid;gap:16px;min-width:0}
#content .hm-card{margin:0!important;padding:18px 18px 16px}
#content .hm-card .card-head{margin-bottom:12px}
#content .hm-card h2{font-size:16px}
#content .hm-n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:4px;border-radius:999px;background:#f1f1f4;color:var(--muted);font-size:12px;font-weight:700}

/* Entradas */
#content .hm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:2px 0 14px}
#content .hm-k{display:grid;gap:2px;min-width:0}
#content .hm-k strong{font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .hm-k span{font-size:12px;color:var(--muted)}
#content .hm-k.is-main strong{color:#e0003c}
#content .hm-k em{font-style:normal}
#content .hm-k:nth-child(2){grid-column:span 1}
#content .hm-bar{height:6px;border-radius:999px;background:#f1f1f4;overflow:hidden}
#content .hm-bar i{display:block;height:100%;min-width:6px;border-radius:inherit;background:linear-gradient(90deg,#ff2a5f,#e0003c);transition:width .8s cubic-bezier(.2,.8,.2,1)}
#content .hm-pending{margin:10px 0 0;font-size:13px;font-weight:600;color:#b26a00}
#content .hm-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
#content .hm-actions .button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px;border-radius:12px;font-size:14px;font-weight:700;text-decoration:none}
#content .hm-actions .button .icon{width:17px;height:17px}

/* Plata */
#content .hm-money{display:grid;gap:0}
#content .hm-money>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0;border-top:1px solid rgba(37,38,50,.07)}
#content .hm-money>div:first-child{border-top:0;padding-top:2px}
#content .hm-money span{font-size:13px;color:var(--muted)}
#content .hm-money strong{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
#content .hm-money .is-neg strong{color:#e0003c}
#content .hm-money .is-pos strong{color:#14804a}

/* Tareas */
#content .hm-list{list-style:none;margin:0;padding:0}
#content .hm-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 0;border-top:1px solid rgba(37,38,50,.07)}
#content .hm-list li:first-child{border-top:0;padding-top:2px}
#content .hm-check{all:unset;box-sizing:border-box;cursor:pointer;width:26px;height:26px;border-radius:50%;border:2px solid #d5d5dc;display:grid;place-items:center;color:transparent;transition:border-color .15s,background .15s,color .15s}
#content .hm-check .icon{width:14px;height:14px}
#content .hm-check:hover,#content .hm-check:focus-visible{border-color:#14804a;color:#14804a}
#content .hm-check:disabled{background:#14804a;border-color:#14804a;color:#fff}
#content .hm-task{all:unset;cursor:pointer;display:grid;gap:3px;min-width:0}
#content .hm-task strong{font-size:14px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#content .hm-task small{font-size:12px;color:var(--muted)}
#content .hm-task small b{font-weight:600}
#content .hm-task:hover strong{color:#e0003c}
#content .hm-list li.is-late small b{color:#e0003c}
#content .hm-list .responsibles{display:flex}
#content .hm-list .avatar-stack img,#content .hm-list .avatar-stack .avatar{width:24px;height:24px;font-size:10px}
#content .hm-more{display:inline-flex;align-items:center;gap:4px;margin-top:10px;font-size:13px;font-weight:700;color:#e0003c;text-decoration:none}
#content .hm-more .icon{width:14px;height:14px}

/* Tarjetas de la tercera columna, más compactas */
#content .hm-grid .lineup-row{padding:8px 0}
#content .hm-grid .social-home,#content .hm-grid .documents-card{margin:0!important}

html[data-theme=dark] #content .hm-fest{color:#fff}
html[data-theme=dark] #content .hm-n,html[data-theme=dark] #content .hm-bar{background:#2c2d3a}
html[data-theme=dark] #content .hm-money>div,html[data-theme=dark] #content .hm-list li{border-color:rgba(255,255,255,.08)}

@media(max-width:1100px){#content .hm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#content .hm-col:nth-child(3){grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
@media(max-width:720px){
 #content .hm-head{margin:0 2px 14px;gap:10px}
 #content .hm-when{font-size:13px;margin-top:6px}
 #content .hm-count{flex-direction:column;align-items:flex-end;gap:2px}
 #content .hm-count span{font-size:11px}
 #content .hm-grid{display:flex;flex-direction:column;gap:12px}
 #content .hm-grid>.hm-col,#content .hm-grid>.hm-col:nth-child(3){display:contents}
 #content .hm-sales{order:1}#content .hm-tasks{order:2}#content .hm-grid .hm-col:first-child>.hm-card:not(.hm-sales){order:3}
 #content .hm-col:nth-child(3)>*{order:4}
 #content .hm-kpis{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}
 #content .hm-actions .button{flex:1;justify-content:center}
}
html:not(.show-picker) body:has(#content .hm-head) .festival-context{display:none}
#content .hm-k span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .hm-num{margin:0;display:flex;align-items:baseline;gap:2px;min-width:0}
#content .hm-num em{font-style:normal;font-size:13px;font-weight:700;color:var(--muted)}
@media(max-width:720px){#content .hm-grid>*,#content .hm-grid .hm-card{width:100%;box-sizing:border-box;align-self:stretch}#content .hm-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}#content .hm-k strong{font-size:19px}#content .hm-k span{font-size:11px}#content .hm-actions .button{white-space:nowrap;font-size:13px;padding:0 10px}}
