:root {
  --app-bg: #0d1117;
  --app-surface: #161b22;
  --app-surface-alt: #1f2630;
  --app-surface-muted: #212934;
  --app-border: #30363d;
  --app-border-strong: #3d444d;
  --app-text: #e6edf3;
  --app-text-muted: #9da7b3;
  --app-primary: #2f81f7;
  --app-primary-hover: #4b91f7;
  --app-success: #238636;
  --app-warning: #d29922;
  --app-danger: #da3633;
  --app-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

html,
body {
  min-height: 100%;
  background: radial-gradient(circle at top, #1b2230 0%, var(--app-bg) 45%);
  color: var(--app-text);
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#app {
  min-height: 100vh;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: transparent;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
  border-right: 1px solid var(--app-border);
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(10px);
}

.brand-block {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--app-primary), #1f6feb);
  color: white;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
}

.brand-subtitle,
.section-label,
.status-user,
.sidebar-footer-text,
.workspace-subtitle,
.workspace-kicker,
.result-kicker,
.field-label,
.scenario-card-label,
.summary-metric-label,
.risk-option-code {
  color: var(--app-text-muted);
}

.brand-subtitle,
.section-label,
.workspace-kicker,
.result-kicker,
.scenario-card-label,
.summary-metric-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.status-panel,
.sidebar-footer,
.workspace-card,
.result-card,
.scenario-card {
  border: 1px solid var(--app-border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(31, 38, 48, 0.96), rgba(22, 27, 34, 0.96));
  box-shadow: var(--app-shadow);
}

.status-panel,
.sidebar-footer {
  padding: 16px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  background: #6e7681;
}

.status-text {
  font-weight: 600;
}

.nav-section {
  display: grid;
  gap: 10px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--app-text);
  text-align: left;
  transition: all 160ms ease;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(47, 129, 247, 0.14);
  border-color: rgba(47, 129, 247, 0.32);
}

.nav-item-label {
  font-weight: 700;
}

.nav-item-meta {
  color: var(--app-text-muted);
  font-size: 0.87rem;
}

.sidebar-footer-title,
.workspace-title,
.result-title,
.workspace-card-header h2 {
  font-weight: 700;
}

.sidebar-footer-title {
  margin-bottom: 8px;
}

.app-main {
  padding: 28px;
}

.workspace-page {
  display: none;
}

.workspace-page.active {
  display: block;
}

.workspace-header {
  margin-bottom: 20px;
}

.workspace-title {
  font-size: 1.9rem;
  margin: 6px 0 10px;
}

.workspace-subtitle {
  max-width: 900px;
  margin: 0;
  font-size: 0.98rem;
}

.workspace-card {
  overflow: hidden;
}

.workspace-card-header,
.workspace-card-body,
.result-card,
.scenario-card {
  padding: 22px;
}

.workspace-card-header {
  border-bottom: 1px solid rgba(48, 54, 61, 0.82);
}

.workspace-card-header p,
.result-block p,
.scenario-card-text,
.empty-state,
.plain-list,
.chip-list {
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.field-span-2 {
  grid-column: span 2;
}

.app-control,
.app-control:focus {
  background: #0d1117;
  color: var(--app-text);
  border: 1px solid var(--app-border-strong);
  border-radius: 12px;
  box-shadow: none;
}

.app-control::placeholder {
  color: #7d8590;
}

.app-control-code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.action-bar {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn-app-primary,
.btn-sidebar-primary,
.btn-sidebar-secondary {
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-app-primary,
.btn-sidebar-primary {
  background: var(--app-primary);
  color: white;
}

.btn-app-primary:hover,
.btn-sidebar-primary:hover {
  background: var(--app-primary-hover);
  color: white;
}

.btn-sidebar-secondary {
  background: transparent;
  border-color: var(--app-border-strong);
  color: var(--app-text);
}

.btn-sidebar-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--app-text);
}

.status-banner {
  border: 1px solid rgba(47, 129, 247, 0.25);
  background: rgba(47, 129, 247, 0.08);
  color: var(--app-text);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.result-stack {
  display: grid;
  gap: 18px;
}

.result-card-header-row,
.scenario-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.result-block {
  display: grid;
  gap: 8px;
}

.result-block h4,
.workspace-card-header h2,
.scenario-card-title,
.summary-metric-value {
  margin: 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.summary-metric {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(13, 17, 23, 0.82);
  border: 1px solid var(--app-border);
  display: grid;
  gap: 6px;
}

.summary-metric-value {
  font-size: 1.55rem;
  font-weight: 700;
}

.result-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plain-list {
  padding-left: 18px;
}

.plain-list li + li {
  margin-top: 8px;
}

.chip-list,
.scenario-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.risk-chip,
.readiness-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.84rem;
  font-weight: 600;
}

.risk-chip {
  color: #c6d7ff;
  border: 1px solid rgba(47, 129, 247, 0.25);
  background: rgba(47, 129, 247, 0.12);
}

.risk-chip-core {
  color: #dbeafe;
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.2);
}

.risk-chip-input {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.18);
}

