/* Shared tab surface rules. Keep tab headers aligned across iframe tabs. */
.shell,
.profile-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 16px;
}

@media (max-width: 640px) {
  .shell,
  .profile-shell {
    padding: 12px;
  }
}

.page-tab-header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.tab-icon,
.person-outline-icon {
  width: 18px;
  height: 18px;
  color: var(--c-muted);
  flex: 0 0 auto;
  display: block;
  margin-top: 0;
}

.tab-copy,
.tab-header-copy {
  flex: 1;
  min-width: 0;
}

.tab-copy h1,
.tab-header-copy h1 {
  margin: 0;
  color: var(--c-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-copy p,
.tab-header-copy p {
  margin: 4px 0 0;
  color: var(--c-muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
}

/* Shared logged-out auth banner. Home/Profile must use the same surface. */
.login-banner,
.logged-out-auth-banner {
  width: 100%;
  margin: 12px 0 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 193, 7, 0.70);
  background: rgba(255, 193, 7, 0.12);
  color: var(--c-text);
}

.login-banner h2,
.logged-out-auth-banner h2 {
  margin: 0;
  color: var(--c-text);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 600;
}

.login-banner p,
.logged-out-auth-banner p {
  margin: 4px 0 0;
  color: var(--c-text);
  font-size: 11.2px;
  line-height: 1.3;
  font-weight: 500;
}

.oauth-learn-more {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-blue);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: underline;
}

.oauth-learn-more svg {
  width: 14px;
  height: 14px;
  color: var(--c-muted);
  flex: 0 0 auto;
}
