.friend-home{max-width:900px;margin:12px auto 0}.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:20px 12px 24px}.home-welcome h1{font-size:clamp(29px,3.4vw,43px);letter-spacing:-1.4px;line-height:1.4;margin:14px 0 12px}.home-welcome h1 em{font-style:normal;color:#688363}.home-welcome p{font-size:13px;line-height:1.9;color:#81917d;margin:0}.companion{width:170px;flex:0 0 170px;text-align:center;align-self:flex-end}.capy-portrait{width:155px;height:155px;overflow:visible}.companion-note{font-size:10px;color:#8b9d81;display:block;margin-top:-4px;white-space:nowrap}.capy-breathe{transform-origin:90px 150px;animation:capy-breathe 7s ease-in-out infinite}.capy-blink{transform-box:fill-box;transform-origin:center;animation:capy-blink 8s ease-in-out infinite}.companion[data-state=thinking] .capy-breathe{animation:capy-think 2.4s ease-in-out infinite}.companion[data-state=thinking] .companion-note:after{content:'';display:inline-block;width:4px;height:4px;background:#91aa7b;border-radius:50%;margin-left:5px;animation:quiet-pulse 1.3s ease-in-out infinite}@keyframes capy-breathe{0%,100%{transform:translateY(0) scaleY(1)}50%{transform:translateY(-2px) scaleY(1.015)}}@keyframes capy-blink{0%,42%,46%,100%{transform:scaleY(1)}44%{transform:scaleY(.12)}}@keyframes capy-think{0%,100%{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}}@keyframes quiet-pulse{50%{opacity:.35}}
.home-chat-card{padding:22px 25px 13px;border:1px solid #d7e2d0;border-radius:24px;background:#fff;box-shadow:0 15px 44px #38513909;transition:border-color .2s,box-shadow .2s}.home-chat-card:focus-within{border-color:#9cb492;box-shadow:0 12px 35px #3c633512}.home-greeting{display:flex;align-items:center;gap:8px;font-size:12px;color:#6b825f}.home-greeting small{margin-left:auto;font-size:9px;color:#a1ad96}.greeting-spark{color:#8fa17c;font-size:17px}.home-chat-card textarea{border:0;background:transparent;width:100%;resize:vertical;min-height:102px;max-height:250px;padding:15px 0 8px;outline:none;color:#344c2e;font-size:15px;line-height:1.9}.home-chat-card textarea::placeholder{color:#a5b19b}.home-mode-row{display:flex;gap:7px;flex-wrap:wrap;margin:6px 0 17px}.home-mode-row button{border:1px solid #e1e8dc;border-radius:30px;background:#fff;color:#849778;font-size:11px;padding:7px 13px;transition:background .2s,border-color .2s}.home-mode-row button[aria-pressed=true]{background:#edf3e7;border-color:#c6d7b7;color:#496b3e}.home-compose-actions{display:flex;gap:12px;align-items:center}.home-attach{border:0;background:transparent;font-size:12px;color:#708663;padding:9px 0;white-space:nowrap}.home-attach span{font-size:9px;color:#a8b39e;margin-left:5px}.home-compose-tip{font-size:10px;color:#acb69f}.home-compose-actions>.primary{margin-left:auto;padding:10px 18px;min-height:42px}.entry-privacy,.chat-entry-privacy{font-size:10px;line-height:1.85;color:#9aa68d;margin:15px 0 0}.entry-privacy .text-btn,.chat-entry-privacy .text-btn{font-size:10px;padding:0 3px;text-decoration:underline;text-underline-offset:3px;color:#7f976c}.home-chat-card #home-service-state{font-size:9px;color:#a6b098;margin:3px 0 0}.no-risk-entry{text-align:center;margin:20px 0 23px}.sample-entry{border:0;background:transparent;font-size:13px;color:#5d7d4d;font-weight:700}.sample-entry span{font-size:10px;font-weight:400;margin-left:10px;color:#8c9e7c}.no-risk-entry p{font-size:10px;color:#a6b198;margin:5px 0}.first-trust-row{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #dfe7d8;border-bottom:1px solid #dfe7d8;padding:17px 0}.first-trust-row button{display:grid;grid-template-columns:25px 1fr;gap:1px 6px;text-align:left;border:0;background:transparent;padding:0 14px;border-right:1px solid #e1e8da}.first-trust-row button:last-child{border:0}.first-trust-row button>span{grid-row:1/3;font-size:23px;color:#8ea37c}.first-trust-row strong{font-size:11px;color:#657c57;font-weight:650}.first-trust-row small{font-size:9px;color:#a0ad91}.trust-section{margin:62px auto 0;scroll-margin-top:22px;max-width:960px}.trust-section-heading{margin-bottom:24px}.trust-section-heading h2{font-size:25px;line-height:1.5;letter-spacing:-.8px;margin:10px 0}.trust-section-heading>p{font-size:12px;color:#92a081;line-height:1.9;margin:0}.principle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.principle-grid article{border-top:1px solid #d7e1cb;padding:18px 0}.principle-grid b{font-size:11px;letter-spacing:2px;color:#a3b292;font-weight:500}.principle-grid h3{font-size:14px;margin:11px 0 8px}.principle-grid p{font-size:12px;line-height:2;color:#8a997c;margin:0}.full-case{border:1px solid #dce5d2;border-radius:24px;background:#fff;padding:26px 29px}.full-case .example-tabs{gap:22px;flex-wrap:wrap;margin-bottom:22px;row-gap:2px}.full-case .example-tabs button{font-size:12px;min-height:37px}.case-source{padding:18px 20px;background:#f3f6ee;border-radius:15px}.sample-tag{font-size:9px;color:#839c6f;border:1px solid #d2dec5;padding:3px 7px;border-radius:5px}.case-source blockquote{font-size:15px;line-height:1.9;margin:12px 0;color:#3b5732;white-space:pre-line}.case-source .example-intent{font-size:12px}.case-context-options{margin:19px 0 5px;display:flex;gap:7px;flex-wrap:wrap;align-items:center}.case-context-options>span{font-size:10px;color:#8b9c7c;flex-basis:100%;margin-bottom:4px}.case-context-options button{font-size:10px;border:1px solid #dce5d1;background:white;color:#82936e;padding:7px 10px;border-radius:9px}.case-context-options button[aria-pressed=true]{background:#edf3e4;border-color:#bed2aa;color:#587641}.case-analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:23px 0}.case-analysis-grid section{padding:4px 12px 7px 0}.case-analysis-grid section.case-unknown{background:#faf5e9;border:1px solid #ede5d0;padding:15px;border-radius:12px}.case-step{font-size:11px;font-weight:750;color:#6b8556}.case-analysis-grid p,.case-analysis-grid li{font-size:12px;line-height:1.95;color:#7b8d69}.case-analysis-grid ul{padding-left:18px;margin:9px 0}.case-analysis-grid p{margin:9px 0}.case-analysis-grid small{font-size:9px;color:#9dac8b}.full-case .example-result{margin-top:10px}.full-case .example-result p{min-height:0}.case-finish-actions{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin-top:20px}.case-finish-actions button{font-size:11px}.case-method-note{font-size:10px;line-height:1.9;color:#a0af8c;border-top:1px dashed #dde6d2;padding-top:15px;margin-top:20px}.method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.method-grid article{background:#fff;border:1px solid #e2e8db;border-radius:17px;padding:22px}.method-kind{font-size:9px;color:#9da98e}.method-grid h3{font-size:14px;line-height:1.7;margin:11px 0}.method-grid p{font-size:11px;line-height:2;color:#8b997b}.method-grid a,.method-grid button{font-size:10px;color:#738c5d;text-decoration:underline;text-underline-offset:3px;line-height:1.8}.source-boundary{font-size:10px;color:#a2ae92;line-height:1.9;margin-top:17px}.transparency-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}.transparency-grid article{border-top:1px solid #dbe4cf;padding-top:20px}.transparency-grid h2{font-size:20px;line-height:1.6;margin:10px 0 17px}.transparency-grid p,.transparency-grid li{font-size:11px;line-height:2;color:#8c9a7d}.transparency-grid ul{padding-left:18px}.transparency-grid details{border-top:1px solid #e3e9db;padding:13px 0;font-size:11px;color:#81926c}.transparency-grid summary{cursor:pointer}.transparency-grid .outline-btn{font-size:11px;margin-top:7px}.trust-nav{gap:16px}.trust-nav button{font-size:10px}.friend-response p{font-size:14px;line-height:2;margin:0 0 12px}.chat-entry-privacy{margin:12px 0 7px}.developer-identity{font-size:11px;color:#7e926b}.case-context-options[hidden],[hidden].developer-identity{display:none!important}
@media(max-width:1100px){.home-welcome h1{font-size:34px}.companion{width:145px;flex-basis:145px}.capy-portrait{width:140px;height:140px}.first-trust-row button{padding:0 9px}.first-trust-row strong{font-size:10px}.first-trust-row small{font-size:8px}.method-grid article{padding:17px}.trust-nav{gap:10px}}
@media(max-width:850px){.friend-home{margin-top:0}.home-welcome{padding:17px 4px 21px}.home-welcome h1{font-size:33px}.home-welcome .label{font-size:10px}.trust-section{margin-top:42px}.trust-section-heading h2{font-size:23px}.full-case{padding:22px}.method-grid{gap:12px}.method-grid h3{font-size:13px}.entry-privacy,.chat-entry-privacy{font-size:11px}.entry-privacy .text-btn,.chat-entry-privacy .text-btn{font-size:11px}.home-compose-actions>.primary{font-size:13px}.home-chat-card #home-service-state{font-size:10px}.chat-entry-privacy{line-height:1.9}.source-boundary{font-size:11px}}
@media(max-width:600px){.home-welcome{gap:8px;padding:5px 2px 17px;align-items:flex-start}.home-welcome h1{font-size:27px;letter-spacing:-1px;line-height:1.5;margin:10px 0}.home-welcome p{font-size:11px;line-height:1.9}.companion{width:80px;flex-basis:80px;margin-top:26px;align-self:center}.capy-portrait{width:88px;height:100px;max-width:100%}.companion-note{font-size:8px;white-space:normal;line-height:1.5;margin-top:-5px}.home-welcome .label{font-size:9px;letter-spacing:1px}.home-chat-card{padding:16px 15px 12px;border-radius:20px}.home-greeting{font-size:11px;gap:6px}.home-greeting small{font-size:8px}.home-chat-card textarea{font-size:16px;min-height:100px;padding:13px 0 6px}.home-mode-row{gap:5px;margin:5px 0 13px}.home-mode-row button{font-size:10px;padding:7px 10px}.home-compose-actions{gap:8px;flex-wrap:wrap}.home-compose-tip{display:none}.home-attach{font-size:11px}.home-compose-actions>.primary{min-height:39px;padding:9px 13px;font-size:12px}.entry-privacy{font-size:10px;line-height:1.9;margin-top:12px}.entry-privacy .text-btn{font-size:10px}.home-chat-card #home-service-state{font-size:9px;line-height:1.8}.no-risk-entry{margin:17px 0}.sample-entry{font-size:12px}.sample-entry span{display:block;margin:3px 0 0;font-size:10px}.no-risk-entry p{font-size:9px}.first-trust-row{gap:0;padding:13px 0}.first-trust-row button{padding:0 6px;display:flex;flex-direction:column;text-align:center;align-items:center;gap:3px}.first-trust-row button>span{font-size:20px;line-height:1.1}.first-trust-row strong{font-size:9px;line-height:1.7}.first-trust-row small{font-size:8px}.principle-grid{grid-template-columns:1fr;gap:0}.principle-grid article{padding:16px 0;display:grid;grid-template-columns:30px 1fr;gap:5px 7px}.principle-grid b{grid-row:1/3;padding-top:3px}.principle-grid h3{margin:0;font-size:13px}.principle-grid p{font-size:11px}.trust-section{margin-top:35px;scroll-margin-top:14px}.trust-section-heading{margin-bottom:18px}.trust-section-heading h2{font-size:22px;line-height:1.5;letter-spacing:-.7px}.trust-section-heading .label{font-size:9px;letter-spacing:1px}.trust-section-heading>p{font-size:11px}.full-case{padding:16px;border-radius:19px}.full-case .example-tabs{gap:14px;row-gap:0;margin-bottom:14px}.full-case .example-tabs button{font-size:10px;min-height:34px;padding-bottom:7px}.case-source{padding:14px;border-radius:12px}.case-source blockquote{font-size:13px;line-height:1.9}.case-source .example-intent{font-size:11px}.case-context-options button{font-size:10px;padding:7px 9px}.case-context-options>span{font-size:9px}.case-analysis-grid{grid-template-columns:1fr;gap:8px;margin:18px 0}.case-analysis-grid section{padding:4px 0 8px}.case-analysis-grid p,.case-analysis-grid li{font-size:12px}.case-analysis-grid small{font-size:9px}.case-step{font-size:11px}.case-finish-actions{gap:8px}.case-finish-actions .outline-btn{width:100%;font-size:11px;min-height:41px}.case-finish-actions .text-btn{font-size:10px}.case-method-note{font-size:10px}.method-grid{grid-template-columns:1fr;gap:11px}.method-grid article{padding:18px}.method-grid h3{font-size:14px;margin:8px 0}.method-grid p{font-size:12px}.method-grid a,.method-grid button{font-size:11px}.transparency-grid{grid-template-columns:1fr;gap:23px}.transparency-grid h2{font-size:20px}.transparency-grid p,.transparency-grid li,.transparency-grid details{font-size:12px}.friend-response p{font-size:14px}.chat-entry-privacy{font-size:10px}.chat-entry-privacy .text-btn{font-size:10px}.home-welcome>div:first-child{min-width:0}.companion{position:relative;right:-2px}}
@media(prefers-reduced-motion:reduce){.capy-breathe,.capy-blink,.companion[data-state=thinking] .capy-breathe,.companion-note:after{animation:none!important}.home-chat-card{transition:none}}
.home-chat-card.home-dragging{border-color:#739963;background:#f5f9ef;box-shadow:0 0 0 3px #dfead2}.home-welcome{padding-top:12px;padding-bottom:19px}.home-welcome h1{font-size:clamp(29px,3.2vw,39px);line-height:1.36;margin:11px 0 10px}.home-welcome p{font-size:12px}.no-risk-entry{margin:15px 0 18px}@media(max-width:600px){.home-welcome{padding:5px 2px 17px}.home-welcome h1{font-size:27px;line-height:1.5;margin:10px 0}.home-welcome p{font-size:11px}.no-risk-entry{margin:16px 0}}

/* Keep the first-use promise visible and supporting copy readable. */
@media(min-width:851px){.friend-home{margin-top:0}.home-welcome{padding-top:0;padding-bottom:14px}.home-welcome h1{font-size:35px;line-height:1.3;margin:8px 0}.home-welcome p{line-height:1.65}.companion{width:140px;flex-basis:140px}.capy-portrait{width:130px;height:130px}.home-chat-card{padding:18px 24px 12px}.home-chat-card textarea{min-height:75px;height:75px;padding-top:10px}.home-mode-row{margin:3px 0 12px}.entry-privacy{margin-top:11px}.no-risk-entry{margin:12px 0}.first-trust-row{padding:13px 0}}
.home-welcome p,.companion-note{color:#6e7e64}.home-chat-card textarea::placeholder{color:#84917c}.home-compose-tip,.home-greeting small{color:#829076}.entry-privacy,.chat-entry-privacy{color:#6b7d60}.entry-privacy .text-btn,.chat-entry-privacy .text-btn{color:#577044}.home-chat-card #home-service-state{color:#718365}.no-risk-entry p,.sample-entry span{color:#74866a}.first-trust-row small{color:#7a8b70}.principle-grid p,.trust-section-heading>p,.case-analysis-grid p,.case-analysis-grid li,.method-grid p,.transparency-grid p,.transparency-grid li{color:#687c59}.case-analysis-grid small,.case-method-note,.source-boundary{color:#77896a}

.intent-options{margin:5px 0 0}.intent-options>summary{font-size:11px;color:#6c825e;cursor:pointer;padding:5px 0}.intent-options>summary span{font-size:10px;color:#839374}.intent-options .intent-first{margin-top:8px}.chat-shell:has(#intent-options[open]){height:auto}.chat-shell:has(#intent-options[open]) .chat-messages{flex:none;min-height:220px;height:330px}@media(max-width:600px){.intent-options>summary{font-size:11px}.chat-shell:has(#intent-options[open]) .chat-messages{height:270px}}

@media(max-width:600px){.entry-privacy,.entry-privacy .text-btn{font-size:11px}.home-mode-row button{font-size:11px;min-height:36px}.first-trust-row strong{font-size:10px}.first-trust-row small{font-size:9px}}

.outcome-feedback>summary{cursor:pointer;color:#7a8c6a;font-size:10px;line-height:1.8;list-style:disclosure-closed}.outcome-feedback[open]>summary{margin-bottom:12px;list-style:disclosure-open}.outcome-feedback:not([open]){margin-top:12px;padding-top:9px}.chat-messages,.chat-messages:has(.message){height:clamp(230px,32dvh,370px);min-height:210px}.chat-compose{padding:13px 20px}.chat-compose #chat-input{min-height:60px}.chat-entry-privacy{margin-top:7px;margin-bottom:5px}.intent-options>summary{padding:3px 0}@media(max-width:600px){.chat-messages,.chat-messages:has(.message){height:clamp(250px,33dvh,350px);min-height:230px}.chat-compose{padding:12px}.chat-compose #chat-input{min-height:67px}.outcome-feedback>summary{font-size:11px}}

#home-service-state:empty{display:none}

/* Keep the conversation visible; preferences remain optional. */
.home-resume{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 4px 8px}.home-resume #home-resume-chat{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;min-width:0}.conversation-context{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 20px;background:#fafbf6;border-bottom:1px solid var(--line);font-size:11px;color:#61785d}.conversation-context>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.conversation-context button{font-size:11px}.chat-compose #chat-preferences{margin-top:9px}.chat-compose #chat-preferences>summary{font-size:12px}.chat-compose #chat-preferences .intent-first{margin:12px 0}.chat-compose .purpose-row{margin-bottom:8px}.chat-entry-privacy{display:none}.chat-messages:has(.message){height:clamp(380px,55dvh,640px)}
@media(max-width:600px){.conversation-context{padding:8px 12px;font-size:10px}.conversation-context button{font-size:10px}.chat-messages,.chat-messages:has(.message){height:clamp(320px,43dvh,500px);min-height:300px}.home-resume{gap:6px}.home-resume .text-btn{font-size:11px}.chat-toolbar{flex-wrap:wrap}.chat-toolbar select{flex-basis:100%;max-width:none}.chat-compose #chat-preferences>summary{font-size:11px}.chat-compose #chat-preferences summary #preferences-summary{font-size:10px}}
