/* A shared editorial palette for the catalogue, archive and membership pages. */
body.icp-premium-v3 {
    --icp-ink:#142d37; --icp-teal:#25575b; --icp-brass:#b3935d;
    --icp-paper:#faf9f5; --icp-rule:#d4dcd8; --icp-muted:#52666b;
    --icp-mast:linear-gradient(112deg,#10212c 8%,#203d46 64%,#2e504f);
}
body.icp-premium-v3:not(.home),body.icp-premium-v3:has(.icp-dash,.body-layout) {background:#f4f5f1}
body.icp-premium-v3 :is(.bio-hero,.city-hero),
body.icp-premium-v3.blog .page-top,body.icp-premium-v3:not(.home) main>.page-top {
    position:relative;isolation:isolate;background:var(--icp-mast);border:0;border-bottom:2px solid var(--icp-brass);
}
body.icp-premium-v3 :is(.bio-hero,.city-hero,.page-top)::before {
    content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;border-radius:inherit;
    background:repeating-radial-gradient(ellipse 270px 220px at 96% 135%,transparent 0 41px,#d4c7a121 42px,transparent 43px 69px);
    mask-image:linear-gradient(90deg,transparent 25%,#000 100%);
}
body.icp-premium-v3 :is(.page-top,.city-hero) .breadcrumbs,.bio-crumbs {color:#d4e4e1}
body.icp-premium-v3 :is(.editorial-hero,.site-header) {border-bottom-color:#827656}
body.icp-premium-v3 .editorial-hero .article-hero-inner {border-inline-start:0}
body.icp-premium-v3 .editorial-publication .reading-layout>.reading-content,
body.icp-premium-v3 .body-layout>.reading-content,body.icp-premium-v3 main.icp-dash,
body.icp-premium-v3 .founder-reading {
    border:1px solid var(--icp-rule);border-top:3px solid #a48957;border-radius:10px;
    box-shadow:0 7px 28px #142e3610;
}
body.icp-premium-v3 .body-layout>.reading-content h1,body.icp-premium-v3 main.icp-dash>h1 {
    color:var(--icp-ink);letter-spacing:-.035em;text-wrap:balance;
}
body.icp-premium-v3 .body-layout>.reading-content :is(p,li) {max-inline-size:74ch}
body.icp-premium-v3 .reading-layout>.sidebar .side-panel {
    background:#edf2ed;border:1px solid #cbd9d3;border-block-start:2px solid #57817a;box-shadow:none;
}
body.icp-premium-v3 :is(.archive-grid,.specialist-grid) article {border-color:#d4dedb}
body.icp-premium-v3 .icp-reading-gate {border-inline-start:3px solid #a58348}
body.icp-premium-v3 .atlas-map-panel {border-color:#bbccc5}
body.icp-premium-v3 .atlas-panel {border-top:2px solid #648a81}
body.icp-premium-v3 .atlas-map-heading h2,body.icp-premium-v3 .atlas-results-heading h3 {color:#163f45}
body.icp-premium-v3 .editorial-home .section-head,body.icp-premium-v3 .section-head {text-wrap:balance}
body.icp-premium-v3 .home-hero .eyebrow,body.icp-premium-v3 .section-head .eyebrow {color:#e7c68d}
body.icp-premium-v3 .section-head h2 em {color:#d4b982}
body.icp-premium-v3.error404 main.wrap {margin-block:clamp(24px,4vw,52px);padding:clamp(20px,4vw,42px);background:#fbfbf7;border:1px solid var(--icp-rule);border-top:3px solid var(--icp-brass);border-radius:10px}
body.icp-premium-v3 .profile-publication {background:linear-gradient(#eef2ef,#f6f6f1 540px)}
body.icp-premium-v3 :is(.profile-publication,.founder-profile) .bio-wrap {
    width:min(1160px,calc(100% - clamp(32px,7vw,96px)));margin-inline:auto;
}
body.icp-premium-v3 .bio-hero .bio-intro {padding-block:clamp(24px,3.6vw,46px)}
body.icp-premium-v3 .bio-hero .bio-intro.has-portrait {grid-template-columns:minmax(0,1fr) minmax(150px,245px);gap:clamp(16px,3vw,44px)}
body.icp-premium-v3 .bio-hero .bio-name {
    font:640 clamp(1.85rem,3.15vw,2.9rem)/1.12 Montserrat,system-ui,sans-serif;letter-spacing:-.045em;color:#fffefa;
}
body.icp-premium-v3 .bio-hero .bio-role {
    margin-top:.52em;color:#e4cda1;font-size:clamp(1.02rem,1.58vw,1.3rem);line-height:1.35;
}
body.icp-premium-v3 .bio-hero .bio-date {font-size:.88rem;color:#c5d5d5}
body.icp-premium-v3 .bio-crumbs {margin-bottom:clamp(15px,2.4vw,28px)}
body.icp-premium-v3 .profile-publication .bio-portrait {
    --photo-limit:205px;inline-size:fit-content;max-inline-size:100%;padding:5px;justify-self:center;
    border:1px solid #a39b7a;border-radius:5px;background:#162f38;box-shadow:0 10px 20px #07181c40;
}
body.icp-premium-v3 .profile-publication .bio-portrait img {max-height:205px;border-radius:2px}
body.icp-premium-v3 .bio-nav {background:#f6f6ed;border-bottom:1px solid #cdd6cf}
body.icp-premium-v3 .bio-nav .bio-wrap {gap:3px clamp(12px,2.4vw,32px)}
body.icp-premium-v3 .bio-nav a {color:#2b4d52;min-height:44px;font-size:.94rem;font-weight:600}
body.icp-premium-v3 .bio-nav a[href]:last-child:not([href^="#"]) {margin-inline-start:auto}
body.icp-premium-v3 .profile-spread {
    width:min(1160px,calc(100% - clamp(32px,7vw,96px)));display:grid;max-width:none;
    grid-template-columns:minmax(0,800px);justify-content:center;align-items:start;
    padding-block:clamp(16px,2.5vw,36px) clamp(24px,3vw,42px);gap:clamp(16px,2vw,28px);
}
body.icp-premium-v3 .profile-spread.has-contact {grid-template-columns:minmax(0,2.25fr) minmax(255px,1fr)}
body.icp-premium-v3 .profile-spread>.reading-content {
    width:auto;max-width:none;margin:0;padding:clamp(20px,3vw,40px);background:#fffefa;
    border:1px solid #d8dfd9;border-top:3px solid #ae925f;border-radius:9px;box-shadow:0 5px 22px #17393209;
}
body.icp-premium-v3 .profile-section-title {
    margin:0 0 1.1rem;padding:0 0 .75rem;border-bottom:1px solid var(--icp-rule);
    color:var(--icp-ink);font-size:clamp(1.25rem,1.7vw,1.5rem);line-height:1.3;letter-spacing:-.035em;
}
body.icp-premium-v3 .profile-publication .publication-body .profile-prose {
    color:#253c43;font:400 clamp(1rem,1.12vw,1.1rem)/1.72 Roboto,system-ui,sans-serif;overflow-wrap:break-word;
}
body.icp-premium-v3 .profile-publication .publication-body .profile-prose p {
    text-align:start!important;background:none!important;line-height:1.72!important;color:inherit!important;
    padding:0!important;margin:0 0 1.05em!important;border:0!important;box-shadow:none!important;hyphens:manual;
}
body.icp-premium-v3 .profile-prose .profile-full-italic :is(i,em) {font-style:normal}
body.icp-premium-v3 .profile-prose .profile-full-italic span[style*="underline"] {text-decoration:none!important}
body.icp-premium-v3 .profile-prose :is(img,iframe,figure) {max-width:100%}
body.icp-premium-v3 .profile-prose a {overflow-wrap:anywhere;color:#225b61;text-decoration-color:#8aabad;text-underline-offset:.15em}
body.icp-premium-v3 .profile-facts {margin:1.3rem 0;padding:0;border-block:1px solid #b9c9c2}
body.icp-premium-v3 .profile-facts>div {display:grid;grid-template-columns:minmax(9rem,.8fr) minmax(0,2fr);gap:12px;padding:13px 0;border-bottom:1px solid #d8dfd8}
body.icp-premium-v3 .profile-facts>div:last-child {border:0}
body.icp-premium-v3 .profile-facts dt {color:var(--icp-teal);font-weight:650}
body.icp-premium-v3 .profile-facts dd {margin:0;line-height:1.6}
body.icp-premium-v3 .profile-contact-rail {min-width:0}
body.icp-premium-v3 .profile-contact-rail :is(.icp-contact-card,.icp-archive-note) {
    margin:0;padding:clamp(18px,2vw,26px);background:#e9f0ea;color:#28424a;
    border:1px solid #c5d4c9;border-top:3px solid #4e7973;border-radius:9px;box-shadow:none;overflow-wrap:anywhere;
}
body.icp-premium-v3 .profile-contact-rail .icp-contact-card h2 {
    margin:0 0 16px;color:#163b40;font-size:clamp(1.16rem,1.55vw,1.4rem);line-height:1.27;letter-spacing:-.025em;
}
body.icp-premium-v3 .profile-contact-rail .eyebrow {margin:0 0 7px;color:#43635e;font-size:.76rem}
body.icp-premium-v3 .profile-contact-rail .icp-contact-items {display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
body.icp-premium-v3 .profile-contact-rail .icp-contact-item {
    display:grid;gap:3px;padding:10px 12px;min-width:0;background:#f8faf5;border:1px solid #bacbc1;border-radius:5px;color:#153b40;text-decoration:none;
}
body.icp-premium-v3 .profile-contact-rail .icp-contact-item span {font-size:.83rem;color:#49635e}
body.icp-premium-v3 .profile-contact-rail .icp-contact-item strong {font-size:1.08rem;color:#173e40}
body.icp-premium-v3 .profile-contact-rail .icp-contact-item:is(:hover,:focus-visible) {background:#fff;border-color:#527875}
body.icp-premium-v3 .profile-contact-rail p {margin:.9em 0 0;font:400 .94rem/1.55 Roboto,sans-serif;color:#405854}
body.icp-premium-v3 .profile-contact-rail a:not(.icp-contact-item) {color:#20595d;text-underline-offset:.15em}
body.icp-premium-v3 .profile-publication .publication-body :is(.icp-rating,.icp-reviews) {
    margin:1.6rem 0 0;padding:1.2rem 0 0;background:transparent;border:0;border-top:1px solid #c9d6cf;border-radius:0;box-shadow:none;
}
body.icp-premium-v3 .profile-publication .publication-body :is(.icp-rating,.icp-reviews) h2 {
    margin:0 0 .5rem;padding:0;color:var(--icp-ink);font-size:1.25rem;border:0;line-height:1.35;
}
body.icp-premium-v3 .profile-publication .publication-body :is(.icp-rating,.icp-reviews) p {margin:0 0 .6rem!important}
body.icp-premium-v3 .profile-publication :is(#icp-profile-contact,#icp-profile-details,#icp-rating) {scroll-margin-top:22px}
@media(max-width:780px) {
    body.icp-premium-v3 .profile-spread.has-contact {grid-template-columns:minmax(0,1fr)}
    body.icp-premium-v3 .profile-spread {width:calc(100% - 28px)}
    body.icp-premium-v3 .bio-hero .bio-intro.has-portrait {grid-template-columns:minmax(0,1fr) clamp(80px,22vw,140px)}
    body.icp-premium-v3 .profile-publication .bio-intro.has-portrait .bio-portrait {width:fit-content;max-width:100%;--photo-limit:105px}
    body.icp-premium-v3 .profile-publication .bio-portrait img {max-height:105px}
}
@media(max-width:540px) {
    body.icp-premium-v3 .bio-nav .bio-wrap {gap:0 16px}
    body.icp-premium-v3 .bio-nav a[href]:last-child:not([href^="#"]) {margin-inline-start:0}
    body.icp-premium-v3 .profile-facts>div {grid-template-columns:1fr;gap:3px}
    body.icp-premium-v3 .bio-hero .bio-name {overflow-wrap:anywhere}
}

body.icp-premium-v3 .profile-spread>.profile-contact-rail {inset:auto;align-self:start}
body.icp-premium-v3 .profile-spread .profile-contact-rail :is(.icp-archive-note,.icp-contact-card) {
    border-top:3px solid #4e7973!important;background:#e9f0ea!important;border-radius:9px!important;
}
body.icp-premium-v3 .profile-spread .reading-content>.profile-section-title,
body.icp-premium-v3 .profile-spread .profile-contact-rail h2 {font-size:clamp(1.2rem,1.6vw,1.45rem)!important}
body.icp-premium-v3 .archive-grid .story {border-radius:9px;box-shadow:0 3px 12px #12303c09}
body.icp-premium-v3 .archive-grid .story-body {padding:clamp(16px,2vw,23px)}
body.icp-premium-v3:not(.home) .archive-grid .story {background:#fffefa;border-color:#cbd8d4}
body.icp-premium-v3:not(.home) .archive-grid .story .story-meta span:first-child {color:#35685e}
body.icp-premium-v3:not(.home) .archive-grid .story p.excerpt {color:#465f66}
body.icp-premium-v3.home .specialist-section .profile-story,
body.icp-premium-v3.home .library-section .story {background:linear-gradient(125deg,#1b343e,#142631);border-color:#415956}
body.icp-premium-v3.home .specialist-section .profile-story h3,
body.icp-premium-v3.home .library-section .story h3 {color:#f5f4eb}
body.icp-premium-v3.home .topic {background:linear-gradient(135deg,#1a323c,#1b2c37);border-color:#46615c}
body.icp-premium-v3.home .topic:is(:hover,:focus-visible) {border-color:#d7bb83;background:#25434b}
body.icp-premium-v3 .library-topics a,.bio-nav a,.city-facet {text-underline-offset:.22em}
body.icp-premium-v3 .icp-dash>h1,body.icp-premium-v3 .body-layout>.reading-content>h1 {
    margin-block-start:0;padding-block-end:.48em;border-block-end:1px solid #cdd9d2;
}
body.icp-premium-v3 .icp-dash>nav a {border-radius:5px;color:#234b4f}
body.icp-premium-v3 .icp-dash>nav a:is(:focus-visible,:hover) {color:#fff;background:#215056}
body.icp-premium-v3 :is(.icp-dash,.atlas-panel,.city-controls,.profile-spread) :is(button,input,select,textarea,a):focus-visible {
    outline:2px solid #836533;outline-offset:3px;
}

/* The identity provider is a separate action within both registration flows. */
body.icp-premium-v3 #main.icp-dash form.icp-google-form {
    display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px 12px;
    margin:16px 0 24px;padding:0!important;background:none!important;border:0!important;box-shadow:none;
}
body.icp-premium-v3 #main.icp-dash .icp-google-form button.icp-google-button {
    display:inline-flex;flex:0 1 auto;align-items:center;justify-content:center;gap:12px;
    width:fit-content;min-width:0;max-width:100%;min-height:44px;margin:0;padding:9px 18px 9px 14px;
    background:#fff!important;color:#1f1f1f!important;border:1px solid #747775!important;
    border-radius:22px;box-shadow:none!important;text-transform:none;letter-spacing:.01em;
    font:500 15px/1.4 Roboto,Arial,sans-serif;cursor:pointer;transform:none;transition:background-color .15s,border-color .15s;
}
body.icp-premium-v3 #main.icp-dash .icp-google-button img {display:block;flex:none;width:20px;height:20px;padding:0;border:0;box-shadow:none;background:none}
body.icp-premium-v3 #main.icp-dash .icp-google-button span {color:inherit;font:inherit;letter-spacing:inherit}
body.icp-premium-v3 #main.icp-dash .icp-google-form button.icp-google-button:hover {background:#f4f7fb!important;border-color:#50575c!important}
body.icp-premium-v3 #main.icp-dash .icp-google-form button.icp-google-button:active {background:#e9eef5!important}
body.icp-premium-v3 #main.icp-dash .icp-google-button:focus-visible {outline:3px solid #285e98;outline-offset:3px}
body.icp-premium-v3 #main.icp-dash .icp-google-status {margin:0;color:#48606a;font:400 .9rem/1.4 Roboto,Arial,sans-serif}
body.icp-premium-v3 #main.icp-dash .icp-google-status:empty {width:0}
body.icp-premium-v3 #main.icp-dash .icp-google-form[aria-busy="true"] button {cursor:progress}
