/* Helios Stock V30 - Suppliers visual alignment
   Keeps supplier behavior intact while matching the Helios Documents design language. */

body.helios-documents-theme-v29.module-suppliers-v28 .supplier-page-v12{
  gap:16px;
}

/* Header / hero */
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-v12{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:148px;
  margin:0;
  padding:26px 28px;
  overflow:hidden;
  border:1px solid rgba(79,70,229,.14)!important;
  border-radius:20px!important;
  background:
    radial-gradient(circle at 96% 0%,rgba(79,70,229,.14),transparent 36%),
    radial-gradient(circle at 4% 100%,rgba(99,102,241,.07),transparent 38%),
    linear-gradient(135deg,#f5f4ff 0%,#fff 56%,#f8f7ff 100%)!important;
  color:#171827!important;
  box-shadow:0 16px 42px rgba(17,24,39,.05)!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-v12::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg,transparent,rgba(79,70,229,.48),rgba(129,140,248,.24),transparent);
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-v12::after{
  content:""!important;
  position:absolute!important;
  right:-68px!important;
  top:-104px!important;
  width:260px!important;
  height:260px!important;
  border-radius:50%!important;
  background:rgba(79,70,229,.055)!important;
  opacity:1!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-copy-v12{
  position:relative;
  z-index:1;
  max-width:820px;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-eyebrow-v12{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--helios)!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.11em!important;
  text-transform:uppercase;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-eyebrow-v12 i{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#eceaff;
  color:var(--helios);
  font-size:12px;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-v12 h1{
  margin:8px 0 6px!important;
  color:#151529!important;
  font-size:29px!important;
  line-height:1.1!important;
  font-weight:700!important;
  letter-spacing:-.035em!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-v12 p{
  max-width:760px;
  margin:0!important;
  color:#6d7180!important;
  font-size:13px!important;
  line-height:1.5!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-note-v12{
  display:inline-flex;
  align-items:center;
  gap:7px;
  width:auto;
  margin-top:12px;
  padding:6px 9px;
  border:1px solid #e3e1fb;
  border-radius:9px;
  background:rgba(255,255,255,.74);
  color:#77718f!important;
  font-size:10.5px!important;
  line-height:1.35;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-note-v12 i{color:var(--helios)}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-primary-action-v12{
  position:relative;
  z-index:1;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 15px!important;
  white-space:nowrap;
  border-radius:10px!important;
  background:var(--helios)!important;
  border-color:var(--helios)!important;
  color:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-primary-action-v12:hover{
  background:var(--helios-dark)!important;
  border-color:var(--helios-dark)!important;
  color:#fff!important;
  transform:none!important;
}

/* Summary metrics */
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-metrics-v12{
  gap:14px;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-metrics-v12 article{
  min-height:88px;
  gap:12px;
  padding:18px 20px;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-metrics-v12 article.is-alert{
  border-color:#f3dfc5!important;
  background:#fffdfa!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-metric-icon-v12{
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:10px!important;
  background:#f0efff!important;
  color:var(--helios)!important;
  font-size:16px;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-metric-icon-v12.success{
  background:#ecfdf3!important;
  color:#15803d!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-metric-icon-v12.warning{
  background:#fff7ed!important;
  color:#b45309!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-metrics-v12 small{
  color:#8a919e!important;
  font-size:9.5px!important;
  font-weight:650!important;
  letter-spacing:.045em!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-metrics-v12 strong{
  margin-top:4px;
  color:#171827!important;
  font-size:21px!important;
  font-weight:700!important;
  letter-spacing:-.02em;
}

/* Supplier directory */
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-directory-v12{
  overflow:hidden;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-directory-header-v12{
  gap:18px;
  padding:17px 20px!important;
  border-bottom:1px solid var(--border)!important;
  background:#fff!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-directory-title-v12{
  gap:11px;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-directory-title-v12>span{
  width:36px;
  height:36px;
  border-radius:10px!important;
  background:#f0efff!important;
  color:var(--helios)!important;
  font-size:16px;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-directory-title-v12 h2{
  margin:0;
  color:#252634!important;
  font-size:15px!important;
  font-weight:650!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-directory-title-v12 p{
  margin:3px 0 0;
  color:#8b909c!important;
  font-size:10.5px!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-filter-v12 label{
  color:#6b7280!important;
  font-size:10px!important;
  font-weight:600!important;
  text-transform:none!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-filter-v12 .form-select{
  min-width:150px;
  min-height:38px!important;
  height:38px!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
  font-size:11.5px!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-directory-v12 .native-table-tools{
  margin:12px 16px 8px;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-directory-v12 .native-table-footer{
  padding:0 16px 14px;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-table-v12 thead th{
  background:#fafafa!important;
  color:#8a919e!important;
  font-size:10px!important;
  font-weight:650!important;
  letter-spacing:.035em!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-table-v12 tbody tr:hover{
  background:#fafaff!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-identity-v12>span{
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:9px!important;
  background:#f2f2ff!important;
  color:var(--helios)!important;
  font-size:13px;
  font-weight:700;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-identity-v12 strong,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-contact-v12 strong,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-commercial-v12 b,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-purchase-v12 strong,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-purchase-v12 b{
  color:#30323d!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-identity-v12 small,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-contact-v12 a,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-contact-v12 span,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-commercial-v12 span,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-purchase-v12 small,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-purchase-v12 span{
  color:#7f8693!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-contact-v12 a:hover{color:var(--helios)!important}

/* Drawer / forms */
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-overlay-v12{
  background:rgba(17,24,39,.34)!important;
  backdrop-filter:blur(2px);
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-drawer-v12{
  box-shadow:-18px 0 48px rgba(15,23,42,.13)!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-drawer-v12>header{
  padding:20px 24px;
  border-bottom:1px solid var(--border)!important;
  background:#fff!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-drawer-v12>header span{
  color:var(--helios)!important;
  font-size:9.5px!important;
  font-weight:700!important;
  letter-spacing:.1em!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-drawer-v12>header h2{
  color:#242633!important;
  font-size:19px!important;
  font-weight:700!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-drawer-v12>header p{color:#7b818d!important}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-close-v12{
  border:1px solid var(--border)!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#7b8391!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-close-v12:hover{
  border-color:#dedcff!important;
  background:#f5f5ff!important;
  color:var(--helios)!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-form-section-v12{
  padding:16px;
  border:1px solid var(--border)!important;
  border-radius:12px!important;
  background:#fff!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-form-heading-v12>span{
  width:34px;
  height:34px;
  border-radius:9px!important;
  background:#f0efff!important;
  color:var(--helios)!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-form-heading-v12 strong{color:#343641!important}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-form-heading-v12 small{color:#8a909c!important}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-drawer-v12>footer,
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-drawer-v12 form>footer{
  border-top:1px solid var(--border)!important;
  background:#fafafa!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-detail-grid-v12 article{
  border:1px solid var(--border)!important;
  border-radius:11px!important;
  background:#fff!important;
}
body.helios-documents-theme-v29.module-suppliers-v28 .supplier-detail-purchases-v12 article{
  border:1px solid #ececf2;
  border-radius:11px!important;
  background:#fafafa!important;
}

@media(max-width:760px){
  body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-v12{
    align-items:flex-start;
    flex-direction:column;
    min-height:0;
    padding:22px;
  }
  body.helios-documents-theme-v29.module-suppliers-v28 .supplier-primary-action-v12{
    width:100%;
  }
}
@media(max-width:560px){
  body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-v12{
    padding:18px;
    border-radius:16px!important;
  }
  body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-v12 h1{font-size:24px!important}
  body.helios-documents-theme-v29.module-suppliers-v28 .supplier-hero-note-v12{display:flex;width:100%}
  body.helios-documents-theme-v29.module-suppliers-v28 .supplier-metrics-v12 article{padding:15px}
}