.risk-chip-state {
  color: #d1fae5;
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.18);
}

.risk-chip-business {
  color: #dcfce7;
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.18);
}

.risk-chip-technical {
  color: #e2e8f0;
  border-color: rgba(100, 116, 139, 0.45);
  background: rgba(100, 116, 139, 0.2);
}

.risk-chip-access {
  color: #fee2e2;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.2);
}

.risk-chip-data {
  color: #f3e8ff;
  border-color: rgba(147, 51, 234, 0.45);
  background: rgba(147, 51, 234, 0.2);
}

.risk-chip-muted {
  color: var(--app-text-muted);
  border-color: var(--app-border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.risk-chip-warning {
  color: #ffcb6b;
  border-color: rgba(210, 153, 34, 0.3);
  background: rgba(210, 153, 34, 0.12);
}

.readiness-pill-ready {
  background: rgba(35, 134, 54, 0.16);
  color: #56d364;
  border: 1px solid rgba(35, 134, 54, 0.28);
}

.readiness-pill-partial {
  background: rgba(210, 153, 34, 0.16);
  color: #e3b341;
  border: 1px solid rgba(210, 153, 34, 0.28);
}

.readiness-pill-risky,
.readiness-pill-blocked {
  background: rgba(218, 54, 51, 0.16);
  color: #ff7b72;
  border: 1px solid rgba(218, 54, 51, 0.28);
}

.scenario-card {
  background: rgba(13, 17, 23, 0.82);
}

.scenario-card-title {
  font-size: 1.08rem;
  font-weight: 700;
}

.scenario-card-section + .scenario-card-section {
  margin-top: 14px;
}

.scenario-card-pre {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: #0d1117;
  border: 1px solid var(--app-border);
  color: var(--app-text);
  white-space: pre-wrap;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
}

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

.risk-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--app-border);
  background: rgba(13, 17, 23, 0.78);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.risk-option:hover {
  border-color: rgba(47, 129, 247, 0.34);
  transform: translateY(-1px);
}

.risk-option input {
  margin-top: 3px;
}

.risk-option-body {
  display: grid;
  gap: 3px;
}

.risk-option-title {
  font-weight: 700;
}

.risk-option-description {
  color: var(--app-text-muted);
  font-size: 0.9rem;
}

.risk-option input:checked + .risk-option-body .risk-option-title {
  color: #c6d7ff;
}

.risk-option:has(input:checked) {
  border-color: rgba(47, 129, 247, 0.48);
  background: rgba(47, 129, 247, 0.10);
}

.risk-doc-label {
  font-weight: 700;
  color: var(--app-text);
}

.scenario-kind-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scenario-kind-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--app-border);
  background: rgba(13, 17, 23, 0.78);
  cursor: pointer;
}

.scenario-kind-option:has(input:checked) {
  border-color: rgba(47, 129, 247, 0.48);
  background: rgba(47, 129, 247, 0.10);
}

.scenario-artifact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.82rem;
}

.alert {
  border-radius: 12px;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--app-border);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .two-columns,
  .result-two-columns,
  .risk-grid,
  .summary-grid,
  .risk-doc-grid,
  .risk-card-grid,
  .heatmap-grid {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: auto;
  }

  .app-main {
    padding: 18px;
  }
}

.scenario-kind-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scenario-kind-pill-passing {
  color: #56d364;
  background: rgba(35, 134, 54, 0.16);
  border: 1px solid rgba(35, 134, 54, 0.28);
}

