:root {
  --ink: #111318;
  --muted: #5d6573;
  --line: #dfe4ea;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --dark: #101820;
  --dark-2: #18242e;
  --red: #d82424;
  --yellow: #f2b705;
  --blue: #1976d2;
  --green: #1f8a5b;
  --shadow: 0 20px 50px rgba(16, 24, 32, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 24px;
}

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

.brand__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  font-family: Archivo, Poppins, sans-serif;
  font-weight: 800;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.06rem;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav a {
  padding: 10px 12px;
  color: #2b3038;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--dark);
}

.site-nav__mobile-only {
  display: none;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-client,
.nav-whatsapp,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-client {
  border-color: var(--line);
  background: #fff;
  color: var(--dark);
}

.nav-whatsapp {
  background: var(--green);
  color: #fff;
}

.button:hover,
.nav-client:hover,
.nav-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.18);
}

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

.button--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button--light {
  background: #fff;
  color: var(--dark);
}

.button--dark {
  background: var(--dark);
  color: #fff;
}

.button--ghost-light {
  border-color: var(--line);
  background: #fff;
  color: var(--dark);
}

.button--danger {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 760px);
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.74;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.96) 0%, rgba(16, 24, 32, 0.82) 38%, rgba(16, 24, 32, 0.25) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.86), rgba(16, 24, 32, 0.08));
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(280px, 360px);
  align-items: end;
  min-height: inherit;
  gap: 40px;
  padding: 128px 0 54px;
}

.hero__content {
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section h2,
.cta h2 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  margin-bottom: 56px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(16, 24, 32, 0.72);
  box-shadow: var(--shadow);
}

.hero-panel__label {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 2.1rem;
  line-height: 1;
}

.hero-panel p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.stats-band {
  background: var(--dark);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat {
  min-height: 116px;
  padding: 26px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:first-child {
  border-left: 0;
}

.stat span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
}

.stat strong {
  display: block;
  margin-top: 6px;
  font-family: Archivo, Poppins, sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.section {
  padding: 92px 0;
}

.section--soft {
  background: var(--soft);
}

.section--dark {
  background: var(--dark);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: start;
  gap: 54px;
}

.split--visual {
  align-items: center;
}

.section h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.section p {
  color: var(--muted);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid--compact {
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.value-card,
.contact-card,
.form-card,
.record-card,
.success-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

.service-card {
  min-height: 222px;
  padding: 24px;
}

.service-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #fff3f0;
  color: var(--red);
}

.service-card h3,
.value-card h3,
.audience-card h3,
.process-step h3 {
  margin: 0 0 10px;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.24rem;
}

.service-card p,
.value-card p,
.audience-card p,
.process-step p,
.contact-card p {
  margin: 0;
}

.b2-grid,
.values-grid,
.process-grid,
.roadmap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.audience-card {
  min-height: 310px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.audience-card--dark {
  background: var(--dark);
  color: #fff;
}

.audience-card p {
  max-width: 560px;
  color: var(--muted);
}

.audience-card--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.media-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.value-card {
  min-height: 180px;
  padding: 28px;
}

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

.page-hero {
  padding: 118px 0 78px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.94), rgba(16, 24, 32, 0.74)),
    url("/assets/images/resources/main-slider-img-1.jpg.png") center / cover;
}

.page-hero__inner {
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.page-hero p:last-child {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.process-grid,
.roadmap {
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.process-step span {
  display: inline-grid;
  min-width: 42px;
  height: 34px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

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

.feature-list__item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 600;
}

.fleet-record {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  align-items: start;
  gap: 44px;
}

.record-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.record-card div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: #fff;
}

.record-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.module-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.module-grid span {
  display: inline-flex;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
}

.cta {
  padding: 70px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(216, 36, 36, 0.96), rgba(16, 24, 32, 0.96)),
    url("/assets/images/resources/a.jpg") center / cover;
}

.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.cta p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1fr);
  gap: 24px;
}

.contact-card,
.form-card,
.success-card {
  padding: 30px;
}

.contact-line {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-line span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-line a,
.contact-line strong {
  font-weight: 800;
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-card label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
}

.form-card textarea {
  resize: vertical;
}

.form-alert {
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.form-alert--error {
  background: #fff0f0;
  color: #9c1111;
}

.form-alert--success {
  margin-bottom: 18px;
  background: #edf9f2;
  color: #17663d;
}

.erp-feedback {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.erp-feedback--error {
  background: #fff0f0;
  color: #9c1111;
}

.erp-feedback--success {
  background: #edf9f2;
  color: #17663d;
}

.erp-feedback--warning {
  background: #fff7ed;
  color: #92400e;
}

.success-card {
  text-align: left;
}

.success-card .button + .button {
  margin-left: 10px;
}

.narrow {
  max-width: 780px;
}

.site-footer {
  padding: 56px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
}

.brand--footer .brand__mark {
  background: #fff;
  color: var(--dark);
}

.brand--footer .brand__text small,
.site-footer p {
  color: rgba(255, 255, 255, 0.66);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-actions {
    display: none;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .site-nav__mobile-only {
    display: block;
  }

  .hero__grid,
  .split,
  .fleet-record,
  .contact-grid,
  .cta__inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    align-items: center;
    padding-top: 110px;
  }

  .hero__content,
  .hero-panel {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .stats-grid,
  .service-grid,
  .values-grid,
  .process-grid,
  .roadmap {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid--compact,
  .b2-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .nav-shell {
    min-height: 70px;
  }

  .site-nav {
    top: 70px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 680px;
  }

  .hero__grid {
    gap: 22px;
    padding: 90px 0 32px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(16, 24, 32, 0.96), rgba(16, 24, 32, 0.72));
  }

  .hero__media img {
    object-position: 68% center;
  }

  .section {
    padding: 64px 0;
  }

  .stats-grid,
  .service-grid,
  .values-grid,
  .process-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat:first-child {
    border-top: 0;
  }

  .cta__actions,
  .hero__actions {
    flex-direction: column;
  }

  .record-card div,
  .footer-bottom {
    display: grid;
  }

  .success-card .button + .button {
    margin: 10px 0 0;
  }
}

.erp-login-body,
.erp-body {
  min-height: 100vh;
  background: #eef2f5;
}

.erp-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  min-height: 100vh;
}

.erp-login__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 7vw, 92px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.96), rgba(16, 24, 32, 0.76)),
    url("/assets/images/resources/main-slider-img-1.jpg.png") center / cover;
}

.erp-login__brand .brand__mark {
  margin-bottom: 26px;
  background: #fff;
  color: var(--dark);
}

.erp-login__brand h1 {
  max-width: 760px;
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
}

.erp-login__brand p:last-child {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.erp-login__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(24px, 5vw, 54px);
  background: #fff;
}

.erp-login__form h2 {
  margin: 0 0 8px;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 2rem;
}

.erp-login__form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.erp-login__form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
}

