  :root{
    --bg:#0f1115; --panel:#20252d; --panel2:#2a313b; --panel3:#191e25; --text:#f4f5f7; --muted:#b6bdc7;
    --accent:#74e39a; --danger:#ff7a7a; --warn:#ffd27a; --border:#3a424d; --info:#9fc6ff;
    --shadow:0 12px 30px rgba(0,0,0,.24); --radius:22px;
  }
  *{box-sizing:border-box}
  html,body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
  body{min-height:100vh}
  button,input,select,textarea{font:inherit}
  button{cursor:pointer}
  button:disabled{opacity:.45;cursor:not-allowed}
  .app{max-width:1180px;margin:0 auto;padding:18px 18px 44px}
  .topbar{display:grid;grid-template-columns:minmax(200px,230px) minmax(300px,1fr) auto;align-items:center;gap:10px;margin-bottom:22px}
  .brand{min-width:0}.brand h1{margin:0;font-size:clamp(26px,3.6vw,40px);letter-spacing:-.03em}.brand p{margin:4px 0 0;color:var(--muted);display:grid;gap:1px;line-height:1.2}.brand-tagline{color:var(--text);font-weight:700}.brand-byline{display:block;color:#858e99;font-weight:500;font-size:.92em}
  .badge{padding:8px 12px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:13px;white-space:nowrap}
  .topbar-reminder-row{min-width:0;display:flex;align-items:center;gap:9px}.topbar-reminder-row .reminder-ticker{flex:1}
  .reminder-ticker{min-width:0;height:42px;border:1px solid var(--border);border-radius:999px;background:#11141a;color:var(--text);display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:0 12px;overflow:hidden;text-align:left;cursor:pointer}.reminder-ticker:hover{border-color:#566171;background:#151920}.reminder-ticker-label{color:var(--accent);font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap}.reminder-window{position:relative;min-width:0;height:100%;overflow:hidden;white-space:nowrap}.reminder-track{position:absolute;left:0;top:50%;transform:translateY(-50%);display:inline-block;min-width:100%;color:var(--muted);font-size:13px}.reminder-track.has-note{left:100%;min-width:max-content;color:var(--text);padding:0;animation:darmlogicTicker var(--ticker-duration,5s) linear 0s infinite both}.reminder-ticker:hover .reminder-track.has-note{animation-play-state:paused}@keyframes darmlogicTicker{0%,8.333%{left:100%;transform:translate(0,-50%)}91.667%,100%{left:0;transform:translate(-100%,-50%)}}@media(prefers-reduced-motion:reduce){.reminder-track.has-note{left:0;animation:none;transform:translateY(-50%);padding-left:0;padding-right:0}}
  .reminder-form-actions,.reminder-list-head,.reminder-list-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.reminder-list-head{justify-content:space-between}.reminder-list-panel{border-top:1px solid var(--border);padding-top:14px}.reminder-list{display:grid;gap:8px;max-height:38vh;overflow:auto;padding-right:2px}.reminder-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px;border:1px solid var(--border);border-radius:14px;background:var(--panel3)}.reminder-item.overdue{border-color:#6b5b3d}.reminder-item.done{opacity:.58}.reminder-item.done .reminder-item-text{text-decoration:line-through}.reminder-item-main{display:grid;gap:3px;width:100%;min-width:0;border:0;background:transparent;color:var(--text);padding:2px 4px;text-align:left;border-radius:9px}.reminder-item-main:hover{background:#1b2028}.reminder-item-date{font-size:11px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;color:var(--accent)}.reminder-item.overdue .reminder-item-date{color:var(--warn)}.reminder-item.done .reminder-item-date{color:var(--muted)}.reminder-item-text{font-size:14px;overflow-wrap:anywhere}.reminder-list-actions .btn{min-width:38px;padding:8px 10px}.reminder-count{font-size:12px;color:var(--muted)}.reminder-confirm-button{font-size:22px;font-weight:900;background:#142019;border-color:#4f8f64;color:var(--accent)}.reminder-confirm-button:hover{background:#1b2920;border-color:var(--accent);color:#dff8e7}.reminder-confirm-button:disabled{opacity:.45;cursor:default}
  @media(max-width:760px){.topbar{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}.topbar-reminder-row{grid-column:1/-1;grid-row:2}.reminder-ticker{height:40px}.brand p{font-size:12px}.badge{font-size:11px;padding:7px 9px}}
  .screen{display:none}.screen.active{display:block}
  .hero{margin:12px 0 20px}.hero h2{margin:0 0 8px;font-size:clamp(24px,3.4vw,36px)}.hero p{margin:0;color:var(--muted);max-width:820px;line-height:1.5}
  .quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}
  .quick{min-height:220px;border:1px solid var(--border);background:linear-gradient(180deg,var(--panel),#15181d);color:var(--text);border-radius:28px;padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:var(--shadow);transition:.16s transform,.16s border-color}
  .quick:hover{transform:translateY(-2px);border-color:#4a5360}.quick .ico{font-size:64px;line-height:1;margin-bottom:16px}.quick strong{font-size:24px}.quick small{color:var(--muted);margin-top:8px;text-align:center;line-height:1.35}
  .grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
  .card h3{margin:0 0 14px;font-size:20px}.card h4{margin:0 0 10px}.muted{color:var(--muted)}.tiny{font-size:12px}.spacer{height:4px}
  .row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.stack{display:grid;gap:14px}.grow{flex:1}
  label{display:grid;gap:7px;color:var(--muted);font-size:14px}
  input,select,textarea{width:100%;background:#181d25;color:var(--text);border:1px solid var(--border);border-radius:14px;padding:13px 14px;outline:none}
  textarea{min-height:92px;resize:vertical} input:focus,select:focus,textarea:focus{border-color:#66707f}
  input[type="checkbox"]{width:auto}.btn{border:1px solid var(--border);background:var(--panel2);color:var(--text);padding:11px 15px;border-radius:14px}.btn.primary{background:var(--accent);color:#08210f;border-color:transparent;font-weight:750}.btn.ghost{background:transparent}.btn.danger{color:#ffd4d4;border-color:#6b3434;background:#2a1818}.btn.small{padding:7px 10px;border-radius:10px;font-size:13px}.btn.icon{width:42px;height:42px;padding:0;display:grid;place-items:center}
  .chips{display:flex;flex-wrap:wrap;gap:9px}.chip{border:1px solid var(--border);background:#11141a;color:var(--text);padding:10px 13px;border-radius:999px}.chip.active{background:var(--accent);color:#08210f;border-color:var(--accent);font-weight:700}.chip.warn.active{background:var(--warn);color:#241600}
  .number-control{display:grid;grid-template-columns:56px 1fr 56px;gap:10px;align-items:center}.number-control button{height:54px;border-radius:14px;border:1px solid var(--border);background:var(--panel2);color:var(--text);font-size:28px}.number-control input{text-align:center;font-size:28px;font-weight:750;height:54px}
  .favorite-list,.dish-list,.med-list{display:grid;gap:11px}.fav-actions .btn:not(.primary),.food-actions .btn:not(.primary){color:#eef1f5;border-color:#46505d;background:#20252d}.fav-actions .btn:not(.primary):hover,.food-actions .btn:not(.primary):hover{background:#292f39;border-color:#667180}.fav{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:15px;border-radius:16px;border:1px solid var(--border);background:var(--panel3)}.dish,.meditem{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:15px;border-radius:16px;border:1px solid var(--border);background:var(--panel3)}.fav-drag-handle{width:36px;height:48px;border:0;background:transparent;color:#aeb6c2;border-radius:12px;display:grid;place-items:center;font-size:26px;line-height:1;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.fav-drag-handle:hover{color:var(--text);background:#20252d}.fav-drag-handle:active{cursor:grabbing}.fav.dragging{opacity:.72;border-color:var(--accent);box-shadow:0 12px 26px rgba(0,0,0,.32)}.fav.drag-over{border-color:#657080}.favorite-sort-hint{display:inline-flex;align-items:center;gap:6px}.fav strong,.dish strong,.meditem strong{display:block}.fav small,.dish small,.meditem small{color:var(--muted);line-height:1.35}.fav-actions,.event-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.count-pill{min-width:32px;text-align:center;color:var(--muted);font-weight:800;font-variant-numeric:tabular-nums}.count-pill.active{color:var(--text);background:var(--panel2);border:1px solid var(--border);border-radius:10px;padding:6px 7px}.consume-btn{min-width:126px;white-space:nowrap;background:#222731!important;border-color:#434b58!important;color:#e6e9ee!important;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px}.consume-btn:hover{background:#2a303b!important;border-color:#667180!important}.consume-btn.logged{background:var(--accent)!important;border-color:var(--accent)!important;color:#08210f!important}.consume-btn.logged:hover{background:var(--accent)!important}.consume-icon{width:21px;height:21px;display:inline-block;flex:0 0 21px}.consume-icon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}.undo-consume-btn{font-size:18px;min-width:38px}.food-kcal.selected strong{font-size:20px}.food-kcal.selected small{color:var(--accent);font-weight:700}.selection-total{border-color:var(--accent)!important;color:var(--text)!important;font-weight:800}
  .timeline{display:grid;gap:10px}.event{display:grid;grid-template-columns:88px 42px 1fr auto;gap:10px;align-items:start;padding:13px 0;border-bottom:1px solid var(--border)}.event:last-child{border-bottom:0}.event-time{color:var(--muted);font-variant-numeric:tabular-nums}.event-ico{font-size:24px}.event-text{min-width:0}.event-edit-target{display:block;width:100%;margin:-7px 0;padding:7px 9px;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;text-align:left;font:inherit;line-height:inherit;cursor:pointer}.event-edit-target:hover{background:#1b1f26;border-color:#303640}.event-edit-target:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.event-edit-target strong{display:block}.event-edit-target .muted{pointer-events:none}.event-edit-target[data-edit-event]::after{content:'→';float:right;margin-left:8px;color:var(--muted);font-weight:800}.event-edit-target[data-edit-event]:hover::after{color:var(--accent)}.dig-edit-target{display:block;width:100%;margin:-6px;padding:6px 8px;border:1px solid transparent;border-radius:11px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.dig-edit-target:hover{background:#1b1f26;border-color:#303640}.dig-edit-target:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.timeline-search-edit{display:block;width:100%;padding:7px 9px;margin:-7px -9px;border:1px solid transparent;border-radius:11px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.timeline-search-edit:hover{background:#1b1f26;border-color:#303640}.timeline-search-edit:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  .statgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{padding:16px;border-radius:16px;background:var(--panel3);border:1px solid var(--border)}.stat b{display:block;font-size:26px;margin-top:5px}.stat span{color:var(--muted);font-size:13px}.stat.good{border-color:#41644c}.stat.low{border-color:#5d5d62}.stat.warning-low{border-color:#7b6335}.stat.high{border-color:#7b3e3e}
  .notice{padding:14px 16px;border-radius:14px;border:1px solid var(--border);background:#11141a;color:var(--muted);line-height:1.45}.warning{border-color:#65543a;background:#221d14;color:#ffe0a6}.danger-note{border-color:#6b3434;background:#2a1818;color:#ffd4d4}.good-note{border-color:#41644c;background:#152019;color:#c9f5d6}
  .tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}.tab{padding:10px 13px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text)}.tab.active{background:var(--panel2)}
  .section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.section-title h2{margin:0}.pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#11141a;border:1px solid var(--border);color:var(--muted);font-size:12px}
  .switchrow{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--border)}.switchrow:last-child{border-bottom:0}.switchrow input{transform:scale(1.2)}
  .topnav{position:sticky;top:8px;width:min(960px,100%);margin:0 auto 24px;display:grid;grid-template-columns:repeat(6,1fr);background:rgba(20,23,29,.94);backdrop-filter:blur(14px);border:1px solid var(--border);border-radius:24px;padding:8px;box-shadow:var(--shadow);z-index:30}.navbtn{position:relative;border:0;background:transparent;color:var(--muted);border-radius:17px;padding:9px 6px;display:grid;gap:4px;place-items:center;transition:.16s background,.16s color,.16s transform,.16s box-shadow}.navbtn:hover{color:var(--text);transform:translateY(-1px)}.navbtn.active{background:#242930;color:var(--text);box-shadow:inset 0 0 0 1px rgba(116,227,154,.10)}.navbtn.active::after{content:"";position:absolute;left:50%;bottom:4px;width:26px;height:2px;border-radius:999px;background:var(--accent);opacity:.48;transform:translateX(-50%);pointer-events:none}.navbtn span:last-child{font-size:12px}.nav-label-with-hint{display:inline-flex;align-items:center;justify-content:center;gap:5px}.nav-pdf-hint{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:#7f8792;font-size:8.5px!important;font-weight:750;line-height:1;letter-spacing:.01em;white-space:nowrap;opacity:.72;transition:.15s color,.15s opacity}.nav-pdf-arrow{font-size:8px!important;line-height:1;margin-left:1px;transform:translateY(-.5px)}.navbtn:hover .nav-pdf-hint{color:var(--accent);opacity:.92} .navbtn.active:not(:hover) .nav-pdf-hint{color:#7f8792;opacity:.72}
  /* v1.9.9 · Dokumentationsmodule: nur grüne Kontur; Hover/aktiv wieder neutral grau */
  .navbtn.nav-document{background:transparent;box-shadow:inset 0 0 0 1px rgba(116,227,154,.30)}
  .navbtn.nav-document:not(.active):hover{background:#1d2228;color:var(--text);box-shadow:inset 0 0 0 1px rgba(116,227,154,.38)}
  .navbtn.nav-document.active{background:#242930;color:var(--text);box-shadow:inset 0 0 0 1px rgba(116,227,154,.34)}
  .navbtn.nav-document-last::before{content:"";position:absolute;right:-9px;top:50%;width:1px;height:44px;border-radius:999px;background:rgba(116,227,154,.13);transform:translateY(-50%);pointer-events:none}
  @media(max-width:760px){.navbtn.nav-document-last::before{right:-6px;height:38px;opacity:.75}}
  .brand{cursor:pointer}.brand h1{transition:.16s color}.brand:hover h1{color:var(--accent)}.nav-icon{width:26px;height:26px;display:block;color:#d2d7de}.navbtn:hover .nav-icon,.navbtn.active .nav-icon{color:#ffffff}.nav-icon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.nav-linked-indicator{position:absolute;top:5px;right:10px;width:15px;height:15px;display:grid;place-items:center;color:var(--accent);filter:drop-shadow(0 0 5px rgba(116,227,154,.18))}.nav-linked-indicator svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.body-weight-card{margin-bottom:18px}.body-weight-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(320px,1.1fr);gap:20px;align-items:start}.body-weight-entry{display:grid;gap:12px}.body-weight-entry .number-control{max-width:420px}.body-weight-actions{display:grid;grid-template-columns:minmax(210px,1fr) auto;gap:10px;align-items:end}.body-weight-history{min-width:0}.body-weight-history .timeline{max-height:250px;overflow:auto}.body-section-title{margin-top:4px}.profile-health-link{display:flex;justify-content:flex-end;margin:-4px 0 14px}
  .dashboard-search-card{margin:8px 0 18px;padding:9px 11px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(180deg,var(--panel),#15181d);box-shadow:var(--shadow)}.dashboard-search-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center}.dashboard-search-icon{width:24px;height:24px;color:var(--muted);display:grid;place-items:center}.dashboard-search-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.dashboard-search-row input[type="search"]{min-height:42px;margin:0}.dashboard-search-actions{display:flex;align-items:center;gap:11px}.dashboard-search-actions .btn{min-height:42px;padding:9px 16px}
  .dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.dashboard-tile{position:relative;min-height:190px;border:1px solid var(--border);background:linear-gradient(180deg,var(--panel),#15181d);color:var(--text);border-radius:30px;padding:20px;display:grid;place-items:center;align-content:center;gap:12px;box-shadow:var(--shadow);transition:.16s transform,.16s border-color,.16s box-shadow}.dashboard-tile:hover{transform:translateY(-2px);border-color:#4a5360}.dashboard-tile.input-tile{border-color:rgba(116,227,154,.34)}.dashboard-tile.input-tile:hover{border-color:rgba(116,227,154,.78);box-shadow:var(--shadow),inset 0 0 0 1px rgba(116,227,154,.08)}.dashboard-tile:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.dashboard-tile.input-tile:focus-visible{border-color:var(--accent)}.dashboard-icon{width:72px;height:72px;color:var(--text)}.dashboard-icon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.dashboard-copy{text-align:center}.dashboard-copy strong{display:block;font-size:18px}.dashboard-copy small{display:block;color:var(--muted);margin-top:5px;line-height:1.3}.dashboard-badge{position:absolute;top:14px;right:14px;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:var(--accent);color:#08210f;display:grid;place-items:center;font-size:12px;font-weight:800}.dashboard-support{display:none!important}
  /* v1.9.61 · Startseite und Details vereinheitlicht */
  .relations-nav{grid-column:1/-1;min-height:36px;padding:7px 12px!important;margin-top:8px;border:1px solid rgba(116,227,154,.28)!important;background:#171c21!important;display:flex!important;grid-template-columns:none!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:#dce4df!important}.relations-nav:hover{border-color:rgba(116,227,154,.56)!important;background:#1b2420!important}.relations-nav.active{background:#1a2a20!important;border-color:rgba(116,227,154,.62)!important;box-shadow:inset 0 0 0 1px rgba(116,227,154,.06)!important}.relations-nav.active::after{display:none}.relations-nav .nav-icon{width:18px;height:18px;color:var(--accent)}.relations-nav span:last-child{font-size:12px;font-weight:820;letter-spacing:.01em}
  /* Online v0.3.32 · Startseite: obere Navigation auf Zusammenhänge reduzieren */
  .topnav.home-relations-only{grid-template-columns:1fr}
  .topnav.home-relations-only>.navbtn:not(.relations-nav){display:none}
  .topnav.home-relations-only>.relations-nav{grid-column:1;margin-top:0}

  .home-relations-cta{width:100%;margin:0 0 18px;padding:13px 15px;border:1px solid rgba(116,227,154,.34);border-radius:18px;background:linear-gradient(180deg,#19221d,#151a17);color:var(--text);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;box-shadow:var(--shadow);cursor:pointer}.home-relations-cta:hover{border-color:rgba(116,227,154,.68);background:linear-gradient(180deg,#1c2921,#171e1a)}.home-relations-cta:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.home-relations-icon{width:34px;height:34px;color:var(--accent)}.home-relations-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.home-relations-copy strong{display:block;font-size:16px}.home-relations-copy small{display:block;margin-top:2px;color:var(--muted);font-size:12px}.home-relations-arrow{color:var(--muted);font-size:22px}
  .relations-core-card{margin-top:8px}.relations-core-card .analysis-freshness-notice{margin-top:0}.relations-core-card .relation-domain-title:first-of-type{margin-top:0}.relations-screen-foot{margin-top:18px;padding-top:12px;border-top:1px solid var(--border);color:var(--muted);font-size:11px}.timeline-relations-jump{width:100%;margin-top:12px;padding:11px 14px;border:1px solid var(--border);border-radius:15px;background:#15191f;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:12px;font:inherit;cursor:pointer}.timeline-relations-jump:hover{border-color:rgba(116,227,154,.45);background:#18201c}.timeline-relations-jump strong{font-size:14px}.timeline-relations-jump span{color:var(--accent);font-size:12px;font-weight:800}
  @media(max-width:760px){.relations-nav{min-height:34px}.home-relations-cta{margin-bottom:14px}.home-relations-copy small{display:block}}

  .profile-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.profile-tab{border:1px solid var(--border);background:transparent;color:var(--text);padding:10px 13px;border-radius:999px}.profile-tab.active{background:var(--panel2);border-color:#4a5360}
  @media(max-width:760px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-tile{min-height:142px;padding:16px}.dashboard-icon{width:58px;height:58px}.dashboard-copy strong{font-size:15px}.dashboard-copy small{display:none}}
  @media(max-width:380px){.topnav .navbtn span:last-child{display:none}.topnav{border-radius:20px;padding:5px}.navbtn{padding:9px 3px}.dashboard-search-card{padding:7px 8px}.dashboard-search-row{gap:6px}.dashboard-search-icon{display:none}.dashboard-search-row{grid-template-columns:minmax(0,1fr) auto}.dashboard-search-actions .btn{padding:9px 12px}.dashboard-grid{margin-top:4px;gap:9px}.dashboard-tile{min-height:112px;border-radius:22px;padding:12px}.dashboard-icon{width:54px;height:54px}.dashboard-copy{display:none}.dashboard-badge{top:9px;right:9px}}
  .toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:#f4f5f7;color:#111;padding:10px 11px 10px 16px;border-radius:15px;font-weight:700;transition:.2s;z-index:150;box-shadow:var(--shadow);display:flex;align-items:center;gap:12px;max-width:calc(100% - 28px)}.toast.show{opacity:1;transform:translateX(-50%) translateY(0);pointer-events:auto}.toast-undo{border:0;background:#111;color:#fff;border-radius:11px;padding:8px 11px;font-weight:800;white-space:nowrap;cursor:pointer}.toast-undo:hover{background:#2b2b2b}.toast-action{border:1px solid #2f6f47;background:#eaf8ef;color:#174a2b;border-radius:11px;padding:8px 11px;font-weight:850;white-space:nowrap;cursor:pointer}.toast-action:hover{background:#dff4e7}.meal-adjusted-tag{display:inline-flex;align-items:center;margin-left:7px;padding:2px 7px;border-radius:999px;background:rgba(111,227,156,.10);border:1px solid rgba(111,227,156,.35);color:var(--accent);font-size:10px;font-weight:850;vertical-align:2px}.meal-history-ingredients{margin-top:3px;color:#d7dce3;font-size:12px;line-height:1.45}.meal-history-meta{margin-top:3px;color:var(--muted);font-size:11px}.meal-history-details-hint{display:inline-block;margin-top:4px;color:var(--accent);font-size:11px;font-weight:800}.meal-snapshot-card{border:1px solid var(--border);background:var(--panel3);border-radius:14px;padding:12px 13px}.meal-snapshot-card+.meal-snapshot-card{margin-top:10px}.meal-snapshot-card h4{margin:0 0 8px;font-size:13px}.meal-snapshot-list{display:grid;gap:7px}.meal-snapshot-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding-bottom:7px;border-bottom:1px solid #2a3039}.meal-snapshot-row:last-child{padding-bottom:0;border-bottom:0}.meal-snapshot-row small{display:block;color:var(--muted);margin-top:2px}.event.timeline-target-highlight{border-radius:14px;padding-left:9px;padding-right:9px;margin-left:-9px;margin-right:-9px}
  .bristol-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.bristol{border:1px solid var(--border);background:#11141a;color:var(--text);border-radius:15px;padding:10px;min-height:112px;display:grid;place-items:center;text-align:center;gap:6px}.bristol.active{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.bristol .bnum{font-weight:800}.bristol .blabel{font-size:11px;color:var(--muted);line-height:1.2}.stoolicon{width:72px;height:34px;display:flex;align-items:center;justify-content:center;gap:3px}.stoolicon i{display:block;background:#b98b62}.stoolicon.t1 i{width:10px;height:10px;border-radius:50%}.stoolicon.t2 i{width:56px;height:17px;border-radius:12px;background:repeating-radial-gradient(circle at 8px 8px,#b98b62 0 5px,#9d7655 6px 7px)}.stoolicon.t3 i{width:60px;height:16px;border-radius:12px;background:repeating-linear-gradient(90deg,#b98b62 0 12px,#9d7655 13px 14px)}.stoolicon.t4 i{width:62px;height:15px;border-radius:14px}.stoolicon.t5 i{width:15px;height:12px;border-radius:50%}.stoolicon.t6 i{width:18px;height:11px;border-radius:45% 55% 55% 45%;filter:blur(.25px)}.stoolicon.t7 i{width:64px;height:11px;border-radius:50%;opacity:.7}
  .calendar-wrap{overflow:hidden;max-width:100%}.cal-head{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin-bottom:12px}.cal-head #calTitle{white-space:nowrap}.cal-nav{flex-wrap:nowrap}.calendar{min-width:0;width:100%;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
  .timeline-search{display:grid;gap:7px;padding:14px 15px;border:1px solid var(--border);border-radius:15px;background:var(--panel3)}
  .timeline-search input[type="search"]{padding-left:14px}.timeline-search-status{color:var(--muted);font-size:12px;min-height:16px}.timeline-search-results{display:grid;gap:8px}.timeline-search-result{display:grid;grid-template-columns:112px 38px minmax(0,1fr) auto;gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid var(--border)}.timeline-search-result:last-child{border-bottom:0}.timeline-search-date{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}.timeline-search-icon{font-size:22px;line-height:1.2}.timeline-search-result small{display:block;color:var(--muted);margin-top:3px;line-height:1.35}.timeline-search-result .pill{margin-left:5px}
  @media(max-width:760px){.timeline-search-result{grid-template-columns:72px 30px minmax(0,1fr)}.timeline-search-result .event-actions{grid-column:3}.timeline-search-date{font-size:11px}}
  .chart-toolbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:12px}.chart-metric-control{display:grid;gap:7px;flex:1;min-width:min(100%,540px)}.chart-control-label{font-size:14px;color:var(--muted)}.chart-metric-buttons{display:flex;gap:8px;flex-wrap:wrap}.chart-metric-btn{border:1px solid var(--border);background:#11141a;color:var(--text);padding:10px 13px;border-radius:13px;font-weight:750;cursor:pointer;transition:.15s background,.15s border-color,.15s color,.15s transform}.chart-metric-btn:hover{border-color:#697482;transform:translateY(-1px)}.chart-metric-btn.active{background:var(--accent);border-color:var(--accent);color:#08210f}.chart-range-control{width:150px;min-width:150px!important;max-width:150px}.chart-range-control select{width:100%}.chart-wrap{width:100%;overflow-x:auto}.chart-svg{display:block;width:100%;min-width:620px;height:320px;background:#11141a;border:1px solid var(--border);border-radius:16px}.chart-grid{stroke:#2f3540;stroke-width:1}.chart-axis{fill:var(--muted);font-size:11px}.chart-line{fill:none;stroke:var(--accent);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.chart-line-kcal{stroke:#8b939d}.chart-kcal-target{fill:rgba(116,227,154,.10)}.chart-kcal-target-edge{stroke:rgba(116,227,154,.42);stroke-width:1;stroke-dasharray:5 5}.chart-kcal-target-label{fill:#8fd9aa;font-size:10px;font-weight:750}.chart-weight-goal{stroke:rgba(214,220,226,.58);stroke-width:1.4;stroke-dasharray:7 6;pointer-events:none}.chart-weight-goal-label{fill:#c4cbd2;font-size:10px;font-weight:750;pointer-events:none}.chart-point{fill:var(--accent);stroke:#0f1115;stroke-width:2}.chart-point-kcal-good{fill:var(--accent)}.chart-point-kcal-low{fill:var(--warn)}.chart-point-kcal-high{fill:var(--danger)}.chart-point-kcal-neutral{fill:#8c949f}.chart-hit{fill:transparent;stroke:transparent;cursor:pointer;pointer-events:all;outline:none}.chart-hit:hover + .chart-point,.chart-hit:focus-visible + .chart-point{stroke:#fff;stroke-width:3}.chart-hit:hover + .chart-point-quick,.chart-hit:focus-visible + .chart-point-quick{stroke:var(--accent);stroke-width:3}.chart-today-line{stroke:rgba(116,227,154,.62);stroke-width:1.5;stroke-dasharray:5 5;pointer-events:none}.chart-today-label{fill:var(--accent);font-size:10px;font-weight:850;pointer-events:none}.chart-today-ring{fill:none;stroke:var(--accent);stroke-width:2;stroke-dasharray:3 2;pointer-events:none}.chart-event-choice{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--border);background:var(--panel3);color:var(--text);border-radius:14px;padding:12px 14px;cursor:pointer}.chart-event-choice:hover,.chart-event-choice:focus-visible{border-color:var(--accent);outline:none}.chart-event-choice-time{min-width:52px;color:var(--muted);font-size:13px}.chart-event-choice-main{display:grid;gap:3px}.chart-event-choice-main small{color:var(--muted)}.chart-empty{padding:34px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:16px;background:#11141a}
  .nutrition-mini-charts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.nutrition-mini-chart{border:1px solid var(--border);background:var(--panel3);border-radius:18px;padding:15px 15px 12px;color:var(--text);text-align:left;transition:.15s border-color,.15s transform,.15s background;min-width:0}.nutrition-mini-chart:hover{border-color:#586271;transform:translateY(-1px);background:#141820}.nutrition-mini-chart:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.nutrition-mini-head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:8px}.nutrition-mini-head strong{font-size:16px}.nutrition-mini-head span{font-size:12px;color:var(--muted);white-space:nowrap}.nutrition-mini-chart svg{display:block;width:100%;height:145px}.mini-chart-grid{stroke:#29303a;stroke-width:1}.mini-chart-line{fill:none;stroke:var(--accent);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.mini-chart-hit{fill:transparent;stroke:transparent;cursor:pointer;pointer-events:all}.mini-chart-point{fill:var(--accent);stroke:#101319;stroke-width:1.8;pointer-events:none}.mini-chart-hit:hover + .mini-chart-point{stroke:#fff;stroke-width:2.6}.mini-chart-weight-goal{stroke:rgba(214,220,226,.48);stroke-width:1.1;stroke-dasharray:5 5;pointer-events:none}.mini-chart-axis{fill:var(--muted);font-size:10px}.mini-chart-empty{height:145px;display:grid;place-items:center;color:var(--muted);font-size:13px;text-align:center}.nutrition-mini-foot{display:flex;justify-content:space-between;gap:10px;margin-top:5px;color:var(--muted);font-size:12px}.nutrition-mini-foot .detail-link{color:var(--text)}.module-mini-charts{margin-top:18px}.module-mini-charts.single{grid-template-columns:minmax(0,1fr)}.module-mini-charts.three{grid-template-columns:repeat(3,minmax(0,1fr))}.module-mini-charts .nutrition-mini-chart{cursor:pointer}.module-mini-charts .nutrition-mini-foot .detail-link{color:var(--accent);font-weight:750}@media(max-width:900px){.module-mini-charts.three{grid-template-columns:1fr}}
  @media(max-width:760px){.nutrition-mini-charts{grid-template-columns:1fr}.nutrition-mini-chart svg,.mini-chart-empty{height:130px}}
  @media(max-width:600px){.chart-metric-control{min-width:100%}.chart-metric-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.chart-metric-btn{width:100%;padding:10px 8px}.chart-range-control{width:145px;min-width:145px!important;max-width:145px}}
  .chart-wellbeing-compare,.chart-energy-compare{margin-top:14px;border:1px solid #3b4451;border-radius:15px;background:#171b22;padding:12px 14px 9px;box-shadow:inset 3px 0 0 rgba(116,227,154,.18)}.chart-wellbeing-compare.hidden,.chart-energy-compare.hidden{display:none}.chart-wellbeing-head,.chart-energy-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:5px}.chart-wellbeing-head strong,.chart-energy-head strong{font-size:14px}.chart-compare-sub{color:var(--muted);font-size:11px;font-weight:500;margin-left:6px}.chart-wellbeing-split{display:inline-flex;grid-template-columns:auto 1fr;align-items:center;gap:7px;color:var(--muted);font-size:12px;cursor:pointer}.chart-wellbeing-split input{width:17px;height:17px}.chart-wellbeing-wrap,.chart-energy-wrap{width:100%;overflow-x:auto}.chart-wellbeing-svg,.chart-energy-svg{display:block;width:100%;min-width:620px;height:116px}.chart-wellbeing-grid,.chart-energy-grid{stroke:#343c48;stroke-width:1}.chart-wellbeing-axis,.chart-energy-axis{fill:var(--muted);font-size:10px}.chart-wellbeing-point{fill:var(--accent);stroke:#0f1115;stroke-width:2}.chart-energy-point{fill:#d9b86c;stroke:#0f1115;stroke-width:2}.chart-wellbeing-hit,.chart-energy-hit{fill:transparent;stroke:transparent;cursor:pointer;pointer-events:all}.chart-wellbeing-hit:hover + .chart-wellbeing-point,.chart-wellbeing-hit:focus-visible + .chart-wellbeing-point,.chart-energy-hit:hover + .chart-energy-point,.chart-energy-hit:focus-visible + .chart-energy-point{stroke:#fff;stroke-width:3}.chart-wellbeing-tag{fill:#08210f;font-size:7.5px;font-weight:900;text-anchor:middle;dominant-baseline:central;pointer-events:none}.chart-wellbeing-empty,.chart-energy-empty{padding:10px 2px 7px;color:var(--muted);font-size:12px}.chart-wellbeing-legend{color:var(--muted);font-size:11px;margin-top:1px}.chart-wellbeing-legend.hidden{display:none}@media(max-width:600px){.chart-wellbeing-head,.chart-energy-head{align-items:flex-start;flex-direction:column}.chart-wellbeing-split{font-size:11px}}
  .export-actions{display:flex;gap:9px;flex-wrap:wrap}.export-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.report-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.report-check{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:var(--panel3);color:var(--text)}.report-check input{width:auto}.share-note{margin-top:12px}.household-card{border:1px dashed #4a5360;background:#11141a;padding:13px 14px;border-radius:14px;color:var(--muted);line-height:1.45}.household-card strong{color:var(--text)}
  .shopping-list{display:grid;gap:10px}.shopping-item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:13px 14px;border:1px solid var(--border);border-radius:15px;background:var(--panel3)}.shopping-item-copy{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.shopping-save-source-btn{appearance:none;border:0;background:transparent;color:var(--accent);padding:2px 0;font-size:11px;font-weight:800;cursor:pointer}.shopping-save-source-btn:hover{text-decoration:underline}.shopping-save-food-card{max-width:520px}.shopping-save-food-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.shopping-save-food-actions .btn{min-height:48px}.app-back-button{width:42px;height:42px;border-radius:13px;font-size:22px;line-height:1;display:inline-grid;place-items:center;padding:0}.app-back-button.hidden{display:none!important}
  .section-title:has(.work-date-control){justify-content:flex-start}.work-date-control{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}.work-date-caption{color:var(--muted);font-size:12px;font-weight:750}.work-date-picker{position:relative;display:inline-flex!important;grid-template-columns:none!important;align-items:center;gap:5px;min-height:38px;padding:6px 7px 6px 10px;border:1px solid var(--border);border-radius:12px;background:var(--panel2);color:var(--text);font-size:13px;font-weight:800;cursor:pointer;overflow:visible}.work-date-picker:hover{border-color:#667180;background:#303844}.work-date-picker:focus-within{border-color:#667180;box-shadow:0 0 0 2px rgba(116,227,154,.14)}.work-date-picker.is-past{border-color:rgba(116,227,154,.5);color:var(--accent);background:rgba(116,227,154,.07)}.work-date-picker input[type="date"]{position:relative!important;inset:auto!important;display:block!important;flex:0 0 28px;width:28px!important;min-width:28px!important;height:26px!important;opacity:1!important;cursor:pointer!important;margin:0!important;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;color:transparent!important;color-scheme:dark;font-size:0!important}.work-date-picker input[type="date"]::-webkit-datetime-edit,.work-date-picker input[type="date"]::-webkit-datetime-edit-fields-wrapper,.work-date-picker input[type="date"]::-webkit-datetime-edit-text,.work-date-picker input[type="date"]::-webkit-datetime-edit-month-field,.work-date-picker input[type="date"]::-webkit-datetime-edit-day-field,.work-date-picker input[type="date"]::-webkit-datetime-edit-year-field{display:none!important}.work-date-picker input[type="date"]::-webkit-calendar-picker-indicator{display:block!important;width:19px!important;height:19px!important;margin:0!important;padding:3px!important;opacity:.9!important;cursor:pointer!important}.work-date-icon{display:none!important}.work-date-label{white-space:nowrap;pointer-events:none}.work-date-today{padding:7px 9px!important;font-size:12px!important;min-height:38px}.work-date-today.hidden{display:none!important}
  @media(max-width:620px){.section-title:has(.work-date-control){align-items:flex-start;flex-wrap:wrap}.work-date-control{justify-content:flex-start;width:100%;margin-top:4px}.work-date-caption{display:none}}
  /* Online v0.3.32 · Historischer Tag: klarer Datumsstatus, Kalender überall, Amber-Rahmen */
  .work-date-picker.is-past{border-color:rgba(255,210,122,.72)!important;color:var(--warn)!important;background:rgba(255,210,122,.09)!important;box-shadow:0 0 0 1px rgba(255,210,122,.08)}
  .global-date-button{position:relative;overflow:hidden}.global-date-button input[type="date"]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;color-scheme:dark}.global-date-button.is-past{border-color:rgba(255,210,122,.7);color:var(--warn);background:rgba(255,210,122,.08)}
  .historical-date-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px 0 16px;padding:10px 13px;border:1px solid rgba(255,210,122,.62);border-radius:14px;background:rgba(255,210,122,.08);color:#ffe2a4}.historical-date-banner.hidden{display:none}.historical-date-banner strong{font-size:13px;letter-spacing:.01em}.historical-date-banner .btn{flex:0 0 auto}
  .historical-context #bodyHub.active .wellbeing-quick-card,.historical-context #bodyHub.active .energy-card,.historical-context #bodyHub.active .body-weight-card,.historical-context #bodyHub.active .menstruation-card,.historical-context #digestion.active .card{border-color:rgba(255,210,122,.48)}
  .historical-context #timelineScreen.active .day-section-card,.historical-context #timelineScreen.active .timeline-events-head-row+ .timeline{border-color:rgba(255,210,122,.34)}
  .historical-section-date.is-historical{color:#ffe2a4}
  .historical-entry-date{color:#ffe2a4;font-weight:850}
  .historical-edit-warning{padding:10px 12px;border:1px solid rgba(255,210,122,.68);border-radius:12px;background:rgba(255,210,122,.09);color:#d8dde5;font-size:13px;line-height:1.35}.historical-edit-warning strong{color:#ffe2a4}.historical-edit-warning .historical-edit-label{font-weight:800;color:#ffe2a4}
  .historical-context #calendar .day.active:not(.today){border-color:var(--warn)!important;box-shadow:0 0 0 2px rgba(255,210,122,.12);color:#ffe2a4}
  .nutrition-historical-action{display:flex;justify-content:flex-end;margin-top:18px}.nutrition-historical-action.hidden{display:none}.nutrition-historical-action .btn{min-width:260px}
  .nutrition-backfill-bar{margin:12px 0 0!important;border-color:rgba(255,210,122,.48)!important;background:rgba(255,210,122,.055)!important}.nutrition-backfill-copy strong{color:var(--warn)!important}.nutrition-backfill-copy small{display:none!important}
  @media(max-width:760px){.historical-date-banner{align-items:flex-start}.nutrition-historical-action .btn{width:100%;min-width:0}}
.shopping-item.done{opacity:.58}.shopping-item.done strong{text-decoration:line-through}.shopping-item.shopping-focus{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent),0 0 0 4px rgba(116,227,154,.08)}.shopping-check{width:22px!important;height:22px}.shopping-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.shopping-qty{min-width:32px;text-align:center;font-weight:750}.shopping-item small{display:block;color:var(--muted);margin-top:3px}.food-row.on-shopping-list,.fav.on-shopping-list{border-color:#41644c;box-shadow:inset 4px 0 0 var(--accent)}.shopping-food-btn{background:#252a33;border-color:#5c6674;color:#fff;font-size:16px;min-width:42px;display:inline-flex;align-items:center;justify-content:center;gap:5px}.shopping-food-btn:hover{background:#2b313b;border-color:#8792a2}.shopping-food-btn.active{background:#152019;border-color:var(--accent);color:var(--accent);font-weight:800}.shopping-food-btn svg{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.shopping-tab-icon{width:21px;height:21px;display:inline-block;vertical-align:-4px;margin-right:6px}.shopping-tab-icon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.shopping-preview-list{display:grid;gap:8px}.shopping-preview-item{display:grid;grid-template-columns:32px 1fr auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:var(--panel3)}.shopping-preview-item.done{opacity:.58}.shopping-preview-item.done strong{text-decoration:line-through}.shopping-preview-status{font-size:18px;text-align:center}.shopping-preview-meta{display:flex;gap:8px;flex-wrap:wrap}.shopping-preview-empty{padding:22px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:14px}.shopping-preview-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.shopping-preview-options label{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:9px;color:var(--text)}.dow{text-align:center;color:var(--muted);font-size:12px;padding:5px}.day{min-width:0;min-height:76px;border:1px solid var(--border);border-radius:12px;background:#11141a;padding:8px;color:var(--text);text-align:left}.day.outside{opacity:.28}.day.today{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.day.active:not(.today){border-color:#7f8997;box-shadow:inset 0 0 0 1px #7f8997}.day.today.active{background:#151d18}.day .dnum{font-weight:700}.dots{display:flex;gap:3px;flex-wrap:wrap;margin-top:12px}.dot{width:7px;height:7px;border-radius:50%;background:var(--muted)}.dot.meal{background:#f5c56d}.dot.digestion{background:#9fc6ff}.dot.weight{background:#b7e7c4}.dot.wellbeing{background:#d6a5ff}.dot.foodReaction{background:#ffd27a}.dot.menstruation{background:#f0a2bd}.day .count{display:block;font-size:11px;color:var(--muted);margin-top:5px}.med-day-mark{display:inline-block;margin-left:6px;font-size:12px;vertical-align:1px}.day-medication{padding:14px 15px;border:1px solid var(--border);border-radius:15px;background:var(--panel3)}.day-medication .meditem{padding:11px 0;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent}.day-medication .meditem:last-child{border-bottom:0;padding-bottom:0}.day-medication .meditem:first-of-type{padding-top:4px}.med-sort-row{align-items:end}.med-sort-row label{min-width:220px}.day-digestion{padding:14px 15px;border:1px solid var(--border);border-radius:15px;background:var(--panel3)}.day-digestion .digitem{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:start;padding:11px 0;border-bottom:1px solid var(--border)}.day-digestion .digitem:last-child{border-bottom:0;padding-bottom:0}.day-digestion .digtime{color:var(--muted);font-size:13px;padding-top:2px}.day-digestion .digitem small{display:block;color:var(--muted);margin-top:3px;line-height:1.35}
  .diagnoses{display:flex;flex-wrap:wrap;gap:8px}.checkchip{position:relative}.checkchip input{position:absolute;opacity:0;pointer-events:none}.checkchip span{display:block;border:1px solid var(--border);background:#11141a;padding:10px 12px;border-radius:999px;color:var(--text)}.checkchip input:checked+span{background:var(--accent);border-color:var(--accent);color:#08210f;font-weight:700}
  .health-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(160px,.45fr) minmax(180px,.5fr);gap:10px;align-items:end;margin-bottom:16px}.health-list{display:grid;gap:12px}.health-record{display:grid;grid-template-columns:130px 1fr auto;gap:15px;align-items:start;padding:16px;border:1px solid var(--border);border-radius:17px;background:var(--panel3)}.health-date{font-weight:750;font-variant-numeric:tabular-nums}.health-date small{display:block;color:var(--muted);font-weight:500;margin-top:4px}.health-record h3{font-size:17px;margin:0 0 5px}.health-record p{margin:6px 0 0;line-height:1.45}.health-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.health-docs{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.health-doc{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.health-files{display:grid;gap:7px;margin-top:8px}.health-file{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:9px 11px;border:1px solid var(--border);border-radius:12px;background:#11141a}.health-file small{display:block;color:var(--muted);margin-top:2px}.day-health{padding:14px 15px;border:1px solid var(--border);border-radius:15px;background:var(--panel3)}.day-health .health-day-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:start;padding:11px 0;border-bottom:1px solid var(--border)}.day-health .health-day-item:last-child{border-bottom:0;padding-bottom:0}.day-health .health-day-item small{display:block;color:var(--muted);margin-top:3px;line-height:1.35}.health-day-mark{display:inline-block;margin-left:5px;font-size:12px;vertical-align:1px}
  @media(max-width:760px){.body-weight-layout{grid-template-columns:1fr}.body-weight-actions{grid-template-columns:1fr}.health-toolbar{grid-template-columns:1fr}.health-record{grid-template-columns:1fr auto}.health-date{grid-column:1}.health-record>div:nth-child(2){grid-column:1}.health-record>div:last-child{grid-column:2;grid-row:1/3}.topnav{padding:6px}.navbtn{padding:8px 3px}.navbtn span:last-child{font-size:10px}}
  .modal{position:fixed;inset:0;background:rgba(0,0,0,.68);display:none;align-items:center;justify-content:center;padding:18px;z-index:100}.modal.open{display:flex}.modal-card{width:min(720px,100%);max-height:90vh;overflow:auto;background:var(--panel);border:1px solid var(--border);border-radius:24px;padding:20px;box-shadow:var(--shadow)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.modal-head h3{margin:0}.divider{height:1px;background:var(--border);margin:6px 0}.hidden{display:none!important}
  @media (max-width:820px){.grid2,.grid3{grid-template-columns:1fr}.bristol-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.statgrid{grid-template-columns:1fr 1fr}}
  @media (max-width:760px){.app{padding:14px 14px 36px}.topbar{align-items:flex-start}.quick-grid{grid-template-columns:1fr;gap:12px}.quick{min-height:142px;flex-direction:row;justify-content:flex-start;gap:18px;text-align:left}.quick .ico{font-size:48px;margin:0}.quick small{text-align:left}.event{grid-template-columns:64px 34px 1fr}.event-actions{grid-column:3}.badge{display:none}}

  .nutrition-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}.nutrition-tab{padding:11px 15px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text)}.nutrition-tab.active{background:var(--accent);color:#08210f;border-color:var(--accent);font-weight:750}.nut-panel{display:none}.nut-panel.active{display:block}.search-with-clear{position:relative}.search-with-clear input{padding-right:14px}
  .snack-capture{display:grid;gap:14px}.snack-capture-main{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.snack-capture-main .btn{min-height:48px}.snack-hint{color:var(--muted);font-size:13px}.snack-backfill{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--panel3)}.snack-backfill.hidden{display:none}.snack-day-list{display:grid;gap:8px;margin-top:4px}.snack-day-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:13px;background:var(--panel3)}.snack-day-row .time{color:var(--muted);font-variant-numeric:tabular-nums}.snack-day-row strong{display:block}.snack-day-row small{display:block;color:var(--muted);margin-top:2px}.snack-empty{padding:12px;color:var(--muted);border:1px dashed var(--border);border-radius:13px}@media(max-width:760px){.snack-backfill{grid-template-columns:1fr}.snack-day-row{grid-template-columns:auto minmax(0,1fr)}.snack-day-row .btn{grid-column:1/-1;justify-self:start}}
  .toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.toolbar label{min-width:160px}.toolbar .searchbox{flex:1;min-width:220px}.food-grid{display:grid;gap:10px}.food-row{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(110px,.7fr) minmax(120px,.8fr) minmax(90px,.5fr) auto;gap:10px;align-items:center;padding:13px 14px;border:1px solid var(--border);border-radius:16px;background:var(--panel3)}.food-row.head{background:transparent;border:0;padding:0 14px;color:var(--muted);font-size:12px}.food-row strong{display:block}.food-row small{display:block;color:var(--muted);margin-top:3px;line-height:1.3}.food-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.category-pill{display:inline-block;padding:4px 8px;border-radius:999px;border:1px solid var(--border);font-size:11px;color:var(--muted);margin-top:5px}.favorite-star{color:var(--accent)}.favorite-toggle{font-size:18px;line-height:1}.favorite-toggle.active{color:var(--accent)!important;border-color:#41644c!important}.favorite-toggle:not(.active){color:var(--muted)}.food-summary{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 14px}.food-summary .pill{font-size:13px}.empty{padding:24px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:16px}.subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 10px}.subhead h3{margin:0}.details-box{border:1px solid var(--border);border-radius:14px;padding:12px 14px;background:#11141a}.details-box summary{cursor:pointer;font-weight:700;color:var(--text)}.details-box[open] summary{margin-bottom:12px}.ingredient-list{display:grid;gap:8px}.ingredient{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:13px;background:#11141a}.ingredient small{color:var(--muted)}.ingredient-qty{display:grid;grid-template-columns:38px 74px 38px;gap:6px;align-items:center}.ingredient-qty button{height:38px;padding:0;font-size:20px}.ingredient-qty input{text-align:center;padding:8px 6px;height:38px}.ingredient-total{padding:12px 14px;border-radius:14px;background:#11141a;border:1px solid var(--border);font-weight:750}.required-note{font-size:12px;color:var(--muted)}.required-mark{color:#f3c86b;font-weight:850}.food-validation-notice{padding:10px 12px;border:1px solid #8e4e4e;border-radius:12px;background:#2a1718;color:#ffd2d2;font-size:12px;line-height:1.45}.food-validation-notice.hidden{display:none}.food-field-error input,.food-field-error select{border-color:#c66!important;box-shadow:0 0 0 2px rgba(204,102,102,.10)}.fav-name-btn{appearance:none;border:0;background:transparent;color:inherit;padding:0;margin:0;font:inherit;font-weight:inherit;text-align:left;cursor:pointer}.fav-name-btn:hover{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}.favorite-detail-list{display:grid;gap:8px}.favorite-detail-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--border)}.favorite-detail-row:last-child{border-bottom:0}.dish-add-action{margin-top:12px}.dish-add-action .btn{background:var(--accent);color:#08210f;border-color:transparent;font-weight:750}.ingredient-picker-modal{z-index:120}.ingredient-picker-card{width:min(660px,100%)}.ingredient-picker-list{display:grid;gap:8px;max-height:46vh;overflow:auto;padding:2px}.ingredient-picker-item{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:var(--panel3);color:var(--text);cursor:pointer}.ingredient-picker-item:hover{border-color:#667180;background:#1c2129}.ingredient-picker-item.active{border-color:var(--accent);background:#142019}.ingredient-picker-item.already{opacity:.68;cursor:default}.ingredient-picker-item.already:hover{border-color:var(--border);background:var(--panel3)}.ingredient-picker-item strong{display:block}.ingredient-picker-item small{display:block;color:var(--muted);margin-top:3px}.ingredient-picker-item .ingredient-picker-kcal{color:var(--muted);white-space:nowrap}.ingredient-picker-item.active .ingredient-picker-kcal{color:var(--accent)}.ingredient-picker-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:12px;border-top:1px solid var(--border)}.ingredient-picker-selected{min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:13px;background:#11141a}.ingredient-picker-selected strong{display:block;overflow-wrap:anywhere}.ingredient-picker-selected small{color:var(--muted)}@media(max-width:620px){.ingredient-picker-footer{align-items:stretch;flex-direction:column}.ingredient-picker-footer .btn{width:100%}}@media(max-width:760px){.fav{grid-template-columns:auto minmax(0,1fr)}.fav-actions{grid-column:2}.fav-drag-handle{grid-row:1/3;align-self:stretch;width:30px}.favorite-sort-hint .sort-hint-text{display:none}}
  .food-search-prominent{position:relative;display:grid;gap:7px;flex:1;min-width:260px}.food-search-prominent>span{font-size:14px;color:var(--muted)}.food-search-prominent input{padding-left:46px;font-size:16px}.food-search-prominent:after{content:"⌕";position:absolute;left:16px;bottom:10px;font-size:25px;line-height:1;color:var(--muted);pointer-events:none;transform:rotate(-18deg)}
  .food-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.catalog-modal-card{width:min(980px,100%)}.custom-suggestion-card{width:min(620px,100%)}.custom-suggestion-list{display:grid;gap:8px;max-height:42vh;overflow:auto}.custom-suggestion-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:var(--panel3)}.custom-suggestion-item strong{overflow-wrap:anywhere}.free-entry-card .number-control button{background:#2b313b;color:#f4f5f7;border-color:#596371;font-weight:800}.free-entry-card .number-control button:hover{background:#343b47;border-color:#727d8d}.free-entry-card .number-control button:disabled{color:#a8afb9}.catalog-intro{display:grid;gap:10px}.catalog-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(175px,.38fr) minmax(130px,.24fr);gap:10px;align-items:end}.catalog-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.catalog-actions-spacer{flex:1}.catalog-more{position:relative}.catalog-more>summary{list-style:none;user-select:none}.catalog-more>summary::-webkit-details-marker{display:none}.catalog-more-menu{position:absolute;z-index:7;top:calc(100% + 7px);right:0;width:240px;padding:8px;display:grid;gap:6px;background:#171b21;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow)}.catalog-more-menu .btn{text-align:left;width:100%}.catalog-show-hidden.active{border-color:var(--accent);color:var(--accent);background:#152019}.catalog-import-top.hidden{display:none!important}.catalog-summary{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.catalog-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:52vh;overflow:auto;padding:2px}.catalog-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 11px 10px 13px;border:1px solid var(--border);border-radius:14px;background:var(--panel3);color:var(--text);transition:.12s border-color,.12s background}.catalog-item-select{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:center;color:var(--text);cursor:pointer;min-width:0}.catalog-item-end{display:flex;gap:7px;align-items:center}.catalog-eye{width:38px;height:38px;padding:0;display:grid;place-items:center;color:var(--muted)}.catalog-eye:hover{color:var(--text);border-color:#667180}.catalog-eye svg{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.catalog-item.hidden-suggestion{border-style:dashed;opacity:.68}.catalog-item.hidden-suggestion .catalog-item-select{opacity:.62}.catalog-item:hover{border-color:#4a5360}.catalog-item.selected{border-color:var(--accent);background:#142019}.catalog-item.present{opacity:.62}.catalog-item input{width:20px;height:20px}.catalog-item strong{display:block}.catalog-item small{display:block;color:var(--muted);margin-top:3px}.catalog-footer{position:sticky;bottom:-20px;margin:4px -20px -20px;padding:13px 20px;background:rgba(24,27,33,.96);backdrop-filter:blur(10px);border-top:1px solid var(--border);display:flex;gap:10px;align-items:center;justify-content:space-between;z-index:2}.food-kcal-missing .food-kcal{color:var(--muted)}.kcal-optional{color:var(--muted)!important}.catalog-hint{display:none}.catalog-hint.show{display:block}
  @media(max-width:760px){.export-grid,.report-checks{grid-template-columns:1fr}.food-row{grid-template-columns:1fr auto}.food-row.head{display:none}.food-row .food-cat,.food-row .food-portion,.food-row .food-kcal{grid-column:1}.food-actions{grid-column:2;grid-row:1/5;align-self:center;flex-direction:column}.toolbar>*{width:100%!important;min-width:0!important}.nutrition-tabs{display:grid;grid-template-columns:1fr 1fr}.nutrition-tab{padding:10px 8px;font-size:13px}.ingredient{grid-template-columns:1fr auto}.ingredient-qty{grid-column:1;grid-template-columns:42px 82px 42px}.ingredient>.btn.danger{grid-column:2;grid-row:1/3}.shopping-item{grid-template-columns:auto 1fr}.shopping-actions{grid-column:2}}

  @media(max-width:700px){.catalog-toolbar{grid-template-columns:1fr}.catalog-more-menu{position:fixed;left:16px;right:16px;top:auto;bottom:18px;width:auto}.catalog-list{grid-template-columns:1fr}.catalog-footer{align-items:stretch;flex-direction:column}.catalog-footer .btn{width:100%}.food-header-actions{width:100%;justify-content:stretch}.food-header-actions .btn{flex:1}}
  .body-weight-layout{grid-template-columns:minmax(360px,1.1fr) minmax(260px,.9fr);gap:18px}.body-weight-entry .number-control{max-width:none}.body-weight-actions{grid-template-columns:minmax(200px,1fr) auto}.body-mini-chart{display:block;padding:14px 15px 12px}.body-mini-chart .nutrition-mini-chart svg{height:132px}.body-mini-chart .nutrition-mini-foot{margin-top:4px}.body-checkin-grid{align-items:start}.compact-checkin{gap:14px}.panel-toggle{width:100%;border:1px solid var(--border);background:#11141a;color:var(--text);padding:14px 16px;border-radius:16px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:14px;transition:.15s border-color,.15s background}.panel-toggle:hover{border-color:#5e6978;background:#151920}.panel-toggle.open{border-color:#677383;background:#151b23}.panel-toggle-main{display:grid;gap:4px;min-width:0}.panel-toggle-title{font-weight:780;font-size:18px}.panel-toggle-copy{color:var(--muted);font-size:13px;line-height:1.35}.panel-toggle-caret{color:var(--muted);font-size:18px;line-height:1}.collapse-panel{display:grid;gap:14px}.compact-save-row{display:flex;justify-content:flex-end}.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.weight-chart-note{margin-top:-2px}.compact-checkin .chips{margin-top:2px}.details-box.slim summary{font-size:15px}.details-box.slim[open] summary{margin-bottom:10px}
  @media(max-width:900px){.body-weight-layout,.body-checkin-grid{grid-template-columns:1fr}.body-mini-chart{width:100%}.inline-fields{grid-template-columns:1fr}}

  .digestion-compact{display:grid;gap:14px}.quick-dig-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.quick-dig-meta{display:grid;gap:8px}.dig-time-readout{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dig-time-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:#11141a;color:var(--text);font-weight:700}.dig-time-pill .dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}.dig-quick-btn{min-width:180px}.digestion-toggle-wrap{display:grid;gap:10px}.digestion-toggle-wrap .checkline{margin-top:-2px}.dig-details{display:grid;gap:14px}.dig-detail-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.dig-details-note{margin-top:-4px}@media(max-width:760px){.quick-dig-row,.dig-detail-actions{grid-template-columns:1fr}.dig-quick-btn{width:100%}}

  .dig-quick-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.dig-quick-status{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px;border:1px solid #41644c;border-radius:14px;background:#152019}.dig-quick-status strong{display:block}.dig-quick-status small{display:block;color:#b7c7bc;margin-top:3px}.dig-backfill{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:end;padding:14px;border:1px solid var(--border);border-radius:15px;background:#11141a}.dig-backfill .btn{white-space:nowrap}.dig-quick-btn.saved-flash{background:#9df0b8!important}.dig-quick-hint{color:var(--muted);font-size:12px}.undo-quick-dig{white-space:nowrap}@media(max-width:760px){.dig-quick-actions{justify-content:stretch}.dig-quick-actions .btn{flex:1}.dig-quick-status,.dig-backfill{grid-template-columns:1fr}.undo-quick-dig,.dig-backfill .btn{width:100%}}

  .quick-dig-row.v2{grid-template-columns:minmax(0,1fr);gap:14px}.dig-question{font-size:20px;font-weight:800}.dig-now-copy{color:var(--muted);font-size:13px}.dig-now-copy strong{color:var(--text);font-weight:750}.dig-quick-actions.v2{justify-content:flex-start}.dig-quick-actions.v2 .dig-quick-btn{min-width:220px}.dig-action-help{font-size:12px;color:var(--muted);line-height:1.4}.digestion-toggle-wrap.v2{margin-top:2px}.digestion-toggle-wrap.v2 .panel-toggle{padding:13px 16px}.dig-analysis-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dig-analysis-grid .stat{padding:14px}.dig-analysis-grid .stat b{font-size:24px}.dig-analysis-note{margin-top:2px}.dig-backfill-head{font-weight:750;margin-bottom:2px}@media(max-width:900px){.dig-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.dig-analysis-grid{grid-template-columns:1fr 1fr}.dig-quick-actions.v2{display:grid;grid-template-columns:1fr}.dig-quick-actions.v2 .btn{width:100%;min-width:0}}

  /* Verdauung 0.19.26: two equal choices + one shared, editable timestamp */
  .digestion-v3{gap:15px}.digestion-v3 .dig-question{font-size:21px;font-weight:800;margin-bottom:1px}.dig-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dig-choice-btn{min-height:58px;background:var(--panel2);border:1px solid #46505d;color:var(--text);font-size:17px;font-weight:780;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:12px}.dig-choice-btn:hover{background:#292f39;border-color:#667180}.dig-choice-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dig-choice-btn.open{background:#252a33;border-color:#667180}.dig-choice-btn.saved-flash{background:var(--accent)!important;color:#08210f!important;border-color:var(--accent)!important}.dig-choice-caret{font-size:29px;line-height:.8;font-weight:500;transform:translateY(-1px);min-width:24px;text-align:center}
  .dig-therapy-context{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border:1px solid var(--border);border-radius:14px;background:#11141a}.dig-therapy-toggle{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:12px;border:1px solid #4d5663;background:#20252d;color:var(--text);font-weight:760;cursor:pointer}.dig-therapy-toggle:hover{border-color:#6a7685}.dig-therapy-toggle.active{border-color:#5c8fbd;background:#142337;color:#dcecff}.dig-therapy-toggle.active::before{content:'✓';font-weight:900}.dig-therapy-hint{font-size:12px;color:var(--muted);text-align:right}.dig-therapy-hint.hidden{display:none}.therapy-tag{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;border:1px solid #5c8fbd;background:#142337;color:#dcecff;font-size:11px;font-weight:800;vertical-align:1px}.chart-point-estimated{fill:#11141a;stroke:var(--accent);stroke-width:3}.chart-hit:hover + .chart-point-estimated,.chart-hit:focus-visible + .chart-point-estimated{stroke:#fff;stroke-width:3.5}
  @media(max-width:620px){.dig-therapy-context{align-items:flex-start;flex-direction:column}.dig-therapy-hint{text-align:left}}
  .dig-time-editor{display:grid;grid-template-columns:auto minmax(260px,1fr);gap:12px;align-items:center;padding:12px 14px;background:#11141a;border:1px solid var(--border);border-radius:16px;color:var(--text)}.dig-time-label{display:flex;align-items:center;gap:9px;font-weight:750;white-space:nowrap}.dig-clock-icon{width:25px;height:25px;display:inline-flex}.dig-clock-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dig-time-editor input{height:56px;font-size:17px;font-weight:700;padding:12px 14px}.dig-quick-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #41644c;border-radius:14px;background:#152019}.dig-quick-status strong{font-size:15px}.dig-quick-status .undo-quick-dig{min-width:44px;height:38px;padding:5px 10px;font-size:20px;line-height:1}.dig-details{padding-top:4px;border-top:1px solid var(--border)}.dig-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.dig-detail-head .muted{margin:0}.dig-collapse-btn{width:42px;height:42px;min-width:42px;padding:0;border:1px solid var(--border);border-radius:12px;background:#20252d;color:var(--text);font-size:23px;line-height:1;display:inline-flex;align-items:center;justify-content:center}.dig-collapse-btn:hover{background:#292f39;border-color:#667180}.dig-collapse-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  @media(max-width:620px){.dig-choice-row{grid-template-columns:1fr 1fr}.dig-choice-btn{min-height:56px;font-size:15px}.dig-time-editor{grid-template-columns:1fr}.dig-time-editor input{font-size:16px}.dig-quick-status{align-items:center}}

  /* v1.9.1 · Bauch & Gase: Aufgefallen + grobe Dauer statt scheinexaktem Beginn/Ende */
  /* v1.9.2 · Verdauung Core-Review: Beschwerden progressiv; Blähungen aus Stuhlgang entfernt; ⚡ Direkt nach dem Essen bleibt Schnell-Button */
  /* v1.9.3 · Verlauf: minimalistische Tageszusammenfassung mit Sprung zu den zugrunde liegenden Einträgen */
  /* v1.9.4 · Tageszusammenfassung: konkrete Hinweise öffnen direkt den zugrunde liegenden Eintrag */
  /* v1.9.5 · PDF: Persönlicher Kurzüberblick aus Selbstdokumentation, keine medizinische Bewertung */
  /* v1.9.6 · PDF: Gesundheitsereignisse im Kurzüberblick nur bei medizinisch relevanten Ereignistypen */
  .day-summary{display:grid;gap:7px;padding:12px 13px;border:1px solid var(--border);border-radius:15px;background:#11141a}.day-summary.hidden{display:none}.day-summary-head{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;padding:0 2px 2px}.day-summary-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:0;background:transparent;color:var(--text);padding:8px 9px;border-radius:11px;text-align:left;font:inherit;cursor:pointer}.day-summary-row:hover{background:#191e25}.day-summary-row:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.day-summary-row.pass{color:#d7e3db}.day-summary-row.muted-row{color:var(--muted)}.day-summary-arrow{color:var(--muted);font-size:18px;line-height:1}.day-summary-row:hover .day-summary-arrow{color:var(--accent)}
  .dig-complaint-box{display:grid;gap:10px;padding:13px 14px;border:1px solid var(--border);border-radius:15px;background:#11141a}.dig-complaint-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}.dig-complaint-flags{display:flex;gap:8px;flex-wrap:wrap}.dig-complaint-flag{min-height:42px;padding:9px 12px;border:1px solid #46505d;background:#171b22;color:var(--text);border-radius:13px;font-weight:750}.dig-complaint-flag:hover{border-color:#667180;background:#20252d}.dig-complaint-flag.active{border-color:var(--accent);background:#183224;color:#dff9e7}.dig-complaint-details{display:grid;gap:8px}.dig-complaint-detail{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--border);border-radius:12px;background:#0f1217}.dig-complaint-detail.hidden{display:none!important}.dig-complaint-detail>strong{font-size:13px}.dig-complaint-detail .chips{justify-content:flex-end}.dig-complaint-note{color:var(--muted);font-size:11px;line-height:1.4}@media(max-width:620px){.dig-complaint-flags{display:grid;grid-template-columns:1fr 1fr}.dig-complaint-detail{align-items:flex-start;flex-direction:column}.dig-complaint-detail .chips{justify-content:flex-start;width:100%}}
  .gas-card{margin-top:18px}.gas-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.gas-card-head h3{margin:0}.gas-card-copy{color:var(--muted);font-size:13px;line-height:1.45;margin-top:4px;max-width:760px}.gas-entry-grid{display:grid;grid-template-columns:minmax(300px,1.25fr) minmax(210px,.72fr) minmax(250px,.9fr) minmax(210px,.68fr) auto;gap:14px;align-items:end}.gas-field{display:grid;gap:8px}.gas-field-label{color:var(--muted);font-size:13px}.gas-choice-row,.gas-severity-row,.gas-duration-row{display:flex;gap:8px;flex-wrap:wrap}.gas-choice,.gas-severity,.gas-duration{min-height:43px;padding:9px 13px;border:1px solid #46505d;background:#171b22;color:var(--text);border-radius:13px;font-weight:750}.gas-choice:hover,.gas-severity:hover,.gas-duration:hover{border-color:#667180;background:#20252d}.gas-choice.active,.gas-severity.active,.gas-duration.active{border-color:var(--accent);background:#183224;color:#dff9e7}.gas-choice[data-gas-type="ok"].active{background:#152019}.gas-strength-wrap.hidden,.gas-duration-wrap.hidden{display:none}.gas-save{min-height:48px;white-space:nowrap}.gas-help{margin-top:11px;color:var(--muted);font-size:12px;line-height:1.4}.gas-event-tag{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;border:1px solid #526071;background:#151b23;color:#d8dee7;font-size:11px;font-weight:800;vertical-align:1px}.dot.gasSymptoms{background:#8dd9c0}
  @media(max-width:1050px){.gas-entry-grid{grid-template-columns:1fr 1fr}.gas-save{width:100%}}
  @media(max-width:700px){.gas-entry-grid{grid-template-columns:1fr}.gas-choice-row,.gas-severity-row{display:grid;grid-template-columns:1fr 1fr}.gas-duration-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.gas-duration{padding:9px 8px}.gas-save{width:100%}}

  .day-section-card{padding:0!important;overflow:hidden}.day-section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px}.day-section-toggle{appearance:none;border:0;background:transparent;color:var(--text);padding:0;display:flex;align-items:center;gap:10px;text-align:left;min-width:0;font-weight:750}.day-section-toggle:hover{color:#fff}.day-section-toggle .day-section-arrow{font-size:20px;line-height:1;color:var(--muted);width:18px;text-align:center}.day-section-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.day-section-body{padding:0 14px 14px;border-top:1px solid var(--border)}.day-section-body.hidden{display:none!important}.day-section-body>.muted:first-child{padding-top:12px}.chart-point-quick{fill:#d9dee6;stroke:#0f1115;stroke-width:2}.chart-axis-stool{fill:#d9dee6;font-size:11px;font-weight:700}
/* v1.9.294: Medikationskopf bleibt unabhängig von der Fensterbreite stabil. */
.day-medication .day-section-head{grid-template-columns:minmax(0,1fr);align-items:start}
.day-medication .day-section-toggle{width:100%}
.day-medication .day-section-actions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-content:stretch;gap:10px}
.day-medication .day-section-actions>.pill{justify-self:start}
.day-medication .med-intake-actions{justify-content:flex-start;flex-wrap:wrap}
.day-medication .med-intake-actions .btn{white-space:nowrap}
@media(max-width:760px){.day-section-head{grid-template-columns:1fr}.day-section-actions{justify-content:flex-start}.day-section-toggle{width:100%}}
@media(max-width:620px){
  .day-medication .day-section-actions{grid-template-columns:1fr}
  .day-medication .day-section-actions>.pill{justify-self:start}
  .day-medication .med-intake-actions{display:grid;grid-template-columns:1fr;gap:8px;width:100%}
  .day-medication .med-intake-actions .btn{width:100%}
}

  .nutrition-quick-layout{display:grid;gap:14px}.favorites-card{padding-bottom:16px}.favorite-list.favorite-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fav.fav-compact{grid-template-columns:auto minmax(0,1fr) auto;min-height:106px;padding:13px 14px;gap:10px}.fav.fav-editing{grid-template-columns:auto minmax(0,1fr) auto}.fav.fav-compact .fav-actions{justify-content:flex-end;align-self:center}.fav.fav-compact .fav-actions .shopping-food-btn{min-width:42px}.fav.fav-compact .fav-actions .shopping-food-btn svg{width:20px;height:20px}.favorite-edit-toggle.active{border-color:var(--accent);color:var(--accent);background:#142019}.favorite-edit-hint{padding:10px 12px;margin-top:2px}.free-entry-collapse{padding:0;overflow:hidden}.free-entry-toggle{width:100%;border:0;background:transparent;color:var(--text);padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left}.free-entry-toggle:hover{background:#1b1f26}.free-entry-toggle strong{font-size:18px}.free-entry-toggle span{color:var(--muted)}.free-entry-arrow{font-size:24px!important;line-height:1;color:var(--muted)!important}.free-entry-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.9fr);gap:14px;padding:0 20px 20px}.free-entry-fields{display:grid;gap:14px}.free-entry-side{display:grid;gap:14px;align-content:start}.free-entry-side .btn.primary{min-height:52px}.free-entry-card .number-control{max-width:420px}.fav.fav-compact .pill{font-size:10px;padding:3px 7px}.fav.fav-compact small{margin-top:4px;display:block}.fav.fav-compact .consume-btn{min-width:116px}.fav-normal-undo{display:inline-flex}
  @media(max-width:980px){.favorite-list.favorite-compact-grid{grid-template-columns:1fr}.free-entry-panel{grid-template-columns:1fr}}
  @media(max-width:760px){.fav.fav-compact{grid-template-columns:auto minmax(0,1fr)}.fav.fav-editing{grid-template-columns:auto minmax(0,1fr)}.fav.fav-compact .fav-actions{grid-column:2;justify-content:flex-start}.fav.fav-editing .fav-actions{grid-column:2}.free-entry-toggle{padding:15px 16px}.free-entry-panel{padding:0 16px 16px}.favorite-edit-toggle{font-size:12px}}

  .food-summary-filter{appearance:none;font:inherit;cursor:pointer;transition:.15s border-color,.15s background,.15s color}.food-summary-filter:hover{border-color:#667180;color:var(--text)}.food-summary-filter.active{border-color:var(--accent);background:#152019;color:var(--accent);font-weight:800}.food-summary-filter.needs-details.active{border-color:var(--warn);background:#211c13;color:var(--warn)}
  .food-edit-link{appearance:none;border:0;background:transparent;padding:0;margin:0;color:inherit;font:inherit;text-align:left;cursor:pointer}.food-edit-link:hover{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}.food-inline-edit{appearance:none;border:0;background:transparent;color:inherit;padding:0;margin:0;font:inherit;font-weight:800;text-align:left;cursor:pointer}.food-inline-edit:hover{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}

  .stat-link{appearance:none;width:100%;text-align:left;color:var(--text);font:inherit;cursor:pointer;transition:.15s border-color,.15s background,.15s transform}.stat-link:hover{border-color:#5c6675;background:#151920;transform:translateY(-1px)}.stat-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.stat-link .stat-link-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:7px;color:var(--muted);font-size:11px}.stat-link:hover .stat-link-foot{color:var(--text)}

  .timeline-events-head-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.timeline-events-heading{margin:4px 0 -1px;padding:5px 2px 2px;font-size:15px;font-weight:750;color:var(--text)}
  .timeline-events-toggle{appearance:none;width:100%;border:0;background:transparent;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px;color:var(--text);cursor:pointer;border-radius:10px}.timeline-events-toggle:hover{background:#151920}.timeline-events-toggle-main{display:flex;align-items:center;gap:9px;min-width:0}.timeline-events-arrow{width:22px;text-align:center;color:var(--muted);font-size:23px;line-height:1}.timeline-events-toggle .pill{flex:0 0 auto}.timeline-events-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.timeline-body-add.hidden{display:none!important}@media(max-width:760px){.timeline-events-head-row{grid-template-columns:1fr}.timeline-body-add{justify-self:start}}
  @media(max-width:760px){
    .calendar-wrap{overflow:visible;padding:14px}
    .calendar{min-width:0;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
    .dow{font-size:10px;padding:3px 0}
    .day{min-width:0;min-height:60px;padding:6px 4px;border-radius:10px;overflow:hidden}
    .day .dnum{font-size:13px}
    .day .count{display:none}
    .dots{margin-top:8px;gap:2px}
    .dot{width:5px;height:5px}
    .med-day-mark,.health-day-mark{font-size:9px;margin-left:2px}
    .cal-head{gap:6px;margin-bottom:10px}
    .cal-head strong{font-size:14px;text-align:center}
    .cal-head .btn.small{padding:7px 9px}
  }
  @media(max-width:390px){
    .calendar-wrap{padding:12px 9px}
    .calendar{gap:3px}
    .day{min-height:56px;padding:5px 3px}
    .cal-head .btn.small{padding:6px 7px;font-size:12px}
    .cal-head strong{font-size:13px}
  }

  .wellbeing-quick-grid{align-items:start;margin-bottom:18px}.wellbeing-quick-card{gap:14px}.wellbeing-question{font-size:23px;font-weight:800;letter-spacing:-.02em}.wellbeing-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.wellbeing-choice-btn{min-height:52px;font-size:16px;font-weight:780;display:flex;align-items:center;justify-content:center;gap:9px;background:#11141a;border-color:#3b424d}.wellbeing-choice-btn:hover{background:#171b22;border-color:#5c6674}.wellbeing-choice-btn.open{background:#151b23;border-color:#677383}.wellbeing-choice-btn.saved{background:var(--accent);border-color:var(--accent);color:#08110b}.wellbeing-choice-caret{font-size:18px;color:var(--muted);line-height:1}.wellbeing-detail-panel{display:grid;gap:14px;padding-top:2px}.wellbeing-symptoms{display:flex;flex-wrap:wrap;gap:8px}.wellbeing-symptoms .chip.active{border-color:var(--accent);background:#183224;color:#dff9e7}.wellbeing-stress-toggle{justify-self:start;min-height:43px;padding:10px 15px;border-color:#495260;background:#171b22;font-weight:760}.wellbeing-stress-toggle.active{background:var(--accent);border-color:var(--accent);color:#08110b}.wellbeing-fine-details{border:1px solid var(--border);border-radius:15px;background:#11141a;overflow:hidden}.wellbeing-fine-details>summary{list-style:none;cursor:pointer;padding:12px 14px;font-weight:720;display:flex;align-items:center;justify-content:space-between;gap:12px}.wellbeing-fine-details>summary::-webkit-details-marker{display:none}.wellbeing-fine-details>summary::after{content:'⌄';color:var(--muted);font-size:18px;line-height:1}.wellbeing-fine-details[open]>summary::after{content:'⌃'}.wellbeing-fine-details-body{display:grid;gap:10px;padding:0 12px 12px}.wellbeing-periods{display:grid;border:1px solid var(--border);border-radius:13px;overflow:hidden;background:#0f1217}.wellbeing-period-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:10px 12px}.wellbeing-period-row+.wellbeing-period-row{border-top:1px solid var(--border)}.wellbeing-period-row strong{font-size:15px}.wellbeing-period-actions{display:flex;gap:7px}.period-btn{width:45px;height:38px;border-radius:11px;border:1px solid #424a56;background:#1a1e25;color:var(--text);font-size:20px;font-weight:800;line-height:1;cursor:pointer}.period-btn:hover{border-color:#667181;background:#20252e}.period-btn.active{border-color:var(--accent);background:#183224;color:#dff9e7}.wellbeing-period-legend{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:12px}.wellbeing-detail-panel textarea{min-height:76px}@media(max-width:520px){.wellbeing-choice-row{grid-template-columns:1fr 1fr}.wellbeing-question{font-size:21px}.wellbeing-period-row{padding:9px 10px}.period-btn{width:42px}.wellbeing-stress-toggle{width:100%;justify-content:center}}
  .energy-card{margin:0 0 18px;gap:13px}.energy-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.energy-head h3{margin:0;font-size:21px}.energy-head .muted{margin-top:3px}.energy-choice-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.energy-choice{min-height:49px;font-weight:800;background:#11141a;border-color:#3b424d}.energy-choice:hover{border-color:#667181;background:#171b22}.energy-choice.active{border-color:#d6b35f;background:#332b17;color:#ffe8a7}.energy-tags{display:flex;flex-wrap:wrap;gap:8px}.energy-tags .chip.active{border-color:#d6b35f;background:#332b17;color:#ffe8a7}.energy-save-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.energy-today{color:var(--muted);font-size:12px}.energy-today strong{color:var(--text)}.energy-card.is-saved .energy-choice.active{border-color:var(--accent);background:var(--accent);color:#07150c}.energy-card.is-saved .energy-tags .chip.active{border-color:var(--accent);background:var(--accent);color:#07150c}@media(max-width:620px){.energy-choice-row{grid-template-columns:1fr}.energy-save-row .btn{width:100%}}
  /* Online v0.2.83 · Körper: gespeicherte Energie-Auswahl grün; ungespeicherte Auswahl weiterhin braun */
  .body-card-save-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:2px}.body-card-status{color:var(--muted);font-size:12px;line-height:1.35}.body-card-status.saved,.energy-today.saved{color:var(--accent);font-weight:800}.body-card-status.pending{color:var(--warn);font-weight:750}.wellbeing-choice-btn.active:not(.saved){border-color:#d6b35f;background:#332b17;color:#ffe8a7}.wellbeing-quick-card.is-saved,.energy-card.is-saved,.body-weight-card.is-saved{border-color:#41644c;box-shadow:inset 0 0 0 1px rgba(116,227,154,.08)}
  .body-card-status-link{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;padding:0;cursor:pointer;text-align:left;text-decoration:none}.body-card-status-link:hover{text-decoration:underline;text-underline-offset:3px}.body-card-status-link:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
  .weight-day-entry-row{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:10px;align-items:end}.weight-day-entry-row .number-control{max-width:none}.weight-day-save{height:54px;min-width:54px;padding:0;font-size:22px;font-weight:900;border-radius:14px}.weight-day-save.weight-saved{background:#74e39a!important;color:#0c1a11!important;border-color:#74e39a!important}.weight-day-save:disabled{opacity:1}.body-weight-entry{align-content:start}.weight-goal-row{margin-top:6px;padding-top:12px;border-top:1px solid var(--border);display:grid;gap:7px}.weight-goal-row>label{font-size:12px;font-weight:700;color:var(--muted)}.weight-goal-control{display:grid;grid-template-columns:minmax(0,1fr) auto 46px;gap:8px;align-items:center;max-width:290px}.weight-goal-control input{min-width:0}.weight-goal-unit{color:var(--muted);font-weight:700}.weight-goal-save{height:46px;min-width:46px;padding:0;font-size:19px;border-radius:12px}
  @media(max-width:620px){.body-card-save-row .btn{width:100%}}
  .event-editor-question{font-size:19px;font-weight:800;margin:2px 0 3px}.event-editor-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.event-editor-choice{min-height:48px;background:#11141a;border-color:#3b424d;font-weight:780}.event-editor-choice.active{background:var(--accent);border-color:var(--accent);color:#08110b}.event-editor-panel{display:grid;gap:12px;padding:12px 0 2px}.event-editor-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:4px}.event-editor-actions .primary{min-width:180px}.event-editor-help{color:var(--muted);font-size:12px;line-height:1.4}.event-editor-panel .wellbeing-fine-details{margin-top:2px}
  .menstruation-card{margin:0 0 18px}.menstruation-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.menstruation-choice-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.menstruation-choice{min-height:48px;background:#11141a;border-color:#424a56;font-weight:760}.menstruation-choice:hover{border-color:#667181;background:#191e25}.menstruation-choice.saved{background:var(--accent);border-color:var(--accent);color:#08110b}.menstruation-details{display:grid;gap:12px;border-top:1px solid var(--border);padding-top:12px}.menstruation-details summary{cursor:pointer;font-weight:700}.menstruation-flow{display:flex;gap:8px;flex-wrap:wrap}.menstruation-status{display:flex;align-items:center;gap:9px;min-height:20px;color:var(--muted);font-size:12px}.menstruation-status strong{color:var(--text)}@media(max-width:520px){.menstruation-choice-row{grid-template-columns:1fr}.menstruation-choice{min-height:44px}}
  .dig-choice-row.dig-choice-row-three{grid-template-columns:1fr 1fr 1fr}.postmeal-btn{font-size:15px}.postmeal-panel{display:grid;gap:13px;padding:14px;border:1px solid var(--border);border-radius:16px;background:#11141a}.postmeal-panel .chips{gap:8px}.postmeal-panel .chip.active{background:var(--accent);border-color:var(--accent);color:#08210f}.postmeal-cause-note{font-size:12px;color:var(--muted);line-height:1.4}.postmeal-related-select small{display:block;margin-top:5px}.food-reaction-tag{color:var(--warn);font-weight:700}.postmeal-allergy-extra{display:grid;gap:10px;padding:12px 13px;border:1px solid rgba(243,200,107,.48);border-radius:14px;background:rgba(243,200,107,.06)}.postmeal-photo-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.postmeal-photo-preview{display:flex;gap:10px;align-items:center}.postmeal-photo-preview img{width:82px;height:82px;object-fit:cover;border-radius:12px;border:1px solid var(--border)}.postmeal-photo-preview small{color:var(--muted);line-height:1.4}.food-row.allergy-observed,.fav.allergy-observed{border-color:rgba(243,200,107,.55);box-shadow:inset 4px 0 0 #d6aa57}.allergy-observed-pill{display:inline-flex;align-items:center;gap:4px;margin-left:7px;padding:3px 7px;border:1px solid rgba(243,200,107,.48);border-radius:999px;background:rgba(243,200,107,.08);color:#f3c86b;font-size:10px;font-weight:850;cursor:pointer;vertical-align:1px}.allergy-observed-pill:hover{background:rgba(243,200,107,.14)}.reaction-photo-view{margin-top:10px}.reaction-photo-view img{display:block;max-width:min(100%,520px);max-height:420px;object-fit:contain;border:1px solid var(--border);border-radius:14px;background:#0e1116}.reaction-photo-tag{color:#f3c86b;font-weight:750}@media(max-width:760px){.dig-choice-row.dig-choice-row-three{grid-template-columns:1fr 1fr}.dig-choice-row-three .postmeal-btn{grid-column:1/-1}}@media(max-width:520px){.dig-choice-row.dig-choice-row-three{grid-template-columns:1fr}.dig-choice-row-three .postmeal-btn{grid-column:auto}.postmeal-photo-actions .btn{width:100%}}
  .custom-suggestion-create{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:10px;align-items:end}.custom-suggestion-create .btn{white-space:nowrap}.custom-suggestion-item-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}@media(max-width:720px){.custom-suggestion-create{grid-template-columns:1fr}.custom-suggestion-create .btn{width:100%}}


  .med-schedule-grid{display:grid;grid-template-columns:repeat(4,minmax(70px,1fr));gap:8px}.med-schedule-grid label,.med-intake-grid label{text-align:center}.med-schedule-grid input,.med-intake-grid input{text-align:center}.med-id-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.med-plan-help{padding:10px 12px;border:1px solid #3b5545;border-radius:13px;background:#142019;color:var(--muted);font-size:12px;line-height:1.45}.med-intake-actions{display:flex;gap:8px;flex-wrap:wrap}.med-intake-grid{display:grid;grid-template-columns:repeat(4,minmax(64px,1fr));gap:8px}@media(max-width:680px){.med-schedule-grid,.med-intake-grid{grid-template-columns:repeat(2,1fr)}.med-id-row{grid-template-columns:1fr 1fr}.med-id-row .btn{grid-column:1/-1}}
  .sandbox-privacy-note{display:flex;align-items:flex-start;gap:11px;margin:0 0 14px;padding:11px 14px;border:1px solid var(--border);border-radius:16px;background:#12151a;color:var(--muted);font-size:12px;line-height:1.45}.sandbox-privacy-note strong{color:var(--text);font-size:13px}.sandbox-privacy-icon{width:28px;height:28px;flex:0 0 28px;border:1px solid #48515e;border-radius:50%;display:grid;place-items:center;color:var(--accent);font-size:15px}.sandbox-privacy-copy{display:grid;gap:2px}.about-card{margin:18px 0 0;border:1px solid var(--border);border-radius:22px;background:linear-gradient(180deg,var(--panel),#15181d);box-shadow:var(--shadow);overflow:hidden}.about-card>summary{list-style:none;cursor:pointer;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--text);user-select:none}.about-card>summary::-webkit-details-marker{display:none}.about-card>summary strong{font-size:18px}.about-summary-right{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.about-caret{font-size:25px;line-height:1;transition:.15s transform}.about-card[open] .about-caret{transform:rotate(180deg)}.about-content{padding:0 20px 20px;border-top:1px solid var(--border)}.about-intro{font-size:16px;line-height:1.55;margin:18px 0 12px}.about-focus{padding:14px 16px;border:1px solid #3d5b49;border-radius:16px;background:#142019;line-height:1.5;margin-bottom:16px}.about-focus strong{color:#d8f7e2}.about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.about-item{padding:13px 14px;border:1px solid var(--border);border-radius:15px;background:var(--panel3)}.about-item strong{display:block;margin-bottom:4px}.about-item span{display:block;color:var(--muted);font-size:13px;line-height:1.4}.about-medical-note{margin-top:16px;padding-top:14px;border-top:1px solid var(--border);color:var(--muted);font-size:13px;line-height:1.5}.about-medical-note strong{color:var(--text)}
  .transparency-section{margin-top:16px}.transparency-title{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:0 2px 9px}.transparency-title h3{margin:0;font-size:17px}.transparency-title span{color:var(--muted);font-size:12px}
  .transparency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.transparency-card{border:1px solid var(--border);border-radius:17px;background:var(--panel);overflow:hidden}.transparency-card>summary{list-style:none;cursor:pointer;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px}.transparency-card>summary::-webkit-details-marker{display:none}.transparency-card>summary strong{font-size:14px}.transparency-card>summary .transparency-arrow{color:var(--muted);font-size:18px;transition:.15s transform,.15s color}.transparency-card>summary:hover .transparency-arrow{color:var(--accent);transform:translateX(2px)}.transparency-card[open]>summary .transparency-arrow{transform:rotate(90deg)}.transparency-body{padding:0 15px 15px;border-top:1px solid var(--border);font-size:13px;line-height:1.5}.transparency-body p{margin:12px 0}.transparency-body strong{color:var(--text)}.transparency-body ul{margin:10px 0 4px;padding-left:19px}.transparency-body li{margin:6px 0}.transparency-body a{color:var(--accent);text-decoration:none;font-weight:700}.transparency-body a:hover{text-decoration:underline;text-underline-offset:2px}.data-route{display:grid;gap:8px;margin-top:12px}.data-route-item{padding:10px 11px;border:1px solid var(--border);border-radius:12px;background:var(--panel3)}.data-route-item b{display:block;margin-bottom:2px}.status-setup{display:inline-flex;align-items:center;gap:6px;padding:2px 7px;border:1px solid #665d35;border-radius:999px;color:var(--warn);font-size:11px;font-weight:800}.privacy-plain-note{padding:10px 11px;border-left:3px solid var(--accent);background:#121b16;border-radius:10px}.privacy-caveat{color:var(--muted);font-size:12px}.transparency-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.transparency-links a{font-size:12px}

  .nutrition-start-card{margin:18px 0 0;padding:18px 20px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(180deg,var(--panel),#15181d);box-shadow:var(--shadow)}.nutrition-start-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.nutrition-start-head h3{margin:0;font-size:20px}.nutrition-start-head p{margin:5px 0 0;color:var(--muted);line-height:1.45}.nutrition-start-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0 13px}.nutrition-start-step{position:relative;width:100%;padding:12px 13px;border:1px solid var(--border);border-radius:15px;background:var(--panel3);line-height:1.35;appearance:none;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:.15s border-color,.15s background,.15s transform}.nutrition-start-step:hover{border-color:#667180;background:#1b2027}.nutrition-start-step:active{transform:translateY(1px)}.nutrition-start-step:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.nutrition-start-step b{display:block;margin-bottom:4px}.nutrition-start-step span{color:var(--muted);font-size:12px}.nutrition-start-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.nutrition-start-foot>span{color:var(--muted);font-size:13px;line-height:1.45;max-width:720px}
  @media(max-width:900px){.nutrition-start-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
  @media(max-width:760px){.about-grid{grid-template-columns:1fr}.transparency-grid{grid-template-columns:1fr}.transparency-title{align-items:flex-start;flex-direction:column;gap:3px}.about-card>summary{padding:15px 16px}.about-content{padding:0 16px 16px}.about-summary-right span:first-child{display:none}.sandbox-privacy-note{margin-bottom:12px}.nutrition-start-card{padding:16px}.nutrition-start-foot .btn{width:100%}}
  @media(max-width:480px){.nutrition-start-steps{grid-template-columns:1fr}}

  .analysis-freshness-notice{margin:0 0 14px}
  /* v1.3.10 · Zusammenhänge Ernährung ↔ Verdauung · Detailansicht mit Zeitfenster zuerst */
  .relation-shell{margin-top:18px;padding:0;overflow:hidden}.relation-shell>summary{list-style:none;cursor:pointer;padding:19px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.relation-shell>summary::-webkit-details-marker{display:none}.relation-shell-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.relation-shell-title h3{margin:0;font-size:20px}.relation-shell-caret{color:var(--muted);font-size:22px;line-height:1;transition:.15s transform}.relation-shell[open] .relation-shell-caret{transform:rotate(180deg)}.relation-shell-body{padding:0 20px 20px;border-top:1px solid var(--border)}.relation-intro{margin:16px 0 14px;line-height:1.5}.relation-intro strong{color:var(--text)}.relation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.relation-section+.relation-section{margin-top:18px}.relation-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 9px}.relation-section-head h4{margin:0;font-size:16px}.relation-section-head span{color:var(--muted);font-size:12px}.relation-insight{border:1px solid var(--border);border-radius:17px;background:var(--panel3);padding:14px 15px;display:grid;gap:8px;min-width:0}.relation-insight.unremarkable{border-color:#35513f}.relation-insight.direct-observation{border-color:var(--border)}.relation-insight-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.relation-insight-name{min-width:0}.relation-insight-name strong{font-size:17px;overflow-wrap:anywhere}.relation-insight-name .pill{margin-left:7px;vertical-align:2px}.relation-sample{color:var(--muted);font-size:11px;white-space:nowrap}.relation-metric{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.relation-metric b{font-size:25px;letter-spacing:-.025em}.relation-metric>span{color:var(--muted);font-size:13px}.relation-status-notable{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #a94343;border-radius:999px;background:#211416;color:#f08b8b!important;font-size:12px!important;font-weight:800;line-height:1}.relation-compare{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--muted);font-size:12px;line-height:1.35}.relation-compare strong{color:var(--text);font-weight:800}.relation-compare-trend{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid var(--border);border-radius:999px;background:#11151b;font-size:11px;font-weight:750;white-space:nowrap}.relation-compare-trend.higher{border-color:#875050;color:#e5a0a0;background:#1c1416}.relation-compare-trend.lower{border-color:#3c6049;color:#9bd2ad;background:#122019}.relation-compare-trend.similar{border-color:#4a5562;color:#c7cdd5;background:#15191f}.relation-compare-trend.insufficient{border-style:dashed;color:var(--muted)}.relation-direct{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:6px 9px;border:1px solid #a94343;border-radius:999px;color:#f08b8b;background:#211416;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.relation-direct:hover{border-color:#d85f64;background:#291619}.relation-verdict-note{font-size:14px;color:var(--text);line-height:1.35}.relation-details{border-top:1px solid var(--border);padding-top:9px}.relation-details>summary{list-style:none;cursor:pointer;color:var(--text);font-size:13px;font-weight:750;display:flex;justify-content:flex-start;gap:7px}.relation-details>summary::-webkit-details-marker{display:none}.relation-details>summary::after{content:'→';color:var(--muted);font-size:15px}.relation-details[open]>summary::after{content:'↑'}.relation-details-linkonly>summary{display:none}.relation-details-body{display:grid;gap:10px;padding-top:11px}.relation-detail-window-block{display:grid;gap:6px}.relation-window-picker{display:flex;gap:7px;flex-wrap:wrap}.relation-window-choice{appearance:none;border:1px solid var(--border);border-radius:999px;background:#11151b;color:var(--text);padding:7px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.relation-window-choice:hover{border-color:#667181;background:#181d24}.relation-window-choice.active{border-color:var(--accent);background:#183224;color:#dff9e7}.relation-window-choice:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.relation-evidence-secondary{padding-top:2px}.relation-windows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.relation-window{padding:8px 7px;border:1px solid var(--border);border-radius:11px;background:#101319;text-align:center}.relation-window b{display:block;font-size:14px}.relation-window span{display:block;color:var(--muted);font-size:10px;margin-top:2px}.relation-occurrences{display:grid;gap:6px}.relation-occurrence{width:100%;display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 10px;border:1px solid var(--border);border-radius:12px;background:#11151b;color:inherit;text-align:left}.relation-occurrence:hover{border-color:#596474;background:#171c23}.relation-occurrence-date{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.relation-occurrence-main{min-width:0}.relation-occurrence-main strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.relation-occurrence-main small{display:block;color:var(--muted);font-size:11px;line-height:1.35;margin-top:2px}.relation-occurrence-arrow{color:var(--muted);font-size:18px}.relation-more{color:var(--muted);font-size:11px;text-align:center}.relation-empty{padding:18px;border:1px dashed #46505c;border-radius:16px;background:#11141a}.relation-empty strong{display:block;margin-bottom:6px}.relation-empty p{margin:0;color:var(--muted);line-height:1.5}.relation-footnote{margin-top:14px;color:var(--muted);font-size:11px;line-height:1.45}.relation-footnote strong{color:#dfe3e8}.relation-all-note{margin-top:10px}.relation-more-btn{border:1px solid var(--border);background:#11151b;color:var(--text);border-radius:999px;padding:7px 11px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.relation-more-btn:hover{border-color:#596474;background:#171c23}
  .analysis-display-setting{display:grid;gap:9px;padding-top:4px}.analysis-display-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.analysis-display-option{position:relative;cursor:pointer}.analysis-display-option input{position:absolute;opacity:0;pointer-events:none}.analysis-display-option span{min-height:39px;padding:8px 10px;border:1px solid #424a56;border-radius:11px;background:#171b22;color:var(--text);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:760;text-align:center}.analysis-display-option:hover span{border-color:#667181;background:#20252e}.analysis-display-option input:checked+span{border-color:var(--accent);background:#183224;color:#dff9e7}.analysis-display-option input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
  .relation-compare-bars{display:grid;gap:7px;width:min(100%,430px)}.relation-bar-row{display:grid;grid-template-columns:132px minmax(120px,1fr);align-items:center;gap:8px;width:100%}.relation-compare-bridge{padding-left:140px;color:var(--muted);font-size:11px;line-height:1.2;font-style:italic}.relation-compare-bridge strong{color:var(--text);font-style:normal;font-weight:800}.relation-compare-bars>.relation-verdict{justify-self:start;margin-top:3px}.relation-bar-label{color:var(--muted);font-size:11px;line-height:1.2}.relation-bar-track{height:8px;border-radius:999px;background:#272d36;overflow:hidden}.relation-bar-fill{display:block;height:100%;min-width:2px;border-radius:inherit;background:#d6dde5}.relation-bar-fill.primary.lower,.relation-bar-fill.primary.similar{background:#57b777}.relation-bar-fill.primary.higher{background:#d85f64}.relation-bar-fill.primary.insufficient{background:#808a96}.relation-bar-fill.other{background:#66717e}.relation-compare-bars .relation-compare-trend{justify-self:start;margin-top:2px}.relation-main-compare{display:grid;gap:7px;padding:9px 0 2px}.relation-main-compare-title{font-size:12px;font-weight:800;color:var(--text)}.relation-quick-overview{display:grid;grid-template-columns:max-content minmax(120px,1fr);align-items:center;gap:12px;padding:5px 0 2px}.relation-quick-overview .relation-verdict{margin:0}.relation-quick-bar{height:9px;border-radius:999px;background:#272d36;overflow:hidden}.relation-quick-bar>i{display:block;height:100%;min-width:2px;border-radius:inherit}.relation-quick-bar>i.higher{background:#d85f64}.relation-quick-bar>i.lower,.relation-quick-bar>i.similar{background:#57b777}.relation-quick-bar>i.insufficient{background:#808a96}.relation-quick-bar>i.low{background:#57b777}.relation-quick-bar>i.medium{background:#d5a84f}.relation-quick-bar>i.high{background:#d85f64}@media(max-width:560px){.relation-quick-overview{grid-template-columns:1fr}.relation-quick-bar{width:100%}}
  .relation-domain-note{margin:-4px 0 10px;color:var(--muted);font-size:11px;line-height:1.4}.relation-card-summary{display:grid;gap:5px;padding:2px 0 3px;color:var(--muted);font-size:12px;line-height:1.4}.relation-card-frequent strong{color:var(--text);font-weight:800}.relation-detail-link{appearance:none;width:max-content;max-width:100%;border:0;background:transparent;color:var(--accent);padding:2px 0;font:inherit;font-size:12px;font-weight:800;cursor:pointer;text-align:left}.relation-detail-link:hover{text-decoration:underline;text-underline-offset:3px}.relation-detail-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
  .relation-verdict{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 9px;border:1px solid var(--border);border-radius:999px;background:#11151b;font-size:13px;font-weight:800;line-height:1.15}.relation-verdict.higher{border-color:#a94343;background:#211416;color:#f08b8b}.relation-verdict.lower{border-color:#3c6049;background:#122019;color:#9bd2ad}.relation-verdict.similar{border-color:#3c6049;background:#122019;color:#9bd2ad}.relation-verdict.insufficient{border-style:dashed;color:var(--muted)}.relation-verdict.low{border-color:#3c6049;background:#122019;color:#9bd2ad}.relation-verdict.medium{border-color:#8a6b34;background:#211b11;color:#e2c276}.relation-verdict.high{border-color:#a94343;background:#211416;color:#f08b8b}.relation-verdict-count{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;padding:0;margin:0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.relation-verdict-count:hover{opacity:.78}.relation-evidence-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--muted);font-size:13px}.relation-evidence-detail{padding:0 0 2px}.relation-evidence-line strong{color:var(--text);font-weight:800}.relation-detail-compare{display:grid;gap:7px;padding:10px;border:1px solid var(--border);border-radius:12px;background:#101319}.relation-detail-compare-title{font-size:11px;color:var(--muted);font-weight:700}.relation-detail-exact{color:var(--muted);font-size:11px;line-height:1.35}.relation-detail-exact strong{color:var(--text)}.relation-simple-explain{padding:10px 11px;border:1px solid var(--border);border-radius:12px;background:#101319;color:var(--text);font-size:13px;line-height:1.45}.relation-simple-explain strong{display:block;margin-bottom:3px}.relation-detail-block-title{font-size:12px;font-weight:800;color:var(--text);margin:1px 0 6px}.relation-subdetails{border-top:1px solid var(--border);padding-top:8px}.relation-subdetails>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text);font-size:12px;font-weight:750}.relation-subdetails>summary::-webkit-details-marker{display:none}.relation-subdetails>summary::after{content:'⌄';color:var(--muted);font-size:16px}.relation-subdetails[open]>summary::after{content:'⌃'}.relation-subdetails-body{display:grid;gap:9px;padding-top:9px}.relation-reaction-list{display:grid;gap:6px}.relation-no-reaction{color:var(--muted);font-size:12px;padding:4px 0}.relation-direct-choice-list{display:grid;gap:8px}.relation-direct-choice{width:100%;display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:#11151b;color:var(--text);text-align:left;font:inherit;cursor:pointer}.relation-direct-choice:hover{border-color:#a94343;background:#181416}.relation-direct-choice time{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.relation-direct-choice strong{display:block;font-size:13px}.relation-direct-choice small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.relation-direct-choice span:last-child{color:var(--muted);font-size:18px}.relation-evidence-line .relation-window-plain{color:var(--muted)}
  @media(max-width:820px){.relation-grid{grid-template-columns:1fr}.relation-shell>summary{padding:16px}.relation-shell-body{padding:0 16px 16px}}
  @media(max-width:560px){.relation-bar-row{grid-template-columns:1fr}.relation-windows{grid-template-columns:repeat(2,minmax(0,1fr))}.relation-occurrence{grid-template-columns:74px minmax(0,1fr) auto;padding:8px}.relation-sample{white-space:normal;text-align:right}.relation-shell-title .pill{display:none}}
  /* v1.4.0 · Stress ↔ Verdauung */
  .relation-single-case{padding:8px 10px;border:1px dashed #596474;border-radius:11px;background:#11151b;color:var(--muted);font-size:11px;line-height:1.4}.relation-single-case strong{color:var(--text)}
  .relation-domain-title{display:flex;align-items:center;gap:9px;margin:18px 0 10px;font-size:15px;font-weight:820}.relation-domain-title:first-of-type{margin-top:14px}.relation-domain-title .pill{font-size:10px}.relation-domain-divider{height:1px;background:var(--border);margin:20px 0 4px}.stress-relation-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.stress-relation-card{max-width:760px}.stress-relation-details{display:grid;gap:10px}.stress-relation-exact{color:var(--muted);font-size:12px;line-height:1.45}.stress-relation-exact strong{color:var(--text)}.stress-reaction-list{display:grid;gap:6px}.stress-reaction-row{width:100%;display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 10px;border:1px solid var(--border);border-radius:12px;background:#11151b;color:inherit;text-align:left}.stress-reaction-row:hover{border-color:#596474;background:#171c23}.stress-reaction-row time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.stress-reaction-row strong{display:block;font-size:13px}.stress-reaction-row small{display:block;color:var(--muted);font-size:11px;line-height:1.35;margin-top:2px}.stress-reaction-row .relation-occurrence-arrow{justify-self:end}@media(max-width:560px){.stress-reaction-row{grid-template-columns:76px minmax(0,1fr) auto}}

@media(max-width:700px){.relation-compare-bridge{padding-left:0}.relation-bar-row{grid-template-columns:118px minmax(90px,1fr)}}
  .relation-overview-chart{margin:12px 0 13px;padding:14px 16px 12px;border:1px solid #3a424d;border-radius:16px;background:#11151b;display:grid;gap:10px;min-height:128px}.relation-overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.relation-overview-head strong{color:var(--text);font-size:12px}.relation-overview-rows{display:grid;gap:9px;min-height:74px;align-content:center}.relation-overview-row{display:grid;grid-template-columns:minmax(100px,170px) minmax(120px,1fr) 42px;gap:10px;align-items:center;min-width:0}.relation-overview-label{font-size:12px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.relation-overview-track{height:10px;border-radius:999px;background:linear-gradient(90deg,#272d36 0 49.6%,#3b434d 49.6% 50.4%,#272d36 50.4% 100%);overflow:hidden;position:relative}.relation-overview-fill{display:block;height:100%;min-width:0;border-radius:inherit;background:#7e8894}.relation-overview-fill.higher{background:#d85f64}.relation-overview-fill.lower,.relation-overview-fill.similar{background:#57b777}.relation-overview-fill.insufficient{background:#7e8894}.relation-overview-fill.low{background:#57b777}.relation-overview-fill.medium{background:#d5a84f}.relation-overview-fill.high{background:#d85f64}.relation-overview-value{font-size:11px;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.relation-overview-empty{min-height:74px;border-radius:12px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 23px,#2b323b 24px,transparent 25px);opacity:.8}.relation-overview-axis{display:grid;grid-template-columns:minmax(100px,170px) minmax(120px,1fr) 42px;gap:10px;align-items:center}.relation-overview-axis-scale{display:flex;justify-content:space-between;color:#78828e;font-size:9px}.relation-status-line{margin:4px 0 12px;color:var(--muted);font-size:13px;font-weight:750}.relation-status-line.good{color:#a9d5b6}.relation-status-line.warn{color:#d8be7a}@media(max-width:700px){.relation-overview-chart{padding:12px}.relation-overview-row,.relation-overview-axis{grid-template-columns:92px minmax(90px,1fr) 36px;gap:7px}.relation-overview-label{font-size:11px}}


  /* v1.3.14 · Arzt-Notizen + Zielmarkierung */
  /* v1.4.0 · Stress ↔ Verdauung */
  /* v1.4.1 · Arzt-Notizen: Alle Notizen + nachträglich bearbeiten */
  /* v1.4.2 · Verdauung: Geruch 5-stufig erfassen und nachträglich korrigieren */
  .doctor-notes-panel.hidden{display:none}
  .doctor-note-edit{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .doctor-note-open-arrow{flex:0 0 auto;color:var(--muted);font-size:21px;line-height:1;transition:.15s transform,.15s color}
  .doctor-note-edit:hover .doctor-note-open-arrow{color:#fff;transform:translateX(2px)}
  .topbar-tools{display:flex;align-items:center;gap:7px;justify-content:flex-end;min-width:0}
  .topbar-tools>button{position:relative;z-index:1}
  .doctor-note-btn{position:relative;width:38px;height:38px;border:1px solid var(--border);border-radius:12px;background:#171b21;color:#d2d7de;display:grid;place-items:center;cursor:pointer;padding:0;transition:.15s border-color,.15s color,.15s background}
  .doctor-note-btn:hover{border-color:#697382;color:#fff;background:#1c2128}
  .doctor-note-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .doctor-note-btn.doctor-note-labeled{width:auto;min-width:0;max-width:158px;padding:0 10px;display:flex;align-items:center;gap:7px;white-space:nowrap}.doctor-note-label{font-size:12px;font-weight:750;overflow:hidden;text-overflow:ellipsis}.topbar-tools .account-button{max-width:180px}
  .doctor-note-dot{position:absolute;right:-3px;top:-3px;min-width:13px;height:13px;border-radius:99px;background:#d85b5b;border:2px solid var(--bg);box-shadow:0 0 0 1px #8f3636}
  .doctor-note-dot.hidden{display:none}
  .doctor-notes-card{margin-bottom:18px}
  .doctor-notes-list{display:grid;gap:8px}
  .doctor-note-item{display:grid;grid-template-columns:128px minmax(0,1fr) auto;gap:12px;align-items:start;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:var(--panel3)}
  .doctor-note-item time{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
  .doctor-note-item p{margin:0;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
  .doctor-note-edit{appearance:none;border:0;background:transparent;color:var(--text);font:inherit;text-align:left;padding:0;cursor:pointer;min-width:0}
  .doctor-note-edit:hover p{color:#fff}
  .doctor-notes-empty{color:var(--muted);font-size:13px;padding:4px 0}
  .timeline-target-highlight{animation:timelineTargetPulse 2.8s ease-out}
  @keyframes timelineTargetPulse{0%,22%{box-shadow:0 0 0 2px rgba(94,201,130,.75),0 0 0 7px rgba(94,201,130,.12);background:#17251c}100%{box-shadow:0 0 0 0 rgba(94,201,130,0);background:transparent}}
  @media(max-width:760px){.doctor-note-item{grid-template-columns:1fr auto}.doctor-note-item time{grid-column:1}.doctor-note-edit{grid-column:1}.doctor-note-item>.btn{grid-column:2;grid-row:1/3}.topbar-tools{align-self:start}}

  /* v1.4.2 · Verdauung: subjektiver Geruch als 5-stufiger Einrast-Regler */
  /* v1.4.3 · Geruch direkt im Verdauungs-Dashboard; Ganz OK speichert den aktuellen Geruchswert */
  /* v0.3.32 · Verdauung vereinfacht; Ganz OK = Bristol 3–5 (geschätzt, Rechenwert 4) */
  /* v1.5.0 · Menstruation ↔ Verdauung; Status ‚Aktuell‘ statt ‚Läuft‘ */
  /* v1.5.1 · zusätzlicher Zuklapp-Punkt direkt am Beginn der Verdauungsdetails */
  .odor-control{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:#11141a}.odor-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.odor-head strong{font-size:14px}.odor-value{font-size:13px;font-weight:800;color:var(--accent);text-align:right}.odor-slider{width:100%;margin:2px 0 0;accent-color:var(--accent);cursor:pointer}.odor-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;color:var(--muted);font-size:10px;line-height:1.2;text-align:center}.odor-scale span:first-child{text-align:left}.odor-scale span:last-child{text-align:right}.odor-editor{margin-top:2px}@media(max-width:560px){.odor-control{padding:11px 12px}.odor-scale{font-size:9px;gap:3px}.odor-value{max-width:45%}}

  /* v1.7.0 · integrierter Demo-Modus mit getrenntem Datenbereich */
  .demo-mode-badge{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 10px;border-radius:999px;border:1px solid #cda94e;background:#332b16;color:#f6d574;font-size:11px;font-weight:900;letter-spacing:.08em}
  .demo-mode-badge.hidden{display:none}
  .demo-mode-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:11px 14px;border:1px dashed #8d7638;border-radius:16px;background:#211c10;color:#e9ddb8;font-size:12px;line-height:1.45}
  .demo-mode-notice.hidden{display:none}
  .demo-mode-notice strong{color:#f7df8a;font-size:13px}
  .demo-mode-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
  .demo-mode-actions .btn{white-space:nowrap}
  body.demo-mode .event,
  body.demo-mode .digitem,
  body.demo-mode .food-row:not(.head),
  body.demo-mode .fav,
  body.demo-mode .dish,
  body.demo-mode .meditem,
  body.demo-mode .health-record,
  body.demo-mode .doctor-note-item,
  body.demo-mode .shopping-item{box-shadow:inset 3px 0 0 rgba(246,213,116,.58)}
  .demo-profile-panel{padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:#11141a}
  .demo-profile-panel strong{display:block;margin-bottom:4px}
  .demo-profile-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
  .profile-data-security{border:1px solid var(--border);border-radius:14px;background:#11141a;overflow:hidden}.profile-data-security>summary{list-style:none;cursor:pointer;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-data-security>summary::-webkit-details-marker,.profile-advanced>summary::-webkit-details-marker{display:none}.profile-data-security>summary:after,.profile-advanced>summary:after{content:'⌄';color:var(--muted);font-size:16px}.profile-data-security[open]>summary:after,.profile-advanced[open]>summary:after{content:'⌃'}.profile-data-security>summary span{display:grid;gap:2px}.profile-data-security>summary strong{font-size:14px}.profile-data-security>summary small{color:var(--muted);font-size:11px;font-weight:500}.profile-data-security-body{display:grid;gap:10px;padding:0 14px 14px}.profile-security-note{display:grid;gap:3px;padding:10px 11px;border:1px solid var(--border);border-radius:12px;background:var(--panel3)}.profile-security-note strong{font-size:12px}.profile-security-note span{color:var(--muted);font-size:11px;line-height:1.4}.profile-advanced{border-top:1px solid var(--border);padding-top:2px}.profile-advanced>summary{list-style:none;cursor:pointer;padding:10px 2px;color:var(--muted);font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:space-between}.profile-advanced-body{display:grid;gap:7px;padding:0 0 4px}.profile-advanced-body .btn{justify-self:start}
  .demo-home-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:14px 16px;border:1px solid #355f91;border-radius:16px;background:#101a27;color:var(--text)}
  .demo-home-cta.hidden{display:none}
  .demo-home-cta-copy{display:grid;gap:3px;min-width:0}
  .demo-home-cta-copy strong{font-size:14px}
  .demo-home-cta-copy span{color:var(--muted);font-size:12px;line-height:1.4}
  .btn.demo-blue{border-color:#4d84c4;background:#173354;color:#dcecff;font-weight:800;white-space:nowrap}
  .btn.demo-blue:hover{border-color:#74aaf0;background:#1d416a}
  .start-mode-modal .modal-card{width:min(760px,100%);padding:24px}
  .start-mode-intro{font-size:16px;line-height:1.5;color:var(--text);margin:0}
  .start-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
  .start-mode-choice{display:grid;gap:8px;align-content:start;text-align:left;padding:18px;border:1px solid var(--border);border-radius:18px;background:var(--panel3);color:var(--text);cursor:pointer;transition:.15s border-color,.15s background,.15s transform}
  .start-mode-choice:hover{border-color:#667180;background:#1d222a;transform:translateY(-1px)}
  .start-mode-choice.primary-choice{border-color:#4d785b;background:#142019}
  .start-mode-choice.primary-choice:hover{border-color:var(--accent);background:#18271e}
  .start-mode-choice strong{font-size:18px}
  .start-mode-choice span{color:var(--muted);font-size:13px;line-height:1.45}
  .start-mode-foot{margin-top:14px;color:var(--muted);font-size:12px;line-height:1.45}
  @media(max-width:760px){.demo-mode-notice{align-items:flex-start;flex-direction:column}.demo-mode-actions{justify-content:flex-start}.demo-home-cta{align-items:flex-start;flex-direction:column}.start-mode-grid{grid-template-columns:1fr}.start-mode-modal .modal-card{padding:18px}}


  /* DarmLogic Online v0.2.25 · Account, Auth und Synchronisationsstatus */
  body.online-locked{overflow:hidden}
  body.online-locked>.app{display:none}
  .auth-gate{position:fixed;inset:0;z-index:500;background:var(--bg);display:grid;place-items:center;padding:20px;overflow:auto}
  .auth-gate.hidden{display:none}
  .auth-shell{width:min(1380px,100%);min-height:0;display:grid;grid-template-rows:auto auto;gap:18px;align-content:start}
  .auth-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:8px 2px}.auth-page-head h1{margin:0;font-size:clamp(42px,6vw,72px);letter-spacing:-.045em}.auth-page-head p{margin:6px 0 0;color:var(--muted);font-size:18px}.auth-version{padding:10px 16px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:14px;white-space:nowrap}
  .auth-center{display:grid;place-items:start center;padding:4px 0 28px}.auth-card{width:min(650px,100%);background:var(--panel);border:1px solid var(--border);border-radius:28px;padding:26px;box-shadow:var(--shadow)}
  .auth-card h2{margin:0 0 18px;font-size:28px}.auth-test-note{margin-bottom:18px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 16px}.auth-tab{border:1px solid var(--border);background:#11141a;color:var(--text);padding:11px 12px;border-radius:13px;font-weight:750}.auth-tab.active{background:var(--accent);border-color:var(--accent);color:#08210f}
  .auth-actions{display:grid;gap:9px;margin-top:4px}.auth-actions .btn{width:100%;min-height:50px}.auth-link{border:0;background:transparent;color:var(--muted);padding:8px;cursor:pointer}.auth-link:hover{color:var(--text);text-decoration:underline}.auth-demo-separator{display:flex;align-items:center;gap:10px;margin:10px 0 8px;color:var(--muted);font-size:11px}.auth-demo-separator::before,.auth-demo-separator::after{content:"";height:1px;flex:1;background:var(--border)}.auth-demo-button{width:100%;min-height:50px;border-color:#4d84c4;background:#173354;color:#dcecff;font-weight:850}.auth-demo-button:hover{border-color:#74aaf0;background:#1d416a}.auth-demo-note{margin-top:8px;text-align:center;color:var(--muted);font-size:11px;line-height:1.4}.auth-message{min-height:20px;margin-top:12px;color:var(--muted);font-size:13px;line-height:1.45}.auth-message.error{color:#ffb1b1}.auth-message.success{color:#bff0cc}.auth-config-note{margin-bottom:14px}.auth-recovery{display:grid;gap:12px}.auth-recovery.hidden,.auth-main.hidden{display:none!important}
  .account-button{height:38px;max-width:270px;border:1px solid var(--border);border-radius:12px;background:#171b21;color:#d2d7de;display:flex;align-items:center;gap:8px;padding:0 10px;cursor:pointer;min-width:0}.account-button:hover{border-color:#697382;color:#fff;background:#1c2128}.account-button #accountButtonText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750;min-width:0}.account-dot{width:9px;height:9px;border-radius:50%;background:#6f7884;flex:0 0 9px;box-shadow:0 0 0 1px rgba(255,255,255,.08) inset}.account-button.synced .account-dot{background:var(--accent);box-shadow:0 0 0 3px rgba(116,216,157,.15)}.account-button.demo .account-dot,.account-button.offline .account-dot{background:#798290;box-shadow:0 0 0 1px rgba(255,255,255,.08) inset}.account-status-tag{font-size:9px;font-weight:850;letter-spacing:.04em;color:#9da5af;white-space:nowrap;flex:0 0 auto}.account-status-tag.hidden{display:none}
  .persistent-demo-badge{height:30px;padding:0 11px;border-radius:999px;border:1px solid #a98630;background:#282313;color:#f2d272;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;letter-spacing:.08em;white-space:nowrap}.persistent-demo-badge.hidden{display:none}
  .account-summary{display:grid;gap:12px}.account-email{padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:#11141a;overflow-wrap:anywhere}.sync-state{display:none;align-items:flex-start;gap:7px;padding:8px 10px;border:1px solid var(--border);border-radius:12px;background:#11141a;color:var(--muted)}.sync-state.error{display:flex;border-color:#6d4a4a;background:#1b1313}.sync-state-dot{width:6px;height:6px;border-radius:50%;background:var(--danger);margin-top:6px;flex:0 0 6px}.sync-state strong{display:block;font-size:12px;font-weight:750;color:var(--text)}.sync-state small{display:block;color:var(--muted);margin-top:1px;line-height:1.35;font-size:10px}.account-note{font-size:12px;color:var(--muted);line-height:1.45}.account-actions{display:grid;gap:10px}.account-logout{min-height:48px;font-size:16px;font-weight:850;border-color:#697382;background:#252a33;color:var(--text)}.account-logout:hover{background:#2d333d;border-color:#8994a3}.account-danger-zone{margin-top:4px;padding-top:14px;border-top:1px solid var(--border)}.account-delete-btn{width:100%;min-height:44px}.profile-account-danger{display:grid;gap:9px}.profile-account-danger.hidden{display:none}.profile-account-danger .btn{width:100%}.delete-account-confirm{display:grid;gap:12px}.delete-account-warning{border:1px solid #6d4a4a;background:#1b1313;border-radius:14px;padding:14px;line-height:1.45}.delete-account-warning strong{display:block;margin-bottom:4px}.delete-account-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media(max-width:560px){.delete-account-actions{grid-template-columns:1fr}}
  @media(max-width:760px){.auth-card{padding:20px}.auth-page-head{align-items:flex-start}.auth-page-head p{font-size:14px}.auth-version{font-size:11px;padding:8px 10px}.account-button{max-width:190px}.topbar-tools{gap:6px}}


  /* Online v0.2.11 · Gewicht: eindeutige Speicherbestätigung + direkt bearbeitbare Historie */
  #saveWeight.weight-saved{opacity:1!important;background:#152019!important;border-color:#41644c!important;color:var(--accent)!important;cursor:default}
  #saveWeight.weight-save-error{opacity:1!important;background:#2a1717!important;border-color:#8d4545!important;color:#ffd5d5!important}
  .weight-history-event{grid-template-columns:minmax(0,1fr) auto;align-items:center}
  .weight-history-open{appearance:none;width:100%;display:grid;grid-template-columns:88px 42px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;padding:7px 9px;margin:-7px 0;text-align:left;cursor:pointer;font:inherit}
  .weight-history-open:hover{background:#1b1f26;border-color:#303640}
  .weight-history-open:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  .weight-history-open .event-text strong{display:block}
  .weight-history-arrow{color:var(--muted);font-size:21px;line-height:1;transition:.15s transform,.15s color}
  .weight-history-open:hover .weight-history-arrow{color:var(--text);transform:translateX(2px)}
  @media(max-width:760px){.weight-history-open{grid-template-columns:64px 34px minmax(0,1fr) auto}.weight-day-entry-row{grid-template-columns:minmax(0,1fr) 54px}}


  /* Online v0.2.16 · UX-/Mobilrunde */
  html,body{max-width:100%;overflow-x:hidden}
  .app,main,.screen,.card,.grid2,.grid3,.section-title>*{min-width:0}
  @media(max-width:820px){.grid2,.grid3{grid-template-columns:minmax(0,1fr)}}
  @media(max-width:520px){.app{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.card{padding:16px}.section-title{align-items:flex-start;flex-wrap:wrap}.row>*{min-width:0}.number-control{grid-template-columns:50px minmax(0,1fr) 50px}.number-control input{min-width:0}.odor-scale span{overflow-wrap:anywhere}.topnav{width:100%}}

  .modal-head .btn.icon{width:48px;height:48px;min-width:48px;border-radius:15px;font-size:25px;line-height:1;font-weight:650}
  .modal-head .btn.icon:hover{background:#2b313a;border-color:#687483;color:#fff}
  @media(max-width:760px){.modal{padding:10px}.modal-card{padding:16px;border-radius:20px;max-height:94vh}.modal-head .btn.icon{width:50px;height:50px;min-width:50px;font-size:27px}}

  .food-header-actions .food-section-action{background:transparent!important;border-color:rgba(116,227,154,.62)!important;color:var(--text)!important;font-weight:700}
  .food-header-actions .food-section-action:hover{background:#252a32!important;border-color:rgba(116,227,154,.82)!important;color:#fff!important}

  .demo-mode-badge{cursor:pointer;gap:7px;background:#332b16;font:inherit}
  .demo-mode-badge:hover{background:#40351a;border-color:#e1bd59;color:#ffe58c}
  .demo-badge-action{padding-left:7px;border-left:1px solid rgba(246,213,116,.35);font-weight:750;letter-spacing:0;text-transform:none}
  @media(max-width:760px){.topbar-tools{flex-wrap:wrap}.demo-mode-badge{height:32px}.demo-badge-action{font-size:10px}.badge{max-width:100%;overflow:hidden;text-overflow:ellipsis}}

  .body-weight-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr)}
  .weight-input-label{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.01em;margin-bottom:-4px;transition:.15s color}
  .weight-input-label.is-new{color:#c7cdd5}
  .body-weight-entry .number-control{margin-top:0}
  .weight-save-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
  .weight-last-value{min-height:104px;padding:15px 16px;border:1px solid var(--border);border-radius:16px;background:#11141a;margin-bottom:10px}
  .weight-last-value .weight-last-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px;margin-bottom:8px}
  .weight-last-open{appearance:none;width:100%;border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
  .weight-last-open strong{font-size:28px;letter-spacing:-.02em}.weight-last-open small{display:block;color:var(--muted);margin-top:4px}.weight-last-open .weight-history-arrow{font-size:24px}
  .weight-last-open:hover .weight-history-arrow{color:var(--accent);transform:translateX(2px)}
  .weight-all-values summary{font-weight:700}.weight-full-chart{margin-top:16px;width:100%}
  @media(max-width:760px){.body-weight-layout{grid-template-columns:minmax(0,1fr)}.weight-last-value{margin-top:4px}.weight-save-actions{width:100%}.weight-save-actions .btn{flex:1}}

  .postmeal-panel{border-color:#4b5562;box-shadow:inset 3px 0 0 rgba(255,210,122,.55)}
  .field-help{display:block;color:var(--muted);font-size:11px;line-height:1.35;margin-top:5px}
  .dish-kcal-warning{appearance:none;border:0;background:rgba(255,210,122,.10);color:var(--warn);padding:2px 6px;border-radius:7px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;vertical-align:baseline}
  .dish-kcal-warning:hover{background:rgba(255,210,122,.18);text-decoration:underline;text-underline-offset:2px}


  /* Online v0.2.25 · Inline-Gerichte und „Was steht an?“ */
  .auth-password-field{position:relative;display:block}.auth-password-field input{width:100%;padding-right:52px}.password-visibility{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:11px;background:transparent;color:var(--muted);font-size:20px;cursor:pointer;display:grid;place-items:center}.password-visibility:hover,.password-visibility.active{background:#252a32;color:var(--text)}.password-visibility:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
  .home-start-card{margin:18px 0 0;border:1px solid var(--border);border-radius:22px;background:linear-gradient(180deg,var(--panel),#15181d);box-shadow:var(--shadow);overflow:hidden}.home-start-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid var(--border)}.home-start-row>div{display:grid;gap:3px;min-width:0}.home-start-row strong{font-size:15px}.home-start-row span{color:var(--muted);font-size:12px;line-height:1.4}.home-start-primary .btn{white-space:nowrap}.home-account-row{justify-content:flex-start}.home-account-row .sandbox-privacy-icon{margin-right:2px}.home-demo-row{background:#101a27;border-bottom-color:#294c72}.home-demo-row.hidden{display:none}.home-start-footer{display:flex;justify-content:flex-end;padding:12px 18px}.home-start-footer .btn{background:transparent}.about-modal-card{width:min(900px,100%)}.modal-about-content{padding:0;border-top:0}.modal-about-content>.transparency-card{margin-top:10px}.modal-about-content .about-grid{margin-bottom:14px}.about-modal-head-simple{justify-content:flex-end;min-height:48px}.about-quick-list{list-style:none;padding:0;margin:4px 0 14px;display:grid;gap:10px}.about-quick-list>li{padding:11px 13px;border:1px solid var(--border);border-radius:14px;background:var(--panel3);line-height:1.45}.about-quick-list strong{color:var(--text)}.dictation-help{margin-top:7px}.dictation-help>summary{cursor:pointer;color:var(--accent);font-size:13px;font-weight:750;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.dictation-help>summary::-webkit-details-marker{display:none}.dictation-help .dictation-arrow{color:var(--accent);font-size:18px;line-height:1;transition:.15s transform,.15s color;flex:0 0 auto}.dictation-help>summary:hover .dictation-arrow{transform:translateX(2px)}.dictation-help[open]>summary .dictation-arrow{transform:rotate(90deg)}.dictation-platforms{margin:8px 0 0;padding-left:18px;color:var(--muted);font-size:12px;line-height:1.5}.dictation-platforms li{margin:4px 0}.about-privacy-short{padding:12px 14px;border:1px solid #3d5b49;border-radius:14px;background:#142019;line-height:1.5;margin:12px 0 14px}.about-privacy-short strong{color:#d8f7e2}
  .page-link-action{background:transparent!important;border-color:rgba(116,227,154,.62)!important;color:var(--text)!important;font-weight:700}.page-link-action:hover{background:#252a32!important;border-color:rgba(116,227,154,.9)!important;color:#fff!important}.page-link-action.active{background:#142019!important;border-color:var(--accent)!important;color:#dff8e7!important}
  .shopping-share-status:empty{display:none}.shopping-share-status{padding:12px 14px;border:1px solid #41644c;border-radius:15px;background:#142019}.shopping-share-status strong{display:block}.shopping-share-status span{display:block;color:var(--muted);font-size:12px;line-height:1.4;margin-top:3px}
  .household-invite-link{appearance:none;border:0;background:transparent;color:var(--accent);padding:0;font:inherit;font-weight:750;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(116,227,154,.45);text-underline-offset:3px}.household-invite-link:hover{color:#a2f0ba;text-decoration-color:currentColor}.household-invite-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.shopping-add-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:14px;align-items:end;margin:14px 0 4px}.shopping-free-entry-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.shopping-add-actions{display:grid;gap:10px;align-content:end}.shopping-add-actions .btn{width:100%;min-height:48px;justify-content:center;background:#182019;border-color:#4f8f64;color:#eef8f1;font-weight:750}.shopping-add-actions .btn:hover{background:#1d2921;border-color:#74e39a;color:#fff}.shopping-add-actions .btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shopping-custom-error{display:block;margin-top:6px;color:#ffb7b7;font-size:12px;font-weight:700;line-height:1.35}.shopping-custom-error.hidden{display:none}.shopping-custom-input-error{border-color:#c66!important;box-shadow:0 0 0 2px rgba(204,102,102,.10)!important}.shopping-picker-card{width:min(720px,100%)}.shopping-picker-tabs{display:flex;gap:8px;flex-wrap:wrap}.shopping-picker-tab{border:1px solid var(--border);background:var(--panel3);color:var(--text);border-radius:999px;padding:10px 14px;font-weight:750;cursor:pointer}.shopping-picker-tab.active{border-color:var(--accent);background:#142019;color:var(--accent)}.shopping-picker-list{display:grid;gap:8px;max-height:50vh;overflow:auto;padding:2px}.shopping-picker-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:var(--panel3)}.shopping-picker-item strong{display:block}.shopping-picker-item small{display:block;color:var(--muted);margin-top:3px;line-height:1.35}.shopping-picker-item .btn{white-space:nowrap}@media(max-width:620px){.shopping-add-layout{grid-template-columns:1fr}.shopping-add-actions{grid-template-columns:1fr}.shopping-picker-tabs{display:grid;grid-template-columns:1fr 1fr 1fr}.shopping-picker-tab{padding:9px 7px;font-size:12px}.shopping-picker-item{grid-template-columns:1fr}.shopping-picker-item .btn{width:100%}}.shopping-sync-card{border:1px solid #41644c;background:#111a14;padding:16px;border-radius:16px;display:grid;gap:12px}.shopping-sync-card.inactive{border-color:var(--border);background:var(--panel3)}.shopping-sync-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.shopping-sync-head strong{font-size:17px}.shopping-sync-actions{display:flex;gap:8px;flex-wrap:wrap}.shopping-sync-meta{color:var(--muted);font-size:12px;line-height:1.45;margin-top:4px}.shopping-sync-pending{margin-top:9px;padding:8px 10px;border:1px solid #5c5538;border-radius:10px;background:#19170f;color:#e3d7a4;font-size:12px;line-height:1.45}.shopping-sync-pending strong{color:var(--text)}.shopping-sync-pending span{color:var(--muted)}.shopping-sync-state{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:850;line-height:1.2}.shopping-sync-state.on{color:var(--accent)}.shopping-sync-state.off{color:var(--text)}.shopping-sync-state-dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex:0 0 auto}.shopping-sync-state.on .shopping-sync-state-dot{background:var(--accent);box-shadow:0 0 0 3px rgba(116,227,154,.10)}.shopping-sync-state.off .shopping-sync-state-dot{border:2px solid #7f8997;background:transparent}.shopping-sync-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #41644c;border-radius:999px;color:var(--accent);font-size:11px;font-weight:800}.shopping-sync-badge.off{border-color:var(--border);color:var(--muted)}.shopping-invite-link{word-break:break-all;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;padding:10px 11px;border:1px solid var(--border);border-radius:12px;background:#0f1217}.shopping-danger-note{border-color:#6d4a4a;background:#1b1313}.shopping-live-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block}.shopping-live-dot.loading{background:#f5c56d}.shopping-live-dot.error{background:#ff7d7d}
  .dish-consume-card{width:min(760px,100%)}.dish-consume-list{display:grid;gap:9px;margin:14px 0}.dish-consume-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 13px;border:1px solid var(--border);border-radius:15px;background:#11141a}.dish-consume-row strong{display:block}.dish-consume-row small{display:block;color:var(--muted);margin-top:3px;line-height:1.35}.dish-consume-qty{display:grid;grid-template-columns:46px 82px 46px;gap:7px;align-items:center}.dish-consume-qty button{height:44px;padding:0;font-size:22px}.dish-consume-qty input{height:44px;text-align:center;padding:7px}.dish-consume-changed{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;margin-top:10px;border:1px solid #66582f;border-radius:14px;background:#241f12;color:#f1ddb0;font-size:12px}.dish-consume-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}.dish-consume-actions .btn.primary{min-height:50px;flex:1}.dish-consume-empty{padding:16px;border:1px dashed var(--border);border-radius:14px;color:var(--muted);text-align:center}
  .dish-inline-ingredients{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:5px}.dish-inline-ingredient{appearance:none;border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;line-height:1.3;min-height:34px;padding:6px 7px;border-radius:8px;cursor:pointer}.dish-inline-ingredient:hover{background:#252a32;color:var(--text)}.dish-inline-ingredient.changed{color:var(--accent);font-weight:800}.dish-inline-sep{color:#5c6571;font-size:11px}.dish-inline-control{display:inline-flex;align-items:center;gap:4px;border:1px solid #4d5866;border-radius:10px;background:#151920;padding:2px 4px}.dish-inline-control .dish-inline-step{width:38px;height:38px;padding:0;border:0;border-radius:7px;background:#252a32;color:var(--text);font-size:18px;line-height:1;cursor:pointer}.dish-inline-control .dish-inline-step:hover{background:#313844}.dish-inline-control .dish-inline-value{min-width:26px;text-align:center;color:var(--text);font-weight:850;font-variant-numeric:tabular-nums}.dish-inline-control .dish-inline-name{color:var(--muted);font-size:12px;margin:0 3px 0 1px}.dish-inline-reset{appearance:none;border:0;background:transparent;color:var(--muted);font:inherit;font-size:11px;padding:2px 4px;border-radius:7px;cursor:pointer}.dish-inline-reset:hover{color:var(--accent);background:#142019}.dish-inline-hint{color:#7f8996;font-size:10px;margin-top:2px}.dish-standard-kcal{display:block;color:var(--muted);font-size:11px;margin-top:1px}.dish-today-adjusted{margin-top:8px;padding:7px 9px;border-left:2px solid rgba(111,227,156,.55);background:rgba(111,227,156,.055);border-radius:0 9px 9px 0}.dish-today-label{font-size:10px;font-weight:850;color:var(--accent);margin-bottom:1px}.dish-today-adjusted .dish-inline-ingredients{margin-top:0}.dish-today-kcal{font-size:11px;color:var(--text);margin-top:2px;font-weight:750}.dish-today-diff{color:var(--muted);font-weight:650}.dish-adjusted-today{display:inline-flex;align-items:center;white-space:nowrap;padding:5px 8px;border-radius:999px;border:1px solid rgba(255,210,122,.42);background:rgba(255,210,122,.08);color:var(--warn);font:inherit;font-size:10px;font-weight:850;line-height:1;cursor:pointer}.dish-adjusted-today:hover{background:rgba(255,210,122,.16);border-color:rgba(255,210,122,.72);text-decoration:underline;text-underline-offset:2px}.dish-adjusted-today:focus-visible{outline:2px solid var(--warn);outline-offset:2px}.ingredient-kcal-missing{appearance:none;border:0;background:rgba(255,210,122,.10);color:var(--warn);padding:2px 6px;border-radius:7px;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.ingredient-kcal-missing:hover{background:rgba(255,210,122,.18);text-decoration:underline;text-underline-offset:2px}
  .reminder-ticker-label{text-transform:none}.reminder-ticker-item{display:inline-flex;align-items:center;gap:5px;margin-right:28px}.reminder-ticker-status{font-weight:850}.reminder-ticker-item.overdue .reminder-ticker-status{color:var(--warn)}.reminder-ticker-item.today .reminder-ticker-status{color:var(--accent)}.reminder-ticker-item.upcoming .reminder-ticker-status{color:#aeb6c2}.reminder-item.upcoming .reminder-item-date{color:#aeb6c2}
  @media(max-width:760px){.dish{grid-template-columns:1fr}.dish>.fav-actions{justify-content:flex-start}.dish .consume-btn{min-width:150px}.home-start-row{align-items:flex-start;flex-direction:column}.home-start-row .btn{width:100%}.home-account-row{display:grid;grid-template-columns:32px minmax(0,1fr);flex-direction:initial}.home-start-footer{justify-content:stretch}.home-start-footer .btn{width:100%}.dish-consume-row{grid-template-columns:1fr}.dish-consume-qty{grid-template-columns:52px minmax(90px,1fr) 52px}.dish-consume-actions{flex-direction:column;align-items:stretch}.dish-consume-actions .btn{width:100%}.dish-consume-changed{align-items:flex-start;flex-direction:column}.dish-consume-changed .btn{width:100%}}

  /* DarmLogic Online v0.2.25 · Anwendung hervorheben + fokussierte angepasste Verzehre */
  .home-info-footer{justify-content:flex-end;align-items:stretch;background:linear-gradient(180deg,rgba(111,227,156,.025),rgba(111,227,156,.055));padding:14px 18px}
  .home-info-footer .home-application-button{display:flex;align-items:center;justify-content:center;min-width:330px;min-height:58px;padding:10px 22px;background:var(--accent)!important;border-color:var(--accent)!important;color:#07180c!important;box-shadow:0 8px 24px rgba(111,227,156,.10);text-align:center}
  .home-info-footer .home-application-button:hover{filter:brightness(1.06);transform:translateY(-1px)}
  .home-account-row{display:grid;grid-template-columns:32px minmax(0,1fr) 48px;align-items:center;justify-content:initial}
  .home-account-row .home-legal-button{display:flex;align-items:center;justify-content:center;width:48px!important;min-width:48px;min-height:48px;padding:0;border-color:var(--border);background:var(--panel3)!important;color:var(--text)!important;font-size:21px;font-weight:850;line-height:1;box-shadow:none}
  .home-account-row .home-legal-button:hover{border-color:var(--accent);color:var(--accent)!important;transform:translateY(-1px)}
  .home-application-title{font-size:18px;font-weight:900;letter-spacing:-.01em}
  .adjusted-dish-card{width:min(760px,100%)}.adjusted-dish-list{display:grid;gap:10px}.adjusted-dish-entry{width:100%;appearance:none;border:1px solid #66582f;border-radius:16px;background:#1c1911;color:var(--text);padding:13px 14px;text-align:left;font:inherit;cursor:pointer}.adjusted-dish-entry:hover{border-color:rgba(255,210,122,.78);background:#242014}.adjusted-dish-entry:focus-visible{outline:2px solid var(--warn);outline-offset:2px}.adjusted-dish-entry-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.adjusted-dish-entry-head>span{color:var(--warn);font-size:12px;font-weight:850}.adjusted-dish-entry-label{display:block;color:var(--accent);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.adjusted-dish-entry-line{display:block;margin-top:3px;font-size:13px;line-height:1.45}.adjusted-dish-entry-kcal{display:block;color:var(--text);font-size:11px;font-weight:750;margin-top:3px}.adjusted-dish-entry-standard{display:block;border-top:1px solid #3b3523;margin-top:9px;padding-top:8px;color:var(--muted);font-size:11px;line-height:1.45}.adjusted-dish-entry-standard b{color:#d7c99d}
  @media(max-width:760px){.home-info-footer{display:flex}.home-info-footer .home-application-button{width:100%;min-width:0}.home-account-row{grid-template-columns:32px minmax(0,1fr) 46px}.home-account-row .home-legal-button{width:46px!important;min-width:46px;min-height:46px}.adjusted-dish-entry-head{align-items:flex-start}}

  /* Sandbox v1.9.38 · Demo-Zugang bewusst unaufdringlich */
  .home-demo-bottom{margin-top:22px;padding-top:14px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;gap:10px;color:var(--muted);font-size:12px}.home-demo-bottom strong{color:#e5c96c}.home-demo-bottom .demo-mode-actions{display:flex;gap:8px;flex-wrap:wrap}.home-demo-bottom #homeOpenDemo{border-color:#8d7638;background:#211c10;color:#f3d878;font-weight:800}.home-demo-bottom #homeOpenDemo:hover{border-color:#c7a94d;background:#2b2412;color:#ffe59a}@media(max-width:680px){.home-demo-bottom{justify-content:flex-start;flex-wrap:wrap}}

  .demo-mode-badge.demo-entry{height:30px;padding:0 10px;border-color:#3d4550;background:#15191f;color:#929ba7;font-size:11px;font-weight:750;letter-spacing:0;text-transform:none}
  .demo-mode-badge.demo-entry:hover{border-color:#626d7a;background:#1b2027;color:#d6dbe2}
  .demo-mode-badge.demo-entry.is-demo{border-color:#9f8136;background:#282313;color:#e9ca72;font-weight:850;letter-spacing:.05em;text-transform:uppercase}

  /* Sandbox v1.9.37 · UI-Bereinigung */
  .auth-shell{width:min(980px,100%);gap:10px}
  .auth-page-head{padding:2px 4px 0}.auth-page-head h1{font-size:clamp(34px,5vw,54px)}.auth-page-head p{font-size:15px}
  .auth-center{padding:0 0 18px}.auth-card{position:relative;width:min(540px,100%);padding:20px 22px;border-radius:24px}
  .auth-card h2{font-size:25px;margin-bottom:13px}.auth-test-note{margin-bottom:12px;padding:10px 12px;font-size:12px}
  .auth-close{position:absolute;top:12px;right:12px;z-index:2;width:42px;height:42px;border-radius:13px;font-size:24px}
  .auth-close.hidden{display:none}
  input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;width:21px;height:21px;cursor:pointer;opacity:.9;background:linear-gradient(45deg,transparent 44%,#9aa2ad 44%,#9aa2ad 56%,transparent 56%),linear-gradient(-45deg,transparent 44%,#9aa2ad 44%,#9aa2ad 56%,transparent 56%);background-size:100% 100%;background-repeat:no-repeat}
  input[type="search"]::-webkit-search-cancel-button:hover{opacity:1;transform:scale(1.08)}
  .timeline-search-status:empty{display:none}
  .timeline-json-export{display:flex;justify-content:flex-end;margin-top:14px}.timeline-json-export .btn{padding:6px 9px;font-size:11px;color:var(--muted);background:transparent;border-color:#3a414c}
  .timeline-json-export .btn:hover{color:var(--text);border-color:#626c79;background:#181c22}
  .calorie-auto-hints{display:grid;gap:5px;margin-top:-3px;padding:2px 1px;color:var(--muted);font-size:12px}.calorie-auto-hints strong{color:#d7dbe1;font-weight:700}.calorie-chart-link{appearance:none;border:0;background:transparent;color:var(--accent);padding:3px 0 0;text-align:left;font:inherit;font-weight:800;cursor:pointer;width:max-content}.calorie-chart-link:hover{text-decoration:underline}.calorie-chart-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
  .menstruation-head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.menstruation-head-actions .menstruation-hide{padding:10px 14px;font-size:13px;font-weight:800;color:var(--text);background:#252b34;border-color:#657080;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
  .menstruation-head-actions .menstruation-hide:hover{color:#fff;border-color:#8a95a3;background:#2d343e}
  .menstruation-head-actions .menstruation-hide:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  .profile-account-danger{margin-top:-2px}.profile-account-danger .btn{margin-top:2px}
  @media(max-width:760px){.auth-gate{padding:10px 12px;place-items:start center}.auth-shell{gap:8px}.auth-page-head{padding-top:2px}.auth-page-head h1{font-size:34px}.auth-page-head p{font-size:12px}.auth-card{padding:18px 16px}.auth-close{top:8px;right:8px}}

  .demo-bottom-button{border-color:#a87d1c!important;background:rgba(168,125,28,.13)!important;color:#f1cf6a!important}
  .demo-bottom-button:hover{background:rgba(168,125,28,.20)!important}

  /* v1.9.61 · ruhige Startseite + einheitliche Auf-/Zuklapp-Details */
  .home-start-compact{display:grid;gap:0}.home-start-actions{padding:16px 18px;display:flex;justify-content:flex-end}.home-food-setup-button{min-width:min(360px,100%)}.home-start-compact .home-info-footer{border-top:1px solid var(--border)}
  .about-legal-link{display:flex;justify-content:flex-end;margin-top:12px}.about-legal-link .btn{min-width:150px}
  details.dl-disclosure>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;user-select:none;-webkit-user-select:none}
  details.dl-disclosure>summary::-webkit-details-marker{display:none}
  details.dl-disclosure>summary::after{content:'⌄';color:var(--muted);font-size:18px;line-height:1;flex:0 0 auto;transition:transform .15s ease}
  details.dl-disclosure[open]>summary::after{content:'⌃'}
  .relation-details.dl-disclosure{margin-top:2px;border-top:1px solid var(--border);padding-top:0}
  .relation-details.dl-disclosure>summary{padding:12px 0 2px;font-size:13px;font-weight:800;color:var(--text)}
  .relation-details.dl-disclosure>summary::after{font-size:17px}
  @media(max-width:620px){.home-start-actions{padding:14px}.home-food-setup-button{width:100%;min-width:0}.home-start-footer{padding:10px 14px}}

  /* Online v0.3.32 · Zusammenhänge: organisches Schnellbild / DarmLogic-Blüte */
  .relation-bloom-card{margin:12px 0 14px;padding:14px 16px 12px;border:1px solid #3a424d;border-radius:18px;background:radial-gradient(circle at 50% 48%,rgba(116,227,154,.055),transparent 34%),#11151b;overflow:hidden}
  .relation-bloom-head{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:6px;color:var(--muted);font-size:11px}.relation-bloom-head .relation-window-picker{gap:6px}.relation-bloom-head .relation-window-choice{padding:6px 10px}.relation-bloom-svg{display:block;width:100%;height:auto;max-height:420px;min-height:250px}.relation-bloom-center{fill:#17211b;stroke:#74e39a;stroke-width:2.2}.relation-bloom-center-ring{fill:none;stroke:rgba(116,227,154,.20);stroke-width:14}.relation-bloom-center-label{fill:#eef4f0;font-size:19px;font-weight:850;text-anchor:middle;pointer-events:none}.relation-bloom-center-sub{fill:#91a197;font-size:10px;font-weight:700;text-anchor:middle;pointer-events:none}
  .relation-bloom-node{cursor:pointer;outline:none}.relation-bloom-node circle{stroke-width:2.2;transition:filter .15s ease,stroke-width .15s ease,opacity .15s ease}.relation-bloom-node:hover circle,.relation-bloom-node:focus-visible circle{filter:brightness(1.15);stroke-width:3.6}.relation-bloom-node.low circle{fill:rgba(87,183,119,.28);stroke:#57b777}.relation-bloom-node.medium circle{fill:rgba(213,168,79,.28);stroke:#d5a84f}.relation-bloom-node.high circle{fill:rgba(216,95,100,.30);stroke:#d85f64}.relation-bloom-node.insufficient circle{fill:rgba(126,136,148,.18);stroke:#7e8894;stroke-dasharray:5 4}.relation-bloom-node-label{fill:#f1f4f2;font-size:13px;font-weight:820;text-anchor:middle;pointer-events:none}.relation-bloom-node-count{fill:#c2c9c5;font-size:9px;font-weight:700;text-anchor:middle;pointer-events:none}.relation-bloom-legend{display:flex;align-items:center;justify-content:center;gap:8px 14px;flex-wrap:wrap;margin-top:2px;color:var(--muted);font-size:10px}.relation-bloom-key{display:inline-flex;align-items:center;gap:5px}.relation-bloom-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.relation-bloom-dot.low{background:#57b777}.relation-bloom-dot.medium{background:#d5a84f}.relation-bloom-dot.high{background:#d85f64}.relation-bloom-dot.insufficient{background:#7e8894}.relation-bloom-note{text-align:center;margin-top:7px;color:#8f99a4;font-size:10px;line-height:1.35}
  @media(max-width:700px){.relation-bloom-card{padding:11px 9px 10px}.relation-bloom-svg{min-height:230px}.relation-bloom-head{padding:0 3px}.relation-bloom-node-label{font-size:12px}.relation-bloom-legend{gap:6px 10px;font-size:9px}}

  /* Online v0.2.50 · Zusammenhänge als kompakte Accordion-Liste */
  #nutritionDigestionInsights .relation-grid{grid-template-columns:1fr;gap:7px}
  .relation-insight.relation-accordion{padding:0;display:block;overflow:hidden}
  .relation-accordion>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;padding:11px 14px;min-height:52px;user-select:none;-webkit-user-select:none}
  .relation-accordion>summary::-webkit-details-marker{display:none}
  .relation-accordion>summary::after{content:'⌄';color:var(--muted);font-size:18px;line-height:1;flex:0 0 auto}
  .relation-accordion[open]>summary::after{content:'⌃'}
  .relation-accordion>summary:hover{background:#171b22}
  .relation-accordion[open]>summary{background:#15191f}
  .relation-accordion-summary-name{min-width:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
  .relation-accordion-summary-name strong{font-size:15px;overflow-wrap:anywhere}
  .relation-accordion-summary-name .pill{margin:0;vertical-align:0}
  .relation-accordion-summary-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;flex-wrap:wrap}
  .relation-accordion-summary-meta .relation-verdict{font-size:11px;padding:4px 8px;white-space:nowrap}
  .relation-accordion-count{color:var(--muted);font-size:11px;white-space:nowrap}
  .relation-accordion-body{display:grid;gap:8px;padding:10px 14px 14px;border-top:1px solid var(--border)}
  .relation-accordion-body>.relation-card-summary{padding-top:0}
  .relation-accordion-body>.relation-quick-overview{padding-top:0}
  .relation-accordion-body .relation-details-body{padding-top:2px}
  @media(max-width:720px){
    .relation-accordion>summary{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:11px 12px}
    .relation-accordion-summary-meta{grid-column:1/-1;justify-content:flex-start;gap:7px 9px}
    .relation-accordion>summary::after{grid-column:2;grid-row:1}
    .relation-accordion-body{padding:10px 12px 13px}
  }

  /* Sandbox v1.9.66 · Watch-Schnelleingabe-Prototyp auf Stand der Beta v0.2.52 */
  .relation-accordion-complaints{color:#d8a7a9;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}
  .relation-quiet-toggle{display:flex;justify-content:flex-start;margin-top:10px}
  .relation-quiet-toggle .relation-more-btn{color:var(--muted);border-style:dashed;background:#101319}
  .relation-quiet-toggle .relation-more-btn:hover{color:var(--text);background:#171c23}
  .relation-no-findings{margin:10px 0 4px;padding:10px 12px;border:1px solid #35513f;border-radius:13px;background:#111a15;color:#a9d5b6;font-size:12px;font-weight:750}
  .relation-quiet-list{margin-top:8px}
  @media(max-width:720px){.relation-accordion-complaints{max-width:100%;white-space:normal}.relation-quiet-toggle .relation-more-btn{width:100%;text-align:left}}

  /* Sandbox v1.9.66 · Watch-Schnelleingabe-Prototyp */
  .watch-test-btn{border:1px solid rgba(116,227,154,.34);background:#162019;color:#dff7e7;border-radius:14px;min-height:38px;padding:7px 11px;font-weight:800;cursor:pointer;white-space:nowrap}.watch-test-btn:hover{border-color:rgba(116,227,154,.7);background:#1b2920}.watch-prototype-card{width:min(760px,calc(100vw - 24px));display:grid;gap:18px}.watch-prototype-intro{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.watch-prototype-note{max-width:330px;color:var(--muted);font-size:12px;line-height:1.45}.watch-stage{display:flex;justify-content:center;padding:8px 0 4px}.watch-shell{width:342px;min-height:430px;border-radius:72px;background:#050607;border:8px solid #2f343c;box-shadow:0 24px 60px rgba(0,0,0,.48),inset 0 0 0 1px #555e69;padding:24px 18px 20px;color:#f4f7f5;display:grid;gap:13px;align-content:start}.watch-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.watch-head strong{font-size:17px}.watch-time{font-size:12px;color:#a9b0bb;font-variant-numeric:tabular-nums}.watch-last{border:1px solid #343b44;border-radius:25px;background:#111419;padding:16px;display:grid;gap:11px}.watch-last-label{font-size:11px;color:#8f98a4;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.watch-last-title{font-size:23px;line-height:1.08;font-weight:850;letter-spacing:-.025em;overflow-wrap:anywhere}.watch-last-meta{font-size:12px;color:#aab2bd;line-height:1.35}.watch-counter{display:grid;grid-template-columns:54px 1fr 78px;gap:8px;align-items:center}.watch-counter button{height:58px;border-radius:20px;border:1px solid #3d4550;background:#1a1e24;color:#fff;font-size:30px;font-weight:850;cursor:pointer}.watch-counter button:hover{border-color:#6a7584;background:#222832}.watch-counter .watch-plus{background:var(--accent);border-color:var(--accent);color:#07120a;font-size:38px}.watch-counter .watch-plus:disabled,.watch-counter button:disabled{opacity:.34;cursor:default}.watch-count{text-align:center}.watch-count strong{display:block;font-size:24px;line-height:1;font-variant-numeric:tabular-nums}.watch-count span{display:block;font-size:10px;color:#8f98a4;margin-top:4px}.watch-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.watch-category{border:1px solid #343b44;background:#101318;color:#f1f4f2;border-radius:18px;padding:12px 10px;min-height:58px;text-align:left;font-weight:780;line-height:1.18;cursor:pointer}.watch-category small{display:block;font-weight:650;color:#9099a5;margin-top:4px;font-size:10px}.watch-category:hover,.watch-category.active{border-color:#55745f;background:#142019}.watch-selector{border-top:1px solid #252b32;padding-top:11px;display:grid;gap:8px}.watch-selector-title{font-size:11px;color:#8f98a4;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.watch-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:175px;overflow:auto;padding-right:2px}.watch-pick{border:1px solid #343b44;background:#15191f;color:#f2f4f6;border-radius:16px;padding:10px;text-align:left;font-weight:760;cursor:pointer;min-height:48px}.watch-pick small{display:block;color:#939ca8;font-size:10px;margin-top:3px}.watch-pick:hover,.watch-pick.active{border-color:var(--accent);background:#17251c}.watch-weight-row{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;gap:7px}.watch-weight-row button,.watch-weight-row input{height:50px;border-radius:15px}.watch-weight-row input{text-align:center;font-size:20px;font-weight:800}.watch-weight-save{width:100%;min-height:48px;border-radius:16px}.watch-prototype-foot{font-size:12px;color:var(--muted);text-align:center}.watch-empty{padding:12px;border:1px dashed #3b424c;border-radius:15px;color:#a0a8b2;font-size:12px;line-height:1.4}.watch-quick-flash{animation:watchFlash .46s ease}@keyframes watchFlash{0%{box-shadow:0 0 0 0 rgba(116,227,154,.55)}100%{box-shadow:0 0 0 14px rgba(116,227,154,0)}}
  @media(max-width:760px){.watch-test-btn{padding:7px 9px;font-size:12px}.watch-prototype-intro{display:block}.watch-prototype-note{margin-top:7px}.watch-stage{padding-top:0}.watch-shell{width:min(342px,calc(100vw - 54px));border-radius:58px;padding:20px 15px}.watch-category-grid{grid-template-columns:1fr 1fr}}


  /* Online v0.2.67 · Verlaufskalender: Monat zuerst, danach ← / Heute / → als kompakte Monatsnavigation */
  /* Online v0.2.67 · Datumsauswahl Körper/Verdauung: nativer Kalender + gemeinsamer Arbeitskontext */
  /* Online v0.2.67 · etwas hellere Karten/Flächen für bessere Ablesbarkeit · gleichwertige Einkaufsaktionen */
  /* Online v0.2.67 · Mobile/PWA-Grundausbau */
  .mobile-bottom-nav,.mobile-connection-banner{display:none}
  .mobile-more-card{width:min(560px,100%)}
  .mobile-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .mobile-more-action{min-height:74px;border:1px solid var(--border);border-radius:18px;background:#11151a;color:var(--text);padding:12px 13px;text-align:left;display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:center;font-weight:800}
  .mobile-more-action:hover{border-color:#586474;background:#171c23}.mobile-more-action .mobile-more-ico{font-size:23px;line-height:1;text-align:center}.mobile-more-action small{display:block;color:var(--muted);font-size:11px;font-weight:650;margin-top:3px;line-height:1.25}
  .mobile-install-hint{margin-top:10px}.mobile-install-hint.hidden{display:none!important}
  .app-update-banner{position:fixed;right:18px;bottom:18px;z-index:145;display:flex;align-items:center;gap:12px;max-width:min(520px,calc(100vw - 36px));padding:11px 12px 11px 15px;border:1px solid rgba(116,227,154,.48);border-radius:16px;background:rgba(20,32,24,.97);color:#eaf8ef;box-shadow:var(--shadow);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.app-update-banner.hidden{display:none!important}.app-update-copy{min-width:0;display:grid;gap:2px}.app-update-copy strong{font-size:13px}.app-update-copy small{color:#b9c9bf;font-size:11px}.app-update-button{border:1px solid var(--accent);background:var(--accent);color:#07120a;border-radius:12px;padding:9px 12px;font-weight:850;white-space:nowrap;cursor:pointer}.app-update-button:disabled{opacity:.6;cursor:wait}
  @media(max-width:760px){
    html{scroll-padding-bottom:104px}
    body{min-height:100dvh;padding-bottom:calc(82px + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%;overscroll-behavior-y:none}
    .app{padding:calc(12px + env(safe-area-inset-top)) 12px 26px}
    .topbar{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;margin-bottom:12px;align-items:center}
    .brand h1{font-size:30px}.brand p{font-size:11px;max-width:54vw;white-space:normal;overflow:visible}
    .topbar-tools{gap:6px;justify-content:flex-end}.topbar-tools .watch-test-btn{display:none}.topbar-tools .account-button{max-width:118px}.topbar-tools .account-button #accountButtonText{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-tools .doctor-note-labeled{width:38px;padding:0;justify-content:center}.topbar-tools .doctor-note-label{display:none}
    .topbar-reminder-row{grid-column:1/-1;grid-row:2;gap:7px}.topbar-reminder-row .app-back-button{flex:0 0 44px}.reminder-ticker{height:42px;border-radius:15px;padding:0 11px}
    .topnav{display:none!important}
    main{min-width:0}.screen{padding-bottom:4px}
    input,select,textarea{font-size:16px!important}
    input,select{min-height:46px}.btn:not(.small):not(.icon){min-height:46px}.btn.icon{min-width:44px;min-height:44px}
    .card{border-radius:20px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.dashboard-tile{min-height:128px;border-radius:22px;padding:13px}.dashboard-icon{width:52px;height:52px}.dashboard-copy strong{font-size:15px}.dashboard-copy small{display:none}
    .dashboard-search-card{position:sticky;top:0;z-index:18;margin-left:-2px;margin-right:-2px;border-radius:18px;background:rgba(15,17,21,.94);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
    .row{gap:8px}.grid2,.grid3{grid-template-columns:1fr!important}
    .modal{align-items:flex-end;padding:0;background:rgba(0,0,0,.72)}
    .modal-card{width:100%;max-width:none!important;max-height:92dvh;border-radius:25px 25px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-bottom:0;box-shadow:0 -18px 48px rgba(0,0,0,.42)}
    .modal-head{position:sticky;top:-18px;z-index:3;margin:-18px -16px 13px;padding:16px 16px 11px;background:rgba(24,27,33,.97);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border);border-radius:25px 25px 0 0}
    .mobile-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));left:8px;right:8px;bottom:calc(7px + env(safe-area-inset-bottom));height:66px;padding:6px;border:1px solid rgba(71,79,91,.9);border-radius:21px;background:rgba(18,21,26,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 12px 40px rgba(0,0,0,.48);z-index:70}
    .mobile-bottom-nav .navbtn{min-width:0;padding:4px 2px;border-radius:15px;gap:2px}.mobile-bottom-nav .navbtn span:last-child{display:block!important;font-size:9.5px}.mobile-bottom-nav .nav-icon{width:24px;height:24px}.mobile-bottom-nav .navbtn.active::after{bottom:2px;width:22px}.mobile-bottom-nav .mobile-more-button{border:0;background:transparent;color:var(--muted);display:grid;place-items:center;align-content:center;gap:2px;border-radius:15px;font-weight:650}.mobile-bottom-nav .mobile-more-button:active{background:#242930;color:var(--text)}.mobile-more-dots{font-size:22px;line-height:22px;font-weight:900;letter-spacing:1px}.mobile-more-label{font-size:9.5px}
    .mobile-connection-banner{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));transform:translate(-50%,12px);z-index:69;opacity:0;pointer-events:none;display:block;max-width:calc(100vw - 24px);padding:7px 11px;border:1px solid #66572f;border-radius:999px;background:#211d14;color:#f1d98e;font-size:11px;font-weight:800;box-shadow:var(--shadow);transition:.18s opacity,.18s transform}.mobile-connection-banner.show{opacity:1;transform:translate(-50%,0)}
    .toast{bottom:calc(84px + env(safe-area-inset-bottom));max-width:calc(100% - 22px)}
    .app-update-banner{left:10px;right:10px;bottom:calc(84px + env(safe-area-inset-bottom));max-width:none;padding:10px 10px 10px 12px}.app-update-copy strong{font-size:12px}.app-update-copy small{font-size:10px}.app-update-button{padding:8px 10px}
    .mobile-more-grid{grid-template-columns:1fr 1fr}.mobile-more-action{min-height:68px}
    .catalog-footer{bottom:calc(-18px + env(safe-area-inset-bottom))}
  }
  @media(max-width:390px){.mobile-more-grid{grid-template-columns:1fr}.brand p{max-width:48vw}.dashboard-tile{min-height:116px}.mobile-bottom-nav{left:5px;right:5px}}


  /* Online v0.2.67 · Alkohol-Dokumentation */
  .alcohol-pill{display:inline-flex;align-items:center;gap:5px;margin-left:7px;padding:3px 7px;border-radius:999px;border:1px solid rgba(116,227,154,.42);background:rgba(116,227,154,.08);color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.04em;vertical-align:1px}
  .food-alcohol-box{display:grid;gap:11px;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:#11141a}.food-alcohol-box.active{border-color:#41644c;background:#111a15}.food-alcohol-fields{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:12px;align-items:end}.food-alcohol-note{color:var(--muted);font-size:12px;line-height:1.45}.food-alcohol-note.warn{color:#e4c671}
  .food-barcode-row{align-items:end}.food-barcode-scan{white-space:nowrap}.food-alcohol-fields #foodContentMeasureRow{margin:0}.food-alcohol-fields #foodContentMeasureRow>label:first-child{min-width:0}.food-quick-fields label{min-width:0}.food-bottle-size{width:150px;flex:0 0 150px}.food-bottle-size-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center}.food-bottle-size-control span{color:var(--muted);font-weight:700}.food-bottle-size input{min-width:0}
  .alcohol-chart-section{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}.alcohol-chart-section.hidden{display:none}.alcohol-chart-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:12px}.alcohol-chart-head h3{margin:0 0 4px}.alcohol-range-buttons{display:flex;gap:7px;flex-wrap:wrap}.alcohol-range-btn{border:1px solid var(--border);background:#11141a;color:var(--text);padding:8px 11px;border-radius:11px;font-weight:750;cursor:pointer}.alcohol-range-btn.active{background:var(--accent);border-color:var(--accent);color:#08210f}.alcohol-chart-wrap{width:100%;overflow-x:auto}.alcohol-chart-svg{display:block;width:100%;min-width:620px;height:260px;background:#11141a;border:1px solid var(--border);border-radius:16px}.alcohol-chart-grid{stroke:#2f3540;stroke-width:1}.alcohol-chart-axis{fill:var(--muted);font-size:10px}.alcohol-chart-line{fill:none;stroke:var(--accent);stroke-width:2.8;stroke-linejoin:round;stroke-linecap:round}.alcohol-chart-point{fill:var(--accent);stroke:#0f1115;stroke-width:2;pointer-events:none}.alcohol-chart-hit{fill:transparent;stroke:transparent;cursor:pointer;pointer-events:all}.alcohol-chart-hit:hover + .alcohol-chart-point,.alcohol-chart-hit:focus-visible + .alcohol-chart-point{stroke:#fff;stroke-width:3}.alcohol-chart-empty{padding:30px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:16px;background:#11141a}.alcohol-detail-list{display:grid;gap:8px}.alcohol-detail-row{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:var(--panel3)}.alcohol-detail-row time{color:var(--muted);font-size:12px}.alcohol-detail-row small{display:block;color:var(--muted);margin-top:3px}.alcohol-detail-grams{white-space:nowrap;font-weight:850}.alcohol-detail-total{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:13px;background:#11141a;border:1px solid var(--border)}
  @media(max-width:620px){.food-alcohol-fields{grid-template-columns:1fr}.food-barcode-row{display:grid;grid-template-columns:1fr}.food-barcode-scan{width:100%}.food-bottle-size{width:100%;flex:1 1 100%}.alcohol-range-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.alcohol-range-btn{padding:9px 5px}.alcohol-detail-row{grid-template-columns:56px minmax(0,1fr);}.alcohol-detail-grams{grid-column:2}}
  .alcohol-view-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.alcohol-view-btn{border:1px solid var(--border);background:#11141a;color:var(--text);padding:9px 12px;border-radius:12px;font-weight:780;cursor:pointer}.alcohol-view-btn.active{background:var(--accent);border-color:var(--accent);color:#08210f}.alcohol-chart-context{color:var(--muted);font-size:12px;margin:0 0 9px}.alcohol-phase-list{display:grid;gap:8px;margin-top:10px}.alcohol-phase-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:var(--panel3);cursor:pointer;text-align:left;color:var(--text)}.alcohol-phase-row:hover,.alcohol-phase-row:focus-visible{border-color:var(--accent);outline:none}.alcohol-phase-row small{display:block;color:var(--muted);margin-top:3px}.alcohol-phase-value{font-weight:850;white-space:nowrap}.alcohol-window-stat{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:#11141a;margin-top:10px;font-size:13px}.alcohol-window-stat strong{white-space:nowrap}@media(max-width:620px){.alcohol-view-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.alcohol-view-btn{padding:9px 5px;font-size:12px}.alcohol-range-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.alcohol-phase-row{grid-template-columns:1fr}.alcohol-phase-value{justify-self:start}}

  /* Online v0.2.67 · Ernährung im Verlauf nachtragen */
  /* Online v0.3.32 · Nachtragen klar trennen: heute normal erfassen, historische Zeitwahl kompakt oben */
  .nutrition-backfill-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,280px) auto;gap:12px;align-items:end;margin:0 0 14px;padding:11px 13px;border:1.5px solid rgba(255,210,122,.58);border-radius:14px;background:rgba(255,210,122,.055)}
  .nutrition-backfill-bar.hidden{display:none}.nutrition-backfill-copy{align-self:center}.nutrition-backfill-copy strong{display:block;color:var(--warn);font-size:14px}.nutrition-backfill-copy small{display:none}.nutrition-backfill-bar label{margin:0}.nutrition-backfill-bar input{min-width:0}.nutrition-backfill-end{white-space:nowrap}
  .day-nutrition .event{padding:8px 0}.day-nutrition .event:first-child{padding-top:0}.day-nutrition .event:last-child{padding-bottom:0}.day-nutrition .event-time{min-width:112px}
  @media(max-width:760px){.nutrition-backfill-bar{grid-template-columns:1fr}.nutrition-backfill-end{width:100%}.day-nutrition .event-time{min-width:0}}

  /* Online v0.2.67 · Barcode / QR */
  #foodScannerModal{z-index:180}
  .scanner-card{max-width:680px}
  .scanner-stage{position:relative;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#070a0e;min-height:260px;display:flex;align-items:center;justify-content:center}
  .scanner-stage video{width:100%;max-height:52vh;display:block;object-fit:cover;background:#070a0e}
  .scanner-frame{position:absolute;inset:18% 10%;border:2px solid rgba(111,227,157,.9);border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.18);pointer-events:none}
  .scanner-status{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel2)}
  .scanner-status strong{display:block}.scanner-status small{display:block;margin-top:2px;color:var(--muted)}
  .scanner-manual{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
  .scanner-result{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel2);word-break:break-word}
  .scanner-result.hidden{display:none}
  .scanner-privacy{font-size:12px;color:var(--muted);line-height:1.45}
  @media(max-width:680px){.scanner-manual{grid-template-columns:1fr}.scanner-manual .btn{width:100%}.scanner-stage{min-height:220px}.food-header-actions{flex-wrap:wrap}}


  /* Online v0.2.67 · System-Diktat: Suche bereinigt Satzzeichen · + Eigenes mit Namens-Diktat */
  /* Online v0.2.83 · Körper: einheitliche Speicheraktion pro Kachel; gespeichert = ✓ */
  .voice-inline-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid rgba(116,227,154,.48);border-radius:12px;background:rgba(116,227,154,.08);color:var(--accent);cursor:pointer}
  .voice-inline-button:hover{background:rgba(116,227,154,.15)}
  .voice-inline-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  .voice-mic-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
  .voice-field-row{display:flex;align-items:flex-end;gap:8px;min-width:0}.voice-field-row>label,.voice-field-row>.grow{min-width:0;flex:1 1 auto}
  .voice-search-wrap{display:flex;align-items:center;gap:7px;min-width:0}.voice-search-wrap>input{min-width:0;flex:1 1 auto}
  .voice-entry-card{width:min(720px,100%)}
  .voice-context-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
  .voice-context-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;border:1px solid rgba(116,227,154,.42);background:rgba(116,227,154,.08);color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.03em}
  .voice-example{color:var(--muted);font-size:12px;line-height:1.45}
  .voice-live{display:flex;gap:10px;align-items:flex-start;padding:11px 13px;border:1px solid var(--border);border-radius:13px;background:var(--panel2)}
  .voice-live-dot{width:10px;height:10px;border-radius:50%;margin-top:5px;background:var(--accent);flex:0 0 auto}
  .voice-live strong{display:block}.voice-live small{display:block;color:var(--muted);margin-top:2px;line-height:1.45}
  .voice-transcript{min-height:110px;resize:vertical}
  .voice-preview{display:grid;gap:8px}.voice-preview-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:var(--panel3)}
  .voice-preview-row strong{display:block}.voice-preview-row small{display:block;color:var(--muted);margin-top:3px}.voice-preview-status{font-size:12px;color:var(--muted)}
  .voice-preview-empty{padding:13px;border:1px dashed var(--border);border-radius:13px;color:var(--muted);line-height:1.45}
  .voice-confirm-row{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.voice-privacy{font-size:11px;color:var(--muted);line-height:1.45}
  @media(max-width:600px){.voice-inline-button{flex-basis:46px;width:46px;height:46px}.voice-field-row{gap:7px}.voice-preview-row{grid-template-columns:1fr}.voice-confirm-row .btn{width:100%}.shopping-save-food-actions{grid-template-columns:1fr}}


  /* Online v0.3.32 · Historischer Tag deutlich markieren + Favoriten ohne Modus-Schalter */
  .app.historical-context #historicalDateText,.app.historical-context .work-date-label,.app.historical-context .historical-section-date.is-historical,.app.historical-context .historical-entry-date{color:#ffe2a4!important}
  .app.historical-context .section-title .work-date-caption{color:#e8c77f}
  .app.historical-context::after{
    content:"";
    position:fixed;
    inset:6px;
    border:2px solid rgba(255,210,122,.90);
    border-radius:18px;
    pointer-events:none;
    z-index:95;
    box-shadow:inset 0 0 0 1px rgba(255,210,122,.10);
  }
  .global-date-button input[type="date"]{pointer-events:none}
  #toggleFavoriteEdit,#favoriteEditHint{display:none!important}
  .quick-count-modal-card{width:min(430px,100%)}
  .quick-count-date{margin-top:3px;color:var(--warn);font-size:13px;font-weight:750}
  .quick-count-control{display:grid;grid-template-columns:58px minmax(90px,1fr) 58px;gap:12px;align-items:center;margin:18px 0 12px}
  .quick-count-step{height:58px;border-radius:16px;border:1px solid var(--border);background:var(--panel2);color:var(--text);font-size:30px;font-weight:700}
  .quick-count-value{min-height:58px;display:grid;place-items:center;border:1px solid rgba(116,227,154,.48);border-radius:16px;background:#152019;color:var(--accent);font-size:27px;font-weight:850;font-variant-numeric:tabular-nums}
  .quick-count-copy{text-align:center;color:var(--muted);font-size:13px;line-height:1.45}
  .quick-count-actions{display:flex;justify-content:flex-end;margin-top:16px}
  @media(max-width:760px){
    .app.historical-context::after{inset:3px;border-radius:12px}
    .quick-count-modal-card{width:100%}
  }


/* Online v0.3.32 · Ernährung: Finden / frei eingeben */
#nutQuick .free-entry-collapse{display:none!important}
.quick-capture-v031{position:relative;margin:0 0 14px;padding:10px;border:1px solid var(--border);border-radius:16px;background:var(--panel)}
.quick-capture-v031.hidden{display:none!important}
.quick-capture-row-v031{display:grid;grid-template-columns:minmax(260px,1fr) 118px minmax(205px,235px);gap:8px;align-items:center}
.quick-capture-search-wrap-v031{position:relative;min-width:0}
.quick-capture-v031 input{width:100%;min-height:42px;height:42px;margin:0}
.quick-capture-name-v031{font-size:16px}.quick-capture-kcal-v031{text-align:center}
.quick-capture-suggestions-v031{position:absolute;z-index:45;left:0;right:0;top:calc(100% + 6px);max-height:330px;overflow:auto;padding:6px;border:1px solid var(--border);border-radius:13px;background:#171b21;box-shadow:var(--shadow)}
.quick-capture-suggestions-v031.hidden,.quick-capture-free-actions-v031.hidden,.quick-capture-take-v031.hidden{display:none!important}
.quick-capture-suggestion-v031{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;border-radius:10px}.quick-capture-suggestion-v031:hover{background:var(--panel3)}
.quick-capture-suggestion-main-v031{min-width:0;border:0;background:transparent;color:var(--text);padding:3px 5px;text-align:left;cursor:pointer}
.quick-capture-suggestion-main-v031 strong,.quick-capture-suggestion-main-v031 small{display:block;overflow-wrap:anywhere}.quick-capture-suggestion-main-v031 small{margin-top:2px;color:var(--muted);font-size:12px}
.quick-capture-free-actions-v031,.quick-capture-take-v031{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding-top:8px}.quick-capture-take-v031{justify-content:flex-end}
@media(max-width:760px){.quick-capture-v031{padding:9px}.quick-capture-row-v031{grid-template-columns:105px minmax(0,1fr)}.quick-capture-search-wrap-v031{grid-column:1/-1}.quick-capture-kcal-v031{grid-column:1}.quick-capture-time-v031{grid-column:2}.quick-capture-free-actions-v031 .btn,.quick-capture-take-v031 .btn{flex:1}}


  /* Online v0.3.32 · UI-Korrekturen + Sodbrennen */
  .dashboard-search-card>.tiny{display:none!important}
  .quick-capture-row-v031{grid-template-columns:minmax(260px,1fr) 160px minmax(205px,235px)}
  .quick-capture-kcal-label-v032{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;align-items:center;min-width:0;color:var(--muted);font-size:12px;font-weight:700}
  .quick-capture-kcal-label-v032 .quick-capture-kcal-v031{min-width:0;width:100%;text-align:center}
  #nutShopping .shopping-add-layout>#shoppingSyncCard{grid-column:1;grid-row:2;margin-top:8px}
  #nutShopping .shopping-add-actions{grid-column:2;grid-row:1 / span 2;align-self:start}
  .heartburn-card-v032{min-height:0}
  .heartburn-levels-v032{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .heartburn-levels-v032 .btn{min-height:42px}
  .heartburn-levels-v032 .btn.active{border-color:var(--accent);background:#152019;color:var(--accent);font-weight:800}
  .historical-context #bodyHub.active .heartburn-card-v032{border-color:rgba(255,210,122,.48)}
  @media(max-width:760px){
   .quick-capture-row-v031{grid-template-columns:120px minmax(0,1fr)}
   .quick-capture-search-wrap-v031{grid-column:1/-1}
   .quick-capture-kcal-label-v032{grid-column:1}
   .quick-capture-time-v031{grid-column:2}
   #nutShopping .shopping-add-layout>#shoppingSyncCard,#nutShopping .shopping-add-actions{grid-column:1/-1;grid-row:auto}
   .heartburn-levels-v032{grid-template-columns:repeat(2,minmax(0,1fr))}
  }

/* Online v0.3.32 · ruhiger Einkaufs-Hinweis + Sodbrennen-Zuordnung */
#shoppingCustomName.shopping-custom-input-error{border-color:#68717d!important;box-shadow:0 0 0 1px rgba(182,189,199,.10)!important;background:#1a1f26!important}
#shoppingCustomError{color:var(--muted)!important;font-weight:650!important}
.heartburn-levels-v032{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.heartburn-related-v033{display:grid;gap:5px;margin-top:2px}
.heartburn-related-v033 small{color:var(--muted);font-size:11px}
@media(max-width:760px){.heartburn-levels-v032{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Online v0.3.32 · Routine */
.routine-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}.routine-head h2{margin:0}.routine-mode{display:flex;gap:8px;flex-wrap:wrap}.routine-mode .btn.active{background:var(--accent);border-color:var(--accent);color:#08210f;font-weight:850}.routine-shell{display:grid;gap:14px}.routine-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.routine-toolbar-copy{color:var(--muted);font-size:13px}.routine-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.routine-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 15px;border:1px solid var(--border);border-radius:17px;background:var(--panel3)}.routine-card.done{border-color:rgba(116,227,154,.42);background:#152019}.routine-card strong{display:block;font-size:16px}.routine-card small{display:block;margin-top:4px;color:var(--muted);line-height:1.35}.routine-card.done small{color:#9fd9b2}.routine-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.routine-config{padding:13px 14px;border:1px solid var(--border);border-radius:16px;background:#11141a}.routine-config.hidden{display:none!important}.routine-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.routine-config label{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:9px;padding:10px 11px;border:1px solid var(--border);border-radius:12px;background:var(--panel3);cursor:pointer}.routine-favorites{grid-column:1/-1}.routine-favorite-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.routine-fav-btn{display:inline-flex;align-items:center;gap:6px}.routine-home-tile .dashboard-icon{font-size:54px;line-height:1;width:auto;height:auto}.routine-empty{padding:18px;border:1px dashed var(--border);border-radius:15px;color:var(--muted);text-align:center}
@media(max-width:760px){.routine-grid{grid-template-columns:1fr}.routine-config-grid{grid-template-columns:1fr}.routine-card{grid-template-columns:1fr}.routine-actions{justify-content:flex-start}.routine-favorites{grid-column:auto}}


/* Online v0.3.32 · Routine vereinfacht */
.routine-home-tile{display:none!important}
.routine-head-v035{align-items:center;margin-bottom:12px}.routine-head-v035 h2{margin:0}.routine-head-v035 .btn{margin-left:auto}
.top-routine-button{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:8px 11px;border:1px solid rgba(116,227,154,.35);border-radius:14px;background:#171d19;color:var(--text);font-weight:800;cursor:pointer}.top-routine-button:hover{border-color:rgba(116,227,154,.7);background:#1b241e}.top-routine-button.active{background:#1a2a20;border-color:rgba(116,227,154,.68)}
.routine-card[draggable="true"]{cursor:grab}.routine-card.dragging{opacity:.45}.routine-card.drag-over{outline:2px solid var(--accent);outline-offset:2px}
.routine-card-title-row{display:flex;align-items:center;gap:9px}.routine-drag-handle{display:inline-grid;place-items:center;width:28px;height:28px;border:0;background:transparent;color:var(--muted);cursor:grab;font-size:20px;line-height:1}.routine-drag-handle:hover{color:var(--text)}
.routine-config-grid label{grid-template-columns:auto minmax(0,1fr) auto!important}.routine-config-order{display:flex;gap:5px}.routine-config-order .btn{padding:5px 8px;min-height:30px}
@media(max-width:760px){.top-routine-button{padding:8px 9px}.top-routine-button span{display:none}.routine-drag-handle{display:none}}

/* Online v0.3.32 · Routine Anpassen */
#routineConfigToggle{border-color:rgba(116,227,154,.72)!important;background:#171d19!important;color:var(--text)!important;font-weight:800!important;box-shadow:inset 0 0 0 1px rgba(116,227,154,.08)}
#routineConfigToggle:hover{border-color:var(--accent)!important;background:#1b241e!important}
#routineConfigToggle.active{background:#1a2a20!important;border-color:var(--accent)!important;color:var(--accent)!important}

/* Online v0.3.32 · Routine erweitert + Backup-Wiederherstellung */
.profile-backup-actions-v037{display:flex;gap:8px;flex-wrap:wrap}.profile-backup-actions-v037 .btn{min-height:38px}.profile-backup-explain-v037{color:var(--muted);font-size:11px;line-height:1.45}.profile-backup-explain-v037 strong{color:var(--text)}
.routine-card .routine-count-v037{color:#a9d9b8}.routine-card.done .routine-count-v037{color:#a9d9b8}.routine-card-info-v037{font-variant-numeric:tabular-nums}
@media(max-width:760px){.profile-backup-actions-v037{display:grid;grid-template-columns:1fr}.profile-backup-actions-v037 .btn{width:100%}}


/* Online v0.3.32 · Routine-Kacheln direkt anklickbar */
#routineGrid .routine-card[data-routine-card]{cursor:pointer;transition:border-color .15s,background .15s,transform .12s}
#routineGrid .routine-card[data-routine-card]:hover{border-color:#4f7f60;background:#1a211d}
#routineGrid .routine-card[data-routine-card]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#routineGrid .routine-card[data-routine-card].done:hover{background:#142119}
#routineGrid .routine-card .routine-drag-handle,#routineGrid .routine-card button{cursor:pointer}


/* Online v0.3.32 · UX/Konsistenz vor Mobile */
.routine-config-groups-v0310{display:grid;gap:14px}
.routine-config-group-v0310{display:grid;gap:7px}
.routine-config-group-v0310>strong{font-size:13px;letter-spacing:.04em;color:var(--muted);text-transform:uppercase;padding:0 2px}
.routine-config-group-v0310 .routine-config-group-list-v0310{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.routine-undo-v0310{position:fixed;z-index:1000;left:50%;bottom:22px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid #4d785b;border-radius:13px;background:#171d19;box-shadow:0 10px 30px #0008;color:var(--text)}
.routine-undo-v0310.hidden{display:none!important}.routine-undo-v0310 button{border:0;background:transparent;color:var(--accent);font:inherit;font-weight:700;cursor:pointer;padding:2px 4px}
.header-account-compact-v0310{max-width:145px!important;min-width:0!important;padding-left:10px!important;padding-right:10px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.profile-version-v0310{margin-top:8px;color:var(--muted);font-size:12px}
@media(max-width:760px){.routine-config-group-v0310 .routine-config-group-list-v0310{grid-template-columns:1fr}.routine-undo-v0310{bottom:14px;max-width:calc(100vw - 24px)}.header-account-compact-v0310{max-width:82px!important}}

/* Online v0.3.32 · kompakter Kopf, Gesundheitsbericht, Teilen */
#openWatchPrototype,.watch-test-btn{display:none!important}
.account-button-v0311{max-width:110px!important;min-width:86px;justify-content:center}
.account-menu-v0311{position:fixed;z-index:160;width:min(310px,calc(100vw - 24px));padding:10px;border:1px solid var(--border);border-radius:14px;background:#171b21;box-shadow:0 18px 50px rgba(0,0,0,.45);display:grid;gap:8px}
.account-menu-v0311.hidden{display:none!important}.account-menu-v0311 .account-menu-email{font-size:12px;font-weight:750;overflow-wrap:anywhere;padding:5px 7px}.account-menu-v0311 .account-menu-sync{font-size:11px;color:var(--muted);padding:0 7px 5px}.account-menu-v0311 .account-menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.account-menu-v0311 .btn{min-height:38px}
.dashboard-report-hint-v0311{display:block;margin-top:7px;color:var(--accent);font-size:11px;font-weight:800;line-height:1.25}
.profile-share-v0311{margin:14px 0;padding:14px;border:1px solid var(--border);border-radius:16px;background:#171b21;display:flex;align-items:center;justify-content:space-between;gap:14px}.profile-share-v0311 strong{display:block}.profile-share-v0311 small{display:block;color:var(--muted);margin-top:3px}.profile-share-v0311 .btn{white-space:nowrap;border-color:#3d7954}
@media(max-width:760px){.account-button-v0311{max-width:76px!important;min-width:68px}.profile-share-v0311{align-items:stretch;flex-direction:column}.profile-share-v0311 .btn{width:100%}.dashboard-report-hint-v0311{font-size:10px}}

/* v0.3.32 ONLINE */
.dl-safety-card{margin:14px 0;padding:15px;border:1px solid #41644c;border-radius:16px;background:#111a14;display:grid;gap:11px}.dl-safety-card h3{margin:0;font-size:17px}.dl-safety-card .muted{font-size:12px;line-height:1.45}.dl-backup-list{display:grid;gap:8px}.dl-backup-more{width:100%;margin-top:2px;color:var(--accent);border-style:dashed}.dl-backup-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 11px;border:1px solid var(--border);border-radius:12px;background:#11141a}.dl-backup-row small{display:block;color:var(--muted);margin-top:2px}.dl-conflict-note{padding:12px;border:1px solid #7c6735;border-radius:12px;background:#201b0f;color:#f2d272;font-size:12px;line-height:1.45}.dl-conflict-note strong{display:block;color:#ffe28a;font-size:14px;margin-bottom:6px}.dl-conflict-note ul{margin:5px 0 10px;padding-left:18px}.dl-conflict-actions{display:flex;gap:8px;flex-wrap:wrap}.dl-conflict-actions .btn{min-height:38px}.dl-safety-badge{display:inline-flex;width:max-content;padding:5px 8px;border-radius:999px;border:1px solid #41644c;color:var(--accent);font-size:10px;font-weight:850}@media(max-width:620px){.dl-backup-row{grid-template-columns:1fr}.dl-backup-row .btn{width:100%}}

/* v0.3.32 ONLINE · ruhige Benutzeroberfläche */
#accountStatusTag{display:none!important}.account-button-v0311{min-width:100px!important;max-width:150px!important}.dl-safety-card{background:transparent!important;border:0!important;padding:0!important;gap:10px!important}.dl-safety-badge{display:none!important}.dl-backup-normal{border:1px solid var(--border);border-radius:14px;background:#11141a;overflow:hidden}.dl-backup-normal summary{cursor:pointer;padding:14px 16px;font-weight:800;list-style:none}.dl-backup-normal summary::-webkit-details-marker{display:none}.dl-backup-normal summary:after{content:'›';float:right;color:var(--muted);transform:rotate(90deg)}.dl-backup-normal[open] summary:after{transform:rotate(-90deg)}.dl-backup-body{padding:0 16px 16px}.dl-backup-help{font-size:12px;color:var(--muted);margin:0 0 12px;line-height:1.45}.dl-conflict-note{margin:0 0 10px;padding:14px!important;border:1px solid #7c6735!important;border-radius:14px!important;background:#201b0f!important;color:var(--text)!important}.dl-conflict-note strong{color:#ffe28a!important;font-size:16px!important}.dl-conflict-note p{margin:7px 0 12px;line-height:1.45;color:#e9dfbe}.dl-conflict-actions{display:flex;gap:8px;flex-wrap:wrap}.dl-conflict-actions .btn{min-height:42px}.dl-backup-list{margin-top:10px}.dl-backup-row small{color:var(--muted)}

/* Online v0.3.32 · ruhiger Login / Meine Routine / für Arzt */
.account-button-v0311 .account-dot{display:none!important}
.account-button-v0311.login-authenticated .account-dot{display:inline-flex!important;width:15px;height:15px;flex:0 0 15px;border-radius:50%;align-items:center;justify-content:center;background:transparent!important;box-shadow:none!important;font-size:12px;font-weight:950;line-height:1;border:1px solid currentColor}
.account-button-v0311.login-online .account-dot{color:var(--accent)}
.account-button-v0311.login-offline .account-dot{color:#8b949f}
.account-menu-v0311 .account-menu-email{display:grid;gap:3px}
.account-menu-v0311 .account-menu-email strong{font-size:13px;overflow-wrap:anywhere}
.doctor-note-for-doctor-v0313{white-space:nowrap}
.doctor-note-for-doctor-v0313 .doctor-note-label{display:inline!important}
@media(max-width:760px){.topbar-tools .doctor-note-for-doctor-v0313{width:auto;max-width:104px;padding:0 7px}.doctor-note-for-doctor-v0313 .doctor-note-label{display:inline!important;font-size:10px}}


/* Online v0.3.32 · Login nur Login/Logout, Kontoverwaltung im Profil */
.account-menu-v0311 .account-menu-actions-v0314{grid-template-columns:1fr!important}
.account-menu-profile-link-v0314{border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:750;text-align:left;padding:3px 7px 5px;cursor:pointer}
.account-menu-profile-link-v0314:hover{color:var(--accent)}
.profile-delete-warning-v0314{padding:11px 12px;border:1px solid #7b4a4a;border-radius:12px;background:#1b1313;color:#f1d7d7;font-size:12px;line-height:1.45}
.profile-delete-warning-v0314 strong{color:#ffd5d5}
/* v0.3.32 · kompakte Backups + DarmLogic Übersicht */

  /* Online v0.3.32 · Snacks: schnelle Erfassung mit direkt editierbaren kcal */
  .snack-day-row{grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:10px;align-items:center}
  .snack-kcal-inline{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--muted);font-size:12px}
  .snack-kcal-inline input{width:74px;min-height:38px;padding:7px 9px;text-align:right;font-weight:800;color:var(--text)}
  .snack-kcal-inline .approx{font-weight:900;color:var(--amber,#e5b85c)}
  .snack-delete{min-width:40px}
  @media(max-width:760px){.snack-day-row{grid-template-columns:auto minmax(0,1fr) auto}.snack-kcal-inline{grid-column:2/3;justify-self:start}.snack-day-row .snack-detail-btn{grid-column:2/3;justify-self:start}.snack-day-row .snack-delete{grid-column:3/4;grid-row:1/3}}




  /* Online v0.3.36 · Beobachtungen: frei datierbare eigene Aufzeichnungen */
  .observation-card{margin-top:18px}
  .observation-entry-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(210px,280px) 48px;gap:10px;align-items:center}
  .observation-entry-row input{min-width:0}
  .observation-save{width:48px;height:44px;padding:0;font-size:20px;display:grid;place-items:center}
  .observation-list{display:grid;gap:8px;margin-top:2px}
  .observation-item{display:grid;grid-template-columns:112px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 11px;border:1px solid var(--border);border-radius:12px;background:var(--panel3)}
  .observation-time{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
  .observation-text{appearance:none;border:0;background:transparent;color:var(--text);font:inherit;text-align:left;padding:0;cursor:pointer;min-width:0;overflow-wrap:anywhere}
  .observation-text:hover{color:#fff}
  .observation-editing{border-color:rgba(116,227,154,.55);box-shadow:0 0 0 1px rgba(116,227,154,.12)}
  .historical-context #bodyHub.active .observation-card{border-color:rgba(255,210,122,.48)}
  @media(max-width:760px){.observation-entry-row{grid-template-columns:minmax(0,1fr) 48px}.observation-entry-row #observationTime{grid-column:1}.observation-entry-row #observationSave{grid-column:2;grid-row:1/3}.observation-item{grid-template-columns:minmax(0,1fr) auto}.observation-time{grid-column:1}.observation-text{grid-column:1}.observation-item .observation-delete-btn{grid-column:2;grid-row:1/3}}
  /* Online v0.3.36 · Beobachtungen im Verlauf */
  .timeline-observations-card{border:1px solid var(--border);border-radius:14px;background:var(--panel3);overflow:hidden}
  .timeline-observations-card>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;font-weight:800}
  .timeline-observations-card>summary::-webkit-details-marker{display:none}
  .timeline-observations-title{display:flex;align-items:center;gap:8px;min-width:0}
  .timeline-observations-arrow{color:var(--muted);font-size:18px;line-height:1;transition:transform .15s}
  .timeline-observations-card[open] .timeline-observations-arrow{transform:rotate(180deg)}
  .timeline-observations-body{border-top:1px solid var(--border);padding:10px 12px 12px;display:grid;gap:8px}
  .timeline-observation-row{display:grid;grid-template-columns:126px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid var(--border);border-radius:11px;background:#11151b}
  .timeline-observation-when{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
  .timeline-observation-text{appearance:none;border:0;background:transparent;color:var(--text);font:inherit;text-align:left;padding:2px 0;cursor:pointer;min-width:0;overflow-wrap:anywhere}
  .timeline-observation-text:hover{color:#fff}
  .timeline-observation-doctor{white-space:nowrap}
  .timeline-observation-doctor.active{border-color:#3f8f61;background:#102619;color:var(--accent)}
  .timeline-observations-more{width:100%;border-style:dashed}
  @media(max-width:760px){.timeline-observation-row{grid-template-columns:1fr auto}.timeline-observation-when{grid-column:1}.timeline-observation-text{grid-column:1}.timeline-observation-doctor{grid-column:2;grid-row:1/3}}
  /* Online v0.3.32 · Lebensmittel-Tabelle: gemeinsame Spaltengeometrie */
  .food-grid{
    display:grid;
    grid-template-columns:minmax(220px,1.5fr) minmax(110px,.7fr) minmax(120px,.8fr) minmax(90px,.5fr) max-content;
    column-gap:10px;
    row-gap:10px;
  }
  .food-grid>.food-row{
    grid-column:1/-1;
    grid-template-columns:subgrid;
    column-gap:10px;
  }
  .food-grid>.food-row.head{
    grid-template-columns:subgrid;
  }
  .food-grid>.food-row .food-actions{
    min-width:max-content;
  }
  @media(max-width:1180px) and (min-width:761px){
    .food-grid{grid-template-columns:1fr}
    .food-grid>.food-row{grid-column:1;grid-template-columns:minmax(220px,1fr) auto auto auto;align-items:center}
    .food-grid>.food-row.head{display:none}
    .food-grid>.food-row .food-actions{grid-column:1/-1;justify-content:flex-end;min-width:0;padding-top:2px}
  }
  @media(max-width:760px){
    .food-grid{grid-template-columns:1fr}
    .food-grid>.food-row{grid-column:1;grid-template-columns:1fr auto}
    .food-grid>.food-row.head{display:none}
    .food-grid>.food-row .food-cat,.food-grid>.food-row .food-portion,.food-grid>.food-row .food-kcal{grid-column:1}
    .food-grid>.food-row .food-actions{grid-column:2;grid-row:1/5;align-self:center;flex-direction:column;min-width:0;padding-top:0}
  }


/* Online v0.3.43 · PDF-Auffälligkeiten fett + optionales Zusammenhänge-Diagramm */
.observation-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.observation-history-link{appearance:none;border:0;background:transparent;color:var(--accent);padding:3px 0;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.observation-history-link:hover{color:#a2f0ba}
.routine-label-mobile{display:none}
@media(max-width:760px){
  .top-routine-button{gap:5px;padding:8px 9px!important;white-space:nowrap}
  .top-routine-button .routine-label-desktop{display:none!important}
  .top-routine-button .routine-label-mobile{display:inline!important;font-size:11px}
  .top-routine-button .routine-icon{display:inline!important}
  .observation-head{align-items:baseline}
  .observation-history-link{font-size:11px}
}
@media(max-width:430px){
  .topbar{grid-template-columns:minmax(0,1fr)!important}
  .brand{grid-column:1;grid-row:1}
  .topbar-tools{grid-column:1;grid-row:2;justify-content:flex-start!important;flex-wrap:wrap!important}
  .topbar-reminder-row{grid-column:1!important;grid-row:3!important}
  .top-routine-button .routine-label-mobile{font-size:11px}
}

  /* v1.9.147 · Verlauf-Reihenfolge und Medikationsaktionen */
  .timeline-domain-divider{height:1px;background:linear-gradient(90deg,transparent,var(--border) 12%,var(--border) 88%,transparent);margin:4px 2px 2px;opacity:.7}
  .med-plan-edit-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:-2px}
  .med-plan-edit-actions.hidden{display:none!important}
  #medToWrap.hidden,#medModeHint.hidden{display:none!important}

/* Sandbox v1.9.294 · Diagnoseverlauf / Infektionen */
.diagnosis-accordion{margin-top:4px}
.diagnosis-accordion>summary,.health-diagnosis-history-card>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;font-weight:800}
.diagnosis-accordion>summary::-webkit-details-marker,.health-diagnosis-history-card>summary::-webkit-details-marker{display:none}
.diagnosis-accordion>summary::after,.health-diagnosis-history-card>summary::after{content:'⌄';color:var(--muted);font-size:17px;margin-left:4px}
.diagnosis-accordion[open]>summary::after,.health-diagnosis-history-card[open]>summary::after{content:'⌃'}
.diagnosis-accordion>summary .pill,.health-diagnosis-history-card>summary .pill{margin-left:auto;font-weight:650}
.diagnosis-accordion-body,.health-diagnosis-history-body{display:grid;gap:12px;padding:12px 14px 14px;border-top:1px solid var(--border)}
.diagnosis-block{display:grid;gap:10px}
.diagnosis-block h4{margin:0}
.diagnosis-primary-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,190px);gap:10px}
.diagnosis-primary-actions{justify-content:flex-start}
.diagnosis-history{display:grid;gap:7px}
.diagnosis-history-title{margin-top:2px}
.diagnosis-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--border);border-radius:12px;background:#15191f}
.diagnosis-history-row>div:first-child{min-width:0}
.diagnosis-history-row strong{display:block;overflow-wrap:anywhere}
.diagnosis-history-row small{display:block;color:var(--muted);margin-top:3px}
.diagnosis-extra-choices{margin-top:2px}
.health-diagnosis-history-card{margin-bottom:14px}
@media(max-width:650px){
  .diagnosis-accordion>summary,.health-diagnosis-history-card>summary{align-items:flex-start;flex-wrap:wrap}
  .diagnosis-accordion>summary .pill,.health-diagnosis-history-card>summary .pill{margin-left:0}
  .diagnosis-primary-form{grid-template-columns:1fr}
  .diagnosis-history-row{grid-template-columns:1fr}
  .diagnosis-history-row .event-actions{justify-content:flex-start}
}

/* Sandbox v1.9.294 · DarmLogic Übersicht schneller erreichbar */

.topnav>.relations-nav{grid-column:1/4!important}
.topnav>.report-nav{
  grid-column:4/7;
  min-height:36px;
  padding:7px 12px!important;
  margin-top:8px;
  border:1px solid var(--border)!important;
  background:#171c21!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  color:#dce4df!important
}
.topnav>.report-nav:hover{border-color:#66717e!important;background:#1d2229!important}
.topnav>.report-nav.active::after{display:none}
.topnav>.report-nav .nav-icon{width:18px;height:18px;color:#d2d7de}
.topnav>.report-nav span:last-child{font-size:12px;font-weight:820;letter-spacing:.01em}

.topnav.home-relations-only{grid-template-columns:1fr 1fr!important}
.topnav.home-relations-only>.relations-nav{grid-column:1!important;margin-top:0}
.topnav.home-relations-only>.report-nav{display:flex!important;grid-column:2!important;margin-top:0}

@media(max-width:760px){
  
}

/* Sandbox v1.9.294 · Beobachtungen einzeln → für Arzt */
.observation-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:max-content}
.observation-doctor-btn{white-space:nowrap}
.observation-doctor-btn.active{border-color:#3f8f61;background:#102619;color:var(--accent)}
.doctor-note-observation-text{min-width:0}
.doctor-note-observation-text .pill{display:inline-flex;margin-bottom:5px}
.doctor-note-observation-text p{margin:0;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){
  .observation-item{grid-template-columns:minmax(0,1fr) auto}
  .observation-time{grid-column:1}
  .observation-text{grid-column:1}
  .observation-actions{grid-column:2;grid-row:1/3;flex-direction:column;align-items:stretch}
  .observation-actions .btn{width:100%}
  .doctor-note-observation{grid-template-columns:1fr auto}
  .doctor-note-observation time{grid-column:1}
  .doctor-note-observation-text{grid-column:1}
  .doctor-note-observation>.btn{grid-column:2;grid-row:1/3}
}

/* Sandbox v1.9.294 · globales Arbeitsdatum groß neben dem DarmLogic-Textlogo */
.brand-date-cluster{min-width:0;display:flex;align-items:flex-start;gap:18px}
.brand-date-cluster .brand{flex:0 0 auto}
.global-date-display{
  position:relative;
  min-width:174px;
  min-height:58px;
  margin-top:2px;
  padding:8px 11px 8px 13px;
  border:1px solid var(--border);
  border-radius:17px;
  background:#151a20;
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  overflow:hidden;
  transition:.16s border-color,.16s background,.16s color;
}
.global-date-display:hover{border-color:#65707d;background:#1a2027}
.global-date-copy{display:grid;gap:1px;line-height:1.05}
.global-date-copy strong{font-size:19px;letter-spacing:.015em;white-space:nowrap}
.global-date-copy small{font-size:10px;color:var(--muted);font-weight:750;text-transform:uppercase;letter-spacing:.05em}
.global-date-display>svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.global-date-display input[type="date"]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;color-scheme:dark;pointer-events:none}
.global-date-display.is-past{border-color:rgba(255,210,122,.76);color:var(--warn);background:rgba(255,210,122,.08)}
.global-date-display.is-past .global-date-copy small{color:var(--warn)}
@media(min-width:1181px){
  .topbar{grid-template-columns:minmax(395px,465px) minmax(280px,1fr) auto}
}
@media(min-width:761px) and (max-width:1180px){
  .topbar{grid-template-columns:minmax(0,1fr) auto;align-items:start}
  .brand-date-cluster{grid-column:1;grid-row:1}
  .topbar-tools{grid-column:2;grid-row:1}
  .topbar-reminder-row{grid-column:1/-1;grid-row:2}
}
@media(max-width:760px){
  .brand-date-cluster{min-width:0;gap:10px;align-items:flex-start}
  .brand-date-cluster .brand{min-width:0}
  .global-date-display{min-width:136px;min-height:48px;padding:6px 8px 6px 10px;border-radius:14px}
  .global-date-copy strong{font-size:15px}
  .global-date-copy small{font-size:9px}
  .global-date-display>svg{width:19px;height:19px;flex-basis:19px}
}
@media(max-width:560px){
  .brand-date-cluster{flex-wrap:wrap}
  .global-date-display{min-width:150px}
}
@media(max-width:430px){
  .brand-date-cluster{grid-column:1;grid-row:1}
  .topbar-tools{grid-column:1;grid-row:2}
  .topbar-reminder-row{grid-column:1!important;grid-row:3!important}
}

/* Sandbox v1.9.294 · stabile Topbar: Logo → Datum → Reminder → Routine → Login → Demo → Für Arzt */
.topbar.topbar-v195{
  display:grid!important;
  grid-template-columns:max-content 176px minmax(320px,1fr) max-content max-content!important;
  grid-template-areas:"brand date reminder routine tools";
  align-items:center!important;
  column-gap:12px!important;
  row-gap:10px!important;
  margin-bottom:22px!important;
}
.topbar-v195>.brand-v195{grid-area:brand;min-width:0;width:var(--brand-logo-width,max-content)}
.topbar-v195>.brand-v195 h1{width:max-content}
.topbar-v195>.brand-v195 p{width:var(--brand-logo-width,100%);max-width:var(--brand-logo-width,100%);overflow:hidden}
.topbar-v195>.brand-v195 .brand-tagline{display:block;white-space:nowrap;font-size:.88em;letter-spacing:-.015em}
.topbar-v195>.brand-v195 .brand-byline{white-space:nowrap}

.topbar-v195>.global-date-display{grid-area:date;width:176px;min-width:176px;margin-top:0}
.topbar-v195>.topbar-reminder-row{grid-area:reminder;min-width:320px}
.topbar-v195>.topbar-reminder-row .reminder-ticker{width:100%;min-width:0}
.topbar-v195>.top-routine-slot{grid-area:routine;display:flex;align-items:center;justify-content:center}
.topbar-v195>.top-routine-slot .top-routine-button{
  min-width:88px;
  min-height:42px;
  padding:8px 14px;
  white-space:nowrap;
  justify-content:center;
}
.topbar-v195>.topbar-tools{grid-area:tools;display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:nowrap}
.topbar-v195>.topbar-tools .account-button{min-width:112px;max-width:150px;white-space:nowrap}
.topbar-v195>.topbar-tools .doctor-note-for-doctor-v0313{max-width:none;white-space:nowrap}

/* Der SANDBOX-Hinweis bleibt aus der oberen Leiste entfernt. */
.topbar-v195 #onlineVersionBadge{display:none!important}

/* Bei mittleren Desktopbreiten: bewusst zwei feste Zeilen statt dynamischem Zusammenschieben. */
@media(min-width:1001px) and (max-width:1450px){
  .topbar.topbar-v195{
    grid-template-columns:max-content 176px minmax(300px,1fr) max-content!important;
    grid-template-areas:
      "brand date reminder reminder"
      "brand date routine tools";
  }
  .topbar-v195>.topbar-reminder-row{min-width:300px}
  .topbar-v195>.top-routine-slot{justify-content:flex-start}
}

/* Tablet: Logo + Datum oben, darunter Reminder und Aktionen. */
@media(min-width:761px) and (max-width:1000px){
  .topbar.topbar-v195{
    grid-template-columns:max-content 176px minmax(0,1fr)!important;
    grid-template-areas:
      "brand date date"
      "reminder reminder reminder"
      "routine tools tools";
    align-items:start!important;
  }
  .topbar-v195>.topbar-reminder-row{min-width:0;width:100%}
  .topbar-v195>.top-routine-slot{justify-content:flex-start}
  .topbar-v195>.topbar-tools{justify-content:flex-end}
}

/* Mobil: keine wandernden Elemente, sondern klare Zeilen. */
@media(max-width:760px){
  .topbar.topbar-v195{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "brand date"
      "reminder reminder"
      "routine tools";
    align-items:start!important;
    gap:9px!important;
  }
  .topbar-v195>.brand-v195{min-width:0}
  .topbar-v195>.global-date-display{width:145px;min-width:145px;min-height:48px}
  .topbar-v195>.topbar-reminder-row{min-width:0;width:100%}
  .topbar-v195>.top-routine-slot{justify-content:flex-start;align-self:center}
  .topbar-v195>.top-routine-slot .top-routine-button{min-width:76px;min-height:38px;padding:7px 11px}
  .topbar-v195>.topbar-tools{justify-content:flex-end;flex-wrap:wrap}
  .topbar-v195>.topbar-tools .account-button{min-width:86px}
  .topbar-v195>.topbar-tools .doctor-note-for-doctor-v0313{max-width:132px}

  /* Zurück auf Mobilgeräten komfortabel am linken Bildschirmrand. */
  .topbar-v195 .app-back-button:not(.hidden){
    display:grid!important;
    position:fixed!important;
    left:7px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:450!important;
    width:44px!important;
    height:50px!important;
    border-radius:0 14px 14px 0!important;
    box-shadow:0 8px 24px rgba(0,0,0,.35)!important;
    background:#252c35!important;
  }
}

/* Sehr schmal: Datum unter das Logo, damit nichts gequetscht wird. */
@media(max-width:520px){
  .topbar.topbar-v195{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "brand"
      "date"
      "reminder"
      "routine"
      "tools";
  }
  .topbar-v195>.global-date-display{width:160px}
  .topbar-v195>.topbar-tools{justify-content:flex-start}
}

/* Auf Desktop/Tablet liegt Zurück nicht zwischen den Hauptblöcken. */
@media(min-width:761px){
  .topbar-v195 .app-back-button:not(.hidden){display:none!important}
}

/* Sandbox v1.9.294 · Topbar-Reihenfolge finalisiert */
.topbar-v195>.topbar-tools>#persistentDemoBadge{order:1}
.topbar-v195>.topbar-tools>#openDoctorNote{order:2}
.topbar-v195>.topbar-tools>#accountButton{order:3;margin-left:0}
.topbar-v195>.top-routine-slot .top-routine-button{min-width:124px}
@media(max-width:760px){
  .topbar-v195>.topbar-tools>#persistentDemoBadge{order:1}
  .topbar-v195>.topbar-tools>#openDoctorNote{order:2}
  .topbar-v195>.topbar-tools>#accountButton{order:3}
}

/* Sandbox v1.9.294 · aktive Meine-Routine-Navigation */
.topbar-v195>.top-routine-slot .top-routine-button.active{
  border-color:#5bd282!important;
  background:#163522!important;
  color:#effff4!important;
  box-shadow:inset 0 0 0 1px rgba(91,210,130,.16);
}
.topbar-v195>.top-routine-slot .top-routine-button.active:hover{
  border-color:#72e594!important;
  background:#1a3d28!important;
}


/* Sandbox v1.9.294 · Routine: echte Kurzform statt Navigation */
#routineGrid .routine-quick-card-v199{
  cursor:default;
  align-items:start;
}
#routineGrid .routine-quick-card-v199:hover{
  transform:none;
}
.routine-quick-card-v199{
  grid-template-columns:minmax(0,1fr);
  gap:11px;
}
.routine-quick-body-v199{
  display:grid;
  gap:9px;
  padding-left:37px;
}
.routine-quick-footer-v199{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  padding-left:37px;
}
.routine-detail-row-v199{
  display:flex;
  justify-content:flex-end;
}
.routine-detail-link-v199{
  appearance:none;
  border:0;
  background:transparent;
  color:var(--accent);
  padding:5px 2px;
  font:inherit;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  cursor:pointer;
}
.routine-detail-link-v199:hover{
  text-decoration:underline;
}
.routine-detail-button-v199{
  margin-left:auto;
}
.routine-question-v199{
  font-weight:800;
  font-size:15px;
}
.routine-choice-row-v199{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.routine-weight-quick-v199{
  display:grid;
  grid-template-columns:minmax(120px,190px) 46px;
  gap:8px;
  align-items:center;
}
.routine-weight-input-wrap-v199{
  min-height:44px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:6px;
  padding:0 12px;
  border:1px solid var(--border);
  border-radius:13px;
  background:#151a21;
}
.routine-weight-input-wrap-v199:focus-within{
  border-color:var(--accent);
}
.routine-weight-input-wrap-v199 input{
  min-width:0;
  width:100%;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:var(--text)!important;
  padding:0!important;
  font:inherit;
  font-size:20px;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}
.routine-weight-input-wrap-v199>span:last-child{
  color:var(--muted);
  font-weight:800;
}
.routine-save-icon-v199{
  width:46px;
  min-width:46px;
  min-height:44px;
  padding:0!important;
  font-size:21px;
}
.routine-quick-meta-v199{
  color:var(--muted);
  font-size:12px;
}

/* Der interne DarmLogic-Zurück-Pfeil ist wieder auch auf Desktop/Tablet sichtbar.
   Er benutzt ausschließlich den internen navigationBackStack, nicht Browser-History. */
@media(min-width:761px){
  .topbar-v195 .app-back-button:not(.hidden){
    display:inline-grid!important;
    position:static!important;
    transform:none!important;
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
    box-shadow:none!important;
  }
}

@media(max-width:760px){
  .routine-quick-body-v199,
  .routine-quick-footer-v199{padding-left:0}
  .routine-detail-row-v199{justify-content:flex-start}
  .routine-detail-button-v199{margin-left:0}
  .routine-weight-quick-v199{grid-template-columns:minmax(110px,1fr) 46px}
}


/* Sandbox v1.9.294 · gespeicherter Normalfall in Routine */
.routine-normal-saved-v200{
  box-shadow:inset 0 0 0 2px rgba(12,77,38,.24);
}


/* Sandbox v1.9.294 · Meine Routine als zentralen Einstieg hervorheben */
.topbar-v195>.top-routine-slot .top-routine-button{
  border-color:#53c97a!important;
  background:#173722!important;
  color:#edfff3!important;
  box-shadow:
    inset 0 0 0 1px rgba(91,210,130,.14),
    0 0 0 1px rgba(91,210,130,.08);
  font-weight:850;
}
.topbar-v195>.top-routine-slot .top-routine-button:hover{
  border-color:#70e193!important;
  background:#1d432a!important;
}
.topbar-v195>.top-routine-slot .top-routine-button.active{
  border-color:#75e89a!important;
  background:#266640!important;
  color:#fff!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 0 0 2px rgba(91,210,130,.12);
}

.routine-energy-options-v201{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.routine-energy-choice-v201{
  min-width:104px;
}
.routine-energy-choice-v201.active{
  border-color:#61d688!important;
  background:#1b4a2d!important;
  color:#effff4!important;
}

@media(max-width:760px){
  .routine-energy-options-v201{
    align-items:stretch;
  }
  .routine-energy-choice-v201{
    min-width:0;
    flex:1 1 120px;
  }
}


/* Sandbox v1.9.294 · Meine Routine als klarer Primärbutton */
.topbar-v195>.top-routine-slot .top-routine-button{
  border-color:#6fe295!important;
  background:#6fe295!important;
  color:#102017!important;
  box-shadow:none!important;
  font-weight:900!important;
}
.topbar-v195>.top-routine-slot .top-routine-button:hover{
  border-color:#7bea9f!important;
  background:#7bea9f!important;
  color:#0d1b13!important;
}
.topbar-v195>.top-routine-slot .top-routine-button.active{
  border-color:#8df0ad!important;
  background:#8df0ad!important;
  color:#0a1710!important;
  box-shadow:
    0 0 0 2px rgba(111,226,149,.20),
    0 0 18px rgba(111,226,149,.12)!important;
}


/* Sandbox v1.9.294 · Routine-Abschlussrunde */
.routine-status-done-v203{
  color:#82e6a3!important;
  font-weight:750;
}
.routine-quick-footer-v203{
  min-height:34px;
}
#routineGrid .routine-quick-card-v199 .routine-detail-link-v199{
  white-space:nowrap;
}
#routineGrid .routine-quick-card-v199.done{
  border-color:rgba(111,226,149,.34);
}


/* Sandbox v1.9.294 · Verdauung strukturell neu geordnet */
.digestion-v204 .dig-time-editor{
  order:-10;
}
.digestion-v204 .dig-question{
  margin-top:2px;
}
.dig-postmeal-shortcut-v204{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 11px;
  border-top:1px solid var(--border);
}
.dig-postmeal-shortcut-v204 .postmeal-btn{
  min-height:40px;
  padding:8px 12px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.digestion-v204 .dig-details{
  gap:15px;
}
.digestion-v204 .dig-complaint-head strong{
  font-size:15px;
}
.digestion-v204 .dig-complaint-flag[data-dig-flag="nocturnal"],
.digestion-v204 .dig-complaint-flag[data-dig-flag="tenderness"]{
  border-style:dashed;
}
.digestion-v204 .odor-control{
  margin-top:2px;
}
.digestion-v204 #digNote{
  min-height:84px;
}
@media(max-width:620px){
  .dig-postmeal-shortcut-v204{
    align-items:stretch;
    flex-direction:column;
  }
  .dig-postmeal-shortcut-v204 .postmeal-btn{
    width:100%;
    justify-content:center;
  }
}


/* Sandbox v1.9.294 · Notizen für Arzt vom Behandlungsverlauf getrennt */
.doctor-notes-separate-v209{
  margin:14px 0 24px;
  padding:15px 17px;
  border:1px solid rgba(111,226,149,.55);
  border-radius:17px;
  background:rgba(111,226,149,.07);
}
.doctor-notes-separate-head-v209{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.doctor-notes-separate-head-v209 h3{
  margin:2px 0 3px;
}
.doctor-notes-kicker-v209{
  display:inline-block;
  color:var(--accent);
  font-size:11px;
  font-weight:900;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.doctor-notes-separate-v209 .doctor-notes-list{
  margin-top:7px;
}
.doctor-notes-separate-v209 .doctor-note-item{
  border-left:3px solid rgba(111,226,149,.72);
}
.health-history-start-v209{
  margin-top:2px;
  padding-top:18px;
  border-top:1px solid var(--border);
}
@media(max-width:620px){
  .doctor-notes-separate-head-v209{
    flex-direction:column;
    align-items:stretch;
  }
  .doctor-notes-separate-head-v209 .btn{
    align-self:flex-start;
  }
}


/* Sandbox v1.9.294 · Tageskarten: direkte Vollansichten */
.day-full-link-v210{
  white-space:nowrap;
}
.day-health-actions-v210{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.med-plan-focus-v210{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:3px 10px;
  align-items:center;
  padding:10px 12px;
  margin:4px 0 10px;
  border:1px solid rgba(111,226,149,.45);
  border-radius:12px;
  background:rgba(111,226,149,.06);
}
.med-plan-focus-v210>strong,
.med-plan-focus-v210>span{grid-column:1}
.med-plan-focus-v210>span{color:var(--muted);font-size:12px}
.med-plan-focus-v210>.btn{grid-column:2;grid-row:1 / span 2}
@media(max-width:620px){
  .med-plan-focus-v210{grid-template-columns:1fr}
  .med-plan-focus-v210>.btn{grid-column:1;grid-row:auto;justify-self:start;margin-top:5px}
}


/* Sandbox v1.9.294 · PDF-Auswahl in Bericht-Reihenfolge */
.report-checks-v211{
  gap:7px;
}
.report-fixed-v211{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:38px;
  padding:8px 10px;
  border:1px dashed var(--border);
  border-radius:10px;
  color:var(--text);
  background:rgba(255,255,255,.015);
}
.report-fixed-v211 span{
  font-weight:750;
}
.report-fixed-v211 small{
  color:var(--muted);
  text-align:right;
}
.report-data-filters-v211{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid var(--border);
}
.report-data-filter-row-v211{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin-top:7px;
}
@media(max-width:620px){
  .report-fixed-v211{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
  .report-fixed-v211 small{text-align:left}
  .report-data-filter-row-v211{grid-template-columns:1fr}
}


/* Sandbox v1.9.294 · PDF-Auswahl */
.report-check-note-v212{
  margin-left:auto;
  color:var(--muted);
  font-size:11px;
  font-weight:500;
}
.report-personal-always-v212{
  margin-bottom:8px;
}
@media(max-width:620px){
  .report-check-note-v212{
    display:block;
    width:100%;
    margin:3px 0 0 24px;
  }
}


/* Sandbox v1.9.294 · Verdauung UX-Abschlussrunde */
.dig-postmeal-shortcut-v213{
  padding:12px 13px;
  border:1px solid rgba(111,226,149,.28);
  border-radius:14px;
  background:rgba(111,226,149,.035);
}
.dig-postmeal-copy-v213{
  display:grid;
  gap:2px;
  min-width:0;
}
.dig-postmeal-copy-v213 strong{
  font-size:14px;
}
.dig-postmeal-copy-v213 span{
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
}
.digestion-v204 .dig-detail-head>div{
  display:grid;
  gap:2px;
}
.digestion-v204 .dig-detail-head strong{
  font-size:15px;
}
.digestion-v204 .dig-complaint-box{
  padding-top:1px;
}
.digestion-v204 .dig-complaint-flags{
  gap:7px;
}
.digestion-v204 .dig-complaint-flag{
  min-height:40px;
  padding:8px 11px;
}
.dig-save-v213{
  min-height:48px;
}
@media(max-width:620px){
  .dig-postmeal-shortcut-v213{
    gap:9px;
  }
  .dig-postmeal-copy-v213{
    width:100%;
  }
  .digestion-v204 .odor-scale span:nth-child(2),
  .digestion-v204 .odor-scale span:nth-child(3),
  .digestion-v204 .odor-scale span:nth-child(4){
    visibility:hidden;
  }
  .dig-save-v213{
    width:100%;
  }
}


/* Sandbox v1.9.294 · zeitlicher Kontext im Behandlungsverlauf */
.health-context-v219{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 0 2px;
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:11px;
  background:rgba(255,255,255,.018);
}
.health-context-copy-v219{
  display:grid;
  gap:2px;
  min-width:0;
}
.health-context-copy-v219>small{
  color:var(--muted);
  font-size:10px;
}
.health-context-copy-v219>span{
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}
.health-context-copy-v219 b{
  color:var(--text);
}
.health-context-med-v219{
  flex:0 0 auto;
  white-space:nowrap;
}
@media(max-width:680px){
  .health-context-v219{
    align-items:stretch;
    flex-direction:column;
  }
  .health-context-med-v219{
    align-self:flex-start;
  }
}


/* Sandbox v1.9.294 · historischer Medikationsplan sicher schließen */
.med-plan-focus-v210 .med-plan-focus-actions-v220{
  grid-column:2;
  grid-row:1 / span 2;
  display:flex;
  align-items:center;
  gap:7px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.med-plan-focus-v210 .med-plan-focus-close-v220{
  border-color:rgba(255,255,255,.28);
}
@media(max-width:620px){
  .med-plan-focus-v210 .med-plan-focus-actions-v220{
    grid-column:1 / -1;
    grid-row:auto;
    justify-content:flex-start;
    margin-top:5px;
  }
}


/* Sandbox v1.9.294 · Medikationsplan-Kontext dauerhaft schließen */
.medication-head-v221{
  gap:12px;
}
.medication-head-v221 .med-intake-actions{
  justify-content:flex-end;
}
#closeMedicationContextV221{
  white-space:nowrap;
  border-color:rgba(255,255,255,.32);
}
@media(max-width:700px){
  .medication-head-v221{
    align-items:flex-start;
    flex-direction:column;
  }
  .medication-head-v221 .med-intake-actions{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}


/* Sandbox v1.9.294 · Schließen rechts im Medikationskopf */
.medication-head-v221 #closeMedicationContextV221{
  margin-left:4px;
}
@media(max-width:700px){
  .medication-head-v221 #closeMedicationContextV221{
    margin-left:auto;
  }
}


/* Sandbox v1.9.294 · Behandlungsverlauf-Tageskarte stabil */
.day-health .day-section-head{
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  gap:10px;
}
.day-health .day-section-toggle{
  width:100%;
  align-items:flex-start;
}
.day-health .day-section-toggle>span:last-child{
  min-width:0;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  font-size:16px;
  line-height:1.25;
  font-weight:750;
}
.day-health .day-section-actions{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:8px;
  width:100%;
}
.day-health .day-section-actions>.pill{
  flex:0 0 auto;
}
.day-health .day-section-actions .btn{
  white-space:nowrap;
}
@media(max-width:620px){
  .day-health .day-section-toggle>span:last-child{
    font-size:16px;
  }
  .day-health .day-section-actions{
    align-items:stretch;
  }
}


/* Sandbox v1.9.294 · schlanke CED-Zusatzbeobachtungen */
.ced-extra-card-v227{
  border-color:rgba(111,226,149,.22);
}
.ced-extra-head-v227{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.ced-extra-domain-row-v227{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.ced-extra-domain-v227{
  flex:1 1 170px;
  min-height:44px;
}
.ced-extra-domain-v227.active{
  border-color:var(--accent);
  background:rgba(111,226,149,.09);
}
.ced-extra-detail-v227{
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--panel3);
}
.ced-extra-detail-v227.hidden{
  display:none!important;
}
.ced-extra-detail-title-v227{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.ced-extra-symptoms-v227{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.ced-extra-save-row-v227{
  display:grid;
  grid-template-columns:minmax(210px,1fr) auto;
  gap:9px;
  align-items:end;
}
@media(max-width:620px){
  .ced-extra-domain-row-v227{
    display:grid;
    grid-template-columns:1fr;
  }
  .ced-extra-save-row-v227{
    grid-template-columns:1fr;
  }
  .ced-extra-save-row-v227 .btn{
    width:100%;
  }
}


/* Sandbox v1.9.294 · Zusammenhänge gegenüber PDF prominenter */
.topnav>.relations-nav{
  grid-column:1/5!important;
}
.topnav>.report-nav{
  grid-column:5/7!important;
}
.topnav.home-relations-only{
  grid-template-columns:minmax(0,1.75fr) minmax(280px,.85fr)!important;
}
.topnav.home-relations-only>.relations-nav{
  grid-column:1!important;
  min-height:42px;
  padding:9px 14px!important;
  border-color:rgba(116,227,154,.46)!important;
  background:#18221d!important;
}
.topnav.home-relations-only>.relations-nav span:last-child{
  font-size:13px;
}
.topnav.home-relations-only>.report-nav{
  grid-column:2!important;
  min-height:34px;
  align-self:center;
  padding:6px 10px!important;
  background:#151a20!important;
}
.topnav.home-relations-only>.report-nav span:last-child{
  font-size:11.5px;
}
@media(max-width:980px) and (min-width:761px){
  .topnav.home-relations-only{
    grid-template-columns:minmax(0,1.45fr) minmax(250px,1fr)!important;
  }
}

/* CED-Zusatzbeobachtungen: Kontext + kompakte Mobile-Darstellung */
.timeline-observation-text{
  display:grid;
  gap:2px;
}
.timeline-observation-context-v228,
.doctor-note-ced-context-v228{
  display:block;
  color:var(--muted);
  font-size:11px;
  line-height:1.25;
}
@media(max-width:620px){
  .ced-extra-domain-row-v227{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
  }
  .ced-extra-domain-v227{
    min-width:0;
    min-height:40px;
    padding:8px 5px;
    font-size:11.5px;
    white-space:normal;
    line-height:1.2;
  }
}


/* Sandbox v1.9.294 · letzte Web-Core-Stabilisierung */
@media(max-width:430px){
  .ced-extra-domain-row-v227{
    grid-template-columns:1fr;
  }
  .ced-extra-domain-v227{
    min-height:38px;
    font-size:12px;
  }
}


/* Sandbox v1.9.294 · zusätzliche Medikamenteneinnahmen überall sichtbar */
.profile-medication-intakes-v230{
  display:grid;
  gap:9px;
  margin-top:4px;
  padding-top:14px;
  border-top:1px solid var(--border);
}
.profile-medication-intakes-head-v230{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.profile-medication-intakes-list-v230{
  display:grid;
  gap:9px;
}
.profile-medication-intake-row-v230{
  border-left:3px solid rgba(116,227,154,.56);
}
.health-context-additional-med-v230{
  color:var(--text)!important;
}
@media(max-width:620px){
  .profile-medication-intakes-head-v230{
    align-items:flex-start;
  }
  .profile-medication-intake-row-v230{
    grid-template-columns:minmax(0,1fr) auto;
  }
}


/* Sandbox v1.9.294 · Mobile Grundnavigation */
@media(max-width:760px){
  .mobile-bottom-nav{
    height:68px;
  }
  .mobile-bottom-nav .navbtn,
  .mobile-bottom-nav .mobile-more-button{
    position:relative;
    min-width:0;
    min-height:54px;
    border-radius:15px;
    transition:.15s background,.15s color,.15s box-shadow;
  }
  .mobile-bottom-nav .navbtn{
    transform:none!important;
  }
  .mobile-bottom-nav .navbtn span:last-child,
  .mobile-bottom-nav .mobile-more-label{
    font-size:10px;
    font-weight:760;
  }
  .mobile-bottom-nav .navbtn.active,
  .mobile-bottom-nav .mobile-more-button.active{
    background:#242930;
    color:var(--text);
    box-shadow:inset 0 0 0 1px rgba(116,227,154,.18);
  }
  .mobile-bottom-nav .navbtn.active .nav-icon{
    color:var(--accent);
  }
  .mobile-bottom-nav .mobile-more-button.active .mobile-more-dots{
    color:var(--accent);
  }
  .mobile-bottom-nav .mobile-more-button.active::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:3px;
    width:22px;
    height:2px;
    border-radius:999px;
    background:var(--accent);
    opacity:.55;
    transform:translateX(-50%);
  }
  .mobile-more-action{
    text-align:left;
  }
  .mobile-more-action>span:last-child{
    min-width:0;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  .mobile-more-action>span:last-child>small{
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
}


/* Sandbox v1.9.294 · Mehr-Menü: keine Worttrennung */
@media(max-width:430px){
  .mobile-more-grid{
    grid-template-columns:1fr;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 2: kompakte Startseite */
@media(max-width:760px){
  #home .dashboard-search-card{
    margin-bottom:10px;
    padding:8px 9px;
    border-radius:18px;
  }
  #home .dashboard-search-card>.tiny{
    display:none;
  }
  #home .dashboard-search-row{
    gap:7px;
  }
  #home .dashboard-search-icon{
    width:26px;
    height:26px;
  }
  #home .dashboard-search-row input{
    min-height:42px;
  }
  #home .dashboard-search-actions .btn,
  #home .dashboard-search-actions .voice-inline-button{
    min-height:42px;
  }

  #home .dashboard-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin-top:0;
  }
  #home .dashboard-tile{
    min-width:0;
    min-height:86px;
    padding:9px 6px;
    border-radius:18px;
    gap:5px;
    box-shadow:none;
  }
  #home .dashboard-tile.input-tile{
    min-height:108px;
    border-color:rgba(116,227,154,.48);
    background:linear-gradient(180deg,#1d2424,#171c1d);
  }
  #home .dashboard-icon{
    width:40px;
    height:40px;
  }
  #home .dashboard-tile.input-tile .dashboard-icon{
    width:48px;
    height:48px;
  }
  #home .dashboard-copy{
    display:block;
    min-width:0;
  }
  #home .dashboard-copy strong{
    font-size:12.5px;
    line-height:1.16;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  #home .dashboard-tile.input-tile .dashboard-copy strong{
    font-size:13.5px;
  }
  #home .dashboard-copy small{
    display:none;
  }
  #home .dashboard-report-hint-v0311{
    display:none;
  }
  #home .dashboard-badge{
    top:7px;
    right:7px;
    min-width:22px;
    height:22px;
    padding:0 6px;
    font-size:10px;
  }

  #home .home-start-card{
    margin-top:10px;
    border-radius:18px;
  }
  #home .home-start-actions{
    padding:10px;
  }
  #home .home-food-setup-button{
    min-height:42px;
    font-size:12px;
  }
  #home .home-start-footer{
    padding:7px 10px;
  }
  #home .home-start-footer .btn{
    min-height:38px;
    font-size:11px;
  }

  #home .home-demo-bottom{
    margin-top:10px;
  }
  #home .home-version-footer{
    margin-top:12px;
    font-size:9px;
  }
}

/* Auf sehr schmalen Geräten lieber 2 Spalten statt gequetschter Begriffe. */
@media(max-width:350px){
  #home .dashboard-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #home .dashboard-tile,
  #home .dashboard-tile.input-tile{
    min-height:96px;
  }
  #home .dashboard-copy{
    display:block!important;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 3: tägliche Eingabeseiten */
@media(max-width:760px){
  /* Ernährung · Verdauung · Ich heute: weniger Leerraum */
  #nutrition,
  #digestion,
  #bodyHub{
    padding-bottom:10px;
  }

  #nutrition>.section-title,
  #digestion>.section-title,
  #bodyHub>.section-title{
    margin-bottom:10px;
    gap:8px;
  }
  #nutrition>.section-title h2,
  #digestion>.section-title h2,
  #bodyHub>.section-title h2{
    font-size:22px;
    line-height:1.15;
  }
  #nutrition>.section-title .muted,
  #digestion>.section-title .muted,
  #bodyHub>.section-title .muted{
    font-size:11px;
    line-height:1.3;
  }

  /* Datum bleibt direkt beim jeweiligen Bereich statt eigener großer Zeile */
  #nutrition .work-date-control,
  #digestion .work-date-control,
  #bodyHub .work-date-control{
    width:auto;
    margin-top:0;
    gap:6px;
  }
  #nutrition .work-date-picker,
  #digestion .work-date-picker,
  #bodyHub .work-date-picker{
    min-height:36px;
    padding:5px 6px 5px 9px;
    font-size:12px;
  }
  #nutrition .work-date-today,
  #digestion .work-date-today,
  #bodyHub .work-date-today{
    min-height:36px;
  }

  /* Karten kompakter, Touch-Ziele bleiben groß genug */
  #nutrition .card,
  #digestion .card,
  #bodyHub .card{
    padding:14px;
    border-radius:17px;
  }
  #nutrition .stack,
  #digestion .stack,
  #bodyHub .stack{
    gap:10px;
  }
  #nutrition .grid2,
  #digestion .grid2,
  #bodyHub .grid2{
    gap:10px;
  }
  #nutrition .card h3,
  #digestion .card h3,
  #bodyHub .card h3{
    margin-bottom:10px;
    font-size:18px;
    line-height:1.2;
  }

  #nutrition .btn:not(.small),
  #digestion .btn:not(.small),
  #bodyHub .btn:not(.small){
    min-height:44px;
  }

  /* Ernährung: die fünf Bereiche in einer einzigen, horizontalen Leiste */
  #nutrition .nutrition-tabs{
    display:flex;
    flex-wrap:nowrap;
    gap:6px;
    margin-bottom:10px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding:0 1px 3px;
  }
  #nutrition .nutrition-tabs::-webkit-scrollbar{
    display:none;
  }
  #nutrition .nutrition-tab{
    flex:0 0 auto;
    min-height:40px;
    padding:8px 11px;
    font-size:12px;
    white-space:nowrap;
  }

  /* Historisches Nachtragen nicht unnötig aufblasen */
  #nutrition .nutrition-backfill-bar{
    gap:8px;
    margin-bottom:10px;
    padding:9px 10px;
  }

  /* Verdauung */
  #digestion .digestion-compact{
    gap:10px;
  }
  #digestion .dig-details{
    gap:10px;
  }
  #digestion .dig-complaint-box{
    padding:11px;
  }
  #digestion .dig-complaint-flags{
    gap:6px;
  }
  #digestion .dig-complaint-flag{
    min-height:40px;
    padding:8px 9px;
  }
  #digestion .bristol{
    min-height:96px;
    padding:8px;
  }
  #digestion .gas-card{
    margin-top:10px;
  }

  /* Ich heute */
  #bodyHub .body-section-title{
    margin:12px 0 8px;
  }
  #bodyHub .body-section-title h2{
    font-size:20px!important;
  }
  #bodyHub .body-weight-layout,
  #bodyHub .body-checkin-grid{
    gap:10px;
  }
  #bodyHub .wellbeing-quick-card,
  #bodyHub .energy-card,
  #bodyHub .body-medication-intake-card,
  #bodyHub .ced-extra-card-v227,
  #bodyHub .observation-card{
    margin-top:0;
  }
  #bodyHub .wellbeing-choice-row,
  #bodyHub .energy-choice-row{
    gap:7px;
  }
  #bodyHub .wellbeing-choice-btn,
  #bodyHub .energy-choice{
    min-height:44px;
    padding:9px 8px;
  }
  #bodyHub .body-card-save-row,
  #bodyHub .energy-save-row{
    gap:8px;
  }

  /* Eingabefelder mobil etwas niedriger, ohne Touch-Fläche zu verlieren */
  #nutrition input,
  #nutrition select,
  #digestion input,
  #digestion select,
  #bodyHub input,
  #bodyHub select{
    min-height:44px;
    padding-top:10px;
    padding-bottom:10px;
  }
  #nutrition textarea,
  #digestion textarea,
  #bodyHub textarea{
    min-height:76px;
  }
}

/* Auf sehr schmalen iPhones Datum unter den Titel – aber kompakt */
@media(max-width:390px){
  #nutrition>.section-title,
  #digestion>.section-title,
  #bodyHub>.section-title{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  #nutrition .work-date-control,
  #digestion .work-date-control,
  #bodyHub .work-date-control{
    flex:0 0 auto;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 4: Verlauf & Tagesansicht */
@media(max-width:760px){
  /* Kopf */
  #timelineScreen>.section-title{
    align-items:flex-start;
    gap:9px;
    margin-bottom:10px;
  }
  #timelineScreen>.section-title h2{
    font-size:22px;
    line-height:1.15;
  }
  #timelineScreen>.section-title .export-actions .btn{
    min-height:40px;
    padding:8px 10px;
    font-size:11.5px;
    white-space:nowrap;
  }

  /* Kalender + Tagesbereich */
  #timelineScreen>.grid2{
    gap:10px;
  }
  #timelineScreen .calendar-wrap,
  #timelineScreen>.grid2>.card.stack{
    padding:11px;
    border-radius:17px;
  }
  #timelineScreen .cal-head{
    margin-bottom:7px;
  }
  #timelineScreen .day{
    min-height:52px;
    padding:4px 3px;
  }
  #timelineScreen .dots{
    margin-top:5px;
  }

  /* Tag wählen + Suche kompakter */
  #timelineScreen>.grid2>.card.stack>.row:first-child{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
    align-items:end;
  }
  #timelineScreen>.grid2>.card.stack>.row:first-child label{
    min-width:0;
  }
  #timelineScreen #filterDate{
    min-height:42px;
    padding:9px 10px;
  }
  #timelineScreen #clearDateFilter{
    min-height:42px;
    padding:8px 12px;
  }
  #timelineScreen .timeline-search{
    margin-top:8px;
  }
  #timelineScreen .timeline-search label{
    gap:5px;
    font-size:11px;
  }
  #timelineScreen #timelineSearch{
    min-height:42px;
    padding:9px 10px;
  }

  /* Tageskarten */
  #timelineScreen .day-section-card{
    margin-top:8px;
    border-radius:14px;
  }
  #timelineScreen .day-section-head{
    padding:10px 11px;
    gap:7px;
  }
  #timelineScreen .day-section-toggle{
    gap:7px;
  }
  #timelineScreen .day-section-toggle>span:last-child{
    font-size:14px;
    line-height:1.22;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  #timelineScreen .day-section-arrow{
    flex:0 0 18px;
    width:18px;
  }
  #timelineScreen .day-section-actions{
    gap:6px;
  }
  #timelineScreen .day-section-actions>.pill{
    padding:4px 7px;
    font-size:10.5px;
  }
  #timelineScreen .day-section-actions .btn{
    min-height:38px;
    padding:7px 9px;
    font-size:11px;
  }
  #timelineScreen .day-section-body{
    padding:0 11px 11px;
  }

  /* Medikation: nicht drei riesige Vollbreiten-Buttons untereinander */
  #timelineScreen .day-medication .med-intake-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    width:100%;
  }
  #timelineScreen .day-medication .med-intake-actions .btn{
    width:100%;
    min-width:0;
    white-space:normal;
    line-height:1.2;
  }
  #timelineScreen .day-medication .med-intake-actions .day-full-link-v210{
    grid-column:1/-1;
  }

  /* Behandlungsverlauf: Aktionen kompakt, Titel bleibt sauber */
  #timelineScreen .day-health .day-section-actions{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:6px;
  }
  #timelineScreen .day-health .day-section-actions .btn{
    width:auto;
    max-width:100%;
    white-space:normal;
  }

  /* Einzelereignisse */
  #timelineScreen .event{
    grid-template-columns:52px 28px minmax(0,1fr);
    gap:7px;
    padding:8px 0;
  }
  #timelineScreen .event-time{
    font-size:10.5px;
  }
  #timelineScreen .event-ico{
    width:28px;
  }
  #timelineScreen .event-text{
    min-width:0;
    font-size:12px;
    line-height:1.35;
  }
  #timelineScreen .event-actions{
    grid-column:3;
    gap:5px;
  }

  /* Beobachtungen */
  #timelineScreen .timeline-observations-card{
    margin-top:8px;
  }
  #timelineScreen .timeline-observations-card>summary{
    padding:10px 11px;
  }
  #timelineScreen .timeline-observation-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
    padding:8px;
  }
  #timelineScreen .timeline-observation-when{
    grid-column:1/-1;
    font-size:10.5px;
  }
  #timelineScreen .timeline-observation-text{
    min-width:0;
    font-size:12px;
  }

  /* Verlaufsdiagramm */
  #timelineScreen>.card[style*="margin-top:18px"]{
    margin-top:10px!important;
    padding:12px;
    border-radius:17px;
  }
  #timelineScreen>.card[style*="margin-top:18px"]>.section-title{
    margin-bottom:9px;
  }
  #timelineScreen>.card[style*="margin-top:18px"]>.section-title h3{
    font-size:18px;
  }
  #timelineScreen>.card[style*="margin-top:18px"]>.section-title .muted{
    font-size:11px;
    line-height:1.3;
  }
  #timelineScreen .chart-toolbar{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin-bottom:8px;
  }
  #timelineScreen .chart-metric-control{
    min-width:0;
    gap:5px;
  }
  #timelineScreen .chart-control-label{
    font-size:11px;
  }
  #timelineScreen .chart-metric-buttons{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
  }
  #timelineScreen .chart-metric-btn{
    min-width:0;
    min-height:40px;
    padding:7px 5px;
    font-size:11px;
    line-height:1.15;
    white-space:normal;
  }
  #timelineScreen .chart-range-control{
    width:100%;
    min-width:0!important;
    max-width:none;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    gap:8px;
    font-size:11px;
  }
  #timelineScreen #chartRange{
    min-height:40px;
    padding:8px 10px;
  }
  #timelineScreen .chart-wrap{
    margin-left:0;
    margin-right:0;
    border-radius:14px;
    -webkit-overflow-scrolling:touch;
  }
  #timelineScreen .chart-svg{
    min-width:520px;
    height:260px;
    border-radius:14px;
  }
  #timelineScreen .chart-axis{
    font-size:10px;
  }
  #timelineScreen .chart-wellbeing-compare,
  #timelineScreen .chart-energy-compare{
    margin-top:7px;
  }

  /* Zusammenhänge-Link */
  #timelineScreen .timeline-relations-jump{
    margin-top:10px;
    min-height:44px;
    padding:10px 12px;
    border-radius:14px;
  }
}

@media(max-width:390px){
  #timelineScreen>.section-title{
    flex-wrap:wrap;
  }
  #timelineScreen>.section-title .export-actions{
    width:100%;
  }
  #timelineScreen>.section-title .export-actions .btn{
    width:100%;
  }
  #timelineScreen .chart-svg{
    min-width:480px;
    height:245px;
  }
}


/* Sandbox v1.9.294 · iPhone: native Datumsauswahl direkt antippbar */
.global-date-display input[type="date"]{
  pointer-events:auto!important;
  z-index:4;
}

/* Auf Touch-Geräten liegt das native Date-Input über dem ganzen Datumsfeld.
   Damit kommt der Tap direkt bei Safari an – ohne programmatic click/showPicker. */
@media(max-width:760px) and (pointer:coarse){
  .global-date-display input[type="date"],
  .work-date-picker input[type="date"]{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    min-width:100%!important;
    height:100%!important;
    opacity:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    z-index:5!important;
    pointer-events:auto!important;
    cursor:pointer!important;
    font-size:16px!important;
    -webkit-appearance:auto!important;
    appearance:auto!important;
  }
  .work-date-picker{
    position:relative;
    overflow:hidden;
  }
}

/* iOS Safari liefert nicht immer pointer:coarse zuverlässig im PWA-Modus.
   Mobile Breite deshalb zusätzlich absichern. */
@media(max-width:760px){
  .global-date-display input[type="date"]{
    pointer-events:auto!important;
  }
}


/* Sandbox v1.9.294 · Mini-Diagramme: Karte ist kein Gesamt-Button mehr */
.module-mini-charts .nutrition-mini-chart{
  cursor:default;
}
.module-mini-charts .nutrition-mini-chart:hover{
  transform:none;
  border-color:var(--border);
  background:var(--panel3);
}
.mini-chart-range-v237{
  width:auto;
  min-width:112px;
  min-height:34px;
  padding:6px 28px 6px 9px;
  border-radius:10px;
  font-size:11px;
  color:var(--text);
  background:#181d25;
  border:1px solid var(--border);
  cursor:pointer;
}
.mini-input-jump-v237{
  appearance:none;
  border:0;
  background:transparent;
  padding:2px 0;
  margin:0;
  color:var(--accent)!important;
  font:inherit;
  font-weight:750;
  cursor:pointer;
  text-align:right;
}
.mini-input-jump-v237:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}
.mini-input-jump-v237:focus-visible,
.mini-chart-range-v237:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.module-input-target-v237{
  box-shadow:0 0 0 2px rgba(116,227,154,.48),var(--shadow)!important;
}
@media(max-width:480px){
  .nutrition-mini-head{
    align-items:center;
    gap:8px;
  }
  .nutrition-mini-head strong{
    min-width:0;
  }
  .mini-chart-range-v237{
    min-width:98px;
    max-width:118px;
    font-size:10.5px;
  }
  .nutrition-mini-foot{
    align-items:center;
  }
  .mini-input-jump-v237{
    max-width:55%;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 5: Profil & Gesundheit */
@media(max-width:760px){
  /* Profil/Behandlungsverlauf als klare Zwei-Wege-Navigation */
  #profile .profile-tabs,
  #healthScreen .profile-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin-bottom:10px;
  }
  #profile .profile-tab,
  #healthScreen .profile-tab{
    min-width:0;
    min-height:42px;
    padding:8px 7px;
    border-radius:13px;
    font-size:11.5px;
    line-height:1.2;
    white-space:normal;
    text-align:center;
  }

  /* Profilkopf kompakt */
  #profile>.section-title{
    align-items:flex-start;
    gap:8px;
    margin-bottom:10px;
  }
  #profile>.section-title h2{
    font-size:21px;
    line-height:1.15;
  }
  #profile>.section-title>.pill{
    flex:0 0 auto;
    padding:4px 7px;
    font-size:10px;
  }

  /* Profilkarten */
  #profile>.grid2{
    gap:10px;
  }
  #profile .card{
    padding:14px;
    border-radius:17px;
  }
  #profile .card.stack{
    gap:10px;
  }
  #profile .card h3{
    margin-bottom:8px;
    font-size:18px;
    line-height:1.2;
  }
  #profile .card h4{
    font-size:14px;
  }
  #profile label{
    gap:5px;
    font-size:12px;
  }
  #profile input,
  #profile select{
    min-height:43px;
    padding:9px 11px;
  }
  #profile textarea{
    min-height:72px;
    padding:10px 11px;
  }
  #profile .notice{
    padding:10px 11px;
    font-size:11.5px;
    line-height:1.4;
  }
  #profile .switchrow{
    padding:8px 0;
    gap:9px;
  }
  #profile .switchrow strong{
    font-size:12.5px;
  }
  #profile .switchrow .tiny{
    font-size:10.5px;
  }

  /* Paarweise Profilfelder bleiben platzsparend nebeneinander */
  #profile .card.stack>.row{
    gap:8px;
  }
  #profile .card.stack>.row>.grow{
    min-width:145px;
  }

  /* Diagnosen */
  #profile .diagnosis-accordion>summary,
  #healthScreen .health-diagnosis-history-card>summary{
    min-height:44px;
    padding:10px 11px;
    font-size:12.5px;
  }
  #profile .diagnosis-accordion-body,
  #healthScreen .health-diagnosis-history-body{
    gap:9px;
    padding:10px 11px 11px;
  }
  #profile .diagnosis-history-row,
  #healthScreen .diagnosis-history-row{
    padding:8px 9px;
    gap:7px;
  }

  /* Medikation */
  #profile .medication-head-v221{
    gap:8px;
  }
  #profile .medication-head-v221 h3{
    font-size:18px;
  }
  #profile .medication-head-v221 .med-intake-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    width:100%;
  }
  #profile .medication-head-v221 .med-intake-actions .btn{
    min-width:0;
    min-height:40px;
    padding:7px 8px;
    font-size:11px;
    white-space:normal;
    line-height:1.2;
  }
  #profile .medication-head-v221 #closeMedicationContextV221{
    grid-column:1/-1;
    margin-left:0;
    justify-self:stretch;
  }
  #profile .med-sort-row{
    margin-top:0;
  }
  #profile .med-sort-row label{
    min-width:0;
    width:100%;
  }
  #profile .med-list{
    gap:7px;
  }
  #profile .meditem{
    gap:8px;
    padding:10px 11px;
    border-radius:13px;
  }
  #profile .meditem strong{
    font-size:12.5px;
    line-height:1.25;
  }
  #profile .meditem small{
    font-size:10.5px;
    line-height:1.3;
  }
  #profile .meditem>.btn,
  #profile .meditem>.event-actions .btn{
    min-width:38px;
    min-height:38px;
  }

  /* Zusätzliche Einnahmen als klarer Unterblock */
  #profile .profile-medication-intakes-v230{
    gap:7px;
    padding-top:11px;
  }
  #profile .profile-medication-intakes-head-v230{
    align-items:center;
    gap:7px;
  }
  #profile .profile-medication-intakes-head-v230>strong{
    font-size:13px;
    line-height:1.25;
  }
  #profile .profile-medication-intakes-head-v230>.pill{
    flex:0 0 auto;
    font-size:10px;
  }

  /* Behandlungsverlauf */
  #healthScreen .doctor-notes-separate-v209{
    margin:8px 0 12px;
    padding:11px 12px;
    border-radius:14px;
  }
  #healthScreen .doctor-notes-separate-head-v209{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:8px;
    margin-bottom:7px;
  }
  #healthScreen .doctor-notes-separate-head-v209 .btn{
    align-self:start;
    min-height:38px;
    padding:7px 9px;
    font-size:11px;
  }
  #healthScreen .doctor-notes-separate-head-v209 h3{
    font-size:17px;
  }
  #healthScreen .doctor-notes-separate-head-v209 .tiny{
    font-size:10.5px;
    line-height:1.3;
  }

  #healthScreen .health-history-start-v209{
    padding-top:11px;
  }
  #healthScreen .health-history-start-v209 .section-title{
    align-items:flex-start;
    gap:8px;
    margin-bottom:9px;
  }
  #healthScreen .health-history-start-v209 h2{
    font-size:21px;
    line-height:1.15;
  }
  #healthScreen .health-history-start-v209 .muted{
    font-size:10.5px;
    line-height:1.3;
  }
  #healthScreen #addHealthRecord{
    flex:0 0 auto;
    min-height:40px;
    padding:8px 10px;
    font-size:11px;
  }

  #healthScreen>.card{
    padding:12px;
    border-radius:17px;
  }

  /* Suche über volle Breite; Art + Sortierung nebeneinander */
  #healthScreen .health-toolbar{
    grid-template-columns:1fr 1fr;
    gap:7px;
    margin-bottom:10px;
  }
  #healthScreen .health-toolbar>label:first-child{
    grid-column:1/-1;
  }
  #healthScreen .health-toolbar label{
    min-width:0;
    gap:4px;
    font-size:10.5px;
  }
  #healthScreen .health-toolbar input,
  #healthScreen .health-toolbar select{
    min-width:0;
    min-height:42px;
    padding:8px 9px;
    font-size:12px;
  }

  /* Behandlungsereignisse kompakter */
  #healthScreen .health-list{
    gap:8px;
  }
  #healthScreen .health-record{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px 8px;
    padding:10px 11px;
    border-radius:14px;
  }
  #healthScreen .health-date{
    grid-column:1;
    font-size:11.5px;
  }
  #healthScreen .health-record>div:nth-child(2){
    grid-column:1;
  }
  #healthScreen .health-record>div:last-child{
    grid-column:2;
    grid-row:1/3;
  }
  #healthScreen .health-record h3{
    font-size:14px;
    line-height:1.25;
    margin-bottom:3px;
  }
  #healthScreen .health-record p{
    margin-top:4px;
    font-size:11.5px;
    line-height:1.35;
  }
  #healthScreen .health-meta,
  #healthScreen .health-docs{
    margin-top:6px;
    gap:4px;
  }
  #healthScreen .health-meta .pill{
    padding:3px 6px;
    font-size:9.5px;
  }
  #healthScreen .health-record .event-actions{
    display:grid;
    gap:5px;
  }
  #healthScreen .health-record .event-actions .btn{
    min-width:38px;
    min-height:38px;
    padding:6px;
  }
}

@media(max-width:430px){
  /* Sehr schmale Geräte: Profilfelder zuverlässig stapeln */
  #profile .card.stack>.row{
    display:grid;
    grid-template-columns:1fr;
  }
  #profile .card.stack>.row>.grow{
    min-width:0;
    width:100%;
  }

  #healthScreen .doctor-notes-separate-head-v209{
    grid-template-columns:1fr;
  }
  #healthScreen .doctor-notes-separate-head-v209 .btn{
    justify-self:start;
  }
}


/* Sandbox v1.9.294 · Profil → Kalorien-Diagramm */
@media(max-width:760px){
  #timelineChartCardV239{
    scroll-margin-top:82px;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 6: Zusammenhänge + PDF-Auswahl */
@media(max-width:760px){
  /* Zusammenhänge */
  #relationsScreen>.section-title{
    margin-bottom:9px;
  }
  #relationsScreen>.section-title h2{
    font-size:22px;
    line-height:1.15;
  }
  #relationsScreen>.section-title .muted{
    font-size:11px;
  }
  #relationsScreen .relations-core-card{
    margin-top:0;
    padding:12px;
    border-radius:17px;
  }
  #relationsScreen .relation-domain-title{
    margin:13px 0 8px;
    font-size:14px;
  }
  #relationsScreen .relation-domain-divider{
    margin:14px 0 0;
  }

  /* Zeitfenster 2/6/12/24 h: vier gleich große Touch-Felder */
  #relationsScreen .relation-window-picker{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
    width:100%;
  }
  #relationsScreen .relation-window-choice{
    width:100%;
    min-width:0;
    min-height:40px;
    padding:7px 4px;
    border-radius:12px;
    font-size:11px;
    white-space:nowrap;
  }

  /* DarmLogic-Blüte */
  #relationsScreen .relation-bloom-card{
    margin:9px 0 10px;
    padding:9px 8px 8px;
    border-radius:15px;
  }
  #relationsScreen .relation-bloom-head{
    margin-bottom:3px;
    padding:0;
  }
  #relationsScreen .relation-bloom-svg{
    width:100%;
    min-height:0;
    max-height:none;
  }
  #relationsScreen .relation-bloom-legend{
    display:grid;
    grid-template-columns:1fr 1fr;
    justify-items:start;
    gap:5px 8px;
    margin-top:3px;
    font-size:9px;
  }
  #relationsScreen .relation-bloom-note{
    font-size:9.5px;
    line-height:1.3;
  }

  /* Übersichtsbalken: Label + Prozent oben, Balken darunter */
  #relationsScreen .relation-overview-chart{
    margin:9px 0 10px;
    padding:10px;
    gap:8px;
    border-radius:14px;
    min-height:0;
  }
  #relationsScreen .relation-overview-head{
    align-items:flex-start;
    gap:6px;
    font-size:10px;
  }
  #relationsScreen .relation-overview-head strong{
    font-size:12px;
    line-height:1.25;
  }
  #relationsScreen .relation-overview-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:4px 8px;
  }
  #relationsScreen .relation-overview-label{
    grid-column:1;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:10.5px;
  }
  #relationsScreen .relation-overview-value{
    grid-column:2;
    font-size:10px;
  }
  #relationsScreen .relation-overview-track{
    grid-column:1/-1;
    min-width:0;
  }
  #relationsScreen .relation-overview-axis{
    display:none;
  }

  /* Einträge / Detailkarten */
  #relationsScreen .relation-section{
    margin-top:9px;
  }
  #relationsScreen .relation-grid{
    gap:7px;
  }
  #relationsScreen .relation-accordion{
    border-radius:14px;
  }
  #relationsScreen .relation-accordion>summary{
    min-height:46px;
    padding:9px 10px;
    gap:5px 8px;
  }
  #relationsScreen .relation-accordion-summary-name{
    gap:5px;
  }
  #relationsScreen .relation-accordion-summary-name strong{
    font-size:12.5px;
    line-height:1.2;
  }
  #relationsScreen .relation-accordion-summary-name .pill{
    padding:3px 6px;
    font-size:9px;
  }
  #relationsScreen .relation-accordion-summary-meta{
    gap:5px 7px;
  }
  #relationsScreen .relation-verdict{
    font-size:10.5px;
  }
  #relationsScreen .relation-accordion-count,
  #relationsScreen .relation-accordion-complaints{
    font-size:9.5px;
  }
  #relationsScreen .relation-accordion-body{
    gap:7px;
    padding:9px 10px 10px;
  }
  #relationsScreen .relation-quick-overview{
    gap:6px;
  }
  #relationsScreen .relation-card-summary{
    font-size:10.5px;
    line-height:1.35;
  }
  #relationsScreen .relation-bar-row{
    grid-template-columns:1fr;
    gap:4px;
  }
  #relationsScreen .relation-bar-label{
    font-size:10px;
  }
  #relationsScreen .relation-detail-exact,
  #relationsScreen .relation-no-reaction,
  #relationsScreen .relation-single-case{
    font-size:10.5px;
    line-height:1.35;
  }
  #relationsScreen .relation-occurrence{
    grid-template-columns:64px minmax(0,1fr) auto;
    gap:6px;
    padding:7px 8px;
    border-radius:10px;
  }
  #relationsScreen .relation-occurrence-date{
    font-size:9.5px;
  }
  #relationsScreen .relation-occurrence-main{
    font-size:10.5px;
  }
  #relationsScreen .relations-screen-foot{
    margin-top:12px;
    padding-top:9px;
    font-size:9.5px;
  }

  /* PDF-Auswahl als kompakte mobile Bottom-Sheet-Inhalt */
  #pdfModal .modal-card{
    padding-top:14px;
  }
  #pdfModal .modal-head{
    margin-bottom:9px;
  }
  #pdfModal .modal-head h3{
    font-size:18px;
    line-height:1.2;
  }
  #pdfModal .modal-head .tiny{
    font-size:10px;
    line-height:1.3;
  }
  #pdfModal .stack{
    gap:9px;
  }
  #pdfModal .export-grid{
    grid-template-columns:1fr 1fr;
    gap:7px;
  }
  #pdfModal .export-grid label{
    gap:4px;
    font-size:10.5px;
  }
  #pdfModal .export-grid input{
    min-width:0;
    min-height:42px;
    padding:8px 9px;
    font-size:12px;
  }

  /* Zeitraum-Schnellwahl */
  #pdfModal .export-grid + .row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #pdfModal #reportLast30,
  #pdfModal #reportAll{
    width:100%;
    min-height:40px;
    padding:7px 6px;
    font-size:10.5px;
    white-space:normal;
    line-height:1.2;
  }

  #pdfModal .report-personal-always-v212{
    margin-bottom:6px;
    font-size:9.5px;
    line-height:1.3;
  }
  #pdfModal .report-checks-v211{
    gap:5px;
  }
  #pdfModal .report-check,
  #pdfModal .report-fixed-v211{
    min-height:38px;
    padding:7px 8px;
    border-radius:10px;
    gap:7px;
    font-size:11px;
    line-height:1.25;
  }
  #pdfModal .report-check input{
    flex:0 0 auto;
    width:17px;
    height:17px;
  }
  #pdfModal .report-check-note-v212{
    width:100%;
    margin:2px 0 0 24px;
    font-size:9px;
    line-height:1.25;
  }
  #pdfModal .report-fixed-v211{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
  }
  #pdfModal .report-fixed-v211 small{
    text-align:right;
    font-size:9px;
  }
  #pdfModal .report-data-filters-v211{
    margin-top:8px;
    padding-top:8px;
  }
  #pdfModal .report-data-filter-row-v211{
    grid-template-columns:1fr 1fr;
    gap:5px;
    margin-top:5px;
  }

  #pdfModal .notice{
    padding:8px 9px;
    font-size:9.5px;
    line-height:1.3;
  }

  /* Erstellen klar als Hauptaktion */
  #pdfModal .stack>.row:last-child{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:6px;
  }
  #pdfModal #createPdfReport{
    min-height:44px;
    white-space:normal;
    line-height:1.2;
    font-size:11px;
  }
  #pdfModal .stack>.row:last-child>.btn:not(.primary){
    min-height:44px;
    padding:8px 10px;
    font-size:10.5px;
  }
}

@media(max-width:390px){
  #relationsScreen .relation-bloom-legend{
    grid-template-columns:1fr;
  }
  #relationsScreen .relation-window-choice{
    font-size:10.5px;
  }

  #pdfModal .report-fixed-v211{
    grid-template-columns:1fr;
    gap:2px;
  }
  #pdfModal .report-fixed-v211 small{
    text-align:left;
  }
}


/* Sandbox v1.9.294 · iPhone: Zusammenhänge + PDF auf Startseite wieder sichtbar */
@media(max-width:760px){
  .topnav.home-relations-only{
    display:grid!important;
    position:static;
    top:auto;
    width:100%;
    margin:0 0 10px;
    padding:5px;
    grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)!important;
    gap:5px;
    border-radius:17px;
    background:rgba(20,23,29,.72);
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    z-index:auto;
  }

  .topnav.home-relations-only>.navbtn{
    display:none!important;
  }

  .topnav.home-relations-only>.relations-nav,
  .topnav.home-relations-only>.report-nav{
    display:flex!important;
    margin:0!important;
    min-width:0;
    width:100%;
    border-radius:13px!important;
    justify-content:center!important;
    align-items:center!important;
  }

  .topnav.home-relations-only>.relations-nav{
    grid-column:1!important;
    min-height:42px;
    padding:8px 9px!important;
  }

  .topnav.home-relations-only>.report-nav{
    grid-column:2!important;
    min-height:38px;
    padding:7px 8px!important;
  }

  .topnav.home-relations-only>.relations-nav .nav-icon,
  .topnav.home-relations-only>.report-nav .nav-icon{
    width:17px;
    height:17px;
    flex:0 0 17px;
  }

  .topnav.home-relations-only>.relations-nav span:last-child{
    display:block!important;
    min-width:0;
    font-size:11.5px!important;
    white-space:nowrap;
  }

  .topnav.home-relations-only>.report-nav span:last-child{
    display:block!important;
    min-width:0;
    font-size:10px!important;
    line-height:1.15;
    white-space:normal;
    text-align:center;
  }
}

@media(max-width:390px){
  .topnav.home-relations-only{
    grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;
  }
  .topnav.home-relations-only>.relations-nav span:last-child{
    font-size:11px!important;
  }
  .topnav.home-relations-only>.report-nav span:last-child{
    font-size:9.5px!important;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 7: Einkaufsliste */
@media(max-width:760px){
  #nutShopping>.card{
    padding:13px;
    border-radius:18px;
    gap:10px;
  }

  #nutShopping>.card>.section-title{
    align-items:flex-start;
    gap:8px;
    margin-bottom:1px;
  }
  #nutShopping>.card>.section-title h2{
    font-size:21px!important;
    line-height:1.15;
  }
  #nutShopping>.card>.section-title .muted{
    font-size:10.5px;
    line-height:1.3;
  }

  /* Vorschau/Kopieren/Erledigte löschen: 2 + 1 statt langer Buttonreihe */
  #nutShopping>.card>.section-title .export-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    width:100%;
  }
  #nutShopping #shareShopping,
  #nutShopping #copyShopping,
  #nutShopping #clearDoneShopping{
    min-width:0;
    min-height:40px;
    padding:7px 8px;
    font-size:10.5px;
    line-height:1.2;
    white-space:normal;
  }
  #nutShopping #clearDoneShopping{
    grid-column:1/-1;
    justify-self:stretch;
  }

  /* Eigene / gemeinsame Liste */
  #nutShopping .shopping-sync-card{
    padding:10px 11px;
    gap:8px;
    border-radius:14px;
  }
  #nutShopping .shopping-sync-head{
    gap:7px;
  }
  #nutShopping .shopping-sync-state{
    gap:7px;
    font-size:15px;
  }
  #nutShopping .shopping-sync-state-dot{
    width:9px;
    height:9px;
  }
  #nutShopping .shopping-sync-meta{
    margin-top:3px;
    font-size:10.5px;
    line-height:1.3;
  }
  #nutShopping .shopping-sync-pending{
    margin-top:6px;
    padding:7px 8px;
    font-size:10px;
    line-height:1.3;
  }
  #nutShopping .shopping-sync-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #nutShopping .shopping-sync-actions .btn{
    min-width:0;
    min-height:40px;
    padding:7px 8px;
    font-size:10.5px;
    line-height:1.2;
    white-space:normal;
  }
  #nutShopping .shopping-sync-actions .btn:only-child{
    grid-column:1/-1;
  }

  /* Schnelle freie Eingabe */
  #nutShopping .shopping-add-layout{
    gap:7px;
    margin:2px 0 1px;
  }
  #nutShopping .shopping-free-entry-row{
    grid-template-columns:minmax(0,1fr) 44px;
    gap:6px;
    align-items:end;
  }
  #nutShopping .shopping-free-entry-row label{
    min-width:0;
    gap:4px;
    font-size:10.5px;
  }
  #nutShopping #shoppingCustomName{
    min-width:0;
    min-height:44px;
    padding:9px 10px;
  }
  #nutShopping .shopping-free-entry-row .voice-inline-button{
    width:44px;
    min-width:44px;
    height:44px;
    min-height:44px;
    padding:0;
  }
  #nutShopping .shopping-custom-error{
    font-size:9.5px;
    line-height:1.25;
  }

  #nutShopping .shopping-add-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #nutShopping .shopping-add-actions .btn{
    min-width:0;
    min-height:42px;
    padding:7px 8px;
    font-size:10.5px;
    line-height:1.2;
    white-space:normal;
  }
  #nutShopping #addShoppingCustom{
    background:#152019;
    border-color:rgba(116,227,154,.52);
    color:var(--accent);
  }

  /* Liste */
  #nutShopping .shopping-list{
    gap:7px;
  }
  #nutShopping .shopping-item{
    grid-template-columns:28px minmax(0,1fr);
    gap:6px 8px;
    align-items:start;
    padding:9px 10px;
    border-radius:13px;
  }
  #nutShopping .shopping-check{
    grid-column:1;
    grid-row:1;
    width:24px!important;
    height:24px!important;
    margin-top:1px;
  }
  #nutShopping .shopping-item>div:nth-child(2){
    grid-column:2;
    min-width:0;
  }
  #nutShopping .shopping-item strong{
    display:block;
    font-size:13px;
    line-height:1.25;
    overflow-wrap:anywhere;
  }
  #nutShopping .shopping-item-copy{
    gap:4px 7px;
    margin-top:2px;
  }
  #nutShopping .shopping-item small{
    margin-top:0;
    font-size:9.5px;
    line-height:1.25;
  }
  #nutShopping .shopping-save-source-btn{
    padding:1px 0;
    font-size:9.5px;
  }

  /* Menge und Löschen: eigene kompakte Bedienzeile */
  #nutShopping .shopping-actions{
    grid-column:2;
    display:grid;
    grid-template-columns:42px 34px 42px 42px;
    gap:5px;
    justify-content:start;
    align-items:center;
    margin-top:1px;
  }
  #nutShopping .shopping-actions .btn{
    width:42px;
    min-width:42px;
    height:42px;
    min-height:42px;
    padding:0;
    font-size:17px;
    border-radius:12px;
  }
  #nutShopping .shopping-actions .btn.danger{
    font-size:20px;
  }
  #nutShopping .shopping-qty{
    min-width:34px;
    font-size:12px;
    text-align:center;
  }
  #nutShopping .shopping-item.done{
    opacity:.68;
  }

  #nutShopping .shopping-share-status{
    padding:9px 10px;
    border-radius:13px;
  }
  #nutShopping .shopping-share-status strong{
    font-size:11.5px;
  }
  #nutShopping .shopping-share-status span{
    margin-top:2px;
    font-size:9.5px;
    line-height:1.3;
  }

  /* Lebensmittelauswahl: keine unnötig hohen Vollbreiten-Buttons */
  .shopping-picker-tabs{
    gap:5px;
  }
  .shopping-picker-tab{
    min-height:39px;
    padding:7px 5px;
    font-size:10.5px;
  }
  .shopping-picker-item{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px;
    padding:9px 10px;
    align-items:center;
  }
  .shopping-picker-item strong{
    font-size:12px;
  }
  .shopping-picker-item small{
    font-size:9.5px;
    line-height:1.25;
  }
  .shopping-picker-item .btn{
    width:auto!important;
    min-width:84px;
    min-height:40px;
    padding:7px 8px;
    font-size:10.5px;
  }
}

@media(max-width:390px){
  #nutShopping .shopping-actions{
    grid-template-columns:40px 30px 40px 40px;
    gap:4px;
  }
  #nutShopping .shopping-actions .btn{
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
  }
  #nutShopping .shopping-qty{
    min-width:30px;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 8: Dialoge, Konto & Sync */
@media(max-width:760px){
  /* Einheitlicher mobiler Dialogkopf */
  .modal-card{
    max-height:94dvh;
  }
  .modal-head{
    min-height:58px;
    gap:10px;
    padding-top:14px;
    padding-bottom:10px;
  }
  .modal-head h2,
  .modal-head h3{
    font-size:18px;
    line-height:1.2;
  }
  .modal-head .muted.tiny{
    font-size:10px;
    line-height:1.3;
  }
  .modal-head .btn.icon{
    width:48px;
    min-width:48px;
    height:48px;
    min-height:48px;
    margin-left:auto;
    border-radius:14px;
    font-size:29px;
    line-height:1;
  }

  /* Konto */
  #accountModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #accountModal .account-summary{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    padding:2px 0 0;
  }
  #accountModal .account-email{
    padding:10px 11px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--panel3);
    font-size:13px;
    line-height:1.3;
    overflow-wrap:anywhere;
  }

  /* Konto löschen: Warnung lesen können, Aktionen trotzdem kompakt */
  #deleteAccountModal .delete-account-confirm{
    gap:10px;
  }
  #deleteAccountModal .delete-account-warning{
    padding:10px 11px;
    border-radius:13px;
    font-size:11px;
    line-height:1.4;
  }
  #deleteAccountModal label{
    gap:5px;
    font-size:11px;
  }
  #deleteAccountModal .auth-password-field input{
    min-height:44px;
  }
  #deleteAccountModal .password-visibility{
    min-width:44px;
    width:44px;
  }
  #deleteAccountModal .delete-account-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
  }
  #deleteAccountModal .delete-account-actions .btn{
    width:100%;
    min-height:44px;
    white-space:normal;
    line-height:1.2;
  }

  /* Start / Demo */
  #startModeModal .modal-card{
    padding:15px 14px calc(16px + env(safe-area-inset-bottom));
  }
  #startModeModal .stack{
    gap:10px;
  }
  #startModeModal h2{
    margin-bottom:5px!important;
    font-size:21px;
  }
  #startModeModal .start-mode-intro{
    font-size:12px;
    line-height:1.4;
  }
  #startModeModal .start-mode-grid{
    grid-template-columns:1fr;
    gap:7px;
    margin-top:8px;
  }
  #startModeModal .start-mode-choice{
    gap:4px;
    padding:12px 13px;
    border-radius:15px;
  }
  #startModeModal .start-mode-choice strong{
    font-size:15px;
  }
  #startModeModal .start-mode-choice span{
    font-size:10.5px;
    line-height:1.35;
  }
  #startModeModal .start-mode-foot{
    margin-top:5px;
    font-size:9.5px;
    line-height:1.3;
  }

  /* Gemeinsame Einkaufsliste / Einladung */
  #shoppingSyncModal .modal-card,
  #shoppingInviteModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #shoppingSyncModalBody,
  #shoppingInviteModalBody{
    gap:8px;
  }
  #shoppingSyncModalBody .notice,
  #shoppingInviteModalBody .notice{
    padding:9px 10px;
    border-radius:13px;
    font-size:10.5px;
    line-height:1.35;
  }
  #shoppingSyncModalBody .shopping-sync-meta,
  #shoppingInviteModalBody .shopping-sync-meta{
    font-size:10px;
    line-height:1.3;
  }
  #shoppingSyncModalBody label,
  #shoppingInviteModalBody label{
    gap:4px;
    font-size:10.5px;
  }
  #shoppingSyncModalBody input,
  #shoppingInviteModalBody input{
    min-height:44px;
    padding:9px 10px;
  }
  #shoppingSyncModalBody>.btn,
  #shoppingInviteModalBody>.btn{
    width:100%;
    min-height:44px;
    padding:8px 10px;
    white-space:normal;
    line-height:1.2;
    font-size:11px;
  }
  #shoppingSyncModalBody .row,
  #shoppingInviteModalBody .row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #shoppingSyncModalBody .row>.btn,
  #shoppingInviteModalBody .row>.btn{
    min-width:0;
    min-height:42px;
    padding:7px 8px;
    font-size:10.5px;
    white-space:normal;
  }
  #shoppingSyncModal .shopping-invite-link{
    padding:8px 9px;
    font-size:10px;
    line-height:1.3;
  }

  /* Login / Registrierung */
  .auth-gate{
    display:block;
    padding:max(12px,env(safe-area-inset-top)) 12px calc(16px + env(safe-area-inset-bottom));
  }
  .auth-shell{
    width:100%;
    gap:9px;
  }
  .auth-page-head{
    align-items:center;
    gap:8px;
    padding:2px 2px 0;
  }
  .auth-page-head h1{
    font-size:34px;
    line-height:1;
  }
  .auth-page-head p{
    margin-top:4px;
    font-size:11px;
    line-height:1.3;
  }
  .auth-version{
    padding:6px 8px;
    font-size:9px;
  }
  .auth-center{
    padding:0;
  }
  .auth-card{
    width:100%;
    padding:14px;
    border-radius:20px;
    box-shadow:none;
  }
  .auth-card h2{
    margin-bottom:10px;
    font-size:21px;
  }
  .auth-tabs{
    gap:6px;
    margin-bottom:10px;
  }
  .auth-tab{
    min-height:42px;
    padding:8px 9px;
    border-radius:12px;
    font-size:11px;
  }
  .auth-main,
  .auth-recovery{
    gap:8px;
  }
  .auth-card label{
    gap:4px;
    font-size:10.5px;
  }
  .auth-card input{
    min-height:44px;
    padding:9px 10px;
  }
  .auth-password-field .password-visibility{
    min-width:44px;
    width:44px;
  }
  .auth-actions{
    gap:6px;
  }
  .auth-actions .btn,
  .auth-demo-button{
    min-height:44px;
    font-size:11px;
  }
  .auth-link{
    padding:6px;
    font-size:10.5px;
  }
  .auth-demo-separator{
    margin:7px 0 5px;
    font-size:9px;
  }
  .auth-demo-note,
  .auth-message{
    font-size:9.5px;
    line-height:1.3;
  }
}

@media(max-width:390px){
  #shoppingSyncModalBody .row,
  #shoppingInviteModalBody .row{
    grid-template-columns:1fr;
  }
  .auth-page-head p{
    max-width:205px;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 9: Reminder, Beobachtungen & für Arzt */
@media(max-width:760px){

  /* Reminder-Dialog */
  #reminderModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #reminderModal .stack{
    gap:9px;
  }
  #reminderModal label{
    gap:4px;
    font-size:10.5px;
  }
  #reminderModal #reminderDate,
  #reminderModal #reminderText{
    min-height:44px;
    padding:9px 10px;
  }
  #reminderModal .voice-field-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 44px 44px;
    gap:6px;
    align-items:end;
  }
  #reminderModal .voice-field-row>label{
    min-width:0;
  }
  #reminderModal .voice-inline-button{
    width:44px;
    min-width:44px;
    height:44px;
    min-height:44px;
    padding:0;
  }
  #reminderModal .reminder-confirm-button{
    font-size:20px;
  }
  #reminderModal .reminder-form-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #reminderModal .reminder-form-actions .btn{
    min-width:0;
    min-height:42px;
    padding:7px 8px;
    font-size:10.5px;
    white-space:normal;
    line-height:1.2;
  }
  #reminderModal #toggleReminderList{
    width:100%;
    min-height:40px;
    font-size:10.5px;
  }
  #reminderModal .reminder-list-panel{
    padding-top:9px;
  }
  #reminderModal .reminder-list-head{
    justify-content:space-between;
    gap:6px;
    font-size:11px;
  }
  #reminderModal .reminder-list{
    gap:6px;
  }
  #reminderModal .reminder-item{
    grid-template-columns:minmax(0,1fr) auto;
    gap:6px;
    padding:8px;
    border-radius:12px;
  }
  #reminderModal .reminder-item-main{
    gap:2px;
    padding:1px 2px;
  }
  #reminderModal .reminder-item-date{
    font-size:9.5px;
  }
  #reminderModal .reminder-item-text{
    font-size:11.5px;
    line-height:1.3;
    overflow-wrap:anywhere;
  }
  #reminderModal .reminder-list-actions{
    display:grid;
    grid-template-columns:40px 40px;
    gap:5px;
  }
  #reminderModal .reminder-list-actions .btn{
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
    padding:0;
    font-size:17px;
  }
  #reminderModal .notice.tiny{
    padding:8px 9px;
    font-size:9.5px;
    line-height:1.3;
  }

  /* Notizen für Arzt – Dialog */
  #doctorNoteModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #doctorNoteModal .stack{
    gap:8px;
  }
  #doctorNoteModal label{
    gap:4px;
    font-size:10.5px;
  }
  #doctorNoteModal #doctorNoteTime{
    min-height:44px;
    padding:9px 10px;
  }
  #doctorNoteModal #doctorNoteText{
    min-height:92px;
    padding:9px 10px;
    line-height:1.35;
  }
  #doctorNoteModal .stack>.row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #doctorNoteModal .stack>.row>.btn{
    min-width:0;
    min-height:42px;
    padding:7px 8px;
    font-size:10.5px;
    line-height:1.2;
    white-space:normal;
  }
  #doctorNoteModal #deleteDoctorNote{
    grid-column:1/-1;
  }
  #doctorNoteModal #toggleDoctorNotesList{
    grid-column:1/-1;
  }
  #doctorNoteModal .divider{
    margin:1px 0;
  }
  #doctorNoteModal .doctor-notes-panel{
    padding-top:2px;
  }

  /* Arzt-Notizen – Listen, sowohl Dialog als auch Behandlungsverlauf */
  .doctor-notes-list{
    gap:6px;
  }
  .doctor-note-item{
    grid-template-columns:minmax(0,1fr) 42px!important;
    gap:5px 7px;
    padding:8px 9px;
    border-radius:12px;
  }
  .doctor-note-item time{
    grid-column:1!important;
    font-size:9.5px;
    line-height:1.2;
  }
  .doctor-note-edit{
    grid-column:1!important;
    gap:6px;
  }
  .doctor-note-edit p,
  .doctor-note-observation-text p{
    font-size:11.5px;
    line-height:1.3;
  }
  .doctor-note-open-arrow{
    font-size:18px;
  }
  .doctor-note-item>.btn{
    grid-column:2!important;
    grid-row:1/3!important;
    width:42px;
    min-width:42px;
    min-height:42px;
    padding:5px;
    align-self:center;
  }
  .doctor-note-observation-text{
    grid-column:1!important;
  }
  .doctor-note-observation-text .pill{
    margin-bottom:3px;
    padding:3px 6px;
    font-size:9px;
  }
  .doctor-note-observation>.timeline-observation-doctor{
    width:auto;
    min-width:84px;
    max-width:96px;
    padding:6px 7px;
    font-size:9.5px;
    line-height:1.15;
    white-space:normal;
  }
  .doctor-note-ced-context-v228{
    margin-top:2px;
    font-size:9px;
    line-height:1.25;
  }

  /* Notizen-für-Arzt-Karte im Behandlungsverlauf */
  #healthScreen .doctor-notes-separate-v209{
    margin:7px 0 10px;
    padding:10px 11px;
  }
  #healthScreen .doctor-notes-separate-head-v209{
    gap:6px;
    margin-bottom:5px;
  }
  #healthScreen .doctor-notes-kicker-v209{
    font-size:9.5px;
  }
  #healthScreen .doctor-notes-separate-head-v209 h3{
    margin:2px 0;
    font-size:16px;
  }
  #healthScreen .doctor-notes-separate-head-v209 .tiny{
    font-size:9.5px;
    line-height:1.25;
  }
  #healthScreen #addDoctorNote{
    min-height:40px;
    padding:7px 9px;
    font-size:10.5px;
  }

  /* Beobachtungen direkt in Ich heute */
  #bodyHub #observationCard{
    gap:8px;
  }
  #bodyHub .observation-item{
    grid-template-columns:46px minmax(0,1fr) auto!important;
    gap:5px 7px;
    align-items:center;
    padding:8px 9px;
    border-radius:12px;
  }
  #bodyHub .observation-time{
    grid-column:1!important;
    grid-row:1;
    font-size:10px;
  }
  #bodyHub .observation-text{
    grid-column:2!important;
    grid-row:1;
    font-size:11.5px;
    line-height:1.3;
  }
  #bodyHub .observation-actions{
    grid-column:3!important;
    grid-row:1!important;
    display:grid;
    grid-template-columns:auto 40px;
    gap:5px;
    align-items:center;
    min-width:0;
  }
  #bodyHub .observation-actions .observation-doctor-btn{
    width:auto;
    min-width:78px;
    min-height:40px;
    padding:6px 7px;
    font-size:9.5px;
    line-height:1.15;
    white-space:normal;
  }
  #bodyHub .observation-actions .observation-delete-btn{
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
    padding:0;
    font-size:20px;
  }

  /* Beobachtungen im Verlauf */
  #timelineScreen .timeline-observations-card{
    margin-top:7px;
    border-radius:13px;
  }
  #timelineScreen .timeline-observations-card>summary{
    min-height:42px;
    padding:8px 9px;
  }
  #timelineScreen .timeline-observations-title{
    gap:6px;
    font-size:11.5px;
  }
  #timelineScreen .timeline-observations-title .pill{
    padding:3px 6px;
    font-size:9px;
  }
  #timelineScreen .timeline-observations-body{
    gap:6px;
    padding:7px 8px 8px;
  }
  #timelineScreen .timeline-observation-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:4px 7px;
    padding:7px 8px;
    border-radius:10px;
  }
  #timelineScreen .timeline-observation-when{
    grid-column:1/-1;
    font-size:9.5px;
  }
  #timelineScreen .timeline-observation-text{
    grid-column:1;
    font-size:11.5px;
    line-height:1.3;
  }
  #timelineScreen .timeline-observation-doctor{
    grid-column:2;
    grid-row:1/3;
    align-self:center;
    min-width:82px;
    min-height:40px;
    padding:6px 7px;
    font-size:9.5px;
    line-height:1.15;
    white-space:normal;
  }
  #timelineScreen .timeline-observations-more{
    min-height:40px;
    padding:7px 8px;
    font-size:10px;
  }
}

@media(max-width:390px){
  #bodyHub .observation-item{
    grid-template-columns:42px minmax(0,1fr)!important;
  }
  #bodyHub .observation-actions{
    grid-column:1/-1!important;
    grid-row:2!important;
    justify-self:end;
  }
  #bodyHub .observation-time{
    grid-column:1!important;
  }
  #bodyHub .observation-text{
    grid-column:2!important;
  }

  .doctor-note-observation>.timeline-observation-doctor{
    min-width:76px;
    max-width:82px;
    font-size:9px;
  }
}


/* Sandbox v1.9.294 · iPhone Datum: eigener Heute-Button */
.global-date-today-v250{
  display:none;
}
@media(max-width:760px){
  .topbar-v195>.global-date-today-v250:not(.hidden){
    display:inline-flex;
    grid-area:date;
    justify-self:end;
    align-self:end;
    z-index:8;
    margin:0 6px 5px 0;
    min-width:54px;
    min-height:28px;
    padding:4px 8px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,210,122,.78);
    border-radius:9px;
    background:#2a2419;
    color:#ffd47d;
    font-size:10px;
    font-weight:850;
    line-height:1;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(0,0,0,.20);
  }
  .topbar-v195>.global-date-display.is-past{
    padding-right:66px!important;
  }
  .topbar-v195>.global-date-display.is-past>svg{
    visibility:hidden;
  }
}


/* Sandbox v1.9.294 · Desktop: Datum darf DarmLogic-Logo nicht überlagern */
@media(min-width:761px){
  .topbar-v195>.brand-v195{
    width:max-content!important;
    min-width:max-content!important;
    overflow:visible;
  }
  .topbar-v195>.brand-v195 h1{
    width:max-content!important;
    min-width:max-content;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 10: Lebensmittel- & Gerichte-Dialoge */
@media(max-width:760px){

  /* Lebensmittel bearbeiten */
  #foodModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #foodModal .stack{
    gap:8px;
  }
  #foodModal label{
    gap:4px;
    font-size:10.5px;
  }
  #foodModal input,
  #foodModal select,
  #foodModal textarea{
    min-height:42px;
    padding:8px 9px;
  }
  #foodModal textarea{
    min-height:72px;
  }
  #foodModal .row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #foodModal .row>.grow{
    min-width:0;
  }
  #foodModal .divider{
    margin:2px 0;
  }
  #foodModal .notice,
  #foodModal .muted.tiny{
    font-size:9.5px;
    line-height:1.3;
  }
  #foodModal .stack>.row:last-child{
    position:sticky;
    bottom:calc(-16px - env(safe-area-inset-bottom));
    z-index:2;
    margin:2px -16px calc(-16px - env(safe-area-inset-bottom));
    padding:9px 16px calc(10px + env(safe-area-inset-bottom));
    background:rgba(24,27,33,.97);
    border-top:1px solid var(--border);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  #foodModal .stack>.row:last-child>.btn{
    min-width:0;
    min-height:44px;
    padding:8px 9px;
    font-size:10.5px;
    line-height:1.2;
    white-space:normal;
  }

  /* Gericht bearbeiten */
  #dishModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #dishModal .stack{
    gap:8px;
  }
  #dishModal label{
    gap:4px;
    font-size:10.5px;
  }
  #dishModal input,
  #dishModal select,
  #dishModal textarea{
    min-height:42px;
    padding:8px 9px;
  }
  #dishModal .details-box{
    padding:10px;
    border-radius:13px;
  }
  #dishModal .ingredient-list{
    gap:6px!important;
    margin-top:7px!important;
  }
  #dishModal .ingredient-row{
    gap:6px;
    padding:8px 9px;
    border-radius:11px;
  }
  #dishModal .ingredient-row strong{
    font-size:11.5px;
    line-height:1.25;
  }
  #dishModal .ingredient-row small{
    font-size:9.5px;
    line-height:1.25;
  }
  #dishModal .ingredient-row .btn{
    min-width:40px;
    min-height:40px;
    padding:5px 7px;
  }
  #dishModal .ingredient-total{
    margin-top:6px;
    padding:8px 9px;
    font-size:10.5px;
    border-radius:11px;
  }

  /* Zutat auswählen */
  #dishIngredientModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #dishIngredientModal .stack{
    gap:8px;
  }
  #dishIngredientModal input,
  #dishIngredientModal select{
    min-height:42px;
    padding:8px 9px;
  }
  #dishIngredientModal .food-grid{
    gap:6px;
  }
  #dishIngredientModal .food-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:6px;
    padding:8px 9px;
    border-radius:12px;
  }
  #dishIngredientModal .food-row.head{
    display:none;
  }
  #dishIngredientModal .food-row>*:not(:first-child):not(:last-child){
    display:none;
  }
  #dishIngredientModal .food-row .btn{
    min-width:78px;
    min-height:40px;
    padding:6px 8px;
    font-size:10.5px;
  }

  /* Gericht heute eintragen */
  #dishConsumeModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #dishConsumeModal .dish-consume-note{
    margin-bottom:7px;
    padding:8px 9px;
    font-size:9.5px;
    line-height:1.3;
  }
  #dishConsumeModal .dish-consume-list{
    gap:6px;
    margin:8px 0;
  }
  #dishConsumeModal .dish-consume-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
    padding:8px 9px;
    border-radius:12px;
  }
  #dishConsumeModal .dish-consume-row strong{
    font-size:11.5px;
  }
  #dishConsumeModal .dish-consume-row small{
    font-size:9.5px;
    line-height:1.25;
  }
  #dishConsumeModal .dish-consume-qty{
    grid-template-columns:40px 58px 40px;
    gap:5px;
  }
  #dishConsumeModal .dish-consume-qty button,
  #dishConsumeModal .dish-consume-qty input{
    height:40px;
    min-height:40px;
  }
  #dishConsumeModal .dish-consume-changed{
    gap:6px;
    padding:8px 9px;
    font-size:9.5px;
    line-height:1.3;
  }
  #dishConsumeModal .dish-consume-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin-top:9px;
  }
  #dishConsumeModal .dish-consume-actions .btn{
    min-width:0;
    min-height:44px;
    padding:7px 8px;
    font-size:10.5px;
    white-space:normal;
    line-height:1.2;
  }
  #dishConsumeModal>.modal-card>.muted.tiny,
  #dishConsumeModal .muted.tiny{
    font-size:9px;
    line-height:1.3;
  }

  /* Heute angepasst */
  #adjustedDishModal .adjusted-dish-list{
    gap:6px;
  }
  #adjustedDishModal .adjusted-dish-row,
  #adjustedDishModal .adjusted-dish-item{
    padding:8px 9px;
    border-radius:11px;
    gap:6px;
  }
  #adjustedDishModal strong{
    font-size:11.5px;
  }
  #adjustedDishModal small{
    font-size:9.5px;
    line-height:1.25;
  }

  /* Barcode / QR */
  #foodScannerModal .scanner-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #foodScannerModal .stack{
    gap:8px;
  }
  #foodScannerModal .scanner-stage{
    min-height:170px;
    border-radius:14px;
  }
  #foodScannerModal .scanner-stage video{
    max-height:34dvh;
  }
  #foodScannerModal .scanner-frame{
    inset:16% 8%;
    border-radius:14px;
  }
  #foodScannerModal .scanner-status{
    gap:7px;
    padding:8px 9px;
    border-radius:12px;
  }
  #foodScannerModal .scanner-status strong{
    font-size:11px;
  }
  #foodScannerModal .scanner-status small,
  #foodScannerModal .scanner-privacy{
    font-size:9.5px;
    line-height:1.3;
  }
  #foodScannerModal .scanner-manual{
    grid-template-columns:minmax(0,1fr) auto;
    gap:6px;
  }
  #foodScannerModal .scanner-manual input{
    min-height:42px;
    padding:8px 9px;
  }
  #foodScannerModal .scanner-manual .btn{
    width:auto;
    min-width:88px;
    min-height:42px;
    padding:7px 8px;
    font-size:10.5px;
  }
  #foodScannerModal .scanner-result{
    padding:9px 10px;
    border-radius:12px;
    font-size:10.5px;
    line-height:1.3;
  }

  /* Spracheingabe */
  #voiceEntryModal .voice-entry-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #voiceEntryModal .stack{
    gap:8px;
  }
  #voiceEntryModal .voice-context-line{
    gap:6px;
  }
  #voiceEntryModal .voice-context-badge{
    padding:4px 7px;
    font-size:9.5px;
  }
  #voiceEntryModal .voice-example,
  #voiceEntryModal .voice-privacy{
    font-size:9.5px;
    line-height:1.3;
  }
  #voiceEntryModal .voice-live{
    gap:7px;
    padding:8px 9px;
    border-radius:12px;
  }
  #voiceEntryModal .voice-live strong{
    font-size:11px;
  }
  #voiceEntryModal .voice-live small{
    font-size:9.5px;
    line-height:1.3;
  }
  #voiceEntryModal .voice-transcript{
    min-height:82px;
    padding:8px 9px;
    line-height:1.35;
  }
  #voiceEntryModal .voice-preview{
    gap:6px;
  }
  #voiceEntryModal .voice-preview-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
    padding:8px 9px;
    border-radius:11px;
  }
  #voiceEntryModal .voice-preview-row strong{
    font-size:11px;
  }
  #voiceEntryModal .voice-preview-row small,
  #voiceEntryModal .voice-preview-status{
    font-size:9.5px;
    line-height:1.25;
  }
  #voiceEntryModal .voice-confirm-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #voiceEntryModal .voice-confirm-row .btn{
    width:auto;
    min-width:0;
    min-height:44px;
    padding:7px 8px;
    font-size:10.5px;
    white-space:normal;
  }

  /* Lebensmittelkatalog */
  #foodCatalogModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #foodCatalogModal .catalog-toolbar,
  #foodCatalogModal .row{
    gap:6px;
  }
  #foodCatalogModal input,
  #foodCatalogModal select{
    min-height:42px;
    padding:8px 9px;
  }
  #foodCatalogModal .food-grid{
    gap:6px;
  }
  #foodCatalogModal .food-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:6px;
    padding:8px 9px;
    border-radius:12px;
  }
  #foodCatalogModal .food-row.head{
    display:none;
  }
  #foodCatalogModal .food-row>*:not(:first-child):not(:last-child){
    display:none;
  }
  #foodCatalogModal .food-row .btn{
    min-width:78px;
    min-height:40px;
    padding:6px 8px;
    font-size:10.5px;
  }
}

@media(max-width:390px){
  #foodModal .row{
    grid-template-columns:1fr;
  }
  #dishConsumeModal .dish-consume-row{
    grid-template-columns:1fr;
  }
  #dishConsumeModal .dish-consume-qty{
    justify-content:start;
  }
  #dishConsumeModal .dish-consume-actions,
  #voiceEntryModal .voice-confirm-row{
    grid-template-columns:1fr;
  }
  #foodScannerModal .scanner-manual{
    grid-template-columns:1fr;
  }
  #foodScannerModal .scanner-manual .btn{
    width:100%;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 11: Medikation & Behandlungsereignisse */
@media(max-width:760px){

  /* Medikament / Plan */
  #medModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #medModal .stack{
    gap:8px;
  }
  #medModal label{
    gap:4px;
    font-size:10.5px;
  }
  #medModal input,
  #medModal select,
  #medModal textarea{
    min-height:42px;
    padding:8px 9px;
  }
  #medModal textarea{
    min-height:68px;
  }
  #medModal .med-schedule-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
  }
  #medModal .med-schedule-grid label{
    min-width:0;
    font-size:9.5px;
  }
  #medModal .med-schedule-grid input{
    min-width:0;
    padding:7px 4px;
    text-align:center;
  }
  #medModal #medHistoryHint,
  #medModal #medModeHint{
    font-size:9.5px;
    line-height:1.3;
  }
  #medModal .med-plan-edit-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin-top:0;
  }
  #medModal .med-plan-edit-actions .btn{
    min-width:0;
    min-height:40px;
    padding:7px 8px;
    font-size:10px;
    line-height:1.2;
    white-space:normal;
  }
  #medModal .med-id-row{
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #medModal .med-id-row label{
    min-width:0;
  }
  #medModal #scanMedicationCode{
    grid-column:1/-1;
    width:100%;
    min-height:42px;
    padding:7px 8px;
    font-size:10.5px;
  }
  #medModal .med-plan-help{
    padding:8px 9px;
    border-radius:11px;
    font-size:9.5px;
    line-height:1.3;
  }
  #medModal .stack>.row:last-child{
    position:sticky;
    bottom:calc(-16px - env(safe-area-inset-bottom));
    z-index:2;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin:2px -16px calc(-16px - env(safe-area-inset-bottom));
    padding:9px 16px calc(10px + env(safe-area-inset-bottom));
    background:rgba(24,27,33,.97);
    border-top:1px solid var(--border);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  #medModal .stack>.row:last-child>.btn{
    min-width:0;
    min-height:44px;
    padding:8px 9px;
    font-size:10.5px;
  }

  /* Zusätzliche Einnahme */
  #medIntakeModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #medIntakeModal .stack{
    gap:8px;
  }
  #medIntakeModal label{
    gap:4px;
    font-size:10.5px;
  }
  #medIntakeModal input,
  #medIntakeModal textarea{
    min-height:42px;
    padding:8px 9px;
  }
  #medIntakeModal textarea{
    min-height:68px;
  }
  #medIntakeModal .notice.tiny{
    padding:8px 9px;
    border-radius:11px;
    font-size:9.5px;
    line-height:1.3;
  }
  #medIntakeModal .notice.tiny .muted.tiny{
    margin-top:3px!important;
    font-size:9px;
    line-height:1.3;
  }
  #medIntakeModal .med-intake-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }
  #medIntakeModal .med-intake-grid label{
    min-width:0;
    font-size:9.5px;
  }
  #medIntakeModal .med-intake-grid input{
    min-width:0;
    text-align:left;
  }
  #medIntakeModal #saveMedicationIntake{
    position:sticky;
    bottom:calc(-16px - env(safe-area-inset-bottom));
    z-index:2;
    width:calc(100% + 32px);
    margin:2px -16px calc(-16px - env(safe-area-inset-bottom));
    min-height:48px;
    padding:9px 16px calc(10px + env(safe-area-inset-bottom));
    border-radius:0;
    border-left:0;
    border-right:0;
    border-bottom:0;
    font-size:11px;
  }

  /* Behandlungsereignis */
  #healthModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #healthModal .stack{
    gap:8px;
  }
  #healthModal label{
    gap:4px;
    font-size:10.5px;
  }
  #healthModal input,
  #healthModal select,
  #healthModal textarea{
    min-height:42px;
    padding:8px 9px;
  }
  #healthModal textarea{
    min-height:68px;
    line-height:1.35;
  }
  #healthModal .stack>.row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #healthModal .stack>.row>.grow{
    min-width:0;
  }
  #healthModal .details-box{
    padding:9px 10px;
    border-radius:12px;
  }
  #healthModal .details-box>strong{
    display:block;
    font-size:11.5px;
    line-height:1.25;
  }
  #healthModal .details-box>label{
    margin-top:7px!important;
  }
  #healthModal #healthFiles{
    min-height:42px;
    padding:6px 7px;
    font-size:10px!important;
  }
  #healthModal .health-files{
    gap:5px;
    margin-top:6px;
  }
  #healthModal .health-file{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
    align-items:center;
    padding:7px 8px;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--panel3);
  }
  #healthModal .health-file>div{
    min-width:0;
  }
  #healthModal .health-file strong{
    display:block;
    font-size:10.5px;
    line-height:1.25;
    overflow-wrap:anywhere;
  }
  #healthModal .health-file small{
    font-size:9px;
    line-height:1.25;
  }
  #healthModal .health-file .btn{
    min-width:70px;
    min-height:38px;
    padding:6px 7px;
    font-size:9.5px;
  }
  #healthModal .details-box>.muted.tiny{
    margin-top:6px!important;
    font-size:9px;
    line-height:1.3;
  }
  #healthModal .stack>.row:last-child{
    position:sticky;
    bottom:calc(-16px - env(safe-area-inset-bottom));
    z-index:2;
    grid-template-columns:1fr 1fr;
    margin:2px -16px calc(-16px - env(safe-area-inset-bottom));
    padding:9px 16px calc(10px + env(safe-area-inset-bottom));
    background:rgba(24,27,33,.97);
    border-top:1px solid var(--border);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  #healthModal .stack>.row:last-child>.btn{
    min-width:0;
    min-height:44px;
    padding:8px 9px;
    font-size:10.5px;
    line-height:1.2;
    white-space:normal;
  }
}

@media(max-width:390px){
  #medModal .med-schedule-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #medModal .med-id-row,
  #healthModal .stack>.row{
    grid-template-columns:1fr;
  }
  #healthModal .stack>.row:last-child{
    grid-template-columns:1fr 1fr;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 12: Info, Rechtliches, Installation & Sicherheit */
@media(max-width:760px){

  /* Über DarmLogic */
  #aboutDarmLogicModal .about-modal-card,
  #legalDarmLogicModal .about-modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #aboutDarmLogicModal .modal-about-content,
  #legalDarmLogicModal .modal-about-content{
    padding:0 12px 14px;
  }
  #aboutDarmLogicModal .about-quick-list{
    gap:7px;
    margin:3px 0 10px;
    font-size:11px;
    line-height:1.35;
  }
  #aboutDarmLogicModal .about-quick-list li{
    margin:0;
  }
  #aboutDarmLogicModal .about-privacy-short{
    margin:9px 0 10px;
    padding:9px 10px;
    border-radius:12px;
    font-size:10.5px;
    line-height:1.35;
  }
  #aboutDarmLogicModal .about-medical-note{
    margin-top:10px;
    padding-top:9px;
    font-size:9.5px;
    line-height:1.35;
  }
  #aboutDarmLogicModal .about-legal-link{
    margin-top:8px;
  }
  #aboutDarmLogicModal .about-legal-link .btn{
    width:100%;
    min-height:42px;
    font-size:10.5px;
  }

  /* Transparenz / Rechtliches */
  #aboutDarmLogicModal .transparency-card,
  #legalDarmLogicModal .transparency-card{
    margin-top:7px;
    border-radius:13px;
  }
  #aboutDarmLogicModal .transparency-card>summary,
  #legalDarmLogicModal .transparency-card>summary{
    min-height:42px;
    padding:9px 10px;
    gap:7px;
    font-size:11px;
    line-height:1.25;
  }
  #aboutDarmLogicModal .transparency-arrow,
  #legalDarmLogicModal .transparency-arrow{
    font-size:16px;
  }
  #aboutDarmLogicModal .transparency-body,
  #legalDarmLogicModal .transparency-body{
    padding:0 10px 10px;
    font-size:10px;
    line-height:1.4;
  }
  #aboutDarmLogicModal .transparency-body p,
  #legalDarmLogicModal .transparency-body p{
    margin:8px 0;
  }
  #aboutDarmLogicModal .data-route,
  #legalDarmLogicModal .data-route{
    gap:6px;
    margin-top:8px;
  }
  #aboutDarmLogicModal .data-route-item,
  #legalDarmLogicModal .data-route-item{
    padding:8px 9px;
    border-radius:10px;
    font-size:9.5px;
    line-height:1.3;
  }
  #aboutDarmLogicModal .privacy-plain-note,
  #legalDarmLogicModal .privacy-plain-note{
    padding:8px 9px;
    border-radius:9px;
  }
  #aboutDarmLogicModal .privacy-caveat,
  #legalDarmLogicModal .privacy-caveat{
    font-size:9px;
    line-height:1.3;
  }
  #aboutDarmLogicModal .transparency-links,
  #legalDarmLogicModal .transparency-links{
    gap:6px;
    margin-top:7px;
  }
  #aboutDarmLogicModal .transparency-links a,
  #legalDarmLogicModal .transparency-links a{
    font-size:9.5px;
  }

  /* Mehr → App installieren */
  #mobileMoreModal .mobile-more-card{
    padding-bottom:calc(14px + env(safe-area-inset-bottom));
  }
  #mobileMoreModal .mobile-more-grid{
    gap:6px;
  }
  #mobileMoreModal .mobile-more-action{
    min-height:54px;
    padding:9px 10px;
    border-radius:13px;
    gap:8px;
  }
  #mobileMoreModal .mobile-more-ico{
    font-size:20px;
  }
  #mobileMoreModal .mobile-more-action>span:last-child{
    font-size:11.5px;
    line-height:1.2;
  }
  #mobileMoreModal .mobile-more-action small{
    margin-top:2px;
    font-size:9px;
    line-height:1.25;
  }
  #mobileMoreModal .mobile-install-hint{
    margin-top:7px;
    padding:8px 9px;
    border-radius:11px;
    font-size:9.5px;
    line-height:1.3;
  }

  /* Profil: Weiterempfehlen */
  #profile #profileShareV0311{
    margin:9px 0;
    padding:10px 11px;
    border-radius:13px;
    gap:7px;
  }
  #profile #profileShareV0311 strong{
    font-size:11.5px;
  }
  #profile #profileShareV0311 small{
    margin-top:2px;
    font-size:9.5px;
  }
  #profile #profileShareV0311 .btn{
    width:100%;
    min-height:40px;
    padding:7px 9px;
    font-size:10.5px;
  }

  /* Profil: Daten & Sicherheit */
  #profile .profile-data-security{
    border-radius:13px;
  }
  #profile .profile-data-security>summary{
    min-height:44px;
    padding:9px 10px;
    gap:7px;
  }
  #profile .profile-data-security>summary strong{
    font-size:11.5px;
  }
  #profile .profile-data-security>summary small{
    font-size:9px;
    line-height:1.25;
  }
  #profile .profile-data-security-body{
    gap:7px;
    padding:0 10px 10px;
  }
  #profile .profile-security-note{
    gap:2px;
    padding:8px 9px;
    border-radius:10px;
  }
  #profile .profile-security-note strong{
    font-size:10.5px;
  }
  #profile .profile-security-note span{
    font-size:9.5px;
    line-height:1.3;
  }
  #profile .profile-advanced>summary{
    min-height:38px;
    padding:7px 1px;
    font-size:10px;
  }
  #profile .profile-advanced-body{
    gap:6px;
  }
  #profile .profile-advanced-body .btn{
    width:100%;
    min-height:40px;
    font-size:10px;
  }
  #profile .profile-advanced-body .muted.tiny{
    font-size:9px;
    line-height:1.3;
  }

  /* Sicherungen / Offline-Konflikt */
  #profile #dlSafetyCardV0312{
    margin:8px 0!important;
  }
  #profile .dl-conflict-note{
    margin:0 0 7px;
    padding:9px 10px!important;
    border-radius:11px!important;
    font-size:9.5px;
    line-height:1.35;
  }
  #profile .dl-conflict-note p{
    margin:5px 0 8px;
    line-height:1.35;
  }
  #profile .dl-conflict-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #profile .dl-conflict-actions .btn{
    min-width:0;
    min-height:40px;
    padding:7px 8px;
    font-size:10px;
    line-height:1.2;
    white-space:normal;
  }
  #profile .dl-backup-normal{
    border-radius:12px;
  }
  #profile .dl-backup-normal>summary{
    min-height:42px;
    padding:9px 10px;
    font-size:10.5px;
  }
  #profile .dl-backup-body{
    padding:0 10px 10px;
  }
  #profile .dl-backup-help,
  #profile #dlBackupStatusV0312{
    font-size:9.5px;
    line-height:1.3;
  }
  #profile .dl-backup-list{
    gap:5px;
    margin-top:7px;
  }
  #profile .dl-backup-row{
    gap:6px;
    padding:7px 8px;
    border-radius:10px;
  }
  #profile .dl-backup-row strong{
    font-size:10px;
    line-height:1.2;
  }
  #profile .dl-backup-row small{
    font-size:9px;
  }
  #profile .dl-backup-row .btn{
    width:auto;
    min-width:92px;
    min-height:38px;
    padding:6px 7px;
    font-size:9.5px;
  }
  #profile .dl-backup-more{
    width:100%;
    min-height:40px;
    font-size:10px;
  }
}

@media(max-width:390px){
  #profile .dl-conflict-actions{
    grid-template-columns:1fr;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 13: Nachtragen- & Detaildialoge */
@media(max-width:760px){

  /* Verdauung nachtragen */
  #dayDigModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #dayDigModal .stack{
    gap:7px;
  }
  #dayDigModal label{
    gap:4px;
    font-size:10.5px;
  }
  #dayDigModal input,
  #dayDigModal select,
  #dayDigModal textarea{
    min-height:42px;
    padding:8px 9px;
  }
  #dayDigModal textarea{
    min-height:64px;
  }
  #dayDigModal .row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #dayDigModal .row>.grow{
    min-width:0;
  }
  #dayDigModal .odor-control{
    padding:8px 9px;
    border-radius:11px;
  }
  #dayDigModal .odor-head{
    margin-bottom:4px;
    font-size:10.5px;
  }
  #dayDigModal .odor-scale{
    gap:2px;
    font-size:8px;
    line-height:1.15;
  }
  #dayDigModal #saveDayDigestion{
    position:sticky;
    bottom:calc(-16px - env(safe-area-inset-bottom));
    z-index:2;
    width:calc(100% + 32px);
    margin:2px -16px calc(-16px - env(safe-area-inset-bottom));
    min-height:48px;
    padding:9px 16px calc(10px + env(safe-area-inset-bottom));
    border-radius:0;
    border-left:0;
    border-right:0;
    border-bottom:0;
    font-size:11px;
  }

  /* Alkohol-Detail */
  #alcoholDetailModal .stack{
    gap:7px;
  }
  #alcoholDetailModal .alcohol-detail-list{
    gap:6px;
  }
  #alcoholDetailModal .alcohol-detail-row{
    grid-template-columns:54px minmax(0,1fr) auto;
    gap:6px;
    padding:8px 9px;
    border-radius:11px;
  }
  #alcoholDetailModal .alcohol-detail-row time{
    font-size:9px;
    line-height:1.25;
  }
  #alcoholDetailModal .alcohol-detail-row strong{
    font-size:11px;
    line-height:1.25;
  }
  #alcoholDetailModal .alcohol-detail-row small{
    margin-top:2px;
    font-size:9px;
    line-height:1.25;
  }
  #alcoholDetailModal .alcohol-detail-grams{
    grid-column:3;
    font-size:10.5px;
  }
  #alcoholDetailModal .alcohol-detail-total{
    padding:9px 10px;
    border-radius:11px;
    font-size:10.5px;
  }

  /* Eintrag bearbeiten / Reaktion nach dem Essen */
  #eventModal .modal-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #eventModal #eventEditBody{
    gap:8px;
  }
  #eventModal #eventEditBody label{
    gap:4px;
    font-size:10.5px;
  }
  #eventModal #eventEditBody input,
  #eventModal #eventEditBody select,
  #eventModal #eventEditBody textarea{
    min-height:42px;
    padding:8px 9px;
  }
  #eventModal #eventEditBody textarea{
    min-height:68px;
  }
  #eventModal .event-editor-question{
    margin:1px 0;
    font-size:16px;
    line-height:1.2;
  }
  #eventModal .event-editor-panel{
    gap:7px;
    padding:7px 0 1px;
  }
  #eventModal .event-editor-choice-row{
    gap:6px;
  }
  #eventModal .event-editor-choice{
    min-height:42px;
    padding:7px 8px;
    font-size:10.5px;
    line-height:1.2;
  }
  #eventModal .event-editor-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin-top:2px;
  }
  #eventModal .event-editor-actions .btn{
    min-width:0!important;
    min-height:44px;
    padding:7px 8px;
    font-size:10.5px;
    line-height:1.2;
    white-space:normal;
  }
  #eventModal .meal-snapshot-card{
    padding:8px 9px;
    border-radius:11px;
  }
  #eventModal .meal-snapshot-card h4{
    margin-bottom:6px;
    font-size:11px;
  }
  #eventModal .meal-snapshot-list{
    gap:5px;
  }
  #eventModal .meal-snapshot-row{
    gap:7px;
    padding-bottom:5px;
    font-size:10.5px;
  }
  #eventModal .meal-snapshot-row small{
    margin-top:1px;
    font-size:9px;
    line-height:1.25;
  }

  /* Mehrere direkte Reaktionen auswählen */
  #eventModal .relation-direct-choice-list{
    gap:6px;
  }
  #eventModal .relation-direct-choice{
    grid-template-columns:minmax(0,1fr) auto;
    gap:6px;
    padding:8px 9px;
    border-radius:11px;
  }
  #eventModal .relation-direct-choice time{
    grid-column:1/-1;
    font-size:9px;
  }
  #eventModal .relation-direct-choice strong{
    font-size:11px;
  }
  #eventModal .relation-direct-choice small{
    font-size:9px;
    line-height:1.25;
  }

  /* Favoriten-Detail */
  #favoriteDetailModal .stack{
    gap:8px;
  }
  #favoriteDetailModal .favorite-detail-list{
    gap:5px;
  }
  #favoriteDetailModal .favorite-detail-row{
    gap:8px;
    padding:7px 0;
    font-size:10.5px;
  }
  #favoriteDetailModal .favorite-detail-row>div:last-child,
  #favoriteDetailModal .favorite-detail-row>strong:last-child{
    text-align:right;
  }
  #favoriteDetailModal .favorite-detail-row .muted.tiny{
    font-size:9px;
    line-height:1.25;
  }
  #favoriteDetailModal .ingredient-total{
    padding:8px 9px;
    border-radius:11px;
    font-size:10.5px;
  }
  #favoriteDetailModal .notice{
    padding:8px 9px;
    font-size:9.5px;
    line-height:1.3;
  }
  #favoriteDetailModal .row{
    display:grid;
    grid-template-columns:1fr;
  }
  #favoriteDetailModal .row .btn{
    width:100%;
    min-height:42px;
    font-size:10.5px;
  }

  /* Eigene Vorschläge */
  #customSuggestionModal .stack{
    gap:7px;
  }
  #customSuggestionModal .custom-suggestion-create{
    grid-template-columns:minmax(0,1fr) 112px;
    gap:6px;
  }
  #customSuggestionModal .custom-suggestion-create label{
    min-width:0;
    gap:4px;
    font-size:10px;
  }
  #customSuggestionModal .custom-suggestion-create input,
  #customSuggestionModal .custom-suggestion-create select{
    min-width:0;
    min-height:42px;
    padding:8px 9px;
  }
  #customSuggestionModal #editCustomSuggestion{
    grid-column:1/-1;
    min-height:42px;
    font-size:10.5px;
  }
  #customSuggestionModal #addCustomSuggestion{
    width:100%;
    min-height:40px;
    font-size:10px;
  }
  #customSuggestionModal .notice{
    padding:8px 9px;
    font-size:9.5px;
    line-height:1.3;
  }
  #customSuggestionModal .custom-suggestion-list{
    gap:6px;
  }
  #customSuggestionModal .custom-suggestion-item{
    grid-template-columns:minmax(0,1fr);
    gap:6px;
    padding:8px 9px;
    border-radius:11px;
  }
  #customSuggestionModal .custom-suggestion-item>strong{
    font-size:11px;
    line-height:1.25;
  }
  #customSuggestionModal .custom-suggestion-item-actions{
    display:grid;
    grid-template-columns:1fr 1fr 40px;
    gap:5px;
  }
  #customSuggestionModal .custom-suggestion-item-actions .btn{
    min-width:0;
    min-height:40px;
    padding:6px 7px;
    font-size:9.5px;
  }
  #customSuggestionModal .custom-suggestion-item-actions .danger{
    width:40px;
    padding:0;
    font-size:18px;
  }

  /* Einkaufseintrag als Lebensmittel/Favorit übernehmen */
  #shoppingSaveFoodModal .shopping-save-food-card{
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  #shoppingSaveFoodModal .stack{
    gap:8px;
  }
  #shoppingSaveFoodModal .notice{
    padding:8px 9px;
    font-size:9.5px;
    line-height:1.3;
  }
  #shoppingSaveFoodModal .shopping-save-food-actions{
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  #shoppingSaveFoodModal .shopping-save-food-actions .btn{
    min-width:0;
    min-height:44px;
    padding:7px 8px;
    font-size:10px;
    line-height:1.2;
    white-space:normal;
  }
}

@media(max-width:390px){
  #dayDigModal .row{
    grid-template-columns:1fr;
  }
  #alcoholDetailModal .alcohol-detail-row{
    grid-template-columns:50px minmax(0,1fr);
  }
  #alcoholDetailModal .alcohol-detail-grams{
    grid-column:2;
  }
  #eventModal .event-editor-choice-row,
  #eventModal .event-editor-actions,
  #shoppingSaveFoodModal .shopping-save-food-actions{
    grid-template-columns:1fr;
  }
}


/* Sandbox v1.9.294 · Mobile-Ausbau 14: Meine Routine */
@media(max-width:760px){

  #routineScreen{
    padding-bottom:84px;
  }

  /* Kopf */
  #routineScreen .routine-head-v035{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    align-items:center;
    margin-bottom:8px;
  }
  #routineScreen .routine-head-v035 h2{
    min-width:0;
    font-size:19px;
    line-height:1.15;
  }
  #routineScreen #routineConfigToggle{
    min-width:76px;
    min-height:40px;
    padding:7px 9px;
    font-size:10.5px;
    margin-left:0;
  }

  #routineScreen .routine-shell{
    gap:8px;
  }

  /* Anpassen */
  #routineScreen .routine-config{
    padding:9px 10px;
    border-radius:13px;
  }
  #routineScreen .routine-config-grid{
    gap:5px;
    margin-top:0;
  }
  #routineScreen .routine-config-grid label{
    display:grid;
    grid-template-columns:24px minmax(0,1fr) auto!important;
    gap:7px;
    min-height:44px;
    padding:7px 8px;
    border-radius:10px;
    font-size:10.5px;
    line-height:1.2;
  }
  #routineScreen .routine-config-grid input[type="checkbox"]{
    width:22px!important;
    height:22px!important;
    margin:0;
  }
  #routineScreen .routine-config-grid label>span:nth-child(2){
    min-width:0;
    overflow-wrap:anywhere;
  }
  #routineScreen .routine-config-order{
    display:grid;
    grid-template-columns:38px 38px;
    gap:4px;
  }
  #routineScreen .routine-config-order .btn{
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
    padding:0;
    border-radius:10px;
    font-size:15px;
  }

  /* Routine-Karten */
  #routineScreen .routine-grid{
    gap:6px;
  }
  #routineScreen .routine-card{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
    align-items:center;
    padding:9px 10px;
    border-radius:13px;
  }
  #routineScreen .routine-card-title-row{
    min-width:0;
    gap:0;
  }
  #routineScreen .routine-card-title-row>div{
    min-width:0;
  }
  #routineScreen .routine-card strong{
    font-size:12px;
    line-height:1.2;
  }
  #routineScreen .routine-card small,
  #routineScreen .routine-card-info-v037{
    margin-top:2px;
    font-size:9.5px;
    line-height:1.25;
    overflow-wrap:anywhere;
  }
  #routineScreen .routine-actions{
    display:flex;
    flex-wrap:nowrap;
    justify-content:flex-end;
    gap:5px;
    min-width:0;
  }
  #routineScreen .routine-actions .btn{
    width:auto;
    min-width:68px;
    min-height:40px;
    padding:6px 8px;
    font-size:9.5px;
    line-height:1.15;
    white-space:normal;
  }
  #routineScreen .routine-actions .btn.primary{
    min-width:78px;
  }

  /* Favoriten in Routine */
  #routineScreen .routine-favorites{
    grid-template-columns:minmax(0,1fr);
    align-items:start;
  }
  #routineScreen .routine-favorite-list{
    gap:5px;
    margin-top:6px;
  }
  #routineScreen .routine-fav-btn{
    min-height:38px;
    padding:6px 8px;
    font-size:9.5px;
    line-height:1.15;
  }
  #routineScreen .routine-favorites .routine-actions{
    justify-content:flex-start;
  }
  #routineScreen .routine-favorites .routine-actions .btn{
    min-width:110px;
  }

  #routineScreen .routine-empty{
    padding:12px;
    border-radius:12px;
    font-size:10.5px;
    line-height:1.35;
  }
}

@media(max-width:390px){
  #routineScreen .routine-head-v035 h2{
    font-size:17px;
  }
  #routineScreen .routine-card{
    grid-template-columns:1fr;
  }
  #routineScreen .routine-actions{
    justify-content:flex-start;
  }
  #routineScreen .routine-actions .btn{
    min-width:0;
    flex:1 1 0;
  }
  #routineScreen .routine-config-grid label{
    grid-template-columns:22px minmax(0,1fr) auto!important;
  }
  #routineScreen .routine-config-order{
    grid-template-columns:36px 36px;
  }
  #routineScreen .routine-config-order .btn{
    width:36px;
    min-width:36px;
    height:36px;
    min-height:36px;
  }
}


/* Sandbox v1.9.294 · iPhone Routine: Energie-Auswahl ohne Überlagerung */
@media(max-width:760px){
  #routineScreen #routineGrid .routine-energy-card-v259{
    grid-template-columns:minmax(0,1fr)!important;
    gap:7px;
  }
  #routineScreen #routineGrid .routine-energy-card-v259 .routine-quick-body-v199{
    min-width:0;
    width:100%;
  }
  #routineScreen #routineGrid .routine-energy-card-v259 .routine-energy-options-v201{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    width:100%;
    min-width:0;
  }
  #routineScreen #routineGrid .routine-energy-card-v259 .routine-energy-choice-v201{
    width:100%;
    min-width:0!important;
    min-height:40px;
    padding:6px 5px;
    font-size:9.5px;
    line-height:1.15;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  #routineScreen #routineGrid .routine-energy-card-v259 .routine-detail-row-v199{
    justify-content:flex-start;
  }
}
@media(max-width:350px){
  #routineScreen #routineGrid .routine-energy-card-v259 .routine-energy-options-v201{
    grid-template-columns:1fr;
  }
}


/* Sandbox v1.9.294 · Einkaufsliste: Haushaltsartikel-Schnellauswahl */
.shopping-household-toggle-v260.active{
  border-color:var(--accent)!important;
  background:#152019!important;
  color:var(--accent)!important;
}
.shopping-household-panel-v260{
  display:grid;
  gap:10px;
  margin:10px 0 4px;
  padding:12px 13px;
  border:1px solid #41644c;
  border-radius:14px;
  background:#111a14;
}
.shopping-household-panel-v260.hidden{display:none!important}
.shopping-household-head-v260{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.shopping-household-head-v260 strong{display:block;font-size:14px}
.shopping-household-head-v260 small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:10.5px;
}
.shopping-household-grid-v260{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:6px;
}
.shopping-household-item-v260{
  min-width:0;
  min-height:42px;
  padding:7px 8px;
  border:1px solid var(--border);
  border-radius:11px;
  background:var(--panel3);
  color:var(--text);
  font:inherit;
  font-size:10.5px;
  font-weight:750;
  line-height:1.2;
  cursor:pointer;
  overflow-wrap:anywhere;
}
.shopping-household-item-v260:hover{
  border-color:#667180;
  background:#1b2027;
}
.shopping-household-item-v260.active{
  border-color:rgba(116,227,154,.58);
  background:#152019;
  color:var(--accent);
}
.shopping-household-foot-v260{
  color:var(--muted);
  font-size:9.5px;
  line-height:1.3;
}

@media(max-width:760px){
  #nutShopping .shopping-add-actions{
    grid-template-columns:1fr 1fr;
  }
  #nutShopping #openShoppingHouseholdV260{
    grid-column:1/-1;
  }
  #nutShopping .shopping-household-panel-v260{
    margin-top:7px;
    padding:9px 10px;
    border-radius:12px;
    gap:7px;
  }
  #nutShopping .shopping-household-head-v260 strong{
    font-size:12px;
  }
  #nutShopping .shopping-household-head-v260 small{
    font-size:9px;
  }
  #nutShopping #shoppingHouseholdCloseV260{
    min-width:72px;
    min-height:38px;
    padding:6px 7px;
    font-size:9.5px;
  }
  #nutShopping .shopping-household-grid-v260{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
  }
  #nutShopping .shopping-household-item-v260{
    min-height:40px;
    padding:6px 7px;
    font-size:9.5px;
  }
  #nutShopping .shopping-household-foot-v260{
    font-size:8.8px;
  }
}
@media(max-width:350px){
  #nutShopping .shopping-household-grid-v260{
    grid-template-columns:1fr;
  }
}


/* Sandbox v1.9.294 · Einkaufsliste: drei gleichwertige Hinzufügen-Aktionen */
#nutShopping .shopping-add-actions-v261{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
}
#nutShopping .shopping-add-actions-v261>.btn{
  width:100%;
  min-width:0;
  justify-content:center;
}
@media(max-width:760px){
  #nutShopping .shopping-add-actions-v261{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  #nutShopping .shopping-add-actions-v261>.btn{
    grid-column:auto!important;
    min-height:42px;
    padding:7px 9px;
    font-size:10.5px;
  }
}


/* Sandbox v1.9.294 · Einkaufsliste: neutral im Ruhezustand, grün nur aktiv */
#nutShopping .shopping-add-actions-v261>.btn,
#nutShopping #addShoppingCustom{
  background:var(--panel3)!important;
  border-color:var(--border)!important;
  color:var(--text)!important;
  box-shadow:none!important;
}
#nutShopping .shopping-add-actions-v261>.btn:hover{
  background:#242a32!important;
  border-color:#667180!important;
  color:var(--text)!important;
}
#nutShopping .shopping-add-actions-v261>.btn.active{
  background:#152019!important;
  border-color:rgba(116,227,154,.68)!important;
  color:var(--accent)!important;
  box-shadow:inset 0 0 0 1px rgba(116,227,154,.08)!important;
}

/* Safari/iPhone: einzeiliges Textarea statt kontaktverdächtigem Input */
#nutShopping #shoppingCustomName{
  display:block;
  width:100%;
  height:44px;
  min-height:44px;
  max-height:44px;
  resize:none;
  overflow:hidden;
  line-height:24px;
  font:inherit;
}


/* Sandbox v1.9.294 · Einkaufsliste: drei echte Auswahlbereiche */
#nutShopping .shopping-add-layout-v264{
  display:block!important;
  margin:10px 0 4px!important;
}
#nutShopping .shopping-free-panel-v264{
  display:grid;
  gap:10px;
  margin:10px 0 4px;
  padding:12px 13px;
  border:1px solid #41644c;
  border-radius:14px;
  background:#111a14;
}
#nutShopping .shopping-free-panel-v264.hidden{
  display:none!important;
}
#nutShopping .shopping-free-panel-head-v264{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
#nutShopping .shopping-free-panel-head-v264 strong{
  display:block;
  font-size:14px;
}
#nutShopping .shopping-free-panel-head-v264 small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:10.5px;
}
#nutShopping .shopping-free-save-v264{
  width:100%;
  min-height:44px;
}
#nutShopping .shopping-add-actions-v261>.btn{
  background:var(--panel3)!important;
  border-color:var(--border)!important;
  color:var(--text)!important;
}
#nutShopping .shopping-add-actions-v261>.btn.active{
  background:#152019!important;
  border-color:rgba(116,227,154,.68)!important;
  color:var(--accent)!important;
}

@media(max-width:760px){
  #nutShopping .shopping-add-layout-v264{
    margin:4px 0 1px!important;
  }
  #nutShopping .shopping-free-panel-v264{
    margin-top:7px;
    padding:9px 10px;
    border-radius:12px;
    gap:7px;
  }
  #nutShopping .shopping-free-panel-head-v264 strong{
    font-size:12px;
  }
  #nutShopping .shopping-free-panel-head-v264 small{
    font-size:9px;
  }
  #nutShopping #shoppingFreeCloseV264{
    min-width:72px;
    min-height:38px;
    padding:6px 7px;
    font-size:9.5px;
  }
  #nutShopping .shopping-free-save-v264{
    min-height:42px;
    font-size:10.5px;
  }
}


/* Sandbox v1.9.294 · Einkaufsliste: Desktop kompakter */
#nutShopping .shopping-add-intro-v265{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin:0 0 8px;
}
#nutShopping .shopping-add-intro-v265 strong{
  font-size:12px;
}
#nutShopping .shopping-add-intro-v265 span{
  color:var(--muted);
  font-size:10.5px;
  line-height:1.35;
}

@media(min-width:761px){
  #nutShopping .shopping-add-actions-v261{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  #nutShopping .shopping-add-actions-v261>.btn{
    min-height:44px;
    padding:7px 10px;
    font-size:11px;
    white-space:nowrap;
  }
}

@media(max-width:760px){
  #nutShopping .shopping-add-intro-v265{
    display:block;
    margin-bottom:6px;
  }
  #nutShopping .shopping-add-intro-v265 strong{
    display:block;
    font-size:10.5px;
  }
  #nutShopping .shopping-add-intro-v265 span{
    display:block;
    margin-top:2px;
    font-size:9px;
  }
  #nutShopping .shopping-add-actions-v261{
    grid-template-columns:1fr!important;
  }
}


/* Sandbox v1.9.294 · Einkaufsliste: Hinzufügen-Bereich klarer hervorheben */
#nutShopping .shopping-add-layout-v264{
  padding:13px 14px!important;
  border:1px solid rgba(116,227,154,.34);
  border-radius:16px;
  background:rgba(116,227,154,.035);
}
#nutShopping .shopping-add-intro-v265{
  margin-bottom:10px;
}
#nutShopping .shopping-add-intro-v265 strong{
  position:relative;
  padding-left:11px;
  font-size:13px;
  color:var(--text);
}
#nutShopping .shopping-add-intro-v265 strong::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:4px;
  height:18px;
  border-radius:999px;
  background:var(--accent);
  transform:translateY(-50%);
}
#nutShopping .shopping-add-intro-v265 span{
  font-size:11px;
}
#nutShopping .shopping-add-actions-v261>.btn{
  border-color:#46505d!important;
  background:#1b2027!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)!important;
}
#nutShopping .shopping-add-actions-v261>.btn:hover{
  border-color:#667180!important;
  background:#232a32!important;
}
#nutShopping .shopping-add-actions-v261>.btn.active{
  border-color:rgba(116,227,154,.72)!important;
  background:#152019!important;
  color:var(--accent)!important;
  box-shadow:inset 0 0 0 1px rgba(116,227,154,.08)!important;
}

@media(max-width:760px){
  #nutShopping .shopping-add-layout-v264{
    padding:9px 10px!important;
    border-radius:13px;
  }
  #nutShopping .shopping-add-intro-v265{
    margin-bottom:7px;
  }
  #nutShopping .shopping-add-intro-v265 strong{
    padding-left:9px;
    font-size:11px;
  }
  #nutShopping .shopping-add-intro-v265 strong::before{
    width:3px;
    height:15px;
  }
  #nutShopping .shopping-add-intro-v265 span{
    font-size:9px;
  }
}


/* Sandbox v1.9.294 · Einkaufsliste: klar erkennbare echte Buttons */
#nutShopping .shopping-add-actions-v261{
  justify-items:start;
}
#nutShopping .shopping-add-actions-v261>.btn{
  width:auto!important;
  min-width:190px!important;
  min-height:42px!important;
  padding:8px 16px!important;
  border:1px solid #596575!important;
  border-radius:11px!important;
  background:#252c35!important;
  color:#f1f4f6!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.15!important;
  box-shadow:0 2px 0 rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.045)!important;
  transition:background .14s,border-color .14s,transform .08s,box-shadow .08s!important;
}
#nutShopping .shopping-add-actions-v261>.btn:hover{
  background:#2c3540!important;
  border-color:#788596!important;
}
#nutShopping .shopping-add-actions-v261>.btn:active{
  transform:translateY(1px);
  box-shadow:0 1px 0 rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025)!important;
}
#nutShopping .shopping-add-actions-v261>.btn.active{
  background:#17301f!important;
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  box-shadow:0 2px 0 rgba(0,0,0,.24), inset 0 0 0 1px rgba(116,227,154,.12)!important;
}

@media(min-width:761px){
  #nutShopping .shopping-add-actions-v261{
    grid-template-columns:repeat(3,max-content)!important;
    justify-content:start;
    gap:10px!important;
  }
}

@media(max-width:760px){
  #nutShopping .shopping-add-actions-v261{
    justify-items:stretch;
  }
  #nutShopping .shopping-add-actions-v261>.btn{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:8px 12px!important;
    font-size:10.5px!important;
  }
}


/* Sandbox v1.9.294 · Ernährungs-Flow vereinfachen */
#nutrition .nutrition-quick-intro-v269{
  display:flex;
  align-items:baseline;
  gap:9px;
  margin:10px 0 6px;
  padding:0 2px;
}
#nutrition .nutrition-quick-intro-v269 strong{font-size:12px}
#nutrition .nutrition-quick-intro-v269 span{font-size:10.5px;color:var(--muted)}
#nutrition .nutrition-item-name-v269{
  appearance:none;border:0;background:transparent;color:inherit;padding:0;margin:0;
  font:inherit;text-align:left;cursor:pointer;
}
#nutrition .nutrition-item-name-v269:hover{color:var(--accent)}
#nutrition .food-dish-usage-v269{
  display:block;appearance:none;border:0;background:transparent;color:var(--accent);
  padding:3px 0 0;margin:0;font-size:10.5px;font-weight:750;cursor:pointer;text-align:left;
}
#nutrition .food-dish-usage-v269:hover{text-decoration:underline}
#nutrition .nutrition-today-open-v269{cursor:pointer}
.nutrition-today-card-v269,.food-dish-usage-card-v269{max-width:620px}
.nutrition-today-list-v269,.food-dish-usage-list-v269{display:grid;gap:7px}
.nutrition-today-row-v269,.food-dish-usage-row-v269{
  width:100%;border:1px solid var(--border);border-radius:12px;background:var(--panel3);
  color:var(--text);padding:10px 12px;text-align:left;cursor:pointer;
}
.nutrition-today-row-v269{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:10px;align-items:center}
.nutrition-today-row-v269 time,.nutrition-today-row-v269 small{color:var(--muted);font-size:11px}
.nutrition-today-row-v269 strong,.nutrition-today-row-v269 small{display:block}
.nutrition-today-row-v269>span:last-child{font-size:11px;color:var(--muted);white-space:nowrap}
.food-dish-usage-row-v269{display:flex;align-items:center;justify-content:space-between;gap:12px}
.food-dish-usage-row-v269 span{font-size:11px;color:var(--muted)}
.modal-footer-v269{display:flex;justify-content:flex-end;margin-top:12px}
.nutrition-detail-actions-v269{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:2px}
.nutrition-focus-v269{outline:2px solid var(--accent);outline-offset:2px}

/* Interner Zurück-Pfeil auf Desktop genauso erreichbar wie mobil: schwebend links. */
@media(min-width:761px){
  .topbar-v195 .app-back-button:not(.hidden){
    display:grid!important;
    position:fixed!important;
    left:7px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:450!important;
    width:44px!important;
    height:50px!important;
    border-radius:0 14px 14px 0!important;
    box-shadow:0 8px 24px rgba(0,0,0,.35)!important;
    background:#252c35!important;
  }
}

@media(max-width:760px){
  #nutrition .nutrition-quick-intro-v269{display:block;margin:6px 2px 4px}
  #nutrition .nutrition-quick-intro-v269 strong{display:block;font-size:10.5px}
  #nutrition .nutrition-quick-intro-v269 span{display:block;margin-top:1px;font-size:9px}

  /* Meine Lebensmittel: mobil zunächst wirklich nur der Name. */
  #nutFoods .food-row.head{display:none!important}
  #nutFoods .food-row:not(.head){
    display:block!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden;
  }
  #nutFoods .food-row:not(.head)>div:not(.food-name-cell-v269){display:none!important}
  #nutFoods .food-name-cell-v269{
    display:block!important;
    min-width:0!important;
    width:100%!important;
    padding:0!important;
  }
  #nutFoods .food-name-cell-v269>small,
  #nutFoods .food-name-cell-v269>.alcohol-pill,
  #nutFoods .food-name-cell-v269>.allergy-observed-pill,
  #nutFoods .food-name-cell-v269>.food-dish-usage-v269{display:none!important}
  #nutFoods .food-name-cell-v269>.nutrition-item-name-v269{
    display:block;width:100%;padding:13px 15px;font-size:14px;font-weight:800;
  }

  /* Meine Gerichte: mobil Name antippen, Details/Aktionen im Dialog. */
  #nutDishes .dish{
    display:block!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden;
  }
  #nutDishes .dish>div:first-child{display:block!important;padding:0!important}
  #nutDishes .dish>div:first-child>strong{display:block!important}
  #nutDishes .dish>div:first-child>strong>.nutrition-item-name-v269{
    display:block;width:100%;padding:14px 15px;font-size:15px;font-weight:850;
  }
  #nutDishes .dish>div:first-child>.dish-inline-ingredients,
  #nutDishes .dish>div:first-child>.dish-standard-kcal,
  #nutDishes .dish>div:first-child>.dish-kcal-warning,
  #nutDishes .dish>div:first-child>.dish-today-adjusted,
  #nutDishes .dish>div:first-child>.dish-inline-hint,
  #nutDishes .dish>.fav-actions{display:none!important}

  .nutrition-today-row-v269{
    grid-template-columns:44px minmax(0,1fr);
    padding:10px;
  }
  .nutrition-today-row-v269>span:last-child{grid-column:2;white-space:normal}
  .nutrition-detail-actions-v269{display:grid;grid-template-columns:1fr 1fr}
  .nutrition-detail-actions-v269 .btn:first-child{grid-column:1/-1}
}


/* Sandbox v1.9.294 · Heute erfasst als normale Listenansicht */
#nutFoods .nutrition-today-open-v269.active{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:#152019!important;
}
#nutFoods .today-food-time-v270{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-width:0;
}
#nutFoods .today-food-time-v270 strong{
  font-size:12px;
  font-weight:750;
}
#nutFoods .today-food-row-v270 .food-name-cell-v269{
  min-width:0;
}

@media(max-width:760px){
  #nutFoods .today-food-row-v270 .food-name-cell-v269>.nutrition-item-name-v269{
    padding:13px 15px;
  }
}


/* Sandbox v1.9.294 · Heute-Liste direkt bedienbar */
#nutFoods .today-qty-control-v271{
  display:flex;
  align-items:center;
  gap:8px;
}
#nutFoods .today-qty-btn-v271,
#nutFoods .today-undo-v271{
  appearance:none;
  border:1px solid #4a5665;
  background:#252c35;
  color:var(--text);
  border-radius:10px;
  min-width:36px;
  min-height:36px;
  padding:5px 8px;
  font:inherit;
  font-weight:850;
  cursor:pointer;
}
#nutFoods .today-qty-btn-v271:hover,
#nutFoods .today-undo-v271:hover{
  border-color:#748396;
  background:#2c3540;
}
#nutFoods .today-qty-value-v271{
  min-width:34px;
  text-align:center;
  font-size:13px;
  white-space:nowrap;
}
#nutFoods .today-food-last-v271{
  gap:10px;
  justify-content:space-between;
}
#nutFoods .today-undo-v271{
  color:var(--accent);
  border-color:rgba(116,227,154,.42);
}
#nutFoods .today-undo-v271:hover{
  border-color:var(--accent);
  background:#17301f;
}

@media(max-width:760px){
  #nutFoods .today-food-row-v270{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center;
    gap:7px!important;
    padding:10px 12px!important;
  }
  #nutFoods .today-food-row-v270>.food-name-cell-v269{
    display:block!important;
    padding:0!important;
    min-width:0!important;
  }
  #nutFoods .today-food-row-v270>.food-name-cell-v269>.nutrition-item-name-v269{
    padding:0!important;
    font-size:14px!important;
  }
  #nutFoods .today-food-row-v270>.food-cat,
  #nutFoods .today-food-row-v270>.food-kcal{
    display:none!important;
  }
  #nutFoods .today-food-row-v270>.today-qty-control-v271{
    display:flex!important;
    grid-column:2;
    grid-row:1;
  }
  #nutFoods .today-food-row-v270>.today-food-last-v271{
    display:flex!important;
    grid-column:1/-1;
    grid-row:2;
    justify-content:flex-end;
    padding-top:2px;
  }
  #nutFoods .today-food-time-v270>strong{
    font-size:10px;
    color:var(--muted);
  }
  #nutFoods .today-qty-btn-v271,
  #nutFoods .today-undo-v271{
    min-width:34px;
    min-height:34px;
    padding:4px 7px;
  }
  #nutFoods .today-qty-value-v271{
    min-width:30px;
    font-size:12px;
  }
}


/* Sandbox v1.9.294 · Ernährung: eine Auswahl-Ebene mit Kurzinfo */
#nutrition .nutrition-tabs-v272{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin:12px 0 14px;
}
#nutrition .nutrition-tab-v272{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:3px;
  min-height:62px;
  padding:9px 12px!important;
  text-align:left;
  white-space:normal!important;
}
#nutrition .nutrition-tab-title-v272{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:12px;
  font-weight:850;
  line-height:1.15;
}
#nutrition .nutrition-tab-v272 small{
  display:block;
  color:var(--muted);
  font-size:9.5px;
  font-weight:650;
  line-height:1.15;
}
#nutrition .nutrition-tab-v272.active small{
  color:rgba(8,35,20,.78);
}
#nutrition .nutrition-tab-v272 .shopping-tab-icon{
  width:16px;
  height:16px;
}
#nutrition .nutrition-today-card-v272{
  margin-top:0;
}
#nutrition .nutrition-today-head-v272{
  align-items:center;
}
#nutrition .nutrition-today-kcal-v272{
  padding:7px 10px;
  border:1px solid rgba(116,227,154,.34);
  border-radius:999px;
  color:var(--accent);
  background:rgba(116,227,154,.05);
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}

@media(max-width:1100px) and (min-width:761px){
  #nutrition .nutrition-tabs-v272{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:760px){
  #nutrition .nutrition-tabs-v272{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    margin:8px 0 10px;
  }
  #nutrition .nutrition-tab-v272{
    min-height:56px;
    padding:8px 9px!important;
  }
  #nutrition .nutrition-tab-title-v272{
    font-size:10.5px;
  }
  #nutrition .nutrition-tab-v272 small{
    font-size:8.5px;
  }
  #nutrition .nutrition-today-head-v272{
    align-items:flex-start;
  }
  #nutrition .nutrition-today-kcal-v272{
    font-size:9.5px;
    padding:6px 8px;
  }
}


/* Sandbox v1.9.294 · Ernährung: Button-Design und Heute-Steuerung glätten */

/* Auswahl oben: eher echte kompakte Karten/Buttons statt großer Pillen */
#nutrition .nutrition-tabs-v272{
  gap:10px!important;
  margin:14px 0 16px!important;
}
#nutrition .nutrition-tab-v272{
  min-height:72px!important;
  padding:11px 14px!important;
  border-radius:16px!important;
  border:1px solid #46505d!important;
  background:#191e25!important;
  box-shadow:0 2px 0 rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025)!important;
  transition:background .14s,border-color .14s,transform .08s,box-shadow .08s!important;
}
#nutrition .nutrition-tab-v272:hover{
  background:#222932!important;
  border-color:#657181!important;
}
#nutrition .nutrition-tab-v272:active{
  transform:translateY(1px);
  box-shadow:0 1px 0 rgba(0,0,0,.2)!important;
}
#nutrition .nutrition-tab-v272.active{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#08210f!important;
  box-shadow:0 2px 0 rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12)!important;
}
#nutrition .nutrition-tab-title-v272{
  font-size:15px!important;
  font-weight:850!important;
  line-height:1.15!important;
}
#nutrition .nutrition-tab-v272 small{
  margin-top:2px;
  font-size:11.5px!important;
  font-weight:650!important;
  line-height:1.2!important;
}
#nutrition .nutrition-tab-v272:not(.active) small{
  color:#aeb6c1!important;
}
#nutrition .nutrition-tab-v272.active small{
  color:rgba(8,33,15,.74)!important;
}
#nutrition .nutrition-tab-v272 .shopping-tab-icon{
  width:18px!important;
  height:18px!important;
}

/* Heute-Liste: eigene saubere Spalten und horizontale Mengensteuerung */
#nutToday .today-food-row-v270{
  grid-template-columns:minmax(250px,1.55fr) minmax(105px,.55fr) 160px 105px 132px!important;
  gap:14px!important;
  min-height:78px;
  padding:12px 16px!important;
}
#nutToday .today-food-row-v270 .food-name-cell-v269{
  min-width:0;
}
#nutToday .today-food-row-v270 .nutrition-item-name-v269{
  font-size:15px;
  font-weight:820;
}
#nutToday .today-qty-control-v271{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
#nutToday .today-qty-btn-v271,
#nutToday .today-undo-v271{
  appearance:none;
  display:inline-grid!important;
  place-items:center;
  flex:0 0 auto;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  border:1px solid #4d5968!important;
  border-radius:10px!important;
  background:#252c35!important;
  color:#f1f4f6!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:700!important;
  box-shadow:0 1px 0 rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035)!important;
  cursor:pointer;
}
#nutToday .today-qty-btn-v271:hover,
#nutToday .today-undo-v271:hover{
  background:#303945!important;
  border-color:#748194!important;
}
#nutToday .today-qty-value-v271{
  display:inline-block;
  flex:0 0 auto;
  min-width:38px!important;
  text-align:center;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1!important;
}
#nutToday .today-food-last-v271{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  white-space:nowrap;
}
#nutToday .today-food-time-v270>strong{
  font-size:12px!important;
  font-weight:750!important;
}
#nutToday .today-undo-v271{
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  color:var(--accent)!important;
  border-color:rgba(116,227,154,.42)!important;
  font-size:17px!important;
}
#nutToday .food-kcal strong{
  font-size:17px;
}
#nutToday .food-kcal small{
  font-size:11px;
}
#nutrition .nutrition-today-kcal-v272{
  font-size:12px!important;
  padding:8px 12px!important;
}

/* Tablet: 3 x 2, weiterhin gut lesbar */
@media(max-width:1100px) and (min-width:761px){
  #nutrition .nutrition-tab-v272{
    min-height:68px!important;
  }
  #nutrition .nutrition-tab-title-v272{
    font-size:14px!important;
  }
  #nutrition .nutrition-tab-v272 small{
    font-size:11px!important;
  }
  #nutToday .today-food-row-v270{
    grid-template-columns:minmax(210px,1.35fr) 100px 150px 90px 120px!important;
    gap:10px!important;
  }
}

/* iPhone: Auswahl klar lesbar, Heute kompakt mit Name + Menge */
@media(max-width:760px){
  #nutrition .nutrition-tabs-v272{
    gap:7px!important;
  }
  #nutrition .nutrition-tab-v272{
    min-height:64px!important;
    padding:9px 10px!important;
    border-radius:13px!important;
  }
  #nutrition .nutrition-tab-title-v272{
    font-size:12.5px!important;
  }
  #nutrition .nutrition-tab-v272 small{
    font-size:9.5px!important;
  }

  #nutToday .today-food-row-v270{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px 10px!important;
    min-height:0!important;
    padding:11px 12px!important;
  }
  #nutToday .today-food-row-v270>.food-name-cell-v269{
    display:block!important;
    grid-column:1;
    grid-row:1;
    padding:0!important;
  }
  #nutToday .today-food-row-v270>.food-name-cell-v269>.nutrition-item-name-v269{
    display:block!important;
    width:100%;
    padding:0!important;
    font-size:14px!important;
  }
  #nutToday .today-food-row-v270>.food-cat,
  #nutToday .today-food-row-v270>.food-kcal{
    display:none!important;
  }
  #nutToday .today-food-row-v270>.today-qty-control-v271{
    grid-column:2;
    grid-row:1;
    justify-content:flex-end!important;
  }
  #nutToday .today-food-row-v270>.today-food-last-v271{
    grid-column:1/-1;
    grid-row:2;
    justify-content:flex-end!important;
  }
  #nutToday .today-qty-btn-v271{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    font-size:18px!important;
  }
  #nutToday .today-qty-value-v271{
    min-width:30px!important;
    font-size:12px!important;
  }
  #nutToday .today-undo-v271{
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    font-size:15px!important;
  }
  #nutrition .nutrition-today-kcal-v272{
    font-size:10px!important;
    padding:6px 9px!important;
  }
}


/* Sandbox v1.9.294 · Hell-/Dunkel-Modus */
html[data-theme="light"]{
  --bg:#f3f5f7;
  --panel:#ffffff;
  --panel2:#edf1f4;
  --panel3:#f8fafb;
  --text:#20262e;
  --muted:#68737f;
  --border:#cbd3dc;
  --shadow:0 10px 28px rgba(38,48,60,.10);
  --info:#315f94;
}
html[data-theme="light"] body{background:var(--bg);color:var(--text)}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea{
  background:#fff;
  color:var(--text);
  border-color:var(--border);
}
html[data-theme="light"] .card,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .food-row,
html[data-theme="light"] .fav,
html[data-theme="light"] .dish,
html[data-theme="light"] .meditem,
html[data-theme="light"] .snack-day-row,
html[data-theme="light"] .shopping-item,
html[data-theme="light"] .details-box,
html[data-theme="light"] .panel-toggle,
html[data-theme="light"] .dig-time-pill,
html[data-theme="light"] .reminder-item{
  background:var(--panel);
  color:var(--text);
}
html[data-theme="light"] .btn{
  background:var(--panel2);
  color:var(--text);
  border-color:var(--border);
}
html[data-theme="light"] .btn.primary{
  background:var(--accent);
  color:#08210f;
  border-color:transparent;
}
html[data-theme="light"] .btn.danger{
  color:#8b2525;
  border-color:#d6a5a5;
  background:#fff2f2;
}
html[data-theme="light"] .chip,
html[data-theme="light"] .reminder-ticker,
html[data-theme="light"] .panel-toggle,
html[data-theme="light"] .free-entry-toggle,
html[data-theme="light"] .catalog-item,
html[data-theme="light"] .ingredient,
html[data-theme="light"] .ingredient-total,
html[data-theme="light"] .profile-security-note,
html[data-theme="light"] .nutrition-backfill-bar,
html[data-theme="light"] .dig-backfill{
  background:var(--panel3)!important;
  color:var(--text);
}
html[data-theme="light"] .nutrition-tab-v272{
  background:#fff!important;
  border-color:#c6ced7!important;
  color:var(--text)!important;
  box-shadow:0 2px 6px rgba(38,48,60,.06)!important;
}
html[data-theme="light"] .nutrition-tab-v272:hover{
  background:#f3f6f8!important;
  border-color:#aeb8c3!important;
}
html[data-theme="light"] .nutrition-tab-v272.active{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#08210f!important;
}
html[data-theme="light"] .nutrition-tab-v272:not(.active) small{color:#68737f!important}
html[data-theme="light"] #nutToday .today-qty-btn-v271,
html[data-theme="light"] #nutToday .today-undo-v271,
html[data-theme="light"] .fav-actions .btn:not(.primary),
html[data-theme="light"] .food-actions .btn:not(.primary){
  background:#f3f6f8!important;
  color:var(--text)!important;
  border-color:#c6ced7!important;
}
html[data-theme="light"] #nutToday .today-undo-v271{color:#287f49!important;border-color:#82c89a!important}
html[data-theme="light"] .topnav,
html[data-theme="light"] .dashboard-nav-shell,
html[data-theme="light"] .home-start-card{
  background:var(--panel)!important;
  border-color:var(--border)!important;
}
html[data-theme="light"] .navbtn,
html[data-theme="light"] .dashboard-tile{
  color:var(--text)!important;
}
html[data-theme="light"] .navbtn.active,
html[data-theme="light"] .dashboard-tile.active{
  background:#eef4f0!important;
}
html[data-theme="light"] .quick{
  background:linear-gradient(180deg,#fff,#f5f7f9)!important;
  color:var(--text)!important;
}
html[data-theme="light"] .notice{
  background:#f7f9fb;
  color:var(--text);
}
html[data-theme="light"] .empty{
  color:var(--muted);
  border-color:var(--border);
}
html[data-theme="light"] .modal{background:rgba(20,28,36,.38)}

/* Laborwerte */
.lab-values-v276{margin-top:4px}
.lab-values-body-v276{display:grid;gap:12px}
.lab-entry-grid-v276{display:grid;grid-template-columns:160px minmax(180px,1fr) 150px 150px;gap:10px;align-items:end}
.lab-important-v276{justify-self:start}
.lab-actions-v276{justify-content:flex-end}
.lab-values-list-v276{display:grid;gap:8px;margin-top:2px}
.lab-value-row-v276{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:13px;background:var(--panel3)}
.lab-value-row-v276.important{border-color:#6d5a31}
.lab-value-main-v276{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:3px 14px;align-items:baseline}
.lab-value-main-v276 strong{font-size:14px}
.lab-value-main-v276>span{font-weight:800;white-space:nowrap}
.lab-value-main-v276 small{grid-column:1/-1;color:var(--muted);line-height:1.35}
.lab-value-actions-v276{display:flex;gap:6px;align-items:center}
html[data-theme="light"] .lab-value-row-v276{background:#fff}
html[data-theme="light"] .lab-value-row-v276.important{border-color:#bc9b58}

/* PDF-Auswahl: Unteroption des chronologischen Verlaufs */
.report-suboption-v276{margin-left:24px}
.report-suboption-v276.disabled{opacity:.48}
@media(max-width:760px){
  .lab-entry-grid-v276{grid-template-columns:1fr 1fr}
  .lab-value-row-v276{grid-template-columns:1fr}
  .lab-value-actions-v276{justify-content:flex-start}
  .report-suboption-v276{margin-left:12px}
}
@media(max-width:480px){
  .lab-entry-grid-v276{grid-template-columns:1fr}
}


/* Sandbox v1.9.294 · Hellmodus: Kontrast und Button-Lesbarkeit */
html[data-theme="light"]{
  --text:#1a2027;
  --muted:#596574;
  --border:#bfc9d4;
  --panel2:#e9eef3;
  --panel3:#f5f7f9;
}
html[data-theme="light"] ::placeholder{
  color:#7b8793!important;
  opacity:1;
}
html[data-theme="light"] .muted,
html[data-theme="light"] small,
html[data-theme="light"] .tiny{
  color:var(--muted);
}
html[data-theme="light"] .btn{
  background:#ffffff!important;
  color:#1d2731!important;
  border-color:#b8c3ce!important;
  box-shadow:0 1px 2px rgba(35,48,62,.06);
}
html[data-theme="light"] .btn:hover{
  background:#eef3f6!important;
  border-color:#91a0af!important;
  color:#111820!important;
}
html[data-theme="light"] .btn:active{
  background:#e4ebf0!important;
}
html[data-theme="light"] .btn.primary{
  background:var(--accent)!important;
  color:#092713!important;
  border-color:#4dcf7b!important;
  box-shadow:0 1px 2px rgba(35,80,47,.12);
}
html[data-theme="light"] .btn.primary:hover{
  background:#64dc8e!important;
  border-color:#35bc67!important;
  color:#061d0d!important;
}
html[data-theme="light"] .btn.ghost{
  background:#f7f9fb!important;
  color:#34414e!important;
}
html[data-theme="light"] .btn.danger{
  background:#fff5f5!important;
  color:#942a2a!important;
  border-color:#d7a7a7!important;
}
html[data-theme="light"] .btn.danger:hover{
  background:#ffe8e8!important;
  border-color:#bf7d7d!important;
}
html[data-theme="light"] .pill{
  background:#fff;
  color:#34414e;
  border-color:#bcc7d1;
}
html[data-theme="light"] .checkchip{
  background:#fff;
  color:#25303a;
  border-color:#bfc9d4;
}
html[data-theme="light"] .checkchip:has(input:checked){
  background:#e6f7ec;
  border-color:#75ba8a;
  color:#173b23;
}
html[data-theme="light"] .profile-tab,
html[data-theme="light"] .page-link-action{
  background:#fff!important;
  color:#25303a!important;
  border-color:#bfc9d4!important;
}
html[data-theme="light"] .profile-tab.active,
html[data-theme="light"] .page-link-action.active{
  background:#e5f6eb!important;
  color:#173b23!important;
  border-color:#76bd8c!important;
}
html[data-theme="light"] .switchrow{
  border-color:#c9d1d9;
}
html[data-theme="light"] .calorie-auto-hints{
  background:#f4f7f9;
  border-color:#c5cfd9;
  color:#2e3944;
}
html[data-theme="light"] .calorie-chart-link{
  color:#226c40!important;
}
html[data-theme="light"] .details-box{
  background:#fff!important;
  border-color:#c5cfd9!important;
}
html[data-theme="light"] .details-box summary{
  color:#202a34!important;
}
html[data-theme="light"] .food-row,
html[data-theme="light"] .fav,
html[data-theme="light"] .dish,
html[data-theme="light"] .meditem,
html[data-theme="light"] .lab-value-row-v276{
  box-shadow:0 1px 2px rgba(35,48,62,.04);
}
html[data-theme="light"] input[type="checkbox"],
html[data-theme="light"] input[type="radio"]{
  accent-color:#42b96c;
}

/* Laborwerte rechts: kompakt in der aktuellen Daten-Spalte */
#profile .lab-values-v276{
  width:100%;
  margin:0;
}
#profile .lab-values-v276 .lab-values-body-v276{
  overflow:hidden;
}
#profile .lab-entry-grid-v276{
  grid-template-columns:minmax(130px,.75fr) minmax(180px,1.15fr);
}
#profile .lab-entry-grid-v276>label:nth-of-type(3),
#profile .lab-entry-grid-v276>label:nth-of-type(4){
  min-width:0;
}
#profile .lab-value-main-v276{
  min-width:0;
}
#profile .lab-value-main-v276 strong,
#profile .lab-value-main-v276 small{
  overflow-wrap:anywhere;
}
@media(min-width:1200px){
  #profile .lab-entry-grid-v276{
    grid-template-columns:150px minmax(180px,1fr) 130px 130px;
  }
}
@media(max-width:760px){
  #profile .lab-entry-grid-v276{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:480px){
  #profile .lab-entry-grid-v276{
    grid-template-columns:1fr;
  }
}


/* Sandbox v1.9.294 · Begleitdiagnosen + Layout-Position */
.profile-layout-setting-v278{
  display:grid;
  gap:8px;
  margin-top:4px;
}
.profile-layout-setting-v278 h3{margin:0}
.diagnosis-subaccordion-v278{
  border:1px solid var(--border);
  border-radius:13px;
  background:var(--panel3);
  overflow:hidden;
}
.diagnosis-subaccordion-v278>summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 12px;
  cursor:pointer;
  font-weight:800;
}
.diagnosis-subaccordion-v278>summary::-webkit-details-marker{display:none}
.diagnosis-subaccordion-v278>summary::after{
  content:'⌄';
  color:var(--muted);
  margin-left:auto;
}
.diagnosis-subaccordion-v278[open]>summary::after{content:'⌃'}
.diagnosis-subaccordion-v278>summary .pill{margin-left:auto}
.diagnosis-subaccordion-body-v278{
  display:grid;
  gap:10px;
  padding:0 12px 12px;
  border-top:1px solid var(--border);
}
.comorbidity-form-v278{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  gap:10px;
  align-items:end;
}
.comorbidity-actions-v278{justify-content:flex-end}
.comorbidity-list-v278{display:grid;gap:7px}
.comorbidity-row-v278{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:11px;
  background:var(--panel);
}
.comorbidity-row-v278 strong{display:block}
.comorbidity-row-v278 small{
  display:block;
  color:var(--muted);
  margin-top:2px;
  line-height:1.35;
}
html[data-theme="light"] .diagnosis-subaccordion-v278{
  background:#f7f9fb;
  border-color:#c5cfd9;
}
html[data-theme="light"] .comorbidity-row-v278{
  background:#fff;
  border-color:#c5cfd9;
}
@media(max-width:760px){
  .comorbidity-form-v278{grid-template-columns:1fr}
}


/* Sandbox v1.9.294 · Chronologischer Verlauf: Mit Ernährung als Unterpunkt */
.report-timeline-card-v279{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  align-items:start!important;
}
.report-timeline-main-v279,
.report-timeline-sub-v279{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  cursor:pointer;
}
.report-timeline-main-v279{
  font-weight:inherit;
}
.report-timeline-sub-v279{
  margin-left:30px;
  font-size:0.9em;
  color:var(--muted);
}
.report-timeline-sub-v279.disabled{
  opacity:.46;
  cursor:default;
}
.report-timeline-sub-v279 input{
  flex:0 0 auto;
}
html[data-theme="light"] .report-timeline-sub-v279{
  color:#5e6976;
}
@media(max-width:760px){
  .report-timeline-sub-v279{
    margin-left:24px;
  }
}


/* Sandbox v1.9.294 · Hellmodus ruhiger und klarer */

/* Große Start-/Dashboard-Kacheln: keine Verläufe mehr */
html[data-theme="light"] .quick,
html[data-theme="light"] .dashboard-tile,
html[data-theme="light"] .dashboard-tile.input-tile{
  background:#eef1f3!important;
  color:#181d22!important;
  border-color:#c8d0d8!important;
  box-shadow:0 2px 8px rgba(38,48,58,.07)!important;
}
html[data-theme="light"] .quick:hover,
html[data-theme="light"] .dashboard-tile:hover{
  background:#e7ebee!important;
  border-color:#aeb9c4!important;
}
html[data-theme="light"] .dashboard-copy strong,
html[data-theme="light"] .quick strong{
  color:#181d22!important;
}
html[data-theme="light"] .dashboard-copy small,
html[data-theme="light"] .quick small{
  color:#66727e!important;
}
html[data-theme="light"] .dashboard-tile svg,
html[data-theme="light"] .quick svg{
  color:#20272e!important;
  stroke:currentColor!important;
}
html[data-theme="light"] .dashboard-report-hint-v0311{
  color:#23834a!important;
}

/* Navigation: flächig statt dunkler Sonderflächen */
html[data-theme="light"] .topnav .relations-nav,
html[data-theme="light"] .topnav .report-nav{
  background:#eef1f3!important;
  color:#1c2228!important;
  border-color:#c8d0d8!important;
}
html[data-theme="light"] .topnav .relations-nav:hover,
html[data-theme="light"] .topnav .report-nav:hover{
  background:#e5e9ec!important;
  color:#11161b!important;
}
html[data-theme="light"] .topnav .relations-nav svg,
html[data-theme="light"] .topnav .report-nav svg{
  stroke:currentColor!important;
}

/* Profil-Hilfsbereiche ebenfalls hell und ruhig */
html[data-theme="light"] .profile-share-v0311,
html[data-theme="light"] .profile-data-security,
html[data-theme="light"] .dl-backup-normal{
  background:#f0f3f5!important;
  color:#1b2127!important;
  border-color:#c8d0d8!important;
}
html[data-theme="light"] .profile-share-v0311 strong,
html[data-theme="light"] .profile-data-security summary,
html[data-theme="light"] .profile-data-security summary strong,
html[data-theme="light"] .dl-backup-normal summary{
  color:#1b2127!important;
}
html[data-theme="light"] .profile-share-v0311 small,
html[data-theme="light"] .profile-data-security summary small,
html[data-theme="light"] .dl-backup-help,
html[data-theme="light"] .dl-backup-row small{
  color:#616d79!important;
}
html[data-theme="light"] .profile-security-note,
html[data-theme="light"] .dl-backup-row{
  background:#ffffff!important;
  color:#1b2127!important;
  border-color:#c8d0d8!important;
}

/* Wirklich dunkle Kopf-Buttons: weiße Schrift */
html[data-theme="light"] .doctor-note-btn,
html[data-theme="light"] .account-button{
  background:#1c2228!important;
  color:#ffffff!important;
  border-color:#38424c!important;
}
html[data-theme="light"] .doctor-note-btn:hover,
html[data-theme="light"] .account-button:hover{
  background:#28313a!important;
  color:#ffffff!important;
  border-color:#566370!important;
}
html[data-theme="light"] .doctor-note-btn *,
html[data-theme="light"] .account-button *{
  color:inherit!important;
}

/* Startbereiche ebenfalls ohne Verlauf */
html[data-theme="light"] .home-start-card{
  background:#ffffff!important;
  border-color:#c8d0d8!important;
  box-shadow:0 2px 8px rgba(38,48,58,.07)!important;
}
html[data-theme="light"] .home-start-row{
  background:#ffffff!important;
  border-bottom-color:#d4dbe2!important;
}
html[data-theme="light"] .home-start-footer{
  background:#f4f6f7!important;
}

/* Such-/Eingabebereiche als klare Flächen */
html[data-theme="light"] .home-search,
html[data-theme="light"] .home-search-wrap,
html[data-theme="light"] .home-search-shell{
  background:#eef1f3!important;
  color:#1b2127!important;
  border-color:#c8d0d8!important;
}


/* Sandbox v1.9.294 · Hellmodus: Hover nur leicht abdunkeln */
html[data-theme="light"] .quick:hover,
html[data-theme="light"] .dashboard-tile:hover,
html[data-theme="light"] .dashboard-tile.input-tile:hover{
  background:#e7ebee!important;
  border-color:#b7c1cb!important;
  box-shadow:0 3px 9px rgba(38,48,58,.08)!important;
  transform:translateY(-1px)!important;
}

html[data-theme="light"] .topnav .navbtn:hover,
html[data-theme="light"] .topnav .relations-nav:hover,
html[data-theme="light"] .topnav .report-nav:hover{
  background:#e8ecef!important;
  color:#161b20!important;
  border-color:#b7c1cb!important;
}

html[data-theme="light"] .profile-share-v0311:hover,
html[data-theme="light"] .profile-data-security:hover,
html[data-theme="light"] .dl-backup-normal:hover{
  background:#eceff2!important;
  border-color:#b9c3cd!important;
}

html[data-theme="light"] .details-box:hover,
html[data-theme="light"] .diagnosis-subaccordion-v278:hover{
  background:#f2f4f6!important;
  border-color:#bac4ce!important;
}

html[data-theme="light"] .btn:not(.primary):not(.danger):hover{
  background:#eef2f5!important;
  color:#172029!important;
  border-color:#aeb9c4!important;
}

/* Dunkle Kopfbuttons bleiben bewusst dunkel, aber auch dort Hover nur moderat */
html[data-theme="light"] .doctor-note-btn:hover,
html[data-theme="light"] .account-button:hover{
  background:#252d35!important;
  color:#ffffff!important;
  border-color:#4a5662!important;
}


/* Sandbox v1.9.294 · Zentrales Button-System für den Hellmodus
   Absichtlich am Ende der CSS-Datei: ältere Spezial-Hover dürfen im Hellmodus
   keine dunklen/schwarzen Buttonflächen mehr erzeugen. */
html[data-theme="light"]{
  --light-btn-bg:#f2f4f6;
  --light-btn-hover:#e5e9ed;
  --light-btn-active:#dce3e8;
  --light-btn-border:#b9c4ce;
  --light-btn-text:#182028;
  --light-btn-muted:#65717d;
  --light-btn-primary:var(--accent);
  --light-btn-primary-hover:#63dc8d;
  --light-btn-danger-bg:#fff2f2;
  --light-btn-danger-hover:#ffe5e5;
  --light-btn-danger-border:#d7aaaa;
  --light-btn-danger-text:#922f2f;
}

/* Normale echte Buttonflächen */
html[data-theme="light"] body button:not(.nutrition-item-name-v269):not(.food-dish-usage-v269):not(.auth-link):not(.household-invite-link):not(.account-menu-profile-link-v0314),
html[data-theme="light"] body .btn,
html[data-theme="light"] body .navbtn,
html[data-theme="light"] body .nutrition-tab-v272,
html[data-theme="light"] body .profile-tab,
html[data-theme="light"] body .page-link-action,
html[data-theme="light"] body .shopping-picker-tab,
html[data-theme="light"] body .quick,
html[data-theme="light"] body .dashboard-tile{
  background:var(--light-btn-bg)!important;
  background-image:none!important;
  color:var(--light-btn-text)!important;
  border-color:var(--light-btn-border)!important;
}

/* Sanfter Hover – nie schwarz */
html[data-theme="light"] body button:not(.nutrition-item-name-v269):not(.food-dish-usage-v269):not(.auth-link):not(.household-invite-link):not(.account-menu-profile-link-v0314):hover,
html[data-theme="light"] body .btn:hover,
html[data-theme="light"] body .navbtn:hover,
html[data-theme="light"] body .nutrition-tab-v272:hover,
html[data-theme="light"] body .profile-tab:hover,
html[data-theme="light"] body .page-link-action:hover,
html[data-theme="light"] body .shopping-picker-tab:hover,
html[data-theme="light"] body .quick:hover,
html[data-theme="light"] body .dashboard-tile:hover{
  background:var(--light-btn-hover)!important;
  background-image:none!important;
  color:#111820!important;
  border-color:#aab6c1!important;
}

/* Gedrückt */
html[data-theme="light"] body button:not(.nutrition-item-name-v269):not(.food-dish-usage-v269):not(.auth-link):not(.household-invite-link):not(.account-menu-profile-link-v0314):active,
html[data-theme="light"] body .btn:active,
html[data-theme="light"] body .navbtn:active{
  background:var(--light-btn-active)!important;
  background-image:none!important;
  color:#111820!important;
}

/* Primär / aktiv = Grün */
html[data-theme="light"] body .btn.primary,
html[data-theme="light"] body button.primary,
html[data-theme="light"] body .navbtn.active,
html[data-theme="light"] body .nutrition-tab-v272.active,
html[data-theme="light"] body .profile-tab.active,
html[data-theme="light"] body .shopping-picker-tab.active,
html[data-theme="light"] body .dashboard-tile.active,
html[data-theme="light"] body .quick.active,
html[data-theme="light"] body .top-routine-button.active{
  background:var(--light-btn-primary)!important;
  background-image:none!important;
  color:#08210f!important;
  border-color:#4fcf7c!important;
}
html[data-theme="light"] body .btn.primary:hover,
html[data-theme="light"] body button.primary:hover,
html[data-theme="light"] body .navbtn.active:hover,
html[data-theme="light"] body .nutrition-tab-v272.active:hover,
html[data-theme="light"] body .profile-tab.active:hover,
html[data-theme="light"] body .shopping-picker-tab.active:hover,
html[data-theme="light"] body .dashboard-tile.active:hover,
html[data-theme="light"] body .quick.active:hover,
html[data-theme="light"] body .top-routine-button.active:hover{
  background:var(--light-btn-primary-hover)!important;
  background-image:none!important;
  color:#061d0d!important;
  border-color:#39bb68!important;
}

/* Gefahr / Löschen = hellrot */
html[data-theme="light"] body .btn.danger,
html[data-theme="light"] body button.danger{
  background:var(--light-btn-danger-bg)!important;
  background-image:none!important;
  color:var(--light-btn-danger-text)!important;
  border-color:var(--light-btn-danger-border)!important;
}
html[data-theme="light"] body .btn.danger:hover,
html[data-theme="light"] body button.danger:hover{
  background:var(--light-btn-danger-hover)!important;
  color:#7d2020!important;
  border-color:#c88989!important;
}

/* Deaktiviert */
html[data-theme="light"] body button:disabled,
html[data-theme="light"] body .btn:disabled,
html[data-theme="light"] body button.disabled{
  background:#f5f6f7!important;
  background-image:none!important;
  color:#8a949e!important;
  border-color:#d4dae0!important;
  opacity:.72!important;
}

/* Ältere ID-spezifische Sonderregeln explizit neutralisieren */
html[data-theme="light"] body #nutrition button:not(.nutrition-item-name-v269):not(.food-dish-usage-v269):hover,
html[data-theme="light"] body #nutFoods button:not(.nutrition-item-name-v269):not(.food-dish-usage-v269):hover,
html[data-theme="light"] body #nutToday button:not(.nutrition-item-name-v269):hover,
html[data-theme="light"] body #nutShopping button:hover,
html[data-theme="light"] body #routineGrid button:hover,
html[data-theme="light"] body #quickGrid button:hover{
  background:var(--light-btn-hover)!important;
  background-image:none!important;
  color:#111820!important;
  border-color:#aab6c1!important;
}
html[data-theme="light"] body #nutrition button.primary:hover,
html[data-theme="light"] body #nutFoods button.primary:hover,
html[data-theme="light"] body #nutToday button.primary:hover,
html[data-theme="light"] body #nutShopping button.primary:hover,
html[data-theme="light"] body #routineGrid button.primary:hover{
  background:var(--light-btn-primary-hover)!important;
  color:#061d0d!important;
  border-color:#39bb68!important;
}

/* Text-/Inline-Aktionen bleiben absichtlich ohne Buttonfläche */
html[data-theme="light"] body .nutrition-item-name-v269,
html[data-theme="light"] body .food-dish-usage-v269,
html[data-theme="light"] body .auth-link,
html[data-theme="light"] body .household-invite-link,
html[data-theme="light"] body .account-menu-profile-link-v0314{
  background:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
}
html[data-theme="light"] body .nutrition-item-name-v269:hover,
html[data-theme="light"] body .food-dish-usage-v269:hover,
html[data-theme="light"] body .auth-link:hover,
html[data-theme="light"] body .household-invite-link:hover,
html[data-theme="light"] body .account-menu-profile-link-v0314:hover{
  background:transparent!important;
  background-image:none!important;
}

/* Checkbox-/Karten-Auswahl behält ihre eigene semantische Optik */
html[data-theme="light"] body .checkchip:has(input:checked){
  background:#e5f6eb!important;
  color:#173b23!important;
  border-color:#76bd8c!important;
}


/* Sandbox v1.9.294 · Hellmodus FINAL OVERRIDE
   Vier absichtlich nicht vorhandene IDs erhöhen die Spezifität stärker als
   ältere #bereich .klasse:hover !important-Regeln. */

/* ---------- echte Buttons / Button-Links ---------- */
html[data-theme="light"] body button
:not(#dlLightForceA):not(#dlLightForceB):not(#dlLightForceC):not(#dlLightForceD)
:not(.nutrition-item-name-v269):not(.food-dish-usage-v269):not(.auth-link):not(.household-invite-link):not(.account-menu-profile-link-v0314),
html[data-theme="light"] body a.btn
:not(#dlLightForceA):not(#dlLightForceB):not(#dlLightForceC):not(#dlLightForceD),
html[data-theme="light"] body input[type="button"]
:not(#dlLightForceA):not(#dlLightForceB):not(#dlLightForceC):not(#dlLightForceD),
html[data-theme="light"] body input[type="submit"]
:not(#dlLightForceA):not(#dlLightForceB):not(#dlLightForceC):not(#dlLightForceD){
  background:#f2f4f6!important;
  background-color:#f2f4f6!important;
  background-image:none!important;
  color:#182028!important;
  border-color:#b9c4ce!important;
}

/* Hover: nur leicht dunkler */
html[data-theme="light"] body button
:not(#dlLightHoverA):not(#dlLightHoverB):not(#dlLightHoverC):not(#dlLightHoverD)
:not(.nutrition-item-name-v269):not(.food-dish-usage-v269):not(.auth-link):not(.household-invite-link):not(.account-menu-profile-link-v0314):hover,
html[data-theme="light"] body a.btn
:not(#dlLightHoverA):not(#dlLightHoverB):not(#dlLightHoverC):not(#dlLightHoverD):hover,
html[data-theme="light"] body input[type="button"]
:not(#dlLightHoverA):not(#dlLightHoverB):not(#dlLightHoverC):not(#dlLightHoverD):hover,
html[data-theme="light"] body input[type="submit"]
:not(#dlLightHoverA):not(#dlLightHoverB):not(#dlLightHoverC):not(#dlLightHoverD):hover{
  background:#e5e9ed!important;
  background-color:#e5e9ed!important;
  background-image:none!important;
  color:#111820!important;
  border-color:#aab6c1!important;
}

/* Active / selected / primary = grün */
html[data-theme="light"] body button.primary
:not(#dlLightPrimaryA):not(#dlLightPrimaryB):not(#dlLightPrimaryC):not(#dlLightPrimaryD),
html[data-theme="light"] body button.active
:not(#dlLightPrimaryA):not(#dlLightPrimaryB):not(#dlLightPrimaryC):not(#dlLightPrimaryD),
html[data-theme="light"] body button[aria-pressed="true"]
:not(#dlLightPrimaryA):not(#dlLightPrimaryB):not(#dlLightPrimaryC):not(#dlLightPrimaryD),
html[data-theme="light"] body .nutrition-tab-v272.active
:not(#dlLightPrimaryA):not(#dlLightPrimaryB):not(#dlLightPrimaryC):not(#dlLightPrimaryD),
html[data-theme="light"] body .profile-tab.active
:not(#dlLightPrimaryA):not(#dlLightPrimaryB):not(#dlLightPrimaryC):not(#dlLightPrimaryD){
  background:var(--accent)!important;
  background-color:var(--accent)!important;
  background-image:none!important;
  color:#08210f!important;
  border-color:#4fcf7c!important;
}
html[data-theme="light"] body button.primary
:not(#dlLightPrimaryHA):not(#dlLightPrimaryHB):not(#dlLightPrimaryHC):not(#dlLightPrimaryHD):hover,
html[data-theme="light"] body button.active
:not(#dlLightPrimaryHA):not(#dlLightPrimaryHB):not(#dlLightPrimaryHC):not(#dlLightPrimaryHD):hover,
html[data-theme="light"] body button[aria-pressed="true"]
:not(#dlLightPrimaryHA):not(#dlLightPrimaryHB):not(#dlLightPrimaryHC):not(#dlLightPrimaryHD):hover{
  background:#63dc8d!important;
  background-color:#63dc8d!important;
  background-image:none!important;
  color:#061d0d!important;
  border-color:#39bb68!important;
}

/* Gefahr */
html[data-theme="light"] body button.danger
:not(#dlLightDangerA):not(#dlLightDangerB):not(#dlLightDangerC):not(#dlLightDangerD),
html[data-theme="light"] body .btn.danger
:not(#dlLightDangerA):not(#dlLightDangerB):not(#dlLightDangerC):not(#dlLightDangerD){
  background:#fff2f2!important;
  background-color:#fff2f2!important;
  background-image:none!important;
  color:#922f2f!important;
  border-color:#d7aaaa!important;
}
html[data-theme="light"] body button.danger
:not(#dlLightDangerHA):not(#dlLightDangerHB):not(#dlLightDangerHC):not(#dlLightDangerHD):hover,
html[data-theme="light"] body .btn.danger
:not(#dlLightDangerHA):not(#dlLightDangerHB):not(#dlLightDangerHC):not(#dlLightDangerHD):hover{
  background:#ffe5e5!important;
  background-color:#ffe5e5!important;
  color:#7d2020!important;
  border-color:#c88989!important;
}

/* Deaktiviert */
html[data-theme="light"] body button:disabled
:not(#dlLightDisabledA):not(#dlLightDisabledB):not(#dlLightDisabledC):not(#dlLightDisabledD),
html[data-theme="light"] body input[type="button"]:disabled
:not(#dlLightDisabledA):not(#dlLightDisabledB):not(#dlLightDisabledC):not(#dlLightDisabledD),
html[data-theme="light"] body input[type="submit"]:disabled
:not(#dlLightDisabledA):not(#dlLightDisabledB):not(#dlLightDisabledC):not(#dlLightDisabledD){
  background:#f5f6f7!important;
  background-color:#f5f6f7!important;
  background-image:none!important;
  color:#8a949e!important;
  border-color:#d4dae0!important;
  opacity:.72!important;
}

/* ---------- klickbare Klappfelder ---------- */
html[data-theme="light"] body summary
:not(#dlLightSummaryA):not(#dlLightSummaryB):not(#dlLightSummaryC):not(#dlLightSummaryD){
  background:#f2f4f6!important;
  background-color:#f2f4f6!important;
  background-image:none!important;
  color:#182028!important;
}
html[data-theme="light"] body summary
:not(#dlLightSummaryHA):not(#dlLightSummaryHB):not(#dlLightSummaryHC):not(#dlLightSummaryHD):hover{
  background:#e5e9ed!important;
  background-color:#e5e9ed!important;
  background-image:none!important;
  color:#111820!important;
}

/* ---------- weitere klickbare Flächen ---------- */
html[data-theme="light"] body [role="button"]
:not(#dlLightRoleA):not(#dlLightRoleB):not(#dlLightRoleC):not(#dlLightRoleD){
  background:#f2f4f6!important;
  background-color:#f2f4f6!important;
  background-image:none!important;
  color:#182028!important;
  border-color:#b9c4ce!important;
}
html[data-theme="light"] body [role="button"]
:not(#dlLightRoleHA):not(#dlLightRoleHB):not(#dlLightRoleHC):not(#dlLightRoleHD):hover{
  background:#e5e9ed!important;
  background-color:#e5e9ed!important;
  background-image:none!important;
  color:#111820!important;
}

/* ---------- Textaktionen bleiben transparent ---------- */
html[data-theme="light"] body .nutrition-item-name-v269
:not(#dlLightTextA):not(#dlLightTextB):not(#dlLightTextC):not(#dlLightTextD),
html[data-theme="light"] body .food-dish-usage-v269
:not(#dlLightTextA):not(#dlLightTextB):not(#dlLightTextC):not(#dlLightTextD),
html[data-theme="light"] body .auth-link
:not(#dlLightTextA):not(#dlLightTextB):not(#dlLightTextC):not(#dlLightTextD),
html[data-theme="light"] body .household-invite-link
:not(#dlLightTextA):not(#dlLightTextB):not(#dlLightTextC):not(#dlLightTextD),
html[data-theme="light"] body .account-menu-profile-link-v0314
:not(#dlLightTextA):not(#dlLightTextB):not(#dlLightTextC):not(#dlLightTextD){
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
}


/* Sandbox v1.9.294 · Hellmodus: Grundzustände wirklich hell
   Wichtig: :not(...) steht jetzt DIREKT am Elementselektor.
   In v1.9.294 war durch einen Zeilenumbruch/Whitespace daraus unbeabsichtigt
   ein Nachfahren-Selektor geworden; deshalb griffen alte dunkle !important-Regeln weiter. */

/* Echte Buttons */
html[data-theme="light"] body button:not(#dlLightA):not(#dlLightB):not(#dlLightC):not(#dlLightD):not(.nutrition-item-name-v269):not(.food-dish-usage-v269):not(.auth-link):not(.household-invite-link):not(.account-menu-profile-link-v0314),
html[data-theme="light"] body a.btn:not(#dlLightA):not(#dlLightB):not(#dlLightC):not(#dlLightD),
html[data-theme="light"] body input[type="button"]:not(#dlLightA):not(#dlLightB):not(#dlLightC):not(#dlLightD),
html[data-theme="light"] body input[type="submit"]:not(#dlLightA):not(#dlLightB):not(#dlLightC):not(#dlLightD){
  background:#f2f4f6!important;
  background-color:#f2f4f6!important;
  background-image:none!important;
  color:#182028!important;
  border-color:#b9c4ce!important;
}

/* Hover bleibt sanft */
html[data-theme="light"] body button:not(#dlLightHA):not(#dlLightHB):not(#dlLightHC):not(#dlLightHD):not(.nutrition-item-name-v269):not(.food-dish-usage-v269):not(.auth-link):not(.household-invite-link):not(.account-menu-profile-link-v0314):hover,
html[data-theme="light"] body a.btn:not(#dlLightHA):not(#dlLightHB):not(#dlLightHC):not(#dlLightHD):hover,
html[data-theme="light"] body input[type="button"]:not(#dlLightHA):not(#dlLightHB):not(#dlLightHC):not(#dlLightHD):hover,
html[data-theme="light"] body input[type="submit"]:not(#dlLightHA):not(#dlLightHB):not(#dlLightHC):not(#dlLightHD):hover{
  background:#e5e9ed!important;
  background-color:#e5e9ed!important;
  background-image:none!important;
  color:#111820!important;
  border-color:#aab6c1!important;
}

/* Aktiv / Primär = Grün */
html[data-theme="light"] body button.primary:not(#dlLightPA):not(#dlLightPB):not(#dlLightPC):not(#dlLightPD),
html[data-theme="light"] body button.active:not(#dlLightPA):not(#dlLightPB):not(#dlLightPC):not(#dlLightPD),
html[data-theme="light"] body button[aria-pressed="true"]:not(#dlLightPA):not(#dlLightPB):not(#dlLightPC):not(#dlLightPD),
html[data-theme="light"] body .nutrition-tab-v272.active:not(#dlLightPA):not(#dlLightPB):not(#dlLightPC):not(#dlLightPD),
html[data-theme="light"] body .profile-tab.active:not(#dlLightPA):not(#dlLightPB):not(#dlLightPC):not(#dlLightPD){
  background:var(--accent)!important;
  background-color:var(--accent)!important;
  background-image:none!important;
  color:#08210f!important;
  border-color:#4fcf7c!important;
}
html[data-theme="light"] body button.primary:not(#dlLightPHA):not(#dlLightPHB):not(#dlLightPHC):not(#dlLightPHD):hover,
html[data-theme="light"] body button.active:not(#dlLightPHA):not(#dlLightPHB):not(#dlLightPHC):not(#dlLightPHD):hover,
html[data-theme="light"] body button[aria-pressed="true"]:not(#dlLightPHA):not(#dlLightPHB):not(#dlLightPHC):not(#dlLightPHD):hover{
  background:#63dc8d!important;
  background-color:#63dc8d!important;
  color:#061d0d!important;
  border-color:#39bb68!important;
}

/* Gefahr = hellrot */
html[data-theme="light"] body button.danger:not(#dlLightDA):not(#dlLightDB):not(#dlLightDC):not(#dlLightDD),
html[data-theme="light"] body .btn.danger:not(#dlLightDA):not(#dlLightDB):not(#dlLightDC):not(#dlLightDD){
  background:#fff2f2!important;
  background-color:#fff2f2!important;
  background-image:none!important;
  color:#922f2f!important;
  border-color:#d7aaaa!important;
}

/* Klickbare Klappfelder */
html[data-theme="light"] body summary:not(#dlLightSA):not(#dlLightSB):not(#dlLightSC):not(#dlLightSD){
  background:#f2f4f6!important;
  background-color:#f2f4f6!important;
  background-image:none!important;
  color:#182028!important;
}
html[data-theme="light"] body summary:not(#dlLightSHA):not(#dlLightSHB):not(#dlLightSHC):not(#dlLightSHD):hover{
  background:#e5e9ed!important;
  background-color:#e5e9ed!important;
  color:#111820!important;
}

/* Textaktionen transparent lassen */
html[data-theme="light"] body .nutrition-item-name-v269,
html[data-theme="light"] body .food-dish-usage-v269,
html[data-theme="light"] body .auth-link,
html[data-theme="light"] body .household-invite-link,
html[data-theme="light"] body .account-menu-profile-link-v0314{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
}

/* Dunkle Bedienflächen aus den Screenshots ebenfalls an den Hellmodus angleichen */
html[data-theme="light"] .global-date-display,
html[data-theme="light"] .dig-time-editor,
html[data-theme="light"] .dig-complaint-box,
html[data-theme="light"] .odor-control,
html[data-theme="light"] .weight-last-value,
html[data-theme="light"] .wellbeing-fine-details,
html[data-theme="light"] .shopping-free-panel-v264{
  background:#f2f4f6!important;
  background-color:#f2f4f6!important;
  background-image:none!important;
  color:#182028!important;
  border-color:#b9c4ce!important;
}
html[data-theme="light"] .global-date-display *,
html[data-theme="light"] .dig-time-editor *,
html[data-theme="light"] .dig-complaint-box *,
html[data-theme="light"] .odor-control *,
html[data-theme="light"] .weight-last-value *,
html[data-theme="light"] .wellbeing-fine-details *{
  color:inherit;
}
html[data-theme="light"] .dig-time-editor .muted,
html[data-theme="light"] .dig-complaint-box .muted,
html[data-theme="light"] .dig-complaint-note,
html[data-theme="light"] .odor-scale,
html[data-theme="light"] .weight-last-label{
  color:#66727e!important;
}

/* Gemeinsame Einkaufsliste aktiv: semantisch grün, aber nicht dunkel */
html[data-theme="light"] .shopping-share-status,
html[data-theme="light"] .shopping-sync-card:not(.inactive){
  background:#e8f6ed!important;
  background-color:#e8f6ed!important;
  color:#173b23!important;
  border-color:#79bd8d!important;
}
html[data-theme="light"] .shopping-share-status span,
html[data-theme="light"] .shopping-sync-card:not(.inactive) small{
  color:#52695a!important;
}

/* Ernährungsauswahl explizit absichern */
html[data-theme="light"] body #nutrition .nutrition-tab-v272:not(#dlNutA):not(#dlNutB):not(#dlNutC):not(#dlNutD):not(.active){
  background:#f2f4f6!important;
  background-color:#f2f4f6!important;
  background-image:none!important;
  color:#182028!important;
  border-color:#b9c4ce!important;
  box-shadow:0 1px 3px rgba(38,48,58,.05)!important;
}
html[data-theme="light"] body #nutrition .nutrition-tab-v272:not(#dlNutHA):not(#dlNutHB):not(#dlNutHC):not(#dlNutHD):not(.active):hover{
  background:#e5e9ed!important;
  background-color:#e5e9ed!important;
  color:#111820!important;
  border-color:#aab6c1!important;
}
html[data-theme="light"] body #nutrition .nutrition-tab-v272:not(.active) small{
  color:#66727e!important;
}

/* Einkaufs-Hinzufügen-Buttons explizit absichern */
html[data-theme="light"] body #nutShopping .shopping-add-actions-v261>.btn:not(#dlShopA):not(#dlShopB):not(#dlShopC):not(#dlShopD):not(.active){
  background:#f2f4f6!important;
  background-color:#f2f4f6!important;
  color:#182028!important;
  border-color:#b9c4ce!important;
}
html[data-theme="light"] body #nutShopping .shopping-add-actions-v261>.btn:not(#dlShopHA):not(#dlShopHB):not(#dlShopHC):not(#dlShopHD):not(.active):hover{
  background:#e5e9ed!important;
  background-color:#e5e9ed!important;
  color:#111820!important;
  border-color:#aab6c1!important;
}


/* Sandbox v1.9.294 · Hellmodus: Hinweis-Chips + ruhigere Diagrammflächen */

/* Wichtige Hinweise: nicht gewählt = hellgrau, gewählt = grün */
html[data-theme="light"] .checkchip span{
  background:#f2f4f6!important;
  background-color:#f2f4f6!important;
  background-image:none!important;
  color:#182028!important;
  border-color:#b9c4ce!important;
}
html[data-theme="light"] .checkchip:hover span{
  background:#e5e9ed!important;
  background-color:#e5e9ed!important;
  color:#111820!important;
  border-color:#aab6c1!important;
}
html[data-theme="light"] .checkchip input:checked + span{
  background:var(--accent)!important;
  background-color:var(--accent)!important;
  background-image:none!important;
  color:#08210f!important;
  border-color:#4fcf7c!important;
  font-weight:700;
}
html[data-theme="light"] .checkchip:has(input:checked):hover span{
  background:#63dc8d!important;
  background-color:#63dc8d!important;
  color:#061d0d!important;
  border-color:#39bb68!important;
}

/* Diagramme im Hellmodus: dunkles Anthrazit statt fast Schwarz */
html[data-theme="light"] .chart-svg,
html[data-theme="light"] .alcohol-chart-svg{
  background:#2b3138!important;
  background-color:#2b3138!important;
  border-color:#7a8591!important;
}
html[data-theme="light"] .chart-grid,
html[data-theme="light"] .alcohol-chart-grid{
  stroke:#56616d!important;
}
html[data-theme="light"] .chart-axis,
html[data-theme="light"] .alcohol-chart-axis{
  fill:#bcc5cf!important;
}
html[data-theme="light"] .chart-point,
html[data-theme="light"] .alcohol-chart-point{
  stroke:#242a30!important;
}
html[data-theme="light"] .chart-weight-goal-label,
html[data-theme="light"] .chart-kcal-target-label{
  fill:#d1d8df!important;
}

/* Vergleichs-/Zusatzdiagramme ebenfalls etwas weicher */
html[data-theme="light"] .chart-wellbeing-compare,
html[data-theme="light"] .chart-energy-compare{
  background:#343a42!important;
  border-color:#7a8591!important;
}

/* Leere Diagrammflächen nicht schwarz */
html[data-theme="light"] .chart-empty,
html[data-theme="light"] .alcohol-chart-empty{
  background:#eef1f3!important;
  color:#66727e!important;
  border-color:#b9c4ce!important;
}


/* Sandbox v1.9.294 · Beobachtungen klar trennen */
.ced-extra-list-v286{
  display:grid;
  gap:8px;
}
.ced-extra-item-v286{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:10px 11px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--panel3);
}
.ced-extra-time-v286{
  color:var(--muted);
  font-size:12px;
  font-variant-numeric:tabular-nums;
}
.ced-extra-copy-v286{
  min-width:0;
}
.ced-extra-copy-v286 strong{
  display:block;
  font-size:13px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.ced-extra-actions-v286{
  display:flex;
  gap:6px;
  align-items:center;
}
html[data-theme="light"] .ced-extra-item-v286{
  background:#f7f9fa;
  border-color:#c6d0d9;
}
@media(max-width:760px){
  .ced-extra-item-v286{
    grid-template-columns:48px minmax(0,1fr);
  }
  .ced-extra-actions-v286{
    grid-column:2;
    justify-content:flex-start;
  }
}


/* Sandbox v1.9.294 · Begleitende Infektionen mit Zeitraum */
.infection-body-v288{gap:11px}
.infection-period-form-v288{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.infection-actions-v288{justify-content:flex-end}
.infection-history-list-v288{
  display:grid;
  gap:7px;
}
.infection-history-row-v288{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:11px;
  background:var(--panel);
}
.infection-history-row-v288.legacy{
  border-style:dashed;
}
.infection-history-copy-v288 strong,
.infection-history-copy-v288 small{
  display:block;
}
.infection-history-copy-v288 small{
  margin-top:2px;
  color:var(--muted);
}
.infection-history-actions-v288{
  display:flex;
  gap:6px;
  align-items:center;
}
html[data-theme="light"] .infection-history-row-v288{
  background:#fff;
  border-color:#c5cfd9;
}
@media(max-width:760px){
  .infection-period-form-v288{grid-template-columns:1fr}
  .infection-history-row-v288{grid-template-columns:1fr}
  .infection-history-actions-v288{justify-content:flex-start}
}


/* Sandbox v1.9.294 · Profil neu geordnet: Stammdaten / Aktuell / Technik */
.profile-layout-v289{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.profile-zone-v289,
.profile-technical-v289{
  display:grid;
  gap:12px;
}
.profile-zone-heading-v289{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  padding:0 2px 2px;
}
.profile-zone-heading-v289>div{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.profile-zone-heading-v289 h3{
  margin:0;
  font-size:18px;
}
.profile-zone-heading-v289 small{
  color:var(--muted);
  text-align:right;
}
.profile-zone-kicker-v289{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.profile-main-accordion-v289{
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--panel);
  overflow:hidden;
}
.profile-main-accordion-v289>summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:54px;
  padding:13px 15px;
  cursor:pointer;
  font-weight:850;
}
.profile-main-accordion-v289>summary::-webkit-details-marker{display:none}
.profile-main-accordion-v289>summary::after{
  content:'⌄';
  color:var(--muted);
  margin-left:4px;
}
.profile-main-accordion-v289[open]>summary::after{content:'⌃'}
.profile-main-accordion-v289>summary>.pill{margin-left:auto}
.profile-main-accordion-v289>summary>span:first-child{
  min-width:0;
}
.profile-main-accordion-v289>summary span>small,
.profile-data-security>summary small{
  display:block;
  color:var(--muted);
  font-weight:500;
  margin-top:2px;
}
.profile-main-body-v289{
  padding:14px 15px 16px;
  border-top:1px solid var(--border);
}
.profile-subheading-v289{
  margin-top:4px;
  padding-top:4px;
  font-weight:850;
}
.profile-fixed-data-v289{
  display:grid;
  gap:9px;
  padding:13px 14px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--panel);
}
.profile-fixed-checks-v289{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.profile-lifestyle-row-v289{
  display:grid;
  grid-template-columns:150px 1fr 1fr minmax(130px,1.1fr);
  gap:8px;
  align-items:end;
}
.profile-lifestyle-check-v289{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 11px;
  border:1px solid var(--border);
  border-radius:11px;
  background:var(--panel3);
  font-weight:750;
}
.profile-lifestyle-check-v289 input{width:auto}
.profile-lifestyle-note-v289{min-width:0}
.profile-treatments-list-v289{
  display:grid;
  gap:7px;
  margin-bottom:10px;
}
.profile-treatment-row-v289{
  display:grid;
  grid-template-columns:26px minmax(0,1fr);
  gap:8px;
  align-items:start;
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:11px;
  background:var(--panel3);
}
.profile-treatment-row-v289 strong,
.profile-treatment-row-v289 small{
  display:block;
}
.profile-treatment-row-v289 small{
  color:var(--muted);
  margin-top:2px;
}
.profile-technical-v289{
  grid-column:1/-1;
  margin-top:2px;
}
.profile-technical-open-v289{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
}
.profile-theme-card-v289,
#profileShareMountV289{
  min-height:78px;
}
.profile-theme-card-v289{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(180px,.7fr);
  gap:14px;
  align-items:center;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:15px;
  background:var(--panel);
}
.profile-theme-card-v289>div strong,
.profile-theme-card-v289>div small{
  display:block;
}
.profile-theme-card-v289>div small{
  color:var(--muted);
  margin-top:2px;
}
#profileShareMountV289 .profile-share-v0311{
  height:100%;
  margin:0;
  box-sizing:border-box;
}
#profile .profile-data-security{
  margin:0;
}
#profile .profile-data-security>.profile-data-security-body{
  padding:14px 15px 16px;
}
html[data-theme="light"] .profile-main-accordion-v289,
html[data-theme="light"] .profile-fixed-data-v289,
html[data-theme="light"] .profile-theme-card-v289{
  background:#fff;
  border-color:#c7d0d9;
}
html[data-theme="light"] .profile-treatment-row-v289,
html[data-theme="light"] .profile-lifestyle-check-v289{
  background:#f5f7f9;
  border-color:#c7d0d9;
}
/* Stabilere Überschriften im Profil – keine Überlagerung zwischen den Spalten */
.profile-zone-heading-v289{
  align-items:flex-start;
}
.profile-zone-heading-v289>div{
  min-width:0;
  flex:1 1 auto;
}
.profile-zone-heading-v289 h3{
  line-height:1.2;
  overflow-wrap:anywhere;
}
.profile-zone-heading-v289 small{
  flex:0 0 auto;
  white-space:normal;
  max-width:160px;
  line-height:1.25;
}
@media(max-width:1180px){
  .profile-zone-heading-v289{
    flex-direction:column;
    align-items:flex-start;
  }
  .profile-zone-heading-v289 small{
    max-width:none;
    text-align:left;
    margin-left:34px;
  }
}
@media(max-width:900px){
  .profile-layout-v289{grid-template-columns:1fr}
  .profile-technical-v289{grid-column:auto}
  .profile-technical-open-v289{grid-template-columns:1fr}
  .profile-zone-heading-v289 small{
    margin-left:34px;
  }
}
@media(max-width:760px){
  .profile-zone-heading-v289 small{font-size:11px}
  .profile-lifestyle-row-v289{grid-template-columns:1fr 1fr}
  .profile-lifestyle-check-v289{grid-column:1/-1}
  .profile-lifestyle-note-v289{grid-column:1/-1}
  .profile-theme-card-v289{grid-template-columns:1fr}
}
@media(max-width:480px){
  .profile-lifestyle-row-v289{grid-template-columns:1fr}
  .profile-lifestyle-check-v289,
  .profile-lifestyle-note-v289{grid-column:auto}
  .profile-zone-heading-v289 small{
    margin-left:0;
  }
}


/* Sandbox v1.9.294 · Profil: Grid-Spalten dürfen nicht über ihre Breite wachsen
   Ursache der Überlagerung: intrinsische Mindestbreite von Grid-Items/Details. */
#profile .profile-layout-v289{
  width:100%;
  min-width:0;
}
#profile .profile-zone-v289{
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow:visible;
}
#profile .profile-zone-v289>*,
#profile .profile-main-accordion-v289,
#profile .profile-main-body-v289,
#profile .profile-fixed-data-v289{
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
}
#profile .profile-main-accordion-v289{
  min-inline-size:0!important;
}
#profile .profile-zone-heading-v289{
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden;
}
#profile .profile-zone-heading-v289>div,
#profile .profile-zone-heading-v289 h3{
  min-width:0!important;
  max-width:100%;
}
#profile .profile-zone-heading-v289 small{
  min-width:0;
  max-width:145px;
}

/* Formularinhalte müssen innerhalb der linken Spalte schrumpfen/umbrechen können. */
#profile .profile-main-body-v289 .row{
  min-width:0;
  max-width:100%;
  flex-wrap:wrap;
}
#profile .profile-main-body-v289 .row>label,
#profile .profile-main-body-v289 label.grow,
#profile .profile-main-body-v289 .grow{
  min-width:0!important;
}
#profile .profile-main-body-v289 input:not([type="checkbox"]):not([type="radio"]),
#profile .profile-main-body-v289 select,
#profile .profile-main-body-v289 textarea{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Persönliche Kopfdaten: drei Felder sauber innerhalb einer halben Desktop-Spalte. */
@media(min-width:901px){
  #profilePersonalV289 .profile-main-body-v289>.row:first-child{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(130px,.8fr) 92px;
    gap:10px;
    align-items:end;
  }
  #profilePersonalV289 .profile-main-body-v289>.row:first-child>label{
    width:auto!important;
    min-width:0!important;
  }
}

/* Bei mittleren Desktopbreiten bleibt 2-spaltig, aber der Zusatztext steht unter dem Titel. */
@media(max-width:1350px) and (min-width:901px){
  #profile .profile-zone-heading-v289{
    display:grid;
    grid-template-columns:1fr;
    gap:3px;
  }
  #profile .profile-zone-heading-v289 small{
    margin-left:34px;
    max-width:none;
    text-align:left;
  }
}

/* Sollte die nutzbare Inhaltsbreite zu klein werden, lieber sauber einspaltig statt gequetscht. */
@media(max-width:1080px){
  #profile .profile-layout-v289{
    grid-template-columns:1fr!important;
  }
  #profile .profile-technical-v289{
    grid-column:auto!important;
  }
  #profile .profile-technical-open-v289{
    grid-template-columns:1fr!important;
  }
}


/* Sandbox v1.9.294 · Profil feiner gruppiert */
.profile-inner-accordion-v292{
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--panel2);
  overflow:hidden;
}
.profile-inner-accordion-v292>summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:46px;
  padding:11px 13px;
  cursor:pointer;
  font-weight:800;
}
.profile-inner-accordion-v292>summary::-webkit-details-marker{display:none}
.profile-inner-accordion-v292>summary::after{
  content:'⌄';
  color:var(--muted);
  margin-left:4px;
}
.profile-inner-accordion-v292[open]>summary::after{content:'⌃'}
.profile-inner-accordion-v292>summary .pill{margin-left:auto}
.profile-inner-body-v292{
  padding:12px 13px 14px;
  border-top:1px solid var(--border);
}

.diagnosis-two-col-v292{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:14px;
  align-items:start;
}
.diagnosis-left-v292,
.diagnosis-right-v292{
  display:grid;
  gap:12px;
  min-width:0;
}
.diagnosis-right-v292{
  order:2; /* Diagnosen nach rechts */
}
.diagnosis-left-v292{
  order:1;
}
.diagnosis-left-v292 .profile-subheading-v289:first-child{
  margin-top:0;
  padding-top:0;
}
.diagnosis-right-v292 .diagnosis-subaccordion-v278{
  margin:0;
}
.profile-technical-v289 #profileCaptureV289{
  margin-top:2px;
}

@media(max-width:980px){
  .diagnosis-two-col-v292{
    grid-template-columns:1fr;
  }
}


/* Sandbox v1.9.294 · Profil weiter vereinfacht */
.profile-fixed-wide-v293{
  display:grid;
  gap:12px;
  margin-top:14px;
}
.profile-fixed-wide-v293 .profile-fixed-data-v289{
  width:100%;
}
.profile-fixed-wide-v293 .profile-fixed-checks-v289{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.profile-fixed-wide-v293 .profile-fixed-checks-v289 .checkchip span{
  width:100%;
  box-sizing:border-box;
}
.profile-fixed-wide-v293 .profile-lifestyle-row-v289{
  grid-template-columns:170px minmax(140px,1fr) minmax(140px,1fr) minmax(180px,1.2fr);
}

/* Weniger Unruhe im Profil */
#profile .profile-zone-heading-v289,
#profile .diagnosis-block>h4,
#profile .diagnosis-block>.muted.tiny,
#profile #comorbidityAccordionV278 .diagnosis-subaccordion-body-v278>.muted.tiny,
#profile #infectionAccordionV288 .diagnosis-subaccordion-body-v278>.muted.tiny,
#profile #profileCurrentHealthV289 .lab-values-body-v276>.muted.tiny,
#profile .profile-theme-card-v289>div strong,
#profile .profile-theme-card-v289>div small,
#profile .switchrow .muted.tiny{
  display:none!important;
}

/* Technik: Anzeige-Einstellungen immer offen, ohne eigene Überschrift */
#profile .profile-capture-open-v293>summary{display:none!important;}
#profile .profile-capture-open-v293>.profile-main-body-v289{
  border-top:none;
  padding-top:0;
}
#profile .profile-capture-open-v293{
  border:none;
  background:transparent;
  overflow:visible;
}
#profile .profile-capture-open-v293 .switchrow strong{
  display:block;
}
#profile .profile-capture-open-v293 .calorie-auto-hints{
  margin-top:2px;
}
#profile .profile-technical-v289{
  margin-top:16px;
}

@media(max-width:1080px){
  .profile-fixed-wide-v293 .profile-fixed-checks-v289{grid-template-columns:1fr;}
  .profile-fixed-wide-v293 .profile-lifestyle-row-v289{grid-template-columns:1fr 1fr;}
  .profile-fixed-wide-v293 .profile-lifestyle-check-v289,
  .profile-fixed-wide-v293 .profile-lifestyle-note-v289{grid-column:1/-1;}
}
@media(max-width:760px){
  .profile-fixed-wide-v293 .profile-lifestyle-row-v289{grid-template-columns:1fr;}
  .profile-fixed-wide-v293 .profile-lifestyle-check-v289,
  .profile-fixed-wide-v293 .profile-lifestyle-note-v289{grid-column:auto;}
}


/* Sandbox v1.9.294 · Profil: echte klare Zwei-Spalten-Struktur */
.profile-layout-v294{
  align-items:start;
}
.profile-flat-card-v294{
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--panel);
  padding:14px 15px 16px;
}
.profile-flat-title-v294{
  font-weight:850;
  margin-bottom:12px;
}
.profile-current-zone-v289{
  display:grid;
  gap:10px;
}
.profile-current-zone-v289>.profile-main-accordion-v289{
  margin:0;
}
.profile-current-zone-v289 #comorbidityAccordionV278{
  margin:0;
}
.infection-type-body-v294{
  display:grid;
  gap:10px;
}
.infection-type-v294 .infection-history-copy-v288 small{
  margin-top:0;
}
.infection-type-v294 .infection-history-row-v288{
  grid-template-columns:minmax(0,1fr) auto;
}
#profile #labValuesAccordionV276{
  margin:0;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--panel);
  overflow:hidden;
}
#profile #labValuesAccordionV276>summary{
  min-height:54px;
  padding:13px 15px;
}
#profile #labValuesAccordionV276>.lab-values-body-v276{
  border-top:1px solid var(--border);
  padding:14px 15px 16px;
}

/* Kein zusätzliches Unter-Zweispaltenlayout mehr im Diagnosebereich */
#profile .diagnosis-two-col-v292{display:block!important;}
#profile .diagnosis-left-v292,
#profile .diagnosis-right-v292{display:block!important;}

/* Linke Karte und rechte Akkordeons im Hellmodus */
html[data-theme="light"] .profile-flat-card-v294,
html[data-theme="light"] #profile #labValuesAccordionV276{
  background:#fff;
  border-color:#c7d0d9;
}

@media(max-width:900px){
  .profile-layout-v294{
    grid-template-columns:1fr!important;
  }
}

/* Sandbox v1.9.322 · Profil rechte Spalte in größere Themenblöcke gebündelt */
.profile-group-stack-v295{
  display:grid;
  gap:12px;
}
.profile-right-inner-v295{
  background:var(--panel3);
}
.profile-right-inner-v295>summary{
  min-height:50px;
}
.profile-right-inner-v295>.profile-inner-body-v292{
  display:grid;
  gap:10px;
}
#profile #diagnosisAccordion .profile-main-body-v289,
#profile #infectionGroupV295 .profile-main-body-v289{
  display:grid;
  gap:12px;
}
#profile #diagnosisAccordion .diagnosis-block{
  display:grid;
  gap:12px;
}
#profile #infectionGroupV295 .infection-type-v294{
  margin:0;
}
html[data-theme="light"] .profile-right-inner-v295{
  background:#f5f7f9;
  border-color:#c7d0d9;
}


/* Sandbox v1.9.322 · Einkaufs-Eintrag dauerhaft ablegen */
#shoppingSaveFoodModal .shopping-save-targets-v297{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
#shoppingSaveFoodModal .shopping-save-targets-v297 .btn{
  min-width:0;
}
@media(max-width:600px){
  #shoppingSaveFoodModal .shopping-save-targets-v297{
    grid-template-columns:1fr;
  }
}


/* Sandbox v1.9.322 · Haushaltsartikel verwalten */
.shopping-household-head-actions-v298{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.shopping-household-head-actions-v298 .btn.active{border-color:var(--accent);color:var(--accent);background:#142019}
.shopping-household-manage-item-v298{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center!important;gap:3px;text-align:left!important}
.shopping-household-manage-item-v298 span{font-weight:800}
.shopping-household-manage-item-v298 small{font-size:11px;color:var(--muted);font-weight:600}
.shopping-household-edit-card-v298{width:min(620px,100%)}
.household-barcode-row-v298{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.household-manage-actions-v298{justify-content:space-between}
@media(max-width:620px){
  .shopping-household-head-actions-v298{width:100%}
  .shopping-household-head-actions-v298 .btn{flex:1}
  .household-barcode-row-v298{grid-template-columns:1fr}
  .household-barcode-row-v298 .btn{width:100%}
  .household-manage-actions-v298{display:grid;grid-template-columns:1fr}
  .household-manage-actions-v298 .btn{width:100%}
}
html[data-theme="light"] .shopping-household-head-actions-v298 .btn.active{background:#dff5e7!important;color:#14251a!important;border-color:#65b982!important}


/* Sandbox v1.9.322 · Haushaltsartikel direkt öffnen */
.shopping-household-direct-item-v299{
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
}
.shopping-household-direct-item-v299 small{
  font-size:10px;
  color:var(--muted);
}
.shopping-household-row-edit-v299{
  cursor:pointer;
  min-width:0;
}
.shopping-household-row-edit-v299:hover strong{
  text-decoration:underline;
  text-underline-offset:3px;
}
.household-direct-actions-v299{
  gap:8px;
  flex-wrap:wrap;
}
.household-direct-actions-v299>button{
  flex:1 1 180px;
}
@media(max-width:760px){
  .household-direct-actions-v299>button{flex-basis:100%;}
}


/* Sandbox v1.9.322 · neue Haushaltsartikel direkt per Name / Sprache / Barcode */
.shopping-household-head-actions-v298{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
#shoppingHouseholdNewV300{
  white-space:nowrap;
}
@media(max-width:760px){
  .shopping-household-head-v260{
    align-items:flex-start;
  }
  .shopping-household-head-actions-v298{
    width:100%;
    justify-content:stretch;
  }
  .shopping-household-head-actions-v298 .btn{
    flex:1 1 auto;
  }
}


/* Sandbox v1.9.322 · Copy-Cleanup */
.analysis-card-clean-v301{padding-top:14px;}
#timelineChartCardV239>.chart-toolbar{margin-top:0;}
.dashboard-copy>strong:only-child{margin-bottom:0;}


/* Sandbox v1.9.322 · Copy-Cleanup: Titel + Bedienung statt Subheader */
#routineScreen .routine-card-title-row small{display:none!important}
#routineScreen .routine-card-title-row>div{
  display:flex;
  align-items:center;
  min-height:24px;
}
#routineScreen .routine-quick-body-v199{margin-top:12px}
#routineScreen .routine-quick-meta-v199{display:none!important}
#routineScreen .routine-card{min-height:0}
#bodyHub .energy-head{margin-bottom:6px}
#bodyHub .energy-head .pill,
#bodyHub .energy-head .muted{display:none!important}
#nutrition .nutrition-quick-intro-v269,
#nutShopping .shopping-add-intro-v265{gap:0!important}
#nutrition .nutrition-quick-intro-v269>span,
#nutShopping .shopping-add-intro-v265>span{display:none!important}
.nutrition-mini-foot{justify-content:flex-end!important}


/* Sandbox v1.9.322 · Diagrammwahl, direkte Ernährungserfassung, historischer Heute-Button */
#nutrition .nutrition-today-actions-v303{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  flex-wrap:wrap;
}
#nutrition .nutrition-today-add-v303{
  white-space:nowrap;
}

/* Historischer Hinweis: "Heute" bewusst in der Mitte statt ganz rechts */
.historical-date-banner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;
}
.historical-date-banner>strong{
  grid-column:1;
  min-width:0;
}
.historical-date-banner>.btn{
  grid-column:2;
  justify-self:center;
}
@media(max-width:760px){
  #nutrition .nutrition-today-head-v272{
    align-items:flex-start;
  }
  #nutrition .nutrition-today-actions-v303{
    width:100%;
    justify-content:space-between;
  }
  .historical-date-banner{
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    align-items:center!important;
  }
}


/* Sandbox v1.9.322 · Heute normal, Schnellerfassung mit Sprache/Barcode */
/* Wichtig: v1.9.322 setzte display:grid!important; hidden muss stärker bleiben. */
.historical-date-banner.hidden{
  display:none!important;
}

#nutrition .quick-capture-search-tools-v304{
  display:grid;
  grid-template-columns:minmax(0,1fr) 44px auto;
  gap:7px;
  align-items:center;
}
#nutrition .quick-capture-search-tools-v304 .quick-capture-name-v031{
  min-width:0;
}
#nutrition .quick-capture-search-tools-v304 .voice-inline-button{
  width:44px;
  height:42px;
  min-height:42px;
}
#nutrition .quick-capture-scan-v304{
  min-height:42px;
  height:42px;
  white-space:nowrap;
}
#nutrition .nutrition-today-actions-v303{
  justify-content:flex-end;
}
@media(max-width:620px){
  #nutrition .quick-capture-search-tools-v304{
    grid-template-columns:minmax(0,1fr) 46px;
  }
  #nutrition .quick-capture-search-tools-v304 .quick-capture-name-v031{
    grid-column:1/-1;
  }
  #nutrition .quick-capture-search-tools-v304 .quick-capture-voice-v304{
    grid-column:1;
    justify-self:start;
  }
  #nutrition .quick-capture-search-tools-v304 .quick-capture-scan-v304{
    grid-column:2;
    justify-self:end;
  }
}


/* Sandbox v1.9.322 · bestätigte Häkchen + Ergänzende Ansätze */
.weight-day-entry-row{
  grid-template-columns:minmax(0,1fr) auto!important;
}
.weight-day-save{
  width:auto!important;
  min-width:104px!important;
  padding:0 16px!important;
  font-size:15px!important;
}
.weight-goal-control{
  grid-template-columns:minmax(0,1fr) auto auto!important;
  max-width:370px!important;
}
.weight-goal-save{
  width:auto!important;
  min-width:92px!important;
  padding:0 12px!important;
  font-size:14px!important;
}
.observation-entry-row{
  grid-template-columns:minmax(220px,1fr) minmax(210px,280px) auto!important;
}
.observation-save{
  width:auto!important;
  min-width:92px!important;
  padding:0 14px!important;
  font-size:14px!important;
}
.routine-save-icon-v199{
  width:auto!important;
  min-width:92px!important;
  padding:0 12px!important;
  font-size:14px!important;
  white-space:nowrap;
}

.complementary-approach-card-v306{
  margin:0 0 18px;
  gap:13px;
}
.complementary-approach-head-v306{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.complementary-approach-head-v306 h3{
  margin:0;
  font-size:21px;
}
.complementary-approach-suggestions-v306{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.complementary-approach-entry-v306{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(210px,270px) auto;
  gap:10px;
  align-items:end;
}
.complementary-approach-name-v306{
  min-width:0;
}
.complementary-approach-list-v306{
  display:grid;
  gap:8px;
}
.complementary-approach-item-v306{
  display:grid;
  grid-template-columns:56px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--panel3);
}
.complementary-approach-time-v306{
  color:var(--muted);
  font-size:12px;
  font-variant-numeric:tabular-nums;
}
.complementary-approach-edit-v306{
  appearance:none;
  border:0;
  background:transparent;
  color:var(--text);
  text-align:left;
  padding:0;
  cursor:pointer;
}
.complementary-approach-edit-v306 strong{
  font-size:14px;
}
.complementary-relation-window-v306{
  margin-bottom:12px;
}
.complementary-relation-meta-v306{
  margin-top:9px;
  color:var(--muted);
  font-size:12px;
  line-height:1.4;
}
@media(max-width:760px){
  .complementary-approach-entry-v306{
    grid-template-columns:1fr;
  }
  .complementary-approach-entry-v306>.btn{
    width:100%;
  }
}
@media(max-width:520px){
  .weight-day-entry-row{
    grid-template-columns:1fr!important;
  }
  .weight-day-save{
    width:100%!important;
  }
  .weight-goal-control{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .weight-goal-save{
    grid-column:1/-1;
    width:100%!important;
  }
  .observation-entry-row{
    grid-template-columns:1fr!important;
  }
  .observation-save{
    width:100%!important;
  }
  .complementary-approach-item-v306{
    grid-template-columns:48px minmax(0,1fr) auto;
  }
}


/* Sandbox v1.9.322 · persönliche Vorschläge bei Ergänzenden Ansätzen */
.complementary-approach-actions-v307{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.complementary-approach-actions-v307 #rememberComplementaryApproachV307{
  white-space:nowrap;
}
.complementary-approach-suggestions-v306{
  margin-bottom:1px;
}
@media(max-width:760px){
  .complementary-approach-actions-v307{
    justify-content:stretch;
  }
  .complementary-approach-actions-v307 .btn{
    flex:1 1 auto;
  }
}


/* Sandbox v1.9.322 · Vorschlag auch nach dem Eintragen merken */
.complementary-approach-item-v306{
  grid-template-columns:56px minmax(0,1fr) auto auto!important;
}
.complementary-approach-remember-row-v308{
  white-space:nowrap;
}
.complementary-approach-remember-row-v308.is-saved{
  opacity:.85;
}
@media(max-width:760px){
  .complementary-approach-item-v306{
    grid-template-columns:48px minmax(0,1fr) auto!important;
  }
  .complementary-approach-remember-row-v308{
    grid-column:2/3;
    justify-self:start;
  }
  .complementary-approach-item-v306>.danger{
    grid-column:3;
    grid-row:1/3;
    align-self:center;
  }
}


/* Sandbox v1.9.322 · Ergänzende Ansätze im Verlauf */
.timeline-complementary-card-v309{
  margin-top:10px;
}
.timeline-complementary-row-v309{
  grid-template-columns:minmax(150px,210px) minmax(0,1fr) auto;
}
.timeline-complementary-more-v309{
  padding:8px 4px 2px;
}
.timeline-body-subsections-v309{
  min-height:0;
}
@media(max-width:680px){
  .timeline-complementary-row-v309{
    grid-template-columns:1fr auto;
  }
  .timeline-complementary-row-v309 .timeline-observation-when{
    grid-column:1;
  }
  .timeline-complementary-row-v309 .timeline-observation-text{
    grid-column:1;
  }
  .timeline-complementary-row-v309>.danger{
    grid-column:2;
    grid-row:1/3;
    align-self:center;
  }
}


/* Sandbox v1.9.322 · Direkteingabe Ergänzende Ansätze im Verlauf */
#timelineComplementaryPanelV309>summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
}
.timeline-complementary-add-v310{
  white-space:nowrap;
}
.timeline-complementary-entry-v310{
  margin-bottom:12px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--panel3);
}
.timeline-complementary-entry-grid-v310{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(210px,280px) auto;
  gap:10px;
  align-items:end;
}
.timeline-complementary-empty-state-v310{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 2px 2px;
}
@media(max-width:760px){
  #timelineComplementaryPanelV309>summary{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .timeline-complementary-add-v310{
    grid-column:1/-1;
    justify-self:start;
  }
  .timeline-complementary-entry-grid-v310{
    grid-template-columns:1fr;
  }
  .timeline-complementary-entry-grid-v310>.btn{
    width:100%;
  }
}


/* Sandbox v1.9.322 · Routine-Gewicht: Bestätigung vollständig lesbar */
.routine-weight-quick-v199{
  grid-template-columns:minmax(120px,190px) minmax(118px,max-content)!important;
}
.routine-save-icon-v199{
  min-width:118px!important;
  width:auto!important;
  padding:0 14px!important;
  font-size:14px!important;
  white-space:nowrap!important;
}
@media(max-width:520px){
  .routine-weight-quick-v199{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .routine-save-icon-v199{
    min-width:112px!important;
  }
}


/* Sandbox v1.9.322 · Laborwerte: klare Markierung + stabiles Formular */
#profile #labValuesAccordionV276 .lab-entry-grid-v276{
  grid-template-columns:minmax(110px,.8fr) minmax(150px,1.25fr) minmax(100px,.7fr) minmax(100px,.7fr);
  min-width:0;
}
#profile #labValuesAccordionV276 .lab-entry-grid-v276>label{
  min-width:0;
}
#profile #labValuesAccordionV276 .lab-entry-grid-v276 input{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
#profile #labValuesAccordionV276 .lab-actions-v276{
  width:100%;
  min-width:0;
  justify-content:flex-end;
  flex-wrap:wrap;
}
#profile #saveLabValueV276{
  max-width:100%;
  white-space:normal;
  text-align:center;
}
.lab-reference-hint-v315{
  margin-top:-4px;
  line-height:1.35;
}
.lab-important-v276 span{
  white-space:normal;
}
@media(max-width:1250px) and (min-width:901px){
  #profile #labValuesAccordionV276 .lab-entry-grid-v276{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:560px){
  #profile #labValuesAccordionV276 .lab-entry-grid-v276{
    grid-template-columns:1fr;
  }
  #profile #saveLabValueV276{
    width:100%;
  }
}


/* Sandbox v1.9.322 · Reduktionsrunde Desktop + Mobil */

/* Grundregel: Aktionen kurz, wichtige Eingaben gut lesbar */
.confirm-check-v316{
  display:inline-grid!important;
  place-items:center!important;
  width:48px!important;
  min-width:48px!important;
  height:48px!important;
  min-height:48px!important;
  padding:0!important;
  border-radius:13px!important;
  border:1px solid #596371!important;
  background:#2a3039!important;
  color:#f1f4f6!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:1!important;
}
.confirm-check-v316:hover{
  background:#343c47!important;
  border-color:#737f8f!important;
}
.confirm-check-v316.confirm-saved-v316,
.confirm-check-v316.saved-flash,
.confirm-check-v316.weight-saved{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#08210f!important;
}
.confirm-check-v316:disabled{opacity:1!important}

/* Postmeal: eine einzige klare Aktion */
.dig-postmeal-simple-v316{
  display:block!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.dig-postmeal-simple-v316 .postmeal-btn{
  width:100%!important;
  min-height:48px!important;
  justify-content:flex-start!important;
  padding:11px 14px!important;
  font-size:16px!important;
  font-weight:850!important;
}

/* Medikamentenplan */
.med-plan-day-v316{
  font-weight:850!important;
  white-space:nowrap;
}
.med-plan-day-v316.active{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#08210f!important;
}
.medication-head-v316 .med-intake-actions{
  width:100%;
  justify-content:flex-end;
}

/* Desktop: große Icons, aber kompaktere Kacheln */
@media(min-width:761px){
  #home .dashboard-grid{
    gap:14px!important;
    margin-top:20px!important;
  }
  #home .dashboard-tile,
  #home .dashboard-tile.input-tile{
    min-height:160px!important;
    padding:16px!important;
    border-radius:24px!important;
    gap:9px!important;
  }
  #home .dashboard-icon,
  #home .dashboard-tile.input-tile .dashboard-icon{
    width:64px!important;
    height:64px!important;
  }
  #home .dashboard-copy strong,
  #home .dashboard-tile.input-tile .dashboard-copy strong{
    font-size:20px!important;
    line-height:1.1!important;
  }

  /* Auswahlkarten Ernährung: weniger Höhe, größere Hauptschrift */
  #nutrition .nutrition-tab-v272{
    min-height:62px!important;
    padding:9px 12px!important;
  }
  #nutrition .nutrition-tab-title-v272{
    font-size:15.5px!important;
  }
  #nutrition .nutrition-tab-v272 small{
    font-size:11px!important;
  }
}

/* Mobile Header: Logo + Datum; darunter Routine | Arzt | Login; Reminder danach */
@media(max-width:760px){
  .topbar.topbar-v195{
    grid-template-columns:minmax(0,1fr) 142px!important;
    grid-template-areas:
      "brand date"
      "routine tools"
      "reminder reminder"!important;
    align-items:start!important;
    column-gap:10px!important;
    row-gap:10px!important;
    margin-bottom:14px!important;
  }
  .topbar-v195>.brand-v195{
    grid-area:brand!important;
    min-width:0!important;
  }
  .topbar-v195>.brand-v195 h1{
    font-size:34px!important;
    line-height:.98!important;
  }
  .topbar-v195>.brand-v195 .brand-tagline{
    font-size:12px!important;
  }
  .topbar-v195>.brand-v195 .brand-byline{
    font-size:11px!important;
  }
  .topbar-v195>.global-date-display{
    grid-area:date!important;
    width:142px!important;
    min-width:142px!important;
    min-height:58px!important;
    align-self:start!important;
  }
  .topbar-v195>.global-date-display .global-date-copy strong{
    font-size:17px!important;
  }
  .topbar-v195>.top-routine-slot{
    grid-area:routine!important;
    justify-content:flex-start!important;
    align-self:center!important;
  }
  .topbar-v195>.top-routine-slot .top-routine-button{
    min-width:0!important;
    min-height:44px!important;
    padding:8px 13px!important;
    font-size:15px!important;
  }
  .topbar-v195>.topbar-tools{
    grid-area:tools!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    gap:7px!important;
  }
  .topbar-v195>.topbar-tools #openDoctorNote,
  .topbar-v195>.topbar-tools #accountButton{
    min-height:44px!important;
    font-size:14px!important;
  }
  .topbar-v195>.topbar-tools #accountButton{
    min-width:86px!important;
    margin-left:auto!important;
  }
  .topbar-v195>.topbar-reminder-row{
    grid-area:reminder!important;
    width:100%!important;
    min-width:0!important;
  }

  /* Wichtig: frühere <=520px-Regel darf Datum nicht mehr unter das Logo schieben */
  .app{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  /* Startseite: mehr Bildsprache, weniger Leerraum, größere Beschriftung */
  #home .dashboard-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin-top:14px!important;
  }
  #home .dashboard-tile,
  #home .dashboard-tile.input-tile{
    min-height:126px!important;
    padding:12px 9px!important;
    border-radius:20px!important;
    gap:7px!important;
  }
  #home .dashboard-icon,
  #home .dashboard-tile.input-tile .dashboard-icon{
    width:58px!important;
    height:58px!important;
  }
  #home .dashboard-copy strong,
  #home .dashboard-tile.input-tile .dashboard-copy strong{
    font-size:17px!important;
    line-height:1.08!important;
  }

  /* Eingaben: lieber weniger Text, dafür lesbar */
  input,
  select,
  textarea{
    font-size:16px!important;
  }
  input::placeholder,
  textarea::placeholder{
    font-size:16px!important;
  }
  .btn{
    font-size:15px;
  }

  #nutrition .nutrition-tabs-v272{
    gap:7px!important;
    margin:9px 0 11px!important;
  }
  #nutrition .nutrition-tab-v272{
    min-height:58px!important;
    padding:8px 9px!important;
  }
  #nutrition .nutrition-tab-title-v272{
    font-size:14.5px!important;
    line-height:1.08!important;
  }
  #nutrition .nutrition-tab-v272 small{
    font-size:10.5px!important;
  }

  /* Karten kompakter, Überschriften aber größer */
  #nutrition .card,
  #digestion .card,
  #bodyHub .card{
    padding:14px!important;
    border-radius:18px!important;
  }
  #nutrition h2,
  #digestion h2,
  #bodyHub h2{
    font-size:25px!important;
  }
  #nutrition h3,
  #digestion h3,
  #bodyHub h3{
    font-size:20px!important;
  }

  .medication-head-v316 .med-intake-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
  }
  .medication-head-v316 .med-intake-actions #medPlanDayV316{
    grid-column:1/-1;
    justify-self:start;
  }
}

@media(max-width:520px){
  .topbar.topbar-v195{
    grid-template-columns:minmax(0,1fr) 128px!important;
    grid-template-areas:
      "brand date"
      "routine tools"
      "reminder reminder"!important;
  }
  .topbar-v195>.brand-v195 h1{
    font-size:30px!important;
  }
  .topbar-v195>.brand-v195 .brand-tagline{
    font-size:11px!important;
  }
  .topbar-v195>.brand-v195 .brand-byline{
    font-size:10.5px!important;
  }
  .topbar-v195>.global-date-display{
    width:128px!important;
    min-width:128px!important;
    min-height:54px!important;
    padding:7px 8px!important;
  }
  .topbar-v195>.global-date-display .global-date-copy strong{
    font-size:15px!important;
  }
  .topbar-v195>.global-date-display>svg{
    width:20px!important;
    height:20px!important;
  }
  .topbar-v195>.topbar-tools #openDoctorNote{
    max-width:92px!important;
    padding-left:7px!important;
    padding-right:7px!important;
  }
  .topbar-v195>.topbar-tools #accountButton{
    min-width:80px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  #home .dashboard-tile,
  #home .dashboard-tile.input-tile{
    min-height:118px!important;
  }
  #home .dashboard-copy strong,
  #home .dashboard-tile.input-tile .dashboard-copy strong{
    font-size:16px!important;
  }
}


/* Sandbox v1.9.322 · Medikamentenplan als Tages-Tabelle */
.med-plan-overview-card-v317{
  width:min(1180px,96vw)!important;
  max-width:1180px!important;
}
.med-plan-overview-actions-v317{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin:4px 0 14px;
  flex-wrap:wrap;
}
.med-plan-table-scroll-v317{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--border);
  border-radius:14px;
}
.med-plan-table-v317{
  width:100%;
  min-width:820px;
  border-collapse:collapse;
  background:var(--panel3);
}
.med-plan-table-v317 th,
.med-plan-table-v317 td{
  padding:12px 10px;
  border-bottom:1px solid var(--border);
  border-right:1px solid var(--border);
  text-align:left;
  vertical-align:middle;
}
.med-plan-table-v317 th:last-child,
.med-plan-table-v317 td:last-child{border-right:0}
.med-plan-table-v317 tbody tr:last-child td{border-bottom:0}
.med-plan-table-v317 th{
  background:rgba(255,255,255,.035);
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.med-plan-table-v317 td:first-child{
  min-width:230px;
}
.med-plan-table-v317 td:first-child strong{
  display:block;
  font-size:15px;
}
.med-plan-table-v317 td:first-child small{
  display:block;
  margin-top:3px;
  color:var(--muted);
}
.med-plan-dose-v317{
  width:82px;
  text-align:center!important;
  font-size:20px;
  font-weight:850;
}
.med-plan-extra-v317{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--border);
}
.med-plan-extra-v317 h4{
  margin:0 0 10px;
  font-size:18px;
}
.med-plan-extra-row-v317{
  display:grid;
  grid-template-columns:minmax(180px,260px) minmax(0,1fr);
  gap:12px;
  padding:9px 0;
  border-bottom:1px solid var(--border);
}
.med-plan-extra-row-v317:last-child{border-bottom:0}

@media(max-width:760px){
  .med-plan-overview-card-v317{
    width:calc(100vw - 18px)!important;
    max-width:none!important;
    padding:14px!important;
  }
  .med-plan-overview-card-v317 .modal-head h3{
    font-size:20px!important;
  }
  .med-plan-overview-actions-v317{
    justify-content:stretch;
  }
  .med-plan-overview-actions-v317 .btn{
    flex:1 1 auto;
    min-height:44px;
    font-size:15px;
  }
  .med-plan-table-v317{
    min-width:690px;
  }
  .med-plan-table-v317 th,
  .med-plan-table-v317 td{
    padding:10px 8px;
  }
  .med-plan-table-v317 td:first-child{
    position:sticky;
    left:0;
    z-index:1;
    min-width:190px;
    background:var(--panel3);
  }
  .med-plan-table-v317 th:first-child{
    position:sticky;
    left:0;
    z-index:2;
    background:var(--panel2);
  }
  .med-plan-dose-v317{
    width:68px;
    font-size:18px;
  }
  .med-plan-extra-row-v317{
    grid-template-columns:1fr;
    gap:3px;
  }
}


/* Sandbox v1.9.322 · Medikamentenplan im Handy-Querformat */
@media (orientation: landscape) and (max-height: 620px){
  #medPlanOverviewModalV317{
    align-items:flex-start!important;
    padding:6px!important;
  }
  #medPlanOverviewModalV317 .med-plan-overview-card-v317{
    width:calc(100vw - 12px)!important;
    max-width:none!important;
    height:calc(100vh - 12px)!important;
    max-height:none!important;
    margin:0!important;
    padding:10px 12px 12px!important;
    border-radius:14px!important;
    overflow:auto!important;
  }
  #medPlanOverviewModalV317 .modal-head{
    margin-bottom:6px!important;
  }
  #medPlanOverviewModalV317 .modal-head h3{
    font-size:19px!important;
    line-height:1.1!important;
  }
  #medPlanOverviewModalV317 #medPlanOverviewSubV317{
    display:none!important;
  }
  #medPlanOverviewModalV317 .med-plan-overview-actions-v317{
    margin:0 0 8px!important;
    gap:6px!important;
  }
  #medPlanOverviewModalV317 .med-plan-overview-actions-v317 .btn{
    min-height:38px!important;
    padding:7px 11px!important;
    font-size:13px!important;
  }
  #medPlanOverviewModalV317 .med-plan-table-scroll-v317{
    border-radius:10px!important;
  }
  #medPlanOverviewModalV317 .med-plan-table-v317{
    width:100%!important;
    min-width:720px!important;
  }
  #medPlanOverviewModalV317 .med-plan-table-v317 th,
  #medPlanOverviewModalV317 .med-plan-table-v317 td{
    padding:7px 8px!important;
  }
  #medPlanOverviewModalV317 .med-plan-table-v317 th{
    font-size:11px!important;
  }
  #medPlanOverviewModalV317 .med-plan-table-v317 td:first-child{
    min-width:185px!important;
  }
  #medPlanOverviewModalV317 .med-plan-table-v317 td:first-child strong{
    font-size:13px!important;
  }
  #medPlanOverviewModalV317 .med-plan-table-v317 td:first-child small{
    font-size:11px!important;
  }
  #medPlanOverviewModalV317 .med-plan-dose-v317{
    width:64px!important;
    font-size:17px!important;
  }
  #medPlanOverviewModalV317 .med-plan-extra-v317{
    margin-top:10px!important;
    padding-top:9px!important;
  }
  #medPlanOverviewModalV317 .med-plan-extra-v317 h4{
    margin-bottom:6px!important;
    font-size:15px!important;
  }
  #medPlanOverviewModalV317 .med-plan-extra-row-v317{
    padding:6px 0!important;
    font-size:12px!important;
  }
}


/* v1.9.322 / v0.3.62 · Medikamentenplan: historischer Tag klar markiert */
.med-plan-overview-card-v317{
  border:1px solid var(--border);
}
.med-plan-historical-card-v319{
  border-color:#d8a33a!important;
  box-shadow:0 0 0 1px rgba(216,163,58,.18)!important;
}
.med-plan-historical-v319 .med-plan-date-v319{
  color:#f0bd54!important;
}
.med-plan-historical-v319 #medPlanOverviewSubV317{
  color:#d8a33a!important;
}
@media (orientation: landscape) and (max-height:620px){
  .med-plan-historical-card-v319{
    border-color:#d8a33a!important;
  }
}


/* v1.9.322 / v0.3.64 · Routine: Grün nur bei abgeschlossenem Einmal-Eintrag */
#routineGrid .routine-energy-entry-v321{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
#routineGrid .routine-energy-entry-v321 .routine-energy-options-v201{
  flex:1 1 auto;
}
#routineGrid .routine-energy-confirm-v321{
  flex:0 0 48px;
}
#routineGrid .routine-nutrition-entry-v321{
  justify-content:space-between;
  width:100%;
}
#routineGrid .routine-nutrition-add-v321{
  min-width:70px;
  min-height:48px;
  padding:8px 16px;
  font-size:22px;
  font-weight:900;
}
#routineGrid .routine-nutrition-quick-v321,
#routineGrid [data-routine-card="digestion"]{
  background:var(--panel3)!important;
  border-color:var(--border)!important;
}
@media(max-width:760px){
  #routineGrid .routine-energy-entry-v321{
    align-items:stretch;
  }
  #routineGrid .routine-energy-confirm-v321{
    align-self:stretch;
  }
}


/* v1.9.322 / v0.3.65 · Mehrfach-Einträge zeigen Aktivität statt "erledigt" */
#routineGrid .routine-last-entry-v322{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  min-height:34px;
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.25;
}
#routineGrid .routine-last-entry-v322 strong{
  color:var(--text);
  font-weight:800;
}
#routineGrid .routine-last-entry-v322.is-empty{
  opacity:.82;
}
#routineGrid .routine-last-undo-v322{
  flex:0 0 auto;
  width:38px;
  min-width:38px;
  height:38px;
  min-height:38px;
  padding:0;
  display:inline-grid;
  place-items:center;
  border-radius:11px;
  font-size:19px;
  line-height:1;
}
@media(max-width:760px){
  #routineGrid .routine-last-entry-v322{
    font-size:13.5px;
    margin-bottom:9px;
  }
  #routineGrid .routine-last-undo-v322{
    width:42px;
    min-width:42px;
    height:42px;
    min-height:42px;
  }
}

/* Sandbox v1.9.323 · Routine-Kacheln als direkter Einstieg */
#routineGrid .routine-card[data-routine-card-open-v323]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
