@import url('/responsive-mobile.css');
:root{
    --bg:#05060a;
    --card:#0b0f17;
    --text:#ffffff;
    --muted:#98a2b3;

    --purple:#a855f7;
    --blue:#3b82f6;
    --cyan:#38bdf8;
    --text-link:rgb(56, 189, 248);
    --text-link-hover:rgb(125, 211, 252);
    --primary-button-gradient:
      linear-gradient(135deg,rgba(24,17,39,.98),rgba(14,22,36,.98)) padding-box,
      linear-gradient(105deg,rgba(168,85,247,.60),rgba(96,165,250,.48)) border-box;
    --primary-button-gradient-hover:
      linear-gradient(135deg,rgba(31,21,49,.98),rgba(18,29,46,.98)) padding-box,
      linear-gradient(105deg,rgba(192,132,252,.72),rgba(96,165,250,.58)) border-box;

    /* Locked site background: this is the single background used by every
       full site page, including the transparent global footer. */
    --site-background:
      radial-gradient(circle at 10% 12%,rgba(168,85,247,.16),transparent 31%),
      radial-gradient(circle at 50% 22%,rgba(168,85,247,.10),transparent 38%),
      radial-gradient(circle at 84% 62%,rgba(59,130,246,.08),transparent 32%),
      linear-gradient(180deg,rgba(168,85,247,.08),rgba(59,130,246,.035) 52%,rgba(168,85,247,.065)),
      radial-gradient(circle at 16% 28%,rgba(168,85,247,.13),transparent 34%),
      radial-gradient(circle at 84% 62%,rgba(59,130,246,.08),transparent 32%),
      linear-gradient(180deg,rgba(168,85,247,.08),rgba(59,130,246,.035) 52%,rgba(168,85,247,.065)),
      #05060a;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--text);
    background:var(--site-background);
}

/* ---------- NAV ---------- */

/* Keep a stable shared-header height across all build-injected pages. */

.nav-ribbon{
    position:sticky;
    top:0;
    z-index:999;
    padding:0 !important;
    background:rgba(6,10,18,.75);
    backdrop-filter:blur(24px);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.nav-pill{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 20px;
    border-radius:20px;
    color:#cbd5e1;
    text-decoration:none;
    transition:.3s;
}

.nav-pill:hover{
    color:white;
}

.nav-pill.active{
    color:white;
    border:2px solid transparent;
    background:
      linear-gradient(#0b0f17,#0b0f17) padding-box,
      linear-gradient(90deg,#a855f7,#3b82f6) border-box;
    box-shadow:
      0 0 20px rgba(168,85,247,.4),
      0 0 35px rgba(59,130,246,.25);
}

/* ---------- HERO ---------- */

.hero{
    text-align:center;
    padding:75px 20px 60px;
    position:relative;
}

.hero::before{
    content:"";
    position:absolute;
    left:50%;
    top:-360px;
    width:900px;
    height:900px;
    transform:translateX(-50%);
    background:radial-gradient(circle, rgba(168,85,247,.35), transparent 65%);
    filter:blur(50px);
    z-index:0;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 20px;
    border-radius:999px;
    color:#fff;
    background:rgba(168,85,247,.12);
    border:1px solid rgba(168,85,247,.4);
    margin-bottom:30px;
    letter-spacing:.14em;
    font-size:12px;
    font-weight:700;
}

.hero h1{
    font-size:72px;
    font-weight:800;
    line-height:1.05;
    margin-bottom:24px;
    letter-spacing:-.06em;
    text-shadow:0 0 55px rgba(168,85,247,.22);
}

.hero p{
    color:#9ca3af;
    font-size:20px;
    max-width:800px;
    margin:auto;
}



/* ---------- PAGE TEMPLATE PRIMITIVES ---------- */

.page-shell{
    position:relative;
    padding:72px 0 90px;
    background:transparent;
}

.page-shell::before{
    content:"";
    position:absolute;
    left:50%;
    top:-360px;
    width:900px;
    height:900px;
    transform:translateX(-50%);
    background:radial-gradient(circle, rgba(168,85,247,.35), transparent 65%);
    filter:blur(50px);
    z-index:-1;
    pointer-events:none;
}

.page-container{
    max-width:80rem;
    margin:0 auto;
    padding:0 2rem;
}

.section-card{
    position:relative;
    overflow:hidden;
    margin-top:28px;
    padding:28px;
    border-radius:30px;
    background:rgba(10,15,25,.82);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(22px);
    box-shadow:0 20px 70px rgba(0,0,0,.18);
}

.section-card::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:3px;
    background:linear-gradient(90deg,var(--purple),var(--blue),var(--cyan));
}

/* ---------- SHARED ARTICLE CARDS ---------- */

.article-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}

.article-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:560px;
}

.article-card::before{
    z-index:2;
}

.article-image{
    display:block;
    width:calc(100% + 56px);
    max-width:none;
    aspect-ratio:16/9;
    object-fit:cover;
    margin:-28px -28px 0;
    border-radius:30px 30px 0 0;
}

