.account{display:flex;align-items:center;gap:18px;font-size:12px;min-width:0}.account>span{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-button{background:transparent;color:var(--muted);border:1px solid var(--line);border-radius:8px;padding:11px 13px;min-height:44px}.text-button:hover{color:var(--ink);border-color:#ed8b3a}.navigation{max-width:1120px;margin:22px auto 0;display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:14px}.navigation a{display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;padding:13px 23px;min-height:48px;border-radius:10px;font-size:14px;color:var(--muted)}.navigation a[aria-current]{background:#39291d;color:#ffac68}.navigation a:hover{color:#ffac68}.entry-only{max-width:520px}.entry-only .value-input input{font-size:78px}.message{border:1px solid #716047;padding:13px 15px;border-radius:10px;line-height:1.5;font-size:13px;margin:0 0 23px;background:#2d281f}.message.error{border-color:#93594e;background:#35211d;color:#ffc2b4}.message.success{border-color:#746044;color:#f6d4a8}.auth-layout{display:grid;grid-template-columns:1fr 420px;gap:70px;align-items:center;padding:35px 0 60px}.auth-intro h1{font-size:49px}.auth-intro .intro-copy{line-height:1.8}.auth-art{margin-top:32px;width:240px;height:240px}.auth-art img{display:block;width:240px;height:240px;object-fit:contain}.auth-panel{padding:32px}.auth-panel h2{font-size:24px}.auth-panel>.intro-copy{line-height:1.6;margin-bottom:25px}.auth-form{display:flex;flex-direction:column}.auth-form label{font-size:13px;margin:16px 0 8px}.auth-form label:first-of-type{margin-top:0}.auth-form input{min-width:0;width:100%;background:#252729;border:1px solid var(--line);border-radius:9px;padding:13px;color:var(--ink);font-size:16px;min-height:49px}.auth-form small{font-size:11px;line-height:1.5;color:var(--muted);margin-top:7px}.auth-form button{margin-top:26px}.auth-switch{font-size:12px;text-align:center;color:var(--muted);margin:23px 0 0}.auth-switch a{color:#ffac68;text-underline-offset:4px;margin-left:5px}.history-panel{margin-top:0;max-width:850px}.empty{padding:38px 25px;text-align:center}.empty>span{display:block;font-size:40px;color:#ed8b3a;margin-bottom:20px}.empty p{color:var(--muted);font-size:14px;line-height:1.6}.button-link{display:inline-block;background:#ed8b3a;color:#191512;padding:15px 20px;border-radius:9px;text-decoration:none;font-size:14px;margin-top:15px}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:22px;font-size:12px}.pagination a{padding:13px;color:#ffac68}.pagination span{color:var(--muted)}.periods{display:flex;gap:10px;margin-bottom:24px}.periods a{border:1px solid var(--line);border-radius:9px;padding:13px 22px;font-size:13px;text-decoration:none}.periods a[aria-current]{background:#39291d;border-color:#b77743;color:#ffac68}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat-card{background:#1c1e20;border:1px solid var(--line);border-radius:16px;padding:23px}.stat-card p{font-size:12px;color:var(--muted);margin:0 0 12px}.stat-card strong{font:600 34px 'Manrope',sans-serif;letter-spacing:-1px}.stat-card small{color:var(--muted);font-size:11px;margin-left:7px}.chart-wrap{max-width:100%!important}footer{margin-top:52px}.save-button:disabled{opacity:.6;cursor:wait}@media(max-width:1199px){.navigation{margin:20px 40px 0}}@media(max-width:850px){.auth-layout{gap:25px;grid-template-columns:1fr 370px}.auth-intro h1{font-size:38px}.navigation{margin-left:24px;margin-right:24px}.stat-card{padding:18px}.stat-card strong{font-size:29px}}@media(max-width:680px){.topbar{padding:0 18px}.account{gap:8px}.account>span{display:none}.text-button{font-size:11px;padding:10px}.navigation{margin:16px 18px 0;gap:5px;padding-bottom:12px}.navigation a{flex:1;padding:11px 8px;font-size:13px}.auth-layout{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:27px}.auth-intro h1{font-size:33px}.auth-intro .intro-copy{font-size:13px}.auth-art{display:none}.auth-panel{padding:24px}.auth-panel h2{font-size:22px}.auth-panel>.eyebrow{font-size:9px}.topbar>.demo-badge{font-size:9px;max-width:130px;text-align:center}.entry-only{max-width:none}.entry-only .value-input input{font-size:68px}.intro{margin-bottom:26px}.stat-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:20px 14px}.stat-card p{font-size:11px}.stat-card strong{font-size:29px}.stat-card small{font-size:10px;margin-left:4px}.periods a{flex:1;text-align:center;padding:13px 10px}.empty{padding:30px 15px}.empty h2{font-size:18px}.entry-row{grid-template-columns:1fr 1fr 90px}.context-tag{font-size:10px}footer{margin-top:36px}}
.recovery-links{display:flex;flex-direction:column;gap:12px;text-align:center;margin-top:20px;font-size:12px;color:var(--muted)}.recovery-links a{padding:6px;text-underline-offset:4px}.recovery-panel{max-width:520px;margin:15px auto 60px}.recovery-panel h1{font-size:29px;margin-bottom:24px}.recovery-panel .intro-copy{margin-top:0;margin-bottom:24px;line-height:1.7}
.admin-grid{display:grid;grid-template-columns:minmax(0,600px) minmax(0,1fr);gap:24px;align-items:start}.auth-form .checkbox-label{display:flex;align-items:center;gap:12px;margin-top:22px}.auth-form .checkbox-label input{width:20px;min-height:20px;accent-color:#ed8b3a}.smtp-heading{margin-top:28px}.auth-form select{display:block;width:100%;background:#252729;color:var(--ink);border:1px solid var(--line);border-radius:9px;margin-top:8px;padding:13px 8px;font-size:16px;min-height:49px}.test-mail .intro-copy{line-height:1.6;margin-bottom:24px}@media(max-width:680px){.admin-grid{grid-template-columns:1fr}.navigation a{padding:11px 5px;font-size:12px}.navigation{gap:2px}}
.auth-form .date-fields label{margin:16px 0 0}
.brand-logo{display:block;width:44px;height:44px;flex:0 0 auto;object-fit:contain;margin-right:10px}@media(max-width:680px){.brand-logo{width:36px;height:36px}}
.legal-content{max-width:850px;font-size:15px;line-height:1.75}.legal-content h2{margin:28px 0 12px;color:#ffad6b}.legal-content h2:first-child{margin-top:0}.legal-content p{margin:0 0 20px}.legal-content p:last-child{margin-bottom:0}.legal-content a{color:#ffad6b;text-underline-offset:3px}.contact-email{display:block;max-width:100%;height:auto}.footer-links{display:flex;flex-wrap:wrap;gap:16px}.footer-links a{color:var(--muted);text-underline-offset:4px;padding:5px 0}.footer-links a:hover{color:#ffad6b}@media(max-width:680px){.legal-content{font-size:14px}.footer-links{width:100%;gap:20px}}


.auth-form .consent-checkbox{display:flex;align-items:flex-start;gap:12px;margin-top:22px;font-size:13px;line-height:1.6;cursor:pointer}.auth-form .consent-checkbox input{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:3px 0 0;padding:0;accent-color:#ed8b3a}.auth-form small a{color:#ffad6b;text-underline-offset:3px}.consent-dialog{width:min(560px,calc(100% - 36px));max-height:calc(100dvh - 36px);overflow:auto;background:#1c1e20;color:var(--ink);border:1px solid #70503a;border-radius:18px;padding:28px;box-shadow:0 24px 80px #0009}.consent-dialog::backdrop{background:#000b}.consent-dialog h2{font-size:23px;color:#ffad6b}.consent-dialog p{font-size:14px;line-height:1.7;color:var(--muted);margin:18px 0}.consent-actions{display:flex;flex-direction:column;gap:12px;margin-top:24px}.consent-actions .save-button{justify-content:center;text-align:center;line-height:1.5}.consent-actions button:disabled{opacity:.6;cursor:wait}@media(max-width:680px){.consent-dialog{padding:22px}.consent-dialog h2{font-size:21px}.consent-dialog p{font-size:13px}}

.nav-icon{display:block;width:18px;height:18px;flex-shrink:0}.history-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px}.history-select-all{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;cursor:pointer}.history-select-all input,.entry-select{width:20px;height:20px;accent-color:#ed8b3a;cursor:pointer}.history-select-all input{flex:0 0 20px;margin:0}.history-toolbar #history-selected-count{font-size:12px;color:var(--muted)}.history-delete-button{margin-left:auto;min-height:44px;background:#38251f;color:#ffc09e;border:1px solid #92553a;border-radius:9px;padding:11px 14px;font-size:12px;line-height:1.4}.history-delete-button:hover:not(:disabled){background:#4a2e23}.history-delete-button:disabled{opacity:.45;cursor:default}.entry-row.history-row{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr) 110px;gap:10px}.entry-select-label{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;cursor:pointer}.entry-select{margin:0}.history-row .context-tag{max-width:100%;white-space:normal}.history-row .entry-date{min-width:0}.history-row .entry-reading{white-space:nowrap}@media(max-width:680px){.navigation a{gap:5px}.history-toolbar{align-items:flex-start;gap:8px}.history-select-all{width:100%}.history-toolbar #history-selected-count{align-self:center}.history-delete-button{max-width:100%;padding:10px;font-size:11px}.entry-row.history-row{grid-template-columns:44px minmax(0,1fr) 84px;column-gap:6px;row-gap:4px;padding:10px 0}.history-row .entry-select-label{grid-column:1;grid-row:1/3}.history-row .entry-date{grid-column:2;grid-row:1}.history-row .context-tag{grid-column:2;grid-row:2;font-size:9px;padding:4px 6px}.history-row .entry-reading{grid-column:3;grid-row:1/3;font-size:23px}.history-row .entry-reading small{margin-left:3px;font-size:9px}}

@media(max-width:380px){.navigation a{flex-direction:column;gap:4px;padding:9px 4px;font-size:12px}.navigation .nav-icon{width:16px;height:16px}}

.login-blocks{margin-top:24px}.login-blocks>summary{min-height:44px;display:list-item;cursor:pointer;color:#ffad6b;font-weight:600;line-height:1.6;padding:10px 0}.login-blocks>summary:focus-visible{outline:3px solid #ffad6b;outline-offset:4px;border-radius:4px}.login-blocks-content{padding-top:18px}.login-block-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}.login-block-row p{margin:0;line-height:1.6;font-size:13px;overflow-wrap:anywhere}.login-block-row small{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.login-block-row button{min-height:44px;color:#ffad6b}.login-block-empty{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.login-block-note{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 20px}@media(max-width:680px){.login-blocks{padding:20px}.login-blocks>summary{font-size:14px}.login-block-row{grid-template-columns:minmax(0,1fr);gap:12px}.login-block-row form{justify-self:start}}

.periods{flex-wrap:wrap;gap:10px}.periods a{display:flex;align-items:center;justify-content:center;min-height:44px;flex:0 0 auto;white-space:nowrap;padding:12px 18px}.periods a[aria-current]{border-color:#ed8b3a;background:#39291d;color:#ffb275;box-shadow:inset 0 0 0 1px #ed8b3a}@media(max-width:680px){.periods{gap:8px}.periods a{flex:1 0 calc((100% - 16px)/3);padding:12px 6px;font-size:12px;min-width:0}}

.chart-point{cursor:pointer}.chart-point:focus-visible,.chart-point-selected{outline:none;stroke:#fff0df;stroke-width:3;fill:#ffad6b}.chart-point-overlay{position:fixed;z-index:1000;width:300px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #8e5c35;border-radius:14px;padding:14px 18px 18px;background:#1c1e20;color:var(--ink);box-shadow:0 12px 44px #000b}.chart-point-overlay-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-point-overlay h2{font-size:25px;color:#ffad6b;line-height:1.3}.chart-point-close{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#252729;color:var(--ink);font-size:25px;line-height:1}.chart-point-close:hover{color:#ffad6b;border-color:#ed8b3a}.chart-point-overlay dl{margin:8px 0 0}.chart-point-overlay dt{font-size:10px;color:var(--muted);margin:14px 0 4px}.chart-point-overlay dd{font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}@media(max-width:680px){.chart-point-overlay{width:280px;padding:12px 16px 16px}.chart-point-overlay h2{font-size:23px}}

#chart polyline{stroke:#8e7765}.chart-point[data-context="Nüchtern"],.context-dot[data-context="Nüchtern"]{fill:#ed8b3a;background:#ed8b3a}.chart-point[data-context="Vor dem Essen"],.context-dot[data-context="Vor dem Essen"]{fill:#78b4ef;background:#78b4ef}.chart-point[data-context="Nach dem Essen"],.context-dot[data-context="Nach dem Essen"]{fill:#69c9a8;background:#69c9a8}.chart-point[data-context="Ohne Angabe"],.context-dot[data-context="Ohne Angabe"]{fill:#aaadaf;background:#aaadaf}.chart-legend{display:flex;flex-wrap:wrap;gap:12px 16px;margin-top:16px;color:var(--muted);font-size:11px;line-height:1.5}.chart-legend-item{display:flex;align-items:center;gap:7px;min-width:0}.context-dot{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:50%}@media(max-width:680px){.chart-legend{gap:10px 12px}.chart-legend-item{flex:0 0 calc((100% - 12px)/2)}}

.chart-trend{stroke:#d2d4d6;stroke-width:1.5;vector-effect:non-scaling-stroke;pointer-events:none}.trend-line-key{display:inline-block;width:18px;height:0;border-top:2px solid #d2d4d6;flex:0 0 18px}

.chart-limit-low,.chart-limit-high{stroke:#d58aa4;stroke-width:1.25;stroke-dasharray:5 5;vector-effect:non-scaling-stroke;pointer-events:none}.chart-limit-label{fill:#d58aa4;font-size:10px;text-anchor:end;pointer-events:none;paint-order:stroke;stroke:#1c1e20;stroke-width:3px;stroke-linejoin:round}.limit-line-key{display:inline-block;width:18px;height:0;border-top:2px dashed #d58aa4;flex:0 0 18px}@media(max-width:680px){.chart-legend-item.chart-legend-limits{flex-basis:100%}}

.history-page-size-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-bottom:20px;font-size:12px;color:var(--muted)}.history-page-size-form label{font-weight:600}.history-page-size-form select{min-height:44px;min-width:86px;background:#252729;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:10px 12px;font:inherit;color-scheme:dark}.history-page-size-form button{min-height:44px;padding:10px 14px;font:inherit}.history-page-size-form select:focus-visible{outline:3px solid #ffad6b;outline-offset:3px}@media(max-width:380px){.history-page-size-form{gap:8px}.history-page-size-form label{flex-basis:100%}}

.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.profile-panel{min-width:0;border-color:#664438}.profile-panel h2{color:#ffc09e}.profile-panel>p{font-size:13px;line-height:1.7;color:var(--muted)}.profile-delete-form{margin-top:22px}.profile-confirmation{display:flex;align-items:flex-start;gap:12px;min-height:44px;font-size:13px;line-height:1.6;padding:10px 0;cursor:pointer}.profile-confirmation input{flex:0 0 20px;width:20px;height:20px;min-height:20px;padding:0;margin:1px 0 0;accent-color:#ed8b3a}.danger-button{display:block;min-height:44px;max-width:100%;border:1px solid #a46549;border-radius:9px;padding:13px 18px;background:#3a251f;color:#ffc09e;font:inherit;font-size:13px;line-height:1.5;margin-top:16px;cursor:pointer}.danger-button:hover:not(:disabled){background:#503023;border-color:#ed8b3a}.danger-button:disabled{opacity:.5;cursor:wait}@media(max-width:680px){.profile-grid{grid-template-columns:minmax(0,1fr);gap:18px}.navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.navigation a{flex-direction:column;gap:4px;padding:9px 4px;font-size:11px;min-width:0;min-height:52px}.navigation .nav-icon{width:16px;height:16px}.profile-panel{padding:22px}.profile-confirmation{font-size:12px}.danger-button{width:100%}}
.history-export-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;text-decoration:none;white-space:nowrap}
#csv-export-form .date-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#csv-export-form .date-fields label{min-width:0}#csv-export-form .date-fields input{min-width:0;max-width:100%}@media(max-width:480px){#csv-export-form .date-fields{grid-template-columns:minmax(0,1fr)}}
@media(min-width:681px){main>.intro-entry{max-width:520px;margin-inline:auto}main>.intro-history{max-width:850px;margin-inline:auto}main>.entry-only,main>.history-panel{margin-inline:auto}}
.auth-about-link{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;margin-top:22px;font-weight:600}.auth-about-link:hover{background:#ff9d50}.auth-about-link span{font-size:20px}

.auth-form .remember-login{display:flex;align-items:flex-start;gap:12px;min-height:44px;margin:18px 0 0;padding:10px 0;line-height:1.6;cursor:pointer}.auth-form .remember-login input{flex:0 0 20px;width:20px;height:20px;min-height:20px;padding:0;margin:1px 0 0;accent-color:#ed8b3a}.cookie-notice-dialog{position:fixed;inset:0;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;background:#1c1e20;color:var(--ink);border:1px solid #70503a;border-radius:18px;padding:28px;box-shadow:0 24px 80px #0009;z-index:1001}.cookie-notice-dialog::backdrop{background:#000b}.cookie-notice-dialog h2{font-size:23px;line-height:1.4;color:#ffad6b}.cookie-notice-dialog p{font-size:14px;line-height:1.7;color:var(--muted);margin:18px 0}.cookie-notice-dialog a{color:#ffad6b;text-underline-offset:3px}.cookie-notice-dialog .save-button{min-height:44px;justify-content:center;margin-top:20px}.cookie-notice-dialog .cookie-notice-error{color:#ffc2b4}.cookie-notice-dialog button:disabled{opacity:.6;cursor:wait}@media(max-width:680px){.cookie-notice-dialog{padding:22px}.cookie-notice-dialog h2{font-size:21px}.cookie-notice-dialog p{font-size:13px}}
body{isolation:isolate;min-height:100svh}body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(0,0,0,.90),rgba(0,0,0,.90)),url('assets/background-d.webp');background-position:center;background-size:cover;background-repeat:no-repeat}
.site-shell{position:relative;isolation:isolate;max-width:1200px;margin-inline:auto}.site-shell::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:rgba(18,20,22,.45);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}

.note-field{margin:0 0 22px}.note-field label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.note-field input{display:block;width:100%;min-width:0;min-height:46px;background:#252729;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:12px;font:inherit;font-size:16px;line-height:1.5}.note-field input:focus-visible{outline:3px solid #ffad6b;outline-offset:3px}.note-field input::placeholder{color:var(--muted)}.entry-row.history-row .entry-note{grid-column:1/-1;grid-row:3;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65;color:var(--muted);margin:4px 0 0;padding:0 4px 2px}.chart-point-overlay .chart-point-note{white-space:pre-wrap;overflow-wrap:anywhere}
