/* ========================================
   Guide Page Styles
   ======================================== */

/* Alert boxes */
.px-alert {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.px-alert--warning {
  background: #fffbeb;
  border: 1px solid #fcd34d;
}

.px-alert--info {
  background: #eff6ff;
  border: 1px solid #93c5fd;
}

.px-alert-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.px-alert--warning .px-alert-icon {
  color: #d97706;
}

.px-alert--info .px-alert-icon {
  color: #2563eb;
}

.px-alert-content {
  flex: 1;
}

.px-alert-content strong {
  display: block;
  color: #111827;
  margin-bottom: 4px;
}

.px-alert-content p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
}

/* Sections */
.px-guide-section {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.px-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f3f6;
}

.px-section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #0A3055;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  flex-shrink: 0;
}

.px-section-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

/* Card grid (for requirements) */
.px-guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.px-guide-card {
  padding: 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.px-guide-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  color: #4338ca;
  border-radius: 10px;
  margin-bottom: 12px;
}

.px-guide-card h3 {
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.px-guide-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
}

.px-guide-card li + li {
  margin-top: 4px;
}

/* Content with illustration */
.px-guide-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.px-guide-text {
  flex: 1;
}

.px-guide-text p {
  color: #374151;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.px-guide-illustration {
  flex-shrink: 0;
}

/* Document examples */
.px-doc-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.px-doc-example {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.px-doc-example--ok {
  background: #dcfce7;
  color: #166534;
}

.px-doc-icon {
  font-weight: 800;
}

/* Document preview illustration */
.px-doc-preview-example {
  text-align: center;
}

.px-doc-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 120px;
  background: #f3f4f6;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  color: #9ca3af;
}

.px-doc-caption {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

/* Tip box */
.px-tip {
  padding: 14px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 14px;
  color: #166534;
  margin-top: 16px;
}

/* Steps */
.px-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.px-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f3f6;
}

.px-step:last-child {
  border-bottom: 0;
}

.px-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  border-radius: 10px;
}

.px-step-content {
  flex: 1;
}

.px-step-content h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.px-step-content p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

.px-permission-hint {
  margin-top: 12px;
}

.px-permission-hint img {
  max-width: 300px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

/* Rules grid */
.px-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.px-rules-col {
  padding: 20px;
  border-radius: 10px;
}

.px-rules-col--allowed {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.px-rules-col--forbidden {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.px-rules-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px 0;
  font-size: 15px;
  font-weight: 700;
}

.px-rules-col--allowed h3 {
  color: #166534;
}

.px-rules-col--forbidden h3 {
  color: #991b1b;
}

.px-rules-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.px-rules-icon--ok {
  background: #22c55e;
  color: #fff;
}

.px-rules-icon--no {
  background: #ef4444;
  color: #fff;
}

.px-rules-col ul {
  margin: 0;
  padding: 0 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
}

.px-rules-col--allowed ul {
  color: #166534;
}

.px-rules-col--forbidden ul {
  color: #7f1d1d;
}

.px-rules-col li + li {
  margin-top: 6px;
}

/* Ordered list */
.px-ordered-list {
  margin: 0;
  padding: 0 0 0 24px;
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
}

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

/* FAQ */
.px-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.px-faq-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.px-faq-item summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.px-faq-item summary::-webkit-details-marker {
  display: none;
}

.px-faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #9ca3af;
  transition: transform 0.2s ease;
}

.px-faq-item[open] summary::after {
  content: '−';
}

.px-faq-item[open] summary {
  border-bottom: 1px solid #e5e7eb;
}

.px-faq-answer {
  padding: 14px 18px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.px-faq-answer ol,
.px-faq-answer ul {
  margin: 8px 0 0 0;
  padding: 0 0 0 20px;
}

.px-faq-answer code {
  background: #e5e7eb;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* Contact card */
.px-guide-section--contact {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.px-contact-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 12px;
}

.px-contact-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  color: #4338ca;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.px-contact-content {
  flex: 1;
}

.px-contact-content h3 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 700;
  color: #1e1b4b;
}

.px-contact-content p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #4338ca;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .px-guide-section {
    padding: 18px 16px;
  }
  
  .px-guide-content {
    flex-direction: column;
  }
  
  .px-guide-illustration {
    display: none;
  }
  
  .px-rules-grid {
    grid-template-columns: 1fr;
  }
  
  .px-contact-card {
    flex-direction: column;
    text-align: center;
  }
  
  .px-step {
    flex-direction: column;
    gap: 10px;
  }
  
  .px-step-num {
    width: 36px;
    height: 36px;
  }
}

/* Download cards */
.px-download-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.px-download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
  
  /* Фиксированная ширина для одной или нескольких карточек */
  min-width: 280px;
  max-width: 360px;
  flex: 0 1 auto;
}

.px-download-card:hover {
  border-color: #0A3055;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
}

