/* Bright account assistant accent, distinct from the existing sage navigation. */
.ar-mark{display:inline-grid;place-items:center;background:#5d42b8;color:#fff;width:42px;height:42px;border-radius:14px;font-size:29px;flex-shrink:0}.ar-send{border:0;background:#5d42b8;color:white;border-radius:11px;padding:12px 18px;font-size:14px;font-weight:700;cursor:pointer;min-height:44px}.ar-send:hover{background:#493098}.ar-send:disabled{opacity:.55;cursor:wait}.ar-secondary{border:0;background:transparent;padding:8px 6px;color:#60499a;font-size:12px;cursor:pointer;text-decoration:none}.ar-secondary:hover{text-decoration:underline}.ar-launcher{display:inline-flex;align-items:center;gap:6px;min-height:38px;border:1px solid #cfbfee;border-radius:11px;padding:6px 12px;background:#f0eaff;color:#50338f;font-weight:750;font-size:13px;white-space:nowrap;cursor:pointer;box-shadow:0 2px 6px #5d42b810}.ar-launcher>span:first-child{font-size:23px}.ar-launcher:hover{background:#e7dcff}.ar-dialog{padding:0;width:min(570px,calc(100vw - 28px));max-width:570px;max-height:calc(100dvh - 32px);border:1px solid #cec2ee;border-radius:22px;overflow:auto;color:#302744;box-shadow:0 24px 90px #29204435}.ar-dialog::backdrop{background:#23193945;backdrop-filter:blur(3px)}.ar-heading{display:flex;align-items:center;gap:13px;background:linear-gradient(115deg,#ede7ff,#edf9f5);padding:22px 24px}.ar-heading small{font-size:10px;letter-spacing:1.8px;color:#69528f}.ar-heading h2{margin:4px 0 0;font-size:21px}.ar-close{margin-left:auto;border:0;background:transparent;font-size:27px;width:40px;height:40px;color:#655574;cursor:pointer}.ar-form{padding:20px 24px 16px}.ar-location{margin:0 0 15px;font-size:13px;line-height:1.7;font-weight:650;overflow-wrap:anywhere;color:#573f89}.ar-target{font-size:12px;color:#706779;display:block}.ar-target select{width:100%;margin-top:6px;padding:9px;background:#faf9fd;border:1px solid #dbd4e8;border-radius:9px;min-height:42px}.ar-model{font-size:11px;color:#746a80;line-height:1.6}.ar-form textarea{width:100%;resize:vertical;min-height:135px;border:1px solid #cabee5;border-radius:12px;padding:13px;line-height:1.7;font-size:15px;background:#fff;color:#302744}.ar-form textarea:focus{outline:2px solid #896bcc;outline-offset:2px}.ar-note{font-size:11px;color:#706679;line-height:1.7;margin:10px 0 14px}.ar-error{font-size:12px;color:#a1324e;line-height:1.6}.ar-error:empty{display:none}.ar-form>.ar-send{width:100%}.ar-result{margin:0 24px 16px;padding:15px;background:#eef8f2;border:1px solid #cce3d7;border-radius:12px}.ar-result strong{font-size:14px;color:#2c6550}.ar-result p{font-size:12px;line-height:1.7;margin:8px 0 0}.ar-footer{border-top:1px solid #ebe6f2;margin:0 24px;padding:10px 0 16px;display:flex;flex-wrap:wrap;gap:6px 14px}.ar-footer small{flex-basis:100%;font-size:11px;color:#82788b}.ar-dialog button:focus-visible,.ar-launcher:focus-visible{outline:3px solid #9679d4;outline-offset:2px}
@media(max-width:700px){.ar-launcher{padding:5px 8px;gap:4px;font-size:12px}.ar-heading{padding:18px}.ar-form{padding:16px 18px}.ar-result{margin:0 18px 16px}.ar-footer{margin:0 18px}.ar-dialog{max-height:calc(100dvh - 20px)}}
@media(max-width:850px){.chat-input-active .hub-account{display:flex}.chat-input-active .hub-account>:not(.ar-launcher){display:none}}
@media(max-width:380px){.ar-launcher>span:last-child{font-size:11px}.hub-account{gap:4px}.ar-launcher{padding-inline:6px}}
.ar-dialog{margin:auto}.ar-model{margin:8px 0 12px}
.ar-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:9px 0 4px}.ar-tools .ar-secondary{border:1px solid #e1daed;border-radius:9px;background:#faf9fd;padding:8px 11px;min-height:38px}.ar-tools .ar-secondary:hover{background:#f1ecfa;text-decoration:none}.ar-tools .ar-secondary:disabled{opacity:.55;cursor:wait}.ar-tools input[type=file]{display:none}.ar-status{min-height:0;margin:5px 2px 0;color:#675d78;font-size:11px;line-height:1.6}.ar-status:empty{display:none}.ar-files{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 2px}.ar-file{display:inline-flex;align-items:center;gap:7px;max-width:100%;border:1px solid #ded7ed;border-radius:9px;background:#f8f6fc;padding:5px 7px 5px 10px;font-size:11px;color:#514568}.ar-file>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(300px,65vw)}.ar-file-remove{border:0;border-radius:6px;background:transparent;color:#766b87;cursor:pointer;font-size:17px;line-height:1;padding:2px 4px}.ar-file-remove:hover{background:#eee8f7}
/* A roomy entry into the existing conversation screen. */
.ar-dialog{width:min(1080px,calc(100vw - 32px));max-width:1080px;min-height:min(720px,calc(100dvh - 32px))}.ar-heading{padding:24px 32px}.ar-form{padding:24px 32px}.ar-form textarea{min-height:clamp(220px,36dvh,420px);font-size:17px;line-height:1.85}.ar-model-picker{display:block;font-size:13px;font-weight:700;margin-bottom:16px}.ar-model-picker select{display:block;width:min(100%,460px);padding:12px;margin-top:7px;border:1px solid #cabee5;border-radius:12px;background:#fff;font-size:15px;min-height:46px}.ar-open-chat{width:100%;padding:13px 18px;margin-bottom:12px;border:1px solid #b6a4e0;border-radius:12px;background:#fff;color:#50338f;font-size:16px;font-weight:750;cursor:pointer;min-height:48px}.ar-open-chat:focus-visible,.ar-model-picker select:focus-visible{outline:3px solid #9679d4;outline-offset:2px}.ar-result{margin-inline:32px}.ar-footer{margin-inline:32px}
@media(max-width:700px){.ar-dialog{width:calc(100vw - 16px);min-height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.ar-heading,.ar-form{padding:18px}.ar-heading h2{font-size:19px}.ar-form textarea{min-height:clamp(180px,32dvh,320px);font-size:16px}.ar-result,.ar-footer{margin-inline:18px}.ar-model-picker select{width:100%}}
/* Expand the existing home card in place; no overlay or screen navigation. */
/* Stronger focus, large controls and clear dialogue hierarchy. */
.ar-model-picker select{font-weight:650;border:2px solid #bba3e4}.ar-send{background:linear-gradient(110deg,#6635c7,#4d44c6);box-shadow:0 5px 14px #6239bd25;font-size:15px}.ar-status:not(:empty){padding:9px 12px;background:#e5f3ed;border-radius:10px;color:#295d49;font-weight:600}.news-ai-controls{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.news-scrap-button{min-height:42px;padding:9px 14px;border:1px solid #bdacd8;border-radius:10px;background:#f3edff;color:#503084;font-weight:650;cursor:pointer}.news-scrap-button:disabled{opacity:.65}






/* Home conversation controls and composer. */

/* Blue palette only. Keep existing layout, sizing, typography and chat behavior. */
:root{--ink:#172f50;--muted:#526783;--line:#cdddf2;--blue:#2563eb;--pale:#eaf2ff;--bg:#f3f7ff;--hub-ink:#172f50;--hub-muted:#526783;--hub-green:#2563eb;--hub-line:#cdddf2}
body,.main,body[data-screen=project] .content-panel{background:#f3f7ff}
.topbar{background:#fff;border-bottom-color:#cdddf2}
.hub-home-link{background:#2563eb;color:#fff}
.hub-wordmark,.hub-profile-name,.hub-crumbs,.hub-crumbs .hub-button{color:#234a80}
.hub-icon-button{color:#42648f}.hub-icon-button:hover{background:#eaf2ff}
.hub-avatar,.message-avatar{background:#e0ecff;color:#1d4ed8}
.home-chat-card,.hub-projects,.hub-project-card,.content-card,.content-panel>.content-hero{border-color:#bfd3f2}
.home-chat-heading,.chat-modelbar{background:#f0f6ff;border-bottom-color:#cdddf2}
.home-chat-heading h2,.chat-model-picker,.hub-page-heading h1,.hub-workspace-heading h3,.hub-project-card h3,.content-hero h1{color:#173f78}
.chat-model-picker:hover,.chat-options:hover{background:#dceaff}
.chat-current-title,.chat-options{color:#526783}
.home-chat-heading select{border-color:#bfd3f2;color:#234a80}
.hub-button,.hub-outline-button{background:#e7efff;color:#1d4ed8;border-color:#bfd3f2}
.home-chat-heading .hub-button,.primary,.send-button,.hub-workspaces button.active,.hub-manage-tabs button.active{background:#2563eb;color:#fff;border-color:#2563eb}
.send-button:hover,.primary:hover,.home-chat-heading .hub-button:hover{background:#1d4ed8}
.hub-workspaces button{background:#edf3ff;color:#42648f}.hub-workspaces button.active svg{color:#fff}
.message.user .message-content{background:#e0ecff;color:#173f78}
.message.assistant .message-content{color:#172f50}
.message-actions,.message-head small,.compose-note,.compose-bottom,.voice-note{color:#526783}
.message-actions button{color:#1d4ed8}
#composer{background:#f0f6ff;border-color:#a9c5f0}
#message-input{color:#172f50}#message-input::placeholder{color:#526783}
.composer-tool{background:#dceaff;color:#1d4ed8}
.mic-button:not(.recording):not(.active){color:#1d4ed8}
.home-chat-status{color:#234a80;background:#eaf2ff}
.hub-today{background:linear-gradient(110deg,#e5efff,#f5f9ff);border-color:#bfd3f2}
.hub-today h1,.hub-today h2,.hub-today-event>span{color:#173f78}
.hub-today .eyebrow,.hub-today-event time,.hub-text-button,.hub-general-chat{color:#1d4ed8}
.hub-today-event,.hub-today-plans{border-color:#cdddf2}
.hub-projects-hero{background-color:#e5efff;border-color:#bfd3f2}
.hub-projects-hero h2{color:#173f78}.hub-projects-hero p:last-child,.hub-projects-hero .eyebrow{color:#42648f}
.hub-projects-body,.hub-projects{background:#fff}
.hub-project-icon,.hub-project-card:nth-child(3n+2) .hub-project-icon,.hub-project-card:nth-child(3n) .hub-project-icon{color:#2563eb}
.hub-project-card p,.hub-project-open,.hub-create-project small,.hub-projects-footer,.hub-workspace-heading p{color:#526783}
.hub-create-project{background:#edf3ff;border-color:#a9c5f0;color:#1d4ed8}.hub-add-symbol{color:#2563eb}
.content-filters button.active{background:#e0ecff;color:#1d4ed8}
.ar-launcher{background:#e7efff;color:#1d4ed8;border-color:#a9c5f0}
.ar-launcher:hover{background:#dceaff}.ar-send{background:#2563eb}.ar-send:hover{background:#1d4ed8}
.ar-heading{background:linear-gradient(115deg,#e5efff,#f5f9ff)}.ar-mark{background:#2563eb}
.ar-dialog,.ar-form textarea,.ar-model-picker select{border-color:#bfd3f2}
.ar-heading h2,.ar-location,.ar-secondary{color:#173f78}
.ar-form textarea:focus{outline-color:#2563eb}
button:focus-visible,a:focus-visible,select:focus-visible{outline-color:#2563eb}
/* Keep semantic warning, error, recording and success colors unchanged. */

/* Approved WARM home dashboard; the existing dedicated chat keeps its palette. */
body[data-screen=home]{--ink:var(--warm-ink);--muted:var(--warm-muted);--line:var(--warm-line);--blue:var(--warm-green);--hub-ink:var(--warm-ink);--hub-muted:var(--warm-muted);--hub-line:var(--warm-line);background:#f7f3ea}
body[data-screen=home] .main{background:#f7f3ea}
body[data-screen=home] .topbar{background:var(--warm-surface);border-color:var(--warm-line)}
body[data-screen=home] .ar-launcher{display:none}
body[data-screen=home] .hub-home-link{background:var(--warm-green);color:#fff}
body[data-screen=home] :is(.hub-wordmark,.hub-profile-name,.hub-crumbs,.hub-icon-button){color:var(--warm-ink)}
body[data-screen=home] .hub-avatar{background:#e8e4d8;color:var(--warm-muted)}
.home-chat-launch{display:flex;align-items:center;gap:14px;width:100%;min-height:60px;padding:15px 20px;margin-bottom:22px;border-radius:16px;background:var(--warm-green);color:#fff;text-align:left;font-size:18px;font-weight:650}
.home-chat-launch>svg{width:26px;height:26px;flex-shrink:0}.home-chat-launch>svg:last-child{margin-left:auto;width:21px}
.home-chat-launch:hover{background:var(--warm-hover)}.home-chat-launch:focus-visible{outline:3px solid var(--warm-green);outline-offset:4px}
body[data-screen=home] .home-chat-status{background:#eee9df;color:var(--warm-muted);margin-bottom:12px;border-radius:9px}
body[data-screen=home] .hub-today{background:var(--warm-surface);border-color:var(--warm-line);box-shadow:0 5px 25px #6d5e3b08}
body[data-screen=home] :is(.hub-today h1,.hub-today h2,.hub-today-event>span,.hub-projects-hero h2,.hub-workspace-heading h3,.hub-project-card h3,.hub-destination strong){color:var(--warm-ink)}
body[data-screen=home] .hub-today .eyebrow{color:#886033}
body[data-screen=home] :is(.hub-today-date>p:last-child,.hub-today-list>p,.hub-project-card p,.hub-workspace-heading p,.hub-project-open,.hub-projects-footer,.hub-destination small){color:var(--warm-muted)}
body[data-screen=home] .hub-today-plans{border-color:var(--warm-line)}
body[data-screen=home] .hub-today-event{background:var(--warm-surface);border-color:var(--warm-line)}
body[data-screen=home] .hub-today-event time{color:var(--warm-green);background:#f6e2cd;border-radius:7px;padding:5px}
body[data-screen=home] .hub-today-event:hover{background:var(--warm-sage);border-color:var(--warm-sage-line)}
body[data-screen=home] :is(.hub-text-button,.hub-today-event>svg){color:var(--warm-green)}
body[data-screen=home] :is(.hub-destination,.hub-projects,.hub-project-card){background:var(--warm-surface);border-color:var(--warm-line);box-shadow:0 4px 14px #6d5e3b06}
body[data-screen=home] .hub-destination-icon{background:#ffffff;color:#1769e0}
body[data-screen=home] .hub-destination.family .hub-destination-icon{background:#ffffff;color:#c4490a}
body[data-screen=home] .hub-destination.worship .hub-destination-icon{background:#ffffff;color:#6d3cce}
body[data-screen=home] .hub-destination:hover{border-color:var(--warm-sage-line)}
body[data-screen=home] .hub-projects-hero{background:var(--warm-surface);border-color:var(--warm-line);min-height:0;padding:22px 26px}
body[data-screen=home] .hub-projects-body{background:var(--warm-surface)}
body[data-screen=home] :is(.hub-button,.hub-outline-button){background:var(--warm-sage);color:var(--warm-green);border-color:var(--warm-sage-line)}
body[data-screen=home] .hub-workspaces{border-color:var(--warm-line)}
body[data-screen=home] .hub-workspaces button{background:var(--warm-surface);color:var(--warm-muted)}
body[data-screen=home] .hub-workspaces button.active{background:var(--warm-green);color:#fff;border-color:var(--warm-green)}
body[data-screen=home] :is(.hub-project-icon,.hub-project-card:nth-child(3n+2) .hub-project-icon,.hub-project-card:nth-child(3n) .hub-project-icon){color:var(--warm-green)}
body[data-screen=home] .hub-create-project{background:var(--warm-surface);color:var(--warm-green);border-color:var(--warm-sage-line)}
body[data-screen=home] .hub-add-symbol{color:var(--warm-green)}
body[data-screen=home] .hub-projects-footer{border-color:var(--warm-line)}
.home-chat-history{border-top:1px solid #cdddf2;margin-top:18px;padding-top:16px;display:grid;gap:12px}
.home-chat-history h3{font-size:15px}.home-chat-history select{width:100%;min-height:44px;padding:10px;border:1px solid #bfd3f2;border-radius:9px;background:#fff;font:inherit;color:#173f78}
@media(max-width:650px){.home-chat-launch{font-size:17px;min-height:60px;padding:15px 18px;margin-bottom:18px}body[data-screen=home] .hub-destinations{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-screen=home] .hub-destination{align-items:center;text-align:center;padding:15px 8px;gap:10px}body[data-screen=home] .hub-destination-copy{width:100%}body[data-screen=home] .hub-projects-hero{flex-direction:row;align-items:center;gap:10px;padding:18px 16px}body[data-screen=home] .hub-projects-hero h2{font-size:21px}body[data-screen=home] .hub-outline-button{white-space:normal}}
@media(max-width:360px){body[data-screen=home] .hub-destination strong{font-size:13px}body[data-screen=home] .hub-projects-hero h2{font-size:19px}}
