/* Minimal, thumb-friendly daily use. Desktop keeps the same family language. */
:root{--mobile-bg:#faf7ef;--mobile-card:#fffdf7;--mobile-ink:#3d4838;--mobile-muted:#706b5c;--mobile-line:#e3dfd1;--mobile-accent:#68754b}
.family-mobile-brand{display:none}.family-add-button{width:44px;min-width:44px;height:44px;border:0;border-radius:50%;background:var(--mobile-accent);color:#fffdf4;display:grid;place-items:center}.family-add-button svg{width:23px;height:23px}.family-demo-banner{width:100%;border:0;border-bottom:1px solid var(--mobile-line);border-radius:0;min-height:30px;font-size:11px;display:flex;gap:10px;align-items:center;justify-content:center}.family-demo-banner span{color:#696f51;font-size:10px}.family-device-menu{font-size:11px}.family-device-menu summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.family-device-menu>button{font-size:11px!important}
.mobile-greeting{margin-bottom:20px}.mobile-greeting h1{font:36px/1.2 Georgia;margin:7px 0 0;color:var(--mobile-ink)}.mobile-greeting .eyebrow{font-size:10px;color:var(--mobile-muted);letter-spacing:1px}.mobile-welcome{position:relative;isolation:isolate;border-radius:16px;overflow:hidden;height:220px;background:#77734e;color:white}.mobile-welcome>img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center 55%;z-index:-2}.mobile-welcome:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#30311fbd,#30311f00);z-index:-1}.mobile-welcome>div{padding:26px}.mobile-welcome small{font-size:9px;letter-spacing:2px}.mobile-welcome h2{color:#fff9e7;font-size:34px;margin:19px 0}.mobile-welcome button{border:0;border-radius:8px;background:#fff8e8;color:#4d5338;min-height:44px;padding:10px 15px;font-size:12px}.mobile-capture-row,.mobile-personal-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 24px}.mobile-capture-row button,.mobile-personal-actions button{border:1px solid var(--mobile-line);border-radius:12px;background:var(--mobile-card);min-height:72px;display:flex;gap:9px;align-items:center;justify-content:center;font-size:14px;color:var(--mobile-ink)}.mobile-capture-row svg,.mobile-personal-actions svg{width:24px;height:24px;color:var(--mobile-accent)}.mobile-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.mobile-section-head h2{font-size:24px;color:var(--mobile-ink);margin:0}.mobile-section-head .text-button{font-size:12px;min-height:44px}.mobile-section-head h2>small{font:12px Arial;color:var(--mobile-muted);margin-left:8px}.mobile-day-card{padding:22px;margin-bottom:24px}.mobile-day-card .community-task{min-height:62px;padding:10px 0}.mobile-day-empty{font-size:14px;line-height:1.75;color:var(--mobile-muted);margin:10px 0 17px}.mobile-event{border:0;border-top:1px solid var(--mobile-line);background:transparent;width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:14px 0;min-height:65px}.mobile-event>svg{width:23px;height:23px;color:var(--mobile-accent);flex-shrink:0}.mobile-event b,.mobile-family-pulse button b{display:block;font-size:14px;font-weight:500;line-height:1.5;color:var(--mobile-ink)}.mobile-event small,.mobile-family-pulse button small{display:block;font-size:12px;color:var(--mobile-muted);margin-top:3px}.mobile-event i,.mobile-family-pulse button i{font-style:normal;margin-left:auto;color:#8b8e76}.mobile-favorites{margin:24px 0}.mobile-favorite-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mobile-shortcut{border:1px solid var(--mobile-line);border-radius:12px;background:var(--mobile-card);padding:16px;text-align:left;color:var(--mobile-ink);min-height:96px;display:grid;grid-template-columns:25px 1fr;column-gap:10px;align-content:center;overflow-wrap:anywhere}.mobile-shortcut>span{font:25px Georgia;color:var(--mobile-accent);grid-row:1/3;align-self:center}.mobile-shortcut>b{font-size:14px;font-weight:500;line-height:1.45}.mobile-shortcut>small{font-size:11px;line-height:1.55;color:var(--mobile-muted);margin-top:4px}.mobile-shortcut.compact{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;text-align:center;padding:14px 8px;min-height:89px}.mobile-shortcut.compact b{font-size:12px}.mobile-family-pulse{margin:25px 0}.mobile-family-pulse>button{display:flex;align-items:center;text-align:left;gap:12px;border:0;border-bottom:1px solid var(--mobile-line);background:transparent;width:100%;padding:14px 0;min-height:74px}.mobile-family-pulse>button>span:nth-child(2){min-width:0;flex:1}.mobile-search{display:block;margin:20px 0}.mobile-search input{background:var(--mobile-card);border:1px solid var(--mobile-line);border-radius:12px;padding:14px 16px;min-height:50px;font-size:16px;margin:0;width:100%;appearance:none}.mobile-menu-heading{margin-bottom:16px}.mobile-menu-heading h1{font-size:34px}.mobile-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mobile-menu-group{margin:28px 0}.mobile-menu-group>h2{font-size:22px;color:var(--mobile-ink);margin:0 0 12px}.mobile-search-count{font-size:12px;color:var(--mobile-muted);margin-bottom:16px}.mobile-install{border:1px solid var(--mobile-line);border-radius:10px;display:flex;width:100%;justify-content:space-between;align-items:center;min-height:52px;background:#edf0e0;color:#586140;padding:12px 17px;font-size:13px;margin-top:26px}.mobile-personal-head{display:flex;align-items:center;gap:17px;margin:3px 0 18px}.mobile-personal-head>.avatar{width:56px;height:56px;font-size:27px;background:#e1e7d5;color:#627147}.mobile-personal-head h1{font-size:34px;color:var(--mobile-ink);margin:4px 0}.mobile-personal-head p:not(.eyebrow){font-size:13px;color:var(--mobile-muted);margin:0}.mobile-personal-head .eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:0}.mobile-privacy-line{font-size:12px;line-height:1.7;color:var(--mobile-muted);padding:12px 14px;border-radius:9px;background:#eeefdf}.mobile-personal-actions button{flex-direction:column;font-size:22px;gap:5px}.mobile-personal-actions button>span{font-size:12px}.mobile-panel{border:1px solid var(--mobile-line);border-radius:12px;background:var(--mobile-card);margin:15px 0}.mobile-panel>summary{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;padding:15px 18px;font-size:15px;color:var(--mobile-ink)}.mobile-panel>summary small{font-size:11px;line-height:1.7;color:var(--mobile-muted);display:block;margin-top:4px}.mobile-panel>summary i{font:23px Georgia;color:var(--mobile-accent);font-style:normal}.mobile-panel[open]>summary i{transform:rotate(45deg)}.mobile-panel-content{padding:0 18px 18px}.mobile-panel .community-short-grid{margin:0 0 15px}.mobile-show-more{width:100%;min-height:48px;border:1px solid var(--mobile-line);background:var(--mobile-card);border-radius:9px;color:var(--mobile-accent);font-size:13px;margin:14px 0}.mobile-favorite-picker{display:grid;gap:5px;margin:20px 0}.mobile-favorite-picker>label{display:flex;gap:12px;align-items:center;min-height:48px;margin:0;font-size:14px;border-bottom:1px solid var(--mobile-line);padding:10px 0}.mobile-favorite-picker input{width:20px;height:20px;min-height:20px;margin:0;accent-color:var(--mobile-accent);flex-shrink:0}.mobile-favorite-picker>label>span{width:22px;font-size:22px;color:var(--mobile-accent)}.mobile-create-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.mobile-create-grid>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:100px;background:var(--mobile-card);border:1px solid var(--mobile-line);border-radius:12px;padding:13px 7px;color:var(--mobile-ink)}.mobile-create-grid svg{height:27px;width:27px;color:var(--mobile-accent)}.mobile-create-grid b{font-size:12px;font-weight:500}.mobile-disclosure{border:1px solid var(--mobile-line);border-radius:9px;padding:0 14px;background:#f2f2e8;margin:15px 0;color:var(--mobile-muted)}.mobile-disclosure>summary{min-height:44px;padding:12px 0;font-size:11px;cursor:pointer}.mobile-disclosure>div{padding:8px 0!important;border:0!important;background:transparent!important;margin:0!important}.mobile-disclosure p{font-size:12px!important}.mobile-chat-back{display:none}.community-thread-preview{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--mobile-muted);margin:5px 0}.community-chat-list button>span:last-child{min-width:0}.community-chat-list button b{overflow-wrap:anywhere}.community-draft-hint{font-size:10px;color:var(--mobile-muted);margin:0;padding:0 14px 8px}.community-chat-list .community-chat-empty{padding:20px;font-size:13px;line-height:1.7}
@media(max-width:760px){body{background:var(--mobile-bg);color:var(--mobile-ink);padding-bottom:calc(98px + env(safe-area-inset-bottom))}.sidebar{display:none}.topbar{position:sticky;top:0;z-index:10;padding:8px 16px;background:#faf8f0f5;backdrop-filter:blur(18px);border-bottom:1px solid var(--mobile-line);min-height:64px}.top-actions{gap:12px}.family-mobile-brand{display:block;font:29px Georgia;letter-spacing:-1px;color:#606c44;flex-shrink:0}.family-profile-bar{margin-left:auto;flex:0 1 160px}.family-profile-bar label{display:none}.family-profile-bar select{padding:8px 20px 8px 8px;border:0;background:transparent;font-size:14px;min-height:44px;color:var(--mobile-ink);text-overflow:ellipsis}.top-actions>#about-button{display:none}.family-add-button{width:42px;min-width:42px;height:44px;flex-shrink:0}.family-demo-banner{min-height:28px;padding:4px 16px;background:#f0f0e5;font-size:10px;justify-content:space-between}.family-demo-banner span{font-size:10px}.family-bottom-nav{padding:5px 10px calc(5px + env(safe-area-inset-bottom));background:#fffdf7f7;border-top:1px solid var(--mobile-line);box-shadow:0 -2px 12px #59613d05}.family-bottom-nav button{min-height:54px;font-size:10px;border-radius:11px;gap:4px;color:#747960}.family-bottom-nav button>span{height:23px;display:block;font-size:0;line-height:23px}.family-bottom-nav button svg{width:23px;height:23px;display:block}.family-bottom-nav button[aria-current=page]{background:#ebefdf;color:#52633c}main{padding:20px 16px 10px}.mobile-greeting{margin-bottom:17px}.mobile-greeting h1{font-size:29px}.mobile-greeting .eyebrow{font-size:9px;letter-spacing:.5px}.mobile-welcome{height:154px;border-radius:13px}.mobile-welcome>img{object-position:65% 52%}.mobile-welcome:after{background:linear-gradient(90deg,#30311fba,#30311f15)}.mobile-welcome>div{padding:18px}.mobile-welcome h2{font-size:24px;max-width:165px;margin:10px 0}.mobile-welcome small{font-size:8px;letter-spacing:1px}.mobile-welcome button{background:#fff9ed;color:#59613d;font-size:11px;padding:8px 12px;min-height:44px}.mobile-capture-row{gap:8px;margin:12px 0 19px}.mobile-capture-row button{min-height:56px;gap:8px;font-size:12px;border-radius:10px}.mobile-capture-row svg{width:21px;height:21px}.mobile-section-head{gap:10px;margin-bottom:4px}.mobile-section-head h2{font-size:23px}.mobile-section-head .text-button{font-size:11px}.mobile-day-card{padding:15px 17px;border-color:var(--mobile-line);background:var(--mobile-card);border-radius:13px;margin-bottom:20px}.mobile-day-card .community-task{min-height:57px}.mobile-day-card .community-task b{font-size:13px;color:#4e5846}.mobile-day-card .community-task small{font-size:11px;color:var(--mobile-muted)}.mobile-event{padding:13px 0;gap:11px;min-height:61px}.mobile-event b{font-size:13px}.mobile-event small{font-size:11px}.mobile-day-empty{font-size:13px}.mobile-favorite-grid{gap:7px}.mobile-shortcut.compact{padding:12px 3px;min-height:82px;gap:7px}.mobile-shortcut.compact b{font-size:10px}.mobile-shortcut.compact>span{font-size:24px}.mobile-favorites{margin:19px 0}.mobile-family-pulse{margin-top:20px}.mobile-family-pulse button b{font-size:13px}.mobile-family-pulse button small{font-size:11px}.mobile-menu-heading h1{font-size:29px;margin:0}.mobile-menu-heading .eyebrow{font-size:8px;margin-bottom:8px;letter-spacing:1px}.mobile-menu-heading .muted{font-size:12px;margin-top:8px}.mobile-search{margin:17px 0 21px}.mobile-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mobile-menu-group{margin:22px 0}.mobile-menu-group>h2{font-size:21px;margin-bottom:10px}.mobile-menu-grid .mobile-shortcut{grid-template-columns:22px 1fr;gap:8px;min-height:89px;padding:13px 11px}.mobile-menu-grid .mobile-shortcut>b{font-size:13px}.mobile-menu-grid .mobile-shortcut>small{font-size:10px}.mobile-menu-grid .mobile-shortcut>span{font-size:23px}.mobile-personal-head{gap:14px}.mobile-personal-head h1{font-size:31px}.mobile-personal-head>.avatar{width:50px;height:50px;font-size:25px}.mobile-privacy-line{font-size:11px;line-height:1.65}.mobile-personal-actions{gap:8px;margin:15px 0 22px}.mobile-personal-actions button{min-height:76px}.mobile-panel{margin:12px 0}.mobile-panel>summary{min-height:70px;font-size:14px;padding:14px 16px}.mobile-panel-content{padding:0 16px 16px}.mobile-panel>summary small{font-size:10px}.mobile-create-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.mobile-create-grid>button{min-height:92px}.mobile-create-grid>button:last-child{grid-column:1/-1;flex-direction:row;min-height:58px}.page-heading h1{font-size:29px}.page-heading .muted{font-size:12px;line-height:1.65}.page-heading .eyebrow{font-size:8px;letter-spacing:1px}.muted,.hint{color:var(--mobile-muted)}.card{border-color:var(--mobile-line);background:var(--mobile-card)}.community-post-head{padding:15px 16px}.community-post-body{padding:16px}.community-post-body h2{font-size:24px;color:#63573e}.community-post-body p{font-size:14px;color:#5b5b4c}.community-audience{font-size:10px;background:#ecefdf;color:#5d6a43}.growth-overview{display:none}.growth-person{padding:14px 16px;margin-bottom:16px;background:var(--mobile-card)}.growth-person p{margin:8px 0 0;font-size:10px}.growth-root .page-heading{margin-bottom:15px}.growth-tabs{margin:16px 0}.growth-tip{padding:18px 0}.growth-tip h3{font-size:19px}.pets-hero{padding:17px!important}.pets-portrait{width:61px;flex-basis:61px;height:78px;font-size:38px}.pets-portrait small{display:none}.pets-hero h2{font-size:28px}.pets-hero>div>p{font-size:12px}.pets-hero-meta{font-size:10px}.rc-actions{margin:17px 0}.rc-choice{min-height:82px;padding:15px 17px}.rc-choice b{font-size:21px}.rc-choice>span{font-size:30px}.rc-space>.muted{font-size:12px}.rc-note{margin:13px 0}.demo-footer{gap:8px;margin-top:10px;padding:14px 0}.demo-footer>#storage-note{font-size:9px;line-height:1.7;max-width:215px}.family-device-menu summary{font-size:9px;text-align:right;justify-content:flex-end}.family-device-menu button{max-width:120px}.mobile-keyboard-open .family-bottom-nav{display:none}.mobile-keyboard-open{padding-bottom:10px}.mobile-keyboard-open .toast{bottom:20px}dialog[open]{position:fixed;inset:auto 0 0;margin:0 auto;border-radius:22px 22px 0 0;width:100%;max-width:620px;max-height:calc(100dvh - 14px);padding:30px 20px calc(18px + env(safe-area-inset-bottom));border:1px solid var(--mobile-line);border-bottom:0;overscroll-behavior:contain}#editor.book-dialog{width:100%;padding:30px 18px calc(18px + env(safe-area-inset-bottom))}dialog::backdrop{background:#27342175;backdrop-filter:blur(4px)}dialog .close,dialog .rc-close{height:44px;width:44px;top:9px;right:10px}dialog h2{font-size:26px;padding-right:28px}dialog input,dialog select,dialog textarea{font-size:16px}dialog .community-form-save{min-height:50px;bottom:0}dialog .community-recipient-list{max-height:210px}body:has(dialog[open]){overflow:hidden}.community-chat{border:0;background:transparent;overflow:visible;display:block}.community-chat-list{display:flex;flex-direction:column;overflow:visible;border:0;background:transparent;padding:0;gap:0}.community-chat-list>button{width:100%;min-width:0;max-width:none;min-height:83px;border-radius:0;border-bottom:1px solid var(--mobile-line);padding:15px 3px;gap:12px;background:transparent}.community-chat-list>button>.avatar{display:inline-flex;width:42px;height:42px}.community-chat-list>button[aria-pressed=true]{background:transparent}.community-chat-list>button>span:last-child{flex:1}.community-chat-list>button b{font-size:14px}.community-chat-list>.community-ai-thread{min-width:0;max-width:none;min-height:60px;margin:0 0 5px;border:1px solid var(--mobile-line);border-radius:11px;padding:12px 15px;background:#eef1e3}.community-chat-list button small{font-size:10px}.community-conversation{display:none;min-height:calc(100dvh - 220px);background:var(--mobile-card);border:1px solid var(--mobile-line);border-radius:12px;overflow:hidden}.community-chat.conversation-open .community-chat-list{display:none}.community-chat.conversation-open .community-conversation{display:flex}.community-conversation-head{display:flex;align-items:center;gap:10px;padding:10px 12px}.community-conversation-head>div{min-width:0;flex:1}.community-conversation-head h2{font:21px Georgia;margin:0 0 4px}.community-conversation-head small{font-size:10px;color:var(--mobile-muted)}.community-conversation-head details{font-size:10px;color:var(--mobile-muted)}.community-conversation-head summary{min-height:25px;cursor:pointer}.mobile-chat-back{display:grid;place-items:center;min-width:44px;height:44px;border:0;background:transparent;border-radius:50%;padding:10px}.mobile-chat-back svg{width:23px;height:23px;color:var(--mobile-accent)}.community-messages{height:calc(100dvh - 370px);min-height:200px;max-height:620px;flex:1;padding:16px;background:#f5f5e9}.community-message>p{font-size:14px}.community-message>small{font-size:9px}.community-thread-preview{font-size:12px}.community-chat-note{padding:10px 14px;margin:0;border-top:1px solid var(--mobile-line)}.community-chat-note summary{min-height:30px;font-size:10px;cursor:pointer}.community-chat-note p{font-size:11px;line-height:1.7;margin-bottom:0}#community-chat-form{margin:0;position:sticky;bottom:0;background:var(--mobile-card);padding:10px 12px;align-items:flex-end}#community-chat-form textarea{min-height:48px;max-height:140px;resize:vertical;border:1px solid var(--mobile-line);border-radius:14px;padding:12px;line-height:1.5}#community-chat-form button{border-radius:50%;height:48px;min-height:48px;width:48px;min-width:48px;background:var(--mobile-accent)}[data-family-view=chat] main:has(.conversation-open)>.page-heading{display:none}.mobile-keyboard-open .community-conversation{min-height:200px}.mobile-keyboard-open .community-messages{min-height:140px}}
@media(max-width:359px){.family-mobile-brand{font-size:25px}.top-actions{gap:7px}.family-profile-bar{max-width:145px}.family-profile-bar select{font-size:12px}.mobile-welcome h2{font-size:22px}.mobile-favorite-grid{gap:5px}.mobile-shortcut.compact b{font-size:9px}.mobile-menu-grid .mobile-shortcut{grid-template-columns:1fr;padding:12px;min-height:100px}.mobile-menu-grid .mobile-shortcut>span{display:none}.mobile-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-welcome{height:160px}}

.family-mobile-brand{border:0;background:transparent;padding:0;min-height:44px}.mobile-chat-search{display:block;margin:0 0 12px}.mobile-chat-search input{width:100%;font-size:16px;min-height:48px;border:1px solid var(--mobile-line);border-radius:12px;background:var(--mobile-card);padding:12px 14px;margin:0}.community-chat-list>[hidden]{display:none!important}.mobile-chat-noresults{font-size:13px;line-height:1.7;color:var(--mobile-muted);padding:20px 4px}

.mobile-upcoming-label{font-size:11px;color:var(--mobile-muted);margin:17px 0 5px;}

#editor>.toast{left:50%;bottom:calc(20px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);z-index:50}#mobile-favorites-status{font-size:12px;line-height:1.6;color:var(--mobile-accent)}

.mobile-personal-ideas{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:64px;border:1px solid var(--mobile-line);border-radius:14px;background:var(--mobile-card);color:var(--mobile-ink);padding:12px 16px;text-align:left;margin:14px 0;font-size:16px}.mobile-personal-ideas small{display:block;font-size:12px;line-height:1.5;color:var(--mobile-muted);margin-top:4px}

/* Minimal mobile home: assistant card, quick actions, centered add button. */
.mobile-ai-card{background:var(--mobile-card);border:1px solid var(--mobile-line);border-radius:14px;padding:14px 16px;margin:0 0 16px}
.mobile-ai-card form{display:flex;gap:10px;align-items:center;margin:0}
.mobile-ai-card form>svg{width:24px;height:24px;color:var(--mobile-accent);flex-shrink:0}
.mobile-ai-card input{flex:1;min-width:0;min-height:48px;margin:0;border:1px solid var(--mobile-line);border-radius:12px;background:var(--mobile-bg);padding:10px 14px;font-size:16px;color:var(--mobile-ink)}
.mobile-ai-card button.primary{width:48px;min-width:48px;height:48px;min-height:48px;border-radius:50%;padding:0;font-size:20px;display:grid;place-items:center}
.mobile-ai-card>small{display:block;margin-top:8px;font-size:10px;line-height:1.6;color:var(--mobile-muted)}
.mobile-favorites-panel .mobile-favorites{margin:0}
@media(max-width:760px){
.top-actions>.family-add-button{display:none}
.family-menu-button{display:grid;place-items:center;font-size:21px;color:var(--mobile-ink)}
.family-bottom-add-label{font-style:normal;border:0;padding:0;font-size:inherit;letter-spacing:normal;color:inherit}
}

/* Плотный повседневный экран телефона: меньше воздуха, главное сразу видно. */
@media(max-width:760px){
  body:not([data-family-text=large]):not([data-family-text=largest]) .mobile-greeting h1{font-size:23px}
  .mobile-greeting{margin-bottom:10px}
  .mobile-greeting .appearance-customize{margin-top:6px}
  .mobile-ai-card{margin-bottom:14px}
  .mobile-ai-card>small{margin-top:6px}
  .mobile-day-card{padding:14px 15px;margin-bottom:14px}
  .mobile-family-pulse{margin:12px 0 16px}
  .mobile-capture-row{margin:12px 0 14px}
  main{padding-top:14px}
}