.px-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #e0e7ff;
  color: #4338ca;
  border-radius: 10px;
  flex-shrink: 0;
}

.px-download-info {
  flex: 1;
  min-width: 0;
}

.px-download-info strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.px-download-info span {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

.px-download-action {
  flex-shrink: 0;
  color: #0A3055;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.px-download-card:hover .px-download-action {
  opacity: 1;
}

.px-download-card--soon {
  cursor: default;
  opacity: 0.72;
}

.px-download-card--soon:hover {
  border-color: #e5e7eb;
  background: #f9fafb;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
  .px-download-cards {
    flex-direction: column;
  }
  
  .px-download-card {
    max-width: none;
    width: 100%;
  }
}

/* Copy button group */
.px-copy-group {
  display: inline-flex;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
}

.px-copy-group .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.px-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  padding: 0;
  border: 1px solid #0A3055;
  border-left: none;
  background: #fff;
  color: #0A3055;
  cursor: pointer;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  transition: all 0.15s ease;
}

.px-copy-btn:hover {
  background: #f0f3f5;
}

.px-copy-btn:active {
  background: #e5e7eb;
}

/* Состояние "скопировано" */
.px-copy-btn.copied {
  background: #dcfce7;
  border-color: #22c55e;
  color: #16a34a;
}

.px-copy-btn.copied .px-copy-icon {
  display: none;
}

.px-copy-btn.copied .px-check-icon {
  display: block !important;
}

/* SEB Exit hint */
.px-seb-exit-hint {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 20px 0;
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.px-seb-exit-illustration {
  flex-shrink: 0;
}

.px-seb-screen {
  position: relative;
  width: 160px;
  height: 100px;
  background: #1f2937;
  border-radius: 8px;
  border: 2px solid #374151;
  overflow: hidden;
}

.px-seb-content {
  position: absolute;
  inset: 8px;
  background: #fff;
  border-radius: 4px;
  opacity: 0.9;
}

.px-seb-exit-btn {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 4px 10px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: px-pulse-btn 2s infinite;
}

@keyframes px-pulse-btn {
  0%, 100% { 
    box-shadow: 0 2px 4px rgba(0,0,0,0.3); 
  }
  50% { 
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.6); 
  }
}

.px-seb-exit-text {
  flex: 1;
}

.px-seb-exit-text strong {
  display: block;
  font-size: 14px;
  color: #111827;
  margin-bottom: 4px;
}