.article-meta{
    margin-top:20px;
    color:var(--muted);
    font-size:11px;
    font-weight:800;
    line-height:1.5;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.article-title{
    margin-top:12px;
    color:var(--text);
    font-size:24px;
    font-weight:800;
    line-height:1.22;
    letter-spacing:-.03em;
}

.article-title a{
    color:inherit;
    text-decoration:none;
}

.article-summary{
    margin-top:12px;
    color:var(--muted);
    font-size:15px;
    line-height:1.65;
}

.article-action{
    margin-top:auto;
    padding-top:24px;
}

/* ---------- SHARED ARTICLE DETAIL ---------- */

.article-page .page-shell,
.article-detail-page .page-shell{
    background:transparent;
}

.article-byline{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 24px;
    margin-top:24px;
    color:var(--muted);
    font-size:12px;
    font-weight:700;
}

.article-byline span{
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.article-byline a{
    color:var(--text-link);
    font-weight:inherit;
    text-decoration:underline;
    text-decoration-color:rgba(56,189,248,.72);
    text-underline-offset:.16em;
}

.article-byline a:hover,
.article-byline a:focus-visible{
    color:var(--text-link-hover);
    text-decoration-color:currentColor;
}

.article-lead-figure,
.article-breakout-figure{
    overflow:hidden;
    margin-left:auto;
    margin-right:auto;
    border-top:1px solid rgba(255,255,255,.10);
    border-bottom:1px solid rgba(255,255,255,.10);
}

.article-lead-figure{
    max-width:960px;
}

.article-breakout-figure{
    margin-top:46px;
    margin-bottom:46px;
    max-width:760px;
}

.article-lead-figure img,
.article-breakout-figure img{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}

.article-document-figure img{
    aspect-ratio:auto;
    object-fit:contain;
}

.article-lead-figure figcaption,
.article-breakout-figure figcaption{
    padding:14px 2px 16px;
    color:var(--muted);
    font-size:13px;
    line-height:1.65;
}

.article-layout{
    display:grid;
    grid-template-columns:minmax(0,180px) minmax(0,760px) minmax(0,180px);
    justify-content:center;
    align-items:start;
    gap:36px;
    max-width:1192px;
    margin-left:auto;
    margin-right:auto;
    margin-top:54px;
}

.article-body{
    grid-column:2;
    min-width:0;
}

.article-section{
    scroll-margin-top:112px;
    padding:0 0 46px;
    margin:0 0 46px;
    border-bottom:1px solid rgba(255,255,255,.09);
}

.article-section:last-of-type{
    margin-bottom:0;
}

.article-kicker{
    margin-bottom:10px;
    color:var(--cyan);
    font-size:11px;
    font-weight:800;
    line-height:1.5;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.article-section h2{
    margin-bottom:18px;
    color:var(--text);
    font-size:32px;
    font-weight:800;
    line-height:1.18;
    letter-spacing:-.035em;
}

.article-section h3{
    margin:30px 0 12px;
    color:var(--text);
    font-size:20px;
    font-weight:800;
    line-height:1.35;
}

.article-prose{
    color:#cbd5e1;
    font-size:17px;
    line-height:1.82;
}

.article-prose > * + *{
    margin-top:18px;
}

.article-prose strong{
    color:var(--text);
}

/* Inline text links use the shared brand blue without changing navigation,
   cards, buttons, or other component-level anchors. */
main p a,
.faq-answer a,
.article-callout a,
.article-references a{
    color:var(--text-link);
    font-weight:400;
    text-decoration:underline;
    text-decoration-color:rgba(56,189,248,.72);
    text-decoration-thickness:1px;
    text-underline-offset:.16em;
    transition:color .18s ease,text-decoration-color .18s ease;
}

main p a:hover,
main p a:focus-visible,
.faq-answer a:hover,
.faq-answer a:focus-visible,
.article-callout a:hover,
.article-callout a:focus-visible,
.article-references a:hover,
.article-references a:focus-visible{
    color:var(--text-link-hover);
    text-decoration-color:currentColor;
}

.article-callout{
    margin:30px 0;
    padding:22px 24px;
    color:#cbd5e1;
    font-size:15px;
    line-height:1.72;
    background:linear-gradient(90deg,rgba(168,85,247,.09),rgba(59,130,246,.045));
    border-left:3px solid var(--cyan);
}

.article-callout strong{
    display:block;
    margin-bottom:6px;
    color:var(--text);
    font-size:12px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.article-fact-strip{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-top:30px;
    padding:18px 0;
    border-top:1px solid rgba(255,255,255,.09);
    border-bottom:1px solid rgba(255,255,255,.09);
}

.article-fact{
    min-width:0;
    padding:0 20px;
    border-left:1px solid rgba(255,255,255,.09);
}

.article-fact:first-child{
    padding-left:0;
    border-left:0;
}

.article-fact:last-child{
    padding-right:0;
}

.article-fact span{
    display:block;
    color:var(--muted);
    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.article-fact strong{
    display:block;
    margin-top:6px;
    color:var(--text);
    font-size:14px;
    line-height:1.45;
}

.article-table-wrap{
    width:100%;
    margin:30px 0;
    overflow-x:auto;
    border:1px solid rgba(255,255,255,.09);
    border-radius:18px;
    background:rgba(8,12,24,.36);
    -webkit-overflow-scrolling:touch;
}

.article-table{
    width:100%;
    min-width:620px;
    border-collapse:collapse;
    color:#cbd5e1;
    font-size:15px;
    line-height:1.55;
}

.article-table th,
.article-table td{
    padding:14px 18px;
    text-align:left;
    vertical-align:top;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.article-table th{
    color:var(--text);
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    background:rgba(56,189,248,.055);
}

.article-table tbody tr:last-child td{
    border-bottom:0;
}

.article-table tbody tr:hover{
    background:rgba(255,255,255,.025);
}

.article-topic-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 34px;
    margin-top:26px;
}

.article-topic{
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.10);
}

.article-topic strong{
    color:var(--text);
    font-size:15px;
}

.article-topic p{
    margin-top:8px;
    color:var(--muted);
    font-size:14px;
    line-height:1.65;
}

.article-topic-grid + .article-prose{
    margin-top:24px;
}

.article-list,
.article-references{
    padding-left:22px;
    color:#cbd5e1;
}

ul.article-list{
    list-style:disc;
}

ol.article-list,
.article-references{
    list-style:decimal;
}

.article-list li,
.article-references li{
    padding-left:6px;
    margin-top:12px;
    line-height:1.75;
}

.article-list li::marker,
.article-references li::marker{
    color:var(--cyan);
    font-weight:800;
}

.article-list strong{
    color:var(--text);
}

.article-grade-scale{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    margin:28px 0 24px;
    padding:18px 0;
    border-top:1px solid rgba(255,255,255,.09);
    border-bottom:1px solid rgba(255,255,255,.09);
}

.article-grade{
    padding:0 16px;
    text-align:center;
    border-left:1px solid rgba(255,255,255,.09);
}

.article-grade:first-child{
    border-left:0;
}

.article-grade strong{
    display:block;
    color:var(--text);
    font-size:28px;
    font-weight:800;
}

.article-grade span{
    display:block;
    margin-top:4px;
    color:var(--muted);
    font-size:11px;
    font-weight:700;
}

.article-references{
    color:var(--muted);
    font-size:14px;
}

.article-references a{
    color:var(--cyan);
    font-weight:400;
}

.article-sidebar{
    grid-column:3;
    position:sticky;
    top:112px;
    padding-left:24px;
    border-left:1px solid rgba(255,255,255,.10);
}

.article-sidebar h2,
.article-sidebar .sidebar-title{
    margin-bottom:14px;
    color:var(--text);
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.article-sidebar nav{
    display:grid;
}

.article-sidebar nav a{
    position:relative;
    width:fit-content;
    max-width:100%;
    padding:8px 0;
    color:var(--muted);
    font-size:13px;
    font-weight:600;
    line-height:1.4;
    text-decoration:none;
    transition:color .18s ease;
}

.article-sidebar nav a::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:3px;
    height:1px;
    background:linear-gradient(90deg,var(--purple),var(--cyan));
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform .24s ease;
}

.article-sidebar nav a:hover,
.article-sidebar nav a:focus-visible{
    color:var(--text);
    outline:none;
}

.article-sidebar nav a:hover::after,
.article-sidebar nav a:focus-visible::after{
    transform:scaleX(1);
}

.article-sidebar-note{
    margin-top:26px;
    padding-top:22px;
    color:var(--muted);
    font-size:12px;
    line-height:1.65;
    border-top:1px solid rgba(255,255,255,.09);
}

.article-sidebar-note strong{
    display:block;
    margin-bottom:6px;
    color:var(--text);
}

.article-cta{
    padding:34px 0 0;
    text-align:left;
}

.article-cta h2,
.article-cta .article-cta-title{
    margin:0;
    color:var(--text);
    font-size:30px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:-.03em;
}

.article-cta p{
    max-width:640px;
    margin:10px 0 22px;
    color:var(--muted);
    line-height:1.7;
}

@media(max-width:960px){
    .article-layout{
        grid-template-columns:minmax(0,760px);
        gap:0;
    }

    .article-sidebar{
        display:none;
    }

    .article-body{
        grid-column:1;
    }
}

@media(max-width:680px){
    .article-layout{
        margin-top:40px;
    }

    .article-section{
        padding-bottom:36px;
        margin-bottom:36px;
    }

    .article-section h2{
        font-size:27px;
    }

    .article-prose{
        font-size:16px;
        line-height:1.75;
    }

    .article-fact-strip,
    .article-topic-grid,
    .article-grade-scale{
        grid-template-columns:minmax(0,1fr);
    }

    .article-fact{
        padding:14px 0;
        border-left:0;
        border-top:1px solid rgba(255,255,255,.09);
    }

    .article-fact:first-child{
        padding-top:0;
        border-top:0;
    }

    .article-callout{
        padding:20px;
    }

    .article-grade{
        display:flex;
        align-items:center;
        justify-content:space-between;
        padding:10px 0;
        text-align:left;
        border-left:0;
        border-top:1px solid rgba(255,255,255,.09);
    }

    .article-grade:first-child{
        border-top:0;
    }

    .article-grade span{
        margin-top:0;
    }
}

@media(max-width:1024px){
    .article-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:680px){
    .article-grid{
        grid-template-columns:minmax(0,1fr);
    }

    .article-card{
        min-height:auto;
    }
}

@media(max-width:520px){
    .article-image{
        width:calc(100% + 36px);
        margin:-22px -18px 0;
        border-radius:24px 24px 0 0;
    }
}

@media (max-width:768px){
    .page-shell{
        padding:56px 0 72px;
    }

    .page-container{
        padding:0 1.25rem;
    }
}

@media (max-width:520px){
    .page-shell{
        padding:42px 0 58px;
    }

    .page-container{
        padding:0 .9rem;
    }

    .section-card{
        padding:22px 18px;
        border-radius:24px;
    }
}

/* ---------- DASHBOARD TILES ---------- */

.dashboard-tile{
    display:flex;
    align-items:center;
    gap:16px;
    min-height:118px;
    padding:24px;
    border-radius:28px;
    text-decoration:none;
    background:rgba(10,15,25,.72);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 20px 70px rgba(0,0,0,.18);
    backdrop-filter:blur(20px);
    transition:.3s ease;
}

.dashboard-link:hover,
.dashboard-tile:hover{
    border-color:rgba(168,85,247,.42);
    box-shadow:
      0 0 38px rgba(168,85,247,.14),
      0 0 60px rgba(59,130,246,.10);
}

.tile-icon{
    width:48px;
    height:48px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#d8b4fe;
    background:rgba(168,85,247,.12);
    border:1px solid rgba(168,85,247,.24);
}

.tile-label{
    color:#98a2b3;
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.tile-number{
    color:white;
    font-size:28px;
    font-weight:800;
    line-height:1.1;
    margin-top:4px;
}

/* ---------- SEARCH ---------- */

.glass-toolbar{
    background:rgba(10,15,25,.75);
    backdrop-filter:blur(24px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:30px;
    padding:30px;
}

/* Shared search empty state: visibility remains owned by each page. */
.site-empty-state{grid-column:1/-1;padding:40px 20px;text-align:center;color:#94a3b8;border:0;background:none}
.site-empty-state-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin:0 auto 18px;border-radius:20px;background:rgba(255,255,255,.05);color:#22d3ee;font-size:24px}
.site-empty-state h3{margin:0 0 10px;color:#fff;font-size:24px;font-weight:700;line-height:1.25}
.site-empty-state p{max-width:640px;margin:0 auto;color:#94a3b8;font-size:16px;line-height:1.6}
@media(max-width:640px){.site-empty-state{padding:30px 16px}.site-empty-state h3{font-size:22px}}

.glass-input{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    color:white;
    border-radius:18px;
}

.glass-input:focus{
    outline:none;
    border-color:#7dd3fc;
    box-shadow:0 0 0 2px rgba(125,211,252,.16);
}

:is(input,select,textarea).glass-input:hover:not(:focus){border-color:rgba(255,255,255,.14)}

/* Shared native search-clear control. Retains browser clearing and input events. */
input[type="search"]::-webkit-search-cancel-button{
    -webkit-appearance:none;
    width:28px;
    height:28px;
    margin-left:8px;
    cursor:pointer;
    border-radius:50%;
    background-color:rgba(255,255,255,.06);
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 4 8 8m0-8-8 8' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:center;
    background-size:16px 16px;
}
input[type="search"]::-webkit-search-cancel-button:hover{
    background-color:rgba(125,211,252,.12);
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 4 8 8m0-8-8 8' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media(pointer:coarse){input[type="search"]::-webkit-search-cancel-button{width:40px;height:40px}}

.glass-input::placeholder{
    color:#64748b;
}

select.glass-input{
    background-color:rgba(255,255,255,.03);
}

/* ---------- CARDS ---------- */

.peptide-card{
    position:relative;
    isolation:isolate;
    background:rgba(10,15,25,.85);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:30px;
    overflow:hidden;
    transition:.35s;
}

.peptide-card::before{
    content:"";
    position:absolute;
    inset:-1px;
    z-index:-1;
    opacity:0;
    border-radius:30px;
    background:linear-gradient(135deg, rgba(168,85,247,.35), rgba(59,130,246,.25), rgba(56,189,248,.18));
    transition:.35s ease;
}

.peptide-card:hover{
    border-color:rgba(59,130,246,.45);
    box-shadow:
      0 0 40px rgba(59,130,246,.18),
      0 0 80px rgba(168,85,247,.12);
}

.peptide-card:hover::before{
    opacity:1;
}

.card-title{
    font-size:1.5rem;
    font-weight:700;
}

.method-icon{
    position:relative;
    cursor:help;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(255,255,255,.05);
}

.method-icon i{
    color:#38bdf8;
}

.method-icon:hover::after{
    content:attr(data-tooltip);
    position:absolute;
    bottom:calc(100% + 8px);
    left:50%;
    transform:translateX(-50%);
    background:#111827;
    color:white;
    font-size:12px;
    padding:6px 9px;
    border-radius:10px;
    white-space:nowrap;
    z-index:20;
    box-shadow:0 12px 30px rgba(0,0,0,.28);
}

/* ---------- GLOW BAR ---------- */

.card-glow{
    height:3px;
    width:100%;
    background:linear-gradient(90deg,#a855f7,#3b82f6,#38bdf8);
}

/* ---------- SCROLLBAR ---------- */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:#202838;
    border-radius:20px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width:768px){
    .hero{
        padding:72px 20px 42px;
    }

    .hero h1{
        font-size:52px;
    }

    .hero p{
        font-size:17px;
    }

    .nav-pill{
        padding:12px 16px;
        border-radius:18px;
    }
}

@media (max-width:520px){
    .hero h1{
        font-size:42px;
    }

    .glass-toolbar,
    .dashboard-tile{
        border-radius:22px;
    }
}

/* ---------- BACK TO TOP ---------- */

.back-to-top{
    position:fixed;
    right:24px;
    bottom:24px;
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;
    color:white;
    background:linear-gradient(135deg,#a855f7,#3b82f6);
    box-shadow:
      0 14px 36px rgba(59,130,246,.28),
      0 0 28px rgba(168,85,247,.22);
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(14px);
    transition:
      opacity .25s ease,
      visibility .25s ease,
      transform .25s ease,
      box-shadow .25s ease;
    z-index:1200;
    -webkit-tap-highlight-color:transparent;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible{
    box-shadow:
      0 18px 42px rgba(59,130,246,.34),
      0 0 34px rgba(168,85,247,.30);
    outline:none;
}

.back-to-top i{
    font-size:18px;
}

@media(max-width:520px){
    .back-to-top{
        right:14px;
        bottom:14px;
        width:48px;
        height:48px;
        border-radius:16px;
    }
}
/* Match peptide and price-index pages to the homepage width */
.protocol-shell .max-w-6xl,
.vendor-shell .max-w-6xl,
.price-shell .max-w-6xl {
  max-width: 80rem !important; /* Tailwind max-w-7xl */
}


/* ---------- PEPTIDE PAGE RESPONSIVE GRIDS ---------- */

.protocol-shell .content-grid > *,
.protocol-shell .benefits-grid > *,
.protocol-shell .stack-grid > *,
.protocol-shell .side-effect-grid > *,
.protocol-shell .protocol-dose-grid > *{
    min-width:0;
}

@media (max-width:1100px){
    .protocol-shell .content-grid{
        grid-template-columns:minmax(0,1fr) !important;
    }
}

@media (max-width:760px){
    .protocol-shell .benefits-grid,
    .protocol-shell .stack-grid,
    .protocol-shell .side-effect-grid,
    .protocol-shell .protocol-dose-grid{
        grid-template-columns:minmax(0,1fr) !important;
    }

    .protocol-shell .span-2{
        grid-column:auto !important;
    }
}


/* ---------- SHARED ACTION BUTTONS ---------- */

.back-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 18px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:999px;
    color:#cbd5e1;
    background:rgba(10,15,25,.72);
    backdrop-filter:blur(18px);
    text-decoration:none;
    transition:.25s;
}

.back-link:hover,
.back-link:focus-visible{
    color:#fff;
    border-color:rgba(56,189,248,.45);
    box-shadow:0 0 26px rgba(56,189,248,.14);
    outline:none;
}

.site-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:11px 18px;
    border:1px solid transparent;
    border-radius:999px;
    color:#fff;
    background:
      linear-gradient(#0b0f17,#0b0f17) padding-box,
      linear-gradient(90deg,var(--purple),var(--blue),var(--cyan),var(--blue),var(--purple)) border-box;
    background-size:100% 100%,300% 100%;
    background-position:0 0,0 50%;
    box-shadow:none;
    font-size:12px;
    font-weight:800;
    line-height:1;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
    transition:color .2s ease,background-color .2s ease;
    -webkit-tap-highlight-color:transparent;
}

.site-button:hover,
.site-button:focus-visible{
    color:#fff;
    animation:site-button-border-flow 2.4s linear infinite;
    outline:none;
}

@keyframes site-button-border-flow{
    to{background-position:0 0,300% 50%}
}

.site-button:disabled{
    opacity:.55;
    cursor:wait;
    animation:none;
}

.site-button-signin{
    min-height:48px;
    padding:13px 18px;
    color:#fff;
    background:linear-gradient(110deg,#0284c7 0%,#0ea5e9 28%,#38bdf8 50%,#0ea5e9 72%,#0284c7 100%);
    background-size:260% 100%;
    background-position:0 50%;
    border-color:rgba(125,211,252,.38);
    box-shadow:0 10px 24px rgba(3,5,14,.24),inset 0 1px 0 rgba(255,255,255,.12);
    font-size:13px;
    font-weight:900;
    transition:box-shadow .22s ease,color .22s ease;
}

.site-button-signin i{
    width:auto;
    height:auto;
    margin:0 2px 0 0;
    border:0;
    border-radius:0;
    color:#fff;
    background:transparent;
    box-shadow:none;
    transition:color .18s ease;
}

.site-button-signin:hover,
.site-button-signin:focus-visible{
    animation:site-primary-blue-flow 2.6s linear infinite;
    box-shadow:
      0 12px 30px rgba(14,165,233,.22),
      0 0 0 1px rgba(125,211,252,.14),
      inset 0 1px 0 rgba(255,255,255,.15);
}

@keyframes site-primary-blue-flow{
    to{background-position:260% 50%}
}

.site-button-signin:hover i,
.site-button-signin:focus-visible i{
    color:#fff;
}

.site-button-secondary{
    color:#cbd5e1;
    border-color:rgba(255,255,255,.09);
    background:rgba(255,255,255,.035);
    box-shadow:none;
}

.site-button-secondary:hover,
.site-button-secondary:focus-visible{
    color:#fff;
    border-color:rgba(56,189,248,.34);
    background:rgba(56,189,248,.055);
    animation:none;
    box-shadow:none;
}

@media(prefers-reduced-motion:reduce){
    .article-sidebar nav a::after{
        transition:none;
    }

    .site-button:hover,
    .site-button:focus-visible,
    .site-button-signin:hover,
    .site-button-signin:focus-visible{
        animation:none;
    }
    .site-button-signin:hover,
    .site-button-signin:focus-visible{
        transform:none;
        background-position:50% 50%;
    }
}

/* ---------- SHARED NAVIGATION ---------- */
/* Existing desktop navigation remains visually unchanged. */
    .pp-mobile-toggle,
    .pp-mobile-menu {
      display: none;
    }

    /* Safari does not reliably apply runtime Tailwind utilities to injected markup,
       so preserve the established desktop row with explicit shared-nav rules. */
    .pp-nav-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 80rem;
      height: 5.5rem;
      margin: 0 auto;
      padding: 0 2rem;
      box-sizing: border-box;
    }

    .pp-nav-row > div:first-child,
    .pp-nav-row > div:first-child a {
      display: flex;
      align-items: center;
      flex: 0 0 auto;
    }

    .pp-desktop-links {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-left: auto;
    }

    /* Keep the account slot stable while Supabase restores the saved session. */
    .pp-desktop-account {
      flex: 0 0 auto;
      min-width: 101px;
    }

    .pp-desktop-account .pp-account-trigger {
      width: 100%;
      justify-content: center;
      font: inherit;
      cursor: pointer;
    }

    /* Explicit dimensions prevent Safari from rendering the dynamically injected
       logo at its intrinsic bitmap size before Tailwind utilities are available. */
    .pp-logo {
      display: block;
      width: auto;
      height: 7rem;
      max-width: 260px;
      object-fit: contain;
    }

    /* Reserve the header's space while the shared ribbon stays fixed to the viewport. */
    #global-nav {
      min-height: 89px;
    }

    #global-nav .nav-ribbon {
      position: fixed;
      inset: 0 0 auto;
      width: 100%;
      z-index: 1400;
    }

    .pp-nav-menu {
      position: relative;
    }

    .pp-nav-trigger {
      box-sizing: border-box;
      cursor: default;
      border: 2px solid transparent;
      font: inherit;
      transition: none;
    }

    .pp-desktop-links > a.nav-pill {
      box-sizing: border-box;
      border: 2px solid transparent;
      transition: none;
    }

    .pp-nav-trigger .pp-chevron {
      font-size: .72rem;
      opacity: .72;
      transition: opacity .2s ease;
    }

    .pp-nav-panel {
      position: absolute;
      top: calc(100% + 1.45rem);
      right: 0;
      min-width: 300px;
      padding: .55rem;
      display: grid;
      align-content: start;
      gap: .12rem;
      border: 0;
      background: #080d18;
      box-shadow: 0 24px 60px rgba(0,0,0,.42);
      backdrop-filter: none;
      opacity: 0;
      transform: translateY(8px);
      pointer-events: none;
      transition: .22s ease;
      z-index: 1200;
    }

    /* The trigger is vertically centered inside the taller nav ribbon. Keep the
       dropdown attached to the ribbon's bottom edge without creating a dead
       hover gap between the trigger and panel. */
    .pp-nav-panel::before {
      content: "";
      position: absolute;
      right: 0;
      bottom: 100%;
      left: 0;
      height: 1.5rem;
    }

    .pp-nav-menu.open > .pp-nav-panel,
    .pp-nav-menu:hover > .pp-nav-panel,
    .pp-nav-menu:focus-within > .pp-nav-panel {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .pp-nav-menu.open > .pp-nav-trigger .pp-chevron,
    .pp-nav-menu:hover > .pp-nav-trigger .pp-chevron,
    .pp-nav-menu:focus-within > .pp-nav-trigger .pp-chevron {
      transform: rotate(180deg);
      opacity: 1;
    }

    .pp-nav-menu:has(.pp-nav-panel .nav-pill.active) > .pp-nav-trigger,
    .pp-nav-menu.open > .pp-nav-trigger,
    .pp-nav-menu:hover > .pp-nav-trigger,
    .pp-nav-menu:focus-within > .pp-nav-trigger,
    .pp-desktop-links > a.nav-pill:hover,
    .pp-desktop-links > a.nav-pill:focus-visible {
      color: #fff;
      border: 2px solid transparent;
      background:
        linear-gradient(#0b0f17,#0b0f17) padding-box,
        linear-gradient(90deg,#a855f7,#3b82f6) border-box;
      box-shadow:
        0 0 20px rgba(168,85,247,.30),
        0 0 30px rgba(59,130,246,.18);
    }

    .pp-nav-panel-wide {
      right: -185px;
      min-width: 900px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: .55rem;
      padding: .55rem;
    }

    .pp-nav-column {
      display: grid;
      align-content: start;
      gap: .12rem;
    }

    .pp-nav-column + .pp-nav-column {
      border-left: 1px solid rgba(255,255,255,.07);
      padding-left: .65rem;
    }

    .pp-nav-column-label {
      padding: .15rem 1rem .35rem;
      color: #94a3b8;
      font-size: .66rem;
      font-weight: 900;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .pp-nav-panel .nav-pill {
      width: 100%;
      min-height: 50px;
      justify-content: flex-start;
      gap: 1rem;
      padding: .68rem 1rem;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 8px;
      background: rgba(255,255,255,.035);
      color: #cbd5e1;
      font-family: 'Inter', sans-serif;
      font-size: .9rem;
      font-weight: 500;
      letter-spacing: .01em;
      line-height: 1.25;
      text-transform: none;
      white-space: nowrap;
      box-shadow: none;
      transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
    }

    .pp-nav-panel .nav-pill + .nav-pill {
      margin-top: 0;
    }

    .pp-nav-panel .nav-pill.active {
      color: #fff;
      background: rgba(255,255,255,.09);
      border-color: rgba(255,255,255,.20);
      box-shadow: none;
    }

    .pp-nav-panel .nav-pill:hover,
    .pp-nav-panel .nav-pill:focus-visible {
      color: #fff;
      background: rgba(255,255,255,.13);
      border-color: rgba(255,255,255,.26);
      box-shadow: none;
      transform: none;
    }

    .pp-nav-panel .nav-pill i {
      width: 1.3rem;
      color: inherit;
      font-size: .95rem;
      text-align: center;
    }

    /* Account content is populated by analytics.js, but it uses the same menu
       component above. Only account-specific content belongs in these rules. */
    .pp-account-label {
      max-width: 92px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .pp-account-trigger {
      cursor: pointer;
    }

    .pp-account-popover {
      z-index: 1500;
    }

    .pp-account-email {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      margin: .1rem .35rem .55rem;
      padding: .45rem .55rem .8rem;
      border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .pp-account-email i {
      color: #c8d4e6;
    }

    .pp-account-email span {
      min-width: 0;
      overflow: hidden;
      color: #e7edf7;
      font-size: 12px;
      font-weight: 800;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .pp-account-action {
      font-family: inherit;
      cursor: pointer;
    }

    .pp-mobile-account {
      display: none;
    }

    .pp-mobile-tools {
      display: grid;
      gap: .55rem;
      padding: .65rem;
      border-radius: 18px;
      background: rgba(255,255,255,.025);
      border: 1px solid rgba(255,255,255,.07);
    }

    .pp-mobile-tools-label {
      display: flex;
      align-items: center;
      gap: .75rem;
      min-height: 48px;
      padding: .8rem 1rem;
      border-radius: 16px;
      color: #e5e7eb;
      background: rgba(255,255,255,.035);
      border: 1px solid rgba(255,255,255,.08);
      width: 100%;
      font: inherit;
      font-weight: 800;
      text-align: left;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }

    .pp-mobile-tools-label i {
      width: 1.1rem;
      text-align: center;
    }

    .pp-mobile-tools-label .pp-mobile-chevron {
      width: auto;
      margin-left: auto;
      color: #94a3b8;
      font-size: .75rem;
      transition: transform .16s ease;
    }

    .pp-mobile-tools-label[aria-expanded="true"] .pp-mobile-chevron {
      transform: rotate(180deg);
    }

    .pp-mobile-tools-links[hidden] {
      display: none !important;
    }

    .pp-mobile-tools-links {
      display: grid;
      gap: .45rem;
      padding-left: .35rem;
    }

    .pp-mobile-tools-links .nav-pill {
      padding-left: 1.2rem;
      background: rgba(255,255,255,.025);
    }

    @media (max-width: 1023px) {
      #global-nav {
        min-height: 73px;
      }

      .nav-ribbon {
        position: sticky;
        top: 0;
        z-index: 1000;
      }

      .pp-nav-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
        height: 4.5rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        gap: .75rem;
      }

      .pp-nav-row > div:first-child {
        width: auto !important;
        min-width: 0;
        flex: 0 1 auto;
      }

      .pp-nav-row > div:first-child a {
        display: flex;
        align-items: center;
      }

      .pp-logo {
        height: 4.5rem !important;
        width: auto;
        max-width: 210px;
        object-fit: contain;
      }

      .pp-desktop-links {
        display: none !important;
      }

      .pp-desktop-account {
        display: none !important;
      }

      .pp-nav-panel,
      .pp-nav-menu {
        display: none !important;
      }

      .pp-mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 14px;
        color: #e5e7eb;
        background: rgba(255,255,255,.045);
        border: 1px solid rgba(255,255,255,.09);
        cursor: pointer;
        transition: .2s ease;
        -webkit-tap-highlight-color: transparent;
        margin-left: auto;
      }

      .pp-mobile-toggle:hover,
      .pp-mobile-toggle:focus-visible {
        color: #fff;
        border-color: rgba(56,189,248,.45);
        box-shadow: 0 0 24px rgba(56,189,248,.14);
        outline: none;
      }

      .pp-mobile-menu {
        display: none;
        padding: 0 1rem 1rem;
      }

      .pp-mobile-menu.open {
        display: grid;
        gap: .55rem;
        max-height: calc(100vh - 4.5rem);
        max-height: calc(100dvh - 4.5rem);
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        scrollbar-gutter: stable;
      }

      .pp-mobile-tools {
        padding: 0;
        background: transparent;
        border: 0;
      }

      .pp-mobile-tools-label {
        min-height: 48px;
        padding: .8rem 1rem;
      }

      html.pp-mobile-menu-open,
      body.pp-mobile-menu-open {
        overflow: hidden;
        overscroll-behavior: none;
      }

      .pp-mobile-menu .nav-pill {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: .75rem;
        padding: .8rem 1rem;
        border-radius: 16px;
        white-space: normal;
      }

      .pp-mobile-menu .nav-pill i {
        width: 1.1rem;
        text-align: center;
      }

      .pp-mobile-account {
        display: block;
        padding-top: .65rem;
        margin-top: .1rem;
        border-top: 1px solid rgba(255,255,255,.07);
      }

      .pp-mobile-account .pp-account-mobile-button {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        border: 0;
        font: inherit;
        cursor: pointer;
      }

      .pp-mobile-account .pp-account-mobile-button.is-signout {
        color: #fca5a5;
        background: rgba(239,68,68,.07);
        border: 1px solid rgba(239,68,68,.16);
      }

      .pp-mobile-account-email {
        padding: 0 1rem .6rem;
        overflow: hidden;
        color: #94a3b8;
        font-size: 11px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }

    @media (max-width: 380px) {
      .pp-nav-row {
        padding-left: .75rem !important;
        padding-right: .75rem !important;
      }

      .pp-logo {
        height: 4rem !important;
        max-width: 180px;
      }

      .pp-mobile-menu {
        padding-left: .75rem;
        padding-right: .75rem;
      }
    }


/* ---------- SHARED FOOTER AND SUPPORT MODAL ---------- */
.site-footer {
    position: relative;
    z-index: 2;
    margin-top: 0;
    border-top: 0;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.55;
    color: #7f8a9c;
  }

  .site-footer__inner {
    width: min(100% - 3rem, 80rem);
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 0;
  }

  .site-footer__copyright,
  .site-footer__links p {
    margin: 0;
  }

  .site-footer__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
  }

  .site-footer__links > :not(:first-child) {
    padding-left: 1.35rem;
    border-left: 1px solid rgba(255,255,255,.12);
  }

  .site-footer a,
  .site-footer__button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: .45rem;
    color: #9aa6b8;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
  }

  .site-footer__button {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
  }

  .site-footer a:hover,
  .site-footer__button:hover,
  .site-footer a:focus-visible,
  .site-footer__button:focus-visible {
    color: #e2e8f0;
    outline: none;
  }

  .support-modal[hidden] {
    display: none;
  }

  .support-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    font-family: 'Inter', sans-serif;
  }

  .support-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1,3,8,.80);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .support-modal__dialog {
    position: relative;
    width: min(100%, 620px);
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    background: rgba(10,15,25,.98);
    box-shadow: 0 28px 90px rgba(0,0,0,.58), 0 0 55px rgba(59,130,246,.10);
  }

  .support-modal__dialog::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(90deg,#a855f7,#3b82f6,#38bdf8);
  }

  .support-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    color: #94a3b8;
    background: rgba(255,255,255,.035);
    cursor: pointer;
    transition: .2s ease;
  }

  .support-modal__close:hover,
  .support-modal__close:focus-visible {
    color: #fff;
    border-color: rgba(56,189,248,.38);
    outline: none;
  }

  .support-modal__header {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding-right: 2.75rem;
  }

  .support-modal__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(168,85,247,.28);
    border-radius: 16px;
    color: #d8b4fe;
    background: rgba(168,85,247,.11);
  }

  .support-modal__eyebrow {
    margin: 0 0 .22rem;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .support-modal h2 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.035em;
  }

  .support-modal__description {
    margin: 1.15rem 0 1.35rem;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.65;
  }

  .newsletter-modal__dialog {
    width: min(100%, 500px);
  }

  .newsletter-form__consent {
    margin: -.15rem 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.55;
  }

  .support-form,
  .support-form label {
    display: grid;
    gap: .55rem;
  }

  .support-form {
    gap: 1rem;
  }

  .support-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
  }

  .support-form label > span {
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
  }

  .support-form input,
  .support-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: .8rem .9rem;
    color: #f8fafc;
    background: rgba(255,255,255,.035);
    font: 400 14px/1.45 'Inter', sans-serif;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
  }

  .support-form textarea {
    min-height: 132px;
    resize: vertical;
  }

  .support-form input:focus,
  .support-form textarea:focus {
    border-color: rgba(56,189,248,.52);
    box-shadow: 0 0 0 3px rgba(56,189,248,.09);
  }

  .support-form__trap {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
  }

  .support-form__status {
    min-height: 1.25rem;
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
  }

  .support-form__status.is-error {
    color: #fca5a5;
  }

  .support-form__status.is-success {
    color: #86efac;
  }

  .support-form__submit {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    border: 1px solid rgba(56,189,248,.26);
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(90deg,rgba(168,85,247,.92),rgba(59,130,246,.92));
    font: 700 13px/1 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(59,130,246,.16);
    transition: transform .2s ease, opacity .2s ease;
  }


  .support-form__submit:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
  }

  body.support-modal-open {
    overflow: hidden;
  }

  @media (max-width: 900px) {
    .site-footer__inner,
    .site-footer__links {
      align-items: flex-start;
      flex-direction: column;
    }

    .site-footer__inner {
      gap: .7rem;
    }

    .site-footer__links {
      gap: .55rem;
    }

    .site-footer__links > :not(:first-child) {
      padding-left: 0;
      border-left: 0;
    }
  }

  @media (max-width: 560px) {
    .site-footer {
      margin-top: 0;
      font-size: 12px;
    }

    .site-footer__inner {
      width: min(100% - 2rem, 80rem);
      padding: 1.2rem 0 1.35rem;
    }

    .support-modal {
      align-items: end;
      padding: .65rem;
    }

    .support-modal__dialog {
      width: 100%;
      max-height: calc(100vh - 1.3rem);
      padding: 1.4rem 1rem 1rem;
      border-radius: 24px;
    }

    .support-form__row {
      grid-template-columns: 1fr;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .site-footer a,
    .site-footer__button,
    .support-modal__close,
    .support-form__submit {
      transition: none;
    }
  }

  /* Canonical site warning. Warning callouts must reuse this treatment. */
  .site-warning,
  .research-disclaimer,
  .faq-disclaimer,
  .danger-disclaimer,
  .signal-disclaimer {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 16px !important;
    padding: 16px !important;
    border: 1px solid rgba(251, 191, 36, .18) !important;
    border-radius: 20px !important;
    color: #fde68a !important;
    background: rgba(251, 191, 36, .08) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .site-warning > i,
  .research-disclaimer > i,
  .faq-disclaimer > i,
  .danger-disclaimer > i,
  .signal-disclaimer > i {
    flex: 0 0 auto !important;
    margin-top: .2em !important;
    color: inherit !important;
  }

/* ---------- VENDOR DIRECTORY ---------- */
body.vendor-reviews-page button{font:inherit}
body.vendor-reviews-page input{font:inherit}
body.vendor-reviews-page select{font:inherit}
body.vendor-reviews-page textarea{font:inherit}
    body.vendor-reviews-page .vendor-shell{padding-bottom:90px}
    body.vendor-reviews-page .directory-toolbar{margin-top:30px}
    body.vendor-reviews-page .directory-card{margin-top:30px}body.vendor-reviews-page .directory-card .vendor-grid{margin-top:0}
    body.vendor-reviews-page .directory-tools{display:grid;align-items:center}
    body.vendor-reviews-page .field-wrap{position:relative;min-width:0}body.vendor-reviews-page .field-wrap i{position:absolute;left:20px;top:50%;transform:translateY(-50%);color:#64748b}
    body.vendor-reviews-page .glass-input{width:100%;min-height:54px;padding:0 18px}
    body.vendor-reviews-page .field-wrap .glass-input{padding-left:46px}
    body.vendor-reviews-page .sort-direction{display:inline-flex;align-self:center;align-items:center;justify-content:center;width:48px;height:48px;min-height:48px;padding:0;border-radius:16px;color:#cbd5e1;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);cursor:pointer;transition:.22s ease}body.vendor-reviews-page .sort-direction:hover{color:#fff;border-color:rgba(168,85,247,.38);background:rgba(168,85,247,.08);outline:none}body.vendor-reviews-page .sort-direction:focus-visible{color:#fff;border-color:rgba(168,85,247,.38);background:rgba(168,85,247,.08);outline:none}body.vendor-reviews-page .sort-direction i{transition:transform .2s}body.vendor-reviews-page .sort-direction[data-direction="asc"] i{transform:rotate(180deg)}
    body.vendor-reviews-page .directory-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;color:#94a3b8;font-size:13px}body.vendor-reviews-page .directory-note{line-height:1.5}body.vendor-reviews-page .result-count{color:#94a3b8;white-space:nowrap}body.vendor-reviews-page .result-count strong{color:#fff}
    body.vendor-reviews-page .vendor-grid{display:grid;margin-top:28px}
    body.vendor-reviews-page .vendor-card{position:relative;display:flex;flex-direction:column;cursor:pointer}body.vendor-reviews-page .vendor-card:focus-visible{outline:2px solid #7dd3fc;outline-offset:3px;border-color:rgba(56,189,248,.42)}
    body.vendor-reviews-page .vendor-card.vetted{border-color:rgba(168,85,247,.22)}
    body.vendor-reviews-page .vendor-head{display:flex;align-items:flex-start;justify-content:space-between}
    body.vendor-reviews-page .badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
    body.vendor-reviews-page .badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
    body.vendor-reviews-page .badge-country{color:#cbd5e1;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09)}
    body.vendor-reviews-page .badge-vetted{color:#e9d5ff;background:rgba(168,85,247,.14);border:1px solid rgba(168,85,247,.32)}
    body.vendor-reviews-page .badge-verified{color:#bae6fd;background:rgba(56,189,248,.11);border:1px solid rgba(56,189,248,.27)}
    body.vendor-reviews-page .vendor-card.is-trending{overflow:visible;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 0 24px rgba(244,63,94,.07)}
    body.vendor-reviews-page .vendor-card.is-trending::before{content:"";position:absolute;z-index:2;top:-2px;left:50%;width:116px;height:5px;background:#151727;transform:translateX(-50%);pointer-events:none}
    body.vendor-reviews-page .trending-ribbon{position:absolute;z-index:3;top:0;left:50%;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:0;border-radius:0;color:#fb7185;background:#151727;box-shadow:none;font-size:9.5px;font-weight:900;letter-spacing:.11em;line-height:1;text-transform:uppercase;transform:translate(-50%,-50%);white-space:nowrap}
    body.vendor-reviews-page .trending-ribbon i{color:#f97316;font-size:9px}body.vendor-reviews-page .trending-ribbon::after{content:none}
    @media(max-width:520px){body.vendor-reviews-page .vendor-card.is-trending::before{width:110px}body.vendor-reviews-page .trending-ribbon{font-size:9px}}
    body.vendor-reviews-page .star-row{position:relative;display:inline-block;margin-top:4px;color:rgba(255,255,255,.14);font-size:15px;letter-spacing:2px;line-height:1;white-space:nowrap}
    body.vendor-reviews-page .star-fill{position:absolute;left:0;top:0;overflow:hidden;color:#fbbf24;white-space:nowrap}
    body.vendor-reviews-page .rating-locked{display:inline-flex;align-items:center;gap:7px;margin-top:4px;color:#94a3b8;font-size:12px;font-weight:800}
    body.vendor-reviews-page .vendor-blurb{margin:16px 0 13px;color:#94a3b8;line-height:1.6;font-size:13px}
    body.vendor-reviews-page .vendor-facts{display:flex;flex-wrap:wrap;margin-bottom:16px}
    body.vendor-reviews-page .fact{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;border-radius:12px;color:#cbd5e1;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.075);font-size:11px;font-weight:800}
    body.vendor-reviews-page .fact i{color:#7dd3fc}body.vendor-reviews-page .country-flag{font-size:16px;line-height:1}body.vendor-reviews-page .price-tier{color:#d8b4fe;letter-spacing:.06em}
    body.vendor-reviews-page .card-footer{margin-top:auto}body.vendor-reviews-page .leave-review-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:41px;margin:0 0 10px;padding:9px 12px;border-radius:14px;color:#7dd3fc;background:rgba(56,189,248,.055);border:1px solid rgba(56,189,248,.2);font-size:12px;font-weight:900;cursor:pointer;transition:.2s}body.vendor-reviews-page .leave-review-btn:hover{color:#fff;transform:none;border-color:rgba(56,189,248,.42);background:rgba(56,189,248,.09)}
    body.vendor-reviews-page .coupon{display:flex;align-items:center;margin:0 0 10px;padding:12px 13px;border-radius:16px;background:linear-gradient(135deg,rgba(168,85,247,.12),rgba(59,130,246,.07));border:1px solid rgba(168,85,247,.25)}
    body.vendor-reviews-page .coupon-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:11px;color:#e9d5ff;background:rgba(168,85,247,.15)}
    body.vendor-reviews-page .coupon-copy{min-width:0;display:grid;gap:2px}body.vendor-reviews-page .coupon-label{color:#e9d5ff;font-size:12px;font-weight:900;letter-spacing:.04em}body.vendor-reviews-page .coupon-code{color:#94a3b8;font-size:10px;font-weight:800;letter-spacing:.07em}
    body.vendor-reviews-page .copy-code{margin-left:auto;padding:7px 9px;border-radius:10px;color:#d8b4fe;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);font-size:10px;font-weight:900;cursor:pointer}body.vendor-reviews-page .copy-code:hover{color:#fff;border-color:rgba(168,85,247,.35)}
    body.vendor-reviews-page .card-actions{display:grid;grid-template-columns:1fr 1fr}
    body.vendor-reviews-page .card-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:9px 8px;border-radius:15px;text-decoration:none;font-size:12px;font-weight:900;cursor:pointer;transition:.2s}
    body.vendor-reviews-page .review-btn{color:#fff;background:linear-gradient(135deg,rgba(168,85,247,.28),rgba(59,130,246,.22));border:1px solid rgba(168,85,247,.34)}
    body.vendor-reviews-page .site-btn{color:#cbd5e1;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09)}
    body.vendor-reviews-page .card-btn:hover{color:#fff;transform:none;border-color:rgba(56,189,248,.42)}
    body.vendor-reviews-page .vendor-empty-state{display:none}
    body.vendor-reviews-page .modal{position:fixed;inset:0;z-index:2000;display:none;place-items:center;padding:22px;background:rgba(3,6,12,.78);backdrop-filter:blur(12px)}
    body.vendor-reviews-page .modal.open{display:grid}body.vendor-reviews-page .modal-panel{width:min(680px,100%);max-height:90vh;overflow:auto;padding:28px;border-radius:30px;background:linear-gradient(135deg,rgba(168,85,247,.09),rgba(56,189,248,.04)),#0a0f19;border:1px solid rgba(255,255,255,.11);box-shadow:0 30px 90px rgba(0,0,0,.55)}
    body.vendor-reviews-page .modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}body.vendor-reviews-page .modal-title{color:#fff;font-size:24px;font-weight:900;letter-spacing:-.03em}body.vendor-reviews-page .modal-copy{margin-top:7px;color:#94a3b8;font-size:13px;line-height:1.55}
    body.vendor-reviews-page .icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:14px;color:#94a3b8;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);cursor:pointer;transition:.2s ease}
    body.vendor-reviews-page .icon-btn:hover{color:#fff;transform:none;border-color:rgba(56,189,248,.34);background:rgba(56,189,248,.055);outline:none}
    body.vendor-reviews-page .icon-btn:focus-visible{color:#fff;transform:none;border-color:rgba(56,189,248,.34);background:rgba(56,189,248,.055);outline:none}
    body.vendor-reviews-page .modal-body{margin-top:22px}body.vendor-reviews-page .review-list{display:grid;gap:12px}body.vendor-reviews-page .review-item{padding:19px;border-radius:21px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.075)}
    body.vendor-reviews-page .review-item-head{display:flex;justify-content:space-between;gap:15px}body.vendor-reviews-page .review-title{color:#fff;font-weight:900}body.vendor-reviews-page .review-date{color:#64748b;font-size:11px}body.vendor-reviews-page .review-body{margin-top:10px;color:#cbd5e1;font-size:13px;line-height:1.65}
    body.vendor-reviews-page .gate-card{text-align:center;padding:28px;border-radius:24px;background:rgba(255,255,255,.03);border:1px solid rgba(168,85,247,.22)}
    body.vendor-reviews-page .gate-card i{color:#d8b4fe;font-size:25px}body.vendor-reviews-page .gate-card h3{margin-top:13px;color:#fff;font-size:19px;font-weight:900}body.vendor-reviews-page .gate-card p{max-width:470px;margin:8px auto 0;color:#94a3b8;line-height:1.6;font-size:13px}
    body.vendor-reviews-page .form-grid{display:grid;gap:16px}body.vendor-reviews-page .form-label{display:grid;gap:8px;color:#cbd5e1;font-size:12px;font-weight:800}body.vendor-reviews-page .form-label .glass-input{font-weight:600;line-height:1.55}body.vendor-reviews-page .form-label textarea{min-height:125px;padding-top:14px;resize:vertical}
    body.vendor-reviews-page .order-proof{display:grid;gap:9px}body.vendor-reviews-page .proof-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#cbd5e1;font-size:12px;font-weight:800}body.vendor-reviews-page .required-tag{color:#f0abfc;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}body.vendor-reviews-page .proof-dropzone{display:flex;align-items:center;gap:13px;min-height:82px;padding:15px 17px;border-radius:18px;color:#cbd5e1;background:rgba(255,255,255,.035);border:1px dashed rgba(125,211,252,.28);cursor:pointer;transition:.2s ease}body.vendor-reviews-page .proof-dropzone:hover{transform:none;border-color:rgba(56,189,248,.55);background:rgba(56,189,248,.06)}body.vendor-reviews-page .proof-dropzone:focus-within{transform:none;border-color:rgba(56,189,248,.55);background:rgba(56,189,248,.06)}body.vendor-reviews-page .proof-dropzone.dragging{transform:none;border-color:rgba(56,189,248,.55);background:rgba(56,189,248,.06)}body.vendor-reviews-page .proof-dropzone>i{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:14px;color:#7dd3fc;background:rgba(56,189,248,.09);font-size:18px}body.vendor-reviews-page .proof-dropzone strong{display:block;color:#f8fafc;font-size:13px;font-weight:800}body.vendor-reviews-page .proof-dropzone span{display:block;margin-top:3px;color:#7f8ba0;font-size:11px;font-weight:600;line-height:1.45}body.vendor-reviews-page .proof-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}body.vendor-reviews-page .proof-selected{display:none;align-items:center;gap:10px;padding:10px 12px;border-radius:15px;color:#cbd5e1;background:rgba(74,222,128,.055);border:1px solid rgba(74,222,128,.16);font-size:11px;font-weight:700}body.vendor-reviews-page .proof-selected.show{display:flex}body.vendor-reviews-page .proof-selected i{color:#86efac}body.vendor-reviews-page .proof-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.vendor-reviews-page .proof-remove{margin-left:auto;padding:5px 8px;border-radius:9px;color:#94a3b8;background:transparent;border:1px solid rgba(255,255,255,.09);cursor:pointer}body.vendor-reviews-page .proof-remove:hover{color:#fff;border-color:rgba(248,113,113,.3)}body.vendor-reviews-page .proof-privacy{color:#64748b;font-size:10px;font-weight:600;line-height:1.5}body.vendor-reviews-page .proof-privacy i{margin-right:5px;color:#94a3b8}body.vendor-reviews-page .order-proof[hidden]{display:none}body.vendor-reviews-page .admin-proof-note[hidden]{display:none}body.vendor-reviews-page .admin-proof-note{padding:12px 14px;border-radius:15px;color:#c4b5fd;background:rgba(168,85,247,.07);border:1px solid rgba(168,85,247,.18);font-size:11px;font-weight:700}
    body.vendor-reviews-page .optional-tag{color:#7dd3fc;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}body.vendor-reviews-page .public-photo-upload{padding-top:4px}body.vendor-reviews-page .photo-dropzone>i{color:#d8b4fe;background:rgba(168,85,247,.11)}body.vendor-reviews-page .photo-selection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}body.vendor-reviews-page .photo-selected-card{position:relative;overflow:hidden;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09)}body.vendor-reviews-page .photo-selected-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover}body.vendor-reviews-page .photo-selected-card span{display:block;overflow:hidden;padding:7px 9px;color:#94a3b8;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}body.vendor-reviews-page .photo-selected-card button{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:27px;height:27px;border-radius:9px;color:#fff;background:rgba(3,6,12,.78);border:1px solid rgba(255,255,255,.18);cursor:pointer}body.vendor-reviews-page .public-photo-note i{color:#7dd3fc}
    body.vendor-reviews-page .rating-picker{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:5px}body.vendor-reviews-page .rating-picker input{position:absolute;opacity:0}body.vendor-reviews-page .rating-picker label{color:rgba(255,255,255,.16);font-size:29px;cursor:pointer;transition:.15s}
    body.vendor-reviews-page .rating-picker label:hover{color:#fbbf24}
    body.vendor-reviews-page .rating-picker label:hover~label{color:#fbbf24}
    body.vendor-reviews-page .rating-picker input:checked~label{color:#fbbf24}
    body.vendor-reviews-page .primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:47px;padding:11px 18px;border-radius:16px;color:#fff;font-weight:900;background:linear-gradient(135deg,#a855f7,#3b82f6);border:1px solid rgba(255,255,255,.10);box-shadow:0 12px 34px rgba(59,130,246,.16);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
    body.vendor-reviews-page .primary-btn:hover{color:#fff;transform:none;filter:brightness(1.06);box-shadow:0 18px 42px rgba(59,130,246,.30),0 0 28px rgba(168,85,247,.20);outline:none}
    body.vendor-reviews-page .primary-btn:focus-visible{color:#fff;transform:none;filter:brightness(1.06);box-shadow:0 18px 42px rgba(59,130,246,.30),0 0 28px rgba(168,85,247,.20);outline:none}
    body.vendor-reviews-page .primary-btn:disabled{opacity:.55;cursor:wait;transform:none;filter:none;box-shadow:none}body.vendor-reviews-page .form-message{display:none;padding:11px 13px;border-radius:14px;font-size:12px;font-weight:700}body.vendor-reviews-page .form-message.show{display:block}body.vendor-reviews-page .form-message.error{color:#fecaca;background:rgba(248,113,113,.09);border:1px solid rgba(248,113,113,.18)}body.vendor-reviews-page .form-message.success{color:#bbf7d0;background:rgba(74,222,128,.08);border:1px solid rgba(74,222,128,.18)}

    /* Animated vendor-review confirmation */
    body.vendor-reviews-page .review-transition-stage{position:relative;width:100%;overflow:hidden;transition:height .5s cubic-bezier(.22,1,.36,1)}body.vendor-reviews-page .review-transition-stage>.form-grid{position:absolute;inset:0 0 auto;width:100%;transition:transform .52s cubic-bezier(.22,1,.36,1),opacity .34s ease}body.vendor-reviews-page .review-transition-stage>.review-success{position:absolute;inset:0 0 auto;width:100%;transition:transform .52s cubic-bezier(.22,1,.36,1),opacity .34s ease}body.vendor-reviews-page .review-transition-stage>.form-grid{transform:translateX(0);opacity:1}body.vendor-reviews-page .review-transition-stage>.review-success{transform:translateX(108%);opacity:0}body.vendor-reviews-page .review-transition-stage.is-success>.form-grid{transform:translateX(-108%);opacity:0;pointer-events:none}body.vendor-reviews-page .review-transition-stage.is-success>.review-success{transform:translateX(0);opacity:1}
    body.vendor-reviews-page .review-success{display:grid;justify-items:center;align-content:center;min-height:310px;padding:34px 24px 28px;text-align:center;outline:none}body.vendor-reviews-page .review-success-glow{position:absolute;top:34px;left:50%;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,.16),rgba(168,85,247,.08) 46%,transparent 72%);transform:translateX(-50%);filter:blur(3px);opacity:0}body.vendor-reviews-page .review-success.animate .review-success-glow{animation:reviewSuccessGlow 1s .2s ease-out forwards}body.vendor-reviews-page .review-success-mark{position:relative;width:112px;height:112px;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 18px rgba(56,189,248,.2))}body.vendor-reviews-page .review-success-ring{stroke:url(#review-success-gradient);stroke:#38bdf8;stroke-width:3;stroke-dasharray:277;stroke-dashoffset:277;transform:rotate(-90deg);transform-origin:52px 52px}body.vendor-reviews-page .review-success-check{stroke:#c4b5fd;stroke-width:5;stroke-dasharray:64;stroke-dashoffset:64}body.vendor-reviews-page .review-success.animate .review-success-ring{animation:reviewDrawRing .72s cubic-bezier(.65,0,.35,1) forwards}body.vendor-reviews-page .review-success.animate .review-success-check{animation:reviewDrawCheck .4s .63s cubic-bezier(.22,1,.36,1) forwards}body.vendor-reviews-page .review-success h3{position:relative;margin:20px 0 0;color:#fff;font-size:28px;font-weight:900;letter-spacing:-.035em}body.vendor-reviews-page .review-success p{position:relative;max-width:470px;margin:9px auto 0;color:#aebbd0;font-size:14px;font-weight:600;line-height:1.7}body.vendor-reviews-page .review-success.animate h3{animation:reviewSuccessCopy .5s .68s both}body.vendor-reviews-page .review-success.animate p{animation:reviewSuccessCopy .5s .68s both}
    @keyframes reviewDrawRing{to{stroke-dashoffset:0}}@keyframes reviewDrawCheck{to{stroke-dashoffset:0}}@keyframes reviewSuccessGlow{0%{opacity:0;transform:translateX(-50%) scale(.72)}55%{opacity:1}100%{opacity:.72;transform:translateX(-50%) scale(1)}}@keyframes reviewSuccessCopy{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
    body.vendor-reviews-page .modal-panel:has(.review-transition-stage.is-success) .modal-head>div{opacity:0;transform:translateX(-20px);pointer-events:none}body.vendor-reviews-page .modal-head>div{transition:opacity .3s ease,transform .42s cubic-bezier(.22,1,.36,1)}
    @media(prefers-reduced-motion:reduce){body.vendor-reviews-page .review-transition-stage{animation:none!important;transition:none!important}body.vendor-reviews-page .review-transition-stage>.form-grid{animation:none!important;transition:none!important}body.vendor-reviews-page .review-transition-stage>.review-success{animation:none!important;transition:none!important}body.vendor-reviews-page .review-success-glow{animation:none!important;transition:none!important}body.vendor-reviews-page .review-success-ring{animation:none!important;transition:none!important}body.vendor-reviews-page .review-success-check{animation:none!important;transition:none!important}body.vendor-reviews-page .review-success h3{animation:none!important;transition:none!important}body.vendor-reviews-page .review-success p{animation:none!important;transition:none!important}body.vendor-reviews-page .modal-head>div{animation:none!important;transition:none!important}body.vendor-reviews-page .review-success.animate .review-success-ring{stroke-dashoffset:0}body.vendor-reviews-page .review-success.animate .review-success-check{stroke-dashoffset:0}body.vendor-reviews-page .review-success.animate .review-success-glow{opacity:.72}body.vendor-reviews-page .review-success.animate h3{opacity:1}body.vendor-reviews-page .review-success.animate p{opacity:1}}

    body.vendor-reviews-page .auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;margin-bottom:17px;border-radius:16px;background:rgba(255,255,255,.035)}body.vendor-reviews-page .auth-tab{padding:10px;border-radius:12px;border:0;color:#94a3b8;background:transparent;font-weight:800;cursor:pointer}body.vendor-reviews-page .auth-tab.active{color:#fff;background:rgba(255,255,255,.075)}
    @media(max-width:900px){body.vendor-reviews-page .field-wrap{grid-column:1/-1}body.vendor-reviews-page .directory-tools #vendor-filter{grid-column:1/-1}body.vendor-reviews-page #vendor-sort{grid-column:1}body.vendor-reviews-page #sort-direction{grid-column:2}}
    @media(max-width:640px){body.vendor-reviews-page .directory-meta{align-items:flex-start;flex-direction:column}body.vendor-reviews-page .card-actions{grid-template-columns:1fr}body.vendor-reviews-page .modal-panel{padding:21px}}
  body.vendor-reviews-page .badge-with-help{position:relative}body.vendor-reviews-page .badge-help{position:relative;display:inline-grid;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:50%;color:currentColor;background:rgba(255,255,255,.08);font-size:10px;cursor:help}body.vendor-reviews-page .badge-help:focus-visible{outline:2px solid #7dd3fc;outline-offset:2px}body.vendor-reviews-page .badge-tooltip{position:absolute;z-index:30;left:50%;bottom:calc(100% + 10px);width:260px;padding:11px 13px;border-radius:15px;color:#e5e7eb;background:#111827;border:1px solid rgba(255,255,255,.13);box-shadow:0 18px 50px rgba(0,0,0,.42);font-size:12px;font-weight:600;line-height:1.5;text-align:left;transform:translateX(-50%);opacity:0;pointer-events:none;transition:.16s ease}body.vendor-reviews-page .badge-help:hover .badge-tooltip{opacity:1}body.vendor-reviews-page .badge-help:focus .badge-tooltip{opacity:1}@media(max-width:560px){body.vendor-reviews-page .badge-tooltip{left:auto;right:-10px;transform:none;width:min(260px,calc(100vw - 42px))}}
    /* Directory card system: compact, single rating treatment, restrained actions */body.vendor-reviews-page .vendor-card{border-color:rgba(255,255,255,.075)}body.vendor-reviews-page .vendor-card.vetted{border-color:rgba(168,85,247,.2)}body.vendor-reviews-page .vendor-head{display:grid;align-items:start}body.vendor-reviews-page .vendor-identity{min-width:0}body.vendor-reviews-page .vendor-name{min-width:0;padding-top:2px;color:#fff;font-weight:800}body.vendor-reviews-page .vendor-head .badge{gap:5px}
    body.vendor-reviews-page .badge-with-help{position:relative;cursor:help;outline:none}body.vendor-reviews-page .badge-with-help:focus-visible{box-shadow:0 0 0 2px #7dd3fc}body.vendor-reviews-page .badge-tooltip{left:0;transform:none}body.vendor-reviews-page .badge-with-help:hover .badge-tooltip{opacity:1}body.vendor-reviews-page .badge-with-help:focus .badge-tooltip{opacity:1}
    body.vendor-reviews-page .rating{flex:0 0 92px}body.vendor-reviews-page .rating .star-row{margin:0}body.vendor-reviews-page .rating .rating-value{color:#f8fafc}body.vendor-reviews-page .rating .rating-count{margin:0;letter-spacing:.035em;white-space:nowrap}
    body.vendor-reviews-page .vendor-facts{display:grid;align-items:center;margin:16px 0 0;border-top:1px solid rgba(255,255,255,.075);border-bottom:1px solid rgba(255,255,255,.075)}body.vendor-reviews-page .fact{display:flex;align-items:center;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:none;color:#e5e7eb}body.vendor-reviews-page .fact+.fact{padding-left:10px;border-left:1px solid rgba(255,255,255,.11)}body.vendor-reviews-page .fact-copy{display:grid;gap:2px;min-width:0}body.vendor-reviews-page .fact-label{font-weight:900;letter-spacing:.11em;text-transform:uppercase}body.vendor-reviews-page .fact-value{color:#f8fafc;font-weight:800}body.vendor-reviews-page .price-tier{color:#f8fafc;letter-spacing:.1em}body.vendor-reviews-page .coa-evidence{display:inline-flex;align-items:baseline;gap:4px}body.vendor-reviews-page .coa-evidence-score{font-weight:900}body.vendor-reviews-page .coa-evidence-grade{font-size:10px;font-weight:900}body.vendor-reviews-page .coa-evidence[data-grade="A"]{color:#86efac}body.vendor-reviews-page .coa-evidence[data-grade="B"]{color:#7dd3fc}body.vendor-reviews-page .coa-evidence[data-grade="C"]{color:#fde047}body.vendor-reviews-page .coa-evidence[data-grade="D"]{color:#fb923c}body.vendor-reviews-page .coa-evidence[data-grade="F"]{color:#f87171}body.vendor-reviews-page .coa-evidence-unrated{color:#94a3b8;font-size:11px;font-weight:800}
    body.vendor-reviews-page .card-footer{display:grid;margin-top:auto}body.vendor-reviews-page .coupon{display:flex;align-items:center;min-height:37px;margin:0;padding:0 0 10px;border:0;border-bottom:1px solid rgba(255,255,255,.07);border-radius:0;background:none}body.vendor-reviews-page .coupon-copy{display:flex;align-items:center;gap:7px;min-width:0;color:#cbd5e1;font-weight:700}body.vendor-reviews-page .coupon-copy strong{color:inherit;font-weight:800}body.vendor-reviews-page .coupon-copy span{color:inherit;font-weight:700}body.vendor-reviews-page .copy-code{display:inline-flex;align-items:center;gap:7px;width:auto;height:34px;margin-left:auto;flex:0 0 auto;padding:0 11px;border-radius:999px;color:#e5e7eb;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.09);font-size:11px;font-weight:800;letter-spacing:.035em}body.vendor-reviews-page .copy-code i{color:#7dd3fc}body.vendor-reviews-page .copy-code:hover{color:#fff;border-color:rgba(56,189,248,.34);background:rgba(56,189,248,.055);outline:none}body.vendor-reviews-page .copy-code:focus-visible{color:#fff;border-color:rgba(56,189,248,.34);background:rgba(56,189,248,.055);outline:none}
    body.vendor-reviews-page .card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin:0}body.vendor-reviews-page .card-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;border-radius:999px;color:#cbd5e1;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.085);text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer;transition:.2s ease}body.vendor-reviews-page .card-action i{color:#7dd3fc}body.vendor-reviews-page .card-action:hover{color:#fff;transform:none;border-color:rgba(56,189,248,.34);background:rgba(56,189,248,.055);outline:none}body.vendor-reviews-page .card-action:focus-visible{color:#fff;transform:none;border-color:rgba(56,189,248,.34);background:rgba(56,189,248,.055);outline:none}body.vendor-reviews-page .primary-btn{border-radius:999px}@media(max-width:520px){body.vendor-reviews-page .fact+.fact{padding-top:12px;padding-left:0;border-top:1px solid rgba(255,255,255,.075);border-left:0}body.vendor-reviews-page .coupon{align-items:flex-start}body.vendor-reviews-page .coupon-copy{align-items:flex-start;flex-direction:column;gap:2px}body.vendor-reviews-page .card-actions{grid-template-columns:1fr 1fr}body.vendor-reviews-page .card-action-primary{grid-column:1/-1}}
      /* Mobile vendor-review hardening */
    body.vendor-reviews-page .modal{overscroll-behavior:contain}
    body.vendor-reviews-page .modal-panel{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-gutter:stable}
    @supports(height:100dvh){body.vendor-reviews-page .modal-panel{max-height:calc(100dvh - 24px)}}
    @media(max-width:560px){
      body.vendor-reviews-page .modal{padding:10px}
      body.vendor-reviews-page .modal-panel{max-height:calc(100dvh - 20px);padding:20px 16px 24px;border-radius:24px}
      body.vendor-reviews-page .modal-head{gap:12px}body.vendor-reviews-page .modal-title{font-size:21px;line-height:1.15}body.vendor-reviews-page .modal-body{margin-top:18px}
      body.vendor-reviews-page .proof-dropzone{align-items:flex-start;padding:14px}body.vendor-reviews-page .proof-dropzone>i{width:38px;height:38px;flex-basis:38px}body.vendor-reviews-page .proof-dropzone>span{min-width:0}
      body.vendor-reviews-page .proof-selected{padding:10px}body.vendor-reviews-page .proof-privacy{overflow-wrap:anywhere}body.vendor-reviews-page .review-item-head{align-items:flex-start;flex-direction:column;gap:8px}body.vendor-reviews-page .review-date{white-space:normal}body.vendor-reviews-page .card-action{min-width:0;padding-inline:10px}
    }
    @media(max-width:380px){body.vendor-reviews-page .card-actions{grid-template-columns:1fr}body.vendor-reviews-page .card-action-primary{grid-column:auto}body.vendor-reviews-page .rating-picker{gap:3px}body.vendor-reviews-page .rating-picker label{font-size:27px}}
    /* Review form alignment with the shared site-auth modal */
    body.vendor-reviews-page #review-form-modal .modal-panel{position:relative;width:min(640px,100%);padding:26px 28px 28px;border-radius:30px;background:rgba(10,15,25,.94);border:1px solid rgba(255,255,255,.09);box-shadow:0 30px 90px rgba(0,0,0,.55);backdrop-filter:blur(22px)}
    body.vendor-reviews-page #review-form-modal .modal-panel::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--purple,#a855f7),var(--blue,#3b82f6),var(--cyan,#38bdf8))}
    body.vendor-reviews-page #review-form-modal .modal-title{font-size:24px;font-weight:700;letter-spacing:-.025em}
    body.vendor-reviews-page #review-form-modal .modal-copy{font-weight:400}
    body.vendor-reviews-page #review-form-modal .form-label{font-weight:700}
    body.vendor-reviews-page #review-form-modal .proof-label-row{font-weight:700}
    body.vendor-reviews-page #review-form-modal .form-label .glass-input{font-weight:500}
    body.vendor-reviews-page #review-form-modal .glass-input::placeholder{color:#64748b;font-weight:500}
    body.vendor-reviews-page #review-form-modal .required-tag{font-weight:800}
    body.vendor-reviews-page #review-form-modal .proof-dropzone strong{font-weight:700}
    body.vendor-reviews-page #review-form-modal .proof-dropzone span{font-weight:500}
    body.vendor-reviews-page #review-form-modal .proof-privacy{font-weight:500}
    body.vendor-reviews-page #review-form-modal .admin-proof-note{font-weight:600}
    body.vendor-reviews-page #review-form-modal .primary-btn{min-height:48px;padding:13px 18px;border-radius:999px;background:linear-gradient(90deg,#a855f7,#3b82f6,#38bdf8,#3b82f6,#a855f7);background-size:300% 100%;background-position:0 50%;border:1px solid rgba(255,255,255,.10);box-shadow:0 10px 28px rgba(59,130,246,.16);font-size:13px;font-weight:900;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
    body.vendor-reviews-page #review-form-modal .primary-btn:hover{animation:review-form-button-glow 2.8s linear infinite;transform:none;filter:none;border-color:rgba(125,211,252,.48);box-shadow:0 0 18px rgba(168,85,247,.34),0 0 34px rgba(59,130,246,.24),0 12px 30px rgba(0,0,0,.24)}
    body.vendor-reviews-page #review-form-modal .primary-btn:focus-visible{animation:review-form-button-glow 2.8s linear infinite;transform:none;filter:none;border-color:rgba(125,211,252,.48);box-shadow:0 0 18px rgba(168,85,247,.34),0 0 34px rgba(59,130,246,.24),0 12px 30px rgba(0,0,0,.24)}
    body.vendor-reviews-page #review-form-modal .primary-btn:disabled{animation:none;transform:none}
    @keyframes review-form-button-glow{to{background-position:300% 50%}}
    @media(prefers-reduced-motion:reduce){body.vendor-reviews-page #review-form-modal .primary-btn:hover{animation:none;transform:none;background-position:50% 50%}body.vendor-reviews-page #review-form-modal .primary-btn:focus-visible{animation:none;transform:none;background-position:50% 50%}}
    @media(max-width:560px){body.vendor-reviews-page #review-form-modal .modal-panel{padding:20px 20px 22px;border-radius:24px}body.vendor-reviews-page #review-form-modal .modal-title{font-size:22px}}

    /* Vendor acquisition CTA */
    body.vendor-reviews-page .vendor-invite-copy{align-items:center;gap:15px;min-width:0}body.vendor-reviews-page .vendor-invite-icon{place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:16px;color:#d8b4fe;background:rgba(168,85,247,.12);border:1px solid rgba(168,85,247,.25)}
    body.vendor-reviews-page .vendor-invite h2{margin:0;color:#fff;font-size:18px;font-weight:800;letter-spacing:-.025em}body.vendor-reviews-page .vendor-invite p{margin:5px 0 0;color:#94a3b8;font-size:12px;line-height:1.55}
    @media(max-width:700px){body.vendor-reviews-page .vendor-invite{align-items:flex-start;flex-direction:column}body.vendor-reviews-page .vendor-invite-button{width:100%}}
body.vendor-reviews-page .vendor-name a{color:inherit;text-decoration:none}

/* Vendor directory layout: approved library-aligned glass design. */
body.vendor-reviews-page .vendor-shell>.page-container{display:flex;flex-direction:column}
body.vendor-reviews-page .page-hero{order:0}
body.vendor-reviews-page .vendor-invite{margin-top:28px}
body.vendor-reviews-page .directory-toolbar{margin:0 0 28px;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none}
body.vendor-reviews-page .directory-toolbar::before,body.vendor-reviews-page .directory-card::before{content:none}
body.vendor-reviews-page .directory-meta{margin-top:16px;padding-top:0}
body.vendor-reviews-page .directory-card{padding:0;margin:0;border:0;background:none;box-shadow:none;overflow:visible;backdrop-filter:none}
body.vendor-reviews-page .vendor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.vendor-reviews-page .vendor-card,body.vendor-reviews-page .vendor-card.vetted{padding:24px;border-radius:24px;min-height:0;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));border:1px solid rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.03);transform:none;transition:none}
body.vendor-reviews-page .vendor-card{cursor:pointer;transition:border-color .18s ease}
body.vendor-reviews-page .vendor-card:hover,body.vendor-reviews-page .vendor-card:focus-visible{transform:none;background:linear-gradient(135deg,rgba(88,60,120,.42),rgba(38,71,108,.48));border-color:rgba(125,211,252,.45);box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
body.vendor-reviews-page .vendor-card.is-trending,body.vendor-reviews-page .vendor-card.is-trending:hover{border-color:#fb7185}
body.vendor-reviews-page .vendor-head{grid-template-columns:minmax(0,1fr);gap:16px;text-align:center}
body.vendor-reviews-page .vendor-name{font-size:23px;line-height:1.25;letter-spacing:-.025em;padding:0}
body.vendor-reviews-page .vendor-head .badges{flex-wrap:wrap;justify-content:center;gap:7px;margin-top:13px}
body.vendor-reviews-page .vendor-head .badge{font-size:10px;padding:6px 9px}
body.vendor-reviews-page .rating{display:flex;flex-direction:row;flex-wrap:wrap;flex-basis:auto;align-items:center;justify-content:center;gap:9px;width:auto;min-width:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;text-align:center}
body.vendor-reviews-page .rating .rating-value{order:0;font-size:18px;line-height:1.2;font-weight:800}
body.vendor-reviews-page .rating .star-row{order:1;font-size:12px;letter-spacing:1px}
body.vendor-reviews-page .rating .rating-count{order:2;padding-left:9px;border-left:1px solid rgba(255,255,255,.15);font-size:11px;font-weight:600;color:#94a3b8}
body.vendor-reviews-page .vendor-facts{margin-top:20px;padding:16px 0;gap:10px;grid-template-columns:minmax(0,1.2fr) minmax(40px,.5fr) minmax(0,1fr)}
body.vendor-reviews-page .fact-label{font-size:10px;color:#94a3b8}
body.vendor-reviews-page .fact-value{white-space:normal;font-size:13px;line-height:1.4}
body.vendor-reviews-page .card-footer{gap:14px;padding-top:14px}
body.vendor-reviews-page .coupon{padding-bottom:14px;gap:8px;flex-wrap:wrap}
body.vendor-reviews-page .coupon-copy{font-size:13px}
body.vendor-reviews-page .card-actions{gap:10px}
body.vendor-reviews-page .card-action{transform:none}
body.vendor-reviews-page .card-action-primary{color:#fff;border:1px solid rgba(255,255,255,.12);background:linear-gradient(105deg,rgba(168,85,247,.72),rgba(59,130,246,.68),rgba(168,85,247,.72));background-size:240% 100%;background-position:0 50%;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 8px 22px rgba(59,130,246,.10);transition:border-color .2s ease,box-shadow .2s ease}
body.vendor-reviews-page .card-action-primary i{color:currentColor}
body.vendor-reviews-page .card-action-primary:hover,body.vendor-reviews-page .card-action-primary:focus-visible{color:#fff;transform:none;border:1px solid rgba(255,255,255,.20);background:linear-gradient(105deg,rgba(168,85,247,.72),rgba(59,130,246,.68),rgba(168,85,247,.72));background-size:240% 100%;background-position:0 50%;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 26px rgba(59,130,246,.16);animation:peptide-button-fill-flow 2.2s linear infinite}
@keyframes peptide-button-fill-flow{to{background-position:240% 50%}}
@media(prefers-reduced-motion:reduce){body.vendor-reviews-page .card-action-primary:hover,body.vendor-reviews-page .card-action-primary:focus-visible{animation:none}}
body.vendor-reviews-page .vendor-directory-section{order:2;padding:28px;border:1px solid rgba(255,255,255,.09);border-radius:32px;background:linear-gradient(130deg,rgba(29,25,47,.94),rgba(13,20,32,.96))}
body.vendor-reviews-page .vendor-invite{order:1;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:0 0 26px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body.vendor-reviews-page .vendor-invite::before{content:none}
body.vendor-reviews-page .vendor-invite-copy{display:block}
body.vendor-reviews-page .vendor-invite-icon,body.vendor-reviews-page .vendor-invite-copy p{display:none}
body.vendor-reviews-page .vendor-invite-copy h2{margin:0;color:#94a3b8;font-size:14px;font-weight:500;line-height:1.5}
body.vendor-reviews-page .vendor-invite-button{width:auto;min-height:0;padding:8px 0;color:#7dd3fc;font-size:14px;border:0;background:none;box-shadow:none;transform:none}
body.vendor-reviews-page .vendor-invite-button:hover,body.vendor-reviews-page .vendor-invite-button:focus-visible{color:#fff;background:none;border:0;box-shadow:none;transform:none;animation:none}
body.vendor-reviews-page .directory-tools{grid-template-columns:minmax(180px,1fr) 170px 270px 48px;gap:12px}
body.vendor-reviews-page #vendor-sort{min-width:0;padding-right:42px}
@media(max-width:1250px){body.vendor-reviews-page .vendor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){body.vendor-reviews-page .directory-tools{grid-template-columns:minmax(0,1fr) 48px}body.vendor-reviews-page .field-wrap,body.vendor-reviews-page .directory-tools #vendor-filter{grid-column:1/-1}}
@media(max-width:680px){body.vendor-reviews-page .vendor-directory-section{padding:18px;border-radius:24px}body.vendor-reviews-page .vendor-grid{grid-template-columns:1fr;gap:22px}body.vendor-reviews-page .vendor-card{padding:22px}body.vendor-reviews-page .vendor-facts{grid-template-columns:1fr}body.vendor-reviews-page .fact+.fact{padding:10px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.075)}body.vendor-reviews-page .directory-meta{align-items:flex-start;gap:10px}}


/* ---------- END VENDOR DIRECTORY ---------- */

/* Vendor directory responsive controls: scoped to avoid changing other pages. */
body.vendor-reviews-page .directory-tools>*{min-width:0;max-width:100%}
body.vendor-reviews-page .directory-tools select.glass-input{
 appearance:none;-webkit-appearance:none;color-scheme:dark;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e2e8f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 16px center;background-size:16px;padding-right:42px;min-height:48px;
}
body.vendor-reviews-page .directory-tools select option{background:#252536;color:#f8fafc}
body.vendor-reviews-page .vendor-name,body.vendor-reviews-page .coupon-copy{overflow-wrap:anywhere}
@media(max-width:680px){
 body.vendor-reviews-page .directory-tools .glass-input{font-size:16px}
 body.vendor-reviews-page .directory-meta{flex-wrap:wrap}
 body.vendor-reviews-page .card-actions>*{min-height:44px}
 body.vendor-reviews-page .vendor-head{position:relative}
 body.vendor-reviews-page .vendor-head .badges,body.vendor-reviews-page .badge-with-help{position:static}
 body.vendor-reviews-page .badge-tooltip{left:0;right:0;bottom:100%;width:100%;max-width:100%;transform:none;white-space:normal;text-transform:none;letter-spacing:normal}
}
@media(max-width:480px){
 body.vendor-reviews-page .directory-tools{grid-template-columns:minmax(0,1fr)}
 body.vendor-reviews-page .directory-tools #vendor-sort{grid-column:1/-1}
 body.vendor-reviews-page .directory-tools #sort-direction{grid-column:1;justify-self:end;width:48px;height:48px}
 body.vendor-reviews-page .vendor-directory-section{padding:14px}
 body.vendor-reviews-page .vendor-card{padding:20px 16px}
}

/* Mobile polish release 20260912: shared navigation and vendor cards. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
@media(max-width:1023px){
 .pp-mobile-menu .nav-pill:hover,.pp-mobile-menu .nav-pill:focus-visible,.pp-mobile-menu .nav-pill:active,.pp-mobile-menu [aria-current="page"],.pp-mobile-menu .pp-mobile-tools-label:hover,.pp-mobile-menu .pp-mobile-tools-label:focus-visible,.pp-mobile-menu .pp-mobile-tools-label[aria-expanded="true"],.pp-mobile-toggle[aria-expanded="true"]{color:#fff;background:linear-gradient(105deg,rgba(168,85,247,.72),rgba(59,130,246,.68));border-color:rgba(255,255,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
}

/* Mobile polish release 20260912: shared navigation and vendor cards. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
body.vendor-detail-shell .detail-btn{font-size:12px;font-weight:800;line-height:1;min-height:44px}
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
.newsletter-modal .support-form__submit:hover{transform:none;box-shadow:0 0 20px rgba(168,85,247,.3),0 0 30px rgba(59,130,246,.18)}
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Vendor listing request: approved redesign surfaces and form elements. */
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Vendor listing request: approved redesign surfaces and form elements. */
body .listing-shell .process-list li::before{color:#7dd3fc;background:rgba(56,189,248,.08);border-color:rgba(56,189,248,.18)}
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Vendor listing request: approved redesign surfaces and form elements. */
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Review-only fields use the same shared modal typography and CTA treatment. */
/* Vendor listing request: approved redesign surfaces and form elements. */
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Approved modal CTA standard: dark fill and animated border, never filled gradient. */
body :is(.site-auth-modal,.support-modal,#review-modal,#review-form-modal) :is(.site-auth-primary,.support-form__submit,.primary-btn){background:linear-gradient(#0b0f17,#0b0f17) padding-box,linear-gradient(90deg,#a855f7,#3b82f6,#38bdf8,#3b82f6,#a855f7) border-box!important;background-size:100% 100%,300% 100%!important;background-position:0 0,0 50%;border:1px solid transparent!important;box-shadow:none!important;font:800 12px/1 Inter,sans-serif!important}
/* Review-only fields use the same shared modal typography and CTA treatment. */
/* Vendor listing request: approved redesign surfaces and form elements. */
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Approved modal CTA standard: dark fill and animated border, never filled gradient. */
/* Review-only fields use the same shared modal typography and CTA treatment. */
/* Vendor listing request: approved redesign surfaces and form elements. */
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */

/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Approved modal CTA standard: dark fill and animated border, never filled gradient. */
body .listing-shell a.back-link:is(:link,:visited,:hover,:focus,:active){background:transparent!important;box-shadow:none!important;animation:none!important;border:0;transform:none}
/* Review-only fields use the same shared modal typography and CTA treatment. */
/* Vendor listing request: approved redesign surfaces and form elements. */
/* Match the shared vendor-directory hero; supersede previously shipped page overrides. */
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */


/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Approved modal CTA standard: dark fill and animated border, never filled gradient. */
/* Review-only fields use the same shared modal typography and CTA treatment. */
/* Vendor listing request: approved redesign surfaces and form elements. */
/* Match the shared vendor-directory hero; supersede previously shipped page overrides. */
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
/* Review dialogs share the approved account-dialog glass surface. */


/* Mobile polish release 20260912: shared navigation and vendor cards. */
/* Prose links must not become bold because of legacy inline styling. */
main p a:not(.site-button):not([role="button"]),.faq-answer a:not(.site-button),.article-callout a:not(.site-button),.article-references a:not(.site-button){font-weight:inherit!important}
/* Approved modal CTA standard: dark fill and animated border, never filled gradient. */
body :is(.site-auth-modal,.support-modal,#review-modal,#review-form-modal) :is(.site-auth-primary,.support-form__submit,.primary-btn){background-image:linear-gradient(#0b0f17,#0b0f17),linear-gradient(90deg,#a855f7,#3b82f6,#38bdf8,#3b82f6,#a855f7)!important;background-clip:padding-box,border-box!important;background-origin:padding-box,border-box!important;background-size:100% 100%,300% 100%!important;background-position:0 0,0 50%;border:1px solid transparent!important;box-shadow:none!important;font:800 12px/1 Inter,sans-serif!important}
body :is(.site-auth-modal,.support-modal,#review-modal,#review-form-modal) :is(.site-auth-primary,.support-form__submit,.primary-btn):is(:hover,:focus-visible){animation:site-button-border-flow 2.4s linear infinite!important;transform:none!important}
@media(prefers-reduced-motion:reduce){body :is(.site-auth-modal,.support-modal,#review-modal,#review-form-modal) :is(.site-auth-primary,.support-form__submit,.primary-btn):is(:hover,:focus-visible){animation:none!important}}
body .listing-shell .trust-status-head{display:inline-flex;width:max-content;max-width:100%;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700;gap:8px}
body .listing-shell .trust-status-verified .trust-status-head{color:#bae6fd;background:rgba(56,189,248,.11);border:1px solid rgba(56,189,248,.27)}
body .listing-shell .trust-status-vetted .trust-status-head{color:#e9d5ff;background:rgba(168,85,247,.14);border:1px solid rgba(168,85,247,.32)}
body .listing-shell .trust-status-head i{color:inherit!important}
body .listing-shell a.back-link:is(:link,:visited,:hover,:focus,:active){background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;animation:none!important;border:0;transform:none}
/* Review-only fields use the same shared modal typography and CTA treatment. */
body :is(#review-modal,#review-form-modal) .required-tag{color:#7dd3fc;font:800 11px/1.5 Inter,sans-serif;letter-spacing:.08em}
body :is(#review-modal,#review-form-modal) :is(.form-label,.proof-label-row){font:500 14px/1.4 Inter,sans-serif}
body :is(#review-modal,#review-form-modal) .modal-title.modal-title{font:800 24px/1.2 Inter,sans-serif;letter-spacing:-.035em}
body :is(#review-modal,#review-form-modal) .modal-copy.modal-copy{font:400 14px/1.6 Inter,sans-serif;color:#94a3b8}
body :is(#review-modal,#review-form-modal) .glass-input.glass-input.glass-input{font:400 16px/1.4 Inter,sans-serif;padding:12px 16px;border-radius:18px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.10)}
body :is(#review-modal,#review-form-modal) .primary-btn.primary-btn.primary-btn{font:800 12px/1 Inter,sans-serif;min-height:44px;padding:11px 18px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(105deg,rgba(168,85,247,.72),rgba(59,130,246,.68),rgba(168,85,247,.72));background-size:240% 100%;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 8px 22px rgba(59,130,246,.10);transition:border-color .2s ease,box-shadow .2s ease}
body :is(#review-modal,#review-form-modal) .primary-btn.primary-btn.primary-btn:is(:hover,:focus-visible){transform:none;border-color:rgba(255,255,255,.20);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 26px rgba(59,130,246,.16);animation:peptide-button-fill-flow 2.2s linear infinite}
@media(prefers-reduced-motion:reduce){body :is(#review-modal,#review-form-modal) .primary-btn.primary-btn.primary-btn:is(:hover,:focus-visible){animation:none}}
/* Vendor listing request: approved redesign surfaces and form elements. */
body .listing-shell .listing-card.listing-card{padding:26px;border-radius:24px;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));border:1px solid rgba(255,255,255,.09);box-shadow:none}
body .listing-shell .listing-card h2{font-size:22px;font-weight:700;letter-spacing:-.025em}
body .listing-shell .process-list li{padding:16px 0;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.09);border-radius:0;box-shadow:none}
body .listing-shell .process-number{color:#7dd3fc;background:rgba(56,189,248,.08);border-color:rgba(56,189,248,.18)}
body .listing-shell .evaluation-list li{padding:12px 0;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.09);border-radius:0}
@media(max-width:560px){body .listing-shell .listing-card.listing-card{padding:22px}}
/* Match the shared vendor-directory hero; supersede previously shipped page overrides. */
body .listing-shell .listing-layout{gap:28px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);margin-top:0}
body .listing-shell .listing-card{padding:32px;border-radius:30px;background:linear-gradient(135deg,rgba(168,85,247,.13),rgba(59,130,246,.075)),rgba(10,15,25,.70);border:1px solid rgba(255,255,255,.10);box-shadow:0 20px 70px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(24px)}
body .listing-shell .listing-card::before{display:none}
body .listing-shell h2{font:800 24px/1.2 Inter,sans-serif;letter-spacing:-.035em;color:#f8fafc}
body .listing-shell :is(.listing-card-copy,.process-list p,.trust-explainer-intro,.trust-status p){font-size:14px;line-height:1.65;color:#94a3b8}
body .listing-shell .process-list{display:grid;gap:18px;padding-left:20px;margin-top:24px}
body .listing-shell .process-list li::marker{color:#7dd3fc}
body .listing-shell .evaluation-list span{font-size:12px;line-height:1.6;color:#94a3b8}
body .listing-shell .evaluation-list strong{font-size:13px}
body .listing-shell .trust-status-head i{color:#7dd3fc}
body .listing-shell .listing-form{gap:18px}
body .listing-shell .listing-form label{font-size:14px;font-weight:500;gap:9px;min-width:0}
body .listing-shell .listing-form :is(input:not([type=checkbox]),textarea){min-width:0;min-height:52px;padding:12px 16px;border-radius:18px;font:400 16px/1.4 Inter,sans-serif;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.10)}
body .listing-shell .listing-form input:not([type=checkbox]){height:52px;box-sizing:border-box}
body .listing-shell .listing-form textarea{min-height:112px;box-sizing:border-box}
body .listing-shell .listing-form label:not(.acknowledgement){align-content:start}
body .listing-shell .listing-form :is(input,textarea):focus{border-color:#7dd3fc;box-shadow:0 0 0 3px rgba(125,211,252,.12)}
body .listing-shell .submit-button{min-height:44px;font:800 12px/1 Inter,sans-serif;border:1px solid rgba(255,255,255,.12);background:linear-gradient(105deg,rgba(168,85,247,.72),rgba(59,130,246,.68),rgba(168,85,247,.72));background-size:240% 100%;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 8px 22px rgba(59,130,246,.10)}
body .listing-shell .submit-button:is(:hover,:focus-visible){transform:none;border-color:rgba(255,255,255,.20);animation:peptide-button-fill-flow 2.2s linear infinite}
body .listing-shell .back-link{padding:0;min-height:44px;border:0;border-radius:0;background:none;box-shadow:none;font-size:14px;font-weight:400;color:#cbd5e1}
body .listing-shell .back-link:hover{color:#fff;transform:none;background:none;box-shadow:none}
body .listing-shell .form-status:empty{display:none}
@media(max-width:860px){body .listing-shell .listing-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){body .listing-shell .listing-card{padding:24px 20px;border-radius:26px}body .listing-shell .form-row{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){body .listing-shell .submit-button:is(:hover,:focus-visible){animation:none}}
/* Canonical account, newsletter and contact modal elements. Keep these grouped. */
body :is(.site-auth-modal,.support-modal){padding:24px;align-items:center;justify-items:center;font-family:Inter,sans-serif}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-panel,.support-modal__dialog){box-sizing:border-box;width:min(480px,100%);min-width:0;max-height:calc(100dvh - 48px);padding:32px;border-radius:30px;overflow:auto;overscroll-behavior:contain;background:linear-gradient(135deg,rgba(168,85,247,.13),rgba(59,130,246,.075)),rgba(10,15,25,.94);border:1px solid rgba(255,255,255,.10);box-shadow:0 20px 70px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(24px)}
body .support-modal .support-modal__dialog::before,body .support-modal .support-modal__icon{display:none}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-title,h2){margin:0;color:#f8fafc;font:800 24px/1.2 Inter,sans-serif;letter-spacing:-.035em;text-align:center}
body .support-modal .support-modal__header{display:block;padding:0 32px}
body .support-modal .support-modal__eyebrow{text-align:center;color:#7dd3fc;font:800 11px/1.5 Inter,sans-serif;letter-spacing:.14em;margin-bottom:8px}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-subtitle,.support-modal__description){font:400 14px/1.6 Inter,sans-serif;color:#94a3b8;text-align:center;margin:12px 0 24px}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-close,.support-modal__close){top:12px;right:12px;width:44px;height:44px;border-radius:50%;color:#cbd5e1;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.10);box-shadow:none}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-close,.support-modal__close):hover{background:rgba(255,255,255,.07);color:#fff}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-form,.support-form){gap:18px}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-label,.support-form label){gap:9px;color:#cbd5e1;font:500 14px/1.4 Inter,sans-serif;min-width:0}
body .support-modal .support-form label>span{font:500 14px/1.4 Inter,sans-serif;color:#cbd5e1}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-input,.support-form input,.support-form textarea){box-sizing:border-box;width:100%;min-width:0;min-height:52px;padding:12px 16px;border-radius:18px;color:#e5e7eb;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.10);font:400 16px/1.4 Inter,sans-serif;outline:none}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-input,.support-form input,.support-form textarea):focus{border-color:#7dd3fc;box-shadow:0 0 0 3px rgba(125,211,252,.12)}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-primary,.support-form__submit){width:100%;min-height:44px;margin:0;padding:11px 18px;border-radius:999px;font:800 12px/1 Inter,sans-serif;color:#fff;border:1px solid rgba(255,255,255,.12);background:linear-gradient(105deg,rgba(168,85,247,.72),rgba(59,130,246,.68),rgba(168,85,247,.72));background-size:240% 100%;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 8px 22px rgba(59,130,246,.10);transform:none;transition:border-color .2s ease,box-shadow .2s ease}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-primary,.support-form__submit):is(:hover,:focus-visible){border-color:rgba(255,255,255,.20);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 26px rgba(59,130,246,.16);animation:peptide-button-fill-flow 2.2s linear infinite;transform:none}
body :is(.site-auth-modal,.support-modal) :is(.site-auth-close,.support-modal__close):focus-visible{outline:2px solid #7dd3fc;outline-offset:3px}
body .support-modal .support-form__status:empty{display:none}
@media(max-width:560px){body :is(.site-auth-modal,.support-modal){padding:12px}body :is(.site-auth-modal,.support-modal) :is(.site-auth-panel,.support-modal__dialog){padding:24px 20px;border-radius:26px;max-height:calc(100dvh - 24px)}}
@media(prefers-reduced-motion:reduce){body :is(.site-auth-modal,.support-modal) :is(.site-auth-primary,.support-form__submit):is(:hover,:focus-visible){animation:none}}
/* Newsletter: approved glass modal, scoped to preserve support form styling. */
.newsletter-modal .newsletter-modal__dialog{width:min(480px,100%);padding:32px;border-radius:30px;background:linear-gradient(135deg,rgba(168,85,247,.13),rgba(59,130,246,.075)),rgba(10,15,25,.94);border:1px solid rgba(255,255,255,.10);box-shadow:0 20px 70px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(24px);max-height:calc(100dvh - 24px);overflow-x:hidden;overscroll-behavior:contain}
.newsletter-modal .newsletter-modal__dialog::before,.newsletter-modal .support-modal__icon{display:none}
.newsletter-modal .support-modal__header{padding-right:40px}
.newsletter-modal .support-modal__eyebrow{color:#7dd3fc;font-size:11px;font-weight:800}
.newsletter-modal h2{font-size:24px;font-weight:700;letter-spacing:-.025em;line-height:1.2}
.newsletter-modal .support-modal__description{font-size:14px;line-height:1.65;color:#94a3b8;margin:16px 0 24px}
.newsletter-modal .support-modal__close{width:44px;height:44px;border-radius:50%;color:#cbd5e1}
.newsletter-modal .support-form label{min-width:0}
.newsletter-modal .support-form label>span{font-size:12px;font-weight:600}
.newsletter-modal .support-form input{box-sizing:border-box;min-width:0;min-height:48px;font-size:16px;border-radius:16px}
.newsletter-modal .newsletter-form__consent{color:#94a3b8;font-size:12px;line-height:1.6}
.newsletter-modal .support-form__submit{min-height:44px;padding:11px 18px;border:1px solid transparent;border-radius:999px;background:linear-gradient(#0b0f17,#0b0f17) padding-box,linear-gradient(90deg,#a855f7,#3b82f6,#38bdf8) border-box;color:#fff;font:800 12px/1 Inter,sans-serif;transform:none}
.newsletter-modal .support-form__submit{border:1px solid rgba(255,255,255,.12);background:linear-gradient(105deg,rgba(168,85,247,.72),rgba(59,130,246,.68),rgba(168,85,247,.72));background-size:240% 100%;background-position:0 50%;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 8px 22px rgba(59,130,246,.10);transition:border-color .2s ease,box-shadow .2s ease}
.newsletter-modal .support-form__submit:hover,.newsletter-modal .support-form__submit:focus-visible{transform:none;border-color:rgba(255,255,255,.20);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 26px rgba(59,130,246,.16);animation:peptide-button-fill-flow 2.2s linear infinite}
.newsletter-modal .support-form__status:empty{display:none}
.support-modal.newsletter-modal{align-items:center}
@media(prefers-reduced-motion:reduce){.newsletter-modal .support-form__submit:hover,.newsletter-modal .support-form__submit:focus-visible{animation:none}}
@media(max-width:560px){.newsletter-modal{padding:12px}.newsletter-modal .newsletter-modal__dialog{padding:24px 20px;border-radius:26px}.newsletter-modal h2{font-size:24px}}
/* Vendor actions follow shared .site-button typography, not a page-specific scale. */
body .vendor-detail-shell .detail-btn{font-size:12px;font-weight:800;line-height:1;min-height:44px}
/* Review dialogs share the approved account-dialog glass surface. */
body :is(#review-modal,#review-form-modal) .admin-proof-note{color:#7dd3fc;background:rgba(56,189,248,.07);border-color:rgba(56,189,248,.18)}
body :is(#review-modal,#review-form-modal) .photo-dropzone>i,body :is(#review-modal,#review-form-modal) .public-photo-note i{color:#7dd3fc;background:rgba(56,189,248,.1)}
body :is(#review-modal,#review-form-modal) .modal-panel.modal-panel{box-sizing:border-box;background:linear-gradient(135deg,rgba(168,85,247,.13),rgba(59,130,246,.075)),rgba(10,15,25,.94);border:1px solid rgba(255,255,255,.10);border-radius:30px;box-shadow:0 20px 70px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(24px);padding:32px;max-height:calc(100dvh - 24px);overflow-x:hidden;overscroll-behavior:contain}
body :is(#review-modal,#review-form-modal) .modal-panel.modal-panel::before{display:none}
body :is(#review-modal,#review-form-modal) .modal-title{font-size:24px;font-weight:700;letter-spacing:-.025em}
body :is(#review-modal,#review-form-modal) .glass-input.glass-input{box-sizing:border-box;min-width:0;max-width:100%;font:500 16px/1.5 Inter,sans-serif;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09)}
body :is(#review-modal,#review-form-modal) .glass-input.glass-input:focus{border-color:#7dd3fc;box-shadow:0 0 0 3px rgba(125,211,252,.12)}
body :is(#review-modal,#review-form-modal) .primary-btn.primary-btn{min-height:48px;border-radius:999px;border:2px solid transparent;background:linear-gradient(#0b0f17,#0b0f17) padding-box,linear-gradient(90deg,#a855f7,#3b82f6) border-box;color:#fff;font-weight:700;transform:none;filter:none}
body :is(#review-modal,#review-form-modal) .icon-btn{flex-shrink:0;width:44px;height:44px;border-radius:50%}
@media(max-width:560px){body :is(#review-modal,#review-form-modal){padding:12px}body :is(#review-modal,#review-form-modal) .modal-panel.modal-panel{padding:24px 20px;border-radius:26px}body :is(#review-modal,#review-form-modal) .form-grid{grid-template-columns:minmax(0,1fr)}body :is(#review-modal,#review-form-modal) .primary-btn.primary-btn{width:100%}}
@media(max-width:680px){
 body.vendor-reviews-page .vendor-card{padding:20px 18px}
 body.vendor-reviews-page .vendor-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px 0;margin-top:16px}
 body.vendor-reviews-page .vendor-facts .fact{justify-content:center;text-align:center;padding:0;border:0}
 body.vendor-reviews-page .vendor-facts .fact:first-child{grid-column:1/-1}
 body.vendor-reviews-page .coupon{flex-direction:column;align-items:center;gap:10px;text-align:center}
 body.vendor-reviews-page .coupon .copy-code{margin-inline:auto;align-self:center;max-width:100%;min-height:44px;height:auto;justify-content:center;white-space:normal;overflow-wrap:anywhere}
 body.vendor-reviews-page .coupon-copy{flex-direction:row;justify-content:center;align-items:center;gap:6px}
 body.vendor-reviews-page .card-actions{grid-template-columns:minmax(0,1fr);gap:10px}
 body.vendor-reviews-page .card-actions .card-action{grid-column:1;width:100%;min-height:44px}
}
@media(max-width:1023px){
 .pp-mobile-menu .nav-pill,.pp-mobile-menu .pp-mobile-tools-label{border:1px solid rgba(255,255,255,.09);border-radius:16px;min-height:48px;transition:background .18s,border-color .18s}
 .pp-mobile-menu .nav-pill,.pp-mobile-menu .pp-mobile-tools-label{border-width:2px}
 .pp-mobile-menu .nav-pill:hover,.pp-mobile-menu .nav-pill:focus-visible,.pp-mobile-menu .nav-pill:active,.pp-mobile-menu [aria-current="page"],.pp-mobile-menu .nav-pill.active,.pp-mobile-menu .pp-mobile-tools-label:hover,.pp-mobile-menu .pp-mobile-tools-label:focus-visible,.pp-mobile-menu .pp-mobile-tools-label[aria-expanded="true"],.pp-mobile-toggle[aria-expanded="true"]{color:#fff;border:2px solid transparent;background:linear-gradient(#0b0f17,#0b0f17) padding-box,linear-gradient(90deg,#a855f7,#3b82f6) border-box;box-shadow:0 0 20px rgba(168,85,247,.30),0 0 30px rgba(59,130,246,.18)}
 .pp-mobile-menu .nav-pill:focus-visible,.pp-mobile-menu .pp-mobile-tools-label:focus-visible{outline:2px solid #7dd3fc;outline-offset:2px}
}
/* SHARED HERO: change here, never in a page-specific override. */
.page-hero { text-align:center; padding:0; margin-bottom:36px; }
.page-badge { display:inline-flex; align-items:center; gap:10px; padding:10px 20px; border-radius:999px; color:#d8b4fe; background:rgba(168,85,247,.12); border:1px solid rgba(168,85,247,.4); margin-bottom:28px; letter-spacing:.14em; font-size:12px; font-weight:800; text-transform:uppercase; }
.page-title { color:#fff; font-size:68px; font-weight:900; line-height:1.02; letter-spacing:-.06em; text-shadow:0 0 55px rgba(168,85,247,.22); }
.page-title span { color:var(--cyan); }
.page-subtitle { color:#9ca3af; font-size:20px; line-height:1.55; max-width:860px; margin:22px auto 0; }
@media(max-width:900px) { .page-hero { padding-inline:10px; } }
@media(max-width:768px) { .page-title { font-size:52px; } .page-subtitle { font-size:17px; } }
@media(max-width:640px) { .page-title { font-size:48px; } }
@media(max-width:520px) { .page-badge { max-width:100%; white-space:normal; line-height:1.35; } }
/* END SHARED HERO */

.site-button-danger{color:#f0a0ad;border-color:rgba(244,63,94,.2);background:rgba(244,63,94,.06)}
.site-button-danger:hover,.site-button-danger:focus-visible{color:#fecdd3;border-color:rgba(244,63,94,.4);background:rgba(244,63,94,.12);animation:none}

  

/* Shared glass checker layout */
    .mixing-page .checker-heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
    .mixing-page .checker-copy{color:#94a3b8;line-height:1.65;margin-top:8px;max-width:760px}
    .mixing-page .selection-count{flex:0 0 auto;padding:9px 13px;border-radius:999px;color:#cbd5e1;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);font-size:12px;font-weight:600}
    .mixing-page .field-label{display:block;color:#e2e8f0;font-size:14px;font-weight:600;margin-bottom:11px}
    .mixing-page .selected-list{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-width:0;min-height:24px}
    .mixing-page .peptide-button,.mixing-page .selected-pill,.mixing-page .clear-button{appearance:none;font-family:inherit;cursor:pointer;transition:.2s ease;-webkit-tap-highlight-color:transparent}
    .mixing-page .selector-panel{margin-top:24px;padding:24px 0 0;border:0;border-top:1px solid rgba(255,255,255,.09);background:none}
    .mixing-page .selected-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}
    .mixing-page .selected-wrap{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;min-width:0;min-height:56px;flex:1;padding:12px 16px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.035)}
    .mixing-page .selected-wrap .field-label{margin:0;padding-right:16px;border-right:1px solid rgba(255,255,255,.11);white-space:nowrap}
    .mixing-page .selected-empty{color:var(--muted);font-size:14px;line-height:1.5}
    .mixing-page .selected-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 11px;border-radius:999px;color:#f8fafc;background:rgba(56,189,248,.11);border:1px solid rgba(56,189,248,.27);font-size:12px;font-weight:600}
    .mixing-page .selected-pill i{color:#7dd3fc;font-size:14px}
    .mixing-page .clear-button{flex:0 0 auto;color:#94a3b8;background:transparent;border:0;padding:7px 3px;font-size:14px;font-weight:600}
    .mixing-page .clear-button:hover,.mixing-page .clear-button:focus-visible{color:#fff;outline:none}
    .mixing-page .clear-button:disabled{display:none}
    .mixing-page .search-wrap{position:relative;margin-bottom:16px}
    .mixing-page .search-wrap i{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
    .mixing-page .peptide-search::placeholder{color:var(--muted)}
    .mixing-page .peptide-grid{display:flex;flex-wrap:wrap;gap:8px;max-height:330px;overflow:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.35) transparent}
    .mixing-page .peptide-button{min-height:44px;padding:10px 16px;border-radius:999px;color:#cbd5e1;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);font-size:14px;font-weight:600}
    .mixing-page .peptide-button:hover,.mixing-page .peptide-button:focus-visible{color:#fff;border-color:rgba(56,189,248,.34);background:rgba(56,189,248,.08);outline:none}
    .mixing-page .peptide-button[aria-pressed="true"]{color:#fff;background:rgba(56,189,248,.11);border-color:rgba(56,189,248,.27);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
    .mixing-page .peptide-button:disabled{opacity:.42;cursor:not-allowed}
    .mixing-page .empty-search{display:none;width:100%;padding:18px;text-align:center;color:var(--muted);font-size:14px}
    .mixing-page .results-shell{margin-top:24px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08)}
    .mixing-page .results-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}
    .mixing-page .results-summary{color:#94a3b8;font-size:14px;font-weight:600;text-align:right}
    .mixing-page .results-empty{padding:30px 20px;border-radius:22px;text-align:center;background:rgba(255,255,255,.025);border:1px dashed rgba(255,255,255,.10)}
    .mixing-page .results-empty i{color:var(--muted);font-size:24px;margin-bottom:12px}
    .mixing-page .results-empty strong{display:block;color:#e2e8f0;font-size:14px}
    .mixing-page .results-empty span{display:block;color:var(--muted);font-size:14px;line-height:1.55;margin-top:5px}
    .mixing-page .result-list{display:grid;gap:11px}
    .mixing-page .result-card{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:18px;align-items:center;padding:17px 18px;border-radius:20px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}
    .mixing-page .result-pair{display:flex;align-items:center;gap:9px;min-width:0;color:#f8fafc;font-size:14px;font-weight:600}
    .mixing-page .result-pair span{min-width:0;overflow-wrap:anywhere}
    .mixing-page .result-plus{color:var(--muted);font-weight:700}
    .mixing-page .result-detail{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
    .mixing-page .status-badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border-radius:12px;font-size:14px;font-weight:600;white-space:nowrap}
    .mixing-page .status-copy{color:#94a3b8;font-size:12px;line-height:1.5}
    .mixing-page .status-clinic{color:#bbf7d0;background:rgba(34,197,94,.11);border:1px solid rgba(34,197,94,.24)}
    .mixing-page .status-can{color:#bae6fd;background:rgba(56,189,248,.11);border:1px solid rgba(56,189,248,.24)}
    .mixing-page .status-dont{color:#fde68a;background:rgba(250,204,21,.10);border:1px solid rgba(250,204,21,.23)}
    .mixing-page .status-avoid{color:#fecaca;background:rgba(239,68,68,.11);border:1px solid rgba(239,68,68,.26)}
    .mixing-page .status-unknown{color:#cbd5e1;background:rgba(148,163,184,.08);border:1px solid rgba(148,163,184,.18)}
    .mixing-page .legend-strip{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:20px;align-items:center}
    .mixing-page .legend-strip::before{content:"Result key";color:var(--muted);font-size:14px;font-weight:400}
    .mixing-page .legend-pill{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}
    .mixing-page .legend-dot{width:9px;height:9px;flex:0 0 9px;border-radius:999px}
    .mixing-page .dot-clinic{background:var(--green)}.mixing-page .dot-can{background:var(--cyan)}.mixing-page .dot-dont{background:var(--yellow)}.mixing-page .dot-avoid{background:var(--red)}.mixing-page .dot-unknown{background:var(--muted)}
    .mixing-page .callout-title i{color:#facc15}.mixing-page .callout-card p{color:#cbd5e1;line-height:1.68;margin-top:12px}
    .mixing-page .section-copy{color:#94a3b8;line-height:1.65;margin-top:8px}
    .mixing-page .how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:22px}
    .mixing-page .info-card{padding:0;border:0;background:none}
    .mixing-page .info-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;color:var(--text);background:none;border:0;margin-bottom:14px}
    .mixing-page .info-title{color:#fff;font-size:16px;font-weight:600;line-height:1.25}.mixing-page .info-card p{color:#94a3b8;font-size:14px;line-height:1.55;margin-top:8px}
    .mixing-page .resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
    .mixing-page .resource-icon{position:relative;z-index:1;width:46px;height:46px;display:flex;align-items:center;justify-content:center;color:var(--text);background:none;border:0;margin-bottom:18px}
    .mixing-page .resource-eyebrow{position:relative;z-index:1;color:#38bdf8;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
  
.mixing-page :is(.checker-card,.section-card,.callout-card){padding:28px;margin-top:28px;border-radius:30px;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));border:1px solid rgba(255,255,255,.09);backdrop-filter:blur(24px);box-shadow:none}
.mixing-page .section-card::before{display:none}
.mixing-page .peptide-search{width:100%;min-height:48px;padding:12px 16px 12px 43px;font:400 16px/1.5 Inter,sans-serif}
.mixing-page :is(.checker-copy,.section-copy,.info-card p,.status-copy,.callout-card p,.resource-card p){font-size:16px;font-weight:400;line-height:1.8;color:var(--muted)}
.mixing-page .resource-card{display:grid;grid-template-rows:auto auto 1fr auto;align-content:start;gap:12px;padding:24px;min-width:0;min-height:250px;text-decoration:none;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));border-color:rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.mixing-page .resource-card::before{display:none}
.mixing-page .resource-card:hover{transform:none;border-color:rgba(125,211,252,.45);background:linear-gradient(135deg,rgba(88,60,120,.42),rgba(38,71,108,.48));box-shadow:none}
.mixing-page .resource-cta{display:inline-flex;align-items:center;gap:9px;color:#7dd3fc;font-size:14px;font-weight:600}
.mixing-page .resource-cta i{transition:transform .2s ease}
.mixing-page .resource-card:hover .resource-cta i{transform:translateX(4px)}
.mixing-page{--green:#22c55e;--yellow:#facc15;--red:#ef4444}
@media(max-width:760px){.mixing-page :is(.checker-heading-row,.selected-toolbar,.results-header){flex-direction:column;align-items:flex-start}.mixing-page :is(.result-card,.how-grid,.resource-grid){grid-template-columns:1fr}.mixing-page .legend-strip{grid-template-columns:1fr}.mixing-page .results-summary{text-align:left}}
.mixing-page :is(.checker-title,.results-title,.section-title,.callout-title,.resource-title){color:var(--text);font-size:24px;font-weight:700;line-height:1.5;letter-spacing:normal;margin:0}
.mixing-page .callout-title{display:flex;align-items:center;gap:12px}
.mixing-page .how-grid{gap:24px}
.mixing-page :is(.info-icon,.resource-icon){width:auto;height:auto;justify-content:flex-start;margin-bottom:12px}
.mixing-page .results-empty{border:0;background:none}
.mixing-page :is(.peptide-button,.selected-pill,.clear-button):focus-visible{outline:2px solid var(--cyan);outline-offset:3px}


/* Supplies: shared glass styling, product layout only. */
.supplies-page .category-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:24px}
.supplies-page .category-chip.active{color:#fff;background:rgba(56,189,248,.11);border-color:rgba(56,189,248,.27)}
.supplies-page .category-chip:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
:is(.supplies-page,.forum-page) .section-card{background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));box-shadow:none}
/* Anchor forum reading surfaces to the existing dark card base. */
.forum-page .section-card{background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52)),rgba(10,15,25,.75)}
:is(.supplies-page,.forum-page) .section-card::before{display:none}
.supplies-page .section-card[hidden]{display:none}
.supplies-page .section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.supplies-page .section-title{font-size:24px;font-weight:700;line-height:1.5;color:var(--text);letter-spacing:normal}
.supplies-page .section-copy{margin-top:8px;max-width:760px}
.supplies-page :is(.section-copy,.gear-description,.affiliate-disclosure){font-size:16px;font-weight:400;line-height:1.8;color:var(--muted)}
.supplies-page .section-count{flex-shrink:0;color:var(--muted);font-size:14px;line-height:1.5}
.supplies-page .gear-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}
.supplies-page .gear-card{display:flex;flex-direction:column;min-width:0;padding:24px;border-radius:24px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.09)}
.supplies-page .gear-image{display:flex;align-items:center;justify-content:center;height:190px;margin-bottom:20px;overflow:hidden;border-radius:18px;background:rgba(255,255,255,.035)}
.supplies-page .gear-image img{width:100%;height:100%;object-fit:contain;padding:12px}
.supplies-page .gear-name{font-size:16px;font-weight:600;line-height:1.5;color:var(--text)}
.supplies-page .gear-meta{margin-top:8px}
.supplies-page .gear-description{margin:16px 0}
@media(max-width:1000px){.supplies-page .gear-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.supplies-page .gear-grid{grid-template-columns:1fr}.supplies-page .section-heading{flex-direction:column;gap:12px}.supplies-page .gear-btn{width:100%}}

/* Restored pre-redesign result presentation */
.mixing-page .results-shell{margin-top:24px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08)}
.mixing-page .results-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}
.mixing-page .results-title{color:#fff;font-size:21px;font-weight:900;letter-spacing:-.025em}
.mixing-page .results-summary{color:#94a3b8;font-size:12px;font-weight:800;text-align:right}
.mixing-page .results-empty{padding:30px 20px;border-radius:22px;text-align:center;background:rgba(255,255,255,.025);border:1px dashed rgba(255,255,255,.10)}
.mixing-page .results-empty i{color:#64748b;font-size:24px;margin-bottom:12px}
.mixing-page .results-empty strong{display:block;color:#e2e8f0;font-size:15px}
.mixing-page .results-empty span{display:block;color:#64748b;font-size:13px;line-height:1.55;margin-top:5px}
.mixing-page .result-list{display:grid;gap:11px}
.mixing-page .result-card{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:18px;align-items:center;padding:17px 18px;border-radius:20px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}
.mixing-page .result-pair{display:flex;align-items:center;gap:9px;min-width:0;color:#f8fafc;font-size:13px;font-weight:900}
.mixing-page .result-pair span{min-width:0;overflow-wrap:anywhere}
.mixing-page .result-plus{color:#64748b;font-weight:700}
.mixing-page .result-detail{display:flex;align-items:center;gap:13px;min-width:0}
.mixing-page .status-badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border-radius:12px;font-size:11px;font-weight:900;white-space:nowrap}
.mixing-page .status-copy{color:#94a3b8;font-size:12px;line-height:1.5}
.mixing-page .status-clinic{color:#bbf7d0;background:rgba(34,197,94,.11);border:1px solid rgba(34,197,94,.24)}
.mixing-page .status-can{color:#bae6fd;background:rgba(56,189,248,.11);border:1px solid rgba(56,189,248,.24)}
.mixing-page .status-dont{color:#fde68a;background:rgba(250,204,21,.10);border:1px solid rgba(250,204,21,.23)}
.mixing-page .status-avoid{color:#fecaca;background:rgba(239,68,68,.11);border:1px solid rgba(239,68,68,.26)}
.mixing-page .status-unknown{color:#cbd5e1;background:rgba(148,163,184,.08);border:1px solid rgba(148,163,184,.18)}
.mixing-page .results-header{align-items:flex-start;flex-direction:column}
.mixing-page .result-card{grid-template-columns:1fr;gap:11px}
.mixing-page .results-summary{text-align:left}
@media(max-width:760px){.mixing-page .result-card{grid-template-columns:1fr;gap:11px}.mixing-page .results-header{align-items:flex-start;flex-direction:column}.mixing-page .results-summary{text-align:left}}

/* Restored pre-redesign result presentation */
.mixing-page .results-shell{margin-top:24px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08)}
.mixing-page .results-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}
.mixing-page .results-title{color:#fff;font-size:21px;font-weight:900;letter-spacing:-.025em}
.mixing-page .results-summary{color:#94a3b8;font-size:12px;font-weight:800;text-align:right}
.mixing-page .results-empty{padding:30px 20px;border-radius:22px;text-align:center;background:rgba(255,255,255,.025);border:1px dashed rgba(255,255,255,.10)}
.mixing-page .results-empty i{color:#64748b;font-size:24px;margin-bottom:12px}
.mixing-page .results-empty strong{display:block;color:#e2e8f0;font-size:15px}
.mixing-page .results-empty span{display:block;color:#64748b;font-size:13px;line-height:1.55;margin-top:5px}
.mixing-page .result-list{display:grid;gap:11px}
.mixing-page .result-card{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:18px;align-items:center;padding:17px 18px;border-radius:20px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}
.mixing-page .result-pair{display:flex;align-items:center;gap:9px;min-width:0;color:#f8fafc;font-size:13px;font-weight:900}
.mixing-page .result-pair span{min-width:0;overflow-wrap:anywhere}
.mixing-page .result-plus{color:#64748b;font-weight:700}
.mixing-page .result-detail{display:flex;align-items:center;gap:13px;min-width:0}
.mixing-page .status-badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border-radius:12px;font-size:11px;font-weight:900;white-space:nowrap}
.mixing-page .status-copy{color:#94a3b8;font-size:12px;line-height:1.5}
.mixing-page .status-clinic{color:#bbf7d0;background:rgba(34,197,94,.11);border:1px solid rgba(34,197,94,.24)}
.mixing-page .status-can{color:#bae6fd;background:rgba(56,189,248,.11);border:1px solid rgba(56,189,248,.24)}
.mixing-page .status-dont{color:#fde68a;background:rgba(250,204,21,.10);border:1px solid rgba(250,204,21,.23)}
.mixing-page .status-avoid{color:#fecaca;background:rgba(239,68,68,.11);border:1px solid rgba(239,68,68,.26)}
.mixing-page .status-unknown{color:#cbd5e1;background:rgba(148,163,184,.08);border:1px solid rgba(148,163,184,.18)}
.mixing-page .results-header{align-items:flex-start;flex-direction:column}
.mixing-page .result-card{grid-template-columns:1fr;gap:11px}
.mixing-page .results-summary{text-align:left}
@media(max-width:760px){.mixing-page .result-card{grid-template-columns:1fr;gap:11px}.mixing-page .results-header{align-items:flex-start;flex-direction:column}.mixing-page .results-summary{text-align:left}}
.mixing-page .result-detail{flex-wrap:nowrap}


body .journal-main [data-edit].planned{opacity:1}
body .journal-entry-metadata{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px;color:var(--text-secondary,#94a3b8);font-size:12px;line-height:1.5;font-weight:500}
body .journal-entry-metadata>span{display:inline-flex;align-items:center;gap:6px}

.supplies-page .gear-meta{font-size:14px;font-weight:400;line-height:1.5;color:var(--muted)}
.supplies-page .gear-actions{display:flex;align-items:center;margin-top:auto;padding-top:8px}
body .journal-main .entry-card .entry-date{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
body .journal-main .entry-card .entry-title{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
body .journal-main .entry-card .entry-dose{display:flex;flex-wrap:wrap;gap:4px 16px;text-align:left;font-weight:500}
body .journal-main .entry-card p:empty{display:none}


/* Journal: shared site styles, scoped to its page. */
:where(body.journal-page) *{box-sizing:border-box}body.journal-page{min-height:100vh}:where(body.journal-page) button:not(.site-button),:where(body.journal-page) input,:where(body.journal-page) select,:where(body.journal-page) textarea{font:inherit}:where(body.journal-page) button:not(.site-button),:where(body.journal-page) a{ -webkit-tap-highlight-color:transparent}:where(body.journal-page) :where(.journal-main,#editor) button:not(.site-button){cursor:pointer;color:inherit;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:10px 15px;transition:background .18s,border-color .18s,box-shadow .18s}:where(body.journal-page) :where(.journal-main,#editor) button:not(.site-button):hover{background:rgba(255,255,255,.1);border-color:rgba(155,175,220,.4)}:where(body.journal-page) :where(.journal-main,#editor) button:not(.site-button):focus-visible,:where(body.journal-page) a:focus-visible{outline:2px solid #7dd3fc;outline-offset:3px}:where(body.journal-page) .primary{border-radius:40px;background:linear-gradient(110deg,#8b46c6,#4266bb);font-weight:700;padding:14px 25px;border:1px solid #ffffff26;box-shadow:inset 0 1px 0 #ffffff20}:where(body.journal-page) .primary:hover{background:linear-gradient(110deg,#a056de,#5178d6);box-shadow:0 0 24px #8055ca30}:where(body.journal-page) main{max-width:1500px;padding-inline:40px;margin:auto}:where(body.journal-page) .page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}:where(body.journal-page) .eyebrow{font-size:11px;font-weight:800;letter-spacing:1.9px;color:#b5a2d6}:where(body.journal-page) .eyebrow span{margin-left:14px;font-size:9px;border:1px solid #ffffff20;border-radius:5px;padding:4px 6px;color:#a8a5b8}:where(body.journal-page) h1 em{font-style:normal;color:#8ed6ff}:where(body.journal-page) .page-heading p{color:#a2a5b9;margin:0;font-size:15px}:where(body.journal-page) .summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}:where(body.journal-page) .summary>div{display:flex;align-items:center;gap:13px;border:1px solid #ffffff10;background:#ffffff04;border-radius:17px;padding:18px 22px}:where(body.journal-page) .summary strong{font-size:23px;letter-spacing:-.6px}:where(body.journal-page) .summary span:not(.summary-icon){color:#a7aabd;font-size:13px}:where(body.journal-page) .summary-icon{color:#a5b8ef;font-size:23px;margin-right:4px}:where(body.journal-page) .workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}:where(body.journal-page) .panel{background:linear-gradient(120deg,rgba(66,51,84,.48),rgba(39,49,64,.48));border:1px solid #ffffff17;border-radius:25px;overflow:hidden}:where(body.journal-page) .calendar-toolbar{display:flex;justify-content:space-between;align-items:center;padding:25px 24px;gap:16px}:where(body.journal-page) .period{display:flex;align-items:center;gap:7px}:where(body.journal-page) :where(.journal-main,#editor) h2{font-size:20px;letter-spacing:-.5px;margin:0;font-weight:750}:where(body.journal-page) .period h2{margin-right:9px}:where(body.journal-page) .period button:not(.site-button){font-size:13px;padding:6px 9px}:where(body.journal-page) .segmented{display:flex;background:#090c172e;border:1px solid #ffffff0a;border-radius:12px;padding:4px}:where(body.journal-page) .segmented button:not(.site-button){border:0;background:none;font-size:12px;padding:8px 11px;color:#aaaec0;border-radius:8px}:where(body.journal-page) .segmented .selected{background:#a58ade2b;color:white;box-shadow:inset 0 0 0 1px #c2a6f42b}:where(body.journal-page) .calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:0 18px 18px;gap:4px}:where(body.journal-page) .weekday{color:#9298ae;font-size:10px;font-weight:800;letter-spacing:1px;padding:7px 8px 12px;text-align:center}:where(body.journal-page) .day{min-height:113px;background:rgba(255,255,255,.025);border:1px solid #ffffff08;border-radius:10px;padding:8px 5px;cursor:pointer}:where(body.journal-page) .day:hover{background:#ffffff06;border-color:#ffffff23}:where(body.journal-page) .day.outside{opacity:.28}:where(body.journal-page) .day.today{background:#8a5acf0b;border-color:#a68ae94a}:where(body.journal-page) .day-number{display:block;text-align:right;padding:1px 5px 7px;font-size:12px;color:#b1b6c9}:where(body.journal-page) .today .day-number{color:#d5bcff;font-weight:800}:where(body.journal-page) .event{display:block;width:100%;text-align:left;margin:3px 0;padding:5px 6px;font-size:10px;border:0;border-left:2px solid var(--accent);border-radius:4px;background:color-mix(in srgb,var(--accent) 10%,transparent);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:where(body.journal-page) .event b{font-weight:650}:where(body.journal-page) .event small{opacity:.65;font-size:9px}:where(body.journal-page) .calendar-footer{display:flex;align-items:center;gap:17px;border-top:1px solid #ffffff0b;margin:0 24px;padding:17px 0;font-size:10px;color:#a7acc1}:where(body.journal-page) .dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px;background:#bd93f0}:where(body.journal-page) .cyan{background:#78d3ed}:where(body.journal-page) .green{background:#7cd6b0}:where(body.journal-page) .hint{margin-left:auto;font-size:10px;color:#757e94}:where(body.journal-page) .recent{padding:25px 22px 14px}:where(body.journal-page) .recent-heading h2{margin:7px 0 21px}:where(body.journal-page) .recent-heading .eyebrow{font-size:9px}:where(body.journal-page) .search-wrap{display:flex;align-items:center;position:relative;margin-bottom:13px}:where(body.journal-page) .search-wrap>span{position:absolute;left:13px;font-size:24px;color:#919cb8}:where(body.journal-page) .search-wrap input{padding:12px 32px!important;font-size:13px;width:100%}:where(body.journal-page) .search-wrap button:not(.site-button){position:absolute;right:5px;border:0;background:none;padding:5px;font-size:19px}:where(body.journal-page) .entry-card{display:block;text-align:left;width:100%;border:1px solid transparent;background:transparent;border-radius:12px;padding:16px 10px;margin:2px 0}:where(body.journal-page) .entry-card:hover{background:rgba(255,255,255,.045);border-color:#98b5f340}:where(body.journal-page) .entry-date{font-size:10px;color:#8d98b1;letter-spacing:.4px;margin-bottom:9px}:where(body.journal-page) .entry-title{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:700}:where(body.journal-page) .entry-dose{font-size:12px;font-weight:600;color:var(--accent)}:where(body.journal-page) .entry-card p{font-size:12px;line-height:1.6;color:#a8aabd;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:where(body.journal-page) .entry-card+.entry-card{border-top-color:#ffffff0b}:where(body.journal-page) .entry-tag{display:inline-block;font-size:9px;background:#ffffff08;color:#c1b8d6;border-radius:5px;padding:4px 6px;margin-top:9px}:where(body.journal-page) .all-entries{width:100%;border:0;border-top:1px solid #ffffff14;background:none;border-radius:0;padding:17px 0 7px;font-size:12px;color:#bcc5df;text-align:left}:where(body.journal-page) .all-entries span{float:right}:where(body.journal-page) .list-view{padding:0 25px 20px;align-items:start;align-content:start}:where(body.journal-page) .list-view .entry-card{padding:18px}:where(body.journal-page) .empty{padding:60px 15px;text-align:center;color:#a7acc1}body.journal-page .calendar.week .day{min-height:0;height:auto}:where(body.journal-page) .journal-main footer{display:flex;justify-content:space-between;color:#727c95;font-size:11px;padding:28px 4px}:where(body.journal-page) dialog{width:600px;max-width:calc(100% - 28px);max-height:94vh;padding:0;color:#f5f4fa;border:1px solid #ffffff25;border-radius:26px;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));backdrop-filter:blur(24px);box-shadow:0 30px 120px #0008}:where(body.journal-page) dialog::backdrop{background:#080915a8;backdrop-filter:blur(7px)}:where(body.journal-page) .editor-heading{display:flex;align-items:center;justify-content:space-between;padding:27px 30px 22px;border-bottom:1px solid #ffffff10}:where(body.journal-page) .editor-heading h2{font-size:24px;margin:0;font-weight:700}:where(body.journal-page) .editor-heading .eyebrow{display:none}:where(body.journal-page) .close{font-size:26px;line-height:1;width:36px;height:36px;padding:0;border-radius:50%;color:#b9bfd0}:where(body.journal-page) .editor-body{padding:24px 30px}:where(body.journal-page) .section-label{font-size:10px;letter-spacing:1.5px;color:#a49ab7;font-weight:750;margin-bottom:17px}:where(body.journal-page) :where(.journal-main,#editor) :is(label,#entry-status-label){display:block;color:#c5c4d2;font-size:13px;font-weight:500}:where(body.journal-page) label input,:where(body.journal-page) label select,:where(body.journal-page) label textarea{display:block;width:100%;margin-top:8px}:where(body.journal-page) .glass-input{border-radius:12px!important;padding:12px 14px;color:#f1edf9;font-size:14px;border:1px solid #ffffff1a}:where(body.journal-page) .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:17px}:where(body.journal-page) .dose-control{display:flex;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.03);margin-top:8px;overflow:hidden}:where(body.journal-page) .dose-control:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px #818cf826}:where(body.journal-page) .dose-control input{border:0;background:none;margin:0;padding:12px 14px;color:white;outline:none;min-width:0}:where(body.journal-page) .dose-control select{width:75px;margin:0;border:0;border-left:1px solid #ffffff14;background:transparent;color:#a5cfef;padding:5px;outline:none}:where(body.journal-page) .observations{margin-top:25px;padding-top:22px;border-top:1px solid #ffffff10}:where(body.journal-page) :where(.journal-main,#editor) textarea{resize:vertical;line-height:1.7}:where(body.journal-page) .tag-label{font-size:12px;color:#aaaabe;margin:17px 0 10px}:where(body.journal-page) :where(.journal-main,#editor) small{color:#858ca5;font-weight:400}:where(body.journal-page) .tags{display:flex;gap:7px;flex-wrap:wrap}:where(body.journal-page) .tags button:not(.site-button){font-size:12px;padding:6px 10px;border-radius:999px;color:#cbd5e1}:where(body.journal-page) .tags .selected{background:#a880df26;border-color:#bb91f16b;color:#e8d8ff}:where(body.journal-page) .editor-footer{padding:18px 30px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff12;background:#ffffff02}:where(body.journal-page) .editor-footer>div{display:flex;gap:10px}:where(body.journal-page) .editor-footer button:not(.site-button){font-size:12px}:where(body.journal-page) .delete{color:#eaa4b2;border:0;background:none;padding-left:0}:where(body.journal-page) .editor-footer .primary{padding:12px 20px}:where(body.journal-page) #toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#333348;border:1px solid #ffffff25;padding:14px 22px;border-radius:12px;display:none;font-size:14px}:where(body.journal-page) :where(.journal-main,#editor) select option{background:#282638}:where(body.journal-page) #editor input{color-scheme:dark}:where(body.journal-page) [hidden]{display:none!important}@media(min-width:1450px){:where(body.journal-page) .day{min-height:127px}:where(body.journal-page) .event{font-size:12px}}@media(max-width:1100px){:where(body.journal-page) .workspace{grid-template-columns:minmax(0,1fr) 270px;gap:16px}:where(body.journal-page) .calendar-toolbar{flex-wrap:wrap}:where(body.journal-page) .summary>div{gap:8px;padding:16px}:where(body.journal-page) .summary span:not(.summary-icon){font-size:11px}:where(body.journal-page) main{padding-inline:22px}:where(body.journal-page) .hint{display:none}}@media(max-width:760px){:where(body.journal-page) .page-heading h1{font-size:30px}:where(body.journal-page) .page-heading p{font-size:12px}:where(body.journal-page) .page-heading .primary{padding:12px 15px;font-size:12px}:where(body.journal-page) .eyebrow span{display:none}:where(body.journal-page) .summary{gap:8px}:where(body.journal-page) .summary>div{flex-wrap:wrap;gap:7px;padding:13px}:where(body.journal-page) .summary-icon{display:none}:where(body.journal-page) .summary span:not(.summary-icon){width:100%;font-size:10px}:where(body.journal-page) .summary strong{font-size:20px}:where(body.journal-page) .workspace{display:block}:where(body.journal-page) .recent{margin-top:18px}:where(body.journal-page) .calendar-toolbar{padding:20px 16px}:where(body.journal-page) .calendar{padding:0 8px 10px;gap:2px}:where(body.journal-page) .day{min-height:85px;padding:5px 2px}:where(body.journal-page) .event{font-size:8px;padding:4px 2px}:where(body.journal-page) .event small{display:none}:where(body.journal-page) .calendar-footer{gap:12px;margin:0 14px}:where(body.journal-page) main{padding-inline:12px}:where(body.journal-page) .period h2{font-size:18px}:where(body.journal-page) .editor-body{padding:20px}:where(body.journal-page) .editor-heading{padding:22px 20px}:where(body.journal-page) .editor-footer{padding:16px 20px}:where(body.journal-page) .journal-main footer span{display:none}}
/* Match shared site treatments; keep draft-specific rules to layout. */
body.journal-page .primary{background:var(--primary-button-gradient);border:1px solid transparent;box-shadow:none}
body.journal-page .primary:hover{background:var(--primary-button-gradient-hover);box-shadow:0 0 20px rgba(125,211,252,.08);transform:none}
body.journal-page .glass-input{border-radius:18px!important;border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.03)}
body.journal-page .glass-input:focus{border-color:#7dd3fc;box-shadow:0 0 0 2px rgba(125,211,252,.16);outline:none}
body.journal-page .dose-control:focus-within{border-color:#7dd3fc;box-shadow:0 0 0 2px rgba(125,211,252,.16)}
body.journal-page .panel{background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));border:1px solid rgba(255,255,255,.08);border-radius:30px}
body.journal-page .page-heading p{font-size:16px}body.journal-page .eyebrow{font-size:12px}
body.journal-page .entry-card p,body.journal-page .entry-dose,body.journal-page .entry-date,body.journal-page .calendar-footer,body.journal-page .summary span:not(.summary-icon),body.journal-page .segmented button:not(.site-button){font-size:13px}
body.journal-page .event{font-size:12px}body.journal-page .entry-title{font-size:16px}
body.journal-page .journal-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 24px 18px}
body.journal-page .journal-actions button:not(.site-button){font-size:13px;border-radius:999px;background:rgba(255,255,255,.035)}
body.journal-page .workspace.recents-hidden{grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){body.journal-page .event{font-size:9px}body.journal-page .calendar-footer{font-size:11px}body.journal-page .journal-actions{padding:0 16px 16px}}
/* Explicit viewport centering, independent of the shared reset. */
html:has(body.journal-page) body dialog#editor{position:fixed;inset:0;margin:auto;width:600px;height:fit-content;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);overflow-y:auto}
body.journal-page .schedule-panel{border-top:1px solid #ffffff12;margin-top:24px;padding-top:22px}
body.journal-page .duration{display:flex;align-items:center;gap:12px;margin-top:16px}body.journal-page .duration input{width:76px;margin:0}
body.journal-page #schedule-summary,body.journal-page .photo-help,body.journal-page #photo-message{font-size:12px;line-height:1.6;color:#aab4c8}
body.journal-page .weekdays-picker{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}
body.journal-page .weekdays-picker label{position:relative;cursor:pointer}body.journal-page .weekdays-picker input{position:absolute;opacity:0;width:1px;height:1px}
body.journal-page .weekdays-picker span{display:block;border:1px solid #ffffff20;border-radius:9px;padding:9px;font-size:12px}
body.journal-page .weekdays-picker input:checked+span{background:#ad89e633;border-color:#ad89e6}body.journal-page .weekdays-picker input:focus-visible+span{outline:2px solid #7dd3fc}
body.journal-page .photo-panel{margin-top:24px;border-top:1px solid #ffffff14;padding-top:20px}body.journal-page .photo-panel summary{cursor:pointer;font-size:14px;font-weight:600;margin-bottom:16px}
body.journal-page .photo-actions{display:flex;gap:10px;margin-top:14px}body.journal-page .photo-actions button:not(.site-button){font-size:13px}
body.journal-page .site-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}body.journal-page .site-photos figure{margin:10px 0}
body.journal-page .site-photos figcaption{font-size:11px;color:#aab4c8;margin-bottom:8px;line-height:1.5}body.journal-page .photo-marker{position:relative}
body.journal-page .photo-marker img{display:block;width:100%;height:auto;border-radius:12px}body.journal-page #site-image{cursor:crosshair}
body.journal-page .photo-marker span{position:absolute;width:10px;height:10px;border:1.5px solid white;border-radius:50%;background:#a855f780;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #161121;pointer-events:none}
body.journal-page #remove-photo{font-size:11px;margin-top:8px;padding:5px 9px}body.journal-page #duplicate:not(.site-button){font-size:12px;padding:9px}
body.journal-page .editor-footer{flex-wrap:wrap;gap:10px;position:sticky;bottom:0;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));backdrop-filter:blur(24px)}body.journal-page .editor-footer>div{margin-left:auto}
body.journal-page .planned{border-style:dashed;opacity:.8}body.journal-page .planned-label{display:block;font-size:9px;line-height:1.4;color:#b8bad0;margin-top:3px}
body.journal-page .journal-actions{flex-wrap:wrap}body.journal-page .event{white-space:normal}body.journal-page .day{min-height:113px}
/* Journal uses the same hero primitives and neutral controls as internal pages. */
body.journal-page .journal-primary-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:22px}
body.journal-page .journal-primary-actions>button:not(.site-button):not(.primary){border-radius:999px;font-size:14px}
body.journal-page .journal-actions button:not(.site-button){display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:13px;color:#fff}
body.journal-page .journal-actions button:not(.site-button)[aria-expanded="true"]{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.25)}
body.journal-page .event{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);color:#fff}
body.journal-page .event.planned{border-style:dashed;opacity:1;color:#c4c9d5;background:rgba(255,255,255,.02)}
body.journal-page .entry-dose{color:#fff}body.journal-page .entry-title .dot{display:none}
body.journal-page .event:hover{background:rgba(255,255,255,.09);border-color:rgba(125,211,252,.4)}
@media(max-width:760px){body.journal-page .journal-primary-actions{justify-content:center;flex-wrap:wrap}}

:where(body.journal-page) #editor .editor-body>.section-label{display:none}:where(body.journal-page) #editor .observations+label{margin-top:22px}:where(body.journal-page) #editor .editor-heading{gap:10px}:where(body.journal-page) #editor .editor-heading>div:first-child{margin-right:auto}:where(body.journal-page) #editor #duplicate:not(.site-button){display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border-radius:50%}:where(body.journal-page) #editor .editor-heading h2{font-size:24px}:where(body.journal-page) #editor .editor-footer button:not(.site-button){font-size:13px}:where(body.journal-page) #editor .delete{font-size:12px!important}:where(body.journal-page) #editor .dose-control select{color:white}:where(body.journal-page) .time-badge{display:inline-block;border-radius:5px;padding:2px 5px;margin:3px 5px 3px 0;font-size:10px;font-weight:600}:where(body.journal-page) .time-badge.am{color:#f4d18b;background:#e9bb5f16}:where(body.journal-page) .time-badge.pm{color:#a6d3f7;background:#6ab5f016}
/* Consistent action sizing and compact two-line calendar entries. */
body.journal-page .journal-primary-actions>button:not(.site-button).primary{min-height:46px;padding:12px 22px;font-size:14px;font-weight:700;border-radius:999px;background:var(--primary-button-gradient);border:1px solid transparent}
body.journal-page .journal-primary-actions>button:not(.site-button).primary:hover{background:var(--primary-button-gradient-hover)}
body.journal-page .journal-actions button:not(.site-button),body.journal-page .journal-actions button:not(.site-button)[aria-expanded="true"]{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);color:#fff}
body.journal-page .journal-actions button:not(.site-button):hover{background:rgba(255,255,255,.08);border-color:rgba(125,211,252,.35)}
body.journal-page .journal-main button:not(.site-button).event{padding:9px 8px;border-radius:9px;line-height:1.3;text-align:left}
body.journal-page .event-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
body.journal-page .event-heading b{font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.journal-page .entry-status{font-size:11px;color:#94a3b8;flex-shrink:0}
body.journal-page .event-details{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:7px;flex-wrap:wrap}
body.journal-page .event-amount{font-size:12px;color:#e2e8f0;white-space:nowrap}
body.journal-page .event-amount>span{color:#94a3b8}
body.journal-page .event-time{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#94a3b8;white-space:nowrap}
body.journal-page .event-time .time-badge{font-size:9px;margin:0;padding:2px 4px;border-radius:4px}
body.journal-page .event[draggable="true"]{cursor:grab}body.journal-page .event.dragging{opacity:.4;cursor:grabbing}body.journal-page .day.drop-target{border-color:#7dd3fc;background:rgba(125,211,252,.08);box-shadow:inset 0 0 0 1px rgba(125,211,252,.3)}
body.journal-page .daily-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0 20px}body.journal-page .daily-heading h3{font-size:18px;font-weight:600}
/* Busy days expand over adjacent rows, never stretch the calendar grid. */
body.journal-page .calendar:not(.week){grid-auto-rows:140px;align-items:start;overflow:visible}
body.journal-page .calendar:not(.week) .weekday{align-self:center}
body.journal-page .calendar:not(.week){grid-template-rows:34px}
body.journal-page .calendar:not(.week) .day{position:relative;height:140px;min-height:0;width:100%;overflow:hidden}
body.journal-page .calendar:not(.week) .day:is(:hover,:focus-within){height:auto;min-height:140px;max-height:440px;overflow-y:auto;z-index:10;background:#252538;border-color:rgba(125,211,252,.45);box-shadow:0 14px 35px rgba(0,0,0,.4)}
body.journal-page .calendar-panel{overflow:visible}
/* Shared Font Awesome icons; no font-dependent symbol substitutes. */
:where(body.journal-page) .journal-main .summary-icon{display:inline-flex;width:22px;justify-content:center;font-size:18px;color:#94a3b8}
:where(body.journal-page) .journal-main .journal-actions i,:where(body.journal-page) #editor .close i,:where(body.journal-page) #editor #duplicate:not(.site-button) i{font-size:16px;color:inherit}
:where(body.journal-page) .journal-main .search-wrap>span{font-size:16px;top:50%;transform:translateY(-50%)}
:where(body.journal-page) .journal-main .primary i{font-size:14px;margin-right:6px}
:where(body.journal-page) .journal-main .entry-status i{font-size:11px}
:where(body.journal-page) .journal-main .calendar-footer i{margin-right:5px}
:where(body.journal-page) #editor .close{font-size:16px}
/* Wider desktop editor, with related dose controls grouped together. */
html:has(body.journal-page) body dialog#editor{width:760px}
:where(body.journal-page) #editor .dose-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
:where(body.journal-page) #editor .dose-row:has(:where(#syringe-field[hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}
:where(body.journal-page) #editor .dose-row>label{min-width:0}
:where(body.journal-page) #editor #syringe-field>small:last-child{display:block;font-size:11px;line-height:1.4;margin-top:6px}
@media(max-width:600px){:where(body.journal-page) #editor .form-row,:where(body.journal-page) #editor .dose-row,:where(body.journal-page) #editor .dose-row:has(:where(#syringe-field[hidden])){grid-template-columns:1fr}}



:where(body.journal-page) #new-entry{margin-right:auto}
/* Stable hierarchy regardless of whether syringe units are recorded. */
body.journal-page .journal-main button.event{padding:10px 11px;border:1px solid rgba(255,255,255,.08);border-left:2px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.035)}
body.journal-page .journal-main button.event.entry-am{border-left-color:rgba(244,209,139,.55)}
body.journal-page .journal-main button.event.entry-pm{border-left-color:rgba(166,211,247,.55)}
body.journal-page .event-heading b{font-size:13px;line-height:1.4}
body.journal-page .event-details{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:7px}
body.journal-page .event-amount,body.journal-page .event-amount>span{font-size:12px;font-weight:500;color:#e2e8f0;line-height:1.4}
body.journal-page .event-amount{white-space:normal;overflow-wrap:normal}
body.journal-page .event-time{font-size:12px;line-height:1.4;color:#94a3b8;gap:6px}
body.journal-page .journal-main button.event.planned{border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed}
:where(body.journal-page) #editor button#delete:not(.site-button){display:inline-flex;align-items:center;gap:8px;color:#f0a0ad;background:rgba(244,63,94,.06);border:1px solid rgba(244,63,94,.2);border-radius:999px;padding:10px 14px;font-size:13px!important}
:where(body.journal-page) #editor button#delete:not(.site-button):hover{color:#fecdd3;background:rgba(244,63,94,.12);border-color:rgba(244,63,94,.4)}
:where(body.journal-page) #editor button#delete:not(.site-button):focus-visible{outline:2px solid #fda4af;outline-offset:3px}
:where(body.journal-page) #editor button#close:not(.site-button){display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;padding:0;line-height:1}
:where(body.journal-page) #editor button#close:not(.site-button) i{display:block;margin:0;font-size:16px;line-height:1}
:where(body.journal-page) #editor .schedule-panel>.form-row{margin-top:0;margin-bottom:18px}
:where(body.journal-page) #editor .editor-body{padding-bottom:32px}
:where(body.journal-page) #editor .photo-panel{scroll-margin-top:20px;scroll-margin-bottom:90px}
:where(body.journal-page) #editor #current-photo figcaption{font-size:14px;line-height:1.5;margin-bottom:10px;color:#cbd5e1}
:where(body.journal-page) #editor #current-photo .photo-marker{position:relative}
:where(body.journal-page) #editor #current-photo button#remove-photo{position:absolute;top:8px;right:8px;z-index:2;margin:0;width:44px;height:44px;min-height:44px;padding:0;font-size:16px;color:var(--color-danger,#f87171);background:rgba(15,23,42,.92);border:1px solid rgba(248,113,113,.4);box-shadow:none}
:where(body.journal-page) #editor .photo-edit-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}
:where(body.journal-page) #editor .site-photos{grid-template-columns:minmax(0,1fr)}
:where(body.journal-page) #editor #current-photo{max-width:520px}
:where(body.journal-page) #editor .photo-edit-toolbar .site-button{height:36px;min-height:36px;padding:0 12px;font-size:12px;gap:7px}
:where(body.journal-page) #editor #current-photo .photo-marker{width:fit-content;max-width:100%;margin:auto}
:where(body.journal-page) #editor #current-photo #site-image{width:auto;max-width:100%;max-height:420px;height:auto}
:where(body.journal-page) #editor #current-photo .photo-edit-hint{font-size:12px;line-height:1.5;color:#aab4c8;margin:12px 0 0}
:where(body.journal-page) #editor #photo-message:empty{display:none}
:where(body.journal-page) #editor #photo-message{font-size:14px;line-height:1.5}
:where(body.journal-page) #editor .workflow-section details{border-top:1px solid rgba(255,255,255,.12);margin-top:20px;padding-top:18px}
:where(body.journal-page) #editor .workflow-section summary{font-size:14px;font-weight:600;cursor:pointer;margin-bottom:14px}
:where(body.journal-page) #editor .workflow-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
:where(body.journal-page) #editor .workflow-section .site-button{margin-top:12px}
:where(body.journal-page) #editor .workflow-note,:where(body.journal-page) #editor .site-history p{font-size:14px;color:#94a3b8;line-height:1.6}
:where(body.journal-page) #editor .site-history h3{font-size:14px;margin-top:18px}
:where(body.journal-page) #editor .history-item{padding:12px 0;border-bottom:1px solid #ffffff12}
:where(body.journal-page) #editor .history-item img{max-width:200px;border-radius:12px;margin:8px 0}
:where(body.journal-page) .journal-main .inactive-entry{opacity:.6}
:where(body.journal-page) #editor #vial-feedback{font-size:14px;line-height:1.5;color:#cbd5e1;margin-top:10px}
:where(body.journal-page) #editor #vial-feedback:empty{display:none}
:where(body.journal-page) #editor #save-vial:disabled{cursor:default;opacity:1}
:where(body.journal-page) #vial-inventory{position:fixed;inset:0;margin:auto;padding:0;width:760px;max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;border:1px solid #ffffff20;border-radius:30px;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));backdrop-filter:blur(24px);color:white}
:where(body.journal-page) #vial-inventory::backdrop{background:rgba(8,11,22,.7);backdrop-filter:blur(6px)}
:where(body.journal-page) .inventory-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid #ffffff14}:where(body.journal-page) .inventory-heading h2{font-size:24px;font-weight:700}
:where(body.journal-page) .inventory-body{padding:24px 26px}:where(body.journal-page) .inventory-body label{display:block;font-size:14px;color:#cbd5e1}:where(body.journal-page) .inventory-body .glass-input{display:block;width:100%;padding:12px 14px;margin-top:8px;font-size:14px}:where(body.journal-page) .inventory-body h3{font-size:16px;margin:22px 0 12px}:where(body.journal-page) .inventory-body .diluent-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end;margin:12px 0}:where(body.journal-page) .inventory-body>.site-button{margin:16px 0}:where(body.journal-page) .inventory-body select option{background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));backdrop-filter:blur(24px)}:where(body.journal-page) .inventory-body #vial-feedback{font-size:14px;margin-top:12px}
@media(max-width:600px){:where(body.journal-page) .inventory-body .diluent-row,:where(body.journal-page) .inventory-body .form-row{grid-template-columns:1fr}}
body.journal-page .journal-actions #new-entry{margin-right:0}
body.journal-page .journal-actions #inventory-open{margin-right:auto}
:where(body.journal-page) .inventory-workspace{border:1px solid #ffffff14;border-radius:30px;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));animation:journal-panel-enter .24s ease-out}
@keyframes journal-panel-enter{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}
:where(body.journal-page) .inventory-workspace .inventory-heading{gap:16px;flex-wrap:wrap}:where(body.journal-page) .inventory-list-body{padding:24px}:where(body.journal-page) .inventory-list-body>input{width:100%;padding:14px 18px;margin-bottom:20px}
:where(body.journal-page) .inventory-compound{border:1px solid #ffffff14;border-radius:18px;margin:12px 0;padding:18px}:where(body.journal-page) .inventory-compound summary{display:flex;justify-content:space-between;cursor:pointer;gap:16px}:where(body.journal-page) .inventory-compound p{color:#94a3b8;font-size:14px;margin-top:8px}
:where(body.journal-page) .inventory-vial{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid #ffffff12;margin-top:14px}:where(body.journal-page) .inventory-vial-actions{display:flex;align-items:center;gap:8px}
:where(body.journal-page) #inventory-calculator{display:block;width:100%;height:760px;border:0}:where(body.journal-page) #recon-vial-name,:where(body.journal-page) #recon-feedback{padding:12px 24px;font-size:14px;color:#cbd5e1}
@media(prefers-reduced-motion:reduce){:where(body.journal-page) .inventory-workspace{animation:none}}
@media(max-width:600px){:where(body.journal-page) .inventory-vial{flex-direction:column}:where(body.journal-page) .inventory-heading{padding:18px}:where(body.journal-page) .inventory-list-body{padding:14px}}
:where(body.journal-page) #editor .reminder-settings .workflow-note{margin:0 0 18px;font-size:14px;line-height:1.5}
:where(body.journal-page) #editor .reminder-extras{display:grid;gap:18px;margin-top:20px}
:where(body.journal-page) #editor .reminder-extras .form-row{margin-top:-8px}
:where(body.journal-page) #editor .reminder-extras>label{margin:0}
:where(body.journal-page) #editor .entry-secondary-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
:where(body.journal-page) #vial-inventory input{color-scheme:dark}
:where(body.journal-page) #vial-inventory .inventory-field{margin-top:18px}
:where(body.journal-page) #vial-inventory #add-diluent{margin:4px 0 6px}
:where(body.journal-page) #vial-inventory .inventory-save-row{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);margin-top:24px;padding-top:20px}
:where(body.journal-page) #vial-inventory .inventory-save-row #vial-feedback{margin:0;order:-1;margin-right:auto}
:where(body.journal-page) #vial-inventory .inventory-body h3{font-weight:700}
:where(body.journal-page) .bottle-dialog{position:fixed;inset:0;margin:auto;padding:0;width:760px;max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;border:1px solid #ffffff20;border-radius:30px;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));backdrop-filter:blur(24px);color:white}
:where(body.journal-page) .bottle-dialog::backdrop{background:rgba(8,11,22,.7);backdrop-filter:blur(6px)}
:where(body.journal-page) .bottle-dialog input{color-scheme:dark}
:where(body.journal-page) .bottle-save{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-top:20px;border-top:1px solid #ffffff20}
:where(body.journal-page) .bottle-save p{font-size:14px}:where(body.journal-page) .bottle-warning{color:#f4c76c!important}
:where(body.journal-page) .bottle-dialog .inventory-body{display:grid;gap:20px}
:where(body.journal-page) .bottle-dialog .inventory-body .form-row{margin:0;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
:where(body.journal-page) .bottle-dialog .inventory-body label{min-width:0;font-weight:500}
:where(body.journal-page) .bottle-dialog .inventory-body small{font-size:12px;color:#94a3b8;font-weight:400}
:where(body.journal-page) .bottle-dialog .workflow-note{margin:8px 0 0;font-size:12px;line-height:1.5;color:#94a3b8;font-weight:400}
:where(body.journal-page) .bottle-dialog .inventory-heading h2{margin:0}
:where(body.journal-page) .bottle-dialog .bottle-save{margin:0;padding:20px 26px;gap:20px}
:where(body.journal-page) .bottle-dialog .bottle-save p{margin:0;line-height:1.5}
:where(body.journal-page) .bottle-footer-actions{display:flex;gap:10px;margin-left:auto;flex-shrink:0}
@media(max-width:600px){:where(body.journal-page) .bottle-dialog .inventory-body .form-row{grid-template-columns:1fr}:where(body.journal-page) .bottle-dialog .inventory-body{padding:20px}:where(body.journal-page) .bottle-dialog .bottle-save{padding:18px 20px;flex-wrap:wrap}}
:where(body.journal-page) .inventory-body .diluent-row .bottle-link{grid-column:1/-1}
:where(body.journal-page) .inventory-workspace>.inventory-heading{justify-content:flex-start}
:where(body.journal-page) .inventory-workspace>.inventory-main-heading{display:grid;grid-template-columns:1fr auto 1fr}
:where(body.journal-page) .inventory-main-heading>#back-journal{justify-self:start}
:where(body.journal-page) .inventory-main-heading>h2{grid-column:2;text-align:center;margin:0}
:where(body.journal-page) .inventory-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 16px}
:where(body.journal-page) .inventory-section-heading h2,:where(body.journal-page) .inventory-section-heading h3{margin:0;font-size:18px;font-weight:700}
:where(body.journal-page) .inventory-bottles-section{margin-top:28px;padding-top:24px;border-top:1px solid #ffffff14}
:where(body.journal-page) .inventory-compound summary{align-items:center}
:where(body.journal-page) .inventory-compound summary>span{margin-left:auto;color:#94a3b8;font-size:14px}
:where(body.journal-page) .inventory-compound summary>i{font-size:12px;color:#94a3b8;transition:transform .15s}
:where(body.journal-page) .inventory-compound[open] summary>i{transform:rotate(180deg)}
:where(body.journal-page) .inventory-compound summary::-webkit-details-marker{display:none}
:where(body.journal-page) .inventory-vial{align-items:center}
:where(body.journal-page) .inventory-vial>.site-button{flex-shrink:0;align-self:center}
:where(body.journal-page) .bottle-card{margin:0;padding:18px;border:1px solid #ffffff14;border-radius:18px}
:where(body.journal-page) .bottle-card+.bottle-card{margin-top:12px}
:where(body.journal-page) .bottle-description>p{font-size:14px;color:#94a3b8;margin:6px 0 0}
:where(body.journal-page) .bottle-facts{display:flex;flex-wrap:wrap;gap:16px 32px;margin:18px 0 0}
:where(body.journal-page) .bottle-facts dt{font-size:12px;color:#94a3b8;margin-bottom:4px}
:where(body.journal-page) .bottle-facts dd{font-size:14px;margin:0;color:#e2e8f0}
:where(body.journal-page) .vial-description,:where(body.journal-page) .bottle-description{flex:1;min-width:0}
:where(body.journal-page) #recent-entries.search-results{max-height:65vh;overflow-y:auto;scrollbar-gutter:stable}
:where(body.journal-page) #search-count{font-size:12px;color:#94a3b8;margin:0 0 12px}
:where(body.journal-page) #toast{color:#fff;font-weight:600;line-height:1.5;border:1px solid transparent;background:linear-gradient(115deg,#482569,#173d66) padding-box,linear-gradient(90deg,var(--purple,#a855f7),var(--blue,#3b82f6),var(--cyan,#38bdf8)) border-box;box-shadow:0 0 20px rgba(168,85,247,.4),0 0 35px rgba(59,130,246,.25),0 12px 32px #0006;max-width:calc(100vw - 32px);width:max-content;z-index:10000}
:where(body.journal-page) .search-entry-status{display:block;font-size:11px;color:#94a3b8;margin-top:8px;text-transform:capitalize}
:where(body.journal-page) .assigned-vial-summary{margin:16px 0;padding:16px;border:1px solid #ffffff14;border-radius:12px}
:where(body.journal-page) #editor .duration #duration-unit{width:auto;min-width:100px;margin:0}
:where(body.journal-page) .assigned-vial-summary .bottle-facts{margin:0}
:where(body.journal-page) .assigned-vial-summary p,:where(body.journal-page) .vial-linked-history p{font-size:13px;line-height:1.5;color:#94a3b8;margin:12px 0}
:where(body.journal-page) .assigned-vial-summary [role="alert"]{color:#f4c76c}
:where(body.journal-page) .vial-linked-history{margin-top:16px}:where(body.journal-page) .vial-linked-history summary{font-size:13px;color:#cbd5e1;cursor:pointer}
:where(body.journal-page) .vial-record-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
:where(body.journal-page) .inventory-status[data-status="unopened"]{color:#a5cfef;background:rgba(59,130,246,.10);border-color:rgba(59,130,246,.25)}
:where(body.journal-page) .inventory-status[data-status="in-use"]{color:#a7e0c2;background:rgba(34,197,94,.10);border-color:rgba(34,197,94,.25)}
:where(body.journal-page) .inventory-status[data-status="reconstituted"]{color:#d5b7f3;background:rgba(168,85,247,.10);border-color:rgba(168,85,247,.25)}
:where(body.journal-page) .inventory-status{font-size:12px;font-weight:500;color:#cbd5e1;border:1px solid #ffffff14;background:#ffffff05;border-radius:6px;padding:3px 8px}
:where(body.journal-page) .inventory-compound .inventory-vial{padding:20px 0;margin-top:18px}
:where(body.journal-page) .inventory-compound .inventory-vial:last-child{padding-bottom:2px}
:where(body.journal-page) .inventory-vial .bottle-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:16px 24px;max-width:760px}
:where(body.journal-page) .inventory-vial .bottle-facts dd{overflow-wrap:anywhere;line-height:1.5}
:where(body.journal-page) .inventory-vial-actions{flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}
:where(body.journal-page) .production-export{width:min(560px,calc(100vw - 32px));padding:24px}
:where(body.journal-page) .production-export header{display:flex;align-items:center;justify-content:space-between;gap:16px}
:where(body.journal-page) .production-export h2{margin:0;font-size:1.35rem}
:where(body.journal-page) .production-export p{margin:20px 0;line-height:1.5}
:where(body.journal-page) .production-export-actions{display:flex;flex-wrap:wrap;gap:12px}
:where(body.journal-page) .production-export #export-status:empty{display:none}
:where(body.journal-page) .compound-picker{position:relative;min-width:0}
:where(body.journal-page) #editor .entry-completion{display:flex;align-items:center;gap:12px;margin-bottom:20px;padding:12px 14px;border:1px solid #ffffff20;border-radius:12px}
:where(body.journal-page) #editor .entry-completion input{width:20px;height:20px;margin:0;accent-color:#9cceba;flex-shrink:0}
:where(body.journal-page) #editor .entry-completion small{display:block;font-size:12px;color:#aab4c8;font-weight:400;margin-top:3px}
:where(body.journal-page) .vial-quantity-control{display:flex;align-items:center;border:1px solid #ffffff26;border-radius:12px;overflow:hidden;height:44px}
body.journal-page .vial-quantity-control button{border:0;border-radius:0;padding:0;width:40px;height:42px;background:transparent;font-size:22px;color:inherit;cursor:pointer}
body.journal-page .vial-quantity-control button:disabled{opacity:.35;cursor:default}
body.journal-page .vial-quantity-control input{width:48px;padding:0;margin:0;border:0;background:transparent;text-align:center;appearance:textfield;color:inherit;height:40px}
:where(body.journal-page) .vial-quantity-control input::-webkit-inner-spin-button{appearance:none}
:where(body.journal-page) #vial-quantity-field{margin-top:16px}
:where(body.journal-page) .compound-suggestions{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 6px);max-height:220px;overflow-y:auto;overscroll-behavior:contain;background:#29283e;border:1px solid #ffffff26;border-radius:12px;padding:6px;box-shadow:0 12px 28px #0005}
:where(body.journal-page) .compound-suggestions [role=option]{padding:9px 12px;border-radius:8px;font-size:14px;cursor:pointer}
:where(body.journal-page) .compound-suggestions [role=option]:hover,:where(body.journal-page) .compound-suggestions [aria-selected=true]{background:#b68be82b;color:#fff}
:where(body.journal-page) .photo-zoom-dialog{margin:auto;width:min(900px,calc(100vw - 24px));max-height:94dvh;padding:20px;overflow:auto}
:where(body.journal-page) .photo-zoom-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
:where(body.journal-page) .photo-zoom-dialog h2{margin:0;font-size:1.25rem}
:where(body.journal-page) .photo-zoom-viewport{height:min(58dvh,520px);position:relative;overflow:hidden;background:#10111c;border-radius:12px;touch-action:none;cursor:grab}
:where(body.journal-page) .photo-zoom-viewport:active{cursor:grabbing}
:where(body.journal-page) .photo-zoom-plane{position:absolute;left:50%;top:50%;transform-origin:center}
:where(body.journal-page) .photo-zoom-plane img{width:100%;height:100%;display:block;user-select:none}
:where(body.journal-page) .photo-zoom-dialog .photo-zoom-marker{position:absolute;width:28px;height:28px;padding:0;border:0;background:transparent;cursor:move;touch-action:none}
:where(body.journal-page) .photo-zoom-marker::after{content:'';position:absolute;left:9px;top:9px;width:10px;height:10px;border:1.5px solid white;border-radius:50%;background:#a855f780;box-shadow:0 0 0 1px #161121}
:where(body.journal-page) .photo-zoom-marker:focus-visible{outline:2px solid #7dd3fc;border-radius:50%}
:where(body.journal-page) .photo-zoom-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px}
:where(body.journal-page) .photo-zoom-controls label{display:flex;align-items:center;gap:12px;flex:1;min-width:180px}
:where(body.journal-page) .photo-zoom-controls input{width:100%;accent-color:#b68be8}
:where(body.journal-page) .photo-zoom-controls output{min-width:36px}
:where(body.journal-page) .photo-zoom-dialog>p{font-size:13px;color:#aab4c8;margin:12px 0 0}
@media(max-width:850px){:where(body.journal-page) .inventory-compound .inventory-vial{flex-direction:column;align-items:stretch}:where(body.journal-page) .inventory-vial-actions{justify-content:flex-start}}
@media(max-width:600px){:where(body.journal-page) .inventory-vial{align-items:stretch}:where(body.journal-page) .inventory-vial>.site-button{align-self:flex-start}:where(body.journal-page) .inventory-section-heading{flex-wrap:wrap}:where(body.journal-page) .bottle-facts{gap:16px 24px}}

:where(body.journal-page) .site-button-danger{color:#f0a0ad;border-color:rgba(244,63,94,.2);background:rgba(244,63,94,.06)}
:where(body.journal-page) .site-button-danger:hover,:where(body.journal-page) .site-button-danger:focus-visible{color:#fecdd3;border-color:rgba(244,63,94,.4);background:rgba(244,63,94,.12);animation:none}
:where(body.journal-page) .site-button-icon{width:44px;height:44px;padding:0;flex-shrink:0}
:where(body.journal-page) .site-button-icon i{margin:0;line-height:1;font-size:16px}
/* Signed-out landing: surfaces from the redesigned library and 5-Amino hero.
   Everything is scoped here; the signed-in journal and shared site remain untouched. */
:where(body.journal-page) .journal-landing[hidden],:where(body.journal-page) .journal-main[hidden]{display:none!important}
:where(body.journal-page) .journal-landing{max-width:1344px;padding:48px 32px 72px;margin:auto}
:where(body.journal-page) .journal-landing .jl-glass{border:1px solid rgba(255,255,255,.08);border-radius:34px;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));box-shadow:0 20px 70px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(24px)}
:where(body.journal-page) .jl-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px 42px;padding:42px;align-items:center}
:where(body.journal-page) .journal-landing h1{margin:0;color:#f8fafc;font-size:clamp(44px,5vw,68px);line-height:.98;letter-spacing:-.06em;font-weight:900}
:where(body.journal-page) .journal-landing h1 span{color:var(--cyan)}
:where(body.journal-page) .journal-landing .jl-intro{font-size:20px;line-height:1.5;color:#cbd5e1;margin:24px 0 12px;max-width:530px}
:where(body.journal-page) .journal-landing p{color:#98a2b3;line-height:1.7}
:where(body.journal-page) .jl-description{font-size:15px;max-width:530px}
:where(body.journal-page) .jl-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
:where(body.journal-page) .journal-landing .jl-caption{font-size:12px;line-height:1.6;color:#98a2b3;margin-top:18px}
:where(body.journal-page) .jl-preview{background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));border:1px solid rgba(255,255,255,.09);border-radius:26px;padding:24px}
:where(body.journal-page) .jl-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
:where(body.journal-page) .jl-preview-heading strong{font-size:17px;letter-spacing:-.025em}
:where(body.journal-page) .jl-preview-heading>span{font-size:11px;color:#94a3b8}
:where(body.journal-page) .jl-calendar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
:where(body.journal-page) .jl-sample{min-width:0;padding:12px 9px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);border-radius:14px}
:where(body.journal-page) .jl-day{display:flex;align-items:center;justify-content:space-between;color:#94a3b8;font-size:9px;letter-spacing:.06em;margin-bottom:18px}
:where(body.journal-page) .jl-day b{font-size:15px;font-weight:600;color:#cbd5e1}
:where(body.journal-page) .jl-sample>div{border-left:2px solid #bca0dd;padding-left:8px}
:where(body.journal-page) .jl-sample strong{font-size:12px;overflow-wrap:anywhere}
:where(body.journal-page) .jl-sample small{display:block;font-size:10px;color:#94a3b8;margin:7px 0 12px}
:where(body.journal-page) .jl-state{display:inline-flex;align-items:center;gap:4px;font-size:9px;border-radius:6px;padding:4px 6px;color:#a7f3d0;background:rgba(52,211,153,.08);border:1px solid rgba(52,211,153,.2)}
:where(body.journal-page) .jl-planned{color:#bae6fd;background:rgba(56,189,248,.08);border-color:rgba(56,189,248,.2)}
:where(body.journal-page) .jl-inventory-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.08);font-size:12px}
:where(body.journal-page) .jl-inventory-preview i{color:#7dd3fc;margin-right:7px}
:where(body.journal-page) .jl-inventory-preview strong,:where(body.journal-page) .jl-inventory-preview span{display:block}
:where(body.journal-page) .jl-inventory-preview span{font-size:10px;color:#94a3b8;margin-top:4px}
:where(body.journal-page) .jl-section-links{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08)}
:where(body.journal-page) .jl-section-links a{display:inline-flex;align-items:center;gap:9px;padding:10px 16px;border:1px solid rgba(255,255,255,.08);border-radius:14px;color:#cbd5e1;background:rgba(255,255,255,.025);font-size:12px;font-weight:600;text-decoration:none}
:where(body.journal-page) .jl-section-links a:hover{border-color:rgba(125,211,252,.4);background:rgba(255,255,255,.05)}
:where(body.journal-page) .jl-section-links i{color:#7dd3fc}
:where(body.journal-page) .jl-features{padding-top:54px;scroll-margin-top:110px}
:where(body.journal-page) .journal-landing h2{font-size:32px;line-height:1.2;font-weight:800;letter-spacing:-.035em;color:#f8fafc;margin:0 0 14px}
:where(body.journal-page) .jl-section-heading{margin-bottom:28px;padding:0 6px}
:where(body.journal-page) .jl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
:where(body.journal-page) .jl-feature{padding:28px;border-radius:24px;background:linear-gradient(135deg,rgba(76,60,99,.30),rgba(36,47,67,.52));border:1px solid rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.03);scroll-margin-top:110px}
:where(body.journal-page) .jl-feature h3{font-size:20px;font-weight:700;line-height:1.3;color:#f8fafc;margin:16px 0 10px;letter-spacing:-.025em}
:where(body.journal-page) .jl-feature p{font-size:15px}
:where(body.journal-page) .jl-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:13px;color:#7dd3fc;background:rgba(56,189,248,.09);border:1px solid rgba(56,189,248,.18);font-size:18px}
:where(body.journal-page) .jl-start{margin-top:36px;padding:34px;text-align:center}
:where(body.journal-page) .jl-start>p{max-width:800px;margin-left:auto;margin-right:auto}
:where(body.journal-page) .jl-start .jl-actions{flex-direction:column;align-items:center}
:where(body.journal-page) #jl-start-title{scroll-margin-top:110px}
@media(max-width:1000px){:where(body.journal-page) .jl-hero{grid-template-columns:1fr}:where(body.journal-page) .jl-preview{max-width:650px;width:100%}:where(body.journal-page) .jl-hero-copy{max-width:760px}}
@media(max-width:600px){:where(body.journal-page) .journal-landing{padding:28px 16px 48px}:where(body.journal-page) .jl-hero{padding:24px 20px;border-radius:26px;gap:26px}:where(body.journal-page) .jl-grid{grid-template-columns:1fr}:where(body.journal-page) .jl-feature,:where(body.journal-page) .jl-start{padding:24px}:where(body.journal-page) .jl-preview{padding:16px}:where(body.journal-page) .journal-landing h2{font-size:27px}:where(body.journal-page) .jl-actions .site-button{width:100%}:where(body.journal-page) .jl-section-links{display:grid;grid-template-columns:1fr 1fr}:where(body.journal-page) .jl-section-links a{padding:10px;font-size:11px}:where(body.journal-page) .jl-inventory-preview{gap:8px;font-size:11px}:where(body.journal-page) .jl-sample{padding:10px 6px}}
:where(body.journal-page) .jl-opening{text-align:center;padding:16px 0 38px;max-width:940px;margin:auto}
:where(body.journal-page) .jl-opening .jl-intro{max-width:760px;margin:22px auto 0}
:where(body.journal-page) .jl-opening .jl-actions{justify-content:center}
:where(body.journal-page) .jl-product{padding:28px}
:where(body.journal-page) .jl-product-bar,:where(body.journal-page) .jl-product-tools,:where(body.journal-page) .jl-product-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}
:where(body.journal-page) .jl-product-bar>div{display:flex;align-items:center;gap:12px;font-size:21px}
:where(body.journal-page) .jl-product-bar i{color:#7dd3fc;font-size:18px}
:where(body.journal-page) .jl-example{font-size:11px;font-weight:500;color:#94a3b8}
:where(body.journal-page) .jl-product-tools{margin:24px 0 20px;color:#94a3b8;font-size:12px}
:where(body.journal-page) .jl-tool-label{display:flex;align-items:center;gap:10px}
:where(body.journal-page) .jl-view-label b{color:#fff;padding:7px 13px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.04)}
:where(body.journal-page) .jl-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
:where(body.journal-page) .jl-cal-day{min-height:234px;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:rgba(255,255,255,.02);padding:12px 8px}
:where(body.journal-page) .jl-cal-date{display:flex;justify-content:space-between;align-items:center;color:#94a3b8;margin-bottom:18px;font-size:10px;letter-spacing:.06em}
:where(body.journal-page) .jl-cal-date b{font-size:16px;color:#cbd5e1;font-weight:500}
:where(body.journal-page) .jl-cal-event{padding:12px 9px;margin-top:8px;border:1px dashed rgba(255,255,255,.15);border-left:2px solid #bca0dd;border-radius:12px;background:rgba(255,255,255,.025)}
:where(body.journal-page) .jl-cal-event.jl-taken{border-style:solid;background:rgba(255,255,255,.05)}
:where(body.journal-page) .jl-cal-event strong{font-size:13px;overflow-wrap:anywhere}
:where(body.journal-page) .jl-cal-event small{display:block;color:#94a3b8;font-size:12px;margin:8px 0}
:where(body.journal-page) .jl-cal-event small span{font-size:10px;margin-left:3px}
:where(body.journal-page) .jl-product-footer{margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08);color:#aab5c5;font-size:12px}
:where(body.journal-page) .jl-product-footer i{color:#7dd3fc;margin-right:7px}
:where(body.journal-page) .jl-product-footer small{font-size:10px;color:#94a3b8}
:where(body.journal-page) .journal-landing>.jl-section-links{justify-content:center;border-top:0;margin:0 0 12px}
:where(body.journal-page) .jl-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;padding:60px 6px;border-bottom:1px solid rgba(255,255,255,.08);scroll-margin-top:100px}
:where(body.journal-page) .jl-story-reverse .jl-story-copy{order:2}
:where(body.journal-page) .jl-kicker{display:flex;align-items:center;gap:9px;margin-bottom:18px;color:#7dd3fc;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
:where(body.journal-page) .jl-story-copy h2{font-size:clamp(27px,3vw,32px);line-height:1.2;margin-bottom:20px}
:where(body.journal-page) .jl-story-copy p{font-size:16px;max-width:540px}
:where(body.journal-page) .jl-story-copy .jl-secondary-copy{font-size:14px;margin-top:18px}
:where(body.journal-page) .jl-demo-title{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:18px;font-weight:700;line-height:1.3;margin-bottom:26px}
:where(body.journal-page) .jl-demo-fields{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0}
:where(body.journal-page) .jl-demo-fields dt,:where(body.journal-page) .jl-note>span{font-size:12px;color:#94a3b8;margin-bottom:10px}
:where(body.journal-page) .jl-demo-fields dd{font-size:16px;margin:0;color:#e2e8f0}
:where(body.journal-page) .jl-demo-fields dd span{margin-left:8px;color:#94a3b8}
:where(body.journal-page) .jl-weekdays{display:flex;gap:7px;margin:24px 0}
:where(body.journal-page) .jl-weekdays span{flex:1;text-align:center;padding:9px 0;border-radius:10px;border:1px solid rgba(192,132,252,.35);background:rgba(168,85,247,.10);color:#d8c5ef;font-size:11px}
:where(body.journal-page) .jl-demo-result{display:flex;align-items:center;gap:14px;padding-top:22px;border-top:1px solid rgba(255,255,255,.08)}
:where(body.journal-page) .jl-demo-result>i{color:#7dd3fc;font-size:22px}
:where(body.journal-page) .jl-demo-result small,:where(body.journal-page) .jl-photo-note small,:where(body.journal-page) .jl-stock-row small{display:block;color:#94a3b8;font-size:12px;margin-top:7px}
:where(body.journal-page) .jl-note{padding:20px 0;margin-top:24px;border-top:1px solid rgba(255,255,255,.08)}
:where(body.journal-page) .jl-note p{font-size:14px;margin-top:8px}
:where(body.journal-page) .jl-photo-note{display:flex;align-items:center;gap:13px;padding-top:20px;border-top:1px solid rgba(255,255,255,.08);font-size:14px}
:where(body.journal-page) .jl-stock-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-top:1px solid rgba(255,255,255,.08);font-size:15px}
:where(body.journal-page) .jl-stock-row:last-child{padding-bottom:0}
:where(body.journal-page) .jl-stock-volume{font-size:14px;text-align:right;white-space:nowrap}
:where(body.journal-page) .jl-portability{display:flex;gap:22px;align-items:center;padding:36px 6px}
:where(body.journal-page) .jl-portability .jl-icon{flex-shrink:0}
:where(body.journal-page) .jl-portability h2{font-size:24px;font-weight:700;line-height:1.3;letter-spacing:-.025em;margin-bottom:8px}
:where(body.journal-page) .jl-portability p{font-size:14px}
@media(max-width:1000px){:where(body.journal-page) .jl-week{grid-template-columns:repeat(7,minmax(130px,1fr));min-width:950px}:where(body.journal-page) .jl-product{overflow-x:auto}:where(body.journal-page) .jl-story{gap:32px}}
@media(max-width:650px){:where(body.journal-page) .jl-story{grid-template-columns:1fr;padding:38px 0;gap:24px}:where(body.journal-page) .jl-story-reverse .jl-story-copy{order:0}:where(body.journal-page) .jl-opening{padding-top:8px}:where(body.journal-page) .jl-product{padding:20px}:where(body.journal-page) .jl-product-bar,:where(body.journal-page) .jl-product-tools,:where(body.journal-page) .jl-product-footer{min-width:0;flex-wrap:wrap}:where(body.journal-page) .jl-portability{align-items:flex-start}:where(body.journal-page) .jl-stock-row{gap:10px}:where(body.journal-page) .jl-stock-row strong{font-size:14px}}
/* Responsive layout only: preserve the shared background and glass surfaces. */
:where(body.journal-page) #editor-title:focus{outline:none} /* Programmatic announcement target, not a control. */
html:has(body.journal-page):has(#editor[open]),body.journal-page:has(#editor[open]){overflow:hidden;overscroll-behavior:none}
:where(body.journal-page) #editor{overflow-x:hidden;overscroll-behavior:contain}
:where(body.journal-page) #editor select{appearance:none;-webkit-appearance:none;color-scheme:dark;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e2e8f0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px!important}
:where(body.journal-page) .journal-landing>*,:where(body.journal-page) .journal-main .workspace>*{min-width:0}
@media(max-width:1000px){
 :where(body.journal-page) .journal-main .workspace{grid-template-columns:minmax(0,1fr)}
 :where(body.journal-page) .journal-main .recent{margin-top:20px}
}
@media(max-width:650px){
 body.journal-page .journal-main .journal-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
 body.journal-page .journal-main .journal-actions #new-entry,body.journal-page .journal-main .journal-actions #inventory-open{grid-column:span 3;width:100%;margin:0;padding:12px 8px}
 body.journal-page .journal-main .journal-actions button:not(#new-entry):not(#inventory-open){grid-column:span 2;justify-self:center;width:44px;height:44px}
 :where(body.journal-page) #editor[open]{width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);margin:auto}
 :where(body.journal-page) #editor #entry-form{display:flex;flex-direction:column;max-height:calc(100dvh - 26px);min-width:0}
 :where(body.journal-page) #editor .editor-heading,:where(body.journal-page) #editor .editor-footer{flex-shrink:0}
 :where(body.journal-page) #editor .editor-body{overflow-y:auto;overflow-x:hidden;min-height:0;overscroll-behavior:contain}
 :where(body.journal-page) #editor .editor-heading{padding:18px 16px}
 :where(body.journal-page) #editor .editor-heading h2{font-size:22px}
 :where(body.journal-page) #editor .editor-footer{position:static;display:flex;flex-wrap:nowrap;padding:12px 16px;gap:16px}
 :where(body.journal-page) #editor .editor-footer #delete{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0}
 :where(body.journal-page) #editor .editor-footer #delete .delete-label{display:none}
 :where(body.journal-page) #editor .editor-footer>div{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
 :where(body.journal-page) #editor .editor-footer button{min-height:44px;margin:0;white-space:nowrap;padding:10px 12px}
 :where(body.journal-page) .journal-landing h1{font-size:clamp(34px,9vw,48px);line-height:1.08;letter-spacing:-.045em}
 :where(body.journal-page) .journal-landing .jl-week{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
 :where(body.journal-page) .jl-cal-day{min-height:170px}:where(body.journal-page) .jl-cal-day:last-child{grid-column:1/-1}
 :where(body.journal-page) .jl-product-bar>div,:where(body.journal-page) .jl-demo-title{flex-wrap:wrap;font-size:18px}
 :where(body.journal-page) .jl-demo-fields{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
 :where(body.journal-page) .jl-stock-row{flex-wrap:wrap}:where(body.journal-page) .jl-stock-row>div{min-width:0}:where(body.journal-page) .jl-stock-volume{text-align:left}
 :where(body.journal-page) .journal-main .period{flex-wrap:wrap;width:100%}:where(body.journal-page) .journal-main .period h2{width:100%;margin:0 0 8px}
 :where(body.journal-page) .journal-main .calendar-toolbar{gap:16px}
 body.journal-page .journal-main .calendar{grid-template-columns:repeat(7,minmax(112px,1fr));overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:16px}
 body.journal-page .journal-main .calendar .event{font-size:12px}
 :where(body.journal-page) .journal-main .calendar-panel:has(.calendar:not([hidden]))::after{content:'Swipe calendar sideways to see every day';display:block;padding:0 18px 16px;color:#94a3b8;font-size:12px}
 :where(body.journal-page) .journal-main .entry-title{flex-wrap:wrap;gap:8px}
 :where(body.journal-page) #editor input,:where(body.journal-page) #editor select,:where(body.journal-page) #editor textarea,:where(body.journal-page) .inventory-body input,:where(body.journal-page) .inventory-body select{min-width:0;max-width:100%;font-size:16px}
 :where(body.journal-page) #editor .editor-footer>div{flex:1;min-width:0;width:auto;margin-left:auto}
 :where(body.journal-page) #editor .editor-footer>div>button{flex:1}
 :where(body.journal-page) .inventory-workspace>.inventory-main-heading{grid-template-columns:1fr 1fr;gap:14px}
 :where(body.journal-page) .inventory-main-heading h2{grid-column:1/-1;grid-row:1;text-align:center}
 :where(body.journal-page) .inventory-main-heading .site-button{padding:12px 16px}
}

/* Day/list entries need independent breathing room. */
:where(body.journal-page) #list-view > [data-edit] + [data-edit]{margin-top:14px}

/* Constrain native WebKit date/time fields at their containing grid boundary. */
:where(body.journal-page) #editor .form-row{grid-template-columns:repeat(2,minmax(0,1fr))}
:where(body.journal-page) #editor .editor-body label,:where(body.journal-page) #editor .editor-body .form-row>*,:where(body.journal-page) #editor .dose-control{min-width:0;max-width:100%}
:where(body.journal-page) #editor .editor-body :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){box-sizing:border-box;min-width:0;width:100%;max-width:100%}
:where(body.journal-page) #editor .dose-control input{flex:1 1 0;width:0}
:where(body.journal-page) #editor .dose-control select{flex:0 0 75px;width:75px}
:where(body.journal-page) #editor input:is([type="date"],[type="time"]){display:block;appearance:none;-webkit-appearance:none;min-inline-size:0;inline-size:100%;max-inline-size:100%;text-align:left}
:where(body.journal-page) #editor input:is([type="date"],[type="time"])::-webkit-date-and-time-value{min-width:0;text-align:left}
:where(body.journal-page) #editor input:is([type="date"],[type="time"])::-webkit-datetime-edit{min-width:0;padding:0}
:where(body.journal-page) #editor .editor-body img{max-width:100%;height:auto}
@media(max-width:650px){
 :where(body.journal-page) #editor .form-row{grid-template-columns:minmax(0,1fr)}
 :where(body.journal-page) #editor .editor-heading>div:first-child{min-width:0}
 :where(body.journal-page) #editor .editor-heading>button{flex-shrink:0}
 :where(body.journal-page) #editor .editor-footer>div{grid-template-columns:repeat(2,minmax(0,1fr))}
 :where(body.journal-page) #editor .editor-body{overflow-wrap:anywhere}
}

/* Inventory responsive containment */
body.journal-page .inventory-workspace{min-width:0;max-width:100%;box-sizing:border-box}
body.journal-page .inventory-workspace :is(.inventory-heading,.inventory-list-body,.inventory-compound,.inventory-vial,.bottle-card,.bottle-facts,.bottle-facts>div){min-width:0;max-width:100%;box-sizing:border-box}
body.journal-page .inventory-workspace :is(summary strong,.vial-description,.bottle-description,dd){overflow-wrap:anywhere}
body.journal-page .inventory-workspace summary>span{flex-shrink:0}
@media(max-width:760px){
 body.journal-page .inventory-workspace>.inventory-main-heading{grid-template-columns:minmax(0,1fr);padding:18px;gap:12px}
 body.journal-page .inventory-main-heading>h2{grid-column:1;grid-row:1}
 body.journal-page .inventory-main-heading>#back-journal{grid-column:1;grid-row:2}
 body.journal-page .inventory-workspace .inventory-list-body{padding:14px}
 body.journal-page .inventory-workspace .inventory-vial{flex-direction:column;align-items:stretch}
 body.journal-page .inventory-workspace .inventory-vial-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}
 body.journal-page .inventory-workspace .inventory-vial-actions .site-button{flex:1 1 auto;min-width:0;padding-inline:12px}
 body.journal-page .inventory-workspace .bottle-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body.journal-page .inventory-workspace .inventory-section-heading{flex-wrap:wrap;gap:12px}
 body.journal-page :is(#vial-inventory,.bottle-dialog){box-sizing:border-box;width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:90dvh;overflow-y:auto}
 body.journal-page :is(#vial-inventory,.bottle-dialog) .inventory-body{padding:20px;min-width:0}
 body.journal-page :is(#vial-inventory,.bottle-dialog) :is(.form-row,.diluent-row){grid-template-columns:minmax(0,1fr)}
 body.journal-page :is(#vial-inventory,.bottle-dialog) :is(label,input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
}
/* End inventory responsive containment */

/* Pointer focus is not keyboard navigation; preserve native focus and keyboard rings. */
html body [data-pointer-focus]:focus{outline:none!important}

/* Editor status shares the journal segmented control. */
body.journal-page #editor .editor-status{margin-block:20px;display:grid;gap:8px}
body.journal-page #editor .editor-status .segmented{display:flex;width:280px;max-width:100%;gap:4px}
body.journal-page #editor .editor-status .segmented button{flex:1;min-width:0;min-height:32px;white-space:nowrap}

/* Keep the journal schedule date and time paired on mobile. */
@media(max-width:600px){body.journal-page #editor .schedule-panel>.form-row:has(#date){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}body.journal-page #editor .schedule-panel :is(#date,#time){padding-inline:10px}}

/* Pair dose and syringe units; keep route on its own mobile row. */
@media(max-width:650px){body.journal-page #editor .dose-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}body.journal-page #editor .dose-row>label:has(#route){grid-column:1/-1}body.journal-page #editor .dose-row:has(:where(#syringe-field[hidden]))>label:has(#dose){grid-column:1/-1}body.journal-page #editor .dose-row .dose-control select{flex-basis:80px;width:80px;padding-inline:5px}body.journal-page #editor .dose-row :is(#dose,#syringeUnits){padding-inline:8px}}

/* Journal status: reuse the calculator's Reconstitution / Stack-Cycle pill treatment. */
body.journal-page #editor .editor-status .segmented{height:40px;box-sizing:border-box;padding:3px;gap:4px;border-radius:999px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(18px)}
body.journal-page #editor .editor-status .segmented button{font-size:13px;font-weight:500;line-height:20px;display:flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:0 8px;color:#cbd5e1;background:transparent;box-shadow:none;transition:background .2s ease,color .2s ease}
body.journal-page #editor .editor-status .segmented button:hover{color:#fff;background:rgba(255,255,255,.06)}
body.journal-page #editor .editor-status .segmented button[aria-pressed="true"]{color:#fff;background:linear-gradient(135deg,rgba(168,85,247,.85),rgba(59,130,246,.75));box-shadow:none}

/* Inventory must not slide beyond the viewport while opening/focusing. */
body.journal-page .inventory-workspace{animation:none;transform:none;width:100%;min-width:0;box-sizing:border-box}

@media(max-width:650px){body.journal-page #editor .form-row.dose-row:has(#dose){grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Use the standard input size to avoid iPhone focus zoom in recent-entry search. */
body.journal-page .journal-main :is(#search,#inventory-search){font-size:16px;line-height:1.5;min-width:0;max-width:100%}

body.journal-page .inventory-workspace #inventory-search{padding:12px 18px;box-sizing:border-box}

/* Subtle calendar scrollbar; retain native horizontal scrolling. */
body.journal-page #calendar{scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.35) transparent}
body.journal-page #calendar::-webkit-scrollbar{width:5px;height:5px}
body.journal-page #calendar::-webkit-scrollbar-track{background:transparent}
body.journal-page #calendar::-webkit-scrollbar-thumb{background:rgba(148,163,184,.35);border-radius:999px;border:0}
body.journal-page #calendar::-webkit-scrollbar-thumb:hover{background:rgba(148,163,184,.55)}
body.journal-page #calendar::-webkit-scrollbar-corner{background:transparent}

/* Journal segmented controls: show outlines only for intentional keyboard navigation. */
html:not([data-journal-keyboard="true"]) body.journal-page .segmented button:focus{outline:none!important}

/* Desktop inventory: two related sections, one shared search. */
@media(min-width:1024px){
body.journal-page .inventory-list-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-items:start}
body.journal-page #inventory-search{grid-column:1;grid-row:2}
body.journal-page .inventory-list-body>.inventory-section-heading{grid-column:1;grid-row:1}
body.journal-page #inventory-groups{grid-column:1;grid-row:3;min-width:0}
body.journal-page .inventory-bottles-section{grid-column:2;grid-row:1/4;margin:0;padding:0;border:0;min-width:0}
body.journal-page .inventory-bottles-section .bottle-card{flex-direction:column;align-items:stretch;gap:16px}
body.journal-page .inventory-bottles-section .bottle-card>.site-button{align-self:flex-end}
body.journal-page .inventory-workspace .bottle-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
body.journal-page .inventory-workspace .inventory-vial{flex-wrap:wrap;gap:16px}
body.journal-page .inventory-workspace .inventory-vial-actions{flex-wrap:wrap}
}

/* Compact new-entry action using the existing selected-control gradient. */
body.journal-page .journal-main #new-entry{display:inline-flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;margin:0;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:linear-gradient(135deg,rgba(168,85,247,.85),rgba(59,130,246,.75));color:#fff;font-size:0;gap:0;box-shadow:none}
body.journal-page .journal-main #new-entry i{font-size:20px;margin:0;color:#fff}
body.journal-page .journal-main #new-entry:hover{background:linear-gradient(135deg,rgba(168,85,247,1),rgba(59,130,246,.9));transform:none;animation:none}


/* Compact new-entry action using the existing selected-control gradient. */
body.journal-page .journal-main #new-entry{display:inline-flex;align-items:center;justify-content:center;flex:0 0 48px!important;width:48px!important;max-width:48px;height:48px;min-width:48px;min-height:48px;padding:0!important;margin:0;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:linear-gradient(135deg,rgba(168,85,247,.85),rgba(59,130,246,.75));color:#fff;font-size:0!important;gap:0;box-shadow:none}
body.journal-page .journal-main #new-entry i{font-size:20px;margin:0;color:#fff}
body.journal-page .journal-main #new-entry:hover{background:linear-gradient(135deg,rgba(168,85,247,1),rgba(59,130,246,.9));transform:none;animation:none}


/* Compact secondary destination beside the primary circular action. */
body.journal-page .journal-main #inventory-open{flex:0 0 auto!important;width:auto!important;min-width:0;max-width:100%;height:48px;min-height:48px;padding:0 18px!important;margin:0;gap:8px;white-space:nowrap}

body.journal-page .calendar-footer .hint{display:none!important}

/* Reuse the established flowing gradient without moving the action target. */
body.journal-page .journal-main #new-entry,body.journal-page .journal-main #new-entry:hover{background-image:linear-gradient(105deg,rgba(168,85,247,.9),rgba(59,130,246,.85),rgba(168,85,247,.9));background-size:240% 100%;animation:peptide-button-fill-flow 5s linear infinite;transform:none}
@media(prefers-reduced-motion:reduce){body.journal-page .journal-main #new-entry,body.journal-page .journal-main #new-entry:hover{animation:none;background-position:50% 50%}}

/* Journal toolbar: date navigation, then view and action groups. */
body.journal-page .journal-toolbar{display:flex;flex-direction:column;gap:16px;padding:20px}
body.journal-page .journal-toolbar-heading,body.journal-page .journal-toolbar-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
body.journal-page .journal-toolbar-heading #period-title{margin:0}
body.journal-page :is(.journal-toolbar-navigation,.journal-toolbar-primary,.journal-toolbar-utilities,.journal-toolbar-actions){display:flex;align-items:center;gap:8px}
body.journal-page .journal-toolbar-controls{justify-content:space-between}
body.journal-page .journal-toolbar-actions{gap:16px;flex-wrap:wrap}
body.journal-page .journal-toolbar-utilities{border-left:1px solid rgba(255,255,255,.1);padding-left:16px}
@media(max-width:600px){body.journal-page .journal-toolbar{padding:16px;gap:16px}body.journal-page .journal-toolbar-heading #period-title{width:100%;font-size:18px}body.journal-page .journal-toolbar-actions{width:100%;gap:12px}body.journal-page .journal-toolbar-utilities{padding-left:0;border:0}body.journal-page .journal-toolbar-controls{gap:12px}}

/* Compound filter stays with calendar navigation in every view. */
body.journal-page .journal-calendar-filter{width:100%;max-width:420px;min-width:0}
body.journal-page .journal-calendar-filter .search-wrap{width:100%;margin:0}
body.journal-page .journal-calendar-filter #search{width:100%;box-sizing:border-box;font-size:16px}
body.journal-page .journal-calendar-filter #search-count{margin:8px 0 0}

/* Calendar hierarchy: date/navigation + actions; view/filter + utilities. */
body.journal-page .journal-toolbar-heading{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:12px}
body.journal-page .journal-toolbar-heading .journal-toolbar-primary{justify-self:end}
body.journal-page .journal-toolbar-controls{display:grid;grid-template-columns:auto minmax(180px,420px) minmax(0,1fr);gap:16px;align-items:start}
body.journal-page .journal-toolbar-controls .journal-toolbar-utilities{justify-self:end;border-left:0;padding-left:0}
body.journal-page .journal-toolbar-controls .segmented{align-self:start}
body.journal-page .journal-toolbar .journal-calendar-filter{max-width:none}
@media(max-width:900px){
 body.journal-page .journal-toolbar-heading{grid-template-columns:minmax(0,1fr) auto}
 body.journal-page .journal-toolbar-heading #period-title{grid-column:1/-1;width:auto}
 body.journal-page .journal-toolbar-controls{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 body.journal-page .journal-toolbar-controls .journal-calendar-filter{grid-column:1/-1;grid-row:2}
 body.journal-page .journal-toolbar-controls .journal-toolbar-utilities{grid-column:2;grid-row:1}
}
@media(max-width:480px){
 body.journal-page .journal-toolbar-heading{display:flex;flex-wrap:wrap;gap:12px}
 body.journal-page .journal-toolbar-heading #period-title{flex-basis:100%}
 body.journal-page .journal-toolbar-heading .journal-toolbar-primary{margin-left:0}
 body.journal-page .journal-toolbar-controls{grid-template-columns:minmax(0,1fr);gap:12px}
 body.journal-page .journal-toolbar-controls .journal-calendar-filter{grid-column:1;grid-row:2}
 body.journal-page .journal-toolbar-controls .journal-toolbar-utilities{grid-column:1;grid-row:3;justify-self:start}
}

/* Keep toolbar controls inside their panel, including intermediate mobile widths. */
body.journal-page .journal-toolbar-controls>*{min-width:0;max-width:100%}
@media(max-width:1200px){
 body.journal-page .journal-toolbar-controls{grid-template-columns:minmax(0,1fr)}
 body.journal-page .journal-toolbar-controls>.segmented{grid-column:1;grid-row:1;width:fit-content;max-width:100%;justify-self:start}
 body.journal-page .journal-toolbar-controls>.journal-calendar-filter{grid-column:1;grid-row:2}
 body.journal-page .journal-toolbar-controls>.journal-toolbar-utilities{grid-column:1;grid-row:3;justify-self:start;flex-wrap:wrap}
}

/* One shared text treatment for search fields, including journal compound lookup. */
:root{--search-placeholder-color:#b8c2d1;--search-text-color:#fff}
input:is([type="search"],#search,#compound){color:var(--search-text-color)!important}
input:is([type="search"],#search,#compound)::placeholder{color:var(--search-placeholder-color)!important;font-size:14px!important;opacity:1!important}

/* Mobile calendar: view at top right; secondary actions beside entry actions. */
@media(max-width:900px){
 body.journal-page .journal-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
 body.journal-page .journal-toolbar-heading,body.journal-page .journal-toolbar-controls{display:contents}
 body.journal-page .journal-toolbar-controls>.segmented{grid-column:1/-1;grid-row:1;justify-self:end;width:fit-content}
 body.journal-page .journal-toolbar-heading #period-title{grid-column:1/-1;grid-row:2;width:auto;min-width:0}
 body.journal-page .journal-toolbar-navigation{grid-column:1/-1;grid-row:3}
 body.journal-page .journal-toolbar-heading .journal-toolbar-primary{grid-column:1;grid-row:4;justify-self:start;margin:0}
 body.journal-page .journal-toolbar-controls>.journal-toolbar-utilities{grid-column:2;grid-row:4;justify-self:end;align-self:center;flex-wrap:nowrap}
 body.journal-page .journal-toolbar-controls>.journal-calendar-filter{grid-column:1/-1;grid-row:5}
 body.journal-page .journal-toolbar #export-calendar{display:none!important}
}

/* Mobile calendar: view at top right; secondary actions beside entry actions. */
@media(max-width:900px){
 body.journal-page .journal-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
 body.journal-page .journal-toolbar-heading,body.journal-page .journal-toolbar-controls{display:contents}
 body.journal-page .journal-toolbar-controls>.segmented{grid-column:2;grid-row:2;justify-self:end;align-self:center;width:fit-content}
 body.journal-page .journal-toolbar-heading #period-title{grid-column:1/-1;grid-row:1;width:auto;min-width:0}
 body.journal-page .journal-toolbar-navigation{grid-column:1;grid-row:2;align-self:center}
 body.journal-page .journal-toolbar-heading .journal-toolbar-primary{grid-column:1;grid-row:3;justify-self:start;margin:0}
 body.journal-page .journal-toolbar-controls>.journal-toolbar-utilities{grid-column:2;grid-row:3;justify-self:end;align-self:center;flex-wrap:nowrap}
 body.journal-page .journal-toolbar-controls>.journal-calendar-filter{grid-column:1/-1;grid-row:4}
 body.journal-page .journal-toolbar #export-calendar{display:none!important}
}
@media(max-width:380px){
 body.journal-page .journal-toolbar-navigation{grid-column:1/-1}
 body.journal-page .journal-toolbar-controls>.segmented{grid-column:1/-1;grid-row:3}
 body.journal-page .journal-toolbar-heading .journal-toolbar-primary,body.journal-page .journal-toolbar-controls>.journal-toolbar-utilities{grid-row:4}
 body.journal-page .journal-toolbar-controls>.journal-calendar-filter{grid-row:5}
}

/* Subtle separators for entry-card metadata, shared by day and recent cards. */
body.journal-page .journal-card-measurements{column-gap:12px}
body.journal-page .journal-card-measurements>span+span{border-left:1px solid rgba(255,255,255,.14);padding-left:12px}
body.journal-page .journal-card-date{column-gap:8px}
body.journal-page .journal-date-separator{color:#94a3b8}
.mixing-page .checker-reference{margin-top:28px;padding-top:28px;border-top:1px solid rgba(255,255,255,.09)}
@media(max-width:560px){.mixing-page .checker-reference{margin-top:24px;padding-top:24px}.mixing-page .resource-card{min-height:0}}
@media(max-width:560px){.mixing-page .checker-heading-row{align-items:flex-start}.mixing-page .selected-toolbar{align-items:stretch}.mixing-page .selected-wrap{grid-template-columns:1fr;gap:8px}.mixing-page .selected-wrap .field-label{padding:0 0 8px;border-right:0;border-bottom:1px solid rgba(255,255,255,.11)}}
body.journal-page .calendar-footer{border-top:0}

/* Shared compact tabs used by account history and admin sections. */
.history-tabs{display:flex;gap:8px;margin-top:18px}
.history-tab{padding:9px 13px;border:1px solid rgba(255,255,255,.075);border-radius:999px;color:#94a3b8;background:rgba(255,255,255,.025);font-size:12px;font-weight:700;cursor:pointer}
.history-tab.active{color:#fff;border-color:rgba(56,189,248,.3);background:rgba(56,189,248,.08)}

/* Keep schedule duration controls compact without changing the weekday picker. */
body.journal-page #editor .editor-body label.duration{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}
body.journal-page #editor .editor-body .duration #weeks{flex:0 0 76px;width:76px;margin:0}
body.journal-page #editor .editor-body .duration #duration-unit{flex:0 0 auto;width:auto;min-width:100px;margin:0}
