/* مؤشر COT الذكي — يعتمد متغيرات الهوية في site.css (نهاري وليلي) */
.cot-hero { padding-bottom: 28px; }
.cot-hero-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: stretch; justify-content: space-between; }
.cot-hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cot-en { display: block; direction: ltr; text-align: right; color: var(--muted); font-weight: 600; margin-top: -6px; }
.cot-label { font-size: .55em; color: var(--muted); font-weight: 600; }
.cot-status { flex: 1 1 300px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.cot-status-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cot-status-date { font-size: 19px; font-weight: 700; }
.cot-late { color: var(--down); line-height: 1.8; }
.cot-preview { background: var(--accent-soft); color: var(--accent-ink); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.cot-page { display: flex; flex-direction: column; gap: 24px; }
.cot-explain { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.cot-explain > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.cot-explain h2 { font-size: 17px; margin: 0 0 6px; color: var(--accent-ink); }
.cot-explain p, .cot-explain li { margin: 0; line-height: 1.9; font-size: 15px; color: var(--ink); }
.cot-explain ul { margin: 0; padding-inline-start: 18px; }
.cot-read ul { list-style: none; padding: 0; }
.cot-group-title { font-size: 22px; margin: 0 0 12px; }
.cot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 14px; }
.cot-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); transition: border-color .15s, transform .15s; }
.cot-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.cot-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cot-card-head > div { display: flex; flex-direction: column; gap: 2px; }
.cot-name { font-size: 18px; }
.cot-level { display: flex; flex-direction: column; gap: 6px; }
.cot-level-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cot-meter { position: relative; height: 8px; border-radius: 99px; background: linear-gradient(to left, var(--down-bg), var(--neutral-bg) 50%, var(--up-bg)); }
.cot-meter span { position: absolute; top: 50%; width: 14px; height: 14px; margin-inline-start: -7px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); transform: translateY(-50%); box-shadow: 0 0 0 1px var(--accent); }
.cot-meter-legend { display: flex; justify-content: space-between; }
.cot-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cot-card-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
.cot-card-foot span:last-child { color: var(--accent); font-weight: 600; }
.cot-tone-up { color: var(--up); }
.cot-tone-down { color: var(--down); }
.cot-tone-flat { color: var(--muted); }
.cot-big { font-size: 28px; font-weight: 700; }
.cot-story h2, .cot-chart-card h2, .cot-glossary h2 { font-size: 19px; margin: 0 0 10px; }
.cot-story p { margin: 0; line-height: 2.1; font-size: 16px; }
.cot-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
@media (max-width: 560px) { .cot-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cot-stats b { font-size: 19px; } }
.cot-stats .card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.cot-stats b { font-size: 22px; text-align: start; }
.cot-stats small { font-size: 12px; line-height: 1.7; }
.cot-note { margin: -12px 0 0; }
.cot-chart-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cot-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cot-chart-head h2 { margin: 0; }
.cot-range { display: flex; gap: 6px; }
.cot-range a { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 13px; color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.cot-range a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cot-legend { display: flex; gap: 16px; flex-wrap: wrap; }
.cot-legend i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-inline-end: 6px; vertical-align: middle; }
.cot-chart { width: 100%; }
.cot-svg { display: block; width: 100%; height: auto; }
.cot-ax { font-size: 13px; fill: var(--muted); font-family: inherit; }
.cot-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px; }
.cot-glossary dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px 24px; }
.cot-glossary dt { font-weight: 700; }
.cot-glossary dd { margin: 0; color: var(--muted); line-height: 1.9; font-size: 15px; }
.cot-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--accent-soft); border-radius: var(--radius); padding: 20px 24px; }
.cot-cta > div { display: flex; flex-direction: column; gap: 4px; }
.cot-others { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.cot-others a { font-weight: 600; }
.cot-source { line-height: 1.9; }
.cot-cats { margin-top: -8px; }
.cot-narrow { display: none; }
@media (max-width: 700px) { .cot-wide { display: none; } .cot-narrow { display: block; } }
.cot-headline { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.8; }
.cot-headline-lg { font-size: 19px; color: var(--ink); max-width: 720px; }
.cot-week { line-height: 1.8; }
.cot-lines { margin: 4px 0 0; display: flex; flex-direction: column; gap: 0; }
.cot-lines > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.cot-lines dt { color: var(--muted); font-weight: 600; font-size: 14px; }
.cot-lines dd { margin: 0; font-size: 16px; line-height: 1.8; font-weight: 500; }
.cot-lines dd.cot-tone-flat { color: var(--ink); }
@media (max-width: 560px) { .cot-lines > div { grid-template-columns: 1fr; gap: 2px; } }
.cot-callout { background: var(--neutral-bg); border-radius: var(--radius-sm); padding: 10px 14px; margin: 8px 0 0; line-height: 1.9; }
.cot-asof { margin: 10px 0 0; }
.cot-story { display: flex; flex-direction: column; gap: 8px; }
.cot-home-grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.section-title .pill { font-size: 12px; vertical-align: middle; }
.cot-sub { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius); padding: 18px 22px; }
.cot-sub-text { display: flex; flex-direction: column; gap: 4px; flex: 999 1 420px; min-width: 0; line-height: 1.8; }
.cot-sub-text strong { font-size: 17px; }
.cot-sub-text > span { color: var(--muted); font-size: 15px; }
.cot-sub form { margin: 0; }
