@import url("/_shared/layout.css");
#recipe-in { font: 15px/1.7 var(--body); min-height: 280px; }
.factor-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 18px; }
.fchip { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px 12px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font: 750 28px/1 var(--display); color: var(--ink); transition: border-color .15s, background .15s, transform .15s var(--ease); }
.fchip small { font: 500 12px/1.2 var(--body); color: var(--muted); }
.fchip:hover { border-color: #cfccd9; transform: translateY(-1px); }
.fchip[aria-checked="true"] { border-color: var(--c2); background: var(--soft); color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c2) 14%, transparent); }
.fchip[aria-checked="true"] small { color: var(--brand); }
.serv-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin-top: 18px; }
.serv-arrow { font: 600 24px/48px var(--body); color: var(--muted); }
.result-card { padding: 24px; }
.result-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.title-input { border: 0 !important; padding: 4px 0 !important; min-height: 0 !important; font: 700 22px/1.2 var(--display) !important; box-shadow: none !important; background: transparent !important; }
.title-input:focus { box-shadow: 0 2px 0 var(--c2) !important; }
#factor-big { font-size: 44px; flex: none; }
.result-card.pop #factor-big { animation: qbump .4s var(--ease); }
@keyframes qbump { 0% { transform: scale(.8); opacity: .4; } 60% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.result-list { list-style: none; padding: 0; margin: 0; font-size: 16px; line-height: 1.5; }
.result-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.result-list li:last-child { border-bottom: 0; }
.result-list li.blank { border: 0; padding: 4px 0; }
.result-list li.heading { font-weight: 700; padding-top: 14px; border: 0; }
.result-list li.kept-line { color: var(--muted); }
.result-list b.q { font-weight: 700; color: var(--brand); }
.result-list .qty-rounded { font-weight: 700; color: var(--brand); text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.badge { display: inline-flex; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--field); color: var(--muted); font-size: 12px; font-weight: 600; vertical-align: 1px; }
#egg-note { margin-top: 14px; }
.custom-pan { margin-top: 10px; }
@media (max-width: 640px) {
  .factor-chips { grid-template-columns: repeat(4, 1fr); }
  .fchip { font-size: 24px; padding: 12px 4px 10px; }
  .serv-grid { grid-template-columns: 1fr; }
  .serv-arrow { display: none; }
}
@media print {
  body > *:not(main), main > *:not(.app), .two-col > div:first-child, .sticky-col .step-n, .sticky-col .step-h, .sticky-col .row, #factor-note { display: none !important; }
  .two-col { display: block; }
  .result-card { border: 0; box-shadow: none; }
}