.erp-login__form .erp-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.erp-login__form .erp-checkbox input {
  width: 18px;
  height: 18px;
  padding: 0;
  flex: 0 0 auto;
}

.erp-error {
  overflow: auto;
  max-width: 100%;
  padding: 14px;
  border-radius: 6px;
  background: #f6f7f8;
  color: #9c1111;
  white-space: pre-wrap;
}

.erp-code-block {
  overflow: auto;
  max-width: 100%;
  padding: 14px;
  border-radius: 6px;
  background: #f6f7f8;
  color: var(--text);
  white-space: pre-wrap;
}

.erp-qr-panel {
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.erp-qr-code {
  width: min(220px, 100%);
  height: auto;
  color: #111827;
}

.erp-body {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
}

.erp-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  color: #fff;
  background: var(--dark);
}

.brand--erp .brand__mark {
  background: #fff;
  color: var(--dark);
}

.brand--erp .brand__text small {
  color: rgba(255, 255, 255, 0.62);
}

.erp-nav {
  display: grid;
  gap: 7px;
  margin-top: 34px;
}

.erp-nav a,
.erp-back-site {
  display: block;
  padding: 12px 13px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.erp-nav a:hover,
.erp-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.erp-back-site {
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.erp-main {
  min-width: 0;
  padding: 24px;
}

.erp-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.erp-topbar div {
  display: grid;
  line-height: 1.2;
}

.erp-topbar form {
  margin-left: auto;
}

.erp-topbar .erp-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.erp-topbar .erp-topbar__actions form {
  margin-left: 0;
}

.erp-user-chip,
.erp-profile-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: Archivo, Poppins, sans-serif;
  font-weight: 800;
}

.erp-user-chip {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.erp-user-chip img,
.erp-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.erp-topbar span {
  color: var(--muted);
  font-size: 0.86rem;
}

.erp-hero,
.erp-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

.erp-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding: 28px;
}

.erp-hero h1 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.erp-hero p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.erp-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}

.erp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.erp-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.erp-search-panel {
  margin-bottom: 20px;
}

.erp-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
}

.erp-search label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.erp-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
}

.erp-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.erp-autocomplete.is-open {
  display: block;
}

.erp-autocomplete button,
.erp-autocomplete__empty {
  display: grid;
  width: 100%;
  gap: 3px;
  padding: 12px 14px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.erp-autocomplete button:first-child,
.erp-autocomplete__empty:first-child {
  border-top: 0;
}

.erp-autocomplete button:hover {
  background: var(--soft);
}

.erp-autocomplete span,
.erp-autocomplete__empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.erp-owner-picker {
  position: relative;
}

.erp-owner-picker__selected {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.erp-workspace {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.35fr);
  gap: 20px;
  align-items: start;
}

.erp-form-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

.erp-form-panel h2 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
}

.erp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.erp-form-panel label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.erp-form-panel input,
.erp-form-panel select,
.erp-form-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
}

.erp-form-panel textarea {
  resize: vertical;
}

.erp-form-panel__wide {
  grid-column: 1 / -1;
}

.erp-cnpj-lookup {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.erp-cnpj-lookup label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.erp-cnpj-lookup span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.erp-cnpj-lookup span.is-success {
  color: #17663d;
}

.erp-cnpj-lookup span.is-error {
  color: #9c1111;
}

.erp-form-panel--modal {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.erp-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.erp-modal.is-open {
  display: flex;
}

.erp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.72);
}

.erp-modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.erp-modal__panel--wide {
  width: min(1120px, 100%);
}

.erp-modal__header,
.erp-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.erp-modal__header {
  margin-bottom: 18px;
}

.erp-modal__header h2 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.8rem;
}

.erp-modal__close {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.erp-modal__actions {
  justify-content: flex-end;
  margin-top: 4px;
}

body.has-modal {
  overflow: hidden;
}

.erp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.erp-metric {
  display: grid;
  min-height: 132px;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.05);
}

.erp-metric span {
  color: var(--muted);
  font-weight: 700;
}

.erp-metric strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 2rem;
}

.erp-metric small {
  color: var(--muted);
  font-weight: 700;
}

.erp-profile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.erp-profile-avatar {
  width: 88px;
  height: 88px;
  font-size: 1.55rem;
}

.erp-profile-summary {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.erp-profile-summary__identity,
.erp-profile-summary__metrics,
.erp-profile-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.05);
}

.erp-profile-summary__identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.erp-profile-summary__identity div:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.erp-profile-summary__identity span,
.erp-profile-summary__identity small {
  color: var(--muted);
  font-weight: 700;
}

.erp-profile-summary__identity strong {
  overflow-wrap: anywhere;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.6rem;
  line-height: 1.1;
}

.erp-profile-summary__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.erp-profile-summary__metrics .erp-metric {
  min-height: 0;
  padding: 20px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.erp-profile-summary__metrics .erp-metric:first-child {
  border-left: 0;
}

.erp-profile-summary__metrics .erp-metric strong {
  font-size: 1.6rem;
}

.erp-profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.erp-profile-section {
  overflow: hidden;
}

.erp-profile-section[open] {
  grid-column: 1 / -1;
}

.erp-profile-section__summary {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.erp-profile-section__summary::-webkit-details-marker {
  display: none;
}

.erp-profile-section__summary:hover {
  background: var(--soft);
}

.erp-profile-section__marker,
.erp-profile-section__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 6px;
  font-weight: 800;
}

.erp-profile-section__marker {
  padding: 8px 10px;
  background: var(--soft);
  color: var(--muted);
}

.erp-profile-section__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.erp-profile-section__copy strong {
  overflow-wrap: anywhere;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.28rem;
  line-height: 1.15;
}

.erp-profile-section__copy small {
  color: var(--muted);
  font-weight: 700;
}

.erp-profile-section__action {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.erp-profile-section[open] .erp-profile-section__action {
  background: var(--ink);
  color: #fff;
}

.erp-profile-section[open] .erp-profile-section__action::before {
  content: "Fechar";
}

.erp-profile-section[open] .erp-profile-section__action {
  font-size: 0;
}

.erp-profile-section[open] .erp-profile-section__action::before {
  font-size: 0.95rem;
}

.erp-profile-section__body {
  padding: 0 22px 22px;
}

.erp-payslip-filter,
.erp-time-justification-form,
.erp-profile-subsection {
  margin-bottom: 18px;
}

.erp-profile-section__body > .erp-table,
.erp-profile-section__body > .erp-empty,
.erp-profile-section__body > .erp-detail-grid {
  margin-top: 0;
}

.erp-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  gap: 20px;
  align-items: start;
}

.erp-detail-layout > div,
.erp-detail-layout > aside {
  display: grid;
  gap: 20px;
}

.erp-admin-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.erp-admin-card {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.05);
}

