/* THIS IS FLORIDA — home dashboard (Yahoo-style wire) */
:root {
  --tif-ink: #1a1a1a;
  --tif-muted: #5c5c5c;
  --tif-line: #e5e5e5;
  --tif-bg: #ffffff;
  --tif-page: #f7f7f7;
  --tif-accent: #0b5cab;
  --tif-accent-hover: #084a8a;
  --tif-brand-green: #0d5c2e;
  --tif-brand-green-hover: #094422;
  --tif-header-h: 56px;
  --warn-bg: #fff9f0;
  --warn-line: #f2b888;
  --warn-ink: #5c3a22;
  --rip-high: #b42318;
  --rip-mod: #b54708;
  --rip-low: #027a48;
  --up: #0d5c2e;
  --down: #b42318;
}
*, *::before, *::after { box-sizing: border-box; }
body.tif-has-chrome {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--tif-ink);
  background: var(--tif-page);
}
.tif-skip { position: absolute; left: -9999px; }
.tif-skip:focus { left: 12px; top: 12px; width: auto; height: auto; padding: .5rem .75rem; background: #000; color: #fff; z-index: 10000; }
.banner {
  background: var(--warn-bg); color: var(--warn-ink);
  padding: .65rem 1rem; text-align: center; border-bottom: 1px solid var(--warn-line); font-size: .9rem;
}
.tif-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--tif-bg); border-bottom: 1px solid var(--tif-line);
}
.tif-header-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0 16px; min-height: var(--tif-header-h);
}
.tif-brand {
  display: inline-flex; align-items: center; gap: .4rem;
  text-decoration: none; color: var(--tif-brand-green); font-weight: 700; white-space: nowrap;
}
.tif-brand:hover, .tif-brand:hover .tif-brand-text { color: var(--tif-brand-green-hover); }
.tif-brand-text { color: var(--tif-brand-green); font-weight: 700; }
.tif-nav-desktop { display: none; }
.tif-nav-desktop ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .1rem; justify-content: flex-end;
}
.tif-nav-desktop a {
  display: block; padding: .55rem .6rem; text-decoration: none;
  color: var(--tif-ink); font-size: .9rem; font-weight: 600; border-radius: 6px;
}
.tif-nav-desktop a:hover, .tif-nav-desktop a[aria-current="page"] { background: #f0f4f8; color: var(--tif-accent); }
.tif-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--tif-line);
  background: #fff; border-radius: 8px; cursor: pointer;
}
.tif-drawer { display: none; border-top: 1px solid var(--tif-line); background: #fff; }
.tif-drawer.is-open { display: block; }
.tif-drawer ul { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.tif-drawer a {
  display: block; padding: .85rem 16px; text-decoration: none;
  color: var(--tif-ink); font-weight: 600; border-bottom: 1px solid #f1f1f1;
}
@media (min-width: 960px) {
  .tif-menu-btn { display: none; }
  .tif-nav-desktop { display: block; flex: 1; }
  .tif-drawer { display: none !important; }
}

.ticker {
  background: #0d5c2e; color: #f3faf6;
  border-bottom: 1px solid #094422;
  overflow: hidden; white-space: nowrap;
}
.ticker-inner {
  display: inline-flex; gap: 1.5rem; padding: .45rem 0;
  animation: ticker-x 55s linear infinite;
}
.ticker:hover .ticker-inner { animation-play-state: paused; }
@keyframes ticker-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker a { color: inherit; text-decoration: none; font-size: .85rem; font-weight: 600; }
.ticker .sym { color: #9fe3b8; margin-right: .35rem; }
.ticker .up { color: #7dffb0; }
.ticker .down { color: #ff9b9b; }
.ticker-note {
  max-width: 960px; margin: 0 auto; padding: .25rem 16px .55rem;
  font-size: .75rem; color: #9bb5a6;
}

.dash {
  max-width: 960px; margin: 0 auto;
  padding: 1rem 16px 2.5rem;
}
.mast {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem 1rem; margin: .4rem 0 1rem;
}
.mast h1 {
  margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15;
  font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
}
/* Brand lockup: green THIS IS FLORIDA + black TOPIC, same size */
.tif-lockup { display: inline; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.tif-lockup-brand { color: var(--tif-brand-green); font-weight: 800; }
.tif-lockup-topic { color: var(--tif-ink); font-weight: 800; }
a .tif-lockup-topic { color: var(--tif-ink); }
a:hover .tif-lockup-brand { color: var(--tif-brand-green-hover); }
a:hover .tif-lockup-topic { color: var(--tif-accent); }
.mast .date { color: var(--tif-muted); font-size: .95rem; }

.stats {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 1.25rem;
}
@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.stat {
  background: var(--tif-bg); border: 1px solid var(--tif-line);
  border-radius: 10px; padding: .85rem .9rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.stat .label {
  display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--tif-muted); font-weight: 700; margin-bottom: .25rem;
}
.stat .value {
  display: block; font-size: clamp(1.25rem, 2.5vw, 1.55rem); font-weight: 800;
  color: var(--tif-brand-green); line-height: 1.1;
}
.stat .detail { display: block; margin-top: .35rem; font-size: .78rem; color: var(--tif-muted); line-height: 1.35; }

.grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .grid { grid-template-columns: 1.45fr .95fr .85fr; align-items: start; }
}

.card {
  background: var(--tif-bg); border: 1px solid var(--tif-line);
  border-radius: 12px; padding: 1rem 1.05rem;
}
.card h2 {
  margin: 0 0 .75rem; font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase; color: #6a7a6f; font-weight: 800;
  border-bottom: 3px solid var(--tif-brand-green); padding-bottom: .45rem;
}
.lead a { color: inherit; text-decoration: none; }
.lead a:hover .lead-title { color: var(--tif-accent); }
.eyebrow { font-size: .75rem; font-weight: 700; color: var(--tif-accent); text-transform: uppercase; letter-spacing: .04em; }
.lead-title { margin: .2rem 0 .4rem; font-size: 1.45rem; line-height: 1.2; }
.lead-dek { margin: 0; color: var(--tif-muted); }
.tag {
  display: inline-block; margin-top: .55rem; font-size: .72rem; font-weight: 700;
  padding: .15rem .4rem; border-radius: 4px; border: 1px solid var(--tif-line); color: var(--tif-muted);
}
.tag.live { color: var(--tif-brand-green); border-color: #b7d7c3; background: #f1faf4; }
.tag.soon { color: var(--warn-ink); border-color: var(--warn-line); background: var(--warn-bg); }

.story-list { list-style: none; margin: .85rem 0 0; padding: 0; }
.story-list li { border-top: 1px solid var(--tif-line); padding: .7rem 0; }
.story-list a { color: inherit; text-decoration: none; }
.story-list a:hover .st-title { color: var(--tif-accent); }
.st-title { margin: .15rem 0 .2rem; font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
.st-dek { margin: 0; font-size: .9rem; color: var(--tif-muted); }

.wx-list, .surf-list, .stock-list { list-style: none; margin: 0; padding: 0; }
.wx-list li, .surf-list li, .stock-list li {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .55rem 0; border-bottom: 1px solid #eef1f4;
}
.wx-list li:last-child, .surf-list li:last-child, .stock-list li:last-child { border-bottom: 0; }
.wx-name, .surf-name, .stock-sym { font-weight: 700; }
.wx-meta, .surf-meta, .stock-meta { color: var(--tif-muted); font-size: .85rem; text-align: right; }
.wx-temp { font-size: 1.15rem; font-weight: 800; color: var(--tif-brand-green); }

.rip {
  display: inline-block; min-width: 4.6rem; text-align: center;
  font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  border-radius: 999px; padding: .18rem .45rem; color: #fff;
}
.rip-high { background: var(--rip-high); }
.rip-moderate { background: var(--rip-mod); }
.rip-low { background: var(--rip-low); }

.more {
  display: inline-block; margin-top: .75rem; font-weight: 700; font-size: .92rem;
  color: var(--tif-accent); text-decoration: none;
}
.more:hover { text-decoration: underline; color: var(--tif-accent-hover); }

.places {
  margin-top: 1rem;
  display: grid; gap: .75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .places { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.place-tile {
  background: var(--tif-bg); border: 1px solid var(--tif-line); border-radius: 10px;
  padding: .9rem; text-decoration: none; color: inherit; font-weight: 700;
}
.place-tile:hover { border-color: var(--tif-accent); }
.place-tile .tif-lockup { display: block; font-size: .92rem; line-height: 1.25; }
.place-tile > span:not(.tif-lockup) {
  display: block; margin-top: .35rem; font-weight: 500; font-size: .85rem;
  color: var(--tif-muted); text-transform: none; letter-spacing: 0;
}
@media (min-width: 700px) {
  .places.places-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cta {
  margin: 1.25rem 0 0; padding: 1rem 1.1rem;
  background: #f7fbf8; border: 1px solid #cfe3d6; border-radius: 12px;
}
.cta h2 { margin: 0 0 .35rem; font-size: 1.05rem; color: var(--tif-brand-green); border: 0; padding: 0; text-transform: none; letter-spacing: 0; }
.cta p { margin: 0 0 .65rem; color: var(--tif-muted); font-size: .95rem; }
.cta a.btn {
  display: inline-block; padding: .55rem .9rem; border-radius: 8px;
  background: var(--tif-brand-green); color: #fff; text-decoration: none; font-weight: 700;
}
.cta a.btn:hover { background: var(--tif-brand-green-hover); }

.sources {
  margin-top: 1.25rem; font-size: .82rem; color: var(--tif-muted);
}
.sources h2 {
  margin: 0 0 .5rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
  color: #888; border-top: 2px solid var(--tif-brand-green); padding-top: .7rem;
}
.sources ul { margin: 0; padding-left: 1.1rem; }
.sources li { margin: .25rem 0; }
.sources a { color: var(--tif-accent); }

.tif-footer {
  background: #fff; border-top: 1px solid var(--tif-line); color: var(--tif-muted);
  padding: 2rem 16px 2.5rem; margin-top: 1rem;
}
.tif-footer-inner { max-width: 960px; margin: 0 auto; }
.tif-footer-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tif-footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .tif-footer-grid { grid-template-columns: repeat(4, 1fr); } }
.tif-footer h2 {
  margin: 0 0 .6rem; font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; color: #888; font-weight: 700;
}
.tif-footer ul { list-style: none; margin: 0; padding: 0; }
.tif-footer a { color: var(--tif-ink); text-decoration: none; font-size: .95rem; }
.tif-footer a:hover { color: var(--tif-accent); text-decoration: underline; }
.tif-footer-bottom {
  margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--tif-line);
  font-size: .88rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: space-between;
}
.tif-footer .tif-brand-text,
.tif-footer a.tif-lockup-brand,
.tif-footer-bottom a.tif-brand-text {
  color: var(--tif-brand-green) !important;
  font-weight: 800;
  text-decoration: none;
}
.tif-footer .tif-brand-text:hover,
.tif-footer a.tif-lockup-brand:hover {
  color: var(--tif-brand-green-hover) !important;
}
.tif-footer-cta {
  display: inline-block; margin-top: .35rem; padding: .45rem .7rem;
  border: 1px solid var(--tif-line); border-radius: 6px; font-weight: 600; font-size: .9rem;
}
