* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; background: #faf6ef; color: #2b2118; }
header.topbar { position: sticky; top: 0; z-index: 10; background: #7a3b12; color: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-top)); padding-top: calc(10px + env(safe-area-inset-top)); }
header.topbar h1 { margin: 0; font-size: 1.15rem; }
nav.tabs { display: flex; gap: 6px; margin-top: 8px; }
.tab { flex: 1; border: 0; border-radius: 10px; padding: 10px 4px; font-size: 0.95rem; background: rgba(255,255,255,0.18); color: #fff; }
.tab.active { background: #fff; color: #7a3b12; font-weight: 700; }
main { padding: 14px 14px 40px; max-width: 640px; margin: 0 auto; }
h1 { font-size: 1.5rem; margin: 0.4em 0 0.1em; }
h2 { font-size: 1.15rem; margin: 1.1em 0 0.4em; color: #7a3b12; }
.sub { color: #8a7a68; margin: 0 0 0.8em; }
.gsub { color: #8a7a68; font-size: 0.85rem; }
.hint { color: #8a7a68; font-size: 0.9rem; }
.note { background: #fff3df; border-left: 4px solid #e09a2b; padding: 8px 12px; border-radius: 0 8px 8px 0; }
.card { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); margin: 10px 0; }
.list { display: flex; flex-direction: column; gap: 8px; }
.dish { display: flex; flex-direction: row; align-items: center; gap: 12px; background: #fff; border: 1px solid #e8ddc9; border-radius: 12px; padding: 10px; font-size: 1.05rem; text-align: left; width: 100%; }
.dish-photo { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.dish-body { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; }
.dish.sug { cursor: default; }
.hero { width: 100%; max-height: 280px; object-fit: cover; border-radius: 12px; margin: 8px 0 4px; }
.addbtn { margin-top: 8px; background: #2e7d32; color: #fff; border: 0; border-radius: 8px; padding: 10px 14px; font-size: 0.95rem; font-weight: 700; }
.dish-name { font-weight: 700; }
.dish-meta { color: #8a7a68; font-size: 0.85rem; }
.back { border: 0; background: none; color: #7a3b12; font-size: 1rem; padding: 6px 0; }
.servrow { display: flex; align-items: center; justify-content: space-between; font-size: 1.1rem; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #7a3b12; background: #fff; color: #7a3b12; font-size: 1.4rem; line-height: 1; }
.servnum { font-size: 1.6rem; font-weight: 800; min-width: 2ch; text-align: center; }
ul.ings { list-style: none; padding: 0; margin: 0.4em 0; }
ul.ings li { background: #fff; border: 1px solid #eee2cc; border-radius: 8px; padding: 10px 12px; margin: 6px 0; }
ol.steps li { margin: 10px 0; line-height: 1.45; }
label { display: block; margin: 10px 0; font-weight: 600; }
label input, label textarea { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 1px solid #d8c9ac; border-radius: 8px; font-size: 1rem; font-weight: 400; font-family: inherit; }
button.primary { background: #7a3b12; color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font-size: 1.05rem; width: 100%; margin-top: 8px; }
.shopdish { display: block; padding: 8px 0; border-bottom: 1px solid #f0e6d2; font-weight: 600; }
.shopdish input { width: 20px; height: 20px; vertical-align: -4px; }
ul.ings label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 0; }
ul.ings input[type=checkbox] { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; }
ul.ings input[type=checkbox]:checked + span { text-decoration: line-through; color: #a89a83; }
.wminfo { font-size: 0.82rem; color: #1a6b2e; font-weight: 600; }
