/* A single illustrated overview. Detail views and dialogs keep full content reachable. */
:root{--scene:url('./assets/illustrations/seasonal-portraits/lake-portrait-autumn.jpg');--dashboard-hand:'Trebuchet MS','Segoe UI',sans-serif}
:root[data-season=spring]{--scene:url('./assets/illustrations/seasonal-portraits/lake-portrait-spring.jpg')}
:root[data-season=summer]{--scene:url('./assets/illustrations/seasonal-portraits/lake-portrait-summer.jpg')}
:root[data-season=winter]{--scene:url('./assets/illustrations/seasonal-portraits/lake-portrait-winter.jpg')}
.dashboard-page{height:100dvh;overflow:hidden;background:#284d55;color:#253e42;font-size:13px}
.dashboard-page::before{content:'';position:fixed;inset:0;z-index:-1;background:linear-gradient(150deg,#183d49e6,#608789bd),var(--scene) center/cover}
.dashboard-shell{height:100dvh;display:grid;grid-template-columns:154px minmax(0,1fr)}
.dashboard-sidebar{position:relative;display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:22px 12px 15px;background:linear-gradient(160deg,#183d49ed,#254f59bd);border-right:1px solid #e9f4ed29;color:#fff8e8;overflow:hidden}
.dashboard-brand.brand{display:flex;flex-direction:column;gap:8px;text-align:center;white-space:normal;font:italic 700 25px/1.1 var(--dashboard-hand);letter-spacing:-1px;color:#fff8e8}
.dashboard-brand.brand [data-site-name]{white-space:normal;max-width:100%;overflow-wrap:anywhere}
.profile-portrait{width:90px;height:90px;border-radius:50%;border:3px solid #fff8e8;object-fit:cover;object-position:97% 25%;box-shadow:0 3px 14px #092c4066}
.brand-heart{display:none}
.sidebar-tagline{font:italic 12px/1.5 var(--serif);text-align:center;color:#ccded8;margin:12px 0 22px}
.dashboard-nav.main-nav{display:flex;flex-direction:column;align-items:stretch;gap:8px;font-size:16px}
.dashboard-nav.main-nav a{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 12px;border-radius:22px;font:italic 600 17px/1.1 var(--dashboard-hand);color:#f4f4e8;white-space:nowrap}
.dashboard-nav.main-nav a::after{display:none}
.dashboard-nav.main-nav a:hover{background:#d5e6dc24}
.dashboard-nav.main-nav a.is-current{background:linear-gradient(120deg,#ffd49d,#efb981);color:#1d424d;box-shadow:0 3px 10px #0f2b322b}
.dashboard-nav .icon{width:23px;height:23px;stroke-width:1.8}
.sidebar-bottom{margin-top:auto;padding:18px 5px 0}
.sidebar-bottom .season-label{color:#deebe3;font-size:10px;white-space:normal;gap:5px}
.sidebar-bottom .season-label .icon{color:#f0c69c;width:14px;height:14px}
.sidebar-bottom>p{font:italic 15px/1.45 var(--serif);color:#dfede0;margin:20px 0}
.sidebar-admin{display:flex;align-items:center;gap:9px;border-top:1px solid #cbded929;padding:12px 0 0;font-size:12px;color:#d5e4df}
.sidebar-admin .icon{width:17px;height:17px}
.dashboard-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(155px,.9fr) minmax(94px,.55fr) minmax(130px,.75fr) minmax(198px,1.05fr);grid-template-areas:'hero hero' 'summary summary' 'journal gallery' 'mood health';height:100dvh;min-height:0;gap:10px;padding:10px 12px 12px;outline:none}
.dashboard-hero{grid-area:hero;position:relative;isolation:isolate;min-width:0;min-height:0;overflow:hidden;border-radius:16px 16px 10px 10px;background:#598b88;box-shadow:0 4px 20px #102c423b}
.dashboard-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:100% 10%;z-index:-2}
.dashboard-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#173d49c9 0%,#22484666 35%,transparent 65%);z-index:-1}
.dashboard-welcome{padding:24px 26px;color:#fff9e8;max-width:65%;height:100%;display:flex;flex-direction:column;justify-content:center}
.dashboard-welcome .eyebrow{font-size:9px;letter-spacing:.14em;color:#f2dec1;margin:0 0 4px}
.dashboard-welcome h1{font:italic 700 clamp(36px,4.3vw,66px)/1.08 var(--dashboard-hand);letter-spacing:-2px;margin:0 0 9px;text-wrap:initial;overflow-wrap:anywhere;text-shadow:0 2px 5px #14313d66}
.dashboard-welcome h1 em{font:normal 1.1em/1 Georgia;color:#fff1d9}
.dashboard-welcome>p:not(.eyebrow){font-size:12px;margin:0;line-height:1.5;text-shadow:0 1px 3px #183e49}
.hero-handwritten{font:italic 17px/1.3 var(--serif);margin-top:14px;color:#f9e4c0}
.dashboard-date{position:absolute;right:15px;bottom:12px;display:flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid #fff9e8;border-radius:22px;background:#fff8edee;box-shadow:0 3px 15px #1c344521;font:italic 600 12px/1.2 var(--dashboard-hand);color:#23434a}
.dashboard-date .icon{width:18px;height:18px}
.dashboard-summary{grid-area:summary;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;min-height:0}
.dashboard-summary:has(#dashboard-steps-card[hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}
.dashboard-summary:has(#dashboard-steps-card[hidden]):has(#dashboard-sleep-card[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}
.summary-card,.dashboard-widget{border:2px solid #fffaf1;border-radius:16px;background:linear-gradient(135deg,#fffaf0f5,#faecd8f5);box-shadow:0 3px 12px #13333e29;min-width:0;min-height:0;overflow:hidden}
.summary-card{position:relative;padding:12px 14px;text-align:left;display:flex;flex-direction:column;align-items:stretch;gap:3px}
button.summary-card:hover{background:linear-gradient(135deg,#fffdf7,#f4e0bd)}
.summary-heading{display:flex;align-items:center;gap:7px;margin:0;font:italic 700 clamp(15px,1.5vw,22px)/1.15 var(--dashboard-hand);letter-spacing:-.5px;white-space:nowrap}
.summary-heading .icon{height:22px;width:22px;color:#29505b;stroke-width:1.8}
.summary-arrow,.summary-expand{margin-left:auto;font:17px/1 var(--sans);opacity:.6}
.summary-expand{min-height:25px;min-width:25px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.summary-value{font:700 clamp(25px,2.7vw,40px)/1.1 var(--dashboard-hand);letter-spacing:-1px;margin-top:4px;white-space:nowrap}
.summary-note{display:block;font-size:10px;line-height:1.35;color:#66756b;min-height:12px;position:relative;z-index:1}
.steps-trail{position:absolute;right:13px;bottom:7px;font-size:21px;letter-spacing:3px;line-height:.6;color:#65a26d7a;transform:rotate(-8deg);pointer-events:none}
.sleep-summary .summary-heading .icon{color:#7d6fa2}
.sleep-wave{position:absolute;width:100%;height:27px;left:0;bottom:0;fill:#a9a1d33b;pointer-events:none}
.sleep-summary .summary-note{max-width:85%}
.mood-summary-body{display:flex;align-items:center;gap:10px;min-height:0;flex:1}
.mood-summary-body>img{height:62px;width:62px;border-radius:50%;object-fit:cover;object-position:center 30%;border:2px solid #e4dac5;flex-shrink:0}
.mood-summary-body strong{display:block;font:italic 600 17px/1.15 var(--dashboard-hand);margin:0 0 4px;overflow-wrap:anywhere}
.mood-summary .summary-heading .icon{color:#c56754;fill:#e7866329}
.thought-quotes{font:700 34px/18px Georgia;color:#34616b;height:20px;align-self:flex-start}
.dashboard-page #public-thought,.dashboard-page #public-thought.long-thought{font:italic 17px/1.3 var(--serif);letter-spacing:-.2px;margin:auto 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
.dashboard-widget{padding:10px 14px;display:flex;flex-direction:column}
.widget-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;min-height:24px;margin-bottom:6px}
.widget-heading h2{display:flex;align-items:center;gap:9px;font:italic 700 clamp(17px,1.6vw,24px)/1.15 var(--dashboard-hand);margin:0;letter-spacing:-.5px;white-space:nowrap}
.widget-heading h2 .icon{width:23px;height:23px;stroke-width:1.7}
.widget-heading .text-button{min-height:24px;font-size:10px;white-space:nowrap;font-weight:500;gap:5px}
.widget-actions{display:flex;gap:12px;align-items:center}
.dashboard-page .journal-section{grid-area:journal;margin:0}
.dashboard-page .journal-card{position:relative;display:grid;grid-template-columns:57% 43%;border:0;border-radius:0;background:transparent;min-height:0;flex:1;overflow:hidden}
.dashboard-page .journal-body{padding:0 12px 0 0;min-height:0;position:relative;z-index:1}
.dashboard-page .journal-body h3{font:italic 700 clamp(16px,1.65vw,24px)/1.15 var(--dashboard-hand);letter-spacing:-.5px;margin:1px 0 3px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0}
.dashboard-page #journal-date{font-size:9px;line-height:1.3;color:#78806e;flex-shrink:0}
.dashboard-page #journal-card-excerpt{font-size:11px;line-height:1.4;margin:4px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.dashboard-page .journal-body .text-button{margin-top:auto;padding:4px 10px;min-height:26px;width:auto;gap:15px;border:0;background:#f3c38e;border-radius:15px;font-size:10px;flex-shrink:0;color:#294651}
.dashboard-page .journal-image{border-radius:11px;min-height:0;overflow:hidden;background:#e5d7bb}
.dashboard-page .journal-image>img{height:100%;width:100%;object-fit:cover;object-position:90% center}
.dashboard-page .journal-image>img:not([data-season-image]){object-position:center}
.dashboard-page .gallery-section{grid-area:gallery;margin:0}
.gallery-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0;flex:1}
.gallery-previews:empty{display:none}
.gallery-previews:has(>.gallery-preview-button:only-child){grid-template-columns:1fr}
.gallery-preview-button:only-child>img{object-fit:contain;background:#e9e1d6}
.gallery-preview-button{position:relative;min-width:0;min-height:0;width:100%;border-radius:10px;overflow:hidden;background:#e3e0cd;padding:0}
.gallery-preview-button>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .2s}
.gallery-preview-button:hover>img{transform:scale(1.045)}
.gallery-preview-button>span{position:absolute;left:0;right:0;bottom:0;padding:15px 6px 5px;color:white;background:linear-gradient(transparent,#17343bd9);font-size:9px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-page .gallery-empty{flex:1;min-height:0;grid-template-columns:35% 65%;border:0;border-radius:10px;background:#efeadc}
.dashboard-page .gallery-empty>img{height:100%;object-position:95% center;min-height:0}
.dashboard-page .gallery-empty>div{padding:12px}
.dashboard-page .gallery-empty h3{font:italic 600 17px/1.2 var(--dashboard-hand);margin:0 0 6px}
.dashboard-page .gallery-empty p{font-size:11px;line-height:1.5;margin:0}
.dashboard-page .mood-section{grid-area:mood;margin:0}
.mood-calendar-body{display:grid;grid-template-columns:minmax(0,1fr) 27%;gap:14px;min-height:0;flex:1}
.dashboard-page .calendar-card{min-height:0;border:0;background:transparent;padding:0;border-radius:0;display:flex;flex-direction:column;min-width:0}
.dashboard-page .calendar-toolbar{margin:0 0 4px;flex-shrink:0;gap:6px}
.dashboard-page .calendar-toolbar h3{font:600 13px var(--dashboard-hand);letter-spacing:0}
.dashboard-page .calendar-controls{gap:0}
.dashboard-page .calendar-controls .icon-button{height:24px;width:24px;min-width:24px}
.dashboard-page .today-button{min-height:23px;padding:2px 6px;font-size:9px}
.dashboard-page .calendar-weekdays{font-size:8px;gap:4px;margin:0 0 4px;flex-shrink:0}
.dashboard-page .calendar-days{gap:3px;min-height:0;flex:1;grid-auto-rows:minmax(0,1fr)}
.dashboard-page .calendar-day,.dashboard-page .calendar-day.has-mood{min-height:0;min-width:0;padding:1px 2px;border-radius:5px;font-size:10px;gap:2px;flex-direction:row;background:#f0e9da;line-height:1;overflow:hidden}
.dashboard-page .calendar-day.outside{background:transparent;color:#b7b6a8}
.dashboard-page .calendar-day.has-mood{border:1px solid #cad5b6;background:#e4ead2}
.dashboard-page .calendar-day.has-mood img{height:20px;width:22px;object-fit:cover;border-radius:50%}
.dashboard-page .calendar-day.is-today{background:#426654;color:#fff8e8;box-shadow:inset 0 0 0 1px #294c48}
.dashboard-page .calendar-day:not(.outside):hover{background:#d5dec8;color:#294c48}
.dashboard-page .calendar-note{font-size:8px;min-height:0;margin:4px 0 0;line-height:1.3;flex-shrink:0;color:#7c8676}
.calendar-reflection{display:flex;flex-direction:column;justify-content:center;gap:6px;text-align:center;min-height:0;padding-left:10px;border-left:1px solid #e5d8c0}
.calendar-reflection>p{font:italic 700 17px/1.25 var(--dashboard-hand);margin:0;color:#6c725d}
.calendar-reflection>img{height:76px;width:76px;object-fit:cover;object-position:97% center;border-radius:50%;margin:0 auto;border:2px solid #fff9e8;flex-shrink:1;min-height:0}
.calendar-reflection>span{font-size:9px;color:#657460}
.dashboard-page .health-section{grid-area:health;margin:0}
.dashboard-page .health-card{padding:0;min-height:0;min-width:0;border:0;background:transparent;border-radius:0;display:flex;flex:1;flex-direction:column}
.dashboard-page .health-metrics{display:none}
.dashboard-page #sleep-chart-panel{display:flex;flex-direction:column;flex:1;min-height:0}
.dashboard-page .chart-heading{flex-shrink:0;gap:8px;min-height:17px}
.dashboard-page .chart-heading h3{font-size:10px;font-weight:600}
.dashboard-page .connection-label{font-size:8px;margin-left:auto}
.dashboard-page .sleep-chart{flex:1;min-height:0;margin-top:2px}
.dashboard-page .sleep-chart svg{width:100%;height:100%;max-height:none}
.dashboard-page .chart-axis{fill:#697466}
.dashboard-page .sync-note{font-size:8px;line-height:1.4;border:0;padding:0;margin:4px 0 0;flex-shrink:0}
.dashboard-main:not(:has(.health-section:not([hidden]))){grid-template-areas:'hero hero' 'summary summary' 'journal gallery' 'mood mood'}
.dashboard-main:not(:has(.health-section:not([hidden]))) .mood-calendar-body{grid-template-columns:minmax(0,1fr) 20%}

.dashboard-viewbar{display:none}
.dashboard-page .public-settings-note{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);padding:12px 18px;border-radius:10px;background:#fff9e9;box-shadow:0 3px 15px #193a4277;max-width:90%;z-index:10;color:#654b34}
.dashboard-page dialog{max-height:90dvh;border:2px solid #fffaf0;box-shadow:0 20px 90px #082936aa;background:#fcf5e8;overflow:auto}
.dashboard-page dialog .dialog-top{background:#fcf5e8}
.dashboard-page dialog::backdrop{background:#153a49b3;backdrop-filter:blur(5px)}
.dashboard-page .thought-dialog blockquote{font:italic 27px/1.6 var(--serif);white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 22px}
.dashboard-page .thought-dialog .article-content>p{font-size:12px;color:#77816c}
.dashboard-page .slideshow-dialog{width:min(980px,calc(100% - 32px))}
.dashboard-page .slideshow-dialog .gallery-layout{border:0;border-radius:0;background:#f4efdf}
.dashboard-page .slideshow-dialog .gallery-story{padding:28px}
.dashboard-page .slideshow-dialog .gallery-story h3{font-size:28px}
.dashboard-page .slideshow-dialog .gallery-art img{height:390px}
/* Larger individual views remain inside the illustrated shell. */
.dashboard-page:not([data-view=hem]) .dashboard-main{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);grid-template-areas:'viewbar' 'detail'}
.dashboard-page:not([data-view=hem]) .dashboard-viewbar{grid-area:viewbar;display:flex;align-items:center;justify-content:space-between;padding:10px 3px;color:#fff8e8;gap:12px}
.dashboard-viewbar .text-button{color:#fff8e8;min-height:32px;font-size:12px}
.dashboard-viewbar>span{font-size:9px;letter-spacing:.1em}
.dashboard-page:not([data-view=hem]) .dashboard-hero,.dashboard-page:not([data-view=hem]) .dashboard-summary,.dashboard-page:not([data-view=hem]) .journal-section,.dashboard-page:not([data-view=hem]) .gallery-section{display:none}
.dashboard-page[data-view=maende] .health-section,.dashboard-page[data-view=halsa] .mood-section{display:none}
.dashboard-page:not([data-view=hem]) .mood-section,.dashboard-page:not([data-view=hem]) .health-section{grid-area:detail;padding:25px}
.dashboard-page:not([data-view=hem]) .widget-heading{margin-bottom:20px}
.dashboard-page:not([data-view=hem]) .widget-heading h2{font-size:30px}
.dashboard-page:not([data-view=hem]) .widget-heading>button{display:none}
.dashboard-page:not([data-view=hem]) .calendar-toolbar{margin-bottom:18px}
.dashboard-page:not([data-view=hem]) .calendar-toolbar h3{font-size:23px}
.dashboard-page:not([data-view=hem]) .calendar-controls .icon-button{width:38px;height:38px}
.dashboard-page:not([data-view=hem]) .today-button{font-size:12px;padding:6px 10px;min-height:34px}
.dashboard-page:not([data-view=hem]) .calendar-weekdays{font-size:11px;margin-bottom:10px}
.dashboard-page:not([data-view=hem]) .calendar-days{gap:7px}
.dashboard-page:not([data-view=hem]) .calendar-day{font-size:16px;flex-direction:column;gap:4px}
.dashboard-page:not([data-view=hem]) .calendar-day.has-mood img{width:40px;height:34px}
.dashboard-page:not([data-view=hem]) .calendar-reflection>img{width:160px;height:160px}
.dashboard-page:not([data-view=hem]) .calendar-reflection>p{font-size:25px}
.dashboard-page:not([data-view=hem]) .calendar-reflection>span,.dashboard-page:not([data-view=hem]) .calendar-note{font-size:12px}
.dashboard-page[data-view=halsa] .health-metrics{display:grid;gap:25px;margin-bottom:25px}
.dashboard-page[data-view=halsa] .metric-value{font-size:40px}
.dashboard-page[data-view=halsa] .sync-note{font-size:12px;margin-top:20px}
.dashboard-page[data-view=halsa] .chart-heading h3{font-size:17px}
.dashboard-page[data-view=halsa] .connection-label{font-size:12px}
@media(min-width:1600px){.dashboard-shell{grid-template-columns:185px minmax(0,1fr)}.dashboard-main{gap:14px;padding:14px}.dashboard-sidebar{padding-top:30px}.profile-portrait{height:110px;width:110px}.brand-heart{top:150px;right:35px}.dashboard-brand.brand{font-size:30px}.dashboard-nav.main-nav{gap:12px}.dashboard-nav.main-nav a{font-size:20px;min-height:50px}.summary-card{padding:16px 20px}.summary-note{font-size:11px}.mood-summary-body>img{height:76px;width:76px}.mood-summary-body strong{font-size:21px}.dashboard-page #public-thought,.dashboard-page #public-thought.long-thought{font-size:22px}.dashboard-widget{padding:14px 20px}.widget-heading{margin-bottom:10px}.dashboard-page #journal-card-excerpt{font-size:14px;-webkit-line-clamp:3}.dashboard-page #journal-date{font-size:11px}.dashboard-page .journal-body .text-button,.widget-heading .text-button{font-size:12px}.dashboard-page .calendar-toolbar h3{font-size:16px}.dashboard-page .calendar-weekdays{font-size:10px}.dashboard-page .calendar-day{font-size:12px}.dashboard-page .calendar-day.has-mood img{height:25px;width:28px}.dashboard-page .calendar-note,.dashboard-page .sync-note{font-size:10px}.calendar-reflection>p{font-size:21px}.calendar-reflection>img{height:100px;width:100px}.calendar-reflection>span{font-size:11px}.dashboard-page .chart-heading h3{font-size:12px}.dashboard-page .connection-label{font-size:10px}.gallery-preview-button>span{font-size:12px}}
/* Touch screens use a compact home and separate full-height calendar/health views. */
@media(max-width:900px){.dashboard-shell{grid-template-columns:110px minmax(0,1fr)}.dashboard-sidebar{padding:20px 8px 12px}.profile-portrait{height:70px;width:70px}.dashboard-brand.brand{font-size:21px}.brand-heart{display:none}.sidebar-tagline{font-size:10px}.dashboard-nav.main-nav a{font-size:14px;gap:8px;padding:10px 9px}.dashboard-nav .icon{height:20px;width:20px}.sidebar-bottom .season-label{font-size:9px}.sidebar-bottom>p{font-size:13px}.dashboard-main{grid-template-rows:minmax(155px,.9fr) minmax(170px,1fr) minmax(170px,1fr);grid-template-areas:'hero hero' 'summary summary' 'journal gallery';gap:10px}.dashboard-page[data-view=hem] .mood-section,.dashboard-page[data-view=hem] .health-section{display:none}.dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row}.dashboard-summary:has(#dashboard-steps-card[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}.summary-heading{font-size:15px}.summary-card{padding:10px 12px}.summary-value{font-size:28px;margin-top:0}.mood-summary-body>img{height:42px;width:42px}.mood-summary-body strong{font-size:14px}.dashboard-page #public-thought,.dashboard-page #public-thought.long-thought{font-size:15px;-webkit-line-clamp:2}.dashboard-welcome{max-width:67%;padding:18px}.dashboard-welcome h1{font-size:43px}.dashboard-welcome>p:not(.eyebrow){font-size:10px}.hero-handwritten{font-size:14px}.dashboard-date{font-size:10px;padding:6px 10px}.dashboard-widget{padding:10px}.widget-heading h2{font-size:17px}.widget-heading .text-button{font-size:9px}.dashboard-page .journal-card{grid-template-columns:1fr}.dashboard-page .journal-image{display:none}.dashboard-page #journal-card-excerpt{-webkit-line-clamp:4}.gallery-previews{gap:4px}.gallery-previews .gallery-preview-button:nth-child(3){display:none}.gallery-previews{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-page .gallery-empty{grid-template-columns:1fr}.dashboard-page .gallery-empty>img{display:none}.dashboard-page .gallery-empty>div{padding:8px}.dashboard-page .gallery-empty h3{font-size:15px}.sidebar-bottom{padding-inline:1px}}
@media(max-width:600px){.dashboard-shell{display:flex;flex-direction:column;height:100dvh}.dashboard-sidebar{flex-shrink:0;flex-direction:row;align-items:center;overflow:visible;padding:8px 10px;gap:10px;min-height:59px;border:0;border-bottom:1px solid #d9ebe126}.dashboard-brand.brand{flex-direction:row;gap:7px;font-size:18px;flex-shrink:0;letter-spacing:-.7px}.profile-portrait{width:37px;height:37px;border-width:2px}.sidebar-tagline,.sidebar-bottom{display:none}.dashboard-nav.main-nav{margin-left:auto;flex-direction:row;gap:3px;width:auto;justify-content:flex-end}.dashboard-nav.main-nav a{flex-direction:column;gap:3px;min-height:43px;min-width:39px;padding:5px 4px;border-radius:10px;font:500 9px/1 var(--sans)}.dashboard-nav .icon{height:18px;width:18px}.dashboard-main{flex:1;height:auto;min-height:0;display:grid;padding:8px;gap:8px;grid-template-columns:1fr 1fr;grid-template-rows:minmax(150px,1fr) minmax(192px,1fr) minmax(126px,.75fr);grid-template-areas:'hero hero' 'summary summary' 'journal gallery'}.dashboard-hero{border-radius:12px}.dashboard-landscape{object-position:100% 10%}.dashboard-welcome{padding:16px 13px;max-width:62%;justify-content:flex-start}.dashboard-welcome .eyebrow{font-size:6px;letter-spacing:.1em;margin-top:4px}.dashboard-welcome h1{font-size:35px;letter-spacing:-1.5px;margin-bottom:5px}.dashboard-welcome>p:not(.eyebrow){font-size:9px;line-height:1.55}.hero-handwritten{font-size:12px;max-width:130px;margin-top:9px}.dashboard-date{font-size:9px;bottom:9px;right:8px;gap:5px;padding:5px 8px;max-width:95%}.dashboard-date .icon{height:14px;width:14px}.dashboard-summary{gap:8px}.summary-card{padding:10px 11px;border-radius:12px}.summary-heading{font-size:14px;gap:5px}.summary-heading .icon{height:19px;width:19px}.summary-arrow{font-size:12px}.summary-value{font-size:29px}.summary-note{font-size:9px}.mood-summary-body{gap:6px}.mood-summary-body>img{height:44px;width:44px}.mood-summary-body strong{font-size:14px}.dashboard-page #public-thought,.dashboard-page #public-thought.long-thought{font-size:15px;-webkit-line-clamp:3}.dashboard-widget{border-radius:12px;padding:9px 10px}.widget-heading{margin-bottom:4px;gap:4px}.widget-heading h2{font-size:16px;gap:5px}.widget-heading h2 .icon{height:19px;width:19px}.widget-heading .text-button{font-size:8px}.widget-actions{gap:8px}.widget-actions #gallery-open-slideshow{display:none}.dashboard-page .journal-body{padding:0}.dashboard-page .journal-body h3{font-size:15px}.dashboard-page #journal-date{font-size:8px}.dashboard-page #journal-card-excerpt{font-size:10px;line-height:1.35;-webkit-line-clamp:2}.dashboard-page .journal-body .text-button{font-size:9px;min-height:24px;padding:3px 9px}.gallery-preview-button>span{font-size:8px}.dashboard-page .gallery-empty p{font-size:10px}.dashboard-page .gallery-empty h3{font-size:13px}.dashboard-page:not([data-view=hem]) .dashboard-main{display:grid;grid-template-rows:34px minmax(0,1fr);grid-template-columns:minmax(0,1fr);grid-template-areas:'viewbar' 'detail'}.dashboard-page:not([data-view=hem]) .dashboard-viewbar{padding:0 3px}.dashboard-viewbar>span{display:none}.dashboard-page:not([data-view=hem]) .mood-section,.dashboard-page:not([data-view=hem]) .health-section{padding:15px}.dashboard-page:not([data-view=hem]) .widget-heading{margin-bottom:12px}.dashboard-page:not([data-view=hem]) .widget-heading h2{font-size:24px}.dashboard-page:not([data-view=hem]) .mood-calendar-body{grid-template-columns:1fr}.dashboard-page:not([data-view=hem]) .calendar-reflection{display:none}.dashboard-page:not([data-view=hem]) .calendar-toolbar h3{font-size:18px}.dashboard-page:not([data-view=hem]) .calendar-day{font-size:14px}.dashboard-page:not([data-view=hem]) .calendar-day.has-mood img{width:30px;height:28px}.dashboard-page:not([data-view=hem]) .calendar-note{font-size:10px;margin-top:12px}.dashboard-page[data-view=halsa] .health-metrics{gap:15px}.dashboard-page[data-view=halsa] .metric-value{font-size:29px;letter-spacing:-1px}.dashboard-page[data-view=halsa] .metric-value small{font-size:10px}.dashboard-page[data-view=halsa] .metric-label{font-size:8px}.dashboard-page[data-view=halsa] .sync-note{font-size:10px}.dashboard-page[data-view=halsa] .chart-heading h3{font-size:13px}.dashboard-page[data-view=halsa] .connection-label{font-size:9px}.dashboard-page .slideshow-dialog .gallery-art img{height:220px}.dashboard-page .slideshow-dialog .gallery-story{padding:20px}.dashboard-page .slideshow-dialog .gallery-story h3{font-size:23px}.dashboard-page .slideshow-dialog .gallery-description{font-size:12px}}
@media(max-width:370px){.dashboard-brand.brand{font-size:0;gap:0}.dashboard-brand.brand [data-site-name]{display:none}.dashboard-nav.main-nav{gap:5px}.dashboard-nav.main-nav a{min-width:40px}.dashboard-page .mood-summary-body>img{height:36px;width:36px}.summary-heading{font-size:12px}.mood-summary-body strong{font-size:12px}.summary-value{font-size:26px}}
/* At extreme zoom or very short windows, reading takes priority over forced clipping. */
@media(max-height:620px){.dashboard-page{height:auto;min-height:100dvh;overflow:auto}.dashboard-shell{height:auto;min-height:100dvh}.dashboard-main{height:680px;flex-shrink:0}.dashboard-sidebar{min-height:100%}.dashboard-page:not([data-view=hem]) .dashboard-main{height:650px}}
@media(prefers-reduced-motion:reduce){.gallery-preview-button>img{transition:none}}

@media(max-width:900px){.dashboard-page[data-view=hem] .dashboard-main{grid-template-areas:'hero hero' 'summary summary' 'journal gallery'}}

.dashboard-nav.main-nav a.mobile-admin{display:none}
.dashboard-page .calendar-day.future{color:#77816f}
@media(max-width:600px){.dashboard-page[data-view=hem] .dashboard-main{grid-template-rows:minmax(150px,.7fr) minmax(192px,1fr) minmax(126px,.8fr)}.dashboard-nav.main-nav a{min-width:35px}.dashboard-nav.main-nav a.mobile-admin{display:flex}.dashboard-welcome{max-width:46%}.dashboard-welcome h1{font-size:30px}.dashboard-welcome h1 em{display:none}.dashboard-page #journal-card-excerpt{-webkit-line-clamp:4}}
@media(max-width:370px){.dashboard-nav.main-nav{gap:2px}.dashboard-nav.main-nav a{min-width:35px}}

.dashboard-summary:has(#dashboard-sleep-card[hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}
.dashboard-summary:has(#dashboard-steps-card[hidden]):has(#dashboard-sleep-card[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.dashboard-summary:has(#dashboard-sleep-card[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:901px) and (max-height:780px){.dashboard-page[data-view=hem] .calendar-day.has-mood img{height:14px;width:16px}}
.dashboard-page .noscript-note{position:fixed;bottom:0;left:0;right:0;z-index:30;margin:0}

.health-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px;flex-shrink:0}
.health-chart-switch{display:inline-flex;gap:3px;padding:2px;background:#e9e4d7;border-radius:15px}
.health-chart-switch button{padding:3px 12px;min-height:24px;border-radius:13px;font-size:10px;color:#596f65;line-height:1.2}
.health-chart-switch button[aria-pressed=true]{background:#fffaf0;color:#294c48;box-shadow:0 1px 4px #264b4c20;font-weight:650}
.health-chart-switch button:hover{background:#f6eedf}
.dashboard-page #steps-chart-panel{display:flex;flex-direction:column;flex:1;min-height:0}
.steps-chart{flex:1;min-height:0;margin-top:2px}
.steps-chart svg{width:100%;height:100%;display:block}
.steps-bar{fill:#6b9872}
.steps-chart-value{fill:#315644;font:600 16px var(--sans)}
.dashboard-page[data-view=halsa] .health-chart-toolbar{margin-bottom:18px}
.dashboard-page[data-view=halsa] .health-chart-switch button{min-height:38px;font-size:14px;padding:8px 22px}
@media(max-width:600px){.dashboard-page[data-view=halsa] .health-chart-switch button{min-height:38px;font-size:13px}}
