.iv-owner-appbar {
  position: sticky;
  top: 0;
  z-index: 9000;
  color: #eef6ff;
  background: rgba(6, 13, 22, .97);
  border-bottom: 1px solid rgba(70, 231, 196, .25);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.iv-owner-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 11px 20px 12px;
  box-sizing: border-box;
}

.iv-owner-topline {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}

.iv-owner-back,
.iv-owner-brand,
.iv-owner-navlink {
  text-decoration: none !important;
}

.iv-owner-back {
  justify-self: start;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #dbe7f5 !important;
  background: rgba(15, 27, 42, .94);
  border: 1px solid rgba(148, 163, 184, .31);
  border-radius: 11px;
  font: 800 12px/1.15 Inter, "Segoe UI", system-ui, sans-serif;
}

.iv-owner-back:hover,
.iv-owner-back:focus-visible {
  color: #fff !important;
  border-color: rgba(70, 231, 196, .78);
  outline: none;
}

.iv-owner-back-arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #05211b;
  background: #61e1c5;
  border-radius: 8px;
  font-size: 16px;
}

.iv-owner-brand {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff !important;
  white-space: nowrap;
}

.iv-owner-wordmark {
  font: 900 20px/1 Inter, "Segoe UI", system-ui, sans-serif;
  letter-spacing: -.035em;
}

.iv-owner-wordmark strong { color: #61e1c5; }

.iv-owner-product {
  padding: 5px 8px;
  color: #8af4dd;
  background: rgba(70, 231, 196, .09);
  border: 1px solid rgba(70, 231, 196, .35);
  border-radius: 999px;
  font: 800 9px/1 Inter, "Segoe UI", system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.iv-owner-context {
  justify-self: end;
  min-width: 0;
}

.iv-owner-context .badge-status {
  display: block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 10px;
  color: #8af4dd;
  background: rgba(70, 231, 196, .1);
  border: 1px solid rgba(70, 231, 196, .34);
  border-radius: 999px;
  font: 800 10px/1 Inter, "Segoe UI", system-ui, sans-serif;
}

.iv-owner-nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
  background: rgba(10, 20, 33, .88);
  border: 1px solid rgba(70, 231, 196, .16);
  border-radius: 14px;
}

.iv-owner-navlink {
  min-width: 0;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  color: #c4d2e4 !important;
  background: linear-gradient(180deg, rgba(25, 40, 57, .96), rgba(14, 26, 40, .96));
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 9px;
  font: 800 11px/1.15 Inter, "Segoe UI", system-ui, sans-serif;
  text-align: center;
}

.iv-owner-navlink:hover,
.iv-owner-navlink:focus-visible {
  color: #fff !important;
  border-color: rgba(70, 231, 196, .7);
  outline: none;
}

.iv-owner-navlink[aria-current="page"] {
  color: #041712 !important;
  border-color: #70ecd2;
  background: linear-gradient(135deg, #70ecd2, #42d5bb);
  box-shadow: 0 7px 21px rgba(70, 231, 196, .18);
}

.iv-owner-stepnav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.iv-owner-stepnav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: #b9c8db;
  background: rgba(15, 27, 42, .9);
  border: 1px solid rgba(70, 231, 196, .22);
  border-radius: 11px;
  font: 750 11px/1.2 Inter, "Segoe UI", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}

.iv-owner-stepnav a:hover,
.iv-owner-stepnav a:focus-visible {
  color: #fff;
  border-color: #61e1c5;
  outline: none;
}

.setup-card[id] { scroll-margin-top: 150px; }
.setup-section-head { gap: 12px; }
.setup-launch-bar { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
.setup-launch-bar > p { grid-column: 1 / -1; }
.setup-migration-banner { gap: 14px; }

@media (max-width: 1080px) {
  .iv-owner-topline { grid-template-columns: 1fr auto; }
  .iv-owner-brand { justify-self: start; grid-column: 1; grid-row: 1; }
  .iv-owner-back { justify-self: end; grid-column: 2; grid-row: 1; }
  .iv-owner-context { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .iv-owner-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .iv-owner-appbar { position: relative; }
  .iv-owner-shell { padding: 10px; }
  .iv-owner-topline { gap: 8px; margin-bottom: 8px; }
  .iv-owner-wordmark { font-size: 17px; }
  .iv-owner-product { display: none; }
  .iv-owner-back { min-height: 37px; padding: 6px 9px; font-size: 10.5px; }
  .iv-owner-context { width: 100%; }
  .iv-owner-context .badge-status { max-width: 100%; }
  .iv-owner-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 5px; }
  .iv-owner-navlink { min-height: 43px; padding: 7px 4px; font-size: 10.5px; }
  .iv-owner-stepnav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .iv-owner-stepnav a { min-height: 48px; padding: 7px; font-size: 10px; }
  .setup-card[id] { scroll-margin-top: 12px; }
  .setup-section-head { align-items: flex-start !important; flex-wrap: wrap; }
  .setup-migration-banner { align-items: flex-start !important; flex-direction: column; }
  .setup-migration-banner > a { width: 100%; box-sizing: border-box; text-align: center; }
  .setup-launch-bar { grid-template-columns: 1fr; }
  .setup-launch-bar > button { width: 100%; margin-left: 0 !important; box-sizing: border-box; }
  .setup-launch-bar > p { grid-column: 1; }
  .ind-pill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ind-pill { width: 100%; min-width: 0; font-family: inherit; }
}
