/* Shared navigation shell: deliberately small and isolated from each mode. */
body {
  padding-bottom: 118px !important;
}

/* The old author pill is intentionally suppressed outside the settings modal. */
.fixed-creator-footer,
body > .creator-pill,
.app-footer .creator-pill {
  display: none !important;
}

.mode-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 1040;
  width: min(1060px, calc(100vw - 32px));
  transform: translateX(-50%);
  padding: 7px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mode-bottom-nav__inner {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 5px;
}
.mode-bottom-nav__item {
  min-width: 0;
  min-height: 66px;
  padding: 7px 5px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #52657d;
  text-decoration: none;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease,
    color 0.16s ease;
}
.mode-bottom-nav__item:hover,
.mode-bottom-nav__item:focus-visible {
  color: #0b4f78;
  background: #f4f9fd;
  border-color: #d8e7f1;
  transform: translateY(-1px);
  outline: none;
}
.mode-bottom-nav__item.is-active {
  color: #075985;
  background: linear-gradient(180deg, #edf8ff, #e5f3fb);
  border-color: #c3deed;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.mode-bottom-nav__icon {
  height: 25px;
  display: grid;
  place-items: center;
}
.mode-bottom-nav__icon .material-icons-round {
  font-size: 21px !important;
}
.mode-bottom-nav__label {
  max-width: 100%;
  font-size: 0.7rem;
  line-height: 1.05;
  font-weight: 800;
  white-space: nowrap;
}
.mode-bottom-nav__item small {
  max-width: 100%;
  font-size: 0.57rem;
  line-height: 1.05;
  font-weight: 650;
  opacity: 0.78;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-back-btn {
  width: 38px;
  height: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #d7e0f0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #294878;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(31, 61, 112, 0.07);
}
.route-back-btn:hover,
.route-back-btn:focus-visible {
  background: #eef4ff;
  border-color: #9eb8e7;
  color: #1d4ed8;
  outline: none;
}
.route-back-btn .material-icons-round {
  font-size: 20px !important;
}

.shell-settings-grid {
  display: grid;
  gap: 0.65rem;
}
.settings-shortcut {
  grid-template-columns: 38px 1fr !important;
}
.settings-shortcut > span:last-child {
  min-width: 0;
}
.settings-divider {
  height: 1px;
  margin: 1rem 0;
  background: #e1e8f0;
}
.creator-modal-block {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding-top: 0.1rem;
}
.creator-modal-kicker {
  color: #64748b;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.creator-modal-block .creator-pill {
  display: inline-flex !important;
  margin: 0 !important;
  max-width: 100%;
}

.module-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #dbe5ee;
  background: rgba(255, 255, 255, 0.82);
  color: #52657d;
  font-size: 0.72rem;
  font-weight: 700;
}

.mode4-placeholder {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.mode4-placeholder .mode4-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.mode4-placeholder .mode4-icon .material-icons-round {
  font-size: 38px !important;
}

.download-card.is-future {
  border-style: dashed;
  background: linear-gradient(180deg, #fff, #fbfcfe);
}
.download-card.is-future .btn {
  pointer-events: none;
  opacity: 0.65;
}

.toast-container.bottom-0 {
  bottom: 96px !important;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 106px !important;
  }
  .mode-bottom-nav {
    bottom: 8px;
    width: calc(100vw - 16px);
    padding: 5px;
    border-radius: 18px;
  }
  .mode-bottom-nav__inner {
    gap: 2px;
  }
  .mode-bottom-nav__item {
    min-height: 61px;
    padding: 5px 2px;
    border-radius: 13px;
  }
  .mode-bottom-nav__icon .material-icons-round {
    font-size: 20px !important;
  }
  .mode-bottom-nav__label {
    font-size: 0.63rem;
  }
  .mode-bottom-nav__item small {
    font-size: 0.49rem;
  }
  .toast-container.bottom-0 {
    bottom: 88px !important;
  }
}

@media (max-width: 420px) {
  .mode-bottom-nav__item small {
    display: none;
  }
  .mode-bottom-nav__item {
    min-height: 55px;
  }
  .mode-bottom-nav__label {
    font-size: 0.61rem;
  }
}

@media print {
  .mode-bottom-nav,
  .route-back-btn,
  .appbar {
    display: none !important;
  }
  body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
.shell-settings-grid .settings-shortcut {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  align-items: center;
  column-gap: 0.75rem;
}
.shell-settings-grid .settings-shortcut > .material-icons-round {
  justify-self: center;
}
.shell-settings-grid .settings-shortcut > span:last-child {
  display: grid;
  gap: 0.15rem;
}

/* ===== v4.0.1 — navegação clean + títulos compactos padronizados ===== */
.mode-bottom-nav {
  width: min(780px, calc(100vw - 32px));
  padding: 6px;
  border-radius: 20px;
}
.mode-bottom-nav__inner {
  gap: 4px;
}
.mode-bottom-nav__item {
  min-height: 57px;
  padding: 6px 4px;
  gap: 3px;
  border-radius: 14px;
}
.mode-bottom-nav__icon {
  height: 23px;
}
.mode-bottom-nav__icon .material-icons-round {
  font-size: 20px !important;
}
.mode-bottom-nav__label {
  font-size: 0.64rem;
  line-height: 1.1;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mode-bottom-nav__item small {
  display: none !important;
}

/* All first-page title cards follow the compact Mode 3 visual scale. */
.app-title-card {
  min-height: 0 !important;
  padding: 0.62rem 0.85rem !important;
  border-radius: 16px !important;
  background: #fff !important;
  overflow: hidden;
}
.app-title-card > .d-flex {
  gap: 0.7rem !important;
  align-items: center !important;
}
.app-title-card .eyebrow,
.app-title-card .eyebrow-shell,
.app-title-card .section-tag {
  margin-bottom: 0.1rem !important;
  font-size: 0.67rem !important;
  line-height: 1.15;
  letter-spacing: 0.075em;
}
.app-title-card h1,
.app-title-card .shell-heading,
.app-title-card .retro-title {
  margin: 0 !important;
  font-family: inherit !important;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
}
.app-title-card p,
.app-title-card .shell-lead {
  margin-top: 0.12rem !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  color: #68758b !important;
}
.app-title-card .status-panel {
  min-width: 220px !important;
  max-width: 290px;
  padding: 0.42rem 0.62rem !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.app-title-card .status-label,
.app-title-card .status-panel small,
.app-title-card .quick-status-values span {
  font-size: 0.64rem !important;
}
.app-title-card .status-panel strong,
.app-title-card .quick-status-values strong {
  font-size: 0.78rem !important;
}
.app-title-card .quick-status-values {
  margin-top: 0.3rem !important;
  padding-top: 0.3rem !important;
}
.app-title-card__icon {
  flex: 0 0 auto;
  font-size: 1.7rem !important;
}
.mode4-title-card {
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

@media (max-width: 767.98px) {
  .mode-bottom-nav {
    width: calc(100vw - 16px);
    padding: 5px;
  }
  .mode-bottom-nav__item {
    min-height: 55px;
    padding: 5px 2px;
  }
  .mode-bottom-nav__label {
    font-size: 0.59rem;
  }
  .app-title-card {
    padding: 0.58rem 0.68rem !important;
  }
  .app-title-card > .d-flex {
    align-items: stretch !important;
  }
  .app-title-card .status-panel {
    width: 100%;
    max-width: none;
    min-width: 0 !important;
  }
  .app-title-card h1,
  .app-title-card .shell-heading,
  .app-title-card .retro-title {
    font-size: 1.05rem !important;
  }
  .app-title-card p,
  .app-title-card .shell-lead {
    font-size: 0.73rem !important;
  }
}

/* ===== v4.4.0 — expanders compactos e sem sobreposição ===== */
.main-expander-header {
  position: relative !important;
  padding-right: 0.9rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.65rem !important;
  cursor: pointer;
}
.main-expander-header > :first-child {
  min-width: 0;
  flex: 1 1 auto;
}
.main-expander-header > .badge,
.main-expander-header > .module-note,
.main-expander-header > .header-pill {
  flex: 0 1 auto;
  max-width: min(48%, 430px);
}
.main-expander-toggle {
  position: static !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  margin-left: 0.1rem !important;
  padding: 0 !important;
  border-radius: 10px !important;
  display: inline-grid !important;
  place-items: center !important;
  background: #f7faff !important;
  border: 1px solid #d7e4f2 !important;
  box-shadow: none !important;
}
.main-expander-toggle:hover,
.main-expander-toggle:focus-visible {
  background: #edf6ff !important;
  border-color: #9dc8e3 !important;
  outline: none;
}
.main-expander-toggle .material-icons-round {
  font-size: 19px !important;
  transition: transform 0.18s ease;
}
.main-expander-toggle:not(.collapsed) .material-icons-round {
  transform: rotate(180deg);
}
.shell-expand-all-btn .material-icons-round {
  font-size: 20px !important;
}
@media (max-width: 767.98px) {
  .main-expander-header {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
  }
  .main-expander-header > .badge,
  .main-expander-header > .module-note,
  .main-expander-header > .header-pill {
    max-width: calc(100% - 42px);
    margin-left: 0 !important;
  }
  .main-expander-toggle {
    margin-left: auto !important;
  }
}

/* ===== v4.4.4 — metadados discretos no modal de configurações ===== */
.creator-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}
.app-version-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 25px;
  padding: 0.22rem 0.52rem;
  border: 1px solid #d8e4f2;
  border-radius: 999px;
  background: #f7faff;
  color: #5c6f8e;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.app-version-pill .material-icons-round {
  font-size: 14px !important;
}
.creator-modal-block .creator-pill--compact {
  min-height: 27px !important;
  padding: 0.24rem 0.58rem !important;
  gap: 0.3rem !important;
  border-radius: 999px !important;
  font-size: 0.69rem !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}
.creator-modal-block .creator-pill--compact .material-icons-round {
  font-size: 15px !important;
}
.creator-modal-block .creator-pill--compact strong {
  font-size: 0.69rem !important;
  font-weight: 750 !important;
}

/* ===== v4.4.5 — diálogos próprios da aplicação ===== */
.shell-app-dialog__dialog {
  max-width: 470px;
}
.shell-app-dialog__content {
  overflow: hidden;
  border: 1px solid #dbe5f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
}
.shell-app-dialog__accent {
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}
.shell-app-dialog[data-dialog-type="danger"] .shell-app-dialog__accent {
  background: linear-gradient(90deg, #dc2626, #f97316);
}
.shell-app-dialog[data-dialog-type="warning"] .shell-app-dialog__accent {
  background: linear-gradient(90deg, #f59e0b, #f97316);
}
.shell-app-dialog[data-dialog-type="success"] .shell-app-dialog__accent {
  background: linear-gradient(90deg, #059669, #22c55e);
}
.shell-app-dialog__body {
  padding: 1.15rem 1.2rem 1rem;
}
.shell-app-dialog__heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.shell-app-dialog__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eef4ff;
  color: #2563eb;
}
.shell-app-dialog[data-dialog-type="danger"] .shell-app-dialog__icon {
  background: #fff1f2;
  color: #dc2626;
}
.shell-app-dialog[data-dialog-type="warning"] .shell-app-dialog__icon {
  background: #fff7ed;
  color: #ea580c;
}
.shell-app-dialog[data-dialog-type="success"] .shell-app-dialog__icon {
  background: #ecfdf5;
  color: #059669;
}
.shell-app-dialog__icon .material-icons-round {
  font-size: 22px !important;
}
.shell-app-dialog__kicker {
  display: block;
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shell-app-dialog__title {
  margin: 0.08rem 0 0;
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 850;
}
.shell-app-dialog__message {
  margin: 0.85rem 0 0;
  color: #52647d;
  font-size: 0.8rem;
  line-height: 1.55;
}
.shell-app-dialog__details {
  margin-top: 0.7rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.shell-app-dialog__details ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.55;
}
.shell-app-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #edf1f5;
}
.shell-app-dialog__actions .btn {
  min-width: 90px;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 750;
}

/* ===== v4.4.8 — toast global discreto ===== */
.shell-toast-stack {
  position: fixed;
  top: 76px;
  right: 18px;
  z-index: 1095;
  display: grid;
  gap: 0.55rem;
  width: min(360px, calc(100vw - 28px));
  pointer-events: none;
}
.shell-app-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.62rem 0.68rem;
  border: 1px solid #d9e5ef;
  border-left: 4px solid #2563eb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.shell-app-toast--success {
  border-left-color: #059669;
}
.shell-app-toast--warning {
  border-left-color: #f59e0b;
}
.shell-app-toast--danger {
  border-left-color: #dc2626;
}
.shell-app-toast--info {
  border-left-color: #2563eb;
}
.shell-app-toast__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
}
.shell-app-toast--success .shell-app-toast__icon {
  background: #ecfdf5;
  color: #059669;
}
.shell-app-toast--warning .shell-app-toast__icon {
  background: #fff7ed;
  color: #ea580c;
}
.shell-app-toast--danger .shell-app-toast__icon {
  background: #fff1f2;
  color: #dc2626;
}
.shell-app-toast__icon .material-icons-round {
  font-size: 19px !important;
}
.shell-app-toast__content {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}
.shell-app-toast__content strong {
  color: #25344f;
  font-size: 0.76rem;
  font-weight: 850;
}
.shell-app-toast__content span {
  color: #64748b;
  font-size: 0.68rem;
  line-height: 1.35;
}
.shell-app-toast__close {
  width: 24px;
  height: 24px;
  padding: 0.3rem;
  font-size: 0.65rem;
}
@media (max-width: 575.98px) {
  .shell-toast-stack {
    top: 68px;
    right: 14px;
    left: 14px;
    width: auto;
  }
}

/* ===== v4.5.0 — identidade compartilhada também na Home ===== */
.mi-blue {
  color: #2563eb !important;
}
.mi-purple {
  color: #7c3aed !important;
}
.mi-green {
  color: #059669 !important;
}
.mi-orange {
  color: #ea580c !important;
}
.mi-red {
  color: #dc2626 !important;
}
.mi-slate {
  color: #64748b !important;
}
.appbar {
  min-height: 64px;
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid #dfe8f2;
  box-shadow: 0 3px 14px rgba(27, 55, 87, 0.06) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.appbar .navbar-brand {
  color: #183451;
  text-decoration: none;
}
.appbar .brand-subtitle {
  display: block;
  color: #718096;
  font-size: 0.64rem;
  line-height: 1.05;
  margin-top: 0.12rem;
}
.appbar .brand-icon,
.appbar-icon-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #dce6f0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 3px 10px rgba(24, 52, 81, 0.055) !important;
}
.appbar-icon-btn:hover,
.appbar-icon-btn:focus-visible {
  background: #f7fbff !important;
  border-color: #a9c3dd !important;
  transform: translateY(-1px);
}
.appbar .brand-icon .material-icons-round,
.appbar-icon-btn .material-icons-round {
  font-size: 21px !important;
}
.mode-bottom-nav__item:nth-child(1) .material-icons-round {
  color: #059669 !important;
}
.mode-bottom-nav__item:nth-child(2) .material-icons-round {
  color: #ea580c !important;
}
.mode-bottom-nav__item:nth-child(3) .material-icons-round {
  color: #7c3aed !important;
}
.mode-bottom-nav__item:nth-child(4) .material-icons-round {
  color: #ea580c !important;
}
.mode-bottom-nav__item:nth-child(5) .material-icons-round {
  color: #0f8f87 !important;
}
.mode-bottom-nav__item:nth-child(6) .material-icons-round {
  color: #7c3aed !important;
}
.mode-bottom-nav__item:nth-child(7) .material-icons-round {
  color: #dc2626 !important;
}
.mode-bottom-nav__item:nth-child(8) .material-icons-round {
  color: #4f46e5 !important;
}

/* ===== v4.5.3 — Calculadora rápida de horários e máscara numérica compartilhada ===== */
.rtl-decimal-input {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.shell-hours-calculator__content {
  border: 1px solid #d8e5f0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.25);
}
.shell-hours-calculator__header {
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #f7fbff, #fff);
  border-bottom: 1px solid #e1e9f2;
}
.shell-hours-calculator__header small {
  display: block;
  color: #2563eb;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.shell-hours-calculator__header h2 {
  margin: 0.08rem 0;
  color: #193451;
  font-size: 1.16rem;
  font-weight: 850;
}
.shell-hours-calculator__header p {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
}
.shell-hours-calculator__hero-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eaf3ff;
  color: #2563eb;
}
.shell-hours-calculator__hero-icon .material-icons-round {
  font-size: 24px !important;
}
.shell-hours-calculator__body {
  padding: 1rem;
  background: #fbfdff;
}
.hours-mode-toggle,
.hours-operation-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.hours-mode-btn,
.hours-operation-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.58rem 0.7rem;
  border: 1px solid #d6e3ef;
  border-radius: 12px;
  background: #fff;
  color: #4b607c;
  font-size: 0.74rem;
  font-weight: 800;
}
.hours-mode-btn span span {
  display: grid;
  text-align: left;
}
.hours-mode-btn small {
  font-size: 0.61rem;
  font-weight: 650;
  color: #7b8ba0;
}
.hours-mode-btn.is-active,
.hours-operation-btn.is-active {
  border-color: #8fc4eb;
  background: #edf7ff;
  color: #075985;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
}
.hours-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 0.8rem;
}
.hours-entry-card,
.hours-result-card,
.hours-guide {
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  background: #fff;
  padding: 0.85rem;
}
.hours-section-title,
.hours-guide__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hours-section-title > .material-icons-round,
.hours-guide__head > .material-icons-round {
  font-size: 20px !important;
  color: #2563eb;
}
.hours-section-title strong,
.hours-guide__head strong {
  display: block;
  color: #213650;
  font-size: 0.78rem;
}
.hours-section-title small,
.hours-guide__head small {
  display: block;
  color: #718096;
  font-size: 0.64rem;
}
.hours-textarea {
  margin-top: 0.7rem;
  min-height: 185px;
  border-radius: 12px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  line-height: 1.65;
}
.hours-entry-actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.55rem;
}
.hours-entry-actions .btn,
.hours-result-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.hours-entry-actions .material-icons-round,
.hours-result-card .btn .material-icons-round {
  font-size: 17px !important;
}
.hours-result-display {
  margin-top: 0.75rem;
  padding: 0.9rem;
  border: 1px solid #cfe4da;
  border-radius: 14px;
  background: #f1fbf6;
  text-align: center;
}
.hours-result-display small {
  display: block;
  color: #5f738a;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.hours-result-display strong {
  display: block;
  color: #047857;
  font-size: 2rem;
  line-height: 1.05;
  margin: 0.18rem 0;
}
.hours-result-display span {
  color: #64748b;
  font-size: 0.67rem;
}
.hours-expression {
  margin-top: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #f5f8fb;
  color: #556980;
  font-size: 0.68rem;
  line-height: 1.45;
  word-break: break-word;
}
.hours-expression.is-error {
  background: #fff1f2;
  color: #b91c1c;
}
.hours-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.7rem;
}
.hours-guide-grid article {
  padding: 0.7rem;
  border: 1px solid #e0e8f0;
  border-radius: 13px;
  background: #fcfdff;
}
.hours-guide-grid h3 {
  margin: 0.4rem 0 0.25rem;
  color: #233952;
  font-size: 0.78rem;
  font-weight: 850;
}
.hours-guide-grid p {
  margin: 0;
  color: #64748b;
  font-size: 0.67rem;
  line-height: 1.5;
}
.hours-guide-badge {
  display: inline-flex;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #eaf3ff;
  color: #1d4ed8;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.hours-guide-badge--purple {
  background: #f3e8ff;
  color: #7e22ce;
}
.hours-guide-badge--orange {
  background: #fff7ed;
  color: #c2410c;
}
.hours-guide-badge--green {
  background: #ecfdf5;
  color: #047857;
}
.hours-mini-example {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 9px;
  background: #f7fafc;
  color: #334155;
  font-size: 0.65rem;
}
.hours-mini-example strong {
  color: #075985;
}
@media (max-width: 767.98px) {
  .hours-calculator-grid,
  .hours-guide-grid {
    grid-template-columns: 1fr;
  }
  .hours-mode-toggle,
  .hours-operation-toggle {
    grid-template-columns: 1fr;
  }
  .shell-hours-calculator__body {
    padding: 0.75rem;
  }
  .hours-result-display strong {
    font-size: 1.65rem;
  }
}

