.shell.shell--metric-resource-ertv5{--status-bad:#d4524f;--status-bad-soft:rgba(212,82,79,.12);--status-ok:#d9a044;--status-ok-soft:rgba(217,160,68,.12);--status-great:#36c97a;--status-great-soft:rgba(54,201,122,.12);--home-accent:#e8a849;--home-accent-soft:rgba(232,168,73,.12);--bar-fill:linear-gradient(90deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,.3));--bar-glow:0 0 8px hsla(0,0%,100%,.06);display:flex;flex-direction:column;min-height:0;flex:1;width:100%}.shell.shell--metric-resource-ertv5 .header-dd{position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:var(--s-3);padding:var(--s-4) var(--pad);padding-top:calc(var(--s-4) + env(safe-area-inset-top, 12px));background:rgba(12,12,14,.82);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border-subtle)}.shell.shell--metric-resource-ertv5 .header-dd__back{color:var(--text-secondary);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;border:none;background:transparent;padding:0;margin:0;font:inherit;-webkit-tap-highlight-color:transparent}.shell.shell--metric-resource-ertv5 .header-dd__back svg{width:20px;height:20px}.shell.shell--metric-resource-ertv5 .header-dd__title-row{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:var(--s-3);min-width:0}.shell.shell--metric-resource-ertv5 .header-dd__metric-chip{flex-shrink:0;width:28px;height:28px;border-radius:var(--r-full);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;letter-spacing:.02em;border:1px solid hsla(0,0%,100%,.12);box-shadow:0 0 12px rgba(0,0,0,.25)}.shell.shell--metric-resource-ertv5 .header-dd__metric-chip--r{color:var(--text-secondary);background:hsla(0,0%,100%,.06);border-color:hsla(0,0%,100%,.1);box-shadow:0 0 12px rgba(0,0,0,.25)}.shell.shell--metric-resource-ertv5 .header-dd__title{font-size:17px;font-weight:600;color:var(--text-primary);letter-spacing:-.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell.shell--metric-resource-ertv5 .content.content--drill{flex:1;overflow-y:auto;display:flex;flex-direction:column;padding:var(--s-5) var(--pad);padding-bottom:calc(var(--nav-h) + var(--s-8));gap:var(--s-5);-webkit-overflow-scrolling:touch}.shell.shell--metric-resource-ertv5 .content.content--drill.content--drill-resource-tight{gap:var(--s-4);padding-top:var(--s-4);padding-bottom:calc(var(--nav-h) + var(--s-6))}.shell.shell--metric-resource-ertv5 .content.content--drill .date-nav{flex-shrink:0;margin-bottom:var(--s-1)}.shell.shell--metric-resource-ertv5 .label.label--res{color:var(--text-muted)}.shell.shell--metric-resource-ertv5 .label.label--res:before{background:hsla(0,0%,100%,.32);box-shadow:none}.shell.shell--metric-resource-ertv5 .card{background:var(--bg-card);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:var(--r-lg);border:1px solid var(--border-glass);padding:var(--s-5) var(--s-6);position:relative;overflow:hidden;box-shadow:var(--shadow-card)}.shell.shell--metric-resource-ertv5 .card:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:var(--card-top,linear-gradient(90deg,transparent,hsla(0,0%,100%,.06),transparent))}.shell.shell--metric-resource-ertv5 .card:after{content:"";position:absolute;inset:0;border-radius:var(--r-lg);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.035),transparent 40%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.shell.shell--metric-resource-ertv5 .hero{text-align:center;padding:var(--s-6) 0 var(--s-5)}.shell.shell--metric-resource-ertv5 .hero.hero--resource{--card-top:linear-gradient(90deg,transparent,hsla(0,0%,100%,.07),transparent);background:var(--bg-card)}.shell.shell--metric-resource-ertv5 .hero__num{font-size:64px;font-weight:300;letter-spacing:-.045em;line-height:1;color:var(--text-primary);margin:var(--s-3) 0}.shell.shell--metric-resource-ertv5 .hero__delta{display:inline-flex;align-items:center;gap:4px;padding:3px 12px;border-radius:var(--r-full);font-size:12px;font-weight:500;background:hsla(0,0%,100%,.06);color:var(--text-secondary);border:1px solid var(--border-subtle)}.shell.shell--metric-resource-ertv5 .hero__summary{margin-top:var(--s-4);font-size:13px;font-weight:400;color:var(--text-secondary);line-height:1.5}.shell.shell--metric-resource-ertv5 .hero__tier{display:flex;flex-direction:column;align-items:center;gap:8px;margin:var(--s-2) 0 var(--s-3);width:100%}.shell.shell--metric-resource-ertv5 .hero__tier__track{display:flex;gap:5px;width:100%;max-width:200px}.shell.shell--metric-resource-ertv5 .hero__tier__seg{flex:1;height:4px;border-radius:2px;background:hsla(0,0%,100%,.08);transition:background var(--t-fast),box-shadow var(--t-fast)}.shell.shell--metric-resource-ertv5 .hero__tier__seg--active.hero__tier__seg--bad{background:var(--status-bad);box-shadow:0 0 10px rgba(212,82,79,.35)}.shell.shell--metric-resource-ertv5 .hero__tier__seg--active.hero__tier__seg--ok{background:var(--status-ok);box-shadow:0 0 10px rgba(217,160,68,.3)}.shell.shell--metric-resource-ertv5 .hero__tier__seg--active.hero__tier__seg--great{background:var(--status-great);box-shadow:0 0 10px rgba(54,201,122,.35)}.shell.shell--metric-resource-ertv5 .hero__tier__label{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.shell.shell--metric-resource-ertv5 .hero__tier__label--bad{color:var(--status-bad)}.shell.shell--metric-resource-ertv5 .hero__tier__label--ok{color:var(--status-ok)}.shell.shell--metric-resource-ertv5 .hero__tier__label--great{color:var(--status-great)}.shell.shell--metric-resource-ertv5 .hero__strip-wrap{margin-top:var(--s-5);text-align:left}.shell.shell--metric-resource-ertv5 .hero__strip-track{height:5px;border-radius:3px;background:hsla(0,0%,100%,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.28);position:relative;overflow:hidden}.shell.shell--metric-resource-ertv5 .hero__strip-fill{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:var(--bar-fill);box-shadow:var(--bar-glow)}.shell.shell--metric-resource-ertv5 .hero__strip-fill:before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,hsla(0,0%,100%,.22),transparent 55%)}.shell.shell--metric-resource-ertv5 .hero__strip-cap{margin-top:6px;font-size:10px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--text-dim)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight.content--drill--lx .hero{padding:var(--s-5) var(--s-5) var(--s-4)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .hero__num{margin:var(--s-2) 0 var(--s-1)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .hero__resource-semantics{margin:0 auto var(--s-3);max-width:36em;font-size:13px;line-height:1.45;text-align:center;color:var(--text-muted)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .hero--resource .hero__summary{margin-top:var(--s-2)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .hero__strip-wrap{margin-top:var(--s-3)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .hero__tier{margin:var(--s-2) 0 var(--s-2);gap:6px}.shell.shell--metric-resource-ertv5 .content--drill--lx .hero__summary{max-width:34em;margin-left:auto;margin-right:auto}.shell.shell--metric-resource-ertv5 .insight{background:var(--bg-card);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:var(--r-lg);border:1px solid var(--border-glass);display:flex;align-items:flex-start;gap:var(--s-4);position:relative;overflow:hidden;box-shadow:var(--shadow-card)}.shell.shell--metric-resource-ertv5 .insight.insight--app.insight--compact{padding:var(--s-4) var(--s-5)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .insight.insight--compact{padding:var(--s-3) var(--s-4)}.shell.shell--metric-resource-ertv5 .insight--app:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:0 2px 2px 0;background:var(--home-accent)}.shell.shell--metric-resource-ertv5 .insight--app:after{content:"";position:absolute;inset:0;border-radius:var(--r-lg);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.03),transparent 35%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.shell.shell--metric-resource-ertv5 .insight__icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--home-accent-soft)}.shell.shell--metric-resource-ertv5 .insight__icon svg{width:18px;height:18px;color:var(--home-accent)}.shell.shell--metric-resource-ertv5 .insight__text{font-size:13px;font-weight:400;color:var(--text-secondary);line-height:1.55;flex:1;min-width:0}.shell.shell--metric-resource-ertv5 .insight__text strong{color:var(--text-primary);font-weight:500}.shell.shell--metric-resource-ertv5 .status-bar{height:5px;border-radius:3px;background:hsla(0,0%,100%,.04);position:relative;box-shadow:inset 0 1px 2px rgba(0,0,0,.3);margin-bottom:var(--s-2)}.shell.shell--metric-resource-ertv5 .status-bar__fill{position:absolute;left:0;top:0;bottom:0;border-radius:3px;overflow:hidden;background:var(--bar-fill);box-shadow:var(--bar-glow)}.shell.shell--metric-resource-ertv5 .status-bar__fill:before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,hsla(0,0%,100%,.2),transparent 55%)}.shell.shell--metric-resource-ertv5 .factors{display:flex;flex-direction:column;gap:var(--s-5)}.shell.shell--metric-resource-ertv5 .factor{display:flex;flex-direction:column;gap:var(--s-2)}.shell.shell--metric-resource-ertv5 .factor__head{display:flex;align-items:center;justify-content:space-between}.shell.shell--metric-resource-ertv5 .factor__name{font-size:13px;font-weight:500;color:var(--text-primary)}.shell.shell--metric-resource-ertv5 .factor__val{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text-secondary)}.shell.shell--metric-resource-ertv5 .factor__val--bad{color:var(--status-bad)}.shell.shell--metric-resource-ertv5 .factor__val--ok{color:var(--status-ok)}.shell.shell--metric-resource-ertv5 .factor__val--great{color:var(--status-great)}.shell.shell--metric-resource-ertv5 .factor__hint{font-size:11px;font-weight:400;color:var(--text-muted)}.shell.shell--metric-resource-ertv5 .content--drill--lx .factors{gap:0}.shell.shell--metric-resource-ertv5 .content--drill--lx .factor{padding:var(--s-4) 0;border-bottom:1px solid var(--border-subtle);gap:var(--s-3)}.shell.shell--metric-resource-ertv5 .content--drill--lx .factor:first-child{padding-top:var(--s-1)}.shell.shell--metric-resource-ertv5 .content--drill--lx .factor:last-child{border-bottom:none;padding-bottom:0}.shell.shell--metric-resource-ertv5 .content--drill--lx .factor__name{font-size:14px;font-weight:500;letter-spacing:-.01em}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-factors-card{padding:var(--s-4) var(--s-5)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-factors-card__title{display:block;margin-bottom:var(--s-2)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-factors-card__lede{display:block;margin:calc(-1 * var(--s-1)) 0 var(--s-3);font-size:13px;line-height:1.45;color:var(--text-muted)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight.content--drill--lx .resource-factors-card .factor{padding:var(--s-2) 0;gap:var(--s-2)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight.content--drill--lx .resource-factors-card .factor:first-child{padding-top:0}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-factors-card .factor__head{line-height:1.2}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-factors-card .status-bar{margin-bottom:var(--s-1)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-factors-card .factor__hint{line-height:1.35;margin-top:1px}.shell.shell--metric-resource-ertv5 .diversity-card{--card-top:linear-gradient(90deg,transparent,rgba(232,168,73,.18),transparent)}.shell.shell--metric-resource-ertv5 .diversity-card__head{display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);margin-bottom:var(--s-3)}.shell.shell--metric-resource-ertv5 .diversity-card__title-wrap{display:flex;align-items:center;gap:8px;min-width:0}.shell.shell--metric-resource-ertv5 .diversity-card__dot{width:8px;height:8px;border-radius:50%;background:var(--home-accent);box-shadow:0 0 8px rgba(232,168,73,.35);flex-shrink:0}.shell.shell--metric-resource-ertv5 .diversity-card__title{font-size:15px;font-weight:600;color:var(--text-primary);letter-spacing:-.02em;margin:0}.shell.shell--metric-resource-ertv5 .diversity-card__count{font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--home-accent);padding:4px 10px;border-radius:var(--r-full);background:var(--home-accent-soft);flex-shrink:0}.shell.shell--metric-resource-ertv5 .diversity-card__bar{height:5px;border-radius:3px;background:hsla(0,0%,100%,.05);box-shadow:inset 0 1px 2px rgba(0,0,0,.28);position:relative;margin-bottom:var(--s-5)}.shell.shell--metric-resource-ertv5 .diversity-card__bar-fill{position:absolute;left:0;top:0;bottom:0;border-radius:3px;overflow:hidden;background:var(--bar-fill);box-shadow:var(--bar-glow)}.shell.shell--metric-resource-ertv5 .diversity-card__bar-fill:before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,hsla(0,0%,100%,.22),transparent 50%)}.shell.shell--metric-resource-ertv5 .diversity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--s-2)}.shell.shell--metric-resource-ertv5 .diversity-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:var(--s-3) var(--s-2);border-radius:var(--r-sm);border:1px solid var(--tile-border,hsla(0,0%,100%,.08));background:var(--tile-bg,hsla(0,0%,100%,.02));min-height:72px;text-align:center;transition:border-color var(--t-fast),background var(--t-fast)}.shell.shell--metric-resource-ertv5 .diversity-tile__icon{width:22px;height:22px;color:var(--tile-fg,var(--text-muted))}.shell.shell--metric-resource-ertv5 .diversity-tile__label{font-size:10px;font-weight:600;letter-spacing:.02em;color:var(--tile-fg,var(--text-muted));line-height:1.2}.shell.shell--metric-resource-ertv5 .diversity-tile--ok{--tile-border:rgba(54,201,122,.45);--tile-bg:rgba(54,201,122,.12);--tile-fg:#36c97a}.shell.shell--metric-resource-ertv5 .diversity-tile--warn{--tile-border:rgba(196,160,77,.5);--tile-bg:rgba(196,160,77,.14);--tile-fg:#c4a04d}.shell.shell--metric-resource-ertv5 .diversity-tile--miss{--tile-border:rgba(160,112,96,.45);--tile-bg:rgba(160,112,96,.14);--tile-fg:#a07060}.shell.shell--metric-resource-ertv5 .diversity-card__foot{margin-top:var(--s-4);font-size:11px;font-weight:400;color:var(--text-muted);line-height:1.45}.shell.shell--metric-resource-ertv5 .diversity-card__foot strong{font-weight:600;color:var(--text-primary)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .diversity-card{padding:var(--s-4) var(--s-5)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .diversity-card__head{margin-bottom:var(--s-2)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .diversity-card__bar{margin-bottom:var(--s-3)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .diversity-tile{min-height:64px;padding:var(--s-2) var(--s-2);gap:4px}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .diversity-card__foot{margin-top:var(--s-3)}.shell.shell--metric-resource-ertv5 .sources-week__sub{font-size:11px;color:var(--text-muted);line-height:1.45;margin:var(--s-2) 0 var(--s-4)}.shell.shell--metric-resource-ertv5 .sources-week__list{display:flex;flex-direction:column}.shell.shell--metric-resource-ertv5 .sources-week__row{display:flex;align-items:center;gap:var(--s-3);padding:var(--s-3) 0;border-top:1px solid var(--border-subtle)}.shell.shell--metric-resource-ertv5 .sources-week__row:first-of-type{border-top:none;padding-top:0}.shell.shell--metric-resource-ertv5 .sources-week__emoji{font-size:20px;line-height:1;flex-shrink:0;width:28px;text-align:center}.shell.shell--metric-resource-ertv5 .sources-week__body{flex:1;min-width:0}.shell.shell--metric-resource-ertv5 .sources-week__name{font-size:13px;font-weight:500;color:var(--text-primary)}.shell.shell--metric-resource-ertv5 .sources-week__hint{font-size:11px;color:var(--text-muted);margin-top:2px}.shell.shell--metric-resource-ertv5 .sources-week__right{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.shell.shell--metric-resource-ertv5 .sources-week__days{font-size:12px;font-weight:600;color:var(--text-secondary);font-variant-numeric:tabular-nums}.shell.shell--metric-resource-ertv5 .sources-week__days--bad{color:var(--status-bad)}.shell.shell--metric-resource-ertv5 .sources-week__days--ok{color:var(--status-great)}.shell.shell--metric-resource-ertv5 .sources-week__days--mid{color:var(--status-ok)}.shell.shell--metric-resource-ertv5 .sources-week__badge{font-size:10px;font-weight:600;letter-spacing:.02em;padding:2px 8px;border-radius:var(--r-full);background:hsla(0,0%,100%,.05);color:var(--text-muted);border:1px solid var(--border-subtle)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-sources-card{padding:var(--s-4) var(--s-5)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-sources-card__title{display:block;margin-bottom:0}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-sources-card .sources-week__sub{margin:var(--s-1) 0 var(--s-3)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-sources-card .sources-week__row{padding:var(--s-2) 0}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-sources-card .sources-week__name{font-size:14px;letter-spacing:-.01em}.shell.shell--metric-resource-ertv5 .empty-meals{padding:var(--s-4) var(--s-5);border-radius:var(--r-lg);border:1px dashed hsla(0,0%,100%,.12);background:hsla(0,0%,100%,.02)}.shell.shell--metric-resource-ertv5 .empty-meals__text{font-size:13px;font-weight:400;color:var(--text-secondary);line-height:1.5}.shell.shell--metric-resource-ertv5 .empty-meals__text strong{font-weight:600;color:var(--text-primary)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .empty-meals{padding:var(--s-3) var(--s-4)}.shell.shell--metric-resource-ertv5 .trend__chart{height:84px;margin:var(--s-3) 0}.shell.shell--metric-resource-ertv5 .trend__svg{width:100%;height:84px;display:block}.shell.shell--metric-resource-ertv5 .trend__labels{display:flex;justify-content:space-between;font-size:9px;color:var(--text-dim);font-weight:500}.shell.shell--metric-resource-ertv5 .trend__caption{font-size:11px;color:var(--text-muted);margin-top:var(--s-3)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-trend-card{padding:var(--s-4) var(--s-5)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-trend-card__title{display:block;margin-bottom:var(--s-2)}.shell.shell--metric-resource-ertv5 .content--drill-resource-tight .resource-trend-card .trend__caption{margin-top:var(--s-2)}.shell.shell--metric-resource-ertv5 .resource-trend-card .resource-trend__head{display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);margin-bottom:var(--s-2)}.shell.shell--metric-resource-ertv5 .resource-trend-card .resource-trend-tabs{display:flex;gap:6px}.shell.shell--metric-resource-ertv5 .resource-trend-card .resource-trend-tab{font-size:11px;font-weight:600;padding:4px 10px;border-radius:var(--r-full);border:1px solid var(--border-subtle);background:hsla(0,0%,100%,.04);color:var(--text-muted);cursor:pointer;-webkit-tap-highlight-color:transparent}.shell.shell--metric-resource-ertv5 .resource-trend-card .resource-trend-tab--active{color:var(--text-primary);border-color:var(--border-highlight);background:hsla(0,0%,100%,.08)}.shell.shell--metric-resource-ertv5 .anim-enter{opacity:0;animation:fadeUp var(--anim-fade-up-duration,.5s) var(--ease-out,cubic-bezier(.16,1,.3,1)) forwards}.shell.shell--metric-resource-ertv5 .anim-d1{animation-delay:.04s}.shell.shell--metric-resource-ertv5 .anim-d2{animation-delay:.1s}.shell.shell--metric-resource-ertv5 .anim-d3{animation-delay:.16s}.shell.shell--metric-resource-ertv5 .anim-d4{animation-delay:.22s}.shell.shell--metric-resource-ertv5 .anim-d5{animation-delay:.28s}.shell.shell--metric-resource-ertv5 .anim-d6{animation-delay:.34s}.shell.shell--metric-resource-ertv5 .anim-d7{animation-delay:.4s}.shell.shell--metric-body-ertv5{--status-bad:#d4524f;--status-bad-soft:rgba(212,82,79,.12);--status-ok:#d9a044;--status-ok-soft:rgba(217,160,68,.12);--status-great:#36c97a;--status-great-soft:rgba(54,201,122,.12);--home-accent:#e8a849;--home-accent-soft:rgba(232,168,73,.12);--bar-fill:linear-gradient(90deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,.3));--bar-glow:0 0 8px hsla(0,0%,100%,.06);--zone-ok-local:#36c97a;--zone-ok-local-soft:rgba(54,201,122,.1);--zone-warn-local:#d9a044;--zone-warn-local-soft:rgba(217,160,68,.1);display:flex;flex-direction:column;min-height:0;flex:1;width:100%}.shell.shell--metric-body-ertv5 .header-dd{position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:var(--s-3);padding:var(--s-4) var(--pad);padding-top:calc(var(--s-4) + env(safe-area-inset-top, 12px));background:rgba(12,12,14,.82);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border-subtle)}.shell.shell--metric-body-ertv5 .header-dd__back{color:var(--text-secondary);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;border:none;background:transparent;padding:0;margin:0;font:inherit;-webkit-tap-highlight-color:transparent}.shell.shell--metric-body-ertv5 .header-dd__back svg{width:20px;height:20px}.shell.shell--metric-body-ertv5 .header-dd__title-row{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:var(--s-3);min-width:0}.shell.shell--metric-body-ertv5 .header-dd__metric-chip{flex-shrink:0;width:28px;height:28px;border-radius:var(--r-full);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;letter-spacing:.02em;border:1px solid hsla(0,0%,100%,.12);box-shadow:0 0 12px rgba(0,0,0,.25)}.shell.shell--metric-body-ertv5 .header-dd__metric-chip--b{color:var(--text-secondary);background:hsla(0,0%,100%,.06);border-color:hsla(0,0%,100%,.1)}.shell.shell--metric-body-ertv5 .header-dd__title{font-size:17px;font-weight:600;color:var(--text-primary);letter-spacing:-.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell.shell--metric-body-ertv5 .content--drill{flex:1;overflow-y:auto;display:flex;flex-direction:column;padding:var(--s-5) var(--pad);padding-bottom:calc(var(--nav-h) + var(--s-8));gap:var(--s-5)}.shell.shell--metric-body-ertv5 .content--drill.content--drill-body-tight{gap:var(--s-4);padding-top:var(--s-4);padding-bottom:calc(var(--nav-h) + var(--s-6))}.shell.shell--metric-body-ertv5 .card{background:rgba(22,22,26,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:var(--r-lg);border:1px solid hsla(0,0%,100%,.08);padding:var(--s-5) var(--s-6);position:relative;overflow:hidden;box-shadow:var(--shadow-card)}.shell.shell--metric-body-ertv5 .card:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:var(--card-top,linear-gradient(90deg,transparent,hsla(0,0%,100%,.06),transparent))}.shell.shell--metric-body-ertv5 .card:after{content:"";position:absolute;inset:0;border-radius:var(--r-lg);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.035),transparent 40%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.shell.shell--metric-body-ertv5 .label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);display:inline-flex;align-items:center;gap:6px}.shell.shell--metric-body-ertv5 .label:before{content:"";width:5px;height:5px;border-radius:50%;background:hsla(0,0%,100%,.32);flex-shrink:0}.shell.shell--metric-body-ertv5 .label--b{color:var(--text-muted)}.shell.shell--metric-body-ertv5 .anim-enter{opacity:0;animation:fadeUp .5s cubic-bezier(.16,1,.3,1) forwards}.shell.shell--metric-body-ertv5 .anim-d1{animation-delay:.04s}.shell.shell--metric-body-ertv5 .anim-d2{animation-delay:.1s}.shell.shell--metric-body-ertv5 .anim-d3{animation-delay:.16s}.shell.shell--metric-body-ertv5 .anim-d4{animation-delay:.22s}.shell.shell--metric-body-ertv5 .anim-d5{animation-delay:.28s}.shell.shell--metric-body-ertv5 .hero{text-align:center;padding:var(--s-6) 0 var(--s-5)}.shell.shell--metric-body-ertv5 .hero--body{--card-top:linear-gradient(90deg,transparent,hsla(0,0%,100%,.07),transparent);background:rgba(22,22,26,.72);padding:var(--s-5) var(--s-5) var(--s-4)}.shell.shell--metric-body-ertv5 .hero__num{font-size:64px;font-weight:300;letter-spacing:-.04em;line-height:1;color:var(--text-primary);margin:var(--s-2) 0}.shell.shell--metric-body-ertv5 .hero__delta{display:inline-flex;align-items:center;gap:4px;padding:3px 12px;border-radius:var(--r-full);font-size:12px;font-weight:500;background:hsla(0,0%,100%,.06);color:var(--text-secondary);border:1px solid hsla(0,0%,100%,.06)}.shell.shell--metric-body-ertv5 .hero__tier{display:flex;flex-direction:column;align-items:center;gap:8px;margin:var(--s-2) 0 var(--s-2);width:100%}.shell.shell--metric-body-ertv5 .hero__tier__track{display:flex;gap:5px;width:100%;max-width:200px}.shell.shell--metric-body-ertv5 .hero__tier__seg{flex:1;height:4px;border-radius:2px;background:hsla(0,0%,100%,.08);transition:background .2s,box-shadow .2s}.shell.shell--metric-body-ertv5 .hero__tier__seg--active.hero__tier__seg--bad{background:var(--status-bad);box-shadow:0 0 10px rgba(212,82,79,.35)}.shell.shell--metric-body-ertv5 .hero__tier__seg--active.hero__tier__seg--ok{background:var(--status-ok);box-shadow:0 0 10px rgba(217,160,68,.3)}.shell.shell--metric-body-ertv5 .hero__tier__seg--active.hero__tier__seg--great{background:var(--status-great);box-shadow:0 0 10px rgba(54,201,122,.35)}.shell.shell--metric-body-ertv5 .hero__tier__label{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.shell.shell--metric-body-ertv5 .hero__tier__label--bad{color:var(--status-bad)}.shell.shell--metric-body-ertv5 .hero__tier__label--ok{color:var(--status-ok)}.shell.shell--metric-body-ertv5 .hero__tier__label--great{color:var(--status-great)}.shell.shell--metric-body-ertv5 .hero-trend{height:72px;margin:var(--s-3) calc(var(--s-5) * -1) 0;position:relative}.shell.shell--metric-body-ertv5 .hero-trend svg{width:100%;height:72px;display:block}.shell.shell--metric-body-ertv5 .hero-trend__labels{display:flex;justify-content:space-between;font-size:9px;color:var(--text-dim);font-weight:500;padding:2px var(--s-5) 0}.shell.shell--metric-body-ertv5 .hero__phrase{font-size:13px;font-weight:400;color:var(--text-muted);margin-top:var(--s-2);line-height:1.35;font-style:italic}.shell.shell--metric-body-ertv5 .insight{background:rgba(22,22,26,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:var(--r-lg);border:1px solid hsla(0,0%,100%,.08);padding:var(--s-5);display:flex;align-items:flex-start;gap:var(--s-4);position:relative;overflow:hidden;box-shadow:var(--shadow-card)}.shell.shell--metric-body-ertv5 .insight--app:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:0 2px 2px 0;background:var(--home-accent)}.shell.shell--metric-body-ertv5 .insight--app:after{content:"";position:absolute;inset:0;border-radius:var(--r-lg);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.03),transparent 35%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.shell.shell--metric-body-ertv5 .insight--compact{padding:var(--s-3) var(--s-4)}.shell.shell--metric-body-ertv5 .insight__icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--home-accent-soft)}.shell.shell--metric-body-ertv5 .insight__icon svg{width:18px;height:18px;color:var(--home-accent)}.shell.shell--metric-body-ertv5 .insight__text{font-size:13px;font-weight:400;color:var(--text-secondary);line-height:1.55;flex:1;min-width:0}.shell.shell--metric-body-ertv5 .insight__text strong{color:var(--text-primary);font-weight:500}.shell.shell--metric-body-ertv5 .body-balance-card{padding:var(--s-4) var(--s-5)}.shell.shell--metric-body-ertv5 .body-balance-card__title{display:block;margin-bottom:var(--s-1)}.shell.shell--metric-body-ertv5 .body-balance-card__lede{margin:0 0 var(--s-4);font-size:12px;font-weight:400;line-height:1.45;color:var(--text-muted)}.shell.shell--metric-body-ertv5 .body-balance-card__balance{display:flex;flex-direction:column;gap:0}.shell.shell--metric-body-ertv5 .body-balance-card__group+.body-balance-card__group{margin-top:var(--s-4);padding-top:var(--s-4);border-top:1px solid var(--border-subtle)}.shell.shell--metric-body-ertv5 .body-balance-card__group-label{display:block;margin-bottom:var(--s-2);font-size:10px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--text-dim)}.shell.shell--metric-body-ertv5 .body-balance-card__group--summary{display:flex;flex-direction:column;gap:var(--s-2);padding:var(--s-3) var(--s-4);border-radius:var(--r-sm);background:hsla(0,0%,100%,.045);border:1px solid var(--border-subtle)}.shell.shell--metric-body-ertv5 .body-balance-card__group--weight{display:flex;flex-direction:column;gap:var(--s-3);padding:var(--s-3) var(--s-4);border-radius:var(--r-sm);background:hsla(0,0%,100%,.035);border:1px solid var(--border-subtle)}.shell.shell--metric-body-ertv5 .body-balance-card__group--risk .risk{justify-content:space-between;width:100%}.shell.shell--metric-body-ertv5 .balance{display:flex;flex-direction:column;gap:var(--s-4)}.shell.shell--metric-body-ertv5 .balance__row{display:flex;align-items:center;justify-content:space-between}.shell.shell--metric-body-ertv5 .balance__label{font-size:13px;font-weight:400;color:var(--text-secondary)}.shell.shell--metric-body-ertv5 .balance__value{font-size:14px;font-weight:500;color:var(--text-primary)}.shell.shell--metric-body-ertv5 .balance__zone{font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:3px 10px;border-radius:var(--r-full);color:var(--zone-warn-local);background:var(--zone-warn-local-soft)}.shell.shell--metric-body-ertv5 .balance__zone--ok{color:var(--zone-ok-local);background:var(--zone-ok-local-soft)}.shell.shell--metric-body-ertv5 .composition{display:flex;align-items:flex-start;gap:var(--s-3);margin:0;padding:var(--s-3) var(--s-4);background:hsla(0,0%,100%,.03);border-left:1px solid var(--border-subtle);border:1px solid var(--border-subtle);border-left:2px solid hsla(0,0%,100%,.11);border-radius:var(--r-sm)}.shell.shell--metric-body-ertv5 .composition__dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:5px;box-shadow:0 0 0 2px rgba(0,0,0,.35)}.shell.shell--metric-body-ertv5 .composition__dot--ok{background:var(--status-great)}.shell.shell--metric-body-ertv5 .composition__dot--warn{background:var(--status-ok)}.shell.shell--metric-body-ertv5 .composition__dot--bad{background:var(--status-bad)}.shell.shell--metric-body-ertv5 .composition__text{font-size:13px;font-weight:400;color:var(--text-secondary);line-height:1.5}.shell.shell--metric-body-ertv5 .composition__text strong{color:var(--text-primary);font-weight:500}.shell.shell--metric-body-ertv5 .regime{display:flex;flex-direction:column;gap:var(--s-2)}.shell.shell--metric-body-ertv5 .regime__head{display:flex;align-items:center;justify-content:space-between}.shell.shell--metric-body-ertv5 .regime__name{font-size:13px;font-weight:500;color:var(--text-primary)}.shell.shell--metric-body-ertv5 .regime__days{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text-secondary)}.shell.shell--metric-body-ertv5 .regime__days--bad{color:var(--status-bad)}.shell.shell--metric-body-ertv5 .regime__days--ok{color:var(--status-ok)}.shell.shell--metric-body-ertv5 .regime__days--great{color:var(--status-great)}.shell.shell--metric-body-ertv5 .regime__bar{height:3px;border-radius:2px;background:hsla(0,0%,100%,.04);position:relative}.shell.shell--metric-body-ertv5 .regime__fill{position:absolute;left:0;top:0;bottom:0;border-radius:2px;background:var(--bar-fill);box-shadow:var(--bar-glow)}.shell.shell--metric-body-ertv5 .weight-note{font-size:12px;font-weight:400;color:var(--text-muted);line-height:1.55;margin:0;padding:0;background:transparent;border:none}.shell.shell--metric-body-ertv5 .weight-note strong{color:var(--text-secondary);font-weight:500}.shell.shell--metric-body-ertv5 .risk{display:flex;align-items:center;gap:var(--s-3)}.shell.shell--metric-body-ertv5 .risk__label{font-size:13px;font-weight:400;color:var(--text-secondary)}.shell.shell--metric-body-ertv5 .risk__badge{font-size:10px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;padding:2px 8px;border-radius:3px;color:var(--zone-ok-local);background:var(--zone-ok-local-soft)}.shell.shell--metric-body-ertv5 .risk__badge--warn{color:var(--status-ok);background:var(--status-ok-soft)}.shell.shell--metric-body-ertv5 .body-quality-card{padding:var(--s-4) var(--s-5)}.shell.shell--metric-body-ertv5 .body-quality-card__title{display:block;margin-bottom:var(--s-1)}.shell.shell--metric-body-ertv5 .body-quality-card__lede{margin:0 0 var(--s-4);font-size:12px;font-weight:400;line-height:1.45;color:var(--text-muted)}.shell.shell--metric-body-ertv5 .body-quality-card__quality{display:flex;flex-direction:column;gap:var(--s-3)}.shell.shell--metric-body-ertv5 .quality__item{display:flex;flex-direction:column;gap:var(--s-2);padding:var(--s-4);border-radius:var(--r-sm);background:hsla(0,0%,100%,.04);border:1px solid var(--border-subtle)}.shell.shell--metric-body-ertv5 .quality__head{display:flex;align-items:center;justify-content:space-between;line-height:1.2}.shell.shell--metric-body-ertv5 .quality__name{font-size:14px;font-weight:500;color:var(--text-primary);letter-spacing:-.01em}.shell.shell--metric-body-ertv5 .quality__val{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text-secondary)}.shell.shell--metric-body-ertv5 .quality__val--bad{color:var(--status-bad)}.shell.shell--metric-body-ertv5 .quality__val--ok{color:var(--status-ok)}.shell.shell--metric-body-ertv5 .quality__val--great{color:var(--status-great)}.shell.shell--metric-body-ertv5 .quality__bar{height:3px;border-radius:2px;background:hsla(0,0%,100%,.04);position:relative}.shell.shell--metric-body-ertv5 .quality__fill{position:absolute;left:0;top:0;bottom:0;border-radius:2px;background:var(--bar-fill);box-shadow:var(--bar-glow)}.shell.shell--metric-body-ertv5 .quality__hint{display:block;font-size:12px;font-weight:400;color:var(--text-muted);line-height:1.45;margin-top:var(--s-1);padding-top:var(--s-2);border-top:1px solid hsla(0,0%,100%,.06)}.shell.shell--metric-body-ertv5 .body-trend-card{padding:var(--s-4) var(--s-5)}.shell.shell--metric-body-ertv5 .body-trend-card__title{display:block;margin-bottom:var(--s-2)}.shell.shell--metric-body-ertv5 .trend-ex__chart{height:80px;margin:var(--s-2) 0;position:relative}.shell.shell--metric-body-ertv5 .trend-ex__chart svg{width:100%;height:80px;display:block}.shell.shell--metric-body-ertv5 .trend-ex__labels{display:flex;justify-content:space-between;font-size:9px;color:var(--text-dim);font-weight:500}.shell.shell--metric-body-ertv5 .trend-ex__legend{display:flex;gap:var(--s-3);margin-top:var(--s-2)}.shell.shell--metric-body-ertv5 .trend-ex__legend-item{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--text-dim)}.shell.shell--metric-body-ertv5 .trend-ex__legend-line{width:14px;height:2px;border-radius:1px}.shell.shell--metric-body-ertv5 .body-calibration-dots{display:flex;gap:6px}.shell.shell--metric-body-ertv5 .body-calibration-dot{width:10px;height:10px;border-radius:50%;border:2px solid #7c8cf4;background:transparent;transition:background .2s}.shell.shell--metric-body-ertv5 .body-calibration-dot--filled{background:#7c8cf4}.shell.shell--metric-body-ertv5 .body-calibration-status{font-size:11px;font-weight:500;color:var(--text-muted);font-variant-numeric:tabular-nums}.shell.shell--metric-body-ertv5 .hero__score-subtitle{display:block;text-align:center;font-size:11px;font-weight:400;color:var(--text-dim);margin-top:var(--s-1);letter-spacing:.02em}.shell.shell--metric-body-ertv5 .hero-trend__title{display:block;text-align:center;font-size:10px;font-weight:500;color:var(--text-dim);letter-spacing:.04em;text-transform:uppercase;margin-top:var(--s-3);margin-bottom:var(--s-1)}.shell.shell--metric-body-ertv5 .quality-info-btn{display:inline-flex;align-items:center;justify-content:center;background:none;border:none;padding:0;margin-left:6px;cursor:pointer;color:var(--text-dim);vertical-align:middle;-webkit-tap-highlight-color:transparent;transition:color .15s}.shell.shell--metric-body-ertv5 .quality-info-btn:active,.shell.shell--metric-body-ertv5 .quality-info-btn:hover{color:var(--text-secondary)}.shell.shell--metric-body-ertv5 .quality-info-text{display:block;font-size:11px;font-weight:400;color:var(--text-dim);margin-top:var(--s-1);letter-spacing:.02em}.shell.shell--metric-body-ertv5 .quality-insufficient{padding:var(--s-4);border-radius:var(--r-sm);background:hsla(0,0%,100%,.04);border:1px solid var(--border-subtle);text-align:center}.shell.shell--metric-body-ertv5 .quality-insufficient__text{font-size:13px;font-weight:400;color:var(--text-muted);line-height:1.5;margin:0}.shell.shell--metric-body-ertv5 .body-date-context{font-size:12px;font-weight:400;color:var(--text-dim);text-align:center;padding:var(--s-1) 0;font-style:italic}.shell.shell--composer{--status-bad:#d4524f;--status-bad-soft:rgba(212,82,79,.12);--status-ok:#d9a044;--status-ok-soft:rgba(217,160,68,.12);--status-great:#36c97a;--status-great-soft:rgba(54,201,122,.12);--home-accent:#e8a849;--home-accent-soft:rgba(232,168,73,.12);--composer-history-edge:var(--s-3);--composer-history-icon-size:16px;--composer-history-inner-gap:var(--s-2);--composer-history-text-inset:calc(var(--composer-history-edge) + var(--composer-history-icon-size) + var(--composer-history-inner-gap));--composer-history-row-py:10px;--composer-history-min-tap:44px;--composer-history-surface-shadow:0 1px 3px rgba(0,0,0,.22),0 2px 10px rgba(0,0,0,.1)}.shell.shell--composer .content.content--composer{padding:var(--s-4) var(--pad);padding-bottom:calc(var(--nav-h) + var(--s-8));gap:var(--s-3);display:flex;flex-direction:column}.shell.shell--composer .header-dd{position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:var(--s-3);padding:var(--s-4) var(--pad);padding-top:calc(var(--s-4) + env(safe-area-inset-top, 12px));background:rgba(12,12,14,.82);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--border-subtle)}.shell.shell--composer .header-dd__back{color:var(--text-secondary);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;border:none;background:transparent;padding:0;margin:0;font:inherit;-webkit-tap-highlight-color:transparent}.shell.shell--composer .header-dd__back svg{width:20px;height:20px}.shell.shell--composer .header-dd__title-row{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:var(--s-3)}.shell.shell--composer .header-dd__title{font-size:17px;font-weight:600;color:var(--text-primary);letter-spacing:-.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.composer-capture{display:grid;grid-template-columns:1fr 1fr;gap:12px}.composer-capture__btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:28px 16px;background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--r-lg);backdrop-filter:blur(14px);cursor:pointer;transition:transform var(--t-fast),border-color var(--t-fast),background var(--t-fast),box-shadow var(--t-fast);box-shadow:var(--shadow-card);position:relative;overflow:hidden}.composer-capture__btn:before{content:"";position:absolute;top:30%;left:50%;width:60px;height:60px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,hsla(0,0%,100%,.03) 0,transparent 70%);pointer-events:none}.composer-capture__btn:after{content:"";position:absolute;inset:0;border-radius:var(--r-lg);background:linear-gradient(180deg,hsla(0,0%,100%,.045),transparent 50%);pointer-events:none}.composer-capture__btn:active{transform:scale(.97)}.composer-capture__btn:hover{border-color:hsla(0,0%,100%,.14);background:rgba(22,22,26,.85);box-shadow:var(--shadow-card),0 0 20px hsla(0,0%,100%,.02)}.composer-capture__icon{width:36px;height:36px;color:var(--text-secondary);transition:color var(--t-fast)}.composer-capture__btn:hover .composer-capture__icon{color:var(--text-primary)}.composer-capture__label{font-size:13px;font-weight:500;color:var(--text-secondary)}.composer-hint-wrap{background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--r-lg);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:16px;box-shadow:var(--shadow-card);position:relative;overflow:hidden;transition:border-color var(--t-fast),box-shadow var(--t-fast)}.composer-hint-wrap:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.06),transparent)}.composer-hint-wrap:after{content:"";position:absolute;inset:0;border-radius:var(--r-lg);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.035),transparent 40%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.composer-hint-wrap:focus-within{border-color:rgba(232,168,73,.2);box-shadow:var(--shadow-card),0 0 0 1px rgba(232,168,73,.08)}.composer-hint-textarea{width:100%;resize:none;border:none;outline:none;background:transparent;font-family:var(--font);font-size:14px;font-weight:400;color:var(--text-primary);line-height:1.55;letter-spacing:.005em;transition:box-shadow .2s}.composer-hint-textarea--hint{min-height:72px}.composer-hint-textarea--text{min-height:140px}.composer-hint-textarea:focus{box-shadow:none}.composer-hint-textarea::-moz-placeholder{color:var(--text-dim)}.composer-hint-textarea::placeholder{color:var(--text-dim)}.composer-hint-footer{font-size:10px;color:var(--text-dim);line-height:1.45;margin-top:10px;padding-top:10px;border-top:1px solid var(--border-subtle);letter-spacing:.01em}.composer-hint-example{font-size:11px;color:var(--text-dim);line-height:1.5;margin-top:var(--s-2);padding:0 2px}.composer-photo-preview{position:relative;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border-glass);box-shadow:var(--shadow-card);background:var(--bg-elevated)}.composer-photo-preview img{width:100%;max-height:220px;-o-object-fit:cover;object-fit:cover;display:block}.composer-photo-preview__actions{position:absolute;top:10px;right:10px;display:flex;gap:8px}.composer-photo-preview__btn{width:34px;height:34px;border-radius:var(--r-full);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;background:rgba(12,12,14,.75);backdrop-filter:blur(12px);color:var(--text-primary);transition:background var(--t-fast),transform var(--t-fast)}.composer-photo-preview__btn:active{transform:scale(.9)}.composer-photo-preview__btn svg{width:16px;height:16px}.composer-panel{display:flex;flex-direction:column;gap:var(--s-3)}.composer-panel[hidden]{display:none}.composer-panel.panel-entering{animation:fadeUp .35s var(--ease-out) both}.shell.shell--composer .composer-panel--history{gap:var(--s-2)}.composer-panel--photo-attached .composer-panel__capture{display:none}.composer-panel--photo-attached .composer-panel__preview{display:block}.composer-panel__preview{display:none}.composer-log-time{margin-top:var(--s-3,12px);margin-bottom:var(--s-2,8px);padding:0 2px}.composer-log-time__label{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim);margin-bottom:6px}.composer-log-time__chips{display:flex;gap:6px;flex-wrap:wrap}.composer-log-time__chip{flex:1;min-width:0;padding:7px 10px;border-radius:var(--r-md,10px);border:1px solid var(--border-glass);background:hsla(0,0%,100%,.03);font-family:var(--font);font-size:12px;font-weight:500;color:var(--text-muted);cursor:pointer;transition:background .18s var(--ease-out),border-color .18s var(--ease-out),color .18s var(--ease-out)}.composer-log-time__chip:hover{color:var(--text-secondary);background:hsla(0,0%,100%,.05)}.composer-log-time__chip--active{background:var(--home-accent-soft);border-color:rgba(232,168,73,.22);color:var(--home-accent);font-weight:600}.composer-log-time__custom{margin-top:8px;display:flex;flex-direction:column;gap:4px}.composer-log-time__input{width:100%;max-width:100%;box-sizing:border-box;padding:8px 10px;border-radius:var(--r-md,10px);border:1px solid var(--border-glass);background:var(--bg-card);color:var(--text-secondary);font-family:var(--font);font-size:13px}.composer-log-time__caption{margin:0;font-size:11px;line-height:1.35;color:var(--text-muted)}.composer-tabs{display:flex;padding:3px;background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--r-lg);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow-card);position:relative;overflow:hidden;gap:3px}.composer-tabs:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.06),transparent)}.composer-tabs:after{content:"";position:absolute;inset:0;border-radius:var(--r-lg);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.035),transparent 40%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.composer-tabs__item{flex:1;gap:5px;padding:8px 4px 9px;border-radius:calc(var(--r-lg) - 3px);border:1px solid transparent;background:transparent;font-family:var(--font);font-size:10px;font-weight:500;line-height:1.15;letter-spacing:-.02em;color:var(--text-muted);cursor:pointer;transition:all .22s var(--ease-out);position:relative;z-index:1;-webkit-font-smoothing:antialiased}.composer-tabs__item,.composer-tabs__label{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}.composer-tabs__label{gap:0;width:100%;text-align:center}.composer-tabs__line{display:block;max-width:100%;font-size:10px;font-weight:inherit;line-height:1.18;letter-spacing:-.015em;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.composer-tabs__item:hover{color:var(--text-secondary);background:hsla(0,0%,100%,.03)}.composer-tabs__item:active{transform:scale(.97)}.composer-tabs__item--active{background:var(--home-accent-soft);border-color:rgba(232,168,73,.18);color:var(--home-accent);font-weight:600;box-shadow:0 1px 4px rgba(232,168,73,.08)}.composer-tabs__item--active:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,rgba(232,168,73,.15),transparent);pointer-events:none}.composer-tabs__icon{width:15px;height:15px;flex-shrink:0;transition:color .22s;opacity:.92}.composer-tabs__item--active .composer-tabs__icon{opacity:1}.shell.shell--composer .history-section-label{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim);margin:0 0 var(--s-1)}.shell.shell--composer .history-list{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--composer-history-surface-shadow);position:relative}.shell.shell--composer .history-list:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.05),transparent);pointer-events:none}.shell.shell--composer .history-item-wrap{border-bottom:1px solid var(--border-subtle)}.shell.shell--composer .history-item-wrap:last-child{border-bottom:none}.shell.shell--composer .history-item{display:flex;align-items:center;gap:var(--composer-history-inner-gap);box-sizing:border-box;width:100%;max-width:100%;margin:0;text-align:left;font:inherit;min-height:var(--composer-history-min-tap);padding:var(--composer-history-row-py) var(--composer-history-edge);cursor:pointer;border:none;border-radius:0;background:transparent;color:inherit;transition:background var(--t-fast);position:relative;-webkit-tap-highlight-color:transparent}.shell.shell--composer .history-item__checkbox{flex-shrink:0;width:var(--composer-history-icon-size);height:var(--composer-history-icon-size);margin:0;border-radius:5px;border:1.5px solid var(--border-glass);background:hsla(0,0%,100%,.04);accent-color:var(--home-accent);cursor:pointer;align-self:center}.shell.shell--composer .history-item__checkbox:checked{border-color:rgba(232,168,73,.45);background:var(--home-accent-soft)}.shell.shell--composer .history-item--selected{background:hsla(0,0%,100%,.02)}.shell.shell--composer .history-item--locked{opacity:.72;cursor:default}.shell.shell--composer .history-item--locked:active,.shell.shell--composer .history-item--locked:hover{background:transparent}.shell.shell--composer .history-item--locked .history-item__checkbox:disabled{cursor:not-allowed;opacity:.55}.shell.shell--composer .history-item:hover{background:hsla(0,0%,100%,.03)}.shell.shell--composer .history-item:active{background:var(--bg-elevated)}.shell.shell--composer .history-item__checkbox:focus{outline:none}.shell.shell--composer .history-item__checkbox:focus-visible{outline:2px solid rgba(232,168,73,.55);outline-offset:2px}.shell.shell--composer .history-item__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;align-self:center}.shell.shell--composer .history-item__name{font-size:14px;font-weight:500;line-height:1.35;color:var(--text-primary);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;word-break:break-word}.shell.shell--composer .history-item__meta{font-size:11px;line-height:1.3;color:var(--text-dim);font-variant-numeric:tabular-nums}.shell.shell--composer .history-actions-footer{display:flex;flex-direction:column;gap:var(--s-2);margin-top:var(--s-1)}.shell.shell--composer .history-actions-footer__primary{width:100%;padding:12px var(--s-3);border:none;border-radius:var(--r-md);font-family:var(--font);font-size:14px;font-weight:600;letter-spacing:-.01em;color:#000;background:linear-gradient(145deg,#e8c97a,var(--home-accent),#c88a30);cursor:pointer;box-shadow:0 2px 12px rgba(232,168,73,.2);transition:opacity var(--t-fast),transform var(--t-fast)}.shell.shell--composer .history-actions-footer__primary:disabled{opacity:.38;cursor:not-allowed;box-shadow:none;transform:none}.shell.shell--composer .history-actions-footer__primary:not(:disabled):active{transform:scale(.99)}.shell.shell--composer .history-actions-footer__secondary{width:100%;padding:8px var(--s-2);border:none;border-radius:var(--r-sm);font-family:var(--font);font-size:13px;font-weight:500;color:var(--text-secondary);background:transparent;cursor:pointer;text-decoration:underline;text-underline-offset:3px;transition:color var(--t-fast)}.shell.shell--composer .history-actions-footer__secondary:disabled{opacity:.35;cursor:not-allowed;text-decoration:none}.shell.shell--composer .history-actions-footer__secondary:not(:disabled):hover{color:var(--text-primary)}.shell.shell--composer .history-actions-hint{font-size:12px;line-height:1.4;color:var(--text-dim);margin:0}.shell.shell--composer .history-search-wrap{display:flex;align-items:center;gap:var(--composer-history-inner-gap);padding:var(--composer-history-row-py) var(--composer-history-edge);background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--r-md);box-shadow:var(--composer-history-surface-shadow);position:relative;overflow:hidden;transition:border-color var(--t-fast)}.shell.shell--composer .history-search-wrap:focus-within{border-color:rgba(232,168,73,.2)}.shell.shell--composer .history-search-wrap:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.05),transparent);pointer-events:none}.shell.shell--composer .history-search-icon{width:var(--composer-history-icon-size);height:var(--composer-history-icon-size);color:var(--text-dim);flex-shrink:0}.shell.shell--composer .history-search-input{flex:1;min-width:0;background:none;border:none;outline:none;font-family:var(--font);font-size:14px;line-height:1.35;color:var(--text-primary)}.shell.shell--composer .history-search-input::-moz-placeholder{color:var(--text-dim)}.shell.shell--composer .history-search-input::placeholder{color:var(--text-dim)}.shell.shell--composer .history-search-input:focus-visible{outline:none}.shell.shell--composer .composer-s1-sticky-cta{position:sticky;bottom:calc(var(--app-scroll-nav-reserve, var(--nav-h, 80px)) + var(--s-3) + env(safe-area-inset-bottom, 0px));z-index:45;margin-top:var(--s-3);margin-left:calc(-1 * var(--pad));margin-right:calc(-1 * var(--pad));padding:var(--s-3) var(--pad) var(--s-2);background:linear-gradient(0deg,rgba(12,12,14,.97) 55%,rgba(12,12,14,0));backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.composer-submit{width:100%;padding:15px;border:none;border-radius:var(--r-lg);background:linear-gradient(145deg,#f0c060,var(--home-accent),#c88a30);font-family:var(--font);font-size:15px;font-weight:600;color:#000;cursor:pointer;letter-spacing:-.01em;box-shadow:0 4px 20px rgba(232,168,73,.25),0 0 0 1px rgba(232,168,73,.15);transition:transform var(--t-fast),box-shadow var(--t-fast);position:relative;overflow:hidden}.composer-submit:before{left:0;right:0;height:50%;background:linear-gradient(180deg,hsla(0,0%,100%,.15),transparent);border-radius:var(--r-lg) var(--r-lg) 0 0}.composer-submit:after,.composer-submit:before{content:"";position:absolute;top:0;pointer-events:none}.composer-submit:after{left:-100%;width:50%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.08),transparent);animation:submitShimmer 3s ease-in-out infinite}@keyframes submitShimmer{0%{left:-50%}50%{left:100%}to{left:100%}}.composer-submit:hover{transform:translateY(-1px);box-shadow:0 6px 24px rgba(232,168,73,.32),0 0 0 1px rgba(232,168,73,.2)}.composer-submit:active{transform:scale(.98)}.composer-submit:disabled{opacity:.35;pointer-events:none;box-shadow:none}.history-show-more{width:100%;margin-top:var(--s-2);padding:var(--s-2) var(--s-3);border-radius:var(--r-md);border:1px dashed var(--border-glass);background:transparent;color:var(--text-muted);font-family:var(--font);font-size:13px;font-weight:600;cursor:pointer;transition:opacity var(--t-fast),border-color var(--t-fast)}.history-show-more:hover{border-color:var(--border);color:var(--text-secondary)}.history-show-more:active{opacity:.85}.composer-progress-wrap{margin-left:calc(-1 * var(--pad));margin-right:calc(-1 * var(--pad));width:calc(100% + 2 * var(--pad))}.composer-progress{height:2px;background:var(--border-subtle);position:relative;overflow:hidden}.composer-progress__fill{position:absolute;left:-40%;width:40%;height:100%;background:linear-gradient(90deg,transparent,var(--home-accent),transparent);animation:progressSlide 1.4s ease-in-out infinite}@keyframes progressSlide{0%{left:-40%}to{left:100%}}.composer-status{text-align:center;font-size:13px;font-style:italic;color:var(--text-muted);padding:24px var(--pad) 8px}.skeleton-card{background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--r-lg);padding:16px 20px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow-card);position:relative;overflow:hidden}.skeleton-card:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.06),transparent)}.skeleton-card:after{content:"";position:absolute;inset:0;border-radius:var(--r-lg);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.035),transparent 40%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.skeleton-line{height:13px;border-radius:4px;background:var(--bg-elevated);animation:skeletonPulse 1.5s ease-in-out infinite}.skeleton-line--short{width:60%}.skeleton-line--medium{width:80%}@keyframes skeletonPulse{0%,to{opacity:1}50%{opacity:.45}}.skeleton-context{display:flex;align-items:center;gap:12px;padding:10px 14px;background:var(--bg-elevated);border-radius:var(--r-md);border:1px solid var(--border-subtle)}.skeleton-thumb{width:44px;height:44px;border-radius:var(--r-sm);background:var(--bg-subtle);animation:skeletonPulse 1.5s ease-in-out infinite;flex-shrink:0}.skeleton-context__lines{flex:1;display:flex;flex-direction:column}.skeleton-dish-list{background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-card);position:relative}.skeleton-dish-list:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.06),transparent)}.skeleton-dish-row{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--border-subtle)}.skeleton-dish-row:last-child{border-bottom:none}.skeleton-total{padding:16px 20px 12px;border-top:1px solid var(--border)}.composer-context{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:16px;background:var(--bg-elevated);border-radius:var(--r-md);border:1px solid var(--border-subtle);position:relative;overflow:hidden}.composer-context:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.06),transparent)}.composer-context:after{content:"";position:absolute;inset:0;border-radius:var(--r-md);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.025),transparent 40%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.composer-context__thumb{width:44px;height:44px;border-radius:var(--r-sm);-o-object-fit:cover;object-fit:cover;flex-shrink:0;background:var(--bg-subtle)}.composer-context__text{flex:1;min-width:0}.composer-context__hint{font-size:12px;color:var(--text-secondary);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.composer-context__sub{font-size:10px;color:var(--text-dim);margin-top:2px}.composer-context__edit{font-size:12px;font-weight:500;color:var(--home-accent);cursor:pointer;flex-shrink:0;padding:6px 12px;border-radius:var(--r-full);background:var(--home-accent-soft);border:1px solid rgba(232,168,73,.15);transition:background var(--t-fast),border-color var(--t-fast)}.composer-context__edit:hover{background:rgba(232,168,73,.12);border-color:rgba(232,168,73,.25)}.dish-list{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-card);position:relative}.dish-list:before{top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.06),transparent)}.dish-list:after,.dish-list:before{content:"";position:absolute;z-index:1}.dish-list:after{inset:0;border-radius:var(--r-lg);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.035),transparent 40%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.dish-item{border-bottom:1px solid var(--border-subtle)}.dish-item:last-child{border-bottom:none}.dish-item__head-row{display:flex;align-items:stretch;width:100%}.dish-item__head{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:14px 12px 14px 20px;cursor:pointer;transition:background var(--t-fast);-webkit-tap-highlight-color:transparent;background:none;border:none;font:inherit;text-align:left;color:inherit}.dish-item__head:hover{background:hsla(0,0%,100%,.02)}.dish-item__head:active{background:var(--bg-elevated)}.dish-item__del-dish{flex-shrink:0;width:48px;min-height:48px;display:flex;align-items:center;justify-content:center;align-self:center;margin-right:8px;padding:0;border:none;border-radius:var(--r-sm);background:transparent;color:var(--text-dim);cursor:pointer;transition:color var(--t-fast),background var(--t-fast);-webkit-tap-highlight-color:transparent}.dish-item__del-dish svg{width:18px;height:18px}.dish-item__del-dish:hover{color:var(--status-bad)}.dish-item__del-dish:active,.dish-item__del-dish:hover{background:var(--status-bad-soft)}.dish-item__chevron{width:16px;height:16px;color:var(--text-dim);flex-shrink:0;transition:transform .2s var(--ease-out)}.dish-item--open .dish-item__chevron{transform:rotate(90deg)}.dish-item__name{flex:1;font-size:14px;font-weight:500;color:var(--text-primary)}.dish-item__kcal{font-size:13px;font-weight:600;color:var(--text-secondary);font-variant-numeric:tabular-nums;min-width:64px;text-align:right}.dish-body{padding:0 20px 16px;display:grid;grid-template-rows:1fr;overflow:hidden;transition:grid-template-rows .28s var(--ease-out),padding .28s var(--ease-out)}.dish-body>*{min-height:0;overflow:hidden}.dish-item:not(.dish-item--open) .dish-body{grid-template-rows:0fr;padding-top:0;padding-bottom:0}.dish-portion{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--border-subtle)}.dish-portion__label{font-size:12px;color:var(--text-muted)}.dish-portion__right{display:flex;align-items:center;gap:6px}.dish-portion__input{width:52px;text-align:center;padding:6px 8px;font-family:var(--font);font-size:15px;font-weight:600;color:var(--text-primary);background:var(--bg-elevated);border:1px solid var(--border-subtle);border-radius:var(--r-sm);outline:none;font-variant-numeric:tabular-nums;transition:border-color .2s,box-shadow .2s;box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.dish-portion__input:focus{border-color:var(--home-accent);box-shadow:inset 0 1px 2px rgba(0,0,0,.15),0 0 0 3px rgba(232,168,73,.1),0 0 12px rgba(232,168,73,.06)}.dish-portion__unit{font-size:12px;color:var(--text-muted)}.ing-list,.ing-row{display:flex;flex-direction:column}.ing-row{gap:3px;padding:9px 6px;border-bottom:1px solid var(--border-subtle);cursor:pointer;transition:background var(--t-fast),transform var(--t-fast);border-radius:var(--r-sm);margin:0 -6px}.ing-row:last-of-type{border-bottom:none}.ing-row:hover{background:hsla(0,0%,100%,.03);transform:translateX(2px)}.ing-row:active{background:var(--bg-elevated);transform:translateX(0)}.ing-row__top{display:flex;align-items:center;gap:8px}.ing-row__name{flex:1;font-size:13px;font-weight:500;color:var(--text-primary);line-height:1.3}.ing-row__weight{font-size:11px;font-weight:600;color:var(--text-secondary);background:var(--bg-subtle);border:1px solid var(--border-subtle);padding:1px 7px;font-variant-numeric:tabular-nums}.ing-row__del,.ing-row__weight{border-radius:var(--r-full);flex-shrink:0}.ing-row__del{min-width:40px;min-height:40px;margin:-6px -4px -6px 0;padding:0;display:flex;align-items:center;justify-content:center;color:var(--text-dim);background:hsla(0,0%,100%,.04);border:1px solid var(--border-subtle);cursor:pointer;transition:opacity var(--t-fast),color var(--t-fast),background var(--t-fast),border-color var(--t-fast);opacity:.88;-webkit-tap-highlight-color:transparent}.ing-row:hover .ing-row__del{opacity:1}.ing-row__del:hover{color:var(--status-bad);background:var(--status-bad-soft);border-color:transparent}.ing-row__del svg{width:14px;height:14px}.ing-row__macros{font-size:11px;color:var(--text-dim);font-variant-numeric:tabular-nums;letter-spacing:.01em;transition:color var(--t-fast)}.ing-row:hover .ing-row__macros{color:var(--text-muted)}.ing-add-btn{display:flex;align-items:center;gap:8px;padding:10px 0;color:var(--home-accent);font-size:13px;font-weight:500;cursor:pointer;background:none;border:none;font-family:var(--font)}.ing-add-btn svg{width:16px;height:16px}.dish-nutrition{background:var(--bg-elevated);border-radius:var(--r-md);padding:12px 14px;margin-top:12px;border:1px solid var(--border-subtle);position:relative;overflow:hidden}.dish-nutrition:before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.05),transparent)}.dish-nutrition:after{content:"";position:absolute;inset:0;border-radius:var(--r-md);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.025),transparent 40%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.dish-nutrition__header{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim);margin-bottom:10px}.dish-nutrition__grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dish-nutrition__cell{display:flex;flex-direction:column;gap:4px}.dish-nutrition__cell-label{font-size:10px;color:var(--text-dim);letter-spacing:.03em;padding-left:2px}.dish-nutrition__input{width:100%;text-align:left;padding:7px 10px;font-family:var(--font);font-size:14px;font-weight:600;color:var(--text-primary);background:var(--bg-subtle);border:1px solid var(--border-subtle);border-radius:var(--r-sm);outline:none;font-variant-numeric:tabular-nums;transition:border-color .2s,box-shadow .2s;box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.dish-nutrition__input:focus{border-color:var(--home-accent);box-shadow:inset 0 1px 2px rgba(0,0,0,.15),0 0 0 3px rgba(232,168,73,.1),0 0 12px rgba(232,168,73,.06)}.dish-nutrition__portion-row{display:flex;align-items:center;gap:6px;padding-top:10px;margin-top:10px;border-top:1px solid var(--border-subtle);flex-wrap:wrap}.dish-nutrition__portion-badge{display:flex;align-items:baseline;gap:3px;background:var(--bg-subtle);border:1px solid var(--border-subtle);border-radius:var(--r-full);padding:3px 8px}.dish-nutrition__portion-label{font-size:10px;color:var(--text-dim);font-weight:600;letter-spacing:.04em;text-transform:uppercase}.dish-nutrition__portion-val{font-size:12px;font-weight:600;color:var(--text-secondary);font-variant-numeric:tabular-nums}.dish-nutrition__portion-header{font-size:10px;color:var(--text-dim);margin-right:2px;white-space:nowrap}.dish-nutrition__note{font-size:10px;color:var(--text-dim);font-style:italic;margin-top:8px;text-align:right}.composer-total{padding:16px 20px 12px;border-top:1px solid var(--border-subtle);margin-top:0}.composer-total__row{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.composer-total__label{font-size:12px;color:var(--text-muted)}.composer-total__kcal{font-size:22px;font-weight:700;color:var(--text-primary);font-variant-numeric:tabular-nums;letter-spacing:-.02em}.composer-total__macros{display:flex;gap:16px;font-size:11px;color:var(--text-muted);font-variant-numeric:tabular-nums}.composer-total__macro{display:flex;gap:4px}.composer-total__macro-label{color:var(--text-dim);font-weight:600;letter-spacing:.04em;text-transform:uppercase;font-size:10px}.composer-actions{position:sticky;bottom:0;z-index:50;display:flex;gap:12px;align-items:center;padding:12px var(--pad) 20px;background:linear-gradient(to top,var(--bg) 70%,transparent);padding-bottom:max(20px,env(safe-area-inset-bottom,20px))}.composer-actions__save-wrap{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;align-items:stretch}.composer-save-help{margin:0;font-size:11px;line-height:1.35;color:var(--text-muted)}.composer-actions__btn{flex:1;padding:13px 8px;border-radius:var(--r-md);font-family:var(--font);font-size:14px;font-weight:500;cursor:pointer;transition:transform var(--t-fast),opacity var(--t-fast)}.composer-actions__btn:active{transform:scale(.98)}.composer-actions__secondary{background:var(--bg-elevated);border:1px solid var(--border-subtle);color:var(--text-secondary);transition:background var(--t-fast),border-color var(--t-fast)}.composer-actions__secondary:hover{background:var(--bg-hover);border-color:var(--border)}.composer-actions__save-wrap .composer-actions__primary{flex:none;width:100%}.composer-actions__primary{background:linear-gradient(145deg,#f0c060,var(--home-accent),#c88a30);border:none;color:#000;font-weight:600;box-shadow:0 2px 12px rgba(232,168,73,.22);position:relative;overflow:hidden}.composer-actions__primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.composer-actions__primary:disabled:before{display:none}.composer-actions__primary:before{content:"";position:absolute;top:0;left:0;right:0;height:50%;background:linear-gradient(180deg,hsla(0,0%,100%,.12),transparent);border-radius:var(--r-md) var(--r-md) 0 0;pointer-events:none}.ing-detail{background:var(--bg-subtle);border-radius:var(--r-md);padding:12px;margin:4px 0 8px;border:1px solid var(--border-subtle);animation:ingDetailIn .24s var(--ease-out) both}@keyframes ingDetailIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.ing-detail__grid{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px 10px;margin-bottom:12px}.ing-detail__label{font-size:11px;color:var(--text-muted)}.ing-detail__input{text-align:right;padding:6px 10px;font-family:var(--font);font-size:13px;font-weight:600;color:var(--text-primary);background:var(--bg-elevated);border:1px solid var(--border-subtle);border-radius:var(--r-sm);outline:none;font-variant-numeric:tabular-nums;transition:border-color .2s,box-shadow .2s;box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.ing-detail__input:focus{border-color:var(--home-accent);box-shadow:inset 0 1px 2px rgba(0,0,0,.15),0 0 0 3px rgba(232,168,73,.1),0 0 12px rgba(232,168,73,.06)}.ing-detail__unit{font-size:11px;color:var(--text-dim)}.ing-detail__divider{border-top:1px solid var(--border-subtle);margin:10px 0}.ing-detail__portion-label{font-size:10px;color:var(--text-dim);margin-bottom:6px}.ing-detail__portion-vals{display:flex;gap:16px;flex-wrap:wrap}.ing-detail__portion-val{font-size:12px;color:var(--text-secondary);font-variant-numeric:tabular-nums}.ing-detail__memory,.ing-detail__portion-key{font-size:10px;color:var(--text-dim)}.ing-detail__memory{display:flex;align-items:center;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid var(--border-subtle)}.ing-detail__memory-dot{width:6px;height:6px;border-radius:50%;background:var(--status-great);flex-shrink:0;box-shadow:0 0 6px rgba(54,201,122,.4)}.ing-search{background:var(--bg-card);border:1px solid var(--border-glass);border-radius:var(--r-lg);overflow:hidden;margin-top:8px;box-shadow:var(--shadow-card);position:relative}.ing-search:before{top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.06),transparent)}.ing-search:after,.ing-search:before{content:"";position:absolute;z-index:1}.ing-search:after{inset:0;border-radius:var(--r-lg);border:1px solid transparent;background:linear-gradient(180deg,hsla(0,0%,100%,.035),transparent 40%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}.ing-search__input-wrap{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border-subtle)}.ing-search__icon{width:16px;height:16px;color:var(--text-dim);flex-shrink:0}.ing-search__input{flex:1;background:none;border:none;outline:none;font-family:var(--font);font-size:14px;color:var(--text-primary);font-variant-numeric:tabular-nums}.ing-search__input::-moz-placeholder{color:var(--text-dim)}.ing-search__input::placeholder{color:var(--text-dim)}.ing-search__item:has(.ing-search__item-star){background:rgba(232,168,73,.03)}.ing-search__section{padding:12px 16px 4px;margin-top:4px;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim)}.ing-search__item{display:flex;align-items:flex-start;gap:10px;padding:10px 16px;cursor:pointer;transition:background var(--t-fast)}.ing-search__item:hover{background:var(--bg-elevated)}.ing-search__item:active{background:var(--bg-hover)}.ing-search__item-star{color:var(--home-accent);font-size:13px;flex-shrink:0;margin-top:1px}.ing-search__item-body{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}.ing-search__item-top{display:flex;align-items:center;gap:8px}.ing-search__item-name{flex:1;font-size:13px;font-weight:500;color:var(--text-primary);line-height:1.3}.ing-search__item-meta{font-size:11px;color:var(--text-dim);font-variant-numeric:tabular-nums;letter-spacing:.01em}.ing-search__item-source{font-size:10px;font-weight:600;color:var(--text-dim);flex-shrink:0;padding:2px 7px;border-radius:var(--r-full);background:hsla(0,0%,100%,.04);border:1px solid var(--border-subtle);align-self:flex-start}.ing-search__divider{height:1px;background:var(--border-subtle);margin:4px 0}.ing-search__ai-row{display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;transition:background var(--t-fast);border-top:1px solid var(--border-subtle);background:rgba(232,168,73,.02)}.ing-search__ai-row:hover{background:rgba(232,168,73,.06)}.ing-search__ai-icon{width:16px;height:16px;color:var(--home-accent);flex-shrink:0}.ing-search__ai-label{font-size:13px;color:var(--text-secondary)}.ing-search__ai-label em{color:var(--text-primary);font-style:normal;font-weight:500}.composer-state-inner{display:flex;flex-direction:column;gap:16px}.composer-state-inner--stack{gap:var(--s-3)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.shell.shell--composer .nav-v2__fab{box-shadow:0 4px 22px rgba(232,168,73,.38),0 0 0 4px rgba(232,168,73,.1)}@media (prefers-reduced-motion:reduce){.composer-progress__fill,.composer-submit:after{animation:none}.dish-body{transition:none}.composer-panel.panel-entering,.ing-detail,[data-panel]{animation:none}}.composer-search-overlay{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;justify-content:flex-end;background:rgba(8,8,10,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.composer-search-overlay__panel{max-height:min(88vh,640px);overflow:hidden;display:flex;flex-direction:column;border-radius:var(--r-lg) var(--r-lg) 0 0;margin:0 var(--pad);margin-bottom:max(12px,env(safe-area-inset-bottom,12px))}.composer-search-overlay__panel .ing-search{margin-top:0;max-height:min(88vh,640px);display:flex;flex-direction:column}.composer-search-overlay__scroll{overflow-y:auto;flex:1;min-height:0}