/* company_earnings.css — Competitor Analysis ▸ EARNINGS sub-tab (2026-11-11). Painted by company_earnings.js.
   Reuses the company view's cards, tiles, chips and the Backlog tab's head / pills / page-pill / scroll classes; every
   colour is a theme variable (the fixed orange reference token --cvc-orange is the one exception, as on Product), so
   the 18 skins and dark mode need no overrides. Tables scroll inside their own box; tiles and grids wrap at 375 px. */

/* ── head, page pills, intro ── */
#cv-edd .edd-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 6px; }
#cv-edd .edd-top h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
#cv-edd .edd-top h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.edd-asof { font-size: 11px; }
#cv-edd .edd-top a[data-cvgo] { color: var(--accent); cursor: pointer; }
.cmp-seg.blg-pages.edd-pages { margin-bottom: 2px; }
.edd-pages button.off { opacity: .42; cursor: not-allowed; }
.edd-pages button .n { margin-left: 6px; font-size: 10.5px; opacity: .8; }
#cv-edd .lab, #cv-edd-more .lab { display: inline-block; min-width: 0; font-weight: 700; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; margin-right: 6px; }
#cv-edd-more .cv-card > h3, #cv-edd-more .blg-head h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
#cv-edd-more .blg-head h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
#cv-edd-more h4 { margin: 0 0 5px; font-size: 11.5px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
#cv-edd-more h4 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
#cv-edd-more svg { display: block; max-width: 100%; }
.edd-intro { margin: 8px 2px 0; }
.edd-intro > p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text); }
.edd-how { margin-top: 3px; }
.edd-how summary, .edd-sources summary { cursor: pointer; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.edd-how summary:hover, .edd-sources summary:hover { color: var(--accent); }
.edd-sources summary { list-style: none; }                       /* the text's own "+" is the marker */
.edd-sources summary::-webkit-details-marker { display: none; }
.edd-how ul { font-size: 12px; line-height: 1.5; margin: 5px 0 2px; padding-left: 18px; }
.edd-how li { margin: 2px 0; }
.edd-more { font-size: 11.5px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.edd-more:hover { text-decoration: underline; }
.edd-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 0 10px; align-items: start; }
.edd-2col > .cv-card { min-width: 0; }

/* up / down colouring of numbers only (lists and trend arrows have their own rules below) */
#cv-edd-more :is(span, b, em, i).up { color: var(--bull); }
#cv-edd-more :is(span, b, em, i).dn { color: var(--bear); }

/* citation chip [n] and sources */
.edd-src { display: inline-block; min-width: 13px; height: 13px; line-height: 13px; margin-left: 3px; padding: 0 3px; border-radius: 3px; font-size: 9.5px; font-weight: 600; text-align: center; vertical-align: 1px; background: var(--grey-chip-bg); color: var(--grey-chip) !important; text-decoration: none; text-transform: none; letter-spacing: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
a.edd-src:hover { background: var(--accent); color: var(--on-accent, var(--bg)) !important; }
.edd-sources ol { font-size: 12px; line-height: 1.5; margin: 6px 0; padding-left: 26px; }
.edd-sources li { overflow-wrap: anywhere; border-radius: 4px; padding: 1px 3px; }
.edd-sources li a { color: var(--text); text-decoration: none; }
.edd-sources li a:hover { color: var(--accent); }
.edd-flash { animation: edd-flash 1.6s ease-out; }
@keyframes edd-flash { from { background: color-mix(in srgb, var(--accent) 26%, transparent); } to { background: transparent; } }

/* company chip */
.edd-co { color: var(--text); text-decoration: none; white-space: nowrap; }
#cv-edd-more a.edd-co { color: var(--text); cursor: pointer; }
#cv-edd-more a.edd-co:hover { color: var(--accent); text-decoration: none; }
.edd-co b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; color: var(--accent); }
.edd-co.off { color: var(--muted); }
.edd-co.off b { color: var(--muted); }

/* generic inline bar */
.edd-bar { display: inline-block; vertical-align: middle; width: 54px; height: 7px; margin: 0 6px 0 0; border-radius: 4px; background: var(--grey-chip-bg); overflow: hidden; }
.edd-bar i { display: block; height: 100%; background: var(--accent); }
.edd-bar.bad i { background: var(--bear); }
.edd-bar.good i { background: var(--bull); }

/* legends + swatches */
.edd-legend { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 11px; color: var(--muted); margin-top: 4px; }
.edd-legend > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
#cv-edd-more i.sw { display: inline-block; width: 11px; height: 9px; border-radius: 2px; background: var(--muted); vertical-align: -1px; margin-right: 5px; flex: none; }
#cv-edd-more .edd-legend i.sw { margin-right: 0; }
#cv-edd-more i.sw.bar { background: color-mix(in srgb, var(--accent) 38%, transparent); border: 1px solid var(--accent); }
#cv-edd-more i.sw.gm, #cv-edd-more i.sw.nm, #cv-edd-more span.sw.tg { height: 0; width: 14px; border-radius: 0; background: none; border-top: 2px solid var(--cvc-orange, #d9701a); }
#cv-edd-more i.sw.nm { border-top-color: var(--cvc-violet, #6d4fe0); }
#cv-edd-more span.sw.tg { display: inline-block; border-top-style: dashed; vertical-align: middle; margin-right: 5px; }
#cv-edd-more i.sw.prep { background: var(--accent); }
#cv-edd-more i.sw.qa { background: var(--cvc-orange, #d9701a); }
#cv-edd-more i.sw.pos { background: var(--bull); }
#cv-edd-more i.sw.mixed { background: var(--amber); }
#cv-edd-more i.sw.neg { background: var(--bear); }

/* generic table (always inside .blg-scroll, so it scrolls in its own box on a phone) */
.edd-tbl { border-collapse: collapse; width: 100%; font-size: 12px; }
.edd-tbl th { text-align: left; font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 10px 4px 0; white-space: nowrap; vertical-align: bottom; }
.edd-tbl th .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.edd-tbl td { padding: 4px 10px 4px 0; border-top: 1px solid var(--border); vertical-align: top; line-height: 1.45; }
.edd-tbl th.num, .edd-tbl td.num { text-align: right; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-tbl td.dt, .edd-tbl td.n { white-space: nowrap; }
.edd-tbl td .chip { white-space: nowrap; }
.edd-tbl td .muted { font-size: 11px; }

/* ── company head ── */
.edd-cohead { padding-top: 8px; padding-bottom: 8px; }
.edd-ch1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.edd-ch1 .edd-cn { font-size: 16px; font-weight: 700; }
.edd-ql { font-size: 13px; font-weight: 700; color: var(--accent); }
.edd-ch1 > .muted { font-size: 12px; }
.edd-qpick { margin-left: auto; display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.edd-qpick button { font: inherit; font-size: 11px; padding: 2px 9px; border: 0; border-right: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.edd-qpick button:last-child { border-right: 0; }
.edd-qpick button.on { background: var(--accent); color: var(--on-accent, var(--bg)); }
.edd-ch2 { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 14px; margin-top: 5px; font-size: 12px; }
.edd-ch2 .chip { font-size: 11px; }
.edd-lks { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.edd-lk { display: inline-block; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--border); font-size: 11.5px; color: var(--text); text-decoration: none; white-space: nowrap; }
.edd-lk:hover { border-color: var(--accent); color: var(--accent); }

/* ── 1 · Summary ── */
#cv-edd-more .edd-pills .lab, #cv-edd-more .edd-pills .lab:first-child { min-width: 0; display: inline-block; margin: 0 2px 0 8px; }
#cv-edd-more .edd-pills .lab:first-child { margin-left: 0; }
.edd-verdict .edd-one { font-size: 14px; line-height: 1.5; margin: 8px 0 4px; }
.edd-verdict .edd-why { font-size: 12.5px; margin: 0 0 4px; }
.edd-take { margin: 4px 0 2px; padding-left: 20px; font-size: 12.5px; line-height: 1.5; }
.edd-take li { margin: 2px 0; }
.edd-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; margin-top: 8px; font-size: 12.5px; line-height: 1.45; }
.edd-pair > .st, .edd-pair > .av { padding: 5px 9px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); }
.edd-pair > .st { border-left: 3px solid var(--accent); }
.edd-pair > .av { border-left: 3px solid var(--amber); }
#cv-edd-more .edd-pair .lab { display: block; margin: 0 0 2px; }
.edd-pair .arrow { align-self: center; color: var(--muted); font-size: 15px; }

.edd-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.edd-tile { display: flex; flex-direction: column; gap: 1px; }
#cv-edd-more .edd-tile .k { white-space: normal; overflow: visible; line-height: 1.3; }
#cv-edd-more .edd-tile .v { white-space: normal; overflow: visible; }
.edd-basis { margin-left: 5px; font-size: 9px; font-weight: 700; letter-spacing: .04em; color: var(--muted); opacity: .8; }
.edd-tvok, .edd-tvno { font: 600 10px/1 system-ui, -apple-system, "Segoe UI", sans-serif; vertical-align: 2px; margin-left: 2px; white-space: nowrap; }
.edd-tvok { color: var(--bull); }
.edd-tvno { color: var(--amber); }
.edd-vg { display: inline-block; align-self: flex-start; max-width: 100%; margin-top: 3px; padding: 1px 7px; border-radius: 9px; font-size: 10.5px; font-weight: 600; line-height: 1.45; background: var(--grey-chip-bg); color: var(--grey-chip); white-space: normal; }
.edd-vg.beat { background: var(--bull-bg); color: var(--bull); }
.edd-vg.miss { background: var(--bear-bg); color: var(--bear); }
.edd-vg.inline { background: var(--blue-chip-bg); color: var(--blue-chip); }
.edd-vg.none { background: transparent; color: var(--muted); border: 1px dashed var(--border); font-weight: 400; }
.edd-street { font-size: 10.5px; color: var(--muted); margin-top: 2px; }

.edd-sv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.edd-sv > div { min-width: 0; }
.edd-sv ul { margin: 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.45; }
.edd-sv li { padding: 5px 0 5px 9px; border-top: 1px solid var(--border); border-left: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); margin-bottom: 1px; }
.edd-sv li:first-child { border-top: 0; }
.edd-sv li .muted { font-size: 11.5px; margin-top: 1px; }
.edd-sv ul.dn li { border-left-color: var(--grey-chip-bg); }
.edd-sv ul.dn li.sev-h { border-left-color: var(--bear); }
.edd-sv ul.dn li.sev-m { border-left-color: var(--amber); }
.edd-sv li .chip { font-size: 10.5px; padding: 0 7px; }
.edd-tell { display: inline-block; padding: 0 6px; border-radius: 9px; border: 1px solid var(--border); font-size: 10.5px; color: var(--muted); white-space: nowrap; }

.edd-flsum { font-size: 11.5px; color: var(--muted); }
.edd-flsum .r { color: var(--bear); font-weight: 700; }
.edd-flsum .a { color: var(--amber); font-weight: 700; }
.edd-flsum .g { color: var(--bull); font-weight: 700; }
.edd-flgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(158px, 100%), 1fr)); gap: 5px; }
.edd-fl { font: inherit; font-size: 12px; display: flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 7px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); text-align: left; cursor: pointer; }
.edd-fl:hover { border-color: var(--accent); }
.edd-fl.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.edd-fl:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.edd-fl > span { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edd-fl > em { font-style: normal; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.edd-fl > em.r { color: var(--bear); font-weight: 700; }
.edd-fl > em.a { color: var(--amber); font-weight: 700; }
.edd-fl > em.g { color: var(--bull); }
.edd-fl i.d { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--grey-chip-bg); border: 1.5px solid var(--border); box-sizing: border-box; }
.edd-fl i.d.g { background: var(--bull); border-color: var(--bull); }
.edd-fl i.d.a { background: var(--amber); border-color: var(--amber); }
.edd-fl i.d.r { background: var(--bear); border-color: var(--bear); }
.edd-fl i.d.n { background: var(--grey-chip-bg); border-color: var(--muted); }
.edd-fl i.d.x { background: transparent; border: 1.5px dashed var(--muted); }
.edd-fl i.d.c { width: 7px; height: 7px; margin-left: -3px; box-shadow: 0 0 0 1.5px var(--bg); }
.edd-flnote { margin-top: 7px; padding: 6px 9px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); font-size: 12px; line-height: 1.5; }
.edd-flnote.muted { background: transparent; border-style: dashed; font-size: 11.5px; }
.edd-flnote .lab { margin-left: 6px; }
.edd-flnote .chip { font-size: 10.5px; margin-right: 4px; }

