:root{
  color-scheme:dark;
  font-family:Arial,Helvetica,sans-serif;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  min-height:100vh;
  background:#05080d;
  color:#fff;
}

#aiosCommandCenter{
  min-height:100vh;
}

.command-header{
  min-height:92px;
  padding:20px 28px;
  border-bottom:1px solid #243041;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:#09111d;
}

.eyebrow{
  color:#d4af37;
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
}

h1{
  margin:4px 0 0;
  font-size:30px;
}

.profile{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}

.profile img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #d4af37;
}

#commandProfileEmail{
  margin-top:4px;
  color:#9eabba;
  font-size:13px;
}

.workspace{
  min-height:calc(100vh - 92px);
}

.gate{
  margin:40px auto;
  width:min(680px,calc(100% - 40px));
  padding:24px;
  border:1px solid #563232;
  border-radius:14px;
  background:#160c0c;
}


/* AIOS_COMMAND_CENTER_PROFILE_AUTH_CONTROLS_V1 */
.profile-auth-controls {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .45rem;
}

.profile-auth-controls a,
.profile-auth-controls button {
  appearance: none;
  border: 1px solid currentColor;
  border-radius: .5rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .82rem;
  line-height: 1;
  padding: .5rem .7rem;
  text-decoration: none;
  cursor: pointer;
}

.profile-auth-controls button:disabled {
  opacity: .55;
  cursor: wait;
}


/* AIOS_COMMAND_CENTER_SHARED_WORKSPACE_CONTROLLER_V1 */
.command-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px 0;
}

.command-control,
.command-workspace-close {
  appearance: none;
  border: 1px solid #34465d;
  border-radius: 10px;
  background: #0d1826;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
}

.command-control:hover,
.command-workspace-close:hover {
  border-color: #d4af37;
}

.workspace:empty {
  display: none;
}

.command-workspace-shell {
  margin: 18px 28px 28px;
  border: 1px solid #243041;
  border-radius: 16px;
  background: #09111d;
  overflow: hidden;
}

.command-workspace-toolbar {
  min-height: 54px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #243041;
}

.command-workspace-title {
  margin: 0;
  font-size: 18px;
}

.command-workspace-content {
  padding: 20px;
}


/* AIOS_COMMAND_CENTER_ECOSYSTEM_CARDS_RUNTIME_V1 */
.command-ecosystem-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit,minmax(240px,1fr));
  gap: 16px;
}

.command-ecosystem-card {
  appearance: none;
  width: 100%;
  min-height: 150px;
  border: 1px solid #243041;
  border-radius: 14px;
  background: #0d1826;
  color: #fff;
  padding: 18px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.command-ecosystem-card:hover {
  border-color: #d4af37;
}

.command-ecosystem-card strong,
.command-ecosystem-card span {
  display: block;
}

.command-ecosystem-card strong {
  font-size: 17px;
  margin-bottom: 9px;
}

.command-ecosystem-card > span {
  color: #b8c3cf;
  line-height: 1.45;
}

.command-ecosystem-enter {
  margin-top: 14px;
  color: #d4af37 !important;
  font-weight: 700;
}

.command-workspace-frame {
  display: block;
  width: 100%;
  height: 76vh;
  border: 0;
  background: #fff;
}
