/* Chrome analog zur App-Vorschau. Simulator-Styles liegen in station.css. */
html, body {
  margin: 0;
  height: 100%;
}
body {
  font-family: "Segoe UI", Roboto, system-ui, sans-serif;
  background: radial-gradient(1200px 700px at 50% -10%, #1c3944 0%, #07090b 48%, #050505 100%);
  color: #e8eef0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cst-preview-bar {
  flex: 0 0 auto;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 8px 16px 0;
}
.cst-preview-bar a {
  display: inline-flex;
  align-items: center;
  color: #e8eef0;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  background: #1a1a1a;
  border: 1px solid #ffffff22;
  border-radius: 12px;
  padding: 8px 12px;
}
.cst-preview-bar a:hover { outline: 2px solid #2b6cff; }
.page {
  flex: 1;
  min-height: 0;
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 8px 16px 12px;
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) minmax(280px, 400px);
  gap: 16px 20px;
  align-items: stretch;
  overflow: hidden;
}
.col {
  overflow: auto;
  min-height: 0;
  max-height: 100%;
  padding-right: 4px;
}
.col h1 { font-size: 22px; margin: 0 0 4px; letter-spacing: -0.4px; }
.col .brand { color: #2B6CFF; font-weight: 700; margin-bottom: 10px; }
.col p { color: #c5d2d7; line-height: 1.45; margin: 0 0 10px; font-size: 14px; }
.badge {
  display: inline-block;
  background: #c9a22722;
  color: #e8c86a;
  border: 1px solid #c9a22766;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.hint {
  background: #141414;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 0 0 12px;
}
.hint h3 { margin: 0 0 6px; font-size: 14px; }
.hint p, .hint li { color: #9AADB4; font-size: 13px; line-height: 1.45; }
.hint ul { margin: 0; padding-left: 18px; }
.muted { color: #9AADB4; }

.station-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.station-wrap .preview-stage {
  width: 100%;
  flex: 1;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.station-wrap .station-frame {
  height: min(100%, calc(100vh - 120px));
}
.fast-actions.is-side {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}
.fast-actions.is-side button { width: 100%; }
.col .control-panel {
  border-left: 0;
  max-height: none;
  height: 100%;
  background: rgba(18, 26, 39, 0.72);
  border: 1px solid #ffffff14;
  border-radius: 16px;
}
.col .panel-head { padding: 16px 16px 0; }
.col .panel-body { padding: 16px 16px 24px; }
.bar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

@media (max-width: 1080px) {
  html, body { height: auto; min-height: 100%; overflow: auto; }
  body { display: block; }
  .page {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    height: auto;
  }
  .station-wrap { order: -1; width: 100%; height: auto; min-height: 560px; }
  .station-wrap .preview-stage { height: 620px; max-height: 70vh; }
  .col { width: min(480px, 100%); max-height: none; overflow: visible; }
  .col .control-panel { height: auto; max-height: none; }
}
