:root {
  --bg: #f5f3ef;
  --card: #ffffff;
  --ink: #1d1b19;
  --muted: #7b756d;
  --line: #ece8e1;
  --accent: #c8102e;
  --accent-soft: #fde8eb;
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --warn: #b45309;
  --warn-soft: #fef3e2;
  --bad: #c8102e;
  --bad-soft: #fde8eb;
  --r: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Heebo", "Rubik", Arial, sans-serif; font-size: 16px; line-height: 1.35; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { opacity: .35; cursor: default; }

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; }
main { padding: 4px 16px calc(96px + var(--safe-b)); }

/* כותרת */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: calc(14px + var(--safe-t)) 18px 12px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.greet { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.date { color: var(--muted); font-size: 14px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }

h2 { font-size: 17px; margin: 22px 4px 8px; font-weight: 800; }
h2.first { margin-top: 8px; font-size: 22px; }
h3 { font-size: 14px; color: var(--muted); margin: 18px 4px 6px; font-weight: 700; }
.h2row { display: flex; align-items: center; justify-content: space-between; }

.card { background: var(--card); border-radius: var(--r); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.04); margin-bottom: 10px; overflow: hidden; }
.card.pad { padding: 16px; }
.card.dim { opacity: .75; }
.card.link, .row.link { cursor: pointer; }

