:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d2c27;background:#f7f4ee;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;letter-spacing:0}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#ffffffb8,#f7f4eee0),#f7f4ee}button,input,select{font:inherit}button{cursor:pointer}.app{min-height:100vh}.app-elder .topbar{display:none}.topbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 28px;border-bottom:1px solid #ded8ce;background:#fffcf7f0}.brand{font-size:24px;font-weight:800}.brand-sub{margin-top:2px;color:#65756f;font-size:14px}.mode-switch{display:inline-grid;grid-template-columns:repeat(2,minmax(112px,1fr));gap:4px;padding:4px;border:1px solid #d7d2c8;border-radius:8px;background:#fff}.mode-switch button{min-height:38px;border:0;border-radius:6px;background:transparent;color:#51615b;display:inline-flex;align-items:center;justify-content:center;gap:8px}.mode-switch button.active{background:#245947;color:#fff}.topbar-actions{display:inline-flex;align-items:center;gap:10px}.language-icon-button{width:42px;height:42px;border:1px solid #d7d2c8;border-radius:999px;background:#fff;color:#51615b;display:inline-grid;place-items:center;padding:0}.language-menu{position:relative}.language-menu summary{list-style:none;cursor:pointer}.language-menu summary::-webkit-details-marker{display:none}.language-icon-button:hover{border-color:#9fc6b4;background:#eef7f0;color:#245947}.language-menu-panel{position:absolute;top:calc(100% + 5px);right:0;z-index:60;min-width:168px;border:1px solid #d7d2c8;border-radius:8px;background:#fff;box-shadow:0 14px 32px #20322b24;padding:6px}.language-menu-panel:before{content:"";position:absolute;top:-6px;right:14px;width:10px;height:10px;border-left:1px solid #d7d2c8;border-top:1px solid #d7d2c8;background:#fff;transform:rotate(45deg)}.language-menu-panel button{width:100%;min-height:36px;border:0;border-radius:6px;background:transparent;color:#31443d;text-align:left;padding:0 10px;font-weight:750}.language-menu-panel button:hover,.language-menu-panel button.active{background:#eef7f0;color:#245947}.family-shell{min-height:calc(100vh - 76px);display:grid;grid-template-rows:auto minmax(0,1fr)}.family-commandbar{display:grid;grid-template-columns:minmax(260px,420px) minmax(360px,1fr);gap:18px;padding:18px 24px;border-bottom:1px solid #ded8ce;background:#fffaf3}.family-account{border-bottom:0;padding-bottom:0}.family-commandbar .compact-form{margin:0;grid-template-columns:minmax(120px,1fr) minmax(130px,160px) auto;align-items:end}.family-detail-tools{display:flex;align-items:center;justify-content:flex-end}.family-content{min-width:0;padding:24px}.family-overview,.family-detail{display:grid;gap:18px}.family-alert-banner{border:2px solid #a7c3d6;border-radius:8px;background:#e7f0f6;color:#21475c;padding:14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}.family-alert-banner.emergency{border-color:#b84034;background:#fff0ec;color:#8f2f26;animation:family-emergency-ring 1.1s ease-in-out infinite}.family-alert-banner strong,.family-alert-banner span{display:block}.elder-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.elder-status-card{border:1px solid #d7d2c8;border-radius:8px;background:#fffcf7eb;overflow:hidden}.elder-status-card.call{border-color:#8db4cf;box-shadow:0 0 0 3px #8db4cf2e;animation:family-card-ring 1.6s ease-in-out infinite}.elder-status-card.emergency{border-color:#b84034;box-shadow:0 0 0 4px #b8403433;animation:family-emergency-ring 1.1s ease-in-out infinite}.elder-status-card.watch{border-color:#bd7a2a}.elder-status-card.offline{opacity:.82}.elder-status-main{width:100%;min-height:170px;border:0;background:transparent;color:#1d2c27;padding:18px;display:grid;align-content:space-between;gap:18px;text-align:left}.elder-card-title{display:flex;align-items:start;justify-content:space-between;gap:12px}.elder-card-title strong{font-size:28px}.elder-card-title span{min-height:30px;border:1px solid #d7d2c8;border-radius:999px;padding:4px 10px;color:#53635d;background:#fff;font-weight:800;white-space:nowrap}.elder-status-card.call .elder-card-title span,.elder-status-card.emergency .elder-card-title span{color:#fff;border-color:transparent}.elder-status-card.call .elder-card-title span{background:#2d6b85}.elder-status-card.emergency .elder-card-title span{background:#b84034}.elder-card-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.elder-card-metrics span{min-height:48px;border:1px solid #e0dad0;border-radius:8px;background:#fff;display:grid;place-items:center;gap:4px;color:#455650;font-weight:800}.elder-status-main small{color:#697973;font-weight:700}.elder-card-alert{border-top:1px solid #e0dad0;padding:14px 18px;display:grid;gap:12px;background:#ffffffb8}.elder-card-alert span{color:#53635d;font-weight:700}.elder-card-actions{display:flex;flex-wrap:wrap;gap:8px}.detail-header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center}.detail-header h1,.detail-header p{margin:0}.detail-header p{margin-top:4px;color:#687872}.detail-tabs{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:6px;padding:6px;border:1px solid #d7d2c8;border-radius:8px;background:#fff}.detail-tabs button{min-height:42px;border:0;border-radius:6px;background:transparent;color:#51615b;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800}.detail-tabs button.active{background:#245947;color:#fff}.family-main-tabs{margin-bottom:18px}.elder-picker{display:flex;flex-wrap:wrap;gap:8px}.elder-picker button{min-height:38px;border:1px solid #d7d2c8;border-radius:999px;background:#fff;color:#51615b;padding:0 14px;font-weight:800}.elder-picker button.active{border-color:#245947;background:#eaf2ec;color:#245947}.settings-list{display:grid;gap:10px;margin:12px 0}.settings-list>div{min-height:46px;border:1px solid #e0dad0;border-radius:8px;background:#fff;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-list span{color:#697973;font-weight:700}.settings-list strong{color:#1d2c27;text-align:right}.message-workspace{grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr)}.family-layout{min-height:calc(100vh - 76px);display:grid;grid-template-columns:300px minmax(0,1fr)}.sidebar{border-right:1px solid #ded8ce;background:#fffaf3;padding:18px}.account-row,.workspace-header,.panel-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-row{padding-bottom:18px;border-bottom:1px solid #e3ded5}.account-row strong,.account-row span{display:block}.account-row span{margin-top:4px;color:#6d7974;font-size:13px;overflow-wrap:anywhere}.compact-form,.auth-panel,.reminder-form{display:grid;gap:12px}.compact-form{margin:18px 0}label{display:grid;gap:6px;color:#53635d;font-size:13px;font-weight:700}input,select{min-height:40px;width:100%;border:1px solid #cfc8bc;border-radius:8px;padding:8px 10px;color:#1d2c27;background:#fff}input:focus,select:focus{border-color:#2e6f59;outline:2px solid rgba(46,111,89,.18)}.primary-button,.secondary-button,.link-button,.icon-button,.settings-low-frequency-button{min-height:40px;border-radius:8px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750}.primary-button{color:#fff;background:#245947}.secondary-button{color:#24443a;background:#eaf2ec;border-color:#bed1c6;padding:0 12px}.link-button{color:#315d7d;background:transparent}.icon-button{width:40px;color:#31443d;background:#fff;border-color:#d7d2c8}.primary-button:disabled,.secondary-button:disabled,.settings-low-frequency-button:disabled{opacity:.64;cursor:wait}.elder-list{display:grid;gap:8px}.elder-row{width:100%;min-height:44px;border:1px solid #ddd6cb;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#283b35;font-weight:700}.elder-row.active{border-color:#2e6f59;background:#eef7f0}.elder-row b{min-width:24px;height:24px;border-radius:999px;background:#b84034;color:#fff;display:inline-grid;place-items:center;font-size:12px}.workspace{min-width:0;padding:24px}.workspace-header{margin-bottom:18px}.workspace-header h1,.auth-panel h1,.panel h2{margin:0}.workspace-header h1{font-size:28px}.workspace-header p{margin:5px 0 0;color:#687872}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:16px}.panel{border:1px solid #ded8ce;border-radius:8px;background:#fffcf7db;padding:18px}.status-panel{grid-column:1 / -1}.stat-grid{margin-top:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat-grid div{min-height:96px;border:1px solid #d7d2c8;border-radius:8px;background:#fff;padding:14px;display:grid;align-content:space-between}.stat-grid svg{color:#2d6b85}.stat-grid strong{font-size:24px}.stat-grid span,.list-card span,.muted-box,.pairing-content span,.alert-item span,.alert-item small{color:#697973}.settings-form{margin-top:16px;display:grid;gap:12px}.pairing-content{display:grid;justify-items:start;gap:12px;margin-top:12px}.pairing-content img{width:180px;height:180px;border:1px solid #d9d3c9;border-radius:8px}.pair-code{font-size:42px;font-weight:850;color:#1d2c27;font-variant-numeric:tabular-nums}.muted-box,.empty-state{min-height:76px;border:1px dashed #cfc8bc;border-radius:8px;display:grid;place-items:center;text-align:center;padding:14px;background:#ffffff85}.reminder-list,.alert-list{display:grid;gap:10px;margin-top:14px}.list-card{min-height:58px;border:1px solid #d7d2c8;border-radius:8px;background:#fff;padding:12px;display:grid;gap:4px}.reminder-list-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.reminder-meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.reminder-state-badge{min-height:22px;border:1px solid #d7d2c8;border-radius:999px;background:#f7f4ee;color:#6c7872;display:inline-flex;align-items:center;padding:0 8px;font-size:12px;font-weight:700}.reminder-state-badge.active{border-color:#bdd3c8;background:#eef7f0;color:#245947}.reminder-row-actions{display:inline-flex;align-items:center;gap:8px}.toggle-reminder-button,.delete-reminder-button{min-height:32px;border:1px solid #cfd9d4;border-radius:8px;background:#fff;color:#31443d;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;font-size:13px;font-weight:700}.delete-reminder-button{border-color:#d9aaa4;background:#fff7f6;color:#9a352c}.toggle-reminder-button:disabled,.delete-reminder-button:disabled{opacity:.64;cursor:wait}.alert-item{border:1px solid #d7d2c8;border-left-width:5px;border-radius:8px;background:#fff;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.alert-item strong,.alert-item span,.alert-item small{display:block}.alert-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.alert-item span{margin-top:4px}.alert-item small{margin-top:8px}.alert-collab-line{color:var(--mc-muted);font-size:12px;font-weight:700}.alert-item.info{border-left-color:#2d6b85}.alert-item.warn{border-left-color:#bd7a2a}.alert-item.danger{border-left-color:#b84034}.alert-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.alert-action-button{min-height:34px;border:1px solid #d7d2c8;border-radius:8px;background:#fff;color:#31443d;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;font-size:13px;font-weight:700;white-space:nowrap}.alert-action-button.take,.alert-action-button.done,.alert-action-button.quiet{border-color:#d7d2c8;background:#fff;color:#31443d}.alert-action-button svg{width:15px;height:15px}.alert-state-badge{min-height:26px;border:1px solid #d7d2c8;border-radius:999px;background:#fff;color:#53635d;display:inline-flex;align-items:center;padding:0 9px;font-size:12px;font-weight:850}.alert-title-row .alert-state-badge{margin-top:0}.alert-state-badge.new{border-color:#9fc6b4;background:#eaf2ec;color:#245947}.alert-state-badge.handling{border-color:#e1c4a0;background:#fff8ed;color:#78511f}.message-panel{max-width:920px}.message-timeline{margin-top:14px;display:grid;gap:10px}.message-item{border:1px solid #d7d2c8;border-radius:8px;background:#fff;padding:12px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px}.message-dot{width:12px;height:12px;margin-top:5px;border-radius:999px;background:#2d6b85}.message-item.danger .message-dot{background:#b84034}.message-item.warn .message-dot{background:#bd7a2a}.message-item.ok .message-dot{background:#2f7b55}.message-item strong,.message-item span,.message-item small{display:block}.message-item span{margin-top:4px;color:#53635d}.message-item small{margin-top:8px;color:#697973}.auth-shell,.elder-entry{min-height:calc(100vh - 76px);display:grid;place-items:center;padding:24px}.auth-panel,.elder-pair-form{width:min(440px,100%);border:1px solid #ded8ce;border-radius:8px;background:#fffaf3;padding:24px}.form-error,.error-banner,.elder-error{border:1px solid #e0a095;border-radius:8px;background:#fff0ec;color:#8f2f26;padding:10px 12px;font-weight:700}.error-banner{margin-bottom:16px}.elder-screen{position:relative;min-height:100vh;display:grid;align-content:start;gap:20px;padding:28px;background:#fffaf3}.elder-exit{position:absolute;right:18px;top:18px;width:42px;height:42px;border:1px solid #d7d2c8;border-radius:8px;background:#fff;color:#5f6d68}.elder-emergency-fixed{position:fixed;left:max(18px,calc(env(safe-area-inset-left) + 18px));top:max(18px,calc(env(safe-area-inset-top) + 18px));z-index:30;width:172px;height:64px;border:2px solid #d9a39b;border-radius:8px;background:#fffaf3;color:#92382e;box-shadow:0 10px 28px #62362d29;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 14px;font-size:21px;font-weight:850;line-height:1.1;text-align:center;touch-action:manipulation}.elder-emergency-fixed.sent{border-color:#b84034;background:#b84034;color:#fff}.elder-emergency-fixed:disabled{cursor:default;opacity:1}.elder-emergency-fixed svg{flex:0 0 auto}.elder-clock{display:grid;gap:4px;justify-items:center;padding-top:6px}.elder-clock span{color:#65756f;font-size:22px}.elder-clock strong{font-size:74px;line-height:1;font-variant-numeric:tabular-nums}.elder-status-row{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.elder-status-row span{min-height:34px;display:inline-flex;align-items:center;border:1px solid #d7d2c8;border-radius:999px;padding:0 14px;background:#fff;color:#53635d;font-weight:700}.elder-animation{width:min(300px,100%);display:grid;justify-items:center;gap:8px;color:#245947}.elder-animation.compact{width:min(180px,100%);gap:4px}.elder-animation svg{width:100%;aspect-ratio:4 / 3;overflow:visible}.elder-animation span{color:#53635d;font-size:18px;font-weight:800}.elder-animation.compact span{font-size:14px}.anim-soft-bg{fill:#f9f5eb;stroke:#d8d1c4;stroke-width:2}.anim-line,.anim-pulse-line,.anim-ring,.anim-ring-line{fill:none;stroke:#24443a;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}.anim-line.thin,.anim-ring-line{stroke-width:5}.anim-line.thick{stroke-width:8}.anim-fill{fill:#2f7b55}.anim-fill.accent{fill:#d59b42}.anim-fill.blue,.anim-water{fill:#4b8dae}.anim-fill.faint{opacity:.7}.anim-fill.success{fill:#2f7b55}.anim-fill.white-dot{fill:#fffaf3}.anim-water{opacity:.78}.anim-check{fill:none;stroke:#245947;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:130;stroke-dashoffset:130;animation:draw-check 1.8s ease-in-out infinite}.anim-check.white,.anim-line.white-line{stroke:#fffaf3}.anim-heart{fill:#d76a5f;stroke:#92382e;stroke-width:5;transform-origin:120px 90px;animation:calm-heart 2.1s ease-in-out infinite}.anim-heart.small{fill:#d76a5f;stroke-width:4}.anim-alert{fill:#b84034;stroke:#8f2f26;stroke-width:6;stroke-linejoin:round;transform-origin:120px 96px;animation:alert-breathe 1.9s ease-in-out infinite}.anim-phone{fill:#e7f0f6;stroke:#21475c;stroke-width:7;stroke-linejoin:round}.anim-ring{opacity:0;transform-origin:center;animation:soft-ring 2.2s ease-out infinite}.anim-ring.success{stroke:#2f7b55}.anim-ring.danger{stroke:#b84034;animation-duration:1.7s}.anim-ring-line{stroke:#2d6b85;opacity:0;animation:call-wave 2s ease-out infinite}.anim-ring-line.two{animation-delay:.45s}.anim-pulse-line{stroke:#9bc2ae;stroke-dasharray:18 16;animation:line-flow 2.4s linear infinite}.anim-bob{animation:bob 2.8s ease-in-out infinite}.anim-bob-small{animation:bob 3.2s ease-in-out infinite}.anim-sway{transform-origin:170px 96px;animation:sway 2.8s ease-in-out infinite}.anim-wave{transform-origin:120px 110px;animation:water-wave 2.6s ease-in-out infinite}.anim-drops{animation:drops 2.8s ease-in-out infinite}.anim-needle{stroke:#b84034;stroke-width:7;stroke-linecap:round;transform-origin:176px 130px;animation:needle 2.4s ease-in-out infinite}.anim-heart-line{fill:none;stroke:#d76a5f;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:170;animation:heart-line 2.6s ease-in-out infinite}.anim-knock-one,.anim-knock-two{animation:knock 1.8s ease-in-out infinite}.anim-knock-two{animation-delay:.35s}.anim-pop{transform-origin:120px 90px;animation:pop-soft 1.8s ease-in-out infinite}.elder-feedback{width:min(860px,100%);margin:0 auto;border:2px solid #bed1c6;border-radius:8px;background:#fff;padding:10px 16px;display:grid;place-items:center;animation:feedback-enter 2.4s ease-in-out both}.elder-feedback-emergency{border-color:#d9a39b;background:#fff0ec}.elder-reminder-focus,.elder-next-box{width:min(860px,100%);margin:0 auto;border:2px solid #9bc2ae;border-radius:8px;background:#eef7f0;padding:24px;display:grid;justify-items:center;text-align:center;gap:18px}.elder-reminder-focus svg{color:#245947}.elder-reminder-focus span,.elder-next-box span,.elder-next-box small{color:#53635d;font-size:24px;font-weight:750}.elder-reminder-focus h1,.elder-next-box strong{margin:6px 0 0;font-size:48px;line-height:1.15}.elder-message-queue{width:min(860px,100%);margin:-4px auto 0;display:grid;gap:10px}.elder-message-queue>strong{color:#53635d;font-size:22px;text-align:center}.elder-message-list{display:grid;gap:8px}.elder-message-row{min-height:64px;border:1px solid #cfe0d7;border-radius:8px;background:#fff;padding:10px 14px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;text-align:left}.elder-message-row>span{color:#245947;font-size:22px;font-weight:850;font-variant-numeric:tabular-nums}.elder-message-row b,.elder-message-row small{display:block}.elder-message-row b{color:#24443a;font-size:18px}.elder-message-row small{margin-top:2px;color:#65756f;font-size:16px}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes sway{0%,to{transform:rotate(-2deg)}50%{transform:rotate(4deg)}}@keyframes water-wave{0%,to{transform:translate(-3px)}50%{transform:translate(4px)}}@keyframes drops{0%,to{transform:translateY(0);opacity:.76}50%{transform:translateY(9px);opacity:1}}@keyframes draw-check{0%{stroke-dashoffset:130}42%,to{stroke-dashoffset:0}}@keyframes soft-ring{0%{opacity:.45;transform:scale(.78)}80%,to{opacity:0;transform:scale(1.16)}}@keyframes call-wave{0%{opacity:.72;stroke-dasharray:1 140}80%,to{opacity:0;stroke-dasharray:80 140}}@keyframes line-flow{to{stroke-dashoffset:-68}}@keyframes needle{0%,to{transform:rotate(-12deg)}50%{transform:rotate(18deg)}}@keyframes heart-line{0%{stroke-dashoffset:170}45%,to{stroke-dashoffset:0}}@keyframes knock{0%,to{transform:scale(1);opacity:.4}50%{transform:scale(1.45);opacity:1}}@keyframes calm-heart{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}@keyframes alert-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}@keyframes pop-soft{0%{transform:scale(.72)}38%,to{transform:scale(1)}}@keyframes feedback-enter{0%{opacity:0;transform:translateY(-10px)}12%,82%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-6px)}}@keyframes family-card-ring{0%,to{box-shadow:0 0 0 3px #8db4cf2e}50%{box-shadow:0 0 0 7px #8db4cf14}}@keyframes family-emergency-ring{0%,to{box-shadow:0 0 #b840344d}20%{box-shadow:0 0 0 4px #b840343d}40%{box-shadow:0 0 0 2px #b840342e}70%{box-shadow:0 0 0 8px #b8403400}}.elder-reminder-actions,.elder-actions{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:14px;width:min(620px,100%)}.elder-actions{margin:0 auto}.elder-primary-button,.elder-secondary-button{min-height:88px;border-radius:8px;border:2px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:0 18px;font-size:28px;font-weight:850;line-height:1.15;text-align:center;white-space:normal;overflow-wrap:anywhere}.elder-primary-button svg,.elder-secondary-button svg{flex:0 0 auto}.elder-primary-button{background:#2f7b55;color:#fff}.elder-secondary-button{background:#e7f0f6;border-color:#a7c3d6;color:#21475c}.elder-pair-form h1{margin:0;font-size:32px}.elder-pair-form{display:grid;gap:16px}.elder-pair-form input{min-height:58px;font-size:24px}@media(max-width:980px){.family-commandbar{grid-template-columns:1fr}.family-commandbar .compact-form{grid-template-columns:minmax(0,1fr) minmax(120px,160px) auto}.family-layout{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #ded8ce}.dashboard-grid,.stat-grid,.elder-actions,.elder-reminder-actions{grid-template-columns:1fr}}@media(max-width:640px){.topbar{align-items:stretch;flex-direction:column;padding:14px}.mode-switch{width:100%}.workspace,.elder-screen{padding:16px}.workspace-header{align-items:flex-start;flex-direction:column}.family-content{padding:16px}.family-alert-banner{grid-template-columns:auto minmax(0,1fr)}.family-alert-banner .primary-button{grid-column:1 / -1}.detail-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.elder-clock strong{font-size:58px}.elder-clock span{font-size:18px}.app-elder .elder-clock{padding-top:78px}.elder-reminder-focus h1,.elder-next-box strong{font-size:34px}.elder-message-row{grid-template-columns:1fr;text-align:center}.elder-emergency-fixed{left:max(12px,calc(env(safe-area-inset-left) + 12px));top:max(12px,calc(env(safe-area-inset-top) + 12px));width:150px;height:62px;font-size:19px}.elder-primary-button,.elder-secondary-button{font-size:24px}}@media(max-width:520px){.family-commandbar .compact-form{grid-template-columns:1fr}.elder-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.app-elder{--elder-bg: #fff7ed;--elder-surface: #fffaf5;--elder-surface-strong: #fff1d6;--elder-line: #e7c9a3;--elder-line-strong: #d97706;--elder-ink: #1f1a17;--elder-muted: #6f5a46;--elder-primary: #a14f23;--elder-primary-strong: #8f431b;--elder-primary-soft: #fff0dc;--elder-secondary: #7c4a12;--elder-secondary-border: #c7832e;--elder-secondary-soft: #fff6df;--elder-red: #b42318}.app-elder .elder-screen{background:linear-gradient(180deg,#fffaf5e6,#fff7edfa),var(--elder-bg);color:var(--elder-ink)}.app-elder .elder-screen-reminder{min-height:100vh}.app-elder .elder-screen-reminder .elder-screen-inner{min-height:calc(100vh - 56px);align-content:stretch;padding-top:max(58px,env(safe-area-inset-top))}.app-elder .elder-status-row span,.app-elder .elder-exit{border-color:var(--elder-line);background:var(--elder-surface);color:var(--elder-muted)}.app-elder .elder-emergency-fixed{border-color:#e0a095;background:#fff0ed;color:var(--elder-red)}.app-elder .elder-emergency-fixed.sending{border-color:#bd7a2a;background:#fff8ed;color:#7c2d12}.app-elder .elder-emergency-fixed.sent{border-color:var(--elder-red);background:var(--elder-red);color:#fff}.app-elder .elder-clock span,.app-elder .elder-next-box span,.app-elder .elder-next-box small,.app-elder .elder-message-queue>strong{color:var(--elder-muted)}.app-elder .elder-clock strong,.app-elder .elder-next-box strong{color:var(--elder-ink)}.app-elder .elder-next-box{border-color:var(--elder-line);background:var(--elder-surface)}.app-elder .elder-reminder-fullscreen{min-height:min(760px,calc(100vh - 108px));border:3px solid var(--elder-line-strong);background:var(--elder-surface-strong);padding:clamp(18px,3.2vw,34px);grid-template-rows:auto minmax(260px,1fr) auto;align-content:stretch;justify-items:center;box-shadow:0 22px 55px #7c2d1229}.app-elder .elder-reminder-copy{display:grid;gap:8px;justify-items:center}.app-elder .elder-reminder-fullscreen span{color:#7c2d12;font-size:clamp(26px,4.8vw,42px);font-weight:900}.app-elder .elder-reminder-fullscreen em{border:2px solid #d97706;border-radius:999px;background:#fff7ed;color:#9a3412;padding:4px 14px;font-size:clamp(18px,3vw,28px);font-style:normal;font-weight:900}.app-elder .elder-reminder-fullscreen h1{color:var(--elder-ink);font-size:clamp(48px,9vw,96px);line-height:1.08;font-weight:900}.app-elder .elder-gif-stage{width:min(620px,100%);min-height:clamp(280px,45vh,430px);border:2px solid #d6a15b;border-radius:8px;background:var(--elder-surface);display:grid;place-items:center;padding:clamp(12px,2.5vw,24px);overflow:hidden}.app-elder .elder-gif-stage .elder-animation{width:min(480px,100%);max-width:100%}.app-elder .elder-gif-stage-compact{min-height:190px;border-color:#ead8bf;background:#fffaf0}.app-elder .elder-gif-stage-compact .elder-animation{width:min(240px,100%)}.app-elder .elder-reminder-actions{width:min(760px,100%);grid-template-columns:repeat(2,minmax(0,1fr))}.app-elder .elder-primary-button{border-color:var(--elder-primary-strong);background:var(--elder-primary);color:#fff}.app-elder .elder-secondary-button{border-color:var(--elder-secondary-border);background:var(--elder-secondary-soft);color:var(--elder-secondary)}.app-elder .elder-reminder-fullscreen .elder-primary-button,.app-elder .elder-reminder-fullscreen .elder-secondary-button{min-height:96px;font-size:clamp(28px,4.8vw,42px)}@media(max-width:720px){.app-elder .elder-screen-reminder{padding:10px}.app-elder .elder-screen-reminder .elder-screen-inner{min-height:calc(100vh - 20px);padding-top:74px}.app-elder .elder-reminder-fullscreen{min-height:calc(100vh - 100px);padding:16px}.app-elder .elder-gif-stage{min-height:32vh}}@media(max-width:520px){.app-elder .elder-reminder-actions{grid-template-columns:1fr}.app-elder .elder-reminder-fullscreen .elder-primary-button,.app-elder .elder-reminder-fullscreen .elder-secondary-button{min-height:78px}}:root{--mc-bg: #f4f6f8;--mc-surface: #ffffff;--mc-surface-soft: #f8fafc;--mc-line: #d8dee6;--mc-line-strong: #b7c1cc;--mc-ink: #17211e;--mc-muted: #5f6b76;--mc-primary: #126c67;--mc-primary-soft: #e0f2f1;--mc-green: #2e7d4f;--mc-green-soft: #e7f6ed;--mc-blue: #2563eb;--mc-blue-soft: #eaf1ff;--mc-amber: #b7791f;--mc-amber-soft: #fff4df;--mc-red: #c0392b;--mc-red-soft: #fff0ed;--mc-offline: #687280;--mc-offline-soft: #eef1f4}body{background:linear-gradient(180deg,#f8fafc 0%,var(--mc-bg) 44%,#eef3f4 100%)}.brand-mark,.mode-switch button.active,.primary-button,.detail-tabs button.active{background:var(--mc-primary)}.brand-mark,.secondary-button,.reminder-choice-button:hover,.toggle-reminder-button:hover,.alert-action-button:hover{border-color:#a7cbc8}.brand-mark,.secondary-button{background:var(--mc-primary-soft);color:var(--mc-primary)}.overview-stat.stable,.detail-status-cell.stable{border-color:#a8d8b8;background:var(--mc-green-soft)}.overview-stat.stable svg,.overview-stat.stable strong{color:var(--mc-green)}.overview-stat.reminders{border-color:#e7c475;background:var(--mc-amber-soft)}.overview-stat.reminders svg,.overview-stat.reminders strong{color:var(--mc-amber)}.overview-stat.offline{border-color:#c9d1db;background:var(--mc-offline-soft)}.overview-stat.offline svg,.overview-stat.offline strong{color:var(--mc-offline)}.overview-stat.attention,.detail-status-cell.attention,.message-summary-cell.attention{border-color:#eda39a;background:var(--mc-red-soft)}.overview-stat.attention svg,.overview-stat.attention strong,.detail-status-cell.attention svg,.detail-status-cell.attention strong,.message-summary-cell.attention strong{color:var(--mc-red)}.message-summary-cell:nth-child(2){border-color:#a9c7ff;background:var(--mc-blue-soft)}.message-summary-cell:nth-child(2) strong{color:var(--mc-blue)}.message-summary-cell:nth-child(3){border-color:#a8d8b8;background:var(--mc-green-soft)}.message-summary-cell:nth-child(3) strong{color:var(--mc-green)}.family-alert-banner,.elder-status-card.call,.alert-item.info{border-color:#9fc0ff;background:var(--mc-blue-soft)}.family-alert-banner,.elder-status-card.call .elder-card-title span,.alert-item.info .alert-title-row strong{color:var(--mc-blue)}.elder-status-card.call .elder-card-title span{border-color:#9fc0ff;background:#fff;color:var(--mc-blue)}.elder-status-card.watch,.alert-item.warn{border-color:#e3bf75;background:var(--mc-amber-soft)}.elder-status-card.watch .elder-card-title span,.alert-item.warn .alert-title-row strong{color:var(--mc-amber)}.elder-status-card.emergency,.alert-item.danger,.family-alert-banner.emergency{border-color:#e48b82;background:var(--mc-red-soft)}.elder-status-card.emergency .elder-card-title span,.alert-item.danger .alert-title-row strong,.family-alert-banner.emergency{color:var(--mc-red)}.elder-status-card.emergency .elder-card-title span{border-color:#eda39a;background:#fff;color:var(--mc-red)}.elder-status-card.offline{border-color:#c9d1db;background:var(--mc-offline-soft)}.elder-status-card.offline .elder-card-title span{color:var(--mc-offline);background:#fff}.statusBadge,.alert-state-badge,.reminder-state-badge{border-color:var(--mc-line);background:#fff;color:var(--mc-muted)}.alert-state-badge.new{border-color:#eda39a;background:var(--mc-red-soft);color:var(--mc-red)}.alert-state-badge.handling{border-color:#9fc0ff;background:var(--mc-blue-soft);color:var(--mc-blue)}.alert-state-badge.resolved,.reminder-state-badge.active{border-color:#a8d8b8;background:var(--mc-green-soft);color:var(--mc-green)}.alert-state-badge.false_alert,.reminder-state-badge{border-color:#c9d1db;background:var(--mc-offline-soft);color:var(--mc-offline)}.toggle-reminder-button{border-color:#c9d1db;background:#fff;color:var(--mc-offline)}.delete-reminder-button,.danger-button{border-color:#eda39a;background:var(--mc-red-soft);color:var(--mc-red)}.inline-success{border-color:#a8d8b8;background:var(--mc-green-soft);color:var(--mc-green)}.fold-header[aria-expanded=true] b{border-color:#a9c7ff;background:var(--mc-blue-soft);color:var(--mc-blue)}.elder-emergency-fixed{border-color:#e48b82;background:var(--mc-red-soft);color:var(--mc-red)}.elder-primary-button{background:var(--mc-green)}.elder-secondary-button{border-color:#9fc0ff;background:var(--mc-blue-soft);color:var(--mc-blue)}.app-family .panel,.app-family .list-card,.app-family .alert-item,.app-family .message-item,.app-family .muted-box,.app-family .empty-state{background:var(--mc-surface-soft)}.app-family .panel{padding:13px}.app-family .settings-panel{padding:12px}.app-family .settings-panel h2{font-size:16px;margin-bottom:8px}.app-family .settings-list{display:grid;gap:6px;margin:6px 0 10px}.app-family .settings-list>div{min-height:34px;border:1px solid var(--mc-line);border-radius:8px;background:var(--mc-surface);padding:7px 9px;display:grid;grid-template-columns:minmax(88px,.42fr) minmax(0,1fr);align-items:center;gap:10px}.app-family .settings-list span{color:var(--mc-muted);font-size:12px;font-weight:700}.app-family .settings-list strong{color:var(--mc-ink);font-size:13px;font-weight:750;overflow-wrap:anywhere}.app-family .settings-panel .secondary-button,.app-family .settings-panel .primary-button,.app-family .settings-panel .danger-button,.app-family .settings-panel .settings-low-frequency-button{min-height:34px;font-size:13px}.app-family .secondary-button,.app-family .reminder-choice-button,.app-family .alert-action-button,.app-family .toggle-reminder-button,.app-family .icon-button{background:var(--mc-blue-soft);border-color:#b8ccf9;color:var(--mc-blue)}.app-family .primary-button{background:var(--mc-primary)}.app-family .settings-low-frequency-button{background:var(--mc-amber-soft);border-color:#d7a847;color:#74460d;padding:0 12px}.app-family .delete-reminder-button,.app-family .danger-button{background:var(--mc-red-soft);border-color:#eda39a;color:var(--mc-red)}.app-family input,.app-family select,.auth-panel input{background:var(--mc-surface)}.app-family .elder-status-card,.app-family .message-summary-cell,.app-family .detail-status-cell,.app-family .overview-stat{background:var(--mc-surface-soft)}.app-family .family-content{display:grid;gap:16px}.app-family .workspace-header{min-height:auto;padding:2px 0;align-items:center}.family-language-select{min-height:34px;border:1px solid var(--mc-line);border-radius:999px;background:var(--mc-surface-soft);color:var(--mc-muted);display:inline-flex;align-items:center;gap:8px;padding:4px 8px 4px 12px;font-size:12px;font-weight:750;white-space:nowrap}.family-language-select select{min-height:26px;border-radius:999px;padding:0 24px 0 9px;font-size:12px}.app-family .workspace-header h1{font-size:25px}.app-family .workspace-header p{font-size:13px}.app-family .detail-tabs{position:sticky;top:84px;z-index:10;box-shadow:0 8px 22px #20322b0f}.app-family .detail-tabs button{min-height:40px;font-size:14px}.app-family .panel{padding:16px}.app-family .panel h2{font-size:18px}.app-family .primary-button,.app-family .secondary-button,.app-family .link-button,.app-family .icon-button{min-height:38px;font-size:14px;font-weight:750}.app-family .elder-status-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.app-family .elder-status-main{min-height:132px;gap:12px}.app-family .elder-card-title strong{font-size:22px}.app-family .elder-card-metrics span{min-height:46px;font-size:13px}.app-family .overview-stat{min-height:70px;padding:11px}.app-family .overview-stat strong{font-size:22px}.reminder-form{grid-template-columns:minmax(180px,1.2fr) minmax(130px,.7fr) minmax(120px,.65fr) minmax(180px,1.2fr) minmax(110px,.6fr);align-items:end}.reminder-form .reminder-action-row,.reminder-form .inline-success{grid-column:1 / -1}.reminder-action-row{display:flex;flex-wrap:wrap;gap:10px}.reminder-choice-button{flex:1 1 180px;min-height:40px;border:1px solid #cfd9d4;border-radius:8px;background:#fff;color:#24443a;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;font-size:14px;font-weight:700}.reminder-choice-button:disabled{opacity:.64;cursor:wait}.reminder-action-row .reminder-choice-button{flex:1 1 180px}.inline-success{border:1px solid #a6cfbb;border-radius:8px;background:#edf7f1;color:#245947;padding:9px 11px;font-size:13px;font-weight:750}.message-record-layout{display:grid;gap:12px}.message-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.message-summary-cell{min-height:66px;border:1px solid var(--mc-line);border-radius:8px;background:var(--mc-surface);padding:10px 12px;display:grid;align-content:center;gap:3px}.message-summary-cell.attention{border-color:#e1aaa3;background:var(--mc-red-soft)}.message-summary-cell strong{color:var(--mc-ink);font-size:22px;line-height:1}.message-summary-cell span{color:var(--mc-muted);font-size:13px;font-weight:750}.fold-header{width:100%;min-height:58px;border:0;background:transparent;color:var(--mc-ink);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;text-align:left}.fold-header span,.fold-header strong,.fold-header small{display:block}.fold-header strong{font-size:17px}.fold-header small{margin-top:3px;color:var(--mc-muted);font-size:13px;font-weight:650}.fold-header b{min-width:34px;height:28px;border:1px solid var(--mc-line);border-radius:999px;background:var(--mc-surface-soft);color:var(--mc-muted);display:inline-grid;place-items:center;font-size:13px}.fold-header[aria-expanded=true] b{border-color:#bfd2c9;background:var(--mc-green-soft);color:var(--mc-green)}.fold-content{border-top:1px solid var(--mc-line);margin-top:4px;padding-top:12px}.muted-box.compact{min-height:56px}@media(max-width:980px){.reminder-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.app-family .detail-tabs{top:128px}.message-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.reminder-form{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.anim-bob,.anim-bob-small,.anim-sway,.anim-wave,.anim-drops,.anim-check,.anim-ring,.anim-ring-line,.anim-pulse-line,.anim-needle,.anim-heart-line,.anim-knock-one,.anim-knock-two,.anim-heart,.anim-alert,.anim-pop,.elder-feedback,.elder-status-card.call,.elder-status-card.emergency,.family-alert-banner.emergency{animation:none}}:root{--mc-bg: #f5f7f6;--mc-surface: #ffffff;--mc-surface-soft: #f8faf9;--mc-line: #dbe2de;--mc-line-strong: #b7c5be;--mc-ink: #162923;--mc-muted: #5d6e67;--mc-green: #25644d;--mc-green-soft: #e7f3ed;--mc-blue: #285f7d;--mc-blue-soft: #e7f1f7;--mc-amber: #9a6822;--mc-amber-soft: #fbf2e5;--mc-red: #a53a31;--mc-red-soft: #fff0ee}body{background:var(--mc-bg);color:var(--mc-ink);overscroll-behavior-y:none}.topbar{position:sticky;top:0;z-index:40;min-height:72px;padding:0 20px;border-bottom:1px solid var(--mc-line);background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar-inner{width:min(1280px,100%);min-height:72px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand-lockup,.auth-brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:42px;height:42px;border:1px solid #eadfc8;border-radius:10px;background:#fff7e8;display:inline-grid;place-items:center;flex:0 0 auto;overflow:hidden}.brand-mark img{width:100%;height:100%;display:block}.brand{font-size:21px;line-height:1.1}.brand-sub{color:var(--mc-muted)}.mode-switch{border-color:var(--mc-line);background:var(--mc-surface-soft);flex:0 0 auto}.mode-switch button.active{background:var(--mc-green)}.family-shell{min-height:calc(100vh - 72px);grid-template-rows:auto minmax(0,1fr)}.family-commandbar{width:min(1280px,calc(100% - 40px));margin:20px auto 0;padding:14px;border:1px solid var(--mc-line);border-radius:8px;background:var(--mc-surface);grid-template-columns:minmax(240px,.7fr) minmax(420px,1.3fr);align-items:center}.family-content{width:min(1280px,100%);margin:0 auto;padding:20px}.account-row{min-width:0;border-bottom:0;padding-bottom:0}.account-row strong{color:var(--mc-ink);font-size:17px}.family-commandbar .compact-form{grid-template-columns:minmax(150px,1fr) minmax(140px,180px) auto;gap:10px}.workspace-header{margin-bottom:0}.workspace-header h1{font-size:30px;line-height:1.15}.workspace-header p,.detail-header p{color:var(--mc-muted)}.overview-stat-strip,.detail-status-strip{display:grid;gap:12px}.overview-stat-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-stat,.detail-status-cell{min-height:82px;border:1px solid var(--mc-line);border-radius:8px;background:var(--mc-surface);padding:13px;display:grid;align-content:space-between;gap:4px}.overview-stat svg,.detail-status-cell svg{color:var(--mc-blue)}.overview-stat strong,.detail-status-cell strong{color:var(--mc-ink);font-size:26px;line-height:1}.overview-stat span,.detail-status-cell span{color:var(--mc-muted);font-size:13px;font-weight:750}.overview-stat:disabled{cursor:default}.overview-stat:not(:disabled):hover{border-color:#bdd3c8;background:#fbfdfb}.overview-stat.attention,.detail-status-cell.attention{border-color:#e1aaa3;background:var(--mc-red-soft)}.overview-stat.attention svg,.detail-status-cell.attention svg{color:var(--mc-red)}.overview-stat.stable svg{color:var(--mc-green)}.overview-stat.offline{background:#f4f6f5}.overview-stat.reminders svg{color:var(--mc-amber)}.family-alert-banner{border-color:#a9c6d8;border-radius:8px;background:var(--mc-blue-soft);color:var(--mc-blue)}.family-alert-banner.emergency{border-color:#d98f86;background:var(--mc-red-soft);color:var(--mc-red)}.elder-status-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}.elder-status-card{border-color:var(--mc-line);background:var(--mc-surface)}.elder-status-card.call{border-color:#8fb7cf}.elder-status-card.emergency{border-color:#d98f86}.elder-status-card.watch{border-color:#d8ad78;background:#fffdf8}.elder-status-main{min-height:154px;padding:16px}.elder-card-title{align-items:flex-start}.elder-card-title strong{font-size:27px;line-height:1.1}.elder-card-title small{display:block;margin-top:6px;color:var(--mc-muted);font-size:13px;font-weight:750}.elder-card-title span{border-color:var(--mc-line);color:var(--mc-muted)}.elder-status-card.watch .elder-card-title span{color:#7b5019;background:var(--mc-amber-soft);border-color:#e8c99e}.elder-card-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.elder-card-metrics span{min-height:54px;border-color:var(--mc-line);background:var(--mc-surface-soft)}.elder-card-alert{border-top-color:var(--mc-line);background:#fbfcfb}.elder-card-alert.calm{background:var(--mc-surface-soft)}.elder-card-actions{justify-content:flex-end}.detail-header{grid-template-columns:auto minmax(0,1fr);padding-bottom:2px}.detail-header h1{font-size:30px;line-height:1.15}.detail-status-strip{grid-template-columns:minmax(0,1.4fr) minmax(130px,.8fr) minmax(130px,.8fr)}.detail-status-cell{min-height:74px}.detail-status-cell strong{font-size:18px}.detail-status-cell:first-child strong{overflow-wrap:anywhere}.detail-tabs{border-color:var(--mc-line);background:var(--mc-surface)}.detail-tabs button{min-height:46px;color:var(--mc-muted)}.detail-tabs button.active{background:var(--mc-green)}.dashboard-grid{grid-template-columns:repeat(2,minmax(320px,1fr))}.family-action-grid{align-items:start}.panel{border-color:var(--mc-line);background:var(--mc-surface)}.panel h2{color:var(--mc-ink);font-size:20px}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-grid div,.list-card,.alert-item,.message-item,.muted-box,.empty-state{border-color:var(--mc-line);background:var(--mc-surface-soft)}.message-panel{max-width:none}.auth-shell,.elder-entry{min-height:calc(100vh - 72px);background:var(--mc-bg)}.auth-panel,.elder-pair-form{border-color:var(--mc-line);background:var(--mc-surface)}.auth-brand h1{margin:0;font-size:28px}.auth-brand span{color:var(--mc-muted);font-size:13px;font-weight:800}.primary-button{background:var(--mc-green)}.secondary-button{color:#204239;border-color:#bfd2c9;background:var(--mc-green-soft)}.icon-button{border-color:var(--mc-line);color:var(--mc-ink)}input,select{border-color:#cfd9d4;background:var(--mc-surface)}input:focus,select:focus{border-color:var(--mc-green);outline-color:#25644d2e}.elder-screen{min-height:100vh;padding:18px;background:var(--mc-bg)}.elder-screen-inner{min-height:calc(100vh - 36px);width:min(980px,100%);margin:0 auto;display:grid;align-content:start;gap:18px}.elder-clock{padding-top:8px}.elder-clock strong{font-size:76px}.elder-status-row span,.elder-exit,.elder-emergency-fixed{background:var(--mc-surface)}.elder-emergency-fixed.sending{border-color:#bd7a2a;background:#fff8ed;color:#78511f}.elder-emergency-fixed.sent{border-color:var(--mc-red);background:var(--mc-red);color:#fff}.elder-reminder-focus,.elder-next-box{width:100%;background:#edf7f1}.elder-message-queue{width:100%}.elder-snoozed-note{width:100%;border:2px solid #e7c181;border-radius:8px;background:#fff7e8;color:#78511f;padding:12px 14px;display:flex;align-items:center;justify-content:center;gap:10px;text-align:left}.elder-snoozed-note div{display:grid;gap:2px;min-width:0}.elder-snoozed-note strong{font-size:18px;line-height:1.2}.elder-snoozed-note span{color:#8b6a4f;font-size:15px;font-weight:800}.elder-snoozed-done{min-height:46px;border:2px solid #8f431b;border-radius:8px;background:#a95021;color:#fff;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:16px;font-weight:900;white-space:nowrap}.elder-snoozed-done:hover{filter:brightness(1.03)}@media(max-width:980px){.family-commandbar{grid-template-columns:1fr}.family-commandbar .compact-form{grid-template-columns:minmax(0,1fr) minmax(130px,180px) auto}.overview-stat-strip,.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.family-action-grid{grid-template-columns:1fr}.detail-status-strip{grid-template-columns:1fr 1fr}.detail-status-cell:first-child{grid-column:1 / -1}}@media(max-width:720px){.topbar{padding:0 14px}.topbar-inner{min-height:116px;align-items:stretch;justify-content:center;flex-direction:column;gap:10px;padding:12px 0}.brand-lockup{justify-content:center}.mode-switch{width:100%}.family-shell{min-height:calc(100vh - 116px)}.family-commandbar{width:calc(100% - 24px);margin-top:12px;padding:12px}.family-content{padding:12px}.family-commandbar .compact-form{grid-template-columns:1fr}.workspace-header{align-items:stretch}.workspace-header h1,.detail-header h1{font-size:26px}.family-alert-banner{grid-template-columns:auto minmax(0,1fr)}.family-alert-banner .primary-button{grid-column:1 / -1}.elder-snoozed-note{flex-wrap:wrap;text-align:center}.elder-snoozed-note div,.elder-snoozed-done{width:100%}.elder-status-grid{grid-template-columns:1fr}.elder-status-main{min-height:146px}.elder-card-title{display:grid;grid-template-columns:minmax(0,1fr) auto}.elder-card-title strong{font-size:25px}.elder-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.elder-card-actions{justify-content:stretch}.elder-card-actions button{flex:1 1 150px}.detail-header{grid-template-columns:1fr}.detail-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.detail-tabs button{min-width:0;gap:5px;padding:0 4px}.alert-item,.message-item{grid-template-columns:1fr}.alert-actions{justify-content:stretch}.alert-action-button{flex:1 1 112px}}@media(max-width:520px){.brand{font-size:19px}.brand-sub{display:none}.overview-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-stat{min-height:76px}.detail-status-strip{grid-template-columns:1fr}.detail-status-cell:first-child{grid-column:auto}.stat-grid{grid-template-columns:1fr}.elder-screen{padding:12px}.elder-screen-inner{min-height:calc(100vh - 24px);gap:14px}.app-elder .elder-clock{padding-top:78px}.elder-clock strong{font-size:58px}.elder-reminder-focus,.elder-next-box{padding:18px 14px}.elder-reminder-actions,.elder-actions{grid-template-columns:1fr;gap:10px}}.app-elder .elder-primary-button{border-color:#8f431b;background:#a14f23;color:#fff}.app-elder .elder-secondary-button{border-color:#c7832e;background:#fff6df;color:#7c4a12}.app-elder .elder-primary-button:hover{background:#8f431b}.app-elder .elder-secondary-button:hover{background:#ffedc2}.app-family .elder-card-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.camera-settings-panel .compact-form{grid-template-columns:minmax(120px,.8fr) minmax(120px,.8fr) minmax(220px,1.4fr) auto;align-items:end;margin:8px 0 12px}.camera-list{display:grid;gap:8px}.camera-row{min-height:72px;border:1px solid var(--mc-line);border-radius:8px;background:var(--mc-surface-soft);padding:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.app-family .elder-status-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,520px),1fr));gap:18px}.app-family .elder-status-card{min-height:0}.app-family .elder-status-main{min-height:196px;padding:20px;gap:20px}.app-family .elder-card-title{gap:16px}.app-family .elder-card-title strong{font-size:30px}.app-family .elder-card-title span{max-width:45%;text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.25}.app-family .elder-card-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.app-family .elder-card-metrics span{min-height:62px;padding:8px;text-align:center;line-height:1.2}.app-family .elder-card-alert{padding:16px 20px 18px;gap:14px}.app-family .elder-card-actions{justify-content:flex-start}.camera-row.disabled{opacity:.68}.camera-row strong,.camera-row span,.camera-row small{display:block}.camera-row span,.camera-row small{color:var(--mc-muted);font-size:12px;margin-top:3px}.camera-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.alert-camera-block{grid-column:1 / -1;display:grid;gap:10px;justify-items:start}.alert-action-button.camera{border-color:#d7a847;background:var(--mc-amber-soft);color:var(--mc-amber)}.camera-preview-grid{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.camera-preview-card{border:1px solid var(--mc-line);border-radius:8px;background:var(--mc-surface);padding:10px;display:grid;gap:8px}.camera-preview-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.camera-preview-card img,.camera-preview-placeholder{width:100%;aspect-ratio:16 / 9;border-radius:8px;border:1px solid var(--mc-line);background:#111827;object-fit:cover}.camera-preview-placeholder{color:#f9fafb;display:grid;place-items:center;text-align:center;padding:16px}.camera-preview-card small{color:var(--mc-muted);font-size:12px}.camera-status{border:1px solid var(--mc-line);border-radius:999px;background:var(--mc-offline-soft);color:var(--mc-offline);padding:3px 8px;font-size:12px;font-weight:800}.camera-status.online{border-color:#a8d8b8;background:var(--mc-green-soft);color:var(--mc-green)}.camera-status.offline{border-color:#eda39a;background:var(--mc-red-soft);color:var(--mc-red)}.camera-status.needs_bridge{border-color:#e7c475;background:var(--mc-amber-soft);color:var(--mc-amber)}.reliability-strip{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}.reliability-strip span{border:1px solid var(--mc-line);border-radius:999px;background:var(--mc-surface);color:var(--mc-muted);padding:5px 9px;font-size:12px;font-weight:800}@media(max-width:900px){.camera-settings-panel .compact-form,.camera-row{grid-template-columns:1fr}.camera-row-actions{justify-content:stretch}.camera-row-actions button{flex:1 1 110px}}.public-site{min-height:100vh;background:#f8f5ef;color:#203029}.public-header{position:sticky;top:0;z-index:30;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px clamp(18px,5vw,72px);border-bottom:1px solid #ddd6ca;background:#fffcf7f5}.public-brand,.public-nav a,.public-language-switcher button,.public-footer a,.public-support-box a,.public-legal a,.public-actions a,.public-support-actions a{color:inherit;text-decoration:none}.public-brand{display:inline-flex;align-items:center;gap:12px}.public-brand-mark{width:42px;height:42px;border:1px solid #eadfc8;border-radius:10px;background:#fff7e8;display:inline-grid;place-items:center;overflow:hidden}.public-brand-mark img{width:100%;height:100%;display:block}.public-brand strong,.public-brand small{display:block}.public-brand strong{font-size:18px}.public-brand small{color:#66756d;font-size:12px;font-weight:750}.public-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}.public-nav{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.public-nav a{min-height:36px;display:inline-flex;align-items:center;border-radius:8px;padding:0 12px;color:#5e6e66;font-size:14px;font-weight:800}.public-nav a:hover,.public-nav a.active{background:#e6f1ea;color:#245947}.public-language-switcher{min-height:40px;display:inline-flex;align-items:center;gap:3px;border:1px solid #ddd6ca;border-radius:999px;background:#fff8ea;padding:4px 6px;color:#715023}.public-language-switcher button{min-height:30px;border:0;border-radius:999px;background:transparent;color:#5e6e66;cursor:pointer;padding:0 10px;font-size:13px;font-weight:900}.public-language-switcher button:hover,.public-language-switcher button.active{background:#2f6f58;color:#fff}.public-hero{min-height:calc(100vh - 72px);display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,430px);align-items:center;gap:clamp(34px,6vw,92px);padding:clamp(42px,7vw,96px) clamp(18px,6vw,92px);background:linear-gradient(#f8f5efd6,#f8f5efe6),url(/app-icon-512.png) center / min(54vw,520px) no-repeat,#f8f5ef}.public-hero-copy{max-width:760px}.public-kicker{margin:0 0 10px;color:#a15a3d;font-size:14px;font-weight:900;text-transform:uppercase}.public-hero h1{margin:0;color:#182720;font-size:clamp(52px,9vw,112px);line-height:.95;font-weight:950}.public-hero p{max-width:690px;margin:24px 0 0;color:#4f6159;font-size:clamp(19px,2.2vw,28px);line-height:1.36;font-weight:750}.public-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.public-primary-link,.public-secondary-link{min-height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:0 18px;font-weight:900}.public-primary-link{background:#2f6f58;color:#fff!important}.public-secondary-link{border:1px solid #bf9c6a;background:#fff8ea;color:#715023!important}.public-device-preview{border:1px solid #d8d2c7;border-radius:26px;background:#fffdf8;box-shadow:0 24px 70px #28322c29;padding:24px;display:grid;gap:18px}.preview-status{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#64756d;font-weight:850}.preview-status strong{color:#17251f;font-size:44px;line-height:1}.preview-illustration{min-height:210px;border:3px solid #9bc4a9;border-radius:20px;background:#ecf7f0;color:#4b87a4;display:grid;place-items:center}.public-device-preview>span,.public-device-preview>b{text-align:center}.public-device-preview>span{color:#6d7b74;font-size:20px;font-weight:900}.public-device-preview>b{color:#17251f;font-size:31px;line-height:1.16}.preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-actions button{min-height:62px;border-radius:12px;border:2px solid #5a91ae;background:#edf6fb;color:#4b7890;font-size:19px;font-weight:900}.preview-actions button:first-child{border-color:#2f8a5f;background:#2f8a5f;color:#fff}.public-section{padding:clamp(44px,6vw,82px) clamp(18px,6vw,92px)}.public-section-soft{background:#fffdf8;border-top:1px solid #ded8ce;border-bottom:1px solid #ded8ce}.public-section-heading{max-width:880px;margin-bottom:28px}.public-section-heading h2,.public-band h2,.public-legal h1,.public-legal h2,.public-support-box h2{margin:0;color:#17251f}.public-section-heading h2{font-size:clamp(32px,5vw,56px);line-height:1.04}.public-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.public-feature{min-height:220px;border:1px solid #ddd6ca;border-radius:8px;background:#f8fbf7;padding:20px;display:grid;align-content:start;gap:12px}.public-feature-icon{width:42px;height:42px;border-radius:8px;background:#e8f2ec;color:#2f6f58;display:grid;place-items:center}.public-feature h3{margin:0;color:#1d2c27;font-size:20px}.public-feature p,.public-band p,.public-legal p,.public-legal li{color:#5b6a63;line-height:1.62;font-weight:650}.public-band{display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;max-width:980px;color:#a15a3d}.public-band p{margin:10px 0 0;font-size:18px}.public-legal{max-width:940px;margin:0 auto;padding:clamp(38px,7vw,78px) 18px}.public-legal header{border-bottom:1px solid #ded8ce;padding-bottom:24px;margin-bottom:26px}.public-legal h1{font-size:clamp(38px,6vw,72px);line-height:1}.public-legal header>p:last-child{max-width:760px;font-size:19px}.public-legal-body{display:grid;gap:26px}.public-legal section{border-bottom:1px solid #e5ded2;padding-bottom:22px}.public-legal h2{font-size:24px}.public-legal a{color:#2f6f58;font-weight:900}.public-support-box{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;border:1px solid #d8d2c7;border-radius:8px;background:#fffdf8;padding:20px;color:#2f6f58}.public-support-actions{display:flex;flex-wrap:wrap;gap:10px}.public-support-actions a{min-height:42px;display:inline-flex;align-items:center;gap:8px;border:1px solid #d8d2c7;border-radius:8px;background:#fffdf8;padding:0 12px;color:#31443d;font-weight:850}.public-footer{min-height:74px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:18px clamp(18px,6vw,92px);border-top:1px solid #ded8ce;background:#fffdf8;color:#5f6f67;font-size:14px;font-weight:800}.public-footer>span:first-child{color:#1d2c27;font-weight:950}.public-footer-note{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:#a15a3d}@media(max-width:920px){.public-header{align-items:flex-start;flex-direction:column}.public-header-tools,.public-nav{justify-content:flex-start}.public-hero{min-height:auto;grid-template-columns:1fr}.public-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.public-header{position:static}.public-nav a{padding:0 9px;font-size:13px}.public-language-switcher{align-self:flex-start;flex-wrap:wrap;border-radius:8px}.public-hero{padding-top:34px}.public-actions,.preview-actions,.public-band,.public-feature-grid{grid-template-columns:1fr}.public-actions{display:grid}.public-device-preview{padding:18px}.preview-status{align-items:flex-start;flex-direction:column}.preview-illustration{min-height:168px}.public-device-preview>b{font-size:25px}.public-feature{min-height:0}.public-footer-note{width:100%;margin-left:0}}
