:root {
  --bg: #0f6de6;
  --card: #f3f5f9;
  --text: #1d2939;
  --muted: #667085;
  --primary: #1775ed;
  --primary-dark: #0d5fcb;
  --line: #e4e7ec;
  --ok: #17b26a;
}

* { box-sizing: border-box; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: auto;
}

body {
  margin: 0;
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 420px at 50% -120px, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 65%),
    linear-gradient(180deg, #4ea0ff 0%, #1f78ea 36%, #0f62d4 100%);
  min-height: 100vh;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

body.is-auth .topbar {
  display: none;
}

body.is-auth .container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  min-height: 100vh;
}

.app-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  min-height: 70px;
  height: calc(70px + env(safe-area-inset-top, 0px) + 10px);
  border-bottom: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 1rem .5rem;
  position: sticky;
  top: 0;
  z-index: 10;
  box-sizing: border-box;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
}

.notif-btn {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #b8c9e8;
  background: rgba(241, 246, 255, 0.92);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(8, 30, 66, 0.16);
}

.notif-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.notif-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: #111827;
}

.notif-icon-settings svg {
  width: 22px;
  height: 22px;
}

.notif-badge {
  position: absolute;
  top: -5px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0 5px;
  background: #ef4444;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

.notifications-panel {
  position: fixed;
  top: calc(4.8rem + env(safe-area-inset-top));
  right: .8rem;
  width: min(92vw, 364px);
  background: #f2f4f8;
  border: 1px solid #dbe3f0;
  border-radius: 13px;
  box-shadow: 0 16px 34px rgba(10, 33, 72, 0.28);
  overflow: hidden;
  z-index: 120;
}

.notifications-panel-head {
  padding: .65rem .82rem;
  border-bottom: 1px solid #d7deeb;
}

.notifications-panel-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.notifications-dropdown-list {
  max-height: min(58vh, 430px);
  overflow: auto;
}

.notif-row {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: .62rem .82rem;
  border-bottom: 1px solid #dee5f0;
  cursor: pointer;
}

.notif-row:last-child {
  border-bottom: 0;
}

.notif-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
}

.notif-title {
  margin: 0;
  font-size: .97rem;
  font-weight: 700;
  color: #101828;
}

.notif-body {
  margin: .25rem 0 0;
  color: #475467;
  font-size: .9rem;
}

.notif-date {
  margin: .22rem 0 0;
  color: #344054;
  font-size: .84rem;
  font-weight: 600;
}

.notif-unread-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #1775ed;
  flex: 0 0 auto;
}

.notif-empty {
  padding: .8rem;
  color: #667085;
  font-size: .88rem;
  font-style: italic;
}

.container {
  max-width: 1150px;
  margin: .5rem auto 0;
  padding: 0 1rem calc(7rem + env(safe-area-inset-bottom));
}

.auth-screen {
  padding: 0;
  background: transparent;
}

body.is-auth .auth-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-hero {
  background: linear-gradient(160deg, #0f6de6 0%, #1f78ea 46%, #5aa7ff 100%);
  border-radius: 28px 28px 0 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(12, 39, 84, 0.22);
}

.auth-hero-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-logo-image {
  width: min(230px, 72vw);
  height: auto;
  display: block;
}

.auth-card {
  margin-top: -20px;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  padding: 1.15rem;
  box-shadow: 0 12px 30px rgba(12, 39, 84, 0.16);
}

.auth-card h1 {
  font-size: 2rem;
  margin-bottom: .35rem;
}

body.is-auth .auth-hero {
  border-radius: 0 0 22px 22px;
  min-height: 245px;
  box-shadow: none;
}

body.is-auth .auth-card {
  margin-top: -18px;
  border-radius: 20px 20px 0 0;
  padding: 1.2rem;
  min-height: calc(100vh - 227px);
  box-shadow: none;
  border-bottom: 0;
  display: flex;
  flex-direction: column;
}

body.is-auth .auth-card h1,
body.is-auth .auth-card .muted {
  text-align: center;
}

body.is-auth #authForm {
  margin-top: .8rem;
}

.auth-dev-field {
  opacity: .84;
}

.auth-login-version {
  margin: auto 0 .1rem;
  text-align: center;
  color: #8b97ad;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(12, 39, 84, 0.14);
}

.grid-top,
.grid-main {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grid-top { grid-template-columns: 1fr; }
.grid-main { grid-template-columns: 1.4fr 1fr; }

#view-profile .grid-main {
  grid-template-columns: 1fr;
}

.hidden { display: none !important; }

h1, h2, h3 { margin: 0 0 .5rem; }

