/* ——— Spec List ——— */
.spec-list {
  padding-left: 20px;
  margin: 12px 0;
}

.spec-list li {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 4px;
  color: var(--ink);
}

code {
  font-family: var(--mono);
  font-size: 0.82em;
  background: #f0ede8;
  padding: 1px 5px;
  border-radius: 3px;
}


/* ——— Flow Steps ——— */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}

.flow-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--chalk);
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ember);
  min-width: 20px;
  padding-top: 2px;
}

.flow-title {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.flow-content p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--dust);
  margin: 0;
}


/* ——— Property Grid ——— */
.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  max-width: 640px;
}

.property {
  background: white;
  border: 1px solid var(--chalk);
  padding: 16px;
  border-radius: 4px;
}

.property-name {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 6px;
}

.property p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--dust);
  margin: 0;
}


/* ——— Compare Table ——— */
.compare-table {
  margin-top: 20px;
  background: white;
  border: 1px solid var(--chalk);
  border-radius: 4px;
  overflow: hidden;
  max-width: 700px;
}

.compare-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 1fr;
  border-bottom: 1px solid #f5f3f0;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-header {
  background: #faf9f7;
}

.compare-header .compare-cell {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}

.compare-cell {
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--ink);
  border-right: 1px solid #f5f3f0;
}

.compare-cell:last-child {
  border-right: none;
}

.compare-label {
  font-weight: 600;
  color: var(--dust);
  font-size: 0.75rem;
}

.compare-highlight {
  background: #fef7f2;
  font-weight: 500;
}

.compare-header .compare-highlight {
  background: var(--ember);
  color: white;
}


/* ——— Implementation Options ——— */
.impl-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  max-width: 640px;
}

.impl-option {
  background: white;
  border: 1px solid var(--chalk);
  padding: 20px;
  border-radius: 4px;
}

.impl-recommended {
  border-color: var(--ember);
  border-width: 2px;
}

.impl-tag {
  font-family: var(--mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}

.impl-tag-rec {
  color: var(--ember);
}

.impl-title {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.impl-option p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--dust);
  margin: 0 0 8px;
}

.impl-verdict {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--sand);
}


/* ——— Conversation Types ——— */
.convo-types {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  max-width: 500px;
}

.convo-type {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--chalk);
  border-radius: 4px;
}

.convo-type-highlight {
  border-color: var(--ember);
  border-width: 2px;
}

.convo-icon {
  min-width: 48px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.avatar-single {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--chalk);
}

.avatar-stack {
  display: flex;
  margin-left: 8px;
}

.avatar-small {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--chalk);
  margin-left: -8px;
  border: 2px solid white;
}

.avatar-active {
  background: var(--ember);
  box-shadow: 0 0 0 2px rgba(212, 88, 10, 0.3);
  z-index: 1;
}

.avatar-waiting {
  opacity: 0.4;
}

.chain-link-icon {
  font-size: 0.7rem;
  margin-left: 4px;
}

.convo-name {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.convo-desc {
  font-size: 0.72rem;
  color: var(--dust);
}


/* ——— Mock Sidebar ——— */
.mock-sidebar {
  margin-top: 24px;
  max-width: 280px;
  background: white;
  border: 1px solid var(--chalk);
  border-radius: 6px;
  padding: 12px;
}

.mock-sidebar-label {
  font-family: var(--mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  padding: 4px 8px;
  margin-bottom: 4px;
}

.mock-chain-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 6px;
  cursor: default;
}

.mock-chain-active {
  background: #f0eeeb;
}

.mock-chain-icon {
  font-size: 0.75rem;
}

.mock-chain-name {
  font-size: 0.78rem;
  font-weight: 600;
}

.mock-chain-speaker {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--ember);
}

.mock-chain-idle {
  color: var(--sand);
}


/* ——— Mock Thread ——— */
.mock-thread {
  margin-top: 24px;
  max-width: 560px;
  background: white;
  border: 1px solid var(--chalk);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mock-msg {
  padding: 12px 0;
  border-bottom: 1px solid #f5f3f0;
  position: relative;
}

.mock-msg:last-child {
  border-bottom: none;
}

.mock-msg-handoff {
  padding-left: 12px;
}

.mock-msg-bar {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--ember);
  border-radius: 2px;
}

.mock-msg-sender {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--dust);
  margin-bottom: 4px;
}

.mock-msg-handoff .mock-msg-sender {
  color: var(--ember);
}

.mock-msg-text {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink);
}

.mock-msg-bot .mock-msg-sender {
  color: #0D9488;
}

.mock-msg-active {
  background: #fef7f2;
  margin: 0 -16px;
  padding: 12px 16px;
  border-radius: 4px;
}

.mock-msg-live {
  font-size: 0.5rem;
  background: var(--ember);
  color: white;
  padding: 1px 5px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 4px;
}


/* ——— Turn Timeline ——— */
.mock-timeline {
  margin-top: 24px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-segment {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.tl-line {
  width: 4px;
  height: 32px;
  border-radius: 2px;
  flex-shrink: 0;
}

.tl-ceo .tl-line { background: var(--sand); }
.tl-researcher .tl-line { background: #0D9488; }
.tl-designer .tl-line { background: var(--ember); }

.tl-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 72px;
  color: var(--ink);
}

.tl-desc {
  font-size: 0.72rem;
  color: var(--dust);
}


/* ——— Participants ——— */
.mock-participants {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  max-width: 500px;
  background: white;
  border: 1px solid var(--chalk);
  border-radius: 6px;
  padding: 14px 20px;
}

.mock-participant {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-p-dim {
  opacity: 0.5;
}

.mock-p-active {
  font-weight: 600;
}

.mock-p-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-p-dot-active {
  background: var(--ember);
  box-shadow: 0 0 6px rgba(212, 88, 10, 0.4);
}

.mock-p-dot-waiting {
  background: var(--sand);
}

.mock-p-dot-done {
  background: #0D9488;
}

.mock-p-name {
  font-size: 0.78rem;
}

.mock-p-status {
  font-family: var(--mono);
  font-size: 0.5rem;
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mock-p-active .mock-p-status {
  color: var(--ember);
}


/* ——— Mobile ——— */
@media (max-width: 640px) {
  .property-grid {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 80px 1fr 1fr 1fr;
  }

  .compare-cell {
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .mock-participants {
    flex-direction: column;
    gap: 10px;
  }
}
