/* Original Circle palette: warm beige, plum framing and readable parchment. */
:root{--circle-paper:#eee4d6;--circle-card:#f7efe5;--circle-ink:#4e3949;--circle-muted:#725d6b;--circle-plum:#563050;--circle-pink:#ba4c96;--circle-line:#d8c5b7}
body:not(.dark-mode){background:var(--circle-paper)!important;color:var(--circle-ink)}
body:not(.dark-mode) .app{background:transparent}
.topbar,.bottom-nav{background:linear-gradient(110deg,#3c203f,#60345b)!important;border-color:#87517d!important}
.bottom-nav .navbtn{color:#ead7e3!important}.bottom-nav .navbtn.active{color:#fff7ed!important}
body:not(.dark-mode) :is(.card,.space-card,.list-card,.saved-card,.stat-card,.analytics-card){background:var(--circle-card)!important;border-color:var(--circle-line)!important}
.ai-home-guide{background:linear-gradient(115deg,#321932,#683561 70%,#79466c)!important}
#spacesContainer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#spacesContainer .space-card{min-width:0;margin:0;border-radius:22px;padding:22px}
#spacesContainer .space-top{min-height:128px}.space-desc{line-height:1.65!important}
.space-alert-settings{margin-top:12px;border-top:1px solid var(--circle-line);padding-top:10px}
.space-alert-settings summary{cursor:pointer;font-size:12px;font-weight:700;min-height:34px;display:flex;align-items:center}
.space-alert-settings .toggle-row{margin-top:8px}.space-alert-settings .queue-meta{font-size:11px}
.group-room-shell{--room-accent:#a35c89;--room-soft:#eee0e8;--room-deep:#563050}
.room-learning{--room-accent:#87709e;--room-soft:#e9dfef;--room-deep:#5e3a6c}
.room-charts{--room-accent:#6e9288;--room-soft:#e3ebe3;--room-deep:#435f58}
.room-mindset{--room-accent:#b87598;--room-soft:#efdee7;--room-deep:#75465f}
.room-question{--room-accent:#8b7d9d;--room-soft:#e9e0ec;--room-deep:#655272}
.room-red{--room-accent:#b47579;--room-soft:#eddcda;--room-deep:#7e4b57}
.group-room-shell .group-room-topbar{border-top:3px solid var(--room-accent)}
.group-room-shell .group-room-name strong{color:var(--room-deep)}
/* Daily Host uses cream for the reading area in both appearance modes. */
body .daily-host-card,body.dark-mode .daily-host-card{background:var(--circle-card)!important;color:var(--circle-ink)!important;border:1px solid #c7a8bc!important;padding:24px;border-radius:22px}
.daily-host-card:after{display:none}
body .daily-host-card .home-activity-type{background:var(--circle-plum);color:#ffc4e5!important;border-radius:11px;padding:12px 15px;font-size:11px;letter-spacing:.08em}
body .daily-host-card :is(h3,.daily-host-body,.daily-host-status),body.dark-mode .daily-host-card :is(h3,.daily-host-body,.daily-host-status){color:var(--circle-ink)!important;-webkit-text-fill-color:var(--circle-ink)!important}
body .daily-host-card :is(p,.daily-host-date,.daily-host-caption,.daily-host-preview),body.dark-mode .daily-host-card :is(p,.daily-host-date,.daily-host-caption,.daily-host-preview){color:var(--circle-muted)!important;-webkit-text-fill-color:var(--circle-muted)!important}
.daily-host-preview{font-size:15px;line-height:1.75;margin:12px 0}
.daily-host-reading{border:1px solid var(--circle-line);border-radius:13px;background:#f2e5d8;margin:15px 0}
.daily-host-reading summary{cursor:pointer;padding:14px 17px;min-height:46px;font-size:14px;font-weight:700;color:#713b62}
.daily-host-reading .daily-host-body{padding:0 18px 18px;font-size:15px}
body .daily-host-card .home-kendra-actions button{background:#754368!important;border-color:#a57d94!important;color:#fff5ec!important;-webkit-text-fill-color:#fff5ec!important;min-height:44px}
/* Kendra keeps a plum frame; replies and the composer share the cream surface. */
#aiMentorPanel{background:linear-gradient(120deg,#3d213e,#6d3a65)!important;border:1px solid #bd8eaa!important;box-shadow:0 24px 65px #20102055}
#kendraThread65{padding:14px!important;background:#ede0d2!important;border-radius:15px;max-height:38dvh!important}
body #aiMentorPanel .kendra-message65,body.dark-mode #aiMentorPanel .kendra-message65{background:#fff5eb!important;border:1px solid #dec8b8;color:#4e3949!important}
body #aiMentorPanel .kendra-message65 p,body.dark-mode #aiMentorPanel .kendra-message65 p{color:#4e3949!important;-webkit-text-fill-color:#4e3949!important;font-size:14px;line-height:1.75}
body #aiMentorPanel .kendra-message65 strong{color:#8e4272!important;-webkit-text-fill-color:#8e4272!important}
body #aiMentorPanel .kendra-message65.user{background:#e2c8d9!important;border-color:#cfa9c1}
body #aiMentorPanel :is(#mentorInput,.kendra-mode69 select){background:#fff5eb!important;color:#493144!important;-webkit-text-fill-color:#493144!important;border-color:#c5a5ba!important}
body #mentorInput::placeholder{color:#846b7b!important;-webkit-text-fill-color:#846b7b!important}
#aiMentorPanel .ai-mentor-send{background:linear-gradient(110deg,#be4b96,#8c4e8d)!important;color:#fff!important}
#aiMentorPanel :is(.kendra-note65,#kendraStatus65,.ai-quick){color:#f6ddee!important}
/* Local Resources remains visibly light yellow, including in dark mode. */
body :is(.local-entry69,.local-page69),body.dark-mode :is(.local-entry69,.local-page69){background:#fff3c9!important;color:#503b20!important;border-color:#d7bd70!important}
body :is(.local-entry69,.local-page69) :is(h1,h2,h3,p,label,strong,small,span),body.dark-mode :is(.local-entry69,.local-page69) :is(h1,h2,h3,p,label,strong,small,span){color:#503b20!important;-webkit-text-fill-color:#503b20!important}
body .local-page69 :is(.local-result69,.local-followup69,.local-explainer69),body.dark-mode .local-page69 :is(.local-result69,.local-followup69,.local-explainer69){background:#fff9e7!important;color:#503b20!important;border-color:#dcc88d!important}
body .local-page69 :is(input:not([type=checkbox]),select),body.dark-mode .local-page69 :is(input:not([type=checkbox]),select){background:#fffdf2!important;color:#503b20!important;-webkit-text-fill-color:#503b20!important;border-color:#b99c54!important}
body .local-page69 input::placeholder,body.dark-mode .local-page69 input::placeholder{color:#7b6b48!important;-webkit-text-fill-color:#7b6b48!important}
body .local-page69 a,body.dark-mode .local-page69 a{color:#74406b!important;-webkit-text-fill-color:#74406b!important}
body :is(.local-entry69,.local-page69) button,body.dark-mode :is(.local-entry69,.local-page69) button{background:#ecd385!important;color:#503b20!important;-webkit-text-fill-color:#503b20!important;border-color:#b69a50!important}
:is(.daily-host-reading summary,.space-alert-settings summary):focus-visible{outline:3px solid #ad638b;outline-offset:3px;border-radius:8px}
@media(max-width:620px){#spacesContainer{grid-template-columns:1fr}.daily-host-card{padding:19px!important}#spacesContainer .space-top{min-height:0}#spacesContainer .space-card{padding:20px}#kendraThread65{padding:10px!important}}
