/* unLTD. Baking Studio: the few extras this app needs on top of the shared styles.css. Same tokens, no new look. */
h1 { overflow-wrap: anywhere; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.row-head h2 { margin: 0; }
.back { margin: -.3rem 0 .2rem -.8rem; }
.sample-note { margin: 0 0 1rem; font-size: .82rem; color: var(--muted); }
.sample-note .tag { margin-right: .35rem; }

/* Recipe and order lines */
.line { display: grid; gap: .7rem; }
.line-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 2.75rem; gap: .6rem; align-items: end; }
.line-row.qty { grid-template-columns: minmax(0, 1fr) 2.75rem; }
.line-out { margin: 0; font-size: .82rem; color: var(--muted); }
.line-out b { font-weight: 400; color: #fff; }

/* Money fields with a longer currency sign */
.affix.pre.wide > input { padding-left: 3.4rem; }

/* Lists that carry a second line on the right */
.item-end small { display: block; font-size: .76rem; font-weight: 300; color: var(--muted); }
.item-main b, .item-main span { white-space: normal; overflow-wrap: anywhere; }   /* names and pack details are shown in full, not cut with dots */
.item-main .tag { justify-self: start; font-style: normal; margin-top: .3rem; }
.shop .item { align-items: flex-start; }
.shop .item-main { min-height: 0; }
.shop .item-main span { white-space: normal; }
.shop .item-end b { font-weight: 400; font-size: 1.05rem; }

/* Quote card */
.quote h2 { overflow-wrap: anywhere; }
.rows dt { overflow-wrap: anywhere; }
.under { margin-top: .8rem; }
.under .btn-row { margin-bottom: .8rem; }

/* Two result cards side by side on wide screens */
.duo { display: grid; gap: 1rem; margin-top: 1rem; align-items: start; }
.duo > .card + .card { margin-top: 0; }
@media (min-width: 860px) { .duo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; } }

/* Date needs the full width on a phone so the hint is not cut off. */
@media (max-width: 480px) { .who-when { grid-template-columns: 1fr; } }