.erp-admin-card span,
.erp-admin-card small {
  color: var(--muted);
  font-weight: 800;
}

.erp-admin-card span {
  font-size: 0.82rem;
}

.erp-admin-card strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.erp-admin-stack {
  align-content: start;
}

.erp-admin-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

.erp-admin-section__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.erp-admin-section__summary::-webkit-details-marker {
  display: none;
}

.erp-admin-section__summary:hover {
  background: var(--soft);
}

.erp-admin-section__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.erp-admin-section__copy strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.2rem;
  line-height: 1.15;
}

.erp-admin-section__copy small {
  color: var(--muted);
  line-height: 1.4;
}

.erp-admin-section__meta,
.erp-admin-section__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.erp-admin-section__meta {
  padding: 8px 10px;
  background: var(--soft);
  color: var(--muted);
}

.erp-admin-section__action {
  min-width: 82px;
  padding: 8px 12px;
  background: var(--dark);
  color: #fff;
}

.erp-admin-section[open] .erp-admin-section__summary {
  border-bottom: 1px solid var(--line);
}

.erp-admin-section[open] .erp-admin-section__action {
  background: var(--soft);
  color: var(--ink);
}

.erp-admin-section[open] .erp-admin-section__action::before {
  content: 'Fechar';
}

.erp-admin-section[open] .erp-admin-section__action {
  font-size: 0;
}

.erp-admin-section[open] .erp-admin-section__action::before {
  font-size: 0.9rem;
}

