/* AmbleKind's compact dark palette. Loaded after all feature styles. */
:root{
  color-scheme:dark;
  --night:#101816;--cream:#111b19;--paper:#1d2624;--ink:#f5f8f4;
  --muted:#b8c8bf;--line:#354840;--apricot:#ffad86;--peach:#422f2b;
  --lilac:#cba9f2;--plum:#cba9f2;--sea:#69d9b1;
  --surface:#1d2725;--surface-raised:#25322f;--mint:#70e1b5;
  --blue:#83baff;--coral:#ffae88;--water:#7bcafa;
}
html,body,.app-shell{background:#101816;color:var(--ink)}
body{background:linear-gradient(155deg,#0b372c 0,#112b2a 38%,#171e2d 75%,#191b27 100%) fixed}
.app-shell{background:transparent}
main{background:transparent;overflow-x:clip}
button,input,select,textarea{color:inherit}
a,.text-link{color:var(--mint)}
svg{stroke-width:1.9}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
::selection{background:#32745c;color:#fff}

/* Navigation and native iPhone safe areas. */
.topbar{background:#111917;color:#f5f8f4;border-color:var(--line)}
.brand{font-size:20px;letter-spacing:-.045em}
.brand-amble{color:#f5f8f4}
.brand-kind{color:var(--mint)}
.header-progress{background:#263a32;color:var(--mint)}
.pair-avatars span,.pair-avatar span{border-color:#111917;background:#33453c;color:#fff}
.partner-avatar span{background:#5d4140}
.tabbar{background:#111715f5;border-color:#354840}
.tab{color:#bdc9c1;font-size:12px;gap:3px}
.tab svg{width:23px;height:23px}
.tab.active{color:var(--mint)}
.tab.active svg{background:#164d3c;color:#83edbe}
.tab:nth-child(2).active{color:var(--coral)}
.tab:nth-child(2).active svg{background:#51382e;color:var(--coral)}
.tab:nth-child(3).active{color:#ffcb85}
.tab:nth-child(3).active svg{background:#4b392a;color:#ffcb85}
.tab:nth-child(4).active{color:var(--lilac)}
.tab:nth-child(4).active svg{background:#3b3049;color:var(--lilac)}
.tab:nth-child(5).active{color:var(--blue)}
.tab:nth-child(5).active svg{background:#253b4d;color:var(--blue)}
.tab-count:not([hidden]),.partner-avatar i:not([hidden]){background:#e95b65;color:#fff;border-color:#111715}
@media(max-width:899px){
  .tab:nth-child(1):not(.active) svg{background:#243c32;color:#9de5b5}
  .tab:nth-child(2):not(.active) svg{background:#453429;color:#ffb08a}
  .tab:nth-child(3):not(.active) svg{background:#493728;color:#ffd094}
  .tab:nth-child(4):not(.active) svg{background:#383044;color:#d6b9f4}
  .tab:nth-child(5):not(.active) svg{background:#263844;color:#9ac4f2}
  html.native-ios .topbar{background:linear-gradient(to bottom,#090c0b 0,#090c0b var(--native-safe-top),#111917 var(--native-safe-top),#111917 100%)}
  html.native-ios .tabbar{background:#111715}
}

/* Sheets, forms, live account screens and status. */
.overlay{background:#050b0ae0}
.sheet{background:#1b2522;color:var(--ink);border:1px solid #415247;box-shadow:0 -15px 65px #0009}
.sheet:before{background:#778a7f}
.sheet h2,.sheet .card h3{color:var(--ink)}
.close{background:#35433d;color:#f4f8f3}
.card,.sheet .card{background:#26332e!important;border:1px solid #425449;border-radius:14px;color:var(--ink)}
.card p,.subtle,.helper,.flow-footnote{color:var(--muted)}
.eyebrow,.flow-label,.v3-overline{color:#a7c4b3}
.notice{background:#24372e;color:#d9eadd;border:1px solid #45664f}
.divider{background:var(--line)}
.quote{color:var(--ink)}
.button{border-radius:12px}
.button.dark,.sheet .button.dark{background:#45b688;color:#071b14}
.button.soft{background:#28453a;color:#b6f4cf}
.button.outline{border-color:#64826f;color:#e8f6ea}
.field label{color:#e8f1e8;font-size:15px}
.field input,.field select,.field textarea,.live-profile-form input,.v3-chat-compose textarea,
.food-estimator textarea,#foodEstimator textarea,.food-portion-control input{background:#111c19;color:#f7faf6;border:1px solid #607467;font-size:16px}
.field input::placeholder,.field textarea::placeholder,.v3-chat-compose textarea::placeholder,
.food-estimator textarea::placeholder{color:#a1b0a6}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--mint);box-shadow:0 0 0 3px #4ac88b55}
.toast{background:#345544;color:#f7fff9;box-shadow:0 8px 25px #0008;font-size:15px}
.walk-choice span{background:#25322d;color:var(--ink);border-color:#52705b}
.walk-choice input:checked+span{background:#326749;color:#fff;border-color:#80d9a6}
.walk-session,.live-activity-stage{background:#213e31;color:#fff}
.walk-session>span,.walk-session small,.live-activity-stage>span,.live-activity-stage p{color:#d0e8d2}
.live-ribbon,.connected-button,.live-reminder-toggle{background:#273d32;color:#eaffed;border-color:#5b7963}
.live-ribbon small,.live-intro p,.live-pair-head p,.live-empty,.live-update-list p,
.live-notification small,.live-note-list small,.live-profile-photo small{color:var(--muted)}
.live-intro h3,.live-pair-head h3,.live-plan-list button,.live-update-list b,
.live-notification,.live-note-list p,.live-profile-photo label{color:var(--ink)}
.live-pair-head em,.live-plan-list em{color:var(--coral)}
.live-list-title,.live-kicker,.live-step-help,.live-import-detail summary{color:#acd8bd}
.live-list-title,.live-plan-list button,.live-note-list>div,.live-profile-form,
.live-update-list>div,.live-notification,.live-import-detail,.live-import-detail p{border-color:var(--line)}
.live-profile-form button,.live-import-counts span,.live-invite-link{background:#284536;color:#e6f7e9}
.live-import-counts b,.live-import-detail b,.live-import-detail span{color:var(--ink)}
.live-notification.unread,.live-message.theirs{background:#294237}
.live-notification.focused{outline-color:var(--mint)}
.live-notification p,.live-message{color:var(--ink)}
.live-notification-arrow{color:var(--mint)}
.live-message{background:#273b32}
.live-message.mine{background:#4b3a38}
.live-message small{color:#c8d9ce}
.live-profile-preview{background:#3a5943;color:#fff}
.live-profile-photo button{color:var(--coral)}
.v3-profile-stats div{background:#293c32}
.v3-profile-stats small{color:#b4d0bd}
.v3-profile-stats b{color:#fff}
.v3-pair-state span{border-color:#81a889}

/* Every tab shares the same large, clear type and dark card language. */
.v3{color:var(--ink)}
.v3-head h1{color:#fff}
.v3-overline{font-size:12px;letter-spacing:.1em}
.v3-section-title h2{font-size:clamp(24px,5vw,29px);color:#f7faf6}
.v3-section-title h2 small,.v3-section-title button,.v3-question-peek button,
.v3-space-access button,.v3-pair-notice button,.v3-goals button{color:var(--mint)}
.v3-section-title h2 small{color:var(--muted)}
.v3-space-access,.v3-pair-notice,.v3-action-list,.v3-question-peek,.v3-rhythm,.v3-path,
.v3-history-list,.v3-history-row,.v3-empty,.v3-water-panel,.v3-note-list,.v3-note-list>div,
.v3-private-note,.v3-metric-strip,.v3-metric-strip>div+div,.v3-nutrition-summary,
.v3-nutrition-values>div+div,.v3-partner-history,.v3-partner-summary>div+div,
.v3-partner-days>div,.v3-goals,.v3-goals>div,.v3-facts,.v3-facts div{border-color:var(--line)}
.v3-space-access>span,.v3-pair-notice,.v3-private-note,.v3-empty,
.v3-history-row small,.v3-history-row em,.v3-note-list span,.v3-facts span,
.v3-goals small,.v3-partner-history>p,.v3-partner-summary span,
.v3-partner-summary small,.v3-partner-days>div{color:var(--muted)}
.v3-pair-notice b,.v3-history-row,.v3-action,.v3-note-list p,.v3-facts b{color:var(--ink)}
.v3-main-button{background:var(--coral);color:#231912;border-radius:13px;font-size:17px;min-height:54px}
.v3-quiet-button{border-color:#789785;color:#e8f7ea;font-size:16px}
.v3-action{font-size:17px;border-color:var(--line)}
.v3-action:hover,.v3-history-row:hover{color:var(--mint)}
.v3-action-icon,.v3-history-mark{background:#294b3b;color:var(--mint)}
.v3-action>svg{color:#9db4a6}
.v3-quick-grid .v3-action{background:var(--surface);border:1px solid #344840;box-shadow:0 6px 18px #0003;color:#e9f7ea}
.v3-quick-grid .v3-action:nth-child(1) .v3-action-icon{color:var(--mint)}
.v3-quick-grid .v3-action:nth-child(2) .v3-action-icon{color:var(--coral)}
.v3-quick-grid .v3-action:nth-child(3) .v3-action-icon{color:var(--water)}
.v3-quick-grid .v3-action:nth-child(4) .v3-action-icon{color:var(--lilac)}
.v3-quick-grid .v3-action>span:nth-child(2){font-size:16px}
.v3-day{color:var(--muted)}
.v3-day>span{background:#27342f;border-color:#607467}
.v3-day.current>span{background:var(--coral);color:#281d17;border-color:var(--coral)}
.v3-day.complete>span{background:#419b70;color:#fff;border-color:#419b70}
.v3-question-peek p{color:#fff}
.v3-question-peek{background:#213b32;border:1px solid #52745d;color:#fff}
.v3-question-peek button{color:var(--mint)}
.v3-question-history h2{color:#fff}
.v3-question-day{background:#202b28;border-color:#4b6455;color:#f6fff8}
.v3-question-day summary>span,.v3-answer-wait,.v3-history-empty{color:#bdd2c3}
.v3-question-day .v3-answer-pair div,.v3-question-card .v3-answer-pair div{background:#192922;color:#f4fff6}
.v3-history-mark{background:#293e34;color:var(--mint)}

/* Today: colorful, glanceable paired totals with one lead signal. */
.v3-moment{background:radial-gradient(circle at 63% 32%,#336851 0,#173c32 45%,#152d2a 100%)}
.v3-moment-copy>span,.v3-moment-top{color:#dbf5e5}
.v3-route{border-color:#9bdfbe80}
.v3-today .v3-moment-art{transform:none;opacity:1}
.v3-route-person{width:80px;height:80px;border-color:#9de6b7;box-shadow:0 4px 22px #0009}
.v3-route-person.second{border-color:#ffbe9b}
.v3-person-metrics,.v3-today .v3-person-metrics{background:linear-gradient(145deg,#263c31,#1d2a27);border:1px solid #4a6d55;color:var(--ink)}
.v3-today .v3-person-metrics:nth-child(2){background:linear-gradient(145deg,#352c32,#25252b);border-color:#67505e}
.v3-person-leading{border-color:#83dfab!important;box-shadow:0 0 0 2px #67d69a61,0 0 25px #58c38836}
.v3-person-head h3{color:#fff}
.v3-person-head span,.v3-health-steps span,.v3-health-steps small,
.v3-health-extras span,.v3-health-status,.v3-balance-note{color:#c1d6c8}
.v3-health-steps,.v3-health-steps>div+div,.v3-health-compare{border-color:#486354}
.v3-health-steps strong{color:#f7fff9}
.v3-today .v3-health-steps>div:first-child strong{color:#80e7ba}
.v3-today .v3-health-steps>div:nth-child(2) strong{color:#ffb98d}
.v3-health-extras b{font-variant-numeric:tabular-nums}
.v3-today .v3-health-extras>div:nth-child(1) b{color:#ffb58f}
.v3-today .v3-health-extras>div:nth-child(2) b{color:#87e9ba}
.v3-today .v3-health-extras>div:nth-child(3) b{color:#d4b6ff}
.v3-today .v3-health-extras>div:nth-child(4) b{color:#92d6ff}
.v3-today .v3-person-pending .v3-health-steps strong,.v3-today .v3-person-pending .v3-health-extras b{color:#c4d0c6}
.v3-health-actions button,.v3-challenge-head button{color:var(--mint)}
.v3-health-actions .v3-icon-button,.v3-today .v3-health-actions .v3-icon-button{background:#24533d;border-color:#6da382;color:#c8ffe0}
.v3-health-actions .v3-help-button,.v3-today .v3-health-actions .v3-help-button{background:#374039;color:#d2dfd4}
.v3-today .v3-sync-feedback{background:#234e37;color:#d4ffe3}
.v3-health-compare b,.v3-today .v3-health-compare b{background:#285541;color:#d6ffe6}
.v3-today .v3-health-compare b:last-child{background:#52382f;color:#ffd0b5}
.v3-achievements span{background:#624d25;color:#ffe6a4}
.v3-achievements span:nth-child(2){background:#264f5c;color:#abebff}
.v3-daily-lead{background:#203c31;border:1px solid #4c7458;color:#f4fff7}
.v3-daily-lead small,.v3-daily-lead p{color:#c1dcc9}
.v3-daily-lead button{background:#315945;color:#d6ffe6;min-width:44px}
.v3-daily-lead button svg{width:20px;height:20px}
.v3-update-count{background:#e95b65;color:#fff}
.v3-daily-challenges{background:#202b28;border-color:#465b4d}
.v3-daily-challenges>p,.v3-challenge-row small,.v3-challenge-row>span{color:#bed0c1}
.v3-challenge-row{border-color:#425448}
.v3-challenge-row b{color:#fff}

/* Move, Nourish and Progress: strong accents, subdued surfaces. */
.v3-move-stage{background:radial-gradient(circle at 56% 35%,#245b45,#172d2b 75%)}
.v3-ten b,.v3-stage-bottom h2 em{color:#ffb28a}
.v3-move-score>span:last-child,.v3-water-count span,.v3-macros span,
.v3-goals small,.v3-metric-strip span,.v3-nutrition-values span{color:var(--muted)}
.v3-reminder-toggle{background:#253e31;border-color:#4f7059;color:#d8f7df}
.v3-food-stage{background:linear-gradient(150deg,#432f2b,#302a31 72%,#242b2d);color:#fff}
.v3-food-stage .v3-stage-top{color:#f7d9c6}
.v3-food-dial{background:conic-gradient(#ffa77b 0 var(--protein),#c9a5ee var(--protein) var(--carbs),#76d5aa var(--carbs) 100%)}
.v3-food-dial>div{background:#2e2a2e}
.v3-food-dial.empty{background:#5c605d}
.v3-food-dial span{color:#e8cfc2}
.v3-macros{border-color:#765a52}
.v3-macros i.protein{background:#ffa77b}
.v3-macros i.carbs{background:#c9a5ee}
.v3-macros i.fat{background:#76d5aa}
.v3-macros span{color:#e3d5cb}
.v3-food-stage .v3-main-button{background:#ffb18c;color:#271e19}
.v3-water-pips span{background:#314842}
.v3-water-pips .filled{background:#7bcafa}
.v3-mode-tabs button,.v3-period button{border-color:#54685b;color:#d2dfd2;background:#1e2a25;font-size:14px;min-height:44px}
.v3-mode-tabs button.active,.v3-period button.active{background:#4cb889;color:#082116;border-color:#4cb889}
.v3-progress-hero{background:linear-gradient(145deg,#224b3a,#1d2e30);color:#fff}
.v3-progress-lead strong{color:#ffb18c}
.v3-progress-lead>span:last-child,.v3-progress-day small{color:#d3e8d8}
.v3-progress-day>span{background:#486d5b}
.v3-progress-day>span.active{background:#ffae88}
.v3-metric-strip strong,.v3-nutrition-values strong,.v3-partner-summary strong{color:#fff}
.v3-metric-strip>div:nth-child(1) strong{color:#ffa984}
.v3-metric-strip>div:nth-child(2) strong{color:#83e6b6}
.v3-metric-strip>div:nth-child(3) strong{color:#90d4fa}
.v3-goal-dot{border-color:#7ccf9d}
.v3-goal-dot.done{background:#3eaa79;color:#fff}

/* Messages, notifications and secondary interaction cards. */
.v3-chat{background:#1d2725;border-color:#44574a;box-shadow:0 10px 30px #0006}
.v3-chat-head,.v3-chat-compose{border-color:#405346}
.v3-chat-head strong{color:#fff}
.v3-chat-head small,.v3-chat-message small{color:#bdcfc3}
.v3-chat-call{background:#3d3150;color:#dec5ff}
.v3-chat-message{background:#2b3e34;color:#f7faf6}
.v3-chat-message.mine{background:#4d3a38}
.v3-chat-empty{color:#b9cfbd}
.v3-chat-compose button{background:#48b98a;color:#061b12}
.v3-connect-shortcuts button{background:#322a3b;border-color:#624c68;color:#e9dafa}
.v3-connect-shortcuts button:nth-child(2){background:#264033;border-color:#4c7956;color:#d0f8d9}
.v3-question-card{background:#302a36;color:#f7f2fc;border:1px solid #604c66}
.v3-question-card>button{background:#8c61ad;color:#fff}
.v3-question-card,.v3-question-peek{padding:20px;border-radius:16px}
.v3-question-card p,.v3-question-peek p{overflow-wrap:anywhere}
.v3-question-card>button{padding:10px 18px;min-height:48px}
.v3-connect-shortcuts button{padding:16px;gap:13px}
.v3-today .v3-quick-grid .v3-action{padding:15px;gap:8px}
.v3-affirmation-peek{border:1px solid #496a59}
.v3-answer-pair span{background:#43384a}
.v3-row-actions button{background:#2d4c3a;color:#d5f9dc}
.v3-answer{border-color:var(--line)}
.v3-answer b{color:var(--muted)}
.v3-note-stage{background:#293f37}
.v3-connection-stage{background:#302a36;color:#f6f0f7}
.v3-connection-stage .v3-stage-top{color:#decde0}
.v3-connection-stage .v3-main-button{background:#c59bde;color:#211729}
.v3-connect-aside .v3-action-icon{background:#3b304a;color:#d8b9fa}
.v3-person-photo,.v3-profile-head .v3-person-photo{background:#395747;color:#fff}
.v3-person-photo:has(img){background:transparent}
.food-estimator,#foodEstimator{background:#24372e;color:var(--ink);border:1px solid #46634f}
.food-estimate-result{background:#1b2d25;color:#e8f8eb}
.food-estimate-result a,.food-estimator>summary,.food-ingredients>summary,
.food-barcode summary,.food-more summary{color:var(--mint)}
.food-search-matches button{background:#182720;color:#f6fff7;border-color:#546d59}
.food-search-matches small{color:#b8cdbd}
.food-portion-control label,.food-portion-control span{color:#eaf3e9}

@media(max-width:699px){
  .v3{padding-left:16px;padding-right:16px}
  .v3-progress-hero{margin-left:-16px;margin-right:-16px}
  .v3-today .v3-paired-health{gap:14px}
  .v3-today .v3-person-metrics{padding:16px}
  .v3-today .v3-health-steps strong{font-size:clamp(28px,8vw,38px)}
  .v3-today .v3-health-steps span,.v3-today .v3-health-extras span{font-size:12px;letter-spacing:.02em}
  .v3-today .v3-health-extras b{font-size:18px}
  .v3-today .v3-health-status{font-size:14px}
  .v3-today .v3-quick-grid .v3-action{height:96px;padding:13px}
  .v3-today .v3-quick-grid .v3-action-icon svg{width:27px;height:27px}
  .v3-today .v3-quick-grid .v3-action>span:nth-child(2){font-size:17px}
  .v3-daily-lead strong{font-size:22px}
  .v3-health-compare b{font-size:14px}
  .v3-water-count strong{color:#92d9ff}
  .v3-metric-strip strong{font-size:clamp(24px,6vw,34px);white-space:normal;overflow-wrap:anywhere}
  .v3-nutrition-values{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
  .v3-nutrition-values>div:nth-child(3){border-left:0;padding-left:0}
  .v3-macros b{font-size:22px}
  .v3-person-head h3{font-size:22px}
  .v3-chat-compose label{font-size:16px}
  .sheet{border-bottom:0}
}
@media(max-width:380px){
  .v3-today .v3-health-steps strong{font-size:25px}
  .v3-today .v3-health-extras b{font-size:16px}
  .tab{font-size:11px}
}
/* Consistent breathing room on the small screens. */
.v3-today .v3-question-peek{padding:20px;margin-top:20px}
.v3-question-card{padding:22px}
.v3-question-card .v3-answer-pair>div{padding:14px 16px}
.v3-question-day summary{padding:17px 18px}
.v3-today .v3-quick-grid .v3-action{padding:15px}
.v3-connect-shortcuts button{padding:16px}
@media(max-width:699px){.v3-connect-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-connect-shortcuts button{position:relative;flex-direction:column;align-items:flex-start;justify-content:space-between;min-width:0;min-height:102px;gap:7px;padding:15px}.v3-connect-shortcuts button>span:nth-child(2){flex:none;min-width:0;overflow-wrap:anywhere}.v3-connect-shortcuts button>svg{position:absolute;top:17px;right:15px}}
@media(max-width:380px){.v3-affirmation-peek{grid-template-columns:32px minmax(0,1fr) 22px;padding:14px 15px;gap:7px 9px}.v3-affirmation-icon{width:32px;height:32px}.v3-encourage-daily,.v3-partner-words,.v3-encourage-maker{padding:20px}}
