/* Strategies plugin styles */
.strat-app { --strat-fg:#1a2233; --strat-muted:#6b7280; --strat-line:#e5e7eb;
	--strat-accent:#2563eb; --strat-green:#059669; --strat-red:#dc2626; --strat-bg:#fff;
	color:var(--strat-fg); font-size:14px; line-height:1.45; }
.strat-app * { box-sizing:border-box; }
.strat-na { color:#c3c9d2; }

/* Toolbar */
.strat-toolbar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:14px; }
.strat-search { flex:1 1 240px; min-width:180px; padding:9px 12px; border:1px solid var(--strat-line);
	border-radius:8px; font-size:14px; }
.strat-filter { padding:9px 10px; border:1px solid var(--strat-line); border-radius:8px; background:#fff; font-size:14px; }
.strat-toggle { display:flex; align-items:center; gap:6px; color:var(--strat-muted); font-size:13px; }
.strat-count { margin-left:auto; color:var(--strat-muted); font-size:13px; }

/* Table */
.strat-table-wrap { overflow-x:auto; border:1px solid var(--strat-line); border-radius:10px; }
.strat-table { width:100%; border-collapse:collapse; min-width:720px; background:var(--strat-bg); }
.strat-table th, .strat-table td { padding:11px 12px; text-align:left; border-bottom:1px solid var(--strat-line); }
.strat-table thead th { position:sticky; top:0; background:#f8fafc; font-weight:600; font-size:12px;
	text-transform:uppercase; letter-spacing:.03em; color:var(--strat-muted); cursor:pointer; white-space:nowrap; user-select:none; }
.strat-table thead th:hover { color:var(--strat-fg); }
.strat-num { text-align:right; font-variant-numeric:tabular-nums; }
.strat-table tbody tr:hover { background:#f9fafb; }
.strat-col-name a { color:var(--strat-fg); font-weight:600; text-decoration:none; }
.strat-col-name a:hover { color:var(--strat-accent); }
.strat-author { display:block; font-size:12px; color:var(--strat-muted); font-weight:400; }
.strat-strong { font-weight:700; }
.strat-dd { color:var(--strat-red); }
.strat-row-nobt { opacity:.62; }
.strat-badge { display:inline-block; font-size:10px; text-transform:uppercase; letter-spacing:.04em;
	background:#f1f5f9; color:#94a3b8; padding:1px 6px; border-radius:6px; margin-left:6px; vertical-align:middle; }
.strat-sort-active { color:var(--strat-fg) !important; }
.strat-sort-asc::after { content:' ▲'; font-size:9px; }
.strat-sort-desc::after { content:' ▼'; font-size:9px; }

/* Paywall */
.strat-paywall-banner { display:flex; align-items:center; gap:14px; flex-wrap:wrap;
	background:linear-gradient(90deg,#fff7ed,#fffbeb); border:1px solid #fde68a;
	border-radius:10px; padding:12px 16px; margin-bottom:14px; }
.strat-paywall-txt { flex:1 1 260px; font-size:13.5px; color:#7c2d12; }
.strat-paywall-txt strong { color:#9a3412; }
.strat-row.strat-locked { cursor:pointer; color:#9aa4b2; }
.strat-row.strat-locked:hover { background:#fffdf5; }
.strat-row.strat-locked .strat-lock-name { font-weight:600; color:#94a3b8; }
.strat-row.strat-locked .strat-author { color:#b6bec9; }
.strat-lock-cell { color:#cbd2db; font-size:13px; }
.strat-lock-cell::selection { background:transparent; }

/* Locked detail gate */
.strat-lock-gate { border:1px solid var(--strat-line); border-radius:12px; padding:28px 24px;
	text-align:center; background:linear-gradient(180deg,#fffbeb,#fff); margin-top:8px; }
.strat-lock-badge { display:inline-block; background:#f59e0b; color:#fff; font-weight:700;
	font-size:12px; padding:4px 12px; border-radius:20px; margin-bottom:12px; }
.strat-lock-teaser { color:var(--strat-muted); font-style:italic; max-width:560px; margin:0 auto 10px; }
.strat-lock-gate p { max-width:560px; margin:0 auto 8px; color:#374151; }
.strat-lock-actions { display:flex; gap:10px; justify-content:center; margin:16px 0 6px; flex-wrap:wrap; }
.strat-lock-foot { font-size:12.5px; color:var(--strat-muted); }

/* Risk pills */
.strat-pill { display:inline-block; font-size:11px; font-weight:600; padding:2px 9px; border-radius:20px; white-space:nowrap; }
.strat-pill-aggressive { background:#fef2f2; color:#b91c1c; }
.strat-pill-moderate { background:#fffbeb; color:#b45309; }
.strat-pill-conservative { background:#ecfdf5; color:#047857; }
.strat-pill-benchmark, .strat-pill-unknown { background:#f1f5f9; color:#475569; }
.strat-note { color:var(--strat-muted); font-size:12px; margin-top:10px; }

/* Detail */
.strat-detail-head { margin-bottom:18px; }
.strat-back { color:var(--strat-accent); text-decoration:none; font-size:13px; }
.strat-title { margin:8px 0 6px; font-size:26px; line-height:1.2; }
.strat-meta { display:flex; flex-wrap:wrap; gap:12px; align-items:center; color:var(--strat-muted); font-size:13px; }
.strat-follow-wrap { margin-top:14px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }

.strat-btn { display:inline-block; padding:9px 18px; border-radius:8px; border:1px solid transparent;
	font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; }
.strat-btn-follow { background:var(--strat-accent); color:#fff; }
.strat-btn-follow:hover { background:#1d4ed8; }
.strat-btn-following { background:#ecfdf5; color:#047857; border-color:#a7f3d0; }
.strat-btn-upgrade { background:#f59e0b; color:#fff; }
.strat-follow-hint, .strat-follow-soon { color:var(--strat-muted); font-size:12px; }

/* KPIs */
.strat-kpis { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; margin:18px 0; }
.strat-kpi { background:#f8fafc; border:1px solid var(--strat-line); border-radius:10px; padding:12px; text-align:center; }
.strat-kpi-v { display:block; font-size:20px; font-weight:700; font-variant-numeric:tabular-nums; }
.strat-kpi-l { display:block; font-size:11px; color:var(--strat-muted); text-transform:uppercase; letter-spacing:.03em; margin-top:2px; }

/* Grid layout */
.strat-grid { display:grid; grid-template-columns:1fr 300px; gap:20px; align-items:start; }
.strat-card { border:1px solid var(--strat-line); border-radius:12px; padding:16px 18px; margin-bottom:18px; background:#fff; }
.strat-card h2 { font-size:15px; margin:0 0 12px; display:flex; align-items:baseline; gap:8px; }
.strat-card h2 small { font-weight:400; color:var(--strat-muted); font-size:12px; }
.strat-logic { font-size:14px; color:#374151; }
.strat-rules-h { font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.03em;
	color:var(--strat-accent); margin:16px 0 8px; }
.strat-logic ol.strat-rules { margin:0; padding-left:20px; }
.strat-logic ol.strat-rules li { margin:0 0 7px; padding-left:4px; }
.strat-logic ol.strat-rules li::marker { color:var(--strat-accent); font-weight:700; }

/* Chart */
.strat-chart { width:100%; position:relative; }
.strat-chart-svg { width:100%; height:auto; display:block; }
.strat-eq-line { fill:none; stroke:var(--strat-accent); stroke-width:1.6; }
.strat-dd-area { fill:rgba(220,38,38,.14); stroke:var(--strat-red); stroke-width:.8; }
.strat-grid-line { stroke:var(--strat-line); stroke-width:1; stroke-dasharray:3 3; }
.strat-axis { fill:var(--strat-muted); font-size:10px; }
.strat-axis-label { fill:var(--strat-muted); font-size:10px; font-weight:600; }
/* interactive crosshair + markers + tooltip */
.strat-cross { stroke:#9aa4b2; stroke-width:1; stroke-dasharray:3 3; pointer-events:none; }
.strat-eq-dot { fill:var(--strat-accent); stroke:#fff; stroke-width:1.5; pointer-events:none; }
.strat-dd-dot { fill:var(--strat-red); stroke:#fff; stroke-width:1.5; pointer-events:none; }
.strat-tip { position:absolute; pointer-events:none; z-index:5; transform:translate(-50%,-118%);
	background:#111827; color:#fff; font-size:12px; line-height:1.35; padding:7px 10px; border-radius:7px;
	white-space:nowrap; box-shadow:0 4px 14px rgba(0,0,0,.25); }
.strat-tip .strat-tip-d { display:block; font-weight:700; margin-bottom:3px; }
.strat-tip .strat-tip-r { display:flex; align-items:center; gap:6px; }
.strat-tip .strat-tip-r b { margin-left:auto; font-variant-numeric:tabular-nums; }
.strat-tip i { width:9px; height:9px; border-radius:2px; display:inline-block; }
.strat-tip .strat-tip-eq { background:var(--strat-accent); }
.strat-tip .strat-tip-dd { background:var(--strat-red); }

/* Metrics table */
.strat-metrics-table { width:100%; border-collapse:collapse; font-size:13px; }
.strat-metrics-table th, .strat-metrics-table td { padding:7px 10px; border-bottom:1px solid var(--strat-line); text-align:left; }
.strat-metrics-table th { color:var(--strat-muted); font-weight:600; font-size:11px; text-transform:uppercase; }

/* Monthly returns grid */
.strat-mg-wrap { overflow-x:auto; }
.strat-monthgrid { border-collapse:collapse; width:100%; min-width:660px; font-size:12px; font-variant-numeric:tabular-nums; }
.strat-monthgrid th, .strat-monthgrid td { padding:5px 6px; text-align:right; border:1px solid var(--strat-line); white-space:nowrap; color:var(--strat-fg); }
.strat-monthgrid thead th { background:#f8fafc; color:var(--strat-muted); font-weight:600; font-size:11px; text-transform:uppercase; letter-spacing:.02em; }
.strat-monthgrid tbody th.strat-mg-y, .strat-monthgrid thead th.strat-mg-y {
	text-align:left; font-weight:700; background:#f8fafc; position:sticky; left:0; z-index:1; }
.strat-monthgrid .strat-mg-yr { font-weight:700; border-left:2px solid #cbd5e1; }
.strat-monthgrid .strat-mg-empty { background:#fafbfc; }

/* Allocation */
.strat-alloc, .strat-insts { list-style:none; margin:0; padding:0; }
.strat-alloc li { display:grid; grid-template-columns:auto 1fr auto; grid-template-areas:"sym cls wt" "bar bar bar";
	gap:2px 8px; padding:8px 0; border-bottom:1px solid var(--strat-line); align-items:center; }
.strat-alloc-sym { grid-area:sym; font-weight:700; }
.strat-alloc-cls { grid-area:cls; color:var(--strat-muted); font-size:12px; }
.strat-alloc-wt { grid-area:wt; font-weight:600; font-variant-numeric:tabular-nums; }
.strat-alloc-bar { grid-area:bar; height:5px; background:#eef2f7; border-radius:3px; overflow:hidden; margin-top:3px; }
.strat-alloc-bar i { display:block; height:100%; background:var(--strat-accent); }
.strat-insts li { display:flex; gap:8px; align-items:baseline; padding:6px 0; border-bottom:1px solid var(--strat-line); }

@media (max-width:820px) {
	.strat-grid { grid-template-columns:1fr; }
	.strat-kpis { grid-template-columns:repeat(3,1fr); }
}

/* ===================== Dark theme (site uses a dark palette) ===================== */
.strat-app {
	--strat-fg:#e6edf3; --strat-muted:#9aa4b2; --strat-line:#2a3138;
	--strat-bg:#161b22; --strat-accent:#4f8cff; --strat-green:#3fb950; --strat-red:#f85149;
}
.strat-app .strat-na { color:#4a525d; }
/* toolbar */
.strat-app .strat-search, .strat-app .strat-filter {
	background:#0f141b; border-color:#2a3138; color:var(--strat-fg); }
.strat-app .strat-search::placeholder { color:#6b7280; }
/* table */
.strat-app .strat-table-wrap { border-color:#2a3138; }
.strat-app .strat-table { background:#161b22; }
.strat-app .strat-table th, .strat-app .strat-table td { border-bottom-color:#2a3138; }
.strat-app .strat-table thead th { background:#1c2230; color:#9aa4b2; }
.strat-app .strat-table thead th:hover { color:#e6edf3; }
.strat-app .strat-table tbody tr:hover { background:#1c2230; }
.strat-app .strat-col-name a { color:#e6edf3; }
.strat-app .strat-col-name a:hover { color:#4f8cff; }
.strat-app .strat-badge { background:#21262d; color:#8b949e; }
.strat-app .strat-row.strat-locked:hover { background:#1c2230; }
.strat-app .strat-lock-cell { color:#3a434f; }
/* pills → translucent on dark */
.strat-app .strat-pill-aggressive { background:rgba(248,81,73,.16); color:#ff9a91; }
.strat-app .strat-pill-moderate { background:rgba(245,158,11,.16); color:#fcd34d; }
.strat-app .strat-pill-conservative { background:rgba(63,185,80,.16); color:#6ee7b7; }
.strat-app .strat-pill-benchmark, .strat-app .strat-pill-unknown { background:#21262d; color:#9aa4b2; }
/* cards / kpis / logic */
.strat-app .strat-card { background:#161b22; border-color:#2a3138; }
.strat-app .strat-kpi { background:#1c2230; border-color:#2a3138; }
.strat-app .strat-logic { color:#c9d1d9; }
.strat-app .strat-metrics-table th, .strat-app .strat-metrics-table td { border-bottom-color:#2a3138; }
/* allocation / instruments */
.strat-app .strat-alloc li, .strat-app .strat-insts li { border-bottom-color:#2a3138; }
.strat-app .strat-alloc-bar { background:#2a3138; }
/* chart */
.strat-app .strat-grid-line { stroke:#2a3138; }
/* monthly grid */
.strat-app .strat-monthgrid th, .strat-app .strat-monthgrid td { border-color:#2a3138; color:#e6edf3; }
.strat-app .strat-monthgrid thead th { background:#1c2230; color:#9aa4b2; }
.strat-app .strat-monthgrid tbody th.strat-mg-y, .strat-app .strat-monthgrid thead th.strat-mg-y { background:#1c2230; }
.strat-app .strat-monthgrid .strat-mg-empty { background:#12161d; }
.strat-app .strat-monthgrid .strat-mg-yr { border-left-color:#3a434f; }
/* paywall banner + lock gate */
.strat-app .strat-paywall-banner { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.35); }
.strat-app .strat-paywall-txt { color:#fcd34d; }
.strat-app .strat-paywall-txt strong { color:#fde68a; }
.strat-app .strat-lock-gate { background:linear-gradient(180deg,rgba(245,158,11,.07),transparent); border-color:#2a3138; }
.strat-app .strat-lock-gate p { color:#c9d1d9; }
.strat-app .strat-btn-following { background:rgba(63,185,80,.16); color:#6ee7b7; border-color:rgba(63,185,80,.4); }

/* Recent allocation changes (v1.1.0) */
.strat-trades { width: 100%; border-collapse: collapse; font-size: 14px; }
.strat-trades th, .strat-trades td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(128,128,128,.18); }
.strat-trades th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.strat-act { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.strat-act-buy      { background: rgba(5,150,105,.15);  color: #059669; }
.strat-act-increase { background: rgba(5,150,105,.10);  color: #059669; }
.strat-act-sell     { background: rgba(220,38,38,.15);  color: #dc2626; }
.strat-act-decrease { background: rgba(220,38,38,.10);  color: #dc2626; }
.strat-trades-locked { text-align: center; padding: 18px 12px; }
.strat-trades-locked p { margin: 0 0 12px; opacity: .85; }
.strat-upgrade-btn { display: inline-block; padding: 8px 18px; border-radius: 6px; background: #059669; color: #fff !important; font-weight: 600; text-decoration: none; }
.strat-upgrade-btn:hover { filter: brightness(1.08); }

/* Phase 4: contributor strategies on the public hub (v1.4.0) */
.strat-symbol { max-width: 170px; }
.strat-badge-contrib { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px;
	font-size: 11px; font-weight: 600; background: rgba(99,102,241,.18); color: #818cf8; text-transform: none; }
.strat-rep { color: #818cf8; font-weight: 700; margin-left: 1px; }
.strat-rep-note { font-size: 12px; opacity: .6; margin: 6px 0 18px; }
.strat-draft-note { background: rgba(251,191,36,.12); color: #fbbf24; padding: 8px 12px; border-radius: 8px; font-size: 13px; }

.strat-chead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin: 10px 0 16px; }
.strat-chead h1 { margin: 0 0 8px; font-size: 26px; }
.strat-cmeta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; opacity: .9; }
.strat-cauthor a { color: #818cf8; }
.strat-chead-cta { display: flex; gap: 8px; align-items: center; }
.strat-subscribe { padding: 10px 20px; border: 0; border-radius: 8px; background: #059669; color: #fff;
	font-weight: 700; font-size: 15px; cursor: pointer; }
.strat-subscribe:hover { filter: brightness(1.08); }
.strat-subscribe[disabled] { opacity: .6; cursor: default; }
.strat-subscribe-year { background: transparent; border: 1px solid #059669; color: #059669; }
.strat-subscribed { color: #059669; font-weight: 700; font-size: 15px; }
.strat-cta-edit { padding: 9px 18px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px;
	text-decoration: none; font-weight: 600; }

.strat-ckpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.strat-ckpi { border: 1px solid rgba(128,128,128,.2); border-radius: 10px; padding: 10px 12px; text-align: center; }
.strat-ckpi-l { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .6; }
.strat-ckpi-v { display: block; font-size: 18px; font-weight: 700; margin-top: 3px; }

.strat-cgrid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }
.strat-inst-list { list-style: none; margin: 0; padding: 0; }
.strat-inst-list li { padding: 7px 0; border-bottom: 1px solid rgba(128,128,128,.15); font-size: 14px; }
.strat-inst-list li span { display: block; font-size: 12px; opacity: .6; }

@media (max-width: 800px) {
	.strat-ckpis { grid-template-columns: repeat(3, 1fr); }
	.strat-cgrid { grid-template-columns: 1fr; }
}

/* ============================================================
 * Fed Watch look (2026-11-18): align with the site's Fed Watch /
 * section design system (mu-plugins/mf-fed-watch/fw.css) — teal
 * #3ee0c8 accent, one consistent teal primary CTA, square corners.
 * Appended as an override block so it is easy to revert.
 * ============================================================ */
/* accent blue -> teal: flows through --strat-accent to links,
   follow button, equity-curve line/dot, allocation bars, rule
   markers and the name-column hover. */
.strat-app { --strat-accent:#3ee0c8; }
.strat-app .strat-col-name a:hover { color:#3ee0c8; }   /* beats the hard-coded blue at .strat-app .strat-col-name a:hover */
.strat-back, .strat-rules-h { color:#3ee0c8; }
.strat-seo a, .strat-seo-links a { color:#3ee0c8; }
/* primary CTAs -> teal (were amber / green / blue), one look site-wide */
.strat-btn-follow { color:#0d1520; }
/* hover: lighter teal + explicit dark text (beats the theme's a:hover which
   recolors link text to --nv-secondary-accent and drops opacity to .9). */
.strat-btn-follow:hover { background:#12D1B8; color:#0d1520; opacity:1; }
.strat-btn-upgrade, .strat-upgrade-btn, .strat-subscribe {
	background:#3ee0c8; color:#0d1520; border-color:#3ee0c8; }
.strat-btn-upgrade:hover, .strat-upgrade-btn:hover, .strat-subscribe:hover {
	background:#12D1B8; color:#0d1520; border-color:#12D1B8; filter:none; opacity:1; }
.strat-subscribe-year { background:transparent; border:1px solid #3ee0c8; color:#3ee0c8; }
.strat-lock-badge { background:#3ee0c8; color:#0d1520; }
/* paywall banner -> fw teal "free account" style (was amber/gold) */
.strat-paywall-banner, .strat-app .strat-paywall-banner {
	background:rgba(62,224,200,.09); border:1px solid rgba(62,224,200,.42); }
.strat-paywall-txt, .strat-app .strat-paywall-txt { color:#8fe9dd; }
.strat-paywall-txt strong, .strat-app .strat-paywall-txt strong { color:#cdf6f0; }
.strat-lock-gate, .strat-app .strat-lock-gate {
	background:linear-gradient(180deg,rgba(62,224,200,.08),transparent); }
/* square corners to match fw's sharp surfaces (only the shared
   round back-to-top button keeps its radius) */
.strat-table-wrap, .strat-table, .strat-card, .strat-kpi, .strat-ckpi,
.strat-search, .strat-filter, .strat-badge, .strat-badge-contrib,
.strat-pill, .strat-paywall-banner, .strat-lock-gate, .strat-lock-badge,
.strat-btn, .strat-act, .strat-upgrade-btn, .strat-subscribe,
.strat-subscribe-year, .strat-cta-edit, .strat-alloc-bar,
.strat-alloc-bar i { border-radius:0; }
/* breadcrumb — matches fw.css .crumb (Home › … › current) */
.strat-crumb { font-size:12px; color:#93a1ad; margin:0 0 10px;
	display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.strat-crumb a { color:#93a1ad; text-decoration:none; }
.strat-crumb a:hover { color:#3ee0c8; }
.strat-crumb .strat-crumb-sep { color:#5b6773; }
.strat-crumb [aria-current="page"] { color:#e6edf3; }
/* locked (premium) detail — gated layout that mirrors the free detail
   (KPI row + chart) without printing any premium metric. */
.strat-lock-ico { width:1em; height:1em; vertical-align:-.15em; }
.strat-kpi-lock { display:inline-flex; align-items:center; justify-content:center; color:#3ee0c8; }
.strat-gate { position:relative; overflow:hidden; border:1px solid #2a3138; min-height:300px;
	display:flex; align-items:center; justify-content:center; padding:48px 20px; margin:18px 0; }
.strat-gate-ph { position:absolute; inset:0; opacity:.3; filter:blur(2px); pointer-events:none; }
.strat-gate-ph svg { width:100%; height:100%; display:block; }
.strat-gate-grid { fill:none; stroke:#2a3138; stroke-width:1; }
.strat-gate-area { fill:rgba(62,224,200,.12); stroke:none; }
.strat-gate-line { fill:none; stroke:#3ee0c8; stroke-width:2; }
.strat-gate-box { position:relative; z-index:1; max-width:480px; text-align:center;
	background:rgba(13,17,23,.9); border:1px solid #2a3138; padding:22px 24px; }
.strat-gate-box .strat-lock-badge { margin-bottom:12px; }
.strat-gate-box .strat-lock-teaser { margin-top:0; }
.strat-gate-copy { color:#9aa4b2; font-size:14px; }
/* risk pills: lock to the dark-theme look regardless of .strat-app ancestry
   (the site is dark-only) and drop the inherited transition:all — otherwise a
   pill can flash to the pale light-mode base (bright mint + dark text) on
   hover / scroll / re-paint. */
.strat-pill { transition:none; }
.strat-pill-aggressive   { background:rgba(248,81,73,.16);  color:#ff9a91; }
.strat-pill-moderate     { background:rgba(245,158,11,.16); color:#fcd34d; }
.strat-pill-conservative { background:rgba(63,185,80,.16);  color:#6ee7b7; }
.strat-pill-benchmark,
.strat-pill-unknown      { background:#21262d; color:#9aa4b2; }
