/* Helen & Sons · HR-verified team Manual IN/OUT · Nov 2026.
   Navy/gold UI; green is reserved for audited manual attendance times. */
#page-attendance #team-attendance-panel{margin:14px 0 22px}
#team-attendance-panel .h7-table-viewport{overflow-x:auto;-webkit-overflow-scrolling:touch}
#team-attendance-panel table{min-width:1030px;width:100%;border-collapse:collapse}
#team-attendance-panel th{white-space:nowrap}
#team-attendance-panel td{vertical-align:middle}
#team-attendance-panel td:first-child strong{font-weight:750}
#team-attendance-panel td:first-child small,
#team-attendance-panel .team-device-time small,
#team-attendance-panel .team-manual-green small,
#team-attendance-panel .team-candidate-note{display:block;font-size:11px;line-height:1.4;margin-top:4px}
#team-attendance-panel .team-candidate-note{color:var(--muted,#64748b)}
#team-attendance-panel .team-manual-green{display:inline-flex;flex-direction:column;align-items:flex-start;min-width:88px;border:1px solid #84cfa0;border-radius:10px;padding:8px 10px;background:#e4f8eb;color:#126437;box-shadow:0 2px 8px rgba(19,123,65,.08)}
#team-attendance-panel .team-manual-green strong{font-size:15px;font-variant-numeric:tabular-nums;font-weight:800;color:#105a33}
#team-attendance-panel .team-manual-green small{font-weight:800;color:#177342;letter-spacing:.015em}
#team-attendance-panel .team-device-time{display:inline-flex;flex-direction:column;min-width:76px}
#team-attendance-panel .team-device-time strong{font-variant-numeric:tabular-nums}
#team-attendance-panel .team-device-time small{color:var(--muted,#64748b)}
#team-attendance-panel .team-late-badge{display:inline-block;border:1px solid #f3bf72;border-radius:9px;background:#fff1da;color:#975015;padding:6px 9px;font-weight:750;white-space:nowrap}
#team-attendance-panel .team-ontime{display:inline-block;font-weight:750;color:#197448}
#team-attendance-panel .team-not-applicable{color:var(--muted,#64748b);font-size:12px}
#team-attendance-panel .team-worked-time{min-width:95px}
#team-attendance-panel .team-manual-actions{white-space:normal;min-width:170px}
#team-attendance-panel .team-manual-btn{display:inline-flex;align-items:center;justify-content:center;margin:3px 4px 3px 0;border:1px solid #c0cbea;border-radius:9px;background:#f2f5fc;color:#182e61;font-size:12px;font-weight:800;line-height:1.25;padding:9px 12px;min-height:36px;cursor:pointer}
#team-attendance-panel .team-manual-btn:hover,#team-attendance-panel .team-manual-btn:focus-visible{border-color:#c39b51;background:#fff7e5;outline-offset:2px}
.team-manual-warning{padding:11px 13px;border-radius:9px;border:1px solid #e0bb6b;background:#fff8e9;color:#74470d}
[data-theme="dark"] #team-attendance-panel .team-manual-green{background:#113c2a;color:#9fe1b6;border-color:#267a4f}
[data-theme="dark"] #team-attendance-panel .team-manual-green strong,
[data-theme="dark"] #team-attendance-panel .team-manual-green small{color:#b4f2c9}
[data-theme="dark"] #team-attendance-panel .team-ontime{color:#8de2a9}
[data-theme="dark"] #team-attendance-panel .team-late-badge{background:#493318;color:#ffd69b;border-color:#86602c}
[data-theme="dark"] #team-attendance-panel .team-manual-btn{background:#1b2b4e;color:#e1eaff;border-color:#455a85}
[data-theme="dark"] .team-manual-warning{background:#3a2c16;color:#ffe1a9;border-color:#8b6c2f}
@media(max-width:760px){
 #team-attendance-panel .h7-panel-header{gap:12px}
 #team-attendance-panel table{min-width:1030px}
 #team-attendance-panel .h7-filter-bar{gap:10px}
 #team-attendance-panel .h7-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
