/* ===== Cleaning Sheet: Header ===== */
.sheet-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;flex-wrap:wrap;gap:12px}
.sheet-header h2{font-size:1.25rem}
.btn-print{background:#1a237e;color:#fff;padding:14px 28px;border-radius:10px;
  font-size:1.05rem;font-weight:600;min-height:56px}
.btn-print:hover{background:#283593}
.sheet-meta{margin-top:12px;font-size:.9rem;color:#666;text-align:right}

/* ===== Cleaning Sheet: Card Layout (screen) ===== */
.sheet-cards{display:flex;flex-direction:column;gap:10px}
.sheet-card{background:#fff;border-radius:14px;padding:18px 20px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);display:flex;align-items:center;gap:20px;
  transition:transform .15s,box-shadow .15s;cursor:pointer;border-left:48px solid #ccc}
.sheet-card:active{transform:scale(.98);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.sheet-card.priority-10{border-left-color:#e53935}
.sheet-card.priority-20{border-left-color:#fb8c00}
.sheet-card.priority-30{border-left-color:#fdd835}
.sheet-card.priority-50{border-left-color:#66bb6a}
.sheet-info{flex:1;min-width:0}
.sheet-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.sheet-status-tag{display:inline-block;padding:4px 12px;border-radius:8px;font-size:.85rem;font-weight:700;margin-left:auto}
.sheet-status-tag.TODO{background:#e3f2fd;color:#1565c0}
.sheet-status-tag.IN_PROGRESS{background:#fff3e0;color:#ef6c00}
.sheet-status-tag.DONE{background:#e8f5e9;color:#2e7d32}

/* ===== Cleaning Sheet: Print Table (hidden on screen) ===== */
.print-only{display:none}
.sheet-table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;
  overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.sheet-table th{background:#37474f;color:#fff;padding:10px 8px;font-size:.85rem;text-align:left;white-space:nowrap}
.sheet-table td{padding:10px 8px;border-bottom:1px solid #eee;font-size:.9rem;white-space:nowrap}
.sheet-table .td-room{font-weight:700;font-size:1rem}
.sheet-table .td-notes{white-space:normal;font-size:.8rem;max-width:200px}
.sheet-table tr:nth-child(even){background:#fafafa}

/* ===== Print ===== */
@media print{
  body{background:#fff;font-size:10pt}
  .header,.tab-bar,.no-print,#tab-hk,#tab-front,#tab-lf,#tab-assign,#tab-inspect,.modal-overlay{display:none!important}
  #tab-sheet{display:block!important}
  .sheet-cards{display:none!important}
  .print-only{display:table!important}
  main{padding:0;max-width:100%}
  .sheet-table{box-shadow:none;border:1px solid #333}
  .sheet-table th{background:#333!important;color:#fff!important;-webkit-print-color-adjust:exact;
    print-color-adjust:exact}
  .sheet-table td{border:1px solid #ccc}
  .badge,.tag-exception,.tag-severity,.badge-policy{border:1px solid #999;
    -webkit-print-color-adjust:exact;print-color-adjust:exact}
}
