html {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

body.static-cookie-visible {
  padding-bottom: 158px !important;
}

.static-auth-overlay,
.static-site-notice {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(18, 24, 34, .58);
}

.static-auth-overlay[data-open="true"],
.static-site-notice[data-open="true"] {
  display: flex;
}

.static-auth-dialog,
.static-site-notice__box {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(219, 226, 234, .95);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.static-auth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 26px 16px;
  border-bottom: 1px solid #e4e9ef;
  background: #f6f8fb;
}

.static-auth-title,
.static-site-notice__title {
  margin: 0;
  color: #222;
  font-family:Arial,sans-serif;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.static-auth-close,
.static-site-notice__close {
  width: 34px;
  height: 34px;
  border: 1px solid #cfd8e3;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.static-auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 16px 26px 0;
}

.static-auth-tab {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #d7dee8;
  border-radius: 3px;
  background: #f7f9fb;
  color: #2f3742;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.static-auth-tab[data-active="true"] {
  border-color: #373f89;
  background: #373f89;
  color: #fff;
}

.static-auth-body {
  padding: 20px 26px 26px;
}

.static-auth-message,
.static-auth-status {
  margin: 0 0 12px;
  color: #586171;
  font-size: 13px;
  line-height: 1.45;
}

.static-auth-status[data-error="true"] {
  color: #9b1c1c;
}

.static-auth-status[data-ok="true"] {
  color: #235b32;
}

.static-auth-form {
  display: none;
  gap: 12px;
}

.static-auth-form[data-active="true"] {
  display: grid;
}

.static-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.static-auth-field {
  display: grid;
  gap: 6px;
  color: #3c4654;
  font-size: 12px;
  font-weight: 700;
}

.static-auth-field input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  border: 1px solid #d6dee8;
  border-radius: 3px;
  padding: 10px 12px;
  color: #222;
  font: 14px Arial, sans-serif;
  background: #fff;
}

.static-auth-field input:focus {
  border-color: #373f89;
  outline: 2px solid rgba(55, 63, 137, .13);
  outline-offset: 0;
}

.static-auth-field--wide {
  grid-column: 1 / -1;
}

.static-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #586171;
  font-size: 12px;
  line-height: 1.35;
}

.static-auth-consent input {
  margin-top: 2px;
}

.static-auth-data-note {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #e0e7ef;
  border-radius: 4px;
  background: #f7f9fc;
  color: #566171;
  font-size: 12px;
  line-height: 1.45;
}

.static-auth-data-note strong {
  color: #222;
  font-size: 13px;
}

.static-auth-data-note p {
  margin: 0;
}

.static-auth-submit {
  min-height: 44px;
  border: 0;
  border-radius: 3px;
  background: #373f89;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.static-auth-submit:hover {
  background: #4650ad;
}

.static-auth-submit[disabled] {
  opacity: .55;
  cursor: default;
}

.static-auth-profile {
  display: none;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.static-auth-profile[data-active="true"] {
  display: block;
}

.static-auth-profile dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 12px;
  margin: 0 0 14px;
}

.static-auth-profile dt {
  color: #777;
}

.static-auth-profile dd {
  margin: 0;
}

.static-auth-privacy {
  margin: 14px 0 18px;
}

.static-auth-privacy-panel {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid #e1e6ec;
  border-radius: 4px;
  background: #f8fafc;
}

.static-auth-privacy-fields {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: 13px;
}

.static-auth-privacy-fields dt {
  color: #777;
}

.static-auth-privacy-fields dd {
  margin: 0;
  color: #222;
}

.static-auth-privacy-records {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.static-auth-privacy-records li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e6ebf0;
  border-radius: 4px;
  background: #fff;
  color: #555;
  font-size: 12px;
}

.static-auth-privacy-records b {
  color: #222;
}

.static-auth-privacy-notice {
  display: grid;
  gap: 6px;
  color: #555;
  font-size: 12px;
  line-height: 1.45;
}