.scenario-kind-pill-failing {
  color: #ff7b72;
  background: rgba(218, 54, 51, 0.16);
  border: 1px solid rgba(218, 54, 51, 0.28);
}

.scenario-card-passing {
  border-color: rgba(35, 134, 54, 0.35);
  box-shadow: 0 0 0 1px rgba(35, 134, 54, 0.12), var(--app-shadow);
}

.scenario-card-failing {
  border-color: rgba(218, 54, 51, 0.35);
  box-shadow: 0 0 0 1px rgba(218, 54, 51, 0.12), var(--app-shadow);
}

.risk-doc-card {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(13, 17, 23, 0.72);
}


.workspace-section-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.risk-doc-category-card .workspace-card-header p,
.text-muted-small {
  color: var(--app-text-muted);
  font-size: 0.9rem;
}

.risk-doc-grid,
.risk-card-grid,
.auto-detected-list,
.heatmap-grid {
  display: grid;
  gap: 14px;
}

.risk-doc-grid,
.risk-card-grid,
.heatmap-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auto-detected-list {
  grid-template-columns: 1fr;
}

.risk-doc-entry,
.auto-detected-card,
.heatmap-cell {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(13, 17, 23, 0.72);
}

.result-stack-compact {
  display: grid;
  gap: 16px;
}

.small-heading {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-text-muted);
  margin-bottom: 8px;
}

.heatmap-groups {
  display: grid;
  gap: 20px;
}

.heatmap-group {
  display: grid;
  gap: 12px;
}

.heatmap-group-header h5 {
  font-weight: 700;
}

.heatmap-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.heatmap-status-pill-covered,
.heatmap-cell-covered {
  border-color: rgba(35, 134, 54, 0.35);
  background: rgba(35, 134, 54, 0.10);
}

.heatmap-status-pill-covered {
  color: #56d364;
  background: rgba(35, 134, 54, 0.16);
}

.heatmap-status-pill-missing,
.heatmap-cell-missing {
  border-color: rgba(218, 54, 51, 0.35);
  background: rgba(218, 54, 51, 0.10);
}

.heatmap-status-pill-missing {
  color: #ff7b72;
  background: rgba(218, 54, 51, 0.16);
}

.heatmap-status-pill-partial,
.heatmap-cell-partial {
  border-color: rgba(210, 153, 34, 0.35);
  background: rgba(210, 153, 34, 0.10);
}

.heatmap-status-pill-partial {
  color: #e3b341;
  background: rgba(210, 153, 34, 0.16);
}

.heatmap-status-pill-not-relevant,
.heatmap-cell-not-relevant,
.heatmap-status-pill-unknown,
.heatmap-cell-unknown {
  border-color: var(--app-border);
  background: rgba(255, 255, 255, 0.04);
}

.heatmap-status-pill-not-relevant,
.heatmap-status-pill-unknown {
  color: var(--app-text-muted);
  background: rgba(255, 255, 255, 0.06);
}

.heatmap-label {
  font-weight: 700;
  margin-bottom: 4px;
}

.heatmap-confidence {
  font-size: 0.84rem;
  color: var(--app-text-muted);
  margin-bottom: 6px;
}

.heatmap-rationale {
  font-size: 0.92rem;
}


.scenario-filter-group { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.scenario-filter-group label { display:inline-flex; gap:6px; align-items:center; font-size:12px; color:var(--app-text-muted, #94a3b8); }

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

.decision-metric-card,
.definition-card,
.action-card {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  background: rgba(13, 17, 23, 0.42);
  padding: 16px;
}

.decision-metric-label,
.definition-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: var(--app-text-muted);
  margin-bottom: 8px;
}

.decision-metric-value-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.decision-metric-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.decision-metric-help,
.text-muted-small {
  color: var(--app-text-muted);
  font-size: 0.88rem;
}

.decision-delta {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.decision-delta-positive {
  background: rgba(35, 134, 54, 0.22);
  color: #7ee787;
}

.decision-delta-negative {
  background: rgba(218, 54, 51, 0.22);
  color: #ff7b72;
}

.decision-delta-neutral {
  background: rgba(110, 118, 129, 0.18);
  color: var(--app-text-muted);
}

.coverage-impact-stack {
  display: grid;
  gap: 16px;
}

.coverage-progress-card {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  background: rgba(13, 17, 23, 0.42);
  padding: 16px;
}

.coverage-progress-header,
.coverage-progress-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.coverage-progress-metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.coverage-progress-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(148, 163, 184, 0.08);
  color: var(--app-text);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
}

.coverage-progress-pill-projected {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
}

.coverage-progress-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.18);
  margin: 16px 0 10px 0;
}

