section.full-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial {
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .testimonial:nth-of-type(n+4) {
        display: none;
    }
}


/* Gradients */
.bg-gradient-cyan-to-teal {
    background: linear-gradient(to bottom right, #06b6d4, #0d9488); /* from-cyan-500 to-teal-600 */
}

.bg-gradient-teal-to-indigo {
    background: linear-gradient(to bottom right, #0d9488, #6366f1); /* from-teal-500 to-indigo-500 */
}

.bg-gradient-indigo-to-purple {
    background: linear-gradient(to bottom right, #6366f1, #8b5cf6); /* from-indigo-500 to-purple-600 */
}

.bg-gradient-purple-to-pink {
    background: linear-gradient(to bottom right, #8b5cf6, #ec4899); /* from-purple-500 to-pink-600 */
}

.bg-gradient-red {
    background: linear-gradient(to bottom right, #fee2e2, #fecaca);
}

.bg-gradient-gray {
    background: linear-gradient(to bottom right, #111827, #1f2937, #111827);
}

.blur-70 {
    filter: blur(70px);
}

.z-negative-1 {
    z-index: -1;
}

.translate-left-from-center {
    transform: translateX(calc(-50% - 48px));
}

.translate-right-from-center {
    transform: translateX(calc(-50% + 48px));
}

/* Approved 8.html theme. Shared colours are introduced as each screen is renovated. */
:root {
    --cc-cream: #fbf6e8;
    --cc-paper: #fffcf4;
    --cc-ink: #372b24;
    --cc-muted: #605248;
    --cc-clay: #784332;
    --cc-clay-dark: #613428;
    --cc-line: #dfd2bd;
    --cc-curve: cubic-bezier(.22, 1, .36, 1);
}

/* Shared navigation: retain the existing Django links and access conditions. */
.cc-navbar {
    position: relative;
    z-index: 60;
    padding: 24px 32px 0;
    background: var(--cc-cream);
    color: var(--cc-ink);
    font-family: Manrope, sans-serif;
}

.cc-navbar *, .cc-navbar *::before, .cc-navbar *::after {
    box-sizing: border-box;
}

.cc-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1184px;
    min-height: 72px;
    margin: 0 auto;
    padding: 12px 24px;
    border: 1px solid var(--cc-line);
    border-radius: 999px;
    background: var(--cc-paper);
}

.cc-nav-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    color: var(--cc-ink);
    text-decoration: none;
}

.cc-nav-logo {
    display: block;
    width: 32px;
    height: 36px;
    object-fit: contain;
}

.cc-nav-name {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    letter-spacing: -1px;
}

.cc-navbar .cc-nav-menu { display: block; }
.cc-nav-links > .hidden { display: none; }
.cc-nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cc-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--cc-muted);
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: color .3s var(--cc-curve), background .3s var(--cc-curve), transform .3s var(--cc-curve);
}

.cc-nav-link:hover, .cc-nav-link.is-current { color: var(--cc-clay); }
.cc-nav-link.is-locked { color: var(--cc-muted); }
.cc-nav-link.is-locked.is-current { color: var(--cc-clay); }
.cc-nav-link.cc-nav-action {
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--cc-clay);
    color: var(--cc-paper);
}
.cc-nav-link.cc-nav-action:hover { background: var(--cc-clay-dark); }
.cc-nav-link:active, .cc-nav-toggle:active { transform: translateY(1px); }
.cc-nav-brand:focus-visible, .cc-nav-link:focus-visible, .cc-nav-toggle:focus-visible {
    outline: 3px solid var(--cc-clay);
    outline-offset: 5px;
}

.cc-nav-toggle { display: none; }
.cc-nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .cc-navbar { padding: 16px 16px 0; }
    .cc-nav-inner { min-height: 64px; padding: 8px 16px; }
    .cc-nav-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 8px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--cc-clay);
        cursor: pointer;
    }
    .cc-nav-toggle:hover { background: var(--cc-cream); }
    .cc-nav-toggle-icon {
        width: 24px;
        height: 24px;
        transition: transform .5s var(--cc-curve);
    }
    .cc-nav-toggle[aria-expanded="true"] .cc-nav-toggle-icon { transform: rotate(90deg); }
    .cc-nav-menu {
        position: fixed;
        inset: 80px 0 0;
        overflow-y: auto;
        padding: 32px 24px;
        background: var(--cc-paper);
    }
    .cc-navbar .cc-nav-menu.hidden { display: none; }
    .cc-nav-links { flex-direction: column; align-items: stretch; gap: 12px; }
    .cc-nav-link { width: 100%; font-size: 20px; line-height: 28px; padding: 8px 16px; }
    .cc-nav-link.is-current { background: var(--cc-cream); border-radius: 16px; }
    .cc-nav-link.cc-nav-action { margin-top: 8px; }
    .cc-nav-logo { width: 24px; height: 28px; }
    .cc-nav-name { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .cc-nav-link, .cc-nav-toggle-icon { transition: none; }
    .cc-nav-link:active, .cc-nav-toggle:active { transform: none; }
}

