/* Slide 05 (business system architecture): five connected components.
   Thin separators and technical labels only; no decorative cards. */

.system-section .sys-components {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(142, 219, 200, 0.22);
}

.system-section .sys-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 22px 18px 0 0;
  border-right: 1px solid rgba(142, 219, 200, 0.1);
}

.system-section .sys-item + .sys-item {
  padding-left: 18px;
}

.system-section .sys-item:last-child {
  border-right: 0;
}

.system-section .sys-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.system-section .sys-item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.system-section .sys-item > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* One status per component. Implemented or developed components use the solid mint outline;
   documented and defined business models use a dashed, muted outline. */
.system-section .sys-item .status {
  font-size: 9px;
  padding: 6px 9px;
}

.system-section .sys-item .status-developed {
  border-color: rgba(142, 219, 200, 0.6);
  background: rgba(142, 219, 200, 0.08);
  color: var(--mint);
}

.system-section .sys-item .status-input {
  border-style: dashed;
  border-color: rgba(156, 172, 170, 0.5);
  color: #b8c6c4;
}

.system-section .sys-proof {
  font-family: var(--mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.04em;
  line-height: 1.5 !important;
  color: var(--mint) !important;
}

.system-section .sys-item .status-row {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .system-section .sys-components {
    grid-template-columns: 1fr;
  }

  .system-section .sys-item,
  .system-section .sys-item + .sys-item {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(142, 219, 200, 0.1);
  }

  .system-section .sys-item .status-row {
    margin-top: 0;
  }
}

/* Phones: tighter vertical rhythm, text sizes unchanged. */
@media (max-width: 800px) {
  .system-section .sys-components {
    margin-top: 22px;
  }

  .system-section .sys-item,
  .system-section .sys-item + .sys-item {
    gap: 6px;
    padding: 14px 0;
  }

  .system-section .sys-item .status-row {
    padding-top: 4px;
  }
}

/* ---- Visual refinement: line icons, quiet status marks, compact phone layout. ---- */

.system-section .sys-icon {
  width: 26px;
  height: 26px;
  color: var(--mint);
  flex: 0 0 auto;
}

/* Statuses are plain marks, not boxes. Implemented/developed: mint check. Defined/documented models: muted document. */
.system-section .sys-item .status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--mint);
}

.system-section .sys-item .status-input {
  color: #9aaeb2;
  border: 0;
}

.system-section .sys-status-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.system-section .sys-item .status-row {
  margin-top: auto;
  padding-top: 10px;
}

/* Phones: icon on the left, number, name, one line of description and the status on the right. */
@media (max-width: 900px) {
  .system-section .sys-item,
  .system-section .sys-item + .sys-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
    padding: 12px 0;
  }

  .system-section .sys-icon {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 24px;
    height: 24px;
    margin-top: 2px;
  }

  .system-section .sys-num,
  .system-section .sys-item h3,
  .system-section .sys-item > p,
  .system-section .sys-item .status-row {
    grid-column: 2;
    margin: 0;
  }

  .system-section .sys-item .status-row {
    padding-top: 2px;
  }
}