.coverage-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.42) 0%, rgba(59, 130, 246, 0.62) 100%);
}

.coverage-progress-marker {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f8fafc;
  border: 2px solid rgba(15, 23, 42, 0.85);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.28);
}

.coverage-progress-footer {
  color: var(--app-text-muted);
  font-size: 0.82rem;
}

.coverage-impact-list {
  display: grid;
  gap: 12px;
}

.coverage-impact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed rgba(48, 54, 61, 0.75);
  padding-bottom: 10px;
}

.coverage-impact-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.definition-list,
.action-grid {
  display: grid;
  gap: 12px;
}

.action-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.action-card-title {
  font-weight: 700;
}

.action-pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.action-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(47, 129, 247, 0.2);
  color: #8cc8ff;
}

.action-pill-high {
  background: rgba(218, 54, 51, 0.18);
  color: #ff7b72;
}

.action-pill-medium {
  background: rgba(210, 153, 34, 0.18);
  color: #e3b341;
}

.action-pill-low,
.action-pill-muted {
  background: rgba(110, 118, 129, 0.18);
  color: var(--app-text-muted);
}

.result-three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1200px) {
  .decision-score-grid,
  .result-three-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .decision-score-grid,
  .result-three-columns {
    grid-template-columns: 1fr;
  }

  .coverage-progress-header,
  .coverage-progress-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .action-card-header {
    flex-direction: column;
  }
}

.compact-insight-stack {
  display: grid;
  gap: 12px;
}

.compact-insight-card,
.compact-insight-item {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  background: rgba(13, 17, 23, 0.36);
}

.compact-insight-card {
  padding: 14px;
}

.compact-insight-item {
  padding: 12px;
}

.compact-insight-list {
  display: grid;
  gap: 10px;
}

.compact-insight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.compact-insight-title {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--app-text-muted);
}

.compact-insight-value,
.compact-insight-badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(47, 129, 247, 0.18);
  color: #8cc8ff;
}

.compact-insight-item-split {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.compact-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compact-bullet-list {
  margin-bottom: 0;
}

.coverage-impact-list-detailed > div {
  align-items: center;
}


.risk-chip-action {
  color: #dbeafe;
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.2);
  cursor: pointer;
}

.risk-chip-action:hover,
.risk-chip-action:focus {
  border-color: rgba(96, 165, 250, 0.8);
  background: rgba(59, 130, 246, 0.3);
}

.report-menu {
  position: relative;
}

.report-menu > summary {
  list-style: none;
}

.report-menu > summary::-webkit-details-marker {
  display: none;
}

.report-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  min-width: 170px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--app-border);
  background: rgba(13, 17, 23, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}


.app-toast-region {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1080;
  display: grid;
  gap: 12px;
  pointer-events: none;
}

.app-toast {
  min-width: 280px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--app-border);
  background: rgba(22, 27, 34, 0.96);
  box-shadow: var(--app-shadow);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.app-toast-success {
  border-color: rgba(35, 134, 54, 0.45);
  background: linear-gradient(180deg, rgba(26, 58, 35, 0.96), rgba(22, 27, 34, 0.96));
}

.app-toast-error {
  border-color: rgba(218, 54, 51, 0.45);
  background: linear-gradient(180deg, rgba(82, 29, 28, 0.96), rgba(22, 27, 34, 0.96));
}

.app-toast-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--app-text-muted);
  margin-bottom: 4px;
}

.app-toast-message {
  color: var(--app-text);
  font-weight: 600;
}


.build-implementation-elements {
  display: grid;
  gap: 12px;
}

.build-implementation-element-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.6fr auto;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--app-border);
  background: rgba(13, 17, 23, 0.58);
}

.build-implementation-element-actions {
  align-content: end;
}

@media (max-width: 960px) {
  .build-implementation-element-row {
    grid-template-columns: 1fr;
  }
}
