/* Shared editorial surfaces for library, asset workspaces and utility pages. */
:root{color-scheme:dark;--mdc-ink:#f0e8e4;--mdc-blush:#e7c4d6;--mdc-purple:#e7c4d6;--surface:#151219;--panel:#211c25;--edge:#ffffff29;--quiet:#bdb2bd}
body{background:var(--surface);color:var(--mdc-ink)}
:focus-visible{outline:2px solid #e7c4d6;outline-offset:5px}
button,input,select,textarea{color:inherit}button{background:#251e29;border-color:var(--edge);border-radius:3px}button:hover{background:#342a38;border-color:#b699b1}input,select,textarea{background:#1d1821;border-color:#65586a;accent-color:#e7c4d6}input::placeholder,textarea::placeholder{color:#bdb2bd}option{background:#211c25;color:#f0e8e4}
body:not(.becoming-page):not([data-section])>header{background:#151219f5;border-color:var(--edge);backdrop-filter:blur(16px)}body:not(.becoming-page):not([data-section])>header .brand{font-size:26px}body:not(.becoming-page):not([data-section])>header nav{gap:22px}body:not(.becoming-page):not([data-section])>header nav a{color:#f0e8e4;font-size:13px;margin-left:0;display:inline-flex;align-items:center;min-height:36px}body:not(.becoming-page):not([data-section])>header nav a:last-child{margin-left:auto;background:#e7c4d6;color:#211824;padding:7px 15px;border-radius:3px}
.side-rail{background:#19151d;border-color:var(--edge)}.side-rail a,.side-rail .marked{color:#e7c4d6}.side-rail button:hover{background:#342a38}
.purple,.section-cta,.campaign-primary,.campaign-contact>a{background:#e7c4d6;color:#211824;border-color:#e7c4d6}.purple:hover,.section-cta:hover,.campaign-primary:hover{background:#f3dbe8;color:#211824}
.muted,.count,.result-note,.rail-card small,.card .label small,.card .label .snapshot-label,.related small,.metrics-panel dt,.asset-subbar p,.caption-mentions small,.theme-ranking>h3 span{color:var(--quiet)}
.compact{background:#19151d;border-bottom:1px solid var(--edge)}.search,.compact .search{background:#211c25;border-color:var(--edge)}.search select,.search button[type=submit]{border-color:var(--edge)}.suggestions{background:#211c25;border-color:var(--edge);box-shadow:0 20px 60px #0008}.suggestions button{background:#2b2330;border-color:var(--edge)}.suggestions small{color:#bdb2bd}.tabs{border-color:var(--edge)}.tabs button{background:transparent;color:#c3b8c4}.tabs .active{color:#f0e8e4}.tabs .active:after{background:#e7c4d6}
.toolbar{padding-top:38px;padding-bottom:30px}.toolbar h2,.collections-intro h1,.asset-heading h1,.detail-bottom h2,.section-heading h2,.carousel-options h2,.theme-rankings>h2,.caption-mentions h2,dialog h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em}.toolbar h2{font-family:Georgia,'Times New Roman',serif;font-size:32px}.toolbar select{background:#211c25;border-color:var(--edge)}
.card,.card .label,.bundle-item-tools{background:transparent;color:#f0e8e4}.card-media,.rail-card>button,.viewer{background:#0e0c10}.card .label{padding-top:15px}.card-actions button,.card-download{background:#211824eb;color:#f0e8e4;border:1px solid #ffffff45;box-shadow:0 2px 12px #0004}.marked{color:#e7c4d6}.badge{background:#151219d9}.rail-card>button{border-radius:3px}.showcase{background:#211c25;border:1px solid var(--edge)}.showcase .rail-card>button{background:#151219}.carousel-options .selected{background:#3a2a3d;border-color:#e7c4d6}.intro-card,.theme-list,.insight-summary>div{background:#211c25;border-color:var(--edge)}.theme-list button{background:transparent;border-color:var(--edge)}
.asset-heading{padding-top:38px;padding-bottom:30px}.asset-heading h1{font-size:clamp(26px,3vw,42px);line-height:1.23}.asset-heading small{color:#d4b0c6}.full-stage{background:#0d0b0f;border-block:1px solid var(--edge);padding-top:32px}.strip button.active{border-color:#e7c4d6}.detail-bottom{gap:36px;padding-top:48px;padding-bottom:60px}.detail-bottom>section,.detail-bottom>.info{min-width:0}.detail-bottom .info{background:#211c25;padding:26px;border:1px solid var(--edge);border-radius:3px}.info textarea,.info select,.info input[type=text]{background:#151219;color:#f0e8e4;border-color:#65586a}.metrics-panel details{border-color:var(--edge)}.content-info a,.detail-bottom a{color:#e7c4d6;text-underline-offset:4px}.asset-subbar button{background:#211c25}.bundle-notes{background:#211c25;color:#f0e8e4;border-color:#65586a}
dialog{background:#211c25;color:#f0e8e4;border-left:1px solid var(--edge)}dialog::backdrop{background:#09070bba;backdrop-filter:blur(6px)}dialog input:not([type=checkbox]),dialog textarea,dialog select{background:#151219;color:#f0e8e4;border-color:#65586a}.close{background:transparent}.bundle-row{background:#2b2330;border-color:var(--edge)}.visual-drop{background:#19151d;border-color:#736079}.visual-drop.dragging{background:#382a3d;border-color:#e7c4d6}.visual-examples button{background:#0e0c10}.download-link{border-color:var(--edge)}#toast{background:#e7c4d6;color:#211824;box-shadow:0 10px 40px #0008}
.bundle-intro{display:grid;grid-template-columns:1fr 1fr;min-height:380px;background:#211c25;margin:30px 36px 36px;border:1px solid var(--edge);overflow:hidden}.bundle-intro>div{padding:clamp(26px,4vw,64px);align-self:center}.bundle-intro small{font-size:10px;letter-spacing:.2em;color:#d4b0c6}.bundle-intro h1{font:400 clamp(36px,4vw,64px)/1.05 Georgia,serif;letter-spacing:-.04em;margin:20px 0}.bundle-intro p{color:#c8bdc9;line-height:1.7;max-width:440px}.bundle-intro img{width:100%;height:100%;max-height:480px;object-fit:cover;object-position:50% 30%;display:block}.bundle-intro button{margin-top:12px}.bundle-grid{padding-top:0}.bundle-card{background:#211c25;border-color:var(--edge);transition:border-color .2s ease,transform .2s ease}.bundle-card:hover{background:#2b2330;border-color:#d4b0c6;transform:translateY(-3px)}.bundle-card h3{font:400 27px Georgia,serif}.bundle-card p{color:#c8bdc9;font-size:13px}.bundle-cover{background:#0e0c10}.bundle-controls{gap:12px}.bundle-grid+.empty{padding-top:10px;color:#c8bdc9;line-height:1.7}
.manifesto figcaption,.manifesto-portrait,.ring-photo,.manifesto-connection{background:#211c25;border-color:var(--edge)}.manifesto figcaption,.ring-entry-grid small,.manifesto-library .storage-guidance{color:#bdb2bd}.manifesto-rings,.manifesto-library figure,.ring-action{border-color:var(--edge)}.ring-number,.ring-diagram span{border-color:#d4b0c6;color:#e7c4d6}.campaign,.campaign-hub{color:#f0e8e4}.campaign-description,.campaign-local,.campaign-progress{color:#bdb2bd}.campaign-kicker{color:#d4b0c6}.campaign figure,.campaign-hub figure{background:#211c25}.campaign #campaign-save,.campaign #campaign-share{color:#f0e8e4}
.mobile-app-nav{background:#19151df5;border-color:var(--edge)}.mobile-app-nav button{color:#bdb2bd}.mobile-app-nav .active{color:#e7c4d6}.mobile-menu-links button,.mobile-menu-links>a{border-color:var(--edge)}
/* Generated text pages share the palette; existing immersive scenes keep their overlays. */
body[data-section]:not(.journal-immersive){background:#151219;color:#f0e8e4}body[data-section]:not(.journal-immersive) a{color:#e7c4d6}body[data-section]:not(.journal-immersive) header,body[data-section]:not(.journal-immersive) footer{background:#19151d;border-color:var(--edge)}body[data-section]:not(.journal-immersive) h1,body[data-section]:not(.journal-immersive) h2{font-family:Georgia,'Times New Roman',serif;font-weight:400}body[data-section]:not(.journal-immersive) .inquiry{background:#211c25;border:1px solid var(--edge)}body[data-section]:not(.journal-immersive) .section-grid img{background:#0e0c10}body[data-section]:not(.journal-immersive) .section-cta{color:#211824}body[data-section] .skip{background:#e7c4d6;color:#211824;z-index:30}
@media(max-width:800px){.mobile-experience{--ink:#f0e8e4;--purple:#e7c4d6;--blush:#34283a}.mobile-experience.phone,.mobile-experience>header,.mobile-experience footer{background:#151219;color:#f0e8e4;border-color:var(--edge)}.mobile-experience .slide,.mobile-experience .portfolio-grid button{background:#0e0c10}.mobile-experience #ring-bar,.mobile-experience #ring-bar button>span{border-color:var(--edge)}.mobile-experience .post-head small,.mobile-experience .moving-highlights small{color:#bdb2bd}.mobile-experience .moving-highlights button,.mobile-experience .moving-highlights button:nth-child(2){background:#2b2330}.mobile-experience .moving-highlights span{color:#e7c4d6}.mobile-experience .portfolio-grid span{background:#211c25;color:#f0e8e4}}
@media(max-width:600px){body:not(.becoming-page):not([data-section])>header .brand{font-size:23px}body:not(.becoming-page):not([data-section])>header nav{flex-wrap:nowrap;gap:20px}body:not(.becoming-page):not([data-section])>header nav a{font-size:12px;flex-shrink:0}.toolbar h2{font-size:29px}.bundle-intro{margin:20px 16px 28px;grid-template-columns:1fr}.bundle-intro img{height:240px;grid-row:1;object-position:50% 25%}.bundle-intro>div{padding:26px}.bundle-intro h1{font-size:40px}.detail-bottom .info{padding:22px}.side-rail{border-color:var(--edge)}}
@media(prefers-reduced-motion:reduce){.bundle-card{transition:none}.bundle-card:hover{transform:none}}
.campaign-chapter figure,.campaign-next{background:#211c25}.campaign-chapter p,.campaign-next>p,.campaign-contact>p,.campaign details,.campaign-source-note,.campaign-hub>p:not(.campaign-kicker),.campaign-grid p{color:#bdb2bd}.campaign-chapter button{color:#f0e8e4;border-color:var(--edge)}.campaign-chapter button[aria-pressed=true],.campaign-grid small{color:#e7c4d6}.campaign-chapter-nav,.campaign-source-note{border-color:var(--edge)}.campaign-progress progress{accent-color:#e7c4d6}
@media(max-width:800px){.mobile-experience #immersive{background:#0e0c10}.mobile-experience .bottom-nav{background:#19151d;border-color:var(--edge)}.mobile-experience .bottom-nav button,.mobile-experience .post-actions a,.mobile-experience .post-caption summary,.mobile-experience #profile>p:not(.eyebrow){color:#bdb2bd}.mobile-experience .bottom-nav .active{color:#e7c4d6}}
