:root{font-family:DM Sans,sans-serif;color:#f5f8fa;background:#0c1014;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color-scheme:dark;--surface: #12191f;--raised: #202b34;--line: #3a4752;--muted: #a9bbc7;--accent: #36d9a0;--accent-ink: #0c1715;--text: #f5f8fa;--background: #0c1014;--protein: #c4a1ff;--carbs: #65c8ff;--fat: #ffb56b}html{background:var(--background);color:var(--text)}body{color:var(--text);background:var(--background)}.brand-image{width:34px;height:34px;object-fit:contain;margin-right:9px}.app-announcement{margin:12px 24px;padding:13px 16px;border:1px solid var(--line);border-radius:var(--app-radius,16px);background:var(--raised);color:var(--accent);font-size:12px;line-height:1.7}.water-card,.balance-card,.settings-card,.progress-card,.library-card{border-radius:var(--app-radius,16px)}[hidden]{display:none!important}html[data-reduced-motion=true] *,html[data-reduced-motion=true] *:before,html[data-reduced-motion=true] *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.4}a{color:inherit}::selection{background:var(--accent);color:#20271d}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin-top:0}.app-shell{max-width:480px;min-height:100dvh;margin:auto;background:var(--surface)}.app-main{padding-bottom:calc(119px + env(safe-area-inset-bottom))}.phone-header{height:84px;padding:10px 24px 0;display:flex;align-items:center;gap:14px}.brand{display:flex;-webkit-user-select:none;user-select:none}.brand-symbol{display:none}.brand-word{font-family:var(--heading-font, Georgia, serif);font-size:38px;font-weight:400;letter-spacing:-2px;line-height:1}.brand-dot{color:#c1d2a3}.brand-descriptor{font-size:7px;letter-spacing:1.8px;color:#8e9c88;line-height:1.7;max-width:60px;border-left:1px solid #3c4437;padding-left:12px}.header-actions{display:flex;gap:10px;align-items:center;margin-left:auto}.preview-badge{font-size:8px;letter-spacing:.6px;text-transform:uppercase;color:#a1af96;padding:5px 7px;border:1px solid #3a4334;border-radius:5px;background:none}.profile-button{width:33px;height:33px;border:1px solid #576047;border-radius:50%;background:#2b3426;color:#d5dfbd;font-size:13px;padding:0;overflow:hidden;display:grid;place-items:center}.profile-avatar{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;overflow:hidden;background:#2b3426;color:#d5dfbd;flex:none}.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}.profile-avatar-large{width:58px;height:58px;font-size:22px;border:1px solid var(--line)}.account-profile-heading{display:flex;align-items:center;gap:15px;margin-bottom:18px}.account-profile-heading>div{min-width:0}.account-profile-heading h2{overflow-wrap:anywhere;margin-bottom:4px}.account-profile-card>p{overflow-wrap:anywhere}.profile-button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.journal-page,.standard-page{padding:20px 24px 0}.editorial-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.editorial-heading p{font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:#a2ac97;margin:0 0 8px}.editorial-heading h1{font-family:var(--heading-font, Georgia, serif);font-weight:400;font-size:39px;letter-spacing:-1.4px;margin:0;line-height:1.12}.editorial-heading h1>span{color:#a7bd88}.editorial-heading>svg{color:#8d9e7d}.week-link{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 8px;background:none;border:0;text-align:left;padding:10px 0 0 10px}.week-link>span{font-size:16px;color:#c5d3b0;letter-spacing:1px}.week-link small{grid-column:1;font-size:8px;color:#9dac91}.week-link svg{grid-column:2;grid-row:1/3;color:#9dac91}.date-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:0 -3px 22px}.date-strip button{height:61px;border:1px solid transparent;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:none}.date-strip button span{font-size:9px;color:#9ba891}.date-strip strong{font-weight:500;font-size:16px}.date-strip i{width:3px;height:3px;border-radius:50%}.date-strip .has-meal{background:#b9c6a4}.date-strip button.selected{background:#303b28;border-color:#52603f;color:#edf3df}.date-strip button.selected span{color:#ccd9b8}.date-strip button.selected .has-meal{background:#d7e6bc}.balance-card{background:#e5e8cf;color:#263320;border-radius:21px;padding:19px 20px 23px;position:relative;overflow:hidden;box-shadow:0 3px #0e120d1a}.balance-top{display:flex;justify-content:space-between;align-items:center}.balance-top>span{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.8px;font-weight:700}.balance-top i{width:5px;height:5px;background:#71804f;border-radius:50%}.balance-top button{background:none;border:0;color:#637252;display:grid;place-items:center;width:34px;height:30px;margin:-8px -6px -8px 0}.balance-center{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:23px 0}.balance-value>small{font-size:11px;color:#6b765c}.balance-value>strong{font-family:var(--heading-font, Georgia, serif);font-weight:400;display:block;font-size:52px;letter-spacing:-2.7px;line-height:1.15;margin:4px 0 7px;white-space:nowrap}.balance-value>strong span{font-family:DM Sans,sans-serif;letter-spacing:0;font-size:11px;margin-left:6px;color:#6d785c}.balance-value>p{font-size:10px;color:#6d785c;margin:0}.balance-orbit{position:relative;width:100px;height:100px;flex:none;display:grid;place-items:center}.balance-orbit>svg:first-child{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.balance-orbit>svg:last-child{color:#657551}.orbit-track{fill:none;stroke:#c9d1b1;stroke-width:5}.orbit-value{fill:none;stroke:#62774b;stroke-width:5;stroke-linecap:round;transition:stroke-dasharray .3s}.orbit-inner{fill:none;stroke:#bbc7a8;stroke-width:1;stroke-dasharray:1 6}.balance-macros{display:grid;grid-template-columns:1fr 1.2fr .8fr;gap:13px;border-top:1px solid #bfcaa680;padding-top:18px}.balance-macros>div>span{display:block;font-size:9px;color:#6b775f;margin-bottom:7px}.balance-macros strong{font-size:15px;font-weight:600;white-space:nowrap;letter-spacing:-.4px}.balance-macros small{font-size:9px;color:#78846a;font-weight:400}.macro-track{height:3px;border-radius:4px;background:#c7d0b6;margin-top:10px;overflow:hidden}.macro-track i{display:block;height:100%;border-radius:inherit;background:#718653}.macro-track.carbs i{background:#ab8262}.macro-track.fat i{background:#8b8fa5}.water-card{background:#222b29;border:1px solid #35413b;border-radius:16px;padding:16px;margin-top:14px}.water-heading{display:flex;align-items:center;gap:10px}.water-icon{color:#a8c6bf;display:grid;place-items:center;width:27px;flex:none}.water-heading h2{font-size:12px;font-weight:500;margin:0 0 5px;color:#d4ddd3}.water-heading p{font-size:10px;color:#78988d;margin:0}.water-heading strong{font-weight:500;color:#bed0c6}.water-add{margin-left:auto;border:1px solid #4e6759;background:#34493c;color:#d7e5d5;border-radius:10px;display:flex;align-items:center;gap:5px;font-size:11px;min-height:38px;padding:0 10px}.water-bottom{display:flex;align-items:center;gap:12px;margin-top:12px}.water-segments{display:flex;gap:5px;flex:1}.water-segments i{height:4px;flex:1;background:#3a4840;border-radius:3px}.water-segments i.filled{background:#9ebead}.water-bottom>button{background:none;border:1px solid #475a4c;border-radius:50%;color:#b8cbb8;display:grid;place-items:center;width:24px;height:24px}.journal-meals{margin-top:28px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.section-heading h2{font-family:var(--heading-font, Georgia, serif);font-size:22px;font-weight:400;letter-spacing:-.5px;margin:0}.section-heading button{display:flex;align-items:center;gap:3px;background:none;border:0;color:#b4c29e;font-size:9px;padding:10px 0 10px 5px}.meal-list{display:grid}.entry{border-bottom:1px solid #30392e;display:flex;align-items:center;gap:3px}.entry-main{background:none;border:0;display:flex;align-items:center;text-align:left;gap:11px;min-width:0;flex:1;padding:19px 0}.entry-art{width:44px;height:53px;border-radius:13px;background:#33382a;color:#c9bc92;display:grid;place-items:center;flex:none}.art-Öğle{background:#293b2f;color:#a9bf99}.art-Akşam{background:#303344;color:#b7b7ce}.art-Atıştırmalık{background:#3a3028;color:#c9ae8e}.entry-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.entry-copy>small{font-size:8px;letter-spacing:.3px;color:#919e87}.entry-copy strong{font-size:12px;font-weight:500;line-height:1.45;color:#e4e8da}.entry-copy>span{font-size:8px;color:#87937c;letter-spacing:.1px}.entry-energy{display:flex;align-items:flex-end;flex-direction:column;gap:3px}.entry-energy b{font-size:16px;font-weight:500}.entry-energy small{font-size:8px;color:#8d9a81}.entry-save{background:none;border:0;min-width:30px;min-height:44px;color:#78866b;padding:8px 0 8px 6px}.entry-save.saved{color:#c8d7ac}.library-invitation{display:flex;align-items:center;gap:13px;text-align:left;width:100%;background:none;border:1px solid #3b4532;border-radius:15px;padding:17px 14px;margin-top:24px}.library-invitation-icon{color:#a5b58b;flex:none}.library-invitation>span:nth-child(2){flex:1}.library-invitation strong{display:block;font-size:11px;font-weight:500;margin-bottom:6px;color:#ced8bd}.library-invitation small{display:block;font-size:9px;line-height:1.6;color:#879878}.library-invitation>svg{color:#879878;flex:none}.journal-footnote{font-family:var(--heading-font, Georgia, serif);font-style:italic;font-size:12px;color:#7e8d70;text-align:center;margin:25px 0 0;line-height:1.7}.photo-dock{position:fixed;z-index:30;bottom:0;left:50%;transform:translate(-50%);width:min(100%,480px);height:calc(85px + env(safe-area-inset-bottom));padding:0 15px env(safe-area-inset-bottom);display:grid;grid-template-columns:1fr 1fr 76px 1fr 1fr;align-items:center;border-top:1px solid #394330;background:#1b211a;box-shadow:0 -10px 30px #12170d66}.dock-link{height:65px;background:none;border:0;color:#8c9b7e;font-size:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;position:relative}.dock-link.active{color:#e4eed3}.dock-link.active:after{content:"";position:absolute;bottom:2px;width:3px;height:3px;background:#ccdba9;border-radius:50%}.dock-camera{width:62px;height:62px;justify-self:center;align-self:center;margin-top:-24px;background:var(--accent);color:#2b3922;border:5px solid #1b211a;border-radius:23px;box-sizing:content-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:0 -1px #56633f}.dock-camera span{font-size:8px;font-weight:600}.toast{position:fixed;z-index:90;bottom:calc(100px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 40px);background:var(--accent);border:1px solid #eff4df;color:#2b3922;box-shadow:0 5px 30px #0005;padding:12px 16px;border-radius:12px;display:flex;align-items:center;gap:8px;font-size:11px}.capture-backdrop,.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#080d08bd;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:flex-end;justify-content:center;z-index:60}.capture-sheet{width:min(100%,480px);background:#242c21;border:1px solid #49533d;border-bottom:0;border-radius:27px 27px 0 0;padding:11px 23px calc(20px + env(safe-area-inset-bottom));animation:slide-up .2s ease-out;max-height:95dvh;overflow:auto}.sheet-handle{width:32px;height:3px;border-radius:3px;background:#69765b;margin:0 auto 26px}.capture-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.capture-heading h2{font-family:var(--heading-font, Georgia, serif);font-weight:400;font-size:30px;letter-spacing:-1px;margin:10px 0 8px}.capture-heading p{font-size:12px;color:#a1b08f;margin:0}.capture-heading .section-label{font-size:7px}.icon-button{display:grid;place-items:center;border:0;color:#a7b398;background:none;min-width:40px;min-height:40px;border-radius:12px}.capture-choice{display:flex;align-items:center;gap:13px;border:1px solid #46533b;background:#2d3927;border-radius:15px;padding:19px;text-align:left;margin-bottom:11px;width:100%}.capture-choice>span{flex:1}.capture-choice strong,.capture-choice small{display:block}.capture-choice strong{font-size:14px;font-weight:500}.capture-choice small{font-size:10px;margin-top:6px;color:#a1b08f}.capture-choice.primary{background:var(--accent);border-color:var(--accent);color:#303d26}.capture-choice.primary small{color:#70815b}.capture-choice .text-tab-icon{flex:0;font-size:24px}.capture-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.capture-grid .capture-choice{padding:17px 13px;gap:10px}.capture-grid strong{font-size:12px}.capture-text{display:flex;align-items:center;justify-content:center;gap:10px;background:none;border:0;min-height:45px;color:#bdcda6;font-size:12px;width:100%}.capture-footnote{text-align:center;font-size:9px;color:#879b74;margin:11px 0 0}.standard-page{padding:22px 25px 0}.page-eyebrow{display:none}.page-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:28px}.page-title-row h1{margin-bottom:10px}.page-title-row p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}.page-title-row>.button{display:none}.history-date-card{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.history-date-card>div{text-align:center}.history-date-card span{display:block;font-size:9px;letter-spacing:1px;color:var(--muted);margin-bottom:7px}.history-date-card strong{font-size:12px;font-weight:500}.history-head{margin-top:25px}.history-summary{margin-top:32px;padding:23px 0;border-top:1px solid var(--line);position:relative}.section-label{font-size:9px;letter-spacing:1px;color:#acb09f}.history-summary>svg{display:none}.history-summary>strong{display:block;font-family:var(--heading-font, Georgia, serif);font-size:38px;font-weight:400;margin:10px 0}.history-summary small{font-family:DM Sans,sans-serif;font-size:13px;color:var(--muted)}.history-summary p{font-size:12px;color:var(--muted)}.summary-note{font-size:11px;color:#8e9581;line-height:1.7}.settings-card{padding:22px;border:1px solid var(--line)}.settings-grid,.settings-extras{display:grid;gap:16px}.settings-icon{display:none}.settings-card h2{font-size:16px;font-weight:500;margin-bottom:10px}.settings-card p{color:var(--muted);font-size:12px;line-height:1.8}.settings-card .account-email{margin-top:12px;color:var(--text);overflow-wrap:anywhere}.account-manage{margin-top:16px;width:100%;white-space:normal}.settings-card>label{display:block;margin:18px 0 8px;font-size:12px;color:#bebfac}.settings-input-row{display:flex;gap:10px}.settings-input-row input{min-width:0;width:100%}.settings-disclaimer{display:flex;align-items:flex-start;gap:10px;padding:15px;border:1px solid var(--line);border-radius:12px;font-size:11px;color:#aeb4a0;line-height:1.8}.settings-disclaimer svg{flex:none;margin-top:2px}.danger-link{border:0;background:none;color:#dba391;font-size:12px;display:flex;align-items:center;gap:8px;padding:15px 0 0;min-height:44px}.logout-button{margin:0 25px;display:flex;gap:10px;align-items:center;background:none;border:0;padding:12px 0;color:var(--muted)}.status-message{font-size:12px;padding:15px;background:#31362a;border-radius:12px;line-height:1.6}.empty-meals{padding:28px 0;text-align:center}.empty-meals>div{color:#a3ac91;margin-bottom:15px}.empty-meals h3{font-size:15px;font-weight:500;margin-bottom:9px}.empty-meals p{color:var(--muted);font-size:11px;line-height:1.7}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:12px;min-height:46px;padding:0 15px;font-size:12px;font-weight:500;white-space:nowrap}.button-primary{background:var(--accent);color:#35271e}.button-quiet{background:transparent;color:#b7beaa}.button-danger{background:#422c26;color:#e6b7a4}.editor-modal{background:#20221c;border:1px solid #424638;border-bottom:0;border-radius:26px 26px 0 0;width:min(100%,480px);height:94dvh;display:flex;flex-direction:column;animation:slide-up .2s ease-out}.editor-header{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 18px;border-bottom:1px solid var(--line);flex:none}.editor-header h2{font-size:23px;font-weight:500;letter-spacing:-.7px;margin:5px 0 0}.editor-body{padding:22px;overflow-y:auto;overscroll-behavior:contain;flex:1}.input-tabs{display:grid;grid-template-columns:1fr 1fr;background:#2c3026;border-radius:12px;padding:4px;margin-bottom:23px}.input-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;background:none;border:0;color:#b0b69f;border-radius:9px;min-height:43px;font-size:12px}.input-tabs button.active{background:#414638;color:#f1e9dc}.text-tab-icon{font-family:var(--heading-font, Georgia, serif);font-size:19px}.upload-zone{min-height:200px;height:220px;border:1px dashed #5c634e;border-radius:15px;background:#292e23;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;margin-bottom:23px;cursor:pointer}.upload-icon{color:#c5b19a;margin-bottom:15px}.upload-zone strong{font-size:13px;font-weight:500}.upload-zone p{font-size:11px;color:#acb39d;margin:7px 0 16px}.upload-zone small{font-size:10px;color:#89947a}.upload-zone img{width:100%;height:100%;object-fit:cover}.replace-image{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:8px;padding:10px;background:#20251bea;border-radius:9px;font-size:11px}.field-label{display:block;font-size:12px;color:#c4c8b8;margin-bottom:9px}input,textarea,select{border:1px solid #444a39;background:#292e23;color:#eceee2;border-radius:10px;padding:12px;font-size:16px}input:focus,textarea:focus,select:focus{outline:1px solid var(--accent)}input::placeholder,textarea::placeholder{color:#89947a}textarea{width:100%;resize:vertical;line-height:1.6}.privacy-check{display:flex;align-items:flex-start;gap:11px;margin-top:22px}.privacy-check input{flex:none;accent-color:var(--accent);width:18px;height:18px;margin:2px 0 0}.privacy-check label{color:#aeb6a0;font-size:11px;line-height:1.8}.demo-editor-note,.estimate-note,.editor-error{display:flex;align-items:flex-start;gap:9px;color:#cbbda1;background:#343326;border:1px solid #484632;padding:12px;font-size:11px;line-height:1.7;border-radius:10px;margin-top:18px}.demo-editor-note svg,.estimate-note svg,.editor-error svg{flex:none;margin-top:2px}.editor-error{color:#e8b8a7;background:#3a2d25;border-color:#634434}.editor-footer{display:flex;justify-content:space-between;gap:7px;border-top:1px solid #3b4230;padding:14px 18px calc(16px + env(safe-area-inset-bottom));flex:none}.editor-fields input,.editor-fields select{width:100%;min-width:0}.editor-fields>div:first-child{margin-bottom:20px}.editor-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 10px}.editor-field-grid>div:first-child{grid-column:span 2}.foods-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:27px 0 15px}.foods-heading h3{margin:5px 0 0;font-size:17px;font-weight:500}.foods-heading button{display:flex;align-items:center;gap:5px;background:none;border:0;color:var(--accent);font-size:12px;min-height:40px}.food-list{display:grid;gap:15px}.food-edit{padding:15px;border:1px solid #3d4530;border-radius:14px}.food-edit-top{display:flex;align-items:center;gap:8px}.food-edit-top input{flex:1;min-width:0;padding:10px 0;background:none;border:0;font-size:16px}.food-edit-top>span{font-size:9px;color:#bac6a5}.food-edit-top .icon-button{min-width:30px}.food-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 9px;margin-top:13px}.food-edit-grid label{font-size:9px;color:#acb99b}.food-edit-grid input{display:block;width:100%;min-width:0;margin-top:7px;padding:10px 6px}.food-note{font-size:11px;color:#b3b599;line-height:1.7;margin:12px 0 0}.editor-total{margin-top:22px;border-top:1px solid #454f36;padding-top:20px;display:flex;align-items:center;justify-content:space-between}.editor-total>div{display:flex;flex-direction:column;gap:7px}.editor-total span{font-size:10px;color:#aabb96}.editor-total strong{font-family:var(--heading-font, Georgia, serif);font-size:30px;font-weight:400}.editor-total small{font-family:DM Sans,sans-serif;font-size:12px;color:#b3c69c}.editor-total>div:last-child{align-items:flex-end}.error-banner{display:flex;flex-wrap:wrap;gap:8px;margin:15px 25px;background:#422e26;padding:15px;border-radius:10px;font-size:12px;line-height:1.6;color:#e4bca6}.error-banner button{background:transparent;color:inherit;border:0;text-decoration:underline}.page-loading,.startup{display:flex;align-items:center;justify-content:center;gap:15px;min-height:300px;color:var(--muted)}.spin{animation:spin 1s linear infinite}.auth-page{max-width:480px;min-height:100dvh;background:var(--surface);margin:auto}.auth-header{display:flex;align-items:center;justify-content:space-between;padding:34px 25px}.auth-header>span{color:var(--muted);font-size:11px}.auth-main{padding:25px}.auth-intro{padding:10px 0 35px}.auth-line{display:block;width:30px;height:2px;background:var(--accent);margin-bottom:25px}.auth-intro h1{font-family:var(--heading-font, Georgia, serif);font-size:44px;font-weight:400;letter-spacing:-1.5px}.auth-intro p{font-size:12px;color:var(--muted)}.auth-panel{border-top:1px solid var(--line);padding-top:25px}.auth-panel>h2{font-size:19px;font-weight:500}.clerk-shell{min-width:0}.clerk-shell .cl-rootBox,.clerk-shell .cl-cardBox,.clerk-shell .cl-card{width:100%;max-width:100%}.clerk-shell .cl-card{box-shadow:none}.auth-caveat{color:#c5af95;font-size:11px;line-height:1.8}.auth-switch{margin:20px 0;color:var(--muted);font-size:12px}.auth-switch button{color:var(--accent);background:none;border:0;min-height:44px}.setup-required{max-width:480px;min-height:100dvh;margin:auto;padding:35px 25px;background:var(--surface);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.setup-required .brand{position:absolute;top:35px}.setup-mark{margin-bottom:30px;color:var(--accent)}.setup-required h1{margin:14px 0}.setup-required p{color:var(--muted);font-size:14px;line-height:1.8}@keyframes spin{to{transform:rotate(360deg)}}@keyframes slide-up{0%{transform:translateY(25px);opacity:.5}to{transform:translateY(0);opacity:1}}@media(min-width:481px){.app-shell,.auth-page{border-inline:1px solid #30322b}}@media(max-width:359px){.journal-page,.standard-page,.phone-header{padding-inline:19px}.macro-card{padding-left:11px}.macro-label{font-size:9px}.editor-body{padding-inline:17px}.editor-footer{padding-inline:10px}.editor-footer .button{padding-inline:10px;font-size:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}html{scrollbar-width:none}html::-webkit-scrollbar{display:none}.page-intro{font-size:12px;line-height:1.8;color:#9caa8f;margin:0 0 25px}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#242e20;border:1px solid #35422c;border-radius:12px;padding:4px;margin-bottom:21px}.segmented button{border:0;border-radius:8px;min-height:39px;background:none;font-size:11px;color:#9dac8a}.segmented button.active{background:#46533a;color:#e6eed5}.segmented button span{font-size:9px;margin-left:5px;opacity:.7}.search-box{display:flex;align-items:center;gap:10px;border-bottom:1px solid #455139;margin-bottom:7px;color:#8a9e77}.search-box input{background:none;border:0;border-radius:0;width:100%;padding:13px 0;font-size:16px;min-width:0}.search-box input:focus{outline:0}.search-box input::placeholder{font-size:12px;color:#849673}.search-box button{display:grid;place-items:center;background:none;border:0;min-height:42px;min-width:30px}.thoughtful-empty{padding:34px 14px 26px;text-align:center}.thoughtful-empty>svg{color:#93a478;margin-bottom:15px}.thoughtful-empty h3{font-family:var(--heading-font, Georgia, serif);font-weight:400;font-size:22px;letter-spacing:-.5px;margin-bottom:12px}.thoughtful-empty p{color:#8fa17e;font-size:11px;line-height:1.8;max-width:270px;margin:0 auto 13px}.text-action{background:none;border:0;font-size:12px;display:inline-flex;align-items:center;gap:10px;min-height:43px;color:#cfddb6}.repeat-panel{margin-top:24px;padding:20px;background:#e2e7ca;color:#303d24;border-radius:19px;scroll-margin-bottom:110px}.repeat-heading{display:flex;justify-content:space-between;align-items:center;margin:-7px -7px 12px 0}.repeat-heading>span{font-size:8px;letter-spacing:1.5px;color:#778660}.repeat-heading .icon-button{color:#667e4f}.repeat-panel h2{font-family:var(--heading-font, Georgia, serif);font-size:25px;font-weight:400;letter-spacing:-.5px;margin-bottom:9px}.repeat-panel p{font-size:11px;color:#778660}.portion-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:22px 0}.portion-options button{background:none;border:1px solid #b9c5a0;min-height:44px;border-radius:10px;font-size:15px}.portion-options .selected{background:#526a3a;color:#f0f4df;border-color:#526a3a}.repeat-summary{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.repeat-summary strong{font-size:23px;font-weight:500;letter-spacing:-.6px}.repeat-summary small{font-size:11px;font-weight:400}.repeat-summary>span{font-size:10px;color:#75835e}.repeat-panel>.button{width:100%;background:#34492a;color:#e2eacb}.inline-error{color:#8d322b!important;line-height:1.6}.period-mark{display:flex;flex-direction:column;align-items:center;font-family:var(--heading-font, Georgia, serif);font-size:32px;color:#bccb9e;border:1px solid #485936;border-radius:50%;width:59px;height:59px;justify-content:center;line-height:1}.period-mark small{font-family:DM Sans,sans-serif;font-size:7px;letter-spacing:2px;margin-top:4px}.rhythm-card{padding:21px 18px;border:1px solid #435035;background:#232e1f;border-radius:19px}.rhythm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.rhythm-head>div>span{font-size:10px;color:#a3b78c}.rhythm-head strong{display:block;font-family:var(--heading-font, Georgia, serif);font-size:40px;letter-spacing:-1px;font-weight:400;margin:8px 0 0}.rhythm-head strong small{font-family:DM Sans,sans-serif;font-size:11px;letter-spacing:0;color:#91a97a;margin-left:7px}.rhythm-head button{display:flex;align-items:center;gap:6px;font-size:9px;background:#303d26;color:#b8caa0;border:1px solid #4a5d3a;border-radius:7px;padding:8px}.chart-scroll{overflow-x:auto;margin-top:28px;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#5d7245 transparent}.rhythm-chart{display:flex;gap:12px;min-width:100%}.rhythm-chart>button{background:none;border:0;flex:1;min-width:20px;padding:0;display:flex;flex-direction:column;align-items:center;gap:12px;font-size:9px;color:#92a77e}.long .rhythm-chart{min-width:800px;gap:10px}.bar-space{display:flex;align-items:flex-end;justify-content:center;height:122px;width:100%;border-bottom:1px solid #4b5f37}.bar-space i{width:72%;max-width:27px;background:#4a593c;border-radius:5px 5px 0 0;min-height:3px}.bar-space .recorded{background:#829a64}.rhythm-chart>button.selected .bar-space .recorded{background:#d7e6b7}.rhythm-chart>button.selected{color:#e7efd6}.chart-caption{display:flex;gap:6px;align-items:center;font-size:9px;color:#9cb082;line-height:1.7;margin:18px 0 0}.chart-caption i{width:4px;height:4px;border-radius:50%;background:#9eb284;flex:none}.rhythm-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:23px 0 28px;padding-bottom:24px;border-bottom:1px solid #3c4b30}.rhythm-stats>div{border-left:1px solid #3c4b30;padding-left:18px}.rhythm-stats>div:first-child{border:0;padding:0}.rhythm-stats span{font-size:10px;color:#9fb38a}.rhythm-stats strong{display:block;margin-top:9px;font-size:25px;font-weight:500}.rhythm-stats small{font-size:10px;font-weight:400;color:#819b6a;margin-left:6px}.day-browser{display:flex;align-items:center;justify-content:space-between;gap:10px}.day-browser>button{border:1px solid #3f5131;background:#26341e;color:#c8dcb0;display:grid;place-items:center;border-radius:10px;width:37px;height:39px}.day-browser>label{position:relative;font-size:12px;text-align:center;padding:12px 7px;flex:1;color:#cbdab5}.day-browser input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%;cursor:pointer}.settings-extras{padding:16px 25px 0}.preference-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 12px;margin:20px 0}.preference-grid label{font-size:11px;color:#a3b391}.preference-grid input{width:100%;min-width:0;display:block;margin-top:8px}.export-button{border-color:#485b36}.form-status{margin-top:15px!important;color:var(--accent)!important}.standard-page .page-title-row h1{font-family:var(--heading-font, Georgia, serif);font-weight:400;font-size:37px;letter-spacing:-1px}.editor-header h2{font-family:var(--heading-font, Georgia, serif);font-size:29px;font-weight:400}.button-primary{background:var(--accent);color:#2e3d23}.editor-modal{background:#20291c}.editor-fields input,.editor-fields select,textarea{border-color:#49583c;background:#293622}.editor-total strong{color:var(--accent)}.auth-intro h1{color:#e2ebcf}.auth-page{background:var(--surface)}.auth-switch button{color:var(--accent)}@media(max-width:359px){.phone-header{padding-inline:18px;gap:10px}.brand-descriptor{display:none}.balance-card{padding-inline:16px}.balance-value>strong{font-size:44px}.balance-orbit{width:82px;height:82px}.balance-macros{gap:9px}.balance-macros strong{font-size:13px}.balance-macros small{font-size:8px}.editorial-heading h1{font-size:35px}.entry-main{gap:8px}.entry-art{width:36px;height:45px}.entry-copy strong{font-size:11px}.photo-dock{padding-inline:8px;grid-template-columns:1fr 1fr 70px 1fr 1fr}.dock-link{font-size:7px}.capture-grid .capture-choice{padding-inline:10px;gap:7px}}.brand-descriptor{font-size:8px;max-width:85px;letter-spacing:1.2px}.date-strip button span{font-size:10px}.balance-macros>div>span{font-size:10px}.balance-macros small{font-size:10px}.balance-value>p{font-size:11px}.water-heading h2{font-size:13px}.water-heading p{font-size:11px}.water-add{font-size:12px;min-height:44px}.water-bottom>button{width:32px;height:32px}.section-heading button{font-size:11px}.entry-copy>small,.entry-copy>span{font-size:10px}.entry-copy strong{font-size:13px}.entry-save{min-width:36px}.entry-energy small{font-size:10px}.dock-link,.dock-camera span{font-size:9px}.library-invitation strong{font-size:12px}.library-invitation small{font-size:11px}.toast{font-size:12px}.chart-caption{font-size:10px}.rhythm-chart>button{font-size:10px}.auth-panel{padding-top:0;border:0}.clerk-shell .cl-card{padding:24px}.clerk-shell input{font-size:16px}.brand-dot,.dock-link.active,.water-icon{color:var(--accent)}.brand-descriptor,.journal-footnote,.editorial-heading p{color:var(--muted)}.capture-sheet,.editor-modal,.photo-dock{background:var(--surface)}.water-card,.settings-card,.progress-card,.library-card{background:var(--raised);border-radius:var(--app-radius,16px)}.editor-fields input,.editor-fields select,textarea{background:var(--raised)}.button-primary,.dock-camera,.capture-choice.primary{color:var(--accent-ink,#20271d)}.dock-camera{border-color:var(--surface)}.auth-intro h1{color:var(--text)}.brand{align-items:center;gap:10px}.brand-wordmark-frame{display:block;width:122px;height:43px;overflow:hidden;position:relative;flex:none}.brand-wordmark-frame img{position:absolute;width:168px;height:auto;max-width:none;left:-23px;top:-7px}.brand-mark-frame{width:38px;height:38px;display:block;position:relative;flex:none}.brand-mark-frame .brand-image{position:absolute;width:52px;height:52px;max-width:none;margin:0;left:-7px;top:-5px;object-fit:contain}.brand-custom-mark .brand-image{width:30px;height:30px;left:4px;top:4px}.brand-compact .brand-wordmark-frame{width:106px;height:38px}.brand-compact .brand-wordmark-frame img{width:146px;left:-20px;top:-5px}.phone-header{gap:10px}.auth-header{padding:24px 25px 14px}.auth-header>span{font-size:9px;letter-spacing:1px;max-width:120px;text-align:right}.auth-main{padding-top:12px}.auth-brand-art{overflow:hidden;border-radius:var(--app-radius,16px);background:#f9f8ef;border:1px solid #cbd1bd}.auth-brand-art img{display:block;width:100%;height:auto}.auth-intro{padding:26px 0 22px}.auth-line{display:none}.auth-intro h1{font-size:33px;line-height:1.15;margin-bottom:12px}.auth-intro p{margin-bottom:0;line-height:1.7}.startup{min-height:100dvh}@media(max-width:359px){.brand-wordmark-frame{width:106px;height:38px}.brand-wordmark-frame img{width:146px;left:-20px;top:-5px}.auth-intro h1{font-size:30px}}.macro-mode{display:flex;gap:6px;margin:18px 0 14px}.macro-mode button{flex:1;min-width:0;padding:12px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--muted);font-size:11px;line-height:1.5}.macro-mode button[aria-pressed=true]{color:var(--text);background:var(--raised);border-color:var(--accent)}.macro-energy{padding:14px;margin:18px 0;border:1px solid var(--line);border-radius:12px}.macro-energy strong,.macro-energy span,.macro-energy small{display:block}.macro-energy strong{font-size:21px;font-weight:500}.macro-energy span{margin-top:5px;font-size:11px;color:var(--muted);line-height:1.6}.macro-energy small{margin-top:8px;font-size:11px;line-height:1.6;color:#d5be8a}.macro-energy.different{border-color:#625539}.macro-explanation{margin-top:20px;font-size:11px;line-height:1.7;color:var(--muted)}.macro-explanation summary{cursor:pointer}.macro-explanation a{color:var(--accent)}.preference-grid input[readonly]{color:var(--accent);background:var(--surface)}.macro-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.macro-preview span{font-size:10px;color:var(--muted)}.macro-preview strong{display:block;margin-top:6px;font-size:21px;font-weight:500}.macro-preview small{font-size:11px;color:var(--muted)}.analysis-allowance.compact{padding:14px 16px;margin-bottom:18px;border:1px solid var(--line);border-radius:12px;background:var(--raised)}.allowance-heading{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--accent)}.allowance-count{display:flex;align-items:baseline;gap:9px;margin-top:12px}.allowance-count strong{font-size:30px;font-weight:500;letter-spacing:-1px}.allowance-count span{color:var(--muted);font-size:12px}.analysis-allowance p{font-size:11px;line-height:1.7;color:var(--muted);margin:8px 0 0}.allowance-error{display:flex;align-items:flex-start;gap:8px;margin-top:10px;color:var(--muted);font-size:11px;line-height:1.6}.allowance-error span{flex:1}.allowance-error button{border:0;background:none;color:var(--accent);text-decoration:underline;padding:0;font-size:11px}.offline-tray{margin:12px 20px;padding:14px 16px;border:1px solid var(--border, #3a4437);border-radius:16px;background:var(--surface, #20271d)}.connection-note,.pending-summary,.offline-intro{display:flex;align-items:flex-start;gap:10px}.connection-note{margin:0 0 10px;font-size:13px;color:var(--muted,#aab69b)}.pending-summary{font-size:13px}.pending-summary>div{flex:1}.pending-summary strong,.pending-summary small{display:block}.pending-summary small{margin-top:5px;line-height:1.5;color:var(--muted,#aab69b)}.offline-tray button:not(.icon-button),.pwa-update button{border:0;background:transparent;color:var(--accent,#dce6c1);font-size:12px;font-weight:600;padding:8px;white-space:nowrap}.offline-row{display:flex;align-items:center;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid var(--border,#3a4437);font-size:13px}.offline-row>span{flex:1;min-width:0;overflow-wrap:anywhere}.offline-row small{display:block;margin-top:3px;color:var(--muted,#aab69b);font-size:11px}.offline-warning{font-size:12px;line-height:1.6;color:#efd6a9;overflow-wrap:anywhere}.draft-status{font-size:12px;color:var(--muted,#aab69b);margin:0 0 14px;line-height:1.5}.install-card{display:flex;gap:14px;align-items:flex-start}.install-card>svg{flex-shrink:0;margin-top:4px;color:var(--accent,#dce6c1)}.install-card>div{min-width:0}.install-card h2{margin-top:0}.install-card .button{margin-top:8px}.install-instructions{margin-top:16px;padding-top:12px;border-top:1px solid var(--border,#3a4437);font-size:13px;line-height:1.8}.install-instructions>.icon-button{float:right}.install-instructions ol{padding-left:18px}.install-instructions p{font-size:12px}.local-storage-note{font-size:12px!important;line-height:1.7;color:var(--muted,#aab69b);margin:12px 0 18px}.offline-desk h1{font-size:36px;line-height:1.15;margin:18px 0}.offline-desk .page-content>p{font-size:14px;line-height:1.7;color:var(--muted,#aab69b)}.offline-desk .offline-tray{margin:22px 0}.offline-desk .install-card{margin-top:24px}.offline-add{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;border:0;border-radius:32px;background:var(--accent,#dce6c1);color:var(--accent-ink,#20271d);padding:17px 25px;font-weight:600;font-size:15px;box-shadow:0 10px 30px #0004;z-index:20}.offline-desk{padding-bottom:130px}.pwa-update{position:fixed;top:calc(12px + env(safe-area-inset-top));left:50%;transform:translate(-50%);width:calc(100% - 32px);max-width:448px;display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--border,#3a4437);border-radius:14px;background:var(--surface,#20271d);font-size:12px;line-height:1.5;z-index:150}.pwa-update span{flex:1}.startup-offline{position:absolute;bottom:calc(70px + env(safe-area-inset-bottom));left:16px;right:16px;text-align:center;color:#aab69b;font-size:13px}@media(display-mode:standalone){.app-shell,.auth-page,.onboarding-page{padding-top:env(safe-area-inset-top)}.editor-modal{max-height:calc(100dvh - env(safe-area-inset-top))}}:root{--line: color-mix(in srgb, var(--muted) 28%, var(--surface));--accent-soft: color-mix(in srgb, var(--accent) 13%, var(--raised));--water: var(--carbs)}::selection{color:var(--accent-ink)}.brand-descriptor,.preview-badge,.editorial-heading p,.week-link small,.week-link svg,.date-strip button span,.entry-copy>small,.entry-copy>span,.entry-energy small,.library-invitation small,.library-invitation>svg,.journal-footnote,.capture-heading p,.capture-choice small,.capture-footnote,.section-label,.summary-note,.settings-disclaimer,.page-intro,.segmented button,.search-box,.search-box input::placeholder,.thoughtful-empty p,.rhythm-head>div>span,.rhythm-head strong small,.rhythm-chart>button,.chart-caption,.rhythm-stats span,.rhythm-stats small,.preference-grid label,.field-label,.privacy-check label,.upload-zone p,.upload-zone small,.food-edit-top>span,.food-edit-grid label,.food-note,.editor-total span,.editor-total small,.settings-card>label,.auth-caveat,.startup-offline{color:var(--muted)}.entry-copy strong,.library-invitation strong,.day-browser>label,.water-heading h2,.water-heading strong,.balance-card,.input-tabs button,input,textarea,select{color:var(--text)}.brand-dot,.editorial-heading h1>span,.editorial-heading>svg,.week-link>span,.section-heading button,.entry-save.saved,.library-invitation-icon,.capture-text,.text-action,.period-mark,.empty-meals>div,.thoughtful-empty>svg,.upload-icon,.dock-link.active{color:var(--accent)}.entry-save,.icon-button,.button-quiet,.dock-link{color:var(--muted)}.app-shell,.auth-page,.onboarding-page,.capture-sheet,.editor-modal,.photo-dock{background:var(--surface)}.balance-card,.water-card,.settings-card,.library-card,.progress-card,.rhythm-card,.repeat-panel,.capture-choice,.input-tabs,.segmented,.upload-zone,.status-message,input,textarea,select,.editor-fields input,.editor-fields select{background:var(--raised)}.balance-card{border:1px solid var(--line)}.balance-top>span{color:var(--accent)}.balance-top i{background:var(--accent)}.balance-top button,.balance-value>small,.balance-value>p,.balance-value>strong span,.balance-macros small{color:var(--muted)}.balance-orbit>svg:last-child{color:var(--accent)}.orbit-track{stroke:var(--line)}.orbit-value{stroke:var(--accent)}.orbit-inner{stroke:var(--line)}.balance-macros{border-color:var(--line)}.balance-macros>div>span{color:var(--muted)}.balance-macros>div:nth-child(1)>span{color:var(--protein)}.balance-macros>div:nth-child(2)>span{color:var(--carbs)}.balance-macros>div:nth-child(3)>span{color:var(--fat)}.macro-track{background:var(--line)}.macro-track.protein i{background:var(--protein)}.macro-track.carbs i{background:var(--carbs)}.macro-track.fat i{background:var(--fat)}.macro-preview>div:nth-child(1)>span{color:var(--protein)}.macro-preview>div:nth-child(2)>span{color:var(--carbs)}.macro-preview>div:nth-child(3)>span{color:var(--fat)}.water-icon,.water-heading p{color:var(--water)}.water-segments i{background:var(--line)}.water-segments i.filled{background:var(--water)}.water-add{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.water-bottom>button{color:var(--muted);border-color:var(--line)}.date-strip .has-meal,.dock-link.active:after{background:var(--accent)}.date-strip button.selected,.input-tabs button.active,.segmented button.active,.portion-options .selected,.macro-mode button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.date-strip button.selected span{color:var(--accent-ink)}.date-strip button.selected .has-meal{background:var(--accent-ink)}.button-primary,.dock-camera,.capture-choice.primary,.repeat-panel>.button{background:var(--accent);color:var(--accent-ink)}.capture-choice.primary{border-color:var(--accent)}.capture-choice.primary small{color:var(--accent-ink)}.dock-camera{border-color:var(--surface);box-shadow:0 -1px 0 var(--line)}.photo-dock{border-color:var(--line);box-shadow:0 -10px 30px #00000040}.toast{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.capture-backdrop,.modal-overlay{background:#05090dcc}.sheet-handle{background:var(--muted)}.profile-button,.profile-avatar{background:var(--accent-soft);color:var(--accent)}.profile-button,.preview-badge,.brand-descriptor,.entry,.library-invitation,.capture-sheet,.capture-choice,.water-card,.editor-modal,.editor-footer,.food-edit,.editor-total,.segmented,.search-box,.portion-options button,.period-mark,.rhythm-card,.rhythm-stats,.rhythm-stats>div,.bar-space,.export-button,input,textarea,select,.upload-zone,.editor-fields input,.editor-fields select,.app-shell,.auth-page{border-color:var(--line)}.entry-art{background:color-mix(in srgb,var(--fat) 12%,var(--raised));color:var(--fat)}.art-Öğle{background:var(--accent-soft);color:var(--accent)}.art-Akşam{background:color-mix(in srgb,var(--protein) 12%,var(--raised));color:var(--protein)}.art-Atıştırmalık{background:color-mix(in srgb,var(--carbs) 12%,var(--raised));color:var(--carbs)}.replace-image{background:#0c1014e6;color:var(--text)}input::placeholder,textarea::placeholder{color:var(--muted)}.repeat-panel{color:var(--text)}.repeat-heading>span,.repeat-panel p,.repeat-summary>span{color:var(--muted)}.repeat-heading .icon-button{color:var(--muted)}.rhythm-head button,.day-browser>button{background:var(--accent-soft);color:var(--accent);border-color:var(--line)}.chart-scroll{scrollbar-color:var(--muted) transparent}.bar-space i{background:var(--line)}.bar-space .recorded{background:color-mix(in srgb,var(--accent) 65%,var(--raised))}.rhythm-chart>button.selected .bar-space .recorded,.chart-caption i{background:var(--accent)}.rhythm-chart>button.selected{color:var(--accent)}.button-danger,.editor-error,.error-banner{background:#3b202b;color:#ffb5c1;border-color:#824556}.danger-link,.inline-error{color:#ffb5c1!important}.demo-editor-note,.estimate-note{background:#302b20;color:#ffd39b;border-color:#6a5739}:root{--heading-font: "DM Sans", sans-serif;--heading-weight: 600;--number-weight: 700}.editorial-heading h1,.standard-page .page-title-row h1,.section-heading h2,.capture-heading h2,.editor-header h2,.auth-intro h1,.thoughtful-empty h3,.repeat-panel h2,.offline-desk h1,.setup-required h1{font-family:var(--heading-font);font-weight:var(--heading-weight);letter-spacing:-.04em;line-height:1.18}.settings-card h2,.water-heading h2,.empty-meals h3,.foods-heading h3{font-weight:600;letter-spacing:-.02em}.balance-value>strong,.rhythm-head strong,.history-summary>strong,.editor-total strong,.repeat-summary strong,.allowance-count strong,.macro-energy strong,.macro-preview strong,.rhythm-stats strong{font-variant-numeric:lining-nums tabular-nums;font-weight:var(--number-weight);letter-spacing:-.045em}.balance-value>strong span,.rhythm-head strong small,.editor-total small,.history-summary small,.rhythm-stats small{font-weight:400;letter-spacing:0}.balance-macros strong,.entry-energy b{font-weight:600;font-variant-numeric:lining-nums tabular-nums}.balance-value{min-width:0}.balance-value>strong{font-size:clamp(40px,12.3vw,52px)}.period-mark{font-weight:var(--heading-weight)}@media(max-width:359px){.balance-value>strong{font-size:40px}.editorial-heading h1{font-size:32px}}.photo-dock{bottom:calc(12px + env(safe-area-inset-bottom));width:min(calc(100% - 24px),456px);height:72px;padding:6px 7px;grid-template-columns:1fr 1fr 68px 1fr 1fr;gap:2px;border:1px solid var(--line);border-radius:24px;background:color-mix(in srgb,var(--raised) 94%,var(--background));box-shadow:0 12px 34px #00000070,0 2px 8px #00000030;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.dock-link{height:58px;min-width:0;gap:5px;border-radius:16px;color:var(--muted);font-size:10px;line-height:1.1}.dock-link.active{background:color-mix(in srgb,var(--accent) 17%,var(--raised));color:var(--accent)}.dock-link.active span{font-weight:600}.dock-link.active:after{content:none}.dock-camera{width:68px;height:68px;padding:0;box-sizing:border-box;margin-top:-22px;border:4px solid var(--surface);border-radius:21px;background:var(--accent);color:var(--accent-ink);box-shadow:0 9px 24px color-mix(in srgb,var(--accent) 27%,transparent)}.dock-camera span{font-size:9px}@media(max-width:359px){.photo-dock{width:calc(100% - 16px);padding-inline:5px;grid-template-columns:1fr 1fr 64px 1fr 1fr}.dock-link{font-size:9px}.dock-camera{width:64px;height:64px}}:root{--ease-out: cubic-bezier(.2, .7, .2, 1)}.phone-header{height:80px;padding:8px 20px 0}.profile-button{width:42px;height:42px}.brand-descriptor{font-size:9px;letter-spacing:1px}.preview-badge{font-size:9px}.page-content.standard-page{padding:18px 20px 0}.button{min-height:48px;padding-inline:17px;border-radius:13px;font-size:13px;font-weight:600;text-decoration:none}.button-quiet{color:var(--text);border-color:var(--line);background:color-mix(in srgb,var(--raised) 50%,transparent)}.icon-button{color:var(--muted);min-height:44px;min-width:44px}.button:disabled,.dock-link:disabled{opacity:.4}.search-box:focus-within{border-color:var(--accent)}.offline-tray,.offline-row,.install-instructions,.pwa-update{border-color:var(--line)}.offline-tray{background:var(--raised)}.offline-tray button:not(.icon-button),.pwa-update button{min-height:44px}.offline-row small,.pending-summary small{font-size:12px}.pwa-update{background:var(--raised);box-shadow:0 10px 30px #0005}.offline-desk .page-content>p{line-height:1.75}.capture-sheet{padding-inline:20px}.capture-heading{gap:10px;margin-bottom:22px}.capture-heading>div{min-width:0}.capture-heading .section-label{color:var(--accent);font-size:10px;letter-spacing:1.5px}.capture-heading h2{font-size:clamp(27px,7.6vw,32px)}.capture-heading p{font-size:13px;line-height:1.65}.capture-heading .icon-button{flex:none;background:var(--raised);border-radius:50%}.capture-choice{padding:19px 16px;min-height:82px}.capture-choice>svg{flex:none}.capture-choice strong{font-weight:600;font-size:15px}.capture-choice small{font-size:12px;line-height:1.5;margin-top:5px}.capture-grid .capture-choice{gap:10px;padding:17px 12px}.capture-grid strong{font-size:13px}.capture-grid small{font-size:11px}.capture-text{min-height:48px;font-size:13px}.capture-footnote{font-size:11px;line-height:1.6}@media(max-width:359px){.page-content.standard-page,.capture-sheet{padding-inline:16px}.capture-grid .capture-choice{gap:8px;padding-inline:10px}}.app-main{padding-bottom:calc(132px + env(safe-area-inset-bottom))}.toast{bottom:calc(106px + env(safe-area-inset-bottom));border-radius:14px;padding:14px 17px;font-weight:500;line-height:1.5;box-shadow:0 12px 32px #0005}@media(hover:hover)and (pointer:fine){.button-primary:not(:disabled):hover,.dock-camera:not(:disabled):hover,.capture-choice.primary:not(:disabled):hover{filter:brightness(1.08)}.button-quiet:not(:disabled):hover,.icon-button:not(:disabled):hover,.dock-link:not(.active):not(:disabled):hover{background:var(--raised);color:var(--text)}}@media(prefers-reduced-motion:no-preference){html:not([data-reduced-motion=true]) :is(.button,.dock-link,.dock-camera,.capture-choice,.icon-button,.water-add,.date-strip button,.segmented button,.input-tabs button,.portion-options button){transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s var(--ease-out),box-shadow .16s ease}html:not([data-reduced-motion=true]) :is(.button,.dock-link,.capture-choice,.water-add,.date-strip button,.segmented button,.portion-options button):not(:disabled):active{transform:scale(.975)}html:not([data-reduced-motion=true]) .dock-camera:not(:disabled):active{transform:translateY(2px) scale(.96)}html:not([data-reduced-motion=true]) :is(.journal-page,.standard-page){animation:page-appear .22s var(--ease-out) both}html:not([data-reduced-motion=true]) :is(.capture-sheet,.editor-modal){animation:sheet-appear .26s var(--ease-out) both}html:not([data-reduced-motion=true]) .toast{animation:feedback-appear .18s ease-out both}html:not([data-reduced-motion=true]) .macro-track i{transition:width .35s var(--ease-out)}html:not([data-reduced-motion=true]) .water-segments i{transition:background-color .25s ease}}@keyframes page-appear{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes sheet-appear{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@keyframes feedback-appear{0%{opacity:0}to{opacity:1}}.journal-page,.library-page,.progress-page{padding:18px 20px 8px}.journal-page .editorial-heading,.library-page .editorial-heading,.progress-page .editorial-heading{margin-bottom:20px;gap:12px}.journal-page .editorial-heading>div,.library-page .editorial-heading>div,.progress-page .editorial-heading>div{min-width:0}.journal-page .editorial-heading p,.library-page .editorial-heading p,.progress-page .editorial-heading p{font-size:10px;line-height:1.6;letter-spacing:1.05px;margin-bottom:6px}.journal-page .editorial-heading h1,.library-page .editorial-heading h1,.progress-page .editorial-heading h1{font-size:clamp(30px,8.5vw,36px)}.week-link{flex:none;gap:3px 9px;padding:9px 11px;border:1px solid var(--line);border-radius:14px;background:var(--raised)}.week-link>span{font-size:15px;letter-spacing:-.03em;font-weight:650}.week-link small{font-size:10px}.date-strip{gap:4px;margin:0 0 16px;padding:5px;border:1px solid var(--line);border-radius:19px;background:color-mix(in srgb,var(--background) 45%,var(--surface))}.date-strip button{height:58px;border-radius:13px;gap:5px}.date-strip button span{font-size:10px;line-height:1.2}.date-strip strong{font-size:16px;font-weight:650}.date-strip i{width:4px;height:4px}.date-strip button.selected{box-shadow:0 2px 5px #0000001f}.balance-card{padding:17px 18px 18px;border-radius:22px;border-color:color-mix(in srgb,var(--accent) 26%,var(--line));box-shadow:0 5px 20px #00000014}.balance-top>span{font-size:9px;line-height:1.4;letter-spacing:1.25px}.balance-top i{width:6px;height:6px}.balance-top button{width:44px;height:40px;border-radius:12px;margin:-9px -7px -9px 0}.balance-center{gap:12px;margin:18px 0 19px}.balance-value>small{font-size:12px}.balance-value>strong{margin:5px 0;font-size:clamp(39px,11.4vw,48px);line-height:1.12}.balance-value>strong span{font-size:12px;margin-left:5px}.balance-value>p{font-size:11px;line-height:1.6}.balance-orbit{width:92px;height:92px}.orbit-track,.orbit-value{stroke-width:7}.orbit-inner{display:none}.orbit-label{display:flex;align-items:center;justify-content:center;flex-direction:column;max-width:72px;position:relative}.orbit-label>strong{font-size:21px;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums;line-height:1.15;letter-spacing:-.04em}.orbit-label>strong small{font-size:11px;margin-left:1px}.orbit-label>span{color:var(--muted);font-size:9px;margin-top:4px}.balance-macros{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:15px}.balance-macros>div{min-width:0}.balance-macros>div>span{font-size:11px;margin-bottom:6px;letter-spacing:-.015em}.balance-macros strong{display:block;font-size:18px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}.balance-macros .macro-unit{color:var(--muted);font-size:11px;font-weight:400;letter-spacing:0}.balance-macros small{display:block;margin-top:4px;font-size:10px;line-height:1.4}.macro-track{margin-top:9px;height:5px;background:color-mix(in srgb,var(--background) 52%,var(--line))}.water-card{padding:15px 16px 11px;margin-top:12px;border-radius:19px;background:color-mix(in srgb,var(--water) 4%,var(--raised))}.water-heading{gap:11px}.water-icon{width:37px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--water) 10%,var(--raised))}.water-heading h2{font-size:13px;margin-bottom:4px}.water-heading p{font-size:11px;line-height:1.4;white-space:nowrap}.water-heading strong{font-weight:650;font-size:14px}.water-add{flex:none;border-radius:12px;border-color:color-mix(in srgb,var(--water) 30%,var(--line));background:color-mix(in srgb,var(--water) 11%,var(--raised));color:var(--water);padding-inline:10px;font-size:12px;font-weight:600;gap:4px}.water-bottom{margin-top:5px;gap:9px}.water-segments{gap:4px}.water-segments i{height:5px}.water-bottom>button{width:36px;height:36px;border-color:transparent;border-radius:10px;flex:none}.journal-meals{margin-top:27px}.journal-meals .section-heading{margin-bottom:12px;gap:8px}.journal-meals .section-heading h2{display:flex;align-items:center;gap:8px;font-size:21px}.section-count{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:8px;background:var(--raised);font:600 11px DM Sans,sans-serif;color:var(--muted);padding:0 5px}.journal-meals .section-heading button{font-size:11px;min-height:42px;white-space:nowrap;padding:8px 0 8px 4px;font-weight:600}.journal-page .meal-list,.library-page .meal-list,.progress-page .meal-list{gap:9px}.entry{border:1px solid var(--line);border-radius:17px;background:color-mix(in srgb,var(--raised) 55%,var(--surface));gap:0;padding:0 9px 0 12px}.entry-main{padding:14px 0;gap:10px}.entry-art{width:39px;height:43px;border-radius:12px}.entry-art svg{width:21px;height:21px;stroke-width:1.6}.entry-copy{gap:4px}.entry-copy>small{font-size:10px;line-height:1.4;letter-spacing:0}.entry-copy strong{font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.entry-copy>.entry-macro-values{display:flex;flex-wrap:wrap;column-gap:7px;row-gap:3px;font-size:9px;line-height:1.4;letter-spacing:0}.entry-macro-values>span{white-space:nowrap;display:inline-flex;align-items:center;gap:3px}.entry-macro-values i{display:block;width:3px;height:3px;border-radius:50%}.entry-macro-values .protein{background:var(--protein)}.entry-macro-values .carbs{background:var(--carbs)}.entry-macro-values .fat{background:var(--fat)}.entry-energy{flex:none;gap:2px;margin-left:1px}.entry-energy b{font-size:17px;letter-spacing:-.025em}.entry-energy small{font-size:9px}.entry-save{flex:none;min-width:34px;min-height:44px;padding:8px 0 8px 5px;align-self:center;border-radius:10px}.thoughtful-empty{padding:25px 18px 22px;border:1px dashed var(--line);border-radius:18px;background:color-mix(in srgb,var(--raised) 25%,var(--surface))}.thoughtful-empty>svg{width:45px;height:45px;padding:11px;border-radius:14px;background:var(--accent-soft);margin-bottom:13px}.thoughtful-empty h3{font-size:19px;margin-bottom:8px}.thoughtful-empty p{font-size:12px;line-height:1.75;margin-bottom:10px}.thoughtful-empty .text-action{min-height:42px;padding:7px 13px;border-radius:11px;background:var(--accent-soft);font-size:12px;font-weight:600}.library-invitation{padding:16px;margin-top:20px;border-radius:17px;gap:12px;background:color-mix(in srgb,var(--accent) 3%,var(--surface))}.library-invitation-icon{display:grid;place-items:center;width:36px;height:40px;border-radius:11px;background:var(--accent-soft)}.library-invitation>span:nth-child(2){min-width:0}.library-invitation strong{font-size:12px;line-height:1.5;margin-bottom:4px;font-weight:600}.library-invitation small{font-size:11px;line-height:1.6}.journal-footnote{font-family:DM Sans,sans-serif;font-style:normal;font-size:11px;margin-top:20px}.library-page .page-intro,.progress-page .page-intro{font-size:13px;line-height:1.7;margin:-5px 0 21px}.library-page .editorial-heading>svg{padding:10px;width:45px;height:45px;border-radius:14px;background:var(--accent-soft);flex:none}.library-page .segmented,.progress-page .segmented{border-radius:15px;margin-bottom:17px;background:color-mix(in srgb,var(--background) 40%,var(--surface))}.library-page .segmented button,.progress-page .segmented button{min-height:44px;border-radius:11px;font-size:12px;font-weight:600}.library-page .segmented button span{font-size:10px;opacity:.85}.library-page .search-box{border:1px solid var(--line);background:var(--raised);border-radius:14px;padding:0 13px;margin-bottom:17px;min-height:50px;gap:10px}.library-page .search-box input{background:transparent;min-height:48px;padding:12px 0}.library-page .search-box input::placeholder{font-size:13px}.library-page .search-box>svg{flex:none}.library-page .search-box:focus-within{border-color:var(--accent)}.library-page .search-box button{min-width:34px}.repeat-panel{padding:19px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));border-radius:20px;scroll-margin-bottom:120px}.repeat-heading>span{font-size:10px;line-height:1.5;letter-spacing:1px;color:var(--accent)}.repeat-panel h2{font-size:24px;overflow-wrap:anywhere}.repeat-panel p{font-size:12px;line-height:1.7}.portion-options{gap:7px;margin:19px 0}.portion-options button{min-height:47px;border-radius:12px;font-weight:600}.repeat-summary{gap:12px}.repeat-summary strong{font-size:28px}.repeat-summary>span{font-size:11px}.period-mark{width:55px;height:55px;flex:none;border-radius:17px;background:var(--accent-soft);font-size:26px}.period-mark small{font-size:8px;letter-spacing:1.2px}.rhythm-card{padding:18px 16px;border-radius:21px}.rhythm-head{align-items:center;gap:10px}.rhythm-head>div{min-width:0}.rhythm-head>div>span{font-size:11px;line-height:1.5}.rhythm-head strong{font-size:36px;line-height:1.2;margin-top:7px;overflow-wrap:anywhere}.rhythm-head strong small{font-size:11px;display:inline-block}.rhythm-head button{flex:none;font-size:11px;min-height:42px;padding:10px;border-radius:11px}.chart-scroll{margin-top:23px}.rhythm-chart{gap:8px}.rhythm-chart>button{gap:9px;font-size:10px;border-radius:8px}.bar-space{height:132px;border-color:var(--line)}.bar-space i{width:70%;max-width:28px;border-radius:6px 6px 0 0}.chart-caption{font-size:10px;line-height:1.7;margin-top:16px;align-items:baseline}.chart-caption i{width:5px;height:5px}.rhythm-stats{gap:10px;padding:0;border:0;margin:12px 0 24px}.rhythm-stats>div,.rhythm-stats>div:first-child{border:1px solid var(--line);border-radius:16px;padding:15px;background:color-mix(in srgb,var(--raised) 55%,var(--surface))}.rhythm-stats span{display:block;font-size:11px;line-height:1.5}.rhythm-stats strong{font-size:26px;line-height:1.2;margin-top:8px}.rhythm-stats small{font-size:11px}.progress-page .day-browser{padding:7px;border:1px solid var(--line);border-radius:15px;background:var(--raised);margin-bottom:17px}.progress-page .day-browser>button{width:40px;height:40px;border-radius:10px;border:0;background:var(--surface)}.progress-page .day-browser>label{font-size:13px}@media(max-width:359px){.journal-page,.library-page,.progress-page{padding-inline:16px}.journal-page .editorial-heading h1,.library-page .editorial-heading h1,.progress-page .editorial-heading h1{font-size:29px}.week-link{padding:8px;gap:3px 5px}.week-link small{font-size:9px}.date-strip{gap:2px;padding:4px}.date-strip button{height:56px}.balance-card{padding:16px 15px}.balance-value>strong{font-size:39px}.balance-orbit{width:73px;height:73px}.orbit-label>strong{font-size:17px}.orbit-label>span{font-size:8px}.balance-macros{gap:8px}.balance-macros>div>span{font-size:10px}.balance-macros strong{font-size:17px}.balance-macros small{font-size:10px}.water-card{padding-inline:12px}.water-heading{gap:8px}.water-icon{width:30px;height:38px}.water-add{padding-inline:7px;font-size:11px}.journal-meals .section-heading h2{font-size:19px;gap:6px}.entry{padding-inline:10px 7px}.entry-main{gap:7px}.entry-art{width:31px;height:39px}.entry-art svg{width:19px;height:19px}.entry-copy strong{font-size:12px}.entry-copy>.entry-macro-values{font-size:9px;column-gap:5px}.entry-energy b{font-size:15px}.entry-save{min-width:29px}.rhythm-card{padding-inline:14px}.rhythm-head strong{font-size:31px}.rhythm-head button{font-size:10px;padding-inline:8px;gap:5px}.rhythm-stats>div,.rhythm-stats>div:first-child{padding:13px}}.settings-grid{gap:18px}.settings-grid .settings-card{padding:22px;border-radius:max(18px,var(--app-radius, 18px));box-shadow:0 3px 12px #0000000d}.settings-card h2{font-size:17px;line-height:1.35;margin-bottom:12px}.settings-card p{font-size:13px;line-height:1.75}.settings-card>label,.preference-grid label{font-size:13px;line-height:1.5}.settings-card>label{color:var(--text);margin-top:22px}.settings-input-row{gap:10px}.settings-input-row input{font-weight:600;min-height:48px}.settings-input-row .button{flex:none}.settings-card .account-profile-heading{margin-bottom:18px;gap:14px}.account-profile-heading .profile-avatar-large{width:60px;height:60px;border:2px solid var(--line)}.settings-card .account-profile-heading h2{font-size:20px;margin-bottom:3px}.settings-card .account-profile-heading p{font-size:12px}.settings-card .account-email{padding-top:16px;border-top:1px solid var(--line);margin:0 0 9px;font-size:14px;font-weight:500}.settings-card .account-manage{justify-content:space-between;text-align:left;color:var(--accent);background:var(--accent-soft);padding:13px 14px;line-height:1.5}.settings-card .account-manage svg{flex:none}.settings-card .macro-mode{gap:5px;padding:4px;background:var(--surface);border-radius:14px}.settings-card .macro-mode button{font-size:12px;min-height:48px;border-color:transparent;border-radius:10px}.settings-card .macro-mode button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}.settings-card .macro-energy{background:var(--surface);padding:16px}.settings-card .macro-energy strong{font-size:25px}.settings-card .macro-energy span,.settings-card .macro-energy small{font-size:12px}.settings-card .preference-grid{margin:22px 0;gap:18px 12px}.preference-grid label:nth-child(1){color:var(--protein)}.preference-grid label:nth-child(2){color:var(--carbs)}.preference-grid label:nth-child(3){color:var(--fat)}.preference-grid label:nth-child(4){color:var(--water)}.preference-grid input{min-height:48px;background:var(--surface);font-weight:500}.settings-card .macro-explanation{font-size:12px;line-height:1.75}.settings-card .macro-explanation summary{padding-block:8px}.settings-disclaimer{margin-top:18px;padding:14px;font-size:12px;line-height:1.7;background:var(--surface)}.settings-card .danger-link{font-size:13px;min-height:48px;line-height:1.5;text-align:left}.settings-card .danger-link svg{flex:none}.settings-card .danger-link+.danger-link{margin-top:5px}.settings-card.install-card{gap:12px}.settings-card.install-card>svg{width:22px;height:22px;margin-top:2px}.install-card .button{color:var(--accent);padding-inline:12px}.install-instructions{line-height:1.8}.install-instructions li+li{margin-top:5px}.install-instructions .icon-button{margin-left:6px}.analysis-allowance .allowance-heading{font-size:13px;font-weight:500}.analysis-allowance p{font-size:12px;line-height:1.7}.analysis-allowance .allowance-error{font-size:12px;flex-wrap:wrap}.allowance-error svg{flex:none;margin-top:3px}.allowance-error button{min-height:32px}.editor-modal{border-radius:28px 28px 0 0;box-shadow:0 -16px 64px #00000050}.editor-header{padding:22px 22px 18px;gap:14px}.editor-header>div{min-width:0}.editor-header h2{font-size:clamp(25px,7.3vw,29px);margin-top:7px}.editor-header .section-label{font-size:10px;letter-spacing:1.5px;color:var(--accent)}.editor-header .icon-button{flex:none;width:40px;height:40px;background:var(--raised);border-radius:50%}.editor-body{min-height:0;padding:20px 22px 24px;scrollbar-width:thin}.editor-body .draft-status{font-size:11px;line-height:1.6;margin-bottom:16px}.editor-body .analysis-allowance.compact{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;padding:14px;margin-bottom:20px}.analysis-allowance.compact .allowance-heading{align-items:center;font-size:12px;line-height:1.45}.analysis-allowance.compact .allowance-heading svg{flex:none}.analysis-allowance.compact .allowance-count{margin:0;gap:6px;align-items:baseline}.analysis-allowance.compact .allowance-count strong{font-size:24px}.analysis-allowance.compact .allowance-count span{max-width:68px;font-size:11px;line-height:1.4}.analysis-allowance.compact>p,.analysis-allowance.compact .allowance-error{grid-column:1 / -1}.editor-body .input-tabs{padding:5px;margin-bottom:20px;border:1px solid var(--line);border-radius:15px;gap:4px}.editor-body .input-tabs button{min-height:44px;font-size:13px;font-weight:500;border-radius:10px}.editor-body .upload-zone{height:214px;min-height:190px;margin-bottom:24px;border-color:color-mix(in srgb,var(--accent) 38%,var(--line));border-radius:18px}.editor-body .upload-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:var(--accent-soft);margin-bottom:14px}.editor-body .upload-zone strong{font-size:15px;font-weight:600}.editor-body .upload-zone p{font-size:12px;margin:8px 0 14px}.editor-body .upload-zone small{font-size:11px}.editor-body .upload-zone.has-image{border-style:solid}.editor-body .replace-image{font-size:12px;min-height:40px;padding:10px 12px}.editor-body .field-label{color:var(--text);font-size:13px;line-height:1.5}.editor-body textarea{padding:14px;border-radius:13px}.editor-body .privacy-check{padding:15px;background:var(--raised);border:1px solid var(--line);border-radius:14px;margin-top:20px;gap:12px}.editor-body .privacy-check input{width:20px;height:20px}.editor-body .privacy-check label{font-size:12px;line-height:1.7;cursor:pointer}.editor-body .demo-editor-note,.editor-body .estimate-note,.editor-body .editor-error{padding:14px;font-size:12px;line-height:1.7;border-radius:13px}.editor-fields input,.editor-fields select{min-height:48px;padding:12px}.editor-field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 12px}.editor-field-grid>div{min-width:0}.editor-body .foods-heading{gap:10px;margin:28px 0 16px}.editor-body .foods-heading h3{font-size:19px}.editor-body .foods-heading button{font-size:12px;font-weight:500;min-height:44px}.editor-body .foods-heading button svg{flex:none}.editor-body .food-edit{padding:15px;border-radius:16px;background:var(--raised)}.food-edit-top{flex-wrap:wrap;gap:8px}.food-edit-top input{min-height:44px;font-weight:600}.food-edit-top>span{font-size:10px;overflow-wrap:anywhere;max-width:75px}.food-edit-top .icon-button{width:36px;min-width:36px;height:36px}.food-edit .food-edit-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 10px;margin-top:14px}.food-edit-grid label{grid-column:span 2;font-size:11px;line-height:1.5}.food-edit-grid label:nth-child(-n+2){grid-column:span 3}.food-edit-grid label:nth-child(3){color:var(--protein)}.food-edit-grid label:nth-child(4){color:var(--carbs)}.food-edit-grid label:nth-child(5){color:var(--fat)}.food-edit-grid input{min-height:46px;padding:10px 8px;background:var(--surface)}.food-edit .food-note{font-size:12px;margin-top:16px}.editor-body .editor-total{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--raised);gap:12px}.editor-total>div:first-child{min-width:0}.editor-total strong{font-size:30px;line-height:1.2}.editor-total span{font-size:11px}.editor-total>div:last-child{flex:none}.editor-total>div:last-child span:nth-child(1){color:var(--protein)}.editor-total>div:last-child span:nth-child(2){color:var(--carbs)}.editor-total>div:last-child span:nth-child(3){color:var(--fat)}.editor-footer{gap:8px;padding:14px 20px calc(16px + env(safe-area-inset-bottom));background:var(--surface)}.editor-footer .button{min-height:48px;white-space:normal;line-height:1.45;padding:10px 12px}.editor-footer .button svg{flex:none}.editor-footer .button-primary{flex:1}.auth-page .auth-main{padding-inline:24px;padding-bottom:calc(32px + env(safe-area-inset-bottom))}.auth-page .auth-intro{padding:24px 0 28px}.auth-page .auth-intro h1{font-size:clamp(30px,8.5vw,36px);line-height:1.14}.auth-page .auth-intro p{font-size:14px;line-height:1.75;max-width:34ch}.auth-page .clerk-shell .cl-card{padding:24px 20px;border:1px solid var(--line);border-radius:20px}.auth-page .clerk-shell .cl-headerTitle{font-family:var(--heading-font);font-size:23px;letter-spacing:-.035em}.auth-page .clerk-shell .cl-headerSubtitle{font-size:13px;line-height:1.65}.auth-page .clerk-shell .cl-formFieldLabel{font-size:13px;line-height:1.5}.auth-page .clerk-shell .cl-formFieldInput{font-size:16px;min-height:46px}.auth-page .clerk-shell .cl-formButtonPrimary{min-height:46px;font-size:14px}.auth-page .auth-caveat{font-size:12px;padding:16px 2px 0;line-height:1.75}.auth-page .signup-plan-summary{padding:18px;font-size:13px;border-color:color-mix(in srgb,var(--accent) 36%,var(--line));background:var(--accent-soft);border-radius:16px}.auth-page .signup-plan-summary button{min-height:40px;font-size:12px}.onboarding-page{padding-inline:24px;padding-bottom:calc(36px + env(safe-area-inset-bottom))}.onboarding-page .onboarding-header{margin-bottom:26px}.onboarding-page .onboarding-header a,.onboarding-page .onboarding-text-button{min-height:44px;display:inline-flex;align-items:center;font-size:12px}.onboarding-page .onboarding-progress{gap:6px;margin-bottom:28px}.onboarding-page .onboarding-progress span{height:4px}.onboarding-page .onboarding-body h1{font-size:clamp(30px,8.7vw,36px);line-height:1.16}.onboarding-page .onboarding-intro{font-size:14px;line-height:1.75;margin-bottom:26px}.onboarding-page .onboarding-choices{gap:12px}.onboarding-page .onboarding-choice{border-radius:16px;padding:18px 16px;gap:12px}.onboarding-page .onboarding-choice strong{font-size:15px;font-weight:600;line-height:1.4}.onboarding-page .onboarding-choice small{font-size:12px;line-height:1.65;margin-top:5px}.onboarding-page .onboarding-choice-icon{width:34px;height:38px}.onboarding-page .onboarding-choice.selected{background:var(--accent-soft);border-color:var(--accent)}.onboarding-page .onboarding-choice.selected .choice-check{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}.onboarding-page .onboarding-details legend{font-size:14px}.onboarding-page .onboarding-sex button{font-size:14px;min-height:48px}.onboarding-page .onboarding-sex .selected{color:var(--accent);background:var(--accent-soft)}.onboarding-page .onboarding-details fieldset small{font-size:12px;line-height:1.7}.onboarding-page .onboarding-fields label,.onboarding-page .onboarding-result label{font-size:13px;color:var(--text);line-height:1.5}.onboarding-page .onboarding-fields input,.onboarding-page .onboarding-result input{min-height:48px}.onboarding-page .onboarding-check{gap:12px;font-size:12px;line-height:1.75;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--raised)}.onboarding-page .onboarding-check input{width:20px;height:20px}.onboarding-page .onboarding-note,.onboarding-page .onboarding-method{font-size:12px;line-height:1.75}.onboarding-page .onboarding-method summary{padding-block:10px}.onboarding-page .onboarding-result{padding:20px;border-radius:20px}.onboarding-page .onboarding-result p,.onboarding-page .onboarding-macros p{font-size:12px;line-height:1.75}.onboarding-page .onboarding-estimate{color:var(--accent)}.onboarding-page .onboarding-macros{padding:18px;border-radius:18px}.onboarding-page .macro-preview{gap:8px}.onboarding-page .macro-preview span{font-size:11px}.onboarding-page .onboarding-actions{gap:10px;margin-top:28px}.onboarding-page .onboarding-actions .button{min-height:50px}@media(max-width:359px){.settings-grid .settings-card{padding:18px}.settings-input-row .button{padding-inline:12px}.settings-card .macro-mode button{padding-inline:6px;font-size:11px}.settings-card .preference-grid{gap:16px 10px}.preference-grid label{font-size:12px}.editor-header,.editor-body{padding-inline:16px}.editor-body .food-edit{padding:12px}.food-edit .food-edit-grid{gap:14px 8px}.food-edit-top>span{max-width:61px}.editor-body .editor-total{padding:14px}.editor-total strong{font-size:27px}.editor-footer{padding-inline:14px}.editor-footer .button{padding-inline:9px;font-size:12px}.editor-footer .button-primary{gap:5px}.auth-page .auth-main{padding-inline:18px}.auth-page .clerk-shell .cl-card{padding-inline:16px}.onboarding-page{padding-inline:18px}.onboarding-page .onboarding-choice{padding-inline:12px;gap:10px}.onboarding-page .onboarding-choice-icon{width:26px}.onboarding-page .onboarding-choice strong{font-size:14px}.onboarding-page .onboarding-result,.onboarding-page .onboarding-macros{padding:16px}.onboarding-page .macro-preview span{font-size:10px}}
