/* Menu costing template page: additions on top of /calculators/css/calculators.css and ../../css/templates.css.
   The two-up hero (the app's real menu sheet next to the template) and the mini tool's check badges. */

.hero-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 18px; align-items: start; margin-top: 8px; }
.hero-two .sheet { display: flex; flex-direction: column; }
.hero-two .tag { display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); padding: 10px 14px 0; }
.app-shot { padding: 10px 14px 0; }
.app-shot img { width: 100%; height: 300px; object-fit: cover; object-position: 50% 42%; border: 1.5px solid var(--line); border-radius: 10px; }
.tpl-shot .sheet-scroll { padding: 10px 0 0; }

.target-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 10px; font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.target-row input { width: 86px; font: inherit; padding: 7px 8px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.target-row input:focus { border-color: var(--orange); outline: none; }
.target-row small { font-weight: 600; color: var(--muted); }
.grade.on { background: #c8f5d9; } .grade.over { background: #f9c9c1; }
.need { background: var(--card); border: 1.5px dashed var(--navy); border-radius: 14px; padding: 12px 16px; margin-top: 16px; font-size: 0.92rem; color: #2c2c45; }
.need a { color: var(--navy); font-weight: 700; }

@media (max-width: 860px) {
  .hero-two { grid-template-columns: 1fr; }
  .app-shot img { height: 340px; }
}
@media (max-width: 720px) {
  .grade.on, .grade.over { min-width: 0; }
}

/* the tool needs more room than the 820px prose column */
#try { max-width: 1060px; }
#try > p, #try > h2 { max-width: 820px; }
.g-table th { white-space: nowrap; }
@media (max-width: 720px) { .g-table th { white-space: normal; } }
