/* CommandPath -- Start Here dynamic tab module
   Shared across all MOS guide pages.
   Depends on CSS custom properties defined per-page:
   --border, --amber, --green, --white, --white-35, --white-50, --white-70,
   --navy-2, --navy-3, --serif, --mono */

/* ---- Start Here: tab shell ---- */
.start-here { padding: 36px 0 32px; border-bottom: 1px solid var(--border); }
.start-here-title { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 400; margin-bottom: 8px; line-height: 1.15; }
.start-here-intro { font-size: 11px; color: var(--white-35); margin-bottom: 18px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.start-here-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }
.start-here-card { all: unset; position: relative; box-sizing: border-box; display: flex; flex-direction: column; border-right: 1px solid var(--border); border-top: 3px solid transparent; padding: 18px 42px 16px 20px; cursor: pointer; text-align: left; min-height: 154px; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.start-here-card::after { content: '→'; position: absolute; top: 17px; right: 18px; font-family: var(--mono); font-size: 16px; color: rgba(232,160,32,0.55); transition: color 0.15s, transform 0.15s; }
.start-here-card:last-child { border-right: none; }
.start-here-card:nth-child(1) { background: #081624; }
.start-here-card:nth-child(2) { background: #0d2e55; }
.start-here-card:nth-child(3) { background: #163f68; }
.start-here-card:nth-child(1):hover { background: #0a1c2e; border-top-color: rgba(232,160,32,0.55); transform: translateY(-1px); }
.start-here-card:nth-child(2):hover { background: #103466; border-top-color: rgba(232,160,32,0.55); transform: translateY(-1px); }
.start-here-card:nth-child(3):hover { background: #1a4775; border-top-color: rgba(232,160,32,0.55); transform: translateY(-1px); }
.start-here-card:hover::after { color: var(--amber); transform: translateX(2px); }
.start-here-card:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; }
.start-here-card:nth-child(1).is-active { background: #0a1c2e; border-top-color: var(--amber); }
.start-here-card:nth-child(2).is-active { background: #103466; border-top-color: var(--amber); }
.start-here-card:nth-child(3).is-active { background: #1a4775; border-top-color: var(--amber); }
.start-here-card.is-active { box-shadow: inset 0 0 0 1px rgba(232,160,32,0.55), 0 10px 28px rgba(0,0,0,0.22); }
.start-here-card.is-active::after { color: var(--amber); }
.start-here-num { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.start-here-card.is-active .start-here-num::before { content: '●'; color: var(--green); margin-right: 7px; font-size: 9px; vertical-align: 1px; }
.start-here-label { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 5px; line-height: 1.2; }
.start-here-desc { font-size: 12px; color: var(--white-50); line-height: 1.5; }
.start-here-action { margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(232,160,32,0.72); }
.start-here-card.is-active .start-here-action { color: var(--amber); }

/* ---- Start Here: panels ---- */
.start-here-panel { display: none; }
.start-here-panel.is-active { display: block; animation: shIn 0.18s ease; }
@keyframes shIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.sh-panel-inner { background: var(--navy-3); border: 1px solid rgba(232,160,32,0.22); border-top: none; padding: 22px 22px 20px; }

/* roles panel */
.sh-role-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.sh-role-row:last-child { border-bottom: none; }
.sh-role-name { font-size: 13px; font-weight: 600; color: var(--white); flex: 1; min-width: 180px; }
.sh-role-salary { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--green); }

/* credentials panel */
.sh-cred-list { display: grid; gap: 10px; }
.sh-cred-row { padding: 12px 14px; background: var(--navy-2); border-left: 2px solid var(--amber); }
.sh-cred-name { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.sh-cred-note { font-size: 12px; color: var(--white-70); line-height: 1.55; }

/* resume panel */
.sh-friction-label { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.friction-table-wrap { overflow-x: auto; }
.friction-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.friction-table th { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 12px; text-align: left; border-bottom: 1px solid rgba(232,160,32,0.3); background: rgba(232,160,32,0.06); color: var(--amber); white-space: nowrap; }
.friction-table td { padding: 11px 12px; color: var(--white-70); line-height: 1.5; vertical-align: top; border-bottom: 1px solid var(--border); }
.friction-table tr:last-child td { border-bottom: none; }
.friction-table td:first-child { font-weight: 700; color: var(--white); min-width: 130px; }
.friction-table td:last-child { color: #5fc49a; }
.friction-table tbody tr:nth-child(odd) { background: var(--navy-2); }
.friction-table tbody tr:nth-child(even) { background: rgba(11,21,36,0.4); }
.sh-intel-cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.sh-intel-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: var(--amber); border: 1px solid var(--amber); padding: 9px 14px; text-decoration: none; transition: opacity 0.15s, border-color 0.15s, color 0.15s, background 0.15s; }
.sh-intel-btn:hover { opacity: 0.88; }
.sh-intel-secondary { color: var(--white); background: rgba(244,241,236,0.04); border-color: rgba(244,241,236,0.18); }
.sh-intel-secondary:hover { color: var(--amber); border-color: rgba(232,160,32,0.45); }
.sh-intel-clearance { color: var(--green); background: rgba(42,157,110,0.08); border-color: rgba(42,157,110,0.45); }
.sh-intel-clearance:hover { color: var(--white); border-color: var(--green); }

/* Resume bullets */
.translation-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.translation-bullets li { font-size: 14px; line-height: 1.65; color: var(--white-70); padding-left: 18px; position: relative; }
.translation-bullets li::before { content: '\2022'; position: absolute; left: 0; color: var(--green); font-size: 16px; line-height: 1.45; }
.translation-formula { background: var(--navy-2); border: 1px solid var(--border); border-left: 2px solid var(--amber); padding: 20px 22px; }
.formula-title { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.formula-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.formula-table th { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(232,160,32,0.28); background: rgba(232,160,32,0.05); }
.formula-table td { padding: 10px; border-bottom: 1px solid var(--border); color: var(--white-70); line-height: 1.55; vertical-align: top; }
.formula-table tr:last-child td { border-bottom: none; }
.formula-table td:first-child { color: var(--white); font-weight: 700; min-width: 136px; }
.formula-table td:nth-child(2) { color: #5fc49a; }
.formula-proof { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--white-70); line-height: 1.6; }
.formula-proof strong { color: var(--amber); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; margin-right: 6px; }

/* shared */
.sh-view-all { display: block; margin-top: 16px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(232,160,32,0.7); text-decoration: none; }
.sh-view-all:hover { color: var(--amber); text-decoration: underline; }
.start-here-footer { margin-top: 14px; display: flex; justify-content: flex-end; }
.sh-view-full { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white-35); text-decoration: none; }
.sh-view-full:hover { color: var(--amber); }
@media (max-width: 680px) {
  .start-here-grid { grid-template-columns: 1fr; }
  .start-here-card { border-right: none; border-bottom: 1px solid var(--border); min-height: 132px; }
  .start-here-card:last-child { border-bottom: none; }
  .friction-table-wrap { overflow-x: visible; }
  .friction-table,
  .friction-table thead,
  .friction-table tbody,
  .friction-table tr,
  .friction-table td { display: block; width: 100%; }
  .friction-table thead { display: none; }
  .friction-table tr { background: var(--navy-2) !important; border: 1px solid var(--border); border-left: 2px solid var(--amber); margin-bottom: 12px; }
  .friction-table td { border-bottom: 1px solid var(--border); padding: 10px 12px; min-width: 0; }
  .friction-table td:last-child { border-bottom: none; }
  .friction-table td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
  .formula-table,
  .formula-table thead,
  .formula-table tbody,
  .formula-table tr,
  .formula-table td { display: block; width: 100%; }
  .formula-table thead { display: none; }
  .formula-table tr { border: 1px solid var(--border); border-left: 2px solid var(--green); margin-bottom: 12px; background: rgba(11,21,36,0.35); }
  .formula-table td { border-bottom: 1px solid var(--border); padding: 10px 12px; min-width: 0; }
  .formula-table td:last-child { border-bottom: none; }
  .formula-table td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
}
