.thumb>small{max-width:calc(100% - 8px);white-space:nowrap}.thumb .upload-error{bottom:32px;line-height:1.25;white-space:normal}:root{--paper:#fbf7ee;--surface:#fffdf8;--ink:#3b2b25;--muted:#75645b;--coral:#e96f55;--coral-soft:#fce4db;--sage:#71947c;--sage-soft:#e4eee5;--amber:#f8edc9;--line:#e8ded1;--danger:#b94f45}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#eee8df;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}button,textarea{font:inherit}button{color:inherit}.prototype-stage{min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:34px;padding:24px;background:radial-gradient(circle at 20% 10%,#fff8e8 0,transparent 30%),linear-gradient(145deg,#ece4da,#f7f2eb)}.phone-shell{position:relative;width:min(390px,calc(100vw - 28px));height:min(844px,calc(100dvh - 48px));min-height:680px;overflow:hidden;background:var(--paper);border:1px solid #d9cbbc;border-radius:38px;box-shadow:0 30px 80px #5e49352b,0 3px 10px #5e493524}.statusbar{height:34px;display:flex;align-items:end;justify-content:space-between;padding:0 21px 7px;font-size:11px;font-weight:700;background:#fffaf0cc}.app-scroll{height:calc(100% - 34px);overflow-y:auto;padding-bottom:calc(88px + env(safe-area-inset-bottom));scrollbar-width:none}.app-scroll::-webkit-scrollbar{display:none}.page-head{padding:25px 20px 18px;display:flex;align-items:flex-start;justify-content:space-between;background:linear-gradient(180deg,#fffaf0 0,var(--paper) 100%)}.page-head.compact{padding-bottom:12px}.page-head h1,.subpage h1,.review-result h1,.center-state h1{margin:2px 0 6px;font-size:25px;line-height:1.25;letter-spacing:-.02em}.page-head p,.subpage>p,.center-state>p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}.eyebrow{color:var(--coral)!important;font-size:11px!important;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.leaf-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:17px;background:var(--sage-soft);color:var(--sage)}.leaf-mark.amber{background:var(--amber);color:#b78337}.page-content{padding:0 20px 28px}.date-rule{display:flex;align-items:center;gap:12px;margin:8px 0 12px;color:var(--muted);font-size:13px;font-weight:700}.date-rule i{height:1px;flex:1;background:var(--line)}.record-card,.week-card{width:100%;border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:15px;text-align:left;box-shadow:0 8px 24px #6b4f3020;margin-bottom:18px}.record-card p{margin:12px 0;font-size:16px;line-height:1.72}.record-card>img{width:100%;height:178px;object-fit:cover;border-radius:15px}.record-card.quiet{box-shadow:none}.record-meta{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.record-meta svg{width:18px;margin-left:auto}.avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--coral-soft);color:#a74636;font-weight:800}.avatar.sage{background:var(--sage-soft);color:#4f725a}.photo-count{display:flex;align-items:center;gap:5px;margin-top:10px;color:var(--muted);font-size:12px}.photo-count svg{width:15px}.prototype-note{color:#9a887c;font-size:11px;text-align:center;line-height:1.5}.bottom-nav{position:absolute;z-index:20;left:0;right:0;bottom:0;height:calc(75px + env(safe-area-inset-bottom));padding:6px 5px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fffdf8f2;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.nav-item{min-width:44px;min-height:52px;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;white-space:nowrap}.nav-item svg{width:20px;height:20px}.nav-item.active{color:var(--coral);font-weight:800}.nav-add{color:var(--coral)}.plus-disc{width:40px;height:40px;display:grid;place-items:center;margin-top:-24px;border-radius:50%;color:#fff;background:var(--coral);box-shadow:0 8px 20px #e96f5566;border:3px solid var(--surface)}.plus-disc svg{width:21px}.disabled-nav{color:#a89c95}.disabled-nav small{font-size:8px;line-height:1;color:#94877f}.review-list{padding-top:6px}.week-card{padding:17px}.week-card.current{background:linear-gradient(145deg,#fffdf8,#fff4df);border-color:#efd7ad}.week-top{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.week-top b{color:#a56831;background:var(--amber);border-radius:99px;padding:3px 8px}.week-top b.done{color:#53725b;background:var(--sage-soft)}.week-card h2{margin:13px 0 6px;font-size:18px}.week-card p{color:var(--muted);font-size:13px;line-height:1.6}.week-card button,.secondary-btn{min-height:44px;border:0;padding:0;display:flex;align-items:center;gap:3px;background:none;color:var(--coral);font-weight:800;font-size:13px}.week-card button svg{width:17px}.subpage,.review-result,.center-state{min-height:100%;padding:20px 20px 120px;background:var(--paper)}.back{min-height:44px;display:flex;align-items:center;gap:6px;border:0;background:none;color:var(--muted);padding:0}.back svg{width:20px}.ai-disclosure{display:flex;gap:12px;background:var(--amber);padding:14px;border-radius:17px;margin:18px 0}.ai-disclosure svg{width:20px;flex:none;color:#b78337}.ai-disclosure strong{font-size:14px}.ai-disclosure p{margin:4px 0 0;color:#6d5b48;font-size:12px;line-height:1.6}.selection-head{display:flex;justify-content:space-between;margin:18px 0 10px;font-size:13px}.selection-head span{color:var(--muted);font-size:11px}.select-row{width:100%;min-height:74px;display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:15px;background:var(--surface);margin-bottom:9px;text-align:left}.select-row>span:last-child{display:flex;flex-direction:column;gap:5px}.select-row strong{font-size:14px;font-weight:650}.select-row small{color:var(--muted)}.check{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;border:1.5px solid #b9aba1;flex:none}.picked .check{background:var(--sage);border-color:var(--sage);color:#fff}.check svg{width:15px}.sticky-action,.sheet-submit{position:absolute;left:0;right:0;bottom:0;padding:12px 20px calc(18px + env(safe-area-inset-bottom));background:#fffdf8ee;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.sticky-action p,.sheet-submit p{margin:0 0 9px;text-align:center;color:var(--muted);font-size:11px}.sticky-action button,.sheet-submit button,.primary-btn{width:100%;min-height:50px;border:0;border-radius:16px;background:var(--coral);color:#fff;font-weight:800}.sticky-action button:disabled,.sheet-submit button:disabled{opacity:.38}.center-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding-bottom:50px}.center-state>p:not(.eyebrow){max-width:290px;margin-bottom:18px}.spinner,.state-icon{width:68px;height:68px;display:grid;place-items:center;border-radius:24px;background:var(--amber);color:#b78337;margin-bottom:20px}.spinner svg{animation:spin 1.8s linear infinite}.state-icon.error{background:var(--coral-soft);color:var(--danger)}@keyframes spin{to{transform:rotate(360deg)}}.center-state .secondary-btn{justify-content:center;padding:0 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.text-btn{min-height:44px;border:0;background:none;color:var(--muted)}.center-state .primary-btn{width:250px}.review-result h1{font-size:29px}.ai-label{display:inline-flex;align-items:center;gap:7px;margin:9px 0 18px;padding:7px 10px;border-radius:99px;background:var(--amber);color:#7a603b;font-size:11px}.ai-label svg{width:14px}.review-result section{padding:16px 2px;border-top:1px solid var(--line)}.review-result section h2{font-size:17px;margin:0 0 8px}.review-result section p{margin:0;font-size:15px;line-height:1.78;color:#584941}.review-result .sage-section,.review-result .boundary{border:0;border-radius:18px;padding:16px;background:var(--sage-soft);margin:10px 0}.review-result .boundary{background:#f1ece4}.profile{display:flex;align-items:center;gap:14px;padding:18px;border-radius:20px;background:linear-gradient(145deg,var(--coral-soft),#fff5e6)}.profile-avatar{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:var(--coral);color:#fff;font-weight:800}.profile h2,.profile p{margin:0}.profile p{margin-top:4px;color:var(--muted);font-size:13px}.menu-card{margin:16px 0;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:var(--surface)}.menu-card button{width:100%;min-height:55px;display:flex;align-items:center;gap:12px;padding:0 15px;border:0;border-bottom:1px solid var(--line);background:none}.menu-card button:last-child{border:0}.menu-card svg{width:19px;color:var(--sage)}.menu-card button svg:last-child{margin-left:auto;color:#ad9f95}.logout{width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ecc9c4;border-radius:16px;background:#fff7f5;color:var(--danger)}.sheet-layer{position:absolute;z-index:50;inset:0;background:#3b2b2559;display:flex;align-items:flex-end}.sheet{position:relative;width:100%;height:min(760px,94%);overflow:hidden;border-radius:28px 28px 0 0;background:var(--paper);box-shadow:0 -20px 50px #3b2b2530}.sheet-head{height:54px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:0 12px;border-bottom:1px solid var(--line);text-align:center}.sheet-head button{width:44px;height:44px;border:0;background:none}.sheet-head svg{width:21px}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:12px 16px 0;padding:4px;border-radius:14px;background:#efe8de}.mode-tabs button{min-height:45px;border:0;border-radius:11px;background:none;color:var(--muted);font-weight:700}.mode-tabs button.active{background:var(--surface);color:var(--ink);box-shadow:0 3px 10px #6b4f3018}.mode-tabs small{display:block;font-size:9px;color:#9c8d83}.composer-body{height:calc(100% - 190px);overflow:auto;padding:18px 18px 130px}.composer-body label{display:block;font-size:15px;font-weight:750;margin-bottom:10px}textarea{width:100%;min-height:150px;resize:none;border:1px solid var(--line);border-radius:17px;background:var(--surface);padding:14px;color:var(--ink);font-size:16px;line-height:1.7;outline:none}textarea:focus{border-color:var(--coral);box-shadow:0 0 0 3px var(--coral-soft)}.chips{display:flex;gap:7px;overflow-x:auto;margin:11px 0;padding-bottom:3px;scrollbar-width:none}.chips button{min-height:40px;flex:none;border:1px solid #ead7c7;border-radius:99px;background:#fff8ed;padding:0 12px;color:#775f52;font-size:12px}.photo-strip{display:flex;gap:10px;margin-top:16px}.add-photo{width:74px;height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #cbbcad;border-radius:14px;background:#fffaf2;color:var(--muted);font-size:11px}.add-photo svg{width:20px}.add-photo small{font-size:9px;margin-top:2px}.thumb{position:relative;width:74px;height:74px}.thumb img{width:100%;height:100%;object-fit:cover;border-radius:14px}.thumb button{position:absolute;right:-5px;top:-5px;width:24px;height:24px;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:var(--ink);color:#fff}.thumb svg{width:12px}.sheet-submit p{display:flex;align-items:center;justify-content:center;gap:5px}.sheet-submit p svg{width:14px;color:var(--sage)}.help-placeholder{padding:24px 25px;text-align:center}.help-placeholder img{width:100%;height:200px;object-fit:contain}.help-placeholder h2{font-size:20px;line-height:1.45;margin:5px 0 10px}.help-placeholder>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.7}.help-placeholder .secondary-btn{margin:14px auto;justify-content:center;gap:7px}.help-placeholder svg{width:18px}.detail-overlay{position:absolute;z-index:45;inset:0;background:var(--paper);overflow:auto}.detail-author{display:flex;gap:10px;align-items:center;margin:20px 0}.detail-author>div{display:flex;flex-direction:column}.detail-author small{color:var(--muted);margin-top:3px}.detail-copy{font-size:17px;line-height:1.85}.detail-photo{width:100%;border-radius:18px;margin:8px 0 20px}.delete-link{min-height:48px;display:flex;align-items:center;gap:7px;border:0;background:none;color:var(--danger);margin:0 auto}.delete-link svg{width:18px}.live-notice{position:absolute;z-index:80;left:50%;bottom:100px;transform:translate(-50%,12px);opacity:0;pointer-events:none;padding:10px 16px;border-radius:99px;background:#3b2b25e8;color:#fff;font-size:12px;white-space:nowrap;transition:.2s ease}.live-notice.visible{opacity:1;transform:translate(-50%)}.offline-bar{position:absolute;z-index:25;top:34px;left:0;right:0;min-height:34px;display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 12px;background:#5d4f48;color:#fff;font-size:10px}.offline-bar svg{width:14px}.device-tools{position:fixed;left:20px;top:20px;display:flex;flex-direction:column;gap:8px;color:#79685d;font-size:11px}.device-tools button{min-height:40px;display:flex;align-items:center;gap:6px;border:1px solid #d8c9ba;border-radius:12px;background:#fffaf2;padding:0 12px}.device-tools button.on{background:#5d4f48;color:#fff}.device-tools svg{width:15px}.prototype-guide{width:280px;padding:24px;border:1px solid #dccdbf;border-radius:24px;background:#fffaf2c9;box-shadow:0 18px 50px #6b4f3015}.prototype-guide h2{margin:4px 0 14px;font-size:20px}.prototype-guide ol{padding-left:20px;margin:0;color:#66564d;font-size:13px;line-height:1.7}.prototype-guide li{margin:7px 0}.scope-note{margin-top:18px;padding:13px;border-radius:14px;background:var(--sage-soft);font-size:12px}.scope-note p{margin:4px 0 0;line-height:1.6}@media(max-width:900px){.prototype-guide,.device-tools{display:none}.prototype-stage{padding:0;background:var(--paper)}.phone-shell{width:100vw;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}}@media(max-width:370px){.page-head,.page-content,.subpage,.review-result{padding-left:16px;padding-right:16px}.nav-item{font-size:9px}.bottom-nav{padding-left:1px;padding-right:1px}.record-card>img{height:158px}.sheet{height:96%}}@media(min-width:421px)and (max-width:900px){.page-head,.page-content,.subpage,.review-result{padding-left:22px;padding-right:22px}.record-card>img{height:205px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}.current-review{margin:2px 0 22px;padding:16px;border:1px solid #efd7ad;border-radius:20px;background:linear-gradient(145deg,#fffdf8,#fff2d8);box-shadow:0 8px 24px #6b4f3018}.review-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.review-card-head>div{display:flex;flex-direction:column;gap:5px}.review-card-head strong{font-size:16px}.review-kicker{display:flex;align-items:center;gap:5px;color:#8b6737;font-size:11px;font-weight:800}.review-kicker svg{width:14px}.status-pill{flex:none;padding:4px 8px;border-radius:99px;background:var(--amber);color:#8b6737;font-size:10px;font-weight:800}.current-review p{margin:12px 0;color:#69574d;font-size:13px;line-height:1.6}.review-primary{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:4px;border:0;border-radius:14px;background:var(--coral);color:#fff;font-size:13px;font-weight:800}.review-primary svg{width:16px}.review-history{width:100%;min-height:40px;margin-top:4px;border:0;background:none;color:#806f64;font-size:12px;font-weight:700}.direct-sheet{height:min(700px,90%)}.direct-sheet .composer-body{height:calc(100% - 54px);padding-top:20px}.week-head{padding-bottom:10px}.week-controls{display:grid;grid-template-columns:44px 1fr 44px 44px;align-items:center;gap:2px;padding:0 16px}.week-controls button{width:44px;height:44px;display:grid;place-items:center;border:0;background:none;border-radius:12px}.week-controls button[aria-disabled=true]{color:#c7bbb2}.week-controls svg{width:19px}.week-controls strong{text-align:center;font-size:14px}.back-current{display:block;min-height:38px;margin:0 auto;border:0;background:none;color:var(--coral);font-size:12px;font-weight:800}.day-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:4px 16px 13px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;background:#fbf7eef2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.day-strip button{position:relative;min-width:40px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;border-radius:14px;background:none}.day-strip small{font-size:10px;color:var(--muted)}.day-strip b{font-size:14px}.day-strip i{width:4px;height:4px;border-radius:50%;background:var(--sage)}.day-strip button.selected{background:var(--coral);color:#fff}.day-strip button.selected small{color:#fff8f2}.day-strip button.selected i{background:#fff}.cross-week{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;margin:0 0 12px;border:1px dashed #d7c6b6;border-radius:14px;background:#fffaf2;color:#77665b;font-size:12px;font-weight:700}.cross-week svg{width:16px}.bottom-cross{margin-top:12px}.day-empty{padding:18px;text-align:center;border:1px dashed var(--line);border-radius:16px;color:var(--muted);font-size:12px}.calendar-sheet{width:100%;height:min(570px,74%);border-radius:28px 28px 0 0;background:var(--paper);box-shadow:0 -20px 50px #3b2b2530}.calendar-title{height:58px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:0 16px}.calendar-title button{width:44px;height:44px;border:0;background:none}.calendar-title svg{width:18px}.calendar-title strong{text-align:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;padding:4px 18px}.calendar-grid>small{text-align:center;color:var(--muted);font-size:11px}.calendar-grid button{position:relative;min-width:40px;min-height:44px;display:grid;place-items:center;border:0;border-radius:12px;background:none}.calendar-grid button.today{background:var(--coral-soft);color:#9e4837;font-weight:800}.calendar-grid button.outside{color:#ad9f95}.calendar-grid i{position:absolute;bottom:5px;width:4px;height:4px;border-radius:50%;background:var(--sage)}.calendar-sheet>p{margin:16px 22px;color:var(--muted);font-size:11px;text-align:center}.status-pill.done{background:var(--sage-soft);color:#53725b}@media(max-width:370px){.week-controls,.day-strip{padding-left:10px;padding-right:10px}.day-strip button{min-width:38px}.calendar-grid{padding-left:12px;padding-right:12px}}.app-scroll{overscroll-behavior-y:contain}.calendar-head{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:14px;background:#fff7e8;color:#8b6737}.calendar-head svg{width:20px}.compact-week{grid-template-columns:44px repeat(7,minmax(0,1fr)) 44px;padding-left:8px;padding-right:8px}.compact-week .week-arrow{min-width:44px;width:44px}.compact-week .week-arrow svg{width:19px}.compact-week .week-arrow[aria-disabled=true]{color:#c8bcb4;background:none}.calendar-grid button[aria-disabled=true]{color:#c8bcb4;background:none;cursor:not-allowed}.direct-sheet .chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;width:100%;padding:0;margin:12px 0}.direct-sheet .chips button{width:100%;min-width:0;min-height:44px;height:auto;padding:8px 10px;white-space:normal;text-align:center;line-height:1.45}.login-prototype{min-height:100%;padding:28px 20px calc(32px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#fffaf0 0,#fbf7ee 44%)}.login-prototype>img{display:block;width:100%;height:180px;object-fit:contain;margin:0 auto 8px}.login-prototype h1{margin-top:5px}.login-prototype>p:not(.eyebrow):not(.login-note){color:var(--muted);font-size:14px;line-height:1.7}.login-prototype label{display:block;margin:20px 0 0;font-size:14px;font-weight:750}.login-prototype input{width:100%;min-height:50px;margin-top:8px;padding:0 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);font-size:16px}.login-prototype .primary-btn{margin-top:22px}.login-note{margin:15px 0 0;color:#97877b;font-size:11px;text-align:center;line-height:1.55}@media(max-width:370px){.compact-week{grid-template-columns:40px repeat(7,minmax(0,1fr)) 40px;padding-left:2px;padding-right:2px}.compact-week .week-arrow{min-width:40px;width:40px}.compact-week button:not(.week-arrow){min-width:36px}.direct-sheet .chips{gap:6px}.direct-sheet .chips button{padding:7px 6px;font-size:11px}}.detail-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 20px}.detail-photo-tile{min-width:0;aspect-ratio:1;overflow:hidden;padding:0;border:0;border-radius:13px;background:#efe8de}.detail-photo-tile:focus-visible{outline:3px solid var(--coral);outline-offset:2px}.detail-photo-tile img{display:block;width:100%;height:100%;object-fit:cover}.detail-photo-viewer{position:fixed;z-index:160;inset:var(--sheet-viewport-offset-top,0) 0 auto;height:var(--sheet-viewport-height,100dvh);display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(430px,100vw);margin:0 auto;padding:env(safe-area-inset-top) 12px calc(14px + env(safe-area-inset-bottom));background:#241d1aef;color:#fff}.detail-photo-viewer-head{display:flex;min-height:56px;align-items:center;justify-content:space-between;padding-left:8px;font-size:13px}.detail-photo-viewer-head button{display:grid;width:44px;height:44px;place-items:center;padding:0;border:0;border-radius:50%;background:#ffffff1f;color:#fff}.detail-photo-viewer-head svg{width:22px}.detail-photo-viewer-image{position:relative;display:grid;min-height:0;place-items:center;overflow:hidden}.detail-photo-viewer-image img{grid-area:1/1;display:block;max-width:100%;max-height:100%;object-fit:contain}.detail-photo-preview{opacity:.72;filter:blur(1px)}.detail-photo-original{opacity:0;transition:opacity .18s ease}.detail-photo-original.is-loaded{opacity:1}.detail-photo-viewer-status{min-height:32px;margin:8px 0 0;color:#eee4dc;font-size:12px;text-align:center}.detail-photo-viewer-status.is-loaded{visibility:hidden}.account-page>.logout,.account-subpage>.logout{width:auto;min-width:132px;min-height:44px;margin:18px auto 0;padding:0 16px;font-size:13px;font-weight:750;line-height:1;white-space:nowrap}.account-page>.logout svg,.account-subpage>.logout svg{width:18px;height:18px;flex:0 0 18px}.app-underlay{height:calc(100% - 34px)!important}.calendar-grid .review-marker{width:6px!important;height:9px!important;border-radius:6px 0!important;transform:rotate(-35deg)}#root{min-height:100dvh}.app-underlay{height:100%;position:relative}.app-underlay>.app-scroll{height:100%}.runtime-portal,.runtime-fullpage,.auth-overlay{position:fixed;inset:var(--sheet-viewport-offset-top,0) 0 auto;height:var(--sheet-viewport-height,100dvh);z-index:100}.runtime-fullpage{overflow:auto;background:var(--paper);width:min(430px,100vw);margin:0 auto}.runtime-portal{align-items:flex-end}.runtime-portal>.sheet,.runtime-portal>.calendar-sheet{width:min(430px,100vw);margin:0 auto}.runtime-error,.runtime-notice{margin:12px 0;padding:12px 14px;border-radius:14px;font-size:13px;line-height:1.55}.runtime-error{background:var(--coral-soft);color:#873d33}.runtime-notice{background:var(--sage-soft);color:#496653}.runtime-error small{display:block;margin-top:4px}.runtime-error button{display:block;min-height:44px;margin-top:6px;border:0;background:none;color:inherit;font-weight:800}.timeline-loading{display:flex;align-items:center;justify-content:center;gap:8px;min-height:120px;color:var(--muted)}.timeline-loading svg{width:20px;animation:spin 1.8s linear infinite}.timeline-day-group{scroll-margin-top:72px}.runtime-new-card{box-shadow:none;background:#fff8ed;border-style:dashed}.runtime-new-card .avatar svg{width:18px}.compact-week button:disabled{opacity:.55}.compact-week .week-arrow[aria-disabled=true]{pointer-events:none}.request-id{font-size:11px!important}.calendar-grid .review-marker{background:var(--sage)}.runtime-composer-form{height:calc(100% - 54px)}.runtime-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.photo-strip{flex-wrap:wrap}.timeline-media-previews{display:flex;gap:8px;min-height:72px;margin-top:12px}.timeline-thumbnail{position:relative;display:block;flex:0 0 72px;width:72px;height:72px;overflow:hidden;border-radius:12px;background:#efe8de}.timeline-thumbnail-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#a89a90}.timeline-thumbnail-placeholder svg{width:22px;height:22px}.timeline-thumbnail img{position:absolute;inset:0;width:72px;height:72px;object-fit:cover;opacity:0}.timeline-thumbnail.is-loaded img{opacity:1}.timeline-thumbnail.is-loaded .timeline-thumbnail-placeholder{display:none}.timeline-thumbnail-overflow{position:absolute;inset:0;display:grid;place-items:center;background:#3b2b2599;color:#fff;font-size:16px;font-weight:800}.thumb>small{position:absolute;left:4px;bottom:4px;padding:2px 4px;border-radius:6px;background:#3b2b25cc;color:#fff;font-size:9px}.thumb .retry-photo{inset:auto 5px 5px;width:auto;height:24px;border:0;border-radius:8px;background:var(--coral);font-size:10px}.upload-failed img{opacity:.55}.sheet-submit>.submit-reason{display:block;text-align:center;color:var(--danger);font-size:10px;margin-top:5px}.runtime-confirm-layer{position:fixed;z-index:140;inset:0;display:grid;place-items:center;padding:20px;background:#3b2b2573}.runtime-confirm{width:min(330px,100%);padding:20px;border-radius:20px;background:var(--surface);box-shadow:0 20px 60px #3b2b2540}.runtime-confirm h2{margin:0 0 8px;font-size:20px}.runtime-confirm p{color:var(--muted);line-height:1.65}.runtime-confirm>div{display:flex;justify-content:flex-end;gap:8px}.runtime-confirm button{min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.runtime-confirm .confirm-danger{border-color:#ecc9c4;background:#fff7f5;color:var(--danger)}.record-boundary{padding:14px;border-radius:16px;background:var(--sage-soft);color:#496653;font-size:12px;line-height:1.7}.review-result .select-row{display:flex}.review-result .select-row>svg{margin-left:auto;width:18px}.unavailable-source{opacity:.72}.deleted-card>small{display:block;color:var(--muted)}.inline-actions{display:flex;gap:12px;align-items:center}.inline-actions>button{min-height:44px;border:0;background:none;color:var(--coral);font-weight:800}.account-subpage,.account-page{padding-bottom:110px}.account-form label{display:block;margin:18px 0;font-weight:750}.account-form input{width:100%;min-height:50px;margin-top:8px;padding:0 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);font-size:16px}.menu-card button>span{display:flex;flex:1;flex-direction:column;align-items:flex-start}.menu-card button small{margin-top:3px;color:var(--muted)}.auth-overlay{background:var(--paper);overflow:auto;width:min(430px,100vw);margin:0 auto}.login-prototype form{margin:0}.runtime-error+button{margin-top:8px}@media(max-width:900px){.runtime-fullpage,.runtime-portal>.sheet,.runtime-portal>.calendar-sheet,.auth-overlay{width:100vw}}@media(prefers-reduced-motion:reduce){.timeline-loading svg{animation-duration:.01ms}}.family-members-page h2{font-size:17px}.family-section{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.family-section>h2,.family-section .section-heading{margin-top:0}.family-list li{display:flex;align-items:center;gap:11px;min-height:58px;padding:9px 0;border-bottom:1px solid var(--line)}.family-list li>div{display:flex;flex:1;flex-direction:column;gap:4px}.family-list small{color:var(--muted)}.family-list button,.invite-result button{min-height:44px;border:0;background:none;color:var(--coral);font-weight:800}.challenge-list code{width:max-content;padding:5px 9px;border-radius:8px;background:var(--amber);font-size:19px;letter-spacing:.12em}.account-form select,.family-regenerate input,.invite-result input{width:100%;min-height:50px;margin-top:8px;padding:0 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);font-size:16px}.family-regenerate{position:fixed;z-index:150;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #3b2b2573}.family-regenerate label{display:block;margin:12px 0}.invite-result{position:sticky;bottom:12px;padding:16px;border:1px solid #d7c48e;border-radius:18px;background:#fff8df;box-shadow:0 12px 34px #3b2b2526}.invite-result h2{margin-top:0}.invite-result input{font-size:12px}.family-members-page{padding:0 18px 120px;background:var(--paper)}.family-hero{margin:0 -18px 18px;padding:10px 18px 20px;border-bottom:1px solid #eee4d7;background:linear-gradient(180deg,#fffaf0,var(--paper))}.family-nav{display:grid;min-height:48px;grid-template-columns:72px minmax(0,1fr) 72px;align-items:center}.family-nav h1{margin:0;text-align:center;font-size:22px}.family-hero>p{max-width:300px;margin:7px auto 0;color:var(--muted);font-size:13px;line-height:1.6;text-align:center}.family-back{min-width:0;min-height:44px;padding:0;border:0;background:transparent;color:var(--coral);font-size:14px;font-weight:800;text-align:left}.family-panel{margin:14px 0;padding:17px;border:1px solid #e6ddcf;border-radius:22px;background:linear-gradient(155deg,#fffefa,#fffaf2);box-shadow:0 10px 30px #5f4b3212}.family-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px}.family-panel-heading h2{margin:0;font-size:20px}.family-kicker{margin:0 0 3px;color:#a36645;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.family-count,.family-status,.family-role-badge{display:inline-flex;align-items:center;width:max-content;border-radius:99px;font-weight:750;white-space:nowrap}.family-count{min-height:28px;padding:0 10px;background:var(--coral-soft);color:#9a513f;font-size:11px}.family-count.is-warm{background:#fff0d5;color:#946333}.family-role-badge{min-height:21px;padding:0 7px;background:#fff0e7;color:#a65b46;font-size:10px}.family-status{min-height:21px;padding:0 7px;background:#fff0d5;color:#8b6732;font-size:10px}.family-list{list-style:none;margin:0;padding:0}.family-list li{display:flex;min-height:66px;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eee7dc}.family-list li:last-child{border-bottom:0}.family-avatar{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border-radius:15px;background:#eee5d9;color:#766456;font-weight:800}.family-avatar.is-admin{background:linear-gradient(145deg,#f9d8cb,#f2b8a5);color:#934a38}.family-avatar.is-pending{border:1px dashed #c9b57d;background:#fff8df;color:#896d35}.family-person{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}.family-person small{margin:0;color:var(--muted);font-size:12px}.family-name-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.family-name-line strong{font-size:15px}.family-row-action{min-width:auto;min-height:40px;padding:0 4px;border:0;background:transparent;color:var(--coral);font-size:12px;font-weight:800}.family-pending{border-color:#eadfc3;background:linear-gradient(155deg,#fffefa,#fff9e8)}.family-primary-action{display:grid;width:100%;min-height:76px;grid-template-columns:46px minmax(0,1fr) 20px;gap:12px;align-items:center;margin:16px 0;padding:12px 15px;border:0;border-radius:21px;background:linear-gradient(135deg,#e98970,#da6c53);color:#fff;text-align:left;box-shadow:0 12px 28px #d96c5338}.family-primary-action>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}.family-primary-action strong{font-size:15px}.family-primary-action small{margin:0;color:#fff2ed;font-size:11px}.family-action-icon,.family-verification-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:14px;background:#ffffff24;font-size:25px;font-weight:300}.family-action-chevron{font-size:22px;text-align:center}.family-invite-panel{border-color:#eadfd2;background:#fffefa}.family-panel-copy{margin:0;color:var(--muted);font-size:13px}.family-close{width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:0;border-radius:12px;background:#f2ece3;color:#76665b;font-size:24px}.family-invite-form label{margin:15px 0 0;font-size:13px}.family-invite-form input,.family-invite-form select{margin-top:7px;border-color:#dfd7cb;background:#fff}.family-form-note{margin:8px 0 0;color:var(--muted);font-size:11px}.family-invite-form .primary-btn{width:100%;min-height:50px;margin-top:18px;border:0;border-radius:16px;background:var(--coral);color:#fff;font-weight:800}.family-verification{padding:0;overflow:hidden;box-shadow:none}.family-disclosure{display:grid;width:100%;min-height:74px;grid-template-columns:42px minmax(0,1fr) auto 20px;gap:11px;align-items:center;padding:12px 15px;border:0;background:transparent;text-align:left}.family-disclosure>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}.family-disclosure strong{font-size:15px}.family-disclosure small{margin:0;color:var(--muted);font-size:11px}.family-verification-icon{background:var(--amber);color:#9a7136;font-size:17px}.family-notice-count{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:var(--coral);color:#fff;font-size:11px;font-weight:800}.family-verification-content{padding:0 15px 15px;border-top:1px solid #eee7dc}.family-inline-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.family-inline-heading p{margin:12px 0;color:var(--muted);font-size:11px}.family-inline-heading button{min-height:40px;padding:0 5px;border:0;background:transparent;color:var(--coral);font-size:12px;font-weight:800}.family-empty{display:grid;place-items:center;padding:18px 10px;text-align:center}.family-empty>span{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:var(--amber);color:#9a7136}.family-empty p{margin:9px 0 0;font-weight:800}.family-empty small{margin-top:2px;font-size:11px}.family-members-page .runtime-confirm{width:min(360px,calc(100% - 32px));padding:22px;border-radius:24px}.family-members-page .family-regenerate{position:static;inset:auto;transform:none;box-shadow:0 20px 60px #3b2b2540}.family-regenerate label{font-size:13px}.family-regenerate>div{margin-top:18px}.family-regenerate .primary{width:auto;margin:0;border-color:var(--coral);background:var(--coral)}.family-members-page .invite-result{position:static;bottom:auto;border-color:#eadfd2;background:#fffefa;box-shadow:0 20px 60px #3b2b2540;text-align:center}.invite-success-mark{display:grid;width:52px;height:52px;margin:0 auto 14px;place-items:center;border-radius:18px;background:var(--coral-soft);color:#a65b46;font-size:24px;font-weight:800}.invite-result p{color:var(--muted);font-size:13px}.invite-result label{display:block;margin-top:16px;text-align:left;font-size:12px;font-weight:750}.invite-result input{font-size:11px}.invite-result .invite-copy{width:100%;margin-top:12px;border-radius:14px;background:var(--coral);color:#fff}.invite-result .invite-done{width:100%;margin-top:5px;color:var(--muted)}@media(max-width:370px){.family-members-page{padding-right:14px;padding-left:14px}.family-hero{margin-right:-14px;margin-left:-14px;padding-right:14px;padding-left:14px}.family-nav{grid-template-columns:66px minmax(0,1fr) 66px}.family-panel{padding:14px}.family-row-action{font-size:11px}.family-count{padding:0 8px}.family-avatar{width:40px;height:40px;flex-basis:40px}}.family-members-page{min-height:100%;padding:0 18px 120px;background:var(--paper)}.family-hero{margin:0 -18px 14px;padding:7px 18px 12px;border:0;background:linear-gradient(180deg,#fffaf0,var(--paper))}.family-nav{display:grid;min-height:48px;grid-template-columns:70px minmax(0,1fr) 70px;align-items:center}.family-nav h1{margin:0;text-align:center;font-size:21px}.family-hero>p{margin:0;color:var(--muted);text-align:center;font-size:12px}.family-back{min-height:44px;padding:0;border:0;background:transparent;color:var(--coral);text-align:left;font-weight:800}.family-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:0 0 14px;padding:4px;border:1px solid var(--line);border-radius:17px;background:var(--surface)}.family-modules button{min-width:0;min-height:48px;padding:6px 4px;display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:13px;background:transparent;color:var(--muted);font-size:12px}.family-modules button[aria-selected=true]{background:var(--coral-soft);color:#a94e3d;font-weight:800}.family-modules svg{width:17px;height:17px}.family-loading{display:grid;min-height:220px;place-items:center;align-content:center;color:var(--muted)}.family-loading span{width:30px;height:30px;border:3px solid var(--coral-soft);border-top-color:var(--coral);border-radius:50%;animation:spin 1s linear infinite}.family-loading p{font-size:13px}.family-module-panel{margin:0;padding:0}.family-module-heading{margin:0 2px 12px}.family-module-heading h2,.family-form-heading h2{margin:0;font-size:23px}.family-module-heading>p:last-child,.family-form-heading>div>p:last-child{margin:5px 0 0;color:var(--muted);font-size:12px}.family-kicker{margin:0 0 3px;color:#a45b45;font-size:10px;font-weight:800;letter-spacing:.08em}.family-card-list{margin:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 7px 20px #5f4b320d;list-style:none}.family-card-list li{min-height:62px;padding:9px 12px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #eee7dc}.family-card-list li:last-child{border-bottom:0}.family-card-list li>div{display:flex}.family-avatar{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:13px;background:var(--coral-soft);color:#a44d3c;font-weight:800}.family-avatar.is-pending{border:1px dashed #aa7a37;background:var(--surface);color:#896d35}.family-person{min-width:0;flex:1;flex-direction:column;gap:3px;text-align:left}.family-person strong{font-size:14px}.family-person small{margin:0;color:var(--muted);font-size:11px}.family-name-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;text-align:left}.family-role-badge,.family-status{display:inline-flex;min-height:20px;align-items:center;padding:0 6px;border-radius:99px;background:var(--coral-soft);color:#a65b46;font-size:10px;font-weight:750;white-space:nowrap}.family-status{background:var(--amber);color:#80602f}.family-status.is-expired{background:#f5e6e2;color:#9a5045}.family-row-action{min-width:auto;min-height:44px;padding:0 2px 0 10px;border:0;background:transparent;color:var(--coral);font-size:12px;font-weight:800;white-space:nowrap}.family-list-empty{margin:0;padding:22px 14px;border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--muted);text-align:center;font-size:12px}.family-primary-action,.family-submit{width:100%;min-height:50px;margin-top:12px;padding:0 16px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:15px;background:var(--coral);color:#fff;font-weight:800;box-shadow:0 8px 20px #d96c5338}.family-primary-action svg{width:17px}.family-submit:disabled{opacity:.45;box-shadow:none}.family-invite-form{display:grid;gap:12px}.family-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 2px 2px}.family-close{width:40px;height:40px;min-width:40px;min-height:40px;padding:0;display:grid;place-items:center;border:0;border-radius:13px;background:var(--coral-soft);color:#a94e3d}.family-close svg{width:18px}.family-field{display:grid;gap:6px;margin:0;font-size:12px;font-weight:750}.family-field>input,.family-phone-row>input{width:100%;min-height:48px;margin:0;padding:0 13px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:16px}.family-relationship-picker{min-height:58px;margin:0;padding:8px 12px;display:grid;grid-template-columns:36px minmax(0,1fr) 18px;gap:10px;align-items:center;border-radius:15px;background:#f7efe7}.family-choice-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:var(--surface);color:#a94e3d}.family-choice-icon svg,.family-relationship-picker>svg{width:17px}.family-relationship-picker>span:nth-child(2){min-width:0;display:grid;gap:2px}.family-relationship-picker small,.family-fixed-relation small{color:var(--muted);font-size:11px;font-weight:400}.family-relationship-picker select{width:100%;min-height:24px;margin:0;padding:0;border:0;appearance:none;background:transparent;font-size:14px;font-weight:800}.family-relationship-picker>svg{color:var(--muted);transform:rotate(90deg);pointer-events:none}.family-fixed-relation{min-height:54px;padding:9px 12px;display:flex;align-items:center;gap:10px;border-radius:15px;background:#f7efe7}.family-fixed-relation>span:last-child{display:grid;gap:2px}.family-fixed-relation strong{font-size:14px}.family-phone-row{display:grid;grid-template-columns:98px minmax(0,1fr);gap:8px}.family-country{min-height:48px;display:flex;align-items:center;border:1px solid var(--line);border-radius:14px;background:#f7efe7}.family-country select{width:100%;height:46px;margin:0;padding:0 8px;border:0;background:transparent;font-size:14px;font-weight:750}.family-form-note{margin:-4px 1px 0;color:var(--muted);font-size:11px}.family-connection-note{margin:0;padding:10px 12px;display:flex;align-items:flex-start;gap:8px;border-radius:13px;background:var(--amber);color:#80602f;font-size:11px;line-height:1.55}.family-connection-note>span{width:16px;height:16px;flex:0 0 16px;display:grid;place-items:center;margin-top:1px;border:1px solid currentColor;border-radius:50%;font-size:10px;font-weight:800}.family-submit{margin-top:0}.family-empty{min-height:270px;padding:28px 22px;display:grid;place-items:center;align-content:center;border:1px solid var(--line);border-radius:20px;background:var(--surface);text-align:center}.family-empty>span{width:50px;height:50px;display:grid;place-items:center;border-radius:17px;background:var(--amber);color:#8f6a30}.family-empty>span svg{width:23px}.family-empty h3{margin:13px 0 5px;font-size:17px}.family-empty p{max-width:250px;margin:0;color:var(--muted);font-size:12px}.family-empty button{min-height:44px;padding:0;border:0;background:transparent;color:var(--coral);font-weight:800}.challenge-list code{width:max-content;margin-top:3px;padding:7px 10px;border-radius:10px;background:var(--amber);font-size:20px;letter-spacing:.14em}.family-members-page .runtime-confirm-layer{right:auto;left:50%;width:min(430px,100vw);transform:translate(-50%)}.family-members-page .invite-result{position:static;width:min(360px,calc(100% - 32px));padding:22px;border:0;border-radius:24px;background:var(--surface);box-shadow:0 20px 60px #3b2b2540;text-align:center}.invite-success-mark{width:50px;height:50px;margin:0 auto 12px;display:grid;place-items:center;border-radius:17px;background:var(--coral-soft);color:#a65b46}.invite-success-mark svg{width:22px}.invite-result .family-kicker{margin-bottom:4px}.invite-result h2{margin:0}.invite-result p{color:var(--muted);font-size:12px}.invite-result label{display:block;margin-top:14px;text-align:left;font-size:12px;font-weight:750}.invite-result input{width:100%;min-height:48px;margin-top:6px;padding:0 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:11px}.invite-result .invite-copy{width:100%;min-height:48px;margin-top:12px;border:0;border-radius:14px;background:var(--coral);color:#fff;font-weight:800}.invite-result .invite-done{width:100%;min-height:44px;margin-top:4px;border:0;background:transparent;color:var(--muted)}@media(max-width:370px){.family-members-page{padding-right:14px;padding-left:14px}.family-hero{margin-right:-14px;margin-left:-14px;padding-right:14px;padding-left:14px}.family-nav{grid-template-columns:66px minmax(0,1fr) 66px}.family-card-list li{padding-right:10px;padding-left:10px}.family-phone-row{grid-template-columns:92px minmax(0,1fr)}}
