/* MEAL_GLUCOSE_LAYOUT_V2 */
:root{--pm-bg:#080d0b;--pm-card:#0a100d;--pm-line:rgba(132,151,142,.18);--pm-soft:rgba(255,255,255,.055);--pm-ink:#eef3f0;--pm-body:#929d98;--pm-muted:#6d7973;--pm-accent:#68e4c2}
html,body{background:var(--pm-bg)!important}
.app{max-width:1120px!important}
.camera{border-radius:16px!important;border:1px solid var(--pm-line)!important;background:#080d0b!important;box-shadow:none!important}
.camera:after{display:none!important}
.badge,.switch{background:rgba(7,12,10,.86)!important;border:1px solid var(--pm-line)!important;box-shadow:none!important}
.photo-btn,.actions button{border-radius:12px!important}
.ui-kicker{margin:0 0 8px;color:#74817b;font-size:9px;line-height:1;letter-spacing:.11em;font-weight:560;text-transform:uppercase}
.section{margin-top:20px!important;padding:18px 18px 16px;border:1px solid var(--pm-line);border-radius:16px;background:rgba(255,255,255,.008)}
.section-head{margin:0 0 14px!important;align-items:flex-start!important}
.section-head h2{margin:0!important;font-size:18px!important;line-height:1.25!important;font-weight:560!important;color:var(--pm-ink)!important}
.section-head>span{padding:5px 8px;border:1px solid var(--pm-line);border-radius:999px;color:#78847e!important;font-size:8.5px!important;line-height:1!important;letter-spacing:.04em!important}
.section>.panel{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.section:first-of-type .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin-top:4px;border-top:1px solid var(--pm-line)}
.section:first-of-type .metric{min-height:88px!important;padding:13px 12px 0!important;border:0!important;border-right:1px solid var(--pm-soft)!important;border-radius:0!important;background:transparent!important}
.section:first-of-type .metric:last-child{border-right:0!important}
.section:first-of-type .metric .k{font-size:9px!important;color:#6f7b75!important}
.section:first-of-type .metric .v{font-size:20px!important;font-weight:520!important;color:var(--pm-ink)!important}
.section:first-of-type .food{margin-top:4px!important;padding-top:10px!important;border-top:1px solid var(--pm-line)!important}
.section:first-of-type .hint{margin-top:10px!important;background:transparent!important;border-top:1px solid var(--pm-soft);border-radius:0!important;padding:10px 0 0!important}
#foodAnalysisSection .analysis-grid{grid-template-columns:.95fr 1.25fr!important;gap:0!important;margin-top:4px;border-top:1px solid var(--pm-line)}
#foodAnalysisSection .analysis-panel{padding:14px 16px 0!important;border:0!important;border-radius:0!important;background:transparent!important}
#foodAnalysisSection .analysis-panel:first-child{border-right:1px solid var(--pm-soft)!important;padding-left:0!important}
#foodAnalysisSection .analysis-panel:last-child{padding-right:0!important}
.analysis-title{font-size:13px!important;font-weight:540!important;color:#dce4e0!important}
.nutrition-grid{gap:7px!important}
.nutrition-cell{min-height:76px!important;border:1px solid var(--pm-line)!important;border-radius:12px!important;background:rgba(255,255,255,.012)!important}
.nutrition-cell small{font-size:9px!important;color:#6f7b75!important}
.nutrition-cell strong{font-size:20px!important;font-weight:510!important}
.glucose-summary{margin:0 0 10px!important}
.glucose-pill2{border-color:var(--pm-line)!important;background:transparent!important;color:#aeb8b3!important}
.glucose-chart{min-height:210px!important;border:0!important;border-radius:0!important;background:transparent!important;border-top:1px solid var(--pm-soft)!important;border-bottom:1px solid var(--pm-soft)!important}
.glucose-chart svg{height:210px!important}
.analysis-note{font-size:9.5px!important;color:#6d7973!important}
.section:last-of-type #experiencePanel{padding:0!important;border:0!important;background:transparent!important}
.section:last-of-type #experiencePanel>div:first-child{font-size:20px!important;font-weight:520!important;color:#eef3f0!important}
#experience{border-top:1px solid var(--pm-line);margin-top:12px!important;padding-top:12px!important;font-size:10px!important;color:#7d8983!important}
@media(max-width:900px){
  .section{padding:16px 14px 14px}
  .section:first-of-type .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .section:first-of-type .metric:nth-child(2){border-right:0!important}
  .section:first-of-type .metric:nth-child(-n+2){border-bottom:1px solid var(--pm-soft)!important}
  #foodAnalysisSection .analysis-grid{grid-template-columns:1fr!important}
  #foodAnalysisSection .analysis-panel:first-child{border-right:0!important;border-bottom:1px solid var(--pm-soft)!important;padding:14px 0!important}
  #foodAnalysisSection .analysis-panel:last-child{padding:14px 0 0!important}
}
@media(max-width:699px){
  .app{padding-left:14px!important;padding-right:14px!important}
  .section{border-radius:14px!important;padding:15px 13px 13px!important}
  .section-head h2{font-size:17px!important}
  .camera{border-radius:14px!important}
  .section:first-of-type .metric{padding:12px 10px 0!important}
  .section:first-of-type .metric .v{font-size:18px!important}
  .glucose-chart{min-height:170px!important}
  .glucose-chart svg{height:170px!important}
}
