/* UX 2: uma ação principal; detalhes aparecem somente após a escolha. */
:root{--app-ink:#173f42;--app-green:#086759;--app-soft:#eef5f0}
body{background:#f6f8f6}
.communication-first{display:block;max-width:none;background:transparent;border:0;border-radius:0;padding:0;margin:0 0 18px}
.communication-copy{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.communication-first h1{font-size:34px;line-height:1.12;letter-spacing:-1px;color:var(--app-ink)}
.home-help{gap:5px;font-size:12px;white-space:nowrap}
.visual-flow{list-style:none;padding:0;margin:0 0 22px;display:flex;justify-content:space-between;max-width:430px}
.visual-flow li{position:relative;display:flex;align-items:center;gap:8px;color:#41675f;flex:1;min-width:0}
.visual-flow li:not(:last-child):after{content:'→';font-size:18px;color:#8eaaa1;margin:auto}
.visual-flow li:last-child{flex:0 1 auto}.visual-flow li>span{display:grid;place-items:center;background:#e6f0e9;border-radius:50%;width:33px;height:33px;flex:none}.visual-flow svg{width:18px;height:18px}.visual-flow strong{font-size:13px;font-weight:650}
.start-message{width:100%;display:flex;align-items:center;gap:14px;min-height:118px;text-align:left;padding:20px;background:#086759;color:white;border-radius:23px;box-shadow:0 6px 18px #08675918}
.start-message:hover{background:#06594d}.start-message>span:nth-child(2){flex:1;min-width:0}.start-message strong{font-size:24px;line-height:1.25;display:block;letter-spacing:-.5px}.start-message small{display:block;color:#d9eee3;font-size:13px;margin-top:7px;line-height:1.4}.message-illustration{width:79px;height:66px;flex:none}.message-illustration svg{width:100%;height:100%;stroke:none}.start-arrow svg{width:24px;height:24px}
.quick-heading{margin:22px 0 11px}.quick-heading h2{font-size:16px;letter-spacing:-.2px;color:#395950}
.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.quick-action{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-height:119px;padding:15px 7px;border:1px solid #d9e6df;background:white;border-radius:18px;text-align:center}
.quick-action:hover{border-color:#79ac96;background:#f4faf6}.quick-action strong{font-size:14px;line-height:1.3;max-width:130px}
.quick-symbol{width:45px;height:45px;display:grid;place-items:center;border-radius:15px;background:#eef5ed;color:#1b7152}.quick-symbol svg{width:31px;height:31px;stroke-width:2.5}.quick-clock{background:#fcf1d9;color:#96700d}.quick-bottle{background:#e6f3f5;color:#28717d}
.compose-entry{display:flex;align-items:center;gap:10px;width:100%;padding:15px 0;min-height:54px;font-size:14px;color:#38665a;text-align:left;margin-top:4px}.compose-entry>span:nth-child(2){flex:1}.compose-entry svg{width:20px;height:20px}
.routine-personal{margin:0 0 18px;padding:0;border:0}.routine-personal h2{font-size:16px}.pin-shortcut{font-size:13px;padding:10px;min-height:45px;border-radius:13px}
.conversation-promo{width:100%;display:flex;align-items:center;gap:12px;text-align:left;margin:0 0 15px;padding:17px;border-radius:18px;border:1px solid #d9e6df;background:#fff;color:#163f40}.conversation-promo>span:nth-child(2){flex:1}.conversation-promo strong{font-size:17px;display:block;line-height:1.3}.conversation-promo small{font-size:13px;color:#5c776c;display:block;margin-top:4px}.conversation-emblem{width:43px;height:43px;border-radius:14px;background:#e6f1e9;flex:none}.conversation-emblem svg{width:24px;height:24px}
.home-study{border-top:1px solid #dce7e0;margin:0}.home-study>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:55px;font-size:14px;font-weight:650;color:#45685d;cursor:pointer}.home-study>summary::-webkit-details-marker{display:none}.home-study>summary>span:last-child{margin-left:auto}.home-study[open]>summary>span:last-child{transform:rotate(90deg)}.home-study svg{width:20px;height:20px}.study-content{padding:12px 0}.study-content .section-heading{margin-top:22px}.study-content .recent-section{margin-top:0}
#home-view>.communication-first{order:0}#home-view>.routine-personal{order:1}#home-view>.conversation-promo{order:2}#home-view>.home-study{order:3}
.flow-sheet{width:min(100% - 32px,570px);padding:24px;max-height:92dvh;overflow:auto;overscroll-behavior:contain}
.flow-sheet .dialog-heading{margin-bottom:20px}.flow-sheet .dialog-heading h2{font-size:23px;line-height:1.2}.flow-sheet .dialog-heading .close-dialog{margin-left:auto}
#routine-launcher{margin:0}.routine-stages{margin-bottom:18px;gap:7px}.routine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.routine-tile{min-height:111px;padding:14px;display:flex;align-items:center;justify-content:center;text-align:center;border-radius:18px;gap:9px;background:#f0f7f1;border-color:#d7e6db}.routine-symbol{display:grid;place-items:center;width:44px;height:44px}.routine-symbol svg{width:40px;height:40px;stroke-width:2.1}.routine-tile strong{font-size:15px;line-height:1.3}.routine-tile[data-moment="antes"]{background:#fbf5e8;border-color:#eddfbd}.routine-tile[data-moment="depois"]{background:#eaf5f7;border-color:#cde2e5}
#situations-section{margin:0}#situations-section>.section-heading{margin:0 0 15px;gap:10px}#situations-title{font-size:16px;color:#597165;font-weight:600}#show-all-situations{font-size:13px;white-space:nowrap}
.all-situations{padding:0;margin:0;border:0;background:transparent}.all-situations>summary{display:none}.all-situations h3{display:none}.all-situations .professional-templates{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;margin:0}
.situation-pick{border:1px solid #d8e6df;border-radius:16px;background:white;min-width:0;align-items:center;overflow:hidden}
.professional-templates .situation-pick>button[data-situation]{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:78px;border:0;border-radius:0;padding:12px 8px 12px 12px;flex:1;width:auto;min-width:0;text-align:left}
.professional-templates .situation-pick>button[data-situation] strong{font-size:16px;line-height:1.35;flex:1;min-width:0;font-weight:650}
.professional-templates button>.situation-icon{display:grid;place-items:center;width:43px;height:43px;flex:none;border-radius:13px;background:#eaf4ed;color:#216952}.professional-templates .situation-icon svg{width:25px;height:25px}
.professional-templates button>.situation-arrow{background:none;width:15px;height:auto;flex:none}.professional-templates .situation-arrow svg{width:16px;height:16px;color:#8ba99b}
.professional-templates .situation-pick>.pin-toggle{position:static;min-width:44px;min-height:48px;width:44px;flex:none;margin:0 5px 0 0;border:0;border-left:1px solid #e6eee8;border-radius:0;font-size:27px;background:transparent;display:grid;place-items:center;align-self:center;gap:0;padding:0}
#message-dialog .message-output{max-width:none}#message-dialog .response-card,#message-dialog .compose-feedback{margin:0;border:0;box-shadow:none;padding:0;background:transparent}#message-dialog .response-english{font-size:25px;line-height:1.35;letter-spacing:-.25px;color:#173c40}.response-card>.eyebrow{font-size:10px;margin-bottom:9px}
#message-dialog .response-meaning{margin:16px 0 19px;padding:13px 15px;background:#f0f5f1;border:0;border-radius:13px}#message-dialog .response-meaning strong{font-size:11px;color:#597064;font-weight:600}#message-dialog .response-meaning p{font-size:15px;line-height:1.55;margin-top:5px}
#message-dialog .response-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0}#message-dialog .response-actions>*{width:100%;min-width:0;grid-column:auto;min-height:53px;padding:12px 8px;font-size:14px;gap:7px}#message-dialog [data-speak-message="normal"]{background:#086759;border-color:#086759;color:white}#message-dialog .copy-message{background:white;border:1px solid #b9ccca;color:#176958}#message-dialog .response-actions .whatsapp-message{background:#ecfbef;color:#07562e;border:1px solid #8ad19e}#message-dialog .response-actions svg{width:21px;height:21px}#message-dialog .response-note{font-size:12px;margin-top:2px;color:#6a7b72}#message-dialog [data-save-message]{font-size:13px}#message-dialog>.full-width{margin-top:16px;border-top:1px solid #e1eae4;padding-top:13px}
.compose-details{margin:0;padding:0;border:0}.compose-caption{font-size:15px;color:#5c756b;margin:-4px 0 16px}.compose-details .home-search-box{margin:0}.compose-details .communication-note{font-size:12px;line-height:1.5;margin-top:13px}
.options-close{display:flex;justify-content:flex-end}.situation-options{padding:0;margin:0;background:transparent}.situation-options h3{font-size:24px;line-height:1.3;margin:0 0 20px}.situation-options input,.situation-options select{max-width:none;min-height:49px}.situation-options .primary-button{width:100%;margin-top:12px}.situation-options #cancel-options{width:100%}
.history-preview{font-size:13px;margin-bottom:5px}.history-preview summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#146f5a;font-weight:600}.history-preview p{margin:8px 0}
.sheet .toast{bottom:calc(20px + env(safe-area-inset-bottom));pointer-events:none}
@media(max-width:760px){
  main{padding:22px 18px 94px}.app-header{height:70px;min-height:70px;padding:9px 17px;background:#fff}.mobile-brand img{width:41px;height:41px}.mobile-brand{gap:8px}.mobile-brand>span{font-size:13px}.mobile-brand small{font-size:10px}.header-actions{gap:4px}.account-entry,.audio-settings{width:42px;min-width:42px;height:48px;padding:4px;display:flex;flex-direction:column;gap:3px;background:transparent;border:0}.account-entry>span:last-child,.audio-settings>span:nth-child(2){display:block;font-size:9px;line-height:1}.account-entry svg,.audio-settings svg{width:19px;height:19px}.settings-dot{display:none}
  .communication-first{padding:0;margin:0 0 11px}.communication-first h1{font-size:29px;line-height:1.13}.communication-copy{margin-bottom:17px;gap:10px}.home-help{font-size:11px;gap:4px}.home-help svg{width:16px;height:16px}.visual-flow{margin-bottom:19px}.visual-flow strong{font-size:12px}.visual-flow li{gap:6px}.visual-flow li>span{width:30px;height:30px}.visual-flow li:not(:last-child):after{font-size:15px}
  .start-message{min-height:106px;padding:16px 14px;gap:9px;border-radius:21px}.start-message strong{font-size:19px;letter-spacing:-.4px}.start-message small{font-size:11px;max-width:170px;margin-top:5px}.message-illustration{width:62px;height:56px}.start-arrow svg{width:17px;height:17px}.quick-heading{margin-top:19px}.quick-heading h2{font-size:15px}.quick-action{min-height:108px;padding:12px 6px;gap:8px}.quick-action strong{font-size:12px}.quick-symbol{width:41px;height:41px}.quick-symbol svg{width:29px;height:29px}.compose-entry{font-size:13px;gap:8px;padding:13px 0}.conversation-promo{padding:14px;margin:0 0 10px;gap:10px}.conversation-promo strong{font-size:15px}.conversation-promo small{font-size:12px}.home-study>summary{font-size:13px}.app-footer{display:none}
  .flow-sheet{inset:auto 0 0;width:100%;margin:0;max-width:none;max-height:94dvh;padding:22px 19px calc(24px + env(safe-area-inset-bottom));border-radius:25px 25px 0 0}.flow-sheet .dialog-heading{margin-bottom:16px}.flow-sheet .dialog-heading h2{font-size:22px}.routine-grid{gap:10px}.routine-tile{min-height:105px;padding:12px}.routine-tile strong{font-size:14px}.routine-stages button{font-size:13px;min-height:43px;padding:9px 7px}.routine-symbol svg{width:39px;height:39px}.all-situations .professional-templates{grid-template-columns:minmax(0,1fr)}
  .professional-templates .situation-pick>button[data-situation]{min-height:74px;padding:11px 6px 11px 11px;gap:11px}.professional-templates .situation-pick>button[data-situation] strong{font-size:15px}.professional-templates .situation-pick>.pin-toggle{position:static;margin-right:4px}.professional-templates button>.situation-icon{width:38px;height:38px}.professional-templates .situation-icon svg{width:23px;height:23px}
  #message-dialog .response-english{font-size:23px}#message-dialog .response-actions>*{font-size:14px}#conversation-meter{margin:8px 0 18px}
}
@media(max-width:359px){main{padding:18px 13px 90px}.app-header{padding:8px 12px}.mobile-brand small{font-size:9px}.communication-first h1{font-size:27px}.start-message strong{font-size:18px}.message-illustration{width:53px}.start-message{gap:8px;padding:15px 12px}.quick-actions{gap:7px}.quick-action strong{font-size:12px}.visual-flow strong{font-size:11px}.flow-sheet{padding-left:16px;padding-right:16px}}
