/* PharmD Live Publication-Ready Copy Rollout — Phase 9 */
.pdl-pr-phase9-active {
    --pdl-pr9-blue:#3180C2;
    --pdl-pr9-teal:#3DAFBE;
    --pdl-pr9-orange:#F7941D;
    --pdl-pr9-navy:#173A55;
    --pdl-pr9-navy-deep:#102F47;
    --pdl-pr9-ink:#123B5A;
    --pdl-pr9-text:#314E63;
    --pdl-pr9-muted:#617789;
    --pdl-pr9-pale:#F0FCFB;
    --pdl-pr9-sky:#F6FBFD;
    --pdl-pr9-border:rgba(49,128,194,.18);
    --pdl-pr9-shadow:0 18px 48px rgba(21,63,91,.09);
}

.pdl-pr-phase9-active .pdl-pr9-shell {
    width:min(1180px,90vw);
    margin-inline:auto;
}

.pdl-pr-phase9-active .pdl-pr9-eyebrow {
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin:0 0 14px;
    color:var(--pdl-pr9-teal);
    font:800 .76rem/1.3 "Open Sans",Arial,sans-serif;
    letter-spacing:.14em;
    text-transform:uppercase;
}
.pdl-pr-phase9-active .pdl-pr9-eyebrow::before {
    content:"";
    width:34px;
    height:2px;
    border-radius:99px;
    background:linear-gradient(90deg,var(--pdl-pr9-blue),var(--pdl-pr9-teal));
}
.pdl-pr-phase9-active .pdl-pr9-eyebrow--light { color:#91E3E5; }
.pdl-pr-phase9-active .pdl-pr9-eyebrow--light::before { background:#91E3E5; }

/* Global authority strip */
.pdl-pr-phase9-active .pdl-pr9-authority {
    position:relative;
    overflow:hidden;
    padding:44px 0;
    background:
        radial-gradient(circle at 90% 20%,rgba(61,175,190,.16),transparent 28%),
        linear-gradient(145deg,var(--pdl-pr9-navy-deep),var(--pdl-pr9-navy));
    color:#fff;
}
.pdl-pr-phase9-active .pdl-pr9-authority::after {
    content:"";
    position:absolute;
    right:-80px;
    top:-90px;
    width:250px;
    height:250px;
    border:1px solid rgba(145,227,229,.15);
    border-radius:50%;
}
.pdl-pr-phase9-active .pdl-pr9-authority p {
    position:relative;
    z-index:1;
    max-width:1040px;
    margin:0;
    color:rgba(255,255,255,.86);
    font:400 clamp(.96rem,1vw,1.06rem)/1.75 Roboto,Arial,sans-serif;
}

/* About-page authority addition */
.pdl-pr-phase9-active .pdl-pr9-about {
    position:relative;
    padding:clamp(72px,7vw,104px) 0;
    background:linear-gradient(180deg,#F7FCFD 0%,#EEF9FB 100%);
    border-top:1px solid rgba(49,128,194,.10);
}
.pdl-pr-phase9-active .pdl-pr9-about::after {
    content:"";
    position:absolute;
    right:7vw;
    top:35px;
    width:180px;
    height:180px;
    border:1px solid rgba(61,175,190,.18);
    border-radius:50%;
    pointer-events:none;
}
.pdl-pr-phase9-active .pdl-pr9-about h2 {
    max-width:780px;
    margin:0 0 20px;
    color:var(--pdl-pr9-ink);
    font:600 clamp(2rem,3.2vw,3.25rem)/1.08 "Open Sans",Arial,sans-serif;
    letter-spacing:-.035em;
}
.pdl-pr-phase9-active .pdl-pr9-about p {
    max-width:900px;
    margin:0;
    color:var(--pdl-pr9-text);
    font:400 clamp(1rem,1.1vw,1.13rem)/1.78 Roboto,Arial,sans-serif;
}

/* Case-study outcomes disclaimer */
.pdl-pr-phase9-active .pdl-pr9-case-disclaimer {
    padding:28px 0;
    background:#F4FAFC;
    border-top:1px solid var(--pdl-pr9-border);
    border-bottom:1px solid var(--pdl-pr9-border);
}
.pdl-pr-phase9-active .pdl-pr9-case-disclaimer .pdl-pr9-shell {
    padding:22px 24px;
    border-left:4px solid var(--pdl-pr9-teal);
    border-radius:0 16px 16px 0;
    background:#fff;
    box-shadow:0 10px 28px rgba(21,63,91,.05);
}
.pdl-pr-phase9-active .pdl-pr9-case-disclaimer strong {
    display:block;
    margin-bottom:7px;
    color:var(--pdl-pr9-ink);
    font:700 .92rem/1.4 "Open Sans",Arial,sans-serif;
}
.pdl-pr-phase9-active .pdl-pr9-case-disclaimer p {
    margin:0;
    color:var(--pdl-pr9-muted);
    font:400 .94rem/1.7 Roboto,Arial,sans-serif;
}

/* Clinical governance panel for program pages */
.pdl-pr-phase9-active .pdl-pr9-governance {
    position:relative;
    overflow:hidden;
    padding:clamp(64px,6vw,88px) 0;
    background:linear-gradient(180deg,#F8FCFD 0%,#EFF8FB 100%);
    border-top:1px solid rgba(49,128,194,.12);
}
.pdl-pr-phase9-active .pdl-pr9-governance::before {
    content:"";
    position:absolute;
    left:-90px;
    bottom:-100px;
    width:260px;
    height:260px;
    border:1px solid rgba(61,175,190,.16);
    border-radius:50%;
}
.pdl-pr-phase9-active .pdl-pr9-governance__heading {
    max-width:830px;
    margin-bottom:30px;
}
.pdl-pr-phase9-active .pdl-pr9-governance h2 {
    margin:0;
    color:var(--pdl-pr9-ink);
    font:600 clamp(1.85rem,2.9vw,2.9rem)/1.08 "Open Sans",Arial,sans-serif;
    letter-spacing:-.03em;
}
.pdl-pr-phase9-active .pdl-pr9-governance__grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
.pdl-pr-phase9-active .pdl-pr9-governance__grid article {
    padding:28px;
    border:1px solid var(--pdl-pr9-border);
    border-radius:20px;
    background:#fff;
    box-shadow:var(--pdl-pr9-shadow);
    transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.pdl-pr-phase9-active .pdl-pr9-governance__grid article:hover {
    transform:translateY(-4px);
    border-color:rgba(61,175,190,.44);
    box-shadow:0 22px 48px rgba(21,63,91,.12);
}
.pdl-pr-phase9-active .pdl-pr9-governance__grid h3 {
    margin:0 0 12px;
    color:var(--pdl-pr9-ink);
    font:700 1.08rem/1.35 "Open Sans",Arial,sans-serif;
}
.pdl-pr-phase9-active .pdl-pr9-governance__grid p {
    margin:0;
    color:var(--pdl-pr9-text);
    font:400 .96rem/1.72 Roboto,Arial,sans-serif;
}
.pdl-pr-phase9-active .pdl-pr9-clinical-footer {
    margin-top:18px;
    padding:20px 24px;
    border:1px solid rgba(49,128,194,.14);
    border-radius:16px;
    background:rgba(255,255,255,.68);
}
.pdl-pr-phase9-active .pdl-pr9-clinical-footer p {
    margin:0;
    color:var(--pdl-pr9-muted);
    font:400 .91rem/1.65 Roboto,Arial,sans-serif;
}

/* Source disclosure */
.pdl-pr-phase9-active .pdl-pr9-sources {
    margin-top:18px;
    border:1px solid rgba(49,128,194,.16);
    border-radius:16px;
    background:#fff;
    overflow:hidden;
}
.pdl-pr-phase9-active .pdl-pr9-sources summary {
    position:relative;
    cursor:pointer;
    list-style:none;
    padding:17px 54px 17px 20px;
    color:var(--pdl-pr9-ink);
    font:700 .94rem/1.4 "Open Sans",Arial,sans-serif;
}
.pdl-pr-phase9-active .pdl-pr9-sources summary::-webkit-details-marker { display:none; }
.pdl-pr-phase9-active .pdl-pr9-sources summary::after {
    content:"+";
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--pdl-pr9-pale);
    color:var(--pdl-pr9-blue);
    font-size:20px;
    transition:transform .2s ease;
}
.pdl-pr-phase9-active .pdl-pr9-sources[open] summary::after {
    transform:translateY(-50%) rotate(45deg);
}
.pdl-pr-phase9-active .pdl-pr9-source-links {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding:0 18px 18px;
}
.pdl-pr-phase9-active .pdl-pr9-source-links a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 14px;
    border:1px solid rgba(49,128,194,.14);
    border-radius:12px;
    background:#F9FCFE;
    color:var(--pdl-pr9-blue) !important;
    font:600 .88rem/1.4 Roboto,Arial,sans-serif;
    text-decoration:none !important;
    transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.pdl-pr-phase9-active .pdl-pr9-source-links a:hover {
    transform:translateY(-2px);
    border-color:rgba(61,175,190,.42);
    background:#F0FCFB;
}

/* Standardized inline results note for Phase 1 and 3 */
.pdl-pr-phase9-active .pdl-pr9-inline-outcomes-disclaimer {
    margin-top:18px !important;
    padding:15px 17px;
    border-left:3px solid var(--pdl-pr9-teal);
    border-radius:0 12px 12px 0;
    background:#F4FAFC;
    color:#5B7184 !important;
    font-size:.88rem !important;
    line-height:1.62 !important;
}
.pdl-pr-phase9-active .pdl-pr9-inline-outcomes-disclaimer--light {
    border-left-color:#91E3E5;
    background:rgba(255,255,255,.09);
    color:rgba(255,255,255,.78) !important;
}

/* Reveal animation */
.pdl-pr9-js .pdl-pr9-reveal {
    opacity:0;
    transform:translateY(18px);
    transition:opacity .58s ease,transform .58s cubic-bezier(.22,.8,.3,1);
}
.pdl-pr9-js .pdl-pr9-reveal.pdl-pr9-is-visible {
    opacity:1;
    transform:none;
}

/* Preview badge is required even on pages without earlier phase CSS. */
.pdl-pr-phase9-active .pdl-pr-preview-badge,
.pdl-pr-preview-badge {
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:999999;
    max-width:520px;
    padding:10px 14px;
    border:1px solid rgba(255,255,255,.3);
    border-radius:999px;
    background:#173A55;
    color:#fff;
    font:600 13px/1.4 Arial,sans-serif;
    box-shadow:0 8px 30px rgba(0,0,0,.18);
}

@media (max-width:820px) {
    .pdl-pr-phase9-active .pdl-pr9-governance__grid,
    .pdl-pr-phase9-active .pdl-pr9-source-links {
        grid-template-columns:1fr;
    }
}

@media (max-width:620px) {
    .pdl-pr-phase9-active .pdl-pr9-shell { width:92vw; }
    .pdl-pr-phase9-active .pdl-pr9-authority { padding:38px 0; }
    .pdl-pr-phase9-active .pdl-pr9-governance__grid article { padding:22px; }
    .pdl-pr-phase9-active .pdl-pr-preview-badge,
    .pdl-pr-preview-badge {
        left:12px;
        right:12px;
        bottom:12px;
        max-width:none;
        border-radius:12px;
        text-align:center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pdl-pr9-js .pdl-pr9-reveal {
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }
    .pdl-pr-phase9-active * {
        animation-duration:.001ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.001ms !important;
    }
}
