:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172117;background:#fbfcf8;line-height:1.5;font-weight:400;color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--eda-bg: #fbfcf8;--eda-panel: #ffffff;--eda-panel-strong: #ffffff;--eda-ink: #172117;--eda-muted: #5f6f59;--eda-primary: #2f6b3a;--eda-primary-hover: #285c32;--eda-sage: #f6f8f2;--eda-surface-tint: #fdfefb;--eda-border: #e4eadf;--eda-border-strong: #cad8c4;--eda-clay: #b66b45;--eda-amber: #8f5f18;--eda-danger: #9f3d32;--eda-danger-bg: #fff0ec;--eda-radius-sm: 8px;--eda-radius-md: 12px;--eda-radius-lg: 16px;--eda-shadow: 0 18px 48px rgba(44, 67, 48, .07)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit}button,input,textarea{font:inherit}button{cursor:pointer}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%)}#root{min-height:100vh}.app-shell{min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr);background:var(--eda-bg)}.app-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:22px;padding:20px;border-right:1px solid var(--eda-border);background:var(--eda-panel)}.app-brand{display:inline-flex;align-items:center;min-width:0;gap:10px;color:var(--eda-ink)}.app-brand-mark{display:inline-grid;place-items:center;width:36px;height:36px;flex:0 0 auto;border-radius:10px;background:var(--eda-primary);color:var(--eda-panel);font-weight:850}.app-brand strong,.app-brand small{display:block}.app-brand small{color:var(--eda-muted);font-size:.76rem}.app-nav{display:grid;gap:6px}.app-nav-link{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 12px;border-radius:var(--eda-radius-md);color:#4d5f49;text-decoration:none;font-weight:720;transition:background-color .16s ease,color .16s ease}.app-nav-link:hover{background:var(--eda-sage)}.app-nav-link[aria-current=page]{background:var(--eda-primary);color:var(--eda-panel)}.app-nav-icon{display:inline-grid;place-items:center;width:20px;height:20px;flex:0 0 auto}.app-nav-icon svg,.ui-icon-button svg,.journal-total-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.app-main-frame{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.app-top-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:18px 24px 0}.app-content{width:min(100%,1220px);margin:0 auto;padding:18px 24px 32px}.app-mobile-topbar,.app-bottom-nav{display:none}.app-user-pill{max-width:min(34vw,280px);min-height:40px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-sm);background:var(--eda-panel);color:var(--eda-muted);font-size:.9rem;font-weight:760;overflow-wrap:anywhere}.ui-button,.ui-icon-button,.ui-field{border:1px solid var(--eda-border);border-radius:var(--eda-radius-sm);font:inherit}.ui-button{min-height:40px;padding:0 14px;font-weight:760;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.ui-button-primary{border-color:var(--eda-primary);background:var(--eda-primary);color:var(--eda-panel)}.ui-button-primary:hover{background:var(--eda-primary-hover)}.ui-button-secondary,.ui-button-ghost{background:var(--eda-panel);color:var(--eda-primary)}.ui-button-danger{border-color:#9f3d3242;background:var(--eda-danger-bg);color:var(--eda-danger)}.ui-icon-button{display:inline-grid;place-items:center;width:36px;height:36px;background:var(--eda-panel);color:var(--eda-primary);cursor:pointer}.ui-field{min-height:40px;min-width:0;padding:8px 10px;background:var(--eda-panel-strong);color:var(--eda-ink)}.ui-button:focus-visible,.ui-icon-button:focus-visible,.ui-field:focus-visible,.app-nav-link:focus-visible{outline:3px solid rgba(47,107,58,.26);outline-offset:2px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.ui-eyebrow,.eyebrow{color:var(--eda-muted);font-size:.74rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.page-header h1{margin:4px 0 0;font-size:clamp(1.7rem,4vw,2.65rem);line-height:1.05;letter-spacing:0}.page-header-summary,.page-header-meta,.muted{color:var(--eda-muted)}.page-header-summary{max-width:52rem;margin:8px 0 0}.page-header-actions,.ui-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.ui-surface{border:1px solid var(--eda-border);border-radius:var(--eda-radius-lg);background:var(--eda-panel);box-shadow:var(--eda-shadow)}.status-message{margin:18px 0 0;color:var(--eda-danger);font-weight:700}.status-message-danger{color:var(--eda-danger)}.status-message-info{color:var(--eda-primary)}.status-message-warning{color:var(--eda-amber)}.empty-state{margin:0;padding:18px;border-radius:var(--eda-radius-md);background:var(--eda-sage);color:var(--eda-muted)}.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.metric-card{min-width:0;padding:12px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-md);background:var(--eda-panel)}.metric-label,.journal-total-label{display:block;color:var(--eda-muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.metric-value,.journal-total-value{display:block;color:var(--eda-ink);font-size:1.1rem;line-height:1.2}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--eda-bg)}.auth-panel{width:min(100%,1060px);margin:0 auto;padding:22px;border:1px solid var(--eda-border);border-radius:20px;background:#fffffff0;box-shadow:var(--eda-shadow);display:grid;gap:34px}.auth-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.auth-grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(260px,.8fr);align-items:start;gap:28px}.auth-copy h1{max-width:13ch;margin:12px 0 14px;color:var(--eda-ink);font-size:clamp(2.15rem,6vw,4rem);line-height:1;letter-spacing:0}.auth-intro-copy{max-width:38rem;margin:0;color:var(--eda-muted);font-size:1.04rem}.auth-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.auth-actions .ui-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.auth-aside{display:grid;gap:12px}.auth-info-card{padding:18px;background:var(--eda-panel-strong)}.auth-info-card h2{margin:0 0 8px;color:var(--eda-ink);font-size:1rem;line-height:1.25}.auth-info-card p{margin:0;color:var(--eda-muted)}.journal-page{display:grid;gap:18px}.journal-panel{padding:28px;display:grid;gap:18px}.journal-panel:before{display:none}.journal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.journal-header h2,.focus-card h3{margin:0 0 8px;color:var(--eda-ink);font-size:1.04rem;line-height:1.25;letter-spacing:0}.journal-copy{margin:12px 0 0}.language-switcher{display:inline-flex;align-items:center;padding:3px;border:1px solid var(--eda-border);border-radius:999px;background:var(--eda-panel)}.language-switcher-button{min-width:42px;min-height:34px;border:0;border-radius:999px;background:transparent;color:var(--eda-primary);font-size:.78rem;font-weight:800}.language-switcher-button.is-active{background:var(--eda-primary);color:var(--eda-panel);cursor:default}.journal-datebar{align-items:center;padding:12px;border:1px solid var(--eda-border-strong);border-radius:var(--eda-radius-lg);background:var(--eda-panel)}.journal-datebar-calendar-row,.journal-datebar-actions-row{display:contents}.journal-datebar .ui-icon-button{width:40px;height:40px}.journal-toolbar-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.journal-day-type-button.is-training{margin-left:auto;color:var(--eda-amber)}.journal-day-type-button.is-normal{margin-left:auto}.journal-day-type-button:disabled{opacity:.55}.journal-owner-select-label{display:inline-flex;align-items:center;gap:8px;margin-left:0;min-width:min(100%,260px);color:var(--eda-muted);font-size:.88rem;font-weight:760}.journal-owner-select-label .ui-field{flex:1 1 160px;min-width:0}.journal-owner-cycle-button{display:none}.journal-readonly-banner{margin:0;padding:12px 14px;border-radius:12px;background:#fff4d7;border:1px solid rgba(137,95,28,.22);color:#6d4c18;font-weight:700}.journal-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.journal-page-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.journal-total{padding:12px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-md);background:var(--eda-panel)}.journal-page-total{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 10px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-md);background:var(--eda-panel)}.journal-total-icon{display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 auto;border-radius:var(--eda-radius-sm);border:1px solid var(--eda-border);background:var(--eda-panel);color:var(--eda-primary)}.journal-total-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.total-protein .journal-total-icon{color:#2f7d62}.total-fat .journal-total-icon{color:#756044}.total-carbs .journal-total-icon{color:#357f71}.total-calories .journal-total-icon{color:var(--eda-amber)}.journal-total-copy{display:grid;min-width:0;gap:1px}.journal-total-label{display:block;color:var(--eda-muted);font-size:.64rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.journal-total-value{display:block;margin-top:0;overflow:hidden;color:var(--eda-ink);font-size:.98rem;line-height:1.15;white-space:nowrap;text-overflow:ellipsis}.journal-total-divider{padding:0 2px}.journal-total-target{color:var(--eda-muted)}.journal-empty{margin:0;padding:18px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-md);background:var(--eda-panel);color:var(--eda-muted)}.journal-target-settings{display:grid;gap:14px}.journal-target-settings>.ui-button{justify-self:start}.journal-target-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.journal-target-settings-section{display:grid;gap:10px;padding:14px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-md);background:var(--eda-panel)}.journal-target-settings-section h2{margin:0;color:var(--eda-ink);font-size:1rem}.journal-target-field{display:grid;gap:5px;color:var(--eda-muted);font-size:.78rem;font-weight:800}.journal-list{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.journal-card{display:grid;gap:14px;padding:14px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-md);background:var(--eda-panel);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.journal-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.journal-card h3{margin:0 0 6px;color:var(--eda-ink);font-family:inherit;font-size:1rem;line-height:1.25}.journal-card p{margin:0}.journal-weight{white-space:nowrap;padding:7px 10px;border:1px solid var(--eda-border-strong);border-radius:999px;background:var(--eda-panel);color:var(--eda-primary);font-weight:760}.journal-card-meta{display:flex;flex-wrap:wrap;gap:8px}.journal-tag{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid var(--eda-border);border-radius:999px;background:var(--eda-panel);color:var(--eda-primary);font-size:.86rem;font-weight:760}.journal-desktop-surface{overflow-x:auto;border:1px solid var(--eda-border-strong);border-radius:var(--eda-radius-lg);background:var(--eda-panel)}.journal-desktop-table{width:100%;min-width:900px;border-spacing:0;border-collapse:collapse;table-layout:fixed}.journal-desktop-table th,.journal-desktop-table td{text-align:left}.journal-desktop-table th:nth-child(1),.journal-desktop-table td:nth-child(1){width:58px}.journal-desktop-table th:nth-child(2),.journal-desktop-table td:nth-child(2){width:330px}.journal-desktop-table th:nth-child(3),.journal-desktop-table td:nth-child(3){width:120px}.journal-desktop-table th:nth-child(4),.journal-desktop-table td:nth-child(4),.journal-desktop-table th:nth-child(5),.journal-desktop-table td:nth-child(5),.journal-desktop-table th:nth-child(6),.journal-desktop-table td:nth-child(6){width:64px}.journal-desktop-table th:nth-child(7),.journal-desktop-table td:nth-child(7){width:86px}.journal-desktop-table th:nth-child(8),.journal-desktop-table td:nth-child(8){width:44px}.journal-desktop-head{background:var(--eda-panel);color:var(--eda-primary);font-size:.7rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.journal-desktop-head th{padding:10px;border-bottom:1px solid var(--eda-border-strong)}.journal-desktop-entry{border-top:1px solid var(--eda-border);background:var(--eda-panel);cursor:grab;transition:background-color .14s ease}.journal-desktop-entry:hover{background:var(--eda-surface-tint)}.journal-section-row{border-top:1px solid var(--eda-border-strong);background:var(--eda-panel)}.journal-section-cell{padding:8px 10px;border-bottom:1px solid var(--eda-border)}.journal-section-content{display:flex;min-height:34px;align-items:center;gap:10px}.journal-section-heading{display:flex;min-width:0;align-items:center;gap:8px;flex-wrap:wrap}.journal-section-title{color:var(--eda-primary);font-size:.86rem;font-weight:860;text-transform:uppercase}.journal-section-macro-summary{display:inline-flex;max-width:100%;align-items:center;padding:3px 8px;border:1px solid var(--eda-border-strong);border-radius:999px;background:var(--eda-panel);color:var(--eda-primary);font-size:.72rem;font-weight:780;line-height:1.15;overflow-wrap:anywhere}.journal-section-drag-handle{width:22px}.journal-section-delete-button{width:30px;height:30px;margin-left:auto}.journal-cell{min-height:36px;min-width:0;overflow:hidden;padding:9px 10px;color:var(--eda-ink);font-size:.9rem;line-height:1.25;vertical-align:middle}.editable-cell{background:transparent}.journal-cell-button{display:grid;width:100%;min-height:26px;min-width:0;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;line-height:inherit;text-align:left}.journal-cell-value{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.journal-cell-caption{min-width:0;color:var(--eda-muted);font-size:.68rem;font-weight:850;line-height:1.1;white-space:nowrap}.journal-food-cell{white-space:normal}.journal-food-cell .journal-cell-button{min-height:34px;align-content:center}.journal-food-cell .journal-cell-value{display:-webkit-box;overflow:hidden;white-space:normal;text-overflow:clip;-webkit-box-orient:vertical;-webkit-line-clamp:2}.journal-cell-button:focus-visible,.journal-inline-input:focus-visible{outline:2px solid rgba(47,107,58,.38);outline-offset:2px}.journal-inline-input{width:100%;min-width:0;min-height:32px;padding:5px 7px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-sm);background:var(--eda-panel-strong);color:var(--eda-ink);font:inherit}.journal-cell-pending{margin-top:2px;color:var(--eda-muted);font-size:.72rem;font-weight:800}.journal-row-error td{padding:8px 10px;border-top:1px solid rgba(159,61,50,.22);background:var(--eda-danger-bg);color:var(--eda-danger);font-size:.86rem;font-weight:700}.readonly-cell{color:#4d5f49;font-weight:720}.journal-order-cell{display:flex;align-items:center;justify-content:center;gap:9px;width:58px;min-width:58px}.journal-desktop-entry:active{cursor:grabbing}.journal-drag-handle{display:inline-grid;place-items:center;width:8px;height:28px;flex:0 0 auto;border:0;background:transparent;color:var(--eda-muted);cursor:grab;touch-action:none}.journal-drag-handle:active{cursor:grabbing}.journal-drag-handle span,.journal-drag-handle span:before,.journal-drag-handle span:after{display:block;width:4px;height:4px;border-radius:999px;background:currentColor}.journal-drag-handle span{position:relative}.journal-drag-handle span:before,.journal-drag-handle span:after{content:"";position:absolute;left:0}.journal-drag-handle span:before{top:-8px}.journal-drag-handle span:after{top:8px}.is-dragging{opacity:.56;box-shadow:0 10px 28px #2c43301f}.journal-expand-cell{text-align:center}.journal-icon-button{display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid var(--eda-border);border-radius:999px;background:var(--eda-panel-strong);color:var(--eda-primary);font-size:1.1rem;font-weight:800;line-height:1}.journal-button-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.journal-icon-button:disabled{cursor:not-allowed;opacity:.45}.journal-source-details{display:grid;gap:8px;padding:12px 10px;background:transparent}.journal-source-row td{border-top:1px solid var(--eda-border-strong);background:var(--eda-surface-tint)}.journal-source-details-cell{padding:0;vertical-align:top}.journal-basis-cell{vertical-align:top}.journal-basis-cell .journal-cell-button{gap:3px;min-height:48px;align-content:center}.journal-basis-cell .journal-inline-input{margin-top:10px}.journal-basis-spacer-cell{color:var(--eda-muted)}.journal-delete-cell{text-align:center;vertical-align:top}.journal-source-markdown-row td{border-top:0}.journal-source-markdown-cell{padding:0 10px 12px}.journal-source-details p{margin:0;color:var(--eda-ink)}.journal-source-badge{justify-self:start;min-height:24px;padding:4px 8px;border:1px solid var(--eda-border);border-radius:999px;background:var(--eda-panel-strong);color:var(--eda-muted);font-size:.76rem;font-weight:800}.journal-source-markdown{box-sizing:border-box;margin:0;width:100%;max-width:100%;overflow-x:auto;white-space:pre-wrap;border-radius:var(--eda-radius-sm);padding:12px;background:var(--eda-panel-strong);border:1px solid var(--eda-border);color:var(--eda-ink);font:.88rem/1.5 SFMono-Regular,Consolas,Liberation Mono,monospace}.journal-source-markdown a{color:var(--eda-primary);font-weight:800;text-decoration-thickness:.08em;text-underline-offset:.16em}.journal-delete-button{display:inline-grid;justify-self:start;place-items:center;width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:var(--eda-radius-sm);background:transparent;color:var(--eda-danger)}.journal-delete-button:hover{border-color:#9f3d3238;background:var(--eda-danger-bg)}.journal-delete-button:disabled{cursor:not-allowed;opacity:.52}.journal-status-cell{padding-inline:5px;text-align:center}.journal-status-dot{display:inline-block;width:10px;height:10px;border-radius:999px;box-shadow:0 0 0 3px #753f1f14}.journal-status-heading{padding-inline:5px}.status-complete{background:#2f9b62}.status-estimated{background:#d08b2e}.status-pending{background:#a36d56}.journal-mobile-surface,.journal-desktop-surface[hidden],.journal-mobile-surface[hidden]{display:none}.journal-mobile-list{display:grid;gap:10px}.journal-mobile-list.is-reordering{-webkit-user-select:none;user-select:none}.journal-mobile-entry{display:grid;gap:8px;padding:10px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-md);background:var(--eda-panel);cursor:pointer;transition:box-shadow .14s ease,opacity .14s ease}.journal-mobile-section{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-height:44px;gap:10px;padding:8px 12px;border:1px solid var(--eda-border-strong);border-radius:var(--eda-radius-lg);background:var(--eda-panel)}.journal-mobile-section h2{margin:0;color:var(--eda-primary);font-size:.88rem;font-weight:860;text-transform:uppercase}.journal-mobile-section .journal-section-heading{align-content:center}.journal-mobile-section .journal-icon-button{width:34px;height:34px}.journal-mobile-main{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.journal-mobile-food-name{margin:0;overflow-wrap:anywhere;color:var(--eda-ink);font-size:1rem;font-weight:760;line-height:1.2}.journal-mobile-drag-handle{width:28px;height:32px}.journal-mobile-amount{margin:0;color:var(--eda-muted);font-size:.78rem;font-weight:800}.journal-mobile-summary-row{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:6px;min-width:0}.journal-mobile-macros{display:flex;justify-content:flex-end;gap:5px;min-width:0}.journal-mobile-macro{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:24px;padding:3px 6px;border-radius:var(--eda-radius-sm);background:var(--eda-sage);color:var(--eda-ink);font-size:.76rem;font-weight:800;text-align:center}.journal-mobile-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:0;cursor:default}.journal-mobile-editor label:first-child,.journal-mobile-source-toggle,.journal-mobile-editor .journal-source-details{grid-column:1 / -1}.journal-mobile-basis-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.journal-mobile-editor label{display:grid;gap:5px;min-width:0;color:var(--eda-muted);font-size:.82rem;font-weight:760}.journal-mobile-source-toggle{min-height:38px;padding:8px 10px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-sm);background:var(--eda-panel);color:var(--eda-primary);cursor:pointer;font:inherit;font-weight:760}.journal-mobile-error{margin:0;padding:8px 10px;border:1px solid rgba(159,61,50,.22);border-radius:var(--eda-radius-sm);background:var(--eda-danger-bg);color:var(--eda-danger);font-size:.86rem;font-weight:700}.overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);align-items:start;gap:16px;margin-bottom:18px}.overview-status-panel{display:grid;gap:10px;align-content:start;min-height:120px;padding:18px}.overview-status-panel .status-message,.overview-status-panel .loading-copy{margin:0}.focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.focus-card{border:1px solid var(--eda-border);border-radius:var(--eda-radius-md);background:var(--eda-panel);padding:18px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.focus-id{display:inline-flex;margin-bottom:10px;color:var(--eda-muted);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.focus-card .muted{margin:0}.focus-card .muted+.muted{margin-top:10px}.loading-copy{display:inline-flex;align-items:center;gap:12px}.loading-copy:before{content:"";width:12px;height:12px;border-radius:999px;background:var(--eda-primary);box-shadow:18px 0 #2f6b3a52,36px 0 #2f6b3a1f;animation:simmer 1.2s infinite ease-in-out}@keyframes simmer{0%,to{transform:translate(0);opacity:.7}50%{transform:translate(6px);opacity:1}}@media(max-width:820px){.app-shell{display:block;padding-bottom:74px}.app-sidebar{display:none}.app-mobile-topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--eda-border);background:#fffffff0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-user-compact{min-width:0;overflow-wrap:anywhere;color:var(--eda-muted);font-size:.82rem;font-weight:760;text-align:right}.app-top-actions{justify-content:flex-start;padding:12px 14px 0}.app-user-pill{max-width:100%}.app-content{padding:14px}.meal-journal-shell{padding-bottom:0}.meal-journal-shell .app-mobile-topbar,.meal-journal-shell .app-top-actions,.meal-journal-shell .app-bottom-nav{display:none}.app-bottom-nav{position:fixed;z-index:30;right:10px;bottom:10px;left:10px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px;border:1px solid var(--eda-border);border-radius:16px;background:#fffffff5;box-shadow:0 16px 40px #2c43301a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-bottom-nav .app-nav-link{min-height:48px;flex-direction:column;justify-content:center;gap:3px;padding:4px;font-size:.68rem;line-height:1.1;text-align:center;overflow-wrap:anywhere}.page-header{display:grid}.metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:980px){.overview-grid,.focus-grid{grid-template-columns:1fr}}@media(max-width:860px){.journal-header{flex-direction:column;align-items:flex-start}.journal-panel{padding:22px}.journal-totals,.journal-page-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-card-top{flex-direction:column}}@media(max-width:760px){.auth-shell{padding:14px}.auth-panel{padding:18px;gap:24px}.auth-topbar{align-items:center}.auth-grid{grid-template-columns:1fr;align-items:start}.auth-copy h1{max-width:13ch}.auth-actions{align-items:stretch;flex-direction:column}.auth-actions .ui-button{width:100%}}@media(max-width:720px){.journal-desktop-surface{display:none}.journal-mobile-surface{display:block}.journal-page-totals{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.journal-page-total{flex-direction:column;justify-content:center;gap:4px;min-height:76px;padding:6px 4px;text-align:center}.journal-page-totals .journal-total-label{display:none}.journal-page-totals .journal-total-icon{width:24px;height:24px}.journal-page-totals .journal-total-copy{justify-items:center}.journal-page-totals .journal-total-value{display:grid;gap:1px;font-size:.82rem;line-height:1.05;white-space:normal}.journal-page-totals .journal-total-divider{display:none}.journal-page-totals .journal-total-target{font-size:.72rem}.journal-datebar{display:grid;grid-template-columns:1fr;gap:8px}.journal-datebar-calendar-row{display:grid;grid-template-columns:40px minmax(0,1fr) 40px 40px;gap:8px}.journal-datebar-actions-row{display:grid;grid-template-columns:repeat(5,40px);gap:8px;justify-content:space-between}.journal-datebar .ui-button,.journal-datebar .ui-field{width:100%}.journal-datebar .ui-icon-button{width:40px}.journal-day-type-button.is-normal,.journal-day-type-button.is-training{margin-left:0;order:1}.journal-owner-cycle-button{display:inline-grid;place-items:center;order:2;width:40px;height:40px;border:1px solid var(--eda-border);border-radius:var(--eda-radius-sm);background:var(--eda-panel);color:var(--eda-primary);font:inherit;font-weight:860;cursor:pointer}.journal-refresh-button{order:3}.journal-settings-button{order:4}.journal-add-snack-button{order:5}.journal-owner-select-label{display:none}.journal-mobile-editor .journal-source-details{margin-top:0}}@media(max-width:380px){.journal-mobile-editor{grid-template-columns:1fr}}@media(max-width:560px){.journal-totals,.journal-list,.journal-target-settings-grid{grid-template-columns:1fr}}
