
.aiwork-query-mode-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #faf8f5;
  border: 1px solid #e5ddd3;
  border-radius: 7px;
}

.aiwork-query-mode-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.aiwork-query-mode-heading strong {
  color: var(--ink);
  font-size: 14px;
}

.aiwork-query-mode-heading span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.aiwork-query-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  background: #f5eee6;
  border: 1px solid #e5ddd3;
  border-radius: 7px;
}

.aiwork-query-modes button {
  min-height: 42px;
  padding: 8px 12px;
  color: #796b5f;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
}

.aiwork-query-modes button:hover {
  color: #895a3c;
  background: #fff;
}

.aiwork-query-modes button.active {
  color: #352f29;
  background: white;
  border-color: #d9d0c6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.aiwork-asset-picker,
.aiwork-question-preset {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.aiwork-asset-picker span,
.aiwork-question-preset span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.aiwork-source-notice {
  margin-top: 14px;
  padding: 10px 12px;
  color: #352f29;
  background: #faf8f5;
  border-left: 3px solid #895a3c;
  font-size: 13px;
  font-weight: 700;
}

.aiwork-source-notice.no-source {
  color: #8a5a0a;
  background: #fff9eb;
  border-left-color: #e5a72d;
}

.aiwork-routing-result {
  margin-top: 10px;
  padding: 9px 11px;
  color: #352f29;
  background: #faf8f5;
  border-left: 3px solid #895a3c;
  font-size: 13px;
  line-height: 1.45;
}

.answer-source-title {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.answer-source-filename {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.use-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.use-panel-header h4 {
  margin: 0;
  font-size: 28px;
  line-height: 1.18;
}

.use-mode-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  background: #fff7e8;
  border: 1px solid #eed7ad;
  border-radius: 999px;
  color: #8c5d12;
  font-size: 12px;
  font-weight: 700;
}

.use-mode-badge.ready {
  color: var(--teal-dark);
  background: #faf8f5;
  border-color: #e5ddd3;
}

.prompt-field {
  display: grid;
  gap: 8px;
}

.prompt-field-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.prompt-field-heading label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.prompt-field-heading small {
  color: var(--teal-dark);
  font-size: 12px;
}

.prompt-input-wrap {
  position: relative;
}

.prompt-field input {
  height: 48px;
}

.system-prompt-field textarea {
  min-height: 76px;
  resize: vertical;
}

.system-prompt-field summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}

.system-prompt-field summary small {
  color: var(--teal-dark);
  font-size: 12px;
}

.system-prompt-field[open] textarea {
  margin-top: 8px;
}

.mcp-run-controls {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(210px, 320px);
  gap: 10px 18px;
  align-items: end;
  padding: 12px 14px;
  background: #faf8f5;
  border: 1px solid #e5ddd3;
  border-radius: 7px;
}

.mcp-run-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.mcp-run-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--teal);
}

.mcp-run-toggle strong,
.mcp-run-toggle small,
.mcp-server-select span {
  display: block;
}

.mcp-run-toggle strong {
  color: var(--ink);
  font-size: 14px;
}

.mcp-run-toggle small,
.mcp-run-status {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.mcp-server-select span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mcp-server-select select {
  min-height: 40px;
}

.mcp-run-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--teal-dark);
}

.mcp-run-status.unavailable {
  color: #9a3412;
}

.prompt-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.prompt-suggestion {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 10px;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: 5px;
  text-align: left;
}

.prompt-suggestion:hover,
.prompt-suggestion.active {
  background: #faf8f5;
}

.prompt-suggestion span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-suggestion small {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .prompt-field-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

.model-response-box {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.model-response-box.error {
  background: #fff1ef;
  border-color: #f0c2bd;
}

.model-response-box strong {
  display: block;
  margin-bottom: 10px;
}

.model-response-box pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--muted);
  font-family: inherit;
  line-height: 1.65;
}

