:root{--home:#174c45;--ink:#193631;--paper:#f5f7f3}body{background:var(--paper);color:var(--ink);font-family:system-ui,sans-serif}.navbar{background:var(--home);padding:1rem 0}.navbar-brand small{display:block;font-size:.65rem;letter-spacing:.04em;opacity:.8}.card{border:1px solid #dce4dc;border-radius:1rem;box-shadow:0 4px 16px #19363105}.btn{min-height:44px;padding:.6rem 1rem;border-radius:.65rem}.btn-primary{background:var(--home);border-color:var(--home)}.btn-primary:hover{background:#246e61;border-color:#246e61}h1{font-weight:750;letter-spacing:-.035em;margin-bottom:1.2rem}h2{font-size:1.35rem;margin-top:1rem}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:700;color:#536e63}.money{font-size:1.8rem;font-weight:700}.task-card{height:100%;padding:1.3rem}.task-card h2{font-size:1.2rem}.requirements{white-space:pre-line;line-height:1.8}.evidence{width:100%;height:180px;object-fit:cover;border-radius:.7rem}.calendar-day{min-height:125px;background:white;border:1px solid #dce4dc;border-radius:.65rem;padding:.6rem}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.4rem}.calendar-day a{display:block;font-size:.8rem;padding:.3rem 0}.form-label{font-weight:650}.table{background:white}video,canvas{max-width:100%;border-radius:.7rem}pre{white-space:pre-wrap;overflow-wrap:anywhere}a{color:#176a5b}.badge{white-space:normal}details{margin:.8rem 0}summary{cursor:pointer;font-weight:650}input,select,textarea{max-width:100%}.scroll-table{overflow-x:auto}.status-Approved{color:#14613c}.status-Disputed{color:#9d3524}.status-PendingApproval{color:#856400}@media(max-width:767px){.calendar-grid{grid-template-columns:1fr}.calendar-day{min-height:auto}.money{font-size:1.45rem}}@media print{header,footer,.no-print,button,form{display:none!important}body{background:white}.card{box-shadow:none;break-inside:avoid}a{color:inherit;text-decoration:none}.container{max-width:none}.calendar-grid{grid-template-columns:repeat(7,1fr)}}

.food-answer-form { max-width: 38rem; margin: 0 auto; }
.food-swipe-card { min-height: 16rem; justify-content: center; touch-action: pan-y; user-select: none; border: 2px solid #174c45; }
.food-answer-form .btn { min-height: 48px; }
.food-answer-form { max-width: 54rem; width: 100%; }
.food-deck { overflow: hidden; padding: 8px 0; }
.food-photo-card { position: relative; width: 100%; height: min(65vh, 680px); min-height: 340px; border: 0; border-radius: 24px; overflow: hidden; background: #d9e5dc; box-shadow: 0 12px 30px #133c4526; transition: transform .22s ease, opacity .2s; cursor: grab; }
.food-photo-card.dragging { transition: none; cursor: grabbing; }
.food-card-image { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.food-card-caption { position: absolute; inset: auto 0 0; padding: 4rem 1.5rem 1.5rem; color: white; background: linear-gradient(transparent, #102824ed); pointer-events: none; }
.food-card-caption h2 { font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 750; margin: 0; }
.food-card-caption p { margin: .4rem 0 0; }
.food-photo-placeholder { height: 100%; display: grid; align-content: center; text-align: center; padding-bottom: 6rem; color: #49695e; background: radial-gradient(ellipse at top, #f6f5df, #acc8b5); }
.food-photo-placeholder span { font-size: 4rem; }
.food-stamp { position: absolute; top: 2rem; border: 4px solid; border-radius: 8px; padding: .4rem .8rem; font-size: 2rem; font-weight: 800; opacity: 0; background: #ffffffeb; pointer-events: none; }
.food-stamp-like { left: 1rem; color: #08734b; transform: rotate(-12deg); }
.food-stamp-dislike { right: 1rem; color: #b32949; transform: rotate(12deg); }
.swipe-like .food-stamp-like, .swipe-dislike .food-stamp-dislike { opacity: 1; }
.food-saving { opacity: .6; pointer-events: none; }
.food-action-bar { display: flex; justify-content: center; align-items: center; gap: clamp(.3rem, 2vw, 1.3rem); }
.food-round { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .3rem; border: 0; color: #193e35; }
.food-round span { display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; width: clamp(46px, 10vw, 76px); height: clamp(46px, 10vw, 76px); font-size: 2rem; background: white; box-shadow: 0 4px 12px #12382d14; }
.food-round small { font-size: .75rem; }
.food-no { color: #ba3150; order: 1; }.food-try { color: #286aa4; order: 2; }.food-yes { color: #08734b; order: 3; }.food-never { order: 4; }.food-allergy { color: #9b4212; order: 5; }
.food-admin-thumb { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 1rem; }
.food-admin-thumb[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .food-photo-card { transition: none; } }
/* Focused swiping keeps the main navigation available and fits the card to the viewport. */
body.food-focus { height: 100vh; height: 100dvh; min-height: 480px; display: flex; flex-direction: column; }
.food-focus > header { flex: 0 0 auto; }
.food-focus > footer { display: none; }
.food-focus > main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; width: 100%; max-width: 920px; padding: .5rem .75rem max(.5rem, env(safe-area-inset-bottom)) !important; }
.food-focus #food-swipe-screen { flex: 1; min-height: 0; }
.food-focus .food-answer-form { height: 100%; display: flex; flex-direction: column; }
.food-focus .food-deck { flex: 1 1 auto; min-height: 120px; padding: 0; }
.food-focus .food-photo-card { height: 100%; min-height: 0; border-radius: 20px; }
.food-focus #swipe-help { margin: .35rem 0 !important; }
.food-focus .food-action-bar { flex: 0 0 auto; margin-bottom: 0 !important; }
.food-focus #food-save-status { flex: 0 0 auto; margin: .25rem 0 0; font-size: .85rem; }
.food-focus #food-save-status:empty { display: none; }
.food-focus .alert { flex-shrink: 0; margin: .3rem 0; padding: .5rem; }
.food-focus .food-card-caption { padding-top: 2.5rem; }
