@import url('stock_sheet_header.css?v=20261012-sheet-headers');
@import url('stock_indicator_guide.css?v=20261013-indicator-guide');

/* Keep the familiar quote styling and 14px info glyph. */
.track-card-quote.tr-card-guide-quote { position:relative; inset:auto; isolation:isolate; overflow:visible; clip-path:none; background:transparent; box-shadow:none; }
.tr-card-guide-quote::before { content:""; position:absolute; inset:0; z-index:-1; background:#000; box-shadow:inset 0 0 0 1px rgba(126,197,199,.14); clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 11px,100% calc(100% - 11px),calc(100% - 11px) 100%,11px 100%,0 calc(100% - 11px),0 11px); }
@media(max-width:480px) { .tr-card-guide-quote::before { clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px); } }
.tr-card-guide-trigger { appearance:none; position:absolute; top:-8px; right:-7px; z-index:2; display:grid; place-items:center; width:24px; height:24px; padding:0; border:0; border-radius:50%; background:transparent; color:#96b6bc; cursor:pointer; pointer-events:auto; touch-action:manipulation; }
.tr-card-guide-trigger svg { width:14px; height:14px; fill:#071014; stroke:currentColor; stroke-width:1.5; }
.tr-card-guide-trigger:hover { color:#8de4df; }
.tr-card-guide-trigger:focus, .tr-card-guide-trigger:focus-visible { outline:none; box-shadow:none; }
.tr-card-guide-keyboard .tr-card-guide-trigger:focus-visible svg { outline:1px solid #7de2dc; outline-offset:2px; border-radius:50%; }

/* Intrinsic height: the overview stays small; only a requested legend expands. */
.tr-card-guide-sheet { box-sizing:border-box; position:fixed; inset:auto 0 0; margin:0 auto; padding:0; width:min(100%,480px); max-width:100%; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); overflow:hidden; border:1px solid #355056; border-bottom:0; border-radius:16px 16px 0 0; background:#091216; color:#e1ecee; box-shadow:0 -10px 40px #0007; font:400 13px/1.4 "IBM Plex Sans","TR IBM Plex Sans",Arial,sans-serif; text-align:left; letter-spacing:normal; text-transform:none; }
.tr-card-guide-sheet[open] { display:flex; flex-direction:column; }
.tr-card-guide-sheet:focus { outline:none; }
.tr-card-guide-sheet::backdrop { background:rgba(0,7,10,.58); }
.tr-card-guide-sheet * { box-sizing:border-box; }
.tr-card-guide-header { display:flex; align-items:center; justify-content:space-between; flex:none; gap:10px; min-height:52px; padding:0 16px; border-bottom:1px solid #263a40; }
.tr-card-guide-header h2 { min-width:0; margin:0; }
.tr-card-guide-header h2:not(.tr-stock-sheet-heading) { color:#eff6f7; font:600 16px/20px "IBM Plex Sans","TR IBM Plex Sans",Arial,sans-serif; letter-spacing:0; text-transform:none; }
.tr-card-guide-close { appearance:none; flex:none; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:6px; color:#b8d0d4; background:transparent; cursor:pointer; font:400 24px/1 Arial,sans-serif; }
.tr-card-guide-close:hover { background:#15272d; }
.tr-card-guide-close svg { width:16px; height:16px; }
.tr-card-guide-close:focus { outline:none; }
.tr-card-guide-keyboard .tr-card-guide-close:focus-visible { outline:1px solid #7de2dc; outline-offset:0; }
.tr-card-guide-scroll { min-height:0; overflow:auto; overscroll-behavior:contain; padding:0 16px max(12px,env(safe-area-inset-bottom)); }
.tr-card-guide-overview { padding:12px 0; }
.tr-card-guide-date { display:grid; gap:3px; margin:0; }
.tr-card-guide-date > span { color:#9cb4bb; font-size:11px; }
.tr-card-guide-date strong { color:#cde3e5; font-weight:550; font-size:13px; line-height:1.4; }
.tr-card-guide-note { color:#a8bec5; margin:8px 0 0; font-size:12px; line-height:1.4; }
.tr-card-guide-note.tr-card-guide-caption { color:#9cb4bb; font:500 10px/12px "IBM Plex Sans","TR IBM Plex Sans",Arial,sans-serif; letter-spacing:.02em; }
.tr-card-guide-section { border-top:1px solid #263a40; }
.tr-card-guide-section > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:10px 0; color:#deeaec; font-size:13px; font-weight:650; line-height:1.4; list-style:none; cursor:pointer; }
.tr-card-guide-section > summary::-webkit-details-marker { display:none; }
.tr-card-guide-section > summary > span { flex:none; width:6px; height:6px; margin-right:3px; border-right:1.5px solid #90afb6; border-bottom:1.5px solid #90afb6; transform:rotate(45deg); }
.tr-card-guide-section[open] > summary > span { transform:rotate(225deg); }
.tr-card-guide-section > summary:focus { outline:none; }
.tr-card-guide-keyboard .tr-card-guide-section > summary:focus-visible { outline:1px solid #7de2dc; outline-offset:0; border-radius:3px; }
.tr-card-guide-market { border-top:1px solid #263a40; }
.tr-card-guide-market h3 { margin:0; padding:12px 0 8px; color:#deeaec; font:500 12px/18px "IBM Plex Sans","TR IBM Plex Sans",Arial,sans-serif; letter-spacing:normal; text-transform:none; }
.tr-card-guide-market .tr-indicator-help__section:first-child { border-top:0; }
html[data-reading-theme="light"]:not([data-reading-palette="dim"]) .tr-card-guide-sheet .tr-card-guide-market,
html[data-reading-theme="light"]:not([data-reading-surface="shell"]) .tr-card-guide-sheet .tr-card-guide-market { border-color:var(--tr-line,#cedce1); }
html[data-reading-theme="light"]:not([data-reading-palette="dim"]) .tr-card-guide-sheet .tr-card-guide-market h3,
html[data-reading-theme="light"]:not([data-reading-surface="shell"]) .tr-card-guide-sheet .tr-card-guide-market h3 { color:var(--tr-ink,#233f4c); }
.tr-card-guide-panel { padding:1px 0 12px; }
.tr-card-guide-section-date { margin:0 0 10px; color:#89c6c5; font-size:11px; line-height:1.4; }
.tr-card-guide-legend { display:grid; gap:7px; margin:0; }
.tr-card-guide-row { display:grid; grid-template-columns:22px minmax(96px,.9fr) minmax(0,1.2fr); gap:0 7px; align-items:center; min-height:24px; }
.tr-card-guide-row dt { display:contents; }
.tr-card-guide-glyph { display:grid; place-items:center; color:#88c4c3; width:22px; height:22px; }
.tr-card-guide-glyph svg { width:21px; height:21px; }
.tr-card-guide-term { color:#d5e4e7; font-size:12px; font-weight:600; line-height:1.3; }
.tr-card-guide-row dd { margin:0; color:#a8bec5; font-size:12px; line-height:1.3; }
.tr-card-guide-scale { display:flex; align-items:center; gap:8px; margin-top:10px; color:#a8bec5; font-size:10px; }
.tr-card-guide-ramp { flex:1; height:3px; border-radius:3px; background:var(--tr-score-ramp, linear-gradient(90deg,#cf8d87,#d5bf7b,#80bdad,#acd279)); }
@media(prefers-reduced-motion:no-preference) { .tr-card-guide-sheet[open] { animation:tr-guide-enter .14s ease-out; } @keyframes tr-guide-enter { from { transform:translateY(12px); opacity:0; } to { transform:translateY(0); opacity:1; } } }

/* Preserve the card icons and leave room for the full MOMENTUM MIXED label. */
.track-card-quote.tr-card-guide-quote { --market-copy-width:84px; }
.tr-card-momentum-trigger { cursor:pointer; touch-action:manipulation; }
.tr-card-guide-keyboard .tr-card-momentum-trigger:focus-visible { outline:1px solid #7de2dc; outline-offset:1px; border-radius:2px; }
