* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: #020817;
  color: #e5edff;
  font-family: Arial, Helvetica, sans-serif;
}

.app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 32%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.16), transparent 28%),
    #020817;
}

.app-topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  background: rgba(2, 8, 23, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  position: sticky;
  top: 0;
  z-index: 10;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  min-width: 0;
}

.app-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 15px;
}

.brand-text span {
  font-size: 11px;
  color: #93c5fd;
}

.app-title {
  text-align: center;
  min-width: 0;
}

.app-title strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-title span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #94a3b8;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-link {
  color: #e0f2fe;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.35);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.app-frame-wrap {
  height: calc(100vh - 66px);
  min-height: 560px;
  background: #ffffff;
}

iframe.app-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #ffffff;
}

.coming-soon {
  min-height: calc(100vh - 66px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.coming-card {
  width: min(760px, 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.26);
}

.coming-card .icon {
  font-size: 42px;
  margin-bottom: 14px;
}

.coming-card h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1;
}

.coming-card p {
  color: #cbd5e1;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.primary-button {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  border: 1px solid rgba(255,255,255,0.16);
  text-decoration: none;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 999px;
}

@media (max-width: 700px) {
  .app-topbar {
    height: auto;
    min-height: 66px;
    padding: 10px 12px;
  }

  .brand-text span,
  .app-title span {
    display: none;
  }

  .app-title strong {
    max-width: 145px;
  }

  .top-link {
    padding: 9px 10px;
    font-size: 12px;
  }

  .app-frame-wrap {
    height: calc(100vh - 66px);
    min-height: 620px;
  }
}