.edd-rtop ol { margin: 0; padding-left: 20px; font-size: 12.5px; line-height: 1.45; }
.edd-rtop li { padding: 4px 0; border-top: 1px solid var(--border); }
.edd-rtop li:first-child { border-top: 0; padding-top: 0; }
.edd-rtop li .muted { font-size: 11.5px; }
.edd-rk { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px 5px; font-size: 11.5px; white-space: nowrap; }
.edd-rk .chip { font-size: 10.5px; padding: 0 7px; }
#cv-edd-more .edd-tr { font-size: 9.5px; color: var(--muted); }
#cv-edd-more .edd-tr.up { color: var(--amber); }      /* a risk rising since last quarter: a warning, not "good" */
#cv-edd-more .edd-tr.dn { color: var(--muted); }

.edd-sstrip .cv-note { margin-top: 6px; }
.edd-ss { display: grid; grid-template-columns: minmax(58px, 28%) 1fr; align-items: center; gap: 8px; margin: 5px 0; font-size: 12px; }
.edd-ss .k { color: var(--muted); text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.edd-ss .b, .edd-cbars .b { position: relative; display: block; height: 16px; margin-right: 104px; border-radius: 3px; background: var(--grey-chip-bg); }
.edd-ss .b > i, .edd-cbars .b > i { position: relative; display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.edd-ss .b em, .edd-cbars .b em { position: absolute; left: calc(100% + 6px); top: 0; line-height: 16px; font-style: normal; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-ss.now .b > i, .edd-cbars .r.now .b > i { background: var(--cvc-orange, #d9701a); }
.edd-ss.best .b > i, .edd-case.best .edd-cbars .r:not(.now) .b > i { background: color-mix(in srgb, var(--bull) 75%, var(--panel)); }
.edd-ss.base .b > i, .edd-case.base .edd-cbars .r:not(.now) .b > i { background: var(--accent); }
.edd-ss.worst .b > i, .edd-case.worst .edd-cbars .r:not(.now) .b > i { background: color-mix(in srgb, var(--bear) 75%, var(--panel)); }

.edd-rxrow { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0; }
.edd-rx { display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 9px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); font-size: 12px; white-space: nowrap; }
#cv-edd-more .edd-rx .lab { margin-right: 0; font-size: 10px; }
.edd-rx b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; }
.edd-rx.main { border-color: var(--accent); white-space: normal; flex-wrap: wrap; }
.edd-rx .muted { font-size: 11px; }
.edd-big { display: inline-block; padding: 0 6px; border-radius: 8px; font-size: 10.5px; font-weight: 600; background: var(--amber-bg); color: var(--amber); }
.edd-rxrow.sm .edd-rx { padding: 2px 8px; font-size: 11.5px; }
.edd-wt { border-collapse: collapse; font-size: 12px; width: 100%; }
.edd-wt td { padding: 3px 10px 3px 0; border-top: 1px solid var(--border); vertical-align: top; line-height: 1.45; }
.edd-wt tr:first-child td { border-top: 0; }
.edd-wt td.w { white-space: nowrap; font-weight: 700; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; }
.edd-wt td.muted { font-size: 11.5px; }

/* ── 2 · Numbers ── */
.edd-revchart { min-height: 40px; }
.edd-revchart .grid { stroke: var(--border); stroke-width: 1; }
.edd-revchart .zero { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.edd-revchart .ax { font-size: 10px; fill: var(--muted); }
.edd-revchart rect.bar { fill: color-mix(in srgb, var(--accent) 34%, transparent); }
.edd-revchart rect.bar.hi { fill: var(--accent); }
.edd-revchart rect.bar:hover { fill: color-mix(in srgb, var(--accent) 60%, transparent); }
.edd-revchart text.yoy { font-size: 10px; font-weight: 600; fill: var(--muted); }
.edd-revchart text.yoy.up { fill: var(--bull); }
.edd-revchart text.yoy.dn { fill: var(--bear); }
.edd-revchart text.bv { font-size: 9.5px; font-weight: 600; fill: var(--text); }
.edd-revchart text.yoy, .edd-revchart text.bv, .edd-revchart .ax { paint-order: stroke; stroke: var(--panel); stroke-width: 3px; stroke-linejoin: round; }
.edd-revchart text.bv.hi { fill: var(--panel); stroke: none; }   /* on the solid accent bar: theme-inverting ink, no halo */
.edd-revchart .ln { fill: none; stroke-width: 1.8; stroke-linejoin: round; }
.edd-revchart .ln.gm { stroke: var(--cvc-orange, #d9701a); }
.edd-revchart .ln.nm { stroke: var(--cvc-violet, #6d4fe0); }
.edd-revchart .dt.gm { fill: var(--cvc-orange, #d9701a); }
.edd-revchart .dt.nm { fill: var(--cvc-violet, #6d4fe0); }

.edd-segchart { margin: 2px 0 4px; }
.edd-segchart .ax { font-size: 10px; fill: var(--muted); }
.edd-segchart text.tot { font-size: 10.5px; font-weight: 700; fill: var(--text); }
.edd-segchart text.sv { font-size: 9.5px; font-weight: 700; fill: var(--panel); }   /* the panel colour inverts with the theme: white on light-theme fills, dark on dark-theme fills */
.edd-segchart text.sv.lt { fill: var(--text); }                                      /* the paler mixed fills (6th segment on) */
.edd-segchart rect.seg { stroke: var(--panel); stroke-width: 1; }
.edd-mix { font-size: 12.5px; line-height: 1.5; margin: 4px 0 6px; }

.edd-kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 8px; }
.edd-kpi { border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; background: var(--bg); min-width: 0; font-size: 12px; }
.edd-kpi.dropped { border-style: dashed; opacity: .8; }
.edd-kpi header { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; font-size: 12.5px; }
.edd-kpi header .chip { font-size: 10.5px; padding: 0 7px; }
.edd-kv { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; margin: 4px 0 2px; }
.edd-kv .v { font: 700 16px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-kv > .muted { font-size: 11px; }
.edd-spark { flex: none; }
.edd-spark .ln { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.edd-spark .dt { fill: var(--accent); }
.edd-spark .tg { stroke: var(--cvc-orange, #d9701a); stroke-width: 1.2; stroke-dasharray: 3 2; }
.edd-kt { font-size: 11.5px; margin-top: 2px; }
.edd-kpi p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.45; }
.edd-kn { color: var(--amber); }

.edd-gist { font-size: 12.5px; line-height: 1.5; margin: 0 0 6px; }
.edd-gt td { vertical-align: middle; }
.edd-gt td:first-child { min-width: 130px; }
.edd-gt td:last-child { min-width: 180px; font-size: 11.5px; }
.edd-rb { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.edd-rb svg { display: inline-block !important; }
.edd-rb .pr { fill: color-mix(in srgb, var(--muted) 45%, transparent); }
.edd-rb .nw { fill: var(--accent); }
.edd-rb .mv { stroke: var(--text); stroke-width: 1.3; }
.edd-rb .mvd { fill: var(--text); }
.edd-rb em { font-style: normal; font-size: 11px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-grec { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; font-size: 11.5px; }
.edd-gr { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.edd-gr i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--grey-chip-bg); border: 1.5px solid var(--muted); box-sizing: border-box; }
.edd-gr.beat i { background: var(--bull); border-color: var(--bull); }
.edd-gr.inline i { background: var(--accent); border-color: var(--accent); }
.edd-gr.miss i { background: var(--bear); border-color: var(--bear); }
.edd-gr em { font-style: normal; font-size: 10.5px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-tellline { font-size: 12px; line-height: 1.5; margin: 6px 0 0; padding: 4px 9px; border-left: 3px solid var(--amber); background: color-mix(in srgb, var(--amber) 7%, transparent); border-radius: 0 5px 5px 0; }

.edd-wf { margin: 4px 0 2px; }
.edd-wfr { display: grid; grid-template-columns: minmax(104px, 36%) 1fr; align-items: center; gap: 8px; margin: 3px 0; font-size: 11.5px; }
.edd-wfr .k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.edd-wfr.end .k { font-weight: 700; }
.edd-wfr.oth .k { color: var(--muted); font-style: italic; }
.edd-wfr .t, .edd-cb .t { position: relative; display: block; height: 16px; margin-right: 66px; }
.edd-wfr .t i, .edd-cb .t i { position: absolute; display: block; }
.edd-wfr .t i.z, .edd-cb .t i.z { top: -2px; bottom: -2px; width: 1px; background: var(--muted); opacity: .6; }
.edd-wfr .t i.b { top: 3px; height: 10px; border-radius: 2px; background: var(--accent); }
.edd-wfr.add .t i.b { background: color-mix(in srgb, var(--bull) 70%, var(--panel)); }
.edd-wfr.sub .t i.b { background: color-mix(in srgb, var(--bear) 70%, var(--panel)); }
.edd-wfr.oth .t i.b { opacity: .55; }
.edd-wfr .t em { position: absolute; top: 0; margin-left: 5px; line-height: 16px; font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.edd-qgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 10px 20px; }
.edd-qp { min-width: 0; }
#cv-edd-more .edd-qp > .lab { display: block; margin: 0 0 4px; }
.edd-qp p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.45; }
.edd-cb { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 6px; margin: 4px 0; font-size: 11.5px; }
.edd-cb .k { color: var(--muted); white-space: nowrap; }
.edd-cb .t { margin-right: 0; background: var(--grey-chip-bg); border-radius: 3px; }
.edd-cb .t i.z { left: 50%; }
.edd-cb .t i.b { top: 3px; height: 10px; border-radius: 2px; background: var(--accent); }
.edd-cb .t i.b.neg { background: var(--bear); }
.edd-cb .t em { position: absolute; top: 0; line-height: 16px; font-style: normal; font-size: 10.5px; font-weight: 600; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-cb .t em.r { right: calc(50% + 5px); }   /* a positive bar runs right of zero: its label sits left of zero */
.edd-cb .t em.l { left: calc(50% + 5px); }
.edd-pr { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 4px 0; font-size: 12px; }
.edd-pr .k { width: 108px; color: var(--muted); white-space: nowrap; }
.edd-pr b { min-width: 62px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-pr .edd-bar { margin: 0; }
.edd-pr .muted { font-size: 11px; }

.edd-blg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.edd-blg .big { font: 700 24px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-blg .muted { font-size: 11.5px; }
.edd-b12 { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.edd-b12 .edd-bar { width: 80px; }
.edd-backlog p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }

/* ── 3 · Management ── */
#cv-edd-more .edd-spks > .lab { display: block; margin-bottom: 4px; }
.edd-spkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; }
.edd-spk { display: inline-block; padding: 1px 8px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); white-space: nowrap; }
.edd-spk.mgmt { border-left: 3px solid var(--accent); }
.edd-spk .muted { font-size: 11px; }
.edd-sep { color: var(--muted); padding: 0 4px; }
.edd-fchips { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px; margin: 0 0 8px; }
#cv-edd-more .edd-fchips .lab { margin: 0 2px 0 8px; }
#cv-edd-more .edd-fchips .lab:first-child { margin-left: 0; }
.edd-fc, .edd-chipb { font: inherit; font-size: 11.5px; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; white-space: nowrap; }
.edd-fc i { font-style: normal; margin-left: 3px; font-size: 10px; opacity: .7; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-fc:hover, .edd-chipb:hover { border-color: var(--accent); }
.edd-fc.on, .edd-chipb.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent, var(--bg)); }
.edd-fc.sig-bullish { border-left: 3px solid var(--bull); }
.edd-fc.sig-neutral { border-left: 3px solid var(--muted); }
.edd-fc.sig-cautious { border-left: 3px solid var(--amber); }
.edd-fc.sig-bearish { border-left: 3px solid var(--bear); }
.edd-said .edd-qgrid { grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 8px; }
.edd-q { margin: 0; padding: 8px 10px 7px; border: 1px solid var(--border); border-left: 3px solid var(--muted); border-radius: 6px; background: var(--bg); font-size: 12.5px; min-width: 0; display: flex; flex-direction: column; }
.edd-q.sig-bullish { border-left-color: var(--bull); }
.edd-q.sig-cautious { border-left-color: var(--amber); }
.edd-q.sig-bearish { border-left-color: var(--bear); }
.edd-q > p { margin: 0 0 5px; line-height: 1.5; }
.edd-q > p.why { font-size: 11.5px; color: var(--muted); }
.edd-q footer { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 5px; font-size: 11px; color: var(--muted); }
.edd-q footer b { color: var(--text); }
.edd-q footer .chip { font-size: 10px; padding: 0 6px; }
.edd-part { display: inline-block; padding: 0 6px; border-radius: 8px; border: 1px solid var(--border); font-size: 10px; white-space: nowrap; }
.edd-sig { font-size: 10.5px; font-weight: 700; }
.edd-sig.bullish { color: var(--bull); }
.edd-sig.cautious { color: var(--amber); }
.edd-sig.bearish { color: var(--bear); }
.edd-sig.neutral { color: var(--muted); }

.edd-air-r { display: grid; grid-template-columns: minmax(118px, 32%) 1fr; align-items: center; gap: 8px; padding: 3px 0; border-top: 1px solid var(--border); font-size: 12px; }
.edd-air-r:first-of-type { border-top: 0; }
.edd-air-r .k { min-width: 0; line-height: 1.35; }
.edd-tone { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); vertical-align: 1px; margin-left: 3px; }
.edd-tone.pos { background: var(--bull); }
.edd-tone.neg { background: var(--bear); }
.edd-tone.mixed { background: var(--amber); }
.edd-air-r .bars { display: grid; gap: 2px; min-width: 0; }
.edd-air-r .b { position: relative; display: block; height: 8px; margin-right: 38px; border-radius: 2px; background: var(--grey-chip-bg); }
.edd-air-r .b > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--accent); }
.edd-air-r .b.qa > i { background: var(--cvc-orange, #d9701a); }
.edd-air-r .b em { position: absolute; left: 100%; top: -3px; margin-left: 5px; font-style: normal; font-size: 10px; line-height: 14px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; }

.edd-qs { display: flex; height: 20px; border-radius: 5px; overflow: hidden; margin: 2px 0 6px; font-size: 11px; line-height: 20px; }
.edd-qs > span { min-width: 0; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.edd-qs .direct { background: var(--bull-bg); color: var(--bull); }
.edd-qs .partial { background: var(--amber-bg); color: var(--amber); }
.edd-qs .deflected { background: var(--bear-bg); color: var(--bear); }
.edd-qs .refused { background: var(--bear); color: var(--on-accent, var(--bg)); }
.edd-qat td { min-width: 70px; }
.edd-qat td:nth-child(3), .edd-qat td:nth-child(4) { min-width: 210px; }
.edd-qat td.dodge { min-width: 160px; color: var(--amber); font-size: 11.5px; }
.edd-lg { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.edd-ph { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11.5px; }
.edd-ph.new { background: var(--blue-chip-bg); color: var(--blue-chip); }
.edd-ph.gone { background: var(--grey-chip-bg); color: var(--grey-chip); }

/* ── 4 · Targets & contracts ── */
.edd-tgt td:first-child { min-width: 200px; }
.edd-tgt td:last-child { min-width: 180px; }
.edd-tgt tr.st-dropped td, .edd-tgt tr.st-missed td { background: color-mix(in srgb, var(--bear) 5%, transparent); }
.edd-tl { margin: 2px 0 4px; }
.edd-tl .axis { stroke: var(--border); stroke-width: 1.5; }
.edd-tl .tick { stroke: var(--muted); stroke-width: 1; }
.edd-tl .ax { font-size: 10.5px; fill: var(--muted); }
.edd-tl .ax.now { fill: var(--cvc-orange, #d9701a); }
.edd-tl line.now { stroke: var(--cvc-orange, #d9701a); stroke-width: 1; stroke-dasharray: 3 3; }
.edd-tl .stem { stroke: var(--border); stroke-width: 1; }
.edd-tl .lb { font-size: 10.5px; fill: var(--text); }
.edd-tl .lb, .edd-tl .ax { paint-order: stroke; stroke: var(--panel); stroke-width: 3px; stroke-linejoin: round; }
.edd-tl circle { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.edd-tl circle.st-done { fill: var(--accent); }
.edd-tl circle.st-next { fill: var(--bg); stroke: var(--accent); }
.edd-tl circle.st-slipped { fill: var(--bg); stroke: var(--bear); }
#cv-edd-more i.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--bg); box-sizing: border-box; vertical-align: -1px; margin-right: 5px; }
#cv-edd-more i.dot.done { background: var(--accent); }
#cv-edd-more i.dot.slipped { border-color: var(--bear); }
.edd-mt td.dt { color: var(--accent); font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; }
.edd-mt td:nth-child(2) { min-width: 220px; }
.edd-mt tr.st-slipped td:nth-child(2) { color: var(--bear); }
.edd-ct td:nth-child(2) { min-width: 200px; }
.edd-ct td:last-child { min-width: 180px; }
.edd-ct td.val { white-space: nowrap; }
.edd-vb { display: inline-block; vertical-align: middle; width: 56px; height: 7px; margin-right: 6px; border-radius: 4px; background: var(--grey-chip-bg); overflow: hidden; }
.edd-vb i { display: block; height: 100%; background: var(--accent); }
.edd-new { display: inline-block; padding: 0 5px; border-radius: 7px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--blue-chip-bg); color: var(--blue-chip); vertical-align: 1px; }

/* ── 5 · Risks & scenarios ── */
.edd-rgrid { display: grid; grid-template-columns: minmax(210px, 270px) minmax(0, 1fr); gap: 10px 18px; align-items: start; }
.edd-rmx { font-size: 11px; }
.edd-rmx .ylab, .edd-rmx .xlab { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.edd-rmx .ylab { margin: 0 0 3px; }
.edd-rmx .xlab { text-align: center; margin: 3px 0 0 52px; }
.edd-rmx .grid { display: grid; grid-template-columns: 48px repeat(3, minmax(0, 1fr)); gap: 3px; }
.edd-rmx .rl { align-self: center; text-align: right; padding-right: 4px; color: var(--muted); font-size: 10.5px; }
.edd-rmx .cl { text-align: center; color: var(--muted); font-size: 10.5px; }
.edd-rmx .c { min-height: 46px; border-radius: 5px; padding: 3px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 3px; background: var(--grey-chip-bg); }
.edd-rmx .c.lv2 { background: color-mix(in srgb, var(--amber) 12%, var(--grey-chip-bg)); }
.edd-rmx .c.lv3 { background: color-mix(in srgb, var(--amber) 22%, var(--grey-chip-bg)); }
.edd-rmx .c.lv4 { background: color-mix(in srgb, var(--amber) 32%, var(--grey-chip-bg)); }
.edd-rmx .c.lv6 { background: color-mix(in srgb, var(--bear) 26%, var(--grey-chip-bg)); }
.edd-rmx .c.lv9 { background: color-mix(in srgb, var(--bear) 40%, var(--grey-chip-bg)); }
.edd-rdot { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 3px; box-sizing: border-box; border-radius: 10px; background: var(--panel); border: 1.5px solid var(--text); color: var(--text); font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; cursor: default; }
.edd-rdot i { font-style: normal; font-size: 7px; margin-left: 1px; color: var(--amber); }
.edd-rt td.rk { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-rt td:nth-child(2) { min-width: 180px; }
.edd-rt td:nth-child(7) { min-width: 200px; }
.edd-rt td:nth-child(8) { min-width: 160px; }
.edd-impl { font-size: 12.5px; line-height: 1.5; margin: 2px 0 8px; padding: 6px 10px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 7%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); }
.edd-impl .muted { font-size: 11.5px; }
.edd-cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 9px; }
.edd-case { border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 8px; padding: 8px 10px; background: var(--bg); min-width: 0; font-size: 12px; }
.edd-case.best { border-top-color: var(--bull); }
.edd-case.worst { border-top-color: var(--bear); }
.edd-case header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; font-size: 13px; margin-bottom: 6px; }
.edd-pbar { position: relative; display: inline-block; width: 84px; height: 8px; margin-right: 38px; border-radius: 4px; background: var(--grey-chip-bg); }
.edd-pbar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); }
.edd-pbar > em { position: absolute; left: calc(100% + 6px); top: -4px; font-style: normal; font-size: 11.5px; font-weight: 700; line-height: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; }
.edd-cbars { margin: 0 0 6px; }
.edd-cbars .r { display: grid; grid-template-columns: minmax(70px, 34%) 1fr; align-items: center; gap: 6px; margin: 3px 0; }
.edd-cbars .r .k { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edd-cbars .b { margin-right: 96px; }
.edd-case p { margin: 4px 0; line-height: 1.5; }
.edd-case .edd-mg { font-size: 11.5px; }
#cv-edd-more .edd-case > .lab { display: block; margin: 6px 0 1px; }
.edd-case ul { margin: 0; padding-left: 17px; line-height: 1.45; }
.edd-case ul.sig li::marker { color: var(--accent); }

/* ── 6 · Season ── */
.edd-sverdict .edd-one { font-size: 14px; }
.edd-sl.worry { border-top: 2px solid color-mix(in srgb, var(--amber) 70%, var(--border)); }
.edd-short { margin: 0; padding-left: 20px; font-size: 12px; line-height: 1.5; }
.edd-short li { padding: 3px 0; border-top: 1px solid var(--border); }
.edd-short li:first-child { border-top: 0; }
.edd-short li > .muted { margin-left: 6px; font-size: 11.5px; }
#cv-edd-more a.edd-rc { display: inline-block; margin: 1px 4px 1px 0; padding: 1px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 400; text-decoration: none; color: var(--text); background: var(--grey-chip-bg); white-space: nowrap; cursor: pointer; }
#cv-edd-more a.edd-rc.chip-green { background: var(--bull-bg); }
#cv-edd-more a.edd-rc.chip-blue { background: var(--blue-chip-bg); }
#cv-edd-more a.edd-rc.chip-amber { background: var(--amber-bg); }
#cv-edd-more a.edd-rc.chip-red { background: var(--bear-bg); }
#cv-edd-more a.edd-rc:hover { outline: 1.5px solid var(--accent); text-decoration: none; }
.edd-rc b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; }
.edd-rc i { font-style: normal; margin-left: 5px; font-size: 10px; opacity: .75; }
.edd-cos { display: flex; flex-wrap: wrap; gap: 2px 0; }

.edd-sea { position: relative; }
.edd-cbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 2px 0 6px; font-size: 12px; }
.edd-cbar .edd-cn { margin-right: 4px; }
.edd-hint { color: var(--muted); font-size: 11.5px; }
.edd-pill { font: inherit; font-size: 11.5px; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text); cursor: pointer; }
.edd-pill i { font-style: normal; margin-left: 3px; opacity: .7; }
.edd-pill.x { border-color: var(--border); background: transparent; }
.edd-mx { border-collapse: collapse; width: 100%; font-size: 12px; }
.edd-mx th { text-align: left; font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 10px 4px 0; white-space: nowrap; vertical-align: bottom; }
.edd-mx th.on .edd-thb { color: var(--accent); }
.edd-mx td { padding: 4px 10px 4px 0; border-top: 1px solid var(--border); vertical-align: middle; }
.edd-mx tr[data-edd-row] { cursor: pointer; }
.edd-mx tbody tr[data-edd-row]:hover td { background: var(--hover); }
.edd-mx tr.me td { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.edd-mx td.n, .edd-mx td.dt, .edd-mx td.b, .edd-mx td.gd, .edd-mx td.rx, .edd-mx td.fl, .edd-mx td.sp { white-space: nowrap; }
.edd-mx .sm { font-size: 10.5px; }
.edd-mx td.sm { font-size: 11.5px; white-space: nowrap; }
.edd-mx td .chip { white-space: nowrap; font-size: 10.5px; padding: 0 7px; }
.edd-mx td.gd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; }
.edd-mx td.rk { min-width: 210px; max-width: 300px; }
.edd-mx td.rk .cl { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11.5px; line-height: 1.35; vertical-align: middle; }
.edd-mx td.rk .chip { float: left; margin: 1px 6px 0 0; }
.edd-mx td.edd-none { padding: 14px 0; color: var(--muted); }
.edd-mx .edd-vg { margin-top: 1px; font-size: 10px; padding: 0 6px; }
.edd-th { color: var(--muted); white-space: nowrap; }
.edd-th.strengthened { color: var(--bull); }
.edd-th.weakened { color: var(--amber); }
.edd-th.broken { color: var(--bear); font-weight: 700; }
.edd-num { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; margin-right: 5px; }
.edd-ib { display: inline-block; vertical-align: middle; width: 46px; height: 6px; border-radius: 3px; background: var(--grey-chip-bg); overflow: hidden; }
.edd-ib i { display: block; height: 100%; background: var(--accent); }
.edd-ib.neg i { background: var(--bear); }
.edd-d1 { display: inline-flex; align-items: center; gap: 5px; }
.edd-d1 .t { position: relative; display: inline-block; width: 70px; height: 10px; border-radius: 2px; background: var(--grey-chip-bg); }
.edd-d1 .t i { position: absolute; display: block; }
.edd-d1 .t i.z { left: 50%; top: -1px; bottom: -1px; width: 1px; background: var(--muted); }
.edd-d1 .t i.b { top: 2px; bottom: 2px; background: var(--bull); border-radius: 1px; }
.edd-d1 .t i.b.neg { background: var(--bear); }
.edd-d1 .t i.ty { top: -2px; bottom: -2px; border-left: 1px dashed var(--cvc-orange, #d9701a); border-right: 1px dashed var(--cvc-orange, #d9701a); box-sizing: border-box; }
.edd-d1 b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; min-width: 48px; text-align: right; }
.edd-d1 em { font-style: normal; font-size: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-fc3 { display: inline-flex; gap: 2px; }
.edd-fc3 i { display: inline-block; min-width: 18px; padding: 0 3px; box-sizing: border-box; border-radius: 4px; text-align: center; font: 700 10.5px/16px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; }
.edd-fc3 i.r { background: var(--bear-bg); color: var(--bear); }
.edd-fc3 i.a { background: var(--amber-bg); color: var(--amber); }
.edd-fc3 i.g { background: var(--bull-bg); color: var(--bull); }
.edd-thw { display: inline-flex; align-items: center; gap: 4px; }
.edd-thb { font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.edd-thb i { font-style: normal; margin-left: 3px; font-size: 8px; }
.edd-thb:hover { color: var(--accent); }
.edd-thm { font-size: 9px; line-height: 1; padding: 1px 3px; border: 1px solid var(--accent); border-radius: 3px; background: transparent; color: var(--accent); cursor: pointer; }
.edd-thm.on, .edd-thm.open { background: var(--accent); color: var(--on-accent, var(--bg)); }
.edd-thb:focus-visible, .edd-thm:focus-visible, .edd-pill:focus-visible, .edd-fc:focus-visible, .edd-chipb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* the Season column menu (sort + tick boxes), hung under its header by eddSeaPlace */
div.edd-cm { position: absolute; z-index: 40; width: 280px; max-width: calc(100vw - 40px); box-sizing: border-box; background: var(--panel); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--cvc-shadow, 0 8px 24px rgba(0, 0, 0, .22)); padding: 8px 10px; font-size: 12px; }
.edd-cm-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.edd-cm-def { color: var(--muted); font-size: 11px; line-height: 1.35; margin: -2px 0 6px; }
.edd-cm-x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; padding: 0 2px; }
.edd-cm-x:hover { color: var(--text); }
.edd-cm-row { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 4px; }
.edd-cm-sec { border-top: 1px solid var(--border); padding-top: 5px; margin-top: 5px; }
#cv-edd-more .edd-cm-sec > .lab { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 3px; }
.edd-cm-clr { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: 10.5px; text-transform: none; letter-spacing: 0; }
.edd-cm-opts { display: grid; gap: 1px; }
.edd-cm-opts.long { max-height: 230px; overflow-y: auto; }
.edd-cm-o { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; padding: 2px 3px; border-radius: 4px; cursor: pointer; }
.edd-cm-o[hidden] { display: none; }
.edd-cm-o:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.edd-cm-o input { margin: 0; accent-color: var(--accent); }
.edd-cm-o i { font-style: normal; color: var(--muted); font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.edd-cm-o.zero span { color: var(--muted); }
.edd-cm-find { width: 100%; box-sizing: border-box; font: inherit; font-size: 12px; padding: 3px 6px; margin-bottom: 4px; border: 1px solid var(--border); border-radius: 5px; background: var(--bg); color: var(--text); }

.edd-rdt td.b { min-width: 120px; }
.edd-rdt td:last-child { min-width: 180px; white-space: normal; }
.edd-rs { display: inline-flex; min-width: 26px; height: 16px; border-radius: 3px; overflow: hidden; vertical-align: middle; }
.edd-rs i { display: block; min-width: 13px; text-align: center; font: 700 10px/16px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; }
.edd-rs i.pos { background: var(--bull-bg); color: var(--bull); }
.edd-rs i.mixed { background: var(--amber-bg); color: var(--amber); }
.edd-rs i.neg { background: var(--bear-bg); color: var(--bear); }
.edd-from { display: inline-block; margin: 1px 0; padding: 0 6px; border-radius: 8px; border: 1px solid var(--border); border-left: 3px solid var(--muted); font: 600 11px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; cursor: default; }
.edd-from.pos { border-left-color: var(--bull); }
.edd-from.mixed { border-left-color: var(--amber); }
.edd-from.neg { border-left-color: var(--bear); }
.edd-up td.dt b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ── light card (no deep dive yet) ── */
#cv-edd-more .edd-lite .edd-pills .lab { margin-left: 10px; }
#cv-edd-more .edd-lite .edd-pills .lab:first-child { margin-left: 0; }
.edd-litepart { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
#cv-edd-more .edd-litepart > .lab { display: block; margin: 0 0 4px; }

/* ── narrow screens ── */
@media (max-width: 760px) {
  .edd-sv { grid-template-columns: 1fr; }
  .edd-pair { grid-template-columns: 1fr; }
  .edd-pair .arrow { display: none; }
  .edd-rgrid { grid-template-columns: 1fr; }
  .edd-rmx { max-width: 340px; }
  .edd-qpick { margin-left: 0; }
  .edd-lks { margin-left: 0; }
}
@media (max-width: 560px) {
  .edd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edd-flgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edd-fl { padding: 4px 6px; gap: 5px; }
  .edd-fl > em { display: none; }       /* the dot says it; the note under the grid has the words */
  .edd-wfr { grid-template-columns: minmax(92px, 38%) 1fr; }
  .edd-wfr .t { margin-right: 58px; }
  .edd-ss .b, .edd-cbars .b { margin-right: 92px; }
  .edd-air-r { grid-template-columns: minmax(96px, 36%) 1fr; }
  .edd-pr .k { width: 100%; }
  .edd-short li > .muted { display: block; margin-left: 0; }
}

/* light pages (no researched deep dive): the research status line + TradingView-only Numbers */
.edd-lstat { display: flex; gap: 8px; align-items: baseline; margin: 0 0 10px; font-size: 13px; line-height: 1.45; }
.edd-lstat .chip { flex: none; }
.edd-lline { margin: 8px 0 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.edd-lnote { margin: 8px 0 0; font-size: 12px; }