.px-seb-exit-text p {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

/* Responsive */
@media (max-width: 480px) {
  .px-seb-exit-hint {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   Instructor Guide Specific Styles
   ======================================== */

/* Workflow (horizontal steps) */
.px-workflow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.px-workflow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  min-width: 160px;
}

.px-workflow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #22c55e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.px-workflow-content {
  flex: 1;
}

.px-workflow-content strong {
  display: block;
  font-size: 13px;
  color: #111827;
}

.px-workflow-content span {
  font-size: 11px;
  color: #6b7280;
}

.px-workflow-arrow {
  font-size: 20px;
  color: #22c55e;
  font-weight: bold;
}

@media (max-width: 768px) {
  .px-workflow {
    flex-direction: column;
  }
  .px-workflow-arrow {
    transform: rotate(90deg);
  }
  .px-workflow-step {
    width: 100%;
  }
}

/* Code block */
.px-code-block {
  display: block;
  margin-top: 8px;
  padding: 10px 14px;
  background: #1f2937;
  color: #e5e7eb;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  overflow-x: auto;
}

/* Filter cards */
.px-filter-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.px-filter-card {
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.px-filter-card--primary {
  background: #eff6ff;
  border-color: #93c5fd;
}

.px-filter-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.px-filter-icon {
  font-size: 16px;
}

.px-filter-card p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

/* Table legend */
.px-table-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.px-legend-item {
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 6px;
}

.px-legend-item strong {
  display: block;
  font-size: 13px;
  color: #111827;
  margin-bottom: 2px;
}

.px-legend-item span {
  font-size: 12px;
  color: #6b7280;
}

/* Info box */
.px-info-box {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  margin: 16px 0;
}

.px-info-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.px-info-content {
  flex: 1;
}

.px-info-content strong {
  display: block;
  font-size: 14px;
  color: #0369a1;
  margin-bottom: 6px;
}

.px-info-content ul {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 13px;
  color: #0c4a6e;
}

/* Interface layout preview */
.px-interface-layout {
  display: flex;
  gap: 16px;
  margin: 20px 0;
  padding: 16px;
  background: #1f2937;
  border-radius: 10px;
}

.px-interface-main {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.px-interface-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
}

.px-interface-label {
  font-size: 10px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.px-interface-video {
  display: flex;
  gap: 4px;
  height: 100px;
}

.px-interface-video-half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #374151;
  border-radius: 6px;
  color: #9ca3af;
  font-size: 12px;
}

.px-interface-controls {
  padding: 8px 12px;
  background: #374151;
  border-radius: 6px;
  color: #e5e7eb;
  font-size: 12px;
  text-align: center;
}

.px-interface-actions {
  padding: 8px 12px;
  background: #065f46;
  border-radius: 6px;
  color: #d1fae5;
  font-size: 12px;
  text-align: center;
}

.px-interface-block {
  padding: 10px;
  background: #374151;
  border-radius: 6px;
  color: #e5e7eb;
  font-size: 11px;
}

.px-interface-markers {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.px-interface-markers span {
  font-size: 10px;
  color: #9ca3af;
  font-family: monospace;
}

@media (max-width: 600px) {
  .px-interface-layout {
    flex-direction: column;
  }
}

/* Mode cards */
.px-mode-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.px-mode-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-width: 100px;
  text-align: center;
}

.px-mode-icon {
  color: #4b5563;
}

.px-mode-card strong {
  font-size: 13px;
  color: #111827;
}

.px-mode-card span {
  font-size: 11px;
  color: #6b7280;
}

/* Shortcuts grid */
.px-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.px-shortcut {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 6px;
}

.px-shortcut kbd {
  display: inline-block;
  padding: 4px 8px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.px-shortcut span {
  font-size: 13px;
  color: #4b5563;
}

.px-shortcut-ui {
  display: inline-block;
  padding: 4px 8px;
  background: #e0e7ff;
  color: #4338ca;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

/* Markers legend */
.px-markers-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.px-marker-type {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
}

.px-marker-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.px-marker-sev-1 { background: #ecfccb; color: #3f6212; }
.px-marker-sev-2 { background: #fef9c3; color: #854d0e; }
.px-marker-sev-3 { background: #ffedd5; color: #9a3412; }
.px-marker-sev-4 { background: #fee2e2; color: #991b1b; }
.px-marker-sev-5 { background: #fecaca; color: #7f1d1d; }

.px-marker-desc {
  flex: 1;
}

.px-marker-desc strong {
  display: block;
  font-size: 14px;
  color: #111827;
  margin-bottom: 2px;
}

.px-marker-desc p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

/* Severity scale */
.px-severity-scale {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}

.px-severity-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.px-sev-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.px-sev-1 { background: #ecfccb; color: #3f6212; }
.px-sev-2 { background: #fef9c3; color: #854d0e; }
.px-sev-3 { background: #ffedd5; color: #9a3412; }
.px-sev-4 { background: #fee2e2; color: #991b1b; }
.px-sev-5 { background: #fecaca; color: #7f1d1d; }

.px-severity-item span {
  font-size: 13px;
  color: #4b5563;
}

/* Two columns */
.px-two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 16px 0;
}

.px-col h4 {
  margin: 0 0 10px 0;
  font-size: 15px;
  color: #111827;
}

.px-col p {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 10px 0;
}

.px-col ul {
  margin: 0 0 10px 0;
  padding: 0 0 0 18px;
  font-size: 13px;
  color: #4b5563;
}

/* Decision cards */
.px-decision-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.px-decision-card {
  border-radius: 10px;
  overflow: hidden;
}

.px-decision-pass {
  border: 2px solid #bbf7d0;
}

.px-decision-fail {
  border: 2px solid #fecaca;
}

.px-decision-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.px-decision-pass .px-decision-header {
  background: #dcfce7;
}

.px-decision-fail .px-decision-header {
  background: #fee2e2;
}

.px-decision-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
}

.px-decision-pass .px-decision-icon {
  background: #22c55e;
  color: #fff;
}

.px-decision-fail .px-decision-icon {
  background: #ef4444;
  color: #fff;
}

.px-decision-header strong {
  font-size: 16px;
}

.px-decision-pass .px-decision-header strong {
  color: #166534;
}

.px-decision-fail .px-decision-header strong {
  color: #991b1b;
}

.px-decision-body {
  padding: 14px 16px;
  background: #fff;
}

.px-decision-body p {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #374151;
}

.px-decision-body ul {
  margin: 0 0 10px 0;
  padding: 0 0 0 18px;
  font-size: 13px;
  color: #4b5563;
}

.px-decision-note {
  font-size: 12px !important;
  color: #6b7280 !important;
  font-style: italic;
}

/* Form preview */
.px-form-preview {
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin: 12px 0;
}

.px-form-preview-header {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.px-form-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.px-form-preview-grid label {
  font-size: 13px;
  color: #4b5563;
}

.px-form-preview-textarea {
  padding: 12px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  color: #6b7280;
}

.px-form-preview-textarea em {
  color: #9ca3af;
}

/* Recommendations */
.px-recommendations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.px-recommendation {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.px-rec-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.px-rec-content {
  flex: 1;
}

.px-rec-content strong {
  display: block;
  font-size: 14px;
  color: #111827;
  margin-bottom: 4px;
}

.px-rec-content p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}