.muted { color: var(--muted); margin: 0; }
.small { font-size: .86rem; }

.stack-md { display: grid; gap: .85rem; margin-top: 1rem; }

.field {
  display: grid;
  gap: .4rem;
}

.field input {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 .75rem;
  font-size: .95rem;
}

.field-select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 .75rem;
  font-size: .95rem;
  background: #fff;
}

.btn {
  border: 0;
  border-radius: 10px;
  height: 42px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 .95rem;
}

.btn:disabled {
  opacity: .6;
  cursor: wait;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
  background: #eef2f8;
  color: #344054;
  border: 1px solid #cfd6e3;
}

.btn-danger {
  background: #e33444;
  color: #fff;
}

.btn-danger:hover {
  background: #c81f31;
}

.btn-warning {
  background: #f7b801;
  color: #101828;
}

.btn-warning:hover {
  background: #e2a700;
}

.error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 10px;
  padding: .65rem .75rem;
}

.profile-head {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.profile-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: .15rem .1rem;
}

.profile-card #employeeName {
  color: #fff;
  margin-bottom: .2rem;
}

.profile-card #projectName {
  color: rgba(255, 255, 255, 0.6);
}

.profile-card .pill {
  background: rgba(255, 255, 255, 0.17);
  color: #fff;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #f5f7fa;
}

.pill-row {
  margin-top: .75rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.pill {
  font-size: .79rem;
  border-radius: 999px;
  background: #edf2fc;
  color: #175cd3;
  padding: .3rem .6rem;
}

.check-card {
  border-radius: 12px;
  padding: .85rem .9rem;
}

.check-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .7rem;
}

.check-head h3 {
  margin: 0;
  font-size: 1.1rem;
}

#checkWorkedValue {
  font-size: 1.05rem;
  color: #1f2937;
  font-weight: 800;
  letter-spacing: .2px;
}

