/* ============ 马克 · 双品牌切换栏 ============ */

[hidden] {
  display: none !important;
}

.shell-bar {
  position: relative;
  z-index: 40;
  background: linear-gradient(120deg, #081e46 0%, #0b3f8f 45%, #1466d8 100%);
  color: #fff;
}

.shell-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 120px at 92% -30%, rgba(120, 190, 255, 0.55), transparent 70%),
    radial-gradient(400px 100px at 6% 130%, rgba(0, 220, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.shell-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(10px + var(--safe-top)) 14px 10px;
}

.shell-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 0 0 auto;
}

.shell-brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
  color: #0b4dba;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.shell-brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.shell-brand-name i {
  font-style: normal;
  opacity: 0.6;
  font-weight: 500;
  font-size: 12px;
  margin-left: 2px;
}

.shell-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}

.shell-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.shell-tab svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.shell-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.shell-tab[aria-selected="true"],
.shell-tab.is-active {
  background: #fff;
  color: #0b4dba;
  box-shadow: 0 6px 18px rgba(2, 16, 44, 0.28);
}

.shell-tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.shell-hint {
  margin-left: auto;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.66);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-view {
  min-height: 60vh;
}

/* 标书视图自带浅色底，不跟随交易页深色主题 */
#viewBid {
  background: #f1f5fa;
}

@media (max-width: 760px) {
  .shell-inner {
    gap: 10px;
    padding: calc(8px + var(--safe-top)) 10px 8px;
  }

  .shell-brand-name,
  .shell-hint {
    display: none;
  }

  .shell-tabs {
    flex: 1 1 auto;
    gap: 4px;
  }

  .shell-tab {
    flex: 1 1 0;
    min-height: 40px;
    font-size: 14.5px;
    padding: 0 8px;
  }
}
