.top { background: linear-gradient(180deg, #fff, var(--cream)); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1240px; margin: 0 auto; padding: 12px 16px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 10px; align-items: center; min-width: 0; }
.logo { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--sage); border-radius: 14px; font-size: 1.4rem; box-shadow: var(--shadow); }
.brand h1 { font-size: 1.2rem; line-height: 1.1; letter-spacing: -.01em; }
.brand p { font-size: .8rem; color: var(--ink-2); }
#listBtn b { background: #fff; color: var(--turmeric-d); border-radius: 999px; padding: 0 7px; margin-left: 4px; font-size: .8rem; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 14px 16px 0; display: grid; gap: 16px; }
h2 { font-size: 1.1rem; }

.picker { padding: 14px; }
.p-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.count { font-size: .85rem; font-weight: 700; color: var(--sage-d); background: var(--sage-l); padding: 2px 10px; border-radius: 999px; }
.search { display: flex; gap: 8px; position: relative; }
.search input { flex: 1; }
.sugg { position: absolute; z-index: 10; top: 46px; left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow-l); list-style: none; margin: 0; padding: 6px; max-height: 260px; overflow: auto; }
.sugg li { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.sugg li:hover, .sugg li.on { background: var(--sage-l); }
.sugg li small { color: var(--ink-2); font-weight: 500; }
.assume { display: grid; gap: 4px; margin: 12px 0 4px; font-size: .86rem; color: var(--ink-2); font-weight: 600; }
.assume label { display: flex; gap: 8px; align-items: center; }
.assume input { width: 18px; height: 18px; }
.grp { margin-top: 14px; }
.grp h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--sage-d); margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.grp .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip[aria-pressed="true"]::before { content: "\2713\00a0"; }
.p-foot { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); }

.filters { padding: 12px 14px; margin-bottom: 14px; display: grid; gap: 8px; }
.f-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.f-row .chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 260px; }
.sec { margin: 6px 0 22px; }
.sec-h { display: flex; align-items: baseline; gap: 10px; margin: 0 2px 10px; flex-wrap: wrap; }
.sec-h h2 { font-size: 1.25rem; }
.sec-h span { color: var(--ink-2); font-size: .88rem; }
.num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--turmeric); color: #2b1d04; font-weight: 800; font-size: .9rem; margin-right: 4px; }
.num.s { background: var(--sage); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rc { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.rc .imgbtn { border: 0; padding: 0; background: none; display: block; position: relative; }
.rc .rimg { aspect-ratio: 4 / 3; }
.rc .time { position: absolute; right: 8px; bottom: 8px; background: rgba(255,255,255,.94); border-radius: 999px; padding: 2px 9px; font-size: .74rem; font-weight: 800; }
.rc .badge { position: absolute; left: 8px; top: 8px; background: var(--sage); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 800; box-shadow: var(--shadow); }
.rc .badge.m { background: var(--turmeric); color: #2b1d04; }
.rc .bd { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.rc h3 { font-size: .93rem; line-height: 1.2; }
.bar { height: 6px; border-radius: 6px; background: var(--cream-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--sage); border-radius: 6px; }
.cov { font-size: .76rem; color: var(--ink-2); font-weight: 700; display: flex; justify-content: space-between; }
.miss-l { font-size: .78rem; color: var(--ink-2); }
.miss-l b { display: block; margin-bottom: 3px; color: var(--ink); }
.miss-l .pill { margin: 0 4px 4px 0; }
.rc .acts { margin-top: auto; display: grid; gap: 6px; }
.empty-msg { text-align: center; padding: 34px 16px; color: var(--ink-2); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.empty-msg b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.empty-msg .btn { margin-top: 12px; }
.more { display: block; margin: 12px auto 0; }

.ing li.miss { color: var(--turmeric-d); font-weight: 700; }
.ing li.miss em { font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; background: #FFE9BE; padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
.d-act { padding: 0 20px 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.d-act .btn { flex: 1 1 200px; }

.l-body { padding: 22px 20px 24px; }
.l-body h2 { font-size: 1.4rem; margin-bottom: 4px; }
.l-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.l-item.done span { text-decoration: line-through; opacity: .5; }
.l-item span { flex: 1; font-weight: 600; }
.l-item button { border: 0; background: none; font-size: 1.2rem; color: var(--ink-2); width: 30px; height: 30px; border-radius: 50%; }
.l-item button:hover { background: #FBE3D8; color: var(--danger); }
.l-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

@media (min-width: 560px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
  .wrap { grid-template-columns: 380px minmax(0, 1fr); align-items: start; padding-top: 22px; gap: 24px; }
  .picker { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

.jump { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: var(--shadow-l); font-weight: 700; font-size: .9rem; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
body { padding-bottom: 76px; }
@media (min-width: 1000px) { .jump { display: none; } body { padding-bottom: 0; } }
