/* =========================================================
   GAZKOO PORTAL SUPPLIER — INDUSTRIAL PRECISION × APPLE CRAFT
   4-Layer Functional Palette · Inter · 6px Crisp Geometry
   ========================================================= */
.gz-sup-shell {
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: var(--erp-canvas, #f4f7f5);
  color: var(--erp-primary, #133628);
  font-family: var(--font-sans);
  padding: 0;
  box-sizing: border-box;
}

/* Authoritative Deep Forest Sidebar */
.gz-sup-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 14px 14px;
  color: rgba(255, 255, 255, 0.8);
  gap: 16px;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  background: var(--erp-primary, #133628);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.gz-sup-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-height: 48px;
  margin-bottom: 14px;
  background: var(--erp-surface, #ffffff);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.gz-sup-brand-btn {
  border: none;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gz-sup-brand-btn img {
  height: 30px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.gz-sup-role-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  background: #133628;
  color: #ffffff;
  border: none;
}

.gz-sup-nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  padding: 0 10px;
  margin-bottom: 6px;
}

.gz-sup-nav-group + .gz-sup-nav-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gz-sup-pro-crown {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #facc15;
  color: #0b0f0d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gz-sup-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gz-sup-nav-item {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 9px 11px;
  min-height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
}

.gz-sup-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.gz-sup-nav-item.is-active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--erp-accent, #fd850b);
  padding-left: 9px;
}

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

.gz-sup-nav-item.is-active .gz-sup-nav-left svg {
  color: #ffffff;
}

.gz-sup-nav-pill {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 2px 7px;
  border-radius: 4px;
  background: #facc15;
  color: #0b0f0d;
}

.gz-sup-nav-item.is-active .gz-sup-nav-pill {
  background: #ffffff;
  color: #133628;
}

/* Sidebar Bottom Card & User Chip */
.gz-sup-side-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gz-sup-promo-card {
  position: relative;
  border-radius: 6px;
  padding: 14px;
  background: rgba(11, 15, 13, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.gz-sup-promo-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #15803d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.gz-sup-promo-card h4 {
  margin: 0 0 4px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
}

.gz-sup-promo-card p {
  margin: 0 0 10px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.76);
}

.gz-sup-lime-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: #0b0f0d;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 9px 12px;
  min-height: 36px;
  cursor: pointer;
}

.gz-sup-lime-btn:hover {
  background: #15803d;
  border-color: #15803d;
}

.gz-sup-side-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gz-sup-user-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gz-sup-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gz-sup-avatar {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--erp-success, #19561f);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gz-sup-top-profile .gz-sup-avatar {
  background: var(--erp-primary, #133628);
}

.gz-sup-user-text {
  min-width: 0;
}

.gz-sup-user-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gz-sup-user-text span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.66);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main Neutral Canvas (ERP 60% #F4F7F5) */
.gz-sup-canvas {
  background: var(--erp-canvas, #f4f7f5);
  border-radius: 0;
  padding: 0 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}

.gz-sup-canvas.is-overview-fit {
  padding: 0 24px 16px;
  gap: 12px;
}

@media (min-width: 1080px) and (min-height: 680px) {
  .gz-sup-canvas.is-overview-fit {
    overflow: hidden;
  }
}

/* Sticky ERP Topbar */
.gz-sup-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 -28px;
  padding: 10px 28px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--erp-border, #dce3df);
}

.gz-sup-canvas.is-overview-fit .gz-sup-topbar {
  margin: 0 -24px;
  padding: 10px 24px;
}

.gz-sup-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--erp-canvas, #f4f7f5);
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 6px;
  padding: 0 12px;
  min-height: 36px;
  height: 36px;
  width: min(360px, 100%);
  color: #64748b;
  box-sizing: border-box;
}

.gz-sup-search:focus-within {
  background: var(--erp-surface, #ffffff);
  border-color: var(--erp-primary, #133628);
  box-shadow: 0 0 0 2px rgba(19, 54, 40, 0.12);
}

.gz-sup-search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--erp-primary, #133628);
  width: 100%;
  min-width: 0;
}

.gz-sup-search input::placeholder {
  color: #94a3b8;
}

.gz-sup-search kbd {
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  background: var(--erp-surface, #ffffff);
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
}

.gz-sup-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gz-sup-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.gz-sup-icon-btn:hover {
  background: #f4f7f5;
  border-color: #64748b;
}

.gz-sup-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #15803d;
  border: 1.5px solid #ffffff;
}

.gz-sup-top-profile {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 5px;
  min-height: 38px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e8ecea;
}

.gz-sup-top-profile:hover {
  border-color: #64748b;
}

.gz-sup-top-profile strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
}

.gz-sup-top-profile span {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.2;
}

/* Page Header */
.gz-sup-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8ecea;
}

.gz-sup-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.gz-sup-page-head h1 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0f172a;
}

.gz-sup-page-head p {
  margin: 6px 0 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  color: #475569;
}

