@font-face{font-family:Sansation;src:url('assets/Sansation-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Sansation;src:url('assets/Sansation-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{color-scheme:light;--ink:#231f20;--muted:#655d56;--line:#ddd6ce;--paper:#fffdfb;--ground:#f5f2ed;--blue:#0054d7;--pale-blue:#eef4ff}
*{box-sizing:border-box}html{min-width:320px}body{margin:0;background:var(--ground);color:var(--ink);font:16px/1.45 Sansation,'Segoe UI',sans-serif}button,select{font:inherit}button,summary{cursor:pointer}button:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.demo-strip{background:#231f20;color:#fff}.demo-strip__inner,.topbar__inner,.feed-shell{width:min(100% - 64px,1280px);margin:auto}.demo-strip__inner{min-height:34px;display:flex;align-items:center;gap:10px;font-size:12px}.demo-strip__mark{background:#aa2331;font-size:10px;font-weight:700;letter-spacing:.08em;padding:2px 5px;border-radius:2px}.topbar{background:var(--paper);border-bottom:1px solid var(--line)}.topbar__inner{min-height:72px;display:flex;align-items:center;gap:23px}.brand{display:flex;align-items:center;min-height:44px}.brand img{width:132px;height:44px}.topbar__section{border-left:1px solid var(--line);padding-left:23px;font-size:14px;font-weight:700}.topbar__session{margin-left:auto;color:var(--muted);font-size:13px}.feed-shell{padding:30px 0 72px}.feed-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.feed-heading h1{font-size:clamp(28px,3vw,38px);line-height:1.1;letter-spacing:-.035em;margin:0 0 5px}.feed-heading h1 span{color:#d73749}.feed-heading p{margin:0;color:var(--muted);font-size:14px}.feed-meta{white-space:nowrap;font-size:12px;color:var(--muted)}.feed-meta:before{content:'';display:inline-block;width:7px;height:7px;background:#967a50;border-radius:50%;margin-right:8px}
.feed-filters{display:grid;grid-template-columns:auto minmax(165px,1.5fr) minmax(140px,1fr) minmax(120px,.8fr) auto;gap:16px;align-items:end;padding:16px 18px;background:#eee9e2;border:1px solid #e3dbd1}.feed-filters__title{font-weight:700;align-self:center;font-size:14px;padding-right:8px}.feed-filters label{display:grid;gap:5px;min-width:0}.feed-filters label span{font-size:11px;font-weight:700;color:#5f574f}.feed-filters select{width:100%;height:44px;padding:0 10px;background:#fff;border:1px solid #cfc5ba;border-radius:3px;color:var(--ink);font-size:13px}.feed-reset{min-height:44px;border:0;background:transparent;padding:0 4px;font-size:13px;font-weight:700;color:#514b45;text-align:left}
.feed-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:24px 0 13px}.feed-list-heading h2{margin:0;font-size:20px;letter-spacing:-.02em}.feed-list-heading span{font-size:12px;color:var(--muted)}.feed-list{border-top:1px solid #cfc6bd}.event{background:var(--paper);border-bottom:1px solid var(--line)}.event .event-summary{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) 265px 26px;gap:26px;align-items:center;padding:14px 18px;min-height:142px}.event .event-summary::-webkit-details-marker{display:none}.event .event-summary:hover{background:#f8faff}.event.is-open summary{background:var(--pale-blue)}.event__content{min-width:0}.event__top,.event__bottom{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.event__symbol{font-size:19px;font-weight:700;letter-spacing:-.02em}.event__timeframe{font-size:11px;font-weight:700;background:#ede9e3;padding:4px 7px;border-radius:3px}.event__type{margin:7px 0 12px;font-size:14px;color:#514b45}.event__time{font-size:12px;color:var(--muted)}.direction{font-size:11px;font-weight:700;border-radius:3px;padding:4px 7px}.direction--bullish{background:#e5f2e9;color:#155b3d}.direction--bearish{background:#fce9eb;color:#922330}.direction--neutral{background:#e9eef3;color:#405064}.event__thumbnail{display:block;width:100%;aspect-ratio:2.15;overflow:hidden;background:#edf2f6;border:1px solid #d9e0e5}.event__thumbnail img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--event-x,66%) var(--event-y,50%)}.event__chevron{font-size:24px;color:#635b54;line-height:1;transform:rotate(0);transition:transform .15s}.event.is-open .event__chevron{transform:rotate(180deg);color:var(--blue)}
.event__expanded{border-top:1px solid #d9e1ed;padding:22px 26px 26px}.event__expanded-inner{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(210px,.8fr);gap:28px;align-items:start}.chart{margin:0;min-width:0}.chart__image{display:block;width:100%;height:auto;border:1px solid #d9e0e5;background:#edf2f6}.chart figcaption{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px;padding-top:8px}.chart__open{display:inline-flex;align-items:center;min-height:44px;color:var(--blue);font-size:12px;font-weight:700;text-decoration:none}.chart__open:hover{text-decoration:underline}.event__detail h3{margin:7px 0 9px;font-size:19px;line-height:1.2}.event__detail p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.kicker{font-size:10px;font-weight:700;letter-spacing:.12em;color:#665e56}.facts{border-top:1px solid var(--line);margin:20px 0 0;padding-top:15px;display:grid;gap:11px}.facts div{display:flex;justify-content:space-between;gap:14px;font-size:12px}.facts dt{color:var(--muted)}.facts dd{margin:0;text-align:right;font-weight:700}.feed-footer{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;padding:10px 2px}.feed-footer button{min-height:44px;border:0;background:transparent;color:var(--ink);font-size:12px;font-weight:700}
@media(max-width:800px){.feed-filters{grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px}.feed-filters__title{grid-column:1/-1}.event .event-summary{grid-template-columns:minmax(0,1fr) 215px 20px;gap:15px}.event__expanded-inner{grid-template-columns:1fr}.event__detail{max-width:600px}.facts{max-width:400px}}
@media(max-width:600px){.demo-strip__inner,.topbar__inner,.feed-shell{width:calc(100% - 32px)}.demo-strip__inner{font-size:11px}.topbar__inner{min-height:64px;gap:13px}.brand img{width:105px;height:35px}.topbar__section{font-size:12px;padding-left:13px}.topbar__session{display:none}.feed-shell{padding:24px 0 50px}.feed-heading{display:block;margin-bottom:16px}.feed-heading h1{font-size:29px}.feed-heading p{font-size:13px}.feed-meta{display:block;margin-top:12px}.feed-filters{grid-template-columns:1fr 1fr;padding:13px;gap:10px}.feed-filters label:first-of-type{grid-column:1/-1}.feed-reset{justify-self:start}.feed-list-heading{padding:20px 0 10px}.feed-list-heading h2{font-size:18px}.event .event-summary{grid-template-columns:minmax(0,1fr) 122px 15px;gap:10px;min-height:122px;padding:13px 10px}.event__symbol{font-size:17px}.event__type{font-size:12px;line-height:1.25;margin:5px 0 9px}.event__time{font-size:11px}.event__thumbnail{aspect-ratio:1.4}.event__chevron{font-size:20px}.event__expanded{padding:16px 12px 20px}.event__expanded-inner{gap:16px}.chart figcaption{font-size:10px;flex-wrap:wrap}.feed-footer{font-size:11px}}
@media(max-width:350px){.event .event-summary{grid-template-columns:minmax(0,1fr) 100px 13px;gap:8px}.event__bottom{gap:5px}.topbar__section{font-size:11px}}
@media(prefers-reduced-motion:reduce){.event__chevron{transition:none}}

[hidden]{display:none!important}
.event-summary{width:100%;border:0;background:transparent;text-align:left;color:inherit;font:inherit;cursor:pointer}
.event-summary:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}
.event__content,.event__type,.event__source{display:block}
.event__source{font-size:11px;color:var(--muted);margin-top:6px}
.event__thumbnail{position:relative;display:grid;place-items:center;aspect-ratio:2.15}
.event__thumbnail img{width:100%;height:100%;object-fit:contain;object-position:center}
.event__thumbnail .image-status{font-size:10px;text-align:center;padding:8px}
.chart-media{min-height:180px;display:grid;place-items:center;background:#edf2f6;border:1px solid #d9e0e5}
.chart__image{border:0;max-width:100%;object-fit:contain}
.chart-media .image-status{padding:20px;color:var(--muted);font-size:13px;text-align:center}
.retry-button{min-height:44px;padding:8px 14px;background:#fff;color:var(--blue);border:1px solid #b8c8e0;border-radius:3px;font:inherit;font-size:13px;cursor:pointer;margin:8px}
.feed-message{padding:22px 0;color:var(--muted);font-size:14px}
.feed-filters{grid-template-columns:minmax(165px,1.4fr) minmax(115px,.7fr) minmax(100px,.6fr) minmax(180px,1fr) auto}
.facts div{display:grid;gap:4px;justify-content:start}.facts dd{text-align:left;overflow-wrap:anywhere}
.feed-footer{gap:16px}.feed-footer span{font-size:11px}
@media(max-width:900px){.feed-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.feed-reset{grid-column:1/-1}.event .event-summary{grid-template-columns:minmax(0,1fr) 215px 20px;gap:15px}}
@media(max-width:600px){.event .event-summary{grid-template-columns:minmax(0,1fr) 112px 15px;gap:10px;min-height:140px}.event__thumbnail{aspect-ratio:1.4}.event__thumbnail img{object-fit:contain}.event__time{font-size:10px}.event__source{font-size:10px}.chart-media{min-height:120px}.feed-filters label:first-of-type{grid-column:auto}.feed-list-heading{align-items:center}.feed-footer{align-items:start}.facts div{display:block}.facts dd{text-align:left;margin-top:3px}}
@media(max-width:350px){.event .event-summary{grid-template-columns:minmax(0,1fr) 90px 13px;gap:7px}.event__symbol{font-size:16px}.event__type{font-size:11px}}
.feed-filters{grid-template-columns:1.3fr .7fr .6fr 1.2fr .8fr auto;gap:12px}
.collector-status{font-size:12px;color:#155b3d;margin:0 0 14px;padding:10px 13px;border-left:3px solid #42936a;background:#e9f4ed}
.collector-status.is-stale{color:#75510c;background:#fff4d9;border-color:#c3922b}
.collector-status__message,.collector-status__time{display:block}.collector-status__time{font-size:11px;margin-top:3px}
.event__thumbnail.is-loading img{visibility:hidden}.event__thumbnail .image-status{position:absolute;inset:0;display:grid;place-items:center}
.chart figcaption{flex-wrap:wrap}.chart figcaption span:first-child{flex-basis:100%}
@media(max-width:1100px){.feed-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.feed-reset{grid-column:auto}}
@media(max-width:600px){.feed-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.feed-filters label:first-of-type{grid-column:1/-1}.feed-reset{grid-column:auto}}

/* Keep the source thumbnail's landscape ratio on every viewport. */
.feed-filters{grid-template-columns:1.3fr .7fr .6fr .8fr auto}
.event__thumbnail{aspect-ratio:28/13}
@media(max-width:1100px){.feed-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.feed-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.event__thumbnail{aspect-ratio:28/13}}

/* I7: preserve whole thumbnail pixels and give the expanded chart full width. */
.event .event-summary{grid-template-columns:minmax(0,1fr) 240px 26px;gap:20px}
.event__thumbnail{width:240px;height:auto;aspect-ratio:auto;overflow:visible}
.event__thumbnail img{display:block;width:100%;height:auto;object-fit:contain}
.thumbnail-caption{position:absolute;left:0;bottom:0;padding:2px 5px;background:rgba(255,253,251,.94);font-size:10px;color:var(--muted)}
.event__expanded-inner{display:block}.event__expanded .chart{width:100%}.event__note{margin:12px 0 0;color:var(--muted);font-size:12px}
/* I7 perceptual A: identity, quiet metadata, then independent direction and class shapes. */
.event .event-summary{position:relative;grid-template-columns:minmax(0,1fr) 240px;gap:14px;padding:18px}
.event__symbol{display:block;font-size:20px;letter-spacing:-.025em}
.event__metadata{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:#696366;font-size:12px;margin-top:6px}
.event__clock{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
.event__timeframe{font-size:inherit;font-weight:400;background:none;padding:0;border-radius:0}.event__metadata-dot{padding:0 2px}
.event__time{font-size:inherit;color:inherit}.event__type{margin:12px 0 0;color:#3d383a;font-size:14px;line-height:1.3}
.event__signals{display:flex;align-items:center;gap:18px;margin-top:14px;flex-wrap:wrap}
.scenario{display:flex;align-items:center;gap:8px;color:#4e4a4c;background:none;padding:0;border-radius:0;white-space:normal;min-width:0;max-width:100%}
.scenario--bullish{color:#12633f}.scenario--bearish{color:#a52639}.scenario__text{min-width:0}
.scenario__icon{display:block;width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.scenario__label{display:block;font-size:11px;color:#5d5759;line-height:1.1;margin-bottom:3px}.scenario__side{display:block;font-size:17px;line-height:1.1;letter-spacing:normal}
.scenario--neutral .scenario__side{font-size:13px;color:#4e4a4c}
.strength{display:flex;align-items:center;gap:7px;color:#464144;font-size:12px;font-weight:700;padding:0;border-radius:0;line-height:1.4;white-space:nowrap}
.strength--strong,.strength--weak{color:#464144;background:none}.strength__bars{display:inline-flex;align-items:flex-end;gap:3px;height:19px}
.strength__bar{display:block;width:7px;background:#373337;border:1.5px solid #373337;border-radius:1px}.strength__bar:first-child{height:11px}.strength__bar:last-child{height:18px}.strength--weak .strength__bar:last-child{background:transparent}
.event__chevron{position:absolute;right:3px;top:18px;width:12px;text-align:center;font-size:18px}
.feed-display-options{display:flex;align-items:start;gap:24px;justify-content:space-between;margin:0 0 16px}.alert-clock{display:grid;gap:4px;font-size:11px;font-weight:700;min-width:150px}.alert-clock select{height:44px;padding:0 10px;border:1px solid #cfc5ba;border-radius:3px;background:var(--paper);color:var(--ink);font-size:13px}
.strength-help{max-width:540px;color:var(--muted);font-size:12px}.strength-help summary{min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}.strength-help p{margin:0 0 8px}.feed-footer{justify-content:flex-end}
@media(max-width:600px){.event .event-summary{grid-template-columns:minmax(0,1fr) 160px;gap:10px;padding:15px 12px;min-height:0}.event__thumbnail{width:160px;height:auto}.event__symbol{font-size:18px}.event__metadata{font-size:11px}.event__type{font-size:13px}.event__signals{gap:8px}.scenario{gap:6px}.strength{gap:6px}.event__expanded{padding:16px 12px 20px}.feed-display-options{gap:16px}.strength-help{max-width:50%}}
@media(max-width:480px){.event__content{grid-column:auto;grid-row:auto}.event__thumbnail{grid-column:auto;grid-row:auto;aspect-ratio:auto;align-self:start}.feed-display-options{flex-wrap:wrap}.strength-help{max-width:100%}}
@media(max-width:340px){.event .event-summary{grid-template-columns:minmax(0,1fr)}.event__thumbnail{grid-column:1;grid-row:2;width:160px}}
