:root {
  --bg: #07131f;
  --bg-soft: #0d1d2c;
  --surface: #ffffff;
  --surface-soft: #f3f7f9;
  --text: #16202a;
  --muted: #667382;
  --line: #dce5eb;
  --cyan: #28e0c5;
  --blue: #35a7ff;
  --green: #74d66f;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(7, 19, 31, 0.16);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--surface);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.15rem;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--cyan);
  color: var(--bg);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 19, 31, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand span {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a,
.nav-link-button {
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 13px;
  border-radius: var(--radius);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"],
.nav-link-button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu .nav-cta {
  color: var(--bg);
  background: var(--cyan);
  font-weight: 700;
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta[aria-current="page"] {
  color: var(--bg);
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 19, 31, 0.72);
}

.download-modal.is-open {
  display: grid;
}

.download-modal-panel {
  width: min(100%, 440px);
  padding: 28px;
  color: var(--text);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.download-modal-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.download-modal-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.download-modal-panel input {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.download-modal-message {
  min-height: 24px;
  margin: 0 0 18px;
  color: #b42318;
  font-weight: 700;
}

.download-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.hero,
.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(40, 224, 197, 0.18), transparent 32%),
    radial-gradient(circle at 20% 88%, rgba(53, 167, 255, 0.18), transparent 34%),
    linear-gradient(145deg, #07131f 0%, #0a1828 52%, #102538 100%);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 72px 0;
}

.hero-grid,
.split,
.contact-grid,
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.hero-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: var(--bg);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 34px 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(40, 224, 197, 0.26);
  transform: rotate(26deg);
}

.hero-visual::after {
  inset: 31%;
  border-color: rgba(53, 167, 255, 0.28);
  transform: rotate(-16deg);
}

.signal-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 19, 31, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.main-node {
  inset: 36% auto auto 50%;
  width: min(72%, 280px);
  padding: 24px;
  transform: translate(-50%, -50%);
}

.node-label {
  display: block;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-node strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
}

.node {
  padding: 10px 12px;
  color: var(--white);
  font-weight: 800;
}

.node-a { top: 16%; left: 13%; }
.node-b { top: 20%; right: 13%; }
.node-c { bottom: 18%; left: 18%; }
.node-d { right: 10%; bottom: 24%; }

.signal-ring {
  position: absolute;
  border: 1px solid rgba(116, 214, 111, 0.24);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

.ring-one {
  width: 280px;
  height: 280px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
}

.ring-two {
  width: 390px;
  height: 390px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  animation-delay: 1.2s;
}

@keyframes pulse {
  50% { opacity: 0.45; transform: translate(-50%, -50%) scale(1.04); }
}

.section {
  padding: clamp(70px, 9vw, 112px) 0;
}

.section-muted {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.align-left {
  margin-inline: 0;
  text-align: left;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.solution-card,
.contact-form,
.contact-info,
.metric-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 35px rgba(7, 19, 31, 0.07);
}

.card,
.solution-card {
  padding: 28px;
}

.card-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-weight: 900;
}

.card p,
.solution-card p,
.service-item p,
.legal-content p {
  color: var(--muted);
}

.capability-list {
  display: grid;
  gap: 14px;
}

.capability-list div,
.metric-panel div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.capability-list span,
.metric-panel span {
  color: var(--muted);
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pill-grid span {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  font-weight: 800;
}

.cta-band {
  padding: 72px 0;
  color: var(--white);
  background: linear-gradient(135deg, #0a1828, #12314c);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.cta-inner p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  padding: 110px 0 82px;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.metric-panel {
  padding: 16px;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-item > span {
  color: var(--cyan);
  font-weight: 900;
  font-size: 1.25rem;
}

.solution-card {
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(40, 224, 197, 0.08), transparent 38%),
    var(--surface);
}

.timeline {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  padding: 20px;
  border-left: 3px solid var(--cyan);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  color: var(--muted);
}

.contact-grid {
  align-items: start;
}

.contact-info,
.contact-form {
  padding: 30px;
}

.notice,
.form-note {
  color: var(--muted);
  font-size: 0.94rem;
}

dl {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

dd {
  margin: 0;
  font-weight: 700;
}

.location-box {
  padding: 22px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--bg-soft), #133653);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
  background: var(--surface-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(40, 224, 197, 0.25);
  border-color: var(--cyan);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 32px;
  font-size: 1.35rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #06111c;
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid h2 {
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
}

.footer-grid a:hover {
  color: var(--cyan);
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1200px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    padding: 18px 20px 24px;
    background: rgba(7, 19, 31, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a,
  .nav-link-button {
    padding: 14px;
    text-align: left;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .process-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .cards-grid.three,
  .cards-grid.two,
  .pill-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 66px;
  }

  .nav-menu {
    top: 66px;
  }

  .hero,
  .page-hero {
    padding: 58px 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .main-node {
    width: 78%;
  }

  .node-a { top: 10%; left: 8%; }
  .node-b { top: 12%; right: 8%; }
  .node-c { bottom: 10%; left: 8%; }
  .node-d { right: 8%; bottom: 12%; }

  .cards-grid.three,
  .cards-grid.two,
  .pill-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }
}
/* Product navigation shared by the static page headers. */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.nav-products {
  position: relative;
}

.nav-products > button {
  white-space: nowrap;
  color: var(--white);
  font-weight: 600;
  background: #3b5361;
  border: 1px solid #4b7882;
  border-radius: var(--radius);
}

.nav-products > button:hover {
  background: #456574;
}

.nav-products > button[aria-expanded="true"] {
  background: #456574;
}

.products-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 270px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.products-menu[hidden] {
  display: none;
}

.products-menu a,
.product-unavailable {
  display: block;
  padding: 12px 14px;
}

.product-unavailable {
  color: #a5b4c2;
  cursor: default;
}

.product-unavailable small {
  display: block;
  font-size: 0.78rem;
}

/* ERP landing uses the corporate palette and shared layout components. */
.erp-page main {
  color: var(--white);
  background: var(--bg);
}

.erp-page section {
  scroll-margin-top: 90px;
}

.erp-page main p,
.erp-page .section-heading p:not(.eyebrow),
.erp-page .card p {
  color: #bdcbd7;
}

.erp-page main .eyebrow {
  color: var(--cyan);
}

.erp-hero {
  padding-bottom: 64px;
}

.erp-intro {
  max-width: 960px;
}

.erp-hero h1 {
  font-size: clamp(2.35rem, 6.4vw, 5.2rem);
}

.erp-continuity {
  max-width: 800px;
  padding: 22px 26px;
  margin-top: 40px;
  border-left: 3px solid var(--cyan);
  background: rgba(40, 224, 197, 0.06);
}

.erp-continuity strong {
  color: var(--cyan);
}

.erp-continuity p {
  margin: 8px 0 0;
}

.erp-shot {
  margin: 0;
  min-width: 0;
}

.erp-shot img {
  width: 100%;
  height: auto;
  border: 1px solid #385163;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.erp-shot figcaption {
  margin-top: 12px;
  color: #bdcbd7;
  font-size: 0.88rem;
}

.erp-hero-shot {
  margin-top: 48px;
  max-width: 960px;
}

.erp-placeholder {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 290px;
  padding: 32px;
  border: 1px dashed #688698;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.erp-placeholder strong {
  color: var(--cyan);
  font-size: 1.5rem;
}

.erp-placeholder p {
  margin: 0;
}

.erp-placeholder span {
  font-size: 0.85rem;
  color: #bdcbd7;
}

.erp-soft {
  background: var(--bg-soft);
}

.erp-page .card {
  color: var(--white);
  border-color: #324b5d;
  background: rgba(255, 255, 255, 0.025);
}

.erp-page .card p:last-child {
  margin-bottom: 0;
}

.erp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: offline;
}

.erp-steps li {
  counter-increment: offline;
  border-top: 1px solid #385163;
  padding-top: 24px;
}

.erp-steps li::before {
  content: counter(offline);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 800;
}

.erp-channel + .erp-channel {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #385163;
}

.erp-channel > div:first-child {
  max-width: 680px;
  margin-bottom: 28px;
}

.erp-channel h3 {
  font-size: 1.6rem;
}

.erp-telegram {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 24px;
  align-items: start;
}

.erp-services {
  margin-top: 22px;
}

.erp-scanner {
  margin-top: 64px;
  padding: 40px;
  background: var(--bg-soft);
  border: 1px solid #385163;
  border-radius: var(--radius);
}

.erp-scanner .erp-shot {
  max-width: 340px;
  justify-self: center;
}

.erp-page main .erp-soon {
  display: inline-block;
  padding: 5px 12px;
  color: var(--bg);
  background: var(--cyan);
  border-radius: var(--radius);
  font-weight: 700;
}

.erp-scanner h3 {
  font-size: 1.7rem;
}

.erp-tagline {
  font-size: 1.25rem;
}

.erp-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.erp-periods li {
  padding: 10px 18px;
  border: 1px solid #688698;
  border-radius: var(--radius);
}

.erp-periods strong {
  color: var(--cyan);
}

@media (min-width: 1201px) {
  .nav { gap: 12px; }
  .nav-menu { gap: 2px; }
  .nav-menu a, .nav-link-button { padding-inline: 9px; font-size: 0.9rem; }
}

@media (max-width: 1200px) {
  .nav-menu {
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
  }
  .nav-products > button { width: 100%; }
  .products-menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .erp-steps { grid-template-columns: 1fr; }
  .erp-scanner { padding: 24px; }
  .erp-telegram { gap: 12px; }
  .nav-menu { max-height: calc(100dvh - 66px); }
  .erp-page .hero-actions a { overflow-wrap: anywhere; }
}

/* Local WhatsApp contact link, below navigation and modal layers. */
.whatsapp-float {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 16px rgba(7, 19, 31, 0.22);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  background: #20c05a;
  box-shadow: 0 6px 18px rgba(7, 19, 31, 0.28);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--bg);
}

body.menu-open .whatsapp-float {
  visibility: hidden;
  pointer-events: none;
}

/* Leave room to scroll the final footer links clear of the floating control. */
.site-footer:has(~ .whatsapp-float) {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

/* ERP management screenshots and their full-resolution viewer. */
.erp-management-sales {
  margin-top: clamp(32px, 5vw, 64px);
}

.erp-image-link {
  display: block;
  border-radius: var(--radius);
  cursor: zoom-in;
}

body.erp-image-open {
  overflow: hidden;
}

.erp-image-dialog {
  width: min(1960px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 20px;
  color: var(--white);
  background: var(--bg-soft);
  border: 1px solid #385163;
  border-radius: var(--radius);
}

.erp-image-dialog:not([open]) {
  display: none;
}

.erp-image-dialog::backdrop {
  background: rgba(7, 19, 31, 0.88);
}

.erp-image-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.erp-image-dialog-header h3 {
  margin: 0;
  font-size: 1rem;
}

.erp-image-dialog-header .button {
  width: auto;
  flex-shrink: 0;
}

.erp-image-viewport {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  max-height: calc(100dvh - 180px);
  overflow: auto;
  overscroll-behavior: contain;
}

.erp-image-viewport img {
  width: auto;
  max-width: none;
  height: auto;
}
