/* 平台外壳样式 + 全局变量（各应用样式表复用这些变量）。 */
:root {
  --total: #e23b35;
  --severo: #f0851f;
  --parcial: #f0b429;
  --bg: #faf9f5;
  --ink: #1a1620;
  --muted: #6b6b73;
  --line: #e7e4dd;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

#platform { display: flex; flex-direction: column; height: 100%; }

#topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 16px;
  background: #1a1620;
  color: #fff;
  flex-wrap: wrap;
}
.platform-brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
}
.platform-brand .logo {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, #5b9dff, #f858bc);
  display: grid; place-items: center; color: #fff; font-size: 15px;
}
#app-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.app-tab {
  border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #cfcdd6;
  border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer;
}
.app-tab:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.app-tab.active { background: #5b9dff; border-color: #5b9dff; color: #08122a; font-weight: 600; }

#app-root { flex: 1; min-height: 0; position: relative; }