.mcp-execution-trace {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mes-question-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 16px;
}

.mes-question-examples[hidden] { display: none; }

.mes-question-examples span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mes-question-examples button {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #faf8f5;
  color: var(--ink);
  cursor: pointer;
}

.mes-question-examples button:hover { border-color: var(--teal-dark); }

.mes-source {
  margin: 14px 0 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.mes-demo-view {
  color: var(--ink);
}

.mes-demo-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.mes-demo-header h1 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

.mes-demo-readonly {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.mes-demo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.mes-demo-meta div {
  display: grid;
  gap: 4px;
  min-width: 130px;
}

.mes-demo-meta span {
  color: var(--muted);
  font-size: 12px;
}

.mes-demo-meta strong {
  font-size: 15px;
}

#mesConnectionStatus.connected { color: var(--teal-dark); }

.mes-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  gap: 34px;
  padding-top: 28px;
}

.mes-demo-main,
.mes-demo-trace {
  min-width: 0;
}

.mes-demo-view h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.mes-example-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mes-example-list button {
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #faf8f5;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.mes-example-list button:hover:not(:disabled) { border-color: var(--teal-dark); }
.mes-example-list button:disabled { cursor: not-allowed; opacity: 0.6; }

.mes-demo-form {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.mes-demo-form label { font-weight: 700; }

.mes-demo-composer {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.mes-demo-composer textarea {
  flex: 1;
  min-width: 0;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  resize: vertical;
  font: inherit;
}

.mes-demo-composer button { min-width: 114px; }

.mes-demo-response {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.mes-demo-response-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.mes-demo-response-heading span { color: var(--muted); font-size: 13px; }

.mes-demo-response > pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  line-height: 1.65;
}

.mes-demo-response.error > pre { color: var(--red); }

.mes-source-block {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.mes-source-block strong { color: var(--teal-dark); }
.mes-source-block ul { margin: 0; padding-left: 19px; color: var(--muted); }
.mes-source-block li { overflow-wrap: anywhere; }

.mes-demo-trace {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}

.mes-demo-trace > p { color: var(--muted); }

.mes-demo-trace ol { margin: 0 0 25px; padding-left: 21px; }
.mes-demo-trace li { margin-bottom: 14px; padding-left: 5px; }
.mes-demo-trace li strong,
.mes-demo-trace li span { display: block; }
.mes-demo-trace li strong { font-size: 13px; }
.mes-demo-trace li span { margin-top: 3px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.mes-demo-trace details { margin-top: 20px; }
.mes-demo-trace summary { color: var(--teal-dark); cursor: pointer; font-weight: 700; }

.mes-demo-trace pre {
  max-height: 270px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #faf8f5;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .mes-demo-layout { grid-template-columns: 1fr; }
  .mes-demo-trace { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .mes-demo-header { align-items: flex-start; flex-direction: column; }
  .mes-example-list { grid-template-columns: 1fr; }
  .mes-example-list button { min-height: 48px; }
  .mes-demo-composer { flex-direction: column; }
  .mes-demo-composer button { min-height: 44px; }
}

.mcp-execution-trace summary {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.mcp-execution-trace strong {
  margin: 12px 0 5px;
  color: var(--ink);
  font-size: 12px;
}

.mcp-execution-trace pre {
  max-height: 240px;
  overflow: auto;
  padding: 10px;
  background: #faf8f5;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

@media (max-width: 720px) {
  .mcp-run-controls {
    grid-template-columns: 1fr;
  }

  .mcp-run-status {
    grid-column: 1;
  }
}

.nas-persistence-notice {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #faf8f5;
  border: 1px solid #e5ddd3;
  border-left: 4px solid #895a3c;
  border-radius: 6px;
  color: #352f29;
  font-size: 13px;
  font-weight: 750;
}

.key-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.key-status.ready {
  color: var(--teal-dark);
}

.pricing-panel {
  min-height: 360px;
}

.pricing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.pricing-header h3 {
  margin-bottom: 6px;
  font-size: 26px;
}

.pricing-header span,
.pricing-date,
.pricing-meta {
  color: var(--muted);
  font-size: 13px;
}

.pricing-date {
  flex: 0 0 auto;
  padding: 7px 10px;
  background: #faf8f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.price-tile {
  min-height: 126px;
  padding: 16px;
  background: #faf8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-tile span,
.price-tile small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.price-tile strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 22px;
  overflow-wrap: anywhere;
}

.pricing-meta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.free-quota-line {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #fff7e8;
  border: 1px solid #eed7ad;
  border-radius: 8px;
}

.free-quota-line.available {
  background: #faf8f5;
  border-color: #e5ddd3;
}

.free-quota-line strong {
  color: var(--ink);
}

.free-quota-line span,
.free-quota-line small {
  color: var(--muted);
  line-height: 1.5;
}

.pricing-meta p {
  margin: 0;
  line-height: 1.6;
}

.pricing-meta a {
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.pricing-meta a:hover {
  text-decoration: underline;
}

.model-source-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(360px, 1.35fr);
  gap: 18px;
}

.llm-history-panel {
  grid-column: 1 / -1;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.search-row.compact {
  margin-bottom: 16px;
}

.audit-history-heading,
.audit-result-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.audit-history-heading {
  margin-bottom: 18px;
}

.audit-history-heading .search-box {
  width: min(460px, 100%);
}

.audit-filter-panel {
  margin: 0 0 14px;
  border: 1px solid #e5ddd3;
  border-radius: 8px;
  overflow: hidden;
}

.audit-filter-panel > summary {
  padding: 12px 16px;
  color: #895a3c;
  background: #faf8f5;
  cursor: pointer;
  font-weight: 700;
}

.audit-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 12px;
  padding: 16px;
  background: #faf8f5;
  border-top: 1px solid #e5ddd3;
}

.audit-filter-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.audit-filter-grid input,
.audit-filter-grid select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.audit-reset-button {
  min-height: 42px;
  align-self: end;
}

.audit-result-bar {
  align-items: center;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.audit-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audit-pagination .icon-button {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 24px;
}

.llm-call-history {
  display: grid;
  gap: 12px;
}

.llm-call-row {
  padding: 16px;
  background: #faf8f5;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
}

.llm-call-row.failed {
  border-left-color: var(--red);
}

.llm-call-row.blocked {
  border-left-color: var(--amber);
}

.llm-call-row.success {
  border-left-color: #27896d;
}

.llm-call-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.llm-call-header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.llm-call-prompt,
.llm-call-response {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.llm-call-response {
  color: var(--ink);
}

.audit-text-details {
  margin: 0 0 10px;
  border: 1px solid #e5ddd3;
  border-radius: 6px;
  overflow: hidden;
}

.audit-text-details summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: var(--muted);
  background: white;
  cursor: pointer;
}

.audit-text-details summary span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-text-details summary small {
  color: #796b5f;
}

.audit-text-details pre {
  max-height: 420px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  color: var(--ink);
  background: #faf8f5;
  border-top: 1px solid #e5ddd3;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.audit-trace-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px;
}

.audit-trace-meta span {
  padding: 4px 8px;
  color: #796b5f;
  background: #f5eee6;
  border: 1px solid #e5ddd3;
  border-radius: 4px;
  font-size: 12px;
}

.audit-trace-meta code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}

.audit-mcp-trace {
  margin: 0 0 12px;
  border: 1px solid #e5ddd3;
  border-radius: 6px;
  background: #faf8f5;
}

.audit-mcp-trace > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: #895a3c;
  cursor: pointer;
}

.audit-mcp-events {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.audit-mcp-event {
  padding: 12px;
  background: white;
  border: 1px solid #e5ddd3;
  border-left: 4px solid #895a3c;
  border-radius: 5px;
}

.audit-mcp-event.failed {
  border-left-color: #d95c5c;
}

.audit-mcp-event header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.audit-mcp-event header span {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1200px) {
  .audit-filter-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 720px) {
  .audit-history-heading,
  .audit-result-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .audit-filter-grid {
    grid-template-columns: 1fr;
  }

  .audit-pagination {
    justify-content: space-between;
  }

  .audit-text-details summary {
    grid-template-columns: 1fr;
  }
}

.odoo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  background: #895a3c;
  color: white;
  border: 1px solid #895a3c;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.odoo-hero .eyebrow {
  color: #796b5f;
}

.odoo-hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
}

.odoo-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.odoo-status-block {
  display: flex;
  min-width: 280px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.odoo-status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.18);
}

.odoo-status-block strong,
.odoo-status-block small {
  display: block;
}

.odoo-status-block small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.odoo-workspace {
  margin-top: 18px;
  padding: 26px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.odoo-workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.odoo-workspace-heading h3 {
  margin: 0;
  font-size: 24px;
}

.odoo-stage-badge {
  padding: 7px 11px;
  color: #8c5d12;
  background: #fff7e8;
  border: 1px solid #f2d28e;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.odoo-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 8px 0 24px;
}

.odoo-flow article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
}

.odoo-flow article + article {
  border-left: 1px solid var(--line);
}

.odoo-flow article > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #895a3c;
  background: #f5eee6;
  border: 1px solid #e5ddd3;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.odoo-flow strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
}

.odoo-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.odoo-command-preview {
  display: grid;
  gap: 9px;
}

.odoo-command-preview > label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.odoo-command-preview > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.odoo-command-preview input {
  min-width: 0;
  height: 48px;
}

.odoo-command-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.n8n-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 30px;
  color: white;
  background: #895a3c;
  border: 1px solid #895a3c;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.n8n-hero .eyebrow {
  color: #796b5f;
}

.n8n-hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
}

.n8n-hero p:last-child {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.n8n-service-status {
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
}

.n8n-service-status small,
.n8n-service-status strong {
  display: block;
}

.n8n-service-status small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.n8n-status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.2);
}

.n8n-status-dot.connected {
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.18);
}

.n8n-status-dot.unavailable {
  background: #f87171;
  box-shadow: 0 0 0 5px rgba(248, 113, 113, 0.18);
}

.n8n-control-band,
.n8n-workflow-panel {
  margin-top: 18px;
  padding: 26px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.n8n-control-heading,
.n8n-workflow-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.n8n-control-heading h3,
.n8n-workflow-heading h3 {
  margin: 0;
  font-size: 24px;
}

.n8n-control-heading p:last-child {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.n8n-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.button-link.disabled {
  pointer-events: none;
  opacity: 0.46;
}

.n8n-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.n8n-facts article {
  min-width: 0;
  padding: 18px 16px;
}

.n8n-facts article + article {
  border-left: 1px solid var(--line);
}

.n8n-facts span,
.n8n-facts strong {
  display: block;
}

.n8n-facts span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.n8n-facts strong {
  overflow-wrap: anywhere;
}

.n8n-trial-badge {
  padding: 7px 11px;
  color: #895a3c;
  background: #faf8f5;
  border: 1px solid #e5ddd3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.n8n-flow-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.n8n-flow-preview article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 16px;
}

.n8n-flow-preview article + article {
  border-left: 1px solid var(--line);
}

.n8n-flow-preview article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #895a3c;
  background: #faf8f5;
  border: 1px solid #e5ddd3;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.n8n-flow-preview strong {
  display: block;
  margin-bottom: 6px;
}

.n8n-flow-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.n8n-notice {
  min-height: 24px;
  margin-top: 16px;
  color: #a43a3a;
  font-size: 13px;
  font-weight: 650;
}

.n8n-notice.ready {
  color: #116b59;
}