.gz-sup-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Crisp Industrial Secondary CTA (No Wave-Spin Bloat) */
.gz-sup-btn-outline {
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.gz-sup-btn-outline:not(:disabled):hover {
  border-color: #0f172a;
  background: #f4f7f5;
  color: #0f172a;
}

.gz-sup-btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Crisp Primary Charcoal CTA (#0b0f0d) */
.gz-sup-btn-dark {
  border: 1px solid #0b0f0d;
  background: #0b0f0d;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 15px;
  min-height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.gz-sup-btn-dark:hover:not(:disabled) {
  background: #133628;
  border-color: #133628;
}

.gz-sup-btn-dark:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 4-Column KPI Row */
.gz-sup-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gz-sup-kpi-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.gz-sup-kpi-watermark {
  display: none;
}

.gz-sup-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gz-sup-kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gz-sup-trend-pill {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.gz-sup-trend-pill.is-up {
  background: rgba(21, 128, 61, 0.12);
  color: #133628;
  border: 1px solid rgba(21, 128, 61, 0.25);
}

.gz-sup-trend-pill.is-neutral {
  background: #f4f7f5;
  color: #475569;
  border: 1px solid #e8ecea;
}

.gz-sup-kpi-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gz-sup-kpi-badge {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gz-sup-kpi-badge.is-lime {
  background: #15803d;
  color: #ffffff;
}

.gz-sup-kpi-badge.is-dark {
  background: #0b0f0d;
  color: #ffffff;
}

.gz-sup-kpi-badge.is-emerald {
  background: #133628;
  color: #ffffff;
}

.gz-sup-kpi-badge.is-ice {
  background: #0284c7;
  color: #ffffff;
}

.gz-sup-kpi-val {
  font-size: clamp(1.2rem, 1.5vw, 1.44rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.15;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.gz-sup-kpi-sub {
  font-size: 0.75rem;
  color: #475569;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

/* Main Grid Rows */
.gz-sup-bento-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
}

.gz-sup-bento-bottom {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}

.gz-sup-card {
  background: #ffffff;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gz-sup-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.gz-sup-card-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0f172a;
}

.gz-sup-card-head p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  color: #475569;
}

/* Unified Segmented Control */
.gz-sup-seg-tabs {
  display: inline-flex;
  background: #f4f7f5;
  border: 1px solid #e8ecea;
  padding: 3px;
  border-radius: 6px;
  gap: 2px;
}

.gz-sup-seg-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
}

.gz-sup-seg-btn.is-active {
  background: #0b0f0d;
  color: #ffffff;
}

/* 2-Card Industrial Stack: Tarif & Kesiapan + Tindak Lanjut */
.gz-sup-readiness-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gz-sup-ready-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gz-sup-ready-card.is-lime {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e8ecea;
  border-left: 3px solid #15803d;
}

.gz-sup-ready-card.is-mint {
  background: #133628;
  color: #ffffff;
  border: 1px solid #133628;
}

.gz-sup-deck-topo {
  display: none;
}

.gz-sup-ready-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.gz-sup-ready-head h3 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.gz-sup-ready-head p {
  margin: 3px 0 0;
  font-size: 0.76rem;
  font-weight: 400;
  color: #475569;
}

.gz-sup-ready-edit-pill {
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.gz-sup-ready-edit-pill:hover {
  background: #0b0f0d;
  border-color: #0b0f0d;
  color: #ffffff;
}

.gz-sup-ready-price-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gz-sup-ready-price-val {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.gz-sup-ready-price-val strong {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.gz-sup-ready-price-val span {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
}

.gz-sup-ready-price-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: #475569;
}

.gz-sup-ready-divider {
  height: 1px;
  background: #e8ecea;
}

.gz-sup-ready-kv-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-variant-numeric: tabular-nums;
}

.gz-sup-ready-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.79rem;
}

.gz-sup-ready-kv span {
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
}

.gz-sup-ready-kv strong {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.gz-sup-ready-tasks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gz-sup-ready-tasks-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.gz-sup-ready-task-link {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 9px 11px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
}

.gz-sup-ready-task-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.gz-sup-ready-task-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: #facc15;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Modal Dialog (Critically Damped Reveal) */
.gz-sup-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 15, 13, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gz-sup-modal {
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: gzModalReveal 240ms var(--gz-ease-apple, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.gz-sup-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.gz-sup-modal-head h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.gz-sup-modal-head p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #475569;
}

.gz-sup-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #e8ecea;
}

/* Industrial Data Table */
.gz-sup-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  font-size: 0.84rem;
}

.gz-sup-table thead th {
  background: #f4f7f5;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  padding: 11px 14px;
  border-bottom: 1px solid #e8ecea;
  white-space: nowrap;
}

.gz-sup-table tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid #e8ecea;
  color: #0f172a;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.gz-sup-table tbody tr:last-child td {
  border-bottom: none;
}

.gz-sup-table tbody tr:hover td {
  background: #f4f7f5;
}

.gz-sup-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.gz-sup-status-badge.is-ok {
  background: rgba(21, 128, 61, 0.12);
  color: #133628;
  border: 1px solid rgba(21, 128, 61, 0.28);
}

.gz-sup-status-badge.is-warn {
  background: rgba(217, 119, 6, 0.12);
  color: #0f172a;
  border: 1px solid rgba(217, 119, 6, 0.35);
}

.gz-sup-status-badge.is-info {
  background: rgba(2, 132, 199, 0.12);
  color: #0f172a;
  border: 1px solid rgba(2, 132, 199, 0.32);
}

/* Crisp City Chip (No Wave-Spin) */
.gz-sup-city-chip {
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.gz-sup-city-chip:hover {
  border-color: #133628;
  background: #133628;
  color: #ffffff;
}

.gz-sup-city-chip-x {
  color: #64748b;
  font-weight: 700;
}

.gz-sup-city-chip:hover .gz-sup-city-chip-x {
  color: #facc15;
}

/* Editorial Vertical Sub-Tab Rail (Tarif & COA) */
.gz-sup-vtab-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.gz-sup-vtab-rail {
  position: sticky;
  top: 72px;
  padding: 4px;
}

.gz-sup-vtab-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #64748b;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.gz-sup-vtab-crumb strong {
  color: #0f172a;
  font-weight: 600;
}

.gz-sup-vtab-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid #e8ecea;
}

.gz-sup-vtab-item {
  position: relative;
  border: none;
  background: transparent;
  padding: 10px 8px 10px 16px;
  margin-left: -2px;
  border-left: 3px solid transparent;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gz-sup-vtab-item.is-active {
  border-left-color: #15803d;
}

.gz-sup-vtab-item:not(.is-active):hover {
  border-left-color: #64748b;
}

.gz-sup-vtab-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
}

.gz-sup-vtab-item:hover .gz-sup-vtab-title,
.gz-sup-vtab-item.is-active .gz-sup-vtab-title {
  color: #0f172a;
}

.gz-sup-vtab-desc {
  display: block;
  font-size: 0.74rem;
  line-height: 1.5;
  color: #64748b;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition:
    max-height 240ms var(--gz-ease-apple, cubic-bezier(0.22, 1, 0.36, 1)),
    opacity 200ms ease,
    margin-top 200ms ease;
}

.gz-sup-vtab-item:hover .gz-sup-vtab-desc,
.gz-sup-vtab-item.is-active .gz-sup-vtab-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 5px;
}

@media (max-width: 980px) {
  .gz-sup-vtab-layout {
    grid-template-columns: 1fr;
  }
  .gz-sup-vtab-rail {
    position: static;
  }
}

/* Drag & Drop Upload Zone */
.gz-sup-dropzone {
  position: relative;
  border: 1.5px dashed #94a3b8;
  border-radius: 6px;
  background: #ffffff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.gz-sup-dropzone.is-dragging {
  border-color: #15803d;
  background: #f4f7f5;
}

.gz-sup-drop-real-preview {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gz-sup-drop-real-preview img,
.gz-sup-drop-real-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  filter: grayscale(0.75) contrast(0.92);
  opacity: 0.22;
  display: block;
}

.gz-sup-drop-ghost-doc {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.gz-sup-ghost-page {
  width: 240px;
  height: 170px;
  border-radius: 6px;
  background: #f4f7f5;
  border: 1px solid #e8ecea;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gz-sup-ghost-line {
  display: block;
  height: 7px;
  width: 100%;
  border-radius: 2px;
  background: #e8ecea;
}

.gz-sup-ghost-line.is-head {
  width: 60%;
  height: 10px;
  background: #94a3b8;
}

.gz-sup-ghost-line.is-short {
  width: 72%;
}

.gz-sup-ghost-block {
  display: block;
  height: 40px;
  width: 100%;
  border-radius: 4px;
  background: #e8ecea;
  margin: 2px 0;
}

.gz-sup-drop-fan,
.gz-sup-drop-title,
.gz-sup-drop-sub,
.gz-sup-drop-btn,
.gz-sup-drop-pills {
  position: relative;
  z-index: 1;
}

.gz-sup-drop-fan {
  position: relative;
  width: 112px;
  height: 52px;
  margin-bottom: 4px;
}

.gz-sup-fan-card {
  position: absolute;
  top: 4px;
  width: 38px;
  height: 44px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid #e8ecea;
  transition: transform 220ms var(--gz-ease-apple, cubic-bezier(0.22, 1, 0.36, 1));
}

.gz-sup-fan-card.is-left {
  left: 8px;
  background: rgba(2, 132, 199, 0.12);
  color: #0f172a;
  transform: rotate(-10deg);
}

.gz-sup-fan-card.is-mid {
  left: 37px;
  top: 0;
  z-index: 2;
  background: #ffffff;
  color: #0f172a;
}

.gz-sup-fan-card.is-right {
  right: 8px;
  background: rgba(21, 128, 61, 0.14);
  color: #133628;
  transform: rotate(10deg);
}

.gz-sup-drop-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}

.gz-sup-drop-sub {
  margin: 0 0 6px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #475569;
}

.gz-sup-drop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  min-height: 36px;
  border-radius: 6px;
  cursor: pointer;
}

.gz-sup-drop-btn:hover {
  background: #0b0f0d;
  border-color: #0b0f0d;
  color: #ffffff;
}

.gz-sup-drop-pills {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  align-self: flex-end;
}

.gz-sup-drop-pill {
  background: #0b0f0d;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Corporate Bank Card (Rekening & Penagihan) */
.gz-sup-bank-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.gz-sup-bank-card {
  position: relative;
  z-index: 2;
  width: min(390px, 100%);
  min-height: 204px;
  border-radius: 6px;
  padding: 20px 22px;
  color: #ffffff;
  background: #133628;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  margin-bottom: -48px;
}

.gz-sup-bank-waves {
  display: none;
}

.gz-sup-bank-card-top,
.gz-sup-bank-number,
.gz-sup-bank-card-foot {
  position: relative;
  z-index: 1;
}

.gz-sup-bank-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.gz-sup-bank-kicker {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 3px;
}

.gz-sup-bank-holder-top {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
}

.gz-sup-bank-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  white-space: nowrap;
}

.gz-sup-bank-number {
  font-size: 1.26rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.gz-sup-bank-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.gz-sup-bank-card-foot strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
}

.gz-sup-bank-circles {
  display: inline-flex;
  align-items: center;
}

.gz-sup-bank-circles span {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
}

.gz-sup-bank-circles span + span {
  margin-left: -8px;
  background: rgba(255, 255, 255, 0.5);
}

.gz-sup-bank-form-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  padding: 72px 24px 24px;
  box-sizing: border-box;
}

