/* /industries hub (site v5 phase 2, 2026-11-03). Trade switcher: each tab panel carries its own data-tint, so the
   inner.css theme tokens (--pa, --pa-soft, --pa-tint, --g1/--g2) and the Mover OS kit recolour per trade.
   Reuses .ph-center/.pc-panel/.ks/.crew from inner.css; spacing from the shared tokens only. */

/* ---------- 1. Tabs + Pause ---------- */
.ind-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0 0 var(--gap); }
.ind-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ind-tab { min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 0.95rem; font-weight: 500; cursor: pointer; box-shadow: 0 1px 2px rgba(11, 31, 59, .05); }
.ind-tab:hover { border-color: #CBD5E1; }
.ind-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ind-pause { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.9rem; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer; border-radius: 999px; }
.ind-pause:hover { color: var(--ink); background: #fff; }
.ind-pause[hidden] { display: none; }
.ind-ic { width: 14px; height: 14px; fill: currentColor; }
.ind-ic-play { display: none; }
.ind-pause[aria-pressed="true"] .ind-ic-pause { display: none; }
.ind-pause[aria-pressed="true"] .ind-ic-play { display: inline; }
.ind-tab:focus-visible, .ind-pause:focus-visible, .ind-see:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* no JS: the first trade shows on its own; the tabs would do nothing */
html:not(.js) .ind-ctl { display: none; }

/* ---------- 2. One trade panel ---------- */
.ind-panel[hidden] { display: none; }
.ind-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.4rem 1rem; margin: 0 0 14px; }
.ind-bar h3 { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; }
.ind-bar h3::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%; margin-right: 0.45em; background: var(--pa); box-shadow: 0 0 0 4px var(--pa-soft); vertical-align: 0.08em; }
.ind-see { color: var(--pa); font-weight: 600; text-decoration: none; }
.ind-see:hover { text-decoration: underline; }
.ind-trades .crew li { padding-top: 22px; padding-bottom: 22px; }
.motion .ind-panel.is-in .pc-panel, .motion .ind-panel.is-in .crew { animation: ind-in 0.5s ease-out both; }
.motion .ind-panel.is-in .crew { animation-delay: 0.08s; }
@keyframes ind-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 3. Found / Did / Result, one row per trade ---------- */
.ind-fdr { position: relative; margin: 0; padding: clamp(1.25rem, 0.5rem + 2.5vw, 2.75rem); border-radius: var(--r-panel); border: 1px solid #fff;
  background: radial-gradient(40rem 24rem at 100% 0, var(--g1), transparent 62%), radial-gradient(36rem 22rem at 0 100%, var(--g3), transparent 62%), linear-gradient(180deg, #FFFFFF, var(--pa-tint, #EEF2FA));
  box-shadow: 0 30px 60px -45px rgba(11, 31, 59, .35); }
.ind-fdr-tag { position: absolute; top: 14px; right: 18px; font-size: 0.8rem; }
.ind-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ind-row { display: grid; grid-template-columns: minmax(10rem, 0.8fr) repeat(3, minmax(0, 1fr)); gap: 10px 18px; align-items: center; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 31, 59, .05), 0 14px 30px -24px rgba(11, 31, 59, .35); border-left: 4px solid var(--pa); }
.ind-row p { margin: 0; }
.ind-tr { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.01em; }
.ind-tr i { flex: none; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--pa); box-shadow: 0 0 0 4px var(--pa-soft); }
.ind-c { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; font-size: 0.9375rem; line-height: 1.35; color: var(--muted); }
.ind-c b { display: block; color: var(--ink); font-weight: 600; font-size: 0.8125rem; }
.ind-c .kti { font-size: 13px; }
.ind-fdr .ph-cap { margin: 16px 0 0; }
@media (max-width: 63.99rem) {
  .ind-row { grid-template-columns: 1fr; padding: 14px 16px; }
  .ind-fdr-tag { position: static; display: inline-block; margin-bottom: 10px; }
}

/* ---------- Phone ---------- */
@media (max-width: 47.99rem) {
  .ind-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut, 1rem)); padding: 0 var(--gut, 1rem) 2px; max-width: calc(100% + 2 * var(--gut, 1rem)); }
  .ind-tabs::-webkit-scrollbar { display: none; }
  .ind-tab { flex: none; }
  .ind-ctl { flex-direction: column; align-items: stretch; }
  .ind-pause { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ind-panel * { animation: none !important; } }
/* shared p/ul max-widths would shrink the rows to a text measure */
.ind-fdr .ind-rows, .ind-row, .ind-row p { max-width: none; width: auto; }
.ind-rows { width: 100%; }
@media (min-width: 64rem) { .ind-trades .kgrid { grid-template-columns: 1fr 1.45fr; } }
@media (max-width: 47.99rem) { .ind-row { gap: 8px; } .ind-c { font-size: 0.875rem; } }
@media (min-width: 64rem) { .ph-center.ind-trades .ks { height: 40.5em; } }
