/* [project]/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #0b0d10;
  --panel: #14181d;
  --panel-2: #1a1f26;
  --border: #262d36;
  --text: #e7ecf3;
  --muted: #8b95a3;
  --accent: #7aa2f7;
  --opus: #c084fc;
  --codex: #34d399;
  --gemini: #fbbf24;
  --error: #f87171;
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 96px;
}

h1 {
  letter-spacing: -.01em;
  margin: 0 0 4px;
  font-size: 22px;
}

.subtitle {
  color: var(--muted);
  margin: 0 0 24px;
}

.composer {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  display: flex;
}

textarea {
  background: var(--panel);
  border: 1px solid var(--border);
  width: 100%;
  min-height: 110px;
  color: var(--text);
  font: inherit;
  resize: vertical;
  border-radius: 8px;
  padding: 12px 14px;
}

textarea:focus {
  border-color: var(--accent);
  outline: none;
}

button.run {
  background: var(--accent);
  color: #0b1220;
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  align-self: flex-start;
  padding: 9px 18px;
  font-weight: 600;
}

button.run:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.timeline {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.phase {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.phase-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  display: flex;
}

.phase-label {
  font-weight: 600;
}

.phase-status {
  color: var(--muted);
  font-size: 12px;
}

.agents {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  display: grid;
}

.agent-card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.agent-card.opus {
  border-left: 3px solid var(--opus);
}

.agent-card.codex {
  border-left: 3px solid var(--codex);
}

.agent-card.gemini {
  border-left: 3px solid var(--gemini);
}

.agent-card header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
  display: flex;
}

.agent-name {
  font-weight: 600;
}

.agent-card .body {
  white-space: pre-wrap;
  color: #cdd5e0;
  max-height: 260px;
  font-size: 13px;
  overflow-y: auto;
}

.spinner {
  border: 2px solid var(--muted);
  vertical-align: middle;
  border-top-color: #0000;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  animation: .7s linear infinite spin;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.final {
  background: var(--panel);
  border: 1px solid var(--accent);
  white-space: pre-wrap;
  border-radius: 10px;
  margin-top: 18px;
  padding: 18px;
}

.final-label {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 11px;
}

.error {
  border: 1px solid var(--error);
  color: var(--error);
  background: #f8717114;
  border-radius: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 13px;
}

.foot {
  color: var(--muted);
  margin-top: 32px;
  font-size: 12px;
}

.agents-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 10px 14px;
}

.disclose {
  color: var(--text);
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-weight: 600;
  display: inline-flex;
}

.agents-body {
  margin-top: 10px;
}

.agent-list {
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: flex;
}

.agent-list li {
  background: var(--panel-2);
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  font-size: 13px;
  display: flex;
}

.dot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.agent-id {
  min-width: 140px;
  font-weight: 600;
}

.agent-id .badge {
  color: var(--accent);
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #7aa2f72e;
  border-radius: 4px;
  margin-left: 8px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
}

.agent-model {
  color: var(--muted);
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.del {
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  background: none;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 1;
}

.del:hover {
  border-color: var(--error);
  color: var(--error);
}

.add-form {
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.add-form input {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  border-radius: 6px;
  flex: 1;
  padding: 7px 10px;
  font-size: 13px;
}

.add-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.add-form button {
  background: var(--accent);
  color: #0b1220;
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
}

.add-form button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.hint code {
  background: var(--panel-2);
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 11px;
}

.workspace-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  display: flex;
}

.workspace-toggle {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.workspace-toggle input {
  cursor: pointer;
}

.workspace-toggle code {
  background: var(--panel-2);
  color: var(--accent);
  border-radius: 3px;
  padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
}

.workspace-detail {
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  display: flex;
}

.workspace-detail.dim {
  color: var(--muted);
}

.ws-chip {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  font-size: 11px;
  display: inline-flex;
}

.ws-chip-tag {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.usage-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.usage-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.usage-title {
  font-size: 13px;
  font-weight: 600;
}

.refresh {
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  background: none;
  border-radius: 5px;
  width: 26px;
  height: 26px;
  font-size: 14px;
  line-height: 1;
}

.refresh:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--accent);
}

.refresh:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.oauth-warn {
  color: #fde68a;
  background: #fbbf2414;
  border: 1px solid #fbbf2466;
  border-radius: 6px;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  padding: 8px 12px;
  font-size: 12px;
  display: flex;
}

.oauth-warn code {
  color: #fcd34d;
  background: #0000004d;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 11px;
}

.usage-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  display: grid;
}

.usage-empty {
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}

.usage-provider {
  background: var(--panel-2);
  border-radius: 6px;
  padding: 8px 10px;
}

.usage-provider-name {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 11px;
}

.usage-windows {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.usage-window-head {
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3px;
  font-size: 12px;
  display: flex;
}

.ww-name {
  color: var(--text);
  font-weight: 500;
}

.ww-pct {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

.ww-pct.ok {
  color: var(--codex);
}

.ww-pct.warn {
  color: var(--gemini);
}

.ww-pct.low {
  color: var(--error);
}

.bar {
  background: var(--border);
  border-radius: 2px;
  height: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  transition: width .3s;
}

.bar-fill.ok {
  background: var(--codex);
}

.bar-fill.warn {
  background: var(--gemini);
}

.bar-fill.low {
  background: var(--error);
}

.ww-eta {
  color: var(--muted);
  margin-top: 3px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

.agent-usage {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  display: flex;
}

.agent-usage .ctx-bar {
  color: var(--accent);
}

.project-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.project-row {
  align-items: center;
  gap: 12px;
  display: flex;
}

.project-label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
}

.project-row select {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  border-radius: 6px;
  flex: 1;
  padding: 7px 10px;
  font-size: 13px;
}

.project-row select:focus {
  border-color: var(--accent);
  outline: none;
}

.project-detail {
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  display: flex;
}

.project-loaded {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

/*# sourceMappingURL=app_globals_0jn8.0u.css.map*/