.ops-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.ops-heading h2{font-size:24px;font-weight:800;color:#1e293b}.ops-heading p,.ops-muted{font-size:12px;color:#64748b}.ops-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ops-stats>div,.ops-panel{background:white;border:1px solid #e2e8f0;border-radius:20px;padding:20px}.ops-stats span{display:block;color:#64748b;font-size:12px}.ops-stats strong{display:block;margin-top:8px;font-size:22px;color:#1d4ed8;overflow-wrap:anywhere}.ops-filters{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px}.ops-filters label{flex:1;min-width:180px;font-size:12px;font-weight:600}.ops-input{display:block;width:100%;border:1px solid #cbd5e1;border-radius:10px;background:white;padding:10px 12px;margin:6px 0 10px;color:#334155;font-size:14px}.ops-input:focus{outline:2px solid #93c5fd;outline-offset:1px}.ops-button{background:#2563eb;color:white;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:700;cursor:pointer;white-space:normal}.ops-button:hover{background:#1d4ed8}.ops-button:disabled{opacity:.5;cursor:wait}.ops-secondary{background:#eff6ff;color:#1d4ed8}.ops-secondary:hover{background:#dbeafe}.ops-table-wrap{overflow:auto;width:100%;margin-top:14px}.ops-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}.ops-table th{background:#f1f5f9;color:#475569;font-weight:700;white-space:nowrap}.ops-table th,.ops-table td{padding:13px 12px;border-bottom:1px solid #e2e8f0;vertical-align:middle;min-width:90px}.ops-table td{color:#334155}.ops-table td:nth-child(2){min-width:150px}.ops-note{margin-top:16px;font-size:12px;color:#64748b;line-height:1.6}.ops-empty{padding:30px 12px;text-align:center;color:#64748b;font-size:14px}.ops-rooms{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-top:20px}.ops-room{padding:18px;border:1px solid #e2e8f0;border-radius:16px;display:flex;flex-direction:column;gap:8px;min-width:0}.ops-room-title{font-size:17px;font-weight:800;color:#1e293b}.ops-badge{border-radius:8px;background:#ecfdf5;color:#047857;padding:5px 9px;align-self:flex-start;font-size:12px;font-weight:700}.ops-amber{background:#fffbeb;color:#b45309}.ops-filter-label{display:block;max-width:300px;font-size:12px;font-weight:600}.ops-modal{position:fixed;inset:0;z-index:100;background:#0f172a99;display:flex;align-items:center;justify-content:center;padding:16px}.ops-modal.hidden{display:none}.ops-dialog{background:white;border-radius:20px;padding:24px;width:100%;max-width:460px;max-height:90vh;overflow:auto}.ops-dialog label{display:block;font-size:13px;margin-top:12px}.ops-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}#opsSavingOverlay{z-index:150}.ops-saving{background:white;padding:24px;border-radius:16px;font-weight:700;color:#1e293b}@media(max-width:600px){.ops-stats{grid-template-columns:1fr;gap:8px}.ops-stats>div{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px}.ops-stats strong{font-size:18px;margin:0}.ops-panel{padding:16px}.ops-heading{flex-direction:column}.ops-rooms{grid-template-columns:1fr}.ops-dialog{padding:20px}}

#opsDebtRows td:last-child .ops-button{display:block;margin-bottom:8px;width:100%}.ops-room p{overflow-wrap:anywhere}#view-housekeeping .ops-stats{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:800px){#view-housekeeping .ops-stats{grid-template-columns:1fr}}

.ops-dialog .hidden{display:none!important}.ops-lost-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.ops-text-wrap{white-space:normal;overflow-wrap:anywhere}

dialog.inspection-dialog {
    box-sizing: border-box;
    width: min(32rem, calc(100% - 20px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 18px;
}
.inspection-form { padding: 18px; color: #1e293b; }
.inspection-form .ops-room-title { font-size: 20px; line-height: 1.25; }
.inspection-guest { margin: 4px 0 16px; color: #475569; font-size: 13px; overflow-wrap: anywhere; }
.inspection-group { min-width: 0; margin: 0 0 14px; padding: 10px; border: 1px solid #dbe5ef; border-radius: 12px; }
.inspection-group legend { padding: 0 5px; font-size: 14px; font-weight: 700; }
.inspection-towels, .inspection-remotes, .inspection-checks { display: grid; gap: 8px; }
.inspection-towels { grid-template-columns: repeat(2,minmax(0,1fr)); }
.inspection-remotes { grid-template-columns: repeat(3,minmax(0,1fr)); }
.inspection-form label { margin: 0; font-size: 14px; }
.inspection-form > label { display: block; margin-bottom: 12px; }
.inspection-form .ops-input { width: 100%; box-sizing: border-box; min-height: 44px; margin: 4px 0 0; font-size: 16px; }
.inspection-form textarea { min-height: 64px; }
.inspection-diff { grid-column: 1 / -1; color: #475569; font-size: 13px; }
.inspection-diff:empty { display: none; }
.inspection-remotes label, .inspection-checks label { display: flex; align-items: center; gap: 9px; padding: 8px; min-height: 44px; box-sizing: border-box; border-radius: 8px; background: #f1f5f9; cursor: pointer; line-height: 1.35; }
.inspection-form input[type=checkbox] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #2563eb; }
.inspection-form label:has(input:checked) { background: #e8f1ff; }
.inspection-form .ops-dialog-actions { display: grid;grid-template-columns: 1fr 2fr; gap: 8px; position: sticky; bottom: 0; background: white; padding: 8px 0; }
.inspection-form .ops-dialog-actions button { min-height: 44px; }
