/* ALEEY – Essen page + food finder, matching the home screen (glass, sand, calm). */

/* ---------- Page ---------- */
.fd-head { margin: 4px 0 14px; text-align: center; }
.fd-head h1 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.05em; color: var(--ink); }

.glassy, .fd-sum, .fm-card, .fd-tpl, .pan-idea, .diary-more, .fd-actions button {
  background: #fffaf466; border: 1px solid #ffffffa6;
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 #ffffffcc, 0 12px 28px #0000000d;
}
.fd-sum { display: grid; justify-items: center; gap: 4px; padding: 20px 20px 18px; border-radius: 30px; }
.fd-sum .deck-big { position: relative; display: inline-block; }
.fd-sum .deck-big .bignum { font-size: 64px; }
.fd-sum .deck-big small { position: absolute; left: calc(100% + 6px); bottom: 6px; font-size: 17px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.fd-goal { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 550; padding: 4px 8px; border-radius: 10px; }
.fd-goal b { color: var(--ink); font-weight: 650; }
.fd-goal svg { width: 13px; height: 13px; opacity: .6; }
.fd-goal-form { display: flex; gap: 8px; margin: 6px 0 2px; }
.fd-goal-form input { width: 110px; height: 40px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: 600 16px/1 inherit; background: #ffffffb3; color: var(--ink); text-align: center; }
.fd-goal-form button { height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 650; }
.fd-sum .mix { margin-top: 16px; }

.fd-actions { display: flex; justify-content: center; gap: 14px; margin: 18px 0 8px; }
.fd-actions button { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; color: var(--ink); transition: transform .15s ease; }
.fd-actions button:active { transform: scale(.94); }
.fd-actions button svg { width: 25px; height: 25px; }
.fd-actions button.primary { width: 76px; background: var(--ink); color: #fff; border-color: transparent; box-shadow: 0 12px 26px #00000026; }
.fd-note { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 12px; }

.fd-meals { display: grid; gap: 10px; margin-top: 14px; }
.fm-card { padding: 14px 14px 10px 16px; border-radius: 24px; }
.fm-card.empty { padding-bottom: 14px; }
.fm-head { display: flex; align-items: center; gap: 12px; }
.fm-no { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: #ffffffb3; font-family: 'Outfit', -apple-system, sans-serif; font-size: 13px; font-weight: 400; color: var(--muted); box-shadow: 0 0 0 1px #0000000a; }
.fm-title { display: grid; gap: 1px; flex: 1; min-width: 0; }
.fm-title b { font-size: 15.5px; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.fm-title small { font-size: 12px; color: var(--muted); }
.fm-add { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; }
.fm-add svg { width: 18px; height: 18px; }
.fm-card.empty .fm-add { background: #ffffffb3; color: var(--ink); box-shadow: 0 0 0 1px #00000014; }
.fm-list { list-style: none; margin: 10px 0 0; padding: 0; }
.fm-list li { display: flex; align-items: center; gap: 4px; border-top: 1px solid #0000000d; }
.fm-item { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 10px 0; border: 0; background: none; text-align: left; color: var(--ink); }
.fm-name { display: grid; gap: 2px; flex: 1; min-width: 0; }
.fm-name b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-name small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-kcal { font-family: 'Outfit', -apple-system, sans-serif; font-size: 16px; font-weight: 400; font-variant-numeric: tabular-nums; }
.fm-del { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: #a9a9a5; font-size: 18px; }
.fm-save { margin-top: 4px; }
.fm-save summary { list-style: none; cursor: pointer; padding: 6px 0 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.fm-save summary::-webkit-details-marker { display: none; }
.fm-save form { display: flex; gap: 8px; margin-top: 6px; }
.fm-save input { flex: 1; height: 40px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #ffffffb3; color: var(--ink); }
.fm-save button { height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--ink) !important; color: #fff !important; font-weight: 650; }
.fd-addmeal { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 48px; margin-top: 10px; border: 1.5px dashed #00000022; border-radius: 18px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 650; }
.fd-addmeal svg { width: 16px; height: 16px; }
.fd-sec { margin: 26px 4px 10px; font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.fd-templates { display: flex; gap: 10px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 8px; scrollbar-width: none; }
.fd-templates::-webkit-scrollbar { display: none; }
.fd-tpl { position: relative; flex: 0 0 auto; border-radius: 18px; }
.fd-tpl > button:first-child { display: grid; gap: 2px; min-width: 150px; padding: 12px 34px 12px 14px; border: 0; background: none; text-align: left; color: var(--ink); }
.fd-tpl b { font-size: 14px; font-weight: 650; }
.fd-tpl small { font-size: 11.5px; color: var(--muted); }
.fd-tpl-del { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: #a9a9a5; }
.pan-idea { border-radius: 22px !important; }
.diary-more { border-radius: 20px !important; margin-top: 10px; }

/* ---------- Finder sheet ---------- */
.modal-backdrop:has(.ff-sheet) { background: #0000002e; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); align-items: end; padding: 0; }
.food-finder.ff-sheet {
  width: min(520px, 100%) !important; border-radius: 30px 30px 0 0 !important; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)) !important;
  background: #fbf8f4f2 !important; box-shadow: 0 -12px 40px #0000001f !important;
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  animation: ffUp .34s cubic-bezier(.32,.72,0,1);
}
@keyframes ffUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.ff-sheet::before { content: ""; display: block; width: 38px; height: 5px; margin: 0 auto 10px; border-radius: 3px; background: #d6d1ca; }
.ff-sheet .finder-header { align-items: center; margin-bottom: 12px; }
.ff-sheet .finder-header small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ff-sheet .finder-header h2 { margin: 2px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.045em; }
.ff-sheet .finder-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #0000000d; color: var(--ink); font-size: 20px; }
.ff-tabs { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 4px; border-radius: 16px; background: #0000000d; margin-bottom: 14px; }
.ff-tabs button { display: grid; place-items: center; height: 42px; border: 0 !important; border-radius: 12px !important; background: transparent !important; color: var(--muted) !important; }
.ff-tabs button svg { width: 21px; height: 21px; }
.ff-tabs button.active { background: #fff !important; color: #141414 !important; box-shadow: 0 2px 8px #00000014; }
.ff-sheet .finder-search { border-radius: 16px !important; background: #ffffffcc !important; border: 1px solid #0000000f !important; }
.ff-sheet .food-search-form .button, .ff-sheet .button, .ff-sheet .button.accent { background: var(--ink) !important; color: #fff !important; border-radius: 14px !important; }
.ff-sheet .food-shortcuts button { border-radius: 12px !important; }
.ff-sheet .food-shortcuts button.active { background: var(--ink) !important; color: #fff !important; }
.ff-sheet .finder-result, .ff-sheet .saved-result, .ff-sheet .database-result { border-radius: 16px !important; background: #ffffffb3 !important; border: 1px solid #0000000a !important; }
.ff-sheet .result-glyph { background: #f1ede8 !important; color: var(--ink) !important; border-radius: 12px !important; }
.ff-sheet .scan-area { display: grid; justify-items: center; gap: 12px; text-align: center; }
.ff-sheet #barcodeReader { width: 100%; border-radius: 22px; overflow: hidden; background: #111; min-height: 0; }
.ff-sheet .scan-camera { display: grid; place-items: center; width: 64px; height: 64px; border: 0; border-radius: 22px; background: var(--ink) !important; color: #fff !important; }
.ff-sheet .scan-camera svg { width: 26px; height: 26px; }
.ff-sheet .scan-status { font-size: 13px; color: var(--muted); }
.ff-sheet #barcodeForm { display: flex; gap: 8px; width: 100%; }
.ff-sheet #barcodeForm input { flex: 1; height: 46px; border-radius: 14px; border: 1px solid #00000014; padding: 0 14px; background: #ffffffcc; font-size: 15px; }
.ff-sheet .product-panel { background: #ffffffb3 !important; border-radius: 22px !important; }
.ff-sheet .portion-options button.active { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }

.ff-manual { display: grid; gap: 10px; }
.ff-name input { width: 100%; height: 54px; border: 1px solid #0000000f; border-radius: 16px; padding: 0 16px; background: #ffffffcc; font-size: 17px; font-weight: 600; color: var(--ink); }
.ff-hint { margin: 2px 2px 0; font-size: 12px; color: var(--muted); }
.ff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ff-grid.two { grid-template-columns: 1fr 1fr; }
.ff-num { display: grid; gap: 4px; padding: 10px 10px 8px; border-radius: 16px; background: #ffffffcc; border: 1px solid #0000000a; }
.ff-num span { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.ff-num input { width: 100%; border: 0; background: none; padding: 0; font-family: 'Outfit', -apple-system, sans-serif; font-size: 22px; font-weight: 400; color: var(--ink); outline: none; }
.ff-more summary { list-style: none; cursor: pointer; padding: 6px 2px; font-size: 13px; font-weight: 650; color: var(--muted); }
.ff-more summary::-webkit-details-marker { display: none; }
.ff-more summary::before { content: "+ "; }
.ff-more[open] summary::before { content: "– "; }
.ff-more label { display: grid; gap: 4px; margin-top: 8px; font-size: 11.5px; font-weight: 650; color: var(--muted); }
.ff-more input { height: 44px; border: 1px solid #0000000f; border-radius: 14px; padding: 0 12px; background: #ffffffcc; font-size: 15px; color: var(--ink); }
.ff-submit { height: 52px; margin-top: 6px; border: 0; border-radius: 26px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 650; }

/* ---------- Dark mode ---------- */
body.aleey-dark .fd-sum, body.aleey-dark .fm-card, body.aleey-dark .fd-tpl, body.aleey-dark .pan-idea, body.aleey-dark .diary-more, body.aleey-dark .fd-actions button {
  background: #ffffff10 !important; border-color: #ffffff1c !important; box-shadow: inset 0 1px 0 #ffffff14, 0 14px 30px #0000002e !important; color: var(--ink);
}
body.aleey-dark .fd-actions button.primary { background: #f2f2ef !important; color: #141414 !important; }
body.aleey-dark .fm-no { background: #ffffff14; box-shadow: none; }
body.aleey-dark .fm-add { background: #f2f2ef; color: #141414; }
body.aleey-dark .fm-card.empty .fm-add { background: #ffffff1a; color: var(--ink); box-shadow: none; }
body.aleey-dark .fm-list li { border-top-color: #ffffff12; }
body.aleey-dark .fm-del, body.aleey-dark .fd-tpl-del { color: #77787b; }
body.aleey-dark .fd-addmeal { border-color: #ffffff26; }
body.aleey-dark .fd-goal-form input, body.aleey-dark .fm-save input { background: #ffffff14; border-color: #ffffff1f; color: var(--ink); }
body.aleey-dark .fd-goal-form button, body.aleey-dark .fm-save button { background: #f2f2ef !important; color: #141414 !important; }
body.aleey-dark .pan-idea strong, body.aleey-dark .pan-idea span, body.aleey-dark .diary-more summary { color: var(--ink); }
body.aleey-dark .pan-idea small, body.aleey-dark .diary-more p { color: var(--muted); }
body.aleey-dark .diary-more select, body.aleey-dark .diary-more input { background: #ffffff14; color: var(--ink); border-color: #ffffff1f; }
body.aleey-dark .food-finder.ff-sheet { background: #1b1c1ff2 !important; color: var(--ink); }
body.aleey-dark .ff-sheet::before { background: #ffffff2e; }
body.aleey-dark .ff-sheet .finder-close, body.aleey-dark .ff-tabs { background: #ffffff14; color: var(--ink); }
body.aleey-dark .ff-tabs button.active { background: #f2f2ef !important; color: #141414 !important; }
body.aleey-dark .ff-sheet .finder-search, body.aleey-dark .ff-sheet .finder-result, body.aleey-dark .ff-sheet .saved-result, body.aleey-dark .ff-sheet .database-result,
body.aleey-dark .ff-sheet .product-panel, body.aleey-dark .ff-num, body.aleey-dark .ff-name input, body.aleey-dark .ff-more input, body.aleey-dark .ff-sheet #barcodeForm input {
  background: #ffffff10 !important; border-color: #ffffff1a !important; color: var(--ink) !important;
}
body.aleey-dark .ff-sheet input { color: var(--ink); }
body.aleey-dark .ff-sheet .result-glyph { background: #ffffff1a !important; color: var(--ink) !important; }
body.aleey-dark .ff-sheet, body.aleey-dark .ff-sheet strong, body.aleey-dark .ff-sheet h2, body.aleey-dark .ff-sheet b { color: var(--ink); }
body.aleey-dark .ff-sheet small, body.aleey-dark .ff-sheet p { color: var(--muted); }
body.aleey-dark .ff-submit, body.aleey-dark .ff-sheet .button, body.aleey-dark .ff-sheet .scan-camera { background: #f2f2ef !important; color: #141414 !important; }

/* ---------- Velvet: softer, sandier, more grain everywhere ---------- */
body::after { opacity: .55 !important; mix-blend-mode: soft-light !important; background-size: 120px 120px; }
body.aleey-dark::after { opacity: .45 !important; mix-blend-mode: overlay !important; }
.bg-motion { filter: saturate(.85) contrast(.92); }
.fd-goal-form[hidden] { display: none !important; }
.fm-title, .fm-title b, .fm-title small { text-align: left; justify-items: start; }
.fm-head { text-align: left; }
.ff-sheet .food-shortcuts button { background: #ffffffb3 !important; color: var(--ink) !important; border: 1px solid #0000000f !important; }
.ff-sheet .food-shortcuts button.active { background: var(--ink) !important; color: #fff !important; }
body.aleey-dark .ff-sheet .food-shortcuts button { background: #ffffff12 !important; color: var(--ink) !important; border-color: #ffffff1a !important; }
body.aleey-dark .ff-sheet .food-shortcuts button.active { background: #f2f2ef !important; color: #141414 !important; }
.ff-sheet .product-kcal strong, .ff-sheet .portion-preview strong { font-family: 'Outfit', -apple-system, sans-serif; font-weight: 400; }

/* ---------- v2: simpler meals, swipe to delete, bloom actions, calm search list ---------- */
.fd-meals { gap: 12px; margin-top: 18px; }
.fm-wrap { position: relative; border-radius: 24px; }
.fm-swipe-del { position: absolute; top: 0; bottom: 0; z-index: 0; width: 84px; border: 0; border-radius: 24px; background: #c2412f; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em; opacity: 0; transform: scale(.86); transition: opacity .18s, transform .32s cubic-bezier(.32,.72,0,1); }
.fm-swipe-del.left { left: 0; } .fm-swipe-del.right { right: 0; }
.fm-wrap.swiped .fm-swipe-del { z-index: 2; }
.fm-wrap.show-left .fm-swipe-del.left, .fm-wrap.show-right .fm-swipe-del.right { transform: scale(1); }
.fm-wrap.show-left .fm-swipe-del.left, .fm-wrap.swiped.show-left .fm-swipe-del.left { opacity: 1; }
.fm-wrap.show-right .fm-swipe-del.right, .fm-wrap.swiped.show-right .fm-swipe-del.right { opacity: 1; }
.fm-card { position: relative; z-index: 1; padding: 16px 14px 12px 18px; touch-action: pan-y; transition: transform .32s cubic-bezier(.32,.72,0,1); }
.fm-card.dragging { transition: none; }
.fm-card.empty { padding: 14px 14px 14px 18px; }
.fm-head { cursor: pointer; gap: 10px; }
.fm-no { display: none; }
.fm-title b { font-size: 16.5px; }
.fm-total { flex: none; font-family: 'Outfit', -apple-system, sans-serif; font-size: 20px; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.fm-total small { font-family: -apple-system, sans-serif; font-size: 11px; color: var(--muted); font-weight: 600; }
.fm-add { width: 36px; height: 36px; }
.fm-card:not(.empty) .fm-add { background: #ffffffb3; color: var(--ink); box-shadow: 0 0 0 1px #00000014; }
.fm-card.empty .fm-add { background: var(--ink); color: #fff; box-shadow: none; }
.fm-list { margin-top: 8px; }
.fm-item { padding: 9px 0; }
.fm-kcal { font-size: 15px; color: #5f5f5b; }
.fm-save summary { padding-top: 4px; }
.fd-addmeal { width: 100%; height: 64px; margin-top: 12px; border: 1.6px dashed #00000026; border-radius: 22px; color: var(--muted); }
.fd-addmeal svg { width: 22px; height: 22px; }
.ma-src { transform: rotate(45deg) scale(.9); transition: transform .25s ease; }
.fm-add { transition: transform .25s ease; }

.ma-overlay { position: fixed; inset: 0; z-index: 70; }
.ma-back { position: absolute; inset: 0; background: #f7f3ee00; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background .3s ease, backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease; }
.ma-overlay.open .ma-back { background: #f7f3ee80; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ma-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding-bottom: 40px; pointer-events: none; }
.ma-row { display: flex; justify-content: center; gap: 20px; pointer-events: auto; }
.ma-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); opacity: 0; transition: opacity .3s ease .1s; }
.ma-overlay.open .ma-title { opacity: 1; }
.ma-btn { position: relative; display: grid; place-items: center; gap: 4px; width: 76px; height: 76px; margin: 0; padding-top: 6px; border: 1px solid #ffffffcc; border-radius: 24px;
  background: #ffffffd9; color: var(--ink); box-shadow: 0 14px 34px #00000024; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform: translate(var(--fx), var(--fy)) scale(.2); opacity: 0;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1) var(--d), opacity .25s ease var(--d); }
.ma-btn svg { width: 25px; height: 25px; }
.ma-btn small { font-size: 10.5px; font-weight: 650; color: var(--muted); }
.ma-btn.primary { background: var(--ink); color: #fff; border-color: transparent; }
.ma-btn.primary small { color: #ffffffb3; }
.ma-overlay.open .ma-btn { transform: none; opacity: 1; }
.ma-overlay.closing .ma-btn { transition: transform .22s ease-in, opacity .2s ease-in; transform: translate(var(--fx), var(--fy)) scale(.2); opacity: 0; }
.ma-btn:active { transform: scale(.94) !important; }

/* calm result list in the sheet */
.ff-sheet .finder-result, .ff-sheet .saved-result, .ff-sheet .database-result { background: transparent !important; border: 0 !important; border-bottom: 1px solid #0000000d !important; border-radius: 0 !important; box-shadow: none !important; padding: 10px 2px !important; min-height: 0 !important; }
.ff-sheet .result-glyph { width: 38px !important; height: 38px !important; border-radius: 12px !important; }
.ff-sheet .result-glyph svg { width: 19px; height: 19px; }
.ff-sheet .result-arrow { opacity: .35; }
.ff-sheet .finder-caption { margin-top: 14px; font-size: 10.5px; letter-spacing: .12em; }

body.aleey-dark .fm-card:not(.empty) .fm-add { background: #ffffff14; color: var(--ink); box-shadow: none; }
body.aleey-dark .fm-card.empty .fm-add { background: #f2f2ef; color: #141414; }
body.aleey-dark .fm-kcal { color: #c9c9c6; }
body.aleey-dark .fd-addmeal { border-color: #ffffff2e; }
body.aleey-dark .ma-overlay.open .ma-back { background: #0d0e1080; }
body.aleey-dark .ma-btn { background: #26272bd9; border-color: #ffffff1f; color: var(--ink); }
body.aleey-dark .ma-btn.primary { background: #f2f2ef; color: #141414; }
body.aleey-dark .ma-btn.primary small { color: #14141499; }
body.aleey-dark .ff-sheet .finder-result, body.aleey-dark .ff-sheet .saved-result, body.aleey-dark .ff-sheet .database-result { background: transparent !important; border-bottom-color: #ffffff12 !important; }
.ma-overlay.prep .ma-btn, .ma-overlay.prep .ma-back { transition: none !important; }
.fm-card { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ---------- v3: centered, cleaner sheet + popup ---------- */
.ma-stage { justify-content: flex-start; padding: 34vh 0 0; gap: 16px; }
.ma-row { gap: 12px; }
.ma-btn { width: 80px; height: 80px; border-radius: 26px; padding: 0; gap: 5px; align-content: center; justify-items: center; }
.ma-btn svg { width: 26px; height: 26px; display: block; }
.ma-btn small { font-size: 11px; line-height: 1; }
.ma-title { font-size: 19px; font-weight: 650; text-align: center; }

.ff-sheet .finder-header { position: relative; justify-content: center; text-align: center; margin-bottom: 14px; }
.ff-sheet .finder-header > div { display: grid; justify-items: center; }
.ff-sheet .finder-header small { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ff-sheet .finder-header h2 { font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.ff-sheet .finder-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; font-size: 18px; }
.ff-sheet .food-search-form { display: block !important; margin: 0 0 12px; }
.ff-sheet .finder-search { display: flex !important; align-items: center; gap: 10px; height: 48px; padding: 0 16px !important; border-radius: 24px !important; background: #0000000a !important; border: 0 !important; box-shadow: none !important; }
.ff-sheet .finder-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.ff-sheet .finder-search input { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: none !important; font-size: 16px; padding: 0 !important; outline: none; box-shadow: none !important; }
.ff-sheet .food-shortcuts { display: flex !important; justify-content: center; gap: 2px; margin: 0 auto 6px; padding: 0; overflow: visible; }
.ff-sheet .food-shortcuts[hidden] { display: none !important; }
.ff-sheet .food-shortcuts button { height: 32px; padding: 0 14px !important; border: 0 !important; border-radius: 16px !important; background: transparent !important; color: var(--muted) !important; font-size: 13.5px; font-weight: 550; box-shadow: none !important; }
.ff-sheet .food-shortcuts button.active { background: #0000000f !important; color: var(--ink) !important; }
.ff-sheet .finder-empty { text-align: center; font-size: 13px; color: var(--muted); padding: 14px 20px 4px; background: none !important; border: 0 !important; }
.ff-sheet .finder-caption { text-align: center; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; color: var(--muted); margin: 16px 0 6px; }
.ff-sheet #quickResults, .ff-sheet #savedResults, .ff-sheet #onlineResults, .ff-sheet #frequentMeal { display: block; }
.ff-sheet .ff-row { display: grid !important; grid-template-columns: 1fr auto 32px; align-items: center; gap: 12px; width: 100%; padding: 11px 4px !important; border: 0 !important; border-bottom: 1px solid #0000000b !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; text-align: left; color: var(--ink); }
.ff-sheet .ff-row:last-child { border-bottom: 0 !important; }
.ff-row-t { display: grid; gap: 1px; min-width: 0; }
.ff-row-t strong { font-size: 15px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-row-t small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-row-k { display: grid; justify-items: end; font-family: 'Outfit', -apple-system, sans-serif; font-weight: 400; font-size: 17px; line-height: 1.05; }
.ff-row-k small { font-family: -apple-system, system-ui, sans-serif; font-size: 10.5px; color: var(--muted); }
.ff-row-plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0000000d; }
.ff-row-plus svg { width: 16px; height: 16px; }
.ff-row:active .ff-row-plus { background: var(--ink); color: #fff; }
body.aleey-dark .ff-sheet .finder-search, body.aleey-dark .ff-sheet .food-shortcuts button.active, body.aleey-dark .ff-row-plus { background: #ffffff14 !important; }
body.aleey-dark .ff-sheet .ff-row { border-color: #ffffff12 !important; }
