.hr-page {
  max-width: 1220px;
  margin: auto;
  padding: 22px;
  color: var(--text, #29213a);
}
.hr-activation {
  margin: 22px 0;
  padding: 24px;
  border: 1px solid #ddd3eb;
  border-radius: 16px;
  background: #fff;
}
.hr-activation-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.hr-activation-head h3 {
  margin: 6px 0;
  font-size: 22px;
}
.hr-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #72349e;
}
.hr-indicators {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-block: 1px solid #eee;
  margin: 18px 0;
}
.hr-indicators div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hr-indicators strong {
  font-size: 30px;
  color: #5b287e;
}
.hr-indicators span,
.hr-setup-list {
  color: #62586e;
  font-size: 14px;
}
.hr-setup-list {
  padding-left: 20px;
  line-height: 1.7;
}
.hr-recovery {
  margin-top: 16px;
}
.hr-recovery label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}
.hr-recovery input,
.hr-recovery select {
  padding: 10px;
  border: 1px solid #cfc4dc;
  border-radius: 8px;
}
@media (max-width: 650px) {
  .hr-activation {
    padding: 16px;
  }
  .hr-activation-head {
    flex-direction: column;
  }
  .hr-indicators {
    gap: 20px;
  }
  .hr-indicators strong {
    font-size: 26px;
  }
}
.hr-page h2 {
  font-size: 24px;
  margin: 0 0 8px;
}
.hr-page p {
  line-height: 1.5;
}
.hr-warning {
  border-left: 4px solid #e88a32;
  background: #fff5e9;
  padding: 12px 16px;
  margin-bottom: 18px;
}
.hr-toolbar,
.hr-filters,
.hr-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 14px 0;
}
.hr-tabs {
  display: flex;
  gap: 4px;
  overflow: auto;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.hr-tabs button {
  white-space: nowrap;
  border: 0;
  padding: 10px 14px;
  background: transparent;
  color: #5e4778;
  border-radius: 8px;
  cursor: pointer;
}
.hr-tabs button[aria-selected="true"] {
  background: var(--p800, #542181);
  color: white;
}
.hr-panel {
  margin-top: 20px;
  background: white;
  border: 1px solid #e5dfec;
  border-radius: 14px;
  padding: 20px;
}
.hr-panel h3 {
  margin-top: 0;
}
.hr-table-wrap {
  overflow: auto;
}
.hr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hr-table th,
.hr-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.hr-table th {
  font-weight: 600;
  color: #654d80;
}
.hr-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.hr-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
}
.hr-form input,
.hr-form select,
.hr-form textarea,
.hr-filters input,
.hr-filters select {
  border: 1px solid #cfc4dc;
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: #29213a;
  min-width: 0;
  font: inherit;
}
.hr-form textarea {
  min-height: 100px;
}
.hr-wide {
  grid-column: 1/-1;
}
.hr-form button {
  justify-self: start;
}
.hr-video {
  width: min(100%, 360px);
  max-height: 350px;
  object-fit: cover;
  border-radius: 12px;
  background: #241433;
}
.hr-selfie {
  max-width: 180px;
  border-radius: 12px;
}
.hr-status {
  padding: 4px 8px;
  border-radius: 5px;
  background: #f1edf8;
  display: inline-block;
}
.hr-error {
  color: #9d2137;
  padding: 12px;
  border: 1px solid #f0c1cd;
  border-radius: 8px;
}
.hr-summary {
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.hr-empty {
  padding: 24px 0;
  color: #6d627a;
}
.hr-page button:focus-visible,
.hr-page a:focus-visible,
.hr-page input:focus-visible {
  outline: 3px solid #a877d4;
  outline-offset: 3px;
}
.hr-page .btn {
  cursor: pointer;
}
.hr-section-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.hr-section-nav button {
  border: 1px solid #cfc4dc;
  border-radius: 8px;
  padding: 9px 12px;
  background: white;
  cursor: pointer;
}
.hr-section-nav button[aria-pressed="true"] {
  border-color: #632997;
  color: #632997;
  font-weight: 600;
}
@media (max-width: 650px) {
  .hr-page {
    padding: 14px 8px;
  }
  .hr-form {
    grid-template-columns: 1fr;
  }
  .hr-panel {
    padding: 14px;
  }
  .hr-filters > * {
    width: 100%;
  }
  .hr-table td,
  .hr-table th {
    padding: 10px 7px;
  }
  .hr-actions .btn {
    min-height: 44px;
  }
  .hr-section-nav {
    flex-wrap: wrap;
  }
}
/* Purple RH: interface inspirada na referência móvel fornecida. */
.hr-redesign { --hr-accent:#7125db; max-width:1220px; padding:0; background:#f6f5fa; border-radius:28px; overflow:clip; box-shadow:0 16px 60px #3010520a; color:#292333; }
.hr-redesign svg { width:23px; height:23px; flex-shrink:0; }
.hr-hero { padding:28px 36px 30px; color:#fff; background:radial-gradient(ellipse at 95% 0%,#a14b9b77,transparent 55%),linear-gradient(135deg,#321063 0%,#5710c7 55%,#7619e2 100%); }
.hr-brandline { display:flex; justify-content:space-between; align-items:center; margin-bottom:27px; font-size:12px; letter-spacing:.16em; }
.hr-brandline b { opacity:.68; font-weight:500; }
.hr-unit { font-size:11px; letter-spacing:.04em; opacity:.7; }
.hr-greeting { display:flex; align-items:center; gap:14px; margin-bottom:25px; }
.hr-avatar { display:grid; place-items:center; flex-shrink:0; width:54px; height:54px; border:2px solid #ffffff77; border-radius:50%; background:#ffffff20; font-size:18px; font-weight:750; }
.hr-hero .hr-greeting h2 { color:#fff; font-size:27px; font-weight:750; letter-spacing:-.8px; margin:0 0 6px; }
.hr-hero .hr-greeting p { color:#e9dcff; margin:0; font-size:13px; }
.hr-notification { position:relative; display:grid; place-items:center; margin-left:auto; width:46px; height:46px; background:#ffffff20; border:1px solid #ffffff15; color:white; border-radius:16px; cursor:pointer; }
.hr-notification span { position:absolute; top:-4px; right:-4px; border-radius:10px; background:#ff9b4e; color:#321063; padding:2px 5px; font-size:10px; }
.hr-clock-card { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:21px 24px; border:1px solid #ffffff27; background:#ffffff14; box-shadow:inset 0 1px #ffffff16; border-radius:22px; }
.hr-clock-card>div { display:flex; flex-direction:column; gap:5px; }
.hr-live-clock { font-size:41px; line-height:1.1; font-weight:760; letter-spacing:-1.5px; font-variant-numeric:tabular-nums; }
.hr-clock-card>div>span { color:#e3d1ff; font-size:12px; }
.hr-clock-card>button { display:flex; align-items:center; gap:8px; padding:15px 20px; border:1px solid #ffffff40; border-radius:16px; background:#ffffff23; color:#fff; font-size:14px; font-weight:700; cursor:pointer; }
.hr-hero-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:16px; }
.hr-hero-stats>div { min-width:0; padding:17px 19px; border:1px solid #ffffff1f; border-radius:18px; background:#ffffff12; display:flex; flex-direction:column; gap:6px; }
.hr-hero-stats strong { color:#fff; font-size:25px; letter-spacing:-.6px; }
.hr-hero-stats span { color:#e5d4ff; font-size:12px; }
.hr-body { padding:23px 32px 30px; }
.hr-redesign .hr-warning { border:0; border-radius:10px; background:#eeebf5; padding:10px 13px; color:#786d89; font-size:11px; margin:0 0 18px; }
.hr-redesign .hr-section-nav { gap:6px; padding:4px; background:#eeebf4; width:fit-content; border-radius:13px; }
.hr-redesign .hr-section-nav button { border:0; background:transparent; color:#82768f; border-radius:10px; font-size:12px; }
.hr-redesign .hr-section-nav button[aria-pressed=true] { background:#fff; color:#6426b2; box-shadow:0 3px 8px #32204c0c; }
.hr-redesign .hr-tabs { border:0; gap:5px; padding:8px 0 12px; }
.hr-redesign .hr-tabs button { color:#80758d; border-radius:12px; font-size:12px; }
.hr-redesign .hr-tabs button[aria-selected=true] { background:#eee6fb; color:#7027be; font-weight:700; }
.hr-redesign .hr-filters { padding:14px; border:1px solid #ece8f1; border-radius:16px; background:#ffffff8f; align-items:end; }
.hr-redesign .hr-filters label { font-size:11px; color:#83748f; }
.hr-redesign .hr-filters input,.hr-redesign .hr-filters select { min-width:0; font-size:12px; padding:8px; background:#fff; }
.hr-dashboard { padding:9px 0 0; }
.hr-section-title { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:21px 0 14px; }
.hr-section-title h3 { margin:0; font-size:13px; font-weight:750; text-transform:uppercase; letter-spacing:.07em; color:#706a7b; }
.hr-section-title>span { font-size:11px; color:#a49aac; }
.hr-section-title>button { display:flex; align-items:center; gap:5px; border:0; background:transparent; color:#7728b4; cursor:pointer; font-weight:650; font-size:12px; }
.hr-section-title>button svg { width:15px; height:15px; }
.hr-quick-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.hr-quick-action { display:flex; align-items:center; text-align:left; gap:13px; padding:21px 17px; border:1px solid #fff; border-radius:20px; background:#fff; box-shadow:0 5px 18px #31224905; color:#35303e; font-size:13px; font-weight:700; cursor:pointer; transition:transform .18s,box-shadow .18s; }
.hr-quick-action:hover { transform:translateY(-2px); box-shadow:0 8px 22px #53278212; }
.hr-quick-action>svg { width:15px; margin-left:auto; color:#c6bbd1; }
.hr-action-icon { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; border-radius:13px; background:#f0e9fc; color:#773cce; }
.hr-action-icon.peach { background:#fff0e6; color:#cb8157; }.hr-action-icon.blue { background:#eaf3fc; color:#388bbd; }.hr-action-icon.mint { background:#e8f6ee; color:#439d7b; }
.hr-balance-card { display:flex; align-items:center; gap:30px; background:#fff; border-radius:22px; padding:25px 30px; border:1px solid #fff; }
.hr-donut { width:140px; height:140px; flex-shrink:0; border-radius:50%; background:var(--hr-ring); display:grid; place-items:center; transform:rotate(-15deg); }
.hr-donut>div { display:flex; flex-direction:column; align-items:center; justify-content:center; width:100px; height:100px; border-radius:50%; background:white; transform:rotate(15deg); }
.hr-donut strong { font-size:32px; color:#2e223e; }.hr-donut span { color:#a299ac; font-size:11px; margin-top:2px; }
.hr-balance-bars { display:grid; gap:17px; flex:1; min-width:0; }.hr-balance-bars>div>span { display:flex; justify-content:space-between; font-size:12px; color:#8d8399; margin-bottom:7px; }.hr-balance-bars b { color:#4a4155; }
.hr-progress { height:8px; background:#eeeaf3; border-radius:8px; overflow:hidden; }.hr-progress i { display:block; height:100%; border-radius:8px; }
.hr-redesign .hr-panel,.hr-redesign .hr-activation { border:1px solid #eee9f4; border-radius:22px; box-shadow:0 5px 18px #31224903; padding:24px; }
.hr-redesign .hr-panel>h3 { font-size:17px; color:#42354f; }
.hr-redesign .hr-table { font-size:12px; }.hr-redesign .hr-table th { background:#faf8fd; color:#92829f; font-size:10px; letter-spacing:.05em; text-transform:uppercase; }.hr-redesign .hr-table td { padding-block:16px; }
.hr-redesign .hr-form { gap:16px; }.hr-redesign .hr-form label { font-size:12px; color:#776782; gap:8px; }.hr-redesign input,.hr-redesign select,.hr-redesign textarea { border-color:#e3dbea; border-radius:12px; padding:12px; color:#3f314d; max-width:100%; }
.hr-redesign .btn { border-radius:12px; font-size:12px; padding:11px 16px; }.hr-redesign .btn.primary { background:linear-gradient(120deg,#6520c4,#9228ed); border:0; box-shadow:0 5px 14px #7928d726; color:#fff; }.hr-redesign .btn.secondary { background:#f3eff8; color:#7845a4; border:0; }
.hr-redesign .hr-video { border-radius:20px; background:#29133f; }.hr-redesign .hr-empty { border:1px dashed #e0d6ea; border-radius:14px; padding:24px; text-align:center; color:#9a8ba7; font-size:13px; }
.hr-bottom-nav { display:none; }
@media(max-width:850px) { .hr-quick-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) {
 .hr-redesign { border-radius:25px 25px 0 0; padding:0; width:100%; }
 .hr-hero { padding:24px 20px 23px; }.hr-brandline { margin-bottom:23px; }.hr-unit { font-size:9px; }
 .hr-greeting { gap:10px; margin-bottom:23px; }.hr-avatar { width:44px; height:44px; font-size:14px; }.hr-hero .hr-greeting h2 { font-size:23px; letter-spacing:-.6px; }.hr-hero .hr-greeting p { font-size:11px; }.hr-notification { width:39px; height:39px; border-radius:12px; }
 .hr-clock-card { padding:18px 15px; border-radius:19px; gap:8px; }.hr-live-clock { font-size:34px; }.hr-clock-card>div>span { font-size:10px; }.hr-clock-card>button { font-size:11px; padding:13px 10px; gap:5px; border-radius:13px; }.hr-clock-card>button svg { width:17px; }
 .hr-hero-stats { gap:9px; margin-top:12px; }.hr-hero-stats>div { padding:14px 10px; border-radius:16px; }.hr-hero-stats strong { font-size:23px; }.hr-hero-stats span { font-size:10px; line-height:1.4; }
 .hr-body { padding:16px 18px calc(100px + env(safe-area-inset-bottom,0px)); }.hr-redesign .hr-warning { font-size:9px; line-height:1.5; padding:8px 10px; }
 .hr-section-title>span { display:none; }.hr-section-title h3 { font-size:12px; }.hr-section-title { margin:22px 0 14px; }
 .hr-quick-grid { gap:12px; }.hr-quick-action { padding:18px 12px; min-height:82px; gap:10px; border-radius:18px; font-size:12px; }.hr-quick-action>svg { display:none; }.hr-action-icon { width:37px; height:40px; border-radius:11px; }.hr-action-icon svg { width:21px; }
 .hr-balance-card { padding:20px 15px; gap:18px; border-radius:21px; }.hr-donut { width:110px; height:110px; }.hr-donut>div { width:78px; height:78px; }.hr-donut strong { font-size:28px; }.hr-donut span { font-size:9px; }.hr-balance-bars { gap:15px; }.hr-balance-bars>div>span { font-size:10px; }.hr-progress { height:7px; }
 .hr-redesign .hr-panel,.hr-redesign .hr-activation { padding:17px; border-radius:20px; }.hr-redesign .hr-panel>h3 { font-size:15px; }.hr-redesign .hr-summary { font-size:12px; line-height:1.8; }.hr-redesign .hr-section-nav { width:100%; }.hr-redesign .hr-section-nav button { flex:1; font-size:11px; }
 .hr-redesign .hr-filters { gap:9px; display:grid; grid-template-columns:1fr 1fr; padding:10px; }.hr-redesign .hr-filters>* { width:100%; min-width:0; }.hr-redesign .hr-filters>.btn { grid-column:1/-1; }.hr-redesign .hr-tabs button { font-size:11px; padding:9px 11px; }
 .hr-bottom-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); position:fixed; z-index:45; bottom:0; left:0; right:0; padding:11px 12px calc(10px + env(safe-area-inset-bottom,0px)); background:#ffffffed; backdrop-filter:blur(16px); border-top:1px solid #eee8f5; box-shadow:0 -8px 25px #2c0a4605; }
 .hr-bottom-nav button { display:flex; flex-direction:column; align-items:center; gap:5px; color:#a19aa9; border:0; background:transparent; cursor:pointer; font-size:10px; padding:3px; min-height:44px; }.hr-bottom-nav button[aria-current] { color:#7029bc; font-weight:750; }.hr-bottom-nav svg { width:23px; height:23px; }
}
@media(prefers-reduced-motion:reduce) { .hr-quick-action { transition:none; } }
/* Mobile ergonomics: avoid iOS focus zoom and keep feedback above fixed navigation. */
@media(max-width:650px) {
 .hr-redesign input,.hr-redesign select,.hr-redesign textarea,
 .hr-redesign .hr-filters input,.hr-redesign .hr-filters select { font-size:16px; min-height:46px; }
 .hr-redesign .btn,.hr-redesign .hr-tabs button,.hr-redesign .hr-section-nav button { min-height:44px; }
 .hr-redesign .hr-form textarea { min-height:108px; }
 .hr-redesign .hr-hero .hr-greeting>div { min-width:0; }
 .hr-redesign .hr-hero .hr-greeting h2 { overflow-wrap:anywhere; }
 .hr-redesign .hr-table-wrap { overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
 .hr-redesign .hr-panel { min-width:0; }
 body:has(.hr-page) #toast { bottom:calc(90px + env(safe-area-inset-bottom,0px)); z-index:1100; }
}
/* Fluxo de ponto e gestão simplificados */
.hr-page [hidden] { display:none!important; }
.hr-punch-heading h3 { margin:8px 0; font-size:25px; letter-spacing:-.7px; }
.hr-punch-heading p { color:#8a7b98; font-size:13px; }
.hr-steps { display:flex; gap:8px; list-style:none; padding:0; margin:20px 0; }
.hr-steps li { flex:1; padding:12px 10px; border-radius:12px; background:#f1eafb; color:#7639b1; font-size:12px; font-weight:650; text-align:center; }
.hr-receipt { display:flex; flex-direction:column; gap:8px; padding:20px; border-radius:18px; background:#eaf8ef; border:1px solid #c6e9d3; color:#27734b; margin:18px 0; overflow-wrap:anywhere; }
.hr-receipt strong { font-size:20px; }.hr-receipt small { font-size:11px; color:#628570; }
.hr-redesign .hr-section-nav { margin-top:6px; margin-bottom:22px; }
.hr-redesign:has(.hr-punch-heading) .hr-panel { max-width:760px; margin-left:auto; margin-right:auto; }
.hr-redesign:has(.hr-punch-heading) .hr-form>label:first-child { grid-column:1/-1; }
.hr-redesign:has(.hr-punch-heading) .hr-form select { background:#f8f4ff; border-color:#cdb4ee; font-weight:650; }
.hr-redesign:has(.hr-punch-heading) .hr-form>.hr-wide:last-child>.primary { width:100%; min-height:54px; font-size:16px; }
@media(max-width:650px) { .hr-redesign:has(.hr-punch-heading) .hr-hero-stats { display:none; }.hr-redesign:has(.hr-punch-heading) .hr-greeting { margin-bottom:16px; }.hr-redesign:has(.hr-punch-heading) .hr-clock-card { padding:14px; }.hr-redesign:has(.hr-punch-heading) .hr-clock-card>button { display:none; }.hr-steps li { padding:10px 4px; font-size:11px; }.hr-punch-heading h3 { font-size:23px; } }
.hr-create-panel { margin:14px 0 22px; border:1px solid #e8dff3; border-radius:16px; background:#faf8fd; }
.hr-create-panel>summary { padding:17px 19px; color:#6f37a4; font-size:14px; font-weight:650; cursor:pointer; min-height:48px; }
.hr-create-panel[open]>summary { border-bottom:1px solid #e8dff3; }.hr-create-panel>.hr-form { padding:19px; }
.hr-unit-map { height:340px; width:100%; border-radius:16px; border:1px solid #dfd4ec; z-index:0; }
.hr-confirm-map { display:flex!important; flex-direction:row!important; align-items:center; gap:12px!important; margin:16px 0; font-size:13px; }
.hr-confirm-map input { width:22px; min-height:22px!important; flex-shrink:0; }
#hr-address-results { display:flex; flex-direction:column; gap:9px; }
#hr-address-results button { text-align:left; white-space:normal; overflow-wrap:anywhere; }
.leaflet-container { font-family:inherit; }.leaflet-container .leaflet-control-attribution { font-size:10px; }
.hr-schedule-day { margin:12px 0; padding:12px; border:1px solid #e5daef; border-radius:14px; min-width:0; }
.hr-schedule-day legend label { display:flex; flex-direction:row; align-items:center; gap:9px; font-weight:650; }
.hr-schedule-day input[type=checkbox] { width:21px; min-height:21px; }
.hr-time-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }.hr-time-grid input { width:100%; box-sizing:border-box; }
.hr-free-info { padding:18px; color:#42755a; background:#eef8f1; border-radius:14px; font-size:14px; line-height:1.7; }
@media(max-width:650px){.hr-time-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.hr-schedule-day{padding:10px;}.hr-time-grid label{min-width:0;}}
.hr-brand-sign { display:flex; align-items:center; gap:9px; }.hr-brand-sign svg { width:25px; height:25px; opacity:.9; }
.hr-redesign [data-hr-form=punch] .primary { display:inline-flex; align-items:center; justify-content:center; gap:10px; }
.hr-redesign [data-hr-form=punch] .primary svg { width:25px; height:25px; }
