:root {
  --bg: #f5f8fd;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e1e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --red: #dc2626;
  --green: #059669;
  --shadow: 0 18px 48px rgba(15, 23, 42, .10);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
input, select, textarea {
  width: 100%; border: 1px solid #d6dee9; border-radius: 10px; background: #fff; min-height: 42px; padding: 0 12px; outline: none;
}
textarea { min-height: 82px; padding-top: 10px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
label { font-weight: 700; color: #334155; display: block; }
.btn { border: 0; min-height: 42px; border-radius: 10px; padding: 0 16px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.danger { background: var(--red); color: #fff; }
.btn.full { width: 100%; }
.hidden { display: none !important; }
.muted { color: var(--muted); line-height: 1.45; }
.center { text-align: center; }
.alert { padding: 12px 14px; border-radius: 10px; background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert.danger, .alert.error { color: #991b1b; background: #fef2f2; border-color: #fecaca; }
.alert.ok { color: #065f46; background: #ecfdf5; border-color: #bbf7d0; }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #eaf1ff, #f8fafc 54%, #ffffff); }
.login-shell { width: min(980px, 100%); display: grid; grid-template-columns: 1fr 420px; gap: 22px; align-items: stretch; }
.login-brand, .login-card { background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.login-brand { padding: 46px; display: grid; align-content: center; }
.login-brand img { width: 210px; margin-bottom: 24px; }
.login-brand h1 { font-size: 52px; line-height: 1; margin: 0 0 10px; }
.login-brand p { color: var(--muted); font-size: 18px; max-width: 480px; }
.login-card { padding: 34px; }
.login-card h2 { font-size: 30px; margin: 0; }
.login-card p { color: var(--muted); margin: 8px 0 22px; }
.login-card label { margin-top: 14px; margin-bottom: 7px; }
.login-card button { margin-top: 20px; }
.layout { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { background: linear-gradient(180deg, #0f172a, #111827); color: #fff; padding: 28px 18px; display: flex; flex-direction: column; }
.side-logo { width: 160px; height: 82px; object-fit: contain; background: #fff; border-radius: 8px; padding: 8px; margin: 0 auto 20px; }
.user-box { padding: 14px 12px; border-radius: 12px; background: rgba(255,255,255,.08); margin-bottom: 18px; }
.user-box span { display: block; color: #bfdbfe; margin-top: 4px; font-size: 13px; }
nav { display: grid; gap: 8px; }
nav a { padding: 12px 14px; border-radius: 10px; color: #dbeafe; font-weight: 800; }
nav a.active, nav a:hover { background: var(--blue); color: #fff; }
.exit { margin-top: auto; text-align: center; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.08); font-weight: 800; }
.content { padding: 28px; overflow: auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.page-head h1 { margin: 0; font-size: 32px; }
.page-head p { margin: 7px 0 0; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.metrics article, .panel, .approval-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 22px rgba(15,23,42,.04); }
.metrics article { padding: 20px; }
.metrics span { color: var(--muted); font-weight: 700; }
.metrics strong { display: block; margin-top: 12px; font-size: 34px; color: var(--blue); }
.panel { padding: 16px; margin-bottom: 16px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel-title h2 { margin: 0; }
.panel-title a { color: var(--blue); font-weight: 800; }
table { width: 100%; border-collapse: collapse; background: #fff; overflow: hidden; border-radius: 10px; }
th { background: #edf2f8; color: #1e293b; text-align: left; font-size: 13px; }
th, td { padding: 12px 10px; border-bottom: 1px solid #e9eef5; vertical-align: top; }
tbody tr:hover { background: #f8fbff; }
.empty { color: var(--muted); text-align: center; padding: 28px !important; }
.badge, .status-label { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-weight: 800; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1.4fr 160px 160px; gap: 10px; align-items: end; }
.filters { display: flex; gap: 12px; align-items: end; }
.approval-list { display: grid; gap: 14px; }
.approval-card { padding: 18px; display: grid; grid-template-columns: 1fr 240px 180px auto; gap: 14px; align-items: start; }
.approval-card strong { font-size: 18px; }
.approval-card span { color: var(--muted); display: block; margin-top: 4px; }
.approval-card p { margin: 8px 0; color: #334155; }
.mobile-body { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: linear-gradient(180deg, #f8fafc, #eaf1ff); }
.mobile-card { width: min(430px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.mobile-logo { display: block; width: 120px; height: 64px; object-fit: contain; margin: 0 auto 12px; }
.mobile-card h1 { text-align: center; margin: 0; font-size: 30px; }
.mobile-card label { margin: 14px 0 7px; }
.identity { margin-top: 16px; text-align: center; padding: 16px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line); }
.avatar { width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 10px; background: #eef2f7; border: 1px solid #dbe3ee; color: #64748b; font-weight: 800; }
.identity h2 { margin: 0; font-size: 21px; }
.identity p { margin: 6px 0 0; color: var(--muted); }
.next-box { text-align: center; margin: 16px 0; padding: 14px; background: #f8fafc; border-radius: 14px; border: 1px solid var(--line); }
.next-box span { display: block; color: var(--muted); font-weight: 700; }
.next-box strong { display: block; margin-top: 6px; font-size: 24px; }
.gps { padding: 12px; border-radius: 12px; background: #eff6ff; color: #1d4ed8; line-height: 1.4; }
.check { display: flex; gap: 9px; align-items: center; background: #f8fafc; padding: 10px; border-radius: 10px; font-weight: 700; }
.check input { width: auto; min-height: auto; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .approval-card { grid-template-columns: 1fr; }
  .login-shell { grid-template-columns: 1fr; }
  .form-grid, .filters { display: grid; grid-template-columns: 1fr; }
}
.btn.ghost { background: #eef2f7; color: #0f172a; }
.actions-cell { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions-cell form { margin: 0; }
.mini-btn { min-height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: #dbeafe; color: #1d4ed8; font-weight: 800; display: inline-flex; align-items: center; cursor: pointer; }
.mini-btn.muted-btn, .muted-btn { background: #eef2f7; color: #475569; }
.row-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

/* RH - histórico individual do colaborador */
.employee-history-head {
  align-items: center;
}
.employee-history-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  min-height: 330px;
  padding: 26px;
  border: 1px solid #dbe7f2;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(circle at 94% 12%, rgba(5, 150, 105, .14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fffb 100%);
  color: #0f172a;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}
.employee-history-photo {
  width: 122px;
  height: 122px;
  align-self: start;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 5px solid #ffffff;
  border-radius: 50%;
  background: #f1f5f9;
  box-shadow: 0 16px 36px rgba(15,23,42,.18);
}
.employee-history-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.employee-history-photo span {
  color: #059669;
  font-size: 42px;
  font-weight: 900;
}
.employee-history-main {
  display: grid;
  gap: 18px;
}
.employee-history-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #dbe7f2;
}
.employee-history-title .eyebrow {
  color: #059669;
}
.employee-history-title h2 {
  margin: 4px 0;
  color: #071733;
  font-size: 28px;
}
.employee-history-title p {
  margin: 0;
  color: #52637a;
  font-weight: 800;
}
.employee-history-title .profile-summary-chips span {
  background: #eef6ff;
}
.employee-history-work {
  width: min(420px, 100%);
  justify-self: end;
  display: grid;
  gap: 6px;
}
.employee-history-work label {
  color: #52637a;
  font-size: 12px;
  font-weight: 900;
}
.employee-history-work select {
  height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  border: 1px solid #dbe7f2;
  background: #fff;
  color: #0f172a;
  font-weight: 800;
}
.employee-history-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  max-width: 760px;
}
.employee-history-data div {
  display: grid;
  gap: 2px;
}
.employee-history-data span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.employee-history-data strong {
  color: #0f172a;
  font-size: 13px;
  line-height: 1.25;
}
.employee-owner-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid #dbe7f2;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #f8fbff;
  color: #334155;
}
.employee-owner-strip strong,
.employee-owner-strip span {
  font-size: 13px;
  font-weight: 900;
}
.employee-summary-accordion {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.employee-summary-title {
  margin-bottom: 14px;
}
.summary-row {
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 5px;
}
.summary-row summary {
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: #111827;
  color: #fff;
  cursor: pointer;
  list-style: none;
}
.summary-row summary::-webkit-details-marker {
  display: none;
}
.summary-row summary span {
  font-weight: 900;
}
.summary-row summary strong {
  font-size: 16px;
}
.summary-row summary b {
  font-size: 22px;
  line-height: 1;
}
.summary-row[open] summary {
  background: #059669;
}
.summary-row-body {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe7f2;
  border-top: 0;
  background: #f8fbff;
}
.summary-row-body p {
  margin: 0;
  color: #52637a;
}
.mini-list {
  display: grid;
  gap: 8px;
}
.mini-list div {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #e6edf6;
  border-radius: 10px;
  background: #fff;
}
.mini-list strong {
  color: #0f172a;
}
.mini-list span {
  color: #52637a;
  font-size: 12px;
  font-weight: 800;
}
.summary-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 960px) {
  .employee-history-card,
  .employee-history-title,
  .employee-history-data {
    grid-template-columns: 1fr;
  }
  .employee-history-work {
    justify-self: start;
  }
  .employee-owner-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}
.form-stack { display: grid; gap: 18px; }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.two-cols label, .form-stack label { display: grid; gap: 7px; }
.check-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.check-line { display: flex !important; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.check-line input { width: auto; min-height: auto; }
.form-actions { display: flex; gap: 10px; align-items: center; }
small { color: var(--muted); }
@media (max-width: 900px) {
  .two-cols, .check-grid { grid-template-columns: 1fr; }
  .form-actions { display: grid; }
}

/* Ponto mobile refinado */
.mobile-body { align-items: start; padding: 14px; background: linear-gradient(180deg, #eef5ff, #f8fafc 44%, #ffffff); }
.mobile-polished { margin: 0 auto; padding: 18px; border-radius: 22px; }
.mobile-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.mobile-polished .mobile-logo { width: 104px; height: 54px; margin: 0; }
.clock-pill { min-width: 96px; text-align: center; background: #0f172a; color: #fff; border-radius: 999px; padding: 9px 12px; font-weight: 900; letter-spacing: .02em; }
.mobile-title { text-align: center; padding: 8px 4px 14px; }
.mobile-title h1 { margin: 0; font-size: 31px; }
.mobile-title p { margin: 7px auto 0; color: var(--muted); line-height: 1.4; max-width: 320px; }
.mobile-step { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-top: 12px; box-shadow: 0 8px 20px rgba(15,23,42,.04); }
.step-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #334155; font-weight: 900; }
.step-label span { width: 25px; height: 25px; border-radius: 999px; display: inline-grid; place-items: center; color: #fff; background: var(--blue); font-size: 13px; }
.mobile-polished .identity { display: grid; grid-template-columns: 76px 1fr; gap: 13px; text-align: left; align-items: center; }
.mobile-polished .avatar { width: 76px; height: 76px; margin: 0; border-radius: 14px; }
.mobile-polished .identity h2 { font-size: 20px; margin: 2px 0; }
.muted-mini { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.punch-step { display: grid; gap: 12px; }
.punch-step .step-label { margin-bottom: 0; }
.next-box { margin: 0; }
.gps { font-size: 14px; }
.gps.idle { background: #f8fafc; color: #475569; border: 1px solid var(--line); }
.gps.loading { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.gps.ok { background: #ecfdf5; color: #065f46; border: 1px solid #bbf7d0; }
.gps.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.offline-details { border: 1px solid var(--line); background: #f8fafc; border-radius: 14px; padding: 12px; }
.offline-details summary { cursor: pointer; font-weight: 900; color: #334155; }
.offline-details .check { margin: 10px 0; background: #fff; }
.offline-details textarea { min-height: 76px; }
.punch-button { min-height: 54px; border-radius: 14px; font-size: 16px; text-transform: uppercase; }
.punch-button[disabled] { opacity: .68; cursor: wait; }
.success-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(15,23,42,.46); z-index: 50; }
.success-modal section { width: min(390px, 100%); background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); text-align: center; }
.success-modal strong { display: block; color: var(--green); font-size: 27px; margin-bottom: 8px; }
.success-modal p { color: #334155; line-height: 1.45; margin: 0 0 18px; }
@media (max-width: 430px) {
  .mobile-body { padding: 8px; }
  .mobile-card { border-radius: 16px; padding: 14px; }
  .mobile-title h1 { font-size: 28px; }
}
.final-screen { width: min(430px, 100%); margin: 0 auto; min-height: calc(100vh - 28px); display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.final-screen .mobile-logo { margin: 0 0 4px; }
.success-mark { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 999px; background: #ecfdf5; color: var(--green); font-size: 42px; font-weight: 900; }
.final-screen h1 { margin: 0; color: var(--green); font-size: 30px; }
.final-screen p { margin: 0; color: #334155; font-weight: 800; line-height: 1.45; }
.final-screen small { display: block; color: var(--muted); line-height: 1.4; margin-bottom: 8px; }

/* Ponto mobile - modo entrega */
.top-status { display: grid; gap: 6px; justify-items: end; }
.connection-pill { min-width: 92px; text-align: center; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 900; background: #ecfdf5; color: #065f46; border: 1px solid #bbf7d0; }
.connection-pill.offline { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.compact-title { padding-bottom: 8px; }
.compact-title h1 { font-size: 29px; }
.compact-title p { font-size: 14px; }
.identify-step { padding: 12px 14px; }
.identify-step label, .final-punch-panel label { margin: 0 0 7px; font-weight: 900; color: #334155; }
.final-punch-panel { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(15,23,42,.04); display: grid; gap: 12px; }
.final-next-box { background: linear-gradient(180deg, #eff6ff, #ffffff); border-color: #bfdbfe; }
.final-next-box strong { color: var(--blue); font-size: 27px; }
.compact-offline { padding: 10px 12px; }
.compact-offline summary { font-size: 14px; }
.final-screen .btn.ghost { display: none; }
@media (max-width: 430px) {
  .mobile-top { align-items: start; }
  .clock-pill { min-width: 88px; padding: 8px 10px; }
  .connection-pill { min-width: 88px; }
  .final-next-box strong { font-size: 24px; }
}

.identify-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.identify-row .btn { min-height: 48px; border-radius: 12px; }
@media (max-width: 430px) { .identify-row { grid-template-columns: 1fr; } }

/* Ponto Mobile - visual final estável */
.mobile-body {
  align-items: start;
  padding: 14px;
  background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 62%);
}
.delivery-mobile {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .10);
}
.delivery-top {
  margin-bottom: 8px;
}
.delivery-top .mobile-logo {
  width: 98px;
  height: 54px;
  margin: 0;
}
.delivery-top .clock-pill {
  min-width: 104px;
  border-radius: 999px;
  background: #172033;
  box-shadow: 0 8px 18px rgba(15,23,42,.16);
}
.delivery-title {
  padding: 10px 4px 14px;
}
.delivery-title h1 {
  font-size: 32px;
  color: #101827;
}
.delivery-title p {
  margin-top: 7px;
  font-size: 15px;
  color: #64748b;
}
.delivery-input-card,
.delivery-punch-card {
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e1e8f0;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
}
.field-title {
  display: block;
  margin: 0 0 8px;
  color: #334155;
  font-weight: 900;
  font-size: 15px;
}
.delivery-input-card input,
.delivery-punch-card select,
.delivery-options textarea {
  min-height: 48px;
  border-radius: 13px;
  font-size: 16px;
}
.delivery-identity {
  grid-template-columns: 76px 1fr;
  gap: 13px;
  text-align: left;
  align-items: center;
  border-radius: 18px;
  padding: 14px;
}
.delivery-identity .avatar {
  width: 76px;
  height: 76px;
  margin: 0;
  border-radius: 15px;
}
.delivery-identity h2 {
  font-size: 21px;
  margin: 2px 0;
}
.delivery-punch-card {
  display: grid;
  gap: 12px;
}
.delivery-next-box {
  margin: 0;
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #eff6ff, #ffffff);
}
.delivery-next-box strong {
  color: #2563eb;
  font-size: 27px;
}
.delivery-options {
  padding: 11px 12px;
  border-radius: 14px;
}
.delivery-options summary {
  font-size: 14px;
}
.delivery-options .check {
  margin-top: 10px;
}
.delivery-options textarea {
  margin-top: 8px;
}
.delivery-punch-card .punch-button {
  min-height: 54px;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.delivery-final {
  border-radius: 24px;
}
.delivery-final h1 {
  color: #059669;
}
@media (max-width: 430px) {
  .mobile-body { padding: 8px; }
  .delivery-mobile { padding: 14px; border-radius: 20px; }
  .delivery-title h1 { font-size: 30px; }
  .delivery-next-box strong { font-size: 24px; }
}

/* Colaboradores do Ponto */
.form-section { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #ffffff; }
.form-section + .form-section { margin-top: 4px; }
.section-heading { margin-bottom: 14px; }
.section-heading h2 { margin: 0; font-size: 19px; color: #0f172a; }
.section-heading p { margin: 5px 0 0; color: var(--muted); line-height: 1.4; }
.point-rules-box { background: linear-gradient(180deg, #f8fbff, #ffffff); border-color: #bfdbfe; }
.authorized-works-block { margin-top: 14px; }
.authorized-works-block strong { display: block; color: #0f172a; font-size: 15px; }
.authorized-works-block p { margin: 5px 0 10px; color: var(--muted); }

/* Colaboradores do Ponto - modo profissional */
.eyebrow {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.employee-head h1 { letter-spacing: 0; }
.rule-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.rule-summary-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
.rule-summary-grid span,
.profile-readonly-main span,
.readonly-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.rule-summary-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
}
.rule-summary-grid small { display: block; margin-top: 8px; }
.employee-rules-panel { padding: 18px; }
.compact-title-row p { margin: 4px 0 0; color: var(--muted); }
.modern-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.employee-table td { vertical-align: middle; }
.employee-cell { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.employee-cell strong { display: block; font-size: 15px; }
.employee-cell small { display: block; margin-top: 3px; }
.employee-initial,
.readonly-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--blue);
  border: 1px solid #bfdbfe;
  font-weight: 900;
}
.pin-chip,
.works-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 900;
  font-size: 13px;
}
.status-ok { background: #dcfce7; color: #166534; }
.status-blocked { background: #fee2e2; color: #991b1b; }
.profile-readonly-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  box-shadow: 0 16px 38px rgba(15,23,42,.14);
}
.large-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
  color: #fff;
  font-size: 24px;
}
.profile-readonly-main span { color: #bfdbfe; }
.profile-readonly-main h2 { margin: 4px 0; font-size: 28px; }
.profile-readonly-main p { margin: 0; color: #dbeafe; }
.profile-lock-note {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  white-space: nowrap;
}
.polished-readonly-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.polished-readonly-grid div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}
.polished-readonly-grid strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.temporary-employee-card { background: #fff7ed; border-color: #fed7aa; }
.final-rules-box {
  padding: 18px;
  border-radius: 18px;
}
.rules-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.rules-pill {
  border-radius: 999px;
  padding: 7px 10px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.rules-grid label { display: grid; gap: 7px; }
.rules-grid .wide-field { grid-column: 1 / -1; }
.refined-authorized-block {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #ffffff;
}
.refined-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.refined-check-grid .check-line {
  min-height: 46px;
  transition: border-color .15s ease, background .15s ease;
}
.refined-check-grid .check-line:has(input:checked) {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.sticky-actions {
  padding-top: 4px;
}
@media (max-width: 1000px) {
  .rule-summary-grid,
  .polished-readonly-grid,
  .rules-grid,
  .refined-check-grid { grid-template-columns: 1fr; }
  .profile-readonly-card { grid-template-columns: auto 1fr; }
  .profile-lock-note { grid-column: 1 / -1; width: max-content; }
}
@media (max-width: 720px) {
  .employee-table { min-width: 820px; }
  .employee-rules-panel { overflow-x: auto; }
  .page-head { align-items: flex-start; flex-direction: column; }
}

/* Administrativo - escala visual mais leve para telas menores */
body { font-size: 14px; }
.layout { grid-template-columns: 228px 1fr; }
.sidebar { padding: 22px 12px; }
.side-logo {
  width: 160px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 8px;
}
.user-box {
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 10px;
}
.user-box strong { font-size: 14px; }
.user-box span { font-size: 12px; }
nav { gap: 5px; }
nav a {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 750;
}
.content { padding: 22px; }
.page-head { margin-bottom: 16px; align-items: flex-start; }
.page-head h1 {
  font-size: 28px;
  line-height: 1.12;
  font-weight: 800;
}
.page-head p {
  max-width: 820px;
  font-size: 14px;
  line-height: 1.45;
}
.btn {
  min-height: 38px;
  border-radius: 9px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.page-head .btn { margin-top: 6px; }
.panel {
  padding: 14px;
  border-radius: 12px;
}
.panel-title h2 { font-size: 20px; }
.panel-title p { font-size: 13px; }
th, td {
  padding: 10px 9px;
  font-size: 13px;
}
th { font-size: 11px; }
.employee-rules-panel { padding: 14px; }
.employee-cell { gap: 10px; min-width: 220px; }
.employee-cell strong { font-size: 14px; }
.employee-cell small { font-size: 12px; line-height: 1.25; }
.employee-initial {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 13px;
}
.pin-chip,
.works-count,
.badge,
.status-label {
  min-height: 24px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
}
.actions-cell { gap: 6px; }
.mini-btn {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 12px;
  white-space: nowrap;
}
.rule-summary-grid { gap: 12px; margin-bottom: 14px; }
.rule-summary-grid article {
  padding: 14px 16px;
  border-radius: 13px;
}
.rule-summary-grid span { font-size: 11px; }
.rule-summary-grid strong { font-size: 28px; margin-top: 6px; }
.rule-summary-grid small { font-size: 12px; margin-top: 6px; }
.form-section { padding: 14px; border-radius: 12px; }
.section-heading h2 { font-size: 17px; }
.section-heading p { font-size: 13px; }
.profile-readonly-card {
  padding: 15px;
  border-radius: 15px;
}
.profile-readonly-main h2 { font-size: 24px; }
.profile-lock-note { font-size: 12px; padding: 7px 10px; }
.large-avatar { width: 54px; height: 54px; border-radius: 14px; font-size: 21px; }
input, select, textarea {
  min-height: 38px;
  border-radius: 9px;
  font-size: 13px;
}
.rules-grid { gap: 12px; }
.check-line { padding: 8px 10px; border-radius: 9px; font-size: 13px; }
.exit { padding: 10px; font-size: 13px; border-radius: 9px; }
@media (max-width: 1180px) {
  .layout { grid-template-columns: 210px 1fr; }
  .content { padding: 18px; }
  .rule-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: block; }
  .rule-summary-grid { grid-template-columns: 1fr; }
}

/* Padronização final das telas administrativas */
.standard-head .btn { align-self: flex-start; }
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.metric-strip.dashboard-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-strip article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 16px;
  box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
.metric-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.metric-strip strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  margin-top: 6px;
}
.metric-strip small { display: block; margin-top: 6px; color: var(--muted); }
.data-panel { padding: 14px; }
.compact-create-form {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 150px auto;
  gap: 10px;
  align-items: center;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.form-grid-3 label { display: grid; gap: 7px; }
.form-grid-3 .wide-2 { grid-column: span 2; }
.employee-form { max-width: 1180px; }
.refined-approvals { gap: 12px; }
.refined-approval-card {
  grid-template-columns: minmax(360px, 1fr) 260px 220px;
  padding: 14px;
  border-radius: 13px;
}
.approval-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.approval-info dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}
.approval-info dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.approval-info dd {
  margin: 2px 0 0;
  color: #1e293b;
  line-height: 1.35;
}
.approval-action-form { display: grid; gap: 8px; }
.approval-action-form textarea { min-height: 74px; }
.compact-reject-form { align-content: start; }
.refined-filters {
  display: grid;
  grid-template-columns: 160px 160px auto 1fr;
  gap: 10px;
  align-items: end;
}
.refined-filters .btn { width: max-content; }
@media (max-width: 1100px) {
  .metric-strip,
  .metric-strip.dashboard-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-create-form,
  .refined-filters,
  .form-grid-3 { grid-template-columns: 1fr; }
  .form-grid-3 .wide-2 { grid-column: auto; }
  .refined-approval-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .metric-strip,
  .metric-strip.dashboard-strip { grid-template-columns: 1fr; }
}

/* Ajuste: colaboradores no ponto sem cadastro de RH */
.light-profile-card {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(15,23,42,.04);
}
.light-profile-card .profile-readonly-main span { color: var(--muted); }
.light-profile-card .profile-readonly-main p { color: var(--muted); }
.light-profile-card .large-avatar {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--blue);
}
.light-profile-card .profile-lock-note {
  background: #f1f5f9;
  border-color: var(--line);
  color: #475569;
}

/* Central e RH inicial */
.central-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 34px;
  background: linear-gradient(180deg, #eef5ff, #ffffff 60%);
}
.central-hero { text-align: center; }
.central-hero img { width: 170px; height: 82px; object-fit: contain; margin-bottom: 10px; }
.central-hero h1 { margin: 4px 0 6px; font-size: 34px; }
.central-hero p { margin: 0; color: var(--muted); }
.module-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.module-card {
  display: grid;
  gap: 8px;
  min-height: 210px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
}
.module-card span { color: var(--blue); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.module-card h2 { margin: 0; font-size: 23px; }
.module-card p { margin: 0; color: var(--muted); line-height: 1.42; }
.module-card strong { align-self: end; color: var(--blue); }
.central-exit { justify-self: center; color: var(--muted); font-weight: 800; }
.rh-photo-row {
  display: grid;
  grid-template-columns: 96px minmax(220px, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.rh-photo-preview,
.avatar.has-photo {
  overflow: hidden;
}
.rh-photo-preview {
  width: 86px;
  height: 86px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}
.rh-photo-preview img,
.avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .module-grid { grid-template-columns: 1fr; }
  .central-shell { align-content: start; padding: 18px; }
}

/* Separação visual dos módulos */
.rh-sidebar {
  background: linear-gradient(180deg, #111827, #0f172a);
}
.rh-layout .sidebar nav a.active,
.rh-layout .sidebar nav a:hover {
  background: #059669;
}
.rh-layout .eyebrow,
.rh-layout .panel-title a,
.rh-layout .module-card span {
  color: #059669;
}
.rh-layout .btn.primary {
  background: #059669;
}
.rh-layout .btn.primary:hover {
  background: #047857;
}
.rh-layout .metric-strip strong {
  color: #059669;
}
.rh-layout .employee-initial {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
}
.point-layout .user-box strong,
.rh-layout .user-box strong {
  display: block;
  margin-bottom: 4px;
}

/* Central do Sistema - tela inicial final */
.central-page {
  min-height: 100vh;
  padding: 22px;
  background: #f3f7fc;
  color: var(--ink);
}
.central-topbar {
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.central-topbar img {
  width: 112px;
  height: 48px;
  object-fit: contain;
}
.central-topbar strong {
  display: block;
  font-size: 15px;
  color: #0f172a;
}
.central-topbar span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.central-topbar a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 9px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}
.central-workspace {
  width: min(1220px, 100%);
  min-height: calc(100vh - 116px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 390px) 1fr;
  gap: 22px;
  align-items: center;
}
.central-intro {
  padding: 8px 4px;
}
.central-intro h1 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
  color: #0b1220;
}
.central-intro p {
  margin: 0;
  max-width: 430px;
  color: #52637a;
  line-height: 1.55;
  font-size: 15px;
}
.central-user-card {
  margin-top: 22px;
  padding: 15px;
  width: min(320px, 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.central-user-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.central-user-card strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}
.central-user-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}
.refined-module-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.refined-module-grid .module-card {
  min-height: 280px;
  align-content: start;
  padding: 18px;
  border-radius: 16px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.refined-module-grid .module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15,23,42,.10);
  border-color: #cbd5e1;
}
.module-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}
.module-rh .module-icon { background: #ecfdf5; color: #047857; border: 1px solid #bbf7d0; }
.module-point .module-icon { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.module-mobile .module-icon { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.refined-module-grid .module-card span {
  color: #64748b;
  font-size: 11px;
  letter-spacing: .04em;
}
.refined-module-grid .module-card h2 {
  font-size: 21px;
  line-height: 1.15;
}
.refined-module-grid .module-card p {
  font-size: 14px;
}
.refined-module-grid .module-card strong {
  margin-top: auto;
  color: #0f172a;
  font-size: 13px;
}
@media (max-width: 1060px) {
  .central-workspace {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 28px;
  }
  .central-intro h1 { max-width: 680px; }
}
@media (max-width: 760px) {
  .central-page { padding: 12px; }
  .central-topbar { height: auto; grid-template-columns: auto 1fr; }
  .central-topbar a { grid-column: 1 / -1; width: 100%; }
  .refined-module-grid { grid-template-columns: 1fr; }
  .refined-module-grid .module-card { min-height: 190px; }
}

/* Teste visual: logo como protagonista da Central */
.central-main-logo {
  width: 250px;
  height: 122px;
  object-fit: contain;
  display: block;
  margin: 0 0 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
  padding: 10px;
}
.central-intro h1 {
  font-size: clamp(28px, 3.2vw, 40px);
}
@media (max-width: 760px) {
  .central-main-logo {
    width: 210px;
    height: 104px;
  }
}

/* Central executiva */
.executive-central {
  padding: 22px;
  background:
    linear-gradient(180deg, #edf4fb 0%, #f7fafc 52%, #ffffff 100%);
}
.executive-topbar {
  width: min(1320px, 100%);
  height: 70px;
}
.central-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.central-topbar-metrics {
  justify-self: end;
  display: grid;
  justify-items: end;
  padding-right: 8px;
}
.central-topbar-metrics span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}
.central-topbar-metrics strong {
  margin-top: 2px;
  color: #0f172a;
  font-size: 14px;
}
.central-executive-grid {
  width: min(1320px, 100%);
  min-height: calc(100vh - 108px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: center;
}
.central-command-panel {
  display: grid;
  gap: 14px;
  align-content: center;
}
.central-command-panel h1 {
  margin: 4px 0 0;
  color: #071733;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.03;
}
.central-command-panel p {
  margin: 0;
  color: #52637a;
  line-height: 1.52;
}
.central-dashboard-area {
  display: grid;
  gap: 14px;
  align-content: center;
}
.central-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.central-kpi-card {
  min-height: 118px;
  padding: 16px;
  border: 1px solid #dbe7f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
  display: grid;
  align-content: center;
  gap: 4px;
}
.central-kpi-card span {
  color: #52637a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.central-kpi-card strong {
  font-size: 32px;
  line-height: 1;
}
.central-kpi-card small {
  color: #52637a;
  font-weight: 800;
}
.central-kpi-card.blue strong { color: #2563eb; }
.central-kpi-card.green strong { color: #059669; }
.central-kpi-card.red strong { color: #dc2626; }
.central-kpi-card.amber strong { color: #d97706; }
.executive-module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.executive-module-grid .module-card {
  min-height: 218px;
}
.module-third .module-icon {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}
.module-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.module-card-footer small {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}
.module-card-footer strong {
  margin: 0;
}
.central-health-card,
.central-chart-panel,
.central-activity-panel {
  border: 1px solid #dbe7f2;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.central-health-card {
  min-height: 132px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 12px;
  align-items: center;
}
.central-health-card span,
.central-health-card small {
  display: block;
  color: #52637a;
  font-size: 12px;
  font-weight: 900;
}
.central-health-card strong {
  display: block;
  margin: 5px 0;
  color: #0f172a;
  font-size: 30px;
}
.central-ring {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(#2563eb var(--value), #e6edf6 0);
}
.central-ring b {
  color: #0f172a;
  font-size: 18px;
}
.central-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 14px;
}
.central-chart-panel,
.central-activity-panel {
  padding: 16px;
}
.central-bars {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}
.central-bars div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 10px;
  align-items: center;
}
.central-bars span {
  color: #334155;
  font-weight: 900;
}
.central-bars strong {
  color: #0f172a;
}
.central-bars i {
  grid-column: 1 / -1;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf6;
}
.central-bars i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #10b981);
}
.central-activity-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.central-activity-list a {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #e6edf6;
  border-radius: 12px;
  background: #f8fbff;
}
.central-activity-list strong {
  color: #071733;
}
.central-activity-list span {
  color: #52637a;
  font-size: 12px;
  font-weight: 800;
}
.central-clean-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.central-clean-status a {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px;
  border: 1px solid #dbe7f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
}
.central-clean-status span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.central-clean-status strong {
  color: #2563eb;
  font-size: 25px;
  line-height: 1;
}
.central-clean-status .attention strong {
  color: #dc2626;
}
.central-delivery-note {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid #dbe7f2;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.central-delivery-note strong,
.central-delivery-note span {
  display: block;
}
.central-delivery-note strong {
  color: #071733;
  font-size: 15px;
}
.central-delivery-note span {
  margin-top: 3px;
  color: #52637a;
  font-weight: 800;
  line-height: 1.35;
}
.central-delivery-note a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 13px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
@media (max-width: 1180px) {
  .central-executive-grid {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 18px;
  }
  .central-command-panel {
    grid-template-columns: 260px 1fr 320px;
    align-items: center;
  }
  .central-command-panel .central-main-logo,
  .central-command-panel .eyebrow,
  .central-command-panel h1,
  .central-command-panel p {
    grid-column: 1 / 3;
  }
}
@media (max-width: 980px) {
  .central-kpi-grid,
  .executive-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .central-bottom-grid,
  .central-command-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .central-kpi-grid,
  .executive-module-grid,
  .central-clean-status {
    grid-template-columns: 1fr;
  }
  .central-delivery-note {
    align-items: stretch;
    flex-direction: column;
  }
  .central-topbar-metrics {
    justify-items: start;
    grid-column: 1 / -1;
  }
}

/* Controle de Ponto - acabamento enterprise */
.point-admin-head {
  padding-bottom: 4px;
}
.head-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.executive-metrics article,
.metric-strip article {
  position: relative;
  overflow: hidden;
}
.executive-metrics article::after,
.metric-strip article::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  opacity: .9;
}
.point-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.command-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  margin: 0;
}
.command-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.command-card h2 {
  margin: 0;
  font-size: 21px;
}
.command-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.command-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-self: end;
  margin-top: 4px;
}
.enterprise-table-panel {
  overflow-x: auto;
}
.enterprise-table {
  border: 1px solid #e8eef6;
}
.enterprise-table th {
  background: #f1f5f9;
  color: #334155;
}
.enterprise-table tbody tr:nth-child(even) {
  background: #fbfdff;
}
.enterprise-table tbody tr:hover {
  background: #f2f7ff;
}
.type-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 900;
}
.enterprise-create-form {
  border-style: dashed;
  background: #fbfdff;
}
.enterprise-approvals .refined-approval-card {
  border-left: 4px solid #f59e0b;
}
.enterprise-approvals .refined-approval-card.aprovado {
  border-left-color: #059669;
}
.enterprise-approvals .refined-approval-card.reprovado {
  border-left-color: #dc2626;
}
.approval-closed-note {
  grid-column: span 2;
  align-self: center;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}
.enterprise-filter {
  background: #fff;
}
.date-metric {
  font-size: 18px !important;
  line-height: 1.2 !important;
  color: #0f172a !important;
}
@media (max-width: 1100px) {
  .point-command-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .head-actions { width: 100%; }
  .head-actions .btn { width: 100%; }
  .enterprise-table { min-width: 780px; }
}

/* Obras: localização amigável */
.location-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.location-chip.ok { background: #dcfce7; color: #166534; }
.location-chip.pending { background: #fff7ed; color: #9a3412; }
.enterprise-filter {
  grid-template-columns: 150px 150px minmax(240px, 1fr) auto;
}
@media (max-width: 1100px) {
  .enterprise-filter { grid-template-columns: 1fr; }
}

/* Relatórios: exportações */
.enterprise-filter .btn.ghost {
  background: #f8fafc;
  border: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .enterprise-filter .btn,
  .enterprise-filter .btn.ghost { width: 100%; }
}


/* Fechamento e relatório diário */
.report-filter {
  grid-template-columns: 140px 140px minmax(260px, 1fr) auto auto auto;
}
.report-table { min-width: 1180px; }
.report-table td:nth-child(n+4):nth-child(-n+10),
.closure-table td:nth-child(n+2) {
  white-space: nowrap;
}
.balance-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}
.balance-chip.positive { background: #ecfdf5; color: #047857; }
.balance-chip.negative { background: #fef2f2; color: #b91c1c; }
.closure-filter {
  display: grid;
  grid-template-columns: 220px auto 1fr;
  gap: 10px;
  align-items: end;
}
.closure-summary article:nth-child(4)::after { background: #059669; }
.closure-command-grid .command-card { min-height: 138px; }
.closure-table { min-width: 900px; }
@media (max-width: 1100px) {
  .report-filter,
  .closure-filter { grid-template-columns: 1fr; }
  .report-filter .btn,
  .closure-filter .btn { width: 100%; }
}


/* RH operacional */
.rh-record-head { padding-bottom: 2px; }
.rh-record-metrics article::after { background: #059669; }
.rh-record-form {
  background: #ffffff;
  border-color: #dbe7df;
}
.rh-record-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 1fr) 160px 150px;
  gap: 12px;
  align-items: start;
}
.rh-record-grid label {
  display: grid;
  gap: 7px;
}
.rh-record-grid .wide-field {
  grid-column: 1 / -1;
}
.rh-record-grid textarea {
  min-height: 74px;
}
.rh-record-table { min-width: 850px; }
.rh-record-table-panel { margin-top: 14px; }
.rh-layout .rh-record-form input:focus,
.rh-layout .rh-record-form select:focus,
.rh-layout .rh-record-form textarea:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .12);
}
@media (max-width: 1100px) {
  .rh-record-grid { grid-template-columns: 1fr; }
}


/* Ponto Administrativo - camada premium */
.premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f2f7ff 58%, #eef6ff 100%);
  box-shadow: 0 16px 42px rgba(15,23,42,.07);
}
.premium-hero h1 {
  margin: 2px 0 8px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}
.premium-hero p {
  max-width: 720px;
  margin: 0;
  color: #52637a;
  line-height: 1.52;
}
.hero-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero-score-card {
  display: grid;
  align-content: center;
  gap: 9px;
  min-height: 160px;
  padding: 18px;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 18px 38px rgba(15,23,42,.16);
}
.hero-score-card span {
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-score-card strong {
  font-size: 44px;
  line-height: 1;
}
.hero-score-card small {
  color: #dbeafe;
  line-height: 1.35;
}
.warning-score { background: linear-gradient(135deg, #7f1d1d, #dc2626); }
.warning-score span,
.warning-score small { color: #fee2e2; }
.progress-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  overflow: hidden;
}
.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #22c55e);
}
.premium-metrics article {
  border-radius: 16px;
  padding: 16px 18px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.premium-metrics article:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15,23,42,.08);
}
.premium-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 14px;
  margin-bottom: 14px;
}
.premium-card {
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}
.today-feed,
.pending-feed {
  display: grid;
  gap: 9px;
}
.today-item,
.pending-item {
  display: grid;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8eef6;
  border-radius: 13px;
  background: #fbfdff;
}
.today-item {
  grid-template-columns: auto 1fr auto;
  padding: 10px;
}
.today-item strong,
.pending-item strong { display: block; color: #0f172a; }
.today-item small,
.pending-item span,
.pending-item small { color: var(--muted); line-height: 1.35; }
.pending-item {
  padding: 12px;
  transition: border-color .15s ease, background .15s ease;
}
.pending-item:hover {
  border-color: #bfdbfe;
  background: #f2f7ff;
}
.soft-empty {
  border: 1px dashed #dbe7f2;
  border-radius: 13px;
  background: #fbfdff;
}
.premium-table-panel {
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.table-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  min-width: 260px;
}
.table-search {
  min-height: 36px;
  border-radius: 999px;
  background: #f8fafc;
  padding: 0 14px;
}
.premium-table {
  border-radius: 12px;
}
.premium-table tbody tr {
  transition: background .12s ease, box-shadow .12s ease;
}
.premium-table tbody tr.selected-row {
  background: #eff6ff !important;
  box-shadow: inset 4px 0 0 #2563eb;
}
.premium-create-form {
  border-radius: 16px;
  border-style: solid;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}
.premium-page-head {
  padding: 4px 0 2px;
}
.approval-toolbar-panel {
  margin-bottom: 12px;
}
.premium-approval-list {
  gap: 12px;
}
.premium-approval-card {
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.premium-approval-card:hover {
  border-color: #cbd5e1;
}
@media (max-width: 1160px) {
  .premium-hero,
  .premium-dashboard-grid { grid-template-columns: 1fr; }
  .hero-score-card { min-height: 130px; }
}
@media (max-width: 760px) {
  .premium-hero { padding: 16px; border-radius: 15px; }
  .premium-hero h1 { font-size: 28px; }
  .hero-actions .btn { width: 100%; }
  .table-tools { width: 100%; min-width: 0; }
  .table-search { width: 100%; }
  .today-item { grid-template-columns: auto 1fr; }
  .today-item .status-label { grid-column: 1 / -1; width: max-content; }
}


/* Painel de Ponto - dashboard sem cara de planilha */
.dashboard-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.dashboard-action-card {
  position: relative;
  min-height: 145px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 18px;
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.dashboard-action-card::before {
  content: "";
  position: absolute;
  inset: auto -32px -42px auto;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: #eff6ff;
}
.dashboard-action-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 20px 44px rgba(15,23,42,.10);
}
.dashboard-action-card span {
  color: #52637a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dashboard-action-card strong {
  position: relative;
  color: #0f172a;
  font-size: 42px;
  line-height: 1;
}
.dashboard-action-card small {
  position: relative;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}
.dashboard-action-card.punch-card::before { background: #ecfdf5; }
.dashboard-action-card.missing-card::before { background: #fff7ed; }
.dashboard-action-card.pending-card-link::before { background: #fef2f2; }
.dashboard-action-card.team-card strong { color: #2563eb; }
.dashboard-action-card.punch-card strong { color: #059669; }
.dashboard-action-card.missing-card strong { color: #d97706; }
.dashboard-action-card.pending-card-link strong { color: #dc2626; }
.recent-timeline-panel {
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.timeline-list {
  display: grid;
  gap: 10px;
}
.timeline-card {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid #e6edf6;
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.timeline-card:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 26px rgba(15,23,42,.06);
}
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 5px #eff6ff;
}
.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.timeline-top strong {
  color: #0f172a;
  font-size: 14px;
}
.timeline-top span {
  color: #2563eb;
  font-weight: 900;
}
.timeline-main p {
  margin: 3px 0;
  color: #334155;
  line-height: 1.35;
}
.timeline-main small {
  color: var(--muted);
}
@media (max-width: 1180px) {
  .dashboard-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .dashboard-actions-grid { grid-template-columns: 1fr; }
  .timeline-card { grid-template-columns: 16px 1fr; }
  .timeline-card .type-chip { grid-column: 2; width: max-content; }
  .timeline-top { display: grid; }
}


/* Painel de Ponto - versão central executiva */
.command-center-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
  padding: 24px;
  border: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(96,165,250,.28), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #172033 48%, #1e3a8a 100%);
  color: #fff;
  box-shadow: 0 22px 54px rgba(15,23,42,.18);
}
.command-center-hero .eyebrow { color: #93c5fd; }
.command-center-hero h1 { color: #fff; font-size: 38px; }
.command-center-hero p { color: #d8e5f7; max-width: 620px; }
.command-center-hero .btn.primary {
  background: #ffffff;
  color: #0f172a;
}
.command-center-hero .btn.ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.command-center-hero .btn.ghost:hover { background: rgba(255,255,255,.18); }
.command-score-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.command-score-card span { color: #dbeafe; }
.command-score-card strong { font-size: 50px; }
.command-score-card small { color: #eaf2ff; }
.command-score-card .progress-track { background: rgba(255,255,255,.24); }
.dashboard-actions-grid {
  align-items: stretch;
}
.dashboard-action-card {
  min-height: 156px;
  padding: 18px 18px 16px;
  border: 1px solid #d9e5f2;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.dashboard-action-card::before {
  inset: auto -28px -34px auto;
  width: 118px;
  height: 118px;
  opacity: .9;
}
.dashboard-action-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: #2563eb;
}
.dashboard-action-card.punch-card::after { background: #059669; }
.dashboard-action-card.missing-card::after { background: #d97706; }
.dashboard-action-card.pending-card-link::after { background: #dc2626; }
.dashboard-action-card strong { font-size: 38px; margin-top: 4px; }
.dashboard-action-card b {
  position: relative;
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}
.dashboard-action-card.punch-card b { background: #ecfdf5; color: #047857; }
.dashboard-action-card.missing-card b { background: #fff7ed; color: #b45309; }
.dashboard-action-card.pending-card-link b { background: #fef2f2; color: #b91c1c; }
.command-panels .premium-card {
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  background: #ffffff;
}
.command-panels .panel-title h2 { font-size: 22px; }
.today-item,
.pending-item {
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15,23,42,.035);
}
.today-item {
  min-height: 64px;
  padding: 11px 12px;
}
.pending-card .pending-feed {
  max-height: 420px;
  overflow: auto;
  padding-right: 2px;
}
.recent-timeline-panel {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid #dbe7f2;
}
.timeline-card {
  min-height: 70px;
  background: #ffffff;
}
@media (max-width: 760px) {
  .command-center-hero { padding: 18px; }
  .command-center-hero h1 { font-size: 30px; }
  .command-score-card strong { font-size: 42px; }
}


/* Padronização baseada na Central do Sistema */
.point-layout {
  background: #f3f7fc;
}
.point-layout .sidebar {
  background: #0f172a;
  border-right: 1px solid rgba(255,255,255,.06);
}
.point-layout .side-logo {
  width: 174px;
  height: 84px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15,23,42,.18);
}
.point-layout .user-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.point-layout nav a {
  color: #dbeafe;
  font-weight: 850;
}
.point-layout nav a.active,
.point-layout nav a:hover {
  background: #2563eb;
  box-shadow: 0 8px 18px rgba(37,99,235,.24);
}
.point-content {
  background: #f3f7fc;
  padding: 22px 24px 28px;
}
.module-topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.module-topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.module-topbar-brand img {
  width: 90px;
  height: 42px;
  object-fit: contain;
}
.module-topbar-brand strong {
  display: block;
  font-size: 15px;
  color: #0f172a;
}
.module-topbar-brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.module-topbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.module-topbar-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 9px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}
.module-topbar-actions a:hover {
  background: #dbeafe;
  color: #1d4ed8;
}
.point-layout .page-head:not(.premium-hero),
.point-layout .premium-page-head {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.point-layout .page-head h1 {
  font-size: 30px;
  color: #0b1220;
}
.point-layout .page-head p {
  color: #52637a;
}
.point-layout .panel,
.point-layout .metric-strip article,
.point-layout .dashboard-action-card,
.point-layout .premium-card {
  border-color: #dbe7f2;
}
.point-layout .panel,
.point-layout .premium-table-panel,
.point-layout .premium-card {
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.point-layout .metric-strip article {
  min-height: 112px;
  border-radius: 16px;
  background: #fff;
}
.point-layout .metric-strip span {
  letter-spacing: .04em;
}
.point-layout .metric-strip strong {
  color: #2563eb;
}
.point-layout .compact-title-row h2,
.point-layout .panel-title h2 {
  color: #0f172a;
}
.point-layout .compact-title-row p,
.point-layout .panel-title p {
  color: #52637a;
}
.point-layout .enterprise-table th {
  background: #f1f5f9;
}
.point-layout .enterprise-table,
.point-layout .modern-table {
  border-radius: 13px;
}
.point-layout input,
.point-layout select,
.point-layout textarea {
  border-color: #d6dee9;
}
@media (max-width: 980px) {
  .point-content { padding: 14px; }
  .module-topbar { align-items: flex-start; flex-direction: column; }
  .module-topbar-actions { width: 100%; }
  .module-topbar-actions a { flex: 1; }
}


/* Topo com data/relogio e frames no padrão do Painel de Ponto */
.point-module-topbar {
  border: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(96,165,250,.22), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #172033 52%, #1e3a8a 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(15,23,42,.16);
}
.point-module-topbar .module-topbar-brand strong { color: #ffffff; }
.point-module-topbar .module-topbar-brand span { color: #dbeafe; }
.module-topbar-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar-clock-card {
  min-width: 230px;
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 13px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  text-align: right;
}
.topbar-clock-card span {
  color: #dbeafe;
  font-size: 11px;
  font-weight: 850;
  text-transform: capitalize;
}
.topbar-clock-card strong {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: .02em;
}
.point-module-topbar .module-topbar-actions a {
  background: rgba(255,255,255,.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.18);
}
.point-module-topbar .module-topbar-actions a:hover {
  background: rgba(255,255,255,.20);
  color: #ffffff;
}
.point-layout .page-head:not(.premium-hero),
.point-layout .premium-page-head,
.point-layout .panel-title.compact-title-row {
  border-top: 4px solid #1e3a8a;
}
.point-layout .panel-title.compact-title-row {
  margin: -14px -14px 14px;
  padding: 13px 14px 11px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}
.point-layout .premium-card .panel-title.compact-title-row,
.point-layout .premium-table-panel .panel-title.compact-title-row {
  border-top-color: #2563eb;
}
@media (max-width: 980px) {
  .module-topbar-status { width: 100%; justify-content: stretch; }
  .topbar-clock-card { width: 100%; text-align: left; }
  .point-module-topbar .module-topbar-actions { width: 100%; }
  .point-module-topbar .module-topbar-actions a { flex: 1; }
}


/* Correção visual: topo gelo, frames principais no padrão Painel de Ponto */
.point-module-topbar {
  border: 1px solid #dbe7f2 !important;
  background: rgba(255,255,255,.94) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.05) !important;
}
.point-module-topbar .module-topbar-brand strong { color: #0f172a !important; }
.point-module-topbar .module-topbar-brand span { color: #64748b !important; }
.topbar-clock-card {
  background: #f8fbff !important;
  border: 1px solid #dbe7f2 !important;
  color: #0f172a !important;
}
.topbar-clock-card span { color: #64748b !important; }
.topbar-clock-card strong { color: #0f172a !important; }
.point-module-topbar .module-topbar-actions a {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e1e8f0 !important;
}
.point-module-topbar .module-topbar-actions a:hover {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
}
.point-layout .premium-page-head,
.point-layout .page-head.standard-head:not(.point-admin-head),
.point-layout .point-admin-head:not(.premium-hero) {
  border: 0 !important;
  background:
    radial-gradient(circle at 88% 18%, rgba(96,165,250,.22), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #172033 52%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 42px rgba(15,23,42,.14) !important;
}
.point-layout .premium-page-head .eyebrow,
.point-layout .page-head.standard-head:not(.point-admin-head) .eyebrow,
.point-layout .point-admin-head:not(.premium-hero) .eyebrow {
  color: #93c5fd !important;
}
.point-layout .premium-page-head h1,
.point-layout .page-head.standard-head:not(.point-admin-head) h1,
.point-layout .point-admin-head:not(.premium-hero) h1 {
  color: #ffffff !important;
}
.point-layout .premium-page-head p,
.point-layout .page-head.standard-head:not(.point-admin-head) p,
.point-layout .point-admin-head:not(.premium-hero) p {
  color: #d8e5f7 !important;
}
.point-layout .premium-page-head .btn.ghost,
.point-layout .point-admin-head:not(.premium-hero) .btn.ghost {
  background: rgba(255,255,255,.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}
.point-layout .premium-page-head .btn.primary,
.point-layout .point-admin-head:not(.premium-hero) .btn.primary {
  background: #ffffff !important;
  color: #0f172a !important;
}


/* Aprovações compactas */
.compact-approval-hero {
  min-height: 132px;
  padding: 18px 20px;
  grid-template-columns: minmax(0, 1fr) 220px;
}
.compact-approval-hero h1 {
  font-size: 30px;
  margin-bottom: 6px;
}
.compact-approval-hero .hero-score-card {
  min-height: 104px;
  padding: 14px 16px;
}
.compact-approval-hero .hero-score-card strong {
  font-size: 34px;
}
.compact-approval-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.compact-approval-metrics article {
  min-height: 86px !important;
  padding: 12px 14px !important;
}
.compact-approval-metrics strong {
  font-size: 24px !important;
}
.approval-toolbar-panel {
  padding: 12px 14px;
}
.compact-approval-card {
  grid-template-columns: minmax(360px, 1fr) 260px 220px;
  gap: 12px;
  padding: 12px 14px;
  align-items: start;
}
.compact-approval-card .approval-topline strong {
  font-size: 16px;
}
.compact-approval-card .approval-info > span {
  font-size: 12px;
  margin-top: 3px;
}
.compact-approval-details {
  grid-template-columns: 1.3fr .7fr 1fr;
  gap: 8px 12px !important;
  margin-top: 10px !important;
}
.compact-approval-details dt {
  font-size: 10px !important;
}
.compact-approval-details dd {
  font-size: 12px;
  max-height: 38px;
  overflow: hidden;
}
.compact-approval-card textarea {
  min-height: 62px;
}
.compact-approval-card input {
  min-height: 36px;
}
.compact-approval-card .btn {
  min-height: 36px;
}
.compact-approval-card .status-label {
  min-height: 22px;
  font-size: 11px;
}
@media (max-width: 1180px) {
  .compact-approval-card,
  .compact-approval-details { grid-template-columns: 1fr; }
  .compact-approval-hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .compact-approval-metrics { grid-template-columns: 1fr; }
}


/* Aprovações: devolver cor ao frame principal */
.point-layout .compact-approval-hero {
  border: 0 !important;
  background:
    radial-gradient(circle at 88% 18%, rgba(248,113,113,.24), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #172033 50%, #7f1d1d 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 42px rgba(15,23,42,.14) !important;
}
.point-layout .compact-approval-hero .eyebrow { color: #fecaca !important; }
.point-layout .compact-approval-hero h1 { color: #ffffff !important; }
.point-layout .compact-approval-hero p { color: #fee2e2 !important; }
.point-layout .compact-approval-hero .warning-score {
  background: rgba(255,255,255,.13) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  box-shadow: none !important;
}
.point-layout .compact-approval-hero .warning-score span,
.point-layout .compact-approval-hero .warning-score small { color: #fee2e2 !important; }
.point-layout .compact-approval-hero .warning-score strong { color: #ffffff !important; }


/* Fechamento empresarial */
.closure-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 16px;
  align-items: stretch;
}
.closure-status-card {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border-radius: 15px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.20);
}
.closure-status-card span {
  color: #dbeafe;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.closure-status-card strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}
.closure-status-card small { color: #eaf2ff; }
.closure-status-card.ready { background: rgba(5,150,105,.24); }
.closure-status-card.checking { background: rgba(217,119,6,.22); }
.closure-period-panel {
  grid-template-columns: 220px auto auto 1fr;
  align-items: end;
}
.closure-workflow-grid {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
  gap: 14px;
  margin-bottom: 14px;
}
.closure-checklist-panel,
.closure-enterprise-panel {
  border-radius: 18px;
}
.closure-checklist {
  display: grid;
  gap: 9px;
}
.checklist-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid #e6edf6;
  border-radius: 14px;
  background: #fff;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.checklist-item:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}
.checklist-item > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 950;
}
.checklist-item.ok > span { background: #dcfce7; color: #166534; }
.checklist-item.attention > span { background: #fef2f2; color: #b91c1c; }
.checklist-item strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
}
.checklist-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}
.closure-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.closure-kpi-grid article {
  min-height: 112px;
  padding: 14px;
  border: 1px solid #dbe7f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}
.closure-kpi-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.closure-kpi-grid strong {
  display: block;
  margin-top: 8px;
  color: #2563eb;
  font-size: 26px;
  line-height: 1;
}
.closure-kpi-grid small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}
.closure-lock-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.closure-enterprise-panel .closure-table { min-width: 980px; }
@media (max-width: 1180px) {
  .closure-head,
  .closure-workflow-grid { grid-template-columns: 1fr; }
  .closure-period-panel { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .closure-kpi-grid { grid-template-columns: 1fr; }
}


/* Fechamento assistido: status, não botão */
.closure-mode-note {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 13px;
  background: #eff6ff;
  color: #1e3a8a;
}
.closure-mode-note strong {
  font-size: 13px;
  font-weight: 950;
}
.closure-mode-note small {
  color: #475569;
  line-height: 1.35;
}


/* Acabamento premium: filtros, ficha e revisão */
.table-tools {
  flex-wrap: wrap;
}
.table-tools .active-filter {
  background: #2563eb !important;
  color: #fff !important;
}
.detail-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.detail-grid div {
  padding: 12px;
  border: 1px solid #e1e8f0;
  border-radius: 13px;
  background: #f8fbff;
}
.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.detail-grid strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.detail-grid .wide-field {
  grid-column: 1 / -1;
}
.approval-review-panel {
  border-radius: 18px;
}
.review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .detail-grid,
  .review-grid { grid-template-columns: 1fr; }
}


/* RH completo */
.rh-complete-form {
  max-width: 1280px;
}
.rh-complete-form .form-section {
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
}
.rh-complete-form .section-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid #e6edf6;
}
.rh-complete-form .section-heading h2 {
  color: #0f172a;
}
.rh-complete-form .form-grid-3 {
  margin-top: 14px;
}
.rh-complete-form textarea {
  min-height: 76px;
}
.benefits-grid {
  grid-template-columns: minmax(240px, 1.2fr) minmax(180px, .9fr) minmax(180px, 1fr) 130px;
}
.rh-record-form input[type="file"] {
  padding: 9px 12px;
}
@media (max-width: 1100px) {
  .benefits-grid { grid-template-columns: 1fr; }
}


/* RH - padrão premium com relógio/data */
.rh-layout {
  background: #f3f7fc;
}
.rh-content {
  background: #f3f7fc;
  padding: 22px 24px 28px;
}
.rh-module-topbar {
  border: 1px solid #dbe7f2;
  background: rgba(255,255,255,.94);
  color: #0f172a;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.rh-module-topbar .module-topbar-brand strong { color: #0f172a; }
.rh-module-topbar .module-topbar-brand span { color: #64748b; }
.rh-module-topbar .topbar-clock-card {
  background: #f8fbff;
  border: 1px solid #dbe7f2;
}
.rh-module-topbar .topbar-clock-card span { color: #64748b; }
.rh-module-topbar .topbar-clock-card strong { color: #0f172a; }
.rh-module-topbar .module-topbar-actions a {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e1e8f0;
}
.rh-module-topbar .module-topbar-actions a:hover {
  background: #d1fae5;
  color: #047857;
}
.rh-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 18%, rgba(16,185,129,.26), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #10231f 52%, #047857 100%);
  color: #fff;
  box-shadow: 0 22px 54px rgba(15,23,42,.18);
}
.rh-hero .eyebrow { color: #a7f3d0; }
.rh-hero h1 {
  margin: 2px 0 8px;
  color: #fff;
  font-size: 38px;
  line-height: 1.05;
}
.rh-hero p {
  max-width: 680px;
  margin: 0;
  color: #d7f8e8;
  line-height: 1.52;
}
.rh-hero .btn.primary {
  background: #fff;
  color: #0f172a;
}
.rh-hero .btn.ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.rh-hero-score {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.20);
}
.rh-hero-score span {
  color: #d1fae5;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.rh-hero-score strong {
  color: #fff;
  font-size: 46px;
  line-height: 1;
}
.rh-hero-score small { color: #e7fff3; }
.rh-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.rh-action-card {
  position: relative;
  min-height: 154px;
  display: grid;
  align-content: space-between;
  gap: 9px;
  padding: 18px;
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.rh-action-card:hover {
  transform: translateY(-3px);
  border-color: #bbf7d0;
  box-shadow: 0 20px 44px rgba(15,23,42,.10);
}
.rh-action-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 4px;
  background: #059669;
  border-radius: 0 0 999px 999px;
}
.rh-action-card span {
  color: #52637a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.rh-action-card strong {
  color: #059669;
  font-size: 38px;
  line-height: 1;
}
.rh-action-card small { color: var(--muted); font-weight: 800; }
.rh-action-card b {
  width: max-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 900;
}
.rh-action-card.docs strong { color: #2563eb; }
.rh-action-card.docs b { background: #eff6ff; color: #1d4ed8; }
.rh-action-card.occ strong { color: #dc2626; }
.rh-action-card.occ b { background: #fef2f2; color: #b91c1c; }
.rh-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 14px;
}
.rh-premium-card {
  border-radius: 18px;
  border-color: #dbe7f2;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.rh-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rh-shortcut-grid a {
  min-height: 76px;
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid #e6edf6;
  border-radius: 14px;
  background: #fbfdff;
}
.rh-shortcut-grid strong { color: #0f172a; }
.rh-shortcut-grid span { color: var(--muted); line-height: 1.35; }
.rh-recent-list { display: grid; gap: 9px; }
.rh-recent-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #e6edf6;
  border-radius: 14px;
  background: #fff;
}
.rh-recent-item strong { color: #0f172a; }
.rh-recent-item small { color: var(--muted); }
@media (max-width: 1180px) {
  .rh-hero,
  .rh-workspace-grid { grid-template-columns: 1fr; }
  .rh-dashboard-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rh-content { padding: 14px; }
  .rh-dashboard-actions,
  .rh-shortcut-grid { grid-template-columns: 1fr; }
  .rh-hero { padding: 18px; }
  .rh-hero h1 { font-size: 30px; }
  .rh-recent-item { grid-template-columns: auto 1fr; }
  .rh-recent-item .status-label { grid-column: 1 / -1; width: max-content; }
}

/* RH - dashboard executivo */
.refined-rh-hero {
  min-height: 210px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.22), transparent 24%),
    linear-gradient(135deg, #071733 0%, #102a25 55%, #059669 100%);
}
.refined-rh-score {
  min-height: 150px;
}
.refined-rh-score strong {
  font-size: 42px;
}
.rh-executive-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.rh-kpi-card {
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 15px;
  border: 1px solid #dbe7f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
  transition: transform .16s ease, box-shadow .16s ease;
}
.rh-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15,23,42,.09);
}
.rh-kpi-card span {
  color: #52637a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.rh-kpi-card strong {
  color: #059669;
  font-size: 31px;
  line-height: 1;
}
.rh-kpi-card small {
  color: #52637a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.rh-kpi-card.docs strong,
.rh-kpi-card.train strong { color: #2563eb; }
.rh-kpi-card.warning strong { color: #d97706; }
.rh-kpi-card.occ strong { color: #dc2626; }
.rh-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 14px;
  margin-bottom: 14px;
}
.rh-people-chart,
.rh-alert-board {
  min-height: 250px;
}
.rh-department-bars {
  display: grid;
  gap: 13px;
  margin-top: 10px;
}
.rh-department-bars div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
}
.rh-department-bars span {
  color: #334155;
  font-weight: 900;
}
.rh-department-bars strong {
  color: #0f172a;
}
.rh-department-bars i {
  grid-column: 1 / -1;
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf6;
}
.rh-department-bars i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #059669, #2563eb);
}
.risk-chip {
  min-width: 42px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
}
.risk-chip.ok {
  background: #dcfce7;
  color: #047857;
}
.risk-chip.danger {
  background: #fee2e2;
  color: #b91c1c;
}
.rh-alert-list {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}
.rh-alert-list a {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #e6edf6;
  border-radius: 13px;
  background: #f8fbff;
}
.rh-alert-list strong {
  color: #071733;
}
.rh-alert-list span {
  color: #52637a;
  font-size: 12px;
  font-weight: 800;
}
.refined-rh-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
}
.refined-rh-shortcuts a {
  min-height: 86px;
}
.polished-recent-list .rh-recent-item {
  min-height: 66px;
}
@media (max-width: 1280px) {
  .rh-executive-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .rh-overview-grid,
  .refined-rh-workspace {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .rh-executive-kpis {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .rh-executive-kpis {
    grid-template-columns: 1fr;
  }
}


/* RH - alerta de férias */
.rh-vacation-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, .46);
  backdrop-filter: blur(8px);
}
.rh-vacation-modal.is-hidden {
  display: none;
}
.rh-vacation-modal section {
  position: relative;
  width: min(560px, 100%);
  padding: 24px;
  border: 1px solid rgba(187, 247, 208, .82);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(16, 185, 129, .18), transparent 28%),
    #ffffff;
  box-shadow: 0 32px 80px rgba(15, 23, 42, .28);
}
.rh-vacation-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}
.rh-vacation-modal .modal-eyebrow {
  color: #059669;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rh-vacation-modal h2 {
  margin: 7px 42px 8px 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.1;
}
.rh-vacation-modal p {
  margin: 0 0 16px;
  color: #52637a;
  line-height: 1.45;
}
.vacation-alert-list {
  display: grid;
  gap: 9px;
  max-height: 310px;
  overflow: auto;
  padding-right: 4px;
}
.vacation-alert-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #059669;
  border-radius: 16px;
  background: #fbfdff;
}
.vacation-alert-item.programada {
  border-left-color: #2563eb;
}
.vacation-alert-item strong {
  display: block;
  color: #0f172a;
}
.vacation-alert-item small {
  display: block;
  margin-top: 3px;
  color: #52637a;
}
.vacation-alert-item span {
  min-width: 92px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.vacation-alert-item.programada span {
  background: #eff6ff;
  color: #1d4ed8;
}
.vacation-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.vacation-modal-actions .btn {
  min-height: 42px;
}
@media (max-width: 620px) {
  .rh-vacation-modal { align-items: end; padding: 12px; }
  .rh-vacation-modal section { padding: 20px; border-radius: 20px; }
  .vacation-alert-item { grid-template-columns: 1fr; }
  .vacation-alert-item span { width: max-content; }
  .vacation-modal-actions { flex-direction: column; }
}


/* RH - ficha completa em abas */
.rh-profile-head {
  align-items: center;
}
.rh-profile-form {
  padding: 18px;
}
.rh-profile-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  background:
    radial-gradient(circle at 94% 12%, rgba(16, 185, 129, .18), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.rh-profile-summary .profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 22px;
}
.rh-profile-summary h2 {
  margin: 4px 0 4px;
  color: #0f172a;
  font-size: 25px;
}
.rh-profile-summary p {
  margin: 0;
  color: #52637a;
}
.profile-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.profile-summary-chips span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4ed8;
  font-weight: 900;
  font-size: 12px;
}
.profile-summary-chips .ok-chip {
  background: #dcfce7;
  color: #047857;
}
.profile-summary-chips .danger-chip {
  background: #fee2e2;
  color: #b91c1c;
}
.employee-resume-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}
.employee-resume-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.employee-resume-head h2 {
  margin: 3px 0 0;
  color: #071733;
  font-size: 18px;
}
.resume-profile-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}
.employee-resume-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}
.resume-item {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid #e6edf6;
  border-radius: 15px;
  background: #f8fbff;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.resume-item:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}
.resume-item span {
  color: #52637a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.resume-item strong {
  color: #2563eb;
  font-size: 28px;
  line-height: 1;
}
.resume-item small {
  color: #52637a;
  font-size: 11px;
  font-weight: 800;
}
.resume-item.warning {
  background: #fffbeb;
  border-color: #fde68a;
}
.resume-item.warning strong {
  color: #d97706;
}
.resume-item.danger {
  background: #fff5f5;
  border-color: #fecaca;
}
.resume-item.danger strong {
  color: #dc2626;
}
.rh-profile-tabs {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  margin: 14px 0;
  border: 1px solid #dbe7f2;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}
.rh-profile-tabs button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  padding: 10px 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}
.rh-profile-tabs button.active {
  background: #059669;
  color: #fff;
  box-shadow: 0 10px 24px rgba(5, 150, 105, .22);
}
.rh-tab-panel {
  display: none;
}
.rh-tab-panel.active {
  display: grid;
  gap: 14px;
}
.rh-linked-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  background:
    radial-gradient(circle at 96% 20%, rgba(16, 185, 129, .12), transparent 30%),
    #fff;
}
.rh-linked-section h2 {
  margin: 0 0 6px;
  color: #0f172a;
}
.rh-linked-section p {
  max-width: 620px;
  margin: 0;
  color: #52637a;
  line-height: 1.5;
}
@media (max-width: 820px) {
  .rh-profile-summary,
  .rh-linked-section {
    grid-template-columns: 1fr;
  }
  .profile-summary-chips {
    justify-content: flex-start;
  }
  .rh-profile-tabs {
    top: 0;
  }
}
@media (max-width: 1180px) {
  .employee-resume-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .employee-resume-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .employee-resume-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* RH - recibos de cesta básica */
.basket-receipt-panel {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(360px, 1.2fr) minmax(230px, .75fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  border-color: #bbf7d0;
  background:
    radial-gradient(circle at 95% 12%, rgba(16, 185, 129, .16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7fffb 100%);
}
.basket-receipt-copy h2 {
  margin: 6px 0 8px;
  color: #0f172a;
  font-size: 25px;
}
.basket-receipt-copy p {
  margin: 0;
  color: #52637a;
  line-height: 1.48;
}
.basket-receipt-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}
.basket-receipt-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-weight: 900;
  font-size: 12px;
}
.basket-receipt-form label:nth-child(3),
.basket-receipt-form button {
  grid-column: 1 / -1;
}
.basket-receipt-form input,
.basket-receipt-form select {
  min-height: 42px;
  border: 1px solid #dbe7f2;
  border-radius: 11px;
  padding: 0 11px;
  background: #fff;
  color: #0f172a;
}
.basket-receipt-form small {
  color: #64748b;
  font-weight: 700;
}
.receipt-history {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid #dbe7f2;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
}
.receipt-history > strong {
  color: #0f172a;
  font-size: 13px;
}
.receipt-history div {
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e6edf6;
}
.receipt-history span,
.receipt-history small {
  display: block;
}
.receipt-history span {
  color: #0f172a;
  font-weight: 900;
}
.receipt-history small {
  margin-top: 2px;
  color: #52637a;
}
@media (max-width: 1180px) {
  .basket-receipt-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .basket-receipt-form {
    grid-template-columns: 1fr;
  }
}

.receipt-empty-hint {
  grid-column: 1 / -1;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 11px;
  padding: 9px 11px;
  font-weight: 800;
}
.basket-receipt-form button:disabled {
  opacity: .55;
  cursor: not-allowed;
}


/* RH - envio rápido de recibos */
.receipt-share-panel {
  margin-bottom: 14px;
}
.receipt-share-list {
  display: grid;
  gap: 10px;
}
.receipt-share-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  background: #fbfdff;
}
.receipt-share-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.receipt-share-actions .mini-btn:first-child {
  background: #dcfce7;
  color: #047857;
}
.receipt-share-actions .mini-btn:nth-child(2) {
  background: #eff6ff;
  color: #1d4ed8;
}
.disabled-link {
  opacity: .48;
  pointer-events: none;
  filter: grayscale(1);
}
@media (max-width: 760px) {
  .receipt-share-item {
    grid-template-columns: 1fr;
  }
  .receipt-share-actions {
    justify-content: flex-start;
  }
}


/* Assinatura do sistema */
.app-signature {
  margin-top: auto;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.74);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}
.app-signature span {
  color: rgba(255,255,255,.52);
  font-size: 9px;
}


/* RH - Obra e Terceiros */
.module-third .module-icon {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}
.third-party-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(251, 146, 60, .28), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #1f2937 48%, #9a3412 100%);
}
.warning-score {
  background: rgba(251, 146, 60, .16);
}
.third-party-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 13px 16px;
  border: 1px solid #fde68a;
  border-radius: 16px;
  background: #fffbeb;
  color: #92400e;
}
.third-party-notice strong {
  color: #78350f;
}
.third-party-metrics .rh-action-card:nth-child(2)::after { background: #2563eb; }
.third-party-metrics .rh-action-card:nth-child(3)::after { background: #dc2626; }
.third-party-metrics .rh-action-card:nth-child(4)::after { background: #059669; }
.third-party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.third-party-grid.wide-grid {
  align-items: start;
}
.third-party-form {
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.payment-request-panel,
.payment-approval-panel {
  margin-bottom: 14px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.payment-request-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.payment-request-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}
.payment-request-form input,
.payment-request-form select,
.payment-request-form textarea {
  min-height: 42px;
  border: 1px solid #dbe7f2;
  border-radius: 11px;
  padding: 9px 11px;
  background: #fff;
  color: #0f172a;
}
.payment-request-form textarea {
  min-height: 78px;
}
.payment-request-form .wide-field,
.payment-request-form button {
  grid-column: 1 / -1;
}
.payment-card-list {
  display: grid;
  gap: 12px;
}
.payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .75fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid #e6edf6;
  border-left: 5px solid #f59e0b;
  border-radius: 18px;
  background: #fbfdff;
}
.payment-card h3 {
  margin: 8px 0 4px;
  color: #0f172a;
}
.payment-card p,
.payment-card small {
  color: #52637a;
}
.payment-card blockquote {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #f59e0b;
  border-radius: 10px;
  background: #fff7ed;
  color: #7c2d12;
}
.payment-card form {
  display: grid;
  gap: 9px;
}
.payment-card textarea {
  width: 100%;
  min-height: 92px;
  border: 1px solid #dbe7f2;
  border-radius: 12px;
  padding: 10px 12px;
}
.approval-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.status-warn {
  background: #fef3c7;
  color: #92400e;
}
.btn.danger {
  background: #dc2626;
  color: #fff;
}
@media (max-width: 1180px) {
  .third-party-grid,
  .payment-card,
  .payment-request-form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .third-party-notice {
    grid-template-columns: 1fr;
  }
  .approval-actions {
    grid-template-columns: 1fr;
  }
}


/* Ponto - frames mais compactos e telas de apuração/folha */
.point-content > .page-head,
.point-content > .panel,
.point-content > form,
.point-content > section {
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
}
.compact-head {
  min-height: 132px;
  padding: 22px 24px;
}
.compact-filter {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
}
.compact-filter label {
  min-width: 220px;
}
.compact-filter input,
.compact-filter select {
  min-height: 40px;
}
.compact-table-panel {
  padding: 14px 16px;
  border-radius: 16px;
}
.apuracao-status-card {
  min-width: 230px;
  padding: 16px;
  border-radius: 16px;
  color: #fff;
}
.apuracao-status-card span,
.apuracao-status-card small { display: block; opacity: .9; font-weight: 800; }
.apuracao-status-card strong { display: block; font-size: 32px; line-height: 1.1; }
.apuracao-status-card.ok { background: #059669; }
.apuracao-status-card.warning { background: #d97706; }
.apuracao-status-card.danger { background: #dc2626; }
.apuracao-profile-panel {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  max-width: 1520px;
  margin: 0 auto 14px;
}
.apuracao-employee-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
}
.big-initial {
  width: 58px;
  height: 58px;
  font-size: 22px;
}
.apuracao-employee-card h2 {
  margin: 0 0 4px;
  color: #0f172a;
}
.apuracao-employee-card p,
.apuracao-employee-card small {
  margin: 0;
  color: #52637a;
}
.apuracao-kpis,
.payroll-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.payroll-kpi-grid {
  max-width: 1520px;
  margin: 0 auto 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.apuracao-kpis article,
.payroll-kpi-grid article {
  padding: 16px;
  border: 1px solid #dbe7f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
}
.apuracao-kpis span,
.payroll-kpi-grid span {
  display: block;
  color: #52637a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.apuracao-kpis strong,
.payroll-kpi-grid strong {
  display: block;
  margin-top: 5px;
  color: #2563eb;
  font-size: 28px;
}
.apuracao-kpis small,
.payroll-kpi-grid small { color: #64748b; }
.apuracao-status-strip {
  display: flex;
  gap: 10px;
  padding: 12px;
}
.status-shortcut,
.day-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
}
.status-shortcut {
  min-width: 150px;
  padding: 10px 14px;
}
.status-shortcut strong { font-size: 22px; }
.status-shortcut.ok,
.day-status.ok { background: #dcfce7; color: #047857; }
.status-shortcut.attention,
.day-status.attention { background: #fef3c7; color: #92400e; }
.status-shortcut.pending,
.day-status.pending { background: #fee2e2; color: #b91c1c; }
.day-status {
  padding: 7px 10px;
  font-size: 12px;
}
.day-status span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
}
.apuracao-table th,
.apuracao-table td,
.payroll-table th,
.payroll-table td {
  font-size: 12px;
  padding: 9px 8px;
}
.approval-mini-list {
  display: grid;
  gap: 8px;
}
.approval-mini-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e6edf6;
  border-radius: 12px;
  background: #fbfdff;
}
.payroll-benefits-panel {
  padding: 14px 16px;
}
.benefit-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.benefit-pill-row span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 900;
}
.benefit-pill-row strong {
  font-size: 18px;
}
@media (max-width: 1180px) {
  .apuracao-profile-panel,
  .apuracao-kpis,
  .payroll-kpi-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .compact-filter label { min-width: 100%; }
  .apuracao-status-strip { flex-direction: column; }
  .approval-mini-list a { flex-direction: column; }
}


/* Apuração Individual - refinamento premium */
.point-content > .page-head,
.point-content > .panel,
.point-content > form,
.point-content > section {
  width: min(1440px, calc(100vw - 280px));
}
.compact-head,
.apuracao-profile-panel > .panel,
.apuracao-kpis article,
.payroll-kpi-grid article,
.apuracao-insights-panel,
.apuracao-action-panel,
.compact-table-panel {
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.coverage-bar {
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  overflow: hidden;
}
.coverage-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}
.refined-apuracao-profile {
  grid-template-columns: minmax(420px, .95fr) minmax(0, 1.05fr);
}
.refined-employee-card {
  min-height: 142px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 94% 12%, rgba(37,99,235,.10), transparent 28%),
    #fff;
}
.profile-photo-frame {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dbeafe;
  background: #eff6ff;
}
.profile-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.employee-card-info h2 {
  font-size: 24px;
  line-height: 1.1;
}
.employee-card-badges {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.employee-card-badges span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}
.refined-kpis article {
  min-height: 142px;
  display: grid;
  align-content: center;
}
.apuracao-insights-panel {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}
.apuracao-insights-panel .status-shortcut {
  min-width: 0;
  min-height: 70px;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.status-shortcut.neutral {
  background: #eef6ff;
  color: #1d4ed8;
}
.apuracao-action-panel {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}
.apuracao-action-panel strong,
.apuracao-action-panel span {
  display: block;
}
.apuracao-action-panel strong {
  color: #0f172a;
  font-size: 16px;
}
.apuracao-action-panel span {
  color: #52637a;
  margin-top: 3px;
}
.apuracao-table tbody tr:hover,
.payroll-table tbody tr:hover {
  background: #f8fbff;
}
.apuracao-table th:first-child,
.apuracao-table td:first-child {
  width: 108px;
}
@media (max-width: 1280px) {
  .point-content > .page-head,
  .point-content > .panel,
  .point-content > form,
  .point-content > section {
    width: min(100%, calc(100vw - 248px));
  }
  .apuracao-insights-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .refined-apuracao-profile { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .point-content > .page-head,
  .point-content > .panel,
  .point-content > form,
  .point-content > section {
    width: 100%;
  }
  .refined-employee-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .employee-card-badges {
    justify-items: start;
  }
  .apuracao-insights-panel { grid-template-columns: 1fr 1fr; }
  .apuracao-action-panel { flex-direction: column; align-items: stretch; }
}


/* Aprovações - filtro por colaborador */
.approval-employee-filter {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6edf6;
}
.approval-employee-filter label {
  min-width: 320px;
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}
.approval-employee-filter select {
  min-height: 40px;
  border: 1px solid #dbe7f2;
  border-radius: 11px;
  padding: 0 11px;
  background: #fff;
}
@media (max-width: 760px) {
  .approval-employee-filter label { min-width: 100%; }
}

/* Correção de apuração */
.correction-head {
  align-items: center;
}
.correction-status-card {
  min-width: 190px;
  padding: 18px 20px;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}
.correction-status-card.warning {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.correction-status-card.ready {
  background: linear-gradient(135deg, #059669, #10b981);
}
.correction-status-card span,
.correction-status-card small {
  display: block;
  font-size: 12px;
  font-weight: 900;
  opacity: .9;
}
.correction-status-card strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 30px;
  line-height: 1;
}
.correction-alert {
  width: min(100%, 1280px);
  margin: 0 auto 14px;
}
.correction-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 14px;
}
.correction-person-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 132px;
}
.correction-person-card h2 {
  margin: 3px 0 4px;
  font-size: 24px;
  color: #071733;
}
.correction-person-card p,
.correction-person-card small {
  color: #52637a;
  font-weight: 700;
}
.correction-missing-card {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 12px;
}
.correction-missing-card > span {
  color: #52637a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.missing-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.missing-pill-row strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: #fff7ed;
  color: #b45309;
  font-size: 12px;
  font-weight: 900;
}
.missing-pill-row.ok strong {
  background: #dcfce7;
  color: #047857;
}
.correction-form {
  margin-top: 14px;
}
.correction-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.correction-form-grid label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}
.correction-form-grid input,
.correction-form-grid select,
.correction-form-grid textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dbe7f2;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}
.correction-form-grid textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}
.correction-form-grid small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}
.correction-form-grid .missing-field input {
  border-color: #f59e0b;
  background: #fffaf0;
}
.wide-field {
  grid-column: 1 / -1;
}
.correction-audit-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
  color: #475569;
  font-size: 13px;
}
.abono-saldo-box {
  padding: 13px 14px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: #fffbeb;
}
.abono-saldo-box > span {
  color: #92400e;
  font-weight: 900;
}
.abono-saldo-box .checkline {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: #78350f;
  font-size: 13px;
  font-weight: 900;
}
.abono-saldo-box input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
}
@media (max-width: 980px) {
  .correction-summary-grid,
  .correction-form-grid {
    grid-template-columns: 1fr;
  }
  .correction-status-card {
    width: 100%;
  }
}