.erp-admin-section__body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.erp-admin-create {
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.erp-admin-create > summary {
  padding: 13px 16px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.erp-admin-create > summary::-webkit-details-marker {
  display: none;
}

.erp-admin-create[open] > summary {
  border-bottom: 1px solid var(--line);
}

.erp-admin-create__body {
  padding: 16px;
  background: #fff;
}

.erp-admin-subsection {
  display: grid;
  gap: 12px;
}

.erp-admin-subsection + .erp-admin-subsection {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.erp-admin-subsection h3 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.05rem;
}

.erp-admin-subsection p {
  margin: 4px 0 0;
  color: var(--muted);
}

.erp-calendar-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.erp-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.erp-calendar-main,
.erp-calendar-side {
  display: grid;
  gap: 20px;
}

.erp-calendar-weekdays,
.erp-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.erp-calendar-weekdays {
  gap: 8px;
  margin-bottom: 8px;
}

.erp-calendar-weekdays span {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.erp-calendar-grid {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  gap: 1px;
}

.erp-calendar-day {
  display: grid;
  grid-template-rows: auto minmax(118px, 1fr);
  min-width: 0;
  min-height: 170px;
  padding: 10px;
  background: #fff;
}

.erp-calendar-day.is-muted {
  background: #f7f9fb;
}

.erp-calendar-day.is-today {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.erp-calendar-day__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.erp-calendar-day__head span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.erp-calendar-day__head strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--soft);
  font-family: Archivo, Poppins, sans-serif;
}

.erp-calendar-day__events,
.erp-calendar-agenda__list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.erp-calendar-day__events > small {
  color: var(--muted);
  font-weight: 700;
}

.erp-calendar-event,
.erp-calendar-agenda__item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-left: 4px solid #637083;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--ink);
}

.erp-calendar-event span,
.erp-calendar-event small,
.erp-calendar-agenda__item span,
.erp-calendar-agenda__item small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-calendar-event strong,
.erp-calendar-agenda__item strong {
  overflow: hidden;
  font-size: 0.84rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-calendar-event--dropoff {
  border-left-color: #2563eb;
  background: #f0f6ff;
}

.erp-calendar-event--delivery {
  border-left-color: #14803c;
  background: #f0fbf4;
}

.erp-calendar-event--due {
  border-left-color: #b7791f;
  background: #fff8e8;
}

.erp-calendar-event.is-urgent,
.erp-calendar-agenda__item.is-urgent {
  border-left-color: #d92525;
  background: #fff1f1;
}

.erp-calendar-agenda__item {
  padding: 12px;
}

.erp-calendar-agenda__item strong {
  font-size: 0.95rem;
}

.erp-sla-badge {
  display: inline-grid;
  gap: 2px;
  min-width: 88px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
}

.erp-sla-badge strong {
  font-size: 0.78rem;
  line-height: 1.1;
}

.erp-sla-badge small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.erp-sla-badge--ok,
.erp-sla-panel--ok {
  border-color: #bfe6cc;
  background: #f0fbf4;
}

.erp-sla-badge--warning,
.erp-sla-panel--warning {
  border-color: #f4dc96;
  background: #fff8e8;
}

.erp-sla-badge--urgent,
.erp-sla-panel--urgent {
  border-color: #f1b8b8;
  background: #fff1f1;
}

.erp-sla-badge--done,
.erp-sla-panel--done {
  border-color: var(--line);
  background: #f7f9fb;
}

.erp-sla-panel {
  border-left: 5px solid #bfe6cc;
}

.erp-sla-panel--warning {
  border-left-color: #d49a00;
}

.erp-sla-panel--urgent {
  border-left-color: #d92525;
}

.erp-sla-panel--done {
  border-left-color: #8590a2;
}

.erp-sla-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.erp-sla-panel__grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.erp-sla-panel__grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.erp-sla-panel__grid strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

.erp-quote-panel {
  border-left: 5px solid var(--dark);
}

.erp-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.erp-quote-grid div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.erp-quote-grid span,
.erp-quote-grid small,
.erp-quote-meta {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.erp-quote-grid strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.08rem;
}

.erp-quote-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.erp-employee-customer {
  display: grid;
  gap: 8px;
}

.erp-quick-actions {
  display: grid;
  gap: 10px;
}

.erp-quick-actions .button {
  width: 100%;
}

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

.erp-inline-actions form {
  margin: 0;
}

.erp-panel--embedded {
  margin-top: 18px;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.erp-card-grid--compact {
  margin: 18px 0;
}

.erp-time-print-sheet {
  display: none;
}

.erp-quote-print-preview {
  max-width: 980px;
  margin: 0 auto;
}

.erp-quote-print-sheet {
  display: grid;
  gap: 22px;
  color: var(--ink);
}

.erp-quote-print-sheet header,
.erp-quote-print-sheet footer,
.erp-quote-print-sheet__totals,
.erp-quote-print-sheet__details {
  display: grid;
  gap: 12px;
}

.erp-quote-print-sheet header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--dark);
}

.erp-quote-print-sheet header h1,
.erp-quote-print-sheet h2,
.erp-quote-print-sheet p {
  margin: 0;
}

.erp-quote-print-sheet header h1 {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 2rem;
}

.erp-quote-print-sheet header > div:last-child {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.erp-quote-print-sheet header > div:last-child > strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.7rem;
}

.erp-quote-print-sheet__details,
.erp-quote-print-sheet__totals {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.erp-quote-print-sheet__details div,
.erp-quote-print-sheet__totals div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.erp-quote-print-sheet span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.erp-quote-print-sheet__totals {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.erp-quote-print-sheet__totals div:last-child {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.erp-quote-print-sheet__totals div:last-child span {
  color: rgba(255, 255, 255, 0.72);
}

.erp-quote-print-sheet__terms {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-quote-print-sheet footer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 28px;
}

.erp-quote-print-sheet footer div {
  padding-top: 26px;
  border-top: 1px solid var(--ink);
  text-align: center;
}

.erp-modal__actions--inline {
  margin-top: 0;
}

.erp-employee-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.erp-employee-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 238px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: center;
}

.erp-employee-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(16, 24, 32, 0.1);
}

.erp-employee-card__avatar {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.erp-employee-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.erp-employee-card__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.erp-employee-card__content strong {
  overflow-wrap: anywhere;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.18rem;
  line-height: 1.16;
}

.erp-employee-card__content small {
  color: var(--muted);
  font-weight: 700;
}

.erp-employee-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.erp-employee-hero__identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.erp-insights {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.erp-insights__metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.erp-insight-card {
  display: grid;
  gap: 6px;
  min-height: 124px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.05);
}

.erp-insight-card span,
.erp-insight-card small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.erp-insight-card strong {
  align-self: end;
  font-family: Archivo, Poppins, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1;
}

.erp-insights__grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
  gap: 20px;
  align-items: start;
}

.erp-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.erp-breakdown {
  display: grid;
  gap: 14px;
}

.erp-breakdown__row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.erp-breakdown__row:hover,
.erp-breakdown__row.is-active {
  border-color: var(--line);
  background: var(--soft);
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.06);
}

.erp-breakdown__row div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.erp-breakdown__row strong,
.erp-breakdown__row span {
  font-weight: 800;
}

.erp-breakdown__row span {
  color: var(--muted);
}

.erp-breakdown__row meter {
  grid-column: 1 / -1;
  width: 100%;
  height: 10px;
}

.erp-service-types {
  display: grid;
  gap: 10px;
}

.erp-service-types article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-service-types strong {
  min-width: 0;
}

.erp-service-types span,
.erp-service-types small {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.erp-fleet360 {
  display: grid;
  gap: 24px;
}

.erp-fleet-section {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.erp-fleet-section--summary {
  padding: 0;
  border: 0;
  background: transparent;
}

.erp-fleet-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.erp-fleet-section__header h2 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.35rem;
}

.erp-fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.erp-fleet-grid--priority {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.erp-fleet-grid h4 {
  margin: 0 0 12px;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.08rem;
}

.erp-fleet-alerts,
.erp-fleet-opportunity {
  display: grid;
  gap: 10px;
}

.erp-fleet-contract {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.erp-fleet-contract h3 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
}

.erp-fleet-contract__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.erp-fleet-contract__grid article {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-fleet-contract__grid span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.erp-fleet-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.erp-fleet-charts > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.erp-fleet-charts h4 {
  margin: 0 0 14px;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.08rem;
}

.erp-fleet-chart {
  display: grid;
  gap: 12px;
}

.erp-fleet-chart__row {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(140px, 1.4fr) auto;
  gap: 10px;
  align-items: center;
}

.erp-fleet-chart__row span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-fleet-chart__row div {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: var(--soft);
}

.erp-fleet-chart__row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.erp-fleet-chart__row strong {
  font-size: 0.88rem;
  white-space: nowrap;
}

.erp-fleet-board {
  display: grid;
  gap: 16px;
}

.erp-fleet-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.erp-fleet-filters button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.erp-fleet-filters button:hover,
.erp-fleet-filters button.is-active {
  border-color: var(--dark);
  color: var(--dark);
  box-shadow: 0 6px 16px rgba(16, 24, 32, 0.08);
}

.erp-fleet-filters__ok {
  border-color: #bfe8cf !important;
  background: #edf9f2 !important;
  color: #17663d !important;
}

.erp-fleet-filters__attention {
  border-color: #f5e2a4 !important;
  background: #fff9e7 !important;
  color: #875c00 !important;
}

.erp-fleet-filters__overdue {
  border-color: #ffd0d0 !important;
  background: #fff0f0 !important;
  color: #9c1111 !important;
}

.erp-fleet-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.erp-fleet-card[hidden],
.erp-fleet-empty[hidden] {
  display: none;
}

.erp-fleet-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  min-height: 330px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #edf9f2;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.erp-fleet-card:hover,
.erp-fleet-card:focus {
  outline: 0;
  box-shadow: 0 18px 38px rgba(16, 24, 32, 0.12);
  transform: translateY(-2px);
}

.erp-fleet-card--attention {
  border-color: #f5e2a4;
  background: #fff9e7;
}

.erp-fleet-card--overdue {
  border-color: #ffd0d0;
  background: #fff0f0;
}

.erp-fleet-card__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: #37a861;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.erp-fleet-card--attention .erp-fleet-card__corner {
  background: #f2b705;
}

.erp-fleet-card--overdue .erp-fleet-card__corner {
  background: #d82424;
}

.erp-fleet-card__image {
  display: grid;
  height: 86px;
  place-items: center;
  color: rgba(16, 24, 32, 0.62);
}

.erp-fleet-card__image svg {
  width: 76px;
  height: 76px;
  stroke-width: 1.35;
}

.erp-fleet-card__header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.erp-fleet-card__header > strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.1rem;
}

.erp-fleet-card dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.erp-fleet-card dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.erp-fleet-card dt {
  color: #4f8c57;
  font-size: 0.82rem;
  font-weight: 800;
}

.erp-fleet-card--attention dt {
  color: #956800;
}

.erp-fleet-card--overdue dt {
  color: #9c1111;
}

.erp-fleet-card dd {
  overflow: hidden;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erp-fleet-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.erp-fleet-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.erp-vehicle-history {
  display: grid;
  gap: 18px;
}

.erp-fleet-history-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.erp-fleet-history-card h3 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.15rem;
}

.erp-fleet-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.erp-vehicle-service-list {
  display: grid;
  gap: 14px;
}

.erp-vehicle-service-list article {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-vehicle-service-list__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.erp-vehicle-service-list__head a {
  display: block;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.erp-vehicle-service-list__head span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.erp-fleet-alert,
.erp-fleet-opportunity div {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-fleet-alert--overdue {
  border-color: #ffd0d0;
  background: #fff0f0;
}

.erp-fleet-alert--attention {
  border-color: #f5e2a4;
  background: #fff9e7;
}

.erp-fleet-alert span,
.erp-fleet-opportunity span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.erp-fleet-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf9f2;
  color: #17663d;
  font-size: 0.82rem;
  font-weight: 800;
}

.erp-fleet-status--attention {
  background: #fff6d8;
  color: #875c00;
}

.erp-fleet-status--overdue {
  background: #fff0f0;
  color: #9c1111;
}

.erp-panel {
  padding: 24px;
}

.erp-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.erp-panel h1,
.erp-panel h2 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
}

.erp-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.erp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.erp-steps .process-step {
  color: #fff;
  background: var(--dark);
}

.erp-table {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.erp-table__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px 16px;
}

.erp-table__row > span {
  min-width: 0;
}

.erp-table__row--head {
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}

.erp-empty {
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
}

.erp-empty-panel {
  display: grid;
  min-height: 220px;
  place-items: center;
  text-align: center;
}

.erp-empty-panel h2 {
  margin-bottom: 6px;
}

.erp-empty-panel p {
  max-width: 620px;
}

.erp-table--3 .erp-table__row {
  grid-template-columns: repeat(3, 1fr);
}

.erp-table--4 .erp-table__row {
  grid-template-columns: repeat(4, 1fr);
}

.erp-table--5 .erp-table__row {
  grid-template-columns: repeat(5, 1fr);
}

.erp-table--6 .erp-table__row {
  grid-template-columns:
    minmax(92px, 0.85fr)
    minmax(140px, 1.1fr)
    minmax(140px, 1.1fr)
    minmax(180px, 1.35fr)
    minmax(96px, 0.8fr)
    minmax(90px, 0.75fr);
}

.erp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.erp-table-wrap table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

.erp-table-wrap th,
.erp-table-wrap td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.erp-table-wrap th {
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
}

.erp-table-input,
.erp-table-select {
  width: 100%;
  min-height: 36px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
}

.erp-table-input--number {
  max-width: 110px;
}

.erp-table-input--unit {
  max-width: 70px;
}

.erp-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.erp-badge--ok {
  color: #166534;
  background: #dcfce7;
}

.erp-badge--warn {
  color: #92400e;
  background: #fef3c7;
}

.erp-inline-form {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.erp-inline-form select,
.erp-inline-form input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.erp-inline-form--wide {
  grid-template-columns: repeat(4, minmax(110px, 1fr)) auto;
}

.erp-profile-context {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.erp-profile-context span,
.erp-profile-context small {
  color: var(--muted);
  font-size: 0.86rem;
}

.erp-profile-context strong {
  color: var(--ink);
}

.erp-permissions {
  margin-top: 20px;
}

.erp-permissions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.erp-permission-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-permission-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.erp-permission-card__checks,
.erp-permission-fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.erp-permission-card label,
.erp-permission-fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.erp-permission-card input,
.erp-permission-fieldset input {
  width: auto;
}

.erp-permission-fieldset {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.erp-permission-fieldset legend {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 800;
}

.erp-hero--mechanic {
  align-items: stretch;
}

.erp-next-task {
  display: grid;
  align-content: center;
  min-width: min(360px, 100%);
  padding: 18px;
  border: 1px solid #ffd0d0;
  border-radius: var(--radius);
  background: #fff0f0;
  color: #9c1111;
}

.erp-next-task span,
.erp-next-task small {
  font-weight: 800;
}

.erp-next-task strong {
  margin: 5px 0;
  color: var(--ink);
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.2rem;
}

.erp-mechanic-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.erp-mechanic-metric {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.05);
}

.erp-mechanic-metric span,
.erp-mechanic-metric small {
  font-size: 0.84rem;
  font-weight: 800;
}

.erp-mechanic-metric strong {
  align-self: end;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 2rem;
}

.erp-mechanic-metric--urgent {
  border-color: #ffd0d0;
  background: #fff0f0;
  color: #9c1111;
}

.erp-mechanic-metric--warning {
  border-color: #f5e2a4;
  background: #fff9e7;
  color: #875c00;
}

.erp-mechanic-metric--active {
  border-color: #bfe8cf;
  background: #edf9f2;
  color: #17663d;
}

.erp-mechanic-board {
  display: grid;
  gap: 14px;
}

.erp-mechanic-task {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.05);
}

.erp-mechanic-task--urgent {
  border-left-color: #d82424;
}

.erp-mechanic-task--warning {
  border-left-color: #f2b705;
}

.erp-mechanic-task--active {
  border-left-color: #37a861;
}

.erp-mechanic-task--neutral {
  border-left-color: #5d6573;
}

.erp-mechanic-task__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.erp-mechanic-task > strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.15rem;
}

.erp-mechanic-task dl,
.erp-mechanic-service {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.erp-mechanic-task dl div,
.erp-mechanic-service div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-mechanic-task dt,
.erp-mechanic-service span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.erp-mechanic-task dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.erp-mechanic-os-head,
.erp-mechanic-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

.erp-mechanic-os-head h1 {
  margin: 0;
  font-family: Archivo, Poppins, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.erp-mechanic-os-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.erp-mechanic-os-head > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.erp-mechanic-actions {
  align-items: stretch;
  display: grid;
  grid-template-columns: 1fr;
}

.erp-mechanic-actions form {
  display: grid;
  gap: 8px;
}

.erp-mechanic-actions .button {
  min-height: 58px;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

.erp-mechanic-actions input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}

.erp-mechanic-os-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.erp-mechanic-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.erp-mechanic-flow__step {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.erp-mechanic-flow__step span {
  font-size: 0.78rem;
  font-weight: 900;
}

.erp-mechanic-flow__step strong {
  align-self: end;
  color: var(--ink);
  font-size: 0.95rem;
}

.erp-mechanic-flow__step--active {
  border-color: #bfe8cf;
  background: #edf9f2;
  color: #17663d;
}

.erp-mechanic-flow__step--done {
  border-color: #d8dde3;
  background: #f1f2f4;
}

.erp-mechanic-workbench {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.erp-mechanic-workbench__action {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
}

.erp-mechanic-workbench__main {
  display: grid;
  gap: 18px;
}

.erp-mechanic-focus {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

.erp-mechanic-focus span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.erp-mechanic-focus strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.35rem;
}

.erp-mechanic-focus p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.erp-mechanic-focus--active {
  border-color: #bfe8cf;
  background: #edf9f2;
}

.erp-mechanic-focus--warning {
  border-color: #f5e2a4;
  background: #fff9e7;
}

.erp-mechanic-focus--urgent {
  border-color: #ffd0d0;
  background: #fff0f0;
}

.erp-mechanic-sector {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

.erp-mechanic-sector > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.erp-mechanic-sector > header > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  background: var(--dark);
  color: #fff;
  font-weight: 900;
}

.erp-mechanic-sector small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.erp-mechanic-sector h2 {
  margin: 2px 0;
  font-family: Archivo, Poppins, sans-serif;
}

.erp-mechanic-sector p {
  margin: 0;
  color: var(--muted);
}

.erp-mechanic-sector__body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.erp-mechanic-sector__body > .erp-panel {
  padding: 18px;
  border-radius: 6px;
  box-shadow: none;
}

.erp-mechanic-intake {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.erp-mechanic-intake div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.erp-mechanic-intake span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.erp-mechanic-intake strong {
  display: block;
  margin-top: 4px;
}

.erp-mechanic-intake p {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 700;
}

.erp-mechanic-intake__wide {
  grid-column: 1 / -1;
}

.erp-mechanic-compact-history {
  display: grid;
  gap: 10px;
}

.erp-mechanic-compact-history article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-mechanic-compact-history span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.erp-mechanic-os-main,
.erp-mechanic-os-side {
  display: grid;
  gap: 20px;
}

.erp-mechanic-service__wide {
  grid-column: 1 / -1;
}

.erp-mechanic-service p {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.erp-checklist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.erp-checklist label {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
}

.erp-mechanic-timer {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #bfe8cf;
  border-radius: var(--radius);
  background: #edf9f2;
  color: #17663d;
}

.erp-mechanic-timer span {
  font-weight: 800;
}

.erp-mechanic-timer strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 2.2rem;
}

.erp-time-log,
.erp-attachments {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.erp-time-log article,
.erp-attachments a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-time-log span,
.erp-time-log small,
.erp-attachments span,
.erp-attachments small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.erp-term {
  max-width: 920px;
  margin: 0 auto;
}

.erp-term pre {
  overflow: auto;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.erp-link-button {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

@media print {
  .erp-sidebar,
  .erp-topbar,
  .erp-hero,
  .erp-detail-layout,
  .erp-card-grid,
  .erp-modal:not(.is-open),
  .erp-modal__backdrop,
  .erp-modal__header,
  .erp-modal .erp-search,
  .erp-modal .erp-card-grid,
  .erp-modal .erp-panel--embedded,
  .erp-term .button {
    display: none !important;
  }

  .erp-body {
    display: block;
    background: #fff;
  }

  .erp-main {
    padding: 0;
  }

  .erp-term {
    max-width: none;
    border: 0;
    box-shadow: none;
  }

  .erp-modal.is-open {
    position: static;
    display: block;
    padding: 0;
  }

  .erp-modal.is-open .erp-modal__panel {
    width: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }

  .erp-time-print-sheet {
    display: block;
    padding: 20mm 14mm;
    color: #000;
    background: #fff;
  }

  .erp-time-print-sheet header,
  .erp-time-print-sheet footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
  }

  .erp-time-print-sheet header {
    align-items: flex-start;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #000;
  }

  .erp-time-print-sheet h1,
  .erp-time-print-sheet h2,
  .erp-time-print-sheet p {
    margin: 0;
  }

  .erp-time-print-sheet h1 {
    font-family: Archivo, Poppins, sans-serif;
    font-size: 24pt;
  }

  .erp-time-print-sheet__details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }

  .erp-time-print-sheet__details div {
    padding: 8px;
    border: 1px solid #000;
  }

  .erp-time-print-sheet span {
    display: block;
    font-size: 9pt;
    font-weight: 700;
  }

  .erp-time-print-sheet strong {
    font-size: 11pt;
  }

  .erp-time-print-sheet .erp-table {
    overflow: visible;
    border-color: #000;
  }

  .erp-time-print-sheet .erp-table__row {
    padding: 8px;
    border-top: 1px solid #000;
    font-size: 9pt;
  }

  .erp-time-print-sheet .erp-table__row:first-child {
    border-top: 0;
  }

  .erp-time-print-sheet__notes {
    margin-top: 18px;
  }

  .erp-time-print-sheet__hint {
    margin: 0 0 14px;
    padding: 8px;
    border: 1px solid #000;
    font-size: 9pt;
  }

  .erp-time-print-sheet footer {
    margin-top: 34px;
  }

  .erp-time-print-sheet footer div {
    width: 44%;
    padding-top: 28px;
    border-top: 1px solid #000;
    text-align: center;
  }

  .erp-quote-print-preview {
    max-width: none;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .erp-quote-print-sheet {
    padding: 18mm 14mm;
    color: #000;
    background: #fff;
  }

  .erp-quote-print-sheet header {
    border-bottom-color: #000;
  }

  .erp-quote-print-sheet header h1 {
    font-size: 24pt;
  }

  .erp-quote-print-sheet__details div,
  .erp-quote-print-sheet__totals div,
  .erp-quote-print-sheet__terms {
    border-color: #000;
    background: #fff;
  }

  .erp-quote-print-sheet .erp-table {
    overflow: visible;
    border-color: #000;
  }

  .erp-quote-print-sheet .erp-table__row {
    padding: 8px;
    border-top: 1px solid #000;
    font-size: 9pt;
  }

  .erp-quote-print-sheet footer div {
    border-top-color: #000;
  }
}

.erp-icon-actions {
  display: flex;
  gap: 8px;
}

.erp-icon-actions button,
.erp-icon-actions a {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--dark);
}

.erp-icon-actions button:hover,
.erp-icon-actions a:hover {
  background: var(--soft);
}

.erp-icon-actions svg {
  width: 18px;
  height: 18px;
}

.erp-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.erp-detail-grid--single {
  grid-template-columns: 1fr;
}

.erp-detail-grid__wide {
  grid-column: 1 / -1;
}

.erp-detail-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-detail-grid span,
.erp-detail-grid strong {
  display: block;
}

.erp-detail-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.erp-detail-grid strong {
  margin-top: 4px;
  white-space: pre-wrap;
}

.erp-os-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 20px;
  align-items: start;
}

.erp-stock-layout {
  display: block;
}

.erp-stock-layout__main {
  display: grid;
  gap: 20px;
}

.erp-os-detail__main,
.erp-os-detail__side {
  display: grid;
  gap: 20px;
}

.erp-form-panel--embedded {
  padding: 0;
  border: 0;
  box-shadow: none;
}

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

.erp-status-actions form,
.erp-status-actions button {
  width: 100%;
}

.erp-approval-state {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-approval-state > span,
.erp-approval-state small {
  color: var(--muted);
  font-weight: 800;
}

.erp-approval-form {
  display: grid;
  gap: 12px;
}

.erp-approval-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.erp-approval-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  resize: vertical;
}

.erp-approval-actions {
  display: grid;
  gap: 9px;
}

.erp-approval-actions button {
  width: 100%;
}

.erp-billing-state {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-billing-state > span,
.erp-billing-state small {
  color: var(--muted);
  font-weight: 800;
}

.erp-billing-state strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.35rem;
}

.erp-billing-form {
  display: grid;
  gap: 12px;
}

.erp-billing-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.erp-billing-form input,
.erp-billing-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: #fff;
}

.erp-billing-form button {
  width: 100%;
}

.erp-part-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.erp-part-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.erp-part-form input,
.erp-part-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: #fff;
}

.erp-part-form button {
  justify-self: end;
}

.erp-total-stack {
  display: grid;
  gap: 10px;
}

.erp-margin-stack {
  display: grid;
  gap: 10px;
}

.erp-total-stack div,
.erp-margin-stack div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-total-stack div:last-child {
  background: var(--dark);
  color: #fff;
}

.erp-margin-stack div:nth-last-child(-n + 2) {
  background: var(--dark);
  color: #fff;
}

.erp-total-stack span,
.erp-margin-stack span {
  color: var(--muted);
  font-weight: 800;
}

.erp-total-stack div:last-child span,
.erp-margin-stack div:nth-last-child(-n + 2) span {
  color: rgba(255, 255, 255, 0.68);
}

.erp-total-stack strong,
.erp-margin-stack strong {
  font-family: Archivo, Poppins, sans-serif;
}

.erp-timeline {
  display: grid;
  gap: 14px;
}

.erp-timeline__event {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 16px 22px;
  border-left: 2px solid var(--line);
}

.erp-timeline__event::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}

.erp-timeline__event:last-child {
  padding-bottom: 0;
}

.erp-timeline__event time,
.erp-timeline__event span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.erp-timeline__event p {
  margin: 0;
  color: var(--ink);
}

.erp-os-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.erp-os-summary div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.erp-os-summary span,
.erp-os-summary strong {
  display: block;
}

.erp-os-summary span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.erp-os-summary strong {
  color: var(--ink);
}

.erp-related {
  margin-top: 20px;
}

.erp-related h3 {
  margin: 0 0 12px;
  font-family: Archivo, Poppins, sans-serif;
}

.erp-empty-panel--compact {
  min-height: 180px;
}

.erp-dossier {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.erp-dossier__nav {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.erp-dossier__nav button {
  border: 0;
  border-radius: 6px;
  padding: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
}

.erp-dossier__nav button:hover,
.erp-dossier__nav button.is-active {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 6px 18px rgba(16, 24, 32, 0.08);
}

.erp-dossier__panel {
  display: none;
}

.erp-dossier__panel.is-active {
  display: block;
}

.erp-dossier__panel > h3 {
  margin: 0 0 16px;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.35rem;
}

.erp-dossier__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.erp-financial-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.erp-financial-card + .erp-financial-card {
  margin-top: 14px;
}

.erp-financial-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.erp-financial-card__header span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.erp-financial-card__header strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.2rem;
}

.erp-event {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.erp-event:first-child {
  border-top: 0;
}

.erp-event time,
.erp-event span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.erp-event p {
  margin: 0;
  color: var(--ink);
}

.erp-table__row:not(.erp-table__row--head) {
  border-top: 1px solid var(--line);
}

.erp-table__row strong,
.erp-table__row small {
  display: block;
}

.erp-table__row strong {
  color: var(--ink);
}

.erp-table__row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.erp-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.erp-status--aberta {
  background: #eef6ff;
  color: #115caa;
}

.erp-status--diagnostico,
.erp-status--aguardando_aprovacao,
.erp-status--aguardando_aprovacao_comercial,
.erp-status--aguardando_cliente {
  background: #fff6d8;
  color: #875c00;
}

.erp-status--em_execucao {
  background: #fff0f0;
  color: #9c1111;
}

.erp-status--concluida,
.erp-status--entregue {
  background: #edf9f2;
  color: #17663d;
}

.erp-status--cancelada {
  background: #f1f2f4;
  color: #5d6573;
}

.erp-status--approval-nao_enviado {
  background: #f1f2f4;
  color: #5d6573;
}

.erp-status--approval-aguardando,
.erp-status--approval-aprovado_parcial {
  background: #fff6d8;
  color: #875c00;
}

.erp-status--approval-aprovado {
  background: #edf9f2;
  color: #17663d;
}

.erp-status--approval-recusado {
  background: #fff0f0;
  color: #9c1111;
}

.erp-status--quote-em_montagem {
  background: #eef6ff;
  color: #115caa;
}

.erp-status--quote-enviado,
.erp-status--quote-aguardando_cliente {
  background: #fff6d8;
  color: #875c00;
}

.erp-status--quote-aprovado,
.erp-status--quote-aprovado_parcial {
  background: #edf9f2;
  color: #17663d;
}

.erp-status--quote-recusado {
  background: #fff0f0;
  color: #9c1111;
}

.erp-status--cash-pendente {
  background: #fff6d8;
  color: #875c00;
}

.erp-status--cash-pago {
  background: #edf9f2;
  color: #17663d;
}

.erp-status--cash-cancelado {
  background: #f1f2f4;
  color: #5d6573;
}

.clock-body {
  min-height: 100vh;
  margin: 0;
  background: #f6f7f8;
  color: var(--ink);
}

.clock-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.clock-topbar a {
  color: var(--ink);
  font-weight: 800;
}

.clock-topbar nav {
  display: flex;
  gap: 14px;
}

.clock-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 48px;
}

.clock-hero {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 34px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 24, 32, 0.06);
  text-align: center;
}

.clock-hero span,
.clock-hero small,
.clock-confirm span,
.clock-confirm p,
.clock-person small {
  color: var(--muted);
  font-weight: 700;
}

.clock-hero strong {
  font-family: Archivo, Poppins, sans-serif;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 1;
}

.clock-people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.clock-person,
.clock-confirm,
.clock-empty,
.clock-alert {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.05);
}

.clock-person {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 190px;
  padding: 20px;
  color: var(--ink);
  text-align: center;
}

.clock-person:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.1);
}

.clock-person__avatar,
.clock-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: Archivo, Poppins, sans-serif;
  font-weight: 800;
}

.clock-person__avatar {
  width: 88px;
  height: 88px;
  font-size: 1.45rem;
}

.clock-avatar {
  width: 112px;
  height: 112px;
  font-size: 1.8rem;
}

.clock-person__avatar img,
.clock-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clock-person strong {
  overflow-wrap: anywhere;
  font-family: Archivo, Poppins, sans-serif;
  font-size: 1.15rem;
}

.clock-confirm {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 36px auto 0;
  padding: 32px;
  text-align: center;
}

.clock-confirm h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: Archivo, Poppins, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
}