/* ===== v4.5.4 — conversão didática e hora noturna ===== */
.hours-tool-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
.hours-tool-btn,
.hours-mode-btn,
.hours-operation-btn {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid #d6e3ef;
  border-radius: 13px;
  background: #fff;
  color: #38516f;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
}
.hours-tool-btn > .material-icons-round,
.hours-mode-btn > .material-icons-round {
  flex: 0 0 auto;
  font-size: 21px !important;
}
.hours-btn-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  text-align: left !important;
  line-height: 1.15 !important;
}
.hours-btn-copy strong {
  display: block;
  color: inherit;
  font-size: 0.76rem;
  line-height: 1.15;
  white-space: normal;
}
.hours-btn-copy small {
  display: block !important;
  color: #7b8ba0 !important;
  font-size: 0.6rem !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  margin: 0 !important;
}
.hours-tool-btn.is-active,
.hours-mode-btn.is-active,
.hours-operation-btn.is-active {
  border-color: #8fc4eb;
  background: #edf7ff;
  color: #075985;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
}
.hours-operation-btn {
  min-height: 46px;
}
.hours-operation-btn > span:not(.material-icons-round) {
  display: block;
  line-height: 1.2;
}
.hours-conversion-panel {
  padding: 0.7rem;
  border: 1px solid #e0e8f0;
  border-radius: 13px;
  background: #fbfdff;
}
.hours-section-title--compact strong {
  font-size: 0.73rem;
}
.hours-section-title--compact small {
  font-size: 0.61rem;
}
.hours-conversion-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.55rem;
  max-height: 142px;
  overflow: auto;
}
.hours-conversion-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.5rem;
  border: 1px solid #e5edf4;
  border-radius: 9px;
  background: #fff;
  font-size: 0.67rem;
  font-variant-numeric: tabular-nums;
}
.hours-conversion-row > span:first-child {
  color: #334155;
}
.hours-conversion-row > .material-icons-round {
  font-size: 16px !important;
  color: #94a3b8;
  text-align: center;
}
.hours-conversion-row > strong {
  color: #075985;
  text-align: right;
}
.hours-conversion-row.is-error {
  border-color: #fecaca;
  background: #fff7f7;
}
.hours-conversion-row.is-error > strong {
  color: #b91c1c;
}
.hours-conversion-empty {
  padding: 0.55rem;
  color: #7b8ba0;
  font-size: 0.65rem;
  text-align: center;
}
.hours-guide {
  padding: 0;
  overflow: hidden;
}
.hours-guide-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.8rem 0.85rem;
  border: 0;
  background: #fff;
  color: inherit;
  text-align: left;
}
.hours-guide-toggle:hover {
  background: #f8fbfe;
}
.hours-guide-toggle[aria-expanded="true"] {
  background: #f8fbfe;
  border-bottom: 1px solid #e2e8f0;
}
.hours-guide-toggle[aria-expanded="true"] .hours-guide-chevron {
  transform: rotate(180deg);
}
.hours-guide-chevron {
  color: #2563eb;
  transition: transform 0.18s ease;
  font-size: 20px !important;
}
.hours-guide .hours-guide-grid {
  padding: 0.75rem;
  margin-top: 0;
}
.night-hour-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #ddd6fe;
  border-radius: 16px;
  background: linear-gradient(135deg, #faf5ff, #fff);
}
.night-hour-hero h3 {
  margin: 0.42rem 0 0.2rem;
  color: #263b55;
  font-size: 1rem;
  font-weight: 850;
}
.night-hour-hero p {
  margin: 0;
  color: #64748b;
  font-size: 0.68rem;
  line-height: 1.5;
}
.night-hour-factor-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.night-hour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.night-hour-card {
  padding: 0.85rem;
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  background: #fff;
}
.night-hour-label {
  display: block;
  color: #526982;
  font-size: 0.65rem;
  font-weight: 800;
}
.night-hour-input .input-group-text {
  background: #f8fafc;
  font-weight: 800;
  color: #475569;
}
.night-duration-input {
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-weight: 750;
}
.night-hour-result {
  padding: 0.8rem;
  border: 1px solid #cfe4da;
  border-radius: 13px;
  background: #f1fbf6;
  text-align: center;
}
.night-hour-result small {
  display: block;
  color: #5f738a;
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.night-hour-result strong {
  display: block;
  margin: 0.15rem 0;
  color: #047857;
  font-size: 1.45rem;
}
.night-hour-result span {
  display: block;
  color: #64748b;
  font-size: 0.64rem;
}
.night-hour-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.night-hour-card .btn .material-icons-round {
  font-size: 17px !important;
}
.night-hour-explanation {
  padding: 0.85rem;
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  background: #fff;
}
.night-explanation-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.night-explanation-head > .material-icons-round {
  color: #7c3aed;
  font-size: 21px !important;
}
.night-explanation-head strong {
  display: block;
  color: #263b55;
  font-size: 0.79rem;
}
.night-explanation-head small {
  display: block;
  color: #718096;
  font-size: 0.63rem;
}
.night-explanation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.night-explanation-grid article {
  padding: 0.7rem;
  border: 1px solid #e0e8f0;
  border-radius: 13px;
  background: #fcfdff;
}
.night-explanation-grid h3 {
  margin: 0.4rem 0 0.25rem;
  color: #233952;
  font-size: 0.77rem;
  font-weight: 850;
}
.night-explanation-grid p {
  margin: 0;
  color: #64748b;
  font-size: 0.66rem;
  line-height: 1.5;
}
@media (max-width: 767.98px) {
  .hours-tool-toggle,
  .night-hour-grid,
  .night-explanation-grid {
    grid-template-columns: 1fr;
  }
  .night-hour-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .night-hour-factor-pill {
    align-self: flex-start;
  }
  .hours-btn-copy {
    align-items: center !important;
    text-align: center !important;
  }
}

/* ===== v4.5.6 — calculadora de horários: máscaras rígidas da hora noturna ===== */
.shell-hours-calculator {
  --hours-accent: #0f766e;
  --hours-accent-soft: #ecfdf5;
  --hours-accent-border: #a7f3d0;
  --hours-accent-strong: #047857;
}
.shell-hours-calculator[data-hours-theme="subtract"] {
  --hours-accent: #ea580c;
  --hours-accent-soft: #fff7ed;
  --hours-accent-border: #fdba74;
  --hours-accent-strong: #c2410c;
}
.shell-hours-calculator[data-hours-theme="night"] {
  --hours-accent: #7c3aed;
  --hours-accent-soft: #faf5ff;
  --hours-accent-border: #d8b4fe;
  --hours-accent-strong: #6d28d9;
}
.shell-hours-calculator__content {
  border-top: 3px solid var(--hours-accent) !important;
  transition: border-color 0.18s ease;
}
.shell-hours-calculator__hero-icon {
  background: var(--hours-accent-soft) !important;
  color: var(--hours-accent) !important;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.hours-tool-toggle,
.hours-mode-toggle {
  gap: 0.4rem;
}
.hours-tool-btn,
.hours-mode-btn {
  min-height: 42px !important;
  padding: 0.42rem 0.62rem !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #4b607c !important;
  box-shadow: none !important;
}
.hours-tool-btn > .material-icons-round,
.hours-mode-btn > .material-icons-round {
  font-size: 18px !important;
}
.hours-btn-copy {
  gap: 0.05rem !important;
}
.hours-btn-copy strong {
  font-size: 0.7rem !important;
}
.hours-btn-copy small {
  font-size: 0.55rem !important;
  color: #8291a3 !important;
}
.hours-tool-btn.is-active,
.hours-mode-btn.is-active {
  border-color: var(--hours-accent-border) !important;
  background: var(--hours-accent-soft) !important;
  color: var(--hours-accent-strong) !important;
}
.hours-operation-btn {
  min-height: 40px !important;
  padding: 0.42rem 0.6rem !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 0.7rem !important;
}
.hours-operation-btn.is-active {
  border-color: var(--hours-accent-border) !important;
  background: var(--hours-accent-soft) !important;
  color: var(--hours-accent-strong) !important;
}
.hours-result-display,
.night-hour-result {
  border-color: var(--hours-accent-border) !important;
  background: var(--hours-accent-soft) !important;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.hours-result-display strong,
.night-hour-result strong {
  color: var(--hours-accent-strong) !important;
}
.hours-section-title > .material-icons-round,
.hours-guide__head > .material-icons-round {
  color: var(--hours-accent) !important;
}
.night-hour-hero {
  border-color: var(--hours-accent-border) !important;
  background: linear-gradient(
    135deg,
    var(--hours-accent-soft),
    #fff
  ) !important;
}
.night-hour-factor-pill {
  background: var(--hours-accent) !important;
}
.night-hour-explanation {
  padding: 0 !important;
  overflow: hidden;
}
.night-hour-explanation .night-explanation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.75rem;
}
.night-duration-input {
  letter-spacing: 0.03em;
}
.night-duration-input.is-invalid {
  background-image: none !important;
  padding-right: 0.75rem !important;
}
@media (max-width: 767.98px) {
  .hours-tool-toggle,
  .hours-mode-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .hours-tool-btn,
  .hours-mode-btn {
    min-height: 40px !important;
    padding: 0.38rem 0.45rem !important;
  }
  .hours-btn-copy strong {
    font-size: 0.66rem !important;
  }
  .hours-btn-copy small {
    font-size: 0.52rem !important;
  }
  .night-hour-explanation .night-explanation-grid {
    grid-template-columns: 1fr;
  }
}

/* v4.5.6 — entradas da Hora Noturna: máscara rígida e leitura mais limpa */
.night-hour-input input,
.night-duration-input {
  font-variant-numeric: tabular-nums;
}
.night-duration-input {
  caret-color: var(--hours-accent);
  text-align: center;
}
.night-hour-input input {
  text-align: right;
}
.night-hour-card .form-control:focus {
  border-color: var(--hours-accent-border) !important;
  box-shadow: 0 0 0 0.16rem
    color-mix(in srgb, var(--hours-accent) 14%, transparent) !important;
}

/* v4.5.7 — ação de limpeza da Hora Noturna */
.night-hour-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.night-hour-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 30px;
  padding: 0.28rem 0.55rem;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff;
  color: #dc2626;
  font-size: 0.65rem;
  font-weight: 850;
}
.night-hour-clear-btn:hover {
  background: #fff1f2;
  border-color: #fda4af;
}
.night-hour-clear-btn .material-icons-round {
  font-size: 16px !important;
}

/* ===== v4.5.9 — configurações rápidas realmente compartilhadas ===== */
.shell-modal {
  border: 1px solid rgba(47, 72, 174, 0.12) !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}
.shell-modal .modal-header {
  padding: 1rem 1.1rem 0.8rem;
  border-bottom: 1px solid #e5eaf1;
}
.shell-modal .modal-body {
  padding: 1rem 1.1rem 1.1rem;
}
.shell-settings-grid {
  gap: 0.65rem;
}
.shell-settings-grid .settings-shortcut {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: center;
  gap: 0.75rem;
  min-height: 74px;
  padding: 0.78rem 0.9rem;
  border: 1px solid #dce6f1;
  border-radius: 17px;
  background: linear-gradient(180deg, #fbfdff, #f7faff);
  color: #223a5d;
  text-decoration: none;
  transition: 0.16s ease;
}
.shell-settings-grid .settings-shortcut:hover,
.shell-settings-grid .settings-shortcut:focus-visible {
  transform: translateY(-1px);
  border-color: #b8d5ee;
  background: #f1f8ff;
  box-shadow: 0 8px 18px rgba(31, 74, 110, 0.08);
  outline: none;
}
.shell-settings-grid .settings-shortcut > .material-icons-round {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef6ff;
  font-size: 23px !important;
}
.shell-settings-grid .settings-shortcut:nth-child(2) > .material-icons-round {
  background: #f3ecff;
}
.shell-settings-grid .settings-shortcut:nth-child(3) > .material-icons-round {
  background: #eef2ff;
}
.shell-settings-grid .settings-shortcut:nth-child(4) > .material-icons-round {
  background: #eefaf5;
}
.shell-settings-grid .settings-shortcut strong {
  display: block;
  color: #243a5a;
  font-size: 0.82rem;
  line-height: 1.2;
}
.shell-settings-grid .settings-shortcut small {
  display: block;
  margin-top: 0.15rem;
  color: #6b7b91;
  font-size: 0.69rem;
  line-height: 1.35;
}
.home-page .shell-modal .modal-title .material-icons-round {
  color: #7c3aed !important;
}

/* ===== v4.7.1 — calculadora de Adicional Noturno reformulada ===== */
.night-reduction-toggle {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .8rem;
  border: 1px solid var(--hours-accent-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--hours-accent-soft) 70%, #fff);
  cursor: pointer;
}
.night-reduction-toggle > span:last-child {
  display: grid;
  gap: .1rem;
}
.night-reduction-toggle strong {
  font-size: .82rem;
  color: #18324f;
}
.night-reduction-toggle small {
  font-size: .68rem;
  color: #64748b;
  line-height: 1.3;
}
.night-duration-meta {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  padding: .55rem .65rem;
  border-radius: 10px;
  background: #f8fafc;
  color: #52647b;
  font-size: .7rem;
  line-height: 1.35;
}
.night-duration-meta .material-icons-round {
  color: var(--hours-accent);
  font-size: 1rem;
}
.night-calculation-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
}
.night-calculation-summary article {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon label"
    "icon value"
    "memory memory";
  column-gap: .6rem;
  row-gap: .12rem;
  padding: .8rem .85rem;
  border: 1px solid #d9e3ef;
  border-radius: 14px;
  background: #fff;
}
.night-calculation-summary article > .material-icons-round {
  grid-area: icon;
  align-self: center;
  color: var(--hours-accent);
  font-size: 1.45rem;
}
.night-calculation-summary small {
  grid-area: label;
  color: #64748b;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.night-calculation-summary strong {
  grid-area: value;
  color: #102a43;
  font-size: 1.08rem;
  line-height: 1.15;
}
.night-calculation-summary em {
  grid-area: memory;
  margin-top: .35rem;
  padding-top: .4rem;
  border-top: 1px dashed #d9e3ef;
  color: #718096;
  font-size: .64rem;
  font-style: normal;
  line-height: 1.3;
}
.night-calculation-summary .night-summary-highlight {
  border-color: var(--hours-accent-border);
  background: var(--hours-accent-soft);
}
.night-calculation-summary .night-summary-highlight strong,
.night-calculation-summary .night-summary-total strong {
  color: var(--hours-accent-strong);
}
.night-calculation-summary .night-summary-total {
  border-color: color-mix(in srgb, var(--hours-accent) 35%, #d9e3ef);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--hours-accent) 9%, transparent);
}
.night-calculation-memory {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .75rem .85rem;
  border: 1px solid var(--hours-accent-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--hours-accent-soft) 55%, #fff);
}
.night-calculation-memory > .material-icons-round {
  color: var(--hours-accent);
  font-size: 1.25rem;
}
.night-calculation-memory strong {
  display: block;
  margin-bottom: .15rem;
  color: #17324d;
  font-size: .78rem;
}
.night-calculation-memory p {
  margin: 0;
  color: #52647b;
  font-size: .7rem;
  line-height: 1.45;
}
.night-calculation-memory b {
  color: var(--hours-accent-strong);
}
@media (max-width: 980px) {
  .night-calculation-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .night-calculation-summary { grid-template-columns: 1fr; }
}


/* ===== v4.7.2 — isonomia da appbar, navegação e entradas RTL ===== */
.appbar-icon-actions,
.appbar-icon-actions.shell-appbar-actions-normalized {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  gap: .55rem !important;
  flex-wrap: wrap;
  margin-left: auto !important;
}
.appbar-icon-actions > .appbar-icon-btn,
.appbar-icon-actions > a.appbar-icon-btn,
.appbar-icon-actions > button.appbar-icon-btn { margin: 0 !important; flex: 0 0 40px; }
.mode-bottom-nav__icon, .mode-bottom-nav__label { transition: transform .16s ease, color .16s ease; transform-origin: center; }
.mode-bottom-nav__item:hover .mode-bottom-nav__icon,
.mode-bottom-nav__item:focus-visible .mode-bottom-nav__icon { transform: scale(1.10); }
.mode-bottom-nav__item:hover .mode-bottom-nav__label,
.mode-bottom-nav__item:focus-visible .mode-bottom-nav__label { transform: scale(1.05); }
.rtl-hours-input,
.rtl-decimal-input,
input[data-shell-decimals],
input[data-decimals]:not([data-integer="true"]),
input[type="number"] { text-align: right; font-variant-numeric: tabular-nums; }
.settings-shortcut--button { width:100%; border:1px solid #dce6f1; text-align:left; }
.night-remuneration-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
.night-compact-field { min-width:0; display:grid; gap:.3rem; color:#526982; font-size:.64rem; font-weight:800; }
.night-compact-field .input-group { min-width:0; }
.night-compact-field .form-control, .night-compact-field .input-group-text { min-height:36px; padding:.35rem .5rem; }
@media (max-width: 520px) { .night-remuneration-grid { grid-template-columns:1fr; } }

/* v4.7.2 — blindagem da calculadora contra estilos locais de input-group */
.shell-hours-calculator .input-group{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:0!important}.shell-hours-calculator .input-group>.form-control{width:1%;min-width:0;flex:1 1 auto}.night-compact-field .input-group-text{flex:0 0 auto}.night-compact-field .form-control{text-align:right}


/* ===== v4.7.3 — metadados do modal sempre contidos no pill ===== */
.creator-modal-block .creator-pill,
.creator-modal-block .creator-pill--compact {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: min(100%, 360px) !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: .28rem .62rem !important;
  border: 1px solid #cbd8f4 !important;
  border-radius: 999px !important;
  background: #f8faff !important;
  color: #243b75 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.creator-modal-block .creator-pill--compact strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ===== v4.8.7 — identidade visual única dos expanders, ações e ajuda contextual ===== */
@media screen {
  [data-main-expander].app-card.shell-expander-card {
    border-width: 2px !important;
    border-style: solid !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(15, 40, 70, .05) !important;
    overflow: hidden;
  }
  [data-main-expander].app-card.shell-expander-theme-green { border-color: #2ab673 !important; }
  [data-main-expander].app-card.shell-expander-theme-blue { border-color: #3b82f6 !important; }
  [data-main-expander].app-card.shell-expander-theme-purple { border-color: #8b5cf6 !important; }
  [data-main-expander].app-card.shell-expander-card > .main-expander-header {
    background: rgba(255,255,255,.98) !important;
  }
}

.shell-info-trigger,
.verba-info-btn {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #2874a2 !important;
  cursor: pointer !important;
  vertical-align: -.18em;
  line-height: 1 !important;
  font-family: 'Material Symbols Rounded', 'Material Icons Round', sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20 !important;
  transition: transform .16s ease, color .16s ease !important;
}
.shell-info-trigger:hover,
.shell-info-trigger:focus-visible,
.verba-info-btn:hover,
.verba-info-btn:focus-visible {
  background: transparent !important;
  color: #145d8c !important;
  transform: scale(1.10);
  outline: none !important;
}
.shell-info-trigger:focus-visible,
.verba-info-btn:focus-visible { filter: drop-shadow(0 0 3px rgba(40,116,162,.32)); }
.shell-info-trigger.material-icons-round,
.shell-info-trigger.material-symbols-rounded,
.shell-info-trigger.material-symbols-outlined,
.verba-info-btn .material-icons-round,
.verba-info-btn .material-symbols-rounded,
.verba-info-btn .material-symbols-outlined {
  font-family: 'Material Symbols Rounded', 'Material Icons Round', sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20 !important;
  font-size: 18px !important;
}

.shell-info-modal__content {
  overflow: hidden;
  border: 1px solid #d7e5ef !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(15,40,70,.22) !important;
}
.shell-info-modal__header {
  align-items: flex-start !important;
  padding: 1.15rem 1.2rem !important;
  border-bottom: 1px solid #e5edf4 !important;
  background: linear-gradient(135deg, #f8fcff, #eef7fd) !important;
}
.shell-info-modal__title-stack { min-width: 0; display: flex; align-items: flex-start; gap: .75rem; }
.shell-info-modal__glyph {
  flex: 0 0 auto;
  margin-top: .08rem;
  color: #2874a2 !important;
  font-size: 29px !important;
}
.shell-info-modal__title-stack small {
  display: block;
  margin-bottom: .12rem;
  color: #4a7f9f;
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .08em;
}
.shell-info-modal__title-stack h2 { color: #173d5d; font-weight: 850; }
.shell-info-modal__title-stack p { margin: .22rem 0 0; color: #6a7f92; font-size: .78rem; }
.shell-info-modal__body { padding: 1.15rem 1.2rem 1.2rem !important; }
.shell-info-modal__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: .8rem; }
.shell-info-modal__card {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .9rem;
  border: 1px solid #dde8ef;
  border-radius: 12px;
  background: #fbfdfe;
}
.shell-info-modal__card--primary { border-color: #cfe3f0; background: #f5fbfe; }
.shell-info-modal__card > .material-icons-round { flex: 0 0 auto; color: #2874a2; font-size: 21px !important; }
.shell-info-modal__card small { display: block; margin-bottom: .22rem; color: #668297; font-size: .62rem; font-weight: 850; letter-spacing: .06em; }
.shell-info-modal__card p { margin: 0; color: #4f6678; font-size: .78rem; line-height: 1.55; }
.shell-info-modal__check {
  margin-top: .8rem;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .85rem .9rem;
  border-left: 3px solid #2ab673;
  border-radius: 10px;
  background: #f5fbf7;
}
.shell-info-modal__check > .material-icons-round { flex: 0 0 auto; color: #16804e; font-size: 21px !important; }
.shell-info-modal__check strong { display: block; margin-bottom: .15rem; color: #2f6044; font-size: .76rem; }
.shell-info-modal__check p { margin: 0; color: #5c7668; font-size: .72rem; line-height: 1.5; }
.shell-info-modal__footer { justify-content: space-between !important; gap: .75rem; background: #fcfdff; }
.shell-info-modal__footer > span { display: inline-flex; align-items: center; gap: .35rem; color: #7890a2; font-size: .68rem; }
.shell-info-modal__footer > span .material-icons-round { color: #4a86aa; font-size: 17px !important; }
@media (max-width: 680px) {
  .shell-info-modal__grid { grid-template-columns: 1fr; }
  .shell-info-modal__footer { align-items: stretch !important; flex-direction: column; }
  .shell-info-modal__footer .btn { width: 100%; justify-content: center; }
}


@media screen {
  details.module-card.shell-detail-expander-card {
    border-width: 2px !important;
    border-style: solid !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(15, 40, 70, .05) !important;
    overflow: visible;
  }
  details.module-card.shell-detail-expander-card.theme-green { border-color: #2ab673 !important; }
  details.module-card.shell-detail-expander-card.theme-blue { border-color: #3b82f6 !important; }
  details.module-card.shell-detail-expander-card.theme-purple { border-color: #8b5cf6 !important; }
}

.shell-expander-header-actions,
.module-header-actions.shell-expander-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: nowrap;
}
[data-main-expander] .main-expander-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
[data-main-expander] .main-expander-header > div:first-child { min-width: 0; }
.shell-expander-action,
.section-clear-btn {
  width: 31px;
  height: 31px;
  min-width: 31px;
  min-height: 31px;
  display: inline-grid;
  place-items: center;
  padding: 0 !important;
  border: 1px solid #dbe6ee !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(17, 49, 76, .04);
  color: #466178 !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.shell-expander-action:hover,
.shell-expander-action:focus-visible,
.section-clear-btn:hover,
.section-clear-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.shell-expander-action .material-icons-round,
.shell-expander-action .material-symbols-rounded,
.section-clear-btn .material-symbols-rounded { font-size: 17px !important; }
.shell-expander-action--clear,
.section-clear-btn { color: #b4232b !important; }
.shell-expander-action--clear:hover,
.shell-expander-action--clear:focus-visible,
.section-clear-btn:hover,
.section-clear-btn:focus-visible { background: #fff5f5 !important; border-color: #f2c7ca !important; }
.shell-expander-action--copy { color: #5f35b6 !important; }
.shell-expander-action--copy:hover,
.shell-expander-action--copy:focus-visible { background: #f7f3ff !important; border-color: #dacafb !important; }
.shell-expander-action--download { color: #2563eb !important; }
.shell-expander-action--download:hover,
.shell-expander-action--download:focus-visible { background: #f3f8ff !important; border-color: #c6d7fb !important; }

.shell-section-export-modal .modal-dialog { padding-inline: 10px; }
.shell-section-export-modal__content { border-radius: 17px; border: 1px solid #cddce7; overflow: hidden; }
.shell-section-export-modal__header { padding: 15px 17px; align-items: flex-start; }
.shell-section-export-modal__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.shell-section-export-modal__glyph {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: #edf4ff;
  color: #2563eb;
}
.shell-section-export-modal__glyph .material-icons-round { font-size: 22px !important; }
.shell-section-export-modal__header small {
  display: block;
  color: #6d8397;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.shell-section-export-modal__header .modal-title {
  color: #173b63;
  font-weight: 800;
  margin-bottom: 2px;
}
.shell-section-export-modal__header p {
  color: #6f8598;
  font-size: .72rem;
  line-height: 1.45;
  margin: 0;
}
.export-choice-grid.shell-section-export-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.export-choice-grid.shell-section-export-grid .export-choice {
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  text-align: left;
  border: 1px solid #d9e4ec;
  border-radius: 11px;
  background: #fff;
  color: #2b4c66;
}
.export-choice-grid.shell-section-export-grid .export-choice:hover {
  background: #f8fbfd;
  border-color: #b8cfdd;
}
.export-choice-grid.shell-section-export-grid .export-choice > .material-icons-round {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f2f6f9;
  font-size: 21px !important;
}
.export-choice-grid.shell-section-export-grid .export-choice span:last-child { min-width: 0; display: grid; gap: 2px; }
.export-choice-grid.shell-section-export-grid .export-choice strong { font-size: .75rem; }
.export-choice-grid.shell-section-export-grid .export-choice small { color: #718596; font-size: .61rem; line-height: 1.35; }
.export-choice-grid.shell-section-export-grid .export-xlsx { color: #177245; background: #ecf8f2; }
.export-choice-grid.shell-section-export-grid .export-pdf { color: #b4232b; background: #fff0f1; }
.export-choice-grid.shell-section-export-grid .export-copy { color: #5f35b6; background: #f4efff; }
.export-choice-grid.shell-section-export-grid .export-csv { color: #0f6fa2; background: #eef7fd; }
@media (max-width: 760px) {
  .export-choice-grid.shell-section-export-grid { grid-template-columns: 1fr; }
}


/* ===== v4.8.8 — transição elevada da navegação inferior =====
   Preserva textos, ícones, cores, destinos e dimensões gerais da navbar.
   A mudança é limitada à animação/elevação do ícone selecionado. */
.mode-bottom-nav__item:nth-child(1) { --nav-accent: #059669; }
.mode-bottom-nav__item:nth-child(2) { --nav-accent: #ea580c; }
.mode-bottom-nav__item:nth-child(3) { --nav-accent: #7c3aed; }
.mode-bottom-nav__item:nth-child(4) { --nav-accent: #ea580c; }
.mode-bottom-nav__item:nth-child(5) { --nav-accent: #0f8f87; }
.mode-bottom-nav__item:nth-child(6) { --nav-accent: #7c3aed; }
.mode-bottom-nav__item:nth-child(7) { --nav-accent: #dc2626; }
.mode-bottom-nav__item:nth-child(8) { --nav-accent: #4f46e5; }

.mode-bottom-nav,
.mode-bottom-nav__inner,
.mode-bottom-nav__item {
  overflow: visible;
}

.mode-bottom-nav__item {
  position: relative;
}

.mode-bottom-nav__icon {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 25px;
  display: grid;
  place-items: center;
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition:
    transform .30s cubic-bezier(.34, 1.56, .64, 1),
    filter .30s ease;
  will-change: transform;
}

.mode-bottom-nav__icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .98);
  border: 1px solid color-mix(in srgb, var(--nav-accent, #2874a2) 28%, #d9e4ee);
  box-shadow:
    0 7px 14px color-mix(in srgb, var(--nav-accent, #2874a2) 18%, transparent),
    0 14px 28px rgba(15, 23, 42, .12);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.72);
  transition:
    opacity .18s ease,
    transform .30s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .30s ease;
  pointer-events: none;
}

.mode-bottom-nav__icon .material-icons-round {
  position: relative;
  z-index: 1;
  transition: transform .30s cubic-bezier(.34, 1.56, .64, 1), color .18s ease;
}

.mode-bottom-nav__item.is-active .mode-bottom-nav__icon {
  transform: translateY(-16px) scale(1.04);
  filter: drop-shadow(0 5px 8px rgba(15, 23, 42, .10));
}

.mode-bottom-nav__item.is-active .mode-bottom-nav__icon::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.mode-bottom-nav__item.is-active .mode-bottom-nav__icon .material-icons-round {
  transform: scale(1.08);
}

.mode-bottom-nav__item.is-active .mode-bottom-nav__label {
  transform: translateY(-2px);
}

.mode-bottom-nav.is-switching .mode-bottom-nav__item:not(.is-active) .mode-bottom-nav__icon {
  transition-duration: .22s;
}

.mode-bottom-nav__item:hover:not(.is-active) .mode-bottom-nav__icon,
.mode-bottom-nav__item:focus-visible:not(.is-active) .mode-bottom-nav__icon {
  transform: translateY(-2px) scale(1.08);
}

@media (max-width: 767.98px) {
  .mode-bottom-nav__item.is-active .mode-bottom-nav__icon {
    transform: translateY(-14px) scale(1.03);
  }
  .mode-bottom-nav__icon::before {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mode-bottom-nav__icon,
  .mode-bottom-nav__icon::before,
  .mode-bottom-nav__icon .material-icons-round,
  .mode-bottom-nav__label {
    transition-duration: .01ms !important;
  }
}

/* v4.8.18-r34 — transição entre módulos com navbar persistente.
   A raiz não faz fade. Somente o conteúdo principal transiciona; appbar e navbar
   ficam em camadas compartilhadas para não desaparecerem entre documentos. */
@view-transition {
  navigation: auto;
}

main {
  view-transition-name: shell-main-content;
}

.appbar {
  view-transition-name: shell-top-appbar;
}

.mode-bottom-nav {
  view-transition-name: shell-bottom-nav;
}

/* Evita o flash causado pelo fade do documento inteiro. */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none !important;
  mix-blend-mode: normal;
}

/* Navbar inferior e appbar permanecem visualmente estáveis enquanto o conteúdo troca. */
::view-transition-group(shell-bottom-nav),
::view-transition-group(shell-top-appbar) {
  animation-duration: 1ms;
}

::view-transition-old(shell-bottom-nav),
::view-transition-new(shell-bottom-nav),
::view-transition-old(shell-top-appbar),
::view-transition-new(shell-top-appbar) {
  animation: none !important;
  opacity: 1;
  mix-blend-mode: normal;
}

::view-transition-old(shell-main-content) {
  animation: shell-page-out 70ms ease-out both;
}

::view-transition-new(shell-main-content) {
  animation: shell-page-in 160ms cubic-bezier(.2,.72,.25,1) both;
}

@keyframes shell-page-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: .985; transform: translateY(-1px); }
}

@keyframes shell-page-in {
  from { opacity: .94; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.mode-bottom-nav.is-switching .mode-bottom-nav__item.is-nav-target {
  transform: translateY(-1px) scale(1.015);
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(shell-main-content),
  ::view-transition-new(shell-main-content),
  ::view-transition-old(shell-bottom-nav),
  ::view-transition-new(shell-bottom-nav),
  ::view-transition-old(shell-top-appbar),
  ::view-transition-new(shell-top-appbar) {
    animation: none !important;
  }
}


/* r35 — atualização PWA segura: nunca recarrega no meio do cálculo sem ação do usuário. */
.shell-update-banner {
  position: fixed;
  left: 50%;
  bottom: 102px;
  z-index: 1090;
  width: min(680px, calc(100vw - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(14, 116, 144, .22);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.shell-update-banner > .material-icons-round { font-size: 26px !important; }
.shell-update-banner strong,
.shell-update-banner small { display: block; }
.shell-update-banner small { margin-top: 1px; color: #64748b; font-size: .76rem; }
.shell-update-banner__actions { display: flex; gap: 7px; align-items: center; }
@media (max-width: 640px) {
  .shell-update-banner { bottom: 94px; grid-template-columns: auto minmax(0, 1fr); }
  .shell-update-banner__actions { grid-column: 1 / -1; justify-content: flex-end; }
}


.shell-privacy-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border: 1px solid #d5eee3;
  border-radius: 14px;
  background: #f5fbf8;
}
.shell-privacy-status > .material-icons-round { font-size: 22px !important; margin-top: 1px; }
.shell-privacy-status strong, .shell-privacy-status small { display: block; }
.shell-privacy-status strong { color: #176b4d; font-size: .85rem; }
.shell-privacy-status small { margin-top: 2px; color: #5f716a; font-size: .74rem; line-height: 1.35; }

/* r42 — toggle compartilhado: mesma identidade em todos os módulos */
.app-toggle{--toggle-width:42px;--toggle-height:24px;display:inline-flex;align-items:center;gap:.65rem;margin:0;cursor:pointer;user-select:none}
.app-toggle>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.app-toggle-track{width:var(--toggle-width);height:var(--toggle-height);flex:0 0 var(--toggle-width);padding:3px;display:flex;align-items:center;border:1px solid #cbd5e1;border-radius:999px;background:#e2e8f0;transition:.18s ease}
.app-toggle-track>span{width:calc(var(--toggle-height) - 8px);height:calc(var(--toggle-height) - 8px);border-radius:50%;background:#fff;box-shadow:0 2px 5px rgb(15 23 42 / 25%);transition:transform .18s ease}
.app-toggle>input:checked+.app-toggle-track{border-color:var(--app-primary,#0284c7);background:var(--app-primary,#0284c7)}
.app-toggle>input:checked+.app-toggle-track>span{transform:translateX(calc(var(--toggle-width) - var(--toggle-height)))}
.app-toggle>input:focus-visible+.app-toggle-track{outline:3px solid rgb(2 132 199 / 20%);outline-offset:2px}
.app-toggle-copy strong,.app-toggle-copy small{display:block}.app-toggle-copy strong{color:#334155;font-size:.78rem;line-height:1.15}.app-toggle-copy small{margin-top:.17rem;color:var(--app-muted,#64748b);font-size:.67rem;line-height:1.25}
.app-toggle-wide{width:100%;min-height:48px;padding:.55rem .7rem;border:1px solid var(--app-border,#dbe5ef);border-radius:12px;background:#f8fafc}.app-toggle-compact{--toggle-width:36px;--toggle-height:21px;gap:.45rem}.app-toggle-icon{--toggle-width:36px;--toggle-height:20px;justify-content:center}

/* ===== r57 - isonomia visual dos ícones (i) e fundo do Módulo 7 ===== */
/* Padrão definitivo do (i): contorno azul, centro branco, sem minicard.
   O desenho é feito por CSS e não pela ligadura `info_outline`, evitando que
   versões diferentes da fonte exibam literalmente o sufixo `_outline`. */
.info-icon,
.quick-info-icon,
.shell-info-trigger,
.verba-info-btn,
.context-info-btn,
.inline-info-btn,
.example-info-btn,
.quick-memory-info,
.row-memory-info,
.analytic-memory-info {
  color: #2563eb !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Acionadores compostos permanecem totalmente transparentes. */
.verba-info-btn,
.context-info-btn,
.inline-info-btn,
.example-info-btn,
.quick-memory-info,
.row-memory-info,
.analytic-memory-info {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 0 !important;
  background: transparent !important;
  line-height: 1 !important;
}

/* O próprio glifo é um círculo branco com contorno azul e "i" desenhado em CSS. */
.shell-info-outline-glyph {
  position: relative !important;
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  padding: 0 !important;
  margin: 0 1px !important;
  box-sizing: border-box !important;
  border: 1.6px solid #2563eb !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #2563eb !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  overflow: visible !important;
  vertical-align: -2px !important;
  font-family: inherit !important;
  font-variation-settings: normal !important;
}

.shell-info-outline-glyph::before {
  content: '' !important;
  position: absolute !important;
  top: 3px !important;
  left: 50% !important;
  width: 2.2px !important;
  height: 2.2px !important;
  margin-left: -1.1px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
}

.shell-info-outline-glyph::after {
  content: '' !important;
  position: absolute !important;
  top: 6.2px !important;
  left: 50% !important;
  width: 2.2px !important;
  height: 5.7px !important;
  margin-left: -1.1px !important;
  border-radius: 999px !important;
  background: #2563eb !important;
}

.info-icon,
.quick-info-icon,
.shell-info-trigger {
  background: transparent !important;
}

.info-icon:hover,
.info-icon:focus-visible,
.quick-info-icon:hover,
.quick-info-icon:focus-visible,
.shell-info-trigger:hover,
.shell-info-trigger:focus-visible,
.verba-info-btn:hover,
.verba-info-btn:focus-visible,
.context-info-btn:hover,
.context-info-btn:focus-visible,
.inline-info-btn:hover,
.inline-info-btn:focus-visible,
.example-info-btn:hover,
.example-info-btn:focus-visible,
.quick-memory-info:hover,
.quick-memory-info:focus-visible,
.row-memory-info:hover,
.row-memory-info:focus-visible,
.analytic-memory-info:hover,
.analytic-memory-info:focus-visible {
  color: #174ea6 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  filter: none !important;
}

.info-icon:hover .shell-info-outline-glyph,
.info-icon:focus-visible .shell-info-outline-glyph,
.quick-info-icon:hover .shell-info-outline-glyph,
.quick-info-icon:focus-visible .shell-info-outline-glyph,
.shell-info-trigger:hover,
.shell-info-trigger:focus-visible,
.verba-info-btn:hover .shell-info-outline-glyph,
.verba-info-btn:focus-visible .shell-info-outline-glyph,
.context-info-btn:hover .shell-info-outline-glyph,
.context-info-btn:focus-visible .shell-info-outline-glyph,
.inline-info-btn:hover .shell-info-outline-glyph,
.inline-info-btn:focus-visible .shell-info-outline-glyph,
.example-info-btn:hover .shell-info-outline-glyph,
.example-info-btn:focus-visible .shell-info-outline-glyph,
.quick-memory-info:hover .shell-info-outline-glyph,
.quick-memory-info:focus-visible .shell-info-outline-glyph,
.row-memory-info:hover .shell-info-outline-glyph,
.row-memory-info:focus-visible .shell-info-outline-glyph,
.analytic-memory-info:hover .shell-info-outline-glyph,
.analytic-memory-info:focus-visible .shell-info-outline-glyph {
  border-color: #174ea6 !important;
}

/* O Módulo 7 usa exatamente o mesmo papel pautado dos demais módulos. */
body.rescisao-page {
  background:
    linear-gradient(to bottom, rgba(155, 121, 63, .11) 1px, transparent 1px) 0 0 / 100% 32px,
    #f7f2e8 !important;
}


/* ===== r57 hotfix final — isonomia GLOBAL do (i) e do papel dos módulos ===== */
/* Todos os módulos 1–7 usam o mesmo papel pautado. A regra fica no shell,
   carregado por último, para impedir que CSS específico de um módulo volte a
   pintar o fundo com azul/cinza. */
@media screen {
  body[data-shell-active^="mode"] {
    background:
      linear-gradient(to bottom, rgba(155, 121, 63, .11) 1px, transparent 1px) 0 0 / 100% 32px,
      #f7f2e8 !important;
    background-color: #f7f2e8 !important;
  }
}

/* Contêineres de ajuda nunca devem virar minicards azuis. */
:is(
  .verba-info-btn,
  .context-info-btn,
  .inline-info-btn,
  .example-info-btn,
  .quick-memory-info,
  .row-memory-info,
  .analytic-memory-info,
  .retro-memory-info,
  .result-memory-info,
  .entry-memory-info,
  .result-memory-tooltip,
  .memory-details-btn,
  .memory-btn
) {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  margin-left: 3px;
  display: inline-grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #2563eb !important;
  line-height: 1 !important;
  vertical-align: middle;
}

:is(
  .verba-info-btn,
  .context-info-btn,
  .inline-info-btn,
  .example-info-btn,
  .quick-memory-info,
  .row-memory-info,
  .analytic-memory-info,
  .retro-memory-info,
  .result-memory-info,
  .entry-memory-info,
  .result-memory-tooltip,
  .memory-details-btn,
  .memory-btn
):hover,
:is(
  .verba-info-btn,
  .context-info-btn,
  .inline-info-btn,
  .example-info-btn,
  .quick-memory-info,
  .row-memory-info,
  .analytic-memory-info,
  .retro-memory-info,
  .result-memory-info,
  .entry-memory-info,
  .result-memory-tooltip,
  .memory-details-btn,
  .memory-btn
):focus-visible {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  filter: none !important;
}

/* Qualquer glifo de informação normalizado pelo shell usa exatamente o mesmo
   círculo branco com contorno azul, independentemente do módulo de origem. */
.shell-info-outline-glyph {
  position: relative !important;
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  padding: 0 !important;
  margin: 0 1px !important;
  box-sizing: border-box !important;
  border: 1.6px solid #2563eb !important;
  border-radius: 50% !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #2563eb !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  overflow: visible !important;
  vertical-align: -2px !important;
  font-family: inherit !important;
  font-variation-settings: normal !important;
}

.shell-info-outline-glyph::before {
  content: '' !important;
  position: absolute !important;
  top: 3px !important;
  left: 50% !important;
  width: 2.2px !important;
  height: 2.2px !important;
  margin-left: -1.1px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
}

.shell-info-outline-glyph::after {
  content: '' !important;
  position: absolute !important;
  top: 6.2px !important;
  left: 50% !important;
  width: 2.2px !important;
  height: 5.7px !important;
  margin-left: -1.1px !important;
  border-radius: 999px !important;
  background: #2563eb !important;
}

/* Neutraliza cores semânticas antigas que alguns módulos aplicavam ao próprio
   ícone de ajuda. A cor semântica continua nos demais ícones da aplicação. */
.shell-info-outline-glyph.mi-blue,
.shell-info-outline-glyph.mi-green,
.shell-info-outline-glyph.mi-orange,
.shell-info-outline-glyph.mi-purple,
.shell-info-outline-glyph.mi-red,
.info-icon.shell-info-outline-glyph,
.quick-info-icon.shell-info-outline-glyph,
.inline-info.shell-info-outline-glyph,
.table-head-info.shell-info-outline-glyph {
  color: #2563eb !important;
  background: #fff !important;
  background-color: #fff !important;
}
