/* Talk (public/ui/talk.js): say what is on a shelf, check the lines, save. */
.tflow { margin: 0 0 .9rem; }
#tloc, #tkind { margin-bottom: .6rem; }
.tmicwrap { display: grid; gap: .6rem; margin: .4rem 0 .4rem; }
.tmic { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 64px; border-radius: 999px; font-size: 1.1rem; font-weight: 600;
  background: var(--card); border: 2px solid var(--brand-2); color: var(--brand-2); }
.tmic .ion-ic { width: 28px; height: 28px; }
.tmic.on { background: var(--bad); border-color: var(--bad); color: #fff; animation: tpulse 1.6s ease-in-out infinite; }
@keyframes tpulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bad) 45%, transparent); } 50% { box-shadow: 0 0 0 12px transparent; } }
@media (prefers-reduced-motion: reduce) { .tmic.on { animation: none; } }
html[data-motion="off"] .tmic.on { animation: none; }
#ttext { width: 100%; font-size: 1.05rem; min-height: 5.5rem; resize: vertical; }

.tlist { padding: 0; }
.tlist .tline { flex-wrap: nowrap; }
.tline .grow { flex: 1; min-width: 0; }
.tline { display: flex; align-items: center; gap: .6rem; padding: .55rem .2rem; border-bottom: 1px solid var(--line); list-style: none; }
.tline:last-child { border-bottom: 0; }
.tline.off { opacity: .45; }
.tline.off .tname { text-decoration: line-through; }
.tpic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; }
.tname { font-weight: 600; line-height: 1.2; }
.tsub { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .5rem; margin-top: .2rem; }
.tkind { font-size: .85rem; padding: .15rem .4rem; min-height: 30px; width: auto; }
.tchg { display: inline-flex; align-items: center; gap: .25rem; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tchg s { opacity: .7; }
.tchg b { color: var(--ink); font-size: 1rem; }
.tchg .ion-ic { width: 14px; height: 14px; }
.tchg.new { color: var(--ok); }
.tchg.bad { color: var(--bad); }
.tsaid { margin-top: .15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
.tstep { flex: none; display: flex; align-items: center; gap: .3rem; }
.tstep b { min-width: 1.8rem; text-align: center; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.tstep button { min-width: 34px; padding: .2rem .45rem; font-size: 1.1rem; }
.tx { flex: none; min-width: 34px; padding: .2rem .4rem; color: var(--muted); }
.tline.k-use .tkind, .tline.k-discard .tkind, .tline.k-out .tkind { color: var(--warn); }
.tline.k-add .tkind, .tline.k-count .tkind { color: var(--ok); }
.tsave { margin-top: .4rem; }
.tsiri .list { padding: 0; margin: .3rem 0 0; }
.tsay { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; list-style: none; }
.tsay img { flex: none; }

/* The Talk button next to the Pantry heading. */
.talkbtn { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.talkbtn .ion-ic { width: 18px; height: 18px; }

/* "Made it" on a recipe (public/ui/meals.js). */
.madeit { width: 100%; margin: .8rem 0 0; }
.mtake { padding: 0; }
.mtake li { flex-wrap: nowrap; }
.mtake .grow { flex: 1; min-width: 0; }
.mtake li { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--line); list-style: none; }
.mtake li:last-child { border-bottom: 0; }
.mtake .grow .small { display: block; }
.mtake li.zero .tname { opacity: .55; }
.talkrow { display: flex; justify-content: center; width: 100%; margin: .1rem 0 .8rem; }
