/* Trading Indicators page (commodities_indicators.php), styled after the Sales
   Plan page: the same palette, type and section patterns as
   local/sales_plan/sales_plan.css, under its own ti- prefix, plus the live
   TradingView chart frame and the indicator and metal cards. */
.indicators-page { --ti-ink:#172c3b; --ti-muted:#59707d; --ti-green:#159b83; --ti-green-dark:#087a69; --ti-mint:#e8f7f3; --ti-white:#fff; --ti-border:#dce7e9; --ti-shadow:0 16px 44px rgba(20,49,61,.09); --ti-radius:20px; --ti-width:1160px; }
.indicators-page *, .indicators-page *::before, .indicators-page *::after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:120px; }
.indicators-page { overflow:hidden; color:var(--ti-ink); background:var(--ti-white); font-family:"Noto Sans", "Segoe UI", Arial, sans-serif; font-size:16px; line-height:1.65; letter-spacing:normal; -webkit-font-smoothing:antialiased; }
.indicators-page :focus-visible { outline:3px solid var(--ti-green-dark); outline-offset:3px; }

/* Site template overrides: the template colours h1-h3 and gives bare ul/ol items padding, bullets and counters */
.indicators-page h1, .indicators-page h2, .indicators-page h3 { color:inherit; font-family:inherit; font-weight:700; }
.indicators-page h3 { letter-spacing:normal; }
.indicators-page ul, .indicators-page ol { margin:0; padding:0; list-style:none; }
.indicators-page ul li, .indicators-page ol li { margin:0; padding:0; }
.indicators-page ul li::before, .indicators-page ol li::before { content:none; position:static; width:auto; height:auto; border-radius:0; background:none; }

