/*
Theme Name: Pedagogy Pioneers
Theme URI: https://pedagogypioneers.com/
Author: Pedagogy Pioneers
Description: A welcoming, resource-focused theme for educators.
Version: 1.6.1
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    color-scheme: light;
    --brand-navy: #115A88;
    --brand-orange: #FF7D00;
    --brand-green: #4CC76A;
    --brand-red: #FF4F58;
    --brand-purple: #8A4FFF;
    --brand-blue: #3FA9F5;
    --brand-aqua: #2ECFCB;
    --brand-yellow: #FFD93D;
    --brand-focus: var(--brand-blue);
    --page: #f5f6f2;
    --surface: #fff;
    --surface-soft: #fafbf8;
    --ink: #20271f;
    --ink-soft: #596258;
    --muted: #8b9388;
    --line: #e8ebe4;
    --green: var(--brand-navy);
    --green-deep: #0B3A58;
    --lime: var(--brand-yellow);
    --shadow: 0 8px 26px rgba(37, 53, 41, .055);
    --sidebar-width: 244px;
}

* { box-sizing: border-box; }

html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }

body {
    min-width: 320px;
    max-width: 100%;
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    transition: background .25s ease, color .25s ease;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 3px solid var(--brand-focus);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    display: grid;
    min-width: 0;
    grid-template-columns: var(--sidebar-width) minmax(200px, 1fr) auto;
    align-items: center;
    gap: 38px;
    height: 76px;
    padding: 0 34px;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.brand-mark {
    width: 40px;
    display: flex;
    align-content: center;
    justify-content: flex-start;
}

.brand-mark img {
    aspect-ratio: 1/1;
    width: 100%;
}

.brand-name {
    font-family: 'Nunito', sans-serif;
    font-size: 21px;
    letter-spacing: -.8px;
    line-height: 18px;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
}

.brand-name span.primary {
    color: var(--brand-navy);
    font-weight: 800;
}

.brand-name span.secondary {
    color: var(--brand-orange);
    font-weight: 600;
}

.top-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(100%, 560px);
    height: 42px;
    justify-self: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--muted);
}
.top-search:focus-within { border-color: rgba(63, 169, 245, .45); }

.search-icon { margin-right: 8px; font-size: 24px; line-height: 1; }
.top-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.top-search input::placeholder { color: #9aa198; }
.top-search kbd { flex: 0 0 auto; padding: 4px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--muted); font: 11px "DM Sans", sans-serif; }

.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-button, .avatar-button, .mobile-menu-toggle { display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.icon-button { width: 38px; height: 38px; border-radius: 12px; color: var(--ink-soft); font-size: 18px; }
.icon-button:hover { border-color: rgba(63, 169, 245, .45); background: var(--surface-soft); }
.avatar-button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #ecd8c8; color: #674b37; font-weight: 700; }
.mobile-menu-toggle { display: none; width: 38px; height: 38px; border-radius: 10px; }
.mobile-menu-toggle span { display: block; width: 15px; height: 2px; margin: 2px 0; border-radius: 2px; background: currentColor; }

.app-layout { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: calc(100vh - 76px); transition: grid-template-columns .24s ease; }

.sidebar {
    grid-row: 1 / 3;
    position: sticky;
    z-index: 15;
    top: 76px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: calc(100vh - 76px);
    min-height: 580px;
    padding: 27px 16px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    border-right: 1px solid var(--line);
    background: var(--surface);
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    transition: padding .24s ease;
}
.sidebar::-webkit-scrollbar { display: none; }
.sidebar > * { flex-shrink: 0; }

.sidebar-label { padding: 0 11px; color: #9aa198; font-size: 10px; font-weight: 800; letter-spacing: 1.15px; }
.side-nav { display: grid; gap: 4px; margin-top: 12px; }
.side-link { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 11px; border-radius: 9px; color: var(--ink-soft); font-size: 14px; font-weight: 600; transition: background .18s ease, color .18s ease; }
.side-link:hover { background: var(--surface-soft); color: var(--ink); }
.side-link.active { background: #eaf4fb; color: var(--brand-navy); font-weight: 700; }
.side-icon { display: inline-grid; width: 18px; flex: 0 0 18px; place-items: center; color: #7d897d; font-size: 15px; }
.side-link.active .side-icon { color: var(--brand-navy); }
.side-count { margin-left: auto; color: #929b91; font-size: 11px; }
.sidebar-divider { height: 1px; margin: 21px 0 20px; background: var(--line); }
.profile-link strong, .profile-link small { display: block; }
.profile-link strong { font-size: 13px; font-weight: 700; }
.profile-link small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.select-chevron { margin-left: auto; color: var(--muted); font-size: 10px; transition: transform .18s ease; }
.sidebar-bottom { margin-top: auto; }
.help-card { position: relative; overflow: hidden; margin: 16px 0; padding: 15px 13px 13px; border-radius: 12px; background: #edf7ee; }
.help-spark { position: absolute; top: 12px; right: 12px; color: var(--brand-orange); font-size: 17px; }
.help-card strong { font-size: 13px; }
.help-card p { margin: 6px 0 10px; color: #737d70; font-size: 12px; line-height: 1.5; }
.help-card a { color: var(--brand-navy); font-size: 12px; font-weight: 700; }
.profile-link { display: flex; align-items: center; width: 100%; gap: 9px; padding: 12px 4px 2px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.profile-avatar { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.avatar-initial { display: grid; width: 100%; height: 100%; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.avatar-color-navy { background: #cdeeff; color: #115a88; }
.avatar-color-orange { background: #ffe2c4; color: #a64f00; }
.sidebar-account { position: relative; }
.sidebar-account .profile-link { border-top: 1px solid var(--line); }
.top-avatar-button { width: 36px; height: 36px; overflow: hidden; padding: 0; }
.shortcut-option { position: relative; cursor: pointer; }
.shortcut-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.shortcut-option:focus-within { outline: 2px solid var(--brand-focus); outline-offset: -2px; }
.shortcut-menu-footer .shortcut-done { white-space: nowrap; }
.public-site .sidebar-account { margin-bottom: 0; }
.public-site .welcome-row .welcome-sparkle { display: inline-block; margin-left: 2px; color: var(--brand-orange); font-size: .62em; vertical-align: .32em; }
.profile-more { margin-left: auto; color: var(--muted); font-size: 17px; }

.main-content { width: min(100%, 1440px); min-width: 0; margin: 0 auto; padding: 34px clamp(26px, 4vw, 62px) 28px; }
.welcome-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.eyebrow, .section-overline { margin: 0 0 8px; color: #899385; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.eyebrow { display: flex; align-items: center; gap: 7px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 3px rgba(76, 199, 106, .16); }
h1, h2, h3, p { margin-top: 0; }
.welcome-row h1 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(24px, 2.4vw, 31px); font-weight: 700; letter-spacing: -1.35px; }
.welcome-row h1 span { color: #c39b54; font-size: .75em; }
.welcome-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.date-pill { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink-soft); font-size: 12px; }
.date-pill i { color: var(--brand-navy); }
.date-pill span { margin-right: 5px; }

.feature-card { position: relative; display: block; isolation: isolate; min-height: 288px; overflow: hidden; border-radius: 19px; background: var(--brand-navy); color: #fff; box-shadow: 0 13px 32px rgba(17, 90, 136, .16); touch-action: pan-y; }
.feature-card::before { position: absolute; z-index: 1; inset: 0; background: radial-gradient(ellipse at 82% 15%, rgba(46, 207, 203, .2), transparent 34%), linear-gradient(110deg, transparent 44%, rgba(5, 37, 61, .18)); content: ""; pointer-events: none; }
.feature-copy { position: relative; z-index: 2; width: 56%; padding: 34px 0 38px 40px; }
.feature-kicker { display: inline-flex; align-items: center; gap: 6px; color: #bde9e5; font-size: 11px; font-weight: 800; letter-spacing: 1.1px; }
.feature-copy h2 { margin: 14px 0 9px; font-family: Manrope, sans-serif; font-size: clamp(30px, 3.2vw, 43px); font-weight: 700; line-height: 1.08; letter-spacing: -1.9px; }
.feature-copy h2 em { color: var(--lime); font-style: normal; }
.feature-copy p { max-width: 340px; margin-bottom: 18px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 38px; padding: 0 14px; border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-light { background: #f7f5ea; color: #314c3b; }
.button-light:hover { background: #fff; }
.feature-art { position: absolute; top: 0; right: 0; width: 48%; height: 100%; }
.feature-art img { width: auto; height: 80%; margin-top: 25px; float: right; }
.art-orbit { position: absolute; border: 1px solid rgba(232, 241, 216, .17); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { top: -92px; right: -40px; width: 410px; height: 360px; }
.orbit-two { top: -63px; right: -13px; width: 340px; height: 305px; }
.art-note { position: absolute; display: flex; flex-direction: column; justify-content: space-between; width: 144px; height: 176px; padding: 15px; border-radius: 4px; box-shadow: 0 18px 34px rgba(19, 38, 27, .23); transform: rotate(9deg); }
.note-back { top: 69px; right: 68px; background: #ffe4c7; color: #4c4837; transform: rotate(11deg) scale(.93); }
.note-back span, .note-front > span { font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.note-back strong { font-family: Manrope, sans-serif; font-size: 17px; line-height: 1.2; }
.note-back i { align-self: flex-end; color: var(--brand-green); font-size: 22px; font-style: normal; }
.note-front { top: 53px; right: 170px; background: #f5eddb; color: #365041; transform: rotate(-8deg); }
.note-front > span { color: #9b8b68; }
.note-doodle { position: absolute; top: 32px; right: 14px; color: var(--brand-green); font-size: 24px; }
.note-front strong { margin-top: 10px; font-family: Manrope, sans-serif; font-size: 17px; line-height: 1.2; }
.note-line { width: 100%; height: 1px; margin-top: auto; background: #d8cdb5; }
.note-front small { margin-top: 6px; color: #a3977f; font-size: 9px; }
.art-star { position: absolute; color: var(--brand-yellow); line-height: 1; }
.star-one { top: 39px; right: 69px; font-size: 22px; }
.star-two { right: 48px; bottom: 55px; color: #ffb36b; font-size: 17px; }
.art-pill { position: absolute; right: 40px; bottom: 30px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.19); border-radius: 99px; background: rgba(255,255,255,.1); color: #e8eddd; font-size: 11px; }
.art-pill span { margin-left: 9px; color: var(--brand-aqua); }
.feature-pagination { position: absolute; z-index: 2; bottom: 15px; left: 40px; display: flex; align-items: center; gap: 5px; }
.feature-pagination span { width: 5px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.38); }
.feature-pagination span.active { width: 17px; background: var(--brand-orange); }
.feature-pagination small { margin-left: 6px; color: rgba(255,255,255,.55); font-size: 8px; letter-spacing: .5px; }

.shortcut-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: 17px 0 43px; }
.shortcut { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px; border: 1px solid transparent; border-radius: 12px; transition: transform .18s ease, border-color .18s ease; }
.shortcut:hover { transform: translateY(-2px); border-color: var(--line); }
.shortcut-lilac { background: #f0eaff; }
.shortcut-peach { background: #fff0e1; }
.shortcut-mint { background: #e7f8ec; }
.shortcut-sky { background: #e6f4fd; }
.shortcut-icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 9px; background: rgba(255,255,255,.68); color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; }
.shortcut-lilac .shortcut-icon { color: var(--brand-purple); }
.shortcut-peach .shortcut-icon { color: var(--brand-orange); }
.shortcut-mint .shortcut-icon { color: #279a49; }
.shortcut-sky .shortcut-icon { color: var(--brand-navy); }
.shortcut > span:nth-child(2) { min-width: 0; }
.shortcut strong, .shortcut small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shortcut strong { color: #25364a; font-size: 12px; font-weight: 700; }
.shortcut small { margin-top: 4px; color: #828b80; font-size: 10px; }
.shortcut-arrow { margin-left: auto; color: #899387; font-size: 12px; }

.resource-section { min-width: 0; scroll-margin-top: 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.section-overline { margin-bottom: 5px; }
.section-heading h2 { margin: 0; font-family: Manrope, sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.7px; }
.text-link { padding-bottom: 2px; color: var(--brand-navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
.text-link span { margin-left: 5px; }
.text-link:hover { color: var(--green-deep); }
.resource-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 17px 0 14px; }
.filter-tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 31px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: #7f887e; font-size: 12px; white-space: nowrap; cursor: pointer; }
.filter-tab:hover { background: var(--surface); color: var(--ink); }
.filter-tab.active { background: var(--surface); color: var(--brand-navy); box-shadow: 0 2px 8px rgba(41, 57, 43, .06); font-weight: 700; }
.filter-tab span { display: inline-grid; width: 18px; height: 17px; place-items: center; border-radius: 5px; background: #e5f2fb; color: var(--brand-navy); font-size: 10px; }
.sort-button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-soft); font-size: 11px; white-space: nowrap; cursor: pointer; }
.sort-button span:last-child { color: var(--muted); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.resource-feed-tabs { max-width: 100%; }
.collections-section { margin-top: 32px; }
.home-collections-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 18px; }
.home-collection-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.home-collection-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.home-collection-image { display: grid; height: 190px; place-items: center; padding: 18px; background: var(--page); }
.home-collection-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.home-collection-image > i { color: var(--brand-navy); font-size: 48px; }
.home-collection-copy { padding: 20px; }
.home-collection-copy h3 { margin: 0 0 8px; font-family: Manrope, sans-serif; font-size: 20px; }
.home-collection-copy p { margin: 0 0 14px; color: var(--ink-soft); line-height: 1.6; }
.resource-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.resource-card:hover { transform: translateY(-3px); border-color: #d6dfd3; box-shadow: var(--shadow); }
.resource-card[hidden] { display: none; }
.resource-image { position: relative; display: grid; height: 150px; place-items: center; overflow: hidden; margin: 9px 9px 0; border-radius: 8px; }
.resource-image picture { height: 100%;margin-bottom: -15px !important;}
.resource-image img { width: 100%; height: 100%; padding: 12px 12px 0 12px; object-fit: contain; transition: transform .3s ease; }
.resource-card:hover .resource-image img { transform: scale(1.045); }
.pp-blog-card:hover .resource-image img { transform: scale(1.045); }
.image-blue { background: #d7edfc; }
.image-lilac { background: #ece5ff; }
.image-mint { background: #e3f7e8; }
.image-peach { background: #fff0df; }
.image-yellow { background: #fff8d8; }
.image-sky { background: #dcf7f5; }
.image-red { background: #ffe4e5; }
.image-label { position: absolute; top: 9px; left: 9px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.7); border-radius: 5px; background: rgba(255,255,255,.86); color: var(--brand-navy); font-size: 9px; font-weight: 800; letter-spacing: .6px; }
.label-lilac { color: #6734c7; }
.label-mint { color: #258d41; }
.label-peach { color: #ba5c00; }
.resource-info { padding: 12px 12px 10px; }
.resource-meta { display: flex; gap: 6px; overflow: hidden; color: #8d978b; font-size: 9px; font-weight: 800; letter-spacing: .65px; white-space: nowrap; }
.resource-title { display: block; margin-top: 7px; overflow: hidden; color: var(--ink); font-family: Manrope, sans-serif; font-size: 14px; font-weight: 750; letter-spacing: -.2px; text-overflow: ellipsis; white-space: nowrap; }
.resource-title:hover { color: var(--brand-navy); }
.resource-info p, .pp-blog-card-excerpt { min-height: 31px; margin: 5px 0 11px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.resource-footer { display: flex; align-items: center; gap: 7px; padding-top: 9px; border-top: 1px solid var(--line); color: #889187; font-size: 11px; }
.format-icon { display: inline-grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 5px; background: #fff0eb; color: var(--brand-red); font-size: 12px; font-weight: 800; }
.slides-icon { background: #f0eaff; color: #6734c7; }
.save-button { display: grid; width: 27px; height: 27px; place-items: center; margin: -5px -5px -5px auto; border: 0; border-radius: 7px; background: transparent; color: #a0a79d; font-size: 17px; cursor: pointer; }
.save-button i { pointer-events: none; }
.save-button:hover { background: #fff0ef; color: var(--brand-red); }
.save-button.saved { color: var(--brand-red); }
.empty-state { margin: 18px 0; padding: 28px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; font-size: 14px; }
.load-more-row { display: flex; justify-content: center; margin-top: 17px; }
.button-outline { min-height: 34px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); }
.button-outline:hover { background: var(--surface-soft); }

.tools-section { min-width: 0; margin-top: 52px; scroll-margin-top: 96px; }
.tools-heading { margin-bottom: 17px; }
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.tool-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.tool-visual { position: relative; display: grid; height: 132px; place-items: center; overflow: hidden; }
.review-visual { background: #eee8ff; }
.mini-slide { position: relative; width: 130px; height: 88px; padding: 12px; border: 1px solid #e6e1d6; border-radius: 7px; background: #fffdf6; box-shadow: 0 8px 18px rgba(56, 48, 77, .12); transform: rotate(-4deg); }
.mini-slide small { color: #6734c7; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.mini-slide strong { display: block; margin-top: 4px; color: #38354a; font-family: Manrope, sans-serif; font-size: 12px; line-height: 1.15; }
.mini-options { position: absolute; right: 10px; bottom: 11px; display: flex; gap: 4px; }
.mini-options i { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 5px; background: #f0eaff; color: #6734c7; font-size: 9px; font-style: normal; }
.mini-options i:first-child { background: #e5f7e9; color: #278b43; }
.visual-spark { position: absolute; top: 18px; right: 22%; color: var(--brand-purple); font-size: 19px; }
.calm-visual { background: #ddf7f5; }
.calm-sun { position: relative; z-index: 2; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #fff0af; color: #b77700; font-size: 30px; box-shadow: 0 0 0 13px rgba(255, 217, 61, .2); }
.calm-wave { position: absolute; width: 230px; height: 60px; border: 1px solid rgba(17, 90, 136, .22); border-radius: 50%; }
.wave-a { bottom: 5px; transform: rotate(-8deg); }
.wave-b { bottom: -7px; transform: rotate(8deg); }
.calm-label { position: absolute; right: 16px; bottom: 12px; color: var(--brand-navy); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.pick-visual { background: #fff0e1; }
.pick-card { position: relative; z-index: 2; display: flex; width: 109px; height: 78px; align-items: center; justify-content: space-between; padding: 11px; border: 1px solid rgba(132, 99, 65, .12); border-radius: 7px; background: #fff9ef; color: #8a7057; box-shadow: 0 8px 18px rgba(102, 74, 47, .12); transform: rotate(4deg); }
.pick-card span { font-size: 8px; font-weight: 800; letter-spacing: .5px; line-height: 1.4; }
.pick-card strong { color: var(--brand-orange); font-family: Manrope, sans-serif; font-size: 43px; }
.pick-card i { position: absolute; top: 5px; right: 7px; color: var(--brand-green); font-size: 10px; font-style: normal; }
.pick-card strong i { position: static; color: inherit; font-size: inherit; }
.pick-orbit { position: absolute; width: 176px; height: 104px; border: 1px solid rgba(255, 125, 0, .24); border-radius: 50%; transform: rotate(-20deg); }
.tool-content { padding: 13px 14px 14px; }
.tool-type { color: #90998c; font-size: 9px; font-weight: 800; letter-spacing: .9px; }
.tool-content h3 { margin: 6px 0 5px; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 750; letter-spacing: -.2px; }
.tool-content p { min-height: 29px; margin: 0 0 9px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.tool-launch { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--brand-navy); font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.tool-launch:hover { color: var(--green-deep); }
.main-content.site-footer-shell { grid-column: 2; align-self: end; padding-top: 0; }
.rg-account-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface-solid, var(--surface)); color: var(--ink); box-shadow: var(--shadow); }
.rg-account-dialog::backdrop { background: rgba(10, 15, 31, .68); }
.rg-account-close-form { display: flex; justify-content: flex-end; margin: -10px -10px 8px 0; }
.rg-account-close { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-soft); cursor: pointer; }
.rg-account-dialog h2 { margin: 8px 0 12px; font-family: Manrope, sans-serif; font-size: clamp(24px, 4vw, 30px); }
.rg-account-dialog > p:not(.rg-section-kicker) { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.rg-account-benefits { display: grid; gap: 18px; margin: 24px 0; padding: 0; list-style: none; }
.rg-account-benefits li { display: flex; gap: 14px; }
.rg-account-benefits li > i { flex: 0 0 24px; color: var(--ink); font-size: 24px; }
.rg-account-benefits h3 { margin: 0 0 6px; font-size: 15px; }
.rg-account-benefits p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.rg-account-signup { width: 100%; min-height: 46px; justify-content: center; background: var(--brand-navy); color: #fff; }
.rg-account-signup:hover { background: var(--green-deep); color: #fff; }
.rg-account-login { margin: 14px 0; text-align: center; }
.rg-account-login a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.rg-account-continue-form { text-align: center; }
.rg-account-continue { padding: 8px; border: 0; background: transparent; color: var(--ink-soft); font-size: 13px; text-decoration: underline; cursor: pointer; }
.page-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-copy p { margin: 0 0 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.page-footer span:last-child { color: var(--brand-navy); font-weight: 700; }
.toast { position: fixed; z-index: 50; right: 24px; bottom: 24px; max-width: calc(100vw - 32px); padding: 12px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #263d30; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 13px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 761px) and (max-width: 1120px) {
    .feature-copy { width: 61%; }
    .feature-copy p { max-width: 275px; }
    .feature-art { width: 39%; }
    .note-front { right: 118px; }
    .note-back { right: 6px; }
}

body[data-theme="dark"] {
    color-scheme: dark;
    --page: #151a24;
    --surface: #1d2430;
    --surface-soft: #202936;
    --ink: #edf1e9;
    --ink-soft: #bac3b9;
    --muted: #929e96;
    --line: #303947;
    --green: #83b9e3;
    --green-deep: #b8dafa;
    --brand-focus: #69b8f5;
    --shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

body[data-theme="dark"] .topbar { background: color-mix(in srgb, var(--surface) 92%, transparent); }
body[data-theme="dark"] .brand-mark svg g path#CompassFlask { fill: #76c2fa !important; }
body[data-theme="dark"] .brand-name span { color: #76c2fa; }
body[data-theme="dark"] .side-link.active { background: #20394c; color: #a7d6f5; }
body[data-theme="dark"] .side-link.active .side-icon { color: #76c2fa; }
body[data-theme="dark"] .help-card { background: #263a36; }
body[data-theme="dark"] .help-card p { color: #a6b1a3; }
body[data-theme="dark"] .help-card a { color: #8bd89b; }
body[data-theme="dark"] .feature-card { background: #0e4a70; }
body[data-theme="dark"] .feature-card::before {
    background:
        radial-gradient(ellipse at 82% 15%, rgba(46, 207, 203, .2), transparent 34%),
        linear-gradient(110deg, transparent 44%, rgba(5, 24, 40, .25));
}
body[data-theme="dark"] .shortcut-lilac { background: #342d49; }
body[data-theme="dark"] .shortcut-peach { background: #453326; }
body[data-theme="dark"] .shortcut-mint { background: #263e31; }
body[data-theme="dark"] .shortcut-sky { background: #233949; }
body[data-theme="dark"] .shortcut strong { color: #e1e8dc; }
body[data-theme="dark"] .shortcut-icon { background: rgba(255,255,255,.09); color: #c8d6c3; }
body[data-theme="dark"] .shortcut-lilac .shortcut-icon { color: #bba0ff; }
body[data-theme="dark"] .shortcut-peach .shortcut-icon { color: #ffad5c; }
body[data-theme="dark"] .shortcut-mint .shortcut-icon { color: #76dc8e; }
body[data-theme="dark"] .shortcut-sky .shortcut-icon { color: #79c7fb; }
body[data-theme="dark"] .filter-tab.active { color: #9bd3f8; }
body[data-theme="dark"] .filter-tab span { background: #20394c; color: #a7d6f5; }
body[data-theme="dark"] .text-link,
body[data-theme="dark"] .tool-launch { color: #8bc9f2; }
body[data-theme="dark"] .image-blue { background: #294354; }
body[data-theme="dark"] .image-lilac { background: #3b3155; }
body[data-theme="dark"] .image-mint { background: #294532; }
body[data-theme="dark"] .image-peach { background: #493422; }
body[data-theme="dark"] .image-yellow { background: #494126; }
body[data-theme="dark"] .image-sky { background: #214443; }
body[data-theme="dark"] .image-red { background: #4a3037; }
body[data-theme="dark"] .resource-image img { mix-blend-mode: normal; }
body[data-theme="dark"] .image-label { border-color: rgba(255,255,255,.14); background: rgba(29,36,48,.85); }
body[data-theme="dark"] .image-label { color: #b7dcf3; }
body[data-theme="dark"] .label-lilac { color: #cfbaff; }
body[data-theme="dark"] .label-mint { color: #a8e7b6; }
body[data-theme="dark"] .label-peach { color: #ffc184; }
body[data-theme="dark"] .format-icon { background: #49302d; color: #ff968e; }
body[data-theme="dark"] .slides-icon { background: #382f50; color: #c3a9ff; }
body[data-theme="dark"] .mini-slide, body[data-theme="dark"] .pick-card { background: #f8f5eb; }
body[data-theme="dark"] .review-visual { background: #343243; }
body[data-theme="dark"] .calm-visual { background: #203e3d; }
body[data-theme="dark"] .calm-sun { background: #8e742e; color: #ffe79a; box-shadow: 0 0 0 13px rgba(255, 217, 61, .12); }
body[data-theme="dark"] .calm-wave { border-color: rgba(46, 207, 203, .24); }
body[data-theme="dark"] .calm-label { color: #75d8d1; }
body[data-theme="dark"] .pick-visual { background: #453326; }
body[data-theme="dark"] .page-footer span:last-child { color: #8bc9f2; }
body[data-theme="dark"] .button-outline { color: var(--ink-soft); }

@media (min-width: 1500px) {
    .main-content { padding-right: 74px; padding-left: 74px; }
    .resource-image { height: 166px; }
}

/* Bootstrap Icons and interactive menus */
.bi { line-height: 1; }
.search-icon { display: inline-block; font-size: 14px; }
.mobile-menu-toggle { color: var(--ink-soft); font-size: 20px; }
.mobile-menu-toggle i { line-height: 1; }
.dropdown-trigger[aria-expanded="true"] .select-chevron { transform: rotate(180deg); }
.feature-kicker i { font-size: 13px; }
.feature-copy .button i, .art-pill i, .text-link i, .tool-launch i { font-size: 12px; }
.art-note i { line-height: 1; }
.shortcut-arrow { flex-shrink: 0; font-size: 11px; }
.sort-wrap { position: relative; flex: 0 0 auto; }
.sort-button { min-height: 34px; }
.sort-button > i:first-child { color: var(--brand-navy, #115a88); }
.sort-chevron { color: var(--muted); font-size: 9px; transition: transform .18s ease; }
.sort-button[aria-expanded="true"] .sort-chevron { transform: rotate(180deg); }
.dropdown-wrap { position: relative; }
.dropdown-menu {
    position: absolute;
    z-index: 40;
    display: grid;
    min-width: 205px;
    gap: 3px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 16px 38px rgba(19, 38, 58, .16);
}
.dropdown-menu[hidden] { display: none !important; }
.profile-menu { right: 0; bottom: calc(100% + 9px); min-width: 200px; }
.top-profile-menu { top: calc(100% + 11px); right: 0; bottom: auto; }
.sort-menu { top: calc(100% + 7px); right: 0; min-width: 170px; }
.dropdown-heading { margin: 0; padding: 7px 9px 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 700; }
.dropdown-option {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 36px;
    padding: 7px 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink-soft);
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}
.dropdown-option:hover, .dropdown-option:focus-visible { background: var(--surface-soft); color: var(--ink); }
.dropdown-option.selected { color: var(--brand-navy, #115a88); font-weight: 700; }
.dropdown-option > .bi-check2 { margin-left: auto; color: var(--brand-green, #4cc76a); }
.option-icon { display: inline-grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; background: #e7f2fa; color: var(--brand-navy, #115a88); font-size: 10px; font-weight: 800; }
.profile-wrap { width: 100%; }
.profile-link { cursor: pointer; }
.profile-more { margin-left: auto; font-size: 17px; }
.top-profile-wrap { display: inline-flex; }
.top-profile-menu .dropdown-option > i { width: 15px; color: var(--muted); }

body[data-theme="dark"] .dropdown-menu { box-shadow: 0 16px 38px rgba(0, 0, 0, .35); }
body[data-theme="dark"] .dropdown-option.selected { color: #8bc9f2; }
body[data-theme="dark"] .option-icon { background: #20394c; color: #a7d6f5; }
body[data-theme="dark"] .date-pill i,
body[data-theme="dark"] .sort-button > i:first-child { color: #8bc9f2; }
body[data-theme="dark"] .save-button.saved { color: #ff858b; }
body[data-theme="dark"] .dropdown-option > .bi-check2 { color: #76dc8e; }

/* Feature carousel */
.sidebar-backdrop { display: none; }
.feature-track { display: flex; width: 100%; height: 100%; transition: transform .55s cubic-bezier(.22, .7, .2, 1); }
.feature-slide { position: relative; flex: 0 0 100%; min-width: 0; min-height: 288px; overflow: hidden; }
.feature-slide-ideas { background: var(--brand-navy, #115a88); }
.feature-slide-review { background: #0c4b72; }
.feature-slide-calm { background: #146c7b; }
.feature-slide-desktop { background: #2b4a9c; }
.feature-slide:focus { outline: none; }
.feature-slide[aria-hidden="true"] { pointer-events: none; }
.carousel-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    background: rgba(15, 54, 77, .35);
    color: #fff;
    font-size: 15px;
    opacity: 0;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .18s ease, background .18s ease;
}
.feature-card:hover .carousel-arrow,
.feature-card:focus-within .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: rgba(15, 54, 77, .72); }
.carousel-previous { left: 12px; }
.carousel-next { right: 12px; }
.feature-pagination {
    z-index: 6;
    right: 39px;
    bottom: 13px;
    left: auto;
    gap: 8px;
    transform: none;
}
.carousel-indicators { display: flex; align-items: center; gap: 5px; }
.carousel-indicators button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.48);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}
.carousel-indicators button.active { width: 19px; background: var(--brand-orange, #ff7d00); }
.feature-pagination .carousel-status { margin-left: 2px; color: rgba(255,255,255,.68); font-size: 10px; letter-spacing: .5px; }
.carousel-pause {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 7px;
    background: rgba(15, 54, 77, .28);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}
.carousel-pause:hover { background: rgba(15, 54, 77, .7); }

/* Optional desktop navigation rail */
.sidebar-toggle { color: var(--brand-navy, #115a88); }
.sidebar-toggle[aria-pressed="true"] { background: #eaf4fb; }
body.sidebar-collapsed .app-layout { grid-template-columns: 76px minmax(0, 1fr); }
body.sidebar-collapsed .sidebar { align-items: center; padding-right: 10px; padding-left: 10px; }
body.sidebar-collapsed .sidebar-label,
body.sidebar-collapsed .help-card,
body.sidebar-collapsed .side-count,
body.sidebar-collapsed .profile-link > span:not(.profile-avatar),
body.sidebar-collapsed .profile-more { display: none; }
body.sidebar-collapsed .side-nav,
body.sidebar-collapsed .sidebar-bottom,
body.sidebar-collapsed .profile-wrap { width: 100%; }
body.sidebar-collapsed .side-link { width: 100%; justify-content: center; gap: 0; padding: 0; font-size: 0; }
body.sidebar-collapsed .side-icon { flex: 0 0 18px; width: 18px; font-size: 18px; }
body.sidebar-collapsed .sidebar-divider { display: block; width: 100%; height: 1px; flex: 0 0 1px; margin: 15px 0 12px; }
body.sidebar-collapsed .sidebar-shortcuts { width: 100%; }
body.sidebar-collapsed .sidebar-shortcuts-heading { justify-content: center; }
body.sidebar-collapsed .edit-shortcuts { margin: 0; }
body.sidebar-collapsed .shortcut-list { width: 100%; align-items: stretch; }
body.sidebar-collapsed .sidebar-shortcut { justify-content: center; width: 100%; height: 42px; padding: 0; }
body.sidebar-collapsed .sidebar-shortcut > .bi:first-child { flex-basis: 18px; width: 18px; }
body.sidebar-collapsed .sidebar-shortcut > span,
body.sidebar-collapsed .shortcut-open-icon,
body.sidebar-collapsed .shortcuts-empty { display: none; }
body.sidebar-collapsed .sidebar-shortcut > .bi:first-child { font-size: 17px; }
body.sidebar-collapsed .profile-link { justify-content: center; padding: 12px 0 2px; }
body.sidebar-collapsed .shortcuts-menu { top: 0; left: calc(100% + 10px); }
body.sidebar-collapsed .sidebar-account .profile-menu { left: calc(100% + 10px); right: auto; bottom: 0; }
body[data-theme="dark"] .sidebar-toggle[aria-pressed="true"] { background: #20394c; }
body[data-theme="dark"] .carousel-arrow,
body[data-theme="dark"] .carousel-pause { background-color: rgba(8, 29, 43, .48); }

/* Live search and configurable workspace shortcuts */
.search-suggestions {
    position: absolute;
    z-index: 50;
    top: calc(100% + 10px);
    left: 0;
    width: min(440px, calc(100vw - 32px));
    max-height: min(68vh, 500px);
    overflow-y: auto;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 18px 48px rgba(19, 38, 58, .19);
    color: var(--ink);
}
.search-suggestions[hidden] { display: none !important; }
.search-heading { margin: 2px 9px 7px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .9px; }
.search-result {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 53px;
    gap: 11px;
    padding: 7px 9px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.search-result:hover,
.search-result:focus-visible { background: var(--surface-soft); }
.search-result-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: #e5f2fb; color: var(--brand-navy); font-size: 16px; }
.search-result-copy { display: grid; min-width: 0; gap: 3px; }
.search-result-copy strong { overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.search-result-copy small { color: var(--muted); font-size: 11px; }
.search-result-arrow { margin-left: auto; color: var(--muted); }
.search-empty { margin: 0; padding: 17px 11px; color: var(--ink-soft); font-size: 13px; }
.resource-highlight { animation: resource-highlight 1.8s ease; }
@keyframes resource-highlight {
    0%, 100% { box-shadow: none; }
    22%, 72% { box-shadow: 0 0 0 3px rgba(63, 169, 245, .5), var(--shadow); }
}

.sidebar-shortcuts { position: relative; min-width: 0; }
.sidebar-shortcuts-heading { display: flex; align-items: center; justify-content: space-between; min-height: 22px; }
.sidebar-shortcuts-heading .sidebar-label { margin: 0; padding-left: 11px; }
.edit-shortcuts { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; margin-right: 4px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; }
.edit-shortcuts:hover,
.edit-shortcuts[aria-expanded="true"] { background: var(--surface-soft); color: var(--brand-navy); }
.shortcut-list { display: grid; gap: 3px; margin-top: 5px; }
.sidebar-shortcut { display: flex; align-items: center; min-width: 0; min-height: 37px; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.sidebar-shortcut:hover { background: var(--surface-soft); color: var(--brand-navy); }
.sidebar-shortcut > .bi:first-child { display: grid; width: 18px; flex: 0 0 18px; place-items: center; color: var(--brand-navy); }
.sidebar-shortcut > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shortcut-open-icon { margin-left: auto; color: var(--muted); font-size: 11px; opacity: 0; }
.sidebar-shortcut:hover .shortcut-open-icon,
.sidebar-shortcut:focus-visible .shortcut-open-icon { opacity: 1; }
.shortcuts-empty { margin: 7px 10px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.shortcuts-menu { position: fixed; z-index: 1000; top: 8px; left: 8px; width: 275px; max-width: calc(100vw - 16px); max-height: min(560px, calc(100dvh - 16px)); overflow: auto; }
.shortcut-options { display: grid; gap: 2px; }
.shortcut-option { display: flex; align-items: center; min-height: 38px; gap: 9px; padding: 6px 9px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-soft); font-size: 12px; text-align: left; cursor: pointer; }
.shortcut-option:hover,
.shortcut-option:focus-visible { background: var(--surface-soft); color: var(--ink); }
.shortcut-option > .bi:first-child { display: grid; width: 18px; place-items: center; color: var(--brand-navy); }
.shortcut-option-check { margin-left: auto; color: var(--brand-green); opacity: 0; }
.shortcut-option.selected { color: var(--brand-navy); font-weight: 700; }
.shortcut-option.selected .shortcut-option-check { opacity: 1; }
.shortcut-menu-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 5px; padding: 9px 8px 2px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.shortcut-done { padding: 6px 10px; border: 0; border-radius: 7px; background: var(--brand-navy); color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
body[data-theme="dark"] .search-result-icon { background: #20394c; color: #8bc9f2; }
body[data-theme="dark"] .sidebar-shortcut:hover { color: #8bc9f2; }
body[data-theme="dark"] .sidebar-shortcut > .bi:first-child,
body[data-theme="dark"] .shortcut-option > .bi:first-child,
body[data-theme="dark"] .shortcut-option.selected { color: #8bc9f2; }

.public-site .topbar { grid-template-columns: var(--sidebar-width) minmax(100px, 1fr) auto; }
.public-sign-in { padding: 8px 2px; color: var(--ink-soft); font-size: 13px; font-weight: 700; white-space: nowrap; }
.public-sign-in:hover { color: var(--brand-navy); }
.public-join { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border-radius: 9px; background: var(--brand-orange); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.public-join:hover { background: #e97100; color: #fff; }
.public-site .top-actions { gap: 13px; }
.public-site .sidebar-bottom { margin-top: auto; }
.public-site .public-sidebar-label { margin-top: 1px; }
.public-site .public-subject-nav { margin-top: 8px; }
.public-site .public-invite { margin-bottom: 0; }
.public-site .public-create-link { white-space: nowrap; }
.public-site .welcome-row h1 span { color: var(--brand-orange); font-size: 1em; }
.public-site .resource-access { margin-left: auto; color: var(--brand-navy); font-size: 11px; font-weight: 700; white-space: nowrap; }
.public-site .resource-access:hover { color: var(--brand-orange); }
.public-site .resource-access i { margin-left: 3px; }
body[data-theme="dark"].public-site .public-sign-in { color: var(--ink-soft); }
body[data-theme="dark"].public-site .resource-access { color: #8bc9f2; }

.sidebar-tooltip { display: none; }

@media (min-width: 761px) {
    body.sidebar-collapsed .sidebar { z-index: 15; }
    .sidebar-tooltip {
        position: fixed;
        z-index: 200;
        display: block;
        padding: 7px 10px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 7px;
        background: #202b38;
        color: #fff;
        box-shadow: 0 5px 16px rgba(15, 30, 45, .2);
        font-size: 12px;
        font-weight: 600;
        line-height: 1.25;
        pointer-events: none;
        transform: translateY(-50%);
        white-space: nowrap;
    }
    .sidebar-tooltip[hidden] { display: none; }
}

.resource-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 120px;
    place-items: center;
    color: var(--brand-navy);
    font-size: 42px;
}

.resource-archive {
    min-height: calc(100vh - 76px);
}

.resource-library { max-width: 1280px; margin: 0 auto; padding: 18px 34px 52px; }
.resource-library-hero { position: relative; display: flex; min-height: 280px; align-items: center; justify-content: space-between; overflow: hidden; padding: 38px 48px; border: 1px solid #c4dced; border-radius: 22px; background: linear-gradient(115deg, #dceefa 0%, #e8f1fb 52%, #d8ebf3 100%); }
.resource-library-copy { position: relative; z-index: 1; max-width: 660px; }
.resource-library-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 13px; color: var(--brand-navy); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 0 4px rgba(63,169,245,.16); }
.resource-library-hero h1 { max-width: 620px; margin: 0; color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: clamp(32px, 4vw, 49px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.08; }
.resource-library-intro { max-width: 525px; margin: 14px 0 18px; color: #5e6a5d; font-size: 14px; line-height: 1.7; }
.resource-library-stat { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 12px; }
.resource-library-stat i { color: var(--brand-navy); font-size: 15px; }
.resource-library-stat strong { color: var(--brand-navy); font-size: 13px; }
.resource-library-art { position: relative; display: grid; width: 280px; min-width: 240px; height: 230px; place-items: center; }
.library-orbit { position: absolute; width: 215px; height: 215px; border: 1px solid rgba(17,90,136,.18); border-radius: 50%; transform: rotate(-24deg) scaleY(.66); }
.library-orbit-two { width: 172px; height: 172px; transform: rotate(38deg) scaleY(.72); }
.library-note { position: relative; display: flex; width: 168px; min-height: 166px; flex-direction: column; justify-content: center; padding: 22px; border: 1px solid rgba(17,90,136,.16); border-radius: 14px; background: #fffef9; box-shadow: 0 16px 34px rgba(17,90,136,.13); transform: rotate(5deg); }
.library-note > .bi-stars { margin-bottom: 12px; color: var(--brand-blue); font-size: 17px; }
.library-note > span { margin-bottom: 7px; color: #8b947f; font-size: 7px; font-weight: 800; letter-spacing: 1px; }
.library-note strong { color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: 18px; line-height: 1.25; }
.library-note-spark { position: absolute; right: 16px; bottom: 17px; color: #d3a94a; font-size: 19px; }
.resource-library-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 35px 0 15px; }
.resource-library-toolbar h2, .resource-results-heading h2 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: 20px; font-weight: 750; letter-spacing: -.45px; }
.resource-library-toolbar .section-overline { color: var(--muted); }
.resource-filter-reset { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-soft); font-size: 11px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.resource-filter-reset:hover { background: var(--surface); color: var(--green); }
.resource-filter-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.resource-filter-field { display: grid; gap: 7px; min-width: 0; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.resource-filter-field select { width: 100%; min-height: 42px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 8px; background-color: var(--surface-soft); color: var(--ink); font: inherit; font-size: 12px; }
.resource-filter-field select:focus-visible { outline: 3px solid rgba(63,169,245,.35); border-color: var(--brand-blue); }
.resource-filter-submit { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border: 0; border-radius: 8px; background: var(--brand-navy); color: #fff; cursor: pointer; font-size: 11px; font-weight: 750; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.resource-filter-submit:hover { background: var(--green-deep); transform: translateY(-1px); }
.resource-results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 32px 0 14px; }
.resource-results-heading h2 { font-size: 17px; }
.resource-results-heading > span { color: var(--muted); font-size: 11px; }
.resource-archive .resource-grid { gap: 16px; }
.resource-archive-empty { grid-column: 1 / -1; margin: 0; padding: 48px 24px; }
.resource-search-empty { display: grid; justify-items: center; gap: 9px; }
.resource-search-empty-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 4px; border-radius: 15px; background: #e8f3fb; color: var(--brand-navy); font-size: 19px; }
.resource-search-empty h3 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: 20px; }
.resource-search-empty p { margin: 0; color: var(--muted); font-size: 13px; }
.resource-search-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 5px; }
.resource-search-suggestion { display: inline-flex; min-height: 34px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--brand-navy); font-size: 12px; font-weight: 700; }
.resource-search-suggestion:hover { border-color: rgba(17,90,136,.3); background: #eaf4fb; }
.resource-search-suggestion i { color: var(--muted); font-size: 10px; }
.resource-pagination { display: flex; justify-content: center; margin: 34px 0 6px; }
.resource-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; gap: 8px; margin: 0 3px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink-soft); font-size: 12px; font-weight: 700; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.resource-pagination a.page-numbers:hover { border-color: rgba(17,90,136,.45); background: #eaf4fb; color: var(--brand-navy); }
.resource-pagination .page-numbers.current { border-color: var(--green); background: var(--green); color: #fff; }
.resource-pagination .page-numbers.dots { border-color: transparent; background: transparent; }
.resource-pagination a.page-numbers:focus-visible, .resource-filter-reset:focus-visible, .resource-filter-submit:focus-visible { outline: 3px solid rgba(63,169,245,.45); outline-offset: 2px; }
body[data-theme="dark"] .resource-library-hero { border-color: #285273; background: linear-gradient(115deg, #19354a 0%, #1c3041 52%, #183b4e 100%); }
body[data-theme="dark"] .resource-library-hero h1, body[data-theme="dark"] .library-note strong { color: #e2ecdf; }
body[data-theme="dark"] .resource-library-eyebrow, body[data-theme="dark"] .resource-library-stat i { color: var(--brand-blue); }
body[data-theme="dark"] .resource-library-intro, body[data-theme="dark"] .resource-library-stat { color: #b2bdb0; }
body[data-theme="dark"] .resource-library-stat strong { color: #e0ebdc; }
body[data-theme="dark"] .library-note { border-color: rgba(209,229,199,.14); background: #323d34; }
body[data-theme="dark"] .library-note > span { color: #a5b19f; }
body[data-theme="dark"] .library-orbit { border-color: rgba(63,169,245,.25); }
body[data-theme="dark"] .resource-filter-submit { background: var(--brand-blue); color: #122a3a; }
body[data-theme="dark"] .resource-filter-submit:hover { background: #69b8f5; }

.account-dashboard { width: min(100%, 1260px); margin: 0 auto; padding: 8px 0 34px; }
.account-pmpro-message { margin-bottom: 18px; padding: 13px 15px; border: 1px solid #c8e8d2; border-radius: 10px; background: #edf8f0; color: #235d36; font-size: 13px; line-height: 1.55; }
.account-pmpro-message.error, .account-pmpro-message.pmpro_error { border-color: #f0c7ca; background: #fff0f1; color: #9c343d; }
.account-pmpro-message.warning, .account-pmpro-message.pmpro_alert { border-color: #f1dfb6; background: #fff8e9; color: #805500; }
.account-dashboard-welcome { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; padding: clamp(22px, 3vw, 34px); border: 1px solid #d5e9f4; border-radius: 20px; background: linear-gradient(115deg, #e8f6fb 0%, #f3f8f6 62%, #fff1e2 100%); }
.account-dashboard-welcome-icon { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 16px; background: #fff; color: var(--brand-orange); font-size: 23px; box-shadow: 0 7px 18px rgba(17,90,136,.08); }
.account-dashboard-eyebrow { margin: 0 0 7px; color: var(--brand-navy); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.account-dashboard-welcome h1 { margin: 0; color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.account-dashboard-welcome > div > p:last-child { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.account-dashboard-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr); align-items: start; gap: 18px; }
.account-dashboard-panel { min-width: 0; padding: clamp(19px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }
.account-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.account-panel-heading .account-dashboard-eyebrow { margin-bottom: 4px; color: var(--muted); }
.account-panel-heading h2 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.account-panel-heading-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: #e8f3fb; color: var(--brand-navy); font-size: 16px; }
.account-profile-icon { background: #fff0e2; color: #b65b00; }
.account-membership-icon { background: #e9f8ee; color: #258044; }
.account-tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account-tool-card { position: relative; display: flex; min-height: 155px; align-items: flex-start; gap: 13px; padding: 18px 17px; border: 1px solid transparent; border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.account-tool-card:hover { transform: translateY(-2px); border-color: rgba(17,90,136,.14); box-shadow: 0 10px 24px rgba(31,60,79,.09); }
.account-tool-review { background: #eaf5fd; }
.account-tool-badges { background: #f0ebff; }
.account-tool-regulation { background: #eaf8ef; }
.account-tool-resources { background: #fff2e5; }
.account-tool-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 11px; background: rgba(255,255,255,.82); color: var(--brand-navy); font-size: 16px; }
.account-tool-badges .account-tool-icon { color: var(--brand-purple); }
.account-tool-regulation .account-tool-icon { color: #258044; }
.account-tool-resources .account-tool-icon { color: #bd6200; }
.account-tool-copy { display: grid; min-width: 0; gap: 7px; padding-right: 10px; }
.account-tool-eyebrow { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .9px; }
.account-tool-copy strong { color: var(--ink); font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; line-height: 1.3; }
.account-tool-description { color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.account-tool-arrow { position: absolute; top: 17px; right: 15px; color: var(--muted); font-size: 12px; }
.account-dashboard-aside { display: grid; gap: 18px; }
.account-profile-details { display: grid; gap: 12px; margin: 0 0 18px; }
.account-profile-details > div { display: grid; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.account-profile-details > div:last-child { padding-bottom: 0; border-bottom: 0; }
.account-profile-details dt { color: var(--muted); font-size: 10px; font-weight: 700; }
.account-profile-details dd { overflow-wrap: anywhere; margin: 0; color: var(--ink); font-size: 12px; font-weight: 600; }
.account-outline-button { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--brand-navy); font-size: 11px; font-weight: 750; transition: border-color .18s ease, background .18s ease; }
.account-outline-button:hover { border-color: rgba(17,90,136,.28); background: #eaf4fb; color: var(--brand-navy); }
.account-membership-list { display: grid; gap: 9px; margin: 0 0 15px; padding: 0; list-style: none; }
.account-membership-list li { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 700; }
.account-membership-list li i { color: var(--brand-green); font-size: 14px; }
.account-membership-actions { display: grid; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); }
.account-membership-actions a { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--brand-navy); font-size: 11px; font-weight: 750; }
.account-membership-actions a:hover { color: var(--brand-orange); }
.account-membership-actions .account-cancel-link { justify-content: flex-start; color: var(--muted); font-size: 10px; font-weight: 600; }
.account-membership-empty { margin: 0 0 15px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.membership-billing-page { width: min(100%, 980px); margin: 0 auto; padding: 8px 0 34px; }
.membership-billing-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; padding: clamp(22px, 3vw, 34px); border: 1px solid #d5e9f4; border-radius: 20px; background: linear-gradient(115deg, #e8f6fb 0%, #f3f8f6 62%, #fff1e2 100%); }
.membership-billing-hero-icon { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 16px; background: #fff; color: var(--brand-orange); font-size: 23px; box-shadow: 0 7px 18px rgba(17,90,136,.08); }
.membership-billing-hero h1 { margin: 0; color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.8px; line-height: 1.15; }
.membership-billing-hero > div > p:last-child { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.membership-billing-status { margin-bottom: 18px; }
.membership-billing-status .account-panel-heading { margin-bottom: 12px; }
.membership-billing-status .account-membership-list { margin-bottom: 10px; }
.membership-billing-status-copy { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.membership-billing-section-heading { margin: 0 0 13px; }
.membership-billing-section-heading .account-dashboard-eyebrow { margin-bottom: 4px; }
.membership-billing-section-heading h2 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.membership-billing-perk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.membership-billing-perk { display: flex; min-height: 140px; align-items: flex-start; gap: 13px; padding: 19px; border: 1px solid transparent; border-radius: 14px; }
.membership-billing-perk-personal { background: #eaf5fd; }
.membership-billing-perk-early { background: #fff2e5; }
.membership-billing-perk-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: rgba(255,255,255,.82); color: var(--brand-navy); font-size: 17px; }
.membership-billing-perk-early .membership-billing-perk-icon { color: #bd6200; }
.membership-billing-perk h3 { margin: 2px 0 7px; color: var(--ink); font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; line-height: 1.4; }
.membership-billing-perk p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.membership-billing-account-link { width: fit-content; margin-top: 18px; text-decoration: none; }
.member-login-page { width: min(100%, 1220px); margin: 0 auto; padding: 18px 0 42px; }
.member-login-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); align-items: start; gap: 24px; }
.member-login-panel, .member-login-promo { min-width: 0; padding: clamp(24px, 3.2vw, 46px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.member-login-heading { margin-bottom: 26px; }
.member-login-eyebrow { display: block; margin: 0 0 8px; color: var(--brand-navy); font-size: 9px; font-weight: 800; letter-spacing: 1.25px; }
.member-login-heading h1, .member-login-promo h2 { margin: 0; color: var(--brand-green); font-family: Manrope, sans-serif; font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.9px; line-height: 1.15; }
.member-login-heading > p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.member-login-form-wrap .pmpro_message { margin-bottom: 17px; }
.member-login-form-wrap form { margin: 0; }
.member-login-form-wrap .login-username, .member-login-form-wrap .login-password { margin: 0 0 20px; }
.member-login-form-wrap label { display: block; margin: 0 0 7px; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.member-login-form-wrap input[type="text"], .member-login-form-wrap input[type="password"] { width: 100%; min-height: 50px; padding: 11px 15px; border: 1px solid #d5d9d4; border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; box-shadow: 0 2px 3px rgba(32,39,31,.04); }
.member-login-form-wrap input[type="text"]:focus, .member-login-form-wrap input[type="password"]:focus { border-color: var(--brand-blue); outline: 3px solid rgba(63,169,245,.18); }
.member-login-form-wrap .login-remember { margin: 2px 0 20px; }
.member-login-form-wrap .login-remember label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); cursor: pointer; }
.member-login-form-wrap input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--brand-navy); }
.member-login-form-wrap .login-submit { margin: 0; }
.member-login-form-wrap input[type="submit"], .member-login-submit { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 10px; background: var(--brand-green); color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.member-login-form-wrap input[type="submit"]:hover, .member-login-submit:hover { background: #35b957; color: #fff; transform: translateY(-1px); }
.member-login-submit-link { margin: 0; }
.member-login-lost-password { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; margin-top: 13px; border-radius: 10px; background: var(--surface-soft); color: var(--ink); font-size: 13px; font-weight: 650; text-decoration: none; }
.member-login-lost-password:hover { background: #edf2f5; color: var(--brand-navy); }
.member-login-promo { padding: clamp(24px, 3vw, 38px); border-color: #d4e9f8; background: #e7f3fd; box-shadow: none; }
.member-login-promo-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 20px; border-radius: 13px; background: #fff; color: var(--brand-orange); font-size: 19px; }
.member-login-promo .member-login-eyebrow { color: var(--brand-navy); }
.member-login-promo h2 { margin: 0 0 12px; color: var(--brand-navy); font-size: clamp(25px, 2.8vw, 33px); }
.member-login-promo > p:not(.member-login-eyebrow) { margin: 0 0 18px; color: #344c5e; font-size: 13px; line-height: 1.75; }
.member-login-register-button { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 9px; margin-top: 23px; padding: 12px 16px; border-radius: 10px; background: var(--brand-navy); color: #fff; font-size: 13px; font-weight: 750; text-align: center; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.member-login-register-button:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); }
.member-checkout-page { width: min(100%, 1360px); margin: 0 auto; padding: 18px 0 42px; }
.member-checkout-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); align-items: start; gap: 24px; }
.member-checkout-panel, .member-checkout-promo { min-width: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.member-checkout-heading { margin-bottom: 24px; }
.member-checkout-eyebrow { display: block; margin: 0 0 8px; color: var(--brand-navy); font-size: 9px; font-weight: 800; letter-spacing: 1.25px; }
.member-checkout-heading h1 { margin: 0; color: var(--brand-green); font-family: Manrope, sans-serif; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.8px; line-height: 1.15; text-transform: capitalize; }
.member-checkout-heading > p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.member-checkout-form-section { min-width: 0; }
.member-checkout-form { margin: 0; }
.member-checkout-level { display: flex; align-items: center; gap: 12px; margin: 0 0 21px; padding: 12px 14px; border: 1px solid #d5e9f4; border-radius: 11px; background: #f0f8fc; }
.member-checkout-level-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 10px; background: #fff; color: var(--brand-navy); font-size: 16px; }
.member-checkout-level > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
.member-checkout-level-label { color: var(--muted); font-size: 9px; font-weight: 700; }
.member-checkout-level strong { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; }
.member-checkout-free-badge { margin-left: auto; padding: 5px 8px; border-radius: 20px; background: #e6f7eb; color: #258044; font-size: 9px; font-weight: 850; letter-spacing: .5px; }
.member-checkout-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.member-checkout-fieldset legend { margin: 0 0 15px; padding: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; }
.member-checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.member-checkout-field { display: grid; min-width: 0; align-content: start; gap: 6px; }
.member-checkout-field-half { grid-column: span 1; }
.member-checkout-field:not(.member-checkout-field-half) { grid-column: 1 / -1; }
.member-checkout-field label { color: var(--ink); font-size: 12px; font-weight: 700; }
.member-checkout-field input { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #d5d9d4; border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; box-shadow: 0 2px 3px rgba(32,39,31,.035); }
.member-checkout-field input:focus { border-color: var(--brand-blue); outline: 3px solid rgba(63,169,245,.18); }
.member-checkout-field small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.member-checkout-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.member-checkout-logged-in { margin: 0 0 18px; padding: 13px; border-radius: 10px; background: var(--surface-soft); color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.member-checkout-terms { display: flex; align-items: flex-start; gap: 9px; margin: 19px 0 17px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; cursor: pointer; }
.member-checkout-terms input { width: 16px; height: 16px; flex: 0 0 16px; margin: 1px 0 0; accent-color: var(--brand-navy); }
.member-checkout-terms a { color: var(--brand-navy); font-weight: 700; }
.member-checkout-submit-wrap { margin-top: 20px; }
.member-checkout-submit { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; border: 0; border-radius: 10px; background: var(--brand-green); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.member-checkout-submit:hover { background: #35b957; color: #fff; transform: translateY(-1px); }
.member-checkout-submit-link { margin: 0; }
.member-checkout-processing { margin-top: 8px; color: var(--muted); font-size: 11px; text-align: center; }
.member-checkout-promo { padding: clamp(24px, 3vw, 38px); border-color: #d4e9f8; background: #e7f3fd; box-shadow: none; }
.member-checkout-promo-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 18px; border-radius: 13px; background: #fff; color: var(--brand-orange); font-size: 19px; }
.member-checkout-promo h2 { margin: 0 0 10px; color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -.6px; line-height: 1.2; }
.member-checkout-promo > p:not(.member-checkout-eyebrow) { margin: 0 0 17px; color: #344c5e; font-size: 13px; line-height: 1.7; }
.member-checkout-promo ul { display: grid; gap: 10px; margin: 20px 0 23px; padding: 0; list-style: none; }
.member-checkout-promo li { display: flex; align-items: flex-start; gap: 9px; color: #344c5e; font-size: 12px; line-height: 1.5; }
.member-checkout-promo li i { margin-top: 1px; color: var(--brand-green); }
.member-checkout-login-link { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 11px 15px; border-radius: 10px; background: var(--brand-navy); color: #fff; font-size: 12px; font-weight: 750; text-align: center; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.member-checkout-login-link:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); }
body[data-theme="dark"] .member-login-panel { border-color: var(--line); background: var(--surface); }
body[data-theme="dark"] .member-login-promo { border-color: #31536a; background: #20394c; }
body[data-theme="dark"] .member-login-promo h2 { color: #b8dafa; }
body[data-theme="dark"] .member-login-promo > p:not(.member-login-eyebrow) { color: #d0dce5; }
body[data-theme="dark"] .member-login-form-wrap input[type="text"],
body[data-theme="dark"] .member-login-form-wrap input[type="password"] { border-color: var(--line); background: var(--surface-soft); color: var(--ink); }
body[data-theme="dark"] .member-login-lost-password { background: var(--surface-soft); color: var(--ink); }
body[data-theme="dark"] .member-login-lost-password:hover { background: #20394c; color: #8bc9f2; }
body[data-theme="dark"] .member-login-submit { color: #fff; }
body[data-theme="dark"] .member-checkout-promo { border-color: #31536a; background: #20394c; }
body[data-theme="dark"] .member-checkout-promo h2 { color: #b8dafa; }
body[data-theme="dark"] .member-checkout-promo > p:not(.member-checkout-eyebrow),
body[data-theme="dark"] .member-checkout-promo li { color: #d0dce5; }
body[data-theme="dark"] .member-checkout-promo-icon { background: #293e4b; }
body[data-theme="dark"] .member-checkout-level { border-color: #31536a; background: #20394c; }
body[data-theme="dark"] .member-checkout-level-icon { background: #293e4b; color: #8bc9f2; }
body[data-theme="dark"] .member-checkout-free-badge { background: #233d32; color: #76dc8e; }
body[data-theme="dark"] .member-checkout-field input { border-color: var(--line); background: var(--surface-soft); color: var(--ink); }
body[data-theme="dark"] .member-checkout-terms a { color: #8bc9f2; }
body[data-theme="dark"] .membership-billing-hero { border-color: #31536a; background: linear-gradient(115deg, #203e51 0%, #243743 62%, #493622 100%); }
body[data-theme="dark"] .membership-billing-hero h1 { color: #e6f4fb; }
body[data-theme="dark"] .membership-billing-hero-icon { background: #293e4b; }
body[data-theme="dark"] .membership-billing-perk-personal { background: #20394c; }
body[data-theme="dark"] .membership-billing-perk-early { background: #443426; }
body[data-theme="dark"] .membership-billing-perk-icon { background: rgba(255,255,255,.08); color: #8bc9f2; }
body[data-theme="dark"] .membership-billing-perk-early .membership-billing-perk-icon { color: #ffc078; }
.member-profile-page { width: min(100%, 980px); margin: 0 auto; padding: 8px 0 34px; }
.member-profile-hero { display: flex; align-items: center; gap: 17px; margin-bottom: 18px; padding: clamp(22px, 3vw, 32px); border: 1px solid #d5e9f4; border-radius: 18px; background: linear-gradient(115deg, #e8f6fb 0%, #f3f8f6 65%, #fff1e2 100%); }
.member-profile-hero-icon, .member-profile-section-icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 14px; background: #fff; color: var(--brand-navy); font-size: 20px; box-shadow: 0 7px 18px rgba(17,90,136,.08); }
.member-profile-breadcrumb { margin: 0 0 10px; }
.member-profile-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 11px; }
.member-profile-breadcrumb li + li::before { margin-right: 8px; color: var(--muted); content: "/"; }
.member-profile-breadcrumb a { color: var(--brand-navy); font-weight: 750; text-decoration: none; }
.member-profile-breadcrumb a:hover { color: var(--brand-orange); text-decoration: underline; }
.member-profile-breadcrumb [aria-current="page"] { color: var(--ink-soft); }
.member-profile-hero h1 { margin: 0; color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.8px; }
.member-profile-hero > div > p:last-child { margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.member-profile-panel { margin-bottom: 16px; padding: clamp(19px, 2.5vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.member-profile-panel .pmpro_message { margin: 0 0 16px; }
.member-profile-panel .pmpro_form { margin: 0; }
.member-profile-panel .pmpro_form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.member-profile-panel .pmpro_form legend { margin-bottom: 17px; padding: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: 19px; font-weight: 800; }
.member-profile-panel .pmpro_form > p { margin: 0 0 14px; }
.member-profile-panel .pmpro_form label { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.member-profile-panel .pmpro_form input[type="text"],
.member-profile-panel .pmpro_form input[type="email"],
.member-profile-panel .pmpro_form input[type="password"],
.member-profile-panel .pmpro_form select { width: min(100%, 520px); min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--ink); font: inherit; font-size: 13px; }
.member-profile-panel .pmpro_form input:focus,
.member-year-level-form input:focus { border-color: var(--brand-blue); outline: 3px solid rgba(63,169,245,.18); }
.member-profile-panel .pmpro_form .pmpro_asterisk { color: var(--brand-red); }
.member-profile-panel .pmpro_form .pmpro_submit { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.member-profile-panel .pmpro_form input[type="submit"],
.member-profile-save { display: inline-flex; min-height: 41px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 0; border-radius: 9px; background: var(--brand-navy); color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.member-profile-panel .pmpro_form input[type="submit"]:hover,
.member-profile-save:hover { background: var(--green-deep); }
.member-profile-panel .pmpro_form .pmpro_actionlinks { margin-left: auto; font-size: 11px; }
.member-profile-panel .pmpro_form .pmpro_actionlinks a { color: var(--brand-navy); font-weight: 700; }
.member-profile-panel .pmpro_form .pmpro_actionlinks a:hover { color: var(--brand-orange); }
.member-profile-panel .pmpro_form .pmpro_member_profile_edit-field-email p { color: var(--muted); font-size: 11px; line-height: 1.5; }
.member-profile-panel .pmpro_form .pmpro_member_profile_edit-field-email input[disabled] { opacity: .7; cursor: not-allowed; }
.member-profile-panel.member-year-level-panel { padding-bottom: 20px; }
.member-account-panel .pmpro_card_content { padding: 0; }
.member-account-panel .pmpro_form_legend { display: none; }
.member-account-panel .pmpro_form_fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.member-account-panel .pmpro_form_fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.member-account-panel .pmpro_form_field { min-width: 0; }
.member-account-panel .pmpro_form_label { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.member-account-panel .pmpro_form_input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--ink); font: inherit; font-size: 13px; }
.member-account-panel .pmpro_form_input:focus { border-color: var(--brand-blue); outline: 0; box-shadow: 0 0 0 3px rgba(17,90,136,.12); }
.member-account-panel .pmpro_form_input[readonly] { opacity: .7; cursor: not-allowed; }
.member-account-panel .pmpro_form_hint { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.member-account-panel .pmpro_form_submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.member-account-panel .pmpro_btn { display: inline-flex; min-height: 41px; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border: 1px solid var(--brand-navy); border-radius: 9px; background: var(--brand-navy); color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.member-account-panel .pmpro_btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.member-account-panel .pmpro_btn-cancel { border-color: var(--line); background: transparent; color: var(--ink-soft); }
.member-account-panel .pmpro_btn-cancel:hover { border-color: var(--brand-navy); background: var(--surface-soft); color: var(--brand-navy); }
.member-account-panel .pmpro_btn:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
body[data-theme="dark"] .member-account-panel .pmpro_btn-cancel:hover { border-color: #42637a; color: #8bc9f2; }
@media (max-width: 640px) { .member-account-panel .pmpro_form_fields { grid-template-columns: 1fr; } .member-account-panel .pmpro_form_submit { justify-content: stretch; } .member-account-panel .pmpro_btn { flex: 1; } }
.member-profile-panel-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; }
.member-profile-section-icon { background: #e8f3fb; font-size: 17px; box-shadow: none; }
.member-profile-panel-heading .account-dashboard-eyebrow { margin-bottom: 4px; color: var(--muted); }
.member-profile-panel-heading h2 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.member-profile-panel-heading > div > p:last-child { margin: 5px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.member-year-level-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.member-year-level-option { display: flex; min-height: 44px; align-items: center; gap: 10px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--ink-soft); font-size: 12px; font-weight: 650; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.member-year-level-option:focus-within { border-color: var(--brand-blue); }
.member-year-level-option input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; accent-color: var(--brand-navy); }
.member-year-level-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.member-year-level-footer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
body[data-theme="dark"] .member-profile-hero { border-color: #31536a; background: linear-gradient(115deg, #203e51 0%, #243743 65%, #493622 100%); }
body[data-theme="dark"] .member-profile-hero h1 { color: #e6f4fb; }
body[data-theme="dark"] .member-profile-hero-icon { background: #293e4b; color: #8bc9f2; }
body[data-theme="dark"] .member-profile-breadcrumb a { color: #8bc9f2; }
body[data-theme="dark"] .member-profile-breadcrumb a:hover { color: #ffc078; }
body[data-theme="dark"] .member-profile-section-icon { background: #20394c; color: #8bc9f2; }
body[data-theme="dark"] .member-profile-panel .pmpro_form input[type="text"],
body[data-theme="dark"] .member-profile-panel .pmpro_form input[type="email"],
body[data-theme="dark"] .member-profile-panel .pmpro_form input[type="password"],
body[data-theme="dark"] .member-profile-panel .pmpro_form select { border-color: var(--line); background: var(--surface-soft); color: var(--ink); }
body[data-theme="dark"] .member-year-level-option:focus-within { border-color: #42637a; }
.member-shortcut-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.member-shortcut-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.member-shortcut-item:focus-within { border-color: var(--brand-blue); }
.member-shortcut-label { display: flex; flex: 1; min-width: 0; min-height: 36px; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 13px; font-weight: 650; cursor: pointer; }
.member-shortcut-label input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; accent-color: var(--brand-navy); }
.member-shortcut-label i { font-size: 16px; color: var(--brand-navy); }
.member-shortcut-label small { margin-left: auto; color: var(--ink-soft); font-size: 11px; font-weight: 600; opacity: .75; }
.member-shortcut-move { display: flex; gap: 4px; }
.member-shortcut-move button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink-soft); cursor: pointer; }
.member-shortcut-move button:hover, .member-shortcut-move button:focus-visible { border-color: var(--brand-blue); color: var(--brand-navy); }
body[data-theme="dark"] .member-shortcut-item:focus-within { border-color: #42637a; }
body[data-theme="dark"] .member-shortcut-label i { color: #9fc7e0; }
.member-shortcut-item.is-disabled { opacity: .55; }
.member-shortcut-item.is-disabled .member-shortcut-label { cursor: not-allowed; }
body[data-theme="dark"] .account-dashboard-welcome { border-color: #31536a; background: linear-gradient(115deg, #203e51 0%, #243743 62%, #493622 100%); }
body[data-theme="dark"] .account-dashboard-welcome h1 { color: #e6f4fb; }
body[data-theme="dark"] .account-dashboard-welcome-icon { background: #293e4b; }
body[data-theme="dark"] .account-pmpro-message { border-color: #315640; background: #223b2c; color: #b7edc4; }
body[data-theme="dark"] .account-pmpro-message.error, body[data-theme="dark"] .account-pmpro-message.pmpro_error { border-color: #653c43; background: #40272c; color: #ffb6bc; }
body[data-theme="dark"] .account-pmpro-message.warning, body[data-theme="dark"] .account-pmpro-message.pmpro_alert { border-color: #665234; background: #403522; color: #f3d28a; }
body[data-theme="dark"] .account-dashboard-eyebrow { color: #8bc9f2; }
body[data-theme="dark"] .account-tool-review { background: #20394c; }
body[data-theme="dark"] .account-tool-badges { background: #332b4b; }
body[data-theme="dark"] .account-tool-regulation { background: #233d32; }
body[data-theme="dark"] .account-tool-resources { background: #443426; }
body[data-theme="dark"] .account-tool-icon { background: rgba(255,255,255,.08); }
body[data-theme="dark"] .account-profile-icon { background: #443426; color: #ffc078; }
body[data-theme="dark"] .account-membership-icon { background: #233d32; color: #76dc8e; }
body[data-theme="dark"] .account-outline-button:hover { background: #20394c; }

.resource-single { max-width: 1440px; min-height: calc(100vh - 76px); }
.resource-single-entry { min-width: 0; }
.resource-detail-hero {
    position: relative;
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    align-items: center;
    gap: clamp(22px, 3vw, 40px);
    overflow: hidden;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid #c5dced;
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 92% 10%, rgba(255,255,255,.7), transparent 34%),
        linear-gradient(118deg, #dceefa 0%, #e8f1fb 53%, #d7eaf3 100%);
}
.resource-detail-copy { position: relative; z-index: 1; min-width: 0; }
.resource-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--brand-navy); font-size: 12px; font-weight: 750; }
.resource-back-link:hover { color: var(--green-deep); }
.resource-detail-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; color: var(--brand-navy); font-size: 10px; font-weight: 800; letter-spacing: 1.15px; }
.resource-detail-eyebrow .eyebrow-dot { flex: 0 0 7px; }
.resource-detail-hero h1 { max-width: 720px; margin: 0; color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: clamp(30px, 3.3vw, 41px); font-weight: 800; letter-spacing: -1.35px; line-height: 1.08; }
.resource-single-excerpt { max-width: 630px; margin: 10px 0 14px; color: #536779; font-size: 14px; line-height: 1.6; }
.resource-detail-taxonomies { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 17px; }
.resource-detail-taxonomy-group, .resource-detail-chip-list { display: contents; }
.resource-detail-taxonomy-label { align-self: center; padding: 0 2px 0 6px; color: #647d8e; font-size: 9px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }
.resource-detail-chip { display: inline-flex; min-height: 26px; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid rgba(17,90,136,.12); border-radius: 999px; background: rgba(255,255,255,.64); color: var(--brand-navy); font-size: 10px; font-weight: 700; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
a.resource-detail-chip:hover { transform: translateY(-1px); border-color: rgba(17,90,136,.3); background: #fff; }
.resource-detail-chip-list .resource-detail-chip { justify-content: center; }
.resource-detail-chip-more { border-style: dashed; background: rgba(255,255,255,.38); color: #526d80; cursor: pointer; font: inherit; font-size: 10px; font-weight: 750; }
.resource-detail-chip-more:hover { border-color: rgba(17,90,136,.3); background: #fff; }
.resource-detail-extra-chips { display: contents; }
.resource-detail-extra-chips[hidden] { display: none; }
.resource-detail-chip > i { color: var(--brand-orange); }
.resource-purchase-button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; border: 1px solid var(--brand-navy); border-radius: 10px; background: var(--brand-navy); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 8px 18px rgba(17,90,136,.16); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.resource-purchase-button:hover { transform: translateY(-2px); background: var(--green-deep); color: #fff; box-shadow: 0 12px 24px rgba(17,90,136,.2); }
.resource-purchase-arrow { margin-left: 4px; color: rgba(255,255,255,.72); }
.resource-purchase-legacy a { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; border: 1px solid var(--brand-navy); border-radius: 10px; background: var(--brand-navy); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 8px 18px rgba(17,90,136,.16); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.resource-purchase-legacy a:hover { transform: translateY(-2px); background: var(--green-deep); color: #fff; box-shadow: 0 12px 24px rgba(17,90,136,.2); }
.resource-detail-art { position: relative; display: grid; min-width: 0; min-height: 220px; max-height: 270px; place-items: center; overflow: hidden; margin: 0; border: 1px solid rgba(17,90,136,.12); border-radius: 18px; background: rgba(255,255,255,.52); box-shadow: 0 14px 32px rgba(17,90,136,.1); }
.resource-detail-art::before, .resource-detail-art::after { position: absolute; width: 230px; height: 230px; border: 1px solid rgba(17,90,136,.1); border-radius: 50%; content: ""; pointer-events: none; }
.resource-detail-art::after { width: 175px; height: 175px; }
.resource-detail-art img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; max-height: 270px; padding: 13px 13px 0 13px; object-fit: contain; }
.resource-detail-placeholder { position: relative; z-index: 1; display: grid; width: 88px; height: 88px; place-items: center; border-radius: 24px; background: rgba(255,255,255,.8); color: var(--brand-navy); font-size: 38px; box-shadow: 0 10px 24px rgba(17,90,136,.12); }
.resource-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; margin-top: 24px; }
.resource-detail-layout.has-curriculum { grid-template-columns: minmax(0, 1.45fr) minmax(310px, .85fr); }
.resource-content-panel, .resource-curriculum-panel { min-width: 0; padding: clamp(20px, 2.5vw, 30px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.resource-panel-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.resource-panel-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; background: #e8f3fb; color: var(--brand-navy); font-size: 18px; }
.curriculum-panel-icon { background: #eaf8ee; color: #278c47; }
.resource-panel-heading .section-overline { margin-bottom: 4px; font-size: 9px; }
.resource-panel-heading h2, .resource-related-heading h2 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: -.55px; }
.resource-single-content { color: var(--ink-soft); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.resource-single-content > :last-child { margin-bottom: 0; }
.resource-single-content h2, .resource-single-content h3, .resource-single-content h4 { margin: 1.5em 0 .55em; color: var(--ink); font-family: Manrope, sans-serif; line-height: 1.3; }
.resource-single-content h2 { font-size: 1.35em; }
.resource-single-content h3 { font-size: 1.15em; }
.resource-single-content a { color: var(--brand-navy); text-decoration: underline; text-underline-offset: 3px; }
.resource-single-content img, .resource-single-content video, .resource-single-content iframe { max-width: 100%; border-radius: 10px; }
.resource-single-content iframe { width: 100%; }
.resource-single-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.resource-single-content th, .resource-single-content td { padding: 9px 12px; border: 1px solid var(--line); }
.resource-curriculum-list { display: grid; max-height: 560px; gap: 9px; overflow-y: auto; padding: 1px 5px 1px 1px; scrollbar-color: #b7c8d1 transparent; scrollbar-width: thin; }
.resource-curriculum-item { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
.resource-curriculum-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.resource-curriculum-context { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 650; }
.resource-curriculum-code { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-navy); font-size: 12px; font-weight: 800; }
.resource-curriculum-code:hover { color: var(--brand-orange); }
.resource-curriculum-code i { font-size: 10px; }
.resource-curriculum-strand { max-width: 48%; padding: 4px 7px; border-radius: 6px; background: #e8f3fb; color: var(--brand-navy); font-size: 9px; font-weight: 750; text-align: right; }
.resource-curriculum-description { margin: 9px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; }
.resource-curriculum-empty { margin: 0; padding: 15px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.resource-related-section { margin-top: 42px; }
.resource-related-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.resource-related-heading .section-overline { margin-bottom: 5px; }
.resource-related-heading h2 { font-size: clamp(21px, 2.4vw, 27px); }
.resource-related-heading > div > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.resource-related-heading > .text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; }
.resource-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body[data-theme="dark"] .resource-detail-hero { border-color: #285273; background: radial-gradient(ellipse at 92% 10%, rgba(63,169,245,.14), transparent 34%), linear-gradient(118deg, #19354a 0%, #1c3041 53%, #183b4e 100%); }
body[data-theme="dark"] .resource-detail-hero h1 { color: #e3f2fb; }
body[data-theme="dark"] .resource-back-link, body[data-theme="dark"] .resource-detail-eyebrow { color: #9bd3f8; }
body[data-theme="dark"] .resource-single-excerpt { color: #c1d0d9; }
body[data-theme="dark"] .resource-detail-chip { border-color: rgba(155,211,248,.18); background: rgba(20,41,57,.7); color: #d3e9f8; }
body[data-theme="dark"] .resource-detail-taxonomy-label { color: #9fb6c5; }
body[data-theme="dark"] .resource-detail-chip-more { background: rgba(20,41,57,.4); color: #b7cfde; }
body[data-theme="dark"] .resource-detail-art { border-color: rgba(155,211,248,.16); background: rgba(20,41,57,.65); }
body[data-theme="dark"] .resource-detail-art::before, body[data-theme="dark"] .resource-detail-art::after { border-color: rgba(155,211,248,.13); }
body[data-theme="dark"] .resource-detail-art img { mix-blend-mode: normal; }
body[data-theme="dark"] .resource-panel-icon { background: #20394c; color: #9bd3f8; }
body[data-theme="dark"] .curriculum-panel-icon { background: #203e31; color: #83d99a; }
body[data-theme="dark"] .resource-curriculum-item { background: var(--surface-soft); }
body[data-theme="dark"] .resource-curriculum-strand { background: #20394c; color: #b8dafa; }
body[data-theme="dark"] .resource-curriculum-list { scrollbar-color: #52697a transparent; }

html.is-changing #discover {
    transition: opacity .2s ease;
}

html.is-animating #discover {
    opacity: 0;
}

.page-loading-indicator {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

.page-loading-indicator[aria-hidden="true"] {
    visibility: hidden;
}

.page-loading-indicator > span {
    display: block;
    width: 32%;
    height: 100%;
    background: var(--brand-orange);
    transform: translateX(-110%);
}

body.is-page-loading .page-loading-indicator {
    visibility: visible;
    opacity: 1;
}

body.is-page-loading .page-loading-indicator > span {
    animation: page-loading-progress 1.2s ease-in-out infinite;
}

.page-loading-indicator.is-complete {
    visibility: visible;
    opacity: 0;
}

.page-loading-indicator.is-complete > span {
    width: 100%;
    transform: translateX(0);
    transition: width .18s ease-out;
}

@keyframes page-loading-progress {
    from { transform: translateX(-110%); }
    to { transform: translateX(320%); }
}

@media (max-width: 1120px) {
    :root { --sidebar-width: 214px; }
    .topbar { gap: 22px; padding: 0 24px; }
    .main-content { padding-right: 30px; padding-left: 30px; }
    .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resource-image { height: 165px; }
    .feature-art { width: 46%; }
    .note-front { right: 135px; }
    .resource-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .public-site .topbar { grid-template-columns: var(--sidebar-width) minmax(100px, 1fr) auto; }
    .public-site .top-actions { gap: 9px; }
}

@media (max-width: 900px) {
    .account-dashboard-layout { grid-template-columns: minmax(0, 1fr); }
    .account-dashboard-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .member-login-grid { grid-template-columns: minmax(0, 1fr); }
    .member-checkout-grid { grid-template-columns: minmax(0, 1fr); }
    .membership-billing-perk-grid { grid-template-columns: minmax(0, 1fr); }
    .member-year-level-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resource-library { padding-right: 24px; padding-left: 24px; }
    .resource-library-hero { padding: 32px; }
    .resource-library-art { width: 220px; min-width: 190px; }
    .resource-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resource-detail-hero { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 24px; padding: 30px; }
    .resource-detail-layout.has-curriculum { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 15px; }
}

@media (max-width: 760px) {
    .account-dashboard { padding-top: 0; }
    .account-dashboard-aside { grid-template-columns: minmax(0, 1fr); }
    .account-dashboard-welcome { align-items: flex-start; gap: 13px; padding: 21px; }
    .account-dashboard-welcome-icon { width: 43px; height: 43px; flex-basis: 43px; border-radius: 13px; font-size: 19px; }
    .account-dashboard-welcome > div > p:last-child { font-size: 12px; }
    .topbar { grid-template-columns: auto minmax(100px, 1fr) auto; gap: 13px; height: 64px; padding: 0 16px; }
    .brand { gap: 7px; }
    .brand-mark { width: 25px; height: 25px; }
    .brand-name { font-size: 14px; }
    .top-search { height: 38px; }
    .top-search kbd { display: none; }
    .top-actions { gap: 7px; }
    .icon-button { width: 34px; height: 34px; }
    .avatar-button { display: none; }
    .mobile-menu-toggle { display: inline-grid; }
    .app-layout { display: block; min-height: calc(100vh - 64px); }
    .sidebar { position: fixed; z-index: 30; top: 64px; left: 0; width: min(290px, 86vw); height: calc(100dvh - 64px); min-height: 0; box-shadow: 18px 0 35px rgba(0,0,0,.12); transform: translateX(-105%); transition: transform .22s ease; }
    .sidebar.sidebar-open { transform: translateX(0); }
    .sidebar-toggle { display: none; }
    .sidebar-backdrop {
        position: fixed;
        z-index: 25;
        inset: 64px 0 0;
        display: block;
        width: 100%;
        border: 0;
        background: rgba(15, 27, 38, .32);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }
    .sidebar.sidebar-open + .sidebar-backdrop { opacity: 1; pointer-events: auto; }
    body.sidebar-collapsed .app-layout { display: block; }
    body.sidebar-collapsed .sidebar { align-items: stretch; width: min(290px, 86vw); padding: 27px 16px 16px; }
    body.sidebar-collapsed .sidebar-label,
    body.sidebar-collapsed .sidebar-divider,
    body.sidebar-collapsed .help-card,
    body.sidebar-collapsed .side-count,
    body.sidebar-collapsed .profile-link > span:not(.profile-avatar),
    body.sidebar-collapsed .profile-more { display: initial; }
    body.sidebar-collapsed .sidebar-divider,
    body.sidebar-collapsed .side-nav,
    body.sidebar-collapsed .sidebar-bottom,
    body.sidebar-collapsed .profile-wrap { width: 100%; }
    body.sidebar-collapsed .side-link { width: auto; justify-content: flex-start; gap: 12px; padding: 0 11px; font-size: 14px; }
    body.sidebar-collapsed .side-icon { flex: 0 0 18px; width: 18px; font-size: 15px; }
    body.sidebar-collapsed .sidebar-shortcuts-heading { justify-content: space-between; }
    body.sidebar-collapsed .sidebar-shortcut { justify-content: flex-start; width: 100%; height: auto; padding: 8px; }
    body.sidebar-collapsed .sidebar-shortcut > span:not(.sidebar-tooltip) { display: block; }
    body.sidebar-collapsed .shortcut-open-icon { display: inline-block; }
    body.sidebar-collapsed .shortcuts-empty { display: block; }
    body.sidebar-collapsed .profile-link { justify-content: flex-start; padding: 12px 4px 2px; }
    body.sidebar-collapsed .shortcuts-menu { top: calc(100% + 7px); left: 0; }
    body.sidebar-collapsed .sidebar-account .profile-menu { right: 0; bottom: calc(100% + 9px); left: auto; }
    .main-content { padding: 26px 22px 24px; }
    .welcome-row { align-items: flex-start; }
    .date-pill { margin-top: 6px; font-size: 0; }
    .date-pill span { font-size: 13px; }
    .feature-card, .feature-slide { min-height: 300px; }
    .feature-copy { width: 66%; padding: 31px 0 38px 28px; }
    .feature-copy h2 { font-size: clamp(31px, 6vw, 40px); }
    .feature-art { width: 42%; opacity: .85; }
    .note-front { right: 78px; transform: rotate(-8deg) scale(.85); }
    .note-back { right: 13px; transform: rotate(11deg) scale(.8); }
    .art-pill { right: 14px; bottom: 29px; }
    .feature-pagination { right: 22px; bottom: 12px; left: auto; }
    .carousel-arrow { width: 30px; height: 30px; opacity: .8; }
    .shortcut-row { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 36px; }
    .shortcut { min-height: 58px; }
    .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-suggestions { position: fixed; top: 72px; right: 12px; left: 12px; width: auto; max-height: min(68vh, 500px); }
    .shortcuts-menu { max-width: calc(100vw - 32px); }
    .public-site .topbar { grid-template-columns: auto minmax(100px, 1fr) auto; }
    .public-site .top-actions { gap: 7px; }
    .public-site .public-create-link { display: none; }
    .public-site .public-invite { margin-top: 18px; }
    .resource-library { padding: 18px 20px 40px; }
    .resource-library-hero { min-height: 250px; padding: 28px; }
    .resource-library-art { width: 190px; min-width: 170px; }
    .library-orbit { width: 175px; height: 175px; }
    .library-orbit-two { width: 145px; height: 145px; }
    .library-note { width: 148px; min-height: 148px; padding: 18px; }
    .resource-single { padding-top: 20px; }
    .resource-detail-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px; }
    .resource-back-link { margin-bottom: 20px; }
    .resource-detail-art { min-height: 220px; max-height: 290px; }
    .resource-detail-art img { max-height: 290px; }
    .resource-detail-layout.has-curriculum { grid-template-columns: minmax(0, 1fr); }
    .resource-curriculum-list { max-height: 430px; }
    .resource-related-section { margin-top: 34px; }
}

@media (max-width: 520px) {
    .account-tools-grid { grid-template-columns: minmax(0, 1fr); }
    .member-checkout-fields { grid-template-columns: minmax(0, 1fr); }
    .member-checkout-field-half { grid-column: 1 / -1; }
    .member-year-level-options { grid-template-columns: minmax(0, 1fr); }
    .member-year-level-footer { align-items: flex-start; flex-direction: column; }
    .account-tool-card { min-height: 120px; }
    .account-dashboard-panel { padding: 18px; }
    .account-dashboard-welcome h1 { font-size: 25px; }
    .topbar { grid-template-columns: auto minmax(65px, 1fr) auto; gap: 8px; padding: 0 12px; }
    .brand-name { font-size: 12px; letter-spacing: -.6px; }
    .brand-mark { width: 23px; height: 23px; gap: 2px; }
    .top-search { padding: 0 9px; }
    .top-search input { font-size: 12px; }
    .top-search input::placeholder { color: transparent; }
    .search-icon { margin-right: 4px; font-size: 21px; }
    .top-actions { gap: 5px; }
    .search-suggestions { top: 70px; }
    .icon-button, .mobile-menu-toggle { width: 31px; height: 31px; }
    .main-content { padding: 22px 15px 20px; }
    .welcome-row { margin-bottom: 18px; }
    .welcome-row h1 { font-size: 23px; }
    .welcome-subtitle { font-size: 12px; }
    .date-pill { padding: 7px; }
    .feature-card, .feature-slide { min-height: 315px; }
    .carousel-arrow { top: auto; right: 53px; bottom: 12px; width: 28px; height: 28px; transform: none; }
    .carousel-previous { right: 88px; left: auto; }
    .feature-pagination { right: auto; bottom: 14px; left: 22px; gap: 5px; }
    .feature-pagination .carousel-status { display: none; }
    .carousel-indicators { gap: 4px; }
    .carousel-indicators button { width: 6px; height: 6px; }
    .carousel-indicators button.active { width: 14px; }
    .carousel-pause { width: 21px; height: 21px; font-size: 11px; }
    .feature-copy { width: 100%; padding: 28px 22px 41px; }
    .feature-copy h2 { max-width: 300px; font-size: 35px; }
    .feature-copy p { max-width: 280px; font-size: 12px; }
    .feature-art { width: 50%; opacity: .24; }
    .art-note, .art-pill { display: none; }
    .note-front { right: 65px; }
    .shortcut-row { gap: 8px; margin-top: 13px; }
    .shortcut { gap: 8px; padding: 9px; }
    .feature-kicker { font-size: 10px; }
    .eyebrow, .section-overline { font-size: 9px; }
    .shortcut-icon { width: 28px; height: 28px; flex-basis: 28px; }
    .shortcut strong { font-size: 11px; }
    .shortcut small { font-size: 9px; }
    .section-heading h2 { font-size: 18px; }
    .text-link { font-size: 10px; }
    .resource-toolbar { align-items: flex-start; }
    .filter-tabs { max-width: calc(100vw - 116px); }
    .filter-tab { padding: 0 8px; font-size: 10px; }
    .sort-button { gap: 5px; padding: 7px; font-size: 10px; }
    .resource-grid { grid-template-columns: 1fr; gap: 10px; }
    .resource-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); align-items: stretch; }
    .resource-image { height: auto; min-height: 144px; margin: 8px 0 8px 8px; }
    .resource-image img { padding: 7px 7px 0 7px; }
    .image-label { top: 6px; left: 5px; padding: 4px 5px; font-size: 9px; }
    .resource-info { display: flex; flex-direction: column; justify-content: center; padding: 10px; }
    .resource-meta { font-size: 9px; letter-spacing: .4px; }
    .resource-title { white-space: normal; font-size: 12px; line-height: 1.4; }
    .resource-info p, .pp-blog-card-excerpt { min-height: 0; margin-bottom: 8px; font-size: 10px; }
    .resource-footer { gap: 5px; font-size: 9px; }
    .save-button { width: 24px; height: 24px; }
    .tools-section { margin-top: 38px; }
    .tools-grid { grid-template-columns: 1fr; }
    .tool-card:last-child { display: block; }
    .tool-card { display: grid; grid-template-columns: 36% minmax(0, 1fr); }
    .tool-visual { height: auto; min-height: 145px; }
    .mini-slide { transform: rotate(-4deg) scale(.8); }
    .tool-content { display: flex; flex-direction: column; justify-content: center; padding: 11px; }
    .tool-content p { min-height: 0; }
    .tool-type { font-size: 9px; }
    .tool-content h3 { font-size: 12px; }
    .tool-content p, .tool-launch { font-size: 10px; }
    .page-footer { align-items: flex-start; font-size: 10px; }
    .public-site .topbar { grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; }
    .public-site .top-actions { gap: 5px; }
    .public-site .public-sign-in { display: none; }
    .public-site .public-join { min-height: 31px; padding: 0 8px; font-size: 11px; }
    .public-site .public-join .bi { display: none; }
    .public-site .resource-access { font-size: 0; }
    .public-site .resource-access i { font-size: 13px; }
    .resource-detail-hero { gap: 18px; padding: 21px; border-radius: 17px; }
    .resource-detail-hero h1 { font-size: clamp(29px, 8vw, 38px); letter-spacing: -1px; }
    .resource-single-excerpt { margin: 11px 0 16px; font-size: 14px; }
    .resource-detail-taxonomies { gap: 6px; margin-bottom: 18px; }
    .resource-detail-taxonomy-label { padding-right: 1px; padding-left: 4px; font-size: 8px; }
    .resource-detail-chip { min-height: 27px; padding: 4px 8px; font-size: 10px; }
    .resource-purchase-button, .resource-purchase-legacy { width: 100%; }
    .resource-purchase-button, .resource-purchase-legacy a { min-height: 43px; gap: 7px; padding: 0 10px; font-size: 11px; }
    .resource-detail-art { min-height: 185px; max-height: 240px; border-radius: 13px; }
    .resource-detail-art img { max-height: 240px; padding: 9px; }
    .resource-content-panel, .resource-curriculum-panel { padding: 18px; border-radius: 13px; }
    .resource-panel-heading { gap: 10px; margin-bottom: 15px; }
    .resource-panel-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; font-size: 16px; }
    .resource-panel-heading h2 { font-size: 18px; }
    .resource-single-content { font-size: 13px; line-height: 1.75; }
    .resource-curriculum-list { max-height: 390px; }
    .resource-curriculum-item { padding: 11px; }
    .resource-related-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .resource-related-heading h2 { font-size: 22px; }
    .resource-related-heading > div > p:last-child { font-size: 12px; }
    .resource-library { padding: 14px 14px 32px; }
    .resource-library-hero { min-height: 0; padding: 25px 22px; }
    .resource-library-art { display: none; }
    .resource-library-hero h1 { font-size: clamp(30px, 9vw, 39px); letter-spacing: -1px; }
    .resource-library-intro { font-size: 13px; }
    .resource-library-toolbar { align-items: flex-start; margin-top: 27px; }
    .resource-library-toolbar h2 { font-size: 18px; }
    .resource-filter-form { grid-template-columns: minmax(0, 1fr); gap: 11px; padding: 13px; }
    .resource-filter-submit { width: 100%; }
    .resource-results-heading { margin-top: 26px; }
    .resource-search-empty { padding: 36px 16px; }
    .resource-pagination .page-numbers { min-width: 36px; height: 36px; margin: 0 2px; padding: 0 9px; }
    .resource-pagination .page-numbers.prev, .resource-pagination .page-numbers.next { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .feature-track, .app-layout,
    .carousel-arrow, .carousel-pause, .carousel-indicators button,
    html.is-changing #discover, .page-loading-indicator { transition: none; }
    body.is-page-loading .page-loading-indicator > span {
        width: 100%;
        animation: none;
        transform: none;
    }
}

/* Review generator */
.review-generator [hidden] { display: none !important; }
.rg-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; padding: clamp(20px, 3vw, 30px); border: 1px solid #d5e9f4; border-radius: 18px; background: linear-gradient(115deg, #e8f6fb 0%, #f3f8f6 65%, #fff1e2 100%); }
.rg-hero-icon { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 15px; background: #fff; color: var(--brand-navy); font-size: 22px; box-shadow: 0 7px 18px rgba(17,90,136,.1); }
.rg-hero-copy { flex: 1; min-width: 0; }
.rg-hero-copy h1 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.7px; }
.rg-hero-copy p:last-child { max-width: 620px; margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.rg-hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.rg-hero-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--brand-navy); font-size: 11px; font-weight: 800; white-space: nowrap; }
.rg-hero-link { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-navy); font-size: 12px; font-weight: 800; }
.rg-hero-link:hover { color: var(--brand-orange); }

.rg-app { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.rg-steps { display: grid; gap: 16px; min-width: 0; }
.rg-card { padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.rg-step { transition: opacity .25s ease; }
.rg-step.is-locked { opacity: .55; }
.rg-step.is-locked .rg-strand-grid, .rg-step.is-locked .rg-segmented, .rg-step.is-locked .rg-qps { pointer-events: none; }
.rg-step-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; }
.rg-step-heading h2 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.rg-step-heading p { margin: 4px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.rg-step-number { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 11px; color: #fff; font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800; }
.rg-tone-navy { background: var(--brand-navy); }
.rg-tone-green { background: #2fa850; }
.rg-tone-orange { background: var(--brand-orange); }
.rg-label { margin: 18px 0 8px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.rg-label:first-of-type { margin-top: 0; }
.rg-placeholder { display: flex; align-items: center; gap: 9px; margin: 0; padding: 14px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); font-size: 12px; font-weight: 600; }

.rg-choice { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--ink-soft); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.rg-choice:hover { border-color: var(--brand-blue); color: var(--brand-navy); }
.rg-choice:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.rg-choice.active { border-color: var(--brand-navy); background: var(--brand-navy); color: #fff; box-shadow: 0 6px 14px rgba(17,90,136,.22); }
.rg-year-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; }
.rg-year-btn { font-size: 16px; }
.rg-segmented { display: flex; gap: 9px; }
.rg-segmented .rg-choice { flex: 1; }
.rg-order-btn.active { border-color: var(--brand-orange); background: var(--brand-orange); box-shadow: 0 6px 14px rgba(255,125,0,.25); }

.rg-strand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; align-items: start; }
.rg-strand { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); transition: border-color .18s ease, background .18s ease; }
.rg-strand.is-selected { border-color: #8bd6a0; background: #f1faf3; }
.rg-strand.is-soon { opacity: .6; }
.rg-strand-header { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; }
.rg-switch { position: relative; display: flex; flex: 1; min-width: 0; align-items: center; gap: 10px; cursor: pointer; }
.rg-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rg-switch-track { position: relative; width: 34px; height: 20px; flex: 0 0 34px; border-radius: 999px; background: #cdd3c9; transition: background .18s ease; }
.rg-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s ease; }
.rg-switch input:checked + .rg-switch-track { background: #2fa850; }
.rg-switch input:checked + .rg-switch-track::after { transform: translateX(14px); }
.rg-switch input:focus-visible + .rg-switch-track { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.rg-switch input:disabled + .rg-switch-track { opacity: .5; }
.rg-strand-icon { color: #2fa850; font-size: 16px; }
.rg-strand-name { overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.rg-strand-count { color: var(--muted); font-size: 11px; font-weight: 800; }
.rg-badge { padding: 3px 8px; border-radius: 6px; background: #d4f0dc; color: #1c6b34; font-size: 10px; font-weight: 800; white-space: nowrap; }
.rg-strand-toggle { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--ink-soft); cursor: pointer; }
.rg-strand-toggle:hover { background: rgba(0,0,0,.05); }
.rg-strand-toggle:disabled { opacity: .35; cursor: default; }
.rg-strand-toggle i { transition: transform .2s ease; }
.rg-strand-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.rg-code-list { display: grid; gap: 2px; padding: 4px 12px 12px; border-top: 1px solid var(--line); }
.rg-code { display: flex; align-items: flex-start; gap: 9px; padding: 7px 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; cursor: pointer; }
.rg-code input { width: 15px; height: 15px; flex: 0 0 15px; margin: 2px 0 0; accent-color: #2fa850; }
.rg-code strong { color: var(--ink); font-weight: 800; }

.rg-qps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.rg-qps-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid #ffdcb3; border-radius: 12px; background: #fff7ee; }
.rg-qps-row label { color: #8c4400; font-size: 13px; font-weight: 800; }
.rg-stepper { display: flex; align-items: center; gap: 4px; }
.rg-stepper-btn { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #ffcf99; border-radius: 9px; background: #fff; color: #b35700; cursor: pointer; }
.rg-stepper-btn:hover { background: var(--brand-orange); color: #fff; }
.rg-qps-input { width: 54px; min-height: 32px; padding: 0 4px; border: 1px solid #ffcf99; border-radius: 9px; background: #fff; color: #663100; font: inherit; font-size: 14px; font-weight: 800; text-align: center; -moz-appearance: textfield; }
.rg-qps-input::-webkit-outer-spin-button, .rg-qps-input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.rg-qps-input:focus { border-color: var(--brand-orange); outline: 0; box-shadow: 0 0 0 3px rgba(255,125,0,.2); }
.rg-qps + .rg-label { margin-top: 18px; }

.rg-summary { position: sticky; top: 96px; }
.rg-summary h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--ink); font-family: Manrope, sans-serif; font-size: 17px; font-weight: 800; }
.rg-summary h2 i { color: var(--brand-navy); }
.rg-summary-list { margin: 0; }
.rg-summary-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.rg-summary-list dt { color: var(--muted); font-weight: 700; }
.rg-summary-list dd { margin: 0; color: var(--ink); font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.rg-summary-total { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.rg-summary-total strong { color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: 30px; font-weight: 800; }
.rg-generate { display: inline-flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; background: var(--brand-orange); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(255,125,0,.28); transition: background .18s ease, transform .18s ease, opacity .18s ease; }
.rg-generate:not(:disabled):hover { background: #d96a00; transform: translateY(-1px); }
.rg-generate:disabled { background: #cdd3c9; box-shadow: none; cursor: not-allowed; }
.rg-generate.is-loading { opacity: .8; cursor: progress; }
.rg-generate:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
.rg-hint { margin: 11px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }

.rg-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.rg-feature { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.rg-feature-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 13px; border-radius: 12px; background: #e8f3fb; color: var(--brand-navy); font-size: 19px; }
.rg-feature h3 { margin: 0 0 7px; color: var(--ink); font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800; }
.rg-feature p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }

body[data-theme="dark"] .rg-hero { border-color: #31536a; background: linear-gradient(115deg, #203e51 0%, #243743 62%, #493622 100%); }
body[data-theme="dark"] .rg-hero-icon, body[data-theme="dark"] .rg-hero-chip { background: #293e4b; color: #8bc9f2; }
body[data-theme="dark"] .rg-hero-link { color: #8bc9f2; }
body[data-theme="dark"] .rg-choice.active { border-color: #2e7fb3; background: #2e7fb3; }
body[data-theme="dark"] .rg-order-btn.active { border-color: var(--brand-orange); background: var(--brand-orange); }
body[data-theme="dark"] .rg-strand.is-selected { border-color: #2e6b42; background: #1f3a2b; }
body[data-theme="dark"] .rg-qps-row { border-color: #5b4126; background: #2d2a26; }
body[data-theme="dark"] .rg-qps-row label { color: #ffc98a; }
body[data-theme="dark"] .rg-stepper-btn, body[data-theme="dark"] .rg-qps-input { border-color: #5b4126; background: #1d2430; color: #ffc98a; }
body[data-theme="dark"] .rg-badge { background: #264a33; color: #a7e5b7; }
body[data-theme="dark"] .rg-feature-icon { background: #20394c; color: #8bc9f2; }
body[data-theme="dark"] .rg-summary-total strong, body[data-theme="dark"] .rg-summary h2 i { color: #8bc9f2; }
body[data-theme="dark"] .rg-generate:disabled { background: #343d4a; }

@media (max-width: 1100px) {
    .rg-app { grid-template-columns: 1fr; }
    .rg-summary { position: static; }
    .rg-features { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .rg-hero { flex-wrap: wrap; }
    .rg-hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
    .rg-year-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rg-segmented { flex-direction: column; }
    .rg-strand-grid, .rg-qps { grid-template-columns: 1fr; }
}

/* Review generator: tabs and My reviews */
.rg-panel[hidden] { display: none; }
.rg-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.rg-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.rg-tab:hover { color: var(--ink); }
.rg-tab.active { background: var(--surface); color: var(--brand-navy); box-shadow: var(--shadow); }
.rg-tab-count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--brand-orange); color: #fff; font-size: .75rem; text-align: center; }
.rg-tab-count[hidden] { display: none; }
.rg-reviews-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.rg-search { flex: 1 1 240px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); }
.rg-search input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.rg-search:focus-within { border-color: var(--brand-navy); }
.rg-select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.rg-filter { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.rg-filter-btn { padding: 10px 14px; border: 0; background: var(--surface); color: var(--ink-soft); font: inherit; font-weight: 600; cursor: pointer; }
.rg-filter-btn.active { background: var(--brand-navy); color: #fff; }
.rg-icon-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }
.rg-icon-btn:disabled { opacity: .5; }
.rg-review-status { color: var(--muted); }
.rg-review-status:not(:empty) { padding: 8px 0; }
.rg-empty { text-align: center; padding: 36px 16px; }
.rg-empty > i { font-size: 2.2rem; color: var(--brand-orange); }
.rg-empty h3 { margin: 10px 0 6px; color: var(--ink); }
.rg-empty p { margin: 0 0 16px; color: var(--muted); }
.rg-review-list { display: grid; gap: 10px; }
.rg-review { position: relative; display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .15s, box-shadow .15s, border-color .15s; }
.rg-review:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(17, 90, 136, .12); border-color: rgba(17, 90, 136, .35); }
.rg-review.is-favourite { background: linear-gradient(90deg, rgba(255, 125, 0, .09), transparent 45%), var(--surface); border-color: rgba(255, 125, 0, .45); }
.rg-year-tile { flex: 0 0 auto; width: 54px; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; background: linear-gradient(145deg, var(--brand-navy), #2a86c2); color: #fff; line-height: 1; }
.rg-year-tile small { font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.rg-year-tile strong { margin-top: 3px; font-size: 1.4rem; }
.rg-review-main { flex: 1 1 auto; min-width: 0; display: grid; gap: 6px; }
.rg-review-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.rg-review-title { margin: 0; font-size: 1rem; color: var(--ink); }
.rg-diff { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: .82rem; font-weight: 600; }
.rg-diff::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.rg-diff-1::before { background: #3aa76d; }
.rg-diff-2::before { background: #e0a100; }
.rg-diff-3::before { background: #e5484d; }
.rg-review-date { margin-left: auto; color: var(--muted); font-size: .8rem; }
.rg-review-strands { display: flex; flex-wrap: wrap; gap: 6px; }
.rg-strand-pill { padding: 2px 10px; border-radius: 999px; background: rgba(17, 90, 136, .1); color: var(--brand-navy); font-size: .78rem; font-weight: 700; }
.rg-review-codes { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.rg-code { padding: 1px 7px; border-radius: 6px; background: var(--surface-soft); color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; }
.rg-code-more { padding: 1px 6px; border: 0; background: transparent; color: var(--brand-navy); font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; }
.rg-review-muted { color: var(--muted); font-size: .8rem; }
.rg-review-actions { flex: 0 0 auto; display: flex; gap: 6px; align-items: center; }
.rg-btn-primary, .rg-btn-ghost, .rg-btn-danger { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.rg-btn-primary { background: var(--brand-navy); color: #fff; }
.rg-btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.rg-review-actions .rg-btn-ghost { width: 36px; padding: 0; }
.rg-review-actions .rg-btn-ghost:hover { background: var(--surface-soft); color: var(--ink); }
.rg-review-actions .rg-confirm-text + .rg-btn-danger + .rg-btn-ghost, .rg-review-actions .rg-btn-ghost[data-action="cancel-delete"] { width: auto; padding: 0 12px; }
.rg-btn-danger { background: #c0392b; color: #fff; }
.rg-fav.active { color: var(--brand-orange); border-color: var(--brand-orange); }
.rg-trash:hover { color: #c0392b; border-color: #c0392b; }
.rg-confirm-text { color: var(--ink); font-weight: 700; }
.rg-review-more { text-align: center; margin-top: 16px; }
.rg-more-btn { padding: 10px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.rg-more-btn[hidden] { display: none; }
body[data-theme="dark"] .rg-tab.active { color: #fff; }
body[data-theme="dark"] .rg-btn-primary, body[data-theme="dark"] .rg-filter-btn.active { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
body[data-theme="dark"] .rg-year-tile { background: linear-gradient(145deg, #c85f00, var(--brand-orange)); }
body[data-theme="dark"] .rg-strand-pill { background: rgba(255, 125, 0, .16); color: #ffb366; }
body[data-theme="dark"] .rg-code-more { color: #ffb366; }
@media (max-width: 640px) {
    .rg-tabs { display: flex; }
    .rg-tab { flex: 1; justify-content: center; padding: 10px 8px; }
    .rg-review { flex-wrap: wrap; }
    .rg-review-main { flex: 1 1 0; }
    .rg-review-date { margin-left: 0; }
    .rg-review-actions { width: 100%; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 10px; }
    .rg-review-actions .rg-btn-primary { margin-right: auto; }
}

/* Mobile: icon-only logo, static first carousel slide */
@media (max-width: 640px) {
    .brand-name { display: none; }
    .brand-mark { width: 32px; height: 32px; }
    .brand-mark svg { width: 100%; height: 100%; }
    .feature-track { transform: none !important; transition: none; }
    .feature-slide:not(:first-child), .carousel-arrow, .feature-pagination { display: none; }
    .feature-slide:first-child .feature-copy { padding-bottom: 28px; }
}

/* Blog previews and listings */
.pp-blog-section { min-width: 0; margin-top: 32px; scroll-margin-top: 96px; }
.pp-blog-section .section-heading { flex-wrap: wrap; }
.pp-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.pp-blog-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.pp-blog-card-image { flex-shrink: 0; }
.pp-blog-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 12px 12px 10px; overflow-wrap: anywhere; }
.pp-blog-card-date { margin: 0; color: var(--ink-soft); font-size: 12px; }
.pp-blog-card h3 { width: 100%; margin: 0; }
.pp-blog-card .text-link { margin-top: auto; padding-top: 8px; color: var(--pp-theme-link); white-space: normal; }
.pp-blog-intro { margin: 10px 0 0; color: var(--ink-soft); line-height: 1.7; }
.pp-blog-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-blog-categories a { max-width: 100%; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-size: 13px; overflow-wrap: anywhere; }
.pp-blog-categories a:hover, .pp-blog-categories a[aria-current="page"] { border-color: var(--pp-theme-link); color: var(--pp-theme-link); }
.pp-blog-index .pagination { margin-top: 24px; }
.pp-blog-index .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-blog-index .page-numbers { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.pp-blog-index .page-numbers.current { border-color: var(--pp-theme-link); color: var(--pp-theme-link); }
.pp-blog-index a:focus-visible, .pp-blog-section a:focus-visible { outline: 3px solid var(--brand-focus); outline-offset: 4px; }
@media (max-width: 1000px) {
    .pp-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .pp-blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .pp-blog-card-image { height: 144px; margin: 8px 8px 0; }
}

/* General page templates */
.collection-hero { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; padding: clamp(18px, 4vw, 44px); border-radius: 20px; background: radial-gradient(ellipse at 80% 0%, rgba(63, 169, 245, .35), transparent 55%), var(--brand-navy); color: #fff; box-shadow: 0 13px 32px rgba(17, 90, 136, .16); }
.collection-hero.no-image { gap: 14px; justify-content: flex-start; }
.collection-hero h1 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -1px; }
.collection-hero-icon { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .14); font-size: 24px; }
.collection-hero-img { display: block; width: auto; max-width: 100%; max-height: 260px; height: auto; object-fit: contain; }
.collection-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.collection-intro-copy { flex: 1 1 360px; min-width: 0; }
.collection-intro-copy .section-overline { margin-bottom: 5px; }
.collection-intro-copy h2 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.5px; }
.collection-description { max-width: 680px; margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.collection-intro-actions { display: flex; align-items: center; gap: 16px; }
.collection-count { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--brand-navy); font-size: 12px; font-weight: 800; white-space: nowrap; }
.collection-empty { padding: 48px 20px; border: 1px dashed var(--line); border-radius: 18px; background: var(--surface); text-align: center; }
.collection-empty > i { color: var(--brand-orange); font-size: 2.2rem; }
.collection-empty h2 { margin: 10px 0 6px; color: var(--ink); font-size: 20px; }
.collection-empty p { margin: 0 0 14px; color: var(--muted); }
body[data-theme="dark"] .collection-hero { background: radial-gradient(ellipse at 80% 0%, rgba(63, 169, 245, .2), transparent 55%), #0e4a70; }
body[data-theme="dark"] .collection-count { color: #8bc9f2; }
@media (max-width: 860px) {
    .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .collection-grid { grid-template-columns: 1fr; }
    .collection-hero-img { max-height: 170px; }
    .collection-intro-actions { width: 100%; justify-content: space-between; }
}

/* Teaching tools landing */
.tl-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; padding: clamp(22px, 3.4vw, 36px); border: 1px solid #d5e9f4; border-radius: 20px; background: radial-gradient(ellipse at 90% 0%, rgba(255, 125, 0, .14), transparent 45%), linear-gradient(115deg, #e8f6fb 0%, #f3f8f6 70%); }
.tl-hero-icon { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border-radius: 17px; background: #fff; color: var(--brand-orange); font-size: 26px; box-shadow: 0 7px 18px rgba(17, 90, 136, .1); }
.tl-hero-copy h1 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -1px; }
.tl-hero-copy p:last-child { max-width: 620px; margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.tl-section { margin-bottom: 30px; }
.tl-section-heading { margin-bottom: 14px; }
.tl-section-heading h2 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.5px; }
.tl-section-heading p:last-child:not(.section-overline) { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.tl-live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tl-soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tl-card-desktop { background: linear-gradient(160deg, #eef0fb 0%, var(--surface) 55%); }
.tl-card-desktop .tl-card-icon { background: #2b4a9c; }
body[data-theme="dark"] .tl-card-desktop { background: linear-gradient(160deg, #1c2340 0%, var(--surface) 55%); }
.tl-card { display: flex; flex-direction: column; padding: clamp(20px, 2.6vw, 28px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.tl-card-review { background: linear-gradient(160deg, #eef6fd 0%, var(--surface) 55%); }
.tl-card-calm { background: linear-gradient(160deg, #eaf8f3 0%, var(--surface) 55%); }
.tl-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tl-card-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: var(--brand-navy); color: #fff; font-size: 22px; }
.tl-card-calm .tl-card-icon { background: #1f9d7a; }
.tl-card-soon .tl-card-icon { background: var(--surface-soft); color: var(--brand-navy); border: 1px dashed var(--line); }
.tl-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--surface-soft); color: var(--ink-soft); font-size: 11px; font-weight: 800; }
.tl-badge-live { background: #e3f6ea; color: #1b7a43; }
.tl-badge-live i { font-size: 7px; }
.tl-type { margin: 0 0 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.tl-card h3 { margin: 0 0 8px; color: var(--ink); font-family: Manrope, sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -.4px; }
.tl-text { margin: 0 0 14px; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.tl-points { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 7px; }
.tl-points li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-soft); font-size: 13px; }
.tl-points i { color: #1f9d7a; }
.tl-launch { display: inline-flex; align-items: center; align-self: flex-start; gap: 10px; margin-top: auto; padding: 11px 20px; border-radius: 999px; background: var(--brand-navy); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .18s, transform .18s; }
.tl-launch:hover { background: var(--brand-orange); color: #fff; transform: translateY(-1px); }
.tl-card-soon { border-style: dashed; background: var(--surface); box-shadow: none; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.tl-tags li { padding: 4px 11px; border-radius: 999px; background: var(--surface-soft); color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.tl-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(20px, 3vw, 30px); border-radius: 20px; background: radial-gradient(ellipse at 85% 0%, rgba(63, 169, 245, .35), transparent 55%), var(--brand-navy); color: #fff; }
.tl-cta h2 { margin: 0 0 4px; font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; }
.tl-cta p { margin: 0; max-width: 520px; color: rgba(255, 255, 255, .8); font-size: 13px; }
.tl-cta .tl-launch { margin-top: 0; background: var(--brand-orange); }
.tl-cta .tl-launch:hover { background: #fff; color: var(--brand-navy); }
body[data-theme="dark"] .tl-hero { border-color: var(--line); background: radial-gradient(ellipse at 90% 0%, rgba(255, 125, 0, .12), transparent 45%), linear-gradient(115deg, #1b2a38, #1d2430 70%); }
body[data-theme="dark"] .tl-hero-icon { background: var(--surface); }
body[data-theme="dark"] .tl-card-review { background: linear-gradient(160deg, #19293b 0%, var(--surface) 55%); }
body[data-theme="dark"] .tl-card-calm { background: linear-gradient(160deg, #173229 0%, var(--surface) 55%); }
body[data-theme="dark"] .tl-badge-live { background: rgba(58, 167, 109, .18); color: #7fdba6; }
body[data-theme="dark"] .tl-card-soon .tl-card-icon { color: #8bc9f2; }
body[data-theme="dark"] .tl-launch { background: var(--brand-orange); }
body[data-theme="dark"] .tl-launch:hover { background: #fff; color: var(--brand-navy); }
@media (max-width: 860px) {
    .tl-live-grid, .tl-soon-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .tl-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
    .tl-cta { flex-direction: column; align-items: flex-start; }
    .tl-launch { width: 100%; justify-content: center; }
}

/* General page templates */
.pp-page-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: clamp(20px, 3vw, 30px); border: 1px solid #d5e9f4; border-radius: 18px; background: linear-gradient(115deg, #e8f6fb 0%, #f3f8f6 65%, #fff1e2 100%); }
.pp-page-hero-icon { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 15px; background: #fff; color: var(--brand-navy); font-size: 22px; box-shadow: 0 7px 18px rgba(17, 90, 136, .1); }
.pp-page-hero-copy { min-width: 0; }
.pp-page-hero-copy h1 { margin: 0; color: var(--ink); font-family: Manrope, sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.7px; }
.pp-page-meta { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 4px 11px; border-radius: 999px; background: #fff; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.pp-page-card { padding: clamp(20px, 3.4vw, 38px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.pp-page-card-narrow { max-width: 860px; }
.pp-page-content-full { width: 100%; }
.pp-prose { color: var(--ink-soft); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.pp-prose > :first-child { margin-top: 0; }
.pp-prose > :last-child { margin-bottom: 0; }
.pp-prose h2, .pp-prose h3, .pp-prose h4 { margin: 1.8em 0 .6em; color: var(--ink); font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.3px; line-height: 1.3; }
.pp-prose h2 { padding-bottom: .35em; border-bottom: 1px solid var(--line); font-size: 22px; }
.pp-prose h3 { font-size: 18px; }
.pp-prose h4 { font-size: 15px; }
.pp-prose p, .pp-prose ul, .pp-prose ol, .pp-prose table, .pp-prose blockquote { margin: 0 0 1.1em; }
.pp-prose ul, .pp-prose ol { padding-left: 1.4em; }
.pp-prose li { margin-bottom: .4em; }
.pp-prose li::marker { color: var(--brand-orange); }
.pp-prose a { color: var(--brand-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pp-prose a:hover { color: var(--brand-orange); }
.pp-prose blockquote { padding: 12px 18px; border-left: 4px solid var(--brand-orange); border-radius: 0 12px 12px 0; background: var(--surface-soft); }
.pp-prose img, .pp-prose iframe { max-width: 100%; border-radius: 12px; }
.pp-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-prose th, .pp-prose td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.pp-prose th { background: var(--surface-soft); color: var(--ink); }
.pp-prose-wide { max-width: none; }
.pp-contact-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 20px; align-items: start; }
.pp-contact-aside { display: grid; gap: 14px; }
.pp-contact-note { padding: 22px; border: 1px solid #d5e9f4; border-radius: 18px; background: #eaf5fb; color: var(--brand-navy); }
.pp-contact-note-alt { border-color: #ffd9b0; background: #fff3e4; color: #6b3a00; }
.pp-contact-note-icon { display: grid; width: 38px; height: 38px; margin-bottom: 10px; place-items: center; border-radius: 11px; background: #fff; font-size: 18px; }
.pp-contact-note h2 { margin: 0 0 6px; font-family: Manrope, sans-serif; font-size: 16px; font-weight: 800; }
.pp-contact-note p { margin: 0; font-size: 13px; line-height: 1.65; }
.pp-contact-form input[type="text"], .pp-contact-form input[type="email"], .pp-contact-form input[type="tel"], .pp-contact-form select, .pp-contact-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.pp-contact-form input:focus, .pp-contact-form select:focus, .pp-contact-form textarea:focus { border-color: var(--brand-navy); outline: 0; box-shadow: 0 0 0 3px rgba(17, 90, 136, .15); }
.pp-contact-form label { display: block; margin-bottom: 5px; color: var(--ink); font-weight: 700; }
.pp-contact-form input[type="submit"], .pp-contact-form button[type="submit"] { padding: 11px 22px; border: 0; border-radius: 999px; background: var(--brand-navy); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pp-contact-form input[type="submit"]:hover, .pp-contact-form button[type="submit"]:hover { background: var(--brand-orange); }
body[data-theme="dark"] .pp-page-hero { border-color: var(--line); background: linear-gradient(115deg, #1b2a38, #1d2430 65%, #2a2420); }
body[data-theme="dark"] .pp-page-hero-icon, body[data-theme="dark"] .pp-page-meta { background: var(--surface); color: #8bc9f2; }
body[data-theme="dark"] .pp-prose a { color: #8bc9f2; }
body[data-theme="dark"] .pp-contact-note { border-color: var(--line); background: #1b2a38; color: #8bc9f2; }
body[data-theme="dark"] .pp-contact-note-alt { background: #2a2420; color: #ffb366; }
body[data-theme="dark"] .pp-contact-note-icon { background: var(--surface); }
@media (max-width: 860px) {
    .pp-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .pp-page-hero { gap: 12px; padding: 18px; }
    .pp-page-hero-icon { width: 42px; height: 42px; flex-basis: 42px; font-size: 18px; }
    .pp-page-card { padding: 18px; }
    .pp-prose { font-size: 14px; }
    .pp-prose table { display: block; overflow-x: auto; }
}

/* Blog post template */
.pp-blog-single > .pp-page-hero,
.pp-blog-single > .pp-post-card,
.pp-blog-single > .pp-post-navigation { width: min(100%, 1000px); margin-right: auto; margin-left: auto; }
.pp-blog-single .pp-page-hero { align-items: flex-start; }
.pp-blog-single .pp-page-hero-copy { display: grid; gap: 8px; }
.pp-blog-single .pp-page-hero-copy .account-dashboard-eyebrow { margin: 0; }
.pp-blog-single .pp-page-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; background: transparent; }
.pp-blog-single .pp-page-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.pp-blog-single .pp-page-meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pp-blog-single .pp-post-hero { position: relative; gap: 20px; overflow: hidden; padding: clamp(26px, 4vw, 42px); border: 0; background: var(--brand-navy); box-shadow: 0 16px 34px rgba(17, 90, 136, .2); }
.pp-blog-single .pp-post-hero::after { position: absolute; right: -60px; bottom: -160px; width: 360px; height: 360px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255, 255, 255, .035), 0 0 0 70px rgba(255, 255, 255, .025); content: ""; pointer-events: none; }
.pp-blog-single .pp-post-hero .pp-page-hero-icon { z-index: 1; background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.pp-blog-single .pp-post-hero .pp-page-hero-copy { position: relative; z-index: 1; gap: 10px; }
.pp-blog-single .pp-post-hero .account-dashboard-eyebrow { color: #ffd08a; }
.pp-blog-single .pp-post-hero .pp-page-hero-copy h1 { max-width: 800px; color: #fff; font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; line-height: 1.16; }
.pp-blog-single .pp-post-hero .pp-page-meta { width: fit-content; margin-top: 2px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .9); font-size: 12px; }
.pp-blog-single .pp-post-hero .pp-page-meta i { color: #ffd08a; }
.pp-post-card { overflow: hidden; }
.pp-post-featured-image { margin: 0 0 26px; }
.pp-post-featured-image img { display: block; width: 100%; max-height: 560px; border-radius: 14px; object-fit: cover; }
.pp-post-content { max-width: 820px; margin: 0 auto; }
.pp-post-content > :first-child { margin-top: 0; }
.pp-post-content > :last-child { margin-bottom: 0; }
.pp-post-content h1.special { margin: 1.8em 0 .85em; padding: 18px 22px; border-left: 5px solid var(--brand-orange); border-radius: 0 14px 14px 0; background: linear-gradient(110deg, #e8f6fb, #fff3e4); color: var(--brand-navy); font-family: Manrope, sans-serif; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.5px; line-height: 1.3; }
body[data-theme="dark"] .pp-post-content h1.special { border-left-color: #ffb366; background: linear-gradient(110deg, #1b2a38, #2a2420); color: #e9f5fc; }
.pp-post-terms { display: grid; gap: 10px; max-width: 820px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.pp-post-terms > div { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-post-terms-label { margin-right: 4px; color: var(--ink); font-weight: 700; }
.pp-post-terms a { color: var(--brand-navy); text-decoration: underline; text-underline-offset: 2px; }
.pp-post-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pp-post-pagination a, .pp-post-pagination > span { padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.pp-post-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.pp-post-navigation a { display: grid; gap: 6px; min-width: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.pp-post-navigation strong { color: var(--ink); font-family: Manrope, sans-serif; font-size: 15px; line-height: 1.4; }
.pp-post-nav-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
body[data-theme="dark"] .pp-post-terms a { color: #8bc9f2; }
@media (max-width: 640px) {
    .pp-blog-single .pp-page-meta { gap: 6px 12px; }
    .pp-blog-single .pp-post-hero { gap: 14px; padding: 22px 18px; }
    .pp-blog-single .pp-post-hero .pp-page-hero-copy h1 { font-size: clamp(25px, 8vw, 34px); }
    .pp-post-featured-image { margin-bottom: 20px; }
    .pp-post-navigation { grid-template-columns: 1fr; }
}
