/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:host,:root{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--cream:#faf7f1;--cream-deep:#f2ede7;--paper:#fffdf9;--ink:#29264f;--muted:#716d82;--indigo:#5b54b1;--indigo-dark:#3a356f;--indigo-soft:#eceafb;--coral:#e87564;--coral-dark:#b94f43;--coral-soft:#fbe8e4;--lilac:#9b70bd;--lilac-soft:#f2eaf4;--line:#e7dfd7;--shadow:0 16px 42px #37315c12}*{box-sizing:border-box}html{background:var(--cream);color:var(--ink)}body{background:radial-gradient(circle at 94% 2%,#eceafbc7,transparent 31rem),radial-gradient(circle at 5% 42%,#fbe8e475,transparent 26rem),linear-gradient(180deg,#fcfaf6 0,var(--cream) 54%,#f7f2ec 100%);-webkit-font-smoothing:antialiased;min-height:100vh;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;padding-bottom:6rem}.app-header{z-index:30;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fcfaf6e6;border-bottom:1px solid #e7dfd7db;position:sticky;top:0}.app-header-inner{justify-content:space-between;gap:1rem;max-width:1180px;margin:0 auto;padding:.85rem 1.1rem}.app-header-inner,.brand{align-items:center;display:flex}.brand{letter-spacing:-.025em;gap:.7rem;font-family:Iowan Old Style,Palatino Linotype,Book Antiqua,Georgia,serif;font-size:1.08rem;font-weight:700}.brand-mark{color:#fff;background:linear-gradient(145deg,var(--coral),#d85f52);border-radius:.75rem;place-items:center;width:2.2rem;height:2.2rem;display:grid;box-shadow:0 8px 20px #b94f432e}.desktop-nav{align-items:center;gap:.25rem;display:none}.nav-link{color:var(--muted);border-radius:999px;align-items:center;gap:.45rem;padding:.65rem .8rem;font-size:.9rem;font-weight:650;display:flex}.nav-link.active,.nav-link:hover{color:var(--indigo-dark);background:var(--indigo-soft)}.mobile-nav{z-index:40;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf9f2;border:1px solid #e7dfd7e6;border-radius:1.35rem;grid-template-columns:repeat(5,1fr);padding:.45rem;display:grid;position:fixed;bottom:.65rem;left:.7rem;right:.7rem;box-shadow:0 16px 44px #37315c24}.mobile-nav .nav-link{border-radius:.9rem;flex-direction:column;gap:.18rem;padding:.4rem .1rem;font-size:.68rem}.page-wrap{width:min(1120px,100% - 2rem);margin:0 auto;padding:2rem 0 3rem}.page-heading{flex-direction:column;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.7rem;display:flex}.eyebrow{color:var(--coral-dark);letter-spacing:.13em;text-transform:uppercase;font-size:.72rem;font-weight:800}h1,h2,h3{color:var(--ink);letter-spacing:-.035em;margin:0;font-family:Iowan Old Style,Palatino Linotype,Book Antiqua,Georgia,serif;line-height:1.08}h1{font-size:clamp(2.15rem,5vw,3.8rem)}h1,h2{font-weight:600}h2{font-size:clamp(1.35rem,3vw,1.9rem)}h3{font-size:1.08rem;font-weight:650}.lead{max-width:46rem;color:var(--muted);margin:.65rem 0 0;line-height:1.65}.section{margin-top:2rem}.section-heading{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:.9rem;display:flex}.section-heading p{color:var(--muted);margin:.25rem 0 0;font-size:.88rem}.grid{gap:1rem;display:grid}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card{box-shadow:var(--shadow);background:#fffdf9eb;border:1px solid #e7dfd7f5;border-radius:1.3rem}.card-pad{padding:1.15rem}.metric-card{flex-direction:column;justify-content:space-between;min-height:9.5rem;padding:1.1rem;display:flex}.metric-label{color:var(--muted);font-size:.78rem;font-weight:700}.metric-value{letter-spacing:-.05em;margin-top:.75rem;font-size:clamp(1.65rem,5vw,2.45rem);font-weight:760}.metric-detail{color:var(--muted);font-size:.78rem;line-height:1.4}.status-chip{background:var(--indigo-soft);color:var(--indigo-dark);border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .62rem;font-size:.72rem;font-weight:700;display:inline-flex}.accent-card{background:linear-gradient(140deg,#f2eaf4d1,#fffdf9f7);border-color:#9b70bd33}.ai-card{background:radial-gradient(circle at 92% 18%,#9b70bd21,#0000 14rem),linear-gradient(140deg,#f8f6fdfa,#fffdf9f7);border-color:#5b54b12e}.button{background:var(--coral-dark);color:#fff;cursor:pointer;border:0;border-radius:.85rem;justify-content:center;align-items:center;gap:.5rem;padding:.77rem 1rem;font-weight:730;transition:transform .15s,background .15s;display:inline-flex;box-shadow:0 9px 22px #b94f432e}.button:hover{background:#a7443a;transform:translateY(-1px)}.button:disabled{opacity:.55;cursor:not-allowed;transform:none}.button.secondary{color:var(--indigo-dark);background:var(--indigo-soft);box-shadow:none}.button.ghost{color:var(--muted);box-shadow:none;background:0 0}.button.danger{color:#8f3f37;background:var(--coral-soft);box-shadow:none}.icon-button{border-radius:.8rem;width:2.5rem;height:2.5rem;padding:0}.field{gap:.4rem;display:grid}.field label,.field-label{color:var(--muted);font-size:.78rem;font-weight:720}.input,.select,.textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fffdfb;border-radius:.85rem;outline:none;padding:.78rem .85rem;font-size:16px}.input:focus,.select:focus,.textarea:focus{border-color:var(--indigo);box-shadow:0 0 0 3px #5b54b121}.textarea{resize:vertical;min-height:6rem;line-height:1.5}.form-grid{gap:1rem;display:grid}.meal-row{grid-template-columns:1fr;gap:.55rem;display:grid}.segmented{background:var(--cream-deep);border-radius:.8rem;gap:.3rem;padding:.25rem;display:flex}.segmented button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:.62rem;flex:1;padding:.48rem .4rem;font-size:.72rem;font-weight:720}.segmented button.active{background:var(--paper);color:var(--indigo-dark);box-shadow:0 3px 10px #37315c14}.dialog-backdrop{z-index:80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#29264f59;align-items:end;display:grid;position:fixed;inset:0}.dialog{background:var(--paper);border-radius:1.5rem 1.5rem 0 0;max-height:93vh;padding:1.2rem;overflow:auto;box-shadow:0 -20px 60px #30252138}.dialog-header{z-index:2;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffdfaf7;justify-content:space-between;align-items:center;margin:-1.2rem -1.2rem 1.2rem;padding:1.1rem 1.2rem .8rem;display:flex;position:sticky;top:-1.2rem}.dialog-actions{justify-content:flex-end;gap:.6rem;margin-top:1.25rem;display:flex}.chart-wrap{width:100%;overflow:hidden}.chart-svg{width:100%;height:auto;min-height:190px}.chart-grid-line{stroke:#e9e2dc;stroke-width:1px}.chart-path{fill:none;stroke:var(--indigo);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.chart-point{fill:var(--paper);stroke:var(--indigo);stroke-width:2.5px}.chart-label{fill:var(--muted);font-size:11px}.rhythm-card{flex-direction:column;align-self:stretch;display:flex}.rhythm-heading{gap:.9rem;display:grid}.rhythm-heading p{color:var(--muted);margin:.3rem 0 0;font-size:.8rem;line-height:1.45}.rhythm-legend{color:var(--muted);align-items:center;gap:.3rem;font-size:.68rem;display:flex}.rhythm-swatch{border-radius:50%;width:.62rem;height:.62rem}.rhythm-grid,.rhythm-weekdays{grid-template-columns:repeat(7,minmax(0,1fr));gap:.42rem;display:grid}.rhythm-weekdays{color:#958b82;text-align:center;margin:1.25rem 0 .45rem;font-size:.7rem;font-weight:730}.rhythm-day{aspect-ratio:1;cursor:pointer;outline-offset:2px;border:0;border-radius:.62rem;outline:2px solid #0000;min-width:0;transition:transform .15s,outline-color .15s}.rhythm-day:hover:not(:disabled){transform:translateY(-1px)}.rhythm-day.selected,.rhythm-day:focus-visible{outline-color:var(--indigo-dark)}.rhythm-day.today{box-shadow:inset 0 0 0 2px #29264f6b}.rhythm-day:disabled{cursor:default;opacity:.38;background:var(--cream-deep)}.coverage-0{background:#eee8e0}.coverage-1{background:#f2ddd6}.coverage-2{background:#e7bfb3}.coverage-3{background:#d99a87}.coverage-4{background:#ab583f}.rhythm-detail{border-top:1px solid var(--line);min-height:4.4rem;color:var(--muted);gap:.2rem;margin-top:1rem;padding:.75rem .8rem;font-size:.74rem;line-height:1.4;display:grid}.rhythm-detail strong{color:var(--ink);font-family:Iowan Old Style,Palatino Linotype,Book Antiqua,Georgia,serif;font-size:.92rem}.pulse{align-items:flex-start;gap:.85rem;line-height:1.65;display:flex}.pulse-icon{background:var(--lilac-soft);width:2.3rem;height:2.3rem;color:var(--lilac);border-radius:.85rem;flex:none;place-items:center;display:grid}.ai-card .pulse-icon{background:var(--indigo-soft);color:var(--indigo)}.pulse.ai-card{color:#fff;background:radial-gradient(circle at 98% 0,#ffffff1f,transparent 15rem),linear-gradient(135deg,var(--indigo) 0,#524b9f 100%);border-color:#4a439738;box-shadow:0 16px 38px #463f8f2e}.pulse.ai-card .metric-label{color:#e8e6fa;letter-spacing:.08em}.pulse.ai-card .pulse-icon{color:#fff;background:#ffffff1f}.history-page{padding-top:1.5rem}.history-page-heading{margin-bottom:1rem}.history-page-heading h1{font-size:clamp(2.2rem,5vw,3.15rem)}.history-controls{margin-bottom:.8rem}.history-controls-grid{gap:.8rem;display:grid}.search-input-wrap{position:relative}.search-input-wrap svg{z-index:1;color:var(--muted);pointer-events:none;position:absolute;top:.86rem;left:.8rem}.search-input-wrap .input{padding-left:2.4rem}.filter-chips{scrollbar-width:none;gap:.45rem;margin-top:.9rem;padding-bottom:.1rem;display:flex;overflow-x:auto}.filter-chips::-webkit-scrollbar{display:none}.filter-chip{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:.48rem .72rem;font-size:.78rem;font-weight:720}.filter-chip[aria-pressed=true]{border-color:var(--indigo);color:#fff;background:var(--indigo)}.history-results-meta{color:var(--muted);justify-content:space-between;gap:1rem;margin:0 .15rem .7rem;font-size:.76rem;font-weight:650;display:flex}.history-months{gap:.8rem;display:grid}.history-month{background:#f2eaf44d;border:1px solid #e7dfd7f5;border-radius:1.3rem;overflow:hidden}.history-month-heading{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.05rem;list-style:none;display:flex}.history-month-heading::-webkit-details-marker,.history-row::-webkit-details-marker{display:none}.history-month-heading h2{font-size:1.15rem}.history-month-heading span{color:var(--muted);margin-top:.15rem;font-size:.75rem;display:block}.history-chevron,.history-month-heading svg{transition:transform .15s}.history-entry[open]>.history-row .history-chevron,.history-month[open]>.history-month-heading svg{transform:rotate(180deg)}.history-list{gap:.55rem;padding:0 .55rem .55rem;display:grid}.history-entry{border-radius:1rem;box-shadow:0 8px 24px #37315c0e}.history-row{cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.72rem;list-style:none;display:grid}.history-row-main{min-width:0}.history-row-main h3{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.date-badge{background:var(--coral-soft);width:3rem;height:3rem;color:var(--coral-dark);text-align:center;border-radius:.9rem;place-items:center;font-size:.72rem;font-weight:780;line-height:1.1;display:grid}.history-facts{color:var(--muted);flex-wrap:wrap;gap:.3rem .65rem;margin-top:.3rem;font-size:.76rem;display:flex}.history-facts span{position:relative}.history-facts span+span:before{content:"·";color:var(--line);margin-right:.65rem}.history-entry-details{border-top:1px solid var(--line);padding:1rem}.history-narrative{margin-top:1rem}.history-narrative p{margin:.25rem 0 0;line-height:1.5}.history-edit{margin-top:1rem}.history-load-more{justify-content:center;padding:1rem 0 0;display:flex}.empty-state{text-align:center;color:var(--muted);padding:2.5rem 1.2rem}.notice{background:var(--indigo-soft);color:var(--indigo-dark);border-radius:1rem;padding:.8rem 1rem;font-size:.85rem;line-height:1.5}.notice.error{background:var(--coral-soft);color:#8f3f37}.doc-row{overflow:hidden}.doc-main{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.8rem;padding:1rem;display:grid}.doc-content{min-width:0}.doc-title-row{justify-content:space-between;align-items:center;gap:.65rem;display:flex}.doc-title-row h3{overflow-wrap:anywhere;min-width:0}.doc-title-row .status-chip{text-transform:capitalize;flex:none;padding:.25rem .5rem;font-size:.66rem}.doc-meta{color:var(--muted);flex-wrap:wrap;gap:.3rem .55rem;margin-top:.3rem;font-size:.78rem;display:flex}.doc-meta span+span:before{content:"·";color:#a49e92;margin-right:.55rem}.doc-actions{background:#f2eaf447;border-top:1px solid #e7dfd7db;justify-content:space-between;align-items:center;gap:.55rem;padding:.7rem .8rem .8rem 1rem;display:flex}.doc-open{color:var(--indigo-dark);align-items:center;gap:.35rem;font-size:.78rem;font-weight:720;display:inline-flex}.doc-open:hover{text-underline-offset:3px;text-decoration:underline}.doc-actions .icon-button{border-radius:.72rem;flex:none;width:2.2rem;height:2.2rem}.toggle{color:var(--muted);align-items:center;gap:.5rem;font-size:.82rem;font-weight:650;display:inline-flex}.toggle input{width:1.1rem;height:1.1rem;accent-color:var(--indigo)}.markdown{color:#3b385c;line-height:1.72}.markdown h2{margin:1.5rem 0 .55rem;font-size:1.18rem}.markdown ol,.markdown p,.markdown ul{margin:.55rem 0}.markdown ol,.markdown ul{padding-left:1.3rem}.markdown ul{list-style:outside}.markdown ol{list-style:decimal}.markdown li+li{margin-top:.4rem}.memory-row{gap:.8rem;padding:1rem;display:grid}.login-shell{place-items:center;min-height:100vh;padding:1.2rem;display:grid}.login-card{width:min(100%,28rem);padding:1.4rem}.login-mark{color:#fff;background:linear-gradient(145deg,var(--coral),#d85f52);border-radius:1.05rem;place-items:center;width:3.3rem;height:3.3rem;margin-bottom:1.2rem;display:grid}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (min-width:720px){.app-shell{padding-bottom:0}.desktop-nav{display:flex}.mobile-nav{display:none}.page-wrap{padding-top:3rem}.page-heading{flex-direction:row}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.two-col{grid-template-columns:minmax(0,1.65fr) minmax(18rem,.85fr)}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.meal-row{grid-template-columns:1fr 17rem;align-items:end}.dialog-backdrop{place-items:center;padding:2rem}.dialog{border-radius:1.5rem;width:min(780px,100%);max-height:90vh}.history-page{padding-top:2rem}.history-controls-grid{grid-template-columns:minmax(0,1.8fr) minmax(13rem,.7fr)}.history-row{padding:.8rem 1rem}.history-facts{white-space:nowrap;flex-wrap:nowrap;overflow:hidden}.history-facts span{text-overflow:ellipsis;overflow:hidden}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important}}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}