/* Activity List */
.gz-sup-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gz-sup-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8ecea;
}

.gz-sup-activity-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gz-sup-activity-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gz-sup-activity-dot {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #f4f7f5;
  border: 1px solid #e8ecea;
  color: #133628;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gz-sup-activity-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f172a;
}

.gz-sup-activity-text span {
  display: block;
  font-size: 0.72rem;
  color: #475569;
}

.gz-sup-activity-time {
  font-size: 0.7rem;
  color: #64748b;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Profile Lapis 1 & 2 Form Grid */
.gz-sup-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.gz-sup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gz-sup-field.is-full {
  grid-column: 1 / -1;
}

.gz-sup-field label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.gz-sup-field input,
.gz-sup-field select,
.gz-sup-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  box-sizing: border-box;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  background: #ffffff;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.86rem;
  color: #0f172a;
  outline: none;
}

.gz-sup-field input::placeholder,
.gz-sup-field textarea::placeholder {
  color: #94a3b8;
}

.gz-sup-field input:focus,
.gz-sup-field select:focus,
.gz-sup-field textarea:focus {
  border-color: #15803d;
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.14);
}

.gz-sup-hint {
  font-size: 0.74rem;
  line-height: 1.45;
  color: #475569;
  margin-top: 2px;
}

/* Company Cover + Avatar Banner */
.gz-sup-cover-card {
  background: #ffffff;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  overflow: hidden;
}