/* שורה */
.row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); min-height: 64px; }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .t { font-weight: 700; }
.row .s { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.row.is-done .t { color: var(--muted); }
.row.is-rest { opacity: .65; }
.row.attn { background: var(--warn-soft); }
.emoji { font-size: 26px; width: 34px; text-align: center; flex-shrink: 0; }
.emoji.spin { animation: spin 2.4s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(-360deg); } }
.arrow { color: var(--muted); font-size: 24px; }
.col { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.muted { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.warn-t { color: var(--warn); font-weight: 600; }
.count { font-size: 13px; color: var(--muted); font-weight: 600; margin-inline-start: 4px; }

.who { display: inline-block; background: color-mix(in srgb, var(--c) 14%, white); color: color-mix(in srgb, var(--c) 70%, black); font-weight: 700; font-size: 12.5px; padding: 1px 8px; border-radius: 99px; }
.done-by { color: var(--ok); }

/* כפתור סימון */
.check { width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid #d8d2c8; color: transparent; font-size: 22px; font-weight: 900; flex-shrink: 0; transition: transform .12s, background .15s; }
.check:active { transform: scale(.9); }
.check.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.check.soft { border-style: dashed; }

.go { background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.go.ghost { background: #f0ece6; color: var(--ink); }
.go:active, .plus:active { transform: scale(.96); }
.mini { font-size: 12.5px; color: var(--muted); padding: 4px 6px; text-decoration: underline; }
.plus { background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 12px; font-weight: 800; white-space: nowrap; }
.x { font-size: 22px; color: #b9b2a8; width: 32px; height: 32px; }

/* ארוחות */
.slots { display: flex; gap: 8px; margin-top: 8px; }
.slot { flex: 1; border: 2px solid var(--line); border-radius: 14px; padding: 8px 10px; text-align: start; display: flex; flex-direction: column; }
.slot b { font-size: 15px; }
.slot span { font-size: 12.5px; color: var(--muted); }
.slot.on { background: var(--ok-soft); border-color: var(--ok); }
.slot.on span { color: var(--ok); font-weight: 600; }

.dots { display: flex; gap: 6px; margin-top: 8px; }
.dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #d8d2c8; display: grid; place-items: center; font-size: 14px; }
.dot.bonus { border-style: dashed; }
.dot.on { background: var(--ok-soft); border-color: var(--ok); border-style: solid; }

/* מכונות */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
.step { display: flex; gap: 8px; align-items: center; text-align: start; border: 2px dashed #d8d2c8; border-radius: 14px; padding: 10px; }
.step span { font-size: 22px; }
.step b { display: block; font-size: 13.5px; line-height: 1.25; }
.step small { color: var(--muted); font-size: 12px; }
.step.on { border: 2px solid var(--ok); background: var(--ok-soft); }
.step.on small { color: var(--ok); font-weight: 600; }

/* התקדמות */
.progress { display: flex; align-items: center; gap: 16px; padding: 16px; position: relative; background: linear-gradient(135deg, #fff, #fff6f6); }
.ring { width: 80px; height: 80px; transform: rotate(-90deg); flex-shrink: 0; }
.ring circle { fill: none; stroke-width: 8; }
.ring .bg { stroke: #f0ebe4; }
.ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .5s ease; }
.ring-num { position: absolute; right: 16px; width: 80px; text-align: center; font-size: 24px; font-weight: 900; }
.ring-num small { font-size: 14px; color: var(--muted); font-weight: 700; }
.big { font-size: 17px; font-weight: 800; }
.sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.center { text-align: center; }

.pill { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12.5px; font-weight: 700; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }

/* קניות */
.add { display: flex; gap: 8px; margin-bottom: 10px; }
.add input { flex: 1; border: 0; border-radius: 14px; padding: 14px 16px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: 16px; outline: none; }
.add input:focus { box-shadow: 0 0 0 2px var(--accent); }
.add button { background: var(--accent); color: #fff; font-weight: 800; padding: 0 18px; border-radius: 14px; }
.quick { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick button { white-space: nowrap; background: #fff; border: 1px solid var(--line); padding: 7px 12px; border-radius: 99px; font-size: 14px; }
.empty { text-align: center; color: var(--muted); padding: 26px; }

/* חשבונות */
.note { background: var(--warn-soft); color: #7c4a03; padding: 12px 14px; border-radius: 14px; font-size: 14px; margin-bottom: 10px; }
.add-bill { width: 100%; padding: 14px; border: 2px dashed #d8d2c8; border-radius: var(--r); color: var(--muted); font-weight: 700; }
.stat { display: flex; justify-content: space-between; align-items: baseline; }
.stat b { font-size: 26px; }
.bars { display: flex; gap: 8px; height: 130px; align-items: flex-end; margin-top: 14px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.bar .b { width: 100%; background: var(--accent); border-radius: 8px 8px 3px 3px; min-height: 3px; position: relative; opacity: .85; }
.bar .b span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.bar small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hist { display: flex; flex-direction: column; gap: 8px; }
.h-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.h-row > span { width: 40px; color: var(--muted); }
.h-bar { flex: 1; height: 10px; background: #f0ebe4; border-radius: 99px; overflow: hidden; }
.h-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.h-row b { width: 64px; text-align: left; }

/* מה נעשה */
.score { display: flex; justify-content: space-around; text-align: center; }
.score b { display: block; font-size: 36px; font-weight: 900; }
.score span { color: var(--muted); font-weight: 700; }
.split { display: flex; height: 10px; border-radius: 99px; overflow: hidden; margin: 12px 0 4px; background: #f0ebe4; gap: 2px; }
.row.log { min-height: 0; padding: 10px 14px; font-size: 14.5px; }
.row.log .time { color: var(--muted); font-size: 13px; width: 40px; flex-shrink: 0; }

/* הגדרות */
.lbl { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); margin: 12px 0 6px; }
.lbl:first-child { margin-top: 0; }
.seg { display: flex; gap: 8px; }
.seg button { flex: 1; padding: 12px; border-radius: 14px; border: 2px solid var(--line); font-weight: 800; }
.seg button.on { background: var(--c); border-color: var(--c); color: #fff; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 40px; height: 40px; border-radius: 12px; background: #f0ece6; font-size: 20px; font-weight: 800; }
.stepper b { font-size: 20px; min-width: 22px; text-align: center; }
.stepper span { color: var(--muted); font-size: 14px; flex: 1; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ver { text-align: center; color: #b9b2a8; font-size: 12px; margin: 26px 0 8px; }

/* תפריט תחתון */
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: center; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + var(--safe-b)); }
.tabs button { flex: 1; max-width: 140px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 0; }
.tabs .ic { font-size: 22px; position: relative; filter: grayscale(1); opacity: .6; }
.tabs button.on { color: var(--accent); }
.tabs button.on .ic { filter: none; opacity: 1; }
.badge { position: absolute; top: -4px; left: -10px; background: var(--accent); color: #fff; font-size: 10.5px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; font-style: normal; }

/* חלון תחתון */
#sheet { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
#sheet.open { pointer-events: auto; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.35); animation: fade .2s; }
.sheet { position: absolute; bottom: 0; left: 0; right: 0; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 22px 22px 0 0; padding: 20px 18px calc(24px + var(--safe-b)); max-height: 88vh; overflow-y: auto; animation: up .25s ease; }
.sheet h3 { color: var(--ink); font-size: 20px; margin: 0 0 6px; }
.sheet h4 { margin: 22px 0 10px; }
.sheet input, .sheet select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #faf9f7; font-size: 16px; outline: none; }
.sheet input:focus, .sheet select:focus { border-color: var(--accent); }
.money-in { display: flex; align-items: center; gap: 6px; }
.money-in span { font-size: 26px; font-weight: 800; }
.money-in input { font-size: 26px; font-weight: 800; }
.primary { width: 100%; margin-top: 16px; padding: 15px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 800; font-size: 17px; }
.danger { width: 100%; margin-top: 18px; padding: 12px; color: var(--bad); font-weight: 700; }
.icons { display: flex; gap: 6px; flex-wrap: wrap; }
.icons input { display: none; }
.icons span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line); font-size: 22px; }
.icons input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

/* הודעה קופצת */
#toast { position: fixed; bottom: calc(84px + var(--safe-b)); left: 0; right: 0; display: flex; justify-content: center; z-index: 30; pointer-events: none; opacity: 0; transform: translateY(10px); transition: .25s; }
#toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast-in { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.2); display: flex; gap: 12px; align-items: center; }
.toast-in button { color: #ffb4bf; font-weight: 800; }

/* מסך מי אני */
.who-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.who-screen .logo { font-size: 72px; }
.who-screen h1 { margin: 8px 0 4px; font-size: 32px; }
.who-screen p { color: var(--muted); margin-bottom: 26px; }
.who-btns { display: flex; gap: 12px; width: 100%; max-width: 340px; }
.who-btns button { flex: 1; padding: 22px 10px; border-radius: 20px; background: var(--c); color: #fff; font-size: 22px; font-weight: 900; box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 35%, transparent); }

/* v0.4 */
.row.slim { min-height: 0; border-bottom: 0; padding-bottom: 8px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps.three .step { flex-direction: column; text-align: center; gap: 4px; padding: 10px 6px; }
.steps.three .step b { font-size: 13px; }
.step.hot { border: 2px solid var(--accent); background: var(--accent-soft); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); } }
.grow.link { cursor: pointer; }
.thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #f4f1ec; display: grid; place-items: center; padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.add-img { border: 2px dashed #d8d2c8; font-size: 20px; cursor: pointer; opacity: .7; }
.thumb input, .file-btn input { display: none; }
.big-img { width: 100%; max-height: 55vh; object-fit: contain; border-radius: 16px; background: #f4f1ec; margin: 8px 0 12px; }
.file-btn { display: block; text-align: center; cursor: pointer; }

/* v0.5 – בילויים ואהבה */
.top-btns { display: flex; gap: 8px; align-items: center; }
.love-btn { width: 42px; height: 42px; border-radius: 50%; background: #fff; font-size: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.love-btn:active { transform: scale(.9); }
.tabs button { max-width: 110px; font-size: 11.5px; }
.fun-hero { text-align: center; padding: 22px 18px 18px; background: linear-gradient(160deg, #fff 0%, #fff4f6 55%, #eefbf9 100%); }
.fun-week { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.fun-emoji { font-size: 64px; margin: 6px 0 2px; }
.fun-name { font-size: 22px; font-weight: 900; }
.fun-done { margin-top: 14px; color: var(--ok); font-weight: 800; }
.fun-hero .mini { display: block; margin: 10px auto 0; }
.spin-box { text-align: center; padding: 30px 0 40px; }
.spin-emoji { font-size: 80px; }
.spin-name { font-size: 22px; font-weight: 900; margin-top: 8px; min-height: 30px; }
.spin-box.won .spin-emoji { animation: pop .6s ease; }
.spin-box.won .spin-name { color: var(--accent); }
@keyframes pop { 40% { transform: scale(1.4) rotate(-8deg); } 100% { transform: scale(1); } }
.love-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 6px; }
.love-grid button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 6px; border-radius: 16px; background: #fff4f6; font-weight: 800; font-size: 13.5px; }
.love-grid button span { font-size: 38px; }
.love-grid button:active { transform: scale(.94); }
.love-over { position: fixed; inset: 0; z-index: 50; background: rgba(200,16,46,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; overflow: hidden; animation: fade .3s; cursor: pointer; }
.love-over i { position: absolute; bottom: -60px; font-style: normal; animation: rise 3.2s ease-in infinite; }
@keyframes rise { to { transform: translateY(-115vh) rotate(25deg); opacity: .2; } }
.love-card { position: relative; background: #fff; border-radius: 26px; padding: 28px 26px; text-align: center; max-width: 300px; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: pop .7s ease; }
.love-e { font-size: 76px; }
.love-t { font-size: 21px; font-weight: 900; margin-top: 6px; }
.love-txt { font-size: 17px; margin-top: 10px; }
.love-back { margin: 14px 0 4px; background: var(--accent); color: #fff; font-weight: 800; padding: 11px 18px; border-radius: 14px; }

/* v0.6 */
.left { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.left span { background: #fff; border: 1px solid #f1d9dd; border-radius: 99px; padding: 2px 9px; font-size: 12.5px; font-weight: 600; }
.top-r { display: flex; align-items: center; gap: 10px; }
.top-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.logo-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.logo-set { display: flex; align-items: center; gap: 14px; }
.logo-set img, .logo-ph { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.logo-ph { background: #f4f1ec; display: grid; place-items: center; font-size: 34px; }
.logo-set .file-btn { flex: 1; }

/* v0.8 – מוצרים */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prod { background: #fff; border-radius: 16px; padding: 8px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.05); border: 2px solid transparent; }
.prod:active { transform: scale(.96); }
.prod .pi { width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 10px; }
.prod .pi img { width: 100%; height: 100%; object-fit: contain; }
.prod .pi span { font-size: 44px; }
.prod b { font-size: 13px; line-height: 1.2; text-align: center; }
.prod small { font-size: 12px; color: var(--accent); font-weight: 700; }
.prod.in { border-color: var(--ok); opacity: .55; }
.prod.in small { color: var(--ok); }
.quick.wrap { flex-wrap: wrap; overflow: visible; }
.thumb { background: #fff; border: 1px solid var(--line); }
.thumb img { object-fit: contain; }
.thumb.emo { position: relative; font-size: 28px; cursor: pointer; }
.thumb.emo i { position: absolute; bottom: -2px; left: -2px; font-size: 13px; font-style: normal; }
.qty { background: var(--accent-soft); color: var(--accent); border-radius: 8px; padding: 0 7px; font-size: 13.5px; font-weight: 800; }
.big-img { background: #fff; }
.alts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.alts img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.thumb { position: relative; }
.alt-n { position: absolute; bottom: 1px; left: 1px; background: var(--ink); color: #fff; font-size: 10px; font-style: normal; font-weight: 800; border-radius: 6px; padding: 0 4px; }
.prod .pi img[src^="data:image/jpeg"], .prod .pi img[src^="products/"] { object-fit: cover; }

/* v0.10 – כמויות */
.qstep { display: flex; align-items: center; gap: 2px; background: #f4f1ec; border-radius: 12px; padding: 3px; flex-shrink: 0; }
.qstep button { width: 32px; height: 32px; border-radius: 9px; background: #fff; font-size: 20px; font-weight: 800; line-height: 1; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.qstep button:active { transform: scale(.9); }
.qstep b { min-width: 30px; text-align: center; font-size: 16px; display: flex; flex-direction: column; line-height: 1.05; }
.qstep b small { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.row .x { width: 26px; }
.prod { cursor: default; }
.prod .pi { padding: 0; background: none; cursor: pointer; }
.prod.in { opacity: 1; border-color: var(--ok); background: #f6fbf7; }
.add-p { color: var(--accent); font-weight: 800; font-size: 12.5px; padding: 6px 4px 2px; }
.prod .qstep { margin-top: 4px; }
.prod .qstep button { width: 28px; height: 28px; font-size: 18px; }
.row .grow > .qstep { display: inline-flex; margin-top: 6px; }

/* v0.18 – פתקים */
.love-btn { position: relative; }
.love-btn .badge { top: -2px; left: -4px; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.sticky { background: var(--nc); border-radius: 4px 14px 14px 14px; padding: 12px 12px 8px; box-shadow: 0 3px 10px rgba(0,0,0,.08); transform: rotate(-.8deg); display: flex; flex-direction: column; gap: 6px; position: relative; }
.sticky:nth-child(even) { transform: rotate(.9deg); }
.sticky::before { content: "📌"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 15px; }
.sticky.new { box-shadow: 0 0 0 2.5px var(--accent), 0 3px 10px rgba(0,0,0,.08); }
.sticky-txt { font-size: 15px; font-weight: 600; line-height: 1.35; word-break: break-word; }
.sticky-meta { font-size: 11.5px; color: rgba(0,0,0,.55); }
.sticky-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.sticky-btns button { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.6); border-radius: 8px; padding: 4px 8px; }
.note-empty { width: 100%; padding: 14px; border: 2px dashed #d9cff5; background: #f6f2ff; border-radius: 14px; color: var(--muted); font-weight: 600; font-size: 14px; }
.sheet textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #faf8ff; font-size: 17px; font-family: inherit; resize: none; outline: none; margin-top: 8px; }
.sheet textarea:focus { border-color: var(--accent); }
.note-colors { display: flex; gap: 10px; margin-top: 10px; }
.note-colors input { display: none; }
.note-colors span { display: block; width: 36px; height: 36px; border-radius: 10px; border: 2px solid transparent; }
.note-colors input:checked + span { border-color: var(--ink); }

/* v0.20 – חיפוש מוצרים */
.sugg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.sugg:empty { display: none; }
.sugg-i { background: #fff; border-radius: 14px; padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.06); border: 2px solid var(--accent-soft); }
.sugg-i img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.sugg-i span { font-size: 40px; line-height: 64px; }
.sugg-i b { font-size: 13px; text-align: center; line-height: 1.2; }
.sugg-i small { font-size: 12px; color: var(--accent); font-weight: 700; }
.sugg-new { grid-column: 1 / -1; padding: 10px; border: 2px dashed #d8d2c8; border-radius: 12px; color: var(--muted); font-weight: 700; }
.sugg-none { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; padding: 4px; }
.fun-hero.won .fun-emoji { animation: pop .6s ease; }

/* v1.0 – קוד הבית */
.key-form { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 10px; }
.key-form input { padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 18px; text-align: center; outline: none; }
.key-form input:focus { border-color: var(--accent); }
.key-err { color: var(--bad); font-weight: 700; font-size: 14px; }
.key-screen p { line-height: 1.5; }
