/* assets/css/hhn.css — HHN Night Planner */

.hhn-intro { color: var(--text-muted); font-size: 0.88rem; margin: 0 0 1rem; max-width: 70ch; }
.hhn-muted { color: var(--text-muted); }
.hhn-small { font-size: 0.78rem; }

.hhn-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: flex-end;
    margin-bottom: 0.8rem;
}
.hhn-control { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hhn-control label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.hhn-control select {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
    max-width: 100%;
}
.hhn-checks { gap: 6px; }
.hhn-checks label { font-size: 0.85rem; font-weight: 400; color: var(--text); display: flex; gap: 6px; align-items: center; cursor: pointer; }

.hhn-houses { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0.8rem; }
.hhn-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
}
.hhn-chip.on { color: var(--text); border-color: var(--primary); }

.hhn-shows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0.8rem; }
.hhn-show { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hhn-show-name { font-size: 0.85rem; font-weight: 600; margin-right: 4px; }
.hhn-time { font-family: inherit; }
.hhn-time.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.hhn-show-row td { background: var(--surface-alt); }

.hhn-breaks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 0.8rem; }
.hhn-break { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.82rem; }
.hhn-break select { padding: 2px 4px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); color: var(--text); font-size: 0.8rem; }
.hhn-break-remove { border: none; background: none; color: var(--text-muted); cursor: pointer; font-size: 0.9rem; padding: 0 4px; }
.hhn-add { font-family: inherit; }

.hhn-night-info { font-size: 0.85rem; margin-bottom: 1rem; line-height: 1.6; }
.hhn-note {
    background: var(--surface-alt);
    border-left: 3px solid var(--primary);
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 0.85rem;
}

.hhn-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.hhn-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.hhn-table th, .hhn-table td { padding: 7px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.hhn-table th { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.hhn-repeat td { opacity: 0.8; }
.hhn-tag {
    font-size: 0.68rem;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.hhn-wait {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.hhn-good { color: var(--badge-green); font-size: 0.78rem; }
.hhn-bad  { color: var(--badge-red);   font-size: 0.78rem; }

.hhn-grid { border-collapse: separate; border-spacing: 2px; font-size: 0.8rem; width: 100%; }
.hhn-grid th { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; padding: 4px; white-space: nowrap; }
.hhn-grid td { padding: 6px 4px; text-align: center; border-radius: 4px; white-space: nowrap; }
.hhn-grid td.hhn-grid-name { text-align: left; white-space: normal; min-width: 150px; }
.hhn-grid td.hhn-grid-name a { color: var(--text); text-decoration: none; }
.hhn-grid td.hhn-grid-name a:hover { text-decoration: underline; }
.hhn-cell { font-weight: 600; }
.hhn-cell-empty { background: var(--surface-alt); color: var(--text-muted); }
.hhn-art-row td { font-size: 0.74rem; padding-top: 0; }
.hhn-bets td { font-size: 0.7rem; color: var(--text-muted); white-space: normal; vertical-align: top; text-align: left; }

@media (max-width: 640px) {
    .hhn-controls { gap: 10px; }
    .hhn-control { flex: 1 1 140px; }
    .hhn-grid td.hhn-grid-name { min-width: 120px; }
}
.hhn-ea-tag { font-size: 0.62rem; font-weight: 500; color: var(--text-muted); }