/* Shared bits */
.indicators-page .ti-container { width:min(var(--ti-width), calc(100% - 44px)); margin:0 auto; }
.indicators-page .ti-topline { height:5px; background:linear-gradient(90deg, #087a69, #23b69a 58%, #9be2d2); }
.indicators-page .ti-btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 20px; border:1px solid transparent; border-radius:10px; font-family:inherit; font-size:16px; font-weight:750; text-decoration:none; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease; }
.indicators-page .ti-btn:hover { transform:translateY(-2px); }
.indicators-page .ti-btn-primary, .indicators-page .ti-btn-primary:hover { color:#fff; background:var(--ti-green-dark); box-shadow:0 9px 20px rgba(8,122,105,.18); }
.indicators-page .ti-btn-primary:hover { background:#056858; }
.indicators-page .ti-btn-secondary, .indicators-page .ti-btn-secondary:hover { color:var(--ti-ink); background:rgba(255,255,255,.78); border-color:#cbdcde; }
.indicators-page .ti-btn-light, .indicators-page .ti-btn-light:hover { color:#0e5e55; background:#fff; }
.indicators-page .ti-btn-arrow { margin-left:10px; }

/* Hero, with the site-wide buy heading (extbc_buy_head) as its first row */
.indicators-page .ti-hero { position:relative; padding:40px 0 72px; background:radial-gradient(circle at 83% 19%, rgba(56,193,163,.15), transparent 26%), radial-gradient(circle at 8% 88%, rgba(63,143,168,.09), transparent 28%), linear-gradient(135deg, #f7fbfb 0%, #edf7f5 56%, #f8fbfc 100%); border-bottom:1px solid var(--ti-border); }
.indicators-page .ti-buy { margin-bottom:56px; padding-bottom:22px; border-bottom:1px solid var(--ti-border); }
.indicators-page .ti-buy .buy-head__title { font-size:clamp(1.2rem, 2vw, 1.5rem); font-weight:800; line-height:1.3; letter-spacing:-.02em; }
.indicators-page .ti-buy .buy-head__note { color:var(--ti-muted); }
.indicators-page .ti-hero-grid { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(320px, .85fr); gap:54px; align-items:center; }
.indicators-page .ti-eyebrow { display:inline-flex; align-items:center; gap:9px; padding:7px 12px; border:1px solid #c9e9e2; border-radius:999px; color:var(--ti-green-dark); background:rgba(255,255,255,.8); font-size:12px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.indicators-page .ti-eyebrow-dot { width:7px; height:7px; border-radius:50%; background:var(--ti-green); }
.indicators-page .ti-hero .ti-display { max-width:720px; margin:22px 0 20px; font-size:clamp(38px, 5vw, 62px); line-height:1.06; letter-spacing:-.045em; font-weight:780; }
.indicators-page .ti-hero .ti-display span { color:var(--ti-green-dark); }
.indicators-page .ti-lead { max-width:690px; margin:0; color:#435d6b; font-size:clamp(18px, 2vw, 21px); line-height:1.6; }
.indicators-page .ti-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.indicators-page .ti-hero-note { margin-top:17px; color:var(--ti-muted); font-size:13px; }

/* Illustrative dashboard card, as on the Sales Plan page: tiles over a panel of rows */
.indicators-page .ti-dashboard { position:relative; padding:20px; border:1px solid rgba(197,218,220,.95); border-radius:22px; background:rgba(255,255,255,.87); box-shadow:var(--ti-shadow); transform:rotate(1deg); }
.indicators-page .ti-dashboard::before { content:""; position:absolute; inset:-11px 14px 14px -11px; z-index:-1; border-radius:22px; background:#cceee5; }
.indicators-page .ti-dash-head { display:flex; justify-content:space-between; align-items:center; gap:12px; padding-bottom:16px; border-bottom:1px solid var(--ti-border); }
.indicators-page .ti-dash-title { font-size:13px; font-weight:800; }
.indicators-page .ti-dash-period { color:var(--ti-muted); font-size:11px; white-space:nowrap; }
.indicators-page .ti-dash-metrics { display:grid; grid-template-columns:repeat(2, 1fr); gap:10px; margin-top:14px; }
.indicators-page .ti-metric { padding:13px; border:1px solid #e4edef; border-radius:12px; background:#fbfdfd; }
.indicators-page .ti-metric-label { color:var(--ti-muted); font-size:11px; }
.indicators-page .ti-metric-value { margin-top:2px; font-size:22px; font-weight:800; letter-spacing:-.035em; }
.indicators-page .ti-metric-value small { font-size:11px; color:var(--ti-green-dark); letter-spacing:0; }
.indicators-page .ti-dash-panel { margin-top:12px; padding:13px 15px 6px; border:1px solid #e4edef; border-radius:12px; background:#fbfdfd; }
.indicators-page .ti-dash-panel-title { margin-bottom:4px; font-size:11px; font-weight:750; }
.indicators-page .ti-dash-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:9px 0; border-top:1px solid #e9f0f1; font-size:12.5px; }
.indicators-page .ti-dash-panel-title + .ti-dash-row { border-top:0; }
.indicators-page .ti-dash-tag { flex:0 0 auto; padding:3px 9px; border-radius:99px; background:#d7f2e9; color:var(--ti-green-dark); font-size:10.5px; font-weight:800; white-space:nowrap; }

/* Sections */
.indicators-page .ti-section { padding:82px 0; }
.indicators-page .ti-section-alt { background:#f7fafb; border-top:1px solid #edf2f3; border-bottom:1px solid #edf2f3; }
.indicators-page .ti-section-heading { max-width:790px; margin:0 auto 40px; text-align:center; }
.indicators-page .ti-kicker { margin:0 0 10px; color:var(--ti-green-dark); font-size:12px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.indicators-page .ti-section h2 { margin:0; font-size:clamp(29px, 3.2vw, 42px); line-height:1.16; letter-spacing:-.035em; }
.indicators-page .ti-section-heading > p:last-child { margin:17px auto 0; max-width:700px; color:var(--ti-muted); font-size:17px; }

/* Cards */
.indicators-page .ti-feature-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px; }
.indicators-page .ti-card { height:100%; padding:26px; border:1px solid var(--ti-border); border-radius:var(--ti-radius); background:#fff; box-shadow:0 5px 20px rgba(20,49,61,.025); }
.indicators-page .ti-card-icon { display:flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:13px; background:var(--ti-mint); color:var(--ti-green-dark); }
.indicators-page .ti-card-icon svg { width:23px; height:23px; }
.indicators-page .ti-card h3 { margin:19px 0 9px; font-size:19px; line-height:1.3; letter-spacing:-.015em; }
.indicators-page .ti-card p { margin:0; color:var(--ti-muted); font-size:14px; }
.indicators-page .ti-checklist { display:grid; gap:9px; margin:19px 0 0; padding:0; list-style:none; }
.indicators-page .ti-checklist li { position:relative; padding-left:22px; color:#405965; font-size:14px; }
.indicators-page .ti-checklist li::before { content:"✓"; position:absolute; left:0; top:0; color:var(--ti-green-dark); font-weight:900; }

/* Copy beside a panel */
.indicators-page .ti-split { display:grid; grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr); gap:62px; align-items:center; }
.indicators-page .ti-copy p { color:var(--ti-muted); }
.indicators-page .ti-copy .ti-kicker { color:var(--ti-green-dark); }
.indicators-page .ti-copy h2 { max-width:620px; }
.indicators-page .ti-copy h2 + p { margin-top:17px; }
.indicators-page .ti-benefit-list { display:grid; gap:15px; margin-top:26px; }
.indicators-page .ti-benefit { display:grid; grid-template-columns:30px 1fr; gap:13px; align-items:start; }
.indicators-page .ti-benefit-check { display:flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:50%; background:var(--ti-mint); color:var(--ti-green-dark); font-weight:900; }
.indicators-page .ti-benefit strong { display:block; margin:0 0 2px; font-size:15px; }
.indicators-page .ti-benefit span { display:block; color:var(--ti-muted); font-size:14px; }
.indicators-page .ti-panel { padding:28px; border-radius:22px; background:linear-gradient(155deg, #edf8f5, #f6fafb); border:1px solid #d7ebe6; }
.indicators-page .ti-panel-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; align-items:center; margin-bottom:20px; }
.indicators-page .ti-panel-head strong { font-size:15px; }
.indicators-page .ti-status { padding:5px 9px; border-radius:99px; background:#d7f2e9; color:#087a69; font-size:11px; font-weight:800; }
.indicators-page .ti-row { margin-top:13px; padding:14px 16px; border:1px solid #dce9e8; border-radius:12px; background:rgba(255,255,255,.9); }
.indicators-page .ti-row-top { display:flex; justify-content:space-between; gap:16px; font-size:14px; font-weight:750; }
.indicators-page .ti-row-top span:last-child { color:var(--ti-green-dark); text-align:right; }
.indicators-page .ti-row p { margin:4px 0 0; color:var(--ti-muted); font-size:13px; }

/* KPI-style tiles */
.indicators-page .ti-kpi-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
.indicators-page .ti-kpi { padding:21px; border-radius:15px; background:#fff; border:1px solid var(--ti-border); }
.indicators-page .ti-kpi strong { display:block; font-size:17px; line-height:1.3; }
.indicators-page .ti-kpi span { display:block; margin-top:7px; color:var(--ti-muted); font-size:13px; }

/* Side note */
.indicators-page .ti-note { margin:24px 0 0; padding:16px 18px; border-left:3px solid var(--ti-green); background:#f4faf8; color:#49616a; font-size:14px; }
.indicators-page .ti-note a { color:var(--ti-green-dark); font-weight:700; }

/* FAQ */
.indicators-page .ti-faq { max-width:860px; margin:0 auto; }
.indicators-page .ti-faq details { padding:20px 0; border-bottom:1px solid var(--ti-border); }
.indicators-page .ti-faq summary { position:relative; padding-right:28px; list-style:none; font-weight:800; cursor:pointer; }
.indicators-page .ti-faq summary::-webkit-details-marker { display:none; }
.indicators-page .ti-faq summary::after { content:"+"; position:absolute; right:2px; top:-4px; color:var(--ti-green-dark); font-size:24px; font-weight:400; }
.indicators-page .ti-faq details[open] summary::after { content:"−"; }
.indicators-page .ti-faq details p { margin:12px 0 0; color:var(--ti-muted); }

/* Contact band, text left and button right */
.indicators-page .ti-cta { padding:64px 0; color:#fff; background:linear-gradient(120deg, #10394a, #0c695f); }
.indicators-page .ti-cta-grid { display:flex; justify-content:space-between; align-items:center; gap:32px; }
.indicators-page .ti-cta-grid > .ti-btn { flex:0 0 auto; }
.indicators-page .ti-cta h2 { max-width:690px; margin:0; font-size:clamp(28px, 3.3vw, 40px); line-height:1.15; letter-spacing:-.035em; }
.indicators-page .ti-cta-copy p { max-width:700px; margin:13px 0 0; color:#d1e4e6; }

/* Live TradingView chart: the widget fills a framed card */
.indicators-page .ti-chart { height:600px; padding:12px 12px 4px; border:1px solid var(--ti-border); border-radius:var(--ti-radius); background:#fff; box-shadow:var(--ti-shadow); }
.indicators-page .ti-chart .tradingview-widget-copyright { font-size:12px; line-height:28px; text-align:right; }
.indicators-page .ti-chart .tradingview-widget-copyright a { color:var(--ti-green-dark); text-decoration:none; }

/* Core indicators: three cards over two wider ones */
.indicators-page .ti-indicator-grid { display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:18px; }
.indicators-page .ti-indicator-grid > * { grid-column:span 2; }
.indicators-page .ti-indicator-grid > :nth-child(n+4) { grid-column:span 3; }
.indicators-page .ti-bench { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; }
.indicators-page .ti-bench span { padding:3px 10px; border:1px solid #cfe7e1; border-radius:99px; background:var(--ti-mint); color:var(--ti-green-dark); font-size:12px; font-weight:750; }

/* Precious metals */
.indicators-page .ti-metal-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
.indicators-page .ti-symbol { display:flex; align-items:center; justify-content:center; width:56px; height:46px; border-radius:13px; background:var(--ti-mint); color:var(--ti-green-dark); font-size:14px; font-weight:850; letter-spacing:.05em; }
.indicators-page .ti-card-label { display:block; margin-top:14px; color:var(--ti-ink); font-size:11px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.indicators-page .ti-card .ti-card-label + p { margin-top:3px; }
@media (max-width:980px) {
    .indicators-page .ti-cta-grid { flex-direction:column; align-items:flex-start; }
    .indicators-page .ti-hero-grid, .indicators-page .ti-split { grid-template-columns:1fr; }
    .indicators-page .ti-hero-grid { gap:42px; }
    .indicators-page .ti-dashboard { max-width:590px; width:100%; margin:0 auto; }
    .indicators-page .ti-feature-grid, .indicators-page .ti-kpi-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .indicators-page .ti-chart { height:520px; }
    .indicators-page .ti-indicator-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
    .indicators-page .ti-indicator-grid > *, .indicators-page .ti-indicator-grid > :nth-child(n+4) { grid-column:auto; }
}
@media (max-width:640px) {
    .indicators-page .ti-container { width:min(var(--ti-width), calc(100% - 30px)); }
    .indicators-page .ti-hero { padding:28px 0 52px; }
    .indicators-page .ti-buy { margin-bottom:34px; }
    .indicators-page .ti-section { padding:58px 0; }
    .indicators-page .ti-feature-grid, .indicators-page .ti-kpi-grid { grid-template-columns:1fr; }
    .indicators-page .ti-card { padding:22px; }
    .indicators-page .ti-panel { padding:20px; }
    .indicators-page .ti-hero-actions { flex-direction:column; align-items:stretch; }
    .indicators-page .ti-btn { width:100%; }
    .indicators-page .ti-dashboard { padding:14px; }
    .indicators-page .ti-metric-value { font-size:20px; }
    .indicators-page .ti-chart { height:460px; padding:8px 8px 2px; }
    .indicators-page .ti-indicator-grid, .indicators-page .ti-metal-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior:auto; }
    .indicators-page .ti-btn { transition:none; }
    .indicators-page .ti-btn:hover { transform:none; }
}