.check-snapshot {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.check-geo {
  margin-bottom: 1.12rem;
  border: 1px solid #1f2937;
  border-radius: 14px;
  background: #111827;
  overflow: hidden;
  position: relative;
}

.check-geo-status {
  margin: 0;
  padding: .7rem .8rem;
  font-size: 1.02rem;
  color: #f9fafb;
  font-weight: 700;
  border-bottom: 1px solid #293444;
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.check-geo-status-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #1d3f77;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2a82ff;
  font-size: 1.35rem;
  line-height: 1;
}

.geo-meta-tooltip {
  position: absolute;
  top: 4.1rem;
  left: .8rem;
  z-index: 4;
  background: rgba(17, 24, 39, 0.96);
  color: #f9fafb;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: .55rem .65rem;
  font-size: .82rem;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(3, 10, 25, 0.35);
}

.check-geo-frame {
  width: 100%;
  height: 290px;
  border: 0;
  display: block;
  pointer-events: none;
}

.check-geo-actions {
  padding: .75rem .8rem;
  border-top: 1px solid #293444;
}

.check-geo-btn {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 700;
}

.check-day-box {
  width: 64px;
  height: 56px;
  border-radius: 10px;
  background: #d1d5db;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.check-day-meta {
  display: grid;
  gap: .1rem;
  min-width: 90px;
}

.check-day-name,
.check-month-name {
  margin: 0;
  color: #2a2f38;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
}

.check-times {
  margin-left: auto;
  display: grid;
  gap: .33rem;
}

.check-time-row {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #1f2937;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1;
}

.check-arrow {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

.check-time-in .check-arrow {
  color: #169a53;
}

.check-time-out .check-arrow {
  color: #e11d48;
}

#checkResult {
  margin-top: .45rem;
}

.awp-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(16, 24, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.awp-modal-card {
  width: min(94vw, 500px);
  max-height: min(85vh, 760px);
  overflow: auto;
  background: #f7f9fc;
  border: 1px solid #dbe3f0;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(10, 33, 72, 0.24);
}

.awp-modal-head,
.awp-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .75rem .85rem;
}

.awp-modal-head {
  border-bottom: 1px solid #dce4f1;
}

.awp-modal-foot {
  border-top: 1px solid #dce4f1;
  justify-content: flex-end;
}

.awp-modal-head h3 {
  margin: 0;
  font-size: 1.03rem;
}

.awp-modal-close {
  width: 40px;
  min-width: 40px;
  padding: 0;
}

.awp-modal-body {
  padding: .8rem .85rem;
}

.awp-modal-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.mt-sm {
  margin-top: .45rem;
}

.inline-actions {
  display: inline-flex;
  gap: .5rem;
}

.signings-card {
  display: grid;
  gap: .75rem;
}

.signings-weekbar {
  border: 1px solid #d6dde8;
  border-radius: 18px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  background: #f7f9fc;
}

.signings-weekbar-range {
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  color: #1f2937;
  padding: 0 .5rem;
}

.signings-weekbar-nav {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  color: #1775ed;
  height: 100%;
  cursor: pointer;
}

.signings-today-btn {
  justify-self: center;
  height: 34px;
  font-size: .84rem;
  padding: 0 .9rem;
}

.signings-days {
  display: grid;
  gap: .68rem;
}

.signing-day-card {
  border: 1px solid #e5e8ef;
  background: #fbfcfe;
  border-radius: 16px;
  padding: .72rem .8rem;
  cursor: pointer;
}

.signing-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.signing-day-head-left {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}

.signing-day-dot {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #cfe2ff;
  color: rgb(13, 110, 253);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.signing-day-dot.is-absence,
.signing-day-dot.is-holiday {
  background: #fde6b2;
  color: #7a5200;
}

.signing-day-dot.is-vacation {
  background: #cfe2ff;
  color: rgb(13, 110, 253);
}

.signing-day-name {
  font-size: 1rem;
  font-weight: 400;
  color: #202939;
  text-transform: capitalize;
}

.signing-day-inline-icon {
  font-size: .85rem;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.signing-day-head-right {
  display: grid;
  justify-items: end;
  gap: .06rem;
}

.signing-day-worked {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.05;
}

.signing-day-planned {
  font-size: .875rem;
  color: #344054;
  font-weight: 400;
}

.signing-day-planned--na {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

.signing-day-badge {
  margin-top: .58rem;
  border-radius: 10px;
  border: 1px solid #e4e7ec;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .32rem .62rem;
  background: #f8f9fb;
}

.signing-day-badge-main {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: 1.02rem;
}

.signing-day-badge-detail {
  font-size: .94rem;
  color: #475467;
}

.signing-day-badge--absence {
  border-color: #f5d08b;
  background: #fff8e7;
  color: #7a5200;
}

.signing-day-badge--vacation {
  border-color: #bdd7ff;
  background: #eaf2ff;
  color: #175cd3;
}

.signing-day-badge--holiday {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b42318;
}

.signing-day-toggle {
  margin-top: .58rem;
  border-top: 1px dashed #d2dae6;
  height: 28px;
  padding-top: .44rem;
  font-weight: 600;
  color: #667085;
  cursor: pointer;
  font-size: .82rem;
}

.signing-day-detail {
  margin-top: .55rem;
  padding-top: .2rem;
}

.signing-day-block-title {
  margin-bottom: .4rem;
  font-weight: 700;
  color: #1f2937;
  font-size: .86rem;
}

.signing-day-schedule-box {
  border: 1px solid #d9e1ec;
  background: #fff;
  border-radius: 10px;
  padding: .45rem .55rem;
  color: #374151;
  font-size: .86rem;
  margin-bottom: .65rem;
}

.signing-day-schedule-box.is-empty {
  color: #6b7280;
  background: #f5f7fb;
}

.signing-day-schedule-name {
  font-weight: 700;
  color: #374151;
  margin-bottom: .2rem;
}

.signing-sessions-list {
  display: grid;
  gap: .5rem;
}

.signing-session-row {
  border: 1px solid #d7dee9;
  border-radius: 10px;
  background: #fff;
  padding: .45rem .6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.signing-session-time {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  color: #1f2937;
  font-weight: 700;
}

.signing-session-time .in,
.signing-session-time .out {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
}

.signing-session-time .in i {
  color: #169a53;
}

.signing-session-time .out i {
  color: #e11d48;
}

.signing-session-actions {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.signing-session-pending {
  font-size: .76rem;
  color: #475467;
  background: #f3f4f6;
  border: 1px solid #d8dee9;
  border-radius: 999px;
  padding: .14rem .48rem;
}

.signing-session-menu-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #d4dbe7;
  background: #f8faff;
  color: #667085;
  cursor: pointer;
}

.signing-session-menu-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.signing-session-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 152px;
  background: #fff;
  border: 1px solid #dce3ef;
  border-radius: 10px;
  box-shadow: 0 12px 22px rgba(16, 24, 40, 0.2);
  z-index: 8;
  padding: .3rem;
  display: grid;
  gap: .25rem;
}

.signing-session-menu button {
  border: 0;
  background: #fff;
  border-radius: 8px;
  text-align: left;
  padding: .42rem .5rem;
  font-size: .9rem;
  color: #1f2937;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.signing-session-menu button:hover {
  background: #eff4fd;
}

.signing-session-menu button.danger {
  color: #b42318;
}

.signing-session-menu button.danger:hover {
  background: #fef2f2;
}

.signing-session-empty {
  border: 1px solid #d7dee9;
  border-radius: 10px;
  background: #fff;
  padding: .5rem .6rem;
  color: #475467;
  font-size: .88rem;
}

.signing-day-card.is-unassigned {
  background: #fff;
  border-color: #e5e8ef;
}

.signing-day-dot.is-unassigned {
  background: #fff;
  border: 1px solid #d5dbe8;
  color: #8b919d;
}

.signing-day-card.is-unassigned .signing-day-name,
.signing-day-card.is-unassigned .signing-day-worked,
.signing-day-card.is-unassigned .signing-day-planned {
  color: #6b7280;
}

.signing-request-box {
  border: 1px solid #d7dee9;
  border-radius: 10px;
  padding: .5rem .7rem;
  background: #fff;
  display: grid;
  gap: .45rem;
}

.signing-request-box > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: .65rem;
  align-items: center;
  font-size: .95rem;
}

.awp-modal-head-danger h3 {
  color: #e33444;
}

.awp-modal-head-warning h3 {
  color: #e2a700;
}

.chip-list {
  margin-top: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.chip-btn {
  border: 1px solid #d0d5dd;
  background: #f8faff;
  color: #344054;
  border-radius: 999px;
  height: 34px;
  padding: 0 .85rem;
  font-weight: 600;
  cursor: pointer;
}

.chip-btn.active {
  background: #1775ed;
  border-color: #1775ed;
  color: #fff;
}

.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.geo-diag-details {
  white-space: pre-line;
  margin-top: .2rem;
}

.geo-diag-refresh-btn {
  height: 34px;
  padding: 0 .75rem;
  font-size: .82rem;
  flex: 0 0 auto;
}

.calendar-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.calendar-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .2rem;
  margin-bottom: .7rem;
}

.calendar-legend {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: .25rem 0 .85rem;
}

.legend-item {
  font-size: .84rem;
  color: #475467;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #f5f8ff;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  padding: .22rem .55rem;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.legend-vac { background: #0d6efd; }
.legend-abs { background: #6f42c1; }
.legend-hol { background: #dc3545; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: .48rem;
  row-gap: .28rem;
}

.cal-weekday {
  text-align: center;
  font-size: .8rem;
  color: #98a2b3;
  font-weight: 700;
  padding-bottom: .1rem;
}

.cal-day {
  min-height: 56px;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-day-empty {
  background: transparent;
}

.cal-day-has {
  box-shadow: none;
}

.cal-day-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cal-num {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d2d8e2;
  background: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d2939;
}

.cal-dots {
  display: none;
}

.cal-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.cal-dot-vac { background: #1775ed; }
.cal-dot-abs { background: #8b5cf6; }
.cal-dot-hol { background: #f59e0b; }

.cal-day-vac .cal-num {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.cal-day-abs .cal-num {
  background: #6f42c1;
  border-color: #6f42c1;
  color: #fff;
}

.cal-day-hol .cal-num {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

.cal-day-today .cal-num {
  box-shadow: 0 0 0 3px #1775ed inset;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  padding: .14rem .44rem;
  margin-right: .35rem;
}

.event-tag-vac {
  color: #175cd3;
  background: #eaf2ff;
}

.event-tag-abs {
  color: #6d28d9;
  background: #f3ecff;
}

.event-tag-hol {
  color: #9a3412;
  background: #fff4e5;
}

.calendar-event-groups {
  border-top: 1px solid #d8deea;
  margin-top: .7rem;
  padding-top: .7rem;
  display: grid;
  gap: .82rem;
}

.calendar-event-group {
  padding-top: .25rem;
}

.calendar-event-group h4 {
  margin: 0 0 .4rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
}

.calendar-event-group p {
  margin: .28rem 0;
  color: #4b5563;
  font-size: .84rem;
}

.calendar-event-group.vac {
  border-left: 3px solid #0d6efd;
  padding-left: .65rem;
}

.calendar-event-group.abs {
  border-left: 3px solid #6f42c1;
  padding-left: .65rem;
}

.calendar-event-group.hol {
  border-left: 3px solid #dc3545;
  padding-left: .65rem;
}

.calendar-event-group.vac h4 { color: #0b57d0; }
.calendar-event-group.abs h4 { color: #5b35a9; }
.calendar-event-group.hol h4 { color: #b42318; }

.team-row {
  width: 100%;
  border: 1px solid #eaecf0;
  background: #fafbfc;
  border-radius: 16px;
  min-height: 84px;
  padding: .7rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
}

.team-row-avatar {
  width: 48px;
  height: 48px;
}

.team-row-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
}

.team-member-modal-body {
  text-align: center;
  display: grid;
  gap: .55rem;
}

.team-member-modal-photo {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .18);
  margin: 0 auto .2rem;
}

.team-member-modal-body h4 {
  margin: 0;
  font-size: 1.35rem;
}

.team-member-modal-body p {
  margin: 0;
  color: #4b5563;
}

.profile-photo-wrap {
  display: flex;
  justify-content: center;
  margin: .2rem 0 .5rem;
}

.profile-photo-btn {
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
  cursor: pointer;
  border-radius: 999px;
}

.profile-photo-preview {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
}

.profile-photo-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .65);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  opacity: 0;
  transition: opacity .16s ease;
}

.profile-photo-btn:hover .profile-photo-overlay,
.profile-photo-btn:focus-visible .profile-photo-overlay,
.profile-photo-btn:active .profile-photo-overlay {
  opacity: 1;
}

.list {
  margin-top: .75rem;
  display: grid;
  gap: .55rem;
  max-height: 410px;
  overflow: auto;
  padding-right: .2rem;
}

.list.compact { max-height: 300px; }

.item {
  border: 1px solid #eaecf0;
  background: #fafbfc;
  border-radius: 12px;
  padding: .65rem .75rem;
}

.item h4 {
  margin: 0 0 .25rem;
  font-size: .95rem;
}

.item p {
  margin: 0;
  color: #475467;
  font-size: .88rem;
}

.tag-ok {
  color: var(--ok);
  font-weight: 700;
}

.tag-empty {
  color: var(--muted);
  font-style: italic;
}

.absences-card {
  display: grid;
  gap: .75rem;
}

.absences-request-title {
  font-size: .94rem;
  line-height: 1;
  font-weight: 600;
  color: #1f2e59;
}

.absences-request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}

.request-option-btn {
  border: 1px solid #d5dff0;
  background: #fff;
  border-radius: 16px;
  min-height: 76px;
  padding: .68rem .9rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  color: #1f2e59;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}

.request-option-btn span:last-child {
  font-size: .96rem;
  line-height: 1.12;
}

.request-option-btn:active {
  transform: translateY(1px);
}

.request-option-btn:hover {
  border-color: #bcd0f2;
  background: #f9fbff;
}

.request-option-icon {
  font-size: 1.1rem;
  line-height: 1;
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.absences-month-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.absences-month-row h3 {
  margin: 0;
  font-size: .94rem;
  line-height: 1;
  font-weight: 600;
  color: #1f2e59;
}

.absences-month-controls {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}

.month-nav-btn {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1;
  border: 0;
  background: transparent;
  color: #1775ed;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.month-nav-btn i {
  font-size: 1.05rem;
  line-height: 1;
}

.month-current-btn {
  min-width: 150px;
  border: 0;
  background: transparent;
  font-weight: 400;
  color: #3f3f46;
  box-shadow: none;
  pointer-events: none;
}

.absences-list-wrap {
  border: 1px solid #e1e6f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.absences-list {
  max-height: 390px;
  overflow: auto;
}

.absence-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: .85rem;
  padding: .78rem .95rem;
  border-bottom: 1px solid #edf1f7;
}

.absence-row:last-child {
  border-bottom: 0;
}

.absence-date {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  width: 68px;
}

.absence-date-month {
  font-size: .82rem;
  font-weight: 500;
  color: #6b7a99;
  text-transform: uppercase;
  line-height: 1;
}

.absence-date-day {
  margin-top: .18rem;
  margin-bottom: .14rem;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 800;
  color: #111827;
}

.absence-date-year {
  margin-top: .08rem;
  font-size: .82rem;
  line-height: 1;
  color: #6b7a99;
}

.absence-body-title {
  font-size: .93rem;
  font-weight: 700;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.absence-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86px;
}

.absence-body-title i {
  width: 16px;
  min-width: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: .95rem;
}

.absence-body-subtitle {
  margin-top: .15rem;
  font-size: .88rem;
  color: #6b7280;
}

.absence-selection-info {
  margin: .1rem 0 .45rem;
  color: #59657c;
  font-size: .98rem;
}

.absence-grid .vacation-day--range {
  background: #ebe5fb;
  border-color: #d5c8f7;
  color: #49388d;
}

.absence-grid .vacation-day--selected {
  background: #7a58d1;
  border-color: #7a58d1;
  color: #fff;
}

.absence-grid.absence-grid--disabled .vacation-day {
  opacity: .55;
  cursor: not-allowed;
}

.absence-empty {
  padding: 1rem;
  color: #6b7280;
  font-style: italic;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin: .5rem 0 .75rem;
}

.mini-stats > div {
  border: 1px solid #eaecf0;
  border-radius: 10px;
  padding: .6rem;
  display: grid;
  gap: .2rem;
}

.mini-stats strong {
  font-size: 1.25rem;
}

.tasks-layout {
  margin-top: .8rem;
}

.tasks-day-title {
  margin: 0 0 .55rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.tasks-current-list {
  display: grid;
  gap: .65rem;
}

.tasks-past-list {
  margin-top: .7rem;
}

.task-item-card {
  border: 1px solid #eaedf3;
  border-radius: 14px;
  background: #fff;
  padding: .72rem .74rem;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: .65rem;
  cursor: pointer;
}

.task-item-card:last-child {
  margin-bottom: 0;
}

.task-item-check {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  flex: 0 0 auto;
  background: #fff;
  border: 2px solid #2170ea;
  padding: 0;
  cursor: pointer;
}

.task-item-check.done {
  background: #fff;
  border-color: #6ab890;
  color: #2f8a57;
}

.task-item-check.pending {
  background: #fff;
  border-color: #2170ea;
  color: transparent;
}

.task-item-check.is-validated {
  background: #fff;
  border-color: #8dc7a2;
  color: #2f8a57;
  cursor: not-allowed;
}

.task-item-content h4 {
  font-size: .99rem;
  font-weight: 700;
  margin: 0 0 .25rem;
}

.task-item-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
}

.task-item-content h4.is-completed {
  text-decoration: line-through;
  color: #646b78;
}

.task-item-time {
  margin: 0 0 .2rem;
  font-size: .84rem;
  color: #6b7280;
}

.task-item-deadline {
  margin: 0;
  font-size: .84rem;
  color: #4b5563;
}

.task-validated-tag {
  display: inline-flex;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  color: #157347;
  background: #e8f5ee;
  border: 1px solid #b6e0c7;
  padding: .1rem .48rem;
}

.task-item-card.focused {
  border-color: #1775ed;
  box-shadow: 0 0 0 2px rgba(23, 117, 237, 0.18);
}

.tasks-preview-wrap .tasks-preview-group {
  cursor: pointer;
}

.tasks-preview-wrap .task-item-card {
  background: #fff;
}

.vac-modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-bottom: .9rem;
}

.vac-modal-nav .btn {
  width: 42px;
  min-width: 42px;
  height: 38px;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.vac-modal-nav strong {
  font-size: 1.12rem;
}

.vac-modal-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .55rem;
}

.vac-summary-title {
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1.05;
  color: #1f2e59;
}

.vac-summary-meta {
  color: #6b7a99;
  font-size: .95rem;
}

.vac-summary-selected {
  color: #18b7a5;
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
}

.vac-progress-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .7rem;
}

.vac-progress-track {
  flex: 1;
  height: 12px;
  border-radius: 999px;
  background: #e6ebf3;
  overflow: hidden;
}

.vac-progress-fill {
  height: 100%;
  background: #18b7a5;
  transition: width .2s ease;
}

.vac-progress-text {
  color: #6b7a99;
  font-size: .95rem;
  font-weight: 700;
}

.vacation-grid,
.vacation-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.vacation-weekdays {
  margin-bottom: .45rem;
}

.vacation-weekdays div {
  text-align: center;
  color: #9ca3af;
  font-size: .75rem;
  font-weight: 600;
}

.vacation-day {
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #111827;
  border-radius: 10px;
  min-height: 40px;
  font-weight: 600;
  transition: all .15s ease;
}

.vacation-day--muted {
  visibility: hidden;
}

.vacation-day--holiday {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
  cursor: not-allowed;
}

.vacation-day--vacation {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
  cursor: not-allowed;
}

.vacation-day--vacation-pending {
  background: repeating-linear-gradient(135deg, #fff 0px, #fff 4px, #0d6efd 4px, #0d6efd 8px);
  color: #111;
  border-color: #0d6efd;
  text-shadow:
      -1px -1px 0 #fff,
      1px -1px 0 #fff,
      -1px 1px 0 #fff,
      1px 1px 0 #fff;
  cursor: not-allowed;
}

.vacation-day--absence {
  background: #6f42c1;
  color: #fff;
  border-color: #6f42c1;
  cursor: not-allowed;
}

.vacation-day--baja {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
  cursor: not-allowed;
}

.vacation-day--range {
  background: #e8f0ff;
  border-color: #c7dbff;
  color: #1e40af;
}

.vacation-day--selected {
  background: #4f7ff0;
  border-color: #4f7ff0;
  color: #fff;
}

.vac-legend {
  margin-top: .65rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .8rem;
  color: #64748b;
  font-size: .78rem;
}

.vac-legend span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.vac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.vac-dot-vac { background: #0d6efd; }
.vac-dot-abs { background: #6f42c1; }
.vac-dot-hol { background: #dc3545; }

.profile-lines p { margin: .45rem 0; }

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  border-radius: 10px;
  padding: .75rem .9rem;
  background: #101828;
  color: #fff;
  font-size: .9rem;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.25);
  z-index: 100;
}

.refresh-indicator {
  position: fixed;
  left: 50%;
  top: calc(6px + env(safe-area-inset-top));
  transform: translate(-50%, -130%);
  transition: transform .18s ease;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d7deea;
  border-radius: 999px;
  padding: .36rem .68rem;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  box-shadow: 0 8px 20px rgba(8, 30, 66, 0.2);
  z-index: 130;
}

.refresh-indicator.visible {
  transform: translate(-50%, 0);
}

.refresh-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid #cdd7ea;
  border-top-color: #1775ed;
  border-radius: 999px;
  display: inline-block;
  animation: spin .9s linear infinite;
}

.refresh-text {
  font-size: .78rem;
  color: #344054;
  font-weight: 700;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.3);
  z-index: 80;
}

.menu-sheet {
  position: fixed;
  left: .8rem;
  right: .8rem;
  bottom: max(4.7rem, calc(4.2rem + env(safe-area-inset-bottom)));
  background: #fff;
  border-radius: 24px;
  border: 1px solid #dbe3f0;
  box-shadow: 0 -10px 30px rgba(10, 33, 72, 0.23);
  z-index: 110;
  padding: .65rem;
  max-height: min(67vh, 610px);
  overflow: auto;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.settings-sheet {
  max-width: min(92vw, 340px);
  width: min(92vw, 340px);
  left: auto;
  right: .8rem;
  top: calc(4.8rem + env(safe-area-inset-top));
  bottom: auto;
  margin-left: 0;
  margin-right: 0;
}

.settings-sheet-head {
  font-size: .85rem;
  font-weight: 700;
  color: #344054;
  padding: .2rem .45rem .5rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: left;
  display: inline-flex;
  align-items: center;
}

.settings-item {
  justify-content: flex-start;
  gap: .7rem;
  min-height: 42px;
  font-size: .86rem;
  color: #1f2937;
}

.settings-item small {
  color: #667085;
  font-weight: 400;
  font-size: .72rem;
  margin-left: auto;
}

.settings-menu-icon {
  width: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: currentColor;
}

.settings-menu-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.menu-sheet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .52rem;
}

.menu-sheet-btn {
  border: 1px solid transparent;
  background: transparent;
  color: #1f2937;
  border-radius: 14px;
  min-height: 48px;
  padding: .4rem .72rem;
  font-size: 1.02rem;
  font-weight: 400;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-align: left;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.menu-sheet-btn:hover {
  background: #f3f4f6;
}

.menu-sheet-btn.active {
  background: #dbe7f7;
  color: #1775ed;
}

.menu-icon {
  width: 26px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.06rem;
  line-height: 1;
  color: inherit;
}

.menu-icon i {
  font-size: 1.06rem;
  line-height: 1;
}

.menu-fab {
  position: fixed;
  right: calc(env(safe-area-inset-right) + 1rem);
  bottom: calc(env(safe-area-inset-bottom) + 1rem);
  width: 78px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #bec8d8;
  background: rgba(241, 244, 250, 0.98);
  color: #111827;
  font-size: 1.42rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 34, 70, 0.22);
  z-index: 95;
  -webkit-backface-visibility: hidden;
}

.request-signing-fab {
  position: fixed;
  left: calc(env(safe-area-inset-left) + 1rem);
  bottom: calc(env(safe-area-inset-bottom) + 1rem);
  height: 48px;
  border-radius: 999px;
  border: 1px solid #1464cc;
  background: #1775ed;
  color: #fff;
  padding: 0 1rem;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 34, 70, 0.22);
  z-index: 95;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .45rem;
  margin-bottom: 1rem;
}

.section-back {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .92rem;
}

.section-back:hover {
  background: rgba(255, 255, 255, 0.12);
}

#sectionTitle {
  color: #fff;
  margin: 0;
  font-size: 1.36rem;
  font-weight: 800;
}

.full-height-card {
  min-height: calc(100vh - 170px);
  display: flex;
  flex-direction: column;
}

#view-settings-api .list.compact {
  max-height: none;
  flex: 1 1 auto;
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-ui {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: #d0d5dd;
  border: 1px solid #bfc6d2;
  position: relative;
  transition: background .2s ease;
}

.switch-ui::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.25);
  transition: transform .2s ease;
}

.switch input:checked + .switch-ui {
  background: #1775ed;
  border-color: #1567cf;
}

.switch input:checked + .switch-ui::after {
  transform: translateX(22px);
}

@media (max-width: 980px) {
  .grid-top,
  .grid-main {
    grid-template-columns: 1fr;
  }

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

  .absences-month-row {
    align-items: center;
    flex-direction: row;
  }

  .absences-list {
    max-height: none;
  }

  .topbar {
    min-height: 64px;
    height: calc(64px + env(safe-area-inset-top, 0px) + 10px);
  }
}

@media (min-width: 981px) {
  .grid-top {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .grid-top .profile-card {
    grid-column: 1 / -1;
  }

  .grid-top .check-card {
    grid-column: 1;
  }

  .grid-top .dashboard-tasks-card {
    grid-column: 2;
  }

  .list,
  .list.compact {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 520px) {
  .signings-weekbar {
    min-height: 52px;
    grid-template-columns: 46px 1fr 46px;
    border-radius: 14px;
  }

  .signings-weekbar-range {
    font-size: 1rem;
  }

  .signings-weekbar-nav {
    font-size: 1.2rem;
  }

  .signings-today-btn {
    height: 30px;
    font-size: .8rem;
    padding: 0 .75rem;
  }

  .signing-day-card {
    padding: .62rem .68rem;
    border-radius: 12px;
  }

  .signing-day-dot {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .signing-day-name {
    font-size: 1rem;
    font-weight: 400;
  }

  .signing-day-worked {
    font-size: 1rem;
  }

  .signing-day-planned {
    font-size: .875rem;
  }

  .signing-day-badge {
    margin-top: .5rem;
    padding: .28rem .5rem;
    gap: .45rem;
  }

  .signing-day-badge-main {
    font-size: .86rem;
  }

  .signing-day-badge-detail {
    font-size: .82rem;
  }

  .signing-day-detail {
    margin-top: .54rem;
    padding-top: .54rem;
  }

  .signing-day-block-title {
    font-size: .88rem;
  }

  .signing-day-schedule-box {
    font-size: .84rem;
    padding: .4rem .5rem;
  }

  .signing-session-row {
    padding: .4rem .5rem;
  }

  .signing-session-time {
    font-size: .9rem;
    gap: .5rem;
  }

  .signing-session-pending {
    font-size: .72rem;
    padding: .12rem .42rem;
  }

  .signing-session-menu-btn {
    width: 26px;
    height: 26px;
  }

  .signing-session-empty {
    font-size: .86rem;
    padding: .42rem .52rem;
  }

  .absences-request-title,
  .absences-month-row h3 {
    font-size: .9rem;
  }

  .request-option-btn {
    min-height: 66px;
    padding: .52rem .55rem;
  }

  .request-option-btn span:last-child {
    font-size: .95rem;
  }

  .absences-month-controls {
    gap: .05rem;
  }

  .month-current-btn {
    min-width: 112px;
    font-size: .95rem;
    padding: 0 .15rem;
  }

  .absence-row {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: .72rem;
    align-items: center;
  }

  .absence-date {
    min-height: 80px;
    width: 70px;
  }

  .absence-body {
    min-height: 80px;
  }

  .check-day-box {
    width: 58px;
    height: 52px;
    font-size: 1.9rem;
  }
  .check-geo-frame {
    height: 210px;
  }
  .check-day-meta {
    min-width: 72px;
  }
  .check-day-name,
  .check-month-name {
    font-size: .95rem;
  }
  .check-time-row {
    font-size: .96rem;
  }
  .check-arrow {
    font-size: 1.16rem;
  }
  .check-times {
    margin-left: auto;
  }

  .awp-modal-grid2 {
    grid-template-columns: 1fr;
  }

  .vac-summary-title {
    font-size: 1.32rem;
  }

  .vac-summary-selected {
    font-size: .92rem;
  }

  .request-signing-fab {
    padding: 0 .85rem;
    font-size: .88rem;
  }
}
