﻿* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  color: var(--text);
  background: var(--surface-1);
  font-family: var(--font-body);
  overflow: hidden;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.codicon {
  font-size: 16px;
  line-height: 1;
}

.material-icon {
  direction: ltr;
  display: inline-block;
  font-family: "Material Symbols Rounded";
  font-feature-settings: "liga";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.editor-meta .codicon {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 16px !important;
}

/* â”€â”€ base.css                                 Reset + base elements (body, buttons, inputs) â”€â”€ */

.server-offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  color: #b3261e;
  background: #fce8e6;
  border-bottom: 1px solid #fad2cf;
  box-shadow: 0 2px 8px rgba(179, 38, 30, 0.08);
}

.server-offline-banner .codicon {
  flex-shrink: 0;
  font-size: 18px !important;
}

.offline-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
  font-size: 12px;

/* â”€â”€ icons.css                                Codicon + Material Symbols icons â”€â”€ */
  line-height: 1.35;
}

.offline-banner-copy strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.offline-banner-copy span {

/* â”€â”€ offline.css                              Server offline banner â”€â”€ */
  color: #5f6368;
}

.offline-retry-btn {
  flex-shrink: 0;
  height: 30px;
  padding: 0 12px;
  color: #b3261e;
  background: #fff;
  border: 1px solid #fad2cf;
  border-radius: 999px;
  font: 600 11px/1 var(--font-display);
  cursor: pointer;
}

.offline-retry-btn:hover {
  background: #fff5f4;
}

body.has-offline-banner .shell {
  margin-top: 44px;
  height: calc(100vh - 44px);
}

.shell {
  display: grid;
  grid-template-rows: 64px 1fr;
  height: 100vh;
  min-width: 0;
  overflow: hidden;
}

.top-app-bar {
  position: relative;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: var(--top-bar-bg);
  border-bottom: 1px solid var(--outline);
  box-shadow: 0 1px 0 rgba(60, 64, 67, 0.04);
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex-shrink: 0;
}

.top-app-bar-spacer {

/* â”€â”€ shell.css                                Shell layout, top app bar, brand â”€â”€ */
  flex: 1;
}
