/* La franja Overrun de la pagina del banco (js/hour-bank-overrun.js). Prefijo hbo-. Sin reglas .dark-mode (CLAUDE.md). */
.hbo-strip { margin: 0 0 16px; padding: 14px 16px; border: 1px solid #f0c9a8; border-left: 4px solid #b45309; border-radius: 10px; background: #fff8f0; color: #132434; font-size: 14px; }
.hbo-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.hbo-status { font-weight: 800; color: #8b3817; }
.hbo-question { font-weight: 600; }
.hbo-through { color: #5f6774; font-size: 13px; }
.hbo-yardstick { margin: 6px 0 0; font-size: 13px; color: #5f6774; font-weight: 400; }
.hbo-covered { margin: 10px 0 0; font-size: 13px; color: #1e3a8a; font-weight: 600; }
.hbo-lines { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hbo-just, .hbo-cause { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 10px; background: #fff; border: 1px solid #f1dcc8; border-radius: 8px; }
.hbo-line-main { font-weight: 600; }
.hbo-text { flex: 1 1 220px; min-width: 0; color: #414b58; overflow-wrap: anywhere; }
.hbo-actions, .hbo-form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hbo-btn { border: 0; border-radius: 8px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; color: #fff; background: #1d6f66; cursor: pointer; min-height: 32px; }
.hbo-btn:hover { background: #1f7c70; }
.hbo-btn:focus-visible { outline: 2px solid #163353; outline-offset: 2px; }
.hbo-btn[disabled] { opacity: .55; cursor: default; }
.hbo-btn-quiet { background: transparent; color: #414b58; border: 1px solid #d8dde2; }
.hbo-btn-quiet:hover { background: #f4f6f8; }
.hbo-btn-sm { padding: 3px 9px; font-size: 12px; min-height: 26px; }
.hbo-link { background: transparent; color: #1a7f73; padding: 0; text-decoration: underline; min-height: 0; font-weight: 600; }
.hbo-link:hover { background: transparent; color: #135c53; }
.hbo-form { margin-top: 12px; padding: 12px; background: #fff; border: 1px solid #e4e9ed; border-radius: 8px; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.hbo-form-title { flex: 1 1 100%; margin: 0; font-size: 14px; color: #163353; }
.hbo-field { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: #5f6774; min-width: 160px; }
.hbo-field-wide { flex: 1 1 100%; }
.hbo-field input, .hbo-field select, .hbo-field textarea { border: 1px solid #d8dde2; border-radius: 6px; padding: 7px 9px; font: inherit; font-size: 14px; color: #132434; background: #fff; }
.hbo-error { flex: 1 1 100%; margin: 0; padding: 8px 10px; border-radius: 8px; font-size: 13px; background: #feebec; color: #c6292e; border: 1px solid #f6c9cb; }
.hbo-form-actions { flex: 1 1 100%; margin-top: 0; }
@media (max-width: 768px) { .hbo-strip { padding: 12px; } .hbo-field { min-width: 100%; } }
/* Pending Hour Bank: vistas Overruns y Monthly (Task 7) */
.hbo-through-line { margin: 0 0 12px; font-size: 13px; color: #5f6774; }
.hbo-empty { margin: 16px 0; padding: 18px; text-align: center; color: #414b58; background: #f6f8fa; border: 1px dashed #d8dde2; border-radius: 10px; }
.hbo-group { margin: 0 0 18px; }
.hbo-group-title { margin: 14px 0 8px; font-size: 14px; color: #163353; }
.hbo-row { display: grid; grid-template-columns: minmax(170px, 1.3fr) minmax(170px, 1fr) minmax(190px, 1.2fr) minmax(130px, .8fr); gap: 6px 14px; align-items: baseline; padding: 10px 12px; margin-bottom: 6px; background: #fff; border: 1px solid #e4e9ed; border-left: 4px solid #b45309; border-radius: 8px; cursor: pointer; font-size: 14px; color: #132434; }
.hbo-row:hover { background: #f8fafb; }
.hbo-row:focus-visible { outline: 2px solid #163353; outline-offset: 2px; }
.hbo-r-kok { font-weight: 800; color: #1a7f73; margin-right: 8px; }
.hbo-r-name { color: #414b58; }
.hbo-label { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5f6774; }
.hbo-scroll { overflow-x: auto; }
.hbo-hint { margin: 0 0 10px; font-size: 13px; color: #5f6774; }
.hbo-table { width: 100%; border-collapse: collapse; font-size: 14px; color: #132434; margin-bottom: 14px; }
.hbo-table th, .hbo-table td { padding: 8px 10px; border-bottom: 1px solid #e4e9ed; text-align: left; white-space: nowrap; }
.hbo-table thead th { font-size: 12px; color: #5f6774; background: #f6f8fa; }
.hbo-table .hbo-n { text-align: right; font-variant-numeric: tabular-nums; }
.hbo-table tfoot td { font-weight: 800; border-top: 2px solid #163353; }
.hbo-table .hbo-sub { color: #5f6774; font-style: italic; border-left: 1px dashed #d8dde2; }
.hbo-sub-note { margin: -6px 0 14px; font-size: 12.5px; color: #5f6774; font-style: italic; }
.phb-views { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.phb-view { border: 1px solid #d8dde2; background: #fff; color: #414b58; border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 34px; }
.phb-view-on { background: #163353; color: #fff; border-color: #163353; }
.phb-view:focus-visible { outline: 2px solid #163353; outline-offset: 2px; }
@media (max-width: 768px) { .hbo-row { grid-template-columns: 1fr; } }
