
/* Approved concept 2: light content, charcoal navigation, gold accents. Cosmetic only. */
:root{color-scheme:light;--ink:#fafafa;--side:#fff;--panel:#fff;--panel2:#f5f5f3;--card:#fff;--card2:#f5f5f3;--raise:#f0f0ed;--well:#f6f6f3;--card-line:#d8d8d3;--card-hover:#f7f7f3;--modal:#fff;--modal2:#f5f5f3;--field:#fff;--field-line:#74746b;--field-hover:#5f5f56;--ph:#64645c;--gold:#e4b12d;--gold2:#765300;--goldsoft:#fff4d6;--cream:#202020;--text:#242424;--muted:#55554e;--faint:#66665c;--line:#d9c58e;--line2:#deded8;--edge:#d3d3cc;--focus:0 0 0 3px #d4a01755;--green:#257137;--red:#a63228;--display:system-ui,-apple-system,"Segoe UI",sans-serif}
body{font-size:16px;background:#fafafa;color:#242424}body::before{background:#fafafa}
header{background:#111;color:#fff;border-bottom:2px solid #d4a017}
header .brand b{color:#f5ce5c}header .brand small,header .status,header .acct-btn,header .chev{color:#eee}
header .acct-btn{background:#222;border-color:#777}header .hdr-search input{background:#fff;color:#222}
header .mark{background:#111;color:#f5ce5c;border-radius:50%}
header .status.good{color:#bfe3c1}header .status.bad{color:#ffb6a9}
header .acct-menu{color:#222}header .acct-menu .who b{color:#222}
.sidebar{background:#fff}.side-nav a[aria-current=page]{background:#fff2ce;color:#684900}
.card,#profileBody{box-shadow:none;border-radius:8px}
#profileBody{border:0;padding:24px 0;background:transparent}
.profile-bio,.mp-bio,.hn p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;overflow:visible}
.hn>div{background:transparent;border:0;border-top:1px solid #ddd;border-radius:0;padding:18px 0}
.home-band{background:#fff;border:0;border-top:1px solid #ddd;border-bottom:1px solid #ddd;border-radius:0}
.home-copy h1{font-size:clamp(32px,5vw,60px)}
.sec-h h2,h2{font-size:clamp(24px,3vw,32px)}h3{font-size:21px}
.btn.primary{background:#f3bf35;color:#171300}.btn.ghost:hover:not(:disabled){background:#fff3d3;color:#684900}
.btn.danger,.danger-link{color:#a63228!important}
.chip,.pill{color:#383830}.chip.gold,.chip.match{color:#684900;background:#fff2ce}
.extension-dialog{background:#fff;color:#242424;border-color:#b39138}
.extension-card button,.extension-dialog button,.message-controls button,.notif-dismiss-row>button{background:#fff;color:#262626;border-color:#777}
.extension-status{color:#65501c}
.extension-card{background:#fff;border-color:#ddd;border-radius:8px}
.extension-card h3{font-size:21px}.extension-nav{color:#765300}
.profile-sheet{max-width:850px;max-height:none;overflow:visible}
.modal:has(.profile-sheet){overflow-y:auto;align-items:flex-start;padding-block:24px}
.sheet{background:#fff;color:#242424}
textarea:not(#msgrInput){max-height:none!important;overflow-y:hidden!important;resize:vertical}
.btn,.btn.sm,.message-controls button{min-height:44px}
input,select,textarea{font-size:16px}
.notice.good{color:#245b2c;background:#edf8ee}.notice.bad{color:#8d241d;background:#fff1ef}
.bnav{background:#fff;color:#242424}.bnav a{color:#45453d}
@media(max-width:600px){main,body.shell main{padding-inline:16px}.profile-sheet{width:100%}.modal:has(.profile-sheet){padding:12px}.mp-head{flex-wrap:wrap}.mp-act{flex-wrap:wrap}.hn{grid-template-columns:1fr}.card{padding:18px}.btn{white-space:normal}.extension-card{padding:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

.welcome,.hafrica,.room-hero,.rising{background:#fff!important;color:#242424;border:0!important;border-bottom:1px solid #ddd!important;border-radius:8px!important}
.rising .item,.rising .empty,.opp-kv,.meter{background:#f7f7f3!important}
.meter .track{background:#ddd}.room-nav{background:#fafafa}
.msgr,.msgr-thread{background:#fff}.bubble.mine{background:#fff2cf;color:#242424}
.notif-panel{background:#fff}.hn .need h4,.mcard-hn dt.need,.msgr-who small.ok,.cstate.ok,.ostatus.open,.check i{color:#256334}
.badge.warn,.check i.warn{color:#922d23}.chip.match{color:#245d32}
.av,.avatar{background:#fff2cf;color:#684900}
.eyebrow{color:#765300}.room-flag,.rflag{background:#f7f7f3}
.hrow{background:#fff}.mp-bio{line-height:1.7}
header .hdr-search svg{color:#666}

body .extension-dialog{background:#fff;color:#242424;border-color:#b39138}
body .extension-dialog button,body .extension-card button,body .message-controls button,body .notif-dismiss-row>button{background:#fff;color:#242424;border-color:#777}
body .extension-dialog button.primary{background:#f3bf35;color:#171300}
body .extension-status{color:#65501c}

/* October 14 contrast correction: body text >=4.5:1; large headings >=3:1. */
body{--text:#242424;--cream:#202020;--muted:#50504a;--faint:#5d5d55;--ph:#5d5d55;--gold2:#765300}
header .acct-btn .chev{color:#eee}
body .notice{color:#57420e;background:#fff5da}
body .notice.good{color:#245b2c;background:#edf8ee}
body .notice.bad{color:#8d241d;background:#fff1ef}
body .havehead.need i,body .badge.ok{color:#245b2c}
body .welcome-check{background:#fff;color:#242424}
body .development-dialog{background:#fff;color:#242424}
body .development-dialog button{color:#242424;background:#fff;border:1px solid #74746b}
body .development-dialog button.primary{background:#f3bf35;color:#171300}
body.shell .bnav{background:#111;border-color:#777}
body.shell .bnav a,body.shell .bnav button{color:#eee}
body.shell .bnav [aria-current=page],body.shell .bnav button[aria-expanded=true],body.shell .bnav button.on{color:#f5ce5c}
body input::placeholder,body textarea::placeholder{color:#5d5d55;opacity:1}
body :is(input,textarea,select){color:#242424}
body :is(label,.label){color:#242424}
body :is(.btn,.extension-dialog button,.development-dialog button):focus-visible{outline:3px solid #765300;outline-offset:3px}
header :is(button,a):focus-visible,.bnav :is(button,a):focus-visible{outline:3px solid #f5ce5c;outline-offset:3px}

header label{color:#eee}
body #opportunityDetails{background:#fff!important;color:#242424!important}
body #opportunityDetails :is(h2,h3,label){color:#202020}
body #countryOptions{background:#fff}
body #countryOptions [role=option]{color:#242424}
body #countryOptions [role=option].active{background:#fff2ce;outline-color:#765300}

header label.sr-only{color:#eee}
body .switch{background:#fff;color:#242424}
body #cf-q,body #rf-q{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23765300' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E")}

/* Approved header correction: light Sign In on black navigation. */
header #hdrGuest{align-items:center;gap:8px;flex-shrink:0}header #hdrGuest .btn{min-height:44px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}header #hdrGuest .btn.ghost{color:#f7f7f2;background:#202020;border:1px solid #d5ba6c}header #hdrGuest .btn.ghost:hover{color:#fff;background:#333}header #hdrGuest .btn.ghost:focus-visible{outline:3px solid #f5ce5c;outline-offset:3px}@media(max-width:600px){header .hdr-inner{gap:8px}header #hdrGuest .btn{padding-inline:10px;font-size:13px}}

/* Final narrow-phone navigation check: keep Connections tabs within the page. */
@media(max-width:400px){#s-conn .tabs{display:flex;flex-wrap:wrap;max-width:100%}#s-conn .tabs .tab{flex:1 1 110px;min-width:0;white-space:normal}}
