/* Copied from /strain-library inline styles (unchanged) */

    .sl-header { text-align: center; padding: 2rem 1rem 0.5rem; }
    .sl-header h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.5rem; color: #ffffff; }
    .sl-header p { font-size: 0.9rem; color: #e5e7eb; max-width: 600px; margin: 0 auto; }

    .sl-search-wrap {
      max-width: 600px;
      margin: 1.5rem auto 0;
      position: relative;
    }
    .sl-search {
      width: 100%;
      padding: 0.75rem 1rem 0.75rem 2.75rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.8);
      background: rgba(15, 23, 42, 0.85);
      color: var(--text-main);
      font-size: 0.95rem;
      font-family: inherit;
      box-sizing: border-box;
      transition: border-color 0.15s;
    }
    .sl-search::placeholder { color: #9ca3af; }
    .sl-search:focus {
      outline: none;
      border-color: var(--accent-emerald);
      box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    }
    .sl-search-icon {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: #9ca3af;
      font-size: 1rem;
      pointer-events: none;
    }

    .sl-filters {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.5rem;
      margin: 1.25rem auto 0;
      max-width: 900px;
    }
    .sl-filter-btn {
      padding: 0.4rem 1rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: rgba(15, 23, 42, 0.4);
      color: #ecfeff;
      font-size: 0.82rem;
      cursor: pointer;
      transition: all 0.15s ease-out;
      font-family: inherit;
    }
    .sl-filter-btn:hover {
      border-color: rgba(94, 234, 212, 0.9);
      box-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
    }
    .sl-filter-btn.active {
      background: linear-gradient(135deg, #4ade80, #22c55e);
      color: #022c22;
      font-weight: 700;
      border-color: transparent;
      box-shadow: 0 0 14px rgba(74, 222, 128, 0.6);
    }

    .sl-count {
      text-align: center;
      font-size: 0.82rem;
      color: #d1d5db;
      margin: 1rem 0 0.25rem;
    }

    .sl-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.3rem;
      margin-top: 1rem;
    }

    .sl-card {
      background: linear-gradient(135deg, #0A637A 0%, #062B45 100%);
      border-radius: 22px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 0 20px rgba(10, 99, 122, 0.3);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .sl-card-img {
      position: relative;
      height: 140px;
      overflow: hidden;
    }
    .sl-card-img.indica { background: linear-gradient(135deg, #4c1d95 0%, #1e1b4b 50%, #064e3b 100%); }
    .sl-card-img.sativa { background: linear-gradient(135deg, #365314 0%, #14532d 50%, #052e16 100%); }
    .sl-card-img.hybrid { background: linear-gradient(135deg, #0e7490 0%, #064e3b 50%, #1e3a5f 100%); }

    .sl-card-img svg,
    .sl-card-img img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }
    .sl-card-type-badge {
      position: absolute;
      top: 0.6rem;
      right: 0.6rem;
      padding: 0.2rem 0.65rem;
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .sl-img-caption {
      text-align: center;
      font-size: 0.68rem;
      color: #94a3b8;
      font-style: italic;
      padding: 0.3rem 0.5rem 0;
      letter-spacing: 0.01em;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.3rem;
    }
    .sl-img-caption .sl-badge-icon {
      font-style: normal;
      font-size: 0.72rem;
      line-height: 1;
    }
    .sl-img-caption.verified {
      color: #4ade80;
    }
    .sl-img-caption.verified .sl-badge-icon {
      color: #4ade80;
    }

    .sl-photo-explanation {
      text-align: center;
      font-size: 0.8rem;
      color: #94a3b8;
      max-width: 700px;
      margin: 0.5rem auto 0.75rem;
      padding: 0.75rem 1.25rem;
      line-height: 1.65;
      background: rgba(15, 23, 42, 0.45);
      border: 1px solid rgba(148, 163, 184, 0.15);
      border-radius: 12px;
    }
    .sl-photo-explanation strong {
      color: #4ade80;
      font-weight: 600;
    }

    .sl-photo-note {
      text-align: center;
      font-size: 0.78rem;
      color: #94a3b8;
      margin-top: 1.5rem;
      padding: 0 1rem;
      line-height: 1.6;
      font-style: italic;
    }
    .sl-card-type-badge.indica { background: #7c3aed; color: #fff; }
    .sl-card-type-badge.sativa { background: #65a30d; color: #fff; }
    .sl-card-type-badge.hybrid { background: #0891b2; color: #fff; }

    .sl-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

    .sl-card-body h2 {
      font-size: 1.1rem;
      margin: 0 0 0.4rem;
      color: #ffffff;
    }
    .sl-card-body .sl-desc {
      font-size: 0.85rem;
      line-height: 1.6;
      color: #e5e7eb;
      margin: 0 0 0.75rem;
    }

    .sl-detail { margin-bottom: 0.5rem; }
    .sl-detail-label {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--accent-aqua);
      margin-bottom: 0.15rem;
    }
    .sl-detail-val {
      font-size: 0.82rem;
      color: #e5e7eb;
      line-height: 1.5;
    }

    .sl-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.3rem;
      margin-top: auto;
      padding-top: 0.75rem;
    }
    .sl-tag {
      padding: 0.15rem 0.55rem;
      border-radius: 999px;
      font-size: 0.7rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
      color: #a5f3fc;
      background: rgba(15, 23, 42, 0.5);
    }

    .sl-empty {
      text-align: center;
      padding: 3rem 1rem;
      grid-column: 1 / -1;
    }
    .sl-empty h3 {
      font-size: 1.15rem;
      margin: 0 0 0.5rem;
      color: #ffffff;
    }
    .sl-empty p {
      font-size: 0.9rem;
      color: #e5e7eb;
      margin: 0 0 1rem;
    }

    .sl-cta-section {
      margin-top: 3rem;
      padding: 2rem;
      background: linear-gradient(135deg, #0A637A 0%, #062B45 100%);
      border-radius: 22px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 0 20px rgba(10, 99, 122, 0.3);
      text-align: center;
    }
    .sl-cta-section h2 {
      font-size: 1.35rem;
      margin: 0 0 0.75rem;
      color: var(--accent-lime);
    }
    .sl-cta-section p {
      font-size: 0.95rem;
      line-height: 1.7;
      color: #e5e7eb;
      margin: 0 0 1.25rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .sl-disclaimer {
      text-align: center;
      font-size: 0.78rem;
      color: #d1d5db;
      margin-top: 2rem;
      padding: 0 1rem;
      line-height: 1.6;
    }

    .sl-expand-btn {
      display: none;
      margin: 0 auto;
      padding: 0.5rem 1.5rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.7);
      background: rgba(15, 23, 42, 0.5);
      color: #ecfeff;
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.15s ease-out;
      font-family: inherit;
    }
    .sl-expand-btn:hover {
      border-color: rgba(94, 234, 212, 0.9);
      box-shadow: 0 0 14px rgba(45, 212, 191, 0.7);
    }

    @media (max-width: 768px) {
      .sl-grid { grid-template-columns: 1fr; }
      .sl-card-img { height: 110px; }
      .sl-cta-section { padding: 1.5rem; }
      .sl-cta-section h2 { font-size: 1.15rem; }
    }
  
/* Phase 1 additions: same palette and card language as the Strain Library */
.sp-figure{margin:0 0 1.25rem;border-radius:22px;overflow:hidden;border:1px solid rgba(255,255,255,.15);background:linear-gradient(135deg,#0A637A 0%,#062B45 100%);box-shadow:0 0 20px rgba(10,99,122,.3)}
.sp-figure img{display:block;width:100%;height:auto;max-height:70vh;object-fit:cover}
.sp-figure figcaption{font-size:.75rem;color:#d1d5db;padding:.5rem .9rem}
.sp-figure figcaption a{color:#a5f3fc}
.sp-photo-soon{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;text-align:center;padding:1rem;color:#e5e7eb}
.sp-photo-soon img{width:72px;height:72px;aspect-ratio:auto;opacity:.9}
.sp-photo-soon strong{font-size:1.1rem;color:#fff}
.sp-photo-soon span{font-size:.82rem;max-width:420px}
.sp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;margin:1rem 0 1.5rem}
.sp-facts .sl-detail{background:rgba(15,23,42,.45);border:1px solid rgba(148,163,184,.25);border-radius:14px;padding:.6rem .8rem;display:block}
.sp-table-wrap{overflow-x:auto;margin:1rem 0}
.sp-table{width:100%;border-collapse:collapse;font-size:.88rem}
.landing-writeup a,.faq-item a,.sp-tags a{color:#a5f3fc}
.page-main.narrow>*{min-width:0;max-width:100%}
.landing-writeup{overflow-wrap:break-word}
.sp-table th,.sp-table td{border-bottom:1px solid rgba(148,163,184,.3);padding:.5rem .6rem;text-align:left;vertical-align:top}
.sp-table th{color:#a5f3fc;font-weight:600}
.sp-note{font-size:.8rem;color:#d1d5db;border-left:3px solid #22c55e;padding:.4rem .8rem;margin:1rem 0;background:rgba(15,23,42,.35);border-radius:0 10px 10px 0}
.sp-cta{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0}
.sp-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:.5rem 0 1rem}
.sp-tags a.sl-tag{text-decoration:none}
.sp-form{background:linear-gradient(135deg,#0A637A 0%,#062B45 100%);border:1px solid rgba(255,255,255,.15);border-radius:22px;padding:1.25rem 1.5rem;margin:1.5rem 0}
.sp-form summary{cursor:pointer;font-weight:700;color:#fff}
.sp-form label{display:block;font-size:.85rem;color:#e5e7eb;margin:.75rem 0 .25rem}
.sp-form input[type=text],.sp-form input[type=url],.sp-form input[type=email],.sp-form input[type=file],.sp-form textarea{width:100%;box-sizing:border-box;padding:.6rem .8rem;border-radius:12px;border:1px solid rgba(148,163,184,.8);background:rgba(15,23,42,.85);color:#ecfeff;font-family:inherit;font-size:.9rem}
.sp-form .checkbox-inline{display:flex;gap:.5rem;align-items:flex-start;font-size:.82rem}
.sp-form .checkbox-inline input{margin-top:.2rem}
.sp-form button{margin-top:1rem;border:none;cursor:pointer}
.sp-hidden{position:absolute;left:-9999px}
.law-meta{font-size:.82rem;color:#d1d5db;text-align:center}
.law-meta a{color:#a5f3fc}
.law-status{display:inline-block;padding:.2rem .7rem;border-radius:999px;font-size:.78rem;font-weight:700;margin:.2rem 0}
.law-status.rec{background:linear-gradient(135deg,#4ade80,#22c55e);color:#022c22}
.law-status.med{background:rgba(94,234,212,.2);color:#a5f3fc;border:1px solid rgba(94,234,212,.6)}
.law-status.none{background:rgba(248,113,113,.15);color:#fecaca;border:1px solid rgba(248,113,113,.6)}
.law-verify{font-size:.8rem;color:#d1d5db;margin-top:.6rem}
.law-more{display:inline-block;margin-top:.75rem;color:#a5f3fc;font-weight:600}
@media (max-width:600px){.sp-form{padding:1rem}.state-section{padding:1.1rem 1rem}}
