.coach-hero{position:relative;overflow:hidden;background:#243e31;color:#faf9f0;border-radius:26px;padding:32px 36px;margin-bottom:22px;min-height:190px}.coach-hero .eyebrow{color:#c8d8b0;font-size:10px}.coach-hero h1{font:44px/1.12 'DM Serif Display',serif;margin:16px 0 12px}.coach-hero p{color:#dbe3d5;font-size:13px;max-width:450px;line-height:1.7}.coach-orbit{position:absolute;right:38px;top:16px;font-size:160px;line-height:1.2;color:#b8d08938;pointer-events:none}.coach-premium{position:absolute;right:22px;bottom:20px;padding:6px 10px;background:#ffffff12;border:1px solid #ffffff24;border-radius:20px;font-size:10px;color:#e5edda}.coach-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}.coach-chat,.coach-side-panel,.coach-welcome{background:#fffef8;border:1px solid #dfe3d5;border-radius:22px}.coach-chat{min-width:0;overflow:hidden}.coach-chat-top{display:flex;justify-content:space-between;gap:14px;align-items:center;border-bottom:1px solid #e6e8dd;padding:20px 24px;font-size:11px}.coach-dot{display:inline-block;background:#779055;width:7px;height:7px;border-radius:50%;margin-right:8px}.coach-messages{padding:24px;max-height:540px;min-height:280px;overflow-y:auto;overscroll-behavior:contain}.coach-message{max-width:92%;padding:18px 20px;border-radius:18px;margin:0 0 18px;background:#f0f2e8}.coach-message.user{background:#e4eccf;margin-left:auto}.coach-message>span{display:block;font-size:10px;font-weight:600;color:#647359;margin-bottom:9px}.coach-message>div{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.coach-empty{text-align:center;padding:32px 10px;color:#76816d}.coach-empty>span{font-size:46px;color:#8b9e6b}.coach-empty h2{font:29px 'DM Serif Display',serif;color:#243e31}.coach-empty p{font-size:12px;line-height:1.8;max-width:300px;margin:auto}.coach-prompts{display:flex;gap:8px;flex-wrap:wrap;padding:0 24px 20px}.coach-prompt{border:1px solid #dfe3d5;border-radius:16px;background:#fafaf3;padding:10px 13px;color:#41523b;font-size:11px;text-align:left}.coach-composer{border-top:1px solid #e6e8dd;padding:20px 24px 8px}.coach-composer textarea{display:block;border:1px solid #d5ddc7;background:#fffef8;border-radius:14px;padding:14px 16px;width:100%;resize:vertical;min-height:85px;font:13px/1.7 'DM Sans',sans-serif;color:#243e31}.coach-composer>div{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px}.coach-composer small{font-size:9px;color:#77826e}.coach-composer .primary{font-size:12px;min-width:120px}.coach-disclaimer{padding:0 24px 20px;font-size:9px;line-height:1.7;color:#7c8572;margin:0}.coach-aside{display:grid;gap:16px}.coach-side-panel{padding:22px}.coach-side-panel h2{font:23px/1.2 'DM Serif Display',serif;margin:0 0 16px}.coach-side-panel p{font-size:11px;line-height:1.8;color:#6f7c64}.coach-side-panel>label{font-size:11px;display:block}.coach-side-panel select{width:100%;border:1px solid #d5ddc7;border-radius:10px;background:#fffef8;padding:11px;margin:8px 0 18px;color:#243e31}.coach-check,.coach-task{display:flex!important;align-items:flex-start;gap:9px;font-size:11px;line-height:1.7;margin:12px 0}.coach-check input,.coach-task input,.coach-consent input{accent-color:#35533e;flex:none;margin-top:4px;width:15px;height:15px}.coach-task input:checked+span{text-decoration:line-through;color:#87917e}.coach-memory{border-top:1px solid #e6e8dd;padding:11px 0}.coach-memory p{margin:0;overflow-wrap:anywhere}.coach-memory>div{display:flex;gap:16px}.coach-memory .text-btn,.coach-data-controls .text-btn{font-size:10px}.coach-data-controls{margin-top:18px;color:#738267;font-size:11px}.coach-data-controls>button{display:block;margin-top:13px}.coach-proposals{margin:0 24px 20px;background:#f3f6e8;border:1px solid #dce5c7;padding:16px;border-radius:15px}.coach-proposals>div{display:flex;gap:14px;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e7d5;padding:8px 0}.coach-proposals p{font-size:11px;line-height:1.8;overflow-wrap:anywhere;margin:0}.coach-proposals small{display:block;color:#6b7e58;font-size:9px;font-weight:600;letter-spacing:.4px;margin-bottom:4px}.coach-proposals button{flex:none;font-size:10px}.coach-proposals .tiny-note{padding-top:10px}.coach-plan-proposal{flex-wrap:wrap}.coach-thinking{font-size:12px;color:#70805e}.coach-welcome{padding:36px;max-width:760px;margin:0 auto}.coach-welcome h2{font:32px/1.2 'DM Serif Display',serif}.coach-welcome p{font-size:13px;line-height:1.8;color:#708066}.coach-consent{background:#f1f4e9;padding:20px;border-radius:15px;margin:24px 0}.coach-consent label{display:flex;gap:9px;font-size:12px;line-height:1.7}.coach-recipes{margin-top:24px}.coach-recipes>summary{cursor:pointer;padding:18px 22px;border:1px solid #dfe3d5;border-radius:15px;background:#fffef8;color:#395037;font-size:13px}.coach-recipes[open]>summary{margin-bottom:18px}.coach-welcome .tiny-note{font-size:10px}
@media(max-width:1100px){.coach-layout{grid-template-columns:minmax(0,1fr) 245px}.coach-hero{padding:28px}}
@media(max-width:800px){.coach-layout{grid-template-columns:1fr}.coach-aside{grid-template-columns:1fr 1fr}.coach-side-panel:last-child{grid-column:1/-1}.coach-hero h1{font-size:36px}.coach-hero{padding:26px 22px 45px}.coach-premium{right:18px;bottom:14px}.coach-orbit{right:5px;font-size:135px}.coach-hero p{position:relative;max-width:330px}.coach-welcome{padding:24px}.coach-welcome h2{font-size:28px}.coach-messages{padding:18px;max-height:440px}.coach-composer{padding:16px 18px 8px}.coach-prompts{padding:0 18px 18px}.coach-message{max-width:96%;padding:14px}.coach-proposals{margin:0 18px 18px}.coach-disclaimer{padding:0 18px 18px}.coach-chat-top{padding:17px}.coach-composer small{max-width:130px;line-height:1.6}}
@media(max-width:420px){.coach-aside{grid-template-columns:1fr}.coach-hero h1{font-size:32px}.coach-proposals>div{flex-wrap:wrap}.coach-composer .primary{min-width:105px}.coach-chat-top{font-size:10px}.coach-chat-top .text-btn{font-size:10px}}

.coach-chat-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.coach-chat-actions .text-btn{font-size:10px}.coach-messages .coach-proposals{margin:16px 0 0}.coach-messages .coach-prompts{padding:0}.coach-composer{background:#fffef8}
@media(max-width:700px){.coach-chat{display:flex;flex-direction:column;height:calc(100dvh - 95px - env(safe-area-inset-bottom));min-height:360px;scroll-margin-top:10px}.coach-chat-top{flex:none;padding:12px 16px;gap:8px}.coach-chat-top>span{max-width:145px}.coach-chat-actions{gap:2px;flex-direction:column;align-items:flex-end}.coach-chat-actions .text-btn{min-height:30px;padding:2px}.coach-messages{flex:1;min-height:80px;max-height:none;overflow-y:auto;overscroll-behavior:auto}.coach-composer{flex:none;padding:12px 14px 4px}.coach-composer textarea{font-size:16px;min-height:66px;resize:none;max-height:100px}.coach-composer>div{margin-top:8px}.coach-composer .primary{min-height:44px}.coach-disclaimer{flex:none;padding:0 14px 12px;font-size:9px}.coach-composer .error-text:empty{display:none}.coach-composer .error-text{font-size:11px;max-height:65px;overflow:auto}.coach-active:has(#coach-input) .quick-add{display:none}.coach-active:has(#coach-input:focus) .mobile-nav{display:none}.coach-chat:focus-within{scroll-margin-top:0}}

/* Conversation first; occasional controls live behind the header menu. */
.coach-layout{display:block;max-width:920px;margin-inline:auto}
.coach-options{position:relative;flex:none;width:44px;height:44px;min-height:44px;border:1px solid #e6e8dd;border-radius:50%;color:#6f7c64}
.coach-options:hover{background:#f0f2e8;color:#243e31}
.coach-options-dot{position:absolute;right:6px;top:6px;width:6px;height:6px;border-radius:50%;background:#879d64;border:1px solid #fffef8}
.coach-settings{width:min(560px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 32px);padding:0;margin:auto;border:1px solid #dfe3d5;border-radius:24px;background:#faf9f1;color:#243e31;box-shadow:0 24px 80px #172e3430;overflow:hidden}
.coach-settings::backdrop{background:#20392b66;backdrop-filter:blur(3px)}
.coach-settings[open]{display:flex;flex-direction:column}
.coach-settings-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #e6e8dd;flex:none;background:#fffef8}
.coach-settings-head .eyebrow{font-size:9px;color:#7b876c}
.coach-settings-head h2{font:28px/1.2 'DM Serif Display',serif;margin:6px 0 0}
.coach-settings-head .icon-btn{width:44px;height:44px;flex:none;border-radius:50%}
.coach-settings-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:16px;display:grid;gap:12px}
.coach-settings .coach-side-panel{padding:20px}
.coach-settings .coach-side-panel h2{font-size:23px}
.coach-settings .coach-side-panel p,.coach-settings .coach-check,.coach-settings .coach-task,.coach-settings .coach-side-panel>label{font-size:13px}
.coach-settings .coach-memory .text-btn,.coach-settings .coach-proposals button,.coach-settings .coach-data-controls .text-btn{font-size:12px;min-height:40px}
.coach-settings .coach-proposals{margin:12px 0;padding:12px}
.coach-settings .coach-proposals>div{flex-wrap:wrap}
.coach-settings .coach-proposals small{font-size:11px}
.coach-settings .coach-data-controls{margin-top:0;font-size:13px}
.coach-settings summary{cursor:pointer;min-height:28px;line-height:1.7;font-size:13px}
.coach-source-panel ul{padding-left:20px;margin-bottom:0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.coach-settings-footer{padding:12px 20px;border-top:1px solid #e6e8dd;flex:none;background:#fffef8}
.coach-settings-footer button{min-height:44px}
@media(max-width:700px){.coach-chat-top{padding:8px 14px;min-height:60px}.coach-chat-top>span{max-width:none;font-size:11px}.coach-settings{max-height:calc(100dvh - 24px - env(safe-area-inset-bottom))}.coach-settings select{font-size:16px}.coach-settings-head{padding:14px 18px}.coach-settings-head h2{font-size:25px}.coach-settings-body{padding:12px}.coach-settings .coach-side-panel{padding:16px}}
