/* todays-prices.css (extracted from inline <style>)
   Security note: self-host fonts for a tighter CSP and better privacy.
   If you want Inter/Montserrat without Google Fonts, add local @font-face rules here
   and place font files under /assets/fonts/. */

:root {
      --jmr-green: #24B040;
      --jmr-green-dark: #1E8F36;
      --jmr-charcoal: #222222;
      --jmr-light: #F2F4F6;
      --jmr-mid-gray: #A7AEB5;
      --jmr-blue: #1F5F8B;
      --bg-body: #ffffff;
      --radius-lg: 14px;
      --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.10);
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg-body);
      color: var(--jmr-charcoal);
      line-height: 1.6;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

/* --- Security/CSP helpers: avoid inline style= attributes --- */
.logo-img { max-height: 40px; width: auto; }
.widget-right { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.panel-embed { padding: 0; overflow: hidden; }
.mt-1 { margin-top: 1rem; }
.link-underline { text-decoration: underline; }


    .page { min-height: 100vh; display: flex; flex-direction: column; }

    .jmr-news-bar {
      background: #022c22;
      color: #ecfdf3;
      font-size: 0.9rem;
      border-bottom: 1px solid rgba(16, 185, 129, 0.35);
    }
    .jmr-news-inner {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0.25rem 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .jmr-news-ticker { overflow: hidden; flex: 1; }
    .jmr-news-track {
      display: inline-block;
      white-space: nowrap;
      animation: jmrTicker 30s linear infinite;
    }
    .jmr-news-bar:hover .jmr-news-track { animation-play-state: paused; }
    @keyframes jmrTicker {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }
    .news-link { text-decoration: underline; }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid #e5e7eb;
    }

    .nav {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0.75rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      position: relative;
    }

    .nav-left { display: flex; align-items: center; gap: 0.75rem; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      font-size: 0.9rem;
    }

    .nav-links a { color: #4b5563; font-weight: 500; }

    .nav-links a.nav-cta {
      padding: 0.5rem 0.9rem;
      border-radius: 999px;
      background: #ecfdf3;
      color: var(--jmr-green-dark);
      border: 1px solid #bbf7d0;
      font-weight: 600;
    }

    .nav-links a.is-active { color: var(--jmr-green-dark); }

    .nav-toggle { display: none; }

    main { flex: 1; }

    .section { padding: 3.5rem 1.5rem; }

    .section-inner {
      max-width: 1120px;
      margin: 0 auto;
    }

    .section-heading {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.8rem;
      margin-bottom: 0.5rem;
    }

    .section-intro {
      max-width: 44rem;
      color: #4b5563;
      font-size: 0.98rem;
      margin-bottom: 1.5rem;
    }

    .hero-simple {
      background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 41, 59, 0.72) 100%),
        url('media/cashier-office.jpeg') center / cover no-repeat;
      border-bottom: 1px solid #e5e7eb;
      min-height: 460px;
      display: flex;
      align-items: center;
    }

    .hero-layout {
      display: grid;
      grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
      gap: 2rem;
      align-items: center;
      color: #ffffff;
    }

    .hero-eyebrow {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.8rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #4ade80;
      margin-bottom: 0.6rem;
    }

    .hero-title {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(2rem, 4vw, 2.6rem);
      line-height: 1.1;
      margin: 0 0 0.8rem;
      color: #ffffff;
    }

    .hero-subtitle {
      font-size: 0.98rem;
      color: #e5e7eb;
      margin-bottom: 1.2rem;
      max-width: 36rem;
    }

    .hero-tagline {
      font-size: 0.85rem;
      color: #d1d5db;
    }
    .hero-tagline strong { color: #bbf7d0; }

    .hero-photo-frame {
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 18px 35px rgba(15, 23, 42, 0.45);
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: #020617;
    }
    .hero-photo-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 0.9rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      padding: 0.75rem 1.3rem;
      border-radius: 999px;
      border: 1px solid transparent;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.95rem;
      transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
      text-decoration: none;
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--jmr-green), var(--jmr-green-dark));
      color: #ffffff;
      box-shadow: 0 12px 25px rgba(34, 197, 94, 0.30);
      border: none;
    }
    .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 35px rgba(34, 197, 94, 0.40); }

    .btn-secondary {
      background: rgba(255,255,255,0.10);
      color: #ffffff;
      border: 1px solid rgba(226,232,240,0.55);
      backdrop-filter: blur(8px);
    }
    .btn-secondary:hover { transform: translateY(-1px); background: rgba(255,255,255,0.14); }

    .panel {
      background: #ffffff;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid #e5e7eb;
      box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
      padding: 1rem;
    }

    .price-section { background: #f9fafb; }

    .price-frame {
      width: 100%;
      height: 740px;
      border: 1px solid #e5e7eb;
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
      background: #ffffff;
    }

.price-frame--panel {
  width: 100%;
  height: 92vh;
  border: 0;          /* panel already provides border/shadow */
  border-radius: 14px; /* match panel radius */
  display: block;
  background: #ffffff;
}

@media (max-width: 720px) {
  .price-frame--panel { height: 80vh; }
}


/* PDF frame aligned to section width (same as other sections) */
.price-frame {
  width: 100%;
  height: 92vh;            /* tall, scrollable */
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  background: #ffffff;
}

@media (max-width: 720px) {
  .price-frame { height: 80vh; }
}

@media (max-width: 720px) {
  .price-frame--fullbleed {
    height: 80vh;
  }
}

    .widget-toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1rem;
    }

    .widget-left {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
    }

    .widget-input, .widget-select {
      appearance: none;
      border: 1px solid #d1d5db;
      background: #ffffff;
      border-radius: 999px;
      padding: 0.6rem 0.9rem;
      font-size: 0.95rem;
      outline: none;
    }

    .widget-input:focus, .widget-select:focus {
      border-color: rgba(36,176,64,0.65);
      box-shadow: 0 0 0 3px rgba(36,176,64,0.18);
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      border-radius: 999px;
      padding: 0.22rem 0.65rem;
      font-size: 0.8rem;
      border: 1px solid #e5e7eb;
      background: #ffffff;
      color: #374151;
      white-space: nowrap;
    }

    .pill.ok { background: #ecfdf3; border-color: #bbf7d0; color: #166534; }
    .pill.call { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
    .pill.no { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }

    .small-note {
      font-size: 0.82rem;
      color: #6b7280;
      margin-top: 0.85rem;
    }

    .table-wrap {
      overflow: auto;
      border-radius: 14px;
      border: 1px solid #e5e7eb;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 680px;
      background: #ffffff;
    }

    th, td {
      padding: 0.8rem 0.85rem;
      border-bottom: 1px solid #eef2f7;
      text-align: left;
      font-size: 0.95rem;
    }

    th {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #6b7280;
      background: #f9fafb;
    }

    tr:hover td { background: #fbfbfc; }

    .right { text-align: right; }
    .muted { color: #6b7280; }

    .results {
      display: grid;
      gap: 1rem;
      margin-top: 1rem;
    }

    .result-card {
      background: #ffffff;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid #e5e7eb;
      box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
      padding: 0.95rem 1rem;
    }

    .result-head {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.6rem 1rem;
      margin-bottom: 0.4rem;
    }

    
    .result-pills {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      align-items: center;
    }

.result-title {
      font-family: 'Montserrat', sans-serif;
      font-weight: 800;
      font-size: 1.02rem;
      margin: 0;
    }

    .result-card p { margin: 0.35rem 0 0; color: #4b5563; font-size: 0.95rem; }
    .result-card ul { margin: 0.45rem 0 0; padding-left: 1.1rem; color: #374151; }
    .result-card li + li { margin-top: 0.2rem; }

    .error-box {
      border: 1px solid #fecaca;
      background: #fff1f2;
      color: #9f1239;
      border-radius: 14px;
      padding: 0.85rem 1rem;
    }
    .error-box code {
      display: inline-block;
      padding: 0.1rem 0.35rem;
      border-radius: 8px;
      background: rgba(15, 23, 42, 0.08);
      color: #111827;
    }

    footer {
      border-top: 1px solid #e5e7eb;
      padding: 1.2rem 1.5rem 1.5rem;
      font-size: 0.8rem;
      color: #6b7280;
    }

    .footer-inner {
      max-width: 1120px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      justify-content: space-between;
      align-items: center;
    }

    .mobile-call-bar {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 60;
      display: none;
      background: #0f172a;
      box-shadow: 0 -8px 16px rgba(15, 23, 42, 0.35);
      padding: 0.45rem 1.1rem;
    }

    .mobile-call-inner {
      max-width: 1120px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      color: #e5e7eb;
      font-size: 0.85rem;
    }

    .mobile-call-label {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }

    .mobile-call-label strong { font-size: 0.9rem; }
    .mobile-call-number { font-weight: 600; }

    .mobile-call-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 1.1rem;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--jmr-green), var(--jmr-green-dark));
      color: #ffffff;
      font-weight: 600;
      font-size: 0.9rem;
      text-decoration: none;
      white-space: nowrap;
    }

    @media (max-width: 900px) {
      .hero-layout { grid-template-columns: minmax(0, 1fr); }
      .hero-photo-frame { display: none; }
    }

    @media (max-width: 720px) {
      .nav-links { display: none; }

      .nav.is-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1.5rem;
        left: 1.5rem;
        padding: 0.75rem 1rem 1rem;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: var(--shadow-soft);
        gap: 0.75rem;
        z-index: 40;
      }

      .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        border: 1px solid #d1d5db;
        padding: 0.35rem 0.8rem;
        font-size: 0.8rem;
        background: #f9fafb;
        cursor: pointer;
      }

      .section { padding: 2.5rem 1.1rem; }
      .mobile-call-bar { display: block; }
      body { padding-bottom: 3.2rem; }
    }