.gz-sup-cover-banner {
  position: relative;
  height: 164px;
  background: #133628;
  background-size: cover;
  background-position: center;
}

.gz-sup-cover-banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
}

.gz-sup-cover-upload {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #0b0f0d;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gz-sup-cover-upload:hover {
  background: #15803d;
  border-color: #15803d;
}

.gz-sup-cover-body {
  padding: 0 22px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gz-sup-cover-identity {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.gz-sup-company-logo-box {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  border: 3px solid #ffffff;
  background: #133628;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.gz-sup-company-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gz-sup-logo-upload-btn {
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 6px;
  cursor: pointer;
}

.gz-sup-logo-upload-btn:hover {
  border-color: #0f172a;
  background: #f4f7f5;
}

/* 3-Column B2B Deal Messenger */
.gz-sup-chat-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 268px;
  background: #ffffff;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  overflow: hidden;
  height: calc(100vh - 175px);
  min-height: 540px;
  max-height: 700px;
}

.gz-sup-chat-list {
  border-right: 1px solid #e8ecea;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.gz-sup-chat-list-head {
  padding: 14px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #e8ecea;
}

.gz-sup-chat-list-head h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}

.gz-sup-chat-list-head span {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  color: #64748b;
}

.gz-sup-chat-tabs {
  display: inline-flex;
  background: #f4f7f5;
  border: 1px solid #e8ecea;
  padding: 2px;
  border-radius: 6px;
  gap: 2px;
  flex-shrink: 0;
}

