/* Peptidea Research Profile — scoped to .peptidea-rp. Do not edit on the server. */

    
    
    
    
    

    .peptidea-rp{
      --navy-deep: #021326;
      --navy: #0b2540;
      --navy-mid: #0a3559;
      --cobalt: #004e8a;
      --cobalt-mid: #17649a;
      --cobalt-bright: #0693e3;
      --blue-soft: #5b8cc4;
      --ice: #edf7fc;
      --ice-2: #cfe3f1;
      --line: #dce5ef;
      --page: #f3f6fa;
      --text: #0b2540;
      --muted: #44566a;
      --muted-2: #607581;
      --white: #ffffff;
      --ok: #627d47;
      --ok-bg: #eef5e8;
      --alert: #b20000;
      --amber: #8a6a00;
      --amber-bg: #fff6d6;
      --card-shadow: 0 1px 2px rgba(2,19,38,.06), 0 8px 24px rgba(2,19,38,.04);
      --radius: 12px;
      --header-h: 64px;
    }

    .peptidea-rp *{ box-sizing: border-box; }

    .peptidea-rp a{ color: var(--cobalt); text-decoration: none; }
    .peptidea-rp a:hover{ text-decoration: underline; }
    .peptidea-rp img{ max-width: 100%; display: block; }
    .peptidea-rp button{ font-family: inherit; }

    .peptidea-rp .mock-banner{
      background: var(--amber-bg);
      color: #5c4a00;
      text-align: center;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .01em;
      padding: 8px 16px;
      border-bottom: 1px solid #f0e0a0;
    }
    .peptidea-rp .ruo-banner{
      background: var(--navy-deep);
      color: #e8f3fb;
      text-align: center;
      font-size: 12px;
      font-weight: 600;
      padding: 8px 16px;
      letter-spacing: .02em;
    }

    .peptidea-rp .site-header{
      background: var(--navy);
      color: #fff;
      height: var(--header-h);
      display: flex;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 40;
      box-shadow: 0 2px 10px rgba(2,19,38,.25);
    }
    .peptidea-rp .site-header .inner{
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .peptidea-rp .logo img{ height: 36px; width: auto; }
    .peptidea-rp .nav{ display: flex; gap: 22px; align-items: center; margin-left: auto; }
    .peptidea-rp .nav a{ color: #e8f3fb; font-size: 13px; font-weight: 600; text-decoration: none; }
    .peptidea-rp .nav a:hover{ color: #fff; text-decoration: none; opacity: .9; }
    .peptidea-rp .btn-signin{
      background: var(--cobalt-bright);
      color: #fff !important;
      padding: 8px 14px;
      border-radius: 8px;
      font-weight: 700 !important;
    }

    .peptidea-rp .wrap{ width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

    .peptidea-rp .crumb{
      font-size: 12px;
      color: var(--muted);
      padding: 16px 0 8px;
    }
    .peptidea-rp .crumb a{ color: var(--muted); }

    .peptidea-rp .ticker{
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--card-shadow);
      padding: 20px 24px;
      display: grid;
      grid-template-columns: 1fr auto auto;
      gap: 24px;
      align-items: center;
    }
    .peptidea-rp .ident{ display: flex; gap: 16px; align-items: center; min-width: 0; }
    .peptidea-rp .ident img{
      width: 72px; height: 72px;
      border-radius: 14px;
      object-fit: cover;
      border: 1px solid var(--line);
      background: var(--ice);
    }
    .peptidea-rp .ident h1{
      margin: 0 0 2px;
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -.03em;
      line-height: 1.15;
    }
    .peptidea-rp .ident .focus{
      margin: 0;
      font-size: 15px;
      font-weight: 600;
      color: var(--cobalt);
    }
    .peptidea-rp .chips{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .peptidea-rp .chip{
      display: inline-flex; align-items: center;
      background: var(--ice);
      color: var(--navy-mid);
      border: 1px solid var(--ice-2);
      border-radius: 999px;
      padding: 3px 10px;
      font-size: 11px;
      font-weight: 600;
    }

    .peptidea-rp .price-block{ text-align: right; padding: 0 8px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 200px; }
    .peptidea-rp .price-label{ font-size: 11px; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }
    .peptidea-rp .price-value{ font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 4px 0; color: var(--navy); }
    .peptidea-rp .price-sub{ font-size: 12px; color: var(--muted); font-weight: 500; }
    .peptidea-rp .stock{
      display: inline-flex; align-items: center; gap: 6px;
      margin-top: 10px;
      background: var(--ok-bg);
      color: var(--ok);
      font-weight: 700;
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 999px;
    }
    .peptidea-rp .stock::before{
      content: "";
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--ok);
    }
    .peptidea-rp .stock-note{ display: block; margin-top: 6px; font-size: 10px; color: var(--muted-2); font-weight: 500; }

    .peptidea-rp .score-widget{ display: flex; align-items: center; gap: 16px; padding-left: 8px; }
    .peptidea-rp .score-ring{ position: relative; width: 132px; height: 132px; flex: 0 0 132px; }
    .peptidea-rp .score-ring svg{ width: 132px; height: 132px; }
    .peptidea-rp .score-center{
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      pointer-events: none;
    }
    .peptidea-rp .score-center .num{ font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
    .peptidea-rp .score-center .of{ font-size: 10px; font-weight: 600; color: var(--muted); margin-top: 2px; }
    .peptidea-rp .score-meta h2{ margin: 0 0 4px; font-size: 15px; font-weight: 700; }
    .peptidea-rp .score-meta .word{ font-size: 18px; font-weight: 800; color: var(--cobalt); margin: 0 0 6px; }
    .peptidea-rp .example-tag{
      display: inline-block;
      background: var(--amber-bg);
      color: var(--amber);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
      padding: 3px 7px;
      border-radius: 4px;
    }
    .peptidea-rp .score-meta p{ margin: 8px 0 0; font-size: 11px; color: var(--muted); max-width: 220px; line-height: 1.4; }

    .peptidea-rp .tabs-bar{
      position: sticky;
      top: var(--header-h);
      z-index: 30;
      background: var(--page);
      margin: 0 -4px;
      padding: 12px 4px 0;
    }
    .peptidea-rp .tabs-bar .tabs-fade{
      display: none;
      position: absolute;
      right: 4px;
      top: 12px;
      bottom: 0;
      width: 36px;
      background: linear-gradient(90deg, rgba(255,255,255,0), #fff);
      pointer-events: none;
      border-radius: 0 12px 0 0;
    }
    .peptidea-rp .tabs{
      display: flex;
      gap: 4px;
      overflow-x: auto;
      border-bottom: 1px solid var(--line);
      background: var(--white);
      border: 1px solid var(--line);
      border-bottom: 0;
      border-radius: 12px 12px 0 0;
      padding: 0 8px;
    }
    .peptidea-rp .tabs button{
      appearance: none;
      background: none;
      border: 0;
      border-bottom: 3px solid transparent;
      color: var(--muted);
      font-weight: 600;
      font-size: 13px;
      padding: 14px 14px 12px;
      cursor: pointer;
      white-space: nowrap;
    }
    .peptidea-rp .tabs button:hover{ color: var(--navy); }
    .peptidea-rp .tabs button.active{
      color: var(--cobalt);
      border-bottom-color: var(--cobalt-bright);
    }

    .peptidea-rp .layout{
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 20px;
      background: var(--white);
      border: 1px solid var(--line);
      border-top: 0;
      border-radius: 0 0 12px 12px;
      padding: 20px;
      box-shadow: var(--card-shadow);
      margin-bottom: 28px;
    }

    .peptidea-rp .panel{ display: none; }
    .peptidea-rp .panel.active{ display: block; }

    .peptidea-rp .card{
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 18px 18px 16px;
      margin-bottom: 16px;
    }
    .peptidea-rp .card h3{
      margin: 0 0 4px;
      font-size: 16px;
      font-weight: 700;
    }
    .peptidea-rp .card-lead{ margin: 0 0 14px; font-size: 12px; color: var(--muted); }

    .peptidea-rp .chart-toolbar{ display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
    .peptidea-rp .ranges{ display: flex; gap: 4px; }
    .peptidea-rp .ranges button{
      appearance: none;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--muted);
      font-weight: 600;
      font-size: 11px;
      padding: 5px 10px;
      border-radius: 6px;
      cursor: pointer;
    }
    .peptidea-rp .ranges button.active{ background: var(--navy); color: #fff; border-color: var(--navy); }

    .peptidea-rp .chart-wrap{ position: relative; }
    .peptidea-rp .chart-watermark{
      position: absolute;
      inset: 24px 12px 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      font-weight: 800;
      letter-spacing: .06em;
      color: rgba(11,37,64,.07);
      pointer-events: none;
      text-transform: uppercase;
    }
    .peptidea-rp .chart-svg{ width: 100%; height: auto; aspect-ratio: 640 / 240; display: block; }
    .peptidea-rp .chart-caption{ font-size: 11px; color: var(--muted-2); margin: 6px 0 0; }
    .peptidea-rp .query-box{
      margin-top: 12px;
      background: var(--ice);
      border: 1px solid var(--ice-2);
      border-radius: 8px;
      padding: 10px 12px;
      font-size: 12px;
    }
    .peptidea-rp .query-box code{
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 12px;
      font-weight: 700;
      color: var(--navy);
    }
    .peptidea-rp .query-box p{ margin: 0 0 4px; color: var(--muted); }
    .peptidea-rp .query-box p:last-child{ margin: 0; }

    .peptidea-rp .stats{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 28px;
    }
    .peptidea-rp .stat{
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 11px 0;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
    }
    .peptidea-rp .stat dt{ color: var(--muted); font-weight: 500; margin: 0; }
    .peptidea-rp .stat dd{ margin: 0; font-weight: 700; text-align: right; color: var(--navy); }
    .peptidea-rp .stat .ex{ display: block; font-weight: 600; font-size: 10px; color: var(--amber); text-transform: uppercase; letter-spacing: .04em; }
    .peptidea-rp .stat .src{ display: block; font-weight: 500; font-size: 10px; color: var(--muted-2); }

    .peptidea-rp .split{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .peptidea-rp .note-col{ border-radius: 10px; padding: 14px 16px; }
    .peptidea-rp .note-col.catalog{ background: var(--ice); border: 1px solid var(--ice-2); }
    .peptidea-rp .note-col.limits{ background: #f7f4ef; border: 1px solid #efe6d6; }
    .peptidea-rp .note-col h4{ margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
    .peptidea-rp .note-col h5{ margin: 0 0 4px; font-size: 13px; }
    .peptidea-rp .note-col p{ margin: 0 0 12px; font-size: 12px; color: var(--muted); }
    .peptidea-rp .note-col p:last-child{ margin-bottom: 0; }

    .peptidea-rp .news-item{
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--line);
      text-decoration: none;
      color: inherit;
    }
    .peptidea-rp .news-item:last-child{ border-bottom: 0; }
    .peptidea-rp .news-item:hover{ text-decoration: none; }
    .peptidea-rp .news-item:hover h4{ color: var(--cobalt); }
    .peptidea-rp .news-thumb{
      width: 72px; height: 72px;
      border-radius: 8px;
      object-fit: cover;
      background: var(--ice);
      border: 1px solid var(--line);
    }
    .peptidea-rp .news-item h4{ margin: 0 0 4px; font-size: 14px; font-weight: 700; }
    .peptidea-rp .news-item p{ margin: 0; font-size: 12px; color: var(--muted); }
    .peptidea-rp .news-meta{ margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--muted-2); }

    .peptidea-rp .factors{ list-style: none; margin: 0; padding: 0; }
    .peptidea-rp .factors li{
      display: flex; justify-content: space-between; align-items: center;
      gap: 8px; padding: 7px 0;
      border-bottom: 1px solid var(--line);
      font-size: 12px;
    }
    .peptidea-rp .factors li:last-child{ border-bottom: 0; }
    .peptidea-rp .dots{ display: flex; gap: 3px; }
    .peptidea-rp .dots i{
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--line);
      display: block;
    }
    .peptidea-rp .dots i.on{ background: var(--cobalt-mid); }

    .peptidea-rp .related{ display: flex; flex-direction: column; gap: 0; }
    .peptidea-rp .related a{
      display: flex; align-items: center; gap: 10px;
      padding: 10px 0;
      border-bottom: 1px solid var(--line);
      color: inherit;
      text-decoration: none;
    }
    .peptidea-rp .related a:last-child{ border-bottom: 0; }
    .peptidea-rp .related a:hover{ text-decoration: none; }
    .peptidea-rp .related a:hover .r-code{ color: var(--cobalt); }
    .peptidea-rp .related img{ width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
    .peptidea-rp .r-code{ font-weight: 700; font-size: 13px; }
    .peptidea-rp .r-focus{ font-size: 11px; color: var(--muted); }
    .peptidea-rp .r-stock{ margin-left: auto; font-size: 11px; font-weight: 700; color: var(--ok); white-space: nowrap; }

    .peptidea-rp .cta{
      background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
      color: #fff;
      border: 0;
    }
    .peptidea-rp .cta h3{ color: #fff; }
    .peptidea-rp .cta p{ color: #cfe3f1; font-size: 12px; margin: 0 0 12px; }
    .peptidea-rp .cta .btn{
      display: inline-block;
      background: var(--cobalt-bright);
      color: #fff;
      font-weight: 700;
      font-size: 13px;
      padding: 10px 14px;
      border-radius: 8px;
      text-decoration: none;
    }
    .peptidea-rp .cta .btn:hover{ text-decoration: none; filter: brightness(1.05); }

    .peptidea-rp .prose h3{ margin: 0 0 8px; }
    .peptidea-rp .prose p, .peptidea-rp .prose li{ font-size: 13px; color: var(--muted); }
    .peptidea-rp .prose ul{ margin: 0 0 12px; padding-left: 18px; }
    .peptidea-rp .prose strong{ color: var(--navy); }
    .peptidea-rp .callout{
      background: var(--ice);
      border-left: 3px solid var(--cobalt);
      padding: 10px 12px;
      font-size: 12px;
      color: var(--navy-mid);
      border-radius: 0 8px 8px 0;
      margin: 12px 0;
    }

    .peptidea-rp .spec-table{ width: 100%; border-collapse: collapse; }
    .peptidea-rp .spec-table th, .peptidea-rp .spec-table td{
      text-align: left;
      padding: 10px 8px;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
      vertical-align: top;
    }
    .peptidea-rp .spec-table th{ color: var(--muted); font-weight: 600; width: 36%; }
    .peptidea-rp .spec-table td{ font-weight: 600; }
    .peptidea-rp .ex-inline{
      display: inline-block;
      margin-left: 6px;
      background: var(--amber-bg);
      color: var(--amber);
      font-size: 9px;
      font-weight: 800;
      letter-spacing: .04em;
      text-transform: uppercase;
      padding: 2px 5px;
      border-radius: 3px;
      vertical-align: middle;
    }

    .peptidea-rp .related-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .peptidea-rp .related-card{
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 12px;
      text-decoration: none;
      color: inherit;
      display: block;
    }
    .peptidea-rp .related-card:hover{ text-decoration: none; border-color: var(--blue-soft); }
    .peptidea-rp .related-card img{ width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
    .peptidea-rp .related-card h4{ margin: 0 0 2px; font-size: 14px; }
    .peptidea-rp .related-card p{ margin: 0; font-size: 12px; color: var(--muted); }

    .peptidea-rp .cite-list{ list-style: none; margin: 0; padding: 0; }
    .peptidea-rp .cite-list li{
      padding: 10px 0;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
    }
    .peptidea-rp .cite-list li:last-child{ border-bottom: 0; }

    .peptidea-rp .site-footer{
      background: var(--navy-deep);
      color: #cfe3f1;
      padding: 28px 0 36px;
      font-size: 12px;
      text-align: center;
    }
    .peptidea-rp .site-footer a{ color: #81d8ff; }
    .peptidea-rp .site-footer .tm{ display: block; margin-top: 6px; color: #9bcde5; }
    .peptidea-rp .site-footer .ruo{ margin-top: 12px; font-weight: 600; color: #e8f3fb; }


    .peptidea-rp .deep-dive{
      display: grid;
      grid-template-columns: 148px 1fr;
      gap: 22px;
      align-items: center;
      background: linear-gradient(180deg, #021326 0%, #0a3559 100%);
      color: #fff;
      border: 0;
      padding: 20px 22px;
    }
    .peptidea-rp .deep-dive h3{ color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin: 0 0 6px; }
    .peptidea-rp .deep-dive .dd-title{ margin: 0 0 4px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: #fff; }
    .peptidea-rp .deep-dive .dd-sub{ margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #9bcde5; }
    .peptidea-rp .deep-dive p{ margin: 0 0 14px; font-size: 12px; color: #cfe3f1; max-width: 52ch; }
    .peptidea-rp .deep-dive .dd-meta{ font-size: 11px; color: #9bcde5; font-weight: 600; margin-bottom: 14px; }
    .peptidea-rp .deep-dive img{
      width: 100%;
      border-radius: 6px;
      box-shadow: 0 8px 24px rgba(0,0,0,.35);
      background: #021326;
    }
    .peptidea-rp .deep-dive .btn{
      display: inline-block;
      background: #0693e3;
      color: #fff;
      font-weight: 700;
      font-size: 13px;
      padding: 10px 16px;
      border-radius: 8px;
      text-decoration: none;
    }
    .peptidea-rp .deep-dive .btn:hover{ text-decoration: none; filter: brightness(1.05); }
    .peptidea-rp .deep-dive .dd-note{ margin: 10px 0 0; font-size: 11px; color: #9bcde5; }

    .peptidea-rp .pubmed-note{
      margin: 8px 0 0;
      font-size: 11px;
      color: var(--muted-2);
    }
    .peptidea-rp .pubmed-note a{ color: var(--muted-2); text-decoration: underline; font-weight: 500; }
    .peptidea-rp .query-silent{
      margin-top: 8px;
      font-size: 11px;
      color: var(--muted-2);
    }
    .peptidea-rp .query-silent code{
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 11px;
      color: var(--muted);
    }

    .peptidea-rp .lit-intro{ margin: 0 0 16px; font-size: 13px; color: var(--muted); }
    .peptidea-rp .lit-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .peptidea-rp .lit-card{
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 16px 16px 14px;
      display: flex;
      flex-direction: column;
      background: #fff;
      min-height: 100%;
    }
    .peptidea-rp .lit-card .type{
      display: inline-flex;
      align-self: flex-start;
      background: var(--ice);
      color: var(--navy-mid);
      border: 1px solid var(--ice-2);
      border-radius: 999px;
      padding: 3px 9px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .peptidea-rp .lit-card h4{ margin: 0 0 2px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
    .peptidea-rp .lit-card .venue{ margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--cobalt); }
    .peptidea-rp .lit-card .topic{ margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--navy); }
    .peptidea-rp .lit-card p{ margin: 0 0 10px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
    .peptidea-rp .lit-card p:last-of-type{ margin-bottom: 12px; }
    .peptidea-rp .lit-card .source{
      margin-top: auto;
      padding-top: 8px;
      border-top: 1px solid var(--line);
      font-size: 11px;
      color: var(--muted-2);
      font-weight: 500;
    }
    .peptidea-rp .lit-card .source a{ color: var(--muted-2); text-decoration: underline; }

    @media (max-width: 960px) {
      .peptidea-rp .deep-dive{ grid-template-columns: 110px 1fr; gap: 14px; padding: 16px; }
      .peptidea-rp .deep-dive .dd-title{ font-size: 18px; }
      .peptidea-rp .lit-grid{ grid-template-columns: 1fr; }
    }
    @media (max-width: 640px) {
      .peptidea-rp .deep-dive{ grid-template-columns: 1fr; }
      .peptidea-rp .deep-dive img{ max-width: 180px; }
    }

    @media (max-width: 960px) {
      .peptidea-rp .ticker{ grid-template-columns: 1fr; gap: 16px; }
      .peptidea-rp .price-block{ text-align: left; border: 0; padding: 12px 0 0; border-top: 1px solid var(--line); min-width: 0; }
      .peptidea-rp .score-widget{ padding: 12px 0 0; border-top: 1px solid var(--line); }
      .peptidea-rp .layout{ grid-template-columns: 1fr; padding: 16px; }
      .peptidea-rp .split, .peptidea-rp .stats, .peptidea-rp .related-grid{ grid-template-columns: 1fr; }
      .peptidea-rp .nav a:not(.btn-signin){ display: none; }
      .peptidea-rp .tabs-bar .tabs-fade{ display: block; }
    }
    @media (max-width: 640px) {
      .peptidea-rp .ident h1{ font-size: 22px; }
      .peptidea-rp .price-value{ font-size: 26px; }
      .peptidea-rp .ident img{ width: 56px; height: 56px; }
      .peptidea-rp .news-item{ grid-template-columns: 56px 1fr; }
      .peptidea-rp .news-thumb{ width: 56px; height: 56px; }
    }
  

/* Flatsome page-blank compatibility. Only applies on the private preview page. */
body.peptidea-rp-page #content,
body.peptidea-rp-page .content-area {
  background: #f3f6fa;
  padding-top: 0;
  padding-bottom: 24px;
}
body.peptidea-rp-page #wrapper,
body.peptidea-rp-page .page-wrapper {
  background: #f3f6fa;
}
.peptidea-rp img { max-width: 100%; display: block; height: auto; }
.peptidea-rp button { font-family: inherit; }
.peptidea-rp a { color: var(--cobalt, #004e8a); text-decoration: none; }
.peptidea-rp a:hover { text-decoration: underline; }
.peptidea-rp * { box-sizing: border-box; }
.peptidea-rp {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  color: var(--text, #0b2540);
  background: var(--page, #f3f6fa);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 8px;
}
.peptidea-rp .prp-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.peptidea-rp .prp-btn-row .btn { margin-top: 0; }
.peptidea-rp a.btn.btn-secondary {
  background: transparent;
  color: var(--navy, #0b2540);
  border: 1px solid var(--navy, #0b2540);
}
.peptidea-rp a.btn.btn-secondary:hover {
  background: var(--navy, #0b2540);
  color: #fff;
  text-decoration: none;
}
.peptidea-rp .prp-foot {
  font-size: 11px;
  color: var(--muted-2, #607581);
  text-align: center;
  padding: 8px 0 24px;
}
.peptidea-rp .price-block .prp-btn-row { justify-content: flex-end; }
@media (max-width: 960px) {
  .peptidea-rp .price-block .prp-btn-row { justify-content: flex-start; }
}

/* General buttons (price-block Add to cart, etc.) */
.peptidea-rp a.btn {
  display: inline-block;
  background: var(--cobalt-bright, #0693e3);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.peptidea-rp a.btn:hover { text-decoration: none; filter: brightness(1.05); }
.peptidea-rp a.btn.btn-secondary {
  background: transparent;
  color: var(--navy, #0b2540);
  border: 1px solid var(--navy, #0b2540);
  filter: none;
}
.peptidea-rp a.btn.btn-secondary:hover {
  background: var(--navy, #0b2540);
  color: #fff;
  filter: none;
  text-decoration: none;
}
@media (max-width: 960px) {
  .peptidea-rp .price-block .prp-btn-row { justify-content: flex-start; }
}

/* v0.1.1-draft: larger vial hero + Add to cart adjacent to the vial */
.peptidea-rp .ticker.ticker-hero {
  grid-template-columns: 320px minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  padding: 24px;
}
.peptidea-rp .hero {
  background: var(--white, #fff);
  border: 1px solid var(--line, #dce5ef);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.peptidea-rp .hero img {
  width: 100%;
  height: auto;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  background: #fff;
}
.peptidea-rp .buy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.peptidea-rp .buy h1 {
  margin: 0 0 2px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.peptidea-rp .buy .focus {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--cobalt, #004e8a);
}
.peptidea-rp .buy .chips { margin: 10px 0 16px; }
.peptidea-rp .buy .price-block {
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line, #dce5ef);
  padding: 12px 0 0;
  margin: 0;
  min-width: 0;
  width: 100%;
}
.peptidea-rp .buy .price-value { font-size: 28px; }
.peptidea-rp .size-picker {
  width: 100%;
  margin: 0 0 12px;
}
.peptidea-rp .size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 6px;
}
.peptidea-rp .size-options button {
  appearance: none;
  border: 1px solid var(--line, #dce5ef);
  background: #fff;
  color: var(--navy, #0b2540);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.peptidea-rp .size-options button:hover {
  border-color: var(--cobalt, #004e8a);
  color: var(--cobalt, #004e8a);
}
.peptidea-rp .size-options button.active {
  background: var(--navy, #0b2540);
  color: #fff;
  border-color: var(--navy, #0b2540);
}

.peptidea-rp .size-options button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.peptidea-rp a.prp-add-to-cart.is-disabled,
.peptidea-rp button.prp-add-to-cart.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}
.peptidea-rp .size-note {
  margin: 0;
  font-size: 11px;
  color: var(--muted-2, #607581);
  font-weight: 500;
}
.peptidea-rp a.btn.btn-cart,
.peptidea-rp button.btn.btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  margin-top: 14px;
  background: var(--cobalt-bright, #0693e3);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .01em;
  padding: 14px 22px;
  border-radius: 10px;
  border: 0;
  text-decoration: none;
  filter: none;
}
.peptidea-rp a.btn.btn-cart:hover,
.peptidea-rp button.btn.btn-cart:hover {
  filter: brightness(1.06);
  text-decoration: none;
  color: #fff;
}

@media (max-width: 960px) {
  .peptidea-rp .ticker.ticker-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .peptidea-rp .hero {
    width: 100%;
    padding: 10px;
  }
  .peptidea-rp .hero img {
    max-width: 100%;
    width: 100%;
  }
  .peptidea-rp a.btn.btn-cart,
.peptidea-rp button.btn.btn-cart {
    max-width: none;
  }
  .peptidea-rp .buy .price-block {
    padding-top: 12px;
  }
}
@media (max-width: 640px) {
  .peptidea-rp .buy h1 { font-size: 26px; }
  .peptidea-rp .ticker.ticker-hero { padding: 12px; }
  .peptidea-rp .hero { padding: 6px; }
  .peptidea-rp .size-options button { padding: 10px 12px; min-width: 64px; }
}


/* Official APF (WAPF) field next to the size picker. */
.peptidea-rp button.btn.btn-cart {
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.peptidea-rp .prp-wapf {
  margin: 10px 0 0;
}
.peptidea-rp .prp-wapf .wapf,
.peptidea-rp .prp-wapf .wapf-wrapper {
  margin: 0;
  padding: 0;
}
.peptidea-rp .prp-wapf .wapf-field {
  margin: 0 0 8px;
}
.peptidea-rp .prp-wapf .wapf-field-label,
.peptidea-rp .prp-wapf .wapf-label,
.peptidea-rp .prp-wapf label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--muted-2, #607581);
  margin: 0 0 6px;
}
.peptidea-rp .prp-wapf select,
.peptidea-rp .prp-wapf input[type="text"],
.peptidea-rp .prp-wapf .wapf-input {
  width: 100%;
  max-width: 360px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #0b2540);
  border: 1px solid var(--line, #dce5ef);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
}
.peptidea-rp .prp-guest-order .wapf-product-totals {
  display: none !important;
}
@media (max-width: 640px) {
  .peptidea-rp { padding-bottom: 320px; }
  .peptidea-rp .order-dock .prp-wapf { margin: 6px 0 0; }
  .peptidea-rp .order-dock .prp-wapf select,
  .peptidea-rp .order-dock .prp-wapf input[type="text"],
  .peptidea-rp .order-dock .prp-wapf .wapf-input { max-width: none; }
  .peptidea-rp .order-dock .wapf-product-totals { display: none; }
}

/* Mobile: keep the vial large, but pin Add to cart so ordering stays on screen. */
@media (max-width: 640px) {
  .peptidea-rp { padding-bottom: 88px; }
  .peptidea-rp .buy h1 { order: 1; }
  .peptidea-rp .buy .focus { order: 2; }
  .peptidea-rp .buy .size-picker { order: 3; margin-top: 8px; margin-bottom: 8px; }
  .peptidea-rp .buy .price-block { order: 4; padding-top: 8px; }
  .peptidea-rp .buy .price-value { font-size: 22px; margin: 2px 0; }
  .peptidea-rp .buy a.btn.btn-cart,
  .peptidea-rp .buy button.btn.btn-cart { order: 5; }
  .peptidea-rp .buy .chips { order: 6; margin: 10px 0 0; }
  .peptidea-rp a.btn.btn-cart,
.peptidea-rp button.btn.btn-cart {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    margin-top: 0;
    z-index: 60;
    box-shadow: 0 8px 24px rgba(2, 19, 38, 0.25);
  }
}

/* Mobile order dock: size + pricing + Add to cart stay on screen under a large vial. */
@media (max-width: 640px) {
  .peptidea-rp { padding-bottom: 220px; }
  .peptidea-rp .buy .chips { margin: 8px 0 0; }
  .peptidea-rp a.btn.btn-cart,
.peptidea-rp button.btn.btn-cart {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin-top: 10px;
    box-shadow: none;
  }
  .peptidea-rp .order-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: #fff;
    border-top: 1px solid var(--line, #dce5ef);
    box-shadow: 0 -8px 24px rgba(2, 19, 38, 0.12);
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .peptidea-rp .order-dock .size-picker { margin: 0 0 6px; }
  .peptidea-rp .order-dock .size-note { display: none; }
  .peptidea-rp .order-dock .price-block {
    border: 0;
    padding: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
  }
  .peptidea-rp .order-dock .price-label { margin: 0; }
  .peptidea-rp .order-dock .price-value { font-size: 18px; margin: 0; }
  .peptidea-rp .order-dock .price-sub,
  .peptidea-rp .order-dock .stock-note { display: none; }
  .peptidea-rp .order-dock .stock { margin-top: 0; }
}

.peptidea-rp .hero-kicker { display: none; }
@media (max-width: 640px) {
  .peptidea-rp .hero-kicker {
    display: block;
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--cobalt, #004e8a);
  }
  .peptidea-rp .hero-kicker strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy, #0b2540);
    letter-spacing: -.03em;
  }
  /* Name is shown above the vial; hide the duplicate buy-column title on small screens. */
  .peptidea-rp .buy > h1,
  .peptidea-rp .buy > .focus,
  .peptidea-rp .buy > .chips { display: none; }
}

@media (max-width: 640px) {
  .peptidea-rp .hero img {
    max-height: 40vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* v0.1.2-draft: Related Compounds — even grid, smaller uniform thumbs */
.peptidea-rp .related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.peptidea-rp .related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 0;
  padding: 14px 10px 12px;
  border: 1px solid var(--line, #dce5ef);
  border-radius: 12px;
  background: var(--white, #fff);
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}
.peptidea-rp .related-card:hover {
  text-decoration: none;
  border-color: var(--cobalt-mid, #17649a);
}
.peptidea-rp .related-card:hover .related-view {
  background: var(--navy, #0b2540);
  color: #fff;
  border-color: var(--navy, #0b2540);
}
.peptidea-rp .related-thumb {
  width: 108px;
  height: 108px;
  flex: 0 0 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  background: var(--ice, #edf7fc);
  border: 1px solid var(--line, #dce5ef);
  border-radius: 10px;
  overflow: hidden;
}
.peptidea-rp .related-thumb img,
.peptidea-rp .related-card img {
  width: 96px;
  height: 96px;
  max-width: 96px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0;
  border-radius: 0;
  background: transparent;
}
.peptidea-rp .related-card h4 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--navy, #0b2540);
}
.peptidea-rp .related-card p {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #44566a);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.peptidea-rp .related-view {
  display: inline-block;
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--cobalt, #004e8a);
  border: 1px solid var(--cobalt, #004e8a);
  border-radius: 8px;
  padding: 5px 14px;
  line-height: 1.2;
}
.peptidea-rp .related-thumb-sm {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ice, #edf7fc);
  border: 1px solid var(--line, #dce5ef);
  border-radius: 8px;
  overflow: hidden;
}
.peptidea-rp .related-thumb-sm img,
.peptidea-rp .related img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 960px) {
  .peptidea-rp .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .peptidea-rp .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .peptidea-rp .related-thumb {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }
  .peptidea-rp .related-thumb img,
  .peptidea-rp .related-card img {
    width: 84px;
    height: 84px;
    max-width: 84px;
  }
}


/* v0.1.3-draft: Related Compounds thumbs a bit larger (~160–180px), still smaller than the original mosaic */
.peptidea-rp .related-thumb {
  width: 176px;
  height: 176px;
  flex: 0 0 176px;
}
.peptidea-rp .related-thumb img,
.peptidea-rp .related-card img {
  width: 164px;
  height: 164px;
  max-width: 164px;
}
@media (max-width: 640px) {
  .peptidea-rp .related-thumb {
    width: 160px;
    height: 160px;
    flex-basis: 160px;
  }
  .peptidea-rp .related-thumb img,
  .peptidea-rp .related-card img {
    width: 148px;
    height: 148px;
    max-width: 148px;
  }
}

/* v0.1.3-draft: sidebar Related compounds thumbs, moderate ~80px, list stays aligned */
.peptidea-rp .related a {
  gap: 12px;
  padding: 8px 0;
  align-items: center;
}
.peptidea-rp .related-thumb-sm {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 10px;
}
.peptidea-rp .related-thumb-sm img,
.peptidea-rp .related img {
  width: 72px;
  height: 72px;
  max-width: 72px;
  object-fit: contain;
  object-position: center;
  border: 0;
}


/* ==========================================================================
   v0.1.4-draft: lock Related Compounds + hero sizes under Flatsome / Woo CSS.
   Theme global `img { height: auto; max-width: 100% }` and `.img img { width: 100% }`
   can shrink thumbs and wrap sidebar rows. Plugin CSS is also enqueued late
   (priority 999) so these rules win. !important is intentional here only.
   ========================================================================== */

body.peptidea-rp-page #content,
body.peptidea-rp-page .entry-content,
body.peptidea-rp-page .col-inner {
  /* do not let theme column image rules leak into the profile */
}

/* Sidebar: each row is a single nowrap flex line. Thumb fixed left, meta stacked right. */
body.peptidea-rp-page .peptidea-rp .related,
.peptidea-rp .related {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
}

body.peptidea-rp-page .peptidea-rp .related a,
body.peptidea-rp-page .peptidea-rp .related a.related-row,
.peptidea-rp .related a,
.peptidea-rp .related a.related-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: none !important;
  text-decoration: none !important;
  color: inherit !important;
  border-bottom: 1px solid var(--line, #dce5ef) !important;
}

body.peptidea-rp-page .peptidea-rp .related a:last-child,
.peptidea-rp .related a:last-child {
  border-bottom: 0 !important;
}

body.peptidea-rp-page .peptidea-rp .related-thumb-sm,
.peptidea-rp .related-thumb-sm {
  display: flex !important;
  flex: 0 0 80px !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: 80px !important;
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid var(--line, #dce5ef) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.peptidea-rp-page .peptidea-rp .related-thumb-sm img,
body.peptidea-rp-page .peptidea-rp .related img,
.peptidea-rp .related-thumb-sm img,
.peptidea-rp .related img {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  position: static !important;
  float: none !important;
}

body.peptidea-rp-page .peptidea-rp .related-meta,
.peptidea-rp .related-meta {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 1px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.peptidea-rp-page .peptidea-rp .related-meta .r-code,
.peptidea-rp .related-meta .r-code,
.peptidea-rp .r-code {
  display: block !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

body.peptidea-rp-page .peptidea-rp .related-meta .r-focus,
.peptidea-rp .related-meta .r-focus,
.peptidea-rp .r-focus {
  display: block !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  color: var(--muted, #5b6b7c) !important;
  margin: 0 !important;
}

body.peptidea-rp-page .peptidea-rp .related-meta .r-stock,
.peptidea-rp .related-meta .r-stock,
.peptidea-rp .related .r-stock {
  display: block !important;
  margin: 2px 0 0 !important;
  margin-left: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--ok, #1e8a4c) !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
}

/* Related Compounds tab grid — keep mid-size thumbs under theme img rules */
body.peptidea-rp-page .peptidea-rp .related-thumb,
.peptidea-rp .related-thumb {
  display: flex !important;
  flex: 0 0 176px !important;
  width: 176px !important;
  height: 176px !important;
  min-width: 176px !important;
  min-height: 176px !important;
  max-width: 176px !important;
  max-height: 176px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 8px !important;
  background: #fff !important;
  border: 1px solid var(--line, #dce5ef) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.peptidea-rp-page .peptidea-rp .related-thumb img,
body.peptidea-rp-page .peptidea-rp .related-card img,
.peptidea-rp .related-thumb img,
.peptidea-rp .related-card img {
  display: block !important;
  width: 164px !important;
  height: 164px !important;
  max-width: 164px !important;
  max-height: 164px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  position: static !important;
  border: 0 !important;
  background: transparent !important;
}

/* Hero vial */
body.peptidea-rp-page .peptidea-rp .hero img,
.peptidea-rp .hero img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 320px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: #fff !important;
  position: static !important;
}

@media (max-width: 640px) {
  body.peptidea-rp-page .peptidea-rp .related-thumb,
  .peptidea-rp .related-thumb {
    flex-basis: 160px !important;
    width: 160px !important;
    height: 160px !important;
    min-width: 160px !important;
    min-height: 160px !important;
    max-width: 160px !important;
    max-height: 160px !important;
  }
  body.peptidea-rp-page .peptidea-rp .related-thumb img,
  body.peptidea-rp-page .peptidea-rp .related-card img,
  .peptidea-rp .related-thumb img,
  .peptidea-rp .related-card img {
    width: 148px !important;
    height: 148px !important;
    max-width: 148px !important;
    max-height: 148px !important;
  }
}


/* Inline add-to-cart error (logged-in AJAX). */
.peptidea-rp .prp-atc-error {
  display: block;
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #f0b090;
  background: #fff4ee;
  color: #8a2c0a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.peptidea-rp .prp-atc-error[hidden] { display: none !important; }

/* Added to cart panel. */
body.prp-added-open { overflow: hidden; }
.peptidea-rp .prp-added[hidden] { display: none !important; }
.peptidea-rp .prp-added {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.peptidea-rp .prp-added-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 19, 38, 0.48);
}
.peptidea-rp .prp-added-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(2, 19, 38, 0.28);
  padding: 22px 22px 20px;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  color: var(--navy, #0b2540);
}
.peptidea-rp .prp-added-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted-2, #607581);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.peptidea-rp .prp-added-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy, #0b2540);
}
.peptidea-rp .prp-added-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line, #dce5ef);
  border-radius: 10px;
  background: #f7fbfe;
}
.peptidea-rp .prp-added-thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--line, #dce5ef);
}
.peptidea-rp .prp-added-code {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.02em;
}
.peptidea-rp .prp-added-details {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2, #607581);
}
.peptidea-rp .prp-added-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 6px;
}
.peptidea-rp .prp-added-actions .btn {
  flex: 1 1 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  border: 0;
}
.peptidea-rp .prp-added-actions .btn.btn-cart {
  background: var(--cobalt-bright, #0693e3);
  color: #fff;
  margin-top: 0;
  width: auto;
  max-width: none;
}
.peptidea-rp .prp-added-actions .btn.btn-secondary {
  background: #fff;
  color: var(--navy, #0b2540);
  border: 1px solid var(--line, #dce5ef);
}
.peptidea-rp .prp-added-explore-title {
  margin: 18px 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy, #0b2540);
}
.peptidea-rp .prp-added-explore-note {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-2, #607581);
}
.peptidea-rp .prp-added-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.peptidea-rp .prp-added-rel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line, #dce5ef);
  border-radius: 10px;
  padding: 10px 8px 12px;
  background: #fff;
}
.peptidea-rp .prp-added-rel:hover {
  border-color: var(--cobalt, #004e8a);
  text-decoration: none;
  color: inherit;
}
.peptidea-rp .prp-added-rel-thumb {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 6px;
}
.peptidea-rp .prp-added-rel-thumb img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.peptidea-rp .prp-added-rel-code {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -.02em;
}
.peptidea-rp .prp-added-rel-focus {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2, #607581);
  margin: 2px 0 8px;
}
.peptidea-rp .prp-added-rel-view {
  font-size: 12px;
  font-weight: 800;
  color: var(--cobalt, #004e8a);
}
@media (max-width: 640px) {
  .peptidea-rp .prp-added {
    align-items: flex-end;
    padding: 0;
  }
  .peptidea-rp .prp-added-panel {
    width: 100%;
    max-height: min(92vh, calc(100vh - 8px));
    border-radius: 16px 16px 0 0;
    padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .peptidea-rp .prp-added-related {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .peptidea-rp .prp-added-rel-thumb,
  .peptidea-rp .prp-added-rel-thumb img {
    width: 56px;
    height: 56px;
  }
  .peptidea-rp .prp-added-actions {
    flex-direction: column;
  }
  .peptidea-rp .prp-added-actions .btn { flex: 1 1 auto; width: 100%; }
}

/* v0.3.0: keep the presentation column visible; do not let the score blurb eat the 1fr track. */
.peptidea-rp .ticker.ticker-hero {
  display: grid;
  grid-template-columns: 320px minmax(260px, 1fr) minmax(220px, 360px);
}
.peptidea-rp .score-widget {
  min-width: 0;
  max-width: 360px;
}
.peptidea-rp .score-copy,
.peptidea-rp .score-meta {
  min-width: 0;
}
.peptidea-rp .score-copy p,
.peptidea-rp .score-meta p {
  max-width: 220px;
  line-height: 1.4;
}
.peptidea-rp .tabs-wrap {
  /* alias of .tabs-bar if an older markup is cached */
}
@media (max-width: 960px) {
  .peptidea-rp .ticker.ticker-hero {
    grid-template-columns: 1fr;
  }
  .peptidea-rp .score-widget {
    max-width: none;
  }
  .peptidea-rp .score-copy p,
  .peptidea-rp .score-meta p {
    max-width: none;
  }
}


/* Unscored Literature Activity (multi-constituent blends). */
.peptidea-rp .score-widget.unscored .score-center .num.na {
  font-size: 28px;
  letter-spacing: 0;
}
.peptidea-rp .score-widget.unscored .score-center .of {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #607581;
}


/* v0.3.6: Key Ingredients & Benefits — cosmetic profiles, below the hero */
.peptidea-rp .key-ingredients {
  background: var(--white, #fff);
  border: 1px solid var(--line, #dce5ef);
  border-radius: var(--radius, 12px);
  box-shadow: var(--card-shadow);
  padding: 22px 24px 18px;
  margin: 16px 0 0;
}
.peptidea-rp .key-ingredients h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy, #0b2540);
  line-height: 1.25;
}
.peptidea-rp .key-ingredients-intro {
  margin: 0 0 14px;
  color: var(--muted, #44566a);
  font-size: 14px;
}
.peptidea-rp .key-ingredients-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line, #dce5ef);
}
.peptidea-rp .key-ingredients-list li {
  margin: 0;
  padding: 12px 20px 12px 0;
  border-bottom: 1px solid var(--line, #dce5ef);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted, #44566a);
}
.peptidea-rp .key-ingredients-list li:nth-child(even) {
  padding-right: 0;
  padding-left: 20px;
}
.peptidea-rp .key-ingredients-list li strong {
  display: inline;
  color: var(--navy, #0b2540);
  font-weight: 700;
}
.peptidea-rp .key-ingredients-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted-2, #607581);
}
@media (max-width: 960px) {
  .peptidea-rp .key-ingredients {
    padding: 18px 16px 14px;
  }
  .peptidea-rp .key-ingredients-list {
    grid-template-columns: 1fr;
  }
  .peptidea-rp .key-ingredients-list li,
  .peptidea-rp .key-ingredients-list li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }
}


/* v0.3.7: draft-only scoreboard — Constituent Score, Emerging badge, Trending arrows.
   Live /rc-ret/ does not receive these classes because the template gates on $is_sandbox. */
.peptidea-rp .score-center .num.emerging-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 84px;
  text-align: center;
  color: #17649a;
}
.peptidea-rp .score-widget.board-emerging .score-center .of {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #607581;
}
.peptidea-rp .score-widget.board-constituents {
  display: block;
  align-items: stretch;
  padding-left: 0;
  max-width: 360px;
}
.peptidea-rp .score-constituents {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.peptidea-rp .score-widget.board-constituents .score-meta p {
  max-width: none;
}
.peptidea-rp .constituent-scores {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.peptidea-rp .constituent-scores li {
  background: #f6f8fb;
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  padding: 8px 10px 7px;
}
.peptidea-rp .cs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.peptidea-rp .cs-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy, #0b2540);
  line-height: 1.3;
}
.peptidea-rp .cs-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--cobalt, #17649a);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.peptidea-rp .cs-value .cs-of {
  font-size: 10px;
  font-weight: 600;
  color: #607581;
  margin-left: 1px;
}
.peptidea-rp .cs-value.cs-records {
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 700;
}
.peptidea-rp .cs-label,
.peptidea-rp .cs-source {
  margin: 3px 0 0;
  font-size: 10px;
  color: #607581;
  line-height: 1.4;
  max-width: none;
}
.peptidea-rp .cs-source { color: #8494a0; }
.peptidea-rp .score-trend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  color: #0b2540;
}
.peptidea-rp .score-trend.is-compact {
  margin-top: 4px;
}
.peptidea-rp .score-trend-icon {
  display: inline-block;
  flex: 0 0 12px;
  vertical-align: middle;
}
.peptidea-rp .score-trend-up { color: #1a7a46; }
.peptidea-rp .score-trend-down { color: #b42318; }
.peptidea-rp .score-trend-flat { color: #607581; }
.peptidea-rp .score-trend-nums {
  font-weight: 600;
  color: #607581;
}
.peptidea-rp .score-method {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #607581;
}
@media (max-width: 960px) {
  .peptidea-rp .score-widget.board-constituents {
    max-width: none;
  }
}

/* 0.3.14 Popularity Score (public online attention) */
.peptidea-rp .prp-pop-widget .score-meta h2{display:flex;align-items:center;gap:6px}
.peptidea-rp .prp-pop-research{margin:8px 0 0;font-size:11px;font-weight:600;color:var(--navy,#0a3559);max-width:240px;line-height:1.35}
.peptidea-rp .prp-pop-asof{margin:6px 0 0;font-size:10px;color:var(--muted,#607581);max-width:240px;line-height:1.35}
.peptidea-rp .prp-pop-foot{margin:4px 0 0;font-size:10px;color:var(--muted,#607581);max-width:240px;line-height:1.35;font-style:italic}
.peptidea-rp .prp-pop-switcher{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 12px;padding:8px 12px;border:1px dashed #c9a227;border-radius:8px;background:#fffbea;font-size:12px}
.peptidea-rp .prp-pop-switcher select{font-size:12px;padding:3px 6px;max-width:260px}
.peptidea-rp .prp-pop-switcher button{font-size:12px;padding:3px 10px;cursor:pointer}
.peptidea-rp .prp-pop-table{width:100%;border-collapse:collapse;font-size:12px;margin:8px 0}
.peptidea-rp .prp-pop-table th,.peptidea-rp .prp-pop-table td{text-align:left;padding:5px 6px;border-bottom:1px solid var(--line,#e5e9ef);vertical-align:top}

/* 0.3.15 mobile fix: the buy panel (order dock) scrolls with the page.
   Earlier versions pinned .order-dock with position: fixed at <=640px. Once the
   APF reconstitution select was added, the pinned dock covered most of a phone
   screen and never moved. At tablet/phone widths everything here is normal flow. */
@media (max-width: 960px) {
  .peptidea-rp { padding-bottom: 24px; }
  .peptidea-rp .order-dock,
  .peptidea-rp form.order-dock,
  .peptidea-rp .prp-guest-order {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    transform: none !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    padding: 0;
  }
  .peptidea-rp a.btn.btn-cart,
  .peptidea-rp button.btn.btn-cart {
    position: static !important;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
    box-shadow: none;
  }
  .peptidea-rp .order-dock .prp-wapf {
    position: static !important;
    transform: none !important;
    display: block;
    margin: 8px 0 0;
  }
  .peptidea-rp .order-dock .size-note,
  .peptidea-rp .order-dock .price-sub { display: block; }
  .peptidea-rp .order-dock .stock-note { display: block; }
  .peptidea-rp .tabs-bar { position: static; }
}

/* ==========================================================================
   0.3.16 mobile polish
   1. Tabs: the theme gives buttons min-width 24px, so the flex items (0 1 auto)
      shrank below their nowrap labels and the labels overlapped. Tabs never shrink
      now; the row scrolls sideways on small screens.
   2. The .tabs-fade overlay is absolute. When 0.3.15 made .tabs-bar static on
      mobile, the fade attached to a page-level ancestor and painted a dark strip down
      the right edge (seen on the Deep-Dive card). .tabs-bar is position: relative
      on mobile, which keeps the fade inside the tab row without sticking.
   3. Sidebar "Related compounds" markup is .related-list > a.related-row, which the
      older .related rules never matched, so rows fell back to inline with ~72px
      thumbs. Desktop rows are now a tidy flex line. Mobile uses a 2-column card grid
      with large thumbs.
   ========================================================================== */
body.peptidea-rp-page .peptidea-rp .tabs button,
.peptidea-rp .tabs button {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  max-width: none !important;
  width: auto !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

/* Sidebar related list, desktop: thumb left, meta right, one line per row. */
.peptidea-rp .related-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}
body.peptidea-rp-page .peptidea-rp .related-list a.related-row,
.peptidea-rp .related-list a.related-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  color: inherit !important;
  border-bottom: 1px solid var(--line, #dce5ef) !important;
}
body.peptidea-rp-page .peptidea-rp .related-list a.related-row:last-child,
.peptidea-rp .related-list a.related-row:last-child {
  border-bottom: 0 !important;
}
.peptidea-rp .related-list .related-meta {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 0 !important;
}
.peptidea-rp .related-list .related-meta .r-code,
.peptidea-rp .related-list .related-meta .r-focus,
.peptidea-rp .related-list .related-meta .r-stock { display: block !important; }

@media (max-width: 960px) {
  .peptidea-rp .tabs-bar {
    position: relative !important;
    top: auto !important;
  }
  .peptidea-rp .tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px !important;
    padding: 0 32px 0 6px !important;
  }
  .peptidea-rp .tabs::-webkit-scrollbar { display: none; }
  body.peptidea-rp-page .peptidea-rp .tabs button,
  .peptidea-rp .tabs button {
    padding: 14px 12px 11px !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  /* Sidebar related: 2-column cards with big vials. */
  body.peptidea-rp-page .peptidea-rp .related-list,
  .peptidea-rp .related-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  body.peptidea-rp-page .peptidea-rp .related-list a.related-row,
  .peptidea-rp .related-list a.related-row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 12px 8px !important;
    border: 1px solid var(--line, #dce5ef) !important;
    border-radius: 12px !important;
    height: 100% !important;
  }
  body.peptidea-rp-page .peptidea-rp .related-list a.related-row:last-child,
  .peptidea-rp .related-list a.related-row:last-child {
    border-bottom: 1px solid var(--line, #dce5ef) !important;
  }
  body.peptidea-rp-page .peptidea-rp .related-list .related-thumb-sm,
  .peptidea-rp .related-list .related-thumb-sm {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 170px !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
  }
  body.peptidea-rp-page .peptidea-rp .related-list .related-thumb-sm img,
  .peptidea-rp .related-list .related-thumb-sm img {
    width: 92% !important;
    height: 92% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 160px !important;
    max-height: 160px !important;
    object-fit: contain !important;
  }
  .peptidea-rp .related-list .related-meta {
    align-items: center !important;
    width: 100% !important;
  }

  /* Related Compounds tab grid: fluid square thumbs so 2 columns fit at 360px. */
  body.peptidea-rp-page .peptidea-rp .related-grid,
  .peptidea-rp .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  body.peptidea-rp-page .peptidea-rp .related-thumb,
  .peptidea-rp .related-thumb {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 170px !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
  }
  body.peptidea-rp-page .peptidea-rp .related-thumb img,
  body.peptidea-rp-page .peptidea-rp .related-card img,
  .peptidea-rp .related-thumb img,
  .peptidea-rp .related-card img {
    width: 92% !important;
    height: 92% !important;
    max-width: 160px !important;
    max-height: 160px !important;
  }
}

/* 0.3.16: on phones, trim card padding so the 2-column vial thumbs land around 140-170px. */
@media (max-width: 640px) {
  .peptidea-rp aside .card,
  .peptidea-rp #panel-related .card {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  body.peptidea-rp-page .peptidea-rp .related-list,
  .peptidea-rp .related-list,
  body.peptidea-rp-page .peptidea-rp .related-grid,
  .peptidea-rp .related-grid { gap: 8px !important; }
  body.peptidea-rp-page .peptidea-rp .related-list a.related-row,
  .peptidea-rp .related-list a.related-row { padding: 6px 4px 10px !important; }
  body.peptidea-rp-page .peptidea-rp .related-card,
  .peptidea-rp .related-card { padding: 6px 4px 10px !important; }
  body.peptidea-rp-page .peptidea-rp .related-list .related-thumb-sm img,
  .peptidea-rp .related-list .related-thumb-sm img,
  body.peptidea-rp-page .peptidea-rp .related-thumb img,
  body.peptidea-rp-page .peptidea-rp .related-card img,
  .peptidea-rp .related-thumb img,
  .peptidea-rp .related-card img {
    width: 98% !important;
    height: 98% !important;
    max-width: 166px !important;
    max-height: 166px !important;
  }
}
@media (max-width: 960px) {
  .peptidea-rp .related-list .related-meta,
  .peptidea-rp .related-list .related-meta .r-code,
  .peptidea-rp .related-list .related-meta .r-focus,
  .peptidea-rp .related-list .related-meta .r-stock { text-align: center !important; width: 100%; }
}
