/* Theme: Ticker. Navy terminal band, market green and monospaced titles. Inspired by market screens; uses no index, exchange or data-provider marks.
   Values follow docs/theming.md and also apply to this theme's preview tile in Settings. */
@font-face { font-family: "Ticker Mono"; src: url(../theme-fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Ticker Mono"; src: url(../theme-fonts/ibm-plex-mono-latin-600-normal.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Ticker Body"; src: url(../theme-fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ticker Body"; src: url(../theme-fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ticker Body"; src: url(../theme-fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }

:root[data-theme="ticker"],
[data-theme-preview="ticker"] {
  --preview-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60' preserveAspectRatio='none'%3E%3Cpath d='M0 48 L10 44 L20 46 L30 36 L40 39 L50 28 L60 32 L70 22 L80 25 L90 12 L100 8 L100 60 L0 60Z' fill='%2300c805' fill-opacity='.18'/%3E%3Cpath d='M0 48 L10 44 L20 46 L30 36 L40 39 L50 28 L60 32 L70 22 L80 25 L90 12 L100 8' fill='none' stroke='%2300c805' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left bottom 30% / 100% 55% no-repeat, linear-gradient(#ffffff0d 1px, transparent 1px) 0 0 / 100% 12px, #0b1f3a;
  --preview-ink: #e8f0f8;
  --font-heading: "Ticker Mono", monospace;
  --font-body: "Ticker Body", sans-serif;
  --paper: #f3f5f8; --surface: #fff; --surface-soft: #eef2f6; --surface-locked: #f6f8fa;
  --chip: #e8edf3; --chip-soft: #e3f4e6; --tile-surface: #fff; --tile-line: #d5dce6; --line: #d5dce6;
  --pine: #0b1f3a; --ink: #0d1b2a; --muted: #56657a; --muted-soft: #8796aa; --icon-muted: #8796aa; --disabled: #b0bccb;
  --on-dark: #e8f0f8; --rose: #087f35; --accent-strong: #087f35; --lime: #00c805; --flash: #bfeac9;
  --feature-surface: #e3f4e6; --feature-ink: #1f4d33; --feature-action: #087f35;
  --nav-bg: #0b1f3a; --nav-label-color: #9fb3c8; --nav-selected-bg: #00c805; --nav-underline: var(--nav-selected-bg); --nav-selected-ink: #0b1f3a; --nav-current-ink: #ffffff;
  --nav-border-color: #0b1f3a; --assistant-border: #0b1f3a;
  --card-radius: 6px; --field-radius: 4px; --shadow-color: #0b1f3a;
  --card-shadow: 0 0 0 1px #d5dce6, 0 2px 6px color-mix(in srgb, var(--shadow-color) 6%, transparent);
}

/* Decoration hooks: on the page only, never on the preview tile. */
:root[data-theme="ticker"] .app-header {
  background: var(--nav-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M0 30 L20 26 L40 28 L60 20 L80 23 L100 15 L120 19 L140 12 L160 16 L180 10 L200 14 L220 22 L240 18 L260 24 L280 16 L300 11 L320 13 L340 7 L360 9 L380 4 L400 6 L400 40 L0 40Z' fill='%2300c805' fill-opacity='.12'/%3E%3Cpath d='M0 30 L20 26 L40 28 L60 20 L80 23 L100 15 L120 19 L140 12 L160 16 L180 10 L200 14 L220 22 L240 18 L260 24 L280 16 L300 11 L320 13 L340 7 L360 9 L380 4 L400 6' fill='none' stroke='%2300c805' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left bottom / 100% 60% no-repeat;
  border-block-end: 2px solid #00c805;
}
:root[data-theme="ticker"] .settings-link { color: #9fb3c8; }
:root[data-theme="ticker"] [data-card-title] { font-size: 0.85em; letter-spacing: 0.02em; text-transform: uppercase; }
/* The theme's own edge under the top bar stands in for the four-colour band. */
:root[data-theme="ticker"] .app-header-band { display: none; }
