.input-shell{display:flex;align-items:center;position:relative;min-width:0;border:1px solid var(--line);border-radius:11px;background:var(--paper);overflow:hidden}
.input-shell:focus-within{outline:2px solid #8c9b72;outline-offset:2px}
.input-shell input{width:100%;min-width:0;border:0;border-radius:0;background:transparent;box-shadow:none;padding-right:8px}
.input-shell input:focus{outline:0;box-shadow:none}
.input-unit{padding:0 12px 0 3px;color:var(--muted);font-size:.8rem;font-weight:500;white-space:nowrap}
.nourishment-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px;align-items:start}
.ci-food,.ci-drinks{min-width:0}.ci-food h3,.ci-sleep h3{font-size:.9rem;margin:0 0 5px}.ci-food-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px;min-height:65px}
.ci-food-caption,.ci-drink-caption{font-size:.73rem;color:var(--muted);line-height:1.4}.ci-food-options{gap:5px;margin-bottom:14px}.ci-food-options .option{padding:7px 10px;font-size:.73rem;min-height:34px}.ci-food-note textarea{min-height:85px;resize:vertical}
.ci-plate{width:62px;height:62px;border-radius:50%;border:5px solid #e7ddc8;background:#fffdf7;box-shadow:inset 0 0 0 2px #f3ecdE;position:relative;flex:none;overflow:hidden}
.ci-plate-food{position:absolute;width:35px;height:28px;left:8px;top:13px;background:#df9b64;border-radius:45% 50% 40% 45%;transform:scale(0);transition:transform .35s ease;transform-origin:center}
.ci-plate-leaf{position:absolute;background:#8f9a6e;width:16px;height:10px;border-radius:0 75% 0 75%;right:6px;top:7px;opacity:0;transition:opacity .3s}
.ci-plate[data-amount=little] .ci-plate-food{transform:scale(.5)}.ci-plate[data-amount=normal] .ci-plate-food{transform:scale(.8)}.ci-plate[data-amount=much] .ci-plate-food{transform:scale(1.1)}.ci-plate[data-amount=little] .ci-plate-leaf,.ci-plate[data-amount=normal] .ci-plate-leaf,.ci-plate[data-amount=much] .ci-plate-leaf{opacity:1}
.ci-drinks>.field{margin-bottom:9px}.ci-drink-scene{display:flex;align-items:center;gap:20px;min-height:142px}.ci-glass-art{display:flex;gap:8px;flex:none;padding:5px 0 4px 8px}.ci-glass{position:relative;width:70px;height:124px;border:3px solid #a3b8b4;border-top:2px solid #a3b8b4;border-radius:5px 5px 20px 20px;background:#edf4ef;overflow:hidden;transform:perspective(250px) rotateX(-3deg)}
.ci-glass:after{content:'';position:absolute;left:8px;top:9px;width:5px;height:85px;background:#ffffff88;border-radius:9px;pointer-events:none}.ci-water{position:absolute;bottom:0;left:0;width:100%;height:0;background:#92c8d0;transition:height .4s cubic-bezier(.2,.65,.3,1)}.ci-water>span{position:absolute;left:-15%;top:-4px;width:130%;height:9px;border-radius:50%;background:#b3dce1}.ci-slosh>span{animation:ci-wave .6s ease-out}.ci-glass-ticks{display:flex;flex-direction:column;justify-content:space-between;font-size:.59rem;color:var(--muted);padding:0 0 1px}.ci-drink-readout{display:flex;flex-direction:column;gap:5px;min-width:0}.ci-drink-readout>small{font-size:.7rem;color:var(--muted)}.ci-drink-total{font-size:1.35rem;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.ci-unknown .ci-glass{border-style:dashed;background:transparent}.ci-drink-adds{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}.ci-drink-adds .option{padding:6px 8px;min-height:30px;font-size:.72rem}.ci-drink-adds small{font-size:.62rem;color:var(--muted)}.ci-scale-note{font-size:.64rem;color:var(--muted);display:block}
.ci-sleep{display:grid;grid-template-columns:145px minmax(0,1fr);gap:26px;align-items:center}.ci-sleep-options{margin:10px 0 18px}.ci-sleep-scene{position:relative;width:140px;height:150px;background:#eeebdf;border-radius:48% 48% 43% 45%;overflow:hidden}.ci-moon{position:absolute;width:66px;height:66px;border-radius:50%;background:#dfb776;left:27px;top:25px;transform:rotate(-14deg)}.ci-moon:after{content:'';position:absolute;width:60px;height:60px;border-radius:50%;left:24px;top:-10px;background:#eeebdf}.ci-sleep-star{position:absolute;color:#af8c57;font-size:20px}.ci-star-one{right:20px;top:19px}.ci-star-two{left:18px;bottom:32px;font-size:15px}.ci-sleep-cloud{position:absolute;width:100px;height:28px;background:#e0dfce;border-radius:50%;bottom:20px;left:45px}.ci-sleep-scene[data-sleep=restless] .ci-moon{transform:rotate(13deg)}.ci-sleep-scene[data-sleep=short] .ci-moon{transform:scale(.8) rotate(-14deg)}.ci-sleep-scene[data-sleep=long] .ci-moon{transform:scale(1.1) rotate(-14deg)}.ci-moon{transition:transform .35s ease}.ci-settle{animation:ci-settle .45s ease-out}
@keyframes ci-wave{0%{transform:rotate(-5deg)}40%{transform:rotate(4deg)}75%{transform:rotate(-2deg)}100%{transform:rotate(0)}}@keyframes ci-settle{0%{transform:translateY(-5px)}100%{transform:translateY(0)}}
@media(max-width:650px){.nourishment-layout{grid-template-columns:1fr;gap:18px}.ci-drink-scene{min-height:135px}.ci-drinks{border-top:1px solid var(--line);padding-top:15px}.ci-sleep{grid-template-columns:1fr;gap:15px}.ci-sleep-scene{width:110px;height:105px;margin:auto}.ci-moon{top:12px;left:15px;width:55px;height:55px}.ci-moon:after{width:50px;height:50px}.ci-sleep-cloud{bottom:10px}.ci-sleep-options{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){.ci-water,.ci-plate-food,.ci-plate-leaf,.ci-moon{transition:none}.ci-slosh>span,.ci-settle{animation:none}}
.ci-measurements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px;padding:8px 0}
.ci-measurement{display:flex;gap:10px;align-items:center;min-width:0;min-height:96px}
.ci-measurement>.field{flex:1;min-width:0;margin:0}.ci-measurement .input-shell input{padding:10px 5px 10px 10px;font-variant-numeric:tabular-nums}.ci-measurement .input-unit{padding-right:8px;font-size:.69rem}.ci-measurement .field>span:first-child{font-size:.74rem}
.ci-measure-art{position:relative;flex:none;width:55px;height:66px;opacity:.45;transition:opacity .2s}
.ci-measure-known .ci-measure-art{opacity:1}
.ci-art-scale{height:55px;border:2px solid #b2b797;border-radius:14px;background:#e9e9d7;transform-origin:center bottom}
.ci-scale-display{position:absolute;top:7px;left:5px;right:5px;min-height:15px;padding:1px;background:#fffdf7;border:1px solid #c5c8b0;border-radius:4px;text-align:center;font-size:.62rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.2}
.ci-scale-foot{position:absolute;bottom:6px;width:11px;height:14px;border-radius:50%;background:#c7cbb1;transform:rotate(-12deg)}.ci-foot-left{left:10px}.ci-foot-right{right:10px;transform:rotate(12deg)}
.ci-thermometer-stem{position:absolute;width:15px;height:46px;left:20px;top:3px;border:2px solid #bba58a;border-radius:10px;background:#fffdf7;overflow:hidden}.ci-thermometer-liquid{position:absolute;bottom:0;left:3px;width:5px;height:0;background:#d89a77;border-radius:6px;transition:height .35s}.ci-thermometer-bulb{position:absolute;left:15px;bottom:3px;width:25px;height:25px;border:2px solid #bba58a;border-radius:50%;background:#e9dfcf}.ci-measure-known .ci-thermometer-liquid{height:68%}.ci-measure-known .ci-thermometer-bulb{background:#d89a77}
.ci-pressure-dial{position:absolute;top:7px;left:7px;width:42px;height:42px;border:3px solid #b2b797;border-radius:50%;background:#faf6ec}.ci-pressure-dial:after{content:'';position:absolute;width:5px;height:5px;top:15px;left:15px;border-radius:50%;background:#8d9278}.ci-pressure-dial>span{position:absolute;left:17px;top:6px;height:14px;width:2px;background:#8d9278;transform-origin:bottom;transform:rotate(-35deg)}.ci-pressure-tube{position:absolute;left:26px;bottom:1px;width:25px;height:21px;border-right:3px solid #b2b797;border-bottom:3px solid #b2b797;border-radius:0 0 15px 0}
.ci-heart-symbol{display:block;color:#c77e65;font-size:52px;line-height:66px;text-align:center;transform-origin:center}
.ci-oxygen-bubble{position:absolute;left:2px;top:10px;width:46px;height:46px;border:2px solid #99b9bc;background:#e5eff0;border-radius:50%;text-align:center;line-height:42px;font-size:20px;color:#62868a}.ci-oxygen-dot{position:absolute;right:0;top:3px;width:9px;height:9px;background:#b4d4d6;border-radius:50%}
.ci-measure-change .ci-art-scale{animation:ci-scale-rock .5s ease-out}.ci-measure-change .ci-heart-symbol{animation:ci-heart-beat .55s ease-out}.ci-measure-change .ci-pressure-dial>span{animation:ci-dial-tap .5s ease-out}.ci-measure-change .ci-oxygen-bubble{animation:ci-bubble-rise .5s ease-out}.ci-measure-change .ci-art-thermometer{animation:ci-settle .4s ease-out}
@keyframes ci-scale-rock{0%,100%{transform:rotate(0)}30%{transform:rotate(-4deg)}65%{transform:rotate(3deg)}}@keyframes ci-heart-beat{0%,100%{transform:scale(1)}30%{transform:scale(1.13)}60%{transform:scale(.97)}}@keyframes ci-dial-tap{0%,100%{transform:rotate(-35deg)}45%{transform:rotate(-5deg)}}@keyframes ci-bubble-rise{0%{transform:translateY(4px) scale(.96)}60%{transform:translateY(-3px)}100%{transform:translateY(0) scale(1)}}
@media(max-width:750px){.ci-measurements{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.ci-measurement{min-height:85px}.ci-measure-art{transform:scale(.9)}}
@media(max-width:420px){.ci-measurements{grid-template-columns:1fr}.ci-measurement{min-height:75px;gap:18px}.ci-measurement>.field{max-width:240px}}
@media(prefers-reduced-motion:reduce){.ci-measure-art,.ci-thermometer-liquid{transition:none}.ci-measure-change .ci-measure-art,.ci-measure-change .ci-heart-symbol,.ci-measure-change .ci-pressure-dial>span,.ci-measure-change .ci-oxygen-bubble{animation:none}}