.static-auth-privacy-notice p,
.static-auth-privacy-version {
  margin: 0;
}

.static-auth-privacy-version {
  color: #777;
  font-size: 11px;
}

.static-auth-privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
}

.static-auth-privacy-links a {
  color: #1167b1;
}

.static-auth-profile-form {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.static-auth-profile-note {
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.static-auth-org-card {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid #e1e6ec;
  border-radius: 4px;
  background: #f8fafc;
}

.static-auth-org-card h3 {
  margin: 0;
  color: #222;
  font-size: 16px;
  line-height: 1.3;
}

.static-auth-org-card p,
.static-auth-org-card-note {
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

.static-auth-org-card input[type="file"] {
  padding: 8px;
  background: #fff;
}

.static-auth-org-card-fields {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 12px;
  margin: 0;
  color: #333;
  font-size: 13px;
}

.static-auth-org-card-fields dt {
  color: #777;
}

.static-auth-org-card-fields dd {
  margin: 0;
}

.static-auth-orders {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.static-auth-orders-head {
  display: grid;
  gap: 3px;
}

.static-auth-orders-head h3 {
  margin: 0;
  color: #222;
  font-size: 16px;
  line-height: 1.3;
}

.static-auth-orders-head span,
.static-auth-empty {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.static-auth-order {
  display: grid;
  gap: 9px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 12px;
  background: #fff;
}

.static-auth-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.static-auth-order-top strong {
  display: block;
  color: #222;
  font-size: 14px;
}

.static-auth-order-top span,
.static-auth-order-payment {
  color: #777;
  font-size: 12px;
}

.static-auth-order-top mark {
  border-radius: 3px;
  padding: 4px 7px;
  background: #edf5ff;
  color: #1167b1;
  font-size: 12px;
  font-weight: 700;
}

.static-auth-order-items,
.static-auth-order-history ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.static-auth-order-items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #333;
  font-size: 13px;
}

.static-auth-order-items a {
  color: #1167b1;
}

.static-auth-order-comment {
  margin: 0;
  color: #333;
  font-size: 13px;
  line-height: 1.45;
}

.static-auth-order-history {
  color: #444;
  font-size: 12px;
}

.static-auth-order-history summary {
  cursor: pointer;
  color: #1167b1;
  font-weight: 700;
}

.static-auth-order-history li {
  display: grid;
  gap: 2px;
  padding: 6px 0;
  border-top: 1px solid #f0f0f0;
}

.static-auth-order-history span {
  color: #777;
}

.static-auth-order-history b {
  color: #222;
}

.static-auth-order-history em {
  color: #555;
  font-style: normal;
}

.static-cookie-consent {
  position: fixed;
  left: auto;
  right: 20px;
  bottom: 20px;
  z-index: 1250;
  display: none;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  width: min(420px, calc(100vw - 40px));
  max-width: 420px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  color: #333;
  font-size: 13px;
  line-height: 1.45;
}

.static-cookie-consent[data-open="true"] {
  display: flex;
}

.static-cookie-consent__actions {
  display: flex;
  gap: 8px;
  white-space: normal;
}

.static-cookie-consent button {
  flex: 1 1 auto;
  min-height: 34px;
  border: 1px solid #1167b1;
  border-radius: 3px;
  padding: 0 12px;
  background: #1167b1;
  color: #fff;
  cursor: pointer;
}

.static-cookie-consent button[data-cookie-decline] {
  border-color: #cfcfcf;
  background: #fff;
  color: #333;
}

.static-site-notice__box {
  max-width: 440px;
  padding: 22px;
}

.static-site-notice__close {
  position: absolute;
  top: 8px;
  right: 8px;
}

.static-site-notice__text {
  margin-top: 10px;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.static-inline-svg-img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.static-inline-svg-img--logo {
  width: auto;
  max-height: 68px;
}

@media (max-width: 560px) {
  .static-auth-overlay,
  .static-site-notice {
    align-items: flex-start;
    padding: 12px;
  }

  .static-auth-dialog,
  .static-site-notice__box {
    width: 100%;
    max-height: calc(100vh - 24px);
  }

  .static-auth-head,
  .static-auth-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .static-auth-tabs {
    grid-template-columns: 1fr;
    padding-left: 16px;
    padding-right: 16px;
  }

  .static-auth-grid {
    grid-template-columns: 1fr;
  }

  .static-auth-privacy-fields {
    grid-template-columns: 1fr;
  }

  .static-auth-privacy-records {
    grid-template-columns: 1fr;
  }

  .static-auth-field--wide {
    grid-column: auto;
  }

  .static-cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    gap: 8px;
    padding: 10px;
    font-size: 11.5px;
    line-height: 1.35;
  }

  .static-cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    white-space: normal;
  }

  .static-cookie-consent button {
    min-height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }

  body.static-cookie-visible {
    padding-bottom: 118px !important;
  }

  .static-native-menu-open .static-cookie-consent {
    display: none !important;
  }
}

@media (max-width: 370px) {
  .static-cookie-consent__actions {
    grid-template-columns: 1fr;
  }

  body.static-cookie-visible {
    padding-bottom: 156px !important;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .intec-template-layout-page-wrapper.intec-content-wrapper,
  .intec-template-layout-content,
  .intec-template-layout-columns,
  .intec-template-layout-column,
  .static-desktop-context,
  .static-manual-copy,
  .static-service-copy,
  .static-product-copy,
  .static-blog-article,
  .static-blog-layout,
  .static-blog-sidebar,
  .static-blog-body,
  .static-auth-panel,
  .static-auth-dialog,
  .static-site-notice__box {
    box-sizing: border-box;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .intec-template-layout-page-wrapper.intec-content-wrapper {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .intec-template-layout-page-wrapper.intec-content-wrapper > .intec-template-layout-content,
  .intec-template-layout-page-wrapper.intec-content-wrapper .intec-template-layout-columns,
  .intec-template-layout-page-wrapper.intec-content-wrapper .intec-template-layout-column {
    width: 100% !important;
  }

  .intec-template-layout-page-wrapper.intec-content-wrapper img,
  .static-blog-article img,
  .static-service-copy img,
  .static-product-copy img {
    height: auto;
    max-width: 100%;
  }

  .intec-template-layout-page-wrapper.intec-content-wrapper a,
  .static-blog-article a,
  .static-auth-panel a {
    overflow-wrap: anywhere;
  }
}

/* compact B2B auth modal 2026-06-04 */
body.static-auth-open .static-cookie-consent {
  display: none !important;
}

.static-auth-overlay {
  z-index: 200000;
  padding: 18px;
  background: rgba(18, 24, 34, .66);
}

.static-auth-dialog {
  width: min(560px, 100%);
  border-radius: 4px;
  overflow: hidden;
}

.static-auth-overlay[data-mode="login"] .static-auth-dialog {
  width: min(480px, 100%);
}

.static-auth-overlay[data-mode="register"] .static-auth-dialog {
  width: min(620px, 100%);
}

.static-auth-overlay[data-mode="profile"] .static-auth-dialog {
  width: min(980px, 100%);
}

.static-auth-head {
  padding: 18px 22px 14px;
  background: #fff;
}

.static-auth-kicker {
  display: block;
  margin-bottom: 4px;
  color: #8a94a3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.static-auth-title {
  font-size: 21px;
}

.static-auth-subtitle {
  margin: 6px 0 0;
  color: #5f6876;
  font-size: 13px;
  line-height: 1.35;
}

.static-auth-close {
  flex: 0 0 auto;
}

.static-auth-tabs {
  display: flex;
  gap: 1px;
  padding: 0 22px;
  border-top: 1px solid #e4e9ef;
  border-bottom: 1px solid #e4e9ef;
  background: #eef2f7;
}

.static-auth-tab {
  flex: 1 1 0;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: #f8fafc;
}

.static-auth-overlay[data-authenticated="false"] [data-auth-tab="profile"] {
  display: none;
}

.static-auth-body {
  padding: 16px 22px 20px;
}

.static-auth-message:empty,
.static-auth-status:empty {
  display: none;
}

.static-auth-form {
  gap: 10px;
}

.static-auth-form--login {
  max-width: 420px;
  margin: 0 auto;
}

.static-auth-grid {
  gap: 10px;
}

.static-auth-field {
  gap: 5px;
  font-size: 12px;
}

.static-auth-field input {
  min-height: 40px;
  padding: 9px 11px;
}

.static-auth-hint {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.4;
}

.static-auth-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.static-auth-submit {
  min-height: 40px;
  padding: 0 16px;
}

.static-auth-link-button {
  min-height: 40px;
  border: 1px solid #cfd8e3;
  border-radius: 3px;
  padding: 0 14px;
  background: #fff;
  color: #373f89;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.static-auth-link-button:hover {
  border-color: #373f89;
}

.static-auth-consent {
  gap: 7px;
  font-size: 11.5px;
}

.static-auth-consent input {
  flex: 0 0 auto;
}

.static-auth-consent span {
  color: #586171;
  background: transparent;
}

.static-auth-data-note {
  gap: 6px;
  padding: 10px 12px;
  font-size: 12px;
}

.static-auth-data-note summary {
  color: #222;
  font-weight: 700;
  cursor: pointer;
}

.static-auth-profile-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.static-auth-profile-summary div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e2e7ee;
  border-radius: 4px;
  background: #f8fafc;
}

.static-auth-profile-summary span {
  display: block;
  color: #707987;
  font-size: 11px;
  line-height: 1.25;
}

.static-auth-profile-summary b {
  display: block;
  margin-top: 4px;
  color: #222;
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.static-auth-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.static-auth-profile-main,
.static-auth-profile-side {
  display: grid;
  gap: 12px;
}

.static-auth-profile-form,
.static-auth-orders,
.static-auth-org-card,
.static-auth-privacy-panel {
  margin: 0;
}

.static-auth-profile-form,
.static-auth-org-card,
.static-auth-privacy-panel,
.static-auth-orders {
  border: 1px solid #e2e7ee;
  border-radius: 4px;
  padding: 12px;
  background: #fff;
}

.static-auth-orders {
  max-height: 360px;
  overflow: auto;
}

.static-auth-order {
  padding: 10px;
}

.static-auth-privacy-records {
  grid-template-columns: 1fr;
}

.static-auth-logout {
  width: 100%;
  color: #6b1f1f;
}

@media (max-width: 760px) {
  .static-auth-overlay {
    align-items: flex-start;
    padding: 10px;
  }

  .static-auth-dialog,
  .static-auth-overlay[data-mode="login"] .static-auth-dialog,
  .static-auth-overlay[data-mode="register"] .static-auth-dialog,
  .static-auth-overlay[data-mode="profile"] .static-auth-dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
  }

  .static-auth-head {
    padding: 15px 16px 12px;
  }

  .static-auth-tabs {
    padding: 0 16px;
  }

  .static-auth-tab {
    min-height: 40px;
    font-size: 12px;
  }

  .static-auth-body {
    padding: 14px 16px 16px;
  }

  .static-auth-grid,
  .static-auth-profile-summary,
  .static-auth-profile-layout,
  .static-auth-actions {
    grid-template-columns: 1fr;
  }

  .static-auth-profile-summary {
    gap: 6px;
  }

  .static-auth-profile-layout {
    gap: 10px;
  }

  .static-auth-orders {
    max-height: none;
  }

  .static-auth-link-button,
  .static-auth-submit {
    width: 100%;
  }
}