.gz-sup-chat-tab {
  border: none;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.gz-sup-chat-tab.is-active {
  background: #0b0f0d;
  color: #ffffff;
}

.gz-sup-chat-search-wrap {
  margin: 10px 12px 6px;
  padding: 7px 10px;
  background: #ffffff;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}

.gz-sup-chat-search-wrap:focus-within {
  border-color: #15803d;
}

.gz-sup-chat-search-wrap input {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.76rem;
  color: #0f172a;
  width: 100%;
  min-width: 0;
}

.gz-sup-chat-items {
  padding: 6px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  flex: 1;
}

.gz-sup-chat-item {
  border: none;
  background: transparent;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.gz-sup-chat-item:hover {
  background: #f4f7f5;
}

.gz-sup-chat-item.is-active {
  background: rgba(21, 128, 61, 0.08);
  box-shadow: inset 3px 0 0 #15803d;
}

.gz-sup-chat-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #133628;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gz-sup-online-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #15803d;
  border: 2px solid #ffffff;
}

.gz-sup-chat-meta {
  min-width: 0;
  flex: 1;
}

.gz-sup-chat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.gz-sup-chat-top strong {
  font-size: 0.79rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gz-sup-chat-top time {
  font-size: 0.67rem;
  color: #64748b;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.gz-sup-chat-ref {
  font-size: 0.69rem;
  font-weight: 600;
  color: #15803d;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gz-sup-chat-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
}

.gz-sup-chat-sub span {
  font-size: 0.72rem;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gz-sup-chat-unread {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 4px;
  background: #15803d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Center Pane */
.gz-sup-chat-pane {
  display: flex;
  flex-direction: column;
  background: #f4f7f5;
  min-width: 0;
  min-height: 0;
}

.gz-sup-chat-pane-head {
  padding: 12px 18px;
  border-bottom: 1px solid #e8ecea;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gz-sup-chat-pane-head strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}

.gz-sup-chat-pane-head span {
  display: block;
  font-size: 0.72rem;
  color: #475569;
}

.gz-sup-chat-messages {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  min-height: 0;
}

.gz-sup-chat-day {
  text-align: center;
  margin-bottom: 4px;
}

.gz-sup-chat-day span {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: #e8ecea;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.gz-imsg-row {
  display: flex;
  flex-direction: column;
  max-width: 76%;
}

.gz-imsg-row.is-mine {
  align-self: flex-end;
  align-items: flex-end;
}

.gz-imsg-row.is-theirs {
  align-self: flex-start;
  align-items: flex-start;
}

.gz-imsg-bubble {
  padding: 10px 13px;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.48;
}

.gz-imsg-bubble.is-mine {
  background: #133628;
  color: #ffffff;
}

.gz-imsg-bubble.is-theirs {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e8ecea;
}

.gz-imsg-doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
}

.gz-imsg-bubble.is-theirs .gz-imsg-doc-tag {
  background: rgba(21, 128, 61, 0.1);
  color: #15803d;
}

.gz-imsg-time {
  margin-top: 4px;
  font-size: 0.65rem;
  color: #64748b;
  padding: 0 2px;
  font-variant-numeric: tabular-nums;
}

.gz-sup-chat-footer {
  background: #ffffff;
  border-top: 1px solid #e8ecea;
  padding: 10px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gz-sup-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gz-sup-quick-pill {
  border: 1px solid #e8ecea;
  background: #f4f7f5;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.gz-sup-quick-pill:hover {
  background: rgba(21, 128, 61, 0.1);
  border-color: #15803d;
  color: #133628;
}

.gz-sup-chat-compose {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gz-sup-chat-attach {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #e8ecea;
  background: #f4f7f5;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.gz-sup-chat-attach:hover {
  border-color: #15803d;
  color: #15803d;
}

.gz-sup-chat-compose input[type='text'] {
  flex: 1;
  min-width: 0;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  padding: 8px 12px;
  min-height: 36px;
  font-family: inherit;
  font-size: 0.82rem;
  color: #0f172a;
  outline: none;
  background: #ffffff;
}

.gz-sup-chat-compose input[type='text']:focus {
  border-color: #15803d;
}

.gz-sup-chat-send {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background: #0b0f0d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.gz-sup-chat-send:hover:not(:disabled) {
  background: #15803d;
}

.gz-sup-chat-send:disabled {
  background: #94a3b8;
  cursor: default;
}

/* Right Column: Deal Context & 1-Click Docs */
.gz-sup-chat-context {
  border-left: 1px solid #e8ecea;
  background: #ffffff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  min-height: 0;
}

.gz-sup-ctx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gz-sup-ctx-head span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.gz-sup-ctx-head strong {
  font-size: 11px;
  font-weight: 600;
  color: #133628;
  background: rgba(21, 128, 61, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.gz-sup-ctx-card {
  background: #f4f7f5;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gz-sup-ctx-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gz-sup-ctx-row span {
  font-size: 11px;
  color: #64748b;
}

.gz-sup-ctx-row strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.gz-sup-ctx-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gz-sup-ctx-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 2px;
}

.gz-sup-ctx-btn {
  width: 100%;
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: left;
}

.gz-sup-ctx-btn:hover {
  background: #133628;
  border-color: #133628;
  color: #ffffff;
}

@media (max-width: 1180px) {
  .gz-sup-chat-shell {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .gz-sup-chat-context {
    display: none;
  }
}

@media (max-width: 900px) {
  .gz-sup-chat-shell {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }
}

/* Grouped Bar Chart & Area Breakdown */
.gz-sup-bar-legend {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  color: #475569;
}

.gz-sup-bar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gz-sup-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.gz-sup-bars-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  height: 162px;
  padding-top: 12px;
}

.gz-sup-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.gz-sup-bar-pair {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 126px;
  width: 100%;
  justify-content: center;
}

.gz-sup-bar {
  width: 12px;
  border-radius: 3px 3px 0 0;
  transition: height 220ms var(--gz-ease-apple, cubic-bezier(0.22, 1, 0.36, 1));
}

.gz-sup-bar.is-lime {
  background: #15803d;
}

.gz-sup-bar.is-dark {
  background: #133628;
}

.gz-sup-bar-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.gz-sup-meter-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gz-sup-meter-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gz-sup-meter-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.gz-sup-meter-track {
  height: 7px;
  border-radius: 3px;
  background: #e8ecea;
  overflow: hidden;
}

.gz-sup-meter-fill {
  height: 100%;
  border-radius: 3px;
  background: #15803d;
}

/* Global Context Filter & Quick Action Strip */
.gz-sup-select-pill {
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  min-height: 38px;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
}

.gz-sup-select-pill:focus {
  border-color: #15803d;
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.14);
}

.gz-sup-quick-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gz-sup-quick-action {
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 14px;
  min-height: 38px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.gz-sup-quick-action:hover {
  border-color: #0b0f0d;
  background: #0b0f0d;
  color: #ffffff;
}

.gz-sup-quick-action svg {
  color: #15803d;
  flex-shrink: 0;
}

.gz-sup-quick-action:hover svg {
  color: #facc15;
}

/* 3PL Vendor Sheet, Date Slots & Matching Loader */
.gz-sup-3pl-sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 230px;
  overflow-y: auto;
  padding: 4px 2px;
}

.gz-sup-3pl-item {
  border: 1px solid #e8ecea;
  background: #ffffff;
  border-radius: 6px;
  padding: 10px 12px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gz-sup-3pl-item:hover {
  border-color: #133628;
}

.gz-sup-3pl-item.is-selected {
  background: #133628;
  border-color: #133628;
  color: #ffffff;
}

.gz-sup-3pl-item-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}

.gz-sup-3pl-item-top strong {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gz-sup-3pl-num {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: #0b0f0d;
  color: #ffffff;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.gz-sup-3pl-item.is-selected .gz-sup-3pl-num {
  background: #facc15;
  color: #0b0f0d;
}

.gz-sup-3pl-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.gz-sup-3pl-item.is-selected .gz-sup-3pl-meta {
  color: rgba(255, 255, 255, 0.78);
}

.gz-sup-date-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gz-sup-date-slot {
  border: 1px solid #e8ecea;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.gz-sup-date-slot:hover {
  border-color: #133628;
}

.gz-sup-date-slot.is-selected {
  background: #0b0f0d;
  border-color: #0b0f0d;
  color: #ffffff;
}

.gz-sup-matching-box {
  min-height: 40px;
  border: 1px dashed #133628;
  background: #ffffff;
  border-radius: 6px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #133628;
}

.gz-sup-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #e8ecea;
  border-top-color: #15803d;
  animation: gzSupSpin 0.75s linear infinite;
  flex-shrink: 0;
}

@keyframes gzSupSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1120px) {
  .gz-sup-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gz-sup-bento-main,
  .gz-sup-bento-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .gz-sup-shell {
    height: auto;
    overflow: visible;
    grid-template-columns: 1fr;
  }
  .gz-sup-sidebar {
    height: auto;
    padding-bottom: 12px;
  }
  .gz-sup-canvas {
    height: auto;
    overflow: visible;
    padding: 0 18px 36px;
  }
  .gz-sup-topbar {
    margin: 0 -18px;
    padding: 12px 18px;
  }
  .gz-sup-form-grid {
    grid-template-columns: 1fr;
  }
}


/* SAP Fiori Supplier OVP — Buyer Supply Chain Horizontal Bars */
.gz-sup-ovp-bars {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-right: 2px;
}

.gz-sup-bar-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gz-sup-bar-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.77rem;
}

.gz-sup-bar-top strong {
  color: var(--erp-primary, #133628);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gz-sup-bar-top span {
  color: #475569;
  font-size: 0.73rem;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ============================================================================
   SAP Fiori Object Page — Area, Alat & Mother Station (.gz-op-*)
   Palet 6-Token ERP: #F4F7F5, #FFFFFF, #DCE3DF, #133628, #FD850B, #19561F
   ============================================================================ */

.gz-op-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 64px;
}

.gz-op-header {
  background: var(--erp-surface, #ffffff);
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 8px;
  overflow: hidden;
}

.gz-op-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--erp-border, #dce3df);
}

.gz-op-head-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gz-op-head-title h2 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--erp-primary, #133628);
  letter-spacing: -0.01em;
}

.gz-op-head-meta {
  font-size: 0.78rem;
  color: #64748b;
}

.gz-op-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid var(--erp-border, #dce3df);
  background: var(--erp-canvas, #f4f7f5);
  color: var(--erp-primary, #133628);
}

.gz-op-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--erp-success, #19561f);
}

.gz-op-status.is-ready {
  color: var(--erp-success, #19561f);
  border-color: rgba(25, 86, 31, 0.28);
  background: rgba(25, 86, 31, 0.06);
}

.gz-op-status.is-queue {
  color: #b45309;
  border-color: rgba(253, 133, 11, 0.38);
  background: rgba(253, 133, 11, 0.08);
}

.gz-op-status.is-queue .gz-op-status-dot {
  background: var(--erp-accent, #fd850b);
}

/* 4-Facet Flat Summary Strip (No Nested Micro-Cards) */
.gz-op-facets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--erp-border, #dce3df);
}

.gz-op-facet {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--erp-border, #dce3df);
  min-width: 0;
}

.gz-op-facet:last-child {
  border-right: none;
}

.gz-op-facet-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gz-op-facet-label svg {
  color: var(--erp-primary, #133628);
  opacity: 0.72;
  flex-shrink: 0;
}

.gz-op-facet strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--erp-primary, #133628);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gz-op-facet strong.is-tone-ok {
  color: var(--erp-success, #19561f);
}

.gz-op-facet strong.is-tone-warn {
  color: #b45309;
}

.gz-op-facet strong.is-tone-empty {
  color: #64748b;
}

.gz-op-facet small {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Horizontal SAP Anchor Tabs */
.gz-op-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  background: var(--erp-surface, #ffffff);
  overflow-x: auto;
}

.gz-op-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border: none;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 140ms ease;
}

.gz-op-tab:hover {
  color: var(--erp-primary, #133628);
}

.gz-op-tab.is-active {
  color: var(--erp-primary, #133628);
}

.gz-op-tab.is-active::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2.5px;
  background: var(--erp-accent, #fd850b);
  border-radius: 2px 2px 0 0;
}

.gz-op-tab em {
  font-style: normal;
  font-size: 0.71rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--erp-canvas, #f4f7f5);
  border: 1px solid var(--erp-border, #dce3df);
  color: var(--erp-primary, #133628);
}

/* Main Flat Content Surface */
.gz-op-panel {
  background: var(--erp-surface, #ffffff);
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 8px;
}

.gz-op-section {
  padding: 18px 20px;
}

.gz-op-divider {
  height: 1px;
  background: var(--erp-border, #dce3df);
}

.gz-op-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.gz-op-section-head h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--erp-primary, #133628);
}

.gz-op-inline-stat {
  font-size: 0.76rem;
  color: #64748b;
}

/* Form Controls */
.gz-op-row-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gz-op-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gz-op-field label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--erp-primary, #133628);
  letter-spacing: 0.01em;
}

.gz-op-field input[type='text'],
.gz-op-field input[type='email'],
.gz-op-field input[type='tel'],
.gz-op-field input[type='number'],
.gz-op-field input[type='date'],
.gz-op-field select,
.gz-op-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 6px;
  background: var(--erp-surface, #ffffff);
  color: var(--erp-primary, #133628);
  font-family: inherit;
  font-size: 0.84rem;
  padding: 8px 11px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.gz-op-field input:focus,
.gz-op-field select:focus,
.gz-op-field textarea:focus {
  outline: none;
  border-color: var(--erp-primary, #133628);
  box-shadow: 0 0 0 2px rgba(19, 54, 40, 0.1);
}

/* Radius Presets + Inline Number Input */
.gz-op-radius-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gz-op-preset-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.gz-op-chip {
  border: 1px solid var(--erp-border, #dce3df);
  background: var(--erp-canvas, #f4f7f5);
  color: var(--erp-primary, #133628);
  border-radius: 6px;
  padding: 7px 10px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 140ms ease;
}

.gz-op-chip:hover {
  border-color: var(--erp-primary, #133628);
}

.gz-op-chip.is-active {
  background: var(--erp-primary, #133628);
  border-color: var(--erp-primary, #133628);
  color: #ffffff;
}

.gz-op-km-input {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 6px;
  padding: 0 10px;
  background: var(--erp-surface, #ffffff);
  height: 36px;
  width: 96px;
}

.gz-op-km-input input {
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-variant-numeric: tabular-nums;
  width: 100%;
}

.gz-op-km-input span {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

/* Segmented Status Control */
.gz-op-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.gz-op-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--erp-border, #dce3df);
  background: var(--erp-canvas, #f4f7f5);
  color: #475569;
  font-family: inherit;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 140ms ease;
}

.gz-op-seg-btn:hover {
  border-color: var(--erp-primary, #133628);
  color: var(--erp-primary, #133628);
}

.gz-op-seg-btn.is-active-ok {
  background: rgba(25, 86, 31, 0.08);
  border-color: var(--erp-success, #19561f);
  color: var(--erp-success, #19561f);
}

.gz-op-seg-btn.is-active-warn {
  background: rgba(253, 133, 11, 0.1);
  border-color: var(--erp-accent, #fd850b);
  color: #b45309;
}

/* Capacity Range Side-by-Side */
.gz-op-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gz-op-unit-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 6px;
  padding: 0 10px;
  height: 38px;
  background: var(--erp-surface, #ffffff);
}

.gz-op-unit-field span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.gz-op-unit-field input {
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.gz-op-range-sep {
  color: #94a3b8;
  font-weight: 600;
}

/* Toggle Pills (Replaces Oversized Blue Native Checkboxes) */
.gz-op-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gz-op-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 6px;
  border: 1px solid var(--erp-border, #dce3df);
  background: var(--erp-surface, #ffffff);
  color: #475569;
  font-family: inherit;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 140ms ease;
}

.gz-op-toggle-pill:hover {
  border-color: var(--erp-primary, #133628);
  color: var(--erp-primary, #133628);
}

.gz-op-toggle-pill.is-active {
  background: rgba(25, 86, 31, 0.08);
  border-color: var(--erp-success, #19561f);
  color: var(--erp-primary, #133628);
}

.gz-op-toggle-pill.is-active svg {
  color: var(--erp-success, #19561f);
}

/* Progressive Disclosure Row */
.gz-op-disclosure {
  margin-top: 14px;
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 6px;
  background: var(--erp-canvas, #f4f7f5);
  overflow: hidden;
}

.gz-op-disclosure-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--erp-primary, #133628);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
}

.gz-op-disclosure-left,
.gz-op-disclosure-right {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.gz-op-disclosure-right {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.gz-op-disclosure-body {
  padding: 14px;
  background: var(--erp-surface, #ffffff);
  border-top: 1px solid var(--erp-border, #dce3df);
}

.gz-op-city-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.gz-op-city-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 220px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 6px;
  background: var(--erp-canvas, #f4f7f5);
  color: #64748b;
}

.gz-op-city-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 0.81rem;
  color: var(--erp-primary, #133628);
}

.gz-op-city-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--erp-border, #dce3df);
}

.gz-op-suggest-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px dashed var(--erp-border, #dce3df);
  background: var(--erp-surface, #ffffff);
  color: var(--erp-primary, #133628);
  font-family: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.gz-op-suggest-pill:hover {
  border-style: solid;
  border-color: var(--erp-primary, #133628);
}

.gz-op-suggest-pill em {
  font-style: normal;
  color: #64748b;
  font-size: 0.7rem;
}

.gz-op-city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gz-op-city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--erp-border, #dce3df);
  background: var(--erp-canvas, #f4f7f5);
  color: var(--erp-primary, #133628);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}

.gz-op-city-tag:hover {
  border-color: #b91c1c;
  color: #b91c1c;
}

.gz-op-city-tag svg {
  width: 12px;
  height: 12px;
  opacity: 0.65;
}

/* Flat Enterprise Tables (MS & Certificates) */
.gz-op-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 6px;
}

.gz-op-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.gz-op-table thead th {
  background: var(--erp-canvas, #f4f7f5);
  color: #475569;
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--erp-border, #dce3df);
  white-space: nowrap;
}

.gz-op-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--erp-border, #dce3df);
  color: var(--erp-primary, #133628);
  vertical-align: middle;
}

.gz-op-table tbody tr:last-child td {
  border-bottom: none;
}

.gz-op-table th.is-right,
.gz-op-table td.is-right {
  text-align: right;
}

.gz-op-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gz-op-cell-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gz-op-cell-main small {
  font-size: 0.73rem;
  color: #64748b;
}

.gz-op-badge-primary {
  display: inline-block;
  width: fit-content;
  margin-top: 2px;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(19, 54, 40, 0.08);
  color: var(--erp-primary, #133628);
}

.gz-op-doc-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--erp-primary, #133628);
}

.gz-op-doc-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.gz-op-doc-badge.is-ok {
  background: rgba(25, 86, 31, 0.08);
  color: var(--erp-success, #19561f);
  border: 1px solid rgba(25, 86, 31, 0.25);
}

.gz-op-doc-badge.is-warn {
  background: rgba(253, 133, 11, 0.1);
  color: #b45309;
  border: 1px solid rgba(253, 133, 11, 0.35);
}

.gz-op-doc-badge.is-empty {
  background: var(--erp-canvas, #f4f7f5);
  color: #64748b;
  border: 1px solid var(--erp-border, #dce3df);
}

.gz-op-muted-inline {
  font-size: 0.75rem;
  color: #64748b;
}

/* Row Actions & Buttons */
.gz-op-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.gz-op-icon-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 5px;
  border: 1px solid var(--erp-border, #dce3df);
  background: var(--erp-surface, #ffffff);
  color: var(--erp-primary, #133628);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 140ms ease;
}

.gz-op-icon-action:hover {
  background: var(--erp-canvas, #f4f7f5);
  border-color: var(--erp-primary, #133628);
}

.gz-op-icon-action.is-accent {
  border-color: rgba(19, 54, 40, 0.35);
  background: rgba(19, 54, 40, 0.05);
}

.gz-op-icon-action.is-danger {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.25);
}

.gz-op-icon-action.is-danger:hover {
  background: #fef2f2;
  border-color: #b91c1c;
}

.gz-op-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--erp-primary, #133628);
  background: var(--erp-primary, #133628);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.gz-op-btn-primary:hover:not(:disabled) {
  opacity: 0.92;
}

.gz-op-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.gz-op-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--erp-border, #dce3df);
  background: var(--erp-surface, #ffffff);
  color: var(--erp-primary, #133628);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.gz-op-btn-ghost:hover:not(:disabled) {
  background: var(--erp-canvas, #f4f7f5);
}

.gz-op-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #b91c1c;
  background: #b91c1c;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.gz-op-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid rgba(253, 133, 11, 0.45);
  background: rgba(253, 133, 11, 0.08);
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Sticky Dirty-State Save Bar */
.gz-op-sticky-bar {
  position: sticky;
  bottom: 12px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--erp-primary, #133628);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(19, 54, 40, 0.22);
}

.gz-op-sticky-msg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 500;
}

.gz-op-sticky-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--erp-accent, #fd850b);
}

.gz-op-sticky-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gz-op-btn-cancel {
  padding: 7px 13px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
}

.gz-op-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  border: none;
  background: var(--erp-accent, #fd850b);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.gz-op-btn-save:disabled,
.gz-op-btn-cancel:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Modals & Enterprise Dropzone */
.gz-op-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.gz-op-modal {
  width: min(540px, 100%);
  background: var(--erp-surface, #ffffff);
  border: 1px solid var(--erp-border, #dce3df);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.gz-op-modal.is-compact {
  width: min(420px, 100%);
}

.gz-op-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--erp-border, #dce3df);
}

.gz-op-modal-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--erp-primary, #133628);
}

.gz-op-modal-title h3 {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
}

.gz-op-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--erp-border, #dce3df);
  background: var(--erp-surface, #ffffff);
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gz-op-modal-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gz-op-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  background: var(--erp-canvas, #f4f7f5);
  border-top: 1px solid var(--erp-border, #dce3df);
}

.gz-op-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 16px;
  border: 1.5px dashed var(--erp-border, #dce3df);
  border-radius: 6px;
  background: var(--erp-canvas, #f4f7f5);
  color: var(--erp-primary, #133628);
  text-align: center;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.gz-op-dropzone:hover,
.gz-op-dropzone.is-drag {
  border-color: var(--erp-primary, #133628);
  background: rgba(19, 54, 40, 0.04);
}

.gz-op-dropzone strong {
  font-size: 0.83rem;
  font-weight: 600;
}

.gz-op-dropzone span {
  font-size: 0.74rem;
  color: #64748b;
}

.gz-op-file-chip,
.gz-op-file-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--erp-border, #dce3df);
  background: var(--erp-canvas, #f4f7f5);
  font-size: 0.78rem;
  color: var(--erp-primary, #133628);
}

.gz-op-file-chip span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gz-op-file-chip button {
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  padding: 2px;
}

.gz-op-file-current svg {
  color: var(--erp-success, #19561f);
  flex-shrink: 0;
}

.gz-op-confirm-text {
  margin: 0;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .gz-op-facets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gz-op-facet:nth-child(2) {
    border-right: none;
  }
  .gz-op-facet:nth-child(1),
  .gz-op-facet:nth-child(2) {
    border-bottom: 1px solid var(--erp-border, #dce3df);
  }
  .gz-op-row-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .gz-op-facets {
    grid-template-columns: 1fr;
  }
  .gz-op-facet {
    border-right: none;
    border-bottom: 1px solid var(--erp-border, #dce3df);
  }
  .gz-op-facet:last-child {
    border-bottom: none;
  }
}


/* ============================================================================
   APPLE HIG MOBILE RESPONSIVE LAYER — SUPPLIER PORTAL
   Zero desktop (>960px) visual changes; compact size-class adaptation (<=960px)
   ============================================================================ */

.gz-sup-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.gz-sup-top-actions-slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .gz-sup-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    overflow-x: clip;
  }

  .gz-sup-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(296px, 84vw);
    height: 100dvh;
    z-index: 90;
    transform: translateX(-105%);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 12px 0 36px rgba(13, 38, 28, 0.28);
    padding: calc(16px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom));
  }

  .gz-sup-sidebar.is-mobile-open {
    transform: translateX(0);
  }

  .gz-mobile-brand-bar.is-sup {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }

  .gz-mobile-brand-bar.is-sup .gz-sup-brand-row {
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
  }

  .gz-sup-nav-item {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .gz-sup-canvas,
  .gz-sup-canvas.is-overview-fit {
    height: auto;
    overflow: visible;
    padding: 0 14px calc(28px + env(safe-area-inset-bottom));
    gap: 14px;
  }

  .gz-sup-topbar,
  .gz-sup-canvas.is-overview-fit .gz-sup-topbar {
    margin: 0 -14px;
    padding: calc(8px + env(safe-area-inset-top)) 14px 8px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .gz-sup-search {
    width: 100%;
    flex: 1;
    min-width: 0;
    height: 44px;
    min-height: 44px;
  }

  .gz-sup-search kbd {
    display: none;
  }

  .gz-sup-icon-btn {
    width: 44px;
    height: 44px;
  }

  /* Supplier OVP Dashboard */
  .gz-sup-ovp {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
    gap: 12px;
  }

  .gz-sup-ovp-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .gz-sup-ovp-grid {
    grid-template-columns: 1fr !important;
  }

  .gz-sup-table-wrap,
  .gz-op-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  .gz-sup-top-actions-slot {
    display: none;
  }

  /* Prevent iOS Safari input auto-zoom */
  .gz-sup-shell input,
  .gz-sup-shell select,
  .gz-sup-shell textarea {
    font-size: 16px;
  }

  .gz-op-head-top,
  .gz-op-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .gz-op-segment {
    grid-template-columns: 1fr;
  }

  .gz-op-sticky-bar {
    flex-direction: column;
    align-items: stretch;
    bottom: calc(8px + env(safe-area-inset-bottom));
    padding: 12px 14px;
  }

  .gz-op-sticky-actions {
    width: 100%;
  }

  .gz-op-btn-cancel,
  .gz-op-btn-save {
    flex: 1;
    min-height: 44px;
    justify-content: center;
  }

  .gz-sup-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .gz-sup-modal {
    width: calc(100vw - 24px);
    max-height: 90dvh;
    overflow-y: auto;
  }

  .gz-op-actions {
    justify-content: flex-start;
  }

  .gz-op-icon-action {
    min-height: 36px;
    padding: 6px 10px;
  }
}

@media (max-width: 420px) {
  .gz-sup-ovp-kpis {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gz-sup-sidebar {
    transition: none;
  }
}
