/* =============================================================
   SAMEKORO LAB — opsmate-pro.css
   AWS OpsMate Pro 詳細ページ専用の追加スタイル。
   基本トーンは style.css / experiments.css を継承する。
   ============================================================= */

/* ---- ヒーロー下のステータス行 ---- */
.op-status {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 18px;
}
.op-status .chip { font-size: 12px; }
.chip--mock {
  background: rgba(84, 216, 232, 0.12);
  border: 1px solid rgba(126, 214, 240, 0.55);
  color: #7ed6f0;
}
.chip--pending {
  background: rgba(255, 190, 92, 0.10);
  border: 1px solid rgba(255, 190, 92, 0.45);
  color: #f5c87a;
}
.op-hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn--disabled {
  opacity: 0.55; cursor: not-allowed; pointer-events: none;
  border-style: dashed;
}

/* ---- 汎用リスト ---- */
.op-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.op-list { margin: 0; padding: 0; list-style: none; }
.op-list li {
  position: relative; padding: 7px 0 7px 26px;
  font-size: 14px; color: var(--text-2, #b7cadd); line-height: 1.7;
  border-bottom: 1px dashed rgba(126, 214, 240, 0.12);
}
.op-list li:last-child { border-bottom: none; }
.op-list li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(84, 216, 232, 0.55);
}
.op-list--check li::before {
  width: 10px; height: 6px; border-radius: 0; background: none;
  border-left: 2px solid #54d8e8; border-bottom: 2px solid #54d8e8;
  transform: rotate(-45deg); top: 13px;
}
.op-list--todo li::before {
  background: none; border: 1.5px dashed rgba(255, 190, 92, 0.7);
  width: 8px; height: 8px; border-radius: 2px; top: 13px;
}

/* ---- 検証状態の区別テーブル ---- */
.op-verify { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.op-verify th, .op-verify td {
  text-align: left; padding: 9px 12px;
  border-bottom: 1px solid rgba(126, 214, 240, 0.14);
  color: var(--text-2, #b7cadd);
}
.op-verify th { color: #7ed6f0; font-weight: 500; white-space: nowrap; }
.op-verify .yes { color: #6fe3c0; }
.op-verify .no { color: #f5c87a; }

/* ---- 構成図（HTML/CSSのみ・JS不要） ---- */
.op-diagram { display: flex; flex-direction: column; gap: 14px; }
.op-diagram__row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; justify-content: center;
}
.op-node {
  flex: 1 1 130px; max-width: 200px; min-width: 120px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(13, 36, 60, 0.72);
  border: 1px solid rgba(126, 214, 240, 0.45);
  text-align: center;
}
.op-node strong { display: block; font-size: 13px; color: #dcecf7; font-weight: 500; }
.op-node span { display: block; font-size: 11px; color: #8fb0c9; margin-top: 3px; line-height: 1.5; }
.op-node--core {
  background: linear-gradient(160deg, rgba(24, 61, 94, 0.9), rgba(10, 30, 52, 0.9));
  border-color: rgba(84, 216, 232, 0.8);
}
.op-node--future { border-style: dashed; opacity: 0.72; }
.op-node--future strong::after {
  content: "（将来）"; font-size: 10px; color: #f5c87a; margin-left: 4px;
}
.op-arrow {
  text-align: center; color: rgba(126, 214, 240, 0.6);
  font-size: 16px; line-height: 1; letter-spacing: 8px; padding-left: 8px;
}
.op-legend {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px;
  font-size: 12px; color: #8fb0c9;
}
.op-legend i {
  display: inline-block; width: 22px; height: 12px; border-radius: 4px;
  vertical-align: -1px; margin-right: 6px;
  border: 1px solid rgba(126, 214, 240, 0.6); background: rgba(13, 36, 60, 0.72);
}
.op-legend .future i { border-style: dashed; opacity: 0.72; }

/* ---- サンプルレポート ---- */
.op-sample-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.op-sample-card { position: relative; padding: 18px 18px 16px; }
.op-sample-card h3 { font-size: 15px; margin: 0 0 6px; color: #dcecf7; font-weight: 500; }
.op-sample-card p { font-size: 12.5px; color: #8fb0c9; margin: 0 0 12px; line-height: 1.7; }
.mockbadge {
  display: inline-block; font-size: 10px; letter-spacing: 0.08em;
  padding: 2px 8px; border-radius: 999px; margin-bottom: 10px;
  background: rgba(255, 190, 92, 0.12); border: 1px solid rgba(255, 190, 92, 0.5);
  color: #f5c87a; font-family: "Space Grotesk", sans-serif;
}

/* ---- 使用技術 ---- */
.op-tech { display: flex; flex-wrap: wrap; gap: 10px; }
.op-tech li {
  list-style: none; font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: rgba(84, 216, 232, 0.07);
  border: 1px solid rgba(126, 214, 240, 0.35); color: #a8cfe4;
}

/* ---- ポートフォリオ解説（Q&A） ---- */
.op-qa dt {
  font-size: 14.5px; color: #7ed6f0; font-weight: 500;
  margin-top: 18px; padding-left: 14px; position: relative;
}
.op-qa dt::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 2px; width: 3px;
  border-radius: 2px; background: rgba(84, 216, 232, 0.6);
}
.op-qa dt:first-child { margin-top: 0; }
.op-qa dd {
  margin: 6px 0 0 14px; font-size: 13.5px; color: var(--text-2, #b7cadd); line-height: 1.85;
}

/* ---- 狭幅 ---- */
@media (max-width: 760px) {
  .op-cols { grid-template-columns: 1fr; }
  .op-node { max-width: none; }
  .op-verify { font-size: 12.5px; }
  .op-verify th, .op-verify td { padding: 7px 8px; }
}
