.staff-clock-overlay { position: fixed; inset: 0; z-index: 15000; background: rgba(0,0,0,.65); display: flex; align-items: center; justify-content: center; padding: 20px; }
.staff-clock-dialog { width: 100%; max-width: 680px; max-height: calc(100dvh - 40px); overflow: auto; background: #fff; color: #18181b; border-radius: 8px; box-shadow: 0 16px 48px #0004; font-family: inherit; }
.staff-clock-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: #000; color: #fff; border-bottom: 4px solid #c8102e; }
.staff-clock-dialog h2 { margin: 0; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
.staff-clock-dialog header button { flex: 0 0 44px; height: 44px; border: 1px solid #52525b; border-radius: 6px; background: #18181b; color: #fff; cursor: pointer; }
.staff-clock-body { display: grid; gap: 18px; padding: 24px; }
.staff-clock-field { display: grid; gap: 8px; font-size: 13px; font-weight: 800; }
.staff-clock-field input, .staff-clock-field textarea, .staff-clock-field select { min-width: 0; width: 100%; min-height: 46px; padding: 12px; border: 1px solid #a1a1aa; border-radius: 6px; color: #18181b; background: #fff; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.5; text-transform: none !important; }
.staff-clock-field textarea { resize: vertical; font-family: inherit; font-size: 14px; }
.staff-clock-field input:focus, .staff-clock-field textarea:focus, .staff-clock-field select:focus { outline: 2px solid #c8102e; outline-offset: 2px; }
.staff-clock-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-height: 48px; font-size: 15px; font-weight: 700; border-bottom: 1px solid #e4e4e7; }
.staff-clock-toggle input { appearance: auto; width: 20px; height: 20px; accent-color: #c8102e; flex: 0 0 20px; }
.staff-clock-state, .staff-clock-message-meta { font-size: 12px; color: #52525b; }
.staff-clock-error { color: #b91c1c; font-size: 14px; overflow-wrap: anywhere; }
.staff-clock-error:empty { display: none; }
.staff-clock-dialog footer { display: flex; justify-content: flex-end; gap: 12px; padding: 18px 24px; border-top: 1px solid #d4d4d8; }
.staff-clock-dialog .btn { min-height: 44px; border-radius: 6px; }
.staff-clock-dialog .btn-primary, html[data-eugen-theme="gcr"] .staff-clock-dialog .btn-primary { background: #c8102e; border-color: #c8102e; color: #fff; }
.staff-clock-dialog .btn-secondary { background: #fff; border: 1px solid #a1a1aa; color: #18181b; }
.staff-clock-dialog button:disabled { opacity: .6; cursor: wait; }
.staff-clock-preview { padding: 14px 0; border-bottom: 1px solid #d4d4d8; font-size: 14px; line-height: 1.6; color: #52525b; overflow-wrap: anywhere; }
.staff-clock-insert { grid-template-columns: auto 1fr; align-items: center; }
.staff-clock-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 20px 0; }
.staff-clock-toolbar h3 { margin: 0; font-size: 20px; }
.staff-clock-toolbar > div { display: flex; gap: 12px; flex-wrap: wrap; }
.staff-clock-message { padding: 20px 0; border-top: 1px solid #d4d4d8; }
.staff-clock-message > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.staff-clock-message p { margin: 8px 0 0; overflow-wrap: anywhere; }
.staff-clock-badge { font-size: 12px; padding: 4px 8px; background: #f4f4f5; color: #3f3f46; border-radius: 4px; }
.staff-clock-message-meta { margin-top: 8px; }
.staff-clock-empty { padding: 24px 0; color: #52525b; }
.staff-clock-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; border-bottom: 1px solid #d4d4d8; }
.staff-clock-tabs button { padding: 12px 18px; min-height: 44px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #52525b; font: inherit; font-weight: 800; cursor: pointer; }
.staff-clock-tabs button[aria-selected="true"] { color: #c8102e; border-bottom-color: #c8102e; }
#smsRefreshBtn[hidden], #customerSmsPanel[hidden], #staffClockSmsPanel[hidden] { display: none !important; }
@media (max-width: 600px) {
  .staff-clock-overlay { padding: 12px; }
  .staff-clock-dialog { max-height: calc(100dvh - 24px); }
  .staff-clock-dialog header, .staff-clock-body, .staff-clock-dialog footer { padding: 18px; }
  .staff-clock-dialog footer .btn { flex: 1; }
  .staff-clock-insert { grid-template-columns: 1fr; }
}
