/* Customer web (kundeweb): the week overview and one temp's week. Phone first. */
.page--customer { max-width: 48rem; }
.cb-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.25rem; }
.cb-week { margin: 0; text-align: center; font-size: 1.1rem; line-height: 1.2; }
.cb-week span { display: block; font-weight: 400; color: var(--color-muted); font-size: 0.9rem; }
.cb-nav { color: var(--color-primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.cb-company { text-align: center; margin: 0 0 1rem; }
.cb-waiting { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0 0 1rem; padding: 0.5rem 0.75rem; border-radius: 6px; background: #fff7d6; color: #6b4e00; font-size: 0.9rem; }
.cb-waiting a { color: var(--color-primary); font-weight: 600; }
.cb-empty { color: var(--color-muted); }
.cb-list { list-style: none; margin: 0; padding: 0; }
.cb-card { background: var(--color-card); border: 1px solid var(--color-border); border-left: 5px solid var(--color-border); border-radius: 8px; padding: 0.75rem 0.9rem; margin-bottom: 0.6rem; }
.cb-card--klar { border-left-color: var(--color-primary); }
.cb-card--godkendt { border-left-color: #2e7d32; }
.cb-card--afvist { border-left-color: #b3261e; }
.cb-card--behandlet, .cb-card--venter { border-left-color: #52606d; }
.cb-head { display: flex; justify-content: space-between; gap: 0.5rem; align-items: flex-start; }
.cb-head h2 { margin: 0; font-size: 1rem; }
.cb-head p { margin: 0; font-size: 0.85rem; }
.cb-badge { flex-shrink: 0; font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.cb-badge--klar { color: var(--color-primary); background: #e8f1f8; }
.cb-badge--godkendt { color: #2e7d32; background: #e6f4ea; }
.cb-badge--afvist { color: #b3261e; background: #fdecea; }
.cb-badge--behandlet, .cb-badge--venter { color: #52606d; background: var(--color-bg); }
.cb-cols { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.75rem; align-items: center; margin-top: 0.6rem; font-variant-numeric: tabular-nums; }
.cb-col { display: flex; flex-direction: column; padding: 0.4rem 0.6rem; border-radius: 6px; background: var(--color-bg); }
.cb-col span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); }
.cb-col b { font-size: 1.05rem; }
.cb-col--diff { outline: 2px solid #c77700; outline-offset: -2px; }
.cb-cols .button { margin-top: 0; }
.cb-back { margin: 0 0 0.5rem; }
.cb-back a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.cb-blockhead { margin-bottom: 1rem; }
.cb-blockhead h1 { margin: 0; font-size: 1.3rem; }
.cb-blockhead p { margin: 0.1rem 0; }
.cb-period { font-size: 0.95rem; }
.cb-table { width: 100%; border-collapse: collapse; background: var(--color-card); border: 1px solid var(--color-border); border-radius: 8px; font-variant-numeric: tabular-nums; margin-bottom: 1rem; }
.cb-table th, .cb-table td { padding: 0.5rem 0.6rem; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; }
.cb-table thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); }
.cb-table tfoot th { border-bottom: 0; }
.cb-num { text-align: right !important; }
.cb-row--diff td { background: #fff7d6; }
.cb-comment { margin: 1rem 0; }
.cb-comment h2 { font-size: 1rem; margin: 0 0 0.25rem; }
.cb-decide { margin: 1rem 0; padding: 0.9rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: 8px; }
.cb-decide textarea { width: 100%; min-height: 5rem; }
.cb-decide__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.cb-decide__actions .button { margin-top: 0; }
@media (max-width: 480px) {
    .cb-cols { grid-template-columns: 1fr 1fr; }
    .cb-cols .button { grid-column: 1 / -1; text-align: center; }
    .cb-table th:nth-child(4), .cb-table td:nth-child(4) { display: none; }
}
