@charset "UTF-8";
:root{color-scheme:light;--bg:#f4f6ee;--paper:#fffefb;--ink:#173d32;--muted:#728177;--line:#dfe5d9;--green:#254d3f;--radius:24px;font-family:Inter,"Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{color:inherit;cursor:pointer;border:0}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #7a9d65;outline-offset:5px}input:focus-visible{outline:2px solid #7a9d65;outline-offset:2px}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:580}strong{font-weight:620}[hidden]{display:none!important}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.icon{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.startup{min-height:100dvh;display:flex;gap:24px;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.startup .brand-logo{animation:breathe 1.4s ease-in-out infinite}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:29px;font-weight:650;letter-spacing:-1.4px;line-height:1}.brand-dot{color:#89a578}.brand-logo{height:34px;width:34px;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none}.brand-logo span{display:block;width:6px;border-radius:6px;background:#254d3f;transform:rotate(24deg)}.brand-logo span:nth-child(1){height:14px;background:#97ad83}.brand-logo span:nth-child(2){height:29px}.brand-logo span:nth-child(3){height:21px;background:#6e8b5b}.eyebrow,.small-label,.mini-label{font-size:10px;letter-spacing:1.65px;font-weight:660;line-height:1.5}.eyebrow{color:#718069}.small-label{font-size:9px;color:#7f8b79;letter-spacing:1.4px}.muted{color:var(--muted)}.button{display:inline-flex;gap:14px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:13px;min-height:48px;padding:12px 20px;font-weight:580;font-size:13px;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.button-primary{background:var(--green);color:white}.button-primary:hover{background:#193c30}.button-secondary{background:#fffef9;border-color:#d7e0ce;color:var(--green)}.button-secondary:hover{background:#eff4e7}.text-button{background:none;padding:10px 2px;font-weight:570;font-size:12px;text-underline-offset:4px}.text-button:hover{text-decoration:underline}.icon-button{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex:none;border:1px solid #dfe6d9;background:transparent;border-radius:50%}.icon-button:hover{background:#e9efe1}.connection-banner{position:sticky;top:0;z-index:10;padding:12px 20px;text-align:center;background:#fff0d6;color:#79551f;font-size:12px;border-bottom:1px solid #e6d8bd}.error-message{color:#9c433a;font-size:13px;padding:12px;background:#fbefec;border-radius:10px}.inline-message{font-size:12px;margin-top:12px;color:var(--green)}.inline-message.is-error{color:#ad4d3d}.notice{padding:14px 18px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;font-size:13px}.notice-error{background:#f8e9df;color:#965d3c}.noscript{position:fixed;inset:0;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:30px;text-align:center;z-index:100}
.login-shell{max-width:1080px;min-height:100dvh;margin:auto;display:grid;grid-template-columns:1.15fr 1fr;padding:70px 45px;align-items:center;gap:80px}.login-intro{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between}.login-story{padding-top:65px}.login-story h1{font-size:49px;line-height:1.13;letter-spacing:-2.5px;margin:18px 0 22px}.login-story h1 em,.page-intro h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1.4px}.login-story>p:last-of-type{color:var(--muted);font-size:15px;line-height:1.8}.privacy-note{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:9px;margin-top:40px}.privacy-note .icon{width:14px;height:14px}.login-panel{background:var(--paper);border:1px solid #e3e8dc;border-radius:28px;padding:40px 34px;box-shadow:0 16px 50px #304b2010}.login-panel h2{font-size:26px;letter-spacing:-.9px;margin:12px 0 9px}.login-panel>.muted{font-size:13px}.login-panel form{margin-top:29px}.login-panel label{font-size:12px;font-weight:600;display:block;margin:20px 0 8px}.login-panel input{display:block;width:100%;height:50px;border:1px solid #e0e6d9;background:#f9faf6;border-radius:11px;padding:0 14px;color:var(--ink);font-size:16px}.login-panel input::placeholder{color:#99a394;font-size:13px}.password-field{position:relative}.password-field input{padding-right:66px}.input-action{position:absolute;right:12px;top:6px;bottom:6px;background:none;font-size:11px;color:#698068;padding:5px}.login-submit{width:100%;margin-top:26px;justify-content:space-between}.login-panel .error-message{margin-top:16px}.login-help{font-size:11px;line-height:1.7;color:#8b9486;text-align:center;margin-top:22px}.presence-art{height:210px;width:270px;position:relative;margin-top:20px;display:flex;align-items:center;justify-content:center}.orbit{border:1px solid #dde5d2;border-radius:50%;position:absolute;transform:rotate(-20deg)}.orbit-one{width:238px;height:152px}.orbit-two{width:148px;height:206px;transform:rotate(40deg)}.art-heart{width:82px;height:82px;background:#e2ebd6;border-radius:50%;display:flex;align-items:center;justify-content:center;transform:rotate(-8deg)}.art-heart svg{height:37px;width:37px;stroke:#71905a;fill:none;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}.art-dot{position:absolute;height:13px;width:13px;background:#90a975;border-radius:50%;border:4px solid var(--bg);box-sizing:content-box}.dot-one{top:35px;left:52px}.dot-two{bottom:47px;right:26px;width:8px;height:8px;background:#cbb581}.art-caption{position:absolute;bottom:1px;font-family:Georgia,serif;font-size:12px;font-style:italic;color:#8a9a7b;right:0}
.app-shell{max-width:1080px;margin:0 auto;padding:0 42px}.app-header{height:108px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.header-actions{display:flex;align-items:center;gap:22px}.header-actions .text-button{color:#7c8977}.page-intro{padding:43px 0 37px;display:flex;justify-content:space-between;align-items:center;gap:20px}.page-intro h1{font-size:38px;line-height:1.2;letter-spacing:-1.6px;margin:12px 0 11px}.page-intro .muted{font-size:13px}.mobile-break{display:none}.live-pill{display:flex;gap:7px;align-items:center;border:1px solid #dce6d1;background:#edf3e5;padding:8px 12px;border-radius:50px;font-size:10px;white-space:nowrap;color:#597348;margin-top:20px}.live-dot{width:6px;height:6px;border-radius:50%;background:#8fac73;box-shadow:0 0 0 3px #8fac731b}.live-dot.is-stale{background:#c39150;box-shadow:0 0 0 3px #c3915020}.live-dot.is-offline{background:#929b8c;box-shadow:none}.dashboard-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:28px 30px;align-items:start}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;min-height:25px}.section-heading h2{font-size:14px;font-weight:580;letter-spacing:-.2px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.metric-card{border:1px solid #e1e6da;border-radius:var(--radius);padding:23px 20px 20px;background:var(--paper);display:flex;flex-direction:column;text-align:left;min-width:0;min-height:256px;position:relative;box-shadow:0 3px 8px #3a541203}.heart-card:hover{border-color:#b9c9ad;box-shadow:0 7px 20px #3a54120a;transform:translateY(-1px)}.heart-card{transition:border-color .2s,box-shadow .2s,transform .2s}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:22px}.metric-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px}.heart-icon{color:#b67b6c;background:#f6eae1}.steps-icon{color:#769058;background:#edf1e1}.metric-icon .icon{width:21px;height:21px}.card-arrow{width:17px;height:17px;transform:rotate(-42deg);color:#829273}.mini-label{font-size:8px;letter-spacing:1px;color:#899680}.metric-label{font-size:11px;color:#72806a}.metric-number{display:flex;align-items:baseline;gap:7px;margin:3px 0 4px;white-space:nowrap}.metric-number strong{font-size:48px;line-height:1.25;font-weight:540;letter-spacing:-2.7px;font-variant-numeric:tabular-nums}.metric-number>span{font-size:12px;color:#8b9880}.metric-detail{display:block;font-size:10px;color:#87917f;line-height:1.5;min-height:30px}.metric-link{font-size:10px;font-weight:570;display:flex;gap:8px;align-items:center;margin-top:17px;color:#657b58}.metric-link .icon{width:13px;height:13px}.metric-footnote{font-size:10px;margin-top:auto;padding-top:17px;color:#87917f}.subtle-icon{color:#82936e}.subtle-icon .icon{width:19px;height:19px}.is-refreshing .icon{animation:spin 1s linear infinite}
.mood-card{background:#e7efdf;border:1px solid #dce6d0;border-radius:var(--radius);padding:23px 24px 21px;overflow:hidden}.mood-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.mood-tag{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:580;color:#648052}.mood-tag .icon{width:17px;height:17px}.mood-freshness{font-size:9px;color:#859775}.mood-body{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:27px 0 23px;min-height:300px}.mood-copy{max-width:225px;min-width:0}.mood-value-line{display:flex;align-items:baseline;gap:4px;margin-bottom:9px}.mood-value-line strong{font-size:75px;font-weight:450;letter-spacing:-4px;line-height:1.05;font-variant-numeric:tabular-nums}.mood-value-line>span{font-size:26px;color:#7a9167;font-weight:350}.mood-copy h3{font-size:20px;font-weight:540;letter-spacing:-.6px;margin-top:15px}.mood-copy>p:not(.mood-date){font-size:11px;color:#7b8b6e;line-height:1.8;margin-top:8px;max-width:180px}.mood-copy .mood-date{font-size:9px;color:#879679;line-height:1.7;margin-top:24px}.gauge-group{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:72px;position:relative}.gauge-end{font-size:8px;color:#7f9270;white-space:nowrap}.mood-gauge{position:relative;width:70px;height:210px;display:flex;gap:13px}.gauge-track{height:100%;width:32px;border-radius:30px;border:4px solid #f3f7ee;box-shadow:0 0 0 1px #d4dfc8;position:relative;display:flex;flex-direction:column}.gauge-segment{width:100%;min-height:0}.gauge-green{height:40%;background:#8eae75;border-radius:30px 30px 0 0}.gauge-white{height:30%;background:#fffefa}.gauge-orange{height:10%;background:#e2ae6e}.gauge-red{height:20%;background:#cc7867;border-radius:0 0 30px 30px}.gauge-cursor{position:absolute;left:-9px;right:-9px;height:13px;transform:translateY(50%);border:2px solid #355c3d;background:#fdfef9;border-radius:8px;box-shadow:0 2px 5px #26452725;z-index:1}.gauge-cursor>span{height:3px;background:#658155;display:block;position:absolute;left:8px;right:8px;top:3px;border-radius:2px}.gauge-labels{position:relative;flex:1;font-size:9px;color:#8c9b7d;font-variant-numeric:tabular-nums}.gauge-labels span{position:absolute;left:0;transform:translateY(50%)}.scale-100{bottom:100%}.scale-60{bottom:60%}.scale-30{bottom:30%}.scale-20{bottom:20%}.scale-0{bottom:0}.mood-legend{display:flex;justify-content:space-between;gap:6px;border-top:1px solid #d7e2ca;padding-top:15px;font-size:9px;color:#819170}.mood-legend span{display:flex;align-items:center;gap:5px}.mood-legend i{display:block;height:6px;width:6px;border-radius:50%;flex:none}.legend-red{background:#cc7867}.legend-orange{background:#e2ae6e}.legend-white{background:#fffefa;box-shadow:0 0 0 1px #d1dac6}.legend-green{background:#8eae75}.mood-card[data-tone="red"] .mood-value-line strong{color:#aa6251}.mood-card[data-tone="orange"] .mood-value-line strong{color:#aa7e46}.mood-editor{border-top:1px solid #d7e2ca;margin-top:20px;padding-top:20px}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-heading label{font-size:11px;font-weight:570}.editor-heading output{font-size:13px;font-weight:600;white-space:nowrap}.mood-editor input[type="range"]{width:100%;accent-color:#3d6143;margin:20px 0 0;cursor:pointer;height:26px}.range-labels{display:flex;justify-content:space-between;font-size:9px;color:#839674;margin-top:-2px}.mood-editor .button{width:100%;justify-content:space-between;margin-top:17px;font-size:12px;min-height:43px}.editor-help{font-size:9px;color:#829372;text-align:center;margin-top:11px;line-height:1.6}
.history-section{grid-column:1/-1}.mood-history{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e0e6d8;border-radius:18px;overflow:hidden;background:#f9faf4}.history-item{padding:18px 21px;display:flex;gap:11px;align-items:center;border-right:1px solid #e0e6d8}.history-item:last-child{border-right:0}.history-color{height:9px;width:9px;border-radius:50%;flex:none;border:1px solid #00000008}.history-color[data-tone="red"]{background:#cc7867}.history-color[data-tone="orange"]{background:#e2ae6e}.history-color[data-tone="white"]{background:#fff;box-shadow:0 0 0 1px #cfd7c8}.history-color[data-tone="green"]{background:#8eae75}.history-item strong{font-size:17px;font-weight:570;letter-spacing:-.5px}.history-item p{font-size:9px;color:#8b9781;margin-top:2px}.empty-history{font-size:12px;color:#8a977f;text-align:center;padding:24px;grid-column:1/-1}.notification-card{grid-column:1/-1;display:flex;align-items:center;gap:17px;border:1px solid #dbe3d1;border-radius:20px;padding:22px 24px;background:#eaf0e1}.notification-icon{height:42px;width:42px;background:#dfe9d4;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:none;color:#678154}.notification-icon .icon{width:21px;height:21px}.notification-copy{flex:1}.notification-copy h2{font-size:13px;letter-spacing:-.15px}.notification-copy>p{font-size:11px;line-height:1.7;color:#809270;margin-top:4px}.notification-copy .install-guidance{color:#6c7e5d;margin-top:9px;max-width:490px}.notification-card .button{font-size:11px;min-height:39px;border-radius:10px;padding:9px 15px}.admin-access-section{grid-column:1/-1;border:1px solid var(--line);border-radius:15px;background:#f8faf3}.admin-access-section summary{list-style:none;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:12px}.admin-access-section summary::-webkit-details-marker{display:none}.admin-access-section summary>span:first-child{display:flex;align-items:center;gap:10px}.admin-access-section summary .icon{width:16px;height:16px;color:#7a8e67}.details-plus{font-size:19px;color:#8b9a7e;line-height:1}.admin-access-section details[open] .details-plus{transform:rotate(45deg)}.access-content{padding:0 20px 20px;font-size:12px;color:#7c8b72}.access-content dl{display:grid;gap:10px;color:var(--ink);margin:17px 0}.access-content dl>div{display:flex;gap:25px;align-items:center;justify-content:space-between}.access-content dd{margin:0;display:flex;align-items:center;gap:15px;flex-wrap:wrap;word-break:break-all}.access-content dt{color:#7c8b72}.access-content code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}.access-content .button{min-height:37px;padding:8px 13px;font-size:11px}.app-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#849279;font-size:10px;padding:31px 0 28px;margin-top:12px}.app-footer>span:first-child{font-size:15px;font-weight:600;letter-spacing:-.5px}.footer-tagline{font-size:9px;font-weight:400;letter-spacing:0;margin-left:8px;color:#a0aa98}.app-footer>span:last-child{display:flex;align-items:center;gap:5px;font-size:9px;color:#95a087}.app-footer .icon{width:12px;height:12px}
.heart-dialog{width:min(720px,calc(100% - 36px));padding:30px;border:1px solid #e1e8d9;border-radius:26px;color:var(--ink);background:var(--paper);max-height:90dvh;overflow:auto;box-shadow:0 30px 110px #11251e45}.heart-dialog::backdrop{background:#132c2380;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px}.dialog-header h2{font-size:26px;letter-spacing:-1px;margin-top:9px}.dialog-subtitle{font-size:12px;color:var(--muted);margin:10px 0 27px}.chart-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.range-buttons{display:inline-flex;gap:4px;padding:4px;background:#eef3e7;border-radius:12px}.range-buttons button{padding:8px 15px;border-radius:9px;background:none;font-size:11px;color:#8a9a7a}.range-buttons button[aria-pressed="true"]{background:#fffef9;box-shadow:0 2px 6px #254d3f12;color:var(--green);font-weight:600}.chart-container{height:250px;position:relative}.chart-container canvas{width:100%;height:100%}.chart-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:#8a9b7d;font-size:13px;padding:30px;background:var(--paper)}.chart-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:24px;border-top:1px solid var(--line);padding-top:17px}.chart-stats>div{text-align:center}.chart-stats span{display:block;font-size:10px;color:var(--muted)}.chart-stats strong{font-size:22px;font-weight:520;display:block;margin-top:4px}.chart-note{font-size:10px;color:#8e9b82;text-align:center;margin-top:22px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes breathe{50%{opacity:.4;transform:scale(.96)}}
@media(min-width:1000px){.mood-card{min-height:448px}.mood-body{min-height:321px}.mood-gauge{height:230px}}
@media(max-width:850px){.app-shell{padding:0 25px}.dashboard-grid{gap:24px 22px}.metric-card{padding:19px 15px}.metric-number strong{font-size:42px}.mood-card{padding:21px 20px}.mood-body{gap:15px}.mood-value-line strong{font-size:65px}.mood-copy h3{font-size:18px}.page-intro h1{font-size:35px}.login-shell{gap:40px;padding:55px 30px}.login-story h1{font-size:40px}.login-panel{padding:32px 26px}.login-panel h2{font-size:23px}.history-item{padding:16px 14px}}
@media(max-width:680px){.app-shell{padding:0 21px;max-width:520px}.app-header{height:88px}.brand{font-size:27px;gap:8px}.brand-logo{width:29px;height:31px}.brand-logo span{width:5px}.header-actions{gap:14px}.header-actions .text-button{font-size:10px}.page-intro{padding:31px 0 29px;display:block;position:relative}.page-intro h1{font-size:35px;letter-spacing:-1.7px;line-height:1.15;margin-top:13px}.page-intro h1 em{letter-spacing:-1.1px}.page-intro .eyebrow{font-size:9px;letter-spacing:1.4px}.page-intro .muted{font-size:11px;margin-top:12px}.mobile-break{display:block}.live-pill{position:absolute;right:0;top:27px;margin:0;font-size:8px;padding:6px 9px;gap:5px;max-width:155px}.live-dot{width:5px;height:5px}.dashboard-grid{grid-template-columns:1fr;gap:27px}.section-heading{margin-bottom:13px}.section-heading h2{font-size:13px}.section-heading .small-label{font-size:8px;letter-spacing:1.2px}.metric-grid{gap:12px}.metric-card{padding:20px 17px 18px;border-radius:21px;min-height:234px}.metric-top{margin-bottom:20px}.metric-icon{width:34px;height:34px;border-radius:10px}.metric-label{font-size:10px}.metric-number strong{font-size:45px;letter-spacing:-2.2px}.metric-number>span{font-size:11px}.metric-detail{font-size:9px;min-height:28px}.metric-footnote{font-size:9px}.metric-link{font-size:9px;margin-top:12px}.mini-label{font-size:7px;letter-spacing:.7px}.mood-section{grid-row:2}.mood-card{padding:22px 24px;border-radius:23px}.mood-body{padding-top:25px;padding-bottom:25px;min-height:305px;gap:25px}.mood-copy{max-width:230px}.mood-value-line strong{font-size:75px}.mood-copy h3{font-size:21px}.mood-copy>p:not(.mood-date){font-size:11px;max-width:195px}.mood-copy .mood-date{font-size:9px}.mood-gauge{height:220px}.gauge-group{width:69px}.mood-tag{font-size:10px}.mood-legend{font-size:9px}.mood-history{grid-template-columns:1fr 1fr;border-radius:16px}.history-item{padding:16px 20px}.history-item:nth-child(2){border-right:0}.history-item:nth-child(n+3){border-top:1px solid var(--line)}.history-item p{font-size:9px}.history-item strong{font-size:17px}.notification-card{padding:22px 20px;gap:13px;display:grid;grid-template-columns:38px 1fr;border-radius:20px}.notification-icon{width:38px;height:38px;border-radius:11px;align-self:start}.notification-copy h2{font-size:12px}.notification-copy>p{font-size:10px}.notification-card>.button{grid-column:2;justify-self:start;min-height:39px;font-size:10px;margin-top:2px}.notification-copy .install-guidance{font-size:10px;line-height:1.8}.admin-access-section summary{font-size:11px}.access-content{font-size:11px}.access-content dl>div{align-items:flex-start;gap:12px}.access-content dd{gap:7px;justify-content:flex-end;text-align:right}.access-content code{font-size:11px}.access-content dd .text-button{padding:0 2px;font-size:10px}.app-footer{padding:28px 0 calc(25px + env(safe-area-inset-bottom));margin-top:4px}.footer-tagline{display:none}.login-shell{min-height:100dvh;max-width:470px;padding:33px 24px;display:flex;flex-direction:column;align-items:stretch;gap:28px}.login-intro{display:block}.login-story{padding-top:37px}.login-story .eyebrow{font-size:9px}.login-story h1{font-size:40px;margin:12px 0 15px;letter-spacing:-1.8px}.login-story>p:last-of-type{font-size:12px;line-height:1.8}.presence-art,.privacy-note{display:none}.login-panel{padding:28px 24px;border-radius:23px}.login-panel h2{font-size:24px;margin-top:9px}.login-panel>.muted{font-size:12px}.login-panel form{margin-top:22px}.login-panel label{font-size:11px;margin-top:16px}.login-submit{font-size:12px;min-height:48px;margin-top:23px}.login-help{font-size:10px;margin-top:19px}.heart-dialog{width:calc(100% - 24px);padding:24px 20px;border-radius:23px}.dialog-header h2{font-size:22px}.dialog-header .eyebrow{font-size:9px}.dialog-subtitle{font-size:10px;max-width:230px;line-height:1.7;margin-top:12px}.dialog-header .icon-button{width:34px;height:34px}.chart-toolbar{gap:7px}.range-buttons button{font-size:10px;padding:8px 12px}.chart-toolbar .small-label{font-size:8px;letter-spacing:.4px}.chart-container{height:230px}.chart-stats strong{font-size:21px}.chart-note{font-size:9px}.notice,.notice .text-button,.connection-banner{font-size:11px}}
@media(max-width:360px){.app-shell{padding:0 16px}.page-intro h1{font-size:32px}.live-pill{max-width:137px;letter-spacing:-.1px}.metric-card{padding:17px 13px}.metric-number strong{font-size:39px}.mini-label{font-size:6px}.mood-card{padding:20px}.mood-value-line strong{font-size:65px}.mood-copy h3{font-size:18px}.mood-body{gap:12px}.mood-legend{font-size:8px}.mood-copy>p:not(.mood-date){font-size:10px}.gauge-group{width:59px}.history-item{padding:15px}.notification-card{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.metric-number strong.is-long-number{font-size:36px;letter-spacing:-2px}@media(max-width:360px){.metric-number strong.is-long-number{font-size:31px;letter-spacing:-1.7px}}

/* Latest sleep sample, independent of the current calendar day. */
.sleep-card{margin-top:17px;padding:20px;background:#f5f3f9;border:1px solid #e6e1ec;border-radius:21px}.sleep-topline{display:flex;align-items:center;justify-content:space-between;gap:14px}.sleep-heading{display:flex;align-items:center;gap:11px;min-width:0}.sleep-icon{color:#8d80a4;background:#eae5f1;flex:none}.sleep-heading h3{font-size:12px;font-weight:580}.sleep-heading p{font-size:9px;color:#92879d;margin-top:2px}.sleep-duration{font-size:27px;line-height:1.2;font-weight:540;letter-spacing:-1px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#5e516e}.sleep-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 0;padding-top:14px;border-top:1px solid #e4dfeb}.sleep-phases dt{font-size:9px;color:#8f839c;display:flex;align-items:center;gap:5px;white-space:nowrap}.sleep-phases dt i{width:5px;height:5px;border-radius:50%;flex:none}.sleep-light{background:#bba9d1}.sleep-deep{background:#827097}.sleep-rem{background:#a58eb8}.sleep-phases dd{margin:4px 0 0;font-size:14px;font-weight:550;color:#6d5c7d;font-variant-numeric:tabular-nums;letter-spacing:-.3px}.sleep-date{margin-top:14px;font-size:9px;color:#968aa0}.sleep-date.is-old{color:#986f46}@media(max-width:680px){.sleep-card{padding:17px 18px;margin-top:13px;border-radius:17px}.sleep-heading h3{font-size:11px}.sleep-heading p{font-size:8px}.sleep-duration{font-size:25px}.sleep-phases{gap:8px;margin-top:16px;padding-top:12px}.sleep-phases dt{font-size:8px}.sleep-phases dd{font-size:13px}.sleep-date{font-size:8px;margin-top:12px}}@media(max-width:360px){.sleep-heading{gap:8px}.sleep-duration{font-size:23px}.sleep-phases dt{font-size:7px;gap:4px}}

.mood-gauge-history{position:absolute;inset:-10px -8px;z-index:2;background:transparent;border-radius:14px}.mood-gauge-history:hover{background:#5072370a}.mood-history-button{width:100%;justify-content:space-between;margin-top:18px;min-height:42px;font-size:11px;background:#f2f6ec;border-color:#d7e2ca}.mood-history-button .icon{width:17px;height:17px}.mood-chart-legend{margin-top:19px;padding-top:17px;max-width:410px;margin-left:auto;margin-right:auto}.mood-dialog .chart-note:empty{display:none}.mood-dialog .dialog-header h2{font-size:25px}@media(max-width:680px){.mood-dialog .dialog-header h2{font-size:21px}.mood-chart-legend{font-size:8px}.mood-dialog .chart-toolbar .small-label{letter-spacing:0;font-size:8px}}

/* Keep the timestamp badge below the introduction on narrow screens. */
@media(max-width:680px){.live-pill{position:static;display:inline-flex;margin-top:12px;max-width:100%;white-space:normal}.live-dot{flex-shrink:0}}
@media(max-width:360px){.app-header .brand{font-size:24px}.header-actions{gap:8px}}

/* Compact installation invitation, outside the dashboard so it also works before login. */
.install-banner{position:fixed;z-index:30;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 24px));display:grid;grid-template-columns:42px minmax(0,1fr) auto 28px;align-items:center;gap:10px;padding:14px;background:#fffefb;border:1px solid #d7e0ce;border-radius:18px;box-shadow:0 8px 32px #173d3226;animation:install-appear .25s ease-out}
.install-app-icon{border-radius:11px}.install-copy{min-width:0}.install-copy strong{display:block;font-size:13px;font-weight:650}.install-copy p{font-size:11px;color:#728177;margin-top:3px;line-height:1.4}.install-banner .button{padding:8px 12px;min-height:38px;font-size:11px;border-radius:10px;white-space:nowrap}.install-dismiss{width:28px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;color:#728177;border-radius:8px}.install-dismiss .icon{width:16px;height:16px}.install-instructions{grid-column:1/-1;font-size:12px;line-height:1.75;color:#526b5a;border-top:1px solid #e3e9dd;padding-top:12px;margin-top:2px}.app-footer #install-open{order:1;font-size:10px;padding:5px 0}.chart-toolbar{flex-wrap:wrap}.chart-toolbar .small-label{white-space:nowrap}.chart-container{height:280px}.page-intro h1{margin-bottom:0}
@keyframes install-appear{from{opacity:0;translate:0 -10px}to{opacity:1;translate:0 0}}
@media(max-width:680px){.chart-container{height:260px}.install-banner{gap:8px;padding:12px;grid-template-columns:36px minmax(0,1fr) auto 24px}.install-app-icon{width:36px;height:36px}.install-copy strong{font-size:12px}.install-copy p{font-size:10px}.install-banner .button{font-size:10px;padding:8px 10px}.install-dismiss{width:24px}}
@media(prefers-reduced-motion:reduce){.install-banner{animation:none}}

@media(max-width:680px){.steps-card .metric-number{gap:5px}.steps-card .metric-number strong:not(.is-long-number){font-size:36px}}
@media(max-width:360px){.steps-card .metric-number strong:not(.is-long-number){font-size:31px}}

/* Sleep history card and stacked daily chart. */
.sleep-card{position:relative;transition:border-color .15s,box-shadow .15s}.sleep-card:hover{border-color:#c9bdd6;box-shadow:0 5px 18px #4939590a}.sleep-history-trigger{position:absolute;inset:0;z-index:1;width:100%;height:100%;border-radius:inherit;background:transparent}.sleep-history-link{display:flex;align-items:center;gap:8px;margin-top:13px;font-size:10px;font-weight:570;color:#79658e}.sleep-history-link .icon{width:13px;height:13px}.sleep-chart-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 16px;margin-top:20px;font-size:10px;color:#81748d}.sleep-chart-legend span{display:flex;align-items:center;gap:6px}.sleep-chart-legend i{width:8px;height:8px;flex:none;display:block;border-radius:3px}.sleep-unclassified{background:#d2d5d1}.sleep-dialog .chart-note{line-height:1.65;margin-top:14px}.sleep-chart-details{border-top:1px solid #e6e1ec;margin-top:19px;padding-top:15px;color:#766383;font-size:11px}.sleep-chart-details summary{cursor:pointer;font-weight:570;padding:4px 0}.sleep-table-scroll{overflow-x:auto;margin-top:12px}.sleep-table-scroll table{border-collapse:collapse;width:100%;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.sleep-table-scroll caption{text-align:left;white-space:normal;font-size:10px;line-height:1.6;padding-bottom:10px;color:#968aa0}.sleep-table-scroll th,.sleep-table-scroll td{padding:9px 8px;border-bottom:1px solid #eeeaf2;text-align:right}.sleep-table-scroll th:first-child{text-align:left}.sleep-table-scroll thead th{font-weight:570}.sleep-dialog .chart-container{height:280px}@media(max-width:680px){.sleep-history-link{font-size:9px}.sleep-dialog .chart-container{height:250px}.sleep-chart-legend{font-size:9px;gap:8px 12px}.sleep-dialog .dialog-subtitle{max-width:none}}

/* Persistent chart reading and generous touch targets. */
.heart-dialog .dialog-subtitle.chart-period{max-width:none;font-size:11px;line-height:1.7;color:#65745c}
:is(.heart-dialog,.mood-chart-card) .range-buttons button{min-height:44px;min-width:54px;font-size:12px}.heart-dialog .dialog-header .icon-button{width:44px;height:44px;flex:none}
.chart-inspector{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:12px 8px;margin:0 0 14px;border:1px solid #dde5d5;border-radius:16px;background:#f5f8f0;min-height:98px}
.chart-step{width:44px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#e8efdf;color:#365543;font-size:32px;line-height:1;touch-action:manipulation}.chart-step:hover:not(:disabled){background:#dbe8ce}.chart-step:disabled{opacity:.3;cursor:default}
.chart-reading{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;gap:3px;font-variant-numeric:tabular-nums}.chart-reading strong{font-size:25px;font-weight:580;line-height:1.2;letter-spacing:-.6px}.chart-reading-date{font-size:12px;line-height:1.5;color:#456249}.chart-reading-detail{font-size:10px;line-height:1.5;color:#67785b}
.chart-container canvas{touch-action:pan-y pinch-zoom;cursor:crosshair;border-radius:8px}.chart-container canvas:focus-visible{outline:2px solid #638351;outline-offset:3px}
.chart-stats{align-items:stretch;gap:8px}.chart-stats button{background:#f5f8f0;border:1px solid #e2e9dc;border-radius:12px;min-height:64px;padding:9px 4px;color:inherit}.chart-stats button:hover{background:#e8efdf}.chart-stats button span,.chart-stats button strong{display:block}.chart-stats>div{align-self:center}.chart-stats span{font-size:10px}.chart-stats strong{font-size:21px}
:is(.heart-dialog,.mood-chart-card) .chart-note{font-size:11px;line-height:1.65;color:#67785b}
.sleep-dialog .chart-inspector{background:#f6f3f9;border-color:#e6e1ec}.sleep-dialog .chart-step{background:#ece5f2;color:#6d5c7d}.sleep-dialog .chart-step:hover:not(:disabled){background:#e0d5e9}.sleep-dialog .chart-reading strong{color:#5e516e}.sleep-dialog .chart-reading-date,.sleep-dialog .chart-reading-detail{color:#766383}.sleep-dialog .chart-reading-detail{font-size:10px}
@media(max-width:680px){.heart-dialog .chart-container{height:270px}.sleep-dialog .chart-container{height:260px}.chart-inspector{gap:6px;padding:12px 6px}.chart-reading strong{font-size:24px}.chart-reading-date{font-size:11px}.chart-stats{gap:6px}.chart-stats strong{font-size:18px}.heart-dialog .chart-toolbar{margin:16px 0}.sleep-dialog .chart-inspector{margin-top:16px}}

.heart-dialog .chart-stats{margin-top:18px;padding-top:14px}:is(.heart-dialog,.mood-chart-card) .chart-note{margin-top:16px}

/* Bedtime and wake time are clock labels supplied by the phone. */
.sleep-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 0;padding:14px 0;border-top:1px solid #e4dfeb;border-bottom:1px solid #e4dfeb}.sleep-times>div+div{border-left:1px solid #e4dfeb;padding-left:16px}.sleep-times dt{font-size:11px;color:#81718f}.sleep-times dd{margin:3px 0 0;display:flex;align-items:baseline;gap:9px;color:#5e516e;font-size:25px;font-weight:550;font-variant-numeric:tabular-nums;line-height:1.3}.sleep-times small{font-size:10px;font-weight:450;color:#8a7c97}.sleep-times small:empty{display:none}.sleep-card .sleep-phases{border-top:0;padding-top:0;margin-top:15px}
@media(max-width:680px){.sleep-times{margin-top:15px;padding:12px 0;gap:12px}.sleep-times>div+div{padding-left:12px}.sleep-times dd{font-size:24px}.sleep-times dt{font-size:10px}}@media(max-width:360px){.sleep-times dd{gap:6px;font-size:22px}}

/* The mood timeline replaces the former list of recent values. */
.mood-chart-section{min-width:0;scroll-margin-top:20px}.mood-chart-section:focus{outline:none}.mood-chart-section:focus-visible{outline:2px solid #638351;outline-offset:6px;border-radius:12px}.mood-chart-card{padding:24px;border:1px solid #e1e6da;border-radius:23px;background:var(--paper);box-shadow:0 3px 8px #3a541203;min-width:0}.mood-chart-card .chart-period{font-size:11px;line-height:1.7;color:#65745c;max-width:none;margin:0}.mood-chart-card .chart-container{height:310px}.mood-chart-card .chart-note:empty{display:none}.mood-chart-card .mood-chart-legend{margin-top:16px}.mood-chart-card .chart-toolbar{margin:16px 0}.mood-chart-card .chart-inspector{margin-bottom:14px}
@media(max-width:680px){.mood-chart-card{padding:18px 15px;border-radius:21px}.mood-chart-card .chart-container{height:270px}.mood-chart-card .chart-toolbar .small-label{font-size:9px;letter-spacing:.3px}.mood-chart-card .mood-chart-legend{font-size:9px}.mood-chart-card .chart-toolbar{gap:8px}}

/* Mood evolution: equal-width periods and a daily summary. */
.mood-chart-card .chart-toolbar{margin:0 0 20px}.mood-chart-card .range-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:4px}.mood-chart-card .range-buttons button{width:100%;min-width:0;padding:10px 6px}
.mood-average-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.mood-average-label{display:block;font-size:12px;color:#65745c;line-height:1.5}.mood-average-value{display:flex;align-items:center;gap:9px;margin-top:5px;font-size:30px;line-height:1.2;font-weight:580;font-variant-numeric:tabular-nums}.mood-average-value:before{content:"";display:block;width:11px;height:11px;border-radius:4px;flex:none;background:#d4dbce}.mood-average-value[data-tone="red"]:before{background:#ce7062}.mood-average-value[data-tone="orange"]:before{background:#dfaa66}.mood-average-value[data-tone="white"]:before{background:#fffefb;box-shadow:inset 0 0 0 1px #a9b49e}.mood-average-value[data-tone="green"]:before{background:#8eae75}.mood-average-summary .button{min-height:44px;font-size:11px;padding:10px 12px;gap:6px;white-space:nowrap}.mood-average-summary .button .icon{width:15px;height:15px}
.chart-reading-detail:empty,.mood-averages-dialog .chart-note:empty{display:none}.mood-averages-dialog .dialog-subtitle{max-width:none}.mood-averages-dialog .chart-inspector{margin-bottom:15px}.mood-averages-dialog .chart-container{height:280px}.mood-averages-dialog .mood-chart-legend{font-size:10px}
@media(max-width:680px){.mood-average-summary{gap:8px}.mood-average-label{font-size:11px}.mood-average-value{font-size:27px}.mood-average-summary .button{font-size:10px;padding:10px 9px}.mood-average-summary .button .icon{display:none}.mood-averages-dialog .chart-container{height:250px}.mood-averages-dialog .mood-chart-legend{font-size:9px}}

/* Pastel metric cards and matching heart-rate details. */
.heart-card{background:#fbefed;border-color:#ead8d3;color:#804d47}.heart-card:hover{border-color:#d8aaa1;box-shadow:0 7px 20px #9a57410a}.heart-card .heart-icon{color:#ad655a;background:#f2dcd7}.heart-card :is(.metric-label,.metric-detail,.metric-number>span){color:#8c625c}.heart-card :is(.card-arrow,.metric-link){color:#a06055}
.steps-card{background:#eef4fa;border-color:#d9e5f0;color:#365f80}.steps-card .steps-icon{color:#6089ac;background:#dce9f5}.steps-card :is(.metric-label,.metric-detail,.metric-footnote,.metric-number>span,.mini-label){color:#597894}
#heart-dialog{--paper:#fff8f6;--line:#ebd9d3;background:var(--paper);border-color:#ead8d3;color:#343b38}#heart-dialog::backdrop{background:#33201e70}#heart-dialog :is(.eyebrow,.dialog-subtitle,.small-label,.chart-note,.chart-message,.chart-stats span){color:#5e625f}#heart-dialog .icon-button{border-color:#e8d6cf;color:#505853}#heart-dialog .icon-button:hover{background:#f4e5df}#heart-dialog .range-buttons{background:#f2e4df}#heart-dialog .range-buttons button{color:#5e625f}#heart-dialog .range-buttons button[aria-pressed="true"]{background:#fffdfb;color:#343b38;box-shadow:0 2px 6px #804d4712}#heart-dialog .chart-inspector{background:#fbefeb;border-color:#e9d5ce}#heart-dialog .chart-step{background:#f1ddd6;color:#505853}#heart-dialog .chart-step:hover:not(:disabled){background:#e9cec4}#heart-dialog .chart-reading strong{color:#343b38}#heart-dialog :is(.chart-reading-date,.chart-reading-detail){color:#5e625f}#heart-dialog .chart-stats{border-color:#e8d7d0}#heart-dialog .chart-stats button{color:#343b38;background:#fbefeb;border-color:#ead8d3}#heart-dialog .chart-stats button:hover{background:#f3e4de}#heart-dialog :is(button,canvas):focus-visible{outline-color:#b66a5f}
/* Notification preferences live in the header settings dialog. */
.header-actions .settings-button{display:inline-flex;align-items:center;gap:7px;min-height:44px}.settings-button .icon{width:18px;height:18px}.settings-dialog{width:min(500px,calc(100% - 24px))}.settings-dialog .dialog-header h2{margin:0}.settings-notifications{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;margin-top:26px;padding-top:23px;border-top:1px solid var(--line)}.settings-notifications .notification-copy h3{font-size:15px}.settings-notifications .notification-copy>p{font-size:12px;color:#65765a}.settings-notifications .notification-copy .inline-message.is-error{color:#ad4d3d}.settings-notifications .notification-icon{align-self:start}.settings-notifications>.button{grid-column:1/-1;width:100%;min-height:46px;margin-top:6px;font-size:12px}.settings-notifications .install-guidance{line-height:1.75}
@media(max-width:680px){.header-actions{gap:12px}.header-actions .settings-button{gap:5px}.settings-dialog{padding:23px 20px}.settings-notifications{grid-template-columns:36px minmax(0,1fr);gap:12px}.settings-notifications .notification-icon{width:36px;height:36px;border-radius:11px}}

/* Direct percentage entry and one-point adjustments for the administrator. */
.mood-controls{border:0;padding:0;margin:0;min-width:0}.mood-precision{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:12px;margin-top:14px}.mood-step{display:flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;border:1px solid #cddbc0;border-radius:13px;background:#f4f8ef;color:#365543;font-size:27px;line-height:1}.mood-step:hover:not(:disabled){background:#dbe8ce}.mood-step:disabled{opacity:.35;cursor:default}.mood-number-field{display:flex;align-items:center;justify-content:center;gap:4px;background:#fffefb;border:1px solid #bdcdae;border-radius:13px;min-height:52px;min-width:0;padding:4px 8px}.mood-number-field input{width:3.2ch;min-width:0;padding:0;border:0;background:transparent;text-align:center;color:var(--ink);font-size:28px;font-weight:580;line-height:1.5;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.mood-number-field input::-webkit-inner-spin-button,.mood-number-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.mood-number-field>span{font-size:18px;color:#657b58}.mood-controls:disabled{opacity:.65}
.mood-editor input[type="range"]{height:44px;appearance:none;-webkit-appearance:none;background:transparent;margin:10px 0 0}.mood-editor input[type="range"]::-webkit-slider-runnable-track{height:8px;border-radius:8px;background:#cddbbc}.mood-editor input[type="range"]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:28px;height:28px;margin-top:-10px;border:4px solid #fffefb;border-radius:50%;background:#517147;box-shadow:0 0 0 1px #91a780}.mood-editor input[type="range"]::-moz-range-track{height:8px;border-radius:8px;background:#cddbbc}.mood-editor input[type="range"]::-moz-range-thumb{width:20px;height:20px;border:4px solid #fffefb;border-radius:50%;background:#517147;box-shadow:0 0 0 1px #91a780}
