SEARCH:
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
REPLACE:
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.tt-table tbody th { background: #fafbff; color: #666; font-weight: 500; }

/* ===== preserved classes missing from rewrite ===== */
.app-shell { max-width: 640px; margin: 0 auto; padding: 12px; padding-bottom: 70px; }

.tt-header { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px 12px; }

.tt-header h1 { font-size: 20px; }

.weekend-switch label { font-size: 13px; color: #666; display: flex; align-items: center; gap: 4px; }

.tt-table-wrap { background: #fff; border-radius: 12px; overflow-x: auto; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.tt-table thead th.today { background: #2c46d9; }

.period-col { width: 44px; }

.tt-table td.cell { cursor: pointer; min-height: 64px; height: 72px; vertical-align: top; word-break: break-all; }

.tt-table td.cell .cname { font-weight: 600; color: #4f6ef7; display: block; margin-bottom: 2px; }

.tt-table td.cell .cinfo { color: #999; font-size: 11px; display: block; line-height: 1.3; }

.tt-table td.today { background: #eef1ff; }

.tt-table td.current { background: #ffe9c8; box-shadow: inset 0 0 0 2px #ff9800; }

.tt-table td.weekend-col.hidden, .tt-table th.weekend-col.hidden { display: none; }

.tt-footer { position: fixed; bottom: 0; left: 0; right: 0; max-width: 640px; margin: 0 auto; background: #fff; padding: 10px 16px; display: flex; gap: 10px; justify-content: center; box-shadow: 0 -2px 8px rgba(0,0,0,.06); }

.btn { border: none; border-radius: 8px; padding: 10px 16px; font-size: 14px; cursor: pointer; }

.btn-primary { background: #4f6ef7; color: #fff; }

.btn-secondary { background: #eef1ff; color: #4f6ef7; }

.btn-danger { background: #fff0f0; color: #e05353; }

.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; z-index: 10; }

.modal-mask.hidden { display: none; }

.modal { background: #fff; border-radius: 12px; padding: 20px; width: 90%; max-width: 360px; }

.modal h2 { font-size: 17px; margin-bottom: 14px; }

.modal label { display: block; font-size: 13px; color: #666; margin-bottom: 10px; }

.modal input { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
