.tools .cal-look{flex-direction:column;gap:4px;display:flex}.tools .cal-frame{aspect-ratio:4/3;border-radius:var(--r-l);background:linear-gradient(180deg, var(--plate-top), var(--plate-low));max-height:380px;position:relative;overflow:hidden}.tools .cal-frame.is-words{aspect-ratio:2;min-height:170px;max-height:250px}@media (min-width:880px){.tools .cal-frame{aspect-ratio:3/2}}.tools .cal-photo{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.tools .cal-plate{place-items:center;padding:14px;display:grid;position:absolute;inset:0}.tools .cal-plate p{aspect-ratio:1;height:82%;max-height:220px;color:var(--ink);font-family:var(--round,inherit);text-align:center;overflow-wrap:anywhere;background:radial-gradient(circle at 50% 45%,#fff 58%,#fff8f0 59%,#fff 72%);border-radius:50%;place-items:center;padding:0 1.3em;font-size:clamp(.95rem,3.4cqi,1.25rem);font-weight:800;line-height:1.2;display:grid;box-shadow:0 14px 30px -14px #96501473}.tools .cal-frame.is-words{container-type:inline-size}.tools .cal-plate p span{display:block}.tools .cal-beam{pointer-events:none;animation:1.3s ease-in-out infinite alternate cal-sweep;position:absolute;inset:0;transform:translateY(-50%)}.tools .cal-beam i{border-bottom:4px solid var(--beam);background:linear-gradient(#ffd54f00,#ffd54f61);height:74px;position:absolute;bottom:0;left:0;right:0;box-shadow:0 6px 16px #ffd54fe6}@keyframes cal-sweep{0%{transform:translateY(calc(4px - 100%))}to{transform:translateY(0)}}.tools .cal-frame[data-scanning] .cal-photo{filter:saturate(.92)brightness(.97)}.tools .cal-spotted{pointer-events:none;flex-direction:column;align-items:flex-start;gap:6px;max-width:calc(100% - 80px);margin:0;padding:0;list-style:none;display:flex;position:absolute;top:12px;left:12px}.tools .cal-spotted li{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);max-width:100%;height:32px;color:var(--ink);white-space:nowrap;text-overflow:ellipsis;transform-origin:0;background:#ffffffe0;border-radius:999px;padding:0 12px;font-size:.85rem;font-weight:700;line-height:32px;animation:.34s cubic-bezier(.3,1.4,.6,1) both cal-pop;overflow:hidden;box-shadow:0 2px 8px -4px #00000040}.tools .yp-cal .cal-spotted .num{color:var(--ink-soft);font-family:inherit}.tools .cal-frame.is-words .cal-spotted{display:none}@keyframes cal-pop{0%{opacity:0;transform:scale(.7)}}.tools .cal-discard{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);width:44px;height:44px;color:var(--ink);cursor:pointer;transition:transform .15s var(--ease-out);background:#ffffffe0;border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:10px;right:10px;box-shadow:0 2px 8px -4px #0000004d}.tools .cal-discard:active{transform:scale(.92)}.tools .cal-discard svg{width:20px;height:20px}.tools .cal-pal-line{align-items:flex-end;gap:6px;min-height:84px;padding:6px 2px 0;display:flex}.tools .cal-pal-line[data-mood=think] .cal-fox{animation:1.6s ease-in-out infinite cal-think}.tools .cal-pal-line[data-mood=happy] .cal-fox{animation:.8s cubic-bezier(.3,1.6,.6,1) cal-hop}@keyframes cal-think{30%{transform:rotate(-6deg)}70%{transform:rotate(5deg)}}@keyframes cal-hop{25%{transform:translateY(3px)scale(1.12,.86)}55%{transform:translateY(-18px)scale(.94,1.08)rotate(-6deg)}}.tools .cal-bubble{background:var(--card);box-shadow:var(--sel-shadow);color:var(--ink);font-family:var(--round,inherit);transform-origin:0 100%;border-radius:18px 18px 18px 6px;margin-bottom:34px;padding:10px 16px;font-size:1.02rem;font-weight:800;line-height:1.3;animation:.3s cubic-bezier(.3,1.4,.6,1) both cal-pop;position:relative}.tools .cal-tray{border-radius:var(--r-l);background:var(--card);box-shadow:var(--sel-shadow);gap:14px;padding:18px;display:grid}.tools .cal-tray-head{gap:0;display:grid}.tools .cal-tray h3{letter-spacing:-.01em;overflow-wrap:anywhere;font-size:1.45rem;font-weight:800;line-height:1.15}.tools .cal-portion{min-height:40px;color:var(--ink-soft);text-align:left;cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:4px;padding:0;font-size:.92rem;font-weight:600;display:inline-flex}.tools .yp-cal .cal-portion .num{font-family:inherit}.tools .cal-portion:disabled{cursor:default}.tools .cal-portion svg{width:16px;height:16px;transition:transform .2s var(--ease-out)}.tools .cal-portion[aria-expanded=true] svg{transform:rotate(180deg)}.tools .cal-ingredients{animation:cal-in .2s var(--ease-out) both;margin:2px 0 0;padding:0;font-size:.92rem;list-style:none}.tools .cal-ingredients li{border-top:1px solid var(--hair);color:var(--ink);justify-content:space-between;gap:12px;padding:7px 0;font-weight:600;display:flex}.tools .yp-cal .cal-ingredients .num{color:var(--ink-soft);font-family:inherit}.tools .cal-numbers{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px 18px;display:flex}.tools .cal-kcal{color:var(--ink-soft);font-size:1rem;font-weight:700;line-height:1}.tools .cal-kcal b{color:var(--ink);letter-spacing:-.02em;margin-right:2px;font-size:3rem;font-weight:800}.tools .cal-mac{gap:18px;margin:0;display:flex}.tools .cal-mac div{text-align:right;gap:1px;display:grid}.tools .cal-mac dt{color:var(--ink-faint);order:2;font-size:.8rem;font-weight:600}.tools .cal-mac dd{color:var(--ink);margin:0;font-size:1.15rem;font-weight:800}.tools .cal-servings{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.tools .yp-cal .cal-servings>span{color:var(--ink-soft);font-size:.92rem;font-weight:600}.tools .cal-servings .seg{background:var(--pill)}.tools .cal-servings .seg button{min-width:44px;height:40px;padding:0 10px}.tools .cal-adjust{background:var(--pill);max-width:none;height:56px;box-shadow:none;animation:cal-in .22s var(--ease-out) both}.tools .cal-adjust:focus-within{box-shadow:0 0 0 2.5px var(--accent)}.tools .cal-adjust .cal-go{width:44px;height:44px}.tools .cal-adjust .cal-go:disabled{background:var(--card)}.tools .cal-actions{gap:10px;display:flex}.tools .yp-cal .cal-log{flex:1;justify-content:center;height:52px}.tools .cal-tray .cal-quiet{height:52px}.tools .cal-kicker{color:var(--green-deep,var(--ink-soft));align-items:center;gap:4px;margin-bottom:2px;font-size:.9rem;font-weight:700;display:inline-flex}.tools .yp-cal .cal-kicker svg{width:18px;height:18px}.tools .cal-tray.is-logged .cal-kcal b{font-size:2.4rem}@media (max-width:520px){.tools .cal-kcal b{font-size:2.6rem}.tools .cal-mac{gap:14px}.tools .cal-tray{padding:16px}}@media (max-width:360px){.tools .cal-mac div{text-align:left}}
.tools .cal-today{border-radius:var(--r-xl);flex-direction:column;gap:18px;min-width:0;padding:20px;display:flex;container-type:inline-size}.tools .cal-today-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.tools .cal-today-head h2{font-size:1.4rem;font-weight:800;line-height:1.2}.tools .cal-today-head p{color:var(--ink-faint);font-size:.9rem;font-weight:600}.tools .cal-streak{height:28px;color:var(--ink);background:#ffa73324;border-radius:999px;align-items:center;gap:4px;padding:0 10px;display:inline-flex}.tools .cal-streak svg{width:17px;height:17px}.tools .cal-streak b{font-size:.95rem;font-weight:900}.tools .cal-sum{justify-content:space-between;align-items:center;gap:12px;display:flex}.tools .cal-total{gap:4px;min-width:0;display:grid}.tools .cal-total-num{gap:2px;display:grid}.tools .cal-total-num b{color:var(--ink);font-family:var(--round,inherit);letter-spacing:-.01em;font-size:3rem;font-weight:800;line-height:1}.tools .cal-total-num span{color:var(--ink-faint);font-size:.82rem;font-weight:500}.tools .cal-left{color:var(--ink-soft);font-size:.88rem;font-weight:700}.tools .yp-cal .cal-ring{width:76px;height:76px;color:var(--ink);cursor:pointer;transition:transform .15s var(--ease-out);background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid;position:relative}.tools .yp-cal .cal-ring:active{transform:scale(.95)}.tools .yp-cal .cal-ring:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.tools .cal-ring>svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.tools .cal-ring>svg circle{fill:none;stroke-width:8px}.tools .cal-ring .track{stroke:var(--track)}.tools .cal-ring .fill{stroke:var(--ink);stroke-linecap:round}.tools .cal-ring .fill[data-empty]{opacity:0}.tools .cal-ring-in{width:54px;height:54px;transition:background-color .15s var(--ease-out);background:0 0;border-radius:50%;place-items:center;display:grid}@media (hover:hover){.tools .yp-cal .cal-ring:hover .cal-ring-in{background:var(--field)}}.tools .yp-cal .cal-ring-in svg{stroke-width:2.4px;width:24px;height:24px}.tools .cal-macros{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.tools .cal-macro{align-content:start;gap:5px;min-width:0;display:grid}.tools .cal-macro-name{color:var(--ink-faint);font-size:.78rem;font-weight:600}.tools .cal-bar{background:var(--track);border-radius:999px;height:6px;display:block;overflow:hidden}.tools .cal-bar i{border-radius:inherit;background:var(--protein);transform-origin:0;height:100%;display:block}.tools .cal-macro[data-tone=carbs] .cal-bar i{background:var(--carbs)}.tools .cal-macro[data-tone=fat] .cal-bar i{background:var(--fat)}.tools .cal-macro-g{color:var(--ink-faint);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:500;overflow:hidden}.tools .cal-goal{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.tools .cal-goal>span{color:var(--ink-soft);font-size:.95rem;font-weight:600}.tools .cal-stepper{background:var(--card);border-radius:999px;align-items:center;padding:2px;display:inline-flex}.tools .cal-stepper .circle{width:44px;height:44px;transition:transform .15s var(--ease-out)}.tools .cal-stepper .circle:not(:disabled):active{transform:scale(.9)}.tools .cal-stepper .circle svg{width:18px;height:18px}.tools .cal-stepper output{min-width:6.4em;color:var(--ink);text-align:center;font-size:1rem;font-weight:800}.tools .cal-list h3{margin-bottom:8px;font-size:1rem;font-weight:800}.tools .cal-list ul{border-radius:var(--r-l);background:var(--card);margin:0;padding:0;list-style:none;overflow:hidden}.tools .cal-list li{grid-template-columns:44px minmax(0,1fr) auto 44px;align-items:center;gap:12px;min-height:60px;padding:8px 6px 8px 12px;display:grid}.tools .cal-list li+li{box-shadow:inset 0 1px 0 var(--hair)}.tools .cal-list li[data-fresh]{animation:.42s cubic-bezier(.3,1.3,.6,1) both cal-row}@keyframes cal-row{0%{opacity:0;transform:translateY(-8px)}}.tools .cal-thumb{background:var(--field);width:44px;height:44px;color:var(--ink-faint);border-radius:10px;place-items:center;display:grid;overflow:hidden}.tools .cal-thumb img{object-fit:cover;width:100%;height:100%}.tools .yp-cal .cal-thumb svg{width:22px;height:22px}.tools .cal-row-say{min-width:0;display:grid}.tools .cal-row-say b{color:var(--ink);overflow-wrap:anywhere;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:.98rem;font-weight:700;line-height:1.25;display:-webkit-box;overflow:hidden}.tools .cal-row-say small{color:var(--ink-faint);font-size:.82rem;font-weight:500}.tools .cal-row-kcal{color:var(--ink);white-space:nowrap;font-size:.98rem;font-weight:800}.tools .yp-cal .cal-remove{width:44px;height:44px;color:var(--ink-faint);transition:color .15s var(--ease-out), background-color .15s var(--ease-out)}@media (hover:hover){.tools .yp-cal .cal-remove:hover{color:var(--ink);background:var(--pill)}}.tools .yp-cal .cal-remove svg{width:18px;height:18px}.tools .cal-empty{border-radius:var(--r-l);background:var(--card);color:var(--ink-soft);padding:16px;font-size:.95rem;line-height:1.4}.tools .cal-week ol{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0;padding:0;list-style:none;display:grid}.tools .yp-cal .cal-week li{justify-items:center;gap:6px;display:grid}.tools .cal-week .dot{background:var(--card);width:34px;height:34px;color:var(--ink-faint);border-radius:50%;place-items:center;display:grid}.tools .cal-week .dot svg{width:16px;height:16px}.tools .cal-week [data-state=logged] .dot{background:var(--accent);color:var(--accent-ink)}.tools .cal-week [data-state=logged] .dot svg{width:18px;height:18px}.tools .cal-week [data-state=today] .dot{box-shadow:inset 0 0 0 2px var(--ink-faint)}.tools .cal-week [data-state=missed] .dot{background:var(--hair);transform:scale(.6)}.tools .cal-week .day{color:var(--ink-faint);font-size:.78rem;font-weight:700}.tools .cal-week [data-state=today] .day,.tools .cal-week [data-state=logged]:last-of-type .day{color:var(--ink)}.tools .cal-week p{color:var(--ink-soft);text-align:center;margin-top:10px;font-size:.9rem;font-weight:600}.tools .cal-today>.cal-private{margin-top:-6px}@media (max-width:520px){.tools .cal-today{padding:14px}.tools .cal-today-head{padding:4px 4px 0}}@media (max-width:360px){.tools .cal-list li{gap:8px;padding-left:8px}}
.tools .yp-cal{--plate-top:#ffe9c7;--plate-low:#ffc9a8;--beam:#ffd54f;--hair:#00000012;--card:#fff;--field:#f2f2ef;--track:#00000012;--carbs:#e4be6e;--fat:#e5a288;--protein:#8daf8a;--streak:#ffa733;text-align:left;grid-template-columns:minmax(0,1fr);gap:16px;width:100%;display:grid}@media (min-width:880px){.tools .yp-cal{grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);align-items:stretch;gap:20px}}.tools .yp-cal .num{font-family:var(--round,inherit);font-variant-numeric:tabular-nums}.tools .yp-cal h2,.tools .yp-cal h3{color:var(--ink);margin:0}.tools .yp-cal h3:focus{outline:none}.tools .yp-cal svg{flex:none;display:block}.tools .yp-cal button{-webkit-tap-highlight-color:transparent}.tools .cal-stage{border-radius:var(--r-xl);flex-direction:column;justify-content:center;min-width:0;padding:20px;display:flex}.tools .cal-in{animation:cal-in .26s var(--ease-out) both}@keyframes cal-in{0%{opacity:0;transform:translateY(8px)scale(.985)}}.tools .cal-compose{text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex}.tools .cal-fox{transform-origin:50% 100%;flex:none;width:72px;height:72px;animation:3.4s ease-in-out infinite cal-bob;display:block}.tools .cal-fox-big{width:112px;height:112px;margin-bottom:-4px}@keyframes cal-bob{50%{transform:scale(1.02,1.04)}}.tools .cal-ask{letter-spacing:-.01em;font-size:1.6rem;font-weight:800;line-height:1.15}.tools .cal-field{background:var(--card);width:100%;max-width:520px;height:60px;box-shadow:var(--sel-shadow);transition:box-shadow .2s var(--ease-out);border-radius:999px;align-items:center;gap:10px;padding:6px 6px 6px 20px;display:flex}.tools .cal-field:focus-within{box-shadow:var(--sel-shadow), 0 0 0 2.5px var(--accent)}.tools .cal-field input{min-width:0;height:48px;color:var(--ink);font:inherit;background:0 0;border:0;outline:none;flex:1;padding:0;font-size:1.0625rem;font-weight:600}.tools .cal-field input::placeholder{color:var(--ink-faint);font-weight:500}.tools .cal-mic,.tools .cal-go{cursor:pointer;width:48px;height:48px;transition:transform .15s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out);border:0;border-radius:50%;flex:none;place-items:center;display:grid}.tools .cal-mic svg,.tools .cal-go svg{width:22px;height:22px}.tools .cal-mic{width:44px;height:44px;color:var(--ink-soft);background:0 0}@media (hover:hover){.tools .cal-mic:hover{color:var(--ink);background:var(--pill)}}.tools .cal-mic[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);animation:cal-listen 1.4s var(--ease-out) infinite}@keyframes cal-listen{0%{box-shadow:0 0 0 0 var(--green-ring,#0000001a)}to{box-shadow:0 0 0 12px #fff0}}.tools .cal-go{background:var(--accent);color:var(--accent-ink)}@media (hover:hover){.tools .cal-go:not(:disabled):hover{background:var(--accent-press)}}.tools .cal-go:disabled{background:var(--pill);color:var(--ink-faint);cursor:default}.tools .cal-mic:active,.tools .cal-go:not(:disabled):active{transform:scale(.94)}.tools .cal-note{border-radius:var(--r-m);background:var(--card);max-width:520px;color:var(--ink-soft);animation:cal-in .22s var(--ease-out) both;padding:10px 16px;font-size:.95rem;font-weight:500;line-height:1.4}.tools .cal-note.is-error{color:var(--ink)}.tools .cal-note a,.tools .cal-signin a:not(.btn-glass){font-weight:700}.tools .cal-signin{border-radius:var(--r-l);background:var(--card);text-align:left;width:100%;max-width:520px;color:var(--ink-soft);animation:cal-in .22s var(--ease-out) both;gap:12px;padding:16px;font-size:.95rem;line-height:1.45;display:grid}.tools .cal-signin b{color:var(--ink)}.tools .cal-signin>div{flex-wrap:wrap;gap:8px;display:flex}.tools .cal-signin .btn-glass{height:44px;font-size:1rem}.tools .cal-more{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.tools .yp-cal .cal-pill,.tools .yp-cal .cal-quiet{height:48px;color:var(--ink);justify-content:center;padding:0 18px;font-size:.98rem;font-weight:700}.tools .yp-cal .cal-pill{background:var(--card);box-shadow:0 0 0 1px var(--hair)}.tools .yp-cal .cal-quiet{background:var(--pill)}@media (hover:hover){.tools .yp-cal .cal-pill:hover{background:#fafafa}.tools .yp-cal .cal-quiet:hover{background:var(--pill-press)}}.tools .yp-cal .btn-glass svg{width:20px;height:20px}.tools .cal-picks{justify-items:center;gap:8px;display:grid}.tools .cal-picks p{color:var(--ink-faint);font-size:.85rem;font-weight:600}.tools .cal-picks ul{flex-wrap:wrap;justify-content:center;gap:6px;max-width:520px;margin:0;padding:0;list-style:none;display:flex}.tools .cal-picks button{height:44px;box-shadow:inset 0 0 0 1.5px var(--hair);color:var(--ink-soft);cursor:pointer;transition:background-color .15s var(--ease-out), color .15s var(--ease-out), transform .15s var(--ease-out);background:0 0;border:0;border-radius:999px;padding:0 16px;font-size:.92rem;font-weight:600}@media (hover:hover){.tools .cal-picks button:hover{background:var(--card);color:var(--ink)}}.tools .cal-picks button:active,.tools .yp-cal .btn-glass:active{transform:scale(.97)}.tools .cal-private{color:var(--ink-faint);text-align:center;font-size:.82rem;font-weight:500}@media (max-width:520px){.tools .cal-stage{padding:18px 14px}.tools .cal-ask{font-size:1.4rem}.tools .cal-fox-big{width:96px;height:96px}.tools .cal-field{height:56px;padding-left:16px}}@media (max-width:360px){.tools .cal-more .cal-pill{flex:100%}.tools .cal-stage{padding-inline:10px}.tools .cal-field{gap:0;padding-left:14px}.tools .cal-field input{font-size:1rem}.tools .cal-field .cal-go{width:44px;height:44px}}.tools .cal-stage:not([data-phase=compose]){justify-content:flex-start}@media (min-width:880px){.tools .cal-stage:not([data-phase=compose])>.cal-look{position:sticky;top:92px}}