/* Approved Counsellor direction: two welcoming arched spaces. */
.cc-counselling-home { padding-top: 32px; padding-bottom: 32px; }
.cc-counselling-intro { margin-bottom: 20px; }
.cc-counselling-intro h1 { margin-top: 12px; margin-bottom: 8px; font-size: 60px; line-height: 60px; }
.cc-counselling-door-layout { display: grid; grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); align-items: end; }
.cc-counselling-door { position: relative; display: flex; min-height: 390px; padding: 24px 32px 28px; overflow: hidden; border: 1px solid var(--cc-line); border-radius: 144px 144px 24px 24px; color: var(--cc-ink); text-decoration: none; transition: transform .5s var(--cc-curve), border-radius .5s var(--cc-curve), box-shadow .3s ease; }
.cc-counselling-door-primary { background: #ebc5b4; }
.cc-counselling-door-assistant { background: #d8dfc4; }
.cc-counselling-door:hover { transform: translateY(-6px); border-radius: 160px 160px 32px 32px; box-shadow: 0 16px 32px #372b2410; }
.cc-counselling-door:focus-visible { outline: 3px solid #d2a777; outline-offset: 4px; }
.cc-door-character { position: absolute; top: 32px; left: 50%; width: 104px; height: 128px; transform: translateX(-50%); background: #a15b47; border-radius: 56px 56px 20px 20px; transition: transform .5s var(--cc-curve); }
.cc-door-character-assistant { top: 44px; width: 124px; height: 96px; border-radius: 40px 40px 24px 24px; background: #b8c49e; box-shadow: inset 0 -10px 0 #aab894; }
.cc-counselling-door:hover .cc-door-character { transform: translateX(-50%) translateY(-5px); }
.cc-door-eye { position: absolute; top: 42px; width: 6px; height: 10px; border-radius: 50%; background: var(--cc-ink); transition: transform .3s ease, height .3s ease; }
.cc-door-eye-left { left: 32px; }
.cc-door-eye-right { right: 32px; }
.cc-door-character-assistant .cc-door-eye { top: 30px; }
.cc-door-character-assistant .cc-door-eye-left { left: 39px; }
.cc-door-character-assistant .cc-door-eye-right { right: 39px; }
.cc-door-smile { position: absolute; top: 70px; left: 50%; width: 28px; height: 14px; border-bottom: 3px solid var(--cc-ink); border-radius: 0 0 50% 50%; transform: translateX(-50%); transition: transform .3s ease, width .3s ease, height .3s ease; }
.cc-door-character-assistant .cc-door-smile { top: 52px; }
.cc-counselling-door:hover .cc-door-eye { height: 4px; transform: translateY(4px); }
.cc-counselling-door:hover .cc-door-smile { width: 36px; height: 18px; transform: translateX(-50%) translateY(-2px); }
.cc-door-copy { display: flex; min-width: 0; width: 100%; flex-direction: column; align-items: flex-start; padding-top: 150px; }
.cc-door-copy .cc-counselling-card-label { margin: 0 0 6px; }
.cc-door-copy h2 { margin: 0 0 6px; font-size: 24px; line-height: 32px; letter-spacing: -1px; }
.cc-door-copy p { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 20px; }
.cc-door-copy ul { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 12px 0 16px; padding: 0; list-style: none; color: var(--cc-muted); font-size: 12px; line-height: 16px; }
.cc-door-copy li { position: relative; padding-left: 16px; }
.cc-door-copy li::before { content: ''; position: absolute; top: 5px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--cc-clay); }
.cc-counselling-door-assistant .cc-door-copy li::before { background: #566443; }
.cc-door-action { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding: 8px 12px; border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font-size: 14px; line-height: 20px; font-weight: 700; }
.cc-door-action > span { font-size: 18px; font-weight: 400; }
.cc-counselling-bridge { align-self: center; padding: 0 8px; color: var(--cc-muted); text-align: center; }
.cc-bridge-face { position: relative; display: block; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: #d2a777; }
.cc-bridge-face::before, .cc-bridge-face::after { content: ''; position: absolute; top: 20px; width: 4px; height: 7px; border-radius: 50%; background: var(--cc-ink); }
.cc-bridge-face::before { left: 17px; }
.cc-bridge-face::after { right: 17px; }
.cc-bridge-face i { position: absolute; top: 34px; left: 50%; width: 20px; height: 9px; border-bottom: 2px solid var(--cc-ink); border-radius: 50%; transform: translateX(-50%); }
.cc-counselling-bridge p { margin: 0; font-size: 12px; line-height: 16px; }
.cc-counselling-note { margin-top: 16px; }
@media (max-width: 900px) {
    .cc-counselling-door-layout { grid-template-columns: 1fr 72px 1fr; }
    .cc-counselling-door { padding-right: 24px; padding-left: 24px; }
}
@media (max-width: 700px) {
    .cc-counselling-home { padding-top: 24px; }
    .cc-counselling-intro h1 { font-size: 48px; line-height: 48px; }
    .cc-counselling-door-layout { grid-template-columns: 1fr; gap: 16px; }
    .cc-counselling-bridge { order: -1; display: flex; align-items: center; justify-content: center; gap: 12px; }
    .cc-bridge-face { width: 44px; height: 44px; margin: 0; flex: 0 0 auto; }
    .cc-bridge-face::before, .cc-bridge-face::after { top: 15px; }
    .cc-bridge-face::before { left: 13px; }
    .cc-bridge-face::after { right: 13px; }
    .cc-bridge-face i { top: 27px; }
    .cc-counselling-door { min-height: 390px; border-radius: 120px 120px 24px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-counselling-door, .cc-door-character, .cc-door-eye, .cc-door-smile { transition: none; }
    .cc-counselling-door:hover, .cc-counselling-door:hover .cc-door-character { transform: none; }
}

/* Four centered features, with membership actions aligned to the right. */
@media (min-width: 1051px) {
    .cc-nav-inner { position: relative; }
    .cc-navbar .cc-nav-menu { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
    .cc-nav-links { justify-content: center; padding: 0; gap: 24px; pointer-events: auto; }
    .cc-nav-plans { position: absolute; right: 218px; }
    .cc-nav-member { position: absolute; right: 24px; }
}
.cc-nav-link { font-size: 14px; line-height: 24px; }
@media (max-width: 1050px) {
    .cc-nav-link { font-size: 24px; line-height: 32px; }
}

.cc-nav-link.cc-nav-action { gap: 12px; padding-inline: 24px; }
.cc-nav-arrow {
    display: inline-block;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    transition: transform .3s var(--cc-curve);
}
.cc-nav-action:hover .cc-nav-arrow { transform: translate(3px, -3px); }
/* Shared footer and the existing legal-policy modal. */
.cc-footer {
    background: var(--cc-paper);
    color: var(--cc-muted);
    font-family: Manrope, sans-serif;
    padding: 48px 48px 24px;
}
.cc-footer-inner, .cc-footer-bottom {
    max-width: 1184px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 48px;
}
.cc-footer-tagline { margin: 12px 0 0; font-size: 14px; line-height: 20px; }
.cc-footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0 -8px; }
.cc-footer-social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--cc-muted);
    font-size: 18px;
    text-decoration: none;
    transition: background .3s var(--cc-curve), color .3s var(--cc-curve);
}
.cc-footer-social-link:hover { background: var(--cc-cream); color: var(--cc-clay); }
.cc-footer-label { margin: 0 0 16px; color: var(--cc-ink); font-size: 14px; font-weight: 600; }
.cc-footer-link-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.cc-footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cc-muted);
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: color .3s var(--cc-curve);
}
.cc-footer-link:hover { color: var(--cc-clay); text-decoration: underline; text-underline-offset: 4px; }
.cc-footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--cc-line); font-size: 12px; line-height: 20px; }
.cc-footer-bottom p { margin: 0; }
.cc-footer-bottom p:first-child { max-width: 650px; }
.cc-footer-bottom p:last-child { flex-shrink: 0; }
.cc-policy-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(55, 43, 36, .45);
    color: var(--cc-ink);
    font-family: Manrope, sans-serif;
}
.cc-policy-modal.hidden { display: none; }
.cc-policy-dialog { width: 100%; max-width: 640px; border-radius: 24px; background: var(--cc-paper); box-shadow: 0 24px 64px #372b2426; overflow: hidden; }
.cc-policy-body { padding: 32px; }
.cc-policy-content { max-height: min(60dvh, 560px); overflow-y: auto; overflow-wrap: anywhere; color: var(--cc-muted); }
.cc-policy-content :is(h1, h2, h3) { color: var(--cc-ink); }
.cc-policy-content :is(p, li, ul, strong) { color: inherit; }
.cc-policy-content a { color: var(--cc-clay); }
.cc-policy-actions { padding: 16px 32px; border-top: 1px solid var(--cc-line); text-align: right; }
.cc-policy-close { padding: 12px 24px; border: 0; border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cc-policy-close:hover { background: var(--cc-clay-dark); }
.cc-footer a:focus-visible, .cc-footer button:focus-visible, .cc-policy-modal button:focus-visible, .cc-policy-modal a:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
@media (max-width: 760px) {
    .cc-footer { padding: 40px 24px 24px; }
    .cc-footer-inner, .cc-footer-bottom { flex-direction: column; gap: 24px; }
    .cc-footer-link-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
    .cc-footer-social { gap: 6px; margin-left: -6px; }
    .cc-footer-social-link { width: 36px; height: 40px; }
    .cc-footer-bottom { margin-top: 32px; }
    .cc-policy-modal { padding: 16px; }
    .cc-policy-body { padding: 24px; }
    .cc-policy-actions { padding: 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-nav-arrow { transition: none; }
    .cc-nav-action:hover .cc-nav-arrow { transform: none; }
}

/* Shared loading overlay and Django notifications. */
#loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fbf6e8;
    color: var(--cc-ink);
    font-family: Manrope, sans-serif;
}
.cc-loading-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; width: 100%; text-align: center; }
#loading-animation {
    width: 112px;
    height: 112px;
}
.cc-loading-c { display: block; width: 100%; height: 100%; overflow: visible; }
.cc-loading-c circle {
    fill: transparent;
    stroke: #000;
    stroke-width: 1;
    animation: cc-fill-circle 4s var(--cc-curve) infinite;
    animation-delay: calc(var(--dot) * .13s);
}
@keyframes cc-fill-circle {
    0%, 8% { fill: transparent; }
    20%, 85% { fill: #000; }
    100% { fill: transparent; }
}
.cc-loading-label {
    color: var(--cc-muted);
    font-size: 16px;
    line-height: 24px;
    transform: translateX(10px);
}
.cc-messages {
    display: grid;
    gap: 12px;
    padding: 16px max(24px, calc((100% - 1184px) / 2));
    background: var(--cc-cream);
    font-family: Manrope, sans-serif;
}
.cc-messages:not(:has(.cc-message)) { display: none; }
.cc-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px 12px 24px;
    border: 1px solid var(--cc-line);
    border-radius: 16px;
    background: var(--cc-paper);
    color: var(--cc-ink);
    font-size: 14px;
    line-height: 24px;
}
.cc-message p { margin: 0; overflow-wrap: anywhere; }
.cc-message.success { background: #d8dfc4; color: #344128; border-color: #b8c49e; }
.cc-message.error { background: #f3dfd6; color: #613428; border-color: #d5ad9b; }
.cc-message.warning { background: #f8edd0; color: #605248; border-color: #d2a777; }
.cc-message-close {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 24px;
    cursor: pointer;
    transition: background .3s var(--cc-curve);
}
.cc-message-close:hover { background: #372b2410; }
.cc-message-close:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 2px; }
@media (max-width: 760px) {
    .cc-message { padding: 12px 8px 12px 16px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-loading-c circle { animation: none; fill: #000; }
    .cc-message-close { transition: none; }
}

/* Approved homepage: reference 8.html, scoped to preserve other existing screens. */
.cc-home-page { margin: 0; background: var(--cc-cream); }
.cc-home { font-family: Manrope, sans-serif; font-size: 16px; line-height: 1.5; }
.cc-home {
    --clay:#a64e36;
    --clay-dark:#843c29;
    --peach:#efd7c9;
    --cream:#fbf8f3;
    --paper:#fffdf9;
    --ink:#352d28;
    --muted:#71675f;
    --line:#e3d9d0;
    --curve:cubic-bezier(.22,1,.36,1)
}
.cc-home * {
    box-sizing:border-box
}
.cc-home {
    scroll-behavior:smooth;
    scroll-padding-top:112px
}
.cc-home {
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:Manrope,sans-serif;
    font-size:16px;
    line-height:1.5
}
.cc-home button,
.cc-home a {
    -webkit-tap-highlight-color:transparent
}
.cc-home a {
    color:inherit;
    text-decoration:none
}
.cc-home button {
    font:inherit;
    cursor:pointer
}
.cc-home img {
    display:block;
    width:100%;
    object-fit:cover
}
.cc-home h1,
.cc-home h2,
.cc-home h3,
.cc-home p {
    margin:0
}
.cc-home h1,
.cc-home h2,
.cc-home h3 {
    text-wrap:balance
}
.cc-home p {
    text-wrap:pretty
}
.cc-home button,
.cc-home a {
    transition:background .3s var(--curve),color .3s var(--curve),transform .3s var(--curve)
}
.cc-home a:focus-visible,
.cc-home button:focus-visible,
.cc-home summary:focus-visible {
    outline:3px solid var(--clay);
    outline-offset:5px
}
.cc-home a:active,
.cc-home button:active {
    transform:translateY(1px)
}
.cc-home .wrap {
    max-width:1280px;
    margin:auto;
    padding-inline:48px
}
.cc-home .heading-1 {
    font-size:60px;
    line-height:1;
    font-weight:600;
    letter-spacing:-3px
}
.cc-home .heading-2 {
    font-size:48px;
    line-height:1;
    font-weight:600;
    letter-spacing:-2px
}
.cc-home .heading-3 {
    font-size:36px;
    line-height:40px;
    font-weight:600;
    letter-spacing:-1px
}
.cc-home .heading-5 {
    font-size:24px;
    line-height:32px;
    font-weight:600
}
.cc-home .body-3 {
    font-size:16px;
    line-height:24px;
    font-weight:400
}
.cc-home .body-6 {
    font-size:14px;
    line-height:20px;
    font-weight:400
}
.cc-home .caption-4 {
    font-size:12px;
    line-height:16px;
    font-weight:500
}
.cc-home .eyebrow {
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
    line-height:16px;
    font-weight:600;
    color:var(--clay)
}
.cc-home .btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    border:1px solid transparent;
    border-radius:999px;
    background:var(--clay);
    color:white;
    padding:12px 24px;
    min-height:48px;
    font-size:14px;
    font-weight:600
}
.cc-home .btn:hover {
    background:var(--clay-dark)
}
.cc-home .btn.light {
    background:var(--paper);
    color:var(--clay)
}
.cc-home .btn.light:hover {
    background:var(--peach)
}
.cc-home .arrow {
    font-size:20px;
    line-height:24px
}
.cc-home .text-link {
    display:inline-flex;
    gap:16px;
    align-items:center;
    font-size:14px;
    font-weight:600;
    color:var(--clay)
}
.cc-home .text-link:hover {
    color:var(--clay-dark);
    transform:translateX(4px)
}
.cc-home .brand {
    display:flex;
    gap:8px;
    align-items:center;
    font-size:20px;
    line-height:28px;
    font-weight:700;
    letter-spacing:-1px
}
.cc-home .brand svg {
    width:32px;
    height:32px;
    color:var(--clay)
}
.cc-home .hero-note {
    color:var(--muted);
    display:flex;
    gap:8px;
    align-items:center
}
.cc-home .sample-label {
    color:var(--muted);
    font-size:12px
}
.cc-home .section {
    padding-block:96px
}
.cc-home .section-head {
    display:flex;
    justify-content:space-between;
    gap:48px;
    align-items:end;
    margin-bottom:40px
}
.cc-home .section-head h2 {
    max-width:640px;
    margin-top:16px
}
.cc-home .section-head p {
    max-width:300px;
    color:var(--muted)
}
.cc-home .tabs {
    display:flex;
    gap:8px;
    border-bottom:1px solid var(--line);
    padding-bottom:16px;
    margin-bottom:32px
}
.cc-home .tab {
    background:transparent;
    border:1px solid var(--line);
    border-radius:999px;
    padding:12px 24px;
    color:var(--muted);
    font-size:14px
}
.cc-home .tab[aria-selected=true] {
    background:var(--clay);
    border-color:var(--clay);
    color:white
}
.cc-home .tab:hover {
    background:var(--peach);
    color:var(--ink)
}
.cc-home .feature-panel {
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:400px;
    border-radius:16px;
    overflow:hidden;
    background:#f0e6dc
}
.cc-home .feature-copy {
    padding:48px;
    display:flex;
    flex-direction:column;
    justify-content:center
}
.cc-home .feature-copy h3 {
    margin:16px 0
}
.cc-home .feature-copy p {
    color:var(--muted);
    max-width:380px
}
.cc-home .feature-copy .text-link {
    margin-top:32px
}
.cc-home .feature-demo {
    padding:40px;
    display:grid;
    place-items:center;
    background:#e9d1c2;
    position:relative;
    overflow:hidden
}
.cc-home .feature-demo:before,
.cc-home .feature-demo:after {
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    border:1px solid #a64e3620;
    border-radius:50%;
    left:48px;
    top:64px
}
.cc-home .feature-demo:after {
    width:400px;
    height:400px;
    left:8px;
    top:24px
}
.cc-home .app-window {
    z-index:1;
    background:var(--paper);
    border-radius:16px;
    width:100%;
    max-width:360px;
    padding:24px;
    box-shadow:0 16px 48px #693e2112;
    transform:rotate(-3deg)
}
.cc-home .window-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-bottom:16px;
    border-bottom:1px solid var(--line);
    font-size:12px
}
.cc-home .app-greeting {
    font-size:20px;
    line-height:28px;
    font-weight:600;
    margin:24px 0 16px
}
.cc-home .demo-message {
    font-size:14px;
    line-height:20px;
    padding:16px;
    border-radius:12px;
    background:#f3ede5;
    margin-top:12px
}
.cc-home .demo-message.user {
    margin-left:40px;
    background:var(--peach)
}
.cc-home .input-mock {
    margin-top:24px;
    border:1px solid var(--line);
    border-radius:999px;
    padding:12px 16px;
    color:var(--muted);
    display:flex;
    justify-content:space-between;
    font-size:12px
}
.cc-home .feature-foot {
    margin-top:16px;
    color:var(--muted);
    font-size:12px
}
.cc-home .tagline {
    padding:80px 0;
    text-align:center;
    background:#f0e4da
}
.cc-home .tagline h2 {
    max-width:800px;
    margin:auto
}
.cc-home .tagline .word {
    color:#b6a69b;
    transition:color .5s var(--curve)
}
.cc-home .tagline .word.on {
    color:var(--clay)
}
.cc-home .tagline p {
    margin:24px auto 0;
    max-width:480px;
    color:var(--muted)
}
.cc-home .story-copy {
    padding:64px 48px
}
.cc-home .story-copy .eyebrow {
    color:#f0cdbb
}
.cc-home .story-copy h2 {
    margin:24px 0
}
.cc-home .story-copy p {
    color:#f4dfd2
}
.cc-home .story-copy .btn {
    margin-top:32px
}
.cc-home .routine {
    padding-top:0
}
.cc-home .choices {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px
}
.cc-home .choice {
    display:flex;
    flex-direction:column;
    border:1px solid var(--line);
    border-radius:16px;
    overflow:hidden;
    background:var(--paper)
}
.cc-home .choice-image {
    height:224px;
    overflow:hidden
}
.cc-home .choice-image img {
    height:100%;
    transition:transform .5s var(--curve)
}
.cc-home .choice:hover img {
    transform:scale(1.04)
}
.cc-home .choice-copy {
    padding:24px;
    display:flex;
    flex-direction:column;
    flex:1
}
.cc-home .choice h3 {
    margin:12px 0
}
.cc-home .choice p {
    color:var(--muted);
    margin-bottom:24px
}
.cc-home .choice .text-link {
    margin-top:auto
}
.cc-home .faq-grid {
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:80px
}
.cc-home .faq-intro h2 {
    margin:16px 0 24px
}
.cc-home .faq-intro p {
    color:var(--muted);
    margin-bottom:24px
}
.cc-home .faq-list details {
    border-bottom:1px solid var(--line);
    padding:24px 0
}
.cc-home .faq-list details:first-child {
    padding-top:0
}
.cc-home .faq-list summary {
    list-style:none;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px
}
.cc-home .faq-list summary::-webkit-details-marker {
    display:none
}
.cc-home .faq-list summary:after {
    content:"+";
    font-size:24px;
    font-weight:400;
    color:var(--clay)
}
.cc-home .faq-list details[open] summary:after {
    content:"−"
}
.cc-home .faq-list details p {
    padding-top:16px;
    max-width:520px;
    color:var(--muted);
    font-size:14px;
    line-height:20px
}
.cc-home .final {
    background:var(--peach);
    text-align:center;
    padding:80px 24px
}
.cc-home .final h2 {
    margin:16px auto 24px;
    max-width:640px
}
.cc-home .final p {
    color:var(--muted);
    margin-bottom:32px
}
.cc-home .reveal {
    opacity:0;
    transform:translateY(32px);
    transition:opacity .7s var(--curve),transform .7s var(--curve)
}
.cc-home .reveal.visible {
    opacity:1;
    transform:none
}
.cc-home noscript .reveal {
    opacity:1;
    transform:none
}
@media(max-width:1050px) {
.cc-home .wrap {
    padding-inline:32px
}
.cc-home .heading-1 {
    font-size:48px;
    line-height:1;
    letter-spacing:-2px
}
.cc-home .feature-copy,
.cc-home .feature-demo {
    padding:32px
}
.cc-home .story-copy {
    padding:48px 32px
}
.cc-home .faq-grid {
    gap:40px
}
.cc-home .heading-2 {
    font-size:36px;
    line-height:40px;
    letter-spacing:-1px
}
}
@media(max-width:760px) {
.cc-home .wrap {
    padding-inline:24px
}
.cc-home .brand {
    font-size:18px
}
.cc-home .brand svg {
    width:24px;
    height:24px
}
.cc-home .section {
    padding-block:64px
}
.cc-home .section-head {
    display:block;
    margin-bottom:32px
}
.cc-home .section-head p {
    margin-top:24px;
    max-width:100%
}
.cc-home .tabs {
    overflow:auto;
    gap:8px;
    margin-right:-24px;
    padding-right:24px
}
.cc-home .tab {
    white-space:nowrap;
    padding:8px 16px;
    min-height:44px
}
.cc-home .feature-panel {
    grid-template-columns:1fr
}
.cc-home .feature-copy {
    padding:32px 24px
}
.cc-home .feature-demo {
    padding:32px;
    min-height:360px
}
.cc-home .heading-3 {
    font-size:30px;
    line-height:36px
}
.cc-home .tagline {
    padding:64px 24px
}
.cc-home .tagline h2 {
    font-size:36px;
    line-height:40px
}
.cc-home .story-copy {
    padding:40px 24px
}
.cc-home .routine {
    padding-top:0
}
.cc-home .choices {
    grid-template-columns:1fr
}
.cc-home .choice-image {
    height:240px
}
.cc-home .faq-grid {
    grid-template-columns:1fr;
    gap:32px
}
.cc-home .final {
    padding:64px 24px
}
.cc-home .section-head h2 {
    max-width:100%
}
}
@keyframes menu-in {from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce) {
.cc-home {
    scroll-behavior:auto
}
.cc-home *,
.cc-home *:before,
.cc-home *:after {
    animation:none!important;
    transition:none!important
}
.cc-home .reveal {
    opacity:1;
    transform:none
}
.cc-home .tagline .word {
    color:var(--clay)
}
}
.cc-home .brand .original-logo {
    width:32px;
    height:36px;
    object-fit:contain;
    flex-shrink:0
}
.cc-home .window-head .original-logo {
    width:20px;
    height:24px
}
@media(max-width:760px) {
.cc-home .brand .original-logo {
    width:24px;
    height:28px
}
}
.cc-home .section-head h2 {
    max-width:680px
}
.cc-home .feature-panel {
    background:#eee5da;
    border-radius:8px
}
.cc-home .feature-demo {
    background:#e1c8b7
}
.cc-home .tab {
    border-radius:8px
}
.cc-home .app-window {
    transform:none;
    border-radius:8px
}
.cc-home .tagline {
    background:#eee3d7;
    padding:96px 24px
}
.cc-home .tagline h2 {
    font-size:60px;
    line-height:1
}
.cc-home .choice {
    border-radius:8px
}
.cc-home .final {
    background:var(--clay);
    color:var(--paper)
}
.cc-home .final .eyebrow {
    color:#edc6b4
}
.cc-home .final p {
    color:#f2dcd0
}
.cc-home .final .btn {
    background:var(--paper);
    color:var(--clay)
}
@media(max-width:760px) {
.cc-home .tagline {
    padding:64px 24px
}
.cc-home .tagline h2 {
    font-size:36px;
    line-height:40px
}
}
.cc-home .choice {
    transition:transform .5s var(--curve),box-shadow .5s var(--curve),background .3s var(--curve)
}
.cc-home .choice:hover,
.cc-home .choice:focus-within,
.cc-home .choice.touch-active {
    transform:translateY(-8px);
    box-shadow:0 16px 32px #203d3814
}
.cc-home .app-window {
    transition:transform .5s var(--curve),box-shadow .5s var(--curve)
}
.cc-home .feature-demo:hover .app-window {
    transform:translateY(-8px) rotate(0deg);
    box-shadow:0 24px 48px #203d3820
}
.cc-home .feature-panel.is-switching .feature-copy,
.cc-home .feature-panel.is-switching .app-window {
    animation:feature-arrive .6s var(--curve) both
}
.cc-home .feature-panel.is-switching .app-window {
    animation-delay:60ms
}
.cc-home .btn:hover .arrow,
.cc-home .text-link:hover span {
    transform:translate(3px,-3px)
}
.cc-home .btn .arrow,
.cc-home .text-link span {
    display:inline-block;
    transition:transform .3s var(--curve)
}
@keyframes feature-arrive {from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes breath-cycle {0%,100%{transform:scale(.8)}50%{transform:scale(1.15)}}
@media(prefers-reduced-motion:reduce) {
.cc-home .choice:hover,
.cc-home .choice:focus-within,
.cc-home .choice.touch-active,
.cc-home .feature-demo:hover .app-window {
    transform:none!important
}
}
.cc-home {
    --clay:#a34532;
    --clay-dark:#7f3528;
    --peach:#f1c8ac;
    --cream:#fffaf1;
    --paper:#fffdf7;
    --ink:#443027;
    --muted:#725c4e;
    --line:#e7d7c6
}
.cc-home {
    background:var(--cream)
}
.cc-home .heading-1,
.cc-home .heading-2,
.cc-home .heading-3,
.cc-home .heading-5 {
    letter-spacing:-1px
}
.cc-home .btn {
    background:#a34532
}
.cc-home .play-hero {
    text-align:center;
    padding-top:64px;
    overflow:hidden
}
.cc-home .play-hero h1 {
    font-size:72px;
    line-height:1;
    letter-spacing:-3px;
    margin:24px auto;
    max-width:800px
}
.cc-home .play-hero h1 span {
    color:#a34532
}
.cc-home .hero-description {
    font-size:18px;
    line-height:28px;
    max-width:560px;
    color:var(--muted);
    margin:0 auto 24px
}
.cc-home .play-hero .hero-note {
    justify-content:center;
    margin-top:12px
}
.cc-home .character-garden {
    height:360px;
    max-width:1000px;
    position:relative;
    margin:32px auto 0;
    display:flex;
    justify-content:center;
    align-items:end;
    gap:32px;
    border-bottom:1px solid var(--line)
}
.cc-home .garden-label {
    position:absolute;
    top:16px;
    left:0;
    color:var(--muted);
    transform:rotate(-8deg)
}
.cc-home .character {
    position:relative;
    flex-shrink:0;
    transition:transform .6s var(--curve);
    cursor:default;
    transform-origin:50% 100%
}
.cc-home .character:hover,
.cc-home .character.pressed {
    transform:rotate(-6deg) translateY(-12px)
}
.cc-home .character span {
    position:absolute;
    bottom:24px;
    left:0;
    right:0;
    font-size:14px;
    font-weight:600;
    text-align:center
}
.cc-home .shape-arch {
    width:224px;
    height:288px;
    background:#b9563d;
    border-radius:128px 128px 16px 16px;
    color:#fff7e9;
    transform:rotate(-7deg)
}
.cc-home .shape-sun {
    height:304px;
    width:304px;
    display:grid;
    place-items:center;
    align-self:center
}
.cc-home .sun-core {
    height:256px;
    width:256px;
    background:#e6a263;
    clip-path:polygon(50% 0%,59% 9%,71% 5%,76% 18%,90% 18%,90% 32%,100% 40%,93% 50%,100% 62%,89% 69%,89% 83%,75% 83%,69% 96%,57% 91%,49% 100%,40% 90%,27% 96%,22% 83%,8% 82%,10% 68%,0% 59%,8% 49%,0% 37%,12% 30%,12% 17%,26% 17%,32% 4%,43% 9%);
    position:relative
}
.cc-home .shape-sun span {
    bottom:8px
}
.cc-home .shape-pebble {
    height:240px;
    width:256px;
    border-radius:50% 44% 32% 48%;
    background:#d4bba6;
    transform:rotate(6deg)
}
.cc-home .face {
    position:absolute;
    top:38%;
    left:50%;
    width:72px;
    height:56px;
    transform:translate(-50%,-50%);
    color:#442c24
}
.cc-home .face i {
    position:absolute;
    top:0;
    width:8px;
    height:12px;
    border-radius:50%;
    background:currentColor;
    transition:transform .3s var(--curve)
}
.cc-home .face i:first-child {
    left:12px
}
.cc-home .face i:nth-child(2) {
    right:12px
}
.cc-home .face b {
    position:absolute;
    bottom:0;
    left:24px;
    width:24px;
    height:12px;
    border:2px solid currentColor;
    border-top:0;
    border-radius:0 0 24px 24px
}
.cc-home .character:hover .face i {
    transform:scaleY(.3)
}
.cc-home .garden-dot {
    width:24px;
    height:24px;
    border-radius:50%;
    background:#d79879;
    position:absolute
}
.cc-home .dot-one {
    top:64px;
    right:48px
}
.cc-home .dot-two {
    bottom:48px;
    left:8px;
    width:16px;
    height:16px;
    background:#b56c4d
}
.cc-home .garden-spark {
    font-size:48px;
    position:absolute;
    top:40px;
    left:24%;
    color:#a34532
}
.cc-home .mood-section {
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:48px;
    align-items:center;
    padding-top:64px
}
.cc-home .mood-section h2 {
    margin-top:16px
}
.cc-home .mood-options {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px
}
.cc-home .mood-options a {
    border:1px solid var(--line);
    border-radius:16px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:24px 16px;
    font-size:14px;
    background:#fffdf7
}
.cc-home .mood-options a>span:first-child {
    font-size:24px;
    color:var(--clay)
}
.cc-home .mood-options a>span:last-child {
    margin-left:auto
}
.cc-home .mood-options a:hover {
    background:#f4dbc5;
    transform:translateY(-4px)
}
.cc-home .section-head {
    display:block;
    text-align:center
}
.cc-home .section-head h2 {
    margin:16px auto 0;
    max-width:700px
}
.cc-home .section-head p {
    margin:24px auto 0;
    max-width:520px
}
.cc-home .tabs {
    justify-content:center;
    border:0
}
.cc-home .tab {
    border-radius:999px
}
.cc-home .feature-panel {
    border-radius:32px;
    background:#f5dfcb
}
.cc-home .feature-demo {
    background:#e7b899
}
.cc-home .app-window {
    border-radius:24px;
    transform:rotate(4deg)
}
.cc-home .tagline {
    background:#a34532;
    border-radius:48px;
    margin-inline:24px;
    padding:80px 24px
}
.cc-home .tagline h2 {
    font-size:48px;
    line-height:1
}
.cc-home .tagline .word {
    color:#cd9482
}
.cc-home .tagline .word.on {
    color:#fff8e7
}
.cc-home .tagline p {
    color:#f7dfc7
}
.cc-home .play-story {
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:64px;
    padding-top:80px
}
.cc-home .story-copy {
    padding:24px 0
}
.cc-home .story-copy .eyebrow {
    color:var(--clay)
}
.cc-home .story-copy h2 {
    color:var(--ink)
}
.cc-home .story-copy p {
    color:var(--muted)
}
.cc-home .story-copy .btn {
    margin-top:32px;
    color:#fff;
    background:var(--clay)
}
.cc-home .play-story-art {
    height:400px;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:end;
    flex-direction:column;
    padding:32px
}
.cc-home .stack-shape {
    width:288px;
    height:96px;
    border-radius:50%;
    position:absolute;
    left:50%;
    transform:translateX(-50%)
}
.cc-home .stack-one {
    bottom:32px;
    background:#d9bda3;
    transform:translateX(-50%) rotate(-8deg)
}
.cc-home .stack-two {
    bottom:112px;
    background:#b9573e;
    transform:translateX(-50%) rotate(6deg)
}
.cc-home .stack-three {
    bottom:192px;
    background:#e6a263;
    height:112px;
    transform:translateX(-50%) rotate(-5deg)
}
.cc-home .stack-three .face {
    top:50%
}
.cc-home .stack-spark {
    position:absolute;
    right:16px;
    top:16px;
    font-size:72px;
    color:#a34532
}
.cc-home .choices {
    gap:24px
}
.cc-home .choice {
    border-radius:24px;
    border:0;
    background:#f4e7d6
}
.cc-home .choice:nth-child(2) {
    background:#f1d2bb
}
.cc-home .choice:nth-child(3) {
    background:#e6dccb
}
.cc-home .choice-copy {
    padding:32px
}
.cc-home .illustrated {
    display:grid;
    place-items:center;
    position:relative;
    height:256px;
    isolation:isolate
}
.cc-home .mini-sun {
    width:160px;
    height:160px;
    background:#e5a264;
    border-radius:50%;
    position:relative;
    box-shadow:0 0 0 16px #e5a26430,0 0 0 32px #e5a26415;
    transition:transform .6s var(--curve)
}
.cc-home .mini-sun .face {
    top:50%
}
.cc-home .choice:hover .mini-sun {
    transform:scale(1.1) rotate(10deg)
}
.cc-home .mini-book {
    width:160px;
    height:192px;
    background:#a34532;
    color:#fff4e4;
    border-radius:8px 24px 24px 8px;
    transform:rotate(-10deg);
    padding:24px;
    box-shadow:8px 4px 0 #ffefd9;
    transition:transform .6s var(--curve)
}
.cc-home .mini-book span {
    font-size:24px;
    font-weight:600;
    line-height:32px
}
.cc-home .book-lines {
    margin-top:24px;
    border-top:2px solid #f0c7ab;
    border-bottom:2px solid #f0c7ab;
    height:16px
}
.cc-home .choice:hover .mini-book {
    transform:rotate(0deg) translateY(-8px)
}
.cc-home .mini-block {
    width:144px;
    height:64px;
    border-radius:16px;
    position:absolute;
    left:50%;
    transition:transform .6s var(--curve)
}
.cc-home .mini-block.one {
    background:#a34532;
    top:144px;
    transform:translateX(-50%) rotate(-8deg)
}
.cc-home .mini-block.two {
    background:#d48d65;
    top:96px;
    transform:translateX(-50%) rotate(8deg)
}
.cc-home .mini-block.three {
    background:#e8bd8c;
    top:48px;
    transform:translateX(-50%) rotate(-5deg)
}
.cc-home .choice:hover .mini-block.three {
    transform:translateX(-50%) translateY(-16px) rotate(0deg)
}
.cc-home .section-head>.text-link {
    margin-top:24px
}
.cc-home .final {
    border-radius:48px 48px 0 0;
    background:#e9b68f;
    color:var(--ink)
}
.cc-home .final .eyebrow {
    color:#7f3528
}
.cc-home .final p {
    color:#654333
}
.cc-home .final .btn {
    background:#a34532;
    color:white
}
@media(max-width:1050px) {
.cc-home .play-hero h1 {
    font-size:60px
}
.cc-home .character-garden {
    gap:16px
}
.cc-home .shape-arch {
    width:192px;
    height:256px
}
.cc-home .shape-sun {
    width:256px
}
.cc-home .sun-core {
    width:224px;
    height:224px
}
.cc-home .shape-pebble {
    width:224px;
    height:208px
}
.cc-home .mood-section {
    gap:24px
}
.cc-home .mood-options a {
    padding:16px 12px
}
.cc-home .play-story {
    gap:32px
}
}
@media(max-width:760px) {
.cc-home .play-hero {
    padding-top:48px
}
.cc-home .play-hero h1 {
    font-size:48px;
    line-height:1;
    letter-spacing:-2px
}
.cc-home .hero-description {
    font-size:16px;
    line-height:24px
}
.cc-home .character-garden {
    height:256px;
    gap:8px;
    margin-top:32px;
    width:100%;
    overflow:hidden
}
.cc-home .garden-label {
    top:0;
    left:8px;
    font-size:12px;
    transform:none
}
.cc-home .shape-arch {
    width:96px;
    height:176px;
    border-radius:64px 64px 8px 8px
}
.cc-home .shape-sun {
    width:128px;
    height:192px;
    align-self:end;
    margin-bottom:16px
}
.cc-home .sun-core {
    width:128px;
    height:128px
}
.cc-home .shape-pebble {
    width:112px;
    height:152px
}
.cc-home .character span {
    font-size:12px;
    bottom:16px
}
.cc-home .shape-sun span {
    bottom:0;
    font-size:12px;
    white-space:nowrap
}
.cc-home .face {
    width:48px;
    height:40px
}
.cc-home .face i {
    width:6px;
    height:8px
}
.cc-home .face i:first-child {
    left:8px
}
.cc-home .face i:nth-child(2) {
    right:8px
}
.cc-home .face b {
    left:16px;
    width:16px;
    height:8px
}
.cc-home .garden-spark {
    font-size:30px;
    top:40px;
    left:32%
}
.cc-home .dot-one {
    width:16px;
    height:16px;
    right:8px;
    top:48px
}
.cc-home .dot-two {
    display:none
}
.cc-home .mood-section {
    padding-top:40px;
    grid-template-columns:1fr;
    gap:24px
}
.cc-home .mood-options {
    gap:8px
}
.cc-home .mood-options a {
    font-size:12px;
    padding:16px 8px;
    gap:8px
}
.cc-home .mood-options a>span:first-child {
    font-size:20px
}
.cc-home .section-head {
    text-align:left
}
.cc-home .section-head p {
    margin-top:16px
}
.cc-home .tabs {
    justify-content:flex-start
}
.cc-home .feature-panel {
    border-radius:24px
}
.cc-home .tagline {
    margin-inline:16px;
    border-radius:24px;
    padding:48px 24px
}
.cc-home .tagline h2 {
    font-size:36px;
    line-height:40px
}
.cc-home .play-story {
    grid-template-columns:1fr;
    gap:24px;
    padding-top:48px
}
.cc-home .play-story-art {
    height:288px;
    order:2
}
.cc-home .stack-shape {
    width:240px;
    height:64px
}
.cc-home .stack-one {
    bottom:16px
}
.cc-home .stack-two {
    bottom:72px
}
.cc-home .stack-three {
    bottom:128px;
    height:96px
}
.cc-home .stack-spark {
    font-size:48px;
    right:0;
    top:0
}
.cc-home .story-copy {
    padding:0
}
.cc-home .choice-copy {
    padding:24px
}
.cc-home .illustrated {
    height:240px
}
.cc-home .final {
    border-radius:24px 24px 0 0
}
}
@media(prefers-reduced-motion:reduce) {
.cc-home .character,
.cc-home .character:hover,
.cc-home .character.pressed,
.cc-home .choice:hover .mini-sun,
.cc-home .choice:hover .mini-book,
.cc-home .choice:hover .mini-block.three,
.cc-home .mood-options a:hover {
    transform:none
}
.cc-home .tagline .word {
    color:#fff8e7
}
}
.cc-home {
    --cream:#fbf8ee;
    --paper:#fffdf7;
    --ink:#30251f;
    --muted:#62554b;
    --line:#e1d7c6;
    --clay:#884633;
    --clay-dark:#6e392c;
    --peach:#ffcba1;
    --lemon:#f8f9bc;
    --mint:#e9f3de;
    --oat:#f6edda
}
.cc-home .btn,
.cc-home .story-copy .btn,
.cc-home .final .btn {
    background:var(--clay);
    color:white
}
.cc-home .btn:hover,
.cc-home .story-copy .btn:hover,
.cc-home .final .btn:hover {
    background:var(--clay-dark)
}
.cc-home .play-hero h1 span,
.cc-home .garden-spark,
.cc-home .stack-spark {
    color:var(--clay)
}
.cc-home .shape-arch {
    background:#9c573e;
    color:white
}
.cc-home .shape-arch .face {
    color:white
}
.cc-home .sun-core,
.cc-home .mini-sun {
    background:var(--lemon)
}
.cc-home .shape-pebble {
    background:var(--mint)
}
.cc-home .dot-one {
    background:var(--peach)
}
.cc-home .dot-two {
    background:#9c573e
}
.cc-home .mood-options a:nth-child(1) {
    background:var(--peach)
}
.cc-home .mood-options a:nth-child(2) {
    background:var(--lemon)
}
.cc-home .mood-options a:nth-child(3) {
    background:var(--mint)
}
.cc-home .mood-options a:nth-child(4) {
    background:var(--oat)
}
.cc-home .mood-options a:hover {
    border-color:var(--clay)
}
.cc-home .feature-panel {
    background:var(--oat)
}
.cc-home .feature-demo {
    background:var(--mint)
}
.cc-home .app-window {
    background:var(--paper)
}
.cc-home .demo-message {
    background:var(--oat)
}
.cc-home .demo-message.user {
    background:#f7d9c5
}
.cc-home .tagline {
    background:#e9f3de
}
.cc-home .tagline .word {
    color:#62594f
}
.cc-home .tagline .word.on {
    color:#362820
}
.cc-home .tagline p {
    color:#504a3f
}
.cc-home .stack-one,
.cc-home .mini-block.one {
    background:#9c573e
}
.cc-home .stack-two,
.cc-home .mini-block.two {
    background:var(--peach)
}
.cc-home .stack-three,
.cc-home .mini-block.three {
    background:var(--lemon)
}
.cc-home .choice:nth-child(1) {
    background:var(--lemon)
}
.cc-home .choice:nth-child(2) {
    background:var(--peach)
}
.cc-home .choice:nth-child(3) {
    background:var(--mint)
}
.cc-home .mini-sun {
    box-shadow:0 0 0 16px #fffdf770,0 0 0 32px #fffdf738
}
.cc-home .mini-book {
    background:var(--clay)
}
.cc-home .final {
    background:var(--peach)
}
.cc-home .reviews {
    background:var(--cream);
    overflow:hidden;
    color:var(--ink)
}
.cc-home .reviews .lead {
    text-align:center;
    margin-bottom:32px
}
.cc-home .reviews .lead p {
    margin-top:12px;
    color:var(--muted)
}
.cc-home .reviews .lead a {
    text-decoration:underline;
    text-underline-offset:3px
}
.cc-home .review-window {
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    scroll-behavior:auto;
    cursor:grab;
    padding:0 24px 12px
}
.cc-home .review-window::-webkit-scrollbar {
    display:none
}
.cc-home .review-window.dragging {
    cursor:grabbing;
    user-select:none
}
.cc-home .review-track,
.cc-home .review-set {
    display:flex;
    width:max-content;
    gap:16px
}
.cc-home .review-set figure {
    margin:0;
    display:flex;
    flex-direction:column;
    justify-content:end;
    gap:22px;
    width:clamp(265px,31vw,435px);
    min-height:clamp(330px,34vw,500px);
    padding:36px 28px 28px;
    border-radius:24px;
    background:var(--oat);
    transition:border-radius .36s var(--curve)
}
.cc-home .review-set figure:nth-child(2) {
    background:var(--lemon)
}
.cc-home .review-set figure:nth-child(3) {
    background:var(--mint)
}
.cc-home .review-set figure:nth-child(4) {
    background:var(--peach)
}
.cc-home .review-set blockquote {
    margin:0;
    font-size:clamp(22px,2vw,30px);
    line-height:1.3;
    letter-spacing:-.025em
}
.cc-home .review-set figcaption {
    align-self:start;
    border-radius:99px;
    padding:6px 14px;
    background:#493a2e;
    color:#fff8ed;
    font-size:14px
}
.cc-home .review-controls {
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:24px;
    flex-wrap:wrap
}
.cc-home .review-controls button {
    background:transparent;
    color:var(--ink);
    border:1px solid currentColor;
    border-radius:99px;
    padding:8px 16px;
    min-height:44px
}
.cc-home .review-controls button:hover {
    background:var(--oat)
}
.cc-home #questions {
    padding-top:64px
}
@media(hover:hover) {
.cc-home .review-set figure:hover {
    border-radius:50% 50% 66px 66px / 40% 40% 66px 66px
}
}
@media(prefers-reduced-motion:reduce) {
.cc-home .tagline .word {
    color:#362820
}
}
.cc-home {
    background:var(--cream);
     color:var(--ink);
}
.cc-home .eyebrow,
.cc-home .text-link {
    color:var(--clay);
}
.cc-home .btn,
.cc-home .story-copy .btn,
.cc-home .final .btn {
    background:var(--clay);
     color:#fff;
}
.cc-home .btn:hover,
.cc-home .story-copy .btn:hover,
.cc-home .final .btn:hover {
    background:var(--clay-dark);
}
.cc-home .text-link:hover {
    color:var(--clay-dark);
}
.cc-home a:focus-visible,
.cc-home button:focus-visible,
.cc-home summary:focus-visible {
    outline-color:var(--clay);
}
.cc-home .play-hero h1 span {
    color:var(--clay);
}
.cc-home .character-garden {
    isolation:isolate;
}
.cc-home .shape-arch {
    background:var(--character-arch);
     color:var(--character-arch-ink);
}
.cc-home .shape-arch .face {
    color:inherit;
}
.cc-home .sun-core,
.cc-home .mini-sun {
    background:var(--character-sun);
}
.cc-home .shape-pebble {
    background:var(--character-pebble);
     color:var(--ink);
}
.cc-home .face {
    color:var(--ink);
}
.cc-home .dot-one {
    background:var(--detail);
}
.cc-home .dot-two,
.cc-home .garden-spark,
.cc-home .stack-spark {
    color:var(--clay);
}
.cc-home .dot-two {
    background:var(--clay);
}
.cc-home .mood-options a:nth-child(n) {
    background:var(--paper);
     border-color:var(--line);
}
.cc-home .mood-options a:nth-child(1) {
    --tool:var(--talk);
}
.cc-home .mood-options a:nth-child(2) {
    --tool:var(--meditate);
}
.cc-home .mood-options a:nth-child(3) {
    --tool:var(--write);
}
.cc-home .mood-options a:nth-child(4) {
    --tool:var(--learn);
}
.cc-home .mood-options a>span:first-child {
    display:grid;
     place-items:center;
     width:32px;
     height:32px;
     flex:none;

  border-radius:50%;
     background:var(--tool);
     color:var(--ink);
     font-size:18px;
}
.cc-home .mood-options a:nth-child(n):hover {
    background:var(--tool);
     border-color:var(--clay);
}
.cc-home .tabs {
    border-color:var(--line);
}
.cc-home .tab {
    border-color:var(--line);
     color:var(--muted);
}
.cc-home .tab:hover {
    background:var(--surface);
     color:var(--ink);
}
.cc-home .tab[aria-selected=true],
.cc-home .tab[aria-selected=true]:hover {
    background:var(--clay);
     border-color:var(--clay);
     color:#fff;
}
.cc-home .feature-panel {
    background:var(--surface);
     --preview-accent:var(--talk);
}
.cc-home .feature-panel[aria-labelledby=tab-meditate] {
    --preview-accent:var(--meditate);
}
.cc-home .feature-panel[aria-labelledby=tab-journal] {
    --preview-accent:var(--write);
}
.cc-home .feature-panel[aria-labelledby=tab-learn] {
    --preview-accent:var(--learn);
}
.cc-home .feature-demo {
    background:var(--preview-accent);
}
.cc-home .feature-demo::before,
.cc-home .feature-demo::after {
    border-color:var(--line-strong);
}
.cc-home .app-window {
    background:var(--paper);
}
.cc-home .demo-message {
    background:var(--surface);
     color:var(--ink);
}
.cc-home .demo-message.user {
    background:var(--preview-accent);
}
.cc-home .tagline {
    background:var(--tagline-surface);
}
.cc-home .tagline .word {
    color:var(--tagline-muted);
}
.cc-home .tagline .word.on {
    color:var(--tagline-ink);
}
.cc-home .tagline p {
    color:var(--tagline-ink);
}
.cc-home .stack-one,
.cc-home .mini-block.one {
    background:var(--character-pebble);
}
.cc-home .stack-two,
.cc-home .mini-block.two {
    background:var(--detail);
}
.cc-home .stack-three,
.cc-home .mini-block.three {
    background:var(--character-sun);
}
.cc-home .mini-sun {
    box-shadow:0 0 0 16px var(--paper),0 0 0 32px var(--surface);
}
.cc-home .mini-book {
    background:var(--clay);
     color:#fff;
     box-shadow:8px 4px 0 var(--paper);
}
.cc-home .book-lines {
    border-color:var(--paper);
}
.cc-home .choice:nth-child(n) {
    background:var(--paper);
     border:1px solid var(--line);
}
.cc-home .choice .meditation {
    background:var(--meditate);
}
.cc-home .choice .journal {
    background:var(--write);
}
.cc-home .choice .library {
    background:var(--learn);
}
.cc-home .reviews {
    background:var(--review-surface);
}
.cc-home .review-set figure:nth-child(1) {
    background:var(--quote-one);
}
.cc-home .review-set figure:nth-child(2) {
    background:var(--quote-two);
}
.cc-home .review-set figure:nth-child(3) {
    background:var(--quote-three);
}
.cc-home .review-set figure:nth-child(4) {
    background:var(--quote-four);
}
.cc-home .review-set figcaption {
    background:var(--clay-dark);
     color:#fff;
}
.cc-home .review-controls button:hover {
    background:var(--paper);
}
.cc-home .final {
    background:var(--closing-surface);
}
.cc-home .final .eyebrow {
    color:var(--clay-dark);
}
.cc-home .final h2,
.cc-home .final p {
    color:var(--ink);
}
@media(max-width:760px) {
.cc-home .mood-options a>span:first-child {
    width:24px;
     height:24px;
     font-size:16px;
}
}
@media(prefers-reduced-motion:reduce) {
.cc-home .tagline .word {
    color:var(--tagline-ink);
}
}
.cc-home {
    --cream:#fdfae3;
     --paper:#fffcf1;
     --ink:#2d3523;
     --muted:#545844;

  --clay:#465336;
     --clay-dark:#303e27;
     --line:#d9d6b7;
     --line-strong:#46533630;

  --sage:#ced5b2;
     --light-sage:#eaedcc;
     --wheat:#f8edd0;
     --tan:#cca57a;

  --surface:var(--wheat);
     --garden-surface:var(--light-sage);
     --garden-top:37%;
     --detail:#956439;

  --talk:var(--wheat);
     --meditate:var(--sage);
     --write:var(--light-sage);
     --learn:#e7c6a1;

  --character-arch:#67744f;
     --character-arch-ink:#fffdf1;

  --character-sun:var(--tan);
     --character-pebble:var(--sage);

  --tagline-surface:#465336;
     --tagline-ink:#fffbe9;
     --tagline-muted:#e0e6c6;

  --review-surface:var(--wheat);
     --quote-one:var(--cream);
     --quote-two:var(--sage);

  --quote-three:var(--light-sage);
     --quote-four:#e7c6a1;
     --closing-surface:var(--light-sage);
}
.cc-home .stack-two,
.cc-home .mini-block.two {
    background:var(--tan);
}
.cc-home .shape-pebble {
    box-shadow:inset 0 0 0 1px #46533638;
}
.cc-home .mini-sun {
    background:var(--tan);
}
.cc-home {
    --cream:#fbf6e8;
     --paper:#fffcf4;
     --ink:#372b24;
     --muted:#605248;

  --clay:#784332;
     --clay-dark:#613428;
     --line:#dfd2bd;
     --line-strong:#78433233;

  --sage:#ced5b2;
     --light-sage:#eaedcc;
     --wheat:#f8edd0;
     --tan:#cca57a;

  --surface:#f3e8d4;
     --detail:#697653;

  --talk:#ebc5b4;
     --meditate:#d8dfc4;
     --write:#ead4ba;
     --learn:#f3e7c9;

  --character-arch:#a15b47;
     --character-arch-ink:#fff8eb;

  --character-sun:#d2a777;
     --character-pebble:#b8c49e;

  --tagline-surface:#dbe2c7;
     --tagline-ink:#344128;
     --tagline-muted:#515e43;

  --review-surface:#f4ead7;
     --quote-one:#fff8e7;
     --quote-two:#dce5ca;

  --quote-three:#ebc5b4;
     --quote-four:#ebd7b9;
     --closing-surface:#ead0bc;
}
.cc-home .play-hero h1 span {
    color:#784332;
}
.cc-home .stack-one,
.cc-home .mini-block.one {
    background:#9c5947;
}
.cc-home .stack-two,
.cc-home .mini-block.two {
    background:#b8c49e;
}
.cc-home .stack-three,
.cc-home .mini-block.three {
    background:#d2a777;
}
.cc-home .garden-spark,
.cc-home .stack-spark {
    color:#566443;
}
.cc-home .review-set figure:nth-child(2) figcaption {
    background:#465336;
}
.cc-home .choice .illustrated {
    border-bottom:1px solid var(--line);
}

/* A small playful response for the stacked illustration. */
.cc-home .play-story-art .stack-shape {
    transition: transform .6s var(--cc-curve);
}
@media (hover: hover) {
    .cc-home .play-story-art:hover .stack-one {
        transform: translateX(-50%) translateY(-4px) rotate(-11deg);
    }
    .cc-home .play-story-art:hover .stack-two {
        transform: translateX(-50%) translateY(-10px) rotate(9deg);
    }
    .cc-home .play-story-art:hover .stack-three {
        transform: translateX(-50%) translateY(-18px) rotate(-2deg);
    }
    .cc-home .play-story-art:hover .face i { transform: scaleY(.5); }
}
@media (prefers-reduced-motion: reduce) {
    .cc-home .play-story-art .stack-shape { transition: none; }
    .cc-home .play-story-art:hover .stack-one { transform: translateX(-50%) rotate(-8deg); }
    .cc-home .play-story-art:hover .stack-two { transform: translateX(-50%) rotate(6deg); }
    .cc-home .play-story-art:hover .stack-three { transform: translateX(-50%) rotate(-5deg); }
    .cc-home .play-story-art:hover .face i { transform: none; }
}

/* Meditation library and player. */
.cc-meditation {
    padding: 40px 48px;
    background: var(--cc-cream);
    color: var(--cc-ink);
    font-family: Manrope, sans-serif;
    font-size: 16px;
    line-height: 24px;
}
.cc-meditation *, .cc-meditation *::before, .cc-meditation *::after { box-sizing: border-box; }
.cc-meditation-wrap { width: 100%; max-width: 1184px; margin: 0 auto; }
.cc-meditation-intro { position: relative; padding: 8px 176px 24px 0; }
.cc-meditation-eyebrow { color: var(--cc-clay); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.cc-meditation-title { margin: 16px 0 24px; font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -1px; }
.cc-meditation-intro p { margin: 0; color: var(--cc-muted); font-size: 18px; line-height: 28px; }
.cc-meditation-sun {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #d2a777;
    box-shadow: 0 0 0 12px #f8edd0, 0 0 0 24px #f3e8d4;
    transition: transform .6s var(--cc-curve);
}
.cc-meditation-sun::before, .cc-meditation-sun::after { content: ''; position: absolute; top: 40px; width: 5px; height: 8px; border-radius: 50%; background: var(--cc-ink); }
.cc-meditation-sun::before { left: 38px; }
.cc-meditation-sun::after { right: 38px; }
.cc-meditation-sun span { position: absolute; top: 60px; left: 46px; width: 20px; height: 10px; border: 2px solid var(--cc-ink); border-top: 0; border-radius: 0 0 20px 20px; }
.cc-meditation-intro:hover .cc-meditation-sun { transform: rotate(6deg); }
.cc-meditation-filters { margin: 8px 0 32px; }
.cc-meditation-filter-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 24px; border: 1px solid var(--cc-line); border-radius: 24px; background: var(--cc-paper); }
.cc-meditation-filter { flex: 1 1 160px; min-width: 0; border: 1px solid var(--cc-line); border-radius: 12px; background: var(--cc-cream); }
.cc-meditation-filter.is-selected { border-color: var(--cc-clay); }
.cc-meditation-select { display: block; width: 100%; min-height: 48px; padding: 12px; border: 0; border-radius: 12px; background: transparent; color: var(--cc-ink); font: inherit; font-size: 14px; cursor: pointer; }
.cc-meditation-apply { min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .3s var(--cc-curve); }
.cc-meditation-apply:hover { background: var(--cc-clay-dark); }
.cc-meditation-category { margin-bottom: 40px; }
.cc-meditation-category-title { margin: 0 0 16px; font-size: 24px; line-height: 32px; font-weight: 600; }
.cc-meditation-cards { display: flex; gap: 24px; overflow-x: auto; padding: 8px 0 16px; }
.cc-meditation-card { display: flex; flex-direction: column; flex: 0 0 264px; min-height: 192px; padding: 24px; border: 1px solid var(--cc-line); border-radius: 24px; background: #d8dfc4; color: var(--cc-ink); text-decoration: none; transition: transform .5s var(--cc-curve), box-shadow .5s var(--cc-curve); }
.cc-meditation-card.is-practitioner { background: #f8edd0; }
.cc-meditation-card-title { margin: 0 0 24px; font-size: 20px; line-height: 28px; font-weight: 600; text-wrap: balance; }
.cc-meditation-card-meta { margin: 0 0 4px; color: var(--cc-muted); font-size: 14px; line-height: 20px; }
.cc-meditation-card-meta:first-of-type { margin-top: auto; }
.cc-meditation-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px #372b2410; }
.cc-meditation a:focus-visible, .cc-meditation button:focus-visible, .cc-meditation select:focus-visible, .cc-meditation input:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-meditation-player { text-align: center; }
.cc-meditation-player-card { width: 100%; max-width: 560px; margin: 0 auto; padding: 40px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }
.cc-meditation-player-art { display: grid; place-items: center; height: 192px; margin: -16px 0 24px; border-radius: 24px; background: #d8dfc4; }
.cc-meditation-player-art .cc-meditation-sun { position: relative; top: auto; right: auto; width: 112px; height: 112px; box-shadow: 0 0 0 12px #fffcf450, 0 0 0 24px #fffcf430; }
.cc-meditation-player-art:hover .cc-meditation-sun { transform: rotate(6deg); }
.cc-meditation-player-title { margin: 0 0 16px; font-size: 30px; line-height: 36px; font-weight: 600; text-wrap: balance; }
.cc-meditation-credit { margin: 4px 0; color: var(--cc-muted); font-size: 14px; line-height: 20px; }
.cc-meditation-audio { margin-top: 32px; }
.cc-meditation-controls { display: flex; justify-content: center; align-items: center; gap: 24px; }
.cc-meditation-skip, .cc-meditation-play { display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 50%; font: inherit; cursor: pointer; transition: background .3s var(--cc-curve), transform .3s var(--cc-curve); }
.cc-meditation-skip { width: 44px; height: 44px; background: #f3e8d4; color: var(--cc-ink); font-size: 14px; font-weight: 600; }
.cc-meditation-play { width: 64px; height: 64px; background: var(--cc-clay); color: var(--cc-paper); font-size: 20px; }
.cc-meditation-play:hover { background: var(--cc-clay-dark); }
.cc-meditation-skip:hover { background: #ead4ba; }
.cc-meditation-controls button:active { transform: scale(.96); }
.cc-meditation .hidden { display: none; }
.cc-meditation-progress { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.cc-meditation-time { color: var(--cc-muted); font-size: 12px; line-height: 20px; font-variant-numeric: tabular-nums; }
.cc-meditation-range { appearance: none; flex: 1; min-width: 0; height: 6px; border-radius: 999px; background: #d8dfc4; accent-color: var(--cc-clay); cursor: pointer; }
.cc-meditation-back { margin-top: 32px; }
.cc-meditation-back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--cc-clay); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
    .cc-meditation { padding: 24px; }
    .cc-meditation-intro { padding: 0 0 16px; }
    .cc-meditation-intro > .cc-meditation-sun { display: none; }
    .cc-meditation-title { font-size: 36px; line-height: 40px; }
    .cc-meditation-intro p { font-size: 16px; line-height: 24px; }
    .cc-meditation-filter-form { padding: 16px; gap: 12px; }
    .cc-meditation-filter { flex-basis: 100%; }
    .cc-meditation-apply { width: 100%; }
    .cc-meditation-filters { margin-bottom: 32px; }
    .cc-meditation-cards { gap: 16px; }
    .cc-meditation-card { flex-basis: 240px; }
    .cc-meditation-player-card { padding: 24px; border-radius: 24px; }
    .cc-meditation-player-title { font-size: 24px; line-height: 32px; }
    .cc-meditation-progress { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-meditation-sun, .cc-meditation-card, .cc-meditation-skip, .cc-meditation-play { transition: none; }
    .cc-meditation-intro:hover .cc-meditation-sun, .cc-meditation-player-art:hover .cc-meditation-sun, .cc-meditation-card:hover, .cc-meditation-controls button:active { transform: none; }
}

/* The real select remains the form field; the enhanced menu shares the site theme. */
.cc-meditation-filter { position: relative; }
.cc-meditation-select { appearance: none; padding-right: 40px; }
.cc-meditation-filter::after { content: ''; position: absolute; right: 18px; top: 19px; width: 8px; height: 8px; border-right: 1.5px solid var(--cc-clay); border-bottom: 1.5px solid var(--cc-clay); transform: rotate(45deg); pointer-events: none; }
.cc-meditation-filter.is-enhanced::after { display: none; }
.cc-meditation-filter.is-enhanced .cc-meditation-select { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.cc-filter-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; padding: 12px 18px 12px 12px; border: 0; border-radius: 12px; background: var(--cc-cream); color: var(--cc-ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.cc-filter-toggle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-filter-toggle::after { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-right: 1.5px solid var(--cc-clay); border-bottom: 1.5px solid var(--cc-clay); transform: translateY(-2px) rotate(45deg); }
.cc-filter-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 70; width: max-content; min-width: 100%; max-width: min(360px, calc(100vw - 80px)); max-height: 280px; overflow-y: auto; padding: 8px; border: 1px solid var(--cc-line); border-radius: 16px; background: var(--cc-paper); color: var(--cc-ink); box-shadow: 0 12px 32px #372b241a; font: inherit; font-size: 14px; line-height: 20px; }
.cc-filter-menu[hidden] { display: none; }
.cc-filter-option { padding: 10px 12px; border-radius: 8px; cursor: pointer; overflow-wrap: anywhere; }
.cc-filter-option[aria-selected="true"] { background: #d8dfc4; color: #344128; font-weight: 600; }
.cc-filter-option.is-highlighted, .cc-filter-option:hover { background: #f3e8d4; color: var(--cc-clay); }
.cc-meditation .cc-filter-toggle:focus-visible { outline-width: 2px; outline-offset: 3px; }

/* Whole cards fit the row before the next horizontal page. */
.cc-meditation-cards {
    --cc-visible-cards: 5;
    --cc-card-gap: 16px;
    gap: var(--cc-card-gap);
    scroll-snap-type: x mandatory;
}
.cc-meditation-cards .cc-meditation-card {
    flex-basis: calc((100% - (var(--cc-visible-cards) - 1) * var(--cc-card-gap)) / var(--cc-visible-cards));
    min-width: 0;
    padding: 20px;
    scroll-snap-align: start;
}
.cc-meditation-card-title { overflow-wrap: anywhere; }
.cc-meditation-cards .cc-meditation-card[data-colour="sage"] { background: #d8dfc4; }
.cc-meditation-cards .cc-meditation-card[data-colour="clay"] { background: #ebc5b4; }
.cc-meditation-cards .cc-meditation-card[data-colour="wheat"] { background: #f8edd0; }
.cc-meditation-cards .cc-meditation-card[data-colour="oat"] { background: #ead4ba; }
.cc-meditation-cards .cc-meditation-card[data-colour="pale-sage"] { background: #eaedcc; }
@media (max-width: 1050px) {
    .cc-meditation-cards { --cc-visible-cards: 3; }
}
@media (max-width: 760px) {
    .cc-meditation-cards { --cc-visible-cards: 2; --cc-card-gap: 12px; }
    .cc-meditation-cards .cc-meditation-card { padding: 16px; }
    .cc-meditation-card-title { font-size: 18px; line-height: 24px; }
}
@media (max-width: 480px) {
    .cc-meditation-cards { --cc-visible-cards: 1; }
}
/* Keep the two right-hand actions together regardless of the signed-in label. */
@media (min-width: 1051px) {
    .cc-nav-plans { right: calc(24px + var(--cc-member-width, 170px) + 84px); }
    .cc-nav-app { position: absolute; right: calc(24px + var(--cc-member-width, 170px) + 24px); }
}

/* Selected meditation player: the approved open editorial design. */
.cc-meditation-editorial .cc-meditation-wrap { max-width: 1072px; }
.cc-meditation-editorial { text-align: left; }
.cc-meditation-editorial-back { margin-bottom: 24px; text-decoration: none; }
.cc-meditation-editorial-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cc-meditation-editorial .cc-meditation-player-art { position: relative; min-height: 440px; height: 100%; margin: 0; border: 1px solid var(--cc-line); border-radius: 200px 200px 32px 32px; overflow: hidden; isolation: isolate; }
.cc-meditation-editorial .cc-meditation-player-art::before, .cc-meditation-editorial .cc-meditation-player-art::after { content: ''; position: absolute; width: 320px; height: 320px; border: 1px solid #fffcf480; border-radius: 50%; pointer-events: none; }
.cc-meditation-editorial .cc-meditation-player-art::after { width: 400px; height: 400px; }
.cc-meditation-editorial .cc-meditation-sun { width: 208px; height: 208px; box-shadow: none; animation: cc-sun-turn 20s linear infinite; animation-play-state: paused; z-index: 1; }
.cc-meditation-editorial .cc-meditation-sun::before, .cc-meditation-editorial .cc-meditation-sun::after { top: 38%; width: 7px; height: 12px; }
.cc-meditation-editorial .cc-meditation-sun::before { left: 34%; }
.cc-meditation-editorial .cc-meditation-sun::after { right: 34%; }
.cc-meditation-editorial .cc-meditation-sun span { top: 57%; left: 42%; width: 16%; height: 10%; }
.cc-meditation-heartbeat { position: absolute; inset: 2px; border: 2px solid var(--cc-paper); border-radius: inherit; pointer-events: none; opacity: .25; animation: cc-frame-heartbeat 7s var(--cc-curve) infinite; animation-play-state: paused; }
.cc-meditation-editorial.is-playing .cc-meditation-sun, .cc-meditation-editorial.is-playing .cc-meditation-heartbeat { animation-play-state: running; }
.cc-meditation-art-caption { position: absolute; bottom: 32px; font-size: 14px; color: var(--cc-ink); }
.cc-meditation-editorial-copy { padding: 24px 0; min-width: 0; }
.cc-meditation-editorial .cc-meditation-player-title { margin: 16px 0 24px; font-size: 48px; line-height: 1.08; letter-spacing: -2px; }
.cc-meditation-player-meta { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px; margin: 24px 0; font-size: 14px; line-height: 20px; color: var(--cc-muted); }
.cc-meditation-player-meta span { white-space: nowrap; font: inherit; }
.cc-meditation-player-invitation { margin: 0; color: var(--cc-muted); font-size: 16px; line-height: 24px; }
.cc-meditation-editorial .cc-meditation-audio { margin-top: 32px; padding-top: 8px; border-top: 1px solid var(--cc-line); }
.cc-meditation-editorial .cc-meditation-controls { justify-content: flex-start; margin: 24px 0; }
.cc-meditation-editorial .cc-meditation-play { width: 72px; height: 72px; font-size: 24px; }
.cc-meditation-editorial .cc-meditation-skip { background: var(--cc-cream); }
.cc-meditation-player-gentle { margin: 24px 0 0; color: var(--cc-muted); font-size: 14px; }
@keyframes cc-sun-turn { to { transform: rotate(360deg); } }
@keyframes cc-frame-heartbeat {
    0%, 68%, 90%, 100% { transform: scale(1); opacity: .25; }
    74%, 83% { transform: scale(.98); opacity: .95; }
    78%, 87% { transform: scale(1); opacity: .35; }
}
@media (max-width: 1050px) { .cc-meditation-editorial-layout { gap: 32px; } }
@media (max-width: 760px) {
    .cc-meditation-editorial-layout { grid-template-columns: 1fr; gap: 24px; }
    .cc-meditation-editorial .cc-meditation-player-art { min-height: 280px; border-radius: 144px 144px 24px 24px; }
    .cc-meditation-editorial .cc-meditation-sun { width: 144px; height: 144px; }
    .cc-meditation-editorial .cc-meditation-player-art::before { width: 208px; height: 208px; }
    .cc-meditation-editorial .cc-meditation-player-art::after { width: 256px; height: 256px; }
    .cc-meditation-art-caption { bottom: 16px; }
    .cc-meditation-editorial-copy { padding: 0; }
    .cc-meditation-editorial .cc-meditation-player-title { font-size: 36px; line-height: 40px; letter-spacing: -1px; }
}
@media (max-width: 380px) { .cc-meditation-player-meta { gap: 12px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) {
    .cc-meditation-editorial .cc-meditation-sun, .cc-meditation-heartbeat { animation: none; }
    .cc-meditation-editorial .cc-meditation-player-art:hover .cc-meditation-sun { transform: none; }
}

/* Played audio is terracotta; remaining audio stays sage. */
.cc-meditation-player .cc-meditation-range {
    --cc-played: 0%;
    background: linear-gradient(to right, var(--cc-clay) 0%, var(--cc-clay) var(--cc-played), #d8dfc4 var(--cc-played), #d8dfc4 100%);
}
.cc-meditation-player .cc-meditation-range::-moz-range-progress { background: var(--cc-clay); height: 6px; border-radius: 999px; }
.cc-meditation-cards .cc-meditation-card { height: var(--cc-card-height, 202px); }
.cc-meditation-card-title, .cc-meditation-card-meta { flex-shrink: 0; }

/* One quiet scroll hint beneath the first row's last visible card. */
.cc-meditation-cards { scrollbar-width: none; -ms-overflow-style: none; }
.cc-meditation-cards::-webkit-scrollbar { display: none; }
.cc-meditation-card-title { font-size: 18px; line-height: 24px; margin-bottom: 16px; }
.cc-scroll-cue { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin: 0 0 0 auto; padding: 8px; border: 0; background: transparent; color: var(--cc-clay); font: inherit; font-size: 20px; cursor: pointer; }
.cc-scroll-cue[hidden] { display: none; }
.cue-pebble-shape { position: relative; width: 32px; height: 24px; border-radius: 50% 44% 32% 48%; background: #b8c49e; animation: cc-pebble-roll 3.6s var(--cc-curve) infinite; }
.cue-pebble-shape::before, .cue-pebble-shape::after { content: ''; position: absolute; top: 9px; width: 3px; height: 4px; border-radius: 50%; background: var(--cc-ink); }
.cue-pebble-shape::before { left: 9px; }
.cue-pebble-shape::after { right: 9px; }
@keyframes cc-pebble-roll { 0%, 65%, 100% { transform: translateX(0) rotate(-6deg); } 35% { transform: translateX(6px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .cue-pebble-shape { animation: none; } }

/* Tuck the single scroll hint against the fifth card's right edge. */
.cc-first-row-cue { justify-content: flex-end; min-height: 32px; margin-top: -12px; padding: 0; gap: 8px; }

/* Counsellor landing: two distinct ways to begin talking. */
.cc-counselling-home { padding: 48px; background: var(--cc-cream); color: var(--cc-ink); }
.cc-counselling-wrap { width: min(1184px, 100%); margin: 0 auto; }
.cc-counselling-intro { max-width: 720px; margin-bottom: 40px; text-align: left; }
.cc-counselling-eyebrow, .cc-counselling-card-label { display: block; color: var(--cc-clay); font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.cc-counselling-intro h1 { margin: 14px 0 12px; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -4px; font-weight: 600; }
.cc-counselling-intro p { margin: 0; color: var(--cc-muted); font-size: 18px; line-height: 28px; }
.cc-counselling-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cc-counselling-card { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; min-height: 420px; padding: 32px; overflow: hidden; border: 1px solid var(--cc-line); border-radius: 32px; transition: transform .45s var(--cc-curve), border-radius .45s var(--cc-curve), box-shadow .45s var(--cc-curve); }
.cc-counselling-card-primary { background: #ebc5b4; }
.cc-counselling-card-assistant { background: #d8dfc4; }
.cc-counselling-card:hover { transform: translateY(-5px); border-radius: 44px; box-shadow: 0 18px 40px #372b2412; }
.cc-counselling-card-copy { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.cc-counselling-card-label { margin: 4px 0 14px; letter-spacing: 1.5px; }
.cc-counselling-card-assistant .cc-counselling-card-label { color: #566443; }
.cc-counselling-card h2 { margin: 0 0 14px; font-size: 30px; line-height: 36px; letter-spacing: -1px; }
.cc-counselling-card p { margin: 0; color: var(--cc-muted); font-size: 15px; line-height: 24px; }
.cc-counselling-card ul { display: grid; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; color: var(--cc-ink); font-size: 14px; line-height: 20px; }
.cc-counselling-card li { position: relative; padding-left: 22px; }
.cc-counselling-card li::before { content: ''; position: absolute; top: 7px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cc-clay); }
.cc-counselling-card-assistant li::before { background: #566443; }
.cc-counselling-action { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; margin-top: auto; padding: 14px 20px; border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font-size: 14px; line-height: 20px; font-weight: 700; text-decoration: none; transition: background .3s ease, transform .3s var(--cc-curve); }
.cc-counselling-action:hover { background: var(--cc-clay-dark); transform: translateY(-2px); }
.cc-counselling-action span { font-size: 18px; font-weight: 400; }
.cc-counselling-character { position: relative; align-self: start; justify-self: center; width: 136px; height: 176px; margin-top: 30px; color: var(--cc-ink); transition: transform .5s var(--cc-curve); }
.cc-counselling-card:hover .cc-counselling-character { transform: translateY(-7px) rotate(-2deg); }
.cc-counselling-character-arch { border-radius: 70px 70px 24px 24px; background: #a15b47; }
.cc-counselling-character-pebble { height: 130px; margin-top: 54px; border-radius: 48% 52% 43% 57% / 57% 44% 56% 43%; background: #b8c49e; transform: rotate(4deg); }
.cc-counselling-card:hover .cc-counselling-character-pebble { transform: translateY(-7px) rotate(-3deg); }
.cc-character-eye { position: absolute; top: 56px; width: 8px; height: 13px; border-radius: 50%; background: var(--cc-ink); transition: height .2s ease, transform .2s ease; }
.cc-character-eye-left { left: 42px; }
.cc-character-eye-right { right: 42px; }
.cc-character-smile { position: absolute; top: 86px; left: 50%; width: 32px; height: 18px; border-bottom: 4px solid var(--cc-ink); border-radius: 0 0 50% 50%; transform: translateX(-50%); }
.cc-counselling-card:hover .cc-character-eye { height: 4px; transform: translateY(5px); }
.cc-counselling-character-pebble .cc-character-eye { top: 42px; }
.cc-counselling-character-pebble .cc-character-smile { top: 70px; }
.cc-counselling-note { max-width: 720px; margin: 24px auto 0; color: var(--cc-muted); font-size: 12px; line-height: 18px; text-align: center; }
@media (max-width: 980px) {
    .cc-counselling-card { grid-template-columns: 1fr; }
    .cc-counselling-character { position: absolute; top: 24px; right: 24px; width: 88px; height: 112px; margin: 0; opacity: .9; }
    .cc-counselling-character-pebble { height: 84px; }
    .cc-character-eye { top: 34px; width: 5px; height: 9px; }
    .cc-character-eye-left { left: 28px; }
    .cc-character-eye-right { right: 28px; }
    .cc-character-smile { top: 56px; width: 22px; height: 13px; border-bottom-width: 3px; }
    .cc-counselling-character-pebble .cc-character-eye { top: 27px; }
    .cc-counselling-character-pebble .cc-character-smile { top: 45px; }
    .cc-counselling-card-copy { padding-top: 112px; }
}
@media (max-width: 700px) {
    .cc-counselling-home { padding: 32px 20px; }
    .cc-counselling-intro { margin-bottom: 28px; }
    .cc-counselling-intro h1 { font-size: 48px; line-height: 50px; letter-spacing: -2px; }
    .cc-counselling-intro p { font-size: 16px; line-height: 24px; }
    .cc-counselling-options { grid-template-columns: 1fr; gap: 16px; }
    .cc-counselling-card { min-height: 0; padding: 24px; border-radius: 24px; }
    .cc-counselling-card-copy { padding-top: 96px; }
    .cc-counselling-card h2 { font-size: 26px; line-height: 32px; }
    .cc-counselling-card:hover { transform: none; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-counselling-card, .cc-counselling-character, .cc-counselling-action, .cc-character-eye { transition: none; }
    .cc-counselling-card:hover, .cc-counselling-card:hover .cc-counselling-character, .cc-counselling-card:hover .cc-counselling-character-pebble, .cc-counselling-action:hover { transform: none; }
}

/* Final spacing for the approved Counsellor door layout. */
#counselling-options.cc-counselling-home { padding: 32px 48px; }
.cc-counselling-home .cc-counselling-intro { margin-bottom: 20px; }
.cc-counselling-home .cc-counselling-intro h1 { margin: 12px 0 8px; font-size: 60px; line-height: 60px; letter-spacing: -3px; }
.cc-counselling-home .cc-counselling-note { margin-top: 16px; }
.cc-counselling-home .cc-door-copy h2 { font-size: 30px; line-height: 36px; }
.cc-counselling-home .cc-counselling-door-layout { grid-template-columns: minmax(0, 1fr) 144px minmax(0, 1fr); }
.cc-counselling-home .cc-counselling-door { min-height: 420px; }
.cc-counselling-home .cc-counselling-bridge { padding-right: 4px; padding-left: 4px; }
.cc-counselling-home .cc-counselling-bridge p span { display: block; white-space: nowrap; }
.cc-counselling-home .cc-door-copy .cc-counselling-card-label { font-size: 14px; line-height: 20px; }
.cc-counselling-home .cc-door-copy h2 { font-size: 36px; line-height: 40px; }
.cc-counselling-home .cc-door-copy p { font-size: 16px; line-height: 24px; }
.cc-counselling-home .cc-door-copy ul { font-size: 14px; line-height: 20px; }
.cc-counselling-home .cc-door-copy li { padding-left: 20px; }
.cc-counselling-home .cc-door-copy li::before { top: 7px; width: 7px; height: 7px; }
.cc-counselling-home .cc-door-action { font-size: 16px; line-height: 24px; }
@media (max-width: 700px) {
    #counselling-options.cc-counselling-home { padding: 24px 20px 32px; }
    .cc-counselling-home .cc-counselling-intro { margin-bottom: 20px; }
    .cc-counselling-home .cc-counselling-intro h1 { font-size: 48px; line-height: 48px; letter-spacing: -2px; }
    .cc-counselling-home .cc-counselling-door-layout { grid-template-columns: 1fr; }
    .cc-counselling-home .cc-counselling-door { min-height: 420px; }
}

/* Restored Counsellor card composition selected by the user. */
#counselling-options.cc-counselling-home { padding: 48px; }
.cc-counselling-home .cc-counselling-intro { margin-bottom: 40px; }
.cc-counselling-home .cc-counselling-intro h1 { margin: 14px 0 12px; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -4px; }
.cc-counselling-home .cc-counselling-note { margin-top: 24px; }
@media (max-width: 700px) {
    #counselling-options.cc-counselling-home { padding: 32px 20px; }
    .cc-counselling-home .cc-counselling-intro { margin-bottom: 28px; }
    .cc-counselling-home .cc-counselling-intro h1 { font-size: 48px; line-height: 50px; letter-spacing: -2px; }
}

/* Sage option: a rounded star character with a matching action. */
.cc-counselling-card-assistant .cc-counselling-character-pebble {
    width: 184px;
    height: 156px;
    margin-top: 34px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: rotate(0);
}
.cc-character-triangle { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cc-character-triangle path { fill: #b8c49e; }
.cc-counselling-card-assistant:hover .cc-counselling-character-pebble { transform: translateY(-7px) rotate(4deg); }
.cc-counselling-card-assistant .cc-counselling-action { background: #b8c49e; color: var(--cc-ink); }
.cc-counselling-card-assistant .cc-counselling-action:hover { background: #aab894; }
.cc-counselling-card-assistant .cc-counselling-character-pebble .cc-character-eye { top: 58px; }
.cc-counselling-card-assistant .cc-counselling-character-pebble .cc-character-eye-left { left: 64px; }
.cc-counselling-card-assistant .cc-counselling-character-pebble .cc-character-eye-right { right: 64px; }
.cc-counselling-card-assistant .cc-counselling-character-pebble .cc-character-smile { top: 85px; }
@media (max-width: 980px) {
    .cc-counselling-card-assistant .cc-counselling-character-pebble { width: 112px; height: 96px; margin-top: 0; }
    .cc-counselling-card-assistant .cc-counselling-character-pebble .cc-character-eye { top: 35px; }
    .cc-counselling-card-assistant .cc-counselling-character-pebble .cc-character-eye-left { left: 38px; }
    .cc-counselling-card-assistant .cc-counselling-character-pebble .cc-character-eye-right { right: 38px; }
    .cc-counselling-card-assistant .cc-counselling-character-pebble .cc-character-smile { top: 54px; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-counselling-card-assistant:hover .cc-counselling-character-pebble { transform: none; }
}

/* Primary Counsellor introduction. */
.cc-primary-intro { padding: 20px 48px 48px; background: var(--cc-cream); color: var(--cc-ink); }
.cc-primary-intro-wrap { width: min(1100px, 100%); margin: 0 auto; }
.cc-primary-back { display: inline-flex; margin-bottom: 12px; color: var(--cc-clay); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; }
.cc-primary-back:hover { color: var(--cc-clay-dark); }
.cc-primary-intro-heading { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 48px; align-items: center; margin-bottom: 32px; }
.cc-primary-eyebrow, .cc-primary-focus-label { display: block; margin: 0; color: var(--cc-clay); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.cc-primary-intro-heading h1 { margin: 12px 0; font-size: 60px; line-height: 60px; letter-spacing: -3px; font-weight: 600; }
.cc-primary-intro-heading p { max-width: 680px; margin: 0; color: var(--cc-muted); font-size: 18px; line-height: 28px; }
.cc-primary-luma-wrap { display: grid; justify-items: center; gap: 12px; justify-self: end; }
.cc-primary-luma { position: relative; width: 152px; height: 184px; border-radius: 80px 80px 24px 24px; background: #a15b47; transition: transform .5s var(--cc-curve); }
.cc-primary-luma-name { color: var(--cc-clay); font-size: 14px; line-height: 20px; font-weight: 700; }
.cc-primary-luma:hover { transform: translateY(-6px) rotate(-2deg); }
.cc-primary-luma-eye { position: absolute; top: 62px; width: 8px; height: 13px; border-radius: 50%; background: var(--cc-ink); }
.cc-primary-luma-eye-left { left: 48px; }
.cc-primary-luma-eye-right { right: 48px; }
.cc-primary-luma-smile { position: absolute; top: 98px; left: 50%; width: 36px; height: 18px; border-bottom: 4px solid var(--cc-ink); border-radius: 0 0 50% 50%; transform: translateX(-50%); }
.cc-primary-focus { margin-bottom: 24px; padding: 24px 32px; border: 1px solid var(--cc-line); border-radius: 24px; background: #f8edd0; }
.cc-primary-focus h2 { margin: 8px 0; font-size: 24px; line-height: 32px; }
.cc-primary-focus > p:not(.cc-primary-focus-label) { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 20px; }
.cc-primary-focus .cc-primary-focus-note { margin-top: 12px; font-size: 12px; line-height: 16px; }
.cc-primary-intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 24px; }
.cc-primary-steps { display: grid; gap: 12px; }
.cc-primary-steps article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 24px; border: 1px solid var(--cc-line); border-radius: 20px; background: var(--cc-paper); }
.cc-primary-steps article > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #ebc5b4; color: var(--cc-clay); font-size: 12px; line-height: 16px; font-weight: 700; }
.cc-primary-steps h2 { margin: 0 0 4px; font-size: 18px; line-height: 28px; }
.cc-primary-steps p { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 20px; }
.cc-primary-before { padding: 28px; border: 1px solid var(--cc-line); border-radius: 32px; background: #d8dfc4; }
.cc-primary-before h2 { margin: 12px 0 16px; font-size: 30px; line-height: 36px; letter-spacing: -1px; }
.cc-primary-before p { margin: 0 0 16px; color: var(--cc-muted); font-size: 14px; line-height: 20px; }
.cc-primary-before p:last-child { margin-bottom: 0; }
.cc-primary-before a { color: var(--cc-clay); font-weight: 700; }
.cc-primary-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.cc-primary-history, .cc-primary-begin { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; border-radius: 999px; font: 700 14px/20px Manrope, sans-serif; text-decoration: none; cursor: pointer; }
.cc-primary-history { border: 1px solid var(--cc-line); background: var(--cc-paper); color: var(--cc-ink); }
.cc-primary-begin { border: 0; background: var(--cc-clay); color: var(--cc-paper); }
.cc-primary-history:hover { background: #f8edd0; }
.cc-primary-begin:hover { background: var(--cc-clay-dark); }
.cc-primary-history:focus-visible, .cc-primary-begin:focus-visible, .cc-primary-back:focus-visible, .cc-primary-before a:focus-visible { outline: 3px solid #d2a777; outline-offset: 3px; }
.cc-primary-begin:disabled { opacity: .65; cursor: wait; }
@media (max-width: 760px) {
    .cc-primary-intro { padding: 20px 20px 40px; }
    .cc-primary-intro-heading { grid-template-columns: 1fr; gap: 24px; }
    .cc-primary-luma-wrap { position: absolute; top: 136px; right: 20px; gap: 4px; }
    .cc-primary-luma { width: 88px; height: 108px; border-radius: 48px 48px 16px 16px; opacity: .9; }
    .cc-primary-luma-name { font-size: 12px; line-height: 16px; }
    .cc-primary-luma-eye { top: 37px; width: 5px; height: 8px; }
    .cc-primary-luma-eye-left { left: 28px; }
    .cc-primary-luma-eye-right { right: 28px; }
    .cc-primary-luma-smile { top: 60px; width: 24px; height: 12px; border-bottom-width: 3px; }
    .cc-primary-intro-heading h1 { padding-right: 96px; font-size: 48px; line-height: 48px; letter-spacing: -2px; }
    .cc-primary-intro-heading p { padding-right: 72px; font-size: 16px; line-height: 24px; }
    .cc-primary-intro-grid { grid-template-columns: 1fr; }
    .cc-primary-actions { align-items: stretch; flex-direction: column-reverse; }
    .cc-primary-actions form, .cc-primary-actions button, .cc-primary-history { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cc-primary-luma { transition: none; } .cc-primary-luma:hover { transform: none; } }

/* Primary Counsellor live conversation. */
.cc-primary-chat { min-height: calc(100vh - 112px); padding: 24px 48px 40px; background: var(--cc-cream); color: var(--cc-ink); text-align: left; }
.cc-primary-chat-header { display: grid; grid-template-columns: 120px 1fr 120px; align-items: center; width: min(1100px, 100%); margin: 0 auto 16px; padding: 0; }
.cc-primary-chat-exit { color: var(--cc-clay); font-size: 14px; line-height: 20px; font-weight: 700; text-decoration: none; }
.cc-primary-chat-header h2 { margin: 0; color: var(--cc-ink); font-size: 24px; line-height: 32px; }
.cc-primary-chat-header p { margin: 2px 0 0; color: var(--cc-muted); font-size: 12px; line-height: 16px; }
.cc-primary-chat-options { justify-self: end; }
.cc-primary-options-button { min-height: 40px; padding: 8px 12px; border: 1px solid var(--cc-line); border-radius: 999px; background: var(--cc-paper); color: var(--cc-ink); font: 700 14px/20px Manrope, sans-serif; cursor: pointer; }
.cc-primary-options-menu { overflow: hidden; border-color: var(--cc-line); border-radius: 16px; background: var(--cc-paper); box-shadow: 0 16px 32px #372b2414; }
.cc-primary-options-menu button, .cc-primary-options-menu a { border: 0; background: transparent; color: var(--cc-ink); font: 500 14px/20px Manrope, sans-serif; text-decoration: none; }
.cc-primary-options-menu button:hover, .cc-primary-options-menu a:hover { background: #f8edd0; color: var(--cc-ink); }
.cc-primary-chat-shell { position: relative; inset: auto; display: flex; width: min(1100px, 100%); height: min(640px, calc(100vh - 230px)); min-height: 480px; margin: 0 auto; padding: 0; flex-direction: column; }
.cc-primary-chat #chat-box { flex: 1; height: auto; padding: 28px; border: 1px solid var(--cc-line); border-radius: 28px; background: var(--cc-paper); color: var(--cc-ink); box-shadow: none; scrollbar-color: #d2a777 transparent; }
.cc-primary-chat #chat-box > div { margin-bottom: 12px; }
.cc-primary-chat #chat-box [data-timestamp] { color: #8a7a70; font-size: 12px; line-height: 16px; }
.cc-primary-chat #chat-box .prose-chat { max-width: min(680px, 82%); padding: 12px 16px; border-radius: 20px; color: var(--cc-ink); font-size: 14px; line-height: 22px; box-shadow: none; }
.cc-primary-chat #chat-box .bg-gradient-teal-to-indigo { border-bottom-right-radius: 6px; background: #ebc5b4; }
.cc-primary-chat #chat-box .bg-gradient-purple-to-pink { border-bottom-left-radius: 6px; background: #d8dfc4; }
.cc-primary-chat #chat-box .prose-chat p { margin: 0 0 10px; }
.cc-primary-chat #chat-box .prose-chat p:last-child { margin-bottom: 0; }
.cc-primary-chat-form { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 12px; padding: 8px; border: 1px solid var(--cc-line); border-radius: 24px; background: var(--cc-paper); }
.cc-primary-mic, .cc-primary-send { height: 44px; border: 0; border-radius: 999px; font-family: Manrope, sans-serif; cursor: pointer; }
.cc-primary-mic { width: 44px; padding: 0; background: #f8edd0; color: var(--cc-ink); }
.cc-primary-send { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; background: var(--cc-clay); color: var(--cc-paper); font-size: 14px; line-height: 20px; font-weight: 700; }
.cc-primary-send span { font-size: 18px; }
.cc-primary-chat-input { width: 100%; min-height: 44px; max-height: 140px; padding: 11px 8px; resize: none; border: 0; outline: 0; background: transparent; color: var(--cc-ink); font: 400 14px/22px Manrope, sans-serif; }
.cc-primary-chat-input::placeholder { color: #8a7a70; }
.cc-primary-chat-form:focus-within { border-color: var(--cc-clay); box-shadow: 0 0 0 3px #ebc5b480; }
.cc-primary-chat #mic-status { margin: 4px 12px 0; color: var(--cc-muted); font-size: 12px; line-height: 16px; }
.cc-primary-end-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; background: #372b2466; }
.cc-primary-end-modal.hidden { display: none; }
.cc-primary-end-dialog { width: min(460px, 100%); padding: 32px; border: 1px solid var(--cc-line); border-radius: 28px; background: var(--cc-paper); color: var(--cc-ink); box-shadow: 0 24px 64px #372b2430; }
.cc-primary-end-dialog h2 { margin: 0 0 12px; font-size: 30px; line-height: 36px; text-align: center; }
.cc-primary-end-dialog p { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 20px; text-align: center; }
.cc-primary-end-actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.cc-primary-end-cancel, .cc-primary-end-confirm { min-height: 44px; padding: 10px 16px; border-radius: 999px; font: 700 14px/20px Manrope, sans-serif; cursor: pointer; }
.cc-primary-end-cancel { border: 1px solid var(--cc-line); background: var(--cc-paper); color: var(--cc-ink); }
.cc-primary-end-confirm { border: 0; background: var(--cc-clay); color: var(--cc-paper); }
.cc-primary-chat-exit:focus-visible, .cc-primary-options-button:focus-visible, .cc-primary-options-menu button:focus-visible, .cc-primary-options-menu a:focus-visible, .cc-primary-mic:focus-visible, .cc-primary-send:focus-visible, .cc-primary-end-cancel:focus-visible, .cc-primary-end-confirm:focus-visible { outline: 3px solid #d2a777; outline-offset: 3px; }
@media (max-width: 700px) {
    .cc-primary-chat { min-height: calc(100vh - 88px); padding: 16px 12px 24px; }
    .cc-primary-chat-header { grid-template-columns: 72px 1fr 72px; margin-bottom: 12px; }
    .cc-primary-chat-header h2 { font-size: 20px; line-height: 28px; }
    .cc-primary-chat-exit, .cc-primary-options-button { font-size: 12px; line-height: 16px; }
    .cc-primary-chat-shell { height: calc(100vh - 190px); min-height: 440px; }
    .cc-primary-chat #chat-box { padding: 16px 12px; border-radius: 20px; }
    .cc-primary-chat #chat-box .prose-chat { max-width: 90%; padding: 10px 12px; }
    .cc-primary-chat-form { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px; border-radius: 20px; }
    .cc-primary-send { padding: 0 12px; }
    .cc-primary-send span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cc-primary-chat *, .cc-primary-end-modal * { scroll-behavior: auto; } }

/* Assistant Counsellor keeps the conversation system with a quieter sage identity. */
.cc-assistant-chat .cc-primary-options-button { background: #d8dfc4; border-color: #c5cfad; }
.cc-assistant-chat #chat-box { background: #fffcf4; }
.cc-assistant-chat #chat-box .bg-gradient-purple-to-pink { background: #d8dfc4; }
.cc-assistant-chat #chat-box .bg-gradient-teal-to-indigo { background: #f8edd0; }
.cc-assistant-chat .cc-primary-mic { background: #d8dfc4; }
.cc-assistant-chat .cc-primary-send { background: #566443; }
.cc-assistant-chat .cc-primary-send:hover { background: #465338; }
.cc-assistant-chat .cc-primary-chat-form:focus-within { border-color: #566443; box-shadow: 0 0 0 3px #d8dfc480; }

/* Focused Primary chat: no site navigation and clear conversation identities. */
body:has(.cc-primary-chat) .cc-navbar, body:has(.cc-primary-chat) .cc-footer { display: none; }
.cc-primary-chat:not(.cc-assistant-chat) { min-height: 100vh; padding-top: 24px; }
.cc-primary-chat #chat-box .cc-chat-row { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 16px; }
.cc-primary-chat #chat-box .cc-chat-row.is-human { justify-content: flex-end; }
.cc-primary-chat #chat-box .cc-chat-row.is-luma { justify-content: flex-start; }
.cc-primary-chat #chat-box .cc-chat-row > div { max-width: calc(100% - 54px); }
.cc-chat-avatar { position: relative; display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; overflow: hidden; border-radius: 50%; color: var(--cc-paper); font-size: 12px; line-height: 16px; font-weight: 700; }
.cc-chat-avatar-luma { background: #f8edd0; }
.cc-chat-avatar-luma::before { content: ''; position: absolute; inset: 5px 7px 3px; border-radius: 14px 14px 6px 6px; background: #a15b47; }
.cc-chat-avatar-user { background: var(--cc-clay); }
.cc-avatar-eye { position: absolute; z-index: 1; top: 12px; width: 3px; height: 5px; border-radius: 50%; background: var(--cc-ink); }
.cc-avatar-eye-left { left: 11px; }
.cc-avatar-eye-right { right: 11px; }
.cc-avatar-smile { position: absolute; z-index: 1; top: 21px; left: 50%; width: 12px; height: 6px; border-bottom: 2px solid var(--cc-ink); border-radius: 50%; transform: translateX(-50%); }
.cc-primary-mic #mic-icon { display: grid; width: 100%; height: 100%; place-items: center; }
.cc-primary-mic #mic-icon svg { width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc-primary-mic.is-recording { background: #ebc5b4; color: var(--cc-clay); box-shadow: 0 0 0 4px #ebc5b480; }
.cc-primary-chat .cc-primary-options-menu { padding: 8px; border: 1px solid var(--cc-line); border-radius: 16px; background: var(--cc-paper); box-shadow: 0 16px 32px #372b2414; }
.cc-primary-chat .cc-primary-options-menu button, .cc-primary-chat .cc-primary-options-menu a { display: block; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--cc-ink); }
@media (max-width: 700px) {
    .cc-primary-chat #chat-box .cc-chat-row { gap: 6px; }
    .cc-chat-avatar { width: 32px; height: 32px; flex-basis: 32px; }
    .cc-chat-avatar-luma::before { inset: 4px 6px 3px; border-radius: 12px 12px 5px 5px; }
    .cc-avatar-eye { top: 10px; }
    .cc-avatar-eye-left { left: 9px; }
    .cc-avatar-eye-right { right: 9px; }
    .cc-avatar-smile { top: 18px; }
}

/* Selected Primary chat direction: session sidebar with an open conversation room. */
.cc-primary-chat { min-height: 100vh; padding: 14px; }
.cc-primary-chat-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; width: min(1480px, 100%); height: calc(100vh - 28px); margin: 0 auto; }
.cc-primary-chat-sidebar { display: flex; min-height: 0; padding: 30px 28px; flex-direction: column; align-items: center; overflow-y: auto; border-radius: 32px; background: #ebc5b4; }
.cc-primary-chat-sidebar .cc-primary-chat-exit { align-self: flex-start; margin-bottom: 36px; }
.cc-primary-sidebar-luma { position: relative; width: 104px; height: 126px; flex: 0 0 auto; border-radius: 56px 56px 18px 18px; background: #a15b47; }
.cc-primary-sidebar-eye { position: absolute; top: 42px; width: 5px; height: 9px; border-radius: 50%; background: var(--cc-ink); }
.cc-primary-sidebar-eye-left { left: 33px; }
.cc-primary-sidebar-eye-right { right: 33px; }
.cc-primary-sidebar-smile { position: absolute; top: 72px; left: 50%; width: 28px; height: 12px; border-bottom: 3px solid var(--cc-ink); border-radius: 50%; transform: translateX(-50%); }
.cc-primary-chat-sidebar h2 { margin: 18px 0 0; color: var(--cc-ink); font-size: 28px; line-height: 36px; }
.cc-primary-sidebar-session { margin: 10px 0 0; color: var(--cc-muted); font-size: 13px; line-height: 20px; text-align: center; }
.cc-primary-sidebar-focus { width: 100%; margin-top: 34px; padding: 20px; border-radius: 20px; background: #fffcf480; }
.cc-primary-sidebar-focus > span { color: var(--cc-clay); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.cc-primary-sidebar-focus p { margin: 12px 0 0; color: var(--cc-ink); font-size: 14px; line-height: 22px; }
.cc-primary-sidebar-nav { display: grid; width: 100%; gap: 4px; margin-top: auto; padding-top: 28px; }
.cc-primary-sidebar-nav a, .cc-primary-sidebar-nav button { width: 100%; padding: 10px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--cc-ink); font: 500 14px/20px Manrope, sans-serif; text-align: left; text-decoration: none; cursor: pointer; }
.cc-primary-sidebar-nav a:hover, .cc-primary-sidebar-nav button:hover { background: #fffcf470; }
.cc-primary-chat-main { min-width: 0; min-height: 0; }
.cc-primary-chat .cc-primary-chat-shell { width: 100%; height: 100%; min-height: 0; }
.cc-primary-chat #chat-box { min-height: 0; padding: 36px 40px; border-radius: 32px; }
.cc-primary-chat #chat-box .cc-chat-row.is-human > div { width: max-content; max-width: min(72%, 760px); }
.cc-primary-chat #chat-box .cc-chat-row.is-human .prose-chat { width: max-content; max-width: 100%; background: #f8edd0; }
.cc-primary-chat .cc-primary-chat-form { grid-template-columns: 48px minmax(0, 1fr) auto; min-height: 64px; margin-top: 12px; padding: 7px 8px; align-items: center; border-radius: 24px; }
.cc-primary-chat .cc-primary-mic { width: 48px; height: 48px; background: #f8edd0; color: var(--cc-ink); }
.cc-primary-chat .cc-primary-mic #mic-icon svg { width: 23px; height: 23px; }
.cc-primary-chat .cc-primary-chat-input { min-height: 48px; padding: 13px 8px; font-size: 16px; line-height: 22px; }
.cc-primary-chat .cc-primary-send { min-width: 104px; height: 48px; padding: 0 22px; justify-content: center; background: var(--cc-clay); font-size: 16px; }
.cc-primary-chat #mic-status { position: absolute; right: 16px; bottom: 66px; margin: 0; }
@media (max-width: 800px) {
    .cc-primary-chat { padding: 8px; }
    .cc-primary-chat-layout { grid-template-columns: 1fr; height: calc(100vh - 16px); }
    .cc-primary-chat-sidebar { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px 16px; align-items: center; border-radius: 22px; }
    .cc-primary-chat-sidebar .cc-primary-chat-exit { margin: 0; }
    .cc-primary-sidebar-luma, .cc-primary-sidebar-focus, .cc-primary-sidebar-nav { display: none; }
    .cc-primary-chat-sidebar h2 { margin: 0; font-size: 20px; line-height: 28px; text-align: center; }
    .cc-primary-sidebar-session { margin: 0; font-size: 11px; text-align: right; }
    .cc-primary-chat-layout { grid-template-rows: auto minmax(0, 1fr); }
    .cc-primary-chat #chat-box { padding: 20px 12px; border-radius: 22px; }
    .cc-primary-chat #chat-box .cc-chat-row.is-human > div { max-width: 82%; }
    .cc-primary-chat .cc-primary-send { min-width: 76px; padding: 0 14px; }
}

/* Assistant identity: its sage rounded triangle replaces Primary Luma's clay arch. */
.cc-assistant-chat .cc-primary-chat-sidebar { background: #d8dfc4; }
.cc-assistant-chat .cc-primary-sidebar-luma { background: transparent; }
.cc-assistant-sidebar-shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cc-assistant-sidebar-shape path { fill: #b8c49e; }
.cc-assistant-chat .cc-primary-sidebar-eye, .cc-assistant-chat .cc-primary-sidebar-smile { z-index: 1; }
.cc-assistant-chat .cc-chat-avatar-luma::before, .cc-chat-archive-assistant .cc-chat-avatar-luma::before {
    inset: 3px 4px 2px;
    border-radius: 0;
    background: #b8c49e;
    clip-path: polygon(12% 8%, 88% 8%, 94% 20%, 86% 48%, 67% 80%, 50% 96%, 33% 80%, 14% 48%, 6% 20%);
}
.cc-assistant-chat .cc-chat-avatar-luma .cc-avatar-eye, .cc-chat-archive-assistant .cc-chat-avatar-luma .cc-avatar-eye { top: 10px; }
.cc-assistant-chat .cc-chat-avatar-luma .cc-avatar-smile, .cc-chat-archive-assistant .cc-chat-avatar-luma .cc-avatar-smile { top: 18px; }
.cc-assistant-chat #chat-box .cc-chat-row.is-luma .prose-chat { background: #ebc5b4; }
@media (max-width: 700px) {
    .cc-assistant-chat .cc-chat-avatar-luma::before, .cc-chat-archive-assistant .cc-chat-avatar-luma::before { inset: 3px; }
    .cc-assistant-chat .cc-chat-avatar-luma .cc-avatar-eye { top: 9px; }
    .cc-assistant-chat .cc-chat-avatar-luma .cc-avatar-smile { top: 16px; }
}

/* Counsellor history and archived conversation pages. */
.cc-chat-history { min-height: calc(100vh - 112px); padding: 44px 48px 64px; background: var(--cc-cream); color: var(--cc-ink); text-align: left; }
.cc-chat-history-wrap { width: min(1100px, 100%); margin: 0 auto; }
.cc-chat-history-header { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 24px; align-items: start; margin-bottom: 32px; }
.cc-chat-history-header > div { text-align: center; }
.cc-chat-history-back { color: var(--cc-clay); font-size: 14px; line-height: 20px; font-weight: 700; text-decoration: none; }
.cc-chat-history-eyebrow { color: var(--cc-clay); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.cc-chat-history-header h1 { margin: 10px 0 8px; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -3px; }
.cc-chat-history-header p { margin: 0; color: var(--cc-muted); font-size: 16px; line-height: 24px; }
.cc-chat-history-delete { justify-self: end; min-height: 44px; padding: 10px 16px; border: 1px solid #a15b47; border-radius: 999px; background: transparent; color: var(--cc-clay); font: 700 14px/20px Manrope, sans-serif; cursor: pointer; }
.cc-chat-history-list { padding: 16px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }
.cc-chat-history-list ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cc-chat-history-list li a { display: grid; grid-template-columns: 48px minmax(0, 1fr) 40px; gap: 16px; min-height: 92px; padding: 18px 20px; align-items: center; border-radius: 22px; background: #ebc5b4; color: var(--cc-ink); text-decoration: none; transition: transform .35s var(--cc-curve), border-radius .35s var(--cc-curve); }
.cc-chat-history-assistant .cc-chat-history-list li a { background: #d8dfc4; }
.cc-chat-history-list li:nth-child(3n) a { background: #f8edd0; }
.cc-chat-history-list li a:hover { border-radius: 32px; transform: translateX(5px); }
.cc-chat-history-number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #fffcf490; color: var(--cc-clay); font-size: 12px; font-weight: 700; }
.cc-chat-history-copy { display: grid; gap: 4px; min-width: 0; }
.cc-chat-history-copy strong { overflow: hidden; font-size: 18px; line-height: 26px; text-overflow: ellipsis; white-space: nowrap; }
.cc-chat-history-copy small { overflow: hidden; color: var(--cc-muted); font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.cc-chat-history-arrow { justify-self: end; color: var(--cc-clay); font-size: 24px; }
.cc-chat-history-empty { padding: 72px 24px; text-align: center; }
.cc-chat-history-empty > span { display: grid; width: 52px; height: 52px; margin: 0 auto 16px; place-items: center; border-radius: 50%; background: #f8edd0; color: var(--cc-clay); font-size: 12px; font-weight: 700; }
.cc-chat-history-empty h2 { margin: 0 0 8px; font-size: 28px; line-height: 36px; }
.cc-chat-history-empty p { margin: 0; color: var(--cc-muted); }
.cc-history-modal { position: fixed; inset: 0; z-index: 10000; display: grid; padding: 20px; place-items: center; background: #372b2466; }
.cc-history-modal.hidden { display: none; }
.cc-history-dialog { width: min(500px, 100%); padding: 32px; border: 1px solid var(--cc-line); border-radius: 30px; background: var(--cc-paper); color: var(--cc-ink); text-align: center; }
.cc-history-dialog h2 { margin: 10px 0 12px; font-size: 30px; line-height: 38px; }
.cc-history-dialog p { margin: 8px 0; color: var(--cc-muted); font-size: 14px; line-height: 22px; }
.cc-history-dialog-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.cc-history-cancel, .cc-history-confirm { min-height: 44px; padding: 10px 16px; border-radius: 999px; font: 700 14px/20px Manrope, sans-serif; cursor: pointer; }
.cc-history-cancel { border: 1px solid var(--cc-line); background: var(--cc-paper); color: var(--cc-ink); }
.cc-history-confirm { border: 0; background: var(--cc-clay); color: var(--cc-paper); }
body:has(.cc-chat-archive) .cc-navbar, body:has(.cc-chat-archive) .cc-footer { display: none; }
.cc-chat-archive { min-height: 100vh; padding: 24px 48px 40px; background: var(--cc-cream); color: var(--cc-ink); text-align: left; }
.cc-chat-archive-wrap { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 20px; width: min(1180px, 100%); height: calc(100vh - 64px); margin: 0 auto; }
.cc-chat-archive-header { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 20px; align-items: center; }
.cc-chat-archive-header > div { text-align: center; }
.cc-chat-archive-header > a { color: var(--cc-clay); font-size: 14px; font-weight: 700; text-decoration: none; }
.cc-chat-archive-header h1 { margin: 4px 0 2px; font-size: 28px; line-height: 36px; }
.cc-chat-archive-header p { margin: 0; color: var(--cc-muted); font-size: 12px; line-height: 18px; }
.cc-chat-archive-header > button { justify-self: end; min-height: 44px; padding: 10px 16px; border: 1px solid var(--cc-line); border-radius: 999px; background: var(--cc-paper); color: var(--cc-ink); font: 700 14px/20px Manrope, sans-serif; cursor: pointer; }
.cc-chat-archive-room { min-height: 0; overflow-y: auto; padding: 36px 40px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }
.cc-chat-archive-room .cc-chat-row { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 20px; }
.cc-chat-archive-room .cc-chat-row.is-human { justify-content: flex-end; }
.cc-chat-archive-room .cc-chat-row > div { max-width: min(72%, 760px); }
.cc-chat-archive-room .cc-chat-row.is-human > div { width: max-content; }
.cc-chat-archive-room [data-timestamp] { color: #8a7a70; font-size: 12px; line-height: 16px; }
.cc-chat-archive-room .prose-chat { max-width: 100%; padding: 12px 16px; border-radius: 20px; background: #d8dfc4; color: var(--cc-ink); font-size: 14px; line-height: 22px; }
.cc-chat-archive-room .is-human .prose-chat { width: max-content; background: #f8edd0; }
.cc-chat-archive-assistant .is-luma .prose-chat { background: #ebc5b4; }
@media (max-width: 700px) {
    .cc-chat-history { min-height: calc(100vh - 88px); padding: 28px 16px 44px; }
    .cc-chat-history-header { grid-template-columns: 1fr auto; }
    .cc-chat-history-header > div { grid-column: 1 / -1; grid-row: 2; text-align: left; }
    .cc-chat-history-header h1 { font-size: 42px; letter-spacing: -2px; }
    .cc-chat-history-list { padding: 8px; border-radius: 24px; }
    .cc-chat-history-list li a { grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 10px; padding: 14px 12px; }
    .cc-chat-history-copy strong { font-size: 15px; line-height: 22px; }
    .cc-history-dialog-actions { align-items: stretch; flex-direction: column; }
    .cc-chat-archive { padding: 16px 12px 24px; }
    .cc-chat-archive-wrap { height: calc(100vh - 40px); }
    .cc-chat-archive-header { grid-template-columns: 80px 1fr 88px; gap: 8px; }
    .cc-chat-archive-header .cc-chat-history-eyebrow { display: none; }
    .cc-chat-archive-header h1 { font-size: 18px; line-height: 24px; }
    .cc-chat-archive-header > button { padding: 8px 10px; font-size: 12px; }
    .cc-chat-archive-room { padding: 20px 12px; border-radius: 22px; }
    .cc-chat-archive-room .cc-chat-row > div { max-width: 82%; }
}

/* Journal writing room. */
.cc-journal-home { min-height: calc(100vh - 112px); padding: 32px 48px 56px; background: var(--cc-cream); color: var(--cc-ink); text-align: left; }
.cc-journal-wrap { width: min(1180px, 100%); margin: 0 auto; }
.cc-journal-heading { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 48px; align-items: center; margin-bottom: 28px; }
.cc-journal-eyebrow { color: var(--cc-clay); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.cc-journal-heading h1 { margin: 12px 0; font-size: clamp(52px, 6vw, 76px); line-height: .98; letter-spacing: -4px; }
.cc-journal-heading p { margin: 0; color: var(--cc-muted); font-size: 17px; line-height: 26px; }
.cc-journal-character { position: relative; width: 168px; height: 136px; border-radius: 58% 42% 52% 48% / 55% 45% 55% 45%; background: #d8dfc4; transform: rotate(-5deg); transition: transform .45s var(--cc-curve); }
.cc-journal-character:hover { transform: translateY(-5px) rotate(3deg); }
.cc-journal-eye { position: absolute; top: 47px; width: 6px; height: 10px; border-radius: 50%; background: var(--cc-ink); }
.cc-journal-eye-left { left: 55px; }.cc-journal-eye-right { right: 55px; }
.cc-journal-smile { position: absolute; top: 77px; left: 50%; width: 30px; height: 14px; border-bottom: 3px solid var(--cc-ink); border-radius: 50%; transform: translateX(-50%); }
.cc-journal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.cc-journal-paper { padding: 28px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }
.cc-journal-choice { margin-bottom: 20px; }
.cc-journal-choice > label { display: block; margin-bottom: 10px; font-size: 14px; line-height: 20px; font-weight: 700; }
.cc-journal-choice label small { margin-left: 5px; color: var(--cc-muted); font-size: 11px; font-weight: 500; }
.cc-journal-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-journal-tabs button { min-height: 38px; padding: 8px 13px; border: 1px solid var(--cc-line); border-radius: 999px; background: var(--cc-cream); color: var(--cc-muted); font: 600 12px/18px Manrope, sans-serif; cursor: pointer; }
.cc-journal-tabs .bg-gradient-teal-to-indigo { border-color: var(--cc-clay); background: var(--cc-clay); color: var(--cc-paper); }
.cc-journal-moods .bg-gradient-purple-to-pink { border-color: #566443; background: #566443; color: var(--cc-paper); }
.cc-journal-toolbar { display: flex; gap: 6px; width: max-content; margin-bottom: -1px; padding: 7px; border: 1px solid var(--cc-line); border-bottom: 0; border-radius: 14px 14px 0 0; background: #f8edd0; }
.cc-journal-toolbar button { display: grid; width: 34px; height: 32px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--cc-ink); cursor: pointer; }
.cc-journal-toolbar button:hover, .cc-journal-toolbar button.bg-gray-500 { background: #d2a777; color: var(--cc-ink); }
.cc-journal-editor { min-height: 260px; padding: 24px; border: 1px solid var(--cc-line); border-radius: 0 24px 24px 24px; background: var(--cc-cream); color: var(--cc-ink); font-size: 16px; line-height: 28px; outline: 0; }
.cc-journal-editor:empty::before { content: attr(data-placeholder); color: #8a7a70; pointer-events: none; }
.cc-journal-editor:focus { border-color: var(--cc-clay); box-shadow: inset 0 0 0 2px #ebc5b480; }
.cc-journal-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; align-items: center; }
.cc-journal-actions > div { display: flex; gap: 8px; }
.cc-journal-history-link, .cc-journal-suggestion-button, .cc-journal-save-button { display: inline-flex; min-height: 46px; padding: 11px 16px; align-items: center; justify-content: center; border-radius: 999px; font: 700 13px/20px Manrope, sans-serif; text-decoration: none; cursor: pointer; }
.cc-journal-history-link { border: 1px solid var(--cc-line); color: var(--cc-ink); background: var(--cc-paper); }
.cc-journal-suggestion-button { border: 0; background: #d8dfc4; color: var(--cc-ink); }
.cc-journal-save-button { border: 0; background: var(--cc-clay); color: var(--cc-paper); }
.cc-journal-aside { position: sticky; top: 20px; display: grid; gap: 18px; }
.cc-journal-suggestion-box { min-height: 260px; padding: 26px; border-radius: 32px; background: #ebc5b4; }
.cc-journal-suggestion-box h2 { margin: 10px 0 16px; font-size: 28px; line-height: 34px; letter-spacing: -1px; }
.cc-journal-suggestion-box p { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 23px; }
.cc-journal-private { margin: 0; padding: 20px; border: 1px solid var(--cc-line); border-radius: 22px; color: var(--cc-muted); font-size: 12px; line-height: 19px; }
.cc-journal-mobile-suggestion { display: none; }
@media (max-width: 820px) {
    .cc-journal-home { min-height: calc(100vh - 88px); padding: 28px 16px 44px; }
    .cc-journal-heading { grid-template-columns: 1fr 92px; gap: 16px; }
    .cc-journal-heading h1 { font-size: 46px; letter-spacing: -2px; }
    .cc-journal-character { width: 90px; height: 76px; }
    .cc-journal-eye { top: 25px; width: 4px; height: 7px; }.cc-journal-eye-left { left: 29px; }.cc-journal-eye-right { right: 29px; }.cc-journal-smile { top: 43px; width: 20px; height: 9px; }
    .cc-journal-layout { grid-template-columns: 1fr; }
    .cc-journal-aside { display: none; }
    .cc-journal-mobile-suggestion:not(.hidden) { display: block; padding: 22px; border-radius: 24px; background: #ebc5b4; }
    .cc-journal-mobile-suggestion > div:first-child { display: flex; align-items: center; justify-content: space-between; }
    .cc-journal-mobile-suggestion h4 { margin: 0; font-size: 20px; }.cc-journal-mobile-suggestion button { border: 0; background: transparent; }
}
@media (max-width: 560px) {
    .cc-journal-heading { grid-template-columns: 1fr; }.cc-journal-character { display: none; }
    .cc-journal-paper { padding: 18px 14px; border-radius: 24px; }
    .cc-journal-actions { align-items: stretch; flex-direction: column-reverse; }.cc-journal-actions > div { display: grid; grid-template-columns: 1fr 1fr; }.cc-journal-history-link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cc-journal-character { transition: none; }.cc-journal-character:hover { transform: rotate(-5deg); } }

/* Selected Journal direction: warm notebook and desk. */
.cc-journal-notebook { padding: 32px 48px 56px; background: var(--cc-cream); }
.cc-journal-notebook-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px; width: min(1180px, 100%); margin: 0 auto; }
.cc-journal-notebook-sidebar { display: flex; min-height: 720px; padding: 30px; flex-direction: column; border-radius: 36px; background: #d8dfc4; }
.cc-journal-notebook-sidebar h1 { margin: 12px 0 0; font-size: 52px; line-height: 54px; letter-spacing: -3px; }
.cc-journal-notebook-sidebar h2 { margin: 4px 0 12px; font-size: 28px; line-height: 34px; letter-spacing: -1px; }
.cc-journal-notebook-sidebar > p { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 23px; }
.cc-journal-notebook-character { position: relative; width: 156px; height: 120px; margin: 38px auto; border-radius: 48% 52% 56% 44%; background: #d2a777; transition: transform .45s var(--cc-curve); }
.cc-journal-notebook-character:hover { transform: translateY(-5px) rotate(3deg); }
.cc-journal-notebook-character .cc-journal-eye { top: 41px; }
.cc-journal-notebook-character .cc-journal-eye-left { left: 50px; }
.cc-journal-notebook-character .cc-journal-eye-right { right: 50px; }
.cc-journal-notebook-character .cc-journal-smile { top: 70px; }
.cc-journal-notebook-history { display: flex; margin-top: auto; padding: 11px 12px; align-items: center; justify-content: space-between; border-radius: 14px; color: var(--cc-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.cc-journal-notebook-history:hover { background: #fffcf470; }
.cc-journal-notebook-suggestion { margin-top: 14px; padding: 18px; border-radius: 20px; background: #fffcf480; }
.cc-journal-notebook-suggestion strong { font-size: 13px; line-height: 20px; }
.cc-journal-notebook-suggestion p { margin: 8px 0 0; color: var(--cc-muted); font-size: 12px; line-height: 19px; }
.cc-journal-notebook-sheet { position: relative; min-width: 0; min-height: 720px; padding: 42px 52px 32px; border: 1px solid var(--cc-line); border-radius: 12px 36px 36px 12px; background: var(--cc-paper); box-shadow: 0 24px 60px #372b2412; }
.cc-journal-notebook-sheet::before { content: ''; position: absolute; top: 0; bottom: 0; left: 22px; border-left: 2px solid #ebc5b4; }
.cc-journal-sheet-heading h2 { margin: 8px 0 26px; font-size: 34px; line-height: 42px; letter-spacing: -1px; }
.cc-journal-sheet-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cc-journal-notebook .cc-journal-choice { margin: 0; }
.cc-journal-notebook .cc-journal-tabs button { background: transparent; }
.cc-journal-notebook .cc-journal-tabs button.bg-gradient-teal-to-indigo { border-color: var(--cc-clay); background: var(--cc-clay); color: var(--cc-paper); }
.cc-journal-notebook .cc-journal-moods button.bg-gradient-purple-to-pink { border-color: #566443; background: #566443; color: var(--cc-paper); }
.cc-journal-notebook .cc-journal-toolbar { margin-top: 26px; background: #f8edd0; }
.cc-journal-notebook .cc-journal-editor { min-height: 340px; padding: 0 0 14px; border: 0; border-radius: 0; background: repeating-linear-gradient(transparent 0 38px, #e1d2b9 39px, transparent 40px); background-position: 0 0; font-size: 16px; line-height: 40px; box-shadow: none; }
.cc-journal-notebook .cc-journal-editor > :first-child { margin-top: 0; }
.cc-journal-notebook .cc-journal-editor:focus { box-shadow: none; }
.cc-journal-notebook .cc-journal-page-note { align-self: center; color: var(--cc-muted); font-size: 12px; line-height: 18px; }
.cc-journal-notebook .cc-journal-suggestion-button { background: #f8edd0; }
.cc-journal-notebook .cc-journal-save-button { padding-right: 20px; padding-left: 20px; }
@media (max-width: 900px) {
    .cc-journal-notebook { padding: 24px 16px 44px; }
    .cc-journal-notebook-wrap { grid-template-columns: 1fr; }
    .cc-journal-notebook-sidebar { display: grid; grid-template-columns: 1fr auto; min-height: auto; padding: 22px; }
    .cc-journal-notebook-sidebar h1, .cc-journal-notebook-sidebar h2, .cc-journal-notebook-sidebar > p { grid-column: 1; }
    .cc-journal-notebook-character { grid-column: 2; grid-row: 1 / 5; width: 104px; height: 80px; margin: auto 0; }
    .cc-journal-notebook-character .cc-journal-eye { top: 27px; }.cc-journal-notebook-character .cc-journal-eye-left { left: 33px; }.cc-journal-notebook-character .cc-journal-eye-right { right: 33px; }.cc-journal-notebook-character .cc-journal-smile { top: 46px; width: 24px; }
    .cc-journal-notebook-history { grid-column: 1 / -1; margin-top: 18px; }
    .cc-journal-notebook-suggestion { display: none; }
    .cc-journal-notebook-sheet { min-height: auto; }
}
@media (max-width: 620px) {
    .cc-journal-notebook-sidebar h1 { font-size: 44px; line-height: 46px; }
    .cc-journal-notebook-character { display: none; }
    .cc-journal-notebook-sheet { padding: 32px 24px 26px 40px; }
    .cc-journal-sheet-options { grid-template-columns: 1fr; }
    .cc-journal-notebook .cc-journal-editor { min-height: 280px; }
    .cc-journal-notebook .cc-journal-actions { align-items: stretch; flex-direction: column; }
    .cc-journal-notebook .cc-journal-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Journal history follows the selected notebook direction. */
.cc-journal-history-page { min-height: calc(100vh - 112px); padding: 36px 48px 60px; background: var(--cc-cream); color: var(--cc-ink); text-align: left; }
.cc-journal-history-wrap { width: min(1180px, 100%); margin: 0 auto; }
.cc-journal-history-heading { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.cc-journal-history-heading h1 { margin: 10px 0 8px; font-size: clamp(48px, 6vw, 72px); line-height: .98; letter-spacing: -4px; }
.cc-journal-history-heading p { margin: 0; color: var(--cc-muted); font-size: 16px; line-height: 24px; }
.cc-journal-history-heading > a { margin-bottom: 8px; color: var(--cc-clay); font-size: 14px; font-weight: 700; text-decoration: none; }
.cc-journal-history-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.cc-journal-history-main { min-width: 0; }
.cc-journal-history-summary-column { grid-column: 2; }
.cc-journal-history-summary { position: sticky; top: 20px; padding: 26px; border-radius: 32px; background: var(--cc-paper); }
.cc-journal-history-summary .space-y-6 { display: grid; gap: 10px; }
.cc-journal-select-button, .cc-journal-summary-button { width: 100%; min-height: 46px; padding: 11px 15px; border-radius: 999px; font: 700 13px/20px Manrope, sans-serif; cursor: pointer; }
.cc-journal-select-button { border: 1px solid var(--cc-clay); background: var(--cc-clay); color: var(--cc-paper); }
.cc-journal-summary-button { border: 1px solid #a15b47; background: transparent; color: var(--cc-clay); }
.cc-journal-select-button:hover { background: var(--cc-clay-dark); }
.cc-journal-summary-button:hover { background: var(--cc-cream); }
.cc-journal-select-button:focus-visible, .cc-journal-summary-button:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-journal-overall-summary { margin-top: 18px; padding: 18px; border-radius: 20px; background: #fffcf480; }
.cc-journal-overall-summary h4 { margin: 0 0 8px; color: var(--cc-ink); font-size: 17px; }
.cc-journal-overall-summary p { margin: 0; color: var(--cc-muted); font-size: 13px; line-height: 21px; }
.cc-journal-filters { margin-bottom: 24px; padding: 24px; border: 1px solid var(--cc-line); border-radius: 28px; background: var(--cc-paper); }
.cc-journal-filters h2 { margin: 0 0 16px; font-size: 24px; line-height: 32px; }
.cc-journal-filters form { display: grid; gap: 14px; }
.cc-journal-filters form > div.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-journal-filters label { display: block; margin-bottom: 6px; color: var(--cc-muted); font-size: 12px; font-weight: 700; }
.cc-journal-filters input, .cc-journal-filters select { width: 100%; min-height: 44px; padding: 9px 34px 9px 12px; border: 1px solid var(--cc-line); border-radius: 14px; background: var(--cc-cream); color: var(--cc-ink); font: 500 13px/20px Manrope, sans-serif; }
.cc-journal-filters form > div.flex { display: flex; gap: 8px; padding-top: 4px; }
.cc-journal-filters form > div.flex button, .cc-journal-filters form > div.flex a { display: inline-flex; min-height: 42px; padding: 10px 14px; align-items: center; border: 0; border-radius: 999px; font: 700 12px/18px Manrope, sans-serif; text-decoration: none; }
.cc-journal-filters form > div.flex button { background: var(--cc-clay); color: var(--cc-paper); }
.cc-journal-filters form > div.flex a { background: #f8edd0; color: var(--cc-ink); }
.cc-journal-entries-list > h2 { margin: 0 0 14px; font-size: 24px; line-height: 32px; }
.cc-journal-entries-list > div.space-y-4 { display: grid; gap: 12px; }
.cc-journal-entry-card { padding: 22px; border: 1px solid var(--cc-line); border-radius: 26px; background: var(--cc-paper); transition: transform .35s var(--cc-curve), border-radius .35s var(--cc-curve), background .2s; }
.cc-journal-entry-card:nth-child(3n+1) { background: #ebc5b4; }.cc-journal-entry-card:nth-child(3n+2) { background: #f8edd0; }.cc-journal-entry-card:nth-child(3n) { background: #d8dfc4; }
.cc-journal-entry-card:hover { border-radius: 36px; transform: translateY(-3px); }
.cc-journal-entry-card.border-yellow-300 { outline: 3px solid var(--cc-clay); outline-offset: 2px; }
.cc-journal-entry-card .entry-meta { color: var(--cc-muted); font-size: 12px; line-height: 18px; }
.cc-journal-entry-card .entry-preview { margin: 14px 0; color: var(--cc-ink); font-size: 15px; line-height: 24px; }
.cc-journal-entry-card .entry-preview p { margin: 0; }
.cc-journal-entry-card .entry-footer { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.cc-journal-entry-read { display: inline-flex; gap: 8px; align-items: center; color: var(--cc-clay); font-size: 13px; font-weight: 700; text-decoration: none; }
.cc-journal-entry-card .entry-tags span { padding: 5px 9px; border-radius: 999px; background: #fffcf480; color: var(--cc-muted); font-size: 11px; }
.cc-journal-history-empty { padding: 56px 24px; border: 1px solid var(--cc-line); border-radius: 30px; background: var(--cc-paper); text-align: center; }
@media (max-width: 850px) {
    .cc-journal-history-page { padding: 30px 16px 48px; }
    .cc-journal-history-layout { grid-template-columns: 1fr; }
    .cc-journal-history-summary-column { grid-column: 1; }
    .cc-journal-history-summary { position: static; }
}
@media (max-width: 600px) {
    .cc-journal-history-heading { align-items: flex-start; flex-direction: column-reverse; }
    .cc-journal-history-heading h1 { font-size: 46px; letter-spacing: -2px; }
    .cc-journal-filters form > div.grid { grid-template-columns: 1fr; }
    .cc-journal-entry-card .entry-footer { align-items: flex-start; flex-direction: column; }
}

/* Selected Journal History direction: visual card collection. */
.cc-journal-history-page .cc-journal-history-layout { display: grid; grid-template-columns: 1fr; gap: 18px; }
.cc-journal-history-page .cc-journal-history-main { display: contents; }
.cc-journal-history-page .cc-journal-filters { grid-row: 1; margin: 0; }
.cc-journal-history-page .cc-journal-history-summary-column { grid-column: 1; grid-row: 2; }
.cc-journal-history-page .cc-journal-history-summary { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 280px); gap: 24px; padding: 22px 26px; align-items: center; background: var(--cc-paper); }
.cc-journal-history-page .cc-journal-history-summary form::before { content: 'Notice the bigger picture'; display: block; margin-bottom: 6px; color: var(--cc-ink); font-size: 20px; line-height: 28px; font-weight: 700; }
.cc-journal-history-page .cc-journal-history-summary form::after { content: 'Select entries and ask for an overall AI summary.'; display: block; margin-top: 8px; color: var(--cc-muted); font-size: 12px; line-height: 18px; }
.cc-journal-history-page .cc-journal-history-summary .space-y-6 { grid-template-columns: 1fr 1fr; align-items: center; }
.cc-journal-history-page .cc-journal-overall-summary { grid-column: 2; grid-row: 1; margin: 0; }
.cc-journal-history-page .cc-journal-entries-list { grid-row: 3; }
.cc-journal-history-page .cc-journal-entries-list > div.space-y-4 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.cc-journal-history-page .cc-journal-entry-card { display: flex; min-height: 250px; padding: 24px; flex-direction: column; border: 0; border-radius: 32px; }
.cc-journal-history-page .cc-journal-entry-card:hover { border-radius: 44px; transform: translateY(-6px); }
.cc-journal-history-page .cc-journal-entry-card .entry-header { display: block; }
.cc-journal-history-page .cc-journal-entry-card .entry-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.cc-journal-history-page .cc-journal-entry-card .entry-preview { margin: 28px 0 18px; font-size: 16px; line-height: 25px; }
.cc-journal-history-page .cc-journal-entry-card .entry-footer { margin-top: auto; }
.cc-journal-history-page .cc-journal-entry-card .entry-tags { display: none; }
@media (max-width: 900px) {
    .cc-journal-history-page .cc-journal-entries-list > div.space-y-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cc-journal-history-page .cc-journal-history-summary { grid-template-columns: 1fr; }
    .cc-journal-history-page .cc-journal-overall-summary { grid-column: 1; grid-row: auto; }
}
@media (max-width: 580px) {
    .cc-journal-history-page .cc-journal-entries-list > div.space-y-4 { grid-template-columns: 1fr; }
    .cc-journal-history-page .cc-journal-history-summary .space-y-6 { grid-template-columns: 1fr; }
}

/* Final Journal History direction: chronological reflection timeline. */
.cc-journal-history-page .cc-journal-history-heading { position: relative; display: block; text-align: center; }
.cc-journal-history-page .cc-journal-history-heading > a { position: absolute; top: 12px; right: 0; display: inline-flex; gap: 8px; min-height: 44px; padding: 11px 17px; align-items: center; border: 1px solid #a15b47; border-radius: 999px; background: transparent; color: var(--cc-clay); }
.cc-journal-history-page .cc-journal-history-layout { display: grid; grid-template-columns: 1fr; gap: 26px; }
.cc-journal-history-page .cc-journal-history-main { display: contents; }
.cc-journal-history-page .cc-journal-filters { grid-row: 1; padding: 12px; border-radius: 24px; }
.cc-journal-history-page .cc-journal-filters h2 { display: none; }
.cc-journal-history-page .cc-journal-filters form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.cc-journal-history-page .cc-journal-filters form > div.grid { display: contents; }
.cc-journal-history-page .cc-journal-filters label { margin: 0; font-size: 0; }
.cc-journal-history-page .cc-journal-filters input, .cc-journal-history-page .cc-journal-filters select { min-height: 54px; font-size: 14px; }
.cc-journal-history-page .cc-journal-filters form > div.flex { display: flex; gap: 8px; padding: 0; align-items: flex-end; }
.cc-journal-history-page .cc-journal-filters label { margin: 0 0 4px; }
.cc-journal-history-page .cc-journal-filters input, .cc-journal-history-page .cc-journal-filters select { background: var(--cc-cream); }
.cc-journal-history-page .cc-journal-entries-list { position: relative; grid-row: 2; width: min(800px, 100%); margin: 0 auto; padding-left: 88px; }
.cc-journal-history-page .cc-journal-entries-list::before { content: ''; position: absolute; top: 52px; bottom: 0; left: 46px; width: 2px; background: var(--cc-line); }
.cc-journal-history-page .cc-journal-entries-list > h2 { position: relative; margin: 0 0 18px; color: var(--cc-clay); font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.cc-journal-history-page .cc-journal-entries-list > h2::before { content: ''; position: absolute; top: 3px; left: -48px; width: 14px; height: 14px; border-radius: 50%; background: var(--cc-clay); }
.cc-journal-history-page .cc-journal-entries-list > div.space-y-4 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.cc-journal-history-page .cc-journal-entry-card { position: relative; display: block; min-height: 0; padding: 23px 25px; border-radius: 28px; }
.cc-journal-history-page .cc-journal-entry-card:hover { border-radius: 38px; transform: translateX(5px); }
.cc-journal-history-page .cc-journal-entry-card .entry-preview { margin: 18px 0; }
.cc-journal-history-page .cc-journal-history-summary-column { grid-column: 1; grid-row: 3; width: min(800px, 100%); margin: 0 auto; }
.cc-journal-history-page .cc-journal-history-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 22px 26px; background: var(--cc-paper); }
.cc-journal-history-page .cc-journal-history-summary .space-y-6 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.cc-journal-history-page .cc-journal-history-summary .space-y-6 > * { width: 100%; min-height: 46px; margin-top: 0 !important; align-self: stretch; }
.cc-journal-history-page .cc-journal-overall-summary { grid-column: 1 / -1; grid-row: auto; margin-top: 14px; }
@media (max-width: 820px) {
    .cc-journal-history-page .cc-journal-filters form { grid-template-columns: 1fr 1fr; }
    .cc-journal-history-page .cc-journal-history-summary { grid-template-columns: 1fr; }
}

/* Keep date filters on the same single-line scale as the select filters. */
.cc-journal-history-page .cc-journal-date-filter {
    display: flex;
    height: 54px;
    min-height: 54px;
    padding-left: 14px;
    align-items: center;
    overflow: hidden;
}
.cc-journal-history-page .cc-journal-date-filter label {
    position: static;
    flex: 0 0 auto;
    display: block;
    margin: 0 10px 0 0;
    color: var(--cc-ink);
    font: 500 15px/20px Manrope, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}
.cc-journal-history-page .cc-journal-date-filter input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    padding: 0 14px 0 0;
    color: var(--cc-ink);
    font: 500 15px/20px Manrope, sans-serif;
}
.cc-journal-history-page .cc-journal-filters select {
    height: 54px;
    min-height: 54px;
    font: 500 15px/20px Manrope, sans-serif;
}


/* Final Journal history filter treatment. */
.cc-journal-history-page .cc-journal-filters {
    position: relative;
    padding: 38px 12px 12px;
}
.cc-journal-history-page .cc-journal-filters h2 {
    position: absolute;
    top: 12px;
    left: 24px;
    display: block;
    margin: 0;
    color: var(--cc-clay);
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.cc-journal-history-page .cc-journal-date-filter {
    position: relative;
    min-height: 54px;
    overflow: hidden;
    border: 1px solid var(--cc-line);
    border-radius: 14px;
    background: var(--cc-cream);
}
.cc-journal-history-page .cc-journal-date-filter label {
    position: absolute;
    z-index: 1;
    top: 7px;
    left: 12px;
    display: block;
    margin: 0;
    color: var(--cc-muted);
    font-size: 9px;
    font-weight: 800;
    line-height: 11px;
    letter-spacing: .7px;
    text-transform: uppercase;
    pointer-events: none;
}
.cc-journal-history-page .cc-journal-date-filter input {
    height: 52px;
    padding: 20px 40px 5px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.cc-journal-history-page .cc-journal-filters select {
    padding-right: 48px;
    color: var(--cc-ink);
    background-color: var(--cc-cream);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' fill='none' stroke='%23372B24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 17px center;
    background-size: 12px 8px;
    appearance: none;
    -webkit-appearance: none;
    color-scheme: light;
}
.cc-journal-history-page .cc-journal-filters select option {
    color: var(--cc-ink);
    background: var(--cc-paper);
    font-family: Manrope, sans-serif;
}
.cc-journal-history-page .cc-journal-entries-list > div.space-y-4 {
    grid-auto-rows: 260px;
    align-items: stretch;
}
.cc-journal-history-page .cc-journal-entry-card {
    width: 100%;
    min-width: 0;
    height: 260px;
    min-height: 260px;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .cc-journal-history-page .cc-journal-entries-list > div.space-y-4 { grid-auto-rows: 260px; }
}

/* Journal entry reader. */
.cc-journal-entry-page { min-height: calc(100vh - 112px); padding: 32px 48px 60px; background: var(--cc-cream); color: var(--cc-ink); text-align: left; }
.cc-journal-entry-wrap { width: min(980px, 100%); margin: 0 auto; }
.cc-journal-entry-nav { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 20px; align-items: center; margin-bottom: 20px; }
.cc-journal-entry-nav > a { color: var(--cc-clay); font-size: 14px; font-weight: 700; text-decoration: none; }
.cc-journal-entry-nav > span { text-align: center; }
.cc-journal-entry-nav > button { justify-self: end; min-height: 42px; padding: 9px 15px; border: 1px solid #a15b47; border-radius: 999px; background: transparent; color: var(--cc-clay); font: 700 13px/20px Manrope, sans-serif; cursor: pointer; }
.cc-journal-entry-sheet { position: relative; padding: 46px 58px 52px; border: 1px solid var(--cc-line); border-radius: 12px 36px 36px 12px; background: var(--cc-paper); box-shadow: 0 24px 60px #372b2410; }
.cc-journal-entry-sheet::before { content: ''; position: absolute; top: 0; bottom: 0; left: 23px; border-left: 2px solid #ebc5b4; }
.cc-journal-entry-heading { padding-bottom: 24px; border-bottom: 1px solid var(--cc-line); }
.cc-journal-entry-heading h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -3px; }
.cc-journal-entry-meta { display: flex; gap: 14px; align-items: center; justify-content: space-between; color: var(--cc-muted); font-size: 12px; line-height: 18px; }
.cc-journal-entry-meta > div { display: flex; gap: 6px; }.cc-journal-entry-meta > div span { padding: 5px 9px; border-radius: 999px; background: #f8edd0; }
.cc-journal-entry-body { display: grid; gap: 28px; padding-top: 24px; }
.cc-journal-entry-labels { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-journal-entry-labels > div { display: flex; gap: 10px; padding: 9px 13px; align-items: center; border-radius: 999px; background: #d8dfc4; }
.cc-journal-entry-labels > div:first-child { background: #ebc5b4; }
.cc-journal-entry-labels span { color: var(--cc-muted); font-size: 11px; }.cc-journal-entry-labels strong { font-size: 12px; }
.cc-journal-entry-content h2, .cc-journal-entry-summary h2 { margin: 0 0 12px; font-size: 22px; line-height: 30px; }
.cc-journal-entry-content > div { min-height: 240px; padding: 14px 0; background: repeating-linear-gradient(transparent 0 38px, #e1d2b9 39px, transparent 40px); background-position: 0 8px; color: var(--cc-ink); font-size: 16px; line-height: 40px; }
.cc-journal-entry-summary { padding: 26px; border-radius: 28px; background: #d2a777; }
.cc-journal-entry-summary h2 { margin-top: 8px; }.cc-journal-entry-summary > div { color: var(--cc-muted); font-size: 14px; line-height: 23px; }
.cc-journal-history-page .cc-journal-history-summary .space-y-6 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.cc-journal-history-page .cc-journal-history-summary .space-y-6 > button { width: 100%; height: 100%; min-height: 46px; margin-top: 0 !important; }
@media (max-width: 650px) {
    .cc-journal-entry-page { padding: 24px 14px 44px; }
    .cc-journal-entry-nav { grid-template-columns: 1fr auto; }.cc-journal-entry-nav > span { grid-column: 1 / -1; grid-row: 2; text-align: left; }
    .cc-journal-entry-sheet { padding: 34px 24px 38px 40px; }
    .cc-journal-entry-heading h1 { font-size: 40px; letter-spacing: -2px; }
    .cc-journal-entry-meta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
    .cc-journal-history-page .cc-journal-history-heading { padding-top: 58px; text-align: left; }
    .cc-journal-history-page .cc-journal-history-heading > a { top: 0; left: 0; right: auto; }
    .cc-journal-history-page .cc-journal-filters form { grid-template-columns: 1fr; }
    .cc-journal-history-page .cc-journal-filters form > div.flex { align-items: stretch; flex-direction: column; }
    .cc-journal-history-page .cc-journal-entries-list { padding-left: 38px; }
    .cc-journal-history-page .cc-journal-entries-list::before { left: 8px; }
    .cc-journal-history-page .cc-journal-entries-list > h2::before { left: -36px; }
    .cc-journal-history-page .cc-journal-history-summary .space-y-6 { flex-direction: column; }
}

/* Screenshot-approved Journal History card grid. */
.cc-journal-history-page .cc-journal-history-heading { position: relative; display: block; text-align: left; }
.cc-journal-history-page .cc-journal-history-heading > a { position: absolute; top: 58px; right: 0; left: auto; }
.cc-journal-history-page .cc-journal-filters { grid-row: 1; padding: 12px; border-radius: 24px; }
.cc-journal-history-page .cc-journal-filters form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 8px; }
.cc-journal-history-page .cc-journal-filters form > div.grid { display: contents; }
.cc-journal-history-page .cc-journal-filters form > div.flex { display: flex; gap: 8px; align-items: flex-end; }
.cc-journal-history-page .cc-journal-filters form > div.flex a { display: none; }
.cc-journal-history-page .cc-journal-filters form > div.flex button { min-height: 44px; padding: 10px 18px; }
.cc-journal-history-page .cc-journal-entries-list { position: static; grid-row: 3; width: 100%; margin: 0; padding: 0; }
.cc-journal-history-page .cc-journal-entries-list::before, .cc-journal-history-page .cc-journal-entries-list > h2::before { display: none; }
.cc-journal-history-page .cc-journal-entries-list > h2 { display: none; }
.cc-journal-history-page .cc-journal-entries-list > div.space-y-4 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.cc-journal-history-page .cc-journal-entry-card { display: flex; min-height: 260px; padding: 24px; flex-direction: column; border-radius: 32px; }
.cc-journal-history-page .cc-journal-entry-card:hover { border-radius: 44px; transform: translateY(-6px); }
.cc-journal-history-page .cc-journal-entry-card .entry-preview { margin: 28px 0 18px; }
.cc-journal-history-page .cc-journal-entry-card .entry-footer { margin-top: auto; }
.cc-journal-history-page .cc-journal-history-summary-column { grid-column: 1; grid-row: 2; width: 100%; margin: 0; }
.cc-journal-history-page .cc-journal-history-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; padding: 22px 26px; }
.cc-journal-history-page .cc-journal-history-summary .space-y-6 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.cc-journal-history-page .cc-journal-history-summary .space-y-6 > button { width: 100%; min-height: 46px; margin-top: 0 !important; }
@media (max-width: 900px) {
    .cc-journal-history-page .cc-journal-filters form { grid-template-columns: 1fr 1fr; }
    .cc-journal-history-page .cc-journal-entries-list > div.space-y-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .cc-journal-history-page .cc-journal-history-heading { padding-top: 58px; }
    .cc-journal-history-page .cc-journal-history-heading > a { top: 0; left: 0; right: auto; }
    .cc-journal-history-page .cc-journal-filters form { grid-template-columns: 1fr; }
    .cc-journal-history-page .cc-journal-filters form > div.flex { align-items: stretch; }
    .cc-journal-history-page .cc-journal-entries-list { padding: 0; }
    .cc-journal-history-page .cc-journal-entries-list > div.space-y-4 { grid-template-columns: 1fr; }
    .cc-journal-history-page .cc-journal-history-summary { grid-template-columns: 1fr; }
}

/* Cancel utility stack margins inside grids so every item shares its row. */
.cc-journal-history-page .cc-journal-filters form > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center;
}
.cc-journal-history-page .cc-journal-filters form > div.flex { padding-top: 0; }
.cc-journal-history-page .cc-journal-filters form > .space-y-1 > * { margin-top: 0 !important; }
.cc-journal-history-page .cc-journal-entries-list > div.space-y-4 > .cc-journal-entry-card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: stretch;
}
.cc-journal-entry-content h2 { margin-bottom: 4px; }
.cc-journal-entry-content > div {
    padding-top: 0;
    background-position: 0 0;
    background-image: repeating-linear-gradient(transparent 0 38px, #e1d2b9 39px, transparent 40px);
}
.cc-journal-entry-content > div > :first-child { margin-top: 0; }

/* The panel heading occupies its own row; controls have no hidden label space. */
.cc-journal-history-page .cc-journal-filters { padding: 16px 12px 12px; }
.cc-journal-history-page .cc-journal-filters h2 {
    position: static;
    display: block;
    margin: 0 12px 12px;
    line-height: 18px;
}
.cc-journal-history-page .cc-journal-filters form { align-items: center; }
.cc-journal-history-page .cc-journal-filters form > .space-y-1:not(.cc-journal-date-filter) {
    height: 54px;
    min-height: 54px;
    margin: 0 !important;
}
.cc-journal-history-page .cc-journal-filters form > .space-y-1:not(.cc-journal-date-filter) > label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    margin: 0;
    padding: 0;
}
.cc-journal-history-page .cc-journal-filters form > .space-y-1 > select {
    display: block;
    margin: 0 !important;
}

/* Approved single-line date controls; kept last to override earlier variants. */
.cc-journal-history-page .cc-journal-date-filter {
    display: flex;
    height: 54px;
    min-height: 54px;
    padding-left: 14px;
    align-items: center;
    overflow: hidden;
}
.cc-journal-history-page .cc-journal-date-filter label {
    position: static;
    flex: 0 0 auto;
    display: block;
    margin: 0 10px 0 0;
    color: var(--cc-ink);
    font: 500 15px/20px Manrope, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}
.cc-journal-history-page .cc-journal-date-filter input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    padding: 0 14px 0 0;
    color: var(--cc-ink);
    font: 500 15px/20px Manrope, sans-serif;
}
.cc-journal-history-page .cc-journal-filters select {
    height: 54px;
    min-height: 54px;
    font: 500 15px/20px Manrope, sans-serif;
}

/* Library main page: retain the existing playlists, progress and shared stats. */
.cc-library-home {
    padding: 40px 48px 64px;
    background: var(--cc-cream);
    color: var(--cc-ink);
    font-family: Manrope, sans-serif;
    text-align: left;
}
.cc-library-home *, .cc-library-home *::before, .cc-library-home *::after { box-sizing: border-box; }
.cc-library-wrap { width: min(1180px, 100%); margin: 0 auto; }
.cc-library-heading { display: flex; min-height: 176px; margin-bottom: 28px; align-items: center; justify-content: space-between; gap: 32px; }
.cc-library-eyebrow { color: var(--cc-clay); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.cc-library-heading h1 { margin: 12px 0 14px; font-size: 60px; line-height: 60px; font-weight: 700; letter-spacing: -3px; }
.cc-library-heading p { margin: 0; color: var(--cc-muted); font-size: 16px; line-height: 24px; }
.cc-library-books { position: relative; width: 192px; height: 160px; flex: 0 0 auto; margin-right: 32px; }
.cc-library-book { position: absolute; right: 0; width: 176px; height: 42px; border: 1px solid #372b241a; border-radius: 12px 20px 20px 12px; transition: transform .6s var(--cc-curve); }
.cc-library-book::after { content: ''; position: absolute; top: 8px; bottom: 8px; left: 20px; border-left: 2px solid #372b2426; }
.cc-library-book-top { z-index: 2; top: 18px; right: 12px; height: 64px; background: #ebc5b4; transform: rotate(-7deg); }
.cc-library-book-middle { top: 78px; background: #d8dfc4; transform: rotate(4deg); }
.cc-library-book-bottom { top: 119px; right: 8px; background: #f8edd0; transform: rotate(-3deg); }
.cc-library-book-top i { position: absolute; top: 22px; width: 4px; height: 7px; border-radius: 50%; background: var(--cc-ink); transition: transform .35s var(--cc-curve); }
.cc-library-book-top i:first-child { left: 78px; }
.cc-library-book-top i:nth-child(2) { left: 110px; }
.cc-library-book-top b { position: absolute; top: 35px; left: 88px; width: 18px; height: 8px; border-bottom: 2px solid var(--cc-ink); border-radius: 50%; transition: transform .35s var(--cc-curve); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .cc-library-book-middle { transition-delay: .04s; }
    .cc-library-book-bottom { transition-delay: .08s; }
    .cc-library-books:hover .cc-library-book-top { transform: translate(-4px, -12px) rotate(-11deg); }
    .cc-library-books:hover .cc-library-book-middle { transform: translate(5px, -3px) rotate(7deg); }
    .cc-library-books:hover .cc-library-book-bottom { transform: translate(-3px, 3px) rotate(-5deg); }
    .cc-library-books:hover .cc-library-book-top i { transform: translateY(1px) scaleY(.55); }
    .cc-library-books:hover .cc-library-book-top b { transform: translateY(1px) scale(1.2); }
}
.cc-library-stats { position: relative; z-index: 2; margin-bottom: 36px; padding: 20px 24px; border: 1px solid var(--cc-line); border-radius: 24px; background: var(--cc-paper); }
.cc-library-stats > div { width: 100%; margin: 0; }
.cc-library-stats > div > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cc-library-stats .group { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-library-stats .group > span { color: var(--cc-ink); font-size: 14px; font-weight: 600; }
.cc-library-stats .group > span.font-bold, .cc-library-stats .group > span.font-extrabold { color: var(--cc-clay); font-weight: 700; }
.cc-library-stats button { padding: 2px; border: 0; background: transparent; color: var(--cc-clay); cursor: pointer; }
.cc-library-stats button:focus-visible { outline: 2px solid var(--cc-clay); outline-offset: 3px; border-radius: 50%; }
.cc-library-stats .group > .inline-flex { display: inline-flex; min-height: 36px; padding: 6px 12px; align-items: center; gap: 8px; border-radius: 999px; background: #f8edd0; color: var(--cc-ink); font-size: 12px; line-height: 20px; }
.cc-library-stats .group > .inline-flex:has(.bg-green-300) { background: #d8dfc4; }
.cc-library-stats .inline-flex > span { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--cc-clay); animation: none; }
.cc-library-stats .group > div { position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; right: auto; display: none; width: min(280px, calc(100vw - 64px)); max-width: none; padding: 16px; border: 1px solid var(--cc-line); border-radius: 16px; background: var(--cc-paper); color: var(--cc-ink); font-size: 14px; line-height: 22px; box-shadow: 0 12px 28px #372b2414; transform: none; }
.cc-library-stats .group:last-child > div { left: auto; right: 0; }
.cc-library-stats .group:hover > div, .cc-library-stats .group:focus-within > div { display: block; }
.cc-library-stats p { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-library-section { margin: 0 0 40px; }
.cc-library-section:last-child { margin-bottom: 0; }
.cc-library-section h2 { margin: 0 0 20px; color: var(--cc-ink); font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.5px; }
.cc-library-continue-grid { display: grid; grid-template-columns: repeat(var(--cc-continue-columns, 1), minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.cc-library-continue-grid:has(> :nth-child(2)) { --cc-continue-columns: 2; }
.cc-library-continue-grid:has(> :nth-child(3)) { --cc-continue-columns: 3; }
.cc-library-continue > .cc-library-eyebrow { display: block; margin-bottom: 12px; }
.cc-library-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid #372b2414; border-radius: 28px; background: #ebc5b4; color: var(--cc-ink); text-decoration: none; transition: transform .3s var(--cc-curve), box-shadow .3s var(--cc-curve); }
.cc-library-card:nth-child(4n+2) { background: #f8edd0; }
.cc-library-card:nth-child(4n+3) { background: #d8dfc4; }
.cc-library-card:nth-child(4n+4) { background: #ead4ba; }
.cc-library-card:hover { color: var(--cc-ink); transform: translateY(-4px); box-shadow: 0 12px 24px #372b2410; }
.cc-library-card:active { transform: translateY(-1px); }
.cc-library-card:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-library-card-art { padding: 12px 12px 0; }
.cc-library-thumbnail { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: var(--cc-paper); }
.cc-library-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-library-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: #fffcf480; color: var(--cc-clay); }
.cc-library-placeholder.hidden { display: none; }
.cc-library-placeholder > span { font-size: 60px; line-height: 1; }
.cc-library-card-copy { display: flex; flex: 1; min-width: 0; padding: 18px 20px 20px; flex-direction: column; align-items: flex-start; }
.cc-library-kind { max-width: 100%; padding: 5px 10px; border: 1px solid #372b2426; border-radius: 999px; color: var(--cc-ink); font-size: 12px; line-height: 18px; font-weight: 600; }
.cc-library-card h3 { width: 100%; margin: 14px 0 20px; color: var(--cc-ink); font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: -.3px; overflow-wrap: anywhere; }
.cc-library-progress { display: flex; width: 100%; margin: auto 0 0; align-items: center; justify-content: space-between; gap: 8px; color: var(--cc-muted); font-size: 12px; line-height: 20px; font-weight: 600; }
.cc-library-progress > span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid #372b2426; border-radius: 50%; color: var(--cc-clay); font-size: 18px; }
.cc-library-empty { margin: 0; padding: 24px; border: 1px dashed var(--cc-line); border-radius: 24px; background: var(--cc-paper); color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-library-section-heading { display: flex; margin-bottom: 20px; align-items: flex-end; justify-content: space-between; gap: 20px; }
.cc-library-section-heading .cc-library-eyebrow { display: block; margin-bottom: 12px; }
.cc-library-section-heading h2 { margin: 0; }
.cc-library-shelf-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.cc-library-shelf-controls button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--cc-line); border-radius: 50%; background: var(--cc-paper); color: var(--cc-ink); font: 500 20px/24px Manrope, sans-serif; cursor: pointer; }
.cc-library-shelf-controls button:hover { background: #f8edd0; }
.cc-library-shelf-controls button:disabled { opacity: .4; cursor: default; }
.cc-library-shelf-controls button:focus-visible, .cc-library-shelf:focus-visible, .cc-library-filters button:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-library-shelf { display: flex; gap: 20px; padding: 6px 0 24px; overflow-x: auto; align-items: stretch; border-bottom: 8px solid #ead4ba; border-radius: 0 0 8px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cc-library-shelf::-webkit-scrollbar { display: none; }
.cc-library-shelf .cc-library-card { flex: 0 0 272px; min-height: 420px; border-radius: 136px 136px 20px 20px; scroll-snap-align: start; }
.cc-library-shelf .cc-library-card-art { flex: 0 0 auto; height: 190px; padding: 0; }
.cc-library-shelf .cc-library-thumbnail { height: 100%; aspect-ratio: auto; border-radius: 0; background: #fffcf438; }
.cc-library-shelf .cc-library-card-copy { padding: 12px 24px 24px; }
.cc-library-shelf .cc-library-card h3 { margin: 14px 0 20px; }
.cc-library-continue-grid .cc-library-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 192px; border-radius: 24px; }
.cc-library-continue-grid .cc-library-card-art { height: 100%; padding: 0; }
.cc-library-continue-grid .cc-library-thumbnail { height: 100%; min-height: 192px; aspect-ratio: auto; border-radius: 0; }
.cc-library-continue-grid .cc-library-card-copy { padding: 22px; }
.cc-library-continue-grid .cc-library-progress > span { border-color: var(--cc-clay); background: var(--cc-clay); color: var(--cc-paper); }
.cc-library-tools { display: flex; margin: 24px 0; align-items: center; justify-content: space-between; gap: 20px; }
.cc-library-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-library-filters button { min-height: 42px; padding: 9px 16px; border: 1px solid var(--cc-line); border-radius: 999px; background: transparent; color: var(--cc-ink); font: 600 14px/20px Manrope, sans-serif; cursor: pointer; }
.cc-library-filters button:hover { background: var(--cc-paper); }
.cc-library-filters button[aria-pressed="true"] { border-color: var(--cc-clay); background: var(--cc-clay); color: var(--cc-paper); }
.cc-library-search { display: flex; width: 250px; flex: 0 0 auto; min-height: 44px; padding: 10px 16px; align-items: center; gap: 10px; border: 1px solid var(--cc-line); border-radius: 999px; background: var(--cc-paper); color: var(--cc-muted); }
.cc-library-search svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cc-library-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--cc-ink); font: 400 14px/20px Manrope, sans-serif; }
.cc-library-search:focus-within { outline: 3px solid var(--cc-clay); outline-offset: 3px; }
.cc-library-home [hidden] { display: none !important; }
@media (max-width: 1100px) { .cc-library-tools { align-items: flex-start; flex-direction: column; }.cc-library-search { width: 100%; } }
@media (max-width: 800px) {
    .cc-library-home { padding: 32px 24px 48px; }
    .cc-library-continue-grid { grid-template-columns: 1fr; gap: 16px; }
    .cc-library-stats > div > div { flex-wrap: wrap; justify-content: flex-start; gap: 12px 24px; }
    .cc-library-books { margin-right: 0; transform: scale(.85); transform-origin: right center; }
}
@media (max-width: 540px) {
    .cc-library-home { padding: 24px 16px 40px; }
    .cc-library-heading { min-height: 0; margin-bottom: 24px; gap: 16px; }
    .cc-library-heading h1 { margin: 10px 0 12px; font-size: 48px; line-height: 48px; letter-spacing: -2px; }
    .cc-library-heading p { max-width: 280px; }
    .cc-library-books { display: none; }
    .cc-library-stats { padding: 16px; margin-bottom: 28px; border-radius: 20px; }
    .cc-library-stats > div > div { align-items: flex-start; flex-direction: column; gap: 12px; }
    .cc-library-stats .group:last-child > div { left: 0; right: auto; }
    .cc-library-section-heading { align-items: flex-start; flex-direction: column; }
    .cc-library-shelf-controls { align-self: flex-end; }
    .cc-library-continue-grid .cc-library-card { grid-template-columns: 80px minmax(0, 1fr); }
    .cc-library-continue-grid .cc-library-card-copy { padding: 18px; }
    .cc-library-filters { gap: 6px; }
    .cc-library-filters button { padding: 8px 12px; font-size: 12px; }
    .cc-library-section { margin-bottom: 32px; }
    .cc-library-card h3 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-library-card { transition: none; }
    .cc-library-card:hover, .cc-library-card:active { transform: none; }
}

/* Selected playlist direction: a sage study nook and ordered lesson cards. */
.cc-playlist-home { padding: 28px 48px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }
.cc-playlist-home *, .cc-playlist-home *::before, .cc-playlist-home *::after { box-sizing: border-box; }
.cc-playlist-back { display: inline-flex; margin-bottom: 24px; color: var(--cc-clay); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; }
.cc-playlist-home .cc-library-stats { margin-bottom: 28px; }
.cc-playlist-study-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
.cc-playlist-sidebar { position: sticky; top: 24px; min-width: 0; padding: 28px; border-radius: 32px; background: #d8dfc4; }
.cc-playlist-art { position: relative; height: 150px; margin-bottom: 24px; overflow: hidden; border-radius: 100px 100px 20px 20px; background: #fffcf470; }
.cc-playlist-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-playlist-placeholder { display: grid; width: 100%; height: 100%; place-items: end center; }
.cc-playlist-placeholder.hidden { display: none; }
.cc-playlist-character { position: relative; display: block; width: 78px; height: 106px; margin-bottom: 12px; border-radius: 44px 44px 12px 12px; background: #b8c49e; }
.cc-playlist-character i { position: absolute; top: 44px; width: 4px; height: 7px; border-radius: 50%; background: var(--cc-ink); }
.cc-playlist-character i:first-child { left: 25px; }.cc-playlist-character i:nth-child(2) { right: 25px; }
.cc-playlist-character b { position: absolute; top: 62px; left: 29px; width: 20px; height: 10px; border-bottom: 2px solid var(--cc-ink); border-radius: 50%; }
.cc-playlist-meta { display: flex; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.cc-playlist-meta > span { padding: 5px 9px; border: 1px solid #69765350; border-radius: 999px; color: var(--cc-muted); font-size: 11px; line-height: 16px; }
.cc-playlist-sidebar > .cc-library-eyebrow { display: block; margin-bottom: 16px; font-size: 11px; line-height: 18px; }
.cc-playlist-sidebar h1 { margin: 0; color: var(--cc-ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -1.5px; overflow-wrap: anywhere; }
.cc-playlist-description { margin: 20px 0 24px; color: var(--cc-muted); font-size: 13px; line-height: 22px; }
.cc-playlist-progress { margin: 24px 0; }
.cc-playlist-progress > div { display: flex; justify-content: space-between; gap: 12px; color: var(--cc-muted); font-size: 12px; line-height: 18px; }
.cc-playlist-progress strong { color: var(--cc-clay); font-weight: 700; text-align: right; }
.cc-playlist-progress progress { display: block; width: 100%; height: 7px; margin-top: 12px; overflow: hidden; border: 0; border-radius: 999px; background: #372b2412; appearance: none; }
.cc-playlist-progress progress::-webkit-progress-bar { background: #372b2412; }
.cc-playlist-progress progress::-webkit-progress-value { border-radius: 999px; background: var(--cc-clay); }
.cc-playlist-progress progress::-moz-progress-bar { border-radius: 999px; background: var(--cc-clay); }
.cc-playlist-progress p { margin: 10px 0 0; color: var(--cc-muted); font-size: 12px; line-height: 20px; }
.cc-playlist-action { display: flex; width: 100%; min-height: 44px; padding: 10px 12px; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font: 600 12px/20px Manrope, sans-serif; text-decoration: none; cursor: pointer; }
.cc-playlist-action:hover { background: var(--cc-clay-dark); }
.cc-playlist-action > span { font-size: 18px; }
.cc-playlist-main { min-width: 0; scroll-margin-top: 24px; }
.cc-playlist-list-heading { margin-bottom: 20px; }
.cc-playlist-list-heading .cc-library-eyebrow { display: block; margin-bottom: 8px; }
.cc-playlist-list-heading h2 { margin: 0; font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }
.cc-playlist-content-list { display: grid; gap: 12px; }
.cc-playlist-lesson { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; min-width: 0; padding: 22px 20px; border: 1px solid var(--cc-line); border-radius: 24px; background: var(--cc-paper); color: var(--cc-ink); text-decoration: none; transition: transform .3s var(--cc-curve), background .3s var(--cc-curve); }
.cc-playlist-lesson:hover { transform: translateY(-3px); background: #f6ecd9; }
.cc-playlist-number { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #f8edd0; color: var(--cc-clay); font-size: 14px; line-height: 20px; font-weight: 600; }
.cc-playlist-lesson:has(.cc-playlist-last-score) .cc-playlist-number { background: #d8dfc4; }
.cc-playlist-lesson-copy { min-width: 0; }
.cc-playlist-lesson h3 { margin: 0; color: var(--cc-ink); font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: -.4px; overflow-wrap: anywhere; }
.cc-playlist-content-meta { display: flex; margin-top: 10px; flex-wrap: wrap; gap: 6px 20px; color: var(--cc-muted); font-size: 12px; line-height: 20px; }
.cc-playlist-content-meta > span { overflow-wrap: anywhere; }
.cc-playlist-content-meta > span > span { font-weight: 600; }
.cc-playlist-status { display: flex; grid-column: 2; align-items: center; justify-content: space-between; gap: 16px; color: var(--cc-muted); font-size: 12px; line-height: 20px; }
.cc-playlist-last-score { color: #465336; }
.cc-playlist-lesson-arrow { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid var(--cc-line); border-radius: 50%; color: var(--cc-clay); font-size: 20px; }
.cc-playlist-lesson:has(.cc-playlist-last-score) .cc-playlist-lesson-arrow { border-color: #d8dfc4; background: #d8dfc4; }
.cc-playlist-back:focus-visible, .cc-playlist-action:focus-visible, .cc-playlist-lesson:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-playlist-home .cc-library-empty p { margin: 0; }
@media (max-width: 1000px) {
    .cc-playlist-study-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
    .cc-playlist-sidebar { padding: 24px; }
    .cc-playlist-sidebar h1 { font-size: 30px; line-height: 36px; }
}
@media (max-width: 800px) { .cc-playlist-home { padding: 24px 24px 48px; } }
@media (max-width: 760px) {
    .cc-playlist-study-layout { grid-template-columns: 1fr; gap: 28px; }
    .cc-playlist-sidebar { position: static; display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 0 20px; }
    .cc-playlist-art { grid-column: 2; grid-row: 1 / 4; margin-bottom: 0; }
    .cc-playlist-meta { grid-column: 1; grid-row: 1; }
    .cc-playlist-sidebar > .cc-library-eyebrow { grid-column: 1; grid-row: 2; }
    .cc-playlist-sidebar h1 { grid-column: 1; grid-row: 3; font-size: 32px; line-height: 36px; }
    .cc-playlist-description, .cc-playlist-progress, .cc-playlist-action { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .cc-playlist-home { padding: 24px 16px 40px; }
    .cc-playlist-sidebar { display: block; }
    .cc-playlist-art { display: none; }
    .cc-playlist-sidebar > .cc-library-eyebrow { margin-top: 12px; }
    .cc-playlist-lesson { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 20px 16px; border-radius: 20px; }
    .cc-playlist-number { width: 32px; height: 32px; font-size: 12px; }
    .cc-playlist-lesson h3 { font-size: 16px; line-height: 24px; }
    .cc-playlist-list-heading h2 { font-size: 24px; line-height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .cc-playlist-lesson { transition: none; }.cc-playlist-lesson:hover { transform: none; } }

/* Library content room: an open reading surface with sage context and questions. */
.cc-content-home { padding: 28px 48px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }
.cc-content-home *, .cc-content-home *::before, .cc-content-home *::after { box-sizing: border-box; }
.cc-content-home .cc-library-stats { margin-bottom: 28px; }
.cc-content-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.cc-content-sidebar { position: sticky; top: 24px; min-width: 0; padding: 28px 24px; border-radius: 32px; background: #d8dfc4; }
.cc-content-sidebar > .cc-library-eyebrow { display: block; font-size: 11px; line-height: 18px; }
.cc-content-character { position: relative; width: 112px; height: 96px; margin: 30px auto; border-radius: 20px 36px 36px 20px; background: #a15b47; transform: rotate(-7deg); transition: transform .5s var(--cc-curve); }
.cc-content-character::before { content: ''; position: absolute; top: 9px; bottom: 9px; left: 9px; border-left: 2px solid #fffcf440; }
.cc-content-character::after { content: ''; position: absolute; bottom: -6px; left: 10px; right: 6px; height: 10px; border: 1px solid var(--cc-line); border-radius: 4px 8px 8px 4px; background: var(--cc-paper); }
.cc-content-character i { position: absolute; top: 32px; width: 5px; height: 8px; border-radius: 50%; background: #fff8eb; }
.cc-content-character i:first-child { left: 40px; }.cc-content-character i:nth-child(2) { right: 30px; }
.cc-content-character b { position: absolute; top: 49px; left: 49px; width: 24px; height: 12px; border-bottom: 2px solid #fff8eb; border-radius: 50%; }
.cc-content-character > span { position: absolute; top: -5px; left: 26px; width: 16px; height: 24px; border-radius: 0 0 4px 4px; background: #f8edd0; }
.cc-content-character:hover { transform: translateY(-5px) rotate(-2deg); }
.cc-content-sidebar h2 { margin: 0 0 12px; font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -1px; }
.cc-content-sidebar > p { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 23px; }
.cc-content-facts { display: grid; margin: 24px 0; gap: 0; }
.cc-content-facts > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid #69765330; font-size: 12px; line-height: 20px; }
.cc-content-facts dt { color: var(--cc-muted); }.cc-content-facts dd { margin: 0; color: var(--cc-ink); font-weight: 600; overflow-wrap: anywhere; }
.cc-content-score dd { color: var(--cc-clay); }
.cc-content-main { min-width: 0; }
.cc-content-heading { margin-bottom: 24px; }
.cc-content-heading > .cc-library-eyebrow { display: block; margin-bottom: 12px; }
.cc-content-heading h1 { margin: 0; color: var(--cc-ink); font-size: 40px; line-height: 46px; font-weight: 700; letter-spacing: -1.5px; overflow-wrap: anywhere; }
.cc-content-heading p { margin: 18px 0 0; color: var(--cc-muted); font-size: 15px; line-height: 25px; }
.cc-content-video { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--cc-line); border-radius: 24px; background: #372b24; }
.cc-content-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.cc-content-reading-card { padding: 30px 36px; border: 1px solid var(--cc-line); border-radius: 28px; background: var(--cc-paper); }
.cc-content-cover { margin-bottom: 28px; overflow: hidden; border-radius: 20px; background: #f8edd0; }
.cc-content-cover img { display: block; width: 100%; max-height: 360px; object-fit: cover; }
.cc-content-cover-fallback { padding: 40px 24px; color: var(--cc-clay); text-align: center; font-size: 20px; }
.cc-content-cover-fallback.hidden { display: none; }
.cc-content-article { color: var(--cc-ink); font-size: 16px; line-height: 28px; overflow-wrap: anywhere; }
.cc-content-article > :first-child { margin-top: 0; }.cc-content-article > :last-child { margin-bottom: 0; }
.cc-content-article p { margin: 0 0 20px; }
.cc-content-article h1, .cc-content-article h2, .cc-content-article h3, .cc-content-article h4 { margin: 28px 0 12px; color: var(--cc-ink); font-weight: 700; letter-spacing: -.5px; }
.cc-content-article h1, .cc-content-article h2 { font-size: 26px; line-height: 34px; }.cc-content-article h3, .cc-content-article h4 { font-size: 20px; line-height: 28px; }
.cc-content-article ul, .cc-content-article ol { margin: 16px 0 24px; padding-left: 24px; }.cc-content-article ul { list-style: disc; }.cc-content-article ol { list-style: decimal; }.cc-content-article li { margin: 8px 0; }
.cc-content-article blockquote { margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--cc-clay); border-radius: 0 16px 16px 0; background: #f8edd0; }
.cc-content-article a { color: var(--cc-clay); text-decoration: underline; text-underline-offset: 3px; }.cc-content-article img, .cc-content-article video { max-width: 100%; height: auto; }.cc-content-article pre { overflow-x: auto; }
.cc-content-article table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }.cc-content-article th, .cc-content-article td { padding: 10px; border: 1px solid var(--cc-line); }
.cc-content-questions { margin-top: 36px; scroll-margin-top: 24px; }
.cc-content-questions-heading { margin-bottom: 20px; }.cc-content-questions-heading .cc-library-eyebrow { display: block; margin-bottom: 8px; }.cc-content-questions-heading h2 { margin: 0; font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }
.cc-content-question-list { display: grid; gap: 20px; }
.cc-content-question { min-width: 0; margin: 0; padding: 24px; border: 1px solid var(--cc-line); border-radius: 24px; background: var(--cc-paper); }
.cc-content-question legend { display: flex; float: left; width: 100%; margin: 0 0 18px; padding: 0; align-items: flex-start; gap: 12px; color: var(--cc-ink); font-size: 16px; line-height: 24px; font-weight: 700; }
.cc-content-question-number { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f8edd0; color: var(--cc-clay); font-size: 12px; line-height: 18px; }
.cc-content-options { display: grid; width: 100%; gap: 8px; clear: both; }
.cc-content-option { display: flex; min-height: 48px; padding: 12px 16px; align-items: flex-start; gap: 12px; border: 1px solid var(--cc-line); border-radius: 14px; background: var(--cc-paper); color: var(--cc-muted); font-size: 14px; line-height: 22px; cursor: pointer; transition: background .25s var(--cc-curve), border-color .25s var(--cc-curve); }
.cc-content-option input { width: 16px; height: 16px; flex: 0 0 auto; margin: 3px 0 0; accent-color: #566443; cursor: pointer; }
.cc-content-option > span { min-width: 0; overflow-wrap: anywhere; }
.cc-content-option:hover { background: #f8edd0; }.cc-content-option:has(input:checked) { border-color: #697653; background: #e8eddb; color: #344128; }
.cc-content-option:focus-within { outline: 2px solid var(--cc-clay); outline-offset: 2px; }
.cc-content-submit-row { display: flex; margin-top: 24px; align-items: center; gap: 20px; }.cc-content-submit-row p { margin: 0; color: var(--cc-muted); font-size: 12px; line-height: 20px; }
.cc-content-submit { display: inline-flex; min-height: 44px; padding: 11px 22px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 20px; border: 1px solid var(--cc-clay); border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font: 600 14px/20px Manrope, sans-serif; text-decoration: none; cursor: pointer; }
.cc-content-submit:hover { background: var(--cc-clay-dark); }.cc-content-submit:disabled { opacity: .5; cursor: not-allowed; }
.cc-content-submit:focus-visible, .cc-content-cancel:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-content-notice { margin-bottom: 24px; padding: 18px 24px; border: 1px solid #d7c69b; border-radius: 20px; background: #f8edd0; color: var(--cc-ink); font-size: 14px; line-height: 22px; }
.cc-content-modal { position: fixed; z-index: 100; inset: 0; display: flex; padding: 24px; align-items: center; justify-content: center; overflow-y: auto; background: #372b2466; }.cc-content-modal.hidden { display: none; }
.cc-content-dialog { width: min(480px, 100%); max-height: calc(100dvh - 48px); padding: 32px; overflow-y: auto; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); box-shadow: 0 24px 64px #372b2420; }
.cc-content-dialog .cc-library-eyebrow { display: block; margin-bottom: 16px; }.cc-content-dialog h2 { margin: 0 0 16px; font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -1px; }.cc-content-dialog p { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-content-dialog-actions { display: flex; margin-top: 28px; justify-content: flex-end; gap: 12px; }
.cc-content-cancel { min-height: 44px; padding: 10px 22px; border: 1px solid var(--cc-clay); border-radius: 999px; background: transparent; color: var(--cc-clay); font: 600 14px/20px Manrope, sans-serif; cursor: pointer; }
@media (max-width: 1000px) { .cc-content-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }.cc-content-sidebar { padding: 24px 20px; }.cc-content-heading h1 { font-size: 34px; line-height: 40px; }.cc-content-reading-card { padding: 28px; } }
@media (max-width: 800px) { .cc-content-home { padding: 24px 24px 48px; } }
@media (max-width: 760px) {
    .cc-content-layout { grid-template-columns: 1fr; gap: 28px; }
    .cc-content-sidebar { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; }
    .cc-content-sidebar > .cc-library-eyebrow, .cc-content-sidebar h2, .cc-content-sidebar > p { grid-column: 1; }
    .cc-content-character { grid-column: 2; grid-row: 1 / 4; width: 90px; height: 82px; margin: auto 4px auto 0; }
    .cc-content-character i:first-child { left: 31px; }.cc-content-character i:nth-child(2) { right: 22px; }.cc-content-character b { left: 36px; }
    .cc-content-facts { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 20px 0; }
    .cc-content-sidebar .cc-playlist-action { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .cc-content-home { padding: 24px 16px 40px; }.cc-content-sidebar { display: block; padding: 24px; }.cc-content-character { display: none; }.cc-content-sidebar h2 { margin-top: 12px; font-size: 24px; line-height: 30px; }
    .cc-content-facts { grid-template-columns: 1fr; }.cc-content-heading h1 { font-size: 30px; line-height: 36px; letter-spacing: -1px; }.cc-content-video { border-radius: 18px; }
    .cc-content-reading-card { padding: 22px 20px; border-radius: 24px; }.cc-content-article { font-size: 16px; line-height: 27px; }.cc-content-question { padding: 20px 16px; }.cc-content-question legend { gap: 10px; }.cc-content-option { padding: 12px; }
    .cc-content-submit-row { align-items: stretch; flex-direction: column; gap: 12px; }.cc-content-submit-row .cc-content-submit { width: 100%; }.cc-content-dialog { padding: 24px; border-radius: 24px; }.cc-content-dialog-actions { justify-content: stretch; }.cc-content-dialog-actions > button { flex: 1; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) { .cc-content-character, .cc-content-option { transition: none; }.cc-content-character:hover { transform: rotate(-7deg); } }

/* Approved pricing direction: three arched doors with the existing plan data. */
.cc-pricing-home { padding: 32px 48px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }
.cc-pricing-home *, .cc-pricing-home *::before, .cc-pricing-home *::after { box-sizing: border-box; }
.cc-pricing-wrap { width: min(1184px, 100%); margin: 0 auto; }
.cc-pricing-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding-bottom: 24px; align-items: center; }
.cc-pricing-eyebrow { display: block; margin-bottom: 10px; color: var(--cc-clay); font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.cc-pricing-heading h1 { margin: 0; color: var(--cc-ink); font-size: 48px; line-height: 1.05; font-weight: 700; letter-spacing: -2.5px; }
.cc-pricing-heading p { margin: 14px 0 0; color: var(--cc-muted); font-size: 16px; line-height: 26px; }
.cc-pricing-billing { display: flex; width: max-content; padding: 5px; gap: 4px; border: 1px solid var(--cc-line); border-radius: 999px; background: var(--cc-paper); }
.cc-pricing-billing a { display: inline-flex; min-width: 112px; min-height: 42px; padding: 10px 20px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--cc-muted); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; }
.cc-pricing-billing a[aria-current="page"] { border-color: var(--cc-clay); background: var(--cc-clay); color: var(--cc-paper); }
.cc-pricing-billing a:hover:not([aria-current="page"]) { background: #f8edd0; color: var(--cc-clay); }
.cc-pricing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.cc-plan-basic { --cc-plan-surface: #ebc5b4; }.cc-plan-pro { --cc-plan-surface: #f8edd0; }.cc-plan-gift { --cc-plan-surface: #d8dfc4; }
.cc-pricing-plan { display: flex; min-width: 0; padding: 32px 28px 28px; flex-direction: column; align-items: center; border: 1px solid #372b2414; border-radius: 160px 160px 28px 28px; background: var(--cc-plan-surface, #ebc5b4); text-align: center; }
.cc-pricing-plan-top { display: flex; min-height: 148px; margin-bottom: 24px; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; }
.cc-pricing-trial { padding: 6px 10px; border: 1px solid #372b2424; border-radius: 999px; background: #fffcf460; color: var(--cc-clay); font-size: 11px; line-height: 16px; font-weight: 600; }
.cc-pricing-character { position: relative; flex: 0 0 auto; margin-top: 4px; transform: scale(1.15); transition: transform .5s var(--cc-curve); }
.cc-pricing-character-arch { width: 64px; height: 80px; border-radius: 40px 40px 14px 14px; background: #a15b47; }
.cc-pricing-character-pebble { width: 80px; height: 76px; border-radius: 48% 52% 58% 42%; background: #b8c49e; }
.cc-pricing-character-book { width: 72px; height: 64px; border-radius: 20px 28px 28px 20px; background: #d2a777; }
.cc-pricing-character i { position: absolute; top: 28px; width: 4px; height: 7px; border-radius: 50%; background: var(--cc-ink); }
.cc-pricing-character i:first-child { left: 22px; }.cc-pricing-character i:nth-child(2) { right: 18px; }
.cc-pricing-character b { position: absolute; top: 44px; left: 29px; width: 18px; height: 8px; border-bottom: 2px solid var(--cc-ink); border-radius: 50%; transform: translateX(-15%); }
.cc-pricing-character-arch i { background: var(--cc-paper); }.cc-pricing-character-arch b { left: 25px; border-color: var(--cc-paper); }
.cc-pricing-character-book::after { content: ''; position: absolute; top: 8px; bottom: 8px; left: 9px; border-left: 2px solid #78433240; }
.cc-pricing-character-book > span { position: absolute; top: -4px; left: 17px; width: 11px; height: 19px; border-radius: 0 0 3px 3px; background: var(--cc-paper); }
.cc-pricing-character:hover { transform: translateY(-6px) scale(1.15); }
.cc-pricing-plan-name { width: 100%; }
.cc-pricing-plan-name h2 { margin: 0; color: var(--cc-ink); font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }
.cc-pricing-plan-name p { min-height: 48px; margin: 10px 0 0; color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-pricing-price { display: flex; margin: 24px 0 8px; align-items: baseline; justify-content: center; gap: 6px; }
.cc-pricing-price strong { color: var(--cc-ink); font-size: 44px; line-height: 48px; font-weight: 700; letter-spacing: -2px; }
.cc-pricing-price > span { color: var(--cc-muted); font-size: 14px; line-height: 20px; }
.cc-pricing-features { display: grid; align-self: stretch; margin: 0 0 28px; padding: 20px 0 0; gap: 14px; border-top: 1px solid #372b2420; list-style: none; font-size: 14px; line-height: 22px; text-align: left; }
.cc-pricing-features li { display: flex; align-items: flex-start; gap: 10px; }.cc-pricing-features li > span:first-child { flex: 0 0 auto; color: var(--cc-clay); font-size: 15px; }
.cc-pricing-choose { display: flex; width: 100%; min-height: 44px; margin-top: auto; padding: 11px 22px; align-items: center; justify-content: center; gap: 20px; border: 1px solid var(--cc-clay); border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; transition: background .3s var(--cc-curve), transform .3s var(--cc-curve); }
.cc-pricing-choose:hover { border-color: var(--cc-clay-dark); background: var(--cc-clay-dark); color: var(--cc-paper); transform: translateY(-2px); }
.cc-pricing-choose:active { transform: translateY(1px); }
.cc-pricing-billing-note { margin: 8px 0 0; color: var(--cc-muted); font-size: 12px; line-height: 20px; text-align: center; }
.cc-pricing-enterprise { display: flex; margin-top: 32px; padding: 28px 32px; align-items: center; justify-content: space-between; gap: 28px; border-radius: 28px; background: #ead4ba; }
.cc-pricing-enterprise .cc-pricing-eyebrow { margin-bottom: 8px; font-size: 11px; }
.cc-pricing-enterprise h2 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -1px; }
.cc-pricing-enterprise p { margin: 8px 0 0; color: var(--cc-muted); font-size: 14px; line-height: 22px; }
.cc-pricing-enterprise-details { color: var(--cc-muted); font-size: 14px; line-height: 22px; }.cc-pricing-enterprise-details > strong { display: block; margin-bottom: 8px; color: var(--cc-ink); font-size: 20px; line-height: 28px; font-weight: 700; }
.cc-pricing-enterprise-details ul { margin: 0; padding: 0; list-style: none; }.cc-pricing-enterprise-details li + li { margin-top: 6px; }
.cc-pricing-contact { display: inline-flex; min-height: 44px; padding: 11px 22px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 20px; border: 1px solid #a15b47; border-radius: 999px; background: transparent; color: var(--cc-clay); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; }
.cc-pricing-contact:hover { background: var(--cc-paper); color: var(--cc-clay-dark); }
.cc-pricing-billing a:focus-visible, .cc-pricing-choose:focus-visible, .cc-pricing-contact:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
@media (max-width: 1050px) {
    .cc-pricing-plan { padding: 28px 24px; }
    .cc-pricing-price { flex-wrap: wrap; }.cc-pricing-price strong { font-size: 38px; }
    .cc-pricing-enterprise { flex-wrap: wrap; }.cc-pricing-enterprise-details { flex: 1; }
}
@media (max-width: 800px) {
    .cc-pricing-home { padding: 32px 24px 48px; }
    .cc-pricing-plans { gap: 12px; }.cc-pricing-plan { padding: 28px 16px 20px; }
    .cc-pricing-plan-name h2 { font-size: 24px; }.cc-pricing-plan-name p { min-height: 90px; font-size: 13px; }
    .cc-pricing-price { min-height: 64px; }.cc-pricing-price strong { font-size: 32px; }
    .cc-pricing-choose { padding: 10px 12px; gap: 8px; font-size: 12px; }.cc-pricing-features { font-size: 13px; }
    .cc-pricing-enterprise-details { flex-basis: 100%; }
}
@media (max-width: 640px) {
    .cc-pricing-heading { grid-template-columns: 1fr; gap: 20px; }.cc-pricing-heading h1 { font-size: 38px; line-height: 42px; letter-spacing: -1.5px; }
    .cc-pricing-plans { grid-template-columns: 1fr; gap: 24px; }.cc-pricing-plan { padding: 32px 28px 28px; }
    .cc-pricing-plan-name p { min-height: 0; font-size: 14px; }.cc-pricing-features { font-size: 14px; }
    .cc-pricing-price { min-height: 0; }.cc-pricing-price strong { font-size: 44px; }.cc-pricing-choose { gap: 20px; font-size: 14px; }
}
@media (max-width: 480px) {
    .cc-pricing-home { padding: 28px 16px 40px; }.cc-pricing-heading p { font-size: 14px; line-height: 24px; }
    .cc-pricing-billing a { min-width: 100px; }.cc-pricing-enterprise { padding: 24px; gap: 20px; border-radius: 24px; }.cc-pricing-contact { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cc-pricing-character, .cc-pricing-choose { transition: none; }.cc-pricing-character:hover { transform: scale(1.15); }.cc-pricing-choose:hover, .cc-pricing-choose:active { transform: none; } }

/* Coupon step: preserve the existing optional-code POST and checkout redirect. */
.cc-coupon-home { padding: 28px 48px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }
.cc-coupon-home *, .cc-coupon-home *::before, .cc-coupon-home *::after { box-sizing: border-box; }
.cc-coupon-wrap { width: min(980px, 100%); margin: 0 auto; }
.cc-coupon-heading { margin: 8px 0 32px; }
.cc-coupon-heading h1 { margin: 0; color: var(--cc-ink); font-size: 44px; line-height: 50px; font-weight: 700; letter-spacing: -2px; }
.cc-coupon-heading p { max-width: 680px; margin: 16px 0 0; color: var(--cc-muted); font-size: 16px; line-height: 26px; }
.cc-coupon-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.cc-coupon-plan { min-width: 0; padding: 32px 28px 28px; border: 1px solid #372b2414; border-radius: 160px 160px 28px 28px; background: var(--cc-plan-surface, #ebc5b4); text-align: center; }
.cc-coupon-plan-top { display: flex; min-height: 0; margin-bottom: 8px; flex-direction: column-reverse; align-items: center; gap: 18px; }
.cc-coupon-plan-top .cc-pricing-eyebrow { margin: 0; font-size: 11px; }.cc-coupon-plan-top .cc-pricing-character { margin: 4px 0 0; }
.cc-coupon-plan h2 { margin: 0; color: var(--cc-ink); font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }
.cc-coupon-plan > p { margin: 12px 0 0; color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-coupon-price { display: flex; margin: 24px 0; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px; }
.cc-coupon-price strong { font-size: 40px; line-height: 46px; font-weight: 700; letter-spacing: -2px; }.cc-coupon-price > span { color: var(--cc-muted); font-size: 14px; }
.cc-coupon-features { display: grid; margin: 0; padding: 24px 0 0; gap: 14px; border-top: 1px solid #372b2420; list-style: none; font-size: 14px; line-height: 22px; text-align: left; }
.cc-coupon-features li { display: flex; gap: 10px; align-items: flex-start; }.cc-coupon-features li > span:first-child { flex: 0 0 auto; color: var(--cc-clay); }
.cc-coupon-form-panel { min-width: 0; padding: 36px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }
.cc-coupon-form-panel > .cc-pricing-eyebrow { margin-bottom: 14px; font-size: 11px; }
.cc-coupon-form-panel h2 { margin: 0; color: var(--cc-ink); font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }
.cc-coupon-form-panel > p { margin: 16px 0 0; color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-coupon-form { display: grid; margin-top: 32px; gap: 24px; }
.cc-coupon-form label { display: block; margin-bottom: 10px; color: var(--cc-ink); font-size: 14px; line-height: 20px; font-weight: 700; }.cc-coupon-form label > span { color: var(--cc-muted); font-size: 12px; font-weight: 400; }
.cc-coupon-form input { display: block; width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--cc-line); border-radius: 16px; background: var(--cc-cream); color: var(--cc-ink); font: 400 16px/24px Manrope, sans-serif; }
.cc-coupon-form input::placeholder { color: var(--cc-muted); opacity: .8; }
.cc-coupon-form input:focus { outline: 2px solid var(--cc-clay); outline-offset: 3px; }
.cc-coupon-submit { display: flex; width: 100%; min-height: 48px; padding: 12px 18px; align-items: center; justify-content: center; gap: 16px; border: 1px solid var(--cc-clay); border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font: 600 14px/22px Manrope, sans-serif; cursor: pointer; }
.cc-coupon-submit:hover { background: var(--cc-clay-dark); }.cc-coupon-submit:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
@media (max-width: 800px) { .cc-coupon-home { padding: 24px 24px 48px; }.cc-coupon-plan { padding: 28px; }.cc-coupon-form-panel { padding: 28px; } }
@media (max-width: 640px) { .cc-coupon-layout { grid-template-columns: 1fr; }.cc-coupon-heading h1 { font-size: 36px; line-height: 40px; letter-spacing: -1.5px; } }
@media (max-width: 480px) { .cc-coupon-home { padding: 24px 16px 40px; }.cc-coupon-heading p { font-size: 14px; line-height: 24px; }.cc-coupon-plan { padding: 32px 28px 28px; }.cc-coupon-form-panel { padding: 24px; border-radius: 28px; }.cc-coupon-form-panel h2 { font-size: 28px; }.cc-coupon-heading { margin-bottom: 24px; } }

/* Payment confirmation: the existing Razorpay button and account warnings remain. */
/* Settings: retain account actions and subscription conditions. */
.cc-settings-home { padding: 48px max(24px, calc((100% - 1180px) / 2)) 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }
.cc-settings-heading { margin-bottom: 40px; }.cc-settings-heading h1 { margin: 0; font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -3px; }.cc-settings-heading p { margin: 16px 0 0; color: var(--cc-muted); font-size: 18px; line-height: 28px; }
.cc-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }.cc-settings-card { padding: 32px; border: 1px solid #372b2414; border-radius: 32px; }.cc-settings-profile { background: #ebc5b4; }.cc-settings-security { background: #d8dfc4; }.cc-settings-screening { background: #f8edd0; }.cc-settings-logout { background: var(--cc-paper); }.cc-settings-card h2 { margin: 0 0 24px; color: var(--cc-ink); font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }
.cc-settings-card a, .cc-settings-card button, .cc-settings-subscription a { display: inline-flex; width: auto; min-height: 48px; padding: 12px 24px; align-items: center; justify-content: center; border: 1px solid var(--cc-clay); border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font: 600 14px/24px Manrope, sans-serif; text-decoration: none; cursor: pointer; }.cc-settings-card a:hover, .cc-settings-card button:hover, .cc-settings-subscription a:hover { background: var(--cc-clay-dark); }.cc-settings-card a:focus-visible, .cc-settings-card button:focus-visible, .cc-settings-subscription a:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-settings-subscription { margin-top: 24px; padding: 32px; border: 1px solid var(--cc-line); border-radius: 32px; background: #ead4ba; }.cc-settings-subscription p { color: var(--cc-muted); font-size: 14px; line-height: 24px; }.cc-settings-profile { grid-column: 1; grid-row: 1; }.cc-settings-security { grid-column: 2; grid-row: 1; }.cc-settings-screening { grid-column: 1; grid-row: 2; }
@media (max-width: 640px) { .cc-settings-home { padding: 32px 16px 48px; }.cc-settings-heading h1 { font-size: 36px; line-height: 40px; letter-spacing: -1.5px; }.cc-settings-heading p { font-size: 14px; line-height: 24px; }.cc-settings-grid { grid-template-columns: 1fr; }.cc-settings-card { grid-column: auto; grid-row: auto; padding: 24px; border-radius: 28px; }.cc-settings-profile { order: -3; }.cc-settings-security { order: -2; }.cc-settings-screening { order: -1; }.cc-settings-card h2 { font-size: 24px; line-height: 32px; } }
.cc-settings-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; }.cc-settings-welcome { display: flex; padding: 40px; flex-direction: column; justify-content: center; border: 1px solid #372b2414; border-radius: 180px 180px 28px 28px; background: #ead4ba; text-align: center; }.cc-settings-faces { display: flex; padding: 32px 0; align-items: center; justify-content: center; gap: 20px; }.cc-settings-faces .cc-pricing-character { margin: 0; }.cc-settings-faces .cc-pricing-character:first-child { transform: rotate(-10deg); }.cc-settings-welcome > .cc-pricing-eyebrow { margin-top: 32px; }.cc-settings-welcome h2 { margin: 24px 0 16px; color: var(--cc-ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -1px; }.cc-settings-welcome p { max-width: 320px; margin: 0 auto; color: var(--cc-muted); font-size: 16px; line-height: 28px; }
.cc-settings-layout .cc-settings-card { display: flex; min-width: 0; padding: 28px; flex-direction: column; align-items: flex-start; border-radius: 28px; }.cc-settings-layout .cc-settings-grid { gap: 20px; }.cc-settings-layout .cc-settings-card h2 { margin-bottom: 0; font-size: 24px; line-height: 32px; }.cc-settings-card > p { margin: 12px 0 24px; color: var(--cc-muted); font-size: 14px; line-height: 24px; }.cc-settings-layout .cc-settings-card a, .cc-settings-layout .cc-settings-card button { padding: 10px 18px; }.cc-settings-layout .cc-settings-card a, .cc-settings-layout .cc-settings-card form { margin-top: auto; }.cc-settings-layout .cc-settings-logout button { background: transparent; color: var(--cc-clay); }.cc-settings-layout .cc-settings-logout button:hover { background: var(--cc-cream); }
@media (max-width: 1000px) { .cc-settings-layout { grid-template-columns: 1fr; }.cc-settings-welcome { padding: 40px 24px; }.cc-settings-faces { padding: 16px 0; } }
@media (max-width: 600px) { .cc-settings-layout .cc-settings-grid { grid-template-columns: 1fr; }.cc-settings-layout .cc-settings-card { grid-column: auto; grid-row: auto; }.cc-settings-welcome h2 { font-size: 30px; line-height: 36px; } }
/* Profile and password forms: preserve Django widgets and validation. */
.cc-account-edit { padding: 32px 24px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }.cc-account-edit *, .cc-account-edit *::before, .cc-account-edit *::after { box-sizing: border-box; }.cc-account-edit-wrap { width: min(900px, 100%); margin: 0 auto; }.cc-password-edit .cc-account-edit-wrap { max-width: 640px; }.cc-account-edit-heading { margin: 32px 0; }.cc-account-edit-heading h1 { margin: 0; color: var(--cc-ink); font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -2px; }.cc-account-edit-heading p { margin: 16px 0 0; color: var(--cc-muted); font-size: 16px; line-height: 26px; }.cc-account-edit-panel { padding: 32px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }.cc-account-edit-form { display: grid; gap: 24px; }.cc-account-edit-form .cc-account-edit-label { display: block; margin-bottom: 8px; color: var(--cc-ink); font-size: 14px; line-height: 24px; font-weight: 600; }.cc-account-edit-required { color: var(--cc-clay); }
.cc-account-edit-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .cc-account-edit-form textarea, .cc-account-edit-form select { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--cc-line); border-radius: 16px; outline: none; background: var(--cc-cream); color: var(--cc-ink); font: 400 14px/24px Manrope, sans-serif; box-shadow: none; }.cc-account-edit-form textarea { min-height: 120px; resize: vertical; }.cc-account-edit-form input:focus, .cc-account-edit-form textarea:focus, .cc-account-edit-form select:focus { outline: 2px solid var(--cc-clay); outline-offset: 2px; box-shadow: none; }.cc-account-edit-form input[type=checkbox], .cc-account-edit-form input[type=radio] { accent-color: var(--cc-clay); }.cc-account-edit-form input::placeholder, .cc-account-edit-form textarea::placeholder { color: var(--cc-muted); }.cc-account-edit-form input[aria-invalid=true] { border-color: var(--cc-clay); }.cc-account-edit-errors { display: block; margin-top: 8px; color: var(--cc-clay); font-size: 14px; line-height: 24px; }.cc-account-edit-errors ul { margin: 0; padding-left: 20px; }
.cc-account-edit-submit { display: inline-flex; min-height: 48px; padding: 12px 24px; align-items: center; justify-content: center; border: 1px solid var(--cc-clay); border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font: 600 14px/24px Manrope, sans-serif; cursor: pointer; }.cc-account-edit-submit:hover { background: var(--cc-clay-dark); }.cc-account-edit-submit:focus-visible, .cc-account-edit-link:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }.cc-account-edit-actions { padding-top: 8px; }.cc-account-edit-help { margin-top: 24px; font-size: 14px; }.cc-account-edit-link { color: var(--cc-clay); text-decoration: underline; text-underline-offset: 4px; }
@supports (appearance: base-select) { .cc-account-edit-form select, .cc-account-edit-form select::picker(select) { appearance: base-select; }.cc-account-edit-form select::picker-icon { margin-left: auto; color: var(--cc-clay); }.cc-account-edit-form select::picker(select) { padding: 8px; border: 1px solid var(--cc-line); border-radius: 16px; background: var(--cc-paper); color: var(--cc-ink); }.cc-account-edit-form option { padding: 8px 12px; border-radius: 12px; }.cc-account-edit-form option:hover { background: #f8edd0; }.cc-account-edit-form option:checked { background: #ebc5b4; } }
@media (max-width: 640px) { .cc-account-edit { padding: 24px 16px 40px; }.cc-account-edit-heading h1 { font-size: 36px; line-height: 40px; letter-spacing: -1px; }.cc-account-edit-panel { padding: 24px; border-radius: 28px; }.cc-account-edit-submit { width: 100%; } }
.cc-password-flow .cc-account-edit-panel { margin-top: 32px; }.cc-password-flow-title { margin: 0 0 24px; color: var(--cc-ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -1.5px; text-align: left; }.cc-password-flow .cc-account-edit-panel > p { margin: 0 0 24px; padding: 0; color: var(--cc-muted); font-size: 16px; line-height: 28px; text-align: left; }.cc-password-flow .cc-account-edit-panel > div:not(.cc-password-flow-notice) { color: var(--cc-muted); }.cc-password-flow .cc-account-edit-panel a { color: var(--cc-clay); text-decoration: underline; text-underline-offset: 4px; }.cc-password-flow-notice { padding: 24px; border: 1px solid #372b2414; border-radius: 20px; background: #f8edd0; color: var(--cc-ink); font-size: 14px; line-height: 24px; }.cc-password-flow-message { display: block; margin-top: 8px; }.cc-password-flow .cc-account-edit-submit { justify-self: start; }.cc-password-flow .cc-account-edit-panel > .cc-account-edit-form { margin-top: 24px; }
@media (max-width: 480px) { .cc-password-flow-title { font-size: 30px; line-height: 36px; }.cc-password-flow .cc-account-edit-submit { width: 100%; } }
/* Screening instruments: original questions, options and scoring retained. */
.cc-screening-home { padding: 32px 24px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }.cc-screening-wrap { width: min(980px, 100%); margin: auto; }.cc-screening-wrap > .cc-pricing-eyebrow { margin-top: 32px; }.cc-screening-title { margin: 0 0 16px; color: var(--cc-ink); font-size: 44px; line-height: 50px; letter-spacing: -2px; font-weight: 700; }.cc-screening-intro { margin: 0 0 24px; max-width: 760px; color: var(--cc-muted); font-size: 16px; line-height: 28px; }.cc-screening-guidance { margin: 0 0 32px; padding: 24px 32px; border: 1px solid #372b2414; border-radius: 24px; background: #f8edd0; color: var(--cc-muted); font-size: 14px; line-height: 24px; }.cc-screening-guidance * { color: inherit; }.cc-screening-guidance > li { margin-left: 16px; }
.cc-screening-form { display: grid; gap: 24px; }.cc-screening-form > h2 { margin: 8px 0; color: var(--cc-clay); font-size: 20px; line-height: 28px; }.cc-screening-question { min-width: 0; margin: 0; padding: 24px; border: 1px solid var(--cc-line); border-radius: 24px; background: var(--cc-paper); }.cc-screening-question-title { float: left; width: 100%; margin: 0 0 20px; padding: 0; color: var(--cc-ink); font-size: 16px; line-height: 26px; font-weight: 600; }.cc-screening-answers { clear: both; }.cc-screening-option { display: flex; min-height: 48px; margin: 8px 0 0; padding: 12px 16px; align-items: center; gap: 12px; border: 1px solid var(--cc-line); border-radius: 16px; background: var(--cc-cream); color: var(--cc-ink); cursor: pointer; font-size: 14px; line-height: 24px; }.cc-screening-option:hover { background: #f8edd0; }.cc-screening-option:has(input:checked) { border-color: var(--cc-clay); background: #ebc5b4; }.cc-screening-option:focus-within { outline: 2px solid var(--cc-clay); outline-offset: 2px; }.cc-screening-option input[type=radio] { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--cc-clay); }.cc-screening-option-text { color: var(--cc-ink); }.cc-screening-errors { display: block; margin-top: 8px; color: var(--cc-clay); font-size: 14px; line-height: 24px; }
.cc-screening-index { padding: 32px max(24px, calc((100% - 1180px) / 2)) 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; }.cc-screening-index > .container { max-width: none; padding-left: 0; padding-right: 0; }.cc-screening-index h2 { color: var(--cc-ink); font-size: 36px; line-height: 40px; letter-spacing: -1px; }.cc-screening-index > .container > a { background: var(--cc-clay); color: var(--cc-paper); border-radius: 999px; padding: 12px 24px; }.cc-screening-index > .container > div { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }.cc-screening-index > .container > div > div { margin: 24px 0; padding: 24px; border: 1px solid #372b2414; border-radius: 24px; background: #f8edd0; }.cc-screening-index p { color: var(--cc-muted); }.cc-screening-index ul.space-y-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }.cc-screening-index ul.space-y-4 > li { margin: 0; padding: 24px; border: 1px solid var(--cc-line); border-radius: 24px; background: var(--cc-paper); box-shadow: none; }.cc-screening-index ul.space-y-4 > li:nth-child(3n+1) { background: #ebc5b4; }.cc-screening-index ul.space-y-4 > li:nth-child(3n+2) { background: #d8dfc4; }.cc-screening-index li strong { color: var(--cc-ink); }.cc-screening-index li span { color: var(--cc-muted); }.cc-screening-index li a:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 8px; border-radius: 12px; }
@media (max-width: 640px) { .cc-screening-home { padding: 24px 16px 40px; }.cc-screening-title { font-size: 30px; line-height: 36px; letter-spacing: -1px; }.cc-screening-question, .cc-screening-guidance { padding: 20px; }.cc-screening-index { padding: 24px 16px 40px; }.cc-screening-index ul.space-y-4 { grid-template-columns: 1fr; }.cc-screening-index h2 { font-size: 24px; line-height: 32px; } }
.cc-screening-home .cc-screening-guidance, .cc-screening-home .cc-screening-guidance p, .cc-screening-home .cc-screening-guidance ul, .cc-screening-home .cc-screening-guidance li, .cc-screening-home .cc-screening-guidance span { color: var(--cc-muted); }.cc-screening-home .cc-screening-guidance > p:first-child { color: var(--cc-ink); }
.cc-screening-index ul.cc-screening-cards { grid-auto-rows: 1fr; align-items: stretch; }.cc-screening-index ul.cc-screening-cards > li:nth-child(n) { margin-top: 0; margin-bottom: 0; min-width: 0; box-sizing: border-box; }.cc-screening-index ul.cc-screening-cards > li > a { display: flex; height: 100%; flex-direction: column; gap: 12px; }.cc-screening-index ul.cc-screening-cards > li > a > div { flex-direction: column; align-items: flex-start; gap: 8px; }.cc-screening-index ul.cc-screening-cards > li > a > p { margin: 0; }.cc-screening-index ul.cc-screening-cards > li > a > p:last-child { margin-top: auto; padding-top: 4px; }
/* Logout confirmation: retain the existing POST action. */
.cc-logout-panel { margin-top: 32px; text-align: center; }.cc-logout-character { display: grid; width: 144px; height: 144px; margin: 0 auto 32px; place-items: center; border: 1px solid #372b2414; border-radius: 50%; background: #f8edd0; }.cc-logout-character .cc-pricing-character { margin: 0; }.cc-logout-panel h1 { margin: 0; color: var(--cc-ink); font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -2px; }.cc-logout-description { max-width: 360px; margin: 16px auto 32px; color: var(--cc-muted); font-size: 16px; line-height: 28px; }.cc-logout-question { margin: 0; color: var(--cc-ink); font-size: 14px; line-height: 24px; }.cc-logout-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }.cc-logout-stay { display: inline-flex; min-height: 48px; padding: 12px 24px; align-items: center; justify-content: center; border: 1px solid var(--cc-clay); border-radius: 999px; color: var(--cc-clay); font-size: 14px; line-height: 24px; font-weight: 600; text-decoration: none; }.cc-logout-stay:hover { background: var(--cc-cream); }.cc-logout-stay:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
@media (max-width: 640px) { .cc-logout-panel h1 { font-size: 36px; line-height: 40px; }.cc-logout-actions > * { width: 100%; } }
/* Remaining plan steps: preserve existing billing and subscription behaviour. */
.cc-plan-flow-panel { margin-top: 32px; }.cc-plan-flow-character { display: flex; margin: 0 0 32px; justify-content: center; }.cc-plan-flow-character .cc-pricing-character { margin: 0; }.cc-plan-flow-title { margin: 0 0 24px; color: var(--cc-ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -1.5px; }.cc-plan-flow-description { display: block; margin: 0 0 24px; padding: 0; color: var(--cc-muted); font-size: 14px; line-height: 26px; text-align: left; }.cc-plan-flow-description span { color: var(--cc-clay); overflow-wrap: anywhere; }.cc-plan-flow-help { display: block; margin-top: 8px; color: var(--cc-muted); font-size: 12px; line-height: 20px; }.cc-plan-flow-warning { margin: 0; padding: 24px; border: 1px solid #372b2414; border-radius: 20px; background: #f8edd0; color: var(--cc-ink); font-size: 14px; line-height: 26px; text-align: left; }.cc-plan-flow-secondary { justify-self: start; color: var(--cc-clay); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; line-height: 24px; }.cc-plan-flow-secondary:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }.cc-plan-flow-gift .cc-plan-flow-panel { padding-top: 40px; border-radius: 160px 160px 28px 28px; background: #d8dfc4; }.cc-plan-flow-gift .cc-plan-flow-character { margin-bottom: 32px; }
@media (max-width: 480px) { .cc-plan-flow-title { font-size: 30px; line-height: 36px; }.cc-plan-flow-gift .cc-plan-flow-panel { padding-top: 32px; } }
/* Account entry, verification and social authentication screens. */
.cc-auth-panel { margin-top: 16px; }.cc-auth-character { display: flex; margin: 0 0 24px; justify-content: center; }.cc-auth-character .cc-pricing-character { margin: 0; }.cc-auth-title { margin: 0 0 24px; color: var(--cc-ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -1.5px; }.cc-auth-panel > p { margin: 0 0 24px; padding: 0; color: var(--cc-muted); font-size: 14px; line-height: 26px; text-align: left; }.cc-auth-panel > div:not(.cc-auth-character), .cc-auth-panel > div:not(.cc-auth-character) span { color: var(--cc-muted); }.cc-auth-panel a:not(.cc-account-edit-submit) { color: var(--cc-clay); }.cc-auth-panel > div.flex { flex-wrap: wrap; gap: 8px; }.cc-auth-panel hr { border-color: var(--cc-line); }.cc-auth-panel .cc-account-edit-form > button { justify-self: start; }.cc-auth-panel .cc-account-edit-form > div { min-width: 0; }.cc-auth-panel .cc-account-edit-form label { color: var(--cc-ink); }.cc-auth-panel .cc-account-edit-form .cc-account-edit-errors { color: var(--cc-clay); }
.cc-auth-panel .cc-account-edit-form ul { padding-left: 20px; font-size: 14px; line-height: 24px; }.cc-auth-panel .cc-account-edit-form ul > li { color: var(--cc-clay); background: transparent; text-align: left; }.cc-auth-panel .cc-account-edit-form a { text-underline-offset: 4px; }.cc-auth-panel .cc-account-edit-form input[type=checkbox] { width: 18px; height: 18px; }.cc-auth-panel .cc-account-edit-form input:autofill { color: var(--cc-ink); }
@media (max-width: 480px) { .cc-auth-title { font-size: 30px; line-height: 36px; }.cc-auth-panel > div.flex { justify-content: flex-start; } }
.cc-auth-links { display: flex; margin-top: 24px; align-items: center; gap: 12px; color: var(--cc-muted); font-size: 14px; line-height: 24px; }.cc-auth-panel a:has(img[alt="Google Logo"]) { padding: 12px 24px; border: 1px solid var(--cc-line); border-radius: 999px; background: var(--cc-cream); color: var(--cc-ink); box-shadow: none; }.cc-auth-panel a:has(img[alt="Google Logo"]):hover { background: #f8edd0; }
.cc-social-redirect-body { min-height: 100vh; margin: 0; background: var(--cc-cream); }.cc-social-redirect-body #redirect { display: grid; min-height: 100vh; padding: 32px 24px; align-items: center; }.cc-social-redirect-body .cc-account-edit-wrap { width: min(560px, 100%); }.cc-social-redirect-body .cc-auth-panel { margin: 0; padding: 40px; text-align: center; }.cc-social-redirect-body .cc-social-redirect-description { margin: 0 auto 24px; max-width: 360px; text-align: center; }.cc-social-redirect-body .cc-social-redirect-action { margin: 0; text-align: center; }.cc-social-redirect-action .cc-account-edit-submit { gap: 24px; color: var(--cc-paper); text-decoration: none; }
@media (max-width: 480px) { .cc-social-redirect-body .cc-auth-panel { padding: 24px; } }
/* Reading pages and legal content: preserve published text and destinations. */
.cc-legal-home { padding: 32px 24px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }.cc-legal-home > .cc-pricing-back { display: block; width: min(900px, 100%); margin: 0 auto 24px; }.cc-legal-document { width: 100%; color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }.cc-legal-paper { width: min(900px, 100%); margin: auto; padding: 40px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }.cc-legal-document h1 { margin: 0 0 24px; padding: 0 0 24px; border-color: var(--cc-line); color: var(--cc-ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -1px; }.cc-legal-document h2 { margin: 32px 0 12px; color: var(--cc-ink); font-size: 24px; line-height: 32px; font-weight: 600; }.cc-legal-document h3 { color: var(--cc-ink); font-size: 18px; line-height: 28px; }.cc-legal-document p, .cc-legal-document li, .cc-legal-document span, .cc-legal-document div { color: var(--cc-muted); font-size: 14px; line-height: 26px; }.cc-legal-document strong { color: var(--cc-ink); }.cc-legal-document a { color: var(--cc-clay); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }.cc-legal-document a:focus-visible { outline: 2px solid var(--cc-clay); outline-offset: 4px; }.cc-legal-document table { width: 100%; color: var(--cc-ink); font-size: 14px; line-height: 24px; }.cc-legal-document td, .cc-legal-document th { padding: 12px; border: 1px solid var(--cc-line); color: var(--cc-ink); background: transparent; }.cc-legal-document th { background: #f8edd0; }.cc-legal-document img { max-width: 100%; height: auto; }
.cc-blog-home { padding: 32px 24px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }.cc-blog-heading, .cc-blog-wrap { width: min(1180px, 100%); margin: auto; }.cc-blog-heading { margin-bottom: 32px; }.cc-blog-title { margin: 32px 0 16px; color: var(--cc-ink); font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -3px; }.cc-blog-heading > p { margin: 0; color: var(--cc-muted); font-size: 18px; line-height: 28px; }.cc-blog-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; margin: 0; padding: 0; gap: 24px; list-style: none; }.cc-blog-card { min-width: 0; border: 1px solid #372b2414; border-radius: 28px; background: var(--cc-paper); }.cc-blog-card:nth-child(3n+1) { background: #ebc5b4; }.cc-blog-card:nth-child(3n+2) { background: #d8dfc4; }.cc-blog-card:nth-child(3n) { background: #f8edd0; }.cc-blog-card-link { display: flex; height: 100%; padding: 32px; flex-direction: column; gap: 16px; color: var(--cc-ink); text-decoration: none; }.cc-blog-card-link strong { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.5px; }.cc-blog-card-link p { margin: 0; color: var(--cc-muted); font-size: 14px; line-height: 24px; }.cc-blog-card-link:hover { color: var(--cc-clay); }.cc-blog-card-link:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; border-radius: 28px; }.cc-blog-list-body > p { padding: 40px; border: 1px solid var(--cc-line); border-radius: 28px; background: var(--cc-paper); color: var(--cc-muted); }
.cc-blog-detail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }.cc-blog-main, .cc-blog-aside { min-width: 0; }.cc-blog-article { padding: 40px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }.cc-blog-article > h1 { margin: 0 0 16px; color: var(--cc-ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -1px; }.cc-blog-article > div { color: var(--cc-muted); }.cc-blog-prose { color: var(--cc-muted); font-size: 16px; line-height: 28px; overflow-wrap: anywhere; }.cc-blog-prose h1, .cc-blog-prose h2, .cc-blog-prose h3, .cc-blog-prose strong { color: var(--cc-ink); }.cc-blog-prose h2 { margin: 32px 0 16px; font-size: 24px; line-height: 32px; font-weight: 600; }.cc-blog-prose h3 { margin: 24px 0 12px; font-size: 20px; line-height: 28px; font-weight: 600; }.cc-blog-prose p, .cc-blog-prose ul, .cc-blog-prose ol { margin: 16px 0; }.cc-blog-prose ul, .cc-blog-prose ol { padding-left: 24px; }.cc-blog-prose ul { list-style: disc; }.cc-blog-prose ol { list-style: decimal; }.cc-blog-prose a { color: var(--cc-clay); text-decoration: underline; }.cc-blog-prose img, .cc-blog-prose video { max-width: 100%; height: auto; border-radius: 16px; }.cc-blog-prose blockquote { margin: 24px 0; padding: 24px; border: 1px solid var(--cc-line); border-radius: 20px; background: #f8edd0; }.cc-blog-prose table { display: block; max-width: 100%; overflow-x: auto; }.cc-blog-prose td, .cc-blog-prose th { padding: 12px; border: 1px solid var(--cc-line); }.cc-blog-top-posts { padding: 24px; border: 1px solid #372b2414; border-radius: 28px; background: #ead4ba; }.cc-blog-top-posts h3 { color: var(--cc-ink); font-size: 24px; line-height: 32px; }.cc-blog-related { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }.cc-blog-related-card { padding: 20px; border: 1px solid var(--cc-line); border-radius: 20px; background: var(--cc-paper); }.cc-blog-related-card a { color: var(--cc-ink); }.cc-blog-related-card p { color: var(--cc-muted); }.cc-blog-cta { display: grid; margin-top: 32px; padding: 24px; gap: 24px; border: 1px solid #372b2414; border-radius: 24px; background: #f8edd0; }.cc-blog-cta p { color: var(--cc-muted); font-size: 14px; line-height: 24px; }.cc-blog-cta .cc-account-edit-submit { color: var(--cc-paper); text-decoration: none; }
@media (max-width: 960px) { .cc-blog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }.cc-blog-detail-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cc-blog-home, .cc-legal-home { padding: 24px 16px 40px; }.cc-legal-paper, .cc-blog-article { padding: 24px; border-radius: 28px; }.cc-legal-document h1, .cc-blog-article > h1 { font-size: 30px; line-height: 36px; }.cc-blog-title { font-size: 36px; line-height: 40px; letter-spacing: -1px; }.cc-blog-cards { grid-template-columns: 1fr; }.cc-blog-card-link { padding: 24px; } }
.cc-blog-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }.cc-blog-cta > div { display: flex; min-width: 0; height: 100%; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; }.cc-blog-cta > div:last-child { align-items: flex-end; }.cc-blog-cta > div > p { margin: 0; }.cc-blog-cta .cc-account-edit-submit { margin-top: auto; text-align: center; }
@media (max-width: 640px) { .cc-blog-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 16px; }.cc-blog-cta > div:last-child { align-items: stretch; text-align: left; }.cc-blog-cta > div { align-items: stretch; }.cc-blog-cta .cc-account-edit-submit { width: 100%; padding: 12px; font-size: 12px; line-height: 20px; }.cc-blog-cta p { font-size: 12px; line-height: 20px; } }
/* Support, installation and missing-page screens. */
.cc-utility-home { padding: 32px 24px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }.cc-utility-wrap { width: min(980px, 100%); margin: auto; }.cc-utility-heading { margin: 32px 0; }.cc-utility-title { margin: 0 0 16px; color: var(--cc-ink); font-size: 44px; line-height: 50px; letter-spacing: -2px; font-weight: 700; }.cc-utility-heading > p { max-width: 760px; margin: 0; color: var(--cc-muted); font-size: 16px; line-height: 28px; }.cc-utility-message { width: min(640px, 100%); margin: 32px auto; padding: 48px 32px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); text-align: center; }.cc-utility-message h1 { margin: 0 0 24px; color: var(--cc-ink); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -1px; }.cc-utility-description { display: block; margin: 0 0 32px; padding: 0; color: var(--cc-muted); font-size: 16px; line-height: 28px; }
.cc-support-resources { display: grid; gap: 16px; }.cc-support-resource { padding: 24px; border: 1px solid var(--cc-line); border-radius: 24px; background: var(--cc-paper); }.cc-support-resource-name { margin: 0; color: var(--cc-ink); font-size: 18px; line-height: 28px; font-weight: 600; }.cc-support-resource-contact { margin: 8px 0; color: var(--cc-clay); font-size: 24px; line-height: 32px; font-weight: 600; overflow-wrap: anywhere; user-select: all; }.cc-support-resource > p:last-child:not(.cc-support-resource-contact), .cc-support-resources > p { color: var(--cc-muted); font-size: 14px; line-height: 24px; }.cc-support-resources > p a { color: var(--cc-clay); }.cc-support-note { margin-top: 24px; padding: 32px; border: 1px solid #372b2414; border-radius: 28px; background: #f8edd0; color: var(--cc-muted); font-size: 14px; line-height: 26px; }.cc-support-note p { margin: 16px 0 0; color: var(--cc-muted); }.cc-support-note-title { margin: 0; color: var(--cc-ink); font-size: 24px; line-height: 32px; font-weight: 600; }.cc-utility-actions { display: flex; flex-wrap: wrap; margin-top: 32px; gap: 16px; }.cc-utility-secondary { display: inline-flex; min-height: 48px; padding: 12px 24px; align-items: center; justify-content: center; border: 1px solid var(--cc-clay); border-radius: 999px; color: var(--cc-clay); font-size: 14px; line-height: 24px; font-weight: 600; }.cc-utility-secondary:hover { background: var(--cc-paper); }.cc-utility-secondary:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }.cc-install-card { min-width: 0; padding: 32px; border: 1px solid #372b2414; border-radius: 32px; color: var(--cc-muted); font-size: 14px; line-height: 26px; }.cc-install-ios { background: #ebc5b4; }.cc-install-android { background: #d8dfc4; }.cc-install-card h2 { margin: 0 0 24px; color: var(--cc-ink); font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }.cc-install-card ol, .cc-install-card > div { color: var(--cc-muted); }.cc-install-card span { color: var(--cc-ink); }.cc-install-card li { margin-top: 16px; }.cc-install-card #pwa-install-btn:not(.hidden) { display: inline-flex; gap: 12px; }.cc-install-card #pwa-install-btn.hidden { display: none; }
@media (max-width: 800px) { .cc-install-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cc-utility-home { padding: 24px 16px 40px; }.cc-utility-title { font-size: 30px; line-height: 36px; letter-spacing: -1px; }.cc-install-card, .cc-support-note, .cc-utility-message { padding: 24px; border-radius: 28px; }.cc-install-card h2 { font-size: 24px; line-height: 32px; }.cc-utility-actions > a { width: 100%; } }
.cc-install-status:not([hidden]) { margin: 16px 0 0; padding: 16px; border: 1px solid var(--cc-line); border-radius: 16px; background: var(--cc-paper); color: var(--cc-muted); font-size: 14px; line-height: 24px; }
/* Approved Library directory: category sidebar and paginated arched cards. */
.cc-library-directory { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }.cc-library-directory > .cc-library-section-heading { grid-column: 1 / -1; margin-bottom: 0; }.cc-library-directory > .cc-library-tools { position: sticky; top: 24px; display: flex; grid-column: 1; grid-row: 2; margin: 0; padding: 20px 16px; flex-direction: column; align-items: stretch; gap: 24px; border: 1px solid var(--cc-line); border-radius: 24px; background: #ead4ba; }.cc-library-directory .cc-library-filters { flex-direction: column; }.cc-library-directory .cc-library-filters button { text-align: left; }.cc-library-directory .cc-library-search { width: 100%; }.cc-library-directory-results { grid-column: 2; grid-row: 2; min-width: 0; }.cc-library-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }.cc-library-directory-grid .cc-library-card { width: auto; min-width: 0; border-radius: 160px 160px 22px 22px; }.cc-library-directory-grid .cc-library-card-art { padding: 0; }.cc-library-directory-grid .cc-library-thumbnail { height: 170px; aspect-ratio: auto; border-radius: 0; }.cc-library-directory-grid .cc-library-card-copy { min-height: 230px; padding: 18px; }.cc-library-directory-grid:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }.cc-library-pagination { display: flex; margin-top: 28px; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; color: var(--cc-muted); font-size: 14px; line-height: 24px; }.cc-library-pagination button { min-height: 44px; padding: 10px 20px; border: 1px solid var(--cc-clay); border-radius: 999px; background: var(--cc-paper); color: var(--cc-clay); font: 600 14px/24px Manrope, sans-serif; cursor: pointer; }.cc-library-pagination button:hover:not(:disabled) { background: #f8edd0; }.cc-library-pagination button:disabled { opacity: .4; cursor: default; }.cc-library-pagination button:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
@media (max-width: 1000px) { .cc-library-directory { grid-template-columns: 160px minmax(0, 1fr); }.cc-library-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cc-library-directory { display: block; }.cc-library-directory > .cc-library-tools { position: static; margin: 24px 0; }.cc-library-directory .cc-library-filters { flex-direction: row; }.cc-library-directory-grid { gap: 16px; }.cc-library-directory-grid .cc-library-thumbnail { height: 150px; }.cc-library-directory-grid .cc-library-card-copy { padding: 16px; }.cc-library-directory-grid .cc-library-card h3 { font-size: 15px; line-height: 22px; } }
/* Enterprise request: retain the existing fields and submission flow. */
.cc-enterprise-home { padding: 28px 48px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }
.cc-enterprise-home *, .cc-enterprise-home *::before, .cc-enterprise-home *::after { box-sizing: border-box; }
.cc-enterprise-wrap { width: min(1180px, 100%); margin: 0 auto; }
.cc-enterprise-heading { margin: 24px 0 32px; }.cc-enterprise-heading h1 { margin: 0; color: var(--cc-ink); font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -3px; }.cc-enterprise-heading > p { margin: 16px 0 0; color: var(--cc-muted); font-size: 18px; line-height: 28px; }
.cc-enterprise-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.cc-enterprise-intro { padding: 40px 32px; border: 1px solid #372b2414; border-radius: 32px; background: #ead4ba; }.cc-enterprise-characters { display: flex; min-height: 144px; margin: 8px 0 32px; align-items: flex-end; justify-content: center; gap: 16px; }.cc-enterprise-characters .cc-pricing-character { flex: 0 0 auto; margin: 0; }.cc-enterprise-characters .cc-pricing-character:nth-child(1) { transform: rotate(-8deg); }.cc-enterprise-characters .cc-pricing-character:nth-child(2) { align-self: center; }.cc-enterprise-characters .cc-pricing-character:nth-child(3) { transform: rotate(8deg); }
.cc-enterprise-intro h2 { margin: 0; color: var(--cc-ink); font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }.cc-enterprise-intro > p { margin: 16px 0 24px; color: var(--cc-muted); font-size: 16px; line-height: 26px; }.cc-enterprise-intro ul { display: grid; margin: 0; padding: 0; gap: 16px; list-style: none; font-size: 14px; line-height: 24px; }.cc-enterprise-intro li { display: flex; gap: 12px; }.cc-enterprise-intro li span { color: var(--cc-clay); }.cc-enterprise-next { margin-top: 32px; padding: 24px; border: 1px solid #372b2414; border-radius: 24px; background: #fffcf470; font-size: 14px; line-height: 24px; }.cc-enterprise-next p { margin: 8px 0 0; color: var(--cc-muted); }
.cc-enterprise-panel { min-width: 0; padding: 32px; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }.cc-enterprise-panel > h2 { margin: 0; color: var(--cc-ink); font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }.cc-enterprise-panel > p { margin: 12px 0 24px; color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-enterprise-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }.cc-enterprise-form > div { min-width: 0; }.cc-enterprise-form > div:nth-of-type(1), .cc-enterprise-form > div:nth-of-type(3), .cc-enterprise-form > div:nth-of-type(6), .cc-enterprise-form > div:nth-of-type(7), .cc-enterprise-form > div:last-child { grid-column: 1 / -1; }.cc-enterprise-form label { display: block; color: var(--cc-ink); font-size: 14px; line-height: 20px; font-weight: 600; }.cc-enterprise-form input, .cc-enterprise-form select { width: 100%; min-height: 48px; margin: 8px 0 0; padding: 12px 16px; border: 1px solid var(--cc-line); border-radius: 16px; outline: none; background: var(--cc-cream); color: var(--cc-ink); font: 400 14px/24px Manrope, sans-serif; }.cc-enterprise-form input::placeholder { color: var(--cc-muted); opacity: .8; }.cc-enterprise-form input:focus, .cc-enterprise-form select:focus { outline: 2px solid var(--cc-clay); outline-offset: 2px; box-shadow: none; }.cc-enterprise-form small { display: block; margin-top: 8px; color: var(--cc-muted); font-size: 12px; line-height: 20px; }.cc-enterprise-form button { width: 100%; min-height: 48px; padding: 12px 24px; border: 1px solid var(--cc-clay); border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font: 600 14px/24px Manrope, sans-serif; cursor: pointer; }.cc-enterprise-form button:hover { background: var(--cc-clay-dark); }.cc-enterprise-form button:active { transform: translateY(1px); }.cc-enterprise-form button:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-enterprise-form select { appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23784332' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
@supports (appearance: base-select) {
    .cc-enterprise-form select, .cc-enterprise-form select::picker(select) { appearance: base-select; }
    .cc-enterprise-form select { padding-right: 16px; background-image: none; align-items: center; gap: 16px; }
    .cc-enterprise-form select::picker-icon { margin-left: auto; color: var(--cc-clay); }
    .cc-enterprise-form select::picker(select) { margin-top: 8px; padding: 8px; border: 1px solid var(--cc-line); border-radius: 16px; background: var(--cc-paper); color: var(--cc-ink); box-shadow: 0 12px 32px #372b2414; font: 400 14px/24px Manrope, sans-serif; }
    .cc-enterprise-form option { min-height: 40px; padding: 8px 12px; gap: 12px; border-radius: 12px; cursor: pointer; }
    .cc-enterprise-form option:hover, .cc-enterprise-form option:focus { background: #f8edd0; color: var(--cc-ink); outline: none; }
    .cc-enterprise-form option:checked { background: #ebc5b4; color: var(--cc-ink); }
    .cc-enterprise-form option:disabled { color: var(--cc-muted); background: transparent; cursor: default; }
    .cc-enterprise-form option::checkmark { color: var(--cc-clay); }
}
@media (max-width: 960px) { .cc-enterprise-home { padding: 24px 24px 48px; }.cc-enterprise-layout { grid-template-columns: 1fr; }.cc-enterprise-characters { justify-content: flex-start; }.cc-enterprise-intro { padding: 32px; } }
@media (max-width: 480px) { .cc-enterprise-home { padding: 24px 16px 40px; }.cc-enterprise-heading h1 { font-size: 36px; line-height: 40px; letter-spacing: -1.5px; }.cc-enterprise-heading > p { font-size: 16px; line-height: 24px; }.cc-enterprise-panel, .cc-enterprise-intro { padding: 24px; border-radius: 28px; }.cc-enterprise-form { grid-template-columns: 1fr; }.cc-enterprise-form > div { grid-column: 1 / -1; }.cc-enterprise-characters { gap: 12px; }.cc-enterprise-intro h2, .cc-enterprise-panel > h2 { font-size: 24px; line-height: 32px; } }
.cc-payment-home { padding: 28px 48px 64px; background: var(--cc-cream); color: var(--cc-ink); font-family: Manrope, sans-serif; text-align: left; }
.cc-payment-home *, .cc-payment-home *::before, .cc-payment-home *::after { box-sizing: border-box; }
.cc-payment-wrap { width: min(980px, 100%); margin: 0 auto; }
.cc-payment-heading { margin: 8px 0 32px; }.cc-payment-heading h1 { margin: 0; color: var(--cc-ink); font-size: 44px; line-height: 50px; font-weight: 700; letter-spacing: -2px; overflow-wrap: anywhere; }.cc-payment-heading p { margin: 16px 0 0; color: var(--cc-muted); font-size: 16px; line-height: 26px; }
.cc-payment-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.cc-payment-summary { min-width: 0; padding: 32px 28px 28px; border: 1px solid #372b2414; border-radius: 160px 160px 28px 28px; background: var(--cc-plan-surface, #ebc5b4); text-align: center; }
.cc-payment-summary-top { display: flex; min-height: 92px; margin-bottom: 8px; flex-direction: column-reverse; align-items: center; gap: 24px; }.cc-payment-summary-top .cc-pricing-eyebrow { margin: 0; font-size: 11px; }.cc-payment-summary-top .cc-pricing-character { margin: 0; }
.cc-payment-summary h2 { margin: 0; color: var(--cc-ink); font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }.cc-payment-summary > p { margin: 12px 0 0; color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-payment-price { margin: 24px 0; }.cc-payment-price > span { display: block; margin-bottom: 8px; color: var(--cc-muted); font-size: 12px; line-height: 20px; }.cc-payment-price > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px; }.cc-payment-price strong { font-size: 40px; line-height: 46px; font-weight: 700; letter-spacing: -2px; }.cc-payment-price > div > span { color: var(--cc-muted); font-size: 14px; }
.cc-payment-features { display: grid; margin: 0; padding: 24px 0 0; gap: 14px; border-top: 1px solid #372b2420; list-style: none; font-size: 14px; line-height: 22px; }.cc-payment-features li { display: flex; gap: 10px; align-items: flex-start; }.cc-payment-features li > span:first-child { flex: 0 0 auto; color: var(--cc-clay); }
.cc-payment-gift-facts { display: grid; margin: 0 0 24px; gap: 10px; }.cc-payment-gift-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: 13px; line-height: 22px; }.cc-payment-gift-facts dt { color: var(--cc-muted); }.cc-payment-gift-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cc-payment-panel { display: flex; min-width: 0; padding: 36px; flex-direction: column; align-items: flex-start; border: 1px solid var(--cc-line); border-radius: 32px; background: var(--cc-paper); }.cc-payment-panel > .cc-pricing-eyebrow { margin-bottom: 14px; font-size: 11px; }.cc-payment-panel h2 { margin: 0; color: var(--cc-ink); font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -1px; }.cc-payment-panel > p { margin: 16px 0 0; color: var(--cc-muted); font-size: 14px; line-height: 24px; }
.cc-payment-notice { width: 100%; margin-top: 24px; padding: 18px; border: 1px solid #d7c69b; border-radius: 18px; background: #f8edd0; color: var(--cc-ink); font-size: 13px; line-height: 22px; }
.cc-payment-submit { display: flex; width: 100%; min-height: 48px; margin-top: 28px; padding: 12px 18px; align-items: center; justify-content: center; gap: 16px; border: 1px solid var(--cc-clay); border-radius: 999px; background: var(--cc-clay); color: var(--cc-paper); font: 600 14px/22px Manrope, sans-serif; cursor: pointer; }.cc-payment-submit:hover { background: var(--cc-clay-dark); }.cc-payment-submit:focus-visible { outline: 3px solid var(--cc-clay); outline-offset: 4px; }
.cc-payment-panel > .cc-payment-provider { width: 100%; margin-top: 12px; font-size: 12px; line-height: 20px; text-align: center; }
@media (max-width: 800px) { .cc-payment-home { padding: 24px 24px 48px; }.cc-payment-summary, .cc-payment-panel { padding: 28px; } }
@media (max-width: 640px) { .cc-payment-layout { grid-template-columns: 1fr; }.cc-payment-heading h1 { font-size: 36px; line-height: 40px; letter-spacing: -1.5px; }.cc-payment-summary-top { min-height: 80px; } }
@media (max-width: 480px) { .cc-payment-home { padding: 24px 16px 40px; }.cc-payment-heading p { font-size: 14px; line-height: 24px; }.cc-payment-heading { margin-bottom: 24px; }.cc-payment-summary, .cc-payment-panel { padding: 24px; }.cc-payment-panel { border-radius: 28px; }.cc-payment-panel h2 { font-size: 28px; line-height: 34px; } }
