/* TRIP-01 · Đi công tác (16/11/2026): thẻ 🧳 Công tác trong Chấm công, ô Công tác trên Lịch điều phối (trip190.js) */
.tr19{display:flex;flex-direction:column;gap:10px}
.tr19-head{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid #e5e9f0;border-radius:12px;padding:12px 14px}
.tr19-head>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tr19-head b{font-size:15px;color:#0f172a}.tr19-head small{font-size:12.5px;color:#64748b;line-height:1.45}
.tr19-head button{flex:0 0 auto;white-space:nowrap}
.tr19-form{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #bfdbfe;border-radius:12px;padding:12px 14px;box-shadow:0 2px 10px rgba(37,99,235,.08)}
.tr19-form label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;font-weight:600;color:#475569;min-width:0}
.tr19-form input,.tr19-form select{height:40px;border:1px solid #dce3ed;border-radius:9px;padding:0 10px;font-size:14px;width:100%;box-sizing:border-box;background:#fff;color:#0f172a;font-weight:400}
.tr19-dates{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.tr19-people{display:flex;flex-direction:column;gap:6px}.tr19-people>b{font-size:12.5px;color:#475569}
.tr19-people>div{display:flex;flex-wrap:wrap;gap:6px}
.tr19-person{border:1px solid #dce3ed;background:#f8fafc;color:#334155;border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer;min-height:34px}
.tr19-person.on{background:#ccfbf1;border-color:#5eead4;color:#0f766e;font-weight:600}
.tr19-person.on::before{content:'✓ '}
.tr19-hint{margin:0;font-size:12px;color:#64748b;line-height:1.5}
.tr19-formbtns{display:flex;justify-content:flex-end;gap:8px}
.tr19-h{margin:4px 2px 0;font-size:13px;color:#475569;font-weight:600}
.tr19-list{display:flex;flex-direction:column;background:#fff;border:1px solid #e5e9f0;border-radius:12px;overflow:hidden}
.tr19-card{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px 10px;padding:11px 14px;border-bottom:1px solid #f1f5f9}
.tr19-card:last-child{border-bottom:0}
.tr19-card.st-rejected,.tr19-card.st-cancelled{opacity:.72}
.tr19-main{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13.5px}
.tr19-main b{font-size:14px;color:#0f172a}.tr19-main b small{font-weight:500;color:#64748b}
.tr19-place{color:#0f3f72;overflow-wrap:anywhere}.tr19-purpose{color:#475569;overflow-wrap:anywhere}
.tr19-meta{font-size:11.5px;color:#94a3b8}
.tr19-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-left:auto}
.tr19-btns{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.tr19-chip{font-style:normal;font-size:11px;font-weight:600;line-height:1.5;border-radius:999px;padding:2px 8px;white-space:nowrap;background:#edf1f6;color:#64748b}
.tr19-chip.ok{background:#dbeafe;color:#1d4ed8}.tr19-chip.go{background:#ccfbf1;color:#0f766e}
.tr19-chip.done{background:#dcfce7;color:#15803d}.tr19-chip.off{background:#edf1f6;color:#64748b}
.tr19-cancel.armed{background:#fee2e2!important;color:#b91c1c!important;border-color:#fecaca!important}
.tr19-empty{margin:0;padding:14px;font-size:13px;color:#64748b}
.tr19-past summary{cursor:pointer;font-size:13px;color:#475569;font-weight:600;padding:4px 2px}
.tr19-past .tr19-list{margin-top:6px}
/* Chấm công: nhãn + dòng "hôm nay đi công tác" */
.att18-card em.att18-trip,.att18-trip{background:#ccfbf1!important;color:#0f766e!important}
.att18-trip-line{margin:0;padding:9px 11px;border-radius:10px;font-size:13px;line-height:1.5;background:#f0fdfa;border:1px solid #99f6e4;color:#115e59}
.att18-sum .trip strong{color:#0f766e}
/* Lịch điều phối: ô Công tác (loại 'trip', chỉ chuyến công tác điền) */
.schedule-cell.type-trip,.tr19-legend i.type-trip{background:#99e6da}
.schedule-cell.type-trip{cursor:help}
.tr19-legend{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#475569}
.tr19-legend.boss{border:1px solid #5eead4;background:#f0fdfa;color:#0f766e;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;cursor:pointer}
.tr19-legend i{width:12px;height:12px;border-radius:3px;border:1px solid rgba(15,23,42,.12)}
.tr19-pop{position:fixed;z-index:9000;display:flex;flex-direction:column;gap:5px;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid #99f6e4;box-shadow:0 10px 30px rgba(15,23,42,.18);font-size:13px;color:#0f172a;box-sizing:border-box}
.tr19-pop span{color:#475569}.tr19-pop small{color:#64748b;line-height:1.45}.tr19-pop button{align-self:flex-end;margin-top:4px}
@media (max-width:760px){.tr19-dates{grid-template-columns:1fr 1fr}.tr19-side{flex-direction:row;align-items:center;margin-left:0;width:100%;justify-content:space-between}}
html[data-zsc-scheme="dark"] .tr19-head,html[data-zsc-scheme="dark"] .tr19-list,html[data-zsc-scheme="dark"] .tr19-form,html[data-zsc-scheme="dark"] .tr19-pop{background:#111827;border-color:#334155;color:#e5e7eb}
html[data-zsc-scheme="dark"] .tr19-head b,html[data-zsc-scheme="dark"] .tr19-main b{color:#f1f5f9}
html[data-zsc-scheme="dark"] .tr19-card{border-color:#1f2937}
html[data-zsc-scheme="dark"] .tr19-place{color:#93c5fd}html[data-zsc-scheme="dark"] .tr19-purpose{color:#cbd5e1}
html[data-zsc-scheme="dark"] .tr19-form input,html[data-zsc-scheme="dark"] .tr19-form select{background:#0b1220;border-color:#334155;color:#e5e7eb}
html[data-zsc-scheme="dark"] .att18-trip-line{background:#042f2e;border-color:#115e59;color:#99f6e4}
html[data-zsc-scheme="dark"] .att18-card em.att18-trip,html[data-zsc-scheme="dark"] .att18-trip{background:#134e4a!important;color:#ccfbf1!important}
html[data-zsc-scheme="dark"] .schedule-cell.type-trip,html[data-zsc-scheme="dark"] .tr19-legend i.type-trip{background:#115e59;color:#ccfbf1}
html[data-zsc-scheme="dark"] .tr19-person{background:#0b1220;border-color:#334155;color:#cbd5e1}
html[data-zsc-scheme="dark"] .tr19-person.on,html[data-zsc-scheme="dark"] .tr19-legend.boss{background:#134e4a;border-color:#0f766e;color:#ccfbf1}
