/* ---- Flywheel tab (Content > Flywheel, 2026-10-22) ---- */
.fw-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.fw-kind { margin-bottom:0; }
.fw-bar-right { display:flex; gap:10px; flex-wrap:wrap; }
.fw-inline { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--muted); }
.fw-select, .fw-input { background:var(--surface-input); border:1px solid var(--line); color:var(--text); font-family:inherit; font-size:13px; padding:7px 10px; border-radius:var(--radius-8); min-height:36px; }
.fw-input { width:100%; }

.fw-summary-wrap { overflow-x:auto; margin-bottom:18px; }
.fw-summary { width:100%; border-collapse:collapse; font-size:13px; font-variant-numeric:tabular-nums; }
.fw-summary th { text-align:right; font-size:11px; font-weight:600; color:var(--muted); padding:6px 8px; border-bottom:1px solid var(--line); white-space:nowrap; }
.fw-summary th:first-child, .fw-summary td:first-child { text-align:left; }
.fw-summary td { text-align:right; padding:7px 8px; border-bottom:1px solid var(--line-soft); white-space:nowrap; }
.fw-summary .fw-sum-key { white-space:normal; min-width:140px; }
.fw-summary tr.fw-thin td { color:var(--text-faint); }
.fw-summary-note { font-size:11px; color:var(--muted); margin-top:6px; }

.fw-list-head { font-size:12px; color:var(--muted); margin-bottom:8px; }
.fw-list { display:flex; flex-direction:column; gap:8px; }
.fw-card { position:relative; background:var(--surface-raised); border:1px solid var(--line); border-radius:var(--radius-12); }
.fw-card-open { border-color:var(--line-strong); }
.fw-card-head { display:flex; gap:12px; width:100%; padding:10px; background:none; border:0; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.fw-thumb { flex:0 0 64px; height:80px; border-radius:var(--radius-8); overflow:hidden; background:var(--surface-sunken); }
.fw-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.fw-card-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.fw-card-title { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:12px; font-weight:600; padding-right:44px; }
.fw-card-text { font-size:12px; color:var(--text-secondary); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fw-card-metrics { font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums; }
.fw-card-tags { display:flex; flex-wrap:wrap; gap:4px; margin-top:2px; }
.fw-chip { font-size:11px; font-weight:600; padding:2px 7px; border-radius:var(--radius-pill); border:1px solid var(--line); color:var(--text); }
.fw-chip-bag { color:var(--text-secondary); font-weight:500; }
.fw-chip-empty { color:var(--text-faint); border-style:dashed; }
.fw-status { font-size:10px; font-weight:700; letter-spacing:0.3px; padding:2px 7px; border-radius:var(--radius-pill); white-space:nowrap; }
.fw-status-proposed, .fw-status-untagged { color:var(--warn); background:var(--warn-a14); }
.fw-status-confirmed { color:var(--good); background:var(--good-a15); }
.fw-status-ticket { color:var(--text-secondary); background:var(--cream-a06); }
.fw-link { position:absolute; top:10px; right:10px; font-size:12px; color:var(--text-secondary); text-decoration:none; border-bottom:1px dashed var(--line-strong); }

.fw-editor { border-top:1px solid var(--line); padding:12px 10px; display:flex; flex-direction:column; gap:12px; }
.fw-editor-row { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
.fw-field { display:flex; flex-direction:column; gap:4px; font-size:11px; color:var(--muted); min-width:0; }
.fw-field .fw-select { width:100%; }
.fw-bag-row { display:flex; flex-wrap:wrap; gap:6px; }
.fw-bag { background:transparent; border:1px solid var(--line); color:var(--text-secondary); font-family:inherit; font-size:12px; padding:7px 12px; min-height:36px; border-radius:var(--radius-pill); cursor:pointer; }
.fw-bag.on { background:var(--text); color:var(--bg); border-color:var(--text); }
.fw-note { font-size:11px; color:var(--muted); font-style:italic; }
.fw-editor-actions { display:flex; justify-content:flex-end; gap:8px; }

@media (max-width: 600px) {
  .fw-summary { font-size:12px; }
  .fw-summary th, .fw-summary td { padding:6px 4px; }
  .fw-summary th { font-size:10px; }
  .fw-summary .fw-sum-key { min-width:0; }
  .fw-editor-row { grid-template-columns:1fr; }
  .fw-bar-right { width:100%; }
  .fw-inline { flex:1; }
  .fw-inline .fw-select { flex:1; min-width:0; }
}

/* ---- Vocabulary editor (Flywheel > Vocabulary, 2026-10-22) ---- */
.fwv-intro { font-size:13px; color:var(--text-secondary); margin:0 0 16px; max-width:70ch; line-height:1.5; }
.fwv-section { margin-bottom:22px; }
.fwv-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:8px; }
.fwv-section-head h3 { font-size:14px; font-weight:700; margin:0 0 2px; }
.fwv-section-head span { font-size:12px; color:var(--muted); }
.fwv-head { display:grid; grid-template-columns:minmax(120px, 22%) 1fr auto; align-items:center; gap:12px; width:100%; padding:10px 12px;
  background:none; border:0; color:inherit; font:inherit; text-align:left; cursor:pointer; min-height:44px; }
.fwv-key { font-weight:700; font-size:13px; display:flex; align-items:center; gap:6px; }
.fwv-label { font-size:13px; color:var(--text-secondary); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fwv-use { font-size:11px; color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums; }
.fwv-row.is-retired .fwv-key, .fwv-row.is-retired .fwv-label { color:var(--text-faint); }
.fwv-editor { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.fwv-editor .fwv-wide, .fwv-editor .fw-editor-actions, .fwv-editor .fwv-check { grid-column:1 / -1; }
.fwv-area { resize:vertical; min-height:56px; line-height:1.4; }
.fwv-check { flex-direction:row; align-items:center; gap:8px; font-size:12px; color:var(--text-secondary); }
.fwv-retire { color:var(--bad); }
.fwv-gates { display:flex; flex-direction:column; gap:6px; }
.fwv-gate { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 12px; background:var(--surface-raised);
  border:1px solid var(--line); border-radius:var(--radius-12); }
.fwv-gate-label { font-size:13px; display:flex; flex-direction:column; gap:2px; min-width:0; }
.fwv-gate-label em { font-style:normal; font-size:11px; color:var(--muted); }
.fwv-gate-input { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--muted); flex:0 0 auto; }
.fwv-gate-input .fw-input { width:84px; }
@media (max-width: 600px) {
  .fwv-head { grid-template-columns:1fr auto; }
  .fwv-label { grid-column:1 / -1; grid-row:2; white-space:normal; }
  .fwv-editor { grid-template-columns:1fr; }
  .fwv-gate { flex-direction:column; align-items:stretch; }
  .fwv-gate-input .fw-input { flex:1; width:auto; }
}

/* Content links (quick 261023-g22): ads inherit tags from their Reels ticket */
.fw-chip-inherited { color:var(--text-secondary); font-weight:500; border-style:dashed; }
.fw-from { font-weight:500; color:var(--text-secondary); border-bottom:1px dashed var(--line-strong); cursor:pointer; margin-left:6px; }
.fw-inh-note { display:block; margin-top:3px; font-size:10.5px; color:var(--muted); }
.fw-inh-note a { color:var(--text); }
.fw-select:disabled { opacity:.65; cursor:not-allowed; }