.clock-pin-form {
  display: grid;
  width: 100%;
  gap: 14px;
}

.clock-pin-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  background: #fff;
  color: var(--ink);
  font-family: Archivo, Poppins, sans-serif;
  font-size: 2rem;
  letter-spacing: 0.18em;
  text-align: center;
}

.clock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.clock-link {
  color: var(--ink);
  font-weight: 800;
}

.clock-empty,
.clock-alert {
  padding: 18px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.clock-alert {
  margin-bottom: 18px;
}

.clock-alert--success {
  color: #17663d;
  background: #edf9f2;
}

.clock-alert--error {
  color: #9c1111;
  background: #fff0f0;
}

.erp-status--employee-active {
  background: #edf9f2;
  color: #17663d;
}

.erp-status--employee-inactive {
  background: #f1f2f4;
  color: #5d6573;
}

.erp-status--employee-on_leave {
  background: #fff6d8;
  color: #875c00;
}

.erp-status--mechanic-not_started,
.erp-status--priority-normal,
.erp-status--priority-low {
  background: #f1f2f4;
  color: #5d6573;
}

.erp-status--mechanic-in_progress {
  background: #edf9f2;
  color: #17663d;
}

.erp-status--mechanic-paused,
.erp-status--priority-high {
  background: #fff6d8;
  color: #875c00;
}

.erp-status--mechanic-done {
  background: #eef6ff;
  color: #115caa;
}

.erp-status--priority-urgent {
  background: #fff0f0;
  color: #9c1111;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

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

  .erp-sidebar {
    position: static;
    height: auto;
  }

  .erp-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .erp-card-grid,
  .erp-employee-card-grid,
  .clock-people,
  .erp-insights__metrics,
  .erp-mechanic-metrics,
  .erp-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .erp-insights__grid,
  .erp-fleet-grid,
  .erp-fleet-charts,
  .erp-fleet-contract__grid,
  .erp-fleet-history-grid,
  .erp-mechanic-workbench,
  .erp-mechanic-os-grid {
    grid-template-columns: 1fr;
  }

  .erp-mechanic-workbench__action {
    position: static;
  }

  .erp-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .erp-hero__actions {
    justify-content: flex-start;
  }

  .erp-client-grid {
    grid-template-columns: 1fr;
  }

  .erp-workspace,
  .erp-os-detail,
  .erp-stock-layout,
  .erp-profile-summary,
  .erp-admin-overview,
  .erp-calendar-layout,
  .erp-calendar-metrics,
  .erp-report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .erp-login__brand {
    min-height: 44vh;
  }

  .erp-main {
    padding: 14px;
  }

  .erp-nav,
  .erp-card-grid,
  .erp-employee-card-grid,
  .erp-profile-actions,
  .erp-profile-summary__metrics,
  .clock-people,
  .erp-insights__metrics,
  .erp-mechanic-metrics,
  .erp-steps {
    grid-template-columns: 1fr;
  }

  .erp-profile-summary__metrics .erp-metric {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .erp-profile-summary__metrics .erp-metric:first-child {
    border-top: 0;
  }

  .erp-profile-summary__identity,
  .erp-employee-hero__identity,
  .erp-profile-head,
  .erp-admin-section__summary,
  .erp-profile-section__summary {
    grid-template-columns: 1fr;
  }

  .erp-profile-summary__identity,
  .erp-admin-section__summary,
  .erp-profile-section__summary {
    align-items: start;
  }

  .erp-admin-section__action,
  .erp-profile-section__action {
    width: 100%;
  }

  .erp-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .erp-topbar .erp-topbar__actions {
    justify-content: flex-start;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
  }

  .erp-table__row {
    min-width: 680px;
  }

  .erp-dossier,
  .erp-detail-grid,
  .erp-quote-grid,
  .erp-quote-print-sheet header,
  .erp-quote-print-sheet footer,
  .erp-quote-print-sheet__details,
  .erp-quote-print-sheet__totals,
  .erp-os-summary {
    grid-template-columns: 1fr;
  }

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

  .erp-calendar-weekdays {
    display: none;
  }

  .erp-calendar-grid {
    grid-template-columns: 1fr;
  }

  .erp-calendar-day {
    min-height: 0;
  }

  .erp-hero__actions,
  .erp-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .erp-part-form button {
    justify-self: stretch;
  }

  .erp-search,
  .erp-cnpj-lookup {
    grid-template-columns: 1fr;
  }

  .erp-service-types article {
    grid-template-columns: 1fr;
  }

  .erp-inline-form,
  .erp-permission-card__checks,
  .erp-permission-fieldset,
  .erp-mechanic-flow,
  .erp-mechanic-intake,
  .erp-mechanic-task dl,
  .erp-mechanic-service,
  .erp-mechanic-actions,
  .erp-checklist {
    grid-template-columns: 1fr;
  }

  .erp-mechanic-os-head {
    align-items: stretch;
    flex-direction: column;
  }

  .erp-fleet-card dl div {
    grid-template-columns: 1fr;
  }

  .erp-fleet-card dd {
    text-align: left;
    white-space: normal;
  }

  .erp-modal {
    align-items: flex-start;
    padding: 12px;
  }

  .erp-modal__panel {
    padding: 18px;
  }
}

.security-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}
