:root {
  --bg: #f3eee7;
  --surface: #fffdf9;
  --surface-soft: #f8f3ec;
  --text: #271d18;
  --muted: #776b62;
  --primary: #65432f;
  --primary-strong: #472e21;
  --accent: #c98d55;
  --success: #347557;
  --warning: #9d681e;
  --danger: #ad493e;
  --line: #e4d8ca;
  --shadow: 0 16px 46px rgba(62, 40, 28, .09);
  --radius: 22px;
  --radius-small: 14px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 0 0, rgba(201, 141, 85, .15), transparent 28rem),
    radial-gradient(circle at 100% 100%, rgba(101, 67, 47, .08), transparent 32rem),
    var(--bg);
  color: var(--text);
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }

.container,
.admin-container {
  width: min(680px, calc(100% - 24px));
  margin: 0 auto;
}

.page-header {
  width: min(680px, calc(100% - 24px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-size: 23px;
  box-shadow: 0 10px 24px rgba(71, 46, 33, .2);
}

.brand h1,
h1, h2, h3 {
  margin: 0;
  letter-spacing: -.025em;
}

.brand h1 { font-size: 20px; }
.brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.header-actions,
.actions,
.button-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.card {
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(228, 216, 202, .94);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, .98);
  box-shadow: var(--shadow);
}

.section-stack {
  display: grid;
  gap: 18px;
}

.section-title { margin-bottom: 18px; }
.section-title p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.section-title.compact { margin-bottom: 0; }

.button {
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 780;
  line-height: 1.2;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 22px rgba(101, 67, 47, .18);
}
.button.primary:hover:not(:disabled) { background: var(--primary-strong); }
.button.secondary { background: #efe3d5; color: var(--primary-strong); }
.button.ghost { background: transparent; color: var(--primary); border: 1px solid var(--line); }
.button.danger { background: #f8e5e2; color: var(--danger); }
.button.success { background: var(--success); color: white; }
.button.wide { width: 100%; }
.button.large { min-height: 62px; font-size: 18px; border-radius: 17px; }
.button.compact {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 12px;
  background: white;
  color: var(--text);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 141, 85, .14);
}

textarea { min-height: 90px; resize: vertical; }

.form-stack {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full { grid-column: 1 / -1; }

.form-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.message {
  display: none;
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 13px;
  background: #edf7f1;
  color: var(--success);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.message.show { display: block; }
.message.warning { background: #fff3dc; color: var(--warning); }
.message.error { background: #fae8e5; color: var(--danger); }

.small { color: var(--muted); font-size: 13px; }
.subtle { color: var(--muted); }
.empty {
  padding: 26px 12px;
  text-align: center;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f2ec;
  color: var(--success);
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.pill.out { background: #efe7df; color: var(--primary); }
.pill.warning { background: #fff0d4; color: var(--warning); }
.pill.muted { background: #eeeae5; color: var(--muted); }
.pill.danger { background: #f7e3e0; color: var(--danger); }

.nav-tabs {
  position: sticky;
  top: 8px;
  z-index: 20;
  width: min(680px, calc(100% - 24px));
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(62, 40, 28, .07);
}

.nav-tabs button {
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  padding: 8px 4px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.nav-tabs button.active {
  background: var(--primary);
  color: white;
}

.section { display: none; padding-bottom: 36px; }
.section.active { display: block; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 8px 25px rgba(62, 40, 28, .05);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.stat strong {
  display: block;
  margin-top: 6px;
  font-size: 27px;
  letter-spacing: -.03em;
}

.mobile-list {
  display: grid;
  gap: 12px;
}

.compact-list {
  display: grid;
  gap: 10px;
}

.compact-item {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-soft);
}

.compact-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.compact-item h3 {
  font-size: 17px;
}

.compact-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.chips-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid #eee3d7;
  font-size: 13px;
}

.summary-chip.leave {
  background: #f4f7fc;
  color: #49658f;
}

.summary-chip.rest {
  background: #f6f1ea;
  color: var(--text);
}

.mobile-item {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.mobile-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mobile-item-main { min-width: 0; }
.mobile-item-side { flex: 0 0 auto; text-align: right; }
.mobile-item h3 { font-size: 18px; }
.mobile-item p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.mobile-item-meta {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.meta-box {
  min-width: 0;
  padding: 10px 11px;
  border-radius: 13px;
  background: white;
  border: 1px solid #eee3d7;
}

.meta-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.meta-box strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.item-actions {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.item-actions.three { grid-template-columns: repeat(3, 1fr); }

.rate-value {
  font-size: 23px;
  font-weight: 860;
  letter-spacing: -.03em;
}

.rate-unset { color: var(--muted); }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.toolbar > .section-title {
  flex: 1 1 auto;
  min-width: 0;
}

.filters {
  display: grid;
  gap: 12px;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.record-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 25px rgba(62, 40, 28, .05);
}

.record-card + .record-card { margin-top: 11px; }

.record-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.record-card-title {
  font-size: 17px;
  font-weight: 820;
}

.record-card-time {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.record-card-details {
  margin-top: 13px;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.record-card-actions {
  margin-top: 13px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.location-card {
  display: grid;
  gap: 18px;
}

.qr-frame {
  width: min(100%, 350px);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 15px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 22px 60px rgba(62, 40, 28, .12);
}

.qr-frame.large { width: min(86vw, 560px); padding: 22px; border-radius: 30px; }
.qr-frame img { display: block; width: 100%; height: 100%; }

.location-status {
  display: grid;
  gap: 9px;
}

.location-status-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 13px;
  border-radius: 13px;
  background: var(--surface-soft);
}

.location-status-row span:first-child { color: var(--muted); }

.login-shell,
.location-setup-shell {
  width: min(520px, calc(100% - 24px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  padding: 24px 0;
}

.clock-shell {
  width: min(620px, calc(100% - 24px));
  margin: 10px auto 44px;
}

.employee-hero {
  text-align: center;
  padding: 28px 20px;
}

.employee-hero .eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.employee-hero h2 {
  margin-top: 8px;
  font-size: clamp(34px, 10vw, 50px);
}

.attendance-summary {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.attendance-summary div {
  padding: 11px 6px;
  border-radius: 14px;
  background: #f2e6d8;
}

.attendance-summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.attendance-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.time-rule {
  margin-top: 13px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.clock-actions {
  margin-top: 20px;
  display: grid;
  gap: 11px;
}

.clock-in { background: var(--success) !important; }
.clock-out { background: var(--primary) !important; }

.location-line {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9beb3;
}
.dot.ok { background: var(--success); }

.pending-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff0d4;
  color: var(--warning);
  font-size: 26px;
}

.accuracy-value {
  margin: 16px 0;
  text-align: center;
  font-size: 44px;
  font-weight: 860;
  letter-spacing: -.04em;
}

.accuracy-value span {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0;
}

.coordinate-box {
  padding: 12px;
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
  word-break: break-all;
}

.kiosk-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 4%, rgba(201, 141, 85, .17), transparent 34rem),
    #f6f0e7;
}

.kiosk {
  width: min(720px, calc(100% - 24px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  padding: 28px 0;
}

.kiosk h1 {
  font-size: clamp(40px, 8vw, 72px);
  text-align: center;
}

.kiosk p {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

dialog {
  width: min(560px, calc(100% - 20px));
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 35px 100px rgba(35, 24, 18, .28);
}

dialog::backdrop {
  background: rgba(35, 24, 18, .55);
  backdrop-filter: blur(4px);
}

.dialog-body { padding: 20px; }

.dialog-header {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.icon-button {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
}

.footer {
  padding: 24px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.version-trigger {
  border: 0;
  padding: 5px 8px;
  background: transparent;
  color: inherit;
  cursor: default;
  user-select: none;
}

.home-shell {
  width: min(620px, calc(100% - 24px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 30px 0;
}

.home-title { text-align: center; }
.home-title h1 { font-size: clamp(40px, 10vw, 64px); }
.home-title p { color: var(--muted); font-size: 17px; }

.home-card {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.home-card h2 { font-size: 24px; }

.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 520px) {
  body.admin-open { padding-bottom: 82px; }

  .page-header {
    min-height: 68px;
  }

  .header-actions .button.secondary {
    display: none;
  }

  .nav-tabs {
    position: fixed;
    top: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    width: auto;
    margin: 0;
  }

  .section {
    padding-bottom: 18px;
  }

  .card {
    padding: 17px;
    border-radius: 19px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full,
  .form-actions {
    grid-column: 1;
  }

  .form-actions,
  .filter-actions {
    grid-template-columns: 1fr;
  }

  .item-actions.three {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-item-meta {
    grid-template-columns: 1fr;
  }

  .record-card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .attendance-summary strong {
    font-size: 16px;
  }
}


.realtime-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.refresh-time {
  flex: 0 0 auto;
  padding-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.status-late_missing {
  border-color: rgba(173, 73, 62, .34);
  background: #fff8f6;
}

.status-arrived_late {
  border-color: rgba(157, 104, 30, .30);
  background: #fffbf2;
}

.status-waiting {
  border-color: rgba(201, 141, 85, .30);
}

.status-rest,
.status-leave {
  opacity: .92;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.nested-item {
  box-shadow: none;
  background: white;
}

.exception-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.exception-section-title {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.exception-empty {
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .6);
  color: var(--muted);
  font-size: 13px;
}

.exception-list {
  display: grid;
  gap: 8px;
}

.exception-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 12px;
  background: white;
  border: 1px solid #eee3d7;
}

.exception-item > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.item-actions.four {
  grid-template-columns: repeat(2, 1fr);
}


.pill.exception-leave {
  background: #e8eef8;
  color: #49658f;
}

.status-item {
  transition: border-color .15s ease, background .15s ease;
}

.status-late_missing,
.status-out_only {
  border-color: rgba(173, 73, 62, .34);
  background: #fff8f6;
}

.status-late_arrived,
.status-late_signed_out {
  border-color: rgba(157, 104, 30, .30);
  background: #fffbf2;
}

.status-waiting {
  border-color: rgba(201, 141, 85, .30);
  background: #fffaf4;
}

.status-at_work {
  border-color: rgba(52, 117, 87, .28);
  background: #f7fcf9;
}

.status-rest,
.status-leave {
  opacity: .94;
}

.device-request {
  padding: 13px;
  border: 1px solid #eadccf;
  border-radius: 15px;
  background: white;
}

.exception-list {
  display: grid;
  gap: 8px;
}

.exception-row {
  min-height: 46px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #eee3d7;
  border-radius: 13px;
  background: white;
}

.exception-row > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.employee-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-employee-item .employee-actions {
  grid-template-columns: 1fr;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
}


.compact-employee-item .rate-value,
.month-stat-item .rate-value {
  font-size: 22px;
}

.compact-actions {
  margin-top: 12px;
}

.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.detail-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.detail-grid .full-width {
  grid-column: 1 / -1;
}

.detail-section {
  display: grid;
  gap: 8px;
}

.detail-section-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-actions {
  margin-top: 4px;
}

.inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#employeeDetailContent {
  gap: 14px;
}

@media (max-width: 480px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

/* v2.4.3 mobile network controls and clearer edit feedback */
.section-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.network-card {
  overflow: hidden;
}

.advanced-hint {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f5eee6;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}


.network-manager-panel {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.network-manager-panel .field-help {
  margin-top: -2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}

.advanced-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #ddc6b2;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(247,238,228,.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.advanced-panel-title {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.advanced-panel-title strong {
  color: var(--text);
  font-size: 14px;
}

.highlight-field {
  padding: 14px;
  border: 1px solid #d9bea6;
  border-radius: 15px;
  background: #fffaf5;
}

.highlight-field input {
  font-size: 20px;
  font-weight: 800;
}

.advanced-fields {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.advanced-fields summary {
  padding: 13px 14px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.advanced-fields[open] {
  padding: 0 14px 14px;
}

.advanced-fields[open] summary {
  margin: 0 -14px;
  border-bottom: 1px solid var(--line);
}

#recordMessage.show {
  position: sticky;
  top: 74px;
  z-index: 6;
  box-shadow: 0 10px 30px rgba(62, 40, 28, .12);
}

.dialog-body {
  max-height: min(86vh, 760px);
  overflow-y: auto;
}

@media (max-width: 520px) {
  .section-heading-row {
    align-items: center;
  }

  
.network-manager-panel {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.network-manager-panel .field-help {
  margin-top: -2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}

.advanced-panel {
    padding: 14px;
  }
}

.clock-state-hint {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #f7f1e9;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.clock-state-hint.state-waiting_out {
  background: #eef7f1;
  color: #347557;
}

.clock-state-hint.state-complete {
  background: #eee8e2;
  color: #6d5a4e;
}

.clock-state-hint.state-invalid_out_only,
.clock-state-hint.state-repair_required,
.clock-state-hint.state-attendance_exception {
  background: #fff2ef;
  color: #a3493e;
}

.clock-actions .button:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.25);
}
